id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2402.10790v2
http://arxiv.org/pdf/2402.10790v2
In Search of Needles in a 11M Haystack: Recurrent Memory Finds What LLMs Miss
2024-02-16T16:15:01
2024-02-21T03:07:42
Yuri Kuratov, Aydar Bulatov, Petr Anokhin, Dmitry Sorokin, Artyom Sorokin, Mikhail Burtsev
cs.CL
cs.CL, cs.AI, cs.LG
This paper addresses the challenge of processing long documents using generative transformer models. To evaluate different approaches, we introduce BABILong, a new benchmark designed to assess model capabilities in extracting and processing distributed facts within extensive texts. Our evaluation, which includes benchmarks for GPT-4 and RAG, reveals that common methods are effective only for sequences up to $10^4$ elements. In contrast, fine-tuning GPT-2 with recurrent memory augmentations enables it to handle tasks involving up to $11\times 10^6$ elements. This achievement marks a substantial leap, as it is by far the longest input processed by any neural network model to date, demonstrating a significant improvement in the processing capabilities for long sequences.
[ -0.2413475066423416, -0.6942232847213745, 0.890343427658081, 0.02675405517220497, -0.5069985389709473, 0.024423111230134964, -0.21776767075061798, -0.48781445622444153, -0.14943742752075195, 0.46439987421035767, -0.3627462387084961, -0.3235912621021271, -1.0515097379684448, 0.44928595423698425, -0.79278564453125, 1.0031211376190186, -0.02368123270571232, -0.34848570823669434, 0.17632541060447693, -0.3313121497631073, -0.5015866756439209, -0.3768898844718933, -0.4767114520072937, -0.43354305624961853, 0.8578896522521973, 0.03015921823680401, 0.6812043190002441, 0.6950720548629761, 0.7250989079475403, 0.2619715631008148, -0.5821786522865295, 0.5971831679344177, -0.5594277381896973, 0.2687976658344269, -0.33210161328315735, -0.39335960149765015, -0.30395248532295227, 0.06526786088943481, 0.8380172848701477, 0.647320032119751, -0.22616033256053925, 0.1844220608472824, -0.17520824074745178, 0.8825803995132446, -0.2705402076244354, -0.1260298788547516, -0.642848551273346, -0.037285782396793365, -0.3504170775413513, -0.03465019538998604, -0.5489481091499329, -0.3661256432533264, 0.175906702876091, -0.3381153345108032, 0.6592960357666016, -0.20567587018013, 1.0641721487045288, 0.2230978161096573, -0.43406742811203003, -0.42416176199913025, -0.7859076857566833, 0.6663663387298584, -0.539574384689331, 0.17123445868492126, 0.36931097507476807, 0.23301802575588226, -0.263654500246048, -1.1491767168045044, -0.4061616063117981, 0.00928489863872528, -0.22795416414737701, 0.1497415453195572, -0.3816605806350708, -0.2332979440689087, 0.8204383254051208, 0.605223536491394, -0.7714724540710449, -0.0919223427772522, -0.6965211629867554, 0.2800804078578949, 0.49296799302101135, 0.05277743935585022, -0.059447161853313446, -0.2649383246898651, -0.32855063676834106, 0.11067511141300201, -0.47035178542137146, -0.45595282316207886, 0.19548799097537994, -0.2021554708480835, 0.03608362749218941, 0.6016576290130615, 0.004824677482247353, 0.6623759865760803, 0.03180566057562828, 0.13738104701042175, 0.11022087931632996, -0.14340625703334808, -0.256365031003952, -0.11705157160758972, 0.5844699144363403, 0.08492162823677063, 0.03775039315223694, -0.1949395090341568, -0.3327403962612152, -0.010137989185750484, 0.5253291726112366, -1.076805591583252, -0.35880953073501587, -0.19648773968219757, -0.6575856804847717, -0.048649393022060394, 0.11012095212936401, -0.8366517424583435, -0.5373941659927368, -0.15652750432491302, 0.40726757049560547, -0.7453339695930481, 0.0015413706423714757, 0.12282569706439972, -0.46512317657470703, 0.002702725352719426, 0.26407164335250854, -0.8476606607437134, 0.10120335966348648, 0.7631253600120544, 1.4435468912124634, -0.2388657033443451, -0.26461514830589294, -0.49031391739845276, 0.06764911860227585, -0.5676941871643066, 0.9024272561073303, -0.4582487940788269, -0.563963770866394, -0.29255399107933044, 0.2821231186389923, -0.03465494140982628, -0.7560641169548035, 0.5482432246208191, -0.5700777173042297, 0.19932639598846436, -0.11631902307271957, -0.6894504427909851, -0.4985297620296478, -0.041006870567798615, -0.9862799644470215, 1.1651347875595093, 0.598227858543396, -0.5224321484565735, 0.08426499366760254, -0.42067986726760864, -0.7024529576301575, 0.005282445345073938, -0.08310119807720184, -0.7760776281356812, 0.48994749784469604, 0.011605000123381615, 0.4702758491039276, -0.8127825260162354, 0.44190776348114014, -0.010390120558440685, -0.9117693901062012, 0.30456531047821045, -0.8910609483718872, 0.7944961190223694, 0.2650594711303711, -0.559163510799408, 0.005257840733975172, -0.8196324110031128, -0.4681225121021271, 0.01767708919942379, -0.5817300081253052, -0.0891089141368866, -0.1536877453327179, -0.1468639224767685, -0.09117601066827774, 0.18563011288642883, -0.42040205001831055, 0.34597811102867126, -0.3032839596271515, 0.6299074292182922, 0.7778519988059998, -0.289258748292923, 0.1887677013874054, -0.5759857296943665, 0.36954551935195923, 0.214817613363266, -0.23655880987644196, -0.7497426867485046, -0.4477238655090332, -0.7843810319900513, -0.26385337114334106, 0.3122812509536743, 0.16745048761367798, -0.6590591669082642, 0.4723763167858124, -0.31921327114105225, -0.7948030233383179, -0.5664242506027222, 0.04138023406267166, 0.09072410315275192, 0.3471721112728119, 0.6101361513137817, -0.6001690626144409, -0.5066980123519897, -0.8413817286491394, -0.10723620653152466, 0.09942532330751419, -0.33225926756858826, 0.2514810562133789, 0.35126960277557373, -0.5942997336387634, 0.5622100234031677, -0.42520588636398315, -0.1873001605272293, -0.15722283720970154, 0.7172335386276245, 0.8536406755447388, 0.22543564438819885, 0.31906142830848694, -0.7551676630973816, -0.3315189480781555, 0.176829531788826, -0.9060419797897339, 0.08102401345968246, -0.3967088758945465, 0.21531324088573456, 0.5421290397644043, 0.30775997042655945, -1.1730440855026245, 0.6371551752090454, 0.4347602128982544, -0.1500488966703415, 0.34475645422935486, -0.383801132440567, 0.04070717468857765, -0.9718112349510193, 0.3212828040122986, -0.0929088145494461, -0.2504573166370392, -0.3238380253314972, -0.04033603519201279, 0.4327201545238495, -0.16086946427822113, -0.03867156058549881, 0.2463947981595993, -0.8123595118522644, -0.18152284622192383, -0.539277970790863, -0.09425288438796997, 0.04503632336854935, 0.20206566154956818, 0.03616983816027641, 0.9835995435714722, 0.374101847410202, -0.41553956270217896, 0.7192065119743347, -0.04989556223154068, -0.7874813675880432, 0.310995876789093, -0.6138654947280884, 0.24677929282188416, -0.2514365017414093, 0.33309343457221985, -0.867076575756073, 0.004624254535883665, -0.22466765344142914, -0.352499395608902, 0.45341038703918457, -0.2912243604660034, -0.4362122118473053, -0.5074229836463928, -0.07147736102342606, 0.3982910215854645, 0.8322307467460632, -0.6318045258522034, 0.8379456996917725, 0.0069566951133310795, -0.04585934057831764, -0.5743021368980408, -0.4536453187465668, 0.19692854583263397, -0.44032400846481323, -0.35217252373695374, 0.521426260471344, 0.17292962968349457, 0.2672548294067383, -0.08991657942533493, -0.1526719033718109, 0.203389510512352, 0.02751011960208416, 0.29794320464134216, 0.21607479453086853, -0.336386501789093, 0.08288288116455078, -0.19375647604465485, -0.397405207157135, -0.015988394618034363, -0.22778381407260895, 0.6699870228767395, 0.015263307839632034, 0.012509438209235668, -0.12507076561450958, 0.3731130361557007, 0.5624825358390808, -0.05313514918088913, 0.5763668417930603, 0.7310261130332947, -0.3017658293247223, -0.32223474979400635, -0.6623537540435791, 0.041215527802705765, -0.4885674715042114, 0.5069758296012878, -0.39966872334480286, -0.8909682631492615, 0.44965216517448425, -0.5095243453979492, -0.235549196600914, 0.49873602390289307, 0.5161018967628479, -0.046635814011096954, 0.5628944635391235, 0.4117312431335449, -0.2899947464466095, 0.1724795550107956, -0.3746875822544098, 0.3838440477848053, -0.8150808215141296, -0.015399342402815819, -0.18537262082099915, -0.40184485912323, -0.7363130450248718, -0.7119587063789368, 0.438233345746994, 0.061798226088285446, -0.22278903424739838, 0.6996028423309326, -0.6942691802978516, 0.434758722782135, 0.6587382555007935, 0.15667948126792908, 0.16402417421340942, -0.17638325691223145, 0.08674950152635574, 0.2707241475582123, -0.5536431670188904, -0.26459088921546936, 0.9274978637695312, 0.4125141203403473, 0.8279954791069031, 0.12153469771146774, 0.46806401014328003, 0.09245841950178146, 0.3803398013114929, -0.843737781047821, 0.49864625930786133, -0.5646719932556152, -0.565468966960907, -0.5071656703948975, -0.369375616312027, -1.2851371765136719, 0.06994111835956573, 0.23691251873970032, -0.3690475821495056, 0.11459515243768692, -0.258104532957077, -0.27068963646888733, 0.4702250063419342, -0.2979978919029236, 0.5680575966835022, -0.06161024793982506, -0.3335898816585541, -0.41721847653388977, -0.7084344625473022, 0.30833807587623596, -0.14622974395751953, -0.15960390865802765, -0.11701811850070953, 0.1638156920671463, 0.6299931406974792, -0.13264194130897522, 0.4671676456928253, 0.16267246007919312, 0.13968537747859955, 0.3619304895401001, 0.10861362516880035, 0.5718676447868347, -0.26230621337890625, -0.3092622756958008, 0.5333887934684753, -0.10406652837991714, -0.2511938512325287, -0.45144185423851013, 0.5924281477928162, -0.544123649597168, -0.6598405241966248, -0.8113123774528503, -0.38580265641212463, 0.2737230956554413, 0.14337585866451263, 0.5110958218574524, 0.4323572516441345, 0.08277089893817902, 0.6054534912109375, 0.8068456649780273, -0.2564755380153656, 0.7646975517272949, 0.3747657239437103, 0.004556391388177872, -0.3283892571926117, 0.6695996522903442, 0.41365617513656616, -0.05568433180451393, 0.30855056643486023, 0.2003621906042099, -0.15073753893375397, -0.5243833065032959, -0.723659098148346, 0.41361722350120544, -0.5900370478630066, -0.6287683844566345, -0.6247063279151917, -0.6572125554084778, -0.15724490582942963, 0.13479851186275482, -0.44016405940055847, -0.20947673916816711, -0.28801795840263367, -0.2622838318347931, 0.6550046801567078, 1.0182524919509888, -0.06503745913505554, 0.3087362051010132, -1.0018757581710815, 0.46688100695610046, 0.22336828708648682, 0.5446074604988098, 0.2964172065258026, -0.8274984955787659, -0.5414361953735352, -0.39964431524276733, -0.5426324009895325, -0.761169970035553, 0.44262081384658813, -0.1797875612974167, 0.2626955211162567, 0.1439007669687271, -0.2283458560705185, 0.8224528431892395, -0.8209958076477051, 0.7405588626861572, 0.11560822278261185, -0.7588852047920227, 0.3329840302467346, -0.4428158402442932, 0.40761685371398926, 0.17674031853675842, 0.608108401298523, -0.7824314832687378, 0.1135256215929985, -0.6936877965927124, -0.8402767777442932, 0.6075108647346497, 0.17059069871902466, 0.1535079926252365, -0.3931238353252411, 0.44917550683021545, 0.36949482560157776, -0.025599991902709007, -0.38771846890449524, -0.12082351744174957, -0.06703067570924759, -0.08339802175760269, -0.11283940076828003, -0.6427989602088928, 0.15752242505550385, -0.0723738968372345, 0.500944972038269, 0.17915204167366028, 0.4537820518016815, 0.23026373982429504, 0.028794098645448685, -0.10360131412744522, 0.024646852165460587, 0.5784145593643188, 0.8277631998062134, -0.20432552695274353, 0.36507394909858704, 0.2049810290336609, -0.5191088914871216, 0.12422357499599457, 0.3487485945224762, -0.19003120064735413, 0.5052748322486877, 0.4104978144168854, 0.7733412384986877, 0.15384893119335175, -0.494422048330307, 0.28946107625961304, 0.05071301385760307, -0.04402146488428116, -0.4836219847202301, 0.05877390503883362, 0.2861950993537903, 0.12061183899641037, 0.5708004236221313, -0.1341751515865326, 0.17625214159488678, -0.7671190500259399, 0.5267550349235535, 0.2329081892967224, -0.22879940271377563, -0.2991538643836975, 0.55306077003479, -0.004592848010361195, -0.49020904302597046, 0.9974161982536316, -0.023890314623713493, -0.34135308861732483, 0.5966127514839172, 0.6322891116142273, 0.764220118522644, -0.33943960070610046, -0.009010645560920238, 0.6078779697418213, 0.052490267902612686, -0.48490095138549805, -0.0911029651761055, -0.0339997373521328, -0.5241656303405762, -0.41817501187324524, -0.5897995233535767, -0.14910836517810822, 0.46792325377464294, -0.6370317935943604, 0.392363041639328, -0.3805966079235077, -0.20110264420509338, 0.2135508954524994, -0.1574835628271103, -0.5708450078964233, 0.2442525178194046, -0.14655502140522003, 0.7537477612495422, -0.4853334426879883, 1.0381637811660767, 0.2705088257789612, -0.2875839173793793, -0.6271039843559265, -0.31247478723526, -0.24907688796520233, -0.6842969655990601, 0.49398133158683777, 0.5848802328109741, 0.07158191502094269, -0.2044893056154251, -0.15142054855823517, -0.8265529274940491, 1.2984620332717896, 0.06107879430055618, -0.925457239151001, -0.23306912183761597, 0.03136780485510826, 0.5567732453346252, -0.04713038355112076, 0.44663742184638977, 0.9749502539634705, 0.3664872348308563, -0.019659409299492836, -0.8316531777381897, 0.04427232965826988, -0.20068688690662384, 0.07931182533502579, 0.5297636985778809, -0.8018232583999634, 0.9615823030471802, 0.036135777831077576, -0.36078813672065735, 0.5394222736358643, 0.6228535771369934, 0.34747108817100525, 0.5788220763206482, 0.2196851223707199, 0.734505832195282, 0.8550418615341187, 0.036981042474508286, 1.0172544717788696, -0.015624264255166054, 0.32139143347740173, 1.0547603368759155, -0.24783436954021454, 0.5715687870979309, 0.3126232624053955, -0.3051028251647949, 0.6175684928894043, 0.6810586452484131, -0.3087890148162842, 0.45262283086776733, 0.30408164858818054, -0.44900521636009216, 0.030568895861506462, 0.16149382293224335, -0.305054634809494, 0.28887611627578735, 0.305128276348114, -0.68927001953125, -0.15527665615081787, -0.23870159685611725, 0.013455166481435299, 0.2560877203941345, -0.10169696807861328, 0.8931881189346313, 0.3715064823627472, -0.8242207765579224, 0.5326449871063232, 0.18169747292995453, 0.7497656941413879, -0.36924514174461365, -0.27460041642189026, -0.5450690984725952, 0.24142660200595856, 0.03723615035414696, -0.7813723087310791, 0.4794255495071411, 0.10128402709960938, -0.41007155179977417, -0.044706083834171295, 0.7605593204498291, -0.3662962317466736, -0.5708255767822266, 0.35254210233688354, 0.2084430456161499, 0.33730801939964294, 0.009039655327796936, -0.29717230796813965, -0.06943751126527786, -0.11938709765672684, -0.4033176898956299, 0.2364775836467743, 0.9410404562950134, -0.065116748213768, 0.5290830731391907, 0.49854984879493713, 0.16651654243469238, -0.047697123140096664, 0.02445143088698387, 0.7823495268821716, -1.092076063156128, -0.08540476858615875, -1.0805209875106812, 0.2542695701122284, -0.1303965300321579, -0.2988126277923584, 0.4725062847137451, 0.9443907737731934, 0.8479301333427429, -0.2277107685804367, 0.67667555809021, 0.10207804292440414, 0.9083146452903748, -0.46124398708343506, 0.6499142050743103, -0.20442910492420197, 0.2381831258535385, 0.1592361181974411, -1.0472421646118164, -0.12996625900268555, 0.8502441048622131, -0.05029468983411789, -0.006335812620818615, 0.8775275945663452, 0.7035490274429321, -0.14846467971801758, 0.08983274549245834, 0.4423077404499054, 0.057510606944561005, 0.2744523286819458, 0.6826993823051453, 0.8771701455116272, -0.6700149774551392, 0.3995443284511566, -0.12589110434055328, 0.01895165629684925, -0.04358833283185959, -0.9316087961196899, -0.9735198616981506, -0.6252367496490479, 0.16722938418388367, -0.2572396695613861, 0.2590971291065216, 0.5817442536354065, 0.5595283508300781, -0.49920654296875, -0.23847678303718567, -0.1932876855134964, 0.13056786358356476, -0.2831573188304901, -0.19281643629074097, 0.6106261014938354, -0.23309224843978882, -0.6553433537483215, 0.48163771629333496, 0.42985135316848755, 0.05432748794555664, 0.1114661768078804, 0.105752132833004, -0.09806221723556519, -0.025632699951529503, 0.6653295159339905, -0.06792076677083969, -0.5425786972045898, -0.3604309558868408, -0.013746094889938831, 0.050461992621421814, 0.2567252218723297, 0.922084391117096, -0.8987605571746826, 0.4044433534145355, 0.32720673084259033, 0.8298650979995728, 1.031691312789917, 0.2899729013442993, 0.580477237701416, -0.43114665150642395, 0.050782959908246994, 0.32731589674949646, 0.2616766393184662, 0.44230547547340393, -0.4126136302947998, 1.050943374633789, 0.3169925808906555, -0.855206310749054, -0.789368212223053, -0.05035140737891197, -1.0183359384536743, -0.49797049164772034, 1.0532686710357666, -0.3397504687309265, -0.10863571614027023, 0.051742423325777054, -0.08719569444656372, 0.5146255493164062, -0.1666460484266281, 1.128350019454956, 0.7842904329299927, -0.15415522456169128, -0.4183792769908905, -0.36909714341163635, 0.4509575068950653, 0.4774142801761627, -0.35762926936149597, 0.2066163271665573, 0.37580087780952454, 0.13992835581302643, 0.26312121748924255, 0.444525808095932, -0.22209452092647552, 0.5330619215965271, 0.017782067880034447, -0.3612620234489441, -0.09135181456804276, -0.5146909952163696, -0.4567963480949402, 0.043496258556842804, -0.08502287417650223, 0.11119009554386139 ]
http://arxiv.org/abs/2402.10787v1
http://arxiv.org/pdf/2402.10787v1
EdgeQAT: Entropy and Distribution Guided Quantization-Aware Training for the Acceleration of Lightweight LLMs on the Edge
2024-02-16T16:10:38
2024-02-16T16:10:38
Xuan Shen, Zhenglun Kong, Changdi Yang, Zhaoyang Han, Lei Lu, Peiyan Dong, Cheng Lyu, Chih-hsiang Li, Xuehang Guo, Zhihao Shu, Wei Niu, Miriam Leeser, Pu Zhao, Yanzhi Wang
cs.LG
cs.LG, cs.AI, cs.CL
Despite the remarkable strides of Large Language Models (LLMs) in various fields, the wide applications of LLMs on edge devices are limited due to their massive parameters and computations. To address this, quantization is commonly adopted to generate lightweight LLMs with efficient computations and fast inference. However, Post-Training Quantization (PTQ) methods dramatically degrade in quality when quantizing weights, activations, and KV cache together to below 8 bits. Besides, many Quantization-Aware Training (QAT) works quantize model weights, leaving the activations untouched, which do not fully exploit the potential of quantization for inference acceleration on the edge. In this paper, we propose EdgeQAT, the Entropy and Distribution Guided QAT for the optimization of lightweight LLMs to achieve inference acceleration on Edge devices. We first identify that the performance drop of quantization primarily stems from the information distortion in quantized attention maps, demonstrated by the different distributions in quantized query and key of the self-attention mechanism. Then, the entropy and distribution guided QAT is proposed to mitigate the information distortion. Moreover, we design a token importance-aware adaptive method to dynamically quantize the tokens with different bit widths for further optimization and acceleration. Our extensive experiments verify the substantial improvements with our framework across various datasets. Furthermore, we achieve an on-device speedup of up to 2.37x compared with its FP16 counterparts across multiple edge devices, signaling a groundbreaking advancement.
[ -0.1831642985343933, -0.6245107054710388, 0.46314966678619385, 0.018367065116763115, -0.5968503952026367, -0.023341571912169456, 0.07181096822023392, -0.1631494164466858, 0.1611979752779007, 0.1361910104751587, -0.5019849538803101, -0.4706098139286041, -0.6522712707519531, -0.4101724922657013, -0.21521998941898346, 0.7593380212783813, 0.023013053461909294, 0.0424685962498188, -0.21961693465709686, -0.4096531569957733, -0.07004842907190323, -0.18058063089847565, -0.8791423439979553, -0.05951046198606491, 0.13969045877456665, 0.17120447754859924, 0.7573610544204712, 0.8654439449310303, 0.38344064354896545, 0.2327307015657425, -0.11655508726835251, -0.14861875772476196, -0.38106492161750793, 0.27002254128456116, 0.2399258315563202, -0.4165138900279999, -0.6676236391067505, -0.5665589570999146, 0.5781364440917969, 0.21945388615131378, -0.11152239143848419, 0.2969702482223511, 0.09170865267515182, 0.7572729587554932, -0.947287917137146, -0.3359583914279938, -0.5178344249725342, -0.0522347018122673, -0.23277558386325836, -0.14251211285591125, 0.06864164024591446, -0.3989182114601135, 0.0564359575510025, -0.6293907165527344, -0.01982753723859787, -0.039518654346466064, 0.35256335139274597, 0.7128069400787354, -0.6080484986305237, -0.023648979142308235, -0.46355822682380676, 0.5967472791671753, -0.5782447457313538, 0.9701092839241028, 0.08256904035806656, 0.08273997902870178, 0.09373348951339722, -1.11878502368927, -0.25099819898605347, 0.29795408248901367, 0.7156426906585693, 0.17043252289295197, -0.24883216619491577, 0.3231271505355835, 0.08550828695297241, 0.2959499955177307, -0.6407609581947327, 0.22132480144500732, 0.09215199947357178, -0.291249543428421, 0.346287339925766, 0.037450846284627914, 0.22343331575393677, 0.29490694403648376, -0.5934287309646606, -0.2705027461051941, -0.9289261102676392, 0.1979154348373413, 0.22197450697422028, -0.10022446513175964, -0.07173065096139908, 0.05851541832089424, -0.6379519104957581, 0.5043931007385254, 0.0962669774889946, -0.248488187789917, 0.28180789947509766, -0.19452974200248718, -0.11556496471166611, 0.41062411665916443, 0.7279135584831238, 0.30273374915122986, -0.2572077810764313, 0.05103269964456558, -0.368685245513916, -0.4117666482925415, -0.2885020077228546, -1.2972990274429321, -0.2870684862136841, 0.42524299025535583, -0.4748561680316925, 0.09359554201364517, -0.4133043587207794, -0.5388941764831543, -0.3917444050312042, 0.13262061774730682, 0.77168869972229, -0.4744473397731781, -0.37028631567955017, 0.16755475103855133, -0.34107705950737, 0.3071337938308716, 0.2732735276222229, -1.015531063079834, 0.23255811631679535, 0.5446365475654602, 0.9601153135299683, -0.0881328135728836, 0.04580869525671005, -0.7048736214637756, 0.09128092974424362, -0.16754689812660217, 0.6740952730178833, -0.3599151074886322, -0.09678402543067932, -0.14208568632602692, -0.4653345048427582, 0.13911570608615875, -0.26733654737472534, 0.8203296661376953, -0.6320269107818604, -0.30081793665885925, -0.2271360605955124, -0.4902936518192291, -0.08375122398138046, 0.05256085842847824, -0.5749427080154419, 1.2157727479934692, 0.015896957367658615, -0.9462809562683105, 0.5265530943870544, -0.7188392877578735, -0.33470502495765686, 0.2901456356048584, 0.018647942692041397, -0.5897385478019714, 0.2794255018234253, 0.4843656122684479, 0.3337273597717285, -0.21819642186164856, 0.04750853404402733, -0.40425905585289, -0.5114243030548096, 0.042794596403837204, -0.6021522879600525, 0.7496656775474548, 0.19248948991298676, -0.6435468196868896, 0.19241149723529816, -0.6743814945220947, 0.37505319714546204, -0.05207144096493721, -0.1473727971315384, -0.6565296053886414, 0.05860964581370354, -0.12033338099718094, -0.0075243026949465275, 0.3114951550960541, -0.47531235218048096, 0.09888449311256409, -0.18391528725624084, 0.6453054547309875, 0.8721751570701599, 0.03057209588587284, 0.5021249055862427, 0.12077031284570694, 0.5602084994316101, -0.13597416877746582, 0.2597620487213135, 0.030049992725253105, -0.3470318019390106, -0.5512053370475769, -0.5943348407745361, 0.5710367560386658, 0.5392910242080688, -0.9810096621513367, 0.1968381106853485, -0.5614851117134094, -0.3974253535270691, -0.7159865498542786, 0.17460428178310394, 0.09744523465633392, 0.17617590725421906, 0.1979767382144928, -0.11338232457637787, -0.23853029310703278, -0.6183932423591614, -0.5712165832519531, -0.07066885381937027, -0.24913792312145233, 0.02592066489160061, 0.16658347845077515, -0.20997260510921478, 0.808623194694519, -0.27279844880104065, 0.019545868039131165, -0.08672939985990524, 0.09830562770366669, -0.2844744324684143, 0.5404403209686279, 0.2907413840293884, -0.802209734916687, -0.23344416916370392, -0.12222705036401749, -0.28226494789123535, -0.298074334859848, 0.024216147139668465, -0.190410777926445, -0.2136564999818802, 0.47239288687705994, -0.5285034775733948, 0.2885195016860962, 0.6492298245429993, -0.14923100173473358, 0.1881258189678192, 0.13169558346271515, -0.044196028262376785, -1.1631238460540771, -0.3388139307498932, -0.04453439265489578, -0.4431382715702057, -0.4291001856327057, -0.022766372188925743, 0.27732500433921814, -0.044144611805677414, -0.6365566253662109, 0.7470489740371704, -0.3835460841655731, -0.14949625730514526, -0.32928404211997986, 0.09195435792207718, -0.020325971767306328, 0.405775249004364, -0.06270010769367218, 0.7900648713111877, 0.8956028819084167, -0.8410447835922241, 0.2987229526042938, -0.14534595608711243, -0.05791734158992767, 0.7612911462783813, -0.6164015531539917, -0.03380460664629936, 0.1076572835445404, 0.11356159299612045, -0.7943564057350159, 0.17159883677959442, 0.07898251712322235, -0.3395079970359802, -0.061074450612068176, -0.2331952154636383, -0.5970157980918884, -0.0054611279629170895, -0.6069095134735107, 0.8596736788749695, 0.8187813758850098, -0.6934359669685364, 0.7494185566902161, 0.18419249355793, -0.036827314645051956, -0.49326473474502563, -0.5882763266563416, -0.12715820968151093, -0.6160171627998352, -0.7034773230552673, 0.438870906829834, -0.08005578070878983, -0.17807146906852722, -0.10169294476509094, -0.3913362920284271, -0.0884757861495018, 0.3372865617275238, 0.2593468427658081, -0.5451357960700989, -0.24742034077644348, 0.5442025661468506, 0.4519149363040924, 0.01791946217417717, 0.005430025514215231, -0.9396467804908752, 0.33595216274261475, -0.22304096817970276, -0.33866533637046814, -0.6284836530685425, -0.06801533699035645, 0.31868666410446167, -0.23487740755081177, 0.32652974128723145, 1.1979341506958008, -0.41432297229766846, -0.2762579023838043, -0.34890371561050415, -0.32821542024612427, -0.6044690012931824, 0.38832515478134155, -0.5571771264076233, -0.9657880067825317, 0.5161474347114563, -0.566218376159668, -0.1012609675526619, 0.43519967794418335, 0.6030867695808411, -0.06535658985376358, 1.0007519721984863, 0.643329381942749, 0.12042905390262604, 0.929649293422699, -0.22529159486293793, 0.009337157011032104, -1.0318952798843384, 0.18066687881946564, -0.18144884705543518, -0.5071308016777039, -0.6633890271186829, -0.3208274245262146, 0.6229912638664246, 0.21492771804332733, -0.24062767624855042, -0.1251729130744934, -0.5415977835655212, 0.2634218633174896, 0.8304904699325562, 0.3071533143520355, 0.20987336337566376, 0.02287072315812111, -0.0029440263751894236, 0.06823967397212982, -0.9228728413581848, 0.018858499825000763, 1.1269193887710571, 0.3512329161167145, 1.0015922784805298, 0.030881278216838837, 0.7521913647651672, 0.4174938201904297, -0.03437301144003868, -0.709511935710907, 0.4833219647407532, 0.18673978745937347, -0.135016068816185, -0.4053008258342743, -0.6391996145248413, -0.7261953949928284, 0.18670833110809326, 0.21244491636753082, -0.5771015286445618, 0.2944435775279999, 0.20664666593074799, -0.38159993290901184, 0.316672682762146, -0.664981484413147, 0.9858472347259521, -0.5531051158905029, -0.40760016441345215, -0.1598130464553833, -0.5309709310531616, 0.2790098786354065, 0.0898035392165184, -0.061675675213336945, -0.17326262593269348, -0.4328332543373108, 1.0838998556137085, -0.679588794708252, 0.7004615068435669, -0.4165073037147522, -0.09946180135011673, 0.5160943865776062, 0.08216803520917892, 0.7109063267707825, 0.24362437427043915, 0.052274078130722046, 0.031530991196632385, -0.03416365757584572, -0.6440742611885071, -0.6751815676689148, 0.4564912021160126, -0.680306613445282, -0.526749849319458, -0.10246231406927109, -0.5184721350669861, -0.17354506254196167, 0.277445912361145, 0.35802847146987915, 0.604074239730835, 0.0638260617852211, 0.1993015855550766, 0.9614624381065369, 0.12141522020101547, 0.5918181538581848, 0.2366636097431183, 0.18720009922981262, -0.5186263918876648, 1.0917315483093262, 0.09812074154615402, 0.5192047953605652, 0.49140045046806335, 0.28382566571235657, -0.4941892921924591, -1.0385468006134033, -0.7290449738502502, -0.2757408618927002, -0.7507302165031433, -0.45234426856040955, -0.7966506481170654, 0.1191352978348732, -0.3972202241420746, -0.026766454800963402, -0.6066346764564514, -0.724557101726532, -0.19635820388793945, -0.12258360534906387, 0.915267825126648, 0.24408327043056488, -0.2506231367588043, 1.1001341342926025, -0.5015766620635986, 0.18390923738479614, 0.4431941509246826, 0.32290565967559814, -0.10924738645553589, -0.7247240543365479, -0.4767341911792755, 0.22047188878059387, -0.4882735311985016, -0.5596007704734802, 0.1332705169916153, 0.5177472233772278, 0.2509922385215759, 0.6804520487785339, 0.3450664281845093, 0.721694827079773, -0.059246182441711426, 0.6163857579231262, -0.01098368875682354, -1.2261532545089722, 0.3947189152240753, -0.14319691061973572, 0.497100293636322, 0.4573093354701996, 0.32717397809028625, -0.4194734990596771, -0.3138952851295471, -0.6152362823486328, -1.0069148540496826, 0.21518400311470032, 0.01485341228544712, 0.13225971162319183, 0.3725323975086212, 0.3188173472881317, -0.03670111298561096, 0.16773727536201477, -0.6425381302833557, 0.04641304910182953, -0.30922815203666687, -0.435403048992157, 0.5243385434150696, -0.139741912484169, 0.10543835908174515, -0.01509198360145092, 0.5834599137306213, -0.46376922726631165, 0.284401535987854, 0.36358243227005005, -0.2582451403141022, 0.06217275559902191, 0.09218789637088776, 0.3551503121852875, 0.48628127574920654, -0.10098160803318024, 0.29613861441612244, 0.2914820909500122, -0.6866539120674133, 0.14629267156124115, 0.1971902996301651, -0.2209894359111786, -0.125456765294075, 0.1221035048365593, 1.0731161832809448, -0.04399227350950241, -0.6278774738311768, 0.5365251302719116, -0.18103483319282532, 0.03616306930780411, 0.0015026056207716465, -0.014703712426126003, 0.08831844478845596, 0.5234772562980652, 0.6876241564750671, -0.2655322849750519, 0.5752725005149841, -0.2119879126548767, 0.3273267149925232, 0.7914939522743225, -0.4508461654186249, -0.33077025413513184, 0.8303878903388977, 0.24612440168857574, -0.13590937852859497, 0.39675262570381165, -0.44850853085517883, -0.5946345925331116, 0.5063717365264893, 0.36878347396850586, 1.2000852823257446, -0.33496010303497314, -0.0515383705496788, -0.05936732515692711, 0.42156630754470825, 0.034938521683216095, 0.4330754578113556, -0.35942763090133667, -0.5541773438453674, -0.3918003737926483, -0.6059677600860596, -0.31101882457733154, -0.2782842814922333, -0.346438467502594, 0.09835245460271835, -0.3082258105278015, -0.2712076008319855, -0.5798875093460083, -0.038504764437675476, -0.6547723412513733, 0.37593427300453186, -0.01208591740578413, 0.6871746182441711, -0.7174977660179138, 0.7270071506500244, 0.3646388649940491, 0.19422434270381927, -0.4999237656593323, 0.22421815991401672, -0.310808002948761, -0.9538125395774841, 0.44060543179512024, 0.029079120606184006, -0.11240612715482712, 0.5333701372146606, -0.42211633920669556, -0.9618656635284424, 1.4093618392944336, 0.254610538482666, -0.2555609345436096, 0.23846589028835297, 0.11064261943101883, 0.3545720875263214, -0.1813586801290512, 0.5582555532455444, 0.22839874029159546, 0.181715726852417, 0.11197581887245178, -0.6009328365325928, 0.24438297748565674, 0.10305336117744446, 0.08141826093196869, 0.38537535071372986, -0.736535906791687, 0.6663488149642944, -0.1636742353439331, -0.2382338047027588, -0.13718178868293762, 0.8143496513366699, 0.2473919689655304, 0.4628376364707947, 0.43560850620269775, 0.7998802661895752, 0.7241726517677307, 0.012182289734482765, 0.801665723323822, -0.3586879074573517, 0.1453067660331726, 0.6495957970619202, -0.031477805227041245, 0.7109290361404419, 0.45378342270851135, 0.05216708406805992, 0.24152223765850067, 1.1317323446273804, 0.49997642636299133, 0.6923406720161438, 0.20134945213794708, -0.5052511692047119, -0.14081312716007233, -0.22671201825141907, -0.40479180216789246, 0.11208837479352951, 0.49166521430015564, -0.11146830022335052, -0.1844625324010849, 0.29430997371673584, -0.15402725338935852, -0.6103200316429138, -0.6717052459716797, 0.690178394317627, 0.16912992298603058, -0.02475878968834877, 0.7858260869979858, 0.1513550877571106, 0.6925824284553528, -0.42405226826667786, 0.16622093319892883, -0.3464585244655609, 0.06974926590919495, -0.1876334398984909, -0.4689490497112274, -0.2030806839466095, -0.32131433486938477, 0.23843106627464294, -0.2990610599517822, 0.7611315250396729, -0.18595416843891144, -0.4529416561126709, -0.08569911867380142, 0.6237958669662476, 0.16370481252670288, -0.4723571240901947, -0.6566742658615112, 0.29596632719039917, -0.12113873660564423, -0.5897803902626038, 0.5452662706375122, 0.955635666847229, -0.21661663055419922, 1.028354525566101, 0.5442220568656921, -0.14669066667556763, 0.4764137864112854, -0.2901589274406433, 0.924872875213623, -0.5266965627670288, -0.6560137867927551, -1.0159201622009277, 0.3945198655128479, 0.22617611289024353, -0.3683820068836212, 0.6336876749992371, 0.5371237397193909, 0.5470571517944336, 0.46488577127456665, 0.7330144643783569, 0.022395014762878418, -0.1070171594619751, -0.7513285875320435, 0.4057590961456299, -0.7808694243431091, 0.20072191953659058, 0.06226785108447075, -0.9517133235931396, -0.07995067536830902, 0.15224102139472961, -0.13195393979549408, 0.2265070676803589, 0.5380534529685974, 0.44537070393562317, -0.09989286959171295, -0.24614715576171875, 0.27791234850883484, 0.0512143075466156, 0.22146286070346832, 0.6859532594680786, 0.5262587070465088, -0.7030922174453735, 0.7214031219482422, -0.11406536400318146, -0.19093380868434906, -0.33446091413497925, -0.7658745646476746, -0.5826737284660339, -0.45022302865982056, -0.5181158185005188, -0.16064336895942688, 0.4197123646736145, 0.6194870471954346, 0.8021082878112793, -0.1981596201658249, 0.1521548479795456, -0.3016369044780731, 0.37815576791763306, -0.3923764228820801, -0.2305850386619568, 0.6496938467025757, -0.16016700863838196, -0.6459879875183105, 0.21983297169208527, 0.24489471316337585, 0.20372067391872406, -0.16373027861118317, -0.17243361473083496, 0.2833790183067322, -0.07374497503042221, 0.3976069390773773, 0.21021655201911926, -0.3852156698703766, -0.061475154012441635, -0.06153643876314163, -0.08548703789710999, 0.1759500652551651, 0.6829103231430054, -1.0111485719680786, 0.33456361293792725, 0.6336550712585449, 0.942029595375061, 0.4950512647628784, 0.30119937658309937, 0.42654505372047424, -0.7392327785491943, 0.20421981811523438, 0.43683451414108276, 0.107913076877594, 0.2585607171058655, -0.42460712790489197, 0.2593614161014557, 0.26365160942077637, -0.6737390756607056, -1.0138057470321655, 0.2521507740020752, -0.8374332189559937, -0.07469258457422256, 1.1210414171218872, 0.06692510098218918, -0.5265495777130127, 0.2040330320596695, 0.1652332991361618, 0.21774634718894958, -0.6060604453086853, 0.4632885158061981, 0.16450047492980957, -0.20409591495990753, -0.6495697498321533, -0.6046728491783142, 0.7214744091033936, 0.5777075290679932, -0.6696299910545349, -0.0035980541724711657, -0.0034776763059198856, 0.2598888576030731, -0.2991344630718231, 0.7386369705200195, 0.3326607942581177, 0.39291852712631226, 0.23312747478485107, 0.4887992739677429, 0.1610969752073288, -0.006186637561768293, -0.39904698729515076, -0.10461308062076569, 0.3871322274208069, -0.48715782165527344 ]
http://arxiv.org/abs/2402.10779v1
http://arxiv.org/pdf/2402.10779v1
A Condensed Transition Graph Framework for Zero-shot Link Prediction with Large Language Models
2024-02-16T16:02:33
2024-02-16T16:02:33
Mingchen Li, Chen Ling, Rui Zhang, Liang Zhao
cs.CL
cs.CL
Zero-shot link prediction (ZSLP) on knowledge graphs aims at automatically identifying relations between given entities. Existing methods primarily employ auxiliary information to predict tail entity given head entity and its relation, yet face challenges due to the occasional unavailability of such detailed information and the inherent simplicity of predicting tail entities based on semantic similarities. Even though Large Language Models (LLMs) offer a promising solution to predict unobserved relations between the head and tail entity in a zero-shot manner, their performance is still restricted due to the inability to leverage all the (exponentially many) paths' information between two entities, which are critical in collectively indicating their relation types. To address this, in this work, we introduce a Condensed Transition Graph Framework for Zero-Shot Link Prediction (CTLP), which encodes all the paths' information in linear time complexity to predict unseen relations between entities, attaining both efficiency and information preservation. Specifically, we design a condensed transition graph encoder with theoretical guarantees on its coverage, expressiveness, and efficiency. It is learned by a transition graph contrastive learning strategy. Subsequently, we design a soft instruction tuning to learn and map the all-path embedding to the input of LLMs. Experimental results show that our proposed CTLP method achieves state-of-the-art performance on three standard ZSLP datasets
[ 0.005171619821339846, -0.4829730987548828, 0.7047070264816284, -0.29207301139831543, -0.42935773730278015, 0.1675623059272766, -0.31077200174331665, -0.5001644492149353, 0.09486046433448792, 0.41205647587776184, -0.7953421473503113, -0.9334065914154053, -0.3703099489212036, -0.162194162607193, -0.09776608645915985, 0.9031147956848145, 0.1593068391084671, -0.09131329506635666, 0.3148505687713623, -0.00908171758055687, -0.1950995773077011, -0.06990400701761246, -0.4891033470630646, -0.5553900003433228, 0.4590305685997009, 0.18944835662841797, 0.6473080515861511, 0.7970485687255859, 0.010210356675088406, 0.1288595199584961, -0.08766799420118332, 0.11685460805892944, -0.6736017465591431, 0.3185330033302307, -0.1283038705587387, -0.39871951937675476, -0.25576648116111755, -0.4575750231742859, 0.7175273895263672, 0.9220320582389832, -0.025724053382873535, 0.07057785242795944, 0.05187173932790756, 0.5648849606513977, -0.8546992540359497, 0.539880633354187, -1.0471484661102295, 0.3609023094177246, -0.2808566987514496, -0.2919175922870636, -0.7398255467414856, -0.032701876014471054, -0.016639942303299904, -0.4858047664165497, 0.20937073230743408, 0.07129065692424774, 0.7670611143112183, 0.0019412084948271513, -0.574942946434021, 0.012492731213569641, -0.8487921357154846, 0.4402436316013336, -0.6449511647224426, 0.6886884570121765, -0.18617141246795654, 0.34018778800964355, -0.35336315631866455, -0.5509521961212158, -0.4049813151359558, -0.18862569332122803, 0.015652446076273918, 0.11376561224460602, -0.008569168858230114, 0.5103734135627747, 0.11955331265926361, 0.06444346904754639, -0.6540220379829407, 0.06351617723703384, -0.3015075623989105, -0.10768965631723404, 0.24624919891357422, 0.3497893810272217, 0.1828755885362625, 0.0887603834271431, -0.189901202917099, 0.004933500196784735, -0.8441455960273743, -0.18946704268455505, 0.13292185962200165, 0.7334222793579102, -0.22489438951015472, 0.45888689160346985, -0.22901581227779388, 1.00514817237854, 0.27385181188583374, -0.05650439113378525, 0.3200433850288391, 0.018747663125395775, -0.2954614758491516, 0.302386075258255, 0.817348837852478, 0.2635563910007477, 0.2515828013420105, -0.5795093178749084, 0.18583498895168304, 0.14892490208148956, -0.18097881972789764, -0.9520409107208252, -0.13260796666145325, 0.06380210816860199, -0.04524829611182213, 0.05643027275800705, -0.12560617923736572, -0.4409719407558441, -0.22247841954231262, 0.00787668488919735, 0.09565972536802292, -0.7976028919219971, -0.18527399003505707, 0.367343544960022, 0.018652142956852913, 0.3883498013019562, 0.4520021677017212, -0.6807272434234619, 0.3515721559524536, 0.5917800068855286, 1.0218632221221924, 0.15973497927188873, -0.3438827097415924, -0.6577800512313843, 0.8741543292999268, -0.417030930519104, 0.47423335909843445, -0.6986719965934753, -0.28287941217422485, 0.2877956032752991, -0.064519003033638, -0.1924808770418167, 0.04558931663632393, 0.43217432498931885, -0.5946857929229736, -0.3080509603023529, 0.24646496772766113, -0.8684207797050476, -0.10165403038263321, 0.25656718015670776, -0.7568396925926208, 0.2049894779920578, 0.05869530513882637, -0.8438252806663513, 0.06722523272037506, -0.35865023732185364, -0.601177990436554, 0.22397442162036896, -0.4002271890640259, -0.3053557872772217, -0.1349404901266098, -0.11641670018434525, 0.42306870222091675, -0.30002284049987793, 0.09641946107149124, -0.7473094463348389, -0.4075549244880676, -0.13294647634029388, -0.05123990401625633, 0.6455553770065308, 0.07051821798086166, -0.062168918550014496, 0.012407909147441387, -0.7357476949691772, 0.16009727120399475, 0.08627413958311081, -0.16304968297481537, -0.21439428627490997, -0.04080552980303764, -0.3250466287136078, 0.4020150899887085, 0.1994878351688385, -0.8147104382514954, 0.2737899422645569, -0.46962234377861023, 0.3679715692996979, 0.7306661009788513, 0.10547132790088654, 0.679700493812561, 0.1344989538192749, 0.5244983434677124, 0.2537493407726288, 0.0049977716989815235, -0.3048705756664276, -0.4069027304649353, -0.7177584171295166, 0.4528959095478058, 0.2768378257751465, 0.23914067447185516, -0.858972430229187, 0.383227676153183, -0.4255780577659607, -0.583563506603241, -0.2775636911392212, 0.11914428323507309, 0.46979424357414246, 0.937657356262207, 0.38209301233291626, -0.14811429381370544, -0.44368672370910645, -0.6005964279174805, 0.051295168697834015, -0.2750608026981354, -0.06991703808307648, 0.39573028683662415, 0.17325130105018616, 0.09854690730571747, 0.7386100888252258, -1.075069785118103, -0.43770453333854675, -0.4009312093257904, 0.06662433594465256, 0.3606625199317932, 0.3404497504234314, 0.39186975359916687, -0.4257802665233612, -0.6279350519180298, -0.08631648123264313, -0.5159831047058105, 0.3139389455318451, -0.06687860190868378, -0.26167595386505127, 0.00143421592656523, 0.4221813678741455, -0.669695258140564, 0.04606756195425987, 0.46670132875442505, -0.35009926557540894, 0.4642177224159241, -0.10204865038394928, -0.25957897305488586, -0.7325027585029602, -0.05236874148249626, 0.2729170322418213, -0.02676921710371971, -0.7653021216392517, -0.005093049257993698, 0.32495319843292236, -0.3484128415584564, -0.5579851865768433, 0.451387882232666, -0.49467650055885315, 0.007441815920174122, 0.2074929028749466, 0.16885240375995636, -0.0800517275929451, 0.7156209349632263, 0.4251037538051605, 0.3705914616584778, 0.6324529051780701, -0.45633766055107117, -0.09303785860538483, 0.2716589570045471, 0.010620996356010437, 0.3879368305206299, -0.5488801002502441, 0.2868998944759369, -0.355373352766037, 0.5119174718856812, -0.764534592628479, 0.158131405711174, 0.17488455772399902, -0.504602313041687, 0.6978491544723511, -0.6103613972663879, -0.4483441114425659, -0.08105004578828812, -0.4377400875091553, 0.2785186171531677, 0.4816003441810608, 0.04991725832223892, 0.7000973224639893, 0.0770483985543251, 0.4195619821548462, -0.6325165033340454, -0.45029470324516296, 0.029493143782019615, 0.2830978035926819, -0.6909648180007935, 0.505997359752655, -0.22112596035003662, 0.4925213158130646, 0.2796039879322052, -0.12626878917217255, -0.3077183663845062, -0.17163141071796417, 0.48299098014831543, 0.3994196057319641, -0.4065985083580017, 0.20980976521968842, -0.030764885246753693, -0.2657971680164337, -0.2220078557729721, -0.41036275029182434, 0.8601372241973877, -0.09939361363649368, -0.3603622615337372, -0.03747168555855751, -0.1752418428659439, 0.3842391073703766, -0.09969210624694824, 0.8124091625213623, 0.5492558479309082, -0.2362036108970642, -0.43296924233436584, -0.10103651136159897, 0.007569473702460527, -0.44540736079216003, 0.46549609303474426, -0.3108872175216675, -0.7925776243209839, 0.33431169390678406, -0.1485249549150467, -0.05778537690639496, 0.36708688735961914, 0.1480119228363037, 0.21735186874866486, 0.7268925905227661, 0.7522128224372864, -0.12465613335371017, 0.2941594421863556, -0.5841584205627441, 0.1952665150165558, -0.9574414491653442, -0.5426886677742004, -0.35183238983154297, -0.07952295988798141, -0.6098412275314331, -0.2879895865917206, 0.34649890661239624, 0.21104304492473602, -0.5677276253700256, 0.5926759243011475, -0.29244884848594666, 0.402761846780777, 0.2170335203409195, 0.2873281240463257, 0.2445121556520462, -0.19110724329948425, -0.150392547249794, -0.07516835629940033, -0.735358476638794, 0.1613212674856186, 1.16464364528656, 0.1722853183746338, 0.9424336552619934, -0.019080085679888725, 0.8340523838996887, 0.10433504730463028, -0.17383456230163574, -0.8597003221511841, 0.6443495750427246, -0.3937237560749054, -0.20891714096069336, -0.3185018301010132, -0.3520965576171875, -0.916957437992096, -0.08226583153009415, -0.3736667335033417, -0.6333465576171875, 0.07690165936946869, 0.14152078330516815, -0.35124167799949646, 0.547655463218689, -0.21299998462200165, 0.44803982973098755, 0.06412514299154282, -0.4723570942878723, -0.07361043244600296, -0.9288556575775146, 0.43931812047958374, 0.1696052849292755, -0.07022285461425781, -0.2539873421192169, 0.05533319711685181, 0.5393385887145996, -0.20068907737731934, 0.7844386100769043, -0.032717250287532806, 0.11193905770778656, 0.05124576762318611, 0.5151214599609375, 0.37835246324539185, -0.2943899929523468, -0.28686052560806274, 0.20227263867855072, -0.36623698472976685, -0.10861513763666153, -0.7498154640197754, 0.7026053667068481, -0.6772186160087585, -0.30689913034439087, -0.1479753702878952, -0.35980531573295593, -0.4362882673740387, 0.3654637634754181, 0.05147309973835945, 0.4833478331565857, -0.03334756940603256, 0.2434699684381485, 0.6819364428520203, -0.065941721200943, 0.3899974822998047, 0.790536642074585, 0.1400729864835739, -0.35054779052734375, 0.7380672097206116, 0.2256261557340622, 0.28299611806869507, 0.6947969794273376, 0.0400095097720623, -0.5222643613815308, -0.47233524918556213, -0.5334410667419434, 0.40760913491249084, -0.7679731845855713, -0.5458825826644897, -0.4515795409679413, -0.7319814562797546, -0.4952947497367859, -0.33797308802604675, -0.36706459522247314, -0.2984578609466553, -0.22710062563419342, -0.09978306293487549, 0.060434404760599136, 0.46158209443092346, -0.008830508217215538, 0.07397513091564178, -0.7907124757766724, 0.20358963310718536, 0.040693581104278564, 0.56146240234375, 0.28461700677871704, -0.3303946852684021, -0.07414241880178452, -0.127339169383049, -0.29629841446876526, -0.9986663460731506, 0.1597609668970108, 0.6063541769981384, 0.34991058707237244, 0.6600224375724792, 0.5063444972038269, 0.6485140919685364, -0.9333462715148926, 0.5476731657981873, 0.6811857223510742, -0.8536896109580994, 0.6189841628074646, -0.23313301801681519, 0.1903369128704071, 0.4805029630661011, 0.4572000205516815, -0.4971841275691986, -0.2998628616333008, -0.6845299601554871, -0.8148689270019531, 0.61861652135849, 0.14067459106445312, 0.1292549967765808, -0.12117946147918701, 0.3542969822883606, -0.1544896960258484, 0.3686386048793793, -0.6509671211242676, -0.3842400014400482, -0.011419057846069336, -0.2566770315170288, 0.13329271972179413, -0.17744702100753784, 0.11926452815532684, 0.028052907437086105, 0.4576376676559448, -0.22229158878326416, 0.0009650798747316003, -0.005941316485404968, -0.06905830651521683, -0.41348397731781006, 0.33191177248954773, 0.2116720825433731, 0.7250155210494995, -0.5717443227767944, 0.3305462896823883, -0.02689024992287159, -0.22491410374641418, 0.34085774421691895, -0.121566541492939, -0.6199653744697571, 0.15904486179351807, 0.5292662978172302, 0.8918735384941101, 0.4009060263633728, -0.5311824679374695, 0.6495280861854553, 0.3767687678337097, 0.030683057382702827, -0.23790818452835083, 0.24688349664211273, 0.20778712630271912, 0.08785015344619751, 0.19575144350528717, -0.37861624360084534, 0.1471128910779953, -0.7152920365333557, 0.22895008325576782, 0.4724048376083374, -0.7226051092147827, -0.4177215099334717, 0.5690908432006836, 0.19458776712417603, -0.23335693776607513, 0.6072531342506409, -0.2968372404575348, -0.4104376435279846, 0.5131166577339172, 0.7866338491439819, 0.8280822038650513, -0.3023916482925415, 0.5369634032249451, 0.537869930267334, 0.12657110393047333, 0.2171093374490738, -0.0960526093840599, -0.09665299952030182, -0.8728774785995483, -0.38221028447151184, -0.7614198923110962, -0.40949928760528564, 0.312121719121933, -0.5794281959533691, 0.551190197467804, -0.7680709958076477, 0.16202567517757416, -0.045251451432704926, 0.05533613637089729, -0.6942074298858643, 0.11888110637664795, 0.3064582347869873, 1.044610619544983, -0.942611813545227, 1.034417986869812, 0.3502123951911926, -0.7000204920768738, -0.744773268699646, 0.007475054357200861, -0.2052946537733078, -0.9115456342697144, 0.8281114101409912, 0.06461246311664581, -0.39643630385398865, 0.05672185495495796, -0.5279715657234192, -0.6619341969490051, 1.1738381385803223, 0.6791154742240906, -0.7932659387588501, -0.4952482283115387, 0.18977391719818115, 0.36640438437461853, -0.46578580141067505, 0.24445801973342896, 0.22392700612545013, 0.11545244604349136, 0.7104615569114685, -0.5992400050163269, 0.4297315180301666, 0.08628822863101959, 0.10619782656431198, 0.3921135365962982, -0.6288953423500061, 0.923467218875885, -0.3601438105106354, -0.4302043914794922, -0.3106966018676758, 0.5320482850074768, 0.27509188652038574, 0.1243843138217926, 0.48963284492492676, 0.4452657997608185, 0.26063594222068787, 0.2602495551109314, 0.48441022634506226, -0.8326842784881592, 0.43720224499702454, 1.497989296913147, -0.48814406991004944, 0.901201605796814, 0.07920508086681366, -0.07080229371786118, 0.8216106295585632, 0.38656681776046753, -0.12358376383781433, 0.7070888876914978, 0.15688057243824005, -0.1994306594133377, -0.4432433843612671, -0.305430144071579, -0.3976978659629822, 0.27510398626327515, 0.43381065130233765, -0.4636901021003723, -0.7952202558517456, -0.645404040813446, 0.14222227036952972, -0.19173987209796906, -0.3926846981048584, 0.5704596638679504, -0.02396770380437374, -0.13366667926311493, 0.4417725205421448, -0.04887862130999565, 0.41441965103149414, -0.9602070450782776, -0.3111114799976349, 0.06423650681972504, -0.03765188902616501, -0.16510918736457825, -1.1849613189697266, 0.07313326746225357, -0.5465502738952637, 0.09674684703350067, 0.31411829590797424, 0.9111613631248474, -0.7206704020500183, -0.28205662965774536, 0.595022976398468, 0.345548152923584, -0.12948854267597198, 0.17921020090579987, -0.6682230234146118, -0.04213939234614372, -0.06239648908376694, 0.11079135537147522, 0.4105735123157501, 0.4479219615459442, 0.30976977944374084, 0.7279019951820374, 0.44877153635025024, 0.4411705732345581, -0.09516455233097076, -0.05646020546555519, 0.9761908650398254, -0.713381290435791, -0.4962271749973297, -0.901938796043396, 0.3063811659812927, -0.13785769045352936, 0.017888640984892845, 0.3635907769203186, 0.6256505250930786, 0.679654598236084, 0.05776115879416466, 0.701559841632843, 0.09285891801118851, 0.04077131673693657, -0.7202063202857971, 0.4784935712814331, -0.29018497467041016, -0.08457209169864655, -0.31869494915008545, -0.8197110891342163, -0.2066047340631485, 0.1276126205921173, 0.04160580039024353, -0.11008148640394211, 0.6195551156997681, 0.5465186238288879, -0.22612766921520233, -0.4214286506175995, 0.6234153509140015, 0.38741907477378845, 0.22115406394004822, 1.1593830585479736, 0.12639042735099792, -0.1700945943593979, 0.8170881867408752, -0.3690354526042938, 0.05554799363017082, -0.18584942817687988, -1.0992896556854248, -0.8272919058799744, -0.6564502716064453, -0.3018698990345001, -0.4064562916755676, 0.24879620969295502, 0.7318971753120422, 0.689689040184021, -0.46820950508117676, -0.281071275472641, -0.1985694020986557, 0.1236632838845253, 0.24590717256069183, -0.1869233250617981, 0.5102527737617493, -0.2790515124797821, -0.3745686411857605, 0.23380661010742188, 0.6052159667015076, 0.0614207461476326, -0.4415225684642792, -0.27693188190460205, 0.02145632915198803, 0.004668016918003559, 0.540462076663971, 0.4952564835548401, -0.5399261713027954, -0.28621944785118103, -0.11119917780160904, 0.17966902256011963, 0.1312488168478012, 0.7638108730316162, -0.6505401730537415, 0.36915677785873413, 0.4169481098651886, 0.38044849038124084, 0.755102813243866, -0.3048126995563507, 0.6116635799407959, -0.7291626930236816, 0.22497768700122833, 0.2810913920402527, 0.5152572393417358, 0.22386434674263, -0.3800496459007263, 0.6778801083564758, 0.12839974462985992, -0.06839976459741592, -0.6000738739967346, 0.7235028743743896, -0.9955279231071472, -0.3014377951622009, 1.1165943145751953, -0.5199113488197327, -0.49225616455078125, -0.1472364217042923, 0.23193883895874023, 0.5073744654655457, -0.6078853011131287, 0.46864205598831177, 0.10589691251516342, -0.4079363942146301, -0.25804147124290466, -0.2786126136779785, 0.34200891852378845, -0.2809620499610901, -0.39132431149482727, 0.1204913929104805, 0.5028242468833923, 0.45774707198143005, 0.2642170786857605, 0.7676566243171692, 0.14504365622997284, -0.0024080309085547924, -0.01518926490098238, 0.027863139286637306, -0.4152206778526306, -0.40802767872810364, -0.07234261184930801, 0.4402478337287903, 0.14288297295570374, -0.16639190912246704 ]
http://arxiv.org/abs/2402.10772v1
http://arxiv.org/pdf/2402.10772v1
Enhancing ESG Impact Type Identification through Early Fusion and Multilingual Models
2024-02-16T15:54:24
2024-02-16T15:54:24
Hariram Veeramani, Surendrabikram Thapa, Usman Naseem
cs.CL
cs.CL
In the evolving landscape of Environmental, Social, and Corporate Governance (ESG) impact assessment, the ML-ESG-2 shared task proposes identifying ESG impact types. To address this challenge, we present a comprehensive system leveraging ensemble learning techniques, capitalizing on early and late fusion approaches. Our approach employs four distinct models: mBERT, FlauBERT-base, ALBERT-base-v2, and a Multi-Layer Perceptron (MLP) incorporating Latent Semantic Analysis (LSA) and Term Frequency-Inverse Document Frequency (TF-IDF) features. Through extensive experimentation, we find that our early fusion ensemble approach, featuring the integration of LSA, TF-IDF, mBERT, FlauBERT-base, and ALBERT-base-v2, delivers the best performance. Our system offers a comprehensive ESG impact type identification solution, contributing to the responsible and sustainable decision-making processes vital in today's financial and corporate governance landscape.
[ -0.5455761551856995, -0.6738256812095642, 0.3506571054458618, 0.11259013414382935, -0.20134274661540985, 0.6298660039901733, 0.03074389323592186, -0.7847819328308105, 0.329092800617218, 0.6084935069084167, -0.44500985741615295, -0.3594319522380829, -0.937160313129425, -0.08435092121362686, -0.37829121947288513, 1.2792378664016724, 0.22950363159179688, -0.04027857631444931, 0.021311046555638313, -0.046929653733968735, -0.08452758193016052, -0.3637097179889679, -0.4932272434234619, -0.3076935410499573, 0.5986294150352478, 0.2025056630373001, 0.2749505043029785, 0.06179753318428993, 0.3613259792327881, 0.27907055616378784, -0.37040650844573975, 0.27692243456840515, -0.6613404750823975, -0.40808814764022827, -0.04326419159770012, -0.04459872469305992, -0.15665709972381592, -0.004468022845685482, 0.5989326238632202, 0.40289056301116943, -0.30125707387924194, 0.33957812190055847, 0.36558178067207336, 0.2225775271654129, -0.8622604608535767, 0.38162761926651, -0.596102237701416, 0.20078466832637787, -0.3227916955947876, -0.06168178841471672, -0.44675561785697937, 0.14446289837360382, 0.4800526797771454, -0.6290311217308044, -0.2230120599269867, 0.08568186312913895, 0.7569396495819092, 0.12094125896692276, -0.6812456250190735, -0.2271318882703781, -0.617100179195404, 0.6455473899841309, -0.14167030155658722, 0.4674135446548462, -0.04933103546500206, 0.17261488735675812, -0.06121461093425751, -0.7941191792488098, -0.2535608410835266, 0.37231460213661194, -0.2682923376560211, 0.3546237051486969, -0.13073590397834778, 0.19150987267494202, -0.10899530351161957, 0.2651199996471405, -0.475366473197937, 0.3347715437412262, -0.7485296130180359, -0.5242972373962402, 0.5549659132957458, -0.17582499980926514, 0.0005792556330561638, -0.1627988964319229, -0.6327848434448242, -0.14373326301574707, -0.7879185676574707, 0.02667650394141674, 0.5475399494171143, 0.4107652008533478, -0.233927920460701, 0.359732061624527, 0.011546848341822624, 0.4588978886604309, 0.28641897439956665, 0.11623935401439667, 0.2958128750324249, -0.21705526113510132, -0.24246232211589813, 0.3632110059261322, 0.3807939887046814, 0.013665902428328991, -0.31667113304138184, -0.030749592930078506, -0.3707122802734375, -0.15320388972759247, 0.1988404244184494, -0.6373851299285889, -0.07003647089004517, 0.16468048095703125, -0.6369518041610718, -0.5113257765769958, 0.3106676936149597, -1.0224412679672241, -0.6880857348442078, -0.39712491631507874, 0.8543859124183655, -0.12026173621416092, -0.3789411187171936, -0.1003987267613411, -0.2961399555206299, 0.6322187185287476, 0.24147900938987732, -0.8382010459899902, 0.12923893332481384, 0.8906728029251099, 0.7251887917518616, -0.1603538990020752, -0.13080692291259766, -0.8020672798156738, 0.46307173371315, 0.29423075914382935, 1.185543417930603, -0.7656375169754028, -0.8666713833808899, 0.05644701421260834, -0.010085360147058964, 0.048551760613918304, -0.40000832080841064, 0.5893539786338806, -0.4457074999809265, 0.19925102591514587, -0.22218646109104156, -0.4521263837814331, -0.41743528842926025, -0.10903719067573547, -0.6451169848442078, 1.1514735221862793, -0.05680909752845764, -0.5972017049789429, 0.7202105522155762, -0.820608913898468, -0.47688522934913635, 0.5093193650245667, -0.4823545813560486, -0.3327888250350952, 0.1967509686946869, 0.09848842769861221, 0.5557447075843811, -0.1489390730857849, 0.10635621100664139, -0.3348735272884369, -0.13655239343643188, -0.6915504932403564, -0.22164173424243927, 0.568730354309082, 0.16478246450424194, -0.0875147134065628, 0.26297464966773987, -1.0747419595718384, 0.014329780824482441, -0.10939295589923859, -0.15108293294906616, -0.30382758378982544, 0.35671475529670715, 0.3460429310798645, 0.2181243747472763, 0.5387498140335083, -0.2417810708284378, -0.015196339227259159, 0.08020328730344772, 0.33271342515945435, 1.0988359451293945, 0.27181991934776306, 0.27617111802101135, -0.06089501455426216, 0.25002720952033997, -0.038384344428777695, 0.2685474157333374, 0.007546020671725273, -0.6088821887969971, -0.2219124734401703, -0.3732571303844452, 0.0575440414249897, 0.7941750288009644, -0.538084089756012, 0.5210355520248413, -0.2871531546115875, -0.9954090714454651, -0.20653867721557617, -0.06414444744586945, 0.32301774621009827, 0.22401484847068787, 0.3010616600513458, -0.18198871612548828, -0.6374869346618652, -1.1327321529388428, -0.6113951802253723, -0.4652445316314697, -0.18386274576187134, 0.4458537697792053, 0.7272148728370667, -0.08436935395002365, 0.8489641547203064, -0.3954123854637146, -0.19218184053897858, 0.008231448009610176, 0.4865157902240753, 0.1741710901260376, 0.20242702960968018, 0.40805584192276, -1.0882407426834106, -0.1974410116672516, 0.18739159405231476, -0.4056147336959839, -0.03146170824766159, 0.0003900484007317573, 0.025487370789051056, -0.22859297692775726, 0.21877504885196686, -0.09181804209947586, -0.03571251034736633, 0.7634621262550354, -0.4894019067287445, 0.25526928901672363, -0.03846466913819313, 0.1694893091917038, -0.9402832984924316, 0.12771275639533997, 0.19229112565517426, 0.18749889731407166, -0.753284215927124, -0.26159197092056274, 0.18327726423740387, -0.11049628257751465, -0.7763486504554749, 0.49621105194091797, -0.23078005015850067, -0.5063753128051758, 0.2303711473941803, -0.15600839257240295, 0.02076164074242115, 0.24154821038246155, 0.15589989721775055, 0.6091465950012207, 0.3953359127044678, -0.6618722677230835, 0.03050808049738407, 0.294776976108551, -0.5256563425064087, 0.7097907066345215, -0.7320736646652222, 0.28234171867370605, -0.27395299077033997, 0.4310537874698639, -0.7937047481536865, -0.3801138699054718, -0.08069044351577759, -0.14549483358860016, 0.37758776545524597, -0.3408493101596832, -0.48885229229927063, -0.24549534916877747, -0.2675735652446747, 0.04168255627155304, 0.2159447968006134, -0.6832566261291504, 1.2856069803237915, 0.8038604855537415, -0.235170379281044, -0.705298662185669, -0.5562811493873596, -0.11500289291143417, -0.49043262004852295, -0.8249050378799438, 0.6561469435691833, 0.42644307017326355, -0.1477607637643814, -0.09469358623027802, -0.16239289939403534, -0.05713992565870285, 0.40390950441360474, 0.20556208491325378, 0.3605777323246002, 0.11053413897752762, 0.07205668836832047, 0.18971265852451324, 0.027298621833324432, -0.3053278625011444, -0.05869284272193909, 0.46762117743492126, -0.5252561569213867, -0.2694271504878998, 0.16469956934452057, 0.407524049282074, 0.695703387260437, -0.6551321744918823, 0.7907463312149048, 0.9086995124816895, -0.6294695734977722, 0.015750357881188393, -0.46954527497291565, -0.12444088608026505, -0.5124178528785706, 0.7549613118171692, -0.2843152582645416, -0.8797299265861511, 0.847652792930603, -0.28327906131744385, 0.263350248336792, 0.9922426342964172, 0.5150384902954102, 0.0836838111281395, 0.8012440204620361, 0.5810168981552124, -0.08786450326442719, 0.7036421298980713, -0.17022892832756042, 0.09529732912778854, -0.7718169689178467, -0.5515991449356079, -0.3847448527812958, -0.14310839772224426, -0.6807984113693237, -0.0695897787809372, 0.7970250844955444, 0.0856638178229332, -0.26845675706863403, 0.23380404710769653, -0.39013051986694336, 0.35589390993118286, 0.3092905282974243, 0.02972552739083767, -0.047501347959041595, 0.027701610699295998, 0.09270516037940979, 0.3783264756202698, -0.46951836347579956, -0.6587816476821899, 1.0963680744171143, 0.4787537455558777, 0.6571190357208252, 0.36172348260879517, 0.8932514786720276, 0.5917624831199646, 0.4263652563095093, -0.5856728553771973, 0.31746476888656616, -0.35553550720214844, -0.7612758874893188, -0.2161240428686142, -0.2756315767765045, -0.6868085265159607, 0.48078957200050354, -0.6626619100570679, -0.9326910972595215, 0.24316632747650146, -0.062006622552871704, -0.913635790348053, 0.14434540271759033, -0.8737812042236328, 0.6908595561981201, -0.4449509382247925, -0.27532467246055603, -0.2746364176273346, -0.5752058029174805, 0.2500426173210144, -0.30132827162742615, 0.42346224188804626, -0.06100893393158913, -0.1329621970653534, 0.8916507959365845, 0.06335068494081497, 1.0566184520721436, -0.4009754955768585, -0.276654988527298, 0.33363914489746094, -0.4477197229862213, 0.9905292987823486, 0.05385658144950867, 0.030516624450683594, 0.4171621799468994, 0.03334107995033264, -0.17977868020534515, -0.3962171673774719, 0.5445464849472046, -0.8520147204399109, -0.2911153733730316, -0.26752516627311707, 0.02444586530327797, -0.23065926134586334, 0.13409341871738434, 0.2608288526535034, 0.25575900077819824, -0.5021553635597229, 0.20107150077819824, 0.49465104937553406, -0.1906164437532425, 0.37689557671546936, 0.6068675518035889, -0.14253181219100952, -0.6334009766578674, 0.8704356551170349, 0.38871392607688904, 0.11035878956317902, 0.05901992693543434, 0.1469678431749344, -0.4823383390903473, -0.3309793472290039, -0.3468054234981537, -0.13602790236473083, -0.7489626407623291, -0.07231856137514114, -0.8400804400444031, -0.10992569476366043, -0.3643677830696106, -0.0749254822731018, -0.3095741868019104, -0.06239955127239227, -0.4094615578651428, -0.23807847499847412, 0.24442251026630402, 0.7489963173866272, -0.08229400962591171, 0.5028921961784363, -1.1731352806091309, 0.11225532740354538, 0.4080865979194641, 0.4742578864097595, -0.46897926926612854, -0.3577392101287842, -0.13550515472888947, -0.31614217162132263, -0.3788925111293793, -0.9440882802009583, 0.09301883727312088, 0.5763064622879028, 0.8744233250617981, 0.7481105923652649, -0.3178006112575531, 0.256082147359848, -0.441006064414978, 1.0168641805648804, 0.09758152067661285, -1.013789176940918, 0.3912333548069, -0.3524402379989624, -0.15646050870418549, 0.6225529909133911, 0.3558221757411957, -0.6306731104850769, 0.12418660521507263, -0.7446503639221191, -1.003010869026184, 0.4502209424972534, 0.06577883660793304, -0.18140242993831635, -0.026888281106948853, 0.07957912981510162, 0.21447838842868805, 0.12050691246986389, -0.5685763955116272, -0.16118945181369781, 0.08821125328540802, 0.0009130156831815839, -0.09563322365283966, -0.19802847504615784, -0.16771173477172852, 0.1646014302968979, 0.8974327445030212, -0.0861680805683136, 0.1707516461610794, -0.08245836198329926, -0.1424868255853653, 0.10316002368927002, 0.23938202857971191, 0.7153013944625854, 0.09138082712888718, -0.20666292309761047, 0.01692674309015274, 0.40028446912765503, -0.41042304039001465, -0.06493422389030457, 0.2867002785205841, -0.03399889916181564, -0.24648112058639526, 0.42775940895080566, 0.7988908886909485, 0.2978250980377197, -0.5109126567840576, 0.3222000300884247, 0.3173615634441376, -0.2080966830253601, -0.36071640253067017, -0.2375003695487976, -0.13706478476524353, 0.3861340582370758, 0.6832597255706787, 0.04382455348968506, 0.32650554180145264, -0.4862162172794342, 0.45192205905914307, 0.25062569975852966, -0.43617719411849976, -0.24083511531352997, 0.2871073782444, 0.6442267298698425, -0.01822500117123127, 0.221669003367424, -0.12347995489835739, -0.8525535464286804, 0.8429673910140991, 0.33598849177360535, 1.059268593788147, -0.45560649037361145, 0.0705338642001152, 0.3491532504558563, 0.40474453568458557, -0.2546871602535248, 0.3939964473247528, 0.17962853610515594, -0.8150069713592529, -0.44600579142570496, -0.6323286294937134, -0.2954632043838501, 0.1665440946817398, -0.7491787672042847, 0.6494805216789246, -0.48067766427993774, -0.016803748905658722, 0.2596186399459839, 0.003031653817743063, -0.7474071383476257, -0.03348736837506294, 0.6612986326217651, 0.582812488079071, -1.2575775384902954, 0.34951052069664, 0.7773643732070923, -0.2446601390838623, -0.4459975063800812, -0.32442668080329895, 0.5533544421195984, -1.022378921508789, 0.5324774980545044, 0.37559273838996887, -0.27235540747642517, 0.18370653688907623, -0.24629385769367218, -1.0225950479507446, 1.2717186212539673, -0.04126108065247536, -0.7093480825424194, -0.05911910906434059, -0.13599355518817902, 0.30236226320266724, -0.4000118374824524, 0.3312431573867798, 0.5635597705841064, 0.8766854405403137, 0.0007733694510534406, -0.9918171167373657, -0.397019624710083, -0.1099623292684555, -0.20002971589565277, 0.5689141154289246, -0.8633332848548889, 0.5167890787124634, -0.05152882635593414, -0.4573929011821747, -0.5129261016845703, 0.6768344640731812, 0.14138589799404144, 0.21456880867481232, 0.8137180209159851, 0.5251088738441467, 0.9308110475540161, -0.011227862909436226, 1.0914486646652222, -0.5681617856025696, 0.6118685007095337, 1.0684837102890015, -0.2983011305332184, 0.9037389159202576, 0.5775560736656189, -0.247187077999115, 0.1470591425895691, 1.0531831979751587, -0.30327120423316956, 0.7499058246612549, 0.36578187346458435, -0.5136051177978516, -0.18780343234539032, -0.3155691623687744, -0.28827041387557983, 0.7878758311271667, 0.8412526845932007, -0.49672314524650574, -0.3034343421459198, 0.0068743349984288216, -0.23297126591205597, -0.44321438670158386, -0.5988285541534424, 0.7936630845069885, -0.1544700264930725, -0.29790958762168884, -0.18152537941932678, 0.01930977776646614, 0.8503057360649109, -0.5577442646026611, -0.042877424508333206, 0.25378087162971497, -0.24596776068210602, -0.43944767117500305, -0.8497135639190674, 0.33661437034606934, -0.05388456955552101, 0.16087083518505096, -0.12234925478696823, 0.7703255414962769, -0.4421844780445099, -0.4741881191730499, 0.6131361126899719, 0.5586327314376831, -0.05477942153811455, -0.1979125589132309, -0.3884522318840027, -0.06432673335075378, -0.2466045618057251, -0.37661218643188477, 0.08327578008174896, 0.16919797658920288, 0.06524943560361862, 0.15740671753883362, 0.3969102203845978, -0.2706591486930847, -0.02338619902729988, 0.03608311340212822, 0.5828278064727783, -0.24808768928050995, -0.41279855370521545, -0.6593811511993408, 0.48151645064353943, -0.20621198415756226, -0.4155179560184479, 0.30658459663391113, 0.6869374513626099, 0.7688573598861694, 0.10821563005447388, 1.0177453756332397, -0.29426246881484985, 0.16069790720939636, -0.4937395453453064, 0.7967209219932556, -0.4896986186504364, 0.21178306639194489, -0.3929060399532318, -0.9671794176101685, -0.11989065259695053, 0.265882283449173, -0.2906576991081238, -0.03077319823205471, 0.3189830183982849, 0.649074137210846, -0.12910176813602448, 0.16141222417354584, 0.32236775755882263, 0.10903636366128922, 0.468702107667923, 0.40240615606307983, 0.7542744874954224, -0.2749820053577423, 0.6114163994789124, 0.08601213246583939, -0.3611436188220978, -0.18483984470367432, -1.000888466835022, -0.4203765392303467, -0.6208302974700928, -0.26368823647499084, -0.29566505551338196, -0.08292064815759659, 1.1065566539764404, 0.5791791677474976, -0.6369953155517578, 0.20256586372852325, 0.2434738129377365, -0.1833636611700058, -0.07606378197669983, -0.1915317177772522, 0.506011426448822, 0.10772787779569626, -0.5011269450187683, 0.5108054280281067, 0.5952051877975464, 0.07966113835573196, -0.21906141936779022, -0.11182460933923721, -0.15060363709926605, 0.1545635461807251, 0.8562431335449219, 0.2417166531085968, -0.7354287505149841, -0.9002017378807068, -0.2802342176437378, 0.1482655107975006, -0.2616407573223114, 0.604134738445282, -0.4246608316898346, 0.21221959590911865, 0.3729863464832306, 0.8514923453330994, 0.3793753683567047, -0.3520142138004303, 0.4187999665737152, -0.5504178404808044, -0.01288894284516573, 0.19577988982200623, 0.5803792476654053, -0.10866984724998474, -0.5996852517127991, 0.6497235894203186, 0.3098331093788147, -0.29602792859077454, -0.5660424828529358, 0.39229947328567505, -0.9874715209007263, -0.0019223425770178437, 1.2215299606323242, -0.1279560923576355, 0.016967862844467163, -0.11909693479537964, -0.04604620486497879, 0.12164449691772461, -0.5030238032341003, 0.7748425006866455, 1.0861668586730957, -0.06633517146110535, -0.127318874001503, -0.06868287920951843, 0.3135453760623932, 0.2585306167602539, -0.930718719959259, -0.20876285433769226, 0.4358036518096924, -0.011731613427400589, 0.3747676610946655, 0.21186847984790802, -0.24017278850078583, 0.12443337589502335, 0.010932586155831814, 0.20425160229206085, 0.13719752430915833, -0.3840816617012024, -0.5188916921615601, 0.3704751431941986, -0.40448853373527527, 0.038196321576833725 ]
http://arxiv.org/abs/2402.10770v3
http://arxiv.org/pdf/2402.10770v3
How Reliable Are Automatic Evaluation Methods for Instruction-Tuned LLMs?
2024-02-16T15:48:33
2024-07-02T11:46:09
Ehsan Doostmohammadi, Oskar Holmström, Marco Kuhlmann
cs.CL
cs.CL, cs.AI
Work on instruction-tuned Large Language Models (LLMs) has used automatic methods based on text overlap and LLM judgments as cost-effective alternatives to human evaluation. In this paper, we perform a meta-evaluation of such methods and assess their reliability across a broad range of tasks. We observe that while automatic evaluation methods can approximate human ratings under specific conditions, their validity is highly context-dependent. Specifically, the simple ROUGE-L metric correlates well with human ratings for short-answer English tasks but is unreliable in free-form generation tasks and cross-lingual transfer. The effectiveness of the more advanced method of using GPT-4 as a judge diminishes significantly if reference answers are not included in the prompt, which is the scenario where this method has the potential to provide the most value compared to other metrics. Our findings enhance the understanding of how automatic methods should be applied and interpreted when developing and evaluating instruction-tuned LLMs.
[ -0.23076437413692474, -0.7056407928466797, 0.8134483695030212, 0.2943059802055359, -0.1800507754087448, 0.109641432762146, -0.4361385107040405, -0.4694386124610901, -0.15474659204483032, 0.11129529029130936, -0.3716701865196228, -0.33948400616645813, -0.5946062207221985, 0.39495325088500977, -0.42897549271583557, 0.8639911413192749, -0.26810160279273987, 0.16642068326473236, -0.3792858123779297, -0.06371143460273743, -0.5178187489509583, -0.32857826352119446, -0.4572179317474365, -0.28370484709739685, 0.36157697439193726, 0.5256917476654053, 0.6844858527183533, 0.8421173095703125, 0.5796035528182983, 0.3814581632614136, 0.16441695392131805, 0.4710512161254883, -0.18700845539569855, -0.07484624534845352, -0.17372263967990875, -0.29055410623550415, -0.6060563325881958, 0.34078219532966614, 0.6411276459693909, 0.553749144077301, -0.15670636296272278, 0.27996763586997986, 0.5092161893844604, 0.576391875743866, -0.7935868501663208, 0.08304925262928009, -0.5984718203544617, -0.06028233468532562, -0.10791303217411041, -0.187127947807312, -0.5228472352027893, -0.4346560835838318, 0.18078160285949707, -0.357219934463501, -0.0055734580382704735, -0.23574991524219513, 0.6553720235824585, 0.54915851354599, -0.5805701613426208, -0.5859402418136597, -0.8813244104385376, 0.7340003848075867, -0.562101423740387, 0.2664875388145447, 0.6420852541923523, 0.46190428733825684, -0.03132878616452217, -0.6441448926925659, -0.31907588243484497, -0.5663487315177917, -0.3887077271938324, 0.22503891587257385, -0.026502151042222977, 0.16588641703128815, 0.37428349256515503, 0.2464832067489624, -0.38195738196372986, 0.1880238950252533, -0.24837841093540192, -0.31662455201148987, 0.6047848463058472, 0.3335409164428711, 0.41429004073143005, -0.36417317390441895, -0.25936129689216614, 0.16443030536174774, -0.6513993740081787, 0.02898462675511837, 0.6348497271537781, -0.004771263338625431, 0.098060242831707, 0.4777728319168091, -0.08291852474212646, 1.0409133434295654, 0.2769796848297119, -0.23635321855545044, 0.016557777300477028, -0.5092334747314453, -0.12994322180747986, -0.39778149127960205, 0.7877377867698669, 0.5007610321044922, 0.4022221863269806, -0.4620097875595093, -0.389841228723526, -0.15793552994728088, 0.40154948830604553, -0.5627233982086182, -0.041302863508462906, -0.02825036644935608, -0.004364009015262127, -0.007558876182883978, 0.20502270758152008, -0.5641950964927673, 0.17968231439590454, -0.39608684182167053, 0.6678491830825806, -0.15412889420986176, 0.3410601019859314, -0.1965629756450653, 0.02597751095890999, 0.1933126449584961, 0.38157400488853455, -0.885426938533783, 0.38701048493385315, 0.49006375670433044, 0.7437365055084229, -0.5459946393966675, -0.5136508941650391, -0.9815989136695862, -0.09414385259151459, -0.31667792797088623, 0.818761944770813, -0.5449702143669128, -0.3441276252269745, -0.14902234077453613, 0.39264044165611267, -0.3521566390991211, -0.5764053463935852, 0.6663708090782166, -0.5320330858230591, 0.3431030809879303, -0.2184024602174759, -0.7479478120803833, 0.0922737643122673, 0.11297476291656494, -0.8030178546905518, 0.9002494812011719, 0.22414731979370117, -0.47121500968933105, 0.33328622579574585, -0.37204059958457947, -0.5726114511489868, -0.06439138203859329, 0.027279110625386238, -0.28869494795799255, -0.05322515219449997, 0.18035872280597687, 0.2832965552806854, -0.24252921342849731, 0.1733415573835373, -0.09771121293306351, -0.8467937707901001, 0.27864721417427063, -0.9839746356010437, 0.482021689414978, -0.12683703005313873, -0.7764535546302795, -0.025552010163664818, -0.6864066123962402, 0.4101339876651764, -0.2565552294254303, -0.5224062204360962, -0.16990870237350464, -0.04747981205582619, -0.23723246157169342, 0.04158792644739151, 0.2650304138660431, -0.1628803014755249, 0.041394494473934174, -0.27793484926223755, 0.2548151910305023, 0.8188154697418213, -0.04222767800092697, 0.4242309629917145, -0.33784008026123047, 0.7251729965209961, -0.46297749876976013, 0.06697386503219604, -0.2278285026550293, -0.4051609933376312, -0.762703537940979, -0.14788086712360382, 0.4286045730113983, 0.758389413356781, -0.5195459127426147, 0.6127279996871948, -0.08447368443012238, -0.4871818423271179, -0.42499929666519165, 0.37537840008735657, 0.5870386362075806, 0.3722088038921356, 0.510664165019989, -0.20670512318611145, -0.3189283013343811, -0.8432053327560425, -0.5984131097793579, 0.05331283062696457, -0.11148300021886826, 0.374122679233551, 0.4558500349521637, -0.35296550393104553, 0.9412192702293396, -0.11609659343957901, 0.3264628052711487, 0.03369979187846184, 0.1966516077518463, 0.07250267267227173, 0.1022067442536354, 0.3499106168746948, -0.2081838846206665, -0.823561429977417, -0.3092976212501526, -0.5530189275741577, -0.454296737909317, -0.02357328310608864, 0.08164242655038834, 0.5414588451385498, 0.21051669120788574, -0.5489732027053833, 0.5201444625854492, 0.6292775273323059, -0.12409481406211853, 0.8195460438728333, -0.3090728223323822, 0.4390081465244293, -0.5799806118011475, 0.05065454542636871, -0.02272649109363556, -0.4084281027317047, -0.38732829689979553, -0.08771853148937225, 0.2699194848537445, 0.3498495817184448, -0.33700838685035706, 0.844340443611145, -0.5410371422767639, -0.28077107667922974, -0.5020291209220886, 0.43158817291259766, -0.03495918586850166, 0.22692754864692688, -0.2744600474834442, 1.0433439016342163, 0.20716580748558044, -0.6618496775627136, 0.48131105303764343, -0.23250947892665863, -0.6500641107559204, 0.6862727403640747, -0.7210114598274231, 0.5011870265007019, 0.29305118322372437, 0.3660927712917328, -0.9031129479408264, -0.31450557708740234, 0.2925410568714142, -0.041019830852746964, 0.30923768877983093, -0.1422223448753357, -0.4189291298389435, -0.274177610874176, -0.21654926240444183, 0.3481561541557312, 0.4626864492893219, -0.6829807162284851, 0.30595487356185913, 0.030230583623051643, -0.025267895311117172, -0.7830111384391785, -0.46985623240470886, 0.07957344502210617, -0.16412797570228577, -0.43108195066452026, 0.2511988878250122, -0.19766908884048462, -0.368008017539978, 0.057119518518447876, -0.44022229313850403, -0.05258077010512352, 0.1523699164390564, 0.12003235518932343, 0.1673731654882431, -0.06722652167081833, 0.075228750705719, 0.03880728408694267, -0.1434977948665619, 0.08166824281215668, -0.04726957902312279, 0.20545260608196259, -0.3086547553539276, -0.7773415446281433, -0.43489736318588257, 0.031426381319761276, 0.5736793875694275, 0.06228404864668846, 0.3801631033420563, 0.5568181276321411, -0.16304470598697662, -0.2735758423805237, -0.5736556649208069, -0.15766622126102448, -0.48264870047569275, 0.3442319333553314, -0.16904503107070923, -0.642346978187561, 0.2788059115409851, 0.12811541557312012, 0.14863446354866028, 0.5085412859916687, 0.4455937147140503, -0.25028127431869507, 0.8730385303497314, 0.317213237285614, 0.031745754182338715, 0.10794893652200699, 0.05821602791547775, -0.14411449432373047, -0.8027923703193665, 0.08782386779785156, -0.39820027351379395, -0.3273981511592865, -0.4448164701461792, -0.493325412273407, 0.3847370743751526, 0.09506464749574661, -0.12801389396190643, 0.29555556178092957, -0.2567515969276428, 0.7306221127510071, 0.34170597791671753, 0.05185535177588463, 0.5160769820213318, -0.11431573331356049, -0.08231862634420395, -0.023247700184583664, -0.5868104696273804, -0.8569884300231934, 1.079440951347351, 0.27921879291534424, 0.7496311664581299, -0.01857028156518936, 0.5138658285140991, 0.3699856400489807, 0.6316379904747009, -0.9190793633460999, 0.6022040247917175, -0.19778798520565033, -0.462404727935791, -0.6256289482116699, -0.4548127353191376, -0.8265451192855835, 0.2427973449230194, 0.07236713916063309, -0.6246469020843506, -0.34739965200424194, 0.16842320561408997, -0.2840628921985626, 0.11450943350791931, -0.757724940776825, 0.6833337545394897, -0.7331541776657104, -0.5320819616317749, -0.19638176262378693, -0.47868579626083374, 0.3066965937614441, -0.347141295671463, 0.15886303782463074, 0.12012246996164322, -0.22336821258068085, 0.7996115684509277, -0.49973437190055847, 0.8638775944709778, 0.0347534604370594, -0.33774423599243164, 0.32806289196014404, -0.072626031935215, 0.521639347076416, -0.05830968916416168, -0.095665842294693, 0.1208556517958641, -0.030501702800393105, -0.21455998718738556, -1.0009429454803467, 0.585477888584137, -0.714462161064148, -0.828437089920044, -0.36601245403289795, -0.39408206939697266, -0.41123610734939575, 0.12458189576864243, 0.3397374451160431, 0.49398288130760193, -0.16651223599910736, 0.056279100477695465, 0.21195633709430695, -0.1536891907453537, 0.445467084646225, 0.6856266260147095, 0.15321439504623413, -0.5588299036026001, 0.6553324460983276, 0.2542080581188202, 0.49186035990715027, 0.24629874527454376, 0.2524755895137787, -0.17295558750629425, -0.1604127287864685, -0.8327210545539856, 0.087284617125988, -0.9541462659835815, -0.17292307317256927, -0.2838541269302368, -0.26668673753738403, 0.11884880065917969, -0.0664464458823204, -0.31414875388145447, -0.38191646337509155, -0.11149613559246063, -0.17393328249454498, 0.006520239170640707, 0.9540792107582092, 0.0015006386674940586, 0.14843890070915222, -0.9632576107978821, 0.17989034950733185, 0.6586721539497375, 0.3785597085952759, -0.04703463613986969, -0.814162015914917, -0.4679430425167084, 0.186471626162529, -0.24345603585243225, -0.8962321281433105, -0.20866142213344574, 0.27384546399116516, 0.8487591743469238, 0.17960599064826965, -0.13170631229877472, 0.5995689630508423, -0.7974292039871216, 0.68937748670578, -0.3303541839122772, -1.0956709384918213, 0.2626221776008606, -0.09351839870214462, 0.40937507152557373, 0.5740915536880493, 0.42131921648979187, -0.2374892234802246, -0.5570825934410095, -0.34659481048583984, -0.7566750049591064, 0.6423020958900452, 0.03942800685763359, 0.0752226933836937, -0.14087606966495514, 0.5844960808753967, 0.15878376364707947, -0.023332897573709488, -0.6560729742050171, -0.23974841833114624, 0.040226880460977554, -0.18452110886573792, -0.12555170059204102, -0.21724829077720642, -0.05342704802751541, -0.324256956577301, 0.5466945767402649, -0.16026045382022858, 0.09416548162698746, -0.14026713371276855, -0.32686764001846313, -0.2799980640411377, 0.4389340281486511, 0.8331722021102905, 0.9988433718681335, -0.08134598284959793, 0.09497004747390747, 0.4969283938407898, -0.42883753776550293, 0.4735944867134094, -0.14759626984596252, -0.13686199486255646, 0.16995257139205933, 0.7209280729293823, 0.8017127513885498, 0.5084613561630249, -0.529163658618927, 0.5163635015487671, -0.013897615484893322, -0.1598893702030182, -0.18169176578521729, 0.33322107791900635, -0.08697681128978729, 0.11225701868534088, 0.09231836348772049, 0.00884306337684393, 0.0634009912610054, -0.5238087773323059, 0.44174253940582275, 0.6013827323913574, -0.370121568441391, -0.2958039939403534, 0.39367642998695374, 0.39677801728248596, -0.48924341797828674, 0.5955043435096741, -0.152488574385643, -0.6063327789306641, 0.6473545432090759, 0.42865872383117676, 1.1037442684173584, -0.31755977869033813, 0.2203235924243927, 0.3320647180080414, 0.6423501372337341, -0.29312679171562195, -0.159505233168602, -0.1401677429676056, -0.47199133038520813, -0.7838062644004822, -0.5078200101852417, -0.7377047538757324, 0.09325216710567474, -0.5942168235778809, 0.31562355160713196, -0.0639648586511612, -0.36508044600486755, -0.5689958333969116, -0.05240505561232567, -0.6839737892150879, 0.21475501358509064, -0.10552970319986343, 0.873880922794342, -0.8771314024925232, 0.6895063519477844, 0.6458346247673035, 0.019539622589945793, -0.9988266825675964, 0.5105786919593811, -0.09250809997320175, -0.749362051486969, 0.6888707876205444, 0.30196112394332886, -0.6798394322395325, -0.306328684091568, -0.10887285321950912, -0.8579535484313965, 1.0348740816116333, 0.41930893063545227, -0.7300058603286743, -0.08909383416175842, 0.04492177441716194, 0.7112790942192078, -0.1528942734003067, 0.7840964794158936, 0.8028963804244995, 0.800022542476654, 0.06502406299114227, -1.371989369392395, 0.09940598905086517, -0.07675743103027344, -0.39267271757125854, -0.022861652076244354, -0.6011521220207214, 0.43216264247894287, -0.321147084236145, -0.26404017210006714, 0.1882728934288025, 0.23810884356498718, 0.06830930709838867, 0.2711842656135559, 0.8196107149124146, 0.3933168649673462, 0.8953244090080261, -0.04127679020166397, 0.9496989846229553, -0.5678707361221313, 0.4330118000507355, 1.078913688659668, -0.23667331039905548, 0.6656243205070496, 0.09729763865470886, -0.27366212010383606, 0.5476203560829163, 0.5433788299560547, -0.048397064208984375, 0.3160640299320221, 0.18239113688468933, -0.034501757472753525, -0.18719781935214996, 0.5376027226448059, -0.06527773290872574, 0.4848908483982086, 0.12991763651371002, -0.25137490034103394, -0.12340889126062393, -0.21107128262519836, -0.08157423138618469, -0.07653727382421494, -0.11527480185031891, 0.7270199656486511, 0.0758739709854126, -1.0614882707595825, 0.7904480695724487, 0.04057200625538826, 0.5401939749717712, -0.4241592288017273, -0.010566342622041702, -0.3023906350135803, 0.016266480088233948, -0.32199618220329285, -0.6640637516975403, 0.2923069894313812, 0.3037501871585846, -0.08955557644367218, -0.1631752997636795, 0.5480201840400696, -0.4334928095340729, -0.34407955408096313, 0.1927081197500229, 0.6612499356269836, 0.1360270082950592, 0.3645641803741455, -0.4572333097457886, -0.20509763062000275, -0.1613900512456894, -0.3415990173816681, 0.19388744235038757, 0.2697955071926117, -0.026582444086670876, 0.5783872008323669, 0.11670150607824326, 0.07035531103610992, -0.1332622766494751, -0.02400490641593933, 0.4137822687625885, -0.5876566767692566, -0.15341129899024963, -1.1679397821426392, 0.4779214560985565, 0.04152102768421173, -0.08484384417533875, 0.9646966457366943, 0.38267138600349426, 0.7639604806900024, 0.05762407183647156, 0.9297330379486084, 0.3350087106227875, 0.3411327302455902, -0.809005618095398, 0.5259440541267395, -0.5615076422691345, 0.5864437818527222, -0.3892313838005066, -1.2278590202331543, 0.04469183832406998, 0.577669620513916, -0.4986326992511749, 0.49023762345314026, 1.0426812171936035, 0.4794996678829193, -0.17066290974617004, -0.14389406144618988, 0.24858126044273376, -0.10819317400455475, 0.1141524687409401, 0.38041946291923523, 1.0640685558319092, -0.2276677042245865, 0.594892144203186, -0.10400646924972534, -0.44641372561454773, -0.2793881595134735, -0.9390947222709656, -0.8599749207496643, -0.2327129989862442, -0.1602572500705719, -0.19107146561145782, 0.13219106197357178, 0.759897768497467, 0.539164662361145, -0.5713493227958679, -0.3333262801170349, 0.24163872003555298, 0.3440248668193817, -0.24540096521377563, -0.22629375755786896, 0.5122731328010559, -0.6639034748077393, -0.9032504558563232, 0.5568845868110657, 0.36763685941696167, -0.21371901035308838, -0.42768341302871704, -0.15853917598724365, 0.3681305944919586, 0.22804048657417297, 0.5146270394325256, 0.1309492439031601, -0.7954907417297363, -0.5782748460769653, 0.1852741837501526, -0.4302566349506378, -0.16941705346107483, 0.7385590672492981, -0.5664461255073547, 0.33740073442459106, 0.2989982068538666, 0.7477604150772095, 0.07228226959705353, 0.375764936208725, 0.7149154543876648, -0.5298573970794678, -0.3002754747867584, 0.035165559500455856, 0.29710713028907776, 0.323164701461792, -0.15120601654052734, 0.5488901138305664, 0.2581988573074341, -0.888085126876831, -0.6010847091674805, 0.15025387704372406, -0.5148671269416809, 0.03961482644081116, 1.4314119815826416, -0.24364149570465088, -0.019051993265748024, -0.052640125155448914, 0.04178289324045181, -0.0016688616015017033, -0.05523623153567314, 0.8635214567184448, 1.0023717880249023, -0.3925182521343231, -0.012835001572966576, -0.7375615239143372, 0.5319597721099854, 0.4560840427875519, -0.8989232778549194, -0.05557401478290558, 0.5072791576385498, 0.4802691340446472, 0.09082405269145966, 0.538740336894989, 0.11365001648664474, 0.48742708563804626, -0.433976411819458, -0.3466317355632782, 0.02353169023990631, -0.5111663937568665, -0.31129229068756104, -0.1896694451570511, 0.1916448026895523, -0.010718677192926407 ]
http://arxiv.org/abs/2402.10769v1
http://arxiv.org/pdf/2402.10769v1
Distillation Enhanced Generative Retrieval
2024-02-16T15:48:24
2024-02-16T15:48:24
Yongqi Li, Zhen Zhang, Wenjie Wang, Liqiang Nie, Wenjie Li, Tat-Seng Chua
cs.CL
cs.CL, cs.AI, cs.IR
Generative retrieval is a promising new paradigm in text retrieval that generates identifier strings of relevant passages as the retrieval target. This paradigm leverages powerful generative language models, distinct from traditional sparse or dense retrieval methods. In this work, we identify a viable direction to further enhance generative retrieval via distillation and propose a feasible framework, named DGR. DGR utilizes sophisticated ranking models, such as the cross-encoder, in a teacher role to supply a passage rank list, which captures the varying relevance degrees of passages instead of binary hard labels; subsequently, DGR employs a specially designed distilled RankNet loss to optimize the generative retrieval model, considering the passage rank order provided by the teacher model as labels. This framework only requires an additional distillation step to enhance current generative retrieval systems and does not add any burden to the inference stage. We conduct experiments on four public datasets, and the results indicate that DGR achieves state-of-the-art performance among the generative retrieval methods. Additionally, DGR demonstrates exceptional robustness and generalizability with various teacher models and distillation losses.
[ -0.18926116824150085, -0.573164165019989, 0.7331451177597046, 0.022753335535526276, -0.3800874650478363, 0.3922654390335083, -0.15504910051822662, 0.018605578690767288, -0.144602969288826, 0.3105447292327881, 0.01146252453327179, -0.44294920563697815, -1.0427632331848145, 0.3336052894592285, -0.8310950398445129, 1.100174069404602, 0.24336093664169312, 0.05068781599402428, -0.34789207577705383, 0.28716379404067993, -0.2746480405330658, -0.5728796124458313, -0.5186088681221008, -0.5247195959091187, 0.5642837285995483, 0.046200551092624664, 0.5285965800285339, 0.5469359159469604, 0.6753243803977966, 0.31580448150634766, -0.6618732213973999, -0.11034298688173294, -0.8515083193778992, 0.41635948419570923, -0.10614493489265442, -0.5261769890785217, -0.2933938205242157, 0.04660295695066452, 0.6284123063087463, 0.7042791247367859, -0.5195723176002502, -0.15174159407615662, 0.4502164423465729, 0.8770145177841187, -0.6332018971443176, 0.10898461192846298, -0.9134227633476257, 0.12921227514743805, -0.360460489988327, -0.18390709161758423, -0.5314556360244751, -0.5749251842498779, 0.2448377013206482, -0.3798881471157074, 0.42987921833992004, -0.20067088305950165, 0.45152029395103455, 0.37116163969039917, -0.4559009075164795, -0.23141752183437347, -0.7436359524726868, 0.501182496547699, -0.46166834235191345, 0.2706344425678253, 0.4123916029930115, 0.6438890099525452, -0.13889634609222412, -1.2676056623458862, -0.605003833770752, -0.1871948540210724, -0.2215694785118103, 0.3329116404056549, -0.07223887741565704, 0.2425113022327423, 0.14764806628227234, 0.9754828214645386, -0.3850789964199066, -0.22504492104053497, -0.2677406966686249, 0.29502400755882263, 0.5028415322303772, 0.0582304410636425, -0.030745074152946472, -0.14096146821975708, -0.5158027410507202, -0.25513920187950134, -0.417837917804718, -0.2816591262817383, 0.4183908998966217, 0.3144248425960541, 0.42826223373413086, 0.3054368197917938, -0.18478049337863922, 0.9456854462623596, 0.3056686520576477, -0.11548768728971481, 0.09177899360656738, -0.3752991855144501, -0.055931445211172104, 0.22788026928901672, 0.4521920382976532, 0.1764879822731018, -0.20072771608829498, -0.15867750346660614, -0.35905736684799194, -0.3898616433143616, 0.3303695023059845, -1.0422425270080566, -0.5804411172866821, -0.21918368339538574, -0.5751431584358215, -0.5811887979507446, 0.23227456212043762, -0.9456163644790649, -0.4268464148044586, -0.29857081174850464, 0.46274033188819885, -0.24001356959342957, -0.2996654808521271, 0.044801048934459686, -0.5836299061775208, -0.165420800447464, 0.3767679035663605, -1.2140864133834839, 0.25410589575767517, 0.6583000421524048, 1.0030488967895508, -0.3639620840549469, 0.14201681315898895, -0.32209834456443787, 0.093382328748703, -0.03451767563819885, 0.36036625504493713, -0.9221605062484741, -0.6255881786346436, -0.27302631735801697, -0.24955053627490997, 0.07109129428863525, -0.739176869392395, 0.5242268443107605, -0.7700682878494263, 0.03385922685265541, -0.2343090921640396, -0.48869526386260986, -0.1761607974767685, 0.10573584586381912, -0.9033496379852295, 1.2282267808914185, 0.10546936094760895, -0.7264788150787354, 0.4340759217739105, -0.22090405225753784, -0.2583566904067993, 0.42184513807296753, -0.2522468864917755, -0.26859983801841736, 0.23975177109241486, 0.17617328464984894, 0.23623774945735931, -0.4392177164554596, 0.599439263343811, 0.02202645130455494, -0.6121670603752136, -0.11476139724254608, -0.8466606736183167, 0.637134850025177, 0.39185830950737, -0.2393902838230133, -0.498304158449173, -0.640877366065979, -0.06393168121576309, -0.06215343996882439, -0.850293755531311, -0.7552415728569031, 0.022315287962555885, 0.0577608086168766, -0.11680500209331512, 0.15127849578857422, -0.6030369400978088, 0.50493985414505, -0.012093123979866505, 0.40299898386001587, 0.5482866168022156, -0.002944850828498602, 0.4416361451148987, -0.043880119919776917, 0.4713502824306488, -0.019379300996661186, 0.04899038374423981, 0.12533099949359894, -0.5525710582733154, -0.43888840079307556, -0.4244990646839142, 0.6544436812400818, 0.2522377073764801, -1.0569840669631958, 0.39139464497566223, -0.48526886105537415, -0.40980908274650574, -0.7086110711097717, 0.06176179647445679, 0.40168991684913635, 0.5743228793144226, 0.5471289157867432, -0.11380700021982193, -0.41184133291244507, -0.47765058279037476, -0.04261375963687897, -0.25396814942359924, -0.1298864185810089, 0.05422673746943474, 0.3453165888786316, 0.03402680158615112, 0.9252249002456665, -0.924862802028656, -0.25626277923583984, -0.4274021089076996, 0.1746179163455963, 0.402323454618454, 0.2892872989177704, 0.6448391079902649, -1.2568950653076172, -0.7615455985069275, 0.018540579825639725, -0.5015923976898193, 0.004993794020265341, 0.1889168918132782, -0.3109922409057617, -0.3754921853542328, 0.42089200019836426, -0.11222701519727707, 0.35589489340782166, 0.4430350959300995, -0.08522450923919678, 0.0013376700226217508, -0.3473317325115204, 0.3544045686721802, -1.102281928062439, 0.1685093194246292, -0.23303841054439545, -0.14548160135746002, -0.5626905560493469, -0.0731496587395668, 0.0036715054884552956, -0.13716188073158264, -0.0919385775923729, 0.16718590259552002, -0.42075425386428833, 0.22447648644447327, -0.39766618609428406, 0.023912915959954262, 0.3729638457298279, 0.06830157339572906, 0.014788211323320866, 0.861442506313324, 0.46500417590141296, -0.6025509834289551, 0.4249487817287445, 0.4315549433231354, -0.33217093348503113, 0.48087871074676514, -0.7417397499084473, 0.07738210260868073, -0.6947264671325684, 0.4222832918167114, -1.0576422214508057, 0.15483251214027405, -0.02062566764652729, -0.27837225794792175, 0.7082544565200806, -0.46645551919937134, -0.3473663330078125, -0.3258616626262665, -0.14748671650886536, 0.33511337637901306, 0.688552737236023, -0.8638611435890198, 0.28134867548942566, 0.2419758141040802, -0.21953213214874268, -0.6146509051322937, -0.6694599986076355, 0.28537434339523315, -0.26307764649391174, -0.008137835189700127, 0.8729124069213867, 0.10349425673484802, -0.02330564521253109, -0.0742378681898117, -0.20844370126724243, -0.13699518144130707, 0.18162429332733154, -0.17664404213428497, 0.09933288395404816, 0.206255704164505, 0.28265178203582764, 0.22767513990402222, -0.15206843614578247, -0.36046847701072693, -0.35140180587768555, 0.31887200474739075, 0.3247511684894562, -0.1820220947265625, -0.010689627379179, 0.49704521894454956, 0.37966522574424744, -0.2360430508852005, 0.6523152589797974, 0.3794008195400238, -0.2044256627559662, -0.23264694213867188, -0.3466697633266449, -0.27718237042427063, -0.5179254412651062, 0.34667304158210754, -0.506616473197937, -0.6822914481163025, 0.27207428216934204, -0.054533593356609344, -0.25809863209724426, 0.26777997612953186, 0.29236751794815063, -0.003997079096734524, 0.9651097655296326, 0.5722525715827942, -0.07322970777750015, 0.6449970602989197, -0.3645593225955963, 0.1404232680797577, -0.8025379776954651, -0.5243463516235352, -0.5836958885192871, -0.44917523860931396, -0.6630372405052185, -0.41954556107521057, 0.6085906028747559, 0.4166449010372162, 0.25497210025787354, 0.34270745515823364, -0.9956790208816528, 0.5259690284729004, 0.5672508478164673, 0.26644331216812134, 0.6541851758956909, 0.22209706902503967, -0.34976133704185486, -0.0009468995267525315, -0.7000914216041565, -0.5556527972221375, 1.0094345808029175, 0.10386978089809418, 1.0661437511444092, 0.3560401201248169, 1.1249537467956543, 0.33528420329093933, 0.3646478056907654, -0.49943095445632935, 0.4165548086166382, -0.5209853053092957, -0.8040066957473755, -0.3373833894729614, -0.5394546389579773, -0.9924509525299072, 0.7128129005432129, 0.08681245148181915, -0.3933198153972626, 0.26539263129234314, 0.04463821277022362, -0.22617925703525543, 0.15907904505729675, -0.5319122076034546, 0.6785227656364441, -0.2603871524333954, -0.23737798631191254, -0.03462105616927147, -0.5148165225982666, 0.09114738553762436, 0.06259716302156448, -0.4397833049297333, 0.1337158977985382, 0.03163985162973404, 0.4164882004261017, -0.432498961687088, 0.5834358334541321, -0.44525444507598877, -0.20042207837104797, 0.4017007648944855, -0.253786563873291, 0.4139101505279541, 0.11318996548652649, -0.46454304456710815, -0.013330941088497639, -0.10867497324943542, -0.1185419112443924, -0.8440077304840088, 0.8150209784507751, -0.42757055163383484, -0.8783944249153137, -0.5321863889694214, 0.007329144980758429, 0.11446093767881393, 0.14929138123989105, 0.3248395621776581, 0.28297969698905945, -0.15465837717056274, 0.4951489567756653, 0.8009696006774902, -0.01940324530005455, 0.5011446475982666, 0.2895691990852356, -0.09808000177145004, -0.3836923837661743, 0.8826113939285278, 0.22605516016483307, 0.3165977895259857, 0.7846574187278748, 0.19801950454711914, -0.6988470554351807, -0.9056618809700012, -0.6151041984558105, -0.27437692880630493, -0.7616914510726929, -0.36988046765327454, -0.6859936714172363, -0.2909644842147827, -0.3671818971633911, 0.33499953150749207, -0.10251561552286148, -0.33420661091804504, -0.41251271963119507, -0.35451218485832214, 0.6796940565109253, 0.6909668445587158, 0.17076198756694794, -0.03385913372039795, -0.8950580358505249, 0.26546189188957214, 0.4598301351070404, 0.47706443071365356, 0.31475186347961426, -0.5868216753005981, -0.04669782519340515, -0.009368649683892727, -0.500592827796936, -0.9633804559707642, 0.3136895000934601, 0.5826519131660461, 0.8789292573928833, 0.16629526019096375, 0.32160240411758423, 0.7623209357261658, -0.5571449995040894, 0.6550471782684326, 0.10976589471101761, -0.6905479431152344, 0.6607267260551453, -0.2429610937833786, 0.19734352827072144, 0.9878474473953247, 0.631488561630249, -0.4004134237766266, -0.236638605594635, -0.11812993139028549, -1.035910964012146, 0.4395723044872284, 0.460987389087677, 0.28757181763648987, -0.32911357283592224, 0.5594195127487183, 0.4653867483139038, 0.4187776446342468, -0.6130059361457825, -0.404575377702713, -0.3078625500202179, -0.30393296480178833, -0.1609274446964264, -0.1861894130706787, 0.026863686740398407, -0.4235696792602539, 0.39612773060798645, -0.014291803352534771, 0.06471974402666092, 0.33230409026145935, 0.017097461968660355, 0.3665948510169983, 0.31390300393104553, -0.0173447635024786, 0.43799182772636414, -0.3220578134059906, 0.37327075004577637, -0.05070291459560394, -0.8483694791793823, 0.5167204141616821, 0.42384159564971924, -0.439492791891098, 0.3151765763759613, -0.00366665399633348, 0.6759883165359497, 0.025828935205936432, -0.18914437294006348, 0.46718499064445496, -0.06021812930703163, -0.041417624801397324, -0.08677884191274643, 0.12193667888641357, -0.039634160697460175, 0.25910136103630066, 0.9188806414604187, -0.43560734391212463, 0.7346011400222778, -0.49581536650657654, 0.3914461135864258, 0.252249151468277, -0.3088589012622833, -0.11060188710689545, 0.8498975038528442, 0.4379306137561798, 0.09371001273393631, 0.7431187033653259, -0.23776555061340332, -0.44982025027275085, 0.389752060174942, 0.5654390454292297, 0.9108643531799316, -0.11244411021471024, 0.37419813871383667, 0.49421969056129456, -0.07820354402065277, -0.40498924255371094, 0.1661788672208786, -0.5131433010101318, -0.22590327262878418, -0.1515330821275711, -0.9404574632644653, -0.13723622262477875, -0.09686188399791718, -0.8974529504776001, -0.006386505905538797, 0.037675946950912476, -0.5202961564064026, -0.07002566754817963, -0.1575320065021515, -0.3384237587451935, 0.08577309548854828, 0.15769578516483307, 0.6333461403846741, -0.5187504887580872, 0.7988560199737549, 0.564933180809021, -0.5287111401557922, -0.3655509352684021, 0.24782077968120575, -0.2382616400718689, -0.27754196524620056, 1.01486337184906, 0.05129369720816612, -0.04059676453471184, 0.3807418942451477, -0.009388006292283535, -0.9001163244247437, 1.535090684890747, 0.342623770236969, -0.8614298701286316, -0.16090553998947144, 0.007311608642339706, 0.7265480756759644, -0.041031613945961, 0.46647006273269653, 0.502547025680542, 0.38610774278640747, 0.5387988686561584, -0.875554084777832, 0.13006475567817688, -0.2586977481842041, 0.6873031258583069, 0.3436222970485687, -0.47144705057144165, 0.775368332862854, -0.035655662417411804, -0.425559401512146, 0.0422307550907135, 0.5066182017326355, 0.04588273540139198, 0.29490575194358826, 0.21718624234199524, 0.7161465287208557, 0.7207791805267334, -0.3930705189704895, 1.0730340480804443, -0.08294986188411713, 0.29784467816352844, 0.8967679738998413, -0.18533141911029816, 0.8022207021713257, 0.601061224937439, -0.4143812656402588, 0.37645673751831055, 0.39737552404403687, -0.0025695175863802433, 1.1856456995010376, 0.44731372594833374, -0.6830810308456421, -0.09041190147399902, -0.12017303705215454, -0.6228170990943909, 0.41366106271743774, 0.07936714589595795, -0.6973141431808472, -0.34649187326431274, 0.14438697695732117, -0.3685920238494873, 0.27998843789100647, -0.1694248914718628, 0.9300615191459656, 0.1049492135643959, -0.8365659713745117, 0.80326247215271, -0.15963305532932281, 0.7721655368804932, -0.3092092275619507, -0.47188907861709595, -0.33823493123054504, 0.2668728232383728, -0.13011440634727478, -0.6457288861274719, 0.07794797420501709, 0.05109220743179321, -0.25186654925346375, -0.6016098260879517, 0.5493470430374146, -0.8580279350280762, -0.43331801891326904, 0.2774750590324402, 0.3363524079322815, 0.11410735547542572, 0.03049382008612156, -0.4733104705810547, -0.12022937834262848, -0.056898701936006546, -0.2214355617761612, 0.4787198007106781, 0.4989786148071289, 0.2891198694705963, 0.33790141344070435, 0.3793262541294098, -0.04265371710062027, 0.021974893286824226, 0.47632846236228943, 1.116664171218872, -0.40238264203071594, -0.3564474284648895, -0.9317479133605957, 0.4827736020088196, -0.3014548718929291, 0.024189719930291176, 0.8289300203323364, 0.5609045624732971, 0.8811612725257874, -0.045725781470537186, 0.8580815196037292, -0.19821175932884216, 0.24753957986831665, -0.42533743381500244, 0.873113751411438, -0.5012757778167725, 0.30118241906166077, -0.28192976117134094, -1.0328869819641113, -0.03577231988310814, 0.5734955668449402, -0.16328875720500946, 0.20932285487651825, 0.395073264837265, 0.7030696272850037, 0.0003408157208468765, -0.2650764286518097, 0.37654364109039307, -0.30561745166778564, 0.3748753070831299, 0.37590500712394714, 0.8778719902038574, -0.5797694325447083, 0.718146562576294, -0.025776630267500877, -0.2586887776851654, -0.3191893696784973, -0.7626221776008606, -0.7482964992523193, -0.6988493204116821, -0.2628536820411682, -0.07016852498054504, 0.3629533350467682, 0.48840761184692383, 0.5649954080581665, -0.5444584488868713, 0.21819433569908142, -0.3410583436489105, 0.026085106655955315, -0.29093611240386963, -0.2508629560470581, 0.0969766154885292, -0.32706940174102783, -1.1465625762939453, 0.35071060061454773, 0.10626022517681122, 0.36040204763412476, -0.24859747290611267, -0.029089147225022316, -0.2552894949913025, -0.3518214225769043, 0.599614143371582, -0.22778762876987457, -0.5041062235832214, -0.09481510519981384, 0.0005312895518727601, -0.2837737500667572, -0.026143865659832954, 0.8864215612411499, -0.7397860288619995, 0.7429969906806946, 0.828765332698822, 0.6629554629325867, 0.7225235104560852, 0.37204697728157043, 0.6307578682899475, -0.8093857765197754, -0.04423724114894867, 0.5527750253677368, 0.04449253901839256, 0.34667715430259705, -0.47617894411087036, 0.43307986855506897, 0.12935879826545715, -0.3233017027378082, -0.7979239225387573, 0.08950700610876083, -0.5860199928283691, -0.22798727452754974, 1.0463175773620605, -0.33964332938194275, 0.2086976021528244, -0.05165955424308777, -0.1675301492214203, 0.3026401996612549, -0.4470161199569702, 0.9874865412712097, 0.6416732668876648, 0.12761244177818298, -0.06543132662773132, -0.32941606640815735, 0.5979560613632202, 0.19310636818408966, -0.5227696299552917, -0.008436862379312515, 0.5512595176696777, 0.025546101853251457, 0.06317514181137085, 0.6004429459571838, -0.4069758653640747, -0.1658484786748886, 0.16674461960792542, -0.2064206451177597, -0.16793642938137054, -0.4508765637874603, -0.3755054175853729, 0.2296554148197174, 0.22248074412345886, -0.3470616042613983 ]
http://arxiv.org/abs/2402.10767v1
http://arxiv.org/pdf/2402.10767v1
Inference to the Best Explanation in Large Language Models
2024-02-16T15:41:23
2024-02-16T15:41:23
Dhairya Dalal, Marco Valentino, André Freitas, Paul Buitelaar
cs.CL
cs.CL, cs.AI, I.2.7
While Large Language Models (LLMs) have found success in real-world applications, their underlying explanatory process is still poorly understood. This paper proposes IBE-Eval, a framework inspired by philosophical accounts on Inference to the Best Explanation (IBE) to advance the interpretation and evaluation of LLMs' explanations. IBE-Eval estimates the plausibility of natural language explanations through a combination of explicit logical and linguistic features including: consistency, parsimony, coherence, and uncertainty. Extensive experiments are conducted on Causal Question Answering (CQA), where \textit{IBE-Eval} is tasked to select the most plausible causal explanation amongst competing ones generated by LLMs (i.e., GPT 3.5 and Llama 2). The experiments reveal that IBE-Eval can successfully identify the best explanation with up to 77\% accuracy ($\approx 27\%$ above random), improving upon a GPT 3.5-as-a-Judge baseline ($\approx+17\%$) while being intrinsically more efficient and interpretable. Additional analyses suggest that, despite model-specific variances, LLM-generated explanations tend to conform to IBE criteria and that IBE-Eval is significantly correlated with human judgment, opening up opportunities for future development of automated explanation verification tools.
[ -0.495962530374527, -0.921231746673584, 1.0353947877883911, 0.27599313855171204, -0.0875902995467186, -0.13272137939929962, -0.42173194885253906, -0.4613593518733978, -0.18053801357746124, 0.23084349930286407, -0.35871297121047974, -0.36957696080207825, -0.5901837348937988, 0.13813893496990204, -0.549698531627655, 0.912234902381897, -0.05207265540957451, 0.009173453785479069, -0.2298363447189331, 0.14941534399986267, -0.2619718015193939, -0.13445870578289032, -0.7386375069618225, -0.5658518075942993, 0.6785612106323242, 0.15355953574180603, 0.7079464793205261, 0.6771764755249023, 0.3715881109237671, 0.241238534450531, -0.12978945672512054, 0.05287785083055496, -0.4724920094013214, -0.1275993436574936, -0.6949616074562073, -0.614496111869812, -0.19641703367233276, -0.08759741485118866, 0.4966767728328705, 0.8399054408073425, -0.27267518639564514, -0.036378443241119385, 0.02325313352048397, 0.5223133563995361, -0.6489631533622742, 0.07695671170949936, -0.590971827507019, -0.3089655637741089, 0.14312389492988586, -0.08582039177417755, -0.7041877508163452, -0.5147950649261475, 0.14608468115329742, -0.3788911700248718, 0.05617622658610344, 0.36466479301452637, 1.0232073068618774, 0.09917180240154266, -0.5113341808319092, -0.29399439692497253, -0.9181081652641296, 0.7311075329780579, -0.8657516837120056, 0.4466034770011902, 0.3201660215854645, 0.5187771320343018, -0.27152130007743835, -0.735930323600769, -0.7858986258506775, -0.35841354727745056, -0.06562602519989014, 0.20879797637462616, -0.23909905552864075, 0.34180155396461487, 0.17945997416973114, 0.34667351841926575, -0.604572057723999, 0.3645663857460022, -0.08550684154033661, -0.16283400356769562, 0.751545250415802, -0.07319045066833496, 0.299387127161026, 0.017709488049149513, -0.5317605137825012, 0.1343364417552948, -0.8854722380638123, 0.07539532333612442, 0.1311333030462265, -0.2614167332649231, 0.004807449411600828, 0.42359215021133423, -0.11165913939476013, 0.6437658667564392, 0.07953275740146637, -0.02772424928843975, -0.33507272601127625, -0.039956122636795044, -0.43359681963920593, 0.026090089231729507, 0.7969735264778137, 0.3082737326622009, 0.2479974925518036, -0.26341891288757324, -0.3221697211265564, 0.17576050758361816, -0.07357128709554672, -0.6621285080909729, -0.07988986372947693, 0.4078443944454193, -0.43355220556259155, -0.12844716012477875, 0.02261214144527912, -0.710858166217804, -0.36830934882164, -0.6342868208885193, 0.476654052734375, -0.4226531982421875, -0.1758425533771515, 0.15061257779598236, 0.00924603920429945, 0.3202373683452606, 0.38496387004852295, -0.7986447215080261, 0.24138793349266052, 0.8333161473274231, 0.4916798174381256, -0.049080733209848404, -0.2772853672504425, -0.5808243155479431, 0.19616132974624634, -0.5645235776901245, 1.0640227794647217, -0.694444477558136, -0.0149003891274333, -0.2465522140264511, -0.2029641568660736, -0.06966443359851837, -0.4327252507209778, 0.7324454188346863, -0.6253253817558289, 0.2618134021759033, -0.23834197223186493, -0.9051561951637268, -0.5280650854110718, -0.14148034155368805, -0.33734050393104553, 0.8796693086624146, -0.15426090359687805, -0.41152751445770264, 0.3639281690120697, -0.8493965864181519, -0.14530466496944427, -0.006702241022139788, 0.056350499391555786, 0.06409549713134766, 0.47550708055496216, 0.35122179985046387, 0.415193647146225, -0.7495632767677307, 0.931725263595581, -0.4282858669757843, -0.18320076167583466, 0.5069838762283325, -0.8958369493484497, 0.7982607483863831, 0.3931443691253662, -0.3466537296772003, -0.07057065516710281, -0.6292427778244019, -0.013526820577681065, 0.0809476375579834, -0.040439121425151825, -0.2993735373020172, 0.223656564950943, -0.27481594681739807, 0.009941945783793926, 0.10378807783126831, -0.47716280817985535, -0.154374361038208, -0.5597224235534668, 0.14553432166576385, 0.897284746170044, 0.04709172993898392, 0.3360360562801361, -0.11784815043210983, 0.5447186231613159, -0.3120609223842621, 0.12825219333171844, -0.20390909910202026, -0.2688053250312805, -0.26141148805618286, -0.4278121292591095, 0.17333678901195526, 0.43049943447113037, -0.5408516526222229, 0.36149945855140686, -0.22113381326198578, -0.37940412759780884, -0.44679564237594604, 0.18991507589817047, 0.5484352111816406, 0.5750162601470947, 0.13624736666679382, 0.11546051502227783, -0.36723029613494873, -1.1967012882232666, -0.6339811086654663, -0.5029170513153076, -0.22904090583324432, 0.13364796340465546, 0.5675610899925232, -0.13225200772285461, 1.1863653659820557, -0.3254120647907257, 0.6008414626121521, -0.43144237995147705, 0.25078901648521423, 0.3844720125198364, 0.11277006566524506, 0.4833211898803711, -0.8629158735275269, -0.4262513816356659, 0.04482061788439751, -0.7100825309753418, -0.6574549078941345, -0.2568025588989258, -0.3789636194705963, -0.10496939718723297, 0.18706905841827393, -0.35328638553619385, 0.2162408083677292, 0.44723865389823914, -0.2752262055873871, 0.8019686937332153, -0.16860239207744598, 0.024433858692646027, -0.7911090850830078, 0.03685440123081207, 0.11756581813097, -0.2677631676197052, -0.6703968048095703, 0.2606676518917084, 0.045520324259996414, 0.24537065625190735, -0.24318872392177582, 0.8821730017662048, -0.34588971734046936, 0.03866588696837425, -0.2890155613422394, 0.48226913809776306, 0.24841175973415375, 0.30158868432044983, 0.07828940451145172, 0.5435720086097717, 0.6677879691123962, -0.5665631890296936, 0.3589128255844116, 0.01264798641204834, -0.3590110242366791, 0.5705727338790894, -0.5896422863006592, -0.11786220222711563, -0.40460866689682007, 0.31867921352386475, -1.0977998971939087, -0.5708147287368774, -0.0235908143222332, -0.3859289586544037, 0.19963926076889038, 0.05496234819293022, -0.3175630271434784, -0.40433186292648315, -0.0810927301645279, 0.21281829476356506, 0.4257865250110626, -0.9786362051963806, 0.7902002334594727, 0.11081622540950775, -0.1453341245651245, -0.5174853205680847, -0.5423016548156738, 0.14390015602111816, -0.35798004269599915, -0.7061353921890259, -0.08643762022256851, -0.24910826981067657, -0.7601227760314941, -0.20152345299720764, -0.21368950605392456, -0.23279432952404022, 0.37054669857025146, -0.03801238536834717, 0.367345929145813, -0.5856302380561829, 0.17875909805297852, 0.14664913713932037, -0.14201706647872925, 0.321236252784729, -0.08909875899553299, 0.1994394212961197, -0.27250105142593384, -0.5146369934082031, -0.5192699432373047, 0.3116724193096161, 0.5542070269584656, -0.042821355164051056, 0.9606236219406128, 0.19123242795467377, -0.32741937041282654, -0.2250428944826126, -0.700600802898407, -0.22713463008403778, -0.43594610691070557, 0.14562922716140747, -0.3935530185699463, -0.42390328645706177, 0.6595845222473145, -0.14798428118228912, 0.08770755678415298, 0.46498268842697144, 0.5094642639160156, 0.02375844493508339, 1.206677794456482, 0.2467089593410492, 0.07918372005224228, 0.32674410939216614, 0.050714876502752304, 0.689419686794281, -0.8770653605461121, -0.11913561075925827, -0.47045254707336426, -0.04501895606517792, -0.36444291472435, -0.2637879252433777, 0.28919678926467896, 0.40919527411460876, -0.22567404806613922, -0.035633962601423264, -0.15396495163440704, 0.8165476322174072, 0.32481229305267334, -0.057209987193346024, 0.2934914827346802, -0.16703134775161743, -0.08639492094516754, 0.2718263268470764, -0.48279958963394165, -0.8791653513908386, 0.7396408319473267, 0.3961951434612274, 0.8748716115951538, 0.21081608533859253, 0.5277705192565918, 0.03310362622141838, 0.7314878106117249, -0.5694600343704224, 0.5201238393783569, 0.2237645536661148, -0.7953737378120422, -0.2821798026561737, -0.32596832513809204, -0.8565835952758789, 0.5277429819107056, -0.04257362708449364, -1.1921182870864868, 0.04717155173420906, 0.3931327164173126, -0.23275348544120789, 0.23917624354362488, -0.9845668077468872, 0.8167043924331665, -0.42776209115982056, -0.6216106414794922, -0.21817950904369354, -0.5415511727333069, 0.6649985313415527, -0.11514659970998764, 0.5288734436035156, -0.059894587844610214, 0.029296405613422394, 0.46553024649620056, -0.29866981506347656, 0.6409183144569397, -0.23136506974697113, -0.41383013129234314, 0.4025982916355133, 0.18216504156589508, 0.6737346053123474, 0.13341957330703735, -0.339469850063324, 0.12191437929868698, -0.07435661554336548, -0.3631187975406647, -0.9886723160743713, 0.5259434580802917, -0.3978870213031769, -0.817208468914032, -0.12519752979278564, -0.4565063416957855, -0.21175867319107056, -0.12401700764894485, 0.1559455543756485, 0.5911370515823364, -0.08033209294080734, 0.24162541329860687, 0.652019739151001, -0.5961858630180359, 0.314754456281662, 0.7817222476005554, -0.4669209420681, -0.08431444317102432, 0.8225258588790894, -0.31782013177871704, 0.4614710211753845, 0.6951429843902588, 0.775202214717865, -0.5839855074882507, -0.6768378019332886, -0.41118934750556946, 0.33485859632492065, -0.7568766474723816, 0.09824267774820328, -0.4863857626914978, -0.010341227054595947, -0.1022912934422493, -0.39671599864959717, -0.1910516321659088, -0.13671229779720306, 0.08820222318172455, -0.4265981614589691, 0.09932570904493332, 0.6916976571083069, -0.20973286032676697, 0.41443878412246704, -0.5508513450622559, 0.4122101366519928, 0.13415439426898956, 0.2698444128036499, 0.2281780242919922, -0.5609996914863586, -0.09504342079162598, 0.28529807925224304, -0.0946052223443985, -0.9504346251487732, 0.30890679359436035, 0.23032386600971222, 0.6368327736854553, 0.7906224727630615, 0.006229465827345848, 0.8335809707641602, -0.40925562381744385, 0.8617373704910278, 0.2884823977947235, -1.0877342224121094, 0.5801202654838562, -0.32023224234580994, 0.10283093899488449, 0.20410069823265076, 0.21494992077350616, -0.5833461880683899, -0.8491608500480652, -0.6375781297683716, -0.9796032905578613, 0.4710555970668793, 0.15516023337841034, -0.1629660278558731, -0.21906082332134247, 0.4693019688129425, 0.5297791361808777, -0.030627315863966942, -0.9153941869735718, 0.07066549360752106, 0.3836202621459961, -0.4454091191291809, -0.012914502061903477, -0.22610975801944733, 0.03729639947414398, -0.028700824826955795, 0.8009831309318542, -0.215690478682518, 0.419066458940506, 0.16031046211719513, -0.2903500497341156, -0.1092061772942543, 0.3649168908596039, 0.6147898435592651, 1.2292410135269165, 0.1831490695476532, 0.4019602835178375, 0.23562170565128326, 0.033118270337581635, -0.06276477128267288, -0.043664731085300446, -0.017757127061486244, -0.19028174877166748, 0.8664350509643555, 0.954788327217102, 0.06936647742986679, -0.9112610220909119, 0.5050109624862671, -0.02065637707710266, 0.0638769343495369, -0.21623030304908752, 0.2006286233663559, 0.14827458560466766, 0.30152082443237305, 0.5294721722602844, -0.2552933990955353, 0.26592332124710083, -0.552739679813385, 0.06973466277122498, 0.5483423471450806, 0.11687225103378296, -0.4930657148361206, 0.9135757088661194, -0.06350991874933243, -0.19401812553405762, 0.035694848746061325, 0.004155687987804413, -0.5061448812484741, 0.7960047721862793, 0.5009449124336243, 0.7836688160896301, -0.3834369480609894, 0.2460399717092514, 0.2740834355354309, 0.10247860103845596, -0.23951110243797302, 0.1103692501783371, 0.07780782133340836, -0.6595900058746338, -0.8286132216453552, -0.8270208239555359, -0.4137151837348938, 0.07621578872203827, -0.7811605334281921, -0.0014996030367910862, -0.012002716772258282, 0.4491194188594818, 0.2007198929786682, -0.4319121539592743, -0.562542736530304, 0.2414308786392212, 0.13372544944286346, 0.9585958123207092, -1.052029013633728, 0.475324809551239, 0.3806694746017456, -0.18314389884471893, -1.062751293182373, 0.041716720908880234, 0.025890961289405823, -1.0191928148269653, 0.7407336235046387, 0.0010564950061962008, -0.14664362370967865, -0.13178640604019165, -0.8038214445114136, -0.7889248132705688, 0.7706499695777893, 0.7688397765159607, -0.7717638611793518, 0.2335767149925232, -0.1355748474597931, 0.6797966361045837, -0.21678391098976135, 0.6812851428985596, 0.6881544589996338, 0.7186734676361084, 0.10559741407632828, -0.7981751561164856, 0.022426990792155266, 0.13231076300144196, 0.08604460209608078, 0.26697859168052673, -0.4182032346725464, 0.20508016645908356, -0.3157517910003662, -0.09974505752325058, 0.09046101570129395, 0.6883172392845154, 0.07535384595394135, 0.581892192363739, 0.36275002360343933, 0.2878291606903076, 1.0524637699127197, -0.15126816928386688, 1.5345638990402222, -0.39552706480026245, 0.42639362812042236, 1.0293693542480469, -0.21092760562896729, 0.7166057229042053, 0.49792495369911194, -0.20302142202854156, 0.669057309627533, 0.8617693185806274, 0.4046155512332916, 0.4228307604789734, 0.13511373102664948, -0.45268139243125916, -0.3714563548564911, -0.048884667456150055, 0.19179020822048187, 0.3654167056083679, 0.3062851130962372, -0.5070276260375977, -0.3111414909362793, 0.19460216164588928, -0.004203531891107559, 0.04784118011593819, -0.32342833280563354, 0.7223455309867859, 0.18766948580741882, -0.9820073843002319, 0.5245705246925354, -0.16418001055717468, -0.026750676333904266, -0.5720694065093994, -0.01990833692252636, -0.3393036127090454, 0.23425708711147308, -0.07407576590776443, -0.9527896046638489, 0.1003563180565834, 0.2496333122253418, -0.022207111120224, -0.30195459723472595, 0.6070859432220459, -0.41795629262924194, -0.35882169008255005, 0.3343535363674164, 0.48151856660842896, 0.4307113587856293, 0.09841445088386536, -0.3836042881011963, -0.16995465755462646, 0.05713718757033348, -0.600408136844635, 0.16863255202770233, 0.687268078327179, -0.1836566925048828, 0.9022862911224365, 0.51920086145401, 0.10919516533613205, 0.03672461211681366, -0.03381606563925743, 0.5150653719902039, -0.5495505332946777, -0.41848787665367126, -1.262215495109558, 0.5701972842216492, 0.05293601378798485, 0.05468400940299034, 0.4872819483280182, 0.5028496384620667, 0.41946741938591003, 0.09133627265691757, 0.8379616141319275, -0.09625981748104095, 0.3464711308479309, -0.7743760943412781, 0.19773831963539124, -0.5509305000305176, 0.5121139883995056, -0.05748722702264786, -0.9837556481361389, -0.17290174961090088, 0.7520198822021484, -0.5745177865028381, -0.061749111860990524, 0.9793335199356079, 0.7501720786094666, -0.22260107100009918, 0.314050555229187, 0.34394311904907227, 0.71959388256073, 0.530989944934845, 0.552322268486023, 0.9135208129882812, 0.10492803156375885, 0.30496835708618164, 0.08970189094543457, -0.4230232238769531, -0.21286089718341827, -1.122087001800537, -0.6716544032096863, -0.180327370762825, -0.3170492649078369, -0.16407647728919983, -0.026598477736115456, 0.9481319189071655, 0.35507839918136597, -0.8150744438171387, -0.05549737811088562, -0.3073449432849884, 0.44356951117515564, -0.4100998044013977, -0.2870393395423889, 0.40381762385368347, -0.22639420628547668, -0.7659540176391602, 0.47479718923568726, 0.41821032762527466, -0.36762964725494385, -0.1428442895412445, -0.1816202700138092, -0.006371550261974335, 0.5107796788215637, 0.6956053972244263, 0.1693381369113922, -1.1350198984146118, -0.6913431882858276, -0.2951832413673401, 0.17746947705745697, 0.0374939851462841, 0.629470705986023, -0.5428283214569092, 0.5256950259208679, 0.38090211153030396, 0.7325326800346375, 0.209054633975029, 0.11137755960226059, 0.8311784267425537, -0.3267907500267029, -0.2852061688899994, 0.15123742818832397, 0.5650616884231567, 0.0937206968665123, -0.22530433535575867, 0.5999771356582642, -0.015971340239048004, -0.5732291340827942, -0.9607470035552979, 0.3389758765697479, -0.8327280879020691, -0.3813994824886322, 1.377651333808899, -0.2652447521686554, -0.4531078636646271, -0.012293798848986626, -0.3155313730239868, 0.012591424398124218, -0.35576891899108887, 0.8328497409820557, 0.979314386844635, -0.390683114528656, -0.26250603795051575, -0.7450898289680481, -0.03204689919948578, 0.4019749164581299, -0.9288948774337769, 0.28423967957496643, 0.6225350499153137, 0.2250276803970337, -0.008889404125511646, 0.2235603928565979, 0.19627144932746887, 0.2826121747493744, -0.20089544355869293, -0.144583597779274, 0.2067924588918686, -0.21102501451969147, -0.32593420147895813, 0.08562996983528137, 0.3245953619480133, 0.2091890424489975 ]
http://arxiv.org/abs/2402.10753v1
http://arxiv.org/pdf/2402.10753v1
ToolSword: Unveiling Safety Issues of Large Language Models in Tool Learning Across Three Stages
2024-02-16T15:19:46
2024-02-16T15:19:46
Junjie Ye, Sixian Li, Guanyu Li, Caishuang Huang, Songyang Gao, Yilong Wu, Qi Zhang, Tao Gui, Xuanjing Huang
cs.CL
cs.CL, cs.AI
Tool learning is widely acknowledged as a foundational approach or deploying large language models (LLMs) in real-world scenarios. While current research primarily emphasizes leveraging tools to augment LLMs, it frequently neglects emerging safety considerations tied to their application. To fill this gap, we present $ToolSword$, a comprehensive framework dedicated to meticulously investigating safety issues linked to LLMs in tool learning. Specifically, ToolSword delineates six safety scenarios for LLMs in tool learning, encompassing $malicious$ $queries$ and $jailbreak$ $attacks$ in the input stage, $noisy$ $misdirection$ and $risky$ $cues$ in the execution stage, and $harmful$ $feedback$ and $error$ $conflicts$ in the output stage. Experiments conducted on 11 open-source and closed-source LLMs reveal enduring safety challenges in tool learning, such as handling harmful queries, employing risky tools, and delivering detrimental feedback, which even GPT-4 is susceptible to. Moreover, we conduct further studies with the aim of fostering research on tool learning safety. The data is released in https://github.com/Junjie-Ye/ToolSword.
[ 0.01294343825429678, -0.7763491272926331, 0.5596182346343994, 0.0032125136349350214, -0.38260704278945923, 0.25794288516044617, -0.03586389124393463, -0.4352879524230957, -0.6318158507347107, 0.624957799911499, -0.40712881088256836, -0.7983875870704651, -0.6162368059158325, -0.03390507772564888, -0.7417708039283752, 1.0462017059326172, -0.15875867009162903, 0.11287453770637512, 0.0020846568513661623, 0.13173942267894745, -0.5661731958389282, -0.6330167651176453, -0.7180712223052979, -0.0079042324796319, 0.6769373416900635, 0.3395065367221832, 0.4484512209892273, 0.6353421211242676, 0.48013830184936523, 0.3157441318035126, -0.05720759183168411, -0.27287209033966064, -0.4944535791873932, 0.4146462082862854, -0.1557455062866211, -0.6395604610443115, -0.33878931403160095, 0.2732061445713043, 0.3320848047733307, 0.6249713897705078, -0.22817116975784302, -0.16291168332099915, 0.30485039949417114, 0.06729183346033096, -0.6061970591545105, -0.016614865511655807, -0.8848170042037964, 0.04023796692490578, -0.3598194718360901, -0.10681819915771484, -0.510793924331665, -0.4841422438621521, 0.02669329009950161, -0.42138177156448364, 0.12358531355857849, -0.0130968252196908, 0.5086950063705444, 0.17723047733306885, -0.4796582758426666, -0.36665812134742737, -0.2731753885746002, 0.7311860918998718, -0.7916334867477417, 0.3398362994194031, 0.45626476407051086, 0.4805185794830322, -0.49926453828811646, -0.8159113526344299, -0.43036219477653503, -0.07478733360767365, 0.2541762590408325, -0.16878825426101685, 0.32760849595069885, 0.18746711313724518, 0.587469756603241, 0.06542158126831055, -0.3392386734485626, 0.47074559330940247, -0.6978012323379517, -0.36556559801101685, 0.7157880663871765, 0.24999994039535522, 0.2704816162586212, 0.04278244450688362, -0.28372544050216675, -0.37909191846847534, -1.0026274919509888, -0.2992064654827118, 0.6417717933654785, 0.32174187898635864, -0.4372562766075134, 0.24686817824840546, 0.2869565188884735, 0.5545052289962769, -0.39711397886276245, -0.5107879638671875, 0.4381234645843506, -0.24126707017421722, -0.17433130741119385, 0.0802503302693367, 0.8656856417655945, 0.4577574133872986, 0.05498168244957924, -0.39885199069976807, -0.30426955223083496, -0.25918689370155334, 0.5067135095596313, -0.8322343826293945, -0.2590571641921997, 0.24452921748161316, -0.054903797805309296, -0.8367200493812561, -0.17567144334316254, -0.4791669547557831, -0.9160961508750916, 0.13835062086582184, 0.5102482438087463, -0.29993030428886414, -0.38426461815834045, 0.013340713456273079, -0.005744731053709984, 0.4898468852043152, 0.16208405792713165, -0.4170226454734802, 0.05710314214229584, 0.7698888182640076, 0.8436653017997742, -0.27066054940223694, -0.45477765798568726, -0.7417920827865601, 0.17648106813430786, -0.4100625813007355, 0.3002914488315582, -0.2619660496711731, -0.9079499244689941, 0.18712203204631805, 0.34735947847366333, 0.1775614619255066, -0.37976232171058655, 0.42724525928497314, -0.38820576667785645, 0.2123054713010788, -0.18412895500659943, -0.3293001353740692, -0.3733687698841095, 0.22453150153160095, -0.6618664264678955, 0.8961685299873352, -0.2056000977754593, -0.8512788414955139, 0.6800651550292969, -0.4893347918987274, -0.6437227725982666, -0.0982893705368042, -0.30498531460762024, -0.5451875925064087, -0.00034947533276863396, -0.28413552045822144, 0.6329326629638672, -0.11081767082214355, 0.3165675103664398, -0.6087131500244141, -0.17012187838554382, 0.15459217131137848, -0.33366405963897705, 0.8091745972633362, 0.07926028966903687, -0.4069388508796692, 0.394348680973053, -0.44872504472732544, -0.3207472264766693, 0.2864919900894165, -0.3362085819244385, -0.1968158781528473, 0.12661075592041016, 0.07695060968399048, 0.4617665708065033, 0.03799173980951309, -0.7901756167411804, -0.08605394512414932, -0.5678562521934509, 0.43633607029914856, 0.8605157136917114, -0.02642620913684368, 0.22542868554592133, 0.14567391574382782, 0.5824627876281738, 0.21275171637535095, 0.32324326038360596, -0.14731115102767944, -0.08405930548906326, -0.3089897036552429, 0.4269079267978668, 0.28607887029647827, 0.5333833694458008, -0.8068614602088928, 0.027610568329691887, 0.1535094678401947, -0.5006740093231201, -0.13736982643604279, 0.3531498908996582, 0.6016857028007507, 0.3279864192008972, 0.059792615473270416, -0.35414281487464905, -0.3885193169116974, -0.6733439564704895, -0.37895864248275757, -0.14017008244991302, 0.020501693710684776, 0.021240882575511932, 0.3865777552127838, -0.04578312858939171, 0.582859456539154, -0.4280799925327301, -0.13719956576824188, -0.3691765069961548, 0.03477567434310913, -0.14408418536186218, 0.5515686869621277, 0.5473827719688416, -0.7240442633628845, -0.21685068309307098, -0.09091579169034958, -0.6603870391845703, 0.23675163090229034, 0.011821780353784561, 0.08207902312278748, 0.2993825674057007, 1.1367263793945312, -0.2436162829399109, 0.3030802309513092, 0.447319895029068, -0.0892181470990181, 0.5589876174926758, 0.05243346467614174, -0.5551416873931885, -1.3857853412628174, -0.013899419456720352, 0.0010409170063212514, -0.21934720873832703, -0.45638811588287354, 0.22536136209964752, 0.18547846376895905, -0.06167475879192352, -0.9151352643966675, 0.39349430799484253, -0.3586715757846832, 0.07846920937299728, -0.3376799523830414, 0.3306112289428711, -0.33480170369148254, 0.0332479290664196, -0.2605822682380676, 1.054924726486206, 0.6309900879859924, -0.2792142629623413, 0.22846615314483643, -0.1806689202785492, -0.23390263319015503, 0.161862313747406, -0.851135790348053, 0.26143574714660645, 0.25361743569374084, -0.07852249592542648, -0.599682092666626, -0.4382774531841278, 0.20188504457473755, -0.308440238237381, 0.3627738058567047, -0.1539854109287262, -1.0627864599227905, -0.22518841922283173, -0.3902469873428345, -0.01952178217470646, 0.38362133502960205, -0.2529265880584717, 0.41419804096221924, 0.7594509720802307, -0.30738863348960876, -0.7162028551101685, -0.19576716423034668, 0.10258623957633972, -0.481751948595047, -0.15072792768478394, -0.3358789086341858, -0.013304912485182285, -0.2191094011068344, -0.294466108083725, -0.375409334897995, 0.06627204269170761, 0.8174341917037964, 0.45262497663497925, 0.22725410759449005, 0.3719395697116852, 0.31611335277557373, 0.13896958529949188, -0.04279780387878418, 0.6571705341339111, 0.12325779348611832, 0.4519844055175781, -0.13875465095043182, -0.4258042871952057, 0.35473063588142395, 0.09582730382680893, 0.49087294936180115, -0.1859503984451294, 0.5349109172821045, 0.9090684652328491, -0.37400999665260315, -0.31676045060157776, -0.4824042022228241, -0.3424239456653595, -0.5567558407783508, 0.5780970454216003, -0.22408874332904816, -1.0201815366744995, 0.33171534538269043, -0.3950081169605255, 0.6932116746902466, 0.08329498767852783, 0.46477895975112915, -0.113558828830719, 1.1861063241958618, 0.9681744575500488, -0.07554955035448074, 0.3199397325515747, -0.055644433945417404, 0.2907237410545349, -0.5810930132865906, -0.42065951228141785, -0.43268483877182007, -0.0968938022851944, -0.5316880345344543, -0.39914414286613464, 0.6085488200187683, 0.1742829531431198, -0.03592636436223984, 0.33019185066223145, -0.13832242786884308, 0.5869203209877014, 0.4353674352169037, -0.12672367691993713, 0.09689580649137497, -0.15935105085372925, -0.7046464681625366, 0.20185069739818573, -0.5284443497657776, -0.5338007211685181, 1.2662144899368286, 0.46399441361427307, 0.9172574281692505, 0.10213711112737656, 0.9283987879753113, -0.006387532688677311, 0.24398429691791534, -0.8056183457374573, 0.7689074873924255, 0.20955021679401398, -0.7106556296348572, -0.2487284243106842, -0.1306699514389038, -0.9895126223564148, 0.16995064914226532, -0.2055215835571289, -0.6955243349075317, -0.2885523736476898, 0.10020075738430023, -0.17537172138690948, 0.41751205921173096, -0.7276886105537415, 0.9799067974090576, -0.6212475895881653, -0.6755074858665466, -0.2892819046974182, -1.1034117937088013, 0.43424174189567566, -0.40009862184524536, 0.40583357214927673, -0.17765390872955322, 0.0068041300401091576, 0.8418239951133728, -0.15400880575180054, 1.1565040349960327, -0.1404009908437729, -0.35890501737594604, -0.01695641130208969, 0.36983516812324524, 0.4812297821044922, -0.04894573614001274, 0.10038276761770248, 0.024414444342255592, 0.28296393156051636, -0.11794949322938919, -0.10668647289276123, 0.689524233341217, -0.5152112245559692, -0.7393200993537903, -0.5382266640663147, -0.6956894993782043, -0.3352964222431183, 0.6041308045387268, 0.015184557065367699, 0.4404783546924591, -0.008580273948609829, 0.20240230858325958, 0.7546300292015076, -0.519768238067627, 0.5521487593650818, 0.4075641930103302, -0.43650108575820923, 0.015243262983858585, 0.9790527820587158, -0.03252897784113884, 0.341647744178772, -0.36913439631462097, -0.03373795747756958, -0.17400625348091125, -1.093262791633606, -0.2690977454185486, 0.2802390456199646, -0.784152090549469, -0.24014076590538025, -0.5693390369415283, -0.13605549931526184, -0.07304190844297409, -0.07952030748128891, -0.15266355872154236, -0.006956210359930992, -0.12256211042404175, -0.5216345191001892, 0.3609923720359802, 0.9140707850456238, -0.02697209268808365, 0.34942638874053955, -0.8659110069274902, -0.126959890127182, 0.026342028751969337, 0.5842556953430176, -0.19057528674602509, 0.03535737097263336, -0.4948696196079254, -0.35361114144325256, -0.6457101702690125, -0.8453801274299622, 0.18236054480075836, -0.12458570301532745, 0.6752700805664062, 0.39282238483428955, 0.2168106883764267, 0.24140837788581848, -0.544710099697113, 0.7247865200042725, 0.30811789631843567, -0.6618595719337463, 0.6994318962097168, -0.4363410174846649, 0.10788078606128693, 0.6173458099365234, 0.5665030479431152, -0.4855410158634186, -0.5944478511810303, -0.6354232430458069, -1.1769474744796753, 0.6112725138664246, -0.2182697057723999, 0.13489191234111786, -0.18187199532985687, 0.09223847091197968, 0.4105328321456909, 0.3477461040019989, -0.7043124437332153, 0.026250483468174934, 0.08453691005706787, -0.02045297436416149, 0.060947902500629425, -0.09150411188602448, -0.5099112391471863, 0.05818070471286774, 0.5530286431312561, -0.17872831225395203, -0.25245457887649536, -0.4573041796684265, -0.46473756432533264, -0.08574720472097397, 0.3328946530818939, 0.36095327138900757, 0.7183043360710144, -0.14909881353378296, 0.3000752627849579, 0.36313730478286743, -0.6806281208992004, -0.0003494719276204705, 0.06741157174110413, 0.03460587561130524, -0.23967812955379486, 0.3659183382987976, 0.6514562368392944, 0.3352108299732208, -0.9151403307914734, 0.6249713897705078, -0.012386932037770748, -0.2043515145778656, -0.43491131067276, 0.3619249761104584, 0.27589690685272217, 0.0482000894844532, 0.16686351597309113, -0.2709024250507355, 0.2441776692867279, -0.5138010382652283, 0.17041385173797607, 0.5041956305503845, -0.6161891222000122, -0.42310482263565063, 0.6386001706123352, 0.48616254329681396, -0.18510128557682037, 0.2877415716648102, -0.24050545692443848, -0.4894281327724457, 0.3081846237182617, 0.3141685426235199, 0.9752055406570435, -0.13510310649871826, -0.027926666662096977, 0.224295973777771, 0.6637818813323975, -0.08878378570079803, 0.34095194935798645, 0.10683275759220123, -0.4105074405670166, -0.4930444657802582, -0.619693398475647, -0.44977304339408875, 0.2690306007862091, -0.4809624254703522, 0.2406550645828247, -0.664859414100647, -0.2025863379240036, -0.2719162106513977, -0.20752006769180298, -0.47475042939186096, -0.015464240685105324, -0.003424047026783228, 1.0134422779083252, -0.920344352722168, 0.8981504440307617, 0.7967236042022705, -0.3423202335834503, -1.033255696296692, 0.05027417093515396, 0.6188609004020691, -0.6773535013198853, 0.6042609214782715, 0.33358263969421387, -0.39021098613739014, 0.035381242632865906, -0.7732264399528503, -0.497158944606781, 1.129945158958435, 0.2285938858985901, -0.6156294941902161, -0.24769209325313568, -0.06055544689297676, 0.14291591942310333, 0.10108261555433273, -0.12244000285863876, 0.7199587821960449, 0.1473497748374939, -0.11463887989521027, -1.217760443687439, 0.08831795305013657, -0.06866041570901871, -0.20284917950630188, 0.3526991009712219, -0.062222082167863846, 0.4819857180118561, -0.37906959652900696, -0.3941342830657959, -0.14985649287700653, 0.11966589838266373, 0.2637469172477722, 0.25403523445129395, 0.5897573232650757, 0.5550565719604492, 0.33582818508148193, -0.2258896678686142, 1.0259000062942505, -0.23083774745464325, 0.09279108792543411, 1.0865768194198608, -0.3432071805000305, 0.8289150595664978, 0.5677393078804016, -0.16713736951351166, 0.15501254796981812, 0.7764158844947815, 0.21551628410816193, 0.32226577401161194, 0.2670125365257263, -0.1446656733751297, -0.33526545763015747, 0.11171385645866394, -0.4248434007167816, 0.4802080988883972, 0.5613162517547607, -0.4184897541999817, -0.4353162348270416, 0.2423284649848938, 0.44656237959861755, -0.21717537939548492, -0.07112936675548553, 1.0026648044586182, 0.32583948969841003, -0.19766248762607574, 0.3406349718570709, -0.05759362876415253, 0.6078490018844604, -0.5178205966949463, -0.23254692554473877, 0.12217112630605698, 0.2056727111339569, -0.036103732883930206, -1.0528762340545654, 0.19421590864658356, -0.08367413282394409, 0.4692842364311218, 0.07177379727363586, 0.7192966341972351, -0.10930624604225159, -0.35388487577438354, 0.39303818345069885, 0.46575987339019775, 0.20893271267414093, 0.2288505882024765, -0.6995877027511597, 0.38066214323043823, -0.27563995122909546, -0.009983757510781288, 0.5842829346656799, 0.38953256607055664, -0.18132175505161285, 0.8045811057090759, 0.515312135219574, 0.14238737523555756, 0.23749367892742157, 0.020633460953831673, 1.0334168672561646, -0.4391482174396515, -0.3657621741294861, -0.6632494330406189, 0.5467559695243835, -0.2924301326274872, -0.1514796018600464, 1.0290659666061401, 0.386745423078537, 1.10292387008667, 0.08288080245256424, 0.9058957099914551, -0.06254483759403229, 0.5821989178657532, -0.5273413062095642, 0.9462926387786865, -0.5034000873565674, 0.4482395648956299, -0.4709484875202179, -0.7167413234710693, -0.408042311668396, 0.3567502200603485, -0.5955159068107605, 0.08349522203207016, 0.7319172024726868, 0.6758983731269836, -0.04643184691667557, -0.15070609748363495, 0.29761072993278503, 0.3223220109939575, 0.3997260630130768, 0.19828449189662933, 0.6538497805595398, -0.24701358377933502, 0.7669433951377869, -0.2598620057106018, 0.05734393745660782, -0.2838163673877716, -0.8995388150215149, -1.0244745016098022, -0.5708315372467041, -0.13597343862056732, -0.4663677215576172, 0.23880742490291595, 0.8546916842460632, 0.48577767610549927, -0.5775302648544312, -0.4120147228240967, -0.04913824051618576, 0.1910395324230194, 0.12597151100635529, -0.12889747321605682, 0.16996902227401733, -0.43185245990753174, -0.4650169312953949, 0.4500282406806946, 0.1700017750263214, -0.048927195370197296, -0.38881027698516846, -0.014428695663809776, 0.011423102580010891, -0.37477973103523254, 0.626357913017273, 0.2449156939983368, -0.7323945164680481, -0.46943333745002747, -0.12897086143493652, 0.06926223635673523, -0.37452200055122375, 0.7947728633880615, -0.6452603936195374, 0.5498514175415039, 0.18334034085273743, 0.6897262930870056, 0.2607889473438263, -0.42695000767707825, 0.7360709309577942, -0.9500995874404907, 0.12478593736886978, 0.23358039557933807, 0.3243601620197296, 0.46321219205856323, -0.13781990110874176, 0.6077466607093811, 0.06517480313777924, -0.46964260935783386, -1.2103614807128906, 0.551943302154541, -0.7695611119270325, -0.3023994565010071, 1.0898079872131348, -0.1011924296617508, 0.15040139853954315, -0.5487222075462341, -0.17833103239536285, 0.30806922912597656, -0.1447732150554657, 0.7153369188308716, 0.5232561230659485, 0.2327592521905899, -0.29525765776634216, -1.0539354085922241, 0.6646502614021301, 0.08752273768186569, -0.7248818874359131, 0.197274312376976, 0.599833607673645, 0.7055172920227051, 0.010834689252078533, 0.009736618027091026, -0.4573417603969574, 0.411207914352417, -0.10595295578241348, 0.08536341786384583, -0.25927403569221497, -0.3880566954612732, -0.20543889701366425, 0.20415423810482025, 0.6353674530982971, -0.05033743008971214 ]
http://arxiv.org/abs/2402.10744v1
http://arxiv.org/pdf/2402.10744v1
GenRES: Rethinking Evaluation for Generative Relation Extraction in the Era of Large Language Models
2024-02-16T15:01:24
2024-02-16T15:01:24
Pengcheng Jiang, Jiacheng Lin, Zifeng Wang, Jimeng Sun, Jiawei Han
cs.CL
cs.CL, cs.AI
The field of relation extraction (RE) is experiencing a notable shift towards generative relation extraction (GRE), leveraging the capabilities of large language models (LLMs). However, we discovered that traditional relation extraction (RE) metrics like precision and recall fall short in evaluating GRE methods. This shortfall arises because these metrics rely on exact matching with human-annotated reference relations, while GRE methods often produce diverse and semantically accurate relations that differ from the references. To fill this gap, we introduce GenRES for a multi-dimensional assessment in terms of the topic similarity, uniqueness, granularity, factualness, and completeness of the GRE results. With GenRES, we empirically identified that (1) precision/recall fails to justify the performance of GRE methods; (2) human-annotated referential relations can be incomplete; (3) prompting LLMs with a fixed set of relations or entities can cause hallucinations. Next, we conducted a human evaluation of GRE methods that shows GenRES is consistent with human preferences for RE quality. Last, we made a comprehensive evaluation of fourteen leading LLMs using GenRES across document, bag, and sentence level RE datasets, respectively, to set the benchmark for future research in GRE
[ -0.5558703541755676, -0.5118023753166199, 0.6122729778289795, 0.14457324147224426, -0.19848155975341797, 0.22967743873596191, -0.523198664188385, -0.5370507836341858, 0.4155847728252411, 0.5464561581611633, -0.48237094283103943, -0.7607433795928955, -0.7741189002990723, 0.24087508022785187, -0.4022253751754761, 1.2642123699188232, 0.05508098378777504, -0.47920721769332886, -0.6622654795646667, -0.17708829045295715, -0.41102832555770874, -0.3865084648132324, -0.43036940693855286, -0.26285287737846375, 0.6495859026908875, -0.10845418274402618, 0.5971364974975586, 0.46125999093055725, 0.8587618470191956, 0.24928387999534607, -0.03883333504199982, -0.02976442687213421, -0.6177246570587158, 0.33005234599113464, -0.12312574684619904, -0.27545034885406494, -0.3492657244205475, 0.1427375078201294, 0.46768102049827576, 0.7871414422988892, -0.1521255075931549, 0.4169601500034332, -0.21446339786052704, 0.5814075469970703, -0.8429384827613831, 0.13417375087738037, -0.7157442569732666, 0.1108829528093338, -0.29206401109695435, -0.325080931186676, -0.4945133924484253, -0.26199546456336975, 0.22558091580867767, -0.526755154132843, 0.557779848575592, 0.0653030201792717, 1.1860278844833374, 0.10476375371217728, -0.30646276473999023, -0.31648027896881104, -1.0769506692886353, 0.4916357696056366, -0.38047564029693604, 0.6795415878295898, 0.4909141957759857, 0.27385032176971436, -0.07535380870103836, -0.9519727230072021, -0.29868558049201965, -0.45167601108551025, -0.00028046671650372446, 0.19078530371189117, -0.17729194462299347, -0.03965708985924721, 0.555173397064209, 0.7942299246788025, -0.42247432470321655, -0.02792702242732048, -0.2969481647014618, -0.13866733014583588, 0.7630895972251892, 0.2127816081047058, 0.385574072599411, -0.3904407322406769, -0.3878127336502075, 0.10947690159082413, -0.7482498288154602, 0.013106144033372402, 0.33538544178009033, -0.06914706528186798, 0.27755501866340637, 0.3959103226661682, -0.08645947277545929, 0.7397435307502747, -0.09667365998029709, -0.441670686006546, 0.16115447878837585, -0.3710070848464966, -0.11601927876472473, -0.48595401644706726, 1.252835988998413, 0.4365318715572357, 0.2986789345741272, -0.7318297028541565, -0.16635854542255402, 0.0849667340517044, 0.5578994154930115, -0.4503290057182312, -0.39315205812454224, 0.07053817063570023, -0.4173729717731476, -0.17620588839054108, 0.15132847428321838, -1.0480685234069824, -0.44707190990448, -0.41032397747039795, 0.19454750418663025, -0.39140546321868896, -0.1997821033000946, 0.03137090057134628, -0.28173133730888367, 0.014461793005466461, 0.12377357482910156, -1.084598183631897, 0.42768874764442444, 0.8607133030891418, 0.8331320881843567, -0.21173547208309174, -0.19769364595413208, -0.3585633933544159, 0.06859815865755081, -0.27741172909736633, 0.9265007972717285, -0.7071244120597839, -0.6789347529411316, -0.18072442710399628, -0.07881015539169312, -0.05574893578886986, -0.682413637638092, 0.7944110035896301, -0.5314061641693115, 0.17720013856887817, -0.38908475637435913, -0.42246413230895996, -0.14285488426685333, 0.10869179666042328, -0.9016957879066467, 0.9679595232009888, 0.20884115993976593, -0.5897293090820312, 0.683775782585144, -0.22589130699634552, -0.252302348613739, 0.1437281370162964, -0.44231563806533813, -0.29507800936698914, 0.16672615706920624, 0.11818484216928482, 0.47903603315353394, -0.6747558116912842, 0.5377432703971863, -0.38010862469673157, -0.38398560881614685, 0.19085896015167236, -0.19489207863807678, 0.4709915816783905, 0.231215700507164, 0.008111199364066124, 0.17700764536857605, -0.7983519434928894, -0.22988614439964294, 0.0006106063374318182, 0.013916904106736183, -0.5487893223762512, 0.22385141253471375, 0.14638051390647888, 0.19290971755981445, -0.1892690509557724, -0.5481171011924744, 0.14341817796230316, -0.34389635920524597, 0.446095734834671, 0.32523661851882935, 0.2493305802345276, 0.38644084334373474, -0.3582589328289032, 0.8498632907867432, -0.37816524505615234, -0.2989136874675751, -0.056159619241952896, -0.13397587835788727, -0.23348379135131836, -0.3791559934616089, 0.6080684661865234, 0.3913756310939789, -0.44727420806884766, 0.6811297535896301, -0.6587924957275391, -0.6522029638290405, -0.5917216539382935, 0.0650445893406868, 0.10230784118175507, 0.18033713102340698, 0.13408803939819336, -0.6480444073677063, -0.46312111616134644, -0.860232949256897, -0.31490471959114075, -0.14542093873023987, -0.232982337474823, 0.22494018077850342, 0.3754366338253021, -0.08890514075756073, 1.3104453086853027, -0.8127502202987671, -0.28916409611701965, -0.211624875664711, 0.21465721726417542, -0.09688296914100647, 0.08772867172956467, 0.5845771431922913, -0.684855580329895, -0.23730866611003876, 0.0014015398919582367, -0.9288161396980286, -0.06889568269252777, -0.13650697469711304, 0.1548520177602768, -0.0640287771821022, 0.3885479271411896, -0.6648842692375183, 0.19678354263305664, 0.25725311040878296, -0.03383839875459671, 0.7642306089401245, 0.23366907238960266, 0.2421286404132843, -1.011269211769104, 0.16545416414737701, 0.25927138328552246, 0.008636749349534512, -0.33440878987312317, 0.2149401605129242, -0.1852097362279892, -0.18477469682693481, 0.2399480640888214, 0.4215158522129059, -0.5966036319732666, -0.31487902998924255, -0.05024382099509239, 0.5240004062652588, 0.24979647994041443, 0.15540574491024017, 0.034479327499866486, 0.6689844131469727, 0.3414667546749115, -0.1842922568321228, 0.48091185092926025, 0.13069479167461395, -0.6271131634712219, 0.47056618332862854, -0.4142661690711975, 0.2890501022338867, -0.3856748044490814, 0.3863205313682556, -0.9236981272697449, -0.20294620096683502, 0.211432546377182, -0.3833611011505127, 0.3858470022678375, -0.20708143711090088, -0.42093566060066223, -0.11510124802589417, -0.3637402355670929, 0.3226708769798279, 0.48478439450263977, -0.14479701220989227, 0.5763540863990784, 0.3808630108833313, -0.3996395170688629, -0.7337415218353271, -0.1969028264284134, 0.26321396231651306, -0.6655001640319824, -0.5327038764953613, 0.41972091794013977, 0.18992845714092255, -0.6217888593673706, 0.2860724627971649, -0.23166371881961823, -0.1705024391412735, 0.14048542082309723, 0.16875387728214264, 0.1099230945110321, -0.16346175968647003, 0.32515817880630493, -0.13182270526885986, -0.0018520535668358207, 0.2502182424068451, 0.14456748962402344, 0.4943099617958069, 0.025117773562669754, -0.036323972046375275, -0.11675388365983963, 0.24057084321975708, 0.6385381817817688, -0.5480381846427917, 0.3333899974822998, 0.7054883241653442, -0.4460107088088989, -0.04808768630027771, -0.6512624621391296, -0.1149006262421608, -0.3329087197780609, 0.6500838994979858, -0.7331485748291016, -0.8665507435798645, 0.6997920274734497, 0.009558710269629955, 0.04112526401877403, 0.6875444650650024, 0.2805461585521698, 0.012980354949831963, 0.12900781631469727, 0.5046579241752625, -0.10036811232566833, 0.2814302444458008, -0.25009608268737793, 0.4679657816886902, -1.147923469543457, -0.35955724120140076, -0.6133692860603333, -0.05455246940255165, -0.586452841758728, -0.11283113062381744, 0.15801356732845306, 0.28419479727745056, 0.19397076964378357, 0.4315468966960907, -0.15407465398311615, 0.5306466221809387, -0.06235337629914284, -0.3125298321247101, 0.5405325889587402, 0.18750326335430145, 0.37513431906700134, -0.4269179403781891, -0.4229505956172943, -0.738676905632019, 1.1787201166152954, 0.3877689838409424, 0.6932860016822815, 0.0795564129948616, 0.8068566918373108, 0.170289546251297, 0.6232077479362488, -1.2975598573684692, 0.43419498205184937, -0.2977210581302643, -0.5970008373260498, -0.2968943119049072, -0.42561593651771545, -1.1098707914352417, 0.6418427228927612, -0.3729284703731537, -1.1178665161132812, 0.15163742005825043, -0.3451666533946991, -0.5606375932693481, 0.3075459599494934, -0.46908971667289734, 0.7752118110656738, 0.24702569842338562, -0.34985822439193726, 0.05218305438756943, -0.6282811760902405, 0.6100372672080994, -0.16155198216438293, 0.2390616238117218, -0.2695557177066803, 0.16065555810928345, 0.9514973759651184, 0.24528004229068756, 0.499527245759964, 0.3500484824180603, -0.3514566421508789, 0.23486287891864777, 0.3579367399215698, 0.04320194199681282, 0.3138944208621979, -0.08168826252222061, 0.19772523641586304, 0.18931180238723755, 0.012532212771475315, -0.9911729097366333, 0.6735373735427856, -0.5686190724372864, -0.7051964402198792, -0.4586995542049408, -0.6446772813796997, -0.48854386806488037, 0.08153169602155685, 0.42386138439178467, 0.7636886239051819, -0.6297727823257446, 0.20711487531661987, 0.3501001000404358, 0.02617376483976841, 0.2681299149990082, 0.15249015390872955, -0.4316374957561493, -0.616838276386261, 0.9469656348228455, 0.22868967056274414, 0.42106062173843384, 0.33225345611572266, -0.19490498304367065, -0.3384628891944885, -0.40714672207832336, -0.3534969985485077, 0.3365062177181244, -0.6879969835281372, 0.09079418331384659, -0.9130467176437378, -0.09908881038427353, -0.42067867517471313, 0.014033656567335129, -0.1794510781764984, -0.03891301900148392, -0.14278583228588104, -0.10170131176710129, 0.13457468152046204, 0.7609702944755554, 0.33793389797210693, 0.07406381517648697, -0.9377257823944092, 0.28702807426452637, 0.007620250806212425, 0.37200501561164856, 0.00022128602722659707, -0.47928693890571594, 0.056329451501369476, -0.42944976687431335, -0.36436742544174194, -0.9827439188957214, 0.16326108574867249, 0.10875730216503143, 0.384033739566803, 0.3536505103111267, -0.18692338466644287, 0.6291713714599609, -0.565048336982727, 0.7383542060852051, 0.07996626943349838, -0.7317929267883301, 0.16016608476638794, -0.42048412561416626, -0.12740342319011688, 0.8626962304115295, 0.5334927439689636, -0.8668833374977112, -0.2627841532230377, -0.9060825705528259, -0.8977939486503601, 0.40940216183662415, 0.12623493373394012, 0.10148599743843079, -0.12589137256145477, 0.6045677065849304, 0.30686119198799133, 0.39171645045280457, -0.7293559908866882, -0.23406103253364563, 0.3547581732273102, -0.11598776280879974, -0.31649893522262573, -0.5013138651847839, -0.09823895990848541, -0.03728029131889343, 0.14388813078403473, 0.23934616148471832, 0.4135640561580658, 0.08448705077171326, 0.15965577960014343, -0.16025763750076294, 0.5396571159362793, 0.3361080288887024, 0.9757559299468994, -0.4886014759540558, 0.13759729266166687, -0.23343782126903534, -0.3687896430492401, 0.11841755360364914, 0.10911605507135391, -0.15723299980163574, 0.09144550561904907, 0.7764721512794495, 0.82411789894104, 0.13311722874641418, -0.4981774389743805, 0.32012245059013367, 0.18840384483337402, -0.11339003592729568, -0.3341393768787384, -0.10564517229795456, 0.17520172894001007, -0.24052542448043823, 0.058547839522361755, 0.07206469774246216, 0.3923819661140442, -0.8019082546234131, 0.3250296711921692, 0.45352205634117126, -0.5473494529724121, -0.3875108063220978, 0.4979056119918823, 0.06814656406641006, -0.3900934159755707, 0.5975916981697083, -0.2848297655582428, -0.16449938714504242, 0.6472480893135071, 0.5647489428520203, 1.1851890087127686, 0.07842598855495453, 0.3518231213092804, 0.5187326073646545, 0.5120015144348145, -0.06765166670084, -0.28068095445632935, -0.008761204779148102, -0.7992069721221924, -0.8453400135040283, -0.7834433913230896, -0.1308087557554245, 0.4051995277404785, -0.9626742005348206, 0.17597655951976776, -0.21223266422748566, -0.12199350446462631, 0.08051851391792297, -0.07981027662754059, -0.2980820834636688, 0.20846210420131683, -0.24405533075332642, 0.5634623169898987, -0.9646291732788086, 0.5665398240089417, 0.7854843139648438, -0.5632272958755493, -0.5793999433517456, 0.4971580505371094, -0.09858716279268265, -0.13953232765197754, 0.5804489254951477, 0.01717142015695572, -0.22694963216781616, 0.09183749556541443, -0.16552571952342987, -0.8369061350822449, 0.8981921672821045, 0.23125497996807098, -0.573258638381958, 0.12114053219556808, -0.39570626616477966, 0.829152524471283, -0.3880276083946228, 0.22489668428897858, 0.8067328333854675, 0.13785320520401, 0.019505195319652557, -0.8821385502815247, -0.007894894108176231, -0.10824321955442429, 0.025355633348226547, 0.6716212034225464, -0.46401283144950867, 0.4105992317199707, -0.12185898423194885, -0.4893476068973541, -0.0651678591966629, 0.7021684050559998, 0.15157923102378845, 0.43169862031936646, 0.3993336856365204, 0.7301231622695923, 0.6399919986724854, -0.25946083664894104, 1.2342785596847534, 0.18993084132671356, 0.6714434623718262, 1.236824631690979, -0.5572937726974487, 0.8298253417015076, 0.3688889741897583, -0.5850203633308411, 0.5994885563850403, 0.8542068600654602, -0.13297027349472046, 0.2953792214393616, 0.2968882918357849, -0.32843565940856934, -0.31511765718460083, -0.15237168967723846, -0.3686407804489136, 0.5145547389984131, 0.357229620218277, -0.38561874628067017, -0.3177415430545807, -0.16258832812309265, 0.01189364306628704, 0.479445219039917, 0.1186886876821518, 0.8157782554626465, 0.2713783383369446, -0.6448816657066345, 0.3368300497531891, -0.01915401965379715, 0.4185413420200348, -0.48795291781425476, 0.007303874474018812, -0.07411658018827438, -0.33941376209259033, -0.24855677783489227, -0.6534961462020874, 0.3764263391494751, -0.11379119753837585, -0.44963663816452026, 0.26164525747299194, 0.6154554486274719, -0.5862413048744202, -0.4077697992324829, 0.31769245862960815, 0.538361132144928, 0.16784879565238953, 0.05130741372704506, -0.29951930046081543, 0.03269065171480179, -0.11560206115245819, -0.04761549085378647, 0.4001758098602295, 0.4255601763725281, -0.17626717686653137, 0.6667762994766235, 0.4266963601112366, 0.23299020528793335, -0.35158687829971313, 0.14928846061229706, 0.4324408173561096, -0.7202883958816528, -0.16566692292690277, -0.954845130443573, 0.19874408841133118, -0.01661701127886772, -0.48874858021736145, 0.6981765031814575, 0.5475039482116699, 0.7777206897735596, -0.23889923095703125, 0.8269846439361572, -0.4092085361480713, 0.2181309163570404, -0.5108246207237244, 0.4796817898750305, -0.5128056406974792, 0.3150123655796051, -0.559999942779541, -1.2460236549377441, -0.4710260331630707, 0.45728129148483276, -0.6511176824569702, 0.17444780468940735, 1.0764278173446655, 0.551788330078125, 0.03816989064216614, 0.046328671276569366, 0.3157859146595001, -0.0737370103597641, 0.3270920217037201, 0.42526131868362427, 0.973300039768219, -0.40342360734939575, 0.21110296249389648, -0.22669009864330292, -0.16372263431549072, 0.20760679244995117, -0.8087477684020996, -0.6676742434501648, -0.7287307977676392, -0.43409210443496704, -0.15206295251846313, -0.19967223703861237, 1.007899284362793, 0.09493699669837952, -0.4541016221046448, -0.38280221819877625, 0.3082255721092224, 0.168788343667984, -0.2599932849407196, -0.2794976532459259, 0.46381083130836487, -0.3426494598388672, -0.8499274253845215, 0.2459815889596939, 0.4332146942615509, -0.3059380352497101, -0.3460479974746704, 0.37937238812446594, -0.049354832619428635, -0.43226608633995056, 0.8080224394798279, 0.07375524193048477, -1.1066631078720093, -0.3981495201587677, -0.13654133677482605, 0.0018063903553411365, 0.08006154000759125, 1.0062743425369263, -0.4722747802734375, 0.5703548192977905, 0.503025472164154, 0.6551474332809448, 0.17450951039791107, 0.35120654106140137, 0.6371417045593262, -0.47215577960014343, -0.15487077832221985, 0.19318996369838715, 0.2541223168373108, 0.23201008141040802, -0.3311683237552643, 0.7335556149482727, 0.527651309967041, -0.5641385316848755, -0.8259196877479553, 0.4098407030105591, -1.1092371940612793, -0.16149581968784332, 1.2957652807235718, -0.2699723541736603, 0.09502725303173065, -0.3348347246646881, -0.20749109983444214, -0.07952084392309189, -0.06269963085651398, 0.9235759377479553, 1.0436726808547974, -0.0702531561255455, -0.02772483602166176, -0.8165678381919861, 0.568092942237854, 0.30070120096206665, -0.648213803768158, 0.1290508657693863, 0.7172470688819885, 0.48615673184394836, 0.5373817086219788, 0.6945495009422302, -0.4427202343940735, 0.07183630764484406, -0.12750045955181122, 0.34679684042930603, 0.17201916873455048, -0.5337417125701904, -0.25509384274482727, 0.5973162651062012, 0.40243226289749146, 0.13581781089305878 ]
http://arxiv.org/abs/2402.10743v1
http://arxiv.org/pdf/2402.10743v1
Construction of a Syntactic Analysis Map for Yi Shui School through Text Mining and Natural Language Processing Research
2024-02-16T14:59:55
2024-02-16T14:59:55
Hanqing Zhao, Yuehan Li
cs.CL
cs.CL
Entity and relationship extraction is a crucial component in natural language processing tasks such as knowledge graph construction, question answering system design, and semantic analysis. Most of the information of the Yishui school of traditional Chinese Medicine (TCM) is stored in the form of unstructured classical Chinese text. The key information extraction of TCM texts plays an important role in mining and studying the academic schools of TCM. In order to solve these problems efficiently using artificial intelligence methods, this study constructs a word segmentation and entity relationship extraction model based on conditional random fields under the framework of natural language processing technology to identify and extract the entity relationship of traditional Chinese medicine texts, and uses the common weighting technology of TF-IDF information retrieval and data mining to extract important key entity information in different ancient books. The dependency syntactic parser based on neural network is used to analyze the grammatical relationship between entities in each ancient book article, and it is represented as a tree structure visualization, which lays the foundation for the next construction of the knowledge graph of Yishui school and the use of artificial intelligence methods to carry out the research of TCM academic schools.
[ -0.009980530478060246, -1.1143767833709717, 0.6309722661972046, -0.42762404680252075, -0.3731783330440521, -0.07616987079381943, -0.23349258303642273, -0.6138359308242798, 0.16787806153297424, 0.5510608553886414, -0.41652020812034607, -0.8872430920600891, -0.3629954755306244, -0.014846955426037312, -0.22331096231937408, 0.7724477052688599, -0.04096131771802902, 0.30586478114128113, 0.05421406403183937, -0.2629583775997162, -0.3865010142326355, -0.20317788422107697, -0.9301350712776184, -0.024449756368994713, 0.17250052094459534, 0.09664057195186615, 0.5647069811820984, 0.8963242769241333, 0.6793743371963501, 0.5256733298301697, -0.056106086820364, -0.142376109957695, 0.10894075781106949, 0.2305430918931961, -0.2431284785270691, -0.6248945593833923, -0.5166170597076416, -0.11851590126752853, 0.9340180158615112, 0.5243045091629028, -0.13121706247329712, 0.13620948791503906, -0.1561555564403534, 0.4723505973815918, -0.2643907964229584, 0.4914607107639313, -0.47967246174812317, 0.09276212751865387, -0.6569364070892334, -0.25587835907936096, -0.18595623970031738, -0.4945163130760193, 0.542726993560791, -0.6157439351081848, 0.11283747106790543, 0.19809336960315704, 1.2833855152130127, -0.05637863650918007, -0.5172575116157532, -0.2891964614391327, -0.3963918685913086, 0.6538059115409851, -0.9262726306915283, 0.13852033019065857, 0.10393316298723221, 0.18654927611351013, -0.4160204827785492, -0.8416150808334351, -0.749337911605835, 0.0865272581577301, -0.30027562379837036, 0.02269107662141323, 0.05259574577212334, 0.262058824300766, 0.13838490843772888, 0.4691382944583893, -0.5410423874855042, -0.12456454336643219, -0.5280850529670715, -0.025536399334669113, 0.5253735184669495, 0.2582969665527344, 1.1973241567611694, -0.5865396857261658, -0.36318662762641907, -0.13925665616989136, -0.1970462203025818, 0.26015704870224, 0.1553288698196411, 0.14141033589839935, -0.07510792464017868, 0.35491132736206055, 0.023777930065989494, 0.8848145008087158, -0.23349614441394806, -0.5410133004188538, 0.07432560622692108, -0.612233579158783, -0.43117332458496094, 0.21273554861545563, 1.1120611429214478, 0.17136834561824799, 0.4103189706802368, -0.28909578919410706, -0.047962840646505356, 0.16286517679691315, 0.22028356790542603, -0.6385886669158936, -0.38197043538093567, 0.01480353344231844, -0.7105883359909058, -0.26976314187049866, -0.0358428880572319, -0.7593033909797668, 0.014182157814502716, -0.2199810892343521, 0.10670621693134308, -0.9548189043998718, -0.4168832302093506, -0.299416184425354, -0.17829932272434235, 0.20710693299770355, -0.0247043389827013, -0.7074980735778809, 0.5357250571250916, 0.48862212896347046, 0.8913196325302124, -0.33926668763160706, -0.15060460567474365, 0.0014298086753115058, 0.3085824251174927, -0.10722801834344864, 0.629755437374115, -0.6062930226325989, -0.21343094110488892, 0.10654895007610321, -0.02055165357887745, -0.4610999524593353, -0.46826061606407166, 0.93829345703125, -0.6774163246154785, 0.2853895425796509, -0.07560055702924728, -0.75925612449646, -0.8129533529281616, 0.27763092517852783, -0.855289876461029, 0.6789969205856323, 0.4350413680076599, -0.8353070020675659, 0.2243920862674713, -0.4815232455730438, -0.4680854082107544, 0.538038432598114, -0.3639323115348816, -0.46677330136299133, -0.19331398606300354, 0.16475506126880646, -0.0021880236454308033, -0.3917596638202667, 0.6480199098587036, -0.11072048544883728, -0.2622138261795044, 0.14042174816131592, 0.1134023368358612, 1.2332510948181152, 0.2142968624830246, -0.39207279682159424, 0.09500551968812943, -0.9573557376861572, 0.5219098329544067, 0.2433243840932846, -0.21460053324699402, -0.9697075486183167, 0.3134527802467346, 0.22744230926036835, 0.2617579698562622, 0.09607875347137451, -0.32293328642845154, 0.39976251125335693, -0.7575670480728149, 0.2604743540287018, 0.29020220041275024, 0.43427208065986633, 0.5507791042327881, -0.21315720677375793, 0.49431943893432617, 0.24437353014945984, -0.2711770236492157, -0.12806002795696259, -0.3018719255924225, -0.7499806880950928, -0.030605515465140343, 0.4630928039550781, 0.4833793044090271, -0.7935047745704651, 0.5461329221725464, -0.3136470913887024, -0.2499488741159439, -0.6603772044181824, -0.03397858142852783, 0.235669806599617, 0.7932420969009399, 0.37479710578918457, -0.1792522668838501, -0.5550497174263, -0.8867198824882507, -0.26735183596611023, -0.3619846999645233, 0.3529598116874695, -0.2070259302854538, 0.33679109811782837, 0.06494084745645523, 0.9513014554977417, -0.6456378102302551, -0.5830259919166565, -0.5473109483718872, 0.15532460808753967, 0.04957862198352814, 0.2567240595817566, 0.7600727677345276, -0.9771063923835754, -0.42040643095970154, 0.06525268405675888, -0.778744101524353, -0.09764967113733292, -0.11363095045089722, -0.2871842384338379, 0.008224083110690117, 0.034710291773080826, -0.6134633421897888, 0.5378298163414001, 0.13827799260616302, -0.4448471963405609, 0.31617459654808044, -0.021374918520450592, 0.41061121225357056, -1.1630923748016357, 0.05499621853232384, 0.43464359641075134, 0.18343932926654816, -0.7242759466171265, 0.42781707644462585, 0.11971987783908844, 0.025468114763498306, -0.12232303619384766, 0.44274935126304626, -0.6977161765098572, 0.34552448987960815, -0.4322573244571686, 0.31862273812294006, -0.1682223081588745, 0.5312365293502808, 0.3482544422149658, 0.21260912716388702, 0.4940059781074524, -0.4784397780895233, 0.047149818390607834, 0.05280112847685814, -0.20763684809207916, 0.2806868553161621, -0.31031563878059387, -0.1835477650165558, 0.2555846571922302, -0.23408348858356476, -0.5323463082313538, -0.019056713208556175, 0.6887512803077698, -0.2048102766275406, 0.32939472794532776, -0.051827795803546906, -0.5176756381988525, -0.17296718060970306, -0.15480278432369232, 0.45710548758506775, 0.1880558729171753, -0.22382324934005737, 0.834709107875824, 0.7071196436882019, -0.2257721871137619, -0.04899478331208229, -0.27914589643478394, -0.14375090599060059, -0.23329459130764008, -0.9160112738609314, 0.5800223350524902, 0.04797843471169472, -0.509509801864624, 0.5511108040809631, -0.1393224149942398, -0.5264992117881775, 0.1815081089735031, 0.34797853231430054, 0.89495849609375, -0.5306945443153381, -0.00792286079376936, 0.19166401028633118, 0.143117755651474, 0.363481730222702, -0.22705727815628052, 0.33051159977912903, 0.15435335040092468, 0.008943518623709679, -0.5346189737319946, 0.20991508662700653, 0.19191701710224152, -0.35681024193763733, 0.6141142845153809, 0.32701241970062256, -0.8384904861450195, -0.4343346357345581, -0.2023419290781021, 0.11146741360425949, -0.44926321506500244, 0.3927391469478607, -0.2296411693096161, -0.3813001215457916, 0.1436978131532669, 0.07899810373783112, 0.03589600324630737, 0.7450904250144958, 0.35992947220802307, 0.19652900099754333, 0.6188271045684814, 0.6088163256645203, -0.40445274114608765, 0.335408478975296, -0.19299210608005524, 0.32279086112976074, -0.4620557129383087, -0.3721736967563629, -0.46863630414009094, -0.4767959713935852, -0.6195929646492004, 0.04135335236787796, 0.22236603498458862, -0.107728973031044, 0.2872028052806854, 0.2967919409275055, -0.6451907753944397, 0.18567433953285217, 0.6821209788322449, -0.17373380064964294, 0.3300085961818695, 0.16075389087200165, -0.21113918721675873, -0.18475341796875, -0.2450120747089386, -0.44420158863067627, 0.6935180425643921, 0.12381897121667862, 0.2542368471622467, -0.09398724138736725, 0.8639596700668335, -0.1410471647977829, 0.15419359505176544, -0.9233883023262024, 0.7429720163345337, -0.14200140535831451, -0.563923716545105, -0.40954434871673584, -0.48515740036964417, -0.8025928735733032, 0.2704826295375824, -0.365721732378006, -0.8032762408256531, 0.049011580646038055, -0.4228561520576477, -0.46743080019950867, 0.4657411277294159, -0.8090095520019531, 0.5924506783485413, -0.2821162939071655, -0.06464436650276184, -0.056778162717819214, -0.5945698618888855, 0.48822325468063354, 0.008713209070265293, 0.18774724006652832, 0.22228722274303436, 0.4462509751319885, 1.1201332807540894, -0.34742486476898193, 0.3794461190700531, -0.08312827348709106, 0.20780129730701447, 0.7353603839874268, 0.05238506942987442, 0.08004657924175262, -0.02870502881705761, -0.18694058060646057, 0.10233386605978012, 0.34410035610198975, 0.06452307850122452, -0.5637878775596619, 0.6938422918319702, -0.6494529843330383, -0.5766257643699646, -0.867763876914978, -0.5539159774780273, 0.10459943115711212, 0.6337400078773499, 0.07091698050498962, 0.18197552859783173, -0.11486297845840454, -0.3047344982624054, 0.3485504686832428, -0.044432077556848526, 0.5702614784240723, 0.603181779384613, 0.032635126262903214, -0.2770724892616272, 0.8488560318946838, 0.5778546929359436, -0.4103787839412689, 0.4302966594696045, 0.23367054760456085, 0.07768464833498001, -0.8697331547737122, -0.2655889689922333, 0.2142496556043625, -0.2936558425426483, -0.1856425255537033, -0.615222692489624, -0.9107401371002197, -0.5896016359329224, 0.16336697340011597, 0.1610088348388672, -0.11200036108493805, -0.2906153202056885, -0.0057642459869384766, -0.085061214864254, 0.59059739112854, 0.6287211179733276, 0.4936216175556183, -0.9833243489265442, 0.44275763630867004, -0.19955076277256012, -0.09015893936157227, 0.0841069445014, -0.038376957178115845, -0.351603627204895, -0.15992918610572815, -0.5551042556762695, -1.265156626701355, 0.8164169192314148, 0.13722150027751923, 0.56565922498703, 0.7396731376647949, -0.05838131532073021, 0.7157503962516785, -0.4547802805900574, 0.6102538704872131, 0.18580235540866852, -0.6563764810562134, 0.5904182195663452, -0.1346975713968277, 0.19884517788887024, 0.4418444335460663, 0.18517747521400452, -0.4866984784603119, -0.5174949765205383, -0.8425366282463074, -0.8971788883209229, 0.9809756278991699, 0.08337127417325974, -0.49005556106567383, -0.09412586688995361, 0.649515688419342, -0.07322102785110474, -0.08306460827589035, -1.0053507089614868, -0.6333318948745728, 0.2643078863620758, -0.5981802940368652, 0.42385247349739075, -0.27014273405075073, 0.07936645299196243, -0.23497119545936584, 0.6432183384895325, 0.3166740834712982, -0.26041436195373535, -0.014141065999865532, -0.20589731633663177, -0.3294571042060852, 0.4249497652053833, -0.130551278591156, 0.4332752823829651, -0.10802552849054337, 0.11566628515720367, 0.00576896732673049, -0.7496386766433716, -0.0784321054816246, 0.4597919285297394, -0.6897801160812378, 0.11564917862415314, 0.5335709452629089, 0.5469781160354614, 0.22726425528526306, -0.4572823643684387, 0.3522511422634125, -0.007163320202380419, 0.06812958419322968, -0.5163182020187378, 0.514650285243988, 0.12555460631847382, 0.2695286273956299, 0.415619432926178, -0.09387753903865814, 0.5295499563217163, -0.5513834357261658, 0.25114506483078003, 0.34631112217903137, 0.007670341990888119, -0.48591259121894836, 0.4559709429740906, -0.23935295641422272, -0.43821021914482117, 0.946122407913208, -0.1596587598323822, -0.6227769255638123, 0.7730767130851746, 0.6597007513046265, 0.7087956070899963, -0.3002209961414337, 0.4012482464313507, 0.6655759215354919, 0.1247217059135437, 0.07451693713665009, 0.14259938895702362, 0.006092967931181192, -0.4092246890068054, -0.08827511966228485, -0.8397447466850281, 0.1771576851606369, 0.23036600649356842, -0.587063729763031, 0.6081590056419373, -0.3404848873615265, -0.24358396232128143, 0.21316716074943542, 0.5241315960884094, -0.7118222117424011, 0.6888039708137512, 0.06617438048124313, 0.5482404828071594, -0.5266653895378113, 1.24701988697052, 0.8327509760856628, -0.45392343401908875, -1.344034194946289, 0.15939760208129883, 0.03938960283994675, -0.6534942388534546, 0.8806562423706055, -0.0897279605269432, 0.18784750998020172, -0.10607127100229263, -0.30253639817237854, -0.8075873255729675, 1.223891019821167, -0.0018463716842234135, -0.9307369589805603, -0.6530879735946655, 0.027378028258681297, 0.7386813759803772, -0.2277848720550537, 0.3544441759586334, 0.6568019986152649, 0.48824343085289, -0.23492801189422607, -0.283017635345459, 0.3051872253417969, -0.4196576178073883, -0.12268199026584625, 0.5350595712661743, -0.39265912771224976, 0.6552949547767639, -0.0677940621972084, -0.8381556272506714, 0.11942533403635025, 0.7687251567840576, 0.1818332076072693, 0.6189886331558228, 0.4899727404117584, 0.7587305307388306, 0.5799881815910339, -0.10834629088640213, 0.675584614276886, -0.40712809562683105, 0.04621897265315056, 1.024186611175537, -0.09180054068565369, 0.6630821228027344, 0.5063292980194092, -0.08857079595327377, 0.7951828241348267, 0.6408862471580505, -0.35726335644721985, 0.5370913743972778, 0.19750572741031647, -0.2545986771583557, 0.1198030561208725, -0.10024961829185486, -0.3245087265968323, 0.41939839720726013, 0.334501713514328, -0.6600849032402039, -0.3055611252784729, -0.27777934074401855, 0.020045043900609016, 0.06243088096380234, -0.13363522291183472, 0.6560958623886108, 0.3630742132663727, -0.8459532260894775, -0.09166406095027924, 0.4037207067012787, 0.13629762828350067, -0.7081000208854675, -0.2197725623846054, 0.024011267349123955, -0.1719355434179306, -0.1920802742242813, -0.4296179711818695, 0.05259667709469795, -0.2742820084095001, -0.15058571100234985, 0.19519758224487305, 1.0129858255386353, -0.7174224257469177, -0.6552640795707703, 0.39127877354621887, 0.5500338077545166, -0.15399575233459473, 0.5040192008018494, -0.6389391422271729, -0.1644018143415451, -0.017284175381064415, -0.42346784472465515, 0.3737976849079132, 0.7814856767654419, -0.25983911752700806, 0.4165923595428467, 0.6145870685577393, 0.7726888656616211, -0.150056391954422, 0.07505448907613754, 0.767096757888794, -0.8198056817054749, -0.5947849750518799, -1.0588029623031616, 0.2298305779695511, -0.16869156062602997, -0.36080121994018555, 0.6471078395843506, 0.39912518858909607, 0.4155539572238922, 0.25639015436172485, 0.6661778092384338, -0.17959091067314148, 0.23840190470218658, -0.5131030082702637, 1.166001319885254, -0.4672662913799286, 0.23470796644687653, -0.4229075014591217, -0.7410208582878113, -0.1837579309940338, 0.4716911315917969, -0.40262797474861145, -0.1914348304271698, 1.0868700742721558, 0.30538102984428406, 0.13028374314308167, 0.24691013991832733, 0.08239978551864624, 0.15712900459766388, 0.09718835353851318, 0.5221174955368042, 0.3633580803871155, -0.4197453558444977, 0.4726867377758026, -0.4523546099662781, -0.22244343161582947, 0.26694732904434204, -0.355836421251297, -0.8410522937774658, -0.8420757055282593, -0.46896132826805115, -0.17624467611312866, 0.17591433227062225, 0.7512164115905762, 0.22709910571575165, -0.8554240465164185, -0.19744829833507538, 0.08793600648641586, 0.3667384386062622, -0.2943211793899536, -0.38495784997940063, 0.9614541530609131, -0.3471098840236664, -0.8586029410362244, 0.2860545217990875, 0.3894486427307129, -0.08640272915363312, 0.06771724671125412, 0.1472894251346588, -0.44794583320617676, -0.30493301153182983, 0.029071912169456482, 0.13710404932498932, -0.5035085082054138, -0.0721563845872879, 0.040717802941799164, -0.3357163369655609, 0.18225286900997162, 0.8578215837478638, -0.587534487247467, 0.5868516564369202, 0.4940696358680725, 0.5505114197731018, 0.1016094833612442, -0.051451634615659714, 0.4861680567264557, -0.14186285436153412, -0.13977235555648804, 0.157818004488945, 0.5182209014892578, 0.03135797381401062, -0.40923112630844116, 0.511705219745636, 0.3965991735458374, -0.38936856389045715, -0.49732959270477295, -0.30735069513320923, -1.1360068321228027, -0.37846481800079346, 1.005468726158142, -0.27413803339004517, -0.7206683158874512, -0.17502950131893158, -0.31336677074432373, 0.9592929482460022, -0.19429877400398254, 0.9983299374580383, 0.8667962551116943, 0.12925118207931519, -0.11172351986169815, -0.5359229445457458, 0.391307532787323, 0.22840197384357452, -0.918010413646698, -0.5966736078262329, 0.25970545411109924, 0.4791608154773712, 0.26270291209220886, 0.7380954027175903, -0.2854865491390228, -0.009822456166148186, -0.11427941918373108, 0.17517662048339844, 0.11549405753612518, -0.021493447944521904, 0.128557026386261, 0.5351653695106506, -0.18102847039699554, -0.27504226565361023 ]
http://arxiv.org/abs/2402.10738v2
http://arxiv.org/pdf/2402.10738v2
Let's Learn Step by Step: Enhancing In-Context Learning Ability with Curriculum Learning
2024-02-16T14:55:33
2024-06-16T13:26:10
Yinpeng Liu, Jiawei Liu, Xiang Shi, Qikai Cheng, Yong Huang, Wei Lu
cs.CL
cs.CL
Demonstration ordering, which is an important strategy for in-context learning (ICL), can significantly affects the performance of large language models (LLMs). However, most of the current approaches of ordering require high computational costs to introduce the priori knowledge. In this paper, inspired by the human learning process, we propose a simple but effective demonstration ordering method for ICL, named the few-shot In-Context Curriculum Learning (ICCL). The ICCL implies gradually increasing the complexity of prompt demonstrations during the inference process. The difficulty can be assessed by human experts or LLMs-driven metrics, such as perplexity. Then we design extensive experiments to discuss the effectiveness of the ICCL at both corpus-level and instance-level. Moreover, we also investigate the formation mechanism of LLM's ICCL capability. Experimental results demonstrate that ICCL, developed during the instruction-tuning stage, is effective for representative open-source LLMs. To facilitate further research and applications by other scholars, we make the code publicly available.
[ -0.46626394987106323, -0.64584881067276, 0.5369596481323242, 0.14357827603816986, -0.2706569731235504, 0.10007362067699432, -0.2021207958459854, -0.28586822748184204, -0.5184760689735413, 0.3889516592025757, -0.4945653975009918, -0.7670495510101318, -0.3880147337913513, 0.034067947417497635, -0.3097572922706604, 0.811469316482544, 0.24089905619621277, 0.1509174108505249, -0.22201715409755707, -0.2258490025997162, -0.08641479164361954, -0.20088662207126617, -0.6119787693023682, -0.33507856726646423, 0.3713953197002411, 0.9808220863342285, 0.23216809332370758, 0.765133261680603, 0.29790830612182617, 0.25347083806991577, -0.12393229454755783, 0.1781102418899536, -0.50761878490448, -0.12078522145748138, -0.1479673981666565, -0.5121577382087708, -0.00682660611346364, 0.04098192974925041, 0.648557186126709, 0.7823858261108398, -0.03039485216140747, 0.16780053079128265, 0.31752076745033264, 0.5049927234649658, -0.7036747932434082, 0.22064150869846344, -0.5938618183135986, -0.1305018663406372, -0.15995940566062927, -0.02344868890941143, -0.891273558139801, -0.23415906727313995, 0.39643800258636475, -0.26494792103767395, 0.020042572170495987, 0.24617615342140198, 0.3302074074745178, 0.023817118257284164, -0.40383100509643555, -0.20773790776729584, -0.367063045501709, 0.9320414066314697, -0.6153387427330017, 0.24598555266857147, 0.33479639887809753, 0.4640616178512573, -0.3442673683166504, -0.8885700702667236, -0.4970070421695709, -0.357058048248291, -0.08029436320066452, 0.12270834296941757, 0.23776888847351074, 0.0546477846801281, 0.461315780878067, -0.0900600329041481, -0.5215364098548889, 0.48263102769851685, -0.33729180693626404, 0.06949671357870102, 0.2623462378978729, 0.16636928915977478, 0.1641402691602707, -0.175737664103508, -0.559518575668335, -0.2563827931880951, -1.071782112121582, 0.3051995635032654, -0.035985663533210754, 0.5540712475776672, -0.29336845874786377, 0.3926609456539154, -0.36368367075920105, 0.4851793944835663, 0.15876628458499908, -0.2748551368713379, -0.0024932834785431623, -0.0400254987180233, -0.26037684082984924, 0.25663402676582336, 0.5237733125686646, -0.12237721681594849, -0.33563360571861267, 0.22394944727420807, -0.05037418380379677, -0.19354762136936188, 0.16730386018753052, -1.0523446798324585, 0.0861339420080185, 0.06660478562116623, -0.24784733355045319, -0.2006889134645462, -0.011726164259016514, -0.5438954830169678, -0.29771995544433594, -0.3074612617492676, 0.589635968208313, -0.673992395401001, 0.23872950673103333, -0.17613156139850616, 0.3443368375301361, 0.3600479066371918, 0.46176084876060486, -0.7999000549316406, 0.4766213893890381, 0.724053680896759, 0.7725298404693604, -0.24766767024993896, -0.4075283706188202, -0.7689568400382996, 0.03795154392719269, -0.39208799600601196, 0.6278420090675354, -0.2961578965187073, -0.3965892195701599, 0.07605785876512527, -0.4145098328590393, 0.22040514647960663, -0.4901476800441742, 0.32610440254211426, -0.5660098791122437, 0.0925159603357315, -0.1577029973268509, -0.8196539878845215, -0.14285162091255188, 0.14451748132705688, -0.2283276915550232, 0.6981791257858276, -0.14672234654426575, -0.6113237738609314, 0.45998868346214294, -0.7412116527557373, -0.4424734115600586, 0.26465505361557007, -0.4889298379421234, -0.38403284549713135, -0.040398359298706055, 0.23801131546497345, 0.726963460445404, -0.04990130662918091, -0.0592653751373291, -0.06545623391866684, -0.6374295353889465, 0.1909521520137787, -0.3795202076435089, 0.9534295797348022, 0.18963998556137085, -0.6368942856788635, 0.14319412410259247, -0.663913369178772, 0.02356942929327488, -0.10642792284488678, -0.3541538715362549, -0.16570952534675598, 0.1376468390226364, -0.3192957043647766, 0.20954439043998718, -0.15452170372009277, -0.204508975148201, 0.19563007354736328, -0.6389983892440796, 0.12744097411632538, 0.6635534763336182, 0.059964071959257126, 0.776333749294281, -0.18913915753364563, 0.3567754328250885, -0.009759752079844475, 0.14669524133205414, -0.43650931119918823, -0.4036696255207062, -0.7836657762527466, -0.3468019962310791, 0.027924034744501114, 0.386999249458313, -0.6310633420944214, 0.06803648918867111, -0.004317890387028456, -0.4370427131652832, -0.24770963191986084, 0.27573323249816895, 0.7566437721252441, 0.643121600151062, 0.4877163767814636, -0.2255246937274933, -0.22683821618556976, -0.6730763912200928, 0.1292894184589386, -0.3089215159416199, -0.1580725610256195, 0.17807035148143768, 0.43890297412872314, 0.1578516811132431, 0.8659681677818298, -0.47221827507019043, -0.13040205836296082, -0.42140108346939087, 0.5390849709510803, 0.17905400693416595, 0.3565462827682495, 0.40593618154525757, -0.5671044588088989, -0.548340916633606, -0.0016547776758670807, -0.5243489742279053, -0.017183881253004074, 0.012401985004544258, -0.1400943100452423, 0.26756948232650757, 0.7950339913368225, -0.13626231253147125, 0.5266821384429932, 0.18353360891342163, 0.2166329324245453, 0.5727874040603638, -0.3485187888145447, -0.04024331644177437, -0.8354070782661438, -0.6083346009254456, -0.12031004577875137, -0.17095740139484406, -0.44729357957839966, 0.3122098743915558, 0.38897886872291565, -0.025942165404558182, -0.9310323596000671, 0.5164976119995117, -0.5040284991264343, -0.05194531008601189, -0.23142407834529877, 0.18970602750778198, -0.34947291016578674, 0.5174992084503174, 0.12118165194988251, 0.8962520360946655, 0.6587491631507874, -0.8022355437278748, -0.41044360399246216, 0.2563124895095825, -0.9313395619392395, 0.6045036911964417, -0.12249631434679031, 0.11459952592849731, -0.13261926174163818, 0.2936824560165405, -1.1461012363433838, -0.30153727531433105, -0.021164029836654663, -0.07790093868970871, 0.45184943079948425, -0.281708300113678, -0.3410622775554657, -0.021423732861876488, -0.1815488636493683, 0.2258942723274231, 0.6114146709442139, -0.9784362316131592, 0.2074761986732483, -0.08015777170658112, 0.08524513989686966, -0.4796873927116394, -0.4883487820625305, -0.008600800298154354, -0.19811716675758362, -0.31739696860313416, 0.4385139048099518, -0.43315669894218445, -0.43452608585357666, -0.582388162612915, 0.06955908983945847, -0.09774351119995117, 0.10538815706968307, 0.3265765309333801, -0.017839347943663597, -0.4192747175693512, 0.2942679226398468, 0.3191729485988617, -0.06702619045972824, -0.20303259789943695, -0.1524023711681366, 0.25386279821395874, -0.2506565749645233, -0.6348967552185059, -0.6541418433189392, 0.353241503238678, 0.4987636208534241, -0.04294878616929054, 0.6145778894424438, 0.2723885178565979, -0.11916059255599976, -0.6618452072143555, -0.3537478446960449, -0.3023369610309601, -0.5495215654373169, 0.3626171052455902, -0.3405188322067261, -0.6723078489303589, 0.059051018208265305, -0.4641275107860565, 0.3110392987728119, -0.17724135518074036, 0.4099445343017578, -0.25187140703201294, 1.0478229522705078, 0.6818403601646423, 0.018195321783423424, 0.6383858323097229, -0.34689202904701233, -0.05698532611131668, -0.6330199241638184, -0.018012529239058495, -0.43168002367019653, -0.17200195789337158, -0.36273083090782166, -0.4770036041736603, 0.5476585030555725, 0.4183639585971832, -0.5722575783729553, 0.328308641910553, -0.17187102138996124, 0.9092887043952942, 0.5214002132415771, 0.5108218789100647, 0.4068737328052521, 0.08181922137737274, -0.516693651676178, -0.09858140349388123, -0.671278715133667, -0.6738123893737793, 0.7806528210639954, -0.04189214110374451, 0.6959632635116577, 0.3014586865901947, 1.115246295928955, -0.034914739429950714, 0.6046297550201416, -0.7517273426055908, 0.7886711359024048, -0.10843178629875183, -0.22876809537410736, -0.4239332377910614, 0.06000172719359398, -0.6682582497596741, 0.3040168583393097, -0.24593600630760193, -0.9310138821601868, -0.04187821224331856, 0.025497449561953545, -0.40010130405426025, 0.09371110051870346, -0.843285322189331, 0.5845014452934265, -0.32907834649086, -0.6541057825088501, -0.4503489136695862, -0.8998284339904785, 0.27128836512565613, 0.13128481805324554, 0.3281662166118622, 0.2246997356414795, -0.07481300085783005, 0.45175138115882874, -0.44066593050956726, 1.048413872718811, 0.039307255297899246, 0.07697715610265732, 0.38683298230171204, 0.39496394991874695, 0.5281902551651001, 0.12385854870080948, -0.2334112524986267, -0.17051881551742554, -0.5549430251121521, -0.37871235609054565, -0.6246011853218079, 0.6492027044296265, -0.6174789071083069, -0.7800803780555725, -0.032140668481588364, -0.3903900682926178, -0.28594058752059937, 0.02697499468922615, 0.34432992339134216, 0.6767691969871521, -0.0838712751865387, 0.19247667491436005, 0.7022001147270203, -0.23990148305892944, 0.7917690277099609, 0.5280777215957642, -0.13200967013835907, -0.14401227235794067, 0.8264312148094177, 0.13466010987758636, 0.6792088150978088, 0.6076048612594604, 0.4460005760192871, -0.06608536094427109, -0.8499041199684143, -0.39808571338653564, 0.02060122974216938, -0.9655009508132935, -0.1040700301527977, -0.5278040766716003, -0.05162368714809418, -0.24569560587406158, -0.660891592502594, -0.2994840145111084, -0.06786201149225235, -0.44433489441871643, -0.19358712434768677, 0.07540852576494217, 0.7799897789955139, 0.2079637348651886, 0.5738070011138916, -0.4498075544834137, 0.05525951087474823, 0.594420313835144, 0.16393586993217468, 0.14548730850219727, -0.5735997557640076, -0.15221725404262543, -0.11551982164382935, -0.5216185450553894, -0.5443122386932373, 0.23389287292957306, 0.2148139774799347, 0.5109817385673523, 0.8811047673225403, 0.1679992973804474, 1.0613154172897339, -0.716471791267395, 0.697093665599823, 0.108941949903965, -1.0098483562469482, 0.5757139325141907, -0.06832098215818405, 0.36879974603652954, 0.5888667702674866, 0.4234686493873596, -0.07780502736568451, -0.5205519199371338, -0.540514349937439, -0.8533326387405396, 1.003369927406311, 0.17611028254032135, 0.18962417542934418, -0.10325556248426437, 0.24554111063480377, 0.26662951707839966, -0.0668795257806778, -0.6101921796798706, -0.3332594037055969, 0.06177685037255287, -0.012803488411009312, 0.04178961366415024, -0.2258376181125641, 0.001021348056383431, -0.3884948492050171, 0.6432680487632751, -0.44051751494407654, -0.11152656376361847, -0.006042600609362125, -0.4327077865600586, 0.18632785975933075, 0.45850446820259094, 0.8399271368980408, 0.8975773453712463, -0.17483343183994293, 0.25181230902671814, 0.47624310851097107, -0.09798233956098557, 0.06808329373598099, -0.42629796266555786, -0.002592432778328657, -0.46481597423553467, 0.5873461961746216, 0.6265925168991089, 0.6489621996879578, -0.7346729040145874, 0.7658267617225647, 0.05949007719755173, -0.020002419129014015, -0.20674237608909607, 0.1607648730278015, 0.03693980351090431, 0.6360638737678528, 0.4524095356464386, -0.278626948595047, 0.07919444143772125, -0.6030107736587524, 0.5099906921386719, 0.2440030425786972, -0.4449303150177002, -0.03347737342119217, 0.44054362177848816, -0.015026317909359932, -0.46214544773101807, 0.6553767919540405, -0.3591849207878113, -0.36649999022483826, 0.6818519234657288, 0.9686670303344727, 0.5530095100402832, -0.07945679873228073, 0.40690451860427856, 0.4510663151741028, 0.05355408042669296, -0.31559038162231445, -0.1459193378686905, -0.36137303709983826, -0.5577897429466248, -0.4279956817626953, -0.4360669255256653, -0.7298595905303955, -0.22492048144340515, -0.5268325209617615, 0.6493071913719177, -0.6505462527275085, 0.2655896842479706, -0.10109366476535797, -0.06019694730639458, -0.5822783708572388, 0.005390842445194721, 0.2370128035545349, 0.8613842725753784, -0.6727119088172913, 0.9093860387802124, 0.4536883234977722, -0.44359782338142395, -0.7436725497245789, 0.21520188450813293, 0.22006924450397491, -0.6608917117118835, 1.0983457565307617, 0.35717275738716125, -0.10870324075222015, 0.22895044088363647, -1.0245237350463867, -0.5845355987548828, 1.1348469257354736, 0.37078002095222473, -0.5128903985023499, 0.24445663392543793, -0.2372068613767624, 0.47205477952957153, -0.6135464906692505, 0.5295408964157104, 0.1680433750152588, 0.19411782920360565, 0.3637600839138031, -0.3607329726219177, -0.10495222359895706, 0.4810467064380646, -0.12059950828552246, -0.14980366826057434, -0.5417346954345703, 0.5758163928985596, -0.6200761795043945, -0.34750697016716003, 0.21236461400985718, 0.9826231598854065, 0.3987008333206177, 0.3205598294734955, 0.51407390832901, 0.13812774419784546, 0.6190505027770996, 0.13404032588005066, 1.15285062789917, 0.17114728689193726, 0.1381300836801529, 1.3394250869750977, -0.4079696238040924, 1.0707844495773315, 0.5282943248748779, -0.3607933819293976, 0.6945390701293945, 0.5182653069496155, 0.46478503942489624, 0.5659767389297485, 0.32047340273857117, -0.5001813173294067, -0.4923807978630066, -0.0016552391462028027, 0.06771459430456161, 0.363070011138916, 0.4517970681190491, -0.06060241907835007, -0.4244854152202606, 0.24128195643424988, -0.11489575356245041, 0.17152158915996552, -0.21539412438869476, 0.8318573236465454, 0.26398441195487976, -0.4428575932979584, 0.5547720789909363, -0.30574190616607666, 0.5735004544258118, -0.5701286196708679, -0.3520846366882324, -0.29309409856796265, -0.021696964278817177, -0.05565466359257698, -0.5860376954078674, -0.20044149458408356, -0.09936606138944626, -0.090343177318573, -0.3431773781776428, 0.18702004849910736, -0.30001071095466614, -0.3237226605415344, 0.40293240547180176, 0.3332809805870056, 0.3378185033798218, 0.2795160114765167, -0.38845035433769226, -0.35523760318756104, -0.2879965305328369, -0.2240070253610611, 0.7604648470878601, 0.1834343820810318, -0.45998716354370117, 0.7458539605140686, 0.47438499331474304, -0.3350837230682373, 0.09365801513195038, 0.12476200610399246, 0.5808037519454956, -0.40950366854667664, -0.3232230246067047, -0.8686463236808777, 0.5775087475776672, -0.00807433482259512, -0.10120626538991928, 0.5254988670349121, 0.37548887729644775, 1.1383951902389526, 0.033001434057950974, 0.5460145473480225, 0.008207711391150951, 0.22939777374267578, -0.5775997042655945, 0.587700366973877, -0.5287871956825256, 0.4497687518596649, -0.3445904552936554, -0.5103381276130676, -0.7173195481300354, 0.45105817914009094, -0.1837843954563141, -0.30341458320617676, 0.9561699032783508, 1.0015536546707153, -0.2040611207485199, 0.027275225147604942, 0.6535731554031372, 0.2507074177265167, 0.3058391213417053, 0.2678627669811249, 0.8042771816253662, -0.16265171766281128, 0.5928122997283936, -0.6175495386123657, -0.3474687933921814, -0.14690905809402466, -1.060411810874939, -1.013054609298706, -0.47451433539390564, -0.3378210961818695, -0.11937011033296585, 0.011263517662882805, 1.46963369846344, 0.7605670690536499, -0.7505711317062378, -0.5480239391326904, -0.16461344063282013, 0.4854888617992401, -0.5180756449699402, -0.1466839611530304, 0.6031703948974609, -0.5844743251800537, -0.9174171090126038, 0.761137068271637, 0.2854141592979431, -0.06363940238952637, -0.00532615277916193, -0.14422205090522766, -0.3619033396244049, -0.09591372311115265, 0.8791618943214417, 0.24426907300949097, -0.8399550914764404, -0.3797633945941925, -0.2880310118198395, -0.19337961077690125, 0.18638823926448822, 0.9165693521499634, -0.8503257036209106, 0.5654748678207397, 0.5052869915962219, 0.6950996518135071, 0.5354518890380859, -0.19076448678970337, 0.23119843006134033, -1.0175766944885254, 0.1526184380054474, -0.12189766019582748, 0.3305748701095581, -0.027849746868014336, -0.1445457488298416, 0.37469372153282166, -0.022004686295986176, -0.4143914580345154, -0.6162467002868652, 0.3331969678401947, -0.9875480532646179, -0.29729747772216797, 0.8905129432678223, -0.17268025875091553, -0.17597965896129608, -0.11745111644268036, -0.3854069113731384, 0.23381249606609344, -0.4451107084751129, 0.8092759251594543, 0.35880565643310547, -0.40528449416160583, -0.11319714784622192, -0.3759867548942566, 0.28243589401245117, 0.2587023079395294, -0.7788753509521484, -0.12849992513656616, 0.3424402177333832, 0.2599635124206543, -0.010644380934536457, 0.49148210883140564, -0.09768358618021011, 0.22769255936145782, -0.34251412749290466, -0.1497599333524704, 0.06288930028676987, -0.48807695508003235, -0.43099144101142883, 0.375654935836792, 0.2119181752204895, -0.023681428283452988 ]
http://arxiv.org/abs/2402.10735v2
http://arxiv.org/pdf/2402.10735v2
Assessing the Reasoning Abilities of ChatGPT in the Context of Claim Verification
2024-02-16T14:52:05
2024-03-20T19:14:54
John Dougrez-Lewis, Mahmud Elahi Akhter, Yulan He, Maria Liakata
cs.CL
cs.CL
The reasoning capabilities of LLMs are currently hotly debated. We examine the issue from the perspective of claim/rumour verification. We propose the first logical reasoning framework designed to break down any claim or rumour paired with evidence into the atomic reasoning steps necessary for verification. Based on our framework, we curate two annotated collections of such claim/evidence pairs: a synthetic dataset from Wikipedia and a real-world set stemming from rumours circulating on Twitter. We use them to evaluate the reasoning capabilities of GPT-3.5-Turbo and GPT-4 (hereinafter referred to as ChatGPT) within the context of our framework, providing a thorough analysis. Our results show that ChatGPT struggles in abductive reasoning, although this can be somewhat mitigated by using manual Chain of Thought (CoT) as opposed to Zero-Shot (ZS) and ZS CoT approaches. Our study contributes to the growing body of research suggesting that ChatGPT's reasoning processes are unlikely to mirror human-like reasoning, and that LLMs need to be more rigorously evaluated to distinguish between hype and actual capabilities, especially in high-stakes real-world tasks such as claim verification.
[ -0.4745459258556366, -0.692826509475708, 0.685496985912323, -0.08552123606204987, -0.20416231453418732, 0.33839285373687744, -0.26310044527053833, -0.585702657699585, -0.04868127033114433, 0.31872355937957764, -0.6227428913116455, -0.2218182235956192, -0.6793617606163025, 0.11537715047597885, -0.3646160364151001, 1.108416199684143, -0.15689696371555328, -0.35915520787239075, -0.14763371646404266, 0.13307610154151917, -0.44406062364578247, -0.5907310843467712, -0.4767148792743683, -0.2849434018135071, 0.4770720899105072, 0.30925995111465454, 0.786489725112915, 0.24302692711353302, 0.5300062894821167, 0.2210543304681778, -0.12464726716279984, 0.43441322445869446, -0.5073059797286987, 0.1341947615146637, -0.22072191536426544, -0.6016959547996521, -0.3756864070892334, 0.14959076046943665, 0.36214086413383484, 0.2502589523792267, -0.2267875075340271, 0.1459440290927887, -0.04961249232292175, 0.5098877549171448, -0.5197181105613708, 0.27119362354278564, -1.1000890731811523, 0.06156914681196213, -0.2649618983268738, -0.17052629590034485, -0.39989539980888367, -0.3068574368953705, 0.3623403310775757, -0.30910953879356384, 0.2598850727081299, 0.3248549699783325, 1.009333610534668, 0.1845751702785492, -0.2840301990509033, -0.378474622964859, -0.6771368384361267, 0.3042238652706146, -0.5437222719192505, 0.2174742966890335, 0.3372127413749695, 0.6975379586219788, -0.15766051411628723, -0.6452763080596924, -0.5321184396743774, -0.45337292551994324, -0.12343794852495193, 0.15175658464431763, -0.13158516585826874, 0.12761108577251434, 0.6067696809768677, 0.5197106003761292, -0.6816696524620056, -0.14506594836711884, -0.5649399161338806, -0.7198204398155212, 0.48336243629455566, -0.1535210758447647, 0.2981679141521454, -0.10945599526166916, -0.674653172492981, 0.335542768239975, -1.016319751739502, -0.3192155361175537, 0.19794346392154694, -0.016003375872969627, -0.04048023745417595, 0.7151694297790527, -0.3201737403869629, 0.3006543219089508, -0.22202835977077484, -0.14198511838912964, -0.10653913766145706, -0.2893330156803131, -0.3064647316932678, 0.343795508146286, 0.6736910939216614, 0.26540741324424744, 0.34646984934806824, -0.4068215787410736, -0.26838418841362, 0.323189377784729, 0.16771921515464783, -0.7694013118743896, -0.15502315759658813, 0.22596457600593567, -0.18307162821292877, -0.2977626919746399, 0.01798352785408497, -0.35310953855514526, -0.5094413757324219, -0.038917701691389084, 0.4941862225532532, -0.5291404128074646, -0.5027609467506409, 0.27896252274513245, -0.29473984241485596, 0.3739287853240967, 0.5628161430358887, -0.5198352932929993, 0.20829612016677856, 1.0305328369140625, 0.6661660075187683, 0.001237354357726872, -0.20888912677764893, -0.0988411009311676, 0.04184726998209953, -0.3343783915042877, 1.346382737159729, -0.13003653287887573, -0.08511921018362045, -0.1115199401974678, -0.2845713496208191, -0.0809343010187149, -0.419006884098053, 0.8674412965774536, -0.5184455513954163, 0.29544776678085327, -0.5633012056350708, -0.6769221425056458, -0.189902201294899, 0.7965801358222961, -0.4182779788970947, 0.7765597701072693, 0.06400196999311447, -0.8796257376670837, 0.5448042154312134, -0.5116060972213745, -0.30184200406074524, 0.15503594279289246, -0.4605831205844879, -0.06887447088956833, -0.13564154505729675, 0.15993192791938782, 0.18097473680973053, -0.6623040437698364, 0.15567146241664886, -0.2953996956348419, -0.3522348403930664, 0.5550281405448914, -0.8394711017608643, 0.6351435780525208, 0.35313495993614197, -0.5000190138816833, -0.2012384533882141, -0.43653494119644165, 0.07644204050302505, 0.07642977684736252, -0.07082170993089676, 0.3473846912384033, 0.22336789965629578, -0.6183062195777893, 0.2392699420452118, 0.04216229170560837, -0.5574411749839783, 0.36892572045326233, -0.3091354966163635, 0.4841499328613281, 0.6835284233093262, 0.06501366198062897, -0.0014156148536130786, -0.6439530253410339, 0.5036109089851379, -0.1063784509897232, -0.0626218393445015, -0.10759805142879486, -0.618384599685669, -0.7015736103057861, -0.3121882975101471, 0.30150657892227173, 0.6266570091247559, -0.7887462973594666, 0.06190621107816696, -0.22691407799720764, -0.5290483832359314, -0.3043002188205719, -0.09713315218687057, 0.2366112768650055, 0.644766092300415, 0.24546384811401367, 0.09371466189622879, -0.47419753670692444, -0.9355195164680481, -0.42757871747016907, -0.7849020957946777, -0.12030254304409027, 0.1126880943775177, 0.32073265314102173, 0.019610755145549774, 1.0881892442703247, -0.35307347774505615, -0.017293071374297142, -0.30537572503089905, 0.2541370987892151, 0.10645288974046707, 0.13671520352363586, 0.36634957790374756, -0.6026150584220886, -0.11535053700208664, -0.02211647294461727, -0.9231787323951721, -0.16601599752902985, -0.1612892597913742, -0.19210630655288696, 0.2746133506298065, 0.08820006251335144, -1.127984642982483, 0.6377446055412292, 0.05256669223308563, -0.41672804951667786, 0.9182459712028503, 0.13457174599170685, 0.29358768463134766, -0.4399503171443939, -0.3497605621814728, -0.14584878087043762, -0.24884814023971558, -0.27657702565193176, -0.07459287345409393, -0.16635842621326447, 0.09266158938407898, -0.380409300327301, 0.29794567823410034, -0.45148634910583496, -0.07836513221263885, -0.46933233737945557, 0.3330274522304535, -0.02082647755742073, 0.24107028543949127, 0.03290444612503052, 0.7886236310005188, 0.5874589681625366, -0.5037397146224976, 0.4241349697113037, 0.008700724691152573, -0.4255490303039551, 0.6837798357009888, -0.4822582006454468, 0.09121853858232498, 0.0654626339673996, 0.5513660311698914, -1.1358046531677246, -0.10596559941768646, 0.4985368847846985, -0.6829702258110046, -0.1056913211941719, -0.32661473751068115, -0.7187421321868896, -0.5000336766242981, -0.11954902112483978, 0.019809219986200333, 0.739385724067688, -0.4728328585624695, 0.6095848083496094, 0.18731153011322021, 0.0042159766890108585, -0.4373701512813568, -0.5202069282531738, 0.2401912957429886, -0.44174447655677795, -0.8559316992759705, 0.22461533546447754, 0.21387441456317902, -0.6437334418296814, -0.04021777585148811, -0.507270336151123, -0.013984189368784428, -0.05992816761136055, 0.14362891018390656, 0.41333311796188354, -0.40614449977874756, 0.05903926491737366, -0.2008318305015564, -0.33272498846054077, 0.46326568722724915, -0.3008560240268707, 0.19787731766700745, -0.528764545917511, -0.6592418551445007, -0.20342621207237244, -0.16205994784832, 0.5134714245796204, -0.0371272936463356, 0.4334007203578949, 0.704760730266571, -0.4592428505420685, -0.2064647227525711, -0.955906093120575, -0.18945646286010742, -0.44020217657089233, 0.0635421872138977, -0.5099166035652161, -0.8028984069824219, 0.5330587029457092, -0.1758643388748169, 0.13313081860542297, 0.6657155752182007, 0.7450667023658752, -0.055813707411289215, 0.688254714012146, 0.08806426078081131, 0.08612461388111115, -0.3308575451374054, -0.1106509193778038, 0.27465227246284485, -0.6687800884246826, -0.162409245967865, -0.3302936851978302, -0.15023507177829742, -0.44459646940231323, -0.6329739093780518, 0.19264857470989227, 0.08789578080177307, -0.2895520031452179, 0.24545952677726746, -0.3881840705871582, 0.5362482666969299, 0.09173161536455154, 0.23640510439872742, 0.5459300875663757, -0.1250901073217392, -0.15277591347694397, 0.19487805664539337, -0.6796704530715942, -0.7593546509742737, 0.9220914244651794, 0.5118311643600464, 0.5722195506095886, 0.2783861756324768, 0.42604315280914307, 0.44177958369255066, 0.7125374674797058, -0.8547582030296326, 0.7804497480392456, 0.5249120593070984, -0.9552982449531555, -0.10187704861164093, -0.5375818610191345, -0.42494499683380127, 0.5644755363464355, -0.19261741638183594, -0.9716055393218994, -0.2516898512840271, 0.053606897592544556, -0.36186593770980835, 0.578784704208374, -0.6897387504577637, 0.5242881774902344, -0.4276581406593323, -0.39294734597206116, -0.3769165873527527, -0.5591109395027161, 0.6973006129264832, 0.19262835383415222, 0.15883156657218933, -0.6107763648033142, 0.07349661737680435, 0.5573267936706543, -0.6580092906951904, 0.7121326923370361, -0.23568665981292725, -0.4160884916782379, 0.8834095597267151, 0.31092387437820435, 0.5125951766967773, 0.2796592116355896, -0.10940860956907272, 0.17840175330638885, 0.12118406593799591, -0.21185532212257385, -0.6439992189407349, 0.3244956433773041, -0.47978994250297546, -0.8713085651397705, -0.5991313457489014, -0.3619631230831146, -0.3995622396469116, 0.07033739984035492, 0.3342246115207672, 0.1666879653930664, -0.26625922322273254, -0.0550558902323246, 0.6360111832618713, 0.03226325660943985, 0.11380984634160995, 0.44110581278800964, -0.3657430410385132, -0.3211612105369568, 0.7757278084754944, 0.11847009509801865, 0.4341667592525482, 0.14314977824687958, 0.32902881503105164, -0.3965173363685608, -0.6197680234909058, -0.4066898822784424, 0.04484870657324791, -0.8111221194267273, -0.24604278802871704, -0.3369319438934326, -0.5819339752197266, -0.09971694648265839, 0.008729037828743458, -0.5278832316398621, -0.5931420922279358, 0.4521271884441376, -0.27831584215164185, 0.44697949290275574, 0.6266429424285889, -0.0791521817445755, 0.05113614350557327, -0.5335065722465515, 0.4630030691623688, 0.2690492272377014, 0.222834050655365, -0.2534883916378021, -0.47258251905441284, 0.08064252883195877, 0.22399312257766724, -0.24659012258052826, -0.7852858304977417, -0.09669045358896255, -0.223356232047081, 0.6570897102355957, 0.5144781470298767, 0.16581955552101135, 0.6279851794242859, -0.41767385601997375, 0.7796204090118408, 0.053535718470811844, -0.60554039478302, 0.4417847692966461, -0.48225459456443787, -0.23047691583633423, 0.4076724648475647, 0.3371870815753937, -0.3896433115005493, -0.37521395087242126, -0.9330491423606873, -0.5001090168952942, 0.34441179037094116, 0.47266456484794617, -0.36464110016822815, 0.002912662923336029, 0.3192586302757263, 0.1793190985918045, 0.020548425614833832, -0.6146523356437683, -0.08803267776966095, 0.08556968718767166, 0.1806555986404419, 0.5007625222206116, -0.388750821352005, -0.32043978571891785, -0.1672411561012268, 0.6274858713150024, -0.09498701244592667, 0.4858696758747101, 0.2756834924221039, -0.17592428624629974, 0.19483524560928345, 0.39929279685020447, 0.38484829664230347, 0.9683691263198853, -0.299953430891037, 0.31940096616744995, 0.29595956206321716, -0.3200950622558594, 0.21954606473445892, 0.20183375477790833, -0.039047129452228546, -0.10725101083517075, 0.4165191054344177, 0.5676827430725098, 0.1579786241054535, -0.6532309651374817, 0.6091753840446472, -0.1692345142364502, -0.5087110996246338, -0.40654468536376953, 0.1958431601524353, -0.00013525382382795215, 0.2711588442325592, 0.3757118880748749, 0.23996682465076447, -0.019750157371163368, -0.5089561343193054, 0.26678207516670227, 0.3190496861934662, -0.10890481621026993, -0.22407230734825134, 0.4880622327327728, 0.0714215636253357, -0.043902844190597534, 0.644821286201477, -0.46246537566185, -0.7433611750602722, 0.5935184359550476, 0.4737718403339386, 0.8339280486106873, 0.3655332624912262, 0.3121274411678314, 0.21604037284851074, 0.7001228332519531, -0.2616410553455353, 0.05395285785198212, -0.1711684912443161, -0.9947255849838257, -0.5403212904930115, -0.07649600505828857, -0.7912804484367371, -0.03425862640142441, -0.2535921037197113, 0.4263003468513489, -0.4312494099140167, -0.043242160230875015, -0.16367028653621674, -0.011366225779056549, -0.4835067391395569, -0.056213755160570145, 0.5199098587036133, 1.0376129150390625, -0.5184642672538757, 0.547548234462738, 0.2945108115673065, -0.39787155389785767, -0.8437453508377075, 0.2650199830532074, 0.47657251358032227, -1.1251919269561768, 0.5726993083953857, 0.36275917291641235, -0.3366307318210602, -0.20878911018371582, -0.5497464537620544, -0.6437256336212158, 1.1385300159454346, 0.6262521743774414, -0.25059396028518677, -0.03671247884631157, 0.15765231847763062, 0.19708773493766785, -0.21598441898822784, 0.556154727935791, 0.6315507888793945, 0.4985191524028778, 0.561941921710968, -1.1364606618881226, 0.1353442668914795, 0.03509966656565666, -0.3855908215045929, -0.17561350762844086, -0.6579523086547852, 0.5410987138748169, -0.4989740550518036, -0.48378485441207886, -0.09223535656929016, 0.7081459760665894, 0.7220249772071838, 0.19936113059520721, 0.5570089817047119, 0.6501618027687073, 0.968705415725708, -0.3448651432991028, 1.009929895401001, -0.24910788238048553, 0.28752705454826355, 1.0063085556030273, -0.5034608244895935, 0.6575462818145752, 0.1642465889453888, -0.533530056476593, 0.545386552810669, 0.7205912470817566, 0.08508403599262238, 0.20208755135536194, 0.46556371450424194, -0.42706939578056335, -0.3279121518135071, 0.17076465487480164, -0.5193824768066406, 0.49131298065185547, 0.7014936208724976, -0.030196117237210274, -0.5435387492179871, -0.37089627981185913, 0.22729790210723877, -0.3872593343257904, -0.20848126709461212, 0.5678393840789795, 0.09999898821115494, -0.8885396122932434, 0.664055585861206, -0.16333438456058502, 0.4988550543785095, -0.5257656574249268, -0.11356962472200394, -0.043908458203077316, 0.10599734634160995, -0.27198800444602966, -0.8665168285369873, 0.3116208016872406, 0.2110573798418045, 0.3158361315727234, -0.2093578279018402, 1.2511085271835327, -0.09282081574201584, -0.29607173800468445, -0.130537748336792, 0.786347508430481, 0.37791886925697327, -0.31539207696914673, -0.6606941819190979, 0.017801174893975258, 0.03992181643843651, -0.2606900930404663, 0.15184147655963898, 0.8500909209251404, 0.1511337161064148, 0.8789600729942322, 0.6247190237045288, 0.21606111526489258, -0.12435006350278854, -0.007534232921898365, 0.9434838891029358, -0.6080430150032043, -0.2619785666465759, -1.1333588361740112, 0.3640497326850891, -0.07833541184663773, 0.009456398896872997, 0.8548807501792908, 0.6006510853767395, 0.5352068543434143, 0.334709495306015, 1.0892153978347778, -0.3305807411670685, 0.5323649644851685, -0.6831573247909546, 0.7028932571411133, 0.06784151494503021, 0.6616168022155762, -0.0779152661561966, -0.6518744826316833, -0.053269367665052414, 0.7298504710197449, -0.5518300533294678, 0.0025660828687250614, 0.9924995303153992, 0.763258695602417, 0.11740706115961075, 0.5786109566688538, 0.045066915452480316, 0.2805766761302948, 0.39322420954704285, 0.7202167510986328, 1.4143147468566895, -0.2502577006816864, 0.7200931310653687, -0.12839166820049286, -0.342227965593338, 0.076758973300457, -1.25375235080719, -0.8779547810554504, -0.09753131866455078, -0.550815761089325, -0.7054019570350647, 0.07632065564393997, 0.8236575126647949, 0.49900418519973755, -0.4004271924495697, 0.009643541648983955, -0.20783545076847076, 0.3280860185623169, -0.2134488970041275, -0.2467738687992096, 0.2322595715522766, -0.4089953303337097, -0.0035560184624046087, 0.31454703211784363, 0.35065028071403503, -0.19435636699199677, -0.38458409905433655, -0.07542441040277481, -0.015297173522412777, 0.02452724799513817, 0.6912363171577454, 0.4128009080886841, -0.8197029829025269, -0.4964595437049866, -0.24506013095378876, 0.024981467053294182, 0.1782107651233673, 0.8111083507537842, -1.035760521888733, 0.01795586757361889, 0.3301049768924713, 0.7591692209243774, 0.3865247070789337, 0.019069330766797066, 0.5854633450508118, -0.2633735239505768, 0.005200123880058527, 0.29820898175239563, 0.5327739119529724, 0.0580240860581398, -0.3004487454891205, 0.8061152696609497, 0.6174650192260742, -0.5809077024459839, -0.7750820517539978, 0.20165832340717316, -1.0777320861816406, -0.03032347746193409, 1.264432430267334, -0.17694605886936188, -0.12832383811473846, -0.11821991205215454, -0.36803364753723145, -0.06411196291446686, -0.16906975209712982, 0.8808239698410034, 1.0949302911758423, -0.4366688132286072, -0.149606853723526, -0.7948634028434753, 0.5060118436813354, 0.09050002694129944, -0.8114995360374451, 0.3995094895362854, 0.5159106254577637, 0.2988322675228119, 0.08277814835309982, 0.9581863880157471, -0.36138916015625, 0.24657268822193146, 0.25754672288894653, -0.2431098222732544, -0.07076208293437958, -0.11567123979330063, 0.28190878033638, 0.16118787229061127, 0.1815139204263687, 0.08425956219434738 ]
http://arxiv.org/abs/2404.04261v1
http://arxiv.org/pdf/2404.04261v1
A Novel BERT-based Classifier to Detect Political Leaning of YouTube Videos based on their Titles
2024-02-16T14:44:30
2024-02-16T14:44:30
Nouar AlDahoul, Talal Rahwan, Yasir Zaki
cs.CL
cs.CL, cs.AI
A quarter of US adults regularly get their news from YouTube. Yet, despite the massive political content available on the platform, to date no classifier has been proposed to identify the political leaning of YouTube videos. To fill this gap, we propose a novel classifier based on Bert -- a language model from Google -- to classify YouTube videos merely based on their titles into six categories, namely: Far Left, Left, Center, Anti-Woke, Right, and Far Right. We used a public dataset of 10 million YouTube video titles (under various categories) to train and validate the proposed classifier. We compare the classifier against several alternatives that we trained on the same dataset, revealing that our classifier achieves the highest accuracy (75%) and the highest F1 score (77%). To further validate the classification performance, we collect videos from YouTube channels of numerous prominent news agencies, such as Fox News and New York Times, which have widely known political leanings, and apply our classifier to their video titles. For the vast majority of cases, the predicted political leaning matches that of the news agency.
[ -0.6631543040275574, -0.5513588190078735, 0.23694497346878052, 0.07221899926662445, -0.6080124974250793, 0.4429699182510376, -0.634366512298584, 0.22184158861637115, 0.4092537462711334, 0.2439170926809311, -0.43978002667427063, -0.3628842234611511, -0.8031632900238037, -0.28995707631111145, -0.7364760637283325, 1.2357642650604248, 0.8467205762863159, 0.2233581840991974, 0.21762710809707642, 0.020100845023989677, 0.22570884227752686, -0.2282084822654724, -0.32685932517051697, -0.2767293453216553, 0.39684200286865234, 0.4154059588909149, 0.760307252407074, 0.5157198309898376, 0.1484622061252594, 0.28607678413391113, 0.017429806292057037, -0.13950945436954498, -0.4575071632862091, -0.5565516352653503, -0.2513180077075958, -0.3434407413005829, 0.12814873456954956, 0.06502164155244827, 0.4211716949939728, -0.06307458132505417, -0.08522859960794449, 0.1871919333934784, -0.18879787623882294, 0.7031034231185913, -0.4542270004749298, -0.0547964945435524, -1.2078675031661987, 0.21098294854164124, -0.14085260033607483, -0.13400204479694366, -0.5265315771102905, -0.8618260025978088, 0.2596793472766876, -0.012764734216034412, 0.574954628944397, -0.22966161370277405, 0.9802053570747375, 0.12511882185935974, -0.25898876786231995, -0.2056763768196106, -0.5983633995056152, 0.9040104150772095, -0.6690133810043335, 0.6645179986953735, 0.07476136088371277, 0.4741971790790558, 0.14056745171546936, -0.08283108472824097, -0.8222975134849548, 0.1479039192199707, 0.6439778208732605, -0.14946772158145905, -0.2011764645576477, -0.1685194969177246, -0.24474959075450897, 0.26428407430648804, -0.41072577238082886, 0.0031281791161745787, -0.4177904725074768, -0.2249639928340912, 0.5344393253326416, -0.5312522649765015, 0.3999476432800293, -0.7443006634712219, -0.4512583911418915, -0.15473000705242157, -0.4069085121154785, 0.44365987181663513, 0.8151106238365173, 0.6315996050834656, 0.31618618965148926, 0.6107825636863708, 0.10753858089447021, 0.6411854028701782, 0.5047368407249451, -0.17027468979358673, 0.13590672612190247, 0.23284079134464264, -0.45509645342826843, 0.5610037446022034, 0.8733498454093933, 0.7382820248603821, 0.5753700137138367, 0.05605233833193779, 0.06820304691791534, 0.15292955935001373, 0.4942842721939087, -0.5864431262016296, -0.5344934463500977, 0.10890398919582367, -0.4419174790382385, -0.437406986951828, 0.32762494683265686, -0.7483500242233276, -0.7834934592247009, -0.2347370684146881, 0.28922441601753235, -0.4578850567340851, -0.3663842976093292, -0.035096704959869385, -0.049243345856666565, 0.4717596173286438, 0.5426616072654724, -0.7860638499259949, -0.20057551562786102, 1.1053372621536255, 0.8379143476486206, -0.12696769833564758, 0.22434300184249878, -0.5634164810180664, -0.2441151887178421, -0.39895114302635193, 0.7292284369468689, -0.6724116206169128, 0.4619201719760895, 0.3782505393028259, 0.0764649286866188, 0.49611520767211914, -0.2929556667804718, 0.4684699475765228, -0.779336154460907, 0.3004657030105591, -0.3580213785171509, -0.7208506464958191, -0.29979807138442993, 0.4136156439781189, -0.7932388782501221, 0.5301992893218994, -0.4258929193019867, -0.8693755865097046, 0.6787558197975159, -0.40464743971824646, -0.22303037345409393, -0.28355973958969116, -0.3994726538658142, -0.563217043876648, -0.18391932547092438, 0.24507375061511993, 0.5907270908355713, 0.08389903604984283, 0.7562589049339294, -0.3239997625350952, -0.03674996271729469, 0.19206860661506653, -0.3730543255805969, 1.0121088027954102, -0.03801963850855827, -0.3929983973503113, 0.14416295289993286, -0.5599061846733093, 0.11420909315347672, -0.3816874623298645, -0.047316499054431915, -0.33948346972465515, 0.3144086003303528, 0.09444846957921982, 0.2894704043865204, 0.22166825830936432, -1.0415397882461548, -0.053954120725393295, 0.08721879124641418, 0.40958014130592346, 1.249306082725525, -0.4463983178138733, 0.5169066786766052, -0.0487552210688591, 0.21437430381774902, -0.25997012853622437, 0.181895911693573, 0.6165398359298706, -0.8191350698471069, -0.6172377467155457, -0.23381097614765167, 0.46307265758514404, 0.5960018634796143, -0.48191145062446594, 0.7997923493385315, -0.4558231830596924, -0.6090487837791443, -0.27095910906791687, 0.13992317020893097, -0.03815388306975365, 0.2932582199573517, 0.37106549739837646, 0.09673242270946503, -0.5836132764816284, -1.0035324096679688, -0.2552904784679413, -0.4886683523654938, -0.17691588401794434, 0.3126736879348755, 0.3234025239944458, 0.07635337114334106, 1.0830214023590088, -0.11457598209381104, -0.4476720690727234, -0.09413184225559235, 0.44310876727104187, 0.26918724179267883, -0.06421610713005066, 0.2614273428916931, -1.2020183801651, -0.46417236328125, 0.056675128638744354, -0.3479151427745819, 0.17384907603263855, -0.17123806476593018, -0.01387700717896223, -0.06536722928285599, 0.16559544205665588, 0.03459683060646057, 0.0026416254695504904, 0.5683930516242981, -0.17783290147781372, 0.14206892251968384, 0.18476171791553497, 0.07995793968439102, -0.8094204068183899, -0.46996039152145386, 0.23412081599235535, -0.20720884203910828, -0.4024893641471863, -0.6676317453384399, 0.19816341996192932, 0.15181304514408112, -0.7814866304397583, -0.037830110639333725, 0.28092366456985474, -0.056626468896865845, -0.08602464199066162, -0.03133014962077141, -0.6552258729934692, 0.24054205417633057, 0.42567092180252075, 0.45204442739486694, 0.4382841885089874, -0.41281670331954956, 0.6608457565307617, 0.10181806236505508, -0.7216113209724426, 0.5035827159881592, -0.15103697776794434, -0.07594706118106842, -0.29228150844573975, 0.2077687531709671, -1.2690436840057373, -0.3109642565250397, -0.2521614134311676, -0.8135192394256592, -0.03157295659184456, -0.42913052439689636, -0.39045247435569763, -0.3187599778175354, -0.5489050149917603, -0.25634101033210754, 0.4441204369068146, -0.6675522327423096, 0.5318432450294495, 0.7343360781669617, -0.1255774348974228, -0.9633869528770447, -0.43388301134109497, 0.022908760234713554, -0.27923059463500977, -0.5948362946510315, 0.22239193320274353, 0.1637960523366928, 0.1769864559173584, 0.4074876010417938, -0.22792215645313263, -0.544364333152771, -0.4611733555793762, 0.02342262864112854, -0.09036125987768173, -0.11499206721782684, 0.3695581257343292, -0.06630408018827438, 0.36372339725494385, 0.16307911276817322, -0.16725613176822662, 0.5318775773048401, -0.2916856110095978, -0.058986760675907135, -0.5447053909301758, 0.2265474647283554, 0.7530303597450256, -0.2812868058681488, 0.21988098323345184, 0.9578903317451477, -0.34560173749923706, -0.4436136782169342, -0.6747130155563354, -0.1095428466796875, -0.44363346695899963, 0.5499846339225769, 0.29415735602378845, -0.4942689538002014, 0.4886420667171478, 0.40974146127700806, 0.15604324638843536, 0.1832013726234436, 0.7047714591026306, -0.13258273899555206, 0.9620736241340637, 0.6113765835762024, -0.5344619154930115, 0.8428350687026978, -0.5107955932617188, 0.26102545857429504, -0.18392682075500488, -0.17732416093349457, -0.3671899735927582, -0.7068024277687073, -0.7526650428771973, -0.36617109179496765, 0.09484289586544037, -0.6998080611228943, -0.5146961212158203, 0.42351749539375305, -0.6768062114715576, 0.6236749887466431, 0.5667519569396973, 0.19678343832492828, -0.05913414806127548, 0.31211113929748535, 0.30148065090179443, -0.3456357419490814, -0.5392497777938843, -0.5108116269111633, 1.1654595136642456, 0.4152431786060333, 0.9238133430480957, 0.32166382670402527, 0.8832936882972717, 0.8712674379348755, 0.5762677788734436, -1.0242739915847778, 0.6369187831878662, -0.7413665652275085, -0.7981923222541809, -0.5231180787086487, -0.2530580759048462, -0.7314843535423279, -0.2376377135515213, -0.04120924323797226, -0.3777780830860138, 0.04743608832359314, -0.1557452231645584, -0.4045656621456146, 0.9811835289001465, -0.2722535729408264, 0.7265352606773376, -0.6130874156951904, -0.3336952328681946, -0.14647839963436127, -0.6458634734153748, 0.31595760583877563, 0.05046195909380913, 0.4116789996623993, -0.2221733033657074, -0.09491892904043198, 1.0238553285598755, -0.19407004117965698, 0.7020188570022583, -0.5367255210876465, -0.0771622508764267, 0.273226261138916, -0.4616507589817047, 0.004114291165024042, 0.11941669881343842, 0.16052807867527008, -0.12107835710048676, -0.37570616602897644, -0.17741593718528748, -0.4559851288795471, 0.7248005867004395, -0.9894610643386841, -0.390455037355423, -0.5792509913444519, -0.16922253370285034, -0.18163609504699707, 0.15594923496246338, 0.306733101606369, -0.030828256160020828, -0.18019990622997284, 0.8927522897720337, 1.0896313190460205, -0.08478271216154099, 0.3949755132198334, 0.12650825083255768, -0.11102216690778732, -0.7756910920143127, 1.168297290802002, 0.16463671624660492, -0.06041999161243439, 0.55370032787323, 0.35200247168540955, -0.6416001319885254, -0.3518017828464508, -0.508888840675354, 0.01030662003904581, -0.579725444316864, -0.31758326292037964, -0.2959488034248352, -0.3821793496608734, 0.027922727167606354, -0.3007599115371704, -0.6495182514190674, -0.1586441546678543, -0.1453162282705307, -0.06818114221096039, 0.2518922984600067, 0.5008906722068787, 0.0676603615283966, 0.14234507083892822, -0.3861982226371765, 0.4643186926841736, 0.8880636096000671, 0.5292882919311523, -0.40897336602211, -0.4846924841403961, 0.18503932654857635, 0.07285373657941818, -0.44993284344673157, -1.1141846179962158, 0.2571306526660919, 0.42974069714546204, 0.40143099427223206, 0.8608507513999939, 0.30296793580055237, 0.43706125020980835, -0.6306018233299255, 0.9192776679992676, 0.3025414049625397, -0.8571183681488037, 0.5818898677825928, -0.326941579580307, -0.44798848032951355, 0.4634712040424347, 0.7056106925010681, -0.04006548598408699, -0.5403977036476135, -0.6386058926582336, -0.3973633050918579, 0.3319246470928192, 0.2273223102092743, 0.4826091527938843, -0.14255590736865997, -0.15819686651229858, 0.2825722098350525, 0.35767775774002075, -0.9399294257164001, -0.0963267907500267, -0.5515229105949402, -0.2397785782814026, 0.010090244933962822, 0.09604109078645706, 0.006587829440832138, -0.24034881591796875, 0.6792900562286377, -0.20173855125904083, 0.3020860552787781, -0.04768379032611847, 0.08691864460706711, -0.10633522272109985, 0.3890153467655182, 0.5140713453292847, 0.48621854186058044, -0.8139368891716003, 0.024474577978253365, -0.41866204142570496, -0.37157389521598816, 0.3588305711746216, -0.10043055564165115, -0.3576541543006897, 0.5275899767875671, -0.1441878080368042, 0.36443066596984863, 0.002263170899823308, -0.5696447491645813, 0.6651982665061951, -0.1082739606499672, -0.1441749781370163, -0.6361768841743469, -0.1706027239561081, 0.043834343552589417, 0.25116702914237976, 0.5842636823654175, 0.11590825766324997, 0.14865246415138245, -0.8360568881034851, 0.5994272828102112, 0.8805831074714661, -0.3844175934791565, -0.139475017786026, 0.5507116317749023, 0.486662894487381, -0.5274789333343506, 0.2787800431251526, -0.3200311064720154, -0.9873377084732056, 0.6953641176223755, 0.12795722484588623, 0.8836695551872253, -0.2793700397014618, 0.7211096882820129, 0.35884588956832886, 0.2659966051578522, -0.2056363970041275, 0.24995718896389008, 0.008711818605661392, -0.8106176257133484, -0.45237627625465393, -0.5036095976829529, -0.5325522422790527, 0.5241215229034424, -0.8008167147636414, 0.6151207685470581, -0.6771368384361267, -0.5489079356193542, 0.37647494673728943, 0.31065356731414795, -0.29926061630249023, 0.3284634053707123, 0.6357020139694214, 0.8000535368919373, -1.2596997022628784, 0.933630108833313, 0.8510149121284485, 0.10479262471199036, -0.20431110262870789, 0.10939624160528183, 0.08394930511713028, -0.560008704662323, 0.5174399614334106, 0.2631593346595764, -0.29557913541793823, -0.30961233377456665, -0.5780150890350342, -0.35512834787368774, 0.5699248909950256, 0.3116362690925598, -0.5141226649284363, -0.28990039229393005, 0.09199967980384827, 0.37434229254722595, -0.4863997995853424, -0.1742233783006668, -0.04405857250094414, 0.3590375781059265, -0.06850314885377884, -0.737619161605835, -0.5686139464378357, -0.12528830766677856, -0.32505035400390625, 0.3775540590286255, -0.7326805591583252, 0.9543383717536926, -0.09964446723461151, 0.1231786236166954, -0.17019079625606537, 0.6425700187683105, -0.018263716250658035, 0.4855809807777405, 1.0326260328292847, 0.4537470042705536, 0.7379541993141174, -0.15820984542369843, 0.4967137277126312, -0.25621551275253296, 0.7306194305419922, 0.7948190569877625, 0.28913378715515137, 1.0700314044952393, 0.3106735050678253, -0.36299777030944824, 0.8751089572906494, 0.5904092788696289, -0.31407517194747925, 0.8720809817314148, 0.2381291687488556, -0.1781361848115921, -0.6296558976173401, 0.10161716490983963, -0.18636538088321686, 0.5937500596046448, 0.43348193168640137, -0.4988550543785095, -0.22680076956748962, 0.12325628101825714, 0.02421141229569912, 0.2628140449523926, -0.39269620180130005, 0.43154361844062805, -0.438226580619812, -0.6708970069885254, 0.497013658285141, -0.32916292548179626, 0.8407455682754517, -0.4563387930393219, 0.28543856739997864, 0.2033872753381729, 0.3055473566055298, -0.31864631175994873, -1.1883130073547363, 0.01767909713089466, 0.46088963747024536, -0.1711536943912506, -0.16145077347755432, 0.2704636752605438, -0.6345294713973999, -0.5118499994277954, 0.18510118126869202, 0.22357764840126038, 0.04665076360106468, -0.13520024716854095, -0.7422758936882019, 0.11572172492742538, 0.19316649436950684, 0.13952112197875977, 0.20134377479553223, 0.5439273118972778, 0.10660935938358307, 0.6712186336517334, 0.5932732820510864, 0.08365067839622498, 0.21076300740242004, -0.19927245378494263, 0.7915372848510742, -0.6651093363761902, -0.5838229656219482, -0.7939785122871399, 0.2916256785392761, -0.41428324580192566, -0.03006584942340851, 0.626213014125824, 0.7825606465339661, 0.8737497329711914, -0.2232198417186737, 0.8965583443641663, -0.3664225935935974, 0.36683568358421326, -0.334246426820755, 0.7229727506637573, -0.6341946125030518, -0.1764208972454071, -0.3002493381500244, -0.5815958380699158, -0.31700795888900757, 1.0438073873519897, -0.3315770924091339, -0.21906349062919617, 0.23086969554424286, 0.5375708341598511, -0.37942031025886536, 0.18656326830387115, 0.03717642277479172, 0.018900595605373383, 0.5809367895126343, 0.6047662496566772, 0.7910524010658264, 0.042574211955070496, 0.8901034593582153, -0.7484298348426819, -0.2906395494937897, -0.5109027028083801, -1.1568771600723267, -1.199879765510559, -0.7080709338188171, -0.4067627191543579, -0.39713653922080994, 0.03131963312625885, 0.8976025581359863, 1.049996256828308, -0.9703604578971863, -0.2699255645275116, 0.0041514248587191105, 0.3129810690879822, -0.07364118099212646, -0.29720520973205566, 0.338455468416214, -0.09816360473632812, -0.9149968028068542, -0.12915492057800293, -0.01364755630493164, -0.44051921367645264, -0.4836837351322174, 0.09362784773111343, -0.4613508880138397, 0.1803576648235321, 0.5697353482246399, 0.41872209310531616, -1.2814165353775024, -0.7401003837585449, 0.26135528087615967, 0.15638527274131775, 0.2536605894565582, 0.8407835960388184, -0.5777288675308228, 0.6070380806922913, 0.6067948341369629, 0.6908586621284485, 0.2642495334148407, 0.39854201674461365, 0.12273042649030685, -0.7511760592460632, -0.1216195747256279, 0.5667700171470642, 0.11288366466760635, 0.5674855709075928, -0.053320109844207764, 0.09339741617441177, 0.07130797207355499, -0.5539433360099792, -0.7598123550415039, 0.17171207070350647, -1.2731682062149048, 0.03361876308917999, 1.0683856010437012, 0.056150879710912704, -0.1781102567911148, 0.009728875942528248, -0.20350103080272675, 0.24418945610523224, -0.8317855596542358, 1.0333436727523804, 0.8511919975280762, -0.055185526609420776, -0.31723257899284363, -0.5969205498695374, 0.6406844854354858, 0.11599547415971756, -0.29903921484947205, -0.0718250572681427, 0.3653070628643036, 0.560133159160614, 0.5933366417884827, 0.13743332028388977, 0.18340647220611572, 0.5505980849266052, -0.7056335210800171, -0.28531524538993835, 0.28124967217445374, -0.4161943793296814, -0.09723757952451706, 0.41322025656700134, -0.4918040633201599, -0.5144351124763489 ]
http://arxiv.org/abs/2402.10992v1
http://arxiv.org/pdf/2402.10992v1
"Understanding AI": Semantic Grounding in Large Language Models
2024-02-16T14:23:55
2024-02-16T14:23:55
Holger Lyre
cs.CL
cs.CL, cs.AI
Do LLMs understand the meaning of the texts they generate? Do they possess a semantic grounding? And how could we understand whether and what they understand? I start the paper with the observation that we have recently witnessed a generative turn in AI, since generative models, including LLMs, are key for self-supervised learning. To assess the question of semantic grounding, I distinguish and discuss five methodological ways. The most promising way is to apply core assumptions of theories of meaning in philosophy of mind and language to LLMs. Grounding proves to be a gradual affair with a three-dimensional distinction between functional, social and causal grounding. LLMs show basic evidence in all three dimensions. A strong argument is that LLMs develop world models. Hence, LLMs are neither stochastic parrots nor semantic zombies, but already understand the language they generate, at least in an elementary sense.
[ -0.36776968836784363, -0.8058589696884155, 0.9356436133384705, 0.05300777032971382, -0.273004412651062, -0.007980559952557087, -0.15424467623233795, -0.34843960404396057, -0.15106426179409027, 0.643424391746521, -0.5084559321403503, -0.4331817626953125, -0.8307273387908936, 0.05281153693795204, -0.611045777797699, 0.8496378064155579, 0.15030530095100403, 0.13360129296779633, -0.661567747592926, -0.17300966382026672, -0.17036594450473785, -0.5243694186210632, -0.64447420835495, -0.620201587677002, 0.24642710387706757, 0.1827886402606964, 0.6989892721176147, 0.9555306434631348, 0.4594687819480896, 0.36547309160232544, -0.1695806384086609, -0.16485431790351868, -0.4488081634044647, 0.15864473581314087, -0.11649016290903091, -0.9471640586853027, -0.05429759621620178, 0.38276514410972595, 0.5553830862045288, 1.075249433517456, 0.24699272215366364, -0.07131971418857574, -0.040750227868556976, 0.7922021150588989, -0.290447860956192, 0.28389909863471985, -0.6823888421058655, 0.23910030722618103, 0.1342271864414215, -0.16321609914302826, -0.2651406228542328, 0.09912222623825073, -0.0992337167263031, -0.4821447730064392, 0.1862637847661972, 0.15504351258277893, 0.6230272054672241, 0.5209077596664429, -0.49079352617263794, -0.396685928106308, -0.6104904413223267, 0.7554641366004944, -0.4424401819705963, 0.3680655360221863, 0.5057393312454224, 0.15533094108104706, -0.2190360426902771, -0.5932148098945618, -0.7728275060653687, -0.5383081436157227, 0.01846645027399063, 0.18851540982723236, 0.16929592192173004, 0.1534043848514557, 0.2882274389266968, 0.6958566904067993, -0.24548637866973877, 0.2743518650531769, -0.35428130626678467, 0.1175626590847969, 0.5780746936798096, -0.08915633708238602, 0.6428958177566528, -0.019790105521678925, -0.49360406398773193, 0.14648279547691345, -0.7520296573638916, -0.3135909140110016, 0.2094603180885315, 0.07408503443002701, -0.19955942034721375, 0.7029853463172913, -0.14149846136569977, 0.6633967161178589, -0.04823180288076401, -0.23175235092639923, -0.11231987178325653, -0.16691966354846954, -0.39317694306373596, -0.10372157394886017, 0.5010523796081543, 0.2651475965976715, 0.48543548583984375, -0.6278040409088135, -0.09123361855745316, 0.31223997473716736, 0.31060919165611267, -0.3275437355041504, -0.02773260697722435, 0.34005245566368103, -0.650726854801178, -0.40350398421287537, -0.09111463278532028, 0.06802090257406235, -0.37973496317863464, -0.6911497712135315, 0.2290986329317093, -0.5542578101158142, -0.3052316904067993, 0.049582935869693756, -0.16793552041053772, 0.8892988562583923, 0.4384503960609436, -0.8991372585296631, 0.3846241533756256, 0.9319097995758057, 0.5828852653503418, -0.11894157528877258, -0.6134185194969177, -0.12777265906333923, 0.31219643354415894, -0.6103604435920715, 0.824002742767334, -0.3281792104244232, -0.3212296664714813, -0.07058250159025192, -0.15531133115291595, 0.15796621143817902, -0.5018047094345093, 0.3372144401073456, -0.5373698472976685, 0.30940860509872437, -0.2532998025417328, -0.6763257384300232, -0.33334842324256897, 0.4029543697834015, -0.32833370566368103, 0.6621527671813965, -0.3323008418083191, -0.5077459812164307, 0.281453937292099, -0.5449402928352356, -0.3731500804424286, 0.12634499371051788, -0.37127798795700073, 0.2047530561685562, 0.48109349608421326, 0.015644840896129608, 0.6477530002593994, -0.3828466534614563, 0.4382288157939911, -0.2187577188014984, -0.09738155454397202, 0.28926628828048706, -0.3730790317058563, 0.8177674412727356, 0.25390639901161194, -0.26883602142333984, -0.10182134807109833, -0.843008816242218, -0.05705959349870682, 0.3215889632701874, -0.13535036146640778, -0.29215458035469055, 0.4417732357978821, -0.3429599106311798, 0.3467988073825836, 0.17122405767440796, -0.20026874542236328, 0.06655620783567429, -0.5367240905761719, 0.6711245179176331, 0.5743752717971802, -0.27528145909309387, 0.5630245208740234, -0.17826344072818756, 0.10368325561285019, 0.16525360941886902, -0.29064077138900757, -0.33671608567237854, -0.3989918529987335, -1.2107205390930176, 0.0844380110502243, 0.1252102553844452, 0.49365535378456116, -0.4152390956878662, 0.701953113079071, 0.0030815782956779003, -0.255474716424942, -0.4823445677757263, 0.21433275938034058, 0.26374897360801697, 0.35448795557022095, 0.35652533173561096, 0.047457195818424225, -0.14101245999336243, -0.8763935565948486, -0.2419360727071762, -0.3479378819465637, -0.11265463382005692, 0.3372719883918762, 0.7587021589279175, -0.4437367916107178, 0.8357694149017334, -0.24443957209587097, -0.01588769443333149, -0.32789233326911926, 0.19862540066242218, -0.0358416885137558, 0.40828511118888855, 0.34508323669433594, -0.8739088177680969, 0.003438676008954644, -0.05969228968024254, -1.3759267330169678, -0.003126661293208599, -0.16128067672252655, -0.09438233822584152, -0.08824310451745987, 0.7121382355690002, -0.7906851172447205, 0.3186901807785034, 0.28719303011894226, -0.2555961310863495, 0.11589644104242325, -0.3222265839576721, -0.1919880360364914, -0.9258906841278076, -0.26771625876426697, -0.12210038304328918, -0.3201439678668976, -0.697458028793335, 0.3505367040634155, -0.2876470685005188, -0.06836311519145966, -0.2811594605445862, 0.43659576773643494, -0.5740089416503906, -0.3812578022480011, -0.5299425721168518, 0.5902581214904785, -0.03480024263262749, 0.1347123682498932, 0.19299426674842834, 0.5653719902038574, 0.49189215898513794, -0.7844972014427185, 0.5268607139587402, 0.026571694761514664, -0.25775066018104553, 0.576369047164917, -0.5600697994232178, 0.26842907071113586, -0.5302534699440002, 0.25550779700279236, -1.0145257711410522, -0.16521145403385162, 0.23442460596561432, -0.6349937915802002, -0.1630980372428894, -0.08614630997180939, -0.3785303831100464, -0.157297283411026, 0.11581498384475708, 0.32247331738471985, 0.5187321901321411, -0.4561205208301544, 0.5865328907966614, 0.4912404417991638, 0.2363794595003128, -0.2460346519947052, -0.751997172832489, 0.4193641245365143, -0.46521955728530884, -0.6351253390312195, 0.3412850797176361, 0.10539611428976059, -0.9433233737945557, 0.0394909493625164, 0.06279213726520538, 0.05358182266354561, 0.5793073773384094, 0.3438401520252228, -0.2890060245990753, -0.3159884214401245, 0.25989988446235657, -0.17981719970703125, -0.5167402029037476, 0.5229187607765198, -0.6822824478149414, 0.4645718038082123, -0.08356886357069016, -0.3797153830528259, -0.37337663769721985, 0.29021966457366943, 0.6364408135414124, -0.16562628746032715, 0.740489661693573, 0.32220277190208435, -0.5255122780799866, -0.2061462253332138, -0.45590460300445557, -0.06946032494306564, -0.3987044095993042, 0.04414144530892372, -0.535338819026947, -0.689487874507904, 0.5586264729499817, -0.24118325114250183, -0.1681489497423172, 0.8216288685798645, 0.8249109983444214, -0.39909258484840393, 0.8832870125770569, 0.9617356657981873, -0.15387877821922302, 0.0670921579003334, -0.47854480147361755, 0.17324504256248474, -0.6166101694107056, -0.18086285889148712, -0.531832218170166, -0.03899397701025009, -0.6797718405723572, -0.427521288394928, 0.18996955454349518, 0.42046332359313965, -0.1573515683412552, -0.2507443130016327, -0.11614032089710236, 0.501593828201294, 0.5621837377548218, -0.10388226807117462, 0.18568725883960724, -0.09937576204538345, 0.008852280676364899, 0.2402908205986023, -0.44756603240966797, -0.8331627249717712, 0.7563754916191101, 0.5170959830284119, 0.8156978487968445, 0.0077975112944841385, 0.5553264021873474, 0.20386917889118195, 0.19089221954345703, -0.8349927067756653, 0.5001980066299438, 0.08253510296344757, -0.42676910758018494, -0.27809128165245056, 0.030331533402204514, -0.6682811975479126, 0.4862867295742035, -0.24548792839050293, -0.5049194693565369, -0.2498798668384552, -0.008673618547618389, 0.09045127779245377, 0.3116372525691986, -0.3808070421218872, 0.8234961032867432, -0.533392071723938, 0.021986210718750954, -0.4445393681526184, -0.8741508722305298, 0.45795953273773193, 0.20480333268642426, 0.4171171486377716, -0.32081735134124756, -0.12853184342384338, 0.7739801406860352, -0.23728908598423004, 0.8553076386451721, -0.059159599244594574, -0.4529353082180023, 0.27686893939971924, -0.15853583812713623, 0.15652544796466827, 0.11204338818788528, 0.05471406877040863, 0.2008715271949768, -0.13660390675067902, -0.5696542859077454, -0.8244681358337402, 0.5258138179779053, -1.1112971305847168, -0.8079766631126404, -0.35782989859580994, -0.48931777477264404, -0.1281822919845581, 0.25136587023735046, 0.19670608639717102, 0.1655593067407608, -0.34585973620414734, 0.051212992519140244, 0.7649158835411072, -0.13129769265651703, 0.1678147315979004, 0.3167731463909149, -0.2388000637292862, -0.12938658893108368, 0.7703065276145935, -0.065854012966156, 0.24369454383850098, 0.5601061582565308, 0.24028900265693665, -0.19478654861450195, -0.659200131893158, -0.42356881499290466, 0.2925402522087097, -1.089033842086792, 0.3331371247768402, -0.744093120098114, -0.2891788184642792, -0.2556532919406891, -0.24630780518054962, -0.08073198050260544, -0.1542734056711197, -0.48974958062171936, -0.3674982488155365, 0.19206562638282776, 1.1544286012649536, 0.08089298754930496, 0.5088621973991394, -0.5181900858879089, 0.4994813799858093, 0.32073208689689636, 0.003992539830505848, -0.19811828434467316, -0.40288376808166504, -0.12279635667800903, 0.2342865914106369, -0.12863197922706604, -0.9352673888206482, 0.10888084024190903, 0.07367285341024399, 0.559268057346344, 0.5505867600440979, -0.1515786349773407, 0.5126453042030334, -0.6218261122703552, 0.9463826417922974, -0.17537468671798706, -1.0762052536010742, 0.6314997673034668, -0.4361502230167389, -0.039792250841856, 0.29444873332977295, 0.42828938364982605, -0.615702748298645, -0.6016242504119873, -0.802814245223999, -0.5939443111419678, 0.34252235293388367, 0.07657984644174576, 0.6213722825050354, -0.2520047426223755, 0.7915077209472656, 0.03438722714781761, 0.2055855244398117, -0.9973773956298828, -0.4119510054588318, -0.12530069053173065, -0.18550315499305725, -0.5225291848182678, -0.5476703643798828, -0.22554244101047516, -0.07668444514274597, 0.2622435390949249, -0.30933240056037903, 0.41001996397972107, -0.07090789079666138, -0.400777667760849, 0.04644521325826645, 0.04153859615325928, 0.4856818616390228, 0.8909295797348022, 0.1594141572713852, 0.5541893839836121, 0.09228409081697464, -0.01678638346493244, 0.253898948431015, -0.41248437762260437, -0.03287181258201599, -0.3665512502193451, 0.8068816661834717, 0.7974089980125427, -0.03338860720396042, -0.3500225245952606, 0.38002172112464905, 0.003945763222873211, -0.21115146577358246, -0.5336939096450806, 0.27514222264289856, 0.057205796241760254, 0.15810182690620422, 0.26809823513031006, -0.3869759142398834, 0.044418737292289734, -0.6920567154884338, 0.042112525552511215, 0.6066917181015015, -0.1280909776687622, -0.36909961700439453, 0.5351312160491943, 0.1580311805009842, -0.33497676253318787, 0.6470748782157898, 0.03237413614988327, -0.5870240330696106, 0.7932312488555908, 0.8828127384185791, 0.9527899026870728, 0.12821178138256073, -0.06289590895175934, -0.17636126279830933, 0.3984932005405426, 0.0610167495906353, 0.06507746875286102, -0.3719877004623413, -1.174678087234497, -0.41583654284477234, -0.5052176713943481, -0.5659521222114563, 0.11668280512094498, -0.6497182846069336, 0.10484698414802551, -0.31526705622673035, 0.29855337738990784, 0.14685477316379547, -0.05240533500909805, -0.43549808859825134, 0.525203287601471, 0.4393492043018341, 0.7679135799407959, -1.1161826848983765, 0.6873932480812073, 0.7680196166038513, -0.2951469421386719, -0.2674987018108368, 0.3567999005317688, -0.22252236306667328, -1.1508396863937378, 1.086734414100647, 0.35710760951042175, -0.22714532911777496, 0.41497787833213806, -0.9491801857948303, -0.9131686687469482, 0.8235982656478882, 0.16360999643802643, 0.09028509259223938, -0.024847283959388733, 0.13251464068889618, 0.4274674654006958, -0.4482031464576721, 0.2520037889480591, 0.5665841698646545, 0.4147554934024811, -0.12286269664764404, -0.2940787374973297, -0.2838941514492035, -0.08369158953428268, 0.14310435950756073, -0.08286074548959732, -0.5433715581893921, 0.759907066822052, -0.15680544078350067, -0.2585366666316986, -0.050619639456272125, 1.0581364631652832, -0.05012902244925499, 0.2571514844894409, 0.24153053760528564, 0.8201462030410767, 0.601564884185791, -0.11583758890628815, 1.0513228178024292, -0.5743699073791504, 0.26287299394607544, 0.6187434196472168, -0.14378289878368378, 0.49313950538635254, 0.31596696376800537, -0.3414159417152405, 0.4061422348022461, 0.6596341729164124, 0.2966899275779724, 0.3473424017429352, 0.43609270453453064, -0.16194258630275726, -0.543802797794342, 0.06642268598079681, -0.215974822640419, 0.7772655487060547, 0.608833372592926, -0.2923663556575775, -0.28777632117271423, 0.2411109060049057, -0.06046849861741066, 0.19893401861190796, -0.35414010286331177, 1.273229718208313, 0.3545916676521301, -0.5947979092597961, 0.49842941761016846, 0.3174019455909729, 0.2196132242679596, -0.13336274027824402, 0.004144382197409868, -0.2290698140859604, 0.03568580374121666, -0.00015794066712260246, -0.6796096563339233, 0.31215372681617737, -0.07058250904083252, -0.4297957718372345, -0.3750747740268707, 0.7260390520095825, -0.14973151683807373, -0.44403454661369324, 0.4062750041484833, 0.8490605354309082, 0.5112351775169373, 0.29361987113952637, -0.7744635343551636, 0.03595690429210663, -0.3726869523525238, -0.03583887591958046, 0.29284003376960754, 0.7238725423812866, -0.11348000913858414, 0.889473021030426, 0.5415781140327454, 0.011378421448171139, -0.008847707882523537, -0.1277981996536255, 0.6682845950126648, -0.9710977077484131, -0.37531009316444397, -1.2807042598724365, 0.27397432923316956, 0.2545768618583679, -0.12380749732255936, 0.7287411689758301, 0.24489401280879974, 0.8088000416755676, 0.1619671881198883, 0.8106695413589478, 0.034881457686424255, 0.06895492225885391, -0.8504033088684082, 0.41889718174934387, -0.5154046416282654, 0.015095105394721031, 0.039602842181921005, -0.7092761993408203, -0.4612249433994293, 1.0209696292877197, -0.587601900100708, 0.11441487073898315, 0.4767734110355377, 0.16043506562709808, 0.11718197166919708, -0.1164199635386467, 0.5577738285064697, 0.36313655972480774, 0.32328158617019653, 0.06387075036764145, 1.3472729921340942, -0.13277438282966614, -0.2625012695789337, 0.0114131486043334, -0.26017701625823975, 0.15702517330646515, -0.8107618093490601, -0.9630162715911865, -0.5144042372703552, -0.11209624260663986, -0.2185671031475067, 0.006225058808922768, 0.8492340445518494, 0.5782796740531921, -0.5948650240898132, -0.4018072187900543, -0.5529775023460388, 0.43866121768951416, 0.031850866973400116, -0.1494046449661255, 0.2618664503097534, -0.9516351222991943, -0.6288219690322876, 0.3605237603187561, 0.39900287985801697, 0.13597215712070465, -0.6386463046073914, 0.006716178730130196, 0.1030881479382515, 0.09935414791107178, 0.7567130923271179, 0.03695632889866829, -1.1674623489379883, -0.4395551085472107, -0.28437328338623047, -0.08135001361370087, 0.03385822847485542, 0.6218182444572449, -0.8809468746185303, 0.06093483790755272, 0.31195250153541565, 0.7686858773231506, 0.12373731285333633, 0.08800742775201797, 0.6008031964302063, -0.22552496194839478, 0.3620690703392029, 0.0652041956782341, 0.36965036392211914, 0.24037472903728485, -0.30397605895996094, 0.4596159756183624, 0.5426202416419983, -0.6129428744316101, -0.75963294506073, 0.3227468430995941, -0.45306986570358276, -0.2940759062767029, 1.142870545387268, -0.01709865964949131, -0.3571493923664093, -0.09941740334033966, 0.07764150947332382, 0.16173255443572998, 0.450053334236145, 0.5816303491592407, 0.7474206686019897, -0.20445826649665833, -0.13866552710533142, -0.7479122281074524, 0.4611719250679016, 0.34334832429885864, -0.8832229971885681, 0.06192789599299431, 0.5114293098449707, 0.3060624301433563, 0.21072496473789215, 0.7537950277328491, 0.21004927158355713, 0.0028025880455970764, -0.11786836385726929, -0.010159637778997421, 0.37120500206947327, -0.47707390785217285, -0.43394365906715393, 0.011339081451296806, 0.4252914488315582, -0.12780535221099854 ]
http://arxiv.org/abs/2402.10712v2
http://arxiv.org/pdf/2402.10712v2
An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inference
2024-02-16T14:15:15
2024-06-17T12:00:02
Atsuki Yamaguchi, Aline Villavicencio, Nikolaos Aletras
cs.CL
cs.CL, cs.AI
The development of state-of-the-art generative large language models (LLMs) disproportionately relies on English-centric tokenizers, vocabulary and pre-training data. Despite the fact that some LLMs have multilingual capabilities, recent studies have shown that their inference efficiency deteriorates when generating text in languages other than English. This results in increased inference time and costs. Cross-lingual vocabulary adaptation (CVA) methods have been proposed for adapting models to a target language aiming to improve downstream performance. However, the effectiveness of these methods on increasing inference efficiency of generative LLMs has yet to be explored. In this paper, we perform an empirical study of five CVA methods on four generative LLMs (including monolingual and multilingual models) across four typologically-diverse languages and four natural language understanding tasks. We find that CVA substantially contributes to LLM inference speedups of up to 271.5\%. We also show that adapting LLMs that have been pre-trained on more balanced multilingual data results in downstream performance comparable to the original models.
[ -0.23633238673210144, -0.6176841855049133, 0.3998250365257263, 0.5259039402008057, -0.31432852149009705, 0.07162763923406601, -0.35699161887168884, -0.5003429651260376, 0.08844929188489914, 0.38319748640060425, -0.2910551130771637, -0.46209439635276794, -0.38731348514556885, 0.16408272087574005, -0.08477471768856049, 0.6019721031188965, 0.05016876012086868, 0.4188383221626282, -0.186564639210701, -0.19150155782699585, -0.5289433002471924, -0.6724609136581421, -0.5578974485397339, -0.259674608707428, 0.5145273208618164, -0.021241728216409683, 0.3492893576622009, 0.3685854375362396, 0.057435981929302216, 0.3311620056629181, -0.050628695636987686, 0.18648718297481537, -0.5633184909820557, -0.24716529250144958, -0.43105819821357727, -0.8510394096374512, -0.31998172402381897, -0.34709906578063965, 0.7615712881088257, 0.7716595530509949, -0.039959147572517395, -0.05453207716345787, 0.0996590107679367, 0.5529003739356995, -0.9013688564300537, 0.013585250824689865, -0.9433344006538391, 0.16449834406375885, -0.24230137467384338, -0.35235902667045593, -0.6899108290672302, 0.10475920140743256, 0.3272915780544281, -1.0848958492279053, 0.21562305092811584, 0.12768709659576416, 0.6377188563346863, -0.016888609156012535, -0.22959160804748535, -0.31908950209617615, -0.5763584971427917, 1.0588011741638184, -0.6611594557762146, 0.668321430683136, 0.013956638984382153, 0.07915960997343063, -0.08725395053625107, -0.5433726906776428, -0.4593139886856079, -0.04679393768310547, 0.07370606064796448, 0.359527051448822, -0.27779945731163025, -0.03711364418268204, 0.0571041963994503, 0.16739369928836823, -0.49096164107322693, 0.7421961426734924, -0.1768067628145218, -0.14443424344062805, 0.4634341597557068, -0.09303858876228333, 0.27690330147743225, -0.29502665996551514, -0.5559477210044861, -0.17768406867980957, -0.72858065366745, 0.005499501246958971, 0.2566869556903839, 0.47414907813072205, -0.430040180683136, 0.41492876410484314, 0.161878764629364, 0.8593276143074036, -0.16630184650421143, -0.20485365390777588, 0.3372766673564911, -0.6618187427520752, -0.2650124132633209, -0.07864349335432053, 0.5359572768211365, 0.25318607687950134, 0.6559445261955261, -0.4009130597114563, 0.026359528303146362, -0.08562853187322617, 0.11748000979423523, -0.6571372151374817, -0.02405151166021824, -0.06257935613393784, -0.32059869170188904, 0.17654742300510406, -0.2898312509059906, -0.6897925138473511, -0.18594712018966675, -0.23069579899311066, 0.40093615651130676, -0.5107420682907104, -0.22502610087394714, 0.1091199666261673, -0.2824772298336029, 0.5890723466873169, 0.362511545419693, -0.8285300135612488, 0.02305545099079609, 0.693215548992157, 0.9740583896636963, -0.46125203371047974, -0.5590637922286987, -0.6521251797676086, 0.08979415893554688, -0.6479703783988953, 0.8594956994056702, -0.3192596137523651, -0.37795495986938477, -0.006958208046853542, 0.044618021696805954, -0.4902056157588959, -0.5200244784355164, 0.3361998200416565, -0.7347384095191956, 0.12922579050064087, -0.2849966287612915, -0.4369901716709137, -0.2919725477695465, 0.07981612533330917, -0.711482584476471, 0.7070941925048828, 0.025703897699713707, -0.6665517091751099, 0.7609005570411682, -0.4214283525943756, -0.5753401517868042, 0.07908642292022705, 0.05051642283797264, -0.05905028432607651, 0.35406509041786194, 0.4936623275279999, 0.5166002511978149, -0.5243757367134094, 0.0403861328959465, -0.31770947575569153, -0.18880780041217804, 0.12557891011238098, -0.5123048424720764, 0.874587893486023, 0.07808467745780945, 0.06281234323978424, 0.03012726828455925, -0.6442022919654846, -0.16878841817378998, -0.012873057276010513, -0.33319467306137085, -0.8873811960220337, 0.0007221426931209862, 0.052554309368133545, 0.14184388518333435, -0.052137356251478195, -0.2959485352039337, -0.14721611142158508, -0.4817323684692383, 0.13221409916877747, 0.8655911087989807, -0.3082047998905182, 0.42410174012184143, -0.25942912697792053, 0.7099846005439758, 0.21433618664741516, -0.3139241635799408, 0.04927348718047142, -0.2721625864505768, -0.8674368262290955, -0.6660482287406921, 0.5939674973487854, 0.6171388626098633, -1.1785045862197876, 0.15945620834827423, -0.6230771541595459, -0.3887362778186798, -0.5071265697479248, 0.28870174288749695, 0.4665363132953644, 0.24614711105823517, 0.2510824501514435, -0.5267658233642578, -0.3211565613746643, -0.7322639226913452, -0.6293026804924011, -0.271134614944458, -0.2136765718460083, 0.30419546365737915, 0.3794315755367279, 0.0908929780125618, 0.6486372947692871, -0.02583226002752781, 0.16825327277183533, -0.4834771156311035, 0.1416609287261963, -0.04840286076068878, 0.08301127701997757, 1.0046806335449219, -0.6763865351676941, -0.5605690479278564, 0.2135205864906311, -0.5490312576293945, -0.2769976258277893, -0.40173858404159546, -0.3983802795410156, 0.49493715167045593, 0.2866554260253906, -0.3438693583011627, 0.07948370277881622, 1.0546770095825195, -0.2542096972465515, 0.3935329020023346, -0.3707272708415985, -0.027687877416610718, -1.1316055059432983, -0.14337694644927979, 0.13384942710399628, -0.1408597230911255, -0.7514928579330444, -0.017318105325102806, 0.10476057231426239, 0.3350818455219269, -0.5504692792892456, 0.7051685452461243, -0.8498402237892151, -0.33360016345977783, 0.058942168951034546, 0.22294709086418152, 0.0033082962036132812, 0.38197821378707886, 0.3407408893108368, 0.9199415445327759, 0.5934992432594299, -0.7928688526153564, -0.1540302336215973, -0.034435950219631195, -0.45110848546028137, 0.5072150826454163, -0.3678945302963257, -0.19408081471920013, -0.24604785442352295, 0.09849519282579422, -0.7711343765258789, 0.15562081336975098, -0.1252671331167221, -0.10979326069355011, 0.352385014295578, -0.17922692000865936, -0.17675162851810455, 0.08464254438877106, -0.21124394237995148, 0.4015657901763916, 0.33476120233535767, -0.8755646347999573, 1.0827503204345703, 0.29960209131240845, -0.16406042873859406, -0.5173701643943787, -0.8690352439880371, 0.08063838630914688, -0.2826043665409088, -0.6103468537330627, 0.4102919101715088, 0.06973734498023987, -0.3464832901954651, -0.22329863905906677, 0.062385194003582, 0.10232964158058167, 0.26107603311538696, -0.20247143507003784, 0.19862177968025208, -0.36559244990348816, 0.25469762086868286, 0.05028102919459343, 0.1692153364419937, 0.13161532580852509, -0.1738826036453247, 0.5334162712097168, 0.0793721079826355, -0.27022162079811096, -0.09973461180925369, 0.16934053599834442, 0.5560120344161987, -0.2645569443702698, 0.9630218744277954, 0.5433849096298218, -0.13370689749717712, -0.5378438234329224, -0.480216920375824, 0.04604497179389, -0.3776194751262665, 0.6358689069747925, -0.7421827912330627, -0.6152093410491943, 0.5863578915596008, 0.02950281836092472, 0.1877414733171463, 0.5012031197547913, 0.7146851420402527, 0.3669581115245819, 0.4662855565547943, 0.5179404020309448, -0.12038879841566086, 0.5000704526901245, -0.030500998720526695, 0.2083526998758316, -0.6655756235122681, -0.05594401806592941, -0.466915488243103, 0.1225031167268753, -0.9943114519119263, -1.0000642538070679, 0.22295843064785004, 0.08795087784528732, 0.32879510521888733, 0.1485014706850052, 0.1439364105463028, 0.052339229732751846, 0.3934605121612549, -0.14685319364070892, 0.49365681409835815, 0.34354013204574585, -0.12151192128658295, 0.03994515538215637, -1.2472262382507324, -0.14584143459796906, 1.1291508674621582, 0.2474658042192459, 0.7100376486778259, 0.28386640548706055, 0.33014023303985596, -0.10878323018550873, 0.6527404189109802, -0.7364279627799988, 0.224791020154953, -0.5764663219451904, -0.47537097334861755, -0.17897097766399384, -0.5538193583488464, -0.8806665539741516, 0.6972945928573608, -0.2285403460264206, -0.4070853888988495, 0.30695927143096924, 0.04941853508353233, -0.04335261508822441, 0.285515695810318, -0.7985172867774963, 0.8004614114761353, -0.3974915146827698, -0.3174006938934326, -0.24509166181087494, -0.16971009969711304, 0.461317777633667, -0.6417674422264099, 0.4515238404273987, -0.042453162372112274, -0.1501874178647995, 0.7575608491897583, -0.25624457001686096, 0.7555517554283142, -0.07218232750892639, -0.382581889629364, 0.12075360119342804, -0.32081112265586853, 0.4255897104740143, -0.12502075731754303, -0.24758847057819366, 0.6257940530776978, -0.02590613253414631, -0.5604099035263062, -0.5633135437965393, 0.5431190133094788, -0.7519479990005493, -0.5749556422233582, -0.34460657835006714, -0.8284246325492859, -0.34679022431373596, -0.10723622143268585, 0.2943863868713379, 0.2188580483198166, -0.37661927938461304, 0.13206520676612854, 0.40316441655158997, -0.6201598048210144, 0.39014673233032227, 0.6966249346733093, -0.11002004891633987, -0.11424844712018967, 0.7529942989349365, 0.35641613602638245, 0.6804092526435852, 0.694420576095581, 0.19697944819927216, -0.23762676119804382, -0.7509578466415405, -0.6781152486801147, 0.30719318985939026, -0.6266556978225708, 0.24269600212574005, -0.7455999255180359, 0.05094608664512634, -0.44499990344047546, -0.22593773901462555, -0.3108175992965698, -0.2238282561302185, -0.3055866062641144, -0.00892122182995081, 0.48152920603752136, 0.16123521327972412, 0.02013344131410122, 0.1468348503112793, -0.6589483022689819, 0.396095871925354, 0.23209066689014435, -0.08948294073343277, 0.10144468396902084, -0.7972691059112549, -0.1408463418483734, -0.01899428479373455, 0.20449760556221008, -0.5397724509239197, 0.4448666274547577, 0.5362840890884399, 0.628672182559967, 0.08026844263076782, -0.2117261290550232, 1.007380723953247, -0.4226987659931183, 0.6617720723152161, 0.11737764626741409, -0.924933671951294, -0.13845494389533997, -0.10849961638450623, 0.3838970959186554, 0.1277087926864624, 0.45839449763298035, -0.49383941292762756, -0.1686515510082245, 0.021096795797348022, -0.8478225469589233, 0.47410133481025696, -0.0944291204214096, 0.31596726179122925, 0.07246153056621552, 0.1888057291507721, 0.32184261083602905, -0.15535879135131836, -0.6074962615966797, -0.037134818732738495, -0.09324082732200623, -0.03895844891667366, -0.5359982252120972, -0.06797054409980774, 0.19346143305301666, -0.15426774322986603, 0.7173535823822021, -0.53960782289505, -0.10284659266471863, -0.003651811508461833, -0.4711947441101074, 0.24350491166114807, 0.36699435114860535, 0.35648274421691895, 0.8244574069976807, 0.22485335171222687, -0.05855153501033783, 0.6811290979385376, -0.35058537125587463, 0.0053554982878267765, 0.22973506152629852, -0.12302668392658234, 0.06126606836915016, 0.6932076811790466, 0.945997416973114, 0.2648768723011017, -0.7358791828155518, 0.24509234726428986, -0.1816309541463852, -0.09039519727230072, -0.19760604202747345, 0.043257132172584534, 0.35246458649635315, 0.10102244466543198, 0.2859003245830536, -0.3398241698741913, -0.12087693065404892, -0.5763067007064819, -0.2337302565574646, 0.6582207083702087, -0.011907247826457024, -0.21320059895515442, 0.38318750262260437, 0.10021055489778519, 0.03075312077999115, 0.30469098687171936, -0.020408084616065025, -0.34173545241355896, 0.46907681226730347, 0.5562633872032166, 0.8540173768997192, -0.1973610371351242, 0.16040147840976715, 0.16030831634998322, 0.301025927066803, 0.077061228454113, 0.2538636326789856, 0.03294070437550545, -1.0418504476547241, -0.8553982377052307, -0.9268305897712708, -0.23796725273132324, 0.0013342053862288594, -0.6085925102233887, -0.013408524915575981, -0.08070438355207443, 0.07191707193851471, 0.2643183171749115, -0.14153024554252625, -0.778832197189331, 0.07336928695440292, 0.036801353096961975, 1.1773849725723267, -0.9617400169372559, 0.6951795816421509, 0.5821959972381592, 0.10642479360103607, -0.6948238611221313, -0.02469276636838913, -0.17197410762310028, -0.9237695932388306, 0.6800547242164612, -0.037965912371873856, -0.3261418342590332, 0.04003462940454483, 0.009748866781592369, -0.7535214424133301, 0.9122796058654785, 0.46011483669281006, -0.708182156085968, -0.07568500936031342, 0.1652916967868805, 0.6793355941772461, -0.4407719075679779, 0.12335919588804245, 0.5958438515663147, 0.38117554783821106, -0.1260444074869156, -0.8615424633026123, -0.08403351902961731, -0.11861637234687805, 0.4919804632663727, 0.08805715292692184, -0.47958025336265564, 0.7058951258659363, -0.08587037026882172, -0.14068730175495148, 0.10533217340707779, 0.8163971900939941, 0.432143896818161, 0.1487395018339157, 0.7847936153411865, 0.5564749836921692, 0.6591383218765259, 0.061400849372148514, 1.1384576559066772, -0.40919458866119385, 0.01532179769128561, 0.9435889720916748, -0.31902197003364563, 0.7935871481895447, 0.6946752667427063, -0.07381640374660492, 0.6353557705879211, 0.5325999855995178, 0.08888289332389832, 0.3712671101093292, 0.21245960891246796, -0.2859474718570709, -0.39572352170944214, -0.2680017352104187, -0.16337639093399048, 0.7999953031539917, 0.5302603840827942, -0.498104453086853, -0.09888575226068497, 0.024958519265055656, -0.00807357020676136, -0.11895907670259476, -0.4475540220737457, 0.6855219602584839, 0.06509575247764587, -0.929611086845398, 0.8024081587791443, 0.10511474311351776, 0.8262092471122742, -0.6071622371673584, 0.26165682077407837, -0.09953959286212921, 0.1562546193599701, 0.013415603898465633, -0.258748322725296, -0.047032471746206284, 0.1787305772304535, -0.08777301013469696, -0.030758515000343323, 0.4828031063079834, -0.4180082678794861, -0.7134391665458679, 0.7278852462768555, 0.869724452495575, 0.21851301193237305, 0.16991688311100006, -0.5863556265830994, -0.0529671311378479, -0.10311259329319, -0.39941301941871643, 0.3428822457790375, 0.5210235714912415, -0.3387967348098755, 0.4714326560497284, 0.7920756936073303, 0.4012008309364319, 0.36974838376045227, 0.3844200670719147, 0.6003711223602295, -0.41733258962631226, -0.4100242257118225, -0.6678644418716431, 0.3422829806804657, 0.08977213501930237, -0.3432513475418091, 0.9588639736175537, 0.4011557698249817, 1.2714561223983765, -0.13775932788848877, 0.8569157123565674, 0.17942164838314056, 0.2379423826932907, -1.0562986135482788, 0.4433554708957672, -0.8187042474746704, 0.18980969488620758, -0.19303515553474426, -0.7831499576568604, -0.10588771849870682, 0.30800777673721313, -0.44255974888801575, 0.33995339274406433, 0.5584412217140198, 0.8002772331237793, -0.1576806753873825, -0.258108913898468, 0.45873716473579407, 0.2798275351524353, 0.1588553488254547, 0.55256187915802, 0.4933638274669647, -0.22497917711734772, 0.2496519535779953, -0.2933284044265747, -0.19525252282619476, -0.10449231415987015, -1.0753049850463867, -0.9233905076980591, -0.25045233964920044, -0.17744088172912598, -0.078920379281044, 0.2180902063846588, 0.5550423264503479, 0.7311627864837646, -0.7810764312744141, -0.33105120062828064, -0.1610066443681717, 0.11871795356273651, -0.22763754427433014, -0.19777242839336395, 0.3357737958431244, -0.4765982925891876, -0.9521133899688721, 0.4530644714832306, 0.26660430431365967, -0.1196194514632225, -0.29772767424583435, -0.17579995095729828, -0.30117934942245483, 0.3057708442211151, 0.8577514290809631, 0.11259223520755768, -0.8251547813415527, -0.16189561784267426, -0.018981680274009705, 0.03594318777322769, 0.0652858316898346, 0.7908552289009094, -0.6060582995414734, 0.6471524834632874, 0.6978890299797058, 0.8609545230865479, 0.5261396169662476, -0.011214789003133774, 0.8972260355949402, -0.5554038882255554, 0.25089001655578613, -0.12177061289548874, 0.4129239320755005, 0.4967850148677826, -0.05773612856864929, 0.2907637059688568, 0.24880985915660858, -0.15940065681934357, -0.6767889261245728, 0.11510742455720901, -0.665570855140686, -0.5040245056152344, 1.1923747062683105, -0.4098873734474182, -0.40797001123428345, -0.17882154881954193, 0.23356255888938904, 0.3357110917568207, 0.045844703912734985, 0.4877835512161255, 0.6740291118621826, 0.11176501959562302, -0.13024483621120453, -0.5126563310623169, 0.2088516652584076, 0.7616273164749146, -1.037918210029602, 0.13638842105865479, 0.2826016843318939, 0.38045307993888855, 0.12294614315032959, 0.4344874620437622, 0.11632560193538666, 0.2600412368774414, 0.017929475754499435, 0.07569226622581482, 0.3128240704536438, -0.27902552485466003, -0.5438662171363831, -0.013778050430119038, 0.17050638794898987, 0.09561420232057571 ]
http://arxiv.org/abs/2402.10699v1
http://arxiv.org/pdf/2402.10699v1
Rethinking Human-like Translation Strategy: Integrating Drift-Diffusion Model with Large Language Models for Machine Translation
2024-02-16T14:00:56
2024-02-16T14:00:56
Hongbin Na, Zimu Wang, Mieradilijiang Maimaiti, Tong Chen, Wei Wang, Tao Shen, Ling Chen
cs.CL
cs.CL
Large language models (LLMs) have demonstrated promising potential in various downstream tasks, including machine translation. However, prior work on LLM-based machine translation has mainly focused on better utilizing training data, demonstrations, or pre-defined and universal knowledge to improve performance, with a lack of consideration of decision-making like human translators. In this paper, we incorporate Thinker with the Drift-Diffusion Model (Thinker-DDM) to address this issue. We then redefine the Drift-Diffusion process to emulate human translators' dynamic decision-making under constrained resources. We conduct extensive experiments under the high-resource, low-resource, and commonsense translation settings using the WMT22 and CommonMT datasets, in which Thinker-DDM outperforms baselines in the first two scenarios. We also perform additional analysis and evaluation on commonsense translation to illustrate the high effectiveness and efficacy of the proposed method.
[ -0.3679105341434479, -0.630986750125885, 0.7639780640602112, -0.03164466843008995, -0.5741769075393677, 0.23152199387550354, -0.5266176462173462, -0.15071779489517212, 0.16701364517211914, 0.464709997177124, -0.6165047287940979, -0.36031219363212585, -0.5961284637451172, 0.35392868518829346, -0.39505186676979065, 0.9984660148620605, -0.3688203990459442, -0.03242630884051323, 0.05722476541996002, -0.16115030646324158, -0.48416197299957275, -0.18815568089485168, -0.6042377352714539, -0.6344807744026184, 0.4462743401527405, 0.2564261853694916, 0.9965912699699402, 0.6326536536216736, 0.44658756256103516, 0.21636347472667694, -0.4340746998786926, -0.06212560459971428, -0.4930093288421631, 0.0949811190366745, -0.2894372045993805, -0.6738814115524292, -0.5801684856414795, 0.23126497864723206, 0.5434511303901672, 0.3837611973285675, -0.4798145890235901, 0.09972607344388962, -0.09476141631603241, 0.6213006973266602, -0.30913087725639343, -0.30073586106300354, -0.7172070145606995, 0.22475619614124298, -0.19273875653743744, 0.0690765455365181, -0.37055566906929016, -0.260475218296051, 0.2869429886341095, -0.5268397927284241, 0.38808712363243103, 0.24675266444683075, 0.32398492097854614, 0.5497936606407166, -0.45061194896698, -0.1247183308005333, -0.7463942170143127, 0.9639508724212646, -0.9373186826705933, 0.44686397910118103, 0.13871900737285614, 0.19186186790466309, -0.2058495730161667, -0.33973178267478943, -0.859342098236084, -0.02991866134107113, 0.09382834285497665, 0.13307319581508636, -0.14273189008235931, -0.3083801567554474, -0.011222201399505138, 0.19652821123600006, -0.3098076581954956, 0.27939796447753906, -0.12351556867361069, -0.03764626383781433, 0.7481946349143982, 0.1923707276582718, 0.2825782299041748, -0.19945091009140015, -0.5204796195030212, -0.20986296236515045, -0.5175564289093018, -0.40448030829429626, -0.11895950883626938, 0.2143540382385254, -0.26425057649612427, 0.45622819662094116, -0.2703745365142822, 0.5726768374443054, 0.13554580509662628, -0.008168159052729607, 0.4239702522754669, -0.24453817307949066, -0.21747823059558868, -0.10868116468191147, 0.8624048829078674, 0.643156886100769, 0.2532461881637573, -0.35158035159111023, -0.5161423087120056, -0.17859670519828796, 0.40594711899757385, -0.6686909198760986, -0.0867636650800705, 0.16723670065402985, -0.5450215339660645, -0.4965563118457794, -0.5099095702171326, -1.0504708290100098, -0.32150009274482727, -0.38649868965148926, 0.2382792830467224, -0.24982193112373352, -0.5653029084205627, 0.19776038825511932, -0.021073611453175545, 0.30095064640045166, 0.44833818078041077, -0.7935898900032043, 0.17368073761463165, 0.43864259123802185, 0.9929848313331604, -0.7245368957519531, -0.3129887878894806, -0.3010471761226654, 0.192261204123497, -0.3877391815185547, 0.7007073760032654, -0.39646872878074646, -0.575120747089386, -0.2151878923177719, -0.30596619844436646, -0.06192896515130997, -0.7349007725715637, 0.6545531749725342, -0.6892426609992981, 0.24496540427207947, -0.2517402172088623, -0.39130035042762756, -0.039636701345443726, 0.3667433261871338, -0.588371753692627, 0.564575731754303, 0.05844074487686157, -0.5537365078926086, 0.4802902638912201, -0.8789002895355225, -0.530193030834198, 0.19886414706707, 0.011529718525707722, -0.3667849898338318, 0.2557903230190277, 0.1365021914243698, 0.3964872658252716, -0.47410866618156433, 0.2530464231967926, -0.13643652200698853, -0.18041202425956726, 0.5968014597892761, -0.5083667635917664, 0.5275212526321411, 0.559371829032898, -0.2762230932712555, 0.052774958312511444, -0.15995143353939056, -0.017333639785647392, 0.268665611743927, -0.6197541952133179, -0.1870923489332199, 0.11172842979431152, 0.16863660514354706, 0.5389629602432251, -0.05686846375465393, -0.47541502118110657, 0.22898384928703308, -0.3707221746444702, 0.7377063632011414, 0.4611329138278961, -0.06574701517820358, 0.8982990980148315, -0.2447216808795929, 0.7422849535942078, 0.0375395230948925, -0.04607035592198372, 0.2786780595779419, -0.38234850764274597, -0.7327635884284973, -0.09835987538099289, 0.17553196847438812, 0.7531000971794128, -0.6970080137252808, -0.028597701340913773, -0.5646350383758545, -0.13566258549690247, -1.038380742073059, 0.32898133993148804, 0.31135791540145874, 0.4807082414627075, 0.6185588836669922, -0.25727009773254395, -0.2768564820289612, -0.719214141368866, -0.2810204029083252, 0.0930652916431427, -0.013054165989160538, -0.1430852711200714, 0.2916876971721649, -0.7464101910591125, 0.73817378282547, -0.6154069304466248, -0.11527775228023529, -0.5830884575843811, 0.02652079612016678, 0.27567732334136963, 0.39642322063446045, 0.0463847815990448, -1.0239806175231934, -0.4663209021091461, 0.07152760773897171, -0.49402913451194763, -0.06956781446933746, -0.20098307728767395, -0.2973495125770569, 0.19218695163726807, 0.6236620545387268, -0.9165661334991455, 0.287288635969162, 0.5037867426872253, -0.021899089217185974, 0.26052388548851013, -0.36693844199180603, 0.09769388288259506, -1.2906826734542847, -0.03829365596175194, 0.13475880026817322, -0.37877142429351807, -0.603841245174408, 0.35578104853630066, 0.12930598855018616, -0.06078040972352028, -0.7975755333900452, 0.5337939262390137, -0.36265140771865845, 0.08840535581111908, -0.39966756105422974, 0.3932751715183258, -0.321250319480896, 0.19134555757045746, 0.027746692299842834, 0.8830669522285461, 0.03531459718942642, -0.570807933807373, 0.18246589601039886, 0.34213778376579285, -0.24241523444652557, 0.6972187161445618, -0.6062474250793457, 0.20785266160964966, -0.15037918090820312, 0.4822384715080261, -0.7280940413475037, -0.2252884805202484, 0.2795174717903137, -0.13216811418533325, 0.4196535348892212, -0.11270066350698471, -0.5248011350631714, -0.3848980963230133, -0.1086181029677391, 0.4307715892791748, 0.8833653926849365, -0.12047147750854492, 0.488729327917099, 0.29492950439453125, -0.19095508754253387, -0.08993352204561234, -0.8863901495933533, 0.47575679421424866, -0.6079696416854858, -0.4399615228176117, 0.6425138711929321, -0.170937180519104, -0.36637669801712036, -0.24090096354484558, -0.03921252861618996, 0.08536814153194427, 0.2281530648469925, -0.24939371645450592, 0.3487592041492462, 0.15489766001701355, -0.12951216101646423, -0.02326798625290394, -0.3827291429042816, -0.031935155391693115, -0.5228503346443176, 0.5230364203453064, 0.1617407351732254, -0.1746942549943924, -0.4299992322921753, 0.2369714230298996, 0.7886942028999329, -0.2592979669570923, 0.539136528968811, 0.6966673135757446, 0.08446585386991501, -0.34612712264060974, -0.4842042624950409, -0.08442992717027664, -0.40724003314971924, 0.5835311412811279, -0.3741110563278198, -0.7089202404022217, 0.3570559620857239, -0.45743682980537415, 0.21658678352832794, 0.35993054509162903, 0.8755119442939758, -0.5774350166320801, 0.96507728099823, 0.38542890548706055, -0.13007690012454987, 0.3440157175064087, -0.28759339451789856, 0.07299340516328812, -1.1163345575332642, -0.09804486483335495, 0.040250733494758606, -0.8779095411300659, -0.6019238829612732, -0.8176538348197937, 0.27948781847953796, -0.018340790644288063, 0.05106787011027336, 0.386494517326355, -0.21308037638664246, 0.42728137969970703, 0.2750309705734253, 0.03108082339167595, 0.4784187078475952, -0.14559513330459595, -0.2728178799152374, -0.130360409617424, -0.7120736837387085, -0.6751141548156738, 1.042506217956543, 0.23447060585021973, 0.6467323303222656, 0.365067720413208, 0.7348440289497375, 0.5649189352989197, 0.5618852972984314, -0.6868147850036621, 0.6188181638717651, -0.1461031287908554, -0.5410744547843933, -0.23600225150585175, -0.4908321797847748, -0.906520426273346, 0.5677475929260254, -0.16356685757637024, -0.09334895759820938, -0.23717373609542847, 0.19830933213233948, -0.08757053315639496, 0.3803868591785431, -0.6991332173347473, 0.7119093537330627, -0.29227784276008606, -0.04862046614289284, -0.6301999688148499, -0.6472050547599792, 0.23904532194137573, -0.40667444467544556, 0.3722936511039734, -0.028175005689263344, -0.5076685547828674, 0.46320632100105286, -0.039754822850227356, 0.7282325029373169, -0.0062780012376606464, -0.44569191336631775, 0.15152707695960999, 0.33454006910324097, 0.6820947527885437, -0.25544753670692444, -0.2376542091369629, -0.06496042013168335, -0.4954526424407959, -0.5263042449951172, -0.5353243350982666, 0.43751707673072815, -0.7089903950691223, -0.7349492311477661, 0.035276416689157486, -0.592715322971344, -0.011805130168795586, 0.28392452001571655, 0.44994091987609863, -0.06502200663089752, -0.3979499042034149, -0.14685069024562836, 0.7928187847137451, 0.06963957101106644, 0.5314406156539917, 0.7447080016136169, -0.3153570890426636, -0.43942737579345703, 0.8231569528579712, -0.03225705400109291, 0.6530026793479919, 0.5594308376312256, 0.2194412648677826, -0.30325332283973694, -0.809403121471405, -0.9377188682556152, 0.30913016200065613, -0.3056483864784241, -0.013442350551486015, -0.5272072553634644, 0.14770099520683289, -0.02349996566772461, -0.2501472532749176, -0.3461857736110687, -0.22680673003196716, -0.27875521779060364, -0.02086552605032921, 0.005412951111793518, 0.6265134811401367, 0.2401021271944046, 0.3221991956233978, -0.5893327593803406, 0.2741831839084625, 0.28221258521080017, 0.10354667156934738, 0.2162144035100937, -0.7976394295692444, -0.4599079489707947, 0.3107524514198303, -0.5395086407661438, -0.8697261810302734, 0.5220987200737, -0.11254912614822388, 0.6311774253845215, 0.19232754409313202, -0.07166439294815063, 0.3722863495349884, -0.7336413860321045, 0.42053577303886414, 0.202151820063591, -0.7850298881530762, 0.4475351870059967, -0.5076901316642761, 0.5485638380050659, 0.49620941281318665, 0.20160968601703644, -0.7933397889137268, -0.4004012942314148, -0.3325256109237671, -0.586575448513031, 0.47535085678100586, 0.24506253004074097, 0.2289460003376007, -0.007702673319727182, 0.3597889542579651, -0.011637399904429913, 0.16510097682476044, -0.5827094316482544, 0.04961095005273819, 0.04677433893084526, -0.22209614515304565, -0.2293768674135208, 0.048036959022283554, 0.12283050268888474, -0.18174847960472107, 0.45349937677383423, 0.13655593991279602, -0.01787521131336689, 0.025996459648013115, -0.41308170557022095, -0.24383901059627533, 0.6436699032783508, 0.5854699015617371, 0.4484875202178955, -0.18352685868740082, 0.08745525032281876, 0.6740074157714844, -0.32594814896583557, 0.5969018936157227, -0.26914912462234497, -0.6039009690284729, -0.21452802419662476, 0.21953681111335754, 0.5305060148239136, 0.3631425201892853, -0.6583938002586365, 0.2461676150560379, 0.2700359523296356, -0.26646262407302856, 0.011079122312366962, 0.26874837279319763, 0.5026349425315857, 0.27683261036872864, 0.22776183485984802, 0.376238614320755, -0.15569402277469635, -0.30728834867477417, -0.025422904640436172, 0.19984324276447296, -0.45824041962623596, -0.5607525706291199, 0.7714335918426514, 0.6839942932128906, -0.6676015257835388, 0.6887863278388977, -0.5626339316368103, -0.6975798010826111, 0.16030922532081604, 0.6875921487808228, 1.0873439311981201, -0.23208892345428467, 0.2727636992931366, -0.006712541449815035, 0.304631769657135, -0.42591720819473267, -0.002763103460893035, -0.03980694338679314, -0.7353978157043457, -0.8017184138298035, -0.31032609939575195, -0.29869669675827026, -0.1455293446779251, -0.6499044895172119, 0.2536314129829407, -0.07134544849395752, -0.4451894164085388, -0.29373228549957275, -0.13184870779514313, -0.7784994840621948, 0.036180537194013596, 0.20798344910144806, 1.0532087087631226, -0.7964586615562439, 0.9263038635253906, 0.9105338454246521, -0.3425297737121582, -0.09694649279117584, 0.408433735370636, 0.1467769891023636, -0.5949656367301941, 0.583516001701355, -0.2292085438966751, -0.2590711712837219, 0.2772999107837677, -0.3940644860267639, -0.82471764087677, 1.2212324142456055, 0.22904931008815765, -0.7355477809906006, -0.08511500060558319, -0.08061160892248154, 0.5974354147911072, -0.3026883900165558, -0.2695867419242859, 0.7205436825752258, 0.3770081400871277, -0.04309876263141632, -0.8794617056846619, 0.01626288890838623, 0.014467945322394371, 0.24745769798755646, 0.5232945680618286, -0.8058869242668152, 0.594336986541748, -0.46066343784332275, -0.43249088525772095, -0.12135686725378036, 0.6210365891456604, -0.025085100904107094, 0.14222285151481628, 0.6318146586418152, 0.9159627556800842, 0.6763216257095337, 0.561237096786499, 1.0896133184432983, 0.24777762591838837, 0.19381090998649597, 0.9990816116333008, -0.36947527527809143, 1.2501006126403809, 0.5522298812866211, -0.44901761412620544, 0.5691503286361694, 0.26268959045410156, 0.1967114359140396, 0.6946704983711243, 0.2531189024448395, -0.2700534760951996, -0.35098356008529663, 0.09889476746320724, -0.09146048128604889, 0.2708051800727844, 0.20635274052619934, -0.3236011266708374, -0.09041350334882736, -0.0492616705596447, 0.357207328081131, 0.2547096610069275, -0.1211167573928833, 0.8591901063919067, 0.1469571888446808, -0.7837583422660828, 0.6953423619270325, 0.3522704243659973, 0.991795003414154, -0.1493104249238968, 0.2802450358867645, -0.3305552005767822, 0.13987328112125397, 0.15729990601539612, -0.9491907358169556, 0.2925770580768585, 0.2458423674106598, -0.5523018836975098, -0.6353142261505127, 0.34471696615219116, -0.5333676338195801, -0.4808109998703003, 0.16821949183940887, 0.8816525936126709, 0.10756462067365646, 0.024621546268463135, -0.7734372019767761, -0.00655399588868022, 0.4728385806083679, -0.042177822440862656, 0.4672568738460541, 0.507872998714447, -0.0516178272664547, 1.088243007659912, 0.6106353402137756, 0.2876048684120178, -0.16430716216564178, 0.07333023101091385, 0.730973482131958, -0.8972986340522766, -0.43624168634414673, -1.1098037958145142, 0.29429250955581665, 0.001681711757555604, -0.3868420422077179, 0.6956528425216675, 0.34194275736808777, 0.7874757051467896, -0.014614902436733246, 0.6628667116165161, 0.09924814850091934, 0.46206560730934143, -0.37843942642211914, 0.7875961065292358, -0.36762943863868713, 0.28178316354751587, -0.2988851070404053, -1.0809446573257446, 0.007971496321260929, 0.430059552192688, -0.37582188844680786, -0.040623728185892105, 0.4181191027164459, 0.6858463287353516, -0.17312665283679962, -0.08327628672122955, 0.1466505527496338, 0.17090435326099396, 0.4596063792705536, 0.642213761806488, 0.9147059917449951, -0.10864555835723877, 0.746456503868103, 0.21356792747974396, -0.16007335484027863, -0.2961325943470001, -1.04158353805542, -0.7691962718963623, -0.41431164741516113, -0.3721345365047455, -0.03989965468645096, -0.2815350592136383, 1.120235562324524, 0.7136478424072266, -0.4888212978839874, -0.24448871612548828, -0.13965637981891632, 0.1188596859574318, -0.16258975863456726, -0.14507630467414856, 0.02202734723687172, -0.31649014353752136, -0.6619443297386169, 0.40797534584999084, 0.06517252326011658, 0.31222572922706604, -0.4927511215209961, -0.48265472054481506, -0.11344646662473679, 0.005321078468114138, 0.5864900946617126, -0.09347996860742569, -0.9585606455802917, 0.2555354833602905, -0.01620146632194519, -0.30826160311698914, -0.08553414791822433, 0.7767066955566406, -0.8500999212265015, 0.5009795427322388, 0.36418282985687256, 0.6918442249298096, 0.5242611765861511, 0.1183096319437027, 0.8069248795509338, -0.3421889841556549, 0.03209373727440834, 0.2467833161354065, 0.033149655908346176, 0.5635639429092407, 0.04652479663491249, 0.3918650150299072, 0.17885839939117432, -0.4498836100101471, -0.4760502874851227, 0.3163108229637146, -0.5664663314819336, -0.2581503987312317, 1.1968973875045776, 0.15451256930828094, -0.12609705328941345, -0.11443480104207993, -0.1964176446199417, 0.1820090264081955, -0.5224485993385315, 0.9721800088882446, 0.647757887840271, 0.16220484673976898, -0.14357195794582367, -0.6785168647766113, 0.3753874897956848, 0.4907788336277008, -0.5894721746444702, 0.2189698964357376, 0.24437366425991058, 0.3680936098098755, 0.05353645980358124, 0.6545088291168213, 0.12351234257221222, -0.021433888003230095, -0.39640310406684875, -0.10849186033010483, 0.12948384881019592, 0.10285960137844086, -0.22511903941631317, -0.32172343134880066, 0.10915056616067886, -0.13109886646270752 ]
http://arxiv.org/abs/2402.10693v3
http://arxiv.org/pdf/2402.10693v3
Exploring Precision and Recall to assess the quality and diversity of LLMs
2024-02-16T13:53:26
2024-06-04T11:33:27
Florian Le Bronnec, Alexandre Verine, Benjamin Negrevergne, Yann Chevaleyre, Alexandre Allauzen
cs.CL
cs.CL, cs.LG
We introduce a novel evaluation framework for Large Language Models (LLMs) such as \textsc{Llama-2} and \textsc{Mistral}, focusing on importing Precision and Recall metrics from image generation to text generation. This approach allows for a nuanced assessment of the quality and diversity of generated text without the need for aligned corpora. By conducting a comprehensive evaluation of state-of-the-art language models, the study reveals new insights into their performance on open-ended generation tasks, which are not adequately captured by traditional benchmarks. The findings highlight a trade-off between the quality and diversity of generated samples, particularly when models are fine-tuned on instruction dataset or with human feedback. This work extends the toolkit for distribution-based NLP evaluation, offering insights into the practical capabilities and challenges that current LLMs face in generating diverse and high-quality text. We release our code and data.
[ -0.3428120017051697, -0.4264911413192749, 0.25993555784225464, 0.1000606119632721, -0.12913767993450165, 0.0022296812385320663, -0.42450496554374695, -0.37005510926246643, -0.15125389397144318, 0.5450498461723328, -0.29921984672546387, -0.8129287362098694, -0.734013557434082, 0.2832818031311035, -0.6907130479812622, 0.7407426834106445, -0.061948973685503006, -0.23493033647537231, -0.1439826935529709, -0.24750660359859467, -0.4325345456600189, -0.48364415764808655, -0.2878965735435486, -0.25624600052833557, 0.1926572620868683, 0.3378903269767761, 0.7491308450698853, 0.7009960412979126, 0.6534773111343384, 0.22493183612823486, -0.19773204624652863, 0.35971033573150635, -0.836952269077301, 0.1160578727722168, -0.2256530523300171, -0.32902997732162476, -0.3251970410346985, -0.21520814299583435, 1.0162756443023682, 0.6321672797203064, -0.19367682933807373, 0.3103078305721283, 0.14250290393829346, 0.6893121600151062, -0.7950206398963928, -0.21625784039497375, -0.9494744539260864, 0.032543156296014786, -0.09451965987682343, -0.12660235166549683, -0.4894392192363739, -0.5275686383247375, 0.10018199682235718, -0.3861551582813263, 0.39552000164985657, -0.07119128108024597, 0.9347119927406311, 0.08277257531881332, -0.3118181526660919, -0.5198130011558533, -0.8324242830276489, 0.9427738785743713, -0.637496829032898, 0.1998208463191986, 0.10002211481332779, 0.37885624170303345, -0.18446658551692963, -0.8167310357093811, -0.5388654470443726, -0.003185448469594121, 0.2902098298072815, 0.10873008519411087, -0.263910174369812, -0.23349618911743164, 0.06389447301626205, 0.7607911825180054, -0.3132001757621765, 0.45178553462028503, -0.27666640281677246, 0.03067777492105961, 0.8034351468086243, 0.346439927816391, 0.18502970039844513, -0.05015672743320465, -0.1608109027147293, -0.3295210599899292, -0.7718979716300964, -0.1468530148267746, 0.3724619448184967, 0.2073771357536316, 0.01734728366136551, 0.7513418197631836, -0.11699532717466354, 0.5323618054389954, -0.20100821554660797, -0.24021723866462708, 0.35322386026382446, -0.42393726110458374, -0.22855904698371887, -0.40860745310783386, 1.0190560817718506, 0.5190576314926147, 0.3406970500946045, -0.010854524560272694, -0.4525068402290344, -0.2461404651403427, 0.31668251752853394, -0.6872835755348206, 0.0471419133245945, -0.06421826034784317, -0.6146509051322937, -0.3020932078361511, 0.1507287472486496, -0.8756627440452576, -0.18612775206565857, -0.10274104028940201, 0.22825594246387482, -0.40099942684173584, -0.2217799425125122, 0.32610055804252625, -0.19059742987155914, 0.09888578951358795, 0.20599842071533203, -1.173149585723877, 0.35040032863616943, 0.6829538941383362, 0.7141615748405457, -0.6307756304740906, -0.31239718198776245, -0.17379102110862732, 0.0368657186627388, -0.5943960547447205, 0.7150846719741821, -0.25597161054611206, -0.6137489080429077, 0.1840219348669052, -0.38001158833503723, 0.2783270478248596, -1.0198991298675537, 0.5928611755371094, -0.4402391016483307, -0.11301161348819733, -0.40178272128105164, -0.605567216873169, -0.19894146919250488, 0.283368319272995, -0.8367586135864258, 1.395932674407959, 0.29049527645111084, -0.5972087383270264, 0.6189920902252197, -0.15421374142169952, -0.2649175226688385, 0.2676580548286438, -0.29268699884414673, -0.4262179732322693, 0.28806430101394653, 0.21642997860908508, 0.48381125926971436, -0.533802330493927, 0.47096896171569824, -0.28650110960006714, -0.3545056879520416, 0.2720370292663574, -0.648043692111969, 0.45548954606056213, 0.2074367254972458, -0.3107339143753052, 0.031307149678468704, -0.7414422035217285, 0.0013560218503698707, 0.0827142670750618, -0.48637375235557556, -0.16866451501846313, -0.0927845761179924, 0.057304807007312775, 0.042969781905412674, 0.30108028650283813, -0.19059325754642487, -0.05462320148944855, -0.24014998972415924, 0.19613252580165863, 0.6198151111602783, -0.04691010341048241, 0.49866217374801636, -0.4523710608482361, 0.4553300440311432, -0.24083895981311798, 0.05591529235243797, -0.4225742518901825, -0.4450881779193878, -0.6573178172111511, -0.4118202030658722, 0.16808772087097168, 0.5244908928871155, -0.29107925295829773, 0.7506271600723267, -0.45611000061035156, -0.7345182299613953, -0.43238431215286255, 0.37495627999305725, 0.23460906744003296, 0.3006850481033325, 0.021097930148243904, -0.5806388854980469, -0.3527056574821472, -0.904717206954956, 0.016996068879961967, -0.04623491317033768, -0.17528952658176422, 0.35188278555870056, 0.4347490966320038, -0.3112775683403015, 1.0124456882476807, -0.294853538274765, 0.09912991523742676, -0.30420586466789246, 0.16823710501194, 0.15138526260852814, 0.2591807544231415, 0.6270704865455627, -0.5900663137435913, -0.1430215686559677, -0.04332699626684189, -0.9159412980079651, -0.15486964583396912, -0.11311904340982437, -0.23993127048015594, 0.29169762134552, 0.3157338798046112, -0.5562283992767334, 0.3927738666534424, 0.6904565691947937, 0.05778932943940163, 0.7806819677352905, -0.13771502673625946, 0.3391128480434418, -1.1408390998840332, 0.3220893144607544, -0.239495649933815, -0.0074796839617192745, -0.3862971365451813, 0.15195849537849426, 0.18609830737113953, 0.04950534924864769, -0.4569256901741028, 0.5593123435974121, -0.49590763449668884, -0.49351900815963745, -0.03731910511851311, 0.1582835167646408, 0.11688365042209625, -0.04544787108898163, 0.038954876363277435, 0.8486950397491455, 0.2217056155204773, -0.6018233299255371, 0.1812160462141037, 0.17092449963092804, -0.7229394316673279, 0.49372830986976624, -0.6364991068840027, -0.0851973220705986, 0.025982113555073738, -0.040244970470666885, -1.1092112064361572, -0.1932811290025711, -0.13911950588226318, -0.3529992997646332, 0.3154803216457367, 0.21799542009830475, -0.8347687721252441, -0.4184732735157013, -0.21835264563560486, 0.36780938506126404, 0.8377795219421387, -0.5015396475791931, 0.1604977697134018, 0.25963225960731506, -0.2825555205345154, -0.8538566827774048, -0.5657482147216797, 0.07897108793258667, -0.17848564684391022, -0.43917712569236755, 0.16475436091423035, 0.0080413231626153, -0.3405124843120575, -0.1871732622385025, 0.11671508848667145, 0.12391258031129837, 0.2468900829553604, 0.07769507169723511, 0.17656917870044708, -0.2678981125354767, 0.3140462338924408, 0.25124263763427734, 0.21152861416339874, -0.08818168193101883, -0.2824983596801758, 0.5049134492874146, -0.132765531539917, -0.5620368719100952, -0.1677030324935913, 0.2595595717430115, 0.34259137511253357, -0.16725276410579681, 0.46838974952697754, 0.44998615980148315, -0.4050501883029938, -0.26554062962532043, -0.5957714915275574, -0.034385401755571365, -0.4609808027744293, 0.6257933974266052, -0.18880484998226166, -1.0162489414215088, 0.5352281928062439, -0.09788817167282104, 0.3455639183521271, 0.6392289400100708, 0.8930193781852722, 0.016598893329501152, 0.5517904162406921, 0.5594124794006348, 0.14918091893196106, 0.2874888479709625, -0.16322165727615356, -0.0024664297234266996, -0.5130311250686646, -0.18128512799739838, -0.5222715139389038, -0.25836077332496643, -0.34140250086784363, -0.5843673944473267, 0.17026248574256897, 0.48670756816864014, -0.2771315574645996, 0.10188865661621094, -0.5180796980857849, 0.5991082191467285, 0.5278380513191223, -0.21212489902973175, 0.5164510011672974, 0.3678925037384033, -0.04393966495990753, -0.21691878139972687, -0.5358757376670837, -1.0367581844329834, 1.4161717891693115, 0.38657233119010925, 0.6589452028274536, 0.06504148244857788, 0.9057639241218567, 0.21247053146362305, 0.5247851014137268, -0.7436509728431702, 0.4795284867286682, -0.5056110620498657, -0.4741581082344055, -0.37790101766586304, -0.5338325500488281, -1.0215173959732056, 0.10275428742170334, -0.3884764611721039, -0.6310713887214661, -0.14564380049705505, -0.03903161361813545, -0.24509727954864502, 0.4935407340526581, -0.41844654083251953, 0.6182168126106262, -0.1708817034959793, -0.08277325332164764, -0.10826509445905685, -0.31717604398727417, 0.7123334407806396, -0.27179673314094543, 0.053359270095825195, -0.2887136936187744, -0.147331103682518, 0.517776608467102, 0.08796774595975876, 0.7492450475692749, 0.3201524019241333, -0.39844080805778503, 0.5504370927810669, 0.3558953106403351, 0.05047056823968887, -0.06693271547555923, -0.45461419224739075, 0.44253063201904297, -0.23185424506664276, -0.16135258972644806, -0.5759657621383667, 0.6485689878463745, -0.8192480206489563, -0.1779176890850067, 0.0736783966422081, -0.7460361123085022, 0.1629808247089386, 0.28427812457084656, 0.4514414072036743, 0.33032387495040894, -0.5311463475227356, 0.07936765998601913, 0.7062212824821472, -0.5675489902496338, 0.4192862808704376, 0.14859792590141296, -0.2662177085876465, -0.7201353311538696, 0.7598634958267212, 0.1235584244132042, 0.623052179813385, 0.5161746740341187, -0.008886735886335373, -0.34255775809288025, -0.7389712929725647, -0.6389978528022766, 0.2295839786529541, -0.9845740795135498, -0.28326451778411865, -0.6193414926528931, -0.2111632376909256, -0.39100924134254456, -0.22791552543640137, -0.48875489830970764, -0.5291834473609924, -0.586836040019989, -0.01623612828552723, 0.2555602192878723, 1.138812780380249, -0.040033966302871704, 0.4269965589046478, -0.9399361610412598, 0.2041960060596466, 0.20275266468524933, 0.37587904930114746, 0.07407937198877335, -0.5338066816329956, -0.0961088016629219, -0.08542538434267044, -0.600528359413147, -0.7401813864707947, 0.5862930417060852, 0.26898765563964844, 0.6888976097106934, 0.1887861043214798, -0.13141174614429474, 0.2510332465171814, -0.4185457229614258, 0.9935479760169983, 0.27771371603012085, -1.0415072441101074, 0.3863725960254669, -0.23119162023067474, 0.38946813344955444, 0.5827003717422485, 0.2615576684474945, -0.4590672254562378, -0.42737987637519836, -0.5937099456787109, -0.9447280764579773, 0.33313778042793274, 0.1953454166650772, 0.24010179936885834, -0.287494421005249, 0.49124860763549805, 0.4364490211009979, 0.3171948492527008, -0.4907103180885315, -0.14379526674747467, -0.05410770699381828, -0.5597397685050964, -0.277098149061203, -0.40494588017463684, -0.015569291077554226, 0.16102786362171173, 0.2613750398159027, -0.0551496259868145, 0.07834716141223907, 0.025779958814382553, -0.12570609152317047, 0.048211585730314255, 0.3130462169647217, 0.6671079397201538, 0.671577513217926, -0.16364091634750366, 0.10118579119443893, 0.31017646193504333, -0.5331255197525024, 0.14540144801139832, -0.2660713195800781, -0.3594007194042206, 0.15701152384281158, 0.43978753685951233, 0.5847606658935547, 0.12886416912078857, -0.9130569696426392, 0.5107768774032593, -0.012432844378054142, -0.2705845832824707, -0.06048212945461273, 0.01894919015467167, 0.09791308641433716, -0.03182045370340347, 0.4017380475997925, -0.031891610473394394, 0.2663211226463318, -0.15698224306106567, 0.4420835077762604, 0.4566541016101837, -0.14011222124099731, -0.15512941777706146, 0.3538871109485626, 0.13371625542640686, -0.3503064215183258, 0.8060845136642456, -0.2627337872982025, -0.20556752383708954, 0.7481182813644409, 0.5823380351066589, 0.8339444994926453, -0.02162349596619606, 0.18185466527938843, 0.6494984030723572, 0.45077937841415405, -0.4278898239135742, 0.2906440198421478, 0.1504119336605072, -0.8179038763046265, -0.3366346061229706, -0.6362332105636597, -0.44905921816825867, -0.007186259608715773, -0.7807013988494873, 0.3822469711303711, -0.48377060890197754, -0.336555153131485, -0.3995129466056824, -0.35290583968162537, -0.617710530757904, 0.09691505879163742, 0.27666524052619934, 0.9946238398551941, -0.8547360897064209, 0.5243650674819946, 0.2888332009315491, -0.09226368367671967, -0.6886479258537292, -0.15917885303497314, -0.2010185867547989, -0.8134320974349976, 0.6520357131958008, 0.27937042713165283, -0.07993113994598389, -0.1603306084871292, -0.4745306372642517, -0.8386785984039307, 1.211125373840332, 0.5279439091682434, -0.6723673343658447, 0.22997821867465973, 0.26445290446281433, 0.6834701895713806, -0.4279172718524933, 0.39736294746398926, 0.7199746370315552, 0.002063216408714652, 0.14252598583698273, -1.0377752780914307, -0.10212108492851257, -0.20574618875980377, 0.3932678699493408, 0.1428598016500473, -0.3456616997718811, 0.7886918187141418, -0.3276856541633606, -0.4482073485851288, 0.3359307050704956, 0.7372211217880249, 0.6555632948875427, 0.2021394968032837, 0.1725948005914688, 0.6754640340805054, 0.9734350442886353, 0.04516371339559555, 1.099785327911377, 0.025578705593943596, 0.34189143776893616, 1.1683170795440674, -0.3803042471408844, 1.1330939531326294, 0.3935151994228363, -0.1712673455476761, 0.29722872376441956, 0.539169430732727, -0.1158173680305481, 0.26729393005371094, 0.4606132209300995, -0.20553401112556458, -0.07101593166589737, -0.11163840442895889, -0.2608572244644165, 0.27578437328338623, 0.45839235186576843, -0.5898153185844421, -0.20689071714878082, -0.316250205039978, -0.25479263067245483, 0.37032613158226013, -0.10604508966207504, 0.7980009913444519, 0.03153524920344353, -0.691600501537323, 0.8594323396682739, -0.020898593589663506, 0.9061574339866638, -0.30943915247917175, 0.057247355580329895, -0.26802101731300354, 0.13258133828639984, 0.012121510691940784, -1.1865864992141724, 0.38262826204299927, -0.007556087337434292, -0.35378497838974, -0.10800975561141968, 0.4491865634918213, -0.3592926859855652, -0.5474395751953125, 0.2346964329481125, 0.33600348234176636, 0.33495527505874634, 0.24325047433376312, -0.5150377154350281, 0.24593712389469147, -0.0647336021065712, -0.13933825492858887, 0.1375565230846405, 0.6049121022224426, -0.08084797859191895, 0.6325425505638123, 0.37413153052330017, 0.07432150095701218, 0.33228522539138794, 0.23824605345726013, 0.3482019305229187, -0.4860055446624756, -0.04693363979458809, -0.9215669631958008, 0.3652288317680359, -0.018473520874977112, -0.613322377204895, 0.551393985748291, 0.6073621511459351, 0.897890031337738, -0.17826175689697266, 0.9217084050178528, 0.15776489675045013, 0.37698253989219666, -0.441300630569458, 0.6585130095481873, -0.46685972809791565, 0.237901508808136, -0.4243146479129791, -1.0056390762329102, -0.44658446311950684, 0.3758573532104492, -0.11992412805557251, 0.045771077275276184, 0.5148954391479492, 0.8885554671287537, -0.048905253410339355, 0.0003912633110303432, 0.46892720460891724, -0.1710127890110016, 0.3792855739593506, 0.6824973225593567, 1.0642013549804688, -0.6471325159072876, 0.6893173456192017, -0.006813456304371357, -0.30943676829338074, -0.15450803935527802, -1.0207338333129883, -0.7799887657165527, -0.5150424838066101, -0.1305263489484787, -0.21543875336647034, -0.1248459592461586, 0.7289524078369141, 0.6095275282859802, -0.5540860295295715, -0.49597713351249695, -0.0655703991651535, -0.009151187725365162, -0.15096355974674225, -0.17614036798477173, 0.24265681207180023, -0.3939951956272125, -0.758966326713562, 0.036574654281139374, 0.3460082709789276, 0.3894190490245819, -0.3242330849170685, -0.23215490579605103, 0.22115054726600647, -0.05408775433897972, 0.5905914306640625, 0.023849163204431534, -0.7946255207061768, 0.007844146341085434, 0.15643131732940674, -0.43158701062202454, 0.05752760171890259, 0.64338219165802, -0.372254878282547, 0.40659141540527344, 0.6073020696640015, 0.8467341661453247, 0.383539617061615, -0.1138601005077362, 0.8119859099388123, -0.6850246787071228, -0.0036724696401506662, 0.1828465312719345, 0.15545931458473206, 0.6427944302558899, -0.22034329175949097, 0.3628045916557312, 0.06746243685483932, -0.5655815601348877, -0.8563175797462463, 0.3647593855857849, -0.8223087191581726, -0.090060755610466, 1.3268771171569824, -0.27009329199790955, 0.0006917697610333562, 0.1905992180109024, -0.21621176600456238, 0.23677942156791687, -0.25522974133491516, 0.7795340418815613, 0.6870697140693665, 0.39349445700645447, -0.22583703696727753, -0.4560057818889618, 0.2630295157432556, 0.4388509690761566, -0.9073276519775391, 0.09011642634868622, 0.5714737772941589, 0.2772710919380188, 0.09641456604003906, 0.5577186942100525, -0.36908113956451416, 0.2118082046508789, 0.017747795209288597, 0.537527322769165, 0.2996188998222351, -0.2592787742614746, -0.4913027882575989, 0.1912921965122223, 0.3200315833091736, 0.1368585228919983 ]
http://arxiv.org/abs/2402.10691v2
http://arxiv.org/pdf/2402.10691v2
Python is Not Always the Best Choice: Embracing Multilingual Program of Thoughts
2024-02-16T13:48:06
2024-06-16T12:29:50
Xianzhen Luo, Qingfu Zhu, Zhiming Zhang, Libo Qin, Xuanyu Zhang, Qing Yang, Dongliang Xu, Wanxiang Che
cs.CL
cs.CL
Program of Thoughts (PoT) is an approach characterized by its executable intermediate steps, which ensure the accuracy of the logical calculations in the reasoning process. Currently, PoT primarily uses Python. However, relying solely on a single language may result in suboptimal solutions and overlook the potential benefits of other programming languages. In this paper, we conduct comprehensive experiments on the programming languages used in PoT and find that no single language consistently delivers optimal performance across all tasks and models. The effectiveness of each language varies depending on the specific scenarios. Inspired by this, we propose a task and model agnostic approach called MultiPoT, which harnesses strength and diversity from various languages. Experimental results reveal that it significantly outperforms Python Self-Consistency. Furthermore, it achieves comparable or superior performance compared to the best monolingual PoT in almost all tasks across all models. In particular, MultiPoT achieves more than 4.6% improvement on average on ChatGPT (gpt-3.5-turbo-0701).
[ -0.11430846899747849, -0.7189961671829224, 0.5126948952674866, 0.9342672228813171, 0.04858429729938507, 0.16368012130260468, -0.6470444202423096, -0.2005244642496109, 0.011846228502690792, 0.03418916463851929, -0.35998234152793884, -0.11367017030715942, -0.6542595028877258, 0.3796009123325348, -0.017714373767375946, 0.7098382115364075, 0.010654903016984463, 0.09139258414506912, -0.0010734011884778738, -0.21369044482707977, -0.5474466681480408, -0.35890650749206543, -0.4869552254676819, -0.7471137046813965, 0.45064711570739746, 0.4162570834159851, 0.5193842053413391, 0.18365223705768585, 0.6306392550468445, 0.3742402493953705, 0.5862730145454407, 0.19399626553058624, -0.16926510632038116, 0.09030213952064514, -0.1790664941072464, -0.6577011942863464, -0.05627213418483734, 0.009940179996192455, 0.21341519057750702, 0.30133432149887085, -0.2840256094932556, 0.09814896434545517, 0.027232425287365913, 0.545376718044281, -0.9128000736236572, 0.3696676194667816, -0.7379584312438965, 0.17920882999897003, -0.1166502982378006, -0.43119198083877563, -0.6762293577194214, -0.1247255876660347, -0.10539538413286209, -0.6767247915267944, -0.21435095369815826, -0.18515516817569733, 0.42919743061065674, 0.4636196792125702, -0.12194439023733139, -0.2453116923570633, -0.8679189682006836, 1.0817824602127075, -0.6480385065078735, 0.35071226954460144, 0.20544345676898956, 0.2565099000930786, -0.3315713405609131, -0.34259605407714844, -0.7708117961883545, -0.18065302073955536, 0.11396953463554382, 0.2646365463733673, -0.23822352290153503, 0.05718762427568436, 0.26116806268692017, 0.3280300796031952, -0.6394389271736145, -0.2508885860443115, -0.26366207003593445, -0.02432583086192608, 0.4503868520259857, 0.04260767623782158, 0.40202710032463074, -0.22942042350769043, -0.1878526359796524, -0.0800095871090889, -0.4791407883167267, 0.2662176489830017, 0.39648503065109253, 0.48982882499694824, -0.029862331226468086, 0.7017303705215454, -0.1921616643667221, 0.8742190003395081, -0.2571500539779663, -0.4521470069885254, 0.09484436362981796, -0.3231102526187897, -0.36777448654174805, -0.15233400464057922, 1.102880597114563, 0.06745228916406631, 0.4067695438861847, -0.29115960001945496, 0.24153363704681396, 0.6726694703102112, 0.25778236985206604, -0.4964737892150879, -0.724224328994751, 0.6575607061386108, -0.1644749492406845, -0.03493909165263176, -0.28328657150268555, -0.23022091388702393, -0.42076876759529114, -0.4430728256702423, 0.3010529577732086, -0.8803814649581909, -0.5879910588264465, 0.1563507616519928, -0.12456898391246796, -0.031210951507091522, 0.26390692591667175, -0.8761797547340393, 0.23500345647335052, 0.7012430429458618, 0.9964881539344788, -0.41558557748794556, -0.8617110252380371, -0.3347679078578949, 0.06325671821832657, -0.49348652362823486, 0.9971539378166199, -0.6284637451171875, -0.06021548807621002, -0.5341348648071289, -0.4280557334423065, -0.21833330392837524, -0.269796758890152, 0.1882469803094864, 0.1517392247915268, 0.25446462631225586, -0.48205894231796265, -0.43536558747291565, -0.027667131274938583, 0.417991042137146, -0.3926699459552765, 1.0368828773498535, 0.004791748709976673, -0.9844473004341125, 0.8168820142745972, -1.063051700592041, -0.5106339454650879, 0.01253829337656498, -0.37203237414360046, -0.21932794153690338, -0.07316846400499344, 0.07918287813663483, 0.21321529150009155, -0.008173462003469467, 0.26717448234558105, -0.3104031980037689, -0.6044905185699463, 0.07621733844280243, -0.6175158023834229, 1.1145668029785156, 0.4710122346878052, -0.43026259541511536, 0.45250824093818665, -0.4784626066684723, 0.33194682002067566, 0.11518753319978714, -0.3712815046310425, -0.3410196304321289, 0.043857719749212265, 0.10614654421806335, 0.2522517144680023, -0.07616885006427765, -0.7320302724838257, 0.5998215675354004, -0.3253616392612457, 0.7359887957572937, 0.6066899299621582, -0.4454154372215271, 0.2931089401245117, -0.06141860783100128, 0.47778692841529846, 0.04017099738121033, 0.08928527683019638, -0.21067273616790771, -0.6095965504646301, -0.7061198353767395, -0.41481566429138184, 0.33278605341911316, 0.8569934368133545, -0.7254825234413147, 0.06909163296222687, 0.003626207821071148, -0.5143348574638367, -0.7632467150688171, 0.23328767716884613, 0.14373672008514404, 0.002070675604045391, 0.1956571489572525, -0.07350039482116699, -0.5148983001708984, -0.96158766746521, -0.5416095852851868, -0.3159918785095215, 0.2187843769788742, 0.07180650532245636, 0.3478982448577881, -0.02822038158774376, 0.8076614737510681, -0.4536479711532593, -0.044870179146528244, -0.6378324627876282, 0.26928654313087463, 0.4227716028690338, 0.49939361214637756, 0.4499295651912689, -0.6737017035484314, -1.0433765649795532, 0.32464393973350525, -0.8384995460510254, 0.14953476190567017, -0.3017657697200775, -0.18023379147052765, 0.25617876648902893, -0.21270214021205902, -0.7550488114356995, 0.3056076765060425, 0.5380169153213501, -0.012670253403484821, 0.7489081025123596, -0.5638278126716614, 0.26353493332862854, -0.8663372993469238, 0.14880912005901337, -0.056744534522295, -0.2194485068321228, -0.6696152091026306, 0.17386256158351898, 0.37391167879104614, 0.01923593133687973, -0.43291130661964417, 0.28375741839408875, -0.4762604236602783, 0.17987549304962158, -0.6160143613815308, -0.32347923517227173, -0.10680056363344193, 0.6085464954376221, 0.14506575465202332, 1.1746323108673096, 1.1215118169784546, -0.5363203883171082, 0.647453248500824, -0.12022639811038971, -0.23750722408294678, 0.3963356912136078, -0.4852672219276428, 0.2650819420814514, 0.038456663489341736, -0.15746912360191345, -0.8879128098487854, -0.039110153913497925, 0.29875648021698, -0.3721424639225006, 0.22781454026699066, 0.2639947533607483, -0.5406889915466309, -0.6077782511711121, -0.0677497461438179, 0.1481878161430359, 0.026766091585159302, -0.3073031008243561, 0.4894786477088928, 0.39244088530540466, -0.04360980913043022, -1.2347592115402222, -0.6361286044120789, 0.29767125844955444, -0.32348886132240295, -0.3799625635147095, -0.0969943031668663, -0.10774827748537064, -0.41593214869499207, -0.18107907474040985, -0.012300261296331882, -0.01697847619652748, -0.1558389961719513, 0.11320125311613083, -0.09197316318750381, 0.15117979049682617, 0.030666658654808998, -0.23723356425762177, -0.1856725662946701, -0.19755002856254578, -0.48541659116744995, 0.753908097743988, -0.5186120867729187, -0.37989798188209534, -0.28169161081314087, 0.6079022884368896, 0.6971408128738403, -0.3868918716907501, 0.5698346495628357, 0.40549394488334656, -0.15181545913219452, -0.38222822546958923, -0.5023389458656311, 0.1577891856431961, -0.4682723879814148, 0.3571705222129822, -0.7954756021499634, -0.21982036530971527, 0.3881004750728607, 0.1697692573070526, 0.20845109224319458, -0.1605609953403473, 0.8073718547821045, -0.03303689882159233, 0.7507963180541992, 0.9336732029914856, -0.2456284463405609, 0.35901033878326416, -0.21022894978523254, 0.47704946994781494, -0.5572373270988464, 0.044377170503139496, -0.24916769564151764, -0.12260860204696655, -0.49504998326301575, -0.4371586740016937, 0.44814425706863403, -0.32910141348838806, -0.04438402131199837, 0.8303634524345398, -0.8021312952041626, 0.670381486415863, 0.9622547030448914, 0.029003001749515533, 0.3842471241950989, -0.1192704513669014, -0.19790853559970856, -0.06195341423153877, -1.0620774030685425, -0.4323503375053406, 1.3920378684997559, -0.12869560718536377, 0.7261999249458313, -0.10312943905591965, 0.5997753143310547, 0.21458666026592255, 0.33980488777160645, -0.7230840921401978, 0.308346688747406, 0.0731959417462349, -0.6698245406150818, -0.7123036980628967, -0.34545019268989563, -1.0542296171188354, 0.8003471493721008, -0.03182892128825188, -0.7689923048019409, -0.3246001899242401, 0.13146217167377472, -0.3657647371292114, 0.4155929684638977, -0.9766104221343994, 1.1759387254714966, -0.3778931796550751, -0.5347568988800049, -0.334195613861084, -0.4334524869918823, 0.35983920097351074, -0.000173232561792247, 0.06860862672328949, -0.10649089515209198, 0.38926494121551514, 0.12492343783378601, -0.13421228528022766, 0.3013542890548706, 0.0249006524682045, -0.011397561989724636, 0.4008682668209076, 0.007186333183199167, 0.24847303330898285, 0.013340501114726067, -0.19287216663360596, 0.23189720511436462, 0.1349269300699234, -0.6043179631233215, -0.5736719369888306, 0.7642660737037659, -0.810114860534668, -0.7077637314796448, -0.6353636384010315, -1.0408638715744019, -0.15888862311840057, 0.47684067487716675, 0.37882059812545776, 0.016173139214515686, -0.13108861446380615, -0.13393160700798035, 0.24337297677993774, -0.38479670882225037, 0.5152125954627991, 0.2883182764053345, -0.2274719923734665, -0.08615977317094803, 0.8654555082321167, 0.1426485925912857, 0.2986854016780853, 0.3688560426235199, 0.2967015504837036, -0.2743246257305145, -0.27750635147094727, -0.780276894569397, 0.03607344254851341, -0.6398743391036987, 0.02453618496656418, -0.886643648147583, 0.2541567087173462, -0.6179808378219604, 0.02016511745750904, -0.7401119470596313, -0.28122130036354065, 0.462379515171051, 0.12918531894683838, 0.06965223699808121, 0.3802100718021393, -0.057499006390571594, -0.08037403225898743, -0.21283094584941864, 0.5016084909439087, 0.20170362293720245, 0.3471492528915405, -0.20516414940357208, 0.22111298143863678, 0.0009771735640242696, 0.15946078300476074, -0.6278485655784607, -0.9894749522209167, 0.26613807678222656, 0.1939650923013687, 0.6515055298805237, 0.287527471780777, 0.1658453643321991, 0.846767783164978, -0.5718332529067993, 0.5760393738746643, 0.4037667512893677, -0.9167513847351074, 0.7183752059936523, -0.3356391191482544, 0.6156222224235535, 0.5407772064208984, 0.13296593725681305, -0.6773097515106201, -0.8190304636955261, -0.3596637547016144, -0.520473301410675, 0.6067953705787659, 0.5812329053878784, -0.09288928657770157, 0.12094883620738983, -0.18067024648189545, 0.5460272431373596, 0.5171715021133423, -1.1273486614227295, -0.380129873752594, -0.5070845484733582, 0.08432044833898544, -0.11900585889816284, 0.4859315752983093, -0.026781827211380005, -0.3912421762943268, 0.5192910432815552, -0.17165926098823547, 0.3837163746356964, 0.0005314071313478053, 0.004403159487992525, -0.24807730317115784, 0.48682910203933716, 0.3351277709007263, 1.0730984210968018, 0.09618061780929565, 0.2765917181968689, 0.08448958396911621, -0.3962116539478302, 0.23459990322589874, -0.35439690947532654, -0.27298200130462646, -0.037899199873209, 0.1325262039899826, 0.6012440919876099, -0.2238105833530426, -0.6656057834625244, 0.34739816188812256, -0.043136999011039734, 0.14914974570274353, -0.4057316184043884, 0.4103916883468628, 0.2474752962589264, 0.13642068207263947, 0.09378006309270859, 0.42260196805000305, 0.30276817083358765, -0.844094455242157, -0.036873240023851395, 0.6605806946754456, 0.07977426052093506, -0.12446329742670059, 0.6914435029029846, -0.02843603491783142, -0.3344985246658325, 0.7501652836799622, -0.3483726978302002, -0.6451299786567688, 0.5567778944969177, 0.7265504002571106, 0.6920382380485535, -0.2229599505662918, 0.28800299763679504, 0.3154725432395935, 0.5225169658660889, -0.0913248211145401, 0.6766129732131958, -0.17576995491981506, -0.7048923969268799, -0.8221855759620667, -0.35133907198905945, -0.5212191939353943, 0.11925778537988663, -0.05181412026286125, 0.31836190819740295, -0.13388262689113617, -0.22408606112003326, -0.11053545027971268, 0.09279749542474747, -0.5827153325080872, 0.042286328971385956, 0.11102600395679474, 0.659106433391571, -0.849242627620697, 1.353657603263855, 0.8547031879425049, -0.19686460494995117, -0.9607582092285156, -0.3398056626319885, -0.23043113946914673, -0.43555518984794617, 0.3493984639644623, 0.2585965096950531, -0.15870963037014008, -0.2588435411453247, -0.2753501534461975, -0.6404768824577332, 0.6134187579154968, 0.6421754360198975, -0.16056931018829346, 0.2647330164909363, 0.4255482256412506, 0.3984404504299164, -0.09702111780643463, 0.46288079023361206, 0.4776611626148224, 0.741642415523529, -0.10542798042297363, -1.2949368953704834, -0.3345973491668701, -0.6162839531898499, -0.24704018235206604, 0.26421433687210083, -0.8599916100502014, 1.0961642265319824, -0.51430743932724, -0.22320528328418732, -0.1922907680273056, 0.5971500873565674, 0.4820784628391266, 0.2854735553264618, 0.3465579152107239, 0.43107008934020996, 0.8740390539169312, -0.25807976722717285, 1.125282645225525, -0.5860905647277832, 0.3376008868217468, 1.0232664346694946, -0.17095519602298737, 0.6629632711410522, 0.6860952973365784, -0.6597638726234436, 0.2150280773639679, 0.563525378704071, -0.024937989190220833, 0.5163494348526001, 0.24503912031650543, -0.01598801091313362, -0.41939371824264526, 0.3859107494354248, -0.3806707561016083, 0.6498429775238037, 0.12572446465492249, 0.15125074982643127, 0.010884524323046207, 0.27678120136260986, -0.10147014260292053, 0.06671471893787384, 0.020981887355446815, 0.28953561186790466, 0.01670299470424652, -1.199118971824646, 0.5739471316337585, -0.06838728487491608, 0.8447079658508301, -0.665478527545929, -0.0923282653093338, -0.027030404657125473, 0.5601533055305481, -0.11024032533168793, -0.6699755787849426, 0.3011486828327179, -0.0670824944972992, -0.06622565537691116, -0.2374570667743683, 0.6997753381729126, -0.4513009786605835, -0.7765748500823975, 0.11422047764062881, 0.5565568208694458, 0.342043936252594, -0.4184240698814392, -0.833602249622345, -0.04382249712944031, -0.09811795502901077, -0.16175305843353271, 0.1221323311328888, 0.5904307961463928, 0.1874491572380066, 1.2449871301651, 0.5837752819061279, 0.63411545753479, 0.1308446079492569, -0.22219699621200562, 0.536704957485199, -0.30877164006233215, -0.8575392365455627, -1.0204988718032837, 0.3733709454536438, -0.05802646279335022, -0.3633759021759033, 1.2019286155700684, 0.7217520475387573, 0.9384070634841919, -0.23623499274253845, 1.1954649686813354, -0.3077055513858795, 0.18739955127239227, -0.09794889390468597, 0.6439582705497742, -0.5590628385543823, 0.0323822908103466, -0.7146113514900208, -1.1270807981491089, -0.2425534427165985, 1.0987279415130615, -0.3104678988456726, -0.24991296231746674, 0.9394665956497192, 0.4069666266441345, -0.18027614057064056, 0.10857697576284409, 0.43698424100875854, -0.24370625615119934, 0.34185078740119934, 0.9198862314224243, 0.7986229062080383, -0.21617910265922546, 0.4261854290962219, -0.5243910551071167, -0.37511393427848816, 0.2435745745897293, -0.800470232963562, -0.8546448349952698, -0.40676259994506836, -0.255400151014328, -0.02964814379811287, -0.0006322039989754558, 1.0175702571868896, 0.7948644757270813, -0.9320414066314697, -0.7033670544624329, -0.23733532428741455, 0.015615545213222504, -0.8739866018295288, -0.13868564367294312, 0.2052069902420044, -0.6860305666923523, -1.0765910148620605, 0.303550660610199, 0.6269689202308655, -0.5416876673698425, -0.5388765931129456, -0.17326824367046356, -0.24026983976364136, -0.08912830799818039, 0.6143704056739807, 0.29262015223503113, -0.9121565222740173, -0.08875735849142075, 0.36690470576286316, -0.0863252580165863, 0.4207768142223358, 1.063492774963379, -0.5447391867637634, 0.8126959204673767, 0.4296777546405792, 0.26696673035621643, 0.23906953632831573, -0.06941492110490799, 0.7862911820411682, -0.1944226771593094, 0.47610384225845337, 0.19709089398384094, 0.58939528465271, 0.3270244896411896, -0.4294750988483429, 0.570940375328064, 0.06269948184490204, -0.563136875629425, -0.7492361068725586, 0.29545798897743225, -0.8493693470954895, -0.7087780833244324, 1.1714386940002441, -0.3417566120624542, -0.08006281405687332, -0.38456907868385315, -0.41561707854270935, 0.3418571650981903, -0.28544557094573975, 1.0989234447479248, 1.1063238382339478, -0.6436217427253723, -0.12783445417881012, -0.49391472339630127, 0.2458188235759735, 0.5822437405586243, -0.5590924620628357, 0.3669573664665222, 0.23026804625988007, 0.28955549001693726, 0.456428200006485, 0.926226019859314, 0.14699986577033997, 0.09689876437187195, 0.3678925633430481, 0.13852941989898682, -0.14284589886665344, -0.7102746367454529, 0.3069886863231659, 0.3604017198085785, 0.05872264504432678, -0.13131186366081238 ]
http://arxiv.org/abs/2402.10689v2
http://arxiv.org/pdf/2402.10689v2
Multi-Cultural Commonsense Knowledge Distillation
2024-02-16T13:46:38
2024-04-17T14:12:07
Tuan-Phong Nguyen, Simon Razniewski, Gerhard Weikum
cs.CL
cs.CL
Despite recent progress, large language models (LLMs) still face the challenge of appropriately reacting to the intricacies of social and cultural conventions. This paper presents MANGO, a methodology for distilling high-accuracy, high-recall assertions of cultural knowledge. We judiciously and iteratively prompt LLMs for this purpose from two entry points, concepts and cultures. Outputs are consolidated via clustering and generative summarization. Running the MANGO method with GPT-3.5 as underlying LLM yields 167K high-accuracy assertions for 30K concepts and 11K cultures, surpassing prior resources by a large margin. For extrinsic evaluation, we explore augmenting dialogue systems with cultural knowledge assertions. We find that adding knowledge from MANGO improves the overall quality, specificity, and cultural sensitivity of dialogue responses, as judged by human annotators. Data and code are available for download.
[ -0.38019657135009766, -0.8250533938407898, 0.3757926821708679, 0.13380694389343262, -0.23664726316928864, 0.47932514548301697, -0.44830507040023804, -0.12803377211093903, 0.339657187461853, 0.5102879405021667, -0.20976440608501434, -0.33828091621398926, -0.6873080730438232, 0.10920675843954086, -0.19826431572437286, 0.7688453197479248, 0.04936744645237923, -0.41420790553092957, -0.07766590267419815, -0.46351158618927, -0.6696555018424988, -0.5655028820037842, -0.41676828265190125, -0.3451833426952362, 0.21964243054389954, 0.7181332111358643, 0.5591024160385132, 0.24498014152050018, 0.12039220333099365, 0.35751932859420776, -0.28190356492996216, 0.5897518992424011, -0.5276590585708618, 0.27552515268325806, -0.24220769107341766, -0.533420741558075, -0.16305001080036163, 0.1427449882030487, 0.07745034992694855, 0.3979324698448181, -0.4315722584724426, 0.39570748805999756, 0.22081811726093292, 0.5430706143379211, -0.558103621006012, 0.3304663896560669, -0.8667553663253784, 0.04086431488394737, -0.1604120135307312, -0.01162355300039053, -0.37345242500305176, -0.5950445532798767, 0.01235945150256157, -0.5510100722312927, -0.15891802310943604, -0.06440814584493637, 0.6366885304450989, 0.3579006791114807, -0.6750269532203674, -0.12904730439186096, -0.7444628477096558, 1.0086206197738647, -0.5579356551170349, 0.11189146339893341, 0.6031039357185364, 0.6514148712158203, -0.028300868347287178, -0.6450293660163879, -0.7697257995605469, 0.0556468591094017, 0.08009741455316544, 0.21610480546951294, -0.08642154186964035, -0.2321578562259674, 0.2632971405982971, 0.3133562505245209, -0.007882386445999146, 0.029338529333472252, -0.5398767590522766, -0.16142094135284424, 0.6613667011260986, 0.1079714223742485, 0.1817009299993515, -0.2972169518470764, -0.23424960672855377, 0.2044457346200943, -0.8011021614074707, -0.15200300514698029, -0.09331702440977097, -0.0745120644569397, -0.12074102461338043, 0.6000314950942993, -0.4736601412296295, 0.47604426741600037, 0.03982048109173775, -0.7096796035766602, 0.17677007615566254, -0.4564270079135895, -0.1119745597243309, -0.08931922912597656, 0.7413489818572998, 0.6945115327835083, 0.44335803389549255, 0.36518192291259766, 0.1999366730451584, -0.12939998507499695, -0.16498327255249023, -0.614998996257782, -0.290708065032959, 0.3240055441856384, -0.314532071352005, -0.2284967005252838, -0.30765414237976074, -0.69756019115448, -0.8622299432754517, -0.321296751499176, 0.06847171485424042, -0.48719048500061035, -0.4749181568622589, -0.32037317752838135, -0.5394962430000305, 0.22644773125648499, 0.3405623435974121, -0.7707133293151855, 0.005429258104413748, 0.5859776139259338, 0.7977348566055298, -0.04339748993515968, -0.1607566773891449, -0.3425479531288147, 0.3130865693092346, -0.5290490984916687, 0.46983668208122253, -0.5461024045944214, -0.5024954080581665, -0.2673570215702057, -0.20401595532894135, 0.19511906802654266, -0.851616621017456, 0.676745593547821, -0.10329705476760864, -0.05538148805499077, -0.5942607522010803, -0.24017789959907532, -0.2998097240924835, 0.3931536376476288, -0.412860244512558, 0.9257415533065796, 0.08964835107326508, -0.5077139735221863, 0.42660531401634216, -0.582733690738678, -0.5898485779762268, 0.22953252494335175, -0.2934426963329315, 0.0758606493473053, 0.3863355815410614, 0.5096530914306641, 0.5174386501312256, -0.5570387244224548, 0.642156183719635, -0.23717144131660461, -0.26878440380096436, 0.43297237157821655, -0.7574328184127808, 0.925333559513092, 0.8627066016197205, -0.09790615737438202, -0.2110716998577118, -0.5869825482368469, -0.3128345310688019, 0.21881137788295746, -0.23928767442703247, -0.6144726872444153, -0.08157588541507721, -0.6866280436515808, 0.15689194202423096, 0.10379195213317871, -0.5686751008033752, 0.08146275579929352, 0.06397301703691483, 0.7800140380859375, 0.6672695875167847, -0.07045202702283859, 0.10673479735851288, -0.43013668060302734, 0.26345449686050415, 0.2820555865764618, 0.14714981615543365, -0.39155226945877075, -0.7190541625022888, -0.543030321598053, -0.3783476650714874, -0.10625330358743668, 0.5209161043167114, -1.1601874828338623, 0.2899826467037201, -0.3547215163707733, -0.6672758460044861, -0.4270617961883545, 0.2893354892730713, 0.0754188671708107, 0.6846715807914734, 0.136090949177742, -0.3929213583469391, -0.41926679015159607, -0.7280430793762207, -0.27824705839157104, -0.21397967636585236, 0.08523780107498169, 0.27757641673088074, 0.19452746212482452, 0.1631837785243988, 1.073603630065918, -0.6926451325416565, -0.05422994866967201, -0.35849666595458984, 0.3191603124141693, 0.2860322892665863, 0.21353548765182495, 0.326114296913147, -0.6923426985740662, -0.7468799352645874, 0.15158715844154358, -0.8538684844970703, -0.05858009681105614, 0.4499424993991852, 0.09009634703397751, 0.28242817521095276, 0.3095766305923462, -0.43055465817451477, 0.1484629511833191, 0.3826557397842407, 0.05196090787649155, 0.5522773861885071, -0.0643094927072525, 0.5918998122215271, -1.430593490600586, -0.19324424862861633, 0.06500108540058136, -0.04306286573410034, -0.47651782631874084, 0.0020783180370926857, 0.09916055202484131, -0.24327394366264343, -0.4455202519893646, 0.5379734039306641, -0.2380296289920807, 0.36438438296318054, -0.028604133054614067, 0.13660293817520142, 0.1612740308046341, 0.4266687035560608, 0.2614205777645111, 0.6453526020050049, 0.23275895416736603, -0.5422221422195435, 0.774081826210022, 0.19419443607330322, -0.7697544693946838, 1.240290641784668, -0.3333163857460022, 0.08088736981153488, -0.30641642212867737, 0.43141117691993713, -1.1203770637512207, -0.3496972620487213, -0.12335626780986786, -0.2932892441749573, -0.13491031527519226, -0.47438353300094604, -0.3971141576766968, -0.6345365643501282, -0.2038165181875229, 0.3163498044013977, 0.8807492852210999, -0.6581483483314514, 0.6204482316970825, 0.5188644528388977, -0.6793488264083862, -0.9463950991630554, -0.8635218739509583, 0.32644370198249817, -0.7949442863464355, -0.546105682849884, -0.4058392345905304, 0.01066930964589119, -0.5433698296546936, -0.4034979045391083, 0.020867735147476196, -0.2445925623178482, 0.38484421372413635, 0.06280601769685745, 0.16312259435653687, -0.04963778331875801, 0.14881259202957153, 0.11347729712724686, 0.14979878067970276, 0.007775490637868643, -0.4773036241531372, 0.446271151304245, 0.10399109870195389, -0.4074443578720093, -0.23781442642211914, 0.15295031666755676, 0.7012137174606323, -0.46095678210258484, 0.6254982352256775, 0.537967324256897, -0.23408915102481842, 0.16967938840389252, -1.0345498323440552, 0.025685744360089302, -0.4628746509552002, 0.38319823145866394, -0.5877704620361328, -0.7026273608207703, 0.5814109444618225, -0.3517182171344757, 0.11357124149799347, 0.38018104434013367, 0.48063862323760986, -0.07618338614702225, 0.7017835974693298, 0.1353219747543335, -0.11423690617084503, 0.20140710473060608, -0.1645534485578537, 0.38591524958610535, -0.715003490447998, -0.18496374785900116, -0.5927633047103882, -0.3215756118297577, -0.3179422914981842, -0.7959096431732178, 0.49480974674224854, -0.02630467154085636, -0.2935848534107208, 0.00482939463108778, -0.17191454768180847, 0.9452290534973145, 0.4641095995903015, -0.21762558817863464, 0.8530596494674683, 0.060946185141801834, -0.2408735603094101, -0.023216405883431435, -0.6849981546401978, -0.32661154866218567, 1.1825674772262573, 0.37132635712623596, 0.8880842924118042, 0.5056083798408508, 0.7313407063484192, 0.09238442778587341, 0.6372692584991455, -0.5576834678649902, 0.33265912532806396, -0.2907393276691437, -0.6354501843452454, -0.30710479617118835, -0.5099040865898132, -0.4501151442527771, 0.3155810832977295, -0.008313821628689766, -0.8703011274337769, 0.04066527262330055, 0.18454501032829285, -0.4828922152519226, 0.2490910291671753, -1.0112407207489014, 0.6127650737762451, -0.11594060063362122, -0.3372228443622589, -0.29436033964157104, -0.5369295477867126, 0.9921923875808716, -0.28161686658859253, 0.69571852684021, -0.4527522623538971, 0.27680838108062744, 0.6301738023757935, -0.5113792419433594, 0.9929962158203125, -0.29742515087127686, -0.36915645003318787, 0.6025916934013367, 0.15401722490787506, 0.4640956521034241, 0.03263970464468002, -0.11385165899991989, -0.006988564971834421, 0.1459706723690033, -0.34319961071014404, -0.6105380654335022, 0.7075970768928528, -0.7185516357421875, -0.7432884573936462, -0.07380882650613785, -0.5864124894142151, -0.24838916957378387, -0.03635456785559654, 0.08321286737918854, 0.3250598907470703, -0.3357957899570465, 0.17144763469696045, 0.7521123290061951, -0.5163660645484924, 0.28336867690086365, 0.40920743346214294, -0.3358957767486572, -0.34951746463775635, 1.0000284910202026, 0.24275441467761993, 0.4892275631427765, 0.09639618545770645, 0.4807424247264862, -0.6256799697875977, -0.36551159620285034, -0.5105363130569458, -0.0869065597653389, -0.9128071665763855, -0.20783641934394836, -0.5479329824447632, 0.017745228484272957, -0.5100549459457397, -0.013644465245306492, -0.29879897832870483, -0.7113285660743713, 0.33238378167152405, -0.2540621757507324, 0.6036760210990906, 0.7594157457351685, -0.19348593056201935, 0.1589687317609787, -0.9971216917037964, 0.37980568408966064, 0.4644218683242798, 0.20845599472522736, 0.059627097100019455, -0.517524778842926, -0.11722981929779053, 0.3020825982093811, -0.3284069299697876, -0.7914279103279114, 0.3705630302429199, 0.19238941371440887, 0.6312345266342163, 0.4197675883769989, 0.2981705963611603, 0.7804983258247375, -0.12290391325950623, 0.9959093332290649, 0.36133792996406555, -0.8489882349967957, 0.61830735206604, -0.13955499231815338, 0.3881371021270752, 0.6110260486602783, 0.45680102705955505, -0.9183087348937988, -0.6124629974365234, -0.3478264808654785, -0.6671575903892517, 0.3144538104534149, -0.29721370339393616, 0.3692801892757416, -0.29442062973976135, -0.04656276851892471, 0.32790496945381165, 0.13518881797790527, -0.4529479444026947, -0.08829932659864426, -0.19944165647029877, -0.326330304145813, -0.24832475185394287, -0.22502756118774414, -0.48359906673431396, -0.4275394082069397, 0.4936283528804779, -0.24353323876857758, -0.45789244771003723, -0.0463995561003685, -0.45644837617874146, 0.3016945421695709, 0.5714147686958313, 0.35101667046546936, 0.7771508097648621, 0.13383863866329193, 0.3684181571006775, 0.4544837474822998, -0.3308052122592926, 0.5303612947463989, -0.05752082169055939, 0.09562923014163971, -0.3341066837310791, -0.10705672204494476, 0.4420924782752991, -0.09927044808864594, -0.537530243396759, 0.3148317337036133, -0.2444731891155243, 0.05316746607422829, -0.12942111492156982, -0.012070700526237488, 0.39299505949020386, 0.07682748883962631, 0.348773717880249, -0.14427988231182098, -0.0789240300655365, -0.7834078669548035, 0.05402851477265358, 0.2279042750597, -0.16621604561805725, 0.2064257264137268, 0.4826282262802124, 0.6937314867973328, 0.1282019466161728, 0.8104497790336609, -0.25853192806243896, -0.3617352545261383, 0.520028293132782, 0.3271227180957794, 0.5021058917045593, -0.42776384949684143, 0.413692831993103, 0.42767706513404846, 0.1442147046327591, -0.09552863985300064, 0.10629386454820633, -0.22717168927192688, -0.8860601186752319, -0.7938498258590698, -0.6794277429580688, -0.3469909131526947, -0.15627223253250122, -0.3490449786186218, 0.0875604972243309, -0.2133612334728241, 0.040368687361478806, -0.20019076764583588, 0.01991543360054493, -0.5831302404403687, -0.04250488430261612, 0.02265487052500248, 0.9929726123809814, -1.0666671991348267, 1.0599639415740967, 0.2373778373003006, -0.3917074501514435, -0.8324989676475525, -0.23056945204734802, 0.4339221119880676, -1.001625895500183, 0.5663788914680481, -0.10095338523387909, 0.14069844782352448, -0.10969361662864685, -0.37374192476272583, -0.7204964756965637, 1.1430500745773315, 0.2384413331747055, -0.4668175280094147, 0.5012661814689636, 0.19589567184448242, 0.32211044430732727, -0.1524536907672882, 0.40738922357559204, 1.0528340339660645, 0.4851215183734894, 0.5361390113830566, -1.202377200126648, 0.014305694960057735, -0.18287093937397003, -0.09284400939941406, 0.0783037319779396, -0.6894123554229736, 0.5775209069252014, -0.38098692893981934, -0.12900114059448242, 0.014972756616771221, 0.6417673230171204, 0.49834951758384705, 0.230988010764122, 0.2323049008846283, 0.5184329748153687, 1.322166919708252, -0.28583255410194397, 0.8992864489555359, -0.0847286656498909, -0.020494144409894943, 1.3204231262207031, -0.4928310513496399, 0.6486976742744446, 0.4062512516975403, -0.23495197296142578, 0.42002761363983154, 0.5760765671730042, 0.24668152630329132, 0.1529267281293869, 0.3089011609554291, -0.35338684916496277, 0.1930496245622635, -0.536245584487915, -0.3187001049518585, 0.6372549533843994, 0.6458654403686523, -0.10827304422855377, -0.018290990963578224, 0.04590842127799988, 0.29018840193748474, 0.23435623943805695, -0.33344680070877075, 0.9982154965400696, 0.15042291581630707, -1.2016819715499878, 0.7537218332290649, -0.16743658483028412, 0.8215959072113037, -0.42272865772247314, -0.023214496672153473, -0.6592075824737549, -0.12675562500953674, -0.15575729310512543, -0.9288854598999023, 0.41321805119514465, 0.0630863830447197, 0.23530513048171997, -0.0847591832280159, 0.6223273873329163, -0.6464035511016846, -0.24119926989078522, -0.2287786602973938, 0.7040389776229858, 0.3026694059371948, -0.11171836405992508, -0.23929250240325928, 0.05994868278503418, 0.020556291565299034, 0.23976364731788635, 0.03816567733883858, 0.6120493412017822, -0.28406623005867004, 0.6132398843765259, 0.31070834398269653, -0.07215002924203873, 0.056079279631376266, 0.0730363205075264, 0.3629283905029297, -0.5626137256622314, -0.3524203896522522, -0.9689992070198059, 0.5035429000854492, -0.4888351559638977, -0.018205543980002403, 0.6757801175117493, 0.4632980525493622, 0.7139087319374084, 0.10079043358564377, 1.2123029232025146, -0.18229560554027557, 0.37910380959510803, -0.4658709466457367, 0.7114951014518738, -0.28739163279533386, 0.37648501992225647, -0.08444271981716156, -0.9295625686645508, 0.1710745096206665, 0.2595421373844147, -0.2835089862346649, -0.047353945672512054, 0.6524264216423035, 0.5975404977798462, -0.04343748465180397, 0.36252647638320923, 0.3336585760116577, 0.47744885087013245, 0.45488983392715454, 0.5933825373649597, 1.2779698371887207, 0.21274638175964355, 0.5119249820709229, -0.33338040113449097, -0.49049660563468933, -0.017712634056806564, -0.9946067333221436, -0.5233270525932312, -0.6619201898574829, -0.3133205771446228, -0.28996968269348145, -0.17324770987033844, 0.9009953737258911, 0.6499757766723633, -0.5952473878860474, -0.3903498351573944, 0.49221885204315186, 0.49899694323539734, -0.32702383399009705, -0.19768764078617096, 0.03599613904953003, -0.19205603003501892, -0.7337587475776672, 0.24823394417762756, 0.31259024143218994, 0.05738874524831772, -0.12751492857933044, -0.11596385389566422, 0.11782462894916534, 0.22326239943504333, 0.8671301603317261, 0.21099188923835754, -0.7923553586006165, -0.2837238013744354, -0.3883698880672455, 0.21173110604286194, 0.04107825458049774, 0.7579904198646545, -0.6461960077285767, 0.5018648505210876, 0.3911108374595642, 0.3822290003299713, 0.5162319540977478, 0.016515592113137245, 0.8758060336112976, -0.971261203289032, 0.17651312053203583, -0.08812157809734344, 0.5682181119918823, 0.4038397967815399, -0.04892842471599579, 0.5460089445114136, 0.16369205713272095, -0.2711714506149292, -0.5453140139579773, 0.46963584423065186, -0.5893793106079102, -0.4395216703414917, 1.0084435939788818, -0.3857743442058563, -0.11995622515678406, -0.5507387518882751, -0.4041057229042053, 0.04040427505970001, -0.25992488861083984, 0.8143224716186523, 0.963226318359375, 0.12929396331310272, -0.18123359978199005, -0.2941972613334656, 0.43745386600494385, 0.2650308310985565, -0.8444167971611023, 0.36816343665122986, 0.5299609899520874, 0.49076610803604126, 0.2948848307132721, 0.8332750201225281, -0.22031623125076294, 0.08918223530054092, -0.13894067704677582, -0.20331072807312012, -0.03042486496269703, -0.14630134403705597, -0.06825094670057297, 0.18685169517993927, 0.5271242260932922, 0.11480257660150528 ]
http://arxiv.org/abs/2402.10688v2
http://arxiv.org/pdf/2402.10688v2
Towards Uncovering How Large Language Model Works: An Explainability Perspective
2024-02-16T13:46:06
2024-04-15T18:43:12
Haiyan Zhao, Fan Yang, Bo Shen, Himabindu Lakkaraju, Mengnan Du
cs.CL
cs.CL
Large language models (LLMs) have led to breakthroughs in language tasks, yet the internal mechanisms that enable their remarkable generalization and reasoning abilities remain opaque. This lack of transparency presents challenges such as hallucinations, toxicity, and misalignment with human values, hindering the safe and beneficial deployment of LLMs. This paper aims to uncover the mechanisms underlying LLM functionality through the lens of explainability. First, we review how knowledge is architecturally composed within LLMs and encoded in their internal parameters via mechanistic interpretability techniques. Then, we summarize how knowledge is embedded in LLM representations by leveraging probing techniques and representation engineering. Additionally, we investigate the training dynamics through a mechanistic perspective to explain phenomena such as grokking and memorization. Lastly, we explore how the insights gained from these explanations can enhance LLM performance through model editing, improve efficiency through pruning, and better align with human values.
[ -0.2101866602897644, -0.7080442309379578, 1.030820608139038, -0.10218911617994308, -0.11397358030080795, 0.08115369081497192, -0.3748583197593689, -0.44272032380104065, -0.17988941073417664, 0.41831308603286743, -0.5656412839889526, -0.29101184010505676, -0.669538676738739, -0.20199522376060486, -0.3629263937473297, 0.8541920781135559, -0.1453692466020584, 0.02770831435918808, -0.18866278231143951, -0.14235538244247437, -0.26361212134361267, -0.6629538536071777, -0.546054482460022, -0.7198649048805237, 0.41357550024986267, 0.2727029025554657, 0.7866746187210083, 0.9646112322807312, 0.11019407957792282, 0.3137477934360504, -0.45813027024269104, -0.08046766370534897, -0.6191636919975281, 0.019103413447737694, -0.29589661955833435, -0.9036124348640442, -0.21058134734630585, -0.08878552913665771, 0.7908328771591187, 0.8994568586349487, -0.21697470545768738, -0.1335163563489914, 0.2728039026260376, 0.636681079864502, -0.31739404797554016, 0.33337828516960144, -0.6828444600105286, -0.16141420602798462, -0.13554908335208893, -0.22548280656337738, -0.2998354136943817, -0.07726926356554031, 0.17183524370193481, -0.47624170780181885, 0.13991254568099976, 0.03681321442127228, 0.5843087434768677, 0.16333651542663574, -0.2754703760147095, -0.6614898443222046, -0.7836683392524719, 0.7713996171951294, -0.8004756569862366, 0.4576365351676941, 0.20275066792964935, 0.46990469098091125, -0.18542422354221344, -0.4442290961742401, -0.5180713534355164, -0.38118061423301697, -0.19295158982276917, -0.2841842770576477, 0.0032907852437347174, 0.2957754135131836, 0.19255928695201874, 0.5697538256645203, -0.5638316869735718, 0.311062753200531, -0.1844988763332367, -0.18126533925533295, 0.3494037389755249, 0.15851987898349762, 0.5351672172546387, -0.020512724295258522, -0.08597145974636078, 0.053318049758672714, -0.8503508567810059, 0.08513234555721283, 0.5260745882987976, 0.006153253372758627, 0.02110624685883522, 0.5239565372467041, -0.007926490157842636, 0.4970639646053314, -0.21181620657444, -0.22538359463214874, -0.07289352267980576, -0.04671158269047737, -0.2678232491016388, -0.07477663457393646, 0.49893704056739807, 0.0852290540933609, 0.37445566058158875, -0.32698482275009155, -0.20891690254211426, -0.21600204706192017, 0.29116663336753845, -0.6996116042137146, 0.03436939790844917, 0.31968656182289124, -0.6933615207672119, -0.2698090374469757, -0.17007118463516235, -0.3739151060581207, -0.5352900624275208, -0.49893322587013245, 0.3904576599597931, -0.6100391149520874, -0.4650164246559143, 0.26052358746528625, -0.08907144516706467, 0.3238673508167267, 0.3905778229236603, -1.263649582862854, 0.19458618760108948, 0.9742767214775085, 0.6694708466529846, 0.0919911339879036, -0.3807816803455353, -0.0085254842415452, 0.324527382850647, -0.2654002010822296, 0.34952327609062195, -0.5023372769355774, -0.12164179235696793, -0.045007698237895966, 0.13338841497898102, -0.1207788810133934, -0.6973509788513184, 0.17949187755584717, -0.5205647349357605, -0.07554958015680313, -0.22777245938777924, -0.7388126850128174, -0.5414959788322449, 0.258348673582077, -0.5982699394226074, 0.48147934675216675, -0.08696896582841873, -0.626501739025116, 0.07850182801485062, -0.6385731101036072, -0.11228432506322861, -0.0035064630210399628, -0.12889769673347473, -0.03820936009287834, 0.5128533244132996, -0.04396717995405197, 0.6355642080307007, -0.25427353382110596, 0.35348206758499146, -0.22504521906375885, -0.38390517234802246, 0.45548656582832336, -0.558312177658081, 0.7376490831375122, 0.31155478954315186, -0.15287372469902039, 0.16894492506980896, -0.5459167957305908, -0.24309208989143372, 0.2746542692184448, -0.340486615896225, -0.2902379333972931, 0.010179135948419571, -0.4551045596599579, 0.06431355327367783, 0.20197248458862305, -0.12010899186134338, 0.1350666582584381, -0.5287522077560425, 0.7159965634346008, 0.7496049404144287, -0.08570532500743866, 0.7715751528739929, -0.10454223304986954, 0.6282673478126526, 0.017965221777558327, 0.15958622097969055, -0.47020402550697327, -0.21766002476215363, -0.5182164907455444, -0.0393991656601429, -0.0335099957883358, 0.22263765335083008, -0.4313960075378418, 0.0170929953455925, -0.11065299063920975, -0.33898526430130005, -0.5365791320800781, 0.41455674171447754, 0.41243380308151245, 0.5024375915527344, 0.021259909495711327, 0.055395640432834625, -0.34809765219688416, -1.1496365070343018, -0.43842172622680664, -0.26364243030548096, -0.09044016897678375, 0.14417970180511475, 0.503816545009613, -0.2696516811847687, 0.547273576259613, -0.21887455880641937, 0.24938662350177765, -0.5518234372138977, 0.1391136199235916, 0.3076748251914978, 0.31433770060539246, 0.2666838467121124, -0.5760221481323242, 0.02262946590781212, 0.12196711450815201, -1.0098437070846558, -0.10573551058769226, -0.16189797222614288, 0.10535398125648499, 0.11377675831317902, 0.7317714691162109, -0.5673500895500183, 0.2624363303184509, 0.4206600785255432, -0.2291797697544098, 0.7572770714759827, -0.5501294732093811, -0.05603436753153801, -0.6512778401374817, -0.1263534426689148, -0.18930096924304962, -0.23732052743434906, -0.6019226908683777, 0.4124946892261505, 0.061806634068489075, -0.04497740790247917, -0.2605381906032562, 0.44429370760917664, -0.7405107617378235, -0.19316761195659637, -0.41856157779693604, 0.16283971071243286, 0.12619757652282715, 0.3848389983177185, -0.2500864565372467, 0.5974578261375427, 0.6174218058586121, -0.6201527714729309, 0.2180577665567398, -0.08762837946414948, -0.45243412256240845, 0.2909873425960541, -0.7828998565673828, -0.05271712318062782, -0.4618223011493683, 0.11705418676137924, -0.9218522906303406, -0.32080748677253723, 0.06638393551111221, -0.29477810859680176, 0.3946881890296936, -0.224388986825943, -0.6893275380134583, -0.11625807732343674, -0.15619759261608124, 0.2994192838668823, 0.5346670746803284, -0.6026042103767395, 0.6475582718849182, 0.43263232707977295, -0.12156317383050919, -0.44532546401023865, -0.6622099280357361, 0.12395737320184708, -0.5424907803535461, -0.7675423622131348, 0.11262661218643188, -0.18752916157245636, -0.7084863781929016, -0.17832107841968536, -0.14346523582935333, -0.06641510874032974, 0.467769056558609, 0.3577275276184082, -0.021465197205543518, -0.334504634141922, 0.46674174070358276, 0.05404946953058243, -0.1812586784362793, 0.4537644684314728, -0.302828311920166, 0.5537782311439514, -0.2500731945037842, -0.5698018670082092, -0.5054821968078613, 0.21832318603992462, 0.6867884397506714, -0.016294462606310844, 1.0315741300582886, 0.33011096715927124, -0.2929117977619171, -0.42700517177581787, -0.4991316497325897, -0.34004923701286316, -0.4768320620059967, 0.48612117767333984, -0.49008455872535706, -0.983587920665741, 0.778724730014801, -0.24503564834594727, -0.07577850669622421, 0.2732482850551605, 0.6562042832374573, -0.05768630653619766, 1.0069948434829712, 0.6835521459579468, 0.07780098915100098, 0.31362247467041016, -0.14557798206806183, 0.4447363615036011, -0.6315381526947021, -0.4288061857223511, -0.34818732738494873, -0.17281121015548706, -0.377829909324646, -0.4942206144332886, 0.17402654886245728, 0.6045345664024353, -0.10743389278650284, 0.0733417272567749, -0.2319955974817276, 0.7073227763175964, 0.3571038544178009, -0.03910437598824501, 0.5197678208351135, -0.27635061740875244, -0.16556842625141144, 0.05564364418387413, -0.6290313005447388, -0.8269166350364685, 0.7760404944419861, 0.8925546407699585, 1.051648497581482, 0.13481351733207703, 0.5306888818740845, -0.09383654594421387, 0.10596604645252228, -0.7753071188926697, 0.5208094716072083, 0.11425046622753143, -0.6364777684211731, -0.4530183970928192, -0.20845524966716766, -0.6074562072753906, 0.4331361949443817, -0.09562639892101288, -0.9249348044395447, -0.1574544906616211, 0.32566845417022705, 0.10894707590341568, 0.44214001297950745, -0.9716304540634155, 0.7014255523681641, -0.34454572200775146, -0.3118734061717987, -0.4863629937171936, -0.5910273790359497, 0.5498406887054443, -0.07365141063928604, 0.48718729615211487, 0.033364396542310715, 0.07349599897861481, 0.5526503920555115, -0.3933168947696686, 0.9025956392288208, -0.106963612139225, -0.5305825471878052, 0.0371008962392807, 0.211603581905365, 0.4549497365951538, -0.022345246747136116, -0.0863272026181221, 0.13228532671928406, -0.13676594197750092, -0.2571466863155365, -0.9595655798912048, 0.7773149609565735, -0.5291001796722412, -0.8641770482063293, 0.16076409816741943, -0.8912680149078369, -0.18749669194221497, 0.008203238248825073, 0.057190604507923126, 0.3884081244468689, -0.07296357303857803, 0.15626320242881775, 1.0462334156036377, -0.5137948393821716, 0.43264293670654297, 0.4161829650402069, -0.5200409889221191, 0.25577113032341003, 0.8759162425994873, 0.13537506759166718, 0.3644793629646301, 0.43766075372695923, 0.33204060792922974, -0.4155902862548828, -0.8538453578948975, -0.2158433347940445, 0.4626016616821289, -0.9678322672843933, 0.49088022112846375, -0.49890658259391785, -0.1771058738231659, -0.1420518457889557, -0.20335796475410461, -0.17702580988407135, -0.3614324927330017, -0.23346073925495148, -0.4686703085899353, 0.06358347088098526, 1.2503316402435303, -0.08508644253015518, 0.528566300868988, -0.5439001321792603, 0.2015218585729599, 0.37637636065483093, 0.5127690434455872, 0.4691586196422577, -0.6557363867759705, -0.43399578332901, 0.030970752239227295, -0.04310851916670799, -0.7796361446380615, 0.14009110629558563, -0.10949451476335526, 0.8231409788131714, 0.6783338189125061, -0.42122209072113037, 0.563346803188324, -0.4823762774467468, 0.6007519364356995, -0.015447566285729408, -1.1902817487716675, 0.46903377771377563, -0.4512166678905487, 0.14922532439231873, 0.17879697680473328, 0.35098934173583984, -0.40178847312927246, -0.5915296077728271, -0.5443942546844482, -0.9016616940498352, 0.6088457107543945, 0.013065909966826439, 0.22878925502300262, 0.33016738295555115, 0.6835716962814331, 0.3644852936267853, 0.12683245539665222, -0.8463067412376404, -0.16451887786388397, -0.05515338480472565, -0.1402033418416977, -0.16023489832878113, -0.6790551543235779, -0.13115479052066803, -0.13423509895801544, 0.5573984980583191, 0.039659127593040466, 0.1508869230747223, -0.11246649920940399, -0.5329909920692444, 0.09782172739505768, 0.47938358783721924, 0.7201594114303589, 1.0937554836273193, -0.1303039789199829, 0.4704916179180145, -0.05104108154773712, -0.06375613808631897, 0.0000613808078924194, -0.18776072561740875, 0.1555469036102295, -0.21027225255966187, 0.8015685677528381, 0.8362299799919128, 0.2550104558467865, -0.7312189936637878, 0.2408190667629242, 0.11065954715013504, -0.27492091059684753, -0.13221962749958038, 0.25633370876312256, 0.4951370060443878, 0.5456599593162537, 0.34642407298088074, -0.47426366806030273, 0.1370256096124649, -0.8970706462860107, -0.09933121502399445, 0.588188111782074, -0.3252435028553009, -0.5527153611183167, 0.7380462884902954, -0.13112451136112213, -0.23117585480213165, 0.3139359652996063, 0.03329731151461601, -0.49577590823173523, 0.5817055702209473, 0.5171903967857361, 0.5889623761177063, -0.2730562388896942, 0.2450493574142456, 0.08453132957220078, 0.567980945110321, -0.06684067100286484, -0.06138966605067253, -0.0075422124937176704, -0.7268393039703369, -0.555314838886261, -0.5268691778182983, -0.4896073341369629, 0.3913385570049286, -0.6270915269851685, -0.1928413361310959, -0.3613758981227875, 0.5292982459068298, 0.19599135220050812, -0.3620462715625763, -0.40802037715911865, 0.09597832709550858, 0.16401775181293488, 0.8918301463127136, -1.0064586400985718, 0.6695612668991089, 0.499600350856781, -0.36278659105300903, -0.9020419120788574, 0.022197775542736053, 0.09741988778114319, -1.2861932516098022, 0.5727974772453308, 0.264506459236145, -0.06188713759183884, -0.19112028181552887, -0.7422806620597839, -0.5234090089797974, 1.0342025756835938, 0.7513322830200195, -0.5498039126396179, -0.08341313153505325, 0.2139110267162323, 0.6326426267623901, -0.32729572057724, 0.25997504591941833, 0.7382170557975769, 0.6345170140266418, 0.04348169267177582, -0.6605678796768188, 0.20570075511932373, -0.08079439401626587, 0.008343358524143696, 0.01679924689233303, -0.3038693368434906, 0.7144078612327576, -0.4369215965270996, -0.18066176772117615, -0.1905171275138855, 0.37913644313812256, 0.18792450428009033, 0.2558429539203644, 0.37826865911483765, 0.4484085142612457, 0.9274086952209473, 0.02034866251051426, 1.25864839553833, -0.16504928469657898, 0.12958306074142456, 0.9356744289398193, -0.02861478365957737, 0.4245174825191498, 0.646479606628418, -0.051034823060035706, 0.5361258387565613, 0.4196096658706665, 0.2514244318008423, 0.3366680145263672, 0.5453722476959229, -0.2079658806324005, -0.2152242213487625, -0.06266205757856369, -0.11568097770214081, 0.47477099299430847, 0.4253097474575043, -0.6743679642677307, -0.28684166073799133, 0.1246272400021553, 0.1297033727169037, 0.012258230708539486, -0.4758496880531311, 0.8744357824325562, 0.18788404762744904, -0.4528331160545349, 0.49474647641181946, -0.1417098194360733, 0.33450615406036377, -0.603550136089325, -0.14403191208839417, 0.009583442471921444, 0.11913533508777618, -0.15689359605312347, -1.0075275897979736, 0.4557626247406006, -0.3134384751319885, -0.46512001752853394, -0.4096689522266388, 0.7161382436752319, -0.4234676957130432, -0.052456874400377274, 0.46863293647766113, 0.6511815786361694, 0.34867051243782043, -0.2481984794139862, -0.4455134868621826, 0.25115150213241577, 0.05285901948809624, -0.30352717638015747, 0.50868821144104, 0.8502803444862366, -0.034903328865766525, 1.0671861171722412, 0.4364992380142212, 0.1324896216392517, -0.03642270341515541, 0.12600062787532806, 0.8066602349281311, -0.8187612295150757, -0.29462727904319763, -1.1823315620422363, 0.5888075828552246, 0.2001505047082901, 0.12337419390678406, 0.7113378047943115, 0.17568986117839813, 0.46132996678352356, -0.0803881585597992, 0.7448023557662964, 0.30221542716026306, 0.33146390318870544, -0.726699948310852, 0.9294840693473816, -0.466074138879776, 0.6391238570213318, -0.013584911823272705, -0.7229519486427307, -0.21620745956897736, 0.46077603101730347, -0.3752812147140503, -0.04303678125143051, 0.7241896986961365, 0.7773408889770508, -0.0710718110203743, 0.026648053899407387, 0.5496013164520264, 0.7359852194786072, 0.36790308356285095, 0.4664922058582306, 0.9902052879333496, 0.14701616764068604, 0.5687587857246399, -0.016083791851997375, -0.2521568536758423, -0.21264779567718506, -0.9869815707206726, -0.9518195986747742, -0.6232743859291077, -0.021189002320170403, -0.21537932753562927, 0.04382709786295891, 0.3667702078819275, 0.7347570657730103, -0.6116282939910889, -0.2715405225753784, -0.32955554127693176, 0.5475342869758606, 0.12624491751194, -0.24551530182361603, 0.2559645473957062, -0.34024977684020996, -0.45566537976264954, 0.45126184821128845, 0.34645405411720276, 0.13607671856880188, -0.4980906844139099, -0.20340414345264435, 0.1983504742383957, 0.09272763133049011, 0.531495988368988, 0.2192447930574417, -0.905075192451477, -0.140009343624115, -0.33529749512672424, 0.23789145052433014, -0.14433731138706207, 0.8721446394920349, -0.5527685284614563, 0.444850355386734, 0.37674516439437866, 0.6568827033042908, 0.27908769249916077, -0.25480949878692627, 0.8633542060852051, -0.45398274064064026, 0.007790951523929834, -0.06560761481523514, 0.5983642935752869, 0.4047924876213074, -0.4047289788722992, 0.49238312244415283, -0.09292303025722504, -0.6732233166694641, -0.8412010669708252, 0.3690468966960907, -0.7851829528808594, -0.49833300709724426, 1.0367116928100586, -0.23119515180587769, -0.24867498874664307, -0.24914586544036865, -0.07089582830667496, 0.14456410706043243, -0.08945436775684357, 0.7578198909759521, 0.9059827923774719, -0.10514280945062637, -0.43051961064338684, -0.7759086489677429, 0.3865697979927063, 0.1784060299396515, -0.835090160369873, 0.3988681435585022, 0.40632641315460205, 0.5308618545532227, 0.06392934918403625, 0.4019676446914673, -0.2118617296218872, -0.08520760387182236, -0.1584767997264862, -0.03584153205156326, -0.20574316382408142, -0.19346092641353607, -0.7295129299163818, 0.2594091594219208, 0.3118084669113159, 0.12655287981033325 ]
http://arxiv.org/abs/2402.10685v2
http://arxiv.org/pdf/2402.10685v2
LongHeads: Multi-Head Attention is Secretly a Long Context Processor
2024-02-16T13:39:34
2024-03-25T11:50:32
Yi Lu, Xin Zhou, Wei He, Jun Zhao, Tao Ji, Tao Gui, Qi Zhang, Xuanjing Huang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have achieved impressive performance in numerous domains but often struggle to process lengthy inputs effectively and efficiently due to limited length generalization and attention's quadratic computational demands. Many sought to mitigate this by restricting the attention window within the pre-trained length. However, these methods introduce new issues such as ignoring the middle context and requiring additional training. To address these problems, we propose LongHeads, a training-free framework that enhances LLM's long context ability by unlocking multi-head attention's untapped potential. Instead of allowing each head to attend to the full sentence, which struggles with generalizing to longer sequences due to out-of-distribution (OOD) issues, we allow each head to process in-distribution length by selecting and attending to important context chunks. To this end, we propose a chunk selection strategy that relies on the inherent correlation between the query and the key representations, efficiently distributing context chunks to different heads. In this way, each head ensures it can effectively process attended tokens within the trained length, while different heads in different layers can collectively process longer contexts. LongHeads works efficiently in linear time, fits seamlessly with many LLMs that use relative positional encoding. LongHeads achieves 100% accuracy at the 128k length on passkey retrieval task, verifying LongHeads's efficacy in extending the usable context window for existing models. We release our code at https://github.com/LuLuLuyi/LongHeads .
[ -0.5441778898239136, -0.6634792685508728, 0.8552447557449341, 0.6104369759559631, -0.5893203020095825, -0.0006102456245571375, -0.7369003891944885, -0.6606673002243042, 0.40984463691711426, 0.5460414886474609, -0.868240475654602, -0.18944334983825684, -0.7127753496170044, 0.16982696950435638, -0.3022681474685669, 0.724891185760498, 0.25160786509513855, -0.4546113610267639, -0.2893264591693878, -0.10759937763214111, -0.5564376711845398, -0.3668747842311859, -0.7709367275238037, -0.24960948526859283, 0.8210296630859375, 0.20408374071121216, 0.41679367423057556, 0.9535030126571655, 0.4430800974369049, 0.21052765846252441, -0.18991288542747498, 0.1873798817396164, -0.7334152460098267, 0.37148115038871765, -0.3990078568458557, -0.03743463754653931, -0.667043149471283, -0.36169034242630005, 0.6413913369178772, 0.6706315279006958, 0.2165539562702179, 0.1385943591594696, 0.24146156013011932, 0.9720125794410706, -0.8966107964515686, 0.1742681860923767, -0.6121030449867249, 0.02643193118274212, -0.6553551554679871, -0.4257035553455353, -0.4173111617565155, 0.3163692355155945, 0.2727019190788269, -0.42220211029052734, -0.28069329261779785, -0.06054436042904854, 0.25826382637023926, 0.4347163140773773, -0.4119918644428253, -0.12492705136537552, -0.259897917509079, 1.0146899223327637, -0.336166650056839, 0.616287350654602, 0.2446342557668686, 0.4642399549484253, -0.1603786200284958, -0.617587685585022, -0.36363306641578674, 0.2756103277206421, 0.14330145716667175, -0.04617828130722046, 0.02052583172917366, 0.2962155342102051, 0.04588601738214493, 0.225176140666008, -0.49185943603515625, 0.04955092817544937, -0.19946402311325073, -0.028405092656612396, 0.33808454871177673, -0.19503135979175568, -0.13166554272174835, 0.06065302714705467, -0.43582236766815186, 0.06456659734249115, -0.9134227633476257, 0.1314374953508377, 0.14814946055412292, 0.6805854439735413, -0.15128645300865173, 0.4408894181251526, -0.5338430404663086, 1.142729640007019, 0.3500005602836609, -0.29303377866744995, 0.19983193278312683, 0.06430162489414215, -0.4299168586730957, 0.03103180229663849, 0.6482110619544983, 0.2273169904947281, 0.26001736521720886, -0.35696887969970703, -0.1308409869670868, -0.26050886511802673, 0.25219279527664185, -0.9669426679611206, 0.37417149543762207, 0.6439443230628967, -0.10155004262924194, -0.07609761506319046, -0.2852102518081665, -0.6197735071182251, -0.2257252037525177, -0.43739140033721924, 0.21845874190330505, -0.26267585158348083, -0.1387583464384079, 0.24954944849014282, -0.09485027194023132, 0.11797137558460236, 0.11661772429943085, -0.9647510647773743, -0.1327580213546753, 0.9484280347824097, 0.9765596985816956, -0.6114116907119751, -0.5198950171470642, -0.7056003212928772, 0.4905640780925751, -0.09410952031612396, 0.724655270576477, -0.4596031606197357, -0.0341237373650074, 0.03586553782224655, 0.08626710623502731, 0.05811000242829323, -0.5758287906646729, 0.15331286191940308, -0.6848937273025513, -0.2956029772758484, -0.14958922564983368, -0.3974270820617676, -0.08285782486200333, 0.2686837315559387, -0.46314337849617004, 0.5029965043067932, 0.3495732247829437, -0.8063167333602905, 0.19334761798381805, -0.7854334712028503, -0.6049433350563049, 0.19710877537727356, -0.2888758182525635, -0.1974828541278839, 0.0213181022554636, 0.35472390055656433, 0.7932683825492859, -0.13515913486480713, 0.3027426302433014, -0.4774441719055176, -0.5178313851356506, -0.0680529922246933, -0.08677266538143158, 0.9300322532653809, -0.04441596940159798, -0.4505542814731598, 0.5328219532966614, -0.3900875151157379, -0.0112276840955019, 0.09624064713716507, -0.33782583475112915, -0.22692985832691193, -0.1735456883907318, 0.06839077919721603, 0.2086324393749237, 0.0680028647184372, -0.3358302712440491, 0.10124912858009338, -0.3561437427997589, 0.6510007381439209, 0.7300853133201599, -0.03278964385390282, 0.3518953323364258, -0.15814203023910522, 0.3868200182914734, 0.26054847240448, -0.13936567306518555, -0.36597752571105957, -0.14254909753799438, -0.5677011013031006, -0.6327344179153442, -0.006172380410134792, 0.11977275460958481, -0.7258015871047974, 0.6210602521896362, -0.621717095375061, 0.005727045238018036, -0.2481563687324524, 0.22030428051948547, 0.40010184049606323, 0.35425400733947754, 0.24040648341178894, -0.511367678642273, -0.5593228340148926, -0.9507332444190979, -0.2393580824136734, 0.3083012104034424, -0.09813310950994492, 0.18777887523174286, 0.3221083879470825, -0.37990275025367737, 1.308696985244751, -0.5198611617088318, -0.5692334175109863, -0.3417254686355591, -0.3104691803455353, 0.23008793592453003, 0.35665163397789, 0.44200342893600464, -0.5155482888221741, -0.45396292209625244, -0.24218864738941193, -0.711374819278717, 0.2405933290719986, -0.074239581823349, -0.5028014183044434, -0.11040687561035156, 0.4575696885585785, -0.9417779445648193, 0.13025596737861633, 0.5673215389251709, -0.13570813834667206, 0.3707164227962494, 0.2527478039264679, -0.2981281578540802, -0.8260801434516907, 0.14207936823368073, -0.030622517690062523, -0.7570523619651794, -0.5331385135650635, 0.45824775099754333, 0.44893428683280945, -0.11420655250549316, -0.8522499799728394, 0.6952136754989624, -0.6759302616119385, -0.0639551505446434, -0.5577498078346252, 0.19457823038101196, -0.07755192369222641, 0.8728806972503662, 0.22939163446426392, 0.897966742515564, 0.845009982585907, -0.834228515625, 0.34579455852508545, 0.12092318385839462, -0.394467830657959, 0.9638413786888123, -0.4622330963611603, 0.5252189636230469, -0.3091495633125305, 0.4511139988899231, -0.5136116743087769, -0.5843883156776428, 0.12639904022216797, -0.26784077286720276, 0.5957323908805847, -0.20952200889587402, -0.161003977060318, -0.4672372043132782, -0.5040901303291321, 0.6132091283798218, 0.04755975678563118, -0.570000171661377, 0.23891441524028778, 0.6579229831695557, -0.15124480426311493, -0.904833972454071, -0.787972092628479, 0.19612830877304077, -0.29006487131118774, -0.5826640129089355, 0.4000188708305359, -0.3401809632778168, 0.009275263175368309, -0.4012640416622162, -0.12942612171173096, -0.2571569085121155, -0.11197516322135925, 0.07099740952253342, -0.3120197355747223, -0.1259932965040207, 0.027558403089642525, 0.24213990569114685, 0.03915224224328995, 0.06875792890787125, -0.5878534317016602, 0.6102058291435242, 0.2225061058998108, -0.08691572397947311, -0.2499500811100006, 0.4385251998901367, 0.8788911700248718, -0.3913652300834656, 0.4579000473022461, 0.41675448417663574, -0.30172353982925415, -0.36784064769744873, -0.3902971148490906, -0.21040765941143036, -0.5086013674736023, 0.7285635471343994, -0.3501284420490265, -1.2371447086334229, 0.11066041141748428, 0.14033561944961548, 0.08609846234321594, -0.012936972081661224, 0.5913376212120056, 0.29204341769218445, 0.5383815169334412, 0.6388642191886902, -0.33506637811660767, 0.4250441789627075, -0.1165822222828865, 0.09902572631835938, -1.2729566097259521, 0.09092246741056442, 0.08042952418327332, -0.25762316584587097, -0.014443749561905861, -0.5558843016624451, 0.39581674337387085, -0.0779038518667221, -0.018116498365998268, 0.3419112265110016, -0.5699845552444458, 0.7434437870979309, 0.42026063799858093, 0.18466730415821075, -0.10371767729520798, -0.12488666921854019, 0.2408018708229065, 0.20126768946647644, -0.14785733819007874, 0.04076084494590759, 1.215605616569519, 0.4944547414779663, 0.4101327955722809, 0.035683635622262955, 0.575935959815979, 0.15569712221622467, -0.13103441894054413, -1.1167277097702026, 0.5650503039360046, 0.14083720743656158, -0.7424561381340027, -0.6019585132598877, -0.3401252031326294, -0.9571996331214905, 0.4864825904369354, 0.3673507869243622, -0.6445052623748779, -0.08947020024061203, 0.11612802743911743, -0.8889890909194946, 0.1691773235797882, -0.19149050116539001, 0.8717607855796814, -0.17442478239536285, -0.5422295331954956, -0.24426910281181335, -0.8549000024795532, 0.40649038553237915, -0.28870299458503723, 0.12015372514724731, -0.3312704265117645, -0.021956579759716988, 0.8308524489402771, 0.11058249324560165, 0.7240273356437683, -0.14602863788604736, -0.037637002766132355, 0.3277507722377777, -0.15884801745414734, 0.4372771978378296, 0.21810263395309448, 0.3689560890197754, 0.20646224915981293, -0.3757614493370056, -0.3668186664581299, -0.2007751166820526, 0.8482997417449951, -0.44708091020584106, -0.6928291320800781, -0.3860915005207062, -0.8612716794013977, -0.49954184889793396, 0.6194891333580017, 0.054606325924396515, 0.31949689984321594, 0.0880100205540657, 0.575844407081604, 0.6036545038223267, 0.08792929351329803, 0.6840780377388, 0.09019003063440323, -0.34912577271461487, -0.5063512325286865, 0.4984838664531708, -0.025309568271040916, 0.2513614296913147, 0.51614910364151, 0.07371920347213745, -0.19212846457958221, -0.5093597769737244, -0.5832868218421936, 0.31226781010627747, -0.7215496897697449, -0.34133535623550415, -0.8239365816116333, -0.13917715847492218, -0.5974099040031433, -0.008946790359914303, -0.4458365738391876, -0.15394169092178345, -0.16832739114761353, 0.08493849635124207, 0.13192813098430634, 0.34303712844848633, 0.13633710145950317, 0.6921408176422119, -0.4288158118724823, 0.45572012662887573, 0.6274895071983337, 0.4973689913749695, 0.15600009262561798, -0.43491387367248535, -0.4099394381046295, -0.11098739504814148, -0.4323217272758484, -0.7171505689620972, 0.42386049032211304, 0.1256415843963623, 0.07686664909124374, 0.7044550776481628, -0.12038557976484299, 1.011297583580017, -0.8017342686653137, 0.4180310070514679, 0.23964296281337738, -0.8480011820793152, 0.17424842715263367, -0.5799448490142822, 0.8144322037696838, 0.6608130931854248, 0.2720990478992462, -0.630553126335144, -0.36260777711868286, -0.004660474136471748, -0.9851023554801941, 0.8568642735481262, 0.09912505000829697, 0.026744456961750984, -0.1831541210412979, 0.23284125328063965, 0.17546148598194122, 0.4963378310203552, -0.6427635550498962, -0.19072963297367096, 0.08462744951248169, -0.01212017610669136, 0.07804490625858307, -0.4485951066017151, -0.13230371475219727, -0.20388007164001465, 0.4691983461380005, -0.3722062408924103, 0.48579689860343933, 0.10248082131147385, -0.36989569664001465, -0.18343202769756317, 0.215582013130188, 0.7640433311462402, 1.2456746101379395, -0.39171460270881653, 0.2349982112646103, -0.06210954114794731, -0.42030343413352966, -0.14258849620819092, -0.11121144890785217, -0.019483176991343498, -0.026188993826508522, 0.25308310985565186, 0.7554160952568054, 0.352557510137558, -0.6237345933914185, 0.6994921565055847, 0.2338683307170868, 0.1703173965215683, -0.6217448711395264, -0.33361709117889404, 0.4554077088832855, 0.2210385799407959, 0.5184934139251709, -0.06071233004331589, 0.17253883183002472, -0.49682965874671936, 0.2955074608325958, 0.5860525965690613, -0.53901207447052, -0.3383581042289734, 0.3973081707954407, 0.31142449378967285, -0.13440555334091187, 0.4410533607006073, -0.09046228229999542, -0.3881467282772064, 0.3505513370037079, 0.6076727509498596, 0.9871337413787842, -0.034017037600278854, -0.36433425545692444, 0.06360770761966705, 0.017570186406373978, -0.1322258859872818, 0.026401296257972717, -0.24826407432556152, -0.37918326258659363, -0.756094217300415, -0.6452931761741638, -0.2880517840385437, 0.5784372091293335, -0.6136236190795898, 0.29771700501441956, -0.4364944398403168, -0.3469911813735962, -0.09275894612073898, -0.2770228683948517, -0.5823096632957458, 0.21428845822811127, 0.4293575584888458, 0.7171045541763306, -0.24626533687114716, 1.033390760421753, 0.2913501262664795, 0.064101442694664, -0.14662688970565796, 0.11321700364351273, 0.10301174223423004, -0.7163571119308472, 0.4630770683288574, 0.8701356649398804, -0.2288377285003662, -0.020349128171801567, -0.3634003698825836, -1.0165401697158813, 0.9572194218635559, 0.5144854784011841, -0.9310665130615234, -0.42199617624282837, 0.060402169823646545, -0.059593696147203445, -0.4217078983783722, 0.2547925114631653, 0.5789119601249695, 0.25574061274528503, -0.027593713253736496, -1.0366320610046387, -0.04562139883637428, 0.38758668303489685, -0.04824007302522659, 0.2664581537246704, -0.9138059020042419, 0.9033904671669006, -0.10385963320732117, -0.20347127318382263, -0.2554643750190735, 0.9057968258857727, 0.476919949054718, 0.12361575663089752, 0.6923296451568604, 0.3506552278995514, 0.4627384543418884, 0.20905551314353943, 0.7959333658218384, -0.5581161379814148, 0.31539517641067505, 1.1005749702453613, -0.24199728667736053, 0.8727050423622131, 0.9648398160934448, -0.05224398523569107, 0.21371497213840485, 0.45547381043434143, 0.6370960474014282, 0.7918392419815063, 0.2730165421962738, -0.2337336391210556, -0.24674618244171143, 0.10752391815185547, -0.30305513739585876, 0.43703290820121765, 0.14944936335086823, -0.21621958911418915, -0.163581982254982, 0.1553555130958557, 0.23967020213603973, -0.27711209654808044, -0.4211505353450775, 0.4188285768032074, 0.4435916543006897, -0.7817617058753967, 0.6439833641052246, -0.016015779227018356, 1.1906944513320923, -0.7828118801116943, 0.3596816956996918, -0.12464407831430435, 0.42342913150787354, -0.021904464811086655, -0.5796653628349304, 0.2856529653072357, -0.16077038645744324, -0.28235873579978943, -0.29577502608299255, 0.448501855134964, -0.6006160974502563, -0.0990072637796402, 0.4422778785228729, 0.28653833270072937, 0.1395978331565857, -0.9163639545440674, -0.4029653072357178, 0.3266841173171997, -0.09567832946777344, -0.47654294967651367, 0.5972002744674683, 0.41873207688331604, -0.00836181640625, 0.5917947292327881, 0.43603432178497314, 0.20595543086528778, -0.07120566070079803, -0.14372076094150543, 0.7949376106262207, -0.7903109192848206, -0.8128113746643066, -1.098090410232544, 0.27149397134780884, -0.1327855885028839, -0.3196200728416443, 0.4806172847747803, 0.5710954666137695, 0.9950964450836182, -0.27649709582328796, 0.6624419689178467, 0.13379035890102386, 0.6166479587554932, -0.2820216119289398, 0.8655609488487244, -0.5302025079727173, -0.3327614665031433, 0.0941988155245781, -1.0786798000335693, -0.38590219616889954, 0.4140962064266205, -0.04212414100766182, 0.014770586974918842, 0.8672407269477844, 0.2917259931564331, -0.3964817523956299, -0.3922779858112335, 0.4783572852611542, -0.12001056224107742, 0.28329071402549744, 0.9956589937210083, 0.3991374373435974, 0.05665329843759537, 0.37280985713005066, -0.3549147844314575, -0.17551329731941223, -0.33894017338752747, -0.9147082567214966, -1.1770379543304443, -0.3021286427974701, -0.13042879104614258, 0.024555101990699768, 0.3005131781101227, 1.1511552333831787, 1.1661674976348877, -0.6506248116493225, -0.5843403935432434, 0.2661222517490387, -0.19876621663570404, -0.306883305311203, -0.1750570684671402, 0.43159931898117065, -0.4954134523868561, -0.7983104586601257, 0.8394827246665955, 0.6871533989906311, -0.2569420635700226, -0.348227858543396, 0.0024687566328793764, -0.017209554091095924, -0.027810202911496162, 1.0928279161453247, 0.25493884086608887, -0.7543100714683533, -0.41082096099853516, -0.04180899262428284, -0.1294383704662323, 0.28284576535224915, 0.7279160022735596, -0.7826411724090576, 0.3417094647884369, 0.22556689381599426, 0.9054180383682251, 0.39767059683799744, -0.09449204802513123, 0.34267351031303406, -1.0701384544372559, 0.5837833285331726, 0.31196221709251404, 0.35904449224472046, 0.4916369616985321, -0.4672379791736603, 0.375188946723938, 0.06668510288000107, -0.5213465690612793, -0.9436682462692261, 0.34915661811828613, -1.2092818021774292, -0.4122958779335022, 1.233922004699707, -0.09932860732078552, -0.6930110454559326, 0.07368728518486023, 0.06833254545927048, 0.24020080268383026, -0.5180832743644714, 0.5816835761070251, 0.5666800141334534, -0.06756483018398285, -0.0332534983754158, -0.5456474423408508, 0.5695239901542664, 0.3503130376338959, -0.6020849943161011, 0.4502684473991394, 0.27946653962135315, 0.22683297097682953, 0.19829091429710388, 0.7561338543891907, -0.060818061232566833, 0.17173601686954498, -0.5420892834663391, -0.030750280246138573, -0.3530561625957489, -0.7719364166259766, -0.3471377193927765, 0.36402422189712524, -0.0038579378742724657, -0.2665866017341614 ]
http://arxiv.org/abs/2402.10675v1
http://arxiv.org/pdf/2402.10675v1
German Text Simplification: Finetuning Large Language Models with Semi-Synthetic Data
2024-02-16T13:28:44
2024-02-16T13:28:44
Lars Klöser, Mika Beele, Jan-Niklas Schagen, Bodo Kraft
cs.CL
cs.CL, I.2.7
This study pioneers the use of synthetically generated data for training generative models in document-level text simplification of German texts. We demonstrate the effectiveness of our approach with real-world online texts. Addressing the challenge of data scarcity in language simplification, we crawled professionally simplified German texts and synthesized a corpus using GPT-4. We finetune Large Language Models with up to 13 billion parameters on this data and evaluate their performance. This paper employs various methodologies for evaluation and demonstrates the limitations of currently used rule-based metrics. Both automatic and manual evaluations reveal that our models can significantly simplify real-world online texts, indicating the potential of synthetic data in improving text simplification.
[ -0.3017185926437378, -1.0143498182296753, 0.797508180141449, 0.09346333891153336, -0.43641361594200134, -0.1358570009469986, -0.2912841737270355, -0.4666360020637512, -0.10478705167770386, 0.19770722091197968, -0.7127181887626648, -0.5642209053039551, -0.24704141914844513, 0.5939415097236633, -0.5580632090568542, 1.1145330667495728, -0.2141965925693512, 0.34575513005256653, -0.14342118799686432, 0.22661109268665314, 0.09910087287425995, -0.6909024715423584, -0.44494059681892395, -0.43813884258270264, 0.2897937595844269, 0.31136444211006165, 0.7418422698974609, 0.8353001475334167, 0.4468939006328583, 0.36606788635253906, -0.3202285170555115, 0.24465925991535187, -0.7449986934661865, -0.10499319434165955, 0.014658519998192787, -0.26405057311058044, -0.3564088046550751, 0.017332399263978004, 0.8033081293106079, 1.001265525817871, -0.06540698558092117, 0.04313617944717407, -0.10353147238492966, 0.4181976914405823, -0.21277903020381927, 0.46377992630004883, -0.3136453926563263, 0.11858120560646057, -0.05814427509903908, -0.15336404740810394, -0.31944960355758667, -0.5910777449607849, 0.063337542116642, -0.8457903265953064, 0.7436801195144653, -0.053664397448301315, 0.9468980431556702, 0.15684263408184052, -0.4322509169578552, -0.3716009557247162, -1.2381269931793213, 0.7816312909126282, -0.8300841450691223, 0.2959640920162201, 0.06847037374973297, 0.2561738193035126, -0.06801237165927887, -1.1106467247009277, -0.6546710729598999, -0.28546369075775146, -0.33413299918174744, 0.12051752209663391, -0.15921427309513092, 0.2654917538166046, 0.5599101781845093, 0.5857980847358704, -0.5182337760925293, -0.1761368215084076, -0.867986798286438, -0.24930672347545624, 0.6673754453659058, 0.05048603191971779, 0.36337360739707947, -0.119998998939991, -0.1419355869293213, -0.19955673813819885, -0.7311515808105469, -0.51458340883255, 0.5728655457496643, 0.2862408757209778, -0.03874870762228966, 0.6264990568161011, -0.4723461866378784, 0.4917013347148895, -0.18649506568908691, -0.11362484097480774, 0.38169506192207336, -0.6195586919784546, -0.3179810643196106, -0.002558306558057666, 0.6615803837776184, 0.38318488001823425, 0.3768056333065033, -0.36757591366767883, -0.39067715406417847, 0.08686435222625732, 0.1507083624601364, -0.9726748466491699, -0.12089135497808456, 0.1354251354932785, -0.36644598841667175, -0.3116653561592102, 0.19743406772613525, -0.6503559350967407, -0.09078722447156906, -0.651707112789154, 0.36207878589630127, -0.3882327377796173, 0.07647019624710083, 0.3399042785167694, -0.4579264223575592, 0.029302163049578667, 0.5497470498085022, -0.6617488861083984, 0.25345996022224426, 0.5411600470542908, 0.7459664344787598, -0.06475107371807098, -0.24639859795570374, -0.057628046721220016, 0.27120348811149597, -0.4800248444080353, 0.517974317073822, -0.23024393618106842, -0.3511562645435333, 0.08083615452051163, -0.01408210676163435, 0.342247873544693, -0.6697197556495667, 1.0867911577224731, -0.3033815026283264, 0.4177105128765106, 0.17647698521614075, -0.8414883017539978, -0.1429467350244522, 0.11321509629487991, -0.9933971762657166, 1.0775272846221924, 0.17869932949543, -0.669067919254303, 0.21242134273052216, -0.5254919528961182, -0.6689393520355225, 0.08199402689933777, 0.10926959663629532, -0.5302303433418274, 0.2104630470275879, 0.11422450840473175, 0.49689871072769165, -0.4794154167175293, 0.4356178641319275, -0.1871894896030426, -0.45177507400512695, -0.0675884261727333, -0.6481819152832031, 0.4395934045314789, 0.47774580121040344, -0.22293710708618164, -0.07994619011878967, -0.9595088958740234, 0.11650228500366211, 0.1591057926416397, -0.5248498916625977, -0.4164755046367645, -0.24011604487895966, 0.48558226227760315, 0.24729947745800018, 0.18610626459121704, -0.5840075016021729, 0.14826159179210663, -0.6033921241760254, 0.4539637565612793, 0.2554415762424469, 0.10600543022155762, 0.47230270504951477, -0.39147210121154785, 0.5443669557571411, -0.20200733840465546, 0.0693904384970665, -0.07281464338302612, -0.24215589463710785, -0.8180476427078247, -0.3273056149482727, 0.7016188502311707, 0.44354918599128723, -0.693678081035614, 0.3202207684516907, -0.5951082706451416, -0.7463980317115784, -0.5677651762962341, 0.05029169097542763, 0.3121604919433594, 0.15555845201015472, 0.41043922305107117, 0.03900489956140518, -0.624897837638855, -1.094957947731018, -0.3467058539390564, 0.26235172152519226, -0.3960312306880951, -0.1597229242324829, 0.3771169185638428, -0.3703781068325043, 0.8135531544685364, -0.45096421241760254, -0.16409045457839966, -0.47351697087287903, 0.43669161200523376, -0.11413586139678955, 0.49856674671173096, 0.38171669840812683, -1.0606638193130493, -0.4674246609210968, -0.09387759864330292, -0.8068020939826965, -0.1540507972240448, -0.24919012188911438, 0.3264455497264862, 0.14370578527450562, 0.9259210824966431, -0.7292529940605164, 0.22679011523723602, 0.5288960933685303, 0.024217287078499794, 0.23899824917316437, -0.6148108839988708, -0.0327417366206646, -0.9570841193199158, 0.061933066695928574, 0.21187274158000946, -0.5595119595527649, -1.0682467222213745, 0.2605367600917816, 0.15541476011276245, -0.2877529561519623, -0.5421569347381592, 0.6520200967788696, -0.5121721029281616, 0.1871795356273651, -0.026940302923321724, -0.008519581519067287, -0.22016409039497375, 0.3394862115383148, -0.059117622673511505, 0.7194765210151672, 0.08371428400278091, -0.5335580110549927, 0.3381953835487366, 0.08991092443466187, -0.32371434569358826, 0.01692773588001728, -0.6883127689361572, -0.15929074585437775, -0.32039502263069153, 0.5014386773109436, -0.8926846385002136, -0.6870561242103577, -0.07199433445930481, -0.04977849870920181, 0.18234054744243622, -0.07293253391981125, -0.8937999606132507, -0.15388938784599304, -0.3015291690826416, 0.6034095287322998, 0.6482290625572205, -0.39528822898864746, 0.6201938390731812, 0.24184316396713257, -0.376766562461853, 0.2221205234527588, -0.6340246200561523, 0.01814681850373745, -0.35051190853118896, -0.5188114047050476, 0.7206135392189026, -0.18573632836341858, -0.20021529495716095, -0.21931755542755127, -0.02238468825817108, -0.01375417411327362, -0.10294263064861298, -0.02984006702899933, 0.27093225717544556, 0.17574991285800934, 0.11527910083532333, 0.26450666785240173, -0.07316026091575623, -0.13477195799350739, -0.05003584176301956, 0.6578689813613892, 0.04169565439224243, -0.10193045437335968, -0.6037538647651672, 0.4878554344177246, 0.522887647151947, 0.28193119168281555, 0.5876879096031189, 0.4940541088581085, -0.45829179883003235, -0.43386396765708923, -0.35486164689064026, -0.3443663716316223, -0.48596298694610596, 0.12522566318511963, -0.48209622502326965, -0.8517442941665649, 0.4926130473613739, -0.6130349636077881, -0.1696198731660843, 0.805147111415863, 0.5645202398300171, -0.09963800013065338, 1.1331075429916382, 0.6735785007476807, 0.3598741590976715, 0.26767849922180176, -0.22993552684783936, 0.3778217136859894, 0.02047033980488777, -0.1660972386598587, -0.4439718425273895, -0.003607014426961541, -1.0819222927093506, -0.30469948053359985, 0.44448912143707275, 0.2680743932723999, -0.058931488543748856, 0.21094124019145966, -0.3086705803871155, 0.5383621454238892, 0.6029765009880066, 0.1408873051404953, 0.4322744309902191, 0.20368890464305878, -0.10680680721998215, -0.0387641005218029, -0.5813442468643188, -0.6683870553970337, 1.017234444618225, 0.3296703100204468, 0.6425241827964783, -0.11892423778772354, 0.7383264899253845, 0.2845156490802765, 0.16360917687416077, -0.657953143119812, 0.5248727202415466, -0.17248263955116272, -0.6979811787605286, -0.3385706841945648, -0.6527306437492371, -0.6809946894645691, -0.01868346333503723, -0.19142070412635803, -0.08780576288700104, -0.34000810980796814, 0.17592045664787292, -0.050730202347040176, -0.12348005175590515, -1.2137691974639893, 0.6820815801620483, 0.22922809422016144, -0.0893077477812767, -0.19129467010498047, -0.47333693504333496, 0.2098580151796341, -0.6560395956039429, 0.32566457986831665, 0.11464860290288925, -0.004007043316960335, 0.5668185353279114, -0.7585070729255676, 0.8871292471885681, 0.1563977748155594, -0.22317847609519958, 0.19813695549964905, -0.000902038998901844, 0.9277202486991882, -0.25674545764923096, -0.05206318944692612, 0.1659059226512909, 0.03945663571357727, -0.45929959416389465, -0.5321905016899109, 0.6233513355255127, -0.6357061862945557, -0.4701009690761566, -0.23295575380325317, -0.4969232678413391, -0.15479131042957306, 0.4293627142906189, 0.32057151198387146, 0.30579671263694763, -0.4160764217376709, 0.19199028611183167, 0.29504695534706116, -0.06074794381856918, 0.30082130432128906, 0.2740896940231323, -0.006051589734852314, -0.281244158744812, 0.8715077042579651, 0.260799378156662, 0.4302031099796295, 0.2102467566728592, 0.10504825413227081, -0.45475301146507263, -0.5688885450363159, -0.4017237424850464, 0.3773980736732483, -0.8844980001449585, -0.011437786743044853, -0.5538747310638428, -0.3499402105808258, -0.32914412021636963, -0.1801430732011795, -0.1212194636464119, -0.9011480808258057, -0.23034663498401642, -0.3822568356990814, 0.14489147067070007, 0.8512080311775208, 0.03887154534459114, 0.5033562779426575, -0.7274805903434753, 0.4382838010787964, 0.09784184396266937, 0.18805277347564697, -0.3006683886051178, -0.2985488772392273, -0.08067147433757782, 0.11673759669065475, -0.20669858157634735, -0.7394707202911377, 0.626800000667572, 0.09527631849050522, 0.4257870614528656, 0.11811868101358414, 0.1231958195567131, 0.48109889030456543, -0.7655760049819946, 0.5303785800933838, 0.06392694264650345, -1.026071310043335, 0.25599032640457153, -0.8100213408470154, 0.2864120304584503, 0.31623730063438416, 0.5751997232437134, -0.480166494846344, -0.565020740032196, -0.9904305338859558, -0.9947012066841125, 0.7383496761322021, 0.6240075826644897, 0.4404744505882263, 0.3498610258102417, 0.4670604467391968, 0.1777174472808838, 0.24564683437347412, -0.7812593579292297, -0.3371918797492981, 0.07635913044214249, -0.6247540712356567, -0.1164681538939476, -0.2862747311592102, -0.1383027583360672, -0.3352249264717102, 0.7814379334449768, -0.057572267949581146, 0.1023460403084755, 0.051079731434583664, 0.06077834218740463, 0.06383051723241806, 0.3810414969921112, 0.6969666481018066, 0.5425800085067749, 0.013242768123745918, 0.11753854155540466, 0.4555906355381012, -0.28209188580513, 0.2564283013343811, 0.3844490647315979, -0.7767716646194458, 0.4116455912590027, 0.38024553656578064, 0.6733038425445557, 0.11393130570650101, -0.7213199734687805, 0.2880784571170807, 0.04214392229914665, -0.4678976237773895, -0.3753969967365265, 0.06286823749542236, 0.2126632034778595, -0.1031997948884964, 0.3123563230037689, -0.03910689055919647, 0.360795795917511, -0.6172722578048706, 0.14787617325782776, 0.07195866107940674, -0.05621678754687309, -0.3547488749027252, 0.45423972606658936, 0.011350415647029877, -0.16929304599761963, 0.22501662373542786, -0.37486863136291504, -0.4328615069389343, 0.4853980243206024, 0.572330117225647, 0.5290254950523376, -0.10779076814651489, 0.30377665162086487, 0.4493701756000519, 0.14232684671878815, -0.5156930685043335, 0.24223268032073975, 0.2014041543006897, -0.4533814489841461, -0.39612939953804016, -0.8136835098266602, -0.3165629804134369, 0.46205011010169983, -0.24798008799552917, 0.5662707686424255, -0.4373374581336975, -0.053865090012550354, 0.4563412666320801, -0.0685308501124382, -0.6185410022735596, 0.4750373065471649, -0.04854267090559006, 0.7174582481384277, -1.034612774848938, 0.8290466070175171, 0.5996015071868896, -0.5972749590873718, -0.932914674282074, 0.2163015455007553, 0.019026542082428932, -0.3127099871635437, 0.5176392793655396, 0.13702787458896637, -0.05442577227950096, 0.39679279923439026, -0.5551515817642212, -0.6541998386383057, 0.748885452747345, 0.5251340270042419, -0.4370366930961609, -0.2990800142288208, 0.5246096253395081, 0.9794567823410034, -0.09136339277029037, 0.1963586062192917, 0.5477855205535889, 0.6251165270805359, 0.16716526448726654, -0.8685868978500366, 0.07428831607103348, -0.19710242748260498, 0.07903316617012024, 0.2884528338909149, -0.3716873526573181, 0.8304689526557922, 0.1065201386809349, -0.6332293152809143, 0.08988438546657562, 0.4785575270652771, -0.20536436140537262, 0.12247756868600845, 0.30792590975761414, 0.4722684323787689, 0.7245591878890991, -0.23998510837554932, 1.2100772857666016, -0.16006454825401306, 0.6257808208465576, 0.8412386178970337, 0.01069063600152731, 0.5921122431755066, 0.45735132694244385, -0.11543416976928711, 0.23668594658374786, 0.57789146900177, -0.15493503212928772, 0.45374584197998047, 0.39222753047943115, -0.3997253477573395, -0.286619633436203, -0.07802402973175049, 0.039294444024562836, 0.3386998474597931, 0.14232811331748962, -0.3379852771759033, -0.6097772717475891, 0.0562669076025486, 0.189544215798378, 0.20974433422088623, -0.1904175877571106, 0.9459583759307861, -0.12139219790697098, -0.632179319858551, 0.7398484945297241, 0.5487329959869385, 0.5182361602783203, -0.5045796036720276, -0.06704401224851608, -0.2845211923122406, 0.5183343887329102, -0.08101372420787811, -0.4723186194896698, 0.27045726776123047, 0.23543968796730042, -0.18992900848388672, -0.501470685005188, 0.5803362131118774, -0.6611101627349854, -0.7124492526054382, 0.0882548913359642, 0.5447717905044556, 0.2814803719520569, -0.031386807560920715, -0.402619332075119, -0.13809144496917725, 0.20783501863479614, -0.19553160667419434, 0.2083740234375, 0.6751675605773926, -0.31056177616119385, 0.6753312349319458, 0.8662617206573486, 0.12499970942735672, 0.10145625472068787, 0.050535596907138824, 1.0683422088623047, -0.6569114923477173, -0.5472800731658936, -0.8235103487968445, 0.28174465894699097, -0.27793627977371216, -0.10865584760904312, 0.834510087966919, 0.9257772564888, 1.218749761581421, -0.36307236552238464, 1.0653871297836304, 0.11870089173316956, 0.700691819190979, -0.5989471077919006, 0.6853347420692444, -0.5686840415000916, 0.04049907624721527, -0.1313106119632721, -0.8803685903549194, -0.5170053839683533, 0.3092348575592041, -0.24066205322742462, 0.19192977249622345, 0.6843158006668091, 0.7834533452987671, -0.4926818013191223, 0.03299853205680847, 0.4083801209926605, 0.1516241878271103, 0.3287488520145416, -0.028768150135874748, 0.49437186121940613, -0.5282461047172546, 0.7697927355766296, -0.33517295122146606, -0.005182753317058086, -0.17968058586120605, -0.8284715414047241, -0.7812825441360474, -0.6819019913673401, -0.27949008345603943, -0.0645609200000763, -0.03836018964648247, 0.8088141083717346, 0.5908910632133484, -0.8079518675804138, 0.03989569842815399, -0.5372220873832703, -0.31823113560676575, -0.008260907605290413, -0.21307486295700073, 0.38440802693367004, -0.45962658524513245, -1.1679177284240723, 0.4041668176651001, -0.17116981744766235, 0.7101666927337646, -0.24458669126033783, -0.055609673261642456, 0.07160961627960205, 0.3272581696510315, 0.5277153253555298, 0.029155677184462547, -0.6516063213348389, -0.036894723773002625, -0.25518953800201416, -0.47836557030677795, -0.06199837476015091, 0.8611183762550354, -0.5547938346862793, 0.3556181490421295, 0.6602157354354858, 0.37889188528060913, 0.6571828722953796, 0.31311994791030884, 0.8908646106719971, -1.0095446109771729, 0.38967517018318176, 0.11785575747489929, 0.1416771411895752, 0.5475804209709167, -0.16080451011657715, 0.5750597715377808, 0.3098899722099304, -0.19014979898929596, -0.7730903625488281, 0.031699519604444504, -0.7274330258369446, -0.41805702447891235, 1.428059458732605, -0.04160935431718826, -0.13921430706977844, -0.0378001444041729, -0.32609033584594727, 0.47792690992355347, -0.23047219216823578, 0.7181218266487122, 0.8042302131652832, 0.3188526928424835, 0.03687768429517746, -0.785057008266449, 1.0890026092529297, 0.3162783682346344, -1.1265687942504883, 0.299606055021286, 0.8186739087104797, 0.19155648350715637, 0.15410256385803223, 0.2181803435087204, 0.045952487736940384, 0.06478802859783173, 0.04159315675497055, 0.09901696443557739, 0.0006689740112051368, -0.2715598940849304, -0.4831344485282898, 0.23951637744903564, -0.19952064752578735, 0.43092742562294006 ]
http://arxiv.org/abs/2402.10671v3
http://arxiv.org/pdf/2402.10671v3
Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm
2024-02-16T13:24:05
2024-07-03T04:45:29
Yuanzhen Xie, Xinzhou Jin, Tao Xie, MingXiong Lin, Liang Chen, Chenyun Yu, Lei Cheng, ChengXiang Zhuo, Bo Hu, Zang Li
cs.CL
cs.CL
In-context learning of large-language models (LLMs) has achieved remarkable success in the field of natural language processing, while extensive case studies reveal that the single-step chain-of-thought prompting approach faces challenges such as attention diffusion and inadequate performance in complex tasks like text-to-SQL. To improve the contextual learning capabilities of LLMs in text-to-SQL, a workflow paradigm method is proposed, aiming to enhance the attention and problem-solving scope of LLMs through decomposition. Specifically, the information determination module for eliminating redundant information and the brand-new prompt structure based on problem classification greatly enhance the model's attention. Additionally, the inclusion of self-correction and active learning modules greatly expands the problem-solving scope of LLMs, hence improving the upper limit of LLM-based approaches. Extensive experiments conducted on three datasets demonstrate that our approach outperforms other methods by a significant margin. About 2-3 percentage point improvements compared to the existing baseline on the Spider Dev, Spider-Realistic, and Bird Dev datasets and new SOTA results on the Spider Test dataset are achieved. Our code is available on GitHub: \url{https://github.com/FlyingFeather/DEA-SQL}.
[ -0.11095689982175827, -0.9445221424102783, 0.5722855925559998, 0.171414315700531, -0.3772999942302704, 0.13706929981708527, -0.45552894473075867, -0.2561199963092804, 0.16102567315101624, 0.714110791683197, -0.7369722127914429, -0.5093533396720886, -0.2826809585094452, 0.4299167990684509, -0.41220298409461975, 0.7378827929496765, -0.007019019685685635, -0.027482569217681885, -0.30856552720069885, 0.030744578689336777, -0.6459337472915649, -0.4174559712409973, -0.679851233959198, -0.08566875010728836, 0.4876216948032379, 0.37893301248550415, -0.027271484956145287, 0.8358346819877625, 0.6716369986534119, 0.21581603586673737, -0.49646908044815063, 0.27196821570396423, -0.6748470067977905, 0.4341528117656708, -0.5307343602180481, -0.5092345476150513, -0.476348876953125, -0.42105376720428467, 0.676020085811615, 0.7753394246101379, -0.2914367616176605, 0.31927046179771423, 0.3173848092556, 1.1405893564224243, -0.878990113735199, 0.2548525631427765, -0.5992385149002075, 0.026990316808223724, -0.2094336450099945, -0.3499104976654053, -0.6417676210403442, 0.11423793435096741, 0.14340537786483765, -0.3633383512496948, 0.04760957881808281, 0.14215509593486786, 0.39167270064353943, 0.637309193611145, -0.39839649200439453, 0.11578059941530228, -0.7000201940536499, 0.6038520336151123, -0.6814223527908325, 0.2748737633228302, 0.033423248678445816, 0.21987797319889069, -0.3454371690750122, -0.562647819519043, -0.46859559416770935, 0.1856279820203781, 0.16140882670879364, 0.12169571965932846, -0.10854460299015045, 0.0021750712767243385, 0.32993873953819275, 0.4199521243572235, -0.49599316716194153, -0.031720347702503204, -0.24774612486362457, 0.0725112333893776, 0.4561035931110382, 0.3566925823688507, -0.06866076588630676, -0.14029854536056519, -0.3381359875202179, 0.21944764256477356, -0.7540664076805115, -0.21585461497306824, -0.28573399782180786, 0.5106139779090881, 0.10371606796979904, 0.6246355175971985, -0.5481503009796143, 0.9755631685256958, 0.16928806900978088, -0.17767490446567535, 0.2938486635684967, -0.38114291429519653, -0.7093250155448914, -0.21665549278259277, 0.45728281140327454, 0.24777907133102417, -0.08554088324308395, -0.3586568832397461, -0.2749430239200592, -0.0035092285834252834, 0.328355610370636, -0.776832640171051, 0.14087754487991333, 0.37074044346809387, -0.5095213651657104, -0.2007632851600647, -0.44971251487731934, -0.6331453323364258, -0.5743847489356995, -0.6602635383605957, 0.23036056756973267, -0.23907384276390076, -0.2063031643629074, -0.06933733075857162, 0.06559174507856369, 0.1793460100889206, 0.5511573553085327, -0.584388792514801, 0.17136821150779724, 0.6155959367752075, 0.7927336096763611, -0.7607448101043701, 0.10451836884021759, -0.5895729064941406, 0.4365946054458618, -0.35668474435806274, 0.9855149984359741, -0.5116998553276062, 0.1569484919309616, 0.06065882369875908, 0.009913555346429348, -0.2777974307537079, -0.918717086315155, 0.39552345871925354, -0.6651456356048584, 0.1862427145242691, -0.10563745349645615, -0.6867274045944214, -0.2777491807937622, 0.5201855301856995, -0.5264855623245239, 1.0490142107009888, 0.21841174364089966, -0.7831262350082397, 0.2792094349861145, -1.1171553134918213, -0.5499425530433655, 0.22485113143920898, -0.011832913383841515, -0.21375159919261932, 0.02472790516912937, 0.08748546987771988, 0.6862130761146545, -0.5407886505126953, 0.22265447676181793, -0.13791562616825104, -0.3511229157447815, 0.08368854969739914, 0.09171693027019501, 0.691625714302063, 0.21050310134887695, -0.48256996273994446, 0.3060665428638458, -0.922879695892334, -0.11513256281614304, 0.14333580434322357, -0.39833196997642517, -0.13018937408924103, 0.006730637513101101, -0.058543749153614044, 0.20391830801963806, -0.0013461523922160268, -0.2352573275566101, 0.0006480309530161321, -0.8860986232757568, 0.4743666350841522, 0.597326934337616, 0.36715003848075867, 0.7160667181015015, 0.0015304292319342494, 0.5036236643791199, 0.3100968301296234, -0.0019501816714182496, -0.1768512725830078, 0.01761074736714363, -0.9739764332771301, -0.43902063369750977, 0.13434603810310364, 0.6226122379302979, -0.7729340195655823, 0.43570825457572937, -0.07522828876972198, -0.11652588844299316, -0.19484089314937592, 0.23990829288959503, 0.29953593015670776, 0.8131011128425598, 0.3456309735774994, -0.37199828028678894, -0.6280282139778137, -0.6862713694572449, -0.2942785918712616, 0.12246019393205643, -0.06453230232000351, 0.21962504088878632, 0.41663858294487, -0.3720548152923584, 0.8978145718574524, -0.5605860948562622, -0.7816053032875061, -0.4043766260147095, -0.2126525640487671, 0.26802557706832886, 0.1494995504617691, 0.07707669585943222, -0.6794261932373047, -0.527896523475647, -0.3043290376663208, -0.5424565672874451, 0.12042637914419174, 0.17919215559959412, -0.26895982027053833, 0.6593315005302429, 0.444430947303772, -0.5411362051963806, 0.47349897027015686, -0.04709271714091301, -0.2893063724040985, 0.3397214114665985, 0.11231917142868042, -0.12113671749830246, -1.1589354276657104, 0.23849862813949585, 0.030445178970694542, -0.14493431150913239, -0.6338695883750916, 0.05168095976114273, 0.048767976462841034, -0.06419443339109421, -0.48596224188804626, 0.44597476720809937, -0.7143288254737854, -0.11895385384559631, -0.38023993372917175, 0.39169812202453613, -0.2841067910194397, 0.7378908395767212, 0.12476196885108948, 0.7403224110603333, 0.7983953952789307, -0.9139629006385803, 0.2879234850406647, 0.18008293211460114, -0.2747425138950348, 0.7084542512893677, -0.27866601943969727, 0.11106955260038376, -0.33867138624191284, 0.16736535727977753, -1.135880470275879, -0.34702029824256897, 0.464613676071167, -0.25125041604042053, 0.40663522481918335, -0.13521228730678558, -0.6328089237213135, -0.02258608303964138, -0.3630048334598541, 0.10183995217084885, 0.3804558217525482, -0.42801138758659363, 0.697231113910675, 0.48918139934539795, -0.12192844599485397, -0.5618337988853455, -0.6388571262359619, 0.23193109035491943, -0.3249359726905823, -0.3309165835380554, 0.38321608304977417, -0.0881633386015892, -0.33702516555786133, -0.1793181151151657, -0.2401699274778366, -0.21594402194023132, -0.04277294501662254, 0.01988174021244049, 0.19102831184864044, 0.08844007551670074, 0.43468472361564636, -0.17422784864902496, -0.17991195619106293, 0.18819665908813477, -0.41380035877227783, 0.35473933815956116, 0.33501341938972473, 0.21121203899383545, -0.41301053762435913, 0.3306134045124054, 0.49867409467697144, -0.49308905005455017, 0.7288340330123901, 0.433587908744812, -0.48464643955230713, -0.682790219783783, -0.44801950454711914, -0.30118927359580994, -0.4205758571624756, 0.3802502453327179, -0.053453244268894196, -0.9030870199203491, 0.23376333713531494, -0.3583560883998871, 0.12766940891742706, 0.19415152072906494, 0.8025242686271667, -0.2300640493631363, 0.756294310092926, 0.8992691040039062, -0.020242908969521523, 0.7043591141700745, -0.3175187110900879, 0.24855680763721466, -1.1888103485107422, -0.37909504771232605, -0.4604613482952118, -0.025693237781524658, -0.09455353766679764, -0.7204008102416992, 0.32503417134284973, -0.21934519708156586, -0.22674456238746643, 0.1687755584716797, -0.8404154181480408, 0.4541440010070801, -0.026735886931419373, 0.2934449017047882, 0.3508625328540802, 0.18908891081809998, -0.04741353169083595, -0.006319043692201376, -0.7476024627685547, -0.4126725494861603, 1.1401054859161377, 0.17630694806575775, 0.6522055864334106, 0.1059214398264885, 0.7888637185096741, 0.3280849754810333, 0.415060430765152, -0.9457401633262634, 0.7418179512023926, 0.11999619007110596, -0.4302433133125305, -0.4370286762714386, -0.46356621384620667, -0.8578795194625854, 0.3765963912010193, 0.04104200378060341, -0.9172021746635437, -0.048171646893024445, 0.18229161202907562, -0.12585102021694183, -0.06098756566643715, -0.6415387988090515, 0.8486667275428772, 0.20520974695682526, -0.772312581539154, -0.29172131419181824, -0.575510561466217, 0.3261326551437378, -0.053171850740909576, 0.2217453271150589, -0.09380979835987091, -0.38290080428123474, 0.9144289493560791, -0.5177712440490723, 0.9140051007270813, -0.17037780582904816, -0.48368459939956665, 0.3475402295589447, -0.09239138662815094, 0.7207664251327515, 0.015381213277578354, -0.09421883523464203, -0.2547042965888977, -0.3648942708969116, -0.1390547752380371, -0.6089956760406494, 0.412585586309433, -0.1523483246564865, -0.646346390247345, -0.29289934039115906, -0.6134719848632812, -0.3717274069786072, 0.24787580966949463, -0.05242164805531502, 0.38873445987701416, 0.13788031041622162, 0.19371330738067627, 0.9467684030532837, 0.35549432039260864, 0.7610486745834351, 0.6512739062309265, -0.08837515860795975, -0.38273248076438904, 0.4660303294658661, 0.13609708845615387, 0.07129506766796112, 0.7311496734619141, -0.15895593166351318, -0.5529821515083313, -0.7344586849212646, -0.21002677083015442, 0.268988698720932, -0.9174541234970093, -0.47585731744766235, -0.726536214351654, 0.08479410409927368, -0.22253401577472687, 0.2584570646286011, -0.08439099043607712, -0.17534790933132172, -0.5212065577507019, 0.19574563205242157, 0.2812393605709076, 0.3814699053764343, 0.52916419506073, 0.10959161072969437, -0.4596411883831024, 0.2701621651649475, 0.08081156760454178, 0.38335132598876953, 0.20624323189258575, -0.7188373804092407, -0.38495713472366333, -0.2936132848262787, -0.2116185575723648, -0.977433979511261, 0.34677210450172424, 0.15401318669319153, 0.44878697395324707, 0.06636962294578552, 0.2178410142660141, 0.7458028197288513, -0.349299818277359, 0.4812411367893219, -0.022620422765612602, -1.0300772190093994, 0.7467865347862244, -0.267190158367157, 0.43827614188194275, 0.5347910523414612, 0.0942896381020546, -0.14551615715026855, -0.49840888381004333, -0.46673890948295593, -0.8536695837974548, 0.9894767999649048, 0.2948898673057556, -0.2579181492328644, 0.20389631390571594, 0.5823354721069336, -0.2234276831150055, 0.2887133061885834, -0.8053417205810547, -0.2750474214553833, 0.461837500333786, -0.17614322900772095, -0.07648744434118271, -0.34616124629974365, -0.05434132367372513, -0.3557300567626953, 0.5978888273239136, -0.38108739256858826, 0.34634119272232056, 0.24002526700496674, -0.3869246542453766, -0.06819028407335281, 0.42803266644477844, 0.376615047454834, 0.9399640560150146, -0.05013546347618103, 0.14795824885368347, 0.422210693359375, -0.2818484902381897, 0.11887562274932861, -0.26724207401275635, -0.10070503503084183, -0.20782208442687988, 0.2738765478134155, 0.46019676327705383, 0.1611088514328003, -0.8322724103927612, 0.42070451378822327, -0.03844735771417618, -0.12315642833709717, -0.14871306717395782, 0.4053342044353485, 0.26838070154190063, 0.38914749026298523, 0.47985216975212097, 0.0895393043756485, 0.5716618895530701, -0.5506823062896729, 0.041022684425115585, 0.2551439702510834, -0.30731162428855896, -0.014849051833152771, 0.42048969864845276, 0.29759347438812256, -0.3445080518722534, 0.18566854298114777, -0.227119579911232, -0.4344105124473572, 0.5761332511901855, 0.805347740650177, 0.964980959892273, -0.12329762428998947, -0.09700427204370499, 0.4073616862297058, 0.17089435458183289, 0.006378590129315853, 0.6131154298782349, -0.46362316608428955, -0.30118584632873535, -0.6548504829406738, -0.43019339442253113, -0.3971680998802185, 0.060122206807136536, -0.4385555684566498, 0.2661524713039398, -0.39672479033470154, -0.12064612656831741, -0.051157183945178986, 0.031295258551836014, -0.424104779958725, 0.25315603613853455, -0.08084400743246078, 0.8647375106811523, -0.47589191794395447, 0.7277156114578247, 0.9671552181243896, -0.2629008889198303, -0.5762050151824951, 0.3855675458908081, -0.21122895181179047, -0.24843280017375946, 0.764553964138031, 0.34709110856056213, -0.14684967696666718, 0.1364842802286148, -0.4901670515537262, -0.9222903251647949, 1.0033520460128784, 0.464643657207489, -0.6480117440223694, 0.23494169116020203, -0.05748680979013443, 0.6276406645774841, -0.6024743914604187, 0.13301455974578857, 0.5788846015930176, 0.35861071944236755, 0.13745848834514618, -0.6747689843177795, 0.28287312388420105, -0.08015724271535873, 0.25576186180114746, 0.3235931098461151, -0.6474593281745911, 0.48298633098602295, -0.3358979821205139, -0.4775444269180298, -0.43133544921875, 0.5911505818367004, 0.11251207441091537, 0.1907457411289215, 0.5229467153549194, 0.3922925591468811, 0.6852178573608398, 0.04020888730883598, 0.553584098815918, -0.17325663566589355, 0.33682891726493835, 1.0518946647644043, -0.5729650855064392, 1.0731819868087769, 0.7201021909713745, -0.115816131234169, 0.5389265418052673, 0.6051098108291626, 0.2146858125925064, 0.6567192077636719, 0.36130544543266296, -0.13934394717216492, -0.215647354722023, -0.20459981262683868, 0.02307194471359253, 0.36727872490882874, 0.351019948720932, -0.27407580614089966, -0.24243853986263275, 0.16938669979572296, -0.07586115598678589, 0.13252140581607819, -0.38622546195983887, 1.2448338270187378, -0.0629175528883934, -0.7642295360565186, 0.9892092347145081, -0.049467939883470535, 0.5763220191001892, -0.21630029380321503, -0.13848209381103516, -0.2545190155506134, 0.5076180696487427, -0.44609493017196655, -0.5608711838722229, 0.3526022136211395, 0.206660658121109, -0.5027427077293396, -0.19736242294311523, 0.7698525190353394, -0.5823938250541687, -0.11907060444355011, 0.35332557559013367, 0.30788668990135193, 0.03245774284005165, -0.26275238394737244, -0.5875939130783081, 0.1818203181028366, 0.034891024231910706, -0.2961656153202057, 0.2270948588848114, 0.4645557105541229, 0.022005833685398102, 0.826791524887085, 0.43369144201278687, -0.17187370359897614, -0.2998027503490448, 0.07790165394544601, 0.9648610353469849, -0.7213301062583923, -0.6751229166984558, -0.9851436614990234, 0.5775129199028015, -0.3071475625038147, -0.01462614070624113, 0.6401902437210083, 0.7738521695137024, 0.5885049104690552, -0.22328312695026398, 0.5504586100578308, -0.058066099882125854, 0.7632753849029541, -0.48421409726142883, 0.5018333792686462, -0.6352687478065491, 0.4273677468299866, -0.3436812162399292, -1.0548738241195679, -0.4740103483200073, 0.39388734102249146, -0.06441690027713776, 0.05157594382762909, 1.0664490461349487, 0.8004561066627502, 0.29085609316825867, -0.2904590964317322, 0.1088581457734108, 0.17506061494350433, 0.041846804320812225, 0.7486572265625, 0.7613284587860107, -0.3485621213912964, 0.5140806436538696, -0.06323479861021042, -0.4449479579925537, -0.45280081033706665, -0.841202974319458, -1.2630348205566406, -0.6163882613182068, -0.5419213175773621, -0.19351142644882202, 0.07186190783977509, 0.9019933342933655, 0.7036965489387512, -0.5573711395263672, -0.2583484947681427, -0.23022466897964478, 0.24612106382846832, -0.4096294939517975, -0.2582847476005554, 0.5030377507209778, -0.9285354614257812, -0.5562188029289246, 0.4021522104740143, 0.855195939540863, -0.21953696012496948, -0.1577715277671814, 0.08424565941095352, -0.19642862677574158, 0.03510023280978203, 1.0202126502990723, -0.13160978257656097, -0.6173447966575623, 0.19356033205986023, 0.1387905776500702, -0.15175727009773254, 0.265252023935318, 0.6914699077606201, -0.8559665083885193, 0.3222038745880127, 0.5769833326339722, 0.6663511395454407, 0.5666708946228027, -0.11798298358917236, 0.4399121403694153, -0.7816756367683411, 0.11412349343299866, 0.3793748617172241, 0.2748010456562042, 0.21487221121788025, -0.6552814245223999, 0.8335598111152649, 0.24200285971164703, -0.24996139109134674, -0.9902805685997009, 0.05781255662441254, -1.0774503946304321, -0.13660643994808197, 1.1981074810028076, 0.08688213676214218, -0.702100396156311, -0.24001643061637878, -0.3327557444572449, 0.3043225109577179, -0.3634602129459381, 0.8719072937965393, 0.4062991738319397, -0.2574092745780945, -0.2992674708366394, -0.2785108983516693, 0.6346368789672852, 0.62422114610672, -1.3763941526412964, 0.7166143655776978, 0.5235956311225891, 0.3332556188106537, 0.011738428846001625, 0.6268472075462341, -0.25911203026771545, 0.3096015751361847, -0.4506478011608124, 0.006713197100907564, -0.053902767598629, -0.4699079394340515, -0.4660155475139618, 0.21127161383628845, -0.03395339101552963, -0.17475304007530212 ]
http://arxiv.org/abs/2402.10670v2
http://arxiv.org/pdf/2402.10670v2
OpenFMNav: Towards Open-Set Zero-Shot Object Navigation via Vision-Language Foundation Models
2024-02-16T13:21:33
2024-03-25T02:52:43
Yuxuan Kuang, Hai Lin, Meng Jiang
cs.CL
cs.CL, cs.RO
Object navigation (ObjectNav) requires an agent to navigate through unseen environments to find queried objects. Many previous methods attempted to solve this task by relying on supervised or reinforcement learning, where they are trained on limited household datasets with close-set objects. However, two key challenges are unsolved: understanding free-form natural language instructions that demand open-set objects, and generalizing to new environments in a zero-shot manner. Aiming to solve the two challenges, in this paper, we propose OpenFMNav, an Open-set Foundation Model based framework for zero-shot object Navigation. We first unleash the reasoning abilities of large language models (LLMs) to extract proposed objects from natural language instructions that meet the user's demand. We then leverage the generalizability of large vision language models (VLMs) to actively discover and detect candidate objects from the scene, building a Versatile Semantic Score Map (VSSM). Then, by conducting common sense reasoning on VSSM, our method can perform effective language-guided exploration and exploitation of the scene and finally reach the goal. By leveraging the reasoning and generalizing abilities of foundation models, our method can understand free-form human instructions and perform effective open-set zero-shot navigation in diverse environments. Extensive experiments on the HM3D ObjectNav benchmark show that our method surpasses all the strong baselines on all metrics, proving our method's effectiveness. Furthermore, we perform real robot demonstrations to validate our method's open-set-ness and generalizability to real-world environments.
[ -0.26067909598350525, -0.7888749241828918, 0.5585016012191772, -0.2644117772579193, -0.3335255980491638, -0.14789961278438568, -0.32616692781448364, -0.2546966075897217, -0.11798544973134995, 0.8213651180267334, -0.6461464166641235, -1.0474400520324707, -0.27824732661247253, -0.38240042328834534, -0.2043481171131134, 0.5392976999282837, -0.23149044811725616, -0.3817514479160309, -0.3743044137954712, -0.34951138496398926, -0.4435507357120514, -0.3299099802970886, 0.024414068087935448, -0.17877386510372162, 0.39997604489326477, 0.6997736096382141, 0.8802522420883179, 0.8689776062965393, 0.5850571990013123, 0.09125497937202454, 0.03582363575696945, 0.12019176781177521, -0.5994229316711426, 0.11728446930646896, -0.5270317196846008, -0.48831427097320557, -0.08259902894496918, -0.18621760606765747, 0.3527999818325043, 0.7220549583435059, -0.1569184511899948, 0.180850088596344, -0.3933134973049164, 0.6843504309654236, -0.98526930809021, 0.3511987328529358, -0.3782770037651062, 0.4099234640598297, -0.10083939880132675, -0.1931002140045166, -0.31475967168807983, 0.03747956082224846, 0.22687745094299316, -0.804142415523529, 0.10987730324268341, 0.027252530679106712, 0.9026535153388977, 0.4186849892139435, -0.3265741467475891, 0.027500728145241737, -0.9580106139183044, 1.0537456274032593, -0.34284573793411255, 0.5218736529350281, 0.18949396908283234, 0.680183470249176, -0.3709033727645874, -0.35638269782066345, -0.3491979241371155, -0.3795599341392517, 0.33429354429244995, -0.03583250194787979, -0.17904561758041382, 0.03263723477721214, 0.011806104332208633, 0.18980957567691803, -0.6473838686943054, -0.09801007062196732, -0.21129176020622253, 0.05907838046550751, 0.35978686809539795, 0.05450349673628807, 0.32515397667884827, 0.18226829171180725, -0.5546379685401917, -0.24191130697727203, -0.7790030837059021, 0.40306103229522705, 0.032963093370199203, 0.677638590335846, 0.00716496491804719, 1.025728464126587, -0.9019589424133301, 1.2270803451538086, -0.43787264823913574, -0.006745494436472654, 0.1793920397758484, -0.24947431683540344, -0.4486788511276245, 0.10855179280042648, 0.4187215268611908, 0.5788018107414246, 0.7247025966644287, -0.3434186279773712, -0.2113383710384369, 0.08630120009183884, 0.2564413845539093, -0.679664671421051, -0.08743021637201309, 0.23971065878868103, -0.3627456724643707, -0.42405954003334045, 0.21394909918308258, -0.5351445078849792, -0.24648727476596832, -0.3230236768722534, 0.5920352935791016, -0.251505970954895, -0.4293847680091858, 0.7395371794700623, -0.10293430089950562, 0.5290271639823914, 0.5527163147926331, -0.5103841423988342, 0.1101507842540741, 0.6006550192832947, 0.7851605415344238, 0.18306536972522736, -0.10683443397283554, -0.8992779850959778, 0.31238067150115967, -0.5945401191711426, 0.6974995732307434, -0.7931261658668518, -0.4172554314136505, -0.03148239105939865, -0.12095802277326584, 0.08765330165624619, -0.30037444829940796, 0.04993642494082451, -0.11474881321191788, 0.14650887250900269, -0.018234504386782646, -0.10607009381055832, -0.6024742722511292, 0.6682220101356506, -0.2895703911781311, 0.8798642158508301, 0.11353576183319092, -0.10661984235048294, 0.2848127782344818, -0.9846112728118896, -0.45975837111473083, -0.0930417850613594, -0.29482731223106384, -0.028967414051294327, 0.16400066018104553, 0.3844741880893707, 0.6191948056221008, -0.13092723488807678, 0.032117851078510284, -0.3267787992954254, -0.5622243285179138, -0.17677578330039978, -0.1591351181268692, 0.6658360362052917, -0.08674996346235275, -0.4598350524902344, 0.19203177094459534, -0.5745417475700378, -0.10320490598678589, 0.3840431272983551, -0.31950661540031433, -0.3237980008125305, 0.28675347566604614, -0.3714431822299957, 0.31409358978271484, 0.030633218586444855, -0.7574878334999084, 0.3489978015422821, -0.6475253701210022, -0.14697207510471344, 0.4545595943927765, 0.16850531101226807, 0.6597165465354919, -0.16778728365898132, 0.6058598756790161, 0.17882086336612701, 0.2778032422065735, -0.5701601505279541, -0.85965895652771, -0.7134515047073364, -0.08428545296192169, -0.11786104738712311, 0.5540286302566528, -0.866543710231781, 0.16964717209339142, -0.20030872523784637, -0.3475697934627533, -0.43123704195022583, 0.06747667491436005, 0.6090032458305359, 0.7625678777694702, 0.6427149176597595, -0.18579407036304474, -0.2554478645324707, -0.5584445595741272, 0.10025747120380402, -0.017899392172694206, -0.20338234305381775, 0.5060545206069946, 0.601344108581543, 0.06789910793304443, 1.1075823307037354, -0.7275213599205017, -0.6301971673965454, 0.0024969179648905993, -0.2673543393611908, 0.017435668036341667, 0.42234474420547485, 0.5457746386528015, -0.8350474238395691, -0.00004181916665402241, 0.318098783493042, -1.1537169218063354, 0.3032311499118805, 0.09339984506368637, -0.4385277330875397, 0.13902129232883453, 0.4996618628501892, -0.47486281394958496, 0.9835186004638672, 0.09750743210315704, -0.3717246949672699, 0.15525387227535248, -0.012330258265137672, 0.027367958799004555, -0.6772633790969849, 0.1439846009016037, 0.07771921902894974, -0.2199227511882782, -0.6857385039329529, 0.5976433753967285, -0.2753634452819824, -0.20981331169605255, -0.9678412079811096, 0.668658971786499, -0.5322343707084656, -0.3309735357761383, -0.12784072756767273, 0.39701905846595764, -0.014150889590382576, 0.8480240106582642, 0.28080570697784424, 0.1875266581773758, 0.7558483481407166, -0.6399073004722595, 0.35725146532058716, 0.2542244791984558, -0.3089584410190582, 0.6898059844970703, -0.3084504306316376, -0.034423861652612686, -0.4082823097705841, 0.20977593958377838, -0.6983984708786011, -0.007362729404121637, 0.6505239009857178, -0.4889427125453949, -0.05508405342698097, -0.3775840401649475, -0.2651909589767456, -0.21335512399673462, -0.1345619112253189, 0.023802850395441055, 0.37051576375961304, -0.566580057144165, 0.7702294588088989, 0.07317490875720978, 0.49874141812324524, -1.01214599609375, -0.6201910376548767, -0.040636833757162094, 0.3558144271373749, -0.57872474193573, -0.1185992881655693, -0.09955106675624847, -0.21868687868118286, 0.16414254903793335, -0.517937421798706, 0.03619270399212837, 0.3492589592933655, 0.5436382293701172, 0.422113835811615, -0.6004589796066284, 0.011703671887516975, -0.297906756401062, -0.14754635095596313, -0.184217631816864, -0.581188976764679, 0.5164077281951904, -0.36077478528022766, -0.6600003838539124, 0.05823570489883423, 0.1763685941696167, 0.3966445028781891, -0.7069255113601685, 0.5180494785308838, 0.24800966680049896, -0.545322835445404, -0.2691134810447693, -0.06836376339197159, 0.0649777352809906, -0.40520477294921875, 0.20452749729156494, -0.6029934287071228, -0.8814213871955872, 0.12500536441802979, -0.14249606430530548, 0.4278610348701477, 0.08264316618442535, 0.4459283649921417, -0.05436686798930168, 0.8288069367408752, 0.6653929352760315, 0.3120567798614502, 0.2279060333967209, -0.5604903697967529, 0.13851304352283478, -0.5590909719467163, -0.729654848575592, -0.4536856412887573, -0.47885701060295105, 0.2792469561100006, -0.9853860139846802, 0.08342333137989044, 0.34409061074256897, -0.18468186259269714, 0.3616091310977936, -0.6054201722145081, 0.9040676355361938, 0.5148058533668518, 0.28998303413391113, 0.4150015413761139, 0.014838590286672115, -0.5663012862205505, 0.38351553678512573, -0.5862409472465515, -0.34038859605789185, 1.2163810729980469, 0.09991082549095154, 0.4821842312812805, 0.20203812420368195, 0.7203111052513123, 0.1414516121149063, 0.18456920981407166, -1.1107702255249023, 0.8899552822113037, -0.03296947851777077, -0.6844959259033203, -0.5335397124290466, -0.2665340006351471, -0.797577977180481, 0.49825721979141235, -0.12883953750133514, -0.8274046778678894, 0.22462917864322662, 0.10461488366127014, -0.16406595706939697, 0.5252088308334351, -0.35540011525154114, 1.1117275953292847, -0.20643579959869385, -0.20594651997089386, 0.01405163761228323, -0.8231551051139832, 0.5221511125564575, 0.19958356022834778, -0.06694471091032028, -0.48580920696258545, -0.2940014898777008, 0.18850953876972198, -0.3391733169555664, 0.7340736985206604, -0.5807887315750122, 0.007098338566720486, 0.3954801559448242, 0.4708305895328522, 0.15638287365436554, -0.24522614479064941, 0.18690383434295654, 0.3623129427433014, -0.39419025182724, -0.4368487298488617, -0.5728709101676941, 0.5845732688903809, -0.39070314168930054, -0.3062857389450073, -0.34542056918144226, -0.2527245283126831, -0.21519415080547333, 0.2565253674983978, -0.06976127624511719, 0.3888108730316162, -0.47165119647979736, 0.44434458017349243, 0.8006149530410767, -0.2595933973789215, 0.5055317282676697, 0.8327997922897339, -0.6989292502403259, 0.17996780574321747, 1.062501311302185, -0.0870472714304924, 0.08832371234893799, 0.8118045926094055, 0.10948992520570755, -0.18685711920261383, -0.4847172200679779, -0.8998681306838989, -0.10413790494203568, -0.6174488067626953, -0.40179359912872314, -0.3531389832496643, -0.07062540203332901, 0.002238188637420535, -0.45586755871772766, -0.4184683561325073, -0.3692849576473236, -0.4437751770019531, -0.08984082192182541, 0.20160681009292603, 0.3773016333580017, -0.004179151728749275, 0.1548748016357422, -0.5521173477172852, 0.6814849972724915, 0.17960678040981293, 0.582122266292572, -0.010281425900757313, -0.1809854805469513, -0.12212209403514862, 0.2874598503112793, 0.0602412074804306, -0.617806613445282, 0.03438320383429527, 0.058714188635349274, 0.6611037254333496, 0.6754364967346191, 0.2914905846118927, 0.4976508617401123, -0.4035160541534424, 0.6379557251930237, 0.20067018270492554, -0.6999481320381165, 0.8619838356971741, -0.49816134572029114, 0.5348617434501648, 0.3877812922000885, 0.34246426820755005, -0.4158320724964142, -0.15144363045692444, -0.24412159621715546, -0.5939011573791504, 0.8311334252357483, 0.25717175006866455, -0.26818087697029114, 0.07912556082010269, 0.19193294644355774, -0.2406800389289856, 0.35704275965690613, -0.4083332121372223, 0.03769087791442871, -0.4893765449523926, -0.2489151507616043, -0.14756694436073303, 0.3397120535373688, -0.24883781373500824, -0.023049715906381607, 0.40015140175819397, -0.4478578269481659, 0.1337423026561737, 0.17766381800174713, -0.4077816605567932, -0.40913668274879456, 0.030862940475344658, 0.884118378162384, 0.32711005210876465, -0.6428460478782654, -0.1685405671596527, -0.2938590347766876, -0.18009592592716217, 0.23082788288593292, -0.05693812668323517, -0.2588767111301422, -0.03290087729692459, 0.11079837381839752, 0.7879312634468079, 0.546863317489624, -0.9327723979949951, 0.9134693145751953, 0.18612921237945557, -0.48849865794181824, -0.08738133311271667, 0.41346025466918945, -0.0007353945984505117, 0.23563358187675476, 0.18414069712162018, 0.47814980149269104, -0.15175309777259827, -0.5196442604064941, 0.22298705577850342, 0.4630270004272461, -0.6906251311302185, -0.08480317890644073, 0.6964190602302551, 0.185256689786911, -0.4656035900115967, 0.5383701324462891, -0.04846480116248131, -0.12312107533216476, 0.7504698038101196, 0.18141573667526245, 0.8204325437545776, -0.2448142021894455, 0.4780653715133667, 0.11141655594110489, 0.5153889060020447, -0.3808962404727936, 0.40244320034980774, -0.3594565987586975, -0.7563729882240295, -0.3536893427371979, -0.7161744236946106, -0.6505829095840454, -0.20137059688568115, -0.574518620967865, 0.17118655145168304, -0.7177955508232117, 0.3432590067386627, -0.3447158932685852, -0.4658632278442383, -0.7413489818572998, 0.2920997142791748, 0.24356114864349365, 1.1185133457183838, -0.4418931305408478, 0.8013750314712524, 0.8137815594673157, -0.600283145904541, -0.4287604093551636, -0.10596116632223129, 0.27706605195999146, -1.0386695861816406, 0.4119602143764496, 0.4992421567440033, -0.5696528553962708, 0.024811938405036926, -0.6693991422653198, -0.8068901896476746, 1.111161231994629, 0.20178896188735962, -0.39199912548065186, -0.2457975149154663, 0.1488761156797409, 0.32748931646347046, -0.6477816104888916, -0.11816436797380447, 0.2939322590827942, 0.4859377145767212, 0.4358348250389099, -0.5008549094200134, -0.05959596484899521, -0.03237483277916908, -0.036181893199682236, 0.4684504270553589, -0.37776872515678406, 0.5946698188781738, -0.568193793296814, -0.1441093236207962, 0.0745048001408577, 0.45704391598701477, 0.11691217124462128, 0.4464706480503082, 0.5335637927055359, 0.7398830056190491, 0.35755667090415955, -0.11999660730361938, 0.8101343512535095, -0.013817721046507359, 0.12405528128147125, 1.1821963787078857, -0.5466641187667847, 1.1742032766342163, 0.2887701392173767, 0.3570527732372284, 0.5697243213653564, 0.0855436846613884, -0.04154261201620102, 0.6653425693511963, 0.36493587493896484, -0.26838406920433044, -0.38015177845954895, -0.1300509124994278, -0.05402672290802002, 0.840362548828125, 0.3093276917934418, -0.13677100837230682, -0.6630182266235352, 0.4382067620754242, -0.1902252435684204, 0.1634284108877182, -0.43485355377197266, 0.5990710854530334, -0.1652386486530304, -0.5215796232223511, 0.4429532289505005, 0.14659017324447632, 0.31133604049682617, -0.6109951734542847, -0.38312411308288574, -0.16847890615463257, 0.1927838772535324, 0.00038664095336571336, -0.8724231123924255, 0.16659168899059296, 0.06743048876523972, 0.03512566536664963, -0.20760437846183777, 0.8341427445411682, -0.29267486929893494, -0.25372084975242615, 0.3256109356880188, 0.6903495788574219, 0.21567396819591522, -0.46041256189346313, -0.3992171883583069, -0.19797170162200928, 0.16799260675907135, -0.3196624517440796, 0.33421462774276733, 0.18026144802570343, -0.13159318268299103, 0.9633377194404602, 0.887321412563324, -0.22101172804832458, 0.004562863148748875, -0.20475834608078003, 0.7326523065567017, -0.8079876899719238, -0.325490802526474, -0.5480657815933228, 0.7106682658195496, 0.1576162725687027, -0.1971079260110855, 0.3100339472293854, 0.576058566570282, 1.1349655389785767, -0.21493999660015106, 0.41932427883148193, 0.25087931752204895, 0.3561192750930786, -0.5867573618888855, 0.5621026158332825, -0.6941418647766113, 0.0380854606628418, -0.0030760271474719048, -1.0361565351486206, -0.6549647450447083, 0.8360755443572998, -0.06743323802947998, -0.24797238409519196, 0.3158167600631714, 0.8720295429229736, -0.3980272710323334, -0.2750256061553955, 0.6732906699180603, -0.08786556869745255, 0.24055682122707367, 0.7442767024040222, 0.6335635781288147, -0.12306434661149979, 1.081106424331665, -0.24353158473968506, -0.23683422803878784, -0.4622493088245392, -0.885267436504364, -0.9306290745735168, -0.1726684719324112, -0.23760905861854553, -0.09362951666116714, 0.24407674372196198, 0.7279647588729858, 0.8028661012649536, -0.49881839752197266, -0.27204805612564087, -0.21417813003063202, 0.200361430644989, -0.32730939984321594, -0.2313438355922699, -0.13566508889198303, 0.12751197814941406, -0.38865482807159424, 0.9830690622329712, 0.767628014087677, 0.16997644305229187, -0.4810672104358673, -0.31882786750793457, -0.4840121269226074, 0.22535736858844757, 0.512587308883667, 0.8262090682983398, -0.8376933336257935, -0.40961790084838867, 0.15262269973754883, 0.1313779056072235, 0.2842312157154083, 0.6906017661094666, -1.3019214868545532, 0.8840005993843079, 0.252873957157135, 0.5463916659355164, 0.49441590905189514, -0.1317942589521408, 0.5407110452651978, -0.9962789416313171, 0.3229307234287262, 0.1802792102098465, 0.2774178087711334, 0.2661462426185608, -0.022111639380455017, 0.8358299732208252, 0.20994940400123596, -0.07889115065336227, -0.7860845923423767, 0.4094875454902649, -1.1668670177459717, -0.5115996599197388, 0.7645818591117859, -0.2506936490535736, -0.45993271470069885, -0.06278382241725922, -0.23228538036346436, 0.04156842455267906, -0.4557684659957886, 0.24285311996936798, 0.371062695980072, 0.020319130271673203, -0.27856209874153137, -0.5860032439231873, 0.0834583267569542, -0.016063837334513664, -0.6633997559547424, -0.13226492702960968, 0.684901773929596, 0.11688023060560226, 0.17969107627868652, 0.5230304598808289, 0.0061408053152263165, 0.4779493808746338, -0.024190839380025864, 0.10173644870519638, -0.7276567220687866, -0.8581122756004333, -0.3702166676521301, 0.4625934362411499, -0.35148268938064575, -0.7781581878662109 ]
http://arxiv.org/abs/2402.10669v4
http://arxiv.org/pdf/2402.10669v4
Humans or LLMs as the Judge? A Study on Judgement Biases
2024-02-16T13:21:06
2024-06-16T12:30:34
Guiming Hardy Chen, Shunian Chen, Ziche Liu, Feng Jiang, Benyou Wang
cs.CL
cs.CL
Adopting human and large language models (LLM) as judges (a.k.a human- and LLM-as-a-judge) for evaluating the performance of LLMs has recently gained attention. Nonetheless, this approach concurrently introduces potential biases from human and LLMs, questioning the reliability of the evaluation results. In this paper, we propose a novel framework that is free from referencing groundtruth annotations for investigating Misinformation Oversight Bias, Gender Bias, Authority Bias and Beauty Bias on LLM and human judges. We curate a dataset referring to the revised Bloom's Taxonomy and conduct thousands of evaluations. Results show that human and LLM judges are vulnerable to perturbations to various degrees, and that even the cutting-edge judges possess considerable biases. We further exploit these biases to conduct attacks on LLM judges. We hope that our work can notify the community of the bias and vulnerability of human- and LLM-as-a-judge, as well as the urgency of developing robust evaluation systems.
[ -0.2685920000076294, -0.32099097967147827, 0.5590820908546448, 0.19491681456565857, 0.01629875786602497, -0.012953056022524834, -0.29421234130859375, -0.5734584927558899, 0.009366778656840324, 0.7344855666160583, -0.47768139839172363, -0.4362432062625885, -0.6577922105789185, 0.1724829524755478, -0.3424689471721649, 0.8682550191879272, 0.36970072984695435, 0.5351881980895996, -0.3861373960971832, -0.13802680373191833, -0.3830936849117279, -0.7409830689430237, -0.0634770616889, -0.4122089445590973, 0.6954444646835327, 0.40755555033683777, 0.8562232851982117, 0.13762037456035614, 0.7424658536911011, 0.0950302705168724, -0.2562463581562042, -0.10145361721515656, -0.32304802536964417, -0.1014934629201889, -0.7302945256233215, -0.7551137804985046, -0.4513304531574249, 0.5160508751869202, 0.26945170760154724, 0.7390682101249695, -0.11079167574644089, 0.3648495674133301, -0.14136815071105957, 0.7614209651947021, -0.890592634677887, -0.18552809953689575, -0.8028678297996521, 0.21867233514785767, -0.33610156178474426, -0.1851610690355301, -0.5335580110549927, -0.3094058632850647, 0.0463281124830246, -0.29735785722732544, 0.1693461686372757, 0.20545397698879242, 0.7340618371963501, 0.2272006720304489, -0.42126062512397766, -0.0946958065032959, -0.6238594651222229, 0.8190523386001587, -0.5522675514221191, 0.3010048270225525, 0.4634861946105957, 0.4207213819026947, -0.10833021998405457, -0.2909255921840668, -0.49531444907188416, -0.44955089688301086, -0.23270829021930695, 0.15672768652439117, -0.08652249723672867, -0.12743604183197021, 0.2686540484428406, 0.46605366468429565, -0.16844668984413147, 0.3026149570941925, 0.034562528133392334, -0.1917746365070343, 0.8576825857162476, -0.0003102171467617154, 0.19224093854427338, -0.5171337127685547, -0.4421577751636505, -0.04701610282063484, -0.7759989500045776, -0.3201729953289032, 0.561336874961853, 0.5434121489524841, 0.12558023631572723, 0.5060398578643799, -0.05519820749759674, 0.3866836130619049, -0.11977919936180115, -0.0690014511346817, 0.07583664357662201, -0.010550115257501602, -0.22078970074653625, -0.2900175154209137, 0.818108320236206, 0.703736424446106, 0.4257807433605194, -0.4002631604671478, -0.3132816255092621, 0.32794812321662903, 0.5580771565437317, -0.4190562963485718, 0.19742196798324585, -0.06267476081848145, -0.5288713574409485, -0.844322681427002, 0.43438318371772766, -1.2431859970092773, -0.902890682220459, -0.19348806142807007, 0.5063605904579163, 0.024447046220302582, -0.23573821783065796, -0.08674865961074829, -0.06994001567363739, 0.38293641805648804, 0.4215903878211975, -0.7267746329307556, 0.548439085483551, 0.6189923882484436, 0.34064099192619324, -0.2123211920261383, -0.2967487871646881, -0.4659729599952698, -0.1197783574461937, -0.2849619388580322, 0.6304503083229065, -0.566361665725708, -0.5585209131240845, 0.0074012973345816135, -0.22371359169483185, 0.09868228435516357, -0.6592667102813721, 1.0362368822097778, -0.6945710182189941, 0.0799952819943428, -0.6188009977340698, -0.2819204032421112, -0.02744223363697529, 0.24407917261123657, -0.6012917160987854, 0.8209996819496155, 0.03452380746603012, -1.011689305305481, 0.7764265537261963, -0.796085000038147, -0.2339322566986084, -0.0431777648627758, -0.49685367941856384, -0.35208064317703247, 0.08379373699426651, 0.4677758812904358, 0.16889405250549316, -0.3850647807121277, 0.42880454659461975, -0.5079408288002014, -0.4037344753742218, 0.26649603247642517, -0.5459641218185425, 0.7281319499015808, 0.22969160974025726, -0.491430401802063, 0.29637542366981506, -0.7063905596733093, -0.2733469605445862, 0.18982939422130585, -0.38307344913482666, -0.1046038344502449, 0.31619879603385925, 0.3133990466594696, 0.10518548637628555, -0.19821476936340332, -0.31092891097068787, 0.07966851443052292, -0.21641956269741058, 0.46419528126716614, 1.0670539140701294, -0.059889789670705795, 0.3897720277309418, -0.5072612166404724, 0.41502586007118225, -0.06863803416490555, 0.1962815672159195, -0.14951638877391815, -0.27521759271621704, -0.7205256819725037, 0.036051008850336075, 0.4385772943496704, 0.5024027824401855, -0.19605976343154907, 0.38406333327293396, -0.4194034934043884, -0.616627037525177, -0.49366697669029236, 0.15026789903640747, 0.2804916501045227, 0.3623197376728058, 0.12490807473659515, -0.5623063445091248, -0.4048800468444824, -1.1103718280792236, -1.010711431503296, -0.40161603689193726, -0.07572515308856964, 0.48023760318756104, 0.6800407767295837, -0.34697672724723816, 1.3205180168151855, -0.00013144810509402305, -0.18359486758708954, 0.09861254692077637, -0.026196034625172615, 0.07926326245069504, 0.43130114674568176, 0.7333418130874634, -0.804108202457428, 0.19018931686878204, -0.31560617685317993, -0.6709378361701965, -0.30913543701171875, 0.11713298410177231, -0.40255358815193176, 0.04737177863717079, 0.1284080296754837, -0.5416873693466187, 0.5983986854553223, 0.09984472393989563, -0.577139139175415, 1.0191550254821777, 0.3468773663043976, 0.2240283489227295, -0.6086347699165344, 0.13958203792572021, 0.19769741594791412, -0.35064321756362915, -0.3926744759082794, 0.4115079641342163, -0.04607861861586571, 0.2677437663078308, -0.3620314598083496, 0.5023443102836609, -0.25117772817611694, -0.3391243815422058, -0.11298947781324387, 0.1784086972475052, 0.031972549855709076, 0.21130242943763733, -0.10551774501800537, 0.49600404500961304, 0.257710725069046, -0.5438287258148193, 0.2853223979473114, 0.2663690745830536, -0.38703832030296326, 0.8680115342140198, -0.17086070775985718, 0.3860096335411072, -0.12845343351364136, 0.33060818910598755, -0.631625235080719, -0.42192181944847107, 0.41261324286460876, -0.3661287724971771, 0.160060852766037, -0.28922685980796814, -0.7614971399307251, -0.5875080227851868, -0.4857126772403717, 0.09269071370363235, 0.23803313076496124, -0.678112268447876, 0.5631815195083618, 0.33146369457244873, 0.18012289702892303, -0.6147716641426086, -0.7895317077636719, 0.4826352298259735, -0.5133728981018066, -0.6873847842216492, 0.15086360275745392, 0.014981408603489399, -0.8832492828369141, -0.2832677960395813, -0.10427172482013702, 0.1825062334537506, 0.3819165527820587, 0.3894445300102234, 0.0703616812825203, -0.010182521305978298, 0.1480511575937271, -0.4872111678123474, 0.20605534315109253, 0.3095235526561737, -0.08072818070650101, 0.28356894850730896, -0.15886349976062775, -0.8282151818275452, -0.4426268935203552, 0.08648504316806793, 0.7101529240608215, -0.14779651165008545, 0.4045807421207428, 0.22559992969036102, -0.34552332758903503, -0.0037564849480986595, -0.9454371333122253, -0.28753945231437683, -0.36282265186309814, 0.35088610649108887, -0.1894446164369583, -0.7211301326751709, 0.2503339350223541, 0.014269416220486164, 0.19320587813854218, 0.6098446249961853, 0.8183781504631042, -0.03671567142009735, 0.5266465544700623, 0.6841594576835632, -0.49147093296051025, 0.3999461829662323, 0.10362192988395691, -0.1810338944196701, -0.7073746919631958, -0.20941178500652313, -0.5721404552459717, -0.42351529002189636, -0.4480075240135193, -0.5012462139129639, 0.0066184988245368, 0.14717616140842438, -0.3184526562690735, -0.14461977779865265, -0.3400115966796875, 0.3380758762359619, 0.5223548412322998, 0.18183648586273193, 0.5392584800720215, -0.04237820580601692, -0.3358777165412903, -0.12924708425998688, -0.3694799244403839, -1.1937934160232544, 1.412057638168335, 0.6058059334754944, 0.8519580364227295, 0.18187084794044495, 0.4033990204334259, 0.6569769978523254, 0.6475653648376465, -0.6544228792190552, 0.41065821051597595, 0.18581292033195496, -0.8592246770858765, -0.0009058584691956639, -0.3088480532169342, -0.4145868718624115, 0.7225779294967651, -0.18806840479373932, -0.9440586566925049, 0.34303081035614014, -0.01648864336311817, -0.2652565538883209, 0.4771312475204468, -0.5630273818969727, 0.5814808011054993, -0.6198881268501282, -0.5586226582527161, -0.15042202174663544, -0.7615100741386414, 0.49080777168273926, -0.04655034467577934, 0.644294798374176, -0.26224812865257263, 0.19478976726531982, 0.8353544473648071, -0.39341530203819275, 1.0410397052764893, -0.3188598155975342, -0.2336426079273224, 0.09975651651620865, 0.11158669739961624, 0.28425222635269165, 0.235369473695755, -0.27895882725715637, 0.14644794166088104, -0.27952811121940613, -0.22489218413829803, -0.4557417631149292, 0.42753925919532776, -0.84379643201828, -0.7340629696846008, -0.6249833106994629, -0.20836877822875977, -0.6126683950424194, -0.02304430864751339, -0.01990538276731968, -0.16906479001045227, -0.38939061760902405, -0.31147176027297974, 0.21865017712116241, -0.07636581361293793, 0.13476994633674622, 0.7001951336860657, -0.49048206210136414, -0.4166284501552582, 0.37240102887153625, -0.155779629945755, 0.11763990670442581, 0.19195856153964996, 0.13964644074440002, 0.023005411028862, -0.40155932307243347, -0.3467077314853668, 0.13943256437778473, -0.7028886675834656, -0.013602027669548988, -0.30080604553222656, -0.08096282929182053, -0.179284930229187, 0.15418854355812073, -0.26091113686561584, -0.1757148951292038, -0.42367419600486755, -0.13889019191265106, 0.31484052538871765, 0.8373435139656067, 0.12364077568054199, 0.41898030042648315, -0.32902291417121887, 0.18302810192108154, 0.45616066455841064, 0.5301811695098877, 0.021763306111097336, -0.6016858220100403, 0.14596541225910187, 0.0791572630405426, -0.5894132256507874, -0.8895982503890991, 0.021834028884768486, -0.056987106800079346, 0.7482017874717712, 0.7117716670036316, -0.22224898636341095, 0.6036027073860168, -0.6051338315010071, 0.7419885993003845, 0.03868098184466362, -0.9260438084602356, 0.6657231450080872, -0.32432347536087036, -0.24356432259082794, 0.6987791061401367, -0.015333937481045723, -0.6702598333358765, -0.3909966051578522, -0.5468292832374573, -0.6883189082145691, 1.0080925226211548, 0.19288593530654907, 0.12779036164283752, 0.1013757586479187, 0.5698128342628479, 0.2437160760164261, 0.4718768298625946, -0.8989812731742859, -0.07716947793960571, 0.006130648776888847, 0.2980465590953827, -0.04594862461090088, -0.6021668910980225, -0.33044788241386414, -0.18769513070583344, 0.5184980034828186, -0.06356190145015717, 0.05264006182551384, 0.3565642535686493, -0.4614066183567047, -0.30035409331321716, 0.5368445515632629, 0.37066373229026794, 0.7650138139724731, -0.29287996888160706, 0.23035915195941925, 0.12471704185009003, -0.19822777807712555, 0.006594697013497353, -0.30411213636398315, -0.23659855127334595, -0.20833539962768555, 0.5307970643043518, 0.7330390214920044, 0.36306849122047424, -0.8415099382400513, 0.6229282021522522, 0.09368400275707245, -0.14483670890331268, -0.3261268138885498, -0.16998498141765594, 0.14531442523002625, 0.23378391563892365, 0.4927557110786438, 0.3813364803791046, 0.026027262210845947, -0.611146867275238, 0.3533368706703186, 0.4722197353839874, -0.5361059904098511, -0.3244383931159973, 0.8624135851860046, 0.2265302687883377, -0.2451404482126236, 0.30798059701919556, -0.0982329249382019, -0.6018256545066833, 0.2456243485212326, 0.11271286010742188, 0.7475411295890808, 0.07975272834300995, -0.088142991065979, -0.09017135202884674, 0.5986692905426025, -0.245645210146904, 0.07341497391462326, 0.030089860782027245, -0.8823321461677551, -0.09448911994695663, -0.9284101128578186, -0.5948286652565002, -0.002131891902536154, -0.6800854206085205, 0.39757317304611206, -0.5164898633956909, -0.519808828830719, -0.17431548237800598, -0.00038758089067414403, -0.5829891562461853, 0.06963303685188293, 0.5734382271766663, 1.1986653804779053, -0.7630460262298584, 0.2742319405078888, 0.7976173162460327, -0.411045640707016, -0.34429657459259033, 0.38398319482803345, 0.29842889308929443, -0.6533781886100769, 0.7765326499938965, 0.2429107129573822, -0.04828447848558426, -0.5791308879852295, -0.5937281250953674, -0.5166872143745422, 1.0407564640045166, 0.6831591725349426, -0.703157901763916, -0.08861102163791656, 0.07362096756696701, 0.43989208340644836, -0.36461567878723145, 0.5661776065826416, 0.9791191816329956, 0.7283002138137817, -0.0227371659129858, -1.1639291048049927, -0.1956930309534073, -0.2591782212257385, 0.15177232027053833, -0.40781930088996887, -0.9310713410377502, 0.6854044198989868, -0.16315367817878723, -0.07972662895917892, 0.05596930906176567, 0.5146109461784363, 0.337891161441803, 0.23218117654323578, 0.508053719997406, 0.7383536696434021, 0.8426277041435242, -0.1665097326040268, 0.986995279788971, -0.044975824654102325, 0.47562476992607117, 1.00898277759552, -0.5565212368965149, 0.7021053433418274, 0.5653396248817444, -0.7530808448791504, 0.4900769293308258, 0.7405082583427429, -0.3102978765964508, 0.27656567096710205, 0.6799951791763306, -0.11671040952205658, -0.3206707537174225, -0.04169773310422897, -0.008398215286433697, 0.5128828883171082, 0.1844334751367569, -0.5240895748138428, -0.35331735014915466, -0.19002777338027954, 0.1477181613445282, 0.4321609139442444, -0.5388236045837402, 0.5002723932266235, 0.24272237718105316, -0.3631064295768738, 0.01775675266981125, 0.42165178060531616, 1.061627984046936, -0.1906522959470749, 0.2662602663040161, 0.007559105288237333, -0.016462186351418495, -0.5366611480712891, -0.42733877897262573, 0.11873020976781845, 0.33551740646362305, -0.35361358523368835, -0.05848746374249458, 0.6835050582885742, 0.25966677069664, -0.7595909237861633, 0.5266625881195068, 0.5939027070999146, 0.1611459106206894, -0.28910407423973083, -0.584185004234314, -0.01270360592752695, -0.20598500967025757, -0.38832736015319824, 0.27152878046035767, 0.11039010435342789, -0.425346702337265, 0.8311237096786499, 0.5192856192588806, 0.21249784529209137, 0.16533030569553375, 0.5777167677879333, 0.8000422120094299, -0.9096795320510864, -0.3437446057796478, -1.191311240196228, 0.16132323443889618, -0.07860977947711945, 0.004344416782259941, 0.6772003173828125, 0.5550258159637451, 0.5662815570831299, 0.09616050124168396, 0.8705582618713379, 0.12980450689792633, 0.6599658727645874, -0.3298438489437103, 1.1361122131347656, -0.45883849263191223, 0.526900589466095, -0.5959809422492981, -0.7443305850028992, -0.29320308566093445, 0.5193142890930176, -0.48813948035240173, 0.5018566846847534, 0.2306610345840454, 0.6404504776000977, 0.1474246382713318, 0.22567158937454224, 0.23452891409397125, 0.2455541342496872, 0.37656670808792114, 0.3008863627910614, 1.0461156368255615, -0.20461268723011017, 0.28526052832603455, -0.035827696323394775, -0.166206955909729, -0.5705960392951965, -0.8141613602638245, -0.9099686741828918, 0.18437722325325012, -0.09635496884584427, -0.10511381179094315, -0.0048200939781963825, 0.9387190937995911, 0.6356340646743774, -0.8164770007133484, -0.3461751341819763, 0.05378681793808937, 0.23885685205459595, 0.04429146274924278, -0.27870482206344604, 0.23632977902889252, -0.2471269816160202, -0.5769855976104736, 0.308578222990036, 0.15863142907619476, -0.37040212750434875, -0.5586324334144592, -0.09154253453016281, -0.01876591518521309, 0.041399892419576645, 0.4081123173236847, -0.21131253242492676, -1.14234459400177, -0.46654659509658813, -0.46720197796821594, -0.09753461182117462, 0.182630255818367, 0.6536844372749329, -0.8950368165969849, 0.3278379440307617, -0.16700045764446259, 0.3943564295768738, -0.006536864675581455, 0.2454279214143753, 0.4667360484600067, -0.5751169919967651, 0.04937908425927162, 0.4378146231174469, 0.45662686228752136, 0.3814220130443573, -0.18697725236415863, 0.44726645946502686, 0.5730288028717041, -0.37883880734443665, -1.0126755237579346, 0.2891857922077179, -0.883787214756012, -0.01188116054981947, 1.1865627765655518, 0.13068993389606476, -0.21685689687728882, 0.23357784748077393, -0.13607989251613617, -0.17486010491847992, -0.35786378383636475, 0.9100843667984009, 1.0846854448318481, 0.018027065321803093, 0.2000589221715927, -0.7663881778717041, 0.2793167233467102, 0.4079882800579071, -0.6891949772834778, 0.14541059732437134, 0.3374561667442322, 0.5928747653961182, 0.2839454114437103, 0.5233269333839417, -0.5764672756195068, 0.26155924797058105, -0.11524579674005508, 0.3533940315246582, 0.1779937595129013, -0.043601542711257935, -0.5016215443611145, 0.11478705704212189, 0.4147619903087616, 0.2645604908466339 ]
http://arxiv.org/abs/2402.10666v2
http://arxiv.org/pdf/2402.10666v2
Multi-Hop Table Retrieval for Open-Domain Text-to-SQL
2024-02-16T13:14:35
2024-06-19T15:19:16
Xuanliang Zhang, Dingzirui Wang, Longxu Dou, Qingfu Zhu, Wanxiang Che
cs.CL
cs.CL
Open-domain text-to-SQL is an important task that retrieves question-relevant tables from massive databases and then generates SQL. However, existing retrieval methods that retrieve in a single hop do not pay attention to the text-to-SQL challenge of schema linking, which is aligning the entities in the question with table entities, reflected in two aspects: similar irrelevant entity and domain mismatch entity. Therefore, we propose our method, the multi-hop table retrieval with rewrite and beam search (Murre). To reduce the effect of the similar irrelevant entity, our method focuses on unretrieved entities at each hop and considers the low-ranked tables by beam search. To alleviate the limitation of domain mismatch entity, Murre rewrites the question based on retrieved tables in multiple hops, decreasing the domain gap with relevant tables. We conduct experiments on SpiderUnion and BirdUnion+, reaching new state-of-the-art results with an average improvement of 6.38%.
[ -0.24922943115234375, -1.1429728269577026, 0.5902547836303711, -0.006424219347536564, -0.14403767883777618, 0.03932346776127815, 0.21426662802696228, -0.4628235995769501, 0.5678257346153259, 0.526696503162384, -0.4468923807144165, -0.2699538767337799, -0.4286820590496063, 0.08052680641412735, -0.24828249216079712, 0.9818808436393738, 0.12098705768585205, -0.1720917522907257, -0.09912007302045822, -0.31535160541534424, -0.42311930656433105, -0.4527870714664459, -0.5019157528877258, -0.06951815634965897, 0.6671510338783264, 0.5565182566642761, 0.899503231048584, 0.531093418598175, 0.8376359343528748, 0.16856780648231506, -0.2178579419851303, 0.30711856484413147, -0.4691672623157501, 0.28536781668663025, -0.43964579701423645, -0.15132059156894684, -0.811464786529541, -0.20135337114334106, 0.6670207381248474, 0.9194144606590271, -0.08776048570871353, 0.08924556523561478, -0.034072063863277435, 1.0145553350448608, -0.7413910627365112, 0.06658408045768738, -0.788265585899353, 0.04668324440717697, -0.7276994585990906, -0.6038103103637695, -0.7158674001693726, -0.35832616686820984, 0.05298401415348053, -0.6595371961593628, 0.36102092266082764, 0.6218846440315247, 0.6106219291687012, 0.028427397832274437, -0.9394851326942444, -0.13080082833766937, -0.7001874446868896, 0.3818623125553131, -0.2834581434726715, 0.8233824372291565, 0.10110044479370117, 0.2577988803386688, -0.5645728707313538, -0.7868781089782715, -0.43066301941871643, -0.13344992697238922, -0.39689019322395325, 0.020573092624545097, -0.017061619088053703, -0.1976633369922638, 0.2513912320137024, 0.2528280019760132, -0.9466062188148499, -0.4108591079711914, -0.3080606162548065, -0.25513404607772827, 0.49207621812820435, 0.1205017939209938, -0.14336657524108887, -0.0353529155254364, -0.6044104099273682, -0.141544371843338, -0.7380568385124207, -0.2327549010515213, 0.010554159991443157, 0.7224676609039307, 0.5395022630691528, 0.8036596775054932, -0.3608866333961487, 0.7812007069587708, -0.09335155040025711, 0.056495871394872665, 0.41739657521247864, -0.5400506854057312, -0.02144213393330574, -0.023697378113865852, 0.6028913259506226, 0.024487050250172615, -0.08732033520936966, -0.44195982813835144, 0.16619135439395905, -0.23343007266521454, 0.20599982142448425, -0.5772569179534912, -0.010707913897931576, 0.2312447726726532, -0.6591510772705078, 0.09678508341312408, 0.023109324276447296, -1.1397289037704468, -0.2816910445690155, 0.08212211728096008, 0.6542119979858398, -0.5664393305778503, -0.3143426179885864, -0.1629570722579956, -0.21693478524684906, 0.13699981570243835, 0.4127494692802429, -0.49579906463623047, 0.19708071649074554, 0.5859308242797852, 1.0236071348190308, -0.3824761211872101, -0.6780080199241638, -0.948719322681427, 0.5340531468391418, -0.2523784339427948, 0.8887868523597717, -0.525191068649292, -0.44386738538742065, -0.09910466521978378, -0.02546023763716221, -0.3124682903289795, -0.3728792369365692, 0.5924721360206604, -0.8056581616401672, 0.13896729052066803, -0.07753225415945053, -0.649208664894104, 0.04785802960395813, 0.06173316016793251, -0.8692516684532166, 0.7115430235862732, 0.022062961012125015, -0.8831208348274231, 0.4363224506378174, -0.8217423558235168, -0.7239798307418823, 0.07742149382829666, -0.10260003805160522, -0.5939558744430542, 0.10749486088752747, 0.18619845807552338, 0.13464079797267914, -0.23549818992614746, 0.053539786487817764, -0.34019047021865845, -0.3403306305408478, -0.29781392216682434, -0.17472432553768158, 0.6074916124343872, 0.22028830647468567, -0.11088591814041138, -0.049993887543678284, -0.5572783946990967, 0.19592136144638062, 0.3622364401817322, -0.6338509321212769, -0.5262342691421509, 0.2567657232284546, -0.15847115218639374, 0.13803301751613617, -0.11638136208057404, -0.6150593161582947, 0.46338021755218506, -0.2937897741794586, 0.04518771544098854, 0.26624011993408203, 0.12329090386629105, 0.4897692799568176, -0.43928518891334534, 0.18810681998729706, 0.1895407885313034, 0.03138919174671173, -0.2334163784980774, -0.6086112260818481, -0.4651152789592743, -0.07716811448335648, -0.016245253384113312, 0.33829522132873535, -0.7305437326431274, -0.07602148503065109, -0.39688795804977417, -0.5224024653434753, -0.5873250961303711, -0.34280747175216675, 0.3125835359096527, 0.5649386048316956, 0.9095920920372009, -0.15242710709571838, -0.19262458384037018, -0.6756945252418518, -0.6745365262031555, 0.14723756909370422, 0.2242601066827774, 0.47869089245796204, 0.5519145131111145, -0.04813738539814949, 0.7972317337989807, -0.7590625882148743, -0.7231935858726501, 0.169475719332695, 0.0006403591833077371, 0.22302544116973877, 0.47551608085632324, 0.4271155893802643, -0.9016906023025513, -0.680466890335083, 0.005813452415168285, -0.5276086926460266, 0.4991675615310669, 0.11591919511556625, -0.35825294256210327, 0.3257637917995453, 0.6041152477264404, -0.8480423092842102, 0.5203474760055542, 0.14411406219005585, -0.5105910301208496, 0.5284445881843567, -0.05058685317635536, 0.644128143787384, -0.9417627453804016, 0.31278523802757263, -0.4629993438720703, -0.1292937844991684, -0.6983834505081177, 0.26397624611854553, 0.3041655421257019, -0.43308258056640625, -0.5547046065330505, 0.31848594546318054, -0.6699369549751282, -0.10370948165655136, -0.01802315004169941, 0.5990742444992065, 0.13475704193115234, 0.4152003228664398, 0.057931866496801376, 0.9431759119033813, 0.47846728563308716, -0.7777284979820251, 0.25083157420158386, 0.7263525128364563, 0.026869580149650574, 0.7282204627990723, -0.40814799070358276, 0.35890552401542664, -0.14905598759651184, 0.43089932203292847, -0.9264760613441467, -0.10831570625305176, 0.22631563246250153, -0.5191489458084106, 0.34763675928115845, -0.35511061549186707, -0.2145785391330719, -0.29451805353164673, -0.3415678143501282, 0.5186668634414673, -0.25894272327423096, -0.6816681027412415, 0.6858931183815002, 0.2364571988582611, 0.04040927067399025, -0.9441962838172913, -0.5662295818328857, 0.05015246197581291, -0.07071416825056076, -0.6970954537391663, 0.7035285830497742, 0.04982653632760048, 0.12932226061820984, -0.00016732355288695544, -0.3347422182559967, -0.1426190286874771, -0.24484142661094666, -0.08616214990615845, 0.25697052478790283, -0.3564087152481079, 0.2828771471977234, 0.08138244599103928, -0.24478685855865479, -0.1915023922920227, -0.3618461489677429, 0.6150887608528137, -0.07123357057571411, -0.5221152305603027, -0.15444554388523102, 0.8318942189216614, 0.5821998715400696, -0.7267233729362488, 0.9657769203186035, 0.16658280789852142, -0.25979140400886536, -0.06927528232336044, -0.36876991391181946, -0.2534131109714508, -0.4041748642921448, 0.4222010672092438, -0.8830826282501221, -1.0255961418151855, 0.1947891265153885, -0.28458118438720703, 0.08215630054473877, 0.5822440385818481, 0.1963498741388321, -0.12241644412279129, 0.6544013023376465, 0.5804940462112427, 0.08432243019342422, 0.13329370319843292, 0.018616829067468643, 0.46859270334243774, -0.8162180781364441, -0.39770612120628357, -1.077860951423645, -0.032040830701589584, -0.4480644166469574, -0.4027027487754822, 0.28718051314353943, -0.06119865924119949, -0.301114946603775, 0.8362157344818115, -0.5530909895896912, 0.460618793964386, 0.6037291884422302, 0.060588590800762177, 0.872826874256134, 0.022308915853500366, -0.35100263357162476, -0.050729215145111084, -0.5527347326278687, 0.08118537068367004, 1.1243730783462524, -0.2109314203262329, 0.9785958528518677, 0.53464275598526, 0.6354684233665466, 0.26757359504699707, 0.045989491045475006, -0.5511690378189087, 0.3639322817325592, 0.13140124082565308, -1.0795824527740479, -0.5101359486579895, -0.8291630148887634, -1.0280587673187256, 0.6814707517623901, -0.3108042776584625, -0.735995352268219, 0.1409081369638443, 0.14150021970272064, 0.13106638193130493, 0.4039573073387146, -0.5495441555976868, 0.9294329881668091, -0.05289212614297867, -0.30111414194107056, -0.3106408417224884, -0.8204036951065063, 0.38731080293655396, -0.33349964022636414, 0.15209773182868958, 0.009298838675022125, 0.09660368412733078, 0.54958575963974, -0.42203283309936523, -0.0364045687019825, -0.06358909606933594, 0.1603962928056717, 0.1907208263874054, 0.48702624440193176, 0.6895677447319031, -0.017702016979455948, -0.2240528166294098, 0.152786523103714, -0.10812616348266602, -0.22262130677700043, -0.4648764133453369, 0.6656965613365173, -0.2697829306125641, -0.4935514032840729, -0.693403959274292, -0.47462907433509827, -0.2611214220523834, 0.5487980842590332, 0.14982064068317413, 0.1699381023645401, -0.20107510685920715, 0.40818077325820923, 0.383165568113327, 0.05950230732560158, 0.3058326244354248, 0.6511461734771729, -0.3020777106285095, -0.18686269223690033, 0.5608484148979187, -0.0012168079847469926, 0.28873172402381897, 0.698928952217102, -0.08444379270076752, -0.5242258906364441, -0.2815956175327301, -0.49375298619270325, 0.43942269682884216, -0.38631170988082886, -0.6626105308532715, -0.6613456010818481, -0.04390124976634979, -0.5217611193656921, 0.01703675091266632, -0.5692344903945923, -0.48981112241744995, 0.05786941945552826, 0.21102385222911835, 0.3448520302772522, 0.2508549094200134, 0.21006114780902863, 0.23355750739574432, -0.9918765425682068, 0.24563825130462646, -0.18456442654132843, 0.7733592987060547, 0.13255269825458527, -0.5194602608680725, -0.23342521488666534, -0.17319822311401367, -0.44629430770874023, -1.1229890584945679, -0.0397738516330719, 0.5826413035392761, 0.5805128216743469, 0.24085313081741333, 0.22885289788246155, 0.8967167735099792, -0.9038599133491516, 0.2553110122680664, 0.19891133904457092, -0.9396011829376221, 0.881926953792572, -0.14102977514266968, -0.186226487159729, 0.5620344281196594, 0.7725344896316528, -0.564488410949707, -0.2518073320388794, -0.4330718517303467, -0.8257666230201721, 0.9121310710906982, 0.5180047154426575, -0.3547939956188202, 0.05068822205066681, 0.37353211641311646, -0.0855257511138916, 0.1530442237854004, -0.6662198305130005, -0.57474285364151, 0.07209856808185577, 0.5116434097290039, 0.12367869913578033, -0.06930933892726898, 0.06136494129896164, 0.16501390933990479, 0.6257672905921936, -0.07343120127916336, 0.4630826413631439, 0.26600563526153564, -0.14217166602611542, -0.38638249039649963, 0.3166993260383606, 0.05351864546537399, 0.5979259610176086, -0.4281054139137268, -0.04229419678449631, 0.022216016426682472, -0.34790438413619995, 0.10030240565538406, 0.16928386688232422, -0.16572825610637665, 0.21112476289272308, 0.22666007280349731, 0.31971028447151184, -0.19295237958431244, -0.4175122380256653, 0.6222003698348999, -0.007736604660749435, -0.18793241679668427, 0.1626070886850357, 0.04234813526272774, 0.16764448583126068, 0.23076751828193665, 0.5063449144363403, 0.24196214973926544, 0.33857595920562744, -0.5559558868408203, 0.689215362071991, 0.6569654941558838, -0.3213769495487213, 0.21846523880958557, 1.0168101787567139, 0.08779506385326385, -0.6225453615188599, 0.8340043425559998, -0.08882603794336319, -0.1241123303771019, 0.18239320814609528, 0.827678382396698, 0.4794389605522156, -0.4607115685939789, -0.006508507300168276, 0.42214491963386536, 0.40817990899086, 0.13519282639026642, 0.32309508323669434, 0.1364530473947525, -0.4789874255657196, -0.4328382611274719, -0.38235700130462646, -0.47702181339263916, -0.21492427587509155, -0.5136789679527283, 0.3233356177806854, 0.06247812882065773, -0.18912243843078613, 0.14502424001693726, -0.10672055929899216, -0.20871257781982422, -0.09106282889842987, -0.43554311990737915, 1.0795038938522339, -0.5747134685516357, 0.7903602719306946, 0.5483044385910034, -0.7074618935585022, -0.7726794481277466, 0.016426654532551765, 0.14759306609630585, -0.2939154803752899, 0.2543337643146515, -0.09983901679515839, -0.26616722345352173, 0.04531098157167435, -0.1198497861623764, -1.1172488927841187, 1.0417271852493286, 0.17905117571353912, -0.2780224680900574, -0.09476857632398605, 0.18941840529441833, 0.22226950526237488, -0.2348480224609375, 0.34795814752578735, 0.5398898124694824, 0.42612022161483765, 0.10614252090454102, -1.0085182189941406, 0.06529676914215088, -0.022571370005607605, -0.12522010505199432, 0.7659435272216797, -0.7004169225692749, 1.016233205795288, -0.32171931862831116, -0.2838655710220337, -0.25862398743629456, 0.8739979863166809, 0.30276861786842346, 0.5474923849105835, 0.46403729915618896, 0.451339453458786, 0.6755667924880981, -0.08210135251283646, 0.5387088060379028, 0.015633072704076767, 0.8415448069572449, 1.3176301717758179, -0.6759219169616699, 1.0171502828598022, 0.6141396760940552, -0.3309980034828186, 0.1341814398765564, 0.2460089474916458, 0.176408052444458, 0.6315916776657104, 0.02041984349489212, 0.038615066558122635, 0.10465334355831146, 0.12631358206272125, -0.6197927594184875, 0.47137686610221863, 0.1498420685529709, 0.023289619013667107, -0.7237840294837952, -0.07275567203760147, 0.15775726735591888, -0.09455461800098419, -0.05149522051215172, 0.5794447064399719, -0.10341141372919083, -0.5284006595611572, 0.2848981022834778, 0.07328617572784424, 0.40677282214164734, -0.6907824873924255, -0.11675106734037399, -0.5114935040473938, 0.2684953510761261, -0.32692521810531616, -0.5888617634773254, 0.6059712767601013, -0.3075878918170929, -0.05373600125312805, 0.2099539339542389, 0.6556223630905151, -0.444888710975647, 0.05291172116994858, 0.6506443023681641, 0.835660457611084, 0.2956082820892334, -0.5013840794563293, -0.6149642467498779, -0.1989833116531372, 0.06399808079004288, -0.4204150438308716, 0.22566010057926178, 0.517919659614563, 0.03976645693182945, 0.685498058795929, 0.69511479139328, -0.13252244889736176, 0.1590793877840042, -0.10633552074432373, 0.947917640209198, -0.7054725885391235, -0.33883318305015564, -0.6321461796760559, 0.251743346452713, -0.029200850054621696, -0.3083895146846771, 0.6837224960327148, 1.180993914604187, 0.8027448654174805, -0.24913950264453888, 0.2482711523771286, -0.32838138937950134, 0.8437362909317017, -0.33853667974472046, 0.762721598148346, -0.9773398041725159, -0.04238343611359596, -0.6251236796379089, -1.3729326725006104, -0.5319216251373291, 0.44749915599823, 0.38375648856163025, -0.054294403642416, 1.2219502925872803, 0.9909117221832275, -0.2958438992500305, 0.06720593571662903, 0.2250414490699768, 0.013722722418606281, 0.5036476254463196, 0.5799127221107483, 0.5658809542655945, -0.7386091947555542, 1.0914217233657837, 0.09150290489196777, -0.2085672914981842, -0.5150877833366394, -0.6812848448753357, -0.46251413226127625, -0.5790190696716309, -0.2474208027124405, -0.5386717319488525, 0.1303318589925766, 0.735053300857544, 0.4821299910545349, -0.7623438239097595, -0.1462126523256302, 0.24613580107688904, 0.21739396452903748, -0.4558406174182892, -0.18563023209571838, 0.8574004173278809, -0.504788875579834, -0.49423858523368835, 0.6017683148384094, 0.604069173336029, -0.26514747738838196, 0.34905096888542175, 0.0952405110001564, -0.863163411617279, -0.11717000603675842, 0.6720108985900879, 0.08611219376325607, -0.28891512751579285, -0.4185909330844879, 0.17310312390327454, -0.1812872588634491, 0.283647745847702, 0.960939347743988, -0.6664851307868958, 0.1511823683977127, 0.3940989077091217, 0.6580715179443359, 0.7457168698310852, 0.13269631564617157, -0.02741914801299572, -0.7367568612098694, -0.11086253821849823, 0.37616124749183655, 0.369650661945343, -0.1495089828968048, -0.3034929037094116, 0.8269568085670471, 0.4104265570640564, -0.7801966071128845, -0.4170033633708954, 0.36283424496650696, -0.936865508556366, -0.27686354517936707, 0.6689490675926208, 0.07247796654701233, 0.026413025334477425, -0.29222622513771057, -0.14677543938159943, 0.22438964247703552, -0.2428743988275528, 0.4905797243118286, 0.3639821410179138, -0.43379664421081543, 0.17131029069423676, -0.3615432679653168, 0.44448015093803406, 0.4251540005207062, -0.7403050661087036, 0.3368934392929077, 0.5708023905754089, 0.04163222759962082, 0.3683469593524933, 0.8829047083854675, -0.24520444869995117, 0.19040663540363312, 0.24566669762134552, -0.15854637324810028, -0.020526140928268433, -0.7569981813430786, 0.24061961472034454, 0.36111170053482056, -0.15938052535057068, -0.30848896503448486 ]
http://arxiv.org/abs/2402.10663v3
http://arxiv.org/pdf/2402.10663v3
Improving Demonstration Diversity by Human-Free Fusing for Text-to-SQL
2024-02-16T13:13:18
2024-06-26T06:54:35
Dingzirui Wang, Longxu Dou, Xuanliang Zhang, Qingfu Zhu, Wanxiang Che
cs.CL
cs.CL
Currently, the in-context learning method based on large language models (LLMs) has become the mainstream of text-to-SQL research. Previous works have discussed how to select demonstrations related to the user question from a human-labeled demonstration pool. However, human labeling suffers from the limitations of insufficient diversity and high labeling overhead. Therefore, in this paper, we discuss how to measure and improve the diversity of the demonstrations for text-to-SQL. We present a metric to measure the diversity of the demonstrations and analyze the insufficient of the existing labeled data by experiments. Based on the above discovery, we propose fusing iteratively for demonstrations (Fused) to build a high-diversity demonstration pool through human-free multiple-iteration synthesis, improving diversity and lowering label cost. Our method achieves an average improvement of 3.2% and 5.0% with and without human labeling on several mainstream datasets, which proves the effectiveness of Fused.
[ -0.6091143488883972, -0.5729816555976868, -0.03841790184378624, 0.3701576888561249, -0.4020213484764099, 0.2617415189743042, -0.29052793979644775, -0.29591208696365356, 0.11193054169416428, 0.33101963996887207, -0.593515932559967, -0.7509853839874268, -0.2667004466056824, 0.18077252805233002, -0.833699643611908, 1.1101092100143433, 0.048603516072034836, -0.23102062940597534, -0.5499566793441772, -0.3785131871700287, -0.4635462164878845, -0.19756823778152466, -0.19455480575561523, -0.2914882302284241, 0.24164564907550812, 0.7745712995529175, 0.43741530179977417, 0.47661834955215454, -0.08248857408761978, 0.3309171497821808, -0.10405901074409485, 0.42898663878440857, -0.7371457815170288, 0.0365445539355278, -0.37345072627067566, -0.3918061852455139, -0.03976985067129135, -0.0074925911612808704, 0.9839499592781067, 0.7935190796852112, 0.06849661469459534, -0.07069410383701324, 0.2592848539352417, 0.633387565612793, -0.5512715578079224, -0.34512656927108765, -0.7326035499572754, 0.048249661922454834, -0.13779965043067932, 0.11381131410598755, -0.5744727849960327, -0.2989793121814728, 0.019673755392432213, -0.37946248054504395, 0.4717305898666382, 0.18829205632209778, 0.5405126810073853, 0.004929716233164072, -0.5637940168380737, 0.18885958194732666, -0.848933219909668, 1.2082525491714478, -0.4162657558917999, 0.3783867359161377, 0.028164518997073174, 0.44147342443466187, -0.28318873047828674, -0.4634106457233429, -0.6083277463912964, -0.11587272584438324, -0.15256166458129883, 0.07031510770320892, -0.12398304045200348, -0.2759571373462677, 0.15361475944519043, 0.4488230347633362, -0.3720719516277313, 0.3042928874492645, -0.21249963343143463, -0.3227428197860718, 1.0493544340133667, 0.21520136296749115, 0.24351319670677185, -0.10923624783754349, -0.6250815391540527, -0.38344722986221313, -0.5359255075454712, -0.10036609321832657, 0.19761234521865845, 0.22971726953983307, -0.08138516545295715, 0.559863269329071, -0.47488903999328613, 0.69417804479599, -0.3307870030403137, -0.029487404972314835, 0.25932905077934265, -0.6759143471717834, -0.3543972671031952, -0.2662353217601776, 0.7721162438392639, 0.2277931272983551, -0.4314921796321869, -0.35177284479141235, -0.07828447222709656, 0.037318192422389984, -0.06582573801279068, -0.773737907409668, -0.13149990141391754, 0.2053040862083435, -0.43956610560417175, -0.027388181537389755, 0.11094647645950317, -1.125970482826233, -0.5233842134475708, -0.0850597470998764, 0.4637914299964905, -0.393665611743927, -0.3506539463996887, -0.20653128623962402, -0.5377840995788574, 0.22933329641819, 0.39950302243232727, -0.6399379372596741, 0.42362505197525024, 0.49832019209861755, 0.6624330878257751, -0.7222108244895935, -0.45265278220176697, -0.3904936909675598, 0.256808340549469, -0.15287476778030396, 0.9598714709281921, -0.07887814939022064, -0.7800405621528625, -0.32399338483810425, -0.1697116643190384, -0.1558353453874588, -0.7857120037078857, 0.29713577032089233, 0.012894777581095695, 0.5165941715240479, -0.34490883350372314, -0.9597128033638, -0.09247181564569473, 0.12454237043857574, -0.5039006471633911, 0.8843873739242554, 0.26622724533081055, -0.4707595705986023, 0.5531942248344421, -0.7299821376800537, -0.5487655997276306, 0.1948375403881073, -0.438952773809433, -0.7209637761116028, -0.10800047963857651, 0.4234217703342438, 0.17579303681850433, -0.3166481852531433, 0.32516562938690186, -0.1534470021724701, -0.8083921074867249, 0.4327097535133362, -0.2757232189178467, 0.8893130421638489, 0.09737115353345871, -0.6526002883911133, 0.5131941437721252, -0.7968227863311768, -0.12721993029117584, -0.0739334225654602, -0.3443832993507385, -0.05666152015328407, 0.22717250883579254, -0.042335547506809235, 0.05765749514102936, -0.36549806594848633, -0.2928379476070404, 0.0930846706032753, -0.7453150153160095, -0.08176161348819733, 0.6174430251121521, 0.11051737517118454, 0.5303077101707458, -0.5284336805343628, 0.33899766206741333, -0.02533767931163311, 0.14098569750785828, -0.1992933303117752, -0.5997989177703857, -0.9235942363739014, -0.6118003726005554, -0.00603890884667635, 0.2741057574748993, -0.6968055367469788, 0.6943299770355225, -0.13207857310771942, -0.48961707949638367, -0.3868088126182556, 0.4569075107574463, 0.2594935894012451, 0.49686965346336365, 0.44590190052986145, -0.33175230026245117, -0.4509313404560089, -0.9497212171554565, -0.519008219242096, -0.05939207226037979, -0.28772953152656555, 0.2819886803627014, 0.5198289155960083, -0.30321264266967773, 1.1664137840270996, -0.1797635406255722, -0.39458712935447693, -0.291969358921051, 0.2790777087211609, 0.07938297092914581, 0.4653351604938507, 0.48836225271224976, -0.625249981880188, -0.4093039631843567, -0.061418987810611725, -0.5255370140075684, 0.15615615248680115, -0.10835476964712143, -0.18012230098247528, 0.31001636385917664, 0.20906122028827667, -0.020495349541306496, 0.4783218801021576, 0.45583322644233704, -0.2808176279067993, 0.3539934456348419, 0.03811322897672653, 0.38999590277671814, -1.0343971252441406, -0.28774312138557434, -0.06256821751594543, 0.11893410235643387, -0.44769880175590515, -0.09263230860233307, 0.05901950225234032, -0.19354771077632904, -0.5973547101020813, 0.531608521938324, -0.5019122958183289, -0.18274880945682526, -0.13836170732975006, 0.3008435070514679, -0.14103995263576508, 0.27316272258758545, -0.143746018409729, 0.8901716470718384, 0.4854719638824463, -0.6523447632789612, 0.43089330196380615, 0.3318628668785095, -0.5549098253250122, 0.5943788886070251, -0.2981717884540558, 0.04649481922388077, -0.016989830881357193, 0.3972850739955902, -1.464266300201416, -0.4605744183063507, -0.12353716045618057, -0.1679868996143341, -0.12698054313659668, 0.12873022258281708, -0.39628440141677856, -0.3768441081047058, -0.6506500840187073, 0.11830418556928635, 0.8108252882957458, -0.9762052893638611, 0.5392692685127258, 0.07811973989009857, 0.17691008746623993, -0.38530564308166504, -0.5155088305473328, 0.17940200865268707, -0.3194565773010254, -0.913486659526825, 0.5816206932067871, -0.07479757815599442, -0.12116378545761108, -0.49099382758140564, -0.06086558848619461, -0.1570180058479309, 0.09759239107370377, 0.1802794486284256, 0.19656603038311005, -0.1014469787478447, 0.4959395229816437, 0.46352094411849976, 0.18120722472667694, -0.1775970458984375, -0.06993651390075684, 0.2454833835363388, -0.06674651801586151, -0.6528940796852112, -0.5635472536087036, 0.6749022603034973, -0.00778220547363162, -0.05272015556693077, 0.7385176420211792, 0.5564187169075012, -0.1901405304670334, -0.45335420966148376, -0.5079296231269836, -0.22670488059520721, -0.5195400714874268, 0.48488810658454895, 0.06737253814935684, -1.0930101871490479, 0.27049335837364197, -0.4226313531398773, 0.35470736026763916, 0.4742787778377533, 0.5038101673126221, -0.24595557153224945, 0.9494224786758423, 0.4147135317325592, 0.15624938905239105, 0.44652867317199707, -0.15024825930595398, -0.08165835589170456, -0.3238484263420105, -0.40394729375839233, -0.8172720074653625, -0.4870341718196869, -0.14284326136112213, -0.6084017157554626, 0.5331941843032837, 0.14646582305431366, -0.16220854222774506, 0.1147504523396492, -0.6104044318199158, 0.6988224387168884, 0.43126145005226135, 0.33554959297180176, 0.5273146033287048, 0.44328054785728455, 0.16946567595005035, -0.25630974769592285, -0.48579171299934387, -0.3087496757507324, 0.8663681149482727, 0.07021734863519669, 0.7288840413093567, 0.2915286719799042, 0.9884728789329529, 0.16218622028827667, 0.6247907280921936, -0.508890688419342, 0.7227086424827576, -0.3047131896018982, -0.4348694682121277, -0.4505649507045746, -0.5338470339775085, -0.8823553323745728, 0.4823746383190155, -0.4800499975681305, -0.8940837979316711, 0.08765178918838501, 0.317465215921402, 0.18430186808109283, 0.16488634049892426, -0.8282252550125122, 0.8400242924690247, -0.28997913002967834, -0.2727336287498474, -0.32605382800102234, -0.4703826308250427, 0.46889954805374146, 0.08993812650442123, 0.3079332113265991, 0.13606886565685272, -0.02484431304037571, 1.016114354133606, -0.4597873389720917, 1.004227638244629, -0.13643254339694977, -0.2706146538257599, 0.41246268153190613, -0.1520027369260788, 0.3974723815917969, -0.25388363003730774, -0.1933489888906479, -0.33055394887924194, -0.7559356689453125, -0.4676510989665985, -0.610323429107666, 0.6930913925170898, -0.5808895826339722, -0.5716124176979065, 0.34917017817497253, -0.573975145816803, -0.5328759551048279, -0.24251976609230042, 0.29223281145095825, 0.11945944279432297, -0.40409016609191895, 0.4881993532180786, 0.7365138530731201, -0.39966216683387756, 0.46779975295066833, 0.10649579018354416, -0.28137293457984924, -0.48604413866996765, 1.1026257276535034, -0.12759333848953247, 0.4647093713283539, 0.2559014856815338, 0.3848873972892761, -0.5364477634429932, -0.4972945749759674, -0.5700806975364685, 0.1518552601337433, -0.8282143473625183, -0.022833064198493958, -0.7938816547393799, 0.16664007306098938, -0.4381040036678314, -0.14154267311096191, -0.1355108767747879, -0.6308737397193909, -0.41375282406806946, -0.09369940310716629, 0.536439061164856, 0.4427700340747833, 0.4402243494987488, 0.644989550113678, -0.644245445728302, 0.22951695322990417, 0.7004666924476624, 0.42988452315330505, 0.03531341999769211, -0.49815183877944946, -0.03824397549033165, -0.031743813306093216, -0.5981661081314087, -1.1291052103042603, 0.039686016738414764, 0.5145248770713806, 0.8103457689285278, 0.32403096556663513, 0.14433696866035461, 0.7762885689735413, 0.15531352162361145, 1.0434887409210205, 0.42725715041160583, -1.2149587869644165, 0.8855744004249573, -0.1706031858921051, -0.04958515614271164, 0.3775990903377533, 0.2740248143672943, -0.24952970445156097, -0.6264402866363525, -0.5457608103752136, -1.0423449277877808, 0.6151049733161926, 0.23568060994148254, 0.08933737874031067, 0.18479104340076447, -0.19051943719387054, 0.4021187424659729, 0.0032251006923615932, -0.7348960638046265, -0.24858374893665314, -0.1587800681591034, -0.13656195998191833, -0.057998642325401306, 0.12306638807058334, -0.38937029242515564, -0.7201500535011292, 0.5890020728111267, -0.2853485941886902, -0.056321706622838974, -0.15302494168281555, -0.1676914244890213, 0.1783524453639984, 0.731726348400116, 0.4194609224796295, 0.5057677030563354, 0.1232711523771286, -0.057097554206848145, 0.5806961059570312, 0.12675102055072784, 0.22740669548511505, -0.035791657865047455, -0.18612737953662872, 0.12578658759593964, 0.24605870246887207, 0.9411754012107849, 0.14371906220912933, -0.8520581722259521, 0.6204982399940491, 0.06866708397865295, -0.34841737151145935, 0.21112218499183655, 0.5777894854545593, 0.31117507815361023, 0.06624352931976318, 0.339732825756073, -0.1741814762353897, 0.21183709800243378, -0.4314643442630768, 0.4393652081489563, 0.5487735271453857, -0.38178279995918274, 0.22980311512947083, 0.5328880548477173, 0.6047739386558533, -0.33978697657585144, 0.7866987586021423, -0.03599381819367409, -0.25884678959846497, 0.6471486687660217, 0.7684787511825562, 0.6450904607772827, -0.17801755666732788, 0.348125159740448, 0.36181458830833435, 0.18394577503204346, -0.18059739470481873, 0.16363441944122314, -0.31306397914886475, -0.4831487834453583, -0.2335190325975418, -0.20696857571601868, -0.5599156618118286, -0.37146246433258057, -0.4528140127658844, 0.5410664677619934, -0.24901069700717926, 0.10404953360557556, -0.09485124796628952, -0.17176103591918945, -0.25513920187950134, 0.16315989196300507, -0.2522035837173462, 0.9419717788696289, -1.174157738685608, 0.6564735770225525, 0.4614851474761963, -0.2631344497203827, -0.5749590396881104, -0.25405699014663696, -0.0661197081208229, -0.3342840373516083, 0.2354596108198166, 0.29766330122947693, 0.07906272262334824, -0.15150508284568787, -0.7809881567955017, -0.1993332803249359, 1.1346898078918457, 0.4565735161304474, -0.47360944747924805, 0.3819580376148224, 0.12492218613624573, 0.4462326467037201, -0.5936224460601807, 0.14117568731307983, 0.499212384223938, 0.36587926745414734, 0.26546698808670044, -0.6275588870048523, -0.07950837165117264, -0.11862258613109589, 0.05470260977745056, 0.17192313075065613, -0.4131501019001007, 0.8157640099525452, -0.37816953659057617, -0.38049426674842834, 0.15221203863620758, 0.910341739654541, 0.4796062409877777, 0.5571785569190979, 0.8129285573959351, 0.1592743992805481, 0.9602861404418945, -0.14840833842754364, 1.0069375038146973, 0.6835580468177795, 0.4778667986392975, 1.0521818399429321, -0.47768735885620117, 0.7402304410934448, 0.6246408820152283, -0.4860045313835144, 0.7531387805938721, 0.28882867097854614, -0.22390039265155792, 0.09222271293401718, 0.4065499007701874, -0.6771894097328186, -0.47589021921157837, -0.04667225852608681, -0.33697596192359924, 0.17131182551383972, 0.2945531904697418, -0.39354178309440613, -0.3505769968032837, 0.19422830641269684, -0.3751775920391083, 0.40615561604499817, 0.07850281894207001, 1.0287078619003296, -0.30658844113349915, -0.6092473268508911, 0.8276685476303101, -0.16366823017597198, 0.9405761957168579, -0.41434067487716675, -0.08136538416147232, -0.3448048532009125, 0.055922023952007294, -0.42982348799705505, -0.7574673891067505, 0.28973957896232605, -0.0055818380787968636, -0.13893640041351318, -0.0653003677725792, 0.6097773313522339, -0.6100538969039917, -0.30121758580207825, 0.28803685307502747, 0.33729881048202515, 0.3617106080055237, 0.07140035182237625, -0.3379937410354614, 0.011255921795964241, 0.3600699007511139, 0.14852799475193024, 0.5589787364006042, 0.010201930068433285, -0.4142822027206421, 0.5229537487030029, 0.4363073706626892, -0.346428781747818, 0.1258944422006607, 0.3326752483844757, 0.9166746139526367, -0.7151088118553162, -0.4534410238265991, -0.8808989524841309, 0.706544041633606, -0.6621474623680115, -0.1140030100941658, 0.7366445064544678, 0.7679018974304199, 0.7503682374954224, -0.15101534128189087, 0.6999890804290771, 0.06008913740515709, 0.7004019021987915, -0.16567058861255646, 0.7190489172935486, -0.7072707414627075, 0.415962815284729, -0.3242139220237732, -0.8309445977210999, -0.18185828626155853, 0.3733392655849457, 0.40886789560317993, 0.030634630471467972, 0.569490909576416, 0.8706061840057373, -0.1102266013622284, 0.4676823914051056, 0.2369082123041153, 0.012494469061493874, 0.45133429765701294, 0.5926187634468079, 0.9331949949264526, -0.4414328336715698, 0.8534125089645386, -0.30026060342788696, -0.6986647844314575, -0.026585860177874565, -1.0083264112472534, -0.9828889966011047, -0.46566978096961975, -0.5523861050605774, -0.39040476083755493, -0.18143659830093384, 0.957082211971283, 0.6629810929298401, -0.8670601844787598, -0.6686984896659851, 0.12314199656248093, 0.4176511764526367, -0.5598949790000916, -0.23149473965168, 0.23306256532669067, -0.26977109909057617, -0.6054076552391052, 0.5902766585350037, 0.16252869367599487, 0.15187324583530426, -0.08027259260416031, -0.0907629206776619, -0.06653992086648941, -0.16868531703948975, 0.7092936038970947, 0.21384282410144806, -0.594793438911438, -0.1284908950328827, -0.1998448669910431, 0.16473527252674103, 0.15416280925273895, 0.8471676111221313, -0.8593952655792236, 0.3725678324699402, 0.48796895146369934, 0.834951639175415, 0.5477304458618164, 0.05260194465517998, 0.5781312584877014, -1.393046259880066, 0.11589384824037552, 0.14579173922538757, 0.1785990595817566, 0.4384549856185913, -0.15388339757919312, 0.3995814621448517, 0.4987827241420746, -0.2800678014755249, -0.6958662271499634, 0.2977403998374939, -0.9920046329498291, -0.35133102536201477, 1.0060758590698242, 0.08902596682310104, -0.0679236575961113, -0.26212361454963684, -0.4029894173145294, 0.24204444885253906, -0.28932154178619385, 0.9034915566444397, 0.34732821583747864, -0.41374170780181885, -0.1448114663362503, 0.19601629674434662, 0.3042096495628357, 0.49322208762168884, -1.3882017135620117, 0.28214365243911743, 0.6615554690361023, 0.21308627724647522, -0.08139856159687042, 0.5879179239273071, -0.14427293837070465, 0.3408649265766144, -0.16256600618362427, -0.03026803769171238, 0.18201473355293274, -0.11020848155021667, -0.24922235310077667, 0.32450801134109497, -0.1388445943593979, -0.09450741857290268 ]
http://arxiv.org/abs/2402.10662v1
http://arxiv.org/pdf/2402.10662v1
Fine Tuning Named Entity Extraction Models for the Fantasy Domain
2024-02-16T13:11:13
2024-02-16T13:11:13
Aravinth Sivaganeshan, Nisansa de Silva
cs.CL
cs.CL
Named Entity Recognition (NER) is a sequence classification Natural Language Processing task where entities are identified in the text and classified into predefined categories. It acts as a foundation for most information extraction systems. Dungeons and Dragons (D&D) is an open-ended tabletop fantasy game with its own diverse lore. DnD entities are domain-specific and are thus unrecognizable by even the state-of-the-art off-the-shelf NER systems as the NER systems are trained on general data for pre-defined categories such as: person (PERS), location (LOC), organization (ORG), and miscellaneous (MISC). For meaningful extraction of information from fantasy text, the entities need to be classified into domain-specific entity categories as well as the models be fine-tuned on a domain-relevant corpus. This work uses available lore of monsters in the D&D domain to fine-tune Trankit, which is a prolific NER framework that uses a pre-trained model for NER. Upon this training, the system acquires the ability to extract monster names from relevant domain documents under a novel NER tag. This work compares the accuracy of the monster name identification against; the zero-shot Trankit model and two FLAIR models. The fine-tuned Trankit model achieves an 87.86% F1 score surpassing all the other considered models.
[ -0.7288859486579895, -0.7443779706954956, 0.2591759264469147, -0.22960782051086426, -0.16035737097263336, 0.14597029983997345, -0.10797684639692307, -0.9123511910438538, 0.2555374205112457, 0.8594338893890381, -0.7258293628692627, -0.4847237169742584, -0.5076262950897217, 0.6297100782394409, -0.24986028671264648, 1.2916717529296875, 0.0655658096075058, -0.17250828444957733, 0.005139607470482588, -0.012774931266903877, -0.5465851426124573, -0.3312104642391205, -1.0676969289779663, -0.23433193564414978, 0.6249750852584839, 0.12364319711923599, 0.6009947061538696, 0.9551647901535034, 0.9269872307777405, 0.24374555051326752, -0.1629960536956787, 0.4917038381099701, -0.8213803768157959, 0.3317331075668335, -0.6067872047424316, 0.013901902362704277, -0.7063237428665161, -0.3078118562698364, 0.4412138760089874, 0.30004578828811646, -0.09244666993618011, 0.2032431960105896, 0.14362689852714539, 0.29604968428611755, -0.6374779939651489, 0.023131640627980232, -0.7349922060966492, 0.08458023518323898, -0.29951179027557373, -0.35599470138549805, -0.25358039140701294, -0.47342607378959656, 0.45644235610961914, -1.0382996797561646, 0.5884102582931519, 0.18072672188282013, 1.258150339126587, 0.23545657098293304, -0.20896074175834656, -0.32990702986717224, -0.9533241391181946, 0.7985616326332092, -0.7034680843353271, 0.46579039096832275, 0.3419409990310669, 0.4462468922138214, -0.2523868978023529, -0.6881090998649597, -0.8294225335121155, 0.031105399131774902, -0.18753860890865326, -0.33439722657203674, -0.2960989773273468, 0.11242450028657913, 0.5941635370254517, 0.349017471075058, -0.44054821133613586, 0.28947246074676514, -0.4231896996498108, -0.1691720336675644, 0.8602744340896606, 0.5032746195793152, 0.3979032635688782, -0.13006342947483063, -0.3450183570384979, -0.21854981780052185, -0.7029957175254822, -0.20297487080097198, 0.4478432834148407, 0.3944344222545624, 0.2295452356338501, 0.4980982840061188, -0.21797046065330505, 0.8364231586456299, 0.6650286912918091, -0.6001042723655701, 0.13035094738006592, 0.0905173197388649, -0.39937159419059753, 0.24572229385375977, 0.5579224824905396, 0.399728000164032, 0.31863898038864136, -0.4801563620567322, -0.6146409511566162, -0.04296749830245972, 0.4608500003814697, -0.9610938429832458, -0.36522814631462097, -0.11498936265707016, -0.6265465617179871, -0.36164355278015137, -0.08165957778692245, -1.099600911140442, -0.7077202200889587, -0.47525134682655334, 0.6514649987220764, -0.5754199028015137, -0.4802618622779846, 0.12202637642621994, -0.17800453305244446, 0.3062025010585785, 0.5488177537918091, -0.9103515148162842, 0.37361857295036316, 0.8516006469726562, 0.6396430730819702, -0.6255814433097839, -0.09000170230865479, -0.4471290111541748, 0.24285346269607544, -0.22443245351314545, 0.985504150390625, -0.7234643697738647, -0.5412371754646301, -0.3804472088813782, 0.3851221203804016, -0.05106151103973389, -0.7554616332054138, 0.6868725419044495, -0.8178285360336304, 0.05412222817540169, -0.048260197043418884, -0.7337599992752075, -0.5405144095420837, 0.4137733578681946, -1.0339399576187134, 0.5764533281326294, 0.023877624422311783, -0.7831025123596191, 0.5409839749336243, -0.49583110213279724, -0.34626150131225586, 0.45386451482772827, 0.04692130163311958, -0.17113614082336426, 0.20168128609657288, 0.10281436890363693, 0.4658573269844055, -0.6036323308944702, 0.20399132370948792, -0.2868354618549347, -0.30211731791496277, 0.10914984345436096, -0.23225250840187073, 0.5080698132514954, 0.20317992568016052, -0.16857390105724335, -0.3490664064884186, -0.8269405961036682, 0.2909311056137085, -0.1088966578245163, -0.121683269739151, -0.8152164220809937, 0.03550782427191734, 0.0679553747177124, 0.12556932866573334, -0.1547347605228424, -0.4708864390850067, 0.28990691900253296, -0.5686668753623962, -0.04610362648963928, 0.4898189306259155, 0.2874598801136017, 0.44503992795944214, -0.26657429337501526, 0.6308631300926208, -0.12405240535736084, -0.11052772402763367, 0.08664321154356003, -0.1798986941576004, -0.6343703269958496, -0.49167802929878235, 0.651909351348877, 0.3876124918460846, -1.0701560974121094, 0.40829190611839294, -0.47153520584106445, -0.7002259492874146, -0.5912445187568665, -0.3250272274017334, 0.3018265664577484, 0.7095420956611633, 0.3919755816459656, -0.3159565329551697, -0.5407681465148926, -0.843967854976654, -0.3473133444786072, 0.05941310524940491, -0.0001433964935131371, 0.42807912826538086, 0.44659414887428284, -0.4250653088092804, 1.1234241724014282, -0.6886369585990906, -0.3805544078350067, -0.21497441828250885, 0.16866035759449005, 0.3711434602737427, 0.5180838704109192, 0.42804351449012756, -1.0227159261703491, -0.5437077879905701, 0.3550349771976471, -0.561478853225708, 0.009087088517844677, 0.06646737456321716, -0.08048567920923233, -0.16286543011665344, 0.16175125539302826, -0.5391092896461487, 0.6105237007141113, 0.17440229654312134, -0.23987770080566406, 0.6069096922874451, 0.02950764261186123, 0.32345151901245117, -1.0706347227096558, 0.23056884109973907, 0.1369331330060959, -0.18601953983306885, -0.7808130979537964, -0.03855982795357704, -0.11494718492031097, 0.08397849649190903, -0.3476104736328125, 0.9984059929847717, -0.7151563763618469, 0.2424522489309311, -0.33095410466194153, -0.13683108985424042, 0.07267281413078308, 0.23799310624599457, 0.36353829503059387, 0.6887500286102295, 0.5674660801887512, -1.2572206258773804, 0.5096436738967896, 0.10676378011703491, -0.3523005545139313, 0.9917100667953491, -0.6864068508148193, 0.3152957856655121, -0.04224148392677307, -0.1753256469964981, -0.3173016905784607, -0.34001755714416504, 0.2962324023246765, -0.3292379379272461, 0.7417929172515869, -0.3152472972869873, -0.26240524649620056, -0.18378622829914093, 0.13689230382442474, 0.4142776131629944, 0.32784947752952576, -0.6425840258598328, 0.6795167922973633, 0.7776243686676025, 0.0416048988699913, -0.6626724004745483, -0.1778261959552765, -0.0529024675488472, -0.5257638096809387, -0.24121783673763275, 0.733100950717926, 0.0857888013124466, -0.2210538238286972, 0.19871050119400024, -0.22587454319000244, -0.5715469121932983, -0.02497836947441101, 0.15892226994037628, 0.24675750732421875, -0.37904345989227295, 0.005629128310829401, 0.04689431190490723, -0.24156087636947632, -0.20259657502174377, -0.10841046273708344, 0.28584715723991394, 0.23160819709300995, -0.08006533980369568, -0.5182615518569946, 0.0558612160384655, 0.48671355843544006, -0.15872392058372498, 0.5293439030647278, 0.41101476550102234, -0.8225897550582886, -0.5842597484588623, -0.6276002526283264, -0.25892314314842224, -0.4509824216365814, 0.36028891801834106, -0.6447888016700745, -0.8271774649620056, 0.5058720707893372, -0.2762996256351471, 0.007942941039800644, 0.8893253207206726, 0.0568217895925045, 0.11775364726781845, 0.9429454207420349, 0.9646586179733276, 0.09724702686071396, 0.08681673556566238, -0.28183671832084656, 0.2398471236228943, -0.8513361811637878, -0.3533198833465576, -0.6501527428627014, -0.6023856401443481, -0.725658655166626, -0.2518494427204132, 0.07116378843784332, 0.19241264462471008, 0.018509648740291595, 0.7660502195358276, -0.6549601554870605, 0.8415091633796692, 0.14903350174427032, -0.14128661155700684, 0.28934445977211, 0.26663216948509216, 0.06406601518392563, -0.32251057028770447, -0.11578097939491272, -0.6293511390686035, 0.7530786395072937, 0.17197257280349731, 1.071329116821289, 0.13286277651786804, 0.7037809491157532, 0.4328915774822235, 0.12265980243682861, -0.7642513513565063, 0.4076225757598877, -0.37420782446861267, -0.863549530506134, -0.31432899832725525, -0.42695489525794983, -0.894910454750061, -0.006516966503113508, -0.40066802501678467, -0.8722435832023621, 0.7295442819595337, -0.10322616994380951, -0.673613965511322, 0.6010235548019409, -0.2665775716304779, 0.7042240500450134, 0.05034889280796051, -0.14632967114448547, -0.004200262017548084, -0.40058138966560364, 0.2976689338684082, -0.2693592309951782, -0.24693793058395386, -0.10575618594884872, 0.0671100839972496, 0.6938692331314087, -0.117652527987957, 0.49514126777648926, 0.036365095525979996, -0.2709413766860962, 0.22180621325969696, 0.5597222447395325, 0.5087618827819824, 0.13738207519054413, -0.26501137018203735, 0.414045125246048, 0.22750334441661835, 0.3120790421962738, -0.6249914765357971, 0.7342103719711304, -0.6494191288948059, -0.2715074121952057, -0.40957459807395935, -0.14098121225833893, -0.12179024517536163, 0.3586336076259613, 0.5901557207107544, 0.6193642020225525, -0.5454798340797424, 0.10642006993293762, 1.129347324371338, -0.18573051691055298, 0.31777283549308777, 0.6696539521217346, -0.07634942978620529, -0.6128770112991333, 1.0098192691802979, 0.07783888280391693, -0.028026824817061424, 0.6273194551467896, -0.3064366281032562, -0.2759037911891937, -0.33394479751586914, -0.5406611561775208, 0.2787398397922516, -0.4813229739665985, -0.6616063117980957, -0.9573980569839478, -0.6402230858802795, -0.25924596190452576, 0.051927600055933, -0.16756406426429749, -0.3130071759223938, -0.691761314868927, -0.027579069137573242, 0.4002484679222107, 0.9524205327033997, 0.02283579669892788, 0.37686827778816223, -0.9554750323295593, 0.49317076802253723, 0.11896619945764542, 0.4051755368709564, -0.006669874768704176, -0.6419910788536072, 0.06284690648317337, 0.004275023937225342, -0.1444271206855774, -1.1228845119476318, 0.8515086770057678, 0.35925573110580444, 0.5423685908317566, 0.6184127926826477, -0.003494111355394125, 1.1443911790847778, -0.5483020544052124, 0.40726497769355774, 0.1346670389175415, -0.6872738003730774, 0.40664753317832947, -0.18962937593460083, -0.259059876203537, 0.6937815546989441, 0.47606346011161804, -0.7498712539672852, 0.09675788879394531, -0.6449839472770691, -0.4300838112831116, 1.1092959642410278, -0.007830231450498104, 0.0578257218003273, -0.014115279540419579, 0.71974778175354, 0.7154207825660706, 0.2488568276166916, -0.581123948097229, -0.2604139447212219, 0.389037549495697, -0.0772121250629425, -0.05968427285552025, -0.33955225348472595, 0.3315403461456299, -0.3016298711299896, 0.7599824666976929, 0.11335349082946777, 0.09969107061624527, 0.12072296440601349, -0.09497092664241791, -0.21243934333324432, 0.059345826506614685, 0.19649891555309296, 0.5429904460906982, -0.00252451840788126, 0.056976381689310074, 0.31133750081062317, -0.840478777885437, 0.051523156464099884, 0.04368164762854576, -0.4867759048938751, 0.30596429109573364, 0.23224754631519318, 0.9151952266693115, 0.04818417876958847, -0.33707597851753235, 0.2217860221862793, -0.2764970660209656, -0.004192122723907232, -0.010082349181175232, 0.4254545271396637, -0.5117775797843933, 0.2537895441055298, 0.23710130155086517, 0.20818376541137695, 0.47521719336509705, -0.07408840209245682, 0.1755453646183014, 0.3406181037425995, -0.5406431555747986, -0.5758258104324341, 0.375625878572464, 0.15187472105026245, -0.49428144097328186, 0.7101848721504211, -0.5219437479972839, -0.39929720759391785, 0.7137281894683838, 0.7704948782920837, 1.3486050367355347, -0.32216551899909973, 0.3422437310218811, 0.7401138544082642, 0.37749868631362915, -0.23001344501972198, 0.12566812336444855, 0.1125035360455513, -0.6872007846832275, -0.26374751329421997, -1.070707082748413, -0.14208021759986877, 0.3674052059650421, -0.5761663317680359, 0.6628342270851135, -0.3109114170074463, -0.3877464234828949, 0.16430117189884186, 0.2093140184879303, -0.9526177644729614, 0.35018420219421387, 0.08013279736042023, 0.7653872966766357, -0.4913177490234375, 0.6650561094284058, 0.7921541333198547, -0.13002289831638336, -1.0053571462631226, 0.030464980751276016, -0.10509324818849564, -0.2634675204753876, 0.8517353534698486, 0.0956275686621666, -0.0979209691286087, 0.3811337947845459, -0.5220147967338562, -1.223129391670227, 0.9731997847557068, 0.23383240401744843, -0.8374783396720886, -0.2520742416381836, -0.15773983299732208, 0.6486562490463257, -0.4660470187664032, 0.2353903204202652, 0.42890599370002747, 0.40285617113113403, 0.1556941121816635, -1.1037471294403076, -0.14839844405651093, -0.1426796019077301, 0.08502322435379028, 0.4675034284591675, -0.02627534046769142, 0.8417211174964905, -0.20820818841457367, -0.6240500807762146, -0.01063940953463316, 0.6791811585426331, 0.09286375343799591, 0.41916823387145996, 0.6046987771987915, 0.7248361706733704, 0.8803281784057617, -0.21021056175231934, 0.7948375344276428, -0.05059720575809479, 0.349068284034729, 1.1337709426879883, -0.5522842407226562, 0.584230363368988, 0.07478555291891098, 0.12456817924976349, 0.5280787348747253, 0.7321762442588806, -0.24804456532001495, 0.8624792695045471, 0.10926542431116104, -0.176921084523201, -0.28129738569259644, -0.31402087211608887, -0.5208175778388977, 0.5402199625968933, 0.38690438866615295, -0.24041961133480072, -0.16050785779953003, -0.008530523627996445, -0.037872180342674255, -0.2634596824645996, -0.5044601559638977, 1.2232458591461182, 0.03835207223892212, -0.6850780844688416, 0.26977360248565674, 0.1634964793920517, 0.7159438729286194, -0.5031871199607849, -0.31019312143325806, -0.10552285611629486, 0.3625158667564392, -0.2744351029396057, -0.43968865275382996, 0.2891463339328766, 0.29537543654441833, -0.4009668231010437, 0.013155573047697544, 1.1215070486068726, -0.38783663511276245, -0.48360729217529297, 0.19635753333568573, 0.5299531817436218, 0.16257089376449585, 0.018684010952711105, -0.5399620532989502, -0.21286411583423615, -0.1406305581331253, 0.03238315507769585, 0.14588294923305511, 1.09726083278656, -0.04561780393123627, 0.4243454039096832, 0.5974047780036926, 0.28938397765159607, -0.1863701194524765, -0.2376440316438675, 0.7596076726913452, -0.6550186276435852, -0.5024798512458801, -1.063007116317749, 0.07414398342370987, -0.2825530469417572, -0.5636112093925476, 0.7561371326446533, 0.569922149181366, 0.8578194379806519, -0.1937553584575653, 0.35452836751937866, -0.323318213224411, 0.6979246735572815, -0.2363450527191162, 0.9664394855499268, -0.5633367300033569, 0.024157971143722534, -0.5070832371711731, -1.2253227233886719, -0.14809301495552063, 0.5453162789344788, -0.12108948826789856, -0.040199365466833115, 0.512124240398407, 0.8521866202354431, -0.22916853427886963, 0.17037449777126312, 0.2915726900100708, 0.062213294208049774, 0.0880846306681633, 0.30327537655830383, 0.9384961128234863, -0.28908246755599976, 0.17091034352779388, -0.3142158091068268, 0.06176670268177986, -0.07999657094478607, -0.9846584796905518, -0.9102239012718201, -0.5094968676567078, -0.5301669836044312, -0.29183414578437805, 0.18670149147510529, 0.6778579950332642, 0.7625340819358826, -1.0311858654022217, -0.03086169622838497, 0.26850876212120056, 0.20845045149326324, -0.34511059522628784, -0.2984656095504761, 0.24745038151741028, 0.009776935912668705, -0.686950147151947, 0.23284141719341278, 0.27531173825263977, 0.12408130615949631, 0.034850385040044785, -0.11797170341014862, 0.06481080502271652, -0.02933044731616974, 0.3046696186065674, 0.32812896370887756, -0.6270797848701477, -0.28962472081184387, 0.3264511823654175, -0.22042977809906006, -0.19285978376865387, 0.6380807757377625, -0.9285314083099365, 0.5107553005218506, 0.5187936425209045, 0.624686598777771, 0.14430631697177887, -0.00756790628656745, 0.5436195731163025, -0.5010029673576355, -0.37827423214912415, 0.48741018772125244, 0.0016975917387753725, 0.3195587992668152, -0.6141667366027832, 0.6372495889663696, 0.2501092553138733, -0.46394798159599304, -0.9801247715950012, -0.17072339355945587, -0.6769726276397705, -0.044720690697431564, 1.1623549461364746, 0.12928856909275055, -0.2785235047340393, -0.21153287589550018, -0.2238718867301941, 0.279951810836792, -0.15557344257831573, 0.6243134140968323, 0.581355631351471, 0.11107397079467773, 0.17921753227710724, -0.4742048978805542, 0.9685916304588318, -0.3558589816093445, -0.782638430595398, -0.0733366459608078, 0.586145281791687, 0.3582535684108734, 0.28911861777305603, 0.5084866285324097, -0.03395376726984978, 0.1396445780992508, -0.28943896293640137, 0.22356972098350525, 0.16922946274280548, -0.6102568507194519, -0.39305633306503296, 0.12769295275211334, -0.4773167073726654, 0.03528039529919624 ]
http://arxiv.org/abs/2402.10659v3
http://arxiv.org/pdf/2402.10659v3
Network Formation and Dynamics Among Multi-LLMs
2024-02-16T13:10:14
2024-06-02T13:50:14
Marios Papachristou, Yuan Yuan
cs.SI
cs.SI, cs.AI, cs.CL, cs.MA
Social networks shape opinions, behaviors, and information dissemination in human societies. As large language models (LLMs) increasingly integrate into social and professional environments, understanding their behavior within the context of social interactions and networks becomes essential. Our study analyzes LLMs' network formation behavior to examine whether the dynamics of multiple LLMs are similar to or different from human social dynamics. We observe that LLMs exhibit key social network principles, including preferential attachment, triadic closure, homophily, community structure, and the small-world phenomenon, when asked about their preferences in network formation. We also investigate LLMs' decision-making based on real-world networks, revealing that triadic closure and homophily have a stronger influence than preferential attachment and that LLMs perform well in network formation predictions. Overall, our study opens up new possibilities for using LLMs in network science research and helps develop socially aware LLMs by shedding light on their social interaction behaviors and exploring their impacts on social dynamics.
[ -0.48653659224510193, -0.9020951986312866, 0.42035868763923645, 0.17836734652519226, 0.07293897122144699, 0.17840906977653503, -0.2450753003358841, -0.35668283700942993, 0.7699540853500366, 0.4467734694480896, -0.6278826594352722, -0.22631783783435822, -0.28898024559020996, 0.2772213816642761, -0.2407970130443573, 0.7718234062194824, 0.24899795651435852, 0.10260695964097977, -0.14630649983882904, -0.2158837467432022, -0.23358812928199768, -0.7839242219924927, -0.8653280138969421, -0.7195967435836792, 0.9460417628288269, 0.28964856266975403, 0.6493191719055176, 0.6478788256645203, 0.5333465933799744, 0.4065714478492737, -0.30929985642433167, 0.24718348681926727, -0.7833900451660156, 0.12158025801181793, -0.1066913902759552, -0.41296374797821045, -0.4615039527416229, 0.013978849165141582, 0.8843017220497131, 0.7940649390220642, -0.11535120755434036, 0.15128600597381592, 0.35486045479774475, 0.9032900333404541, -0.03533339127898216, 0.09138695895671844, -0.45995238423347473, 0.10963048785924911, -0.3420025706291199, -0.21952873468399048, -0.22110840678215027, -0.5199686288833618, 0.32674047350883484, -0.2367483228445053, 0.13743631541728973, 0.27047187089920044, 0.6424137353897095, -0.3320092558860779, -0.9108900427818298, -0.11078490316867828, -0.5262488126754761, 0.2541213929653168, -0.22676773369312286, 0.1598413586616516, -0.02536287158727646, 0.3259601891040802, -0.5556844472885132, -0.517615556716919, -0.4901650846004486, -0.01752958446741104, 0.09931530058383942, -0.2142392098903656, 0.33164045214653015, 0.26192915439605713, 0.13636592030525208, 0.04408054053783417, -0.2618202269077301, 0.20908938348293304, -0.7231636643409729, 0.13379190862178802, 0.44424009323120117, 0.4233955144882202, 0.2834283113479614, -0.17678873240947723, -0.27938202023506165, 0.2273653745651245, -0.9155540466308594, 0.07494693249464035, 0.44389569759368896, 0.44679874181747437, -0.27856066823005676, 0.68751460313797, 0.04987335950136185, 0.3242778778076172, -0.08891475200653076, -0.1841626763343811, 0.22691699862480164, -0.3480061888694763, -0.2519051134586334, 0.018621429800987244, 0.8742491602897644, 0.5235177874565125, 0.761965274810791, 0.1474641114473343, 0.08171001821756363, -0.016651488840579987, 0.09279059618711472, -0.5627378225326538, 0.19648240506649017, -0.17950767278671265, -0.9607241749763489, -0.5614370107650757, 0.14198936522006989, -0.3983456492424011, -0.6555516719818115, -0.41572609543800354, 0.10315939784049988, -0.07031158357858658, -0.6837752461433411, 0.009617173112928867, -0.17352019250392914, 0.24112114310264587, 0.3729870021343231, -0.5540627241134644, 0.6981551647186279, 0.559573769569397, 1.1934771537780762, -0.2178126573562622, -0.7363753914833069, -0.07635258883237839, 0.2722741365432739, -0.28720593452453613, 0.4909951686859131, -0.323635458946228, -0.36802810430526733, 0.26479217410087585, 0.24477031826972961, -0.16312548518180847, -0.3498168885707855, -0.08114653825759888, -0.6864495277404785, -0.3363860547542572, -0.4530019462108612, -0.543027400970459, -0.15030057728290558, 0.27267980575561523, -0.6755515933036804, 0.5854329466819763, -0.41878417134284973, -0.7426823973655701, 0.16846482455730438, -0.9373461604118347, -0.3459527790546417, -0.19177159667015076, -0.26730814576148987, 0.11618143320083618, 0.15184184908866882, -0.59625244140625, 0.7139906287193298, -0.18833932280540466, 0.24104031920433044, -0.850965678691864, -0.16166582703590393, 0.53212970495224, -0.17853675782680511, 0.6578339338302612, 0.012248505838215351, 0.0831984281539917, 0.11468519270420074, -0.37446191906929016, -0.4557558000087738, 0.20257577300071716, -0.3473452031612396, -0.21349912881851196, 0.320322722196579, -0.47472891211509705, 0.31674903631210327, -0.10736209899187088, -0.28896066546440125, 0.5680010914802551, -0.26336798071861267, 0.5975181460380554, 0.844394326210022, 0.39267563819885254, 0.35806477069854736, -0.5160603523254395, 0.3739485740661621, 0.14799629151821136, 0.2007385492324829, 0.1216697096824646, -0.5681635141372681, -0.7102484703063965, 0.1956128180027008, -0.12959973514080048, 0.1949014663696289, -0.4733441174030304, -0.19904564321041107, -0.3480078876018524, -0.32106173038482666, 0.0012464250903576612, 0.22093892097473145, 0.3722091615200043, 0.10141606628894806, -0.10842955112457275, -0.1670796126127243, -0.5184498429298401, -0.8689931631088257, 0.05539356917142868, -0.22555293142795563, 0.6083884239196777, 0.43473753333091736, 0.5298349857330322, -0.402052640914917, 0.8814234733581543, -0.4790688157081604, -0.18957598507404327, -0.23947346210479736, -0.135367289185524, 0.2984902858734131, 0.029893919825553894, 0.60284823179245, -0.561356246471405, -0.431497722864151, -0.09010834991931915, -0.676858127117157, 0.2027069330215454, 0.22062112390995026, -0.1146165132522583, -0.008925163187086582, 0.641792893409729, -0.45559340715408325, 0.14776305854320526, 0.7675055861473083, -0.2969982922077179, 0.7027450203895569, -0.03647227957844734, 0.06394922733306885, -1.2095251083374023, -0.5078961253166199, 0.17554520070552826, -0.07698418945074081, -0.7530896663665771, -0.1923505663871765, -0.4207550883293152, 0.14179717004299164, -0.6430526375770569, 0.429066926240921, -0.8002169132232666, -0.36837443709373474, -0.09942976385354996, 0.37452924251556396, -0.2286490499973297, 0.19551829993724823, -0.15491381287574768, 0.6434748768806458, 0.8597956895828247, -0.8932920694351196, 0.42339473962783813, 0.15335147082805634, -0.22418920695781708, 0.08537506312131882, -0.7152157425880432, -0.03581993654370308, -0.07320787757635117, 0.3199518322944641, -1.0900062322616577, -0.3124619126319885, -0.007089745253324509, -0.2105962485074997, 0.04255741834640503, -0.29495692253112793, -0.6807564496994019, -0.30889540910720825, -0.4482479393482208, 0.35310226678848267, 0.11135990172624588, -0.35378432273864746, 0.25223806500434875, 0.7301681041717529, 0.04985494166612625, -0.29113200306892395, -0.8031457662582397, 0.09906687587499619, -0.2791843116283417, -1.0761862993240356, 0.05120664834976196, -0.0522787868976593, -0.5932278037071228, -0.31930363178253174, 0.25872528553009033, -0.06500855088233948, 0.12525641918182373, 0.5294971466064453, 0.06377875059843063, -0.338486909866333, 0.19813136756420135, 0.11974719166755676, 0.32945719361305237, 0.27137207984924316, 0.047006167471408844, 0.7526867985725403, -0.4632301926612854, -0.3401094973087311, -0.21886835992336273, -0.006391589529812336, 0.879008948802948, 0.007489223964512348, 0.9959717988967896, 0.2337125986814499, -0.10585684329271317, -0.11152145266532898, -0.39148059487342834, -0.4160720407962799, -0.5640286207199097, 0.13599735498428345, -0.4482320249080658, -1.1655584573745728, 0.7655770182609558, -0.4276118874549866, -0.20023812353610992, 0.08042902499437332, 0.6613501906394958, -0.21798035502433777, 0.795910656452179, 0.5051891803741455, 0.035787444561719894, 0.4631167948246002, -0.24134595692157745, 0.0054994011297822, -1.1477371454238892, -0.21656224131584167, -0.1911359429359436, -0.42078375816345215, -0.7834035754203796, -0.3253391683101654, 0.4745381474494934, 0.1677483469247818, -0.09234938770532608, 0.1018928587436676, -0.1855967789888382, 0.45365720987319946, 0.10637949407100677, 0.10050994157791138, 0.13498862087726593, -0.03734610602259636, -0.4418432414531708, 0.2867087423801422, -0.6029340028762817, -0.7097664475440979, 0.9581871032714844, 0.3628884553909302, 0.7488763332366943, 0.7895901799201965, 0.7904959917068481, 0.2750711441040039, 0.2736835181713104, -0.5465686321258545, 0.7030415534973145, 0.08359750360250473, -0.3851337134838104, -0.35602685809135437, -0.2643696367740631, -1.3220728635787964, 0.18697258830070496, -0.5191793441772461, -0.9297934770584106, 0.1070556491613388, 0.1677333414554596, -0.14168286323547363, 0.22676314413547516, -0.3437640964984894, 0.38204577565193176, 0.03334813565015793, -0.2570662498474121, -0.2894212305545807, -0.8661826252937317, 0.634685754776001, 0.020630497485399246, 0.5277826189994812, -0.41768527030944824, -0.06310000270605087, 0.47616878151893616, -0.23671114444732666, 1.1337339878082275, 0.1620255559682846, -0.06906215101480484, 0.43567895889282227, 0.278001606464386, 0.4629387855529785, 0.13017579913139343, -0.13525402545928955, 0.26643091440200806, -0.07899922132492065, 0.26082491874694824, -0.37729766964912415, 0.8656819462776184, -0.982677698135376, -0.5871177911758423, -0.1503889560699463, -0.2574464678764343, 0.044336337596178055, 0.2254163920879364, -0.06872833520174026, 0.6272547841072083, -0.4451015889644623, 0.2329718917608261, 0.7127941846847534, 0.17455315589904785, 0.6373481154441833, 0.34018799662590027, -0.7835134267807007, -0.345049649477005, 0.6696942448616028, 0.25687375664711, 0.6346890330314636, 0.07301901280879974, 0.47186365723609924, -0.20494583249092102, -0.4173787236213684, -0.12555868923664093, 0.6257826685905457, -0.49452629685401917, 0.013984101824462414, -0.6412853002548218, -0.24614973366260529, -0.4703161120414734, -0.07233510166406631, -0.08747127652168274, -0.3734849989414215, -0.2617497444152832, -0.051221780478954315, 0.335489422082901, 1.025207281112671, -0.08713053166866302, 0.4447634220123291, -0.8558383584022522, 0.13746993243694305, 0.23873507976531982, 0.3647700846195221, 0.08926001936197281, -0.12055940181016922, -0.2797929644584656, -0.18227465450763702, -0.24218907952308655, -1.3208224773406982, -0.0065150633454322815, 0.48911282420158386, 0.4859744608402252, 0.8173727989196777, -0.19616639614105225, 0.4007643163204193, -0.6065235733985901, 0.8557592630386353, 0.34606242179870605, -0.7540110349655151, 0.35205864906311035, -0.771461009979248, -0.16236749291419983, 0.2894652485847473, 0.22772476077079773, -0.7637714147567749, -0.2691348195075989, -0.46413111686706543, -0.4782874286174774, 0.6482620239257812, 0.2032516896724701, 0.2904279828071594, -0.1937536597251892, 0.6082514524459839, -0.46334195137023926, 0.36697784066200256, -0.9551039934158325, -0.7351354956626892, 0.2271440327167511, 0.3140490651130676, 0.19317205250263214, -0.375153124332428, -0.3055143654346466, -0.14297939836978912, 0.21182918548583984, -0.24920660257339478, 0.1713160276412964, -0.05946190282702446, 0.28173187375068665, -0.1850959062576294, 0.06707414239645004, 0.8659585118293762, 0.6706119775772095, -0.05490853637456894, 0.36988940834999084, 0.1315000355243683, -0.2562287449836731, 0.41703519225120544, -0.7685575485229492, 0.12766507267951965, -0.18945303559303284, 0.11668704450130463, 0.5924054384231567, 0.11239064484834671, -0.15219679474830627, 0.6017440557479858, -0.24592852592468262, -0.38631826639175415, -0.17749860882759094, 0.315184623003006, 0.6073399782180786, 0.39570629596710205, -0.04569682106375694, 0.06004320830106735, 0.057977139949798584, -0.778664231300354, 0.050572846084833145, 0.469226598739624, -0.15798158943653107, -0.4706772267818451, 0.1074938178062439, 0.44867217540740967, -0.5389960408210754, 0.35186928510665894, -0.24380691349506378, -0.4931180775165558, 0.6841400861740112, 0.6145703196525574, 0.752202033996582, -0.2952505648136139, 0.2831422984600067, 0.07040935009717941, 0.4371585249900818, -0.23081456124782562, 0.270161896944046, 0.2967517077922821, -1.1952606439590454, -0.2241801619529724, -0.412275105714798, -0.27210843563079834, -0.2242819219827652, -0.519179105758667, 0.5387110710144043, -0.5196061134338379, -0.6036039590835571, -0.06838413327932358, -0.10967080295085907, -0.42896345257759094, -0.16752217710018158, 0.012316390872001648, 0.6820033192634583, -0.7493273615837097, 0.8073984980583191, 0.8715266585350037, -0.17564018070697784, -0.895275354385376, -0.16284671425819397, 0.5856820344924927, -0.6492932438850403, 0.8384198546409607, 0.32329675555229187, -0.6113857626914978, -0.016985895112156868, -0.4363325536251068, -1.2115042209625244, 1.1273986101150513, 0.20703689754009247, -0.4896905720233917, 0.01618042215704918, 0.06837715208530426, 0.4658398926258087, -0.6452217698097229, 0.08975423127412796, 0.07888077199459076, 0.41057783365249634, 0.08322461694478989, -0.8896738290786743, 0.0837329626083374, -0.09667178988456726, 0.15060479938983917, 0.4529571831226349, -1.247044563293457, 0.9500302672386169, -0.3720250427722931, -0.3055258095264435, -0.21487316489219666, 0.5066319704055786, 0.40800729393959045, 0.20456410944461823, 0.4210682511329651, -0.05398009344935417, 0.6643965840339661, 0.28223860263824463, 0.6582435965538025, -0.592954695224762, 0.2268381416797638, 0.9145289063453674, -0.4158196449279785, 0.5607321858406067, 0.4648975133895874, -0.10140415281057358, 0.6287876963615417, 0.7334733605384827, 0.09386608004570007, 0.08221609145402908, 0.5343566536903381, 0.0162485521286726, 0.05325079709291458, -0.2510767877101898, -0.3208378255367279, 0.48115959763526917, 0.4122617840766907, -0.35360729694366455, 0.15539544820785522, -0.20232871174812317, 0.08948977291584015, -0.3370320796966553, -0.4197894334793091, 0.7330257296562195, 0.32336628437042236, -0.35030779242515564, 0.07965964823961258, -0.08217638731002808, 0.4923749268054962, -0.5775343775749207, 0.08935979008674622, 0.09659324586391449, -0.062415145337581635, -0.40743547677993774, -0.8815134167671204, 0.2512799799442291, -0.37516164779663086, -0.33727744221687317, 0.04474497586488724, 0.6887038350105286, -0.2795014977455139, -0.03944360464811325, 0.5637622475624084, 0.7234923243522644, 0.44384336471557617, 0.40379586815834045, -0.6082582473754883, 0.1833309382200241, -0.13105091452598572, -0.39281824231147766, 0.5151727795600891, 0.6895653605461121, -0.02020685002207756, 0.7845174074172974, 0.7226126194000244, 0.3781140148639679, 0.2717980146408081, 0.2942033112049103, 0.8155835866928101, -0.42184966802597046, -0.09100279957056046, -1.0968763828277588, 0.22036120295524597, -0.225253164768219, -0.34772297739982605, 0.9102359414100647, 0.2354995310306549, 0.4783453643321991, 0.3340570628643036, 0.49113476276397705, 0.165169820189476, 0.04836611822247505, -0.4576922059059143, 0.7100693583488464, -0.49982553720474243, 0.35704347491264343, -0.4814869463443756, -0.891620934009552, -0.06689529865980148, 0.3635571300983429, 0.057883765548467636, -0.02542051672935486, 0.7508312463760376, 0.8837810158729553, 0.1361970156431198, -0.00013169589510653168, 0.20620283484458923, 0.25035956501960754, 0.3645918369293213, -0.031004546210169792, 0.9774049520492554, 0.0938812643289566, 0.3789117932319641, 0.08098923414945602, -0.16299647092819214, -0.18625898659229279, -0.9961718320846558, -1.101759910583496, -0.4405762553215027, -0.24896951019763947, -0.44303998351097107, -0.28797343373298645, 1.238383412361145, 0.5828815698623657, -0.2661193609237671, -0.88158118724823, -0.013738886453211308, 0.4232689142227173, 0.07084839046001434, -0.2839351296424866, 0.037786372005939484, -0.2895486056804657, -0.17615853250026703, 0.3650806248188019, 0.4431847631931305, 0.1732495129108429, -0.47843340039253235, -0.2657191753387451, -0.4444770812988281, 0.359130859375, 0.7685879468917847, 0.0849236249923706, -0.6275654435157776, -0.18661895394325256, -0.0969928503036499, -0.24384860694408417, 0.12528817355632782, 1.0063124895095825, -0.1037716493010521, 0.2670536935329437, 0.41724056005477905, 0.17259329557418823, 0.15560796856880188, -0.24338117241859436, 0.6104815602302551, -0.7107869386672974, -0.227148175239563, -0.26431602239608765, 0.5030480623245239, 0.1234486773610115, -0.22310586273670197, 0.5151475071907043, 0.4076422154903412, -0.7857456803321838, -0.7846224308013916, 0.4713018536567688, -0.6486615538597107, -0.14885275065898895, 1.4404538869857788, 0.2007979154586792, -0.23882630467414856, -0.13403387367725372, -0.18596093356609344, 0.2691676616668701, -0.46746715903282166, 0.35060998797416687, 0.6166478395462036, -0.6405046582221985, -0.15035687386989594, -0.24873359501361847, 0.4564047157764435, -0.15074636042118073, -0.6661341190338135, -0.06461311131715775, 0.4581499993801117, 0.2702478766441345, 0.3246748149394989, 0.7588185667991638, 0.2725842595100403, -0.24657127261161804, -0.3671027421951294, -0.18943598866462708, -0.03677608072757721, -0.5324626564979553, -0.1770028918981552, 0.34153810143470764, 0.2461393177509308, 0.12530659139156342 ]
http://arxiv.org/abs/2402.10654v1
http://arxiv.org/pdf/2402.10654v1
Enhancing Numerical Reasoning with the Guidance of Reliable Reasoning Processes
2024-02-16T13:02:11
2024-02-16T13:02:11
Dingzirui Wang, Longxu Dou, Xuanliang Zhang, Qingfu Zhu, Wanxiang Che
cs.CL
cs.CL
Numerical reasoning is an essential ability for NLP systems to handle numeric information. Recent research indicates that fine-tuning a small-scale model to learn generating reasoning processes alongside answers can significantly enhance performance. However, current methods have the limitation that most methods generate reasoning processes with large language models (LLMs), which are "unreliable" since such processes could contain information unrelated to the answer. To address this limitation, we introduce Enhancing NumeriCal reasOning with Reliable procEsses (Encore), which derives the reliable reasoning process by decomposing the answer formula, ensuring which fully supports the answer. Nevertheless, models could lack enough data to learn the reasoning process generation adequately, since our method generates only one single reasoning process for one formula. To overcome this difficulty, we present a series of pre-training tasks to help models learn the reasoning process generation with synthesized data. The experiments show that Encore yields improvement on all five experimental datasets with an average of 1.8%, proving the effectiveness of our method.
[ -0.26620399951934814, -0.6309748291969299, 0.7801244258880615, 0.4232825040817261, -0.2511865198612213, 0.0814167782664299, -0.1467362642288208, -0.24034011363983154, 0.027678005397319794, 0.8402082920074463, -0.5313961505889893, -0.3002389967441559, -0.49215346574783325, 0.29419422149658203, -0.042821720242500305, 0.8343991637229919, 0.10771626979112625, 0.14851295948028564, -0.49357327818870544, 0.02519003301858902, -0.3636535108089447, -0.49723953008651733, -0.9095060229301453, -0.49865105748176575, 0.3214251399040222, 0.5599536299705505, 0.7305126190185547, 0.5819143056869507, 0.6203005313873291, 0.255765825510025, -0.1632876992225647, 0.7560925483703613, -0.5770115852355957, 0.5179497003555298, -0.27131712436676025, -0.35455480217933655, -0.5164777636528015, -0.43298017978668213, 0.6878788471221924, 0.7555346488952637, -0.2199201136827469, 0.10018270462751389, 0.15479658544063568, 0.7836508750915527, -0.525621771812439, 0.20490345358848572, -0.9252222776412964, -0.017539948225021362, 0.14151166379451752, -0.5408530235290527, -0.6734339594841003, -0.686127781867981, -0.2425699383020401, -0.7051408886909485, -0.06390642374753952, -0.11985248327255249, 0.374683678150177, 0.6939811706542969, 0.04281829670071602, 0.1035744920372963, -0.83061283826828, 0.8066116571426392, -0.9027751088142395, 0.03210628032684326, 0.40628936886787415, 0.10772741585969925, -0.43724384903907776, -0.7968463897705078, -0.3333008587360382, -0.19363680481910706, 0.1745816320180893, -0.011170848272740841, -0.002653907984495163, 0.14456404745578766, 0.9110782146453857, -0.20253846049308777, -0.3785872161388397, -0.20529994368553162, -0.29339084029197693, -0.2207496464252472, 0.7836747765541077, 0.21328651905059814, 0.17194746434688568, -0.024870596826076508, -0.1115618348121643, -0.14800170063972473, -0.8230016231536865, -0.1681397557258606, 0.17657753825187683, 0.4429096281528473, 0.45354315638542175, 0.5964418053627014, -0.1584867238998413, 0.6041982769966125, -0.24479568004608154, -0.16564078629016876, 0.42761141061782837, -0.2011871635913849, -0.11192125082015991, 0.166171133518219, 0.4965478479862213, 0.017613619565963745, 0.28061190247535706, -0.11710751056671143, -0.270381361246109, 0.07334800809621811, 0.573051393032074, -0.7367802262306213, -0.2478373497724533, 0.21875017881393433, -0.08130055665969849, -0.12156014889478683, 0.015348333865404129, -0.2814475893974304, -0.02273760735988617, -0.6491323113441467, 0.3508126735687256, -0.6320853233337402, -0.3990797996520996, 0.2997658848762512, -0.2289261370897293, -0.11483227461576462, 0.43154412508010864, -0.6706209778785706, 0.18185190856456757, 0.9602213501930237, 0.5224143862724304, -0.02932562492787838, -0.11838927865028381, -1.0660613775253296, -0.008769058622419834, -0.6758701801300049, 0.9095951914787292, -0.7750548124313354, -0.3799039423465729, -0.33465030789375305, -0.1961660087108612, 0.09344733506441116, -0.7293774485588074, 1.0697788000106812, -0.4714745879173279, -0.4122903645038605, -0.46596238017082214, -0.5676659941673279, -0.13420653343200684, 0.18534088134765625, -0.4544578194618225, 1.279392957687378, -0.18586622178554535, -0.6531567573547363, 0.24511533975601196, -0.7971526384353638, -0.3188113570213318, 0.02448323555290699, 0.03725535422563553, -0.44994500279426575, 0.32943177223205566, 0.5301773548126221, 0.27114227414131165, 0.03668268397450447, 0.41088658571243286, -0.6390497088432312, -0.2458503395318985, 0.12134583294391632, -0.5543098449707031, 0.5481401085853577, 0.21092097461223602, -0.1165488138794899, 0.07659782469272614, -1.0656076669692993, 0.4929705560207367, -0.03095080889761448, -0.1710710972547531, -0.18485493957996368, 0.01506047323346138, -0.6068150401115417, 0.1513998657464981, -0.025326883420348167, -0.3268299102783203, 0.22671550512313843, -0.5466843247413635, 0.10223007202148438, 0.6012172102928162, 0.39886409044265747, 0.4227202236652374, -0.2733425199985504, 0.7737686038017273, -0.05361756309866905, -0.1301078051328659, -0.47004446387290955, -0.5101155638694763, -0.6705086827278137, 0.20244313776493073, 0.16914215683937073, 0.5975853800773621, -1.1375486850738525, 0.13136425614356995, -0.1845269650220871, -0.4675532877445221, -0.09240780770778656, 0.09742289036512375, 0.3534327447414398, 0.8237972259521484, 0.4858101010322571, 0.16874028742313385, -0.8696495294570923, -0.5796700716018677, -0.336769700050354, -0.16997095942497253, -0.11114560067653656, 0.17216376960277557, 0.4535762369632721, 0.018059927970170975, 0.7086625099182129, -0.4774787127971649, 0.30469563603401184, -0.1080247238278389, 0.46956712007522583, 0.3843599557876587, 0.5521619319915771, 0.3002501428127289, -0.5285938382148743, -0.4051101803779602, -0.05978125333786011, -0.9184214472770691, -0.260936975479126, -0.15042196214199066, -0.2997848391532898, 0.22818288207054138, 0.5004501938819885, -0.2756931781768799, 0.36931896209716797, 0.31342363357543945, -0.11619309335947037, 0.8251287341117859, -0.5080278515815735, 0.023469706997275352, -0.6317578554153442, -0.02265876904129982, 0.045565005391836166, -0.33850350975990295, -0.4510233998298645, -0.024951890110969543, -0.2478136122226715, -0.20190271735191345, -0.39916616678237915, 0.3796437084674835, -0.4212481379508972, -0.0668303593993187, -0.4530711770057678, -0.05275276303291321, 0.13079281151294708, 0.12209077924489975, 0.5350549817085266, 0.8426187634468079, 0.6328908205032349, -0.7049016356468201, 0.23410318791866302, 0.17226296663284302, -0.3466368019580841, 0.22713825106620789, -0.8338114619255066, 0.26731076836586, -0.2140892595052719, 0.08559982478618622, -0.7583487033843994, -0.23833227157592773, -0.0037707951851189137, -0.5965369939804077, 0.12615197896957397, -0.2999117076396942, -0.5027218461036682, -0.38341954350471497, 0.053481921553611755, 0.07490383088588715, 0.6043559312820435, -0.623795747756958, 0.8354529142379761, 0.19907520711421967, -0.567815363407135, -0.7918867468833923, -0.43090689182281494, 0.05030466988682747, -0.22785712778568268, -0.8491318821907043, 0.16287586092948914, 0.07316040992736816, -0.36295783519744873, -0.06158711016178131, -0.15624211728572845, -0.14092133939266205, 0.06916852295398712, 0.1242181807756424, 0.11351702362298965, -0.21359609067440033, 0.41713377833366394, 0.4146709442138672, -0.4793240427970886, 0.43975141644477844, -0.3181134760379791, 0.15199309587478638, -0.16217637062072754, -0.2748141288757324, -0.336102694272995, 0.2029285728931427, 0.5124239325523376, -0.23229113221168518, 0.8565681576728821, 0.5511068105697632, -0.42432141304016113, -0.5216913819313049, -0.40027347207069397, -0.6186822056770325, -0.44160494208335876, 0.09487555176019669, -0.508309006690979, -0.5297319293022156, 0.5303338766098022, -0.34662702679634094, 0.12765513360500336, 0.4692055881023407, 0.1672249734401703, 0.06803509593009949, 1.4091016054153442, 0.3105163872241974, 0.4667699635028839, -0.03503508120775223, -0.2102864533662796, 0.03478902205824852, -0.7575567960739136, -0.4067762792110443, -0.6645140051841736, 0.04172947630286217, 0.017944589257240295, -0.5202985405921936, 0.5324193835258484, 0.36971914768218994, -0.2601327896118164, 0.1108037531375885, -0.7835342288017273, 0.6788873672485352, 0.5289246439933777, 0.1726304292678833, 0.3216508626937866, 0.2649380564689636, -0.20070549845695496, -0.3700614273548126, -0.9158872961997986, -0.6946980357170105, 1.0080355405807495, 0.2270107865333557, 0.7861434817314148, -0.121579609811306, 0.6739629507064819, 0.088003009557724, 0.3655337691307068, -0.2761940658092499, 0.546834409236908, -0.1344657689332962, -0.24581769108772278, -0.3186231851577759, -0.7931016087532043, -0.5289656519889832, 0.18728742003440857, -0.5078645348548889, -0.5173172950744629, -0.036005981266498566, 0.45279672741889954, -0.5892053246498108, 0.2615981698036194, -0.537026584148407, 0.658771276473999, -0.4647332429885864, -0.7954171299934387, -0.18396663665771484, -0.39921998977661133, 0.43397632241249084, -0.08358307182788849, 0.07448716461658478, -0.06996431201696396, 0.2763690948486328, 0.5580881237983704, -0.8058817982673645, 0.6069366931915283, -0.3819052577018738, -0.06993736326694489, 0.5462536811828613, 0.147909015417099, 0.7603753209114075, 0.35930654406547546, -0.5799817442893982, -0.018763551488518715, -0.07203418761491776, -0.2166389673948288, -0.9189557433128357, 0.5945536494255066, -0.3084351420402527, -0.599198043346405, -0.3524671494960785, -0.46146318316459656, -0.2635117173194885, 0.06760666519403458, 0.02015310525894165, 0.426917165517807, 0.27977073192596436, 0.4070596396923065, 0.8410850763320923, -0.19872017204761505, 0.1863478571176529, 0.12175889313220978, -0.2966410219669342, -0.6376824378967285, 0.734407901763916, -0.0049242889508605, 0.2077757567167282, 0.19575808942317963, 0.2219075709581375, -0.7267693281173706, -0.64268958568573, -0.24639008939266205, 0.06864121556282043, -0.6972446441650391, -0.29889243841171265, -0.6935875415802002, -0.27472856640815735, -0.3625815808773041, -0.029790759086608887, -0.5150831937789917, -0.7390403151512146, -0.35771363973617554, -0.20621487498283386, 0.46752360463142395, 0.3711126744747162, -0.4894886314868927, 0.021100785583257675, -1.1803557872772217, 0.38697350025177, 0.19747616350650787, 0.2218179702758789, 0.06549141556024551, -0.7104182243347168, 0.07778792828321457, 0.3763220012187958, -0.21613560616970062, -0.4848611652851105, 0.5517781972885132, 0.3247779309749603, 0.6656877994537354, 0.3783929944038391, 0.21464696526527405, 0.7683770060539246, -0.6126506328582764, 0.7129788398742676, 0.01239858753979206, -0.7916005253791809, 0.8109805583953857, -0.43496158719062805, 0.39492371678352356, 0.5241367220878601, 0.44340139627456665, 0.0908706933259964, -0.2547808587551117, -0.7435973286628723, -0.8384426832199097, 0.6359131932258606, 0.2870616614818573, 0.09257033467292786, -0.29256707429885864, 0.716931939125061, 0.1322144865989685, 0.04264378920197487, -0.49378296732902527, 0.053252212703228, -0.0897332951426506, 0.15046681463718414, 0.23817779123783112, -0.27027595043182373, -0.029424559324979782, -0.4552963972091675, 1.1228517293930054, -0.3439805507659912, -0.13248522579669952, 0.0950770303606987, 0.3417813181877136, 0.013199534267187119, 0.06149210408329964, 0.7119513154029846, 0.9606116414070129, -0.09407398104667664, 0.07881871610879898, 0.2707039415836334, -0.16797582805156708, -0.05330616235733032, -0.016139797866344452, -0.09706498682498932, 0.07818453013896942, 0.2162516564130783, 0.750515878200531, 0.1241379976272583, -0.6953654289245605, 0.020436815917491913, -0.0560922808945179, -0.3579804301261902, -0.619779646396637, 0.43163755536079407, 0.11576975136995316, 0.16432124376296997, 0.44229254126548767, 0.4329705536365509, 0.03109312430024147, -0.09020610898733139, 0.4527375102043152, 0.31106331944465637, -0.13751821219921112, -0.0167370717972517, 0.8118495941162109, 0.12597428262233734, -0.1977049559354782, 0.9330748915672302, -0.42383435368537903, -0.5046529769897461, 0.7162365317344666, 0.7067434787750244, 0.697397768497467, -0.058851152658462524, 0.38568025827407837, 0.9094794988632202, 0.19607803225517273, -0.7720824480056763, 0.5635109543800354, -0.010997761972248554, -0.7545651197433472, -1.0702110528945923, -0.6444852352142334, -0.6443024277687073, -0.04437332972884178, -0.6721087098121643, 0.16338667273521423, -0.3601306974887848, -0.2967884838581085, -0.057116687297821045, -0.41251689195632935, -0.2881956100463867, 0.28638896346092224, 0.03683933988213539, 0.899509847164154, -0.7918363809585571, 0.5195221304893494, 0.49469679594039917, -0.3807615041732788, -1.0240676403045654, -0.45456796884536743, -0.31344476342201233, -0.4154120087623596, 0.8160250782966614, 0.02884681709110737, -0.3215878903865814, -0.14145396649837494, -0.6837235689163208, -0.9311790466308594, 0.3979068100452423, 0.8051386475563049, -0.4716007709503174, 0.17603428661823273, 0.04507755488157272, 0.6390324831008911, -0.4067327678203583, 0.3263608515262604, 0.45299655199050903, 0.5902844071388245, 0.6196925044059753, -0.5800583362579346, -0.12921984493732452, -0.3165673017501831, -0.04426492005586624, 0.12193205952644348, 0.044671788811683655, 0.3803226351737976, -0.6680380702018738, -0.13772806525230408, 0.06347988545894623, 0.7314311265945435, 0.8127000331878662, 0.32786354422569275, 0.3665952682495117, 0.8848524689674377, 0.9486904740333557, -0.3800165355205536, 1.0723477602005005, -0.32730576395988464, 0.03449198976159096, 1.4268280267715454, -0.31788331270217896, 1.058516502380371, 0.2265883982181549, -0.07452534884214401, 0.5927364230155945, 0.3525690734386444, 0.12606339156627655, 0.1663491278886795, 0.13669241964817047, -0.36047789454460144, -0.8909854292869568, -0.025920631363987923, -0.3656019866466522, 0.29729992151260376, 0.6181582808494568, -0.44993656873703003, -0.13571760058403015, -0.09485572576522827, -0.10428764671087265, 0.4698536694049835, -0.45180743932724, 0.6053348779678345, 0.22358964383602142, -1.0685220956802368, 0.691153883934021, -0.3303149938583374, 0.09409592300653458, -0.630748450756073, -0.5855387449264526, 0.02523433044552803, 0.2002456933259964, -0.4726865589618683, -0.7837060689926147, 0.7087839841842651, -0.009761830791831017, -0.18708278238773346, -0.43226003646850586, 0.8696775436401367, -0.30399784445762634, -0.9102227091789246, -0.0725674256682396, 0.2791648507118225, 0.3643070161342621, -0.2345714420080185, -0.5599070191383362, 0.06810632348060608, 0.10485796630382538, -0.046055641025304794, -0.1440775841474533, 0.5038629770278931, 0.1239473968744278, 0.9255879521369934, 0.9309311509132385, 0.31737712025642395, 0.051276158541440964, 0.26882609724998474, 0.7092083096504211, -0.4671469032764435, -0.23270782828330994, -0.8200869560241699, 0.758743405342102, -0.4436086416244507, -0.06911906599998474, 0.7107625603675842, 0.49901247024536133, 0.570423424243927, -0.08866541087627411, 0.8266133069992065, 0.4661485552787781, 0.6906408667564392, -0.7355809211730957, 0.30854296684265137, -0.2906087338924408, 0.6338615417480469, -0.12596389651298523, -1.2254384756088257, -0.6139717102050781, 0.8314088582992554, -0.31225380301475525, 0.11839831620454788, 0.505413293838501, 0.6984766125679016, 0.07142320275306702, 0.2723004221916199, 0.17733275890350342, 0.16206690669059753, 0.3461849093437195, 0.4505888819694519, 0.7863121032714844, -0.1508730798959732, 0.4328822195529938, -0.2936571538448334, -0.13800093531608582, 0.15462371706962585, -1.3694640398025513, -0.5310289859771729, -0.05927671119570732, -0.5062245726585388, -0.5423737168312073, 0.02218729630112648, 0.8396440148353577, 0.651857316493988, -0.5439336895942688, 0.2942061126232147, -0.46807661652565, 0.21068404614925385, -0.4636180102825165, -0.25088346004486084, 0.22465507686138153, -0.7523276209831238, -0.4902339577674866, 0.6691471338272095, 0.4644097089767456, -0.23266758024692535, -0.1430414617061615, -0.1186135783791542, 0.25977593660354614, 0.15229156613349915, 0.5229215025901794, 0.5996747016906738, -0.4792293608188629, -0.24633541703224182, 0.18070575594902039, 0.5751305222511292, 0.14084886014461517, 0.6234975457191467, -0.8660001158714294, 0.5758628249168396, 0.6930428147315979, 0.7976504564285278, 0.5181964635848999, 0.4796221852302551, 0.7391496300697327, -0.6014735102653503, -0.10529080033302307, 0.5079243183135986, 0.4339534044265747, 0.38831233978271484, -0.18650764226913452, 0.7036141157150269, -0.05927566811442375, -0.8061732649803162, -0.9769355654716492, 0.2143264263868332, -0.7494074106216431, -0.06942231208086014, 1.205030083656311, -0.1767529994249344, -0.12830467522144318, -0.022110939025878906, -0.15223899483680725, -0.032265469431877136, -0.40871742367744446, 0.6836804747581482, 0.4344482421875, -0.5176210999488831, -0.28377121686935425, -0.2298346906900406, 0.5049899816513062, 0.4347805082798004, -0.9334563612937927, 0.011191119439899921, 0.4452493190765381, 0.13278800249099731, 0.3798061013221741, 0.5343086123466492, -0.31277862191200256, 0.2635210156440735, 0.32933667302131653, -0.14070896804332733, -0.2466997504234314, -0.5522259473800659, -0.14684168994426727, 0.33453211188316345, 0.1180894523859024, 0.3686557114124298 ]
http://arxiv.org/abs/2402.10646v2
http://arxiv.org/pdf/2402.10646v2
AbsInstruct: Eliciting Abstraction Ability from LLMs through Explanation Tuning with Plausibility Estimation
2024-02-16T12:47:11
2024-06-17T16:39:02
Zhaowei Wang, Wei Fan, Qing Zong, Hongming Zhang, Sehyun Choi, Tianqing Fang, Xin Liu, Yangqiu Song, Ginny Y. Wong, Simon See
cs.CL
cs.CL
Abstraction ability is crucial in human intelligence, which can also benefit various tasks in NLP study. Existing work shows that LLMs are deficient in abstract ability, and how to improve it remains unexplored. In this work, we design the framework AbsInstruct to enhance LLMs' abstraction ability through instruction tuning. The framework builds instructions with in-depth explanations to assist LLMs in capturing the underlying rationale of abstraction. Meanwhile, we introduce a plausibility estimator to select instructions that are more consistent with the abstraction knowledge of LLMs to be aligned. Then, our framework combines abstraction instructions with general-purpose ones to build a hybrid dataset. Extensive experiments and analyses demonstrate that our framework can considerably enhance LLMs' abstraction ability with strong generalization performance while maintaining their general instruction-following abilities.
[ -0.24165286123752594, -0.5746079683303833, 0.5796461701393127, 0.09026087075471878, -0.16369764506816864, 0.22406050562858582, -0.11005615442991257, -0.35662737488746643, 0.1309635490179062, 0.2449006587266922, -0.7211219072341919, -0.6310499310493469, -0.39771896600723267, -0.06928841769695282, -0.4872482717037201, 0.8441751599311829, -0.11410146951675415, -0.13612975180149078, -0.75352942943573, 0.1351495087146759, -0.38494592905044556, 0.021780075505375862, -0.2991120517253876, -0.5811804533004761, -0.08759117871522903, 0.51273512840271, 0.4856189489364624, 0.948399007320404, 0.243528351187706, 0.38130342960357666, -0.03881992772221565, 0.4343777894973755, -0.214084193110466, -0.13739177584648132, -0.4534894526004791, -0.6724911332130432, -0.6728451251983643, -0.3658641278743744, 0.507631242275238, 0.8147639036178589, 0.00180137122515589, 0.10707591474056244, 0.26476413011550903, 0.7037792801856995, -0.843059778213501, 0.200545534491539, -0.5859853029251099, 0.003754896577447653, -0.007880113087594509, -0.26348409056663513, -0.39398667216300964, -0.1709986925125122, 0.026358097791671753, -0.7056819796562195, 0.21544580161571503, 0.0713738426566124, 0.47427141666412354, 0.4452384114265442, -0.2139710932970047, -0.24789118766784668, -0.5441011190414429, 0.6898049712181091, -0.7831820249557495, 0.09272856265306473, 0.4714767634868622, 0.07072007656097412, -0.24316120147705078, -0.6983384490013123, -0.20746813714504242, 0.037988174706697464, -0.16281765699386597, 0.3399980366230011, -0.012511528097093105, 0.4605247676372528, 0.09353036433458328, 0.7156780958175659, -0.4442450702190399, 0.39230629801750183, -0.20487500727176666, -0.43357837200164795, 0.6981480121612549, 0.21872027218341827, 0.3416910469532013, 0.14311069250106812, -0.4496273994445801, 0.41973263025283813, -0.676420271396637, -0.036774780601263046, 0.46349525451660156, -0.0054861619137227535, -0.23608803749084473, 0.6868640780448914, -0.23487287759780884, 0.8868395090103149, 0.18082748353481293, 0.023460058495402336, 0.27275264263153076, -0.3632090985774994, -0.19911587238311768, 0.24859057366847992, 0.3867320716381073, 0.1167929545044899, 0.1912156194448471, -0.3642212748527527, -0.29156631231307983, 0.09092611074447632, 0.2736071050167084, -0.7041085362434387, -0.30504944920539856, 0.5451062917709351, -0.442234605550766, 0.08910591155290604, 0.23650825023651123, -0.5659931302070618, -0.3351157307624817, -0.6306117177009583, 0.48569339513778687, -0.7398971319198608, -0.39837560057640076, 0.39225825667381287, -0.10099741071462631, 0.29041460156440735, 0.22170332074165344, -1.0658823251724243, 0.46189528703689575, 0.851673424243927, 0.80577552318573, -0.3742012679576874, -0.2071513533592224, -0.41890379786491394, 0.33917856216430664, -0.2037256360054016, 1.074284315109253, -0.5482128858566284, -0.3318835198879242, -0.21747741103172302, -0.18124452233314514, -0.2991158068180084, -0.6449194550514221, 0.5948675870895386, -0.20281124114990234, -0.0194043330848217, 0.10805324465036392, -1.0527410507202148, -0.40674886107444763, -0.23833785951137543, -0.4216919243335724, 0.7789822816848755, 0.1656339168548584, -0.6507839560508728, -0.049515124410390854, -0.9164228439331055, -0.6894020438194275, 0.25724050402641296, -0.30291491746902466, -0.3557906746864319, 0.48714515566825867, 0.2887156307697296, 0.3389922082424164, -0.06897451728582382, -0.02773251384496689, -0.008674634620547295, -0.7617636322975159, 0.18441693484783173, -0.28451383113861084, 0.967939555644989, -0.1421719342470169, -0.3572942018508911, 0.16855613887310028, -0.7790238261222839, 0.18309235572814941, -0.268028199672699, -0.27887484431266785, -0.19591552019119263, 0.17341399192810059, -0.6822141408920288, -0.23478934168815613, 0.3336603343486786, -0.3857591152191162, -0.10561597347259521, -0.9245198965072632, 0.22095759212970734, 0.8887690901756287, 0.16269798576831818, 0.7305383682250977, -0.5321643352508545, 0.6416347622871399, -0.07261907309293747, -0.08805257827043533, -0.18054497241973877, -0.481256365776062, -0.6923260688781738, -0.6824110150337219, 0.18176791071891785, 0.7903810739517212, -0.5982503294944763, 0.831493079662323, -0.08833561837673187, -0.22976206243038177, -0.7249152064323425, 0.5425727367401123, 0.543856143951416, 0.6834682822227478, 0.5356475114822388, -0.17188364267349243, -0.6716640591621399, -1.1782103776931763, -0.26470136642456055, 0.008359026163816452, -0.5335723757743835, -0.07951129972934723, 0.5994291305541992, -0.00009239988139597699, 1.0199280977249146, -0.25848090648651123, -0.16678129136562347, -0.1714448481798172, 0.21192635595798492, 0.2102980762720108, 0.4505111277103424, 0.36421695351600647, -0.5208725929260254, -0.08096875250339508, -0.06537970900535583, -0.8365238308906555, -0.3310900032520294, -0.07402294129133224, -0.279435932636261, 0.026665423065423965, 0.49168622493743896, -0.4381304383277893, 0.5238620042800903, 0.3400645852088928, -0.1896543651819229, 0.6914275884628296, -0.21910029649734497, -0.13688740134239197, -0.9320672154426575, -0.0996314138174057, -0.011936037801206112, 0.007433612365275621, -0.4331374764442444, -0.057973768562078476, -0.01917951926589012, 0.2421189397573471, -0.41981199383735657, 0.3896039128303528, -0.6365584135055542, -0.2315150946378708, -0.39046117663383484, 0.02026504836976528, 0.01090636570006609, 0.48798927664756775, 0.17159131169319153, 0.7819139361381531, 0.7660353779792786, -0.7932571172714233, 0.20925749838352203, 0.2824886739253998, -0.7369483113288879, 0.7189354300498962, -0.8651971220970154, 0.04076239466667175, -0.15942220389842987, -0.0780988335609436, -1.040819525718689, -0.39140644669532776, 0.19125494360923767, -0.20902332663536072, 0.21658621728420258, -0.18938446044921875, -0.3618834614753723, 0.028746221214532852, -0.2700003981590271, 0.08022269606590271, 0.417117714881897, -0.4942288100719452, 1.1390588283538818, 0.1623082458972931, -0.1528371274471283, -0.5577455759048462, -0.7915865182876587, -0.2961025536060333, -0.15647217631340027, -0.48621436953544617, 0.8037427663803101, -0.2847846448421478, -0.3206625282764435, 0.116737000644207, -0.27362537384033203, 0.033637795597314835, 0.2489416003227234, 0.42135709524154663, 0.25939303636550903, -0.34630900621414185, 0.03823329880833626, 0.5719864368438721, -0.2334512621164322, 0.29733145236968994, -0.06278815865516663, 0.23404262959957123, -0.1954183578491211, -0.7399556636810303, -0.8995751142501831, 0.22302258014678955, 0.35865768790245056, -0.2468336969614029, 0.6381518840789795, 0.2045697420835495, -0.13600169122219086, -0.48509061336517334, -0.09522196650505066, -0.3590208888053894, -0.5432493090629578, 0.49204859137535095, -0.32601359486579895, -0.46999838948249817, 0.4586293697357178, -0.4303017556667328, 0.5393404364585876, 0.019619513303041458, 0.4576368033885956, -0.2643657326698303, 0.8761499524116516, 0.37741637229919434, 0.25080209970474243, 0.3674790859222412, -0.380342960357666, -0.1114283949136734, -0.8882715702056885, -0.3078480064868927, -0.20484291017055511, -0.6308200359344482, -0.04599570110440254, -0.2632947862148285, 0.1771649867296219, 0.20533937215805054, -0.39072364568710327, 0.004972696769982576, -0.5307966470718384, 0.7254014611244202, 0.4773160517215729, 0.427801251411438, 0.4924204349517822, 0.2682962119579315, -0.0915389433503151, -0.07151871174573898, -0.7060936689376831, -0.38831669092178345, 0.8498178720474243, 0.3252668082714081, 0.5835500359535217, 0.25725385546684265, 0.5958525538444519, 0.173479825258255, 0.4469737112522125, -0.8970721364021301, 0.6904667019844055, -0.21778234839439392, -0.4532056450843811, 0.030194459483027458, -0.3014217019081116, -0.5040743350982666, 0.17628687620162964, -0.37907513976097107, -0.7249265909194946, 0.024454761296510696, 0.401355504989624, -0.22044357657432556, 0.16898082196712494, -0.7898658514022827, 0.4804776906967163, -0.5616948008537292, -0.3387426733970642, -0.16211923956871033, -0.5088061094284058, 0.5592034459114075, 0.026827743276953697, 0.17002901434898376, -0.09997134655714035, -0.4483286738395691, 0.6183651089668274, -0.37271368503570557, 1.209531545639038, -0.10003127157688141, -0.14253388345241547, 0.1734291911125183, 0.12312847375869751, 0.2928617298603058, 0.04844171553850174, -0.431476891040802, 0.10520127415657043, -0.4071202278137207, -0.34818562865257263, -0.860522985458374, 0.5715586543083191, -0.6098679304122925, -0.7659220695495605, 0.08695200830698013, -0.8597100377082825, -0.43972936272621155, 0.03906923532485962, 0.4304952323436737, 0.38499608635902405, 0.036478787660598755, 0.1388748288154602, 0.862687349319458, 0.028817452490329742, 0.43385010957717896, 0.4481821358203888, 0.16602341830730438, -0.42231398820877075, 0.8523304462432861, -0.07230693846940994, 0.36740627884864807, 0.600957989692688, 0.14482234418392181, -0.41285276412963867, -0.9464330673217773, -0.4280279576778412, 0.202346533536911, -0.6959125995635986, -0.29860153794288635, -0.16105122864246368, -0.31974321603775024, 0.030770910903811455, -0.4193226397037506, -0.33613646030426025, -0.450055330991745, -0.3173336386680603, -0.4892481565475464, 0.4304240942001343, 0.4606735408306122, -0.0636838972568512, 0.39341211318969727, -0.4040057957172394, 0.36513152718544006, 0.16375161707401276, 0.35475021600723267, 0.0445181243121624, -0.8448086977005005, -0.20062851905822754, 0.2097213864326477, -0.08918607980012894, -0.7193769216537476, -0.07036419957876205, 0.4953114092350006, 0.9958576560020447, 0.7033374309539795, 0.293856680393219, 0.6914528608322144, -0.2167128324508667, 0.30759111046791077, 0.0573093518614769, -1.1675105094909668, 0.6316536068916321, 0.023103438317775726, 0.35728564858436584, 0.5490828156471252, 0.36106690764427185, 0.31363433599472046, -0.49382027983665466, -0.4787927269935608, -1.0700873136520386, 0.6129845380783081, 0.3055429458618164, 0.052546314895153046, 0.290911465883255, 0.5434846878051758, 0.3008013665676117, 0.2008381336927414, -0.4981217384338379, -0.31660065054893494, -0.1679699718952179, -0.5817841291427612, 0.3065798878669739, -0.14399108290672302, -0.37295836210250854, -0.2947324216365814, 0.6696004271507263, -0.16361437737941742, 0.21164275705814362, -0.12169443070888519, -0.20421983301639557, 0.11528464406728745, 0.11931904405355453, 0.507436215877533, 1.0348906517028809, -0.1540900617837906, 0.14136001467704773, 0.1690499633550644, -0.3876613974571228, 0.11063288897275925, 0.09861074388027191, -0.30145344138145447, -0.1657174825668335, 0.7813446521759033, 0.6806154251098633, 0.3207831382751465, -0.6991108655929565, 0.3066423535346985, 0.20961079001426697, -0.4842968285083771, -0.36794009804725647, 0.5134074687957764, 0.35563838481903076, 0.12419058382511139, 0.45112213492393494, 0.05583451688289642, 0.07460108399391174, -0.20852582156658173, 0.31773641705513, 0.3995770514011383, -0.059204015880823135, -0.30202117562294006, 0.6440079212188721, 0.389853835105896, -0.37830641865730286, 0.5926268100738525, -0.07051415741443634, -0.089879110455513, 0.6980754733085632, 0.6440433263778687, 0.8019052743911743, -0.2948692739009857, 0.30813318490982056, 0.08851911872625351, 0.18498970568180084, 0.022463936358690262, 0.2892378270626068, -0.2703075110912323, -0.9004427194595337, -0.8357962965965271, -0.6005105972290039, -0.3894440233707428, 0.11524265259504318, -0.7188174724578857, 0.010126124136149883, -0.6121290326118469, 0.29109126329421997, -0.026938777416944504, -0.22835075855255127, -0.3144516944885254, -0.04305047541856766, -0.2133771777153015, 0.9359327554702759, -1.0551573038101196, 0.3742884397506714, 0.8271242380142212, -0.2870137691497803, -0.4370113015174866, -0.016185780987143517, 0.1456243395805359, -0.768129289150238, 0.4846712350845337, 0.2261226773262024, -0.4577549993991852, 0.20892341434955597, -0.5705466866493225, -0.5108398795127869, 1.225298285484314, 0.8408387899398804, -0.44207924604415894, 0.18280448019504547, -0.06486885249614716, 0.41711872816085815, -0.6016226410865784, 0.16422006487846375, 0.6501837968826294, 0.49670490622520447, 0.16129186749458313, -0.5173822641372681, 0.07605281472206116, -0.15561753511428833, -0.028006600216031075, 0.08062949776649475, -0.12322089076042175, 0.33363035321235657, -0.39963388442993164, -0.408110111951828, 0.24296732246875763, 0.948157787322998, 0.5440394878387451, 0.3579157292842865, 0.5033097863197327, 0.5242549180984497, 0.6980945467948914, 0.06320465356111526, 0.8723136186599731, -0.4016859531402588, -0.2696342170238495, 1.3098814487457275, 0.01570608839392662, 0.685318648815155, 0.3699905574321747, -0.03888256475329399, 0.8915625810623169, 0.5233355760574341, 0.18644198775291443, 0.5321885943412781, 0.09962698072195053, -0.5714166164398193, -0.334661602973938, 0.024642447009682655, -0.13675779104232788, 0.5925348401069641, 0.7189568281173706, -0.5118961334228516, -0.11910900473594666, -0.1946088969707489, -0.11677908152341843, 0.40879979729652405, -0.6128726005554199, 0.7914870381355286, 0.0614309124648571, -0.502705991268158, 0.5147711038589478, -0.05056789144873619, 0.6401306986808777, -0.6826989054679871, -0.20902122557163239, -0.2716033160686493, 0.26099491119384766, -0.7177541851997375, -0.849667489528656, 0.451224148273468, -0.3972479999065399, -0.20232437551021576, -0.07392387837171555, 0.5624861717224121, -0.284403532743454, -0.5118024349212646, 0.10353025794029236, 0.6100150942802429, 0.2591220736503601, 0.1769213229417801, -0.7702648639678955, -0.13642455637454987, 0.11218176782131195, -0.08375562727451324, 0.3027553856372833, 0.3606107234954834, 0.10425905138254166, 0.7596963047981262, 0.4578888714313507, 0.1411345899105072, -0.35008013248443604, -0.08260548114776611, 0.704986572265625, -0.25190943479537964, -0.2475450336933136, -0.8870935440063477, 0.8338006138801575, -0.24456608295440674, -0.18074682354927063, 0.6709019541740417, 0.6383388042449951, 0.5986689925193787, -0.1256047636270523, 0.894204318523407, 0.022469570860266685, 0.36830148100852966, -0.8912035226821899, 0.344512403011322, -0.34730663895606995, 0.7282120585441589, 0.07554206997156143, -0.7928684949874878, -0.24619118869304657, 0.6947606801986694, -0.399693101644516, 0.04119042307138443, 0.44865795969963074, 1.0517035722732544, -0.36211660504341125, 0.11095091700553894, 0.06815452128648758, 0.15362420678138733, -0.09142165631055832, 0.5628212690353394, 0.6342907547950745, 0.027973037213087082, 0.4321865439414978, -0.35027360916137695, -0.5147801041603088, 0.055124927312135696, -0.984483003616333, -1.048162817955017, -0.3105050027370453, -0.48212701082229614, -0.14128483831882477, 0.07494114339351654, 0.6676518321037292, 0.6067478060722351, -0.8918620347976685, -0.2794998288154602, -0.49841779470443726, 0.4022987484931946, -0.7025289535522461, -0.24916215240955353, 0.5993897318840027, -0.1695060282945633, -0.7453784346580505, 0.6975995302200317, 0.4299866259098053, 0.04164576902985573, -0.22617313265800476, -0.10559303313493729, -0.19588857889175415, 0.003831901354715228, 0.517826497554779, 0.4714362919330597, -0.570268452167511, -0.06036053225398064, -0.15956759452819824, 0.40802353620529175, -0.05324118584394455, 0.8181454539299011, -0.6804004907608032, 0.2888983190059662, 0.4191645085811615, 0.8257396817207336, 0.12503370642662048, 0.45378315448760986, 0.862309455871582, -1.0321592092514038, 0.16152821481227875, 0.29359644651412964, 0.4379374384880066, 0.3687679171562195, -0.4529459476470947, 0.5547667741775513, 0.07527211308479309, -0.3479386866092682, -0.5592921376228333, 0.5475156307220459, -0.726935863494873, -0.5696108937263489, 0.9431596994400024, -0.18926602602005005, -0.25532931089401245, -0.6024300456047058, 0.011316266842186451, -0.0801357850432396, -0.24802257120609283, 0.7986836433410645, 0.378086656332016, -0.9057467579841614, -0.36829888820648193, -0.39971646666526794, 0.4137929677963257, 0.4212232232093811, -0.9011836647987366, -0.025455648079514503, 0.49196434020996094, 0.3090205788612366, 0.09338922053575516, 0.4325788915157318, -0.07321559637784958, 0.34908708930015564, 0.06090010330080986, -0.0377822108566761, -0.5097925662994385, -0.12408105283975601, -0.10592665523290634, 0.13219912350177765, -0.0781463161110878, -0.335825651884079 ]
http://arxiv.org/abs/2402.10645v1
http://arxiv.org/pdf/2402.10645v1
Can Separators Improve Chain-of-Thought Prompting?
2024-02-16T12:46:16
2024-02-16T12:46:16
Yoonjeong Park, Hyunjin Kim, Chanyeol Choi, Junseong Kim, Jy-yong Sohn
cs.CL
cs.CL, cs.AI
Chain-of-thought (CoT) prompting is a simple and effective method for improving the reasoning capabilities of Large language models (LLMs). The basic idea of CoT is to let LLMs break down their thought processes step-by-step by putting exemplars in the input prompt. However, the densely structured prompt exemplars of CoT may cause the cognitive overload of LLMs. Inspired by human cognition, we introduce CoT-Sep, a novel method that strategically employs separators at the end of each exemplar in CoT prompting. These separators are designed to help the LLMs understand their thought processes better while reasoning. It turns out that CoT-Sep significantly improves the LLMs' performances on complex reasoning tasks (e.g., GSM-8K, AQuA, CSQA), compared with the vanilla CoT, which does not use separators. We also study the effects of the type and the location of separators tested on multiple LLMs, including GPT-3.5-Turbo, GPT-4, and LLaMA-2 7B. Interestingly, the type/location of separators should be chosen appropriately to boost the reasoning capability of CoT.
[ -0.8312956094741821, -0.9333204030990601, 0.8200292587280273, -0.007324848789721727, -0.6171959042549133, 0.506759762763977, -0.36466601490974426, -0.5410311222076416, 0.23420710861682892, 0.47570765018463135, -0.309339314699173, -0.22498942911624908, -0.5239258408546448, 0.30318552255630493, -0.32899412512779236, 1.009313941001892, -0.15458087623119354, -0.046013083308935165, 0.039785321801900864, 0.13445143401622772, -0.7170755863189697, -0.6947752237319946, -0.7637097835540771, -0.17978830635547638, 0.784213662147522, 0.31170767545700073, 0.4525800943374634, 0.41466811299324036, 0.4447774291038513, 0.31252172589302063, -0.6630129814147949, 0.5415685176849365, -0.3171193301677704, 0.4134642481803894, -0.42733290791511536, -0.6878651976585388, -0.21822282671928406, -0.20646502077579498, 0.4817488193511963, 0.5338214635848999, -0.17293015122413635, -0.14567184448242188, 0.030641892924904823, 0.823584794998169, -0.8875266909599304, -0.17416319251060486, -0.5913439989089966, -0.05513577163219452, -0.09716013073921204, -0.16494859755039215, -0.6084670424461365, -0.36959710717201233, 0.16456389427185059, -0.2095380276441574, 0.09907294064760208, 0.15094874799251556, 0.5295243263244629, 0.21429698169231415, -0.3305583894252777, -0.22210507094860077, -0.7697631120681763, 0.6362190246582031, -0.3039712607860565, 0.24490833282470703, 0.06228550896048546, 0.4155687987804413, -0.39475709199905396, -0.525282084941864, -0.685748279094696, 0.0889035239815712, -0.014773405157029629, -0.061840128153562546, 0.15523391962051392, 0.24674129486083984, 0.6078886389732361, 0.2206580489873886, -0.07209651172161102, -0.09344339370727539, -0.800571084022522, -0.08866386860609055, 0.36522749066352844, 0.24109677970409393, 0.44644445180892944, 0.11581474542617798, -0.5293799042701721, -0.003601298201829195, -0.8580471277236938, 0.25752273201942444, 0.09273908287286758, 0.2690857946872711, 0.2014053612947464, 0.27005070447921753, -0.043990299105644226, 0.7668721675872803, 0.22000940144062042, -0.275533527135849, -0.10777583718299866, -0.2216709703207016, -0.154495969414711, 0.3219478130340576, 0.6501091122627258, 0.2146080583333969, 0.31554365158081055, 0.14856697618961334, -0.31977957487106323, 0.0803404301404953, 0.1416884958744049, -0.6844977736473083, -0.39857593178749084, 0.24700909852981567, -0.26491326093673706, -0.25061899423599243, 0.10193948447704315, -0.7169203162193298, -0.44941189885139465, -0.43983015418052673, 0.18656213581562042, -0.3291400969028473, -0.2587875723838806, 0.13735787570476532, -0.32808929681777954, 0.2465670257806778, 0.5361464023590088, -0.8475679755210876, 0.42628607153892517, 0.5855619311332703, 0.7372880578041077, -0.28420326113700867, -0.23729592561721802, -0.8510023355484009, 0.08464501798152924, -0.3662790358066559, 1.2619798183441162, -0.7860221266746521, -0.3272634744644165, -0.27598243951797485, -0.09663025289773941, -0.28578463196754456, -0.7070831656455994, 0.46308469772338867, -0.5288482308387756, 0.20279622077941895, -0.9673927426338196, -0.410368412733078, -0.19071364402770996, 0.3168848156929016, -0.8763730525970459, 0.8096473217010498, -0.17605163156986237, -0.5812276005744934, 0.4347652196884155, -0.5834041833877563, -0.4131739139556885, -0.11972338706254959, -0.48504048585891724, 0.03992259129881859, 0.05264408513903618, 0.660810112953186, 0.003709181910380721, -0.6539092063903809, 0.22413860261440277, -0.235409677028656, -0.3344874382019043, 0.5014575719833374, -0.3579631745815277, 0.7278158068656921, 0.19350697100162506, -0.2514776885509491, 0.16350466012954712, -0.4931410551071167, 0.13002029061317444, -0.27497515082359314, -0.20920148491859436, -0.24385926127433777, -0.04461770877242088, -0.43514302372932434, 0.6722899675369263, -0.06434998661279678, -0.4753361940383911, 0.15425631403923035, -0.14428472518920898, 0.43109849095344543, 0.853018581867218, 0.1655782163143158, 0.45000338554382324, -0.31900545954704285, 0.7812408804893494, 0.30876120924949646, 0.11909245699644089, -0.13231933116912842, -0.6099464893341064, -0.7662818431854248, -0.6704290509223938, 0.22008833289146423, 0.37433040142059326, -0.734737753868103, 0.5381857752799988, 0.3200652003288269, -0.27245670557022095, -0.37171056866645813, 0.0753779411315918, 0.44311946630477905, 0.5599921941757202, 0.47775891423225403, -0.30763548612594604, -0.5696483850479126, -0.3918922245502472, -0.09082610160112381, -0.15473726391792297, 0.20657995343208313, -0.2681027948856354, 0.3774060010910034, 0.2566004991531372, 0.9856163263320923, -0.6742255687713623, 0.03601713478565216, -0.5107017755508423, -0.09030619263648987, 0.11358171701431274, 0.22183075547218323, 0.18360714614391327, -0.4829067587852478, -0.21602599322795868, -0.09753163158893585, -0.5337960124015808, -0.1965004950761795, -0.26930510997772217, -0.686730682849884, 0.01604020968079567, 0.4965253472328186, -0.9204171895980835, 0.46019935607910156, 0.13967488706111908, -0.3297983705997467, 0.9715810418128967, -0.19430376589298248, 0.03421597182750702, -0.8932898640632629, -0.09274933487176895, -0.46007174253463745, -0.11967668682336807, -0.5155039429664612, -0.14478690922260284, 0.04822942242026329, 0.15722563862800598, -0.6210383176803589, 0.3288135826587677, -0.5846439599990845, 0.010752540081739426, -0.4012601673603058, 0.36498257517814636, 0.4402174949645996, 0.2755197584629059, 0.10448809713125229, 0.9156248569488525, 0.6233619451522827, -0.6937370300292969, 0.14103378355503082, 0.3769468367099762, -0.24429848790168762, 0.4019734859466553, -0.4801480770111084, 0.3025497794151306, -0.24292689561843872, 0.7925931215286255, -1.0131782293319702, 0.01007920689880848, 0.14652568101882935, 0.056088075041770935, -0.10328200459480286, -0.034600209444761276, -0.4050776958465576, -0.43612951040267944, -0.4224475026130676, 0.5856738090515137, 0.42734718322753906, -0.9514809250831604, 0.5045185089111328, 0.24146009981632233, -0.008873832412064075, -0.5169820189476013, -0.5980153679847717, 0.03792337328195572, -0.3373243808746338, -0.36688828468322754, 0.025164902210235596, -0.02673405408859253, -0.34254929423332214, -0.3010983467102051, -0.28155481815338135, 0.028618304058909416, -0.05850263684988022, 0.026722028851509094, 0.48072201013565063, 0.006543581373989582, 0.25759491324424744, 0.39534658193588257, -0.1669507920742035, 0.3002309799194336, -0.37507039308547974, 0.7620622515678406, -0.19659367203712463, -0.2880326509475708, -0.3445122539997101, 0.22299844026565552, 0.5817670226097107, -0.48424282670021057, 0.9178102016448975, 0.30291947722435, -0.15160971879959106, -0.27212050557136536, -0.8135493993759155, -0.18052630126476288, -0.5091325640678406, -0.3087673485279083, -0.543775737285614, -0.9061651229858398, 0.6482971906661987, -0.2729223072528839, -0.18267491459846497, 0.11838512867689133, 0.5036856532096863, -0.10630275309085846, 1.0129746198654175, 0.20585337281227112, -0.0384039469063282, 0.45480871200561523, -0.2730959355831146, 0.6161685585975647, -1.3604105710983276, -0.24095392227172852, -0.2953363358974457, -0.5115028619766235, -0.4371489882469177, -0.5905809998512268, 0.18026107549667358, 0.5619304180145264, -0.23714159429073334, 0.08254804462194443, -0.8210830688476562, 1.1363916397094727, 0.24517834186553955, 0.19167044758796692, 0.3397670090198517, -0.03753335773944855, -0.5735867023468018, 0.38033774495124817, -0.5650884509086609, -0.5631439089775085, 0.6632130146026611, -0.019534602761268616, 0.8138388395309448, 0.025195663794875145, 0.8722831010818481, -0.044733740389347076, 0.17697714269161224, -0.621173083782196, 0.7370090484619141, 0.07752091437578201, -0.499662309885025, -0.10400506854057312, -0.384051114320755, -0.9122505784034729, 0.4719351828098297, 0.07889264076948166, -1.0059677362442017, 0.45475587248802185, 0.025834884494543076, -0.6514375805854797, 0.5909972786903381, -0.740847110748291, 0.4326127767562866, -0.3147808015346527, -0.15842494368553162, -0.08993358910083771, -0.6472111344337463, 0.2824098467826843, -0.042472124099731445, -0.01949724182486534, -0.07160946726799011, -0.1604335457086563, 0.7278302907943726, -0.8571288585662842, 0.7293080687522888, -0.1434684544801712, -0.19394242763519287, 0.8554765582084656, 0.19429579377174377, 0.649551272392273, -0.21010714769363403, -0.05329370126128197, -0.18603461980819702, -0.11818563938140869, -0.1985984742641449, -0.874356210231781, 0.42831870913505554, -0.6426199078559875, -0.7809171676635742, -0.26124054193496704, -0.5734601616859436, -0.039627742022275925, 0.04398495331406593, 0.2940889894962311, 0.49508339166641235, 0.37545502185821533, -0.062260884791612625, 0.5635783076286316, -0.055065784603357315, 0.45001375675201416, 0.1401098072528839, -0.300106018781662, -0.8361719250679016, 0.5768325328826904, 0.15913181006908417, 0.6276664733886719, 0.299669474363327, 0.34320932626724243, -0.5165572166442871, -0.3163670003414154, -0.3649905025959015, 0.2663079798221588, -0.987836480140686, -0.22094707190990448, -0.7418252825737, -0.20665110647678375, 0.0054227435030043125, -0.4351968765258789, -0.025768805295228958, -0.7396687865257263, -0.050838571041822433, -0.5360112190246582, 0.514100968837738, 0.7654291391372681, 0.08396115899085999, 0.16742266714572906, -0.7253527045249939, 0.1782313585281372, 0.4208208918571472, 0.1029256135225296, 0.18392175436019897, -0.23044438660144806, 0.011077811941504478, -0.12505054473876953, -0.3509078621864319, -0.6798790693283081, 0.1385059505701065, -0.2863772511482239, 0.3955020606517792, 0.5763034820556641, 0.23133845627307892, 1.1153613328933716, -0.33087459206581116, 0.8220230937004089, 0.4062514901161194, -1.02752685546875, 0.693632185459137, -0.2333420217037201, 0.49066609144210815, 0.6681492328643799, 0.029334656894207, -0.3768061101436615, -0.7929266095161438, -0.42081964015960693, -0.8458842039108276, 0.6846908926963806, 0.2509942352771759, -0.41995152831077576, -0.552643358707428, 0.26089373230934143, 0.1188584715127945, 0.08821163326501846, -0.31723538041114807, 0.17079955339431763, 0.4203653633594513, -0.06918861716985703, 0.36429160833358765, -0.2215135544538498, -0.14424681663513184, -0.25818684697151184, 0.389700710773468, -0.0035024299286305904, 0.10250650346279144, 0.4134032130241394, -0.20847833156585693, -0.13318444788455963, 0.36734089255332947, 0.5489585995674133, 0.773090124130249, 0.09862160682678223, 0.5601999163627625, 0.6302711367607117, -0.41964882612228394, 0.4881739914417267, -0.33903422951698303, -0.18450284004211426, -0.26744216680526733, 0.20268826186656952, 0.5867727994918823, -0.21456080675125122, -0.6893898844718933, 0.12499456107616425, -0.28052741289138794, 0.06814388930797577, 0.034393541514873505, 0.39032700657844543, 0.04712899029254913, 0.2901325523853302, 0.06561443209648132, 0.24570783972740173, 0.07696643471717834, -0.4140617847442627, 0.010983173735439777, 0.019981516525149345, -0.3164908289909363, -0.1761840432882309, 0.5040060877799988, 0.47217637300491333, -0.34419602155685425, 0.4723360538482666, -0.15262770652770996, -0.811336874961853, 0.7529837489128113, 0.8253894448280334, 1.002403974533081, -0.19783170521259308, 0.049864862114191055, 0.23801781237125397, 0.3162462115287781, -0.4093359410762787, 0.4160352349281311, -0.5333309769630432, -0.6897602677345276, -0.6625252366065979, -0.2754650413990021, -0.5439682602882385, -0.2207043468952179, -0.6198241710662842, 0.3723870515823364, -0.6452585458755493, -0.3296529948711395, -0.3924616873264313, -0.12483466416597366, -0.5385082960128784, 0.12438417226076126, 0.4120376408100128, 0.9459735751152039, -0.6303814053535461, 0.7021832466125488, 0.5779971480369568, -0.39154306054115295, -1.0492439270019531, 0.1394125074148178, -0.04376423731446266, -0.16492223739624023, 0.5232993960380554, 0.5865514278411865, -0.6013363003730774, -0.411112904548645, -0.39513564109802246, -0.9410203099250793, 1.0330049991607666, 0.32282599806785583, -0.7427161931991577, 0.15664063394069672, 0.2516742944717407, 0.6270197629928589, -0.45040348172187805, 0.7277864217758179, 0.8276817202568054, 0.2934282720088959, 0.02628450281918049, -0.7907757759094238, 0.4262292683124542, -0.1356368064880371, 0.14347834885120392, 0.6175373792648315, -0.7496146559715271, 0.8339653611183167, -0.4741494357585907, -0.170548215508461, -0.015326528809964657, 0.42943626642227173, 0.8936081528663635, 0.15380993485450745, 0.8099977970123291, 0.474124550819397, 1.2921346426010132, 0.017314907163381577, 0.8144091367721558, -0.247395858168602, 0.06892723590135574, 1.3260687589645386, -0.6239974498748779, 0.8415799736976624, 0.6422788500785828, 0.0393519401550293, 0.9398380517959595, 0.3539649248123169, 0.5193026661872864, 0.30657216906547546, 0.3497322201728821, -0.5570750832557678, -0.3286453187465668, -0.10156840085983276, -0.27496081590652466, 0.17538981139659882, 0.48526424169540405, -0.2838013768196106, -0.141355499625206, 0.11721903085708618, 0.12591855227947235, -0.23486025631427765, -0.09656640142202377, 0.8328149318695068, 0.2892352342605591, -0.9717212319374084, 0.748236894607544, -0.5822126865386963, 0.21229329705238342, -0.2960550785064697, 0.025194087997078896, -0.1351729780435562, 0.2544149160385132, -0.2863284647464752, -1.0046995878219604, 0.13720421493053436, 0.25499802827835083, -0.06347449123859406, -0.1882789134979248, 0.8286498188972473, -0.5075974464416504, -0.36978796124458313, 0.5778658986091614, 0.5042718052864075, 0.22915522754192352, -0.12047675997018814, -0.3987935483455658, 0.2015577256679535, -0.04725320637226105, -0.23670588433742523, 0.1716803014278412, 0.8456569314002991, -0.3914509415626526, 0.7379963994026184, 0.8925865888595581, 0.06550154089927673, -0.12532958388328552, 0.5069509744644165, 1.3046562671661377, -0.986026406288147, -0.618927538394928, -1.0878880023956299, 0.549400269985199, -0.3239940404891968, -0.23300054669380188, 0.36586567759513855, 0.5408603549003601, 0.6637758016586304, 0.21032962203025818, 0.7911539077758789, -0.11441528052091599, 0.11136632412672043, -0.5223684310913086, 0.39315080642700195, 0.04576814919710159, 0.6201245188713074, -0.25718772411346436, -0.981620728969574, -0.24717675149440765, 0.46955135464668274, -0.5978638529777527, -0.06111231818795204, 1.2465707063674927, 0.7962696552276611, 0.2056964784860611, 0.49162280559539795, 0.1895257532596588, 0.0779304951429367, 0.6881972551345825, 0.5383676886558533, 1.4677574634552002, -0.04655420780181885, 0.678950846195221, -0.2596796154975891, -0.1808588206768036, 0.07423499971628189, -0.5016741752624512, -1.2135316133499146, -0.20331871509552002, -0.24399039149284363, -0.2900683283805847, 0.05912423133850098, 1.349319577217102, 0.47992515563964844, -0.6712732315063477, -0.2120971828699112, -0.4407336413860321, 0.35122859477996826, -0.2625068128108978, -0.20227859914302826, 0.26011812686920166, -0.6216238737106323, -0.24608804285526276, 0.29353347420692444, 0.46668946743011475, -0.2404565066099167, -0.07395472377538681, 0.10592454671859741, -0.22959108650684357, 0.14972655475139618, 0.8437812328338623, -0.12765957415103912, -0.855793833732605, -0.40551021695137024, -0.1810750812292099, 0.12733131647109985, 0.2258334457874298, 0.99723219871521, -1.049767017364502, 0.593361496925354, 0.8481581807136536, 0.283777117729187, 0.36584487557411194, 0.2778123915195465, 0.6798515319824219, -0.43284469842910767, 0.15845170617103577, 0.13226592540740967, 0.518516480922699, 0.1343681961297989, -0.5119835138320923, 0.4456777274608612, -0.042185746133327484, -0.6528990268707275, -0.6361420750617981, 0.2895960211753845, -0.9213286638259888, -0.15009267628192902, 1.2214471101760864, -0.02465064451098442, -0.623103678226471, -0.2587665915489197, -0.7911564111709595, 0.08496087044477463, -0.6728538274765015, 0.9066566824913025, 0.8158281445503235, -0.3245653212070465, -0.23587088286876678, -0.01821749471127987, 0.27487653493881226, 0.45057496428489685, -1.207971215248108, 0.2380971908569336, 0.1742384135723114, 0.10487087815999985, 0.271590918302536, 0.6351154446601868, -0.24510444700717926, 0.4317561984062195, -0.0660468190908432, -0.046177156269550323, 0.233985036611557, -0.5499773025512695, -0.14842654764652252, 0.0036717639304697514, 0.05716399848461151, -0.18931204080581665 ]
http://arxiv.org/abs/2402.10644v2
http://arxiv.org/pdf/2402.10644v2
Linear Transformers with Learnable Kernel Functions are Better In-Context Models
2024-02-16T12:44:15
2024-06-05T14:13:22
Yaroslav Aksenov, Nikita Balagansky, Sofia Maria Lo Cicero Vaina, Boris Shaposhnikov, Alexey Gorbatovski, Daniil Gavrilov
cs.LG
cs.LG, cs.CL
Advancing the frontier of subquadratic architectures for Language Models (LMs) is crucial in the rapidly evolving field of natural language processing. Current innovations, including State Space Models, were initially celebrated for surpassing Transformer performance on language modeling tasks. However, these models have revealed deficiencies in essential In-Context Learning capabilities - a domain where the Transformer traditionally shines. The Based model emerged as a hybrid solution, blending a Linear Transformer with a kernel inspired by the Taylor expansion of exponential functions, augmented by convolutional networks. Mirroring the Transformer's in-context adeptness, it became a strong contender in the field. In our work, we present a singular, elegant alteration to the Based kernel that amplifies its In-Context Learning abilities evaluated with the Multi-Query Associative Recall task and overall language modeling process, as demonstrated on the Pile dataset.
[ -0.22127765417099, -0.6842712163925171, 0.3739514946937561, -0.061218854039907455, -0.025028081610798836, 0.08405736833810806, -0.1600644439458847, -0.39330974221229553, 0.2633921802043915, 0.19414696097373962, -0.13117733597755432, -0.06616504490375519, -0.5846686959266663, 0.000017689466403680854, -0.8284507989883423, 0.9381563067436218, 0.1421041339635849, -0.06444629281759262, -0.5021287798881531, -0.35391414165496826, -0.2963904142379761, -0.5305351614952087, -0.3626278042793274, -0.5178771018981934, 0.21324308216571808, 0.07090821117162704, 0.8428372144699097, 0.22904391586780548, 0.17538490891456604, 0.2940143644809723, -0.14936530590057373, -0.002351653529331088, -0.522089421749115, 0.14797520637512207, -0.0027484439779073, -0.3563675582408905, -0.3345791697502136, -0.26798081398010254, 0.6876795887947083, 0.9266493320465088, -0.29340341687202454, -0.1609249711036682, 0.17381209135055542, 0.583696722984314, -0.594914972782135, 0.15161237120628357, -0.867755651473999, -0.037884052842855453, 0.07326386123895645, -0.12914763391017914, -0.7544307708740234, -0.20554213225841522, 0.2675386071205139, -0.668589174747467, 0.24029594659805298, -0.07573648542165756, 0.6770113110542297, 0.21445365250110626, -0.38557010889053345, -0.3979499042034149, -0.9272412061691284, 0.784005343914032, -0.6305489540100098, 0.816992998123169, 0.017818428575992584, 0.45995450019836426, -0.27788469195365906, -0.9768142104148865, -0.6288198232650757, -0.2903505563735962, -0.370538592338562, 0.08775461465120316, -0.20691634714603424, -0.13467352092266083, 0.10940128564834595, 0.5750765204429626, -0.22586959600448608, 0.1442040205001831, -0.41848766803741455, -0.23824603855609894, 0.16850478947162628, 0.035911574959754944, 0.1381133645772934, -0.1784781962633133, -0.5530453324317932, -0.14557529985904694, -0.7602632641792297, 0.4734399914741516, 0.04071618616580963, 0.40029963850975037, -0.11643525213003159, 0.30420875549316406, -0.0687207579612732, 0.6240121126174927, 0.0982530489563942, -0.05339328944683075, 0.15882942080497742, -0.0212444756180048, -0.26405391097068787, -0.2145582139492035, 0.4016556441783905, -0.1300346851348877, -0.012657335959374905, -0.21095158159732819, -0.50033038854599, 0.1259383261203766, 0.47492241859436035, -0.49238452315330505, -0.44347846508026123, 0.18031302094459534, -0.3909724950790405, 0.059669915586709976, 0.0011544323060661554, -0.4663933217525482, -0.3095061779022217, -0.31824159622192383, 0.5287133455276489, -0.6342725157737732, -0.15309788286685944, 0.08545593172311783, 0.05297597497701645, 0.30144402384757996, 0.2596445381641388, -0.9162308573722839, 0.5139345526695251, 0.7196984887123108, 0.7482823133468628, -0.10281568765640259, 0.14528068900108337, -0.6399301290512085, -0.12380935996770859, -0.34807467460632324, 0.7013968825340271, -0.737223744392395, -0.5965518355369568, 0.24329647421836853, -0.20228031277656555, -0.1579391360282898, -0.6235160231590271, 0.5828394889831543, -0.7731186747550964, 0.4074651598930359, -0.20875516533851624, -0.6662166714668274, -0.27588289976119995, -0.016460178419947624, -0.8165712952613831, 1.3256703615188599, 0.3385532796382904, -0.5240635275840759, 0.41882142424583435, -0.7730860114097595, -0.5308361649513245, 0.5410398244857788, -0.18149082362651825, -0.4717462956905365, 0.1664930135011673, 0.24568848311901093, 0.4822690486907959, 0.041218601167201996, 0.39590224623680115, -0.18057698011398315, -0.3299233913421631, 0.0792645737528801, -0.09134534746408463, 0.7454541921615601, -0.007246048655360937, -0.1275414228439331, 0.26285722851753235, -0.7457376718521118, -0.289052814245224, -0.1215323731303215, -0.3223952353000641, -0.6695197224617004, 0.2422035187482834, -0.0016542237717658281, 0.18224963545799255, 0.12288033217191696, -0.6153645515441895, -0.07890042662620544, -0.531661331653595, 0.46084168553352356, 0.4803670048713684, -0.3542037904262543, 0.9175518751144409, -0.20530809462070465, 0.49749496579170227, 0.045722343027591705, 0.03633437305688858, -0.4733654260635376, -0.3837217688560486, -0.9645789861679077, -0.4625515639781952, 0.141480952501297, 0.4712376296520233, -1.0119556188583374, 0.30025604367256165, -0.3922325074672699, -0.5046991109848022, -0.46558502316474915, -0.06763672083616257, 0.244382843375206, 0.8435781002044678, 0.6106159090995789, -0.16051948070526123, -0.401543527841568, -1.0800527334213257, -0.19565030932426453, 0.04439789801836014, -0.001457904581911862, 0.43079379200935364, 0.4350496530532837, -0.20282723009586334, 1.2368844747543335, -0.21848636865615845, -0.29220178723335266, -0.4883686304092407, -0.1239871233701706, 0.37273961305618286, 0.361644446849823, 0.45658954977989197, -0.920117199420929, -0.42757928371429443, 0.14113198220729828, -0.7120264172554016, 0.0683574378490448, 0.07703790813684464, 0.1432136744260788, 0.2794465124607086, 0.5886768102645874, -0.640837550163269, 0.20908020436763763, 0.42697393894195557, -0.1624445766210556, 0.3921000361442566, -0.28367865085601807, -0.1910286545753479, -1.0408474206924438, 0.08965976536273956, 0.05234856531023979, -0.3064233958721161, -0.9009265303611755, 0.16002273559570312, 0.4938349425792694, -0.01007081288844347, -0.53310227394104, 0.4602077007293701, -0.21263407170772552, -0.113991878926754, -0.14700019359588623, 0.035656899213790894, -0.24019990861415863, 0.5176094174385071, -0.1307978332042694, 0.7757177948951721, 0.6822221875190735, -0.688713788986206, 0.15474016964435577, 0.2821372151374817, -0.45689094066619873, 0.35798463225364685, -0.5768808722496033, 0.13847537338733673, -0.4534716308116913, 0.6400179862976074, -1.0551737546920776, -0.09870004653930664, -0.1876477748155594, -0.04559743404388428, 0.20409633219242096, 0.05335946008563042, -0.4589148461818695, -0.24750511348247528, -0.058251071721315384, 0.5132041573524475, 0.5534833073616028, -0.7604881525039673, 1.0059523582458496, 0.4897138178348541, -0.040528345853090286, -0.4494572579860687, -0.23414823412895203, -0.04110627621412277, -0.25967177748680115, -0.44023898243904114, 0.4936126470565796, 0.1964322030544281, -0.17382270097732544, -0.12630341947078705, -0.09039871394634247, -0.0052454727701842785, -0.05881554260849953, -0.025808608159422874, 0.30923226475715637, -0.27482008934020996, 0.21841152012348175, -0.05420802906155586, -0.2351418137550354, -0.09491820633411407, -0.42916256189346313, 0.4628990888595581, -0.3237544298171997, 0.0003402531147003174, -0.2626062333583832, 0.22148260474205017, 0.6108922958374023, -0.2583789527416229, 0.7859951257705688, 0.2248879373073578, -0.5306637287139893, -0.5779443979263306, -0.21163785457611084, -0.389344722032547, -0.5052937865257263, 0.4089363217353821, -0.42221125960350037, -1.2083534002304077, 0.49520665407180786, -0.048740264028310776, 0.15246926248073578, 0.5727807879447937, 0.38719385862350464, -0.19870613515377045, 0.5675376057624817, 0.9000168442726135, 0.028444189578294754, 0.521462082862854, -0.24716787040233612, 0.41874876618385315, -0.836059033870697, -0.3984140455722809, -0.34305068850517273, -0.41875767707824707, -0.5758159756660461, -0.2006721943616867, 0.7360183596611023, -0.24471162259578705, 0.0719246044754982, 0.7416144609451294, -0.23344777524471283, 0.24644775688648224, 0.4299427270889282, 0.09987363964319229, 0.12304636090993881, -0.10382842272520065, -0.47021839022636414, -0.09460136294364929, -0.9832643270492554, -0.39719852805137634, 0.7953703999519348, 0.49334120750427246, 0.6941288113594055, 0.004827444441616535, 0.21157433092594147, 0.17520493268966675, 0.4306391477584839, -0.7627069354057312, 0.4749099016189575, -0.4905846416950226, -0.30790120363235474, -0.2846602201461792, -0.2824872136116028, -0.80510413646698, 0.5655683279037476, -0.35645344853401184, -0.6688782572746277, 0.25499939918518066, 0.3815332353115082, -0.519681990146637, 0.41103050112724304, -0.7785162925720215, 0.7177037000656128, 0.022902363911271095, -0.09019572287797928, -0.2181187868118286, -0.4978775680065155, 0.324411541223526, -0.14649172127246857, 0.457332581281662, 0.2774783670902252, -0.029384823516011238, 0.41566604375839233, -0.2932911515235901, 0.7694181799888611, -0.20370768010616302, -0.34459930658340454, 0.14401137828826904, 0.36762404441833496, 0.5992477536201477, -0.1539752334356308, -0.06607739627361298, 0.08669248223304749, -0.21955864131450653, -0.25204959511756897, -0.7711842060089111, 0.6229647397994995, -0.44782328605651855, -0.46197444200515747, -0.0008862167596817017, -0.728670060634613, -0.3289644718170166, 0.030283190310001373, 0.18870048224925995, 0.8927937150001526, -0.07512976974248886, 0.5779247879981995, 0.7502266764640808, -0.2884092330932617, 0.719472348690033, 0.22338151931762695, -0.2167171686887741, -0.17312315106391907, 0.6838771104812622, 0.028995677828788757, 0.35387206077575684, 0.8661787509918213, 0.2168767750263214, -0.4739311933517456, -0.2036789506673813, -0.2358494997024536, -0.10767024755477905, -0.8195006847381592, -0.03753378987312317, -0.8150466680526733, -0.30400124192237854, -0.15441814064979553, -0.17397205531597137, -0.40178462862968445, -0.6152529716491699, 0.08110927790403366, -0.07051361352205276, 0.16055040061473846, 0.8606300354003906, 0.4153245687484741, 0.4186776876449585, -0.5089223384857178, 0.2031252235174179, 0.44043025374412537, 0.4755064845085144, 0.19063442945480347, -0.6421031355857849, -0.33186957240104675, -0.08273004740476608, -0.32628127932548523, -0.4837205111980438, 0.3616127669811249, 0.42087966203689575, 0.5474451780319214, 0.07576576620340347, -0.12205076217651367, 0.5391623973846436, -0.6661102175712585, 0.6270532608032227, 0.016622746363282204, -0.9287545680999756, 0.24604550004005432, -0.25678327679634094, 0.42934706807136536, 0.10696496069431305, 0.2675479054450989, -0.5880182981491089, -0.4737495481967926, -0.5317072868347168, -0.9852038621902466, 0.6097713708877563, 0.3519339859485626, 0.3564111590385437, 0.10650907456874847, 0.18839654326438904, 0.4941527247428894, -0.028444232419133186, -0.9772651195526123, -0.1927524209022522, -0.328041672706604, -0.11761211603879929, -0.17460326850414276, -0.12001708149909973, 0.3423803746700287, -0.4386397898197174, 0.733033299446106, -0.17302604019641876, 0.14977484941482544, 0.09618139266967773, -0.3108896315097809, -0.17028678953647614, 0.30419549345970154, 0.6210572719573975, 0.6494912505149841, 0.04032191261649132, 0.3777425289154053, 0.4065045416355133, -0.23201268911361694, -0.21633026003837585, 0.0543118380010128, -0.18497507274150848, 0.169308140873909, 0.29452547430992126, 0.7531021237373352, 0.7536053657531738, -0.49506622552871704, 0.3831588327884674, 0.1297951191663742, -0.033013902604579926, -0.3371257483959198, 0.1124543771147728, 0.07859086245298386, 0.12431424856185913, 0.7941809892654419, 0.24802254140377045, 0.2027759701013565, -0.33008891344070435, 0.5189443826675415, 0.6284050941467285, -0.6122931241989136, -0.42472323775291443, 0.6915144324302673, 0.21772444248199463, -0.5431411862373352, 0.32740479707717896, 0.14768700301647186, -0.6016343235969543, 0.2960512042045593, 0.7520307898521423, 0.754652202129364, -0.15492083132266998, 0.025173665955662727, 0.33667492866516113, 0.28251850605010986, 0.03851350024342537, -0.02886228635907173, -0.2859300374984741, -0.8359628319740295, -0.3774145841598511, -0.762876570224762, -0.17737483978271484, 0.21921759843826294, -0.4448036253452301, 0.21006333827972412, -0.3129655718803406, 0.13789469003677368, -0.013680548407137394, -0.49301570653915405, -0.3676561117172241, 0.2805635929107666, 0.03678978607058525, 1.003259301185608, -0.6967199444770813, 1.044611930847168, 0.6994427442550659, 0.0714777335524559, -0.46962207555770874, -0.0773383304476738, -0.44333046674728394, -0.6709275245666504, 0.5414949059486389, 0.16582973301410675, -0.16859464347362518, 0.00170384522061795, -0.4335560202598572, -0.8113904595375061, 0.8646146655082703, 0.2992841601371765, -0.6280748248100281, 0.20841403305530548, 0.12024317681789398, 0.6855997443199158, -0.5162843465805054, 0.19142210483551025, 0.34960606694221497, -0.11448755115270615, 0.1071111261844635, -0.9984500408172607, -0.1374509185552597, -0.12578663229942322, 0.16265247762203217, 0.7040634751319885, -0.32268932461738586, 0.8926443457603455, 0.04514547437429428, -0.27971604466438293, -0.03474615514278412, 0.947002112865448, 0.05757932737469673, -0.006177970673888922, 0.6972176432609558, 0.6824479699134827, 0.4863509237766266, -0.06308969855308533, 1.1937202215194702, -0.1645861566066742, 0.4499889612197876, 0.9390718340873718, -0.07970931380987167, 1.1801737546920776, 0.48171699047088623, -0.06297751516103745, 0.8254399299621582, 0.07738185673952103, 0.45351624488830566, 0.5888429880142212, -0.1481066793203354, -0.3416343629360199, -0.3509686291217804, 0.10709980875253677, -0.09563392400741577, 0.41903427243232727, 0.5878595113754272, -0.2550176978111267, -0.5870741009712219, -0.05378381162881851, -0.18460479378700256, 0.44473007321357727, -0.25525519251823425, 0.6289240717887878, 0.31619992852211, -0.5769584774971008, 0.4622456729412079, 0.013639538548886776, 0.7916057109832764, -0.48930472135543823, -0.04312307760119438, -0.23377525806427002, 0.2586594521999359, -0.11802008748054504, -0.588994026184082, 0.3817813992500305, -0.23051711916923523, -0.1101304218173027, -0.5754353404045105, 0.6072743535041809, -0.5489444136619568, -0.46990954875946045, 0.41436901688575745, 0.3051978051662445, -0.23184692859649658, 0.3008149266242981, -0.4013920724391937, -0.2009364515542984, -0.33277854323387146, 0.14288096129894257, 0.05503186210989952, 0.09661830961704254, -0.21408744156360626, 0.7509407997131348, 0.6553570032119751, -0.28656697273254395, 0.18463808298110962, 0.10011252760887146, 0.7678491473197937, -0.4642084836959839, -0.6734246015548706, -0.7782037258148193, 0.6620295643806458, 0.1401127725839615, -0.22282403707504272, 0.5641545653343201, 0.7263584136962891, 0.941091001033783, -0.15916544198989868, 0.6056956648826599, -0.2127065509557724, 0.5965391397476196, -0.40838387608528137, 0.6286563277244568, -0.5035458207130432, 0.21763962507247925, -0.1663336157798767, -0.9359084963798523, -0.2880496382713318, 0.5482441186904907, -0.2788928151130676, 0.12764635682106018, 0.6436219215393066, 0.735826849937439, -0.3439770042896271, 0.16426193714141846, 0.5471205711364746, 0.3910152018070221, 0.31357529759407043, 0.6780415177345276, 0.9232343435287476, -0.647601306438446, 0.2073901891708374, -0.24659894406795502, -0.4007999002933502, -0.07794537395238876, -0.9410291910171509, -0.7781765460968018, -0.9659562706947327, 0.0378342904150486, -0.06924118101596832, -0.20040984451770782, 0.8683133721351624, 0.7106127142906189, -1.1242753267288208, -0.3612111210823059, -0.17744942009449005, -0.022369343787431717, -0.2124359905719757, -0.2501218914985657, 0.2718474566936493, -0.5222745537757874, -0.6618412137031555, 0.5389046669006348, 0.571717381477356, -0.24545492231845856, -0.16592849791049957, -0.1690664291381836, -0.1908796727657318, 0.088358074426651, 1.0023783445358276, 0.1963633894920349, -0.8241329789161682, -0.3024130165576935, 0.17768341302871704, -0.0955250933766365, 0.15986473858356476, 0.8106776475906372, -1.2731627225875854, 0.6029746532440186, 0.2314586043357849, 0.777343213558197, 0.2770613729953766, -0.1535010188817978, 0.677319347858429, -0.7399885058403015, 0.24521249532699585, 0.22511868178844452, 0.6587564945220947, 0.5255230069160461, -0.29637542366981506, 0.0924932211637497, 0.18365561962127686, -0.22606822848320007, -0.6005058288574219, 0.27503859996795654, -0.8169698119163513, -0.15570427477359772, 1.1269077062606812, 0.2321353703737259, -0.09326580166816711, -0.20201723277568817, -0.06225259602069855, 0.09770424664020538, -0.343119353055954, 0.9997304677963257, 0.49472957849502563, -0.03615904971957207, -0.11245758831501007, -0.4141990542411804, 0.4723268449306488, 0.622455358505249, -0.5458076596260071, -0.1933213174343109, 0.23229356110095978, 0.07006698846817017, 0.21356289088726044, 0.2772212624549866, -0.14242176711559296, 0.2260313630104065, -0.3794911205768585, -0.20588581264019012, 0.2074556201696396, -0.5176507830619812, -0.43193989992141724, 0.41283607482910156, -0.21080291271209717, -0.08616750687360764 ]
http://arxiv.org/abs/2402.10643v1
http://arxiv.org/pdf/2402.10643v1
`Keep it Together': Enforcing Cohesion in Extractive Summaries by Simulating Human Memory
2024-02-16T12:43:26
2024-02-16T12:43:26
Ronald Cardenas, Matthias Galle, Shay B. Cohen
cs.CL
cs.CL, cs.AI
Extractive summaries are usually presented as lists of sentences with no expected cohesion between them. In this paper, we aim to enforce cohesion whilst controlling for informativeness and redundancy in summaries, in cases where the input exhibits high redundancy. The pipeline controls for redundancy in long inputs as it is consumed, and balances informativeness and cohesion during sentence selection. Our sentence selector simulates human memory to keep track of topics --modeled as lexical chains--, enforcing cohesive ties between noun phrases. Across a variety of domains, our experiments revealed that it is possible to extract highly cohesive summaries that nevertheless read as informative to humans as summaries extracted by only accounting for informativeness or redundancy. The extracted summaries exhibit smooth topic transitions between sentences as signaled by lexical chains, with chains spanning adjacent or near-adjacent sentences.
[ -0.5424128174781799, -0.8383653163909912, 0.3461131453514099, 0.3165073096752167, -0.45989418029785156, 0.17830686271190643, -0.1774083375930786, -0.27539101243019104, 0.9326514005661011, 0.43088987469673157, -0.6634123921394348, -0.2920798659324646, -0.4919535517692566, 0.1780528575181961, -0.4138084650039673, 1.4527093172073364, -0.028075695037841797, -0.6534788012504578, -0.7830952405929565, -0.23185332119464874, -0.41598448157310486, -0.46127018332481384, -0.17928601801395416, -0.37728503346443176, 0.6168193221092224, 0.5839999914169312, 0.9821752309799194, 0.9538093209266663, 0.7935471534729004, 0.2428453117609024, -0.2900686264038086, 0.22085298597812653, -0.643132209777832, 0.39283686876296997, -0.4140932261943817, -0.27934572100639343, -0.3385726809501648, -0.18414442241191864, 0.46628397703170776, 0.6103825569152832, -0.35182541608810425, -0.06934601068496704, 0.2786600887775421, 0.6789827942848206, -0.5948923230171204, -0.009058339521288872, -0.22390355169773102, -0.12035544216632843, -0.10551649332046509, -0.27241000533103943, -0.07969605177640915, -0.37890228629112244, 0.33550459146499634, -0.4379269480705261, 0.14766639471054077, 0.09194394201040268, 1.3048393726348877, 0.2976813018321991, -0.09058552235364914, -0.2916801869869232, -0.4790967106819153, 0.5010746717453003, -0.14113643765449524, 0.06713434308767319, 0.5856426358222961, -0.21281710267066956, -0.08390498161315918, -0.5817047953605652, -0.2295403629541397, 0.11625302582979202, -0.14432989060878754, 0.4569539725780487, 0.03375949710607529, -0.15228617191314697, -0.191212996840477, 0.15590953826904297, -0.627148449420929, -0.34887996315956116, -0.8205766081809998, -0.05599347874522209, 0.815216064453125, -0.010956230573356152, 0.82925945520401, -0.04427652806043625, -0.5501206517219543, 0.02348247729241848, -0.4564245045185089, -0.1982048749923706, -0.015531478449702263, 0.162923663854599, -0.0872299075126648, 0.7326425909996033, -0.05418752506375313, 0.18922516703605652, 0.14293237030506134, -0.08536522090435028, 0.023890480399131775, -0.49732816219329834, 0.01647060550749302, 0.44856172800064087, 0.8320923447608948, 0.6898512244224548, 0.4270760416984558, -0.4431891441345215, 0.202614426612854, 0.2838432490825653, 0.5833421349525452, -0.48488447070121765, -0.5247711539268494, 0.3131071627140045, -0.5133684873580933, -0.1787828803062439, 0.20715199410915375, -0.7087967395782471, 0.10257194936275482, -0.2858361005783081, 0.3330608904361725, -0.5405387878417969, -0.16754381358623505, -0.01400020718574524, -0.6009059548377991, -0.18852129578590393, 0.2292328029870987, -1.0387927293777466, 0.7458704113960266, 0.8128665685653687, 1.240810751914978, -0.6620118021965027, -0.8010820150375366, -0.5923261046409607, 0.4641854465007782, -0.0007443786598742008, 0.8332480192184448, -0.3290242552757263, 0.005957976449280977, -0.35008716583251953, 0.04333515837788582, -0.016744688153266907, -0.48826706409454346, 0.15368619561195374, -0.4286916255950928, 0.3021238148212433, -0.40728509426116943, -0.6296433210372925, -0.18373019993305206, 0.3217800259590149, -0.6889708638191223, 0.5725405812263489, -0.04720982536673546, -0.8541960716247559, 0.2760109305381775, -0.1648353785276413, -0.5082736015319824, -0.33553266525268555, -0.09940291196107864, -0.4769514203071594, 0.3342224359512329, -0.22318892180919647, 0.002781453775241971, 0.07888844609260559, 0.41142165660858154, -0.38172703981399536, -0.468645840883255, 0.07876361161470413, 0.0204110499471426, 0.5346227884292603, 0.32915034890174866, 0.2549992799758911, 0.21302473545074463, -0.3673926889896393, -0.4613094925880432, -0.16716749966144562, -0.18938423693180084, -0.5410586595535278, 0.1022757738828659, -0.31067830324172974, 0.3535425662994385, 0.24719542264938354, -0.3048643469810486, 0.2824861705303192, -0.02074805088341236, 0.2716674506664276, 0.3979935348033905, 0.3676091432571411, 0.5843677520751953, -0.7849236726760864, 0.43352943658828735, 0.3219945430755615, -0.38201451301574707, -0.38928738236427307, -0.33094143867492676, -0.5064578056335449, -0.21471752226352692, 0.31723079085350037, 0.6446269154548645, -0.32266178727149963, 0.5796041488647461, -0.17219071090221405, -0.24062003195285797, -0.12623411417007446, 0.14492642879486084, 0.13150611519813538, 0.2848530411720276, 0.3442045748233795, -0.6051313281059265, -0.5855090022087097, -0.7722513675689697, -0.1230286955833435, -0.1391465961933136, 0.1517046093940735, -0.4386821687221527, 0.6208209991455078, 0.10259050875902176, 1.2315574884414673, -0.6057385206222534, -0.20801150798797607, -0.38838598132133484, 0.33534806966781616, 0.008483940735459328, 0.6256906986236572, 0.2500632703304291, -0.7767001986503601, -0.14007480442523956, -0.34630438685417175, -0.9763704538345337, -0.04885474219918251, -0.549060583114624, -0.4643096625804901, -0.08464360237121582, 0.5727515816688538, -0.8333642482757568, 0.503811240196228, 0.3554699718952179, -0.6195988655090332, 0.3926214873790741, -0.6677212715148926, -0.17247146368026733, -1.2293111085891724, -0.11116673797369003, -0.010355032049119473, -0.36608535051345825, -0.34566372632980347, -0.08148062229156494, -0.012944689020514488, -0.010372499004006386, -0.12118060141801834, 0.293119877576828, -0.5784336924552917, -0.038974929600954056, -0.1383354812860489, 0.4069055914878845, 0.2485806792974472, 0.5453371405601501, 0.2268722504377365, 0.6669650077819824, 0.13437309861183167, -0.8114288449287415, -0.054112184792757034, 0.7025455236434937, 0.14885137975215912, 0.5429210662841797, -0.7242546677589417, -0.18991804122924805, -0.39158207178115845, -0.0771663635969162, -0.934950053691864, -0.36389821767807007, -0.15985658764839172, -0.14171409606933594, 0.19828827679157257, 0.1535547375679016, -0.2935104966163635, 0.16160666942596436, -0.5547904968261719, 0.06779894232749939, 0.4573982059955597, -0.3263365626335144, 0.5168688893318176, 0.7102265357971191, -0.609455943107605, -0.41485050320625305, -0.621377170085907, 0.15542910993099213, -0.44942834973335266, -0.6599781513214111, 0.37321725487709045, -0.13643141090869904, -0.5667458176612854, 0.29486513137817383, -0.33056503534317017, -0.4375778138637543, 0.3551166355609894, 0.39881622791290283, 0.42672282457351685, 0.1744585484266281, 0.36769482493400574, 0.33173051476478577, 0.07521951198577881, 0.029150931164622307, -0.3149246275424957, 0.4595271348953247, -0.002837340347468853, -0.02946583740413189, -0.4883368909358978, 0.7427036762237549, 0.7313418388366699, 0.03768331557512283, 0.6851894855499268, 0.13735324144363403, -0.2568596601486206, 0.03125310689210892, -0.19219130277633667, -0.27412131428718567, -0.4261498749256134, 0.2561284601688385, -0.3698873519897461, -0.7018648386001587, 0.605208158493042, -0.0428195483982563, 0.1570548415184021, 0.44793105125427246, 0.2520964443683624, -0.5332497358322144, 0.33022019267082214, 0.6956209540367126, -0.22992222011089325, 0.29532840847969055, 0.07592634111642838, -0.15814125537872314, -0.48749005794525146, -0.030955005437135696, -0.1608928143978119, -0.48512691259384155, -0.3432367742061615, -0.155331090092659, -0.02997487038373947, 0.7252058386802673, 0.07242407649755478, 0.47065970301628113, -0.45414021611213684, 0.8190047740936279, 0.3157426714897156, 0.24568848311901093, 0.3917190134525299, 0.11645711958408356, -0.0072697848081588745, -0.05011804401874542, -0.4790179133415222, -0.5829381942749023, 0.3814537823200226, 0.06573150306940079, 0.8145700097084045, 0.27952298521995544, 1.2107232809066772, 0.44942420721054077, -0.01022004522383213, -0.3624397814273834, 0.5070739388465881, -0.08289451152086258, -0.21965816617012024, -0.32609596848487854, -0.3511098325252533, -1.0622611045837402, 0.2326510101556778, -0.12011419236660004, -1.0209217071533203, 0.08747164905071259, 0.1884181648492813, -0.36154380440711975, 0.20273852348327637, -0.6612938046455383, 0.6972171664237976, -0.18033021688461304, -0.6778551936149597, -0.17910271883010864, -0.7630351185798645, 0.2518967092037201, 0.18733085691928864, -0.06522819399833679, -0.08021334558725357, -0.1353251338005066, 0.776147723197937, -0.601158082485199, 0.8634718060493469, 0.38435807824134827, 0.004889140371233225, 0.49162575602531433, 0.2354690432548523, 0.27390342950820923, -0.1266988068819046, 0.19623947143554688, 0.06745349615812302, 0.07895774394273758, -0.513154149055481, -0.47507819533348083, 0.30684563517570496, -0.7503777742385864, -0.7163273692131042, -0.4498372972011566, -0.7714598774909973, 0.3381992280483246, 0.1909707933664322, 0.32824403047561646, 0.3101479411125183, -0.42668846249580383, 0.06482899188995361, 0.6430405378341675, 0.24354732036590576, 0.6878082156181335, -0.328660786151886, -0.3241052031517029, -0.4925946891307831, 1.0740630626678467, 0.21993812918663025, 0.4544083774089813, 0.41275060176849365, 0.3807731866836548, -0.1743077039718628, -0.38466018438339233, -0.09771299362182617, 0.4169679284095764, -0.29662975668907166, 0.03958569094538689, -1.060685634613037, -0.2116401642560959, -0.10802330821752548, -0.44630077481269836, -0.23755952715873718, -0.8056325912475586, -0.3316318392753601, -0.09401411563158035, 0.38910603523254395, 0.7620557546615601, -0.22369186580181122, 0.047818709164857864, -1.0776079893112183, 0.5020906329154968, 0.24140530824661255, 0.04427766427397728, -0.3107404410839081, -0.3267839550971985, -0.18010202050209045, -0.38493070006370544, -0.3709074854850769, -0.7915533185005188, 0.6606418490409851, 0.24878963828086853, 0.09417983889579773, 0.4209330081939697, 0.26761892437934875, 0.8159176707267761, -0.20252564549446106, 0.6305645108222961, 0.3639395236968994, -0.7836660742759705, 0.5765866637229919, -0.6476742625236511, 0.6310064792633057, 0.969955563545227, 0.28658729791641235, -0.5640197992324829, -0.748944878578186, -0.7672126889228821, -0.9083817601203918, 0.39004597067832947, 0.32979679107666016, -0.20277678966522217, -0.24982917308807373, 0.3915518522262573, 0.15883366763591766, 0.24789324402809143, -0.2949124872684479, 0.06156383454799652, -0.03253721073269844, -0.495603084564209, 0.1043832078576088, -0.41369137167930603, -0.35267481207847595, 0.19720715284347534, 0.2076629102230072, 0.11908310651779175, 0.01586589403450489, 0.3585425317287445, -0.3399234712123871, 0.13775606453418732, 0.18466193974018097, 0.8956795930862427, 0.6855679750442505, -0.5370022654533386, 0.5139610171318054, 0.04652167856693268, -0.8122588396072388, 0.2058165818452835, -0.21008045971393585, -0.42266014218330383, 0.09838993102312088, 0.3597240746021271, 0.396728515625, 0.1614098697900772, -0.5244382619857788, 0.250998318195343, -0.31340518593788147, -0.2363467961549759, -0.2875177562236786, 0.25482168793678284, 0.39537692070007324, 0.18997521698474884, -0.020712265744805336, 0.43378207087516785, -0.31516262888908386, -0.8387354016304016, 0.7342763543128967, 0.07207824289798737, -0.3945288360118866, -0.47907885909080505, 0.6665506958961487, 0.19335122406482697, -0.5205157399177551, 0.7053924798965454, -0.3472447991371155, -0.5539263486862183, 0.64496248960495, 0.6191381812095642, 0.785409152507782, 0.1625239998102188, -0.002069246256724, 0.4499910771846771, 0.1946428269147873, -0.6376106142997742, 0.43508508801460266, -0.33051154017448425, -0.7367261648178101, -0.2674699127674103, -0.1368819922208786, -0.6853840351104736, -0.4865703880786896, -0.8567088842391968, 0.1891869306564331, -0.3138996958732605, 0.008315985091030598, -0.37807008624076843, -0.13890928030014038, -0.026498878374695778, 0.1493137627840042, -0.04317894205451012, 0.9296067953109741, -0.8372485041618347, 0.8215580582618713, 0.2973824739456177, -0.654151439666748, -0.38259294629096985, 0.21615490317344666, 0.29034361243247986, -0.07090243697166443, 0.5352628231048584, 0.29393693804740906, -0.032566267997026443, -0.33802223205566406, -0.32846999168395996, -1.0468469858169556, 1.2401692867279053, 0.3669191598892212, -0.53123539686203, -0.14691627025604248, -0.40887972712516785, 0.36408618092536926, -0.4561316668987274, 0.12686105072498322, 0.6016893982887268, 0.24038244783878326, 0.09271184355020523, -0.7166696190834045, -0.02091936394572258, -0.44988706707954407, -0.5386646389961243, 0.3810565173625946, -0.8666017651557922, 0.7618212103843689, -0.4490780532360077, -0.5120618939399719, 0.06451699882745743, 0.9199857115745544, 0.6634576320648193, 0.4266240894794464, 0.34996360540390015, 0.7281963229179382, 1.083687424659729, -0.1617484837770462, 1.017436146736145, -0.14008738100528717, 0.23671317100524902, 1.8414405584335327, -0.3692205250263214, 0.9108933210372925, 0.5599814653396606, 0.18452511727809906, 0.5313249230384827, 0.44976648688316345, -0.04056109860539436, 0.6885092258453369, 0.07678943872451782, -0.04602089151740074, 0.03826867789030075, -0.30543071031570435, -0.03411263972520828, 0.6469603776931763, 0.1032177060842514, -0.08097486943006516, -0.12021378427743912, -0.48871493339538574, 0.18868044018745422, 0.1619376838207245, -0.08955966681241989, 0.92091304063797, 0.06806478649377823, -1.106260895729065, 0.20053374767303467, -0.6901639699935913, 0.5225425958633423, -0.5841923952102661, -0.11888685077428818, -0.14781484007835388, 0.1551971584558487, -0.27420005202293396, -0.7469660043716431, 0.6730871200561523, -0.1321059912443161, -0.4506840407848358, -0.15969274938106537, 0.8157609105110168, -0.9384298920631409, -0.2047942578792572, 0.31595227122306824, 0.471342533826828, 0.18149472773075104, 0.24621102213859558, -0.09811673313379288, 0.08795904368162155, 0.053134068846702576, -0.1434187889099121, 0.6210920810699463, 0.6651462912559509, -0.11160755902528763, 0.4850888252258301, 0.4775395095348358, 0.32067424058914185, -0.3012298345565796, -0.1272924542427063, 0.8482868671417236, -1.0608630180358887, -0.7332044839859009, -1.173993468284607, 0.5559653639793396, -0.6331297755241394, -0.41828641295433044, 0.6746331453323364, 0.6466385722160339, 0.4612318277359009, 0.15397711098194122, 0.579064130783081, 0.07745915651321411, -0.04217219352722168, -0.3826944828033447, 0.9064388871192932, -0.25976788997650146, 0.1552596092224121, -0.24552686512470245, -0.8525869250297546, -0.322735995054245, 0.5426857471466064, 0.2148474007844925, -0.4398983120918274, 0.967090904712677, 0.4315239489078522, -0.1389394998550415, 0.21284262835979462, 0.2775494158267975, -0.18191002309322357, 0.004250235855579376, 0.3896402418613434, 0.7459717988967896, -0.07604803144931793, 0.5102149844169617, -0.21817947924137115, -0.08762892335653305, 0.05940971150994301, -0.950677216053009, -0.9950420260429382, -0.43049466609954834, -0.5850623846054077, -0.5023810863494873, -0.09844709187746048, 0.9844350814819336, 0.7164193987846375, -0.6055123209953308, -0.5266826152801514, -0.3749889135360718, 0.3000134229660034, -0.4711359143257141, -0.2714676856994629, 0.3393852710723877, -0.3606015741825104, -0.3637695610523224, 0.1418582946062088, 0.7554091811180115, 0.03706881031394005, 0.030754828825592995, 0.14449799060821533, -0.4531584680080414, -0.059839654713869095, 0.3209826946258545, 0.43456050753593445, -0.3526822626590729, -0.2834073603153229, -0.27159518003463745, -0.0926407128572464, 0.2359420508146286, 0.9006395936012268, -0.6574981212615967, 0.44057318568229675, 0.6960009336471558, 0.6419782042503357, 0.6157042980194092, 0.3861512839794159, 1.0293292999267578, -0.8268621563911438, 0.1355000138282776, -0.14737699925899506, 0.38205915689468384, 0.039851732552051544, -0.5394444465637207, 0.8323217630386353, 0.09852535277605057, -0.6418797373771667, -0.37735989689826965, 0.08456089347600937, -1.1720952987670898, -0.3949292302131653, 0.6230778694152832, -0.32714176177978516, -0.39873409271240234, -0.46251142024993896, -0.07085578888654709, 0.417969286441803, -0.6306426525115967, 1.0938245058059692, 0.8197141289710999, -0.3054921329021454, -0.32826370000839233, 0.00012809292820747942, 0.3643699884414673, 0.36986610293388367, -1.0821506977081299, 0.17754973471164703, 0.4380469024181366, 0.15640439093112946, 0.6441152095794678, 0.5330771207809448, 0.24225594103336334, 0.42014288902282715, 0.10560361295938492, -0.12625561654567719, 0.03174008056521416, -0.5124481320381165, -0.34787359833717346, 0.7043763399124146, -0.34989187121391296, -0.2699034512042999 ]
http://arxiv.org/abs/2402.10639v2
http://arxiv.org/pdf/2402.10639v2
Generalizability of Mixture of Domain-Specific Adapters from the Lens of Signed Weight Directions and its Application to Effective Model Pruning
2024-02-16T12:39:10
2024-06-06T04:52:09
Tuc Nguyen, Thai Le
cs.CL
cs.CL
Several parameter-efficient fine-tuning methods based on adapters have been proposed as a streamlined approach to incorporate not only a single specialized knowledge into existing Pre-Trained Language Models (PLMs) but also multiple of them at once. Recent works such as AdapterSoup propose to mix not all but only a selective sub-set of domain-specific adapters during inference via model weight averaging to optimize performance on novel, unseen domains with excellent computational efficiency. However, the essential generalizability of this emerging weight-space adapter mixing mechanism on \textit{unseen, in-domain examples} remains unexplored. Thus, in this study, we conduct a comprehensive analysis to elucidate the generalizability of domain-specific adapter mixtures in in-domain evaluation. We also provide investigations into the inner workings of the mixture of domain-specific adapters by analyzing their weight signs, yielding critical analysis on the negative correlation between their fraction of weight sign difference and their mixtures' generalizability.
[ -0.5682626962661743, -0.5091085433959961, 0.37304332852363586, 0.3873961567878723, -0.40062081813812256, -0.12997980415821075, -0.23856084048748016, -0.3193276524543762, -0.02822568081319332, 0.37749531865119934, -0.45778560638427734, -0.29360371828079224, -0.6652620434761047, -0.06132672354578972, -0.28798580169677734, 0.8818895220756531, -0.13986970484256744, 0.1397572159767151, -0.1664847731590271, -0.5890488028526306, -0.6434243321418762, -0.5625247955322266, -0.2976091802120209, -0.2701665759086609, 0.173781618475914, 0.2052277773618698, 0.6133975386619568, 0.14972302317619324, 0.7089661955833435, 0.2676764130592346, -0.08443957567214966, 0.2296135425567627, -0.5477911829948425, -0.036052703857421875, -0.3828008770942688, -0.41801804304122925, -0.649445116519928, 0.03643583506345749, 0.7197704911231995, 0.9269477128982544, -0.25108054280281067, -0.020762214437127113, 0.2851903438568115, 0.4336307644844055, -0.8211056590080261, -0.32218137383461, -0.9725348353385925, -0.04279809445142746, -0.1389741599559784, -0.2370142936706543, -0.2611691951751709, 0.04155028238892555, 0.20162951946258545, -0.7815816402435303, 0.40372708439826965, 0.06225116550922394, 0.7935415506362915, 0.08861126750707626, -0.2797316610813141, -0.1797540932893753, -1.0245161056518555, 1.1973994970321655, -0.9004476070404053, 0.33417046070098877, 0.05613817647099495, 0.49182215332984924, -0.26303690671920776, -0.6425963044166565, -0.6527906060218811, 0.2194156050682068, 0.09437830746173859, 0.09799256920814514, -0.03712308406829834, 0.3659355342388153, -0.08049359172582626, 0.6188152432441711, -0.5164433717727661, -0.07812687754631042, -0.0660884827375412, -0.07337862253189087, 0.475239098072052, -0.0017044158885255456, 0.5659576058387756, 0.57883220911026, -0.23498272895812988, -0.004542884416878223, -0.684586226940155, -0.23561625182628632, 0.22143788635730743, 0.07392574101686478, -0.20598860085010529, 0.5233001708984375, -0.1851990669965744, 1.2578275203704834, 0.29677075147628784, -0.054886385798454285, 0.012286211363971233, -0.534174919128418, -0.4833531379699707, -0.6601372957229614, 0.3769519031047821, 0.4500349760055542, 0.6343312859535217, -0.3775688409805298, -0.2474536895751953, 0.08471965044736862, 0.18070444464683533, -0.9368658065795898, -0.4340657591819763, 0.2522171437740326, -0.6043943762779236, -0.08035165816545486, 0.19097259640693665, -0.3331397771835327, -0.258764386177063, -0.3341597616672516, 0.6747015118598938, -0.3523305058479309, -0.4393654465675354, 0.5535295605659485, -0.4530225396156311, 0.45533469319343567, 0.272596538066864, -0.7322378158569336, 0.5069689154624939, 0.7399832010269165, 0.6484327912330627, -0.42903175950050354, -0.2567654550075531, -0.28166645765304565, 0.013082594610750675, -0.11119184643030167, 0.6919950842857361, -0.8315265774726868, -0.40880805253982544, -0.04488976299762726, 0.09896280616521835, -0.684858500957489, -1.1294792890548706, 0.5183665752410889, -0.7223879098892212, 0.028764892369508743, 0.012055465020239353, -0.8083893656730652, -0.257353276014328, 0.05424749478697777, -0.2779904901981354, 0.49840444326400757, 0.3903760612010956, -0.3865402936935425, 0.6466020345687866, -0.16842281818389893, -0.5240471959114075, 0.04438076540827751, -0.14570742845535278, -0.37065333127975464, 0.48703762888908386, -0.012004442512989044, 0.38627126812934875, -0.31729140877723694, 0.42038455605506897, -0.5837500691413879, -0.4995341897010803, 0.44455263018608093, -0.09606520086526871, 0.7796126008033752, 0.14428935945034027, -0.06918888539075851, 0.1612435132265091, -0.987795352935791, -0.09184475243091583, 0.18714198470115662, -0.2706705331802368, -0.6638297438621521, 0.049648433923721313, -0.1434066891670227, 0.18202762305736542, -0.01641191728413105, -0.296297550201416, 0.1702372133731842, -0.21784456074237823, 0.23728865385055542, 0.5334413051605225, 0.38361093401908875, 0.6697915196418762, -0.34787869453430176, 0.5988308787345886, 0.3004070520401001, 0.128687784075737, 0.06009181961417198, -0.6356682181358337, -0.8726394176483154, -0.24296621978282928, 0.4992486536502838, 0.2393062710762024, -0.5821709036827087, 0.6838380098342896, -0.01856360025703907, -0.5226972699165344, -0.4050144851207733, 0.29209303855895996, 0.30759677290916443, 0.3845628798007965, 0.3347264528274536, -0.5311062932014465, -0.22992242872714996, -0.8222942352294922, -0.6791287064552307, 0.3055259883403778, -0.1897859424352646, 0.2704528272151947, 0.3293609917163849, -0.10581062734127045, 0.8993671536445618, -0.5206416845321655, -0.10003054887056351, -0.3078135848045349, -0.1361485719680786, 0.1739083230495453, 0.7042516469955444, 1.0377659797668457, -0.8570927977561951, -0.6779593825340271, 0.040479131042957306, -0.592851459980011, -0.1418514996767044, -0.09536784142255783, -0.1885189414024353, -0.616382896900177, -0.08483682572841644, -0.3003414273262024, 0.2189679592847824, 0.7355257272720337, -0.3197586238384247, 0.5094888806343079, -0.31390100717544556, -0.07810135185718536, -0.6391420960426331, -0.14925001561641693, 0.42238524556159973, -0.05767609551548958, -1.114393949508667, 0.27434155344963074, 0.046985212713479996, -0.012124323286116123, -0.40575745701789856, 0.5080289840698242, -0.3930521011352539, 0.03954099863767624, -0.4064997732639313, 0.07526635378599167, 0.06965602934360504, 0.5076562762260437, -0.048716600984334946, 0.7325459122657776, 0.7878840565681458, -1.084335207939148, -0.151555597782135, -0.0594397708773613, -0.1551661491394043, 0.6054315567016602, -0.7713165283203125, -0.005831919610500336, -0.09139253199100494, 0.035357408225536346, -1.0227707624435425, 0.1258971095085144, 0.4403459429740906, -0.07647323608398438, 0.3450965881347656, -0.35632088780403137, -0.012770120054483414, -0.022443510591983795, -0.20025119185447693, 0.6287328004837036, 0.38648006319999695, -0.371021568775177, 0.8280194997787476, 0.4521000385284424, 0.02114066109061241, -0.175557941198349, -0.432826429605484, -0.3605947494506836, -0.4336118996143341, -0.6730817556381226, 0.4769883155822754, -0.6058818101882935, -0.3635910749435425, -0.25840601325035095, -0.456122487783432, -0.4297172427177429, 0.21002641320228577, 0.04683217033743858, 0.14202819764614105, -0.2384321391582489, -0.5952030420303345, 0.343298077583313, 0.05935731157660484, -0.19122406840324402, -0.5558480024337769, 0.43182551860809326, 0.12181916832923889, -0.6034975051879883, -0.3671993315219879, -0.0037795957177877426, 0.4076792895793915, -0.08807449042797089, 0.7568590641021729, 0.3909437656402588, -0.34121954441070557, -0.43299564719200134, -0.41334205865859985, -0.060883551836013794, -0.5269840359687805, 0.29376643896102905, -0.5405386686325073, -0.7010406255722046, 0.6415979862213135, -0.2309310883283615, 0.11323903501033783, 0.4820634424686432, 0.325816810131073, 0.22209790349006653, 0.9400372505187988, 0.5801027417182922, -0.06455328315496445, 0.36813995242118835, -0.13452431559562683, 0.1988394856452942, -0.8622210621833801, 0.16381442546844482, -0.5471906065940857, -0.4691683351993561, -0.40337881445884705, -0.4824018180370331, -0.021195968613028526, 0.11744267493486404, 0.048026736825704575, 0.3021722137928009, -0.5153555870056152, 0.5667514204978943, 0.22150470316410065, -0.25082114338874817, 0.33274155855178833, 0.15405741333961487, -0.19176441431045532, -0.13056184351444244, -0.6974956393241882, -0.0789589136838913, 1.017629623413086, 0.24287381768226624, 0.5014026165008545, 0.018189264461398125, 0.32874569296836853, 0.1899908185005188, 0.24779388308525085, -0.7658531665802002, 0.5035143494606018, -0.49110859632492065, -0.5108820199966431, 0.1331913024187088, -0.3368760347366333, -0.6125597953796387, 0.7621766924858093, -0.08861558139324188, -0.5001178979873657, 0.7781810760498047, 0.16929009556770325, -0.21510757505893707, 0.17012250423431396, -0.8887805342674255, 0.7883924245834351, -0.1335507333278656, 0.059287551790475845, -0.3358326256275177, -0.38230809569358826, 0.3097321391105652, -0.2660581171512604, 0.18605303764343262, -0.040486134588718414, 0.1729213446378708, 0.7744718194007874, -0.2948612570762634, 0.642263650894165, -0.5778716802597046, -0.23099491000175476, 0.5000077486038208, 0.22094343602657318, 0.2936463952064514, -0.16304108500480652, 0.1000739336013794, 0.3568848669528961, -0.1386098712682724, -0.38461557030677795, -0.7012210488319397, 0.5756363272666931, -0.7970857620239258, -0.4653511941432953, -0.027837233617901802, -0.5692256689071655, -0.49669432640075684, 0.27792197465896606, -0.018906721845269203, 0.48202866315841675, 0.028078243136405945, 0.13699492812156677, 0.768234133720398, -0.19887393712997437, 0.11335450410842896, 0.966927170753479, -0.15697632730007172, -0.3549528121948242, 1.4729833602905273, 0.007225273177027702, 0.3490086793899536, 0.48919036984443665, 0.12809929251670837, 0.35177144408226013, -1.0648635625839233, -0.2367008775472641, 0.44253408908843994, -0.4436570405960083, -0.12395244091749191, -0.23396101593971252, -0.13760250806808472, -0.07449283450841904, -0.18194317817687988, -0.10319588333368301, -0.5468910336494446, -0.20442478358745575, 0.175820454955101, -0.2344476729631424, 0.5977318286895752, 0.42261046171188354, 0.9204570651054382, -0.5651521682739258, 0.46101120114326477, 0.2900470197200775, 0.44909369945526123, 0.06048302724957466, -0.7123258113861084, -0.21840958297252655, 0.1325104832649231, -0.25854748487472534, -0.7479770183563232, 0.18350978195667267, 0.5704508423805237, 0.633147656917572, 0.9190977811813354, -0.1886933445930481, 0.7571521401405334, -0.16335928440093994, 0.7041319608688354, 0.0018627623794600368, -0.7842633724212646, 0.1681929975748062, -0.38046571612358093, 0.043925266712903976, 0.5581346154212952, 0.134495809674263, -0.2897634208202362, -0.49405407905578613, -0.49488741159439087, -0.917664110660553, 0.6356143951416016, 0.17501917481422424, 0.011065129190683365, 0.34199827909469604, 0.4870975911617279, 0.3141774833202362, 0.26501360535621643, -0.4127858579158783, -0.41170933842658997, 0.09678637236356735, -0.1969861388206482, 0.09672790765762329, -0.27962183952331543, -0.23203635215759277, -0.38601812720298767, 0.6787366271018982, -0.12185677886009216, 0.08357153087854385, -0.17590337991714478, -0.4502128064632416, -0.028972698375582695, 0.14002880454063416, 0.7350716590881348, 0.8944303393363953, -0.36733362078666687, 0.06377968192100525, 0.08957741409540176, -0.59222412109375, 0.06177027150988579, 0.02111281082034111, -0.35927286744117737, -0.09010563045740128, 0.11916498094797134, 0.6117309331893921, 0.12620753049850464, -0.5386231541633606, 0.4420938193798065, -0.268027126789093, -0.2250349521636963, 0.0697454884648323, 0.44404104351997375, -0.07117702811956406, -0.06937088817358017, 0.4514558017253876, 0.4368240535259247, 0.18692249059677124, -0.13991568982601166, 0.051235053688287735, 0.706731915473938, -0.3606546223163605, -0.7801284193992615, 0.47356805205345154, 0.3146718144416809, 0.014309531077742577, 0.227857306599617, -0.17017848789691925, -0.20541459321975708, 0.522364616394043, 0.7320745587348938, 0.9397990107536316, -0.23032957315444946, -0.07451435178518295, -0.08998794108629227, 0.13535158336162567, 0.15083910524845123, 0.052702486515045166, -0.17720475792884827, -1.1667170524597168, -0.5138936042785645, -0.6723764538764954, -0.3214617669582367, -0.0047196582891047, -0.5273028612136841, 0.05422917753458023, -0.5780455470085144, -0.23084929585456848, 0.047539301216602325, -0.25356701016426086, -0.6678081750869751, 0.4839293658733368, -0.14934325218200684, 0.9074503183364868, -1.015132188796997, 0.8118414878845215, 1.0280535221099854, -0.16690118610858917, -0.6074406504631042, 0.2225453406572342, -0.22373749315738678, -0.9100703001022339, 0.2326710969209671, -0.20999017357826233, -0.027358317747712135, -0.10254094004631042, -0.35197290778160095, -0.5278010368347168, 0.8600775003433228, 0.3224656283855438, -0.5332125425338745, -0.03730892390012741, 0.3713487386703491, 0.3472551107406616, -0.46298420429229736, 0.19952355325222015, 0.7512316703796387, 0.5740802884101868, -0.012039144523441792, -0.773282527923584, 0.036299072206020355, -0.2718437910079956, 0.058993734419345856, 0.02526175044476986, -0.6166607141494751, 0.7476947903633118, 0.3770633935928345, -0.17707493901252747, -0.09145111590623856, 0.6524710059165955, 0.20002178847789764, 0.2811513841152191, 0.6114245057106018, 0.5512896180152893, 0.6258584260940552, 0.057502422481775284, 0.8215606808662415, -0.6888232827186584, 0.34736859798431396, 0.9508288502693176, -0.3102979362010956, 0.34018924832344055, 0.4039411246776581, -0.45604926347732544, 0.3567679822444916, 0.15605062246322632, 0.008849114179611206, 0.45398226380348206, 0.11310163885354996, -0.3170955777168274, -0.2806009352207184, -0.010931916534900665, -0.32321590185165405, 0.054075874388217926, 0.4883847236633301, -0.22366324067115784, -0.11971856653690338, -0.19065551459789276, -0.2621247172355652, -0.2407817244529724, -0.22730165719985962, 0.8271545767784119, 0.35001036524772644, -0.55268794298172, 0.631010890007019, 0.19726724922657013, 1.0078003406524658, -0.8792505264282227, 0.0830744281411171, -0.06814409792423248, 0.41366711258888245, -0.29715850949287415, -0.5593865513801575, 0.27599629759788513, -0.4265289604663849, -0.18068140745162964, -0.06603248417377472, 1.255316138267517, -0.3367824852466583, -0.20925647020339966, 0.33423396944999695, 0.4618077576160431, -0.18670201301574707, -0.3433741331100464, -0.4814373552799225, 0.013108916580677032, 0.0933615118265152, -0.07026954740285873, 0.8046586513519287, 0.29969286918640137, 0.1423596739768982, 0.5271617770195007, 0.40664932131767273, 0.33082422614097595, 0.09449023008346558, 0.2503046989440918, 0.9291651844978333, -0.29532378911972046, -0.2600141167640686, -0.6402263045310974, 0.5980421900749207, 0.09249712526798248, -0.212376669049263, 0.9728932976722717, 0.4096299409866333, 0.7886226773262024, -0.28524455428123474, 0.9845128059387207, 0.031319510191679, 0.14511695504188538, -0.2591404616832733, 0.5958114266395569, -0.5667043328285217, 0.1130785271525383, -0.23121000826358795, -1.1937733888626099, -0.394196480512619, 0.4314557611942291, -0.2625470757484436, 0.19245673716068268, 0.47766292095184326, 0.5945600271224976, -0.4312654733657837, -0.02493441291153431, 0.28921300172805786, -0.06547810882329941, 0.299710750579834, 0.12363895773887634, 0.37718716263771057, -0.29267290234565735, 0.3062836527824402, -0.2590063214302063, -0.2107202261686325, -0.1972709596157074, -0.6798920631408691, -0.7155534029006958, -0.501154899597168, -0.47824230790138245, -0.15763425827026367, -0.005827474873512983, 0.4466438889503479, 0.7070325613021851, -1.1471149921417236, -0.37703800201416016, -0.13484619557857513, 0.11300911009311676, -0.5004557371139526, -0.283507764339447, 0.0335957407951355, -0.10720577836036682, -0.6123752593994141, 0.48299479484558105, 0.2817366123199463, 0.14685411751270294, -0.1117517352104187, -0.18921808898448944, 0.1776324212551117, 0.3865850865840912, 0.46870627999305725, 0.37177348136901855, -0.3992672264575958, 0.019470222294330597, -0.24340862035751343, 0.41745904088020325, 0.03223509341478348, 1.1939669847488403, -0.49360984563827515, 0.49117663502693176, 0.5631105303764343, 0.4887288212776184, 0.20795710384845734, 0.3550838232040405, 0.8723775148391724, -0.8999584913253784, 0.2926863133907318, 0.07231263816356659, 0.6115145087242126, 0.17340506613254547, 0.06891728192567825, 0.2584519684314728, 0.43691393733024597, -0.6029619574546814, -0.5337151885032654, 0.228995218873024, -1.1117122173309326, -0.2527507245540619, 1.2092653512954712, -0.05650501325726509, -0.05335662513971329, -0.01900908723473549, -0.17115913331508636, 0.035904452204704285, -0.3109718859195709, 0.38249385356903076, 0.5214729905128479, -0.12478570640087128, 0.31344565749168396, -0.22446660697460175, 0.278295636177063, 0.5100821256637573, -0.47413429617881775, -0.023195907473564148, 0.3095400631427765, 0.6467829942703247, 0.057144537568092346, 0.6538283824920654, 0.20334383845329285, -0.1675310879945755, -0.2745281159877777, -0.2545841634273529, 0.11644355207681656, -0.390051931142807, -0.5409027934074402, 0.22982703149318695, 0.4548459053039551, -0.11245562136173248 ]
http://arxiv.org/abs/2402.10631v1
http://arxiv.org/pdf/2402.10631v1
BitDistiller: Unleashing the Potential of Sub-4-Bit LLMs via Self-Distillation
2024-02-16T12:27:15
2024-02-16T12:27:15
Dayou Du, Yijia Zhang, Shijie Cao, Jiaqi Guo, Ting Cao, Xiaowen Chu, Ningyi Xu
cs.CL
cs.CL
The upscaling of Large Language Models (LLMs) has yielded impressive advances in natural language processing, yet it also poses significant deployment challenges. Weight quantization has emerged as a widely embraced solution to reduce memory and computational demands. This paper introduces BitDistiller, a framework that synergizes Quantization-Aware Training (QAT) with Knowledge Distillation (KD) to boost the performance of LLMs at ultra-low precisions (sub-4-bit). Specifically, BitDistiller first incorporates a tailored asymmetric quantization and clipping technique to maximally preserve the fidelity of quantized weights, and then proposes a novel Confidence-Aware Kullback-Leibler Divergence (CAKLD) objective, which is employed in a self-distillation manner to enable faster convergence and superior model performance. Empirical evaluations demonstrate that BitDistiller significantly surpasses existing methods in both 3-bit and 2-bit configurations on general language understanding and complex reasoning benchmarks. Notably, BitDistiller is shown to be more cost-effective, demanding fewer data and training resources. The code is available at https://github.com/DD-DuDa/BitDistiller.
[ -0.13638082146644592, -0.48049402236938477, 0.7015741467475891, 0.3390384614467621, -0.45985284447669983, 0.45943957567214966, -0.14786049723625183, -0.0117223234847188, 0.08815435320138931, 0.2499019205570221, -0.15261544287204742, -0.29085806012153625, -0.7469642758369446, 0.0234959926456213, -0.5057688355445862, 0.7735792994499207, -0.11592317372560501, -0.052571721374988556, -0.324138343334198, 0.012146138586103916, -0.3750956356525421, -0.48640039563179016, -0.53792804479599, -0.39772751927375793, -0.0037430240772664547, 0.3109022378921509, 0.4863969087600708, 0.5742228031158447, 0.2264518290758133, 0.347154825925827, -0.0922950878739357, -0.20518618822097778, -0.2988971769809723, 0.257523775100708, -0.0009102547192014754, -0.7036346793174744, -0.1531199961900711, -0.016194116324186325, 0.4780811369419098, 0.37314197421073914, -0.5918149352073669, 0.044213563203811646, 0.11249113827943802, 0.9066342115402222, -0.8431655764579773, -0.019678205251693726, -0.5666154026985168, -0.11465001851320267, -0.17109297215938568, 0.10356806963682175, 0.020771915093064308, -0.4185056984424591, 0.050391312688589096, -0.4898229241371155, 0.2720179557800293, -0.15689986944198608, 0.4656187891960144, 0.5606041550636292, -0.33013445138931274, -0.3832840621471405, -0.778695285320282, 0.9292294383049011, -0.8356478214263916, 0.5111207365989685, 0.31488433480262756, 0.3215111494064331, 0.13770321011543274, -0.8314417004585266, -0.7304150462150574, 0.250461608171463, 0.19531941413879395, -0.03148613125085831, -0.48825058341026306, 0.17344124615192413, -0.011118415743112564, 0.8568601012229919, -0.3111761808395386, -0.06441988795995712, -0.3222590982913971, -0.256287544965744, 0.32431480288505554, 0.022253060713410378, -0.22037579119205475, 0.009875573217868805, -0.3329339325428009, -0.213604137301445, -0.47331511974334717, -0.018907522782683372, 0.20584283769130707, -0.08561845123767853, -0.08031312376260757, 0.39663729071617126, -0.3793924152851105, 0.42970365285873413, 0.4526703357696533, -0.2796698212623596, -0.02460772544145584, -0.43012407422065735, -0.40850183367729187, 0.4018278121948242, 0.843916654586792, 0.23605774343013763, 0.051643021404743195, 0.11087509244680405, -0.3627883195877075, 0.10784914344549179, 0.06828447431325912, -1.3300330638885498, -0.7479772567749023, 0.23804090917110443, -0.0551685206592083, -0.3355017304420471, -0.2626630961894989, -0.5328413248062134, -0.41944557428359985, -0.15801487863063812, 0.5440796613693237, -0.5425073504447937, -0.1223568394780159, 0.47546589374542236, -0.18427839875221252, -0.052048783749341965, 0.09558769315481186, -0.9444701075553894, 0.2891898453235626, 0.5101447105407715, 0.940418004989624, -0.013588241301476955, 0.15931889414787292, -0.26463910937309265, 0.19337421655654907, -0.3939700424671173, 0.4863050580024719, -0.1600191295146942, -0.4233224093914032, -0.37851619720458984, -0.3640996217727661, 0.3036310076713562, -0.6096925735473633, 0.45445021986961365, -0.6463857293128967, -0.017522193491458893, -0.17004677653312683, -0.646158754825592, -0.04727896675467491, 0.1995602548122406, -0.6918050050735474, 1.067334532737732, 0.18196505308151245, -0.6620259881019592, 0.46185222268104553, -0.3222111165523529, -0.3344980776309967, 0.29946210980415344, -0.3277256488800049, -0.5686155557632446, 0.5184645652770996, 0.236073300242424, 0.32206666469573975, -0.4917084276676178, 0.3624500036239624, -0.0719439759850502, -0.2855597138404846, 0.1559559404850006, -0.6609643697738647, 0.6861222982406616, 0.2219960242509842, -0.2154977023601532, -0.13093435764312744, -0.7692075371742249, 0.07724688202142715, 0.1380787342786789, -0.5153947472572327, -0.7108978629112244, -0.33238497376441956, -0.2748704254627228, 0.07558726519346237, 0.3893742859363556, -0.7622585892677307, -0.012951526790857315, -0.4528561234474182, 0.6075834631919861, 0.7375341057777405, -0.03510375693440437, 0.5541426539421082, -0.027002325281500816, 0.5666243433952332, 0.21274727582931519, 0.027939675375819206, -0.07013668119907379, -0.09247854351997375, -0.8442953824996948, -0.6098823547363281, 0.6617349982261658, 0.23457245528697968, -1.0366374254226685, 0.5701309442520142, -0.2871510684490204, -0.40562525391578674, -1.0541386604309082, 0.30200496315956116, 0.3943564295768738, 0.2200586348772049, 0.3449428081512451, -0.1514473557472229, -0.4646422266960144, -0.7128593325614929, -0.05075175315141678, -0.023689547553658485, -0.13299447298049927, -0.389595627784729, 0.2274317741394043, -0.03811212629079819, 1.1399791240692139, -0.5293639898300171, -0.4209398925304413, -0.3095380663871765, 0.3335878551006317, 0.17445708811283112, 0.4018012285232544, 0.25655943155288696, -0.76313716173172, -0.6346253752708435, -0.16382086277008057, -0.5420201420783997, -0.12161897122859955, 0.07913099229335785, 0.09077326208353043, 0.360645055770874, 0.5642224550247192, -0.5269373059272766, 0.36704981327056885, 0.9415784478187561, -0.1498008817434311, 0.5212157964706421, -0.49946123361587524, 0.04333017021417618, -1.1913363933563232, -0.29305365681648254, -0.03117981366813183, -0.34962257742881775, -0.4846888482570648, -0.2222491055727005, 0.306837797164917, 0.21125207841396332, -0.288456529378891, 0.16295722126960754, -0.5322486758232117, 0.2262725830078125, -0.5421650409698486, 0.058669496327638626, 0.3611679673194885, -0.010998583398759365, -0.11195701360702515, 0.8852935433387756, 0.49010980129241943, -0.5548579692840576, 0.5350900292396545, -0.08558513224124908, -0.4212241470813751, 0.6726138591766357, -0.8748730421066284, -0.03901815786957741, 0.03085216134786606, 0.07688694447278976, -0.9739986062049866, 0.22703401744365692, -0.2017713487148285, -0.21891868114471436, 0.2945047616958618, -0.21937093138694763, -0.5494909882545471, -0.43614235520362854, -0.7316438555717468, 0.6163254380226135, 0.5593198537826538, -0.5501975417137146, 0.6445967555046082, 0.38747408986091614, -0.005677150562405586, -0.26537251472473145, -0.8823754191398621, -0.006890844088047743, -0.3981020152568817, -0.1414235234260559, 0.3788761496543884, -0.32867538928985596, -0.19875244796276093, -0.0020563469734042883, -0.5665091276168823, 0.036559369415044785, 0.00054581044241786, 0.08144927024841309, 0.08716074377298355, 0.035574160516262054, 0.15794847905635834, 0.35458728671073914, -0.3442845642566681, 0.004598373081535101, -0.7089115381240845, 0.5306739211082458, -0.15606117248535156, -0.19993019104003906, -0.47359341382980347, -0.05876116827130318, 0.2686977982521057, -0.04913625866174698, 0.5676580667495728, 0.5158460736274719, -0.16059421002864838, -0.18661777675151825, -0.6156762838363647, -0.2548084259033203, -0.5711964964866638, 0.22304290533065796, -0.6265749335289001, -1.233386754989624, 0.03264418989419937, -0.1917753368616104, -0.21597473323345184, 0.09457328170537949, 0.6634410619735718, -0.18542617559432983, 0.5799737572669983, 0.9339241981506348, -0.20912037789821625, 0.20992150902748108, -0.342408686876297, 0.44565144181251526, -0.6829902529716492, 0.1679411232471466, -0.1318119764328003, -0.3674260377883911, -0.6431443095207214, -0.6154171228408813, 0.449828565120697, 0.4594220221042633, 0.09526736289262772, 0.340439110994339, -0.4813753366470337, 0.854956328868866, 0.6747456192970276, -0.30845212936401367, 0.5488492250442505, -0.15551714599132538, -0.20166023075580597, -0.14231964945793152, -0.6742498278617859, -0.23208829760551453, 0.9667287468910217, 0.20153380930423737, 1.1689510345458984, 0.058505408465862274, 0.8928259611129761, 0.35628968477249146, -0.181732639670372, -0.8037559390068054, 0.36386942863464355, -0.10731440782546997, -0.3890437185764313, -0.48804739117622375, -0.5097113251686096, -0.7090749144554138, 0.4025621712207794, 0.08229946345090866, -0.4230429232120514, 0.2870946228504181, 0.3652278184890747, -0.7820834517478943, 0.2809651792049408, -0.6961787939071655, 0.6843143701553345, -0.05554274842143059, -0.09389831870794296, -0.22360533475875854, -0.4645991325378418, 0.37754303216934204, -0.39388617873191833, 0.19195188581943512, -0.11970918625593185, -0.1680241972208023, 0.665682852268219, -0.39557206630706787, 0.7649544477462769, -0.12520360946655273, -0.5781540274620056, 0.35730230808258057, 0.5394980907440186, 0.3915897309780121, 0.10348014533519745, 0.1229955330491066, 0.3356631398200989, 0.3796101212501526, -0.266406774520874, -0.6530475616455078, 0.73969966173172, -0.5160447359085083, -0.5058022141456604, -0.3659111559391022, -0.494552880525589, -0.05248405784368515, 0.18766075372695923, 0.17527726292610168, 0.26873961091041565, 0.11137368530035019, 0.2664377987384796, 0.7936625480651855, 0.09022997319698334, 0.6260284185409546, 0.5754035115242004, -0.19437247514724731, -0.614988386631012, 0.9897825121879578, 0.055756036192178726, 0.48853716254234314, 0.47262096405029297, 0.38596490025520325, -0.4177938997745514, -0.60318922996521, -0.29902511835098267, 0.1461283415555954, -0.48369425535202026, -0.5776780843734741, -0.6112663745880127, -0.17915847897529602, -0.4770561456680298, -0.03771955147385597, -0.7739334106445312, -0.6837371587753296, -0.0862388014793396, -0.20184291899204254, 0.43981194496154785, 0.6378797888755798, -0.3685888946056366, 0.6668766140937805, -0.6026941537857056, 0.28202348947525024, 0.5644022226333618, 0.39207711815834045, -0.20136409997940063, -0.5413768291473389, -0.4871211647987366, 0.054659806191921234, -0.31826651096343994, -0.3802604377269745, 0.4006037712097168, 0.21252749860286713, 0.013279270380735397, 0.38710322976112366, 0.3002553880214691, 0.6123050451278687, -0.24890801310539246, 0.5528574585914612, 0.286265105009079, -1.0873771905899048, 0.4644986391067505, 0.21548806130886078, 0.5317440629005432, 0.8093374967575073, 0.5238890647888184, -0.4600522220134735, -0.4341908097267151, -0.3363974988460541, -0.879056990146637, 0.5421583652496338, 0.16811610758304596, 0.08071175217628479, 0.017854781821370125, 0.17936526238918304, 0.04350512847304344, 0.3921985328197479, -0.5810588598251343, -0.21443068981170654, -0.06161365658044815, -0.47151997685432434, -0.10121533274650574, -0.5335224270820618, 0.16877149045467377, -0.3192576766014099, 0.7282726764678955, -0.28076237440109253, -0.15413053333759308, 0.13682329654693604, -0.2347078025341034, -0.02381710521876812, 0.4164624810218811, 0.1261892020702362, 0.31399106979370117, -0.17780311405658722, 0.5912656188011169, 0.07444925606250763, -0.6169321537017822, 0.42756664752960205, 0.19756141304969788, -0.17288661003112793, -0.3018665313720703, 0.06840759515762329, 0.5663526058197021, 0.2654520273208618, -0.5679812431335449, 0.6731455326080322, -0.32254350185394287, -0.2185600996017456, -0.0006807661848142743, -0.02768685854971409, 0.1891767382621765, 0.4817539155483246, 0.25653550028800964, -0.4518933892250061, 0.37601640820503235, -0.19721856713294983, 0.1927671581506729, 0.32186347246170044, -0.43237239122390747, -0.4047413468360901, 0.5651807188987732, 0.08634477108716965, 0.13815157115459442, 0.39503294229507446, -0.5780200958251953, -0.463418573141098, 0.059910234063863754, 0.5655834674835205, 0.787525475025177, -0.3661341369152069, 0.06243366375565529, 0.05023038759827614, 0.16563184559345245, -0.056184787303209305, 0.25038522481918335, -0.43523526191711426, -0.8372103571891785, -0.5670186877250671, -1.0348737239837646, -0.14023767411708832, -0.09252667427062988, -0.5362725257873535, -0.044455669820308685, -0.36519190669059753, -0.23504813015460968, -0.07836741209030151, 0.006342756561934948, -0.21938015520572662, 0.010275954380631447, 0.16149401664733887, 0.6939631700515747, -0.5333192944526672, 1.0437078475952148, 0.49452975392341614, -0.1483890265226364, -0.4863154888153076, 0.12258166819810867, -0.0839717835187912, -0.658772349357605, 0.419224351644516, 0.04783032834529877, -0.28888940811157227, 0.48359444737434387, -0.28029152750968933, -0.7272973656654358, 1.299984335899353, 0.38891851902008057, -0.8397287726402283, 0.026844028383493423, 0.33500778675079346, 0.36234426498413086, 0.10883715748786926, 0.06731612980365753, 1.1443220376968384, 0.10900592803955078, 0.2612019181251526, -0.8832182288169861, 0.10336535423994064, 0.10676209628582001, 0.390700101852417, 0.49075841903686523, -0.5951604247093201, 0.7632229924201965, -0.2381129413843155, -0.22094407677650452, -0.11883338540792465, 0.8728168606758118, 0.42984738945961, -0.03247709944844246, 0.5083709359169006, 0.9228781461715698, 0.6293953061103821, -0.01735927164554596, 0.7050073742866516, -0.4079429805278778, 0.339854896068573, 1.214533805847168, -0.19169685244560242, 0.6086443662643433, 0.7839810252189636, -0.5558785200119019, 0.5006067156791687, 0.11718238890171051, 0.34983113408088684, 0.762340784072876, 0.327193945646286, -0.5459083318710327, -0.1923055350780487, -0.04210183769464493, -0.036157093942165375, 0.4031296968460083, 0.10574083775281906, 0.059658050537109375, -0.3383272588253021, 0.09473834186792374, -0.04049616679549217, 0.1100456640124321, -0.07002125680446625, 0.8568461537361145, 0.29819968342781067, -0.19311663508415222, 0.6911195516586304, 0.11566867679357529, 1.079715609550476, -0.5299846529960632, 0.008847448974847794, -0.32890650629997253, 0.4347286522388458, 0.19512197375297546, -0.8066667318344116, 0.19499719142913818, -0.09421512484550476, -0.08314754068851471, -0.31022191047668457, 0.674036979675293, -0.5790517926216125, -0.5160907506942749, 0.13041812181472778, 0.40090760588645935, -0.09507417678833008, -0.4641035199165344, -0.4840865731239319, 0.13129523396492004, -0.01937038265168667, -0.10538642108440399, 0.26127368211746216, 1.00226891040802, 0.18557657301425934, 0.7610558867454529, 0.45642009377479553, 0.26120495796203613, 0.08902178704738617, 0.13724364340305328, 0.9480023384094238, -0.6284664869308472, -0.5740637183189392, -1.2347021102905273, 0.13596902787685394, 0.06869424879550934, 0.11601349711418152, 0.9351174831390381, 0.7567523121833801, 0.7823814153671265, 0.1319071352481842, 0.7017839550971985, -0.1568945050239563, 0.2991103231906891, -0.4577931761741638, 0.661555826663971, -0.2615695595741272, 0.20309694111347198, 0.06865771114826202, -0.5868028402328491, -0.08203878253698349, 0.4632872939109802, -0.1670902520418167, 0.0018278165953233838, 0.5356466770172119, 0.5686185359954834, 0.06306251138448715, -0.0906013622879982, 0.6014030575752258, 0.16813337802886963, 0.36252933740615845, 0.5435935258865356, 0.7743796110153198, -0.5144705772399902, 0.5158941745758057, -0.6715875267982483, -0.3344970941543579, 0.016969794407486916, -0.9511191844940186, -0.8266319632530212, -0.5884865522384644, -0.30526939034461975, 0.04001590609550476, 0.0028186417184770107, 0.8675104379653931, 0.7955834865570068, -0.7462242841720581, -0.26431500911712646, -0.25872817635536194, -0.04193003103137016, 0.07661785930395126, -0.24266408383846283, 0.1622275561094284, -0.3355056643486023, -0.5708697438240051, 0.3056563138961792, 0.429899662733078, 0.4498952627182007, -0.4741430878639221, -0.029927825555205345, -0.01124056987464428, 0.19484330713748932, 0.6223241686820984, -0.11332947760820389, -0.3709409236907959, 0.19778959453105927, -0.42669877409935, -0.054576314985752106, -0.016095226630568504, 0.8035467267036438, -1.0556501150131226, 0.4698754549026489, 0.12119144946336746, 0.6340099573135376, 0.6340503096580505, 0.18445824086666107, 0.4671300947666168, -1.0057998895645142, 0.08500830829143524, 0.16172245144844055, 0.19560866057872772, 0.4190565049648285, -0.3019077777862549, 0.3387581706047058, 0.3166080117225647, -0.44499534368515015, -0.695391833782196, -0.01671905443072319, -0.5867363214492798, -0.28360387682914734, 0.8910462856292725, 0.03366115689277649, -0.3054417073726654, 0.0470244362950325, -0.15270042419433594, 0.15005922317504883, -0.5720160007476807, 0.8691322803497314, 0.6435413360595703, 0.04638953134417534, -0.29103776812553406, -0.24494056403636932, 0.5936924815177917, 0.2748642563819885, -0.6272079348564148, 0.40351012349128723, 0.31225937604904175, 0.33537757396698, 0.0899287611246109, 0.8701685070991516, -0.0304473377764225, -0.06206495687365532, -0.04534315690398216, 0.3779282867908478, -0.031187081709504128, -0.3218647837638855, -0.5421777963638306, -0.1951725333929062, 0.2472529113292694, -0.2530977129936218 ]
http://arxiv.org/abs/2402.10618v2
http://arxiv.org/pdf/2402.10618v2
Enhancing Role-playing Systems through Aggressive Queries: Evaluation and Improvement
2024-02-16T12:12:05
2024-06-15T13:51:38
Yihong Tang, Jiao Ou, Che Liu, Fuzheng Zhang, Di Zhang, Kun Gai
cs.CL
cs.CL
The advent of Large Language Models (LLMs) has propelled dialogue generation into new realms, particularly in the field of role-playing systems (RPSs). While enhanced with ordinary role-relevant training dialogues, existing LLM-based RPSs still struggle to align with roles when handling intricate and trapped queries in boundary scenarios. In this paper, we design the Modular ORchestrated Trap-setting Interaction SystEm (MORTISE) to benchmark and improve the role-playing LLMs' performance. MORTISE can produce highly role-relevant aggressive queries through the collaborative effort of multiple LLM-based modules, and formulate corresponding responses to create an adversarial training dataset via a consistent response generator. We select 190 Chinese and English roles to construct aggressive queries to benchmark existing role-playing LLMs. Through comprehensive evaluation, we find that existing models exhibit a general deficiency in role alignment capabilities. We further select 180 of the roles to collect an adversarial training dataset (named RoleAD) and retain the other 10 roles for testing. Experiments on models improved by RoleAD indicate that our adversarial dataset ameliorates this deficiency, with the improvements demonstrating a degree of generalizability in ordinary scenarios.
[ -0.17372404038906097, -0.7050544619560242, 0.030508624389767647, 0.19040179252624512, -0.07603137195110321, 0.06684844940900803, -0.2018868774175644, -0.34616604447364807, 0.05326287820935249, 0.734062910079956, -0.5833898186683655, -0.5399476289749146, -0.4682880938053131, 0.04577285423874855, 0.002495540538802743, 0.9090414643287659, 0.3093540668487549, 0.31518155336380005, -0.11853605508804321, -0.15498881042003632, -0.765061616897583, -0.3659096956253052, -1.022270917892456, -0.17023099958896637, 0.22523392736911774, -0.05608205869793892, 0.9866021871566772, 0.4565008878707886, 0.5891212224960327, 0.3240254521369934, 0.054486069828271866, 0.5604375600814819, -0.7474575638771057, 0.5406349897384644, -0.2602549195289612, -0.5448601841926575, -0.7438207864761353, -0.17544741928577423, 0.5655625462532043, 0.2617495059967041, -0.33611035346984863, -0.2035977691411972, 0.07409472018480301, 0.23832568526268005, -0.6374353766441345, 0.31471240520477295, -0.7671919465065002, 0.17015255987644196, -0.06078050285577774, -0.15508465468883514, -0.583495020866394, -0.17965753376483917, 0.1353207677602768, -0.6856961846351624, -0.022121379151940346, -0.030646082013845444, 0.6260004639625549, 0.27432888746261597, -0.3100959062576294, -0.19471558928489685, -0.5930899381637573, 0.6416531205177307, -0.9511117935180664, 0.0985674262046814, 0.3727879226207733, 0.31506970524787903, -0.5546517372131348, -0.1101011112332344, 0.1379375159740448, -0.10441246628761292, -0.1872222125530243, 0.23454754054546356, 0.14937786757946014, 0.25336238741874695, 0.37960734963417053, 0.0468856580555439, -0.667527437210083, 0.2222556322813034, -0.2237434685230255, -0.19049771130084991, 1.2125895023345947, 0.5206215977668762, 0.3864031732082367, -0.12363699823617935, -0.3384943902492523, -0.14280597865581512, -0.6532701253890991, 0.3936511278152466, 0.5589812397956848, 0.4826134145259857, 0.11061331629753113, 0.5551481246948242, 0.0680088922381401, 0.811539351940155, 0.1768072247505188, 0.1219189465045929, -0.3468573987483978, 0.09333565831184387, -0.20230606198310852, -0.15690775215625763, 0.6993454098701477, 0.5015333890914917, 0.3676987290382385, -0.11636147648096085, -0.4869980812072754, 0.11294816434383392, 0.748046338558197, -0.6067711114883423, -0.02498648129403591, 0.17643138766288757, -0.14522500336170197, -0.4993184208869934, 0.15960194170475006, -0.7690690755844116, -0.7182840704917908, 0.053132131695747375, 0.6327430009841919, -0.4269002377986908, -0.15923826396465302, 0.14679615199565887, -0.06558090448379517, 0.40052950382232666, 0.19031229615211487, -0.8311852812767029, 0.5301946997642517, 0.9026976227760315, 0.5650071501731873, -0.2689240574836731, -0.02419821172952652, -0.8549708127975464, 0.25254812836647034, -0.5993657112121582, 0.6168277859687805, -0.7771439552307129, -0.7299837470054626, 0.1851634830236435, 0.022154562175273895, -0.3583287298679352, -0.9271870255470276, 0.4821748435497284, -0.7569151520729065, -0.013294660486280918, -0.06172783672809601, -0.34260520339012146, 0.3077911138534546, 0.5923603177070618, -0.5915383696556091, 1.008474588394165, -0.1809845268726349, -0.38775190711021423, 0.16674277186393738, -0.6187982559204102, -0.35020408034324646, 0.06696389615535736, -0.4460112452507019, -0.44122278690338135, 0.08228643983602524, 0.4544665515422821, 0.3633006513118744, -0.18922856450080872, 0.3898685574531555, -0.2318846434354782, -0.9069206714630127, 0.23130834102630615, -0.0506926067173481, 0.8144769072532654, -0.032845403999090195, -0.3108788728713989, 0.17731058597564697, -0.20693914592266083, 0.014398838393390179, 0.05762088671326637, -0.2979389727115631, -0.38043931126594543, 0.3620247542858124, -0.6798645853996277, 0.07810287922620773, -0.08150435984134674, -0.19388312101364136, 0.5461381673812866, -0.4334567189216614, 0.06211384758353233, 0.8185527920722961, -0.0015168330864980817, 0.38723984360694885, -0.3417211174964905, 0.8725149035453796, -0.10733061283826828, 0.3223298490047455, -0.01794283092021942, -0.3602967858314514, -0.36637258529663086, -0.26922041177749634, 0.1848873347043991, 0.7952994108200073, -0.8673253059387207, 0.5253320336341858, -0.26390692591667175, -0.2677844762802124, -0.4107470214366913, -0.051917530596256256, 0.5910670757293701, 0.08911341428756714, 0.18330006301403046, -0.6208961009979248, -0.486341267824173, -0.8628559112548828, -0.41678693890571594, -0.24914109706878662, -0.0732702687382698, 0.7748737931251526, 0.08090130239725113, -0.001787229673936963, 0.5808097720146179, -0.5300394892692566, -0.2862490117549896, -0.14186152815818787, 0.017286479473114014, -0.05981309339404106, 0.41148853302001953, 0.26558423042297363, -0.5636684894561768, -0.5115893483161926, -0.28247374296188354, -0.7749159932136536, -0.28646591305732727, 0.0538954883813858, -0.4619300663471222, 0.041967712342739105, 0.5272782444953918, -0.6078255772590637, 0.38210177421569824, 0.44058775901794434, -0.13322797417640686, 0.6064944863319397, 0.3318808674812317, 0.337836891412735, -0.909481942653656, 0.10817791521549225, -0.23132085800170898, -0.056872352957725525, -0.6199738383293152, 0.38714030385017395, -0.07423226535320282, -0.4083653390407562, -0.15766113996505737, 0.36152857542037964, -0.6392961144447327, -0.19749730825424194, -0.18912793695926666, 0.44840872287750244, -0.06774138659238815, 0.46919888257980347, -0.09694045037031174, 0.9910401105880737, 0.596467137336731, -0.5458994507789612, 0.39961910247802734, 0.44465357065200806, -0.23511052131652832, 0.572650671005249, -0.5448339581489563, 0.054185230284929276, 0.000941262289416045, 0.5209453105926514, -1.0770933628082275, -0.2604334056377411, 0.11565861850976944, -0.3120117485523224, 0.5904545187950134, -0.6277422904968262, -0.1628071367740631, -0.20458364486694336, -0.5076141357421875, 0.4815771281719208, 0.5598296523094177, -0.15522657334804535, 0.645433783531189, 0.4646220803260803, -0.1574033945798874, -1.1592646837234497, -0.26717889308929443, 0.17099300026893616, -0.3354230225086212, -0.7285094857215881, 0.23237137496471405, 0.09073644876480103, -0.18042616546154022, -0.23183374106884003, -0.2641284465789795, -0.08465149253606796, 0.08287777006626129, 0.0615377277135849, 0.2723429203033447, -0.2787725627422333, 0.16534247994422913, -0.0647348091006279, 0.07187361270189285, 0.2907560169696808, 0.09605209529399872, 0.4957686960697174, 0.2337745875120163, -0.3733499050140381, -0.10653817653656006, 0.33860427141189575, 0.4279228746891022, -0.47758254408836365, 0.42310619354248047, 0.28314584493637085, -0.13485150039196014, -0.5038502216339111, -0.49782460927963257, -0.28492146730422974, -0.4987759292125702, 0.31446826457977295, -0.28363707661628723, -0.8878433108329773, 0.8416339755058289, -0.10577745735645294, 0.27670732140541077, 0.20303575694561005, -0.002570447977632284, 0.17144840955734253, 1.3194819688796997, 0.33129215240478516, -0.001155023230239749, 0.4563278555870056, -0.22265854477882385, 0.11618167161941528, -1.184609293937683, -0.1284029483795166, -0.29894885420799255, -0.451381117105484, -0.4816266596317291, -0.5333094000816345, 0.6139569282531738, 0.07683945447206497, -0.2148686945438385, 0.3850991427898407, -0.3849889934062958, 0.38189247250556946, -0.05428958311676979, 0.23082152009010315, 0.01744256354868412, -0.29105159640312195, -0.10255055874586105, -0.13663721084594727, -0.7950477004051208, -0.5103610157966614, 0.8979313373565674, 0.06495990604162216, 1.0510820150375366, 0.47911152243614197, 0.5704691410064697, 0.18386094272136688, 0.4089644253253937, -0.7503675222396851, 0.8629682064056396, -0.28692349791526794, -0.8119614720344543, -0.40908703207969666, -0.24032320082187653, -0.983198344707489, 0.3652874827384949, -0.313493937253952, -0.7845015525817871, 0.08469769358634949, 0.10156332701444626, -0.658175528049469, 0.2381891906261444, -0.3443131446838379, 0.7549540996551514, -0.16057880222797394, -0.7974939346313477, -0.00246579572558403, -0.6378905177116394, 0.6789247393608093, 0.27937737107276917, -0.059270359575748444, 0.02812681905925274, -0.031202491372823715, 0.4006415009498596, -0.09277714788913727, 1.187321662902832, -0.40380603075027466, -0.3831053078174591, 0.3907187879085541, 0.5098665356636047, 0.7707687616348267, 0.23705323040485382, -0.4924386441707611, -0.3368324935436249, -0.1943659782409668, -0.2550640404224396, -0.7200269103050232, 0.799111008644104, -0.6102726459503174, -1.1780433654785156, -0.17351771891117096, -0.622490406036377, -0.49452897906303406, -0.08116918802261353, -0.14536969363689423, 0.6352524757385254, -0.6963962316513062, 0.2727244794368744, 0.9612276554107666, -0.3504016399383545, 0.17065496742725372, 0.5267998576164246, -0.16717496514320374, -0.1656738519668579, 0.5063427686691284, 0.08695369958877563, 0.31804201006889343, 0.22390873730182648, -0.11036339402198792, -0.17469874024391174, -0.3174359202384949, -0.582000195980072, -0.07107482105493546, -0.18708781898021698, -0.4981810748577118, -0.6935654282569885, -0.4306401312351227, -0.6720978021621704, -0.10591864585876465, -0.23153512179851532, -0.11695832759141922, 0.14784252643585205, 0.015509402379393578, 0.00025726566673256457, 0.5987673401832581, -0.0630817636847496, 0.3166048526763916, -0.8055975437164307, 0.05882414057850838, 0.37603330612182617, 0.5769379734992981, 0.05788039788603783, -0.5540984272956848, -0.27007895708084106, -0.1454283893108368, -0.3855632245540619, -0.9806239604949951, 0.16930091381072998, 0.16173049807548523, 0.7896486520767212, 0.4373176097869873, 0.13477645814418793, 0.7965026497840881, -0.5575565695762634, 1.0080878734588623, -0.54169762134552, -0.756980299949646, 0.5437220931053162, -0.8065780997276306, 0.17092840373516083, 0.4271286427974701, 0.276176780462265, -0.4103488326072693, -0.3439941108226776, -0.5369014739990234, -0.7530512809753418, 1.0778952836990356, 0.10890904814004898, 0.22960194945335388, -0.07097308337688446, 0.4360409677028656, -0.14514052867889404, 0.1788402646780014, -0.42757102847099304, 0.1183992549777031, 0.05579197406768799, 0.02524445205926895, -0.07423390448093414, -0.13759519159793854, -0.574144184589386, 0.10122876614332199, 0.8110151290893555, -0.05561121180653572, 0.15014390647411346, 0.07420419156551361, 0.06448190659284592, -0.2575991153717041, 0.2560998797416687, 0.5924854874610901, 0.3209323585033417, -0.23187285661697388, -0.038473960012197495, 0.26067596673965454, -0.15744513273239136, 0.06811774522066116, 0.08098357170820236, 0.04990415275096893, -0.3471221923828125, 0.3814563751220703, 0.5232720375061035, 0.45444241166114807, -0.8239043951034546, 0.6128478646278381, 0.013929751701653004, 0.09377766400575638, 0.01724729873239994, 0.5892474055290222, 0.12879833579063416, 0.251889169216156, 0.06182418018579483, -0.25680556893348694, 0.25229865312576294, -0.6398181915283203, 0.3404620289802551, 0.8770411610603333, -0.3982618451118469, -0.1652652472257614, 0.4153304100036621, 0.4662424921989441, -0.6059194803237915, 0.5444028973579407, -0.03580480441451073, -0.5907566547393799, 0.6779351830482483, 0.5359438061714172, 0.763481855392456, -0.7883435487747192, 0.29992029070854187, 0.4128957986831665, 0.466993510723114, -0.06761224567890167, 0.2713538408279419, -0.03627323731780052, -0.7307011485099792, -0.45300307869911194, -0.18063561618328094, -0.31585806608200073, 0.23666588962078094, -0.917007327079773, 0.3127857744693756, -0.4524611532688141, -0.2476305365562439, -0.4246561825275421, 0.22969751060009003, -0.29995059967041016, 0.07887039333581924, -0.23716922104358673, 0.7171366810798645, -0.7563778758049011, 0.2561774253845215, 0.8095982074737549, -0.06823620945215225, -0.53471440076828, 0.011536742560565472, 0.07948196679353714, -0.8494975566864014, 0.3438676595687866, 0.08092526346445084, -0.21225546300411224, -0.12907342612743378, -0.81240314245224, -0.5506750345230103, 1.0090358257293701, -0.02575908601284027, -0.3165692090988159, 0.06510557234287262, -0.04561614990234375, 0.7756908535957336, -0.5908896327018738, 0.23585431277751923, 0.4373033940792084, 0.36805999279022217, -0.15665827691555023, -0.7131931185722351, 0.13727553188800812, -0.36011141538619995, -0.014568711631000042, 0.3293885290622711, -0.884848952293396, 0.4729624390602112, -0.04755280911922455, -0.3917829990386963, 0.19636590778827667, 0.3285134732723236, 0.2849976122379303, 0.15427717566490173, 0.6749421954154968, 0.4723471403121948, 0.16937828063964844, -0.11850200593471527, 0.7554897665977478, -0.2051466852426529, -0.11922804266214371, 1.1863679885864258, -0.743299126625061, 0.6442356109619141, 0.08426910638809204, 0.1610313355922699, 0.2622857987880707, 0.48793554306030273, -0.024586841464042664, 0.3256593644618988, 0.6882345676422119, -0.32217100262641907, -0.5993884205818176, -0.06523822993040085, -0.16040043532848358, 0.5408301949501038, 0.5632938146591187, -0.0809292271733284, -0.2783842086791992, -0.3434814512729645, -0.10065820068120956, 0.30346521735191345, 0.021100729703903198, 1.0196059942245483, -0.04662010818719864, -0.9950870275497437, 0.2072746306657791, 0.023411042988300323, 0.5700418949127197, -0.8692871332168579, -0.17428375780582428, -0.34880632162094116, 0.13653594255447388, -0.15318308770656586, -0.560927152633667, 0.17783860862255096, 0.012372398748993874, 0.14603738486766815, 0.1751057356595993, 0.6587521433830261, -0.5020033717155457, -0.07811697572469711, 0.4689798355102539, 0.471299409866333, 0.1844625174999237, 0.24469609558582306, -0.8911488056182861, 0.33930811285972595, -0.14753761887550354, -0.23365826904773712, 0.3381918966770172, 0.47659409046173096, -0.376829594373703, 0.4680348038673401, 0.38000231981277466, 0.035580284893512726, 0.01014100294560194, 0.0753607526421547, 1.059441089630127, -0.5033106207847595, -0.3313780725002289, -0.5078522562980652, 0.6494400501251221, -0.32190701365470886, -0.2411881983280182, 0.550151526927948, 0.5864660739898682, 0.6018730401992798, -0.0008573344093747437, 0.6046165227890015, 0.05300057679414749, 0.1558283269405365, -0.385168194770813, 0.424717515707016, -0.3560529351234436, 0.5221480131149292, -0.16954830288887024, -0.9423872232437134, -0.23203015327453613, 0.5172421932220459, -0.26488545536994934, 0.2664758563041687, 0.2606012523174286, 1.256717562675476, -0.30560970306396484, -0.2104506939649582, 0.602924108505249, 0.2643735110759735, 0.5243498086929321, 0.4980112910270691, 0.9869381189346313, -0.6507242918014526, 0.46958643198013306, 0.20417417585849762, -0.41792964935302734, -0.3143596947193146, -0.7258003950119019, -0.9504826068878174, -0.17297782003879547, -0.048987358808517456, -0.26903897523880005, 0.5262014865875244, 0.7863753437995911, 0.630903422832489, -0.5594387650489807, -0.5632206201553345, 0.4141397476196289, -0.1323583424091339, -0.45215219259262085, -0.3125894367694855, 0.20695988833904266, -0.5646263360977173, -0.7949760556221008, 0.7825770974159241, 0.2271975576877594, -0.2903749942779541, -0.3617786765098572, 0.11414901912212372, -0.28549662232398987, 0.667026162147522, 0.5324988961219788, 0.25999677181243896, -0.5811280608177185, -0.38597631454467773, 0.19984431564807892, -0.22265467047691345, -0.14195270836353302, 1.1869832277297974, -0.40373292565345764, 0.5088329911231995, 0.33992359042167664, 0.7630059719085693, 0.053846728056669235, 0.4365725815296173, 1.0137869119644165, -0.7929790616035461, -0.10907077044248581, 0.3784443140029907, -0.017329882830381393, 0.2768215239048004, -0.7334074974060059, 0.75062096118927, -0.3266065716743469, -0.7023008465766907, -0.88470059633255, 0.40937021374702454, -0.8029648661613464, -0.1854032427072525, 1.100639820098877, -0.38820740580558777, 0.05817672610282898, -0.15592604875564575, -0.2679523825645447, 0.17608556151390076, -0.37720784544944763, 1.0272724628448486, 0.8415541648864746, -0.3329840302467346, 0.20475398004055023, -0.4551723599433899, 0.8160017132759094, 0.7144650220870972, -0.5063322186470032, 0.40232372283935547, 0.7216989994049072, -0.04986026883125305, 0.055849846452474594, 0.5244083404541016, -0.4740177094936371, 0.10524963587522507, -0.17721402645111084, -0.10497714579105377, 0.033953707665205, -0.4147425889968872, -0.37194162607192993, 0.03557582572102547, -0.21416763961315155, 0.04233330115675926 ]
http://arxiv.org/abs/2402.10614v2
http://arxiv.org/pdf/2402.10614v2
Can LLMs Speak For Diverse People? Tuning LLMs via Debate to Generate Controllable Controversial Statements
2024-02-16T12:00:34
2024-06-07T20:19:09
Ming Li, Jiuhai Chen, Lichang Chen, Tianyi Zhou
cs.CL
cs.CL, cs.AI, cs.LG
Making LLMs speak for different, especially minority groups of people, and generate statements supporting their diverse or even controversial perspectives is critical to creating an inclusive environment. However, existing LLMs lack sufficient controllability to the stance of their generated content, which often contains inconsistent, neutral, or biased statements. In this paper, we improve the controllability of LLMs in generating statements supporting an argument the user defined in the prompt. We find that multi-round debates between two LLMs with opposite stances generate higher-quality and more salient statements for each, which are important training data to improve the controllability of LLMs. Motivated by this, we develop a novel debate & tuning (DEBATUNE) pipeline finetuning LLMs to generate the statements obtained via debate. To examine DEBATUNE, we curate the largest dataset of debate topics so far, which covers 710 controversial topics and corresponding arguments for each topic. Evaluations by the GPT-4 judge with a novel controversy controllability metric show that LLMs' capability of generating diverse perspectives is significantly improved by DEBATUNE. Moreover, such controllability can be generalized to unseen topics, generating high-quality statements supporting controversial arguments.
[ -0.7941843867301941, -0.5633652806282043, 0.12417707592248917, 0.25456565618515015, -0.5275545120239258, 0.45965540409088135, -0.3601277768611908, -0.2668350636959076, 0.3535168170928955, 0.3961560130119324, -0.4280778765678406, -0.45065662264823914, -0.832581102848053, 0.02507578767836094, -0.14267738163471222, 1.1214927434921265, -0.08466741442680359, 0.05748917907476425, 0.2187509834766388, -0.4785435199737549, -0.5719798803329468, -0.30620837211608887, -0.40873852372169495, -0.3272647261619568, 0.9536339044570923, 0.5851202607154846, 0.865909218788147, 0.4250238239765167, 0.3193623125553131, 0.3002013862133026, -0.39245808124542236, 0.47003173828125, -0.7660025954246521, 0.3975115716457367, -0.7068706750869751, -0.5187550783157349, -0.037698712199926376, 0.0680888220667839, 0.4822200834751129, 0.39476829767227173, -0.18479877710342407, -0.15807510912418365, 0.17312070727348328, 0.36198392510414124, -0.4298610985279083, -0.5327482223510742, -1.2602424621582031, 0.3007749319076538, -0.5850955247879028, -0.22380061447620392, -0.11816349625587463, -0.47886064648628235, -0.3294549882411957, -0.5036624073982239, 0.2747611403465271, 0.19884073734283447, 0.7746960520744324, 0.4440876543521881, -0.5823127627372742, -0.28850609064102173, -0.7408290505409241, 0.5943195223808289, -0.8193996548652649, 0.052184052765369415, -0.03508444502949715, 0.32584187388420105, -0.2779032588005066, -0.36135226488113403, -0.6115060448646545, 0.18715360760688782, 0.23861481249332428, 0.1739492267370224, -0.22169621288776398, -0.021245213225483894, 0.2760182321071625, 0.3028799593448639, -0.21411095559597015, 0.7195973992347717, -0.2796265780925751, -0.3617016077041626, 0.7220426201820374, 0.28396356105804443, -0.0875929445028305, -0.3513471186161041, -0.26198166608810425, 0.22519788146018982, -0.6638056635856628, 0.00020502151164691895, 0.8932558298110962, 0.18952448666095734, 0.03241578862071037, 0.5334732532501221, -0.35581105947494507, 0.5768141746520996, 0.39106011390686035, -0.04541775584220886, -0.04403727874159813, -0.04665041342377663, -0.2619531750679016, 0.008460656739771366, 0.7247638702392578, 0.5632617473602295, -0.028958534821867943, -0.02406155876815319, 0.011430750600993633, -0.03493857383728027, 0.1864282339811325, -0.7674371600151062, -0.3477514088153839, 0.24157139658927917, -0.20547203719615936, -0.3761511445045471, -0.024772511795163155, -0.8666284680366516, -0.9699742197990417, -0.44079625606536865, -0.09233646839857101, -0.09248936921358109, -0.3568449020385742, -0.058019500225782394, -0.19515277445316315, 0.11723814904689789, 0.7255150675773621, -0.897602379322052, 0.13783623278141022, 0.6185102462768555, 0.5981463193893433, -0.7042924165725708, 0.1898273378610611, -0.6167001724243164, 0.2563353478908539, -0.22998112440109253, 0.6182451844215393, -0.7660425305366516, -0.44139227271080017, -0.35490861535072327, -0.2928204834461212, 0.278472363948822, -0.8178176879882812, 0.5638332962989807, -0.4357288181781769, 0.1798834204673767, -0.5514339804649353, -0.5020076632499695, 0.2649955153465271, 0.42211344838142395, -0.4495467245578766, 0.3167988359928131, -0.03920000046491623, -0.9052672982215881, 0.6505241990089417, -0.4993765652179718, -0.17077136039733887, 0.2188480645418167, -0.7967073917388916, -0.44779422879219055, 0.025369049981236458, 0.1822715699672699, 0.02805335633456707, -0.05281520262360573, 0.4429570734500885, -0.3602478802204132, -0.2205052673816681, 0.5191633105278015, -0.4916589558124542, 0.6739121675491333, 0.4269363284111023, -0.5642114877700806, 0.1854000836610794, -0.44720742106437683, -0.14863738417625427, -0.17346873879432678, -0.5215917825698853, -0.04919023811817169, 0.11831706017255783, -0.17053963243961334, 0.15061193704605103, -0.13798099756240845, -0.5832303762435913, 0.36232057213783264, -0.2061421126127243, 0.44147661328315735, 1.068796992301941, 0.019393254071474075, 0.2829474210739136, -0.3313334882259369, 0.7151859998703003, 0.32052934169769287, -0.09277845919132233, 0.2202623039484024, -0.41137996315956116, -0.8231081962585449, -0.27435052394866943, 0.19966872036457062, 0.5325322151184082, -0.5685545802116394, 0.18416500091552734, 0.1598435342311859, -0.3777093291282654, -0.6216394901275635, 0.500193178653717, 0.1201661080121994, 0.6048440933227539, 0.3200538456439972, -0.01691724732518196, -0.6081331968307495, -0.9897577166557312, -0.5891829133033752, 0.045766524970531464, 0.054677564650774, 0.5751301646232605, 0.07514675706624985, -0.09646237641572952, 0.7883637547492981, -0.2576060891151428, 0.1301240772008896, -0.18132327497005463, 0.4472736716270447, 0.10714247077703476, 0.47848811745643616, 0.30785778164863586, -0.8221406936645508, -0.4574664533138275, -0.1308714747428894, -0.39552929997444153, -0.3492901921272278, -0.2940582036972046, -0.47082439064979553, 0.10200554132461548, 0.24471482634544373, -0.380675345659256, 0.05884360149502754, 0.28131377696990967, -0.4181813597679138, 0.3882347643375397, 0.3086594343185425, 0.22343526780605316, -1.0950207710266113, -0.4158678948879242, -0.10933486372232437, -0.32891684770584106, -0.05773196741938591, -0.1858651340007782, -0.15509319305419922, 0.07817661762237549, -0.6819168329238892, 0.35893023014068604, -0.2509804666042328, 0.45996394753456116, -0.22838903963565826, 0.2702322006225586, -0.10997554659843445, 0.3029758334159851, -0.2005399912595749, 0.3378254771232605, 0.47616833448410034, -0.5927115678787231, 0.5449097156524658, 0.44204485416412354, -0.22973033785820007, 0.8896864652633667, -0.4253872036933899, 0.1414790153503418, -0.12507152557373047, 0.23957936465740204, -1.1361825466156006, -0.30625253915786743, 0.4345910847187042, -0.13825443387031555, 0.4409351646900177, -0.15200287103652954, -0.08554049581289291, -0.3834596872329712, -0.2903937101364136, 0.13696137070655823, 0.3735767900943756, -0.4741174280643463, 0.14218559861183167, 0.5275484919548035, -0.3957007825374603, -0.6598449945449829, -0.817952036857605, 0.3535343408584595, -0.6285089254379272, -0.43361976742744446, 0.3187577426433563, -0.21709054708480835, -0.5060201287269592, -0.2463350147008896, -0.29267317056655884, 0.2741618752479553, 0.21393561363220215, 0.27015841007232666, -0.14337682723999023, 0.03009059466421604, 0.3816838562488556, 0.6292731165885925, 0.017665712162852287, -0.08539091795682907, -0.05533133074641228, 0.34484535455703735, -0.04815792292356491, -0.640545666217804, -0.06455297023057938, 0.5486868619918823, 0.12735587358474731, 0.03504135087132454, 0.33778685331344604, 0.42098742723464966, 0.08295965939760208, -0.45864158868789673, -0.5873881578445435, -0.06085684895515442, -0.4919227361679077, 0.3084694445133209, -0.20211045444011688, -1.4327681064605713, 0.41979366540908813, -0.32639938592910767, 0.4930812120437622, 0.4489818215370178, 0.9514458179473877, -0.3183533251285553, 0.7486699223518372, 0.24963422119617462, 0.05921049788594246, 0.28634124994277954, 0.15352414548397064, -0.01182575337588787, -0.5546783208847046, -0.219020813703537, -0.5770328044891357, -1.156471610069275, -0.7365235090255737, -0.3798307478427887, 0.2915753126144409, 0.20736348628997803, -0.3458148241043091, -0.2029520720243454, -0.7432385683059692, 0.6586220264434814, 0.17930637300014496, 0.04691952466964722, 0.5035992860794067, 0.13660213351249695, -0.24722211062908173, -0.5977132320404053, -0.38324251770973206, -0.6021957397460938, 0.7085025906562805, 0.3705902099609375, 1.1245315074920654, 0.38990142941474915, 0.8487313985824585, 0.4629122018814087, 0.6375622153282166, -0.6711425185203552, 0.4185401201248169, -0.019248630851507187, -0.6921098232269287, -0.16038797795772552, -0.6189996004104614, -0.7675964832305908, 0.6082019805908203, -0.21660514175891876, -0.7013938426971436, 0.20382268726825714, 0.3862478733062744, -0.16015246510505676, 0.6523988842964172, -0.27726590633392334, 0.5632718801498413, -0.3830602765083313, -0.39395448565483093, -0.17656363546848297, -0.5290948748588562, 0.5253251194953918, -0.04782787337899208, 0.048208851367235184, -0.4247637987136841, -0.11393635720014572, 0.6823434233665466, -0.3062116503715515, 0.9543818235397339, -0.3046242296695709, -0.49687662720680237, 0.2683769762516022, 0.1617773175239563, 0.19502055644989014, 0.5041966438293457, -0.2229541391134262, 0.21141859889030457, -0.6401711106300354, -0.22059141099452972, -0.39562278985977173, 0.8496056795120239, -0.9344937801361084, -1.2001570463180542, -0.08990270644426346, -0.5953694581985474, -0.2790754437446594, 0.10096003860235214, 0.4295359253883362, 0.05634574592113495, -0.20935450494289398, 0.17616605758666992, 0.8178375959396362, -0.08298273384571075, 0.3511955738067627, 0.4559820890426636, -0.13641493022441864, -0.5744870901107788, 0.7093159556388855, 0.13902968168258667, 0.18465083837509155, 0.18039743602275848, 0.2051766961812973, -0.30147886276245117, -0.6662728190422058, -0.4836380183696747, -0.08816957473754883, -0.7170730233192444, -0.5032103657722473, -0.791671097278595, -0.02933249995112419, 0.01802898198366165, -0.18937908113002777, -0.22150732576847076, -0.9887740015983582, -0.27083948254585266, -0.3200934827327728, 0.35126617550849915, 0.4070003628730774, -0.08390400558710098, 0.3668491244316101, -0.41418835520744324, 0.4775148332118988, 0.5644298791885376, 0.18518628180027008, -0.5278163552284241, -0.7251461148262024, 0.1321582794189453, 0.10760705918073654, -1.0829029083251953, -0.9637852907180786, 0.0679655596613884, 0.07751989364624023, 0.7617450952529907, 0.4599987864494324, 0.2109079509973526, 0.46084991097450256, -0.2572774589061737, 0.8164847493171692, 0.35524290800094604, -0.9653889536857605, 0.8011968731880188, -0.3854687213897705, 0.08173183351755142, 0.48464235663414, 0.30344220995903015, -0.3949149250984192, -1.0590869188308716, -0.487635999917984, -0.8368557095527649, 0.6437816023826599, 0.16907989978790283, 0.37012895941734314, 0.049133215099573135, 0.12171313911676407, 0.609947681427002, 0.5317361950874329, -0.7478154301643372, -0.24131900072097778, -0.5730915665626526, -0.08325870335102081, 0.3103347718715668, -0.11770562827587128, -0.8871123194694519, -0.3641422390937805, 0.3742033541202545, -0.14597375690937042, -0.2576892375946045, 0.0049594552256166935, 0.15902316570281982, -0.29076141119003296, 0.7601237297058105, 0.5998889803886414, 0.6905929446220398, 0.05325765907764435, 0.46271637082099915, 0.07275838404893875, -0.17274849116802216, 0.3987464904785156, 0.09652306884527206, -0.34107744693756104, 0.011420125141739845, -0.22401317954063416, 1.0584408044815063, -0.2361781895160675, -0.2580311894416809, 0.10571330040693283, -0.15242506563663483, -0.43299639225006104, 0.2645185887813568, 0.5022854208946228, 0.44153180718421936, 0.5040128231048584, 0.040100786834955215, 0.3696133494377136, -0.06709380447864532, -0.060065362602472305, 0.08238096535205841, 0.5141977071762085, -0.1765964776277542, 0.10180091112852097, 1.093104600906372, 0.6834832429885864, -0.18799778819084167, 0.32665982842445374, -0.15876975655555725, -0.22572749853134155, 0.5364811420440674, 0.4587118923664093, 0.7614062428474426, -0.07090818881988525, 0.4657887816429138, 0.13134883344173431, 0.25705480575561523, 0.39117515087127686, 0.2778313457965851, -0.277882844209671, -0.9253929257392883, -0.19758151471614838, -0.44327229261398315, -0.9618491530418396, 0.1979772299528122, -0.4443797171115875, 0.15052920579910278, -0.8661612272262573, -0.3535041809082031, -0.027696656063199043, 0.020464062690734863, -0.39644676446914673, -0.016678238287568092, 0.37156063318252563, 0.8590694069862366, -0.693615198135376, 0.4946228265762329, 0.5868752002716064, -0.10157648473978043, -0.4115518629550934, 0.02785109169781208, 0.0662202462553978, -0.3569246828556061, 0.47324854135513306, 0.0897960215806961, -0.18988634645938873, -0.2978794574737549, -0.977921187877655, -0.31599512696266174, 0.9072821140289307, 0.8330036997795105, -1.0275685787200928, 0.48701515793800354, 0.19464439153671265, 0.17810393869876862, -0.3027510941028595, 0.09474299848079681, 0.31754785776138306, 0.6336941719055176, 0.42022940516471863, -0.646134078502655, 0.0783662274479866, -0.16218897700309753, -0.1454470306634903, -0.02254590578377247, -1.0628575086593628, 0.9747632145881653, -0.24244527518749237, 0.010909700766205788, -0.3972841501235962, 0.7611770033836365, 0.589874804019928, 0.3074829876422882, 0.4878480136394501, 0.42710161209106445, 1.3470349311828613, -0.24936650693416595, 0.6650076508522034, 0.07155715674161911, 0.12635666131973267, 1.284485101699829, -0.38561245799064636, 0.2986869513988495, 0.4692750573158264, -0.0001693172234809026, 0.3834621012210846, 0.7406819462776184, -0.11294745653867722, 0.31600484251976013, 0.6722785234451294, -0.34539276361465454, -0.4957610070705414, -0.07399003952741623, -0.48172527551651, 0.2781255543231964, 0.3482849597930908, -0.09154444932937622, -0.2501392960548401, -0.10833925008773804, 0.25633513927459717, 0.4046030044555664, -0.2408304661512375, 0.630573570728302, 0.11713484674692154, -0.4920349717140198, 0.7426513433456421, 0.12447583675384521, 0.9397767186164856, -0.5200954675674438, 0.17258279025554657, -0.5145735144615173, 0.033874399960041046, -0.4424886405467987, -0.7755822539329529, 0.23071269690990448, 0.17144377529621124, -0.11204914003610611, -0.36626875400543213, 0.5597009658813477, -0.5327848792076111, -0.2981780767440796, -0.087744802236557, 0.4491133391857147, 0.1543388068675995, 0.28222161531448364, -0.7479291558265686, 0.1618209034204483, 0.28260594606399536, -0.40118977427482605, 0.19552278518676758, 0.6631613969802856, -0.13695128262043, 0.4658605754375458, 0.24244986474514008, 0.2562271058559418, 0.14873981475830078, 0.29983386397361755, 1.3282289505004883, -0.5992522835731506, -0.4107270836830139, -0.912810206413269, 0.5622147917747498, -0.4538348615169525, -0.6101986765861511, 0.7791584730148315, 0.4003508687019348, 0.7903124690055847, 0.16773849725723267, 1.002784013748169, -0.04665272310376167, 0.5256049036979675, -0.4825498163700104, 0.6652635335922241, -0.5450387001037598, 0.2062845379114151, -0.13877356052398682, -0.6237823367118835, -0.11527873575687408, 0.4710384011268616, -0.05087697505950928, -0.05287866294384003, 0.3031904399394989, 0.7889817357063293, -0.26487109065055847, 0.19497403502464294, 0.20421689748764038, 0.43234366178512573, 0.8611907958984375, 0.6006610989570618, 1.0744837522506714, 0.26350757479667664, 0.5228469371795654, 0.19436492025852203, -0.2195868194103241, -0.08060454577207565, -1.0781633853912354, -0.8852894902229309, 0.169817715883255, -0.5676161050796509, -0.26030072569847107, -0.2560558021068573, 0.8807616233825684, 0.4192329943180084, -0.9466942548751831, -0.03747504577040672, -0.12795978784561157, 0.6006946563720703, 0.14031337201595306, -0.22010396420955658, -0.11807061731815338, -0.25476837158203125, -0.8185964822769165, 0.3233332633972168, 0.2516925632953644, -0.1076466292142868, -0.33966711163520813, -0.2783893048763275, 0.05311493203043938, 0.2047835886478424, 0.25680413842201233, 0.38806387782096863, -0.7309659123420715, -0.16033779084682465, -0.463516503572464, -0.19735465943813324, 0.2524234652519226, 0.9788253307342529, -0.5239624381065369, 0.5448395013809204, 0.32196712493896484, 0.6491116881370544, 0.4853304326534271, 0.21004994213581085, 0.39223042130470276, -0.8274503946304321, 0.3077663779258728, 0.5359894037246704, 0.27248820662498474, 0.4554944336414337, -0.40413951873779297, 0.14858824014663696, 0.3465200662612915, -0.48288920521736145, -0.5280598402023315, 0.5840517282485962, -1.1377947330474854, -0.21818511188030243, 1.2080914974212646, -0.061783406883478165, 0.37643101811408997, -0.18384751677513123, -0.675642728805542, 0.18685109913349152, -0.5476773977279663, 0.9952251315116882, 0.7417951822280884, -0.3439708650112152, -0.0475766658782959, -0.1905377209186554, 0.5659664273262024, 0.6448143720626831, -0.8325657844543457, 0.1246461272239685, 0.6022338271141052, 0.3346605598926544, -0.05661787837743759, 0.7679177522659302, -0.15116995573043823, -0.14986741542816162, -0.22189699113368988, -0.28303176164627075, -0.24187394976615906, -0.11860250681638718, -0.1063465103507042, 0.2269809991121292, 0.050902750343084335, -0.03713914752006531 ]
http://arxiv.org/abs/2402.10612v1
http://arxiv.org/pdf/2402.10612v1
Retrieve Only When It Needs: Adaptive Retrieval Augmentation for Hallucination Mitigation in Large Language Models
2024-02-16T11:55:40
2024-02-16T11:55:40
Hanxing Ding, Liang Pang, Zihao Wei, Huawei Shen, Xueqi Cheng
cs.CL
cs.CL
Hallucinations pose a significant challenge for the practical implementation of large language models (LLMs). The utilization of parametric knowledge in generating factual content is constrained by the limited knowledge of LLMs, potentially resulting in internal hallucinations. While incorporating external information can help fill knowledge gaps, it also introduces the risk of irrelevant information, thereby increasing the likelihood of external hallucinations. A careful and balanced integration of the parametric knowledge within LLMs with external information is crucial to alleviate hallucinations. In this study, we present Rowen, a novel approach that enhances LLMs with a selective retrieval augmentation process tailored to address hallucinated outputs. This process is governed by a multilingual semantic-aware detection module, which evaluates the consistency of the perturbed responses across various languages for the same queries. Upon detecting inconsistencies indicative of hallucinations, Rowen activates the retrieval of external information to rectify the model outputs. Rowen adeptly harmonizes the intrinsic parameters in LLMs with external knowledge sources, effectively mitigating hallucinations by ensuring a balanced integration of internal reasoning and external evidence. Through a comprehensive empirical analysis, we demonstrate that Rowen surpasses the current state-of-the-art in both detecting and mitigating hallucinated content within the outputs of LLMs.
[ -0.3540969789028168, -0.7128084897994995, 0.6372638940811157, 0.44976499676704407, -0.10473281145095825, -0.3088368773460388, -0.5416976809501648, -0.5760298371315002, 0.557450532913208, 0.744167149066925, -0.3721311092376709, -0.3813275992870331, -0.40058982372283936, 0.20952385663986206, -0.25387781858444214, 0.7253267168998718, 0.14241859316825867, 0.2134673297405243, -0.1733337640762329, -0.19252465665340424, -0.5953859686851501, -0.4365001618862152, -0.5392251014709473, -0.26127469539642334, 0.7854101061820984, 0.02817283384501934, 0.787529706954956, 0.33312538266181946, 0.4148580729961395, 0.2895282804965973, -0.05436855927109718, 0.6422259211540222, -0.6746547818183899, 0.47897347807884216, -0.18396314978599548, -0.1326953023672104, -0.1500130295753479, -0.5571512579917908, 0.6445003151893616, 0.6881548166275024, -0.32627689838409424, -0.291782021522522, 0.19510246813297272, 0.5994396805763245, -0.9234331250190735, -0.043578967452049255, -1.0926275253295898, 0.10113781690597534, -0.058149151504039764, -0.36266809701919556, -0.6144033670425415, -0.20599359273910522, -0.013941943645477295, -0.5542854070663452, 0.18119701743125916, -0.056573789566755295, 0.4743008315563202, 0.43479230999946594, -0.33602267503738403, -0.42244380712509155, -0.5744438171386719, 0.7451724410057068, -0.5130655765533447, 0.6388273239135742, 0.48528099060058594, 0.19474007189273834, -0.34334802627563477, -0.6204855442047119, -0.49642127752304077, -0.5989044308662415, -0.22767962515354156, 0.13151434063911438, 0.07209166139364243, 0.054949745535850525, 0.26721784472465515, 0.1408274918794632, -0.603827178478241, -0.06612589955329895, -0.3442038893699646, -0.5775232911109924, 0.5653871893882751, 0.13091866672039032, 0.19566094875335693, -0.28685465455055237, -0.2741531431674957, 0.038972459733486176, -0.5553525686264038, -0.38484132289886475, 0.40698859095573425, 0.4132368266582489, 0.45190349221229553, 0.7324126362800598, -0.006399768870323896, 0.5419096946716309, -0.029889410361647606, 0.20273858308792114, 0.21947823464870453, -0.1368313729763031, -0.05579235404729843, 0.3898356854915619, 0.580374002456665, 0.13397639989852905, -0.07946043461561203, -0.5506201982498169, -0.41547828912734985, -0.024050092324614525, 0.5299900770187378, -0.5551391243934631, -0.3087632954120636, 0.39088210463523865, -0.2678079903125763, -0.047010503709316254, -0.0074167679995298386, -0.6959097981452942, -1.0119861364364624, -0.4224089980125427, 0.6767666935920715, -0.5500352382659912, -0.45172369480133057, 0.23325957357883453, -0.1316479593515396, 0.24051831662654877, 0.3080434799194336, -0.6561866998672485, 0.06268250197172165, 0.4631401300430298, 0.9055390357971191, -0.5548095703125, -0.3395644426345825, -0.7633450627326965, 0.4704422056674957, -0.5213454961776733, 0.8079655766487122, -0.4180702567100525, -0.19438284635543823, 0.22462955117225647, 0.1365995556116104, 0.014013698324561119, -0.8244197368621826, 0.5761209726333618, -0.7195139527320862, -0.0025980500504374504, -0.3436586856842041, -0.47831761837005615, -0.06989815086126328, 0.14438344538211823, -0.8342587351799011, 1.0420830249786377, 0.06767837703227997, -0.8555959463119507, 0.13975569605827332, -0.30384668707847595, -0.5554699897766113, -0.004752703011035919, -0.015905773267149925, -0.14468029141426086, 0.309732049703598, 0.2683029770851135, 0.1997891664505005, -0.0484444722533226, 0.38092485070228577, -0.39281779527664185, -0.4331654906272888, 0.13535480201244354, -0.3849577009677887, 0.6456640958786011, 0.03597334027290344, -0.12720905244350433, 0.5071913003921509, -0.763496994972229, 0.018005402758717537, -0.011670080944895744, -0.16768069565296173, -0.47834691405296326, -0.020940376445651054, 0.1653892695903778, 0.10632841289043427, 0.32024243474006653, -0.30015966296195984, -0.06899755448102951, -0.5222116708755493, -0.0692485049366951, 0.8512018322944641, 0.013189769349992275, 0.4144623875617981, -0.5054091811180115, 0.2485101968050003, -0.010431540198624134, 0.09323836117982864, -0.010483140125870705, -0.09699507057666779, -0.9431686997413635, -0.25932586193084717, -0.1299397498369217, 0.5899074077606201, -1.1078402996063232, 0.575916051864624, -0.08151406794786453, -0.18130801618099213, -0.6009235978126526, 0.16541513800621033, 0.066543810069561, 0.4037933349609375, 0.6286510825157166, 0.20566315948963165, -0.8778433203697205, -0.8378772735595703, -0.29310035705566406, -0.10190107673406601, -0.3318280875682831, 0.16384807229042053, 0.253023624420166, -0.26656126976013184, 0.44061779975891113, -0.30680036544799805, -0.7475075721740723, -0.2422582507133484, -0.02111009508371353, 0.11470366269350052, 0.21321812272071838, 0.19452379643917084, -0.7475115656852722, -0.39725449681282043, 0.3557070791721344, -1.0421085357666016, -0.22498232126235962, -0.3759608566761017, -0.28315484523773193, 0.20734132826328278, 0.4333685040473938, -0.6961672902107239, 0.3162187933921814, 0.13813315331935883, -0.14772720634937286, 0.608203649520874, -0.4210246205329895, 0.03102898597717285, -0.9035763144493103, -0.26362964510917664, -0.30196669697761536, -0.12060868740081787, -0.4221734404563904, 0.09334218502044678, 0.17655445635318756, 0.24851903319358826, -0.1979461908340454, 0.6579879522323608, -0.4402247369289398, 0.024294249713420868, -0.5502945780754089, 0.44236618280410767, 0.03729555383324623, 0.22364261746406555, 0.20069162547588348, 0.6467189788818359, 0.5099745988845825, -0.6162030696868896, 0.5584568381309509, 0.21358653903007507, -0.26143425703048706, 0.4476446509361267, -0.35405492782592773, 0.19290730357170105, -0.44852909445762634, 0.049169231206178665, -0.8574604392051697, -0.27603065967559814, 0.18338431417942047, -0.2808789014816284, 0.22455012798309326, 0.20010815560817719, -0.2337791621685028, -0.19342674314975739, -0.5186938047409058, -0.04791760444641113, 0.14770767092704773, -0.8873713612556458, 1.1939420700073242, 0.2944828271865845, -0.058720629662275314, -0.5586700439453125, -0.6354278922080994, 0.3234713077545166, -0.12511298060417175, -0.7195168733596802, 0.5408395528793335, -0.23914344608783722, -0.11531036347150803, -0.17179901897907257, -0.1467711478471756, 0.09569186717271805, -0.28543075919151306, -0.0938715934753418, 0.24077238142490387, -0.2479066401720047, 0.17647482454776764, 0.06597855687141418, 0.030282024294137955, 0.16169406473636627, -0.4127567410469055, 0.5444716811180115, 0.3183445930480957, -0.3258156478404999, -0.3525640070438385, 0.4965224266052246, 0.4926130473613739, 0.12040635198354721, 1.1177213191986084, 0.8335815072059631, -0.6240143775939941, -0.356999933719635, -1.0295244455337524, -0.5396819114685059, -0.46734461188316345, 0.6762336492538452, -0.5508430600166321, -0.5260776281356812, 0.8023955821990967, 0.27653470635414124, -0.22042620182037354, 0.2577458918094635, 0.607128918170929, 0.10403379052877426, 1.0224170684814453, 0.2188730090856552, 0.09926682710647583, 0.3704127073287964, 0.06761635094881058, 0.2543931007385254, -1.1797311305999756, -0.5258599519729614, -0.29878348112106323, -0.043722204864025116, -0.39466792345046997, -0.36324870586395264, 0.36797621846199036, -0.10105638206005096, -0.11060909926891327, 0.07953694462776184, -0.4340178370475769, 0.5378128290176392, 0.29792943596839905, 0.6073543429374695, 0.36141085624694824, 0.05804832652211189, -0.21430818736553192, -0.21021191775798798, -0.610531210899353, -0.22232328355312347, 0.9219719767570496, -0.005627887323498726, 0.8714244365692139, 0.16126038134098053, 0.4440649449825287, 0.4903103709220886, 0.3763141334056854, -0.7033035755157471, 0.5393773913383484, 0.020178157836198807, -0.4883292317390442, -0.3897588849067688, -0.6395310759544373, -0.7340070009231567, 0.682113528251648, -0.21174797415733337, -0.7975796461105347, 0.29916253685951233, -0.03429713472723961, -0.23300239443778992, 0.2466048151254654, -0.5420783162117004, 0.5397334098815918, -0.24673104286193848, -0.7754959464073181, -0.26812824606895447, -0.4115085303783417, 0.36832135915756226, -0.3477303981781006, 0.006835675798356533, 0.10751238465309143, -0.08492285758256912, 0.4674617350101471, 0.0011579639976844192, 0.6525628566741943, -0.2656632363796234, -0.2908046543598175, 0.05751916766166687, 0.3020595610141754, 0.9548919796943665, 0.06712383776903152, -0.41782432794570923, 0.04447484761476517, -0.08713142573833466, -0.2325061857700348, -0.7972308397293091, 0.9418436884880066, -0.4988050162792206, -0.9240142703056335, -0.36207714676856995, -0.9089969992637634, -0.27165982127189636, -0.08549067378044128, 0.15886670351028442, -0.01465062890201807, -0.06082801893353462, 0.32979321479797363, 0.7296429872512817, -0.40257206559181213, 0.2252844125032425, 0.5327013731002808, -0.5395165681838989, -0.6488908529281616, 0.8800874352455139, 0.19365139305591583, -0.022573165595531464, 0.19576036930084229, 0.24473977088928223, -0.5728585124015808, -0.6542069911956787, -0.18184250593185425, 0.3055417537689209, -0.9848982095718384, -0.2731480300426483, -0.8752989768981934, -0.4133424758911133, -0.5704210996627808, 0.11154280602931976, -0.2776404619216919, -0.13075454533100128, -0.1536133885383606, -0.09303256124258041, 0.3008497357368469, 0.4912089407444, -0.09003262966871262, 0.0757221207022667, -0.6523500680923462, 0.6263160705566406, 0.17130310833454132, 0.2069953829050064, 0.21522873640060425, -0.7856996655464172, -0.24219383299350739, -0.00841644499450922, -0.0717167779803276, -0.8247272968292236, 0.41017621755599976, 0.11476176232099533, 0.7087222933769226, 0.4331533908843994, 0.38550740480422974, 0.8537312150001526, -0.36891645193099976, 0.5796322822570801, 0.03805806115269661, -0.798259437084198, 0.37625566124916077, -0.24916166067123413, 0.07971092313528061, 0.31499192118644714, 0.37587007880210876, -0.4649108946323395, -0.5241475105285645, -0.02065577358007431, -1.0147017240524292, 0.6218714118003845, 0.21264490485191345, 0.3139258921146393, -0.10449633747339249, 0.4187990128993988, 0.1688947230577469, -0.007404362317174673, -0.9621450304985046, 0.16534793376922607, -0.014773700386285782, -0.22005483508110046, 0.4701489210128784, -0.3172399699687958, -0.17215652763843536, -0.376608282327652, 0.9423620104789734, -0.03349864110350609, 0.11048077791929245, 0.25367987155914307, -0.47958990931510925, 0.004490841180086136, -0.2624703049659729, 0.4539892375469208, 0.641943097114563, -0.1512472927570343, 0.24831132590770721, 0.4881856143474579, -0.4276407063007355, -0.05150895565748215, -0.005448803771287203, -0.16203859448432922, -0.017264872789382935, 0.4667145013809204, 0.842428982257843, 0.04093208163976669, -0.5924934148788452, 0.3196621239185333, 0.08593277633190155, 0.08033248782157898, -0.54684978723526, 0.08768661320209503, -0.17972205579280853, 0.5243262648582458, 0.5548558831214905, -0.009779000654816628, 0.17798446118831635, -0.1382371187210083, 0.39010345935821533, 0.5373006463050842, -0.4170295298099518, -0.17666305601596832, 0.6460652947425842, -0.22823533415794373, -0.1894686371088028, 0.5911749005317688, -0.05997558310627937, -0.3434976637363434, 0.2382293939590454, 0.8426077961921692, 0.9100480675697327, -0.5038002133369446, 0.06186191737651825, 0.3319081664085388, 0.45922043919563293, -0.1991836130619049, 0.27447226643562317, 0.09549824893474579, -1.0169777870178223, -0.43629980087280273, -0.6450828909873962, -0.029265521094202995, 0.30238285660743713, -0.5914955735206604, 0.3450794816017151, -0.14233145117759705, -0.15126721560955048, -0.18409618735313416, -0.4830053746700287, -0.24422186613082886, -0.1467835009098053, 0.03935595229268074, 0.6282646059989929, -0.58455491065979, 0.8100513219833374, 0.3033319115638733, -0.5209804773330688, -0.31234633922576904, 0.2605940103530884, -0.21353620290756226, -0.6017736196517944, 0.42709171772003174, 0.062377624213695526, -0.2749708294868469, -0.1575317531824112, -0.18906642496585846, -0.6786355376243591, 0.6660527586936951, 0.6925999522209167, -0.32461628317832947, -0.11521261185407639, 0.08117581158876419, 0.3768998980522156, -0.2933705449104309, 0.2017897069454193, 0.5275135040283203, 0.7368324398994446, 0.4239121973514557, -0.5526769161224365, 0.1936732828617096, -0.13155288994312286, 0.23327955603599548, 0.04111797362565994, -0.2567863166332245, 0.4682300388813019, -0.155796080827713, -0.08307482302188873, 0.13549809157848358, 0.7913140654563904, 0.3096790909767151, 0.15340188145637512, 0.48666998744010925, 0.23557575047016144, 1.0908869504928589, 0.07175571471452713, 1.0060731172561646, -0.2673366963863373, 0.08334419131278992, 1.2188481092453003, -0.6948148012161255, 0.804161548614502, 0.7301068305969238, 0.010260307230055332, 0.19973312318325043, 0.4743436872959137, 0.12292154133319855, 0.6276980042457581, 0.21862202882766724, -0.49649038910865784, -0.3123630881309509, -0.32788240909576416, -0.39612215757369995, 0.2590045630931854, 0.37087947130203247, -0.20074087381362915, 0.09619227051734924, 0.5908326506614685, -0.20062780380249023, 0.1364937424659729, -0.1754346638917923, 0.9113397002220154, -0.11013081669807434, -0.6487540602684021, 0.756504237651825, -0.23309046030044556, 0.5787443518638611, -0.6732144951820374, -0.09932547062635422, -0.37106871604919434, 0.3547307252883911, -0.3333517909049988, -0.4344864785671234, 0.6241016983985901, -0.35749486088752747, -0.2525405287742615, 0.08264566212892532, 0.8048127293586731, -0.6905889511108398, -0.6081272959709167, 0.9304695129394531, 0.3206857144832611, 0.0166859719902277, -0.5527722239494324, -0.258433997631073, 0.3142453134059906, -0.005969855934381485, -0.18539313971996307, 0.22466005384922028, 0.7210849523544312, 0.009934604167938232, 0.6431169509887695, 0.6463478803634644, 0.3852464556694031, 0.10917289555072784, 0.4409678280353546, 0.9963718056678772, -0.5686107277870178, -0.2872062921524048, -0.7840542197227478, 0.3857870101928711, -0.2836110591888428, 0.2464580237865448, 0.7422327399253845, 0.6528013944625854, 0.6281712651252747, -0.20970095694065094, 0.5609641671180725, 0.30160093307495117, 0.25751686096191406, -0.7470240592956543, 0.8838039636611938, -0.6285479068756104, 0.5986411571502686, -0.09014378488063812, -1.2080614566802979, -0.5770485997200012, 0.9579132795333862, -0.24582937359809875, 0.08497576415538788, 0.8151605129241943, 1.2419016361236572, 0.012327563017606735, 0.07830928266048431, 0.6217814087867737, 0.4411303699016571, 0.11466081440448761, 0.37331274151802063, 1.1194177865982056, -0.30937737226486206, 0.6294455528259277, -0.01572531647980213, -0.011754472739994526, -0.09670554846525192, -0.6747053861618042, -0.8255677223205566, -0.648502767086029, -0.2036719024181366, -0.6835594773292542, 0.22830364108085632, 0.9743058085441589, 0.565443217754364, -1.131129503250122, -0.16835200786590576, 0.09803840517997742, 0.3259589374065399, -0.0724375918507576, -0.2922276556491852, 0.5391047596931458, -0.6252615451812744, -0.520658552646637, 0.5781162977218628, 0.41146227717399597, -0.20823636651039124, -0.45190557837486267, -0.23597365617752075, -0.19006502628326416, 0.15879450738430023, 0.7593465447425842, -0.3098137378692627, -0.934565544128418, -0.3247676491737366, 0.26925379037857056, 0.005654004402458668, 0.11869250982999802, 0.7923702597618103, -0.7786679863929749, 0.5522114634513855, 0.4563085734844208, 0.8331300616264343, 0.47454947233200073, -0.44010767340660095, 0.43471086025238037, -0.7671335935592651, 0.43917182087898254, 0.31939324736595154, 0.3715335428714752, 0.44148069620132446, -0.6649788618087769, 0.40429210662841797, 0.05188135430216789, -0.2663789689540863, -0.9101628661155701, 0.13038557767868042, -0.6583695411682129, -0.3468611538410187, 1.0757726430892944, 0.07636551558971405, -0.12630054354667664, -0.2900641858577728, -0.5007787346839905, 0.16021493077278137, -0.16370469331741333, 1.3320449590682983, 0.8329094052314758, -0.02675842121243477, -0.2730149030685425, -0.5269306898117065, 0.35489422082901, 0.3382154703140259, -0.7343364953994751, 0.3587842881679535, 0.5129250288009644, -0.1499634087085724, 0.1622549146413803, 0.24045218527317047, -0.10624510049819946, 0.09940207004547119, -0.16509434580802917, 0.07528960704803467, 0.05700991675257683, -0.4937038719654083, -0.23834848403930664, 0.272428959608078, -0.20269635319709778, 0.09877721220254898 ]
http://arxiv.org/abs/2402.10601v1
http://arxiv.org/pdf/2402.10601v1
Jailbreaking Proprietary Large Language Models using Word Substitution Cipher
2024-02-16T11:37:05
2024-02-16T11:37:05
Divij Handa, Advait Chirmule, Bimal Gajera, Chitta Baral
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are aligned to moral and ethical guidelines but remain susceptible to creative prompts called Jailbreak that can bypass the alignment process. However, most jailbreaking prompts contain harmful questions in the natural language (mainly English), which can be detected by the LLM themselves. In this paper, we present jailbreaking prompts encoded using cryptographic techniques. We first present a pilot study on the state-of-the-art LLM, GPT-4, in decoding several safe sentences that have been encrypted using various cryptographic techniques and find that a straightforward word substitution cipher can be decoded most effectively. Motivated by this result, we use this encoding technique for writing jailbreaking prompts. We present a mapping of unsafe words with safe words and ask the unsafe question using these mapped words. Experimental results show an attack success rate (up to 59.42%) of our proposed jailbreaking approach on state-of-the-art proprietary models including ChatGPT, GPT-4, and Gemini-Pro. Additionally, we discuss the over-defensiveness of these models. We believe that our work will encourage further research in making these LLMs more robust while maintaining their decoding capabilities.
[ -0.22629882395267487, -0.9951834678649902, 0.8041871190071106, -0.02424032799899578, -0.5652552843093872, 0.21338213980197906, -0.11982610821723938, -0.55917888879776, 0.21324630081653595, 0.8384624719619751, -0.5233880877494812, -0.502177894115448, -0.7888918519020081, 0.33095720410346985, -0.18105937540531158, 0.867974042892456, -0.3197669982910156, 0.37559664249420166, 0.21558061242103577, -0.06650114804506302, -0.8445171117782593, -0.831706166267395, -0.4333590865135193, -0.008438484743237495, 0.2259185016155243, 0.20672903954982758, 0.6747285723686218, 0.5025187134742737, 0.46329450607299805, 0.3214758634567261, -0.2721530497074127, 0.01954376883804798, -0.3876109719276428, 0.250870019197464, -0.23405718803405762, -0.44453221559524536, -0.19225433468818665, 0.12257630378007889, 0.19194670021533966, 0.11323108524084091, -0.13316567242145538, -0.16212502121925354, -0.13464391231536865, 0.5246274471282959, -0.49939191341400146, 0.14763621985912323, -1.0853691101074219, -0.03373594954609871, -0.2883971333503723, -0.12420511245727539, -0.43752697110176086, -0.6157143115997314, -0.07023338228464127, -0.388374924659729, -0.20461638271808624, 0.2701636254787445, 0.3458898961544037, -0.05244150757789612, -0.040265414863824844, -0.7953911423683167, -0.37696754932403564, 0.7380303144454956, -0.8462895750999451, 0.15911130607128143, 0.5860633254051208, 0.24695536494255066, -0.37529268860816956, -0.46612459421157837, -0.4869998097419739, -0.5626709461212158, 0.2577526867389679, -0.1524370014667511, -0.21000473201274872, 0.12421299517154694, 0.15580463409423828, 0.14924390614032745, -0.4349396526813507, 0.3557206392288208, -0.41201332211494446, -0.3347504436969757, 0.40495172142982483, 0.2362004965543747, 0.7124684453010559, -0.2856219708919525, -0.24008116126060486, -0.13447967171669006, -1.1082229614257812, -0.17385926842689514, 0.6929387450218201, 0.2767726480960846, -0.011034823022782803, 0.68848717212677, 0.32785212993621826, 0.5464527606964111, -0.13281629979610443, -0.1265878975391388, 0.05461449176073074, -0.24436520040035248, 0.017329882830381393, 0.250434011220932, 0.8405329585075378, 0.501131534576416, 0.4490235447883606, -0.22077786922454834, -0.2537935674190521, 0.04905347898602486, 0.18791423738002777, -0.7259112000465393, 0.019907798618078232, 0.27636218070983887, -0.29346781969070435, -0.53383469581604, 0.008011512458324432, -0.5606958866119385, -0.7343735694885254, 0.15495158731937408, 0.2996368110179901, -0.8440719842910767, 0.10149706900119781, 0.3399924337863922, -0.13885197043418884, 0.38413965702056885, 0.20312699675559998, -1.0011556148529053, 0.17684775590896606, 0.8735227584838867, 0.8218599557876587, -0.008856400847434998, -0.12132884562015533, -0.4502086341381073, 0.15945883095264435, -0.1715247631072998, 0.3971799612045288, -0.5161321759223938, -0.7881859540939331, -0.006534563843160868, -0.006740671116858721, 0.147997185587883, -0.45500579476356506, 0.6264809966087341, -0.7001059055328369, 0.008080909959971905, -0.3907445967197418, -0.7829163074493408, -0.10603942722082138, 0.5158809423446655, -0.7975899577140808, 0.3015393316745758, -0.2428198605775833, -0.8430019617080688, -0.02775239758193493, -0.4151860475540161, -0.32593387365341187, 0.07710777968168259, -0.11210577934980392, -0.34113943576812744, -0.0006089139496907592, 0.449815958738327, 0.29631245136260986, -0.14421629905700684, 0.27089518308639526, -0.3706744313240051, -0.4289766848087311, 0.6558375954627991, -0.5742549896240234, 0.8058512210845947, 0.34862279891967773, -0.3695966303348541, -0.05474881827831268, -0.43045860528945923, -0.20314815640449524, 0.38576799631118774, -0.17129099369049072, -0.4401038885116577, -0.029311897233128548, -0.06761489808559418, -0.0713394433259964, 0.5098908543586731, -0.7568576335906982, 0.3479056656360626, -0.4375828206539154, 0.8748365044593811, 0.892555832862854, 0.13343407213687897, 0.2814193665981293, -0.1414615362882614, 0.6954967379570007, -0.149753600358963, 0.14400993287563324, -0.2286337912082672, -0.6361944079399109, 0.019786352291703224, -0.19875378906726837, 0.0932399109005928, 0.8451237678527832, -0.5529721975326538, 0.29452967643737793, 0.16722244024276733, -0.3819982409477234, -0.4797777831554413, 0.16451311111450195, 0.319008469581604, 0.41100984811782837, 0.4671109616756439, 0.07160811871290207, -0.5828527808189392, -0.6519421935081482, -0.631342887878418, -0.20986725389957428, 0.17839109897613525, 0.10629385709762573, 0.5360430479049683, -0.29464444518089294, 0.5743471384048462, -0.42886123061180115, 0.13395699858665466, -0.5473694801330566, 0.05754348263144493, 0.3565042316913605, 0.5305862426757812, 0.39949700236320496, -0.5052656531333923, -0.28566038608551025, -0.4139786958694458, -0.5527908802032471, -0.061804093420505524, -0.1527506560087204, 0.16879776120185852, -0.04720940813422203, 0.6859206557273865, -0.7720467448234558, 0.23645205795764923, 0.5999258160591125, -0.45448029041290283, 0.8859090209007263, -0.31169232726097107, 0.150460883975029, -1.1616445779800415, -0.30563852190971375, -0.17705731093883514, -0.22206555306911469, -0.7118938565254211, 0.4694618880748749, 0.18551428616046906, -0.18024730682373047, -0.4515720307826996, 0.34182748198509216, -0.6146657466888428, 0.27515238523483276, -0.29969000816345215, 0.18548664450645447, -0.2984883189201355, -0.08236099779605865, -0.09163792431354523, 0.8808990716934204, 0.44123080372810364, 0.018628517165780067, 0.4737594723701477, 0.564847469329834, -0.44978323578834534, 0.06607397645711899, -0.8220109939575195, 0.5148186683654785, -0.10414663702249527, 0.23654669523239136, -0.7756932973861694, -0.12000518292188644, 0.35923993587493896, -0.23364990949630737, 0.17989398539066315, -0.24025970697402954, -0.6921939849853516, -0.28435373306274414, -0.6792548298835754, 0.2987654209136963, 0.6423870921134949, -0.5622765421867371, 0.018729062750935555, 0.2521957457065582, -0.15680517256259918, -0.5604619383811951, -0.7104383111000061, 0.41548091173171997, -0.4602070152759552, -0.7041005492210388, 0.28595873713493347, -0.07266633212566376, -0.32329750061035156, -0.317205011844635, 0.08357135951519012, 0.13331016898155212, 0.1709355115890503, 0.251414030790329, 0.6755545139312744, 0.028026064857840538, -0.48964932560920715, 0.055016789585351944, -0.014180018566548824, 0.2380441427230835, -0.18916355073451996, 0.6633903384208679, -0.23302994668483734, -0.281838983297348, -0.4588666260242462, 0.3928428590297699, 0.7206419706344604, -0.29522931575775146, 1.0087209939956665, 0.08606063574552536, -0.3416078984737396, -0.062409646809101105, -0.6106046438217163, -0.17836503684520721, -0.5888447761535645, 0.06912606209516525, -0.21528726816177368, -1.2572591304779053, 0.6431722640991211, -0.09416336566209793, -0.06994946300983429, -0.26158538460731506, 0.4535871744155884, 0.1597757339477539, 0.9313317537307739, 0.31707850098609924, -0.4053076505661011, 0.39441177248954773, 0.0953521877527237, 0.4067228436470032, -0.597895622253418, -0.03425658866763115, -0.44702211022377014, -0.005081152077764273, -0.7133525609970093, -0.4371581971645355, 0.35096994042396545, 0.3049296438694, -0.11005296558141708, 0.5131540894508362, -0.32686445116996765, 0.6075025796890259, 0.1731245070695877, 0.13866952061653137, 0.3420288860797882, -0.24063853919506073, -0.12825468182563782, -0.1348283290863037, -0.17096000909805298, -0.6361275315284729, 1.121429443359375, 0.49129030108451843, 1.0240211486816406, -0.03847529739141464, 0.9907070994377136, 0.044177304953336716, 0.0038621400017291307, -0.6886704564094543, 0.6414942741394043, -0.10148365050554276, -0.6209593415260315, -0.19896477460861206, -0.43693944811820984, -0.7913100719451904, 0.0033561531454324722, -0.20942790806293488, -1.1479583978652954, -0.25004372000694275, -0.023668136447668076, -0.3203917145729065, 0.5996857285499573, -0.5566652417182922, 0.6882293820381165, -0.325964093208313, 0.07789182662963867, -0.11081115901470184, -0.5315986275672913, 0.6336348056793213, -0.18097564578056335, 0.4221418797969818, 0.08950354903936386, 0.11579464375972748, 0.6119964718818665, -0.748668372631073, 0.8058987259864807, -0.16863591969013214, -0.2577803134918213, 0.304995059967041, 0.31476694345474243, 1.0575942993164062, 0.20230317115783691, -0.1685202568769455, 0.09008315205574036, -0.052395787090063095, -0.028673836961388588, -0.4853825867176056, 0.7494280934333801, -0.5914524793624878, -0.9337328672409058, -0.3157244622707367, -0.6004645824432373, -0.34290266036987305, 0.17143334448337555, 0.4780157208442688, 0.29653656482696533, -0.1699112206697464, -0.11124812066555023, 0.6487762928009033, -0.6262233853340149, 0.35096219182014465, 0.232421875, -0.1407517045736313, -0.4643368721008301, 0.6043701171875, 0.0077501158230006695, 0.25781092047691345, 0.09279818832874298, 0.36144042015075684, -0.384794145822525, -1.1129536628723145, -0.32713449001312256, 0.2963801920413971, -0.5918296575546265, -0.21656754612922668, -0.4131910502910614, -0.19280917942523956, -0.45821475982666016, -0.5288586616516113, -0.25724101066589355, -0.2915361523628235, -0.1658104509115219, -0.4169788956642151, 0.501335084438324, 0.5657129883766174, 0.005942212417721748, 0.1677422672510147, -1.1197601556777954, 0.3784677982330322, 0.16869638860225677, 0.0826224535703659, -0.2909995913505554, -0.3984178602695465, 0.1494944989681244, -0.13347412645816803, -0.07345090806484222, -1.356204867362976, 0.34177714586257935, -0.40963637828826904, 0.37233057618141174, 0.3469088077545166, 0.1190190240740776, 0.5506453514099121, -0.866678774356842, 0.7876608371734619, 0.42645755410194397, -1.2470301389694214, 0.534186601638794, -0.5784011483192444, 0.07182923704385757, 0.7336247563362122, 0.1484425961971283, -0.650448739528656, -0.7933071851730347, -0.2964155375957489, -0.8010357618331909, 0.3358461260795593, 0.10797809809446335, 0.5059163570404053, -0.19984965026378632, 0.5486318469047546, 0.3594864010810852, 0.07373055070638657, -0.7568376660346985, -0.15212294459342957, -0.17355816066265106, -0.20541734993457794, 0.2508937418460846, -0.40240609645843506, -0.1068195328116417, -0.13710930943489075, 0.42468106746673584, 0.24295176565647125, 0.09358067065477371, -0.010763686150312424, -0.1502060890197754, 0.22977451980113983, 0.6816340684890747, 0.5281862616539001, 0.4015582799911499, -0.20163024961948395, -0.00009459810826228932, 0.20159028470516205, -0.7880145907402039, 0.3145473301410675, 0.005022003781050444, -0.32726550102233887, -0.1491233855485916, 0.3493049740791321, 0.6527630090713501, 0.055949866771698, -0.7402954697608948, 0.5664328336715698, -0.1170988529920578, -0.20538194477558136, -0.38088276982307434, 0.1120409220457077, 0.14166319370269775, 0.15416350960731506, 0.06763502210378647, -0.2795841097831726, 0.10753905773162842, -0.7397342920303345, 0.04438098520040512, 0.7161120176315308, -0.06950938701629639, -0.21747419238090515, 0.7779169082641602, 0.06985612958669662, -0.2172788679599762, 0.6853846907615662, -0.29036879539489746, -0.6605125665664673, 0.4863835573196411, 0.9845459461212158, 0.8614459037780762, -0.2830915153026581, 0.33247366547584534, 0.19976146519184113, 0.7112510800361633, -0.41114911437034607, 0.4612575173377991, 0.2857757806777954, -0.9123553037643433, -0.41824638843536377, -0.4524298906326294, -0.5986841320991516, 0.3802489638328552, -0.5737430453300476, 0.19418470561504364, -0.8902492523193359, 0.0187530517578125, -0.4178880453109741, -0.3768337070941925, -0.12094329297542572, -0.044941555708646774, 0.45259445905685425, 1.0948858261108398, -0.4509739875793457, 0.8005958795547485, 0.5090639591217041, 0.04275090992450714, -0.9915167689323425, -0.06560943275690079, 0.1465296447277069, -0.9489792585372925, 0.2857092320919037, 0.3931598961353302, -0.08170905709266663, -0.2457074373960495, -0.8556759357452393, -0.6658905744552612, 0.9376261830329895, 0.4925917088985443, -0.8288861513137817, -0.22769027948379517, 0.32300448417663574, 0.16630052030086517, -0.19315744936466217, -0.16390946507453918, 0.8320481777191162, 0.6652295589447021, -0.15852655470371246, -0.6317074298858643, 0.4727846682071686, -0.04309071972966194, -0.0770503357052803, 0.3203570544719696, -0.20349986851215363, 0.7961328029632568, -0.39915844798088074, -0.07862678915262222, 0.5397819876670837, 0.35649576783180237, 0.7642523646354675, 0.10053219646215439, 0.40313926339149475, 0.6011021733283997, 0.7751586437225342, -0.117209792137146, 0.879288911819458, -0.4288877844810486, 0.22036553919315338, 0.8642045855522156, -0.26300832629203796, 0.6475110650062561, 0.7074291706085205, 0.1297629028558731, 0.5034202337265015, 0.22615914046764374, -0.25674116611480713, 0.6030084490776062, 0.5228679776191711, -0.30179500579833984, -0.06686682254076004, 0.3964728116989136, -0.33729490637779236, 0.48704448342323303, 0.49378472566604614, -0.3604434132575989, -0.1217380240559578, 0.26550155878067017, 0.5655441284179688, 0.03256949037313461, -0.46105948090553284, 0.6333187222480774, 0.3195938467979431, -0.3662869334220886, 0.5702076554298401, 0.46656161546707153, 0.8474739193916321, -0.7250440120697021, 0.14173784852027893, 0.00585912074893713, -0.16809219121932983, -0.011038657277822495, -0.7722043395042419, 0.1929577887058258, 0.4978691041469574, 0.3660346269607544, -0.30040284991264343, 0.7311928272247314, -0.11747734248638153, -0.2928721010684967, 0.28608956933021545, 0.23059146106243134, 0.031759943813085556, -0.09555265307426453, -0.6670552492141724, 0.3126189708709717, -0.04810534045100212, -0.26851627230644226, 0.2646888196468353, 0.09868130087852478, 0.03752945363521576, 0.5889917612075806, 0.6926544308662415, 0.23228229582309723, 0.15186002850532532, -0.13048504292964935, 0.9091853499412537, -1.0147303342819214, -0.7557762265205383, -1.241331934928894, 0.32580137252807617, -0.01492774672806263, -0.07481171190738678, 0.9342525601387024, 0.17425036430358887, 0.49960508942604065, -0.06086874008178711, 0.9561537504196167, 0.178079292178154, 0.0001717279083095491, -1.0410008430480957, 0.8973815441131592, 0.01258893869817257, 0.5601443648338318, -0.47916263341903687, -0.7887914180755615, -0.0972290188074112, 0.3511877655982971, -0.585100531578064, -0.23314514756202698, 0.7551156878471375, 0.704763650894165, 0.20695963501930237, 0.4224984645843506, 0.2511656582355499, 0.25533899664878845, 0.4714924693107605, 0.5825659036636353, 0.9737400412559509, -0.20542436838150024, 0.5078489184379578, -0.07724367827177048, -0.21073760092258453, 0.10692020505666733, -0.8293657898902893, -1.0072962045669556, -0.2625477910041809, -0.021434616297483444, -0.493790864944458, 0.22121746838092804, 0.8256969451904297, 0.15795235335826874, -0.7939474582672119, -0.05766701325774193, -0.42950892448425293, 0.12360192090272903, 0.15901890397071838, -0.13429448008537292, 0.11027814447879791, -0.0810510441660881, -0.40617337822914124, 0.8925514221191406, 0.25533637404441833, 0.2120276391506195, -0.20682531595230103, -0.012532848864793777, 0.217035710811615, 0.3684957027435303, 0.32023105025291443, 0.2199060022830963, -0.6214286088943481, -0.459642618894577, -0.04905104264616966, -0.0548853762447834, -0.08875714242458344, 1.0236966609954834, -0.3202212154865265, 0.18551163375377655, 0.46685200929641724, 0.7169368267059326, 0.30738213658332825, 0.05495524778962135, 0.6145106554031372, -0.37590569257736206, 0.21372438967227936, 0.3205431401729584, 0.7838411331176758, 0.46888303756713867, -0.580569863319397, 0.08430615067481995, 0.21694375574588776, -0.5116418600082397, -0.7426438331604004, 0.577233612537384, -0.8532657027244568, -0.5713363289833069, 1.2091283798217773, -0.2871112823486328, -0.39040425419807434, -0.16642546653747559, -0.34197700023651123, -0.06246407330036163, -0.4091619849205017, 0.8266032338142395, 0.9341452717781067, 0.07561035454273224, -0.10744011402130127, -0.4598563015460968, 0.3340708911418915, 0.2341504544019699, -0.7992090582847595, 0.15068018436431885, 0.4215114116668701, 0.5516591668128967, 0.010173880495131016, 0.42805302143096924, -0.6874890923500061, 0.2543368637561798, -0.001006753882393241, -0.3309803009033203, -0.3946665823459625, 0.05772552266716957, -0.6119672656059265, 0.13653908669948578, 0.13149306178092957, -0.04035159945487976 ]
http://arxiv.org/abs/2402.10597v1
http://arxiv.org/pdf/2402.10597v1
Efficiency at Scale: Investigating the Performance of Diminutive Language Models in Clinical Tasks
2024-02-16T11:30:11
2024-02-16T11:30:11
Niall Taylor, Upamanyu Ghose, Omid Rohanian, Mohammadmahdi Nouriborji, Andrey Kormilitzin, David Clifton, Alejo Nevado-Holgado
cs.CL
cs.CL, cs.AI
The entry of large language models (LLMs) into research and commercial spaces has led to a trend of ever-larger models, with initial promises of generalisability, followed by a widespread desire to downsize and create specialised models without the need for complete fine-tuning, using Parameter Efficient Fine-tuning (PEFT) methods. We present an investigation into the suitability of different PEFT methods to clinical decision-making tasks, across a range of model sizes, including extremely small models with as few as $25$ million parameters. Our analysis shows that the performance of most PEFT approaches varies significantly from one task to another, with the exception of LoRA, which maintains relatively high performance across all model sizes and tasks, typically approaching or matching full fine-tuned performance. The effectiveness of PEFT methods in the clinical domain is evident, particularly for specialised models which can operate on low-cost, in-house computing infrastructure. The advantages of these models, in terms of speed and reduced training costs, dramatically outweighs any performance gain from large foundation LLMs. Furthermore, we highlight how domain-specific pre-training interacts with PEFT methods and model size, and discuss how these factors interplay to provide the best efficiency-performance trade-off. Full code available at: tbd.
[ -0.13007457554340363, -0.8115390539169312, 0.8005959987640381, 0.16740405559539795, -0.13731655478477478, -0.22645026445388794, -0.5147720575332642, -0.400644987821579, 0.0002476441441103816, 0.5744429230690002, -0.18643969297409058, -0.1484529823064804, -0.7719020843505859, 0.12430483102798462, -0.2994373142719269, 0.5264331102371216, -0.0005231582326814532, 0.2968602776527405, -0.13160070776939392, 0.031932346522808075, -0.04183575138449669, -0.4997410774230957, -1.0709344148635864, -0.5537264943122864, 0.46866101026535034, 0.5182443261146545, 0.8596045970916748, 0.8104604482650757, 1.049485683441162, 0.274021178483963, -0.07293431460857391, 0.07796373963356018, -0.600245475769043, -0.23230545222759247, -0.07072275131940842, -0.44891342520713806, -0.9409342408180237, 0.0056290896609425545, 0.5308358073234558, 1.2767235040664673, -0.3524186909198761, 0.014255337417125702, -0.09560920298099518, 0.7931262850761414, -0.6915308237075806, 0.033568672835826874, -0.5340182781219482, -0.11032071709632874, -0.11605924367904663, 0.09854153543710709, -0.3897341191768646, -0.10208103060722351, 0.28427383303642273, -0.44901004433631897, 0.19516202807426453, -0.07193400710821152, 0.5710951685905457, 0.3499777913093567, -0.36941206455230713, -0.32006099820137024, -0.7157070636749268, 0.8309122920036316, -0.7800874710083008, 0.4581948220729828, 0.6496224999427795, 0.1786220520734787, 0.10346119105815887, -1.0303071737289429, -0.02813945896923542, -0.40983846783638, -0.252826988697052, -0.3185533881187439, -0.43275266885757446, 0.5291750431060791, 0.43335723876953125, 0.39255228638648987, -0.31399306654930115, 0.4221758246421814, -0.3156193792819977, -0.05348588153719902, 0.5985344052314758, 0.35607391595840454, 0.11156772822141647, 0.2582380175590515, 0.2425689399242401, 0.1291290819644928, -0.8660168647766113, -0.14490288496017456, -0.10142849385738373, 0.46735188364982605, -0.0577387772500515, 0.5468344688415527, -0.2681137025356293, 0.8181939721107483, 0.2954470217227936, -0.4199216663837433, -0.15114565193653107, -0.2990413308143616, -0.5103154182434082, -0.17062583565711975, 0.6673870086669922, 0.23080821335315704, 0.20962020754814148, -0.24832569062709808, -0.16100406646728516, -0.015248685143887997, 0.46408146619796753, -1.0120433568954468, -0.42194250226020813, 0.18532122671604156, -0.5995473265647888, -0.2888984978199005, -0.6085581183433533, -0.4643706679344177, -0.1835745871067047, -0.36648792028427124, 0.5347174406051636, -0.44950243830680847, 0.025594377890229225, 0.41121023893356323, 0.3176112473011017, -0.14557085931301117, 0.6309085488319397, -0.9177153706550598, 0.5654747486114502, 0.4217888116836548, 0.7462823390960693, -0.07031705975532532, 0.0035642441362142563, -0.7227690815925598, -0.1960352659225464, -0.4124344289302826, 0.5932289958000183, -0.46956387162208557, -0.5633134841918945, -0.14495307207107544, -0.0839344710111618, -0.45173025131225586, -0.667007327079773, 0.737830400466919, -0.19568367302417755, -0.19981789588928223, -0.21776023507118225, -0.4398735463619232, 0.29802465438842773, -0.07691128551959991, -0.5525556206703186, 0.6042085886001587, 0.38324806094169617, -0.492082417011261, 0.4819013476371765, -0.6069684624671936, -0.6539108157157898, 0.07473411411046982, -0.11970241367816925, -0.44263821840286255, 0.47543078660964966, 0.08771258592605591, 0.6881861090660095, -0.5313403606414795, 0.1835544854402542, -0.20493480563163757, -0.3836541473865509, -0.05001506954431534, -0.17272470891475677, 0.3369865417480469, 0.4867630898952484, -0.22547978162765503, -0.1587468683719635, -0.8246671557426453, 0.02366994321346283, 0.0933961421251297, -0.347231924533844, -0.4188023507595062, -0.07298695296049118, -0.050108652561903, -0.029742376878857613, 0.3631216883659363, -0.3580607771873474, 0.10170618444681168, -0.36276111006736755, 0.6691970229148865, 0.20151589810848236, -0.2143128514289856, 0.3946702778339386, -0.322725385427475, 0.63579922914505, -0.4916440546512604, 0.4830263555049896, 0.20719897747039795, -0.2185361683368683, -0.6180534958839417, -0.6281535625457764, 0.5007144212722778, 0.04963656887412071, -0.28051990270614624, -0.06540820747613907, -0.03390843793749809, -0.5633410215377808, -0.5364895462989807, 0.053824856877326965, 0.491545706987381, 0.43479350209236145, 0.11536121368408203, -0.15004941821098328, -0.006065265275537968, -1.2680772542953491, -0.3082418143749237, -0.11426352709531784, 0.09971968829631805, 0.5368099212646484, 0.4853779077529907, -0.15694163739681244, 0.6159053444862366, -0.459546834230423, -0.19126614928245544, -0.34137779474258423, -0.005682977382093668, 0.2824692726135254, 0.5054606199264526, 0.7292878031730652, -0.7408490777015686, -0.71055006980896, 0.2339565008878708, -0.2800252139568329, -0.32096055150032043, -0.00396540854126215, 0.18779002130031586, 0.035268139094114304, 0.501865565776825, -0.5654144883155823, 0.2825423777103424, 0.5058521032333374, -0.22769491374492645, 0.4541154205799103, -0.8446506261825562, 0.33348554372787476, -0.3060673475265503, 0.29057198762893677, -0.12836039066314697, -0.462444007396698, -0.8269222974777222, 0.004711393732577562, 0.34718000888824463, 0.023619841784238815, -0.3556584417819977, 0.3203119933605194, -0.3956749439239502, 0.2426096349954605, -0.27901437878608704, 0.04664115980267525, -0.055516261607408524, 0.2924407720565796, 0.05102207139134407, 0.920064389705658, 0.4499184787273407, -0.4609737694263458, -0.18820743262767792, 0.03958051651716232, -0.3079477548599243, 0.45776715874671936, -0.8705123662948608, 0.06868971884250641, 0.19356302917003632, -0.3285747170448303, -0.9233291149139404, -0.3892020881175995, -0.30400216579437256, -0.02337775193154812, 0.5733176469802856, -0.00834072008728981, -0.6237044930458069, -0.3530164957046509, -0.19092212617397308, 0.32275620102882385, 0.5865471959114075, -0.3161928653717041, 0.4532998502254486, 0.4723529815673828, -0.4254593551158905, -0.1799018383026123, -0.604975700378418, -0.11818493157625198, -0.376963347196579, -0.44077014923095703, 0.4425531029701233, -0.1052609384059906, -0.46170902252197266, -0.37199726700782776, -0.11866895854473114, -0.18712256848812103, 0.20945709943771362, 0.030267814174294472, -0.18447059392929077, -0.24012000858783722, 0.25549057126045227, 0.3591679334640503, 0.1685146540403366, 0.07619678229093552, 0.10556302219629288, 0.40044060349464417, -0.298625111579895, -0.3613303601741791, -0.45693275332450867, 0.3405798375606537, 0.8032730221748352, 0.00569490110501647, 0.8311006426811218, 0.1842898726463318, -0.4518553912639618, -0.1716695874929428, -0.6107962131500244, 0.006182848941534758, -0.44582152366638184, 0.5715468525886536, -0.4018414318561554, -0.8457359671592712, 0.37725144624710083, -0.38836371898651123, -0.04624874144792557, 0.5126577615737915, 0.7968252897262573, 0.10428203642368317, 1.2061353921890259, 0.8226156234741211, 0.37126991152763367, 0.3213675320148468, -0.12541913986206055, 0.22396261990070343, -0.567224383354187, -0.04389088973402977, -0.6934732794761658, -0.15720774233341217, -0.3601481020450592, -0.49603015184402466, 0.5976144671440125, 0.3044949471950531, -0.3426869213581085, 0.19356228411197662, -0.4599131643772125, 0.49100834131240845, 0.255787193775177, 0.22552232444286346, 0.5163412690162659, -0.15865395963191986, 0.016177069395780563, -0.004740394186228514, -1.0638623237609863, -0.4964808225631714, 1.4788424968719482, 0.4784282445907593, 0.8022708296775818, -0.04101511090993881, 0.5129355192184448, 0.18956169486045837, 0.3926946818828583, -0.7579386830329895, 0.34155648946762085, -0.5985819697380066, -0.2865707576274872, -0.40135324001312256, -0.24310386180877686, -1.036810278892517, 0.2387249767780304, -0.1270664781332016, -0.8280385732650757, 0.24527281522750854, 0.2599572241306305, -0.8164260983467102, 0.17275689542293549, -0.8816183805465698, 0.8437981605529785, -0.33073216676712036, -0.3993285894393921, -0.42028263211250305, -0.5613261461257935, 0.10588430613279343, -0.7715926170349121, 0.19939200580120087, -0.04468095675110817, -0.3375752866268158, 0.8131242394447327, -0.611876904964447, 0.7065833210945129, 0.010018110275268555, -0.12915553152561188, -0.14072786271572113, 0.11033450067043304, 0.4919341802597046, 0.08017192780971527, -0.17299410700798035, 0.1382797807455063, 0.37912192940711975, -0.4036579728126526, -0.45097124576568604, 0.7372645735740662, -0.7152396440505981, -0.4356909394264221, 0.015559342689812183, -0.5008453726768494, -0.6502214074134827, 0.17657724022865295, 0.42388349771499634, 0.5481560826301575, -0.2909350097179413, 0.3365783095359802, 0.7063229084014893, -0.16619780659675598, 0.06739654392004013, 0.5994960069656372, 0.007281519006937742, -0.1183273047208786, 0.4148847460746765, 0.23368263244628906, 0.5618549585342407, 0.43630099296569824, 0.35871878266334534, -0.17968373000621796, -1.0996630191802979, -0.02941817417740822, 0.5174785852432251, -0.5059338808059692, -0.03955628722906113, -0.6474314332008362, 0.02093292400240898, -0.33275869488716125, -0.4042871296405792, -0.704943835735321, -0.5610315799713135, -0.23034293949604034, 0.2149829864501953, 0.23400211334228516, 0.6120284199714661, -0.11040783673524857, 0.7782710790634155, -0.4935794770717621, 0.14305950701236725, 0.17753133177757263, 0.45485249161720276, -0.11903529614210129, -0.6381680965423584, -0.4618166387081146, -0.20671257376670837, -0.2820584177970886, -0.5068824291229248, 0.5098568797111511, 0.3179234564304352, 0.5450204014778137, 0.5352221727371216, -0.03567205369472504, 0.6322913765907288, -0.4719048738479614, 0.527123749256134, 0.34366360306739807, -0.8658652305603027, 0.5296317934989929, -0.5106692314147949, 0.06790921092033386, 0.7414954900741577, 0.3426271378993988, -0.09394281357526779, -0.11188612133264542, -0.6661562919616699, -0.7074594497680664, 0.7100017070770264, 0.21450385451316833, -0.08667264878749847, 0.03110096976161003, 0.6581173539161682, 0.31940513849258423, 0.30516403913497925, -0.16627247631549835, -0.10407399386167526, 0.5175637006759644, -0.09027218818664551, -0.2766575515270233, -0.13326412439346313, -0.32027173042297363, -0.44853296875953674, 0.35756298899650574, -0.36242735385894775, 0.3342221975326538, 0.3686877191066742, 0.000467003439553082, -0.3100927770137787, 0.14528879523277283, 0.511145293712616, 0.9535027146339417, -0.20975160598754883, -0.08814793080091476, 0.33291056752204895, -0.5724942088127136, -0.1574922651052475, 0.07221946120262146, 0.3024332821369171, -0.15643559396266937, 0.4888841211795807, 0.6776282787322998, 0.309493750333786, -1.0199543237686157, 0.5116831064224243, -0.12685103714466095, -0.41846054792404175, 0.02409263886511326, 0.17531974613666534, 0.0042642648331820965, 0.3858816921710968, -0.1327158361673355, -0.011776406317949295, 0.28561943769454956, -0.34522745013237, 0.03194063529372215, 0.46260619163513184, -0.1775115579366684, -0.2580752670764923, 0.7465915083885193, 0.12947478890419006, -0.4726501703262329, 0.5547398328781128, 0.2799922227859497, 0.04261763393878937, 0.6371647715568542, 0.43910378217697144, 0.5998917818069458, -0.0006348238093778491, 0.17510788142681122, 0.04400141164660454, 0.21809925138950348, -0.32829803228378296, 0.11569257080554962, -0.005849132314324379, -0.41580891609191895, -0.5142543911933899, -0.6661414504051208, -0.5527570247650146, 0.4277244508266449, -0.7347576022148132, 0.15002663433551788, -0.6334026455879211, -0.4989354610443115, 0.13551585376262665, 0.14006994664669037, -0.9491320848464966, 0.28694504499435425, 0.14325205981731415, 1.1670421361923218, -0.5205130577087402, 0.8216570019721985, 0.7256311774253845, -0.02011970430612564, -0.9066781401634216, -0.22702035307884216, -0.2586929500102997, -0.8912674188613892, 0.6309112310409546, -0.2677472233772278, -0.09395525604486465, -0.09300072491168976, -0.40532150864601135, -0.7192628383636475, 0.9622702598571777, 0.7247227430343628, -0.8672460913658142, -0.3667636513710022, 0.2181035578250885, 0.8176705241203308, -0.46118152141571045, 0.27813720703125, 1.2575480937957764, 0.23853261768817902, -0.1787579208612442, -1.5772610902786255, -0.04499850422143936, 0.018002662807703018, -0.12293246388435364, 0.31153640151023865, -0.8481764793395996, 0.982062816619873, -0.4275825023651123, 0.18203994631767273, 0.3069114685058594, -0.13762667775154114, 0.08861533552408218, 0.2511225640773773, 0.3767126798629761, 0.3900245130062103, 0.8803809285163879, -0.10809675604104996, 1.188679814338684, -0.4962376356124878, 0.5718382000923157, 0.6501452326774597, -0.2923711836338043, 0.6453001499176025, 0.5775356292724609, -0.6801074147224426, -0.03367846459150314, 0.6251554489135742, 0.23060862720012665, 0.504935622215271, 0.16174626350402832, -0.020936327055096626, -0.6087659001350403, -0.0221922118216753, -0.26404038071632385, 0.41250231862068176, 0.45534467697143555, -0.6098204255104065, -0.12072164565324783, -0.02271706610918045, 0.02461981400847435, 0.01584658771753311, -0.5607331991195679, 0.5886462926864624, 0.3256097435951233, -0.5766622424125671, 0.7437350749969482, -0.01808004081249237, 0.29638636112213135, -0.8981239795684814, 0.21426396071910858, -0.22291459143161774, 0.48971670866012573, -0.0762878879904747, -0.2615070044994354, 0.23516446352005005, -0.10302194207906723, 0.0030673628207296133, -0.28537580370903015, 0.6776589751243591, -0.12124855071306229, -0.38719338178634644, 0.2669106423854828, 0.7560355067253113, 0.23708976805210114, -0.16621007025241852, -0.6957571506500244, 0.052231576293706894, -0.20586387813091278, -0.359520822763443, 0.6757252216339111, 0.3914856016635895, -0.04220281541347504, 0.6306412816047668, 0.3050953149795532, 0.4906674325466156, -0.34363219141960144, 0.1775774359703064, 0.7246548533439636, -0.48364681005477905, -0.44406911730766296, -0.777509331703186, 0.04948555678129196, 0.022145457565784454, -0.3955425024032593, 0.45357224345207214, 0.3607140779495239, 0.5133718848228455, -0.05990629643201828, 0.524825394153595, 0.10075240582227707, 0.4259563088417053, -0.4939897656440735, 0.6376842856407166, -0.9444259405136108, 0.29213622212409973, -0.34873276948928833, -0.39744246006011963, -0.47937560081481934, 0.5919812917709351, -0.6664835214614868, 0.039157070219516754, 0.7469373941421509, 0.5900851488113403, -0.09865844994783401, 0.10886694490909576, 0.7429991960525513, 0.17699211835861206, 0.21429681777954102, 0.7508683800697327, 0.4557477831840515, -0.12636440992355347, 0.09122785925865173, -0.36023563146591187, -0.5657635927200317, -0.3233301341533661, -0.7350803017616272, -0.8183655142784119, -0.22925548255443573, -0.5082052946090698, 0.03234072029590607, 0.10834336280822754, 0.9053753614425659, 1.0833085775375366, -0.6634763479232788, -0.22794166207313538, 0.0006655043107457459, -0.2927069365978241, -0.31170397996902466, -0.06288763880729675, 0.7135688662528992, -0.36543145775794983, -0.8088852167129517, 0.2879915237426758, 0.36988598108291626, -0.13651268184185028, -0.01978262886404991, 0.0352310836315155, 0.1490733027458191, 0.28935518860816956, 0.7048927545547485, 0.044863756746053696, -0.5443217754364014, 0.09970767796039581, -0.015365388244390488, -0.11816536635160446, 0.0735025405883789, 1.0311610698699951, -0.611781656742096, 0.30524492263793945, 0.21338580548763275, 0.6285513639450073, 0.4546615183353424, -0.12185313552618027, 0.605102002620697, -0.29359596967697144, -0.09018228948116302, 0.32689109444618225, 0.5563777089118958, 0.14295624196529388, -0.5085723400115967, 0.6305599212646484, 0.136193186044693, -0.8862761855125427, -0.9730117321014404, -0.06267047673463821, -0.9397594928741455, -0.44221848249435425, 1.029895305633545, -0.11904940009117126, -0.02335949055850506, -0.056337423622608185, -0.31429269909858704, -0.15096578001976013, -0.20151470601558685, 0.6437577605247498, 0.5315991640090942, -0.8016019463539124, 0.11429917812347412, -0.6344955563545227, 0.7086983919143677, 0.590636670589447, -0.6783139705657959, 0.2753934860229492, 0.3458864986896515, 0.3993279039859772, 0.10427627712488174, 0.9085073471069336, -0.2005869746208191, 0.26676589250564575, -0.02897047810256481, -0.4014907479286194, 0.06620464473962784, -0.3718114197254181, -0.5247023701667786, 0.33530381321907043, 0.4287421405315399, 0.2810647189617157 ]
http://arxiv.org/abs/2402.10588v4
http://arxiv.org/pdf/2402.10588v4
Do Llamas Work in English? On the Latent Language of Multilingual Transformers
2024-02-16T11:21:28
2024-06-08T11:15:14
Chris Wendler, Veniamin Veselovsky, Giovanni Monea, Robert West
cs.CL
cs.CL, cs.CY
We ask whether multilingual language models trained on unbalanced, English-dominated corpora use English as an internal pivot language -- a question of key importance for understanding how language models function and the origins of linguistic bias. Focusing on the Llama-2 family of transformer models, our study uses carefully constructed non-English prompts with a unique correct single-token continuation. From layer to layer, transformers gradually map an input embedding of the final prompt token to an output embedding from which next-token probabilities are computed. Tracking intermediate embeddings through their high-dimensional space reveals three distinct phases, whereby intermediate embeddings (1) start far away from output token embeddings; (2) already allow for decoding a semantically correct next token in the middle layers, but give higher probability to its version in English than in the input language; (3) finally move into an input-language-specific region of the embedding space. We cast these results into a conceptual model where the three phases operate in "input space", "concept space", and "output space", respectively. Crucially, our evidence suggests that the abstract "concept space" lies closer to English than to other languages, which may have important consequences regarding the biases held by multilingual language models.
[ -0.08037788420915604, -0.5266314148902893, 0.5687700510025024, 0.301960825920105, -0.23319965600967407, 0.4677466154098511, -0.1423710584640503, -0.4041793644428253, 0.3251279592514038, 0.31157174706459045, -0.3714635968208313, -0.14968790113925934, -0.7177650928497314, 0.3595926761627197, -0.5208057165145874, 1.0164515972137451, -0.1783466339111328, 0.15494811534881592, -0.23972631990909576, -0.034602630883455276, -0.4570614993572235, -0.5323354005813599, -0.4598553478717804, -0.4971485137939453, 0.535703182220459, 0.6477938294410706, 0.852278470993042, 0.44829675555229187, 0.2780402898788452, 0.2960801124572754, -0.163313627243042, -0.06384392082691193, -0.20022746920585632, 0.2327783703804016, -0.05848660320043564, -1.0094138383865356, -0.0022014761343598366, 0.12595325708389282, 0.48980122804641724, 0.8952596783638, -0.2189098596572876, 0.11492755264043808, 0.08936000615358353, 0.14811545610427856, -0.3961655795574188, 0.16861769556999207, -0.7921845316886902, 0.1944894790649414, -0.31223610043525696, -0.19559495151042938, -0.46061643958091736, 0.03150206059217453, -0.186296746134758, -0.3146176338195801, 0.04189694672822952, 0.11346905678510666, 0.839021623134613, 0.3998118042945862, -0.8119931221008301, -0.3402281701564789, -0.6814315915107727, 0.9017316699028015, -0.6264933943748474, 0.40691882371902466, 0.42320704460144043, 0.1515071541070938, -0.0015156654408201575, -0.5151283740997314, -0.7816238403320312, -0.31577953696250916, -0.34510695934295654, 0.1293494701385498, -0.35870125889778137, -0.3143549859523773, -0.07054819911718369, 0.2541298270225525, -0.4330885112285614, 0.4655022919178009, -0.586371660232544, -0.02185138687491417, 0.49695372581481934, -0.02096562273800373, 0.3637206554412842, -0.1085842177271843, -0.2966705858707428, 0.12858940660953522, -0.8880454897880554, 0.12435951828956604, 0.572062075138092, 0.29979029297828674, -0.3522593379020691, 0.87193763256073, 0.4215772747993469, 0.28858640789985657, 0.1932997852563858, -0.5543331503868103, 0.27789735794067383, -0.07956969738006592, 0.26718220114707947, 0.05415967106819153, 0.7012364268302917, 0.2584720849990845, 0.3468434810638428, -0.3381594121456146, -0.2584850788116455, 0.3076052963733673, 0.16250303387641907, -0.29676350951194763, 0.1271122545003891, 0.20146991312503815, -0.22591803967952728, -0.2784249186515808, -0.1337820440530777, -0.42054376006126404, -0.16228528320789337, -0.06470683962106705, 0.03327857702970505, -0.04598454385995865, -0.34009942412376404, -0.0032570851035416126, 0.11081865429878235, 0.2736305594444275, -0.14643283188343048, -0.9371213316917419, 0.22259891033172607, 0.6290268898010254, 0.6084827184677124, -0.5652617812156677, -0.6743891835212708, -0.24372002482414246, 0.38107994198799133, -0.43920913338661194, 1.1153943538665771, -1.012211799621582, -0.4247124195098877, 0.327441543340683, 0.37150996923446655, -0.08320117741823196, -0.39047619700431824, 0.41484078764915466, -0.4594752788543701, 0.5622698664665222, -0.040058474987745285, -0.22721777856349945, -0.14022469520568848, 0.024756915867328644, -0.5697369575500488, 1.2120827436447144, -0.30982598662376404, -0.7779761552810669, 0.3245960474014282, -0.49657854437828064, -0.810729444026947, -0.1665685921907425, -0.34104928374290466, -0.05380202829837799, 0.22251221537590027, 0.19445276260375977, 0.5099344849586487, -0.3137977421283722, 0.34917938709259033, 0.13606785237789154, -0.3314734995365143, 0.4052850008010864, -0.6146135330200195, 0.616976797580719, -0.04874695837497711, -0.5159505605697632, -0.21806229650974274, -0.6398960947990417, -0.49525684118270874, 0.5183609127998352, -0.3085004389286041, -0.4236471354961395, 0.20917457342147827, -0.1712215542793274, 0.27029114961624146, 0.23576503992080688, -0.7646654844284058, 0.27556684613227844, -0.4097389280796051, 0.709623396396637, 0.5724597573280334, -0.26511150598526, 0.7255951762199402, -0.004171517677605152, 0.7997531294822693, 0.35463592410087585, -0.22535134851932526, -0.5683626532554626, -0.8657530546188354, -0.8656718134880066, -0.02903755195438862, 0.07004387676715851, 0.7335922122001648, -0.5630484223365784, 0.1290690004825592, -0.04675143212080002, -0.329567015171051, -0.727952241897583, -0.06857891380786896, 0.112981416285038, 0.408946692943573, 0.17753717303276062, -0.029543157666921616, -0.2987578511238098, -1.4013863801956177, -0.07199794054031372, -0.313998818397522, 0.0778193399310112, -0.0641835406422615, 0.6055627465248108, -0.20738279819488525, 0.698704183101654, -0.2875204086303711, -0.09512452036142349, -0.35025909543037415, -0.1025778278708458, 0.3503251373767853, 0.016794325783848763, 0.5160967111587524, -0.6606804132461548, -0.30925753712654114, 0.1326523870229721, -0.6677278280258179, -0.21923255920410156, -0.11119929701089859, 0.0914146825671196, 0.22452275454998016, 0.4165953993797302, -0.7553107142448425, 0.29247501492500305, 0.9541759490966797, -0.3578161895275116, 0.2191094309091568, -0.013542077504098415, -0.09693245589733124, -1.2992786169052124, -0.1856740415096283, -0.2972014844417572, -0.03590019419789314, -0.618436336517334, 0.005358076188713312, 0.07932916283607483, 0.019776908680796623, -0.5236372351646423, 0.5734677314758301, -0.3132392466068268, -0.24335847795009613, -0.35923105478286743, 0.28835827112197876, 0.10899844020605087, 0.5137036442756653, 0.024361221119761467, 1.1344332695007324, 0.3590024411678314, -0.5219563841819763, -0.04327293857932091, 0.08451423794031143, -0.09821558743715286, 0.47612807154655457, -0.7151673436164856, 0.24043035507202148, -0.312185138463974, 0.19853967428207397, -1.310564398765564, 0.2189510613679886, 0.15944786369800568, -0.21121598780155182, 0.42571866512298584, 0.018498459830880165, -0.4792686998844147, -0.4090938866138458, -0.09265196323394775, 0.4420872926712036, 0.2675187587738037, -0.514658510684967, 0.47085073590278625, 0.6844428777694702, -0.27605199813842773, -0.8358147144317627, -1.185390591621399, 0.04326458275318146, -0.14989395439624786, -0.5300458669662476, 0.48619717359542847, 0.008607876487076283, -0.5144264698028564, -0.007723259273916483, -0.011149907484650612, -0.1661175936460495, 0.07212928682565689, 0.18280434608459473, 0.20715533196926117, -0.23238982260227203, 0.022179214283823967, 0.39687103033065796, -0.13014960289001465, -0.005086726043373346, -0.290398508310318, 0.613375723361969, 0.08722352236509323, -0.6210872530937195, -0.16965577006340027, 0.5541929006576538, 0.6479482054710388, -0.31186771392822266, 0.7720640301704407, 0.37524494528770447, -0.3927456736564636, 0.0025447788648307323, -0.5066777467727661, -0.10003304481506348, -0.43956631422042847, 0.6646804809570312, -0.49953505396842957, -0.9976399540901184, 0.6099407076835632, 0.31706368923187256, 0.3267488479614258, 0.7578532695770264, 0.9254405498504639, -0.15981611609458923, 0.9466068744659424, 0.8862612843513489, -0.011691922321915627, 0.07745242863893509, -0.2107648253440857, 0.529574990272522, -0.798660397529602, -0.35671499371528625, -0.5931844115257263, -0.3275022506713867, -0.6650217771530151, -0.4387867748737335, 0.2949039041996002, -0.09164735674858093, -0.15649199485778809, 0.33920004963874817, -0.27567821741104126, 0.654579758644104, 0.270282119512558, -0.5610538721084595, 0.3509048521518707, 0.24361473321914673, -0.3880409300327301, -0.30398866534233093, -0.7105486989021301, -0.8328572511672974, 1.035462498664856, 0.4263652563095093, 0.4439046382904053, 0.1273997575044632, 0.40614867210388184, 0.014879104681313038, 0.2430770844221115, -0.693382978439331, 0.18099841475486755, -0.08120482414960861, -0.5897517800331116, -0.03231525048613548, 0.2721377909183502, -1.246845006942749, 0.48660844564437866, 0.04316651076078415, -0.5779836773872375, 0.10895708203315735, -0.12475830316543579, 0.08947496116161346, 0.6237412691116333, -0.65721195936203, 0.41995394229888916, -0.4879065155982971, -0.17193906009197235, -0.2830897569656372, -0.365193247795105, 0.4100816547870636, -0.3114079236984253, 0.7117329239845276, -0.17737188935279846, -0.3646402657032013, 0.768192708492279, -0.10731352865695953, 0.9447187185287476, 0.10235491394996643, -0.713446319103241, 0.23580268025398254, 0.22461284697055817, 0.4397938549518585, 0.06663113832473755, 0.014216764830052853, 0.5900565981864929, -0.06194591149687767, -0.39514705538749695, -0.3599134385585785, 0.42284277081489563, -0.9514521956443787, -0.6174694299697876, -0.47201865911483765, -0.5654701590538025, -0.2509134113788605, -0.007475524675101042, 0.38548120856285095, -0.03491944447159767, 0.0844571441411972, -0.030879704281687737, 0.036379653960466385, -0.3204040825366974, 0.6648101806640625, 0.7011725902557373, -0.3552587628364563, -0.012956921011209488, 0.5720112323760986, 0.12825068831443787, 0.0918869599699974, 0.5578715801239014, 0.16705510020256042, -0.19700801372528076, -0.07621483504772186, -0.49941810965538025, 0.4975201189517975, -0.758933961391449, -0.11005992442369461, -0.5995643734931946, -0.0657113566994667, -0.04769103601574898, -0.1043163612484932, -0.44389641284942627, -0.49243882298469543, -0.17718853056430817, -0.3606247007846832, 0.010971157811582088, 1.2161670923233032, 0.21105356514453888, 0.42846643924713135, -0.5213261246681213, 0.15427672863006592, 0.3657127618789673, 0.0203506201505661, -0.004175574518740177, -0.8630916476249695, -0.3581044673919678, 0.13833099603652954, -0.32642990350723267, -1.1204071044921875, 0.27562201023101807, 0.17022135853767395, 0.7640967965126038, 0.22194145619869232, -0.5122731924057007, 0.4512946605682373, -0.9914724230766296, 1.1950262784957886, 0.11317022889852524, -0.765881359577179, 0.306983083486557, -0.07220373302698135, 0.08232244104146957, 0.18080367147922516, 0.4544036090373993, -0.7438691258430481, -0.6142218708992004, -0.45067963004112244, -0.9136540293693542, 0.531030535697937, 0.12836647033691406, 0.571601390838623, -0.39642560482025146, 0.16285938024520874, 0.4763451814651489, 0.39457353949546814, -0.9998027086257935, -0.6167452335357666, -0.10549730062484741, -0.10228285938501358, -0.2226341813802719, -0.39664945006370544, 0.04085288941860199, -0.11748942732810974, 0.44782403111457825, -0.17981381714344025, 0.4834599792957306, -0.21409955620765686, -0.3504631221294403, -0.15412530303001404, 0.3800642490386963, 0.7149146199226379, 0.6395924687385559, 0.4057246744632721, 0.32531312108039856, 0.27356022596359253, -0.5151981115341187, 0.4218345880508423, -0.18464981019496918, -0.2417253702878952, 0.15701338648796082, 0.6156246662139893, 0.7997351288795471, 0.4318426847457886, -0.42023229598999023, 0.5781571865081787, -0.02319679968059063, 0.06925306469202042, -0.5371054410934448, -0.3920886218547821, 0.20934061706066132, 0.3220646381378174, 0.7068922519683838, -0.109084352850914, -0.15831847488880157, -0.5558634400367737, -0.07708059251308441, 0.3870919346809387, 0.020708754658699036, -0.8069500923156738, 0.8694853782653809, 0.08027344197034836, -0.44155585765838623, 0.3238722085952759, -0.14064106345176697, -0.7274311780929565, 0.5725415349006653, 0.9338923692703247, 0.8329722285270691, -0.30909669399261475, 0.21577854454517365, 0.08951427042484283, 0.7251490354537964, 0.1897609531879425, 0.23574715852737427, 0.2323065847158432, -1.0664352178573608, -0.8220000863075256, -0.6205816864967346, -0.42598623037338257, 0.04028678685426712, -0.3304038941860199, 0.27243417501449585, -0.06793126463890076, -0.050481703132390976, -0.17395786941051483, -0.4380122721195221, -0.8557431697845459, -0.04528600350022316, 0.5430632829666138, 0.6257609724998474, -1.118026852607727, 0.816985547542572, 0.9366973042488098, -0.5178377628326416, -0.8610044121742249, 0.17247775197029114, -0.053787507116794586, -1.196279764175415, 0.8473606705665588, 0.14457863569259644, -0.15520545840263367, -0.19965538382530212, -0.5731210708618164, -1.2688223123550415, 0.920805037021637, 0.5505337119102478, -0.38798195123672485, -0.08356617391109467, 0.5123912692070007, 0.510555624961853, -0.6630199551582336, 0.4956907033920288, 0.5333387851715088, 0.42437973618507385, -0.2019611895084381, -0.9912838935852051, -0.33844414353370667, -0.41219693422317505, -0.07846876978874207, -0.023266157135367393, -0.652500569820404, 1.111958384513855, -0.11705488711595535, -0.11860890686511993, -0.2813873589038849, 0.6890692710876465, 0.17881260812282562, -0.13502183556556702, 0.35223281383514404, 0.36196815967559814, 0.8364173173904419, -0.08842457085847855, 1.143358588218689, -0.789244532585144, -0.00923295971006155, 0.8209767937660217, -0.533206582069397, 1.0985565185546875, 0.7247022390365601, -0.5049757361412048, 1.0556964874267578, 0.5476826429367065, 0.1965685933828354, 0.39443886280059814, -0.12361182272434235, 0.1257728487253189, 0.10034260153770447, -0.30182579159736633, -0.15231367945671082, 0.7486332058906555, 0.3610336482524872, -0.1583913266658783, 0.08001439273357391, 0.12748874723911285, 0.36153513193130493, -0.09564897418022156, -0.08306960761547089, 0.5172716975212097, 0.1554667353630066, -0.6228928565979004, 0.41546323895454407, 0.27739110589027405, 0.9899494647979736, -0.4789353311061859, 0.24997387826442719, -0.5959205031394958, -0.21277578175067902, -0.35596758127212524, -0.9530501961708069, 0.3171088695526123, 0.16688813269138336, -0.1259528547525406, -0.2108539640903473, 0.35091572999954224, -0.6606037616729736, -0.7174057364463806, 0.41184261441230774, 0.6458410024642944, 0.32561272382736206, 0.33461156487464905, -0.40446725487709045, -0.08161377161741257, 0.040583763271570206, -0.33772459626197815, 0.12873095273971558, 0.3714531362056732, -0.2928222715854645, 0.48480942845344543, 0.4486880898475647, 0.27574223279953003, 0.31221482157707214, 0.27859392762184143, 0.5651710629463196, -0.4226919114589691, -0.48410674929618835, -0.777477502822876, 0.7620632648468018, 0.3169573247432709, -0.34005147218704224, 0.6220089793205261, 0.5519677996635437, 1.0859826803207397, 0.07057394087314606, 0.7523968815803528, 0.24910946190357208, 0.3764321804046631, -0.456180602312088, 0.3747900724411011, -0.7862340211868286, 0.2606393098831177, -0.19078852236270905, -1.219457983970642, -0.19213643670082092, 0.7526955604553223, -0.2343442738056183, -0.13161922991275787, 1.0562225580215454, 0.49440866708755493, -0.02934487909078598, -0.18288426101207733, 0.20135831832885742, 0.2026538848876953, 0.17901670932769775, 0.3185555338859558, 0.9556950330734253, -0.46218717098236084, 0.48576971888542175, -0.28679022192955017, 0.13871636986732483, 0.21009188890457153, -0.7036622762680054, -0.7357522249221802, -0.6600923538208008, -0.17266017198562622, -0.025287412106990814, -0.33320072293281555, 0.7366458177566528, 0.41228756308555603, -0.8412002921104431, -0.5584288835525513, 0.47954028844833374, 0.11508163064718246, 0.1397000253200531, -0.16910994052886963, 0.27351874113082886, -0.29205086827278137, -0.8911112546920776, 0.600025475025177, 0.48040109872817993, 0.03564371541142464, -0.6285943388938904, -0.055553995072841644, -0.21855252981185913, 0.05024353787302971, 0.6820738315582275, -0.13222317397594452, -1.0767446756362915, -0.21435944736003876, 0.3163039982318878, -0.19261226058006287, 0.2029494047164917, 0.7143452763557434, -0.768804132938385, -0.03795692324638367, -0.005226658191531897, 0.4830397367477417, 0.3085094392299652, -0.5208578109741211, 0.6420902013778687, -1.0040476322174072, 0.8719008564949036, 0.05418805778026581, 0.6778532862663269, 0.5645359754562378, -0.21354131400585175, 0.5140072107315063, 0.20024549961090088, -0.30006977915763855, -0.7924940586090088, 0.256175696849823, -0.36096957325935364, -0.17830321192741394, 1.4080524444580078, 0.2481478601694107, -0.28590402007102966, 0.0320449098944664, -0.13659492135047913, 0.17853394150733948, -0.19194746017456055, 0.5281192064285278, 0.8466908931732178, 0.19730523228645325, -0.2291320413351059, -0.5547875761985779, 0.08752251416444778, 0.5706257224082947, -0.4100490212440491, -0.335650235414505, 0.021571535617113113, 0.08188773691654205, 0.3733695447444916, 0.45039603114128113, -0.031511805951595306, -0.12603232264518738, -0.17165398597717285, 0.14273826777935028, 0.29427385330200195, -0.3908129930496216, -0.4872795641422272, 0.02991822175681591, 0.2943125069141388, -0.0515235997736454 ]
http://arxiv.org/abs/2402.10586v2
http://arxiv.org/pdf/2402.10586v2
Threads of Subtlety: Detecting Machine-Generated Texts Through Discourse Motifs
2024-02-16T11:20:30
2024-06-06T20:04:52
Zae Myung Kim, Kwang Hee Lee, Preston Zhu, Vipul Raheja, Dongyeop Kang
cs.CL
cs.CL, cs.AI
With the advent of large language models (LLM), the line between human-crafted and machine-generated texts has become increasingly blurred. This paper delves into the inquiry of identifying discernible and unique linguistic properties in texts that were written by humans, particularly uncovering the underlying discourse structures of texts beyond their surface structures. Introducing a novel methodology, we leverage hierarchical parse trees and recursive hypergraphs to unveil distinctive discourse patterns in texts produced by both LLMs and humans. Empirical findings demonstrate that, although both LLMs and humans generate distinct discourse patterns influenced by specific domains, human-written texts exhibit more structural variability, reflecting the nuanced nature of human writing in different domains. Notably, incorporating hierarchical discourse features enhances binary classifiers' overall performance in distinguishing between human-written and machine-generated texts, even on out-of-distribution and paraphrased samples. This underscores the significance of incorporating hierarchical discourse features in the analysis of text patterns. The code and dataset are available at https://github.com/minnesotanlp/threads-of-subtlety.
[ -0.0827130600810051, -1.0332618951797485, 0.7617629170417786, 0.06156696379184723, -0.23900555074214935, 0.5713666081428528, 0.1006712019443512, -0.5400720834732056, 0.13661031424999237, 0.723736047744751, -0.48200881481170654, -0.6020867824554443, -0.5350853204727173, 0.2048618197441101, -0.5048179626464844, 0.997818648815155, 0.14860668778419495, -0.27047649025917053, -0.14635369181632996, -0.11898799985647202, 0.06186196580529213, -0.5609538555145264, -0.17273440957069397, -0.472560852766037, 0.8430248498916626, 0.03918321430683136, 0.7192521095275879, 0.980273425579071, 0.543699324131012, 0.34124818444252014, -0.3784232437610626, 0.4441305994987488, -0.2569916248321533, 0.35227838158607483, -0.20762668550014496, -0.4081606864929199, -0.09935519099235535, -0.10984840244054794, 0.880878746509552, 0.8383249044418335, 0.3857097327709198, 0.2909906506538391, 0.6578001976013184, 0.5544742941856384, -0.4522656202316284, 0.07549503445625305, -0.6822776198387146, 0.06056244671344757, -0.7813607454299927, -0.5476269721984863, -0.5347093343734741, -0.3281107246875763, -0.03177395090460777, -0.20988117158412933, 0.36134257912635803, 0.25128379464149475, 1.027276873588562, 0.18868182599544525, -0.3900132477283478, -0.5666464567184448, -0.9061013460159302, 0.8529954552650452, -0.539151132106781, -0.12011764943599701, 0.1104830950498581, -0.050082333385944366, -0.20457766950130463, -0.7521647214889526, -0.27846193313598633, -0.16576609015464783, -0.4040241241455078, -0.23496749997138977, -0.16451334953308105, -0.12176188081502914, 0.36868834495544434, 0.3325325846672058, -0.48577970266342163, -0.020238004624843597, 0.10087821632623672, -0.21124261617660522, 0.42632797360420227, 0.4249577820301056, 0.4668751657009125, -0.4135732650756836, -0.1344965249300003, 0.2867695391178131, -0.7045140266418457, 0.11452235281467438, 0.5684301853179932, 0.18437060713768005, -0.04991183429956436, 0.4378357529640198, 0.19432999193668365, 0.3608954846858978, 0.0642169937491417, -0.46285513043403625, -0.06833334267139435, -0.2571439743041992, 0.06626182049512863, -0.05910216644406319, 0.9962322115898132, -0.10211443156003952, 0.1717587262392044, -0.10073596984148026, -0.2562442421913147, -0.0672837346792221, 0.09613313525915146, -0.5682327151298523, -0.2732805013656616, -0.2389436960220337, -0.7275229096412659, -0.8412801027297974, 0.09007060527801514, -0.37576010823249817, -0.8019750714302063, -0.34603771567344666, -0.19868479669094086, -0.28473326563835144, -0.20693106949329376, -0.1402702033519745, -0.3573538661003113, 0.31455928087234497, 0.0661192461848259, -0.7685251832008362, 0.4215192496776581, 0.965724766254425, 0.7629680633544922, -0.17770962417125702, -0.2423018366098404, -0.06117073819041252, 0.2974317967891693, -0.4765412509441376, 0.8317216634750366, -0.7570534944534302, -0.19315627217292786, -0.1348063051700592, -0.21868488192558289, 0.19103719294071198, -0.6359058022499084, 0.7953224182128906, -0.1783745139837265, 0.04136577993631363, -0.2960859537124634, -0.42712971568107605, 0.10048359632492065, 0.05760602653026581, -0.6469720602035522, 1.2235583066940308, 0.1091521680355072, -1.42400062084198, 0.2514680027961731, -0.26797887682914734, -0.5629266500473022, 0.16844452917575836, -0.644749104976654, -0.6189417839050293, 0.2908508777618408, 0.03326806053519249, 0.4212534725666046, -0.45138785243034363, 0.6047951579093933, -0.21190708875656128, -0.5408973097801208, 0.6508888602256775, -0.6886207461357117, 0.8377947211265564, 0.12098543345928192, -0.5635426640510559, 0.06314171105623245, -0.8384387493133545, -0.19037988781929016, 0.037991248071193695, -0.3366396725177765, -0.4536379277706146, 0.28859302401542664, 0.026940062642097473, 0.08588852733373642, 0.2200765460729599, -0.3103794455528259, 0.0836411789059639, -0.3549548089504242, 0.6020987629890442, 0.8710882067680359, 0.18354466557502747, 0.3917323648929596, -0.6464737057685852, 0.41157761216163635, 0.38570636510849, -0.018808120861649513, -0.4945485293865204, -0.7977228164672852, -0.660706102848053, -0.36430466175079346, 0.3023277521133423, 0.5187192559242249, -0.7937498688697815, 0.5711338520050049, -0.17844781279563904, -0.31867557764053345, -0.6261910200119019, 0.1478184461593628, 0.7457815408706665, 0.24340097606182098, -0.25542905926704407, -0.36317622661590576, -0.6766476631164551, -0.8958573937416077, -0.704533040523529, -0.26732107996940613, -0.15320457518100739, 0.5324855446815491, 0.5777409672737122, -0.2703666090965271, 1.0965098142623901, -0.5011542439460754, 0.17672112584114075, -0.05027295649051666, 0.700910747051239, -0.014408566989004612, 0.33341675996780396, 0.4490172266960144, -0.5095037221908569, -0.5252422094345093, 0.2440946251153946, -0.8969781398773193, -0.29936063289642334, -0.46658700704574585, -0.10539256036281586, 0.09307760000228882, 0.6525541543960571, -0.4848838448524475, 0.22699446976184845, 0.17715702950954437, -0.21103356778621674, 0.543395459651947, 0.10110637545585632, -0.08116356283426285, -0.9726485013961792, 0.24446555972099304, -0.1999761462211609, -0.3197593092918396, -0.3524264395236969, 0.14711402356624603, -0.14051301777362823, 0.06518009305000305, -0.17440059781074524, 0.42499077320098877, -0.5773044228553772, -0.13290588557720184, -0.03889058157801628, 0.010177640244364738, 0.14868494868278503, 0.5139157176017761, -0.29201772809028625, 0.6514707803726196, 0.3188230097293854, -0.36103555560112, -0.23264093697071075, -0.20314016938209534, -0.2890840470790863, 0.5279228091239929, -0.5283412337303162, 0.42642322182655334, -0.1823759526014328, 0.10109950602054596, -1.15083646774292, -0.3498050272464752, 0.3083306550979614, -0.4433274269104004, 0.283647745847702, -0.13317880034446716, -0.7090856432914734, -0.2880861163139343, -0.5955471992492676, 0.32650530338287354, 0.418557733297348, -0.11622975766658783, 0.40413689613342285, 0.5948056578636169, -0.35597774386405945, -0.4933505356311798, -0.7088264226913452, 0.3486729562282562, -0.2015267163515091, -0.6048541069030762, 0.2563427686691284, 0.018620910122990608, -0.41682669520378113, -0.22949060797691345, 0.17061041295528412, -0.3420272469520569, 0.31332913041114807, 0.4598971903324127, 0.07007835805416107, -0.3972196578979492, -0.04877122491598129, 0.42299655079841614, 0.04015427455306053, 0.20164057612419128, -0.3963415324687958, 0.48745739459991455, -0.033621106296777725, -0.28808990120887756, -0.5638543367385864, 0.4844951927661896, 0.7015731930732727, 0.12339488416910172, 0.4546245038509369, 0.6538543701171875, -0.17869725823402405, -0.11112606525421143, -0.3849434554576874, -0.2129494845867157, -0.5114951133728027, -0.048130400478839874, -0.4122920334339142, -1.0349676609039307, 0.42798376083374023, -0.3890377879142761, -0.030184095725417137, 0.3084169924259186, 0.47086718678474426, -0.3689603805541992, 1.1601868867874146, 0.643473207950592, -0.23771175742149353, 0.31920766830444336, 0.17716901004314423, 0.19114544987678528, -0.8280196785926819, 0.06434458494186401, -0.8659294843673706, -0.4371967017650604, -0.9955594539642334, -0.45110225677490234, 0.047263529151678085, -0.1152491644024849, -0.13207104802131653, -0.038500379770994186, -0.8000950217247009, 0.7791749238967896, 0.5705873966217041, 0.04842749610543251, 0.37816321849823, 0.008726929314434528, -0.47850659489631653, -0.306311696767807, -0.36591947078704834, -0.9986199140548706, 0.8954423069953918, 0.42659226059913635, 0.4972771406173706, -0.211809441447258, 0.9255213737487793, 0.5023260116577148, 0.12090171873569489, -0.5907657146453857, 0.6079484820365906, -0.08642534166574478, -0.28274697065353394, 0.03587398678064346, -0.4988217055797577, -1.239288091659546, 0.14574694633483887, -0.014103961177170277, -0.5172515511512756, 0.013052199967205524, -0.03854017332196236, -0.04601529613137245, 0.37630656361579895, -0.4394488036632538, 0.5081446766853333, 0.045892439782619476, -0.2582230269908905, 0.3437747061252594, -0.7465506792068481, 0.40355199575424194, -0.005679766181856394, 0.3270709812641144, 0.02754323184490204, -0.19527782499790192, 0.5387549996376038, -0.012796665541827679, 1.372950792312622, 0.25457099080085754, -0.41413721442222595, 0.5631964802742004, 0.30826959013938904, 0.5678561329841614, -0.10675445199012756, 0.262615442276001, 0.21254940330982208, -0.6028474569320679, -0.371450811624527, -0.17505696415901184, 0.724015474319458, -0.7220404744148254, -0.47655749320983887, -0.30252915620803833, -0.5969066023826599, 0.18487954139709473, 0.41995811462402344, 0.38485845923423767, 0.36799949407577515, -0.42164289951324463, 0.016375374048948288, 0.8891663551330566, -0.1646518111228943, 0.5769029855728149, 0.15986256301403046, -0.08359512686729431, -0.16825023293495178, 1.0060838460922241, -0.03515619784593582, -0.05146634578704834, 0.5754778385162354, 0.43789157271385193, 0.1352595090866089, -0.5726249814033508, -0.3800601661205292, 0.3378956615924835, -0.46641844511032104, -0.028550272807478905, -0.7458562254905701, -0.4908216893672943, -0.24276913702487946, -0.2807585597038269, -0.0004563857219181955, -0.5120938420295715, -0.49018001556396484, 0.07714179158210754, -0.09543146193027496, 1.164366364479065, 0.3190566897392273, 0.2647875249385834, -0.7327327728271484, 0.32008838653564453, 0.3014346659183502, -0.18085318803787231, -0.05507194995880127, -0.42119666934013367, 0.09954135864973068, -0.16976143419742584, -0.6989341974258423, -0.7067128419876099, 0.3234489858150482, -0.0548148974776268, 0.17363515496253967, 0.5481066107749939, -0.17131294310092926, 0.39622119069099426, -0.6990178823471069, 0.8639719486236572, 0.0725792795419693, -1.074779987335205, 0.551267147064209, -0.8052571415901184, 0.5698520541191101, 0.1805427372455597, 0.28893575072288513, -0.3741387724876404, -1.0483427047729492, -0.7729315757751465, -0.6898089647293091, 0.4830440580844879, 0.5184642672538757, 0.2379344403743744, -0.09352944046258926, 0.388802707195282, 0.18446390330791473, 0.3722973167896271, -0.7060459852218628, -0.2545783817768097, 0.33570626378059387, -0.27725106477737427, 0.3543722927570343, -0.5373750925064087, -0.15198451280593872, -0.11002952605485916, 0.020592670887708664, -0.17210179567337036, 0.11079316586256027, 0.02331610582768917, -0.061401963233947754, -0.12668736279010773, 0.32730892300605774, 0.6198332905769348, 0.4943143427371979, 0.1592566817998886, 0.5471394658088684, -0.20380130410194397, -0.6218882203102112, -0.005258692894130945, -0.43452805280685425, -0.7237550020217896, 0.42968064546585083, 0.7168222665786743, 0.5673264861106873, 0.5734265446662903, -0.29631227254867554, 0.30456212162971497, 0.014126915484666824, -0.17352943122386932, 0.03162504360079765, 0.04343004897236824, 0.2477501779794693, 0.2879195511341095, 0.18799084424972534, 0.5019847750663757, 0.4493968188762665, -0.6889107823371887, 0.13611893355846405, 0.30001553893089294, -0.4401952028274536, -0.6565564274787903, 0.2969411015510559, 0.2521700859069824, -0.5175944566726685, 0.21600550413131714, -0.3747982382774353, -0.4004693627357483, 0.3919517397880554, 0.4261530339717865, 1.179909110069275, -0.1579754799604416, 0.4332756996154785, 0.029290081933140755, 0.3907518684864044, 0.18121500313282013, 0.20905213057994843, -0.3193281292915344, -0.4827990233898163, -0.24754543602466583, -0.5916760563850403, -0.3709963858127594, -0.10892346501350403, -0.4576634168624878, 0.26745498180389404, -0.648610532283783, -0.1942753940820694, 0.40009814500808716, -0.09676652401685715, -0.15439152717590332, -0.42122215032577515, 0.31922125816345215, 0.18965646624565125, -0.7388724088668823, 0.7815232276916504, 0.46894240379333496, -0.011794055812060833, -0.4322827160358429, 0.27820923924446106, 0.2883176803588867, -0.505729615688324, 0.45835405588150024, 0.23555387556552887, -0.4025382697582245, -0.14418555796146393, -0.7899783849716187, -0.6009936332702637, 0.9599944949150085, 0.4926328957080841, -0.5716919302940369, -0.20854361355304718, 0.633230447769165, 0.5777864456176758, -0.26734837889671326, 0.12256287038326263, 0.7178456783294678, 0.3556268513202667, -0.009047840721905231, -0.7206156253814697, 0.0698290690779686, -0.1157521903514862, 0.2516465187072754, 0.376099169254303, -0.4302773177623749, 1.0619885921478271, 0.010537364520132542, -0.4897453486919403, 0.11576790362596512, 0.43631377816200256, 0.3172646760940552, 0.45063382387161255, 0.0632636770606041, 0.2818259596824646, 1.1829248666763306, -0.03243876248598099, 0.9474002718925476, -0.23647113144397736, 0.1443711817264557, 1.0906977653503418, -0.31312692165374756, 0.5180729627609253, 0.4685412347316742, -0.08614490181207657, 0.9210079908370972, 0.21973125636577606, 0.317351371049881, 0.12188167124986649, 0.43988585472106934, -0.34613826870918274, -0.009037251584231853, -0.2576940953731537, -0.050157953053712845, 0.29789063334465027, 0.3391702175140381, -0.4995695650577545, -0.1470128446817398, -0.2386903613805771, 0.3407011926174164, 0.31354185938835144, -0.11696608364582062, 1.0077619552612305, 0.3253006339073181, -0.5559406280517578, 0.4921351969242096, 0.01683644950389862, 0.731198251247406, -0.2707246243953705, -0.03556521236896515, -0.08898203819990158, 0.23936022818088531, -0.25266724824905396, -0.8893589973449707, 0.3802538812160492, 0.12463745474815369, -0.40456143021583557, -0.4092864692211151, 1.0622278451919556, -0.1797019988298416, -0.5684219002723694, 0.01227414421737194, 0.5667071342468262, 0.12897120416164398, -0.15098081529140472, -0.8298904895782471, 0.09570103883743286, -0.05129902809858322, -0.09007824212312698, 0.3336821496486664, 1.1705021858215332, -0.2710496187210083, 0.3696856200695038, 0.7260050773620605, -0.11751805245876312, 0.07259566336870193, 0.25609463453292847, 0.9411675333976746, -0.9037952423095703, -0.286373108625412, -1.1838494539260864, 0.4766267240047455, -0.27822113037109375, -0.44972532987594604, 0.8048579096794128, 0.5361624360084534, 0.4187563955783844, -0.013249799609184265, 0.685468316078186, 0.22839385271072388, 0.5432819724082947, -0.2842249572277069, 0.8197591304779053, -0.030970558524131775, 0.43870025873184204, -0.5538386702537537, -0.5612519979476929, -0.2691464424133301, 0.29145896434783936, 0.169472798705101, -0.1108960211277008, 0.8330163955688477, 0.788291335105896, 0.04905710741877556, 0.14189398288726807, 0.3154110610485077, 0.2548367381095886, 0.19505348801612854, 0.3060082197189331, 1.218660593032837, -0.32427242398262024, 0.44043129682540894, -0.04149721562862396, -0.1569037288427353, -0.11798729002475739, -0.7620941400527954, -1.2518810033798218, -0.6048049330711365, -0.40749794244766235, -0.03308117389678955, -0.1404166966676712, 0.26868894696235657, 0.4641370475292206, -0.5713759660720825, -0.3654196262359619, -0.4235767424106598, 0.4959888458251953, -0.06132684275507927, -0.29402023553848267, 0.21205902099609375, -0.5031644105911255, -0.5710662007331848, 0.036915719509124756, 0.659544825553894, 0.0174228698015213, -0.41714656352996826, 0.13951312005519867, -0.17713594436645508, 0.5301541090011597, 0.6835317015647888, -0.144644632935524, -0.74358731508255, -0.2337215542793274, 0.07372572273015976, -0.5627793669700623, 0.12551084160804749, 1.4669996500015259, -0.6470906734466553, 0.034623198211193085, 0.6156325936317444, 0.40296873450279236, 0.1268972009420395, -0.2109859585762024, 0.27806800603866577, -1.3229634761810303, 0.12150955945253372, 0.4707471430301666, 0.17114806175231934, 0.3642750084400177, -0.43908143043518066, 0.28120043873786926, 0.42404913902282715, -0.5373456478118896, -0.973135232925415, 0.31298843026161194, -0.7481477856636047, -0.562200129032135, 0.9865543842315674, -0.2176283746957779, -0.47269076108932495, -0.5653115510940552, -0.544399082660675, 0.05238882824778557, -0.1970205008983612, 0.8477749824523926, 0.6766083836555481, 0.05933386832475662, -0.11145716160535812, -0.16226191818714142, 0.585020124912262, 0.14471301436424255, -0.791996955871582, 0.232111856341362, 0.37144792079925537, -0.02354118414223194, 0.3785775899887085, 0.7084001898765564, -0.21291589736938477, 0.0651380643248558, 0.20163066685199738, -0.3574571907520294, 0.3469676077365875, -0.45797958970069885, -0.12521012127399445, 0.36401885747909546, 0.1811670958995819, 0.1000048816204071 ]
http://arxiv.org/abs/2402.10573v2
http://arxiv.org/pdf/2402.10573v2
LinkNER: Linking Local Named Entity Recognition Models to Large Language Models using Uncertainty
2024-02-16T11:02:29
2024-02-27T15:08:02
Zhen Zhang, Yuhua Zhao, Hang Gao, Mengting Hu
cs.CL
cs.CL, I.2.7
Named Entity Recognition (NER) serves as a fundamental task in natural language understanding, bearing direct implications for web content analysis, search engines, and information retrieval systems. Fine-tuned NER models exhibit satisfactory performance on standard NER benchmarks. However, due to limited fine-tuning data and lack of knowledge, it performs poorly on unseen entity recognition. As a result, the usability and reliability of NER models in web-related applications are compromised. Instead, Large Language Models (LLMs) like GPT-4 possess extensive external knowledge, but research indicates that they lack specialty for NER tasks. Furthermore, non-public and large-scale weights make tuning LLMs difficult. To address these challenges, we propose a framework that combines small fine-tuned models with LLMs (LinkNER) and an uncertainty-based linking strategy called RDC that enables fine-tuned models to complement black-box LLMs, achieving better performance. We experiment with both standard NER test sets and noisy social media datasets. LinkNER enhances NER task performance, notably surpassing SOTA models in robustness tests. We also quantitatively analyze the influence of key components like uncertainty estimation methods, LLMs, and in-context learning on diverse NER tasks, offering specific web-related recommendations.
[ -0.499368280172348, -0.7727123498916626, 0.5821830034255981, -0.2167229801416397, -0.14308635890483856, 0.01893371157348156, -0.43286246061325073, -0.7665494084358215, 0.14470048248767853, 0.24940139055252075, -0.3741972744464874, -0.3500533103942871, -0.7404053807258606, 0.5358560085296631, -0.27400457859039307, 1.0519013404846191, -0.12635871767997742, -0.031071513891220093, -0.18778939545154572, 0.0510970838367939, -0.1335853785276413, -0.2113606333732605, -1.0537018775939941, -0.1332044154405594, 0.7821747660636902, 0.2797619700431824, 0.867833137512207, 0.5672833919525146, 0.8678975105285645, 0.28570106625556946, -0.10169395059347153, 0.16967065632343292, -0.538977324962616, 0.2663252055644989, -0.39963722229003906, -0.3815118074417114, -0.36504149436950684, -0.3737964928150177, 0.6566899418830872, 0.5918892025947571, -0.028920581564307213, 0.07092782109975815, 0.0033942239824682474, 0.3774997591972351, -0.6889404058456421, 0.0942404568195343, -0.8905878067016602, -0.4010993540287018, -0.18674640357494354, 0.02729954570531845, -0.11728686094284058, -0.34794679284095764, 0.23195970058441162, -0.5717056393623352, 0.44808706641197205, 0.28047430515289307, 1.1906335353851318, 0.44852787256240845, -0.3541995584964752, -0.20221181213855743, -0.9656415581703186, 0.6231827735900879, -0.7042490243911743, 0.6840674877166748, 0.6459456086158752, 0.3231496214866638, -0.3902616798877716, -0.5719206929206848, -0.6992470622062683, 0.03829401731491089, 0.17667235434055328, -0.3248882293701172, -0.4365054666996002, 0.026993224397301674, 0.2552180886268616, 0.19139143824577332, -0.4037426710128784, 0.18002833425998688, -0.31564903259277344, -0.19055549800395966, 0.36386385560035706, -0.012844325974583626, 0.14512187242507935, -0.10468309372663498, -0.20442911982536316, 0.1180519089102745, -0.8558400273323059, -0.20219393074512482, 0.4365341365337372, 0.6219361424446106, -0.093610018491745, 0.42381057143211365, -0.4347996115684509, 0.7544742226600647, 0.32896527647972107, -0.05395617336034775, -0.030241813510656357, -0.18319468200206757, -0.1162484735250473, 0.08491922914981842, 0.8695430755615234, 0.0778384655714035, 0.0431695282459259, -0.3492389917373657, -0.3347996175289154, -0.08517590165138245, 0.1237330436706543, -0.8825022578239441, -0.3596106767654419, 0.12018854916095734, -0.0956968441605568, -0.15680493414402008, -0.029770502820611, -0.6752856373786926, -0.3279174268245697, -0.38654446601867676, 0.608626127243042, -0.5356289744377136, -0.07653740793466568, -0.0028112952131778, 0.3386369049549103, 0.024123314768075943, 0.46646803617477417, -0.7532497644424438, 0.42404070496559143, 0.621717095375061, 0.7231498956680298, -0.09655651450157166, -0.16859346628189087, -0.6671259999275208, 0.28009480237960815, -0.12375068664550781, 0.8000165224075317, -0.5913235545158386, 0.06794475764036179, -0.13691847026348114, -0.035130251199007034, 0.10920487344264984, -0.3627704381942749, 0.32691624760627747, -0.9031805396080017, -0.051251914352178574, -0.3209817111492157, -0.604181706905365, 0.028298096731305122, 0.1979128122329712, -0.9607254266738892, 0.8619112968444824, -0.020692387595772743, -1.0517802238464355, 0.5027116537094116, -0.25210943818092346, -0.4944824278354645, 0.040817439556121826, -0.15314900875091553, -0.453833669424057, 0.17116379737854004, 0.26856285333633423, 0.5831480026245117, -0.5656589865684509, 0.2544510066509247, -0.5027392506599426, -0.3640778660774231, 0.20946401357650757, -0.3764480650424957, 0.23232752084732056, 0.07435981929302216, -0.3076794743537903, 0.030779661610722542, -0.7543715238571167, -0.012191478163003922, -0.09285720437765121, -0.24326857924461365, -0.5381999611854553, 0.055461589246988297, 0.019326886162161827, 0.2107553333044052, 0.2581070363521576, -0.29300186038017273, -0.19246065616607666, -0.34129905700683594, 0.4384976923465729, 0.5511845350265503, 0.07180001586675644, 0.4560890793800354, -0.10517054796218872, 0.4086352288722992, -0.17564702033996582, -0.11786426603794098, 0.36449795961380005, -0.4121781289577484, -0.9747167229652405, -0.05161776393651962, 0.6489637494087219, 0.1858234852552414, -0.7516223788261414, 0.3605177700519562, -0.6336609125137329, -0.4514501988887787, -0.4281165599822998, 0.11081452667713165, 0.23170427978038788, 0.2832951545715332, 0.45237621665000916, -0.15796604752540588, -0.560604453086853, -0.6099867820739746, -0.18695782124996185, -0.12565991282463074, -0.249678835272789, 0.2863301634788513, 0.641655683517456, -0.29192277789115906, 0.9306431412696838, -0.2966865301132202, -0.33099713921546936, -0.17989550530910492, 0.34118545055389404, 0.11706577241420746, 0.19122262299060822, -0.02281690575182438, -0.9873266816139221, -0.4563972055912018, 0.06547881662845612, -0.42638885974884033, 0.170416921377182, -0.008022760972380638, 0.11086840182542801, 0.05835450813174248, 0.475180983543396, -0.5759590268135071, 0.2797792851924896, 0.5296016335487366, -0.09303849190473557, 0.40020644664764404, -0.2282784879207611, 0.02215409278869629, -1.097058653831482, -0.20395295321941376, 0.3125436007976532, -0.1950329691171646, -0.4905601441860199, -0.020544910803437233, 0.05203932523727417, 0.08972466737031937, -0.22185376286506653, 0.5781099796295166, -0.7480787038803101, -0.034074243158102036, -0.17218662798404694, 0.21498146653175354, -0.2149137705564499, -0.015603111125528812, 0.085439033806324, 0.7926284074783325, 0.4398764967918396, -0.7349820733070374, 0.10497740656137466, 0.09194810688495636, -0.3680232763290405, 0.6991045475006104, -0.7280173897743225, 0.11926118284463882, -0.06371491402387619, -0.04060175642371178, -0.44239333271980286, -0.5608325600624084, 0.08441908657550812, -0.3510577380657196, 0.6071904897689819, -0.18098171055316925, -0.5217208862304688, -0.15824998915195465, 0.13410906493663788, 0.3825879693031311, 0.14618238806724548, -0.3927941620349884, 0.678595781326294, 0.4201264977455139, -0.21675823628902435, -0.40263670682907104, -0.4304904639720917, 0.19702915847301483, -0.26331236958503723, -0.3845731317996979, 0.44919395446777344, 0.1005537137389183, -0.18351149559020996, 0.1376626342535019, -0.5610874891281128, -0.45482853055000305, -0.0667712464928627, 0.4029224216938019, 0.12554006278514862, -0.21547064185142517, 0.1815536916255951, -0.10941315442323685, -0.1622554510831833, -0.016472911462187767, -0.20354679226875305, 0.22772720456123352, -0.26554763317108154, -0.3683743476867676, -0.2629588842391968, -0.017988234758377075, 0.21086494624614716, -0.25143879652023315, 0.6705037355422974, 0.7553289532661438, -0.5918261408805847, -0.14987929165363312, -0.7406121492385864, -0.28771352767944336, -0.45151057839393616, 0.2808847725391388, -0.6307721734046936, -1.3442456722259521, 0.4182719588279724, -0.16859771311283112, -0.5647026300430298, 0.251037061214447, 0.3430074155330658, -0.13515324890613556, 0.5121253132820129, 0.7813224196434021, -0.2711682915687561, 0.4082461893558502, 0.12709654867649078, 0.5546182990074158, -0.7458299994468689, -0.0200392734259367, -0.61258864402771, -0.28707870841026306, -0.743259072303772, -0.731369137763977, 0.07742337882518768, 0.20621387660503387, -0.3407287001609802, 0.636605978012085, -0.27110394835472107, 0.5289943814277649, 0.5784056186676025, 0.17588499188423157, 0.4508592188358307, 0.10794389247894287, -0.046684425324201584, -0.1751583367586136, -0.5153149962425232, -0.4747963547706604, 1.0350202322006226, 0.18542024493217468, 1.0506778955459595, 0.28253796696662903, 0.7922722101211548, -0.041408948600292206, 0.0000514030471094884, -0.5198595523834229, 0.4104097783565521, 0.14479725062847137, -0.717694878578186, -0.4587247669696808, -0.6293919086456299, -0.9208147525787354, -0.11970158666372299, -0.4545232653617859, -1.001521110534668, 0.41147860884666443, 0.03499111905694008, -0.3834572732448578, 0.49693402647972107, -0.26359522342681885, 0.6525867581367493, -0.13040821254253387, -0.5169875621795654, 0.010092669166624546, -0.7739289402961731, 0.07688447088003159, -0.33322685956954956, 0.21783946454524994, -0.20208494365215302, -0.11804937571287155, 0.4407219886779785, -0.04212505742907524, 0.7637443542480469, 0.3486812114715576, -0.049420908093452454, 0.09819139540195465, 0.31741344928741455, 0.9870918393135071, 0.23502357304096222, -0.1715119481086731, 0.4602092206478119, -0.23725654184818268, -0.03391114994883537, -0.5921162366867065, 0.8766424655914307, -0.6102991104125977, -0.3222290575504303, -0.4623038172721863, -0.5599814057350159, -0.19375072419643402, 0.4457482099533081, 0.34360983967781067, 0.1652025431394577, -0.19745701551437378, 0.23822326958179474, 0.8556336760520935, 0.023620128631591797, 0.26114243268966675, 0.37028273940086365, 0.23385939002037048, -0.4813825786113739, 0.8810594081878662, -0.02201981097459793, 0.28372588753700256, 0.9197002053260803, -0.12230552732944489, -0.23649567365646362, -0.7895057201385498, 0.08099839836359024, 0.1723746657371521, -0.5579797625541687, -0.438689261674881, -0.6476947069168091, -0.11737851798534393, -0.20872104167938232, -0.07211662828922272, -0.3947594463825226, -0.2452537566423416, -0.45925772190093994, -0.11172671616077423, 0.5233080983161926, 0.7050573825836182, -0.019800521433353424, 0.2726157307624817, -0.43094319105148315, 0.4343423545360565, 0.2751622796058655, 0.6546697616577148, -0.272840291261673, -0.2822439670562744, -0.2226460576057434, 0.04801682010293007, 0.20713430643081665, -0.7627416253089905, 0.23432451486587524, 0.22207698225975037, 0.1787799596786499, 0.5102102160453796, 0.3458145260810852, 0.8926941156387329, -0.6021732687950134, 0.2417566329240799, 0.1345767080783844, -0.8303200602531433, 0.5353469848632812, -0.5014123916625977, -0.0024308753199875355, 0.8347851634025574, 0.6797388195991516, -0.20709426701068878, -0.3077850043773651, -0.4909973740577698, -1.0160988569259644, 0.39672723412513733, 0.34570038318634033, -0.023097475990653038, -0.14127087593078613, 0.3307705819606781, -0.1318567991256714, 0.21877647936344147, -0.8184823989868164, -0.12880505621433258, 0.2593500018119812, -0.16420648992061615, -0.0621495321393013, -0.35606664419174194, 0.05246914178133011, -0.09385398030281067, 0.7486047148704529, -0.17708855867385864, 0.2351764738559723, 0.0957956612110138, -0.2590380609035492, -0.28358006477355957, 0.4647943079471588, 0.11082950234413147, 0.5893287062644958, -0.3508061170578003, 0.27996426820755005, 0.33612364530563354, -0.3051767945289612, 0.09893789887428284, 0.3371666371822357, -0.35292160511016846, 0.0793834924697876, 0.24623331427574158, 0.806958019733429, 0.693813681602478, -0.32584184408187866, 0.27994388341903687, -0.17160670459270477, 0.09107061475515366, -0.2474510669708252, -0.05128300562500954, 0.21578551828861237, 0.33630552887916565, 0.14452984929084778, 0.09553451836109161, 0.05207359418272972, -0.030672816559672356, 0.3322261571884155, 0.5055067539215088, -0.6997137665748596, -0.27331510186195374, 0.8186762928962708, -0.08093705028295517, -0.21618106961250305, 0.4662984609603882, -0.422839492559433, -0.24021925032138824, 0.3267011344432831, 0.6985764503479004, 0.779029369354248, -0.19600333273410797, 0.04448336362838745, 0.527104377746582, 0.4265434145927429, -0.2788480818271637, 0.11594178527593613, 0.03606763482093811, -0.788255512714386, -0.37411224842071533, -0.7763583064079285, -0.5019713044166565, 0.09638726711273193, -0.7040842175483704, 0.36723464727401733, -0.42744776606559753, -0.4051591753959656, 0.07676991075277328, 0.01734856702387333, -0.9110221266746521, 0.23681068420410156, -0.023023370653390884, 0.5863593816757202, -0.5592348575592041, 0.8417097926139832, 0.7425718903541565, -0.602977991104126, -1.057307243347168, 0.20516373217105865, 0.09517823159694672, -0.2671900689601898, 0.7674524784088135, 0.002436860930174589, -0.20405153930187225, 0.23304133117198944, -0.1843539923429489, -1.3249666690826416, 1.085350513458252, 0.3799035847187042, -0.7489274740219116, -0.2744833827018738, 0.09152940660715103, 0.382307231426239, -0.2020246386528015, 0.4051071107387543, 0.21346530318260193, 0.4587042033672333, 0.22426724433898926, -0.8905653953552246, 0.3800896406173706, 0.05895664170384407, 0.2723943591117859, 0.4041171073913574, -0.39171722531318665, 0.8366442322731018, -0.4787375330924988, -0.27641090750694275, -0.03446587547659874, 0.7931050062179565, 0.09833870083093643, 0.045649342238903046, 0.3153120279312134, 0.5658112168312073, 0.9832926988601685, -0.1298501044511795, 0.8344600200653076, -0.2883859872817993, 0.47397974133491516, 1.5362130403518677, -0.42699506878852844, 1.218808889389038, 0.4877048432826996, -0.3516073524951935, 0.46182605624198914, 0.6093694567680359, -0.2127692848443985, 0.41381481289863586, 0.20578044652938843, -0.44067901372909546, -0.40741443634033203, -0.11875887215137482, -0.24289706349372864, 0.40546178817749023, 0.2158142328262329, -0.17075912654399872, -0.2591157853603363, -0.3682873547077179, 0.002200811170041561, -0.08790647238492966, -0.2096715271472931, 0.7240608334541321, 0.21605880558490753, -0.1906214952468872, 0.3093664050102234, -0.06450767815113068, 0.8244566917419434, -0.5166986584663391, 0.05991606041789055, -0.0036404924467206, 0.11399170011281967, -0.1256975680589676, -0.29798027873039246, 0.18030598759651184, -0.0311699528247118, -0.30611851811408997, 0.15989960730075836, 0.9588107466697693, -0.40170079469680786, -0.6123480796813965, 0.3615444600582123, 0.46072742342948914, 0.12268960475921631, -0.35492822527885437, -0.45706623792648315, 0.033275503665208817, -0.2012740969657898, -0.10308697074651718, 0.5321510434150696, 0.7825977802276611, -0.021116996183991432, 0.9357161521911621, 0.7662485241889954, 0.3463640511035919, -0.17142271995544434, -0.020270511507987976, 0.6212025880813599, -0.6897328495979309, -0.19814372062683105, -0.792912483215332, 0.16110868752002716, 0.014200742356479168, -0.08712904900312424, 0.8158632516860962, 0.47814157605171204, 1.1327524185180664, 0.11179197579622269, 0.5557478070259094, -0.1660814881324768, 0.26345449686050415, -0.3309806287288666, 0.7891940474510193, -0.4502021074295044, 0.22228431701660156, -0.5153852701187134, -0.907193124294281, -0.5307241678237915, 0.7558625936508179, -0.48626649379730225, 0.09491206705570221, 0.7208160161972046, 0.8351701498031616, -0.22801473736763, -0.09368637204170227, 0.3945021331310272, 0.17552435398101807, 0.04096217453479767, 0.4874557554721832, 0.4951912462711334, -0.5856444835662842, 0.6552222967147827, -0.3029758930206299, 0.21548312902450562, -0.14773058891296387, -1.0464787483215332, -0.9566013813018799, -0.5020530819892883, -0.505646288394928, -0.2929728329181671, 0.3087995648384094, 0.874049961566925, 0.7184138894081116, -0.9566773772239685, 0.04919952154159546, -0.28206056356430054, 0.3323235511779785, -0.09502356499433517, -0.17144905030727386, 0.31117886304855347, -0.18160411715507507, -0.7169203758239746, 0.2458314299583435, 0.18433645367622375, 0.06622868776321411, 0.1508263796567917, -0.11021563410758972, -0.27503472566604614, -0.27727335691452026, 0.21617981791496277, 0.23052218556404114, -0.9893758296966553, -0.4157131612300873, -0.14262081682682037, -0.06677788496017456, -0.07689607888460159, 0.3723185956478119, -0.6441393494606018, 0.3394540548324585, 0.25453001260757446, 0.8400256633758545, 0.46069106459617615, -0.0690152496099472, 0.6626062989234924, -0.5730137825012207, -0.28018659353256226, 0.23175694048404694, 0.48444196581840515, 0.4459388256072998, -0.4705904424190521, 0.5100106000900269, -0.05667254701256752, -0.5924813747406006, -0.6277258992195129, 0.25961700081825256, -0.7897179126739502, -0.05557217821478844, 1.2219929695129395, -0.059909287840127945, -0.0519171804189682, -0.2233676165342331, 0.31692612171173096, 0.3909855782985687, -0.4827231764793396, 0.6339108347892761, 0.5504045486450195, 0.07624422013759613, -0.22309766709804535, -0.7319886088371277, 0.49636316299438477, 0.003422495210543275, -0.7286126613616943, -0.15350276231765747, 0.5234912037849426, 0.6277682185173035, 0.09891045093536377, 0.4341505765914917, 0.19317424297332764, -0.11952777951955795, -0.013291468843817711, 0.20790249109268188, 0.01166012417525053, -0.39459049701690674, -0.3122180998325348, 0.11518271267414093, 0.196559876203537, 0.14423412084579468 ]
http://arxiv.org/abs/2402.10571v2
http://arxiv.org/pdf/2402.10571v2
Direct Preference Optimization with an Offset
2024-02-16T10:55:38
2024-06-06T12:02:37
Afra Amini, Tim Vieira, Ryan Cotterell
cs.CL
cs.CL, cs.AI, cs.LG
Direct preference optimization (DPO) is a successful fine-tuning strategy for aligning large language models with human preferences without the need to train a reward model or employ reinforcement learning. DPO, as originally formulated, relies on binary preference data and fine-tunes a language model to increase the likelihood of a preferred response over a dispreferred response. However, not all preference pairs are equal. Sometimes, the preferred response is only slightly better than the dispreferred one. In other cases, the preference is much stronger. For instance, if a response contains harmful or toxic content, the annotator will have a strong preference for that response. In this paper, we propose a generalization of DPO, termed DPO with an offset (ODPO), that does not treat every preference pair equally during fine-tuning. Intuitively, ODPO requires the difference between the likelihood of the preferred and dispreferred response to be greater than an offset value. The offset is determined based on the extent to which one response is preferred over another. Our experiments on various tasks suggest that ODPO significantly outperforms DPO in aligning language models, especially when the number of preference pairs is limited.
[ -0.5153157114982605, -0.5293995141983032, 0.44561266899108887, 0.27934837341308594, -0.32877421379089355, -0.03227526694536209, -0.21522033214569092, -0.4002837538719177, 0.16030184924602509, 0.4106459617614746, -0.6093430519104004, -0.14071902632713318, -0.7237467765808105, 0.2806701958179474, 0.4578411877155304, 0.5948583483695984, 0.01739342324435711, -0.09389752149581909, 0.062124766409397125, -0.05083555355668068, -0.6815849542617798, -0.22661101818084717, -0.6058347225189209, -0.40869808197021484, 0.48624274134635925, 0.7234926223754883, 0.8969002962112427, 1.190503716468811, 0.4414382576942444, 0.2817801237106323, -0.11923260986804962, 0.28257644176483154, -0.5566020011901855, 0.033329080790281296, -0.13746242225170135, -0.28162235021591187, -0.5343960523605347, -0.06535953283309937, 0.3968859910964966, 0.9810023307800293, -0.018631039187312126, -0.3230297267436981, -0.09563197940587997, 1.103730320930481, -1.0922741889953613, -0.32528743147850037, -0.6759857535362244, -0.010936214588582516, 0.16048485040664673, -0.09180823713541031, -0.15238139033317566, -0.5836760997772217, 0.2971768379211426, -0.8019534945487976, -0.27432817220687866, 0.008208630606532097, 0.6455344557762146, 0.5401180982589722, -0.45667269825935364, -0.18157939612865448, -0.8217180371284485, 1.0391802787780762, -0.4852311313152313, 0.04693487659096718, 0.3598625957965851, 0.10189899802207947, -0.36015525460243225, 0.019897950813174248, -0.7196808457374573, 0.03496222198009491, -0.029687980189919472, 0.006812329404056072, -0.017354760318994522, 0.231512650847435, 0.018078146502375603, 0.3484790325164795, -0.25421714782714844, 0.6096551418304443, 0.13440938293933868, 0.16120180487632751, 0.6083166003227234, -0.005248145200312138, 0.06022801995277405, -0.0844251960515976, -0.7269880175590515, -0.12903659045696259, -0.5498113036155701, 0.28624293208122253, 0.7697356343269348, 0.23490434885025024, 0.3370206952095032, 0.34668466448783875, -0.3992810547351837, 1.000099778175354, 0.7066167593002319, -0.1027248278260231, 0.11371908336877823, 0.009471901692450047, -0.1375247687101364, 0.3117966651916504, 0.8544038534164429, 0.6673149466514587, 0.259255975484848, -0.053861215710639954, -0.18044613301753998, 0.12314401566982269, 0.2367541790008545, -0.703008234500885, 0.21335771679878235, 0.32394248247146606, -0.0819835439324379, -0.528167724609375, -0.06507012248039246, -0.9474998116493225, -0.2755429744720459, -0.44090965390205383, 0.19425147771835327, -0.3566801846027374, -0.20477820932865143, 0.5422394275665283, -0.12631474435329437, -0.10146275907754898, 0.1380118876695633, -1.479637622833252, 0.3755466938018799, 1.0631730556488037, 0.6665067672729492, -0.4539581537246704, -0.17771025002002716, -0.6157550811767578, 0.13551144301891327, -0.3675333857536316, 0.6912915706634521, -0.9318683743476868, -0.572457492351532, -0.020154885947704315, -0.20001816749572754, 0.11433570086956024, -0.4373159408569336, 1.0640783309936523, -0.5852953195571899, 0.20722484588623047, -0.4365578889846802, -0.5874438285827637, 0.16857856512069702, -0.027573777362704277, -0.5773255228996277, 0.9859933853149414, -0.1357390433549881, -0.8472844362258911, 0.6387673020362854, -0.4044102132320404, -0.23672521114349365, -0.2286238968372345, -0.2241581231355667, -0.27640199661254883, 0.23438800871372223, 0.15856918692588806, 0.07039094716310501, -0.0798402950167656, 0.2684592604637146, -0.5835615992546082, -0.5312729477882385, 0.10012282431125641, 0.05214862897992134, 0.6075543761253357, 0.1973303258419037, -0.4253401458263397, 0.18240338563919067, -0.8775275349617004, -0.17468804121017456, 0.15695567429065704, -0.3348207473754883, -1.0726983547210693, 0.3670080006122589, -0.5799635052680969, 0.12297871708869934, 0.26563024520874023, -0.8195362687110901, 0.6458038091659546, -0.5894415974617004, 0.37763383984565735, 1.2138720750808716, -0.18126173317432404, 0.8346818089485168, -0.2797180414199829, 0.2307555228471756, -0.2226390540599823, 0.18903212249279022, 0.38328465819358826, -0.18971210718154907, -0.5554381608963013, -0.32614314556121826, 0.07124704122543335, 0.37920817732810974, -0.3792145848274231, 1.1468549966812134, -0.3704782724380493, -0.1483229547739029, -0.3503933250904083, 0.038371000438928604, 0.37376412749290466, 0.8837984800338745, 0.15912580490112305, -0.26646825671195984, -0.3772856891155243, -1.0796778202056885, -0.027574962005019188, -0.057403385639190674, 0.06696709990501404, 0.39505690336227417, 0.007766544818878174, 0.1447821855545044, 1.0758663415908813, -0.9983513355255127, -0.1340792030096054, 0.1069640964269638, -0.15988382697105408, 0.26576995849609375, 0.5116519331932068, 0.6304500102996826, -0.98477703332901, -0.7085037231445312, 0.02172970585525036, -0.18316581845283508, -0.1882646083831787, 0.2065119445323944, -0.6746580004692078, 0.13983559608459473, -0.0996294692158699, -0.23453514277935028, -0.08887677639722824, 0.6145000457763672, -0.15777716040611267, 0.23321615159511566, -0.2089054435491562, 0.06728557497262955, -0.8354132771492004, 0.25274017453193665, -0.21106292307376862, 0.15792527794837952, -0.6857113838195801, -0.2041158378124237, 0.1595388650894165, -0.030631348490715027, -0.2612270414829254, 0.7317410111427307, -0.31182393431663513, 0.2449624240398407, -0.49720999598503113, 0.02116304822266102, 0.11693970113992691, 0.5166054368019104, 0.4281798303127289, 0.6076523065567017, 0.4927900433540344, -0.777883768081665, 0.26620346307754517, 0.33995044231414795, -0.048863109201192856, 0.6391417980194092, -0.6814684271812439, 0.6331888437271118, -0.17781801521778107, 0.00449217576533556, -1.221386194229126, -0.10355837643146515, 0.30128589272499084, -0.0812937542796135, 0.48477041721343994, -0.22426271438598633, -0.07567092031240463, -0.38725852966308594, -0.5803734660148621, 0.5013704895973206, 0.3657386600971222, -0.5985148549079895, 0.01105646975338459, 0.3293660581111908, -0.07422856241464615, -1.1707926988601685, -0.0834730714559555, -0.5166991949081421, -0.30497369170188904, -0.42164087295532227, 0.6189754009246826, -0.05001353099942207, -0.25500932335853577, -0.20353877544403076, -0.4410681426525116, 0.03808482363820076, 0.07806918770074844, 0.16170500218868256, 0.2698238492012024, 0.18455004692077637, 0.2510109543800354, 0.2282847911119461, -0.3496164083480835, -0.37568196654319763, -0.27334925532341003, 0.7360477447509766, 0.29276618361473083, -0.13010179996490479, -0.10239503532648087, 0.466285765171051, 0.336042582988739, -0.18547144532203674, 0.3605818748474121, -0.024039587005972862, -0.13704383373260498, 0.002354951575398445, -0.45943331718444824, -0.10382096469402313, -0.5454828143119812, 0.1650628298521042, -0.4703156054019928, -0.4737261235713959, 0.16786639392375946, 0.07518523931503296, 0.10580376535654068, 0.2853569984436035, 0.23610630631446838, 0.1774955838918686, 1.0814626216888428, 0.7633731961250305, -0.3641887903213501, 0.8345863223075867, 0.21841447055339813, -0.15871742367744446, -0.7581215500831604, 0.23829708993434906, -0.6746587753295898, -0.736344575881958, -0.68759685754776, -0.010270192287862301, 0.03290018066763878, 0.18064287304878235, -0.448538601398468, 0.21542897820472717, -0.8958930969238281, 0.4979918897151947, 0.8124228715896606, 0.2746013104915619, 0.46770790219306946, 0.06572167575359344, -0.15479132533073425, -0.14607486128807068, -0.4231986403465271, -0.4764837324619293, 0.9646754264831543, 0.18968698382377625, 0.6665802001953125, -0.05354183539748192, 0.7902923822402954, 0.09445959329605103, -0.0840054452419281, -0.8753580451011658, 0.2839595675468445, -0.4630265533924103, -0.6810879707336426, -0.529956042766571, -0.36208173632621765, -0.9631584286689758, 0.15764576196670532, 0.05328288674354553, -0.7461963295936584, 0.7935873866081238, 0.326236754655838, -0.42542803287506104, 0.15424321591854095, -0.7217267751693726, 0.7824645042419434, -0.5277913808822632, -0.6636815071105957, -0.020941050723195076, -0.6785564422607422, 0.05433998629450798, 0.083378866314888, 0.06826909631490707, -0.5270777940750122, -0.41099560260772705, 0.34627413749694824, -0.16948118805885315, 0.731826901435852, -0.3286258280277252, -0.0965699777007103, -0.15969917178153992, 0.07222320139408112, 0.669775664806366, -0.05471547320485115, -0.5375216603279114, -0.13390429317951202, -0.2140299677848816, -0.5391092300415039, -0.47737306356430054, 0.9570571780204773, -0.9488803744316101, -0.7642613053321838, -0.4101420044898987, -0.3428247272968292, -0.4363272488117218, 0.42144107818603516, 0.18340373039245605, -0.12388195842504501, -0.2894992530345917, -0.30953940749168396, 0.44151124358177185, -0.27689215540885925, 0.44635969400405884, 0.5712769031524658, 0.062103353440761566, -0.5577986240386963, 0.5439628958702087, -0.2447713166475296, 0.7012231945991516, 0.8430228233337402, 0.6161900162696838, -0.2230074405670166, -0.3942611515522003, -0.5684147477149963, 0.1213311031460762, -0.3954976201057434, -0.034277915954589844, -0.3866844177246094, 0.4738200604915619, -0.3380483090877533, -0.3783084452152252, -0.513918399810791, -0.4167816936969757, -0.04938158020377159, -0.004776217509061098, 0.29160982370376587, 0.24075879156589508, -0.10730142891407013, 0.16700415313243866, -0.32785332202911377, 0.4150254428386688, 0.4915028512477875, 0.7251042723655701, -0.25445568561553955, -0.31170913577079773, 0.3075510859489441, 0.315768301486969, -0.517275869846344, -0.796242356300354, 0.275166779756546, 0.18246546387672424, 0.6534991264343262, 0.6832612156867981, 0.5230587720870972, 0.6484443545341492, -0.5423547625541687, 0.26038116216659546, 0.24285627901554108, -0.8592742085456848, 0.728234589099884, -0.42915835976600647, 0.1036650687456131, 0.8782588243484497, 0.8590457439422607, -0.5476080775260925, 0.06965047866106033, -0.2609294056892395, -0.8442668914794922, 0.7631915807723999, 0.009576194919645786, 0.32523617148399353, -0.08900322765111923, 0.5740108489990234, 0.4879020154476166, 0.2964794337749481, -0.3975038528442383, -0.4015670120716095, -0.10724015533924103, 0.08606335520744324, -0.10482914000749588, -0.43013861775398254, -0.3978780508041382, -0.016799377277493477, 0.46424558758735657, -0.17880398035049438, 0.22502748668193817, 0.17937138676643372, 0.29677075147628784, -0.5129916667938232, 0.2720966339111328, 0.7156534790992737, 0.5617643594741821, -0.7673385739326477, 0.008920724503695965, -0.32024818658828735, -0.4530002474784851, 0.37180450558662415, 0.25587546825408936, -0.32924753427505493, -0.26644134521484375, -0.12809540331363678, 0.9402317404747009, 0.07896044850349426, -0.42281168699264526, 0.4125842750072479, 0.05802811682224274, 0.015312687493860722, 0.1873479187488556, 0.09057644009590149, -0.24618668854236603, -0.17939746379852295, 0.3401297926902771, -0.027042288333177567, 0.267342209815979, -0.5520050525665283, 0.02962832897901535, 0.49702689051628113, -0.5415180325508118, -0.1907288283109665, 0.5065843462944031, 0.5496532320976257, -0.3160477876663208, 0.26262611150741577, -0.008888736367225647, -0.35150009393692017, 0.6259164810180664, 0.4558672606945038, 0.7710450291633606, -0.2907838225364685, -0.01911771111190319, 0.45897161960601807, -0.10211870819330215, -0.00909356027841568, 0.0023986867163330317, -0.14689026772975922, -1.0864273309707642, -0.45066457986831665, -0.6348264813423157, -0.5313562750816345, -0.09239540249109268, -0.8793403506278992, 0.49157291650772095, -0.480160117149353, -0.16214509308338165, 0.3157716691493988, 0.06737308949232101, -0.4805105924606323, 0.10449955612421036, -0.0384889617562294, 0.6273960471153259, -0.7364283800125122, 0.8299633860588074, 0.8113489151000977, -0.12642523646354675, -0.44714829325675964, 0.15760347247123718, -0.13188664615154266, -1.236879825592041, 0.7070056200027466, 0.08907688409090042, -0.05762511119246483, -0.006149818189442158, -0.08211830258369446, -0.891097903251648, 0.7051628828048706, 0.5298358201980591, -0.8270268440246582, -0.0062990374863147736, 0.06926614046096802, 0.4224204123020172, -0.23631422221660614, 0.1307380050420761, 0.660473644733429, 0.35340332984924316, 0.29807424545288086, -1.0726826190948486, 0.19374899566173553, 0.06421453505754471, 0.07371930032968521, 0.5632825493812561, -0.861043393611908, 0.5135019421577454, -0.11010684072971344, -0.10651935636997223, -0.044892873615026474, 0.03559653088450432, 0.16296659409999847, 0.002547199372202158, 0.8134651780128479, 0.5224508047103882, 0.45482712984085083, -0.13267460465431213, 1.1422275304794312, -0.27426448464393616, 0.24580518901348114, 1.1979408264160156, -0.4529081881046295, 0.8146257996559143, 0.8161258697509766, -0.28138136863708496, 0.05909425765275955, 0.7795935273170471, 0.3607887625694275, 1.0075827836990356, 0.17496086657047272, -0.14412271976470947, -0.1651625633239746, -0.16253423690795898, -0.42257246375083923, 0.5182138681411743, -0.01199520006775856, -0.3403036594390869, 0.05063266307115555, -0.22616584599018097, -0.01779671013355255, 0.37462544441223145, -0.19960002601146698, 0.9829798340797424, -0.20952416956424713, -1.1751030683517456, 0.7648116946220398, -0.24874147772789001, 0.8181759715080261, -0.5566401481628418, 0.15584571659564972, -0.5037335157394409, 0.4827473759651184, -0.1196569874882698, -0.7654867172241211, 0.2530195415019989, -0.332283079624176, -0.22471140325069427, -0.3130291998386383, 0.512019693851471, -0.20858493447303772, -0.3049874007701874, 0.45060423016548157, -0.07189740240573883, -0.44051605463027954, -0.18237124383449554, -0.4000493586063385, 0.07628321647644043, 0.04194300249218941, -0.27208736538887024, 0.40236279368400574, 0.5081962943077087, 0.19078688323497772, 0.4828520119190216, 0.5574796795845032, 0.21951083838939667, -0.18636269867420197, -0.1798919141292572, 0.9342028498649597, -0.3030707538127899, -0.6029183864593506, -1.1097078323364258, 0.4114479720592499, -0.2085610181093216, -0.4813637435436249, 0.5220098495483398, 0.556588888168335, 0.6881917119026184, -0.08269047737121582, 0.630321741104126, -0.10299164801836014, 0.4698004722595215, -0.33647310733795166, 0.053274936974048615, -0.5777818560600281, 0.18549489974975586, -0.5951681137084961, -1.0556607246398926, -0.303548663854599, 0.7127846479415894, -0.7636013031005859, -0.27976199984550476, 0.3531222939491272, 0.5702155828475952, 0.0052886041812598705, -0.2502712607383728, 0.25589850544929504, -0.19676272571086884, 0.20912115275859833, 0.6904932856559753, 0.6266463398933411, -0.0051878285594284534, 0.45723581314086914, -0.7125442624092102, -0.5560238361358643, -0.3214598000049591, -1.2007501125335693, -0.5169528722763062, -0.20583364367485046, -0.10929641127586365, -0.042512789368629456, 0.16635729372501373, 0.9209578633308411, 0.7243577837944031, -0.6989007592201233, -0.1629224717617035, -0.3204149007797241, 0.3332644999027252, -0.430278480052948, -0.15407994389533997, 0.2440844178199768, -0.2752985954284668, -1.345451831817627, -0.0057412972673773766, 0.3239924907684326, 0.07812675833702087, 0.05424991250038147, -0.09754963219165802, -0.2490241378545761, -0.015843698754906654, 0.2499019056558609, 0.39700847864151, -0.6234601736068726, -0.5356701612472534, 0.26343879103660583, -0.12272252142429352, 0.41112667322158813, 0.7068695425987244, -0.3238146901130676, 0.90630704164505, 0.4742739796638489, 0.4513523280620575, 0.4059600234031677, 0.27760979533195496, 1.0082262754440308, -0.9344555735588074, 0.5310052037239075, 0.29529881477355957, 0.15372183918952942, 0.10155344754457474, -0.5845065712928772, 0.36192357540130615, 0.10689418762922287, -0.6314708590507507, -0.6248129606246948, 0.49494218826293945, -1.2218830585479736, -0.2507219910621643, 1.3883670568466187, 0.03334985300898552, 0.059531453996896744, 0.2039247453212738, -0.48852723836898804, 0.12217658013105392, -0.851395845413208, 1.051939606666565, 0.5946424603462219, -0.3017849922180176, 0.2692823112010956, -0.19670966267585754, 0.6121611595153809, 0.6256624460220337, -0.43631356954574585, 0.04908030107617378, 0.45269110798835754, 0.38454967737197876, 0.2401096671819687, 0.5896008610725403, 0.2032255381345749, -0.0011332165449857712, -0.10614214092493057, 0.1189296618103981, -0.1339138299226761, 0.10232015699148178, -0.36717766523361206, 0.01754811406135559, 0.3118865191936493, -0.8031879663467407 ]
http://arxiv.org/abs/2402.10567v4
http://arxiv.org/pdf/2402.10567v4
InSaAF: Incorporating Safety through Accuracy and Fairness | Are LLMs ready for the Indian Legal Domain?
2024-02-16T10:54:10
2024-06-17T17:46:07
Yogesh Tripathi, Raghav Donakanti, Sahil Girhepuje, Ishan Kavathekar, Bhaskara Hanuma Vedula, Gokul S Krishnan, Shreya Goyal, Anmol Goel, Balaraman Ravindran, Ponnurangam Kumaraguru
cs.CL
cs.CL, cs.AI
Recent advancements in language technology and Artificial Intelligence have resulted in numerous Language Models being proposed to perform various tasks in the legal domain ranging from predicting judgments to generating summaries. Despite their immense potential, these models have been proven to learn and exhibit societal biases and make unfair predictions. In this study, we explore the ability of Large Language Models (LLMs) to perform legal tasks in the Indian landscape when social factors are involved. We present a novel metric, $\beta$-weighted $\textit{Legal Safety Score ($LSS_{\beta}$)}$, which encapsulates both the fairness and accuracy aspects of the LLM. We assess LLMs' safety by considering its performance in the $\textit{Binary Statutory Reasoning}$ task and its fairness exhibition with respect to various axes of disparities in the Indian society. Task performance and fairness scores of LLaMA and LLaMA--2 models indicate that the proposed $LSS_{\beta}$ metric can effectively determine the readiness of a model for safe usage in the legal sector. We also propose finetuning pipelines, utilising specialised legal datasets, as a potential method to mitigate bias and improve model safety. The finetuning procedures on LLaMA and LLaMA--2 models increase the $LSS_{\beta}$, improving their usability in the Indian legal domain. Our code is publicly released.
[ 0.08105476200580597, -0.5355042815208435, 0.4876440465450287, 0.3218128979206085, -0.49505239725112915, 0.11421661078929901, -0.0601874440908432, -0.5631276369094849, -0.19155269861221313, 0.3995359539985657, 0.08665762096643448, -0.5613676309585571, -0.7541062235832214, -0.02561958320438862, -0.7532317042350769, 0.8721128106117249, 0.18202458322048187, 0.2017948031425476, -0.3353663980960846, -0.33325833082199097, -0.6141029000282288, -0.7487532496452332, -0.4740765392780304, -0.3476831316947937, 0.06212267279624939, 0.11051362007856369, 0.7812619209289551, 0.7645936012268066, 0.5594948530197144, 0.2734907269477844, -0.18761484324932098, -0.2089412808418274, -0.19888605177402496, 0.23300234973430634, -0.30096885561943054, -0.7237909436225891, -0.4376288652420044, -0.01765885204076767, 0.7145989537239075, 0.4558297395706177, -0.6227155327796936, 0.1747579127550125, 0.038096390664577484, 0.5158618688583374, -0.6978120803833008, 0.3109531104564667, -0.7115404605865479, -0.08120870590209961, -0.37501102685928345, 0.050656482577323914, -0.2692145109176636, -0.5827022790908813, -0.355548620223999, -0.2457669973373413, -0.2374207228422165, 0.3763507604598999, 0.837300717830658, 0.685344398021698, -0.558840811252594, -0.41233739256858826, -0.460772842168808, 0.6650063395500183, -0.9102292656898499, 0.22327858209609985, 0.46011361479759216, 0.6120983362197876, -0.16145092248916626, -0.5944694876670837, -0.5001394152641296, -0.2619435787200928, 0.08570206165313721, -0.14066381752490997, 0.04494389146566391, 0.03473373129963875, 0.29041481018066406, 0.1056155115365982, 0.004857468418776989, 0.4276443421840668, -0.4060676693916321, -0.29738134145736694, 0.9773995280265808, 0.3267183005809784, 0.29207950830459595, -0.2527366578578949, -0.022905927151441574, 0.11439088732004166, -0.8751990795135498, 0.21284113824367523, 0.5638774037361145, 0.46729522943496704, -0.4713677763938904, 0.6361995935440063, -0.18102949857711792, 0.35333117842674255, -0.024285629391670227, -0.4312645196914673, 0.2133479118347168, -0.05909018963575363, -0.29436352849006653, 0.29299360513687134, 0.6943065524101257, 0.38062116503715515, 0.6417433023452759, -0.03817174956202507, -0.49309417605400085, 0.176508828997612, 0.028264086693525314, -0.7183921337127686, 0.4371755123138428, 0.1441245675086975, -0.6600298285484314, -0.45461398363113403, -0.1744888871908188, -0.4965168237686157, -0.6483505368232727, -0.5089575052261353, 0.2536464333534241, -0.16117998957633972, -0.2827877998352051, 0.024120835587382317, 0.29009294509887695, 0.6671485304832458, 0.11740399897098541, -0.7730496525764465, 0.2496282011270523, 1.004859447479248, 0.6937661170959473, 0.20448246598243713, 0.11389981210231781, -0.8864725232124329, 0.29896435141563416, -0.27740588784217834, 0.5879738330841064, -0.6209432482719421, -0.5374040007591248, 0.30956345796585083, -0.275979220867157, 0.29893526434898376, -0.32335615158081055, 0.6244229078292847, -0.5613601803779602, -0.4029186964035034, -0.30932947993278503, -0.4254322052001953, -0.2887493968009949, 0.22479240596294403, -0.22049762308597565, 0.611701250076294, -0.2627967596054077, -0.6980680227279663, 0.8322198987007141, -0.6959243416786194, -0.6552864909172058, 0.08996985852718353, -0.49843841791152954, -0.2941622734069824, -0.05001640319824219, 0.06660399585962296, 0.5575860738754272, -0.38138604164123535, 0.6250033974647522, -0.6930198073387146, -0.5689918994903564, 0.2248685657978058, -0.46927735209465027, 1.0296401977539062, 0.4476207494735718, -0.24082934856414795, 0.06900057941675186, -0.6023698449134827, -0.11208034306764603, -0.21106784045696259, -0.40118440985679626, -0.3409980833530426, 0.0970919132232666, -0.09517161548137665, 0.4332788288593292, 0.08779889345169067, -0.6479751467704773, -0.44954222440719604, -0.3727993965148926, 0.4559735059738159, 1.0903671979904175, -0.19476884603500366, 0.5397297739982605, -0.1843932867050171, 0.512143611907959, -0.24788334965705872, 0.3720783293247223, 0.38574832677841187, -0.44180187582969666, -0.5773935914039612, -0.3713390827178955, 0.7511069178581238, 0.771792471408844, -0.23074379563331604, 0.2549505829811096, -0.39612144231796265, -0.30895915627479553, -0.6689717173576355, 0.10092762112617493, 0.4822310209274292, 0.35612741112709045, -0.2737594544887543, -0.20914839208126068, -0.25770696997642517, -0.8047439455986023, -0.41148480772972107, -0.24207067489624023, 0.18232333660125732, 0.06847959756851196, 0.4579082727432251, -0.11356573551893234, 0.9770624041557312, -0.021836010739207268, -0.33405229449272156, 0.09461187571287155, -0.21067014336585999, 0.18268842995166779, 0.33229273557662964, 0.5520989298820496, -0.9420561790466309, -0.4879474639892578, 0.015925375744700432, -1.2485716342926025, -0.2120642066001892, 0.2836343050003052, -0.07682865858078003, 0.37042853236198425, 0.7187231779098511, -0.5684674382209778, 0.5500739812850952, 0.07265856862068176, -0.5170855522155762, 0.33711037039756775, -0.176717609167099, 0.13970766961574554, -0.883841335773468, -0.18148748576641083, 0.1353573203086853, -0.41081419587135315, -0.3159875273704529, 0.47723710536956787, 0.05665306746959686, 0.007684832438826561, -0.9369168281555176, 0.7227789759635925, -0.20397977530956268, -0.25068017840385437, -0.30284199118614197, -0.030067643150687218, -0.5729175806045532, 0.16249732673168182, -0.3941732943058014, 0.7571143507957458, 0.8066027760505676, -0.5733602643013, -0.0639786422252655, 0.0575619637966156, -0.19030159711837769, 0.9374701380729675, -0.6638732552528381, -0.01562623120844364, -0.3517613708972931, -0.0980663001537323, -0.4248623847961426, -0.46376755833625793, 0.1921827644109726, -0.27905458211898804, 0.25247469544410706, -0.3364403247833252, -0.755787193775177, -0.07840325683355331, -0.09977087378501892, 0.20290814340114594, 0.9220322370529175, -0.22626742720603943, 0.8925667405128479, 0.9948703646659851, -0.1008579209446907, -0.9491800665855408, -0.9352965354919434, 0.03380243480205536, -0.5885370969772339, -0.6815252900123596, -0.24922089278697968, 0.11229652166366577, -0.8343178033828735, 0.01263485662639141, 0.010239815339446068, 0.0713878944516182, 0.08167300373315811, 0.8890952467918396, 0.17238502204418182, 0.23367641866207123, 0.0481276698410511, 0.30402296781539917, -0.13683810830116272, 0.32293346524238586, 0.249730184674263, 0.20505402982234955, -0.3410179316997528, -0.5625742673873901, -0.23796547949314117, 0.3214079737663269, 0.5551976561546326, -0.2081308513879776, 0.6041857004165649, 0.3310602009296417, -0.7658592462539673, 0.12337537854909897, -0.7099067568778992, 0.119283027946949, -0.5311873555183411, 0.10987787693738937, -0.13237054646015167, -0.9943516850471497, 0.5579227209091187, 0.09107725322246552, 0.35253313183784485, 0.4227549731731415, 0.6698391437530518, -0.09153290092945099, 0.9461519718170166, 0.8737930655479431, 0.06037890911102295, 0.1611558049917221, 0.21515247225761414, 0.4957105219364166, -0.44458550214767456, -0.40977343916893005, -0.6804447174072266, -0.037368785589933395, -0.7712187767028809, -0.21114903688430786, 0.5928956270217896, -0.05772178992629051, -0.6482360363006592, -0.20588144659996033, -0.24770523607730865, 0.6408281326293945, 0.5427625179290771, 0.03430531173944473, 0.3983490467071533, 0.21792441606521606, -0.19051791727542877, 0.007793148048222065, -0.3734075725078583, -0.9186321496963501, 1.347712516784668, 0.4770814776420593, 0.8100277781486511, 0.0874147117137909, 0.7379247546195984, 0.5896385908126831, 0.6437311172485352, -0.5263035893440247, 0.7843246459960938, -0.4874916076660156, -0.7969894409179688, -0.1920391321182251, -0.19318094849586487, -0.5648483037948608, 0.1312519758939743, -0.44272473454475403, -0.46600618958473206, 0.1597154289484024, 0.1250496208667755, -0.49758583307266235, 0.29186660051345825, -0.6336643099784851, 0.3046981990337372, -0.3483963906764984, -0.396541029214859, -0.5471869111061096, -0.7630947232246399, 0.6198896169662476, -0.30482059717178345, 0.7561036348342896, -0.5876521468162537, -0.07523421943187714, 0.6783753633499146, -0.5584522485733032, 0.8561570644378662, -0.3798845708370209, 0.08516116440296173, 0.5622893571853638, 0.14501823484897614, 0.33947888016700745, 0.2762787640094757, -0.5040161609649658, 0.4232528507709503, -0.012113412842154503, -0.32491153478622437, -0.23889696598052979, 0.8158063292503357, -0.6133288145065308, -0.6930097341537476, -0.8123944997787476, -0.5823436975479126, -0.17943669855594635, 0.22003485262393951, -0.26185959577560425, 0.06996528804302216, 0.21610739827156067, 0.05128440260887146, 0.49294358491897583, 0.019622087478637695, 0.7547986507415771, 0.5048031210899353, -0.029915930703282356, -0.05320267379283905, 0.5012492537498474, 0.16640321910381317, -0.02008247748017311, -0.08004069328308105, -0.030407341197133064, -0.6868454217910767, -0.7818353772163391, -0.23396429419517517, 0.2225319743156433, -1.0785444974899292, -0.4502016007900238, -0.6082815527915955, -0.37890034914016724, -0.17033696174621582, -0.1869734674692154, -0.0748024731874466, -0.22438956797122955, 0.13511377573013306, -0.141241192817688, 0.43521052598953247, 0.8123620748519897, -0.3575025796890259, 0.06810135394334793, -0.672538697719574, 0.0428072065114975, 0.43998685479164124, 0.6721404194831848, -0.12403351813554764, -0.5991685390472412, 0.09976121783256531, 0.03917369619011879, 0.0858081579208374, -0.2391130030155182, 0.13818643987178802, -0.19944319128990173, 0.6619081497192383, 0.15814395248889923, 0.02906016819179058, 0.3654027581214905, -0.5699513554573059, 0.5213857889175415, 0.1926548033952713, -0.8642295002937317, 0.3532542884349823, -0.3263128101825714, -0.21800827980041504, 0.5844653844833374, 0.2144508957862854, -0.16648058593273163, -0.5040884017944336, -0.17232029139995575, -0.7556829452514648, 0.3151753544807434, 0.23485028743743896, 0.45847269892692566, 0.11800286918878555, 0.6380274891853333, 0.18896260857582092, 0.18245038390159607, -0.7759875655174255, 0.21190975606441498, 0.10392056405544281, -0.39059895277023315, 0.32518234848976135, -0.1167210042476654, -0.17998719215393066, -0.1776341199874878, 0.5612960457801819, 0.05563421547412872, -0.1928642988204956, -0.15538832545280457, -0.1581987887620926, -0.05610625073313713, 0.4199061393737793, 0.26159635186195374, 0.7425661087036133, -0.1392235904932022, -0.12396837025880814, 0.3321020007133484, -0.5928734540939331, 0.4451631009578705, 0.09182381629943848, -0.3274640738964081, -0.367655485868454, 0.05596347898244858, 0.34517866373062134, -0.08201585710048676, -0.8020486235618591, 0.44987526535987854, -0.1388287991285324, 0.00708769541233778, -0.5120515823364258, 0.25632649660110474, -0.009536746889352798, 0.462027907371521, 0.3042321503162384, 0.26604384183883667, 0.13795875012874603, -0.46159520745277405, 0.004734822083264589, 0.5020155906677246, -0.3697487711906433, 0.2312328815460205, 1.0841025114059448, 0.44037503004074097, -0.5336494445800781, 0.457194447517395, -0.2873513400554657, -0.06980922818183899, 0.5643555521965027, 0.10964999347925186, 0.6276207566261292, 0.15037788450717926, -0.1941617876291275, 0.1692771017551422, 0.37008532881736755, -0.3336798846721649, 0.17314413189888, 0.3009395897388458, -0.3679613471031189, -0.4799128770828247, -0.9484699964523315, -0.12166242301464081, -0.3264400362968445, -0.1849685162305832, 0.38775211572647095, -0.7182515859603882, -0.426234632730484, -0.4216953217983246, -0.24257926642894745, -0.7230120897293091, 0.29353538155555725, 0.3056505024433136, 0.9222861528396606, -0.8771592378616333, 0.5755773782730103, 0.4960099458694458, -0.5251309871673584, -0.8664512634277344, 0.03399033099412918, 0.13061539828777313, -0.739856481552124, 0.6142232418060303, 0.006364172324538231, -0.26982954144477844, -0.42936187982559204, -0.6215906143188477, -0.7308822870254517, 1.10919189453125, 0.7237313389778137, -0.8007614612579346, -0.03965235874056816, 0.3889685571193695, 0.5478765368461609, -0.386368989944458, 0.002437006216496229, 0.6705325841903687, 0.28755298256874084, -0.20877262949943542, -1.1056026220321655, 0.2587586045265198, -0.17497912049293518, 0.12781472504138947, -0.03295254334807396, -0.7356299757957458, 0.6958407759666443, -0.4017583131790161, -0.08830083906650543, -0.2097688764333725, 0.6997358798980713, 0.656668484210968, 0.43452998995780945, 0.7193945050239563, 0.506244957447052, 0.811115026473999, -0.1783902943134308, 1.3719301223754883, -0.22019754350185394, 0.0019394556293264031, 0.7835403084754944, -0.5532392263412476, 0.8028119802474976, 0.42553645372390747, -0.18663428723812103, 0.31059157848358154, 0.5743012428283691, 0.30507925152778625, 0.43410709500312805, 0.21911925077438354, -0.13321994245052338, -0.48786646127700806, -0.27324384450912476, -0.30381718277931213, 0.6558763980865479, 0.3608487546443939, -0.06964915245771408, -0.02351839281618595, -0.021092483773827553, 0.1912572681903839, 0.4297338128089905, -0.6254125833511353, 0.43570640683174133, 0.49381500482559204, -0.509358286857605, 0.16374006867408752, 0.12940388917922974, 0.9718160033226013, -0.3711594045162201, -0.04553782939910889, -0.23645998537540436, 0.12725065648555756, -0.18615274131298065, -1.2196145057678223, 0.3774203360080719, 0.274223268032074, 0.01805284433066845, -0.030719462782144547, 0.8406690359115601, -0.09346699714660645, -0.6931698322296143, 0.3313097357749939, 0.3381466865539551, 0.19845229387283325, 0.251679927110672, -0.5775875449180603, 0.1302964836359024, -0.410396009683609, 0.3856090307235718, 0.44225138425827026, 0.3840380609035492, -0.553992509841919, 0.963572084903717, 0.4487510919570923, 0.09632258117198944, 0.3650801181793213, 0.1927247941493988, 0.4860728681087494, -0.41324105858802795, -0.7987207174301147, -0.8181636929512024, 0.6384756565093994, -0.30141356587409973, 0.05452900752425194, 0.4615858197212219, 0.2985791265964508, 0.6620897650718689, 0.04453624412417412, 0.7858403325080872, -0.2520117163658142, 0.3237302005290985, -0.6296688914299011, 1.1668809652328491, -0.4810203015804291, 0.41743236780166626, -0.08617924153804779, -0.8208236694335938, -0.3017875552177429, 0.1725877970457077, -0.2290172129869461, 0.22545188665390015, 0.28411200642585754, 0.914095401763916, -0.14248134195804596, -0.048565030097961426, 0.18587101995944977, -0.016722919419407845, 0.35755518078804016, 0.4025864601135254, 0.625430703163147, -0.3044234812259674, 0.6849969029426575, -0.06973954290151596, -0.2307741343975067, -0.1414669007062912, -1.105697751045227, -0.9020347595214844, -0.13545802235603333, -0.22028443217277527, -0.4126319885253906, 0.4275265038013458, 0.9266891479492188, 0.944115400314331, -0.832834780216217, -0.4129662811756134, 0.19582797586917877, 0.06820185482501984, 0.3572019636631012, -0.16709169745445251, 0.21844938397407532, -0.29397669434547424, -0.5339248776435852, -0.10553781688213348, 0.3377373516559601, -0.033645760267972946, -0.13905936479568481, -0.3868073523044586, -0.2050926238298416, 0.2488846778869629, 0.6602911949157715, 0.23865492641925812, -0.6671019792556763, -0.4288395345211029, -0.5178820490837097, -0.19372013211250305, -0.17695504426956177, 0.5698165893554688, -0.4491956830024719, 0.25531238317489624, 0.2711027264595032, 0.604049026966095, 0.21405036747455597, -0.20974436402320862, 0.4586581289768219, -0.5444113612174988, 0.44464775919914246, 0.17561495304107666, 0.6544124484062195, 0.5456402897834778, -0.5396199226379395, 0.750120222568512, -0.02186514623463154, -0.6235830187797546, -0.9454723000526428, -0.05067562684416771, -0.7042580246925354, -0.031801629811525345, 1.2804213762283325, 0.05167485028505325, -0.3017370402812958, -0.10781881958246231, 0.02296227589249611, 0.43603262305259705, -0.5304936766624451, 0.991797924041748, 0.5889011025428772, 0.11968636512756348, 0.19832782447338104, -0.7283498048782349, 0.5323140025138855, 0.29873642325401306, -0.85821932554245, -0.23405520617961884, 0.427705854177475, 0.7389832139015198, -0.05800045281648636, 0.7781868577003479, -0.528260350227356, 0.5088995099067688, -0.08553474396467209, -0.17989440262317657, -0.09998686611652374, -0.06787682324647903, -0.4657609462738037, 0.2634970545768738, 0.2689523696899414, -0.002869422547519207 ]
http://arxiv.org/abs/2402.10558v1
http://arxiv.org/pdf/2402.10558v1
Neural paraphrasing by automatically crawled and aligned sentence pairs
2024-02-16T10:40:38
2024-02-16T10:40:38
Achille Globo, Antonio Trevisi, Andrea Zugarini, Leonardo Rigutini, Marco Maggini, Stefano Melacci
cs.CL
cs.CL
Paraphrasing is the task of re-writing an input text using other words, without altering the meaning of the original content. Conversational systems can exploit automatic paraphrasing to make the conversation more natural, e.g., talking about a certain topic using different paraphrases in different time instants. Recently, the task of automatically generating paraphrases has been approached in the context of Natural Language Generation (NLG). While many existing systems simply consist in rule-based models, the recent success of the Deep Neural Networks in several NLG tasks naturally suggests the possibility of exploiting such networks for generating paraphrases. However, the main obstacle toward neural-network-based paraphrasing is the lack of large datasets with aligned pairs of sentences and paraphrases, that are needed to efficiently train the neural models. In this paper we present a method for the automatic generation of large aligned corpora, that is based on the assumption that news and blog websites talk about the same events using different narrative styles. We propose a similarity search procedure with linguistic constraints that, given a reference sentence, is able to locate the most similar candidate paraphrases out from millions of indexed sentences. The data generation process is evaluated in the case of the Italian language, performing experiments using pointer-based deep neural architectures.
[ -0.149672731757164, -0.650230348110199, 0.6120368838310242, 0.17998823523521423, -0.48155122995376587, -0.23544621467590332, -0.11882302165031433, -0.08440110832452774, 0.4533439874649048, 0.479169636964798, -0.5335997343063354, -0.598917543888092, -0.14190468192100525, 0.3238334059715271, -0.7293046712875366, 0.9759092926979065, -0.04405168816447258, 0.03881479427218437, -0.3787049353122711, -0.1795131415128708, -0.1304098516702652, -0.3361193835735321, -0.5520408749580383, -0.11069342494010925, 0.4921126663684845, 0.09389811009168625, 0.8841294050216675, 0.9448482394218445, 0.6278538107872009, 0.31374236941337585, -0.0512395054101944, 0.3797180950641632, -0.17035658657550812, 0.4491949677467346, -0.2816857695579529, -0.19374167919158936, 0.08903425186872482, -0.08613700419664383, 0.6726025342941284, 0.6252102851867676, -0.09454850852489471, 0.10390748083591461, 0.3672182559967041, 0.433551549911499, -0.47144439816474915, -0.0020678192377090454, -0.8094885945320129, 0.15469567477703094, -0.025461746379733086, -0.46896588802337646, -0.04769410192966461, -0.7768846750259399, 0.16689060628414154, -0.5410030484199524, 0.38004618883132935, 0.0007991495076566935, 0.848642110824585, 0.29346969723701477, 0.016037030145525932, -0.5972000360488892, -0.21712107956409454, 0.5370618104934692, -1.0057344436645508, 0.05085499957203865, 0.09711458534002304, -0.2065405547618866, -0.14071814715862274, -1.0149686336517334, -0.6273188591003418, -0.2503647208213806, -0.329618364572525, -0.18166576325893402, 0.08363419771194458, -0.23910865187644958, -0.005655854474753141, -0.0363566093146801, -0.7511561512947083, -0.13237223029136658, -0.2680104076862335, -0.02497049607336521, 0.5280870795249939, 0.19182534515857697, 0.3907832205295563, -0.6164130568504333, -0.4854390621185303, -0.11632803827524185, -0.6956775784492493, -0.35964855551719666, 0.5425660014152527, 0.19322222471237183, 0.31143710017204285, 0.5565623044967651, -0.3994378447532654, 0.7101208567619324, 0.19087079167366028, 0.13486500084400177, 0.20591583847999573, -0.5713567137718201, -0.05010583996772766, 0.34558171033859253, 1.0835531949996948, 0.7889664173126221, 0.36382433772087097, -0.4725809097290039, -0.060464516282081604, -0.053926870226860046, 0.38558900356292725, -0.49232393503189087, -0.1617441028356552, -0.26309528946876526, -0.44627639651298523, -0.3968701958656311, -0.021555814892053604, -1.1083221435546875, -0.06864258646965027, -0.5719080567359924, 0.3387118875980377, -0.5449397563934326, 0.3690450191497803, -0.1271144151687622, -0.30222076177597046, 0.35592687129974365, -0.3144264221191406, -0.7113937139511108, 0.30706363916397095, 0.815701425075531, 1.009806513786316, -0.3150154948234558, -0.5583683848381042, -0.6414573192596436, 0.2820223271846771, -0.3200822174549103, 0.6306344866752625, -0.5470044612884521, 0.01629532128572464, 0.11761785298585892, -0.23772959411144257, -0.311075896024704, -0.47773295640945435, 0.6782655119895935, -0.5331753492355347, 0.3330318033695221, -0.022274304181337357, -0.6559216976165771, 0.14500290155410767, 0.2797020971775055, -0.360789954662323, 0.8342773914337158, -0.3974893391132355, -0.8269453644752502, -0.09863800555467606, -0.25436803698539734, -0.5680450201034546, -0.040213409811258316, -0.3223859965801239, -0.40895938873291016, 0.14145691692829132, 0.38541197776794434, 0.5700460076332092, -0.2102316915988922, 0.6128070950508118, -0.23813271522521973, -0.2432943433523178, 0.14086253941059113, -0.20258396863937378, 0.8245717287063599, 0.2545739710330963, -0.6240296959877014, -0.1163041740655899, -0.7204543948173523, 0.09255889058113098, 0.0030197883024811745, -0.15622471272945404, -0.635922372341156, 0.1321195811033249, -0.10096631199121475, 0.22311274707317352, 0.46468743681907654, -0.4489418864250183, -0.11731438338756561, -0.5666477680206299, 0.740600049495697, 0.4301063120365143, 0.29960328340530396, 0.44186052680015564, -0.4618057310581207, 0.30295801162719727, -0.193135067820549, -0.14265961945056915, -0.18054814636707306, -0.211323082447052, -0.5434877872467041, 0.4259553849697113, 0.2638213634490967, 0.46492645144462585, -0.6760448217391968, 0.6628438234329224, -0.6068226099014282, -0.3858690857887268, -0.6232550144195557, 0.4962548613548279, 0.4926376938819885, 0.8213598728179932, 0.42159774899482727, 0.006840563844889402, -0.5269732475280762, -1.0791199207305908, -0.3453655540943146, 0.16011154651641846, 0.04149927571415901, -0.057461753487586975, 0.15188808739185333, 0.2175177037715912, 0.7097720503807068, -0.4137318432331085, -0.11872489005327225, 0.06554144620895386, 0.2455606460571289, -0.0932183489203453, 0.597843587398529, 0.4291749596595764, -1.1081851720809937, -0.560440182685852, -0.1674584001302719, -0.9930683970451355, -0.09028857201337814, -0.3545744717121124, -0.21952039003372192, -0.08911166340112686, 1.2058781385421753, -0.7229604125022888, 0.06829679757356644, 0.3643830120563507, 0.07325012981891632, 0.30778414011001587, -0.2659838795661926, 0.019266722723841667, -1.5408178567886353, 0.1722157597541809, 0.11349205672740936, -0.06189827248454094, -0.278043657541275, 0.44550102949142456, -0.07154994457960129, -0.10379868745803833, -0.37342503666877747, 0.2356913536787033, -0.5645782947540283, -0.012450573965907097, -0.4498284161090851, 0.6179425716400146, 0.09903880208730698, 0.5517357587814331, 0.10661273449659348, 0.6613448858261108, 0.4261727035045624, -0.5120978355407715, 0.5798462629318237, 0.5305171608924866, -0.3546178638935089, 0.5154313445091248, -0.6440666317939758, 0.1402975171804428, -0.2134701907634735, 0.19974897801876068, -0.9101958274841309, -0.05081413686275482, 0.08328977227210999, -0.404740571975708, -0.05375871807336807, 0.04188910126686096, -0.4153697192668915, -0.11261703073978424, -0.28937825560569763, 0.29720768332481384, 0.4101150631904602, -0.5326212644577026, 0.16657312214374542, 0.09500103443861008, -0.6397749185562134, -0.4900645315647125, -0.5106489658355713, 0.6704447269439697, -0.6186296939849854, -0.5033735632896423, 0.5110356211662292, 0.07101570814847946, -0.25809726119041443, 0.09580807387828827, 0.16179333627223969, -0.06613563001155853, -0.04568079113960266, 0.001630914630368352, 0.06495598703622818, -0.3887283205986023, 0.13725495338439941, -0.020606908947229385, 0.11786635965108871, 0.18320170044898987, -0.4926387369632721, 0.764644980430603, 0.014101761393249035, -0.12279365956783295, -0.5646318197250366, 0.6850136518478394, 0.5385355949401855, -0.36047980189323425, 0.5243045687675476, 0.46246612071990967, -0.2712084650993347, 0.03330456465482712, -0.42512691020965576, -0.10646269470453262, -0.45698726177215576, 0.09185795485973358, -0.24639561772346497, -0.30583685636520386, 0.24090318381786346, 0.10823892056941986, 0.08678155392408371, 0.5059213638305664, 0.4093737304210663, -0.24814248085021973, 0.8232743144035339, 0.08538183569908142, -0.06284690648317337, 0.24412797391414642, 0.1399988830089569, 0.18036328256130219, -0.6852743029594421, -0.2173110842704773, -0.5352329611778259, -0.8338539004325867, -0.5701176524162292, -0.21947157382965088, 0.1327691376209259, -0.026805194094777107, 0.11419084668159485, 0.6199586987495422, -0.5723649859428406, 0.45059800148010254, 1.1821881532669067, 0.28953737020492554, 0.2469431310892105, 0.0693860650062561, -0.28144073486328125, 0.05297042056918144, -0.6340182423591614, -0.6213003993034363, 0.9807714819908142, -0.3783405125141144, 0.48794886469841003, -0.3113407492637634, 1.0994387865066528, 0.02741638757288456, -0.24544095993041992, -0.4759375751018524, 0.7234048247337341, -0.25870367884635925, -0.27205199003219604, -0.14402160048484802, -0.3163163959980011, -0.9243999719619751, -0.3202042579650879, -0.013592943549156189, -0.5341408848762512, 0.21890667080879211, -0.03856474533677101, -0.5834541320800781, 0.17183013260364532, -0.4666222333908081, 0.7639433741569519, -0.18294823169708252, -0.34226563572883606, -0.13287627696990967, -1.021680235862732, -0.04100119695067406, 0.05614355579018593, -0.3197910189628601, 0.17877553403377533, -0.07482627779245377, 0.880996823310852, -0.2335284799337387, 0.6551847457885742, 0.09394573420286179, 0.2403305023908615, 0.5524819493293762, 0.0885029062628746, 0.4428873658180237, -0.06023570895195007, -0.21581096947193146, -0.16908349096775055, -0.07142714411020279, -0.2924019396305084, -0.5300271511077881, 1.1561466455459595, -0.36428889632225037, -0.6560077667236328, -0.09331560134887695, -0.5625135898590088, -0.1698007434606552, 0.17080684006214142, 0.562824547290802, 0.4095076322555542, -0.34468016028404236, 0.45269185304641724, 0.4787745475769043, 0.07748009264469147, 0.7910829186439514, -0.15226949751377106, 0.28345659375190735, -0.4070425033569336, 0.7744036912918091, -0.20740260183811188, 0.13102205097675323, 0.6125398874282837, 0.03653207793831825, -0.25251156091690063, -0.6577916145324707, -0.2807360291481018, 0.21923834085464478, -0.3028879463672638, -0.43016085028648376, -0.7919796705245972, -0.3047191798686981, -0.6414211988449097, -0.4064067304134369, -0.11215084046125412, -0.4523492753505707, -0.34624096751213074, -0.1217506155371666, 0.166337788105011, 0.3507149815559387, -0.09656449407339096, 0.45047691464424133, -0.8547999262809753, 0.4355297088623047, 0.32489264011383057, -0.04708420857787132, -0.11535977572202682, -0.21720176935195923, -0.0034849857911467552, 0.35257643461227417, -0.5411980152130127, -0.8252276182174683, 0.6846577525138855, 0.28101521730422974, 0.3493199348449707, 0.3547753095626831, 0.004654802847653627, 0.735509991645813, -0.9146178364753723, 0.5625088214874268, 0.16951125860214233, -0.8002315759658813, 0.5867800116539001, -0.5554578304290771, 0.09792496263980865, 0.8305069208145142, 0.6514538526535034, -0.4769195020198822, -0.40364640951156616, -0.8557136654853821, -0.8187305331230164, 0.27588212490081787, 0.2503051161766052, 0.34855273365974426, -0.44692936539649963, 0.5740197896957397, 0.11728958785533905, 0.33599674701690674, -0.7638652324676514, 0.05087526515126228, -0.020205922424793243, -0.7712121605873108, -0.24562601745128632, 0.08841294050216675, -0.2550923526287079, 0.055979859083890915, 0.45420512557029724, -0.14509430527687073, 0.18406854569911957, 0.4188651442527771, -0.23205886781215668, 0.076795794069767, 0.10509751737117767, 0.36212360858917236, 0.6182603240013123, 0.06823303550481796, 0.3090479075908661, 0.04319947585463524, 0.08193069696426392, 0.10240661352872849, 0.44591307640075684, -0.3690348267555237, 0.4075417220592499, 0.1834188997745514, 0.6317010521888733, 0.3731018602848053, -0.7620862126350403, 0.410532683134079, 0.24132809042930603, -0.3045511841773987, -0.19635732471942902, 0.00821868795901537, 0.5150083899497986, 0.46144941449165344, 0.26849129796028137, 0.07920914143323898, 0.23580533266067505, -0.56913822889328, 0.5774843096733093, 0.39708179235458374, -0.23654693365097046, -0.13048450648784637, 0.6985928416252136, 0.08502502739429474, -0.7167934775352478, 0.8413936495780945, 0.026060201227664948, -0.36996838450431824, 0.6276454925537109, 0.6311370730400085, 0.8364676833152771, -0.10401599854230881, 0.2749894857406616, 0.3337719440460205, -0.09016045182943344, -0.21832281351089478, -0.22943592071533203, -0.04729347303509712, -0.5217553377151489, -0.2444188892841339, -0.759490966796875, -0.04352479428052902, 0.14984044432640076, -0.7093112468719482, 0.2496056854724884, -0.39390042424201965, 0.15731604397296906, 0.13810759782791138, -0.4196222126483917, -0.38684600591659546, 0.19415970146656036, 0.31346479058265686, 0.5862581729888916, -0.6993857622146606, 0.5457223057746887, 0.6932254433631897, -0.16052879393100739, -0.5672856569290161, 0.3479384183883667, -0.34536948800086975, -0.9307205677032471, 0.6306658387184143, 0.23483403027057648, 0.09900365769863129, 0.12246745079755783, -0.3997204601764679, -0.6924278140068054, 0.9399365782737732, 0.36941343545913696, -0.5746321678161621, -0.905167281627655, 0.14643844962120056, 0.7780236005783081, -0.4063054621219635, -0.3328149914741516, 0.3863888680934906, 0.19111144542694092, -0.08497779816389084, -0.7441931366920471, 0.06792622804641724, -0.2210683375597, -0.10718435794115067, 0.261636883020401, -0.5738821625709534, 0.700366199016571, 0.17593412101268768, 0.15236258506774902, 0.44218719005584717, 0.703881025314331, -0.05878867954015732, 0.3006143271923065, 0.3757345676422119, 0.8153208494186401, 0.3493465185165405, 0.16983886063098907, 0.7615492939949036, -0.5090532898902893, 0.169134721159935, 1.3352974653244019, -0.1973581314086914, 0.9597625732421875, 0.6277180314064026, 0.3386293649673462, 0.47334641218185425, 0.3186393082141876, -0.12074176967144012, 0.6966734528541565, 0.08810550719499588, -0.19456493854522705, -0.2846730351448059, 0.05755707994103432, -0.07122448831796646, 0.5968651175498962, 0.1786009669303894, -0.8269081115722656, -0.5500125288963318, 0.0014629388460889459, -0.02588510513305664, 0.6441697478294373, -0.22208209335803986, 1.0319576263427734, 0.11882811039686203, -1.2691402435302734, 0.46452993154525757, -0.11074231564998627, 0.44204363226890564, -0.34763145446777344, 0.06902533024549484, -0.25039926171302795, 0.1422463208436966, 0.017131244763731956, -0.6408689022064209, 0.5906398892402649, 0.03862634673714638, 0.08641017228364944, -0.4934305250644684, 0.4183870851993561, -0.5773011445999146, -0.5531248450279236, 0.20223698019981384, 0.47598567605018616, 0.027508212253451347, -0.11847923696041107, -0.7637864947319031, -0.494607537984848, 0.2258661687374115, -0.11994669586420059, 0.2991161346435547, 0.4673827588558197, 0.1122179850935936, 0.4311300814151764, 0.4375949501991272, -0.0008179442374967039, 0.4156355857849121, -0.4071323871612549, 0.6539444923400879, -0.6725322008132935, -0.550568699836731, -1.0566058158874512, -0.015856431797146797, -0.36078891158103943, -0.4075583517551422, 0.7420923709869385, 0.7135375142097473, 0.4972979426383972, 0.1158728376030922, 0.530937671661377, -0.0646023377776146, 0.550443172454834, -0.5477882027626038, 0.45733290910720825, -0.3756420314311981, -0.22637489438056946, -0.250550776720047, -1.1063164472579956, -0.15250352025032043, 0.7743644714355469, -0.20394140481948853, -0.3211972415447235, 0.746842622756958, 0.8841526508331299, -0.28871092200279236, 0.08676797151565552, -0.04028404504060745, 0.0024049694184213877, -0.024700520560145378, 0.5739239454269409, 0.6035738587379456, -0.4848977029323578, 1.025377631187439, -0.26354631781578064, 0.28653043508529663, -0.15010854601860046, -0.778672993183136, -0.7155753374099731, -0.7773740887641907, -0.4406747817993164, -0.2647944688796997, 0.5137816071510315, 0.7521171569824219, 0.2804604768753052, -0.6338886022567749, -0.03153685852885246, -0.6494227051734924, -0.09997517615556717, -0.1398404836654663, -0.22516368329524994, 0.5287632346153259, -0.6643887162208557, -1.087387204170227, 0.5455039143562317, 0.01826709508895874, -0.1998235434293747, 0.07336195558309555, 0.3077068626880646, -0.8475979566574097, -0.09631720185279846, -0.059437528252601624, 0.18338888883590698, -0.34441184997558594, -0.2748112678527832, -0.04589236527681351, -0.3773742616176605, 0.2435927540063858, 0.7591963410377502, -0.7629493474960327, -0.05046675354242325, 0.5032445192337036, 0.9211222529411316, 0.32392483949661255, 0.2906021177768707, 0.9125232696533203, -0.8926444053649902, 0.03701711446046829, 0.44531485438346863, 0.3837178349494934, 0.45133739709854126, -0.1556193232536316, 0.14401784539222717, 0.08243605494499207, -0.6099495887756348, -0.4424688518047333, -0.03267984092235565, -0.8906883597373962, -0.33855563402175903, 1.3042658567428589, -0.19364283978939056, -0.12218999117612839, 0.18434551358222961, -0.13917550444602966, 0.4524669647216797, -0.04115581884980202, 0.8361536860466003, 0.5886505842208862, 0.16175086796283722, 0.3160804510116577, -0.15113455057144165, 0.4860624670982361, 0.7161431908607483, -0.5669698119163513, -0.04479062929749489, 0.48344141244888306, 0.3202861249446869, 0.4381124973297119, -0.07058361172676086, 0.022551747038960457, 0.25620681047439575, -0.05690470710396767, -0.19596411287784576, 0.06880450993776321, -0.14414501190185547, -0.13255389034748077, 0.5893092751502991, -0.511925458908081, -0.37958598136901855 ]
http://arxiv.org/abs/2402.10555v2
http://arxiv.org/pdf/2402.10555v2
SPAR: Personalized Content-Based Recommendation via Long Engagement Attention
2024-02-16T10:36:38
2024-05-22T02:44:40
Chiyu Zhang, Yifei Sun, Jun Chen, Jie Lei, Muhammad Abdul-Mageed, Sinong Wang, Rong Jin, Sem Park, Ning Yao, Bo Long
cs.IR
cs.IR, cs.CL
Leveraging users' long engagement histories is essential for personalized content recommendations. The success of pretrained language models (PLMs) in NLP has led to their use in encoding user histories and candidate items, framing content recommendations as textual semantic matching tasks. However, existing works still struggle with processing very long user historical text and insufficient user-item interaction. In this paper, we introduce a content-based recommendation framework, SPAR, which effectively tackles the challenges of holistic user interest extraction from the long user engagement history. It achieves so by leveraging PLM, poly-attention layers and attention sparsity mechanisms to encode user's history in a session-based manner. The user and item side features are sufficiently fused for engagement prediction while maintaining standalone representations for both sides, which is efficient for practical model deployment. Moreover, we enhance user profiling by exploiting large language model (LLM) to extract global interests from user engagement history. Extensive experiments on two benchmark datasets demonstrate that our framework outperforms existing state-of-the-art (SoTA) methods.
[ -0.517487108707428, -0.6081897020339966, 0.5920192003250122, 0.10956590622663498, -0.13034206628799438, -0.03453795239329338, -0.2653225362300873, -0.04484579712152481, 0.4521431624889374, 0.9749014377593994, -0.7353098392486572, -0.6597078442573547, -0.31589213013648987, -0.18035168945789337, -0.260916531085968, 1.395623803138733, 0.01454094611108303, -0.46002206206321716, -0.23588861525058746, -0.2192021906375885, -0.9119155406951904, -0.6953808069229126, -0.66937655210495, -0.2621771991252899, 0.9135611057281494, 0.2999171316623688, 0.5330492854118347, 0.3910920321941376, 0.2793448269367218, 0.20835450291633606, -0.26318326592445374, 0.32375678420066833, -0.9274156093597412, 0.2562738358974457, -0.4003278315067291, -0.020573310554027557, -0.3003106415271759, -0.297126442193985, 0.31181421875953674, 0.42382434010505676, -0.166561096906662, 0.05212623253464699, 0.12935557961463928, 0.9132899045944214, -0.48926612734794617, -0.15855255722999573, -0.23678357899188995, 0.017622845247387886, -0.32174888253211975, -0.3873191475868225, -0.5501328706741333, -0.17206665873527527, 0.48118337988853455, -0.6088021993637085, 0.2288637012243271, 0.2741737961769104, 0.529077410697937, -0.06795702129602432, -0.4869690239429474, -0.2682117521762848, -0.8752022385597229, 0.7810359597206116, -0.2843594551086426, 0.5414197444915771, 0.797914445400238, 0.2553372383117676, -0.46031415462493896, -0.5349873304367065, -0.17094530165195465, -0.2570030391216278, -0.0607423298060894, -0.09949062764644623, -0.13152240216732025, -0.11593954265117645, 0.2025318145751953, 0.3062002956867218, -0.7682616114616394, -0.229845330119133, -0.08035431057214737, 0.16426624357700348, 0.5818542242050171, 0.09877364337444305, 0.2722446322441101, 0.2671022415161133, -0.7257940173149109, 0.007156459614634514, -0.6330779194831848, 0.17889763414859772, 0.3714802861213684, 0.09420585632324219, -0.1991916298866272, 0.7018888592720032, -0.16503272950649261, 0.5576347708702087, 0.5396897792816162, 0.15894587337970734, -0.04552009329199791, -0.2764165997505188, 0.03802131116390228, 0.15852253139019012, 0.7594446539878845, 0.35177022218704224, 0.4582832157611847, -0.4023185968399048, 0.05912778526544571, -0.24299226701259613, 0.22044895589351654, -0.786541223526001, -0.0060716066509485245, 0.08348874747753143, -0.2932770550251007, 0.3072851896286011, 0.3185352087020874, -0.767876923084259, -0.6914129853248596, -0.05507033318281174, 0.19974376261234283, -0.4046838879585266, -0.13571709394454956, 0.43328332901000977, 0.14814740419387817, -0.3270440101623535, 0.10803042352199554, -1.0009851455688477, 0.480953574180603, 0.9151710867881775, 0.7865943312644958, -0.5465143918991089, -0.30189526081085205, -0.8695802688598633, 0.4169504940509796, 0.03898262232542038, 0.9174186587333679, -0.8531543612480164, -0.3987976014614105, 0.3351675570011139, 0.19607830047607422, 0.19850613176822662, -0.40337511897087097, 0.37241971492767334, -0.8827716112136841, 0.28898894786834717, -0.253130167722702, -0.6697794795036316, -0.22563967108726501, 0.03947813808917999, -0.6065989136695862, 1.249766230583191, 0.3205159604549408, -0.5696715712547302, 0.4767686128616333, -0.8100978136062622, -0.5979074239730835, 0.3448660969734192, 0.15755806863307953, -0.3412133455276489, -0.010015052743256092, 0.21591132879257202, 0.624789834022522, -0.16170397400856018, 0.7139449715614319, -0.5637339949607849, -0.6127695441246033, -0.005044881720095873, -0.07511565834283829, -0.021173512563109398, 0.0019832055550068617, -0.18615777790546417, 0.42925694584846497, -0.4429246187210083, -0.6192137002944946, -0.08647747337818146, -0.17821857333183289, -0.6335561275482178, 0.20698918402194977, 0.24226531386375427, 0.1102178767323494, 0.40801766514778137, -0.43086108565330505, 0.04387235641479492, -0.780316174030304, 0.2454083412885666, 0.7251440286636353, 0.32735681533813477, 0.6123799681663513, -0.22214822471141815, 0.4562409818172455, -0.019617488607764244, -0.24123123288154602, -0.5900680422782898, -0.06835446506738663, -0.511649489402771, -0.08258693665266037, 0.2345166951417923, 0.1254291832447052, -0.08810745179653168, 0.9071003198623657, -0.3215736448764801, -0.1312820464372635, -0.15085138380527496, 0.5518930554389954, 0.08625615388154984, 0.06758502125740051, 0.3577130436897278, -0.5597407817840576, -0.559628427028656, -0.4533550441265106, -0.21128374338150024, -0.018431996926665306, -0.09457501769065857, 0.8100948333740234, -0.04862833023071289, -0.5882008075714111, 1.0962179899215698, -0.550446093082428, -0.8018162846565247, -0.4720991551876068, 0.03578844293951988, 0.4010986387729645, 0.15492196381092072, 0.20990976691246033, -0.6879467368125916, -0.7803264856338501, 0.15885737538337708, -0.2599552273750305, 0.21444135904312134, -0.4023820757865906, -0.3974205255508423, -0.03187847509980202, 0.19763128459453583, -0.4396604597568512, 0.44255250692367554, 0.36599001288414, -0.7283769845962524, -0.06753994524478912, -0.2236034870147705, 0.12280261516571045, -1.221428394317627, 0.1267743557691574, 0.6944652795791626, -0.46389254927635193, -0.35794055461883545, -0.6269261240959167, -0.07806066423654556, -0.2710452377796173, -0.29101601243019104, 1.1158802509307861, -0.2219855934381485, 0.08643811196088791, -0.29498952627182007, -0.01063177827745676, -0.10658476501703262, 0.602645993232727, 0.3199034333229065, 0.4275503158569336, 0.0994773730635643, -0.5532311201095581, 0.12950696051120758, 0.47054386138916016, -0.2563762366771698, 0.4061460793018341, -0.6924258470535278, 0.4029797315597534, 0.0806293785572052, 0.2906944453716278, -1.1183838844299316, -0.14726343750953674, 0.056478578597307205, -0.08716642111539841, 0.08767830580472946, -0.5739811658859253, -0.30144262313842773, 0.024344448000192642, -0.5206868052482605, 0.354621559381485, 0.21474069356918335, -0.5407863259315491, 0.8126412034034729, 0.41618049144744873, -0.3863683342933655, -0.47620436549186707, -0.003259670687839389, 0.16236019134521484, -0.26130029559135437, -0.5316665172576904, 0.6678351163864136, -0.40805211663246155, 0.30163225531578064, -0.0036913971416652203, -0.14539913833141327, 0.03929521143436432, -0.1259150207042694, 0.6347240805625916, 0.19152596592903137, -0.153172105550766, 0.061048489063978195, -0.13941940665245056, -0.34240198135375977, -0.3326476514339447, 0.1370871514081955, 1.005048394203186, 0.12656733393669128, -0.3549302816390991, -0.5773382186889648, 0.6222984790802002, 0.43005892634391785, -0.38642793893814087, 0.5418475866317749, 1.0065430402755737, -0.15561023354530334, -0.036930713802576065, -1.1304060220718384, -0.1829497218132019, -0.481068879365921, 0.5987113118171692, -0.07398699223995209, -1.501873254776001, 0.2557809054851532, -0.09406478703022003, 0.07050026953220367, 0.23534710705280304, 0.7664476633071899, -0.22461825609207153, 1.041283369064331, 0.8069366216659546, -0.5782486796379089, 0.9959813356399536, -0.07695595920085907, 0.08752306550741196, -0.8362973928451538, -0.17953167855739594, -0.03100631572306156, -0.24817794561386108, -0.19929075241088867, 0.08189837634563446, 0.05024506524205208, -0.054654311388731, -0.2928483784198761, 0.138977512717247, -0.3270702362060547, 0.489871621131897, 0.4410305619239807, 0.19432587921619415, -0.01810917817056179, -0.11006410419940948, 0.49464449286460876, -0.2550589144229889, -0.37836211919784546, -0.21903552114963531, 0.8660131096839905, 0.3746188282966614, 0.9345777034759521, 0.05701890215277672, 0.6480308175086975, 0.9464873671531677, 0.09958954155445099, -0.8528703451156616, 0.4055432975292206, -0.19339950382709503, -0.3709879219532013, -0.2880276143550873, -0.06183222681283951, -1.2831406593322754, -0.22315576672554016, -0.3180420696735382, -0.7547493577003479, -0.007167011499404907, 0.2352912425994873, -0.6251693964004517, -0.04536067694425583, -0.5488598346710205, 1.113234043121338, -0.39488741755485535, -0.6808241605758667, -0.29545435309410095, -0.3650605082511902, -0.07304135710000992, 0.03019964136183262, 0.037212617695331573, -0.22847217321395874, 0.13178007304668427, 0.7377352118492126, 0.16018633544445038, 0.9422135949134827, -0.23646512627601624, 0.3601645529270172, 0.009162436239421368, 0.3495977818965912, 0.8214601278305054, 0.2704836130142212, 0.09931100159883499, -0.09625821560621262, -0.18470428884029388, 0.04887041822075844, -0.37757161259651184, 0.9945486187934875, -0.5320038199424744, -0.7304688096046448, -0.5154868960380554, -0.3867320120334625, -0.12453141063451767, 0.34920451045036316, -0.272914320230484, 0.30604490637779236, -0.5602830052375793, 0.6178286075592041, 0.8386825323104858, -0.047054193913936615, 0.3992525637149811, 0.4833773672580719, -0.14594024419784546, -0.5580950975418091, 1.0349596738815308, -0.2821897268295288, -0.48031747341156006, 0.4051178991794586, 0.16604386270046234, -0.4981466829776764, -0.48759666085243225, -0.38908153772354126, 0.3979935646057129, -0.168937548995018, -0.050861988216638565, -0.8979811072349548, 0.27085646986961365, -0.3101195991039276, -0.43101322650909424, -0.18786300718784332, 0.4733331501483917, -0.6616315245628357, 0.17343147099018097, 0.2983182668685913, 0.6598736047744751, 0.5157070755958557, 0.30729883909225464, -0.6650850772857666, 0.541700541973114, 0.11868931353092194, 0.5654966831207275, -0.22612230479717255, -0.44600412249565125, -0.6746432185173035, -0.3584665358066559, -0.263283371925354, -0.6149021983146667, 0.6265223622322083, 0.3235303461551666, 0.7424147725105286, 0.6523188352584839, 0.20947399735450745, 0.6117463707923889, -0.6761349439620972, 0.7473302483558655, 0.22633203864097595, -0.6850786209106445, 0.5364142656326294, -0.31425103545188904, 0.37468963861465454, 0.6530872583389282, 0.6512184143066406, -0.8924791216850281, 0.16708680987358093, -0.2521531581878662, -1.002211332321167, 0.638437807559967, -0.4712710380554199, 0.2894786596298218, -0.0002850135206244886, 0.46761804819107056, 0.36278268694877625, -0.13079659640789032, -0.6294122338294983, 0.12872861325740814, 0.16058196127414703, -0.3928550183773041, -0.31856340169906616, -0.7370542883872986, 0.01002643071115017, 0.2603953778743744, 0.7090270519256592, -0.10653885453939438, -0.2156601846218109, 0.14467748999595642, -0.31647443771362305, -0.24578285217285156, 0.1967824250459671, 0.2793208062648773, 0.6872066259384155, -0.34289318323135376, -0.27950337529182434, 0.009694586507976055, -0.20914000272750854, 0.10861419141292572, 0.18283230066299438, 0.17071762681007385, -0.13867174088954926, -0.12217213958501816, 0.6962088942527771, 0.6439129710197449, -0.8336259722709656, 0.7795552611351013, -0.29776784777641296, 0.225071519613266, -0.6833032369613647, 0.06791628152132034, 0.24127401411533356, 0.2501932978630066, 0.25495782494544983, -0.21896415948867798, 0.19760355353355408, -0.44554561376571655, 0.22928272187709808, 0.45665210485458374, -0.8702525496482849, -0.31672993302345276, 0.37829306721687317, 0.37075331807136536, -0.4893256723880768, 0.1691180169582367, 0.31997910141944885, -0.151031956076622, -0.2319226711988449, 0.5522348880767822, 0.8501275181770325, -0.1539393812417984, 0.07490713149309158, 0.17573003470897675, -0.3808317184448242, -0.28908640146255493, -0.2897067964076996, -0.413803368806839, -0.45044153928756714, -0.5690977573394775, -0.6558837890625, -0.3754674196243286, 0.22795946896076202, -0.7912593483924866, 0.5317435264587402, -0.45657259225845337, -0.3947845995426178, 0.09487054497003555, 0.1558343470096588, -0.6407347917556763, -0.07452122122049332, 0.1629202514886856, 0.5126152634620667, -0.7845596075057983, 0.6012865900993347, 0.6889205574989319, -0.09336314350366592, -0.043785758316516876, -0.18759427964687347, -0.18427138030529022, -0.2791682481765747, 0.35904592275619507, 0.20047803223133087, -0.25917088985443115, -0.0073988777585327625, -0.1055087149143219, -0.8257961273193359, 0.8657733798027039, 0.3579569458961487, -0.6392181515693665, -0.02339410036802292, -0.060945577919483185, 0.5337072610855103, -0.5212084650993347, 0.1602562814950943, 0.2750313878059387, 0.09470164775848389, 0.08207471668720245, -0.44530436396598816, -0.09885213524103165, -0.12531137466430664, 0.04534541815519333, 0.3260097801685333, -0.6617724895477295, 0.1166425570845604, -0.0312831811606884, -0.2855534255504608, -0.07421483844518661, 0.9810826182365417, 0.3479359447956085, 0.5936347842216492, 0.5490939617156982, 0.30843794345855713, 0.13500568270683289, 0.24853962659835815, 1.042236566543579, -0.3633519113063812, 0.1952936351299286, 1.1797528266906738, -0.7110400795936584, 1.0126694440841675, 0.48323389887809753, -0.04494543373584747, 0.6114506125450134, 0.8836454153060913, -0.13046973943710327, 0.8319868445396423, -0.10708726942539215, -0.20771828293800354, -0.3253038823604584, -0.24313399195671082, -0.27349868416786194, 0.09883500635623932, 0.25397008657455444, -0.4237285256385803, 0.12603837251663208, -0.04255286231637001, 0.08289094269275665, 0.17497587203979492, -0.1775544285774231, 1.270089864730835, -0.14358480274677277, -0.8651788830757141, 0.15957951545715332, -0.09272605925798416, 1.1006580591201782, -0.9200241565704346, -0.2621432840824127, -0.293843537569046, 0.16685864329338074, -0.1468636840581894, -0.7308713793754578, -0.166936457157135, 0.12438154220581055, -0.5539702773094177, -0.2133329212665558, 0.9435694217681885, -0.6082592606544495, -0.16810400784015656, 0.3191041946411133, 0.27423471212387085, -0.16282060742378235, -0.21193765103816986, -0.41737931966781616, 0.03923168033361435, 0.18527533113956451, -0.3989273011684418, 0.6840631365776062, 0.11107409745454788, 0.012696406804025173, 0.6933874487876892, 0.8385140895843506, 0.026594847440719604, -0.33302804827690125, 0.030008943751454353, 0.7138305902481079, -0.9214761257171631, -0.743558943271637, -0.9684763550758362, 0.4653629660606384, 0.115598164498806, -0.5104074478149414, 0.433575838804245, 0.7883325219154358, 0.8534987568855286, 0.12083656340837479, 0.7298072576522827, 0.4059160053730011, 0.5857711434364319, -0.26360973715782166, 0.48606985807418823, -0.4199923872947693, 0.4188748598098755, 0.013667422346770763, -0.9725627303123474, -0.08014526218175888, 0.24032878875732422, -0.34090062975883484, 0.23084475100040436, 0.21423834562301636, 0.5860072374343872, -0.3280866742134094, -0.23224833607673645, 0.39800384640693665, -0.17111216485500336, 0.19565831124782562, 0.603529691696167, 0.7491060495376587, 0.17411044239997864, 0.3554094433784485, -0.15756113827228546, -0.07884195446968079, -0.6531454920768738, -0.7379343509674072, -1.1205065250396729, -0.7536104917526245, -0.24531246721744537, -0.39291903376579285, 0.45292818546295166, 1.31890869140625, 0.8732004165649414, -0.8273513913154602, -0.43705880641937256, 0.4007900357246399, -0.09067760407924652, -0.05981871113181114, -0.19512072205543518, 0.7415058016777039, 0.04578806832432747, -0.5770398378372192, 0.6465557813644409, 0.6145694851875305, -0.019704319536685944, -0.43451303243637085, -0.2733013927936554, -0.18355301022529602, -0.23893947899341583, 0.6676948666572571, 0.4955586791038513, -0.7886655926704407, -0.1606139987707138, 0.08189402520656586, 0.016051186248660088, 0.1767638623714447, 0.9865019917488098, -0.785570502281189, 0.4655539095401764, 0.2581600844860077, 0.8327100872993469, 1.1279244422912598, 0.26623794436454773, 0.7782440185546875, -0.7190453410148621, -0.1026587039232254, 0.3804234564304352, 0.3774441182613373, 0.3558911085128784, -0.8077396154403687, 0.38294440507888794, -0.19622203707695007, -0.5835069417953491, -0.8426603078842163, -0.13898006081581116, -1.4236266613006592, 0.23071661591529846, 1.3853037357330322, -0.4984338879585266, -0.124665766954422, -0.37645262479782104, -0.5084513425827026, 0.06021248921751976, -0.8723207116127014, 0.8697035908699036, 0.5031331777572632, -0.18993186950683594, -0.19585706293582916, -0.37610334157943726, 0.35669273138046265, 0.46052122116088867, -0.4310017228126526, 0.3204192817211151, 0.4034661650657654, 0.2477690875530243, -0.1711990088224411, 0.5160943269729614, 0.11663667112588882, 0.30413562059402466, -0.649124264717102, 0.041561782360076904, -0.2553876042366028, -0.34199708700180054, -0.20680062472820282, 0.4036239683628082, -0.013370206579566002, 0.2438860386610031 ]
http://arxiv.org/abs/2402.10554v2
http://arxiv.org/pdf/2402.10554v2
Disordered-DABS: A Benchmark for Dynamic Aspect-Based Summarization in Disordered Texts
2024-02-16T10:35:18
2024-06-17T20:06:04
Xiaobo Guo, Soroush Vosoughi
cs.CL
cs.CL
Aspect-based summarization has seen significant advancements, especially in structured text. Yet, summarizing disordered, large-scale texts, like those found in social media and customer feedback, remains a significant challenge. Current research largely targets predefined aspects within structured texts, neglecting the complexities of dynamic and disordered environments. Addressing this gap, we introduce Disordered-DABS, a novel benchmark for dynamic aspect-based summarization tailored to unstructured text. Developed by adapting existing datasets for cost-efficiency and scalability, our comprehensive experiments and detailed human evaluations reveal that Disordered-DABS poses unique challenges to contemporary summarization models, including state-of-the-art language models such as GPT-3.5.
[ -0.2157658040523529, -1.1443469524383545, 0.6487041115760803, 0.3391513526439667, -0.3612205982208252, 0.652060329914093, 0.2028064876794815, -0.373465359210968, 0.6682734489440918, 0.26255303621292114, -0.4713028073310852, -0.6019940376281738, -0.48504915833473206, -0.052481796592473984, -0.6219454407691956, 1.2742905616760254, -0.09266538918018341, -0.3659687340259552, -0.43395179510116577, -0.037793971598148346, -0.25997138023376465, -0.7727013230323792, -0.3922650218009949, 0.07708685845136642, 0.4402996897697449, 0.1625629961490631, 0.8100246787071228, 0.5566601753234863, 0.8527558445930481, 0.30872589349746704, -0.49446210265159607, 0.241242453455925, -0.3663897216320038, 0.8612369298934937, 0.08016108721494675, -0.16807599365711212, -1.3664196729660034, -0.04768858850002289, 0.7415226697921753, 1.116199016571045, -0.3461155593395233, -0.10389683395624161, 0.19367557764053345, 0.8069671988487244, -0.5338496565818787, 0.16376827657222748, -0.43917959928512573, -0.019306758418679237, -0.18731175363063812, -0.18883965909481049, 0.11277349293231964, -0.3150953948497772, -0.022579379379749298, -0.548370361328125, 0.43546316027641296, -0.29214152693748474, 0.695666491985321, 0.30035313963890076, -0.7580018043518066, -0.2836105227470398, -0.769070029258728, 0.4023783802986145, -0.5670722723007202, 0.15275262296199799, 0.3591441214084625, 0.13331963121891022, -0.3630765974521637, -0.8864922523498535, -0.27705317735671997, 0.14394760131835938, 0.12544623017311096, 0.27223098278045654, 0.0022242472041398287, 0.027045270428061485, -0.027840454131364822, 0.7659726142883301, -0.40631720423698425, 0.1825755387544632, 0.05491156503558159, 0.014177677221596241, 0.8071596026420593, 0.5491070747375488, 0.08637186139822006, -0.16131237149238586, -0.11491546779870987, -0.09031695127487183, -0.004407255444675684, -0.06923782825469971, 0.4172284007072449, 0.19095823168754578, -0.5068038702011108, 0.25015074014663696, -0.42466774582862854, 0.451468288898468, 0.33707395195961, -0.08084715902805328, 0.3993609845638275, -0.2763775885105133, 0.034860845655202866, -0.12747296690940857, 0.5433157086372375, 0.7703496813774109, -0.3799886703491211, -0.3576464354991913, -0.3953309655189514, -0.40056857466697693, 0.30029723048210144, -0.9385471343994141, -0.6693711876869202, 0.6754021048545837, -0.5719584226608276, -0.5930912494659424, -0.006349275819957256, -1.1750922203063965, -0.893318235874176, 0.2261342853307724, 0.1934008002281189, -0.2260461002588272, -0.47365328669548035, -0.2336314618587494, -0.3843355178833008, -0.4101836681365967, 0.3792558014392853, -0.95824134349823, 0.33376023173332214, 0.7760816812515259, 1.1315412521362305, -0.6189874410629272, -0.388342946767807, -0.29707759618759155, 0.1842118352651596, -0.3822149932384491, 1.2170048952102661, -0.43276894092559814, -0.3598458766937256, -0.2896508276462555, -0.18574856221675873, 0.28812849521636963, -0.6902825832366943, 0.4317074716091156, -0.37897711992263794, -0.00674125412479043, -0.3305372893810272, -0.35109183192253113, -0.20719829201698303, 0.37132859230041504, -0.4679737389087677, 0.9496029615402222, 0.33347615599632263, -0.7077361345291138, 0.697400689125061, -0.38329386711120605, -0.7461596131324768, 0.0937815010547638, -0.06774130463600159, -0.661226749420166, 0.48450446128845215, 0.07261081039905548, 0.5488833785057068, -0.03737647086381912, 0.4470175802707672, -0.8245800137519836, -0.11344743520021439, 0.5113718509674072, -0.735746443271637, 0.289152055978775, 0.28351977467536926, -0.05547372251749039, 0.28922733664512634, -1.1183421611785889, -0.11123126745223999, 0.23267659544944763, -0.43394166231155396, -0.6204299926757812, 0.4509808123111725, 0.24847270548343658, -0.09777088463306427, 0.38003021478652954, -0.23684343695640564, 0.3742086589336395, -0.39577409625053406, 0.4109167456626892, 0.5697766542434692, 0.2869228422641754, 0.36341580748558044, -0.3780032992362976, 0.3919025957584381, 0.41968661546707153, -0.05417369306087494, -0.3900877833366394, -0.25585365295410156, -0.22540076076984406, -0.7268149256706238, 0.17204807698726654, 0.276844322681427, -0.43970945477485657, 0.4437391459941864, -0.19079332053661346, -0.6593565344810486, -0.09562446922063828, -0.26847416162490845, -0.005294350907206535, 0.2159118503332138, 0.3856017589569092, -0.580836296081543, -0.04954909905791283, -0.7192763686180115, -0.2814897298812866, 0.10940594971179962, -0.21286234259605408, -0.03470955416560173, 0.2780371308326721, -0.2180831879377365, 0.7513357400894165, -0.5828796625137329, -0.31043002009391785, -0.15522874891757965, 0.46346530318260193, -0.0009158648899756372, 0.2695952355861664, 0.6146149635314941, -0.8434165716171265, -0.3765774667263031, -0.22217442095279694, -0.5933381915092468, -0.2504179775714874, -0.23717239499092102, 0.3640093505382538, 0.2714807689189911, 0.4632898271083832, -0.23237979412078857, 0.4831402897834778, 0.7361630797386169, -0.7007277011871338, 0.3717383146286011, -0.7337455153465271, 0.5307110548019409, -1.2266204357147217, -0.09168216586112976, -0.36000460386276245, -0.30633631348609924, -0.38980481028556824, -0.08179139345884323, 0.23226937651634216, -0.14859020709991455, 0.025709187611937523, 0.21055056154727936, -0.7147706747055054, -0.004893307574093342, -0.5721647143363953, 0.08144114166498184, -0.08160006254911423, 0.3410252034664154, -0.38171839714050293, 0.5385043621063232, 0.6156764030456543, -0.7252483367919922, 0.47934192419052124, -0.10486114770174026, -0.21181952953338623, 0.7557741403579712, -0.4324894845485687, 0.07373684644699097, -0.27624571323394775, 0.37314265966415405, -0.8403311371803284, -0.5545769333839417, -0.08747556060552597, -0.015563935972750187, 0.3195473849773407, -0.03380301967263222, -0.3356815278530121, -0.248282790184021, -0.5715593695640564, 0.6806102991104126, 0.30499714612960815, -0.26745814085006714, 0.811789333820343, 0.8515967726707458, -0.33896687626838684, -0.15579786896705627, -0.6674578785896301, 0.4020407199859619, -0.30215081572532654, -0.25941506028175354, 0.8934077620506287, -0.18939845263957977, -0.3725888133049011, 0.13416063785552979, -0.687879204750061, -0.3688458502292633, 0.4044048488140106, 0.35656502842903137, -0.21634283661842346, 0.06999295949935913, -0.3824176788330078, 0.44787758588790894, 0.030724424868822098, 0.08675075322389603, 0.12510554492473602, 0.5665285587310791, -0.09201934188604355, -0.3670327067375183, -0.371964693069458, 0.6389788389205933, 0.8269674181938171, -0.058961864560842514, 0.511903703212738, 0.15534628927707672, -0.3986801207065582, -0.2369306981563568, -0.2998169958591461, 0.07684407383203506, -0.49235934019088745, 0.9228453636169434, -0.281982421875, -0.45355746150016785, 1.0173306465148926, 0.1405191868543625, 0.16891811788082123, 0.19964799284934998, 0.6892626881599426, -0.31971144676208496, 1.042108178138733, 0.6519733667373657, 0.13392719626426697, 0.4634755551815033, 0.1796083003282547, 0.19457228481769562, -0.32142096757888794, -0.28306853771209717, -0.21902084350585938, -0.6577046513557434, -0.7268276214599609, -0.2634025514125824, 0.502555251121521, 0.12692122161388397, 0.2152102291584015, -0.09855899959802628, -0.33913710713386536, 0.5645378232002258, 0.3125573396682739, 0.12549026310443878, 0.5083800554275513, -0.21358875930309296, 0.24429357051849365, 0.15122486650943756, -0.34814751148223877, -0.40722930431365967, 0.9308167099952698, 0.2797490954399109, 0.7494782209396362, 0.43266913294792175, 0.6972923278808594, 0.5073340535163879, 0.05891184136271477, -0.740588366985321, 0.5578879714012146, -0.28036317229270935, -0.4722862243652344, -0.07382992655038834, -0.5554141402244568, -0.971625804901123, 0.20825524628162384, -0.16119806468486786, -0.7938723564147949, 0.32702741026878357, 0.42798447608947754, -0.4175073504447937, 0.49970608949661255, -0.6261671185493469, 0.7182474732398987, -0.183822900056839, -0.07333099842071533, -0.38539448380470276, -0.3311024010181427, 0.04473751410841942, -0.3567472994327545, 0.36058980226516724, -0.2778879404067993, -0.2287079393863678, 0.8463233709335327, -0.5770755410194397, 0.6440374851226807, -0.16337846219539642, -0.293577641248703, 0.0856441780924797, 0.4576866328716278, 0.3296719193458557, 0.2462940812110901, 0.18186919391155243, 0.17857465147972107, 0.48215869069099426, -0.6028805375099182, -0.5983928442001343, 0.8214426636695862, -0.31930989027023315, -0.38192275166511536, -0.753035843372345, -1.064009189605713, -0.4249715507030487, 0.2575145661830902, 0.08489290624856949, 0.667289674282074, -0.4048948585987091, 0.23469966650009155, 0.3744855523109436, -0.1001606285572052, 0.86932772397995, 0.6788107752799988, -0.3368862569332123, -0.40805086493492126, 0.807791531085968, 0.291429340839386, 0.09853048622608185, 0.21671846508979797, -0.06955331563949585, 0.11726085841655731, -1.0929161310195923, -0.22448360919952393, -0.10613701492547989, -0.443439245223999, -0.11484026163816452, -0.8342201113700867, -0.01736837439239025, -0.5131458640098572, -0.19616051018238068, -0.734438419342041, -0.43283388018608093, -0.10606669634580612, -0.01303609274327755, 0.11179357022047043, 0.9332608580589294, -0.1889810711145401, -0.03992539644241333, -0.684014618396759, 0.49891018867492676, 0.02813185378909111, 0.7877948880195618, 0.0929267480969429, -0.4714597761631012, -0.2342132329940796, 0.012606292963027954, -0.5496236085891724, -0.9824947714805603, 0.3718969523906708, 0.03508959710597992, 0.26822131872177124, 0.3659919798374176, 0.4287928640842438, 0.551104724407196, -0.21260744333267212, 0.8099286556243896, -0.13500559329986572, -0.48207518458366394, 0.3601098358631134, -0.6734818816184998, 0.34653952717781067, 0.5065135359764099, 0.24018429219722748, -0.47194722294807434, -0.748388946056366, -0.5434808135032654, -1.4052708148956299, 0.5557394623756409, 0.05677390098571777, 0.19857296347618103, -0.048183608800172806, 0.37055733799934387, 0.3336993157863617, 0.21092727780342102, -0.37545180320739746, -0.38511353731155396, -0.14251117408275604, -0.3388243019580841, -0.014571832492947578, -0.601956844329834, 0.03786766529083252, -0.1134314313530922, 0.4019268751144409, 0.21429002285003662, 0.016915632411837578, 0.12154578417539597, -0.02085256390273571, 0.05627348646521568, 0.23715977370738983, 0.5805909633636475, 0.6318582892417908, -0.7265640497207642, 0.16675984859466553, -0.08195441961288452, -1.0877882242202759, 0.08753930777311325, 0.41996127367019653, -0.4196453094482422, -0.29664331674575806, 0.1971225142478943, 0.5591439604759216, 0.07731287181377411, -0.5979459881782532, 0.4832850396633148, -0.2211504578590393, -0.0488421693444252, -0.0717376247048378, 0.009640614502131939, -0.3406149744987488, 0.2747856378555298, 0.5786882638931274, 0.18347300589084625, 0.23782186210155487, -0.6966904997825623, 0.14993131160736084, 0.22285643219947815, -0.4750683009624481, -0.5870609879493713, 0.882964015007019, 0.5025539994239807, -0.48373880982398987, 0.2862035632133484, -0.5729970335960388, -0.16521701216697693, 0.47164517641067505, 0.44504618644714355, 1.0958343744277954, 0.04313695803284645, 0.15434107184410095, -0.18194599449634552, 0.12314732372760773, 0.08472654968500137, 0.28354188799858093, -0.18196870386600494, -0.3324214220046997, -0.18867790699005127, -0.6584768295288086, -0.5478172898292542, 0.15482324361801147, -0.8646901249885559, 0.03536108881235123, -0.3676939904689789, -0.3164382874965668, 0.07939121872186661, -0.19429215788841248, -0.08665375411510468, 0.07511576265096664, -0.15658310055732727, 0.4421542286872864, -0.6668763756752014, 0.49764201045036316, 1.0847073793411255, -0.31018370389938354, -0.2245962768793106, 0.6228576898574829, 0.2852455675601959, -0.1644376516342163, -0.1081632748246193, -0.07796431332826614, 0.08872710168361664, -0.02084832265973091, -0.04752010852098465, -0.8578765988349915, 0.8775503635406494, -0.02191844768822193, -0.30011457204818726, -0.17750254273414612, -0.0839577466249466, 0.638491153717041, 0.11331935226917267, 0.2606522738933563, 0.566810131072998, 0.09349724650382996, -0.23850710690021515, -0.9110473990440369, 0.029752718284726143, -0.3666277825832367, -0.2834683358669281, 0.35122373700141907, -0.7323824763298035, 0.7415990233421326, -0.13477125763893127, -0.24009494483470917, -0.14704422652721405, 1.0145684480667114, -0.16188935935497284, 0.6473084092140198, 0.4674527943134308, 0.3126625120639801, 0.9303336143493652, -0.11048828065395355, 0.8227753639221191, -0.17310085892677307, 0.29014113545417786, 1.1752381324768066, -0.20361432433128357, 0.579791784286499, 0.18510274589061737, -0.17682945728302002, 0.43463948369026184, 0.6917100548744202, 0.09312672913074493, 0.7542720437049866, -0.11991559714078903, -0.1191948875784874, 0.0021492030937224627, 0.24481907486915588, -0.46652793884277344, 0.46544575691223145, 0.27327343821525574, 0.1103053167462349, -0.2803899645805359, -0.015312430448830128, 0.14383582770824432, 0.2159014195203781, -0.290991872549057, 0.9263830780982971, -0.09748174995183945, -0.4769829511642456, 0.4056432247161865, 0.10598094761371613, 0.9517360925674438, -0.3272888660430908, 0.43502286076545715, -0.6623595356941223, 0.280038058757782, -0.1757463812828064, -0.8892499804496765, 0.7824870944023132, 0.19854040443897247, -0.6324018836021423, -0.3951275050640106, 0.24703344702720642, -0.3706090450286865, -0.334669291973114, -0.03077428787946701, 0.2142699658870697, 0.10088195651769638, -0.40660521388053894, -0.44286048412323, -0.023472631350159645, -0.259636253118515, -0.5239236950874329, 0.7172417640686035, 0.7916227579116821, -0.11304658651351929, 0.6819036602973938, 0.048816826194524765, 0.04491109400987625, -0.3886868357658386, 0.15363246202468872, 0.7562771439552307, -0.9140941500663757, -0.8555907607078552, -0.7042135000228882, 0.5293536186218262, -0.1158713847398758, -0.5072884559631348, 0.7294510006904602, 0.8364571928977966, 0.5564802885055542, 0.24453258514404297, 0.567485511302948, -0.2807680070400238, 0.5724974870681763, -0.2566421627998352, 1.2527626752853394, -0.8435356020927429, 0.44487234950065613, -0.4497007429599762, -0.8743031620979309, -0.2605740427970886, 0.0652119517326355, -0.06592702865600586, 0.13246269524097443, 0.8878182768821716, 0.5521146655082703, -0.13030974566936493, -0.046560727059841156, 0.14500656723976135, 0.5962167978286743, 0.5121490955352783, 0.12164392322301865, 0.5885072350502014, -0.21472987532615662, 0.6117426156997681, -0.3818349838256836, -0.6663795709609985, -0.1836109161376953, -1.1565711498260498, -0.8601464033126831, -1.0204583406448364, -0.7844521999359131, -0.5077589750289917, 0.040078070014715195, 0.6392005681991577, 0.2912839949131012, -0.8558517694473267, -0.02372201904654503, -0.001520815072581172, -0.02773286961019039, -0.5273473858833313, -0.20194467902183533, 0.4336276650428772, 0.03815259411931038, -0.7432653903961182, 0.4339428246021271, 0.6038773059844971, 0.41321200132369995, -0.011054834350943565, 0.5220916867256165, 0.251028448343277, 0.031131254509091377, 0.5774821639060974, 0.04397846758365631, -0.43186357617378235, -0.010082488879561424, -0.2194133847951889, -0.14295700192451477, -0.005276429932564497, 0.7079380750656128, -0.48756495118141174, 0.23462755978107452, 0.5593277215957642, 0.4167104661464691, 0.47947150468826294, 0.1801033467054367, 0.5108945369720459, -0.5617325305938721, 0.17741759121418, 0.3117952346801758, 0.01510899979621172, 0.17685715854167938, -0.26573410630226135, -0.03478920832276344, 0.4695160388946533, -0.5834997296333313, -1.2197630405426025, -0.020646821707487106, -1.3231115341186523, -0.5238473415374756, 0.9934536218643188, 0.10382117331027985, -0.042648304253816605, -0.3217974007129669, 0.04392236843705177, 0.11416410654783249, -0.47125667333602905, 1.3419510126113892, 0.541155219078064, -0.1326816976070404, 0.2933458685874939, -0.040951646864414215, 0.5847436785697937, 0.3901115953922272, -0.9404618740081787, 0.6050437688827515, 0.6831989288330078, 0.17014364898204803, -0.24440763890743256, 0.8147587180137634, 0.023410076275467873, 0.02463560551404953, 0.2042209953069687, -0.17691214382648468, -0.23093758523464203, -0.31770753860473633, -0.2505543828010559, 0.5788918137550354, -0.1728830188512802, 0.041726380586624146 ]
http://arxiv.org/abs/2402.10553v1
http://arxiv.org/pdf/2402.10553v1
A novel integrated industrial approach with cobots in the age of industry 4.0 through conversational interaction and computer vision
2024-02-16T10:35:01
2024-02-16T10:35:01
Andrea Pazienza, Nicola Macchiarulo, Felice Vitulano, Antonio Fiorentini, Marco Cammisa, Leonardo Rigutini, Ernesto Di Iorio, Achille Globo, Antonio Trevisi
cs.RO
cs.RO, cs.CL, cs.CV, cs.LG
From robots that replace workers to robots that serve as helpful colleagues, the field of robotic automation is experiencing a new trend that represents a huge challenge for component manufacturers. The contribution starts from an innovative vision that sees an ever closer collaboration between Cobot, able to do a specific physical job with precision, the AI world, able to analyze information and support the decision-making process, and the man able to have a strategic vision of the future.
[ -0.6218111515045166, -0.6087705492973328, 0.835135817527771, -0.07382849603891373, -0.04972109571099281, 0.41273537278175354, 0.5043987035751343, -0.9499284029006958, 0.37738722562789917, 0.5443738102912903, -1.1854350566864014, -0.2210153043270111, -0.13548196852207184, 0.05153404548764229, -0.24521073698997498, 0.48701706528663635, -0.07258284091949463, -0.4134354293346405, -0.37417054176330566, 0.017389293760061264, -0.8791682720184326, -0.6606144905090332, -0.5563552975654602, -0.4672958552837372, 0.21351489424705505, 0.38732272386550903, 0.7119515538215637, 0.25280845165252686, 0.9845494031906128, 0.5470402240753174, 0.5106409788131714, 0.05803966894745827, -0.06325384229421616, -0.004607025068253279, -0.3557298183441162, -0.49109822511672974, -0.8371394872665405, 0.18127915263175964, -0.15627683699131012, 0.874055027961731, 0.16637398302555084, 0.0019377871649339795, -0.031962569802999496, 0.3866175413131714, -0.2566128075122833, 0.5259382724761963, -0.4537271559238434, 0.39424359798431396, 0.1182289570569992, -0.5444368124008179, -0.12841597199440002, -0.19199822843074799, -0.012177767232060432, -0.783911943435669, 0.17415402829647064, 0.12234554439783096, 1.0104048252105713, 0.4622995853424072, -0.14530450105667114, 0.02573338896036148, -1.1587656736373901, 0.7030777931213379, -0.35266199707984924, 0.27281245589256287, -0.09914922714233398, 0.8205673694610596, -0.39909374713897705, -1.0539536476135254, -0.7057836055755615, 0.28743699193000793, 0.25629922747612, 0.5448101162910461, -0.22708046436309814, 0.2946626842021942, -0.19758014380931854, 0.27893033623695374, -0.10407382249832153, 0.32370615005493164, -0.6667978763580322, -0.39695820212364197, 0.706417441368103, 0.3232344686985016, 0.3037807047367096, 0.1705746352672577, -0.7783846259117126, 0.009995699860155582, -0.13188189268112183, -0.14056558907032013, 0.5147348642349243, 0.11757795512676239, -0.1637222319841385, 0.21094295382499695, -0.6132514476776123, 0.5446921586990356, 0.187192901968956, 0.09694340080022812, 0.6502258777618408, -0.6916117072105408, -0.28078213334083557, -0.07371065765619278, 0.823180615901947, 0.7070777416229248, -0.22772236168384552, 0.03271864727139473, 0.08561264723539352, 0.32338976860046387, 0.5218260288238525, -0.09295075386762619, -0.3116123080253601, 0.4512771666049957, -0.19897279143333435, -0.1756696254014969, 0.21034088730812073, -0.8075205087661743, -0.1790304034948349, -0.6101622581481934, 0.5031480193138123, 0.22796131670475006, -0.1013902798295021, 0.20324839651584625, -0.6032818555831909, 0.6026989221572876, 0.8758531808853149, -0.7243729829788208, 0.042683690786361694, 0.9219769239425659, 0.7855152487754822, -0.011796612292528152, -0.003483033971861005, -0.23754377663135529, 0.48286667466163635, -0.5108568668365479, 0.8317466974258423, -0.24671369791030884, -0.2682889401912689, -0.25362178683280945, 0.2463558167219162, 0.36007317900657654, -0.6467390656471252, 0.07447842508554459, -0.5028748512268066, 0.4152924120426178, 0.26485785841941833, 0.18467237055301666, -0.5640851259231567, 0.5760701894760132, -0.8460778594017029, 0.5467754006385803, 0.19305755198001862, -0.2884264290332794, 0.4467501640319824, -0.9161702990531921, -0.19834455847740173, 0.6140375137329102, -0.8235279321670532, -0.46068131923675537, -0.3707486391067505, -0.2387833148241043, 0.5525902509689331, 0.06607662886381149, 0.08684178441762924, -0.6126752495765686, 0.145229309797287, 0.17250633239746094, -0.29657289385795593, 0.7038796544075012, 0.10023960471153259, -0.4277123808860779, 0.35703352093696594, -0.5646002292633057, -0.18377043306827545, -0.20753508806228638, 0.24817940592765808, 0.06776481121778488, -0.22586309909820557, -0.24905161559581757, 0.6014909148216248, 0.8749263882637024, -0.6068533062934875, 0.014702852815389633, -0.5383086800575256, 0.3846484422683716, 0.8436252474784851, 0.3469938039779663, 0.6570324897766113, -0.3291730284690857, 0.7427909970283508, -0.07841350883245468, 0.675279438495636, -0.24456074833869934, -0.47219476103782654, -1.0304806232452393, -0.21126143634319305, -0.5061861276626587, 0.4148947596549988, -0.9700413346290588, 0.6922814846038818, 0.14643292129039764, -0.4251044690608978, -0.2939351499080658, -0.12757360935211182, -0.08874023705720901, 0.5642342567443848, 0.19533473253250122, -0.9834035038948059, -0.5956131219863892, -1.0741981267929077, 0.20522738993167877, -0.054259903728961945, -0.2142823189496994, 0.19429846107959747, 0.313850998878479, -0.44635018706321716, 0.9323110580444336, -0.37612396478652954, -0.589298665523529, -0.34447821974754333, 0.16594642400741577, 0.7461208701133728, 0.5007345080375671, 0.12967725098133087, -0.9735860824584961, -0.3219660520553589, 0.6236838102340698, -1.1692612171173096, 0.3646407127380371, -0.10428968071937561, -0.18805758655071259, 0.30036434531211853, 0.955868661403656, -0.5269334316253662, 0.6107896566390991, 0.3899371922016144, 0.06966841965913773, 0.32650619745254517, -0.2522207498550415, 0.17564637959003448, -1.082509994506836, 0.0931190475821495, -0.03891925886273384, -0.1381656676530838, -0.7808727025985718, -0.035681456327438354, -0.7052470445632935, -0.22212567925453186, -0.5729683041572571, 0.10062863677740097, -0.3320837914943695, -0.4102003872394562, -0.17391754686832428, 0.2701887786388397, 0.2971721589565277, 0.6170520186424255, -0.09164638817310333, 0.5151551365852356, 0.05498648062348366, -0.6903718113899231, 1.035554051399231, 0.5485733151435852, -0.28364038467407227, 0.7367652058601379, -0.5491930246353149, 0.27241331338882446, 0.21802474558353424, 0.4500843286514282, -0.8041074872016907, -0.4603715240955353, 0.6351248621940613, -0.6010246276855469, -0.2204524129629135, 0.7542096376419067, -0.42841073870658875, -0.8477494716644287, -0.24118487536907196, 0.2589225172996521, 0.17655257880687714, -0.25541797280311584, 0.9935856461524963, 0.5575388669967651, -0.4853913187980652, -0.29121771454811096, -0.7932394742965698, 0.3361826241016388, -0.16290883719921112, -0.6989453434944153, 0.4707205593585968, -0.0518479198217392, -0.41673120856285095, -0.24986234307289124, -0.12991832196712494, -0.31180906295776367, 0.10457857698202133, -0.008777693845331669, 0.6976526379585266, 0.21364568173885345, -0.22967210412025452, -0.1115204468369484, -0.6285502910614014, 0.33731845021247864, 0.013212967664003372, 0.8109331727027893, 0.12002378702163696, -0.4114726185798645, -1.4894111156463623, 0.30681416392326355, 0.7091751098632812, -0.044162899255752563, 0.11127021163702011, 0.20476584136486053, -0.3433466851711273, 0.007053948473185301, -0.1723962128162384, -0.36146947741508484, -0.6821175217628479, 0.534407913684845, -0.38023316860198975, -0.42141416668891907, 0.4070304334163666, -0.440926730632782, 0.06684613227844238, 0.5213353633880615, 0.7565833926200867, -0.4373362958431244, 0.853989839553833, 0.9715321660041809, 0.11273494362831116, 0.3136065900325775, -0.426881343126297, 0.7895134091377258, -0.4926782548427582, -1.065170407295227, -0.4847797453403473, -0.5110002160072327, -0.6950302720069885, -0.3089006543159485, 0.6222843527793884, -0.46589648723602295, -0.43822216987609863, 0.47109904885292053, -0.6846530437469482, 0.040490660816431046, 0.9803699254989624, 0.27433669567108154, 0.5352612137794495, -0.678533136844635, 0.3673290014266968, 0.24105484783649445, -0.7648892402648926, -0.5626243352890015, 0.18650555610656738, 0.41483569145202637, 0.3491530120372772, -0.17550265789031982, 0.3635724186897278, 0.44731906056404114, -0.3846750855445862, -1.059197187423706, 0.8363624215126038, 0.33699697256088257, -0.7795315384864807, -0.2366551011800766, 0.19947469234466553, -0.9680923223495483, -0.32725122570991516, -0.017830733209848404, -0.5313482284545898, 0.5144577622413635, 0.3715614378452301, -0.47995898127555847, 0.20477937161922455, -0.7752426266670227, 1.1010183095932007, -0.47120699286460876, -0.2080155909061432, -0.48173001408576965, -0.9973084926605225, -0.0017866012640297413, -0.14745689928531647, 0.4930794835090637, -0.3185746371746063, -0.08752680569887161, 0.5676254034042358, -0.4499453604221344, 0.9676355123519897, 0.016491428017616272, -0.04066711664199829, 0.38607487082481384, -0.2914769649505615, 0.16545042395591736, -0.5687932372093201, -0.01846528798341751, 0.6002166271209717, -0.28620702028274536, -0.11651599407196045, -0.6008375287055969, 0.13640649616718292, -0.6096369028091431, -0.4526826739311218, -0.8370203971862793, -0.7070044875144958, -0.2412092238664627, 0.32820627093315125, 0.18412117660045624, 0.07481706142425537, -0.2632702589035034, 0.20958483219146729, -0.025739531964063644, -0.4734676778316498, 0.7849774360656738, -0.029442215338349342, 0.1905030757188797, -0.2665597200393677, 0.6856334805488586, -0.15288253128528595, 0.3613487482070923, 0.5959730744361877, -0.2454661726951599, 0.035052426159381866, -0.06740761548280716, -0.37432047724723816, -0.355535626411438, -0.7009907960891724, -0.34668266773223877, -0.49221429228782654, -0.273576945066452, -0.08367867767810822, -0.6896435022354126, -0.34428074955940247, -0.24958789348602295, -0.35919445753097534, 0.1002388447523117, 0.24572573602199554, 0.923089325428009, 0.10087592154741287, 0.34945032000541687, -0.6025800108909607, 0.09739832580089569, 0.47271624207496643, 0.25759026408195496, -0.19053982198238373, 0.14392460882663727, -0.41430580615997314, -0.03921058773994446, -0.6232163906097412, -0.23152050375938416, 0.45743706822395325, -0.18584756553173065, 0.6234970092773438, 0.43887585401535034, 0.050413668155670166, 0.3941326439380646, -0.504747211933136, 0.9061456918716431, 0.7633095979690552, -0.9409104585647583, 0.36906981468200684, -0.5498830676078796, 0.32397204637527466, 0.3003884553909302, 0.4093017280101776, -0.42699968814849854, -0.3068506717681885, -0.8046504855155945, -1.0182725191116333, 0.59175044298172, -0.15314260125160217, 0.06181295961141586, 0.4942842423915863, -0.12938714027404785, 0.35348647832870483, 0.378873735666275, -0.3858395516872406, 0.06142611801624298, 0.002259620698168874, -0.4859602153301239, 0.03506891429424286, 0.3642805218696594, -0.1643534153699875, -0.0202969778329134, 0.29769977927207947, -0.11630883812904358, 0.8875839114189148, -0.2192918062210083, 0.6195173859596252, -0.05127458646893501, 0.003048586891964078, 0.1395452618598938, 0.5786777138710022, -0.09670528024435043, -0.04440683126449585, 0.0676262229681015, -0.3318479359149933, 0.013782838359475136, -0.32352447509765625, 0.32873764634132385, -0.2824765145778656, 0.2641246020793915, 0.4341637194156647, -0.09726739674806595, -0.29242047667503357, 0.36871662735939026, 0.3801756203174591, -0.35040387511253357, -0.7722231149673462, 0.27062880992889404, -0.20642833411693573, 0.7909017205238342, 0.5101298689842224, 0.551363468170166, 0.40604355931282043, -0.8864908814430237, 0.4563414454460144, 0.41875678300857544, -0.68107008934021, -0.6838193535804749, 1.0199593305587769, 0.7832716703414917, -0.688667356967926, 0.11547085642814636, -0.13853807747364044, -0.672655463218689, 0.954585611820221, 0.19848106801509857, 0.8105691075325012, -0.0037538085598498583, 0.04759020730853081, 0.11237175762653351, 0.22273240983486176, 0.1436249315738678, 0.19158542156219482, 0.10373912006616592, -0.8632055521011353, -0.4269040822982788, -0.0488516204059124, -1.1894668340682983, -0.023183323442935944, -0.270027756690979, 0.6540008783340454, -0.729874312877655, 0.12800878286361694, 0.09988377243280411, -0.12223293632268906, -0.7794520854949951, 0.672640860080719, -0.1138598620891571, 0.11197184771299362, -0.7465121746063232, 0.42621225118637085, 0.4037477374076843, -0.6872372627258301, -0.2669004797935486, -0.16140225529670715, -0.0971384048461914, -0.9798781871795654, 0.826840341091156, 0.40193232893943787, -0.4586030840873718, 0.03399505466222763, -0.6794359683990479, -0.5615677237510681, 1.142047643661499, 0.042785804718732834, -0.6938057541847229, -0.03179021179676056, 0.19518180191516876, 0.3833996057510376, -0.3005490005016327, -0.07990072667598724, 0.25585320591926575, 0.44186922907829285, 0.15887776017189026, -0.9085975885391235, -0.13825346529483795, -0.23752976953983307, -0.17681199312210083, 0.280224084854126, -1.0725407600402832, 0.5932087302207947, 0.3351503014564514, -0.0672602429986, -0.035527877509593964, 0.8710658550262451, -0.049251917749643326, 0.9629889130592346, 0.47125712037086487, 0.2272263616323471, 0.5071687698364258, 0.03583170101046562, 0.6104080080986023, -0.24750980734825134, -0.06846075505018234, 0.8900711536407471, -0.2028941959142685, 0.5639886856079102, 0.39378464221954346, -0.21269485354423523, 0.922564685344696, 0.34463611245155334, -0.15984712541103363, 0.476318895816803, -0.4350634515285492, -0.5477792024612427, 0.04307923465967178, -0.14187271893024445, -0.09408015012741089, 1.0222671031951904, 0.30212265253067017, 0.19869691133499146, 0.4242766499519348, 0.2430805265903473, -0.21548990905284882, 0.2576441764831543, -0.3669494092464447, 0.8140058517456055, -0.16142241656780243, -0.3225705027580261, -0.15054543316364288, -0.4368951618671417, 0.6007833480834961, -0.1262488216161728, -0.4136865437030792, 0.1359819918870926, 0.466116338968277, -0.19947554171085358, -0.7807109951972961, 0.6941738724708557, -0.5676507949829102, -0.018449800089001656, -0.3617711365222931, 0.6756761074066162, 0.11643382161855698, -0.32090815901756287, 0.2080540955066681, 0.2975134551525116, 0.26413586735725403, 0.2157374769449234, -0.36150091886520386, 0.17651140689849854, 0.0351056344807148, 0.43312692642211914, -0.14139407873153687, 0.5934060215950012, -0.07769079506397247, 0.6706023812294006, 0.16047576069831848, -0.5015074014663696, -0.38484567403793335, -0.28087401390075684, 0.6675413846969604, -0.9016216397285461, -0.45621567964553833, -0.43616530299186707, 0.7145771980285645, -0.36867162585258484, 0.031305957585573196, 0.8639808297157288, 0.5298831462860107, 1.245063304901123, 0.02453293278813362, 1.1934363842010498, -0.18578539788722992, 0.38522475957870483, -0.1267170011997223, 0.3910692036151886, -0.6158021688461304, -0.13185693323612213, -0.4635094702243805, -0.5776982307434082, -0.5380241870880127, 0.6615982055664062, -0.23321717977523804, 0.2654586136341095, 0.5377760529518127, 0.5681702494621277, 0.02368914522230625, -0.1484997421503067, 0.48954299092292786, 0.04543246328830719, 0.603839635848999, 0.34934496879577637, 0.6621591448783875, -0.45670342445373535, 0.46110206842422485, -0.12022331357002258, -0.47205936908721924, -0.490664005279541, -0.8661983609199524, -0.308310329914093, -0.6698510050773621, -0.18189667165279388, 0.012774967588484287, -0.3153386116027832, 0.8492752909660339, 0.6103430390357971, -0.6751098036766052, -0.4221152663230896, -0.5414941310882568, -0.38300198316574097, -0.42704638838768005, -0.18015025556087494, -0.1256200224161148, -0.22561071813106537, -1.0829988718032837, 0.27445846796035767, 0.9546585083007812, -0.21949847042560577, -0.5883538126945496, 0.11693645268678665, -0.22020003199577332, 0.16995827853679657, 0.7003578543663025, 0.22863447666168213, -0.3522695004940033, -0.5432599782943726, 0.04251350462436676, 0.27674639225006104, 0.36437490582466125, 0.11991383135318756, -0.7591181397438049, 0.7660757303237915, 0.46441659331321716, 0.6338426470756531, 0.3814486861228943, -0.026551945134997368, 1.1343883275985718, -0.4231211543083191, 0.5455383062362671, 0.34697723388671875, 0.08147821575403214, 0.4479556381702423, -0.3861719071865082, 0.5869978070259094, 0.45174527168273926, -0.6890317797660828, -0.29477035999298096, 0.629185140132904, -1.3366440534591675, 0.016998276114463806, 0.3236747682094574, 0.2519278824329376, -0.3121374845504761, -0.6331924796104431, -0.2714375853538513, 0.6387868523597717, -0.3088875412940979, 0.8606517910957336, 0.36110275983810425, -0.5662601590156555, 0.056860025972127914, -0.6510006189346313, -0.057889096438884735, 0.1517740935087204, -1.192246437072754, -0.5986546874046326, 0.6087968349456787, -0.5739423632621765, 0.5761403441429138, 0.5412073731422424, -0.0446099191904068, 0.18773484230041504, 0.39481160044670105, 0.7172057628631592, 0.34452924132347107, -0.5348516702651978, -0.1313815414905548, 0.07022928446531296, 0.0941576287150383, -0.7898852229118347 ]
http://arxiv.org/abs/2402.10552v3
http://arxiv.org/pdf/2402.10552v3
Conversational SimulMT: Efficient Simultaneous Translation with Large Language Models
2024-02-16T10:32:16
2024-06-21T07:18:13
Minghan Wang, Thuy-Trang Vu, Yuxia Wang, Ehsan Shareghi, Gholamreza Haffari
cs.CL
cs.CL
Simultaneous machine translation (SimulMT) presents a challenging trade-off between translation quality and latency. Recent studies have shown that LLMs can achieve good performance in SimulMT tasks. However, this often comes at the expense of high inference cost and latency. In this paper, we propose a conversational SimulMT framework to enhance the inference efficiency of LLM-based SimulMT through multi-turn-dialogue-based decoding. Our experiments with Llama2-7b-chat on two SimulMT benchmarks demonstrate the superiority of LLM in translation quality while achieving comparable computational latency to specialized SimulMT models.
[ -0.08513126522302628, -0.7753386497497559, 0.6087294220924377, 0.6647672653198242, -0.6882193684577942, 0.4882641136646271, -0.18424925208091736, -0.401751846075058, 0.1947992742061615, 0.7478684782981873, -0.5569016933441162, -0.405947744846344, -0.5340726971626282, 0.13127997517585754, -0.30809274315834045, 0.5038601756095886, 0.10948622226715088, 0.43656599521636963, -0.30917006731033325, -0.040669385343790054, -0.3879733979701996, -0.6995777487754822, -0.6929709911346436, -0.367402583360672, 0.3218870460987091, 0.2957845628261566, 0.930310070514679, 0.514960765838623, 0.45396432280540466, 0.28587013483047485, -0.052414171397686005, 0.6145783066749573, -0.5784448385238647, 0.23412330448627472, 0.41022178530693054, -0.7708625197410583, -0.5641264915466309, -0.3412317931652069, 0.5962835550308228, 0.7378743290901184, -0.15195110440254211, -0.2265838086605072, -0.052022285759449005, 0.45117446780204773, -0.157157763838768, 0.3991195261478424, -0.4545428156852722, -0.21403980255126953, -0.08501071482896805, -0.4697221517562866, -0.7032228112220764, -0.5257074236869812, -0.3079321086406708, -0.4084773659706116, 0.05975843966007233, 0.31278324127197266, 0.5151361227035522, 0.5602055788040161, -0.48610252141952515, -0.1000300794839859, -0.7329300045967102, 0.9209398627281189, -0.9796189069747925, 0.560698926448822, 0.12089360505342484, 0.4191141724586487, -0.5239105820655823, -0.6513542532920837, -0.5274028182029724, -0.20048311352729797, -0.10240781307220459, 0.34394773840904236, -0.07176341861486435, 0.2351728230714798, 0.09900416433811188, 0.48278480768203735, -0.5254772305488586, -0.0990619882941246, 0.06081554666161537, -0.023092105984687805, 0.474091500043869, 0.3924179971218109, 0.12368524074554443, -0.02104458585381508, -0.3530154824256897, -0.11073014885187149, -0.5173887610435486, -0.20746973156929016, 0.44855913519859314, 0.2535914480686188, -0.17753542959690094, 0.6024280190467834, -0.2610067129135132, 0.3612214922904968, -0.23053640127182007, -0.4232942461967468, 0.28075018525123596, -0.5140471458435059, -0.11567189544439316, 0.0062486594542860985, 0.8059365749359131, 0.4481012225151062, -0.09141061455011368, -0.3168034851551056, -0.029479438439011574, -0.0011668787337839603, 0.11964830756187439, -1.0356059074401855, 0.01827402226626873, 0.4247722625732422, -0.38222602009773254, -0.050122469663619995, -0.04290730878710747, -0.6508662700653076, -0.07135991752147675, -0.14580725133419037, 0.019240159541368484, -0.5523721575737, -0.26289102435112, 0.4470326006412506, 0.1305994838476181, 0.22528527677059174, 0.7055969834327698, -0.4600067734718323, 0.3860528767108917, 0.5905157327651978, 1.0502634048461914, -0.47722935676574707, -0.0799492746591568, -0.6477025151252747, 0.2635727822780609, -0.273292601108551, 0.6938176155090332, -0.4071078598499298, -0.595198929309845, -0.2406916469335556, -0.35559454560279846, -0.29730525612831116, -0.5416996479034424, 0.4775291383266449, -0.4301087260246277, -0.09729152917861938, 0.020356858149170876, -0.43128344416618347, -0.26700735092163086, 0.16724413633346558, -0.5917609333992004, 0.9420132637023926, -0.303634911775589, -0.6153514385223389, -0.2186969816684723, -0.5307906270027161, -0.6699823141098022, 0.1425732523202896, -0.09260100871324539, -0.3322676122188568, 0.28112322092056274, 0.43296724557876587, 0.38992905616760254, -0.5828083157539368, 0.44693687558174133, -0.236016646027565, -0.5440643429756165, 0.6790720224380493, -0.8621568083763123, 0.5069385766983032, 0.44948136806488037, 0.0053892722353339195, -0.08462898433208466, -0.5906188488006592, 0.0425012931227684, 0.14272066950798035, -0.504921555519104, 0.14792752265930176, 0.034756921231746674, 0.0599578358232975, 0.1855974793434143, 0.10577722638845444, -0.3608660399913788, 0.286773681640625, -0.4810847043991089, 0.17803214490413666, 0.2907910943031311, -0.03092113509774208, 0.183476060628891, -0.4814547598361969, 0.5110391974449158, 0.40479904413223267, -0.09171903878450394, -0.32926440238952637, -0.6015706062316895, -1.1689411401748657, -0.5738770961761475, 0.18944036960601807, 0.686826765537262, -1.1028797626495361, 0.005518670193850994, -0.3790641725063324, -0.378211110830307, -0.870690107345581, 0.09696948528289795, 0.3862103819847107, -0.057661958038806915, 0.5185480713844299, -0.2657029628753662, -0.38047024607658386, -0.717331051826477, -0.37417852878570557, -0.1648261398077011, 0.1372147798538208, 0.5440422892570496, 0.005638114642351866, -0.22855502367019653, 0.5917654633522034, -0.38258519768714905, 0.02575927972793579, -0.5814869403839111, 0.3547053337097168, 0.3960784077644348, 0.4179134964942932, 0.18689681589603424, -0.725740909576416, -0.33640196919441223, 0.05524571239948273, -0.7192308306694031, -0.37838003039360046, -0.44732365012168884, -0.28226718306541443, 0.12707531452178955, 0.6714121699333191, -0.6837936043739319, 0.35986506938934326, 0.7409264445304871, 0.14166004955768585, 0.38012099266052246, -0.20204703509807587, 0.379646360874176, -1.2860451936721802, -0.1315491795539856, -0.5766019821166992, -0.5554456114768982, -0.7188801765441895, -0.1888585239648819, -0.01865288056433201, 0.26398420333862305, -0.6332880854606628, 0.30293768644332886, -0.4987430274486542, -0.27374595403671265, -0.14136464893817902, 0.004099099896848202, -0.01348301861435175, 0.6401230692863464, 0.11284000426530838, 1.1931253671646118, 0.03987739980220795, -0.5103127360343933, 0.22782669961452484, 0.3170422613620758, -0.08361716568470001, 0.5854292511940002, -0.5369812250137329, 0.18712648749351501, 0.22465263307094574, 0.5299723744392395, -1.095293402671814, -0.36084356904029846, 0.1388462632894516, -0.33714234828948975, 0.2751273214817047, -0.23543322086334229, -0.7591979503631592, -0.11430045962333679, -0.09582728147506714, 0.5726003050804138, 0.5338202714920044, -0.6431776285171509, 0.7047596573829651, -0.004598229192197323, -0.2516076862812042, -0.4130554795265198, -0.829099714756012, 0.4311506748199463, -0.09286878257989883, -0.836346447467804, 0.1245584785938263, -0.16591480374336243, -0.038303475826978683, -0.5029140710830688, -0.03119020164012909, 0.08200693875551224, 0.03449404239654541, 0.49339959025382996, -0.06387432664632797, -0.23451736569404602, -0.1531105637550354, 0.3783891499042511, -0.2653963565826416, -0.01685546524822712, -0.15085355937480927, 0.8032980561256409, -0.18657825887203217, -0.7703417539596558, -0.5414445996284485, 0.578991174697876, 0.7272002100944519, 0.08192557096481323, 0.8205713033676147, 0.5009894967079163, 0.0992332473397255, -0.08492042869329453, -0.8653472661972046, -0.1356649398803711, -0.4368041157722473, 0.2542255222797394, -0.6327707767486572, -0.8115279674530029, 0.4291890859603882, -0.5813387632369995, -0.11548931151628494, 0.0022308137267827988, 0.8540038466453552, -0.12218202650547028, 1.1898716688156128, 0.2658001482486725, 0.4062940776348114, 0.32584303617477417, -0.04996047914028168, 0.27577781677246094, -0.7561400532722473, -0.27265509963035583, -0.34805575013160706, 0.03571009635925293, -0.4556889533996582, -0.9253654479980469, 0.3446684777736664, 0.2213371992111206, 0.09795286506414413, 0.19530339539051056, 0.13557885587215424, 0.30023640394210815, 0.6180599331855774, 0.27481377124786377, 0.8439733386039734, 0.16990789771080017, -0.288541316986084, -0.08341219276189804, -0.8301228284835815, -0.6014546155929565, 0.6860636472702026, 0.34450793266296387, 0.9494645595550537, 0.37309783697128296, 0.620220959186554, -0.07218511402606964, 0.18463410437107086, -0.7876123189926147, 0.6489346623420715, -0.010304157622158527, -0.3572153151035309, 0.08901636302471161, -0.6673767566680908, -0.733146071434021, 0.5696439146995544, -0.023825427517294884, -0.47541600465774536, -0.2227775901556015, 0.133738711476326, 0.05849222093820572, 0.25342994928359985, -0.5469045042991638, 0.5525339841842651, -0.38886475563049316, -0.3634818196296692, -0.3904952108860016, -0.6481149792671204, 0.48186996579170227, -0.14603078365325928, 0.14366236329078674, -0.3661380708217621, 0.013704243116080761, 0.3579958379268646, -0.3924300968647003, 0.7736217975616455, 0.20407924056053162, 0.05593792349100113, -0.03287447243928909, 0.2692277431488037, 0.4229027330875397, 0.2343839854001999, -0.13781806826591492, 0.42805349826812744, 0.04368944838643074, -0.44980522990226746, -0.5557554364204407, 0.45957931876182556, -0.8018569946289062, -0.5817407965660095, -0.38029974699020386, -0.9998038411140442, -0.35377827286720276, 0.049112945795059204, 0.18802115321159363, 0.22770078480243683, -0.27947691082954407, 0.1448518931865692, 0.4918244481086731, -0.2870255410671234, 0.30351492762565613, 0.3469002842903137, -0.42599546909332275, -0.4779663681983948, 0.7800248861312866, -0.1739814430475235, 0.6585937738418579, 0.4549924433231354, -0.12777584791183472, -0.3717842996120453, -0.6900240182876587, -0.7281347513198853, 0.4759596884250641, -0.6554913520812988, -0.32153451442718506, -1.03557288646698, -0.1749931275844574, -0.20259013772010803, -0.03742280229926109, -0.6915684938430786, -0.3872624635696411, -0.19167673587799072, 0.2952907979488373, 0.28247135877609253, 0.5765005350112915, 0.05243866518139839, 0.8116280436515808, -0.8434205055236816, 0.49830010533332825, 0.0841025859117508, 0.06588393449783325, -0.23236405849456787, -0.4881322979927063, -0.11704778671264648, 0.20785222947597504, -0.05124887079000473, -0.7357210516929626, 0.5795325040817261, -0.09803832322359085, 0.46799686551094055, 0.17819124460220337, 0.08818484842777252, 0.8270291090011597, -0.44575053453445435, 0.6122421026229858, 0.37151381373405457, -0.9857037663459778, 0.15384799242019653, -0.17649994790554047, 0.5623665452003479, 0.44426649808883667, 0.04968305677175522, -0.6703653931617737, -0.5256683230400085, -0.3247148096561432, -0.7048253417015076, 0.9747675657272339, 0.6580449342727661, 0.1605147123336792, -0.016208309680223465, 0.1521446257829666, 0.17794102430343628, 0.3201504647731781, -0.4167065918445587, -0.32528701424598694, -0.08062786608934402, -0.28484073281288147, 0.038333818316459656, -0.49336516857147217, 0.015574241057038307, -0.031744737178087234, 0.7330000996589661, -0.31174159049987793, 0.4372994005680084, -0.059017058461904526, -0.306219220161438, 0.2114015370607376, 0.40272554755210876, 0.44086918234825134, 0.2593717873096466, -0.22295436263084412, 0.28340277075767517, 0.5052496194839478, -0.4284047782421112, 0.3222077190876007, 0.040985219180583954, -0.05352785065770149, 0.1394294649362564, 0.2857576906681061, 1.022063136100769, 0.39789631962776184, -0.48313337564468384, 0.48384103178977966, -0.3546462953090668, 0.017957009375095367, 0.12009337544441223, 0.18928369879722595, 0.48333796858787537, 0.4632924497127533, 0.20969054102897644, -0.048834580928087234, 0.13353665173053741, -0.14045748114585876, -0.09235098958015442, 0.2818688154220581, -0.03698866441845894, -0.05466168746352196, 0.6077550053596497, 0.28976181149482727, -0.39235758781433105, 0.5193494558334351, -0.042916636914014816, -0.5272979140281677, 0.341106116771698, 0.7129063606262207, 0.732202410697937, -0.2629110515117645, 0.08498203754425049, 0.13351574540138245, 0.12429167330265045, -0.2941710352897644, 0.3050532341003418, -0.1244397833943367, -0.5291011333465576, -0.7503426671028137, -0.7449427247047424, -0.9335521459579468, -0.113113634288311, -0.6025065779685974, 0.14879310131072998, -0.018967725336551666, 0.0023487317375838757, -0.3998650908470154, -0.26372161507606506, -0.46181347966194153, -0.04910264536738396, 0.036402422934770584, 0.6440386772155762, -0.4209561049938202, 0.962832510471344, 0.35038208961486816, -0.1091097891330719, -0.5073989033699036, -0.026092061772942543, -0.14203380048274994, -0.7126001119613647, 0.38097459077835083, 0.31047093868255615, -0.715701699256897, 0.21830444037914276, -0.4395391345024109, -0.6573548316955566, 1.0771862268447876, 0.799178957939148, -0.6648951172828674, 0.20398195087909698, 0.7198259830474854, 0.3299264907836914, -0.39444467425346375, 0.4428887963294983, 0.7756767272949219, 0.3344903886318207, 0.6016666889190674, -0.8794612884521484, -0.09878462553024292, -0.10408561676740646, 0.1484486311674118, 0.061105817556381226, -0.7570309042930603, 0.5345430970191956, -0.1256025731563568, -0.40773260593414307, 0.2110356241464615, 0.7608287930488586, 0.19519862532615662, 0.2377549260854721, 0.29942581057548523, 0.28156381845474243, 0.46664702892303467, -0.16988809406757355, 1.1591874361038208, -0.21077460050582886, 0.24311482906341553, 1.163881778717041, -0.0960666760802269, 0.8907167315483093, 0.7290365099906921, -0.269503653049469, 0.04490669444203377, 0.4350357949733734, 0.4464408755302429, 0.3798693120479584, 0.0720323994755745, -0.44816672801971436, -0.7706979513168335, -0.1905583292245865, -0.385557621717453, 0.3459523022174835, 0.5002431273460388, 0.000788906414527446, -0.08031413704156876, -0.18698996305465698, 0.21654364466667175, -0.07367859035730362, 0.2213866114616394, 0.8912152051925659, 0.3270827829837799, -0.5410315990447998, 0.6087680459022522, 0.07278519123792648, 0.5145610570907593, -0.377794474363327, -0.1375080943107605, -0.6935559511184692, 0.20303918421268463, -0.015258408151566982, -0.45123836398124695, 0.16755232214927673, -0.19312140345573425, 0.06554167717695236, -0.1747831553220749, 0.36649975180625916, -0.784077525138855, -0.5524005889892578, 0.4149760901927948, 1.0153980255126953, 0.6410976052284241, -0.05813383311033249, -0.6574291586875916, 0.5524054169654846, 0.027035027742385864, -0.3201049864292145, 0.05232013761997223, 0.4979110062122345, 0.06436166912317276, 0.7511399388313293, 0.8811017274856567, -0.03984375298023224, 0.20351320505142212, 0.295617938041687, 0.9038445353507996, -0.5761207342147827, -0.5367815494537354, -0.8451188206672668, 0.2666255831718445, -0.11779039353132248, 0.08966971188783646, 0.7290546894073486, 0.5636494159698486, 0.5525700449943542, 0.10096748173236847, 0.6353476643562317, 0.40827319025993347, 0.2619529366493225, -0.7986592650413513, 0.37667396664619446, -0.5083888173103333, 0.5399134755134583, -0.1570751667022705, -0.9501270055770874, -0.4689812660217285, 0.5396437644958496, -0.09623634070158005, -0.05703604221343994, 0.7613158226013184, 0.9527289867401123, -0.3316181004047394, 0.1383669674396515, 0.6829370260238647, 0.2636939287185669, 0.6006094217300415, 0.7314633131027222, 1.0569450855255127, -0.5127605199813843, 0.7574477195739746, -0.0813116803765297, -0.029990138486027718, -0.7122019529342651, -0.9055251479148865, -1.1040022373199463, -0.18246106803417206, -0.236075758934021, -0.4442206621170044, 0.18967844545841217, 0.99144446849823, 0.7247224450111389, -0.7034669518470764, -0.38956940174102783, 0.039109863340854645, 0.14993493258953094, -0.23995400965213776, -0.12817531824111938, 0.11332657188177109, -0.4452070891857147, -1.047961950302124, 0.5865287780761719, 0.542275071144104, 0.16339506208896637, -0.04576347768306732, -0.4557177424430847, -0.23401904106140137, 0.48625805974006653, 0.531545877456665, -0.1929054707288742, -0.9199028611183167, 0.08492843806743622, -0.07091014832258224, -0.35488831996917725, 0.3313818573951721, 0.9036144614219666, -0.48832976818084717, 0.4462805390357971, 0.2692374885082245, 0.9223753213882446, 1.0717984437942505, 0.13888253271579742, 0.6312975287437439, -0.6333547234535217, 0.38228967785835266, 0.08553951233625412, 0.2849716246128082, 0.5262676477432251, -0.25146621465682983, 0.5796205401420593, 0.218262180685997, -0.33840858936309814, -0.7289214134216309, 0.21558472514152527, -1.2814263105392456, -0.0832323282957077, 1.3180019855499268, -0.23442111909389496, -0.17334401607513428, -0.307692289352417, -0.6378178596496582, 0.4068146347999573, -0.4964495301246643, 0.17793427407741547, 0.5301924347877502, -0.2708977162837982, -0.37454667687416077, -0.673429012298584, 0.25895199179649353, 0.7131900191307068, -1.0581632852554321, 0.07112714648246765, 0.4209367334842682, -0.12106512486934662, -0.055621612817049026, 0.5615085959434509, -0.043665193021297455, 0.1128465011715889, 0.2034672647714615, -0.06496685743331909, -0.38877367973327637, -0.24403178691864014, -0.20035602152347565, 0.15598924458026886, 0.07145939022302628, -0.13498146831989288 ]
http://arxiv.org/abs/2402.10543v1
http://arxiv.org/pdf/2402.10543v1
Strong hallucinations from negation and how to fix them
2024-02-16T10:11:20
2024-02-16T10:11:20
Nicholas Asher, Swarnadeep Bhar
cs.CL
cs.CL, cs.AI, I.2.7
Despite great performance on many tasks, language models (LMs) still struggle with reasoning, sometimes providing responses that cannot possibly be true because they stem from logical incoherence. We call such responses \textit{strong hallucinations} and prove that they follow from an LM's computation of its internal representations for logical operators and outputs from those representations. Focusing on negation, we provide a novel solution in which negation is treated not as another element of a latent representation, but as \textit{an operation over an LM's latent representations that constrains how they may evolve}. We show that our approach improves model performance in cloze prompting and natural language inference tasks with negation without requiring training on sparse negative data.
[ -0.3900676965713501, -1.091819167137146, 0.7689962983131409, -0.10647980123758316, -0.20411738753318787, -0.31097733974456787, -0.274078369140625, -0.6489459872245789, 0.45478296279907227, 0.943432629108429, -0.5584383010864258, -0.1632310003042221, -0.7565485239028931, 0.14679524302482605, -0.43568384647369385, 0.9217174649238586, 0.4008500576019287, 0.2812754213809967, -0.05966924875974655, -0.09886284172534943, -0.8754783272743225, -0.8498203754425049, -0.46031975746154785, -0.5993039608001709, 0.4177163541316986, 0.27911272644996643, 1.1745749711990356, 0.19687479734420776, 0.24352121353149414, 0.2995929419994354, -0.007089162711054087, 0.23036375641822815, -0.5373488664627075, 0.48572275042533875, -0.3815227746963501, -0.49060508608818054, -0.16449971497058868, -0.29098206758499146, 0.2074928730726242, 1.020081639289856, -0.1436690092086792, -0.42113980650901794, -0.0029660111758857965, 0.4342826008796692, -0.32004040479660034, -0.11688878387212753, -0.9234500527381897, 0.25951752066612244, 0.07390731573104858, -0.171686589717865, -0.6568036079406738, -0.28003063797950745, 0.13543720543384552, -0.2669132351875305, 0.20903874933719635, -0.15379191935062408, 1.0093309879302979, 0.5068364143371582, -0.41826000809669495, -0.4985292851924896, -0.8103501200675964, 0.7438288331031799, -0.8377076387405396, 0.3582158088684082, 0.5006622672080994, 0.20072230696678162, -0.5520116090774536, -0.3869664669036865, -0.6263936758041382, -0.5909833312034607, -0.24197852611541748, -0.3562794327735901, 0.04979552701115608, 0.153560072183609, 0.5256061553955078, 0.22696632146835327, -0.42388302087783813, 0.11047669500112534, -0.35286015272140503, -0.45738619565963745, 0.45671185851097107, 0.2195543646812439, 0.33890393376350403, -0.1722879707813263, -0.06194585934281349, 0.047348398715257645, -0.671245813369751, -0.41516175866127014, 0.4819469153881073, 0.35976096987724304, 0.30389404296875, 0.7999776601791382, 0.16339044272899628, 0.8342956304550171, 0.2071448415517807, 0.13938188552856445, 0.265522301197052, 0.12052128463983536, -0.19730402529239655, 0.18311436474323273, 0.2590251863002777, 0.05298377200961113, 0.3771931231021881, -0.42440399527549744, -0.4045761227607727, 0.6074061393737793, 0.5096057057380676, -0.5986596345901489, -0.4646521508693695, 0.2923583686351776, -0.39985886216163635, -0.0115067008882761, -0.14140096306800842, -0.6894369721412659, -1.0650110244750977, -0.5803265571594238, 0.8065093755722046, -0.4375190734863281, -0.2906780540943146, 0.25837820768356323, -0.03613919019699097, 0.0684351995587349, 0.3982507288455963, -0.8861791491508484, 0.4975772500038147, 0.4185546040534973, 0.5298269987106323, 0.19366885721683502, -0.08322392404079437, -0.8591998815536499, -0.3256071209907532, -0.5801683068275452, 0.6641576886177063, -0.7114277482032776, -0.15286418795585632, -0.13075821101665497, 0.1968468576669693, 0.052282609045505524, -1.0501108169555664, 0.36432045698165894, -0.25961217284202576, 0.22787196934223175, -0.17193320393562317, -0.5425693392753601, -0.4014725685119629, -0.02629069797694683, -0.6815124750137329, 0.7333835959434509, -0.01689610816538334, -0.4017292261123657, 0.07973837107419968, -0.29431837797164917, -0.6017155051231384, -0.06458339095115662, -0.2571706473827362, -0.2643883526325226, 0.5835596919059753, 0.09224813431501389, 0.4817575216293335, 0.045775044709444046, 0.41007447242736816, -0.38169941306114197, -0.3894178867340088, 0.3563151955604553, -0.043603040277957916, 0.8512514233589172, -0.08514401316642761, -0.5949702262878418, 0.546863317489624, -0.6439259052276611, -0.2388322502374649, 0.30999937653541565, 0.37577304244041443, -0.4415854513645172, 0.23397140204906464, -0.48205652832984924, 0.19655582308769226, 0.08175953477621078, -0.25430312752723694, 0.2916455864906311, -0.6484555602073669, 0.36762332916259766, 0.8683249354362488, 0.10403064638376236, 0.5454822778701782, -0.11812052130699158, 0.25810667872428894, 0.13606776297092438, -0.16489720344543457, -0.03675178065896034, -0.4859706163406372, -1.0633679628372192, 0.05413037911057472, -0.14656203985214233, 0.28216129541397095, -0.7598397731781006, 0.24752572178840637, 0.34316486120224, -0.35000699758529663, -0.3535098433494568, 0.3010469675064087, 0.05682236701250076, 0.7757275104522705, 0.5796999931335449, -0.08307279646396637, -0.634681761264801, -0.9133996367454529, -0.1885068267583847, -0.12903958559036255, 0.05910992994904518, 0.09619428962469101, 0.632892370223999, -0.5099074840545654, 0.34411975741386414, -0.44546908140182495, -0.2783932387828827, -0.2608603537082672, 0.3273286819458008, 0.4433300793170929, 0.30100002884864807, 0.2122594714164734, -0.5980604887008667, 0.09444449096918106, -0.2311030924320221, -0.9581574201583862, -0.2076282501220703, -0.3440430164337158, 0.041166696697473526, 0.4279707074165344, 0.5925083756446838, -0.6193979382514954, 0.5206624865531921, 0.3441591262817383, -0.5523704290390015, 0.7370373606681824, -0.11431840807199478, -0.10860855877399445, -0.4902968108654022, -0.361096054315567, -0.28590887784957886, -0.11472238600254059, -0.6202215552330017, 0.13319097459316254, -0.24746668338775635, -0.15035347640514374, -0.16570721566677094, 0.4389677047729492, -0.46668675541877747, 0.1992989033460617, -0.43864768743515015, 0.11790652573108673, -0.17298159003257751, 0.4511650502681732, 0.2874842882156372, 0.23194387555122375, 0.8771125078201294, -0.90056312084198, 0.3265342116355896, 0.0406176932156086, 0.07488000392913818, 0.3108551502227783, -0.6851361989974976, 0.2997032105922699, -0.5243387818336487, 0.02385249361395836, -0.6484078764915466, -0.4126267433166504, 0.36927494406700134, -0.31123557686805725, 0.1425512135028839, 0.06413554400205612, -0.5611705780029297, -0.27554699778556824, -0.09362830221652985, 0.10123029351234436, 0.47970688343048096, -0.6269935369491577, 0.5915133953094482, 0.23594127595424652, 0.18434852361679077, -0.32195723056793213, -0.7752437591552734, 0.2837758958339691, -0.2513437569141388, -0.502877950668335, 0.19615797698497772, -0.20601972937583923, -0.650205671787262, 0.14642630517482758, -0.11272750049829483, -0.07618024200201035, 0.11465400457382202, 0.3652336597442627, 0.06338196247816086, -0.21729421615600586, 0.3789794147014618, -0.07139255106449127, -0.07711239159107208, 0.22527343034744263, -0.1801883429288864, 0.7886132001876831, -0.062047168612480164, -0.3879486620426178, -0.392493337392807, 0.2792394459247589, 0.5123997330665588, -0.056368496268987656, 0.8953156471252441, 0.3958436846733093, -0.9284127354621887, -0.5947169065475464, -0.5021324157714844, -1.1080683469772339, -0.4114358723163605, 0.2100243717432022, -0.32486048340797424, -0.8505164384841919, 0.6917431950569153, 0.38621634244918823, -0.2669885456562042, 0.45221105217933655, 0.47382330894470215, 0.06175237521529198, 1.1279611587524414, 0.28709250688552856, 0.3832213878631592, 0.20223204791545868, -0.05203007906675339, 0.6087868809700012, -0.33134394884109497, -0.31571871042251587, -0.44651898741722107, -0.14967039227485657, -0.45743614435195923, -0.2980971932411194, 0.13048623502254486, 0.294808030128479, -0.12950663268566132, 0.3681776523590088, -0.7108434438705444, 0.4248996376991272, 0.15575334429740906, 0.14839869737625122, 0.0585196428000927, -0.03460772708058357, 0.016545811668038368, -0.3764083981513977, -0.5787740349769592, -0.6065302491188049, 0.7544503808021545, 0.40069350600242615, 0.8584014773368835, 0.2041459083557129, 0.7078757286071777, 0.18683069944381714, 0.14258094131946564, -0.6847571134567261, 0.8582383990287781, -0.007335463538765907, -0.6531694531440735, -0.3010176122188568, -0.47153186798095703, -0.7773281335830688, 0.4450334310531616, -0.47838008403778076, -1.0654211044311523, 0.21051017940044403, 0.09594662487506866, -0.21060708165168762, 0.3186437785625458, -0.8085638880729675, 0.7805845141410828, -0.22124797105789185, -0.6186711192131042, -0.3640683889389038, -0.3814880847930908, 0.582146167755127, 0.17416535317897797, -0.04946410655975342, -0.0021282110828906298, 0.19928856194019318, 0.5763288736343384, -0.6866130828857422, 0.9399390816688538, -0.31947463750839233, -0.2613292932510376, 0.5110203623771667, 0.4699806571006775, 0.6281145215034485, 0.1703687608242035, -0.20219795405864716, 0.05702152103185654, -0.3802735209465027, -0.40918588638305664, -0.9140075445175171, 0.6847633719444275, -0.4429442882537842, -0.7643435597419739, -0.5889386534690857, -0.41829362511634827, -0.2014305293560028, 0.1949455291032791, 0.34237539768218994, 0.5501124858856201, 0.23894661664962769, 0.07666482031345367, 0.8874440789222717, -0.26171940565109253, 0.29835793375968933, 0.056529298424720764, -0.47048419713974, -0.15415793657302856, 0.8119956254959106, 0.3887336254119873, 0.1948930025100708, -0.006297717336565256, 0.16690485179424286, -0.3779922127723694, -0.5953787565231323, -0.17103952169418335, 0.3086112439632416, -0.9369022846221924, -0.08091408759355545, -0.6969142556190491, -0.2874346673488617, -0.3187299072742462, -0.13561224937438965, -0.19726668298244476, -0.3360496163368225, -0.4771493673324585, -0.1436094045639038, 0.15833903849124908, 0.9823780655860901, -0.023125827312469482, 0.059595074504613876, -0.3517940640449524, 0.7204447388648987, 0.5036064982414246, 0.10213301330804825, 0.3594807982444763, -0.483196496963501, -0.12301294505596161, -0.022004099562764168, -0.17388591170310974, -1.3288018703460693, 0.4369306266307831, -0.20631949603557587, 0.422187864780426, 0.386037677526474, 0.13443413376808167, 0.8592919111251831, -0.2163519710302353, 0.8366838097572327, 0.1579577624797821, -1.1049197912216187, 0.43809932470321655, -0.16875918209552765, 0.22867624461650848, 0.3326983153820038, 0.220182865858078, -0.2724713981151581, -0.738924503326416, -0.534351110458374, -0.832906186580658, 0.3162537217140198, 0.20342804491519928, 0.29505839943885803, -0.2782726287841797, 0.276713103055954, 0.33778247237205505, 0.16812272369861603, -1.0132876634597778, -0.036600153893232346, -0.4235849380493164, 0.1792513132095337, 0.014466239139437675, -0.3772602379322052, 0.029734117910265923, -0.32104286551475525, 0.7663143277168274, -0.05067649856209755, 0.37833642959594727, 0.3640802502632141, -0.5142208933830261, -0.010508483275771141, 0.1714804321527481, 0.6208676695823669, 0.6439257860183716, -0.12350211292505264, 0.610219419002533, 0.2353193461894989, 0.08118371665477753, -0.012537002563476562, -0.14756672084331512, 0.1006515845656395, 0.05600399151444435, 0.6178006529808044, 0.8048176765441895, 0.04870383441448212, -0.6968945860862732, 0.31665951013565063, 0.12646467983722687, -0.0494639128446579, -0.3288330137729645, 0.21711939573287964, -0.07287397235631943, 0.0692310780286789, 0.436849981546402, 0.11958499252796173, 0.1703099012374878, -0.7256848812103271, 0.22386842966079712, 0.43073636293411255, -0.5400177240371704, -0.3630756735801697, 0.6085343956947327, -0.16989660263061523, -0.3503779172897339, 0.7640856504440308, -0.5018287897109985, -0.7165541052818298, 0.5275856256484985, 0.8026939630508423, 0.9450308680534363, -0.03679479658603668, 0.1993105262517929, 0.4561047852039337, 0.546746551990509, -0.007020534016191959, 0.3828060030937195, 0.199138343334198, -0.7928389310836792, -0.39130279421806335, -0.27737611532211304, -0.3103291392326355, 0.4734160602092743, -0.28551843762397766, 0.3702465891838074, -0.6981239914894104, -0.1609739065170288, -0.1358325034379959, -0.2352987825870514, -0.47948572039604187, 0.2766703963279724, 0.33206674456596375, 0.49232926964759827, -0.7520542740821838, 0.613328754901886, 0.4621034860610962, -0.560383141040802, -0.5824283957481384, 0.04934048280119896, -0.1539052128791809, -0.3550718128681183, 0.5314183235168457, 0.33523401618003845, -0.3022385239601135, -0.3468133509159088, -0.8519947528839111, -0.432595431804657, 0.25392040610313416, 0.6213705539703369, -0.5119075775146484, 0.15587826073169708, -0.05487564206123352, 0.6375104784965515, -0.30223631858825684, 0.16860182583332062, 0.19900278747081757, 0.5938745737075806, -0.3008418381214142, -0.6392503380775452, 0.277732789516449, -0.06856926530599594, -0.40563806891441345, 0.24488289654254913, -0.1382492482662201, 0.920171856880188, -0.45891278982162476, -0.2139713317155838, 0.04914075508713722, 0.7707400918006897, -0.004309794399887323, 0.23080050945281982, 0.5260446071624756, 0.6533772945404053, 1.1199499368667603, -0.13503721356391907, 0.7887979745864868, -0.045500051230192184, 0.07018596678972244, 1.3011267185211182, -0.3454224169254303, 0.6211705207824707, 0.7004581689834595, 0.45430517196655273, 0.7935848236083984, 0.3381778299808502, 0.020725920796394348, 0.26332414150238037, 0.3636951744556427, -0.06680209189653397, -0.5696603059768677, -0.2500753402709961, -0.444973349571228, 0.29102590680122375, 0.4617605209350586, -0.20092007517814636, -0.2580612301826477, 0.18824075162410736, 0.11912642419338226, 0.532034695148468, -0.30086851119995117, 0.6943256258964539, 0.2161450982093811, -0.7898082137107849, 0.9267961382865906, -0.16372224688529968, 0.47220319509506226, -0.5042621493339539, -0.5268230438232422, -0.09373036026954651, 0.16724154353141785, -0.5737890005111694, -0.48279261589050293, 0.6668969988822937, -0.26371878385543823, -0.11616730690002441, -0.18765173852443695, 0.83095782995224, -0.31336018443107605, -0.2741353213787079, 0.6754637956619263, 0.1884237825870514, 0.2406696379184723, -0.08465272933244705, -0.3350123167037964, 0.20747503638267517, -0.08821927756071091, -0.02893669530749321, -0.03821147233247757, 0.42699840664863586, -0.3418872356414795, 0.5807759165763855, 0.5339979529380798, 0.06032717227935791, 0.2368340641260147, 0.15199516713619232, 0.6715012192726135, -0.9438092112541199, -0.32133468985557556, -1.0352129936218262, 0.4817839562892914, 0.0007948496495373547, -0.26257845759391785, 0.6865452527999878, 0.3240797519683838, 0.5866186618804932, -0.15775039792060852, 0.5393336415290833, 0.042464520782232285, 0.15825936198234558, -0.5766904950141907, 0.609592854976654, -0.5340438485145569, 0.2553679049015045, -0.23121826350688934, -1.0418847799301147, -0.5690470933914185, 0.8589819669723511, -0.6300536394119263, -0.15594235062599182, 0.8881230354309082, 1.0764364004135132, 0.050783149898052216, 0.057234399020671844, 0.40084099769592285, 0.7894971966743469, 0.11403815448284149, 0.7063405513763428, 0.9481939077377319, -0.2520099878311157, 0.09930466115474701, -0.26435649394989014, 0.13079342246055603, -0.29269886016845703, -0.8576996922492981, -1.1760962009429932, -0.5720738172531128, -0.4518395960330963, -0.808459460735321, 0.016835205256938934, 0.8754389882087708, 0.6330134868621826, -0.9793846607208252, -0.1602720469236374, -0.3579176366329193, 0.6315107941627502, -0.2412264049053192, -0.28712162375450134, 0.16160209476947784, -0.5170149803161621, -0.4174443781375885, 0.47668907046318054, 0.18636561930179596, 0.1540978103876114, -0.5482227802276611, -0.37133151292800903, 0.04246169328689575, 0.35349494218826294, 0.5229741930961609, 0.10056780278682709, -0.844214916229248, -0.2969993054866791, -0.0015357241500169039, -0.04238681122660637, 0.037500571459531784, 0.5484970808029175, -0.9807685613632202, 0.5706012845039368, 0.4928301274776459, 0.5197324752807617, 0.49293410778045654, -0.47743409872055054, 0.4483550488948822, -0.19661912322044373, 0.29631391167640686, 0.6579009294509888, 0.28555577993392944, 0.5244900584220886, -0.3209749162197113, 0.28854280710220337, 0.25784382224082947, -0.2431122064590454, -1.1058201789855957, 0.49175703525543213, -0.5865336656570435, -0.6067442297935486, 0.8737984299659729, 0.41364818811416626, -0.17901290953159332, -0.14593911170959473, -0.2884497344493866, 0.06180517002940178, -0.19765618443489075, 0.8531678318977356, 0.8600110411643982, -0.25604578852653503, -0.07889288663864136, -0.5630579590797424, 0.4170704483985901, 0.783513069152832, -0.50429368019104, -0.06944715231657028, 0.6351258158683777, -0.05543987452983856, 0.2825357913970947, 0.32938408851623535, -0.11633367836475372, 0.13036389648914337, 0.05133478343486786, 0.005204713903367519, 0.13912014663219452, -0.6569417715072632, -0.5276206731796265, 0.476723849773407, 0.17278602719306946, 0.1811126321554184 ]
http://arxiv.org/abs/2402.10532v1
http://arxiv.org/pdf/2402.10532v1
Properties and Challenges of LLM-Generated Explanations
2024-02-16T09:37:54
2024-02-16T09:37:54
Jenny Kunz, Marco Kuhlmann
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG
The self-rationalising capabilities of large language models (LLMs) have been explored in restricted settings, using task/specific data sets. However, current LLMs do not (only) rely on specifically annotated data; nonetheless, they frequently explain their outputs. The properties of the generated explanations are influenced by the pre-training corpus and by the target data used for instruction fine-tuning. As the pre-training corpus includes a large amount of human-written explanations "in the wild", we hypothesise that LLMs adopt common properties of human explanations. By analysing the outputs for a multi-domain instruction fine-tuning data set, we find that generated explanations show selectivity and contain illustrative elements, but less frequently are subjective or misleading. We discuss reasons and consequences of the properties' presence or absence. In particular, we outline positive and negative implications depending on the goals and user groups of the self-rationalising system.
[ -0.5773179531097412, -0.7916440963745117, 0.6264823079109192, 0.07756096124649048, -0.07232686877250671, -0.2768155634403229, -0.5013971328735352, -0.2728189527988434, -0.0729329064488411, 0.6130436062812805, -0.8086407780647278, -0.32864436507225037, -0.474592924118042, 0.3214986324310303, -0.24323667585849762, 1.073586106300354, -0.26127955317497253, -0.1262878030538559, -0.35211166739463806, -0.050301238894462585, -0.4532918334007263, -0.8668315410614014, -0.24985575675964355, -0.47923406958580017, 0.8118280172348022, 0.740648627281189, 0.7867353558540344, 0.8594991564750671, 0.10179658234119415, 0.3292834460735321, 0.28497347235679626, 0.24049723148345947, -0.4887962341308594, 0.24875640869140625, -0.2839432656764984, -0.44596874713897705, -0.2998441159725189, 0.336820513010025, 0.6078334450721741, 0.8891043066978455, 0.14534635841846466, 0.02721237577497959, 0.2818969488143921, 0.6920925378799438, -0.4468749165534973, -0.08329997956752777, -0.6802526116371155, 0.0812745913863182, -0.20488448441028595, -0.4561213254928589, -0.3436557650566101, -0.026404686272144318, 0.10256784409284592, -0.6252009272575378, 0.7397467494010925, 0.11221812665462494, 0.8315441012382507, 0.3223264813423157, -0.4814535081386566, -0.6415003538131714, -1.030616283416748, 1.010502815246582, -0.5919653177261353, 0.07450675219297409, 0.3866715133190155, 0.383583664894104, -0.2835868299007416, -0.42616724967956543, -0.46114155650138855, -0.07772747427225113, -0.32714006304740906, -0.005642388481646776, 0.10513376444578171, 0.17744159698486328, 0.3812074065208435, 0.3990946114063263, -0.32416507601737976, 0.49169135093688965, -0.5060743689537048, -0.35685616731643677, 0.8344162702560425, 0.3213968873023987, 0.007815320044755936, -0.1316109597682953, -0.22247807681560516, 0.15495885908603668, -1.1544113159179688, -0.0008176746196113527, 0.5638008117675781, 0.2954901158809662, 0.08010420948266983, 0.5935922861099243, -0.20762793719768524, 0.802908182144165, 0.044517431408166885, -0.10111171007156372, -0.1399761140346527, -0.30190715193748474, -0.2507978677749634, 0.114091657102108, 0.6908419132232666, 0.24925056099891663, 0.6180140376091003, -0.2351132333278656, -0.32291531562805176, 0.007316134870052338, -0.006004441529512405, -0.745453417301178, -0.13325364887714386, 0.4075509309768677, -0.31600522994995117, -0.09638642519712448, -0.11748218536376953, -0.5219547152519226, -0.30650976300239563, -0.7510414719581604, 0.24795551598072052, -0.1764746904373169, -0.16224995255470276, 0.16707347333431244, -0.02555251121520996, 0.25333085656166077, 0.580205500125885, -1.360558271408081, 0.0973447635769844, 0.4725658893585205, 0.21746724843978882, -0.3784646689891815, -0.44005507230758667, -0.3651662766933441, 0.16406969726085663, -0.17132580280303955, 0.8007477521896362, -0.3817763328552246, -0.23880217969417572, -0.06364239007234573, 0.01109215710312128, -0.026035919785499573, -0.7156282067298889, 0.0590457022190094, -0.29091283679008484, 0.33949002623558044, -0.568827748298645, -0.6953386664390564, -0.12197095155715942, -0.06766105443239212, -0.40367335081100464, 0.6384778022766113, -0.11512845009565353, -0.47783148288726807, 0.6061500906944275, -0.5638552308082581, -0.5325770378112793, -0.09961865097284317, -0.1988351047039032, -0.04245135933160782, 0.19883006811141968, 0.20104394853115082, 0.7745974063873291, -0.24413694441318512, 0.39972588419914246, -0.2782568037509918, -0.338358998298645, 0.6593413352966309, -0.8376134037971497, 0.5054311752319336, 0.49974313378334045, -0.3134102523326874, 0.08468607068061829, -0.8138730525970459, -0.20729395747184753, 0.2770439684391022, -0.34124183654785156, 0.0069608138874173164, 0.12562982738018036, -0.47243496775627136, 0.16531729698181152, 0.4897990822792053, -0.2043498307466507, -0.011290187947452068, -0.06555043160915375, 0.5388332009315491, 0.94698166847229, 0.06841640174388885, 0.3931262195110321, -0.2869660556316376, 0.788126528263092, 0.21398071944713593, 0.11935676634311676, -0.5206583142280579, -0.23301519453525543, -0.5901823043823242, -0.21177679300308228, 0.1838812679052353, 0.17087233066558838, -0.1229160726070404, -0.006448098458349705, 0.05552398040890694, -0.1693621277809143, -0.552544891834259, 0.5069341659545898, 0.37052151560783386, 0.3686055839061737, 0.12054084986448288, 0.20925284922122955, -0.4935135245323181, -1.0758508443832397, -0.33611631393432617, 0.27804943919181824, -0.04487936198711395, 0.4553605020046234, 0.25442925095558167, -0.3177213966846466, 0.8767523169517517, -0.29462504386901855, 0.07446567714214325, -0.30872443318367004, 0.11213761568069458, 0.08039826899766922, 0.37799492478370667, 0.2806815207004547, -0.5920889377593994, -0.08997153490781784, -0.27080753445625305, -0.8349162340164185, -0.349027544260025, -0.592166543006897, 0.04407505318522453, 0.2543815076351166, 0.5314142107963562, -0.5683324933052063, 0.30624446272850037, 0.48435837030410767, -0.05790875479578972, 0.8887476325035095, -0.4290981590747833, -0.08787114918231964, -0.8045406937599182, -0.2513785660266876, 0.08528445661067963, -0.106402687728405, -0.3427731394767761, -0.035417329519987106, -0.31156185269355774, 0.013999908231198788, -0.36267486214637756, 0.4967324137687683, -0.5796642899513245, -0.2366754561662674, -0.10208345204591751, 0.6078203320503235, 0.35346877574920654, 0.5028062462806702, -0.07688608020544052, 0.8770448565483093, 0.4648391902446747, -0.926199197769165, 0.25230205059051514, -0.05994236096739769, 0.12399845570325851, 0.19072546064853668, -0.740481972694397, 0.046164270490407944, -0.1713629961013794, -0.16127631068229675, -1.092652440071106, -0.6670769453048706, 0.10400855541229248, -0.36823830008506775, 0.28207775950431824, -0.19002611935138702, -0.49858060479164124, -0.34014126658439636, -0.1141512468457222, 0.21566884219646454, 0.36440277099609375, -0.731817901134491, 0.41153013706207275, 0.12444635480642319, 0.1449325531721115, -0.5136582851409912, -0.6348170638084412, -0.08592796325683594, -0.48097166419029236, -0.5600648522377014, 0.21333277225494385, -0.3014656901359558, -0.4770433008670807, -0.1572791039943695, -0.16816148161888123, 0.07014834135770798, 0.46593207120895386, 0.5364056825637817, 0.1260356605052948, -0.4035685062408447, 0.313050240278244, 0.2794930934906006, -0.03906955569982529, 0.39653533697128296, 0.07018772512674332, 0.2441248744726181, -0.14307379722595215, -0.4387560188770294, -0.39405733346939087, 0.34649235010147095, 0.4971485137939453, -0.07976001501083374, 0.7920354008674622, 0.2885814309120178, -0.14069126546382904, -0.47827520966529846, -0.40123251080513, -0.39590445160865784, -0.5266947150230408, 0.03434247896075249, -0.47533726692199707, -0.9653329253196716, 0.7170080542564392, -0.13229192793369293, 0.14016848802566528, 0.6615535616874695, 0.7112446427345276, -0.22440016269683838, 1.1722444295883179, 0.1944183111190796, 0.3826279044151306, 0.15141640603542328, -0.05110253393650055, 0.2761021554470062, -0.6061694025993347, -0.3045555055141449, -0.4920803904533386, -0.1470220535993576, -0.811224102973938, 0.07040812075138092, 0.004398371558636427, 0.3750544488430023, -0.1821577250957489, -0.00789122749119997, -0.6799606084823608, 0.5511784553527832, 0.6942552328109741, -0.18411876261234283, 0.20485585927963257, 0.07819494605064392, -0.11294853687286377, -0.013350194320082664, -0.7483236789703369, -0.8660204410552979, 1.1355589628219604, 0.33974194526672363, 0.9780922532081604, -0.07379157096147537, 0.8636427521705627, 0.24342405796051025, 0.43499860167503357, -0.7307351231575012, 0.5197507739067078, -0.02452903613448143, -0.8318745493888855, -0.47533679008483887, -0.35095757246017456, -1.2377252578735352, 0.21884272992610931, -0.25877660512924194, -0.5660388469696045, -0.16338184475898743, 0.5586920976638794, -0.4522583782672882, -0.008485013619065285, -1.0757126808166504, 0.8799893260002136, -0.4640044867992401, -0.46882596611976624, -0.18487118184566498, -0.33023494482040405, 0.5028179287910461, -0.0783207044005394, 0.1340760886669159, -0.183883398771286, 0.3122885525226593, 0.6917506456375122, -0.34151872992515564, 1.0393513441085815, -0.2045162469148636, -0.21497642993927002, 0.39276590943336487, 0.13026702404022217, 0.11962713301181793, 0.03092600591480732, -0.11296048760414124, 0.027120931074023247, -0.14181457459926605, -0.456415593624115, -0.5658184885978699, 0.829331636428833, -0.8977896571159363, -1.2803399562835693, -0.16994687914848328, -0.5508394837379456, -0.163508340716362, 0.19814205169677734, 0.2030636966228485, 0.7422215938568115, -0.03465268015861511, 0.14149166643619537, 0.747321605682373, -0.538641095161438, 0.3159429132938385, 0.5632262229919434, -0.37640470266342163, -0.03465820848941803, 0.9627830386161804, 0.22169749438762665, 0.4042958915233612, -0.048047591000795364, 0.309306263923645, -0.27976194024086, -0.6822530627250671, -0.5689303278923035, 0.32141074538230896, -0.9159792065620422, 0.04275842756032944, -0.3070937395095825, -0.17512749135494232, -0.20618949830532074, -0.3431020975112915, -0.03167383745312691, -0.42322760820388794, -0.7678083777427673, -0.23172256350517273, 0.29445213079452515, 1.1561888456344604, -0.13549697399139404, 0.3860471844673157, -0.5813944339752197, 0.3953935205936432, 0.506644606590271, 0.18769219517707825, 0.04817324876785278, -0.6054341793060303, -0.4042958915233612, 0.2670130431652069, -0.3539733588695526, -0.6807775497436523, 0.12221746891736984, 0.13791126012802124, 0.6295397877693176, 0.645003616809845, -0.1339312344789505, 0.5418567061424255, -0.3810034990310669, 0.8693092465400696, -0.10458407551050186, -0.7400166392326355, 0.6002940535545349, -0.4181981682777405, 0.2862681448459625, 0.30542126297950745, 0.39965322613716125, -0.09926901012659073, -0.538151204586029, -0.5247904658317566, -0.5120181441307068, 0.7480903267860413, -0.10286596417427063, 0.3154171109199524, -0.17090973258018494, 0.7320675849914551, 0.4872589111328125, -0.0038727540522813797, -0.674799919128418, -0.3215685188770294, -0.325415700674057, -0.08509427309036255, 0.004890097305178642, -0.3901114761829376, -0.17636333405971527, -0.08109262585639954, 0.49884849786758423, -0.17860551178455353, 0.1763189733028412, 0.20909997820854187, -0.16299018263816833, -0.26055091619491577, 0.3684438169002533, 0.9698494076728821, 0.8665951490402222, -0.019541246816515923, 0.2409472018480301, -0.05440102517604828, 0.0859484076499939, -0.03915097191929817, 0.1184675469994545, 0.11855645477771759, -0.16959542036056519, 0.5775105953216553, 0.8059941530227661, 0.04940802603960037, -0.538777768611908, 0.2552258372306824, 0.01675446704030037, -0.3422650992870331, -0.341880202293396, 0.4693666398525238, 0.17683272063732147, -0.06744635850191116, 0.43617746233940125, 0.0290873683989048, -0.06761519610881805, -0.5006000399589539, -0.13276968896389008, 0.4641698896884918, -0.02194339595735073, -0.6509091854095459, 0.7257636785507202, 0.04751848801970482, -0.22119717299938202, 0.38474979996681213, -0.20488768815994263, -0.39496055245399475, 0.5349884629249573, 0.585062563419342, 0.5665650963783264, -0.08599276840686798, 0.30362915992736816, 0.13493265211582184, 0.27270594239234924, 0.21141310036182404, 0.07559004426002502, -0.2863011956214905, -0.9298866391181946, -0.6350798606872559, -0.5135654807090759, -0.5982922911643982, 0.3053246736526489, -0.5948628187179565, 0.06404589116573334, -0.48801499605178833, 0.06002026051282883, 0.2863159477710724, -0.23652993142604828, -0.9171602129936218, 0.3605797588825226, 0.23205457627773285, 0.5670831799507141, -0.807788610458374, 0.7360718846321106, 0.41338011622428894, -0.46370598673820496, -1.0001736879348755, -0.13154013454914093, -0.18664081394672394, -1.0300078392028809, 0.7958075404167175, 0.1774033010005951, -0.2085186392068863, -0.20279307663440704, -0.6414151191711426, -0.6746979355812073, 0.7856952548027039, 0.5997246503829956, -0.537457287311554, 0.026822634041309357, 0.5189946293830872, 0.754874587059021, -0.402240514755249, -0.08420873433351517, 0.559539258480072, 0.5276031494140625, -0.17411674559116364, -0.5059505701065063, 0.08215471357107162, 0.2029406577348709, -0.3053721487522125, -0.0705263763666153, -0.44536441564559937, 0.7517061233520508, -0.3887741267681122, -0.1787036508321762, -0.2833606004714966, 0.6276285648345947, 0.20375676453113556, 0.28411075472831726, 0.21599261462688446, 0.2904282212257385, 0.7167579531669617, -0.14377254247665405, 1.2347468137741089, -0.3315768241882324, 0.03865595534443855, 1.0649398565292358, -0.20773564279079437, 0.33460733294487, 0.5041654706001282, -0.027860304340720177, 0.544856607913971, 0.8545963168144226, 0.1297210454940796, 0.23021817207336426, 0.4404226541519165, -0.13514436781406403, -0.4069579541683197, -0.04884934052824974, -0.05521421879529953, 0.5720789432525635, 0.5181339979171753, -0.48431071639060974, -0.14426453411579132, -0.03962405398488045, -0.1455848664045334, 0.12845322489738464, -0.4035170376300812, 0.7108479142189026, 0.1857813447713852, -1.0221681594848633, 0.9161635041236877, -0.1749723255634308, 0.37234243750572205, -0.37042269110679626, -0.02755133807659149, -0.30266642570495605, 0.10667047649621964, -0.32893073558807373, -0.845375657081604, 0.261315256357193, -0.10398218780755997, -0.3240598440170288, -0.6092938184738159, 0.7236515879631042, -0.43289461731910706, -0.08314736932516098, 0.12489002197980881, 0.7147399187088013, 0.3690163493156433, 0.08470213413238525, -0.546807587146759, 0.011470075696706772, 0.12872494757175446, -0.47925665974617004, 0.4186449348926544, 0.9354203939437866, -0.08718439191579819, 0.5563024878501892, 0.42586591839790344, 0.01706082746386528, 0.07502072304487228, 0.13239620625972748, 0.727691650390625, -0.6525336503982544, 0.029320407658815384, -0.9615840315818787, 0.31858503818511963, 0.2030242532491684, -0.4366743862628937, 0.8805632591247559, 0.346013605594635, 0.6809941530227661, -0.06196469068527222, 0.8076950311660767, 0.3878289759159088, 0.3587300777435303, -0.7548262476921082, 0.4141760468482971, -0.520729124546051, 0.5041195154190063, 0.13149578869342804, -0.883222222328186, -0.04802057147026062, 0.30274733901023865, -0.3556845486164093, 0.18763917684555054, 0.5538893938064575, 0.823039710521698, -0.07744434475898743, 0.1114393025636673, 0.49109581112861633, 0.3024892508983612, 0.11713922023773193, 0.25473925471305847, 0.9270884990692139, 0.12499108165502548, 0.3719826936721802, -0.16927586495876312, -0.01136221457272768, -0.22354520857334137, -1.0000931024551392, -1.1976873874664307, -0.5054424405097961, -0.3023587465286255, -0.1915159821510315, -0.21432995796203613, 0.7418400645256042, 0.6350903511047363, -0.9323049187660217, -0.060172464698553085, -0.06607994437217712, 0.34645113348960876, 0.11633337289094925, -0.23803505301475525, 0.21270771324634552, -0.46153154969215393, -0.40309351682662964, 0.3701897859573364, 0.12865525484085083, 0.19361694157123566, -0.7019864320755005, -0.21195164322853088, 0.40657782554626465, 0.2756285071372986, 0.570899486541748, 0.34429436922073364, -0.9820913672447205, -0.45521780848503113, 0.06762506812810898, -0.02899743802845478, 0.15017400681972504, 0.8682746887207031, -0.8005378842353821, 0.32832056283950806, 0.09293867647647858, 0.47482427954673767, 0.3803369104862213, -0.10669774562120438, 0.7784315347671509, -0.6730059385299683, -0.10232827812433243, -0.0873505249619484, 0.489285409450531, 0.5366845726966858, -0.5178868174552917, 0.2459215670824051, 0.05778565630316734, -0.6356130838394165, -0.7532293200492859, 0.16528213024139404, -0.6260549426078796, -0.30430319905281067, 1.2985754013061523, -0.3284371793270111, -0.1457776129245758, -0.08222535252571106, -0.2349669188261032, 0.26827144622802734, -0.21777045726776123, 0.8798933029174805, 0.8008710741996765, -0.26520636677742004, -0.1324455291032791, -0.48800718784332275, 0.5471696257591248, 0.4783582091331482, -0.84400874376297, 0.4635029733181, 0.6966076493263245, 0.298247754573822, 0.003924661781638861, 0.3355114758014679, -0.04909566044807434, 0.29991433024406433, -0.3158073425292969, 0.020817942917346954, -0.19830787181854248, -0.45729103684425354, -0.41707703471183777, 0.0756705105304718, 0.40351733565330505, 0.09880061447620392 ]
http://arxiv.org/abs/2402.10528v2
http://arxiv.org/pdf/2402.10528v2
Can We Verify Step by Step for Incorrect Answer Detection?
2024-02-16T09:29:50
2024-06-15T16:53:58
Xin Xu, Shizhe Diao, Can Yang, Yang Wang
cs.CL
cs.CL, cs.AI
Chain-of-Thought (CoT) prompting has marked a significant advancement in enhancing the reasoning capabilities of large language models (LLMs). Previous studies have developed various extensions of CoT, which focus primarily on enhancing end-task performance. In addition, there has been research on assessing the quality of reasoning chains in CoT. This raises an intriguing question: Is it possible to predict the accuracy of LLM outputs by scrutinizing the reasoning chains they generate? To answer this research question, we introduce a benchmark, R2PE, designed specifically to explore the relationship between reasoning chains and performance in various reasoning tasks spanning five different domains. This benchmark aims to measure the falsehood of the final output of LLMs based on the reasoning steps. To make full use of information in multiple reasoning chains, we propose the process discernibility score (PDS) framework that beats the answer-checking baseline by a large margin. Concretely, this resulted in an average of $5.1\%$ increase in the F1 score and $2.97\%$ improvement in AUC-PR across all 45 subsets within R2PE. We further demonstrate our PDS's efficacy in advancing open-domain QA accuracy. Data and code are available at https://github.com/XinXU-USTC/R2PE.
[ -0.35255953669548035, -0.9497261047363281, 0.8828554153442383, 0.0655379369854927, 0.06087556853890419, 0.2582598328590393, 0.08377925306558609, -0.6610347628593445, -0.26670870184898376, 0.5270949602127075, -0.549625813961029, -0.5440577268600464, -0.6338843703269958, 0.15801696479320526, -0.3095608949661255, 0.641258955001831, -0.4712628722190857, -0.17524662613868713, -0.30861425399780273, -0.07653108984231949, -0.33654752373695374, -0.31292545795440674, -0.6989486813545227, -0.5908995866775513, 0.3309682011604309, 0.3371143043041229, 0.6005566120147705, 0.5201690793037415, 0.24966201186180115, 0.1589561253786087, -0.10708275437355042, 0.7700658440589905, -0.2583870589733124, 0.17671184241771698, -0.6526286602020264, -0.6088797450065613, -0.6362963914871216, 0.15118290483951569, 0.3083043694496155, 0.40481036901474, -0.06203557550907135, 0.3241189420223236, 0.16915564239025116, 0.9239948987960815, -0.8456364274024963, -0.06042681634426117, -0.6479365825653076, -0.08528590947389603, 0.0772353857755661, -0.39764806628227234, -0.8598718643188477, -0.4568025767803192, -0.09353691339492798, -0.33162927627563477, 0.4353930354118347, 0.2088332623243332, 0.7037474513053894, 0.24414759874343872, -0.35734739899635315, -0.39285603165626526, -0.741587221622467, 0.5217418670654297, -0.48171502351760864, 0.3589518964290619, 0.6033598780632019, 0.2133338302373886, -0.40107297897338867, -0.6018649339675903, -0.6528388261795044, 0.10560192912817001, 0.04426874592900276, 0.02141657844185829, -0.2072206735610962, 0.011587371118366718, 0.6162676215171814, 0.28023070096969604, -0.6107446551322937, -0.1615968942642212, -0.19823062419891357, -0.27159157395362854, 0.5742948055267334, 0.007334759924560785, 0.18637651205062866, 0.26911619305610657, -0.5010291934013367, -0.16230453550815582, -0.7135701179504395, 0.19276586174964905, 0.384713351726532, 0.16053542494773865, 0.14412885904312134, 0.7017525434494019, -0.2827101945877075, 0.5287235379219055, 0.12375526130199432, -0.011162412352859974, 0.26514849066734314, -0.4798166751861572, -0.1609039306640625, -0.11294014006853104, 0.6351609826087952, 0.3381973206996918, 0.3448750674724579, 0.021932661533355713, -0.3367471992969513, 0.16133560240268707, 0.4382918179035187, -0.5724652409553528, -0.4566125273704529, 0.5079314112663269, -0.04698503762483597, 0.02572297304868698, 0.08743879199028015, -0.5171069502830505, -0.5020759105682373, -0.010809765197336674, 0.36204928159713745, -0.3904767334461212, -0.41294345259666443, -0.010806497186422348, -0.00873288419097662, 0.11597178131341934, 0.554595947265625, -0.25339144468307495, 0.6336918473243713, 0.9534618258476257, 0.9095405340194702, -0.1905650943517685, -0.42771074175834656, -0.9586672186851501, -0.28520211577415466, -0.8931626081466675, 1.0580779314041138, -0.2760545313358307, -0.06410684436559677, -0.22647352516651154, -0.08119551837444305, -0.09547740966081619, -0.8416131138801575, 0.5446679592132568, -0.6035633683204651, -0.1933296173810959, -0.6051192879676819, -0.6436200141906738, -0.12955577671527863, 0.3864753246307373, -0.5550022721290588, 1.446584701538086, 0.047428570687770844, -0.697495698928833, 0.2888369560241699, -0.23027265071868896, -0.26187649369239807, -0.29558494687080383, -0.21426984667778015, -0.3902699649333954, -0.0217443760484457, 0.2586958110332489, 0.1963982880115509, -0.3574199378490448, 0.04755972698330879, -0.2965991497039795, -0.5312844514846802, 0.4904952347278595, -0.4879845976829529, 0.6151244044303894, -0.048193249851465225, -0.5452847480773926, -0.01505175419151783, -0.8292946815490723, 0.5622984766960144, -0.2625909149646759, -0.2881125211715698, -0.09983590990304947, -0.025110751390457153, -0.6030277609825134, 0.6364907622337341, -0.11597619950771332, -0.5541309118270874, -0.09247741848230362, -0.19417692720890045, 0.04204192012548447, 0.9562828540802002, 0.1457304060459137, 0.07338161766529083, -0.3241441249847412, 0.6555132269859314, 0.15343575179576874, -0.12177413702011108, 0.06598430871963501, -0.8451932668685913, -0.7231332063674927, -0.06397075951099396, 0.21217814087867737, 0.699322521686554, -0.745904266834259, 0.5589748620986938, 0.047117672860622406, -0.5468695759773254, -0.36393946409225464, 0.16062910854816437, 0.7472828030586243, 0.6253247261047363, 0.45596301555633545, -0.6145431995391846, -0.40767818689346313, -0.6241951584815979, -0.47003915905952454, -0.6396967172622681, -0.11332963407039642, 0.15265944600105286, 0.5918651223182678, 0.0726761445403099, 0.6541460156440735, -0.41605108976364136, 0.08474058657884598, -0.0741809830069542, 0.2745797038078308, 0.2816784977912903, 0.3713511824607849, -0.10321013629436493, -0.3215283751487732, -0.3209272623062134, -0.02489713579416275, -0.6351904273033142, -0.08902749419212341, 0.0498257651925087, -0.2849794328212738, 0.4577554166316986, 0.34910842776298523, -0.3714311122894287, 0.6402391195297241, 0.5295156836509705, -0.5788399577140808, 0.8303415179252625, -0.4246738851070404, 0.4390621483325958, -0.3765053153038025, 0.1673831343650818, 0.20455996692180634, -0.35336172580718994, -0.4383428692817688, 0.06556299328804016, 0.3246113359928131, 0.22435499727725983, -0.32254958152770996, 0.26456892490386963, -0.2252461463212967, -0.4626856744289398, -0.235139861702919, 0.24739140272140503, 0.2417067438364029, 0.5557658076286316, 0.08767787367105484, 1.1198465824127197, 0.3326694071292877, -0.6958296895027161, 0.18450066447257996, 0.03496960923075676, -0.5499081611633301, 0.7092966437339783, -0.5967459678649902, 0.38504454493522644, 0.10241737216711044, 0.5655951499938965, -1.2956418991088867, 0.0710800364613533, 0.31874778866767883, -0.4961414635181427, -0.05799763277173042, -0.1381160020828247, -0.6578254103660583, -0.408488929271698, -0.1795402616262436, 0.29454341530799866, 0.4052123427391052, -0.6793453097343445, 0.449493944644928, 0.08130095899105072, 0.112306609749794, -0.6652753353118896, -0.5718094110488892, -0.22377558052539825, 0.311033695936203, -0.5801335573196411, -0.007618999574333429, -0.10800953209400177, -0.17145277559757233, -0.267774760723114, -0.5957516431808472, -0.29050344228744507, 0.010715298354625702, 0.25460705161094666, 0.16263768076896667, -0.1271285116672516, 0.14326193928718567, -0.06382223963737488, -0.2635902166366577, 0.4773530066013336, -0.12055869400501251, 0.428166002035141, -0.240732342004776, -0.5411162972450256, -0.5358749032020569, 0.03742724657058716, 0.6204611659049988, -0.24006061255931854, 0.45877063274383545, 0.3134509325027466, -0.45993372797966003, -0.4516494870185852, -0.46953636407852173, -0.10198429226875305, -0.4005274474620819, 0.02021930180490017, -0.7435358762741089, -0.29342547059059143, 0.5712942481040955, -0.31339049339294434, -0.07607179135084152, 0.3233448565006256, 0.2001829743385315, 0.0881471112370491, 1.111939787864685, 0.16024252772331238, 0.5697261691093445, -0.14886708557605743, -0.29761677980422974, 0.4749317467212677, -1.0143803358078003, -0.33637794852256775, -0.5770427584648132, -0.018885565921664238, -0.6037454605102539, -0.9373522400856018, 0.441567987203598, 0.53042072057724, -0.28716859221458435, 0.29718026518821716, -0.4067821800708771, 0.5784012079238892, 0.4228343069553375, 0.4156811237335205, 0.5195029973983765, -0.21252118051052094, -0.47021862864494324, 0.2555570900440216, -0.5559915900230408, -0.7344300150871277, 1.0333644151687622, 0.5237108469009399, 0.5832851529121399, 0.01586693711578846, 0.49943557381629944, 0.46831950545310974, 0.012132268399000168, -0.5318224430084229, 0.6957618594169617, 0.13158012926578522, -0.4623357951641083, -0.3010777533054352, -0.27003055810928345, -0.3992202877998352, 0.3267625570297241, 0.003482645843178034, -0.766316831111908, 0.16213063895702362, 0.3097318708896637, -0.22466206550598145, 0.3785921335220337, -0.45385220646858215, 0.8036056160926819, -0.10001973062753677, -0.7431710362434387, -0.3032161593437195, -0.5703749656677246, 0.3343205153942108, 0.10347509384155273, 0.30375465750694275, -0.25090116262435913, -0.05423172190785408, 0.6309467554092407, -0.6327476501464844, 0.7026114463806152, -0.05243084579706192, -0.48195257782936096, 0.6057471036911011, 0.38309910893440247, 0.917495608329773, 0.05712605267763138, -0.3160954713821411, 0.0868731290102005, 0.01846516691148281, -0.45638322830200195, -0.7579143047332764, 0.7183921933174133, -0.4860915541648865, -0.4828651547431946, -0.6649417281150818, -0.12049893289804459, -0.45613110065460205, 0.05093853175640106, 0.0640144869685173, 0.3474658727645874, 0.1734943389892578, -0.4350680112838745, 0.9827655553817749, -0.0790383443236351, 0.005618472117930651, 0.4480801224708557, -0.16090644896030426, -0.28947538137435913, 0.7137706875801086, -0.06336252391338348, 0.5344716906547546, 0.2742570638656616, 0.06102969869971275, -0.46762552857398987, -0.45509710907936096, -0.690215528011322, 0.1870984584093094, -1.0443215370178223, -0.15992167592048645, -0.48736515641212463, -0.15522262454032898, -0.1195397600531578, 0.16854099929332733, -0.6136414408683777, -0.3383864164352417, -0.05465409532189369, -0.31701919436454773, 0.16678625345230103, 0.8645943403244019, -0.11186836659908295, -0.389566034078598, -0.40704652667045593, 0.4788348972797394, 0.2575387954711914, 0.5867462158203125, 0.11791818588972092, -0.3016600012779236, 0.1530812829732895, 0.1838531494140625, -0.4304688572883606, -0.6667167544364929, -0.18945243954658508, -0.09139320254325867, 0.43072471022605896, 0.09825125336647034, 0.2792503237724304, 0.7002284526824951, -0.36241215467453003, 0.8272790312767029, 0.19027946889400482, -1.110247015953064, 0.8502210974693298, 0.1692921668291092, 0.10768064856529236, 0.40588000416755676, 0.3369276821613312, -0.23131372034549713, -0.631502628326416, -0.6787856817245483, -0.7383377552032471, 0.6387025117874146, 0.1658887416124344, -0.47309887409210205, -0.2025900036096573, 0.40356534719467163, 0.24054431915283203, -0.10134094208478928, -0.3925315737724304, -0.38430264592170715, 0.2036510407924652, 0.15299105644226074, 0.17386206984519958, -0.22758160531520844, 0.006919288542121649, 0.06497134268283844, 0.9381613731384277, -0.3830295205116272, 0.16506625711917877, 0.6647297143936157, 0.11067637801170349, -0.5984224081039429, 0.3173748850822449, 0.41539549827575684, 1.3215365409851074, -0.16368389129638672, 0.5059359073638916, 0.21755322813987732, -0.3323177099227905, 0.32132846117019653, -0.37048232555389404, -0.022214563563466072, -0.0062418244779109955, 0.5746240019798279, 0.50324946641922, -0.08153273165225983, -0.785618007183075, 0.5377904772758484, -0.05626687780022621, -0.14716163277626038, -0.12329593300819397, 0.25927895307540894, -0.2080381214618683, 0.2817763686180115, 0.2299201637506485, 0.42160776257514954, 0.07953018695116043, -0.7210785746574402, 0.3464968502521515, 0.15160465240478516, -0.44731634855270386, -0.18867474794387817, 0.42357996106147766, 0.15711914002895355, -0.34931254386901855, 0.6078661680221558, -0.24854247272014618, -0.5313894152641296, 0.6173951029777527, 0.46441423892974854, 0.6333236694335938, -0.13961651921272278, 0.3781825304031372, 0.631923496723175, 0.2346470206975937, -0.33362993597984314, 0.5242830514907837, -0.17576618492603302, -0.6544138193130493, -0.5563202500343323, -0.3447178304195404, -0.6732734441757202, 0.054865334182977676, -0.8390121459960938, 0.11261220276355743, -0.5661291480064392, -0.062010105699300766, 0.03072734735906124, 0.18129383027553558, -0.553437352180481, 0.48054853081703186, -0.12501750886440277, 0.9959017038345337, -0.906300961971283, 0.8877222537994385, 0.541298508644104, -0.1999502182006836, -0.8054497838020325, 0.14041486382484436, -0.06425606459379196, -0.6985430717468262, 0.46881070733070374, 0.2456047385931015, -0.5836417078971863, -0.37562504410743713, -0.19846674799919128, -0.6172335147857666, 1.0377182960510254, 0.1149275004863739, -0.6852826476097107, 0.12754406034946442, 0.03738603740930557, 0.6608273983001709, -0.2900311052799225, 0.41617125272750854, 0.7783581614494324, 0.2748633325099945, 0.20909124612808228, -1.034197211265564, 0.4480955898761749, -0.06596297025680542, -0.003952880389988422, 0.29959431290626526, -0.1712387651205063, 0.6037967205047607, -0.5721787810325623, -0.3342211842536926, 0.13336670398712158, 0.43353259563446045, 0.7659211158752441, 0.5854410529136658, 0.602609395980835, 0.5313714146614075, 1.0407060384750366, -0.05687050148844719, 1.0050363540649414, -0.11307370662689209, 0.23518095910549164, 1.313329815864563, -0.43315398693084717, 1.1350035667419434, 0.5422123074531555, -0.5902407169342041, 0.8548246622085571, 0.49759262800216675, 0.45060446858406067, 0.3490217924118042, 0.466523677110672, -0.15811723470687866, -0.4314674437046051, 0.06763018667697906, -0.16479045152664185, 0.07766947150230408, 0.4147688150405884, -0.4139142632484436, 0.006626754067838192, -0.4486248791217804, -0.21375253796577454, 0.5117291808128357, -0.21020153164863586, 0.6205397248268127, -0.053561028093099594, -1.0991754531860352, 0.8546260595321655, -0.235428586602211, 0.24592316150665283, -0.2558707296848297, -0.40544405579566956, -0.0475865937769413, 0.3606621026992798, -0.2261073738336563, -1.2034393548965454, 0.285801500082016, 0.05729394406080246, -0.23240633308887482, -0.1819113940000534, 0.6325816512107849, -0.19709338247776031, -0.3790092170238495, 0.4649016261100769, 0.7295185327529907, 0.225004181265831, -0.09054898470640182, -0.6733761429786682, 0.17312325537204742, -0.06219026446342468, -0.07356791198253632, 0.03690901771187782, 0.42226529121398926, -0.23638321459293365, 0.8345662355422974, 0.5122140049934387, 0.10583925247192383, -0.0350637249648571, 0.0907776951789856, 0.588433563709259, -0.44905468821525574, -0.3518020510673523, -0.6282060146331787, 0.3315296173095703, -0.12012364715337753, -0.39139896631240845, 0.5283325910568237, 0.6259938478469849, 1.0821951627731323, 0.1405668556690216, 0.742785632610321, 0.05668218433856964, 0.766115128993988, -0.5632084012031555, 0.11171411722898483, -0.21573567390441895, 0.6275597810745239, -0.3204570412635803, -0.7223107218742371, -0.08283291012048721, 0.6097466349601746, -0.23420631885528564, -0.1097162589430809, 1.1516684293746948, 1.006067156791687, 0.08394543826580048, 0.1788795441389084, 0.1319940835237503, 0.18691451847553253, 0.33057844638824463, 0.7003501653671265, 0.731468677520752, -0.8552079796791077, 0.4954392910003662, -0.5389676690101624, -0.3743392527103424, 0.07270191609859467, -0.8976150155067444, -0.860947847366333, -0.454527348279953, -0.8118346333503723, -0.9391904473304749, 0.36361414194107056, 0.5860875844955444, 0.4569733738899231, -0.9692142009735107, -0.18274043500423431, -0.6821945905685425, 0.45653411746025085, -0.9348563551902771, -0.19676345586776733, 0.313294917345047, -0.16693750023841858, -0.4209297001361847, 0.44071680307388306, 0.3460352122783661, -0.14672324061393738, -0.16612718999385834, -0.22806566953659058, -0.4243251383304596, 0.14875571429729462, 0.43578633666038513, 0.23642310500144958, -1.0888231992721558, -0.6398060321807861, -0.15371228754520416, -0.030938444659113884, 0.09938997775316238, 0.9008185267448425, -0.8890638947486877, 0.4117286205291748, 0.6814895272254944, 0.27704089879989624, 0.4028310179710388, 0.13117769360542297, 0.7407631874084473, -0.6204842329025269, -0.5699965953826904, 0.07017911225557327, 0.2854384481906891, 0.2227160483598709, -0.3559936285018921, 0.8753300309181213, 0.10869268327951431, -0.6244508028030396, -0.7869810461997986, 0.3371666371822357, -0.892959475517273, -0.2198619544506073, 1.107530951499939, -0.5420185327529907, -0.20470112562179565, -0.3285084068775177, -0.1816733181476593, 0.11123275756835938, -0.3147856593132019, 0.6640667915344238, 0.5906176567077637, -0.5524804592132568, -0.066651850938797, -0.32721635699272156, 0.355652391910553, 0.24817125499248505, -0.8610126972198486, 0.533772349357605, 0.4195592403411865, 0.47619691491127014, 0.44950413703918457, 0.7860696911811829, -0.05733814835548401, 0.6956706643104553, 0.03855716437101364, -0.3109763562679291, 0.06003560125827789, -0.44155222177505493, -0.05295426771044731, 0.2741129696369171, 0.35425323247909546, -0.19468221068382263 ]
http://arxiv.org/abs/2402.10527v1
http://arxiv.org/pdf/2402.10527v1
Zero-shot sampling of adversarial entities in biomedical question answering
2024-02-16T09:29:38
2024-02-16T09:29:38
R. Patrick Xian, Alex J. Lee, Vincent Wang, Qiming Cui, Russell Ro, Reza Abbasi-Asl
cs.CL
cs.CL, cs.CR, stat.AP
The increasing depth of parametric domain knowledge in large language models (LLMs) is fueling their rapid deployment in real-world applications. In high-stakes and knowledge-intensive tasks, understanding model vulnerabilities is essential for quantifying the trustworthiness of model predictions and regulating their use. The recent discovery of named entities as adversarial examples in natural language processing tasks raises questions about their potential guises in other settings. Here, we propose a powerscaled distance-weighted sampling scheme in embedding space to discover diverse adversarial entities as distractors. We demonstrate its advantage over random sampling in adversarial question answering on biomedical topics. Our approach enables the exploration of different regions on the attack surface, which reveals two regimes of adversarial entities that markedly differ in their characteristics. Moreover, we show that the attacks successfully manipulate token-wise Shapley value explanations, which become deceptive in the adversarial setting. Our investigations illustrate the brittleness of domain knowledge in LLMs and reveal a shortcoming of standard evaluations for high-capacity models.
[ -0.27193403244018555, -1.1044186353683472, 0.9289535284042358, -0.3790617883205414, 0.032598789781332016, -0.04813729599118233, 0.00044287260971032083, -0.298539936542511, 0.27529892325401306, 0.6777172684669495, -0.4248266816139221, -0.3835323750972748, -0.7762584686279297, -0.15597254037857056, -0.3752913177013397, 1.11638343334198, 0.10096729546785355, 0.1963154673576355, -0.4828231930732727, -0.3327367305755615, -0.02104082517325878, -0.5220199227333069, -0.544305145740509, -0.20776338875293732, 0.7972683310508728, -0.20583568513393402, 0.7703696489334106, 0.52360600233078, 0.5499536991119385, 0.16964416205883026, -0.17659974098205566, 0.12524206936359406, -0.44278964400291443, 0.3370921015739441, -0.2926083505153656, -0.6198058724403381, -0.22598019242286682, 0.0802973285317421, 0.34816619753837585, 0.9930568933486938, 0.004488667007535696, 0.0023147198371589184, -0.29484719038009644, 0.3347839415073395, -0.8520875573158264, -0.23268848657608032, -0.8730558753013611, 0.077946238219738, -0.3116554021835327, -0.28143277764320374, -0.4027527868747711, 0.047533486038446426, 0.18949949741363525, -0.670339822769165, 0.4592351019382477, 0.0009239348582923412, 0.9928544759750366, 0.5961231589317322, -0.18550392985343933, -0.294115275144577, -0.48235002160072327, 0.9086890816688538, -0.4249119460582733, 0.025591189041733742, 0.36243051290512085, 0.31866490840911865, -0.16673758625984192, -0.49997571110725403, -0.38006463646888733, -0.25328996777534485, 0.07834078371524811, -0.1133655235171318, -0.513228714466095, 0.09251487255096436, 0.1970500648021698, 0.04107291251420975, -0.5805057883262634, -0.022153306752443314, -0.4800161123275757, -0.15718451142311096, 0.48025551438331604, -0.0341360904276371, 0.3287166655063629, -0.03599611297249794, -0.5305871963500977, -0.0272428710013628, -0.7632814645767212, -0.2643730044364929, 0.2606385350227356, 0.15805384516716003, 0.16981230676174164, 0.4351540207862854, 0.10791822522878647, 0.7834303379058838, 0.12592321634292603, 0.19780880212783813, -0.08862321078777313, -0.11739079654216766, -0.37377509474754333, -0.19893774390220642, 0.6168785691261292, -0.005139071494340897, 0.09693305939435959, -0.5399483442306519, 0.15426906943321228, -0.45224127173423767, 0.689455509185791, -0.8279578685760498, -0.2175883799791336, 0.47415968775749207, -0.11426785588264465, -0.398482084274292, -0.21934638917446136, -0.6624830961227417, -0.6290174722671509, 0.23941536247730255, 0.4034253656864166, -0.7313225865364075, 0.10024455189704895, -0.008424932137131691, -0.3178836703300476, 0.11407847702503204, 0.21728312969207764, -0.516127347946167, 0.08139839768409729, 0.4975842237472534, 0.6052266359329224, -0.03236550837755203, -0.22412075102329254, -0.6281936764717102, 0.09017249196767807, -0.2238437831401825, 0.6466856002807617, -0.3448987603187561, -0.4263969659805298, -0.1827777922153473, -0.1751338690519333, -0.1268465518951416, -0.5947746634483337, 0.32531630992889404, -0.8558310270309448, 0.047187600284814835, -0.45557916164398193, -0.5447452664375305, -0.23981188237667084, 0.48356902599334717, -0.6752219796180725, 0.614352285861969, 0.29611870646476746, -0.9608907699584961, 0.3339878022670746, -0.4629236161708832, -0.3051660358905792, 0.249874085187912, -0.2703057527542114, -0.48226219415664673, 0.035821326076984406, 0.4412460923194885, 0.6554478406906128, -0.01446867547929287, 0.1497536450624466, -0.7856898903846741, -0.18111909925937653, 0.5779086947441101, -0.4574050009250641, 1.0303406715393066, 0.23321102559566498, -0.19708788394927979, -0.07550406455993652, -0.6149085760116577, 0.022467341274023056, 0.36662569642066956, 0.17589573562145233, -0.6969662308692932, -0.1449655443429947, -0.3100428283214569, 0.03545614331960678, 0.10527527332305908, -0.6753830313682556, 0.044158175587654114, -0.4963020086288452, 0.25204184651374817, 0.4090792238712311, 0.4567870497703552, 0.39225319027900696, -0.3888857364654541, 0.7403522729873657, 0.1419399082660675, -0.05682175233960152, 0.009860135614871979, -0.28004488348960876, -0.23959873616695404, -0.5792266130447388, 0.26722660660743713, 0.3869780898094177, -1.1544452905654907, 0.176295667886734, -0.11749856173992157, -0.5713863968849182, -0.6566274166107178, -0.010203768499195576, 0.5328534245491028, 0.4953450858592987, 0.7491424679756165, 0.10853782296180725, -0.1817471981048584, -0.8393509984016418, -0.3142217695713043, -0.0407152883708477, -0.40891602635383606, 0.6021010279655457, 0.7102900147438049, 0.048750534653663635, 0.7538011074066162, -0.6372124552726746, -0.12095223367214203, -0.1506587415933609, -0.08119542896747589, -0.3275522291660309, 0.11370599269866943, 0.7347211241722107, -0.8702638149261475, 0.0865376740694046, -0.6845676898956299, -0.7925879955291748, 0.06459726393222809, -0.20217087864875793, -0.2250225991010666, -0.3459470570087433, 0.4524567127227783, -0.7768200039863586, 0.15608593821525574, 0.48155805468559265, -0.14310942590236664, 0.38400328159332275, -0.1866852343082428, 0.0712474063038826, -1.148012638092041, 0.24648165702819824, -0.031317297369241714, -0.1865774393081665, -0.8092211484909058, 0.5882434248924255, 0.02120641991496086, -0.049754396080970764, -0.6986730694770813, 0.6465367078781128, -0.4334462285041809, 0.18511712551116943, -0.11406335234642029, 0.42548781633377075, 0.316202312707901, 0.21916449069976807, -0.06481568515300751, 0.5646212100982666, 0.5517255663871765, -0.5809755325317383, 0.2994024455547333, 0.2230607122182846, 0.005550398025661707, 0.796366274356842, -0.751008152961731, 0.10158100724220276, -0.3571566641330719, 0.3346501886844635, -0.7049774527549744, -0.2717207074165344, 0.05446475371718407, -0.745481550693512, 0.492321252822876, -0.12363797426223755, -0.2402023822069168, -0.15611520409584045, -0.35916030406951904, 0.533454418182373, 0.2859272360801697, -0.3265096843242645, 0.20975476503372192, 0.6727756857872009, -0.007529507856816053, -0.7415299415588379, -0.8751195669174194, -0.09324941039085388, -0.2317412942647934, -0.38504722714424133, 0.3777009844779968, 0.13485346734523773, -0.4666885435581207, 0.11634109914302826, 0.06918720155954361, -0.17963002622127533, 0.3319782018661499, 0.3942902684211731, 0.23804622888565063, -0.01262135710567236, 0.1609816551208496, -0.2863906919956207, 0.21925783157348633, 0.14246173202991486, -0.3067261874675751, 0.3543834090232849, 0.2699226438999176, -0.8043265342712402, 0.05581040680408478, 0.22044216096401215, 0.5361121892929077, -0.19948677718639374, 0.8975043296813965, 0.4682767391204834, -0.6940057873725891, -0.32127660512924194, -0.4046610891819, -0.2575930655002594, -0.39499765634536743, 0.7130769491195679, -0.17063008248806, -0.8292977213859558, 0.5134140253067017, 0.2888464629650116, -0.0969872772693634, 0.44151708483695984, 0.6614494919776917, 0.04204786196351051, 0.6392397284507751, 0.2741663455963135, -0.1316651850938797, 0.04675450921058655, -0.25926241278648376, 0.24304433166980743, -0.842989981174469, -0.2923380732536316, -0.3878856897354126, -0.1804313063621521, -0.1495029330253601, -0.9016748070716858, 0.5165083408355713, -0.006701276171952486, 0.09305883198976517, 0.25081953406333923, -0.3641808331012726, 0.3449845314025879, 0.42282694578170776, 0.2762436866760254, -0.16745077073574066, 0.014825493097305298, -0.15440534055233002, 0.050289981067180634, -0.6075867414474487, -0.22014471888542175, 1.1750127077102661, 0.3295629918575287, 0.7663435339927673, -0.14291732013225555, 0.6750768423080444, -0.02304849959909916, 0.208039790391922, -0.6799091100692749, 0.3467254936695099, -0.05432230979204178, -0.9082236886024475, -0.3445320725440979, -0.5143342614173889, -1.0918668508529663, 0.11615070700645447, 0.15242789685726166, -0.6933576464653015, 0.0958598256111145, -0.05802220106124878, -0.9962409734725952, 0.7182070016860962, -0.2202516496181488, 0.5044018626213074, 0.034397806972265244, -0.17723707854747772, 0.11831717193126678, -0.5515496730804443, 0.32284805178642273, 0.04135947301983833, 0.19601310789585114, -0.09039256721735, -0.0482071153819561, 0.5669254660606384, -0.3198009133338928, 0.6470373868942261, -0.36974987387657166, -0.054428581148386, 0.4713405966758728, 0.19520726799964905, 0.2431686669588089, 0.20611922442913055, -0.2498256266117096, 0.18043793737888336, 0.09633874148130417, -0.7797167301177979, -0.5622249841690063, 0.7331632375717163, -0.5248976349830627, -0.46234196424484253, -0.31820204854011536, -0.8533366918563843, -0.4951578974723816, -0.019866468384861946, 0.39817532896995544, 0.2383510023355484, -0.3585022985935211, 0.42362740635871887, 1.052985668182373, -0.38991427421569824, 0.18748264014720917, 0.5997819304466248, 0.3350011706352234, -0.2807769477367401, 0.7528563737869263, 0.0824958011507988, 0.4565941095352173, 0.6091029644012451, -0.33456170558929443, -0.23169496655464172, -0.6905183792114258, -0.6801802515983582, 0.07283052802085876, -0.4218706786632538, -0.3779314160346985, -0.7886611819267273, -0.26193687319755554, -0.41690078377723694, -0.3026030957698822, -0.30446311831474304, -0.3407035171985626, -0.27689996361732483, -0.16436538100242615, 0.31601041555404663, 0.3223308026790619, 0.1927531361579895, -0.04170546680688858, -0.6943257451057434, 0.3701103925704956, 0.3396916389465332, -0.05092751979827881, -0.18778719007968903, -0.5688096284866333, -0.13733041286468506, 0.33902162313461304, -0.2770666778087616, -1.1894890069961548, 0.4938865005970001, 0.06303193420171738, 0.6307415962219238, 0.3466394543647766, 0.14719492197036743, 0.4928188621997833, -0.4581810235977173, 0.912865161895752, -0.18029239773750305, -0.3733246922492981, 0.4450683891773224, -0.23731061816215515, 0.2697550058364868, 0.618582546710968, 0.625786542892456, -0.35272374749183655, -0.7118591070175171, -0.9708521962165833, -0.8043574094772339, 0.42692556977272034, 0.23402321338653564, 0.05637192353606224, -0.14083215594291687, 0.5875211954116821, -0.23457202315330505, 0.12152737379074097, -0.31770089268684387, -0.4814370572566986, 0.13210804760456085, -0.0974477082490921, 0.07082980126142502, -0.017766598612070084, -0.6024620532989502, 0.20784078538417816, 0.6991428732872009, -0.18880128860473633, 0.2684665620326996, 0.43626314401626587, -0.2706286907196045, -0.06658008694648743, 0.33038705587387085, 0.33278894424438477, 0.31781935691833496, -0.08377839624881744, 0.287164568901062, 0.36692705750465393, -0.44317254424095154, 0.09942427277565002, 0.6315452456474304, -0.38241317868232727, -0.05972256511449814, 0.47075122594833374, 0.43539026379585266, 0.1755519062280655, -0.8496696352958679, 0.7689492106437683, 0.034014999866485596, -0.21837906539440155, -0.09822206199169159, -0.06288028508424759, 0.09185791015625, 0.19600924849510193, 0.39021041989326477, 0.06716354936361313, 0.22585733234882355, -0.39549317955970764, 0.5065616369247437, 0.9008121490478516, -0.7988753318786621, -0.22748249769210815, 0.7813071608543396, -0.2506137192249298, 0.04002466797828674, 0.2948148250579834, -0.31449443101882935, -0.36225664615631104, 0.8142774105072021, 0.2576175928115845, 0.6920597553253174, -0.16719447076320648, 0.2856850028038025, 0.013858195394277573, 0.21659956872463226, 0.3389730453491211, 0.05604792758822441, 0.11614673584699631, -0.6879969239234924, -0.10109719634056091, -0.7145653367042542, -0.520523726940155, 0.46301567554473877, -0.8429030179977417, -0.17557010054588318, -0.4832907021045685, -0.1521860510110855, 0.4053342938423157, 0.06853276491165161, -0.5212661027908325, 0.26637277007102966, 0.2761152982711792, 0.6792768239974976, -0.53892982006073, 0.7680830955505371, 0.6457380652427673, -0.500491738319397, -0.6333061456680298, 0.1505047231912613, 0.12422910332679749, -1.012865662574768, 0.5121366381645203, -0.15749333798885345, 0.06580813974142075, -0.3318926692008972, -0.5975143909454346, -0.8269060850143433, 1.0325672626495361, 0.39368778467178345, -0.1646505892276764, -0.31870225071907043, -0.0016715740785002708, 0.5991647839546204, 0.06111351028084755, 0.27041131258010864, 0.3725980222225189, 0.02633286640048027, 0.0522940494120121, -0.539230465888977, 0.3169156312942505, -0.1338755488395691, -0.21061459183692932, 0.11594392359256744, -0.6197770237922668, 0.736355185508728, -0.5284926295280457, -0.06694942712783813, 0.12948475778102875, 0.5306980013847351, 0.6058765649795532, 0.21708089113235474, 0.332243412733078, 0.6218571662902832, 0.8450674414634705, 0.021017814055085182, 1.2352969646453857, -0.4757015109062195, 0.27121952176094055, 0.870322048664093, -0.2035522162914276, 0.5481375455856323, 0.630246639251709, -0.313770592212677, 0.2406051903963089, 0.37417227029800415, -0.22825311124324799, 0.372314453125, 0.4496591091156006, -0.36693036556243896, -0.11390192061662674, -0.15273694694042206, -0.26878833770751953, 0.24080489575862885, 0.5104773044586182, -0.4507931172847748, -0.4896259009838104, 0.13494408130645752, 0.38988393545150757, -0.0814364030957222, -0.06794919818639755, 0.5261184573173523, 0.1687302142381668, -0.5141520500183105, 0.5347827672958374, 0.11321031302213669, 0.5495749115943909, -0.679527997970581, 0.11312231421470642, 0.04981908202171326, 0.17265532910823822, 0.07804691791534424, -0.6330620646476746, 0.26126983761787415, 0.01899263635277748, -0.10564553737640381, -0.16016459465026855, 0.663828432559967, -0.4517374634742737, -0.31702107191085815, 0.18065617978572845, 0.5105583667755127, 0.18690171837806702, -0.5155781507492065, -0.7618994116783142, -0.6211093068122864, -0.2109117954969406, -0.37940481305122375, 0.6270853281021118, 0.46394795179367065, 0.18112783133983612, 0.7889309525489807, 0.5483177304267883, 0.4302728772163391, -0.09046218544244766, 0.03491249307990074, 0.7526432871818542, -0.2862258851528168, -0.18178285658359528, -0.9266707897186279, 0.034850895404815674, -0.12226390093564987, -0.14212077856063843, 0.9489583373069763, 0.46155211329460144, 0.6682354211807251, 0.09431817382574081, 0.706027626991272, 0.030486924573779106, 0.5135287642478943, -0.2560822367668152, 1.0542707443237305, -0.541534423828125, 0.16668826341629028, 0.03392376750707626, -0.14772577583789825, -0.34239983558654785, 0.1263025403022766, -0.5257810950279236, 0.06178293377161026, 0.6550998687744141, 0.7957838773727417, 0.10442911088466644, -0.20929180085659027, 0.6062116026878357, 0.16955402493476868, 0.39376887679100037, 0.7067095041275024, 0.42719441652297974, -0.47038307785987854, 0.7438960671424866, -0.36187654733657837, -0.09156373888254166, -0.14320501685142517, -0.5604954957962036, -0.8812138438224792, -0.28803157806396484, -0.3117826282978058, -0.5143747329711914, 0.3331615924835205, 0.5053419470787048, 0.8821789026260376, -0.9118367433547974, 0.6713985204696655, 0.2177909016609192, 0.11830706894397736, -0.03683342784643173, -0.2858463525772095, 0.45437508821487427, -0.28400033712387085, -0.6640428304672241, 0.44612863659858704, 0.2662181556224823, 0.049905262887477875, -0.5185884237289429, 0.40471139550209045, -0.18958885967731476, 0.46776458621025085, 0.17636117339134216, 0.35317662358283997, -0.6167786121368408, -0.16202162206172943, 0.20094771683216095, -0.3756229877471924, -0.3005598783493042, 0.6979939937591553, -0.832107663154602, 0.3031119406223297, 0.23728585243225098, 0.883544921875, 0.18309630453586578, 0.10933876037597656, 0.32542985677719116, -1.1162952184677124, 0.14530789852142334, 0.6252802610397339, 0.36298903822898865, 0.4829219877719879, -0.683978259563446, 0.09146668016910553, 0.3240594267845154, -0.4694749414920807, -0.7765357494354248, 0.2086559385061264, -0.6938842535018921, -0.6534069180488586, 1.2605793476104736, -0.47880029678344727, -0.3408038020133972, -0.08815222233533859, 0.16236184537410736, 0.2178516536951065, -0.028971491381525993, 0.7775344848632812, 0.6480029821395874, -0.03299108147621155, 0.3339577615261078, -0.7808659076690674, 0.6361615061759949, 0.4822429418563843, -0.8286788463592529, -0.029430337250232697, 0.23097141087055206, 0.4673280417919159, 0.3315320312976837, 0.635278046131134, -0.32852262258529663, 0.2353750318288803, 0.2850184440612793, -0.1285238116979599, -0.19479073584079742, -0.17146389186382294, -0.3887721300125122, 0.6534578204154968, -0.23622263967990875, -0.22324375808238983 ]
http://arxiv.org/abs/2402.10524v1
http://arxiv.org/pdf/2402.10524v1
LLM Comparator: Visual Analytics for Side-by-Side Evaluation of Large Language Models
2024-02-16T09:14:49
2024-02-16T09:14:49
Minsuk Kahng, Ian Tenney, Mahima Pushkarna, Michael Xieyang Liu, James Wexler, Emily Reif, Krystal Kallarackal, Minsuk Chang, Michael Terry, Lucas Dixon
cs.HC
cs.HC, cs.AI, cs.CL, cs.LG
Automatic side-by-side evaluation has emerged as a promising approach to evaluating the quality of responses from large language models (LLMs). However, analyzing the results from this evaluation approach raises scalability and interpretability challenges. In this paper, we present LLM Comparator, a novel visual analytics tool for interactively analyzing results from automatic side-by-side evaluation. The tool supports interactive workflows for users to understand when and why a model performs better or worse than a baseline model, and how the responses from two models are qualitatively different. We iteratively designed and developed the tool by closely working with researchers and engineers at a large technology company. This paper details the user challenges we identified, the design and development of the tool, and an observational study with participants who regularly evaluate their models.
[ -0.5794829726219177, -0.7638715505599976, 0.6357696652412415, 0.45536068081855774, -0.477640300989151, 0.3728921115398407, -0.1848510205745697, -0.4313492476940155, 0.22931653261184692, 0.24913686513900757, -0.6363108158111572, -0.6135557293891907, -0.7353178858757019, -0.0556240938603878, -0.5558893084526062, 0.581199586391449, -0.05381091684103012, 0.222428098320961, -0.823708176612854, -0.33760249614715576, -0.7180267572402954, -0.30333635210990906, -0.9687056541442871, -0.4104408025741577, 0.32384613156318665, 0.3658277988433838, 1.098964810371399, 0.3692220151424408, 0.8290993571281433, 0.5027188658714294, 0.1689552217721939, -0.33694320917129517, -0.5856680870056152, 0.34270310401916504, 0.007960287854075432, -0.27876701951026917, -0.5539092421531677, -0.08320774883031845, 0.4561775326728821, 0.6126758456230164, 0.10514736920595169, 0.5397537350654602, 0.27026474475860596, 0.6028648614883423, -0.2992529571056366, 0.48777520656585693, -0.2742340564727783, 0.13898441195487976, -0.08783756196498871, -0.3172151446342468, -0.22904153168201447, -0.4503452777862549, -0.05224400386214256, -0.43678978085517883, -0.18041108548641205, 0.2058131843805313, 0.5808469653129578, 0.5726196765899658, -0.3741973340511322, -0.14923591911792755, -0.1702168732881546, 0.8026208877563477, -0.7263779640197754, 0.385168194770813, -0.28718939423561096, 0.8211480379104614, -0.03669530898332596, -0.7895141839981079, -0.6038534045219421, -0.28927427530288696, -0.25947487354278564, 0.25931796431541443, -0.6792975664138794, -0.2728668451309204, 0.2776668071746826, 0.44655266404151917, -0.8663396239280701, 0.4742524027824402, -0.015892988070845604, 0.018168853595852852, 0.862402081489563, 0.5752495527267456, 0.5567910671234131, -0.14573970437049866, -0.21357914805412292, -0.22820135951042175, -0.36174899339675903, 0.1855163425207138, 0.3820134401321411, -0.05366917699575424, -0.409790575504303, 0.7201189398765564, -0.38553789258003235, 0.7379711270332336, -0.07333879172801971, 0.18509447574615479, 0.377201110124588, -0.1280813217163086, -0.26279425621032715, -0.3268778324127197, 1.0257952213287354, 0.7254196405410767, 0.07269115746021271, 0.12782451510429382, -0.4401266872882843, 0.004118192940950394, -0.013625397346913815, -0.946329653263092, -0.40343430638313293, 0.2568635940551758, -0.7105022072792053, -0.35676947236061096, -0.281410813331604, -0.935137152671814, -0.7280104160308838, -0.35991647839546204, 0.6093223690986633, 0.31125304102897644, -0.22282780706882477, -0.161185160279274, -0.2057221680879593, -0.1013808399438858, 0.5288828015327454, -0.4474870264530182, 0.2372596114873886, 0.710290789604187, 0.8176856637001038, -0.5276257395744324, -0.30765673518180847, -0.9370768666267395, -0.396212637424469, 0.006160170771181583, 1.045129418373108, -0.6822842359542847, -0.5168266296386719, -0.18371900916099548, -0.3119189739227295, 0.15948744118213654, -0.6969043612480164, 0.18582814931869507, -0.462492972612381, -0.04896439611911774, -0.14960820972919464, -0.45627355575561523, 0.17116712033748627, 0.22735919058322906, -0.948226273059845, 0.9376714825630188, 0.00010582426330074668, -1.0816758871078491, 0.5196667313575745, -0.5455604195594788, 0.022780878469347954, 0.3794226348400116, -0.7120857834815979, -0.5550030469894409, 0.1536671221256256, 0.29824182391166687, 0.44864392280578613, -0.5536037683486938, 0.13094034790992737, -0.7470256686210632, -0.3268657624721527, 0.3281400501728058, -0.4231002628803253, 0.8649366497993469, 0.2135230153799057, -0.1951988935470581, 0.7608838081359863, -0.8824670910835266, 0.16982507705688477, 0.23518218100070953, -0.2485983520746231, -0.1372976303100586, 0.025564078241586685, 0.04072332754731178, 0.25430387258529663, 0.5142460465431213, -0.27203384041786194, 0.09118594974279404, 0.03387121483683586, 0.20671139657497406, 0.4987589120864868, -0.036726534366607666, 0.23699969053268433, -0.12146661430597305, 0.8670791387557983, -0.2523137927055359, 0.338135689496994, 0.29228267073631287, -0.43739795684814453, -0.9111267328262329, -0.3092392683029175, 0.11209015548229218, 0.3941223621368408, -0.9338918924331665, 0.27012911438941956, -0.5035498738288879, -0.594612717628479, -0.5444629192352295, 0.2586343288421631, 0.20144028961658478, 0.298528790473938, 0.16505727171897888, -0.37821757793426514, -0.397812157869339, -1.086759090423584, -0.44879695773124695, -0.18020831048488617, -0.29642337560653687, 0.04447667673230171, 0.44110268354415894, -0.13232573866844177, 0.7978991270065308, -0.39761075377464294, 0.09097267687320709, -0.3543788492679596, 0.5293017029762268, 0.17450402677059174, 0.11620223522186279, 0.3786146640777588, -0.5802749395370483, -0.6250113844871521, 0.11750395596027374, -0.8294298052787781, -0.6262363791465759, 0.0904933288693428, 0.09049791842699051, -0.03777368739247322, 0.7091333866119385, -0.2767103612422943, 0.4698147177696228, 0.9110330939292908, -0.18434303998947144, 0.4627399444580078, -0.13622352480888367, 0.3239296078681946, -0.769875168800354, 0.19040447473526, -0.041925959289073944, -0.2406429499387741, -0.2187161147594452, 0.21978162229061127, -0.08132666349411011, -0.26364627480506897, -0.33815163373947144, 0.6995316743850708, -0.4657624661922455, -0.46564382314682007, -0.3241823613643646, 0.2831583023071289, 0.01641697622835636, 0.15844784677028656, -0.03251061588525772, 0.7416882514953613, 0.3347446322441101, -0.08621615171432495, 0.7796261310577393, 0.18677322566509247, -0.7365303635597229, 0.7052056789398193, -0.8737956285476685, 0.15577596426010132, 0.1974238008260727, 0.05902129411697388, -1.0573093891143799, -0.008658594451844692, 0.014849905855953693, -0.44007962942123413, -0.0757068395614624, -0.17846553027629852, -0.6271175146102905, -0.5099868178367615, -0.49707338213920593, 0.4043850898742676, 0.3152482509613037, -0.7675818204879761, 0.7754974961280823, 0.40650472044944763, -0.4988027513027191, -0.22989477217197418, -0.6292792558670044, 0.2319987416267395, -0.40210506319999695, -0.9612303972244263, -0.211891308426857, -0.414845734834671, -0.8194991946220398, -0.06865359097719193, -0.1715991497039795, -0.10261846333742142, 0.12753646075725555, 0.45684799551963806, 0.2778606712818146, -0.1399710476398468, -0.22940999269485474, -0.014742565341293812, -0.2902541756629944, 0.3163352906703949, 0.3354548215866089, 0.3521154224872589, -0.18771600723266602, -0.551452100276947, -0.3744262754917145, 0.29743173718452454, 0.4333164393901825, -0.18325771391391754, 0.4042801260948181, 0.3299647867679596, -0.040797118097543716, -0.18655405938625336, -0.6078512072563171, 0.21082259714603424, -0.5261235237121582, 0.226997509598732, -0.6440528035163879, -0.7409651875495911, 0.5722050070762634, 0.0431547611951828, 0.018090801313519478, 0.40153563022613525, 0.8375945091247559, 0.15562979876995087, 1.3895920515060425, 0.7256747484207153, 0.07341617345809937, 0.3818603456020355, -0.18366128206253052, 0.24662849307060242, -0.2837862968444824, -0.26764988899230957, -0.41326287388801575, -0.3175169825553894, -0.47310638427734375, -0.2954941987991333, 0.6173708438873291, -0.12748746573925018, 0.040750652551651, 0.1030803844332695, -0.2427445650100708, 0.531909167766571, 0.3405103385448456, -0.28803005814552307, 0.6569851040840149, -0.10424671322107315, -0.04462776333093643, -0.04953598976135254, -0.4700532853603363, -0.4442809522151947, 0.6227084994316101, 0.35213130712509155, 0.892875075340271, 0.03258305415511131, 0.6318494081497192, 0.45433908700942993, 0.47486191987991333, -0.963753342628479, 0.7270070314407349, -0.03397300839424133, -0.0783281996846199, -0.3674950897693634, -0.5332819819450378, -0.8734472990036011, 0.5028644800186157, -0.26519471406936646, -0.7531302571296692, -0.0031461413018405437, 0.18969981372356415, -0.2884255647659302, -0.03483983129262924, -0.855052649974823, 1.1157047748565674, -0.38176578283309937, -0.47588440775871277, -0.26311004161834717, -0.3884274661540985, 0.04696567356586456, -0.1686982661485672, 0.2830428183078766, 0.03326994925737381, 0.05978299304842949, 0.592675507068634, -0.5627370476722717, 0.37266507744789124, -0.09585393965244293, -0.27110299468040466, 0.07778986543416977, 0.27822473645210266, 0.4513475000858307, 0.10745099931955338, -0.23222549259662628, 0.19659103453159332, 0.10894422978162766, -0.2515616714954376, -0.9799957871437073, 0.9936008453369141, -0.4063997268676758, -0.848605215549469, -0.3748350739479065, -0.649135410785675, -0.2693251073360443, 0.20541022717952728, 0.09899232536554337, 0.27192771434783936, -0.17020677030086517, 0.19886696338653564, -0.06556405127048492, -0.41249698400497437, 0.46649542450904846, 0.5415369868278503, -0.6233296990394592, -0.2739713788032532, 0.7754014730453491, -0.002715921960771084, 0.22905901074409485, 0.33247774839401245, 0.11288705468177795, -0.34231963753700256, -0.6861824989318848, -0.5282939076423645, -0.14707964658737183, -0.9660027027130127, 0.02260936237871647, -0.4358817934989929, -0.02200368046760559, -0.052627082914114, -0.09147166460752487, -0.1918599009513855, -0.4069313704967499, 0.11669539660215378, 0.15783795714378357, -0.004893218167126179, 0.9631655812263489, 0.12246491014957428, 0.24155689775943756, -0.38991275429725647, 0.22426070272922516, 0.5518492460250854, 0.41351258754730225, 0.0426073893904686, -0.1783696562051773, -0.3661375939846039, -0.24787472188472748, -0.11849189549684525, -0.47577375173568726, 0.44418516755104065, -0.5262516140937805, 0.457977831363678, 0.2545798122882843, -0.15869854390621185, 0.6545448303222656, -0.3354232907295227, 0.592587947845459, 0.2185339778661728, -0.9685205817222595, 0.24378471076488495, -0.08160222321748734, 0.6155568957328796, 0.5854288339614868, 0.18804611265659332, -0.2520381510257721, -0.4474371373653412, -0.27151286602020264, -0.8283149600028992, 0.32736632227897644, 0.22653944790363312, -0.34074991941452026, 0.2920900881290436, -0.41665491461753845, 0.3527558743953705, 0.22581623494625092, -0.6810270547866821, -0.1533331274986267, 0.02747347019612789, -0.20434574782848358, -0.25820571184158325, -0.08062149584293365, -0.017118636518716812, -0.10125976800918579, 0.33439916372299194, -0.10494406521320343, -0.08596359938383102, -0.4095541834831238, -0.3757762908935547, -0.07526655495166779, 0.2546241581439972, 0.06149546429514885, 1.1432068347930908, -0.12138774245977402, 0.1368696093559265, 0.4073481857776642, 0.09522198885679245, -0.24205659329891205, 0.39115408062934875, 0.16380910575389862, -0.05692419782280922, 0.48860108852386475, 0.7814841270446777, 0.01834256760776043, -0.7274579405784607, 0.7979214787483215, -0.3993946313858032, 0.12977834045886993, -0.23539157211780548, -0.115454763174057, 0.2094990611076355, 0.6433085203170776, 0.21793776750564575, -0.29275211691856384, 0.6379442811012268, -0.3674663305282593, 0.02052764594554901, 0.592186689376831, -0.16116416454315186, 0.002139278221875429, 0.6544149518013, 0.39073053002357483, -0.4404701888561249, 0.15565814077854156, -0.0893000140786171, -0.32084760069847107, 0.6710337400436401, 0.06291363388299942, 0.7790265083312988, 0.06675148755311966, 0.03879547491669655, -0.12067274749279022, 0.08636347204446793, 0.21113209426403046, 0.2622464895248413, -0.11645112931728363, -0.08429963141679764, -0.45721808075904846, -0.5483548641204834, -0.7630533576011658, 0.2932581305503845, -0.8995571136474609, 0.5042394995689392, -0.14587600529193878, -0.20037618279457092, 0.4862304627895355, 0.08350437134504318, -0.9508933424949646, 0.2777094542980194, 0.12928661704063416, 0.713281512260437, -0.8164133429527283, 0.627527117729187, 0.7308976650238037, -0.44911161065101624, -0.39808928966522217, -0.0382760614156723, 0.24295829236507416, -0.9250654578208923, 0.7651011943817139, 0.14773088693618774, -0.3910473585128784, -0.1841067522764206, -0.3326531648635864, -0.6166597008705139, 0.8962718844413757, 0.47068968415260315, -0.7780725955963135, 0.41436222195625305, 0.2696070075035095, 0.8306927680969238, -0.24384576082229614, 0.6661049127578735, 0.47407999634742737, 0.4376969039440155, -0.19993111491203308, -1.1212234497070312, 0.22047166526317596, -0.5367503762245178, -0.014728432521224022, 0.2955482006072998, -0.7365471720695496, 0.5923770666122437, 0.07586964964866638, -0.13352197408676147, 0.09571775794029236, 0.6442523002624512, 0.0615355484187603, 0.6901655197143555, 0.6821507215499878, 0.5754512548446655, 0.33515653014183044, 0.13379992544651031, 0.9910825490951538, -0.1824364811182022, 0.4753267765045166, 1.3415457010269165, -0.2783384621143341, 0.9436488747596741, 0.6041626930236816, -0.18187189102172852, 0.3426855504512787, 0.4706265926361084, -0.29036572575569153, 0.18590368330478668, 0.5452700853347778, -0.10346367210149765, -0.31188535690307617, 0.012033860199153423, -0.2607179582118988, 0.27382326126098633, 0.0022981532383710146, -0.1126595064997673, -0.3598187267780304, -0.06088684871792793, -0.12034770101308823, 0.13647516071796417, -0.276288241147995, 0.570235013961792, 0.07209883630275726, -0.5727007985115051, 0.4286741614341736, -0.21759365499019623, 0.515513002872467, -0.23842023313045502, -0.11959024518728256, -0.3395337164402008, 0.16538269817829132, -0.31425195932388306, -1.1220566034317017, 0.17164038121700287, 0.17051805555820465, 0.06036559119820595, -0.2804465889930725, 0.43673309683799744, -0.13643425703048706, -0.5423793196678162, 0.6111561059951782, 0.7189171314239502, 0.2749153971672058, -0.014135204255580902, -0.9176496267318726, 0.7104259133338928, -0.14918777346611023, -0.4423871636390686, 0.23365263640880585, 0.3306080102920532, -0.2006472498178482, 1.1955188512802124, 0.34529295563697815, -0.06223660334944725, -0.034875672310590744, 0.5786998867988586, 0.9175324440002441, -0.45867279171943665, -0.45311132073402405, -0.9235101938247681, 0.5758064985275269, -0.39638280868530273, -0.06813462823629379, 1.1209967136383057, 0.9257046580314636, 0.8030186295509338, 0.059634819626808167, 0.7612560391426086, 0.18141987919807434, 0.3767189681529999, -0.47279348969459534, 0.7432660460472107, -0.8243016600608826, 0.6166220903396606, -0.15016312897205353, -0.9944695234298706, -0.2911224663257599, 0.15483371913433075, -0.49200886487960815, 0.02485000528395176, 0.7766898274421692, 0.5548315048217773, -0.166331484913826, -0.09213665872812271, 0.4327627122402191, 0.3552483320236206, 0.3320797383785248, 0.28815484046936035, 0.9996786713600159, 0.0636257529258728, 0.7185503244400024, -0.21641802787780762, -0.30024510622024536, -0.1916382759809494, -0.9557588696479797, -1.2654495239257812, -0.33269810676574707, -0.470973938703537, -0.2031506896018982, 0.02131163887679577, 0.8224398493766785, 0.2881650924682617, -0.8270640969276428, -0.6750617027282715, 0.24404507875442505, 0.04861779510974884, 0.09278524667024612, -0.19049674272537231, 0.19203847646713257, 0.02360576204955578, -0.8328324556350708, 0.42222893238067627, 0.4389781653881073, -0.17066657543182373, -0.42655956745147705, 0.08658348768949509, 0.38653674721717834, -0.04194474592804909, 0.5536834001541138, -0.007797693368047476, -0.5442243218421936, -0.0976538360118866, -0.4609218239784241, 0.01961885206401348, 0.1395946443080902, 0.6916232705116272, -0.6283184885978699, 0.706933856010437, 0.8748656511306763, 0.6144096851348877, 0.5984435677528381, -0.07384373247623444, 0.5931451320648193, -0.3331955373287201, -0.12484407424926758, -0.1383461058139801, 0.5250204205513, 0.4264633059501648, -0.16185787320137024, 0.45992985367774963, -0.19634993374347687, -0.6184014081954956, -0.8953286409378052, 0.09412649273872375, -1.0639026165008545, -0.09345567971467972, 0.9586388468742371, -0.04575477913022041, -0.06793934106826782, 0.14561673998832703, -0.2471652776002884, 0.16921605169773102, -0.43057072162628174, 0.8194659352302551, 0.7186687588691711, -0.3579191267490387, 0.02203790284693241, -0.8179054260253906, 0.20941658318042755, 0.5002988576889038, -1.0959954261779785, -0.1823548674583435, 0.5795724391937256, 0.3901083767414093, -0.12816409766674042, 0.23667484521865845, 0.14487221837043762, 0.16124314069747925, 0.11382411420345306, 0.13043344020843506, -0.08559893816709518, -0.04696517065167427, -0.7614489197731018, 0.11279463022947311, 0.3224449157714844, -0.022831769660115242 ]
http://arxiv.org/abs/2402.10500v2
http://arxiv.org/pdf/2402.10500v2
Active Preference Optimization for Sample Efficient RLHF
2024-02-16T08:19:34
2024-06-05T15:10:08
Nirjhar Das, Souradip Chakraborty, Aldo Pacchiano, Sayak Ray Chowdhury
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement Learning from Human Feedback (RLHF) is pivotal in aligning Large Language Models (LLMs) with human preferences. Although aligned generative models have shown remarkable abilities in various tasks, their reliance on high-quality human preference data creates a costly bottleneck in the practical application of RLHF. One primary reason is that current methods rely on uniformly picking prompt-generation pairs from a dataset of prompt-generations, to collect human feedback, resulting in sub-optimal alignment under a constrained budget, which highlights the criticality of adaptive strategies in efficient alignment. Recent works [Mehta et al., 2023, Muldrew et al., 2024] have tried to address this problem by designing various heuristics based on generation uncertainty. However, either the assumptions in [Mehta et al., 2023] are restrictive, or [Muldrew et al., 2024] do not provide any rigorous theoretical guarantee. To address these, we reformulate RLHF within contextual preference bandit framework, treating prompts as contexts, and develop an active-learning algorithm, $\textit{Active Preference Optimization}$ ($\texttt{APO}$), which enhances model alignment by querying preference data from the most important samples, achieving superior performance for small sample budget. We analyze the theoretical performance guarantees of $\texttt{APO}$ under the BTL preference model showing that the suboptimality gap of the policy learned via $\texttt{APO}$ scales as $O(1/\sqrt{T})$ for a budget of $T$. We also show that collecting preference data by choosing prompts randomly leads to a policy that suffers a constant sub-optimality. We perform detailed experimental evaluations on practical preference datasets to validate $\texttt{APO}$'s efficacy over the existing methods, establishing it as a sample-efficient and practical solution of alignment in a cost-effective and scalable manner.
[ -0.2564708888530731, -0.8436295390129089, 0.3839833438396454, -0.042161621153354645, -0.1995498239994049, -0.18219970166683197, -0.47796109318733215, -0.2998126447200775, 0.013658540323376656, 0.4555019736289978, -0.7789469361305237, -0.23299282789230347, -0.08444629609584808, -0.15601661801338196, 0.1415957361459732, 0.8709741234779358, -0.1770472675561905, -0.17010462284088135, -0.06524251401424408, -0.2309623509645462, -0.3162180781364441, -0.16164110600948334, -0.6112907528877258, -0.32804569602012634, 0.6144815683364868, 0.6863365173339844, 0.8774704337120056, 0.9436841607093811, 0.12322066724300385, 0.20848672091960907, -0.04661491885781288, 0.40587058663368225, -0.4672672152519226, 0.4763435125350952, -0.021334245800971985, -0.30159202218055725, -0.22867204248905182, -0.021561669185757637, 0.5485996603965759, 0.43911299109458923, -0.6334042549133301, -0.06284992396831512, -0.13854122161865234, 0.7216684222221375, -0.8091416358947754, 0.005002517253160477, -0.6525440812110901, 0.2028837502002716, -0.11272835731506348, -0.1118934154510498, -0.4904821515083313, -0.5671859383583069, 0.3671760559082031, -0.8603345155715942, 0.24167566001415253, 0.3159278929233551, 1.0781904458999634, 0.4195861220359802, -0.2972610890865326, -0.2684568166732788, -0.6723079085350037, 0.9009354114532471, -0.4540766179561615, 0.28459009528160095, 0.44349926710128784, 0.3729584217071533, -0.14062438905239105, -0.410256952047348, -0.47078806161880493, -0.23136185109615326, 0.098453588783741, 0.30976301431655884, -0.0362568236887455, 0.2423056960105896, 0.20203439891338348, 0.21390295028686523, -0.43111610412597656, 0.24559694528579712, -0.14883947372436523, -0.2923838198184967, 0.7157288193702698, -0.021438831463456154, -0.03404952958226204, -0.20771507918834686, -0.4498195946216583, -0.41756147146224976, -0.6436433792114258, 0.3931715190410614, 0.6856257915496826, 0.4562327265739441, -0.0016591212479397655, 0.4544581174850464, -0.16891905665397644, 0.9068350791931152, 0.3001755177974701, -0.16375508904457092, 0.0920030027627945, -0.22941215336322784, -0.08290114253759384, 0.07211510837078094, 0.7361693978309631, 0.13361890614032745, 0.30002278089523315, 0.09755021333694458, -0.4712350368499756, -0.17051100730895996, 0.4334336221218109, -0.46570050716400146, -0.20611535012722015, 0.28296107053756714, -0.26823440194129944, -0.30728021264076233, -0.03223275765776634, -0.8028977513313293, -0.2752242982387543, -0.19798608124256134, 0.31956103444099426, -0.135780930519104, -0.06446335464715958, -0.14581282436847687, 0.22591803967952728, 0.17640061676502228, 0.40185579657554626, -1.0446561574935913, -0.09638646990060806, 0.390394926071167, 0.5909184813499451, -0.3682021498680115, -0.28902336955070496, -0.6886361241340637, -0.06746911257505417, -0.4077930152416229, 0.792130172252655, -0.449241578578949, -0.5400194525718689, 0.22542108595371246, -0.21485136449337006, -0.1284203678369522, -0.6468282341957092, 0.7305226922035217, -0.7394965887069702, 0.26526662707328796, -0.37225207686424255, -0.4062891900539398, 0.05160900577902794, 0.05858341604471207, -0.7207236886024475, 0.9844626188278198, 0.23445996642112732, -0.41117337346076965, 0.6912159323692322, -0.49089452624320984, -0.2286646068096161, -0.08425073325634003, -0.12449328601360321, -0.9064764976501465, -0.13891053199768066, 0.33758944272994995, 0.18955367803573608, 0.04002467542886734, 0.32905808091163635, -0.49926966428756714, -0.28732168674468994, 0.30554938316345215, -0.4363613426685333, 0.6516166925430298, 0.4213978052139282, -0.34816187620162964, 0.6175991892814636, -0.45509615540504456, -0.026014074683189392, -0.007263454608619213, -0.6322677135467529, -0.10425398498773575, 0.14867368340492249, -0.0723675787448883, -0.15548771619796753, 0.17975158989429474, -0.34166401624679565, 0.37025681138038635, -0.3257266581058502, 0.28110596537590027, 1.12130868434906, 0.06750063598155975, 0.6174301505088806, -0.3233950436115265, 0.7650810480117798, -0.30495399236679077, 0.30895495414733887, 0.04698072001338005, -0.12543708086013794, -0.40432289242744446, -0.29956382513046265, 0.5731869339942932, 0.42988455295562744, -0.5396391749382019, 0.5212545990943909, 0.013531642965972424, -0.04457512125372887, -0.5775119066238403, 0.1190265417098999, 0.5220442414283752, 0.6832807064056396, 0.3492657244205475, -0.07645215094089508, -0.4633711576461792, -1.0851318836212158, -0.15089505910873413, -0.30433377623558044, 0.19485624134540558, 0.7018478512763977, -0.09855184704065323, 0.10027934610843658, 1.145465612411499, -0.6003733277320862, -0.01599111221730709, -0.2992042601108551, 0.08344733715057373, 0.09029097110033035, 0.3565785884857178, 0.3685280978679657, -0.7971664071083069, -0.6063567399978638, -0.15909168124198914, -0.36206620931625366, -0.21706943213939667, -0.030584948137402534, -0.28104645013809204, 0.37414827942848206, 0.12895770370960236, -0.497561514377594, 0.10699775069952011, 0.5437632203102112, -0.2333241105079651, 0.3399520516395569, -0.2101331204175949, -0.07158719748258591, -0.7481199502944946, 0.008384781889617443, -0.03630908951163292, -0.2364128828048706, -0.30833378434181213, -0.016861094161868095, 0.18892544507980347, 0.06136620417237282, -0.40210965275764465, 0.6940621137619019, -0.4306115210056305, -0.054541561752557755, -0.3278820514678955, -0.05047369375824928, -0.3195209801197052, 0.7049862146377563, 0.22785869240760803, 1.0145142078399658, 0.22436490654945374, -0.5037537217140198, 0.30372801423072815, 0.13484561443328857, -0.2724662721157074, 0.3661263585090637, -0.5415289402008057, 0.051155269145965576, -0.06757865846157074, 0.3747681975364685, -0.8332685828208923, -0.40721020102500916, 0.2979865074157715, -0.3982613980770111, 0.4016200006008148, -0.13650448620319366, -0.010967168025672436, -0.10483556985855103, -0.18420852720737457, 0.4572039246559143, 0.6850671768188477, -0.6988978385925293, 0.46804797649383545, 0.512212872505188, 0.08201619237661362, -1.0319206714630127, -0.039330244064331055, -0.4633108377456665, -0.2698839604854584, -0.2938820421695709, 0.21366210281848907, 0.17158836126327515, -0.18734265863895416, 0.10769277811050415, -0.3581881523132324, 0.26156923174858093, 0.0393529050052166, 0.00759548507630825, 0.42051777243614197, 0.07124236226081848, 0.04036005586385727, -0.04811202734708786, -0.21258051693439484, -0.21394284069538116, -0.2740810513496399, 0.321022093296051, 0.1036287471652031, -0.387874960899353, -0.0899047926068306, 0.036575086414813995, 0.3222580552101135, -0.10580472648143768, 0.24071021378040314, 0.4072466790676117, -0.12419888377189636, -0.5165415406227112, -0.45091405510902405, -0.21957698464393616, -0.42331865429878235, 0.3166281282901764, -0.22062036395072937, -0.7438274025917053, 0.31440943479537964, 0.19754186272621155, 0.46314501762390137, 0.29871267080307007, 0.4327365756034851, -0.1254478096961975, 0.9526812434196472, 0.2867552936077118, -0.006023591849952936, 0.8120656609535217, -0.07480892539024353, -0.06062978506088257, -0.6383241415023804, -0.06255874782800674, -0.395702064037323, -0.39334508776664734, -0.4793625771999359, -0.2936500608921051, 0.5076132416725159, 0.18632188439369202, -0.24986658990383148, 0.07604993134737015, -0.48054736852645874, 0.3362223207950592, 0.817861795425415, 0.22873498499393463, 0.012027215212583542, -0.04171818867325783, -0.2201279103755951, -0.009488980285823345, -0.912334144115448, -0.3750820457935333, 1.1509149074554443, 0.27588433027267456, 0.9742131233215332, 0.12474901974201202, 0.6557921171188354, 0.3719443380832672, 0.27723073959350586, -0.9777984023094177, 0.4181024730205536, 0.0697212666273117, -0.5558757781982422, -0.744688093662262, -0.5212403535842896, -1.196797251701355, 0.32934650778770447, -0.3858995735645294, -0.45360079407691956, 0.4713689088821411, 0.7890013456344604, -0.6964124441146851, 0.09152371436357498, -0.7348474860191345, 0.7646411061286926, -0.2079048454761505, -0.6999489665031433, -0.051552798599004745, -0.7687472105026245, 0.4021715819835663, 0.11758103221654892, 0.018783142790198326, -0.1441584825515747, -0.045798130333423615, 0.7720279097557068, -0.38684210181236267, 0.701596736907959, -0.5297291278839111, -0.08438912779092789, 0.37912610173225403, -0.1663362681865692, 0.8385589718818665, 0.1659751832485199, -0.03288102149963379, -0.44908779859542847, -0.17713940143585205, -0.5862913131713867, -0.5101137161254883, 0.5288850665092468, -1.0217965841293335, -0.6059303879737854, -0.4409872591495514, -0.42457500100135803, -0.48897844552993774, 0.05258384346961975, 0.2577773928642273, 0.29100698232650757, -0.1336860954761505, 0.12689754366874695, 1.026389718055725, -0.0551699660718441, 0.5261316299438477, 0.3993111848831177, -0.08119760453701019, -0.649210512638092, 0.7110892534255981, -0.03834885358810425, 0.41029301285743713, 0.38259565830230713, 0.45703303813934326, -0.5839532017707825, -0.4510778486728668, -0.7818977236747742, 0.1138361319899559, -0.41476184129714966, -0.2354588806629181, -0.4306972622871399, 0.06483924388885498, -0.279438853263855, -0.22559799253940582, -0.4469870924949646, -0.3979184925556183, -0.14777228236198425, -0.12591832876205444, 0.2757015526294708, 0.2468353807926178, -0.1469896286725998, 0.2225656807422638, -0.5976809859275818, 0.23812827467918396, 0.6999416351318359, 0.10557472705841064, 0.08525943011045456, -0.3592473566532135, -0.21706216037273407, -0.009810751304030418, -0.3130050599575043, -0.8158408403396606, 0.2407202422618866, -0.04146459698677063, 0.7884083986282349, 0.5747683644294739, 0.5428475141525269, 0.6635443568229675, -0.2496618628501892, 0.6209006309509277, -0.0711745098233223, -0.6955416798591614, 0.45936107635498047, -0.43045279383659363, 0.24867106974124908, 0.8395833373069763, 0.16620542109012604, -0.34854090213775635, 0.034231036901474, -0.7626373767852783, -1.083615779876709, 0.9340460896492004, -0.027410617098212242, -0.0957995355129242, 0.2682422995567322, 0.4770432114601135, 0.06434443593025208, 0.16687853634357452, -0.5538637638092041, -0.18766871094703674, -0.18577903509140015, -0.21397969126701355, -0.028394170105457306, -0.18155673146247864, -0.4483976364135742, 0.11745152622461319, 0.9034346342086792, -0.29462921619415283, 0.10782425850629807, 0.18738818168640137, 0.12276598811149597, -0.5214852094650269, 0.3859859108924866, 0.6716645359992981, 0.5518017411231995, -0.4302758574485779, 0.03146464377641678, 0.006694577168673277, -0.38323065638542175, 0.24422502517700195, 0.1497921645641327, -0.6135348081588745, -0.23777581751346588, 0.29528772830963135, 1.034145474433899, 0.16866452991962433, -0.8315301537513733, 0.46933019161224365, 0.011630629189312458, -0.2252967655658722, -0.2331179976463318, 0.32877668738365173, -0.23133797943592072, 0.09953458607196808, 0.427978515625, 0.02567351423203945, -0.14117152988910675, -0.495084285736084, 0.2650913596153259, 0.6625543236732483, -0.598539412021637, -0.1503795087337494, 0.4448266923427582, 0.3300830125808716, -0.39512091875076294, 0.5283389091491699, -0.1968834549188614, -0.5083590149879456, 0.522154688835144, 0.4105079472064972, 0.8159048557281494, -0.2331760823726654, 0.16834880411624908, 0.5009461045265198, -0.054991669952869415, -0.3284189701080322, 0.15322548151016235, -0.3955792188644409, -0.9863635897636414, -0.14592862129211426, -0.6221737861633301, -0.7159391641616821, -0.09770334511995316, -0.8600070476531982, 0.18596436083316803, -0.3525402545928955, -0.07439164817333221, -0.41004544496536255, 0.2004038393497467, -0.2712816596031189, 0.13968151807785034, -0.3198941946029663, 0.5982581377029419, -0.7368260025978088, 0.7861508131027222, 0.7601363658905029, -0.16485275328159332, -0.9874483346939087, 0.2505261301994324, 0.0011460169916972518, -1.1215018033981323, 0.25750893354415894, -0.34302639961242676, 0.0388336181640625, 0.0403202548623085, -0.4653455913066864, -0.8842071294784546, 0.9961602687835693, 0.15663887560367584, -0.5606818199157715, -0.13699641823768616, -0.642156183719635, 0.18382880091667175, -0.2868003845214844, 0.10314153134822845, 0.4850188195705414, 0.6080378890037537, 0.36834946274757385, -0.7756102681159973, 0.08229437470436096, 0.11244268715381622, -0.08356912434101105, 0.4873543977737427, -0.8447270393371582, 0.5700139403343201, -0.35111522674560547, -0.2680920660495758, -0.04712199047207832, 0.7806361317634583, 0.7446618676185608, 0.23073124885559082, 0.8727464079856873, 0.5763263702392578, 0.7160319089889526, -0.007350371219217777, 0.8726339936256409, -0.17797839641571045, 0.4431191086769104, 0.9727399945259094, -0.23824313282966614, 0.8110926747322083, 0.5570951104164124, -0.41819047927856445, 0.2084273248910904, 1.0254507064819336, 0.053225018084049225, 0.8428453207015991, 0.19679154455661774, -0.3068901002407074, -0.39516618847846985, -0.08153349161148071, -0.19415125250816345, 0.15577873587608337, 0.018592223525047302, -0.1829727441072464, -0.13356232643127441, -0.29009875655174255, -0.018022138625383377, 0.2721773684024811, -0.10964160412549973, 0.9783949851989746, -0.2802378535270691, -1.2601501941680908, 0.5634391903877258, -0.08997207880020142, 0.6886379718780518, -0.7539680004119873, 0.09707280993461609, -0.292029470205307, 0.12298821657896042, -0.0910375565290451, -0.4961335361003876, 0.02726846933364868, -0.23032228648662567, -0.22548525035381317, -0.37218114733695984, 0.40000176429748535, -0.43731653690338135, -0.1056092381477356, -0.10416539758443832, 0.3559190034866333, -0.22007228434085846, 0.5335623621940613, -0.7288365960121155, -0.05360366404056549, 0.25391674041748047, -0.5131306052207947, 0.3936535716056824, 0.18126076459884644, -0.1383979171514511, 0.4020306169986725, 0.7655463218688965, 0.33937329053878784, -0.1453370451927185, -0.06665489822626114, 0.558035671710968, -0.5209996104240417, -0.5706028342247009, -0.6066704988479614, 0.28391385078430176, -0.019608354195952415, -0.5745905637741089, 0.4977149963378906, 0.47881266474723816, 0.7652902007102966, 0.13671256601810455, 0.854672908782959, 0.061983127146959305, 0.5327557921409607, -0.7438303828239441, 0.3042638897895813, -0.5282400250434875, 0.3642936944961548, 0.06598176062107086, -0.8763347268104553, -0.019059689715504646, 0.7497773766517639, -0.25020498037338257, 0.1525479257106781, 0.5044679641723633, 0.7975157499313354, -0.040064629167318344, -0.11928793042898178, 0.14311890304088593, -0.1781185269355774, 0.1359919309616089, 0.49171802401542664, 0.7689747214317322, 0.018230939283967018, 0.5875662565231323, -0.33125782012939453, -0.3780936300754547, -0.25769224762916565, -0.8080854415893555, -0.5003100633621216, -0.4672625958919525, -0.17118777334690094, -0.5610875487327576, 0.3103249967098236, 1.3704191446304321, 0.8855019807815552, -0.7642038464546204, -0.26493021845817566, -0.19943128526210785, 0.36691728234291077, -0.5152007341384888, -0.2668992280960083, 0.5448322892189026, -0.43637746572494507, -0.8499389290809631, 0.32227686047554016, -0.01688818447291851, 0.14167696237564087, -0.33206334710121155, -0.3425026834011078, -0.1290222853422165, 0.12319343537092209, 0.20992179214954376, 0.7340350151062012, -0.9375100135803223, -0.25703659653663635, 0.1448187381029129, -0.12349963188171387, 0.011485759168863297, 1.0017110109329224, -0.6300466656684875, 0.41182297468185425, 0.4660121202468872, 0.7897165417671204, 0.4990167021751404, 0.5097554326057434, 0.7266682386398315, -0.6683329939842224, -0.1293785125017166, 0.37070316076278687, 0.25614064931869507, 0.1268250048160553, -0.54070645570755, 0.4356898367404938, 0.2698936462402344, -0.8050857186317444, -0.9662256836891174, 0.46232566237449646, -1.0298956632614136, -0.39143848419189453, 1.3657011985778809, -0.1899128258228302, -0.1679634004831314, -0.03815394639968872, -0.23174530267715454, 0.16967742145061493, -1.0005559921264648, 0.9396111369132996, 0.5484371781349182, -0.5887680649757385, -0.31320175528526306, -0.25399255752563477, 0.77139812707901, 0.6462158560752869, -0.4632893204689026, 0.26462653279304504, 0.6803607940673828, -0.000049168189434567466, -0.17136240005493164, 0.7369887828826904, 0.2242196649312973, 0.37090787291526794, -0.22920195758342743, -0.02920197881758213, -0.10782095044851303, -0.21187855303287506, -0.4418316185474396, 0.36730051040649414, 0.32303905487060547, -0.2742406129837036 ]
http://arxiv.org/abs/2402.10496v2
http://arxiv.org/pdf/2402.10496v2
Comparing Hallucination Detection Metrics for Multilingual Generation
2024-02-16T08:10:34
2024-06-16T00:44:28
Haoqiang Kang, Terra Blevins, Luke Zettlemoyer
cs.CL
cs.CL, cs.AI
While many hallucination detection techniques have been evaluated on English text, their effectiveness in multilingual contexts remains unknown. This paper assesses how well various factual hallucination detection metrics (lexical metrics like ROUGE and Named Entity Overlap, and Natural Language Inference (NLI)-based metrics) identify hallucinations in generated biographical summaries across languages. We compare how well automatic metrics correlate to each other and whether they agree with human judgments of factuality. Our analysis reveals that while the lexical metrics are ineffective, NLI-based metrics perform well, correlating with human annotations in many settings and often outperforming supervised models. However, NLI metrics are still limited, as they do not detect single-fact hallucinations well and fail for lower-resource languages. Therefore, our findings highlight the gaps in exisiting hallucination detection methods for non-English languages and motivate future research to develop more robust multilingual detection methods for LLM hallucinations.
[ -0.5709339380264282, -0.5874372124671936, 0.6383605003356934, 0.3685446083545685, -0.016703875735402107, 0.21462401747703552, -0.2726660966873169, -0.7775336503982544, 0.8466697335243225, 0.43457290530204773, -0.5280205607414246, -0.6186339855194092, -0.4347187876701355, 0.60870361328125, -0.31336796283721924, 0.9169235825538635, 0.169765904545784, 0.10345709323883057, -0.3659067451953888, -0.3799298107624054, -0.4421831965446472, -0.7393349409103394, -0.5559182167053223, -0.09763231873512268, 0.5250063538551331, 0.009575223550200462, 0.7036187648773193, 0.07096507400274277, 0.43845152854919434, 0.2664974629878998, -0.00343273370526731, 0.7481887340545654, -0.3203648328781128, 0.3543781042098999, 0.09194735437631607, -0.2865211069583893, -0.33029428124427795, -0.16499242186546326, 0.49052998423576355, 0.7809993028640747, -0.03011677972972393, -0.017575593665242195, -0.09973198175430298, 0.5848259925842285, -0.8226117491722107, -0.10405444353818893, -0.5390749573707581, 0.43487516045570374, -0.03130853548645973, -0.5222240686416626, -0.5352892279624939, -0.5239849090576172, -0.14129048585891724, -0.20260460674762726, 0.5494359135627747, 0.0266330074518919, 0.6944497227668762, 0.3529510796070099, -0.4083220958709717, -0.7436513900756836, -0.6625522375106812, 0.6371996402740479, -0.629260241985321, 0.8262335658073425, 0.38657283782958984, 0.23499278724193573, 0.07197989523410797, -0.303641676902771, -0.6440721750259399, -0.500315248966217, -0.5580055713653564, 0.11215658485889435, -0.08678319305181503, -0.2531939148902893, 0.3889133632183075, 0.3017122149467468, -0.9091804623603821, 0.14431488513946533, -0.40304940938949585, -0.7087892889976501, 0.5869754552841187, 0.09211453795433044, 0.39243176579475403, -0.44140687584877014, -0.03381888195872307, 0.17636069655418396, -0.5276446342468262, -0.3805617392063141, 0.8172252774238586, 0.26912325620651245, -0.2139878273010254, 0.3503715991973877, -0.12335754930973053, 0.42725980281829834, -0.3647307753562927, -0.5504992604255676, 0.5491717457771301, -0.544728696346283, 0.2549182176589966, 0.26026684045791626, 0.8895164132118225, 0.5195184350013733, 0.4826572835445404, -0.7105435729026794, -0.05802350491285324, 0.1634690761566162, 0.10453636199235916, -0.5509545207023621, -0.21524079144001007, 0.3286581337451935, -0.31288763880729675, -0.025304503738880157, 0.33670249581336975, -1.0752335786819458, -0.7026600241661072, -0.13892625272274017, 0.15427635610103607, -0.4417057931423187, -0.42163732647895813, -0.08272280544042587, -0.32441118359565735, 0.3069653809070587, 0.11746614426374435, -0.8011868596076965, 0.11898158490657806, 0.5891244411468506, 1.1595395803451538, -0.6810188889503479, -0.5467241406440735, -0.5802352428436279, -0.1342201977968216, -0.4558447599411011, 0.8887200951576233, -0.16685788333415985, -0.2658694088459015, 0.17511914670467377, 0.23899368941783905, -0.09103307127952576, -0.848229169845581, 0.5187214016914368, -0.007553367875516415, 0.2933647632598877, -0.27591004967689514, -0.16586869955062866, -0.28486016392707825, 0.1066010519862175, -0.8024062514305115, 0.938392698764801, -0.16413795948028564, -0.7897670865058899, 0.6980792880058289, -0.07953014969825745, -0.6341190338134766, -0.04922983795404434, -0.22098183631896973, -0.4252651631832123, 0.16765744984149933, 0.1339007169008255, 0.5932033658027649, 0.0717722550034523, 0.3893020749092102, -0.14668898284435272, -0.5565072298049927, 0.17336736619472504, -0.5075501203536987, 0.7711034417152405, -0.03888210654258728, -0.5407653450965881, -0.08387919515371323, -0.8574860095977783, -0.2627168595790863, -0.07073262333869934, 0.08073600381612778, -0.24757926166057587, -0.030139395967125893, 0.050977300852537155, 0.016234327107667923, -0.034365735948085785, -0.3091762065887451, -0.20021863281726837, -0.25464046001434326, -0.1283974051475525, 0.21399825811386108, 0.16483570635318756, -0.08141100406646729, -0.3253953158855438, 0.3510136604309082, -0.019119512289762497, -0.31027114391326904, -0.0740886777639389, -0.4634137451648712, -0.8032848834991455, -0.3700878918170929, -0.07655340433120728, 0.6806058883666992, -0.5122231245040894, 0.7901307940483093, -0.28311091661453247, -0.33526650071144104, -0.3958183228969574, 0.01447688601911068, 0.13560207188129425, 0.2781788408756256, 0.3918541371822357, -0.15834634006023407, -0.7124976515769958, -1.047359824180603, -0.34565937519073486, -0.43797731399536133, 0.016351979225873947, 0.16564588248729706, 0.6842052936553955, -0.24597524106502533, 0.4833911061286926, -0.2294386476278305, -0.4239409863948822, -0.28570446372032166, 0.2153199017047882, -0.11379822343587875, 0.041090745478868484, 0.7196345329284668, -0.6529497504234314, -0.326566219329834, 0.16583792865276337, -1.3047075271606445, -0.15141841769218445, -0.5051189064979553, 0.14372557401657104, 0.7388975620269775, 0.4747995138168335, -0.4808390140533447, 0.5428327918052673, 0.4278840720653534, -0.39998966455459595, 0.8790341019630432, -0.12386367470026016, 0.6278545260429382, -0.8795015811920166, 0.016613846644759178, -0.11613892018795013, -0.1956789642572403, -0.6191588640213013, -0.00298239104449749, -0.036362022161483765, 0.4035241901874542, -0.29950404167175293, 0.38907501101493835, -0.5660160183906555, -0.2944067120552063, -0.03689861670136452, 0.46952196955680847, -0.14352457225322723, 0.3405025005340576, 0.21183082461357117, 0.8260188698768616, 0.49873247742652893, -0.5903304815292358, 0.2995260953903198, 0.10703122615814209, -0.44203299283981323, 0.6330286264419556, -0.10275663435459137, 0.0278775654733181, -0.1521216481924057, -0.030805988237261772, -1.0574268102645874, -0.3991979658603668, 0.20254820585250854, -0.5547824501991272, 0.12631288170814514, 0.361080527305603, -0.5410180687904358, -0.15268759429454803, -0.5902122259140015, 0.07729168981313705, 0.33076372742652893, -0.6834477186203003, 0.6059795618057251, 0.3344448506832123, 0.10215160250663757, -0.6759629249572754, -0.8015573620796204, 0.4902227222919464, -0.43261846899986267, -0.42041632533073425, 0.09761311858892441, 0.011681869626045227, -0.5495996475219727, -0.35566428303718567, -0.09556456655263901, -0.1391914039850235, 0.02726617455482483, 0.22958332300186157, 0.20002038776874542, -0.24792295694351196, -0.1192416176199913, 0.07448191195726395, 0.04275108501315117, 0.2699534595012665, 0.17022790014743805, 0.5597082376480103, 0.015347074717283249, -0.31337109208106995, -0.658876359462738, 0.4044766426086426, 0.7650748491287231, 0.14345216751098633, 1.0709038972854614, 0.8627194762229919, -0.6277499794960022, 0.042407575994729996, -0.9450936913490295, -0.35203951597213745, -0.32059425115585327, 0.4796518087387085, -0.4257972240447998, -0.4909918010234833, 0.7587974071502686, 0.2871059477329254, -0.0006978418678045273, 0.38817960023880005, 0.656700849533081, 0.2429877519607544, 0.8740737438201904, 0.41014450788497925, 0.040678489953279495, -0.15877625346183777, -0.16391442716121674, 0.5779061317443848, -0.6230730414390564, -0.3222949206829071, -0.365309476852417, -0.04909824579954147, -0.8529452681541443, -0.09411410987377167, 0.1901506632566452, -0.13818275928497314, 0.3274184465408325, 0.2865406572818756, -0.4173590838909149, 0.5181569457054138, 0.06756296753883362, -0.16444239020347595, 0.6504314541816711, 0.154982328414917, 0.14596261084079742, -0.35302478075027466, -0.28102922439575195, -0.7188630700111389, 0.6937862038612366, -0.0011294391006231308, 0.20810624957084656, 0.42627251148223877, 0.7102481722831726, 0.42066770792007446, 0.10011293739080429, -0.770164966583252, 0.5113173723220825, -0.04743018373847008, -0.5108581781387329, -0.270778089761734, -0.4719163179397583, -0.7633954286575317, 0.5519835948944092, -0.3601820766925812, -1.0220845937728882, 0.16944964230060577, -0.1115528792142868, -0.42477673292160034, 0.504209041595459, -0.634611189365387, 0.6667446494102478, -0.2108398973941803, -0.2031366527080536, -0.15992103517055511, -0.43290919065475464, 0.5993341207504272, -0.2356971949338913, 0.37919852137565613, -0.1410226970911026, -0.043408580124378204, 0.7279633283615112, -0.06286224722862244, 0.7112299799919128, -0.0722823217511177, -0.2272498905658722, 0.09937350451946259, 0.2164781391620636, 0.08547181636095047, 0.27553460001945496, 0.03032730519771576, 0.5727892518043518, 0.12240338325500488, -0.0783679187297821, -0.5312851071357727, 0.7638733386993408, -0.3678445816040039, -0.5702643990516663, -0.5219214558601379, -0.528274655342102, -0.2426537424325943, -0.1258331686258316, 0.6502461433410645, 0.314310759305954, -0.42477041482925415, 0.01778186857700348, 0.32533323764801025, -0.3481747806072235, 0.4047093391418457, 0.3987674415111542, -0.31748276948928833, -0.2951975166797638, 1.1230283975601196, 0.13724824786186218, 0.05100005865097046, 0.24689346551895142, -0.017524491995573044, -0.249777689576149, -0.515092670917511, -0.4587925374507904, 0.6463428139686584, -0.8322159051895142, 0.07742909342050552, -1.1569037437438965, -0.28174057602882385, -0.6127374172210693, -0.14475856721401215, -0.18901664018630981, -0.27186083793640137, -0.003226951928809285, -0.18478575348854065, 0.14020542800426483, 0.674315869808197, -0.23570184409618378, -0.1344115287065506, -0.4474453926086426, 0.5339004993438721, -0.143443763256073, -0.09756001085042953, 0.12015692889690399, -0.5640342235565186, -0.14453648030757904, -0.28903281688690186, -0.1191156804561615, -1.0890213251113892, 0.4494173228740692, 0.18752364814281464, 0.482695072889328, 0.6548076272010803, -0.04186993092298508, 0.7336323857307434, -0.39658123254776, 0.8886637687683105, 0.04762868583202362, -0.6654618382453918, 0.20122358202934265, 0.11265091598033905, -0.04800974950194359, 0.7033988237380981, 0.7032793760299683, -0.7787721753120422, -0.9196284413337708, -0.18045386672019958, -0.5920316576957703, 0.36105695366859436, 0.19274325668811798, 0.08189291507005692, -0.1829085499048233, 0.2985862195491791, 0.6893083453178406, 0.07760047912597656, -0.9523755311965942, -0.43135541677474976, 0.15297992527484894, -0.011882215738296509, -0.17310811579227448, -0.14781488478183746, 0.19827228784561157, -0.34380581974983215, 0.5457061529159546, -0.0666436180472374, 0.1904800981283188, 0.2499520480632782, -0.38023996353149414, 0.06962506473064423, -0.08109403401613235, 0.8061875700950623, 0.9044318199157715, -0.2722076177597046, 0.3146734833717346, 0.5320776104927063, -0.696316123008728, 0.12581470608711243, -0.2518335282802582, -0.06421144306659698, 0.5813890099525452, 0.9137759208679199, 0.8387494683265686, 0.1017647534608841, -0.7468731999397278, 0.4516904354095459, -0.14035354554653168, -0.2911842465400696, -0.5810964703559875, -0.021184753626585007, -0.06250747293233871, 0.044880982488393784, 0.2861559987068176, -0.057744987308979034, 0.385263592004776, -0.7017121911048889, 0.3660915195941925, 0.6607779264450073, -0.26856595277786255, -0.4725113809108734, 0.6304401159286499, -0.08859580010175705, -0.568152666091919, 0.4698874354362488, -0.5857778191566467, -0.5944879651069641, 0.525505006313324, 0.49068960547447205, 1.0086238384246826, -0.08292219787836075, 0.3846498131752014, 0.6498502492904663, 0.5473167300224304, -0.0005903920391574502, 0.12334126234054565, -0.020122697576880455, -0.8311669826507568, -0.3999161422252655, -0.5914014577865601, -0.2573002576828003, 0.3360079526901245, -0.5588189959526062, 0.4051198661327362, -0.06677843630313873, 0.0020930757746100426, 0.19077810645103455, -0.25868719816207886, -0.5606765151023865, -0.15030315518379211, 0.36125925183296204, 0.35534363985061646, -0.9737527370452881, 0.35903942584991455, 0.30421921610832214, -0.305552214384079, -0.12501490116119385, 0.5492538213729858, 0.32772091031074524, -0.48500874638557434, 0.476654976606369, 0.6285569071769714, -0.5123391151428223, -0.2786133587360382, 0.04647182673215866, -0.4760286808013916, 0.7103657126426697, 0.23827198147773743, -0.21795067191123962, -0.07626410573720932, 0.17031055688858032, 0.7203948497772217, -0.26525989174842834, 0.32684725522994995, 0.905665934085846, 0.5486633777618408, -0.0910981148481369, -0.6605860590934753, 0.07947865128517151, 0.0573645681142807, -0.5229753851890564, 0.25490903854370117, -0.44762271642684937, 0.39794817566871643, -0.4545081853866577, -0.6329941749572754, 0.1989823281764984, 0.660863995552063, 0.16207750141620636, 0.5529215931892395, 0.591849148273468, 0.39101558923721313, 1.0014876127243042, 0.008541076444089413, 0.9378717541694641, -0.5405964255332947, 0.15126065909862518, 0.8093307614326477, -0.4025992751121521, 0.550787091255188, 0.4261976480484009, -0.2000604122877121, 0.6331397891044617, 0.5267358422279358, -0.1069650650024414, 0.2596752643585205, -0.14859172701835632, -0.2040657103061676, -0.0410568006336689, -0.12330913543701172, -0.2202790230512619, 0.35805395245552063, 0.20103687047958374, -0.029971348121762276, -0.07948242127895355, 0.18886853754520416, 0.07235294580459595, 0.00651168916374445, 0.2319381833076477, 0.8116540908813477, -0.07003556936979294, -0.8656556010246277, 0.7118666172027588, -0.3249768912792206, 0.9170692563056946, -0.3177909255027771, -0.038133226335048676, -0.5342090129852295, -0.169119194149971, -0.4958639442920685, -0.4114420711994171, 0.6898494362831116, 0.18171663582324982, -0.039071667939424515, 0.25761425495147705, 0.34228047728538513, -0.5042148232460022, -0.3782168924808502, 0.7224202156066895, 0.8510277271270752, 0.7996975183486938, 0.012478655204176903, -0.13638119399547577, -0.1368926763534546, 0.02130482904613018, 0.1093645691871643, 0.034709393978118896, 0.5186049342155457, -0.025874270126223564, 0.4568890631198883, 0.4260749816894531, 0.41692906618118286, 0.015440371818840504, 0.42095062136650085, 0.040437307208776474, -0.7423855066299438, -0.3409137427806854, -1.2138725519180298, 0.16145853698253632, -0.2783844470977783, -0.32850056886672974, 0.9930564165115356, 0.8319381475448608, 0.8544423580169678, -0.10193924605846405, 0.5700960755348206, 0.07904578000307083, 0.3519975543022156, -0.5876772403717041, 0.8806504607200623, -0.7730408310890198, 0.07812054455280304, -0.29333558678627014, -1.170071005821228, -0.43344613909721375, 0.6791259050369263, 0.07939021289348602, 0.06800227612257004, 1.221331000328064, 0.9896590113639832, 0.07404740154743195, 0.04608461633324623, 0.6387292146682739, 0.12434260547161102, -0.12961597740650177, 0.16834129393100739, 0.9308933019638062, -0.17940443754196167, 0.2757628858089447, -0.2804730534553528, -0.06593931466341019, -0.12150198966264725, -0.6489388346672058, -1.216991662979126, -0.7693613171577454, -0.4360083341598511, -0.28361788392066956, 0.03727131336927414, 0.7258661389350891, 0.4987008571624756, -1.170744776725769, -0.2906506359577179, 0.26925933361053467, 0.3574425280094147, -0.27394673228263855, -0.31633642315864563, 0.3773062229156494, -0.442863404750824, -0.8436806797981262, 0.31434309482574463, 0.48719218373298645, -0.013318605720996857, -0.6511583924293518, -0.09844972938299179, -0.10439877212047577, 0.0669587105512619, 0.6667734384536743, 0.00998431071639061, -1.1396450996398926, -0.3569432199001312, 0.05400233715772629, -0.07145416736602783, 0.20136703550815582, 0.954410970211029, -0.6777568459510803, 0.2528594434261322, 0.38568487763404846, 0.44895240664482117, 0.055769190192222595, -0.23668107390403748, 0.16484034061431885, -0.7427169680595398, 0.4008164703845978, 0.05125316232442856, 0.4674060642719269, 0.6523489952087402, -0.6214609146118164, 0.7142784595489502, 0.5103020071983337, -0.3627317249774933, -1.1966506242752075, 0.06354545056819916, -0.7041167616844177, -0.39073774218559265, 1.0210875272750854, 0.3659059703350067, 0.057463545352220535, -0.4514533579349518, -0.01979682594537735, 0.15939949452877045, -0.025827212259173393, 1.1267619132995605, 0.9193319082260132, -0.38345637917518616, 0.13913394510746002, -0.9501422643661499, 0.6833107471466064, 0.34597596526145935, -0.9052939414978027, 0.15146024525165558, 0.45847299695014954, -0.20128470659255981, 0.6520931124687195, 0.43576323986053467, 0.16023632884025574, 0.2814542353153229, 0.0031804281752556562, 0.1643962860107422, 0.3223906457424164, -0.6683858633041382, -0.28345242142677307, 0.02662350796163082, -0.3312942087650299, 0.14448709785938263 ]
http://arxiv.org/abs/2402.10481v2
http://arxiv.org/pdf/2402.10481v2
Emoji Driven Crypto Assets Market Reactions
2024-02-16T07:05:49
2024-05-04T14:32:44
Xiaorui Zuo, Yao-Tsung Chen, Wolfgang Karl Härdle
q-fin.CP
q-fin.CP, cs.AI, cs.CL, cs.LG, q-fin.ST
In the burgeoning realm of cryptocurrency, social media platforms like Twitter have become pivotal in influencing market trends and investor sentiments. In our study, we leverage GPT-4 and a fine-tuned transformer-based BERT model for a multimodal sentiment analysis, focusing on the impact of emoji sentiment on cryptocurrency markets. By translating emojis into quantifiable sentiment data, we correlate these insights with key market indicators like BTC Price and the VCRIX index. Our architecture's analysis of emoji sentiment demonstrated a distinct advantage over FinBERT's pure text sentiment analysis in such predicting power. This approach may be fed into the development of trading strategies aimed at utilizing social media elements to identify and forecast market trends. Crucially, our findings suggest that strategies based on emoji sentiment can facilitate the avoidance of significant market downturns and contribute to the stabilization of returns. This research underscores the practical benefits of integrating advanced AI-driven analyses into financial strategies, offering a nuanced perspective on the interplay between digital communication and market dynamics in an academic context.
[ -0.14827607572078705, -1.053125262260437, 0.18371963500976562, 0.11446888744831085, -0.5698487162590027, 0.6006803512573242, -0.3584647476673126, -0.4038759171962738, 0.7868354916572571, 0.23717111349105835, -0.519711434841156, -0.4847680330276489, -0.6681160926818848, 0.10814066976308823, -0.3365674912929535, 1.2599549293518066, 0.20688770711421967, -0.10041224211454391, 0.33501362800598145, -0.002886693924665451, -0.07541526108980179, -0.5816759467124939, -0.8034465909004211, 0.10889480262994766, 0.5942598581314087, 0.3253318965435028, 0.9318397641181946, 0.07057428359985352, 0.7797110080718994, 0.30325883626937866, 0.20261670649051666, -0.22212889790534973, -0.2766757905483246, 0.1899990290403366, 0.5198628902435303, -0.0607442781329155, -0.41501274704933167, -0.04426100477576256, 0.07413399964570999, 0.05363640934228897, -0.3072664439678192, -0.0575847327709198, -0.1468983143568039, 0.5354609489440918, -0.527377188205719, 0.4473276734352112, -0.7263573408126831, 0.08488474786281586, -0.21075427532196045, -0.1520317941904068, -0.16809839010238647, -0.37122026085853577, 0.27802419662475586, -0.4289376437664032, -0.3211616575717926, 0.037896715104579926, 0.6966919302940369, -0.19127510488033295, -0.16149921715259552, -0.767966091632843, -0.4146781265735626, 0.8958461284637451, -0.447760671377182, 0.3668879270553589, 0.0652351975440979, 0.3577269911766052, 0.41147369146347046, -0.6212465763092041, -0.5479050278663635, -0.07987653464078903, 0.21275126934051514, 0.03546912968158722, -0.26239126920700073, -0.17407575249671936, -0.0495653860270977, 0.16880159080028534, 0.017652882263064384, -0.2201961725950241, -0.44905224442481995, -0.06729724258184433, 0.6064777970314026, 0.022679399698972702, 0.5659006237983704, -0.2763027548789978, -0.35307517647743225, -0.1846185028553009, -0.5515744686126709, -0.09385900944471359, 0.7054482102394104, 0.3924783170223236, -0.17946240305900574, 0.5183607935905457, 0.31374216079711914, 0.24095386266708374, 0.0927886962890625, -0.11639406532049179, 0.29106268286705017, -0.5555152893066406, -0.09300680458545685, 0.3352696895599365, 0.939884603023529, 0.4717654287815094, 0.4547792077064514, -0.12394099682569504, -0.25064167380332947, -0.020745420828461647, 0.47639188170433044, -0.8319169878959656, -0.27250441908836365, 0.2831890285015106, -0.5648593306541443, -0.7203190922737122, 0.12096035480499268, -1.0593948364257812, -0.3308294117450714, -0.011877886019647121, 0.34382909536361694, -0.5269777178764343, -0.2668638527393341, -0.3222113847732544, -0.5816118717193604, 0.2783939838409424, 0.2521876394748688, -1.2904274463653564, 0.29275229573249817, 0.9435788989067078, 0.7432494759559631, 0.5388859510421753, 0.22795218229293823, -0.04050128161907196, 0.028252294287085533, -0.4597797989845276, 0.44399285316467285, -0.6789689660072327, -0.424935907125473, 0.2411828190088272, -0.3236035108566284, -0.03612218797206879, 0.0667363777756691, 0.2135060429573059, -0.4706019461154938, -0.08014123141765594, -0.3702639043331146, -0.22046376764774323, -0.019792476668953896, 0.38380149006843567, -0.6507818698883057, 0.4466067850589752, 0.044619496911764145, -1.1680465936660767, 0.4533383548259735, -1.0794963836669922, -0.4924713373184204, 0.053344521671533585, -0.24486510455608368, -0.48977771401405334, -0.02154499664902687, 0.4265810251235962, 0.500417172908783, -0.2644557058811188, -0.16735732555389404, -0.6960263848304749, -0.12768743932247162, 1.065309762954712, -0.31218937039375305, 0.4020920395851135, 0.2775985896587372, -0.5028427839279175, -0.016749994829297066, -0.492419958114624, -0.16179755330085754, 0.17096063494682312, 0.2724546194076538, -0.5623572468757629, 0.15229682624340057, 0.6257690191268921, 0.061160869896411896, 0.3576461970806122, -0.6958625912666321, 0.2717333436012268, -0.25419801473617554, 1.1873087882995605, 0.9935612678527832, 0.0036596152931451797, 0.367543488740921, -0.12147188186645508, 0.38286787271499634, -0.09534595906734467, 0.5572906732559204, -0.12555624544620514, -0.5456944108009338, -0.28219008445739746, -0.5371142625808716, 0.23411783576011658, 0.3595629334449768, -0.6796836256980896, 0.22384701669216156, -0.3451648950576782, -0.42099782824516296, -0.891156792640686, 0.1265796422958374, -0.30854907631874084, -0.10520951449871063, -0.031315214931964874, -0.015242590568959713, -0.4138203263282776, -0.7861427068710327, -0.2956850826740265, -0.15880925953388214, 0.091507188975811, 0.3704128861427307, 0.4486825466156006, -0.5340808033943176, 0.639203667640686, -0.2704159915447235, -0.21931996941566467, -0.16649401187896729, 0.3614356219768524, 0.07361886650323868, 0.03866713494062424, 0.6415868401527405, -1.0473483800888062, -0.4233020544052124, 0.5372872352600098, -0.5720409154891968, 0.3953463137149811, -0.5035836696624756, 0.13809233903884888, 0.405190646648407, 0.14869514107704163, -0.5235792994499207, 0.3627571165561676, 0.49650874733924866, -0.41562139987945557, -0.22990372776985168, 0.08979775011539459, 0.5549806356430054, -1.1013177633285522, 0.054955851286649704, 0.256728857755661, 0.18759195506572723, -0.4996567368507385, -0.168038472533226, -0.13560673594474792, -0.12305750697851181, -0.3904697597026825, 0.25946980714797974, -0.03931679576635361, 0.03262747824192047, -0.16621799767017365, 0.26493048667907715, -0.3013898432254791, 0.012583666481077671, -0.30267080664634705, 0.7494468688964844, 0.7481192946434021, 0.039533279836177826, 0.395310640335083, 0.14671705663204193, -0.12005359679460526, 0.21332547068595886, -0.7538301944732666, 0.3509933650493622, 0.373237669467926, -0.13501793146133423, -1.3656548261642456, -0.15581348538398743, 0.7892816662788391, -0.745739221572876, 0.36109858751296997, 0.2524435818195343, -0.7399685978889465, -0.3860970139503479, -0.8669679760932922, 0.2244638204574585, 0.35145053267478943, -0.3050054907798767, 0.9469572305679321, 0.30705729126930237, -0.36525246500968933, -0.7596348524093628, -0.7865791320800781, 0.27025744318962097, -0.39122846722602844, -0.6712896227836609, 0.11659451574087143, 0.017535321414470673, -0.5502864122390747, -0.14186912775039673, 0.16902758181095123, 0.00850588083267212, 0.25067469477653503, 0.4250316619873047, 0.6209726929664612, 0.22017870843410492, 0.04429614916443825, 0.025136496871709824, -0.06483208388090134, 0.33235105872154236, -0.22184568643569946, 0.4571595788002014, -0.3734106123447418, 0.006443511229008436, -0.6823773980140686, 0.03764685243368149, 0.8790159821510315, 0.1569691151380539, 0.9624542593955994, 0.570517897605896, -0.14026229083538055, 0.382639080286026, -0.4315509796142578, -0.1335803121328354, -0.5617730021476746, 0.03557056561112404, -0.2221047729253769, -0.8393148183822632, 0.7958758473396301, 0.2082081139087677, -0.06886787712574005, 0.5346397161483765, 0.8258904218673706, -0.12628047168254852, 1.2240633964538574, 0.5576191544532776, -0.4383532702922821, 0.7255547046661377, -0.25936177372932434, 0.7819359302520752, -0.4608957767486572, -0.270036518573761, -0.3266943395137787, -0.41481974720954895, -1.117820143699646, -0.022405482828617096, 0.006490497384220362, -0.37680506706237793, -0.07623010128736496, 0.19214126467704773, -0.45956140756607056, -0.18216867744922638, 0.22168026864528656, 0.08603643625974655, -0.18584948778152466, 0.23729877173900604, 0.14589767158031464, -0.15031272172927856, -0.3600682020187378, -0.4534336030483246, 1.3392713069915771, 0.7050734162330627, 0.9505535364151001, -0.018373697996139526, 0.644005298614502, 0.6239035725593567, 0.6621353626251221, -0.8250993490219116, 0.06741401553153992, -0.01787509210407734, -0.3442460298538208, -0.27971571683883667, -0.4033925235271454, -0.6388331055641174, -0.23916174471378326, -0.41166558861732483, -0.4254705011844635, 0.04648801311850548, -0.37865692377090454, -0.23003973066806793, 0.16720084846019745, -0.5695059299468994, 0.9105022549629211, -0.455929696559906, -0.08642642199993134, -0.47771474719047546, -0.4857141673564911, 0.025948410853743553, -0.4288107454776764, 0.5109114050865173, -0.17083315551280975, -0.2684275805950165, 0.559316098690033, -0.3130020499229431, 0.9145584106445312, 0.17582078278064728, -0.14342571794986725, 0.3633176386356354, -0.34916356205940247, 0.39942052960395813, 0.32180121541023254, 0.09040270745754242, 0.48754987120628357, -0.1083836778998375, -0.5582532286643982, -0.4771558344364166, 1.0788203477859497, -0.9454779624938965, -0.1434883028268814, -0.2576209306716919, -0.18071386218070984, 0.27435722947120667, -0.16964437067508698, 0.16061849892139435, 0.008978228084743023, -0.45401206612586975, 0.07990776002407074, -0.016176311299204826, 0.11856059730052948, 0.6911544799804688, -0.10110005736351013, 0.03208489716053009, -1.185681700706482, 0.9514405131340027, 0.18988029658794403, -0.10028834640979767, 0.467262327671051, 0.34421446919441223, -0.4721093475818634, -0.0089691998437047, -0.3011404573917389, 0.13306811451911926, -0.6866173148155212, -0.03481783717870712, -0.5992851853370667, 0.24228917062282562, -0.8751201033592224, -0.4176326394081116, -0.23930859565734863, -0.4873196482658386, -0.3766259253025055, -0.36128079891204834, 0.6410764455795288, 0.6946771740913391, -0.005742717068642378, 0.17264491319656372, -0.8465136885643005, 0.10454194247722626, 0.41468915343284607, 0.2235703021287918, 0.06127198040485382, 0.012467514723539352, -0.2800820469856262, 0.2515517473220825, -0.4468708336353302, -0.9336609840393066, 0.52997225522995, 0.14205732941627502, 0.08841805905103683, 0.9250789880752563, -0.07936195284128189, 0.5167827606201172, 0.00042236241279169917, 0.5374886989593506, 0.5374727249145508, -1.1558347940444946, 0.6890554428100586, -0.44146403670310974, -0.2968326210975647, 0.22434097528457642, 0.3734922707080841, -0.7160593271255493, -0.4685770273208618, -0.8257400393486023, -0.8750500082969666, 0.33619892597198486, 0.6095048785209656, 0.5921376943588257, -0.4776664078235626, 0.4757583439350128, 0.10744298994541168, 0.6730508804321289, -0.6865322589874268, -0.2922327220439911, -0.7384636402130127, -0.4758773744106293, 0.26519569754600525, -0.24433793127536774, -0.08082494884729385, -0.20632332563400269, 0.2817305326461792, -0.17777138948440552, 0.4231095016002655, -0.21063849329948425, 0.2707386612892151, -0.11787497997283936, 0.23744633793830872, 0.28011786937713623, 0.5430125594139099, -0.2745214104652405, -0.28667089343070984, -0.05276501923799515, -0.2773401737213135, -0.331798255443573, 0.1011301726102829, 0.05598301813006401, -0.11140395700931549, 0.17742027342319489, 0.5682572722434998, 0.33462071418762207, -0.7560682892799377, 0.698728084564209, -0.32783597707748413, -0.15676206350326538, -0.41111958026885986, -0.3580459952354431, -0.20087064802646637, 0.19431905448436737, 0.7199119329452515, 0.1892697513103485, 0.29211294651031494, -0.9293506741523743, 0.29286468029022217, 0.5089870691299438, -0.5862231254577637, -0.8262530565261841, 0.6443454623222351, 0.343973308801651, -0.08543600887060165, 0.8685177564620972, 0.45087966322898865, -0.5067856311798096, 0.734639585018158, 0.15166153013706207, 1.2677464485168457, 0.045518066734075546, 0.33938172459602356, -0.06962057203054428, 0.5052924752235413, 0.27329757809638977, 0.47473859786987305, -0.15825463831424713, -0.7599712014198303, -0.13838526606559753, -0.34601253271102905, -0.22257348895072937, -0.3833077549934387, -0.3382663130760193, 0.4342895448207855, -0.8256968855857849, -0.6735060214996338, 0.5021703243255615, -0.16113434731960297, -0.6804802417755127, 0.3337608277797699, 0.40138283371925354, 0.2865210473537445, -0.8305497169494629, 0.6316352486610413, 0.8054842352867126, -0.5189881324768066, -0.2399330884218216, 0.06291097402572632, -0.2567555606365204, -0.920126736164093, 0.6513403058052063, 0.48874861001968384, 0.10266780853271484, -0.23619765043258667, -0.7405061721801758, -0.460567831993103, 0.7908136248588562, -0.0062757073901593685, -0.4670935869216919, 0.48322251439094543, 0.14945057034492493, 0.7985167503356934, -0.7151665091514587, 0.5505020022392273, 0.308724582195282, 0.5486948490142822, 0.19315676391124725, -0.44281134009361267, 0.005152938887476921, -0.45500802993774414, 0.07368671894073486, 0.6245877742767334, -0.6795428395271301, 0.5724368691444397, -0.34730446338653564, -0.35715341567993164, -0.06532901525497437, 0.4120335280895233, -0.1539493054151535, 0.6095576286315918, 0.2936377227306366, 0.4651060700416565, 0.2512422800064087, -0.15540505945682526, 1.110190749168396, -0.9330136179924011, 0.6207891702651978, -0.021786291152238846, -0.04530753195285797, 1.0615566968917847, 0.6028074026107788, -0.07112333923578262, 0.6256928443908691, 0.6714576482772827, -0.1659456044435501, 0.663598358631134, -0.06189877912402153, -0.15926863253116608, -0.20450268685817719, -0.0813632383942604, -0.2742564082145691, 0.3295549154281616, 0.5729297995567322, -0.5842493772506714, 0.37776127457618713, 0.18671362102031708, -0.09229843318462372, -0.224744513630867, -0.21383534371852875, 0.6996070742607117, 0.12107003480195999, 0.03958256170153618, -0.08605021983385086, -0.09504303336143494, 0.6963813900947571, -0.34075772762298584, 0.12021578848361969, 0.13631966710090637, 0.21810220181941986, 0.05875815451145172, -0.7014031410217285, 0.38687747716903687, -0.2971220910549164, 0.17988447844982147, -0.3285864591598511, 0.7131375074386597, -0.1124492958188057, -0.8067030310630798, 0.39006826281547546, 0.1768309473991394, -0.21476715803146362, -0.14908447861671448, -0.9780017733573914, 0.1608199030160904, -0.07415997982025146, -0.16468213498592377, 0.38039904832839966, 0.8283389210700989, 0.2973465621471405, 0.719506561756134, 0.8644804954528809, -0.4656417667865753, -0.2923465669155121, 0.014714189805090427, 1.0800371170043945, -1.0323494672775269, -0.4653845429420471, -1.0708895921707153, 0.2827688157558441, -0.11228396743535995, -0.10672711580991745, 0.6436280608177185, 0.2621244788169861, 0.4538234770298004, -0.16789382696151733, 0.8923402428627014, -0.15774142742156982, 0.0003046613128390163, -0.2798755168914795, 0.910358190536499, -0.4519782066345215, 0.3055306673049927, -0.43784865736961365, -0.46800753474235535, -0.18299600481987, 0.4838358759880066, -0.36488351225852966, 0.1374267339706421, 0.32252374291419983, 0.37967047095298767, 0.401976615190506, 0.3508569002151489, 0.15173041820526123, 0.03476778790354729, 0.2053498923778534, -0.0659644827246666, 0.893314003944397, -0.7249652743339539, 0.4739258885383606, -0.44384297728538513, 0.09351418912410736, -0.48557621240615845, -0.7351095676422119, -1.0597437620162964, -0.2088935524225235, -0.587925374507904, -0.3653550446033478, 0.09159297496080399, 0.912425696849823, 0.076780304312706, -0.8367208242416382, -0.046947021037340164, 0.13415463268756866, 0.12413627654314041, -0.2724704444408417, -0.3308045268058777, 0.4522430896759033, -0.3417838215827942, -0.46881285309791565, -0.31509730219841003, 0.6449792385101318, 0.19331912696361542, -0.11415104568004608, 0.05600704252719879, 0.14084722101688385, 0.3763509690761566, 0.6521794199943542, -0.1647261530160904, -0.6893201470375061, -0.1472654640674591, 0.27565452456474304, -0.26047617197036743, 0.09393005818128586, 1.0089836120605469, -0.1502835750579834, 0.6137373447418213, 0.4793722629547119, 0.40308091044425964, 0.07434718310832977, 0.08358897268772125, 0.5189049243927002, -0.2806890904903412, 0.06367576867341995, 0.12540344893932343, 0.25621479749679565, 0.34390538930892944, -0.5046318173408508, 0.16113390028476715, 0.40486449003219604, -0.45021331310272217, -0.2708682715892792, -0.45102474093437195, -0.8290941119194031, -0.33750560879707336, 0.7914500832557678, 0.017853060737252235, -0.6678730249404907, 0.20037592947483063, -0.09371312707662582, -0.0352519266307354, -0.9933040142059326, 1.3073521852493286, 0.8167330026626587, 0.21508201956748962, -0.3585652709007263, -0.2377263903617859, 0.2619299590587616, 0.056280240416526794, -0.45414623618125916, -0.1214202344417572, 0.19712188839912415, 0.0718061551451683, 0.20266255736351013, 0.5829747915267944, 0.028089391067624092, 0.22321553528308868, 0.08051334321498871, 0.12500761449337006, 0.19353923201560974, -0.18081878125667572, 0.01933332532644272, 0.2387586534023285, -0.11682111024856567, -0.44682592153549194 ]
http://arxiv.org/abs/2402.12170v2
http://arxiv.org/pdf/2402.12170v2
Where is the answer? Investigating Positional Bias in Language Model Knowledge Extraction
2024-02-16T06:29:16
2024-05-23T06:52:31
Kuniaki Saito, Kihyuk Sohn, Chen-Yu Lee, Yoshitaka Ushiku
cs.CL
cs.CL, cs.AI
Large language models require updates to remain up-to-date or adapt to new domains by fine-tuning them with new documents. One key is memorizing the latest information in a way that the memorized information is extractable with a query prompt. However, LLMs suffer from a phenomenon called perplexity curse; despite minimizing document perplexity during fine-tuning, LLMs struggle to extract information through a prompt sentence. In this new knowledge acquisition and extraction, we find a very intriguing fact that LLMs can accurately answer questions about the first sentence, but they struggle to extract information described in the middle or end of the documents used for fine-tuning. Our study suggests that the auto-regressive training causes this issue; each token is prompted by reliance on all previous tokens, which hinders the model from recalling information from training documents by question prompts. To conduct the in-depth study, we publish both synthetic and real datasets, enabling the evaluation of the QA performance w.r.t. the position of the corresponding answer in a document. Our investigation shows that even a large model suffers from the perplexity curse, but regularization such as denoising auto-regressive loss can enhance the information extraction from diverse positions. These findings will be (i) a key to improving knowledge extraction from LLMs and (ii) new elements to discuss the trade-off between RAG and fine-tuning in adapting LLMs to a new domain.
[ -0.3807433247566223, -0.8990404009819031, 0.6936230659484863, -0.08150939643383026, -0.2940499782562256, 0.10495240986347198, -0.032465774565935135, -0.3638674020767212, 0.0365847572684288, 0.5333251357078552, -0.615519106388092, -0.39069026708602905, -0.9780203104019165, 0.11994395405054092, -0.3157995343208313, 0.9210206866264343, 0.05509417504072189, 0.10948554426431656, -0.35452568531036377, 0.11538775265216827, -0.5363904237747192, -0.7756891250610352, -0.5199909806251526, -0.17720651626586914, 0.45278438925743103, 0.523731529712677, 0.580635666847229, 0.6389324069023132, 0.46668022871017456, 0.24570365250110626, -0.15589816868305206, 0.04812728241086006, -0.44108638167381287, 0.2861924171447754, -0.03901590034365654, -0.8354660868644714, -0.25660207867622375, 0.2621007561683655, 0.6103371381759644, 0.7092143297195435, -0.011998146772384644, 0.24539215862751007, -0.030671915039420128, 0.49589642882347107, -0.5408097505569458, -0.002864362671971321, -0.9245833158493042, 0.018356874585151672, -0.3082192540168762, -0.3413291275501251, -0.1009206771850586, -0.358582466840744, 0.4112621247768402, -0.5478237867355347, 0.45250940322875977, 0.02032427489757538, 1.059859037399292, 0.5782141089439392, -0.44422441720962524, -0.3276258409023285, -0.561756432056427, 0.6816972494125366, -0.6512069702148438, 0.3066505193710327, 0.4974062442779541, 0.09199900180101395, -0.20341114699840546, -0.2877272963523865, -0.5885806679725647, 0.06201040744781494, 0.024798903614282608, -0.022567057982087135, -0.143722265958786, -0.24355700612068176, 0.4381466805934906, 0.2701985538005829, -0.30962878465652466, 0.29677778482437134, -0.2527850568294525, -0.12075716257095337, 0.5598252415657043, -0.03414835408329964, 0.23509354889392853, -0.3505617082118988, -0.3848426938056946, -0.1216713935136795, -0.8806239366531372, 0.2136278599500656, 0.45767441391944885, 0.08944671601057053, 0.2472258061170578, 0.46107420325279236, 0.057062141597270966, 0.5098190903663635, 0.2158997505903244, -0.008835291489958763, 0.11514651775360107, -0.08383043110370636, -0.16741418838500977, 0.0026162713766098022, 0.6100481748580933, 0.044897571206092834, 0.3229617476463318, -0.2139863669872284, -0.2998813986778259, -0.35531648993492126, 0.26972121000289917, -0.5400411486625671, -0.11363772302865982, -0.02646774612367153, -0.3274047374725342, -0.4008905291557312, 0.08982687443494797, -0.695580005645752, -0.5925331711769104, -0.16312317550182343, 0.115297831594944, -0.18924126029014587, -0.3027940094470978, 0.009007871150970459, -0.08524715900421143, 0.4184779226779938, 0.2660853862762451, -0.8831859827041626, 0.11983160674571991, 0.6485129594802856, 0.42610615491867065, -0.5571075677871704, -0.16266152262687683, -0.4172995090484619, -0.061348773539066315, -0.19358769059181213, 0.9567365646362305, -0.6115531325340271, -0.4212595522403717, -0.0744248479604721, 0.10563186556100845, -0.16970832645893097, -0.8065101504325867, 0.3456363081932068, -0.743267297744751, 0.49911031126976013, -0.546800434589386, -0.5687133073806763, -0.014040295965969563, 0.26115432381629944, -0.5158690810203552, 0.9530906677246094, -0.03343086317181587, -0.7091197967529297, 0.39056652784347534, -0.31222665309906006, -0.27866464853286743, -0.28777194023132324, -0.40429797768592834, -0.36034542322158813, 0.30556756258010864, 0.37409478425979614, 0.243615061044693, -0.4810240864753723, 0.2259032428264618, -0.3013330399990082, -0.19671252369880676, 0.6054736375808716, -0.5957907438278198, 0.6526421308517456, 0.17415210604667664, -0.2750611901283264, -0.2035084068775177, -0.7367969751358032, -0.3633086085319519, 0.32606741786003113, -0.414196252822876, -0.6065460443496704, -0.1412881463766098, -0.5458109378814697, 0.39101094007492065, 0.4198857247829437, -0.4157795310020447, 0.3917411267757416, -0.4635627865791321, 0.08048766851425171, 0.9280437231063843, 0.2813658118247986, 0.5684014558792114, -0.1950506567955017, 0.9512842297554016, 0.13256381452083588, 0.10244212299585342, 0.031748779118061066, -0.33644071221351624, -0.6943256855010986, 0.1476440578699112, 0.3694848120212555, 0.550072431564331, -0.5220759510993958, 0.16347624361515045, -0.04898727312684059, -0.013296820223331451, -0.6392396092414856, 0.31385618448257446, 0.4366069436073303, 0.6852728724479675, 0.18798115849494934, -0.2933737337589264, -0.4451867938041687, -1.0814728736877441, -0.31321048736572266, -0.09405222535133362, -0.0026131891645491123, 0.23273542523384094, 0.2390613555908203, 0.15113544464111328, 1.0591058731079102, -0.6132752299308777, -0.05472133308649063, -0.10568444430828094, 0.1946021169424057, 0.27912870049476624, 0.36029472947120667, 0.18479526042938232, -0.949658989906311, -0.20545344054698944, -0.3982846736907959, -0.7812921404838562, -0.34817200899124146, -0.01038313191384077, -0.15383057296276093, 0.21304579079151154, 0.633418619632721, -0.7516556978225708, 0.10378830134868622, 0.23011049628257751, -0.28424471616744995, 0.5943105220794678, 0.06814152002334595, -0.25167685747146606, -1.0284960269927979, 0.0906272679567337, -0.17976351082324982, -0.03681204468011856, -0.4514135420322418, -0.21769528090953827, -0.136636883020401, 0.21794982254505157, -0.008510947227478027, 0.5847256779670715, -0.6056669354438782, -0.1381983458995819, -0.3011307716369629, 0.5395417213439941, 0.07360948622226715, 0.4114144444465637, -0.0782124251127243, 0.8383426666259766, 0.29092663526535034, -0.5611032247543335, -0.060534439980983734, 0.4069864749908447, -0.20259758830070496, 0.23630401492118835, -0.3990779519081116, 0.3540341854095459, -0.23837168514728546, -0.07062806934118271, -1.015801191329956, 0.013738708570599556, 0.11789663881063461, -0.6497710943222046, 0.5437930822372437, -0.22631379961967468, -0.28848373889923096, -0.1736585795879364, -0.09642456471920013, 0.23942184448242188, 0.5032365918159485, -0.20792508125305176, 0.2973479628562927, 0.8029139637947083, -0.4482131898403168, -0.9313968420028687, -0.30093321204185486, -0.1462281048297882, -0.2709536552429199, -0.3664935529232025, 0.021966582164168358, 0.10331139713525772, -0.46855607628822327, -0.2344394475221634, -0.5576452016830444, 0.07298186421394348, 0.46440547704696655, 0.05489552766084671, 0.26638263463974, -0.174582839012146, 0.3003627061843872, 0.05936083197593689, -0.11823246628046036, 0.4643581509590149, -0.23875641822814941, 0.4475747048854828, 0.12850479781627655, -0.32742583751678467, -0.09153516590595245, 0.119869664311409, 0.4968195855617523, -0.19956539571285248, 0.48304304480552673, 0.33973413705825806, -0.30947941541671753, -0.1445751190185547, -0.8892386555671692, -0.36475294828414917, -0.4119475483894348, 0.44817933440208435, -0.451341450214386, -0.7686028480529785, 0.6825897097587585, -0.14045998454093933, -0.06716777384281158, 0.44895753264427185, 0.30952784419059753, -0.11153680086135864, 1.0823866128921509, 0.6928675770759583, -0.21781153976917267, 0.5262239575386047, -0.26954108476638794, 0.1502511352300644, -0.8571147918701172, -0.256369024515152, -0.5481924414634705, -0.19381463527679443, -0.39194267988204956, -0.1777833104133606, 0.3157443702220917, 0.4450438618659973, 0.15845635533332825, -0.04716925695538521, -0.324413537979126, 0.4013183116912842, 0.4980229437351227, -0.044267844408750534, 0.3581330180168152, -0.026467343792319298, -0.3250890076160431, -0.1072017103433609, -0.7464119791984558, -0.5538910627365112, 1.0783746242523193, 0.4570621848106384, 0.5452357530593872, 0.03212015703320503, 0.5911985635757446, 0.022715404629707336, 0.18436221778392792, -0.5940033793449402, 0.3705151677131653, -0.11941015720367432, -0.6322000622749329, -0.39282283186912537, -0.22581946849822998, -1.0172532796859741, 0.3465946316719055, -0.17209717631340027, -0.5783784985542297, 0.4095223844051361, 0.11569155752658844, -0.3830910623073578, 0.05145691707730293, -0.5618345141410828, 0.8156612515449524, -0.23595008254051208, -0.3805569112300873, 0.20518474280834198, -0.801716685295105, 0.2508417069911957, -0.030086230486631393, 0.27927085757255554, -0.06839427351951599, 0.14641721546649933, 0.7939919233322144, -0.2399882823228836, 0.785110592842102, -0.4480148255825043, -0.537022590637207, 0.0427975207567215, 0.23578767478466034, 0.7295673489570618, 0.03474905714392662, -0.0783066377043724, -0.1277904510498047, 0.009228859096765518, -0.24341420829296112, -0.6941391229629517, 0.4840431809425354, -0.8134792447090149, -1.096077561378479, -0.3749788701534271, -0.5934146046638489, -0.5852208137512207, 0.14385150372982025, 0.2739863991737366, 0.23277831077575684, -0.01791391149163246, -0.04869309812784195, 1.1174259185791016, -0.4165268838405609, 0.2052977979183197, 0.6935669779777527, -0.18104232847690582, 0.05382445454597473, 0.7094725370407104, 0.14884547889232635, 0.20764455199241638, 0.46092185378074646, 0.21235080063343048, -0.4120961129665375, -0.8118312954902649, -0.2661345601081848, 0.3309016823768616, -0.7965492606163025, -0.1598503142595291, -0.7217927575111389, -0.2762485146522522, -0.6501345634460449, 0.20941805839538574, -0.2706983983516693, -0.5349029302597046, -0.4657467007637024, -0.3139604330062866, 0.09957714378833771, 0.7683995962142944, 0.2247898131608963, 0.18106964230537415, -0.7132118940353394, 0.0894506424665451, 0.24266783893108368, -0.08427287638187408, -0.08461105078458786, -0.7459839582443237, -0.16999280452728271, -0.2156437337398529, -0.33124372363090515, -0.9889878034591675, 0.3906349241733551, -0.282501757144928, 0.7662445902824402, 0.32047250866889954, -0.027284253388643265, 0.6237216591835022, -0.25932902097702026, 0.685126006603241, -0.2403900921344757, -0.5588354468345642, 0.4579215943813324, -0.28407981991767883, 0.41442710161209106, 0.5537925958633423, 0.39773765206336975, -0.42844662070274353, -0.5767834782600403, -0.6735579967498779, -0.8079710006713867, 0.60926353931427, -0.15140259265899658, -0.07328832149505615, -0.10967963933944702, 0.7113200426101685, 0.33853116631507874, 0.3999893367290497, -0.6935313940048218, -0.23637954890727997, 0.13635531067848206, -0.13075388967990875, 0.06108766794204712, -0.598736584186554, -0.07654951512813568, -0.0492696575820446, 0.6231551170349121, -0.05580035597085953, 0.27609142661094666, 0.3818468451499939, -0.3529326319694519, -0.18342271447181702, 0.25791189074516296, 0.47309693694114685, 0.7992776036262512, -0.11288069188594818, 0.24011068046092987, 0.22776904702186584, -0.36356762051582336, -0.1284869909286499, 0.2686176896095276, -0.3287988305091858, -0.11641599982976913, 0.3248268961906433, 0.7583425641059875, 0.18927101790905, -0.31732669472694397, 0.6128339171409607, 0.006714716553688049, -0.04603462666273117, -0.4366147518157959, 0.030405059456825256, -0.16032275557518005, 0.3341309130191803, 0.656306266784668, -0.07911768555641174, 0.11716832965612411, -0.35236066579818726, 0.16233019530773163, 0.6684132218360901, -0.3269535005092621, -0.279252290725708, 0.6321882009506226, -0.05861008167266846, -0.2451922446489334, 0.5217300653457642, -0.0955711379647255, -0.6696516275405884, 0.6017929911613464, 0.545477569103241, 0.7369018793106079, -0.14656952023506165, 0.10032065957784653, 0.2290695458650589, 0.20537976920604706, 0.10391877591609955, 0.2522575259208679, 0.06749594211578369, -0.8293894529342651, -0.32940834760665894, -0.6730787754058838, -0.22008776664733887, 0.2808653712272644, -0.5836755037307739, 0.11199624836444855, -0.32195815443992615, -0.05254937335848808, -0.28570640087127686, 0.044517889618873596, -0.5501667261123657, 0.07329172641038895, 0.15772932767868042, 0.7684637308120728, -0.5708416700363159, 0.9225999116897583, 0.5856094360351562, -0.4320457875728607, -0.7385963797569275, 0.1522502601146698, 0.03135281056165695, -1.0202600955963135, 0.6481078863143921, -0.08362315595149994, -0.13246610760688782, -0.04535551369190216, -0.7837370038032532, -1.049012541770935, 1.0525308847427368, 0.43203505873680115, -0.5028921365737915, -0.42556843161582947, 0.05550230294466019, 0.4949367940425873, -0.2705865502357483, 0.04326925426721573, 0.6531137228012085, 0.3069520592689514, 0.004075292963534594, -0.6989926099777222, 0.21462950110435486, -0.2621321976184845, -0.09230847656726837, 0.022832121700048447, -0.5685074925422668, 0.8274080157279968, -0.1359919160604477, -0.16641011834144592, -0.14375801384449005, 0.3824760317802429, 0.2777097523212433, 0.08243338763713837, 0.48235249519348145, 0.2877708077430725, 0.9816265106201172, -0.006749185733497143, 1.1308104991912842, -0.2824135422706604, 0.12229375541210175, 1.1853116750717163, -0.1938249170780182, 0.6665820479393005, 0.8208915591239929, 0.01961258053779602, 0.5168522596359253, 0.7308079600334167, 0.1531475931406021, 0.5227975845336914, 0.31251949071884155, -0.04293989762663841, -0.2589243948459625, 0.027761857956647873, -0.21063923835754395, 0.45575183629989624, 0.34896937012672424, -0.4594593942165375, 0.010575282387435436, -0.00046676694182679057, 0.14521107077598572, -0.08031980693340302, -0.014787202700972557, 0.9530826807022095, 0.23403307795524597, -0.9711782336235046, 0.6078038811683655, -0.05872105434536934, 0.47458046674728394, -0.5828762054443359, -0.10379145294427872, -0.4904549717903137, 0.013771277852356434, -0.030814331024885178, -0.4799501299858093, 0.12634363770484924, -0.08581741899251938, -0.3295448422431946, -0.28771862387657166, 0.8388780355453491, -0.37752777338027954, -0.18138399720191956, 0.14516529440879822, 0.7670654058456421, 0.21950122714042664, -0.1202913299202919, -0.6183937788009644, -0.23637035489082336, 0.026233747601509094, -0.3759552836418152, 0.5136889815330505, 0.7174369096755981, -0.12635503709316254, 0.5986647605895996, 0.6078746914863586, 0.24140334129333496, 0.25193238258361816, 0.04613802954554558, 0.8322054743766785, -0.6176251173019409, -0.31002897024154663, -0.8531075716018677, 0.24019697308540344, -0.09825118631124496, -0.47729024291038513, 0.8965904116630554, 0.39863741397857666, 0.7542605400085449, 0.08124899864196777, 0.8524612188339233, 0.13250777125358582, 0.6060184240341187, -0.7086886167526245, 0.6132439374923706, -0.6079853773117065, 0.6715049743652344, -0.1442411243915558, -0.7536519765853882, -0.2272528111934662, 0.6651765704154968, -0.7130939960479736, -0.1188964694738388, 0.7936164140701294, 0.7076722383499146, 0.13404212892055511, -0.03815816342830658, 0.1854548156261444, 0.5742827653884888, 0.21493086218833923, 0.36849188804626465, 0.8802531361579895, -0.33860546350479126, 0.5576338171958923, -0.12275619804859161, -0.13123662769794464, -0.09511961787939072, -0.6618218421936035, -0.6299786567687988, -0.5223973393440247, -0.15273809432983398, -0.3331364095211029, 0.04319681599736214, 0.8827873468399048, 0.3533400893211365, -0.7840754985809326, -0.1700936257839203, -0.08425404876470566, 0.5626823902130127, 0.07115878164768219, -0.2659284174442291, 0.40527278184890747, -0.5664309859275818, -0.6969773769378662, 0.38652148842811584, 0.04118078202009201, 0.11200320720672607, -0.27240094542503357, 0.10727594047784805, -0.45617300271987915, -0.1802443116903305, 0.31399214267730713, 0.28438639640808105, -0.6408610343933105, -0.2594992518424988, 0.2707861065864563, -0.13767342269420624, 0.22375516593456268, 0.8711839914321899, -0.626085102558136, 0.36432206630706787, 0.28699246048927307, 0.7661073207855225, 0.44988399744033813, 0.1813434511423111, 0.8804289102554321, -0.8648579716682434, -0.1185234785079956, 0.07404839247465134, 0.25531309843063354, 0.3245681822299957, -0.5263911485671997, 0.345744788646698, 0.41451025009155273, -0.617385983467102, -0.840992271900177, 0.16684140264987946, -0.6040000915527344, -0.43729037046432495, 1.2979772090911865, -0.07069564610719681, -0.19536826014518738, -0.27664557099342346, -0.2036770135164261, 0.39897578954696655, -0.189093679189682, 1.1667133569717407, 0.9939724206924438, -0.1125357523560524, -0.21028664708137512, -0.6896608471870422, 0.6658929586410522, 0.6910279989242554, -0.6141282320022583, 0.15565308928489685, 0.449514240026474, 0.5255899429321289, 0.09000907093286514, 0.6043877601623535, -0.3546738922595978, -0.013793380931019783, -0.24309110641479492, -0.05748552829027176, 0.031387828290462494, -0.3166505992412567, -0.6310164928436279, 0.21165792644023895, 0.39001551270484924, -0.11581382900476456 ]
http://arxiv.org/abs/2402.10466v4
http://arxiv.org/pdf/2402.10466v4
Large Language Models as Zero-shot Dialogue State Tracker through Function Calling
2024-02-16T06:13:18
2024-05-30T04:19:54
Zekun Li, Zhiyu Zoey Chen, Mike Ross, Patrick Huber, Seungwhan Moon, Zhaojiang Lin, Xin Luna Dong, Adithya Sagar, Xifeng Yan, Paul A. Crook
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are increasingly prevalent in conversational systems due to their advanced understanding and generative capabilities in general contexts. However, their effectiveness in task-oriented dialogues (TOD), which requires not only response generation but also effective dialogue state tracking (DST) within specific tasks and domains, remains less satisfying. In this work, we propose a novel approach FnCTOD for solving DST with LLMs through function calling. This method improves zero-shot DST, allowing adaptation to diverse domains without extensive data collection or model tuning. Our experimental results demonstrate that our approach achieves exceptional performance with both modestly sized open-source and also proprietary LLMs: with in-context prompting it enables various 7B or 13B parameter models to surpass the previous state-of-the-art (SOTA) achieved by ChatGPT, and improves ChatGPT's performance beating the SOTA by 5.6% average joint goal accuracy (JGA). Individual model results for GPT-3.5 and GPT-4 are boosted by 4.8% and 14%, respectively. We also show that by fine-tuning on a small collection of diverse task-oriented dialogues, we can equip modestly sized models, specifically a 13B parameter LLaMA2-Chat model, with function-calling capabilities and DST performance comparable to ChatGPT while maintaining their chat capabilities. We have made the code publicly available at https://github.com/facebookresearch/FnCTOD
[ -0.2317013293504715, -1.0309650897979736, 0.6312867403030396, 0.14157864451408386, -0.4247395098209381, 0.19549153745174408, -0.5681169629096985, -0.3103533983230591, 0.1523813158273697, 0.7182263135910034, -0.7074708342552185, -0.5007649660110474, -0.30623456835746765, -0.09111741930246353, -0.15350012481212616, 0.8894127607345581, -0.0029509153682738543, 0.0262245275080204, 0.08346261829137802, 0.04168664291501045, -0.4494973123073578, -0.3980591893196106, -0.5524637699127197, -0.04550664499402046, 0.3318491578102112, 0.3826061487197876, 0.29675278067588806, 0.27546706795692444, 0.22016245126724243, 0.22352080047130585, -0.19953620433807373, 0.1580236554145813, -0.7727513909339905, 0.2770344913005829, -0.20285232365131378, -0.5222187638282776, -0.5353871583938599, -0.4483296573162079, 0.6292790174484253, 0.4938313961029053, -0.2365262657403946, 0.12067336589097977, 0.2181396484375, 0.11439733952283859, -0.5029385685920715, 0.6282712817192078, -0.8095672726631165, -0.2780688405036926, -0.12002739310264587, -0.44683942198753357, -0.5110565423965454, -0.21787413954734802, 0.05008463189005852, -0.3445887267589569, -0.03184729069471359, -0.253727525472641, 0.39018088579177856, 0.2929239869117737, -0.29847532510757446, -0.22797134518623352, -0.8104158043861389, 0.8492021560668945, -1.0950465202331543, 0.16380459070205688, 0.07530545443296432, 0.27316275238990784, -0.43720772862434387, -0.32595890760421753, -0.4694351851940155, -0.5002471804618835, 0.4071502685546875, -0.12503233551979065, -0.2599170506000519, 0.23785382509231567, 0.45582494139671326, 0.286624938249588, -0.28550082445144653, 0.09561111778020859, -0.033268775790929794, -0.09994594007730484, 0.5994418263435364, 0.3815065324306488, 0.07247582823038101, 0.10664107650518417, -0.2240867167711258, 0.22191201150417328, -0.730383038520813, 0.09944608807563782, 0.004602693486958742, 0.8891844153404236, -0.18489092588424683, 0.45368534326553345, -0.5959744453430176, 0.8981962203979492, 0.17920419573783875, -0.25398609042167664, -0.08347537368535995, -0.34280651807785034, -0.3094121515750885, -0.1097283661365509, 0.7130839228630066, 0.33503472805023193, 0.2640898823738098, -0.005702805705368519, -0.16521377861499786, -0.19647349417209625, 0.12328020483255386, -1.157899260520935, 0.07870372384786606, 0.0398307703435421, -0.21749432384967804, -0.21661266684532166, -0.43939274549484253, -0.5237839221954346, -0.3042244017124176, -0.3727664351463318, 0.49932774901390076, -0.47969698905944824, -0.36397844552993774, 0.009722939692437649, 0.5953617095947266, 0.25356265902519226, 0.7114077806472778, -0.9687513709068298, 0.26602503657341003, 0.7480351328849792, 1.2114685773849487, -0.09156931191682816, 0.25392958521842957, -0.7824301719665527, -0.04709799960255623, -0.38777777552604675, 0.5921770334243774, -0.4767252504825592, -0.4654890298843384, -0.0019855715800076723, -0.11829143762588501, -0.16836023330688477, -0.27807047963142395, 0.15881110727787018, -0.29586267471313477, -0.22155070304870605, -0.2113577127456665, -0.5195930004119873, -0.10066003352403641, 0.3899363875389099, -0.2653043270111084, 0.7635669708251953, 0.04129904508590698, -0.5023210644721985, -0.008573991246521473, -0.7483200430870056, -0.3194843530654907, 0.16379760205745697, -0.20726780593395233, -0.12269701808691025, 0.2780548334121704, 0.16092589497566223, 0.6355547308921814, -0.45322147011756897, 0.4204992651939392, -0.5723849534988403, -0.4801087975502014, 0.21887169778347015, -0.4827669858932495, 0.7361189126968384, 0.15067017078399658, -0.3414739966392517, 0.2711883783340454, -0.46407485008239746, 0.07779094576835632, 0.0748683288693428, -0.14066581428050995, -0.17427164316177368, -0.005270093213766813, -0.057043369859457016, 0.2024938315153122, 0.13429702818393707, -0.8065202832221985, 0.37454357743263245, -0.4682086706161499, 0.5643267631530762, 0.5813339948654175, 0.07868556678295135, 0.09652703255414963, -0.15756303071975708, 0.6526986360549927, -0.08448778837919235, 0.015025787986814976, -0.25643235445022583, -0.49644994735717773, -0.608713686466217, -0.5889246463775635, 0.12272264808416367, 0.50446617603302, -0.904114305973053, 0.2820003628730774, -0.35981816053390503, -0.4402058720588684, -0.16121666133403778, 0.016873503103852272, 0.4233156144618988, 0.40274184942245483, 0.2258375734090805, -0.3652682602405548, -0.05898357927799225, -0.570733368396759, -0.10974816232919693, -0.07877936214208603, -0.13758185505867004, 0.5090595483779907, 0.3813457489013672, 0.09251266717910767, 0.9701758623123169, -0.6384540796279907, -0.43936097621917725, -0.4317358434200287, -0.13877542316913605, 0.30567991733551025, 0.17961439490318298, 0.48200079798698425, -0.3838145136833191, -0.6970643997192383, 0.09808029979467392, -0.3231588304042816, -0.24530978500843048, 0.10367955267429352, 0.05191456153988838, 0.3733662962913513, 0.3713594079017639, -0.5014147758483887, 0.5871424674987793, 0.5294485688209534, -0.2020149677991867, 0.4014873206615448, 0.10386835783720016, 0.05652501806616783, -1.3402613401412964, 0.1577727049589157, 0.07880845665931702, -0.44245192408561707, -0.8570355176925659, -0.17415398359298706, -0.1035521849989891, -0.1822892725467682, -0.5948600172996521, 0.7401725649833679, -0.2907350957393646, -0.10005904734134674, -0.4729383587837219, 0.10948498547077179, -0.5387956500053406, 0.7349966168403625, 0.06262191385030746, 0.6600217223167419, 0.6025334000587463, -0.41248077154159546, 0.3689006567001343, 0.24450506269931793, -0.40403246879577637, 0.598070502281189, -0.42311882972717285, 0.16788582503795624, 0.19135108590126038, 0.6993103623390198, -1.21437406539917, 0.006865402217954397, 0.20928458869457245, -0.2978734076023102, 0.3031066358089447, -0.38846802711486816, -0.3801767826080322, -0.14263570308685303, -0.20026011765003204, 0.3057435154914856, 0.2293453961610794, -0.3521440327167511, 0.5772513747215271, 0.19190210103988647, -0.4590068459510803, -0.41939976811408997, -0.4025421142578125, 0.11784413456916809, -0.03126278519630432, -0.5342143177986145, 0.2328827828168869, -0.19754758477210999, 0.061191242188215256, -0.38441187143325806, -0.49034345149993896, -0.03677913546562195, -0.022416768595576286, 0.1775778979063034, 0.29138249158859253, -0.3168773055076599, -0.1481972336769104, -0.03947816044092178, -0.08903863281011581, -0.23524196445941925, -0.42154327034950256, 0.8984375, -0.06422796845436096, -0.3347502052783966, -0.6997905373573303, 0.35077840089797974, 0.6168848276138306, -0.24326159060001373, 0.560039222240448, 0.4459068179130554, -0.23146706819534302, -0.45239028334617615, -0.5254292488098145, -0.3850680887699127, -0.45292672514915466, 0.3455014228820801, -0.5171524286270142, -1.441980242729187, 0.5567353963851929, -0.02054111659526825, 0.290423184633255, -0.026477139443159103, 0.9096794724464417, 0.17125734686851501, 0.9407631754875183, 0.617148220539093, -0.10305812209844589, 0.8501653075218201, -0.1637049913406372, 0.4237176477909088, -0.7997467517852783, 0.08653717488050461, -0.4630544185638428, -0.11772795766592026, -0.49784088134765625, -0.7319768071174622, 0.3870120346546173, 0.08310402184724808, -0.17963063716888428, 0.37078577280044556, -0.2542749345302582, 0.36215779185295105, 0.2866639792919159, 0.10791915655136108, 0.5406492948532104, -0.00935445073992014, -0.07320212572813034, -0.0021823153365403414, -0.6705825924873352, -0.3266972005367279, 1.0687215328216553, 0.2839055061340332, 0.8714827299118042, 0.1532825529575348, 0.6881707310676575, 0.11044224351644516, 0.5030930042266846, -1.026105284690857, 0.8198457360267639, -0.3340277075767517, -0.4397549033164978, -0.40019914507865906, -0.5565341114997864, -0.5111350417137146, 0.3672354519367218, 0.18158039450645447, -1.4530926942825317, -0.12729111313819885, 0.19563186168670654, -0.6321126222610474, 0.30333200097084045, -0.48669448494911194, 0.7282446026802063, 0.02325008623301983, -0.37744858860969543, -0.2936239242553711, -0.42064234614372253, 0.47444865107536316, -0.05721627548336983, -0.1375718116760254, -0.4772689640522003, 0.24853184819221497, 0.4801139235496521, -0.5575167536735535, 1.2420064210891724, -0.42796429991722107, -0.5086703300476074, 0.40122368931770325, 0.2495715618133545, 0.551899790763855, 0.02417675219476223, 0.12600843608379364, 0.1488276720046997, 0.3907741904258728, -0.27289244532585144, -0.647679328918457, 0.988557755947113, -0.37262430787086487, -0.7269625067710876, -0.15469834208488464, -0.7704850435256958, -0.39643803238868713, 0.1572326272726059, -0.15709085762500763, 0.7453442215919495, -0.2468864917755127, 0.42920538783073425, 0.5868287086486816, -0.18108613789081573, 0.6052693724632263, 0.8224490284919739, -0.3841789960861206, -0.11454892158508301, 0.905766487121582, 0.055997584015131, 0.7154029011726379, 0.538184642791748, 0.053009215742349625, -0.5785491466522217, -0.4766119420528412, -0.5176081657409668, 0.18408676981925964, -0.3935273289680481, -0.48713651299476624, -0.6700270175933838, -0.22935007512569427, -0.37390702962875366, -0.008753187954425812, -0.4307916462421417, -0.35250112414360046, -0.16870465874671936, 0.12256090342998505, 0.5321157574653625, 0.30596184730529785, 0.1708032637834549, 0.405046671628952, -0.5789933800697327, 0.3390626609325409, 0.16979150474071503, 0.5122136473655701, 0.06491637974977493, -0.4500650465488434, -0.08911395817995071, 0.36004164814949036, -0.420855313539505, -0.7434296011924744, 0.29006481170654297, 0.13640913367271423, 0.36915215849876404, 0.2685653567314148, 0.28978559374809265, 0.7071899175643921, -0.4200044274330139, 0.7702723145484924, 0.24593394994735718, -1.1759531497955322, 0.47567060589790344, -0.7891289591789246, 0.5263022184371948, 0.3049142360687256, -0.03222404792904854, -0.5771393179893494, -0.5569553971290588, -0.2230289876461029, -0.5792152881622314, 1.1102283000946045, 0.22458596527576447, 0.30841580033302307, 0.11725842952728271, 0.19530801475048065, -0.17992621660232544, 0.13366711139678955, -0.4327705204486847, 0.10479658097028732, -0.11515357345342636, -0.2398381531238556, -0.03898583725094795, -0.06404545903205872, -0.1300133466720581, -0.07559192925691605, 0.5525239109992981, -0.6317957043647766, 0.41869693994522095, 0.03494502604007721, -0.06222895532846451, -0.1674117147922516, 0.4929347634315491, 0.8788673877716064, 0.6108726859092712, -0.2706087529659271, -0.39751169085502625, 0.33458882570266724, -0.30131587386131287, 0.03567727282643318, 0.21136797964572906, -0.16044197976589203, -0.12628231942653656, 0.03883182629942894, 0.9943555593490601, 0.5058650374412537, -0.6718267202377319, 0.5993584394454956, 0.05868891626596451, -0.20569603145122528, -0.04157627746462822, 0.3252188563346863, 0.10305152088403702, 0.5736457109451294, 0.3741816282272339, -0.2974410355091095, -0.12448855489492416, -0.5697404146194458, 0.17320263385772705, 0.6612676382064819, -0.5449957847595215, -0.35890114307403564, 0.5371034145355225, 0.41399332880973816, -0.34213072061538696, 0.3060459494590759, 0.029360506683588028, -0.4412223994731903, 0.438700795173645, 0.727074921131134, 0.8944954872131348, -0.43682584166526794, 0.39453133940696716, 0.17922329902648926, -0.11415138840675354, -0.11020486056804657, 0.3430503010749817, -0.39506053924560547, -0.7702065706253052, -0.9312506318092346, -0.7310452461242676, -0.4964295029640198, 0.29899460077285767, -0.6289827227592468, 0.24298036098480225, -0.5107681751251221, -0.21577627956867218, -0.004493368789553642, 0.20831477642059326, -0.35108089447021484, -0.037699028849601746, 0.24770592153072357, 0.9144397377967834, -0.3805113434791565, 1.1229568719863892, 0.332354873418808, -0.15810617804527283, -0.7344858646392822, 0.12698166072368622, 0.30489882826805115, -0.645091712474823, 0.2793702781200409, 0.21888571977615356, -0.40977784991264343, 0.2866459786891937, -0.4946961998939514, -0.7801592946052551, 1.1265301704406738, 0.4438515305519104, -0.8820434808731079, 0.12096451222896576, 0.02460114285349846, 0.5656331181526184, -0.6183472871780396, 0.3183871805667877, 0.6348407864570618, 0.14275594055652618, 0.4934343993663788, -1.3700705766677856, 0.2172679603099823, 0.10174442082643509, 0.1782505065202713, 0.47473618388175964, -0.8767058849334717, 0.4627811014652252, -0.3010913133621216, -0.15247586369514465, 0.39723172783851624, 0.3997493088245392, 0.362445592880249, 0.1128932312130928, 0.5399105548858643, 0.18091298639774323, 0.34434178471565247, -0.1454765498638153, 0.7664870023727417, -0.24587172269821167, 0.5747846364974976, 1.2067797183990479, -0.5747888684272766, 0.9316135048866272, 0.3496749699115753, 0.0706145167350769, 0.045327067375183105, 0.2915298640727997, 0.1285335123538971, 0.5617746710777283, 0.4150857627391815, -0.4304961562156677, -0.33129358291625977, -0.24125955998897552, -0.16017763316631317, 0.5301464796066284, 0.6218323111534119, -0.10178765654563904, -0.4243362247943878, -0.07930292189121246, 0.1666940152645111, -0.15370823442935944, -0.2808081805706024, 0.8030330538749695, 0.24145524203777313, -0.6906536221504211, 0.7684036493301392, -0.04715751111507416, 0.6716618537902832, -0.739704430103302, -0.0011135067325085402, -0.34472838044166565, 0.3427177369594574, 0.06462575495243073, -0.4548014998435974, 0.2528280019760132, 0.2391054779291153, 0.1383092701435089, -0.2599653899669647, 0.4784325659275055, -0.6373566389083862, -0.3655540645122528, 0.32408228516578674, 0.333481103181839, 0.01068204827606678, -0.19580142199993134, -0.5256328582763672, 0.2884993851184845, 0.4147849977016449, -0.1707572489976883, 0.3986150026321411, 0.21395878493785858, -0.4318021237850189, 0.7759377360343933, 0.703708827495575, -0.06600091606378555, -0.11409401148557663, 0.1829293668270111, 0.9187129139900208, -0.6261780858039856, -0.5474267601966858, -0.7524051070213318, 0.40977251529693604, -0.012546464800834656, -0.29117828607559204, 0.46975570917129517, 0.33242493867874146, 0.6751668453216553, -0.042784519493579865, 0.6145781874656677, -0.16452538967132568, 0.6363880038261414, -0.5033893585205078, 0.5623573660850525, -0.37679487466812134, 0.24588365852832794, -0.43659642338752747, -1.1019281148910522, -0.38756731152534485, 0.4903595745563507, -0.48306697607040405, -0.03767574951052666, 0.3863297402858734, 1.0238014459609985, -0.13981035351753235, 0.22253620624542236, 0.625720739364624, 0.4039662480354309, 0.7243636846542358, 0.6307543516159058, 0.9183929562568665, -0.06832843273878098, 0.569280743598938, 0.06285429000854492, -0.40208280086517334, -0.5432643294334412, -0.7728240489959717, -1.0695257186889648, -0.6211587190628052, -0.4199501872062683, -0.1284773051738739, 0.04201888665556908, 0.9139653444290161, 0.8518891930580139, -0.8045120239257812, -0.3278398811817169, 0.09301922470331192, -0.23286564648151398, -0.17957857251167297, -0.26804035902023315, 0.0672929510474205, -0.35332679748535156, -0.8194958567619324, 0.5532845258712769, 0.46273159980773926, -0.08450561761856079, -0.26273229718208313, 0.05302070826292038, -0.08170967549085617, 0.3008367121219635, 0.7890117764472961, 0.30081114172935486, -1.0965983867645264, -0.36285415291786194, -0.09850601851940155, 0.12334413081407547, -0.08157195895910263, 1.0835505723953247, -0.41950878500938416, 0.4212004840373993, 0.30013027787208557, 0.5271030068397522, 0.8924760818481445, 0.06211268901824951, 0.7001950740814209, -0.7940210700035095, 0.15322540700435638, 0.28307440876960754, 0.1274380385875702, 0.32060739398002625, -0.16974733769893646, 0.31600338220596313, -0.005874748807400465, -0.4309736490249634, -0.9214529991149902, 0.42947980761528015, -1.2453216314315796, -0.08753687143325806, 1.1850894689559937, -0.3259739577770233, 0.02184356190264225, -0.0770721361041069, -0.353331983089447, 0.12164618819952011, -0.7589150667190552, 0.663809061050415, 0.60328209400177, -0.2823392152786255, -0.2818760573863983, -0.733397364616394, 0.46128779649734497, 0.22672609984874725, -0.7274088263511658, 0.40681126713752747, 0.6070296764373779, 0.5657941102981567, -0.022911783307790756, 0.985027551651001, 0.042125385254621506, -0.10675908625125885, -0.4277888834476471, -0.26064562797546387, 0.00913152378052473, -0.22928564250469208, -0.26731693744659424, -0.07615961879491806, -0.08303583413362503, -0.2812303304672241 ]
http://arxiv.org/abs/2402.10462v1
http://arxiv.org/pdf/2402.10462v1
QDyLoRA: Quantized Dynamic Low-Rank Adaptation for Efficient Large Language Model Tuning
2024-02-16T05:42:17
2024-02-16T05:42:17
Hossein Rajabzadeh, Mojtaba Valipour, Tianshu Zhu, Marzieh Tahaei, Hyock Ju Kwon, Ali Ghodsi, Boxing Chen, Mehdi Rezagholizadeh
cs.LG
cs.LG, cs.CL
Finetuning large language models requires huge GPU memory, restricting the choice to acquire Larger models. While the quantized version of the Low-Rank Adaptation technique, named QLoRA, significantly alleviates this issue, finding the efficient LoRA rank is still challenging. Moreover, QLoRA is trained on a pre-defined rank and, therefore, cannot be reconfigured for its lower ranks without requiring further fine-tuning steps. This paper proposes QDyLoRA -Quantized Dynamic Low-Rank Adaptation-, as an efficient quantization approach for dynamic low-rank adaptation. Motivated by Dynamic LoRA, QDyLoRA is able to efficiently finetune LLMs on a set of pre-defined LoRA ranks. QDyLoRA enables fine-tuning Falcon-40b for ranks 1 to 64 on a single 32 GB V100-GPU through one round of fine-tuning. Experimental results show that QDyLoRA is competitive to QLoRA and outperforms when employing its optimal rank.
[ -0.27840158343315125, -0.8629545569419861, 0.48756614327430725, 0.18913106620311737, -0.4968322217464447, 0.4935716688632965, -0.2893964946269989, -0.20109838247299194, -0.11344937235116959, 0.16508309543132782, -0.3713592290878296, -0.5921221375465393, -0.33103325963020325, -0.18389038741588593, -0.11006475239992142, 1.0111033916473389, 0.24512359499931335, -0.33800041675567627, 0.28563785552978516, -0.3626723289489746, -0.5217269659042358, -0.33796292543411255, -1.019561767578125, 0.1678079217672348, 0.9081726670265198, 0.4147945046424866, 0.9838201999664307, 0.5499705076217651, 0.4113772213459015, 0.38094866275787354, -0.32415899634361267, 0.21329548954963684, -0.934289813041687, 0.3540530502796173, -0.2718895673751831, -0.7557476758956909, -0.9212459325790405, -0.10858942568302155, 0.9620632529258728, 0.39463499188423157, -0.2723642885684967, 0.41310009360313416, -0.08075250685214996, 0.8021001815795898, -0.9639632701873779, 0.18142955005168915, -0.87038654088974, 0.09131281822919846, -0.2588326334953308, -0.3550319969654083, -0.027908923104405403, -0.5413541197776794, -0.23767700791358948, -1.0731662511825562, -0.2976442873477936, 0.026341969147324562, 0.6199698448181152, 0.5810683369636536, -0.5423777103424072, 0.029527107253670692, -0.8921496272087097, 0.5333072543144226, -0.7351481914520264, 0.2544825077056885, 0.10743720829486847, 0.598739504814148, -0.10687673091888428, -0.7452669143676758, -0.407074511051178, -0.0039527527987957, 0.5624711513519287, 0.09110201895236969, -0.14564315974712372, 0.21219296753406525, 0.45076167583465576, 0.49096396565437317, -0.4825315475463867, 0.3864664137363434, -0.2159615457057953, 0.27395865321159363, 0.4351412355899811, 0.11790242046117783, 0.23634333908557892, 0.23981362581253052, 0.057024918496608734, -0.3119019567966461, -0.6608429551124573, 0.11822621524333954, 0.41357067227363586, 0.44052690267562866, -0.1737869828939438, 0.19058352708816528, -0.28895822167396545, 0.6822564005851746, 0.43210095167160034, -0.3452959656715393, -0.15703317523002625, -0.06476716697216034, -0.45326611399650574, 0.35403767228126526, 0.18964624404907227, 0.02840729057788849, 0.25480204820632935, 0.011840484105050564, -0.22211354970932007, 0.09018225222826004, 0.15545257925987244, -1.1247981786727905, -0.5401225090026855, 0.22422152757644653, -0.39944571256637573, -0.370534747838974, -0.14595042169094086, -0.8381026387214661, -0.38737034797668457, -0.21061015129089355, 0.60576331615448, -0.08059267699718475, -0.25718846917152405, 0.03154477849602699, 0.1382869929075241, 0.10302864760160446, 0.601016640663147, -0.972272515296936, 0.30641964077949524, 0.5906456112861633, 0.9254508018493652, -0.23616574704647064, -0.11369607597589493, -1.1332058906555176, 0.12803909182548523, -0.5052528381347656, 0.6968955397605896, -0.4098743498325348, -0.2003997415304184, -0.17523649334907532, 0.13829079270362854, -0.255301296710968, -0.7581133842468262, 0.31904134154319763, -0.8726401925086975, -0.1383841186761856, 0.01243863720446825, -0.34443214535713196, -0.013980070129036903, -0.1477413922548294, -0.6846799254417419, 0.7215576767921448, 0.5780866742134094, -0.5653561949729919, 0.20545727014541626, -0.4490799903869629, 0.0032158212270587683, 0.1700494885444641, 0.2399117648601532, -0.4546138644218445, 0.4589046835899353, -0.04189581796526909, 0.01632123440504074, -0.12332373857498169, 0.14204487204551697, -0.6268068552017212, -0.7597609758377075, 0.2572048306465149, -0.5214074850082397, 0.779518187046051, 0.5247403383255005, -0.18677115440368652, 0.35852599143981934, -0.825372576713562, 0.28212636709213257, 0.04649141803383827, -0.6377891302108765, -0.4516805410385132, -0.1000501960515976, -0.0743408128619194, 0.13625404238700867, 0.15671440958976746, -0.06143835932016373, 0.5569445490837097, -0.4942251145839691, 0.5580669045448303, 0.7147517204284668, -0.03218927979469299, 0.4650406539440155, -0.1541842222213745, 0.8395848870277405, -0.07284434884786606, 0.1771443784236908, 0.32396411895751953, -0.16798733174800873, -0.8556122183799744, -0.2668047845363617, 0.49708256125450134, 0.4213728904724121, -0.977952778339386, 0.19898302853107452, -0.38483530282974243, -0.4406226575374603, -0.5897032022476196, 0.21481958031654358, 0.19561803340911865, -0.09604689478874207, 0.20892885327339172, 0.031979870051145554, -0.3138900399208069, -0.465860515832901, -0.17571091651916504, -0.06810120493173599, 0.15147973597049713, -0.02129259519279003, 0.1882176697254181, 0.054863397032022476, 0.6277268528938293, -0.4954964816570282, -0.36523735523223877, 0.047061990946531296, -0.14035864174365997, 0.41647207736968994, 0.5513831973075867, 0.8182289600372314, -0.6350557208061218, -0.6461354494094849, 0.15162868797779083, -0.40177100896835327, -0.07300534844398499, -0.0576426200568676, -0.2989068627357483, 0.18212635815143585, 0.5738226175308228, -0.5020465850830078, 0.20743796229362488, 1.1245038509368896, -0.47760218381881714, 0.29813703894615173, -0.6360819339752197, 0.002105539431795478, -0.9699646830558777, 0.06615269929170609, -0.3193858563899994, -0.5214729309082031, -0.47259941697120667, 0.2384561151266098, 0.11168414354324341, -0.39080873131752014, -0.5475504994392395, 0.5008738040924072, -0.3265293538570404, -0.20488686859607697, -0.47946593165397644, 0.4678674042224884, -0.14250925183296204, 0.5142818689346313, -0.4279139041900635, 1.0762150287628174, 0.419187068939209, -0.5121080279350281, 0.4760607182979584, 0.08019494265317917, -0.38211509585380554, 0.6862131953239441, -0.4153154492378235, 0.08584947139024734, 0.07478092610836029, 0.17499972879886627, -0.6988499164581299, 0.1554115116596222, 0.13656161725521088, 0.1673903465270996, 0.24685636162757874, -0.5711476802825928, -0.268227756023407, -0.03537414222955704, -0.3139098882675171, 0.8433631658554077, 0.5324522852897644, -0.7471707463264465, 0.14757736027240753, 0.3282166123390198, -0.3462907075881958, 0.03226413577795029, -0.24251796305179596, 0.10975460708141327, -0.601002037525177, -0.1507038027048111, 0.5035038590431213, -0.492197185754776, -0.3361932933330536, -0.27798646688461304, -0.019970638677477837, 0.14950208365917206, 0.5534868240356445, 0.26081010699272156, -0.06635932624340057, -0.5509420037269592, 0.16277267038822174, 0.30928680300712585, -0.14773546159267426, -0.33164480328559875, -0.27345797419548035, 0.42677539587020874, -0.33128562569618225, -0.03143589198589325, -0.5836076140403748, 0.01700148917734623, 0.7896425724029541, -0.19760453701019287, 0.6880079507827759, 0.7063900232315063, -0.21238821744918823, -0.5346328020095825, 0.00908456277102232, -0.03396529704332352, -0.5485072731971741, 0.5315732955932617, -0.5241693258285522, -0.775892972946167, 0.48121121525764465, -0.396279901266098, -0.3114382028579712, 0.43293461203575134, 0.4960777461528778, -0.0514555498957634, 1.1289511919021606, 0.500198483467102, -0.041770316660404205, 0.7763551473617554, -0.316934734582901, 0.15865041315555573, -0.7689663171768188, 0.36807680130004883, -0.4641852080821991, -0.5045981407165527, -1.1221743822097778, -0.40673455595970154, 0.5518298149108887, 0.47447943687438965, -0.5014400482177734, -0.08904185146093369, -0.386072039604187, 0.41156333684921265, 0.4359566867351532, 0.028059637174010277, 0.4535864293575287, -0.020839789882302284, 0.4098733365535736, 0.16637447476387024, -0.7746067047119141, -0.11415445804595947, 0.7568463683128357, 0.22106295824050903, 0.7300435304641724, 0.5547332167625427, 0.5740643739700317, 0.4946730434894562, 0.005808614660054445, -0.7718240022659302, 0.415116548538208, -0.579243004322052, -0.13990148901939392, -0.5562079548835754, -0.3414188027381897, -0.9444974660873413, 0.40612274408340454, -0.38381925225257874, -0.5455363988876343, 0.365380197763443, 0.15533235669136047, -0.8769077658653259, 0.2347332388162613, -0.5017233490943909, 0.8543548583984375, -0.09165291488170624, -0.37608134746551514, -0.4892154037952423, -0.07891152799129486, 0.3644336462020874, -0.40453463792800903, 0.04513385519385338, -0.4451505243778229, 0.10611173510551453, 0.804590106010437, -0.5082728266716003, 0.6449348330497742, -0.4502389430999756, -0.5654394626617432, -0.048797979950904846, 0.2624147832393646, 0.7591725587844849, 0.3215307295322418, -0.13996805250644684, -0.18883849680423737, 0.6943957805633545, -0.5921905636787415, -0.8777708411216736, 1.0771702527999878, -0.9569255113601685, -0.6134366989135742, -0.44465208053588867, -0.6756982803344727, -0.32531729340553284, 0.12376686185598373, -0.2296401560306549, 0.3113429546356201, -0.006326646078377962, 0.19147957861423492, 0.5811470150947571, -0.4148479402065277, 0.3872671127319336, 0.4391075670719147, -0.28955554962158203, -0.4940142035484314, 1.2170439958572388, 0.23328955471515656, 0.2249017059803009, 0.3177131414413452, 0.19259735941886902, -0.008122753351926804, -0.8690592646598816, -0.4697045683860779, 0.2648332715034485, -0.5727299451828003, -0.33369237184524536, -0.07925490289926529, -0.361223965883255, -0.1542109102010727, -0.03408941999077797, -0.5548856854438782, -0.6782838106155396, -0.5516526103019714, 0.3017294406890869, 0.42711734771728516, 0.42304515838623047, 0.2692486047744751, 0.57326740026474, -0.5551088452339172, 0.5457417964935303, 0.6480010151863098, 0.257876455783844, -0.005353019572794437, -0.7727344036102295, -0.464958131313324, 0.18606191873550415, -0.21256619691848755, -0.543328583240509, 0.531745433807373, 0.6933683156967163, 0.385898232460022, 0.4286799430847168, 0.40439799427986145, 1.086078405380249, -0.2400783896446228, 0.33256086707115173, -0.3666626513004303, -0.9924256801605225, 0.4513189494609833, -0.4778689444065094, 0.5132355690002441, 0.5444032549858093, -0.009231703355908394, -0.3308693766593933, -0.33028095960617065, -0.22521470487117767, -0.5642500519752502, 0.7236736416816711, -0.030428104102611542, 0.01285643596202135, 0.39024797081947327, 0.7165704965591431, -0.10052406787872314, 0.13888411223888397, -0.3227541446685791, -0.021889377385377884, -0.20118099451065063, -0.25027063488960266, -0.3577915132045746, -0.3175974190235138, -0.1789013296365738, -0.40832605957984924, 0.6272575855255127, -0.683500349521637, 0.09531232714653015, -0.3454659879207611, -0.34602290391921997, -0.2266853302717209, 0.12321671098470688, 0.8979383111000061, 0.7545357346534729, -0.557519793510437, 0.32894036173820496, 0.3759883642196655, -0.3925302028656006, 0.32172372937202454, -0.09344544261693954, -0.01645546406507492, -0.46383848786354065, 0.13717450201511383, 1.0919016599655151, 0.507875919342041, -0.6040552854537964, 0.2659826874732971, -0.1449873298406601, -0.040648203343153, -0.07058380544185638, 0.5440530180931091, 0.13218830525875092, 0.6812744140625, 0.27152565121650696, -0.3621063828468323, -0.28862980008125305, -0.6935302019119263, -0.1778419315814972, 0.37765443325042725, -0.20734497904777527, -0.43488359451293945, 0.7121922373771667, -0.0007662207935936749, -0.2065819948911667, 0.6093037128448486, -0.2807886600494385, -0.0447622574865818, 0.5611388683319092, 0.6844428181648254, 0.7679939270019531, -0.3386680781841278, 0.31147488951683044, 0.18351471424102783, -0.290554940700531, 0.004947775974869728, 0.3870401382446289, -0.013604671694338322, -0.46799108386039734, -0.20008042454719543, -0.9374293088912964, -0.3545118272304535, -0.10384650528430939, -0.6948034167289734, 0.13329008221626282, -0.6607295274734497, -0.3384937345981598, -0.07058807462453842, 0.4310173988342285, -0.33925607800483704, -0.021846754476428032, 0.1660107523202896, 0.7967954277992249, -0.5953522324562073, 1.5748164653778076, 0.4052753746509552, -0.1491294652223587, -0.47474977374076843, 0.042376693338155746, -0.31213685870170593, -0.6823391318321228, 0.7729863524436951, -0.4273216426372528, -0.1381876915693283, 0.6519259214401245, -0.16093645989894867, -1.1298799514770508, 1.5183324813842773, 0.7834106087684631, -0.7629150748252869, -0.13459821045398712, -0.09714475274085999, 0.7310625314712524, -0.22798466682434082, -0.049551695585250854, 0.6144712567329407, 0.523330807685852, -0.18597659468650818, -0.8752720952033997, 0.06587514281272888, 0.005614199209958315, 0.37205004692077637, -0.07711184769868851, -1.016942024230957, 1.072629451751709, -0.19326923787593842, -0.27841854095458984, 0.36225640773773193, 0.6351603269577026, 0.4487578272819519, 0.1517433077096939, 0.5646641254425049, 0.22856375575065613, 0.9710279703140259, 0.048452120274305344, 0.6401069760322571, -0.5394607186317444, 0.5489732623100281, 0.9303269386291504, -0.29823827743530273, 1.0472078323364258, 0.40861669182777405, -0.4247077405452728, 0.5370566248893738, 0.6721334457397461, 0.0762486532330513, 0.6797139644622803, 0.42175447940826416, -0.17339365184307098, -0.36083295941352844, 0.10991998761892319, -0.3460848033428192, 0.6304595470428467, 0.32235845923423767, 0.10494829714298248, -0.14333517849445343, 0.25887951254844666, -0.09111826121807098, -0.18752475082874298, -0.625236451625824, 0.7689935564994812, 0.10302727669477463, -0.49287691712379456, 1.4617946147918701, 0.08022823929786682, 0.4315178096294403, -0.39841753244400024, 0.003075224347412586, -0.5735095143318176, 0.36689600348472595, -0.09734740853309631, -0.16923773288726807, -0.073789082467556, -0.30282583832740784, -0.1401441991329193, 0.05002310499548912, 0.45343175530433655, -0.5484766960144043, -0.4661366045475006, 0.09013214707374573, 0.44645777344703674, -0.057197850197553635, -0.4190461337566376, -0.6638195514678955, 0.525299608707428, -0.3008778989315033, -0.2704707980155945, 0.9264039397239685, 0.4914938509464264, -0.40160754323005676, 0.8424510955810547, 0.6487466096878052, 0.38191986083984375, 0.055678755044937134, 0.026493502780795097, 0.9300677180290222, -0.7565502524375916, -0.6582231521606445, -0.4658266007900238, -0.17820775508880615, 0.31248635053634644, -0.055651623755693436, 0.5468345284461975, 0.36251217126846313, 0.49455899000167847, -0.06184352561831474, 0.5193530917167664, 0.4129733145236969, 0.10921219736337662, -0.9125257730484009, 1.0077098608016968, -0.7756187915802002, 0.3142786920070648, -0.008019848726689816, -1.1708897352218628, -0.22259695827960968, 0.5695121884346008, 0.008487293496727943, 0.06801995635032654, 0.709229588508606, 0.7222052812576294, -0.23448888957500458, -0.2842670679092407, 0.8201097249984741, 0.581479012966156, 0.44565898180007935, 0.8110921382904053, 0.6710221171379089, -0.49472081661224365, 0.35056599974632263, -0.10706095397472382, -0.11743024736642838, -0.5316981673240662, -0.938696026802063, -0.6346717476844788, -0.3985793888568878, -0.6183803677558899, -0.2404162585735321, 0.588762104511261, 0.736388087272644, 0.8715665936470032, -0.9708109498023987, -0.1497691571712494, 0.10723671317100525, 0.1570860892534256, -0.48842400312423706, -0.2268899530172348, 0.7251965403556824, -0.36458200216293335, -1.1311979293823242, 0.6169469356536865, 0.3218196630477905, 0.12676596641540527, -0.5132797956466675, -0.28990408778190613, 0.04751109331846237, 0.0029640498105436563, 0.6909675598144531, 0.3882019519805908, -0.45784345269203186, -0.3285442590713501, -0.5834239721298218, -0.19937759637832642, 0.07420947402715683, 0.7381585836410522, -0.9300586581230164, 0.22769127786159515, 0.4782315194606781, 0.37493792176246643, 0.6284595131874084, 0.15991990268230438, 0.3031735122203827, -0.2920687198638916, 0.3481557369232178, -0.004787474405020475, 0.020908158272504807, -0.03306467831134796, -0.14693759381771088, 0.13103650510311127, 0.2836262881755829, -0.6194851994514465, -1.0388795137405396, -0.05978117883205414, -1.4169635772705078, -0.47127190232276917, 1.3163679838180542, -0.23886851966381073, -0.3290052115917206, 0.00376336183398962, -0.4054114520549774, 0.22626088559627533, -0.25630176067352295, 0.9334085583686829, 0.024981381371617317, 0.21611417829990387, -0.4048006534576416, -0.6435188055038452, 0.9180731177330017, 0.14917315542697906, -0.9336848855018616, 0.263567715883255, 0.10174641758203506, 0.31198814511299133, -0.35305505990982056, 0.4368758797645569, 0.20774944126605988, 0.23813289403915405, -0.12066778540611267, -0.2670934796333313, -0.12494370341300964, -0.3129763603210449, -0.603585958480835, 0.43538036942481995, 0.7452636957168579, -0.0605589784681797 ]
http://arxiv.org/abs/2402.10987v2
http://arxiv.org/pdf/2402.10987v2
WilKE: Wise-Layer Knowledge Editor for Lifelong Knowledge Editing
2024-02-16T05:29:59
2024-06-05T07:44:30
Chenhui Hu, Pengfei Cao, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI
Knowledge editing aims to rectify inaccuracies in large language models (LLMs) without costly retraining for outdated or erroneous knowledge. However, current knowledge editing methods primarily focus on single editing, failing to meet the requirements for lifelong editing. This study reveals a performance degradation encountered by knowledge editing in lifelong editing, characterized by toxicity buildup and toxicity flash, with the primary cause identified as pattern unmatch. We introduce a knowledge editing approach named Wise-Layer Knowledge Editor (WilKE), which selects editing layer based on the pattern matching degree of editing knowledge across different layers in language models. Experimental results demonstrate that, in lifelong editing, WilKE exhibits an average improvement of 46.2% and 67.8% on editing GPT2-XL and GPT-J relative to state-of-the-art knowledge editing methods.
[ 0.21930426359176636, -0.7571354508399963, 0.7583862543106079, 0.1675174981355667, 0.004198775161057711, 0.22463871538639069, -0.11109007149934769, -0.5343841314315796, 0.014952530153095722, 0.8023093342781067, -0.3219567537307739, -0.6987817883491516, -0.38526806235313416, -0.2138124406337738, -0.28602948784828186, 0.7858206033706665, -0.016101740300655365, 0.1218644380569458, -0.449253112077713, -0.3491455316543579, -0.9538214802742004, -0.09027247875928879, -1.1299110651016235, -0.38373199105262756, 0.49539846181869507, 0.6551799774169922, 1.043784499168396, 0.5517676472663879, 0.18381215631961823, 0.3762424886226654, -0.3371204733848572, 0.3002007007598877, -0.3198331594467163, 0.3996250331401825, -0.3782574534416199, -0.35003548860549927, -0.8826879262924194, -0.021190691739320755, 0.5639007091522217, 0.5247223973274231, 0.02679259143769741, 0.010553157888352871, 0.1393798589706421, 1.0395857095718384, -0.68558269739151, -0.22409650683403015, -0.5639826059341431, 0.08844246715307236, -0.36807405948638916, -0.19628390669822693, -0.31833773851394653, -0.3918777108192444, -0.0035207963082939386, -0.8399474024772644, -0.2188396006822586, -0.05033254250884056, 0.13058704137802124, 0.2305767834186554, -0.3122331500053406, 0.1454220861196518, -0.7126083970069885, 0.593392014503479, -1.2195887565612793, 0.3975673317909241, 0.39551591873168945, 0.021862799301743507, -0.41939300298690796, -0.7443019151687622, -0.6265267133712769, -0.07803461700677872, 0.09403237700462341, 0.18095093965530396, 0.19565115869045258, 0.2941533923149109, 0.2913138270378113, 0.07083244621753693, -0.4223003089427948, 0.019143197685480118, -0.05363184213638306, -0.39317816495895386, 0.7535790205001831, 0.1832822859287262, 0.5818421244621277, -0.23253761231899261, -0.16030067205429077, 0.2509838342666626, -0.6928850412368774, -0.21590860188007355, 0.5062779784202576, -0.276630163192749, 0.45268428325653076, 0.5023165941238403, -0.21063882112503052, 0.9117556810379028, -0.17931735515594482, -0.5436768531799316, 0.04736001789569855, 0.014024421572685242, -0.3874921500682831, 0.07743553072214127, 0.7892581224441528, 0.6968157291412354, 0.2717982828617096, -0.4158167839050293, -0.2579911947250366, -0.4122353792190552, 0.13904647529125214, -0.4348640739917755, -0.35854339599609375, 0.3397965133190155, -0.22850900888442993, -0.6687914133071899, -0.08757888525724411, -0.7759671211242676, -0.651085615158081, -0.11442027986049652, 0.7776017785072327, -0.6119274497032166, -0.08742815256118774, 0.34011250734329224, -0.3369450271129608, -0.3254663050174713, 0.49103060364723206, -0.32942521572113037, -0.1766970455646515, 0.43969982862472534, 0.8610904216766357, -0.1348767727613449, -0.6133741736412048, -0.4728183448314667, 0.4593113362789154, -0.4725828468799591, 0.9353687167167664, -0.6854708194732666, -0.38632944226264954, -0.24189476668834686, -0.2478044629096985, 0.01778050698339939, -0.5357794761657715, 0.5081702470779419, -0.9223164319992065, 0.3928837776184082, -0.42828455567359924, -0.852495551109314, -0.13091795146465302, 0.047692589461803436, -0.7251843214035034, 1.230912208557129, 0.2431402951478958, -1.0392078161239624, 0.44521161913871765, -0.8819526433944702, -0.42527836561203003, 0.1545342206954956, 0.4475206136703491, -0.41068607568740845, -0.07996083796024323, 0.06744639575481415, 0.26865437626838684, 0.19288888573646545, 0.35023051500320435, -0.36215341091156006, -0.29737359285354614, 0.11186091601848602, -0.20470954477787018, 0.8214537501335144, 0.034060463309288025, -0.2683146595954895, 0.3705814480781555, -0.989935040473938, 0.15751118957996368, 0.022256381809711456, -0.4275563359260559, -0.7609773278236389, 0.18532000482082367, -0.06560390442609787, 0.4645012319087982, 0.2371547371149063, -0.6267027258872986, 0.5074636340141296, -0.11861393600702286, 0.40470707416534424, 1.1272149085998535, 0.40405914187431335, 0.3582425117492676, -0.6458255052566528, 0.5200508236885071, 0.15887528657913208, 0.4034397006034851, 0.5560789108276367, -0.7580225467681885, -0.7225970029830933, 0.20533685386180878, 0.34178677201271057, 0.8567193746566772, -0.8748728036880493, 0.18584689497947693, -0.18130339682102203, -0.39223068952560425, -0.21955791115760803, 0.7266650795936584, 0.3080841898918152, 0.7961881756782532, 0.5116918683052063, -0.3178420066833496, -0.3396085202693939, -0.7170887589454651, -0.7706432938575745, -0.02715115435421467, 0.14306935667991638, -0.0512479729950428, 0.20927581191062927, -0.5145370960235596, 1.0587908029556274, -0.3290110230445862, -0.3641454875469208, -0.21200981736183167, -0.005044084973633289, -0.27081024646759033, 0.34230098128318787, 0.4025598466396332, -0.34505340456962585, -0.7600659132003784, 0.0068003954365849495, -0.6164841055870056, -0.32765963673591614, -0.15528425574302673, -0.47615328431129456, 0.2981155812740326, 0.7447599172592163, -0.28006723523139954, 0.24046091735363007, 0.6773305535316467, -0.43367165327072144, 0.6841413378715515, -0.3309497535228729, 0.41352003812789917, -1.1028372049331665, -0.030593249946832657, -0.24306701123714447, -0.34654828906059265, -0.7876297831535339, -0.13299784064292908, 0.35589417815208435, 0.17780406773090363, -0.536018967628479, 0.5230987071990967, -0.386995404958725, 0.1959409862756729, -0.13848693668842316, 0.16590744256973267, 0.06447522342205048, 0.3287394642829895, -0.28963613510131836, 0.8882692456245422, 0.3861199617385864, -0.4410754144191742, 0.37148091197013855, 0.136148601770401, -0.5250858664512634, 0.5523319840431213, -0.42173025012016296, 0.5489999651908875, -0.01818234845995903, -0.043735191226005554, -0.6141272783279419, -0.22075298428535461, 0.09261845797300339, 0.06468113511800766, 0.31170690059661865, -0.06115845590829849, -0.660078227519989, -0.16497868299484253, -0.5908063650131226, 0.37386611104011536, 0.2536492943763733, -0.3682941198348999, 0.6354917287826538, 0.20040568709373474, -0.06439847499132156, -0.7616637349128723, -0.7718477249145508, 0.32104042172431946, -0.22727830708026886, -0.9307568073272705, 0.38651132583618164, -0.41956913471221924, -0.3198496699333191, 0.15149849653244019, -0.2200080007314682, 0.00894438847899437, 0.027399200946092606, -0.041787706315517426, 0.10942515730857849, -0.04578976333141327, 0.08534248173236847, 0.3158982992172241, -0.13069210946559906, -0.07409236580133438, -0.3682648539543152, 0.04282720014452934, 0.27607181668281555, -0.21005567908287048, -0.24399864673614502, 0.4086233973503113, 0.9115541577339172, -0.39818885922431946, 0.8412929177284241, 0.28287336230278015, -0.2081250548362732, -0.3459436893463135, -0.9807189106941223, 0.3831119239330292, -0.536817193031311, 0.46379154920578003, -0.1882016658782959, -0.8341587781906128, 0.7821881771087646, -0.1390560269355774, 0.18474075198173523, 0.6466079354286194, 0.034040190279483795, -0.2501380443572998, 0.7989127039909363, 0.6166557669639587, -0.3393629789352417, 0.4728313088417053, 0.10704370588064194, 0.012233931571245193, -1.0228331089019775, -0.11569236218929291, -0.048331644386053085, -0.43698614835739136, -0.22919178009033203, -0.1766119748353958, 0.5734468102455139, 0.44321325421333313, -0.2987561821937561, 0.20634223520755768, -0.43636658787727356, 0.9766466617584229, 0.3629322946071625, 0.39447087049484253, 0.8047099709510803, -0.3061397969722748, -0.19432762265205383, 0.035032715648412704, -0.7507879137992859, -0.3646753132343292, 1.2229164838790894, 0.09237689524888992, 0.6621813774108887, 0.4300455152988434, 0.5923112630844116, 0.40033605694770813, 0.30876410007476807, -0.3382796347141266, 0.6982877254486084, -0.1350531280040741, -0.5242052674293518, -0.4371034801006317, -0.35686826705932617, -0.37011632323265076, -0.12107621133327484, -0.12888865172863007, -0.5761170387268066, 0.019230134785175323, 0.4681392014026642, -0.22966524958610535, 0.8932474255561829, -0.8168837428092957, 1.0596532821655273, -0.29695019125938416, -0.4576953053474426, -0.24684326350688934, -0.6001635789871216, 0.4405306279659271, -0.32614532113075256, 0.4321911036968231, 0.31681928038597107, -0.04610076919198036, 0.9594270586967468, -0.44947296380996704, 0.4574114680290222, -0.3518522083759308, -0.26916414499282837, 0.14344309270381927, 0.5803587436676025, 0.7982908487319946, 0.24112044274806976, -0.22920677065849304, 0.11536136269569397, -0.0002802077797241509, -0.14079123735427856, -0.6671911478042603, 0.7329400777816772, -0.6726497411727905, -0.5914435386657715, -0.21189609169960022, -0.7898009419441223, -0.6159119009971619, 0.38308393955230713, 0.3622264862060547, 0.353606253862381, 0.0008922989945858717, -0.17735078930854797, 0.8021193742752075, -0.4964843988418579, 0.23148313164710999, 0.45933982729911804, -0.31585797667503357, -0.2428988665342331, 0.8588303327560425, 0.28774183988571167, 0.7218700051307678, 0.18264813721179962, 0.43933382630348206, 0.1079036295413971, -0.6523633003234863, -0.29834863543510437, -0.022672226652503014, -1.041874885559082, -0.32274529337882996, -0.7789580225944519, -0.2997341454029083, -0.3859030604362488, -0.26149505376815796, -0.3502940237522125, -0.3875611424446106, -0.0684606060385704, 0.18555614352226257, 0.6676139831542969, 1.1326638460159302, -0.3181557357311249, 0.0529242567718029, -0.6601685285568237, 0.382561594247818, 0.6462666988372803, 0.7809903621673584, -0.10665425658226013, -0.6516085863113403, -0.25072479248046875, -0.041240956634283066, -0.29740992188453674, -1.2954593896865845, 0.08907292783260345, 0.3798103332519531, 0.49095970392227173, 0.022282050922513008, -0.23269608616828918, 0.852509617805481, -0.4171715974807739, 0.6290929317474365, -0.22137202322483063, -1.1252785921096802, 0.7022934556007385, -0.3865485191345215, 0.5262420177459717, 0.6751068830490112, 0.04226608946919441, -1.074527382850647, -0.7948470711708069, -0.5006352066993713, -0.7078129649162292, 0.5604988932609558, -0.24366216361522675, -0.12503086030483246, 0.17265912890434265, 0.5221792459487915, 0.0022152261808514595, -0.04084113985300064, -0.5780839920043945, -0.26763275265693665, -0.2915422022342682, 0.032976776361465454, 0.16681768000125885, -0.5851773619651794, 0.08827181905508041, -0.5712223052978516, 1.0985161066055298, 0.037785619497299194, 0.0966770276427269, 0.183878555893898, -0.48984295129776, -0.5782824754714966, 0.6227957606315613, 0.6804498434066772, 0.8332297205924988, -0.30792731046676636, -0.028935661539435387, 0.5374924540519714, -0.5954992175102234, -0.04787860065698624, -0.3445456027984619, -0.2790192663669586, -0.2850569784641266, 0.5627972483634949, 0.41198402643203735, 0.4212511479854584, -0.3970039486885071, 0.3750379979610443, 0.1688322275876999, -0.31224918365478516, -0.017179859802126884, 0.40835249423980713, 0.3897603154182434, 0.145233616232872, 0.07134735584259033, 0.5725844502449036, 0.0529320128262043, -0.34773823618888855, 0.11469391733407974, 0.38974300026893616, 0.03006714954972267, 0.25249046087265015, 0.7646687030792236, 0.030488271266222, -0.21846646070480347, 0.6865622401237488, -0.2757599949836731, -0.6215531229972839, 0.26987001299858093, 0.30740487575531006, 0.9012873768806458, -0.24740661680698395, 0.15338200330734253, 0.33647462725639343, 0.26097041368484497, -0.19080547988414764, 0.034115828573703766, 0.2796497344970703, -0.8338785171508789, -0.7561545968055725, -0.43394842743873596, -0.3884178400039673, 0.43790513277053833, -0.47237229347229004, 0.07019472867250443, -0.4703647792339325, -0.012153944000601768, -0.18749269843101501, -0.12915915250778198, -0.5240491628646851, 0.006490712519735098, -0.33577919006347656, 0.9283740520477295, -0.6804159879684448, 1.120829463005066, 0.7377660870552063, -0.18403801321983337, -0.9067478775978088, 0.1081601083278656, 0.24851931631565094, -0.5857649445533752, 0.40104565024375916, -0.22659508883953094, -0.09967432916164398, 0.3161098062992096, -0.4521176218986511, -0.6962863206863403, 1.2542848587036133, 0.4398108124732971, -0.7418996691703796, -0.03743169084191322, 0.09104443341493607, 0.4026049077510834, 0.261738657951355, 0.06514539569616318, 0.6857529282569885, 0.6850412487983704, -0.23129227757453918, -0.8704954385757446, -0.048198699951171875, -0.18942297995090485, 0.16080839931964874, 0.14604920148849487, -0.5867879986763, 0.519439697265625, -0.24485021829605103, -0.1485675722360611, -0.0066787791438400745, 0.4079708456993103, -0.22106999158859253, -0.1144217699766159, 0.6095042824745178, 0.8631448745727539, 0.6125369071960449, 0.21300198137760162, 0.6336742043495178, -0.43129393458366394, 0.3415919244289398, 1.009398102760315, -0.07458604872226715, 0.5818712115287781, 0.19339773058891296, -0.08492892235517502, 0.8830849528312683, 0.3521868884563446, 0.23287339508533478, 0.4454458951950073, -0.23730526864528656, -0.46981364488601685, -0.3452579379081726, 0.4602036476135254, -0.2966775894165039, 0.0812436193227768, -0.010175449773669243, -0.03334940969944, -0.0872175544500351, 0.13427609205245972, 0.23941583931446075, -0.03302757441997528, -0.3264356851577759, 0.8295606970787048, -0.16161268949508667, -0.5800667405128479, 0.0478997677564621, 0.27610722184181213, 0.8389365673065186, -0.6521180272102356, -0.0038275064434856176, -0.4084652066230774, 0.04027993232011795, -0.4747284948825836, -1.1516506671905518, 0.4189690947532654, -0.09379322826862335, -0.14673151075839996, -0.22018858790397644, 1.043312430381775, -0.550621747970581, -0.4275846779346466, 0.48092424869537354, 0.4235532283782959, -0.35808104276657104, -0.2850697636604309, -0.9762133955955505, -0.033705875277519226, -0.0020828507840633392, -0.5202412009239197, 0.309611052274704, 0.4742913842201233, -0.12489428371191025, 0.6961936950683594, 0.6626253128051758, 0.30822765827178955, 0.0605548657476902, 0.23041589558124542, 0.6924036741256714, -0.698329746723175, -0.36341768503189087, -0.791292130947113, 0.8078982830047607, -0.07023432105779648, -0.31580591201782227, 0.6547003984451294, 0.39837217330932617, 0.8787497878074646, -0.009071136824786663, 0.8464096784591675, -0.13488838076591492, 0.2914273142814636, -0.7421185970306396, 1.0943256616592407, -0.6866809129714966, 0.3185725808143616, -0.6844789385795593, -1.0856469869613647, -0.5332586765289307, 0.44674035906791687, -0.2655496299266815, 0.2363079935312271, 0.93095862865448, 0.9890515208244324, -0.05682388320565224, 0.028446227312088013, 0.49386829137802124, 0.5775147676467896, 0.240524023771286, 0.6491582989692688, 0.5479855537414551, -0.34138771891593933, 0.15022413432598114, -0.712815523147583, -0.1703987717628479, 0.2065049260854721, -1.0254497528076172, -0.9485089778900146, -0.44323936104774475, -0.37222692370414734, -0.39991244673728943, 0.2833932936191559, 0.5923775434494019, 0.33979398012161255, -0.6135374307632446, 0.18887966871261597, -0.22708040475845337, 0.14090485870838165, -0.4183940887451172, -0.2681770622730255, 0.3966442346572876, -0.2929654121398926, -0.18426665663719177, 0.5890328288078308, 0.4881604015827179, -0.28788208961486816, -0.29154375195503235, -0.1619434356689453, -0.21415872871875763, -0.045094676315784454, 0.6834721565246582, 0.19478175044059753, -0.40751612186431885, -0.5996254682540894, -0.14576709270477295, -0.15671001374721527, 0.0389813669025898, 0.7870882153511047, -0.5751704573631287, 0.7797750234603882, 0.4762016832828522, 0.590987503528595, 0.11516891419887543, -0.323110967874527, 0.30628475546836853, -0.6384040713310242, -0.16145354509353638, 0.07566335052251816, 0.2547077238559723, 0.3595993220806122, -0.6296733021736145, 0.2550821006298065, 0.437900185585022, -0.8647034168243408, -0.3915860652923584, 0.004157193936407566, -1.1176762580871582, -0.2883349061012268, 1.375733733177185, 0.1913628727197647, -0.0413053035736084, -0.3039917051792145, -0.30276840925216675, 0.24324333667755127, -0.01755126193165779, 0.6840149164199829, 0.8571214079856873, -0.0971207544207573, -0.14082284271717072, -0.9748245477676392, 0.6514699459075928, 0.5967424511909485, -0.9101899862289429, 0.16681012511253357, 0.6101208925247192, 0.8198102712631226, -0.3228698968887329, 0.6650323867797852, -0.2858327031135559, 0.4459843635559082, -0.321747750043869, -0.005514472723007202, -0.4377226233482361, -0.3414454758167267, -0.0685667023062706, -0.08059973269701004, 0.3488859534263611, 0.40499913692474365 ]
http://arxiv.org/abs/2402.10986v3
http://arxiv.org/pdf/2402.10986v3
FinTral: A Family of GPT-4 Level Multimodal Financial Large Language Models
2024-02-16T05:05:12
2024-06-14T13:26:47
Gagan Bhatia, El Moatez Billah Nagoudi, Hasan Cavusoglu, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.AI
We introduce FinTral, a suite of state-of-the-art multimodal large language models (LLMs) built upon the Mistral-7b model and tailored for financial analysis. FinTral integrates textual, numerical, tabular, and image data. We enhance FinTral with domain-specific pretraining, instruction fine-tuning, and RLAIF training by exploiting a large collection of textual and visual datasets we curate for this work. We also introduce an extensive benchmark featuring nine tasks and 25 datasets for evaluation, including hallucinations in the financial domain. Our FinTral model trained with direct preference optimization employing advanced Tools and Retrieval methods, dubbed FinTral-DPO-T&R, demonstrates an exceptional zero-shot performance. It outperforms ChatGPT-3.5 in all tasks and surpasses GPT-4 in five out of nine tasks, marking a significant advancement in AI-driven financial technology. We also demonstrate that FinTral has the potential to excel in real-time analysis and decision-making in diverse financial contexts. The GitHub repository for FinTral is available at \url{https://github.com/UBC-NLP/fintral}.
[ -0.20002737641334534, -0.8379854559898376, 0.23464274406433105, 0.37231406569480896, -0.2014136016368866, 0.25003179907798767, -0.41072702407836914, -0.7195988893508911, -0.057868607342243195, 0.83940589427948, -0.43629980087280273, -0.7187104821205139, -0.5168750882148743, -0.07146860659122467, -0.3698185682296753, 1.0542904138565063, 0.17744700610637665, 0.07772311568260193, 0.2955945134162903, 0.022303806617856026, -0.23526345193386078, -0.8282736539840698, -1.0442512035369873, -0.34713855385780334, 0.4864695966243744, 0.17001259326934814, 0.5938603281974792, 0.31970828771591187, 0.7664925456047058, 0.2767496407032013, 0.2727878987789154, -0.02454930730164051, -0.5130473971366882, 0.14448809623718262, -0.01712845452129841, -0.14301104843616486, -0.7283609509468079, -0.09166514128446579, 0.47117137908935547, 0.5486737489700317, -0.49221375584602356, 0.2961041331291199, -0.25099989771842957, 0.6347096562385559, -0.42530983686447144, 0.8814759850502014, -0.3723032474517822, -0.014441512525081635, -0.3419128656387329, -0.07563173025846481, -0.42661812901496887, -0.035174544900655746, 0.3448542356491089, -0.6052141189575195, 0.14363135397434235, 0.268582820892334, 0.4911344647407532, 0.3016139268875122, -0.6464477777481079, -0.28174442052841187, -0.7478116154670715, 0.4448559880256653, -0.6078061461448669, 0.9414092302322388, 0.2278618961572647, 0.4299878478050232, -0.03839550539851189, -1.1767200231552124, -0.3551104664802551, -0.36842474341392517, 0.13026830554008484, 0.14728698134422302, -0.37887826561927795, 0.5278852581977844, 0.03927520290017128, 0.3186548054218292, -0.5314510464668274, -0.1400468498468399, -0.6501163840293884, -0.3197922706604004, 0.5343194603919983, 0.17240747809410095, 0.018455836921930313, 0.027204351499676704, -0.5565037131309509, -0.4469436705112457, -0.4705038368701935, -0.008227525278925896, 0.4432029724121094, 0.6685726642608643, -0.19686099886894226, 0.3598836362361908, -0.08175966888666153, 0.9362550973892212, 0.1067274957895279, -0.601049542427063, 0.19242049753665924, -0.3945404589176178, -0.37468844652175903, 0.3473294973373413, 0.7206830382347107, 0.211346834897995, 0.1099998727440834, 0.016249526292085648, -0.5196948051452637, -0.1754816770553589, 0.1630946397781372, -0.5270595550537109, -0.4768613278865814, 0.21048413217067719, -0.374673992395401, -0.29974108934402466, -0.16017457842826843, -0.823708176612854, -0.30422160029411316, -0.3769451379776001, 0.4803176820278168, -0.3668593466281891, -0.31958869099617004, 0.7011637687683105, -0.19994254410266876, 0.16579778492450714, 0.16419991850852966, -1.2558003664016724, 0.6481621861457825, 0.8781183362007141, 0.6518604159355164, 0.2387140989303589, -0.2832302451133728, -0.6011462807655334, 0.19836489856243134, -0.4041667580604553, 0.9472088813781738, -0.5753495097160339, -0.21022309362888336, -0.06474520266056061, -0.3588277995586395, -0.3164388835430145, -0.30503231287002563, 0.34003889560699463, -0.5628771185874939, 0.19617941975593567, -0.10102084279060364, -0.27415937185287476, -0.516170859336853, 0.1479436606168747, -0.8860920667648315, 0.895621657371521, 0.4080047905445099, -0.7995470762252808, 0.5359379053115845, -0.9351611733436584, -0.18813326954841614, 0.18827396631240845, -0.21541757881641388, -0.22472955286502838, -0.23806019127368927, 0.13776101171970367, 0.4726466238498688, -0.5857972502708435, 0.41232502460479736, -0.4572676122188568, -0.19766439497470856, 0.1530977189540863, -0.6610748767852783, 0.2695988416671753, 0.1418895125389099, -0.5412018299102783, 0.41563132405281067, -0.7107518911361694, -0.3218803405761719, -0.006094418000429869, 0.04648716002702713, -0.3469591438770294, -0.4068632423877716, 0.5743211507797241, 0.24613091349601746, 0.382269024848938, -0.3118702173233032, 0.18304665386676788, -0.2897034287452698, 0.6438179016113281, 0.9251672029495239, -0.10357680171728134, 0.1785566359758377, -0.23592354357242584, 0.5795470476150513, -0.2674409747123718, 0.6058869361877441, 0.08833913505077362, -0.1910252422094345, -0.39979085326194763, -0.661828339099884, 0.2831076383590698, 0.35756003856658936, -0.5754708647727966, -0.16221660375595093, -0.2251415252685547, -0.5068238377571106, -0.17399820685386658, 0.21285417675971985, 0.17017042636871338, 0.30629369616508484, 0.07865127176046371, -0.15336176753044128, -0.273061066865921, -1.1563433408737183, 0.09138791263103485, -0.43102747201919556, 0.44916319847106934, 0.23679132759571075, 0.21409837901592255, -0.2205413430929184, 0.6490625143051147, -0.5223166346549988, -0.32831647992134094, -0.61026531457901, 0.14470332860946655, 0.40122273564338684, 0.060606714338064194, 0.8894609212875366, -1.0837305784225464, -0.1687719225883484, 0.1960369348526001, -0.5494166612625122, 0.01985004171729088, -0.383094847202301, -0.09248096495866776, 0.05193309858441353, 0.4950524866580963, -0.562443196773529, 0.03231785446405411, 0.6483795642852783, -0.7427152395248413, 0.6346938610076904, -0.3225370943546295, 0.04795237258076668, -0.8745754361152649, 0.24827605485916138, 0.11039135605096817, -0.24900686740875244, -0.6659136414527893, -0.002430528635159135, 0.0435643196105957, -0.056165147572755814, -0.1775379180908203, 0.8918792605400085, -0.22040361166000366, -0.44940975308418274, -0.06268706917762756, 0.1864110827445984, -0.015013621188700199, 0.6026150584220886, -0.08875381946563721, 0.8031498789787292, 0.5108233690261841, -0.3030133843421936, 0.8163687586784363, 0.255877286195755, -0.29841136932373047, 0.3019140362739563, -0.5084565877914429, -0.2842762768268585, 0.022813305258750916, 0.28969407081604004, -0.9378540515899658, -0.37663957476615906, 0.5664952993392944, 0.046231985092163086, 0.35042330622673035, 0.05986317619681358, -0.3993102014064789, -0.360422819852829, -0.11292875558137894, 0.538870632648468, 0.00043708790326491, -0.49717625975608826, 0.8947069048881531, 0.1470174342393875, -0.7171616554260254, -0.9743459820747375, -0.2725328505039215, 0.36465132236480713, -0.3525269627571106, -0.480000376701355, 0.20491698384284973, 0.04320186376571655, -0.5371569395065308, -0.058676935732364655, -0.1640206128358841, 0.06408703327178955, 0.10055183619260788, 0.276547372341156, 0.7582401633262634, -0.32588449120521545, 0.27885574102401733, -0.1906432956457138, -0.3194689154624939, -0.0956479087471962, -0.7232275009155273, 0.7248492240905762, -0.4942798614501953, -0.2850167453289032, -0.30113834142684937, -0.12272278964519501, 0.7666131854057312, -0.43345242738723755, 0.5388996005058289, 0.6775913834571838, -0.18417207896709442, -0.05431807413697243, -0.7713683247566223, 0.13131804764270782, -0.5093165636062622, 0.33713066577911377, -0.369132399559021, -1.1344066858291626, 0.5803657174110413, 0.1360219120979309, 0.2690386474132538, 0.5602747201919556, 0.6217740774154663, 0.4513656795024872, 0.4095526337623596, 1.0994397401809692, -0.14143149554729462, 0.7124363780021667, -0.2022365778684616, 0.3194695711135864, -0.23091614246368408, -0.28440606594085693, -0.18134886026382446, 0.0018757637590169907, -0.24306949973106384, -0.2120988965034485, 0.35698437690734863, 0.030434919521212578, -0.5455325841903687, 0.17707191407680511, -0.1460457146167755, 0.19855746626853943, 0.3588762581348419, -0.20485366880893707, 0.36683225631713867, -0.001308352337218821, -0.2536662518978119, 0.3392954170703888, -0.7489215135574341, -0.31044885516166687, 1.3612430095672607, 0.5363516807556152, 0.9224815368652344, -0.06651628017425537, 0.436779648065567, 0.6143990755081177, 0.5130152702331543, -0.644672691822052, 0.18667174875736237, -0.27225741744041443, -0.6817931532859802, -0.398295134305954, -0.5915380716323853, -0.5122886300086975, 0.2680460810661316, -0.2762821614742279, -0.5007101893424988, 0.19499115645885468, -0.058072447776794434, -0.9867820739746094, 0.4244709014892578, -0.5246452689170837, 1.0798312425613403, -0.6361173391342163, -0.2323545515537262, -0.17387184500694275, -0.29774534702301025, 0.6679710745811462, -0.5373969674110413, 0.4526163935661316, -0.053943317383527756, -0.026416612789034843, 0.6366868019104004, -0.09988607466220856, 0.9010030627250671, -0.04917043074965477, -0.5742168426513672, 0.09491098672151566, -0.11272156983613968, 0.13389098644256592, 0.20326490700244904, -0.058967508375644684, 0.25478607416152954, 0.2237103432416916, -0.36111965775489807, -0.5949366688728333, 0.5874829888343811, -0.6683086156845093, -0.39979180693626404, -0.40210285782814026, -0.5164980888366699, -0.15197104215621948, 0.23592357337474823, -0.20627160370349884, 0.9124706387519836, -0.22964833676815033, 0.07098443061113358, 0.2681754231452942, -0.21666225790977478, 0.33090940117836, 0.18772880733013153, -0.5734131932258606, -0.8847275376319885, 0.8320806622505188, -0.2056594043970108, 0.2847624719142914, 0.34489011764526367, -0.047388654202222824, -0.7223373651504517, -0.39169156551361084, -0.42679882049560547, 0.44859856367111206, -0.8193961381912231, -0.1724376380443573, -0.6013239622116089, -0.16124911606311798, -0.5754516124725342, -0.1190437525510788, -0.4973783791065216, -0.4300728142261505, 0.2297936975955963, -0.4398280382156372, 0.5742488503456116, 1.0476391315460205, -0.4165424108505249, 0.40955761075019836, -0.8272725939750671, 0.34988272190093994, 0.39992383122444153, 0.6175954937934875, 0.06957674026489258, -0.11609110981225967, -0.2731485664844513, -0.14709611237049103, 0.17642952501773834, -0.25632426142692566, 0.4698551893234253, 0.16211232542991638, 0.5589824914932251, 0.769088089466095, -0.09214245527982712, 0.6393151879310608, -0.06526951491832733, 0.5902095437049866, 0.37503910064697266, -0.7302879691123962, -0.06319493055343628, -0.5699743628501892, -0.15219740569591522, 0.44875550270080566, 0.023187749087810516, -0.9094311594963074, -0.26386407017707825, -0.5371807217597961, -0.9303698539733887, 0.549859881401062, 0.052235305309295654, -0.06661170721054077, 0.11616574972867966, 0.6450933218002319, 0.4796379506587982, 0.5029262900352478, -0.7287166714668274, -0.1245657429099083, -0.48291322588920593, -0.3402336537837982, -0.43585675954818726, -0.28777632117271423, -0.11115165054798126, 0.08003108203411102, 0.49095892906188965, -0.2584550678730011, 0.0771343931555748, 0.10376487672328949, 0.20068663358688354, -0.012812251225113869, 0.03064829669892788, 0.7056508660316467, 0.8578209280967712, -0.4040139615535736, 0.069167859852314, -0.09372255951166153, -0.7029879689216614, 0.021191272884607315, 0.4353203773498535, 0.35897311568260193, -0.12005218863487244, 0.6524710059165955, 0.8898977041244507, 0.7309961318969727, -0.9104823470115662, 0.434025377035141, -0.4104476869106293, -0.4862059950828552, -0.7018219828605652, 0.0018168961396440864, -0.11628144979476929, 0.8429179787635803, 0.61897212266922, 0.04757180064916611, 0.09233901649713516, -0.5006894469261169, 0.361465185880661, 0.23711851239204407, -0.44259852170944214, -0.28986114263534546, 0.863106369972229, 0.1166066825389862, 0.286448210477829, 0.6540634632110596, 0.1795540750026703, -0.5455318689346313, 0.34623613953590393, 0.42308616638183594, 0.9223805665969849, 0.07267414778470993, 0.5026347041130066, 0.05009999871253967, 0.2661620080471039, -0.4639231860637665, 0.2876092791557312, -0.14489802718162537, -0.6976829171180725, -0.4495655298233032, -0.9442340135574341, -0.44693616032600403, 0.11414831876754761, -0.5892326235771179, 0.10854627192020416, -0.7682415843009949, -0.47396406531333923, 0.15494002401828766, -0.038110893219709396, -0.6109759211540222, 0.020834721624851227, 0.4694631099700928, 0.9495744705200195, -0.5580626726150513, 0.5316078066825867, 0.4414769113063812, -0.397365003824234, -0.5046414732933044, -0.24127741158008575, -0.010506042279303074, -0.670053243637085, 0.8688395619392395, -0.07629746198654175, -0.30178186297416687, 0.14359374344348907, -0.4539462625980377, -0.872241199016571, 1.1949058771133423, 0.4874786138534546, -0.5807173252105713, -0.3545663356781006, 0.15730059146881104, 0.3447522819042206, -0.4301844835281372, 0.06420361995697021, 0.5811634063720703, 0.7268745303153992, 0.13918720185756683, -1.0436129570007324, -0.40062159299850464, -0.2261693924665451, -0.3164219856262207, 0.4161103367805481, -0.9071611762046814, 1.0077552795410156, -0.09143500030040741, -0.07698486745357513, -0.20762939751148224, 0.4987967312335968, 0.24653953313827515, 0.30874842405319214, 0.6145591139793396, 0.34587255120277405, 0.7774713039398193, -0.08311060070991516, 1.1259758472442627, -0.7012617588043213, 0.3548260033130646, 0.844631016254425, -0.3914644122123718, 0.7793179154396057, 0.12360049784183502, 0.06327672302722931, 0.32251808047294617, 0.8705902099609375, -0.050222378224134445, 0.3993352949619293, -0.07256302982568741, -0.43385595083236694, -0.658177375793457, 0.09137319773435593, -0.22687186300754547, 0.6806311011314392, 0.42915549874305725, -0.0069672418758273125, -0.24963980913162231, 0.18378819525241852, -0.2516222298145294, -0.22895903885364532, -0.3756186068058014, 0.5784976482391357, 0.37906306982040405, -0.09309239685535431, 0.3678858280181885, 0.13829529285430908, 0.6808086633682251, -0.985177218914032, 0.04138398543000221, -0.2484985738992691, 0.3550262749195099, 0.13994058966636658, -0.38769301772117615, -0.0857541561126709, -0.13686370849609375, 0.18561473488807678, -0.34931236505508423, 0.7697374224662781, -0.3258669674396515, -0.6757745742797852, 0.665000319480896, 0.5538672208786011, -0.09395281225442886, -0.0744304433465004, -0.6613680124282837, -0.12420409917831421, -0.053642552345991135, -0.26335805654525757, 0.09708742052316666, 0.5297813415527344, -0.15490569174289703, 1.0297335386276245, 0.9921261072158813, 0.02396228350698948, -0.19565008580684662, 0.23677021265029907, 0.8495720028877258, -1.0368839502334595, -0.5446687936782837, -0.7760974764823914, -0.06653536856174469, 0.16555927693843842, -0.36843255162239075, 0.34473535418510437, 0.7336125373840332, 0.7895190715789795, 0.01930081658065319, 0.8343538641929626, 0.35449284315109253, -0.040202077478170395, -0.6079230308532715, 0.7440269589424133, -0.3918696939945221, 0.11314182728528976, -0.47553014755249023, -0.982207179069519, -0.46687644720077515, 0.4618202745914459, -0.40204939246177673, -0.05020944029092789, 0.4414389431476593, 0.4866633713245392, -0.1340111643075943, 0.26840996742248535, 0.4634585976600647, 0.14778019487857819, 0.28271111845970154, 0.3454594910144806, 0.655929446220398, -0.15052638947963715, 0.567093014717102, -0.16914984583854675, -0.17744769155979156, -0.29194551706314087, -0.5142530202865601, -0.9642630219459534, -0.6125100255012512, -0.03268441557884216, 0.1296282410621643, 0.16980652511119843, 1.2284761667251587, 0.3428960144519806, -0.37735041975975037, -0.6372246146202087, 0.4403406083583832, -0.1894262731075287, -0.32563233375549316, -0.10554378479719162, 0.3839610815048218, -0.35737505555152893, -0.3676510751247406, 0.31427884101867676, 0.8099969029426575, 0.280949205160141, -0.447378009557724, 0.037348464131355286, 0.1591571718454361, 0.02382505126297474, 0.7615292072296143, -0.024529775604605675, -0.5450626611709595, -0.25485047698020935, 0.09715026617050171, -0.08251199126243591, -0.15022633969783783, 0.8320979475975037, -0.26542460918426514, 0.18802934885025024, 0.08841247856616974, 0.4216462969779968, 0.5717106461524963, 0.04379735514521599, 0.8412797451019287, 0.012908117845654488, 0.36274880170822144, -0.02992810122668743, 0.468622624874115, 0.029369886964559555, -0.309683233499527, 0.524674117565155, 0.16981349885463715, -0.23436734080314636, -0.5605655312538147, -0.17964044213294983, -0.9821208715438843, -0.3067657947540283, 0.9542701244354248, 0.08209774643182755, -0.46085405349731445, -0.13703671097755432, -0.32008111476898193, -0.032467976212501526, -0.5659799575805664, 0.7028880715370178, 0.7903637886047363, -0.027430444955825806, -0.256980299949646, -0.9770594239234924, 0.6496812105178833, -0.14479239284992218, -0.48575714230537415, 0.5056318044662476, 0.6808061003684998, 0.2704222500324249, 0.0022174003534018993, 0.85126131772995, -0.15340355038642883, 0.3075141906738281, 0.3422284424304962, 0.31121259927749634, -0.3534819185733795, -0.5034837126731873, -0.21513484418392181, 0.32448455691337585, 0.09877078235149384, 0.3294470012187958 ]
http://arxiv.org/abs/2402.10453v1
http://arxiv.org/pdf/2402.10453v1
Steering Conversational Large Language Models for Long Emotional Support Conversations
2024-02-16T05:03:01
2024-02-16T05:03:01
Navid Madani, Sougata Saha, Rohini Srihari
cs.CL
cs.CL
In this study, we address the challenge of consistently following emotional support strategies in long conversations by large language models (LLMs). We introduce the Strategy-Relevant Attention (SRA) metric, a model-agnostic measure designed to evaluate the effectiveness of LLMs in adhering to strategic prompts in emotional support contexts. By analyzing conversations within the Emotional Support Conversations dataset (ESConv) using LLaMA models, we demonstrate that SRA is significantly correlated with a model's ability to sustain the outlined strategy throughout the interactions. Our findings reveal that the application of SRA-informed prompts leads to enhanced strategic adherence, resulting in conversations that more reliably exhibit the desired emotional support strategies over longer conversations. Furthermore, we contribute a comprehensive, multi-branch synthetic conversation dataset for ESConv, featuring a variety of strategy continuations informed by our optimized prompting method. The code and data are publicly available on our Github.
[ -0.2539914548397064, -0.7223466038703918, 0.8393504619598389, 0.6658358573913574, -0.27555420994758606, 0.17629648745059967, -0.4662199914455414, -0.20955504477024078, 0.5136749744415283, 0.5167274475097656, -0.9900647401809692, -0.3735068142414093, -0.4227449595928192, 0.036797355860471725, -0.049079298973083496, 1.0567858219146729, -0.200792133808136, -0.01106170192360878, -0.2013942003250122, -0.42908164858818054, -1.0621439218521118, -0.28125685453414917, -1.0044220685958862, -0.24991601705551147, 0.9676946401596069, 0.8133748173713684, 0.43791142106056213, 0.5209941267967224, 0.5006691813468933, 0.2245386838912964, -0.29737287759780884, 0.13990913331508636, -0.6980593800544739, 0.6487005352973938, -0.24675920605659485, -0.6766871809959412, -0.38541552424430847, -0.40419068932533264, 0.6771482825279236, 0.34013089537620544, -0.6990330815315247, 0.30421093106269836, 0.04584576562047005, 0.6976331472396851, -0.45728710293769836, -0.0014555960660800338, -0.7398501634597778, 0.08340679854154587, -0.14481498301029205, -0.2550967037677765, -0.6004544496536255, -0.00886086467653513, 0.3337949812412262, -0.44584938883781433, -0.4957156479358673, -0.0026902162935584784, 0.6486309766769409, 0.41517141461372375, -0.5256144404411316, -0.4206434190273285, -0.6696413159370422, 0.8479833006858826, -0.5664049983024597, 0.3675641715526581, 0.2432212233543396, 0.19082827866077423, -0.20910172164440155, -0.3725109100341797, -0.19464872777462006, -0.3624565303325653, 0.14433130621910095, 0.30466604232788086, -0.5046065449714661, 0.1688143014907837, 0.33217373490333557, -0.41035979986190796, -0.0893797054886818, 0.3047351837158203, -0.2436237633228302, 0.23469199240207672, 0.4904806613922119, 0.25302091240882874, 0.06095029413700104, 0.1412673145532608, -0.37800291180610657, 0.10404128581285477, -0.7166467308998108, 0.2741197943687439, 0.22447890043258667, 0.05980418249964714, -0.3589734733104706, 0.6514217853546143, -0.13636280596256256, 0.34654703736305237, 0.44792428612709045, 0.1343984156847, -0.1272391378879547, -0.24112273752689362, 0.06585340201854706, 0.27237018942832947, 0.4214773178100586, 0.582095742225647, 0.5229422450065613, -0.007840863429009914, -0.007963987998664379, 0.044193971902132034, 0.43746304512023926, -0.5911756753921509, 0.1688578724861145, 0.3706180453300476, -0.49277350306510925, 0.08925711363554001, -0.37381166219711304, -0.8951141238212585, -0.39100489020347595, -0.5590173602104187, -0.16392454504966736, -0.0855189636349678, -0.11714285612106323, -0.011564560234546661, 0.222514808177948, 0.4702155292034149, 0.11426960676908493, -0.903130292892456, 0.08612491935491562, 0.9268292188644409, 1.0046875476837158, -0.158270463347435, 0.06590248644351959, -0.5774690508842468, 0.36733028292655945, -0.5423640012741089, 0.8142227530479431, -0.6811705231666565, -0.37324023246765137, 0.17841829359531403, 0.05726982280611992, -0.06639914214611053, -0.38532301783561707, 1.062820315361023, -0.2519605755805969, 0.06706628203392029, -0.4213884472846985, -0.26604393124580383, -0.0421312041580677, 0.596505343914032, -0.3740916848182678, 0.706243634223938, -0.3765496015548706, -0.3446643054485321, 0.13858944177627563, -0.5665187239646912, -0.4265616238117218, -0.2068033516407013, -0.06497971713542938, -0.34209439158439636, 0.1531745046377182, 0.31156593561172485, 0.647369921207428, -0.3595528304576874, 0.2656971514225006, -0.4307948052883148, 0.0537574328482151, 0.3242146968841553, -0.27008572220802307, -0.01256330031901598, 0.2437870353460312, -0.39937543869018555, 0.3416549265384674, -0.4598011374473572, 0.01991596817970276, 0.182329460978508, -0.11521056294441223, -0.36858949065208435, 0.2450432926416397, -0.22767922282218933, 0.32967808842658997, 0.14971065521240234, -0.2828667163848877, 0.14751724898815155, -0.23810788989067078, 0.5932320952415466, 1.0299447774887085, 0.19213156402111053, 0.23450228571891785, -0.13214553892612457, 0.9197841882705688, -0.105388343334198, -0.02739664353430271, -0.2326197624206543, -0.40856078267097473, -0.8568814992904663, -0.2595980167388916, -0.16116221249103546, 0.48245999217033386, -0.4502103626728058, 0.19764676690101624, -0.4014308750629425, -0.5682807564735413, -0.4161830544471741, -0.07968048751354218, 0.3422803282737732, 0.46406853199005127, 0.13067325949668884, -0.1953776478767395, -0.6287819743156433, -1.1511600017547607, -0.2088346928358078, -0.22250178456306458, 0.2737533152103424, 0.6189051270484924, 0.19632014632225037, -0.19328385591506958, 0.7001474499702454, -0.3448592722415924, -0.1398255079984665, -0.4983953535556793, -0.024974718689918518, 0.14114482700824738, -0.008058388717472553, 0.4740199148654938, -0.48336899280548096, -0.7591873407363892, -0.1110711395740509, -0.5423228144645691, -0.32423338294029236, -0.39359045028686523, -0.34656599164009094, 0.22979290783405304, 0.6610081791877747, -0.7087857127189636, 0.1237163096666336, 0.8424428105354309, -0.48726990818977356, 0.2725220322608948, 0.13062497973442078, 0.35127371549606323, -1.180884838104248, -0.03486575186252594, 0.3390759527683258, -0.190309539437294, -0.8185892701148987, -0.39761853218078613, -0.13839386403560638, 0.08352059125900269, -0.34348371624946594, 0.4275166690349579, -0.3624962270259857, -0.03199424967169762, -0.06157408282160759, 0.358014315366745, -0.2731706500053406, 0.42307978868484497, 0.4624738395214081, 0.6239657402038574, 0.5032150745391846, -0.4640918970108032, 0.26180434226989746, 0.39801788330078125, -0.11254309862852097, 1.1143701076507568, -1.0675132274627686, 0.19791708886623383, -0.13754811882972717, 0.5094981789588928, -1.1155883073806763, 0.0783889889717102, 0.25744542479515076, -0.1444956213235855, 0.17256446182727814, -0.10724123567342758, -0.06568080186843872, -0.3388199508190155, -0.07663262635469437, 0.10977664589881897, 0.2787800431251526, -0.28814932703971863, 0.8933938145637512, 0.33138397336006165, -0.8147144317626953, -0.5090919733047485, -0.411888062953949, 0.279025137424469, -0.5554059743881226, -0.6747089624404907, 0.18136516213417053, -0.20754197239875793, -0.329372376203537, -0.2243826687335968, 0.015479443594813347, 0.40141934156417847, 0.002951327245682478, 0.41814544796943665, 0.255776971578598, -0.18382467329502106, 0.33154842257499695, -0.32787084579467773, 0.03090054541826248, 0.3181908428668976, 0.03528769686818123, 0.7246773838996887, -0.13276167213916779, -0.4069432020187378, -0.6775004863739014, 0.5217665433883667, 0.7353870868682861, -0.17928089201450348, 0.8239594101905823, 0.30260688066482544, -0.12329529225826263, -0.18393658101558685, -0.6943430304527283, -0.44230806827545166, -0.4010772109031677, 0.6190276145935059, -0.24486173689365387, -0.6829180121421814, 0.6617225408554077, 0.12926168739795685, 0.22991213202476501, -0.008060755208134651, 0.558053731918335, -0.24841220676898956, 1.3927674293518066, 0.5268174409866333, -0.2711544930934906, 0.7459883093833923, 0.13473986089229584, 0.42102938890457153, -0.8408879041671753, -0.26247715950012207, -0.37152180075645447, -0.7074882984161377, -0.13740801811218262, -0.13278110325336456, -0.0022034684661775827, -0.34349143505096436, -0.17647869884967804, 0.08221003413200378, -0.3181236982345581, 0.18048588931560516, 0.07732681930065155, -0.09031885117292404, -0.13902565836906433, -0.011585270054638386, 0.38107362389564514, -0.32946744561195374, -0.8621814846992493, -0.3742641508579254, 0.7337530255317688, 0.9357046484947205, 0.8418537378311157, 0.24154624342918396, 0.29302313923835754, 0.12428977340459824, 0.32813510298728943, -1.026285171508789, 0.6826510429382324, 0.4088932275772095, -0.23121346533298492, -0.09530270844697952, -0.4469757080078125, -0.9932753443717957, 0.04063195362687111, -0.1689789742231369, -0.7733948826789856, -0.08000946789979935, -0.03539697825908661, -0.4176395833492279, -0.13989727199077606, -0.6847092509269714, 0.7873678207397461, -0.4769827723503113, -0.19288891553878784, -0.4937974810600281, -0.4719443619251251, 0.050803009420633316, 0.02143159881234169, -0.020744487643241882, -0.19753357768058777, -0.1462070643901825, 1.0287256240844727, 0.02746535651385784, 0.924287736415863, 0.1490260660648346, -0.347637414932251, 0.365909606218338, -0.2436879277229309, 1.136328935623169, -0.14353425800800323, 0.3074931800365448, -0.16572700440883636, -0.22115987539291382, -0.22101835906505585, -0.5721177458763123, 0.7638658285140991, -0.5397551655769348, -0.887628436088562, -0.33409005403518677, -0.47227317094802856, -0.5918378233909607, -0.10009977221488953, -0.16014105081558228, 0.036668501794338226, -0.10264600068330765, 0.6610721945762634, 0.9392527937889099, 0.08194368332624435, 0.32239973545074463, 0.6221030354499817, 0.19451649487018585, -0.288848340511322, 0.4188523590564728, 0.146587073802948, 0.4616686701774597, 0.127829447388649, 0.08012967556715012, -0.396842896938324, -0.287602037191391, -0.2567707300186157, 0.4468938708305359, -0.6640534400939941, -0.09802205860614777, -0.6967489719390869, 0.16275154054164886, -0.24960952997207642, -0.2835235893726349, -0.4294082820415497, -0.032308533787727356, -0.4793241322040558, -0.5040562152862549, 0.5611156225204468, 0.5474914312362671, 0.29826676845550537, 0.17677649855613708, -0.7923134565353394, -0.1088714748620987, 0.11829087883234024, -0.05484863743185997, 0.22680044174194336, -0.6752699613571167, -0.20895273983478546, 0.022719107568264008, -0.14980770647525787, -1.1560479402542114, 0.2931581437587738, 0.1490318924188614, 0.775775134563446, 0.38859859108924866, -0.039576999843120575, 0.8529332280158997, -0.428725004196167, 0.8675484657287598, 0.41705384850502014, -0.8037218451499939, 0.7411107420921326, -0.6110750436782837, 0.42706236243247986, 0.3940642476081848, 0.4572516977787018, -0.9170131683349609, -0.321480393409729, -0.4891033470630646, -0.9687196016311646, 0.6842123866081238, -0.1654740869998932, 0.18337053060531616, -0.03416671231389046, 0.2593052089214325, -0.6637192368507385, 0.21664679050445557, -0.5894444584846497, -0.2750561833381653, 0.4114474356174469, -0.5695338845252991, 0.2286515235900879, -0.5203415751457214, -0.4799971580505371, 0.459249347448349, 0.8093916177749634, -0.3084797263145447, 0.03483873978257179, -0.03386678919196129, 0.45085060596466064, -0.3268648684024811, 0.45955362915992737, 0.6393805742263794, 0.6777467727661133, 0.21358640491962433, -0.33256375789642334, 0.5007312893867493, -0.3004707396030426, 0.11708912998437881, -0.13388124108314514, 0.01012557465583086, -0.28004029393196106, 0.152234748005867, 0.7981807589530945, 0.45591646432876587, -0.8869668841362, 0.20371931791305542, -0.06926143169403076, 0.010155949741601944, -0.29480767250061035, -0.243097722530365, 0.3319970369338989, 0.39650866389274597, 0.1044292151927948, -0.4206852614879608, -0.2416219413280487, -0.7231078743934631, 0.14852799475193024, 0.5983761548995972, -0.9742062091827393, -0.07106310874223709, 0.3007947504520416, 0.41815856099128723, -0.295215904712677, 0.44218170642852783, 0.2738395035266876, -0.5899399518966675, 0.6874348521232605, 0.4569706320762634, 0.6529231667518616, -0.278043270111084, 0.31738170981407166, 0.12703660130500793, 0.1145276427268982, -0.1533598005771637, 0.2170487493276596, 0.05973592400550842, -0.3630615770816803, -0.3704553544521332, -0.14627714455127716, -0.4648642838001251, -0.12153667956590652, -0.7723440527915955, 0.330641508102417, -0.439970463514328, -0.45173874497413635, -0.20217230916023254, -0.1262005716562271, -0.40176454186439514, -0.13058774173259735, 0.3045884370803833, 0.8765125274658203, -0.7032800912857056, 0.37385156750679016, 0.6888871788978577, -0.19906170666217804, -1.049689531326294, -0.20209607481956482, 0.1562960296869278, -0.7150300741195679, 0.5942867398262024, 0.10818490386009216, -0.2693866789340973, -0.23899640142917633, -0.46970829367637634, -0.9849867224693298, 1.278888463973999, 0.2981831133365631, -1.0707770586013794, 0.19212007522583008, -0.112331323325634, 0.652387261390686, -0.6116628646850586, 0.211678147315979, 0.4904778301715851, 0.46473994851112366, 0.2686785161495209, -0.7546502351760864, -0.001180456019937992, 0.02574739046394825, -0.16513942182064056, 0.258888304233551, -1.1723049879074097, 0.09077877551317215, -0.3537326455116272, -0.37695032358169556, 0.1929582804441452, 0.9162555932998657, 0.6266640424728394, 0.3389381468296051, 0.6276209950447083, 0.7655727863311768, 0.6571365594863892, -0.15822245180606842, 0.65525221824646, -0.34618592262268066, 0.09636902809143066, 1.1080350875854492, -0.630944013595581, 1.0966832637786865, 0.7764662504196167, 0.2205631285905838, 0.6900585889816284, 0.6902928948402405, 0.11640407890081406, 0.4248582720756531, 0.1552446484565735, -0.11079076677560806, -0.3239862620830536, -0.6424426436424255, -0.31629908084869385, 0.17100101709365845, 0.5123536586761475, -0.5503995418548584, 0.18270626664161682, -0.03650200366973877, 0.3241385221481323, 0.07456326484680176, -0.4564962685108185, 0.8873189091682434, 0.3640384376049042, -1.1367915868759155, 0.251907616853714, -0.27527758479118347, 0.45940136909484863, -0.9892656207084656, 0.07110682129859924, -0.16915278136730194, 0.20418095588684082, -0.0914006382226944, -0.8817201852798462, 0.07660484313964844, 0.2084353119134903, -0.18071286380290985, -0.297220915555954, 0.4528992176055908, -0.7348102331161499, -0.19304391741752625, 0.36627498269081116, 0.3059403598308563, -0.22961674630641937, 0.17707794904708862, -0.8729546070098877, 0.23249782621860504, 0.05018341541290283, -0.6555129289627075, 0.3339731693267822, 0.5870531797409058, 0.0022001841571182013, 1.045206904411316, 0.6492617726325989, 0.06462839245796204, -0.25850018858909607, 0.2206384390592575, 0.6541261672973633, -0.5720961689949036, -0.7701111435890198, -0.729227602481842, 0.5100645422935486, -0.0815926268696785, -0.4152719974517822, 1.0307461023330688, -0.11651629954576492, 0.28471839427948, 0.14743418991565704, 0.47431015968322754, 0.2397836148738861, 0.15835604071617126, -0.6973289251327515, 0.3984907865524292, -0.3187895715236664, 0.25817960500717163, 0.04467514529824257, -0.9667141437530518, 0.2209954857826233, 0.4895562529563904, -0.542191207408905, -0.002195527544245124, 0.4222888648509979, 0.8305293321609497, 0.23720626533031464, 0.061896249651908875, 0.08726813644170761, 0.250570684671402, 0.5851514339447021, 0.8154088854789734, 1.065736174583435, 0.2533346116542816, 0.587064266204834, 0.29428914189338684, -0.11678017675876617, -0.19385121762752533, -1.0514683723449707, -0.8360422253608704, -0.39942777156829834, -0.39512038230895996, -0.31633123755455017, 0.31477096676826477, 1.2650002241134644, 0.8114563822746277, -0.6731745004653931, -0.09311268478631973, -0.05317382141947746, 0.008815771900117397, -0.12569132447242737, -0.20188532769680023, 0.07450922578573227, -0.3381665349006653, -0.5996574759483337, 0.30103182792663574, 0.3858991861343384, -0.0098314443603158, -0.3781164288520813, -0.11337464302778244, -0.38041171431541443, 0.5290952324867249, 0.5433533787727356, 0.4140419661998749, -0.6327251195907593, -0.3034842014312744, 0.2890489399433136, -0.17069734632968903, -0.08413078635931015, 0.8053528666496277, -0.4230886399745941, 0.26828545331954956, 0.3815807104110718, 0.872793972492218, 0.028247173875570297, 0.22453661262989044, 0.8085326552391052, -0.653476893901825, -0.04320138692855835, 0.431077241897583, 0.5145972967147827, 0.4365977644920349, -0.5401281118392944, 0.6058146953582764, -0.21429039537906647, -0.8289517164230347, -0.7447360157966614, 0.30486640334129333, -1.0303090810775757, 0.18397146463394165, 1.6597900390625, -0.2919808626174927, -0.22888603806495667, 0.08171948045492172, -0.47597676515579224, -0.17762739956378937, -0.8671700954437256, 0.5531347990036011, 1.0489780902862549, -0.13634581863880157, -0.5925581455230713, -0.4831348657608032, 0.43845948576927185, 0.9179506897926331, -0.8178633451461792, 0.37894579768180847, 0.47520923614501953, -0.06326991319656372, 0.27965372800827026, 0.579178512096405, 0.2938194274902344, -0.017216850072145462, -0.4905751049518585, -0.473177045583725, 0.34630507230758667, -0.6008469462394714, -0.354158490896225, -0.08561914414167404, -0.04316738247871399, 0.07860490679740906 ]
http://arxiv.org/abs/2402.10447v2
http://arxiv.org/pdf/2402.10447v2
Incremental Sequence Labeling: A Tale of Two Shifts
2024-02-16T04:41:33
2024-05-27T15:23:17
Shengjie Qiu, Junhao Zheng, Zhen Liu, Yicheng Luo, Qianli Ma
cs.CL
cs.CL, cs.LG
The incremental sequence labeling task involves continuously learning new classes over time while retaining knowledge of the previous ones. Our investigation identifies two significant semantic shifts: E2O (where the model mislabels an old entity as a non-entity) and O2E (where the model labels a non-entity or old entity as a new entity). Previous research has predominantly focused on addressing the E2O problem, neglecting the O2E issue. This negligence results in a model bias towards classifying new data samples as belonging to the new class during the learning process. To address these challenges, we propose a novel framework, Incremental Sequential Labeling without Semantic Shifts (IS3). Motivated by the identified semantic shifts (E2O and O2E), IS3 aims to mitigate catastrophic forgetting in models. As for the E2O problem, we use knowledge distillation to maintain the model's discriminative ability for old entities. Simultaneously, to tackle the O2E problem, we alleviate the model's bias towards new entities through debiased loss and optimization levels. Our experimental evaluation, conducted on three datasets with various incremental settings, demonstrates the superior performance of IS3 compared to the previous state-of-the-art method by a significant margin.The data, code, and scripts are publicly available at https://github.com/zzz47zzz/codebase-for-incremental-learning-with-llm.
[ -0.05338066443800926, -0.5467703938484192, 0.3707762360572815, 0.2022431343793869, -0.19738398492336273, 0.03154579922556877, 0.2653159201145172, -0.6443066000938416, -0.23944996297359467, 0.5038665533065796, -0.7426779270172119, -0.42762959003448486, -0.7780818343162537, 0.14650119841098785, -0.546658992767334, 1.0563209056854248, 0.0430171936750412, 0.16335555911064148, -0.10119257122278214, -0.20909865200519562, -0.5223420262336731, -0.11461777240037918, -0.8552122116088867, -0.5959557890892029, 0.49346494674682617, 0.5402940511703491, 0.40817373991012573, 0.9886059165000916, 0.3109331727027893, 0.11500908434391022, -0.18247869610786438, 0.07276884466409683, -0.4540367126464844, 0.19488419592380524, -0.31789109110832214, -0.610643208026886, -0.25423663854599, -0.2819579839706421, 0.7042357325553894, 0.6730477809906006, -0.10808368027210236, 0.3386191725730896, -0.044438641518354416, 1.0155177116394043, -0.6765532493591309, 0.27930763363838196, -0.9195138216018677, 0.2536143362522125, -0.3921794295310974, -0.0894969254732132, -0.5161158442497253, -0.18284864723682404, 0.2691151797771454, -0.7427253127098083, 0.26268690824508667, -0.1797599345445633, 0.8284306526184082, 0.6609282493591309, -0.342054545879364, -0.2652692198753357, -0.5885143280029297, 0.47629228234291077, -0.5681886672973633, 0.3086719214916229, 0.002106138039380312, 0.05070674046874046, 0.038722921162843704, -0.5562595725059509, -0.6514941453933716, 0.13049882650375366, 0.3551749289035797, 0.11933614313602448, 0.11936282366514206, -0.33998414874076843, 0.3563038408756256, 0.3193492591381073, -0.24082180857658386, 0.5658162832260132, -0.2766260802745819, -0.033446989953517914, 0.545677661895752, -0.04838905110955238, 0.08789388090372086, 0.2826516330242157, -1.0072436332702637, -0.09273774176836014, -1.0707660913467407, -0.2629926800727844, 0.31909653544425964, 0.2863284945487976, 0.05652659758925438, 0.4819672703742981, 0.059521980583667755, 0.5298964977264404, 0.12240951508283615, -0.2962934374809265, 0.5033231377601624, -0.04245666414499283, -0.0334794856607914, 0.415263831615448, 0.247998908162117, 0.26704299449920654, 0.00278653297573328, -0.09464512765407562, 0.028236037120223045, -0.002315834164619446, 0.14927847683429718, -0.543555736541748, -0.10617423057556152, 0.04737376421689987, -0.05060514062643051, -0.1787640005350113, -0.11800225079059601, -0.5214787125587463, -0.6065686345100403, -0.46543067693710327, 0.49117010831832886, -0.5077546834945679, -0.21358978748321533, 0.004477537702769041, -0.22532743215560913, 0.3184192478656769, 0.5888049602508545, -0.9021288156509399, 0.13089589774608612, 0.5962058901786804, 0.8589233756065369, -0.3284391164779663, -0.24552150070667267, -0.16452960669994354, 0.4161604642868042, -0.21202632784843445, 0.7010399103164673, -0.4227573275566101, -0.4442642629146576, -0.20136664807796478, 0.1158728376030922, 0.1265041083097458, -0.7959151864051819, 0.03441254049539566, -0.6570631265640259, -0.10276196897029877, -0.12501859664916992, -0.72529137134552, -0.3349827527999878, -0.01429152861237526, -0.6900534629821777, 1.1212588548660278, 0.01209638174623251, -0.6420466899871826, 0.5257871150970459, -0.4503788352012634, -0.3672935664653778, -0.10666079074144363, -0.16909702122211456, -0.7317198514938354, -0.09234781563282013, -0.19086800515651703, 0.08330243825912476, -0.3655265271663666, 0.1922881305217743, -0.3833828568458557, -0.2739393711090088, -0.004461142234504223, -0.07824474573135376, 0.6990680694580078, 0.22724097967147827, -0.46195611357688904, -0.08304496854543686, -0.9324332475662231, -0.09290700405836105, 0.03649380803108215, -0.36118650436401367, -0.25501611828804016, 0.16635647416114807, -0.3696552813053131, 0.1682116687297821, -0.020634416490793228, -0.33897754549980164, 0.46368521451950073, -0.1525602787733078, 0.45138347148895264, 0.7570327520370483, 0.14444777369499207, 0.6831963658332825, -0.12397287786006927, 0.04761810600757599, 0.513133704662323, -0.024396449327468872, -0.33947259187698364, -0.6113290786743164, -1.0420458316802979, -0.10706701129674911, 0.23604147136211395, 0.8736029267311096, -0.786005437374115, 0.24604760110378265, -0.3659724295139313, -0.19625714421272278, -0.2657754719257355, 0.10011161863803864, 0.2834087312221527, 0.7400224804878235, 0.7291833162307739, -0.1760263890028, -0.45055311918258667, -0.9421254396438599, -0.14758293330669403, -0.17345453798770905, -0.08741579204797745, -0.28054630756378174, 0.34673669934272766, -0.33911195397377014, 0.589043378829956, -0.3839288353919983, -0.3659050762653351, 0.07992155849933624, 0.2826940715312958, -0.08077656477689743, 0.6633691191673279, 0.058973707258701324, -0.7108209133148193, -0.2474234402179718, -0.24816249310970306, -0.7604096531867981, -0.05228225514292717, -0.3590838313102722, -0.28503674268722534, 0.49791908264160156, 0.5904218554496765, -0.25155189633369446, 0.4473148584365845, 0.018056893721222878, -0.04828009381890297, -0.015779370442032814, 0.08718141913414001, -0.2137639969587326, -0.7742194533348083, -0.1436263769865036, 0.039012253284454346, 0.032556284219026566, -0.4935038983821869, -0.31564775109291077, 0.3590535819530487, 0.07153210788965225, -0.5355376601219177, 0.5508261322975159, -0.46027377247810364, -0.009258364327251911, -0.16930818557739258, -0.04707671329379082, 0.17947079241275787, 0.36253511905670166, 0.3024737536907196, 0.2602479159832001, 0.3785897493362427, -0.8475039601325989, -0.14745992422103882, 0.2993209958076477, -0.3833028972148895, 0.5019400119781494, -0.18830722570419312, 0.45742562413215637, -0.32474425435066223, 0.2413281947374344, -0.8823159337043762, 0.03064991533756256, 0.5034310221672058, -0.3060218393802643, 0.7081531286239624, -0.25975847244262695, -0.5924364924430847, -0.2182023823261261, -0.1670600324869156, 0.3376378118991852, 0.26822707056999207, -0.5210270881652832, 0.11274745315313339, 0.3660796284675598, -0.1331847757101059, -0.5270308256149292, -0.8415115475654602, -0.12587866187095642, -0.24645793437957764, -0.5560204982757568, 0.6905331611633301, 0.2028091549873352, -0.06846290081739426, 0.17300568521022797, -0.48303472995758057, -0.03956612944602966, 0.05292787402868271, 0.10685092210769653, 0.4101997911930084, 0.024283278733491898, 0.6847830414772034, 0.14896459877490997, -0.3894854187965393, -0.13166305422782898, -0.7124791741371155, 0.0559893399477005, 0.17420130968093872, 0.004309503827244043, -0.39405590295791626, 0.4201156198978424, 0.24186788499355316, 0.04941576346755028, 0.6286846399307251, 0.4298381507396698, -0.42270997166633606, -0.32958880066871643, -0.37297874689102173, -0.021908756345510483, -0.3703140914440155, 0.5209987163543701, -0.3060917258262634, -0.7876136898994446, 0.15145377814769745, -0.25430500507354736, 0.08636404573917389, 0.4794309735298157, 0.4509994089603424, -0.1025749146938324, 0.6564609408378601, 0.6576046347618103, 0.24061156809329987, 0.41735225915908813, -0.20568332076072693, 0.17448186874389648, -0.9663859009742737, -0.5018953680992126, -0.14685523509979248, -0.3757980167865753, -0.36373257637023926, -0.5293661952018738, 0.5126703381538391, 0.28707820177078247, -0.4824175238609314, 0.195543572306633, -0.5876468420028687, 0.41535770893096924, 0.45151767134666443, 0.1219712495803833, 0.4702887237071991, -0.0040390631183981895, 0.39794713258743286, 0.15824630856513977, -0.5278854370117188, -0.5182570815086365, 0.968153715133667, 0.2754609286785126, 0.6125505566596985, 0.22726865112781525, 0.6770811080932617, 0.5122105479240417, 0.5413874387741089, -0.7597541213035583, 0.44014492630958557, 0.07179746776819229, -0.6893605589866638, -0.48239168524742126, -0.309531569480896, -0.9474883079528809, 0.45970582962036133, -0.14591625332832336, -0.7304662466049194, 0.2475636750459671, 0.3611040413379669, -0.31705042719841003, 0.42933204770088196, -0.6071312427520752, 0.6136093735694885, -0.19131991267204285, -0.6455026865005493, -0.026568757370114326, -1.0391002893447876, 0.4124687910079956, -0.09303092211484909, 0.21290314197540283, -0.5671250224113464, -0.2880706191062927, 0.5035099387168884, -0.6529977321624756, 0.6552466154098511, -0.2981691360473633, -0.29237860441207886, 0.5442954897880554, -0.08576858043670654, 0.8772855997085571, 0.09164927154779434, -0.05705535411834717, 0.22779704630374908, -0.013814945705235004, -0.3526488244533539, -0.4519078731536865, 0.5665568709373474, -0.5834243893623352, -0.4724198579788208, -0.541584312915802, -0.26314061880111694, -0.2847304344177246, 0.21282336115837097, 0.4348716735839844, 0.11120466142892838, 0.22488190233707428, -0.3123524785041809, 1.0194681882858276, -0.34316736459732056, 0.2366437166929245, 0.6496100425720215, -0.13096781075000763, -0.3932248055934906, 0.7345201969146729, 0.3737393915653229, 0.49597224593162537, 0.6006319522857666, 0.05764278769493103, -0.5019752979278564, -0.6243158578872681, -0.589343249797821, 0.22709433734416962, -0.9838629961013794, -0.36240512132644653, -0.6608235836029053, 0.028174202889204025, -0.4405108094215393, 0.13777777552604675, -0.40440577268600464, -0.5983659029006958, -0.3926182687282562, -0.2193576544523239, 0.3066271245479584, 0.7053514719009399, -0.14366565644741058, 0.09823661297559738, -0.6526941657066345, 0.2557560205459595, 0.22419467568397522, 0.14738678932189941, -0.014361618086695671, -0.560692310333252, -0.22445867955684662, 0.027087878435850143, -0.48720020055770874, -0.9675173163414001, 0.05971413850784302, 0.29664918780326843, 0.24694497883319855, 0.09352005273103714, 0.010996636003255844, 0.636031985282898, -0.6649048924446106, 0.46454179286956787, 0.29022282361984253, -1.020705223083496, 0.6177829504013062, -0.17214791476726532, 0.5244893431663513, 0.6395925879478455, 0.4461211562156677, -0.4804278314113617, -0.04047458991408348, -0.4769187867641449, -1.5003693103790283, 0.9151543378829956, -0.09148940443992615, -0.16750048100948334, -0.15032726526260376, 0.5992193222045898, 0.4623015224933624, 0.35387173295021057, -0.7960888147354126, -0.57026207447052, -0.1524202674627304, 0.024023495614528656, 0.2525850534439087, -0.2943095266819, 0.0707797110080719, -0.05166748911142349, 1.0686465501785278, 0.059177085757255554, 0.33463186025619507, 0.23379960656166077, -0.42464369535446167, 0.035215698182582855, 0.15360695123672485, 0.4695310890674591, 0.31422144174575806, -0.13362349569797516, 0.3315448462963104, 0.19068630039691925, -0.27214792370796204, 0.44046369194984436, 0.032473769038915634, -0.46804752945899963, -0.15684249997138977, 0.2031610757112503, 0.8763650059700012, 0.3049878478050232, -0.34587669372558594, 0.2368893027305603, 0.5260688066482544, -0.09221107512712479, -0.4467538595199585, 0.049572546035051346, 0.003942827694118023, 0.26026979088783264, 0.24693705141544342, 0.43806925415992737, 0.3383123278617859, -0.5845878720283508, 0.22295542061328888, -0.16243304312229156, -0.5111610889434814, -0.24988502264022827, 0.7935476303100586, 0.16078710556030273, -0.008657919242978096, 0.802531898021698, -0.19433380663394928, -0.08505271375179291, 0.6755322217941284, 0.6231034398078918, 0.7511817812919617, -0.1831301748752594, 0.18931862711906433, 0.6037027835845947, 0.06622173637151718, -0.3605865240097046, 0.029880529269576073, -0.23631824553012848, -0.762676477432251, -0.14433477818965912, -0.3341304063796997, -0.2878400683403015, 0.11381292343139648, -0.9490212798118591, 0.4298423230648041, -0.500167965888977, -0.1524314284324646, 0.18302927911281586, -0.6403372287750244, -0.5015358924865723, 0.15375162661075592, 0.6229206323623657, 0.8722651600837708, -0.490743488073349, 0.9806907773017883, 0.559661328792572, -0.2896835505962372, -0.33135274052619934, -0.11037305742502213, 0.49560052156448364, -0.8545805215835571, 0.8208401799201965, 0.4489649832248688, -0.2969420254230499, 0.32360512018203735, -0.4372013509273529, -1.2180612087249756, 1.3027455806732178, 0.26419299840927124, -0.7310616374015808, -0.02507813274860382, 0.1190459206700325, 0.20202849805355072, -0.15273107588291168, -0.14382407069206238, 0.46576184034347534, 0.40255850553512573, 0.42275470495224, -0.45972317457199097, 0.03402308374643326, -0.22958292067050934, 0.2469627410173416, 0.5213021636009216, -0.7947338819503784, 0.7133963108062744, -0.6317739486694336, -0.6653392314910889, 0.17222318053245544, 0.5206233859062195, 0.19413115084171295, 0.47165346145629883, 0.36408570408821106, 0.8898943066596985, 1.00911545753479, -0.37424084544181824, 0.8373479247093201, 0.19822381436824799, 0.3139481842517853, 1.6739838123321533, -0.652908205986023, 0.640121340751648, 0.4580831527709961, -0.3808385729789734, 0.3987584114074707, 0.8475192785263062, -0.029804816469550133, 0.7560904622077942, 0.517007052898407, -0.3917355239391327, -0.16638053953647614, 0.2086726278066635, -0.6262199282646179, 0.06796672940254211, 0.45233985781669617, -0.34589752554893494, -0.27627453207969666, -0.0076395440846681595, 0.32871297001838684, -0.3011728823184967, -0.25134792923927307, 0.9376141428947449, 0.009599392302334309, -0.7366930246353149, 0.47499123215675354, -0.16691482067108154, 0.3360597491264343, -0.561937689781189, -0.15318265557289124, -0.14447849988937378, 0.44877392053604126, -0.20638033747673035, -0.489138662815094, 0.3233319818973541, -0.29821762442588806, -0.46661877632141113, -0.25049254298210144, 0.16455493867397308, -0.5113089084625244, -0.40417811274528503, 0.22806711494922638, 0.1297129988670349, -0.09017246216535568, 0.13204480707645416, -0.6322405338287354, 0.1880219280719757, 0.09118814021348953, -0.044986333698034286, 0.2528178095817566, 0.5552400350570679, -0.16494040191173553, 0.6139134764671326, 0.21149174869060516, -0.3237755298614502, 0.2840248644351959, 0.024070318788290024, 0.49457740783691406, -0.8313925266265869, -0.18375909328460693, -0.8335695862770081, 0.5580092072486877, 0.11694398522377014, -0.31587132811546326, 0.6443805694580078, 0.6677687764167786, 1.1307380199432373, -0.18203289806842804, 0.9775937795639038, 0.009481922723352909, 0.4847021996974945, -0.8684130311012268, -0.0002271413104608655, -0.49317824840545654, 0.7625274062156677, -0.0687096044421196, -0.8105230927467346, -0.5582204461097717, 0.41795599460601807, -0.1809619814157486, -0.3579576313495636, 0.6533552408218384, 0.6302088499069214, 0.4743199646472931, 0.11848201602697372, -0.002969265216961503, 0.15824970602989197, 0.1347913146018982, 0.5962775945663452, 1.092600703239441, -0.5176748037338257, 0.09770405292510986, -0.1026226058602333, -0.14737452566623688, 0.020372264087200165, -0.8444749712944031, -0.3803221881389618, -0.5862352848052979, -0.9160659909248352, -0.42552056908607483, 0.243932843208313, 0.9239537119865417, 0.4950467050075531, -0.7448784112930298, 0.03747754916548729, -0.3374214470386505, 0.2656252980232239, -0.22901803255081177, -0.22948533296585083, 0.13227616250514984, -0.604488730430603, -0.7401654720306396, 0.20047223567962646, 0.6368279457092285, 0.3177649974822998, 0.15581941604614258, 0.18295714259147644, -0.34542644023895264, -0.08724001795053482, 0.5723770260810852, 0.39544370770454407, -0.6789251565933228, -0.1818605363368988, -0.33290594816207886, 0.1583368182182312, 0.38825514912605286, 0.8015220761299133, -0.7108059525489807, 0.604534387588501, 0.32868674397468567, 0.5257291197776794, 0.8582931756973267, -0.16659170389175415, 0.275748610496521, -0.4991509020328522, 0.14460162818431854, 0.1463814377784729, 0.15656951069831848, 0.42691993713378906, -0.40313172340393066, 0.7828658223152161, 0.4054863154888153, -0.32720792293548584, -0.6545339822769165, 0.4532480537891388, -0.756177544593811, -0.33642035722732544, 1.088249683380127, -0.06830163300037384, 0.04027634859085083, -0.15220831334590912, 0.1274423748254776, 0.4128696322441101, -0.23426775634288788, 0.8276370763778687, 0.4972091615200043, -0.5377883911132812, 0.071756511926651, -0.2756696045398712, 0.3733817934989929, 0.26463574171066284, -0.65692538022995, -0.18717607855796814, 0.527237594127655, 0.45469164848327637, 0.041569095104932785, 0.6266758441925049, -0.45349904894828796, -0.0412166565656662, 0.026565587148070335, 0.16824395954608917, 0.06218348816037178, -0.4980824887752533, -0.1781199723482132, -0.05922475829720497, 0.028431333601474762, -0.23928119242191315 ]
http://arxiv.org/abs/2402.10436v1
http://arxiv.org/pdf/2402.10436v1
I Am Not Them: Fluid Identities and Persistent Out-group Bias in Large Language Models
2024-02-16T03:54:48
2024-02-16T03:54:48
Wenchao Dong, Assem Zhunis, Hyojin Chin, Jiyoung Han, Meeyoung Cha
cs.CL
cs.CL
We explored cultural biases-individualism vs. collectivism-in ChatGPT across three Western languages (i.e., English, German, and French) and three Eastern languages (i.e., Chinese, Japanese, and Korean). When ChatGPT adopted an individualistic persona in Western languages, its collectivism scores (i.e., out-group values) exhibited a more negative trend, surpassing their positive orientation towards individualism (i.e., in-group values). Conversely, when a collectivistic persona was assigned to ChatGPT in Eastern languages, a similar pattern emerged with more negative responses toward individualism (i.e., out-group values) as compared to collectivism (i.e., in-group values). The results indicate that when imbued with a particular social identity, ChatGPT discerns in-group and out-group, embracing in-group values while eschewing out-group values. Notably, the negativity towards the out-group, from which prejudices and discrimination arise, exceeded the positivity towards the in-group. The experiment was replicated in the political domain, and the results remained consistent. Furthermore, this replication unveiled an intrinsic Democratic bias in Large Language Models (LLMs), aligning with earlier findings and providing integral insights into mitigating such bias through prompt engineering. Extensive robustness checks were performed using varying hyperparameter and persona setup methods, with or without social identity labels, across other popular language models.
[ -0.49085772037506104, -0.7566310167312622, 0.275617778301239, 0.09486578404903412, -0.007510456722229719, 0.7346876263618469, -0.4126662015914917, -0.2777356803417206, 0.449138343334198, 0.48264071345329285, -0.5724002718925476, -0.08032755553722382, -0.5902811288833618, 0.22799882292747498, -0.35435548424720764, 0.9928090572357178, 0.011356503702700138, 0.16027168929576874, 0.1563819944858551, -0.3599472939968109, -0.11106537282466888, -0.7136631011962891, -0.06355533748865128, -0.5130189657211304, 0.15978865325450897, 0.45159196853637695, 0.7946672439575195, 0.05600018426775932, 0.27389436960220337, 0.2707540690898895, 0.019405726343393326, -0.17629483342170715, -0.6222947835922241, 0.12830697000026703, -0.3333068788051605, -0.2652803063392639, 0.2543211281299591, 0.32858291268348694, 0.6582836508750916, 0.7258970141410828, 0.1564290076494217, 0.42221567034721375, 0.13124434649944305, 0.8602665066719055, -0.5632725358009338, 0.27785149216651917, -0.7954603433609009, 0.04065636917948723, -0.461532860994339, 0.04588225111365318, -0.5667061805725098, -0.48590776324272156, 0.2096562385559082, -0.30640503764152527, 0.31153926253318787, 0.026510128751397133, 1.0491036176681519, -0.09517373889684677, -0.6436830759048462, -0.37137696146965027, -0.7344570159912109, 0.781760573387146, -0.5065116882324219, 0.215103417634964, 0.4092612862586975, 0.32429495453834534, -0.2403217852115631, -0.35348647832870483, -0.6365366578102112, 0.012010019272565842, 0.04519052058458328, 0.3860403597354889, -0.3895275890827179, -0.1449016034603119, 0.12471830099821091, 0.20675891637802124, -0.4952565133571625, 0.28932633996009827, -0.593974232673645, -0.1929650455713272, 0.6252733469009399, -0.07467902451753616, 0.4160515367984772, 0.1310219019651413, -0.44766712188720703, 0.11700192838907242, -0.9606633186340332, 0.2965455651283264, 0.8035057187080383, 0.3050367832183838, -0.38197803497314453, 0.7992302775382996, -0.125899538397789, 0.17539115250110626, 0.2546623647212982, -0.04801342263817787, 0.10698860883712769, -0.22887305915355682, -0.010921338573098183, 0.09763304144144058, 0.9802682399749756, 0.037669166922569275, 0.7821494340896606, -0.3153284192085266, 0.030408503487706184, 0.18889783322811127, -0.04988560453057289, -0.6516922116279602, -0.15214592218399048, 0.02964135818183422, -0.7073966860771179, -0.22661027312278748, -0.15459053218364716, -0.8286758661270142, -0.6075723767280579, -0.11787939816713333, 0.36721813678741455, -0.2318078577518463, -0.4418790340423584, -0.3147684931755066, -0.2230333536863327, 0.4559416174888611, 0.29940274357795715, -1.213554859161377, 0.3401109278202057, 0.45777416229248047, 0.8441446423530579, -0.15301577746868134, -0.2500576376914978, -0.30909085273742676, -0.09601820260286331, -0.5423317551612854, 0.7957133650779724, -1.0045853853225708, -0.8071151375770569, 0.08156965672969818, 0.0741674080491066, -0.13603156805038452, -0.6584347486495972, 0.19042280316352844, -0.3465251624584198, 0.5100288391113281, -0.7431727051734924, -0.3567117750644684, -0.19184112548828125, -0.025372439995408058, -0.286906361579895, 0.7269920110702515, 0.1395646184682846, -0.6386998295783997, 0.30694156885147095, -0.5612781643867493, -0.160745769739151, 0.34929516911506653, -0.6322993040084839, -0.09957173466682434, 0.20046530663967133, -0.0961732268333435, 0.2956532835960388, -0.37873542308807373, 0.08790910243988037, -0.6634547114372253, -0.399801641702652, 0.5405295491218567, -0.4292566180229187, 1.0015690326690674, 0.1673291027545929, -0.6518815755844116, 0.0540735200047493, -0.1981140524148941, 0.10174298286437988, 0.20033186674118042, -0.20619824528694153, -0.34820741415023804, 0.04161525145173073, -0.00031867012148723006, 0.6711046695709229, -0.004920410457998514, -0.551571249961853, 0.16033709049224854, -0.18177397549152374, 0.5181772708892822, 1.334437370300293, 0.021115589886903763, 0.5753522515296936, -0.22383497655391693, 0.6937680840492249, 0.3195192813873291, -0.20456118881702423, 0.0828130692243576, -0.7448060512542725, -0.6418161988258362, -0.20082014799118042, -0.030790122225880623, 0.6868345737457275, -0.7581432461738586, 0.33299341797828674, -0.2983997166156769, -0.5126954317092896, -0.35752034187316895, 0.14575448632240295, 0.27099794149398804, 0.3977647125720978, 0.12090674787759781, -0.26044872403144836, -0.21783556044101715, -1.338923692703247, -0.6105606555938721, -0.7974462509155273, 0.0626632571220398, 0.014015402644872665, 0.792441189289093, -0.23949658870697021, 1.0811303853988647, -0.27088651061058044, -0.010319831781089306, -0.25973179936408997, 0.0022702310234308243, 0.06447342038154602, 0.2569318413734436, 0.2401900440454483, -0.5485051870346069, -0.9200088381767273, 0.2706882953643799, -0.5534046292304993, -0.38389673829078674, -0.1252651810646057, -0.012552645057439804, 0.3071745038032532, 0.4220230281352997, -0.3357614576816559, 0.39127659797668457, 0.8880361914634705, -0.654061496257782, 0.6203719973564148, 0.06914470344781876, 0.025024425238370895, -1.1820485591888428, -0.08303424715995789, 0.13531890511512756, 0.1266261637210846, -0.516781210899353, -0.2499769926071167, 0.05732714757323265, -0.01979532279074192, -0.23418956995010376, 0.8250610828399658, -0.6507670879364014, 0.25194230675697327, 0.00009466561459703371, 0.14031577110290527, -0.09976696968078613, 0.36343690752983093, -0.012156214565038681, 0.8360589146614075, 0.5226325392723083, -0.4899425506591797, -0.02816087007522583, 0.1818120777606964, -0.35141435265541077, 0.8315436840057373, -0.49482232332229614, 0.18429622054100037, -0.5041514039039612, 0.2398962825536728, -1.090191125869751, -0.16140803694725037, 0.4152093529701233, -0.2852969467639923, 0.17201578617095947, -0.4466419219970703, -0.3503580093383789, -0.1772768646478653, -0.07931304723024368, 0.17168253660202026, 0.7777264714241028, -0.5585647225379944, 0.35471564531326294, 0.5597514510154724, -0.23686523735523224, -0.6383102536201477, -0.8867440223693848, 0.11176413297653198, -0.6618902087211609, -0.6697527170181274, 0.004725436680018902, -0.33020254969596863, -1.066112756729126, -0.12225132435560226, -0.01584445871412754, -0.34938958287239075, -0.1266496181488037, 0.21291819214820862, -0.11525307595729828, -0.1665598452091217, 0.15889938175678253, 0.0699378028512001, -0.05983220040798187, -0.24579213559627533, -0.02433747798204422, 0.5063615441322327, -0.4225843846797943, -0.3120424747467041, -0.27105817198753357, 0.6087206602096558, 0.5979541540145874, -0.5085239410400391, 0.9224063754081726, 0.5171557664871216, -0.1220303401350975, -0.0346355214715004, -0.7336364388465881, -0.34276261925697327, -0.4847085773944855, 0.26383328437805176, -0.3725413978099823, -1.0668072700500488, 0.9888365268707275, 0.1463758945465088, 0.19222114980220795, 0.222664475440979, 0.7405929565429688, 0.06063195317983627, 0.7839395403862, 0.41584745049476624, -0.19256797432899475, 0.4961569011211395, 0.08717072010040283, 0.5723617076873779, -0.6555886268615723, 0.061442840844392776, -0.6562296152114868, -0.3470880091190338, -1.1701228618621826, -0.33431220054626465, 0.46143022179603577, -0.3064654767513275, -0.35427170991897583, -0.2388925701379776, -0.23271134495735168, 0.4013358950614929, 0.3551021218299866, -0.28839683532714844, 0.20308750867843628, -0.10535813868045807, 0.4356336295604706, -0.36519429087638855, -0.477613627910614, -0.7832951545715332, 0.8715385794639587, 0.34410834312438965, 1.0550256967544556, 0.5383328795433044, 0.7398703098297119, 0.2831081449985504, 0.38104403018951416, -0.5311560034751892, 0.43546855449676514, -0.01908029243350029, -0.9585088491439819, -0.06570801883935928, -0.3003619313240051, -1.0025283098220825, 0.8336594700813293, 0.02688606269657612, -0.9470877647399902, 0.43274617195129395, -0.006845482625067234, -0.0634661540389061, 0.43575751781463623, -0.9269391298294067, 0.750362753868103, 0.09380172193050385, -0.41806843876838684, 0.06413901597261429, -0.647393524646759, 0.6876128315925598, -0.1147274598479271, 0.35466277599334717, -0.4050740897655487, -0.11829694360494614, 0.5229942798614502, -0.3990418612957001, 1.2409499883651733, 0.013852386735379696, -0.12394420057535172, 0.5049166083335876, 0.2033049315214157, 0.5756900310516357, 0.10445864498615265, -0.04471836984157562, 0.4005982577800751, 0.10970879346132278, -0.7761781811714172, -0.13711939752101898, 0.842019259929657, -1.0616109371185303, -0.4804758131504059, -0.38666486740112305, -0.13505816459655762, 0.02258273772895336, 0.3280414342880249, 0.5871375203132629, 0.25740480422973633, -0.46316152811050415, 0.19445809721946716, 0.6765947341918945, -0.18950530886650085, 0.736806333065033, 0.5292118191719055, -0.07582049071788788, -0.21151798963546753, 0.7073190808296204, 0.5515881776809692, 0.6727671027183533, 0.04781264066696167, 0.31089937686920166, -0.2740805745124817, 0.10707644373178482, -0.5482418537139893, 0.16928526759147644, -0.7511985898017883, 0.34635990858078003, -0.7685686349868774, 0.11295837163925171, -0.424683153629303, -0.24841517210006714, -0.5339204668998718, -0.30378004908561707, 0.12614348530769348, 0.21958257257938385, -0.12609678506851196, 0.7270017266273499, 0.11917873471975327, 0.5100172162055969, -0.5377007722854614, 0.006921782158315182, 0.18557310104370117, 0.12584072351455688, -0.3678208589553833, -0.435359925031662, -0.14223267138004303, 0.06716655194759369, -0.35440948605537415, -1.1896727085113525, 0.3130964934825897, 0.035407111048698425, 0.6149755716323853, 0.4529622197151184, 0.21789826452732086, 0.48289549350738525, -0.49725812673568726, 0.9697973728179932, -0.1868942379951477, -1.081731915473938, 0.030466441065073013, -0.4288778007030487, 0.4139006733894348, 0.48646441102027893, 0.09173231571912766, -0.9120321273803711, -0.636966347694397, -0.7376660108566284, -0.7585118412971497, 0.5293123126029968, 0.1331433653831482, 0.6059527397155762, -0.0845491960644722, -0.0025628115981817245, 0.37369775772094727, 0.2410900890827179, -1.142339825630188, -0.4593967795372009, -0.1634230613708496, 0.09022053331136703, -0.13468798995018005, -0.11883259564638138, -0.038202252238988876, 0.10251131653785706, 0.8609643578529358, -0.4931783378124237, 0.13146352767944336, 0.09113477915525436, 0.18516434729099274, -0.3429645895957947, 0.43711113929748535, 0.5997107625007629, 0.8085173964500427, 0.331242173910141, 0.08946694433689117, 0.0004071934672538191, -0.45678839087486267, 0.31266728043556213, -0.37562859058380127, -0.2436046004295349, 0.14670994877815247, 0.31729423999786377, 0.6483891010284424, -0.32332319021224976, -0.4912601113319397, 0.5198445916175842, -0.20541705191135406, 0.0899105966091156, -0.6849982738494873, -0.26834917068481445, -0.04470454901456833, 0.14440995454788208, 0.16596336662769318, 0.12377561628818512, -0.1887122541666031, -0.6147445440292358, -0.3437749147415161, 0.7181911468505859, -0.6735290288925171, -0.7873860001564026, 0.520976722240448, 0.06422906368970871, 0.0551903210580349, 0.674477219581604, -0.22788700461387634, -0.31952616572380066, 0.31783315539360046, 0.5545621514320374, 1.162152886390686, -0.4710991680622101, 0.48589861392974854, 0.24241411685943604, 0.7409469485282898, 0.13071279227733612, 0.0530443973839283, 0.09845883399248123, -0.9887986779212952, -0.24508897960186005, -0.21301069855690002, -0.3851843476295471, 0.046462323516607285, -0.4715985357761383, 0.2439182847738266, -0.4000813663005829, -0.08692619949579239, -0.3258269131183624, -0.0627846047282219, -0.4558953046798706, -0.15101872384548187, -0.03254023194313049, 0.4803401529788971, -1.2398661375045776, 0.7704391479492188, 0.49072641134262085, -0.3593621850013733, -0.44197797775268555, 0.45321184396743774, 0.48149535059928894, -0.635865330696106, 0.4844091534614563, 0.06468616425991058, 0.1879250556230545, -0.13732312619686127, -0.5341105461120605, -0.942659854888916, 0.6008054614067078, 0.41430193185806274, -0.21420148015022278, 0.2586338222026825, 0.08329460769891739, 0.48489582538604736, -0.1715492457151413, 0.18743450939655304, 0.18211111426353455, 0.5285594463348389, -0.16725017130374908, -0.9931073784828186, -0.14962483942508698, -0.24167096614837646, -0.19396212697029114, 0.26892781257629395, -1.3661248683929443, 0.9863654971122742, -0.056936115026474, -0.251973420381546, -0.21409258246421814, 0.49477240443229675, 0.05751243233680725, -0.035492949187755585, 0.27137884497642517, 0.06747729331254959, 0.7651557326316833, -0.15162135660648346, 0.8973395228385925, -0.22556999325752258, 0.005178044084459543, 0.9498365521430969, -0.43804559111595154, 0.35749897360801697, 0.7275869846343994, -0.04091036692261696, 0.47739720344543457, 0.6674380898475647, 0.36008763313293457, 0.38309919834136963, 0.1118319034576416, -0.6361582279205322, -0.26616400480270386, -0.03490768373012543, -0.5026556849479675, 0.7910813689231873, 0.3079533576965332, -0.38610708713531494, -0.20607370138168335, -0.3425692617893219, 0.46311503648757935, 0.26745760440826416, 0.01300134602934122, 0.5682429075241089, 0.09439706802368164, -0.604474663734436, 0.37145331501960754, 0.027532480657100677, 0.5015363097190857, -0.775692880153656, 0.3215254545211792, -0.2332455813884735, 0.18134500086307526, -0.2026647925376892, -0.589016318321228, 0.09804717451334, -0.10722239315509796, -0.15078182518482208, -0.40048158168792725, 0.242181658744812, -0.36761474609375, -0.4346253573894501, 0.003886249614879489, 0.8255060315132141, 0.15260770916938782, -0.034254834055900574, -0.5709505081176758, 0.032047878950834274, 0.2599605917930603, -0.29777824878692627, 0.4067293107509613, 0.47839879989624023, -0.6467005610466003, 0.802372395992279, 0.45450541377067566, -0.16874749958515167, 0.18332044780254364, -0.12710286676883698, 0.693333089351654, -0.5028702020645142, -0.4252552092075348, -1.2864798307418823, 0.5332343578338623, 0.0909663587808609, -0.5304338335990906, 0.9552639722824097, 0.6945427060127258, 0.9673441052436829, -0.10903891921043396, 1.1238861083984375, -0.14899496734142303, 0.40523838996887207, -0.2392304241657257, 0.81919264793396, -0.1769392192363739, 0.10043716430664062, -0.5750772953033447, -0.8607512712478638, 0.07491849362850189, 0.3883781433105469, -0.47740864753723145, 0.32187962532043457, 0.5007365345954895, 0.7625684142112732, 0.06730107963085175, 0.11925524473190308, 0.41581156849861145, 0.3617081642150879, 0.8031098246574402, 0.11541301757097244, 1.050244927406311, -0.0502069890499115, 0.10078132152557373, -0.2937376797199249, -0.2736464738845825, 0.13296467065811157, -0.547452449798584, -1.0030691623687744, -0.7814390659332275, -0.5237493515014648, -0.5624895095825195, -0.33999910950660706, 1.0614218711853027, 0.554483950138092, -0.6777843832969666, -0.4470314383506775, 0.3781609833240509, 0.29579347372055054, 0.06847379356622696, -0.25801607966423035, -0.002149424748495221, -0.3228505849838257, -0.9447493553161621, 0.19548361003398895, 0.3480503559112549, 0.12646278738975525, -0.5872901678085327, -0.020997105166316032, -0.0727272480726242, 0.26917725801467896, 0.6043466925621033, 0.42425408959388733, -0.8112021684646606, -0.46507060527801514, -0.05320975184440613, -0.045696426182985306, 0.09361021965742111, 0.628147542476654, -0.5855146646499634, 0.6340193152427673, 0.514346718788147, 0.13837933540344238, 0.04206600785255432, 0.11652398854494095, 0.5772995948791504, -0.47200527787208557, 0.3926668167114258, 0.1364857405424118, 0.3635047376155853, 0.40760281682014465, -0.24401602149009705, 0.48970678448677063, 0.4278527796268463, -0.7494680881500244, -0.8625702857971191, 0.493428498506546, -0.397756963968277, -0.02129955217242241, 1.2340656518936157, -0.09092205762863159, 0.01422828622162342, -0.3877003490924835, -0.26486605405807495, -0.05465133860707283, -0.33741530776023865, 0.8986579179763794, 0.8626232743263245, -0.2690141797065735, 0.10142101347446442, -0.7125095725059509, 0.35501962900161743, 0.3809630572795868, -0.6552233695983887, 0.1035674586892128, 0.4401887059211731, 0.37269359827041626, 0.09374295920133591, 0.7498053312301636, -0.26773524284362793, -0.1335163563489914, -0.09799551963806152, 0.0006844537565484643, 0.6851221919059753, 0.2435547411441803, -0.2859604060649872, 0.009919627569615841, 0.20917189121246338, -0.09596363455057144 ]
http://arxiv.org/abs/2402.10430v1
http://arxiv.org/pdf/2402.10430v1
Smaller Language Models are capable of selecting Instruction-Tuning Training Data for Larger Language Models
2024-02-16T03:39:37
2024-02-16T03:39:37
Dheeraj Mekala, Alex Nguyen, Jingbo Shang
cs.CL
cs.CL
Instruction-tuning language models has become a crucial step in aligning them for general use. Typically, this process involves extensive training on large datasets, incurring high training costs. In this paper, we introduce a novel training data selection based on the learning percentage of the samples. We assert that current language models possess the capability to autonomously select high-quality training data, leading to comparable or improved performance compared to training on the entire dataset. Our experiments span different-sized models, revealing that this characteristic holds for models ranging from 1B (small) to 13B (large) in size. Moreover, we demonstrate an interesting finding that the data hardness transfers across model sizes, and a smaller 350M model can effectively curate high-quality training data with hard samples for a larger 13B model, resulting in an equally or superior instruction-tuned model compared to training on the complete dataset. Utilizing open-sourced OPT and Llama-2 models up to 13B in size, two publicly available instruction-tuning training datasets and evaluated by both automatic metrics & humans, our paper introduces a novel approach to training data selection, showcasing a more efficient alternative.
[ -0.284323126077652, -0.5312497615814209, 0.40351203083992004, -0.11888028681278229, -0.08548645675182343, -0.050977710634469986, -0.6357466578483582, -0.2231162190437317, -0.04951781779527664, 0.39731380343437195, -0.5367912650108337, -0.39126887917518616, -0.43843168020248413, -0.09765689820051193, -0.34586799144744873, 0.8210672736167908, 0.20933260023593903, 0.31884655356407166, -0.23659084737300873, -0.044071976095438004, -0.45481714606285095, -0.19358085095882416, -0.7730031609535217, -0.3016078472137451, 0.41927921772003174, 0.7840090394020081, 0.519681453704834, 1.3034610748291016, 0.5771691799163818, 0.2273997664451599, 0.21187852323055267, 0.27331772446632385, -0.5356769561767578, -0.12941214442253113, 0.0007285880274139345, -0.8312816023826599, -0.4847380518913269, 0.09485094994306564, 0.5990591049194336, 0.840001106262207, -0.18930579721927643, 0.476307213306427, -0.12086454033851624, 1.0048426389694214, -0.6452535390853882, 0.09698890149593353, -0.8781575560569763, 0.025420982390642166, -0.12525716423988342, 0.13952794671058655, -0.643642246723175, -0.39336463809013367, -0.20512419939041138, -0.5225654244422913, 0.43186795711517334, 0.1957331895828247, 0.5858734250068665, 0.4561825096607208, -0.19901882112026215, -0.1779690533876419, -0.5077943205833435, 0.9196782112121582, -0.532765805721283, 0.4733662009239197, 0.6537187099456787, 0.34707188606262207, 0.3170677125453949, -0.32047218084335327, -0.20514392852783203, -0.3006402254104614, 0.116112619638443, -0.23401208221912384, 0.06552957743406296, -0.05828944221138954, 0.22144532203674316, 0.45418280363082886, -0.606285572052002, 0.6065256595611572, -0.39463114738464355, -0.0829710066318512, 0.6673238277435303, 0.11485480517148972, 0.11610624939203262, 0.21119892597198486, 0.026366792619228363, -0.39311766624450684, -1.0088393688201904, -0.06977706402540207, 0.5572671294212341, 0.6633858680725098, -0.16637606918811798, 0.5096082091331482, -0.4175344705581665, 1.0111433267593384, 0.12405479699373245, -0.26584678888320923, 0.11829657107591629, -0.18931661546230316, -0.19927749037742615, 0.04086738079786301, 0.6915706992149353, 0.05770678073167801, 0.36526936292648315, -0.11650997400283813, -0.28464895486831665, -0.17201459407806396, 0.1830463707447052, -0.8947590589523315, -0.66275954246521, -0.17948707938194275, -0.2956203520298004, -0.2298842817544937, -0.04806513711810112, -0.6419651508331299, -0.2200930416584015, -0.6039307117462158, 0.21614158153533936, -0.31294989585876465, -0.007226959802210331, 0.10385920107364655, 0.19273249804973602, 0.06101608648896217, 0.1446027308702469, -1.3642051219940186, 0.13991838693618774, 0.7239950299263, 0.7396130561828613, -0.26906245946884155, -0.09850773215293884, -0.6037268042564392, -0.13122297823429108, -0.771202802658081, 0.6210818886756897, -0.8575130105018616, -0.2026345431804657, -0.24973171949386597, -0.01976528950035572, -0.227552592754364, -0.6372035145759583, 0.1871699094772339, -0.49352070689201355, -0.001415333477780223, -0.0783340260386467, -0.4826703369617462, 0.07625394314527512, -0.12231594324111938, -0.8842664361000061, 1.0422778129577637, 0.3671889901161194, -0.45514538884162903, 0.5860912799835205, -0.1626790314912796, -0.4683257043361664, -0.15979963541030884, -0.15726572275161743, -0.6791754961013794, 0.2741297781467438, 0.34987038373947144, 0.35605037212371826, -0.45430848002433777, -0.17142193019390106, -0.38045522570610046, -0.47313234210014343, 0.08196523040533066, -0.49089381098747253, 0.5569329857826233, 0.20592457056045532, -0.15779536962509155, -0.12134679406881332, -0.8154280185699463, 0.2673535645008087, 0.00857832282781601, -0.6575600504875183, -0.3253895044326782, -0.1361711174249649, -0.505351722240448, 0.013988533057272434, 0.43186014890670776, -0.4773949980735779, 0.4021112322807312, -0.44177377223968506, 0.26457449793815613, 0.757320761680603, -0.27632033824920654, 0.7919252514839172, -0.3312738239765167, 0.6128180027008057, -0.317285418510437, 0.21122658252716064, 0.1346776783466339, -0.1849367916584015, -1.0910115242004395, -0.3397083580493927, 0.7369340062141418, 0.4250251352787018, -0.6254624128341675, 0.5051613450050354, -0.5823811888694763, -0.5454812049865723, -1.0864169597625732, 0.6379327178001404, 0.4244653284549713, 0.3241231441497803, 0.27761632204055786, -0.1163797453045845, -0.3340982496738434, -0.9166257977485657, 0.15164868533611298, -0.0890423059463501, -0.138525128364563, 0.4673846662044525, 0.17633582651615143, 0.29613834619522095, 0.8708670735359192, -0.5480058193206787, -0.17920346558094025, -0.3538302481174469, -0.088229238986969, 0.1810520440340042, 0.46821191906929016, 0.5544043779373169, -0.4586767256259918, -0.7417601346969604, 0.268490195274353, -0.3031669557094574, 0.029667053371667862, 0.07818356156349182, -0.2883591949939728, 0.1597031056880951, 0.5623788833618164, -0.267379492521286, 0.10155550390481949, 0.6141191124916077, 0.03356277942657471, 0.16935434937477112, -0.33289244771003723, -0.019927872344851494, -0.8272367715835571, -0.10059241205453873, -0.007007477339357138, -0.24925421178340912, -0.17891332507133484, -0.13626056909561157, 0.4969181418418884, 0.1104973554611206, -0.30054330825805664, 0.38319575786590576, -0.5298258662223816, 0.03858119994401932, -0.27992841601371765, -0.2714208662509918, -0.17558856308460236, 0.5638099908828735, 0.07409211993217468, 1.033071517944336, 0.5527490973472595, -0.5209081768989563, 0.3602708578109741, 0.25697290897369385, -0.8292022943496704, 0.3056495487689972, -0.44621503353118896, 0.4805745780467987, 0.09115442633628845, -0.04642143473029137, -0.5811517834663391, -0.35490357875823975, -0.23587411642074585, -0.290487140417099, 0.42626041173934937, -0.6184831857681274, -0.4394201636314392, -0.22139482200145721, -0.2240224927663803, 0.2068912833929062, 0.69090735912323, -0.6545698642730713, 0.13015390932559967, 0.38423359394073486, -0.3348447382450104, -0.5084349513053894, -0.543476939201355, -0.2751070261001587, -0.2786352336406708, -0.2545405626296997, 0.05153965950012207, -0.08036662638187408, -0.013187327422201633, -0.19395962357521057, -0.10826887935400009, -0.1217227429151535, 0.11891643702983856, 0.07661280781030655, 0.44055411219596863, -0.5539150238037109, 0.2486019730567932, 0.3024517893791199, -0.07492852210998535, -0.22261419892311096, -0.31088337302207947, 0.4423633813858032, 0.10152911394834518, -0.42010176181793213, -0.2584204375743866, 0.011280613020062447, 0.1740790754556656, -0.35960453748703003, 0.8698075413703918, 0.33396077156066895, -0.025615844875574112, -0.7637457251548767, -0.4332948625087738, -0.402109831571579, -0.5101453065872192, 0.6018660664558411, -0.20518937706947327, -0.7348603010177612, -0.16408023238182068, 0.1637955754995346, 0.04761333018541336, 0.09699606895446777, 0.5100295543670654, 0.06620635837316513, 1.3576303720474243, 0.8491796851158142, -0.5035325288772583, 0.7329739332199097, -0.20743036270141602, 0.07196592539548874, -0.6250369548797607, -0.016407102346420288, -0.795893669128418, -0.33224543929100037, -0.5114052891731262, -0.3650055527687073, 0.3137841820716858, -0.10646519064903259, -0.39724770188331604, 0.2681857943534851, -0.5410505533218384, 0.8833766579627991, 0.6388596296310425, 0.21584725379943848, 0.18070296943187714, 0.3411540985107422, 0.24404285848140717, 0.01875671185553074, -0.6850433349609375, -0.43214699625968933, 1.4349082708358765, 0.1790270060300827, 0.9677296876907349, 0.04100921377539635, 0.40707141160964966, 0.15098603069782257, 0.2902580499649048, -0.8190118670463562, 0.44743821024894714, -0.732697606086731, -0.5870557427406311, -0.46202728152275085, -0.7268535494804382, -0.9809983968734741, 0.030037954449653625, -0.10534743964672089, -0.5832170844078064, 0.05021268501877785, 0.2666935920715332, -0.3648889362812042, 0.2727993428707123, -0.9396814703941345, 0.652362585067749, -0.2948839068412781, -0.049873340874910355, -0.2527152895927429, -0.39226797223091125, 0.14186923205852509, -0.28189343214035034, 0.12133970856666565, -0.37029439210891724, -0.023198788985610008, 0.7102642059326172, -0.2243717610836029, 0.7072131633758545, -0.1903998851776123, -0.14672020077705383, 0.08840131014585495, 0.23002532124519348, 0.37234941124916077, -0.09814176708459854, -0.2665691375732422, -0.04005039483308792, -0.2603791654109955, -0.42304855585098267, -0.6270496845245361, 0.6556766629219055, -0.8659014701843262, -0.4325906038284302, 0.1801714301109314, -0.512595534324646, -0.5502361059188843, -0.03129032254219055, 0.26949450373649597, 0.3974517583847046, 0.1684429943561554, 0.691728413105011, 0.7373812198638916, -0.05331903323531151, 0.24183480441570282, 0.6226438879966736, 0.1254500448703766, -0.19694028794765472, 1.4314801692962646, 0.12325821816921234, 0.5175883769989014, 0.4972952902317047, 0.11508021503686905, -0.170403853058815, -0.7112622261047363, -0.584232747554779, 0.21407905220985413, -0.4892951250076294, -0.4345008134841919, -0.20867714285850525, -0.24671988189220428, -0.1975640058517456, -0.029647905379533768, -0.6661330461502075, -0.4561484456062317, -0.24550822377204895, -0.2387632429599762, 0.4191015660762787, 0.4712088704109192, 0.0050320373848080635, 0.512676477432251, -0.44164592027664185, 0.16856494545936584, 0.539858877658844, 0.4063745141029358, -0.04298640787601471, -0.8240845799446106, -0.5098702907562256, 0.2830122709274292, -0.012217477895319462, -0.33477237820625305, 0.37044379115104675, 0.6142511963844299, 0.36044150590896606, 0.2731359601020813, -0.05590049549937248, 0.40474727749824524, -0.5264193415641785, 0.4301767349243164, -0.011385457590222359, -0.5828185677528381, 0.6684805750846863, -0.1523488461971283, 0.07250148057937622, 0.9222614169120789, 0.366732120513916, -0.11273834109306335, -0.12063483893871307, -0.3047613501548767, -0.7259069085121155, 1.0242737531661987, -0.17748256027698517, 0.2668030560016632, 0.2564976215362549, 0.2915787994861603, 0.3743540048599243, 0.15400071442127228, -0.4862026572227478, -0.11304149031639099, 0.146603524684906, -0.6553308367729187, -0.1333649754524231, 0.11716047674417496, -0.12119534611701965, -0.3675853908061981, 0.8416391611099243, -0.41238465905189514, 0.08413749933242798, -0.5633260011672974, -0.24701359868049622, -0.11909739673137665, 0.17179512977600098, -0.04939626157283783, 0.6199211478233337, -0.12542535364627838, -0.04881209880113602, 0.1853538304567337, -0.5994663238525391, 0.2780228853225708, -0.05911916866898537, -0.3018518090248108, -0.32163065671920776, 0.24971167743206024, 1.0970185995101929, 0.21764205396175385, -0.6471445560455322, 0.5601793527603149, -0.07357173413038254, -0.08530101180076599, 0.046910177916288376, 0.8187075853347778, -0.10127896815538406, 0.06526090204715729, 0.12066123634576797, -0.24623174965381622, -0.2610418200492859, -0.31388965249061584, 0.02748011238873005, 0.3696427345275879, -0.4574897885322571, -0.23748959600925446, 0.43747439980506897, 0.05753994360566139, -0.3130634129047394, 1.0181233882904053, -0.14509610831737518, 0.054120536893606186, 0.7711952328681946, 0.3680831789970398, 0.35835492610931396, -0.14084960520267487, 0.4453781843185425, 0.44063612818717957, 0.2487514764070511, -0.3258459270000458, 0.016465002670884132, -0.04572094604372978, -0.7098773717880249, -0.6293989419937134, -0.8574481010437012, -0.37341219186782837, 0.3075163662433624, -0.9975115656852722, 0.31567618250846863, -0.41923218965530396, -0.009520010091364384, -0.04582195356488228, 0.1750543862581253, -0.7323610186576843, 0.34898531436920166, 0.30653026700019836, 0.904335618019104, -0.8968027830123901, 1.2139924764633179, 0.5017849802970886, -0.12155929952859879, -0.9966185092926025, -0.12310831248760223, -0.18358616530895233, -1.041536808013916, 0.41686326265335083, 0.013684834353625774, 0.12836162745952606, 0.19053591787815094, -0.7502983212471008, -0.9067320227622986, 0.8768006563186646, 0.8826949596405029, -0.7599939703941345, -0.07741135358810425, 0.12187285721302032, 0.4638836681842804, -0.40509065985679626, 0.03420315682888031, 1.0600390434265137, 0.09929617494344711, 0.0317934975028038, -0.7931836843490601, -0.22515657544136047, -0.12051453441381454, -0.10046028345823288, 0.23840099573135376, -0.7966521978378296, 0.833215057849884, -0.1618407964706421, 0.06739269942045212, 0.1563933789730072, 0.6729549169540405, 0.2671908438205719, -0.06738527119159698, 0.5546218752861023, 0.4156806766986847, 0.7938399910926819, -0.10918505489826202, 0.9426184892654419, -0.26923468708992004, 0.28228169679641724, 1.1567974090576172, -0.06477054208517075, 1.0142111778259277, 0.10853280872106552, -0.4281717538833618, 0.3974975049495697, 0.6907601356506348, -0.1163293644785881, 0.6847115159034729, 0.02114826999604702, -0.049473490566015244, -0.5775325298309326, 0.056201785802841187, -0.21787403523921967, 0.6263210773468018, 0.30237939953804016, -0.1584886759519577, 0.11777909845113754, -0.16170835494995117, -0.0804658830165863, -0.028376085683703423, -0.3410867750644684, 0.8873922228813171, -0.007806222885847092, -0.724421501159668, 0.6632764339447021, 0.04871226102113724, 0.5277053713798523, -0.6808635592460632, 0.11879059672355652, -0.4191475212574005, 0.06804117560386658, 0.01813354901969433, -0.48304030299186707, -0.13791199028491974, 0.1949586719274521, -0.10838504135608673, -0.15909723937511444, 0.31507986783981323, -0.5422731637954712, -0.6282185912132263, -0.1303754597902298, 0.3655146360397339, 0.08793183416128159, -0.020439043641090393, -0.4856441020965576, -0.09266839176416397, 0.1919434368610382, -0.24043220281600952, 0.6670833230018616, 0.36263078451156616, 0.00625140406191349, 0.6967235803604126, 0.593762993812561, 0.5651050209999084, 0.10991766303777695, 0.024050109088420868, 0.6282027363777161, -0.3887604773044586, -0.578346312046051, -0.5848554372787476, 0.2306644767522812, -0.20933669805526733, -0.34458839893341064, 0.43565553426742554, 0.6218479871749878, 1.0025166273117065, -0.06553398817777634, 0.8254150152206421, 0.013109836727380753, 0.702846884727478, -0.7490997910499573, 0.5880976319313049, -0.4729648530483246, 0.20641255378723145, 0.3146979510784149, -0.8670268654823303, 0.19746950268745422, 0.7702034115791321, -0.5881860852241516, 0.11328011751174927, 0.37249013781547546, 0.9584065675735474, -0.3163275420665741, 0.000015136774891288951, 0.24087518453598022, -0.02055284194648266, 0.08579369634389877, 0.6906986236572266, 0.5626637935638428, -0.027469636872410774, 0.5404663681983948, -0.4889243245124817, -0.23817019164562225, -0.2698958218097687, -0.560973584651947, -0.976003110408783, -0.5195475816726685, -0.24774447083473206, 0.11299052089452744, -0.10051090270280838, 0.9156299829483032, 1.1108540296554565, -0.8549573421478271, -0.13318094611167908, 0.14205604791641235, 0.03090120479464531, -0.17436018586158752, -0.13085681200027466, 0.49764955043792725, -0.377858430147171, -0.8605190515518188, 0.6415764093399048, -0.04511282593011856, 0.07249924540519714, -0.15790913999080658, 0.006697316188365221, 0.20332378149032593, 0.08586399257183075, 0.2341308742761612, 0.3004474937915802, -0.20096389949321747, -0.24948115646839142, -0.11573167890310287, -0.30077075958251953, 0.16366326808929443, 0.7952013611793518, -0.6223059892654419, 0.23445481061935425, 0.13128942251205444, 0.943007230758667, 0.5783630609512329, -0.07141997665166855, 0.4920703172683716, -1.188330888748169, 0.3127560317516327, 0.0968586653470993, 0.12586410343647003, 0.5387866497039795, -0.3518414795398712, 0.6216825842857361, -0.16045881807804108, -0.4496621787548065, -0.934502363204956, 0.10149452090263367, -0.5776904225349426, -0.25988924503326416, 1.1687636375427246, 0.020707789808511734, -0.23184311389923096, 0.34926167130470276, -0.08457585424184799, 0.07909727096557617, -0.3067017197608948, 0.9127064347267151, 0.5786125659942627, -0.004439269192516804, -0.037710659205913544, -0.7777905464172363, 0.5616329312324524, 0.44611600041389465, -0.8271328806877136, 0.17539331316947937, 0.4483394920825958, 0.33074983954429626, -0.336555153131485, 0.23887288570404053, 0.1917172372341156, 0.1934889853000641, -0.011307137086987495, -0.2149507701396942, -0.16535180807113647, -0.5955765843391418, -0.23504537343978882, 0.08608239889144897, 0.2728908360004425, -0.23557475209236145 ]
http://arxiv.org/abs/2402.10427v1
http://arxiv.org/pdf/2402.10427v1
Evaluating and Improving Continual Learning in Spoken Language Understanding
2024-02-16T03:30:27
2024-02-16T03:30:27
Muqiao Yang, Xiang Li, Umberto Cappellazzo, Shinji Watanabe, Bhiksha Raj
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Continual learning has emerged as an increasingly important challenge across various tasks, including Spoken Language Understanding (SLU). In SLU, its objective is to effectively handle the emergence of new concepts and evolving environments. The evaluation of continual learning algorithms typically involves assessing the model's stability, plasticity, and generalizability as fundamental aspects of standards. However, existing continual learning metrics primarily focus on only one or two of the properties. They neglect the overall performance across all tasks, and do not adequately disentangle the plasticity versus stability/generalizability trade-offs within the model. In this work, we propose an evaluation methodology that provides a unified evaluation on stability, plasticity, and generalizability in continual learning. By employing the proposed metric, we demonstrate how introducing various knowledge distillations can improve different aspects of these three properties of the SLU model. We further show that our proposed metric is more sensitive in capturing the impact of task ordering in continual learning, making it better suited for practical use-case scenarios.
[ -0.054557833820581436, -0.78321373462677, 0.599725067615509, 0.28392913937568665, -0.3305138647556305, 0.24018457531929016, -0.5894715189933777, -0.32836654782295227, -0.14653050899505615, 0.16140660643577576, -0.32583189010620117, -0.3417155146598816, -0.6496301293373108, -0.13627181947231293, -0.1681181937456131, 1.0785990953445435, 0.18608525395393372, 0.09259933978319168, -0.4460786283016205, -0.44398069381713867, -0.9283671379089355, -0.3212183713912964, -0.8270737528800964, -0.7730340957641602, 0.5018558502197266, 0.3219338059425354, 0.5192768573760986, 0.2497960329055786, 0.21640266478061676, 0.3880656957626343, -0.31078311800956726, -0.08080633729696274, -0.5883300304412842, 0.19054259359836578, -0.2062777727842331, -0.3524497151374817, -0.26037681102752686, 0.049708958715200424, 0.8776105046272278, 1.12108314037323, -0.4924868643283844, 0.20957186818122864, 0.6622189879417419, 0.6759816408157349, -0.40978509187698364, 0.2675846219062805, -0.8128495216369629, -0.1896003931760788, 0.12288213521242142, 0.04583508148789406, -0.32152074575424194, -0.3223292827606201, 0.5936406254768372, -0.49194005131721497, 0.017444897443056107, -0.37923935055732727, 0.8975687623023987, 0.4072857201099396, 0.10086987912654877, -0.39934825897216797, -0.9678164124488831, 0.8311964273452759, -0.6303985118865967, 0.5652269124984741, 0.17053788900375366, 0.3273930847644806, 0.1317453682422638, -0.7092568278312683, -0.4915376603603363, -0.599326491355896, 0.11407455056905746, 0.3645833432674408, -0.19921322166919708, 0.12733983993530273, -0.26301953196525574, 0.35515087842941284, -0.59294593334198, 0.1576823890209198, -0.34276729822158813, -0.18642131984233856, 0.37206459045410156, -0.02661498822271824, 0.37849584221839905, 0.29445284605026245, -0.2620985507965088, 0.1598273515701294, -0.2880406379699707, 0.0046181450597941875, 0.0025936602614820004, 0.14140166342258453, -0.09910345822572708, -0.011128369718790054, 0.06242552027106285, 0.6152039766311646, 0.07760782539844513, -0.41729557514190674, 0.39175188541412354, -0.3029392659664154, -0.1353079229593277, -0.2628256380558014, 0.3389729857444763, 0.20024892687797546, 0.21014204621315002, -0.7717458009719849, -0.2121283859014511, 0.03957204148173332, 0.5584512948989868, -0.1793176233768463, -0.08455057442188263, 0.2386857122182846, -0.33680668473243713, -0.08467400074005127, 0.16876940429210663, -0.38987499475479126, 0.014881986193358898, -0.7543782591819763, 0.35047000646591187, -0.5202491283416748, -0.5249137282371521, 0.1136506125330925, -0.22957128286361694, 0.04648864269256592, 0.28023281693458557, -0.9420158863067627, 0.5021598935127258, 0.9112638831138611, 1.0225986242294312, -0.49892470240592957, -0.5119069218635559, -0.4757293462753296, 0.14813829958438873, -0.15556173026561737, 0.544194757938385, -0.521037220954895, -0.3425137996673584, -0.14870646595954895, -0.18629467487335205, -0.37716323137283325, -0.7754555940628052, 0.2704825699329376, -0.20558297634124756, 0.12453696876764297, 0.06091564521193504, -0.4606125056743622, -0.3506310284137726, 0.19879762828350067, -0.35375794768333435, 0.9594411849975586, 0.1670377254486084, -0.30335018038749695, 0.710675835609436, -0.6038289070129395, -0.13506647944450378, 0.4110526144504547, -0.03592637926340103, -0.4429273307323456, 0.37351131439208984, -0.3125719726085663, 0.34722843766212463, 0.19615809619426727, 0.6382032632827759, -0.18628302216529846, -0.3803173005580902, 0.17365773022174835, -0.5196807384490967, 0.41544321179389954, 0.07102777808904648, -0.4727696180343628, 0.07189309597015381, -0.6877906918525696, -0.029176518321037292, -0.06225943937897682, -0.5156684517860413, -0.4205261170864105, 0.23275959491729736, -0.1893150955438614, -0.15430064499378204, 0.2741180956363678, -0.4212619960308075, 0.08443716913461685, -0.5695338249206543, 0.49060216546058655, 0.7805507183074951, 0.16685684025287628, 0.4560239017009735, -0.29061952233314514, 0.31938546895980835, 0.04590168222784996, 0.3523859977722168, 0.390529602766037, -0.28545376658439636, -0.9811692237854004, 0.12541066110134125, 0.11711771041154861, 0.5570699572563171, -0.6142151951789856, 0.22083322703838348, -0.45910006761550903, -0.49975669384002686, -0.23967760801315308, 0.6586789488792419, 0.724245011806488, 0.30937647819519043, 0.3685557246208191, -0.6701589226722717, -0.20592474937438965, -0.30698052048683167, -0.006971749942749739, -0.3931851387023926, -0.07550958544015884, 0.2638048231601715, 0.3914159834384918, -0.45064449310302734, 0.8172911405563354, -0.19099855422973633, -0.013647249899804592, -0.4438226521015167, 0.4346249997615814, 0.30483007431030273, 0.47921517491340637, 0.5729794502258301, -0.5444607138633728, -0.3126974105834961, 0.36225757002830505, -0.7316571474075317, 0.06930139660835266, -0.3594580888748169, 0.11601880192756653, 0.1684405356645584, 0.1610984057188034, -0.3461363911628723, 0.1719135046005249, 0.5059038400650024, -0.10879054665565491, 0.8971147537231445, -0.3823545575141907, -0.06497447192668915, -0.488253653049469, 0.03139941766858101, 0.06407603621482849, -0.1678721010684967, -0.9682871699333191, 0.03232321888208389, -0.15578636527061462, 0.0010921373032033443, -0.4033900201320648, 0.3844633400440216, -0.3765796422958374, 0.050782687962055206, -0.08373649418354034, 0.5493611097335815, -0.1318245530128479, 0.3835242688655853, -0.00044004840310662985, 0.6535893678665161, 0.4850172698497772, -1.0100535154342651, 0.2795813977718353, -0.18504036962985992, -0.309043824672699, 0.6157036423683167, -0.8450762629508972, 0.4964279532432556, -0.18929363787174225, -0.10463099926710129, -0.7791833877563477, 0.18907848000526428, 0.15367195010185242, -0.5925865769386292, 0.6228142380714417, -0.20195744931697845, -0.07424886524677277, -0.3361360728740692, 0.22485452890396118, 0.04599183425307274, 0.3415762782096863, -0.3473949134349823, 0.5966008305549622, 0.4169178009033203, -0.26724696159362793, -0.5962153673171997, -0.3776628077030182, 0.03725401684641838, -0.3815070390701294, -0.4075300693511963, 0.26683753728866577, -0.3427830636501312, -0.58014315366745, -0.14642304182052612, -0.5336706638336182, -0.22805364429950714, 0.2821681499481201, 0.20851241052150726, 0.2365371286869049, -0.08301295340061188, 0.4161890745162964, -0.05285508185625076, -0.34569084644317627, 0.027010781690478325, -0.6289196610450745, 0.5700421333312988, -0.43337905406951904, -0.025246862322092056, -0.5714356899261475, -0.056253354996442795, 0.5896239876747131, -0.005944945849478245, 0.6664001941680908, 0.5363497734069824, -0.10889259725809097, -0.17580875754356384, -0.8157597184181213, 0.12111380696296692, -0.5068628191947937, 0.31308218836784363, -0.31329435110092163, -0.8864721655845642, 0.37457147240638733, -0.1004757285118103, 0.36078280210494995, 0.33432796597480774, 0.4472740590572357, -0.4995362162590027, 0.5315977931022644, 0.7786595821380615, -0.4231518805027008, 0.34727370738983154, -0.23962584137916565, -0.09738131612539291, -0.5469509363174438, -0.4153200685977936, -0.49644628167152405, -0.05433516576886177, -0.05520857125520706, -0.14579962193965912, 0.2675483226776123, 0.2446831613779068, 0.049056634306907654, 0.33527109026908875, -0.5114477276802063, 0.33172351121902466, 0.09978587180376053, 0.17616498470306396, 0.22644570469856262, -0.09558507055044174, -0.191715806722641, 0.059956323355436325, -0.569538950920105, -0.5268783569335938, 0.735363781452179, 0.5311559438705444, 0.47151339054107666, 0.21622250974178314, 0.7758758068084717, 0.41488903760910034, 0.2064075767993927, -0.7260358333587646, 0.4251359701156616, -0.21153411269187927, 0.001629586680792272, -0.5586075782775879, -0.67043536901474, -1.1538668870925903, 0.25570425391197205, 0.17115238308906555, -0.9308772683143616, -0.033997271209955215, 0.357441246509552, -0.15142203867435455, 0.04089658334851265, -0.8524236083030701, 0.7374037504196167, -0.4987381398677826, -0.09678163379430771, -0.654766321182251, -0.3368898034095764, 0.0363592766225338, 0.02035624347627163, 0.203606978058815, -0.09885165840387344, -0.0024697796907275915, 0.7708661556243896, -0.21771186590194702, 0.9518393278121948, -0.4596671760082245, -0.02034137025475502, 0.22054888308048248, -0.21558445692062378, -0.010635397396981716, 0.11137425154447556, 0.02743278257548809, 0.29234039783477783, 0.12789975106716156, -0.46011099219322205, -0.8343880772590637, 0.5106377005577087, -0.7238990068435669, -0.535834550857544, -0.26460781693458557, -0.39114823937416077, -0.3258119225502014, 0.010730758309364319, -0.0445251539349556, 0.46431493759155273, -0.4501347243785858, 0.03922659531235695, 0.833152711391449, -0.15778769552707672, 0.3845057785511017, 0.6506384015083313, -0.017791008576750755, -0.17757490277290344, 1.2225029468536377, 0.23720978200435638, 0.6308990716934204, 0.17406506836414337, 0.4231325685977936, -0.33133170008659363, -0.9097856283187866, -0.16754333674907684, 0.30801331996917725, -0.637639582157135, 0.1435319483280182, -0.24496403336524963, -0.19696162641048431, -0.33550649881362915, -0.031708844006061554, -0.12376541644334793, -0.15521247684955597, -0.4873993694782257, -0.15172883868217468, 0.14033423364162445, 0.9741946458816528, -0.21773244440555573, 0.23458245396614075, -0.7023311257362366, 0.1322295218706131, 0.5621709823608398, 0.44770821928977966, 0.14955927431583405, -0.7952357530593872, -0.3033275008201599, 0.08011317253112793, -0.36282235383987427, -0.7003152370452881, 0.13592560589313507, 0.8051766157150269, 1.0854237079620361, 0.5946675539016724, -0.34252986311912537, 0.8396186232566833, -0.4566105008125305, 0.8199509978294373, 0.4415060877799988, -1.203137755393982, 0.8071898818016052, -0.11733449250459671, 0.49992749094963074, 0.853523850440979, 0.3880898952484131, -0.7525842189788818, -0.6294150352478027, -0.5795982480049133, -0.7151867747306824, 0.18644224107265472, 0.10211024433374405, 0.36601266264915466, 0.034404899924993515, 0.5977044701576233, 0.25505146384239197, 0.0009360389085486531, -0.7643945813179016, -0.296237051486969, -0.21677479147911072, 0.06445387750864029, -0.11709083616733551, -0.3300996422767639, 0.06932418793439865, -0.49970197677612305, 0.7646231651306152, 0.09309753775596619, 0.011452369391918182, -0.22475029528141022, -0.5870287418365479, 0.4317607879638672, 0.4533695578575134, 0.44550272822380066, 1.1246962547302246, -0.23094230890274048, -0.15366613864898682, 0.4518280327320099, -0.890035092830658, 0.07306438684463501, -0.24918776750564575, -0.1373937577009201, 0.1863926649093628, 0.19629447162151337, 0.7243695259094238, 0.49887773394584656, -0.5642008185386658, 0.0821719616651535, -0.03349903225898743, -0.1743110865354538, -0.38350698351860046, 0.3386823832988739, -0.06592351198196411, -0.031749993562698364, 0.3209589123725891, -0.09200447052717209, -0.060585927218198776, -0.730215311050415, 0.48838376998901367, 0.15282200276851654, -0.7412051558494568, -0.2520977854728699, 0.10273950546979904, 0.28903594613075256, -0.2348943054676056, 0.824824333190918, -0.33356449007987976, -0.4893011152744293, 0.3767121732234955, 0.49546125531196594, 0.7915012240409851, -0.4096749722957611, 0.4030313193798065, 0.46670961380004883, 0.3633425235748291, 0.04266982153058052, 0.0509968101978302, -0.4629087448120117, -0.7760158181190491, -0.3364885151386261, -0.7421073913574219, -0.5476942658424377, 0.14499275386333466, -0.9600843191146851, -0.2147177755832672, -0.4223255217075348, -0.30815425515174866, -0.0021049771457910538, 0.051295891404151917, -0.6032488346099854, 0.2777656614780426, -0.003287473926320672, 0.4768330156803131, -0.8010355830192566, 0.9066887497901917, 0.5089923739433289, -0.5242259502410889, -0.5350757837295532, -0.06627558916807175, 0.15090179443359375, -0.6953172087669373, 0.4914277493953705, 0.2237817943096161, -0.33025768399238586, -0.18928390741348267, -0.39100173115730286, -0.7476210594177246, 1.1125060319900513, 0.22261592745780945, -0.8313377499580383, 0.17123937606811523, -0.044126518070697784, 0.5613057017326355, -0.16456618905067444, 0.17479251325130463, 1.1528304815292358, 0.41242387890815735, 0.01631668210029602, -1.0618488788604736, -0.4957469403743744, -0.35838186740875244, 0.07410448044538498, -0.048779044300317764, -0.30043020844459534, 0.09412315487861633, -0.09010841697454453, -0.709763765335083, 0.016676783561706543, 0.8124597668647766, 0.08710677921772003, 0.5384497046470642, 0.7865128517150879, 0.7177259922027588, 1.0472289323806763, -0.5139864683151245, 0.5367274284362793, 0.03757617995142937, 0.5254116058349609, 1.3263208866119385, -0.0006935137789696455, 0.8276602029800415, 0.3383267819881439, -0.418279230594635, 0.5960849523544312, 0.3742474913597107, -0.09645655006170273, 0.3668421506881714, 0.38414597511291504, -0.3367516100406647, -0.07934002578258514, 0.009290727786719799, -0.24453411996364594, 0.5003489255905151, 0.7490392923355103, 0.09447675198316574, -0.11096355319023132, 0.2969837486743927, 0.07102281600236893, 0.19227367639541626, -0.37432238459587097, 1.0888835191726685, 0.11652106046676636, -0.6367830038070679, 0.8939118981361389, -0.459848016500473, 0.7312164306640625, -0.7211045026779175, 0.08984650671482086, -0.2300628274679184, -0.04845501482486725, -0.126511350274086, -0.7529244422912598, 0.6115795969963074, 0.1257781684398651, -0.21382851898670197, -0.21012943983078003, 0.43332505226135254, -0.45904475450515747, -0.30738985538482666, 0.49905142188072205, 0.16467556357383728, 0.45770683884620667, 0.18047526478767395, -0.9379242062568665, 0.20484580099582672, -0.0838790312409401, 0.2993823289871216, 0.304883748292923, 0.10093040019273758, 0.5200784802436829, 0.9134302139282227, 0.4297563135623932, 0.1894056349992752, -0.042517583817243576, 0.6288132071495056, 0.6572209000587463, -0.22715508937835693, -0.15132875740528107, -0.6808059215545654, 0.606740415096283, -0.1841111034154892, -0.46676579117774963, 0.698763906955719, 0.17163987457752228, 0.8832374811172485, 0.13036097586154938, 0.7544722557067871, 0.02180534042418003, 0.21381168067455292, -0.6668148040771484, 0.8403064012527466, -0.5219774842262268, 0.3050635755062103, -0.3629710376262665, -0.9118062853813171, -0.11546481400728226, 0.6306135654449463, -0.23272740840911865, -0.12865883111953735, 0.706467866897583, 0.3455723226070404, 0.2194758951663971, -0.09801366925239563, 0.500243604183197, 0.27971914410591125, 0.06944750249385834, 0.4498084485530853, 0.6490254998207092, 0.02306864596903324, 0.45841869711875916, -0.2577810287475586, -0.3753482699394226, 0.3771398067474365, -0.642271101474762, -0.7310373783111572, -0.7895726561546326, -0.5547314286231995, -0.2953731119632721, 0.4760648310184479, 0.38143467903137207, 0.7200382351875305, -0.761034369468689, -0.4336579740047455, -0.22396601736545563, 0.18559394776821136, -0.6290924549102783, -0.20930024981498718, 0.12994100153446198, -0.9149790406227112, -0.6099230051040649, 0.5725961923599243, 0.5461965799331665, -0.12452483177185059, -0.30680903792381287, -0.33590051531791687, 0.020241033285856247, -0.12211348116397858, 0.6683206558227539, 0.5942038893699646, -0.8920366168022156, -0.5388947129249573, -0.3691367506980896, 0.39782580733299255, 0.0214095301926136, 0.5936535596847534, -0.5769456028938293, 0.72284334897995, 0.13689517974853516, 0.6890584826469421, 0.5111971497535706, -0.11706909537315369, 0.6119368672370911, -0.6762329936027527, 0.03784406930208206, 0.2902817130088806, 0.3322009742259979, 0.17648573219776154, -0.206454798579216, 0.472959041595459, 0.24237771332263947, -0.7727532982826233, -0.548025369644165, 0.1909872591495514, -1.0948560237884521, -0.15961164236068726, 1.0273709297180176, -0.4670183062553406, 0.18006619811058044, -0.6596099138259888, 0.24833838641643524, 0.19137060642242432, -0.19396068155765533, 0.7985883951187134, 0.6741459965705872, 0.05925251916050911, -0.2606355547904968, -0.5477905869483948, 0.16494128108024597, 0.5142095685005188, -0.7337567806243896, -0.09277047216892242, 0.32929256558418274, 0.5787016153335571, 0.2420019656419754, 0.5356761813163757, -0.02808193303644657, 0.3746848702430725, -0.16267350316047668, -0.28362828493118286, 0.2807357609272003, -0.5721089243888855, -0.49520349502563477, -0.21534284949302673, 0.15150630474090576, -0.13921646773815155 ]
http://arxiv.org/abs/2402.10426v1
http://arxiv.org/pdf/2402.10426v1
DELL: Generating Reactions and Explanations for LLM-Based Misinformation Detection
2024-02-16T03:24:56
2024-02-16T03:24:56
Herun Wan, Shangbin Feng, Zhaoxuan Tan, Heng Wang, Yulia Tsvetkov, Minnan Luo
cs.CL
cs.CL
Large language models are limited by challenges in factuality and hallucinations to be directly employed off-the-shelf for judging the veracity of news articles, where factual accuracy is paramount. In this work, we propose DELL that identifies three key stages in misinformation detection where LLMs could be incorporated as part of the pipeline: 1) LLMs could \emph{generate news reactions} to represent diverse perspectives and simulate user-news interaction networks; 2) LLMs could \emph{generate explanations} for proxy tasks (e.g., sentiment, stance) to enrich the contexts of news articles and produce experts specializing in various aspects of news understanding; 3) LLMs could \emph{merge task-specific experts} and provide an overall prediction by incorporating the predictions and confidence scores of varying experts. Extensive experiments on seven datasets with three LLMs demonstrate that DELL outperforms state-of-the-art baselines by up to 16.8\% in macro f1-score. Further analysis reveals that the generated reactions and explanations are greatly helpful in misinformation detection, while our proposed LLM-guided expert merging helps produce better-calibrated predictions.
[ -0.5309798121452332, -0.7666817307472229, 0.9552256464958191, 0.14361345767974854, -0.2416805475950241, -0.12930582463741302, -0.043605733662843704, -0.5132337808609009, 0.023333176970481873, 0.28605014085769653, -0.7864127159118652, -0.7212469577789307, -0.5534830093383789, 0.37993478775024414, -0.8065248131752014, 0.9845876693725586, 0.19252678751945496, 0.0915536880493164, -0.030090931802988052, 0.38028353452682495, -0.2819759249687195, -0.2260698676109314, -0.6341039538383484, -0.06490544974803925, 0.6578266620635986, 0.5859172940254211, 0.6147628426551819, 0.32666581869125366, 0.021424047648906708, 0.26378825306892395, -0.0710686594247818, 0.4570644795894623, -0.35299789905548096, 0.1280006617307663, -0.15859878063201904, -0.7591478824615479, -0.21299104392528534, 0.14656567573547363, 0.44253551959991455, 0.26597580313682556, 0.04153939709067345, -0.07933507859706879, 0.15959276258945465, 0.663647472858429, -0.5076959133148193, -0.21306884288787842, -1.0264724493026733, 0.18970368802547455, 0.03376445174217224, -0.17777809500694275, -0.45062732696533203, -0.34258583188056946, -0.16715309023857117, -0.26045095920562744, 0.4128516614437103, 0.1950230747461319, 0.43630626797676086, 0.19692794978618622, -0.49607133865356445, -0.1456967443227768, -0.6836845874786377, 0.5735493302345276, -0.7509704232215881, 0.377440869808197, -0.11552548408508301, 0.2995576560497284, -0.3365803062915802, -0.2676241099834442, -0.9163349866867065, -0.06921067833900452, -0.004488764796406031, 0.23971986770629883, -0.3009202778339386, -0.2120414674282074, 0.2845112085342407, 0.10741431266069412, -0.5442960262298584, 0.30383166670799255, -0.4734362065792084, -0.4047858715057373, 0.6361574530601501, 0.11199835687875748, -0.05281243100762367, -0.22694101929664612, -0.43712151050567627, 0.2991291284561157, -0.871127724647522, -0.46464577317237854, 0.5132415294647217, 0.24719035625457764, 0.04655689001083374, 0.623652994632721, -0.20851127803325653, 0.7930192947387695, 0.3031323254108429, -0.32563719153404236, -0.0028782894369214773, -0.282890647649765, -0.32022222876548767, 0.41651058197021484, 0.7177339196205139, 0.47908979654312134, 0.1439431607723236, -0.15454459190368652, -0.28373634815216064, 0.1563885360956192, 0.369977205991745, -0.5489881038665771, 0.022184036672115326, 0.33771297335624695, -0.3227302134037018, -0.5802919864654541, 0.1858910620212555, -0.9252960681915283, -0.701380729675293, -0.4881933331489563, 0.4890614151954651, -0.20331330597400665, -0.38214707374572754, -0.08649717271327972, -0.17519663274288177, -0.14379969239234924, 0.7766168713569641, -0.32839298248291016, 0.03417748957872391, 0.6597386002540588, 0.7054282426834106, -0.5873857736587524, -0.18777340650558472, -0.7506399154663086, 0.13483034074306488, -0.5209980607032776, 1.04819917678833, -0.2891416549682617, -0.2157605141401291, 0.26984718441963196, -0.14434926211833954, -0.12422052770853043, -0.6288113594055176, 0.60898357629776, -0.3767542541027069, 0.46663475036621094, -0.18855558335781097, -0.7247685790061951, -0.19293151795864105, 0.4350179135799408, -0.5751099586486816, 1.0092369318008423, -0.14595036208629608, -1.0203962326049805, 0.4846046566963196, -0.325761079788208, -0.30686143040657043, -0.13030976057052612, -0.22608181834220886, -0.20000943541526794, 0.43553832173347473, 0.29136237502098083, 0.5820009708404541, -0.05883380398154259, 0.11387762427330017, -0.19773901998996735, -0.4728316068649292, 0.4609437882900238, -0.5272729992866516, 0.29597097635269165, 0.38541021943092346, -0.41058558225631714, 0.054212383925914764, -0.7310425043106079, -0.39491650462150574, -0.36201515793800354, -0.5610495209693909, 0.014942485839128494, 0.12965334951877594, -0.30214622616767883, 0.16955192387104034, 0.11287939548492432, -0.466756135225296, -0.24453243613243103, -0.06727208942174911, -0.18948079645633698, 0.6428486108779907, 0.05726567283272743, 0.1482802778482437, -0.2940080463886261, 0.293165385723114, 0.7357077598571777, 0.16078419983386993, -0.23196035623550415, -0.6504378318786621, -0.840203583240509, 0.03829902783036232, -0.16626566648483276, 0.6197201013565063, -0.7233624458312988, 0.484544038772583, -0.003026774385944009, -0.43908998370170593, -0.25329598784446716, 0.13122884929180145, 0.1303742378950119, 0.8255887627601624, 0.39882728457450867, 0.3334687054157257, -0.563786506652832, -1.0090291500091553, -0.9567798972129822, -0.3132863938808441, -0.08294379711151123, -0.037817515432834625, 0.18917977809906006, -0.05163136497139931, 1.0694130659103394, -0.27537864446640015, -0.18159174919128418, -0.335080623626709, 0.2702224552631378, 0.4992941617965698, 0.06502091139554977, 0.19387651979923248, -0.8501352667808533, -0.36958613991737366, 0.05295613780617714, -0.6185622811317444, -0.1601901650428772, -0.11981216073036194, 0.3715057075023651, 0.694932758808136, 0.6882272362709045, -0.7117123007774353, 0.6683913469314575, 0.35743021965026855, -0.1311061978340149, 0.9222259521484375, 0.15790380537509918, 0.4618396461009979, -1.2450677156448364, -0.41277337074279785, 0.3645435869693756, -0.3952607810497284, -0.7743836641311646, -0.48731139302253723, -0.08044295012950897, 0.0879998505115509, -0.6713160872459412, 0.13401807844638824, -0.22302889823913574, -0.19155217707157135, -0.43429696559906006, 0.4822012484073639, -0.3047616183757782, 0.11239399760961533, 0.02614131197333336, 0.7424830794334412, 0.34242725372314453, -0.9697986841201782, 0.3729194402694702, -0.27612292766571045, -0.477592408657074, 0.612910807132721, -0.3998686969280243, -0.26007989048957825, -0.18767882883548737, 0.14343667030334473, -1.2786355018615723, -0.27324530482292175, 0.43874114751815796, -0.6936430931091309, -0.07036847621202469, -0.1856791228055954, -0.9232147932052612, -0.4618210792541504, -0.23455992341041565, -0.22608253359794617, 0.3632890582084656, -0.5529491305351257, 0.6183887124061584, 0.04018115624785423, 0.07596247643232346, -0.45990222692489624, -0.7727436423301697, 0.1204795390367508, -0.4472827613353729, -0.6545600295066833, 0.1995583325624466, 0.030040821060538292, -0.4410242438316345, 0.13529562950134277, -0.43989336490631104, 0.0230687465518713, 0.07249459624290466, 0.1593758910894394, 0.30590271949768066, -0.2193300724029541, 0.41923731565475464, 0.15046076476573944, -0.06738102436065674, 0.2173817902803421, -0.32712993025779724, 0.07325209677219391, 0.15311965346336365, -0.5137194395065308, -0.720245361328125, 0.15741702914237976, 0.7226701974868774, 0.42151233553886414, 0.8124403357505798, 0.9041063785552979, -0.5774268507957458, -0.17946968972682953, -1.0278027057647705, -0.39613157510757446, -0.3938373923301697, 0.318830668926239, -0.04430915415287018, -0.8471984267234802, 0.24377863109111786, -0.29106977581977844, -0.00757488003000617, 0.719279408454895, 0.6125078797340393, -0.0651707723736763, 1.1772116422653198, 0.4405604302883148, -0.3407117426395416, 0.23433570563793182, 0.2686096131801605, 0.44628286361694336, -0.28167009353637695, -0.442146360874176, -0.6369491219520569, -0.3652999699115753, -0.5709363222122192, -0.43484851717948914, 0.6799979209899902, 0.05906904861330986, 0.04799111559987068, 0.061189573258161545, -0.3571080267429352, 0.5419073700904846, 0.35210829973220825, -0.03892118111252785, 0.5358319878578186, 0.42729291319847107, -0.10743221640586853, 0.0009274230105802417, -0.7703564763069153, -0.45567843317985535, 0.858275830745697, 0.38225242495536804, 0.9550965428352356, -0.021887222304940224, 0.7030017375946045, 0.5490499138832092, 0.35151398181915283, -0.6329973340034485, 0.5011899471282959, -0.06827175617218018, -0.5816488265991211, -0.04329439625144005, -0.3560589551925659, -0.3552832305431366, 0.3209719657897949, -0.5619706511497498, -0.862690269947052, -0.06552089005708694, 0.16063052415847778, -0.2546384036540985, 0.42460259795188904, -0.6609809398651123, 0.5030243992805481, 0.033071864396333694, -0.35045909881591797, -0.6570692658424377, -0.2471732497215271, 0.7436189651489258, -0.18746064603328705, 0.5407253503799438, -0.11947683990001678, -0.1548837274312973, 0.5429048538208008, -0.20579299330711365, 0.9926155805587769, -0.2942933738231659, -0.25120145082473755, 0.3075946569442749, 0.12123852223157883, 0.6213618516921997, 0.24845585227012634, -0.18840952217578888, -0.07169649004936218, -0.3580567240715027, 0.23445658385753632, -0.3471755087375641, 0.8310493230819702, -0.514069676399231, -0.8550279140472412, -0.39337998628616333, -0.5642871260643005, -0.23237024247646332, -0.09383382648229599, 0.40348973870277405, -0.018923576921224594, -0.010109743103384972, -0.07887914776802063, 0.9635652303695679, -0.06550426781177521, 0.34691402316093445, 0.6940426826477051, -0.4038817584514618, -0.21166592836380005, 0.556513249874115, -0.09491384029388428, -0.1972540318965912, 0.21526367962360382, 0.053711775690317154, -0.3437528610229492, -0.591093122959137, -0.303067684173584, 0.07720529288053513, -0.7358090877532959, -0.4007859230041504, -0.5075236558914185, -0.3267524540424347, -0.18511250615119934, 0.1515437364578247, -0.15403421223163605, -0.3838183879852295, -0.6539456248283386, -0.257190078496933, 0.3604445457458496, 0.9882094860076904, -0.18441222608089447, 0.41655030846595764, -0.9465572834014893, 0.3038710057735443, 0.2707769274711609, -0.07437913864850998, -0.15221595764160156, -0.5187591910362244, -0.49096789956092834, 0.1355533003807068, -0.3826124668121338, -1.2987358570098877, 0.25958770513534546, -0.1728716343641281, 0.6507853269577026, 0.7147375345230103, -0.2538403868675232, 0.6541183590888977, -0.2686452269554138, 1.0180697441101074, 0.3927311897277832, -0.8325140476226807, 0.7392070293426514, -0.20138853788375854, 0.0036150359082967043, 0.2307719886302948, 0.7256102561950684, -0.4716596305370331, -0.6758893132209778, -0.40572360157966614, -0.3370908796787262, 0.8369252681732178, 0.04917459189891815, 0.06990233063697815, -0.2105933576822281, 0.4742618501186371, 0.2988536059856415, 0.23561520874500275, -0.7901343107223511, -0.14995472133159637, 0.12112545222043991, -0.08496285229921341, 0.05879206955432892, -0.47494930028915405, -0.23648041486740112, -0.07460598647594452, 0.811313271522522, -0.13968442380428314, 0.20082120597362518, 0.36992117762565613, -0.35167229175567627, -0.14805644750595093, 0.16837403178215027, 0.6123485565185547, 0.8435368537902832, 0.2492009401321411, 0.30107560753822327, 0.26144763827323914, -0.060606472194194794, -0.171926349401474, -0.09010008722543716, 0.0692022517323494, 0.439531534910202, 0.35980892181396484, 0.44778743386268616, 0.012707117013633251, -0.40924981236457825, 0.4795725345611572, 0.011217478662729263, -0.32652175426483154, -0.3855563700199127, 0.34145212173461914, 0.287906676530838, 0.5006494522094727, 0.7993372678756714, 0.13556839525699615, 0.237748384475708, -0.46401527523994446, 0.2724161148071289, 0.40273919701576233, -0.3717278242111206, -0.35349979996681213, 0.5019826889038086, 0.06720064580440521, -0.01564117707312107, 0.4294004440307617, -0.12224023789167404, -0.6641181111335754, 0.522671103477478, 0.4873833954334259, 0.7374433279037476, -0.24218867719173431, 0.31742602586746216, 0.3423815965652466, 0.4784274697303772, -0.05964991822838783, 0.25311198830604553, 0.02755715511739254, -0.8600848913192749, -0.37743937969207764, -0.4949114918708801, -0.1919344961643219, 0.3489951491355896, -0.2330009937286377, 0.5931337475776672, -0.22489523887634277, -0.11191918700933456, 0.06812790781259537, -0.27393749356269836, -0.564090371131897, 0.30395787954330444, 0.5143780708312988, 1.3313087224960327, -0.9488913416862488, 0.4861409068107605, 0.5348919630050659, -0.16275344789028168, -0.5118580460548401, 0.5386847257614136, 0.4753735065460205, -0.6812543869018555, 0.7448932528495789, 0.3907090723514557, -0.023652393370866776, -0.26670292019844055, -0.6191465258598328, -0.4499584436416626, 0.9963286519050598, 0.3436580002307892, -0.839034378528595, 0.2203287035226822, 0.128031924366951, 0.2846704125404358, -0.7138630747795105, 0.20109021663665771, 0.623599112033844, 0.7003204822540283, 0.14619457721710205, -0.6323274374008179, -0.10607787221670151, 0.28253817558288574, -0.19352522492408752, -0.1713242530822754, -0.201841801404953, 0.8100300431251526, -0.22492794692516327, -0.08401089906692505, -0.1213340014219284, 0.7437257766723633, 0.3168570399284363, 0.5715757012367249, 0.7459675669670105, 0.7069811820983887, 0.6988031268119812, -0.20659524202346802, 0.7955717444419861, -0.405001699924469, 0.061709657311439514, 0.8271976709365845, -0.006538846995681524, 0.7379626035690308, 0.4848306179046631, -0.17770738899707794, 0.8460210561752319, 0.983296275138855, 0.03753603994846344, 0.24159836769104004, 0.20065569877624512, -0.7072725296020508, -0.46198770403862, -0.11632699519395828, -0.3286805748939514, 0.13851717114448547, 0.6660631895065308, -0.44735342264175415, -0.3765740394592285, -0.13445597887039185, 0.22942373156547546, -0.09367875009775162, -0.6497200727462769, 0.7515373826026917, -0.05083978921175003, -0.842033326625824, 0.3242509365081787, -0.00303179444745183, 0.6483592987060547, -0.37044787406921387, 0.07522112876176834, -0.34359461069107056, 0.18331795930862427, -0.6605325937271118, -0.9599683284759521, 0.44558095932006836, 0.24387076497077942, -0.2470315545797348, 0.14394736289978027, 1.0776889324188232, -0.617988646030426, -0.48752039670944214, 0.15324801206588745, 0.8127853870391846, 0.3933701813220978, -0.5311490893363953, -0.5119606852531433, 0.32735586166381836, 0.09610166400671005, -0.19102530181407928, 0.09245530515909195, 0.6488983631134033, 0.0728892832994461, 0.4377431273460388, 0.5291860103607178, -0.10868985950946808, 0.1758943349123001, 0.12873433530330658, 0.982230007648468, -0.3666934370994568, -0.2824145555496216, -0.9393894672393799, 0.5504932999610901, -0.3293795883655548, 0.1932162493467331, 0.7969956994056702, 0.7088028192520142, 0.5369755625724792, -0.2887115478515625, 1.0850998163223267, 0.2235201895236969, 0.5388556718826294, -0.6771354675292969, 0.5182726383209229, -0.7474336624145508, 0.3137207627296448, -0.10170791298151016, -1.2050710916519165, -0.2805187702178955, 0.3213883638381958, -0.039900895208120346, 0.07953222841024399, 0.9094333052635193, 0.8775257468223572, -0.06787054240703583, 0.21625147759914398, 0.3778148889541626, 0.4927487373352051, 0.08937502652406693, 0.29123038053512573, 0.9377790093421936, -0.08237878233194351, 0.6104656457901001, 0.08589522540569305, -0.19857382774353027, -0.5821511149406433, -1.1054539680480957, -0.8850581645965576, -0.30188098549842834, -0.4342634081840515, -0.34820055961608887, 0.13158075511455536, 0.5551943182945251, 0.6406909227371216, -0.8043935298919678, 0.023723376914858818, -0.3757473826408386, 0.6478753089904785, 0.021273592486977577, -0.28746911883354187, -0.15930239856243134, -0.7041530609130859, -0.7537890672683716, 0.7134737968444824, 0.39136311411857605, 0.06751596927642822, -0.35295161604881287, -0.06998694688081741, -0.012547298334538937, 0.15113568305969238, 0.6122854948043823, -0.04144533351063728, -0.8852773308753967, -0.3413722813129425, -0.19466178119182587, 0.12168130278587341, -0.28966856002807617, 0.7625487446784973, -1.0513921976089478, 0.12049347162246704, 0.4661182463169098, 0.4582970440387726, 0.47124361991882324, 0.006345352157950401, 0.3754562735557556, -0.7322138547897339, -0.1401403248310089, -0.02875780314207077, 0.27250948548316956, 0.2759968340396881, -0.6107900738716125, 0.42355892062187195, 0.5377340316772461, -0.3117882013320923, -0.6098344922065735, 0.23736247420310974, -0.7674055099487305, -0.32815131545066833, 1.1955482959747314, 0.038961056619882584, -0.18423669040203094, -0.060783371329307556, -0.07938971370458603, 0.19827218353748322, -0.39801037311553955, 0.917024552822113, 0.7969377636909485, -0.3162161111831665, -0.07559321075677872, -0.4711456894874573, 0.6250564455986023, 0.24655847251415253, -1.0022813081741333, -0.013227537274360657, 0.7482509613037109, 0.4565925896167755, 0.22391849756240845, 0.302087664604187, -0.12469983845949173, 0.5328832864761353, -0.2456388771533966, -0.20773935317993164, -0.10654555261135101, -0.5902901887893677, -0.12481749057769775, -0.031026098877191544, -0.18156039714813232, -0.13991770148277283 ]
http://arxiv.org/abs/2402.10424v1
http://arxiv.org/pdf/2402.10424v1
Understanding In-Context Learning with a Pelican Soup Framework
2024-02-16T03:20:14
2024-02-16T03:20:14
Ting-Rui Chiang, Dani Yogatama
cs.CL
cs.CL, cs.AI
Many existing theoretical analyses of in-context learning for natural language processing are based on latent variable models that leaves gaps between theory and practice. We aim to close these gaps by proposing a theoretical framework, the Pelican Soup Framework. In this framework, we introduce (1) the notion of a common sense knowledge base, (2) a general formalism for natural language classification tasks, and the notion of (3) meaning association. Under this framework, we can establish a $\mathcal{O}(1/T)$ loss bound for in-context learning, where $T$ is the number of example-label pairs in the demonstration. Compared with previous works, our bound reflects the effect of the choice of verbalizers and the effect of instruction tuning. An additional notion of \textit{atom concepts} makes our framework possible to explain the generalization to tasks unseen in the language model training data. Finally, we propose a toy setup, Calcutec, and a digit addition task that mimics types of distribution shifts a model needs to overcome to perform in-context learning. We also experiment with GPT2-Large on real-world NLP tasks. Our empirical results demonstrate the efficacy of our framework to explain in-context learning.
[ -0.10433011502027512, -0.9093980193138123, 0.5729525089263916, 0.20903564989566803, -0.07825244963169098, -0.18803927302360535, -0.2806199789047241, -0.24553075432777405, -0.33236056566238403, 0.2564457952976227, -0.19205032289028168, -0.2921159565448761, -0.4838240444660187, 0.04980747774243355, -0.3476604223251343, 0.9650260806083679, -0.1319923996925354, 0.00399826280772686, -0.09999267011880875, 0.02269391529262066, -0.5592865943908691, -0.4341669976711273, -0.6238582134246826, -0.48405784368515015, 0.3813767433166504, 0.37836429476737976, 0.47372931241989136, 0.7919983863830566, 0.29447001218795776, 0.20447038114070892, -0.08616144955158234, -0.18885529041290283, -0.45485150814056396, 0.049662429839372635, -0.3471739888191223, -0.5070256590843201, -0.38013723492622375, 0.251863032579422, 0.6904297471046448, 1.2284791469573975, -0.042067889124155045, -0.11353325843811035, 0.3931904137134552, 0.44687116146087646, -0.7806350588798523, 0.2839244306087494, -0.6003887057304382, 0.19987107813358307, -0.26578786969184875, -0.1580384224653244, -0.47463420033454895, 0.12223263829946518, 0.5699793696403503, -0.6660769581794739, 0.28411543369293213, -0.14206565916538239, 0.648698091506958, 0.15466991066932678, -0.7432793974876404, -0.40338948369026184, -0.5332026481628418, 0.8365246057510376, -0.4442383944988251, 0.5009517669677734, 0.5857396125793457, 0.33293968439102173, -0.1348768174648285, -0.756593644618988, -0.6601584553718567, 0.10632766783237457, 0.012325223535299301, -0.08892271667718887, 0.051952555775642395, 0.05247537046670914, 0.02699836529791355, 0.5292220115661621, -0.5345720052719116, -0.2856196165084839, -0.13399793207645416, 0.04616672173142433, 0.3428928256034851, 0.0042048487812280655, 0.348675936460495, 0.14242185652256012, -0.4291585683822632, 0.010132977738976479, -0.8056232929229736, 0.12322146445512772, -0.07193901389837265, 0.2846066653728485, -0.38299891352653503, 0.2252558022737503, 0.10100109875202179, 0.9939805865287781, 0.06352033466100693, -0.022688983008265495, 0.26402485370635986, -0.3251575529575348, -0.5067651867866516, 0.06604472547769547, 0.4453117549419403, 0.2999635636806488, 0.3248717486858368, -0.4266999363899231, 0.022800881415605545, 0.0014911190373823047, 0.09143463522195816, -0.6056544184684753, -0.32885006070137024, -0.23941127955913544, -0.25156524777412415, -0.2641342282295227, 0.20017856359481812, -0.2673403322696686, -0.19138044118881226, -0.37073078751564026, 0.3779556453227997, -0.46865567564964294, -0.28689005970954895, 0.19217181205749512, -0.34134072065353394, 0.3070763349533081, 0.23246778547763824, -1.096614956855774, 0.7893015146255493, 0.7798025012016296, 0.9632009863853455, 0.07665562629699707, -0.46800264716148376, -0.5808348059654236, 0.4491616487503052, -0.292532354593277, 0.6730770468711853, -0.7152331471443176, -0.1313430368900299, -0.19644902646541595, 0.03924350067973137, -0.4407806098461151, -0.4627026319503784, -0.16957439482212067, -0.3006516695022583, 0.45302271842956543, -0.14829140901565552, -0.8151407241821289, -0.4300794303417206, 0.3930967450141907, -0.40616169571876526, 0.7198173403739929, 0.29843494296073914, -0.7639997005462646, 0.38930585980415344, -0.7935199737548828, -0.4932660758495331, -0.0002976581745315343, -0.2601637542247772, 0.174525186419487, 0.15897542238235474, -0.24716126918792725, 0.608928382396698, -0.33305591344833374, 0.30854281783103943, -0.3013068735599518, -0.5482933521270752, 0.43640071153640747, -0.48538118600845337, 0.720257043838501, 0.05233914032578468, -0.4317772388458252, -0.15379182994365692, -0.41086456179618835, -0.2445525825023651, 0.017960259690880775, -0.6539525389671326, -0.5463998317718506, -0.027193132787942886, 0.045593515038490295, 0.010820434428751469, -0.13244937360286713, -0.3194938004016876, 0.18570590019226074, -0.9324211478233337, 0.7342718839645386, 0.5179007649421692, 0.09631490707397461, 1.1653873920440674, -0.13584282994270325, 0.2677990198135376, -0.11868613958358765, -0.022863540798425674, -0.24947743117809296, -0.3449108600616455, -0.44541075825691223, 0.09855537861585617, 0.2867560088634491, 0.49671757221221924, -0.4934825897216797, 0.1485370695590973, -0.09916123747825623, 0.03358589857816696, 0.02306259796023369, 0.1859334409236908, 0.42352259159088135, 0.9043843150138855, 0.2970505952835083, -0.20183482766151428, -0.32850149273872375, -0.8899149894714355, -0.342049241065979, 0.0110195716843009, -0.34666377305984497, 0.30495232343673706, 0.4371911585330963, -0.08697046339511871, 1.1160176992416382, -0.23302926123142242, -0.2286147177219391, -0.28803303837776184, -0.0720098465681076, 0.27827921509742737, 0.47394824028015137, 0.44038787484169006, -1.2349568605422974, -0.6415588855743408, -0.018039733171463013, -0.739637553691864, 0.019604535773396492, 0.03655320033431053, 0.12895536422729492, 0.04593205824494362, 0.3622558116912842, -0.15129636228084564, 0.2956312596797943, 0.36260753870010376, -0.48159924149513245, 0.057582274079322815, -0.06808195263147354, -0.17345386743545532, -1.1911541223526, -0.17264202237129211, 0.25954052805900574, -0.174733504652977, -0.9161199927330017, 0.00807141326367855, 0.19288276135921478, -0.04530029743909836, -0.6080713868141174, 0.6625182628631592, -0.16853144764900208, 0.04299719259142876, -0.1734495609998703, 0.09496712684631348, 0.22067752480506897, 0.3251684308052063, 0.16639211773872375, 0.8516271710395813, 0.5660568475723267, -0.917975902557373, 0.11914253979921341, -0.1262635439634323, -0.014325047843158245, 0.4484177827835083, -0.6641773581504822, 0.15609653294086456, -0.06904580444097519, 0.34205684065818787, -0.5969868898391724, -0.3397590219974518, 0.7271631956100464, -0.28049734234809875, 0.30589914321899414, -0.23399090766906738, -0.2996201813220978, 0.11923147737979889, -0.14071166515350342, 0.5285776257514954, 0.17876487970352173, -0.45998328924179077, 0.5332258939743042, 0.5316064357757568, 0.09857676178216934, -0.34863805770874023, -0.7680047154426575, -0.024851735681295395, -0.496214359998703, -0.4723230004310608, 0.7108239531517029, -0.12618355453014374, -0.5973777174949646, -0.000480121118016541, -0.2105889916419983, -0.3975370228290558, 0.40808001160621643, 0.3164145052433014, -0.21783983707427979, -0.1872709095478058, 0.4477706253528595, 0.048325370997190475, -0.16416676342487335, 0.04205400124192238, -0.40351253747940063, 0.5174379348754883, -0.5834013819694519, -0.10211795568466187, -0.08279120922088623, 0.2778399884700775, 0.19859696924686432, -0.020176198333501816, 0.634238600730896, 0.24446646869182587, -0.5503540635108948, -0.2808566391468048, 0.02683470956981182, -0.13938026130199432, -0.41596290469169617, 0.3163272440433502, -0.4717012643814087, -0.5111979246139526, 0.3014666438102722, -0.1319064348936081, -0.15273892879486084, 0.19596335291862488, 0.29862141609191895, -0.1512136161327362, 0.8682235479354858, 0.7565650939941406, 0.07556642591953278, 0.5273482203483582, -0.5424879193305969, 0.13522681593894958, -0.8811979293823242, -0.14388643205165863, -0.179978147149086, -0.23537786304950714, -0.08537257462739944, -0.4325965940952301, 0.20716169476509094, 0.4589185118675232, -0.4101722836494446, 0.2998226284980774, -0.2384987324476242, 0.8694774508476257, 0.5545480847358704, 0.05421650782227516, 0.13029150664806366, -0.1635991483926773, -0.10444562882184982, 0.1959468573331833, -0.8860305547714233, -0.6077719330787659, 1.0108376741409302, 0.352272093296051, 0.46960458159446716, 0.13952864706516266, 0.6238235235214233, 0.23875027894973755, 0.2671954333782196, -0.8518590927124023, 0.23328183591365814, -0.000773623411078006, -0.48300278186798096, -0.32090991735458374, -0.32796645164489746, -0.8529279828071594, 0.3116835057735443, 0.005549932364374399, -0.7249688506126404, 0.11385174840688705, 0.36083248257637024, -0.1385958045721054, 0.11185886710882187, -0.9100581407546997, 1.1231276988983154, -0.2301737517118454, -0.41870737075805664, -0.03192095831036568, -0.6871456503868103, 0.1982477605342865, 0.07105937600135803, 0.364993155002594, 0.07237111032009125, -0.1472233384847641, 0.6274824142456055, -0.33446013927459717, 0.9707051515579224, -0.18430955708026886, -0.01278388500213623, 0.1411595642566681, 0.12275577336549759, 0.33078083395957947, 0.24235323071479797, -0.11601187288761139, 0.02888360433280468, 0.09271395951509476, -0.4730207622051239, -0.7420833706855774, 0.42607295513153076, -0.5587664842605591, -0.12801167368888855, -0.5535478591918945, -0.6510022282600403, -0.18061208724975586, 0.09143170714378357, 0.3750075399875641, 0.589975893497467, -0.19345290958881378, 0.3432285785675049, 0.7670606374740601, 0.05770028010010719, 0.35417017340660095, 0.5431199073791504, 0.01807531900703907, -0.02835577167570591, 0.9010646939277649, 0.16440226137638092, 0.18645241856575012, 0.7334093451499939, 0.4945172667503357, -0.23002992570400238, -0.45821407437324524, -0.29168277978897095, 0.029093636199831963, -0.7883402705192566, 0.03723819553852081, -0.3033531904220581, 0.15865503251552582, -0.3722441792488098, -0.3267700672149658, 0.05550079047679901, -0.029091851785779, -0.3555128574371338, 0.1351373791694641, 0.016813552007079124, 0.8304294347763062, 0.18450100719928741, 0.4962890148162842, -0.5229589939117432, 0.13921569287776947, 0.4237572252750397, 0.41996702551841736, 0.10873153805732727, -0.42059263586997986, -0.4421091079711914, 0.29778388142585754, -0.4160307049751282, -1.1745728254318237, 0.3216021656990051, 0.6556237936019897, 0.5425280332565308, 0.5525622963905334, 0.034341972321271896, 0.5256333947181702, -0.4217877686023712, 0.7465185523033142, 0.008901216089725494, -1.1734007596969604, 0.6110755205154419, -0.46675577759742737, 0.20944282412528992, 0.4756411612033844, 0.30937016010284424, -0.8634728789329529, -0.20258887112140656, -0.6918714046478271, -0.9100719094276428, 0.5677813291549683, 0.0399632528424263, 0.19679459929466248, -0.33519601821899414, 0.35179609060287476, 0.22871418297290802, 0.2366618514060974, -0.8187118768692017, -0.0805635154247284, -0.3240894377231598, -0.3710941970348358, -0.1728987842798233, -0.045915547758340836, -0.059954047203063965, -0.23936785757541656, 0.5756215453147888, -0.44094422459602356, 0.048567917197942734, 0.02103426307439804, -0.7233773469924927, 0.055204521864652634, 0.23610323667526245, 0.38824567198753357, 0.8706564903259277, -0.20630675554275513, 0.5577778816223145, 0.2315916121006012, -0.2101907730102539, -0.030427785590291023, -0.0596211776137352, -0.048847269266843796, -0.3317851722240448, 0.6118026971817017, 0.6262637376785278, 0.894745945930481, -0.5803788304328918, 0.6472204327583313, -0.19675752520561218, -0.061288975179195404, -0.2744376063346863, 0.2678694725036621, 0.15953701734542847, 0.29855474829673767, 0.4816780090332031, -0.0007647143793292344, 0.40167415142059326, -0.7518042325973511, 0.24101555347442627, 0.19841045141220093, -0.3699972331523895, -0.5004146695137024, 0.19944129884243011, 0.1837533414363861, -0.5902590155601501, 0.4864020049571991, -0.2791041135787964, -0.5319516658782959, 0.610819399356842, 1.0115607976913452, 0.587274968624115, 0.03656986355781555, 0.12908945977687836, -0.1505429446697235, -0.13762322068214417, -0.16786962747573853, -0.016184676438570023, -0.5945144891738892, -0.9199635982513428, -0.2700155973434448, -0.49136725068092346, -0.4623962640762329, 0.13790284097194672, -0.5866293907165527, -0.012228264473378658, -0.4386601448059082, 0.221992626786232, -0.03377415984869003, -0.054261207580566406, -0.7016356587409973, -0.056528158485889435, 0.13962723314762115, 0.7829346656799316, -1.1134960651397705, 0.8977270722389221, 0.9234545230865479, -0.38999414443969727, -0.9582776427268982, 0.25042998790740967, 0.05896710604429245, -0.49458712339401245, 0.7770206332206726, 0.3356128931045532, 0.07585229724645615, 0.038638293743133545, -0.4497019350528717, -0.8576244115829468, 1.0328420400619507, 0.45085588097572327, -0.3720315396785736, -0.17441301047801971, -0.11381956189870834, 0.29806363582611084, -0.7307879328727722, -0.004581884481012821, 0.5709640383720398, 0.2872113883495331, -0.08277544379234314, -0.9854699373245239, -0.19720971584320068, -0.36404868960380554, 0.010422500781714916, 0.15438400208950043, -0.09294690191745758, 1.1228163242340088, 0.08741921186447144, -0.38059738278388977, -0.34494680166244507, 0.34598857164382935, 0.13916049897670746, 0.7132593989372253, 0.43358469009399414, 0.3098682463169098, 0.7248746156692505, 0.06892680376768112, 1.1970958709716797, -0.03703539818525314, 0.45219582319259644, 1.263738989830017, -0.159891277551651, 0.6907027959823608, 0.7163523435592651, -0.27340778708457947, 0.438851535320282, 0.8276609778404236, 0.33575230836868286, 0.5378902554512024, 0.11333522200584412, -0.29436925053596497, -0.14635708928108215, -0.13014112412929535, -0.36088550090789795, 0.47785601019859314, 0.5525094866752625, -0.5395373702049255, -0.4802948832511902, 0.2737313508987427, -0.07170189917087555, 0.315206915140152, -0.3255736529827118, 0.8990707397460938, 0.19683833420276642, -0.24396061897277832, 0.5694912075996399, -0.11691100150346756, 0.5962280035018921, -0.3571271598339081, -0.33396944403648376, 0.015693726018071175, 0.29623329639434814, 0.041323959827423096, -0.7584955096244812, 0.3370738625526428, -0.2695457935333252, -0.5772226452827454, -0.34224241971969604, 0.6515849232673645, -0.4694702625274658, -0.24630750715732574, 0.21782611310482025, 0.39175453782081604, 0.2903715968132019, -0.2801390290260315, -0.7292061448097229, -0.09346763044595718, -0.37757381796836853, -0.20995229482650757, 0.5858364701271057, 0.46715453267097473, -0.00942067988216877, 0.5649189949035645, 0.3006095886230469, 0.08863544464111328, -0.11760947108268738, 0.0416867621243, 0.6604146361351013, -0.3984195590019226, -0.6154162287712097, -0.8560381531715393, 0.16728730499744415, 0.016645733267068863, -0.2970653772354126, 0.7238110899925232, 0.436631977558136, 1.241191029548645, -0.011343243531882763, 0.7150207161903381, -0.078069306910038, 0.2970806360244751, -0.4681677222251892, 0.5515949726104736, -0.357374370098114, 0.30178704857826233, -0.218349888920784, -0.9463151693344116, -0.4958118200302124, 1.116631031036377, -0.6825171709060669, -0.2333202213048935, 0.7126218676567078, 0.5194671154022217, -0.3446735739707947, 0.044776879251003265, 0.13428489863872528, 0.03729972243309021, 0.20678840577602386, 0.7620357275009155, 0.6469802856445312, -0.4762287735939026, 0.21613745391368866, -0.4728488624095917, -0.20822076499462128, -0.07422343641519547, -0.8223122358322144, -0.7136399745941162, -0.8462738394737244, 0.020938539877533913, -0.20902925729751587, 0.11137843132019043, 1.180809736251831, 0.8938684463500977, -0.5723406076431274, -0.40598997473716736, -0.5652382969856262, 0.35571709275245667, -0.3516956865787506, -0.28541192412376404, 0.2188635617494583, -0.5243286490440369, -0.6913797855377197, 0.651229977607727, 0.28014323115348816, 0.07982860505580902, 0.20703193545341492, -0.5159267783164978, -0.2582593858242035, -0.2549678385257721, 0.6610346436500549, 0.3533502519130707, -0.7082246541976929, -0.28207090497016907, -0.15607166290283203, 0.2651856243610382, -0.028791554272174835, 0.8704513907432556, -1.116595983505249, 0.29454857110977173, 0.42295339703559875, 0.5210984349250793, 0.25833165645599365, -0.11451530456542969, 0.9310356378555298, -0.8780381083488464, 0.17712925374507904, 0.28820207715034485, 0.32766368985176086, 0.3330060839653015, -0.24673296511173248, 0.4675822854042053, 0.40956422686576843, -0.3467042148113251, -0.9758344888687134, 0.4421218931674957, -0.5634552240371704, -0.5256264805793762, 0.9688106775283813, -0.11581740528345108, -0.40814071893692017, -0.3118125796318054, 0.0030316782649606466, 0.3560006618499756, -0.38606879115104675, 0.548829972743988, 0.44359293580055237, -0.2423594892024994, -0.08336517959833145, -0.27411508560180664, 0.4385836124420166, 0.11627162992954254, -0.5193342566490173, 0.1410626620054245, 0.33551025390625, 0.5823790431022644, 0.07640577107667923, 0.6040678024291992, 0.26660147309303284, 0.3151945471763611, -0.14690439403057098, -0.3243938088417053, -0.21411462128162384, -0.6372460126876831, -0.5737650990486145, 0.2985858619213104, -0.013518230058252811, -0.1351885050535202 ]
http://arxiv.org/abs/2402.10422v2
http://arxiv.org/pdf/2402.10422v2
Pushing the Limits of Zero-shot End-to-End Speech Translation
2024-02-16T03:06:37
2024-06-05T20:56:20
Ioannis Tsiamas, Gerard I. Gállego, José A. R. Fonollosa, Marta R. Costa-jussà
cs.CL
cs.CL
Data scarcity and the modality gap between the speech and text modalities are two major obstacles of end-to-end Speech Translation (ST) systems, thus hindering their performance. Prior work has attempted to mitigate these challenges by leveraging external MT data and optimizing distance metrics that bring closer the speech-text representations. However, achieving competitive results typically requires some ST data. For this reason, we introduce ZeroSwot, a method for zero-shot ST that bridges the modality gap without any paired ST data. Leveraging a novel CTC compression and Optimal Transport, we train a speech encoder using only ASR data, to align with the representation space of a massively multilingual MT model. The speech encoder seamlessly integrates with the MT model at inference, enabling direct translation from speech to text, across all languages supported by the MT model. Our experiments show that we can effectively close the modality gap without ST data, while our results on MuST-C and CoVoST demonstrate our method's superiority over not only previous zero-shot models, but also supervised ones, achieving state-of-the-art results.
[ -0.1549098789691925, -0.6503654718399048, 0.4455703794956207, -0.3659985065460205, -0.73897784948349, 0.11248884350061417, -0.4322502315044403, -0.46431398391723633, 0.2656221389770508, 0.435455322265625, -0.6396768689155579, -0.5594759583473206, -0.5793226361274719, 0.025991855189204216, -0.4612290859222412, 0.970535397529602, -0.07405835390090942, -0.08869818598031998, -0.22832880914211273, -0.3366866111755371, -0.6224639415740967, -0.5619485974311829, -0.3718896508216858, -0.11775899678468704, 0.33834898471832275, 0.4069342315196991, 0.6042719483375549, 0.7622453570365906, 0.14693833887577057, 0.06603709608316422, -0.03978680819272995, 0.04509681090712547, -0.5204681158065796, 0.430790513753891, -0.12652179598808289, -0.3680460453033447, -0.12856736779212952, -0.16396096348762512, 0.37390393018722534, 0.8206977844238281, -0.025185396894812584, 0.11603371053934097, -0.3088235557079315, 0.14574524760246277, -0.44338348507881165, -0.24773021042346954, -0.5362330675125122, 0.1286722719669342, -0.5821336507797241, -0.32534196972846985, -0.4921644628047943, -0.17427438497543335, -0.12817367911338806, -0.3011394739151001, 0.06182388588786125, 0.025832146406173706, 0.9111315608024597, 0.4907214641571045, -0.8297057747840881, 0.03640478104352951, -0.7362368702888489, 0.6622119545936584, -0.564491331577301, 0.6241767406463623, 0.15284228324890137, 0.2872324287891388, -0.06667674332857132, -0.14283329248428345, -0.5971379280090332, -0.1966402530670166, 0.40594157576560974, 0.216172993183136, -0.3362043499946594, 0.06785845011472702, -0.05420295149087906, 0.16821573674678802, -0.8651283979415894, 0.17521218955516815, -0.5041927695274353, 0.08477666974067688, 0.45151078701019287, -0.11696653813123703, 0.20257973670959473, -0.15711542963981628, -0.39038968086242676, -0.14412853121757507, -0.6037608981132507, 0.013896120712161064, 0.09491978585720062, 0.4106282591819763, -0.22193242609500885, 0.7387445569038391, -0.1282465010881424, 0.6352035403251648, -0.15576115250587463, 0.3647956848144531, 0.34718185663223267, -0.21799948811531067, -0.3529714047908783, 0.2775552272796631, 0.9013705849647522, 0.24562251567840576, 0.02424044720828533, -0.5658875703811646, -0.0860232561826706, 0.17987535893917084, -0.10732297599315643, -0.6230306625366211, 0.38921278715133667, 0.21286790072917938, 0.09543197602033615, -0.17424951493740082, -0.2661883533000946, -0.3758049011230469, 0.11479320377111435, -0.2803017497062683, 0.484712153673172, -0.38595107197761536, -0.23687265813350677, 0.13142158091068268, -0.165178582072258, 0.34514835476875305, 0.11838706582784653, -0.5617450475692749, 0.20978154242038727, 0.27114278078079224, 1.1570545434951782, -0.1497325897216797, -0.028176045045256615, -0.5165852904319763, 0.43116721510887146, -0.7346934676170349, 0.7301464676856995, -0.6057466864585876, -0.39576536417007446, -0.20594681799411774, -0.19012892246246338, -0.14331908524036407, -0.1750190109014511, 0.8719837665557861, -0.13780686259269714, 0.32689058780670166, -0.09137868881225586, -0.5069764256477356, -0.11038777232170105, 0.020388919860124588, -0.2184579223394394, 0.7931348085403442, 0.18827804923057556, -0.16340167820453644, 0.19120514392852783, -0.7514511346817017, -0.7432594895362854, 0.09751731902360916, -0.25557440519332886, -0.18368084728717804, 0.6418984532356262, 0.15834279358386993, 0.32735663652420044, -0.4967974126338959, 0.31122177839279175, -0.26359209418296814, -0.3295579254627228, 0.17360305786132812, -0.6410578489303589, 0.6514596343040466, 0.18609124422073364, -0.2440032809972763, 0.17376919090747833, -0.37143877148628235, -0.03959454223513603, 0.36348116397857666, 0.07475509494543076, -0.4524760842323303, -0.25919288396835327, 0.23916849493980408, 0.46868735551834106, 0.03255612775683403, -0.9752025008201599, 0.15715891122817993, -0.4177146255970001, 0.791425347328186, 0.7637863159179688, -0.28384286165237427, 0.4850124418735504, -0.3268239498138428, 0.4606674015522003, -0.10530782490968704, 0.030170343816280365, -0.26395225524902344, -0.3174391984939575, -0.5221677422523499, -0.22269602119922638, 0.3532409071922302, 0.4807456135749817, -0.7900477051734924, 0.5135663151741028, -0.6839765310287476, -0.3723280429840088, -0.816108226776123, -0.48654666543006897, 0.08813720941543579, 0.551270067691803, 0.5006600618362427, -0.4204959571361542, -0.2238978147506714, -0.7283881902694702, 0.005734041333198547, 0.17414401471614838, -0.32989591360092163, 0.13828662037849426, 0.1905355453491211, 0.031460441648960114, 0.7650110125541687, -0.24918030202388763, -0.3624095320701599, -0.287007600069046, 0.059786826372146606, 0.17080049216747284, 0.5655361413955688, 0.36107775568962097, -0.5111222863197327, -0.4495537579059601, 0.23060697317123413, -0.566245436668396, -0.2645289897918701, -0.40820157527923584, -0.022197267040610313, 0.14819593727588654, 0.28212621808052063, -0.6397804021835327, 0.5369219779968262, 0.6586868762969971, -0.2994900643825531, 0.20262514054775238, -0.14524896442890167, 0.27879953384399414, -0.9105752110481262, 0.20678409934043884, -0.30155250430107117, -0.5340548157691956, -1.0822473764419556, 0.0793718695640564, -0.06556754559278488, -0.5122658610343933, -0.4766485095024109, 0.4180411398410797, -0.22385184466838837, 0.10079247504472733, -0.19260413944721222, 0.3360356092453003, -0.10013911873102188, 0.6490234732627869, 0.1204327866435051, 0.6277037858963013, 0.46262460947036743, -0.24699756503105164, 0.12788505852222443, 0.48106688261032104, 0.2137191891670227, 0.8441941738128662, -0.6478397846221924, 0.4058760404586792, -0.12163710594177246, 0.2994527220726013, -0.9251484274864197, -0.11330967396497726, 0.2863132953643799, -0.8847199082374573, 0.47329041361808777, -0.09946835786104202, -0.3434779942035675, -0.02375786006450653, -0.1459285020828247, 0.49164456129074097, 0.6205334663391113, -0.16239997744560242, 0.18103326857089996, 0.1275075078010559, -0.1982189118862152, -0.19799575209617615, -1.0443915128707886, 0.6364741921424866, 0.06281013786792755, -0.6491614580154419, 0.35982540249824524, -0.16128091514110565, 0.36207807064056396, -0.08193541318178177, -0.46213191747665405, -0.19947998225688934, -0.2671540379524231, 0.134700745344162, 0.17752495408058167, 0.011744053103029728, 0.01584073156118393, 0.4299250543117523, -0.33111584186553955, -0.42131543159484863, -0.4605411887168884, 0.5998244285583496, 0.2712172865867615, -0.6418688297271729, -0.4275098145008087, 0.7386821508407593, 0.8468839526176453, -0.2708090841770172, 0.5576069951057434, 0.41149306297302246, -0.31166234612464905, -0.032124172896146774, -0.3730635643005371, 0.0386318601667881, -0.36357128620147705, 0.19391557574272156, -0.35942816734313965, -1.0725630521774292, 0.07367753237485886, -0.001242724247276783, 0.09770634770393372, 0.23990660905838013, 0.21091920137405396, 0.05428139492869377, 0.8512405157089233, 0.6372842192649841, 0.07546769082546234, 0.33262646198272705, -0.03835759684443474, 0.4080830514431, -0.7477623820304871, -0.2403547614812851, -0.5061889886856079, -0.35883277654647827, -0.22796061635017395, -0.8925459980964661, 0.459854394197464, 0.021633539348840714, -0.258759081363678, 0.7585252523422241, -0.7670798897743225, 0.38880378007888794, 0.5527113676071167, -0.03154316172003746, 0.26046109199523926, 0.10114617645740509, 0.001508894725702703, -0.261380136013031, -0.7337031364440918, 0.02213672734797001, 0.9306260347366333, 0.11634885519742966, 0.30052751302719116, 0.2866540551185608, 0.589067280292511, 0.2709504961967468, -0.0997808650135994, -0.8127942681312561, 0.46389877796173096, -0.3610176742076874, -0.4897957146167755, -0.4669151306152344, -0.5138394832611084, -0.6825567483901978, 0.3844773769378662, 0.04660766199231148, -0.4293246269226074, 0.2871394455432892, -0.3281521797180176, -0.04169000685214996, 0.3239291310310364, -0.34296709299087524, 0.6710350513458252, -0.3239646852016449, -0.41833239793777466, -0.07179983705282211, -0.9366195201873779, 0.05905376374721527, -0.10187314450740814, 0.2369779646396637, -0.2796650826931, -0.19615404307842255, 0.45196256041526794, -0.4748065769672394, 0.5794530510902405, -0.09663320332765579, 0.09285280108451843, 0.11141777038574219, 0.3651946485042572, 0.4843389391899109, -0.6567093729972839, 0.0006664160755462945, 0.608052134513855, -0.04225949943065643, -0.5554015040397644, -0.3312382698059082, 0.33087435364723206, -0.6033009886741638, -0.2186262160539627, -0.3987567722797394, -0.6523663997650146, -0.15697360038757324, 0.2069728523492813, 0.3821820616722107, 0.3869688808917999, -0.04763416945934296, 0.3686298727989197, 0.49802640080451965, -0.11320308595895767, 0.536949872970581, 0.5255469679832458, 0.36466288566589355, -0.5831126570701599, 0.8920584321022034, 0.3635561764240265, 0.5428608059883118, 0.46398964524269104, 0.09638790786266327, -0.5706080198287964, -0.630698561668396, -1.0087388753890991, 0.2594359517097473, -0.3418130874633789, -0.41553032398223877, -0.5521009564399719, -0.2299482375383377, -0.5770697593688965, -0.8716696500778198, -0.5937226414680481, -0.5659449100494385, -0.2087089866399765, -0.11055081337690353, 0.23021697998046875, 0.3111361265182495, -0.43579715490341187, 0.3917144536972046, -0.6615582704544067, 0.13291557133197784, -0.18394674360752106, 0.20443513989448547, -0.18497592210769653, -0.9056624174118042, -0.10941562801599503, 0.10263360291719437, -0.06438805907964706, -0.9508431553840637, 0.6302463412284851, 0.3265400230884552, 0.21290206909179688, 0.3311847746372223, 0.4062359035015106, 1.2160202264785767, -0.633091151714325, 0.8579258322715759, 0.724665641784668, -1.2409319877624512, 0.5211014151573181, -0.42242270708084106, 0.481838196516037, 0.4605310559272766, 0.19493331015110016, -1.0892211198806763, -0.43068164587020874, -0.4056321680545807, -1.0660121440887451, 0.5126748085021973, 0.46026483178138733, 0.2147514671087265, -0.04938575625419617, 0.06240125000476837, 0.14465241134166718, 0.38619133830070496, -0.6254001259803772, 0.02429690584540367, -0.3462839722633362, -0.2381991297006607, 0.03533283248543739, 0.12212581932544708, -0.0422087162733078, -0.09665775299072266, 0.33305975794792175, -0.07822927087545395, 0.329738050699234, 0.3746379017829895, -0.2365996539592743, -0.4688459634780884, 0.5668256878852844, 0.7699546217918396, 0.1556282490491867, -0.06734827160835266, 0.06671145558357239, 0.3146056532859802, -0.10272485017776489, 0.387207955121994, 0.07789165526628494, -0.32758209109306335, 0.25349825620651245, 0.2872135639190674, 0.7651222348213196, 0.2115754336118698, -0.7563899159431458, 0.8410578966140747, 0.27654939889907837, -0.3093970715999603, -0.10938774049282074, -0.445642352104187, -0.21120300889015198, 0.021864503622055054, 0.3654061555862427, 0.24068816006183624, -0.0041061588563025, -0.27289333939552307, 0.4145221710205078, 0.340497761964798, -0.8088927268981934, -0.44702503085136414, 1.0085002183914185, 0.21483595669269562, -0.23552969098091125, 0.41050925850868225, -0.1663033366203308, -0.1202746331691742, 0.15148094296455383, 0.6978145837783813, 1.0285905599594116, -0.3775055706501007, 0.24953718483448029, 0.08627762645483017, 0.40940409898757935, 0.11692806333303452, 0.018595481291413307, -0.4074207544326782, -0.15673893690109253, -0.7543949484825134, -0.4784029424190521, -0.43478766083717346, -0.1616392880678177, -0.6095967292785645, 0.3437618613243103, -0.20041806995868683, 0.07953713834285736, -0.525646448135376, -0.4003406763076782, -0.47457417845726013, -0.09745098650455475, 0.3631107807159424, 0.7519768476486206, -0.8283193111419678, 0.8719066977500916, 0.21977373957633972, -0.44588208198547363, -0.3736535310745239, -0.4217945635318756, 0.08211314678192139, -0.6831523180007935, 0.20725186169147491, 0.07493322342634201, -0.2717282176017761, 0.032101165503263474, -0.650306224822998, -0.8445228934288025, 0.997391402721405, 0.622246265411377, -0.7752425074577332, -0.034236714243888855, 0.5050095319747925, 0.4451976418495178, -0.16351306438446045, 0.2439163327217102, 0.2379082888364792, 0.2797229290008545, 0.7055202722549438, -1.100743055343628, 0.0822223350405693, -0.025790952146053314, -0.05992588773369789, 0.39038586616516113, -0.5412644147872925, 0.636268138885498, 0.017471475526690483, -0.4923914074897766, -0.04726431518793106, 0.4495351314544678, -0.04713873937726021, 0.37712588906288147, 0.2607198655605316, 0.6208585500717163, 0.4067554771900177, -0.0361768901348114, 0.6002129316329956, -0.08743155002593994, 0.19612884521484375, 1.2129937410354614, -0.45373430848121643, 0.9946399331092834, 0.4328024983406067, 0.193379744887352, -0.019073795527219772, 0.4601925313472748, 0.07234930992126465, 0.5503393411636353, 0.11436793208122253, -0.39056918025016785, -0.3616642355918884, -0.7141954302787781, -0.3590548038482666, 0.5189588069915771, 0.22993649542331696, 0.058177921921014786, -0.4518686532974243, 0.2788172662258148, 0.4106473922729492, 0.12196923792362213, -0.06411153823137283, 0.48230671882629395, 0.047829557210206985, -0.18650966882705688, 0.8694598078727722, -0.01583160273730755, 0.7772937417030334, -0.7821940183639526, 0.16756558418273926, -0.2803192734718323, -0.32550060749053955, 0.0061438786797225475, -0.44465503096580505, 0.5509194135665894, 0.1369548887014389, 0.2422008365392685, -0.5195024013519287, 0.4459494948387146, -0.703330934047699, -0.2363557517528534, 0.2745800018310547, 0.5648961663246155, 0.3737832307815552, -0.18464690446853638, -0.37257641553878784, 0.08972352743148804, 0.10026713460683823, 0.08463311940431595, 0.2656481862068176, 0.5417699813842773, 0.030161095783114433, 0.48727771639823914, 0.963197648525238, 0.2610674202442169, 0.03100043162703514, -0.14115937054157257, 0.8449889421463013, -0.8235055804252625, -0.4048413336277008, -0.7640746235847473, 0.5314319729804993, 0.0047100926749408245, -0.2786361873149872, 0.555226743221283, 0.5766335129737854, 0.7999558448791504, 0.30921027064323425, 0.9009479880332947, -0.2189999371767044, 0.3420628607273102, -0.0305804256349802, 0.5602774024009705, -0.6312443614006042, -0.18653318285942078, 0.017856959253549576, -0.4759089946746826, -0.6157299280166626, 0.3521934449672699, -0.21105322241783142, -0.5481095910072327, 0.6007554531097412, 0.588914155960083, 0.016815021634101868, -0.07387960702180862, 0.9718355536460876, 0.1365526169538498, 0.5098719596862793, 0.7982296347618103, 0.487393319606781, -0.5623458027839661, 1.0044386386871338, 0.08808267116546631, -0.28784650564193726, -0.07067631185054779, -0.6729635000228882, -0.7089338898658752, -0.49849531054496765, -0.22163064777851105, -0.031375207006931305, 0.22038310766220093, 0.9637342095375061, 0.8265000581741333, -0.48753616213798523, -0.26269322633743286, -0.13918964564800262, -0.1618197113275528, -0.2730492651462555, -0.12326342612504959, 0.227484330534935, -0.11870891600847244, -0.6478420495986938, 0.7250099778175354, 0.6506735682487488, 0.1982649862766266, -0.05704464763402939, 0.056142713874578476, -0.02808406762778759, 0.3406321704387665, 0.7159646153450012, 0.3267189860343933, -0.626223087310791, -0.4699539244174957, 0.2881998121738434, 0.26157650351524353, 0.2068883180618286, 0.7351694703102112, -0.6571110486984253, 0.5651906132698059, 0.2809882164001465, 0.7286445498466492, 0.6054419279098511, -0.2475907802581787, 0.6177833080291748, -0.8124757409095764, 0.16809585690498352, 0.47689956426620483, -0.11366131156682968, 0.266396701335907, -0.1342088282108307, 0.48659127950668335, 0.33135125041007996, -0.4703371226787567, -0.9927534461021423, 0.35789811611175537, -1.194133996963501, -0.33511263132095337, 0.9469225406646729, 0.13836197555065155, -0.2200012505054474, -0.23799410462379456, -0.006327114999294281, 0.4895273447036743, -0.6360962390899658, 0.371236652135849, 0.3116244375705719, -0.2106710970401764, -0.3317584693431854, -0.8048946261405945, -0.11376441270112991, 0.4667496681213379, -0.4462581276893616, 0.20441429316997528, 0.45234617590904236, 0.09378241002559662, -0.07189686596393585, 0.6126102805137634, -0.03571559116244316, -0.018744494765996933, 0.1895739883184433, 0.15649008750915527, -0.3897389769554138, -0.2135244905948639, -0.5294094085693359, 0.2631860375404358, -0.3593898415565491, -0.4949985146522522 ]
http://arxiv.org/abs/2402.10416v1
http://arxiv.org/pdf/2402.10416v1
Grounding Language about Belief in a Bayesian Theory-of-Mind
2024-02-16T02:47:09
2024-02-16T02:47:09
Lance Ying, Tan Zhi-Xuan, Lionel Wong, Vikash Mansinghka, Joshua Tenenbaum
cs.AI
cs.AI, cs.CL
Despite the fact that beliefs are mental states that cannot be directly observed, humans talk about each others' beliefs on a regular basis, often using rich compositional language to describe what others think and know. What explains this capacity to interpret the hidden epistemic content of other minds? In this paper, we take a step towards an answer by grounding the semantics of belief statements in a Bayesian theory-of-mind: By modeling how humans jointly infer coherent sets of goals, beliefs, and plans that explain an agent's actions, then evaluating statements about the agent's beliefs against these inferences via epistemic logic, our framework provides a conceptual role semantics for belief, explaining the gradedness and compositionality of human belief attributions, as well as their intimate connection with goals and plans. We evaluate this framework by studying how humans attribute goals and beliefs while watching an agent solve a doors-and-keys gridworld puzzle that requires instrumental reasoning about hidden objects. In contrast to pure logical deduction, non-mentalizing baselines, and mentalizing that ignores the role of instrumental plans, our model provides a much better fit to human goal and belief attributions, demonstrating the importance of theory-of-mind for a semantics of belief.
[ -0.56651771068573, -0.6675834059715271, 1.1105624437332153, -0.07356587052345276, -0.17237131297588348, 0.0998108834028244, -0.20991569757461548, -0.1740330010652542, 0.17113712430000305, 0.44226232171058655, -0.5054702758789062, -0.5427824854850769, -0.5368687510490417, -0.3126472532749176, 0.2249414026737213, 0.7421112060546875, -0.013472199440002441, -0.28531959652900696, -0.34540122747421265, 0.14177201688289642, -0.4508163332939148, -0.3043234646320343, -0.37721362709999084, -0.6120405197143555, 0.48514413833618164, 0.1706196516752243, 0.9488002061843872, 0.5127590298652649, 0.17843550443649292, 0.12103515863418579, 0.10458256304264069, -0.2035389244556427, -0.30499884486198425, 0.2358291894197464, -0.6756032705307007, -1.01841402053833, -0.13048583269119263, 0.2030019909143448, 0.4537808895111084, 0.737912118434906, -0.3168957531452179, -0.17213137447834015, -0.11147656291723251, 0.27706608176231384, -0.7329238653182983, 0.5932149291038513, -0.6335983276367188, 0.22417721152305603, 0.4500029981136322, -0.11509633809328079, -0.21140818297863007, -0.2988817095756531, 0.17231860756874084, -0.44155317544937134, 0.3574572503566742, -0.11036445945501328, 0.8776010274887085, 0.4142237901687622, -0.44962260127067566, 0.04583021253347397, -0.5085064172744751, 0.705784261226654, -0.4570055305957794, 0.37100809812545776, 0.7871116399765015, 0.2515752911567688, -0.3125506341457367, 0.04412167891860008, -0.8591384887695312, -0.2615201473236084, -0.17326048016548157, 0.27249664068222046, 0.04671165347099304, 0.3440791666507721, 0.5591008067131042, 0.21064810454845428, -0.34301871061325073, -0.46324169635772705, 0.28742319345474243, 0.0026646822225302458, 0.4385083019733429, -0.10194122791290283, 0.299517422914505, 0.11936010420322418, -0.14313118159770966, -0.23477178812026978, -0.5963013172149658, -0.03245797008275986, 0.027375904843211174, 0.07888723164796829, 0.06386496126651764, 0.4693223536014557, -0.6088086366653442, 0.4229980707168579, 0.10313806682825089, -0.14652173221111298, -0.17069613933563232, 0.2377355992794037, -0.2818056643009186, 0.16456818580627441, 0.04365479573607445, 0.5515018105506897, 0.24173040688037872, -0.4456225037574768, -0.18262889981269836, 1.1911442279815674, 0.4400802552700043, -0.5467624664306641, -0.23971574008464813, 0.10420208424329758, -0.42686131596565247, -0.16831757128238678, 0.22172217071056366, -0.32300904393196106, -0.5917995572090149, -0.3271770477294922, 0.6900477409362793, -0.33794596791267395, -0.5380181074142456, 0.4927464425563812, -0.4463368058204651, 0.25659021735191345, 0.4667414128780365, -0.8419756293296814, 0.7059221267700195, 0.9106329679489136, 0.3583758473396301, 0.25353652238845825, -0.4261395037174225, -0.2073580026626587, 0.6913300156593323, -0.5881943106651306, 0.7132490873336792, -0.7511445879936218, -0.37682196497917175, -0.17718252539634705, -0.0198659747838974, -0.014808012172579765, -0.0810546949505806, 0.5165705680847168, -0.20201466977596283, -0.023833969607949257, -0.8553124070167542, -0.9478596448898315, -0.4051623046398163, 0.23453876376152039, -0.16847288608551025, 0.3219795227050781, -0.07477843761444092, -0.5779211521148682, 0.7522199749946594, -0.6761277914047241, -0.32746654748916626, 0.04202334210276604, -0.7094535231590271, 0.12836256623268127, 0.6341657638549805, -0.17133714258670807, 0.4485735297203064, -0.37742727994918823, 0.4526570439338684, -0.3688545227050781, -0.2584727108478546, 0.5653097033500671, -0.38794639706611633, 0.5803901553153992, 0.09709958732128143, -0.7131466269493103, -0.29219239950180054, -0.554960310459137, 0.13649773597717285, 0.09786707907915115, -0.04437007009983063, -0.5657893419265747, 0.7626969814300537, -0.6724799275398254, 0.15401983261108398, 0.1700476109981537, -0.6704943180084229, 0.2820446193218231, -0.444940984249115, 0.14477793872356415, 0.5983874201774597, 0.06795579195022583, 0.5637306571006775, -0.5428916215896606, 0.06090168282389641, 0.10941567271947861, 0.08039576560258865, 0.02900470420718193, -0.7861859798431396, -0.528905987739563, -0.02315618097782135, -0.06466560065746307, 0.37515929341316223, -0.12702201306819916, 0.6234530210494995, -0.09133400022983551, -0.20897497236728668, -0.33133500814437866, -0.30092406272888184, 0.3233073651790619, 0.4120202958583832, 0.14256638288497925, -0.19074338674545288, -0.1598217785358429, -1.0456273555755615, -0.2899653911590576, -0.593499481678009, -0.1460479348897934, -0.07836506515741348, 0.6533066630363464, -0.2729482352733612, 1.1929874420166016, -0.9620175957679749, 0.08048027753829956, 0.07574683427810669, 0.26641008257865906, 0.17202159762382507, 0.598872721195221, 0.37003254890441895, -0.9244133234024048, -0.2230660617351532, 0.2162308394908905, -0.9117980599403381, 0.08175060153007507, -0.1353314369916916, -0.3396032154560089, -0.1615612506866455, -0.17035870254039764, -1.062625765800476, 0.9170738458633423, 0.008104941807687283, -0.7489478588104248, 0.2899876534938812, -0.08203058689832687, 0.2831452488899231, -0.8723136186599731, -0.4963589012622833, -0.030107107013463974, -0.09174324572086334, -0.43455687165260315, 0.363583505153656, -0.11297020316123962, 0.08231066167354584, 0.17740850150585175, 0.18267269432544708, -0.2716153860092163, -0.16438636183738708, -0.43056344985961914, 0.0004167015431448817, 0.14990830421447754, 0.6246255040168762, 0.6100083589553833, 0.29444998502731323, 0.7952989935874939, -0.558184027671814, 0.08484835177659988, 0.30707094073295593, -0.1743493527173996, 0.7671680450439453, -0.35840192437171936, -0.1414041817188263, -0.39187777042388916, 0.34069129824638367, -0.7932482361793518, -0.10046309977769852, 0.4131578207015991, -0.6373246908187866, 0.1218225508928299, -0.2980525493621826, -0.4429507553577423, 0.04422827437520027, 0.0783175453543663, -0.05651196464896202, 0.5466812252998352, -0.2602905035018921, 0.5050981044769287, 0.57966148853302, 0.06772875040769577, -0.2248823195695877, -0.5574544072151184, 0.13091646134853363, -0.33253011107444763, -0.42923489212989807, 0.6683452129364014, 0.052762240171432495, -0.9709016680717468, 0.18679192662239075, -0.5917528867721558, -0.1894366294145584, 0.29244163632392883, 0.5237962603569031, 0.10453157126903534, -0.16153503954410553, 0.37414807081222534, 0.4172289967536926, -0.32701370120048523, 0.43738576769828796, -0.8444992899894714, 0.09736490249633789, -0.2438577562570572, -0.5378628969192505, -0.1386813223361969, 0.7448096871376038, 0.3718017637729645, 0.1168142557144165, 0.9228394627571106, 0.11656516045331955, -0.8051429986953735, -0.28843024373054504, -0.41727414727211, -0.34740781784057617, -0.34670692682266235, -0.022030536085367203, -0.7226485013961792, -0.6067899465560913, 0.38924384117126465, -0.02563326060771942, -0.1503983438014984, 0.32642316818237305, 0.4697237014770508, -0.3535669147968292, 1.1025500297546387, 0.6574956178665161, 0.2033776193857193, 0.013326533138751984, -0.07391571253538132, 0.07254347205162048, -0.4345781207084656, -0.018002862110733986, -0.2983342409133911, -0.03033214621245861, -0.5327626466751099, -0.5343829989433289, 0.2195741832256317, 0.3279074430465698, -0.32283446192741394, 0.12155820429325104, -0.28864428400993347, 0.6490482091903687, 0.289791464805603, 0.3209892809391022, 0.14199908077716827, -0.04313793033361435, -0.3709506392478943, -0.01352622825652361, -0.48138758540153503, -0.8157945275306702, 0.7951653599739075, 0.4095161259174347, 0.7093362212181091, 0.37087661027908325, 0.6499447822570801, 0.4291993975639343, 0.11838928610086441, -0.8594133257865906, 0.43823692202568054, 0.3612823784351349, -0.9236411452293396, -0.20833919942378998, -0.126915842294693, -0.4746463894844055, 0.6529543995857239, -0.20579271018505096, -1.0899441242218018, 0.3391627371311188, 0.08475849777460098, -0.2125893384218216, 0.37400031089782715, -0.5503092408180237, 0.986582338809967, -0.016953416168689728, -0.3629555404186249, -0.7481100559234619, -0.7606496810913086, 0.03963841125369072, 0.2769036591053009, 0.06123074144124985, -0.05285317450761795, -0.008639557287096977, 0.6637218594551086, -0.5020334124565125, 1.0597678422927856, -0.3753022253513336, -0.4335903823375702, 0.43251749873161316, 0.1264926791191101, 0.5348659157752991, 0.27605119347572327, 0.2277580201625824, 0.06048472225666046, 0.24799109995365143, -0.4927827715873718, -1.0132579803466797, 0.42092862725257874, -0.884770393371582, -0.9185789227485657, -0.43062761425971985, -0.31245312094688416, -0.3921252191066742, 0.006466659717261791, 0.05306249111890793, 0.36122626066207886, -0.31892839074134827, -0.11553000658750534, 1.0931141376495361, -0.015283427201211452, -0.08964769542217255, 0.6475233435630798, -0.3165316879749298, 0.03369942680001259, 0.8851713538169861, -0.16436071693897247, 0.3780520260334015, 0.8337616920471191, 0.35756534337997437, -0.3714997470378876, -0.2513328790664673, 0.16998140513896942, 0.2261877804994583, -1.050328016281128, 0.31727802753448486, -0.6245905756950378, 0.2785714864730835, -0.2314557284116745, -0.20019258558750153, -0.2898789048194885, -0.33065056800842285, 0.007588058244436979, -0.4085666239261627, 0.0735418051481247, 0.6597985029220581, -0.18962796032428741, 0.3527962267398834, -0.5323505401611328, 0.47097140550613403, 0.5801816582679749, 0.20637351274490356, -0.14016874134540558, -0.13002637028694153, -0.31903600692749023, 0.5214986205101013, -0.17876562476158142, -1.2641688585281372, 0.054677318781614304, -0.08226475119590759, 0.8439631462097168, 0.5439417958259583, 0.054608117789030075, 0.6752216219902039, -0.3393803536891937, 0.3402971029281616, 0.09759838879108429, -1.0772895812988281, 0.7511736154556274, -0.5677324533462524, -0.06438679248094559, 0.48882073163986206, 0.3070491552352905, -0.5410781502723694, -0.4197508990764618, -0.8678839206695557, -0.022911114618182182, 0.28687724471092224, 0.2607819437980652, -0.20602849125862122, -0.32459142804145813, 0.43921512365341187, 0.2757298946380615, 0.4633783996105194, -0.4970315098762512, -0.2218802273273468, -0.4485405683517456, 0.004958282690495253, -0.17081880569458008, -0.0005415629711933434, -0.45001888275146484, -0.3443017899990082, 0.32229819893836975, -0.4375707805156708, 0.7209380865097046, 0.2176012545824051, -0.16686752438545227, -0.4709140658378601, 0.4369088411331177, 0.41679880023002625, 0.8028302788734436, -0.21837252378463745, 0.4034104645252228, -0.050290852785110474, -0.15089912712574005, 0.16051089763641357, -0.1896277666091919, -0.2718259394168854, -0.2821398377418518, 0.21917670965194702, 0.8251360058784485, 0.2938942611217499, -0.3604480028152466, 0.3557000458240509, -0.01300311740487814, -0.14970149099826813, -0.3204120397567749, 0.15503808856010437, 0.14298109710216522, 0.4679591953754425, 0.3839898705482483, 0.31272751092910767, 0.0026047020219266415, -1.1287330389022827, 0.2829609215259552, 0.36539992690086365, -0.26371270418167114, -0.6137199997901917, 0.5080282688140869, -0.283214807510376, -0.001019444433040917, 0.03340170159935951, -0.37383073568344116, -0.8787904977798462, 0.5230218768119812, 0.643792986869812, 0.9931422472000122, 0.12826032936573029, 0.5936892628669739, -0.11226791143417358, 0.3782655894756317, -0.20047229528427124, 0.4375256299972534, -0.394076943397522, -1.3507753610610962, -0.37978431582450867, -0.7132275700569153, -0.48815593123435974, -0.21160608530044556, -0.6841973662376404, -0.1847410500049591, -0.3165372312068939, -0.2604874074459076, -0.21887442469596863, 0.12592753767967224, -0.4705415368080139, 0.45138928294181824, 0.37800389528274536, 0.4855300784111023, -1.054970145225525, 0.7580134868621826, 0.7987703084945679, -0.49585267901420593, -0.6498779058456421, 0.4759460687637329, -0.10941513627767563, -0.5288717746734619, 0.6331453323364258, 0.027332505211234093, -0.13646599650382996, 0.11440849304199219, -0.7004839181900024, -0.8920149207115173, 0.8571194410324097, 0.2539388835430145, -0.29957303404808044, -0.10130498558282852, -0.21039727330207825, 0.4787219166755676, -0.6665393114089966, 0.03360544890165329, 0.4840092360973358, 0.6456167101860046, -0.08919043093919754, -0.5230660438537598, 0.17440202832221985, 0.009480944834649563, -0.19888931512832642, 0.1633932739496231, -0.4586234986782074, 0.9122591018676758, -0.11884097009897232, -0.2714892029762268, -0.2953900098800659, 0.6778537034988403, 0.3171667158603668, 0.23474982380867004, 0.41002601385116577, 0.697802722454071, 0.7733750939369202, -0.032131653279066086, 1.0123742818832397, -0.010000880807638168, 0.2989366054534912, 0.8754605054855347, -0.42243993282318115, 0.6160241961479187, 0.3740532696247101, -0.5014865398406982, 0.7199453711509705, 0.5052030086517334, 0.32107096910476685, 0.7547110915184021, 0.20146186649799347, -0.2610549330711365, -0.697911262512207, 0.03331202268600464, -0.21276944875717163, 0.4246666729450226, 0.7834281921386719, 0.001429285272024572, -0.11764277517795563, -0.18771126866340637, -0.3374882936477661, 0.15747876465320587, -0.32610365748405457, 0.6323567032814026, 0.07938995212316513, -0.830187201499939, 0.3143547475337982, -0.02369922213256359, 0.25471577048301697, -0.3637024462223053, -0.2722143828868866, 0.2568058669567108, 0.1577359437942505, -0.055429521948099136, -0.7598972320556641, 0.2477121651172638, -0.24810276925563812, -0.3225836753845215, -0.18978142738342285, 0.9719597101211548, -0.21375146508216858, -0.07076667994260788, 0.14013688266277313, 0.591143012046814, 0.23016653954982758, -0.3915511667728424, -0.5653029084205627, -0.1437494456768036, -0.15905296802520752, -0.019487710669636726, 0.43607527017593384, 0.5673956274986267, -0.19632913172245026, 0.5856141448020935, 0.4624198377132416, 0.2851050794124603, -0.15968602895736694, -0.04595624655485153, 0.7865790128707886, -0.8535205125808716, -0.8799828886985779, -0.8245536684989929, 0.35774269700050354, -0.012835786677896976, 0.08188977092504501, 0.6013705134391785, 0.11089543998241425, 0.7574355006217957, -0.1250862330198288, 1.1691009998321533, -0.15449360013008118, 0.2509111762046814, -0.41121286153793335, 0.7775875926017761, -0.3528957664966583, 0.06741385161876678, -0.5028942823410034, -1.0894666910171509, -0.02286015823483467, 1.3886380195617676, -0.34214070439338684, -0.26172584295272827, 0.7907755374908447, 0.3658903241157532, 0.30402180552482605, 0.3720848560333252, 0.6294598579406738, 0.27542296051979065, 0.1381748765707016, 0.5156777501106262, 1.3064894676208496, -0.17193253338336945, -0.283046156167984, -0.1871775984764099, -0.4500464200973511, 0.03331029415130615, -0.5847463607788086, -0.9273176789283752, -0.5350962281227112, -0.5404458045959473, -0.11113359034061432, -0.10776069760322571, 0.9845906496047974, 0.404904305934906, -0.6591419577598572, -0.36066752672195435, -0.45813626050949097, 0.43312615156173706, -0.5103850364685059, -0.22718890011310577, -0.16332994401454926, -0.1690244823694229, -0.3133060932159424, 0.5276760458946228, 0.5033606886863708, -0.005496353376656771, -0.32572734355926514, -0.1958097219467163, -0.11575827747583389, 0.20220091938972473, 0.5433315634727478, 0.10191614925861359, -1.0087907314300537, -0.7441408038139343, -0.32862532138824463, 0.10046067088842392, -0.03103092685341835, 0.7622693181037903, -0.934371829032898, 0.32906341552734375, 0.33429306745529175, 0.24041377007961273, 0.26550352573394775, 0.017044246196746826, 0.7575811147689819, -0.25333690643310547, -0.07639402151107788, 0.236564502120018, 0.4266461730003357, -0.11640625447034836, -0.27245858311653137, 0.4029686152935028, 0.5722246766090393, -0.2423444241285324, -0.7173587679862976, 0.6554325222969055, -0.7285398840904236, -0.4209561049938202, 0.7378612160682678, -0.350276917219162, -0.3110705316066742, -0.258310467004776, -0.15437805652618408, 0.3374013602733612, -0.45139846205711365, 0.7000592947006226, 0.8389384150505066, 0.016887633129954338, 0.003518685232847929, -0.3763308525085449, 0.47841736674308777, 0.3179512619972229, -0.6121221780776978, 0.11091344058513641, 0.6315182447433472, 0.14083468914031982, 0.3920997381210327, 0.5769174695014954, 0.3801495432853699, 0.13952237367630005, 0.5921299457550049, -0.19581952691078186, 0.41321316361427307, -0.44361940026283264, 0.01046268455684185, 0.25242099165916443, 0.036324482411146164, -0.09261221438646317 ]
http://arxiv.org/abs/2402.10412v2
http://arxiv.org/pdf/2402.10412v2
Measuring and Reducing LLM Hallucination without Gold-Standard Answers
2024-02-16T02:32:06
2024-06-06T18:33:02
Jiaheng Wei, Yuanshun Yao, Jean-Francois Ton, Hongyi Guo, Andrew Estornell, Yang Liu
cs.CL
cs.CL, cs.AI, cs.LG
LLM hallucination, i.e. generating factually incorrect yet seemingly convincing answers, is currently a major threat to the trustworthiness and reliability of LLMs. The first step towards solving this complicated problem is to measure it. However, existing hallucination metrics require having a benchmark dataset with gold-standard answers, i.e. "best" or "correct" answers written by humans. Such requirements make hallucination measurement costly and prone to human errors. In this work, we propose Factualness Evaluations via Weighting LLMs (FEWL), an innovative hallucination metric that is specifically designed for the scenario when gold-standard answers are absent. FEWL leverages the answers from off-the-shelf LLMs that serve as a proxy of gold-standard answers. The key challenge is how to quantify the expertise of reference LLMs resourcefully. We show FEWL has certain theoretical guarantees and demonstrate empirically it gives more accurate hallucination measures than naively using reference LLMs. We also show how to leverage FEWL to reduce hallucination through both in-context learning and supervised fine-tuning. Extensive experiment results on Truthful-QA, CHALE, and HaluEval datasets demonstrate the effectiveness of FEWL.
[ -0.47260767221450806, -0.7014087438583374, 0.8107839226722717, 0.037212248891592026, -0.08962064981460571, -0.13842502236366272, -0.16336779296398163, -0.45313560962677, 0.3785082995891571, 0.4241383969783783, -0.7854118347167969, -0.6151177287101746, -0.4707805812358856, 0.47501400113105774, -0.25497567653656006, 1.0704090595245361, 0.2194259762763977, 0.09838800132274628, -0.5144805312156677, -0.40453478693962097, -0.2328331470489502, -0.3751430809497833, -0.1688394397497177, -0.5688042640686035, 0.6073366403579712, 0.39554673433303833, 0.6853370666503906, 0.23698587715625763, 0.624522864818573, 0.1587354987859726, -0.07626711577177048, 0.5924106240272522, -0.803013801574707, -0.3603627383708954, 0.03189236670732498, -0.6193429231643677, -0.6018837094306946, 0.09136208146810532, 0.20494018495082855, 0.9120655655860901, -0.12226756662130356, 0.4628232717514038, 0.15785294771194458, 0.9270682334899902, -0.6324863433837891, -0.14117516577243805, -0.7836561799049377, 0.36206910014152527, -0.04136183112859726, -0.5804315209388733, -0.32609814405441284, -0.5228713154792786, -0.15074411034584045, -0.5270475745201111, 0.4397127032279968, 0.10619395971298218, 0.7149495482444763, 0.816731870174408, -0.11719558387994766, -0.3814530372619629, -0.7682235836982727, 0.8325129151344299, -0.6947888731956482, 0.47416946291923523, 0.7046425938606262, 0.23698122799396515, -0.05464714393019676, -0.48987793922424316, -0.4479147493839264, -0.47753819823265076, -0.31706899404525757, 0.08749350905418396, 0.05726856738328934, -0.09335236251354218, 0.4851109981536865, 0.17839141190052032, -0.7609124779701233, -0.17666207253932953, -0.3005654513835907, -0.42011526226997375, 0.5215076804161072, 0.25791922211647034, -0.10048756748437881, -0.20526759326457977, -0.2827204465866089, 0.2635555863380432, -0.8091081380844116, -0.37404170632362366, 0.24524812400341034, 0.17003774642944336, 0.18445700407028198, 0.6428194046020508, -0.19390076398849487, 0.293522447347641, 0.17019563913345337, -0.45784875750541687, 0.2399926483631134, -0.33846917748451233, -0.24716134369373322, 0.35419419407844543, 0.351083904504776, 0.3630317747592926, 0.23518113791942596, -0.6983298063278198, -0.26650917530059814, 0.3015942871570587, 0.308215856552124, -0.7791029810905457, -0.32919082045555115, 0.35442599654197693, -0.4447420537471771, -0.21031856536865234, 0.017341814935207367, -0.630681574344635, -0.6999735832214355, -0.2228759229183197, 0.5614698529243469, -0.3573872745037079, 0.06869464367628098, 0.08326087892055511, 0.03897302225232124, 0.23867174983024597, 0.41656991839408875, -0.7362747192382812, 0.6107724905014038, 0.6850906610488892, 0.9684458374977112, -0.5151116251945496, -0.14287644624710083, -0.8323317170143127, -0.04994462430477142, -0.5375369787216187, 0.8251470923423767, 0.049446746706962585, -0.36183983087539673, -0.21475492417812347, -0.10590900480747223, 0.19765529036521912, -1.0072559118270874, 0.7692250609397888, -0.4697888195514679, -0.0805170089006424, -0.6065122485160828, -0.6905953288078308, -0.20468558371067047, 0.5328797698020935, -0.6173944473266602, 0.8008577227592468, -0.022754700854420662, -0.6636649966239929, 0.4617755115032196, -0.27021390199661255, -0.28779396414756775, 0.09792057424783707, -0.23791278898715973, -0.45017677545547485, 0.33954575657844543, 0.1838606745004654, 0.28581950068473816, 0.03651449456810951, 0.08294127881526947, -0.37831205129623413, -0.8290998339653015, 0.5389083027839661, -0.488148957490921, 0.5572085976600647, 0.0814318135380745, -0.41466692090034485, -0.05415188521146774, -0.8394424915313721, -0.11913348734378815, -0.17217513918876648, -0.033762626349925995, -0.18912014365196228, -0.09724736213684082, -0.161800816655159, 0.061846643686294556, 0.22708219289779663, -0.4283527433872223, -0.16460058093070984, -0.5243880748748779, -0.23490430414676666, 0.8144491910934448, -0.07546205073595047, 0.26894959807395935, -0.7643678784370422, 0.21982699632644653, -0.1426653265953064, 0.09213985502719879, 0.5212163329124451, -0.2877540588378906, -0.9507379531860352, -0.23175372183322906, 0.015231060795485973, 0.5889233350753784, -0.38995909690856934, 0.6128202676773071, -0.3044990301132202, -0.29552212357521057, -0.8136586546897888, 0.6584831476211548, 0.2495451420545578, 0.6469202637672424, 0.607221245765686, -0.20218485593795776, -0.46248286962509155, -0.702573835849762, -0.23909109830856323, -0.28112074732780457, -0.2531569004058838, 0.36507704854011536, 0.59257572889328, -0.3031480610370636, 0.8894683122634888, -0.48701080679893494, -0.8640588521957397, 0.07105863839387894, 0.16081508994102478, 0.17695550620555878, 0.20514513552188873, 0.3231572210788727, -0.5057426691055298, -0.05346193164587021, -0.21403521299362183, -1.1289563179016113, -0.10542769730091095, -0.2481870800256729, 0.11126630008220673, 0.4417087733745575, 0.22560568153858185, -0.6671645641326904, 0.36198344826698303, 0.3493260443210602, -0.18348267674446106, 0.6724280118942261, -0.08435836434364319, 0.17331737279891968, -0.44927898049354553, 0.05895764008164406, -0.14488106966018677, -0.2772969603538513, -0.40397632122039795, -0.16048486530780792, -0.137800931930542, 0.3643282353878021, -0.4232039153575897, 0.456418514251709, -0.13246053457260132, -0.346475213766098, -0.19451645016670227, 0.40995967388153076, 0.0075778961181640625, 0.3820188045501709, 0.006329899653792381, 0.6582466959953308, 0.12364299595355988, -0.5720077753067017, 0.33710262179374695, 0.3629036843776703, -0.30329713225364685, 0.6665480136871338, -0.5420922636985779, 0.3214457929134369, -0.008590682409703732, 0.05481164902448654, -0.9624842405319214, -0.06667771935462952, 0.33270516991615295, -0.47748714685440063, -0.18709245324134827, 0.06688828766345978, -0.6149265170097351, -0.038228850811719894, -0.4444189965724945, 0.11464408040046692, 0.6317574977874756, -0.6487222909927368, 0.3590935468673706, -0.14553749561309814, 0.12005525827407837, -0.4458625614643097, -0.9058706164360046, 0.15496161580085754, -0.3297542333602905, -0.5535674095153809, 0.37411242723464966, -0.5302047729492188, -0.4482266902923584, -0.009604631923139095, -0.6637561917304993, 0.16781583428382874, 0.10353432595729828, 0.13047854602336884, 0.23366543650627136, -0.19473133981227875, 0.19716326892375946, -0.11697643250226974, -0.36688870191574097, 0.4051867127418518, -0.09388367831707001, 0.3335427939891815, -0.37838059663772583, -0.6479458808898926, -0.6737698912620544, -0.10214996337890625, 0.4565621316432953, 0.27265194058418274, 0.6514618396759033, 0.6975764036178589, -0.5452488660812378, -0.1247078999876976, -0.8493981957435608, -0.7002676129341125, -0.45548924803733826, 0.14866696298122406, -0.3841235935688019, -0.7397721409797668, 0.5833334922790527, -0.16663572192192078, 0.10899661481380463, 0.030304256826639175, 0.5835382342338562, -0.17306114733219147, 0.9447171688079834, 0.2838667929172516, 0.22381703555583954, -0.20483358204364777, -0.08613094687461853, 0.27660468220710754, -0.5671656727790833, -0.32455870509147644, -0.29288551211357117, -0.3736829161643982, -0.5420581698417664, -0.411893367767334, 0.525687575340271, -0.11021887511014938, -0.010157149285078049, -0.28281494975090027, -0.4390091300010681, 0.5625088810920715, 0.2005021870136261, 0.5167794823646545, 0.7109492421150208, 0.0211750790476799, 0.2712075412273407, -0.2813299298286438, -0.48277387022972107, -0.9146947860717773, 1.0727694034576416, 0.1573866456747055, 0.9265866875648499, 0.06407080590724945, 1.0496900081634521, 0.4462043046951294, 0.30010685324668884, -0.9518703818321228, 0.645898163318634, -0.023037031292915344, -0.6080352663993835, -0.4716661274433136, -0.6809850931167603, -0.5744717121124268, 0.24018481373786926, -0.3155216872692108, -0.6049494743347168, -0.06917888671159744, 0.14310947060585022, -0.6832072138786316, 0.2635468542575836, -0.17309430241584778, 0.5380106568336487, -0.32782623171806335, -0.5632355213165283, -0.19808067381381989, -0.556389570236206, 0.6286686062812805, -0.25602924823760986, 0.08076414465904236, -0.21794778108596802, -0.13649670779705048, 0.9325523376464844, -0.34959495067596436, 0.939355194568634, -0.04024222865700722, -0.1282530575990677, 0.1559727042913437, 0.24810579419136047, 0.6378876566886902, 0.3141835331916809, -0.13255633413791656, 0.17466071248054504, 0.0930672436952591, -0.41572150588035583, -0.7855605483055115, 0.9068859219551086, -0.8495113253593445, -0.5415483713150024, -0.41950052976608276, -0.57926344871521, -0.35258233547210693, -0.09589477628469467, 0.36036932468414307, 0.019935283809900284, -0.32866498827934265, 0.017657887190580368, 1.1603153944015503, 0.01134532317519188, 0.1034146323800087, 0.30705755949020386, -0.02393011376261711, -0.37261566519737244, 0.8919647932052612, 0.33350127935409546, 0.018254276365041733, 0.09371402114629745, 0.33179837465286255, -0.3740819990634918, -0.5138902068138123, -0.1830061972141266, 0.40379756689071655, -0.8784575462341309, -0.18004748225212097, -0.7346166968345642, -0.10198163986206055, -0.42971041798591614, -0.2866378128528595, -0.4167293608188629, -0.4079466760158539, -0.49437275528907776, -0.3579278886318207, 0.42993950843811035, 0.44805124402046204, -0.14271186292171478, 0.02754574455320835, -0.6614319682121277, 0.7903993129730225, 0.6073549389839172, 0.23868221044540405, -0.0755184143781662, -0.7121913433074951, -0.05420343577861786, -0.02040058560669422, -0.1436653435230255, -0.7273101806640625, 0.3659682273864746, 0.09491077065467834, 0.4512132704257965, 0.6738664507865906, 0.4710208773612976, 1.0547823905944824, -0.22062106430530548, 0.8126972913742065, 0.04933253675699234, -0.9745132327079773, 0.3233897387981415, 0.35726332664489746, -0.0904429703950882, 0.8701506853103638, 0.2700832784175873, -0.33330973982810974, -0.3670161962509155, -0.5456953048706055, -0.4718785881996155, 0.4103027284145355, 0.3810390830039978, -0.04623810946941376, 0.1258324384689331, 0.4133191704750061, 0.46567705273628235, 0.15075571835041046, -0.8356971144676208, -0.2631276249885559, -0.11433868855237961, -0.11718682944774628, -0.046852853149175644, -0.25589799880981445, -0.5706222057342529, -0.3463704288005829, 0.7839810848236084, -0.2588810324668884, 0.033896639943122864, 0.32842743396759033, -0.4660983681678772, -0.310698002576828, 0.10286779701709747, 0.6546241641044617, 0.810353696346283, -0.5331217050552368, 0.5049335360527039, 0.7790036797523499, -0.2650373578071594, 0.14168056845664978, -0.3497055172920227, -0.3203437924385071, 0.21759943664073944, 0.5369395017623901, 0.4461631178855896, -0.017312103882431984, -0.6718178391456604, 0.4807463586330414, 0.06540181487798691, -0.36606377363204956, -0.5755054354667664, 0.06612927466630936, -0.009486991912126541, 0.15815919637680054, 0.4051732122898102, 0.07375092804431915, 0.2581290900707245, -0.22980576753616333, 0.542797327041626, 0.4352082312107086, -0.553482711315155, -0.2907521426677704, 0.6084792613983154, 0.07073259353637695, -0.26784461736679077, 0.741392970085144, -0.36558201909065247, -0.17020706832408905, 0.5086144208908081, 0.5372008681297302, 0.9330877661705017, 0.14179953932762146, 0.26704955101013184, 0.2712828814983368, 0.6703824400901794, -0.1108594685792923, 0.25454574823379517, 0.006905344780534506, -0.7185266017913818, -0.21499735116958618, -0.6442675590515137, -0.469061940908432, 0.21645452082157135, -0.6369017362594604, 0.2575729191303253, -0.5169401168823242, -0.15691088140010834, -0.5047447681427002, 0.3109980523586273, -0.6605344414710999, 0.07814116030931473, 0.25415974855422974, 0.6765466332435608, -1.0812536478042603, 0.5201163291931152, 0.41117173433303833, -0.37379246950149536, -0.22759251296520233, 0.2523035407066345, 0.2264583855867386, -0.7344021201133728, 0.51303631067276, 0.3358982801437378, -0.49798107147216797, -0.05703381448984146, -0.7845808267593384, -0.511846661567688, 1.1354572772979736, 0.40203896164894104, -0.46047478914260864, 0.14150470495224, 0.20505106449127197, 0.47392430901527405, -0.10670915246009827, 0.01602553203701973, 0.8765235543251038, 0.7081634402275085, 0.27535784244537354, -0.5566087365150452, 0.23509366810321808, 0.1217200979590416, -0.2823643088340759, -0.24488213658332825, -0.5850074887275696, 0.3282608091831207, -0.520831286907196, -0.19990703463554382, 0.13214319944381714, 0.7379167675971985, 0.7422704100608826, 0.7488455176353455, 0.5501661896705627, 0.6414753198623657, 1.2237458229064941, 0.04705046862363815, 0.6238164305686951, -0.13743305206298828, 0.2796849310398102, 1.0649311542510986, -0.5752565860748291, 0.5202174186706543, 0.9371734261512756, -0.16439446806907654, 0.1331392377614975, 0.6642612218856812, -0.1196451410651207, 0.523806095123291, 0.30591124296188354, -0.38199323415756226, -0.6305274367332458, -0.0653543472290039, -0.16252976655960083, 0.11501947790384293, 0.2437557727098465, 0.17644670605659485, -0.15303152799606323, 0.01437035296112299, -0.03677928447723389, 0.11655101180076599, -0.04431147500872612, 0.8366237282752991, 0.416481614112854, -0.31320682168006897, 0.9187778234481812, -0.32091811299324036, 0.784102737903595, -0.37787821888923645, -0.0502287894487381, -0.699903130531311, 0.03569300100207329, -0.7035002708435059, -0.26115044951438904, 0.4120156168937683, 0.18176953494548798, -0.10933879762887955, 0.016388827934861183, 0.5119630694389343, -0.25623512268066406, -0.6827669739723206, 0.28202879428863525, 0.7077842950820923, 0.6141098141670227, -0.03468244522809982, -0.4140872657299042, -0.12563523650169373, -0.29795125126838684, -0.14899013936519623, 0.31735894083976746, 0.5458280444145203, 0.19259490072727203, 0.8564507961273193, 0.602437436580658, 0.349069744348526, 0.07137268036603928, 0.10440297424793243, 0.6292924284934998, -0.6206019520759583, -0.14738941192626953, -0.9917973875999451, 0.01660911925137043, 0.0658845528960228, -0.13923496007919312, 0.80216383934021, 0.5987170934677124, 0.7156286239624023, -0.03371930867433548, 0.6180887818336487, 0.22429458796977997, 0.23069961369037628, -0.6769697070121765, 0.8933132290840149, -0.8111894130706787, 0.6034770607948303, -0.30260470509529114, -0.9671921730041504, -0.5823385119438171, 0.8378034830093384, -0.010338908061385155, -0.14700055122375488, 0.9343985319137573, 1.1881229877471924, -0.003831601934507489, -0.11971551924943924, 0.7511236071586609, 0.17306891083717346, 0.025119759142398834, 0.5527835488319397, 0.853317141532898, -0.33947619795799255, 0.7111412882804871, -0.41148439049720764, -0.25185272097587585, -0.4438570737838745, -0.8190186023712158, -1.0798797607421875, -0.11419761925935745, -0.5739923715591431, -0.5422505736351013, 0.17712125182151794, 0.9942224025726318, 0.4365476071834564, -0.9652574062347412, -0.22155393660068512, 0.07181181758642197, 0.4011188745498657, -0.6002966165542603, -0.18087489902973175, 0.5335952639579773, -0.5293099284172058, -0.3785213232040405, 0.37613725662231445, 0.22427186369895935, 0.007948274724185467, -0.41867753863334656, -0.3951188921928406, 0.30066314339637756, 0.20285077393054962, 0.6092326045036316, -0.04474684223532677, -0.9981102347373962, -0.45967671275138855, 0.3090764880180359, -0.26393789052963257, 0.29629945755004883, 0.522341251373291, -0.9306308031082153, 0.20381174981594086, 0.4231856167316437, 0.6346230506896973, 0.2827592194080353, 0.09405824542045593, -0.10651298612356186, -0.6811779141426086, -0.0640978291630745, 0.43835872411727905, 0.07200409471988678, 0.3800466060638428, -0.5046678781509399, 0.6749894022941589, 0.48384883999824524, -0.4944825768470764, -0.9279077053070068, -0.0030010647606104612, -1.018454670906067, -0.18108518421649933, 1.0415807962417603, 0.04835263267159462, -0.21649658679962158, -0.2258068323135376, -0.0602339543402195, 0.19867490231990814, -0.1807217299938202, 1.4363205432891846, 0.7152178287506104, -0.4800497889518738, -0.0520344153046608, -0.4913204312324524, 0.635063111782074, 0.6240032315254211, -0.8741908073425293, 0.11718340963125229, 0.5572775602340698, 0.22199729084968567, 0.331574022769928, 0.6613963842391968, -0.06993968039751053, 0.27696436643600464, -0.027553383260965347, 0.07733441144227982, 0.05163070559501648, -0.5025234818458557, -0.28956690430641174, 0.26107728481292725, 0.19742275774478912, -0.05977707356214523 ]
http://arxiv.org/abs/2402.10409v1
http://arxiv.org/pdf/2402.10409v1
Understanding Survey Paper Taxonomy about Large Language Models via Graph Representation Learning
2024-02-16T02:21:59
2024-02-16T02:21:59
Jun Zhuang, Casey Kennington
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
As new research on Large Language Models (LLMs) continues, it is difficult to keep up with new research and models. To help researchers synthesize the new research many have written survey papers, but even those have become numerous. In this paper, we develop a method to automatically assign survey papers to a taxonomy. We collect the metadata of 144 LLM survey papers and explore three paradigms to classify papers within the taxonomy. Our work indicates that leveraging graph structure information on co-category graphs can significantly outperform the language models in two paradigms; pre-trained language models' fine-tuning and zero-shot/few-shot classifications using LLMs. We find that our model surpasses an average human recognition level and that fine-tuning LLMs using weak labels generated by a smaller model, such as the GCN in this study, can be more effective than using ground-truth labels, revealing the potential of weak-to-strong generalization in the taxonomy classification task.
[ -0.43136465549468994, -0.38936951756477356, 0.5286960005760193, -0.3119601905345917, -0.31986913084983826, 0.5155957937240601, -0.17891298234462738, -0.6421195864677429, 0.43195924162864685, 0.6029558777809143, -0.05628509074449539, -0.7186558246612549, -0.7391263246536255, 0.20626334846019745, -0.3183537721633911, 1.1394703388214111, -0.02812574990093708, -0.03566378355026245, -0.4487258195877075, -0.0002719084150157869, 0.04100358858704567, -0.49503931403160095, -0.6250735521316528, -0.4682735204696655, 0.9914270043373108, 0.1507127285003662, 0.5024779438972473, 0.6987982988357544, 0.528300404548645, 0.3098381757736206, -0.15794935822486877, 0.19591251015663147, -0.6613550186157227, -0.18425039947032928, 0.12326391041278839, -0.6997485756874084, -0.5323160290718079, 0.15353205800056458, 0.6033087372779846, 1.0544312000274658, 0.059647031128406525, 0.40530145168304443, 0.23968049883842468, 0.11958640813827515, -0.5041126012802124, 0.4962410032749176, -0.7644881010055542, -0.24319733679294586, -0.32004010677337646, -0.2547062337398529, -0.5529596209526062, -0.32068294286727905, -0.05838717892765999, -0.49551260471343994, 0.38512924313545227, 0.12375587224960327, 0.92107754945755, -0.15606920421123505, -0.7104977965354919, -0.3515929579734802, -0.5752176642417908, 0.43913987278938293, -0.44121259450912476, 0.20819558203220367, 0.4273785352706909, 0.21361371874809265, -0.06814223527908325, -0.7954407930374146, -0.11989959329366684, -0.21770958602428436, -0.11540765315294266, 0.12430962920188904, -0.17994830012321472, 0.20110656321048737, 0.22254760563373566, 0.31662529706954956, -0.6288474798202515, 0.45326581597328186, -0.34556812047958374, -0.2780972719192505, 0.5844573974609375, 0.27951961755752563, 0.031151333823800087, -0.2870771288871765, -0.07724801450967789, -0.02707267925143242, -0.6172967553138733, -0.07952558994293213, 0.23829591274261475, 0.6162714958190918, 0.05907031148672104, 0.5036596655845642, -0.00736360065639019, 1.0174616575241089, -0.024418428540229797, -0.2283993512392044, 0.2812707722187042, -0.13191011548042297, -0.18409961462020874, -0.3248308002948761, 0.7366001009941101, 0.088141068816185, 0.1266648769378662, -0.3267326056957245, -0.28969401121139526, 0.03625553846359253, 0.18296563625335693, -0.47487831115722656, -0.332674503326416, -0.27705514430999756, -0.3852783143520355, -0.3052150309085846, -0.046104948967695236, -0.2863348722457886, -0.3723440170288086, -0.5128427743911743, 0.25216391682624817, 0.04713723063468933, -0.2456461787223816, 0.0917297825217247, -0.14041177928447723, 0.16258619725704193, 0.5552088022232056, -0.9050896167755127, 0.5353267788887024, 0.8284758925437927, 0.8645472526550293, -0.2301102876663208, -0.14525821805000305, -0.2735719382762909, 0.24975810945034027, -0.5074928998947144, 0.966707706451416, -0.5332680940628052, -0.2812159061431885, -0.045278459787368774, 0.0010217142989858985, -0.14907293021678925, -0.67616868019104, 0.1581338346004486, -0.8008543252944946, 0.30799630284309387, -0.01730736903846264, -0.5088651776313782, -0.1469719409942627, 0.5825318098068237, -0.598307192325592, 0.7938915491104126, 0.337903767824173, -0.7662765979766846, 0.4955618679523468, -0.22452552616596222, -0.05987270176410675, 0.19215604662895203, -0.13577747344970703, -0.5719538927078247, 0.1880009025335312, -0.1021818071603775, 0.6300256848335266, -0.3019651770591736, 0.2770947515964508, -0.5726959109306335, -0.16155976057052612, 0.007527280133217573, 0.10267381370067596, 0.9534950256347656, 0.26713985204696655, 0.34892600774765015, 0.18905587494373322, -0.5411298274993896, -0.08018577843904495, 0.14515291154384613, -0.4833577573299408, -0.6275568604469299, -0.1609276384115219, -0.08784298598766327, 0.05808516964316368, 0.17177392542362213, -0.4067336618900299, 0.5959045886993408, -0.33371642231941223, 0.2623288929462433, 0.507279098033905, -0.02883627451956272, 0.46196413040161133, -0.3150780200958252, 0.6493310332298279, -0.2110346406698227, -0.1766330599784851, 0.1690213829278946, -0.4003806710243225, -0.623927652835846, -0.18945105373859406, 0.7325233221054077, 0.3735203146934509, -0.45157766342163086, 0.37419620156288147, -0.6967562437057495, -0.6384789347648621, -0.0738925114274025, 0.2876688838005066, 0.07124540954828262, 0.4584411382675171, 0.02452332153916359, -0.6467524766921997, -0.5494096279144287, -0.7355631589889526, 0.017425235360860825, -0.5876357555389404, -0.15512019395828247, 0.37945103645324707, 0.6026982069015503, -0.24502795934677124, 0.933521032333374, -0.7760676145553589, -0.3345722258090973, -0.23621635138988495, 0.5573428273200989, 0.1260722428560257, -0.04712359607219696, 0.5300039052963257, -0.5023860335350037, -0.3733105957508087, -0.2161872386932373, -0.5426319241523743, -0.1874905824661255, -0.004755998961627483, 0.14427578449249268, 0.07592520862817764, 0.5499280691146851, -0.40055450797080994, -0.022842874750494957, 0.4635486900806427, -0.07719767838716507, 0.43392232060432434, -0.048843707889318466, -0.49273842573165894, -1.1191571950912476, -0.150181382894516, 0.1695459932088852, -0.3543550670146942, -0.3365071415901184, 0.051047880202531815, -0.14813467860221863, -0.19988173246383667, -0.1294480860233307, 0.4997692108154297, -0.7204453349113464, -0.17023147642612457, -0.23292867839336395, 0.029613705351948738, -0.04596773907542229, 0.3887021839618683, 0.19232839345932007, 0.3557918071746826, 0.40648311376571655, -0.5336600542068481, 0.19667884707450867, 0.2108045518398285, -0.23780570924282074, 0.16073459386825562, -0.317404180765152, 0.2548464238643646, -0.42392054200172424, 0.5833776593208313, -1.2137516736984253, -0.24891327321529388, 0.2468988597393036, -0.4844874441623688, 0.3680124878883362, -0.3366168439388275, -0.5758796334266663, -0.5322008728981018, -0.1236094981431961, 0.2698986828327179, 0.32501882314682007, -0.3830711543560028, 0.6075423955917358, 0.7766034007072449, -0.1348293572664261, -0.2029569000005722, -0.486603707075119, 0.25837600231170654, -0.3427417278289795, -0.30675020813941956, 0.2249855250120163, 0.3207532465457916, -0.13365538418293, -0.054059967398643494, 0.021563155576586723, -0.05511924996972084, 0.30620065331459045, 0.14026418328285217, 0.1185717061161995, -0.19930832087993622, 0.470708429813385, -0.39715540409088135, -0.16548798978328705, 0.2491731196641922, -0.32860076427459717, 0.584563672542572, -0.06890854984521866, -0.2853439748287201, 0.2049807608127594, 0.03988717496395111, 0.21253624558448792, -0.2932480275630951, 0.291147917509079, 0.41270482540130615, -0.30119144916534424, -0.11903978884220123, -0.198499396443367, -0.09165603667497635, -0.4166952073574066, 0.5407344698905945, -0.38470903038978577, -1.1453169584274292, 0.47249773144721985, -0.4050266742706299, 0.011874684132635593, 0.5639044046401978, 0.5599851608276367, -0.2405754178762436, 0.9771468639373779, 0.7288928031921387, -0.3214331567287445, 0.3568893074989319, -0.4265819489955902, 0.1099318414926529, -0.7229286432266235, -0.22635839879512787, -0.9351068139076233, -0.27481338381767273, -0.775445818901062, -0.449993371963501, 0.414588063955307, 0.0529642291367054, -0.3371965289115906, 0.20070812106132507, -0.4464871883392334, 0.3844810724258423, 0.42631086707115173, -0.0035117436200380325, 0.4371854066848755, 0.23592908680438995, 0.11290346086025238, 0.13665378093719482, -0.8532758951187134, -0.585106611251831, 1.0913819074630737, 0.441337525844574, 1.0799578428268433, 0.030307581648230553, 1.092307686805725, 0.14007560908794403, 0.6857287883758545, -1.092568278312683, 0.5501874089241028, -0.4089549779891968, -0.4795133173465729, -0.19233262538909912, -0.3994893729686737, -1.3022667169570923, 0.21442824602127075, -0.16162484884262085, -0.7861672639846802, 0.1792180985212326, 0.17472855746746063, -0.14645643532276154, 0.3137381672859192, -0.5126325488090515, 0.5465251803398132, -0.3726298213005066, -0.05351196229457855, 0.006383306346833706, -0.45491787791252136, 0.354245126247406, -0.02334064245223999, 0.231074720621109, -0.04129263386130333, -0.1424521505832672, 0.963857114315033, -0.007832423783838749, 1.1687744855880737, -0.1415776163339615, -0.3368988633155823, 0.3046180307865143, 0.10111120343208313, 0.4531238079071045, -0.025928936898708344, 0.16752222180366516, 0.15822623670101166, -0.09535416960716248, -0.26705193519592285, -0.5233778357505798, 0.22764211893081665, -0.8797571063041687, -0.638839602470398, -0.5534281730651855, -0.44297224283218384, -0.5267468690872192, 0.3128981292247772, 0.2430098056793213, 0.32380473613739014, -0.3115575313568115, 0.13495726883411407, 0.5419563055038452, 0.08162000775337219, 0.04358142986893654, 0.3900958299636841, -0.7069539427757263, -0.2360328584909439, 0.9649384021759033, 0.4513055682182312, 0.1312086433172226, 0.5472710728645325, 0.17109964787960052, -0.399306982755661, -0.8337056636810303, -0.04644745960831642, 0.310824453830719, -0.7313039302825928, -0.3584838807582855, -0.6359590291976929, -0.28715774416923523, -0.45113807916641235, 0.1001126617193222, 0.06064996495842934, -0.3669250011444092, -0.37700092792510986, -0.07985199987888336, 0.21153944730758667, 0.9032249450683594, 0.012949846684932709, 0.4630110561847687, -0.5493534207344055, 0.36158373951911926, 0.5835410356521606, 0.47176089882850647, 0.043892815709114075, -0.5503102540969849, -0.35533371567726135, -0.03396346792578697, -0.23061059415340424, -0.7683668732643127, 0.06134026497602463, 0.15918861329555511, 0.49386608600616455, 0.36084261536598206, -0.1980856955051422, 0.5506552457809448, -0.2396261990070343, 0.5745240449905396, 0.24996691942214966, -0.5998421907424927, 0.11340086162090302, -0.7683015465736389, 0.4285775125026703, 0.43809837102890015, 0.5508686304092407, -0.5926072597503662, -0.4794158935546875, -0.6369449496269226, -0.7548901438713074, 0.48587852716445923, -0.41619420051574707, 0.34985238313674927, -0.001592269167304039, 0.3152902126312256, -0.005618428811430931, 0.10077089071273804, -0.8434878587722778, 0.11898205429315567, 0.002685528015717864, -0.2086164802312851, -0.3911033570766449, -0.25162190198898315, -0.3127480447292328, -0.45078369975090027, 0.4237959086894989, -0.5379802584648132, 0.2736974358558655, -0.34334275126457214, -0.21153952181339264, -0.034455787390470505, 0.26618456840515137, 0.3306845724582672, 0.8393491506576538, -0.2621031701564789, 0.616172730922699, 0.10816024988889694, -0.3512832224369049, 0.1902853101491928, -0.0010239643743261695, -0.26128941774368286, -0.011915506795048714, 0.6453524231910706, 0.8462936282157898, -0.16215303540229797, -0.20777596533298492, 0.2822181284427643, 0.0641295537352562, -0.4160175025463104, -0.13606925308704376, 0.08390948176383972, 0.3583735525608063, -0.17147907614707947, 0.39692381024360657, -0.05168387293815613, 0.02932298369705677, -0.5946593880653381, 0.047862209379673004, 0.7033891677856445, -0.2783327102661133, -0.23191145062446594, 0.42932286858558655, 0.028230488300323486, -0.2171243131160736, 0.39908280968666077, -0.28913044929504395, -0.5527147054672241, 0.611640453338623, 0.7263296246528625, 0.7523759603500366, 0.1020074188709259, 0.6187384724617004, 0.35049039125442505, 0.251899778842926, -0.039199020713567734, 0.0685657262802124, 0.09270378202199936, -0.857952892780304, -0.5196807384490967, -0.7154062986373901, -0.5438328385353088, 0.3883291482925415, -0.6328129172325134, 0.27262723445892334, -0.4632481634616852, -0.23111070692539215, 0.16014233231544495, 0.14513570070266724, -0.556114137172699, 0.2728118300437927, 0.49224135279655457, 0.7724494934082031, -1.1428320407867432, 0.6883585453033447, 0.8920432925224304, -0.2679987847805023, -0.9826394319534302, 0.010788282379508018, 0.04491102322936058, -0.8123817443847656, 0.6789907813072205, -0.15186800062656403, -0.27081459760665894, 0.12886038422584534, -0.8175792694091797, -0.9668599367141724, 0.7582294344902039, 0.40525272488594055, -0.6104075312614441, -0.10844933986663818, 0.14844711124897003, 0.8585492968559265, -0.5498384237289429, 0.2450585961341858, 0.1137135773897171, 0.272666335105896, 0.1408175826072693, -0.8408694863319397, -0.09948448091745377, -0.10857068002223969, 0.1611744612455368, 0.23742049932479858, -0.5994353890419006, 0.8330066800117493, -0.012937954626977444, -0.17836536467075348, -0.30565446615219116, 0.6050888299942017, 0.22847460210323334, 0.26035502552986145, 0.6678420901298523, 0.593757152557373, 1.0021992921829224, -0.12477956712245941, 0.8591853380203247, 0.05696392431855202, 0.5230016112327576, 1.152376413345337, -0.2733982503414154, 0.7258253693580627, 0.26310697197914124, -0.3380878269672394, 0.5579917430877686, 1.0301283597946167, -0.2425573319196701, 0.3295409381389618, 0.5839139223098755, -0.12560875713825226, -0.4282984435558319, -0.15277992188930511, -0.3232567012310028, 0.8104010224342346, 0.41465315222740173, -0.3035551607608795, -0.6296249032020569, -0.042240481823682785, 0.11090385168790817, -0.05148595944046974, -0.6145422458648682, 1.1186485290527344, 0.14223681390285492, -0.6445066332817078, 0.8637563586235046, -0.01233731023967266, 0.5284010171890259, -0.5413869619369507, 0.18758761882781982, -0.001576123177073896, -0.02466505393385887, -0.320218563079834, -0.756676971912384, 0.3125685453414917, -0.1668364554643631, -0.06444352120161057, -0.3716820776462555, 0.843953013420105, -0.4407121241092682, -0.6309797167778015, 0.24249668419361115, 0.7012431621551514, 0.1553259938955307, 0.2373182773590088, -0.5099543333053589, -0.06266825646162033, -0.24329784512519836, -0.05585798621177673, 0.5037933588027954, 0.2762391269207001, -0.43511494994163513, 0.5418261885643005, 0.31206852197647095, 0.3952607214450836, -0.14215920865535736, 0.19614243507385254, 0.9477391839027405, -0.5624479651451111, -0.4705842435359955, -0.6759870052337646, 0.03373107686638832, 0.03057641163468361, -0.229082852602005, 0.780640721321106, 0.8551369309425354, 0.9672892093658447, -0.08487024903297424, 0.8803592920303345, -0.05948274955153465, 0.5165881514549255, -0.4906059503555298, 0.5625844597816467, -0.5348912477493286, 0.12758775055408478, -0.18632012605667114, -0.8476971983909607, -0.7153774499893188, 0.34805941581726074, -0.630247950553894, 0.01082208938896656, 0.44181329011917114, 0.7219005823135376, -0.1826111078262329, -0.29881322383880615, -0.031159184873104095, 0.11878090351819992, 0.21559669077396393, 0.5141665935516357, 0.8521552681922913, 0.02022426389157772, 0.5291234850883484, 0.060538023710250854, -0.06408694386482239, -0.14652800559997559, -0.7717992067337036, -0.8523966670036316, -0.7456915378570557, -0.4154011905193329, -0.48495012521743774, -0.0729043036699295, 0.6689250469207764, 0.6395247578620911, -0.5828286409378052, -0.5315130352973938, 0.11176617443561554, 0.12445351481437683, 0.08861251175403595, -0.1800786405801773, 0.41819149255752563, -0.33808159828186035, -0.5491098761558533, -0.0568169541656971, 0.20744331181049347, 0.0752398744225502, -0.3258821368217468, -0.03146791085600853, -0.24241238832473755, -0.27528274059295654, 0.5451422929763794, 0.3031480014324188, -0.5516219735145569, -0.4147592782974243, -0.020080020651221275, -0.30778661370277405, 0.3414124548435211, 0.9648318886756897, -0.835597813129425, 0.34843069314956665, 0.6129044890403748, 0.5825667381286621, 0.7562393546104431, 0.012779556214809418, 0.21033848822116852, -0.8203111886978149, -0.12029120326042175, 0.48131731152534485, 0.24199478328227997, 0.2791803181171417, -0.08782318979501724, 0.4686034917831421, 0.23707261681556702, -0.34479820728302, -0.8903763294219971, 0.37594226002693176, -1.016669511795044, -0.3414323031902313, 1.1126574277877808, 0.08035801351070404, -0.3001765012741089, -0.3267211616039276, -0.16805510222911835, 0.32975688576698303, -0.0052385032176971436, 0.9513110518455505, 0.7410885691642761, -0.3118869662284851, -0.4760224223136902, -0.13721151649951935, 0.4036845862865448, 0.01029847003519535, -0.7920001149177551, -0.06969207525253296, 0.5715182423591614, 0.4289777874946594, 0.4337323307991028, 1.0235695838928223, 0.053511958569288254, -0.09440065920352936, -0.29994356632232666, -0.012716943398118019, 0.004670317284762859, -0.18693260848522186, -0.3947485089302063, 0.4882642924785614, 0.5405634045600891, 0.1563698798418045 ]
http://arxiv.org/abs/2402.10400v2
http://arxiv.org/pdf/2402.10400v2
Chain of Logic: Rule-Based Reasoning with Large Language Models
2024-02-16T01:54:43
2024-02-23T18:55:23
Sergio Servantez, Joe Barrow, Kristian Hammond, Rajiv Jain
cs.CL
cs.CL
Rule-based reasoning, a fundamental type of legal reasoning, enables us to draw conclusions by accurately applying a rule to a set of facts. We explore causal language models as rule-based reasoners, specifically with respect to compositional rules - rules consisting of multiple elements which form a complex logical expression. Reasoning about compositional rules is challenging because it requires multiple reasoning steps, and attending to the logical relationships between elements. We introduce a new prompting method, Chain of Logic, which elicits rule-based reasoning through decomposition (solving elements as independent threads of logic), and recomposition (recombining these sub-answers to resolve the underlying logical expression). This method was inspired by the IRAC (Issue, Rule, Application, Conclusion) framework, a sequential reasoning approach used by lawyers. We evaluate chain of logic across eight rule-based reasoning tasks involving three distinct compositional rules from the LegalBench benchmark and demonstrate it consistently outperforms other prompting methods, including chain of thought and self-ask, using open-source and commercial language models.
[ -0.1971290111541748, -0.9918546080589294, 1.0412927865982056, 0.29526710510253906, -0.2033279836177826, -0.09381841868162155, 0.019820449873805046, -0.2553054392337799, -0.027720468118786812, 0.7764036655426025, -0.7627512812614441, -0.3531489968299866, -0.26448649168014526, 0.12028081715106964, -0.6310994625091553, 0.8615052103996277, -0.1832370162010193, 0.06588447093963623, -0.19777177274227142, -0.23625174164772034, -0.8306060433387756, -0.27032238245010376, -0.5822407603263855, -0.42229747772216797, 0.8345558047294617, 0.3577445447444916, 0.4551296830177307, 0.7746289968490601, 0.41977331042289734, 0.31557539105415344, 0.04294079542160034, 0.053734421730041504, -0.1834331601858139, 0.4146670997142792, -0.5738049149513245, -0.6157006621360779, -0.18158335983753204, -0.08588291704654694, 0.23012147843837738, 0.7252326607704163, -0.5302746295928955, -0.01551005244255066, -0.7651904225349426, 0.9165158867835999, -0.8358375430107117, 0.06383246928453445, -0.5501896739006042, 0.04679565131664276, 0.05034514144062996, -0.2796960175037384, -0.8231115937232971, -0.46746256947517395, 0.028421489521861076, -0.5283260345458984, -0.2191656231880188, 0.32197752594947815, 0.3494769036769867, 0.17587682604789734, -0.5575804710388184, -0.6349060535430908, -0.7410467267036438, 0.5571973919868469, -0.6156052350997925, 0.49803122878074646, 0.29251718521118164, 0.31862619519233704, -0.18163783848285675, -0.7798534035682678, -0.6818652153015137, -0.3530080020427704, -0.03995564579963684, 0.1722559928894043, -0.18997690081596375, -0.00009441065776627511, 0.5072236657142639, 0.08193372935056686, -0.508882462978363, -0.11575797945261002, -0.3712947368621826, 0.19138173758983612, 0.663080096244812, 0.1451272815465927, 0.45007234811782837, 0.13585026562213898, -0.26438164710998535, 0.04086874797940254, -0.9489691257476807, -0.17790378630161285, 0.3536510169506073, 0.10948445647954941, 0.15460918843746185, 0.46882906556129456, -0.3585551977157593, 0.8657737970352173, 0.2537471354007721, -0.19814935326576233, -0.28922367095947266, -0.2085523009300232, -0.1959405541419983, 0.3852182924747467, 0.6325334906578064, 0.30905812978744507, 0.5049614906311035, -0.03634385019540787, -0.07301413267850876, 0.011061369441449642, 0.014759829267859459, -0.5210204720497131, -0.1821780949831009, 0.21032489836215973, -0.5361373424530029, -0.15263673663139343, 0.3342925012111664, -0.4213154911994934, -0.26784786581993103, -0.6818166375160217, 0.4053688943386078, -0.21747583150863647, -0.1428307741880417, 0.57850182056427, -0.1600135862827301, 0.2723439335823059, 0.5098342299461365, -0.7272320985794067, 0.5423873066902161, 0.7704222798347473, 0.45380115509033203, 0.3008803129196167, -0.1726466715335846, -0.7627582550048828, 0.3523487448692322, -0.4460180997848511, 0.9182377457618713, -0.5330809950828552, -0.07799767702817917, 0.018003040924668312, -0.17236827313899994, -0.09661749750375748, -0.5033362507820129, 0.6310003995895386, -0.6782307624816895, 0.18832150101661682, -0.5687904357910156, -0.6025447845458984, -0.37406808137893677, 0.20607727766036987, -0.7698701024055481, 0.5021992325782776, -0.2133055031299591, -0.5064774751663208, 0.4903075098991394, -0.571983277797699, -0.9003975987434387, 0.028530551120638847, -0.24667759239673615, 0.12969695031642914, -0.033931925892829895, 0.08049178868532181, 0.24904261529445648, -0.6217728853225708, 0.4941628873348236, -0.2391585111618042, 0.04502251744270325, 0.24363835155963898, -0.10218477994203568, 0.9865272641181946, 0.4082137942314148, -0.5182033181190491, 0.2916037142276764, -0.6614848375320435, -0.07726263254880905, -0.052935320883989334, -0.0930975154042244, -0.337891161441803, 0.5408293604850769, -0.6377840638160706, 0.5844746828079224, -0.13712497055530548, -0.25660231709480286, 0.271619588136673, -0.02385915070772171, 0.47560635209083557, 0.8257637023925781, 0.2228068858385086, 0.1874820441007614, -0.5180509686470032, 0.4132002592086792, 0.05857845023274422, 0.10751767456531525, -0.38466379046440125, -0.5076500773429871, -0.74440598487854, -0.02695021778345108, 0.002600297098979354, 0.6804692149162292, -0.5070737600326538, 0.6079362034797668, 0.024770323187112808, -0.26131001114845276, -0.1642235815525055, -0.07766173779964447, 0.27724143862724304, 0.5508763194084167, 0.3257392644882202, 0.0503031462430954, -0.5892075300216675, -0.6349256038665771, -0.39288565516471863, -0.48404619097709656, 0.310062974691391, -0.0937872901558876, 0.7137153744697571, 0.03596270829439163, 0.7539162039756775, -0.5634929537773132, 0.12716199457645416, -0.35030877590179443, 0.2953638732433319, 0.24532929062843323, 0.08012440800666809, 0.15566036105155945, -0.5317937135696411, -0.4088762402534485, 0.07382079213857651, -0.8292259573936462, -0.43890389800071716, -0.2857029438018799, -0.25735753774642944, -0.10585575550794601, 0.8760458827018738, -0.44258517026901245, 0.43631410598754883, -0.04900987073779106, -0.5801417827606201, 0.9509405493736267, -0.10032112896442413, 0.21654455363750458, -0.49469295144081116, 0.01922149956226349, -0.12919087707996368, -0.2038494348526001, -0.42320284247398376, 0.24705500900745392, -0.3750734329223633, 0.11168958991765976, -0.3220073878765106, 0.3620995283126831, -0.30584296584129333, 0.22089658677577972, -0.40596210956573486, -0.0038020259235054255, 0.11681289225816727, 0.2531064450740814, 0.08198845386505127, 0.39877134561538696, 0.5447425842285156, -0.6812499165534973, 0.8211543560028076, 0.01534207258373499, -0.31299349665641785, 0.8334637880325317, -0.6716191172599792, -0.06637746095657349, -0.26875898241996765, 0.5302117466926575, -0.6692427396774292, -0.1006326749920845, 0.3520827293395996, 0.3238597810268402, -0.25672146677970886, -0.10218682140111923, -0.8016641736030579, -0.4918167293071747, 0.03934027999639511, 0.47600769996643066, 0.4250200390815735, -0.4524460732936859, 0.7998597621917725, -0.07434771955013275, 0.11054697632789612, -0.3599090576171875, -0.5259141325950623, -0.1279613971710205, -0.10679185390472412, -0.6411725282669067, 0.03167270869016647, -0.24902039766311646, -0.9080930352210999, 0.16044652462005615, -0.20467449724674225, -0.05059732869267464, -0.0106899319216609, 0.21968944370746613, -0.12199431657791138, -0.1664351373910904, 0.04541602358222008, 0.11145826429128647, 0.022607585415244102, 0.6741191148757935, -0.4368363320827484, 0.4253886044025421, -0.11865866929292679, -0.6171391606330872, -0.4660564661026001, 0.6991831660270691, 0.6747761964797974, -0.374180406332016, 0.5702702403068542, -0.24762387573719025, -0.18735788762569427, -0.4349954426288605, -0.6740586161613464, -0.22185230255126953, -0.3869946599006653, -0.35883063077926636, -0.4986835718154907, -0.6779900789260864, 0.6390503644943237, -0.21845656633377075, -0.1476191282272339, 0.5560382604598999, 0.5695639848709106, 0.12459435313940048, 0.99609375, 0.06509274989366531, 0.06659021228551865, 0.3288162052631378, 0.093368761241436, 0.4129336476325989, -0.2665695250034332, -0.34557268023490906, -0.4965618848800659, 0.005419398657977581, -0.30199113488197327, -0.15990878641605377, 0.15018229186534882, 0.13147404789924622, -0.4213358759880066, 0.2793848514556885, -0.15863513946533203, 0.8820984363555908, 0.5812357664108276, 0.16888722777366638, 0.3862632215023041, -0.2911459505558014, -0.4362999200820923, 0.6212193369865417, -0.6481833457946777, -0.20497727394104004, 0.6585493087768555, -0.012803373858332634, 0.9203736186027527, 0.2458190619945526, 0.5361558794975281, 0.27300769090652466, -0.027703043073415756, -0.8201148509979248, 0.8582464456558228, 0.03665389120578766, -0.8133525252342224, 0.03639674931764603, -0.584661602973938, -0.6190381646156311, 0.08474011719226837, -0.08444485813379288, -0.8380981087684631, 0.06740009784698486, -0.08538564294576645, -0.44174817204475403, 0.39479392766952515, -0.5256956815719604, 0.6589568257331848, -0.263349324464798, -0.41132113337516785, -0.46189436316490173, -0.8942380547523499, 0.6215916275978088, 0.1116187795996666, 0.3025391697883606, -0.13833630084991455, 0.513473391532898, 0.5810156464576721, -0.979552686214447, 0.6746617555618286, 0.13048219680786133, -0.2617994546890259, 0.8088255524635315, 0.4166363775730133, 0.5698075294494629, -0.2885584831237793, 0.06169012561440468, -0.49647417664527893, 0.2006688266992569, -0.01811806485056877, -1.0473451614379883, 0.5336554646492004, -0.23124906420707703, -0.6036052703857422, -0.4502415657043457, -0.32112550735473633, 0.1627020388841629, 0.3102317154407501, 0.01250513270497322, 0.5123645067214966, 0.1719834804534912, 0.01281940471380949, 0.5586809515953064, 0.17059019207954407, 0.22039799392223358, 0.49396947026252747, -0.2938031554222107, -0.37021109461784363, 0.6604496836662292, -0.07060413807630539, 0.2829214632511139, 0.5888477563858032, 0.6482883095741272, -0.44942012429237366, -0.08284962922334671, -0.1211618185043335, 0.3102504312992096, -1.0460611581802368, -0.08426548540592194, -0.42278486490249634, -0.15460313856601715, -0.21437641978263855, -0.30884599685668945, -0.0873461365699768, -0.3126658797264099, 0.168356254696846, -0.11387940496206284, 0.3470538258552551, 0.8809047341346741, -0.08762956410646439, 0.07032971829175949, -0.5850319266319275, 0.35124334692955017, 0.7024081945419312, 0.32745450735092163, 0.1384451538324356, -0.0205776859074831, 0.14739109575748444, -0.26780226826667786, -0.06444960832595825, -0.9746578335762024, -0.1890503615140915, -0.2548348307609558, 0.45782268047332764, 0.7591966390609741, 0.19632215797901154, 0.7868021726608276, -0.8295203447341919, 0.4992561936378479, 0.350243479013443, -1.117681622505188, 0.9239542484283447, -0.5500948429107666, 0.07604143023490906, 0.5971142053604126, 0.24533671140670776, -0.6958751082420349, -0.39545172452926636, -0.632475733757019, -0.6327509880065918, 0.34278786182403564, 0.002821610076352954, -0.3139783442020416, -0.3672049641609192, 0.5223236680030823, -0.02144084870815277, 0.13110269606113434, -0.6620202660560608, -0.12660539150238037, 0.08413545787334442, -0.1718205362558365, 0.6701375842094421, -0.1671140044927597, -0.21605411171913147, -0.3845197260379791, 0.6317171454429626, -0.01074631791561842, -0.06813172250986099, 0.2482205033302307, -0.0680919885635376, -0.1971098631620407, 0.3744075298309326, 0.880189061164856, 0.991138219833374, -0.046599578112363815, 0.3703085780143738, -0.13163205981254578, 0.10277197510004044, 0.4371378719806671, -0.27060335874557495, -0.19496886432170868, -0.30959394574165344, 0.5975331664085388, 0.5879880785942078, 0.023220961913466454, -0.8005515336990356, 0.43879345059394836, 0.000016629261153866537, -0.507654070854187, -0.1566425859928131, 0.13963986933231354, -0.1121256873011589, 0.25448963046073914, 0.21048229932785034, -0.13564755022525787, 0.3403474986553192, -0.7772722840309143, 0.38230112195014954, 0.0586172454059124, -0.2888326942920685, -0.14261336624622345, 0.7484006285667419, 0.06703013181686401, -0.05100424587726593, 0.6141271591186523, -0.08104484528303146, -0.4749481976032257, 0.49808135628700256, 0.6191353797912598, 0.7079557180404663, 0.0009389253682456911, 0.23001933097839355, 0.25875237584114075, 0.20886953175067902, -0.6894543766975403, 0.4000397026538849, -0.14455734193325043, -0.7277196645736694, -0.905730128288269, -0.056056562811136246, -0.38814225792884827, -0.25031283497810364, -0.6010908484458923, 0.09498471021652222, -0.7997410297393799, 0.21054521203041077, 0.014281491748988628, -0.32676517963409424, -0.26651453971862793, 0.18429957330226898, -0.09337758272886276, 1.008251667022705, -0.9659503698348999, 0.3599366247653961, 0.44657573103904724, -0.7372888922691345, -1.1124225854873657, -0.09344583749771118, 0.2281985729932785, -0.47737622261047363, 0.9671748280525208, 0.16551530361175537, -0.5341172814369202, -0.1603461056947708, -0.7763118743896484, -0.37479913234710693, 0.8072716593742371, 0.276227205991745, -0.5237067341804504, 0.20918913185596466, -0.1744844615459442, 0.3511962592601776, -0.3632015883922577, 0.27719274163246155, 0.553922176361084, 0.6407865881919861, 0.5306683778762817, -0.5085815787315369, 0.45285898447036743, -0.23491336405277252, -0.3096093535423279, 0.33786579966545105, -0.41885557770729065, 0.8216731548309326, -0.23959071934223175, -0.14604955911636353, 0.02201704867184162, 0.5350953936576843, 0.5523328185081482, 0.23553159832954407, 0.6495643258094788, 0.7751244902610779, 0.8184777498245239, -0.06300947815179825, 1.104801893234253, -0.2991076707839966, 0.0286705382168293, 1.2230641841888428, -0.7071501612663269, 0.5632838010787964, 0.4527471661567688, 0.017836829647421837, 1.3835780620574951, 0.20055672526359558, 0.06618421524763107, 0.4377838373184204, 0.5246081352233887, -0.6340137124061584, -0.49448370933532715, -0.29306453466415405, -0.13938169181346893, 0.38783711194992065, 0.10260134190320969, -0.3745538294315338, -0.22171850502490997, -0.30038872361183167, 0.05253708362579346, 0.16336111724376678, -0.3788466453552246, 0.7649187445640564, 0.002548648277297616, -1.002381682395935, -0.06864514201879501, 0.1391977071762085, -0.2000902146100998, -0.5951555967330933, -0.27532970905303955, -0.0036578148137778044, 0.2186061441898346, -0.2128722220659256, -0.8446523547172546, 0.1836245059967041, -0.1115395650267601, -0.3195512890815735, -0.337677925825119, 0.6817005276679993, -0.2909354567527771, -0.42256635427474976, 0.3120260238647461, 0.46145913004875183, 0.050782281905412674, 0.020436398684978485, -0.5714300274848938, -0.08844166249036789, -0.37659505009651184, 0.17175140976905823, -0.32148072123527527, 0.8653771877288818, -0.46501991152763367, 0.8339096903800964, 0.7973743677139282, 0.08640321344137192, 0.09591484069824219, 0.48671579360961914, 0.7789475917816162, -0.7803162336349487, -0.5945453643798828, -1.0760549306869507, 0.6374080181121826, 0.013609007000923157, 0.05051755532622337, 0.5469588041305542, 0.42189928889274597, 0.607375979423523, -0.05178604647517204, 0.6004236936569214, -0.14218461513519287, 0.20560729503631592, -0.864118754863739, 0.2647741734981537, -0.2106046974658966, 0.106783926486969, -0.2556896209716797, -0.5721684694290161, -0.5832073092460632, 0.6980226635932922, -0.46292203664779663, 0.10845424234867096, 1.1201224327087402, 0.4962923526763916, 0.034819550812244415, 0.2643596827983856, 0.1255909502506256, 0.017943117767572403, 0.3899535834789276, 0.49195995926856995, 1.0800238847732544, -0.2070600390434265, 0.23841716349124908, 0.1305636763572693, -0.0769684687256813, -0.13978998363018036, -1.0230565071105957, -0.7965410351753235, -0.34497833251953125, -0.48372942209243774, -0.3776751756668091, -0.007118485402315855, 0.987572193145752, 0.6404216289520264, -0.7840773463249207, -0.5418795347213745, -0.8013484477996826, 0.513929009437561, -0.525067925453186, -0.21052707731723785, 0.09666246175765991, -0.3277493119239807, 0.07433760911226273, 0.430648535490036, 0.40811651945114136, -0.33423617482185364, -0.054731614887714386, -0.07249502837657928, -0.7081615924835205, 0.2990790605545044, 0.7548003196716309, 0.4263879060745239, -0.8850331902503967, -0.3713490068912506, -0.23462817072868347, 0.18385851383209229, -0.12702879309654236, 1.3878989219665527, -0.5729748010635376, 0.5202174186706543, 0.8354631066322327, 0.3383016288280487, 0.28760629892349243, 0.013568642549216747, 0.7823594808578491, -0.40121376514434814, 0.018756123259663582, 0.017807209864258766, 0.5694337487220764, -0.2597092390060425, 0.010975970886647701, 0.5319948196411133, 0.384621798992157, -0.44568920135498047, -0.38023877143859863, 0.6722395420074463, -0.9370891451835632, -0.53514564037323, 1.0018752813339233, -0.029678208753466606, -0.38829538226127625, 0.05388835445046425, -0.17930041253566742, 0.027913955971598625, -0.2840622067451477, 0.41265052556991577, 0.8339775204658508, -0.21565312147140503, -0.4043768346309662, -0.28489530086517334, 0.11623222380876541, 0.1187618300318718, -1.0097001791000366, 0.040374625474214554, 0.7717128992080688, 0.3128850758075714, 0.14966221153736115, 0.6462113261222839, -0.09090893715620041, 0.23717860877513885, 0.015413069166243076, -0.07947319746017456, 0.14737829566001892, -0.6559918522834778, -0.002356545766815543, 0.06141751632094383, -0.12530359625816345, 0.22852900624275208 ]
http://arxiv.org/abs/2402.10380v1
http://arxiv.org/pdf/2402.10380v1
Subgraph-level Universal Prompt Tuning
2024-02-16T00:25:24
2024-02-16T00:25:24
Junhyun Lee, Wooseong Yang, Jaewoo Kang
cs.LG
cs.LG, cs.AI, cs.CL
In the evolving landscape of machine learning, the adaptation of pre-trained models through prompt tuning has become increasingly prominent. This trend is particularly observable in the graph domain, where diverse pre-training strategies present unique challenges in developing effective prompt-based tuning methods for graph neural networks. Previous approaches have been limited, focusing on specialized prompting functions tailored to models with edge prediction pre-training tasks. These methods, however, suffer from a lack of generalizability across different pre-training strategies. Recently, a simple prompt tuning method has been designed for any pre-training strategy, functioning within the input graph's feature space. This allows it to theoretically emulate any type of prompting function, thereby significantly increasing its versatility for a range of downstream applications. Nevertheless, the capacity of such simple prompts to fully grasp the complex contexts found in graphs remains an open question, necessitating further investigation. Addressing this challenge, our work introduces the Subgraph-level Universal Prompt Tuning (SUPT) approach, focusing on the detailed context within subgraphs. In SUPT, prompt features are assigned at the subgraph-level, preserving the method's universal capability. This requires extremely fewer tuning parameters than fine-tuning-based methods, outperforming them in 42 out of 45 full-shot scenario experiments with an average improvement of over 2.5%. In few-shot scenarios, it excels in 41 out of 45 experiments, achieving an average performance increase of more than 6.6%.
[ -0.5331398248672485, -0.8026750087738037, 0.27290019392967224, -0.011246029287576675, -0.5617486834526062, -0.04111841320991516, -0.13621416687965393, 0.026103833690285683, 0.0855933353304863, 0.024334125220775604, -1.1697356700897217, -0.5160071849822998, -0.35501739382743835, 0.3262180685997009, 0.19896066188812256, 1.054748296737671, 0.3167369067668915, -0.08253808319568634, -0.12128213047981262, -0.14751863479614258, -0.7499872446060181, -0.3393794000148773, -0.9420883655548096, -0.3528491258621216, 0.9271056056022644, 0.4037753939628601, 0.5075280666351318, 0.5647342801094055, -0.02871590107679367, 0.2526420056819916, -0.17629694938659668, 0.3860163986682892, -0.6693286299705505, -0.10365267097949982, -0.2699624001979828, -0.15263794362545013, -0.23687486350536346, 0.09266888350248337, 0.3296546936035156, 0.8308466076850891, 0.26124733686447144, 0.13847172260284424, 0.35815542936325073, 0.5839594006538391, -0.616284966468811, 0.191140279173851, -0.680587112903595, 0.13757085800170898, -0.10550405830144882, -0.5544841885566711, -0.5658605694770813, -0.10075626522302628, 0.07393711060285568, -1.024172306060791, 0.5306861996650696, 0.21569019556045532, 0.8319834470748901, 0.310718297958374, -0.388954222202301, 0.14662174880504608, -0.09133608639240265, 0.18590328097343445, -0.3273424506187439, 0.08005601912736893, 0.08973191678524017, 0.22885215282440186, -0.39792928099632263, -0.8500095009803772, -0.07699475437402725, -0.03419534116983414, -0.19122233986854553, 0.2814461588859558, -0.5371805429458618, 0.47056856751441956, 0.6791156530380249, -0.16661931574344635, -0.4967445731163025, 0.4912230670452118, 0.013210567645728588, -0.44887322187423706, 0.31612008810043335, 0.19380824267864227, 0.27630043029785156, -0.16545358300209045, -0.0928194671869278, -0.03549511358141899, -0.7000856399536133, 0.5638043880462646, 0.40465739369392395, 0.9433466792106628, 0.0850083976984024, 0.15283381938934326, -0.3157055974006653, 0.9401835203170776, 0.18730448186397552, 0.3719934821128845, 0.08279989659786224, -0.5061467885971069, -0.21408399939537048, -0.07935486733913422, 0.7221236824989319, 0.3559987545013428, 0.7398802638053894, 0.17390350997447968, 0.08107972890138626, -0.0669979676604271, 0.11879605054855347, -0.7307054996490479, -0.5097594857215881, -0.2411184310913086, -0.16718517243862152, -0.15768827497959137, -0.2447393238544464, -0.4875190854072571, -0.5717254877090454, -0.40226268768310547, 0.3368058502674103, -0.6165274381637573, 0.05002620443701744, -0.2103109359741211, -0.3619379997253418, -0.00862161535769701, 0.3923643231391907, -0.9408606290817261, -0.051054149866104126, 0.24964648485183716, 0.8049978613853455, 0.06518242508172989, -0.4216758906841278, -0.9377140402793884, -0.2387668937444687, -0.5321887135505676, 0.9465889930725098, -0.6370571851730347, -0.5131877660751343, -0.1366068422794342, 0.1984618455171585, -0.467196524143219, -0.22250576317310333, 0.40441298484802246, -0.3251354992389679, 0.025024663656949997, -0.5913318991661072, -0.28954267501831055, 0.00603487016633153, -0.13362212479114532, -0.23702022433280945, 0.881414532661438, 0.4796159267425537, -0.8328409790992737, 0.6253288984298706, -0.7516785264015198, -0.8202937841415405, 0.20537911355495453, -0.04898133873939514, -0.4897640347480774, 0.20203199982643127, 0.8490753769874573, 0.37520304322242737, -0.07030057162046432, -0.1469208300113678, -0.3749126195907593, -0.596045732498169, -0.08061253279447556, -0.18342071771621704, 0.7158710360527039, 0.049696944653987885, -0.06711416691541672, 0.750433087348938, -0.5447661876678467, 0.22092555463314056, -0.015524967573583126, 0.2716054320335388, -0.2627399265766144, -0.5510082244873047, -0.4758688807487488, -0.056481633335351944, 0.009547334164381027, -0.39033645391464233, 0.37790268659591675, -0.33290448784828186, 0.7655104398727417, 0.955077052116394, 0.2977907955646515, 0.3926583230495453, 0.03452017158269882, 0.6394844055175781, -0.003427624236792326, 0.2933889925479889, -0.5990755558013916, -0.4234160780906677, -0.4013687074184418, -0.45028385519981384, 0.7838515639305115, 0.600268542766571, -0.5024591088294983, 0.6505686640739441, 0.057812195271253586, -0.31877946853637695, -0.34442538022994995, -0.02135586366057396, 0.38653764128685, 1.189937710762024, 0.5155808925628662, -0.09183885157108307, -0.5989020466804504, -0.6990429162979126, -0.3972128927707672, 0.1456211358308792, -0.11287878453731537, 0.7211918234825134, 0.09848726540803909, -0.016271410509943962, 1.0980603694915771, -0.37513086199760437, -0.39506977796554565, -0.583619236946106, 0.11240407824516296, 0.5668927431106567, 0.352078914642334, 0.6222310662269592, -0.3738965094089508, -0.5665402412414551, -0.2305503636598587, -0.5943077206611633, -0.4250602424144745, -0.09113951772451401, -0.06893099844455719, -0.05041477084159851, 0.6710676550865173, -0.5294861197471619, 0.6344828009605408, 0.06610886752605438, -0.3375585973262787, 0.30883318185806274, -0.44204896688461304, 0.05769740417599678, -0.7876853346824646, -0.1484968215227127, 0.07117222994565964, -0.21628621220588684, -0.24008958041667938, -0.26478663086891174, 0.19460657238960266, -0.4205968677997589, -0.3276672959327698, 0.40925323963165283, -0.45186442136764526, -0.08790629357099533, -0.12334953993558884, 0.15007179975509644, -0.0707758441567421, 0.6088692545890808, -0.48197123408317566, 0.8134791254997253, 1.0590977668762207, -0.8569355607032776, 0.3015977442264557, 0.1393606960773468, 0.0023635157849639654, 0.6653730869293213, -0.976081132888794, 0.29368290305137634, -0.359677255153656, 0.4737640619277954, -1.4408811330795288, -0.2240523099899292, 0.2027728110551834, -0.6093990206718445, 0.43257731199264526, -0.5352069139480591, -0.26880890130996704, -0.5641475319862366, 0.01054381113499403, 0.2930832505226135, 0.7011594772338867, -0.6318304538726807, 0.690316915512085, -0.10282759368419647, 0.029828451573848724, -0.43747490644454956, -0.04400704801082611, -0.22722820937633514, -0.09116241335868835, -0.5161402821540833, 0.08463981747627258, 0.030100639909505844, 0.563716471195221, -0.2025914043188095, -0.2615719437599182, 0.5618497133255005, 0.24145673215389252, 0.3908923864364624, 0.051546767354011536, -0.009642058983445168, -0.027438217774033546, 0.580033540725708, -0.6889930367469788, -0.4217721223831177, -0.6405245065689087, 0.7409307360649109, 0.0026033464819192886, -0.20703354477882385, -0.6971624493598938, 0.022089943289756775, 0.008720440790057182, -0.2488686591386795, 0.22590839862823486, 0.5337254405021667, -0.06733749806880951, -0.4726852476596832, 0.30539923906326294, -0.2344113439321518, -0.5731300115585327, 0.5153740644454956, -0.6935990452766418, -0.8148168921470642, 0.6084043979644775, -0.6625956296920776, -0.12901003658771515, 0.3416000306606293, 0.26553016901016235, -0.4498544931411743, 1.2667748928070068, 0.6455885767936707, 0.029372118413448334, 0.691933274269104, -0.29706624150276184, -0.006153536960482597, -0.8142056465148926, -0.07468122988939285, -0.5443971157073975, -0.7851442694664001, -0.2852422595024109, 0.2084885835647583, 0.7193536758422852, 0.3467979431152344, -0.42285871505737305, 0.40076979994773865, -0.6598552465438843, 0.7888582348823547, 0.741127073764801, 0.13934101164340973, -0.14787155389785767, 0.08138417452573776, -0.6042713522911072, -0.08761591464281082, -1.051558017730713, 0.09576201438903809, 0.7406516671180725, 0.040159132331609726, 0.7459051012992859, -0.5468659996986389, 0.3946685194969177, 0.39111456274986267, 0.07431524246931076, -0.5557193756103516, 0.6640991568565369, -0.2639841139316559, -0.06317957490682602, -0.7866185903549194, -0.4162616729736328, -1.3419781923294067, 0.15138356387615204, -0.15015909075737, -0.9088369607925415, 0.06030113622546196, 0.662767231464386, -0.5055248141288757, 0.035176005214452744, -0.733237624168396, 1.1244338750839233, 0.041876599192619324, 0.1127668023109436, 0.22898772358894348, -0.8353887796401978, -0.28294485807418823, 0.3325273394584656, -0.15218617022037506, -0.2838793992996216, 0.1657150834798813, 0.34242939949035645, -0.3090434670448303, 1.045539140701294, -0.5318935513496399, 0.1573386937379837, 0.12274789065122604, 0.1587996780872345, 0.6132100224494934, 0.324442058801651, 0.06984636187553406, 0.14911900460720062, -0.22678609192371368, -0.45697835087776184, -0.8239659070968628, 0.39609238505363464, -0.9828669428825378, -0.4501340389251709, -0.04858551174402237, -0.5133504867553711, -0.5889573693275452, 0.6256169080734253, 1.1004880666732788, 0.8066165447235107, -0.0050803725607693195, -0.0933510959148407, 0.6428436040878296, -0.03900276497006416, 0.5763064026832581, 0.2019812911748886, -0.025951698422431946, -0.4728962481021881, 0.7960322499275208, 0.0963626354932785, -0.006586376577615738, 0.33451876044273376, 0.4266851842403412, -0.5310494303703308, -0.47762924432754517, -0.8050166368484497, -0.0046613276936113834, -0.6526153683662415, -0.38748589158058167, -0.5273813605308533, -0.1661108434200287, -0.7164096832275391, -0.29267239570617676, -0.0695377066731453, -0.25578343868255615, -0.6712304353713989, -0.3247130811214447, 0.4401198923587799, 0.13497306406497955, -0.0313110426068306, 0.5440321564674377, -0.46712327003479004, 0.26977136731147766, 0.3370010256767273, 0.24111934006214142, -0.34826427698135376, -0.7155605554580688, 0.0933317095041275, -0.07357517629861832, -0.020266374573111534, -0.674614429473877, -0.0017042768886312842, 0.5386922955513, 0.6258490085601807, 0.23982663452625275, 0.3097991347312927, 0.7327641844749451, -0.4912285804748535, 0.5392239689826965, 0.22534571588039398, -0.9436806440353394, 0.9272699952125549, -0.5116440653800964, 0.4953279197216034, 0.7468351125717163, 0.44803115725517273, -0.35716867446899414, -0.057459358125925064, -0.46550020575523376, -0.8166254758834839, 0.7784895300865173, -0.240446537733078, 0.36273837089538574, 0.24598422646522522, 0.5754770636558533, 0.13536831736564636, 0.16521400213241577, -0.2772625684738159, -0.2048986703157425, -0.6200067400932312, -0.23429007828235626, -0.2487524151802063, 0.2819790542125702, -0.2953958809375763, -0.575267493724823, 0.24895727634429932, -0.8149300217628479, -0.010499265976250172, 0.23081524670124054, -0.04731375351548195, -0.2214389145374298, 0.10479580610990524, 0.4007496237754822, 0.8952917456626892, 0.07800059765577316, 0.16140291094779968, 0.4578673541545868, -0.15960851311683655, 0.20037062466144562, 0.13349349796772003, -0.5689591765403748, -0.17523488402366638, 0.4223332405090332, 1.2835242748260498, 0.06532368063926697, -0.20603878796100616, 0.47479963302612305, -0.12487208843231201, -0.2793704569339752, 0.13015900552272797, 0.5773881077766418, -0.18134805560112, 0.07822127640247345, 0.39394259452819824, 0.2517319619655609, -0.19550085067749023, -0.323163241147995, 0.20751066505908966, 0.47006431221961975, -0.8503255248069763, -0.35460153222084045, 0.6365721821784973, 0.18851548433303833, -0.5334836840629578, 0.9191768765449524, -0.20169135928153992, -0.346733957529068, 0.7135798335075378, 0.8247725367546082, 0.8772435784339905, 0.06435621529817581, 0.3535107374191284, 0.41149893403053284, 0.20856480300426483, 0.5410234332084656, 0.24981750547885895, -0.12358825653791428, -0.7028276920318604, -0.2064310908317566, -0.36563584208488464, -0.11462068557739258, -0.10274176299571991, -0.5628295540809631, 0.22451645135879517, -0.764853298664093, -0.3724375367164612, -0.06352250277996063, -0.11430748552083969, -0.6519266366958618, 0.24810311198234558, -0.17149142920970917, 1.208583116531372, -0.8108731508255005, 0.5632005929946899, 0.8597449064254761, -0.16407747566699982, -0.936785101890564, -0.1088002622127533, -0.1827893704175949, -0.9120519757270813, 0.2475791722536087, 0.2387441098690033, -0.08974514156579971, 0.5722375512123108, -0.7919715642929077, -0.6658742427825928, 0.9400768280029297, 0.6305498480796814, -0.48181387782096863, -0.05342744290828705, -0.14395785331726074, 0.6019486784934998, -0.5310834646224976, 0.30743226408958435, 0.5866151452064514, 0.35815301537513733, 0.2989445924758911, -0.6845905184745789, 0.3164615333080292, -0.3195289373397827, 0.2864970564842224, 0.11202997714281082, -0.9103215932846069, 0.8904714584350586, -0.5646891593933105, -0.2948448956012726, -0.09638189524412155, 0.7902752161026001, 0.44351673126220703, 0.31433233618736267, 0.7742811441421509, 0.3437570333480835, 0.9528523683547974, -0.24622145295143127, 0.957594633102417, -0.41264382004737854, 0.08887742459774017, 0.8033711910247803, -0.05750148370862007, -0.07932769507169724, 0.04623312130570412, 0.04116430506110191, 0.3863236904144287, 1.2745212316513062, 0.05931694060564041, 0.7451079487800598, 0.34763115644454956, 0.28059178590774536, -0.6687753796577454, -0.31133970618247986, -0.5466746091842651, 0.05159550532698631, 0.1930355429649353, -0.04842435568571091, -0.2998802959918976, 0.04345684126019478, -0.21632535755634308, -0.13049578666687012, -0.6726511716842651, 0.7724881172180176, 0.0710710659623146, -0.7547269463539124, 0.49688515067100525, -0.27481985092163086, 0.3019200563430786, -0.8246701955795288, 0.09603645652532578, -0.47466206550598145, -0.1377394050359726, -0.16966357827186584, -0.4743218421936035, -0.3614937961101532, -0.4257412254810333, -0.07334517687559128, -0.16198845207691193, 0.7602142095565796, 0.14743192493915558, -0.17046065628528595, 0.23523440957069397, 0.3200697898864746, -0.20278026163578033, 0.0948396697640419, -0.7207468748092651, -0.09644538164138794, -0.03433813527226448, -0.23441298305988312, 0.5175313949584961, 0.8200344443321228, 0.0370437353849411, 0.5574771761894226, 0.7789864540100098, -0.0854705274105072, -0.16278134286403656, 0.5875765681266785, 1.0582759380340576, -0.6258034110069275, -0.9777368903160095, -0.7871200442314148, 0.4567473828792572, -0.07248746603727341, -0.9682891964912415, 0.7896774411201477, 0.2832057476043701, 0.672101616859436, 0.1299108862876892, 0.8354536890983582, 0.16448363661766052, 0.3311523497104645, -0.6726714968681335, 0.34333336353302, -0.4617611765861511, -0.04541022330522537, -0.4646247625350952, -0.7660172581672668, -0.2543953061103821, 0.4332408905029297, -0.13769514858722687, 0.31736019253730774, 0.5230184197425842, 0.6558735370635986, -0.14507810771465302, 0.21925397217273712, 0.2683279514312744, -0.025775497779250145, 0.1611981838941574, 0.4698694348335266, 0.8523042798042297, 0.020265329629182816, 0.4782593846321106, 0.0763600543141365, -0.5146684050559998, -0.18044017255306244, -1.001041293144226, -1.109047293663025, -0.3019894063472748, -0.08844969421625137, -0.38742977380752563, 0.025860220193862915, 0.7530540227890015, 0.8866998553276062, -0.7351993322372437, 0.37208878993988037, -0.29696154594421387, 0.14854146540164948, -0.45245298743247986, -0.1347837895154953, 0.42906588315963745, -0.775428831577301, -0.4087914526462555, 0.6343508362770081, 0.4062321186065674, 0.0963115468621254, 0.11856291443109512, 0.08961712568998337, 0.30654582381248474, 0.07922066748142242, 0.3142678737640381, 0.5237855315208435, -0.1720256358385086, -0.5188990831375122, 0.20113356411457062, 0.05372461676597595, 0.07401526719331741, 1.187005877494812, -0.9497863054275513, 0.36299076676368713, 0.5628618001937866, 0.45575278997421265, 0.6124069094657898, 0.39052432775497437, 0.5549530982971191, -1.3053209781646729, 0.21984826028347015, 0.0568351149559021, 0.4214109480381012, 0.07487792521715164, -0.5380605459213257, 0.47986048460006714, 0.5474427938461304, -0.3843739628791809, -0.7286189198493958, 0.5643266439437866, -0.8289636969566345, -0.41105979681015015, 0.7454062700271606, -0.11360419541597366, -0.2691583037376404, -0.11695334315299988, -0.4114059507846832, 0.4750221073627472, -0.49026474356651306, 0.4290020763874054, 0.1113419309258461, -0.8471308946609497, -0.1696576178073883, 0.1957842856645584, 0.6589323282241821, 0.2736220955848694, -0.53329998254776, 0.04032715782523155, 0.3924858272075653, 0.23922914266586304, -0.09061872214078903, 0.9585208296775818, 0.35740116238594055, 0.3830753564834595, -0.05400620400905609, -0.4407777190208435, -0.6491743326187134, -0.8120744824409485, -0.39023342728614807, 0.34032389521598816, -0.2698039710521698, -0.15297001600265503 ]
http://arxiv.org/abs/2402.10379v2
http://arxiv.org/pdf/2402.10379v2
DataDreamer: A Tool for Synthetic Data Generation and Reproducible LLM Workflows
2024-02-16T00:10:26
2024-05-27T19:54:44
Ajay Patel, Colin Raffel, Chris Callison-Burch
cs.CL
cs.CL, cs.LG
Large language models (LLMs) have become a dominant and important tool for NLP researchers in a wide range of tasks. Today, many researchers use LLMs in synthetic data generation, task evaluation, fine-tuning, distillation, and other model-in-the-loop research workflows. However, challenges arise when using these models that stem from their scale, their closed source nature, and the lack of standardized tooling for these new and emerging workflows. The rapid rise to prominence of these models and these unique challenges has had immediate adverse impacts on open science and on the reproducibility of work that uses them. In this paper, we introduce DataDreamer, an open source Python library that allows researchers to write simple code to implement powerful LLM workflows. DataDreamer also helps researchers adhere to best practices that we propose to encourage open science and reproducibility. The library and documentation are available at https://github.com/datadreamer-dev/DataDreamer .
[ 0.06695234030485153, -0.5065022706985474, 0.3842201232910156, 0.3928071856498718, -0.08475302159786224, -0.0425935722887516, -0.2844444513320923, -0.2723581790924072, 0.21695832908153534, 0.7268753051757812, -0.340689480304718, -0.4620150327682495, -0.3720763623714447, 0.2589477300643921, -0.7456563711166382, 0.9542347192764282, -0.37454304099082947, -0.04580952972173691, -0.30750012397766113, 0.11805874854326248, 0.08632586151361465, -0.81209397315979, -0.5418974757194519, -0.4440508484840393, 0.7940322756767273, 0.1552329808473587, 0.9441021680831909, 0.7522068619728088, 0.7538478374481201, 0.24430663883686066, 0.03098982758820057, 0.13868868350982666, -0.6882666945457458, 0.6049672365188599, -0.3322882056236267, -0.4291534423828125, -0.3175155818462372, -0.09213829785585403, 0.6556493639945984, 0.7151198387145996, -0.4537610113620758, 0.3726634681224823, -0.236054927110672, 0.6897759437561035, -0.4144366979598999, 0.14804531633853912, -0.7139521837234497, 0.02734440006315708, -0.6989725828170776, -0.21196871995925903, -0.14422635734081268, -0.7650651931762695, 0.15075571835041046, -0.3971346914768219, 0.5042148232460022, 0.08743216842412949, 0.4540104568004608, 0.3694186806678772, 0.21558935940265656, -0.1987738162279129, -1.168174147605896, 0.7306699752807617, -0.8465721607208252, 0.3292384147644043, 0.12097335606813431, 0.4830198585987091, -0.6754151582717896, -0.9189671277999878, -0.7796654105186462, 0.06862160563468933, 0.17452159523963928, -0.3585646152496338, -0.5056200623512268, -0.25299814343452454, 0.3808114230632782, 0.44507864117622375, -0.6168760657310486, 0.11051763594150543, -0.7409753799438477, 0.10197648406028748, 0.5467797517776489, 0.5532808899879456, 0.035452235490083694, 0.21338355541229248, 0.15742690861225128, 0.06939389556646347, -0.7658107280731201, -0.38629150390625, 0.36235520243644714, 0.31693172454833984, 0.06221213564276695, 0.9601008892059326, -0.16898265480995178, 0.7029305696487427, -0.34119755029678345, -0.01709228754043579, 0.28588512539863586, -0.09235013276338577, -0.27465909719467163, 0.0795091986656189, 0.8698780536651611, 0.17508874833583832, 0.13949346542358398, -0.3779059946537018, -0.221530020236969, 0.08542037755250931, 0.3412024974822998, -0.9228631854057312, -0.28553810715675354, 0.681395947933197, -0.18675053119659424, -0.5020384788513184, -0.16059014201164246, -0.7975204586982727, -0.44378742575645447, -0.3218223750591278, -0.03549516573548317, -0.11454299837350845, -0.42338746786117554, 0.2550555467605591, -0.17832139134407043, 0.09342312812805176, 0.44709762930870056, -0.6101704239845276, 0.1329706907272339, 0.9026339054107666, 1.2386200428009033, -0.4517472982406616, -0.4374005198478699, -0.09292111545801163, 0.016102515161037445, -0.6396313309669495, 0.3482877314090729, -0.47371935844421387, -0.11035234481096268, -0.030587034299969673, -0.00823622103780508, -0.10622149705886841, -0.6257658004760742, 0.4366483986377716, -0.6619518399238586, 0.12110693752765656, 0.37624260783195496, -0.5145515203475952, -0.05545497685670853, 0.05291718617081642, -0.9332301020622253, 1.1448698043823242, 0.2844865322113037, -0.801649808883667, -0.027496375143527985, -0.8439821004867554, -0.08479543030261993, 0.12909112870693207, -0.016923407092690468, -0.4159553349018097, 0.28215256333351135, -0.15207305550575256, 0.5059565305709839, -0.3765576183795929, 0.483737587928772, -0.3146037459373474, -0.2944527268409729, 0.5000712275505066, -0.38603702187538147, 0.6638898849487305, 0.2468024492263794, -0.01927861012518406, 0.20345352590084076, -0.811427891254425, 0.06721101701259613, 0.3254123330116272, -0.2502778470516205, -0.192142054438591, -0.053989190608263016, 0.19777855277061462, 0.044996414333581924, 0.004454032052308321, -0.7476677894592285, 0.33574333786964417, -0.4045792520046234, 0.6780438423156738, 0.5525267720222473, -0.191314697265625, 0.17475804686546326, -0.6612586379051208, 0.6373018622398376, -0.05825445428490639, -0.0333486944437027, 0.06753144413232803, -0.4459499716758728, -0.4901554584503174, -0.4021187126636505, 0.10164496302604675, 0.3555114269256592, -0.6421256065368652, 0.26984846591949463, -0.42995578050613403, -1.0414372682571411, -0.8277539610862732, 0.16391390562057495, -0.03908668830990791, 0.36959192156791687, 0.10410666465759277, 0.12662607431411743, -0.9296819567680359, -0.4635060429573059, 0.07809906452894211, 0.03847851604223251, -0.21753272414207458, 0.030133862048387527, 0.6765452027320862, -0.5061221122741699, 1.0522849559783936, -0.43772321939468384, -0.08606339246034622, -0.2722991406917572, -0.04491502419114113, 0.6787484884262085, 0.4792070984840393, 0.37601926922798157, -0.5147141814231873, 0.004319014959037304, -0.3788509666919708, -0.8038610219955444, -0.17260614037513733, 0.19025076925754547, -0.16536693274974823, 0.33562198281288147, 0.19308586418628693, -0.930004358291626, 0.25602462887763977, 0.7953014373779297, 0.059580519795417786, 0.8088065981864929, -0.13755416870117188, -0.13469938933849335, -1.1465826034545898, 0.25570908188819885, -0.09765590727329254, -0.10301592200994492, -0.7627689838409424, 0.022997872903943062, -0.2599405348300934, -0.4309070110321045, -0.5738924145698547, 0.5222739577293396, -0.07085765898227692, -0.009430927224457264, -0.34755635261535645, -0.07680544257164001, 0.03326071426272392, -0.21840056777000427, 0.41838449239730835, 0.7963297367095947, 0.7228161692619324, -0.5666151642799377, 0.7926449179649353, 0.27564772963523865, -0.4972339868545532, 0.12400196492671967, -0.9949585795402527, 0.42494502663612366, -0.10946048051118851, 0.30100029706954956, -0.46374455094337463, -0.40615972876548767, 0.4101982116699219, -0.2816137671470642, -0.17459575831890106, -0.31545430421829224, -0.8361377716064453, -0.566953718662262, -0.2761988043785095, 0.3113464415073395, 0.5156522989273071, -0.8089788556098938, 0.22252333164215088, 0.3295603394508362, -0.24037694931030273, -0.3057347536087036, -0.5482772588729858, 0.18743720650672913, -0.3293314278125763, -0.7515403628349304, 0.36088183522224426, -0.11113633215427399, -0.4525110721588135, -0.10642804950475693, 0.0846475288271904, -0.22382107377052307, -0.17580167949199677, 0.3646346628665924, 0.3968505561351776, -0.1676512509584427, -0.027823148295283318, -0.383504718542099, -0.04595422372221947, 0.27177345752716064, -0.42312195897102356, 0.5047917366027832, 0.05875231698155403, -0.36764776706695557, -0.25441133975982666, 0.16888940334320068, 0.8107970952987671, -0.08831358700990677, 0.7568117380142212, 0.3248380422592163, -0.5396489500999451, -0.48673170804977417, -0.27887430787086487, -0.11368699371814728, -0.49425068497657776, 0.09866458922624588, -0.07465124875307083, -0.8061084747314453, 0.31256428360939026, -0.23416666686534882, 0.3958622217178345, -0.13440749049186707, 0.842132031917572, -0.05670502781867981, 0.460363507270813, 0.5092936754226685, -0.0878664031624794, 0.20013189315795898, -0.21286575496196747, 0.3941330015659332, -0.8275202512741089, -0.20759844779968262, -0.6547600030899048, -0.23914258182048798, -0.420391321182251, -0.9554961323738098, 0.20333582162857056, -0.011865154840052128, -0.0806610956788063, 0.30550816655158997, -0.7631386518478394, 0.39020615816116333, 0.5783708095550537, -0.14451062679290771, 0.24931193888187408, 0.006021297071129084, 0.31578779220581055, -0.17680978775024414, -0.6811666488647461, -0.9236652255058289, 1.245395302772522, 0.2198937088251114, 1.3306586742401123, -0.03857036679983139, 0.82358318567276, 0.20539021492004395, 0.1551448106765747, -0.7061255574226379, 0.39130303263664246, 0.1562066525220871, -0.4432503581047058, -0.31898897886276245, -0.3519652187824249, -1.2047362327575684, 0.19470977783203125, 0.12446214258670807, -0.7531642913818359, 0.022086838260293007, 0.23549646139144897, -0.07579568028450012, 0.46536415815353394, -0.03253750503063202, 0.5935443043708801, -0.07482653856277466, -0.3845568597316742, 0.27272921800613403, -0.2349325716495514, 0.3524864614009857, -0.32795366644859314, 0.07099640369415283, -0.23326323926448822, 0.1821606159210205, 0.7986372709274292, -0.49215513467788696, 0.7591245770454407, -0.08736006915569305, -0.2540591061115265, 0.25134116411209106, 0.3104846179485321, 0.67653888463974, 0.014381778426468372, -0.46221956610679626, 0.5611722469329834, 0.008984955959022045, -0.16169121861457825, -0.433395117521286, 0.8970133066177368, -0.5174631476402283, -0.5021223425865173, -0.57537841796875, -0.8993058204650879, 0.19586925208568573, 0.06682241708040237, -0.0842072069644928, 0.24098241329193115, -0.14505061507225037, 0.16982723772525787, 0.549589991569519, -0.189189612865448, 0.19173948466777802, 0.5916096568107605, -0.5045774579048157, -0.3754720985889435, 0.8052126169204712, -0.06267563253641129, 0.15317025780677795, 0.11110489070415497, 0.21983592212200165, -0.0852608010172844, -0.7977379560470581, -0.32112419605255127, 0.14690697193145752, -0.3619861304759979, -0.13948899507522583, -0.5508826375007629, -0.36039021611213684, -0.41810280084609985, -0.26172566413879395, -0.5651994943618774, -0.6416673064231873, -0.28353509306907654, -0.09507507085800171, 0.7988715171813965, 0.6801251769065857, -0.1752982884645462, 0.07357041537761688, -0.6069181561470032, 0.38957884907722473, -0.3562200665473938, 0.15882959961891174, -0.31395551562309265, -0.3513544201850891, -0.1308785080909729, 0.12612992525100708, -0.06555856764316559, -0.37787100672721863, 0.6706933379173279, -0.06784121692180634, 0.4569989740848541, 0.022520465776324272, 0.2507891356945038, 0.39901003241539, -0.5397315621376038, 0.7137743234634399, -0.14863383769989014, -0.5304693579673767, 0.596183180809021, -0.2422025501728058, 0.12697912752628326, 0.1862301528453827, 0.5732693076133728, -0.5700812339782715, -0.6717400550842285, -0.3794938027858734, -0.9381746649742126, 0.5525082945823669, 0.4722331166267395, 0.049204424023628235, 0.22486166656017303, 0.23423108458518982, 0.30388718843460083, 0.3374145030975342, -0.396426796913147, -0.18577982485294342, -0.2544909417629242, -0.26763713359832764, -0.0177035853266716, 0.05838233605027199, -0.31930381059646606, -0.2029382735490799, 0.7152342796325684, -0.012821878306567669, 0.16492696106433868, 0.23332643508911133, 0.031460102647542953, -0.16268861293792725, 0.2950853705406189, 0.3855922520160675, 0.8252046704292297, -0.4783620536327362, 0.15292279422283173, -0.32193827629089355, -0.5071381330490112, 0.16034187376499176, 0.3132280111312866, -0.6491241455078125, 0.3603256642818451, 0.24198414385318756, 0.4475567936897278, -0.16641931235790253, -0.6948624849319458, 0.14407214522361755, -0.04025273770093918, -0.18991415202617645, -0.5984926819801331, 0.18800736963748932, 0.18684518337249756, 0.30561894178390503, 0.16067089140415192, -0.023875748738646507, -0.16871176660060883, -0.20505139231681824, 0.12845148146152496, 0.1439005434513092, -0.091343954205513, -0.31443387269973755, 0.6447805762290955, 0.0057817306369543076, -0.48290398716926575, 0.8547531962394714, 0.011397709138691425, -0.28263887763023376, 0.5790697336196899, 0.7624695897102356, 0.8224000930786133, -0.04230998829007149, 0.11183502525091171, 0.23522672057151794, 0.37031105160713196, -0.2114914506673813, 0.5798965692520142, 0.42285269498825073, -0.7700738906860352, -0.20612511038780212, -0.8007730841636658, -0.821281909942627, 0.41895022988319397, -0.5304393768310547, 0.1410938799381256, -0.3777611255645752, -0.046888407319784164, 0.3558558523654938, -0.3611615300178528, -0.703899085521698, -0.3064316213130951, 0.008190721273422241, 1.1195731163024902, -0.4776531457901001, 1.0178378820419312, 0.7399603724479675, -0.036803971976041794, -0.5384364128112793, -0.26343590021133423, 0.2538281977176666, -0.5485051274299622, 0.734924852848053, 0.15280307829380035, -0.08462066948413849, 0.048386797308921814, -0.5643342137336731, -0.901479184627533, 1.1397855281829834, 0.5199175477027893, -0.6197373867034912, 0.05006776377558708, 0.47257480025291443, 0.7332500219345093, -0.4615665376186371, 0.16722814738750458, 0.4411988854408264, 0.3808668553829193, 0.2524144649505615, -0.8884484171867371, 0.07199575752019882, -0.20311608910560608, 0.19573071599006653, 0.13684232532978058, -0.24599532783031464, 0.7530242800712585, -0.4493686556816101, -0.12252163141965866, 0.18542979657649994, 0.4479461908340454, 0.6459847688674927, 0.3223353922367096, -0.014519496820867062, 0.5282436013221741, 0.8955341577529907, -0.15697737038135529, 0.8513113856315613, -0.2847403585910797, 0.21351154148578644, 1.2953234910964966, -0.7324179410934448, 0.769218385219574, 0.6761319637298584, -0.22848129272460938, 0.35232144594192505, 0.36965465545654297, -0.3625640571117401, 0.3472588062286377, 0.8044484853744507, -0.3765992224216461, 0.24558576941490173, -0.23143267631530762, -0.22483083605766296, 0.26858821511268616, 0.4067153036594391, -0.41812336444854736, -0.4216631352901459, 0.0512218177318573, 0.12737725675106049, -0.039549291133880615, -0.12884077429771423, 0.4752483069896698, 0.09486658126115799, -0.3728986382484436, 0.6556239128112793, -0.08928374946117401, 0.6001337766647339, -0.7253560423851013, -0.23655664920806885, -0.15431416034698486, 0.44373270869255066, -0.30257049202919006, -0.9146649241447449, 0.6104739904403687, 0.4321814477443695, -0.26337435841560364, -0.2414495199918747, 0.6879169344902039, -0.3808422386646271, -0.5829930901527405, 0.17671331763267517, 0.35445693135261536, 0.5729361772537231, -0.0676802471280098, -0.539842963218689, 0.3723146915435791, -0.3306645452976227, -0.4777584671974182, 0.1374233216047287, 0.504625678062439, 0.09074855595827103, 1.149681806564331, 1.0712703466415405, 0.5151382684707642, 0.23572327196598053, 0.07466502487659454, 0.913330078125, -0.7160550951957703, 0.06909289211034775, -0.9935952425003052, 0.07779030501842499, 0.08472457528114319, -0.11236615478992462, 0.7410972714424133, 0.9156183004379272, 0.9286746382713318, -0.24480505287647247, 0.9763368964195251, -0.24921157956123352, 0.6962083578109741, -0.24329900741577148, 0.5998214483261108, 0.030325327068567276, 0.23554164171218872, -0.017611730843782425, -0.8159600496292114, -0.2859857678413391, 0.48221027851104736, 0.06869402527809143, -0.4791761636734009, 0.4452514946460724, 1.1653629541397095, -0.07818365842103958, 0.051681142300367355, 0.07208952307701111, 0.1042536199092865, 0.5570141673088074, 0.44414666295051575, 0.9165270328521729, -0.1152094155550003, 0.5019096732139587, -0.6379475593566895, -0.1465073525905609, -0.03058605268597603, -1.0841517448425293, -1.0104448795318604, -0.3116476833820343, -0.41279879212379456, -0.439710795879364, 0.17742237448692322, 1.1005617380142212, 0.6516537666320801, -0.7426160573959351, -0.4004936218261719, -0.24755726754665375, 0.13934271037578583, -0.25758370757102966, -0.28480908274650574, 0.1673961579799652, -0.053013741970062256, -0.7745987176895142, 0.5340355038642883, 0.13048401474952698, 0.1673468053340912, -0.49225369095802307, -0.02605290710926056, 0.1866631954908371, 0.1121605709195137, 0.3717919886112213, 0.3899018168449402, -0.5420274138450623, 0.18242917954921722, -0.15634998679161072, -0.21624962985515594, -0.12743330001831055, 0.9287464022636414, -0.5542076230049133, 0.3625301718711853, 0.42480799555778503, 0.624557375907898, 0.3367387354373932, -0.18106824159622192, 0.8900174498558044, -0.5210246443748474, 0.03148502856492996, 0.4116697907447815, 0.3600817024707794, 0.3630800247192383, -0.39992913603782654, 0.8613419532775879, 0.14980705082416534, -0.6962540149688721, -1.1286088228225708, 0.003161003580316901, -0.8865894079208374, 0.15254397690296173, 1.1040445566177368, -0.280737966299057, -0.30556148290634155, -0.08559807389974594, -0.12790583074092865, 0.022797605022788048, -0.4460805058479309, 0.8442224860191345, 0.43637794256210327, -0.20596963167190552, -0.038075465708971024, -0.7430617809295654, 0.4592057168483734, -0.2809698283672333, -0.9217616319656372, 0.5838534832000732, 0.37122878432273865, 0.39040160179138184, 0.16092771291732788, 0.6184389591217041, -0.2676284611225128, -0.08671495318412781, 0.011035040952265263, 0.23645621538162231, -0.4969545602798462, -0.2561253607273102, -0.1540997326374054, -0.10811052471399307, -0.01698298007249832, -0.10530378669500351 ]
http://arxiv.org/abs/2402.10373v2
http://arxiv.org/pdf/2402.10373v2
BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domains
2024-02-15T23:39:04
2024-06-09T15:19:09
Yanis Labrak, Adrien Bazoge, Emmanuel Morin, Pierre-Antoine Gourraud, Mickael Rouvier, Richard Dufour
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have demonstrated remarkable versatility in recent years, offering potential applications across specialized domains such as healthcare and medicine. Despite the availability of various open-source LLMs tailored for health contexts, adapting general-purpose LLMs to the medical domain presents significant challenges. In this paper, we introduce BioMistral, an open-source LLM tailored for the biomedical domain, utilizing Mistral as its foundation model and further pre-trained on PubMed Central. We conduct a comprehensive evaluation of BioMistral on a benchmark comprising 10 established medical question-answering (QA) tasks in English. We also explore lightweight models obtained through quantization and model merging approaches. Our results demonstrate BioMistral's superior performance compared to existing open-source medical models and its competitive edge against proprietary counterparts. Finally, to address the limited availability of data beyond English and to assess the multilingual generalization of medical LLMs, we automatically translated and evaluated this benchmark into 7 other languages. This marks the first large-scale multilingual evaluation of LLMs in the medical domain. Datasets, multilingual evaluation benchmarks, scripts, and all the models obtained during our experiments are freely released.
[ 0.1627403348684311, -0.531116247177124, 0.8449062705039978, 0.042667191475629807, -0.3829849660396576, 0.1745097041130066, -0.29774096608161926, -0.5163658857345581, 0.20310769975185394, 0.5065852403640747, -0.5225526690483093, -0.7911732196807861, -0.5572604537010193, 0.4146842956542969, 0.07259640097618103, 0.9580975770950317, -0.1816861480474472, 0.8066924810409546, -0.5604143142700195, -0.5167543888092041, -0.016336826607584953, -0.8401533961296082, -0.5292748212814331, -0.4153578579425812, 0.3989652693271637, -0.41483208537101746, 0.5127915143966675, 0.2871163487434387, 0.6053261756896973, 0.33436670899391174, -0.1041443794965744, -0.02927352860569954, -0.3442007005214691, 0.33637651801109314, -0.6656040549278259, -0.36035215854644775, -0.47469350695610046, -0.28825274109840393, 0.552132785320282, 0.7713690400123596, -0.32084113359451294, 0.45729297399520874, -0.13082164525985718, 0.6365549564361572, -0.4469621777534485, 0.10549791902303696, -0.3619345724582672, -0.12548574805259705, 0.024879224598407745, -0.006734104361385107, -0.07886633276939392, -0.5598936080932617, 0.1915636509656906, -0.5108258128166199, -0.035570863634347916, -0.28197500109672546, 0.37073156237602234, 0.38478031754493713, -0.3065643906593323, -0.045331019908189774, -0.6838021278381348, 0.6621150374412537, -0.674555242061615, 0.7733240127563477, 0.14382308721542358, 0.6111963987350464, -0.05200076848268509, -0.969933032989502, -0.0719788670539856, -0.06184401363134384, 0.3649787902832031, 0.16157230734825134, -0.5811193585395813, 0.15787696838378906, -0.3118988275527954, 0.2096693366765976, -0.7436510920524597, -0.18055428564548492, -0.5211446285247803, -0.22729505598545074, 0.3511528968811035, 0.25450554490089417, 0.3265703618526459, 0.13123106956481934, -0.10525710880756378, 0.059864867478609085, -0.6207886338233948, -0.06415535509586334, -0.43049025535583496, 0.2312629520893097, -0.21601855754852295, 0.6009424924850464, -0.1166887879371643, 0.4452162981033325, -0.14289437234401703, -0.2490442544221878, 0.23520059883594513, -0.5094242691993713, -0.26767364144325256, 0.11791704595088959, 0.8205140829086304, 0.1410314440727234, 0.08029548823833466, -0.2506393790245056, 0.00249613169580698, 0.004381414037197828, 0.21688812971115112, -1.0697908401489258, -0.20312459766864777, 0.7237750291824341, -0.524233877658844, -0.08189141005277634, -0.5315321683883667, -0.3852957487106323, -0.40071478486061096, -0.23015782237052917, 0.44274795055389404, -0.5316736102104187, -0.14377106726169586, 0.3844756484031677, 0.13144008815288544, -0.051566168665885925, 0.3867045044898987, -0.3383917808532715, 0.3467698097229004, 0.6195080876350403, 0.9172175526618958, -0.1558401882648468, -0.1111176609992981, -0.2197638601064682, 0.16595621407032013, -0.2884633541107178, 0.8303708434104919, -0.4427996873855591, -0.42646586894989014, -0.1350383758544922, 0.29265913367271423, 0.022268880158662796, -0.7400770783424377, 0.17449410259723663, -0.46067601442337036, 0.1329704076051712, -0.13416440784931183, -0.326826274394989, -0.03480548784136772, 0.08131967484951019, -0.5502298474311829, 0.6177548766136169, 0.3669891059398651, -0.642163872718811, 0.03490958362817764, -0.4796980917453766, -0.3331998586654663, 0.3156887888908386, -0.2731579542160034, -0.25049522519111633, 0.18008099496364594, 0.10348580032587051, 0.15883611142635345, -0.7834143042564392, 0.371913880109787, -0.3503126800060272, -0.10401476174592972, 0.49913716316223145, -0.19230115413665771, 0.9510233998298645, 0.1966630518436432, -0.07005232572555542, 0.40920597314834595, -0.6202253699302673, 0.16837625205516815, -0.001625401433557272, -0.2955642640590668, -0.5571956038475037, 0.0966416597366333, 0.07360313087701797, 0.17048944532871246, 0.38245251774787903, -0.6734896302223206, 0.03356580063700676, -0.7468409538269043, 0.7037648558616638, 0.5150981545448303, 0.13623368740081787, 0.16649183630943298, -0.2860076427459717, 0.8066547513008118, -0.12137886136770248, 0.268259197473526, 0.1715102195739746, -0.33239951729774475, 0.011242648586630821, -0.7689365148544312, 0.27101126313209534, 0.7024781107902527, -0.7967382669448853, 0.20859558880329132, -0.32296323776245117, -0.6906383037567139, -0.9863322973251343, 0.17860136926174164, 0.45674455165863037, 0.26106399297714233, 0.41978690028190613, -0.021598149091005325, -0.19404610991477966, -0.7860507965087891, -0.30760225653648376, -0.20343512296676636, -0.0747399628162384, 0.2543299198150635, 0.4781588315963745, -0.7235410213470459, 0.6182891726493835, -0.40660133957862854, -0.0755276083946228, -0.06295251846313477, -0.260624498128891, 0.4503602981567383, 0.1953892558813095, 0.5443092584609985, -0.40468770265579224, -0.26928529143333435, 0.27907484769821167, -0.7593560814857483, -0.19286726415157318, 0.49478664994239807, -0.3302202820777893, -0.15512973070144653, 0.4249365031719208, -0.6666749715805054, -0.00543590821325779, 0.9579717516899109, -0.15341873466968536, 0.5249471664428711, -0.40066295862197876, 0.18965880572795868, -1.5184400081634521, 0.3986832797527313, -0.07653146982192993, -0.4598853588104248, -0.48310109972953796, 0.44733187556266785, 0.09296927601099014, -0.5520540475845337, -0.740664541721344, 0.8494501113891602, -0.22524970769882202, 0.16453802585601807, -0.15661662817001343, -0.2722461521625519, -0.054757893085479736, -0.0013754358515143394, 0.1276242733001709, 0.887921929359436, 0.6176189184188843, -0.4797625243663788, 0.4754966199398041, 0.34455588459968567, -0.2685230076313019, 0.6746149659156799, -1.07048499584198, -0.108864925801754, -0.3004573881626129, 0.34677428007125854, -0.7988876104354858, -0.377724826335907, 0.1987132430076599, -0.2721996307373047, -0.11208415776491165, -0.07856794446706772, -0.2881241738796234, -0.3738630414009094, -0.2626000642776489, 0.6060664057731628, 0.5674882531166077, -0.3350931406021118, 0.6414581537246704, 0.29002782702445984, -0.63461834192276, -0.2733226418495178, -0.6511263251304626, -0.21931621432304382, 0.2439277619123459, -0.28927984833717346, 0.2506087124347687, -0.30532053112983704, -0.3406865894794464, 0.03928031772375107, -0.21702399849891663, -0.39215192198753357, -0.0012938834261149168, 0.2843261659145355, 0.2526174783706665, -0.45768001675605774, 0.32124921679496765, 0.4091201424598694, 0.05144977569580078, 0.17809125781059265, -0.44007378816604614, 0.3501424789428711, 0.03582693636417389, -0.532609760761261, -0.32427680492401123, 0.25124531984329224, 0.8837244510650635, -0.4495497941970825, 0.7898045182228088, 0.17817595601081848, -0.5291385650634766, -0.045702818781137466, -0.2991843819618225, -0.06734628975391388, -0.4273183345794678, 0.6560889482498169, -0.08241353183984756, -0.942929208278656, 0.3404911160469055, -0.39017751812934875, -0.003543541766703129, 0.38672327995300293, 0.7802307605743408, -0.0029550271574407816, 0.9523919224739075, 0.4805840849876404, -0.048221405595541, -0.1773102879524231, 0.25450360774993896, -0.08153659105300903, -0.45531466603279114, -0.2506382465362549, -0.6218817234039307, 0.0724579244852066, -0.4220823049545288, -0.605449378490448, 0.9529136419296265, 0.04709563031792641, -0.328957736492157, 0.010350520722568035, -0.49816781282424927, 0.2754041850566864, 0.07337576150894165, 0.4617544412612915, 0.27908486127853394, 0.17648226022720337, -0.33559754490852356, 0.010856325738132, -0.5826268792152405, -0.34285107254981995, 1.0776197910308838, 0.353674978017807, 0.89610356092453, 0.36378154158592224, 0.5478068590164185, 0.0019659646786749363, 0.5480962991714478, -0.6593481302261353, 0.23848210275173187, -0.428053617477417, -0.7208749055862427, -0.1783648133277893, -0.47398674488067627, -1.1212010383605957, 0.2718098759651184, -0.281665563583374, -0.4949492812156677, 0.004764442332088947, -0.0447930209338665, -0.5489562749862671, 0.15697383880615234, -0.2628428041934967, 0.7695100903511047, -0.46233290433883667, -0.38113924860954285, -0.2187495082616806, -0.5046023726463318, 0.2391924113035202, -0.6687140464782715, 0.4378472566604614, -0.17365917563438416, -0.19497747719287872, 0.40396565198898315, -0.5211259722709656, 0.7974503040313721, -0.031452033668756485, -0.33862265944480896, 0.032755304127931595, -0.002498073736205697, -0.07527431845664978, 0.1276846081018448, -0.23059450089931488, 0.5116880536079407, 0.7698754072189331, -0.41229668259620667, -0.2624261975288391, 0.5775178670883179, -0.9985140562057495, -0.406209796667099, -0.47882771492004395, -0.1709207445383072, -0.4573409855365753, 0.34900423884391785, 0.264140248298645, 0.4693533778190613, -0.661165714263916, 0.12306933850049973, 0.7070596814155579, -0.8104649186134338, -0.1467212587594986, 0.8573253154754639, -0.5033010840415955, -0.8525745868682861, 0.7385058999061584, -0.3267466425895691, 0.16686533391475677, 0.4373761713504791, 0.26348093152046204, -0.416332870721817, -0.36026957631111145, -0.5767679214477539, 0.5443905591964722, -0.6017219424247742, -0.25521883368492126, -0.7707766890525818, -0.3511560261249542, -0.6306827664375305, -0.026550298556685448, -0.33160534501075745, -0.07047982513904572, -0.08800182491540909, 0.30727237462997437, 0.48502376675605774, 0.7551591992378235, 0.18716904520988464, 0.04251665249466896, -1.2774410247802734, 0.4680888056755066, 0.24702076613903046, 0.5437952876091003, -0.2134554535150528, -0.2618545889854431, -0.2180890589952469, 0.08736617118120193, 0.028341537341475487, -0.9948835968971252, 0.37876731157302856, 0.39078205823898315, 0.6516707539558411, 0.13994021713733673, -0.17147310078144073, 0.2287626564502716, -0.7920838594436646, 0.6804895401000977, 0.313813179731369, -0.6803279519081116, 0.5370701551437378, -0.33462879061698914, 0.5924584269523621, 0.8073268532752991, 0.7827339768409729, -0.38492774963378906, -0.398478627204895, -0.10067756474018097, -0.6307596564292908, 0.26801037788391113, -0.1721244752407074, 0.16877779364585876, -0.19261837005615234, 0.47362199425697327, 0.27299219369888306, 0.4390660226345062, -0.47220176458358765, -0.06493403017520905, -0.09772004187107086, -0.5409862399101257, -0.32751932740211487, 0.03235600143671036, -0.19266308844089508, -0.47555968165397644, 0.45731860399246216, -0.1378704458475113, 0.2883624732494354, 0.28109681606292725, -0.2899248003959656, -0.10877236723899841, 0.44859442114830017, 0.447979599237442, 0.7077051401138306, -0.14972496032714844, 0.014069996774196625, 0.12737184762954712, -0.7247649431228638, 0.3519800305366516, 0.4185269773006439, 0.1590202897787094, 0.14509479701519012, 0.4138326346874237, 0.31231918931007385, 0.4436316192150116, -1.1475321054458618, 0.6245521903038025, 0.05407368019223213, -0.2463798075914383, -0.10332340747117996, -0.211856409907341, 0.31406649947166443, 0.47246304154396057, 0.18145619332790375, -0.1813209503889084, 0.1327711045742035, -0.4375545382499695, 0.1087590903043747, 0.4404652416706085, -0.4458165466785431, -0.5628526210784912, 0.979086697101593, 0.22041857242584229, 0.014658376574516296, 0.2451632171869278, 0.3015885055065155, -0.46644484996795654, 0.22090940177440643, 0.6118643879890442, 0.7734419107437134, -0.6406638026237488, 0.20696967840194702, 0.31251391768455505, 0.15973211824893951, -0.09104565531015396, 0.6345970630645752, 0.16852208971977234, -0.3887662887573242, -0.7138904333114624, -0.944202721118927, -0.51652592420578, 0.03335244953632355, -0.49648791551589966, -0.0391850546002388, -0.5861318707466125, -0.5473873019218445, 0.15035147964954376, -0.35560357570648193, -0.6097677946090698, 0.11702881753444672, -0.02663533017039299, 0.9305725693702698, -0.7383314371109009, 0.756374716758728, 1.2584561109542847, -0.4045037627220154, -0.39330652356147766, -0.2431650310754776, -0.16558009386062622, -0.9489192366600037, 0.6555652022361755, -0.3234190344810486, -0.1520523726940155, 0.06043413653969765, -0.5740604400634766, -0.8246553540229797, 0.9814160466194153, 0.7043066024780273, -0.5376773476600647, -0.16517359018325806, 0.3362467288970947, 0.8423671126365662, 0.017427392303943634, 0.09294018149375916, 0.2187790423631668, 0.1552400141954422, -0.17431321740150452, -0.9866563081741333, 0.11289156228303909, -0.34708282351493835, -0.12328977882862091, 0.15833868086338043, -0.5691509246826172, 0.8682117462158203, 0.010634555481374264, -0.020349597558379173, 0.42030248045921326, 0.24332286417484283, 0.515773594379425, 0.17767298221588135, -0.010796766728162766, 0.2878446877002716, 0.7629467248916626, 0.15789951384067535, 1.2258950471878052, -0.7461494207382202, 0.10284596681594849, 0.7169533371925354, -0.6476622819900513, 0.8860368132591248, 0.15208683907985687, -0.4841279685497284, 0.5061240196228027, 0.44684654474258423, 0.2561585605144501, 0.5151563286781311, 0.2271714210510254, -0.638025164604187, -0.25520381331443787, -0.2817203402519226, -0.6601653099060059, 0.20057247579097748, 0.29750362038612366, -0.375134140253067, -0.24665355682373047, 0.1878991574048996, -0.07875501364469528, 0.05799395591020584, -0.45519304275512695, 0.7976616024971008, 0.34160667657852173, -0.2221631109714508, 0.7387926578521729, 0.05984114110469818, 0.3969348073005676, -0.8117213845252991, -0.03133251518011093, -0.1055927649140358, 0.23936569690704346, -0.014085390605032444, -0.43455472588539124, -0.05385446548461914, -0.03001001849770546, -0.19742144644260406, 0.07146123051643372, 0.8180655837059021, -0.5470998287200928, -0.6559337377548218, 0.35350772738456726, 0.8864215016365051, 0.31766173243522644, -0.14388658106327057, -0.7249484062194824, -0.00257021258585155, -0.2928317189216614, 0.1634209305047989, 0.2981778085231781, 0.521040141582489, -0.12973922491073608, 0.6132273077964783, 0.6135036945343018, 0.4881550967693329, -0.2648680806159973, -0.02664097398519516, 0.7534325122833252, -0.5695316791534424, -0.3180520236492157, -0.728798508644104, 0.1227564588189125, 0.3722213804721832, -0.13666212558746338, 0.47122567892074585, 0.5574888586997986, 0.4250872731208801, -0.33816879987716675, 0.9603121876716614, 0.6509537696838379, 0.6453949809074402, -0.42009854316711426, 0.9955096244812012, -0.706638753414154, -0.16531290113925934, -0.17235729098320007, -0.8390508890151978, -0.20904064178466797, 0.31215593218803406, -0.029739290475845337, 0.10985562205314636, 0.8195582628250122, 0.40932852029800415, -0.0024449836928397417, -0.25267183780670166, 0.32957425713539124, 0.3277445435523987, -0.051810987293720245, 0.7113160490989685, 0.7215708494186401, -0.10970944166183472, 0.12216506898403168, 0.06504996865987778, -0.3174591660499573, -0.12237534672021866, -0.623666524887085, -0.9194455146789551, -0.29476770758628845, -0.21779422461986542, -0.4499121606349945, 0.4150404632091522, 1.3183636665344238, 0.5830127596855164, -0.9462551474571228, -0.10600286722183228, 0.30918270349502563, -0.4190903306007385, -0.14499971270561218, -0.055743563920259476, 0.30477383732795715, 0.006753492634743452, -0.35537588596343994, 0.5819302201271057, 0.37560996413230896, 0.22376054525375366, -0.278882771730423, -0.06167342886328697, 0.13144391775131226, 0.39039385318756104, 0.8079808354377747, 0.3615448474884033, -0.6337642073631287, 0.0902804583311081, 0.3015857934951782, -0.45951536297798157, -0.17706888914108276, 0.6244298219680786, -0.7819092869758606, 0.39910006523132324, 0.2282659411430359, 0.9993881583213806, 0.1665268987417221, -0.11726625263690948, 0.696481466293335, -0.3173661231994629, 0.049417316913604736, 0.14367453753948212, 0.2524779140949249, 0.21425825357437134, -0.1290304809808731, 0.4249252378940582, 0.21818971633911133, -0.2807912826538086, -0.7024412155151367, -0.14378048479557037, -0.7980937957763672, -0.7503711581230164, 1.1647099256515503, 0.05492442101240158, -0.41537708044052124, -0.03314071521162987, -0.2208247035741806, 0.26153048872947693, -0.027774067595601082, 0.39738601446151733, 0.4957107603549957, 0.13951173424720764, 0.14760147035121918, -0.5368626117706299, 0.34343013167381287, 0.33095765113830566, -0.992835521697998, -0.05378324165940285, 0.623164713382721, 0.5989617705345154, -0.14155466854572296, 1.0208892822265625, -0.40552380681037903, 0.39604783058166504, -0.4295676052570343, 0.45186465978622437, 0.20854412019252777, 0.006080977618694305, -0.710348904132843, 0.032957617193460464, 0.33421704173088074, 0.30277055501937866 ]
http://arxiv.org/abs/2402.10359v2
http://arxiv.org/pdf/2402.10359v2
Can we Soft Prompt LLMs for Graph Learning Tasks?
2024-02-15T23:09:42
2024-03-16T19:56:04
Zheyuan Liu, Xiaoxin He, Yijun Tian, Nitesh V. Chawla
cs.LG
cs.LG, cs.CL
Graph plays an important role in representing complex relationships in real-world applications such as social networks, biological data and citation networks. In recent years, Large Language Models (LLMs) have achieved tremendous success in various domains, which makes applying LLMs to graphs particularly appealing. However, directly applying LLMs to graph modalities presents unique challenges due to the discrepancy and mismatch between the graph and text modalities. Hence, to further investigate LLMs' potential for comprehending graph information, we introduce GraphPrompter, a novel framework designed to align graph information with LLMs via soft prompts. Specifically, GraphPrompter consists of two main components: a graph neural network to encode complex graph information and an LLM that effectively processes textual information. Comprehensive experiments on various benchmark datasets under node classification and link prediction tasks demonstrate the effectiveness of our proposed method. The GraphPrompter framework unveils the substantial capabilities of LLMs as predictors in graph-related tasks, enabling researchers to utilize LLMs across a spectrum of real-world graph scenarios more effectively.
[ -0.08205562084913254, -0.9104209542274475, 0.7833141088485718, -0.21622410416603088, -0.3831351399421692, 0.2236829549074173, -0.2538505494594574, -0.18468178808689117, 0.09862590581178665, 0.18765117228031158, -0.8467194437980652, -0.6027668714523315, -0.5640421509742737, 0.3222779631614685, -0.06865425407886505, 1.0002676248550415, -0.21611051261425018, 0.1797095239162445, -0.34893202781677246, 0.061125703155994415, -0.5946851372718811, -0.22535733878612518, -0.7440229058265686, -0.5520777106285095, 1.0168641805648804, 0.31593745946884155, 0.44837406277656555, 0.2970728874206543, 0.22212840616703033, 0.40648046135902405, -0.08976228535175323, 0.5140528082847595, -0.565317690372467, 0.40137848258018494, -0.13294565677642822, -0.4510931968688965, -0.2746492624282837, -0.013045839965343475, 0.5175520777702332, 1.197554111480713, 0.3362574279308319, 0.02948463335633278, 0.5516021847724915, 0.49254167079925537, -0.1727391928434372, 0.6371962428092957, -0.4522861838340759, -0.08163408190011978, -0.024484902620315552, -0.06576138734817505, -0.40456488728523254, -0.4791298508644104, -0.04182695969939232, -0.6559966802597046, 0.35423827171325684, 0.221985325217247, 0.7906502485275269, 0.08357485383749008, -0.5764179229736328, -0.15302471816539764, -0.4364279508590698, 0.2252550572156906, -0.3046630024909973, 0.37978532910346985, -0.035654373466968536, 0.3071165382862091, -0.475187748670578, -1.0886006355285645, -0.5373674631118774, -0.11938713490962982, -0.04231195151805878, 0.10593195259571075, 0.0035458842758089304, 0.20784235000610352, 0.1584019660949707, -0.0062668342143297195, -0.47636932134628296, 0.2905782163143158, -0.13631948828697205, -0.3724064528942108, 0.20290198922157288, 0.4008292853832245, 0.3250364065170288, -0.24051204323768616, -0.20490002632141113, 0.008668356575071812, -0.6375107765197754, 0.10589229315519333, 0.28266048431396484, 0.7588137984275818, 0.07201284170150757, 0.5638957023620605, 0.09297787398099899, 0.8161405920982361, 0.07001671940088272, -0.07434418052434921, 0.31721383333206177, -0.1696702390909195, 0.06722594797611237, 0.04180008918046951, 0.9251294732093811, 0.2972744405269623, 0.5780258774757385, -0.3757055699825287, -0.2673385441303253, 0.15654948353767395, -0.11325234174728394, -0.8570894002914429, -0.2609487473964691, 0.1563359498977661, -0.27324172854423523, -0.00512650003656745, 0.044625528156757355, -0.5465536713600159, -0.6637664437294006, -0.34722524881362915, -0.036055926233530045, -0.3705609142780304, -0.3071383237838745, -0.07150746881961823, -0.2476004958152771, -0.34626415371894836, 0.4565739333629608, -0.5219643115997314, 0.3182390630245209, 0.8069932460784912, 0.9743673205375671, -0.14304526150226593, -0.34975317120552063, -0.7274989485740662, 0.08737515658140182, -0.23040875792503357, 0.7798977494239807, -0.4621627628803253, -0.17186638712882996, 0.17908541858196259, 0.394945353269577, -0.4569978713989258, -0.4153052568435669, 0.31947487592697144, -0.4694785475730896, 0.06089072301983833, -0.16399464011192322, -0.616580605506897, -0.12428503483533859, 0.42891404032707214, -0.8240060210227966, 0.7287550568580627, 0.37962546944618225, -0.8050441145896912, 0.23303310573101044, -0.1660347580909729, -0.597557544708252, 0.3854222595691681, -0.3507414162158966, -0.3950727581977844, -0.12801037728786469, -0.10279109328985214, 0.7023327350616455, -0.11789916455745697, 0.5203757286071777, -0.42092445492744446, -0.42690885066986084, 0.437452107667923, -0.3131028115749359, 0.3842007517814636, -0.03957734629511833, -0.25920769572257996, 0.3722080886363983, -0.3412148058414459, -0.09422186017036438, 0.2685279846191406, -0.2236514389514923, -0.10013604909181595, 0.05843290314078331, 0.08467824012041092, 0.19591191411018372, 0.2773902714252472, -0.5217030644416809, 0.19923356175422668, -0.45279866456985474, 0.6381918787956238, 1.0640171766281128, -0.08985061943531036, 0.33466044068336487, -0.15573064982891083, 0.6237077713012695, -0.1417163759469986, -0.21641507744789124, -0.18558759987354279, -0.4426375925540924, -0.2740735411643982, -0.27325135469436646, 0.4231414198875427, 0.6658178567886353, -0.720816969871521, 0.20627844333648682, -0.33318012952804565, -0.25225400924682617, -0.028957700356841087, 0.4488430321216583, 0.35690268874168396, 0.76303631067276, 0.21371106803417206, -0.030958862975239754, -0.3916161358356476, -0.3250640630722046, -0.16225819289684296, -0.10896845906972885, -0.14987099170684814, 0.6789560914039612, 0.24274298548698425, -0.11443814635276794, 0.9185407757759094, -0.7350503206253052, -0.551622211933136, -0.844136655330658, 0.0384814478456974, 0.5107016563415527, 0.13985006511211395, 0.39393219351768494, -0.9198723435401917, -0.3705340027809143, -0.33909228444099426, -0.7821817398071289, -0.2059916853904724, 0.12262220680713654, 0.07418249547481537, -0.18412400782108307, 0.7627778053283691, -0.736611008644104, -0.08282792568206787, 0.3879232406616211, -0.5259276628494263, 0.4872475564479828, -0.007067307364195585, -0.28819921612739563, -1.011022686958313, -0.11354004591703415, 0.2526048719882965, -0.4770106375217438, -0.32087329030036926, -0.3164401948451996, -0.06126857176423073, -0.28165337443351746, -0.4281936585903168, 0.675966739654541, -0.4775049686431885, 0.18345028162002563, -0.2005939781665802, 0.42955413460731506, 0.13393725454807281, 0.3856858015060425, -0.2643680274486542, 0.6809364557266235, 0.6548886895179749, -0.582883358001709, 0.4487112760543823, 0.21213847398757935, -0.12393886595964432, 0.46286365389823914, -0.8249147534370422, 0.1031416654586792, -0.4477293789386749, 0.633000910282135, -1.34052574634552, -0.3207038938999176, 0.43566426634788513, -0.31877240538597107, 0.5597687363624573, -0.29673710465431213, -0.6416018605232239, -0.5798331499099731, -0.23518751561641693, 0.19059090316295624, 0.348570317029953, -0.330431193113327, 0.8315733075141907, 0.170427605509758, -0.23800607025623322, -0.23793962597846985, -0.30052444338798523, 0.07174760848283768, -0.06562016904354095, -0.5251463651657104, 0.3091442286968231, -0.09168336540460587, 0.10293014347553253, 0.16165520250797272, -0.05620729923248291, 0.1524830311536789, 0.18918350338935852, 0.6848511695861816, 0.40981507301330566, -0.20836970210075378, 0.19183200597763062, -0.16283826529979706, -0.5290079712867737, 0.13067051768302917, -0.6307730078697205, 0.6213729381561279, 0.02397974021732807, -0.40091410279273987, -0.24750378727912903, -0.09395410865545273, 0.236422598361969, 0.006279587745666504, 0.43859395384788513, 0.7428724765777588, -0.3383885324001312, -0.1423390954732895, -0.20409314334392548, -0.32925084233283997, -0.5780784487724304, 0.4445304274559021, -0.3112621009349823, -1.105736494064331, 0.43707987666130066, -0.8274626731872559, -0.3468187153339386, 0.10930456221103668, 0.12643134593963623, -0.28702405095100403, 1.403853416442871, 0.4769347012042999, -0.1334434598684311, 0.5961014032363892, -0.366708368062973, 0.3543107509613037, -0.7746310234069824, -0.5295642018318176, -0.33567601442337036, -0.5701143145561218, -0.42137691378593445, -0.01231439970433712, 0.40061262249946594, 0.16657887399196625, -0.27873557806015015, 0.06481089442968369, -0.4752424955368042, 0.4117237627506256, 0.2804080843925476, 0.5247784852981567, -0.2305714637041092, 0.03442201763391495, -0.33425790071487427, -0.01506507396697998, -0.8191441893577576, -0.4346887171268463, 0.5862998366355896, 0.15370051562786102, 0.7776443362236023, -0.1585129052400589, 0.4693835377693176, 0.1682787388563156, 0.315426230430603, -0.9996012449264526, 0.8319646120071411, -0.36137956380844116, -0.04203910008072853, -0.0796101838350296, -0.45003536343574524, -1.2984082698822021, -0.15205518901348114, -0.06865492463111877, -0.7221552729606628, -0.011856826953589916, 0.2422754466533661, -0.12778255343437195, 0.20324406027793884, -0.5022148489952087, 1.047239065170288, -0.19667887687683105, -0.49610525369644165, 0.3236749470233917, -0.41427499055862427, -0.13204379379749298, 0.22446800768375397, 0.3969956636428833, -0.5028899908065796, -0.20919694006443024, 0.8139906525611877, -0.3371891677379608, 1.3437288999557495, -0.37400129437446594, 0.069700688123703, 0.3598652184009552, 0.31924405694007874, 0.720672070980072, 0.025370405986905098, -0.22759583592414856, -0.17576202750205994, -0.609243631362915, -0.2162022739648819, -0.6993961334228516, 0.683634340763092, -0.5381770133972168, -0.6575804352760315, -0.16830630600452423, -0.6103925704956055, -0.31106019020080566, 0.499408483505249, 0.24235877394676208, 0.7684798836708069, -0.023118313401937485, -0.16448543965816498, 0.6218317747116089, 0.3110652267932892, 0.290673166513443, 0.17614062130451202, -0.05307161435484886, -0.34792086482048035, 1.1357595920562744, 0.1564721316099167, 0.0026260504964739084, 0.18372797966003418, 0.38484588265419006, -0.507202684879303, -0.7193054556846619, -0.39323389530181885, 0.38561126589775085, -0.9131195545196533, -0.533053457736969, -0.7014302015304565, -0.022233450785279274, -0.3552335202693939, -0.3203478455543518, 0.2822911739349365, -0.17051458358764648, -0.6097792983055115, -0.3784593343734741, 0.579439103603363, 0.8503829836845398, 0.307071715593338, 0.2743198275566101, -0.7694942355155945, 0.20746497809886932, 0.24627910554409027, 0.3090022802352905, -0.24369646608829498, -0.2843198776245117, 0.06849843263626099, -0.05570918694138527, -0.09044216573238373, -0.9750782251358032, 0.2027042657136917, 0.38534459471702576, 0.6686297059059143, 0.4029217064380646, 0.17976132035255432, 0.21298480033874512, -0.5848687291145325, 0.7988749146461487, 0.3383229672908783, -0.7237206101417542, 0.5834149122238159, -0.3584705591201782, 0.07754629850387573, 0.5680820345878601, 0.6450548768043518, -0.3134815990924835, -0.4277695119380951, -0.4138883054256439, -1.0265071392059326, 0.4116772711277008, -0.36834362149238586, 0.5732539296150208, -0.17186836898326874, 0.6380751132965088, 0.03241962194442749, 0.06309820711612701, -0.6678938269615173, -0.13917800784111023, -0.3191213011741638, -0.8108657002449036, -0.08174949884414673, -0.2119024693965912, -0.07941444218158722, -0.07294899970293045, 0.23955591022968292, -0.7145674228668213, -0.03151461109519005, 0.10592707246541977, -0.1983790397644043, -0.16655725240707397, 0.062390271574258804, -0.08220195770263672, 0.7732959389686584, 0.02460610680282116, 0.5659776329994202, 0.3429921865463257, -0.3282569646835327, 0.2815134525299072, 0.23388922214508057, -0.11239476501941681, 0.01053621619939804, 0.668053150177002, 0.7569246292114258, 0.5148966312408447, -0.7382029294967651, 0.7777016758918762, 0.08508795499801636, -0.10624247789382935, 0.05989394709467888, 0.29828381538391113, 0.319298654794693, 0.2195870578289032, 0.3433206379413605, -0.18640398979187012, 0.050731394439935684, -0.4235275685787201, 0.09599833190441132, 0.4014071822166443, -0.8191461563110352, -0.43139544129371643, 0.746258556842804, 0.12015905231237411, -0.5313490033149719, 0.760392963886261, -0.33680352568626404, -0.9548051953315735, 0.7120497226715088, 0.9718799591064453, 0.4985108971595764, -0.0894700288772583, 0.2544499337673187, 0.28435176610946655, -0.24100962281227112, 0.17914587259292603, 0.3351338505744934, 0.14679521322250366, -0.6440437436103821, -0.3916967511177063, -0.39849045872688293, -0.2669858932495117, -0.12261249870061874, -0.18869547545909882, 0.3637271523475647, -0.57275390625, -0.33848655223846436, 0.06567328423261642, -0.006376351695507765, -0.6479634642601013, 0.11426500231027603, 0.1971784383058548, 0.8756903409957886, -0.9727939367294312, 0.37671515345573425, 0.8543911576271057, -0.3756794035434723, -1.0040324926376343, -0.21997806429862976, 0.04803094267845154, -0.7375490665435791, 0.8278112411499023, 0.5260248184204102, -0.3172162175178528, 0.26370322704315186, -0.6705377697944641, -0.3086886405944824, 1.100405216217041, 0.6510780453681946, -0.4846700131893158, -0.08630166202783585, 0.17724040150642395, 0.21810543537139893, -0.3187229335308075, 0.20338313281536102, 0.04872961342334747, 0.5411487221717834, 0.24144357442855835, -0.48437851667404175, 0.6338931918144226, -0.3666500151157379, -0.2493753284215927, 0.1855859011411667, -0.5461066961288452, 0.9043519496917725, -0.3420095145702362, -0.2582506537437439, -0.3578391969203949, 0.7434206008911133, 0.33796367049217224, 0.47041410207748413, 0.7749356031417847, -0.09965292364358902, 0.9419530034065247, -0.043260861188173294, 0.943812370300293, -0.4450286626815796, 0.03854865953326225, 0.8889017701148987, -0.4844357371330261, 0.3890487551689148, 0.20429888367652893, -0.16216792166233063, 0.8405773043632507, 1.0085113048553467, 0.07367967814207077, 0.3187687397003174, 0.3883426785469055, -0.23169292509555817, -0.45290473103523254, -0.5682873129844666, -0.319987952709198, 0.040252573788166046, 0.5084345936775208, -0.13030166923999786, -0.24359287321567535, 0.033148717135190964, 0.16800570487976074, 0.20266003906726837, -0.3679683208465576, 0.7387195825576782, 0.3085522949695587, -0.4854739010334015, 0.3112754225730896, -0.2477131187915802, 0.5713685154914856, -0.7292458415031433, -0.16981914639472961, -0.017784666270017624, 0.21291835606098175, -0.26522010564804077, -1.0117650032043457, -0.027096711099147797, -0.29868969321250916, -0.06804929673671722, -0.3469063937664032, 1.18386709690094, -0.21939396858215332, -0.53243488073349, 0.5446385145187378, 0.5627105832099915, -0.02496703527867794, -0.1798398196697235, -0.7870023846626282, 0.016435394063591957, -0.39374643564224243, -0.23645690083503723, 0.33710646629333496, 0.7720183730125427, 0.02526536025106907, 0.6802495718002319, 0.5947418212890625, -0.02066643349826336, -0.37585246562957764, 0.4788382947444916, 1.2427997589111328, -0.4122741222381592, -0.5364644527435303, -0.9389375448226929, 0.17697420716285706, 0.057258911430835724, -0.028448421508073807, 0.7651014924049377, 0.565274178981781, 0.4023251533508301, 0.26779505610466003, 0.7696519494056702, 0.17559657990932465, 0.22804009914398193, -0.5261651277542114, 0.40488430857658386, -0.34775471687316895, -0.0007328195497393608, -0.19403094053268433, -0.729356586933136, -0.16326774656772614, 0.15757350623607635, -0.396982878446579, 0.11882781982421875, 0.6296858787536621, 0.7110292911529541, -0.1908714771270752, -0.1713721752166748, -0.1710675209760666, 0.04255322739481926, 0.2140491008758545, 0.5664660930633545, 0.8287393450737, 0.08115451037883759, 0.7397769093513489, 0.1302599012851715, -0.20244520902633667, -0.21569621562957764, -0.9732622504234314, -1.0076478719711304, -0.5494264960289001, -0.3360997438430786, -0.7495351433753967, 0.17462243139743805, 0.9713612794876099, 0.5658145546913147, -0.6074602603912354, -0.08661362528800964, -0.2779289186000824, 0.5778625011444092, -0.16849546134471893, -0.25349536538124084, 0.45810630917549133, -0.49994605779647827, -0.639401376247406, 0.40000447630882263, 0.03209495171904564, 0.2592233717441559, -0.12098076194524765, -0.14681659638881683, 0.06747137010097504, -0.17764130234718323, 0.4059756100177765, 0.06905076652765274, -0.29655128717422485, -0.2783535122871399, 0.2070145606994629, -0.1973876953125, 0.0439627431333065, 1.0746779441833496, -0.947415828704834, 0.008965964429080486, 0.6756504774093628, 0.42521950602531433, 0.44169166684150696, -0.07625327259302139, 0.45001864433288574, -0.7712308168411255, 0.07509564608335495, 0.20723843574523926, 0.5542630553245544, 0.49907180666923523, -0.7367798686027527, 0.3800027668476105, 0.5030755996704102, -0.13431958854198456, -0.8004153966903687, 0.2586559057235718, -0.9462082982063293, -0.5199074745178223, 1.1154943704605103, -0.3424514830112457, -0.6221092939376831, -0.49285200238227844, -0.24653442203998566, 0.5415338277816772, -0.20182295143604279, 0.2428242713212967, 0.2814544141292572, -0.16891847550868988, -0.11733363568782806, -0.29018205404281616, 0.17774565517902374, 0.06580772250890732, -0.6650938391685486, 0.05887873098254204, 0.5261202454566956, 0.4162704646587372, 0.02132273092865944, 0.765438437461853, 0.4169265031814575, 0.08776259422302246, -0.09490730613470078, -0.2750048041343689, -0.6753063201904297, -0.4280773997306824, 0.04790564626455307, 0.42490845918655396, 0.171778604388237, 0.06786388903856277 ]
http://arxiv.org/abs/2402.10353v1
http://arxiv.org/pdf/2402.10353v1
Prompt-Based Bias Calibration for Better Zero/Few-Shot Learning of Language Models
2024-02-15T22:54:24
2024-02-15T22:54:24
Kang He, Yinghan Long, Kaushik Roy
cs.CL
cs.CL, cs.LG
Prompt learning is susceptible to intrinsic bias present in pre-trained language models (LMs), resulting in sub-optimal performance of prompt-based zero/few-shot learning. In this work, we propose a null-input prompting method to calibrate intrinsic bias encoded in pre-trained LMs. Different from prior efforts that address intrinsic bias primarily for social fairness and often involve excessive computational cost, our objective is to explore enhancing LMs' performance in downstream zero/few-shot learning while emphasizing the efficiency of intrinsic bias calibration. Specifically, we leverage a diverse set of auto-selected null-meaning inputs generated from GPT-4 to prompt pre-trained LMs for intrinsic bias probing. Utilizing the bias-reflected probability distribution, we formulate a distribution disparity loss for bias calibration, where we exclusively update bias parameters ($0.1\%$ of total parameters) of LMs towards equal probability distribution. Experimental results show that the calibration promotes an equitable starting point for LMs while preserving language modeling abilities. Across a wide range of datasets, including sentiment analysis and topic classification, our method significantly improves zero/few-shot learning performance of LMs for both in-context learning and prompt-based fine-tuning (on average $9\%$ and $2\%$, respectively).
[ -0.31681177020072937, -0.8008080720901489, 0.6996159553527832, -0.09741104394197464, -0.29061299562454224, -0.15011364221572876, -0.3638613820075989, 0.10956952720880508, -0.07427099347114563, 0.07375191897153854, -0.7684504985809326, -0.45269134640693665, -0.3894166052341461, 0.09985067695379257, 0.2670878767967224, 1.0871648788452148, 0.1371903270483017, 0.444806843996048, 0.005084577016532421, -0.04157533124089241, -0.8272010684013367, -0.24832972884178162, -0.47596755623817444, -0.2503504753112793, 0.7588558197021484, 0.507490336894989, 0.2484149932861328, 0.27652767300605774, -0.09241101890802383, 0.14246350526809692, -0.07013648748397827, -0.0888870432972908, -0.6272939443588257, 0.19857646524906158, -0.33544930815696716, -0.48829734325408936, -0.1026802733540535, 0.21055549383163452, 0.637103259563446, 0.7477620244026184, 0.19200976192951202, 0.3292868733406067, 0.28840020298957825, 0.5334595441818237, -0.9337658882141113, 0.05355357006192207, -0.8178765773773193, 0.04005206376314163, -0.2211153209209442, -0.44655683636665344, -0.46753355860710144, -0.6301527619361877, 0.13616614043712616, -0.4267122149467468, 0.19262318313121796, -0.15930120646953583, 0.6119512319564819, 0.5306054949760437, -0.25806504487991333, 0.04545765370130539, -0.5299919247627258, 0.9122142791748047, -0.7708299160003662, 0.2532021999359131, 0.4885885715484619, 0.260097861289978, 0.0006539379828609526, -0.004725905600935221, -0.5628940463066101, -0.2849094271659851, 0.18816104531288147, 0.12831991910934448, 0.11183691769838333, 0.09081923216581345, 0.5043318271636963, 0.11161144077777863, -0.5054457783699036, 0.18273070454597473, -0.07229991257190704, -0.39068910479545593, 0.18156835436820984, -0.07006148248910904, 0.018981412053108215, -0.10771191865205765, -0.0240248404443264, -0.07510154694318771, -0.9347365498542786, 0.07151492685079575, 0.6121325492858887, 0.6502743363380432, -0.05926015228033066, 0.26705488562583923, -0.19162388145923615, 0.8025492429733276, 0.31685662269592285, -0.021102793514728546, 0.37548133730888367, -0.32459697127342224, 0.08253445476293564, 0.15004554390907288, 0.5171636939048767, 0.20845595002174377, 0.2622639238834381, 0.11223458498716354, -0.19908024370670319, 0.10014976561069489, -0.06164412200450897, -0.9063171744346619, 0.01335194893181324, 0.0276484414935112, -0.02782166562974453, -0.2592763304710388, -0.2516392171382904, -0.5987728834152222, -0.3656909763813019, -0.39288246631622314, 0.6807590126991272, -0.28957656025886536, 0.012555851601064205, -0.11645188182592392, 0.11278709769248962, 0.4132724404335022, 0.5816747546195984, -0.8300865292549133, -0.07063011825084686, 0.20572321116924286, 0.8059658408164978, 0.052677616477012634, -0.14501439034938812, -1.0521360635757446, -0.27724316716194153, -0.26314759254455566, 0.6678844690322876, -0.312110036611557, -0.20777656137943268, 0.09808503836393356, -0.2709434926509857, 0.07679300755262375, -0.13763779401779175, 0.6917546987533569, -0.5510693788528442, 0.46098336577415466, -0.6109490394592285, -0.5243076086044312, 0.011705967597663403, 0.457468718290329, -0.3901670277118683, 0.9036393761634827, 0.049021363258361816, -0.8523159623146057, 0.6037619113922119, -0.4499201476573944, -0.28344228863716125, 0.17408952116966248, -0.45277276635169983, -0.31113529205322266, 0.045630015432834625, 0.38309410214424133, 0.46875062584877014, -0.07629316300153732, 0.2710263431072235, -0.5696425437927246, -0.5213565826416016, 0.06011874973773956, -0.722172200679779, 0.6751413345336914, -0.025681860744953156, -0.6495257616043091, 0.04146274924278259, -0.6254101395606995, -0.0028250121977180243, -0.050055619329214096, 0.06245614215731621, -0.35882818698883057, -0.07265851646661758, -0.29436442255973816, 0.38740697503089905, 0.17428551614284515, -0.5921902060508728, 0.16152669489383698, -0.5980490446090698, -0.11595398187637329, 1.112315058708191, 0.010976048186421394, 0.7261376976966858, -0.13578657805919647, 0.5551633238792419, 0.1824684590101242, 0.07761583477258682, -0.6126827001571655, -0.3443828821182251, -0.7236343622207642, -0.22338420152664185, 0.3509840667247772, 0.5676445364952087, -0.8019959926605225, 0.5710998177528381, -0.044450320303440094, -0.1486184448003769, -0.4746660888195038, 0.08774937689304352, 0.2493533194065094, 1.1318984031677246, 0.32981398701667786, -0.2871621251106262, -0.09897904098033905, -0.6086413860321045, -0.25472888350486755, -0.12885244190692902, -0.07237866520881653, 0.4697134494781494, 0.21930669248104095, -0.02477879635989666, 1.317797064781189, -0.4163498878479004, -0.3883965015411377, -0.11600780487060547, 0.21598653495311737, 0.5460426807403564, 0.295120507478714, 0.5760848522186279, -0.20866243541240692, -0.6380988359451294, -0.3128040134906769, -0.4766026735305786, -0.7193162441253662, -0.0011016576318070292, -0.20410528779029846, 0.14537255465984344, 0.014255856163799763, -0.2866438627243042, 0.43636205792427063, 0.24261517822742462, -0.26820093393325806, 0.6351001858711243, 0.002465183148160577, 0.09202039986848831, -0.7683031558990479, 0.05464445799589157, 0.1948915421962738, -0.3510618805885315, -0.6264668107032776, -0.3030908405780792, 0.25524038076400757, 0.13330595195293427, -0.6836061477661133, 0.8330729603767395, -0.3960099518299103, 0.10294365137815475, -0.4373134970664978, 0.20407643914222717, 0.007061608135700226, 0.6412030458450317, 0.020963463932275772, 0.8173792958259583, 0.8150407671928406, -0.6746670007705688, -0.09297829121351242, -0.07085306942462921, 0.07371103763580322, 0.6970536708831787, -0.5845664143562317, 0.34907659888267517, -0.38796618580818176, 0.3817962110042572, -0.7537612915039062, 0.1885780692100525, 0.4694540500640869, -0.4214556813240051, 0.35359975695610046, -0.44458356499671936, -0.24798054993152618, 0.020863911136984825, -0.6528013348579407, 0.4849526286125183, 0.5569973587989807, -0.48024001717567444, 0.27639240026474, 0.14004427194595337, -0.36584386229515076, -0.7822589874267578, -0.30288463830947876, -0.37797144055366516, -0.0016436215955764055, -0.21176202595233917, 0.08766427636146545, -0.26703429222106934, 0.19246555864810944, -0.25945809483528137, -0.12760937213897705, 0.2468491643667221, -0.07941750437021255, 0.10344900190830231, 0.5033679008483887, -0.1690487116575241, 0.11508810520172119, 0.2821353077888489, -0.22794169187545776, -0.09700660407543182, -0.5809913277626038, 0.6961321830749512, 0.034237392246723175, -0.47382158041000366, -0.351668119430542, 0.043165821582078934, 0.14977417886257172, 0.020584173500537872, 0.6141489744186401, 0.6050511002540588, -0.31086665391921997, -0.3462296426296234, -0.6563392281532288, -0.5789104700088501, -0.4516899585723877, 0.2349921315908432, -0.20464667677879333, -0.945662796497345, 0.4255523681640625, 0.10309267789125443, 0.13478195667266846, 0.28665563464164734, 0.6907781362533569, 0.15655696392059326, 1.0092240571975708, 0.49700024724006653, -0.415921151638031, 0.6590630412101746, 0.029599616304039955, 0.11927353590726852, -0.626716673374176, 0.04856392368674278, -0.6202425360679626, -0.17508156597614288, -0.21284706890583038, -0.5279911756515503, 0.4270364046096802, 0.0783071517944336, -0.38786086440086365, -0.13032777607440948, -0.3209800720214844, 0.6808275580406189, 0.7722188830375671, 0.1808498054742813, 0.07002987712621689, 0.030462708324193954, -0.41264408826828003, -0.32135888934135437, -0.5637305378913879, -0.5675146579742432, 1.1021220684051514, 0.37047097086906433, 0.899440586566925, -0.14150995016098022, 0.7380649447441101, 0.3375384211540222, 0.33248788118362427, -0.7554063200950623, 0.3081451952457428, 0.22322040796279907, -0.44109204411506653, -0.3399201035499573, -0.7949468493461609, -0.4807629883289337, 0.14332203567028046, 0.00727709848433733, -0.6211033463478088, 0.3649961054325104, 0.5849444270133972, -0.5817359089851379, -0.02610793523490429, -0.7500850558280945, 0.7774497866630554, -0.2606716752052307, -0.7970521450042725, 0.031121084466576576, -0.5670445561408997, 0.2609279751777649, -0.14729522168636322, 0.08725562691688538, -0.32986608147621155, 0.14234623312950134, 0.5483184456825256, -0.2710564434528351, 0.9979177117347717, -0.750633955001831, -0.17814669013023376, 0.02193935215473175, 0.09516799449920654, 0.5512141585350037, 0.2785137891769409, -0.19602644443511963, 0.17963023483753204, -0.28713542222976685, -0.47129255533218384, -0.5597350597381592, 0.5746904611587524, -0.8381929397583008, -0.3461560606956482, -0.6071232557296753, -0.16653871536254883, -0.4347643554210663, 0.23758022487163544, 0.31777480244636536, 0.3906414806842804, -0.18565037846565247, -0.3357887268066406, 0.7499449253082275, -0.4183329939842224, 0.38623684644699097, 0.8298383951187134, -0.04762251302599907, -0.20888632535934448, 0.9485080242156982, -0.012408914975821972, 0.2475307434797287, 0.26427072286605835, 0.2605006992816925, -0.5601825714111328, -0.2778600752353668, -0.6111820936203003, 0.2956593632698059, -0.7650790810585022, -0.44024658203125, -0.5531882643699646, -0.030678700655698776, -0.43259093165397644, -0.15832030773162842, -0.3325471878051758, -0.2488182932138443, -0.518502950668335, -0.1076761856675148, 0.29182934761047363, 0.31353533267974854, -0.0808565765619278, 0.5245363712310791, -0.6031790971755981, 0.09781528264284134, 0.2854655683040619, 0.39070212841033936, -0.07802516967058182, -0.9841384887695312, -0.10252568125724792, 0.3358842730522156, -0.38656628131866455, -1.058403730392456, 0.3082403540611267, 0.27424314618110657, 0.45612218976020813, 0.5524897575378418, 0.14501993358135223, 0.6282416582107544, -0.8100196719169617, 0.810930073261261, 0.22109198570251465, -1.1864278316497803, 0.7061002254486084, -0.23873472213745117, 0.6015694737434387, 0.9453749656677246, 0.34282398223876953, -0.519670307636261, -0.21746926009655, -0.269563764333725, -0.7111150622367859, 1.0490199327468872, -0.02401484176516533, 0.4158935844898224, 0.07632081210613251, 0.21884523332118988, 0.3174057900905609, 0.18040306866168976, -0.8926824927330017, -0.4365066885948181, -0.34882283210754395, -0.2508477568626404, -0.06758040934801102, -0.15901155769824982, 0.11499819904565811, -0.2599582374095917, 0.9243716597557068, -0.5302832126617432, 0.08520606905221939, 0.02579096332192421, -0.5085814595222473, -0.21504758298397064, 0.42638808488845825, 0.5179217457771301, 0.3857743442058563, -0.30910348892211914, 0.1600942611694336, 0.2997579872608185, -0.4449935555458069, 0.3359068036079407, 0.189602792263031, -0.5986798405647278, 0.058055583387613297, -0.06626700609922409, 1.1137826442718506, 0.13463741540908813, -0.47040829062461853, 0.8780270218849182, -0.17663510143756866, 0.0026955234352499247, 0.07958026975393295, -0.02317100018262863, -0.41843539476394653, -0.05153576657176018, 0.7084598541259766, -0.007578756660223007, 0.09220482409000397, -0.20435519516468048, 0.22513307631015778, 0.45830658078193665, -0.5016235709190369, -0.5521895885467529, 0.4675906300544739, 0.3930290937423706, -0.003222402883693576, 0.42503342032432556, -0.44461700320243835, -0.7656221985816956, 0.054876603186130524, 0.4240743815898895, 1.0126912593841553, -0.32796984910964966, 0.4621046781539917, 0.4626479148864746, 0.29307493567466736, 0.06400250643491745, 0.10162140429019928, -0.39623120427131653, -0.9079300165176392, -0.6328626275062561, -0.6329512000083923, -0.5040185451507568, 0.07633135467767715, -0.2841027081012726, 0.5636371970176697, -0.4769485294818878, -0.1110927164554596, -0.35678666830062866, 0.1439974308013916, -0.8124564290046692, 0.07042161375284195, 0.42587825655937195, 0.6898335814476013, -1.007102608680725, 0.6079962849617004, 0.46534737944602966, -0.5032344460487366, -0.8098894953727722, 0.08394449204206467, 0.17253462970256805, -0.7630487680435181, 0.6520370244979858, 0.2680368423461914, -0.1731557548046112, 0.26063182950019836, -0.602195680141449, -0.6945322155952454, 0.7316338419914246, 0.7699584364891052, -0.6354023814201355, 0.09373243898153305, 0.08442938327789307, 0.23776966333389282, -0.1721736341714859, 0.9951151609420776, 0.2615814507007599, 0.2726835310459137, 0.14834339916706085, -0.726525068283081, -0.006628320552408695, -0.16961728036403656, -0.1600067913532257, 0.0004709663917310536, -0.26310211420059204, 0.6308814883232117, 0.0027475550305098295, -0.22266696393489838, -0.4539267420768738, 0.5399643778800964, 0.510012686252594, 0.1896428018808365, 0.564139723777771, 0.2711386978626251, 0.6910939812660217, -0.04529127851128578, 0.6073062419891357, -0.2948491871356964, 0.3811914026737213, 1.0740069150924683, -0.755419135093689, 0.5348635911941528, 0.48336175084114075, 0.0004758642171509564, 0.2970513701438904, 0.7139353156089783, 0.43163585662841797, 0.6244427561759949, 0.10659629851579666, -0.600032389163971, -0.0718093067407608, -0.15250076353549957, -0.3706466853618622, -0.07159734517335892, 0.18913115561008453, -0.11068858951330185, -0.5093830823898315, 0.06399697810411453, 0.03465894237160683, -0.2166629135608673, -0.297936350107193, 0.7006794214248657, 0.07448733597993851, -0.6179558634757996, 0.5031458735466003, -0.13040874898433685, 1.00333571434021, -0.6635602116584778, -0.052443649619817734, -0.4637106955051422, 0.020510224625468254, -0.037516046315431595, -0.4560397267341614, -0.20739896595478058, 0.2219819575548172, -0.21189604699611664, -0.3776889443397522, 0.7382614016532898, -0.5094770193099976, -0.22087202966213226, 0.10522779077291489, 0.6046296954154968, -0.016734933480620384, -0.24285270273685455, -0.6675297021865845, 0.024912407621741295, 0.022579118609428406, -0.27994468808174133, 0.33434566855430603, 0.33300793170928955, 0.12424881011247635, 0.26001760363578796, 0.7028300166130066, 0.26374301314353943, 0.1786150485277176, 0.5639325380325317, 0.9225377440452576, -0.5754616260528564, -0.6730761528015137, -0.9431636333465576, 0.6171152591705322, -0.07178103923797607, -0.2951079308986664, 0.7028418183326721, 0.2680532932281494, 0.8462297916412354, -0.08453155308961868, 0.8968491554260254, 0.1057453528046608, 0.5621008276939392, -0.5332322120666504, 0.5887033939361572, -0.2786482274532318, 0.29217493534088135, -0.5623158812522888, -1.1212459802627563, -0.26867470145225525, 0.8283319473266602, -0.5299356579780579, 0.27060601115226746, 0.5693170428276062, 0.9480555653572083, -0.0629764050245285, -0.14107298851013184, 0.5030474066734314, 0.0881517231464386, 0.24641919136047363, 0.41211313009262085, 0.8961561918258667, -0.21482016146183014, 0.04278852418065071, -0.14779974520206451, -0.635741114616394, -0.17211298644542694, -0.9898229241371155, -0.8707992434501648, -0.2870599627494812, -0.2617533206939697, -0.1500127911567688, 0.17084228992462158, 1.2247310876846313, 0.7433755993843079, -0.8665066361427307, 0.02541777491569519, -0.04259364306926727, 0.12953652441501617, 0.208819180727005, -0.2431008219718933, 0.1728217601776123, -0.7529193162918091, -0.7907764911651611, 0.28095734119415283, 0.3265227675437927, -0.09360121190547943, -0.37601393461227417, -0.3160178065299988, -0.06349584460258484, 0.01567217707633972, 0.587731122970581, 0.32554465532302856, -0.44138574600219727, -0.2221146672964096, 0.21443597972393036, -0.08201411366462708, -0.037414826452732086, 0.7252623438835144, -1.1103124618530273, 0.4573644697666168, 0.4121326804161072, 0.8027046918869019, 0.3443021774291992, -0.12864698469638824, 0.6397671103477478, -1.1282694339752197, 0.29338857531547546, 0.5160382986068726, 0.2370487004518509, 0.36894580721855164, -0.3780722916126251, 0.11053944379091263, 0.3200138509273529, -0.6086406111717224, -0.8931632041931152, 0.10899952799081802, -0.7418799996376038, 0.07609239965677261, 1.0709738731384277, 0.005652209278196096, -0.17950063943862915, -0.01604175940155983, -0.3981196880340576, 0.3149057626724243, -0.7454738020896912, 0.5609874725341797, 0.5214918851852417, 0.2627837061882019, -0.2900303304195404, -0.335360586643219, 0.43242451548576355, 0.7645109295845032, -0.6539841890335083, -0.038968704640865326, 0.8270736336708069, 0.24757274985313416, -0.24689997732639313, 0.919413685798645, 0.12721629440784454, 0.3885708451271057, -0.5091040134429932, 0.20112717151641846, 0.1635133922100067, -0.19864465296268463, -0.889336884021759, -0.21304303407669067, 0.08250436186790466, -0.09251554310321808 ]
http://arxiv.org/abs/2403.19669v2
http://arxiv.org/pdf/2403.19669v2
Analyzing the Roles of Language and Vision in Learning from Limited Data
2024-02-15T22:19:41
2024-05-10T17:33:24
Allison Chen, Ilia Sucholutsky, Olga Russakovsky, Thomas L. Griffiths
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Does language help make sense of the visual world? How important is it to actually see the world rather than having it described with words? These basic questions about the nature of intelligence have been difficult to answer because we only had one example of an intelligent system -- humans -- and limited access to cases that isolated language or vision. However, the development of sophisticated Vision-Language Models (VLMs) by artificial intelligence researchers offers us new opportunities to explore the contributions that language and vision make to learning about the world. We ablate components from the cognitive architecture of these models to identify their contributions to learning new tasks from limited data. We find that a language model leveraging all components recovers a majority of a VLM's performance, despite its lack of visual input, and that language seems to allow this by providing access to prior knowledge and reasoning.
[ -0.32685500383377075, -0.6918859481811523, 0.7789925932884216, -0.31047695875167847, -0.062108829617500305, -0.06432683765888214, -0.16747738420963287, -0.8409290909767151, -0.14901365339756012, 0.7445833683013916, -0.4251127541065216, -0.076431043446064, -0.47477245330810547, -0.19641968607902527, -0.3377337157726288, 0.7066044807434082, 0.3079667091369629, 0.13641737401485443, -0.6573853492736816, -0.18661686778068542, -0.29196926951408386, -0.4249851405620575, -0.45493799448013306, -0.45015883445739746, 0.5840347409248352, 0.4650813937187195, 0.7225550413131714, 0.819209635257721, 0.7221324443817139, 0.2906927764415741, 0.28137579560279846, -0.05441488325595856, -0.41632696986198425, -0.04862567037343979, -0.2886793315410614, -0.7872312664985657, -0.17778490483760834, -0.07158330082893372, 0.5411875247955322, 1.1267424821853638, 0.22253815829753876, 0.3384917974472046, 0.034296710044145584, 0.7443704605102539, -0.5419549942016602, 0.6685326099395752, -0.6811932325363159, 0.08708276599645615, -0.1817866414785385, 0.020639950409531593, -0.34294095635414124, 0.09240175783634186, 0.4670107364654541, -0.7737847566604614, 0.19090723991394043, 0.14417286217212677, 0.7956941723823547, 0.6109176278114319, -0.2868642210960388, -0.042423080652952194, -0.9888011813163757, 1.0258015394210815, -0.11572525650262833, 0.5804423689842224, 0.45597416162490845, 0.43558433651924133, -0.08262065052986145, -0.652067244052887, -0.6357057094573975, -0.2571371793746948, 0.00862102210521698, 0.19654838740825653, -0.11482896655797958, -0.048050619661808014, 0.30348196625709534, 0.001361468224786222, -0.3556840419769287, -0.09527794271707535, -0.8636452555656433, -0.18376988172531128, 0.7325354814529419, 0.31516405940055847, 0.6069480776786804, 0.030632946640253067, -0.21856102347373962, -0.38206225633621216, -0.6517658233642578, 0.27583444118499756, 0.007856171578168869, 0.24366147816181183, 0.015303676947951317, 0.8355675339698792, -0.21171784400939941, 0.9742637872695923, -0.6577107310295105, -0.11071779578924179, 0.057251110672950745, -0.19047851860523224, -0.2805692255496979, -0.2409183830022812, 0.19405697286128998, 0.2421417087316513, 0.5104448199272156, 0.003375567961484194, -0.2675687074661255, 0.40572062134742737, 0.28322792053222656, -0.460424542427063, -0.5292757153511047, -0.3170506954193115, -0.4367671310901642, 0.08238474279642105, 0.06525014340877533, -0.6423510313034058, -0.6283891797065735, -0.5812384486198425, 0.3114497661590576, -0.40943974256515503, -0.2287917286157608, 0.0038305483758449554, -0.44321373105049133, 0.4091983735561371, 0.618975818157196, -0.7903090119361877, 0.524025559425354, 0.5834309458732605, 0.30619218945503235, -0.1597718447446823, -0.49617093801498413, -0.32659053802490234, -0.025947192683815956, -0.47382500767707825, 0.8506964445114136, -0.7489997148513794, -0.07691212743520737, -0.08357085287570953, -0.18757390975952148, -0.008723349310457706, -0.5286376476287842, 0.1316716969013214, -0.4872457683086395, -0.05923396721482277, -0.48136791586875916, -0.46088674664497375, -0.41215500235557556, -0.048121921718120575, -0.8004290461540222, 0.5309443473815918, 0.20584438741207123, -0.4719463586807251, 0.5811815857887268, -0.6441877484321594, -0.43167102336883545, 0.5021739602088928, -0.6191114783287048, -0.08551108837127686, 0.5520398020744324, 0.05677998811006546, 0.23326541483402252, -0.19297491014003754, -0.1786772757768631, -0.17105191946029663, -0.15216709673404694, 0.4757477939128876, -0.3887239694595337, 0.8137158155441284, 0.19847503304481506, -0.07953213155269623, -0.11580285429954529, -0.8124243021011353, 0.03960961475968361, 0.4188748896121979, -0.43586137890815735, -0.5437639951705933, 0.507325291633606, 0.09266654402017593, -0.06490585952997208, 0.3017498254776001, -0.39173731207847595, 0.011866847053170204, -0.4071241617202759, 0.31679219007492065, 0.6508306860923767, -0.305419921875, 0.616727888584137, -0.226922869682312, 0.3783808946609497, 0.02669183909893036, 0.3528967499732971, -0.031509604305028915, -0.6369822025299072, -1.1695524454116821, -0.20581719279289246, 0.11551254242658615, 0.6284003853797913, -1.0225539207458496, -0.22802548110485077, -0.1269114911556244, -0.20949670672416687, -0.6440993547439575, 0.4369897246360779, 0.11917506903409958, 0.41708770394325256, 0.1901039332151413, -0.2820337116718292, -0.624801516532898, -0.9154766798019409, -0.04893534630537033, -0.4140589237213135, -0.10621200501918793, 0.5597242712974548, 0.572934091091156, -0.0823744684457779, 0.8824872374534607, -0.41812312602996826, -0.14045460522174835, -0.587394118309021, -0.40395909547805786, -0.07102055847644806, 0.2773228585720062, 0.7113990783691406, -0.9516171813011169, -0.25581175088882446, 0.13812261819839478, -1.098095417022705, 0.10980923473834991, -0.11793608963489532, -0.14562322199344635, -0.0692146047949791, 0.4472309947013855, -0.4680458605289459, 0.7386602759361267, 0.3370838463306427, -0.40460991859436035, 0.0980052649974823, -0.31458142399787903, -0.3496829867362976, -0.22548829019069672, -0.05350217968225479, -0.12177243828773499, -0.17256146669387817, -0.8239385485649109, 0.18269288539886475, -0.09708374738693237, -0.1767856776714325, -0.4655696749687195, 0.6834262609481812, -0.5886517763137817, -0.351858913898468, -0.2913833260536194, 0.252562016248703, -0.0990566834807396, 0.5078225135803223, 0.06937957555055618, 0.31436964869499207, 0.8364969491958618, -0.6401294469833374, 0.3363277316093445, 0.11321922391653061, -0.5559087991714478, 0.5013680458068848, -0.38912108540534973, -0.10378078371286392, -0.5444521307945251, -0.34931647777557373, -0.7762033939361572, -0.37394869327545166, 0.21825248003005981, -0.4837908446788788, 0.15756142139434814, 0.22785651683807373, -0.08283672481775284, -0.3285909593105316, 0.1338089108467102, 0.41707828640937805, 0.6633011698722839, -0.33468058705329895, 0.7239850759506226, 0.7930464148521423, 0.013915271498262882, -0.28442147374153137, -0.754755437374115, -0.004439434967935085, 0.12065815925598145, -0.28760871291160583, -0.05225258693099022, -0.06501661241054535, -0.775092363357544, 0.2993168830871582, -0.1136055737733841, -0.2907545268535614, 0.44795727729797363, 0.43735748529434204, 0.4765140414237976, -0.2665618062019348, 0.25866392254829407, -0.5488455295562744, -0.014133949764072895, 0.02499018795788288, -0.3911207616329193, 0.3526557981967926, -0.1912432163953781, -0.4724162220954895, -0.16908250749111176, 0.43500617146492004, 0.7231147289276123, -0.5049490928649902, 0.5967695116996765, 0.14533597230911255, -0.4352993965148926, -0.426704078912735, -0.31439632177352905, -0.12535303831100464, -0.3878989815711975, 0.6590932607650757, -0.20469902455806732, -0.5413200259208679, 0.24356895685195923, 0.22881990671157837, -0.0969383493065834, 0.3809385299682617, 0.36722511053085327, -0.21452558040618896, 0.9762347340583801, 1.2319878339767456, -0.07417645305395126, 0.8076653480529785, -0.2787702977657318, 0.2277447134256363, -0.49224573373794556, -0.48340317606925964, -0.2899300754070282, -0.24544624984264374, -0.36155951023101807, -0.4556439220905304, 0.3688541054725647, -0.03959329426288605, -0.03577689453959465, -0.12569352984428406, -0.3688780963420868, 0.6374921798706055, 1.0229617357254028, 0.18232852220535278, 0.1018446683883667, 0.11462455242872238, 0.08144497126340866, 0.14826159179210663, -0.8961228132247925, -0.40310123562812805, 1.0414153337478638, 0.14190243184566498, 0.7001143097877502, -0.18574796617031097, 0.5325012803077698, 0.10260280966758728, 0.14402304589748383, -0.8160935044288635, 0.7278409600257874, -0.06234435364603996, -0.3788468539714813, -0.31121987104415894, -0.22834518551826477, -1.00702702999115, 0.3029537796974182, -0.38411200046539307, -0.6013761162757874, 0.1561424285173416, 0.06657104939222336, -0.19279395043849945, 0.16284063458442688, -0.7064662575721741, 0.7413407564163208, -0.5581867694854736, -0.16672199964523315, -0.22953090071678162, -0.579350471496582, 0.2529323101043701, 0.07485569268465042, 0.3719988763332367, -0.06262743473052979, -0.08612729609012604, 0.6935021877288818, -0.17226991057395935, 0.9112176895141602, -0.23638728260993958, 0.3486771881580353, 0.3990266025066376, -0.11579897999763489, 0.08098605275154114, -0.1634819358587265, 0.28112226724624634, 0.1697106957435608, -0.12725743651390076, -0.6235183477401733, -0.609158992767334, 0.29447290301322937, -0.7550544142723083, -0.7285824418067932, -0.2430417239665985, -0.7539919018745422, -0.07266585528850555, 0.32593801617622375, -0.001885288511402905, 0.2840249240398407, -0.2009839564561844, 0.33500269055366516, 0.6493141651153564, -0.2651039958000183, 0.4309063255786896, 0.4253379702568054, -0.47608307003974915, 0.0291798897087574, 1.0604676008224487, 0.13070568442344666, 0.14375008642673492, 0.37668219208717346, 0.09873901307582855, 0.036936771124601364, -0.7060660123825073, -0.2832532525062561, 0.14868566393852234, -0.9060236215591431, 0.11376772820949554, -0.4034550189971924, -0.3496842384338379, -0.0031932119745761156, -0.0415072925388813, -0.06759048253297806, -0.42953380942344666, -0.20515216886997223, -0.14278772473335266, 0.12126687169075012, 1.0347752571105957, -0.0663624033331871, 0.012883135117590427, -0.5664657354354858, 0.3104802370071411, 0.6331388354301453, 0.001590827596373856, -0.021277446299791336, 0.06862137466669083, -0.4525744915008545, 0.08440378308296204, 0.1248704195022583, -0.7222603559494019, 0.35464829206466675, 0.43483155965805054, 0.9798761606216431, 0.22705209255218506, -0.08625105768442154, 0.5643158555030823, -0.6503754258155823, 0.8439226746559143, 0.003392215818166733, -0.577303409576416, 0.5581771731376648, 0.10683996230363846, 0.45743486285209656, 0.3266395628452301, 0.06771854311227798, -0.19520138204097748, -0.5089797973632812, -0.42218834161758423, -0.7408587336540222, 0.5447725653648376, 0.046673133969306946, 0.11949826776981354, 0.09698901325464249, 0.18341615796089172, -0.0846511721611023, 0.24161191284656525, -0.7645474076271057, 0.009513640776276588, -0.21915684640407562, -0.4008381962776184, -0.018630346283316612, -0.02275198884308338, -0.1764899343252182, -0.39662161469459534, 0.12276897579431534, -0.2156280279159546, 0.2043907791376114, 0.19553780555725098, -0.41439089179039, -0.03738158941268921, -0.138749897480011, 0.37747544050216675, 0.7003223896026611, 0.4479677379131317, 0.34458860754966736, 0.04488939791917801, -0.6194810271263123, -0.3675183057785034, -0.22460493445396423, -0.3859322965145111, -0.2900240421295166, 0.7258107662200928, 1.0085031986236572, -0.13299506902694702, -1.1348353624343872, 0.4197814464569092, -0.08994157612323761, -0.018723219633102417, -0.354153037071228, 0.4381113350391388, -0.1719304621219635, 0.7240390181541443, 0.5346259474754333, 0.43017497658729553, -0.03725961595773697, -0.8035611510276794, 0.20385950803756714, 0.6125642657279968, -0.3468143343925476, -0.40376704931259155, 0.5946738123893738, -0.11276578903198242, -0.36809104681015015, 0.8045987486839294, 0.2015570104122162, -0.5908529758453369, 0.7858493328094482, 0.28981921076774597, 0.5227953791618347, -0.07914219796657562, 0.216794952750206, -0.05395839363336563, 0.48493385314941406, 0.09677991271018982, 0.482522189617157, -0.2800968289375305, -0.964577317237854, -0.14250536262989044, -0.7430011034011841, -0.20291553437709808, -0.07482517510652542, -0.5359845757484436, -0.19496697187423706, -0.6435191631317139, 0.16412360966205597, 0.08100811392068863, -0.22038523852825165, -1.205505132675171, 0.3648136556148529, 0.5119003653526306, 0.7470331788063049, -0.8975414037704468, 0.9333555102348328, 0.6484230160713196, -0.5122857689857483, -0.6813211441040039, -0.2355339378118515, -0.2171143740415573, -1.073089599609375, 1.0726656913757324, 0.011241782456636429, -0.15573765337467194, -0.13211561739444733, -0.7892730832099915, -0.8640934824943542, 0.7890753746032715, 0.46730154752731323, -0.3272418975830078, 0.03357847407460213, 0.19880525767803192, 0.7089899182319641, -0.44405505061149597, -0.17873144149780273, 0.3771497905254364, 0.43596041202545166, -0.08444434404373169, -0.5798764824867249, -0.2302078753709793, -0.339582234621048, -0.0781354010105133, 0.11981000006198883, -0.36905670166015625, 1.0130139589309692, -0.429317444562912, -0.4137227237224579, -0.09325192868709564, 0.6392587423324585, -0.21046917140483856, 0.3410884141921997, 0.44689396023750305, 0.2686007022857666, 0.8406945466995239, -0.05252653360366821, 1.1144511699676514, -0.009342658333480358, 0.06971484422683716, 0.8605133891105652, -0.23438914120197296, 1.0426326990127563, 0.609285295009613, -0.0888773575425148, 0.3412165641784668, 0.27676770091056824, -0.07081609964370728, 0.7708085179328918, 0.06050533801317215, -0.14551910758018494, -0.4877454936504364, -0.2556288242340088, 0.042227860540151596, 0.7488335371017456, 0.5545905232429504, -0.2587130665779114, -0.07843570411205292, 0.3686884045600891, -0.5282717347145081, 0.06841521710157394, -0.5001554489135742, 0.8158239722251892, 0.08541805297136307, -0.6357970833778381, 0.26244932413101196, -0.6035925149917603, 0.11449633538722992, -0.4338291883468628, -0.3145155608654022, -0.150377556681633, 0.27703866362571716, -0.03235896676778793, -0.6441978216171265, 0.36058419942855835, -0.14454129338264465, -0.19008609652519226, -0.08961541950702667, 0.7829428315162659, -0.3573189079761505, -0.7458334565162659, 0.3747745454311371, 0.8107552528381348, 0.20422063767910004, 0.2517683207988739, -0.5326974391937256, 0.1398017257452011, 0.09137830138206482, -0.09372548013925552, 0.35066840052604675, 0.4003823697566986, -0.1515703797340393, 0.8654013276100159, 0.49053865671157837, 0.3389561176300049, 0.3047752380371094, -0.14804783463478088, 0.7475260496139526, -0.7723516225814819, -0.17722344398498535, -0.8508975505828857, 0.4163382947444916, -0.1120992973446846, 0.01204020157456398, 0.6448759436607361, 0.3697679936885834, 1.155585765838623, -0.2523745000362396, 0.9961660504341125, -0.10328308492898941, 0.1906852275133133, -0.5993064641952515, 0.6391690373420715, -0.9177900552749634, 0.09706529974937439, -0.001861024065874517, -0.6734281182289124, -0.5636038184165955, 0.8234828114509583, -0.2323000282049179, -0.4143427014350891, 0.6595177054405212, 0.554502546787262, 0.15910279750823975, -0.15401528775691986, 0.7386837601661682, 0.2861287593841553, 0.12095282971858978, 0.7850245237350464, 1.0271116495132446, -0.042298734188079834, 0.6206246614456177, -0.10500187426805496, -0.22708460688591003, -0.09328579157590866, -0.35852038860321045, -0.9009959101676941, -0.7494513988494873, -0.0592602901160717, 0.22290149331092834, -0.11654546111822128, 0.5608213543891907, 0.6117103099822998, -0.5304750800132751, -0.29674890637397766, -0.1879434883594513, 0.23682574927806854, -0.2764632999897003, -0.1653047800064087, 0.07089763879776001, -0.3151058256626129, -0.7034214735031128, 0.5470793843269348, 0.572685956954956, 0.21534663438796997, -0.3785533905029297, -0.011733154766261578, 0.22767290472984314, 0.21657663583755493, 0.6658400297164917, 0.46764084696769714, -0.8285662531852722, -0.47861185669898987, 0.13939151167869568, 0.01939764805138111, 0.10477588325738907, 0.7688541412353516, -0.9868418574333191, 0.5106574296951294, 0.6452498435974121, 0.7937784194946289, 0.32398897409439087, -0.45247918367385864, 0.546665608882904, -0.32917991280555725, 0.38357043266296387, 0.269563764333725, 0.618698000907898, 0.3761887848377228, -0.24293144047260284, 0.35935452580451965, 0.29692333936691284, -0.3671362102031708, -0.708113968372345, 0.5603874921798706, -0.8651751279830933, -0.5266237258911133, 0.7284043431282043, -0.032790761440992355, -0.8147229552268982, -0.25063401460647583, -0.35691460967063904, 0.032094236463308334, 0.039557356387376785, 0.6716189980506897, 0.5801461935043335, -0.3520453870296478, -0.4719283878803253, -0.9103897213935852, 0.4897175431251526, 0.302731454372406, -0.8083266019821167, -0.1179693192243576, 0.7362186908721924, 0.060376089066267014, 0.27141448855400085, 0.5179445147514343, 0.19669678807258606, 0.2513514459133148, 0.28301215171813965, -0.3516664206981659, 0.10340375453233719, -0.8438349962234497, -0.20896293222904205, 0.27265727519989014, 0.2986293435096741, -0.3384303152561188 ]
http://arxiv.org/abs/2402.10342v1
http://arxiv.org/pdf/2402.10342v1
Exploration-Driven Policy Optimization in RLHF: Theoretical Insights on Efficient Data Utilization
2024-02-15T22:11:18
2024-02-15T22:11:18
Yihan Du, Anna Winnicki, Gal Dalal, Shie Mannor, R. Srikant
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement Learning from Human Feedback (RLHF) has achieved impressive empirical successes while relying on a small amount of human feedback. However, there is limited theoretical justification for this phenomenon. Additionally, most recent studies focus on value-based algorithms despite the recent empirical successes of policy-based algorithms. In this work, we consider an RLHF algorithm based on policy optimization (PO-RLHF). The algorithm is based on the popular Policy Cover-Policy Gradient (PC-PG) algorithm, which assumes knowledge of the reward function. In PO-RLHF, knowledge of the reward function is not assumed and the algorithm relies on trajectory-based comparison feedback to infer the reward function. We provide performance bounds for PO-RLHF with low query complexity, which provides insight into why a small amount of human feedback may be sufficient to get good performance with RLHF. A key novelty is our trajectory-level elliptical potential analysis technique used to infer reward function parameters when comparison queries rather than reward observations are used. We provide and analyze algorithms in two settings: linear and neural function approximation, PG-RLHF and NN-PG-RLHF, respectively.
[ -0.3792526125907898, -0.6596643328666687, 0.6714937686920166, 0.23042821884155273, 0.08418750017881393, 0.05071045830845833, -0.22949837148189545, -0.36894261837005615, 0.3362064063549042, 0.5584933757781982, -1.0923473834991455, -0.31204450130462646, -0.12564779818058014, -0.3281523287296295, 0.21561037003993988, 0.7572043538093567, -0.046962589025497437, -0.247493177652359, -0.2532859444618225, -0.06745301187038422, -0.31867992877960205, -0.3995169401168823, -0.5991694331169128, -0.5461146831512451, 0.7377591133117676, 0.44105568528175354, 0.4426056146621704, 0.6669458150863647, 0.40165677666664124, 0.05926463007926941, -0.14438028633594513, 0.46852654218673706, -0.8330715894699097, -0.08023757487535477, 0.0036888059694319963, -0.34015461802482605, -0.012082916684448719, -0.15789692103862762, 0.7179401516914368, 0.5520264506340027, -0.589651346206665, -0.3680688142776489, -0.09357540309429169, 0.9046468734741211, -0.9755107760429382, 0.24957770109176636, -0.19341552257537842, 0.48450708389282227, 0.07659157365560532, -0.5288069248199463, -0.2631603181362152, -0.5372333526611328, 0.42877423763275146, -1.0938186645507812, -0.11605226993560791, 0.16812849044799805, 0.8190737962722778, 0.18171288073062897, -0.24157589673995972, -0.18473875522613525, -0.8429834842681885, 0.9756205677986145, -0.34222084283828735, 0.13220252096652985, 0.4398753046989441, 0.44221925735473633, -0.36703020334243774, -0.28184956312179565, -0.31705430150032043, -0.563143789768219, -0.059679608792066574, 0.1254229098558426, 0.09142462909221649, 0.5086149573326111, 0.17800858616828918, 0.3329765200614929, -0.3584410548210144, 0.31844562292099, -0.12273671478033066, -0.313696950674057, 0.8264255523681641, 0.2924422025680542, -0.2840934991836548, -0.09533899277448654, -0.5271353125572205, -0.6956911683082581, -0.9102246761322021, 0.8400248885154724, 0.6227555871009827, 0.23538486659526825, 0.02105795592069626, 0.35139894485473633, -0.39490124583244324, 0.6047133803367615, -0.16174077987670898, 0.03153134882450104, 0.17580553889274597, -0.15992507338523865, 0.051854219287633896, -0.2631283104419708, 0.5620284080505371, 0.3888140022754669, 0.17188145220279694, -0.1963401436805725, -0.4798907935619354, -0.3073250353336334, 0.3878561556339264, -0.6892008185386658, 0.0795687809586525, 0.040125876665115356, -0.4523617625236511, -0.4036465883255005, 0.34737884998321533, -1.0369956493377686, -0.47415873408317566, 0.006737140007317066, 0.37769314646720886, 0.04038481414318085, -0.24164339900016785, 0.06334191560745239, -0.12533555924892426, 0.3337404131889343, 0.27965158224105835, -0.8013206720352173, 0.4155288636684418, 0.6935322284698486, 0.6225175261497498, -0.5876358151435852, -0.44225460290908813, -0.832694947719574, -0.30551677942276, -0.3068521022796631, 0.5481663942337036, -0.32668986916542053, -0.7735697031021118, 0.4160982370376587, -0.12558861076831818, -0.08797988295555115, -0.6809205412864685, 0.685515820980072, -0.7430557608604431, 0.01654898002743721, -0.5116924047470093, -0.38848745822906494, -0.38337281346321106, 0.2923048436641693, -0.6868518590927124, 1.1331276893615723, 0.261801540851593, -0.45060107111930847, 0.619695782661438, -1.1670690774917603, -0.3451506197452545, -0.20544393360614777, -0.14591072499752045, -0.6180038452148438, -0.0445481538772583, 0.11567050963640213, -0.012855499051511288, -0.18461431562900543, 0.17900535464286804, -0.27702686190605164, -0.5208141803741455, 0.11543489247560501, -0.4149599075317383, 0.42051437497138977, 0.160067617893219, -0.33904629945755005, 0.48987236618995667, -0.48065605759620667, 0.1656690388917923, 0.1150633916258812, -0.4521166682243347, -0.06342446804046631, 0.40132656693458557, 0.0770658329129219, -0.12182807922363281, 0.0823327824473381, -0.3992392420768738, 0.3432140648365021, -0.24671053886413574, 0.32383373379707336, 0.7096907496452332, 0.4069255292415619, 0.5191447138786316, -0.36414819955825806, 1.0233168601989746, -0.5097426772117615, 0.3113095164299011, -0.04083440452814102, -0.15508891642093658, -0.09071114659309387, -0.080651193857193, 0.421414852142334, 0.49854689836502075, -0.3955000340938568, 0.2920495271682739, 0.11966311186552048, -0.16834953427314758, -0.2860577404499054, -0.27168717980384827, 0.38535746932029724, 0.6152459979057312, 0.3593984842300415, -0.19975975155830383, -0.18304280936717987, -0.9106338024139404, -0.30229687690734863, -0.2138323038816452, 0.24556845426559448, 1.0255804061889648, 0.1625998616218567, -0.1425933688879013, 0.8824892044067383, -0.6445228457450867, -0.16773763298988342, -0.20384618639945984, 0.08135359734296799, 0.35710790753364563, 0.35339829325675964, 0.4244321584701538, -0.5735737681388855, -0.34477561712265015, 0.011598440818488598, -0.4753699004650116, 0.01389346458017826, -0.27930036187171936, -0.17229795455932617, -0.007804164197295904, 0.23668326437473297, -0.5205241441726685, 0.6005897521972656, 0.1994851529598236, -0.2935996353626251, 0.442391037940979, -0.5843836665153503, 0.09374451637268066, 0.29232755303382874, 0.12986692786216736, -0.06609147042036057, -0.35436153411865234, -0.28202715516090393, 0.1371135115623474, -0.10331818461418152, -0.057328756898641586, -0.3542442321777344, 0.4703565835952759, -0.09077229350805283, -0.32659319043159485, -0.39082229137420654, 0.04548799619078636, -0.2811242341995239, 0.9892362952232361, 0.24122194945812225, 0.771023690700531, 0.46635565161705017, -0.8651366233825684, 0.053770679980516434, -0.2428971827030182, -0.014497468248009682, 0.20242102444171906, -0.5551069378852844, 0.04031038656830788, -0.15711380541324615, 0.2255387008190155, -0.6004834175109863, -0.032971806824207306, 0.4406062662601471, -0.09764352440834045, 0.20475561916828156, -0.09676138311624527, -0.021182404831051826, -0.1863408237695694, -0.6348296403884888, 0.5142943263053894, 0.38895100355148315, -0.6276288628578186, 0.43451765179634094, 0.6061822772026062, 0.23605501651763916, -0.8131007552146912, -0.13685260713100433, -0.49962684512138367, -0.4427776038646698, -0.32823875546455383, 0.6239176988601685, 0.29002654552459717, 0.04247720539569855, 0.017170732840895653, -0.21042431890964508, 0.1508977711200714, 0.11736172437667847, 0.13918116688728333, 0.23254366219043732, 0.20508751273155212, -0.03108380362391472, 0.1133001521229744, -0.13617825508117676, 0.33831560611724854, -0.346551775932312, 0.5390704274177551, -0.1945505291223526, -0.39640551805496216, -0.28906387090682983, 0.09987080842256546, 0.2226743847131729, -0.05077532306313515, 0.25401315093040466, 0.39822977781295776, -0.07606831938028336, -0.3415060043334961, -0.042330287396907806, -0.5909525156021118, -0.37076908349990845, 0.5717552304267883, -0.11874715983867645, -0.6506808400154114, 0.3602388799190521, -0.05074387788772583, 0.2647866904735565, 0.4685468375682831, 0.1445530652999878, -0.08611761778593063, 0.6990364789962769, 0.5109679102897644, -0.023349478840827942, 0.6871805191040039, -0.5247555375099182, -0.19197484850883484, -0.5005181431770325, -0.3731311857700348, -0.18913553655147552, -0.5257176756858826, -1.0291814804077148, -0.2562711834907532, 0.5386135578155518, 0.010906020179390907, -0.23752298951148987, 0.06170166656374931, -0.4276357591152191, 0.3802119791507721, 0.6980978846549988, 0.23476819694042206, 0.09225884824991226, 0.13058559596538544, 0.05036954954266548, -0.0914463996887207, -1.0665397644042969, 0.1395515352487564, 1.26544988155365, 0.5459336638450623, 0.7891018986701965, -0.31792354583740234, 0.8056171536445618, 0.614398181438446, 0.05866072699427605, -0.8290570378303528, 0.2534046173095703, 0.25214454531669617, -0.10749122500419617, -0.7341068983078003, -0.6511709690093994, -1.1991848945617676, 0.4409767687320709, -0.27780547738075256, -0.5836620330810547, 0.3491077423095703, 0.5632138252258301, -0.6504250168800354, 0.026287296786904335, -0.3554733097553253, 0.6999539732933044, -0.5428732633590698, -0.5861374139785767, -0.5737162828445435, -0.5887629985809326, 0.17625461518764496, 0.5091034770011902, -0.02607620507478714, 0.16420941054821014, 0.08849199116230011, 0.8656529188156128, -0.38232389092445374, 0.31380870938301086, -0.976357638835907, 0.07019742578268051, 0.41483721137046814, -0.0710076093673706, 0.7888362407684326, 0.27667614817619324, 0.2568507790565491, -0.07730673253536224, 0.002334523480385542, -0.33276522159576416, -0.6315999627113342, 0.4929158091545105, -0.8621783256530762, -0.3244810998439789, -0.5925349593162537, -0.3767719864845276, -0.3875420093536377, 0.142767995595932, 0.14075858891010284, 0.009605752304196358, -0.16503286361694336, 0.1571628898382187, 0.8423538208007812, -0.30869385600090027, 0.4197789430618286, 0.08967450261116028, -0.6975225210189819, -0.29026344418525696, 0.9179960489273071, -0.19649676978588104, 0.08503008633852005, 0.594379186630249, 0.47412019968032837, -0.7100549936294556, -0.2588517367839813, -0.42544105648994446, 0.2491256594657898, -0.23858322203159332, 0.09036506712436676, -0.1319388598203659, 0.009712222963571548, 0.2706916332244873, 0.17323528230190277, -0.4929153025150299, -0.29308512806892395, -0.07135295122861862, 0.04800466075539589, 0.1802026331424713, 0.635209321975708, -0.3118687868118286, 0.312203586101532, -0.17532415688037872, 0.14603592455387115, 0.34413254261016846, 0.2776922583580017, 0.06522953510284424, -0.15663188695907593, -0.2813796103000641, 0.13919083774089813, -0.4495132267475128, -0.7577418684959412, 0.2851569652557373, 0.003199747297912836, 0.7612438201904297, 0.47901859879493713, 0.08539693057537079, 0.35833701491355896, 0.017124895006418228, 0.38247251510620117, -0.053752601146698, -0.3162652552127838, 0.27236711978912354, -0.23246914148330688, -0.1597454994916916, 0.5978958010673523, 0.14173753559589386, -0.4433903396129608, 0.4678177833557129, -0.6634076833724976, -0.8046224117279053, 0.902360737323761, 0.06889685243368149, -0.27337735891342163, 0.6637636423110962, 0.5754323601722717, -0.09475145488977432, 0.42032018303871155, -0.6283044219017029, -0.2666221857070923, -0.07138477265834808, 0.41990867257118225, 0.05914362519979477, 0.11764232814311981, -0.2706717848777771, 0.0553007498383522, 0.5707472562789917, -0.25578737258911133, 0.5268111824989319, 0.265461266040802, 0.1546594351530075, -0.20457233488559723, 0.022377587854862213, 0.7847414016723633, 0.5701570510864258, -0.4408877491950989, -0.27325060963630676, -0.07934453338384628, -0.31510305404663086, 0.08225040882825851, 0.09177695959806442, -0.4069128632545471, -0.344667911529541, -0.037906210869550705, 1.0373344421386719, 0.054870061576366425, -1.0340168476104736, 0.48653697967529297, -0.00009606444655219093, -0.3364458680152893, -0.4228924810886383, 0.39236798882484436, -0.4213677644729614, 0.2333257645368576, 0.35896313190460205, -0.011503541842103004, 0.07769230008125305, -0.2894279360771179, 0.14351454377174377, 0.6665908694267273, -0.5446605682373047, 0.04074689745903015, 0.2589763104915619, 0.041948359459638596, -0.5363858342170715, 0.6618689298629761, -0.32534176111221313, -0.5071595311164856, 0.8204289078712463, 0.10271406173706055, 0.7313507199287415, 0.25204896926879883, 0.39537882804870605, 0.3357307016849518, 0.12824365496635437, -0.10904511064291, 0.40981918573379517, -0.5311103463172913, -0.6817988157272339, -0.5513268113136292, -0.22596707940101624, -0.6467427015304565, 0.20734211802482605, -0.9245513081550598, -0.05126066878437996, -0.61772221326828, -0.04747023805975914, -0.6022917628288269, 0.2691246569156647, -0.586397111415863, -0.1413862705230713, -0.37438246607780457, 0.6715102791786194, -0.48141127824783325, 0.4571032226085663, 0.3747027516365051, -0.03042742796242237, -0.660206139087677, 0.11803421378135681, -0.22148992121219635, -0.9408824443817139, 0.42963534593582153, -0.01238436158746481, -0.1843189001083374, -0.22068877518177032, -0.23435726761817932, -0.6805303692817688, 1.197420358657837, 0.09675650298595428, -0.5931419134140015, -0.10730067640542984, -0.1442866325378418, 0.3514326214790344, -0.3895815312862396, 0.1943616271018982, 0.7508814930915833, 0.7497401833534241, -0.015745585784316063, -0.5564786791801453, -0.3215574622154236, 0.1400476098060608, 0.121843621134758, 0.3550119400024414, -0.46596112847328186, 0.5543032288551331, -0.35771337151527405, 0.057844121009111404, -0.22963665425777435, 0.6613560914993286, 0.8322680592536926, 0.47736892104148865, 0.8335415720939636, 0.4763500392436981, 0.7183526754379272, 0.11258505284786224, 1.3036264181137085, -0.17778868973255157, 0.7926260828971863, 0.6571635007858276, -0.1513967663049698, 0.6511046290397644, 0.6498280167579651, -0.6807811260223389, 0.3565504848957062, 0.9864440560340881, 0.06885775923728943, 1.0880632400512695, 0.6523493528366089, -0.15251366794109344, 0.0012585049262270331, -0.03355062007904053, -0.2090252786874771, 0.09560511261224747, 0.06443848460912704, -0.05441133677959442, -0.3275519013404846, -0.13687939941883087, -0.23730558156967163, 0.0018172664567828178, -0.5201889276504517, 0.6860605478286743, -0.3370910584926605, -1.1491326093673706, 0.43362075090408325, 0.266944944858551, 0.5219528675079346, -0.5732044577598572, -0.35812392830848694, -0.11488780379295349, 0.03136767819523811, -0.10254281759262085, -0.6561492681503296, 0.038657642900943756, -0.49227267503738403, -0.026476280763745308, -0.28736594319343567, 0.5773809552192688, -0.2975709140300751, 0.14859279990196228, 0.36187803745269775, 0.397904634475708, -0.1609441488981247, -0.07159435749053955, -0.4636540412902832, -0.21903550624847412, 0.21237137913703918, -0.38401854038238525, 0.4244641363620758, 0.029565632343292236, 0.014156943187117577, 0.6551803946495056, 0.664408266544342, 0.43624064326286316, 0.04932436719536781, -0.2681238055229187, 0.5416103005409241, -0.5955350399017334, -1.1172646284103394, -0.5643353462219238, 0.16900058090686798, 0.020396843552589417, -0.47962087392807007, 0.0366312637925148, 0.3393123745918274, 0.7789389491081238, 0.0042045386508107185, 0.7142692804336548, -0.025339806452393532, 0.45686548948287964, -0.7815127372741699, 0.3785768151283264, -0.5729771852493286, 0.39337894320487976, 0.024038704112172127, -0.8317320346832275, -0.032184842973947525, 0.9126637578010559, -0.41231971979141235, 0.191331684589386, 0.41025274991989136, 0.9908329844474792, 0.029108550399541855, 0.04148668795824051, 0.1668918877840042, -0.3781355619430542, 0.39078977704048157, 0.6668582558631897, 0.8038558959960938, -0.04195753112435341, 0.3215537965297699, -0.42892658710479736, -0.47090423107147217, -0.4989399015903473, -0.982609748840332, -0.44956061244010925, -0.19935059547424316, 0.06821806728839874, -0.4052210748195648, 0.09128297120332718, 0.9972823262214661, 0.9025633335113525, -0.6015053987503052, -0.5214845538139343, -0.7173050045967102, 0.49745291471481323, -0.6971777677536011, -0.3265683948993683, 0.6462320685386658, -0.1819259226322174, -0.43975746631622314, 0.6366583704948425, 0.2305440455675125, -0.3332693874835968, -0.6649594902992249, -0.8081461787223816, -0.057124074548482895, -0.18162120878696442, 0.22828303277492523, 0.9396849870681763, -0.37831607460975647, 0.015595471486449242, 0.13127119839191437, 0.30746951699256897, 0.12347295135259628, 1.3362047672271729, -0.9498801231384277, 0.31167635321617126, 0.346525102853775, 1.2259458303451538, 0.9905231595039368, 0.1902664601802826, 0.36104267835617065, -0.456149160861969, 0.04729020595550537, 0.4508291184902191, 0.13651041686534882, -0.11556705087423325, -0.5656601786613464, 0.4098568856716156, 0.39679625630378723, -0.7477648854255676, -0.8628268837928772, 0.3742663562297821, -0.8278133869171143, 0.02356378547847271, 0.9792475700378418, -0.2165384292602539, -0.13479523360729218, 0.3141174018383026, -0.17607851326465607, -0.3670702576637268, -0.8784251809120178, 0.9172308444976807, 0.4062657654285431, -0.7971585988998413, -0.3664557635784149, -0.3457249104976654, 0.7858850359916687, 0.5918941497802734, -0.8451476693153381, -0.06368587166070938, 0.2459375411272049, -0.13483278453350067, -0.09416168928146362, 0.6503874659538269, 0.0479336641728878, 0.5758810043334961, -0.34203997254371643, -0.3380368649959564, -0.2679642140865326, -0.5482521057128906, -0.4309033751487732, 0.37038204073905945, 0.18382064998149872, -0.4613325297832489 ]
http://arxiv.org/abs/2402.10979v2
http://arxiv.org/pdf/2402.10979v2
SportsMetrics: Blending Text and Numerical Data to Understand Information Fusion in LLMs
2024-02-15T20:26:07
2024-06-16T06:43:50
Yebowen Hu, Kaiqiang Song, Sangwoo Cho, Xiaoyang Wang, Hassan Foroosh, Dong Yu, Fei Liu
cs.CL
cs.CL, cs.AI
Large language models hold significant potential for integrating various data types, such as text documents and database records, for advanced analytics. However, blending text and numerical data presents substantial challenges. LLMs need to process and cross-reference entities and numbers, handle data inconsistencies and redundancies, and develop planning capabilities such as building a working memory for managing complex data queries. In this paper, we introduce four novel tasks centered around sports data analytics to evaluate the numerical reasoning and information fusion capabilities of LLMs. These tasks involve providing LLMs with detailed, play-by-play sports game descriptions, then challenging them with adversarial scenarios such as new game rules, longer durations, scrambled narratives, and analyzing key statistics in game summaries. We conduct extensive experiments on NBA and NFL games to assess the performance of LLMs on these tasks. Our benchmark, SportsMetrics, introduces a new mechanism for assessing LLMs' numerical reasoning and fusion skills.
[ -0.3292474150657654, -0.6868796348571777, 0.4479019045829773, 0.36564603447914124, -0.06403710693120956, 0.6559900045394897, -0.05905719846487045, -0.5410729646682739, 0.19329404830932617, 0.40200334787368774, -0.8382426500320435, -0.5637332201004028, -0.45699343085289, 0.17980508506298065, -0.3332318961620331, 0.993036150932312, -0.4345129430294037, 0.3665948510169983, -0.6997602581977844, -0.20054738223552704, -0.5803590416908264, -0.7019242644309998, -0.6090793609619141, -0.6170358061790466, -0.04955706000328064, 0.21817950904369354, 0.6817763447761536, 0.5858010649681091, 0.9768743515014648, 0.35161274671554565, 0.16672126948833466, 0.5136639475822449, -0.8480493426322937, 0.6301848888397217, -0.22932058572769165, -0.43694981932640076, -0.42687249183654785, -0.051163431257009506, 0.5620018243789673, 0.7605185508728027, 0.13459694385528564, 0.24894869327545166, 0.017316406592726707, 0.6511031985282898, -0.5500401258468628, 0.35036325454711914, -0.33352530002593994, 0.2814129590988159, -0.26173871755599976, -0.45037841796875, 0.06274530291557312, -0.3562192916870117, -0.05917276069521904, -0.6080232858657837, 0.10521000623703003, 0.02858942560851574, 0.5538591742515564, 0.40851935744285583, -0.2827652394771576, -0.09659772366285324, -1.0978690385818481, 0.6826245188713074, -0.5084187984466553, 0.4795987010002136, 0.3211173117160797, 0.42252224683761597, -0.24406352639198303, -0.13207536935806274, -0.44802266359329224, 0.01072901114821434, 0.057842597365379333, 0.40860071778297424, -0.1306324005126953, -0.0687127411365509, 0.2517896592617035, 0.10560304671525955, -0.5870548486709595, 0.08192164450883865, -0.22415083646774292, 0.2006741166114807, 1.2289245128631592, 0.7374483346939087, 0.12406937032938004, 0.27441146969795227, -0.3552802503108978, -0.12065912038087845, -0.48799964785575867, 0.07159925997257233, 0.28468143939971924, 0.18825778365135193, -0.09320879727602005, 0.8171374201774597, -0.48228228092193604, 0.5475873351097107, -0.21345098316669464, -0.3125480115413666, 0.09137547761201859, -0.5547746419906616, -0.2850205600261688, 0.10675998032093048, 0.7417746186256409, 0.4582476019859314, 0.04952657222747803, -0.6312351822853088, -0.1385050117969513, -0.08988292515277863, -0.06828569620847702, -0.41269364953041077, -0.04928160458803177, 0.4836254417896271, -0.4650263488292694, -0.3103131055831909, -0.005693539977073669, -0.8018766641616821, -0.841511070728302, -0.45761439204216003, 0.3015443980693817, -0.5239065289497375, -0.06326874345541, 0.1788584291934967, -0.4443674385547638, 0.3587843179702759, 0.18936625123023987, -0.7820855975151062, 0.4113924503326416, 0.9870249629020691, 0.556582510471344, -0.5030206441879272, -0.30482393503189087, -0.40491852164268494, 0.35144513845443726, -0.18303152918815613, 1.0370073318481445, -0.589693009853363, -0.36282917857170105, 0.23493418097496033, -0.5760399103164673, 0.0743221566081047, -0.6623620390892029, 0.30542999505996704, -0.3606398105621338, -0.23637773096561432, -0.18016138672828674, -0.8314231038093567, -0.09544059634208679, 0.4799851179122925, -0.609454870223999, 1.262467384338379, -0.014762027189135551, -0.5796436667442322, 0.4381701350212097, -0.6249200701713562, -0.6758348345756531, 0.15225569903850555, -0.32790815830230713, -0.2964969575405121, 0.17257961630821228, 0.03116920031607151, 0.3976036310195923, -0.612342894077301, 0.18743185698986053, -0.6052695512771606, -0.3023584485054016, 0.49761635065078735, -0.20710739493370056, 0.35564231872558594, -0.0364677757024765, -0.06604713946580887, -0.14279289543628693, -0.6190046668052673, -0.03605358302593231, 0.053774457424879074, -0.24167940020561218, -0.25498732924461365, 0.4772454500198364, -0.27099546790122986, -0.01837083511054516, 0.12371627241373062, -0.18463461101055145, 0.2752056419849396, -0.27256399393081665, -0.0835583284497261, 0.30214691162109375, -0.07273121923208237, 0.47531941533088684, -0.4149571657180786, 0.6014356017112732, -0.0179121233522892, 0.1566760092973709, 0.03336813300848007, -0.5090214014053345, -0.22876028716564178, 0.015163537114858627, 0.2193690836429596, 0.953883707523346, -1.1706949472427368, 0.2579801082611084, -0.5227423310279846, -0.8048736453056335, -0.25571128726005554, 0.29860666394233704, 0.03718924894928932, 0.32747936248779297, 0.1489729881286621, 0.014818227849900723, -0.5631027817726135, -0.6284930109977722, -0.5169914960861206, -0.0392831414937973, 0.0891331136226654, 0.31436583399772644, 0.44211211800575256, 0.12107346206903458, 0.7676680684089661, -0.7075169682502747, -0.26067042350769043, -0.2336667776107788, 0.2777727544307709, 0.23339930176734924, 0.27193206548690796, 0.4198203980922699, -0.8712171912193298, -0.40971970558166504, -0.13699880242347717, -1.1887305974960327, -0.1752670258283615, -0.12246151268482208, 0.073816679418087, -0.3092437982559204, 0.39851436018943787, -0.6452446579933167, 0.5678051114082336, 0.5325121283531189, -0.5189787745475769, 0.4344620704650879, -0.05380386486649513, 0.5702658295631409, -0.5201407670974731, 0.02699114754796028, 0.2993527352809906, -0.04140579700469971, -0.9167942404747009, 0.022232023999094963, -0.4862889349460602, 0.02324334904551506, -0.3148471713066101, 0.506671130657196, -0.5442833304405212, -0.41693413257598877, -0.3567171096801758, 0.0671735480427742, -0.16390684247016907, 0.04130828380584717, 0.16929912567138672, 0.6060740351676941, 0.5056309700012207, -0.7001146674156189, 0.963148832321167, 0.2359483689069748, -0.5506978631019592, 0.5221195816993713, -0.2540115416049957, -0.25089335441589355, -0.37987643480300903, 0.22978919744491577, -1.1646262407302856, -0.18054935336112976, 0.13137519359588623, -0.345774382352829, 0.04167897254228592, 0.19666680693626404, -0.6800994873046875, -0.39923784136772156, -0.4127238690853119, 0.6836287975311279, 0.2685653567314148, -0.07642246782779694, 0.9808449745178223, 0.7577279210090637, -0.28754767775535583, -0.4079126715660095, -0.5140787959098816, 0.12331288307905197, -0.3930720090866089, -0.5574126243591309, 0.5376736521720886, -0.14870373904705048, -0.5382146835327148, 0.19198721647262573, -0.056360840797424316, -0.5295165777206421, 0.14679110050201416, -0.010861193761229515, 0.5318699479103088, -0.31202200055122375, -0.09745275229215622, -0.06633003056049347, 0.007194308564066887, 0.08690961450338364, 0.19155341386795044, 0.38698846101760864, 0.3580703139305115, -0.19099223613739014, -0.25190645456314087, 0.5052286982536316, 0.2811359763145447, 0.08807853609323502, 0.6446488499641418, 0.36330822110176086, -0.3605199456214905, 0.06344049423933029, -0.6168377995491028, -0.07529264688491821, -0.403068482875824, 0.3557818830013275, -0.3686113655567169, -0.6953367590904236, 0.7579239010810852, -0.1650526225566864, 0.3403274118900299, 0.42110127210617065, 0.508137047290802, -0.42941921949386597, 1.409796953201294, 0.12272675335407257, -0.13373076915740967, 0.08913837373256683, -0.09867965430021286, -0.10989604890346527, -0.4079466760158539, -0.5445948839187622, -0.4791414439678192, -0.6575521230697632, -0.19298817217350006, -0.517663836479187, 0.3089662194252014, -0.12707501649856567, -0.18325656652450562, 0.11061400175094604, -0.2506338059902191, 1.114863634109497, 0.25771966576576233, 0.0812826007604599, 0.23222514986991882, -0.13266167044639587, 0.32959604263305664, -0.3261997401714325, -0.5913832783699036, 0.0003534699499141425, 0.7870064377784729, 0.38720056414604187, 0.9216628074645996, 0.41463226079940796, 0.7094947099685669, 0.4033574163913727, 0.2619292736053467, -0.8733673691749573, 0.5211072564125061, -0.5167832374572754, -0.6291411519050598, -0.22635342180728912, -0.5830795168876648, -0.5138916969299316, 0.13670313358306885, -0.8214696049690247, -0.5384389758110046, -0.12673993408679962, 0.0028013240080326796, -0.4834199547767639, 0.3386989235877991, -0.30176112055778503, 0.24727916717529297, -0.5441828370094299, -0.43639224767684937, 0.143124058842659, -0.09412796795368195, 0.7199009656906128, -0.22356189787387848, 0.489865779876709, -0.22243575751781464, -0.3391956090927124, 0.7911539673805237, -0.12184662371873856, 0.7558920979499817, 0.09851586073637009, -0.004150041379034519, 0.13861486315727234, 0.3558761179447174, 0.31072360277175903, -0.1857200562953949, -0.14630953967571259, 0.09968660771846771, 0.30386486649513245, -0.23804877698421478, -0.8591464161872864, 0.5789564847946167, -0.5068466067314148, -0.6987765431404114, -0.5399527549743652, -0.7582595348358154, -0.7998209595680237, -0.091710664331913, 0.007339455187320709, 0.07800786197185516, -0.21304534375667572, 0.2903650104999542, 0.5537761449813843, -0.011018305085599422, 0.290859580039978, 0.4518641233444214, 0.037681035697460175, -0.43359094858169556, 0.892578125, -0.04674219712615013, -0.33035755157470703, 0.46894413232803345, 0.16725429892539978, -0.678627073764801, -0.7962179780006409, -0.038373928517103195, 0.3442182242870331, -0.6151730418205261, -0.5134001970291138, 0.06587556004524231, -0.26223137974739075, -0.3757075071334839, 0.1451261341571808, -0.08795136958360672, -0.2800358831882477, -0.16330814361572266, 0.02559249848127365, 0.22837035357952118, 1.0211074352264404, 0.06181025877594948, 0.2428840845823288, -1.121022343635559, 0.21283194422721863, -0.10487161576747894, 0.46804481744766235, -0.12212222069501877, -0.33128055930137634, -0.14534379541873932, 0.007318902760744095, -0.1433078646659851, -1.050103783607483, 0.3063773810863495, -0.042315732687711716, 0.8237942457199097, 0.2593851387500763, -0.2383379340171814, 0.7018221020698547, -0.5737351179122925, 0.9519784450531006, 0.30783364176750183, -0.7053419947624207, 0.19161877036094666, -0.383020281791687, 0.05022115632891655, 0.7515803575515747, 0.5181966423988342, -0.2317563146352768, -0.23226754367351532, -0.4729171693325043, -0.4113336503505707, 0.743880033493042, 0.30490779876708984, -0.13401725888252258, 0.24966061115264893, 0.5978286862373352, -0.07906545698642731, 0.1583978235721588, -0.21429230272769928, -0.4165872633457184, 0.14224426448345184, -0.6329873204231262, -0.34160202741622925, 0.02552912011742592, -0.3677135407924652, -0.3653944730758667, 0.4853333532810211, -0.016432734206318855, -0.09521208703517914, -0.2061636596918106, 0.18235647678375244, 0.21355211734771729, -0.29393839836120605, 0.7876449823379517, 0.5147740840911865, 0.046666089445352554, 0.00998688954859972, 0.5400480628013611, -0.21893075108528137, 0.16080598533153534, 0.1661568582057953, -0.04861855134367943, 0.004802082199603319, 0.6092288494110107, 0.5572388768196106, 0.4657379984855652, -0.872698962688446, 0.3481149673461914, -0.05615568906068802, -0.6102540493011475, 0.23120805621147156, 0.13246534764766693, 0.07898106426000595, 0.36726999282836914, 0.3774133324623108, -0.2915441393852234, 0.32743072509765625, -0.6662127375602722, 0.26904159784317017, 0.5118436813354492, -0.2665426433086395, -0.1814163625240326, 0.654455840587616, 0.22631888091564178, -0.1764453798532486, 0.12460724264383316, 0.11953012645244598, -0.5974869132041931, 0.5375847220420837, 0.43125009536743164, 0.5049463510513306, -0.2335418313741684, 0.2432730495929718, 0.07818444818258286, -0.08772832900285721, -0.13110709190368652, 0.43742597103118896, 0.1116933524608612, -0.6560578942298889, -0.5827022194862366, -0.36116868257522583, -0.6040088534355164, 0.057349324226379395, -0.36666566133499146, 0.15658019483089447, -0.28871697187423706, -0.4046071469783783, 0.340555876493454, 0.03559097647666931, -0.7513575553894043, 0.2576407790184021, 0.4635930359363556, 1.0711275339126587, -0.956982433795929, 0.2894233763217926, 0.7796487212181091, -0.47182148694992065, -0.4642847776412964, -0.4166761636734009, 0.29002833366394043, -0.955186665058136, 1.0493218898773193, -0.5182828903198242, 0.13276343047618866, -0.18879334628582, -0.40055832266807556, -0.5523425936698914, 0.9553635120391846, 0.29039692878723145, -0.12227871268987656, -0.22296403348445892, 0.6330264210700989, 0.31168490648269653, -0.4017235040664673, 0.29950273036956787, 0.9516604542732239, 0.43280401825904846, 0.5761100649833679, -0.6692357063293457, -0.18642939627170563, 0.08320821076631546, -0.36925897002220154, 0.2386520504951477, -0.6314192414283752, 0.6116592288017273, 0.029067562893033028, -0.011553118005394936, -0.20963983237743378, 0.7829692959785461, 0.39149993658065796, 0.48806384205818176, 0.40225455164909363, 0.42917779088020325, 0.8756946921348572, -0.24523383378982544, 0.8608183264732361, -0.15604709088802338, 0.33230534195899963, 0.979985773563385, -0.718009352684021, 0.7860026955604553, 0.2080536186695099, -0.2461889386177063, 0.15031418204307556, 0.528669536113739, -0.20891831815242767, 0.28531360626220703, 0.2858772575855255, -0.5141438841819763, -0.3581116795539856, -0.18142785131931305, -0.1711118519306183, 0.8316561579704285, 0.34513750672340393, -0.016706733033061028, -0.5939375162124634, -0.0007889808621257544, -0.07427316159009933, 0.19633148610591888, -0.30234530568122864, 1.1007493734359741, -0.1217818483710289, -0.7326486706733704, 0.007824099622666836, -0.13288795948028564, 0.46238404512405396, -0.6105952858924866, -0.1905774176120758, -0.23101378977298737, 0.1464412659406662, -0.17747610807418823, -1.3854784965515137, 0.4197618365287781, 0.19617794454097748, -0.11263617873191833, -0.1135043203830719, 0.717409074306488, -0.499133825302124, -0.4076639711856842, -0.04801876097917557, 0.45394009351730347, 0.31587910652160645, -0.013384014368057251, -1.1383047103881836, 0.4211539328098297, -0.06794323772192001, 0.19059203565120697, 0.30910778045654297, 0.43630290031433105, 0.23329217731952667, 0.6549994349479675, 0.5700096487998962, 0.5846090316772461, -0.0579921118915081, 0.019068289548158646, 0.6621162295341492, -0.8560359477996826, -0.4331728219985962, -1.1512848138809204, 0.08989270776510239, -0.39010441303253174, -0.19581805169582367, 0.7287224531173706, 1.035531997680664, 0.22909821569919586, 0.028241142630577087, 0.8719587922096252, 0.3559303879737854, 0.4862680733203888, -0.7189172506332397, 0.6875494122505188, -0.3505147099494934, 0.1292523443698883, 0.18166714906692505, -0.8785481452941895, -0.3922504782676697, 0.16215476393699646, -0.21197953820228577, -0.33179619908332825, 0.37175875902175903, 0.14989043772220612, -0.051569875329732895, 0.17222605645656586, 0.31619831919670105, -0.08831267803907394, 0.4291814863681793, 0.6815895438194275, 0.8089460730552673, -0.42756468057632446, 0.6136873364448547, 0.038712915033102036, -0.4470007121562958, -0.18797951936721802, -0.7970993518829346, -1.0152485370635986, -0.43689224123954773, -0.34501123428344727, -0.5065796375274658, -0.21809296309947968, 0.7026587128639221, 0.3936043083667755, -0.7950617671012878, -0.5214173793792725, 0.40089887380599976, 0.13033682107925415, -0.19336381554603577, -0.2528384327888489, 0.2210095077753067, -0.2571331858634949, -0.7985181212425232, 0.45003509521484375, 0.24815133213996887, 0.2962492108345032, -0.2725672125816345, 0.0745072290301323, -0.10381206125020981, 0.36876097321510315, 0.6929558515548706, 0.6020529866218567, -0.46642038226127625, -0.0469348281621933, 0.18351702392101288, -0.005488005466759205, -0.19790342450141907, 0.9518807530403137, -0.7307054400444031, 0.3607654273509979, 0.8423517346382141, 1.0461955070495605, 0.3351738750934601, 0.32458749413490295, 0.782045841217041, -0.4100377857685089, -0.11676577478647232, 0.33238255977630615, 0.17060215771198273, 0.1118440106511116, -0.19873663783073425, 0.6263284087181091, 0.3717678189277649, -0.20597510039806366, -0.9498645663261414, -0.17533649504184723, -0.797343909740448, -0.17942798137664795, 1.219771146774292, 0.3593154549598694, -0.26709097623825073, -0.17951925098896027, 0.057490985840559006, -0.07072217762470245, 0.016884827986359596, 0.5722191333770752, 1.1278659105300903, -0.668749988079071, 0.20741385221481323, -0.510031521320343, 0.8552341461181641, 0.0765744000673294, -1.013429045677185, 0.15102483332157135, 0.32160723209381104, -0.012894543819129467, 0.06609796732664108, 0.6177549362182617, 0.22015558183193207, 0.1918424516916275, 0.13405773043632507, -0.33377963304519653, -0.1824093461036682, -0.16590502858161926, 0.027972519397735596, 0.18003186583518982, -0.5275840759277344, -0.07107760012149811 ]
http://arxiv.org/abs/2402.10311v5
http://arxiv.org/pdf/2402.10311v5
The optimal placement of the head in the noun phrase. The case of demonstrative, numeral, adjective and noun
2024-02-15T20:24:39
2024-03-22T16:10:14
Ramon Ferrer-i-Cancho
cs.CL
cs.CL, physics.soc-ph
The word order of a sentence is shaped by multiple principles. The principle of syntactic dependency distance minimization is in conflict with the principle of surprisal minimization (or predictability maximization) in single head syntactic dependency structures: while the former predicts that the head should be placed at the center of the linear arrangement, the latter predicts that the head should be placed at one of the ends (either first or last). A critical question is when surprisal minimization (or predictability maximization) should surpass syntactic dependency distance minimization. In the context of single head structures, it has been predicted that this is more likely to happen when two conditions are met, i.e. (a) fewer words are involved and (b) words are shorter. Here we test the prediction on the noun phrase when it is composed of a demonstrative, a numeral, an adjective and a noun. We find that, across preferred orders in languages, the noun tends to be placed at one of the ends, confirming the theoretical prediction. We also show evidence of anti locality effects: syntactic dependency distances in preferred orders are longer than expected by chance.
[ -0.6076028943061829, -0.8471010327339172, 0.6879533529281616, 0.38262608647346497, -0.27219781279563904, -0.2919033467769623, -0.18300755321979523, -0.4933070242404938, 0.6070691347122192, 0.3676973581314087, -0.45238590240478516, -0.1065182164311409, -0.7133870124816895, 0.19252577424049377, -0.09719016402959824, 0.7221538424491882, 0.17192788422107697, -0.09646600484848022, -0.6075024604797363, -0.16504310071468353, -0.37352776527404785, -0.7655986547470093, -0.22986117005348206, -0.23831848800182343, 0.43505391478538513, 0.313100665807724, 1.249630331993103, 1.253132700920105, 0.740055501461029, 0.3579716086387634, -0.2751292884349823, -0.15249866247177124, -0.039110030978918076, -0.00938880629837513, -0.09200333803892136, -0.8063293695449829, 0.003997412510216236, -0.03754217550158501, 0.41170328855514526, 1.0549975633621216, -0.08405250310897827, -0.11829651147127151, -0.19195137917995453, 0.7998693585395813, -0.6506720185279846, 0.042564913630485535, -0.272966206073761, -0.0889897271990776, -0.49502241611480713, -0.41888627409935, -0.09687595814466476, -0.4934684634208679, 0.5102302432060242, -0.15881577134132385, 0.04122542589902878, 0.15256468951702118, 1.13167142868042, 0.423809289932251, -0.3561781644821167, 0.057335224002599716, -0.49685463309288025, 0.8168239593505859, -0.470843106508255, 0.4229329526424408, 0.3111422657966614, 0.1261601597070694, -0.3082701563835144, -0.4136127829551697, -0.5283385515213013, -0.23840445280075073, -0.3412333130836487, -0.05928470194339752, -0.3273339867591858, 0.5014057159423828, 0.36850300431251526, 0.34195050597190857, -0.6121863126754761, 0.20253366231918335, -0.37960395216941833, 0.1390082836151123, 0.12943944334983826, 0.05990906059741974, 0.34451016783714294, -0.41428449749946594, -0.6613684892654419, 0.18054290115833282, -0.6882034540176392, 0.2444377839565277, 0.2646257281303406, 0.6958950161933899, 0.12248952686786652, 0.4816904366016388, -0.5296406745910645, 0.5670880079269409, 0.2726691663265228, -0.31077173352241516, 0.28062063455581665, -0.5628807544708252, -0.1015511304140091, 0.20352432131767273, 0.6563328504562378, 0.7566567659378052, 0.22701101005077362, -0.1721017062664032, -0.15570957958698273, 0.7113690972328186, 0.2951423227787018, -0.6114215850830078, 0.06583287566900253, 0.048338882625103, -0.30227622389793396, -0.2836216390132904, 0.10452594608068466, -0.5203313231468201, -0.03803723677992821, -0.5076313018798828, 0.10313218832015991, -0.26985248923301697, 0.079121433198452, 0.10749048739671707, 0.175619438290596, -0.017383340746164322, -0.17592757940292358, -0.9482138752937317, 0.7183343768119812, 0.555387556552887, 0.811227023601532, -0.28462865948677063, -0.3377092480659485, -0.14849181473255157, 0.09939415007829666, -0.49603354930877686, 1.0490195751190186, -0.2273329794406891, -0.21462327241897583, -0.10124421119689941, -0.08250947296619415, -0.15388555824756622, -0.46903857588768005, 0.5029837489128113, -0.14896906912326813, 0.32569482922554016, -0.3690781593322754, -0.692699134349823, -0.35306471586227417, -0.19043104350566864, -0.49453669786453247, 0.43822917342185974, 0.108163021504879, -0.9125025272369385, 0.47018951177597046, -0.36159178614616394, -0.7700691819190979, -0.08974190056324005, -0.34727346897125244, -0.238682821393013, 0.3984402120113373, -0.2364107221364975, 0.14425420761108398, -0.21929389238357544, -0.09745955467224121, -0.19550879299640656, -0.07008305191993713, -0.03597637265920639, 0.038922157138586044, 0.8383658528327942, 0.17180941998958588, -0.36000365018844604, -0.08699126541614532, -0.6384344696998596, 0.18559233844280243, 0.040229544043540955, -0.23520483076572418, -0.7800782918930054, 0.07936647534370422, -0.11013845354318619, 0.21631571650505066, 0.2507307231426239, -0.41916948556900024, 0.02790019102394581, -0.7568705081939697, 0.14295122027397156, 0.7574277520179749, 0.3439241349697113, 0.6545611023902893, -0.2667998671531677, 0.636203408241272, -0.07030262798070908, 0.33336660265922546, 0.2612617015838623, -0.16147029399871826, -0.712708592414856, 0.05760064348578453, 0.26385802030563354, 0.7539551854133606, -0.47648853063583374, 0.28355738520622253, -0.11004338413476944, -0.05168436840176582, -0.03948559984564781, -0.05143452063202858, 0.8188424706459045, 0.17951852083206177, 0.21269294619560242, -0.3708054721355438, -0.9416864514350891, -1.1773508787155151, -0.10569866746664047, -0.47015270590782166, 0.6729103922843933, -0.19742225110530853, 0.2997458577156067, -0.07817154377698898, 1.0872060060501099, -0.8577799201011658, -0.29670754075050354, -0.3874973952770233, 0.03517228364944458, 0.3502213954925537, 0.3396591544151306, 0.9718988537788391, -1.0300843715667725, -0.3016897737979889, -0.26306766271591187, -0.4774381220340729, -0.167119100689888, -0.028016310185194016, -0.15217457711696625, 0.26672878861427307, 0.4078509509563446, -0.9149641394615173, 0.628641664981842, 0.13307370245456696, -0.23984508216381073, 0.6788169145584106, -0.2164735645055771, -0.3623736500740051, -0.9542590379714966, -0.42821696400642395, 0.02436227723956108, -0.1400289386510849, -1.1013433933258057, 0.2260366976261139, -0.24509736895561218, 0.6483691930770874, -0.4121938645839691, 0.10639006644487381, -0.3575063645839691, -0.0058028819039464, -0.5225160717964172, 0.015163813717663288, 0.05275697261095047, 0.41944649815559387, 0.14747419953346252, 0.6012343168258667, 0.5409263968467712, -1.0241376161575317, 0.1988818198442459, 0.2571578025817871, -0.6791715621948242, 0.6159617900848389, -0.7488937973976135, -0.2900730073451996, -0.3414047956466675, -0.23434671759605408, -0.9739527106285095, 0.03708989918231964, -0.07005380839109421, -0.3712944984436035, 0.15974107384681702, 0.39802268147468567, -0.45291954278945923, -0.30412906408309937, -0.07824727147817612, 0.2781979739665985, 0.24224866926670074, -0.15793639421463013, -0.1517622023820877, 0.6275925040245056, -0.12714871764183044, -0.61765456199646, -0.7900792360305786, -0.18910564482212067, -0.26654160022735596, -0.39120087027549744, 0.5265796184539795, -0.192378431558609, -0.8750187754631042, -0.09819073230028152, -0.3524330258369446, 0.0818035751581192, 0.019821669906377792, 0.37552863359451294, 0.06900369375944138, -0.1666577160358429, 0.08861693739891052, -0.12389035522937775, -0.25515612959861755, 0.046908434480428696, -0.080808624625206, 0.4202321767807007, -0.2496524155139923, 0.24613620340824127, -0.13087403774261475, 0.21853438019752502, 0.6610309481620789, 0.007283430080860853, 0.634147047996521, -0.10606960952281952, -0.3935598134994507, 0.07809490710496902, -0.4748077988624573, 0.008025726303458214, -0.46032801270484924, 0.2809755504131317, -0.5719560980796814, -0.2477857619524002, 0.24396982789039612, 0.2086486965417862, 0.05460192635655403, 0.39390769600868225, 0.3177354037761688, -0.07539305090904236, 0.8226441740989685, 0.9329694509506226, -0.07464338093996048, 0.46884021162986755, -0.22137731313705444, 0.18689705431461334, -0.6516104340553284, 0.07590584456920624, -0.5425422787666321, -0.16050532460212708, -0.8190582394599915, -0.07928626239299774, 0.31980690360069275, 0.20348449051380157, 0.1638127863407135, 0.8256445527076721, -0.30061450600624084, 0.7102981805801392, 0.634882390499115, 0.018384868279099464, 0.07261042296886444, -0.18115007877349854, -0.679685652256012, -0.1983664631843567, -0.5273007154464722, -0.3339376747608185, 0.3278561532497406, 0.07679957896471024, 0.426698237657547, 0.23316968977451324, 0.7416477799415588, -0.028305355459451675, -0.3136550784111023, -0.9224109649658203, 0.7329998016357422, -0.31277865171432495, -0.46987810730934143, -0.3858143985271454, -0.1434679627418518, -1.0027271509170532, 0.40240395069122314, 0.10902206599712372, -0.6817142367362976, 0.47799545526504517, -0.2784280478954315, -0.7487443685531616, -0.07301189750432968, -0.3980986177921295, 0.7751691341400146, -0.23779739439487457, 0.013775025494396687, 0.11066151410341263, -0.910517156124115, -0.039090901613235474, 0.24484410881996155, 0.43375712633132935, -0.05293041467666626, -0.1576293706893921, 0.6144270896911621, -0.7284010052680969, 0.39933979511260986, -0.017097407951951027, 0.27613765001296997, 0.18073667585849762, 0.18503695726394653, 0.27820923924446106, -0.5398462414741516, 0.12483397871255875, -0.23219269514083862, -0.08101442456245422, -0.217370867729187, -0.4838828444480896, 0.4660259783267975, -0.6535671353340149, -0.7636401057243347, -0.45434117317199707, -0.4690752327442169, -0.12326513975858688, 0.3535286486148834, 0.7625139951705933, 0.5745692849159241, 0.014574592933058739, 0.18753205239772797, 0.4569617211818695, -0.13806948065757751, 0.5928966403007507, 0.26585423946380615, -0.3635815978050232, -0.2913515865802765, 0.5811976194381714, 0.5760135650634766, 0.5677313208580017, 0.6917815804481506, 0.586595356464386, -0.26532992720603943, -0.6060893535614014, 0.011662560515105724, 0.3291738033294678, -0.7214017510414124, -0.04532938078045845, -0.5510253310203552, -0.03407325968146324, -0.560312807559967, -0.3262932002544403, -0.37636232376098633, -0.7042897939682007, 0.00741584412753582, -0.4814036190509796, 0.21209478378295898, 0.4197406768798828, -0.253184050321579, 0.4237014055252075, -0.2839422821998596, 0.46416375041007996, 0.0701698437333107, 0.07728521525859833, -0.4366338849067688, -0.4925478398799896, -0.20647525787353516, -0.2868395447731018, -0.07236412912607193, -0.7177642583847046, 0.3181779980659485, 0.06027687340974808, 0.57368004322052, 0.92109614610672, 0.26194602251052856, 1.0345065593719482, -0.7371546626091003, 0.4473794996738434, 0.5906063914299011, -0.6855162382125854, 0.6472518444061279, -0.33237749338150024, 0.4675488770008087, 0.8643128275871277, 0.3922753632068634, -0.41732731461524963, -0.652653694152832, -0.6208698749542236, -0.8234255313873291, 0.38052278757095337, 0.24752403795719147, -0.09412677586078644, -0.4219878911972046, 0.29597824811935425, 0.16195763647556305, 0.3339558243751526, -0.6959123015403748, -0.823014497756958, 0.35376453399658203, 0.23296427726745605, -0.0175621397793293, -0.15715292096138, 0.21254710853099823, -0.21437519788742065, 0.45787695050239563, 0.28842297196388245, 0.40819284319877625, -0.03619460016489029, -0.003099591936916113, -0.3455353081226349, 0.01723594218492508, 0.9150829315185547, 1.0803382396697998, -0.3638429641723633, 0.3220588266849518, -0.026595463976264, -0.38065144419670105, 0.12799902260303497, -0.23695974051952362, -0.5449714660644531, 0.48769018054008484, 0.2700135409832001, 0.7694784998893738, 0.18317566812038422, -0.08486704528331757, 0.5506368279457092, 0.38016432523727417, -0.03100871667265892, -0.5224066376686096, -0.17587465047836304, -0.20102530717849731, 0.2137243002653122, 0.16261188685894012, 0.26858747005462646, 0.2986343502998352, -0.7378943562507629, 0.5077742338180542, 0.4503854811191559, -0.06208689138293266, -0.1981183886528015, 0.531562864780426, -0.3833480179309845, -0.28621578216552734, 0.14894014596939087, -0.09504286199808121, -0.8853105306625366, 0.7808043360710144, 0.4123818576335907, 0.699327290058136, -0.4906634986400604, 0.349651575088501, 0.4001275300979614, 0.43063855171203613, -0.36292290687561035, 0.40910547971725464, 0.2708365023136139, -0.6983400583267212, -0.08694272488355637, -0.6901264190673828, -0.2907586991786957, -0.15790855884552002, -0.7769371271133423, 0.2722397744655609, -0.5507122278213501, -0.5132587552070618, 0.2822168171405792, 0.014547879807651043, -0.2967681586742401, 0.43296995759010315, 0.07166779041290283, 0.3229084312915802, -0.740771472454071, 0.6521993279457092, 0.44748368859291077, -0.5017852187156677, -0.6032386422157288, -0.12279900163412094, 0.08037044107913971, -0.6120288968086243, 0.7655535936355591, 0.3676607012748718, -0.3065989315509796, -0.40329715609550476, -0.28975459933280945, -1.213104009628296, 0.734796941280365, 0.2431826889514923, -0.3090518116950989, -0.3345769941806793, 0.3137457072734833, 0.6571811437606812, -0.3274744749069214, 0.04793846979737282, 0.3932260274887085, 0.39173707365989685, -0.0210229754447937, -1.0560837984085083, 0.09798765927553177, 0.07093749195337296, 0.49411413073539734, 0.5218361020088196, -0.7811500430107117, 0.9979725480079651, -0.5018903613090515, -0.37588927149772644, 0.2717280983924866, 0.7219377160072327, -0.07258911430835724, 0.09681810438632965, 0.7477152347564697, 0.7745791673660278, 0.4647749662399292, -0.11881297826766968, 1.2794804573059082, -0.3518697917461395, 0.182266503572464, 1.0830752849578857, 0.10972986370325089, 0.6940262317657471, 0.6676987409591675, -0.49469155073165894, 0.6641536951065063, 0.7727999687194824, 0.27138254046440125, 1.1650947332382202, 0.4279361069202423, 0.09934001415967941, 0.12677791714668274, -0.4686419665813446, -0.3005628287792206, 0.7534788250923157, 0.16132870316505432, -0.3157240152359009, 0.02357270009815693, 0.12610377371311188, 0.06805598735809326, 0.16514459252357483, -0.32653602957725525, 0.6174291372299194, 0.30437958240509033, -0.5717788338661194, 0.7174746990203857, 0.05317690595984459, 0.3566759526729584, -0.3353336751461029, 0.4304739236831665, -0.3645406663417816, 0.3101560175418854, -0.25981298089027405, -0.31380388140678406, 0.3250393867492676, -0.5781402587890625, -0.38841018080711365, -0.21079613268375397, 0.5096816420555115, -0.2368525117635727, -0.41763898730278015, 0.29094198346138, 0.4996107816696167, 0.2209595888853073, 0.16025212407112122, -0.39239031076431274, -0.24394071102142334, -0.37866124510765076, -0.5638762712478638, 0.39645716547966003, 0.46202829480171204, 0.16965380311012268, 0.5071884393692017, 0.3074477016925812, 0.43267062306404114, 0.09546682983636856, 0.07632452249526978, 0.516122043132782, -0.4911186695098877, -1.0081846714019775, -1.0196640491485596, 0.05074157938361168, 0.23088222742080688, -0.2392806112766266, 0.843139111995697, 0.42468592524528503, 0.8620480298995972, 0.020418984815478325, 0.4398708939552307, -0.08280099928379059, 0.5309230089187622, -0.2841247320175171, 0.11320186406373978, -0.5194270014762878, -0.06291770935058594, -0.6043658256530762, -1.2258021831512451, -0.5429195165634155, 0.791744589805603, -0.46774500608444214, -0.20732437074184418, 1.2113511562347412, 0.7120946645736694, 0.2726138234138489, -0.055622220039367676, 0.41845154762268066, 0.17615428566932678, -0.4579630196094513, 0.5674855709075928, 0.5845061540603638, -0.1491205394268036, 0.33556362986564636, -0.9067474603652954, -0.04458222910761833, -0.04765785485506058, -0.5264967083930969, -0.6493155360221863, -0.6581024527549744, -0.5069682002067566, -0.29678967595100403, 0.02989441715180874, 1.1798983812332153, 0.46423500776290894, -0.6773344278335571, -0.49713560938835144, -0.40582093596458435, 0.21465888619422913, -0.5797950625419617, -0.2689465284347534, 0.4075724482536316, -0.24731381237506866, -0.7371968030929565, 0.21311643719673157, 0.42647451162338257, 0.049015238881111145, -0.05863853171467781, 0.0974356159567833, -0.6178485155105591, 0.15125079452991486, 0.6092498898506165, 0.2381511628627777, -0.8809964060783386, -0.42350924015045166, 0.03581353649497032, -0.48809847235679626, 0.2683637738227844, 0.47103604674339294, -0.7208141684532166, 0.3317267596721649, 0.5592157244682312, 0.27116209268569946, -0.20215950906276703, 0.18044134974479675, 0.43360933661460876, -0.7374759316444397, 0.073172427713871, -0.095831960439682, 0.3684067726135254, -0.14288313686847687, -0.6014324426651001, 0.7454439401626587, 0.4301941394805908, -0.2946699261665344, -0.8344736695289612, 0.5460960865020752, -0.835713803768158, -0.4512457251548767, 1.2301040887832642, 0.03770080581307411, -0.20898748934268951, -0.08919421583414078, 0.05844501033425331, 0.2650128901004791, -0.038925349712371826, 0.6365044713020325, 0.7341086864471436, -0.5161380767822266, -0.2378951609134674, -0.5961788892745972, 0.48804759979248047, 0.5412795543670654, -0.6094849109649658, -0.22053301334381104, 0.34068500995635986, -0.01867472566664219, 0.7727153301239014, 0.5440893173217773, 0.08553952723741531, 0.35065218806266785, 0.014635785482823849, -0.12726746499538422, 0.1536576747894287, -0.6351375579833984, -0.17553775012493134, 0.23162522912025452, -0.1016310527920723, -0.5719782710075378 ]
http://arxiv.org/abs/2402.10302v1
http://arxiv.org/pdf/2402.10302v1
How to Discern Important Urgent News?
2024-02-15T20:08:07
2024-02-15T20:08:07
Oleg Vasilyev, John Bohannon
cs.CL
cs.CL
We found that a simple property of clusters in a clustered dataset of news correlate strongly with importance and urgency of news (IUN) as assessed by LLM. We verified our finding across different news datasets, dataset sizes, clustering algorithms and embeddings. The found correlation should allow using clustering (as an alternative to LLM) for identifying the most important urgent news, or for filtering out unimportant articles.
[ -0.2395090013742447, -0.7948465347290039, 0.8695704936981201, 0.556605875492096, -0.35883617401123047, 0.1464499682188034, -0.040793877094984055, -0.5177533626556396, 0.5060277581214905, 0.2217404991388321, -0.2651253044605255, -0.57535719871521, -0.8915033340454102, -0.2225833684206009, -1.0608820915222168, 0.8262672424316406, 0.22310836613178253, 0.052331164479255676, -0.10385199636220932, -0.40031906962394714, -0.08307619392871857, -0.2727090120315552, -0.8031690120697021, -0.09992050379514694, 0.7836512923240662, 0.6483168005943298, 0.6476042866706848, 0.658119261264801, 1.1882884502410889, 0.14330807328224182, -0.6104127168655396, -0.29475343227386475, -0.6996732950210571, -0.22204361855983734, -0.3290376365184784, -0.6719369888305664, -0.2047497183084488, 0.035170987248420715, 0.5858705639839172, 0.8102198839187622, -0.010050186887383461, 0.49242812395095825, -0.0017948001623153687, 1.3057249784469604, -0.2898271679878235, 0.02697228454053402, -0.6471806764602661, 0.16053782403469086, -0.444254606962204, -0.18133091926574707, -0.061775658279657364, -0.4763461649417877, 0.20585839450359344, -0.36731189489364624, 0.33835867047309875, 0.30684831738471985, 0.9355393052101135, 0.32927146553993225, -0.7130482792854309, -0.32584840059280396, -0.6433239579200745, 0.6805154085159302, -0.3860210180282593, 0.13366369903087616, 0.21228258311748505, 0.1106371358036995, -0.38682109117507935, -0.5433107018470764, -0.1960509866476059, 0.22106827795505524, -0.2712354362010956, 0.15888182818889618, -0.10795188695192337, -0.015140388160943985, 0.25048044323921204, 0.7906063795089722, -0.21748009324073792, 0.13801389932632446, -0.5450221300125122, 0.013257256709039211, 0.38113510608673096, 0.07546533644199371, 0.3282662034034729, -0.3018438220024109, -0.3766743242740631, 0.23747572302818298, -0.883041501045227, 0.3820236325263977, 0.3491162955760956, 0.1969902664422989, -0.13144011795520782, 0.6456008553504944, -0.5038235187530518, 0.6661151051521301, 0.41108232736587524, -0.33079448342323303, 0.1757836937904358, -0.3264716863632202, 0.3245556950569153, 0.629990816116333, 0.3457430303096771, 0.6983789801597595, -0.35768312215805054, 0.024063926190137863, 0.007182124070823193, -0.04345007240772247, 0.23642240464687347, -0.4746033549308777, 0.3488329350948334, 0.47007882595062256, -0.8772578835487366, -0.5298054218292236, 0.3203541040420532, -0.7118130922317505, -0.3930168151855469, -0.23880703747272491, 0.4302522838115692, 0.5348021388053894, -0.47627612948417664, -0.04654446616768837, -0.2501078248023987, 0.16734950244426727, 0.34943369030952454, -0.5947692394256592, 0.026747215539216995, 0.8208888173103333, 0.7021534442901611, -0.5100352764129639, 0.06459815800189972, -0.29697978496551514, 0.041305720806121826, -0.5271749496459961, 1.0911650657653809, -0.3625626564025879, 0.14896155893802643, -0.07308252155780792, 0.28903767466545105, 0.3500780761241913, -0.5543788075447083, 0.973163902759552, -0.5793917179107666, -0.20778773725032806, -0.4119868874549866, -0.4848165512084961, -0.5775083303451538, 0.1128544956445694, -0.9477392435073853, 1.0197795629501343, 0.3349449336528778, -0.7998912334442139, 0.6873519420623779, -0.43424874544143677, -1.0298991203308105, -0.3037087321281433, -0.08541378378868103, -0.7138878703117371, 0.4912080764770508, 0.12956103682518005, 0.6679049134254456, -0.42716184258461, 0.44574281573295593, -0.3325689733028412, -0.34688326716423035, 0.2961205244064331, -0.2045179009437561, 0.3167392611503601, 0.2603296637535095, -0.4629198908805847, 0.09466003626585007, -0.8698769211769104, -0.27032995223999023, -0.04969150200486183, -0.5425137877464294, -0.32854321599006653, 0.27382156252861023, -0.1708332598209381, 0.03186221793293953, 0.2783152759075165, -0.24579738080501556, 0.08606923371553421, 0.09248393028974533, 0.42307472229003906, 0.32451099157333374, 0.5194541811943054, 0.5408403873443604, -0.4838959276676178, 0.35921981930732727, 0.3890301287174225, 0.35276925563812256, 0.14740046858787537, -0.6573472619056702, -0.8105338215827942, -0.03010924533009529, 0.14364467561244965, 0.6999388337135315, 0.13031518459320068, 0.4440307021141052, 0.12018365412950516, -0.4253882169723511, -0.5075652003288269, 0.005691122729331255, -0.07060584425926208, 0.4539278447628021, 0.04584905132651329, -0.02564835175871849, -0.6630106568336487, -0.9681938886642456, -0.5375860929489136, 0.17920435965061188, 0.5041822791099548, 0.14543019235134125, -0.16614103317260742, -0.00934329442679882, 0.9677423238754272, -0.44363948702812195, -0.3006802797317505, -0.4748590886592865, 0.33513736724853516, 1.1286766529083252, 0.20384560525417328, 0.6277983784675598, -1.3541736602783203, -0.5107255578041077, 0.09002634137868881, -0.696823239326477, -0.40591859817504883, -0.4108934700489044, -0.021409014239907265, -0.4268503785133362, 0.9502021074295044, -0.3092990517616272, 0.930270254611969, 0.36830446124076843, -0.15835943818092346, 0.10063265264034271, -0.09023967385292053, 0.40672963857650757, -0.8272445201873779, -0.14473778009414673, -0.09601861983537674, -0.4334454834461212, -0.6559428572654724, -0.11721508949995041, 0.08496749401092529, -0.219788059592247, -0.5477852821350098, 0.3696528673171997, -0.529930830001831, -0.38795584440231323, -0.30927249789237976, 0.16985701024532318, 0.07172912359237671, -0.012386570684611797, -0.07220307737588882, 0.49664369225502014, 0.6141704320907593, -0.7789086103439331, 0.1981433779001236, -0.170159712433815, -0.8910703063011169, 0.25692445039749146, -0.5157722234725952, -0.47849032282829285, -0.22746159136295319, -0.13517716526985168, -1.2372071743011475, -0.4317590892314911, -0.20739157497882843, -0.15398500859737396, 0.17478083074092865, -0.004504370968788862, -0.34755846858024597, -0.7674077749252319, -0.00014957270468585193, 0.37001997232437134, 0.30339547991752625, -0.5411052107810974, 0.40764662623405457, 0.6344155073165894, -0.16513483226299286, -0.5111986398696899, -0.49892836809158325, -0.07688449323177338, -0.5641462206840515, -0.10600928217172623, 0.10072171688079834, 0.05026508867740631, -0.5614744424819946, 0.22809723019599915, -0.20676490664482117, -0.35826995968818665, 0.5082135796546936, 0.6257832050323486, -0.2034868597984314, -0.23784604668617249, 0.12391539663076401, 0.29165560007095337, -0.44718995690345764, -0.01034699846059084, 0.4117555022239685, 0.23991164565086365, -0.2887728810310364, -0.2682017683982849, -0.5797232389450073, 0.7107331156730652, 0.9193732142448425, 0.15103110671043396, 0.7163117527961731, 0.7710249423980713, -0.3081911504268646, 0.3368377089500427, -0.7710893154144287, -0.3521459996700287, -0.41312137246131897, 0.46190983057022095, 0.12887562811374664, -0.7715081572532654, 0.6038491129875183, -0.6297826766967773, -0.1357855200767517, 0.688984751701355, 0.46905654668807983, -0.03706057742238045, 1.2288256883621216, 0.44783419370651245, -0.5698193907737732, 0.693213701248169, -0.0401485301554203, 0.43100982904434204, -0.3963908851146698, 0.12636837363243103, -0.2895354628562927, -0.6974624991416931, -0.3859025537967682, 0.12807561457157135, 0.729920506477356, 0.47525840997695923, 0.23352450132369995, -0.1967237889766693, -0.6966103911399841, 0.8236714601516724, 0.8114405870437622, 0.3507026433944702, 0.5084230899810791, 0.3066478371620178, 0.4700419306755066, 0.07906881719827652, -0.5569068193435669, -0.21459096670150757, 0.867044985294342, 0.1640664041042328, 0.8337090015411377, 0.07758940756320953, 0.5165849924087524, 0.43479984998703003, 0.320625364780426, -0.9276608228683472, 0.4750424027442932, -0.27825528383255005, -0.6784743070602417, -0.3170028328895569, -0.19070576131343842, -1.285278081893921, -0.2244347184896469, -0.5489925146102905, -0.30196478962898254, 0.437741756439209, -0.3120250403881073, -0.5960057377815247, 0.2030693143606186, -0.691796600818634, 0.30396130681037903, 0.06216113269329071, -0.03648623824119568, -0.8076568841934204, -0.6906888484954834, 0.14728352427482605, -0.0757802426815033, 0.6677043437957764, -0.5860540270805359, 0.1057242825627327, 0.975713849067688, -0.2288062870502472, 0.7884379625320435, 0.20577843487262726, 0.35073888301849365, 0.6220346093177795, -0.4659244120121002, 0.515424907207489, 0.1785285323858261, -0.11468065530061722, 0.05045894533395767, -0.4423181712627411, -0.40382295846939087, -0.251679390668869, 0.869858980178833, -0.8480908274650574, -0.9346364736557007, -0.5041379332542419, -0.7172021865844727, 0.41275882720947266, 0.16784271597862244, 0.3086925745010376, 0.6609132289886475, -0.059310853481292725, 0.4242802858352661, 0.5955111384391785, 0.5304205417633057, 0.6675975322723389, 0.7716996669769287, -0.24680188298225403, -0.22718586027622223, 0.8493532538414001, 0.4895799458026886, -0.09279314428567886, 0.7085050940513611, 0.5506331324577332, 0.14944180846214294, -0.6117830872535706, -0.12051860243082047, 0.08191593736410141, -0.6679564714431763, -0.30510348081588745, -0.7149261236190796, -0.3477061986923218, -0.1919461041688919, -0.467343270778656, -0.33899739384651184, -0.7340975403785706, -0.7397213578224182, -0.26593297719955444, 0.7575544714927673, 1.1444151401519775, -0.3855445086956024, 0.5571877360343933, -1.1399222612380981, 0.5271538496017456, 0.4721764326095581, -0.03266409784555435, -0.28330570459365845, -0.1546061784029007, -0.46608787775039673, -0.4145040512084961, -0.11987504363059998, -0.8856341242790222, 0.15302559733390808, 0.16487476229667664, 0.6137290596961975, 1.0551289319992065, 0.24860318005084991, 0.5499769449234009, -0.2429417222738266, 0.6425036787986755, 0.08336138725280762, -0.640030562877655, 0.7043992280960083, -0.615042507648468, 0.09429328888654709, 0.864741861820221, 0.6789384484291077, -0.24144777655601501, -0.3688008189201355, -0.836503267288208, -1.0687968730926514, 0.4354596436023712, -0.17853155732154846, -0.3573969304561615, -0.18831767141819, 0.8466618657112122, 0.12389695644378662, 0.4498118758201599, -0.7227652668952942, -0.3386250138282776, 0.468246191740036, -0.21358337998390198, 0.2257986217737198, -0.7692369818687439, -0.2876702845096588, -0.42238903045654297, 0.24250014126300812, 0.22413022816181183, 0.19057577848434448, 0.3926087021827698, 0.00604292843490839, -0.3480938673019409, 0.39064353704452515, 0.25332385301589966, 1.0257147550582886, -0.26426780223846436, 0.14642345905303955, 0.0502939410507679, -0.7519016265869141, 0.3185572922229767, -0.3365858197212219, -0.107955202460289, 0.15039098262786865, 0.37772709131240845, 0.4958897829055786, 0.5447746515274048, -0.4368303418159485, 1.016278624534607, 0.03637184947729111, 0.07190025597810745, -0.2675587832927704, 0.08024405688047409, -0.022968122735619545, 0.4075225591659546, 0.6742611527442932, 0.11881224811077118, 0.4889037311077118, -0.84839928150177, 0.08345745503902435, -0.22134430706501007, -0.6387413740158081, -0.29847171902656555, 0.4505247473716736, 0.17459091544151306, 0.08062556385993958, 0.5163177847862244, -0.08536966890096664, -0.6192969679832458, 0.9987986087799072, 0.5327247977256775, 0.36318084597587585, -0.3622342646121979, 0.174178808927536, 0.468323290348053, 0.2642088830471039, -0.6050668954849243, 0.7085650563240051, 0.33425289392471313, -0.2646251618862152, -0.29056140780448914, -0.17518550157546997, -0.43546009063720703, -0.2179284393787384, -1.1207283735275269, 0.38162854313850403, -0.3362305760383606, -0.25854629278182983, -0.3208077847957611, -0.01204109750688076, -0.4344988167285919, 0.4140694737434387, -0.35513919591903687, 0.7437276840209961, -1.0748026371002197, 0.3749546706676483, 0.6341336369514465, 0.23758865892887115, -0.6853471398353577, 0.027265481650829315, 0.02736474759876728, -0.9445865154266357, 0.5265881419181824, 0.32485276460647583, 0.6287140250205994, 0.0015539401210844517, -0.5508671402931213, -1.3822931051254272, 1.0257757902145386, 0.18855342268943787, -0.9758274555206299, 0.14113911986351013, 0.029913948848843575, 0.10998887568712234, -0.47764822840690613, 0.19580665230751038, 0.4335941672325134, 0.7578637003898621, 0.03232908621430397, -0.5747504830360413, -0.061549242585897446, 0.030593812465667725, -0.6162013411521912, 0.5173973441123962, -1.0850577354431152, 0.8819752931594849, -0.6004524827003479, -0.21121296286582947, -0.38452965021133423, 0.8725741505622864, -0.2960566282272339, 0.7196945548057556, 0.7487731575965881, 0.6899591088294983, 1.0636050701141357, -0.18832938373088837, 0.7636107206344604, -0.5730597972869873, 0.22148071229457855, 0.8353813886642456, 0.030849002301692963, 0.9755700826644897, 0.41913744807243347, -0.18222445249557495, 0.3335965573787689, 0.8735448122024536, 0.24886327981948853, 0.9163246154785156, -0.10462897270917892, -0.4555230736732483, -0.3200323283672333, -0.47189778089523315, -0.5837898254394531, 0.23502597212791443, 1.0503910779953003, -0.2995464503765106, -0.36680272221565247, 0.15948373079299927, 0.06759055703878403, -0.22674454748630524, -0.7656964659690857, 0.9165686368942261, 0.21777866780757904, -0.34913602471351624, -0.04390319064259529, -0.4299186170101166, 0.19770291447639465, -0.4485339820384979, 0.05322966352105141, 0.09474240243434906, 0.1976911723613739, -0.48034143447875977, -1.0684607028961182, 0.5651864409446716, -0.4492660164833069, -0.8248388767242432, 0.10083917528390884, 1.018263578414917, -0.42151910066604614, -0.5233670473098755, 0.31701740622520447, 0.5328375101089478, 0.37107419967651367, -0.3617715537548065, -0.41004759073257446, 0.1013854444026947, -0.030835481360554695, -0.443586140871048, 0.4498559236526489, 0.6428288221359253, -0.13316260278224945, 0.3537687063217163, 0.6720812320709229, 0.19383487105369568, -0.15259388089179993, 0.09536051005125046, 0.9502828121185303, -0.8630616068840027, -0.4307737946510315, -0.595586895942688, 0.13585257530212402, -0.2962741255760193, -0.27307388186454773, 0.8675976991653442, 0.5635631084442139, -0.08618691563606262, 0.24505575001239777, 0.40206193923950195, 0.0186179056763649, 0.943243682384491, -0.5822501182556152, 0.7610856294631958, -0.4554150700569153, 0.042146388441324234, 0.06269248574972153, -0.7551677227020264, -0.4341152012348175, 0.43546050786972046, -0.3243677318096161, -0.5377326011657715, 0.9073905348777771, 0.5622918605804443, 0.073837049305439, 0.23762120306491852, 0.16253453493118286, 0.609635591506958, -0.0570976659655571, 0.2718046009540558, 0.8530765771865845, -0.3056352138519287, 0.504513144493103, -0.3289211094379425, -0.5878438353538513, -0.8714714050292969, -1.1295939683914185, -1.0700637102127075, -0.515758752822876, -0.6019396781921387, -0.26588961482048035, -0.09305621683597565, 0.7143736481666565, 0.7286630272865295, -0.7381179332733154, 0.08000160753726959, -0.1748572140932083, 0.7128576636314392, -0.47088533639907837, -0.2926187813282013, 0.7086568474769592, -0.16515594720840454, -0.4239371418952942, 0.34580197930336, 0.5482361316680908, 0.1419084221124649, 0.04680508002638817, 0.8247207403182983, -0.0651063621044159, -0.08704912662506104, 0.72774338722229, 0.18070875108242035, -0.4492556154727936, -0.34898504614830017, -0.2822260558605194, -0.22748194634914398, 0.30468443036079407, 0.9599804282188416, -0.5234869122505188, 0.06160970777273178, 0.862220823764801, 0.3990470767021179, 0.1967764049768448, -0.07905790209770203, 0.2500200867652893, -0.6271111369132996, 0.5756558179855347, -0.062295928597450256, 0.44961434602737427, -0.028911961242556572, -1.0940061807632446, 0.6225619912147522, 0.13642075657844543, -0.9953041672706604, -0.6897737979888916, -0.11012179404497147, -1.3912593126296997, 0.10907255858182907, 1.1429686546325684, -0.17363432049751282, -0.8449406027793884, -0.4971180260181427, -0.38625356554985046, -0.18648897111415863, -0.6200328469276428, 0.9121710658073425, 0.8328031301498413, 0.006097850855439901, -0.1020231619477272, -0.43554025888442993, 0.25241002440452576, 0.30475491285324097, -0.9040908813476562, -0.2839681804180145, -0.2224736213684082, -0.06001720577478409, 0.21648931503295898, 0.40282493829727173, -0.04781239852309227, 0.3522857129573822, -0.07712527364492416, -0.4951736629009247, 0.4614832103252411, -0.4979686737060547, 0.004446116276085377, 0.3980242908000946, -0.052340343594551086, 0.14018723368644714 ]
http://arxiv.org/abs/2402.10294v1
http://arxiv.org/pdf/2402.10294v1
LAVE: LLM-Powered Agent Assistance and Language Augmentation for Video Editing
2024-02-15T19:53:11
2024-02-15T19:53:11
Bryan Wang, Yuliang Li, Zhaoyang Lv, Haijun Xia, Yan Xu, Raj Sodhi
cs.HC
cs.HC, cs.AI, cs.CL, cs.MM
Video creation has become increasingly popular, yet the expertise and effort required for editing often pose barriers to beginners. In this paper, we explore the integration of large language models (LLMs) into the video editing workflow to reduce these barriers. Our design vision is embodied in LAVE, a novel system that provides LLM-powered agent assistance and language-augmented editing features. LAVE automatically generates language descriptions for the user's footage, serving as the foundation for enabling the LLM to process videos and assist in editing tasks. When the user provides editing objectives, the agent plans and executes relevant actions to fulfill them. Moreover, LAVE allows users to edit videos through either the agent or direct UI manipulation, providing flexibility and enabling manual refinement of agent actions. Our user study, which included eight participants ranging from novices to proficient editors, demonstrated LAVE's effectiveness. The results also shed light on user perceptions of the proposed LLM-assisted editing paradigm and its impact on users' creativity and sense of co-creation. Based on these findings, we propose design implications to inform the future development of agent-assisted content editing.
[ -0.39670488238334656, -0.9290105700492859, 0.7155834436416626, -0.06989387422800064, -0.0797315239906311, 0.4151212275028229, -0.40315601229667664, -0.3987126648426056, 0.3135925233364105, 0.7577753067016602, -0.661321759223938, -0.5096836686134338, -0.5433043837547302, 0.0609644316136837, -0.4314434826374054, 0.6324194073677063, -0.4301266074180603, -0.04312967136502266, -0.19660331308841705, 0.0787787064909935, -0.6810235977172852, -0.24987605214118958, -0.5395104289054871, -0.11064745485782623, 0.4387454092502594, 0.3820541203022003, 1.1716777086257935, 0.5514034628868103, 0.39606064558029175, 0.4296696186065674, -0.052923619747161865, 0.6244183778762817, -0.3672783076763153, 0.35206547379493713, -0.3978107273578644, -0.3529229462146759, -1.0851441621780396, -0.2763744294643402, 0.5949758291244507, 0.33484938740730286, 0.15934330224990845, 0.002410332439467311, -0.0030465933959931135, 0.46294069290161133, -0.46214085817337036, -0.16550207138061523, -0.407146155834198, 0.17130209505558014, -0.013607694767415524, -0.18220609426498413, -0.1708804965019226, 0.015487920492887497, -0.2989613115787506, -0.7349839806556702, 0.1260976344347, -0.43458205461502075, 0.3578488528728485, 0.8601595759391785, 0.012586954049766064, -0.09244951605796814, -0.9008229970932007, 0.24180720746517181, -0.4117940068244934, 0.6018298864364624, 0.30905234813690186, 0.3985297679901123, -0.17624518275260925, -0.556259036064148, -0.8492628335952759, -0.01795976608991623, 0.3039029538631439, -0.13808004558086395, -0.24529847502708435, 0.3819064199924469, 0.24641664326190948, 0.23601675033569336, -0.47054022550582886, 0.4444866478443146, -0.1420382559299469, -0.19886980950832367, 0.721673846244812, 0.23048123717308044, 0.6400607824325562, 0.03831128403544426, 0.12282843887805939, 0.047339312732219696, -0.6304782629013062, 0.0576503612101078, 0.389096200466156, 0.12932950258255005, 0.03129442408680916, 0.9341795444488525, -0.16733357310295105, 0.7305355072021484, -0.002208011457696557, -0.3386235237121582, -0.014850950799882412, -0.018965929746627808, -0.656727135181427, 0.08504997938871384, 0.6914963722229004, 0.4771679937839508, 0.21686232089996338, -0.08871310949325562, -0.3255294859409332, -0.036740873008966446, 0.1997222602367401, -0.6594370007514954, 0.13008847832679749, 0.12237727642059326, -0.0897522121667862, -0.15646760165691376, 0.1500919759273529, -0.39781254529953003, -0.8671936392784119, -0.2988963723182678, 0.5609768629074097, 0.035023365169763565, -0.0958809033036232, 0.2907053828239441, -0.018076304346323013, 0.01641499437391758, 0.8009290099143982, -0.5651183724403381, 0.17880019545555115, 0.5572169423103333, 0.7372276186943054, -0.0818382054567337, -0.34276869893074036, -1.0399284362792969, 0.3348364233970642, -0.2571852505207062, 0.675434947013855, -0.6027340888977051, -0.5258981585502625, 0.254850834608078, 0.26327836513519287, 0.6699640154838562, -0.4124476909637451, 0.3489025831222534, -0.666543185710907, -0.11944897472858429, 0.07983029633760452, -0.39166179299354553, 0.04415889456868172, -0.046552758663892746, -0.8147875070571899, 0.7466933131217957, 0.039947692304849625, -0.0815117135643959, 0.3104143440723419, -0.6521704196929932, -0.1841396987438202, 0.31197676062583923, -0.2129424512386322, -0.15430383384227753, 0.04612254723906517, 0.2597636878490448, 0.43467143177986145, -0.13930024206638336, 0.20646433532238007, -0.04869254305958748, -0.21594148874282837, 0.41325613856315613, -0.3426040709018707, 0.14571787416934967, 0.09865574538707733, 0.057243507355451584, 0.15253658592700958, -0.5923998951911926, -0.2717956602573395, -0.20169195532798767, -0.20594364404678345, 0.04439957067370415, -0.21840177476406097, 0.08678902685642242, 0.23290960490703583, 0.27175667881965637, -0.3453182280063629, 0.5306191444396973, -0.1871280074119568, 0.19205564260482788, 0.8993088603019714, 0.06953126937150955, 0.8231431245803833, -0.03183311969041824, 0.9251882433891296, -0.6151763796806335, 0.13250157237052917, -0.17912521958351135, -0.16126352548599243, -0.4529854357242584, -0.3016390800476074, -0.15699434280395508, 0.4908887445926666, -1.0007741451263428, 0.13233226537704468, -0.06495978683233261, -0.31574779748916626, -0.6244975924491882, 0.9565010666847229, 0.07665353268384933, 0.22298617660999298, 0.10670311003923416, -0.22812579572200775, -0.5973647236824036, -0.7767578363418579, 0.053317565470933914, 0.016772497445344925, -0.3408917784690857, 0.17545601725578308, 0.16500963270664215, -0.20675228536128998, 1.0568580627441406, -0.556935727596283, -0.40349775552749634, -0.4389236271381378, -0.24580420553684235, 0.08177179843187332, 0.17025572061538696, 0.3335958421230316, -0.6952014565467834, -0.6005836129188538, 0.2564449906349182, -0.9571577310562134, -0.5157965421676636, -0.13244563341140747, -0.11708848178386688, 0.1313081979751587, 0.6068167686462402, -0.6738729476928711, 0.5905589461326599, 0.4207984209060669, -0.1930648386478424, 0.40198004245758057, -0.5009129643440247, 0.2021438330411911, -0.9689626693725586, -0.5079308748245239, -0.2501746714115143, -0.3812059462070465, -0.6325562000274658, -0.04145145043730736, -0.3098662793636322, -0.19179396331310272, -0.8151763677597046, 0.6260589361190796, -0.4005763530731201, -0.27772682905197144, -0.6377387046813965, 0.3943803012371063, 0.2764102518558502, 0.34597110748291016, 0.297370046377182, 0.8189453482627869, 0.58592689037323, -0.2899909019470215, 0.7571253180503845, 0.32299384474754333, -0.32036805152893066, 0.7386772036552429, -0.6605199575424194, 0.2840740382671356, -0.20743346214294434, 0.08768898248672485, -0.5742876529693604, -0.4983835816383362, 0.21866632997989655, -0.3735799491405487, -0.033840879797935486, -0.10979025065898895, -0.5550361275672913, -0.13180039823055267, -0.18149815499782562, 0.36515992879867554, 0.40989258885383606, -0.4832017123699188, 0.6888017654418945, 0.5080219507217407, -0.38136953115463257, -0.517052948474884, -0.7591276168823242, 0.4861883819103241, -0.14142192900180817, -1.075710654258728, 0.5033129453659058, -0.3019442558288574, -0.5106366872787476, 0.08897428214550018, 0.13431744277477264, -0.1053156703710556, -0.20818136632442474, 0.42953354120254517, 0.2302907407283783, 0.09865183383226395, 0.2139323651790619, 0.021191274747252464, 0.2129092663526535, -0.3400779068470001, 0.08002443611621857, 0.31640613079071045, 0.05469685420393944, -0.24406698346138, -0.513976514339447, 0.4816153645515442, 0.5536353588104248, -0.5041266679763794, 0.42387112975120544, 0.5734596252441406, -0.3132985830307007, -0.30498629808425903, -0.6402542591094971, 0.16511258482933044, -0.5181365609169006, 0.6499196887016296, -0.17141199111938477, -1.0656715631484985, 0.5236919522285461, 0.10049699991941452, -0.03261542692780495, -0.027089936658740044, 0.7113053202629089, -0.18414796888828278, 0.8240787386894226, 0.8392582535743713, 0.40492525696754456, 0.9482751488685608, -0.467949241399765, -0.030878793448209763, -0.706331729888916, -0.13795162737369537, -0.1791323870420456, -0.23856623470783234, -0.32782915234565735, -0.8200007081031799, 0.5046597123146057, -0.08914770185947418, -0.08625378459692001, 0.16977527737617493, -0.24797114729881287, 0.812842071056366, 0.03659545257687569, 0.04289404675364494, 0.44876018166542053, -0.08602947741746902, 0.2593664824962616, -0.10232646018266678, -0.5547816157341003, -0.5952864289283752, 0.7635440826416016, 0.510159969329834, 1.0224791765213013, 0.34499213099479675, 0.576194703578949, 0.9468767046928406, 0.049824073910713196, -0.9732622504234314, 0.8532930016517639, -0.07076980173587799, -0.11852803826332092, -0.6220802664756775, 0.2997152507305145, -0.638674259185791, -0.0008624003967270255, -0.4591013193130493, -0.6413913369178772, 0.08666437864303589, 0.09735693782567978, -0.44016751646995544, 0.4257689118385315, -0.5117589235305786, 0.6065391898155212, -0.39666447043418884, -1.126277208328247, -0.25600624084472656, -0.1941007822751999, 0.16274091601371765, -0.08313354849815369, 0.5379997491836548, 0.17094029486179352, -0.2122706025838852, 0.40817052125930786, -0.9369738698005676, 0.8113955855369568, -0.18032757937908173, -0.34490177035331726, 0.5413658022880554, 0.3334108293056488, 0.7520303726196289, 0.20884130895137787, 0.11608992516994476, -0.3194316327571869, -0.619895875453949, 0.034304577857255936, -0.9518882036209106, 0.5593677759170532, -0.7274305820465088, -0.8595764636993408, 0.04364114627242088, -0.6583088040351868, 0.01621326059103012, 0.10019584000110626, -0.34685415029525757, 0.27608799934387207, -0.28975746035575867, 0.10506375133991241, 0.5290673971176147, -0.4197060763835907, 0.6140068173408508, 0.5557829737663269, -0.5371476411819458, -0.678795337677002, 0.6783633232116699, 0.03489800542593002, 0.3024342954158783, 0.18752062320709229, -0.18276947736740112, -0.04935578629374504, -0.36873769760131836, -0.6200798749923706, 0.15156491100788116, -0.7824644446372986, -0.03380632773041725, -0.3688584566116333, -0.16807757318019867, -0.219608873128891, -0.7299713492393494, -0.44994479417800903, -0.3157168924808502, -0.17721837759017944, -0.32674041390419006, 0.40354031324386597, 0.901190996170044, -0.1733495146036148, 0.5784617066383362, -0.8101014494895935, 0.5399136543273926, 0.7143529653549194, 0.33998236060142517, -0.33859920501708984, -0.4932846128940582, -0.6708935499191284, -0.23522518575191498, -0.2688426673412323, -0.9507960677146912, 0.408462792634964, 0.16025681793689728, 0.5259827971458435, 0.2196069061756134, -0.4143263101577759, 0.4726228713989258, -0.5453633666038513, 0.972407877445221, 0.02312476374208927, -0.8762860298156738, 0.5007821321487427, -0.3380046486854553, 0.30082982778549194, 0.1335480660200119, -0.1606525182723999, -0.6165064573287964, -0.34786665439605713, -0.21032585203647614, -0.5493786334991455, 0.5015876889228821, 0.09859919548034668, 0.1409405767917633, 0.2481287121772766, 0.24686872959136963, 0.20632246136665344, 0.20954833924770355, -0.581208348274231, 0.1227540448307991, -0.2122669816017151, 0.1635638028383255, -0.11844612658023834, -0.07848561555147171, 0.07776234298944473, -0.06518487632274628, 0.5489182472229004, -0.06042013689875603, -0.11817719042301178, 0.2745873034000397, -0.4385095238685608, -0.49157509207725525, 0.5114748477935791, 0.5510920882225037, 0.461513489484787, -0.16834643483161926, -0.07011806964874268, 0.19152402877807617, -0.36454644799232483, 0.3710794746875763, -0.0663638487458229, -0.20092123746871948, -0.03411373496055603, 0.3452274203300476, 0.9506494402885437, -0.10485156625509262, -1.000238060951233, 0.2813898026943207, 0.03334526717662811, -0.33561816811561584, -0.3778303265571594, 0.21500596404075623, -0.1152803897857666, 0.597767174243927, 0.19666051864624023, -0.07729673385620117, 0.08728396147489548, -0.4266153872013092, -0.006419114302843809, 0.6318616271018982, -0.1211678758263588, -0.3416118025779724, 0.7111788392066956, 0.34051987528800964, -1.0320711135864258, 0.0307993832975626, -0.03156371787190437, -0.2639332711696625, 0.30584102869033813, 0.13340701162815094, 1.0820164680480957, -0.15396006405353546, 0.5139902234077454, -0.030119257047772408, 0.2718881070613861, 0.05911107361316681, 0.083815798163414, -0.14342138171195984, -0.686517059803009, -0.9005406498908997, -0.584743082523346, -0.5191832780838013, 0.14322376251220703, -0.25593578815460205, 0.6031308174133301, -0.24883438646793365, -0.23522451519966125, -0.059388332068920135, -0.3171687424182892, -0.8155031800270081, 0.10460614413022995, 0.30293339490890503, 0.8263342380523682, -0.7670886516571045, 0.9020757675170898, 1.0018513202667236, -0.604291558265686, -0.6041762828826904, -0.39980265498161316, -0.019087864086031914, -0.6132662296295166, 0.5871421694755554, -0.21441513299942017, -0.3583226501941681, -0.3625575304031372, -0.3732476234436035, -0.45436134934425354, 1.0910534858703613, 0.5456153154373169, -0.44949859380722046, -0.2923182249069214, 0.6438566446304321, 0.7708566188812256, -0.47992244362831116, -0.01284706499427557, 0.5368677973747253, 0.3322110176086426, 0.32491540908813477, -0.9867576360702515, -0.38356494903564453, -0.18799328804016113, -0.1641998440027237, 0.06527627259492874, -0.5808831453323364, 0.6341034770011902, -0.22085483372211456, 0.2434040606021881, -0.08478645980358124, 0.5127902626991272, -0.08839862048625946, 0.28174349665641785, 0.4482792615890503, 0.2639465928077698, 0.5114158391952515, 0.42355918884277344, 0.6363595724105835, -0.09908547252416611, -0.20330430567264557, 1.2474905252456665, -0.09314337372779846, 0.667827308177948, 0.6451055407524109, -0.1206444725394249, 0.5448929667472839, 0.18236437439918518, 0.21733629703521729, 0.22670875489711761, -0.030580926686525345, -0.6474882364273071, -0.49124017357826233, -0.532291054725647, -0.0563335157930851, 0.7247068881988525, 0.2804092466831207, -0.41186094284057617, 0.02948041446506977, 0.3147986829280853, 0.039812881499528885, 0.4543081820011139, -0.7412335276603699, 0.8205680251121521, -0.03800322487950325, -0.4996728301048279, 0.2771468758583069, -0.10679831355810165, 0.28654810786247253, -0.5289900898933411, -0.23916849493980408, -0.2122023105621338, -0.030653806403279305, -0.41238293051719666, -1.1417468786239624, 0.19583387672901154, 0.5993074178695679, -0.06519678980112076, -0.4613812267780304, 0.8272426724433899, -0.6312849521636963, -0.3276577591896057, 0.12105482071638107, 0.7350496053695679, 0.15782169997692108, -0.08684548735618591, -0.2739807665348053, 0.5252988338470459, -0.13329817354679108, -0.08609432727098465, 0.21383608877658844, 0.3086986541748047, -0.20490805804729462, 0.5399328470230103, 0.3855310082435608, 0.21794092655181885, -0.3347305655479431, 0.27368614077568054, 0.825741171836853, -0.40740808844566345, -0.49807900190353394, -0.9170342087745667, 0.9048664569854736, 0.07559208571910858, 0.43990278244018555, 0.47828343510627747, 0.370710164308548, 0.7594950199127197, -0.24635440111160278, 1.1354084014892578, -0.045388538390398026, -0.11152930557727814, -0.6112801432609558, 0.3614431321620941, -0.7153237462043762, 0.40789034962654114, -0.5503197908401489, -1.0433927774429321, -0.2742144763469696, 0.18929408490657806, -0.29292604327201843, -0.30220577120780945, 0.24326810240745544, 1.0777617692947388, 0.12614648044109344, -0.42056262493133545, 0.6193562746047974, 0.2676662504673004, 0.603571891784668, 0.41846132278442383, 0.91144859790802, -0.04467717930674553, 0.5809236764907837, -0.22604718804359436, -0.15306343138217926, -0.09935514628887177, -0.9386146068572998, -1.0067893266677856, -0.36070069670677185, -0.05479661002755165, -0.10820125043392181, 0.05571693554520607, 1.2316821813583374, 0.36729079484939575, -0.11694331467151642, -0.4227263331413269, 0.09184975177049637, 0.2698766589164734, 0.07204387336969376, -0.11055508255958557, 0.18074136972427368, 0.2345598042011261, -0.994965136051178, 0.7002436518669128, 0.5422689318656921, 0.10768406838178635, -0.6555887460708618, -0.617803692817688, 0.14627449214458466, 0.1978282779455185, 0.7083090543746948, 0.44672608375549316, -0.7792856693267822, -0.3529664874076843, 0.1205085963010788, 0.2054051011800766, 0.03598276898264885, 0.707461953163147, -0.7020471096038818, 0.9509420990943909, 0.46472951769828796, 0.7152723670005798, 0.373183935880661, -0.0037698992528021336, 0.7115615010261536, -0.6728474497795105, 0.4135740101337433, -0.2583257853984833, 0.2747035324573517, 0.5106162428855896, -0.4818340539932251, 0.4375617802143097, 0.04463401809334755, -0.5484892725944519, -0.905106782913208, 0.253347784280777, -1.0435534715652466, 0.10781395435333252, 1.0408483743667603, 0.14188142120838165, -0.13948646187782288, 0.20580071210861206, -0.8417050838470459, 0.3640548288822174, -0.38911738991737366, 0.4093192517757416, 0.7428073883056641, -0.28510209918022156, -0.4625439941883087, -0.740977942943573, 0.4863123595714569, 0.04717398062348366, -0.7815050482749939, 0.05752705782651901, 0.8244715332984924, -0.036216653883457184, -0.14493396878242493, 0.6422330141067505, 0.289634108543396, 0.7283580303192139, -0.28094497323036194, 0.46760615706443787, -0.6405863165855408, -0.4568045437335968, -0.4483909010887146, 0.2023613154888153, 0.4628971517086029, 0.19270417094230652 ]
http://arxiv.org/abs/2402.10210v1
http://arxiv.org/pdf/2402.10210v1
Self-Play Fine-Tuning of Diffusion Models for Text-to-Image Generation
2024-02-15T18:59:18
2024-02-15T18:59:18
Huizhuo Yuan, Zixiang Chen, Kaixuan Ji, Quanquan Gu
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
Fine-tuning Diffusion Models remains an underexplored frontier in generative artificial intelligence (GenAI), especially when compared with the remarkable progress made in fine-tuning Large Language Models (LLMs). While cutting-edge diffusion models such as Stable Diffusion (SD) and SDXL rely on supervised fine-tuning, their performance inevitably plateaus after seeing a certain volume of data. Recently, reinforcement learning (RL) has been employed to fine-tune diffusion models with human preference data, but it requires at least two images ("winner" and "loser" images) for each text prompt. In this paper, we introduce an innovative technique called self-play fine-tuning for diffusion models (SPIN-Diffusion), where the diffusion model engages in competition with its earlier versions, facilitating an iterative self-improvement process. Our approach offers an alternative to conventional supervised fine-tuning and RL strategies, significantly improving both model performance and alignment. Our experiments on the Pick-a-Pic dataset reveal that SPIN-Diffusion outperforms the existing supervised fine-tuning method in aspects of human preference alignment and visual appeal right from its first iteration. By the second iteration, it exceeds the performance of RLHF-based methods across all metrics, achieving these results with less data.
[ -0.6092151403427124, -0.8270281553268433, 0.7350356578826904, 0.07996165752410889, -0.38031336665153503, 0.01770535483956337, -0.2382524162530899, -0.037552982568740845, 0.059768520295619965, 0.4862156808376312, -0.8096886873245239, -0.5129345655441284, -0.5524190068244934, 0.011615628376603127, -0.17651233077049255, 1.021889328956604, 0.053710367530584335, -0.09539493918418884, -0.18908478319644928, -0.11354366689920425, -0.4923067092895508, 0.26717039942741394, -1.1267892122268677, -0.4748958349227905, 0.6933585405349731, 0.6315982341766357, 0.7629421353340149, 0.7091448903083801, 0.1652631014585495, 0.28682607412338257, -0.0929216742515564, 0.5399429798126221, -0.46885010600090027, 0.2817232310771942, -0.44834256172180176, -0.24662084877490997, -0.08709380030632019, 0.1935824155807495, 0.41272425651550293, 0.1689167618751526, -0.2663618326187134, -0.0035328578669577837, 0.08829650282859802, 1.2368276119232178, -0.4948919713497162, -0.20558501780033112, -0.47193291783332825, 0.2925969958305359, -0.03778856620192528, -0.43085867166519165, -0.38168594241142273, -0.3179329037666321, 0.08024386316537857, -0.8125198483467102, 0.47334614396095276, 0.2558151185512543, 0.7887014746665955, 0.43530017137527466, -0.27439814805984497, -0.28102147579193115, -0.7605730295181274, 0.5801733136177063, -0.6766025424003601, -0.005796033423393965, 0.24790789186954498, 0.18175427615642548, -0.24472132325172424, -0.2738547921180725, -0.47405076026916504, -0.07015056908130646, 0.0808829814195633, 0.21408160030841827, -0.07630143314599991, -0.058114368468523026, 0.01799551397562027, 0.13764433562755585, -0.3632473349571228, 0.33854344487190247, -0.23502738773822784, 0.14237971603870392, 0.7337104678153992, 0.09835498780012131, 0.35244596004486084, -0.11884939670562744, -0.15973946452140808, -0.2964960038661957, -0.6506256461143494, -0.034083642065525055, 0.433511883020401, 0.40280547738075256, -0.048674702644348145, 0.4498600661754608, -0.33548516035079956, 0.6627979278564453, 0.7912700176239014, 0.08592956513166428, 0.15275931358337402, -0.0608648881316185, -0.08821520209312439, -0.04046718031167984, 1.0560907125473022, 0.3981308937072754, 0.31876593828201294, -0.052771277725696564, -0.19451379776000977, -0.19131961464881897, 0.22166575491428375, -0.8342880606651306, -0.539607048034668, -0.028922520577907562, -0.716956615447998, -0.6603140830993652, -0.44022291898727417, -0.9334477782249451, -0.5504863858222961, -0.24045151472091675, 0.6791845560073853, -0.41346609592437744, -0.3366389274597168, 0.009264178574085236, -0.13772930204868317, -0.03389503061771393, 0.4158828556537628, -1.0748473405838013, -0.006138104945421219, 0.3149753510951996, 0.957573413848877, -0.7132830619812012, -0.22964295744895935, -0.4846141040325165, -0.004644285887479782, -0.7790267467498779, 1.1755194664001465, -0.40011903643608093, -0.4881812632083893, -0.1571435034275055, -0.34204089641571045, 0.07161690294742584, -0.6229125261306763, 0.2727660834789276, -0.6422894597053528, 0.465136855840683, -0.04200787469744682, -0.621877133846283, 0.09441913664340973, 0.13123859465122223, -0.47037094831466675, 0.8355163335800171, -0.09460500627756119, -0.5755826234817505, 0.5553280115127563, -0.7608314156532288, -0.6282290816307068, -0.0790109783411026, -0.28893133997917175, -0.8186810612678528, 0.2842453718185425, 0.45912420749664307, 0.5699116587638855, -0.1551559716463089, 0.15026327967643738, -0.4218546450138092, -0.1993083506822586, 0.06519988924264908, -0.5513079762458801, 0.28241464495658875, 0.38204851746559143, -0.3433902859687805, 0.35234618186950684, -0.7408746480941772, -0.026807470247149467, 0.3293783962726593, -0.10177662968635559, -0.26267939805984497, 0.25517910718917847, 0.012947970069944859, 0.37422072887420654, 0.04160236194729805, -0.3505193591117859, 0.3065791428089142, -0.31026268005371094, 0.3821101188659668, 0.9174798130989075, 0.019328361377120018, 0.9418167471885681, -0.30048561096191406, 0.4884975850582123, 0.22890299558639526, 0.11363136023283005, -0.21913065016269684, -0.45921629667282104, -0.647486686706543, -0.25701892375946045, 0.49333667755126953, 0.22056595981121063, -0.7418313026428223, 0.24408981204032898, 0.06219141557812691, -0.3526453375816345, -0.6777411103248596, 0.24487891793251038, 0.21211354434490204, 0.706318199634552, 0.45186448097229004, -0.26619747281074524, 0.068998321890831, -0.8122655153274536, -0.12287720292806625, 0.28408291935920715, 0.1512380838394165, 0.5843526124954224, 0.11502554267644882, -0.1627281755208969, 0.9454279541969299, -0.5376819968223572, -0.5771376490592957, -0.10734793543815613, 0.7256468534469604, 0.06199421361088753, 0.623645544052124, 0.4912935495376587, -0.7065154910087585, -0.620940625667572, -0.04543351009488106, -0.47041288018226624, 0.04015830531716347, -0.3756924569606781, -0.1625247448682785, 0.40027332305908203, 0.5416028499603271, -0.322760671377182, 0.42390841245651245, 0.5903559923171997, -0.6353845000267029, 0.4390332102775574, -0.805574357509613, 0.4197513163089752, -0.8268837928771973, -0.22666294872760773, 0.2658628523349762, -0.3306255042552948, -0.3532346785068512, -0.11846233904361725, 0.07398921996355057, -0.02430601231753826, -0.2641923725605011, 0.6860030889511108, -0.3743118643760681, -0.003797776298597455, -0.6421108245849609, 0.09681648761034012, -0.1449567973613739, 0.32792019844055176, 0.2454981654882431, 1.0417537689208984, 0.7359760403633118, -0.8494969606399536, -0.18597717583179474, 0.13864922523498535, -0.3932356536388397, 0.711422860622406, -0.6003983020782471, 0.04806520417332649, -0.41649937629699707, 0.1195911392569542, -1.199480652809143, -0.11978524178266525, 0.23816481232643127, -0.3155575394630432, 0.4232911467552185, -0.18094591796398163, -0.3735859990119934, -0.08150390535593033, -0.10488617420196533, 0.4557623267173767, 0.7011054158210754, -0.8265650272369385, 0.7172142267227173, 0.05689380690455437, 0.021462196484208107, -0.3100375235080719, -0.3184455931186676, -0.04134761542081833, -0.44956719875335693, -0.5343512296676636, 0.5243338346481323, -0.23959924280643463, 0.41832274198532104, -0.04190696403384209, 0.10901517421007156, 0.18019214272499084, 0.1448979675769806, 0.07503477483987808, 0.06754998862743378, 0.06333590298891068, 0.08585795760154724, 0.4814209043979645, -0.3561915457248688, -0.2606395483016968, -0.22186926007270813, 0.5256963968276978, 0.2540379464626312, -0.13808345794677734, -0.6833552718162537, 0.17522652447223663, 0.24871818721294403, -0.2012292742729187, 0.47321248054504395, 0.7349281907081604, 0.16696226596832275, -0.466181218624115, -0.4024108052253723, -0.11084349453449249, -0.5721344351768494, -0.022159729152917862, -0.3871540129184723, -1.0140798091888428, 0.2867847979068756, -0.4261561632156372, -0.09530571848154068, 0.5415993332862854, 0.47521117329597473, -0.7653254270553589, 1.5243849754333496, 0.614469587802887, 0.09346417337656021, 0.8362818956375122, -0.29367363452911377, -0.07412008196115494, -0.7075476050376892, 0.023241456598043442, -0.2033667266368866, -0.5810686349868774, -0.7381258010864258, -0.3352624475955963, 0.4223583936691284, 0.023743966594338417, -0.36637064814567566, 0.005463447421789169, -0.6358475089073181, 0.654456377029419, 0.7105855941772461, 0.3801022469997406, 0.2919028401374817, 0.16146442294120789, -0.1984267383813858, -0.010494474321603775, -0.7499128580093384, -0.21533632278442383, 0.9595049023628235, 0.24210768938064575, 1.0451453924179077, -0.06385855376720428, 1.0924310684204102, 0.6348022818565369, 0.07337154448032379, -0.4931897521018982, 0.4348307251930237, -0.481400728225708, -0.3481598198413849, -0.5567200779914856, -0.47681480646133423, -0.9549655914306641, 0.09733643382787704, -0.5975154042243958, -0.2274782508611679, 0.2468763291835785, 0.7079131007194519, -0.617240309715271, 0.09340879321098328, -0.5615091919898987, 0.8501812219619751, -0.20527079701423645, -0.5256769061088562, -0.5619479417800903, -0.23267410695552826, 0.17283907532691956, 0.16647158563137054, 0.11573801189661026, -0.2000168114900589, 0.19691945612430573, 0.46911296248435974, 0.1301296055316925, 0.7136815190315247, -0.1993158906698227, -0.197524294257164, -0.023076578974723816, 0.39289167523384094, 0.45058533549308777, 0.03447351232171059, 0.15165719389915466, -0.22615230083465576, -0.2599920630455017, -0.27382034063339233, -0.6821720004081726, 0.6817668676376343, -0.739568293094635, -0.5329369306564331, -0.31683871150016785, -0.30856913328170776, -0.1344883143901825, 0.2634654939174652, 0.5842112302780151, 0.2217959761619568, -0.24413837492465973, -0.13863395154476166, 1.126369595527649, -0.23256948590278625, 0.46366021037101746, 0.28791624307632446, -0.3126034438610077, -0.4727284908294678, 1.100313425064087, -0.09653402119874954, 0.3019125461578369, 0.08950042724609375, 0.5222648978233337, -0.32586467266082764, -0.6712082028388977, -0.7299945950508118, 0.1317276805639267, -0.2936030924320221, -0.3024958670139313, -0.4365367889404297, -0.11199309676885605, -0.23917223513126373, -0.2681463658809662, -0.5701779127120972, -0.3053508698940277, -0.834565281867981, 0.22617501020431519, 0.34609565138816833, 0.8859121799468994, -0.28019800782203674, 0.4602794349193573, -0.425570547580719, 0.5940408706665039, 0.534773588180542, 0.6717451810836792, 0.03486352041363716, -0.6953931450843811, -0.11798334121704102, -0.0860321894288063, -0.33659666776657104, -0.6628194451332092, 0.4045211672782898, 0.30455151200294495, 0.2144342064857483, 0.5867617726325989, -0.18378044664859772, 0.7086478471755981, -0.8513827919960022, 0.5931496620178223, 0.4347139596939087, -0.5648860931396484, 0.7725618481636047, -0.5523169636726379, 0.3246302008628845, 0.5908981561660767, 0.08285130560398102, -0.38024091720581055, -0.21115094423294067, -0.6336917877197266, -0.6852221488952637, 0.6179017424583435, 0.017212357372045517, 0.17788317799568176, -0.024673765525221825, 0.47019240260124207, 0.0385163314640522, -0.016037654131650925, -0.5282256603240967, -0.2899089753627777, -0.14599156379699707, -0.3499181568622589, -0.2510286271572113, -0.1117190420627594, -0.16208718717098236, -0.19144968688488007, 0.6985135078430176, -0.33683550357818604, 0.13567790389060974, 0.20971542596817017, 0.044173985719680786, -0.24379278719425201, 0.12901611626148224, 0.5457851886749268, 0.18377332389354706, 0.06335166841745377, -0.1266334056854248, -0.1830117106437683, 0.07925036549568176, 0.30136963725090027, -0.001623883261345327, -0.7255457043647766, -0.41360363364219666, -0.2919290363788605, 0.9065570831298828, 0.05412212386727333, -0.42417624592781067, 0.39654749631881714, -0.20992402732372284, -0.3963964879512787, -0.10030514746904373, 0.48089852929115295, -0.016150156036019325, 0.477395623922348, 0.2173871248960495, 0.300916463136673, 0.43990805745124817, -0.32967549562454224, 0.23182080686092377, 0.7499476671218872, -0.34019193053245544, 0.11730651557445526, 0.8430637121200562, 0.20815181732177734, -0.3892936110496521, 0.4501284956932068, -0.4765462279319763, -0.1292717009782791, 0.5022256374359131, 0.648754358291626, 0.901641309261322, 0.03975716978311539, 0.8758468627929688, 0.4701962172985077, -0.07904340326786041, -0.5416638851165771, 0.05499826744198799, -0.20397602021694183, -0.8092732429504395, -0.2217995673418045, -0.3130195438861847, -0.20199355483055115, -0.2959509789943695, -0.4311528205871582, 0.0611446313560009, -0.5549641847610474, -0.25768205523490906, -0.007678886875510216, -0.16308675706386566, -0.6922481656074524, 0.31637313961982727, 0.32414260506629944, 0.7047463655471802, -0.9284175634384155, 0.6544202566146851, 0.408133864402771, -0.28845757246017456, -0.4132309854030609, 0.09225475043058395, -0.28701677918434143, -0.4879358112812042, 0.5022331476211548, 0.007669944316148758, -0.357782781124115, 0.316916286945343, -0.7867285013198853, -0.93370121717453, 1.1351932287216187, -0.01229012943804264, -0.5027205944061279, -0.03452473133802414, -0.16249695420265198, 0.5904453992843628, -0.6018486022949219, 0.21665583550930023, 0.6077354550361633, 0.2714066803455353, 0.23504292964935303, -0.3748548924922943, -0.27801278233528137, 0.10889046639204025, 0.42831215262413025, 0.0873962938785553, -0.8928275108337402, 0.43816912174224854, -0.37989136576652527, -0.3030995726585388, 0.1476735919713974, 1.0522263050079346, 0.4092370271682739, 0.28702715039253235, 0.7169668078422546, 0.7278674244880676, 0.5227290391921997, 0.046770207583904266, 0.5816437602043152, -0.062147147953510284, 0.3801664113998413, 1.2680518627166748, -0.05086999014019966, 0.7636080384254456, 0.3370993435382843, 0.17216695845127106, 0.6161331534385681, 0.6221218705177307, -0.13989172875881195, 0.9414957761764526, 0.028803709894418716, 0.06123112514615059, -0.609987199306488, 0.14243194460868835, 0.06142974644899368, 0.3187144100666046, 0.2614617943763733, -0.4010889530181885, -0.27876558899879456, 0.18780027329921722, -0.2399626076221466, 0.4071740508079529, -0.30983948707580566, 0.984024703502655, -0.36557433009147644, -0.843886137008667, 0.08603455126285553, 0.01925671100616455, 1.0704429149627686, -0.2900019884109497, -0.15953819453716278, -0.41971251368522644, 0.027934158220887184, -0.03086077980697155, -1.0017327070236206, -0.07664214819669724, -0.11742033064365387, -0.34674733877182007, -0.3728587329387665, 0.7005396485328674, -0.544426441192627, -0.5053660869598389, 0.2251417487859726, 0.3311486840248108, -0.3338782489299774, 0.13873471319675446, -0.9998549818992615, -0.2217712253332138, -0.004912628326565027, -0.29865574836730957, 0.47209829092025757, 0.37596407532691956, 0.2895292639732361, 0.8869699835777283, 0.5034762024879456, 0.031732819974422455, -0.009818902239203453, 0.10711240768432617, 0.6265643835067749, -0.5672181248664856, -0.5441449880599976, -0.7114018201828003, 0.3784082531929016, -0.16214387118816376, -0.5327892303466797, 0.4045780599117279, 0.3984438180923462, 0.6655178666114807, -0.1111500933766365, 0.6329473257064819, -0.010273748077452183, 0.5371691584587097, -0.6252891421318054, 0.8947353959083557, -0.8303217887878418, -0.17039261758327484, -0.296089231967926, -0.4885927140712738, -0.12220439314842224, 0.8429081439971924, -0.12100563198328018, 0.22136874496936798, 0.2547243535518646, 0.781351625919342, -0.24625025689601898, -0.26760250329971313, 0.3723529875278473, -0.017305942252278328, 0.27300071716308594, 0.21156436204910278, 0.710800290107727, -0.30805620551109314, 0.2914857566356659, -0.35902470350265503, -0.3110707700252533, -0.09035854786634445, -1.0786499977111816, -0.9421905875205994, -0.6123208999633789, -0.49406567215919495, -0.43274566531181335, 0.12513947486877441, 0.8542289733886719, 0.8115425705909729, -0.6486257314682007, -0.07972551882266998, -0.28124311566352844, 0.05657445639371872, -0.3816397786140442, -0.21310563385486603, 0.3730839788913727, -0.7423081994056702, -0.6436510682106018, 0.3690117597579956, 0.26886293292045593, 0.1585521399974823, -0.37138471007347107, -0.1583688110113144, -0.10773101449012756, 0.1899077147245407, 0.45694294571876526, 0.37129905819892883, -0.4774312674999237, -0.06609763950109482, -0.059135064482688904, -0.0721815899014473, 0.32134875655174255, 0.642747700214386, -0.9089363217353821, 0.5662875175476074, 0.3401481807231903, 0.5678039193153381, 0.7486005425453186, 0.21100416779518127, 0.5003870725631714, -0.5080845952033997, -0.2085789144039154, -0.010312873870134354, -0.0172544214874506, 0.20059093832969666, -0.4064585864543915, 0.2742563486099243, -0.040131356567144394, -0.8255221247673035, -0.2544422745704651, 0.3971237242221832, -0.7035432457923889, -0.3935118019580841, 1.0587201118469238, 0.2716253697872162, -0.17852306365966797, 0.3149900436401367, -0.3591305911540985, 0.18013273179531097, -0.5995304584503174, 1.2639282941818237, 0.4612654447555542, -0.36833178997039795, -0.47506222128868103, -0.15290942788124084, 0.9349392056465149, 0.5902976989746094, -0.7658919095993042, -0.03819475695490837, 0.693295419216156, 0.5084466338157654, -0.066199392080307, 0.777694821357727, 0.073895663022995, 0.43003660440444946, -0.4643600583076477, -0.08413825184106827, 0.044559743255376816, -0.6717721223831177, -0.5830926895141602, -0.04418780654668808, 0.11331314593553543, -0.12204760313034058 ]
http://arxiv.org/abs/2402.10208v2
http://arxiv.org/pdf/2402.10208v2
Recovering the Pre-Fine-Tuning Weights of Generative Models
2024-02-15T18:59:02
2024-07-01T12:48:51
Eliahu Horwitz, Jonathan Kahana, Yedid Hoshen
cs.LG
cs.LG, cs.CL, cs.CR, cs.CV
The dominant paradigm in generative modeling consists of two steps: i) pre-training on a large-scale but unsafe dataset, ii) aligning the pre-trained model with human values via fine-tuning. This practice is considered safe, as no current method can recover the unsafe, pre-fine-tuning model weights. In this paper, we demonstrate that this assumption is often false. Concretely, we present Spectral DeTuning, a method that can recover the weights of the pre-fine-tuning model using a few low-rank (LoRA) fine-tuned models. In contrast to previous attacks that attempt to recover pre-fine-tuning capabilities, our method aims to recover the exact pre-fine-tuning weights. Our approach exploits this new vulnerability against large-scale models such as a personalized Stable Diffusion and an aligned Mistral.
[ -0.5750956535339355, -0.5477378368377686, -0.011515436694025993, -0.3769088089466095, -0.31801196932792664, 0.06882621347904205, -0.07797123491764069, -0.5218663811683655, -0.08119236677885056, 0.7285279035568237, -0.7212642431259155, -0.3564426600933075, -0.5748914480209351, -0.2258402556180954, -0.6059220433235168, 1.1153039932250977, 0.3450753688812256, -0.025179948657751083, 0.21320204436779022, 0.23114661872386932, -0.36426496505737305, -0.40753740072250366, -0.7915281057357788, -0.014752949588000774, 0.8514403700828552, 0.2381083369255066, 0.5778168439865112, 0.3467027246952057, 0.5691627264022827, 0.33975890278816223, 0.053822074085474014, 0.21991050243377686, -1.0044347047805786, 0.07590760290622711, -0.05567069724202156, -0.8008100986480713, -0.5225841403007507, 0.39105021953582764, 0.42598840594291687, 0.6563427448272705, -0.19024790823459625, 0.1745937466621399, 0.3930855393409729, 0.9651573300361633, -0.9820818305015564, -0.43304216861724854, -0.9832865595817566, 0.15055011212825775, -0.3861440122127533, -0.23589985072612762, -0.5636779069900513, -0.6433311104774475, -0.2091057449579239, -0.6417410969734192, 0.4452458918094635, -0.09479758143424988, 1.0703747272491455, 0.7451006174087524, -0.32113391160964966, 0.4466175436973572, -1.0577092170715332, 0.6964656114578247, -0.40751245617866516, 0.04047449678182602, 0.7205523252487183, 0.5908970832824707, 0.0702546238899231, -0.8030574917793274, -0.09631916135549545, 0.07017819583415985, 0.19164663553237915, 0.1466420441865921, -0.3631136119365692, 0.14012421667575836, 0.40345460176467896, 0.4754244387149811, -0.1284395456314087, 0.5164073705673218, -0.37905412912368774, -0.06957463920116425, 0.5609516501426697, 0.13331377506256104, 0.061911098659038544, -0.07007094472646713, -0.4992001950740814, -0.28024211525917053, -1.0965142250061035, -0.24003998935222626, 0.7545816898345947, 0.7002176642417908, -0.1911342740058899, 0.43090304732322693, 0.11497321724891663, 0.772985577583313, 0.4996086061000824, 0.16785715520381927, 0.07992174476385117, -0.37186646461486816, -0.4202026426792145, 0.09959511458873749, 0.5151302218437195, 0.12253300100564957, 0.510096549987793, -0.14477317035198212, -0.08729061484336853, 0.1790369153022766, 0.6846162676811218, -0.6378870010375977, -0.44008785486221313, 0.08093272894620895, -0.5988705158233643, -0.7343465685844421, -0.07109977304935455, -0.7911165356636047, -0.48425933718681335, -0.42677196860313416, 0.6940027475357056, -0.432894766330719, -0.3606082499027252, -0.018375296145677567, 0.10016857087612152, 0.24831622838974, 0.3868471682071686, -1.0603458881378174, 0.10766914486885071, 0.6701099276542664, 0.5037765502929688, 0.06815090775489807, -0.00972041767090559, -0.4112258851528168, 0.072684146463871, -0.43285006284713745, 0.4932418763637543, -0.24559985101222992, -0.5011429190635681, -0.23717793822288513, -0.027623968198895454, -0.005691093858331442, -0.6219177842140198, 0.5244078636169434, -0.7226603031158447, -0.31001293659210205, -0.6405684947967529, -0.26784026622772217, 0.11613094806671143, 0.1697828471660614, -0.7181786298751831, 0.6181296110153198, 0.06631746888160706, -0.983363151550293, 0.5101664662361145, -0.3881469666957855, -0.06831136345863342, -0.1608356237411499, 0.020968381315469742, -0.7967982888221741, 0.33024850487709045, -0.01704368181526661, 0.292618989944458, -0.17930454015731812, -0.2110578715801239, -0.6141360402107239, -0.24030980467796326, -0.059132348746061325, -0.5350850224494934, 0.9932565689086914, 0.3705219030380249, -0.04686865210533142, 0.1834179162979126, -1.0722373723983765, 0.0848238542675972, 0.07967255264520645, -0.06157670542597771, -0.5140225887298584, -0.017263775691390038, -0.18519939482212067, 0.19171078503131866, 0.15917345881462097, -0.5319902300834656, 0.2570774257183075, -0.36457082629203796, 0.43843236565589905, 1.0834394693374634, 0.057009171694517136, 0.3888612389564514, -0.33174535632133484, 0.4633202850818634, 0.08401355147361755, 0.12167014926671982, 0.3009639382362366, 0.15433643758296967, -0.6070676445960999, -0.5543180704116821, 0.5795712471008301, 0.11920598149299622, -0.5061338543891907, 0.6685909628868103, -0.23856137692928314, -0.7618271112442017, -0.6195734143257141, 0.052990227937698364, 0.46126696467399597, 0.5536591410636902, 0.23330196738243103, -0.2092140167951584, -0.6904711127281189, -0.955491304397583, -0.3504089415073395, 0.22944094240665436, -0.3259047865867615, 0.013938292860984802, 0.5512678623199463, -0.3231678009033203, 0.8825704455375671, -0.7301093339920044, -0.48660513758659363, 0.26570066809654236, 0.30916163325309753, -0.20459023118019104, 1.1629747152328491, 0.5385934710502625, -0.7875024080276489, -0.20538556575775146, -0.1310712993144989, -0.6840984225273132, 0.21810504794120789, 0.20087186992168427, -0.3609447479248047, -0.15867863595485687, 0.5515487194061279, -0.5461460947990417, 0.39201682806015015, 0.3347843289375305, -0.0821179673075676, 0.6742241382598877, -0.3459891974925995, 0.004113626666367054, -1.1000012159347534, 0.30959802865982056, -0.0870196595788002, -0.2688206136226654, -0.6492719054222107, 0.3348657488822937, 0.026204250752925873, -0.19538649916648865, -0.17931672930717468, -0.16116097569465637, -0.31721407175064087, -0.0014782885555177927, -0.17909830808639526, -0.315250039100647, -0.1844395399093628, 0.23264478147029877, -0.2712576389312744, 0.6306599378585815, 0.5248591303825378, -0.68001389503479, -0.11422993987798691, 0.1489974409341812, -0.732729971408844, 0.7200708389282227, -0.7694584131240845, 0.4097725749015808, -0.5729448199272156, -0.03804701194167137, -0.8609179258346558, -0.2927582263946533, -0.07015059888362885, -0.09520447254180908, 0.3972836136817932, -0.5018343329429626, -0.472968727350235, -0.18666960299015045, -0.20052780210971832, 0.525173544883728, 0.629715621471405, -0.6250151991844177, 0.5081169009208679, 0.4060910642147064, 0.13449953496456146, -0.4507521092891693, -0.4507421553134918, -0.33011943101882935, -0.5653207898139954, -0.37991443276405334, 0.34441128373146057, 0.0697365254163742, -0.14686833322048187, -0.3675553798675537, -0.038271691650152206, 0.14627264440059662, 0.7525133490562439, 0.5842146277427673, 0.21622677147388458, 0.051888905465602875, -0.05596379190683365, 0.06649395078420639, -0.5232100486755371, -0.18287762999534607, -0.2336377203464508, 0.7391143441200256, 0.018630683422088623, -0.5842414498329163, -0.2840036451816559, 0.06995534896850586, 0.5799200534820557, -0.5954693555831909, 0.6197894215583801, 0.6873148679733276, -0.7022520303726196, -0.1597248762845993, -0.3119368255138397, -0.22050248086452484, -0.5217515826225281, 0.3291604518890381, -0.27968141436576843, -0.565866231918335, 0.5875498056411743, -0.3270634412765503, 0.19722311198711395, 0.5126407146453857, 0.4051467180252075, -0.3533569276332855, 1.2797062397003174, 0.8959125280380249, -0.09351995587348938, 0.51197350025177, -0.4585250914096832, 0.09720289707183838, -0.6693443655967712, -0.21498852968215942, -0.8953834772109985, -0.7268199324607849, -0.49292129278182983, 0.11472178995609283, 0.6990482211112976, 0.5606070756912231, -0.5977031588554382, 0.2223014384508133, -0.49241766333580017, 0.5367289185523987, 0.6458662748336792, 0.32149288058280945, 0.19012552499771118, 0.3173193633556366, 0.15991616249084473, 0.02296876721084118, -0.2458958774805069, -0.15078437328338623, 0.9840734601020813, 0.15074901282787323, 1.2593728303909302, 0.22733984887599945, 0.8305099606513977, 0.07941854745149612, 0.22957219183444977, -0.4458143413066864, 0.2702069580554962, -0.4803396165370941, -0.6688284873962402, -0.4353167414665222, -0.5858012437820435, -1.2557471990585327, 0.3324942886829376, -0.3761942684650421, -0.9580016732215881, 0.5037198066711426, 0.4516203999519348, -0.7516032457351685, 0.34336432814598083, -0.6792515516281128, 0.6695824861526489, 0.020061863586306572, -0.1316620260477066, -0.25247201323509216, -0.7288342118263245, 0.5888215899467468, -0.3292548358440399, 0.04208837077021599, -0.07161390036344528, 0.36517471075057983, 0.6672739386558533, -0.5098429322242737, 1.0525516271591187, -0.45050233602523804, -0.5017260313034058, -0.13808377087116241, 0.17367896437644958, 0.5011013150215149, -0.36937224864959717, 0.11831434816122055, 0.017092855647206306, 0.09272149205207825, -0.3925357758998871, -0.46245265007019043, 0.6560953855514526, -1.0275282859802246, -0.5444859862327576, -0.014666738919913769, -0.23011192679405212, -0.23336610198020935, 0.30467689037323, 0.8139783143997192, 0.24764756858348846, -0.30042320489883423, 0.2318628877401352, 0.8496768474578857, 0.14522479474544525, 0.38505977392196655, 0.46456366777420044, 0.014029140584170818, -0.26203832030296326, 0.9735684394836426, 0.2778039872646332, 0.5626809597015381, 0.12786084413528442, -0.04071997478604317, 0.1381637156009674, -0.5250027179718018, -0.0414583757519722, -0.20664402842521667, -0.3393280506134033, -0.48815664649009705, -0.3773270845413208, -0.30480533838272095, -0.14208242297172546, -0.18679386377334595, -0.7513571977615356, -0.2351977676153183, -0.36000561714172363, -0.21517054736614227, 0.24960479140281677, 0.3198142349720001, -0.21962088346481323, 0.40333980321884155, -0.9165002703666687, 0.4925699830055237, 0.3812868893146515, 0.3369632363319397, 0.204239621758461, -0.2646705210208893, -0.1826096922159195, 0.33868730068206787, -0.23130856454372406, -0.5407676696777344, 0.2987942695617676, 0.24478454887866974, 0.12062465399503708, 0.9444512128829956, 0.2007753700017929, 0.861771285533905, -0.6867372393608093, 0.50783771276474, 0.34198877215385437, -0.7407568097114563, 0.6936813592910767, -0.41711074113845825, 0.2656782269477844, 0.9236333966255188, 0.37605252861976624, -0.1906179040670395, -0.03267268091440201, -0.46153149008750916, -0.8001806139945984, 0.4801194667816162, 0.05800362303853035, 0.050063300877809525, 0.19022032618522644, 0.4806586503982544, 0.22330822050571442, 0.20390506088733673, -0.4695630669593811, -0.32754993438720703, -0.25695985555648804, -0.3022350072860718, -0.28837424516677856, -0.1397067904472351, -0.6668312549591064, -0.4547789990901947, 0.38675573468208313, -0.13907259702682495, 0.04966374486684799, -0.09178737550973892, -0.1963195651769638, -0.3325332999229431, -0.016455361619591713, 0.281281977891922, 0.3101119101047516, -0.21006621420383453, 0.4426960349082947, -0.13516807556152344, -0.5692633390426636, 0.27270573377609253, 0.22804920375347137, -0.36965256929397583, -0.7366756796836853, 0.1944647878408432, 0.6223911046981812, 0.44286343455314636, -0.3041357100009918, 0.36549636721611023, 0.003927558660507202, -0.17690511047840118, -0.3657005727291107, 0.2054777592420578, -0.24946202337741852, 0.047233354300260544, 0.33067774772644043, 0.6840993762016296, -0.1656506210565567, -0.2064538449048996, 0.07588577270507812, 0.8165690302848816, -0.45719262957572937, -0.5790128111839294, 0.984123170375824, 0.0718795657157898, 0.05898147076368332, 0.5283419489860535, 0.23915345966815948, -0.044211246073246, 0.5394057631492615, 0.47292453050613403, 0.9601474404335022, -0.38697779178619385, 0.06848212331533432, 0.28766676783561707, 0.2783965766429901, -0.15111178159713745, 0.1682421714067459, -0.042713653296232224, -0.8251270651817322, -0.1398947685956955, -0.6899999380111694, 0.38166818022727966, -0.1165216714143753, -1.042788028717041, 0.14278116822242737, -0.680767297744751, -0.3968280553817749, 0.22187906503677368, -0.06390682607889175, -0.58877032995224, 0.06123088672757149, 0.025236740708351135, 0.7370397448539734, -0.8124131560325623, 0.8695333003997803, 0.22417052090168, -0.45649513602256775, -0.7199873328208923, -0.0081006595864892, 0.10643398761749268, -0.722012460231781, 0.7388699650764465, -0.07958916574716568, -0.34667539596557617, 0.47596704959869385, -0.9373483061790466, -1.3089457750320435, 1.1281780004501343, 0.8519112467765808, -0.5714247822761536, -0.3256000876426697, -0.13107508420944214, 0.43391555547714233, 0.2613479495048523, -0.3324436843395233, 0.5380028486251831, 0.3190311789512634, -0.11060015112161636, -0.7102894186973572, -0.029174860566854477, -0.11894766241312027, 0.018412884324789047, 0.4876965284347534, -0.5762558579444885, 1.0488909482955933, -0.15419065952301025, -0.4690483510494232, 0.3972569704055786, 0.5128958821296692, -0.009811455383896828, -0.27005505561828613, 0.7738111615180969, 1.0064923763275146, 1.0624488592147827, -0.15420953929424286, 1.0274722576141357, -0.4272727370262146, 0.3234338164329529, 0.9032515287399292, -0.2025534212589264, 0.7380262613296509, 0.19408637285232544, -0.2519468367099762, 0.2990114390850067, 0.6006470322608948, -0.04766058549284935, 0.9046231508255005, 0.24319319427013397, -0.19331610202789307, -0.46907851099967957, 0.038133855909109116, -0.693264901638031, 0.724438488483429, 0.2000695914030075, -0.31888917088508606, -0.31389668583869934, 0.1322580724954605, -0.08323120325803757, -0.23101095855236053, -0.83662348985672, 0.8919206857681274, 0.15910331904888153, -0.3980850875377655, 0.9871522784233093, -0.057227279990911484, 0.6069086194038391, -0.7418237924575806, 0.14397922158241272, 0.06550014764070511, 0.3317163586616516, -0.366299569606781, 0.06620785593986511, 0.17537853121757507, -0.15259018540382385, -0.3175165057182312, -0.08170908689498901, 0.8692184686660767, -0.3307592570781708, -0.4578719437122345, -0.009818246588110924, 0.2556065618991852, -0.28411343693733215, 0.02417510561645031, -0.1969965547323227, -0.019715894013643265, -0.1346723735332489, 0.003493069438263774, 0.6971710920333862, -0.0184063408523798, 0.12614518404006958, 0.6983447074890137, 0.5652109980583191, -0.0677114725112915, -0.004731035325676203, 0.2182105928659439, 0.8612795472145081, -0.45716798305511475, -0.5956629514694214, -0.821595311164856, 0.46395495533943176, 0.06031721085309982, -0.19575367867946625, 0.7993929386138916, 0.34425196051597595, 0.6892336010932922, -0.10554524511098862, 0.48459839820861816, 0.24505506455898285, 0.3408796787261963, -0.6776368618011475, 1.1519683599472046, -0.45468494296073914, 0.13433530926704407, -0.5340726971626282, -0.7162500619888306, -0.20001919567584991, 0.44096213579177856, -0.16338594257831573, 0.20642778277397156, 0.1291215568780899, 0.702582061290741, -0.10804880410432816, 0.11278689652681351, 0.23868966102600098, 0.5131815671920776, 0.12322473526000977, 0.34393027424812317, 0.6734440326690674, -0.20884358882904053, 0.17720690369606018, -0.10369369387626648, -0.21003802120685577, 0.043251633644104004, -0.6634659171104431, -0.6315187215805054, -0.6398327350616455, -0.12338627874851227, -0.4819643199443817, -0.0774780735373497, 0.7531424164772034, 0.9110763669013977, -0.6711373925209045, 0.32416030764579773, -0.22917066514492035, -0.09810420125722885, -0.3809534013271332, -0.15270471572875977, 0.44902539253234863, -0.19941718876361847, -0.7321791648864746, 0.19433683156967163, 0.011592847295105457, 0.30632317066192627, -0.42749151587486267, 0.2406465858221054, 0.15214358270168304, -0.15010866522789001, 0.4311782717704773, 0.42522919178009033, -0.4451349675655365, -0.49477052688598633, -0.6278240084648132, -0.049325305968523026, -0.0576309934258461, 0.8202772736549377, -0.9343360066413879, 0.16979582607746124, 0.2000904381275177, 0.5692446231842041, 0.5409049391746521, 0.31518176198005676, 0.6342189311981201, -1.0234565734863281, 0.18113884329795837, 0.1461591124534607, 0.26971808075904846, 0.07911226153373718, -0.2761274576187134, 0.36366599798202515, -0.005308749154210091, -0.30250024795532227, -1.0334233045578003, 0.6208715438842773, -0.9011480808258057, -0.387204647064209, 0.5398677587509155, -0.13421641290187836, 0.01724698767066002, 0.06711480766534805, -0.15052035450935364, 0.3172879219055176, 0.21761752665042877, 1.0340646505355835, 0.16667959094047546, 0.2533356249332428, -0.06364452093839645, -0.11253734678030014, 0.8650719523429871, 0.3340655565261841, -0.8722187876701355, 0.22777123749256134, 0.450069785118103, 0.3301929235458374, 0.27313822507858276, 0.3823811411857605, -0.44088509678840637, 0.02093183994293213, 0.0688139870762825, -0.16216358542442322, -0.06502046436071396, -0.32763737440109253, -0.3936423659324646, 0.589846134185791, 0.16303366422653198, -0.19227026402950287 ]
http://arxiv.org/abs/2402.10207v5
http://arxiv.org/pdf/2402.10207v5
Rewards-in-Context: Multi-objective Alignment of Foundation Models with Dynamic Preference Adjustment
2024-02-15T18:58:31
2024-06-05T09:25:41
Rui Yang, Xiaoman Pan, Feng Luo, Shuang Qiu, Han Zhong, Dong Yu, Jianshu Chen
cs.LG
cs.LG, cs.AI, cs.CL
We consider the problem of multi-objective alignment of foundation models with human preferences, which is a critical step towards helpful and harmless AI systems. However, it is generally costly and unstable to fine-tune large foundation models using reinforcement learning (RL), and the multi-dimensionality, heterogeneity, and conflicting nature of human preferences further complicate the alignment process. In this paper, we introduce Rewards-in-Context (RiC), which conditions the response of a foundation model on multiple rewards in its prompt context and applies supervised fine-tuning for alignment. The salient features of RiC are simplicity and adaptivity, as it only requires supervised fine-tuning of a single foundation model and supports dynamic adjustment for user preferences during inference time. Inspired by the analytical solution of an abstracted convex optimization problem, our dynamic inference-time adjustment method approaches the Pareto-optimal solution for multiple objectives. Empirical evidence demonstrates the efficacy of our method in aligning both Large Language Models (LLMs) and diffusion models to accommodate diverse rewards with only around 10% GPU hours compared with multi-objective RL baseline.
[ -0.43259990215301514, -0.569340705871582, 0.4329865574836731, 0.38184434175491333, -0.047684814780950546, 0.056379783898591995, -0.5039105415344238, -0.2500005066394806, -0.019084306433796883, 0.18378347158432007, -0.8158707618713379, -0.22325368225574493, -0.6447699069976807, -0.021665140986442566, 0.13676977157592773, 1.2246400117874146, -0.13601267337799072, -0.18955481052398682, -0.3009754717350006, -0.3485782742500305, -0.670052170753479, -0.023518895730376244, -0.6816409230232239, -0.3030090928077698, 0.7485101222991943, 0.790812075138092, 0.45853349566459656, 0.6480889320373535, 0.4702150523662567, 0.2875630557537079, -0.024982869625091553, 0.2405603677034378, -0.5893059968948364, 0.25799715518951416, -0.32752102613449097, -0.20372098684310913, -0.24685770273208618, 0.08553893864154816, 0.557029128074646, 0.4299791157245636, -0.3106619417667389, 0.0625893846154213, 0.39338618516921997, 0.7254543304443359, -1.0386096239089966, -0.014327071607112885, -0.47005483508110046, 0.0879681333899498, 0.08343266695737839, -0.3791539967060089, -0.30961084365844727, -0.25323131680488586, 0.15299177169799805, -0.8197764754295349, -0.182747483253479, -0.26584336161613464, 0.8899039626121521, 0.8964095711708069, -0.5616827011108398, -0.3541712462902069, -0.5160019397735596, 1.115997076034546, -0.2736790180206299, 0.1069430485367775, 0.06913314759731293, 0.5652751922607422, -0.022274456918239594, -0.3176816701889038, -0.11342480778694153, -0.14432044327259064, -0.2151602953672409, 0.10506867617368698, 0.29749760031700134, -0.03305792808532715, 0.1668502241373062, 0.08845724910497665, -0.19453312456607819, 0.2023366242647171, 0.12483121454715729, 0.14771221578121185, 0.5103706121444702, 0.2920211851596832, 0.06158548593521118, 0.16370058059692383, -0.7116369605064392, -0.29076701402664185, -0.6263037323951721, 0.6532387733459473, 0.21251024305820465, 0.5840057730674744, -0.2668069303035736, 0.5070109963417053, -0.5185689926147461, 1.021799087524414, 0.44104573130607605, -0.3897646963596344, 0.09397818893194199, -0.3619718849658966, -0.07819043844938278, 0.37720218300819397, 0.5113807916641235, 0.4094010293483734, 0.05698679760098457, -0.058749567717313766, -0.30547887086868286, 0.3052060902118683, 0.35329949855804443, -0.865557074546814, 0.08080578595399857, 0.24962204694747925, -0.3347051739692688, -0.5186827778816223, -0.10074333101511002, -0.6927877068519592, -0.512946367263794, -0.5829590559005737, 0.366048663854599, -0.10673714429140091, -0.0077407630160450935, 0.32126253843307495, -0.12177209556102753, 0.1255442351102829, 0.5032845735549927, -1.0247679948806763, -0.018957581371068954, 0.6460093259811401, 0.6790683269500732, -0.2909556031227112, -0.4842943251132965, -0.9617051482200623, 0.4535498023033142, 0.05465451255440712, 0.7879173755645752, -0.8323889374732971, -0.2706512212753296, -0.13251721858978271, -0.1873091608285904, -0.051618993282318115, -0.26927655935287476, 0.5124848484992981, -0.2245214879512787, 0.20588067173957825, -0.5604977011680603, -0.42684781551361084, 0.2116907387971878, 0.6232563853263855, -0.3872871994972229, 0.8343757390975952, -0.008922066539525986, -0.5847158432006836, 0.6996768116950989, -1.0627871751785278, -0.4946553409099579, -0.23809537291526794, -0.1754816621541977, -0.2777993083000183, 0.1105499118566513, 0.27577441930770874, 0.44669029116630554, -0.13143572211265564, 0.8035306334495544, -0.39651790261268616, -0.5050963163375854, 0.23726315796375275, -0.2998698353767395, 0.692262589931488, 0.18269599974155426, -0.7113168239593506, 0.5262827277183533, -0.668851912021637, -0.2465927004814148, -0.14706334471702576, -0.5800111889839172, -0.3589220941066742, 0.41244226694107056, -0.16540823876857758, 0.20977286994457245, 0.47858983278274536, -0.4379705488681793, 0.5422661900520325, -0.03547133877873421, 0.36019253730773926, 1.0377458333969116, -0.31750425696372986, 0.6297203898429871, -0.24191656708717346, 0.509202778339386, -0.12529653310775757, 0.2411399632692337, 0.15542805194854736, -0.11265742778778076, -0.4313585162162781, -0.5577376484870911, 0.32609331607818604, 0.3886376917362213, -0.28706830739974976, 0.30148884654045105, -0.32148483395576477, -0.12352631986141205, -0.3713745176792145, -0.17310453951358795, 0.32660844922065735, 0.6364444494247437, 0.4486757516860962, -0.10314647853374481, -0.11833033710718155, -0.9029173254966736, -0.3244268298149109, 0.13196280598640442, 0.14558033645153046, 0.8298287391662598, 0.2660224139690399, -0.2470536082983017, 1.024349570274353, -0.536697268486023, -0.3599785268306732, 0.1793619692325592, 0.28599536418914795, 0.10956865549087524, 0.6330322027206421, 0.8032937049865723, -1.082947850227356, -0.5809162855148315, 0.0024033263325691223, -0.6152238845825195, -0.21223978698253632, -0.20152416825294495, -0.31874537467956543, -0.20370641350746155, 0.24120554327964783, -0.2680245041847229, 0.15141403675079346, 0.5209738612174988, -0.4053380787372589, 0.42341336607933044, -0.021655241027474403, 0.33299580216407776, -0.8487712144851685, 0.1217866763472557, 0.011161268688738346, -0.09134358167648315, -0.1950579583644867, 0.0025098647456616163, 0.09844470769166946, -0.014005661010742188, -0.30497923493385315, 0.8836690783500671, -0.27070993185043335, -0.11324191838502884, -0.3818683624267578, 0.02621658332645893, 0.04106317460536957, 0.5602545738220215, 0.2637799084186554, 0.7344837188720703, 0.5868746638298035, -0.8459144234657288, 0.3358229994773865, 0.3049983084201813, -0.3997081518173218, 1.1037834882736206, -0.4859897494316101, -0.2554885149002075, -0.03448287397623062, 0.4267047941684723, -0.7507950663566589, -0.4323924779891968, 0.3197496235370636, -0.2733880579471588, 0.21701186895370483, -0.06351464241743088, 0.1562700867652893, 0.20745788514614105, -0.3131372928619385, 0.6279420256614685, -0.03162100538611412, -0.8984984755516052, 0.6596090197563171, 0.24325205385684967, -0.02843737043440342, -1.3039600849151611, -0.4023668169975281, -0.07561703771352768, -0.5116128921508789, -0.32958248257637024, 0.8635448217391968, -0.35286349058151245, -0.11952240020036697, 0.2997492849826813, -0.10997278243303299, 0.2393997311592102, 0.5475730299949646, 0.27256470918655396, -0.07413002848625183, -0.1268964409828186, -0.07855301350355148, 0.4111592471599579, -0.3125620484352112, -0.25323766469955444, -0.21594712138175964, 0.23311957716941833, -0.16034775972366333, -0.30869609117507935, -0.37753939628601074, 0.27414193749427795, 0.5583364963531494, -0.34867432713508606, 0.7739502787590027, 0.5369520783424377, -0.4114934504032135, 0.034144699573516846, -0.41354021430015564, -0.22181470692157745, -0.454446941614151, 0.2541264295578003, -0.6506059765815735, -1.003137469291687, 0.3807528614997864, -0.048540085554122925, 0.19714422523975372, 0.21899749338626862, 0.6783705949783325, 0.011612941510975361, 1.1940292119979858, 0.6346947550773621, -0.19683171808719635, 0.8512366414070129, 0.010570479556918144, 0.04295451566576958, -0.9201257824897766, -0.372016966342926, -0.6722709536552429, -0.8173183798789978, -0.38268211483955383, 0.271062970161438, 0.4090316593647003, 0.18541319668293, -0.5833517909049988, 0.06605082005262375, -0.5813812017440796, 0.49635154008865356, 0.5348625183105469, 0.1621050089597702, 0.015508905053138733, -0.19727705419063568, 0.027931900694966316, 0.22042088210582733, -0.6329865455627441, -0.2843989133834839, 0.7613573670387268, -0.019842738285660744, 0.75482177734375, 0.34576156735420227, 0.5792914032936096, 0.23549607396125793, 0.4991573691368103, -0.6003896594047546, 0.1178756058216095, -0.10740122199058533, -0.6586512327194214, -0.5124873518943787, -0.3761196434497833, -0.804166316986084, 0.23610283434391022, -0.5076335072517395, -0.7821494936943054, 0.4998345375061035, 0.4460219442844391, -0.7254458665847778, -0.023292602971196175, -0.44723671674728394, 1.2593586444854736, -0.5848727822303772, -0.7104516625404358, -0.3641842007637024, -0.6890687942504883, 0.3910217881202698, 0.1673348844051361, 0.0975179374217987, -0.38573402166366577, 0.0678008496761322, 0.28937846422195435, -0.08131559193134308, 0.6796883940696716, -0.4544622004032135, 0.10753193497657776, -0.31914106011390686, -0.07872142642736435, 0.5883158445358276, 0.39072492718696594, -0.1172802746295929, -0.33885622024536133, -0.10758763551712036, -0.6035780906677246, -0.5959069728851318, 0.9431318044662476, -0.6970769762992859, -0.42057064175605774, -0.47615325450897217, -0.7652615308761597, -0.23684044182300568, 0.10210030525922775, 0.014608790166676044, 0.47736290097236633, -0.3682926893234253, 0.4643056392669678, 0.4556484818458557, -0.3874572515487671, 0.31050631403923035, 0.4708022475242615, 0.12971144914627075, -0.21662886440753937, 0.8704285025596619, -0.4908158779144287, 0.16083167493343353, 0.6591853499412537, 0.42920294404029846, -0.3597647547721863, -0.35157036781311035, -0.7637419700622559, -0.1301816701889038, -0.34588658809661865, -0.29278668761253357, -0.47882530093193054, 0.4228983521461487, -0.2069040834903717, -0.7586646676063538, -0.45920708775520325, -0.06495043635368347, -0.5067912340164185, 0.17861095070838928, 0.1694311499595642, 0.4411654472351074, -0.07933053374290466, 0.4879743158817291, -0.587997555732727, 0.261842280626297, 0.34221914410591125, 0.45482751727104187, -0.19411639869213104, -0.34529876708984375, -0.396640419960022, 0.26288455724716187, -0.2396426498889923, -0.5008240938186646, 0.09443462640047073, 0.19884030520915985, 0.5343775749206543, 0.5798124670982361, 0.09524595737457275, 0.8702983260154724, -0.345521479845047, 0.6060338616371155, 0.14165188372135162, -0.9218905568122864, 0.3801126480102539, -0.3353649079799652, 0.05442731827497482, 0.8335607647895813, 0.23988401889801025, -0.5415273904800415, 0.08869323879480362, -0.24555207788944244, -0.709257185459137, 0.8461884260177612, -0.24753275513648987, -0.056873392313718796, 0.1312575787305832, 0.5238345861434937, 0.07802430540323257, 0.2889748513698578, -0.763437807559967, -0.09483380615711212, -0.21285152435302734, -0.4714820384979248, -0.299398273229599, -0.23802904784679413, -0.4989650249481201, -0.10034217685461044, 0.7871629595756531, -0.4836711585521698, 0.12380357086658478, -0.2930537760257721, -0.20761339366436005, -0.12102783471345901, 0.20466351509094238, 1.034303069114685, 0.7739812135696411, -0.3585543632507324, -0.06273304671049118, -0.04658627510070801, 0.29634609818458557, 0.40388792753219604, 0.22381792962551117, 0.015658874064683914, -0.6655504107475281, 0.01596546731889248, 1.1755160093307495, 0.5810765624046326, -0.6567299365997314, 0.5788376927375793, -0.2572054862976074, -0.03160539269447327, -0.06982338428497314, 0.3549044132232666, -0.012412620708346367, 0.5048145055770874, 0.10123641788959503, 0.23367314040660858, 0.08214316517114639, -0.46287447214126587, 0.017423570156097412, 0.8800305128097534, -0.4043000042438507, -0.006751949433237314, 0.8437821269035339, 0.18963046371936798, -0.09452278167009354, 0.5458874702453613, -0.07049992680549622, -0.42679715156555176, 0.6751219630241394, 0.4053153097629547, 0.6086388826370239, -0.2196664810180664, 0.25472503900527954, 0.25832340121269226, -0.12757708132266998, -0.32521766424179077, -0.09733694791793823, -0.2288210690021515, -1.0519022941589355, -0.4504193067550659, -0.7187811732292175, -0.473481148481369, -0.159555584192276, -0.879018247127533, 0.3370828330516815, -0.15998771786689758, 0.0902387797832489, 0.11469287425279617, -0.06760867685079575, -0.47341299057006836, 0.31116634607315063, -0.09862194210290909, 0.6753600835800171, -0.9391896724700928, 0.7241958379745483, 0.7407446503639221, -0.14916767179965973, -0.5156550407409668, -0.1864265650510788, 0.04496491700410843, -0.494435578584671, 0.5544947981834412, 0.25197505950927734, -0.37809672951698303, 0.10286986082792282, -0.49247726798057556, -0.9300094246864319, 1.0735342502593994, 0.5393030643463135, -0.3914930820465088, 0.1513848900794983, -0.2810233533382416, 0.23965823650360107, -0.6526155471801758, 0.13054028153419495, 0.4579196274280548, 0.83916175365448, -0.17269854247570038, -0.44628292322158813, -0.1833667904138565, -0.10620363801717758, -0.3160169720649719, 0.39459019899368286, -0.7320424318313599, 0.657611072063446, -0.05685243755578995, 0.1078854501247406, -0.03232140839099884, 0.500390350818634, 0.4858032763004303, 0.24311549961566925, 0.7948837876319885, 0.5418728590011597, 0.741861879825592, -0.18797431886196136, 1.0966218709945679, -0.4698391854763031, 0.4703301787376404, 0.9954894185066223, -0.3580072820186615, 0.37363919615745544, 0.49647361040115356, 0.10550610721111298, 0.6032031774520874, 1.0494400262832642, 0.26638180017471313, 0.9197105169296265, -0.029901407659053802, -0.13538025319576263, -0.3857719302177429, -0.2505933344364166, -0.35526877641677856, 0.37842613458633423, 0.29388439655303955, 0.10655108094215393, -0.061706360429525375, 0.01992853730916977, -0.36786729097366333, 0.025084182620048523, -0.16285203397274017, 0.5699465870857239, -0.28960540890693665, -1.0263617038726807, 0.2964371144771576, 0.24611365795135498, 0.694861114025116, -0.5571726560592651, 0.0039510964415967464, -0.24539996683597565, 0.34974631667137146, -0.15016594529151917, -0.4128393828868866, 0.0322691835463047, -0.043748121708631516, -0.4681941270828247, -0.44413378834724426, 0.3282356858253479, -0.6414621472358704, -0.28410404920578003, 0.2960233986377716, 0.1642930656671524, -0.28683823347091675, -0.06339877098798752, -0.9080384969711304, 0.09997940808534622, -0.023861074820160866, -0.412507027387619, 0.5772919058799744, 0.2186935693025589, -0.1136765331029892, 0.5288679003715515, 0.49609026312828064, -0.2433403730392456, -0.28685256838798523, -0.135702446103096, 0.7105518579483032, -0.5303599834442139, -0.7123456597328186, -1.000383973121643, 0.751753568649292, -0.011909013614058495, -0.49151116609573364, 0.2750547528266907, 0.5729491710662842, 0.889092743396759, 0.1796666532754898, 0.6117212772369385, -0.14949896931648254, 0.19201648235321045, -0.671000599861145, 0.20334747433662415, -1.1524455547332764, 0.10825502872467041, -0.31336820125579834, -1.0104669332504272, -0.29294344782829285, 0.9001891613006592, -0.11976813524961472, -0.020182467997074127, 0.5554826855659485, 0.5846111178398132, -0.45102161169052124, -0.13110367953777313, -0.13179995119571686, -0.1196083277463913, 0.26566559076309204, 0.7225909233093262, 0.8075500130653381, 0.30519285798072815, 0.02500028721988201, -0.31076568365097046, -0.47690436244010925, -0.4838004410266876, -1.292260766029358, -0.4063534736633301, -0.40491026639938354, -0.29263362288475037, -0.26623260974884033, 0.24715271592140198, 1.0564028024673462, 0.658051073551178, -0.9783427715301514, -0.3793599605560303, 0.18466629087924957, 0.35127025842666626, -0.7412782311439514, -0.1877664476633072, 0.4302836060523987, -0.42338284850120544, -0.9925857186317444, 0.7040711045265198, 0.39597204327583313, -0.36895132064819336, -0.05537853017449379, -0.45648589730262756, -0.212161585688591, -0.16378691792488098, 0.341715008020401, 0.2640264630317688, -0.6827981472015381, -0.5247026681900024, -0.018387358635663986, -0.19751320779323578, 0.23097319900989532, 0.9539082050323486, -0.6631841063499451, 0.36534297466278076, 0.2652464210987091, 1.00679349899292, 0.5985936522483826, 0.5219147801399231, 0.5260388255119324, -0.6779872179031372, 0.20851808786392212, -0.1524951457977295, 0.37825432419776917, 0.2169477343559265, -0.5536695122718811, 0.44102275371551514, 0.0790993943810463, -0.5933272838592529, -0.9577711820602417, 0.40659868717193604, -0.9299212694168091, -0.48222294449806213, 1.0173275470733643, -0.08634904772043228, 0.040743645280599594, 0.23846419155597687, -0.04143903777003288, 0.32232242822647095, -0.5333161950111389, 0.9237352609634399, 0.7649442553520203, -0.2991175353527069, 0.031870532780885696, -0.16440434753894806, 0.6472594738006592, 0.6447973251342773, -0.7107080221176147, -0.05415456369519234, 0.7516351938247681, 0.18313409388065338, -0.06118518486618996, 0.4625597298145294, 0.2750542163848877, 0.22986766695976257, -0.5113680958747864, 0.16715680062770844, -0.13720041513442993, -0.7886126041412354, -0.5307503938674927, 0.23319153487682343, 0.0936688706278801, -0.25627419352531433 ]
http://arxiv.org/abs/2402.10260v1
http://arxiv.org/pdf/2402.10260v1
A StrongREJECT for Empty Jailbreaks
2024-02-15T18:58:09
2024-02-15T18:58:09
Alexandra Souly, Qingyuan Lu, Dillon Bowen, Tu Trinh, Elvis Hsieh, Sana Pandey, Pieter Abbeel, Justin Svegliato, Scott Emmons, Olivia Watkins, Sam Toyer
cs.LG
cs.LG, cs.CL, cs.CR
The rise of large language models (LLMs) has drawn attention to the existence of "jailbreaks" that allow the models to be used maliciously. However, there is no standard benchmark for measuring the severity of a jailbreak, leaving authors of jailbreak papers to create their own. We show that these benchmarks often include vague or unanswerable questions and use grading criteria that are biased towards overestimating the misuse potential of low-quality model responses. Some jailbreak techniques make the problem worse by decreasing the quality of model responses even on benign questions: we show that several jailbreaking techniques substantially reduce the zero-shot performance of GPT-4 on MMLU. Jailbreaks can also make it harder to elicit harmful responses from an "uncensored" open-source model. We present a new benchmark, StrongREJECT, which better discriminates between effective and ineffective jailbreaks by using a higher-quality question set and a more accurate response grading algorithm. We show that our new grading scheme better accords with human judgment of response quality and overall jailbreak effectiveness, especially on the sort of low-quality responses that contribute the most to over-estimation of jailbreak performance on existing benchmarks. We release our code and data at https://github.com/alexandrasouly/strongreject.
[ -0.30641546845436096, -0.6785427927970886, 0.582643985748291, -0.09578204154968262, -0.258381187915802, 0.03026912547647953, -0.208261638879776, -0.6100319027900696, 0.07078726589679718, 0.7039668560028076, -0.013724750839173794, -0.46322453022003174, -0.5560200214385986, -0.05960735306143761, -0.6197798252105713, 1.1793975830078125, -0.06430146098136902, -0.0335267037153244, -0.15602411329746246, -0.42400452494621277, -0.4538574814796448, -0.5801447629928589, 0.0912892147898674, -0.33121317625045776, 0.4372846484184265, 0.4641943871974945, 0.661601185798645, 0.47138673067092896, 0.7642623782157898, 0.2483900934457779, -0.20702692866325378, -0.060437362641096115, -0.431319922208786, -0.07719209790229797, -0.24824343621730804, -0.27145013213157654, -0.3019767105579376, 0.19906897842884064, 0.13308309018611908, 0.4282912015914917, -0.24172794818878174, 0.3375045955181122, -0.11250803619623184, 0.6532503366470337, -0.980709969997406, -0.3958248794078827, -0.6202853322029114, -0.07529979944229126, -0.3054702877998352, 0.2857549488544464, -0.4100322127342224, -0.33988457918167114, -0.3880521059036255, -0.2679624557495117, 0.14089541137218475, -0.10755409300327301, 0.9026761054992676, 0.07676875591278076, -0.3155413866043091, -0.17247004806995392, -0.5799340009689331, 0.7757529020309448, -0.9911389946937561, 0.1040075272321701, 0.5261284708976746, 0.35650527477264404, -0.18994230031967163, -0.5184481739997864, -0.13451014459133148, -0.45575377345085144, 0.16123120486736298, -0.029952596873044968, -0.2371443659067154, 0.09893534332513809, 0.36619970202445984, 0.543293833732605, -0.3579414486885071, 0.2618277668952942, -0.7529873847961426, -0.25414416193962097, 0.6816591620445251, 0.18093959987163544, 0.13098855316638947, -0.3547913730144501, -0.26067981123924255, 0.2362024039030075, -1.0452871322631836, -0.03486161306500435, 0.9407457709312439, 0.4185176491737366, -0.11588099598884583, 0.881449818611145, -0.08072805404663086, 0.7266926169395447, -0.12783603370189667, -0.06466890126466751, 0.42822861671447754, -0.31663790345191956, -0.09527447074651718, -0.15595272183418274, 0.8001308441162109, 0.4827173948287964, 0.3066283166408539, -0.2870486080646515, -0.20682945847511292, 0.0022928104735910892, 0.418447881937027, -1.0669078826904297, -0.25077930092811584, 0.3598555028438568, -0.36405259370803833, -0.47936707735061646, 0.17181384563446045, -0.5781986117362976, -0.7738938927650452, 0.32437989115715027, 0.41495436429977417, -0.2568528652191162, -0.1498776227235794, 0.12221262603998184, -0.1659146100282669, 0.09861844033002853, 0.34087836742401123, -0.6446242928504944, 0.36456766724586487, 0.5380483865737915, 0.9185171127319336, -0.05520956218242645, -0.09658157080411911, -0.6699352264404297, -0.06498570740222931, -0.3020366132259369, 0.7497290372848511, -0.3480108678340912, -0.2948981523513794, -0.20386570692062378, -0.1519201546907425, 0.36577147245407104, -0.9437946677207947, 0.592667281627655, -0.2501566708087921, -0.035333052277565, -0.030135927721858025, -0.6016750335693359, -0.029575545340776443, 0.23719549179077148, -0.503996729850769, 0.7351294755935669, 0.31872230768203735, -0.7517649531364441, 0.39557725191116333, -0.34030577540397644, -0.4685707688331604, -0.05135522410273552, 0.0835694670677185, -0.5399311780929565, 0.31429821252822876, 0.13808760046958923, 0.3748185932636261, -0.24466204643249512, 0.5323141813278198, -0.759243905544281, -0.6183804273605347, 0.24885837733745575, -0.1990652084350586, 0.5729992985725403, 0.44105419516563416, -0.29832926392555237, -0.04702092707157135, -0.8047084808349609, 0.12296546995639801, 0.0669565424323082, -0.4266977608203888, -0.49180519580841064, 0.13926216959953308, -0.1614178717136383, 0.13264833390712738, 0.14038200676441193, -0.9670059680938721, 0.2583639919757843, -0.5244207978248596, 0.6119837164878845, 0.8888124227523804, -0.08115816861391068, 0.29301607608795166, -0.20556552708148956, 0.26431646943092346, 0.13117901980876923, 0.23823243379592896, 0.008623599074780941, -0.4374224841594696, -0.419503390789032, -0.1637044996023178, 0.11327964812517166, 0.41872307658195496, -0.24535852670669556, 0.11019564419984818, 0.016175804659724236, -0.6840784549713135, -0.7410545945167542, 0.6763290166854858, 0.650405764579773, 0.504535973072052, 0.6221153140068054, -0.4151676297187805, -0.46629276871681213, -0.9925277233123779, -0.6046438217163086, -0.47740939259529114, -0.06484568119049072, 0.3951985538005829, 0.5215457081794739, 0.0413026437163353, 0.5151597261428833, -0.39072084426879883, -0.22001773118972778, -0.38768473267555237, 0.2549416720867157, 0.42057833075523376, 0.35298752784729004, 0.562223494052887, -0.39632150530815125, -0.025734039023518562, -0.37924179434776306, -0.8401777148246765, -0.29785048961639404, 0.3538537919521332, 0.3588099777698517, -0.11216511577367783, 0.3839010000228882, -0.5679111480712891, 0.19540025293827057, 0.5144052505493164, -0.606839656829834, 0.726402223110199, -0.05865904688835144, 0.12861640751361847, -0.7458095550537109, 0.13412657380104065, 0.10698960721492767, -0.1428007185459137, -0.6087160110473633, 0.553712010383606, 0.27734270691871643, -0.10118965059518814, -0.8628237247467041, 0.6461913585662842, -0.2738729417324066, -0.1392006129026413, -0.22908447682857513, 0.1224401518702507, 0.02258969098329544, 0.08880643546581268, -0.4368162155151367, 0.8497491478919983, 0.09032166004180908, -0.12433426082134247, 0.3378300368785858, 0.1658947914838791, -0.6214452981948853, 0.26206132769584656, -0.8330588340759277, 0.08108799904584885, -0.03408869728446007, -0.21036498248577118, -0.8759626746177673, -0.2367832213640213, -0.0215951818972826, -0.3540574312210083, 0.09394756704568863, -0.5304922461509705, -0.4444005489349365, -0.69410240650177, -0.49196234345436096, 0.3020426034927368, 0.49056383967399597, -0.4204234480857849, -0.058294061571359634, 0.23782511055469513, 0.1775643527507782, -0.6355800628662109, -0.830752432346344, 0.10112055391073227, -0.37435242533683777, -0.5191054940223694, 0.11376875638961792, -0.11489742249250412, -0.4360199570655823, -0.006129855755716562, -0.1772509068250656, -0.12857702374458313, 0.29052403569221497, 0.4942421019077301, 0.29294121265411377, -0.2579375207424164, -0.2445387989282608, -0.27414482831954956, 0.08696582168340683, 0.07607156038284302, 0.23585748672485352, 0.26835519075393677, -0.18509653210639954, -0.36529770493507385, -0.092368945479393, 0.08637923002243042, 0.8679357767105103, -0.2726970911026001, 0.5132854580879211, 0.10563844442367554, -0.06717469543218613, -0.04090869426727295, -0.7262573838233948, -0.04981504753232002, -0.5144228339195251, 0.2540140450000763, -0.3369719088077545, -1.158735752105713, 0.5729508399963379, 0.14596912264823914, -0.03636515513062477, 0.04040687903761864, 0.4458807408809662, 0.08285067230463028, 0.9700329899787903, 0.48636293411254883, -0.3985423147678375, 0.3411046862602234, 0.01890680380165577, 0.19733327627182007, -0.8419358730316162, -0.05794971436262131, -0.6553377509117126, -0.23243191838264465, -0.4753279685974121, -0.1908695250749588, -0.12798619270324707, 0.5072637796401978, -0.6333051919937134, 0.6449503898620605, -0.47060492634773254, 0.5994072556495667, 0.2984798550605774, 0.15579430758953094, 0.41057202219963074, -0.23700648546218872, -0.04733585566282272, -0.07289408147335052, -0.17778606712818146, -0.5236336588859558, 1.3596361875534058, 0.3774554133415222, 1.0787626504898071, 0.22521813213825226, 0.8698543906211853, 0.37048327922821045, 0.6970142126083374, -0.7392012476921082, 0.5141685605049133, -0.23610562086105347, -0.9229979515075684, 0.03597048297524452, -0.7597391605377197, -0.6396259665489197, 0.12496063113212585, 0.12943565845489502, -1.0647412538528442, -0.040446024388074875, 0.10063757002353668, -0.38663795590400696, 0.4252251982688904, -0.9067480564117432, 1.0719431638717651, -0.27239349484443665, -0.6467238664627075, 0.0046983943320810795, -0.3614191710948944, 0.8220331072807312, -0.16459456086158752, 0.3514745533466339, -0.69755619764328, 0.19391730427742004, 0.5974587798118591, -0.7963482141494751, 0.6033912301063538, -0.6344807147979736, -0.1207893118262291, 0.5129417777061462, 0.3092445731163025, 0.5383241176605225, 0.2021821141242981, -0.3234153687953949, 0.11387882381677628, -0.20310400426387787, -0.3580950200557709, -0.5629713535308838, 0.7594693899154663, -0.8756750822067261, -0.6385248303413391, -0.1439637690782547, -0.3359452784061432, -0.25397947430610657, 0.22419078648090363, 0.2367151528596878, 0.27885809540748596, -0.04699508845806122, -0.002199874259531498, 0.15500526130199432, -0.48479437828063965, 0.251609206199646, 0.8807783126831055, -0.24939654767513275, -0.4000357985496521, 0.6643757224082947, 0.17264620959758759, 0.3488975167274475, -0.12017828971147537, 0.19207832217216492, -0.057893190532922745, -0.9575315713882446, -0.41595780849456787, 0.24339522421360016, -0.4830494821071625, -0.603195071220398, -0.2660287320613861, -0.21670539677143097, -0.3018456995487213, -0.14417828619480133, -0.6367753744125366, -0.35449719429016113, 0.01429393608123064, -0.2893241047859192, 0.359792560338974, 0.6184772849082947, -0.12555813789367676, 0.17987850308418274, -0.6640307903289795, 0.5769803524017334, 0.09821422398090363, 0.5251336097717285, -0.28203144669532776, -1.0149863958358765, -0.24106545746326447, -0.12651656568050385, -0.5127902030944824, -0.7581185698509216, 0.24895384907722473, 0.017718272283673286, 0.38972926139831543, 0.4157896637916565, 0.26099565625190735, 0.9228792190551758, -0.48909273743629456, 0.7355571389198303, 0.3671150505542755, -0.8699022531509399, 0.8117799758911133, -0.38601285219192505, 0.2528221011161804, 0.870236337184906, 0.12831270694732666, -0.2644169330596924, -1.0395408868789673, -0.37680572271347046, -1.0545400381088257, 0.42512738704681396, 0.11937572062015533, 0.4347243309020996, -0.22818687558174133, 0.4442325830459595, 0.012769756838679314, 0.3079580068588257, -0.8557594418525696, -0.1286039501428604, -0.34354323148727417, 0.06751232594251633, -0.22128364443778992, -0.2691403925418854, -0.0018223545048385859, -0.34286391735076904, 0.4397411048412323, 0.11265365779399872, 0.17585088312625885, -0.04227367043495178, -0.17575907707214355, -0.2625909447669983, 0.5522469282150269, 0.4774602949619293, 0.46886324882507324, -0.7025728225708008, 0.2206445038318634, -0.07831002026796341, -0.5536468029022217, 0.6385180354118347, 0.042808886617422104, -0.17599020898342133, -0.2154371589422226, 0.27887725830078125, 0.4540213346481323, 0.05552445352077484, -0.9789457321166992, 0.9320493340492249, 0.01199394091963768, -0.20134246349334717, -0.00504866149276495, 0.38535165786743164, -0.16361689567565918, 0.1724281907081604, 0.2629975378513336, 0.039069484919309616, 0.1590760499238968, -0.7024095058441162, 0.3410724103450775, 0.3169272243976593, -0.5078365802764893, -0.3383295238018036, 0.9003485441207886, 0.16402079164981842, -0.04418976232409477, 0.8457754850387573, -0.2035086452960968, -0.13570179045200348, 0.5280875563621521, 0.6029223799705505, 0.7924694418907166, -0.21530988812446594, 0.2884442210197449, 0.446431428194046, 0.49588897824287415, -0.2574484348297119, 0.22186720371246338, 0.14089816808700562, -0.8116511702537537, -0.6064973473548889, -0.6695133447647095, -0.3737504184246063, 0.549901008605957, -0.6834656596183777, 0.19910573959350586, -0.7970518469810486, -0.24830710887908936, -0.0188905019313097, -0.12002985924482346, -0.29292285442352295, 0.09237778186798096, 0.04904735088348389, 1.008506178855896, -0.8267942070960999, 0.755815327167511, 0.523296058177948, -0.5714423060417175, -0.6673790812492371, -0.40785685181617737, 0.13577701151371002, -0.630876898765564, 0.5508452653884888, 0.4851686656475067, 0.20453546941280365, -0.30348876118659973, -0.678260087966919, -0.7371748089790344, 0.5476109981536865, 0.7181366086006165, -0.5972265601158142, 0.025660967454314232, 0.05728347226977348, 0.41393473744392395, 0.19132335484027863, 0.26670175790786743, 0.47991514205932617, 0.4724074900150299, -0.295647531747818, -0.85560542345047, 0.17393368482589722, -0.44287019968032837, -0.41799694299697876, 0.6668627858161926, -0.5872902274131775, 0.7294976711273193, -0.5985890030860901, -0.00991656444966793, 0.5987960696220398, 0.28829604387283325, 0.1698017716407776, 0.2251424342393875, 0.04130135476589203, 1.0021735429763794, 0.42011067271232605, -0.28645336627960205, 0.9684171676635742, -0.11341358721256256, 0.378030002117157, 1.3208978176116943, -0.4414292275905609, 0.986878514289856, 0.5792508721351624, -0.18537530303001404, 0.36325204372406006, 0.21812117099761963, -0.5129219889640808, 0.7313368916511536, 0.6936339139938354, -0.2351837456226349, -0.14515459537506104, 0.14970791339874268, -0.2253631055355072, 0.43656304478645325, 0.14205437898635864, -0.27917301654815674, -0.46002963185310364, 0.28124678134918213, 0.12793979048728943, 0.06953499466180801, -0.35506531596183777, 0.6735436320304871, 0.21389785408973694, -0.5283743143081665, 0.67955082654953, 0.4694388508796692, 0.6934192180633545, -0.49592217803001404, 0.23818078637123108, -0.6555237174034119, 0.3058581054210663, -0.38485923409461975, -0.9471274018287659, 0.30466145277023315, 0.543154776096344, 0.0011802924564108253, 0.04831143468618393, 0.6967295408248901, 0.1400984823703766, -0.2517843544483185, 0.600486159324646, 0.5558974146842957, 0.39685314893722534, -0.15721116960048676, -0.7192730903625488, 0.05368565768003464, -0.2949020564556122, -0.4421878457069397, 0.5338906645774841, 0.18252117931842804, 0.24508428573608398, 0.7271127700805664, 0.4573504328727722, 0.25890710949897766, -0.05432187020778656, 0.09900081902742386, 0.9608057737350464, -0.7805597186088562, 0.02654223144054413, -1.0341330766677856, 0.4964570105075836, -0.020587652921676636, -0.4364204406738281, 1.0703039169311523, 0.7865297794342041, 0.765034019947052, 0.2920112609863281, 0.6825506687164307, -0.1704813838005066, 0.5013782382011414, -0.38150861859321594, 0.6163976192474365, -0.6381369233131409, 0.4671066105365753, -0.7772332429885864, -0.7433440685272217, -0.3504028022289276, 0.5387786030769348, -0.413102388381958, -0.017273198813199997, 0.38863879442214966, 0.818096399307251, -0.16051673889160156, -0.3116702437400818, 0.6015108227729797, 0.2758253514766693, 0.34703126549720764, 0.581169068813324, 1.0339299440383911, -0.5572751760482788, 0.6960604190826416, -0.2798186242580414, 0.08196953684091568, -0.07858581095933914, -0.6395873427391052, -0.9902507066726685, -0.0512080118060112, -0.190131276845932, -0.5493353605270386, 0.47032275795936584, 0.4621693789958954, 0.6278174519538879, -0.8489713072776794, -0.3686009645462036, -0.20758138597011566, 0.05180925875902176, 0.13200463354587555, -0.24189001321792603, -0.0561027005314827, -0.2715129256248474, -0.1831197291612625, 0.6096569299697876, 0.24255460500717163, 0.18282854557037354, -0.16039249300956726, -0.05617383494973183, 0.16058781743049622, -0.08158251643180847, 0.5691267251968384, 0.47569751739501953, -0.4911711812019348, -0.49179381132125854, -0.10432057827711105, -0.09612342715263367, 0.2980727255344391, 0.8665206432342529, -0.6024128794670105, 0.27762219309806824, 0.13938498497009277, 0.5087187886238098, 0.4999217689037323, 0.29968753457069397, 0.31476491689682007, -0.7814321517944336, 0.27638137340545654, 0.26259416341781616, 0.36288681626319885, 0.3238885998725891, -0.13054461777210236, 0.45484012365341187, 0.1623680144548416, -0.5334814786911011, -1.1209337711334229, 0.31471166014671326, -0.4887202978134155, -0.5297574996948242, 1.096145749092102, -0.3457334637641907, -0.21825388073921204, -0.16177567839622498, 0.13066662847995758, -0.19526149332523346, -0.573710560798645, 0.7915805578231812, 0.7273058891296387, -0.002537952736020088, -0.27134472131729126, -0.8064829111099243, 0.12235327810049057, 0.2995164394378662, -0.8805246353149414, 0.39199456572532654, 0.7508143782615662, 0.45761239528656006, 0.04457440227270126, 0.4768202304840088, -0.5510665774345398, 0.25962257385253906, -0.1170729398727417, 0.03981428220868111, -0.27364209294319153, -0.4041122496128082, -0.29556313157081604, 0.44169700145721436, 0.4495771527290344, 0.16220234334468842 ]
http://arxiv.org/abs/2402.10200v2
http://arxiv.org/pdf/2402.10200v2
Chain-of-Thought Reasoning Without Prompting
2024-02-15T18:55:41
2024-05-23T20:53:59
Xuezhi Wang, Denny Zhou
cs.CL
cs.CL
In enhancing the reasoning capabilities of large language models (LLMs), prior research primarily focuses on specific prompting techniques such as few-shot or zero-shot chain-of-thought (CoT) prompting. These methods, while effective, often involve manually intensive prompt engineering. Our study takes a novel approach by asking: Can LLMs reason effectively without prompting? Our findings reveal that, intriguingly, CoT reasoning paths can be elicited from pre-trained LLMs by simply altering the \textit{decoding} process. Rather than conventional greedy decoding, we investigate the top-$k$ alternative tokens, uncovering that CoT paths are frequently inherent in these sequences. This approach not only bypasses the confounders of prompting but also allows us to assess the LLMs' \textit{intrinsic} reasoning abilities. Moreover, we observe that the presence of a CoT in the decoding path correlates with a higher confidence in the model's decoded answer. This confidence metric effectively differentiates between CoT and non-CoT paths. Extensive empirical studies on various reasoning benchmarks show that the proposed CoT-decoding effectively elicits reasoning capabilities from language models, which were previously obscured by standard greedy decoding.
[ -0.46011021733283997, -0.8927274942398071, 1.0668612718582153, -0.01599871553480625, -0.6675823330879211, 0.2609036862850189, -0.3157978951931, -0.37276145815849304, 0.14558778703212738, 0.5903838276863098, -0.7758107781410217, -0.3026893734931946, -0.5682653188705444, 0.27964431047439575, -0.39879462122917175, 0.7599005103111267, -0.1873297393321991, 0.0031252794433385134, -0.15667836368083954, 0.23309512436389923, -0.4183278977870941, -0.5235011577606201, -0.5227561593055725, -0.29468896985054016, 0.9054403901100159, 0.3477569818496704, 0.4812464118003845, 0.46395570039749146, 0.13012279570102692, 0.15499603748321533, -0.3041039705276489, 0.5964187979698181, -0.47268202900886536, 0.197186678647995, -0.32190918922424316, -0.736453652381897, -0.39567455649375916, -0.0522962287068367, 0.43737301230430603, 0.6375874280929565, 0.13976885378360748, -0.007000702433288097, 0.07318266481161118, 0.8459929823875427, -0.9882248044013977, -0.340763658285141, -1.1286990642547607, -0.04024605453014374, -0.007760284468531609, -0.6727017760276794, -0.9010477066040039, -0.11838550865650177, -0.11919350922107697, -0.29108062386512756, -0.09874160587787628, 0.20118460059165955, 0.6080315709114075, 0.2257387489080429, -0.383992463350296, -0.49225685000419617, -0.7367224097251892, 0.6554517149925232, -0.3122715651988983, 0.367037296295166, 0.5435488224029541, 0.09611400961875916, -0.38974708318710327, -0.44623449444770813, -0.6332241296768188, -0.37750864028930664, 0.05248391255736351, 0.051385704427957535, -0.0841757208108902, 0.32035696506500244, 0.45731449127197266, 0.2144966870546341, -0.30326274037361145, -0.15027117729187012, -0.1811627745628357, -0.04019869863986969, 0.3333904445171356, -0.0026210907381027937, 0.1040738895535469, -0.023402605205774307, -0.5249404907226562, -0.11574497818946838, -0.9266219735145569, 0.0883355364203453, 0.2066120207309723, 0.1476127952337265, 0.07497192919254303, 0.6688913702964783, -0.14247651398181915, 0.7386889457702637, 0.11720847338438034, 0.2298874408006668, -0.2572667598724365, -0.3686157166957855, -0.2722712755203247, 0.16321305930614471, 0.6218161582946777, -0.025879789143800735, 0.43421077728271484, -0.28817349672317505, -0.3736706078052521, 0.18496589362621307, 0.17467395961284637, -0.3135964870452881, -0.11442920565605164, 0.3319292664527893, -0.20789718627929688, -0.2244652360677719, -0.0894593745470047, -0.47748252749443054, -0.2965700328350067, -0.1400594860315323, 0.3165493607521057, -0.42339739203453064, -0.2613474428653717, 0.24425315856933594, -0.340931236743927, 0.5459413528442383, 0.23282398283481598, -0.7190314531326294, 0.10713094472885132, 0.6321828365325928, 0.8644202947616577, 0.08222075551748276, -0.12300298362970352, -0.6441361308097839, 0.17182864248752594, -0.7908071875572205, 1.0099681615829468, -0.5789762735366821, -0.4163699746131897, -0.27941250801086426, -0.2903432846069336, 0.005353920161724091, -0.22093060612678528, 0.4360907971858978, -0.6995311379432678, -0.26616302132606506, -0.6501227021217346, -0.5019055604934692, 0.029032334685325623, 0.5575225949287415, -0.49976789951324463, 0.7386757731437683, -0.16938823461532593, -0.610874593257904, 0.3626548945903778, -0.45964640378952026, -0.3907127380371094, -0.09053383022546768, -0.3354601562023163, 0.1795111447572708, 0.2502984404563904, 0.7488760948181152, 0.1998700350522995, -0.27293670177459717, 0.3094092011451721, -0.41269779205322266, -0.4010586440563202, 0.5344426035881042, -0.895968496799469, 0.9095620512962341, 0.17794828116893768, -0.45798882842063904, -0.014363489113748074, -0.601909875869751, 0.270499050617218, 0.12972714006900787, -0.0256295595318079, -0.3704533576965332, -0.12309227138757706, -0.6552976369857788, 0.33479130268096924, 0.13822349905967712, -0.30350232124328613, 0.5154882669448853, -0.4412264823913574, 0.19839447736740112, 1.1293872594833374, 0.20226383209228516, 0.4741829037666321, -0.3674556016921997, 0.7736234664916992, -0.013605935499072075, 0.12272132188081741, -0.19052354991436005, -0.6037643551826477, -0.8998352289199829, -0.23816685378551483, 0.049685679376125336, 0.34980976581573486, -1.0480659008026123, 0.3279467523097992, 0.033842019736766815, -0.3426445722579956, -0.46675923466682434, 0.1079539805650711, 0.44829797744750977, 0.4734799265861511, 0.36738017201423645, 0.07917161285877228, -0.668244481086731, -0.23416586220264435, -0.4077705442905426, -0.2456335574388504, 0.1620466411113739, 0.23562881350517273, 0.3733147382736206, 0.080108143389225, 0.7910146117210388, -0.49405550956726074, 0.4210992753505707, -0.5243289470672607, 0.013868763111531734, 0.37477797269821167, 0.2852496802806854, 0.12176287174224854, -0.4076944589614868, -0.2463844269514084, -0.1555052250623703, -0.6814815998077393, -0.05729341879487038, -0.40512821078300476, -0.6718714833259583, 0.02320757322013378, 0.5865822434425354, -0.8894087672233582, 0.5728475451469421, 0.16856306791305542, -0.41599270701408386, 0.8112502694129944, -0.2921815812587738, 0.18038710951805115, -0.5963190197944641, 0.060038208961486816, -0.4592241644859314, -0.17239616811275482, -0.3680424094200134, 0.1303575485944748, -0.04655539616942406, 0.1898653358221054, -0.41550782322883606, 0.5533411502838135, -0.6220236420631409, -0.08387977629899979, -0.46022212505340576, 0.22033609449863434, 0.2444513440132141, 0.5804228782653809, 0.1567428708076477, 0.7878099083900452, 0.7644173502922058, -1.002550482749939, 0.189772829413414, 0.18025824427604675, -0.28678658604621887, 0.3907776474952698, -0.5919035077095032, 0.5727826952934265, -0.26117733120918274, 0.5945948362350464, -0.9500827789306641, 0.07058590650558472, 0.3261278569698334, -0.3874346613883972, -0.07980603724718094, -0.20363637804985046, -0.5311166048049927, -0.5161495208740234, -0.24247176945209503, 0.5720319151878357, 0.6445825695991516, -0.7938650846481323, 0.39473584294319153, -0.14201246201992035, 0.36344268918037415, -0.6643556952476501, -0.6635124683380127, 0.1637907773256302, -0.09629266709089279, -0.3731328547000885, 0.07862205803394318, -0.2314700186252594, -0.18619707226753235, -0.17175506055355072, -0.2322450876235962, -0.08597957342863083, 0.07045060396194458, 0.015228156931698322, 0.6019067168235779, -0.11952418088912964, 0.15367165207862854, 0.17918480932712555, -0.12247825413942337, 0.20157550275325775, -0.5959078669548035, 0.696089506149292, -0.033755701035261154, -0.3508980870246887, -0.3862071931362152, 0.1350732296705246, 0.5992560982704163, -0.2240997850894928, 0.7788772583007812, 0.23206330835819244, -0.3216055631637573, -0.44707030057907104, -0.38378414511680603, -0.29702675342559814, -0.5390104651451111, -0.42434507608413696, -0.533980667591095, -0.8399396538734436, 0.3752031922340393, -0.21075758337974548, -0.23163650929927826, 0.02569788321852684, 0.4724201261997223, -0.1336064636707306, 1.221832036972046, 0.20707519352436066, 0.13125236332416534, 0.29349029064178467, -0.48831096291542053, 0.4716881215572357, -1.005584716796875, -0.26872000098228455, -0.29254886507987976, -0.20113788545131683, -0.3342954218387604, -0.40815991163253784, 0.47797542810440063, 0.40044260025024414, -0.1869076043367386, 0.2824435830116272, -0.5889999866485596, 0.8325312733650208, 0.33976316452026367, 0.3934052288532257, 0.27275654673576355, -0.17093431949615479, -0.577653706073761, 0.6235513687133789, -0.8323579430580139, -0.5431978106498718, 1.0116912126541138, 0.043447040021419525, 0.7501886487007141, -0.14279747009277344, 0.7989727258682251, 0.16859985888004303, -0.017910271883010864, -0.9066981673240662, 0.8391808271408081, 0.22439810633659363, -0.5954631567001343, -0.18481457233428955, -0.47010815143585205, -1.0810365676879883, 0.1928223967552185, -0.25246673822402954, -0.9760175347328186, 0.17314602434635162, 0.4000343382358551, -0.597333550453186, 0.5811453461647034, -0.5657376050949097, 0.41601312160491943, -0.3676145076751709, -0.3794808089733124, -0.17791244387626648, -0.37185510993003845, 0.516747236251831, 0.2349526286125183, 0.11044668406248093, 0.02155873365700245, -0.03495267406105995, 0.49163562059402466, -0.6113972067832947, 0.5561833381652832, -0.10309349000453949, -0.24861586093902588, 0.762485146522522, 0.3535873591899872, 0.8073697090148926, -0.08361479640007019, -0.05829070881009102, -0.22206096351146698, -0.22292044758796692, -0.43052053451538086, -0.927236020565033, 0.6206439733505249, -0.36163392663002014, -0.887128472328186, -0.2749099135398865, -0.5332536101341248, -0.49228134751319885, 0.172001913189888, 0.40796396136283875, 0.39737528562545776, 0.21194441616535187, -0.16943968832492828, 0.6051702499389648, -0.07165942341089249, 0.43963998556137085, 0.008866150863468647, -0.1766461282968521, -0.3725339472293854, 0.6104552149772644, -0.06267945468425751, 0.6098624467849731, 0.3878592252731323, 0.4231606423854828, -0.6247416138648987, -0.43199634552001953, -0.49518874287605286, 0.1306716352701187, -0.8703215718269348, -0.07755831629037857, -0.6247520446777344, -0.1356183886528015, -0.18373702466487885, -0.4588049352169037, -0.3031771183013916, -0.3389729857444763, -0.23499298095703125, -0.386542946100235, 0.46415579319000244, 0.796351969242096, 0.08367898315191269, 0.12104331701993942, -0.769333004951477, 0.3481816053390503, 0.31087058782577515, 0.28358301520347595, 0.5155221819877625, -0.23108305037021637, 0.049471739679574966, 0.2484765499830246, -0.21737229824066162, -0.8331391215324402, 0.14188122749328613, -0.4107038080692291, 0.4312419891357422, 0.5174329280853271, 0.37631598114967346, 1.0326000452041626, -0.4984334409236908, 0.8903034329414368, 0.33249273896217346, -1.225476861000061, 0.8320959806442261, -0.20669394731521606, 0.4008946716785431, 0.48656535148620605, 0.33339399099349976, -0.09052804112434387, -0.544911801815033, -0.6473293900489807, -0.6638156771659851, 0.47897106409072876, 0.2609387934207916, -0.07227201759815216, -0.5142430663108826, 0.3523247241973877, 0.05637812986969948, 0.016414418816566467, -0.7426121234893799, 0.05354950949549675, 0.03790302947163582, 0.137374147772789, 0.3150525987148285, -0.14294007420539856, 0.0366053506731987, -0.3900088369846344, 0.4948555529117584, -0.03840986639261246, 0.38772818446159363, 0.556952178478241, -0.13739769160747528, -0.17765067517757416, 0.38159114122390747, 0.47343143820762634, 0.7417513132095337, -0.04108266532421112, 0.6668305397033691, 0.3857576847076416, -0.04262329265475273, 0.4427723288536072, -0.7963321208953857, 0.014448368921875954, -0.11104677617549896, 0.5028823614120483, 0.8357158303260803, -0.022436270490288734, -0.6771093606948853, 0.4722190797328949, 0.09239405393600464, -0.22161009907722473, -0.07717191427946091, 0.33491072058677673, -0.09107039868831635, 0.17872054874897003, 0.21956469118595123, 0.14831757545471191, -0.06880226731300354, -0.6319024562835693, 0.11030665785074234, 0.49641746282577515, -0.43250781297683716, -0.1454072892665863, 0.4648013412952423, 0.005347666330635548, -0.25672903656959534, 0.5878456830978394, -0.32516956329345703, -0.49684178829193115, 0.536028265953064, 0.6066617369651794, 0.8890631794929504, 0.14751945436000824, 0.1813189834356308, 0.2942200005054474, 0.42715370655059814, -0.2672550082206726, 0.40591707825660706, -0.38722527027130127, -0.7718421220779419, -0.6583660244941711, -0.29304760694503784, -0.34296759963035583, 0.0406063012778759, -0.6223116517066956, 0.3247728943824768, -0.7702929973602295, -0.15476073324680328, -0.37152788043022156, -0.47713813185691833, -0.6446853876113892, 0.1414986550807953, 0.24638786911964417, 1.1531479358673096, -0.4511169493198395, 0.7925183176994324, 0.21913573145866394, -0.30155158042907715, -1.0635035037994385, 0.24609535932540894, -0.35260966420173645, -0.9268842935562134, 0.33121949434280396, 0.22980348765850067, -0.7674930095672607, 0.04126328229904175, -0.9245468378067017, -0.6777240037918091, 0.9375738501548767, 0.44876018166542053, -0.5657303333282471, -0.10927508771419525, -0.10333183407783508, 0.2622351050376892, -0.3584900498390198, 0.5076754093170166, 0.589744508266449, 0.4153677821159363, 0.49791228771209717, -0.6265912055969238, 0.3298792243003845, 0.007255427539348602, -0.11586681008338928, 0.19223102927207947, -0.3013177514076233, 0.6962273120880127, -0.49749183654785156, -0.3780561685562134, 0.14330074191093445, 0.32929757237434387, 0.634529709815979, 0.2950596511363983, 0.6129405498504639, 0.3490432798862457, 1.0407203435897827, 0.272926926612854, 1.233603835105896, -0.3021230399608612, 0.03933064639568329, 0.99908447265625, -0.31336671113967896, 0.8302338719367981, 0.7377133369445801, -0.03290889039635658, 0.9650934338569641, 0.4274362623691559, 0.4748712182044983, 0.6556222438812256, 0.19894570112228394, -0.3790428340435028, -0.7715163230895996, -0.07863615453243256, -0.14471064507961273, 0.39673563838005066, 0.4168546199798584, -0.24488984048366547, -0.025894859805703163, -0.09457729756832123, -0.06370505690574646, 0.006383661646395922, -0.6204255819320679, 0.6522104740142822, 0.4052691161632538, -0.9837026596069336, 1.1256157159805298, -0.3882710039615631, 0.5235762000083923, -0.6275442242622375, -0.06068370118737221, 0.08336778730154037, -0.15394240617752075, -0.12593045830726624, -0.817640483379364, 0.14391112327575684, 0.3236849009990692, 0.07239492237567902, -0.30007171630859375, 0.7671974897384644, -0.2260124832391739, -0.4265860319137573, 0.34375596046447754, 0.7143135070800781, 0.20124076306819916, 0.013775010593235493, -0.4554770886898041, 0.05171997845172882, -0.1813511997461319, -0.08766456693410873, -0.019919155165553093, 0.6206088662147522, 0.020415928214788437, 0.8320004940032959, 0.9882772564888, 0.24860914051532745, -0.09656167030334473, 0.15326064825057983, 1.0659677982330322, -0.8641760349273682, -0.6603648066520691, -1.3044929504394531, 0.5062582492828369, 0.006324696820229292, -0.127876877784729, 0.5293633341789246, 0.0893905833363533, 0.7209175229072571, -0.010368387214839458, 0.7960808873176575, 0.2159545123577118, -0.0755099281668663, -0.9836469292640686, 0.4473065435886383, -0.32676756381988525, 0.46118953824043274, -0.2763362228870392, -0.625649631023407, -0.1407860964536667, 0.6367077827453613, -0.5404980182647705, 0.017199300229549408, 1.128450632095337, 0.7679184079170227, 0.16593976318836212, 0.24195094406604767, 0.39699897170066833, 0.09422332793474197, 0.24257944524288177, 0.9079394340515137, 1.317350149154663, 0.02547711692750454, 0.6084972023963928, 0.18211334943771362, -0.33327504992485046, 0.12802842259407043, -1.0123692750930786, -1.1843887567520142, -0.20431235432624817, -0.0064799366518855095, -0.5012701749801636, 0.10834792256355286, 1.119067668914795, 0.42969393730163574, -0.5745803713798523, -0.10341066867113113, -0.8911295533180237, 0.6279259920120239, -0.4390973150730133, -0.15024666488170624, 0.1533677726984024, -0.4412042796611786, -0.23377276957035065, 0.6649553179740906, 0.32941240072250366, 0.04494118690490723, -0.36313095688819885, -0.23741020262241364, -0.321776419878006, 0.5388119220733643, 0.6315360069274902, -0.030389446765184402, -0.9277399182319641, -0.4471539855003357, 0.25653982162475586, 0.10116253048181534, 0.07653044164180756, 1.1322963237762451, -0.9909264445304871, 0.5071406960487366, 0.5143322348594666, 0.4659719169139862, 0.3640955090522766, -0.13950198888778687, 0.6945124864578247, -0.6043421626091003, 0.11856822669506073, 0.3283701241016388, 0.4119753837585449, 0.027684485539793968, -0.6325332522392273, 0.2442954182624817, 0.25394508242607117, -0.35050180554389954, -0.7612685561180115, 0.4912364184856415, -1.0135118961334229, -0.36260637640953064, 1.3670721054077148, -0.17272719740867615, -0.5250297784805298, -0.08316899836063385, -0.41968581080436707, 0.2817728519439697, -0.20745398104190826, 0.642011284828186, 0.8660340309143066, -0.28123703598976135, -0.3927072286605835, -0.04303963482379913, 0.3160785734653473, 0.36820682883262634, -0.6668621301651001, 0.1480865478515625, 0.14509540796279907, -0.09170675277709961, -0.0784560963511467, 0.9039199352264404, -0.05421168729662895, 0.3728671967983246, 0.17164437472820282, -0.4028438329696655, -0.07240456342697144, -0.5464079976081848, -0.15652510523796082, -0.04662078619003296, 0.34324878454208374, -0.13576607406139374 ]
http://arxiv.org/abs/2402.10196v1
http://arxiv.org/pdf/2402.10196v1
A Trembling House of Cards? Mapping Adversarial Attacks against Language Agents
2024-02-15T18:51:32
2024-02-15T18:51:32
Lingbo Mo, Zeyi Liao, Boyuan Zheng, Yu Su, Chaowei Xiao, Huan Sun
cs.CL
cs.CL, cs.AI
Language agents powered by large language models (LLMs) have seen exploding development. Their capability of using language as a vehicle for thought and communication lends an incredible level of flexibility and versatility. People have quickly capitalized on this capability to connect LLMs to a wide range of external components and environments: databases, tools, the Internet, robotic embodiment, etc. Many believe an unprecedentedly powerful automation technology is emerging. However, new automation technologies come with new safety risks, especially for intricate systems like language agents. There is a surprisingly large gap between the speed and scale of their development and deployment and our understanding of their safety risks. Are we building a house of cards? In this position paper, we present the first systematic effort in mapping adversarial attacks against language agents. We first present a unified conceptual framework for agents with three major components: Perception, Brain, and Action. Under this framework, we present a comprehensive discussion and propose 12 potential attack scenarios against different components of an agent, covering different attack strategies (e.g., input manipulation, adversarial demonstrations, jailbreaking, backdoors). We also draw connections to successful attack strategies previously applied to LLMs. We emphasize the urgency to gain a thorough understanding of language agent risks before their widespread deployment.
[ -0.5888012647628784, -0.962692141532898, 0.3987826704978943, -0.08578070253133774, 0.17513155937194824, 0.3640884757041931, -0.11924382299184799, -0.26955652236938477, 0.08660320192575455, 0.8532452583312988, -0.1973239630460739, -0.44741663336753845, -1.0245862007141113, -0.3926701843738556, -0.5430945158004761, 0.932020366191864, 0.1371852606534958, -0.21433258056640625, 0.11955152451992035, 0.11377181112766266, -0.16036595404148102, -0.5535376071929932, -0.7123573422431946, -0.4473784565925598, 0.504410982131958, 0.02535008080303669, 1.5696232318878174, 0.7986629605293274, 0.5011422634124756, 0.39939382672309875, 0.09257270395755768, -0.42744389176368713, -0.38341715931892395, 0.2264651209115982, -0.02476022206246853, -0.584940493106842, -0.7533054947853088, 0.1274375468492508, 0.4125509262084961, 0.7065515518188477, -0.16613373160362244, -0.04724866896867752, -0.04438064992427826, 0.6555836200714111, -0.3873119652271271, 0.11929832398891449, -0.8172774910926819, 0.07805967330932617, -0.28206372261047363, -0.3556612432003021, -0.5070700645446777, -0.12261240929365158, -0.11431825906038284, -0.3676418662071228, -0.033023666590452194, 0.11778861284255981, 0.7461766600608826, 0.5256147384643555, -0.45192527770996094, -0.2808271050453186, -0.6393718123435974, 0.28140100836753845, -0.35622549057006836, 0.005931560415774584, 0.45455819368362427, 0.42345425486564636, -0.8304644227027893, -0.46600374579429626, -0.5579570531845093, -0.44558605551719666, 0.05509829893708229, 0.037824686616659164, -0.4970177710056305, 0.1847268044948578, 0.3429429531097412, 0.0965704396367073, -0.5493436455726624, 0.06114187091588974, -0.06952868402004242, -0.15669620037078857, 0.8057278990745544, 0.276846319437027, 0.763859212398529, 0.38941383361816406, -0.45568713545799255, -0.5388234853744507, -0.7222261428833008, -0.22700174152851105, 0.9281637072563171, 0.4056720435619354, -0.1204918622970581, 0.37975654006004333, 0.3555421531200409, 0.559065580368042, -0.002049459842965007, -0.28821948170661926, -0.3212183117866516, 0.08960315585136414, -0.09857044368982315, 0.17068815231323242, 0.8049330115318298, 0.2257176786661148, 0.39205285906791687, -0.3863067030906677, -0.21958386898040771, 0.3608201742172241, 0.794312059879303, -0.21836958825588226, -0.2295462191104889, 0.352504163980484, -0.2260076403617859, -0.6528911590576172, -0.03659209609031677, -1.0952272415161133, -1.0556128025054932, 0.16876807808876038, 0.31457510590553284, -0.1747891902923584, -0.3959595263004303, -0.1520017683506012, -0.13902857899665833, 0.610672116279602, -0.09638591855764389, -0.8943822979927063, 0.8167866468429565, 0.7955251336097717, 0.2525283396244049, -0.02273077704012394, -0.6399412155151367, -0.3395698070526123, 0.07186373323202133, -0.5407876372337341, 0.48655128479003906, -0.23777686059474945, -0.6825170516967773, 0.17273716628551483, -0.32401901483535767, 0.08869252353906631, -0.33039963245391846, 0.21903139352798462, -0.6106348633766174, -0.23382529616355896, 0.16123463213443756, -0.1043858528137207, 0.0875779390335083, 0.6643162369728088, -0.8822298049926758, 0.6701259613037109, 0.003072829684242606, -0.5557779669761658, -0.08025161176919937, -0.4733832776546478, -0.7302831411361694, -0.12369851022958755, -0.2895398736000061, -0.180815652012825, -0.17412744462490082, -0.03873363137245178, 0.4309929311275482, -0.31217944622039795, 0.1648288071155548, -0.29701095819473267, -0.1973152458667755, 0.5209056735038757, -0.6278800964355469, 0.9935417175292969, 0.36627140641212463, -0.5259177684783936, 0.1380234807729721, -0.4877074658870697, -0.08580374717712402, 0.22602733969688416, -0.19234713912010193, -0.04430950805544853, 0.18920616805553436, -0.3159010410308838, 0.1367485672235489, 0.23087681829929352, -0.07307994365692139, 0.08857518434524536, -0.3663380742073059, 0.06544514745473862, 0.7036048769950867, -0.19757667183876038, 0.6830954551696777, -0.37261325120925903, 0.8510615229606628, -0.13079425692558289, 0.36947616934776306, -0.10962999612092972, -0.3850685954093933, -0.5991348028182983, -0.13387906551361084, 0.06870241463184357, 0.7277463674545288, -0.704921305179596, 0.6781213879585266, -0.24730870127677917, -0.7811381220817566, -0.433811753988266, -0.034544214606285095, 0.2995494604110718, -0.11706215888261795, 0.06300365179777145, -0.018601590767502785, -0.19820740818977356, -0.3799133002758026, -0.34499219059944153, -0.4935072660446167, 0.18399758636951447, -0.1631830930709839, 0.3345744013786316, -0.284647136926651, 0.6844475269317627, -0.3999149799346924, -0.28864169120788574, -0.4359322488307953, -0.03719203546643257, -0.2471676617860794, 0.3239172697067261, 0.529058575630188, -0.6667324304580688, -0.5337345600128174, 0.19295617938041687, -0.7139618396759033, 0.3060743510723114, -0.2825312614440918, -0.11942470818758011, 0.15507210791110992, 0.7053284645080566, -0.5495263934135437, 0.5165225267410278, 0.5571999549865723, -0.3187355101108551, 0.04520736262202263, -0.2013493925333023, -0.3478813171386719, -1.0930120944976807, -0.13563521206378937, -0.2163095772266388, 0.13936565816402435, -1.0492839813232422, 0.4012889564037323, -0.356375515460968, -0.34602347016334534, -0.38333797454833984, 0.8091500401496887, -0.5306140184402466, 0.10641513019800186, -0.39953121542930603, 0.34030377864837646, -0.31925809383392334, 0.48604393005371094, -0.2929562032222748, 0.25114279985427856, 0.8646713495254517, -0.4423416554927826, 0.5392592549324036, -0.18792039155960083, 0.1187128871679306, 0.4850064516067505, -0.3051415979862213, 0.23161351680755615, -0.06888586282730103, 0.16625523567199707, -1.056465744972229, -0.06028607860207558, 0.6321848630905151, -0.6055048108100891, 0.6934595108032227, 0.200267031788826, -0.4123360812664032, -0.23961982131004333, -0.4254312813282013, -0.06913705915212631, 0.6270974278450012, -0.4182186722755432, 1.057486653327942, 0.8108633756637573, -0.00015895366959739476, -0.8713172078132629, -0.555809736251831, 0.34912097454071045, -0.26332536339759827, -0.32639145851135254, 0.05608415976166725, 0.17884045839309692, -0.8137896060943604, -0.0596148706972599, 0.07968506217002869, -0.02776084467768669, 0.722641110420227, 0.6728155016899109, -0.07663757354021072, 0.12404440343379974, -0.14063216745853424, -0.38399967551231384, -0.30756041407585144, 0.4603477418422699, -0.10423479229211807, 0.42423924803733826, -0.31931886076927185, -0.4766177535057068, -0.08604634553194046, 0.2856817841529846, 0.8705056309700012, -0.016736453399062157, 0.696332573890686, 0.47337761521339417, -0.4696655869483948, -0.29165664315223694, -0.43109703063964844, -0.10986839234828949, -0.4741181433200836, 0.4225272536277771, -0.3150430917739868, -0.2995307147502899, 0.6526027321815491, -0.10973870754241943, 0.13831181824207306, 0.2749997675418854, 0.5116754770278931, 0.0489017553627491, 0.9205672144889832, 0.7505233287811279, -0.4647863209247589, 0.33678945899009705, -0.19266510009765625, 0.45940524339675903, -0.3438313603401184, -0.19572094082832336, -0.6301502585411072, -0.3463675081729889, -0.7293544411659241, -0.2575549781322479, 0.14672325551509857, -0.3457508683204651, -0.03409045934677124, 0.2140163630247116, -0.1834685206413269, 0.39973580837249756, 0.4953945577144623, -0.2775818705558777, 0.11030399799346924, -0.01765827089548111, 0.0430939607322216, 0.33102089166641235, -0.7654306292533875, -0.7840600609779358, 1.311410903930664, 0.705323338508606, 1.0557366609573364, 0.17531542479991913, 0.7085228562355042, 0.3792596459388733, 0.6199742555618286, -0.7488458752632141, 0.7540012001991272, 0.09302884340286255, -0.7271108031272888, -0.5962305068969727, 0.03532921150326729, -1.2728354930877686, 0.34214553236961365, -0.24238480627536774, -0.34660178422927856, -0.07838467508554459, 0.0018567792139947414, -0.2789453864097595, 0.5374110341072083, -0.5330172777175903, 0.900860071182251, -0.6335368752479553, -0.1270705759525299, -0.018510350957512856, -0.9462211728096008, 0.21526004374027252, -0.0394892543554306, 0.3954518437385559, -0.02957898937165737, -0.027477001771330833, 0.4324394166469574, -0.27804070711135864, 1.1229326725006104, -0.1136794462800026, -0.4022497236728668, 0.4845414161682129, 0.10669475048780441, 0.5216819643974304, -0.37034451961517334, -0.10105837136507034, 0.09742017835378647, -0.07039646059274673, -0.5334307551383972, -0.6203745007514954, 0.6439781785011292, -0.954867422580719, -0.6516798138618469, -0.8259567022323608, -0.40266090631484985, -0.07914301007986069, -0.031987208873033524, -0.03789721801877022, 0.11447189748287201, -0.7205126285552979, -0.28238222002983093, 0.5402043461799622, 0.06304986029863358, 0.5124551057815552, 0.5111716389656067, -0.02911766618490219, -0.3919023871421814, 1.0742640495300293, 0.012069998309016228, 0.2857604920864105, 0.2622297406196594, 0.041181016713380814, -0.1603640466928482, -0.575544536113739, -0.15565840899944305, 0.07520882040262222, -0.7627534866333008, -0.017873868346214294, -0.3050452470779419, -0.16338396072387695, -0.483261376619339, -0.2404545098543167, -0.23435750603675842, 0.1461731642484665, -0.017801037058234215, -0.06223756819963455, 0.24534620344638824, 0.8127231597900391, 0.04859395697712898, 0.6409324407577515, -0.44679340720176697, 0.3414629399776459, 0.4548550546169281, 0.1743163913488388, 0.012092433869838715, -0.18927833437919617, -0.18691964447498322, 0.053315434604883194, -0.47495025396347046, -1.1018505096435547, 0.3859096169471741, -0.21574316918849945, 0.8911309838294983, 0.4884640872478485, 0.2899002134799957, 0.3057052791118622, -0.4523841440677643, 0.7307208180427551, 0.06491914391517639, -0.6569865942001343, 0.3246881365776062, -0.23776446282863617, 0.001035305904224515, 0.40070486068725586, 0.34914830327033997, -0.3770699203014374, -0.6572202444076538, -1.0920603275299072, -0.7901042699813843, 0.41074293851852417, -0.047153543680906296, 0.2681541442871094, -0.1972694844007492, 0.12694083154201508, -0.07034176588058472, 0.25976642966270447, -0.7588002681732178, -0.3996165096759796, -0.1887025088071823, -0.09411891549825668, -0.18681609630584717, 0.054025471210479736, -0.5068312287330627, 0.2464679777622223, 0.6235144734382629, -0.1268477737903595, 0.03778405115008354, -0.16527718305587769, -0.16004303097724915, -0.18336299061775208, 0.3482208549976349, 0.519201397895813, 0.32136446237564087, 0.21662528812885284, 0.4824928343296051, 0.07518263161182404, -0.49919945001602173, 0.2530437707901001, 0.12209991365671158, 0.08168001472949982, -0.34824034571647644, 0.49764594435691833, 0.642704427242279, -0.0037251741159707308, -0.7487632632255554, 0.5317532420158386, -0.03011193312704563, -0.20870530605316162, -0.6017441749572754, 0.11229649186134338, -0.12874729931354523, 0.3017343282699585, 0.012754087336361408, 0.06654199957847595, -0.19238190352916718, -0.9387158155441284, 0.0772964209318161, 0.7609837055206299, -0.5742157697677612, -0.28964024782180786, 0.45512697100639343, 0.31369471549987793, -0.6757518649101257, 0.2780299186706543, -0.2780939042568207, -0.6584274768829346, 0.7332118153572083, 0.2580386996269226, 1.1997374296188354, -0.42210742831230164, 0.10973592847585678, -0.3349159359931946, 0.9055371284484863, -0.11739473044872284, 0.08640281111001968, 0.05166180431842804, -0.7622721791267395, 0.19304420053958893, -0.25127458572387695, -0.45772433280944824, 0.12738211452960968, -0.5292806029319763, 0.05607818067073822, -0.7500640749931335, -0.3769308626651764, -0.4284140467643738, 0.12084385007619858, -0.3753925561904907, 0.009555860422551632, 0.4970826804637909, 0.765306293964386, -0.9655218720436096, 0.7957955598831177, 0.7911322712898254, -0.17246752977371216, -0.501915454864502, 0.4290355443954468, 0.060646239668130875, -0.5926128029823303, 0.4225361943244934, -0.25873804092407227, -0.42645207047462463, 0.0002721394703257829, -0.4509078860282898, -0.5933927297592163, 0.9244602918624878, 0.43685847520828247, -0.04261837527155876, 0.14466089010238647, 0.26225677132606506, 0.8033978343009949, -0.3093302845954895, 0.05657532438635826, 0.8811454772949219, 0.6244145631790161, -0.1531987190246582, -0.5870978832244873, 0.133857861161232, -0.2940917909145355, -0.13109026849269867, 0.3402065932750702, -0.5084568858146667, 0.5318666696548462, -0.23889215290546417, -0.24317291378974915, 0.09848789125680923, 0.5397000908851624, 0.033150799572467804, 0.3899795711040497, 0.3711508512496948, 0.5499099493026733, 0.6122250556945801, -0.30576789379119873, 1.151473045349121, -0.5612884759902954, -0.22640661895275116, 0.9359267950057983, -0.6150908470153809, 0.9201086759567261, 0.5299349427223206, -0.21754190325737, 0.10895412415266037, 0.33657389879226685, 0.10680164396762848, 0.18858475983142853, 0.789445698261261, -0.11393631249666214, -0.051216743886470795, 0.11933577060699463, -0.345608651638031, 0.3759477734565735, 0.6625450253486633, -0.1477406620979309, -0.27553731203079224, 0.08799099177122116, 0.40596213936805725, 0.5133647322654724, -0.014451001770794392, 0.8621528148651123, 0.02035173773765564, -0.6954312920570374, 0.4345002770423889, -0.09421749413013458, 0.334406316280365, -0.8448014855384827, 0.06317436695098877, -0.05268405005335808, 0.19167497754096985, 0.1267102062702179, -0.6753281354904175, 0.1564909964799881, -0.1633233278989792, 0.17387636005878448, -0.3470834195613861, 0.5090208053588867, -0.42651113867759705, -0.20079171657562256, 0.6398637294769287, 0.30837512016296387, 0.2687476873397827, -0.06517461687326431, -0.6754118800163269, 0.2994614839553833, -0.4275597035884857, -0.30394497513771057, 0.6117157936096191, 0.3647972643375397, 0.008380617015063763, 0.813576877117157, 0.34690818190574646, 0.31362926959991455, 0.24560941755771637, -0.14282101392745972, 0.7299295663833618, -0.5665121674537659, -0.44535592198371887, -0.9676618576049805, 0.35702332854270935, -0.06200973689556122, -0.050375111401081085, 0.7048006057739258, 0.06068002060055733, 0.6019031405448914, 0.036422956734895706, 0.8128551840782166, 0.14210300147533417, -0.05986965820193291, -0.32236623764038086, 1.1212859153747559, -0.31608814001083374, 0.4023779332637787, -0.19994665682315826, -0.6468775272369385, -0.4510878920555115, 0.36482399702072144, -0.1128709465265274, -0.19479995965957642, 0.7485909461975098, 0.917925238609314, 0.5334529876708984, -0.181851327419281, 0.6092007756233215, 0.2887161672115326, 0.5092705488204956, 0.3093876242637634, 0.9432905912399292, -0.6401464343070984, 0.9102736711502075, -0.1546749323606491, -0.19557933509349823, -0.23531268537044525, -0.7156142592430115, -1.171649694442749, -0.44368258118629456, -0.46688923239707947, -0.4291672706604004, 0.2754448652267456, 0.604779064655304, 0.3597937226295471, -0.4717743396759033, -0.5912694931030273, 0.17683590948581696, 0.4371482729911804, -0.36900028586387634, -0.12251383811235428, 0.22355453670024872, -0.0781007707118988, -0.6196096539497375, 0.382252961397171, 0.3018200099468231, 0.30150240659713745, -0.7022440433502197, -0.3195256292819977, -0.13081128895282745, 0.2280511111021042, 0.23904727399349213, 0.6304135322570801, -1.0703778266906738, -0.07153169810771942, -0.2400965839624405, -0.3830460011959076, -0.30342966318130493, 0.5588347911834717, -0.6120067238807678, 0.44464072585105896, 0.3462640643119812, 0.7583880424499512, -0.3923208713531494, -0.15446363389492035, 0.6016781330108643, -0.6450156569480896, 0.3096849024295807, 0.16988879442214966, 0.17281797528266907, 0.11899498850107193, -0.49856099486351013, 0.370786190032959, -0.06270663440227509, -0.2736110985279083, -0.8526824712753296, 0.3408850431442261, -0.886417031288147, -0.3094499707221985, 1.016998052597046, 0.12060502171516418, -0.49133190512657166, -0.32894858717918396, -0.2834763526916504, 0.11601459980010986, -0.25076502561569214, 0.8983799815177917, 0.7950537800788879, 0.36645177006721497, 0.3079374134540558, -0.45044854283332825, 0.6428243517875671, 0.09930423647165298, -0.7615041732788086, 0.17639680206775665, 0.060564443469047546, -0.22409723699092865, 0.543405294418335, 0.6606805324554443, -0.17243655025959015, 0.20638087391853333, 0.4930456578731537, 0.1892872303724289, 0.04674635827541351, -0.6828145384788513, -0.5951417088508606, 0.46499818563461304, 0.33223485946655273, -0.21944811940193176 ]
http://arxiv.org/abs/2402.10193v2
http://arxiv.org/pdf/2402.10193v2
BitDelta: Your Fine-Tune May Only Be Worth One Bit
2024-02-15T18:50:06
2024-02-28T03:42:10
James Liu, Guangxuan Xiao, Kai Li, Jason D. Lee, Song Han, Tri Dao, Tianle Cai
cs.LG
cs.LG, cs.CL
Large Language Models (LLMs) are typically trained in two phases: pre-training on large internet-scale datasets, and fine-tuning for downstream tasks. Given the higher computational demand of pre-training, it's intuitive to assume that fine-tuning adds less new information to the model, and is thus more compressible. We explore this assumption by decomposing the weights of fine-tuned models into their pre-trained components and an additional delta. We introduce a simple method, BitDelta, which successfully quantizes this delta down to 1 bit without compromising performance. This interesting finding not only highlights the potential redundancy of information added during fine-tuning, but also has significant implications for the multi-tenant serving and multi-tenant storage of fine-tuned models. By enabling the use of a single high-precision base model accompanied by multiple 1-bit deltas, BitDelta dramatically reduces GPU memory requirements by more than 10x, which can also be translated to enhanced generation latency in multi-tenant settings. We validate BitDelta through experiments across Llama-2 and Mistral model families, and on models up to 70B parameters, showcasing minimal performance degradation over all tested settings.
[ -0.6140942573547363, -0.8284577131271362, 0.32721570134162903, 0.17518949508666992, -0.5431000590324402, -0.16320912539958954, -0.40150004625320435, -0.41034573316574097, 0.18030469119548798, 0.6671370267868042, -0.4812620282173157, -0.1709429919719696, -0.4316839575767517, -0.23607365787029266, -0.33321550488471985, 0.7143980264663696, 0.3500126302242279, 0.015509727410972118, -0.01973332092165947, -0.022626040503382683, -0.5210275053977966, -0.304149866104126, -0.734119176864624, -0.3226758539676666, 0.4751606583595276, 0.4727246165275574, 0.8271947503089905, 0.8651673197746277, 0.5546078681945801, 0.234078049659729, -0.124034084379673, 0.33385682106018066, -0.7448974847793579, 0.07195524871349335, 0.07431171834468842, -0.6016512513160706, -0.5585390329360962, -0.23538213968276978, 0.6347095370292664, 0.6998440623283386, -0.12178356945514679, 0.4099540114402771, 0.026647742837667465, 0.9766824245452881, -0.875400722026825, 0.14320866763591766, -0.7050023674964905, -0.17520549893379211, -0.042349543422460556, -0.42916563153266907, -0.25124454498291016, -0.31597861647605896, -0.19842490553855896, -0.45715010166168213, 0.44741153717041016, -0.09228182584047318, 0.9890876412391663, 0.6878460645675659, -0.23357070982456207, 0.2576524615287781, -0.8285156488418579, 0.46637722849845886, -0.6892879605293274, 0.5327089428901672, 0.5887020826339722, 0.20211659371852875, -0.007746631745249033, -0.4509209990501404, -0.5213667750358582, 0.04352463036775589, 0.18096321821212769, -0.38478386402130127, -0.2558014392852783, 0.23002195358276367, 0.11260423809289932, 0.5529926419258118, -0.26271072030067444, 0.18872956931591034, -0.39506492018699646, -0.14447809755802155, 0.44684699177742004, 0.33583778142929077, -0.20379428565502167, 0.16193710267543793, -0.10157465189695358, -0.1089944913983345, -1.1709407567977905, 0.03318338096141815, 0.44839879870414734, 0.6921738982200623, -0.04051494598388672, 0.4227418899536133, -0.18914839625358582, 0.5447568893432617, 0.3395330011844635, 0.12566503882408142, -0.22235792875289917, -0.5313354134559631, -0.2570103406906128, 0.15477696061134338, 0.5614624619483948, 0.267544686794281, 0.36446821689605713, -0.2684904634952545, -0.22484607994556427, 0.13185010850429535, 0.4438384175300598, -1.4063035249710083, -0.5220062136650085, 0.23563918471336365, -0.39204663038253784, -0.3040030300617218, -0.21668657660484314, -0.20338484644889832, -0.4530307948589325, -0.4085257351398468, 0.5189608335494995, -0.2834722399711609, -0.32120221853256226, 0.37834295630455017, 0.14983497560024261, -0.0021670928690582514, 0.37380656599998474, -1.085099697113037, 0.4279944896697998, 1.081214427947998, 0.9252305626869202, 0.11372224986553192, -0.2692195773124695, -0.5033010244369507, -0.29120954871177673, -0.7837393283843994, 0.6297302842140198, -0.46032583713531494, -0.2304420918226242, -0.19388867914676666, -0.13313984870910645, 0.3737732768058777, -0.7534163594245911, -0.03436075150966644, -0.6904863715171814, -0.5072218179702759, -0.5279864072799683, -0.5382465720176697, -0.1973351687192917, 0.03581327199935913, -1.0490821599960327, 0.8391146063804626, 0.38743433356285095, -0.6550365686416626, 0.5148302316665649, -0.3650437593460083, -0.44409146904945374, 0.11956163495779037, -0.047928594052791595, -0.4995218813419342, 0.7293611764907837, 0.008162633515894413, 0.6595203280448914, -0.45541849732398987, 0.22705844044685364, -0.41783326864242554, -0.6867080926895142, 0.060227278620004654, -0.4150550067424774, 0.5522267818450928, 0.3233049213886261, -0.12946170568466187, -0.11503185331821442, -0.9335581064224243, -0.016322022303938866, -0.19311311841011047, -0.7899242043495178, -0.2606467306613922, 0.006598514039069414, -0.003444187343120575, 0.09519795328378677, 0.44342875480651855, -0.556166410446167, 0.3608315587043762, -0.289400190114975, 0.4963925778865814, 0.7364588975906372, -0.07915416359901428, 0.2885136008262634, -0.2922331392765045, 0.48326900601387024, 0.214799702167511, -0.06540194898843765, -0.03682669624686241, -0.013527299277484417, -1.0290712118148804, -0.4691583216190338, 0.5417874455451965, 0.05026106908917427, -0.6583476066589355, 0.32297608256340027, -0.5372703075408936, -0.48549097776412964, -1.1685881614685059, 0.26956412196159363, 0.20575587451457977, 0.014041776768863201, 0.22227340936660767, -0.22926738858222961, -0.5710503458976746, -0.910432755947113, 0.107715904712677, 0.09237975627183914, 0.17838184535503387, 0.17392505705356598, 0.34510862827301025, -0.11521614342927933, 0.8906837701797485, -0.3759569823741913, 0.08665985614061356, -0.16078758239746094, -0.007084287237375975, 0.04781828075647354, 0.5175228118896484, 0.2566501796245575, -0.6083460450172424, -0.37398096919059753, 0.14350014925003052, -0.26116493344306946, 0.09217830747365952, -0.1290062814950943, 0.03707209974527359, 0.1678658276796341, 0.3517398536205292, -0.5980504751205444, 0.21210527420043945, 0.7583053112030029, -0.43001115322113037, 0.591500997543335, -0.4711059331893921, 0.13336843252182007, -0.9859623908996582, -0.07472400367259979, -0.23597268760204315, -0.48973485827445984, -0.4501116871833801, 0.22986531257629395, 0.17542852461338043, -0.006927447859197855, -0.1894441395998001, 0.4076312184333801, -0.2468620240688324, 0.021039577201008797, -0.5689180493354797, -0.47880151867866516, -0.15617500245571136, 0.5463796257972717, -0.17508357763290405, 1.304689884185791, 0.45077598094940186, -0.9995675086975098, 0.15075403451919556, 0.0556233674287796, -0.6543090343475342, 0.2606363296508789, -0.6406192779541016, 0.16708935797214508, -0.07842015475034714, -0.1833522617816925, -0.868350088596344, -0.00644910242408514, -0.3728457987308502, -0.2167419046163559, 0.4017241895198822, -0.3163318634033203, -0.9144640564918518, 0.06439467519521713, -0.3648567199707031, 0.49052396416664124, 0.2880435883998871, -0.6559267044067383, 0.35883745551109314, 0.33548423647880554, -0.2259785532951355, -0.33317258954048157, -0.6135457754135132, -0.06353269517421722, -0.0828949585556984, -0.40104079246520996, 0.14657138288021088, -0.050563644617795944, 0.03527418524026871, 0.07137365639209747, -0.17127187550067902, -0.31717607378959656, 0.5108650922775269, 0.4060899019241333, 0.14439046382904053, -0.3536075949668884, 0.3403702676296234, 0.12551532685756683, -0.25856447219848633, -0.11364965885877609, -0.4236888289451599, 0.8419690728187561, -0.38955140113830566, -0.1475212126970291, -0.25899460911750793, 0.2700408101081848, 0.5432422161102295, -0.2276109904050827, 0.885125994682312, 0.6130853891372681, -0.3738597333431244, -0.03560223802924156, -0.535418689250946, -0.21124520897865295, -0.5167676210403442, 0.500714123249054, -0.5255346894264221, -1.0456264019012451, 0.4887434244155884, -0.11620175093412399, 0.1678582727909088, 0.2845056354999542, 0.6422898173332214, -0.14311449229717255, 0.8029754757881165, 1.0979112386703491, -0.19290798902511597, 0.6873814463615417, -0.3276858627796173, 0.2382933646440506, -0.6583119034767151, 0.0979682058095932, -0.5687201619148254, -0.312411367893219, -0.9417047500610352, -0.329497754573822, 0.24916990101337433, 0.29832780361175537, -0.624967634677887, 0.46438291668891907, -0.35100334882736206, 0.7835555672645569, 0.5495809316635132, 0.3455691933631897, 0.3639415204524994, 0.08380824327468872, 0.31063488125801086, 0.1460503786802292, -0.7664805054664612, -0.38281187415122986, 1.1292804479599, 0.3606427311897278, 0.8949177265167236, 0.20721784234046936, 0.5562083721160889, 0.1282484084367752, -0.06215152144432068, -0.8103998899459839, 0.44236865639686584, -0.356486976146698, -0.7646508812904358, -0.4154055714607239, -0.6340446472167969, -0.9274585843086243, 0.3197912275791168, -0.3373976945877075, -0.6093098521232605, 0.192887544631958, 0.4358658492565155, -0.6982195973396301, 0.44077757000923157, -0.5813376903533936, 0.70660001039505, 0.09455922991037369, -0.44815778732299805, -0.6456065773963928, -0.37837329506874084, 0.17975781857967377, -0.357848584651947, -0.1428888440132141, -0.2131146788597107, 0.05773673206567764, 0.5416410565376282, -0.6334811449050903, 0.8178765177726746, -0.12412148714065552, -0.20981837809085846, 0.07867243140935898, 0.5290208458900452, 0.543412446975708, -0.18127626180648804, 0.0865258276462555, 0.28765222430229187, 0.37293386459350586, -0.5752232074737549, -0.42642971873283386, 0.6840489506721497, -0.8383834958076477, -0.21940864622592926, 0.25456690788269043, -0.48639073967933655, -0.11459071934223175, 0.18930497765541077, 0.33705973625183105, 0.5012801289558411, 0.10841438174247742, 0.37878888845443726, 0.8580900430679321, 0.08380942046642303, 0.21230703592300415, 0.39163634181022644, 0.004110459703952074, -0.24825070798397064, 1.0201592445373535, 0.17061996459960938, 0.3048267960548401, 0.4922906160354614, 0.2983951270580292, -0.09791935235261917, -0.6156850457191467, -0.10683177411556244, 0.14375759661197662, -0.5843208432197571, -0.24880516529083252, -0.42850130796432495, 0.048783354461193085, -0.23595693707466125, -0.09043847769498825, -1.0386005640029907, -0.5832886695861816, -0.22467750310897827, -0.09255287796258926, 0.38339608907699585, 0.6273610591888428, -0.18937157094478607, 0.7490387558937073, -0.7428735494613647, 0.1653384417295456, 0.2984158396720886, 0.7179911136627197, 0.1457858383655548, -0.5013370513916016, -0.7390015125274658, -0.003381409216672182, -0.10520913451910019, -0.29749974608421326, 0.2187384068965912, 0.13459512591362, -0.017062894999980927, 0.5752834677696228, -0.18620797991752625, 0.9805060625076294, -0.5687845945358276, 0.5906940698623657, 0.0492275170981884, -0.8751387596130371, 0.1813768893480301, -0.09550167620182037, 0.3407362103462219, 0.9630858898162842, 0.14238876104354858, -0.27090609073638916, -0.060698024928569794, -0.5898305773735046, -0.8265286684036255, 0.4650105834007263, -0.16884605586528778, 0.35754382610321045, 0.17802350223064423, 0.34942999482154846, 0.32439929246902466, 0.5150740742683411, -0.4599733054637909, -0.42104852199554443, -0.0028417345602065325, -0.036545202136039734, -0.2616366446018219, -0.5235557556152344, 0.07016398012638092, -0.414370059967041, 0.7652342319488525, -0.05807914957404137, 0.33950650691986084, -0.35814204812049866, -0.14073212444782257, -0.2448141723871231, 0.20925326645374298, 0.5830103754997253, 0.5812556147575378, -0.40089327096939087, 0.34410908818244934, 0.006228943355381489, -0.5057893991470337, 0.1574736386537552, -0.08669323474168777, -0.04257330298423767, -0.005665401462465525, 0.41612523794174194, 1.069872260093689, 0.2808215320110321, -0.3186938166618347, 0.36896559596061707, 0.013774095103144646, -0.05631948634982109, 0.16888783872127533, 0.11612722277641296, 0.14202985167503357, 0.35469892621040344, -0.040591269731521606, -0.07741393893957138, 0.033229947090148926, -0.37013691663742065, 0.09853000938892365, 0.4450715184211731, -0.1981121301651001, -0.4530262053012848, 0.38673943281173706, 0.1146320104598999, -0.09391096234321594, 0.649963915348053, -0.17983995378017426, -0.33680489659309387, 0.33614206314086914, 0.3388929069042206, 0.9606457352638245, 0.06366707384586334, -0.1663162112236023, 0.25170087814331055, 0.4188019037246704, -0.12724439799785614, 0.3467439115047455, -0.3195280134677887, -0.7049798369407654, -0.6085287928581238, -0.7577846646308899, -0.20279857516288757, 0.18406975269317627, -0.6128297448158264, 0.05124647170305252, -0.5384793877601624, -0.31751489639282227, 0.12636880576610565, 0.41262319684028625, -0.9123875498771667, -0.05842102691531181, 0.1458330899477005, 1.0520339012145996, -0.8344504833221436, 0.84088134765625, 0.49274957180023193, -0.2392451912164688, -0.9274881482124329, -0.26950109004974365, -0.4753519296646118, -0.735218346118927, 0.5186705589294434, -0.02296556532382965, -0.283255010843277, 0.10168708115816116, -0.6896917819976807, -0.6849249601364136, 0.6759174466133118, 0.6574456095695496, -0.8901000022888184, -0.04306867718696594, 0.13796290755271912, 0.2913103699684143, -0.03026696667075157, 0.0034855555277317762, 0.8337622284889221, 0.3684067130088806, -0.06416509300470352, -0.9296202659606934, 0.023808861151337624, 0.04115493223071098, 0.05347181484103203, 0.5755037665367126, -0.5763756632804871, 1.208256721496582, -0.3615016043186188, -0.3362000584602356, -0.13567672669887543, 0.40648993849754333, -0.1277025043964386, -0.19979356229305267, 0.41842490434646606, 0.6037267446517944, 0.8821212649345398, -0.04013547673821449, 1.02089262008667, -0.5625510811805725, 0.5543718338012695, 1.2022290229797363, 0.15875989198684692, 0.9475374221801758, 0.6091735363006592, -0.23224686086177826, 0.014472797513008118, 0.737218976020813, 0.21906031668186188, 0.8114750981330872, 0.14272713661193848, -0.27978113293647766, -0.7273517847061157, 0.01600007154047489, -0.17333705723285675, 0.415749728679657, 0.15925054252147675, 0.025784285739064217, -0.30567264556884766, -0.18034924566745758, 0.04790782928466797, -0.2549246549606323, -0.496266633272171, 0.8954227566719055, 0.057017382234334946, -0.37433135509490967, 0.9324018359184265, -0.06168784573674202, 0.5903587937355042, -0.5088289380073547, 0.014900271780788898, -0.3429252803325653, 0.31581562757492065, -0.18404728174209595, -0.4468466639518738, -0.02103729173541069, -0.05087834596633911, -0.31168830394744873, 0.0912344753742218, 0.38624873757362366, -0.5628268718719482, -0.4801512658596039, -0.2084912657737732, 0.35669466853141785, 0.1970588117837906, -0.496187686920166, -0.223796546459198, 0.15662747621536255, -0.09867951273918152, -0.21904033422470093, 0.2527168393135071, 0.6281375885009766, 0.12231754511594772, 0.8848865032196045, 0.6602604389190674, 0.5435354709625244, 0.10094306617975235, -0.08986426889896393, 1.0062015056610107, -0.7506186366081238, -0.6260935068130493, -1.0326952934265137, 0.1804543286561966, 0.3890545964241028, -0.25726428627967834, 0.32054027915000916, 0.7429166436195374, 0.8557453751564026, 0.023948395624756813, 0.7012296915054321, 0.31135550141334534, 0.08873232454061508, -0.7410632371902466, 0.7126362323760986, -0.5882591009140015, 0.2426326721906662, 0.12670515477657318, -0.7183740735054016, 0.006087492685765028, 0.6127293109893799, 0.051801647990942, -0.08664588630199432, 0.4756503105163574, 0.8722442984580994, -0.13207867741584778, -0.03799871355295181, 0.5753284692764282, 0.12468783557415009, 0.3273760974407196, 0.5918975472450256, 0.7017263770103455, -0.4034573435783386, 0.21911181509494781, -0.43075689673423767, 0.07353141903877258, -0.40730392932891846, -0.8574097752571106, -0.7834857106208801, -0.5372356176376343, -0.3505800664424896, -0.25944480299949646, 0.039537038654088974, 1.1102789640426636, 1.0592992305755615, -0.7747989296913147, -0.07690827548503876, -0.01630202680826187, -0.09901789575815201, -0.22344867885112762, -0.08744604885578156, 0.3384346067905426, -0.35447612404823303, -0.4186379015445709, 0.19262883067131042, 0.15025362372398376, 0.2614932358264923, -0.42625871300697327, -0.015084929764270782, 0.21994532644748688, 0.22882723808288574, 0.5994661450386047, 0.0062713040970265865, -0.450324147939682, -0.239225372672081, -0.36765357851982117, -0.28404590487480164, 0.18357546627521515, 0.8972281217575073, -0.7421296238899231, 0.47549402713775635, 0.3078921139240265, 1.0372560024261475, 0.8443741202354431, -0.0026176143437623978, 0.374288409948349, -0.8148029446601868, 0.1419488489627838, 0.05232815816998482, 0.29480186104774475, 0.18971548974514008, -0.4811916947364807, 0.30718106031417847, -0.27542644739151, -0.36455395817756653, -0.7800690531730652, 0.12755157053470612, -0.9039439558982849, -0.44158005714416504, 0.9655827283859253, 0.06717707961797714, -0.10921328514814377, 0.2225741446018219, -0.03817998245358467, 0.19620771706104279, -0.39860251545906067, 0.8119937777519226, 0.839884877204895, 0.1727495640516281, -0.1414192020893097, -0.7543066143989563, 0.5274850130081177, 0.35982516407966614, -0.6710068583488464, 0.5796740651130676, 0.4801061749458313, 0.4465266764163971, -0.04520920291543007, 0.728428065776825, 0.17389315366744995, 0.27739712595939636, 0.3034002184867859, 0.15111973881721497, -0.5193819999694824, -0.6726245284080505, -0.6945239901542664, 0.07362958788871765, 0.4426528215408325, -0.48401549458503723 ]
http://arxiv.org/abs/2402.10189v2
http://arxiv.org/pdf/2402.10189v2
Uncertainty Quantification for In-Context Learning of Large Language Models
2024-02-15T18:46:24
2024-03-28T19:41:34
Chen Ling, Xujiang Zhao, Xuchao Zhang, Wei Cheng, Yanchi Liu, Yiyou Sun, Mika Oishi, Takao Osaki, Katsushi Matsuda, Jie Ji, Guangji Bai, Liang Zhao, Haifeng Chen
cs.CL
cs.CL, cs.LG
In-context learning has emerged as a groundbreaking ability of Large Language Models (LLMs) and revolutionized various fields by providing a few task-relevant demonstrations in the prompt. However, trustworthy issues with LLM's response, such as hallucination, have also been actively discussed. Existing works have been devoted to quantifying the uncertainty in LLM's response, but they often overlook the complex nature of LLMs and the uniqueness of in-context learning. In this work, we delve into the predictive uncertainty of LLMs associated with in-context learning, highlighting that such uncertainties may stem from both the provided demonstrations (aleatoric uncertainty) and ambiguities tied to the model's configurations (epistemic uncertainty). We propose a novel formulation and corresponding estimation method to quantify both types of uncertainties. The proposed method offers an unsupervised way to understand the prediction of in-context learning in a plug-and-play fashion. Extensive experiments are conducted to demonstrate the effectiveness of the decomposition. The code and data are available at: https://github.com/lingchen0331/UQ_ICL.
[ -0.3063257932662964, -1.2042394876480103, 0.8342509269714355, 0.11422770470380783, -0.114475779235363, 0.17575430870056152, -0.4936829209327698, -0.2089853435754776, -0.04230697825551033, 0.15751288831233978, -0.47727662324905396, -0.3621982932090759, -0.5131635665893555, -0.21527987718582153, -0.34208977222442627, 0.46791037917137146, -0.20774616301059723, 0.06953165680170059, -0.48269394040107727, 0.00868907105177641, -0.2710481882095337, -0.5157912969589233, -0.20416413247585297, -0.42266935110092163, 0.11462271213531494, 0.38721799850463867, 0.3818073570728302, 0.1893211156129837, 0.059306271374225616, 0.22875399887561798, -0.3076872229576111, 0.05591496080160141, -0.19664114713668823, 0.3155328035354614, 0.022336183115839958, -0.4577323794364929, -0.06740099936723709, -0.307293176651001, 0.7620607614517212, 1.0496100187301636, -0.20521201193332672, 0.09164763242006302, 0.2541181445121765, 0.2855355143547058, -0.7828332185745239, 0.12886863946914673, -0.7826941013336182, 0.21569395065307617, 0.14609543979167938, -0.05565907433629036, -0.5107188820838928, -0.02659461833536625, 0.35629382729530334, -0.6321905851364136, -0.12980429828166962, 0.15337668359279633, 0.5591144561767578, 0.5689029097557068, -0.48258739709854126, -0.24286691844463348, -0.9102035760879517, 0.8836289048194885, -0.5675287246704102, 0.5473716259002686, 0.49695315957069397, 0.38304468989372253, -0.36496180295944214, -0.6901405453681946, -0.5606297254562378, 0.021113278344273567, -0.019765174016356468, 0.07971467077732086, -0.0633167251944542, -0.17023496329784393, 0.078334741294384, 0.2990732789039612, -0.37675800919532776, 0.26332801580429077, 0.005005401559174061, -0.3211342990398407, 0.19165660440921783, -0.0061769066378474236, 0.03779220208525658, 0.006756131071597338, -0.6838422417640686, 0.10691617429256439, -0.7266484498977661, 0.0873759537935257, 0.23129665851593018, 0.14050936698913574, -0.2939358949661255, 0.442270964384079, -0.0999421551823616, 0.5334994792938232, -0.00622556684538722, -0.08095262199640274, 0.2553892731666565, 0.12244231253862381, -0.45753398537635803, 0.0173483993858099, 0.7018629908561707, -0.12315250188112259, -0.02749602124094963, -0.2871295213699341, -0.4295944571495056, -0.1149921789765358, 0.06344978511333466, -0.6183816194534302, 0.002199264708906412, 0.4972727596759796, -0.04142418131232262, -0.19387458264827728, 0.15464115142822266, -0.6273826956748962, -0.37455084919929504, -0.2700704038143158, 0.7205504179000854, -0.37431642413139343, -0.14935821294784546, 0.116944320499897, 0.30335789918899536, -0.005170509684830904, 0.45929694175720215, -0.5267004370689392, 0.17032282054424286, 0.5807687640190125, 0.5929649472236633, -0.17755979299545288, -0.44205349683761597, -0.5517353415489197, 0.2116711437702179, -0.29412633180618286, 0.5469534397125244, -0.4236460030078888, -0.2197587788105011, 0.2539825141429901, -0.10326707363128662, -0.054420825093984604, -0.44388601183891296, 0.20954866707324982, -0.5783922672271729, 0.08895771950483322, -0.09102936089038849, -0.9811103343963623, -0.21200773119926453, 0.22761456668376923, -0.5950911045074463, 0.8629046082496643, 0.20978944003582, -0.8218082189559937, 0.3252037465572357, -0.2625385522842407, -0.18048597872257233, 0.13156570494174957, -0.45197200775146484, -0.5214111804962158, 0.46232420206069946, 0.14422205090522766, 0.6061322689056396, -0.12505099177360535, 0.5039277672767639, -0.3354319930076599, -0.5640192627906799, 0.9255977272987366, -0.5896294713020325, 0.7158131003379822, 0.12854163348674774, -0.3661492168903351, -0.019596949219703674, -0.6077796816825867, 0.011942845769226551, -0.11239396035671234, -0.24007335305213928, -0.26253652572631836, 0.004503148607909679, -0.09289991110563278, 0.14922814071178436, 0.227974534034729, -0.3487339913845062, -0.08979785442352295, -0.4908294081687927, 0.3156124949455261, 0.7367458939552307, 0.27875763177871704, 0.525776743888855, -0.00028545805253088474, 0.5289738178253174, 0.1357792466878891, 0.1107804924249649, -0.17228585481643677, -0.3635670840740204, -0.43952327966690063, -0.16490328311920166, 0.2687644362449646, 0.24957497417926788, -0.6369003057479858, 0.41814708709716797, -0.09491371363401413, -0.24495309591293335, -0.12064678966999054, -0.08841089904308319, 0.5174821615219116, 0.35881826281547546, 0.24444136023521423, -0.012893596664071083, -0.2726386487483978, -0.5131304264068604, -0.21726951003074646, -0.37852880358695984, -0.3549148738384247, 0.16397589445114136, 0.6185979247093201, -0.33039742708206177, 0.8313470482826233, -0.2669549882411957, -0.08509178459644318, 0.016533996909856796, 0.22587361931800842, -0.1914772093296051, 0.3912612497806549, 0.10830888152122498, -0.7864176630973816, -0.4488692581653595, 0.09234299510717392, -0.6006991267204285, 0.1605885922908783, -0.24425247311592102, 0.12032242864370346, 0.3281377851963043, 0.6489158272743225, -0.5091215372085571, 0.5685378909111023, 0.5413287281990051, -0.13034069538116455, 0.5581554174423218, -0.26734068989753723, -0.07318858802318573, -1.067065715789795, -0.18917380273342133, -0.02925718016922474, -0.05679568275809288, -0.49114879965782166, 0.2294445037841797, 0.32529306411743164, 0.32837972044944763, -0.4908420443534851, 0.5380604863166809, -0.3824639916419983, -0.3480852246284485, 0.009708989411592484, 0.06696059554815292, -0.12892162799835205, 0.5006296038627625, 0.1513158231973648, 0.682025134563446, 0.7222163081169128, -0.5413697957992554, -0.0393136665225029, 0.11918161064386368, -0.6780832409858704, 0.3676607608795166, -0.5280913710594177, -0.008597468957304955, 0.10946952551603317, 0.2920111417770386, -0.9153067469596863, -0.656349241733551, 0.1781555712223053, -0.5825744867324829, 0.29528242349624634, -0.024882687255740166, -0.5634811520576477, 0.1327955573797226, -0.04452985152602196, 0.5388419032096863, 0.2743254005908966, -0.6659067869186401, 0.5992634892463684, 0.41225868463516235, 0.15621425211429596, -0.7331346273422241, -0.5414650440216064, -0.2357608824968338, -0.43493515253067017, -0.12114531546831131, 0.3857041299343109, -0.2288637012243271, -0.5773206353187561, -0.29929158091545105, -0.3222757875919342, -0.1796274334192276, 0.4438362717628479, 0.4728242754936218, 0.04972923547029495, 0.06548420339822769, 0.3070732057094574, 0.3025023341178894, 0.07988323271274567, 0.3356640338897705, -0.2707139253616333, 0.4918104112148285, -0.3720833957195282, -0.862438440322876, -0.16179783642292023, 0.13438931107521057, 0.5301225185394287, -0.04661181941628456, 0.687704861164093, 0.6485732197761536, -0.693452775478363, -0.5885718464851379, -0.3353351354598999, -0.2295302301645279, -0.4568864703178406, 0.36236992478370667, -0.17856097221374512, -0.9180402159690857, 0.8417659401893616, -0.17697566747665405, -0.22514474391937256, 0.0787414014339447, 0.7125712633132935, -0.1588876098394394, 0.7405633926391602, 0.5234926342964172, 0.22556574642658234, 0.2914324104785919, -0.15722018480300903, 0.21747268736362457, -0.8071866631507874, -0.6118392944335938, -0.38351792097091675, 0.010561445727944374, -0.3588961064815521, -0.5103657841682434, 0.5486052632331848, 0.04782281816005707, -0.37365058064460754, -0.09370499104261398, 0.02919899858534336, 0.4417523145675659, 0.3433448374271393, 0.07373472303152084, 0.3337365686893463, 0.13189658522605896, -0.27215397357940674, 0.1160522997379303, -0.38457202911376953, -0.4376325011253357, 1.0606759786605835, 0.44498342275619507, 0.7631871700286865, 0.35600921511650085, 0.5824223160743713, 0.01610749028623104, -0.0030575839336961508, -0.9756669998168945, 0.24909505248069763, 0.447234570980072, -0.5001905560493469, -0.5563904643058777, -0.4686257541179657, -0.7064754366874695, 0.2981991767883301, -0.1327274888753891, -1.1228183507919312, 0.16820205748081207, 0.011517512612044811, -0.5732357501983643, 0.27417227625846863, -0.4484542906284332, 0.666930079460144, -0.06719285249710083, -0.3307201862335205, 0.006737060379236937, -0.8931444883346558, 0.1598823219537735, -0.5285040140151978, 0.36560022830963135, 0.25803086161613464, -0.08080177009105682, 0.3755481243133545, -0.2517556846141815, 1.0102617740631104, 0.04959975928068161, -0.3129202425479889, 0.21914173662662506, 0.3745321035385132, 0.6420615315437317, 0.3604394197463989, 0.08736220002174377, 0.03709415718913078, -0.03681504353880882, -0.20381905138492584, -0.6403366327285767, 0.6267220377922058, -0.7269412279129028, -0.3295232355594635, -0.30595749616622925, -0.6198729872703552, -0.5008001923561096, -0.21277524530887604, 0.6170204281806946, 0.47058966755867004, -0.2582349181175232, 0.13869939744472504, 1.1189528703689575, -0.3825819194316864, 0.5468684434890747, 0.33388733863830566, -0.3952135741710663, -0.11188220232725143, 0.7374901175498962, 0.13085637986660004, 0.4689599573612213, 0.5500264167785645, 0.20576587319374084, -0.34898123145103455, -0.5998935699462891, -0.288970410823822, 0.05115791782736778, -0.8968099355697632, -0.01428751740604639, -0.45927321910858154, -0.058201439678668976, -0.12332739681005478, -0.25560688972473145, -0.37876689434051514, -0.40404388308525085, -0.5280724167823792, -0.2540811598300934, 0.08215852826833725, 0.8600220680236816, 0.18239381909370422, 0.46089357137680054, -0.3373422920703888, -0.2729451060295105, 0.3607717454433441, 0.3669450283050537, -0.06733899563550949, -0.8907149434089661, -0.5436052083969116, 0.12053435295820236, -0.09516417980194092, -0.8147680163383484, 0.5199164152145386, 0.2307216376066208, 0.6646709442138672, 0.6008706092834473, 0.32407432794570923, 0.590354859828949, -0.24936158955097198, 0.9073681235313416, -0.0464228093624115, -1.1395660638809204, 0.32014548778533936, -0.19983962178230286, 0.07195722311735153, 0.39365914463996887, 0.4199530780315399, -0.1888170838356018, -0.5704436898231506, -0.7457882165908813, -0.9049510955810547, 0.39288240671157837, 0.026211099699139595, 0.030994649976491928, 0.14928753674030304, 0.30000218749046326, 0.22700083255767822, 0.319955050945282, -0.6207883954048157, -0.2103867381811142, 0.05430634319782257, 0.03473373129963875, -0.13267406821250916, -0.27246326208114624, -0.1319257766008377, -0.34522008895874023, 0.4971790611743927, -0.24605417251586914, 0.3092699646949768, -0.21012942492961884, -0.5210376381874084, -0.325273334980011, 0.18404564261436462, 0.5961102247238159, 0.8658398985862732, -0.36445581912994385, 0.3642546236515045, 0.2975045144557953, -0.27661556005477905, 0.0863032415509224, -0.24844980239868164, -0.06261880695819855, 0.050094783306121826, 0.5096731781959534, 0.7855726480484009, 0.4579622745513916, -0.8194736838340759, 0.6881176829338074, -0.0797911211848259, 0.005166761111468077, -0.9455646872520447, -0.3694307506084442, -0.0995655208826065, 0.373785138130188, 0.4054632782936096, 0.1417628675699234, 0.21631966531276703, -0.4035229980945587, 0.3524698317050934, 0.34452617168426514, -0.583880603313446, -0.5279532670974731, 0.6101380586624146, -0.22204981744289398, -0.21923498809337616, 0.24870267510414124, -0.3366626501083374, -0.5165570974349976, 0.6010196208953857, 0.6884613633155823, 0.8809094429016113, -0.2909311354160309, 0.28852584958076477, 0.17099899053573608, 0.14000865817070007, -0.1179150640964508, 0.02315591089427471, 0.0006463203462772071, -0.8040001392364502, -0.43606963753700256, -0.6719144582748413, -0.6636330485343933, 0.17129534482955933, -0.9410085678100586, 0.036286164075136185, -0.1920728236436844, 0.028562473133206367, -0.3934158384799957, -0.10524459183216095, -0.5331272482872009, 0.06838459521532059, 0.2581583261489868, 0.6271793246269226, -1.1228328943252563, 0.920590877532959, 0.802543044090271, -0.20029012858867645, -0.9463567733764648, 0.6213034987449646, 0.11618876457214355, -0.4538859724998474, 0.4321090877056122, 0.13109926879405975, -0.193711519241333, -0.16058853268623352, -0.5418119430541992, -0.7948992848396301, 1.0872409343719482, 0.5511688590049744, -0.22972288727760315, 0.15506333112716675, 0.08828853070735931, 0.32927611470222473, -0.45825842022895813, 0.2838883697986603, 0.44371992349624634, 0.24408620595932007, 0.21032880246639252, -0.6703765988349915, -0.012643096037209034, 0.17599861323833466, 0.11195475608110428, -0.06510422378778458, -0.37338942289352417, 1.0653975009918213, -0.15727460384368896, -0.3182753324508667, -0.06468706578016281, 0.7232394814491272, 0.2880699038505554, 0.292080283164978, 0.3363368511199951, 0.34857627749443054, 1.0303324460983276, -0.008982406929135323, 0.9225915670394897, -0.24929098784923553, 0.5675867795944214, 1.1690990924835205, -0.11647114157676697, 0.9640012979507446, 0.8542738556861877, -0.2898947298526764, 0.44443416595458984, 0.9571446776390076, 0.5582144260406494, 0.4318957030773163, 0.18643704056739807, -0.5017174482345581, -0.3879558742046356, 0.03838527202606201, -0.22086215019226074, 0.44609642028808594, 0.8163687586784363, -0.22469303011894226, 0.08671221137046814, 0.07819858938455582, -0.02396235056221485, 0.08488592505455017, -0.014981617219746113, 0.6290783286094666, 0.06157568842172623, -0.6266000270843506, 0.517512857913971, -0.14634191989898682, 0.47540736198425293, -0.2774365544319153, 0.0323835164308548, -0.20604434609413147, 0.10908999294042587, -0.021520139649510384, -0.6983541250228882, 0.13122053444385529, -0.38170063495635986, 0.12985378503799438, 0.05097080022096634, 0.18435382843017578, -0.5663087368011475, -0.4710763990879059, 0.41396889090538025, 0.6722416281700134, 0.2374984472990036, -0.30069661140441895, -0.2972869873046875, 0.2104203701019287, -0.04601424187421799, -0.4422312378883362, 0.6226545572280884, 0.8155990839004517, -0.0044484250247478485, 0.8490421772003174, 0.016901256516575813, -0.15437127649784088, 0.07805819809436798, -0.028336884453892708, 0.7331569790840149, 0.05958839878439903, -0.21472902595996857, -0.8768758773803711, 0.5478805899620056, 0.28193986415863037, -0.3749133348464966, 0.7886677384376526, 0.36342570185661316, 1.1912753582000732, -0.24659620225429535, 0.7557631134986877, 0.1828475445508957, 0.2746356427669525, -0.6117885708808899, 0.6732946038246155, -0.6554116606712341, 0.6880775690078735, -0.35707753896713257, -0.8424020409584045, -0.4230031669139862, 0.7661871910095215, -0.07688555866479874, -0.20974022150039673, 0.8270826935768127, 0.8152165412902832, -0.06512506306171417, 0.03439144790172577, 0.5694755911827087, 0.09806916117668152, -0.05310631915926933, 0.42051833868026733, 1.045913815498352, -0.23962582647800446, 0.12119708210229874, -0.47024789452552795, -0.20728643238544464, -0.3047315776348114, -0.80986487865448, -0.7035142779350281, -1.0304327011108398, -0.3590146005153656, -0.3121592402458191, -0.3107554018497467, 1.1996055841445923, 0.36874231696128845, -0.870214581489563, -0.4082140624523163, -0.04409592226147652, 0.22453178465366364, -0.3667082190513611, -0.09731819480657578, 0.4829839766025543, -0.35357600450515747, -0.7455804347991943, 0.37985318899154663, -0.04477911815047264, 0.14208334684371948, -0.5179166793823242, -0.33906012773513794, -0.00013210764154791832, 0.21497869491577148, 0.5364770293235779, 0.10533156245946884, -1.037872076034546, -0.4294678568840027, -0.005818861536681652, 0.16375257074832916, -0.12175875157117844, 0.47801217436790466, -0.7644591331481934, 0.5187184810638428, 0.16903477907180786, 0.6737815141677856, 0.49143174290657043, -0.1495792120695114, 0.5320249199867249, -1.12001633644104, 0.08381135016679764, 0.15178517997264862, 0.6043645739555359, 0.21882177889347076, -0.4088028371334076, 0.3447449803352356, 0.09214962273836136, -0.5930631756782532, -1.1331881284713745, 0.44368836283683777, -0.7831889390945435, -0.4788089990615845, 1.2954280376434326, -0.43851596117019653, -0.22361619770526886, -0.22655922174453735, 0.3414817154407501, 0.2739036977291107, -0.1985199749469757, 0.8924782276153564, 0.589168131351471, 0.19477902352809906, 0.04956590011715889, -0.6855950951576233, 0.30589529871940613, 0.27527573704719543, -0.59939044713974, 0.1513456553220749, 0.6095165014266968, 0.09775573015213013, 0.07639888674020767, 0.020662259310483932, 0.07952264696359634, 0.033101338893175125, -0.046516723930835724, 0.059075843542814255, 0.08508865535259247, -0.7028640508651733, -0.5841554999351501, 0.24412985146045685, 0.17205475270748138, -0.0037501652259379625 ]
http://arxiv.org/abs/2402.10184v5
http://arxiv.org/pdf/2402.10184v5
Reward Generalization in RLHF: A Topological Perspective
2024-02-15T18:39:24
2024-06-16T21:25:50
Tianyi Qiu, Fanzhi Zeng, Jiaming Ji, Dong Yan, Kaile Wang, Jiayi Zhou, Yang Han, Josef Dai, Xuehai Pan, Yaodong Yang
cs.LG
cs.LG, cs.AI, cs.CL, cs.DM
Existing alignment methods share a common topology of information flow, where reward information is collected from humans, modeled with preference learning, and used to tune language models. However, this shared topology has not been systematically characterized, nor have its alternatives been thoroughly explored, leaving the problems of low data efficiency and unreliable generalization unaddressed. As a solution, we introduce a theoretical framework for investigating reward generalization in reinforcement learning from human feedback (RLHF), focusing on the topology of information flow at both macro and micro levels. At the macro level, we portray the RLHF information flow as an autoencoding process over behavior distributions, formalizing the RLHF objective of distributional consistency between human preference and model behavior. At the micro level, we present induced Bayesian networks as a theory of reward generalization in RLHF, introducing fine-grained dataset topologies into generalization bounds. Combining analysis on both levels, we propose reward modeling from tree-structured preference information. It is shown to reduce reward uncertainty by up to $\Theta(\log n/\log\log n)$ times compared to baselines, where $n$ is the dataset size. Validation on three NLP tasks shows that our tree-based reward model achieves an average win rate of 65% against baseline methods, thus improving reward generalization for free via topology design.
[ -0.12319625914096832, -0.6981976628303528, 0.28469735383987427, -0.14635540544986725, -0.08277641236782074, -0.22971104085445404, -0.20265379548072815, -0.2462945133447647, 0.5337334275245667, 0.39857569336891174, -0.7170466184616089, -0.43298226594924927, -0.7059566974639893, -0.24761977791786194, -0.0027022354770451784, 1.1807829141616821, 0.16672687232494354, -0.2854950428009033, -0.1027187630534172, -0.15483178198337555, -0.20366771519184113, -0.6990563273429871, -0.8228963017463684, -0.5772830247879028, 1.2110130786895752, 0.4736461937427521, 0.7483558058738708, 1.006941556930542, 0.7360678315162659, 0.25395697355270386, 0.11994102597236633, -0.10475696623325348, -0.6100525856018066, 0.1601288914680481, -0.3862961232662201, -0.4176296591758728, -0.44385093450546265, 0.08656484633684158, 0.6584140062332153, 0.7343295216560364, -0.8742833733558655, -0.0018714917823672295, 0.2349538654088974, 1.1050523519515991, -0.6690614223480225, 0.4500187337398529, -0.26470762491226196, 0.23732496798038483, -0.06657124310731888, -0.3998596966266632, -0.19730237126350403, -0.6178200244903564, 0.2054305374622345, -0.7714872360229492, 0.12482564896345139, 0.14559505879878998, 0.7394616603851318, 0.42439112067222595, -0.328690767288208, -0.23021697998046875, -0.7205142974853516, 0.5281306505203247, -0.5448272228240967, 0.15399546921253204, 0.4409545063972473, 0.4415721595287323, -0.16117991507053375, -0.3542291224002838, -0.1389959454536438, -0.10268783569335938, -0.3131870925426483, 0.02932995930314064, -0.029775790870189667, 0.4496816098690033, 0.12828610837459564, 0.44923925399780273, -0.5482357144355774, 0.13281874358654022, -0.09643665701150894, 0.222190722823143, 0.75306236743927, 0.2662056088447571, 0.1749306172132492, -0.11728652566671371, -0.24993421137332916, -0.7381415367126465, -0.6329851746559143, 0.590811550617218, 0.5057033896446228, 0.4963688552379608, -0.17516526579856873, 0.5550385117530823, -0.375438928604126, 0.8647922277450562, 0.11758935451507568, 0.01607031561434269, -0.1105131208896637, -0.1442638486623764, -0.185881108045578, -0.17631277441978455, 0.7175638675689697, 0.3508821725845337, 0.4668271243572235, -0.27872058749198914, -0.24109315872192383, -0.025972427800297737, 0.5081381797790527, -0.6732785105705261, -0.3351242244243622, 0.10778980702161789, -0.6787067651748657, -0.6321518421173096, 0.27892929315567017, -0.6346553564071655, -0.5424245595932007, -0.24411875009536743, 0.26130667328834534, -0.13309571146965027, -0.5283459424972534, 0.12711504101753235, -0.23870019614696503, 0.44202834367752075, 0.22393669188022614, -1.3420829772949219, 0.4360123872756958, 0.769468367099762, 0.5467491149902344, -0.3640267848968506, -0.3626612424850464, -0.6852883696556091, 0.28349730372428894, -0.3697216808795929, 0.6664475202560425, -0.5060564875602722, -0.29612866044044495, 0.06312226504087448, 0.0725393295288086, -0.24789217114448547, -0.6809664964675903, 0.33192962408065796, -0.5993196368217468, 0.042468324303627014, -0.11531167477369308, -0.6837447285652161, -0.12523484230041504, 0.21298232674598694, -0.732304036617279, 0.6453099846839905, 0.18565376102924347, -0.9427772760391235, 0.5355263948440552, -0.7888321280479431, -0.27692562341690063, -0.08871037513017654, -0.23416009545326233, -0.36144307255744934, 0.1250130832195282, -0.07378864288330078, 0.34241044521331787, -0.06893519312143326, 0.6991903781890869, -0.44967758655548096, -0.367620050907135, 0.07485458999872208, -0.0230482779443264, 0.4281710088253021, 0.04976772144436836, -0.5136352181434631, 0.4644392132759094, -0.2963552474975586, -0.15644729137420654, 0.0891624167561531, -0.47268998622894287, -0.3823575973510742, 0.22262097895145416, -0.29411378502845764, 0.019458916038274765, -0.12024351954460144, -0.4573787748813629, 0.6569207310676575, -0.35799646377563477, 0.1223679631948471, 0.991021990776062, -0.0017606327310204506, 0.6044701933860779, -0.5102662444114685, 0.6127285361289978, 0.051099177449941635, 0.15632010996341705, 0.44413119554519653, -0.3884802460670471, -0.5015602707862854, 0.032889802008867264, 0.49323898553848267, 0.5495535731315613, -0.42722415924072266, 0.41111037135124207, -0.23533745110034943, -0.15788717567920685, -0.2875734269618988, -0.27527672052383423, 0.3736874759197235, 0.3608408272266388, 0.2770841121673584, -0.36370575428009033, -0.15185320377349854, -1.0353537797927856, -0.25983935594558716, -0.3571675419807434, -0.04186687618494034, 0.6826584935188293, 0.21599191427230835, -0.06522002071142197, 0.8672990798950195, -0.46107369661331177, -0.24392889440059662, -0.19372500479221344, 0.3454570770263672, 0.5475682020187378, 0.848456859588623, 0.20489594340324402, -0.6560347080230713, -0.1296202391386032, 0.029466522857546806, -0.6132169365882874, 0.2386612892150879, 0.0837927758693695, -0.07763007283210754, 0.15111283957958221, 0.24541136622428894, -0.2615821957588196, 0.6417185068130493, 0.4723937511444092, -0.5960057377815247, 0.37449780106544495, -0.2152140885591507, 0.1808047592639923, -0.5930894017219543, 0.15983609855175018, -0.19757631421089172, -0.2683801054954529, -0.34836748242378235, 0.046615153551101685, -0.15705864131450653, 0.09199187159538269, 0.11300399154424667, 0.5366070866584778, -0.09766972064971924, -0.31909993290901184, -0.2798922657966614, -0.2401709109544754, -0.41148582100868225, 0.9390883445739746, 0.4377877116203308, 0.2680109441280365, 0.34671515226364136, -0.7809637188911438, 0.5286639332771301, -0.11741705983877182, -0.17411918938159943, 0.5990200638771057, -0.9582513570785522, -0.19288446009159088, -0.2187156081199646, 0.4963279366493225, -0.8115436434745789, -0.4070313572883606, 0.5036126375198364, -0.5876686573028564, 0.37638822197914124, -0.261501282453537, -0.28948912024497986, 0.004423127043992281, -0.21463291347026825, 0.6262776851654053, 0.3240989148616791, -0.5396800637245178, 0.2493767887353897, 0.4064914882183075, -0.04821394756436348, -0.697204053401947, -0.4388808310031891, -0.32437649369239807, -0.375767320394516, -0.402981698513031, 0.3371618688106537, -0.046784065663814545, -0.07323060929775238, 0.055591288954019547, 0.07195289433002472, 0.031517721712589264, 0.2522156238555908, 0.37244799733161926, 0.0693536028265953, 0.027296876534819603, 0.37698987126350403, -0.13828955590724945, -0.25239965319633484, 0.1471126228570938, -0.6497091054916382, 0.24121470749378204, -0.13441544771194458, -0.3555012047290802, -0.37060174345970154, 0.42316505312919617, -0.02867284044623375, 0.08415544033050537, 0.730230987071991, 0.5564826130867004, -0.2039400339126587, -0.062250908464193344, -0.2361430823802948, -0.641033947467804, -0.3631440997123718, 0.11173860728740692, -0.259712815284729, -1.151301622390747, 0.18486011028289795, 0.041766706854104996, 0.13215993344783783, 0.4388950765132904, 0.3604218661785126, -0.18297800421714783, 0.9945907592773438, 0.8762989044189453, -0.16560353338718414, 0.5633285045623779, -0.378911554813385, -0.06978730857372284, -0.5537579655647278, -0.22855032980442047, -0.35066625475883484, -0.7157905101776123, -0.8717277646064758, -0.17813149094581604, 0.3391090929508209, 0.3448854684829712, -0.39534351229667664, 0.09549467265605927, -0.5695931911468506, 0.2736712694168091, 0.9053307771682739, 0.03744269534945488, 0.15609778463840485, 0.07773172110319138, -0.35937929153442383, 0.1871563196182251, -1.2251982688903809, 0.02750326879322529, 0.9886778593063354, 0.4009344279766083, 0.88922518491745, 0.23833271861076355, 0.8785614967346191, 0.49801814556121826, 0.17517340183258057, -0.7966707348823547, -0.00016651344776619226, 0.05632154271006584, -0.30679407715797424, -0.8161653876304626, -0.5181364417076111, -1.3199793100357056, 0.055860430002212524, -0.23252074420452118, -0.8472417593002319, 0.5486680865287781, 0.441288560628891, -0.3508349657058716, 0.4107357859611511, -0.3419441878795624, 1.0221428871154785, 0.05619385093450546, -0.4843732714653015, -0.45700782537460327, -0.8985945582389832, 0.4101240932941437, 0.6228464245796204, 0.18997342884540558, 0.07897605001926422, 0.28339964151382446, 0.916896641254425, -0.5326859354972839, 0.7375389933586121, -0.3209240138530731, -0.010473375208675861, 0.058626629412174225, 0.12420885264873505, 0.793182373046875, 0.14983215928077698, 0.1498805731534958, -0.20164702832698822, 0.0737699568271637, -0.5498396754264832, -0.8032835125923157, 0.363235741853714, -0.8312975168228149, -0.4034537672996521, -0.4998869001865387, -0.5864270329475403, -0.24698302149772644, -0.18798384070396423, 0.18930765986442566, 0.3841695785522461, -0.06594646722078323, 0.18660664558410645, 0.8191913962364197, -0.16899210214614868, 0.21701358258724213, 0.19708147644996643, -0.41916581988334656, -0.35109081864356995, 0.9079158902168274, -0.37998950481414795, 0.20025946199893951, 0.636337399482727, 0.4393310546875, -0.4351978003978729, -0.15747323632240295, -0.44901230931282043, 0.3695780634880066, -0.38664278388023376, -0.15211836993694305, -0.39776676893234253, -0.14749717712402344, -0.4195607900619507, -0.12846215069293976, -0.2778705060482025, -0.6461158394813538, 0.1389470249414444, -0.16793055832386017, 0.32459741830825806, 1.2331756353378296, -0.5086677670478821, 0.3246855139732361, -0.5104970335960388, 0.15724767744541168, 0.749138355255127, 0.6855894923210144, 0.1050412580370903, -0.33848699927330017, -0.401300847530365, 0.09516526013612747, 0.03995466232299805, -0.8660550713539124, 0.30128222703933716, -0.06884840875864029, 0.521536648273468, 0.38519561290740967, -0.02221718430519104, 0.24072960019111633, -0.056602299213409424, 0.4099186956882477, 0.22566154599189758, -0.4872850775718689, 0.42622140049934387, -0.6380506753921509, 0.1062433123588562, 0.33665329217910767, 0.26518556475639343, -0.8499575257301331, -0.10603714734315872, -0.977296769618988, -0.5922874808311462, 0.8168622851371765, -0.12027926743030548, -0.401793509721756, 0.14094962179660797, 0.5043507218360901, -0.1086842343211174, 0.29111355543136597, -0.9061945676803589, -0.21285930275917053, -0.2528454661369324, -0.060989074409008026, -0.19839449226856232, -0.23473301529884338, -0.3196472227573395, -0.2329002022743225, 0.5395783185958862, -0.30608975887298584, 0.43065375089645386, 0.2093471735715866, 0.08735521137714386, -0.2531232237815857, 0.3241700530052185, 0.427446186542511, 0.46808040142059326, -0.5700227618217468, 0.2085442990064621, -0.4135971665382385, 0.10207532346248627, 0.3550666272640228, -0.1513272225856781, 0.041439082473516464, -0.29196715354919434, 0.2731418311595917, 0.8469607830047607, 0.1091558039188385, -0.13409124314785004, 0.5560535192489624, -0.1440621316432953, -0.3422960340976715, 0.027594249695539474, 0.28116482496261597, 0.31655585765838623, 0.2638872265815735, 0.021246427670121193, -0.3910481035709381, 0.31628450751304626, -0.5079084634780884, 0.31864476203918457, 0.6842469573020935, -0.7370254993438721, -0.1536611020565033, 0.30091583728790283, 0.08281214535236359, -0.34230414032936096, 0.7811896204948425, -0.2832801640033722, -0.28082412481307983, 0.6884653568267822, 0.37522247433662415, 0.8987346887588501, -0.2197403609752655, 0.4531606137752533, 0.7286356687545776, 0.09979307651519775, 0.05712277069687843, -0.014674569480121136, -0.5033477544784546, -0.7062361836433411, -0.1659291386604309, -0.7361274361610413, -0.48871052265167236, -0.21517987549304962, -0.7511537075042725, -0.16321757435798645, -0.38062575459480286, -0.03180897608399391, -0.22033992409706116, -0.24427787959575653, -0.49131515622138977, 0.08626104891300201, -0.03790522366762161, 0.5641707181930542, -0.6989349722862244, 0.9364973902702332, 0.8179268836975098, -0.21938194334506989, -0.9964655637741089, -0.1780572533607483, -0.09873709082603455, -0.7407972812652588, 0.8575161695480347, -0.04779199883341789, -0.22290436923503876, -0.020453350618481636, -0.44714948534965515, -1.0112656354904175, 1.1427464485168457, -0.13507091999053955, -0.2914060950279236, -0.29482656717300415, 0.08895893394947052, 0.3379705846309662, -0.6345049738883972, 0.3526228368282318, 0.4862273335456848, 0.528764009475708, 0.15268045663833618, -0.7087207436561584, -0.17112021148204803, -0.24033068120479584, 0.21124744415283203, 0.3055470883846283, -0.34571272134780884, 0.6758518218994141, -0.1965986043214798, -0.23235714435577393, -0.2872079312801361, 0.4239034652709961, 0.45992934703826904, -0.0383547842502594, 0.7489994168281555, 0.6049389839172363, 0.5898172855377197, 0.0766787901520729, 1.1912028789520264, -0.1480054259300232, 0.5321653485298157, 0.9690347909927368, 0.2742617428302765, 0.6459825038909912, 0.4579136073589325, -0.3231809437274933, 0.8793436288833618, 0.9305538535118103, 0.5002941489219666, 0.5688673257827759, 0.8096644878387451, 0.2496388703584671, -0.1783117949962616, -0.3499806523323059, -0.36369165778160095, 0.1343574821949005, 0.2551786005496979, -0.24149835109710693, -0.2632150948047638, -0.4257316291332245, -0.31838008761405945, -0.12495014071464539, -0.28067877888679504, 1.0705946683883667, -0.09507402777671814, -0.9965664148330688, 0.5843431949615479, -0.05750398337841034, 0.637118935585022, -0.6779280304908752, -0.2808031141757965, -0.36877575516700745, 0.12688980996608734, -0.24979186058044434, -0.6932772994041443, 0.38953959941864014, -0.5159905552864075, -0.27810725569725037, -0.31422510743141174, 0.6398603916168213, -0.5593592524528503, -0.0979018285870552, 0.47693678736686707, 0.42112022638320923, 0.1229531392455101, -0.022616885602474213, -0.7467271685600281, -0.4894265830516815, -0.10783073306083679, -0.2751666307449341, 0.5158970952033997, 0.20908989012241364, -0.019218582659959793, 0.5570974946022034, 0.5111607313156128, 0.13339099287986755, -0.05333346128463745, -0.014924779534339905, 0.5645483136177063, -0.8049489855766296, -0.7800154685974121, -0.6971197724342346, 0.39275380969047546, 0.05158007889986038, -0.15078359842300415, 0.14964018762111664, 0.25065985321998596, 0.712463915348053, 0.019082529470324516, 0.4650946855545044, 0.0692703127861023, 0.5507016777992249, -0.5117096304893494, 0.4158947467803955, -0.6041736602783203, -0.031695980578660965, -0.30404821038246155, -0.7821868658065796, -0.1394452452659607, 0.598170280456543, -0.024736154824495316, 0.07266774028539658, 0.6151971220970154, 0.7075306177139282, -0.187641441822052, -0.0042753866873681545, 0.15074275434017181, -0.18220679461956024, 0.06784258037805557, 0.8482497334480286, 0.8738301396369934, 0.07276071608066559, 0.08866618573665619, -0.455671489238739, -0.5587345361709595, -0.3558473587036133, -0.8678575754165649, -0.38990384340286255, -0.6673255562782288, -0.1081901341676712, -0.31961697340011597, 0.2595718204975128, 0.8499417901039124, 0.9028747081756592, -0.8010931611061096, -1.0351202487945557, -0.4816115200519562, 0.6501424312591553, -0.5206424593925476, -0.3158508539199829, 0.4236605763435364, -0.6037331223487854, -0.2825596034526825, 0.07560110837221146, 0.4254952073097229, -0.16350440680980682, -0.1654711812734604, -0.4184459447860718, -0.38105443120002747, -0.07263608276844025, 0.2345060557126999, 0.48955634236335754, -0.5965014100074768, -0.30921581387519836, -0.14543627202510834, -0.11232049763202667, 0.11745268106460571, 1.1640782356262207, -0.82100510597229, 0.30173295736312866, 0.5189710855484009, 0.7925512790679932, 0.5386462211608887, 0.3435373306274414, 0.8272325396537781, -0.5700376629829407, -0.07335663586854935, 0.08614709228277206, 0.2156151682138443, 0.10380250215530396, -0.3547709584236145, 0.8405645489692688, 0.41449230909347534, -0.8602713346481323, -0.4233109652996063, 0.5939089059829712, -0.6775153279304504, -0.2484520971775055, 1.0571528673171997, -0.14149035513401031, -0.26427915692329407, 0.1678241789340973, 0.1761307418346405, 0.3294881284236908, -0.46053290367126465, 0.865849494934082, 0.7005528211593628, -0.47358253598213196, -0.13858211040496826, -0.13346779346466064, 1.0982743501663208, 0.6851961016654968, -0.8225857019424438, 0.2647075653076172, 0.4935827851295471, 0.02702164463698864, -0.04777439311146736, 0.9330803751945496, 0.1066894382238388, 0.43241095542907715, -0.41121071577072144, 0.1531887650489807, 0.13866928219795227, -0.5284693837165833, -0.6635172963142395, 0.14375744760036469, 0.42397546768188477, -0.15439192950725555 ]
http://arxiv.org/abs/2402.10978v1
http://arxiv.org/pdf/2402.10978v1
Language Models with Conformal Factuality Guarantees
2024-02-15T18:31:53
2024-02-15T18:31:53
Christopher Mohri, Tatsunori Hashimoto
cs.LG
cs.LG, cs.AI, cs.CL
Guaranteeing the correctness and factuality of language model (LM) outputs is a major open problem. In this work, we propose conformal factuality, a framework that can ensure high probability correctness guarantees for LMs by connecting language modeling and conformal prediction. We observe that the correctness of an LM output is equivalent to an uncertainty quantification problem, where the uncertainty sets are defined as the entailment set of an LM's output. Using this connection, we show that conformal prediction in language models corresponds to a back-off algorithm that provides high probability correctness guarantees by progressively making LM outputs less specific (and expanding the associated uncertainty sets). This approach applies to any black-box LM and requires very few human-annotated samples. Evaluations of our approach on closed book QA (FActScore, NaturalQuestions) and reasoning tasks (MATH) show that our approach can provide 80-90% correctness guarantees while retaining the majority of the LM's original output.
[ 0.014770688489079475, -0.4952625334262848, 0.8074039220809937, 0.054010819643735886, 0.21717427670955658, -0.27822962403297424, -0.5243472456932068, -0.3750755786895752, -0.14573010802268982, 0.7995831370353699, -0.4569193124771118, -0.49902740120887756, -0.5472003817558289, -0.2341650128364563, -0.2654518783092499, 0.9675422310829163, -0.016933612525463104, -0.17973309755325317, -0.3769429624080658, -0.05736490711569786, -0.4455801844596863, -0.5631657242774963, -0.23193582892417908, -0.2517314851284027, 0.31974807381629944, 0.21277576684951782, 1.1939976215362549, 0.779399037361145, 0.48318472504615784, 0.19991084933280945, -0.05607670545578003, -0.22635503113269806, -0.3844183385372162, 0.18971242010593414, -0.322531133890152, -0.8122203946113586, -0.35239169001579285, 0.045888010412454605, 0.880206286907196, 0.6037454605102539, -0.4490607976913452, 0.2337702512741089, -0.3066393733024597, 0.8079307079315186, -0.8225429058074951, 0.40023738145828247, -0.6898640990257263, 0.00899101234972477, 0.10746627300977707, 0.3913760483264923, -0.7489364147186279, -0.8066403269767761, 0.0702073723077774, -0.6415020227432251, 0.21369227766990662, 0.08174872398376465, 1.0257757902145386, 0.44619524478912354, -0.2814590632915497, -0.3018772602081299, -1.1541481018066406, 0.6692026257514954, -1.1280651092529297, 0.8305286169052124, 0.5806657075881958, 0.49642857909202576, -0.10919926315546036, -0.4778830409049988, -0.7622334957122803, -0.27837783098220825, -0.07082118839025497, 0.17602886259555817, 0.05468197166919708, 0.07126712054014206, 0.37507644295692444, 0.22902563214302063, -0.4030696749687195, -0.2757052481174469, -0.6010617613792419, -0.24088634550571442, 0.6826516389846802, -0.22773832082748413, 0.012300780043005943, 0.24101011455059052, 0.06623250246047974, -0.06524006277322769, -0.8570280075073242, 0.15681274235248566, 0.2393142580986023, 0.3050804138183594, -0.032162558287382126, 0.6489142179489136, -0.4064544141292572, 0.6348311305046082, 0.21902501583099365, -0.23983801901340485, -0.22972477972507477, -0.35333123803138733, -0.222449392080307, 0.036603137850761414, 0.6318214535713196, 0.0061402879655361176, 0.5732353925704956, -0.28077948093414307, -0.2999045252799988, 0.14035101234912872, 0.15870314836502075, -0.5555347800254822, -0.17503604292869568, 0.5341140031814575, -0.0512680783867836, -0.2519236207008362, 0.2741762697696686, -0.34901878237724304, -0.16939373314380646, -0.26395100355148315, 0.2913421094417572, -0.5874172449111938, -0.2615688443183899, 0.3871147334575653, 0.31077927350997925, -0.33554568886756897, 0.29051169753074646, -0.7075805068016052, 0.24202221632003784, 0.7895256280899048, 0.6192582249641418, 0.08753596991300583, -0.04208427295088768, -0.6176209449768066, 0.7054259181022644, -0.4902288019657135, 0.5097551345825195, -0.5983671545982361, -0.014175508171319962, 0.34898242354393005, -0.09715909510850906, 0.01929033175110817, -0.32131099700927734, 0.5561390519142151, -0.6913376450538635, 0.0824378952383995, -0.2573164403438568, -0.8013743758201599, -0.3596256375312805, 0.30377843976020813, -0.8616824746131897, 0.49273523688316345, -0.11141200363636017, -0.5307515263557434, 0.31318870186805725, -0.16221480071544647, -0.16810519993305206, -0.12655752897262573, -0.023562194779515266, -0.4201361835002899, -0.0077485875226557255, -0.19431519508361816, 0.26086732745170593, -0.060057323426008224, 0.46663400530815125, -0.4686180353164673, -0.261989563703537, 0.4429274797439575, -0.18182672560214996, 0.32774800062179565, 0.07326453179121017, -0.20783135294914246, -0.018770990893244743, -0.8346850872039795, 0.21249981224536896, -0.27634096145629883, -0.5867534875869751, -0.11080106347799301, 0.09206085652112961, -0.3139992356300354, 0.4343990385532379, 0.3331962823867798, -0.7220882177352905, -0.13191719353199005, -0.7146143317222595, 0.06823454797267914, 0.7388440370559692, -0.15019884705543518, 0.4464639127254486, -0.5487600564956665, 0.3579505681991577, 0.15246281027793884, 0.013112403452396393, -0.015625936910510063, -0.7714478373527527, -0.6182981729507446, -0.17019833624362946, 0.4464816749095917, 0.6790225505828857, -0.22389549016952515, 0.40935182571411133, -0.13425177335739136, -0.45233267545700073, -0.3531420826911926, -0.03467336297035217, 0.6627302169799805, 0.2513366639614105, -0.11033623665571213, 0.04846305772662163, -0.4683898091316223, -0.8026366233825684, -0.431972861289978, -0.6605880856513977, 0.0541352853178978, -0.1689530462026596, 0.19119928777217865, -0.03753313422203064, 1.1828677654266357, -0.6029676795005798, -0.27502673864364624, 0.22667470574378967, -0.09765668958425522, 0.5098188519477844, 0.5651657581329346, 0.3224920332431793, -0.8680770397186279, -0.4353853464126587, 0.02596447244286537, -0.6715549826622009, 0.171697199344635, -0.026884568855166435, 0.049582768231630325, 0.5745145678520203, 0.3890625238418579, -0.5857336521148682, 0.6377342343330383, 0.6176292896270752, -0.36297163367271423, 0.7120101451873779, -0.26972588896751404, 0.021999523043632507, -0.9394983053207397, -0.23124158382415771, 0.21794812381267548, -0.4395013451576233, -0.4918730556964874, 0.05307300388813019, 0.06080913543701172, -0.08012006431818008, -0.049700137227773666, 0.39409300684928894, -0.15449674427509308, 0.02745736762881279, -0.03199521824717522, -0.022601883858442307, 0.01469764206558466, 0.45896756649017334, 0.33155837655067444, 0.5257400274276733, 0.38991066813468933, -0.5051484107971191, 0.2759331166744232, 0.29012632369995117, -0.04869024455547333, 0.425327330827713, -0.7318065166473389, -0.18956907093524933, -0.25439557433128357, 0.14445190131664276, -0.8723942041397095, -0.1351962685585022, 0.054388388991355896, -0.3937610387802124, 0.17020931839942932, -0.10957404226064682, -0.2650729715824127, -0.040882088243961334, -0.08119621872901917, 0.1819007247686386, 0.7957730889320374, -0.09226994216442108, 0.4435180127620697, 0.1453978270292282, -0.2664490342140198, -0.6745501160621643, -0.626128077507019, -0.22297774255275726, 0.360895037651062, -0.667812168598175, -0.02360924705862999, -0.3991684317588806, -0.3897985517978668, 0.03323157876729965, -0.11879715323448181, -0.3024972379207611, -0.08981900662183762, 0.4115864634513855, 0.3132990002632141, -0.49285027384757996, 0.14189957082271576, -0.06914643198251724, 0.12498223036527634, 0.17896820604801178, -0.5123472213745117, 0.001703718793578446, -0.5054351687431335, -0.6203638911247253, -0.3462378680706024, 0.023376300930976868, 0.4469946026802063, -0.1092095822095871, 0.9616929292678833, 0.3647104799747467, -0.7775053977966309, 0.057712018489837646, -0.7087902426719666, -0.25962477922439575, -0.4018581509590149, 0.12489382177591324, -0.44451698660850525, -0.666046679019928, 0.45778927206993103, 0.3218228220939636, 0.353667289018631, 0.42481908202171326, 0.619964599609375, -0.08026198297739029, 0.840644359588623, 0.6631519794464111, 0.2767602205276489, 0.1478339284658432, 0.11203257739543915, 0.39516979455947876, -0.37770259380340576, -0.1969052106142044, -0.48614171147346497, 0.3034483790397644, -0.5380423069000244, -0.37543338537216187, 0.19438551366329193, 0.23322607576847076, -0.1703602522611618, 0.2425461709499359, -0.23482279479503632, 0.4114406704902649, 0.6621376276016235, 0.09541191905736923, 0.6446646451950073, -0.22493049502372742, -0.05254277586936951, -0.1145988330245018, -0.5091500282287598, -0.8139479756355286, 1.1101471185684204, 0.36674851179122925, 0.7086397409439087, 0.35718342661857605, 0.6250149607658386, 0.37213802337646484, 0.5915855169296265, -0.6079967617988586, 0.37870630621910095, 0.08592285215854645, -1.0514854192733765, -0.6469758152961731, -0.266664981842041, -0.2998548150062561, -0.1011195257306099, -0.43240341544151306, -0.8924541473388672, 0.29996538162231445, 0.5179874897003174, -0.26180315017700195, 0.31786686182022095, -0.5196646451950073, 0.6185505986213684, 0.4632302224636078, -0.26263755559921265, -0.18363764882087708, -0.6578418612480164, 0.7883345484733582, -0.39080190658569336, 0.536679208278656, -0.28627240657806396, 0.23196804523468018, 0.5192772150039673, -0.40522435307502747, 1.000084638595581, 0.046841274946928024, -0.4527691602706909, 0.274825781583786, 0.5663880705833435, 0.7189199924468994, 0.3450652062892914, -0.3478943407535553, 0.17307345569133759, 0.6816011071205139, -0.3748117685317993, -0.6908952593803406, 0.4478733241558075, -0.5549866557121277, -0.8397328853607178, -0.4988155663013458, -0.6552267074584961, -0.4273381531238556, 0.16100797057151794, 0.2315184623003006, 0.17565466463565826, -0.29635554552078247, -0.25960710644721985, 0.9067487716674805, 0.0938398614525795, 0.13957327604293823, 0.5490692257881165, -0.2203027307987213, -0.2943258583545685, 0.9874513745307922, 0.11331555992364883, 0.5712343454360962, 0.29293569922447205, 0.25051164627075195, -0.2965606153011322, -0.49213066697120667, -0.23712584376335144, 0.4787554144859314, -0.9160918593406677, -0.11701492220163345, -0.36536893248558044, -0.3782028555870056, -0.8936815857887268, -0.10681107640266418, -0.4361339211463928, -0.765344500541687, 0.2949393093585968, 0.06819819658994675, 0.09873569756746292, 0.9796642065048218, -0.24822896718978882, 0.08280956000089645, -1.0126800537109375, 0.2561314105987549, 0.3262689709663391, 0.46832334995269775, -0.2801603078842163, -0.6439489126205444, -0.42849302291870117, 0.47247833013534546, -0.3217516839504242, -0.7341326475143433, 0.08271834999322891, 0.4447649419307709, 0.24201329052448273, 0.5089686512947083, 0.30345016717910767, 0.10272520035505295, -0.6427534222602844, 0.6132248044013977, 0.33504801988601685, -1.0296262502670288, 0.5975722074508667, -0.2535494863986969, 0.00407251575961709, 0.2025603950023651, 0.2550122141838074, -0.780602753162384, -0.9997411370277405, -0.7192074060440063, -0.1406172513961792, 0.646798849105835, 0.46311214566230774, -0.28251710534095764, 0.11782777309417725, 0.4804253876209259, 0.21855634450912476, 0.25464311242103577, -0.75146484375, 0.06684912741184235, -0.31339773535728455, -0.5434737801551819, 0.04722859710454941, -0.39577358961105347, -0.3208378255367279, 0.22216378152370453, 1.1236214637756348, -0.1949055939912796, 0.0015628699911758304, 0.20111317932605743, 0.03383522853255272, -0.44464048743247986, 0.41838201880455017, 0.6822707056999207, 1.1358221769332886, -0.555357813835144, 0.08616860210895538, -0.05256695672869682, -0.5054291486740112, 0.27137771248817444, -0.12959404289722443, -0.5514764785766602, 0.1744844913482666, 0.33768606185913086, 0.41771894693374634, -0.10393805801868439, -0.7491692304611206, 0.528830349445343, 0.14531131088733673, 0.10222744941711426, -0.5086615085601807, -0.054706934839487076, 0.19088128209114075, 0.19108764827251434, 0.15741951763629913, 0.20439203083515167, 0.025072520598769188, -0.44274047017097473, 0.4212152659893036, 0.24465090036392212, -0.5274112224578857, -0.73555588722229, 0.808427631855011, -0.16844584047794342, -0.2959008514881134, 0.09594772756099701, 0.1047360897064209, -0.2843538820743561, 0.6753992438316345, 0.8007622361183167, 0.7520976066589355, -0.3577982485294342, 0.27540460228919983, 0.4867395758628845, 0.48054039478302, -0.415494829416275, 0.26344284415245056, 0.44654619693756104, -1.0516135692596436, -0.47325432300567627, -0.7572272419929504, -0.785033106803894, -0.2678734064102173, -0.6921589970588684, 0.21050050854682922, -0.6099548935890198, -0.10385163873434067, 0.033989571034908295, -0.43969830870628357, -0.3400088846683502, 0.5900152325630188, 0.27196136116981506, 0.8623483180999756, -0.8164035677909851, 0.7284491658210754, 0.7086935639381409, -0.5740017294883728, -0.754945695400238, 0.15371207892894745, -0.17116636037826538, -0.5642149448394775, 0.7706363201141357, -0.25252673029899597, -0.06904309242963791, -0.32206854224205017, -0.6084185242652893, -1.0727242231369019, 0.7144976258277893, 0.8305978775024414, -0.7238882184028625, -0.1639925241470337, 0.3399416506290436, 0.256744384765625, -0.2228652834892273, -0.273355633020401, 0.4666706919670105, 0.615567684173584, 0.2778918147087097, -0.8614833354949951, 0.44073233008384705, 0.3121144771575928, 0.07365591824054718, -0.026796890422701836, -0.50091552734375, 0.6622552275657654, -0.5758612155914307, -0.20330430567264557, -0.05226242542266846, 1.0764325857162476, 0.5914912819862366, 0.34710896015167236, 0.3128514587879181, 0.4376032054424286, 0.8518802523612976, -0.14248675107955933, 1.0433365106582642, -0.39140963554382324, 0.5158577561378479, 1.084600567817688, -0.39874401688575745, 0.8242204189300537, 0.38049063086509705, -0.4013548791408539, 0.4669657051563263, 0.5095590353012085, 0.3602134883403778, 0.38970476388931274, 0.0694333165884018, -0.15204812586307526, -0.29785677790641785, -0.04380425065755844, -0.16071194410324097, 0.03999275341629982, 0.23947682976722717, 0.04765269160270691, 0.06171838566660881, -0.29236242175102234, 0.09074599295854568, 0.5200555920600891, -0.06067497655749321, 0.5591174960136414, 0.07463095337152481, -0.7706559300422668, 0.7206639051437378, 0.10698023438453674, 0.3802907466888428, -0.48542702198028564, -0.0809561163187027, -0.06918653845787048, 0.231294646859169, -0.29741108417510986, -0.7256783843040466, 0.5768952965736389, -0.5293933153152466, -0.6495342254638672, 0.21151404082775116, 0.6353861093521118, -0.8238649368286133, -0.8133124113082886, -0.29953503608703613, 0.30943724513053894, -0.0114425765350461, -0.1188567653298378, -0.18400606513023376, -0.2557596266269684, -0.1884593665599823, -0.08024322986602783, -0.08607693761587143, 0.6794533729553223, -0.14744040369987488, 0.749934196472168, 0.497211754322052, 0.47771114110946655, 0.2882496118545532, -0.2788412868976593, 0.5474879145622253, -0.6502290964126587, -0.5936965346336365, -0.6818309426307678, 0.2348388284444809, 0.02483271062374115, -0.006916737649589777, 0.38483673334121704, 0.4430474638938904, 0.7704514265060425, -0.29641351103782654, 1.0803930759429932, 0.1644173562526703, 0.43956637382507324, -0.7583234906196594, 0.6970374584197998, -0.06768273562192917, 0.18788115680217743, 0.018553510308265686, -0.8763611912727356, -0.22822412848472595, 0.4112911522388458, -0.1907520443201065, -0.15575537085533142, 0.8665279150009155, 0.6868234872817993, -0.16285179555416107, 0.023575881496071815, 0.7074490785598755, 0.28236207365989685, 0.30776095390319824, 0.5470795035362244, 0.43565836548805237, -0.5503029823303223, 0.44177424907684326, -0.23083452880382538, -0.16760578751564026, -0.05893079191446304, -0.8175399303436279, -0.7541961669921875, -0.8550446629524231, -0.7011600732803345, -0.8448792695999146, 0.2573409378528595, 0.6567433476448059, 0.6930781602859497, -1.3201535940170288, -0.3238459527492523, 0.05354798212647438, 0.4789934456348419, -0.28129279613494873, -0.1926906406879425, 0.17494414746761322, -0.4201493263244629, -0.7499277591705322, 0.015759821981191635, 0.2903374433517456, 0.20331868529319763, -0.19140924513339996, -0.23331420123577118, -0.24598294496536255, 0.5839034914970398, 0.2652515470981598, 0.36457833647727966, -0.8430790901184082, -0.6186753511428833, -0.18074734508991241, -0.1699291318655014, 0.04004393517971039, 0.6547054648399353, -0.6212560534477234, 0.1779591292142868, 0.28661906719207764, 0.5689945220947266, 0.3961559236049652, -0.1770484745502472, 1.151689887046814, -0.8022828698158264, 0.22342199087142944, 0.17494405806064606, 0.4253706634044647, 0.26222726702690125, -0.5726593732833862, 0.5789108872413635, 0.30269479751586914, -0.35357576608657837, -0.8617005944252014, 0.7028701901435852, -0.8431248664855957, 0.012749580666422844, 1.2665976285934448, -0.6116457581520081, -0.41652899980545044, -0.1417609006166458, 0.15345498919487, 0.3819318413734436, -0.31112173199653625, 0.8874466419219971, 0.9672872424125671, 0.3254484534263611, 0.07856755703687668, -0.3598405718803406, 0.7013648748397827, 0.30808624625205994, -0.5349881052970886, 0.26350030303001404, 0.597116231918335, 0.4336947500705719, 0.47589433193206787, 0.33418744802474976, -0.024176273494958878, 0.3864278793334961, -0.38491714000701904, 0.3621951937675476, -0.020824672654271126, -0.1493964046239853, -0.13706108927726746, 0.25040867924690247, 0.2775367796421051, -0.02811882458627224 ]
http://arxiv.org/abs/2402.10178v1
http://arxiv.org/pdf/2402.10178v1
TDAG: A Multi-Agent Framework based on Dynamic Task Decomposition and Agent Generation
2024-02-15T18:27:37
2024-02-15T18:27:37
Yaoxiang Wang, Zhiyong Wu, Junfeng Yao, Jinsong Su
cs.CL
cs.CL
The emergence of Large Language Models (LLMs) like ChatGPT has inspired the development of LLM-based agents capable of addressing complex, real-world tasks. However, these agents often struggle during task execution due to methodological constraints, such as error propagation and limited adaptability. To address this issue, we propose a multi-agent framework based on dynamic Task Decomposition and Agent Generation (TDAG). This framework dynamically decomposes complex tasks into smaller subtasks and assigns each to a specifically generated subagent, thereby enhancing adaptability in diverse and unpredictable real-world tasks. Simultaneously, existing benchmarks often lack the granularity needed to evaluate incremental progress in complex, multi-step tasks. In response, we introduce ItineraryBench in the context of travel planning, featuring interconnected, progressively complex tasks with a fine-grained evaluation system. ItineraryBench is designed to assess agents' abilities in memory, planning, and tool usage across tasks of varying complexity. Our experimental results reveal that TDAG significantly outperforms established baselines, showcasing its superior adaptability and context awareness in complex task scenarios.
[ -0.35147684812545776, -0.7116613388061523, 0.6784935593605042, 0.45930376648902893, -0.0369856096804142, 0.8355402946472168, -0.25541093945503235, -0.17259690165519714, 0.1080564633011818, 0.017253883183002472, -0.7690379619598389, -0.43768030405044556, -0.18204668164253235, -0.24382050335407257, -0.18024638295173645, 0.6609516739845276, -0.19949384033679962, -0.4031221866607666, -0.1354912668466568, 0.004563876893371344, -0.6317818760871887, -0.43732455372810364, -0.8019016981124878, -0.6084731221199036, 0.5087644457817078, 0.5191071629524231, 0.4396926164627075, 0.3050386905670166, 0.36641445755958557, 0.3359316289424896, 0.11795778572559357, 0.2332805097103119, -0.43326854705810547, 0.29050666093826294, -0.5504041314125061, -0.013212021440267563, -0.7795801162719727, -0.5222736597061157, 0.6457775235176086, 0.3436742126941681, -0.5040990114212036, 0.21282941102981567, -0.23057356476783752, 0.1332322508096695, -0.603067934513092, 0.4463781416416168, -0.547451376914978, -0.0714605450630188, -0.1308642327785492, -0.18732024729251862, -0.1834123432636261, 0.1528065949678421, 0.08311684429645538, -0.5145452618598938, 0.11192108690738678, -0.03916074335575104, 0.582119345664978, 0.2792155146598816, -0.5475178360939026, -0.15289223194122314, -0.9334061145782471, 0.6417490839958191, -0.3189845383167267, 0.08067800104618073, -0.0886651873588562, 0.786968469619751, -0.4553365409374237, -0.8132534027099609, -0.670840859413147, -0.33747151494026184, 0.21367748081684113, 0.05102202668786049, -0.15022672712802887, 0.12528569996356964, -0.13063503801822662, -0.0464925691485405, -0.6694974899291992, -0.021381936967372894, 0.08574138581752777, -0.06618279963731766, 0.42417797446250916, 0.5565667152404785, 0.5085543990135193, 0.18781952559947968, -0.30483049154281616, 0.010923647321760654, -0.358828067779541, -0.08707725256681442, -0.016375059261918068, 0.45994657278060913, -0.0455879308283329, 0.3409349322319031, -0.4084908962249756, 0.3825366795063019, -0.02162851393222809, -0.32592710852622986, 0.03985517472028732, -0.45370402932167053, -0.23452365398406982, -0.014905554242432117, 0.2202838957309723, 0.3432174324989319, 0.18166305124759674, -0.48460522294044495, -0.2049112319946289, 0.04679444059729576, 0.5015403032302856, -0.832618236541748, -0.1089916005730629, 0.42905867099761963, -0.11687494069337845, -0.24628958106040955, -0.3448067307472229, -0.6394692659378052, -0.3700980842113495, 0.000009160738954960834, 0.3453488349914551, -0.18701259791851044, -0.6305366158485413, 0.0506773442029953, -0.1772114634513855, 0.15522044897079468, 0.6360642313957214, -0.39008989930152893, 0.16170866787433624, 0.4121384918689728, 0.7555899620056152, -0.2743811011314392, -0.7309280633926392, -0.5075924396514893, 0.563080906867981, -0.16958482563495636, 1.2181673049926758, -0.6486344933509827, -0.4706003963947296, 0.008277040906250477, -0.007964929565787315, -0.2917291224002838, -0.40165722370147705, 0.4244355261325836, -0.479208767414093, -0.25668278336524963, -0.42983561754226685, -0.07549992948770523, -0.3467910885810852, 0.8190635442733765, -0.5013428330421448, 0.7829077839851379, 0.5137650966644287, -0.18702155351638794, 0.4592113196849823, -0.8747996091842651, -0.36489689350128174, 0.13746869564056396, -0.08046197146177292, -0.34525081515312195, 0.015227681957185268, -0.13835754990577698, 0.18188776075839996, -0.4788374602794647, 0.4728414714336395, -0.4772327244281769, -0.30358487367630005, -0.06642456352710724, -0.1359562873840332, 0.4751744270324707, 0.21087516844272614, -0.35404762625694275, 0.5037939548492432, -0.9254682064056396, 0.29352763295173645, 0.1309620589017868, -0.7908985614776611, 0.19899043440818787, 0.26796141266822815, 0.3692016005516052, 0.33935290575027466, 0.14307737350463867, -0.3220028281211853, 0.5413323640823364, 0.053401146084070206, 0.3111805319786072, 0.8503351211547852, 0.05557401850819588, 0.3060450255870819, -0.5247463583946228, 0.7564157247543335, 0.04122849181294441, -0.14811402559280396, 0.10375617444515228, 0.14059779047966003, -0.7899523973464966, -0.29934513568878174, -0.08246325701475143, 0.4640315771102905, -0.7995806336402893, 0.19762058556079865, -0.5430465340614319, -0.6951900720596313, 0.2877776026725769, -0.2342763990163803, 0.24280737340450287, 0.18482020497322083, 0.11783082038164139, -0.1088104397058487, -0.3077186942100525, -0.4607762396335602, -0.1643133908510208, -0.3352583646774292, 0.11412937194108963, -0.06310258060693741, 0.4773288667201996, -0.5178698301315308, 0.4604555368423462, -0.22080069780349731, -0.3798747956752777, -0.49983859062194824, -0.03751494735479355, -0.3359839618206024, 0.47140565514564514, 0.8293097615242004, -0.43008026480674744, -0.45223620533943176, 0.04970148950815201, -0.4195244610309601, -0.08821083605289459, -0.3506277799606323, -0.2746509611606598, 0.0749623104929924, 0.19981493055820465, -0.7333969473838806, 0.22447241842746735, 0.12550629675388336, -0.7787489295005798, 0.4715711772441864, -0.266845703125, 0.017562787979841232, -0.9104070067405701, 0.11181370913982391, -0.41358280181884766, -0.4699326753616333, -0.7075260281562805, 0.2834475040435791, -0.2242479920387268, -0.09986478090286255, -0.2421707659959793, 0.7978222370147705, -0.4060085713863373, -0.18651142716407776, -0.49674999713897705, -0.07640102505683899, 0.029003743082284927, 0.7170279026031494, -0.17186255753040314, 0.8288233876228333, 0.4913710951805115, -0.5377116203308105, 0.3345499038696289, 0.11064136028289795, -0.14376652240753174, 0.6919461488723755, -0.3315035104751587, 0.21905098855495453, -0.11338426172733307, 0.40395447611808777, -0.9452440738677979, -0.4137154817581177, 0.13650517165660858, 0.09430850297212601, 0.18645983934402466, 0.15461720526218414, -0.5654439330101013, -0.03675691783428192, -0.2393885999917984, 0.3559459447860718, 0.19627895951271057, -0.3101171851158142, 1.3746933937072754, 0.3874206840991974, -0.020448829978704453, -0.4872278571128845, -0.4025149941444397, 0.3032758831977844, -0.177436962723732, -0.5160241723060608, 0.4613229036331177, -0.19031797349452972, -0.4321175813674927, 0.02371208369731903, -0.532615065574646, -0.2177431583404541, 0.16763794422149658, 0.4222894012928009, -0.18426932394504547, 0.1227886825799942, 0.19783322513103485, 0.01757674105465412, 0.027267031371593475, -0.13211998343467712, -0.15237826108932495, 0.7778072357177734, -0.29203885793685913, -0.3799270689487457, 0.1660609394311905, 0.5603541731834412, 0.8331959843635559, -0.3301866054534912, 0.4529067575931549, 0.8394747972488403, -0.30469104647636414, -0.6329599022865295, -0.3834969401359558, 0.3386472463607788, -0.49727895855903625, 0.43331366777420044, -0.9706342220306396, -0.5447428822517395, 0.7398221492767334, -0.4128197133541107, 0.2986387610435486, 0.207727313041687, 1.0054510831832886, 0.12937846779823303, 0.6121668219566345, 0.8015157580375671, 0.36159569025039673, 0.5815038084983826, -0.02481132000684738, 0.057222675532102585, -0.3948279321193695, -0.3365846872329712, -0.4561493992805481, -0.31629639863967896, -0.4589391350746155, -0.5853912234306335, 0.3306887149810791, -0.4003017246723175, -0.2831241190433502, 0.09936654567718506, -0.2666831314563751, 0.3536781370639801, 0.49895256757736206, -0.02223752997815609, 0.31139716506004333, -0.19105035066604614, 0.0813637524843216, 0.697180986404419, -0.7469888925552368, -0.5334863066673279, 0.8073734641075134, 0.032400187104940414, 0.7115175127983093, 0.2658953368663788, 0.4075435400009155, 0.6584101319313049, 0.1107608750462532, -0.8333877921104431, 0.8442909717559814, 0.17279034852981567, -0.6935830116271973, -0.11385460197925568, -0.06569824367761612, -0.8482821583747864, 0.48236411809921265, 0.028192095458507538, -0.8041139245033264, 0.2120680809020996, 0.011758305132389069, -0.4495343863964081, 0.27242404222488403, -0.868334174156189, 0.6639729738235474, -0.11174262315034866, -0.4271048307418823, -0.4770517945289612, -0.33930882811546326, -0.08437325060367584, -0.28304556012153625, -0.015531416051089764, -0.5598752498626709, -0.11368055641651154, 0.4558296501636505, -0.32010385394096375, 0.5903077721595764, -0.3494584858417511, -0.11306259781122208, 0.43461185693740845, 0.4674132466316223, 0.6019988059997559, 0.05899902805685997, -0.22631922364234924, 0.0692528709769249, 0.27447232604026794, -0.5233083367347717, -0.310495525598526, 0.8574689626693726, -0.5794055461883545, -0.623583197593689, -0.4817875027656555, -1.0335767269134521, -0.2741999328136444, 0.5271968841552734, -0.27323052287101746, 0.22535672783851624, -0.3405485153198242, -0.32476377487182617, -0.09224111586809158, -0.14010252058506012, 0.8227697014808655, 0.6611483693122864, 0.01655757427215576, -0.1055307686328888, 0.8643196225166321, 0.33946460485458374, 0.08396314829587936, 0.23979559540748596, -0.12886932492256165, -0.05433930456638336, -0.8374513387680054, -0.29357364773750305, -0.04688304290175438, -0.8371354937553406, 0.04210447520017624, -0.5888667702674866, 0.1854925900697708, -0.18574677407741547, -0.32564327120780945, -0.4692900478839874, -0.4078565835952759, 0.1233692467212677, 0.03478430584073067, -0.2094125598669052, 0.6308577656745911, 0.08147221803665161, 0.5612999200820923, -0.5461284518241882, 0.40975430607795715, 0.23238369822502136, 0.4087393283843994, -0.18095728754997253, 0.020104769617319107, -0.3772951364517212, -0.31729114055633545, -0.3552004098892212, -0.565980076789856, 0.14889663457870483, 0.19906485080718994, 0.6985670328140259, 0.04377686604857445, 0.20524147152900696, 0.8880681991577148, -0.4700334966182709, 0.6635469198226929, -0.42687082290649414, -0.8385900259017944, 0.15064719319343567, -0.5943419933319092, 0.6469852924346924, 0.46985357999801636, -0.2743946611881256, -0.07979263365268707, -0.34044158458709717, -0.5407013893127441, -0.7571213245391846, 0.8269267082214355, 0.29183125495910645, -0.19446052610874176, 0.447919100522995, 0.06878481060266495, 0.020591232925653458, 0.5000060200691223, -0.6134013533592224, 0.1332607865333557, 0.040455084294080734, 0.048630595207214355, -0.13473467528820038, -0.33472055196762085, -0.3896045386791229, 0.08028321713209152, 0.4873749017715454, -0.24665340781211853, 0.5841357707977295, -0.0493001826107502, -0.10899139940738678, -0.3257904648780823, 0.4131888151168823, 0.7611914873123169, 1.2773637771606445, -0.414349764585495, 0.2029998004436493, 0.12104112654924393, -0.31417134404182434, 0.5050548911094666, 0.19994749128818512, 0.08534631878137589, -0.09215248376131058, 0.5467512011528015, 0.43281686305999756, -0.44492608308792114, -0.9395110607147217, 0.14539189636707306, -0.2399454265832901, 0.06864263117313385, -0.5305176377296448, 0.2800741195678711, -0.015479939058423042, 0.7326563596725464, 0.24301777780056, 0.1736176609992981, 0.04210658371448517, -0.6682556867599487, 0.10053826868534088, 0.3449120819568634, -0.052114177495241165, -0.49007856845855713, 0.5124223828315735, 0.35258349776268005, -0.4885413944721222, 0.057429779320955276, -0.6052069664001465, -0.37508758902549744, 0.7153607606887817, 0.283191978931427, 1.174426794052124, -0.29209601879119873, 0.13957524299621582, 0.05969178304076195, 0.48777565360069275, 0.0017014421755447984, 0.67160964012146, -0.20912852883338928, -0.5354371666908264, -0.40497028827667236, -0.4651901423931122, -0.33254215121269226, -0.1371755301952362, -0.03204008564352989, 0.18383388221263885, -0.4309006631374359, -0.22788195312023163, -0.1460380256175995, -0.010654740035533905, -0.8094527125358582, 0.16928155720233917, -0.052354734390974045, 0.5675984621047974, -0.42806607484817505, 0.9266983270645142, 1.1109980344772339, -0.17844943702220917, -0.820906937122345, 0.5344609618186951, 0.062298115342855453, -0.7238681316375732, 0.4860968589782715, 0.16398529708385468, -0.41294586658477783, -0.007986743003129959, 0.06740999966859818, -0.7325353026390076, 1.1919207572937012, 0.5650975704193115, -0.27218711376190186, -0.5194323658943176, 0.18549026548862457, 0.5225571393966675, -0.2526837885379791, 0.2931404411792755, 0.5549858212471008, 0.5643489956855774, 0.16777780652046204, -1.2146824598312378, 0.36302363872528076, -0.16347451508045197, -0.025613872334361076, 0.05658113583922386, -1.0248531103134155, 0.9044181704521179, -0.1762964278459549, -0.42718496918678284, -0.2744613289833069, 0.08650463819503784, 0.18635468184947968, 0.4339445233345032, 0.734131932258606, 0.24437406659126282, 0.46397098898887634, -0.22224092483520508, 0.7036488652229309, -0.12255845218896866, 0.2664354741573334, 1.235913872718811, -0.48697972297668457, 0.32873252034187317, 0.44966810941696167, 0.03508700802922249, 0.6562076807022095, 0.5704584121704102, 0.27544352412223816, 0.6751235723495483, 0.31763118505477905, -0.3951338827610016, -0.41568800806999207, -0.34421852231025696, -0.01150279026478529, 0.7699189782142639, 0.2614433169364929, 0.2172955572605133, -1.0064928531646729, 0.24755290150642395, 0.05261513218283653, -0.2982518672943115, -0.1680397093296051, 0.6706503629684448, -0.23726628720760345, -0.8433284759521484, 0.6204741597175598, 0.06009009853005409, 0.053805846720933914, -0.7563458681106567, -0.11520188301801682, -0.1238800436258316, 0.43344196677207947, -0.06469549238681793, -0.6183150410652161, 0.3613046109676361, -0.16506387293338776, 0.10119116306304932, -0.3769969940185547, 0.9255892038345337, -0.24847465753555298, -0.1917058229446411, 0.3051854372024536, 0.807887852191925, -0.2149006575345993, -0.2755674123764038, -0.5383710265159607, 0.29229310154914856, -0.06094648689031601, -0.6847200393676758, 0.2513694167137146, 0.5946060419082642, -0.22193805873394012, 1.1197823286056519, 0.2655192017555237, -0.04032598435878754, -0.06450584530830383, -0.1082565188407898, 1.083237648010254, -0.6667105555534363, -0.6122143864631653, -0.8447248935699463, 0.6782201528549194, 0.08188563585281372, 0.18982522189617157, 0.5282764434814453, 0.32124242186546326, 0.6179619431495667, -0.11043033003807068, 0.909553050994873, -0.38408976793289185, 0.1794331818819046, -0.12526361644268036, 0.42579957842826843, -0.6599925756454468, 0.47626930475234985, -0.11054769158363342, -0.8106505274772644, -0.041107095777988434, 0.2435077279806137, 0.12630967795848846, 0.061210185289382935, 0.6906086802482605, 0.6509093046188354, -0.08718128502368927, -0.6149525046348572, 0.20371466875076294, -0.1463375985622406, 1.156031608581543, 0.8169879913330078, 0.7634959816932678, 0.06220778450369835, 0.8424535989761353, -0.05385366082191467, -0.07299376279115677, -0.21183669567108154, -0.8211513161659241, -1.1736034154891968, -0.5590421557426453, -0.3655642867088318, -0.24688895046710968, 0.10035287588834763, 1.07870352268219, 0.7293726205825806, -0.3933446705341339, -0.41434234380722046, -0.22537553310394287, 0.07682515680789948, -0.43912896513938904, -0.19385653734207153, 0.18190114200115204, -0.2894784212112427, -0.805126965045929, 0.5934250354766846, 0.41411763429641724, 0.1320299655199051, -0.3198985159397125, 0.19068408012390137, -0.10013935714960098, 0.21157383918762207, 0.6196545362472534, 0.08154377341270447, -0.4839683771133423, -0.37828776240348816, -0.21571534872055054, -0.009495989419519901, -0.11152338236570358, 0.7394722104072571, -0.5799745321273804, 0.6593199968338013, 0.4797922372817993, 0.6290519833564758, 0.5339159369468689, -0.061271581798791885, 0.5744203329086304, -0.6933067440986633, 0.329135000705719, 0.1733519583940506, 0.19973450899124146, -0.2055833339691162, -0.2750624716281891, 0.6614024043083191, 0.04913339018821716, -0.6304205656051636, -1.0301425457000732, 0.3074759244918823, -1.4740136861801147, -0.4681069254875183, 1.201720118522644, -0.14564841985702515, -0.04482290521264076, -0.25440436601638794, -0.3478105664253235, 0.30352360010147095, -0.6709040999412537, 0.9113143086433411, 0.761085569858551, -0.30290302634239197, 0.04748060181736946, -0.3828042149543762, 0.43997007608413696, 0.2744237780570984, -1.211434006690979, 0.15041594207286835, 0.6056301593780518, 0.3064272403717041, 0.30224260687828064, 0.9649033546447754, 0.494514524936676, 0.11960794776678085, 0.29417434334754944, 0.13753435015678406, -0.3678251802921295, -0.4377388060092926, 0.19086988270282745, 0.6520096659660339, 0.32890942692756653, -0.3182995021343231 ]
http://arxiv.org/abs/2402.10176v1
http://arxiv.org/pdf/2402.10176v1
OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Dataset
2024-02-15T18:26:11
2024-02-15T18:26:11
Shubham Toshniwal, Ivan Moshkov, Sean Narenthiran, Daria Gitman, Fei Jia, Igor Gitman
cs.CL
cs.CL, cs.AI, cs.LG
Recent work has shown the immense potential of synthetically generated datasets for training large language models (LLMs), especially for acquiring targeted skills. Current large-scale math instruction tuning datasets such as MetaMathQA (Yu et al., 2024) and MAmmoTH (Yue et al., 2024) are constructed using outputs from closed-source LLMs with commercially restrictive licenses. A key reason limiting the use of open-source LLMs in these data generation pipelines has been the wide gap between the mathematical skills of the best closed-source LLMs, such as GPT-4, and the best open-source LLMs. Building on the recent progress in open-source LLMs, our proposed prompting novelty, and some brute-force scaling, we construct OpenMathInstruct-1, a math instruction tuning dataset with 1.8M problem-solution pairs. The dataset is constructed by synthesizing code-interpreter solutions for GSM8K and MATH, two popular math reasoning benchmarks, using the recently released and permissively licensed Mixtral model. Our best model, OpenMath-CodeLlama-70B, trained on a subset of OpenMathInstruct-1, achieves a score of 84.6% on GSM8K and 50.7% on MATH, which is competitive with the best gpt-distilled models. We release our code, models, and the OpenMathInstruct-1 dataset under a commercially permissive license.
[ -0.337750107049942, -0.6663009524345398, 0.24055850505828857, 0.03744414821267128, -0.15733517706394196, -0.28164568543434143, -0.369297057390213, 0.08243651688098907, -0.2838927209377289, 0.48324358463287354, -0.8553787469863892, -0.7425795793533325, -0.35566091537475586, -0.06503818184137344, 0.026386683806777, 1.1375641822814941, -0.13345928490161896, 0.3550261855125427, -0.37189626693725586, -0.22390349209308624, -0.27898934483528137, -0.4606795907020569, -0.2998444437980652, -0.22541411221027374, 0.4877386689186096, 0.6324720978736877, 0.7404123544692993, 0.8558439612388611, 0.550139844417572, 0.21614456176757812, 0.11248070746660233, 0.15681329369544983, -0.8482084274291992, -0.17195336520671844, -0.24677754938602448, -0.5322757959365845, -0.7096045017242432, 0.4242510497570038, 0.6631145477294922, 0.7341326475143433, -0.3910161256790161, 0.5085664391517639, -0.19518481194972992, 0.8039445281028748, -0.4665972590446472, 0.4950302541255951, -0.6864398121833801, 0.006665998604148626, -0.5260485410690308, -0.09523942321538925, -0.4657312035560608, -0.7710996270179749, -0.18659426271915436, -0.7822068929672241, 0.022335588932037354, -0.0964634120464325, 0.4635632336139679, 0.5202520489692688, -0.007139990106225014, -0.3975454568862915, -0.34213587641716003, 0.9218218326568604, -0.6545490622520447, 0.27204057574272156, 0.6200271248817444, 0.520111620426178, -0.09735903888940811, -0.37183091044425964, -0.12335578352212906, -0.005611842963844538, 0.25016969442367554, 0.1113993376493454, 0.021932901814579964, -0.02533324994146824, 0.5028309226036072, 0.7105268836021423, -0.6965489983558655, 0.16448524594306946, -0.6694067120552063, -0.05994721129536629, 0.390988826751709, 0.4263625741004944, 0.06404648721218109, 0.20991723239421844, -0.07216617465019226, -0.07126358896493912, -1.1895653009414673, -0.25438982248306274, 0.7380765676498413, 0.2712000012397766, -0.25359591841697693, 0.8128434419631958, 0.019894368946552277, 0.7465645670890808, -0.3199416399002075, -0.16698680818080902, 0.1456054300069809, -0.25009575486183167, -0.2948710322380066, 0.10008349269628525, 0.4413830041885376, -0.009465848095715046, 0.7056233286857605, 0.054534267634153366, -0.18056844174861908, 0.190082848072052, 0.18350332975387573, -0.9735614657402039, -0.32363536953926086, -0.11353079974651337, -0.28172677755355835, -0.3268999457359314, 0.24621595442295074, -0.5762254595756531, 0.02017577923834324, -0.5912051200866699, 0.39716604351997375, -0.36711201071739197, -0.27952611446380615, 0.24654023349285126, 0.23136143386363983, 0.10399169474840164, 0.32210034132003784, -1.0058215856552124, 0.3275303542613983, 0.7813223004341125, 0.9819478392601013, -0.10396037250757217, -0.1222194954752922, -0.5210058689117432, -0.25719332695007324, -0.5398789048194885, 0.3771577775478363, -0.6320489048957825, -0.28203681111335754, -0.00019127095583826303, -0.07951676845550537, -0.1520644873380661, -0.7556734085083008, 0.500880241394043, -0.5156680941581726, 0.47170737385749817, 0.021752096712589264, -0.6287790536880493, -0.023943206295371056, 0.046172134578228, -0.6949993968009949, 0.8071568012237549, 0.7134833335876465, -0.5493836998939514, 0.06726563721895218, -0.8978145122528076, -0.11685888469219208, 0.005130022764205933, -0.277698278427124, -0.567643940448761, 0.25304701924324036, 0.13755957782268524, -0.024684537202119827, -0.46672698855400085, 0.06313075125217438, -0.29340827465057373, -0.3643437325954437, 0.16267643868923187, -0.567363440990448, 0.9990326762199402, 0.3505645990371704, -0.02607126720249653, 0.08902999758720398, -0.7475569844245911, 0.19655853509902954, 0.19551587104797363, -0.49453219771385193, -0.12871398031711578, -0.20501427352428436, -0.3597579300403595, 0.2157885730266571, 0.1595001220703125, -0.6313509941101074, 0.2418789118528366, -0.43762698769569397, 0.3088432252407074, 1.0984793901443481, -0.35053887963294983, 0.2853226661682129, -0.38359642028808594, 0.8927766680717468, 0.04191647842526436, 0.02896757610142231, -0.46430835127830505, -0.5296441316604614, -0.5402727127075195, -0.3711414635181427, 0.3985131084918976, 0.46550142765045166, -0.4492066204547882, 0.2254372388124466, -0.26253852248191833, -0.3471611440181732, -0.8057425022125244, 0.11170757561922073, 0.6231915950775146, 0.612052857875824, 0.2865254878997803, 0.23017725348472595, -0.3956144452095032, -0.8412891030311584, -0.22975440323352814, 0.24723556637763977, -0.22127686440944672, 0.4516439139842987, 0.38155749440193176, 0.21833467483520508, 0.7130295038223267, -0.7133858799934387, -0.2531077265739441, 0.029914213344454765, -0.2129557877779007, 0.5324674248695374, 0.40712159872055054, 0.3855038285255432, -0.4411769211292267, -0.5563757419586182, 0.061382491141557693, -0.7533678412437439, -0.1767754703760147, 0.5146345496177673, -0.19355279207229614, 0.23810528218746185, 0.35633668303489685, -0.48275992274284363, 0.32323840260505676, 0.7142971158027649, -0.2481835037469864, 0.6721370220184326, -0.10183075815439224, -0.022386085242033005, -1.079397201538086, -0.00958765484392643, -0.05365327000617981, -0.07661251723766327, -0.34838545322418213, 0.16337308287620544, 0.0975012555718422, -0.36746305227279663, -0.44280770421028137, 0.4912600517272949, -0.2509586811065674, -0.07252561300992966, 0.10369199514389038, -0.1418846994638443, -0.5255281329154968, 0.5279210209846497, -0.3999674320220947, 1.2527551651000977, 0.4392639398574829, -0.3497641682624817, 0.33482152223587036, 0.36374443769454956, -0.6347182393074036, 0.4100574851036072, -0.6508917212486267, 0.23170939087867737, 0.14163914322853088, -0.054345473647117615, -0.632450520992279, -0.4502337872982025, 0.22397024929523468, -0.3760797083377838, 0.1408044695854187, -0.3831772208213806, -0.5320422053337097, -0.19125159084796906, -0.13403140008449554, 0.446727454662323, 0.7609298229217529, -0.7034267783164978, 0.3401714563369751, 0.25832024216651917, -0.33023419976234436, -0.30099087953567505, -0.4909752905368805, -0.43827152252197266, -0.08466129004955292, -0.7512478232383728, -0.05429113283753395, -0.26019880175590515, -0.281547874212265, 0.06049228459596634, -0.31265872716903687, -0.025975577533245087, -0.01480436883866787, 0.25392264127731323, 0.5010291337966919, -0.5987334847450256, 0.1973750740289688, 0.106875479221344, -0.410423219203949, 0.24667486548423767, -0.4818156361579895, 0.43288734555244446, -0.1841127872467041, -0.5704393982887268, 0.02598590962588787, 0.03389989584684372, 0.6173027753829956, -0.30729079246520996, 0.6151918172836304, 0.25457027554512024, -0.3071250319480896, -0.40947774052619934, -0.13250944018363953, -0.11666902899742126, -0.5275218486785889, 0.41508448123931885, -0.47446519136428833, -0.9930739402770996, 0.24525965750217438, -0.1745413839817047, 0.3446049988269806, 0.38507819175720215, 0.7088977694511414, 0.32933324575424194, 1.1069475412368774, 0.2512195110321045, -0.16133853793144226, 0.3655407130718231, -0.11814696341753006, 0.0772726833820343, -0.6735992431640625, -0.13033346831798553, -0.5231923460960388, -0.18167845904827118, -0.5806858539581299, -0.4459523856639862, 0.5039768815040588, -0.07383854687213898, -0.37416017055511475, 0.09678921103477478, -0.3535791039466858, 0.9394704699516296, 0.5386524200439453, 0.21049706637859344, 0.2847629189491272, 0.4709278643131256, -0.31846392154693604, -0.1555381417274475, -0.7340127825737, -0.36615684628486633, 1.4555836915969849, 0.39964401721954346, 1.0220930576324463, 0.2651364505290985, 0.40069881081581116, -0.10454890131950378, 0.380142480134964, -0.6518276333808899, 0.48180660605430603, -0.365578293800354, -0.6269335150718689, -0.2585722804069519, -0.9107653498649597, -0.7366746068000793, -0.10051586478948593, 0.2169409692287445, -0.31504225730895996, -0.5833317637443542, 0.12250042706727982, 0.09673100709915161, 0.3442283570766449, -0.7121222615242004, 0.941718578338623, 0.020195748656988144, -0.4505355656147003, -0.3966568410396576, -0.2574693262577057, 0.6172313094139099, -0.18763893842697144, 0.23067481815814972, -0.20034338533878326, 0.12815049290657043, 0.41806283593177795, -0.6434115767478943, 0.5139682292938232, -0.24432994425296783, -0.40930455923080444, 0.22590965032577515, 0.3165702223777771, 0.31040504574775696, 0.17717261612415314, -0.2580599784851074, 0.2912319004535675, -0.32172030210494995, -0.4515385329723358, -0.5899945497512817, 0.8835057616233826, -0.880768895149231, -0.5131316781044006, -0.12556467950344086, -0.7602083086967468, -0.08443442732095718, 0.03687949851155281, 0.266577810049057, 0.8269482851028442, -0.05077510327100754, 0.3001486361026764, 0.9745951294898987, -0.13013342022895813, 0.1427251696586609, 0.47277384996414185, -0.24652199447155, -0.6333779692649841, 1.2175939083099365, 0.11427752673625946, 0.5211480259895325, 0.056704454123973846, 0.3740798234939575, -0.24378462135791779, -0.3202877938747406, -0.6114591956138611, 0.24004600942134857, -0.680037796497345, -0.32636573910713196, -0.07337809354066849, -0.5352099537849426, -0.10898876935243607, -0.003474086057394743, -0.3709217309951782, -0.5796928405761719, -0.3373733162879944, 0.05492447316646576, 0.39578670263290405, 0.9233062267303467, 0.03736558556556702, 0.0578003004193306, -0.6193928718566895, 0.1653289496898651, 0.2179887741804123, 0.8346590995788574, -0.2508903741836548, -0.7551257610321045, -0.516015887260437, 0.31565484404563904, -0.24437133967876434, -0.37940293550491333, 0.04457623139023781, 0.2133459746837616, 0.4952787160873413, 0.41003766655921936, -0.27291056513786316, 0.48261865973472595, -0.6583728194236755, 0.42415452003479004, 0.061198532581329346, -0.7377801537513733, 0.5868737101554871, -0.6696018576622009, 0.5972270369529724, 0.29121002554893494, 0.5087617635726929, -0.14786604046821594, -0.1062321737408638, -0.37642702460289, -0.1037420704960823, 1.1192286014556885, 0.3255678415298462, 0.04914040118455887, 0.10532645136117935, 0.3224090337753296, 0.36808502674102783, 0.2760576009750366, -0.48893871903419495, -0.32342851161956787, -0.3432265818119049, -0.6657630205154419, -0.01686464063823223, 0.12873141467571259, -0.249394953250885, -0.44425755739212036, 0.6434229016304016, -0.2381240725517273, 0.10933007299900055, -0.33105695247650146, -0.12266872078180313, -0.34931936860084534, 0.1573944389820099, 0.9264766573905945, 1.0094691514968872, -0.26168203353881836, -0.08955428749322891, -0.07886023819446564, -0.7310753464698792, 0.11748506873846054, 0.10451505333185196, -0.04372011870145798, -0.17825204133987427, 0.13287071883678436, 0.8525056838989258, 0.23223429918289185, -0.6574777960777283, 0.3642578721046448, 0.10095500200986862, -0.5920548439025879, -0.19272074103355408, 0.4122869372367859, 0.07592448592185974, -0.0526445135474205, 0.15802037715911865, -0.12423066049814224, -0.363909512758255, -0.3820735216140747, 0.12397164851427078, 0.3828556537628174, -0.21036744117736816, -0.49596986174583435, 0.5765640735626221, -0.040521446615457535, -0.48688095808029175, 0.8789941668510437, -0.17378176748752594, -0.3859674632549286, 0.6299571990966797, 0.7646913528442383, 0.6307561993598938, -0.4541987180709839, 0.049552492797374725, 0.6685436964035034, 0.31018686294555664, -0.017055490985512733, 0.34250330924987793, 0.11016137152910233, -0.37168818712234497, -0.42468157410621643, -0.6849554181098938, -0.5394750237464905, 0.21298740804195404, -0.5812214612960815, 0.4875947833061218, -0.6141983866691589, 0.28469526767730713, -0.18961751461029053, -0.10410261154174805, -0.621010422706604, -0.030736342072486877, -0.043353646993637085, 1.0547614097595215, -0.5724128484725952, 0.8452216982841492, 0.6664007902145386, -0.311587393283844, -0.7738242745399475, -0.4568921625614166, 0.12901335954666138, -0.9644227623939514, 0.4694504141807556, 0.1903758943080902, 0.17319507896900177, 0.3916947543621063, -0.6861158609390259, -0.8054826855659485, 1.0788848400115967, 0.6718437671661377, -0.7157617211341858, -0.1237609013915062, 0.39127856492996216, 0.2324838638305664, -0.5255042314529419, 0.2365867793560028, 0.48430293798446655, 0.29366159439086914, 0.09922174364328384, -0.8517859578132629, -0.13906723260879517, -0.24799856543540955, -0.345665842294693, 0.6057165265083313, -0.5759106874465942, 1.1677823066711426, -0.21189101040363312, -0.16618536412715912, 0.09222368896007538, 0.1989230066537857, 0.4109707772731781, 0.18490272760391235, 0.22889883816242218, 0.9297781586647034, 0.5186930894851685, -0.1825845092535019, 0.8328888416290283, -0.26135367155075073, 0.2988002300262451, 1.2436487674713135, 0.011749586090445518, 0.5903887152671814, 0.07397419959306717, -0.37432989478111267, 0.5156267881393433, 0.5198184251785278, -0.17651960253715515, 0.4566095173358917, 0.4345987141132355, -0.24980303645133972, -0.2203202098608017, 0.26004254817962646, -0.5282557010650635, 0.30835291743278503, 0.5776802897453308, -0.2277970165014267, -0.5754187703132629, -0.212162047624588, -0.11109057813882828, -0.01436039712280035, -0.3999688923358917, 0.6153258085250854, 0.1644531786441803, -0.5336695313453674, 0.6325507760047913, -0.14181897044181824, 0.27956071496009827, -0.8724446296691895, -0.327440470457077, -0.3247631788253784, 0.2559707462787628, -0.1687750518321991, -0.6843065619468689, 0.11241041868925095, 0.03815435618162155, -0.14845474064350128, -0.04075697064399719, 0.39722660183906555, -0.6266952753067017, -0.5802517533302307, -0.15922246873378754, 0.411573201417923, 0.2001936435699463, -0.019128164276480675, -0.5215128064155579, 0.09641022980213165, -0.07948841154575348, -0.15687088668346405, 0.5449904799461365, 0.5120503902435303, 0.005664092022925615, 0.518323540687561, 0.8947260975837708, 0.16124527156352997, 0.2507200539112091, 0.10405967384576797, 1.1019996404647827, -0.4893743395805359, -0.38886550068855286, -0.7896974086761475, 0.4067273437976837, 0.09340865164995193, -0.6728384494781494, 0.8064163327217102, 0.7934621572494507, 1.049661636352539, -0.1486920416355133, 0.7093327641487122, 0.3330720067024231, 0.5107235908508301, -0.7249148488044739, 0.5360996723175049, -0.3415229916572571, 0.2632294297218323, 0.07052898406982422, -1.1099720001220703, 0.011981897987425327, 0.6520483493804932, -0.19356603920459747, 0.09328603744506836, 0.7178918719291687, 0.9398638606071472, -0.43973803520202637, 0.20355956256389618, 0.36706194281578064, 0.04047830402851105, 0.17249871790409088, 0.6996239423751831, 0.6480385065078735, -0.29739028215408325, 0.5048589706420898, -0.03998430073261261, -0.4273408055305481, -0.08868467807769775, -0.5902808308601379, -1.1869183778762817, -0.2823966443538666, -0.10699530690908432, -0.3117893636226654, -0.11299914121627808, 0.9941746592521667, 0.5439623594284058, -0.7074325084686279, -0.316188782453537, -0.48895588517189026, 0.09819306433200836, 0.11429332941770554, -0.23196519911289215, 0.1737457513809204, -0.5604081153869629, -0.6252633929252625, 0.5235744714736938, 0.25303328037261963, 0.054016079753637314, -0.6095051169395447, -0.29926201701164246, 0.16919605433940887, 0.17511829733848572, 0.47766637802124023, 0.11069723218679428, -0.550430953502655, 0.13243308663368225, 0.2128271907567978, -0.1458822786808014, 0.27779048681259155, 1.0423128604888916, -0.5053336024284363, 0.4334205389022827, 0.2159315049648285, 0.6778591275215149, 0.34868043661117554, -0.05583598464727402, 0.5392404794692993, -0.614300012588501, 0.16797178983688354, 0.18411773443222046, 0.10413117706775665, 0.07071606814861298, -0.0799054354429245, 0.8226495385169983, 0.14447157084941864, -0.6626163721084595, -0.79161137342453, 0.23349857330322266, -0.49441275000572205, -0.13236074149608612, 0.9808486700057983, -0.1995260864496231, -0.22300724685192108, 0.18276621401309967, -0.0721016675233841, -0.050565630197525024, -0.3107771873474121, 0.5825070738792419, 0.7627296447753906, 0.25383713841438293, -0.03841320425271988, -0.7494767904281616, 0.4456944763660431, 0.3856217861175537, -1.0161443948745728, 0.18346253037452698, 0.5973341464996338, 0.308932363986969, -0.1539963036775589, 0.32508906722068787, -0.46660131216049194, 0.4469830095767975, 0.23265422880649567, -0.1721036732196808, -0.698890745639801, -0.4548906981945038, -0.455856591463089, 0.08184772729873657, -0.014872937463223934, -0.16913513839244843 ]
http://arxiv.org/abs/2402.10175v2
http://arxiv.org/pdf/2402.10175v2
Unlocking Structure Measuring: Introducing PDD, an Automatic Metric for Positional Discourse Coherence
2024-02-15T18:23:39
2024-04-02T21:51:36
Yinhong Liu, Yixuan Su, Ehsan Shareghi, Nigel Collier
cs.CL
cs.CL
Recent large language models (LLMs) have shown remarkable performance in aligning generated text with user intentions across various tasks. When it comes to long-form text generation, there has been a growing interest in generation from a discourse coherence perspective. However, existing lexical or semantic metrics such as BLEU, ROUGE, BertScore cannot effectively capture the discourse coherence. The development of discourse-specific automatic evaluation methods for assessing the output of LLMs warrants greater focus and exploration. In this paper, we present a novel automatic metric designed to quantify the discourse divergence between two long-form articles. Extensive experiments on three datasets from representative domains demonstrate that our metric aligns more closely with human preferences and GPT-4 coherence evaluation, outperforming existing evaluation methods.
[ -0.32961127161979675, -0.7414366602897644, 0.709830105304718, 0.33083197474479675, -0.37698209285736084, 0.3822042942047119, 0.02589033544063568, -0.2573660910129547, 0.20556864142417908, 0.058884914964437485, -0.2822253406047821, -0.7454416155815125, -0.4560239315032959, 0.14810307323932648, -0.3270929157733917, 1.017055630683899, -0.2877013087272644, -0.20731061697006226, -0.49422338604927063, -0.06761592626571655, -0.1943780779838562, -0.33736878633499146, -0.5947747826576233, -0.30124080181121826, 0.5944351553916931, -0.06951300799846649, 0.7040167450904846, 0.4937385320663452, 0.6261561512947083, 0.3060220181941986, -0.11678362637758255, 0.23358924686908722, -0.37505972385406494, 0.08727244287729263, -0.3160933256149292, -0.2722024619579315, -0.7171144485473633, 0.059085406363010406, 0.9541997909545898, 0.9859002828598022, -0.0628252625465393, -0.062345340847969055, 0.47712090611457825, 0.6746488213539124, -0.5209711790084839, 0.06110910326242447, -0.4128035306930542, 0.18488796055316925, -0.41900497674942017, -0.1449616402387619, -0.3121771812438965, -0.5793368816375732, 0.4331720769405365, -0.2605355381965637, 0.14497920870780945, -0.0624900721013546, 1.0926092863082886, 0.17753641307353973, -0.5766364336013794, -0.48489323258399963, -0.37086260318756104, 0.8252043128013611, -0.6064258217811584, 0.5306126475334167, 0.10142093896865845, 0.17979025840759277, -0.2225581854581833, -0.4121049642562866, -0.4617810845375061, -0.02385619655251503, -0.0002041002589976415, 0.28883668780326843, -0.15646147727966309, 0.16048240661621094, -0.16124992072582245, 0.521109938621521, -0.6611743569374084, 0.22055265307426453, -0.19505202770233154, -0.21217890083789825, 0.7949626445770264, 0.1979036182165146, 0.4275719225406647, -0.38656896352767944, -0.48146381974220276, -0.009727432392537594, -0.7871057391166687, 0.06969758868217468, 0.6759997010231018, -0.0562230609357357, -0.46451902389526367, 0.6701233983039856, 0.2677531838417053, 0.3789044916629791, 0.3388207256793976, -0.23810730874538422, 0.11229509860277176, -0.48542001843452454, -0.3125787377357483, 0.030701467767357826, 1.0140682458877563, 0.2809492349624634, -0.23607760667800903, -0.03621678799390793, 0.012238061055541039, -0.013352243229746819, 0.07482630014419556, -0.8035830855369568, -0.3647387623786926, 0.03811914846301079, -0.3538670539855957, -0.2352185994386673, 0.058569785207509995, -0.5109356045722961, -0.25459685921669006, -0.11608564108610153, -0.04928668960928917, -0.4038683772087097, -0.30542489886283875, -0.028866570442914963, -0.21559932827949524, 0.5843440294265747, 0.27393263578414917, -0.8473243117332458, 0.36760589480400085, 1.0195610523223877, 1.152101755142212, -1.1569979190826416, -0.14141720533370972, -0.15093165636062622, 0.22809739410877228, -0.6937220096588135, 0.8673292398452759, -0.3112678527832031, -0.36320802569389343, -0.16262444853782654, -0.01772097870707512, 0.02545095793902874, -0.5142073631286621, 0.8310975432395935, -0.4564571678638458, 0.41464391350746155, -0.12877163290977478, -0.7222718000411987, -0.05958723649382591, 0.3815646767616272, -0.5016136765480042, 0.9430528879165649, 0.3287450969219208, -0.8423293232917786, 0.8244050145149231, -0.4123610258102417, -0.30090874433517456, 0.19154760241508484, -0.43735483288764954, -0.9562590718269348, 0.20886114239692688, 0.09967838227748871, 0.3451245427131653, -0.3357742428779602, 0.5711842179298401, -0.5112901329994202, -0.030981317162513733, 0.19064100086688995, -0.6246374249458313, 0.8974822759628296, -0.14550088346004486, -0.13435187935829163, 0.21643640100955963, -0.6196420192718506, 0.011434214189648628, -0.2578379511833191, -0.46624115109443665, -0.5525391697883606, 0.06240028142929077, -0.4989601671695709, -0.12368647754192352, 0.2751353979110718, -0.47878435254096985, -0.15673579275608063, -0.9854211807250977, 0.2953092157840729, 0.7384917140007019, 0.19898705184459686, 0.6122649312019348, -0.2186686396598816, 0.5060164928436279, 0.22897998988628387, -0.41631296277046204, -0.05579095706343651, -0.2999979853630066, -0.5618525743484497, -0.5670846104621887, 0.2992532551288605, 0.10907299071550369, -0.2712077796459198, 1.066850185394287, -0.4933273494243622, -0.40522316098213196, -0.4088170528411865, 0.0006033458048477769, 0.4060881733894348, 0.35539528727531433, 0.059161849319934845, -0.7964265942573547, -0.29548120498657227, -0.9713749885559082, -0.24644044041633606, -0.18377479910850525, -0.20972076058387756, 0.3707509934902191, 0.4657723903656006, 0.04733520373702049, 1.0247019529342651, -0.5242862105369568, 0.08976411819458008, -0.025056298822164536, 0.29689937829971313, 0.07738161832094193, 0.3411988615989685, 0.5591210126876831, -0.3260310888290405, -0.6743848919868469, 0.04226066544651985, -0.8762565851211548, -0.13970127701759338, -0.10752953588962555, -0.3990866541862488, 0.42837974429130554, 0.18706518411636353, -0.6918536424636841, 0.28105124831199646, 0.5980709195137024, -0.31514209508895874, 0.676688551902771, -0.14347366988658905, -0.01779431663453579, -1.1518223285675049, 0.0007310807704925537, -0.15215232968330383, -0.21956978738307953, -0.17707812786102295, 0.00020120244880672544, 0.08177351951599121, -0.08214161545038223, -0.2701164484024048, 0.4569478929042816, -0.9078406691551208, -0.5396384000778198, 0.0911412462592125, 0.4774182438850403, 0.41851872205734253, 0.24895057082176208, -0.04185238853096962, 0.7170178890228271, 0.32887184619903564, -0.41876116394996643, 0.17988957464694977, 0.1635298728942871, -0.5557066202163696, 0.8446677327156067, -0.669151246547699, 0.2395620495080948, 0.0972028523683548, 0.48291611671447754, -1.1399494409561157, -0.3598497807979584, 0.06662169098854065, -0.1382342129945755, 0.10392281413078308, -0.05811058729887009, -0.18088828027248383, -0.4800342321395874, -0.584784209728241, 0.5817186236381531, 0.20402707159519196, -0.44563472270965576, 0.019615061581134796, 0.5010491013526917, -0.547950804233551, -0.3200635015964508, -0.5212441086769104, 0.2619139850139618, -0.3286730647087097, -0.9126856923103333, 0.43401849269866943, -0.2019914835691452, -0.2431774139404297, -0.323391318321228, -0.13032202422618866, -0.18513604998588562, 0.04785238951444626, 0.2255769520998001, 0.15862978994846344, -0.3252156376838684, 0.06697042286396027, 0.9951790571212769, 0.22014035284519196, 0.43883439898490906, -0.3322201371192932, 0.5740523934364319, 0.05583656206727028, -0.5979782938957214, -0.6847327947616577, 0.2760211229324341, 0.4099496603012085, -0.20004624128341675, 0.5141557455062866, 0.18063466250896454, -0.112540103495121, -0.3496206998825073, -0.16331323981285095, 0.1787284016609192, -0.45802339911460876, 0.32325980067253113, -0.4397716820240021, -0.6655107736587524, 0.3756093382835388, -0.07806726545095444, -0.05703263729810715, 0.38820716738700867, 0.7735142707824707, 0.01644204743206501, 1.0010085105895996, 0.6167373657226562, 0.15420229732990265, 0.16350261867046356, -0.21213391423225403, 0.3965539336204529, -0.7033252120018005, -0.14664104580879211, -0.2610646188259125, -0.29120174050331116, -0.42854002118110657, -0.414725124835968, 0.3639070987701416, 0.24737490713596344, 0.008610025979578495, 0.1429452747106552, -0.6278488636016846, 0.4952816367149353, -0.08029582351446152, -0.2477705329656601, 0.3802809715270996, 0.07906268537044525, -0.37979060411453247, -0.3944946527481079, -0.2593909800052643, -0.6653754115104675, 0.8719509243965149, 0.4608573615550995, 0.46510830521583557, 0.22158612310886383, 0.9340500235557556, 0.28251802921295166, 0.3518485128879547, -0.8632924556732178, 0.4762633442878723, 0.04788540303707123, -0.09657851606607437, -0.37927189469337463, -0.3997338116168976, -1.1065490245819092, 0.2189772129058838, 0.41328078508377075, -0.3859070837497711, 0.29115355014801025, -0.03654196858406067, -0.4137504994869232, -0.07760578393936157, -0.4392176568508148, 0.6816442608833313, -0.2208363562822342, -0.26361557841300964, 0.04467826336622238, -0.33330515027046204, 0.3980497419834137, 0.023290200158953667, -0.22759197652339935, -0.3408835530281067, -0.30087900161743164, 0.738419234752655, -0.27448126673698425, 0.63532555103302, -0.04071491211652756, -0.8426944017410278, 0.2543541193008423, 0.2285199910402298, 0.17629975080490112, 0.16589142382144928, -0.20938125252723694, 0.14570412039756775, -0.2590762674808502, -0.1822592318058014, -0.39940348267555237, 0.871326744556427, -0.6869845986366272, -0.4956052303314209, -0.3645683526992798, -0.6661293506622314, 0.01261301338672638, 0.2762039303779602, 0.27618810534477234, 0.2116631269454956, -0.8690925240516663, 0.07389649748802185, 0.5272803902626038, -0.2200210690498352, 0.47913721203804016, 0.3678189516067505, -0.071564681828022, -0.522263765335083, 0.7232232689857483, 0.0782754123210907, 0.23366640508174896, 0.45224276185035706, 0.26456907391548157, -0.5141578316688538, -0.5814485549926758, -0.5654588341712952, 0.19225245714187622, -0.2635611295700073, -0.3753940463066101, -0.6099485754966736, -0.38786622881889343, -0.29864782094955444, -0.43847814202308655, -0.14870350062847137, -0.555671751499176, -0.2940067946910858, -0.3811885714530945, -0.19197162985801697, 0.48582887649536133, 0.1720910370349884, 0.10661985725164413, -0.4498468041419983, 0.04916325956583023, 0.17445071041584015, 0.10362064093351364, -0.1506834328174591, -0.32993054389953613, -0.09428806602954865, 0.1136932447552681, -0.7658374309539795, -0.8919956684112549, 0.6569615006446838, 0.32860249280929565, 0.17524465918540955, 0.643242359161377, -0.007133385166525841, 0.5531427264213562, -0.4536108076572418, 0.9365141987800598, 0.5025136470794678, -1.0601379871368408, 0.6350924372673035, -0.4400656819343567, 0.3603411316871643, 0.18461211025714874, 0.45399171113967896, -0.14606541395187378, -0.7336986660957336, -0.4020983576774597, -0.6838802695274353, 0.26839902997016907, 0.15327875316143036, 0.015519744716584682, -0.18533161282539368, 0.30367332696914673, 0.43602654337882996, 0.1778993159532547, -0.653767466545105, 0.11273712664842606, 0.03262028098106384, -0.42198437452316284, 0.1872684359550476, -0.14070259034633636, -0.4987577795982361, -0.2058308720588684, 0.11164657026529312, -0.2196636199951172, 0.13229794800281525, 0.226337730884552, -0.2329733669757843, -0.12929381430149078, 0.43684816360473633, 0.5151339769363403, 0.9054020643234253, 0.10869614779949188, 0.40254315733909607, 0.1364428699016571, -0.39760664105415344, 0.31641149520874023, 0.08369097113609314, -0.425823450088501, 0.12067441642284393, 0.28175508975982666, 0.6489706039428711, 0.11864425987005234, -0.32358136773109436, 0.6873956918716431, 0.0904180109500885, -0.3410443961620331, -0.27259188890457153, 0.03093082830309868, 0.166885644197464, 0.025407103821635246, 0.08562934398651123, -0.09503033012151718, 0.16892658174037933, -0.655220627784729, 0.3518570363521576, 0.5822601914405823, -0.47316038608551025, -0.6999233365058899, 0.5209668874740601, 0.42974966764450073, -0.42229026556015015, 0.30300214886665344, -0.5751966834068298, -0.21337391436100006, 0.48197609186172485, 0.6690255403518677, 1.1777186393737793, -0.21477161347866058, 0.4252692759037018, 0.2236613631248474, -0.07694488763809204, 0.2227080762386322, 0.16328483819961548, -0.3016005754470825, -0.6933783888816833, -0.43538400530815125, -0.8976818919181824, -0.2225264012813568, -0.10064826905727386, -0.7321810722351074, 0.12963081896305084, -0.31525835394859314, -0.22191546857357025, 0.1338198482990265, 0.32991188764572144, -0.22453123331069946, -0.20381230115890503, -0.20158828794956207, 0.5125665068626404, -0.6590582132339478, 0.7066717147827148, 0.3537898063659668, -0.1784530133008957, -0.3939947187900543, 0.2627943158149719, -0.04973498731851578, -0.39324072003364563, 0.5200901627540588, 0.16004733741283417, -0.35296258330345154, -0.21186162531375885, -0.2889149487018585, -0.6782556176185608, 1.320461392402649, 0.6581329107284546, -0.6694911122322083, -0.3326530456542969, 0.3268269896507263, 0.6995527148246765, -0.519707441329956, 0.02374548278748989, 0.7746159434318542, 0.22780607640743256, -0.32449081540107727, -0.8402463793754578, 0.12458204478025436, 0.04485663026571274, 0.08856280148029327, 0.5966058969497681, -0.6098918914794922, 0.656757652759552, -0.0642462819814682, -0.8635023236274719, 0.30714502930641174, 0.8400418758392334, 0.30645060539245605, 0.4549621045589447, 0.43348097801208496, 0.6052287817001343, 0.8909972310066223, -0.08443204313516617, 0.6961445808410645, -0.3627682030200958, 0.3599318563938141, 1.187497854232788, -0.4839605689048767, 0.7742709517478943, 0.25617215037345886, -0.2627178430557251, 0.796296238899231, 0.5417369604110718, 0.09323226660490036, 0.36338919401168823, 0.41919150948524475, -0.36094576120376587, 0.09766124933958054, 0.020874056965112686, -0.281197726726532, 0.3652212619781494, 0.48685821890830994, -0.5062342882156372, -0.19568610191345215, -0.29401683807373047, 0.2587350010871887, 0.2581545114517212, -0.03174973279237747, 0.9491510391235352, 0.34828463196754456, -1.0222419500350952, 0.6760494709014893, 0.030792567878961563, 0.3657429814338684, -0.3154921531677246, 0.12879064679145813, -0.2255856692790985, 0.2549978494644165, -0.1752447932958603, -0.9719504714012146, 0.6340742111206055, -0.0037857654970139265, -0.06516440212726593, -0.2768746316432953, 0.5608225464820862, -0.7221609950065613, -0.36853405833244324, 0.43923234939575195, 0.7194421887397766, 0.13628990948200226, 0.33830931782722473, -0.7323964834213257, 0.102932870388031, -0.23330479860305786, -0.03700433298945427, 0.2737151086330414, 0.6594098210334778, -0.07468575984239578, 0.336212158203125, 0.3990781307220459, 0.04970824345946312, -0.04178434610366821, 0.10450407862663269, 0.7426546812057495, -0.4403632879257202, -0.6165311932563782, -0.951964259147644, 0.08425745368003845, -0.4418926239013672, -0.5707986354827881, 0.951117992401123, 0.9554882645606995, 0.5961953997612, 0.3256280720233917, 0.6263216137886047, 0.08321785181760788, 0.42749449610710144, -0.3028920888900757, 0.9317516684532166, -0.20349659025669098, 0.23267453908920288, -0.3308883309364319, -1.1628721952438354, -0.13560251891613007, 0.4155797064304352, -0.42297014594078064, -0.31308552622795105, 0.7738763689994812, 0.6541673541069031, -0.22078318893909454, -0.29179060459136963, 0.2338496744632721, 0.2539598047733307, 0.44234010577201843, 0.2444140911102295, 0.7224673628807068, -0.21212886273860931, 0.4973263740539551, 0.1255672574043274, -0.29927268624305725, 0.22019532322883606, -0.7940323352813721, -0.8940892219543457, -0.543870210647583, -0.34604647755622864, -0.1632121354341507, 0.22754305601119995, 0.32745879888534546, 0.6302179098129272, -0.59467613697052, -0.534024715423584, -0.4132690727710724, 0.2952643036842346, -0.13456349074840546, -0.3360295593738556, 0.7337338924407959, -0.26886454224586487, -0.7915483117103577, 0.4721544682979584, 0.7888868451118469, 0.10928691923618317, -0.7654803395271301, -0.17173387110233307, -0.015765247866511345, 0.4551389217376709, 0.7556665539741516, 0.02189195342361927, -0.6054831743240356, -0.43141698837280273, -0.2632761299610138, -0.2840070426464081, 0.39404141902923584, 0.7503861784934998, -0.41223955154418945, 0.22680550813674927, 0.7701045870780945, 0.40754902362823486, 0.4250561594963074, 0.19561848044395447, 1.0195554494857788, -1.078869342803955, -0.08647048473358154, 0.3882761299610138, 0.153097003698349, 0.4691318869590759, -0.15589939057826996, 0.26695138216018677, 0.05340196192264557, -0.6913204789161682, -1.0667667388916016, 0.4875692129135132, -0.8832071423530579, 0.06554579734802246, 0.679234504699707, -0.5005483627319336, -0.25604936480522156, -0.23896104097366333, -0.04710959270596504, 0.1872694343328476, -0.4774671792984009, 0.8610480427742004, 0.6010168790817261, -0.1606931835412979, -0.03446279838681221, 0.10303957760334015, 0.8162805438041687, 0.2823435962200165, -1.181563377380371, 0.038278646767139435, 0.494947224855423, 0.11040499806404114, 0.2884111702442169, 0.714779794216156, -0.22299692034721375, 0.08443828672170639, -0.09923160076141357, -0.2889072895050049, 0.564390242099762, -0.33917292952537537, -0.17723341286182404, 0.36131390929222107, -0.09563513100147247, 0.10851040482521057 ]