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
listlengths
768
768
http://arxiv.org/abs/2402.18756v1
http://arxiv.org/pdf/2402.18756v1
How Much Annotation is Needed to Compare Summarization Models?
2024-02-28T23:34:51
2024-02-28T23:34:51
Chantal Shaib, Joe Barrow, Alexa F. Siu, Byron C. Wallace, Ani Nenkova
cs.CL
cs.CL
Modern instruction-tuned models have become highly capable in text generation tasks such as summarization, and are expected to be released at a steady pace. In practice one may now wish to choose confidently, but with minimal effort, the best performing summarization model when applied to a new domain or purpose. In this work, we empirically investigate the test sample size necessary to select a preferred model in the context of news summarization. Empirical results reveal that comparative evaluation converges quickly for both automatic and human evaluation, with clear preferences for a system emerging from under 100 examples. The human preference data allows us to quantify how well automatic scores can reproduce preference rankings across a variety of downstream summarization tasks. We find that, while automatic metrics are stable at smaller sample sizes, only some automatic metrics are able to moderately predict model win rates according to human preference.
[ -0.7463390827178955, -0.2982453405857086, 0.505212128162384, 0.32128265500068665, -0.2576391100883484, -0.3067121207714081, -0.36134323477745056, -0.5530328154563904, 0.12227897346019745, 0.15870201587677002, -0.06943374872207642, -0.1564243733882904, -0.6634497046470642, 0.4295838177204132, -0.46358877420425415, 1.357528567314148, 0.09366726130247116, -0.06139623746275902, -0.6446793079376221, -0.03873174265027046, -0.2857264280319214, -0.41986703872680664, -0.6265098452568054, -0.4530867040157318, 0.5336884260177612, 0.2796446979045868, 0.7072196006774902, 0.6523369550704956, 0.8576057553291321, 0.23332040011882782, -0.29105815291404724, 0.13891777396202087, -0.20638743042945862, -0.018816642463207245, 0.18199382722377777, -0.5582069754600525, -0.6405007839202881, 0.5890964865684509, 0.4094393253326416, 0.9675201773643494, 0.251330703496933, 0.7446804642677307, 0.02638290822505951, 0.8475530743598938, -0.6748594641685486, 0.05457904189825058, -0.26629120111465454, -0.0022537459153681993, 0.21815261244773865, -0.009862605482339859, -0.39954787492752075, -0.6773226261138916, 0.4705546796321869, -0.5224964618682861, 0.34998929500579834, 0.19620639085769653, 0.8765947222709656, 0.18807056546211243, -0.6546907424926758, -0.028067557141184807, -0.4415385127067566, 0.7707285284996033, -0.7752056121826172, 0.05286369100213051, 0.38173338770866394, 0.44691669940948486, 0.27639544010162354, -0.474055677652359, -0.25744542479515076, -0.5130653977394104, -0.11995206028223038, 0.2060830444097519, -0.15416860580444336, -0.022112155333161354, 0.3257136046886444, 0.38520026206970215, -0.544811487197876, 0.13464772701263428, -0.6168608069419861, 0.025667140260338783, 1.0145241022109985, 0.22651350498199463, 0.0859559029340744, -0.45282402634620667, -0.12875735759735107, -0.19941028952598572, -0.341228187084198, 0.029781697317957878, 0.4652787148952484, 0.2353958934545517, -0.1976279616355896, 0.6550803184509277, -0.7281797528266907, 0.8514657020568848, 0.1892872154712677, 0.08957871794700623, 0.11965709924697876, -0.3182554543018341, -0.38479310274124146, -0.02981567569077015, 0.7667028903961182, 1.169389247894287, 0.44598057866096497, 0.025261525064706802, -0.37810108065605164, 0.0935274139046669, 0.27254149317741394, -0.9857138991355896, -0.26087191700935364, 0.13650652766227722, -0.6561967134475708, -0.4184199869632721, 0.1316898763179779, -0.5211076140403748, -0.32103899121284485, -0.5727294087409973, 0.282685786485672, -0.06741022318601608, -0.041069578379392624, -0.07799843698740005, -0.6620683670043945, -0.16680127382278442, 0.5948306322097778, -1.0058075189590454, 0.13333334028720856, 0.5559845566749573, 1.0284628868103027, -0.5757843255996704, -0.14353667199611664, -0.28376269340515137, -0.3678116500377655, -0.8170875310897827, 1.0450142621994019, -0.2484237402677536, -0.36086490750312805, -0.4223998486995697, -0.26009300351142883, -0.08168721199035645, -0.5113058686256409, 0.23529981076717377, -0.4777851700782776, 0.40957218408584595, -0.45094799995422363, -0.7919953465461731, -0.24274387955665588, 0.15839625895023346, -0.790801465511322, 0.5975264310836792, 0.22671876847743988, -0.9832133650779724, 0.9348680377006531, -0.6778373122215271, -0.44828370213508606, -0.342324435710907, 0.1904314011335373, -0.5785567760467529, 0.4292168915271759, 0.16304732859134674, 0.5824771523475647, -0.04673570394515991, -0.0019280065316706896, -0.32463473081588745, -0.5263983607292175, 0.08732890337705612, -0.2865663766860962, 0.5385562181472778, 0.3336103856563568, -0.17643187940120697, 0.19599032402038574, -0.5426620244979858, -0.05416040122509003, 0.031333860009908676, -0.4680323600769043, -0.49320417642593384, -0.0006274144980125129, -0.1012476459145546, -0.12742620706558228, 0.19163329899311066, -0.2595733106136322, 0.17349444329738617, -0.21865488588809967, 0.2693270444869995, 0.4931454062461853, 0.14333103597164154, 0.6367203593254089, -0.7898930311203003, 0.49065154790878296, -0.3959701657295227, 0.07501872628927231, -0.21263782680034637, -0.35989460349082947, -0.7166866660118103, -0.08707800507545471, 0.8329885005950928, 0.3566478192806244, 0.006851716432720423, 0.3565918505191803, -0.4257732927799225, -0.60776686668396, -0.38128694891929626, -0.10909149050712585, 0.1674317717552185, 0.2982781231403351, 0.21995809674263, -0.38906797766685486, -0.4741402268409729, -1.201440453529358, -0.3034461438655853, -0.17533110082149506, -0.2772572636604309, 0.2291853278875351, 0.46212267875671387, 0.31653445959091187, 1.0527994632720947, -0.558685839176178, -0.05350326746702194, -0.7274612784385681, 0.38161128759384155, -0.03751051425933838, 0.11992130428552628, 0.8851788640022278, -0.7509519457817078, -0.23369622230529785, -0.3026480972766876, -0.7750347852706909, -0.1622399538755417, -0.11775661259889603, 0.04182233288884163, 0.31053826212882996, 0.2811668813228607, -0.33734986186027527, 0.5395222902297974, 0.48030760884284973, -0.11497511714696884, 0.40954864025115967, -0.27932071685791016, 0.5590435862541199, -0.8681861758232117, 0.21325843036174774, 0.15760768949985504, -0.515387237071991, -0.31128770112991333, -0.022357214242219925, 0.20166373252868652, 0.02431371621787548, -0.19674010574817657, 0.5039147734642029, -0.5089632868766785, -0.3706122636795044, -0.5056718587875366, 0.42188161611557007, 0.09028774499893188, 0.19029034674167633, 0.1973816305398941, 0.9326403737068176, -0.31187495589256287, -0.8425801396369934, 0.05002288147807121, 0.2370469719171524, -0.41988635063171387, 0.14126324653625488, -0.8546305298805237, -0.12852470576763153, -0.17653395235538483, 0.33592191338539124, -0.9745975136756897, -0.5881974697113037, -0.5578951835632324, -0.6305501461029053, 0.08278723061084747, 0.1654680222272873, -0.23192982375621796, -0.2722174823284149, -0.6819010376930237, 0.11622735112905502, 0.6945171356201172, -0.2590687572956085, 0.22197458148002625, 0.41588225960731506, -0.3095566928386688, -0.31886887550354004, -0.6351367831230164, -0.05282938480377197, -0.11921104788780212, -0.27507051825523376, -0.11125840246677399, -0.10074692219495773, -0.525825023651123, -0.2054404765367508, -0.1973341852426529, 0.20743216574192047, 0.4375808537006378, 0.37780797481536865, 0.345966637134552, -0.18967369198799133, 0.24689437448978424, 0.2893681824207306, -0.2998061180114746, -0.021060941740870476, 0.20207245647907257, -0.006364548113197088, 0.08026797324419022, -0.1549932062625885, -0.26190707087516785, 0.34873899817466736, 0.6078002452850342, -0.39099472761154175, 0.5446023344993591, 0.012908073142170906, -0.12839612364768982, -0.07649195194244385, -0.5672393441200256, -0.284041166305542, -0.27002373337745667, 0.43864521384239197, -0.037683431059122086, -0.5100008845329285, 0.26209551095962524, 0.21262551844120026, 0.4662405550479889, 0.8015437126159668, 0.5141774415969849, -0.015080822631716728, 1.2866439819335938, 0.5624179840087891, -0.28512102365493774, 0.4107375144958496, -0.09840116649866104, -0.1496971696615219, -0.6106858849525452, 0.2303355485200882, -0.47154879570007324, -0.47645506262779236, -0.32981857657432556, 0.22022709250450134, 0.5402283072471619, -0.1494205892086029, 0.060707833617925644, 0.21647630631923676, -0.6060214042663574, 0.648678183555603, 0.698689341545105, -0.190748929977417, 0.5361307263374329, -0.2481735497713089, 0.14259541034698486, 0.06306134164333344, -0.4813021421432495, -0.7951960563659668, 1.3015466928482056, 0.04878618195652962, 0.32997435331344604, 0.052799589931964874, 0.5998328328132629, 0.3986648917198181, 0.6862658858299255, -0.5618978142738342, 0.4777761697769165, -0.2921338379383087, -0.628852128982544, -0.39304980635643005, -0.19765068590641022, -0.7967555522918701, 0.3525882661342621, -0.49642086029052734, -0.2950115501880646, -0.10519196838140488, 0.3558165431022644, -0.9459356069564819, 0.13522715866565704, -0.9564914703369141, 0.6953199505805969, 0.14536471664905548, 0.1637144833803177, -0.03681226074695587, -0.7369437217712402, 0.5449770092964172, 0.06721477955579758, 0.08282353729009628, -0.2735295593738556, -0.14110001921653748, 0.9701577425003052, -0.11564032733440399, 0.5543022155761719, 0.04493057727813721, 0.30956682562828064, 0.06750519573688507, -0.02032337337732315, 0.05416770651936531, -0.09917697310447693, -0.14294452965259552, -0.1266452521085739, 0.0233848225325346, -0.1738390177488327, -0.6709008812904358, 0.21363069117069244, -0.7072250247001648, -0.6042073965072632, -0.4465838074684143, -0.45826366543769836, 0.004965950269252062, 0.14098761975765228, 0.7231696844100952, 0.5069699287414551, -0.17115221917629242, 0.2630133032798767, 0.48707714676856995, 0.0555352158844471, 0.5811655521392822, 0.32507243752479553, -0.4564870297908783, -0.11033590883016586, 0.7505983114242554, 0.3480824828147888, 0.5491943955421448, 0.2424856424331665, 0.27408936619758606, -0.06641244143247604, -0.8292002081871033, -0.6090927720069885, 0.016527162864804268, -0.42823535203933716, -0.2144743949174881, -0.8277018666267395, -0.23638716340065002, -0.19316574931144714, -0.21728290617465973, -0.42942628264427185, -0.7234179973602295, -0.24688594043254852, -0.4875621199607849, 0.12238183617591858, 0.7495933175086975, 0.04000498354434967, 0.09103578329086304, -0.6451408267021179, 0.34214773774147034, 0.4066252112388611, -0.03757930546998978, -0.06607652455568314, -0.5880340933799744, -0.262381374835968, -0.14853687584400177, -0.2629627585411072, -0.8153876066207886, 0.21775628626346588, 0.07151411473751068, 0.366980642080307, 0.3807917833328247, 0.3017049729824066, 0.346330463886261, -0.19822163879871368, 0.9293370842933655, -0.13869604468345642, -0.6240405440330505, 0.594831645488739, -0.2151225358247757, 0.3872077167034149, 0.9000667333602905, 0.33596038818359375, -0.38705769181251526, -0.5637238025665283, -0.5994320511817932, -0.7746535539627075, 0.3528117835521698, -0.003297459799796343, 0.061839766800403595, 0.013329479843378067, 0.22361622750759125, 0.3891577422618866, 0.380913108587265, -0.286960244178772, -0.12109916657209396, -0.004013624973595142, -0.16998985409736633, -0.27489250898361206, -0.24644623696804047, 0.012284606695175171, -0.151680126786232, 0.46726658940315247, -0.08518712967634201, 0.13787788152694702, 0.25217166543006897, -0.227252796292305, -0.00482235848903656, 0.17756670713424683, 0.81822669506073, 0.9773327112197876, -0.38170042634010315, -0.0001975552731892094, 0.2518439292907715, -0.4465152621269226, 0.04033420607447624, 0.12191915512084961, -0.6015482544898987, 0.21642616391181946, 0.7479844093322754, 0.9689822793006897, 0.31441730260849, -0.6327123045921326, 0.7359160780906677, -0.17301517724990845, -0.31798601150512695, -0.17629308998584747, 0.37670984864234924, -0.0667363628745079, 0.012461560778319836, 0.3695950210094452, 0.1188322976231575, 0.4998588263988495, -0.2599499523639679, 0.16772101819515228, 0.25647807121276855, -0.12250237166881561, -0.1872786283493042, 0.8800532817840576, 0.2804461717605591, -0.11263365298509598, 0.3897629678249359, -0.3426324427127838, -0.3436698317527771, 0.6632802486419678, -0.033825140446424484, 0.6990513801574707, -0.06420375406742096, 0.1844533383846283, 0.6252815127372742, 0.1323164701461792, -0.4625297784805298, -0.15720099210739136, -0.022173164412379265, -0.30212634801864624, -0.2033463567495346, -0.409546822309494, -0.6226961612701416, -0.24720995128154755, -0.8305429220199585, 0.2172958254814148, -0.2482537031173706, -0.5840262174606323, 0.27391210198402405, 0.21638061106204987, -0.2976078987121582, 0.5071510076522827, 0.052716996520757675, 1.0698388814926147, -1.019431233406067, 0.08670085668563843, 0.5930853486061096, -0.473007470369339, -0.7938280701637268, -0.23467278480529785, 0.17410658299922943, -0.239127978682518, 0.44358399510383606, 0.21058908104896545, 0.36513733863830566, -0.25379419326782227, -0.342843234539032, -0.5416244864463806, 1.0690302848815918, 0.28494301438331604, -0.5259615778923035, -0.2804126441478729, -0.6483948230743408, 0.4180198609828949, -0.5105447173118591, 0.711304247379303, 0.7425618767738342, 0.301567405462265, -0.1177888959646225, -1.147408366203308, -0.2288518100976944, -0.1582850217819214, -0.06456737220287323, 0.24100585281848907, -0.7327362298965454, 1.0066200494766235, -0.6283857822418213, -0.010591688565909863, 0.07374532520771027, 0.8320733904838562, 0.17793695628643036, 0.5586354732513428, 0.683423638343811, 0.17865274846553802, 0.5117477178573608, -0.021905118599534035, 1.502471923828125, -0.08468681573867798, 0.16329459846019745, 1.3313498497009277, 0.08236157149076462, 1.054635763168335, 0.0978059321641922, -0.30264273285865784, -0.010349848307669163, 1.019788146018982, 0.000024664954253239557, 0.3535008728504181, 0.09441842883825302, 0.22780753672122955, -0.35136857628822327, 0.017744118347764015, -0.45596176385879517, 0.46404504776000977, -0.4474150240421295, -0.5977566242218018, -0.1823820173740387, -0.10994156450033188, 0.10053470730781555, 0.06330551207065582, -0.16022372245788574, 0.9127199649810791, 0.012705148197710514, -0.9832897782325745, 0.16949337720870972, -0.032165590673685074, 0.4252937138080597, -0.4854978322982788, 0.1583484262228012, -0.4710659384727478, -0.14491134881973267, -0.1751071959733963, -0.3631007969379425, 0.12060534209012985, 0.07710985094308853, -0.29424405097961426, 0.21766026318073273, 0.48214414715766907, -0.24503932893276215, -0.4740237295627594, -0.17352965474128723, 0.47084420919418335, 0.2392667680978775, -0.10381949692964554, 0.06951285898685455, -0.024968784302473068, -0.06667498499155045, -0.7213248610496521, 0.47175654768943787, -0.04713049530982971, -0.36216336488723755, 0.5942655801773071, 0.5602760314941406, 0.3345854878425598, 0.01681782864034176, -0.003982369787991047, 0.540861189365387, -0.4572935402393341, -0.7418293356895447, -0.9049789905548096, 0.4596523940563202, -0.5414396524429321, -0.5712904334068298, 0.9146757125854492, 0.7893683910369873, 0.5127626061439514, 0.04087890684604645, 1.0038336515426636, 0.25402793288230896, 0.7981007695198059, -0.3973246216773987, 0.8334711194038391, -0.5794035792350769, -0.014218496158719063, -0.16797766089439392, -0.9607706665992737, -0.24880066514015198, 0.6134157776832581, -0.467101126909256, 0.27328288555145264, 0.5788305997848511, 0.1903395801782608, 0.04745080694556236, 0.2515970468521118, 0.1277071088552475, -0.3302869200706482, 0.07149689644575119, 0.48514410853385925, 0.5169535279273987, -0.14882150292396545, 0.11862371116876602, -0.18382643163204193, -0.5319922566413879, -0.48958611488342285, -0.9801587462425232, -1.0978748798370361, -0.5583491921424866, -0.4220062494277954, 0.017725128680467606, 0.027064867317676544, 1.1737933158874512, 0.8891923427581787, -0.6349227428436279, -0.040307726711034775, 0.43655645847320557, 0.06107637658715248, -0.24677209556102753, -0.13749761879444122, 0.33060288429260254, -0.34405675530433655, -0.8304821252822876, -0.15335911512374878, 0.156410813331604, 0.38303524255752563, -0.14702783524990082, 0.2382933646440506, 0.2391563206911087, 0.37372103333473206, 0.5084603428840637, 0.09828388690948486, -0.43152040243148804, -0.3103436827659607, -0.1445893943309784, -0.15296728909015656, -0.1087275967001915, 0.8063898682594299, -0.5932825803756714, 0.34442782402038574, 0.5589444637298584, 0.6330064535140991, 0.38039636611938477, 0.4824690818786621, 0.7833985686302185, -0.41566839814186096, 0.0052792988717556, -0.06609358638525009, 0.08650622516870499, 0.24735963344573975, -0.13238076865673065, 0.662323534488678, 0.00261703017167747, -0.6357226967811584, -0.9560036063194275, -0.13445903360843658, -0.7350273132324219, -0.2439354807138443, 1.0726253986358643, 0.054648131132125854, -0.18685834109783173, 0.23204222321510315, -0.30870458483695984, 0.15662658214569092, -0.47919803857803345, 0.7570597529411316, 0.7386067509651184, -0.2659420669078827, -0.046095240861177444, -0.8577381372451782, 0.6946215629577637, 0.14621728658676147, -0.7805865406990051, 0.12129465490579605, 0.4739406108856201, 0.21059896051883698, 0.2170279175043106, 0.6513832211494446, 0.2393852025270462, 0.46553680300712585, 0.03421950340270996, -0.04675495997071266, -0.4178832769393921, -0.3580622673034668, -0.23918965458869934, 0.3508240282535553, 0.14851881563663483, -0.24707643687725067 ]
http://arxiv.org/abs/2402.18747v2
http://arxiv.org/pdf/2402.18747v2
Fine-Tuned Machine Translation Metrics Struggle in Unseen Domains
2024-02-28T23:01:24
2024-06-04T04:14:16
Vilém Zouhar, Shuoyang Ding, Anna Currey, Tatyana Badeka, Jenyuan Wang, Brian Thompson
cs.CL
cs.CL, cs.AI
We introduce a new, extensive multidimensional quality metrics (MQM) annotated dataset covering 11 language pairs in the biomedical domain. We use this dataset to investigate whether machine translation (MT) metrics which are fine-tuned on human-generated MT quality judgements are robust to domain shifts between training and inference. We find that fine-tuned metrics exhibit a substantial performance drop in the unseen domain scenario relative to metrics that rely on the surface form, as well as pre-trained metrics which are not fine-tuned on MT quality judgments.
[ -0.35133495926856995, -0.5228753089904785, 0.4057347774505615, -0.054892148822546005, -0.29464900493621826, 0.4902898669242859, -0.07751834392547607, -0.48904940485954285, -0.07656433433294296, 0.6421843767166138, -0.6400067210197449, -0.6536713242530823, -0.9588799476623535, 0.30249539017677307, -0.09145653992891312, 1.0169825553894043, -0.1165332943201065, 0.22368153929710388, -0.35535627603530884, -0.6573690176010132, -0.3723382353782654, -0.6263739466667175, -0.35035440325737, -0.3867853581905365, 0.5080723166465759, 0.356342613697052, 1.1203960180282593, 0.7444922924041748, 0.9409056901931763, 0.18881018459796906, 0.07693981379270554, 0.9631571173667908, -0.33042043447494507, 0.00046401043073274195, -0.2376752644777298, -0.5801812410354614, -0.6423268914222717, 0.1278020143508911, 0.8194875121116638, 1.126707911491394, 0.27175527811050415, 0.3109976053237915, 0.20432870090007782, 0.9318697452545166, -0.4398531913757324, -0.022487355396151543, -0.48000502586364746, 0.1781846582889557, -0.4761112630367279, -0.38534069061279297, -0.24017854034900665, -0.12222807109355927, -0.06153735890984535, -0.6916662454605103, 0.3976779580116272, 0.3090578019618988, 0.9921979904174805, 0.6885597705841064, -0.6445364952087402, 0.2652142345905304, -0.5904977321624756, 0.8169121146202087, -0.5186805725097656, 0.655721127986908, 0.522096574306488, 0.3322727680206299, -0.396742582321167, -0.6090570688247681, -0.23328058421611786, 0.08976183831691742, -0.06789811700582504, 0.18288284540176392, -0.23762986063957214, -0.11953791975975037, 0.13456737995147705, 0.3030332028865814, -0.5210440158843994, 0.2808276414871216, -0.4088976979255676, -0.3224756419658661, 0.4627422094345093, 0.5672597885131836, 0.10839395970106125, -0.046272389590740204, -0.18224072456359863, -0.15460170805454254, -1.0205988883972168, 0.12634670734405518, 0.1701841652393341, 0.3456264138221741, -0.08249303698539734, 0.7843015789985657, -0.2269153892993927, 0.6707303524017334, -0.24728725850582123, -0.15786559879779816, 0.40323004126548767, -0.429639607667923, -0.22007521986961365, -0.48620471358299255, 0.8511713147163391, 0.611638069152832, 0.05259651318192482, -0.3384290635585785, -0.2273271679878235, -0.059966471046209335, 0.3459363877773285, -0.7231881618499756, -0.4255197048187256, 0.18289247155189514, -0.640067994594574, -0.005556871648877859, -0.08537567406892776, -0.14792852103710175, -0.09596695750951767, -0.397501677274704, 0.34952378273010254, -0.5631071329116821, 0.10634282231330872, 0.17913229763507843, -0.10337038338184357, -0.02202686481177807, 0.26848500967025757, -0.4900474548339844, 0.2402300387620926, 0.5873558521270752, 0.9968260526657104, -0.5787522196769714, -0.38359972834587097, -0.5337796807289124, -0.0714697316288948, -0.5009568333625793, 0.7133141160011292, -0.42736342549324036, -0.3602621853351593, -0.16697673499584198, 0.33103176951408386, -0.32447555661201477, -0.8217642903327942, 0.779305100440979, -0.2926633656024933, -0.03200211375951767, -0.00468463497236371, -0.5554174780845642, -0.10675947368144989, 0.044731996953487396, -0.3614043891429901, 0.653386116027832, 0.2751290202140808, -0.4893260598182678, 0.6461468935012817, -0.49689558148384094, -0.599685788154602, -0.04789641499519348, 0.05934897065162659, -0.6510933637619019, 0.40942081809043884, 0.09064098447561264, 0.5882927775382996, -0.18134158849716187, 0.011803524568676949, -0.4453456699848175, -0.1519763022661209, 0.6145747900009155, -0.21885384619235992, 0.35074013471603394, 0.43998920917510986, 0.0395241305232048, -0.17283320426940918, -0.9508602619171143, 0.39756348729133606, -0.25020158290863037, -0.32012277841567993, -0.3790019750595093, 0.0018752265023067594, 0.0446675643324852, 0.39401185512542725, 0.025724288076162338, -0.4342844486236572, 0.17396269738674164, -0.3637453019618988, 0.6130473613739014, 0.37560147047042847, -0.05654362589120865, 0.26530590653419495, -0.2234373837709427, 0.4232498109340668, 0.23997806012630463, 0.10732757300138474, 0.3774140775203705, -0.6152089834213257, -0.5224949717521667, -0.45408666133880615, 0.5457301139831543, 0.3416843116283417, -0.7703087329864502, 0.39654749631881714, -0.42043447494506836, -0.47415709495544434, -1.2031397819519043, 0.035807669162750244, 0.6967929005622864, 0.35985612869262695, 0.6446290016174316, -0.4311482012271881, 0.10212213546037674, -1.1013745069503784, -0.5228222608566284, 0.2832410931587219, -0.10571456700563431, 0.3464316129684448, 0.40100395679473877, -0.5351092219352722, 0.42895132303237915, -0.5171987414360046, -0.47963374853134155, 0.28930097818374634, 0.17063279449939728, 0.13278652727603912, 0.7536460757255554, 0.5837881565093994, -0.5195398330688477, -0.28100812435150146, 0.0994686558842659, -0.5987805128097534, -0.20294694602489471, 0.05029863119125366, -0.45762795209884644, -0.03574718162417412, 0.45816728472709656, -0.624057948589325, 0.18466274440288544, 0.8474666476249695, -0.4069285988807678, 0.5376170873641968, -0.33778271079063416, 0.45762312412261963, -1.0784233808517456, 0.24815461039543152, -0.08911771327257156, -0.32377466559410095, -0.4202095866203308, -0.02401353418827057, 0.2915060818195343, 0.17574191093444824, -0.47162526845932007, 0.5381945371627808, -0.38478803634643555, -0.07685842365026474, -0.22371463477611542, 0.03560882434248924, 0.3595423996448517, 0.2986815571784973, -0.17079666256904602, 0.9121999740600586, 0.3491992652416229, -0.8857227563858032, -0.17163415253162384, 0.7205674052238464, -0.37799757719039917, 0.9771080017089844, -0.5768247842788696, 0.06854243576526642, 0.296935498714447, -0.017809215933084488, -0.7099918723106384, -0.2345253825187683, 0.11609157919883728, -0.8282594084739685, 0.5436045527458191, -0.15523898601531982, -0.7161695957183838, -0.2728872299194336, 0.0097101591527462, 0.4133622646331787, 0.22862225770950317, -0.3420555591583252, -0.16568873822689056, 0.37899157404899597, 0.08181273192167282, -0.4569271206855774, -0.7827445268630981, 0.1952543407678604, -0.17696145176887512, -0.36340346932411194, 0.3112466633319855, -0.018567249178886414, 0.08860233426094055, -0.14499501883983612, -0.23973672091960907, -0.15002207458019257, 0.3668050765991211, 0.4326342046260834, -0.06945841759443283, -0.42460012435913086, -0.041125860065221786, 0.7041955590248108, -0.220462366938591, 0.16245286166667938, -0.4428274929523468, 0.06756003201007843, 0.08075080066919327, -0.41228577494621277, -0.45879048109054565, 0.18282058835029602, 0.7209731936454773, -0.3775656521320343, 0.9435993432998657, 0.6802608370780945, -0.4329865872859955, 0.007015663664788008, -0.046570561826229095, -0.08912235498428345, -0.3931986093521118, 0.49496036767959595, -0.7929003834724426, -1.012142300605774, 0.5447891354560852, -0.3059353828430176, -0.05034913122653961, 0.8650196194648743, 0.43099015951156616, -0.2482956349849701, 1.523041009902954, 0.5356074571609497, 0.2975885272026062, -0.08276496082544327, -0.2025110423564911, 0.13238930702209473, -1.214077115058899, -0.1895560473203659, -0.6937459707260132, -0.5211541652679443, -0.8062564730644226, -0.411073237657547, 0.39977312088012695, 0.34227120876312256, -0.16191431879997253, 0.29530805349349976, -0.37128400802612305, 0.2516331076622009, 0.6379172205924988, 0.17739693820476532, 0.43067166209220886, 0.01686442270874977, -0.264011025428772, -0.35928186774253845, -0.7026452422142029, -0.6883556842803955, 1.0568997859954834, 0.26563718914985657, 0.43523985147476196, 0.17572444677352905, 0.24556931853294373, 0.32716676592826843, 0.12615755200386047, -0.5713474154472351, 0.04308347404003143, -0.5282040238380432, -0.48704952001571655, -0.14667809009552002, -0.7974889278411865, -1.2272655963897705, 0.29127994179725647, -0.45187368988990784, -0.21370020508766174, 0.10652363300323486, 0.13019463419914246, -0.4707707166671753, 0.3218214511871338, -0.3679203391075134, 0.9301509857177734, -0.3134959042072296, -0.18744181096553802, -0.22256359457969666, -0.9263132214546204, 0.04250463470816612, -0.3454233705997467, 0.06965810805559158, -0.5938048362731934, -0.060177285224199295, 0.5943740010261536, -0.34262874722480774, 0.5474215149879456, 0.04877796396613121, 0.03365239128470421, -0.17270201444625854, 0.38119015097618103, 0.027461370453238487, 0.21241582930088043, 0.06530623137950897, 0.6246098279953003, 0.18579226732254028, -0.7333322763442993, -0.2704024016857147, 0.5871025323867798, -1.0171095132827759, -0.07497507333755493, -0.047342609614133835, -0.45937594771385193, -0.5973539352416992, 0.4593057930469513, 0.6858769059181213, 0.38505223393440247, -0.2111503630876541, 0.20167085528373718, 0.4066883623600006, -0.44174548983573914, -0.2912054657936096, 0.687518298625946, 0.3104606568813324, -0.5389968156814575, 0.8851180672645569, 0.11008541285991669, 0.41386136412620544, 0.46846556663513184, 0.019503707066178322, -0.44336947798728943, -0.9956560730934143, -0.8033418655395508, 0.2183326631784439, -0.4743240773677826, -0.6875137090682983, -0.7246432304382324, -0.17842097580432892, -0.24011735618114471, 0.0831739604473114, -0.5582826137542725, -0.6532225608825684, -0.1599094569683075, 0.05070769414305687, 0.3440277874469757, 0.6483532786369324, -0.0567801408469677, 0.4184728264808655, -1.2680623531341553, 0.37057924270629883, -0.3631327152252197, 0.47358664870262146, -0.7041361331939697, -1.0330867767333984, -0.6899456977844238, 0.3954891860485077, -0.36439406871795654, -0.10738810896873474, 0.5475713610649109, 0.5432197451591492, 0.5011053085327148, 0.30939245223999023, 0.07130607962608337, 0.6418917775154114, -0.6392655968666077, 0.7393594980239868, 0.06549500674009323, -0.5984894633293152, 0.4061093330383301, -0.29927587509155273, 0.26374223828315735, 0.6620135307312012, 0.30527985095977783, -0.33441245555877686, -0.8021405935287476, -0.4489228427410126, -0.668844997882843, 0.39235731959342957, 0.1947241872549057, 0.1356564313173294, -0.005928883794695139, 0.5186176300048828, 0.546965479850769, 0.48921504616737366, 0.031280457973480225, -0.6156464219093323, 0.0813128799200058, 0.044505853205919266, -0.5933462977409363, 0.2188798040151596, -0.11793763935565948, -0.47685670852661133, 0.35161420702934265, -0.3162841200828552, 0.20101521909236908, 0.04651534557342529, -0.1672169715166092, -0.28745728731155396, -0.12862825393676758, 0.7245622277259827, 0.5415278673171997, -0.11150694638490677, 0.156431645154953, -0.06571421772241592, -0.46243804693222046, 0.022974373772740364, -0.030131492763757706, -0.02854848839342594, 0.12971386313438416, 0.28641968965530396, 0.7377688884735107, 0.01538939867168665, -0.3757775127887726, 0.2936258018016815, -0.05741029977798462, -0.46119192242622375, 0.23095771670341492, -0.026516711339354515, -0.24613478779792786, 0.18273566663265228, 0.007340806070715189, 0.7135238647460938, 0.25578567385673523, -0.025538722053170204, 0.3073275089263916, 0.38604801893234253, -0.6977155208587646, -0.5080368518829346, 1.0413002967834473, 0.12545335292816162, -0.14573657512664795, 0.7050333023071289, -0.06461597234010696, -0.27116891741752625, 0.2152015119791031, 0.24605782330036163, 0.6554743051528931, 0.04686788469552994, 0.06066817790269852, 0.15425914525985718, 0.3602069020271301, -0.015348419547080994, -0.05194992199540138, 0.34164926409721375, -0.6262990236282349, -0.5479466915130615, -0.5143696665763855, -0.6082350611686707, 0.057202860713005066, -0.7276999950408936, -0.03392459452152252, -0.09302438795566559, -0.5832690596580505, 0.0492362417280674, 0.09618574380874634, -0.9984264969825745, 0.3545165956020355, -0.15054377913475037, 0.5847219824790955, -0.7151082158088684, 0.9140820503234863, 0.8229180574417114, -0.23142041265964508, -0.30053460597991943, -0.28723594546318054, -0.16042055189609528, -0.7919623255729675, 0.3993118107318878, -0.045035336166620255, -0.3783951699733734, 0.02448328770697117, -0.5264618992805481, -0.7662996649742126, 0.828567385673523, 0.5155664086341858, -0.22896142303943634, 0.48851996660232544, 0.5184094905853271, 0.768499493598938, -0.17451784014701843, -0.26750996708869934, 0.7023679614067078, 0.3133170008659363, -0.6643164753913879, -1.1442298889160156, -0.15255749225616455, -0.2739681005477905, -0.3244931995868683, 0.4564913809299469, -0.9464225769042969, 0.6733916401863098, -0.22594504058361053, -0.13451626896858215, 0.31535038352012634, 0.4009306728839874, -0.08515043556690216, 0.4528205692768097, -0.09419076144695282, 0.5945205688476562, 0.8300710916519165, -0.26065388321876526, 0.9421687126159668, -0.4820614159107208, 0.23431946337223053, 0.864482581615448, -0.006081589963287115, 0.8816152215003967, 0.4492555558681488, -0.2148691862821579, -0.06303451210260391, 0.871283233165741, 0.013150247745215893, 0.4782179296016693, 0.23842188715934753, 0.1341368556022644, -0.42104288935661316, -0.05043534189462662, -0.5110310912132263, 0.44798046350479126, 0.5852381587028503, -0.32864058017730713, 0.24875794351100922, -0.013573291711509228, -0.16643241047859192, 0.15446722507476807, -0.12301005423069, 0.6181321740150452, 0.42610758543014526, -0.39453253149986267, 0.8609673380851746, 0.17280182242393494, 0.4695880115032196, -0.19075030088424683, 0.0911509171128273, -0.5031481981277466, 0.3244864344596863, -0.2985055446624756, -0.8529384732246399, 0.3694869875907898, -0.32747381925582886, -0.2494526505470276, -0.18721026182174683, 0.31504154205322266, -0.25322914123535156, -0.2751712203025818, 0.1807946115732193, 1.2401089668273926, 0.4584506154060364, -0.2866732180118561, -0.734255850315094, -0.2690271735191345, -0.1788388043642044, -0.11625395715236664, 0.5672094821929932, 1.124143362045288, -0.07357269525527954, 0.7472324967384338, 0.6392241716384888, 0.22047340869903564, 0.06818397343158722, -0.028869474306702614, 0.5819608569145203, -0.684968888759613, -0.06011774390935898, -0.6302857398986816, 0.0837671160697937, 0.11589089035987854, -0.6914495229721069, 0.7882927060127258, 0.7206379771232605, 0.9226630330085754, -0.18926526606082916, 0.5713274478912354, 0.585536003112793, 0.8011406660079956, -0.5463162660598755, 0.9963033199310303, -0.8882236480712891, -0.050551723688840866, -0.15487171709537506, -0.9565812349319458, -0.6831797361373901, 0.37816953659057617, 0.2787027955055237, -0.3097939193248749, 0.6728963851928711, 0.5326752662658691, -0.18469807505607605, -0.5838376879692078, 0.7219923734664917, 0.06104486808180809, 0.1544438600540161, 0.39276352524757385, 0.7048520445823669, -0.6770159602165222, 0.29132354259490967, -0.01080922782421112, 0.16597002744674683, -0.29870539903640747, -0.6186124682426453, -0.7856621742248535, -0.506814181804657, -0.5083236694335938, -0.4379943907260895, 0.1146727129817009, 0.7019607424736023, 0.8201270699501038, -0.926799476146698, 0.12027870863676071, 0.34980058670043945, -0.1484793871641159, -0.38339683413505554, -0.11105883866548538, 0.40862494707107544, -0.3973410427570343, -0.6397739052772522, 0.3954384922981262, 0.25440582633018494, 0.1719711720943451, 0.03102901205420494, -0.19600611925125122, 0.36157169938087463, -0.17355510592460632, 0.7689008116722107, 0.11999530345201492, -0.5272862315177917, -0.43906763195991516, 0.28920766711235046, -0.5063387155532837, 0.238972470164299, 0.6249797344207764, -0.3219456076622009, 0.3055060803890228, 0.13307558000087738, 0.8859163522720337, 0.06833761930465698, 0.11960334330797195, 0.7878121733665466, -0.8601689338684082, -0.15526247024536133, 0.06539756804704666, 0.3038756847381592, 0.4772525429725647, -0.0974050983786583, 0.6781952381134033, 0.2629946172237396, -0.7138960361480713, -0.7953314185142517, -0.03482305258512497, -0.8130039572715759, -0.14592695236206055, 1.0159658193588257, -0.12643390893936157, -0.042359549552202225, -0.3543183207511902, -0.03821057826280594, 0.2603338956832886, -0.14806926250457764, 0.7372244000434875, 0.5999849438667297, -0.361100435256958, 0.21037693321704865, -0.9191759824752808, 0.7799376249313354, 0.6687934398651123, -0.5387659072875977, -0.09130150079727173, 0.4897638261318207, 0.071701280772686, 0.1264631599187851, 0.24076490104198456, -0.23353202641010284, 0.1635999232530594, -0.2630996108055115, -0.048839930444955826, 0.06645090132951736, -0.3335040211677551, -0.16842399537563324, -0.2757299542427063, 0.4092867374420166, -0.5238747000694275 ]
http://arxiv.org/abs/2402.18734v1
http://arxiv.org/pdf/2402.18734v1
Priority Sampling of Large Language Models for Compilers
2024-02-28T22:27:49
2024-02-28T22:27:49
Dejan Grubisic, Chris Cummins, Volker Seeker, Hugh Leather
cs.LG
cs.LG, cs.CL, cs.PF
Large language models show great potential in generating and optimizing code. Widely used sampling methods such as Nucleus Sampling increase the diversity of generation but often produce repeated samples for low temperatures and incoherent samples for high temperatures. Furthermore, the temperature coefficient has to be tuned for each task, limiting its usability. We present Priority Sampling, a simple and deterministic sampling technique that produces unique samples ordered by the model's confidence. Each new sample expands the unexpanded token with the highest probability in the augmented search tree. Additionally, Priority Sampling supports generation based on regular expression that provides a controllable and structured exploration process. Priority Sampling outperforms Nucleus Sampling for any number of samples, boosting the performance of the original model from 2.87% to 5% improvement over -Oz. Moreover, it outperforms the autotuner used for the generation of labels for the training of the original model in just 30 samples.
[ -0.39219796657562256, -0.3711135685443878, 0.4893321096897125, 0.06489909440279007, -0.10412860661745071, 0.13045045733451843, -0.37310609221458435, -0.2825635075569153, -0.02035963349044323, 0.6287400722503662, -0.2850953936576843, -0.5452883839607239, -0.5064795017242432, -0.11313804984092712, -0.41201066970825195, 0.6407268643379211, 0.27774086594581604, -0.2007327526807785, -0.002592281671240926, 0.17860321700572968, -0.19279471039772034, -0.8802335262298584, -0.7354416251182556, -0.10173641890287399, 0.3729364573955536, 0.693084180355072, 0.5786508917808533, 0.6205421686172485, 0.3283061981201172, 0.29375889897346497, -0.20159126818180084, -0.291950523853302, -0.6368811130523682, 0.4830269515514374, 0.039745379239320755, -0.4084189236164093, -0.36366569995880127, 0.09642349183559418, 0.7450350522994995, 0.7166020274162292, -0.2699136435985565, 0.31760984659194946, -0.0800246149301529, 0.6745724081993103, -0.8841818571090698, 0.04309776425361633, -0.6459296345710754, 0.06841059029102325, -0.532379150390625, -0.38457155227661133, -0.6560208201408386, -0.34935733675956726, -0.2523930072784424, -0.14867277443408966, 0.45244500041007996, -0.014364898204803467, 0.4176744818687439, 0.36327576637268066, -0.24121229350566864, 0.06785006821155548, -0.9283264875411987, 1.104130506515503, -0.518474280834198, 0.19056802988052368, 0.36162620782852173, 0.25210922956466675, -0.16603456437587738, -0.6462303400039673, -0.3211098313331604, -0.3559834659099579, 0.4156973659992218, -0.08552468568086624, 0.02817516215145588, -0.04161178320646286, 0.527456521987915, 0.3372021019458771, -0.6044769287109375, 0.1704758256673813, -0.1524008959531784, -0.12482741475105286, 0.678406834602356, -0.027529148384928703, 0.2792304754257202, -0.21759556233882904, -0.10410595685243607, -0.636539101600647, -0.6807774901390076, 0.291841596364975, 0.6445545554161072, 0.317076176404953, 0.3939805328845978, 0.5757455825805664, -0.4996930956840515, 1.2309646606445312, -0.055466145277023315, 0.18341222405433655, 0.24960744380950928, -0.3282443881034851, -0.19251616299152374, 0.04386043921113014, 0.48050612211227417, 0.13720066845417023, 0.24194125831127167, 0.09668310731649399, -0.12822264432907104, -0.06868085265159607, 0.2679334878921509, -0.7386367321014404, -0.4810709059238434, 0.4961732029914856, -0.2915422320365906, -0.37862592935562134, 0.14537249505519867, -0.8396602869033813, 0.09045042842626572, -0.2681047320365906, -0.34021759033203125, -0.0595635287463665, -0.3088405728340149, 0.22457736730575562, -0.08030208200216293, -0.09334609657526016, 0.11113367229700089, -0.9521755576133728, 0.16374003887176514, 0.527488648891449, 0.3220727741718292, -0.3566780686378479, -0.15002818405628204, -0.8089144229888916, 0.05399854853749275, -0.5303319692611694, 0.9797478914260864, -0.9149244427680969, -0.3098399341106415, -0.35301679372787476, -0.33970320224761963, 0.14946259558200836, -0.5083534121513367, 0.3165789842605591, -0.7149286866188049, -0.20439103245735168, -0.1496444195508957, -0.29583561420440674, 0.1758597493171692, -0.1371200978755951, -0.8916841149330139, 1.3241052627563477, 0.3696174919605255, -0.5126879215240479, 0.5190128087997437, -0.3552088141441345, -0.22054454684257507, 0.190495565533638, -0.05908733606338501, -0.32920005917549133, 0.16425015032291412, 0.11989597976207733, 0.2603779435157776, -0.3658965528011322, 0.30338358879089355, -0.23452098667621613, -0.1623494178056717, 0.23978117108345032, -0.2797691226005554, 0.7642374038696289, 0.5981510877609253, -0.2973950505256653, 0.27214595675468445, -0.668439507484436, 0.6861338019371033, -0.13569387793540955, -0.6007135510444641, -0.4123152792453766, -0.02088822051882744, 0.2272188365459442, 0.45601657032966614, 0.2747442424297333, -0.4862208962440491, 0.511712372303009, -0.3203141987323761, 0.3175409138202667, 0.6500641703605652, -0.07643555849790573, 0.5645859837532043, -0.24901604652404785, 0.7973330616950989, -0.14399290084838867, 0.13300581276416779, 0.2832832932472229, -0.5929868221282959, -0.6296813488006592, -0.21233563125133514, 0.7196586728096008, 0.5027369856834412, -0.614103376865387, 0.7724320888519287, -0.18826723098754883, -0.6262063384056091, -0.3599555790424347, 0.12005424499511719, 0.4107954800128937, 0.005207523237913847, 0.20604249835014343, -0.3919786810874939, -0.4637840986251831, -0.7599993944168091, 0.090762197971344, 0.014250111766159534, -0.12319657951593399, 0.21909089386463165, 0.06425781548023224, 0.16273659467697144, 1.049921989440918, -0.634076714515686, 0.5081108808517456, -0.5926050543785095, 0.32992786169052124, 0.3824792504310608, 0.7028942108154297, 0.6335991024971008, -1.0663658380508423, -0.47265002131462097, -0.3768264651298523, -0.31470954418182373, -0.37330007553100586, 0.13132108747959137, -0.42480599880218506, 0.312751829624176, 0.6279959678649902, -0.38037997484207153, 0.16738198697566986, 0.7859722375869751, -0.11161180585622787, 0.29152265191078186, 0.05946695804595947, 0.18901215493679047, -1.1138676404953003, 0.28486523032188416, -0.3028397560119629, -0.18059279024600983, -0.4951847493648529, 0.5601370334625244, -0.10316196084022522, -0.28514766693115234, -0.5131382346153259, 0.6109285950660706, -0.48783013224601746, -0.2195168435573578, -0.34311047196388245, -0.3506298065185547, -0.21396078169345856, 0.07435322552919388, 0.10559473186731339, 0.7135944366455078, 0.5917190313339233, -0.6980627179145813, 0.2431545853614807, -0.1685890555381775, -0.5806089043617249, -0.09670151025056839, -0.4175129532814026, 0.2692432105541229, -0.018548667430877686, 0.3193438649177551, -1.0135663747787476, -0.11075369268655777, -0.06359673291444778, -0.337372362613678, 0.42926663160324097, -0.3262776732444763, -0.5751281976699829, -0.6265196800231934, -0.08348143845796585, 0.5338122248649597, 0.6302912831306458, -0.3173614740371704, 0.3461576998233795, 0.6042258739471436, -0.4928777515888214, -0.7487214803695679, -0.30016785860061646, -0.09147254377603531, 0.07471659779548645, -0.20069143176078796, 0.14218831062316895, -0.44412821531295776, -0.2788965702056885, 0.0707872062921524, -0.09072656184434891, -0.04041515663266182, 0.29676419496536255, 0.2083064466714859, 0.035521697252988815, 0.09234841912984848, -0.06731249392032623, -0.1867457926273346, -0.3804382085800171, -0.2988743782043457, -0.510342538356781, 1.2478759288787842, 0.3014381229877472, -0.35939741134643555, 0.03258383646607399, 0.6024368405342102, 0.5018095970153809, -0.2066332995891571, 0.22319930791854858, 0.15476857125759125, -0.25159284472465515, -0.3079654276371002, -0.5981668829917908, -0.27023845911026, -0.4310956597328186, 0.19705206155776978, -0.42440640926361084, -0.8768469095230103, 0.37363961338996887, 0.2720910906791687, 0.21123719215393066, 0.5481500625610352, 0.7494382858276367, 0.31455156207084656, 1.2542322874069214, 0.7084246277809143, -0.3959699869155884, 0.5289849042892456, -0.10099322348833084, 0.18711715936660767, -0.5650582313537598, 0.2916059195995331, -0.8292211294174194, -0.33108726143836975, -0.6273934841156006, -0.6016417741775513, 0.22707541286945343, 0.07698110491037369, 0.028354661539196968, 0.38454970717430115, -0.8283979892730713, 0.603992760181427, 1.2232940196990967, -0.12022662162780762, 0.24166619777679443, 0.27002084255218506, -0.23286116123199463, 0.11391038447618484, -0.9455991387367249, -0.2835741341114044, 1.2005414962768555, -0.18167904019355774, 0.6340675354003906, -0.10288143903017044, 1.040050983428955, 0.015258884988725185, 0.453395813703537, -0.550328254699707, 0.7055857181549072, -0.28149381279945374, -0.7963606119155884, -0.4948127269744873, -0.6035659909248352, -0.9416868686676025, -0.03813870996236801, 0.08764105290174484, -0.5931216478347778, 0.32560932636260986, 0.21907739341259003, -0.6368175148963928, 0.2282390296459198, -0.6350541710853577, 0.6350762248039246, 0.050684601068496704, -0.25334402918815613, -0.24245214462280273, -0.3559422492980957, 0.3045828938484192, -0.14872007071971893, -0.09181676805019379, -0.11756347119808197, 0.5032830834388733, 0.6011078953742981, -0.2625959515571594, 0.5989165306091309, -0.09187157452106476, -0.0019320284482091665, 0.5476117134094238, 0.11083337664604187, 0.3223935663700104, 0.07728559523820877, -0.4873799979686737, 0.046064212918281555, -0.15519389510154724, -0.48018404841423035, -0.20437365770339966, 0.7040045261383057, -0.5612227916717529, -0.6193288564682007, -0.6441975831985474, -0.6869692206382751, -0.03858998790383339, 0.15436305105686188, 0.5293965935707092, 0.35901081562042236, 0.08652191609144211, 0.30308863520622253, 0.30007702112197876, -0.40468525886535645, 0.45755821466445923, 0.48428142070770264, -0.11284143477678299, -0.0846034586429596, 0.8561888933181763, 0.2074611485004425, 0.3859603703022003, 0.3565059006214142, 0.11156243830919266, -0.00963394995778799, -0.6524232625961304, -0.2796543836593628, -0.1635151356458664, -0.5391565561294556, -0.26611605286598206, -0.7686840295791626, -0.4232773184776306, -0.5990419983863831, -0.2333616018295288, -0.459061861038208, -0.6517066359519958, 0.0770745575428009, -0.06256991624832153, 0.38119393587112427, 0.48096057772636414, -0.24644887447357178, 0.15197592973709106, -0.8157957196235657, 0.43144235014915466, 0.5175657868385315, 0.17588625848293304, -0.15981748700141907, -0.13537395000457764, 0.010534469969570637, -0.18047697842121124, -0.13388003408908844, -0.4517011344432831, 0.602500319480896, -0.12989120185375214, 0.6967018246650696, 0.110471211373806, 0.25759950280189514, 0.4183063209056854, -0.5083675384521484, 0.8289417624473572, -0.27684614062309265, -0.7260503172874451, 0.5159385800361633, -0.25009140372276306, 0.6805272102355957, 0.8569083213806152, 0.3454138934612274, -0.2921479642391205, -0.7597068548202515, -0.9006029963493347, -1.3146564960479736, 0.5947827696800232, 0.15284772217273712, -0.15961109101772308, -0.18816423416137695, 0.29106605052948, -0.23465240001678467, 0.2805050313472748, -0.427959680557251, -0.06605632603168488, 0.09226256608963013, -0.0791805237531662, -0.28506550192832947, -0.5108758211135864, -0.11576497554779053, -0.21413320302963257, 0.5083577036857605, -0.08974368125200272, 0.22347041964530945, -0.16011609137058258, 0.006940783932805061, -0.31341850757598877, 0.4353705048561096, 0.500947892665863, 0.5614253282546997, -0.47861558198928833, 0.08852556347846985, -0.2888748049736023, -0.5649709701538086, 0.12101152539253235, 0.07955312728881836, -0.4518206715583801, -0.11885803937911987, -0.04845548793673515, 0.4096184968948364, 0.09226327389478683, -0.6277427673339844, 0.08569583296775818, -0.14307282865047455, 0.15610405802726746, -0.3694060444831848, 0.3914770185947418, -0.02959468401968479, 0.03976016864180565, 0.3690643310546875, 0.07598802447319031, 0.37177199125289917, -0.5341583490371704, 0.35717684030532837, 0.30739808082580566, 0.021428033709526062, 0.12173951417207718, 0.5165875554084778, -0.04681989178061485, -0.045624539256095886, 0.8682355284690857, -0.39796048402786255, -0.43870145082473755, 0.9941474795341492, 0.413892537355423, 0.7861570715904236, -0.4611896872520447, 0.019446851685643196, 0.7031906247138977, 0.2138722538948059, -0.4677761197090149, 0.6978675723075867, -0.009196584112942219, -0.6806968450546265, -0.5673893094062805, -0.8781006336212158, -0.5560831427574158, 0.08580818772315979, -0.8385770320892334, 0.09808601438999176, -0.25232261419296265, -0.350056916475296, -0.20101548731327057, -0.1620490700006485, -0.5662286877632141, 0.21449080109596252, 0.11183874309062958, 0.898383378982544, -0.826097846031189, 1.008373737335205, 0.3919496238231659, -0.09494999796152115, -0.9091037511825562, 0.08686256408691406, -0.13999930024147034, -0.5219212174415588, 1.0295071601867676, -0.002062858548015356, -0.09068245440721512, 0.3432878851890564, -0.5777168273925781, -1.3810251951217651, 0.6539751887321472, 0.2260739803314209, -0.7424442768096924, -0.057175036519765854, -0.14151549339294434, 0.3864794969558716, -0.138364776968956, 0.24903446435928345, 0.5541350245475769, 0.5080267190933228, 0.1312466263771057, -0.5586732625961304, -0.10838260501623154, -0.6141474843025208, 0.20616550743579865, 0.26661038398742676, -0.4303017258644104, 1.0801947116851807, 0.06691516190767288, -0.19859172403812408, 0.19316466152668, 0.4794180691242218, 0.5641367435455322, -0.23554107546806335, 0.676295816898346, 0.645796537399292, 0.7157168984413147, -0.13446882367134094, 1.4634997844696045, -0.9222167730331421, 0.27445363998413086, 1.102179765701294, -0.5497432351112366, 1.0007681846618652, 0.24444545805454254, 0.0543857216835022, 0.04034128040075302, 0.7282060980796814, -0.02123669534921646, 0.4757724106311798, 0.4061073660850525, -0.2786482870578766, -0.5301730036735535, -0.17524774372577667, -0.43953937292099, 0.46094903349876404, 0.3719441890716553, -0.163080632686615, -0.22592462599277496, -0.1089160144329071, -0.26745083928108215, -0.13242758810520172, -0.21860182285308838, 0.5163259506225586, -0.08282766491174698, -1.1400796175003052, 0.6592439413070679, -0.027187328785657883, 0.4994708299636841, -0.4541548490524292, -0.018967000767588615, -0.040568429976701736, 0.03624030575156212, -0.022945905104279518, -0.8096653819084167, 0.05117793008685112, 0.015784135088324547, -0.37246087193489075, -0.6077670454978943, 0.3370160758495331, -0.42470818758010864, -0.6920047402381897, 0.15546660125255585, 0.22416934370994568, 0.2011343240737915, -0.023386569693684578, -0.3543247878551483, 0.024043379351496696, -0.13245172798633575, -0.5918653011322021, 0.3390803635120392, 0.14015613496303558, -0.1281459629535675, 0.46760958433151245, 0.9289447069168091, 0.5503415465354919, 0.16452844440937042, 0.2797747552394867, 0.7773826718330383, -0.5382528305053711, -0.46735522150993347, -0.6103700995445251, 0.291858047246933, -0.20047780871391296, -0.27075543999671936, 0.6975417137145996, 0.6473389267921448, 0.9689233899116516, -0.2285291701555252, 0.9337491393089294, -0.20476703345775604, 0.5954771041870117, -0.8515884876251221, 0.6086689829826355, -0.28600752353668213, 0.025825031101703644, -0.2975996732711792, -1.2308859825134277, -0.3023451864719391, 0.6474847793579102, -0.44332224130630493, 0.2161666303873062, 0.7915571331977844, 0.7105360627174377, 0.013977676630020142, -0.40848004817962646, 0.2722841203212738, 0.009079995565116405, 0.25464972853660583, 0.8556454181671143, 0.6337317228317261, -0.040067244321107864, 0.235589861869812, -0.41808539628982544, -0.3202414810657501, -0.40674880146980286, -0.9267805218696594, -0.46978092193603516, -0.5500858426094055, -0.2049175202846527, -0.3506345748901367, -0.09001301229000092, 1.0894204378128052, 1.0060787200927734, -1.0644575357437134, -0.2952732741832733, -0.06529197096824646, -0.07543855160474777, -0.3498947024345398, -0.25535687804222107, 0.13495852053165436, -0.39186954498291016, -1.0516464710235596, 0.5137434601783752, 0.14512401819229126, -0.0833292081952095, -0.16084204614162445, 0.46231985092163086, -0.08518784493207932, -0.1834145188331604, 0.395260751247406, 0.5397106409072876, -0.2809543013572693, -0.1603933572769165, 0.054966896772384644, -0.33457890152931213, 0.1421789526939392, 1.1326566934585571, -0.562068521976471, 0.46409615874290466, 0.8673123717308044, 0.5751857757568359, 0.4811757802963257, 0.14806021749973297, 0.7467064261436462, -0.7753795981407166, 0.38332483172416687, 0.4256853759288788, 0.3345237374305725, 0.14043645560741425, -0.4519404172897339, 0.44748425483703613, -0.028261439874768257, -0.6622922420501709, -0.7706778645515442, 0.6148637533187866, -1.1665188074111938, -0.4344838857650757, 1.4387754201889038, 0.2096492201089859, -0.2222726196050644, -0.1541365683078766, -0.01433023065328598, 0.3487233817577362, -0.6233825087547302, 0.9158843159675598, 0.7701029777526855, 0.003188306000083685, -0.015076710842549801, -1.0090034008026123, 0.4995664358139038, 0.5067580938339233, -0.737653374671936, 0.18695946037769318, 0.44957292079925537, 0.3512253165245056, 0.35442379117012024, 0.8964295983314514, -0.12970475852489471, 0.31322938203811646, -0.24809695780277252, 0.46540823578834534, 0.23948214948177338, -0.6414889693260193, -0.3178344964981079, 0.5647804141044617, 0.3655164837837219, 0.2956225872039795 ]
http://arxiv.org/abs/2404.01306v3
http://arxiv.org/pdf/2404.01306v3
NeuroPrune: A Neuro-inspired Topological Sparse Training Algorithm for Large Language Models
2024-02-28T22:21:47
2024-06-05T16:07:13
Amit Dhurandhar, Tejaswini Pedapati, Ronny Luss, Soham Dan, Aurelie Lozano, Payel Das, Georgios Kollias
cs.LG
cs.LG, cs.CL
Transformer-based Language Models have become ubiquitous in Natural Language Processing (NLP) due to their impressive performance on various tasks. However, expensive training as well as inference remains a significant impediment to their widespread applicability. While enforcing sparsity at various levels of the model architecture has found promise in addressing scaling and efficiency issues, there remains a disconnect between how sparsity affects network topology. Inspired by brain neuronal networks, we explore sparsity approaches through the lens of network topology. Specifically, we exploit mechanisms seen in biological networks, such as preferential attachment and redundant synapse pruning, and show that principled, model-agnostic sparsity approaches are performant and efficient across diverse NLP tasks, spanning both classification (such as natural language inference) and generation (summarization, machine translation), despite our sole objective not being optimizing performance. NeuroPrune is competitive with (or sometimes superior to) baselines on performance and can be up to $10$x faster in terms of training time for a given level of sparsity, simultaneously exhibiting measurable improvements in inference time in many cases.
[ -0.3272501230239868, -0.8355367183685303, 0.06810352206230164, 0.30691972374916077, 0.021904200315475464, -0.3119913935661316, -0.3790885806083679, -0.21312063932418823, 0.6937509775161743, 0.21699663996696472, -0.6267439126968384, -0.0694015696644783, -0.8585320711135864, 0.20407602190971375, -0.6466668248176575, 1.1977088451385498, 0.5880441069602966, -0.09402874857187271, -0.08772983402013779, -0.2719855010509491, -0.33778953552246094, -0.5381349921226501, -0.7262352108955383, -0.4780140519142151, 0.7105950713157654, 0.2602619230747223, 1.012325406074524, 0.5926675200462341, 0.4096965193748474, 0.3650418221950531, -0.5407617092132568, 0.30438506603240967, -0.6669829487800598, 0.09154845774173737, -0.10884454846382141, -0.197139710187912, -0.34028249979019165, -0.2982012927532196, 0.6792252659797668, 1.095110535621643, -0.3870184123516083, -0.24784283339977264, 0.32673880457878113, 0.7012683749198914, -0.33796578645706177, -0.41592955589294434, -0.6487003564834595, 0.20642848312854767, -0.08938805013895035, -0.1611933559179306, -0.12349852919578552, -0.3013910949230194, 0.16613760590553284, -0.7482395768165588, 0.5514853596687317, 0.04945974424481392, 1.0364971160888672, 0.4115432798862457, -0.1390250027179718, -0.023685511201620102, -0.5478788018226624, 0.4929666817188263, -0.6588538885116577, 0.3993400037288666, 0.21873196959495544, 0.15533164143562317, -0.4847932755947113, -0.7635073065757751, -0.47395411133766174, -0.1324775516986847, -0.21557316184043884, -0.24242939054965973, -0.5169738531112671, 0.16086843609809875, 0.24033968150615692, 0.36255109310150146, -0.9023883938789368, 0.12205672264099121, -0.2597118318080902, 0.26142844557762146, 0.3065890371799469, -0.019609741866588593, 0.5633881688117981, -0.16927999258041382, -0.04530360549688339, -0.07372219860553741, -0.5482868552207947, -0.3660240173339844, 0.2721253037452698, 0.29058289527893066, -0.05698389559984207, 0.30205172300338745, 0.09053819626569748, 0.9243188500404358, -0.1764405071735382, 0.2337423413991928, -0.06865976750850677, 0.14722388982772827, -0.20360113680362701, -0.11661888659000397, 0.8064835071563721, -0.033384453505277634, 0.4814181923866272, -0.8814963698387146, -0.20886588096618652, 0.09493864327669144, 0.6086341142654419, -0.6161189675331116, -0.4916318655014038, 0.09553732722997665, -0.2694489657878876, -0.3099913001060486, -0.2579343616962433, -0.8356555700302124, -0.3814913034439087, -0.3161045014858246, 0.40151247382164, -0.6737492680549622, -0.5607703328132629, 0.2964070737361908, -0.35708296298980713, -0.12189801782369614, 0.21268324553966522, -1.0380760431289673, 1.0481106042861938, 1.088229775428772, 1.3360992670059204, -0.3242591321468353, -0.5970361232757568, -0.31188344955444336, -0.001644657808355987, -0.2883465886116028, 0.7978610396385193, -0.4789770245552063, -0.04133623465895653, -0.4572085440158844, -0.044211097061634064, -0.3629339337348938, -0.5293378233909607, 0.2768993377685547, -0.3798206150531769, -0.22990131378173828, 0.07590686529874802, -0.26004040241241455, -0.3039725720882416, 0.2616836428642273, -0.8361092209815979, 1.0405679941177368, -0.009099534712731838, -0.877240777015686, 0.23403127491474152, -0.6784822344779968, -0.6321085095405579, 0.03753919526934624, 0.08381043374538422, -0.3952816128730774, 0.4207252264022827, 0.04091648384928703, 0.3747490346431732, -0.2326117753982544, 0.669933021068573, -0.38534054160118103, -0.5813058018684387, 0.20033155381679535, -0.27320000529289246, 0.650818407535553, -0.06716591864824295, -0.3585790693759918, 0.12744945287704468, -0.58682781457901, -0.2831902503967285, 0.18733683228492737, 0.3026687204837799, -0.5297607779502869, 0.1311689019203186, 0.28412705659866333, 0.06670283526182175, -0.37309321761131287, -0.3819565773010254, 0.32982030510902405, -0.9628950953483582, 0.8277511596679688, 0.6889243721961975, -0.04722735285758972, 0.6367026567459106, -0.1418413519859314, 0.41085246205329895, -0.28286924958229065, 0.03506674990057945, 0.6215949058532715, -0.41757696866989136, -0.7359936237335205, -0.26575329899787903, 0.3705344796180725, 0.2528744339942932, -0.3445320427417755, 0.475757896900177, -0.5540216565132141, -0.5937452912330627, 0.02908184379339218, -0.09180861711502075, 0.015271027572453022, 0.3211609423160553, 0.31129878759384155, -0.42609500885009766, -0.34130215644836426, -0.8054744601249695, -0.4246676564216614, 0.4748901128768921, 0.20293927192687988, 0.3393375873565674, 0.7063323855400085, 0.03104151040315628, 0.7738009691238403, -0.48056191205978394, -0.1671351045370102, -0.5086104869842529, 0.11624017357826233, 0.770146906375885, 0.6883484125137329, 0.4933284521102905, -0.7073447704315186, -0.005097709130495787, 0.09341869503259659, -0.4067811369895935, 0.029736019670963287, -0.038164760917425156, -0.15158958733081818, -0.19416511058807373, 0.3898566663265228, -0.9172472357749939, 0.37757545709609985, 0.620136022567749, -0.11299167573451996, 0.3915270268917084, -0.1810576170682907, -0.3563995063304901, -0.996117353439331, 0.3744431138038635, 0.12218558043241501, -0.09853880852460861, -0.6899800896644592, -0.09110740572214127, -0.43472716212272644, -0.5944739580154419, 0.19118881225585938, 0.5837181210517883, -0.629550039768219, -0.3984334468841553, -0.36923226714134216, 0.30559083819389343, 0.006065047346055508, 0.7172805070877075, 0.22388598322868347, 0.6319375038146973, 0.5574411153793335, -0.6465336680412292, -0.058199986815452576, 0.2544792592525482, 0.03782491758465767, 0.3256659209728241, -1.1500260829925537, -0.023109497502446175, -0.19224902987480164, 0.2647721767425537, -0.8240483403205872, -0.08195775747299194, 0.06869527697563171, -0.6153572201728821, 0.4364737272262573, -0.41389200091362, -0.519812822341919, 0.03372133895754814, 0.17475837469100952, 0.4650917947292328, 0.252363383769989, -0.4652768671512604, 0.5870852470397949, 0.47491946816444397, -0.06150168180465698, -0.6478238701820374, -0.7838010787963867, 0.3778821527957916, -0.17487819492816925, -0.5635810494422913, 0.3134881556034088, 0.3910427689552307, 0.09829262644052505, -0.01644895225763321, -0.15310657024383545, -0.47249650955200195, 0.366009384393692, 0.3494681417942047, -0.11739612370729446, -0.21307697892189026, 0.23233528435230255, -0.01718561351299286, -0.3537614941596985, -0.005002331454306841, -0.5999046564102173, 0.710538387298584, -0.1101415604352951, -0.21876221895217896, -0.3420564532279968, 0.3478371500968933, 0.4786655902862549, -0.3166761100292206, 0.6749762296676636, 0.32649436593055725, -0.5835431814193726, -0.608883261680603, -0.406608521938324, -0.7141435146331787, -0.466321736574173, 0.5975775122642517, -0.04945623129606247, -0.8227816820144653, -0.05690740793943405, -0.1915382444858551, -0.028127864003181458, 0.23472723364830017, 0.21646881103515625, 0.16278262436389923, 0.4849802255630493, 0.8053149580955505, -0.19532179832458496, 0.3068612813949585, -0.4949382245540619, 0.6513637900352478, -0.5655426979064941, -0.03982711583375931, -0.7044963836669922, -0.7995703220367432, -0.4331555664539337, -0.38032031059265137, 0.6044827103614807, -0.05911405384540558, -0.08724838495254517, 0.5753265619277954, -0.8699286580085754, 0.3718721568584442, 0.3477460443973541, 0.13038629293441772, 0.027239760383963585, 0.48796430230140686, 0.04408835619688034, -0.2564011514186859, -1.5018556118011475, -0.09617526829242706, 0.5322230458259583, 0.2181769460439682, 0.48262208700180054, 0.003349734703078866, 0.46621251106262207, 0.0625632032752037, 0.15106219053268433, -0.7151300311088562, 0.4599572420120239, -0.16587182879447937, -0.31111493706703186, -0.32462018728256226, -0.5820374488830566, -1.2073947191238403, 0.25254449248313904, -0.40080222487449646, -0.8153460621833801, 0.4650443494319916, 0.22332847118377686, -0.15783163905143738, 0.5788747072219849, -0.3849024772644043, 0.9982632994651794, -0.023582497611641884, -0.521682858467102, -0.5543280839920044, -0.5341300964355469, 0.2548510432243347, 0.3810727596282959, -0.06027202308177948, 0.07919337600469589, -0.05785825848579407, 0.6331838965415955, -0.4246029257774353, 0.9061509966850281, 0.09681463241577148, 0.5455025434494019, -0.044290002435445786, 0.515801191329956, 0.3710651695728302, 0.13995268940925598, -0.10937631875276566, 0.5183761119842529, -0.2734196186065674, -0.3564763367176056, -0.8001892566680908, 0.7077768445014954, -0.7529212236404419, -0.09509078413248062, -0.6295832991600037, -0.7501540780067444, -0.3236794173717499, 0.18028268218040466, 0.29633960127830505, 0.9117199778556824, -0.08704326301813126, 0.24215376377105713, 0.8941376209259033, -0.3190087080001831, 0.30397024750709534, 0.046431560069322586, 0.26270270347595215, -0.7414050698280334, 1.130814552307129, 0.2303391546010971, 0.06021682918071747, 0.5028068423271179, 0.1578274965286255, -0.02788710594177246, -0.6266270875930786, -0.3199787735939026, 0.44863271713256836, -0.17460304498672485, -0.27670374512672424, -1.0276745557785034, -0.3897848129272461, -0.2727479338645935, -0.2819722592830658, -0.49516868591308594, -0.7768729329109192, -0.07520300894975662, 0.06544262170791626, 0.6134986877441406, 0.8591727614402771, -0.20308399200439453, 0.5386182069778442, -0.43110743165016174, 0.27176204323768616, 0.0008788625127635896, 0.5032792687416077, 0.3162229359149933, -0.5893939733505249, -0.13876372575759888, -0.2589368522167206, -0.2667868733406067, -0.8967422842979431, 0.6750729084014893, 0.4160899817943573, 0.3330639600753784, 0.10809805244207382, -0.3651212155818939, 0.6968944668769836, -0.5762938261032104, 0.3544076085090637, 0.20583391189575195, -0.7778294682502747, 0.2716706395149231, -0.2513936161994934, -0.008768545463681221, 0.4249795377254486, 0.4672885835170746, -0.8073745965957642, -0.14393487572669983, -0.9129499197006226, -0.946434736251831, 0.4426440894603729, 0.2818637192249298, 0.12096602469682693, -0.08486136049032211, 0.44233453273773193, -0.11782040446996689, 0.19012907147407532, -0.89032381772995, -0.13604332506656647, -0.1915084570646286, 0.09804074466228485, 0.05825025588274002, -0.15854749083518982, -0.08156608790159225, -0.38574278354644775, 0.6305301785469055, -0.21966904401779175, 0.22017063200473785, 0.456732839345932, -0.01913689263164997, 0.2563684284687042, 0.026593033224344254, 0.39957505464553833, 0.5077317953109741, 0.13291557133197784, -0.08825559914112091, 0.27705705165863037, -0.4768994152545929, 0.05043775215744972, 0.03420427441596985, -0.17293477058410645, 0.3255951404571533, 0.3102348744869232, 0.5833587050437927, 0.47179168462753296, -0.35605213046073914, 0.7308852076530457, -0.03613733500242233, -0.33847203850746155, -0.09664440155029297, -0.06183668226003647, 0.15955354273319244, 0.025956904515624046, -0.06360332667827606, 0.4871903359889984, 0.4105328917503357, 0.1300097405910492, 0.23043836653232574, 0.5604556202888489, -0.47785496711730957, -0.3169254660606384, 0.36830899119377136, -0.030378440394997597, -0.3985229730606079, 0.7594913840293884, 0.025188865140080452, -0.40685465931892395, 0.6079232692718506, 0.5884262323379517, 1.0841959714889526, 0.08077230304479599, 0.10380607843399048, 0.5643271207809448, 0.6063156723976135, -0.1847163289785385, -0.16511504352092743, -0.149230495095253, -0.5965256690979004, -0.5117100477218628, -0.7350100874900818, -0.2818969786167145, 0.04104267805814743, -0.41126739978790283, 0.1648285835981369, -0.7044285535812378, -0.20826983451843262, -0.28019943833351135, -0.32573750615119934, -0.017811240628361702, 0.23653294146060944, -0.20704643428325653, 1.2303547859191895, -0.8681371808052063, 0.5998623967170715, 0.5271539092063904, 0.043989505618810654, -0.7471058964729309, -0.1442795693874359, -0.19482582807540894, -0.34080249071121216, 0.5689675807952881, 0.19995428621768951, -0.22499968111515045, -0.04726797714829445, -0.5260507464408875, -1.0080444812774658, 0.5930856466293335, 0.5073389410972595, -0.5099037289619446, -0.19493059813976288, -0.22015035152435303, 0.5273509621620178, 0.16321639716625214, 0.2240544855594635, 0.3637485206127167, 0.1376517117023468, -0.18879707157611847, -0.6881365776062012, -0.12408839166164398, -0.7196961641311646, 0.05923151597380638, 0.5001762509346008, -0.42836475372314453, 0.6857967376708984, 0.03365446254611015, -0.1554802507162094, -0.0011698767775669694, 0.7698858976364136, 0.2520621418952942, -0.008249697275459766, 0.4598805606365204, 0.8658599853515625, 0.593617856502533, -0.21113212406635284, 1.082374095916748, -0.6186721920967102, 0.1702808439731598, 0.9085420370101929, 0.03589223325252533, 0.5638407468795776, 0.5897548198699951, 0.127889022231102, 0.45006948709487915, 0.2518291175365448, -0.09374918043613434, 0.17623965442180634, 0.4616295099258423, 0.13434840738773346, -0.18295539915561676, -0.20542320609092712, -0.3105728328227997, 0.2953343093395233, 0.42220425605773926, -0.0053779431618750095, -0.40166646242141724, -0.41248276829719543, 0.0657682791352272, 0.3682902455329895, 0.014416402205824852, 0.6702756285667419, 0.30155497789382935, -0.6867274045944214, 0.697623074054718, -0.09099117666482925, 0.652466893196106, -0.8280301094055176, -0.17840108275413513, -0.252504825592041, 0.14181599020957947, -0.35783851146698, -0.23258666694164276, 0.6941956281661987, -0.2776014506816864, -0.07633268088102341, -0.1546550840139389, 0.7133196592330933, -0.053321197628974915, -0.32687249779701233, 0.22519038617610931, 0.2613959014415741, 0.152879536151886, -0.197686105966568, -0.7438927292823792, -0.08308236300945282, -0.5471888780593872, -0.1973874717950821, 0.3150137662887573, 0.6109557151794434, 0.1343008130788803, 0.8276479244232178, 0.5803031325340271, 0.5242146253585815, -0.09988109767436981, -0.12947967648506165, 1.0864485502243042, -0.43976229429244995, -0.5198015570640564, -0.7451667189598083, 0.14060425758361816, -0.39073628187179565, -0.7408678531646729, 0.5560471415519714, 0.5628547072410583, 0.3056892454624176, 0.1878274828195572, 0.3454734981060028, -0.04818098992109299, 0.288610577583313, -0.3390675187110901, 0.8139587044715881, -0.6655348539352417, -0.027006501331925392, -0.5043898224830627, -0.8105196952819824, -0.4686749577522278, 0.8571593165397644, -0.4516024887561798, 0.07724063843488693, 0.7753826379776001, 1.2163091897964478, -0.47511959075927734, 0.2264343649148941, 0.09699802100658417, 0.21150505542755127, -0.11828690767288208, 0.702946662902832, 0.5376680493354797, -0.3740924298763275, 0.2748657763004303, -0.33211755752563477, -0.17843706905841827, 0.036167778074741364, -0.9135465025901794, -0.8225082159042358, -0.3697775602340698, -0.07512892037630081, -0.4427705705165863, 0.4346006214618683, 0.8351227045059204, 1.0793989896774292, -0.5688493251800537, -0.599500834941864, -0.6879056096076965, 0.22827349603176117, -0.4742423892021179, -0.22813497483730316, 0.27352821826934814, -0.4574647843837738, -0.3725046217441559, 0.4637351930141449, 0.5330734252929688, -0.26030653715133667, -0.08495239913463593, 0.13026028871536255, -0.2715598940849304, -0.17774122953414917, 0.2801346480846405, 0.3763635754585266, -0.3520878255367279, 0.35499006509780884, 0.05326700583100319, -0.07561586052179337, 0.08061984181404114, 1.0662065744400024, -0.5645774006843567, -0.19192175567150116, 0.5412508845329285, 0.9515504240989685, 0.3116892874240875, -0.21999549865722656, 0.9257734417915344, -0.6306713819503784, 0.5509050488471985, 0.5967563390731812, 0.34920018911361694, 0.3807959258556366, -0.37719136476516724, 0.5678550601005554, 0.5799727439880371, -0.6977616548538208, -1.0311721563339233, 0.05032039061188698, -0.7989904880523682, -0.45956552028656006, 1.0009833574295044, 0.28724321722984314, -0.6524287462234497, -0.07336602360010147, 0.09968369454145432, 0.004367258865386248, -0.08573474735021591, 0.5944573879241943, 0.19747325778007507, 0.04564444720745087, -0.12088954448699951, -0.6345124244689941, 0.6146966814994812, 0.9190655946731567, -0.5385986566543579, 0.1356971114873886, 0.3214782774448395, 0.3039681613445282, 0.03059864416718483, 0.33249491453170776, 0.03239142894744873, 0.46167656779289246, 0.12380393594503403, 0.1965664178133011, -0.009431335143744946, -0.7213209271430969, -0.5507984757423401, 0.32599058747291565, -0.0463971346616745, 0.41107794642448425 ]
http://arxiv.org/abs/2402.18700v2
http://arxiv.org/pdf/2402.18700v2
Learning to Compress Prompt in Natural Language Formats
2024-02-28T20:41:21
2024-04-02T02:38:31
Yu-Neng Chuang, Tianwei Xing, Chia-Yuan Chang, Zirui Liu, Xun Chen, Xia Hu
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) are great at processing multiple natural language processing tasks, but their abilities are constrained by inferior performance with long context, slow inference speed, and the high cost of computing the results. Deploying LLMs with precise and informative context helps users process large-scale datasets more effectively and cost-efficiently. Existing works rely on compressing long prompt contexts into soft prompts. However, soft prompt compression encounters limitations in transferability across different LLMs, especially API-based LLMs. To this end, this work aims to compress lengthy prompts in the form of natural language with LLM transferability. This poses two challenges: (i) Natural Language (NL) prompts are incompatible with back-propagation, and (ii) NL prompts lack flexibility in imposing length constraints. In this work, we propose a Natural Language Prompt Encapsulation (Nano-Capsulator) framework compressing original prompts into NL formatted Capsule Prompt while maintaining the prompt utility and transferability. Specifically, to tackle the first challenge, the Nano-Capsulator is optimized by a reward function that interacts with the proposed semantics preserving loss. To address the second question, the Nano-Capsulator is optimized by a reward function featuring length constraints. Experimental results demonstrate that the Capsule Prompt can reduce 81.4% of the original length, decrease inference latency up to 4.5x, and save 80.1% of budget overheads while providing transferability across diverse LLMs and different datasets.
[ -0.3320232629776001, -0.774165689945221, 0.6615115404129028, 0.407529354095459, -0.33770743012428284, -0.031165041029453278, -0.7390201687812805, -0.2821766138076782, 0.17980875074863434, 0.45553678274154663, -0.819912314414978, -0.3933817446231842, -0.5315111875534058, 0.6857213377952576, 0.24926823377609253, 0.7902373671531677, -0.014360119588673115, -0.5536541938781738, -0.4121135175228119, 0.07389102876186371, -1.01838219165802, -0.4201221764087677, -0.8008149862289429, -0.06720239669084549, 0.39688119292259216, 0.49729079008102417, 0.44882088899612427, 0.5821296572685242, 0.08668278902769089, 0.31035560369491577, -0.2357628047466278, 0.2796260714530945, -0.2328827828168869, 0.3144683539867401, -0.065327487885952, -0.44900673627853394, -0.0360565148293972, -0.13467684388160706, 0.4993085265159607, 0.7048900127410889, -0.12809783220291138, -0.009143993258476257, 0.2724839746952057, 0.587878406047821, -0.5313636064529419, 0.49538949131965637, -0.3950200378894806, 0.16786827147006989, 0.07291221618652344, -0.26803189516067505, -0.5885618925094604, -0.6174164414405823, 0.1716241091489792, -0.8795800805091858, -0.010064177215099335, 0.5099418759346008, 0.573711633682251, 0.39662230014801025, -0.292411208152771, -0.40613242983818054, -0.368169903755188, 0.9500024318695068, -0.645597517490387, 0.058601174503564835, 0.19970127940177917, 0.5361891388893127, -0.1989516317844391, -0.47718289494514465, -0.6604194045066833, -0.24828052520751953, -0.2123667299747467, -0.3463006019592285, -0.21575626730918884, 0.24029850959777832, 0.2547731399536133, 0.2713518440723419, -0.7835482358932495, 0.31730082631111145, -0.11441270262002945, -0.4411027729511261, 0.2210303246974945, 0.22884495556354523, 0.4659782648086548, -0.4240491986274719, -0.3740825355052948, -0.1336536556482315, -0.6086431741714478, 0.2517153322696686, 0.19157522916793823, 0.7800209522247314, -0.23597285151481628, 0.3241182267665863, -0.1420627385377884, 0.7435379028320312, 0.01927204057574272, -0.18060261011123657, 0.21431785821914673, -0.2914925813674927, -0.2398340106010437, 0.2995529770851135, 0.8293811678886414, 0.38863739371299744, 0.34414204955101013, -0.32802924513816833, -0.04207004979252815, -0.11969902366399765, 0.03493347764015198, -0.9426078796386719, 0.2122061848640442, 0.27124926447868347, -0.450177937746048, -0.05334213376045227, -0.12751631438732147, -0.8051490187644958, -0.4317725598812103, -0.5586889386177063, 0.3417002856731415, -0.33437108993530273, 0.3464723527431488, 0.5750118494033813, -0.14587269723415375, -0.23390808701515198, 0.3012199103832245, -1.1235049962997437, 0.5151495933532715, 0.7168723940849304, 1.120003342628479, -0.2414381355047226, -0.02109474688768387, -0.7948052287101746, 0.17070534825325012, 0.20318718254566193, 0.7386764287948608, -0.3338279724121094, -0.38427332043647766, 0.21712726354599, 0.21805772185325623, 0.022950900718569756, -0.47684815526008606, 0.8061733841896057, -0.10287298262119293, 0.23500394821166992, -0.2752494812011719, -0.6376242637634277, 0.019912218675017357, 0.45013272762298584, -0.7766432762145996, 0.6036199331283569, 0.02721056342124939, -0.49414926767349243, 0.08242721855640411, -0.6149194240570068, -0.5503864288330078, -0.006308290176093578, 0.04048354923725128, -0.27877697348594666, -0.014653772115707397, 0.6532324552536011, 0.6035991311073303, -0.5434195399284363, 0.2492041438817978, -0.06760937720537186, -0.6032130718231201, 0.3632882833480835, -0.4977230727672577, 0.6128076910972595, 0.06483769416809082, -0.12271788716316223, 0.11507284641265869, -0.6098690629005432, -0.4346597194671631, -0.07255727052688599, -0.44485148787498474, -0.19882625341415405, -0.5932673811912537, -0.07741429656744003, -0.03997509181499481, 0.2963743805885315, -0.876953125, 0.6137598752975464, -0.4538774788379669, 0.6830609440803528, 0.7438026070594788, 0.10614729672670364, 0.8175633549690247, -0.34388577938079834, 0.7040759325027466, -0.21973741054534912, 0.2460733950138092, -0.4259638488292694, -0.3004368841648102, -0.43234726786613464, -0.6566773653030396, 0.11026200652122498, 0.7077211737632751, -0.8180675506591797, 0.7209438681602478, -0.38385459780693054, -0.22394144535064697, -0.4816383719444275, 0.01961233839392662, 0.10012852400541306, 0.7839155197143555, 0.5726540684700012, 0.3384575843811035, -0.45692989230155945, -0.8012760877609253, -0.17004400491714478, 0.11332322657108307, -0.10545526444911957, 0.4449710249900818, 0.20361341536045074, -0.009201722219586372, 0.9776831269264221, -0.6052793264389038, -0.3451067805290222, -0.41911983489990234, 0.43420204520225525, 0.8268334269523621, 0.5654519200325012, 0.20619943737983704, -0.5098791122436523, -0.23667258024215698, -0.4099869430065155, -0.461249440908432, -0.4768418073654175, -0.45689302682876587, 0.12447074055671692, 0.05535867437720299, 0.5508049130439758, -1.112653374671936, 0.33694595098495483, 0.3403739035129547, -0.4499400556087494, 0.7360325455665588, -0.4178609848022461, 0.2341034859418869, -0.933340847492218, 0.004920036531984806, -0.12254608422517776, -0.2652513384819031, -0.386106014251709, -0.29321959614753723, 0.1645558923482895, -0.27696219086647034, -0.6119681000709534, 0.9082064032554626, -0.49398157000541687, 0.25808456540107727, -0.3386036455631256, 0.0063726045191287994, 0.42405208945274353, 0.5539183616638184, -0.027741217985749245, 0.7601616382598877, 0.5559616684913635, -0.913886547088623, 0.35374894738197327, 0.5775057077407837, -0.15901871025562286, 0.782677173614502, -0.7912664413452148, 0.04730129614472389, -0.25854602456092834, 0.7122381925582886, -0.646543025970459, 0.05649876594543457, 0.4992331266403198, -0.3856823146343231, 0.3311464488506317, -0.240541011095047, -0.763198971748352, -0.2661338448524475, -0.5389389991760254, 0.43627995252609253, 0.6044765710830688, -0.690538763999939, 0.4609350264072418, -0.1978173553943634, -0.4157533645629883, -0.5014433264732361, -1.0472975969314575, 0.27798500657081604, -0.3806140422821045, -0.4731420874595642, 0.5884271860122681, -0.3946138918399811, 0.18442687392234802, -0.09541165828704834, 0.19780445098876953, 0.29221203923225403, 0.06218290328979492, 0.4147762358188629, 0.2541663348674774, -0.09597721695899963, 0.4486907124519348, 0.3208293616771698, -0.3054569363594055, -0.03503583371639252, -0.31903132796287537, 0.5749539732933044, 0.07622207701206207, -0.08771897107362747, -0.6623281836509705, 0.6116501092910767, 0.34173718094825745, 0.08023671060800552, 0.9988309144973755, 0.3217763304710388, -0.4300583004951477, -0.39058125019073486, -0.321591854095459, -0.2598420977592468, -0.5168768763542175, -0.08503105491399765, -0.22870831191539764, -1.195188045501709, 0.4608932137489319, 0.027070453390479088, -0.08340964466333389, 0.055877551436424255, 0.3193684220314026, 0.24757906794548035, 0.5831004977226257, 0.4821958541870117, -0.0014839568175375462, 0.29539453983306885, -0.021034393459558487, 0.2186308354139328, -0.8659123182296753, -0.26079174876213074, -0.6658444404602051, -0.3924332559108734, -0.22923149168491364, -0.5085532665252686, 0.18781247735023499, 0.037513963878154755, -0.3703611493110657, 0.38704827427864075, -0.6946172714233398, 0.5138291716575623, 0.4671640396118164, -0.0026892588939517736, 0.10090543329715729, -0.11644519865512848, 0.05014841631054878, -0.14072054624557495, -0.6123458743095398, -0.44102880358695984, 0.5390777587890625, 0.38849177956581116, 0.684353768825531, 0.20799683034420013, 0.6603793501853943, 0.26324543356895447, 0.03126613795757294, -0.8752514719963074, 0.5945623517036438, -0.08091353625059128, 0.027292175218462944, -0.3583446741104126, -0.5481285452842712, -1.1238592863082886, -0.19722449779510498, -0.24477605521678925, -0.9011364579200745, 0.16782958805561066, 0.0613456591963768, -0.6862307786941528, 0.09309455007314682, -0.5542046427726746, 0.7471761107444763, 0.06312140077352524, -0.2216969132423401, 0.22515906393527985, -0.6289896368980408, 0.08258029073476791, 0.3061048686504364, 0.3766792118549347, -0.2464396059513092, -0.3058907985687256, 0.6132225394248962, -0.5376313924789429, 0.9586176872253418, -0.21829667687416077, 0.004604891408234835, 0.14651080965995789, 0.12405338883399963, 0.6211193799972534, 0.32335004210472107, -0.04327535256743431, -0.11940638720989227, -0.34833618998527527, -0.2833422124385834, -1.0405827760696411, 0.7411656975746155, -0.2976864278316498, -0.45715537667274475, -0.3574652373790741, -0.7149784564971924, -0.16109736263751984, 0.038859762251377106, 0.29610201716423035, 0.6804094314575195, 0.14685335755348206, -0.07367154955863953, 0.7944779992103577, -0.6689916849136353, 0.7331313490867615, 0.17237672209739685, 0.060470100492239, -0.5560293793678284, 0.7265863418579102, -0.07461084425449371, 0.02357557974755764, 0.5471418499946594, 0.5641860365867615, -0.5057893991470337, -0.4684639871120453, -0.5091383457183838, 0.2110217809677124, -0.6859294176101685, -0.5906554460525513, -0.5540762543678284, 0.14271686971187592, -0.6543183922767639, -0.6165686845779419, -0.013681676238775253, -0.46894511580467224, -0.7658368349075317, -0.09692356735467911, 0.6528005003929138, 0.32780757546424866, -0.13166756927967072, 0.4585053324699402, -0.9968124628067017, 0.3724372684955597, 0.29383352398872375, 0.2641673982143402, -0.1054762527346611, -0.5729473233222961, -0.03263295814394951, -0.3441793620586395, 0.2463105171918869, -0.8019456267356873, 0.6595954895019531, 0.16896048188209534, 0.34796908497810364, 0.15317918360233307, 0.45107361674308777, 0.5834640860557556, -0.44047486782073975, 0.9553915858268738, 0.3102484941482544, -1.038032054901123, 0.4624321162700653, -0.11976994574069977, 0.6831473112106323, 0.8170343637466431, 0.15438123047351837, -0.6868888139724731, -0.17254923284053802, -0.24128343164920807, -1.066202163696289, 0.5059801340103149, 0.007998698391020298, 0.2922123968601227, -0.3785633146762848, 0.47115910053253174, 0.5601477026939392, 0.2148488610982895, -0.5301719903945923, -0.10909374803304672, 0.0936315730214119, -0.5200706720352173, 0.07139831781387329, -0.2515435814857483, 0.1835993379354477, -0.020636701956391335, 0.33383333683013916, -0.3509771525859833, 0.35671597719192505, 0.40144896507263184, -0.34741735458374023, 0.4342697858810425, 0.5496450662612915, 0.4783477783203125, 0.019472738727927208, -0.23723851144313812, 0.45805850625038147, 0.04918097332119942, -0.20189359784126282, 0.25303974747657776, 0.26675793528556824, -0.050389938056468964, 0.03148122504353523, 0.295316219329834, 0.9723898768424988, 0.5287529230117798, -0.8632476329803467, 0.6159642338752747, -0.2837050259113312, 0.08378403633832932, -0.0967153012752533, -0.24644498527050018, -0.02103341743350029, 0.1827722191810608, 0.22523871064186096, -0.1303611844778061, 0.4413300156593323, -0.41910865902900696, -0.021287092939019203, 0.19416750967502594, -0.15916623175144196, -0.08654117584228516, 0.4258263111114502, 0.38825249671936035, -0.4319741129875183, 0.6352481842041016, -0.37856778502464294, -0.520986020565033, 0.45332032442092896, 0.6833784580230713, 0.8625113368034363, 0.17432527244091034, 0.2082376629114151, 0.45462262630462646, 0.19522146880626678, -0.22244621813297272, 0.07411734759807587, -0.4764070510864258, -0.350862979888916, -0.6492613554000854, -0.5433889031410217, -0.390363872051239, -0.24551399052143097, -0.6155538558959961, 0.23026719689369202, -0.40986064076423645, -0.09332962334156036, -0.40327373147010803, -0.023406799882650375, -0.7482717633247375, -0.10331548005342484, 0.37117883563041687, 1.2352112531661987, -0.7855181694030762, 0.2823460102081299, 0.2486581653356552, -0.17710652947425842, -0.6357343792915344, -0.34687188267707825, -0.10372865945100784, -0.4535854756832123, 0.5820680856704712, 0.7278235554695129, 0.027573291212320328, -0.16073453426361084, -0.45611661672592163, -0.6245938539505005, 1.0232903957366943, 0.6965144872665405, -0.636556088924408, -0.030636867508292198, 0.36802613735198975, 0.18798130750656128, -0.322514146566391, 0.21615812182426453, 0.5424224138259888, 0.7070720195770264, 0.03454522043466568, -0.9741489887237549, 0.6047868132591248, 0.006875231862068176, -0.01736573502421379, 0.11496838927268982, -0.34185728430747986, 0.674415111541748, -0.17080093920230865, -0.3704364001750946, 0.2991747558116913, 0.6616504788398743, 0.5126036405563354, 0.32926902174949646, 0.4448831081390381, 0.41883036494255066, 0.9537415504455566, 0.04853487387299538, 1.1615865230560303, 0.0032121629919856787, 0.12391669303178787, 0.9064895510673523, -0.0303165465593338, 0.6055127382278442, 0.7929441332817078, 0.18991823494434357, 0.5478992462158203, 0.5519458055496216, 0.13463500142097473, 0.4410262703895569, 0.6389625668525696, -0.2885655164718628, -0.021884014829993248, -0.506480872631073, 0.010016903281211853, -0.10292339324951172, 0.21126331388950348, -0.08275768160820007, -0.05517445504665375, 0.4832976460456848, 0.2816166877746582, 0.308591365814209, -0.328217476606369, 0.4842045307159424, 0.1346922665834427, -0.6948925852775574, 0.5022336840629578, -0.16202369332313538, 1.133409857749939, -0.45360806584358215, -0.21865057945251465, -0.2366674840450287, -0.2334657907485962, 0.005991186946630478, -0.7589185833930969, 0.25254419445991516, -0.06946531683206558, -0.16010712087154388, -0.6017472147941589, 0.6929440498352051, -0.3989372253417969, -0.2022826224565506, -0.09267102181911469, 0.22098974883556366, 0.10625708103179932, -0.2014617919921875, -0.4852818548679352, 0.3131486177444458, -0.3766764998435974, -0.3985813558101654, 0.16208860278129578, 0.5893942713737488, 0.24274423718452454, 0.7379692196846008, 0.7079691290855408, 0.22195056080818176, -0.15156888961791992, 0.017967497929930687, 0.7725500464439392, -0.8820496797561646, -0.7670016288757324, -0.9089606404304504, 0.4998871386051178, -0.15604020655155182, -0.35424336791038513, 0.5178902745246887, 0.32524335384368896, -0.00399564066901803, -0.1275791972875595, 0.585186779499054, 0.09739621728658676, 0.28139016032218933, -0.9162725210189819, 0.4124106168746948, -0.15963880717754364, 0.3322574198246002, 0.1534193605184555, -0.7978243231773376, -0.5799538493156433, 0.309354305267334, -0.020401593297719955, -0.3557865023612976, 0.6146286725997925, 0.5380933284759521, 0.2232452630996704, -0.08842961490154266, 0.10404888540506363, -0.09408954530954361, 0.3819752335548401, 0.9415789246559143, 0.5003567337989807, -0.03699910268187523, 0.5536864399909973, -0.2471413016319275, -0.15877778828144073, -0.3367975652217865, -1.281694769859314, -0.9174788594245911, -0.3468579351902008, -0.49215108156204224, -0.17353127896785736, -0.039508990943431854, 1.224001169204712, 0.7753108739852905, -0.5322959423065186, 0.13915374875068665, -0.21032579243183136, 0.20820333063602448, -0.106259785592556, -0.2818821370601654, 0.5069845914840698, -0.4282672107219696, -0.7160939574241638, 0.6123805642127991, 0.37851807475090027, 0.09231654554605484, -0.1721772402524948, -0.08214535564184189, 0.1248123049736023, 0.30951741337776184, 0.524838924407959, 0.5015257596969604, -0.5120930075645447, -0.4859352111816406, 0.07053695619106293, -0.01395278051495552, 0.018023505806922913, 0.8900691270828247, -1.2575726509094238, 0.2702586352825165, 0.5227693319320679, 0.8076677322387695, 0.1395236700773239, -0.1610511839389801, 0.6319026350975037, -0.9874403476715088, 0.274730384349823, 0.3133793771266937, 0.4476008415222168, 0.6454444527626038, -0.6806122064590454, 0.17266854643821716, -0.0012765737483277917, -0.6060720682144165, -0.9124522805213928, 0.15604771673679352, -1.4039233922958374, -0.3916489779949188, 1.264946699142456, -0.13729095458984375, -0.44900310039520264, -0.10250385850667953, -0.535193920135498, 0.36768314242362976, -0.7478705048561096, 0.5535403490066528, 0.41802695393562317, -0.15577346086502075, -0.31210342049598694, -0.2719338536262512, 0.5108141899108887, 0.274271696805954, -0.9617322683334351, 0.3017291724681854, 0.27086108922958374, 0.06928273290395737, 0.16401690244674683, 0.17228834331035614, 0.17789217829704285, 0.21072331070899963, -0.17064793407917023, 0.10298094898462296, -0.5316515564918518, -0.06357987970113754, -0.7748885154724121, 0.28526875376701355, -0.26668211817741394, -0.2859942317008972 ]
http://arxiv.org/abs/2402.18695v1
http://arxiv.org/pdf/2402.18695v1
Grounding Language Models for Visual Entity Recognition
2024-02-28T20:22:17
2024-02-28T20:22:17
Zilin Xiao, Ming Gong, Paola Cascante-Bonilla, Xingyao Zhang, Jie Wu, Vicente Ordonez
cs.CV
cs.CV, cs.CL
We introduce AutoVER, an Autoregressive model for Visual Entity Recognition. Our model extends an autoregressive Multi-modal Large Language Model by employing retrieval augmented constrained generation. It mitigates low performance on out-of-domain entities while excelling in queries that require visually-situated reasoning. Our method learns to distinguish similar entities within a vast label space by contrastively training on hard negative pairs in parallel with a sequence-to-sequence objective without an external retriever. During inference, a list of retrieved candidate answers explicitly guides language generation by removing invalid decoding paths. The proposed method achieves significant improvements across different dataset splits in the recently proposed Oven-Wiki benchmark. Accuracy on the Entity seen split rises from 32.7% to 61.5%. It also demonstrates superior performance on the unseen and query splits by a substantial double-digit margin.
[ -0.6239246726036072, -0.7880688309669495, 0.3251205384731293, -0.0758519396185875, -0.2368641048669815, -0.10037719458341599, -0.22777846455574036, -0.6361966729164124, 0.10991641879081726, 0.6031233072280884, -0.22688975930213928, -0.41206616163253784, -0.5640751123428345, 0.14918841421604156, -0.37193676829338074, 0.2887938320636749, -0.16840265691280365, -0.17047131061553955, -0.1559206247329712, -0.3168342113494873, -0.562282145023346, -0.3189123570919037, -0.45065662264823914, -0.057932887226343155, 0.08052904903888702, 0.45628243684768677, 0.6741328239440918, 0.9988844990730286, 0.42108193039894104, 0.41574668884277344, 0.40786176919937134, 0.34098929166793823, -0.26428332924842834, 0.45221054553985596, -0.48254531621932983, -0.22823156416416168, -0.00374889955855906, 0.12245676666498184, 0.7147959470748901, 0.6562359929084778, -0.07877123355865479, -0.04272729903459549, -0.21451829373836517, 0.6773119568824768, -0.9695495367050171, 0.3952775001525879, -0.9596748352050781, 0.0014332503778859973, -0.09446344524621964, -0.13400574028491974, -0.5531109571456909, 0.05194688215851784, 0.032507117837667465, -0.5733205080032349, 0.5045276880264282, 0.35192593932151794, 1.2127587795257568, 0.5794245600700378, -0.6116394996643066, -0.05134279653429985, -0.6145673990249634, 0.5101136565208435, -0.20022542774677277, 1.0061120986938477, 0.4725709855556488, 0.3306266665458679, -0.14479368925094604, -0.6677170991897583, -0.706993043422699, -0.3265020549297333, -0.04437681660056114, -0.057322241365909576, -0.15139518678188324, -0.08504652976989746, 0.5017900466918945, 0.4868175983428955, -0.6078346371650696, -0.16903969645500183, -0.03723345324397087, -0.028194217011332512, 0.52892005443573, 0.012369673699140549, 0.46576687693595886, -0.39454010128974915, -0.31456905603408813, -0.345181405544281, -0.631861686706543, -0.09594030678272247, 0.002207275712862611, -0.0537431500852108, 0.28267163038253784, 0.6804264187812805, -0.24260467290878296, 0.9152750372886658, 0.3861665725708008, 0.012129777111113071, 0.2487645298242569, 0.0402192585170269, -0.4463539719581604, -0.24755124747753143, 0.7303637862205505, 0.35345184803009033, 0.18076306581497192, -0.13685958087444305, -0.3617478609085083, 0.20008309185504913, 0.1546197533607483, -0.7606102228164673, -0.7835057973861694, -0.32673320174217224, -0.42321136593818665, 0.08671361953020096, -0.0168470311909914, -0.5183383822441101, -0.28591200709342957, -0.40936845541000366, 0.2941567301750183, -0.5814051032066345, -0.3648672103881836, -0.1961165964603424, -0.08856102079153061, 0.33009862899780273, 0.587911069393158, -0.7975688576698303, 0.33838480710983276, 0.1467558890581131, 0.4541912078857422, 0.048665471374988556, -0.24977990984916687, -0.5964693427085876, 0.4155898094177246, -0.5235742926597595, 0.7958941459655762, -0.500575065612793, -0.27440762519836426, -0.3683619499206543, 0.268298476934433, -0.1401987373828888, -0.5798401832580566, 0.057437293231487274, -0.8236415982246399, 0.11143218725919724, -0.24675829708576202, -0.6816805601119995, -0.2657136619091034, 0.1448047161102295, -0.9875852465629578, 0.8663588762283325, 0.1232154592871666, -0.6954759359359741, 0.926013708114624, -0.08510901778936386, -0.48554396629333496, 0.30841466784477234, -0.6175065040588379, -0.35550621151924133, 0.10970743000507355, 0.38207924365997314, 0.3047700524330139, -0.40231382846832275, 0.334773451089859, -0.2964845299720764, 0.1483304351568222, -0.08361438661813736, -0.5724717378616333, 0.4124138057231903, 0.4396175444126129, -0.6228707432746887, -0.32352861762046814, -1.1705018281936646, 0.06117210537195206, 0.29362374544143677, -0.30223947763442993, -0.7226346135139465, 0.17757335305213928, 0.02429591864347458, 0.3100823760032654, 0.022707296535372734, -0.3900010585784912, 0.23484918475151062, -0.37569016218185425, 0.2223093956708908, 0.35471582412719727, 0.12768074870109558, 0.5700601935386658, 0.39360737800598145, 0.29277950525283813, 0.11589886993169785, -0.06510753929615021, -0.3174475431442261, -0.26896512508392334, -1.0366004705429077, -0.4028262495994568, 0.18865160644054413, 0.45047396421432495, -1.1237276792526245, 0.39558932185173035, -0.016481054946780205, -0.14370200037956238, -0.2956591248512268, 0.22443100810050964, 0.4935135543346405, 0.7122519016265869, 0.5357124209403992, -0.5262453556060791, -0.424783855676651, -0.9951551556587219, -0.10363880544900894, -0.29922375082969666, 0.36511367559432983, 0.5994642376899719, 0.4096885919570923, -0.29050660133361816, 0.8237820267677307, -0.5198474526405334, -0.10109983384609222, 0.20851176977157593, 0.2813620865345001, -0.06690537184476852, 0.6850942373275757, 0.6050063967704773, -1.1837598085403442, -0.7516637444496155, -0.12481747567653656, -1.015890121459961, -0.07326710969209671, 0.08650802820920944, -0.2008473426103592, 0.34103113412857056, 0.6466472744941711, -0.7503006458282471, 0.6583043932914734, 0.12432783097028732, -0.48062655329704285, -0.03192156180739403, -0.11595740914344788, 0.3551620841026306, -0.8998768925666809, -0.09413491934537888, 0.20664529502391815, -0.5482079982757568, -0.220953568816185, 0.167330801486969, 0.35426461696624756, -0.18074047565460205, -0.059482887387275696, 0.6080522537231445, -1.247004747390747, -0.21119524538516998, -0.4063611924648285, -0.06977204233407974, 0.27203571796417236, 0.11838964372873306, 0.3470798432826996, 0.8601071238517761, 0.6573653221130371, -0.7157084941864014, 0.5159953236579895, 0.29276904463768005, -0.3069060444831848, 0.6902155876159668, -0.4548996090888977, -0.05403643101453781, -0.2805791199207306, 0.18492768704891205, -1.1190240383148193, -0.4300060272216797, 0.161934033036232, -0.39985859394073486, 0.7353805899620056, -0.4520978331565857, -0.5840045213699341, -0.3832523822784424, 0.3945627212524414, 0.641353964805603, 0.40362221002578735, -0.7703631520271301, 0.8036102056503296, 0.5413844585418701, 0.23273614048957825, -0.5318149924278259, -0.5936260223388672, 0.3020726144313812, -0.03489316999912262, -0.6031861901283264, 0.21627409756183624, 0.15120261907577515, -0.26194512844085693, 0.09901498258113861, -0.05251309275627136, -0.13238508999347687, -0.01912424899637699, 0.3002552092075348, 0.20679804682731628, -0.25267043709754944, 0.2861834466457367, -0.2417580932378769, -0.07927116006612778, -0.018999889492988586, -0.5308155417442322, 0.25014185905456543, -0.1606103479862213, -0.3915351629257202, -0.2762528359889984, 0.40997013449668884, 0.42820292711257935, -0.557689905166626, 0.6233537793159485, 0.3539334535598755, -0.5957974195480347, -0.217450350522995, -1.013720154762268, 0.1669526994228363, -0.4897187650203705, 0.047257956117391586, -0.7947860360145569, -0.4807296395301819, 0.35804253816604614, 0.02856336534023285, -0.33699098229408264, 0.5697770714759827, 0.374409019947052, 0.10082447528839111, 1.1273977756500244, 0.6377813220024109, 0.11625950783491135, 0.5956607460975647, -0.3100617229938507, -0.010850815102458, -0.5934246182441711, -0.18907375633716583, -0.1909923255443573, 0.1099441722035408, -0.5118498206138611, -0.5054402947425842, 0.13211286067962646, 0.4240911602973938, -0.03429090231657028, 0.5952775478363037, -0.5853769779205322, 0.574213445186615, 0.5446361899375916, 0.10753509402275085, 0.1796094924211502, 0.028955651447176933, -0.355345219373703, -0.1266494244337082, -0.4990583062171936, -0.25136399269104004, 0.7575353980064392, 0.1480628401041031, 0.9702014923095703, 0.11091058701276779, 0.7076888680458069, 0.27435731887817383, 0.2947830557823181, -0.5137085318565369, 0.5291813611984253, -0.03700585290789604, -0.5772961378097534, -0.2899724245071411, -0.5420592427253723, -0.7177376747131348, 0.38720351457595825, -0.06859851628541946, -0.4951503872871399, 0.47270727157592773, 0.3787098228931427, 0.12585647404193878, 0.15445153415203094, -0.8211361765861511, 0.840270459651947, -0.26510846614837646, -0.5964683294296265, 0.15967769920825958, -0.5716991424560547, 0.20246267318725586, 0.2412295788526535, -0.0007805221830494702, -0.029909249395132065, 0.1702742725610733, 0.24679207801818848, -0.468422532081604, 0.6403395533561707, -0.40813806653022766, -0.14105375111103058, 0.42166614532470703, 0.38465264439582825, 0.717393159866333, 0.22862356901168823, 0.30881255865097046, -0.20395126938819885, -0.42830994725227356, -0.3094777464866638, -0.6057698726654053, 0.8449723124504089, -0.7181994915008545, -0.7134276628494263, -0.40388837456703186, -0.25795137882232666, -0.13812455534934998, 0.42495837807655334, 0.4818885326385498, 0.37400978803634644, -0.23025716841220856, 0.024472525343298912, 0.9342441558837891, -0.0748455673456192, 0.3736775517463684, 0.6862531304359436, -0.11215104907751083, -0.7307617664337158, 0.812150239944458, 0.25859585404396057, 0.0232359878718853, 0.49573373794555664, -0.3402397632598877, -0.34125691652297974, -0.2989228665828705, -0.8177260160446167, 0.21194632351398468, -1.0870059728622437, -0.27005189657211304, -0.9559447765350342, -0.019769538193941116, -0.5867172479629517, 0.007785189896821976, -0.44824978709220886, -0.3900774121284485, -0.3201368749141693, -0.05490158125758171, 0.25677627325057983, 0.6454690098762512, -0.19170795381069183, -0.09616149216890335, -0.5197805166244507, 0.6406763195991516, 0.5084203481674194, 0.3170973062515259, -0.11289769411087036, -0.37462592124938965, -0.15739130973815918, -0.34522250294685364, 0.06577260792255402, -1.0085842609405518, 0.5544093251228333, 0.4245021343231201, 0.6987673044204712, 0.3710275888442993, -0.11519768089056015, 0.7833775281906128, -0.8850502371788025, 0.46794167160987854, 0.26062166690826416, -0.9351990818977356, 0.8547161817550659, -0.12689624726772308, 0.1797487735748291, 0.5222890377044678, 0.31904157996177673, -0.15337397158145905, -0.3359745740890503, -0.7122483253479004, -1.0465638637542725, 0.3308236300945282, 0.07899319380521774, -0.18610593676567078, -0.4984007179737091, 0.43436458706855774, -0.0660778135061264, 0.2798660397529602, -0.7767099142074585, -0.2789718210697174, -0.4581214189529419, -0.007777283433824778, -0.08886665105819702, -0.16417470574378967, -0.028170881792902946, -0.3594575822353363, 0.6265025734901428, -0.16826680302619934, 0.19453094899654388, 0.3704293966293335, -0.7918437123298645, -0.3910178542137146, -0.05771523714065552, 0.23474149405956268, 0.5132096409797668, -0.00966816209256649, 0.43779319524765015, -0.02604871429502964, -0.24008525907993317, 0.35440292954444885, 0.3420218825340271, -0.21864628791809082, 0.23952990770339966, 0.23583927750587463, 0.8667398691177368, -0.07755701243877411, -0.2603566348552704, 0.6487062573432922, -0.17203743755817413, 0.036028191447257996, -0.5588563680648804, 0.1707122027873993, -0.34624263644218445, 0.413074791431427, 0.40544772148132324, 0.0627012550830841, 0.4452950358390808, -0.2956300675868988, 0.49931639432907104, 0.5200307369232178, -0.28370431065559387, -0.2239941656589508, 0.9825058579444885, 0.10766991227865219, 0.03829002380371094, 0.6703051924705505, -0.30330002307891846, -0.41706910729408264, 0.654981255531311, 0.508806049823761, 0.9604465961456299, -0.2932268977165222, -0.020145008340477943, 0.4257185459136963, 0.2975875437259674, -0.0543215274810791, 0.29258179664611816, -0.3808203637599945, -0.7621362209320068, -0.10510050505399704, -0.5083822011947632, -0.10338205099105835, -0.025186676532030106, -0.7086121439933777, 0.24007318913936615, -0.5031429529190063, -0.30769622325897217, 0.15377309918403625, -0.23067975044250488, -1.008819580078125, 0.7296856641769409, 0.5019251108169556, 0.7523658871650696, -0.8442244529724121, 0.7970965504646301, 0.8873012065887451, -0.7581231594085693, -0.7331891059875488, -0.15706105530261993, -0.17479774355888367, -0.7367671728134155, 1.1789789199829102, 0.20369026064872742, -0.24550023674964905, 0.1172768697142601, -0.6966818571090698, -1.280954360961914, 0.940187931060791, 0.13449594378471375, -0.5838650465011597, -0.16803452372550964, -0.32408010959625244, 0.44447335600852966, -0.5123409032821655, 0.28869765996932983, 0.2004641592502594, 0.31011515855789185, 0.13772264122962952, -0.7614006996154785, 0.18407033383846283, -0.4576902687549591, 0.42395880818367004, 0.4080137014389038, -0.7556939721107483, 0.9123693108558655, -0.05787951871752739, -0.5259082913398743, -0.16470099985599518, 0.9320264458656311, 0.01875162310898304, 0.19582252204418182, 0.752552330493927, 0.8764444589614868, 0.6472249627113342, 0.021083451807498932, 0.7093701362609863, -0.5026777386665344, 0.4342724084854126, 1.2327244281768799, -0.5559763312339783, 0.6465103626251221, 0.43663838505744934, 0.1738453358411789, 0.4954153597354889, 0.4513624906539917, -0.30162039399147034, 0.7924575209617615, 0.059784598648548126, -0.13707230985164642, -0.5628150701522827, 0.015508700162172318, -0.4181070327758789, 0.4808250367641449, 0.5504481792449951, -0.7783343195915222, -0.23436439037322998, 0.29318416118621826, -0.36222246289253235, 0.08684806525707245, -0.07030806690454483, 0.8332430124282837, -1.928272013174137e-7, -0.7678561806678772, 0.8830832242965698, -0.05438810586929321, 0.1625131070613861, -0.030256204307079315, -0.3586718440055847, 0.02491479553282261, 0.12333530187606812, -0.0930476188659668, -0.47760966420173645, -0.08360262960195541, -0.1398281455039978, -0.5137462019920349, -0.15942510962486267, 1.0798472166061401, -0.5662023425102234, -0.2682965397834778, 0.36424052715301514, 0.5773009061813354, 0.03155278041958809, 0.12002269178628922, -0.7169351577758789, -0.08681030571460724, -0.16473469138145447, -0.5215148329734802, -0.005335676949471235, 0.9918632507324219, -0.1717514544725418, 0.6596864461898804, 0.47632819414138794, -0.16486959159374237, 0.33588817715644836, 0.12489322572946548, 0.9942429065704346, -0.8793599009513855, -0.5799151659011841, -0.6020122170448303, 0.1987282782793045, -0.19057580828666687, -0.055009737610816956, 0.7603762149810791, 0.6428297162055969, 0.9650408625602722, -0.059843529015779495, 0.7282620072364807, -0.13339757919311523, 0.3953256607055664, -0.6455564498901367, 0.49473756551742554, -0.6673552393913269, 0.14398100972175598, -0.3111622631549835, -1.0117878913879395, -0.12278575450181961, 0.7680949568748474, -0.27294403314590454, 0.05022262781858444, 0.6029911637306213, 0.4862845540046692, -0.22561991214752197, -0.3727537989616394, 0.4754990041255951, 0.08782278746366501, 0.264448344707489, 0.40300557017326355, 0.9328063130378723, -0.6182032823562622, 0.278366357088089, -0.2870114743709564, -0.20020310580730438, -0.17694200575351715, -0.6757192611694336, -0.9134036898612976, -0.616473913192749, -0.504317581653595, -0.4986177086830139, 0.13932497799396515, 0.9110406041145325, 0.8373380899429321, -0.6385238170623779, 0.06866945326328278, -0.3696301579475403, -0.30318790674209595, 0.16566221415996552, -0.2949891984462738, 0.18008191883563995, -0.3975251615047455, -0.6067832708358765, 0.43469664454460144, 0.33592161536216736, 0.30218350887298584, -0.2683981955051422, 0.2539026141166687, -0.336846262216568, -0.09821557998657227, 0.47119367122650146, 0.5485032796859741, -0.7639849781990051, -0.33477115631103516, -0.12441389262676239, -0.43139463663101196, 0.23529623448848724, 0.6631994843482971, -0.9407103657722473, 0.6781958341598511, 0.4165668785572052, 0.6004565358161926, 0.653056263923645, 0.02717447467148304, 0.5959841012954712, -0.6366941332817078, 0.24131213128566742, 0.179605171084404, 0.6641502380371094, 0.5727918744087219, -0.5725262761116028, 0.5517956614494324, 0.5066913962364197, -0.587602972984314, -0.5336971282958984, 0.45805901288986206, -0.51233971118927, -0.1889580637216568, 1.1503757238388062, -0.15174582600593567, -0.39488500356674194, -0.007586583029478788, 0.20137539505958557, 0.39801326394081116, -0.3663211166858673, 0.49073854088783264, 0.5980558395385742, -0.007124850060790777, -0.44957277178764343, -0.39971768856048584, 0.46565553545951843, 0.29963016510009766, -0.5444552898406982, -0.09941892325878143, 1.074605941772461, 0.4486459195613861, 0.20401272177696228, 0.668731689453125, 0.022305717691779137, 0.26948121190071106, 0.08905589580535889, 0.2768723666667938, 0.04182720556855202, -0.7463729381561279, -0.1451108753681183, 0.06269654631614685, 0.20541371405124664, -0.19088095426559448 ]
http://arxiv.org/abs/2403.00835v4
http://arxiv.org/pdf/2403.00835v4
CLLMs: Consistency Large Language Models
2024-02-28T20:17:04
2024-06-13T08:41:28
Siqi Kou, Lanxiang Hu, Zhezhi He, Zhijie Deng, Hao Zhang
cs.CL
cs.CL, cs.AI
Parallel decoding methods such as Jacobi decoding show promise for more efficient LLM inference as it breaks the sequential nature of the LLM decoding process and transforms it into parallelizable computation. However, in practice, it achieves little speedup compared to traditional autoregressive (AR) decoding, primarily because Jacobi decoding seldom accurately predicts more than one token in a single fixed-point iteration step. To address this, we develop a new approach aimed at realizing fast convergence from any state to the fixed point on a Jacobi trajectory. This is accomplished by refining the target LLM to consistently predict the fixed point given any state as input. Extensive experiments demonstrate the effectiveness of our method, showing 2.4$\times$ to 3.4$\times$ improvements in generation speed while preserving generation quality across both domain-specific and open-domain benchmarks.
[ -0.10554253309965134, -0.4558304250240326, 0.671181857585907, 0.4261032044887543, -0.09079518914222717, 0.1148810088634491, -0.5620425343513489, -0.12668843567371368, 0.12355092167854309, 0.5090369582176208, -0.4216936528682709, -0.5639397501945496, -0.7620527148246765, 0.3283936083316803, -0.49472665786743164, 0.6232295632362366, -0.18464083969593048, 0.09072836488485336, -0.06867370009422302, -0.075091652572155, -0.09068190306425095, -0.4943532943725586, -0.6342143416404724, -0.32400691509246826, 0.6512361764907837, 0.24465028941631317, 0.6785290837287903, 0.9535112977027893, 0.31679773330688477, 0.21538151800632477, -0.28772616386413574, 0.44947531819343567, -0.771701991558075, 0.45264294743537903, -0.19002600014209747, -0.46340107917785645, -0.24056273698806763, -0.43771088123321533, 1.0621154308319092, 0.7995597720146179, -0.13354484736919403, 0.21364207565784454, 0.11904717236757278, 0.8536450862884521, -0.9614390730857849, 0.13843633234500885, -0.6804521083831787, -0.18971769511699677, -0.16612984240055084, -0.17784465849399567, -0.9224593639373779, -0.7035722732543945, -0.03382254019379616, -0.4882597029209137, 0.22171495854854584, 0.05197181925177574, 0.8131161332130432, 0.05084303021430969, -0.3809947073459625, -0.18026334047317505, -0.869856059551239, 1.076862096786499, -0.8978142142295837, 0.5178257822990417, 0.1247406080365181, 0.15648914873600006, -0.3463493585586548, -0.7608467936515808, -0.4496574401855469, -0.022366339340806007, -0.027288341894745827, -0.24721437692642212, -0.02848668582737446, 0.10114841908216476, 0.5376885533332825, 0.12026354670524597, -0.5541151762008667, -0.11431392282247543, 0.006886809598654509, -0.2760300636291504, 0.7576410174369812, 0.5110382437705994, -0.31282544136047363, 0.25624650716781616, -0.21110375225543976, -0.14099560678005219, -0.905907154083252, 0.26596495509147644, 0.15922336280345917, 0.3350889980792999, 0.1343761682510376, 0.5371004939079285, -0.22729428112506866, 0.8341624140739441, 0.11210627108812332, -0.47572627663612366, 0.3659086525440216, -0.46220168471336365, -0.06253060698509216, -0.2627960741519928, 0.44571152329444885, 0.3523806035518646, 0.26333731412887573, -0.03427089378237724, -0.4354245662689209, -0.11175620555877686, 0.010024276562035084, -0.8293817639350891, -0.15095281600952148, 0.12847767770290375, -0.671894371509552, 0.14796411991119385, 0.13268128037452698, -0.48031795024871826, -0.17148526012897491, -0.6522837281227112, -0.010095803998410702, -0.5940253734588623, -0.20584028959274292, 0.1710323691368103, 0.22296364605426788, 0.20201803743839264, 0.23465986549854279, -1.0121707916259766, 0.3009950518608093, 0.7615258693695068, 0.844913899898529, -0.37470558285713196, -0.3420247733592987, -0.6779511570930481, 0.13144709169864655, -0.4859764873981476, 0.4228876829147339, -0.3796132504940033, -0.3267174959182739, 0.2095077484846115, 0.13079459965229034, -0.23044215142726898, -0.5417484641075134, 0.22694344818592072, -0.5714095234870911, -0.5378594398498535, -0.4854031503200531, -0.8329008221626282, -0.1464558094739914, 0.1564992070198059, -0.2839047908782959, 0.63319331407547, -0.11918752640485764, -0.5708184838294983, 0.2787451446056366, -0.5368832945823669, -0.41641899943351746, -0.33783623576164246, 0.1138593852519989, -0.49903833866119385, 0.3051989674568176, 0.15385688841342926, 0.3638788163661957, -0.10223812609910965, 0.5376010537147522, -0.28272661566734314, -0.5812566876411438, -0.01987086981534958, -0.3867664039134979, 0.5867233872413635, 0.5499085783958435, -0.23240981996059418, 0.15672650933265686, -0.8357908129692078, 0.21902529895305634, 0.09274076670408249, -0.42757198214530945, -0.04344172403216362, 0.29293933510780334, -0.14463748037815094, -0.2935115098953247, 0.43513181805610657, -0.6522504687309265, 0.32803991436958313, -0.26997771859169006, 0.08791673183441162, 0.5133339166641235, -0.22157907485961914, 0.32995447516441345, -0.25247499346733093, 0.2818903923034668, 0.16322751343250275, -0.03731931746006012, -0.41296347975730896, -0.259165495634079, -0.8706066608428955, -0.3418431580066681, 0.5466617941856384, 0.3921426832675934, -0.7898659706115723, 0.5128914713859558, -0.40103545784950256, -0.351235955953598, -0.38227713108062744, -0.02632160484790802, 0.6209081411361694, 0.3500925600528717, 0.2528934180736542, -0.1703903079032898, -0.7330321669578552, -0.8748078346252441, -0.29794058203697205, 0.1460600048303604, -0.13626131415367126, -0.024128630757331848, 0.3632373511791229, -0.253628134727478, 0.9049298763275146, -0.3816229999065399, 0.4628063142299652, -0.3061152994632721, 0.4133833348751068, 0.34705159068107605, 0.5974934697151184, 0.3275929391384125, -0.4009532034397125, -0.7391253113746643, -0.21000432968139648, -0.7579198479652405, -0.028610626235604286, 0.05084824189543724, 0.09768518805503845, 0.3841158151626587, 0.4609074294567108, -0.341376930475235, 0.377962589263916, 0.6839115023612976, -0.3786715269088745, 0.5172931551933289, -0.2025352120399475, 0.23105157911777496, -0.7938608527183533, 0.05452873930335045, -0.14132876694202423, -0.4718357026576996, -0.8526461720466614, -0.038006361573934555, 0.23843149840831757, 0.045324742794036865, -0.379495233297348, 0.22176392376422882, -0.6947005391120911, -0.3573358356952667, -0.5963298082351685, -0.04607389494776726, 0.011728172190487385, 0.1612052470445633, -0.026374951004981995, 1.0677000284194946, 0.7493792176246643, -0.665498673915863, -0.03148479759693146, 0.06637122482061386, -0.14505906403064728, 0.16778892278671265, -0.6115785837173462, 0.14405851066112518, -0.32434263825416565, 0.393078476190567, -0.7215089201927185, 0.09971251338720322, -0.15334919095039368, -0.21858006715774536, 0.3512895107269287, 0.26036909222602844, -0.5892346501350403, -0.35076889395713806, -0.07564501464366913, 0.7027547955513, 0.7751591205596924, -0.8029918670654297, 0.7714235782623291, 0.08463349938392639, 0.22971178591251373, -0.7360081672668457, -0.47843536734580994, -0.20030157268047333, 0.29110032320022583, -0.6892102360725403, -0.03386559337377548, -0.12811821699142456, -0.32832661271095276, -0.14337953925132751, 0.17922572791576385, 0.1365332454442978, -0.03527144715189934, 0.14145199954509735, 0.04979195073246956, -0.4435383975505829, -0.22852039337158203, -0.1859550029039383, -0.19179515540599823, -0.1106146052479744, -0.48054996132850647, 0.6594136357307434, -0.4398241341114044, -0.42950132489204407, -0.6766814589500427, 0.46135616302490234, 0.83430415391922, -0.1406225562095642, 0.846263587474823, 0.4021276533603668, -0.16638417541980743, -0.09875919669866562, -0.5213034152984619, -0.09373930096626282, -0.4112280607223511, -0.01501600444316864, -0.6665013432502747, -0.9473393559455872, 0.711601972579956, -0.2443830519914627, 0.17907088994979858, 0.2949814796447754, 0.5236847996711731, 0.12236174941062927, 1.1373971700668335, 0.6513784527778625, -0.08106472343206406, 0.057652801275253296, -0.28990477323532104, 0.30520153045654297, -0.673408031463623, -0.1684347540140152, -0.33800721168518066, -0.3747391998767853, -0.36069273948669434, -0.31356003880500793, 0.048427268862724304, 0.3156006634235382, -0.4017501771450043, 0.6245379447937012, -0.3961697518825531, 0.5008675456047058, 0.8253597617149353, 0.020369404926896095, 0.362029105424881, -0.08205749839544296, -0.2353304624557495, -0.0913868248462677, -0.8403642177581787, -0.3422824442386627, 1.0909018516540527, 0.47952356934547424, 0.7452682852745056, 0.008567764423787594, 0.8232017159461975, 0.1914699822664261, 0.3660617172718048, -0.4023100435733795, 0.6276032328605652, -0.290376752614975, -0.3680347204208374, -0.23357641696929932, -0.22311097383499146, -1.0098017454147339, 0.2188008576631546, -0.15856283903121948, -0.7086002230644226, 0.34007659554481506, 0.3648209869861603, -0.20658566057682037, 0.6261481642723083, -0.40801694989204407, 0.3473694324493408, 0.16883641481399536, -0.3566168546676636, -0.11273660510778427, -0.6990058422088623, 0.5444972515106201, -0.005223482847213745, 0.03610653057694435, -0.25813159346580505, 0.13785359263420105, 0.4136148989200592, -0.5696536898612976, 0.6363240480422974, -0.36553704738616943, -0.10571867227554321, 0.4055672585964203, 0.07190396636724472, 0.7883103489875793, -0.12357443571090698, -0.39820316433906555, 0.36049017310142517, 0.10813206434249878, -0.733717143535614, -0.6207278966903687, 0.7352333068847656, -0.45236435532569885, -0.5067878365516663, -0.19834136962890625, -0.9571254849433899, -0.14301066100597382, 0.12985588610172272, 0.2307235598564148, 0.497294157743454, 0.18419356644153595, 0.19767101109027863, 0.7102587819099426, 0.14425373077392578, 0.5619085431098938, 0.5557106733322144, -0.34340980648994446, -0.4018218219280243, 0.9583279490470886, -0.002007088391110301, 0.3893876373767853, 0.04441605880856514, -0.14745929837226868, -0.3469392955303192, -0.952629566192627, -0.21616649627685547, 0.3998848497867584, -0.7382035851478577, -0.27332475781440735, -0.22585202753543854, -0.39037635922431946, -0.39049628376960754, -0.38260066509246826, -0.6376948952674866, -0.02114463411271572, -0.1930219531059265, 0.23048590123653412, 0.06909380108118057, 0.9283640384674072, -0.10620581358671188, 0.33897605538368225, -1.107925295829773, 0.14276812970638275, -0.16456131637096405, 0.3147295415401459, -0.08264506608247757, -0.48353311419487, -0.285653680562973, -0.015363265760242939, 0.04137210547924042, -0.34913304448127747, 0.43370321393013, 0.0795544907450676, 0.43353211879730225, 0.4841095507144928, 0.16046476364135742, 0.6942451000213623, -0.740922749042511, 0.8738763332366943, 0.37965187430381775, -1.1062549352645874, 0.35635828971862793, -0.194915771484375, 0.5940006375312805, 0.6857964396476746, 0.3340664207935333, -0.1527833789587021, -0.40643107891082764, -0.40878036618232727, -0.6037369966506958, 0.33209559321403503, 0.2547565698623657, -0.15788716077804565, -0.4101158678531647, 0.4552294909954071, 0.29299232363700867, 0.22463232278823853, -0.5070874691009521, -0.48126575350761414, -0.002919815480709076, -0.37051674723625183, -0.10747575759887695, -0.7338094711303711, -0.26832374930381775, -0.3193061947822571, 0.5474492311477661, -0.20025362074375153, 0.2452862709760666, 0.24635988473892212, 0.058161478489637375, -0.17305141687393188, 0.0718236193060875, 1.0097981691360474, 1.0148463249206543, -0.19667468965053558, 0.3384084403514862, 0.1760295033454895, -0.20461983978748322, 0.4121832549571991, -0.05802285671234131, -0.6382810473442078, 0.32086488604545593, 0.22992157936096191, 0.9367668628692627, 0.10908329486846924, -0.7165494561195374, 0.5633377432823181, 0.0034878281876444817, -0.5342478156089783, -0.32292309403419495, -0.10473790764808655, -0.09588479995727539, 0.5867868065834045, 0.3359808027744293, 0.19571489095687866, -0.07688414305448532, -0.2082047015428543, 0.5445508360862732, 0.4885427951812744, 0.015325960703194141, -0.17896443605422974, 0.7170264720916748, 0.20233261585235596, -0.39074280858039856, 0.4367996156215668, -0.3731144368648529, -0.2973809838294983, 0.3403581380844116, 0.7851521372795105, 0.9003417491912842, -0.030534716323018074, -0.20109611749649048, 0.6842617988586426, -0.06365496665239334, -0.6276821494102478, 0.4476144313812256, 0.13256263732910156, -0.6579270958900452, -0.7304059863090515, -0.845527172088623, -0.4150685966014862, -0.07316247373819351, -0.7901983261108398, 0.016914157196879387, -0.5892186760902405, -0.10033339262008667, -0.47086301445961, -0.3768540322780609, -0.3051987588405609, 0.23039405047893524, 0.2996598780155182, 1.068484902381897, -0.426986426115036, 1.1791911125183105, 0.07901199907064438, 0.14193610846996307, -0.9344930648803711, 0.3228926360607147, -0.024997273460030556, -0.7496886253356934, 0.8273356556892395, 0.11110753566026688, -0.4889698326587677, 0.2341005802154541, -0.6083039045333862, -1.3803073167800903, 1.2388802766799927, 0.2994983494281769, -1.2025797367095947, -0.03264659270644188, -0.12863241136074066, 0.3422432839870453, -0.7227868437767029, 0.0638795793056488, 0.8359212279319763, 0.4875119626522064, 0.03698026016354561, -0.9363374710083008, 0.22084760665893555, 0.10511285066604614, 0.44097426533699036, 0.3011007606983185, -0.3938455283641815, 0.7920483946800232, -0.36834296584129333, -0.22636432945728302, 0.4645170271396637, 0.9819087982177734, 0.4882248640060425, 0.4173266589641571, 0.5997123122215271, 0.6457768082618713, 0.8572813868522644, -0.25718066096305847, 1.1521015167236328, -0.8733908534049988, 0.6534376740455627, 0.9257200360298157, -0.225418820977211, 1.0207886695861816, 0.40036460757255554, -0.13129018247127533, 0.6104069352149963, 0.3586864769458771, -0.1390831023454666, 0.6165435910224915, 0.3275142014026642, -0.48676183819770813, -0.334154337644577, -0.038783010095357895, -0.1531277447938919, 0.12972798943519592, 0.24077367782592773, -0.5644274950027466, -0.22334212064743042, 0.11480327695608139, -0.012290887534618378, 0.4303227961063385, -0.4149371385574341, 0.3493930995464325, -0.1625075787305832, -0.8274970650672913, 1.312396764755249, -0.1653182953596115, 0.764532744884491, -0.6275388598442078, 0.07571291923522949, -0.0498899482190609, 0.2824850380420685, -0.02098020352423191, -0.6960455775260925, 0.5152974724769592, -0.35800686478614807, -0.48949065804481506, -0.20632457733154297, 0.5729792714118958, -0.782524049282074, -0.3237309753894806, 0.44826337695121765, 0.19508682191371918, 0.2076943963766098, 0.33844053745269775, -0.43894150853157043, 0.464419960975647, 0.14738738536834717, -0.2893386483192444, 0.1535685807466507, 0.08143351227045059, 0.24121429026126862, 0.7382211685180664, 0.5564670562744141, -0.06889384239912033, 0.19760845601558685, 0.07330838590860367, 0.6759036183357239, -0.7368788123130798, -0.026112793013453484, -0.8207138180732727, 0.6096947193145752, -0.05355453118681908, -0.1345740407705307, 0.75099778175354, 0.5640673041343689, 0.6830855011940002, -0.26871463656425476, 0.6121683120727539, 0.1262022703886032, 0.7489542961120605, -0.7542872428894043, 0.38088950514793396, -0.3821595013141632, 0.2993689179420471, 0.40798524022102356, -0.9038503766059875, -0.4379647672176361, 0.21684320271015167, -0.23138755559921265, -0.27199387550354004, 0.9365910887718201, 0.7317429184913635, 0.24482972919940948, -0.16010789573192596, 0.6567516922950745, 0.27597060799598694, 0.25187474489212036, 0.5032472610473633, 0.49762439727783203, -0.31830236315727234, 0.35217389464378357, -0.2305545061826706, -0.06549323350191116, -0.14672383666038513, -0.7612664699554443, -0.7665615677833557, -0.3046362102031708, -0.05722562596201897, -0.6692692637443542, 0.29257628321647644, 0.8773704171180725, 0.6926507949829102, -1.1958776712417603, -0.25312933325767517, -0.46431276202201843, -0.1788535863161087, -0.2624957263469696, -0.22307951748371124, 0.1532505601644516, -0.787956178188324, -1.004003882408142, 0.621266782283783, 0.45992815494537354, -0.16425907611846924, -0.2436208575963974, -0.3328303396701813, -0.21850837767124176, 0.25368818640708923, 0.6848969459533691, 0.4959132671356201, -1.1611558198928833, -0.5197312235832214, 0.04707269370555878, -0.23294197022914886, 0.1567647010087967, 1.1750681400299072, -0.5257987380027771, 0.3515794575214386, 0.48990580439567566, 0.9230049252510071, 0.7073460221290588, 0.37821999192237854, 0.8343268036842346, -0.46975159645080566, 0.177053764462471, 0.1686088591814041, 0.591411828994751, 0.2570122182369232, -0.1561068743467331, 0.3459429442882538, 0.4547542333602905, -0.8649517893791199, -0.6280186176300049, 0.4174899756908417, -1.0022510290145874, -0.3072740435600281, 1.2195833921432495, -0.6039973497390747, -0.42436036467552185, -0.23056529462337494, 0.016620267182588577, 0.11315208673477173, -0.33148613572120667, 0.42383790016174316, 0.4767165184020996, -0.35129499435424805, -0.16542015969753265, -0.18852312862873077, 0.3890714645385742, 0.6938276290893555, -0.23030240833759308, 0.2830626666545868, 0.3310253620147705, 0.4134542644023895, 0.3754183351993561, 0.6005414128303528, 0.02327689528465271, 0.05101390555500984, 0.16604691743850708, 0.10113111138343811, -0.0400550402700901, -0.457757830619812, -0.38408827781677246, 0.4095301628112793, 0.19641625881195068, -0.1942569464445114 ]
http://arxiv.org/abs/2402.18678v3
http://arxiv.org/pdf/2402.18678v3
RORA: Robust Free-Text Rationale Evaluation
2024-02-28T19:46:21
2024-06-15T00:32:04
Zhengping Jiang, Yining Lu, Hanjie Chen, Daniel Khashabi, Benjamin Van Durme, Anqi Liu
cs.CL
cs.CL
Free-text rationales play a pivotal role in explainable NLP, bridging the knowledge and reasoning gaps behind a model's decision-making. However, due to the diversity of potential reasoning paths and a corresponding lack of definitive ground truth, their evaluation remains a challenge. Existing evaluation metrics rely on the degree to which a rationale supports a target label, but we find these fall short in evaluating rationales that inadvertently leak the labels. To address this problem, we propose RORA, a Robust free-text Rationale evaluation against label leakage. RORA quantifies the new information supplied by a rationale to justify the label. This is achieved by assessing the conditional V-information \citep{hewitt-etal-2021-conditional} with a predictive family robust against leaky features that can be exploited by a small model. RORA consistently outperforms existing approaches in evaluating human-written, synthetic, or model-generated rationales, particularly demonstrating robustness against label leakage. We also show that RORA aligns well with human judgment, providing a more reliable and accurate measurement across diverse free-text rationales.
[ -0.20833805203437805, -0.5156897306442261, 0.5563471913337708, 0.04911540821194649, -0.21025288105010986, -0.24238690733909607, -0.023213613778352737, -0.37407004833221436, 0.11860746890306473, 0.3970204293727875, -0.7290583848953247, -0.3225017488002777, -0.570869505405426, -0.03702416270971298, -0.23034076392650604, 1.040794849395752, -0.13506750762462616, -0.20621007680892944, -0.4402318000793457, -0.6994867324829102, -0.7720675468444824, -0.23760367929935455, -0.42325642704963684, -0.5021896362304688, 0.9716820120811462, 0.35221144556999207, 0.7730802297592163, 0.8021634221076965, 0.34056222438812256, 0.14039956033229828, -0.04046771302819252, 0.1582968384027481, -0.1901978850364685, 0.5393903851509094, -0.6724187135696411, -0.5372359156608582, -0.4260513484477997, 0.16813324391841888, 0.3983539640903473, 0.16882950067520142, -0.18598604202270508, 0.49379971623420715, -0.03245259448885918, 0.935160756111145, -0.9516563415527344, -0.07626368850469589, -0.6459208130836487, -0.014730812981724739, -0.0639914721250534, -0.23739129304885864, -0.6914955377578735, -0.3113434910774231, 0.3468630015850067, -0.7677659392356873, 0.007093352265655994, 0.06871284544467926, 1.342145562171936, 0.628790557384491, -0.06687071919441223, -0.4059610068798065, -0.6496372818946838, 0.8204702138900757, -0.3443622589111328, 0.4280987083911896, 0.5724020600318909, 0.5576571822166443, -0.07742573320865631, -0.7197481393814087, -0.5131679177284241, -0.3407973051071167, 0.008264817297458649, 0.17983420193195343, -0.5084037780761719, -0.34583020210266113, 0.19662225246429443, 0.1374700516462326, -0.38768965005874634, -0.32370856404304504, -0.028235716745257378, -0.27722325921058655, 0.42251166701316833, -0.10401236265897751, 0.49288755655288696, -0.1288830041885376, -0.8514673709869385, -0.3542792797088623, -0.4257682263851166, 0.0026099858805537224, 0.28067803382873535, 0.14414013922214508, -0.003575344104319811, 0.5920272469520569, -0.04400741681456566, 0.4632139205932617, -0.3300682008266449, -0.16139760613441467, -0.06771371513605118, -0.39906659722328186, -0.3213936388492584, -0.15712818503379822, 0.9814540147781372, 0.27676326036453247, 0.3147527575492859, -0.1628626435995102, -0.07215104252099991, 0.3928503096103668, 0.1557171493768692, -0.7821031808853149, -0.0650465115904808, 0.2736275792121887, -0.4282156527042389, -0.34531307220458984, 0.11087741702795029, -0.8487372398376465, -0.46853774785995483, -0.10487275570631027, 0.3143512010574341, -0.6064345836639404, -0.047117989510297775, 0.15905041992664337, -0.4408104717731476, 0.18346701562404633, 0.25811567902565, -0.6150229573249817, 0.00996997021138668, 0.5064656734466553, 0.8149400353431702, 0.03148705139756203, -0.04483184590935707, -0.802862823009491, 0.2507723867893219, -0.16333219408988953, 1.298647403717041, -0.562428891658783, -0.1786550134420395, -0.35552579164505005, -0.3221922218799591, -0.3035445809364319, -0.4393630027770996, 1.2170010805130005, -0.3936989903450012, 0.3509563207626343, -0.4220399558544159, -0.2611328959465027, -0.322394460439682, 0.12130128592252731, -0.8069585561752319, 0.765002965927124, 0.2929466962814331, -1.1737688779830933, 0.5856189727783203, -0.697806179523468, 0.02819211408495903, 0.05697375163435936, -0.05066833645105362, -0.5839689373970032, -0.14001654088497162, 0.34600120782852173, -0.2278565764427185, -0.4454575181007385, 0.39955902099609375, -0.4318431317806244, 0.024572828784585, 0.6806825995445251, -0.7436083555221558, 0.9699543714523315, 0.38996854424476624, -0.1730271428823471, 0.7556290626525879, -0.6373685598373413, 0.3013010323047638, -0.041850216686725616, -0.171063631772995, -0.5692753791809082, 0.04169456660747528, -0.32689666748046875, 0.14868825674057007, -0.005076160654425621, -0.2683389186859131, 0.04306389391422272, -0.2116304337978363, 0.33936411142349243, 0.6563923954963684, 0.07274194061756134, 0.5669451951980591, -0.47593364119529724, 0.8893914818763733, -0.2888766825199127, 0.2676773965358734, -0.1606096774339676, -0.8067606091499329, -0.7011173367500305, -0.6881275177001953, 0.7135493755340576, 0.9820071458816528, -0.5040649771690369, 0.328210711479187, -0.16342511773109436, -0.481528639793396, -0.48396241664886475, 0.16644242405891418, 0.42941728234291077, 0.7993304133415222, 0.49330994486808777, -0.14908906817436218, -0.49604395031929016, -1.110982894897461, -0.7351188063621521, -0.08888962864875793, -0.45413705706596375, 0.16083653271198273, 0.39376336336135864, -0.5116835236549377, 1.3156511783599854, -0.2203109711408615, -0.4127727746963501, -0.30283400416374207, 0.20570982992649078, -0.1294400840997696, 0.4149872064590454, 0.32195383310317993, -0.35511520504951477, -0.267167329788208, -0.14049288630485535, -0.8062688112258911, -0.4399103820323944, -0.34559717774391174, -0.6130832433700562, 0.08695326000452042, -0.0385529063642025, -0.8494428396224976, 0.8050171136856079, 0.2747235596179962, -0.7152765989303589, 0.4979759454727173, -0.30255863070487976, -0.3685738146305084, -0.6185646653175354, 0.19547536969184875, 0.22401009500026703, -0.1537812054157257, -0.21573705971240997, 0.12841808795928955, 0.17272405326366425, 0.12977415323257446, -0.17622438073158264, 0.702815055847168, -0.25655537843704224, 0.04328741133213043, -0.04046132415533066, 0.3081051707267761, 0.3611023426055908, 0.055663205683231354, 0.0006764890858903527, 0.7101579308509827, 0.16616158187389374, -0.40380412340164185, -0.21048270165920258, 0.2909020781517029, -0.4637715220451355, 0.35941410064697266, -0.7245827913284302, 0.07162859290838242, -0.07435277104377747, 0.6003410220146179, -0.4820714294910431, -0.22213679552078247, 0.6705394387245178, -0.5371249914169312, 0.010565579868853092, -0.21912752091884613, -0.1451009064912796, 0.02639675699174404, -0.39468106627464294, 0.24148859083652496, 0.26743465662002563, -0.4416882395744324, 0.8052481412887573, 0.24349088966846466, 0.01925569772720337, -0.913763165473938, -0.6181914806365967, -0.02681124396622181, -0.47686487436294556, -0.8581680655479431, -0.0076247467659413815, -0.056037601083517075, -0.5656043887138367, 0.10741078108549118, -0.4592415690422058, -0.2603096067905426, 0.13363079726696014, 0.09086133539676666, 0.40430647134780884, -0.20355716347694397, -0.20988823473453522, 0.20633471012115479, -0.6300122737884521, 0.17735996842384338, -0.24652144312858582, 0.2276569902896881, -0.2735227942466736, -0.07186205685138702, -0.7108232378959656, 0.34002718329429626, 0.5829755663871765, -0.3233749270439148, 0.7665164470672607, 0.4665752649307251, -0.41399332880973816, -0.5311506390571594, -0.1209038719534874, 0.05491625517606735, -0.38394343852996826, -0.12507672607898712, -0.1586104929447174, -0.46187496185302734, 0.6007421016693115, 0.30413198471069336, -0.1672096848487854, 0.6017847657203674, 0.31822243332862854, 0.08810554444789886, 0.7370679974555969, 0.5873953700065613, 0.635798454284668, 0.27504366636276245, -0.15703734755516052, 0.4518676698207855, -0.627220869064331, -0.4427586495876312, -0.5771889686584473, -0.0906163677573204, -0.1430719643831253, -0.6977362036705017, -0.047034986317157745, 0.6129868626594543, 0.11328111588954926, 0.2539951503276825, -0.6414393782615662, 0.8006247282028198, 0.5331788063049316, -0.1858789026737213, 0.33978623151779175, -0.04598314315080643, -0.2265547513961792, -0.10974236577749252, -0.7185603380203247, -1.055745244026184, 0.816520631313324, 0.6679480671882629, 0.5111095309257507, 0.16635869443416595, 0.4477628469467163, 0.2767530083656311, 0.8841060996055603, -0.8806445002555847, 0.3919825255870819, 0.30178824067115784, -0.6347123384475708, -0.12089046090841293, -0.4708831012248993, -0.8031269907951355, 0.4517632722854614, -0.3560958802700043, -0.8758167624473572, 0.47347015142440796, 0.21521559357643127, -0.5217314958572388, 0.12768834829330444, -0.7947661280632019, 1.0326471328735352, -0.14374037086963654, -0.4882306158542633, 0.023476002737879753, -0.6838502883911133, 0.6490286588668823, -0.03806277737021446, 0.3241521716117859, -0.3130914568901062, -0.17024783790111542, 0.8766166567802429, -0.6711170077323914, 0.5721731781959534, -0.10404174774885178, -0.1907302737236023, 0.5394347906112671, 0.1928650587797165, 0.07377716153860092, 0.45657724142074585, -0.10193607956171036, 0.10986803472042084, 0.09546691924333572, -0.2663837671279907, -0.7565031051635742, 0.5379639267921448, -0.49421608448028564, -0.19919557869434357, -0.7704724669456482, -0.7098217010498047, -0.29270321130752563, 0.20791125297546387, 0.3650447428226471, 0.23959140479564667, 0.029011037200689316, 0.17410703003406525, 0.7129529714584351, -0.33032143115997314, 0.1343502700328827, 0.21591946482658386, -0.34892261028289795, -0.8100305199623108, 0.969804048538208, 0.024703817442059517, 0.20064420998096466, 0.19757716357707977, 0.8151146173477173, -0.5891472101211548, -0.2771424651145935, -0.6818363666534424, 0.10311270505189896, -0.8487076759338379, -0.5117518305778503, -0.4782952666282654, 0.0441182404756546, 0.07748669385910034, -0.04782780259847641, -0.11863433569669724, -0.8697524070739746, -0.1835719645023346, -0.35913199186325073, 0.31549179553985596, 0.6325188875198364, -0.14217005670070648, 0.04775208234786987, -0.8191134929656982, 0.45122525095939636, 0.25110119581222534, 0.4001145660877228, -0.07485637813806534, -0.3077632784843445, 0.2212161421775818, 0.0767272412776947, -0.4299654960632324, -1.1334187984466553, 0.4957379996776581, 0.02369820699095726, 0.6574826836585999, 0.4627091884613037, 0.35642245411872864, 0.3515464961528778, -0.12968342006206512, 0.5020540356636047, 0.19235685467720032, -1.0585955381393433, 0.5903427600860596, -0.5319168567657471, -0.08413054794073105, 0.7560811042785645, 0.1479102224111557, -0.0547194667160511, -0.18621943891048431, -0.770314633846283, -1.1521363258361816, 0.3885112702846527, 0.308007150888443, -0.35559749603271484, 0.05795784667134285, 0.202085942029953, 0.1792963147163391, -0.037330735474824905, -0.9046375155448914, -0.18396560847759247, -0.5119558572769165, -0.16914746165275574, 0.4711717367172241, -0.5218765139579773, -0.28575247526168823, -0.1428288221359253, 0.6222785711288452, 0.023952648043632507, 0.05809495970606804, 0.4777173399925232, -0.08656294643878937, 0.06876160949468613, 0.646197497844696, 0.8425610065460205, 0.6830139756202698, -0.43475183844566345, -0.0028254950884729624, -0.005217257887125015, -0.3427504301071167, -0.04875076934695244, -0.03198498487472534, -0.6697759628295898, 0.11577778309583664, 0.36373370885849, 0.7966391444206238, -0.10824745893478394, -0.8336013555526733, 0.5016044974327087, -0.36468949913978577, -0.3972202241420746, -0.17765997350215912, 0.028234681114554405, 0.05747965723276138, -0.06881663203239441, 0.11157172918319702, 0.6270087957382202, -0.08632799983024597, -0.4429728090763092, 0.4355555772781372, 0.3745056688785553, -0.6601105332374573, -0.06701049208641052, 0.8687586784362793, -0.06935696303844452, -0.4019375443458557, 0.34978002309799194, -0.18240141868591309, -0.4221966862678528, 0.41152024269104004, 0.5494739413261414, 1.099855661392212, -0.18016885221004486, 0.31795093417167664, 0.4590781033039093, 0.4937523901462555, 0.07578583061695099, 0.2161998301744461, -0.10892295837402344, -0.6477611064910889, -0.36506012082099915, -0.6303362250328064, -0.5715346336364746, 0.08427080512046814, -0.7878991961479187, 0.1170196682214737, -0.6897321939468384, -0.1815735548734665, -0.22867396473884583, -0.4096882939338684, -0.1014818325638771, 0.12324025481939316, -0.19520555436611176, 1.3388532400131226, -0.6693822145462036, 0.8918779492378235, 0.16189131140708923, -0.6372678279876709, -0.906435489654541, 0.09202022105455399, -0.1559714674949646, -0.33723166584968567, 0.4751923978328705, 0.35352474451065063, -0.6375709176063538, -0.5782297849655151, -0.37269461154937744, -0.6985082030296326, 0.9951635003089905, 0.608748197555542, -0.2641219198703766, 0.14365530014038086, -0.25310859084129333, 0.4265565872192383, -0.31853073835372925, 0.20942316949367523, 0.5281842350959778, 0.8594279885292053, 0.033612847328186035, -0.4786292314529419, 0.20154587924480438, -0.31225496530532837, -0.22303904592990875, 0.11472593992948532, -0.19755172729492188, 0.4326561391353607, -0.37813013792037964, -0.5058004856109619, 0.15481700003147125, 0.7814931273460388, 0.4553597569465637, 0.6505182385444641, 0.7481139302253723, 0.7012471556663513, 1.1811704635620117, -0.06496546417474747, 1.3222858905792236, 0.007053425535559654, 0.09618885815143585, 1.1071585416793823, -0.22638121247291565, 1.1937999725341797, 0.39946457743644714, 0.12640714645385742, 0.8638513684272766, 0.2126445472240448, 0.25408345460891724, 0.49165934324264526, 0.23430144786834717, -0.39047491550445557, -0.24769069254398346, -0.12402960658073425, -0.2677341103553772, 0.24898548424243927, 0.628987193107605, -0.14545392990112305, -0.1816156655550003, -0.35967156291007996, 0.17304398119449615, 0.3756151497364044, 0.022342057898640633, 0.42027759552001953, 0.1811773031949997, -0.8778595328330994, 0.5785831212997437, 0.04423835128545761, 0.4594266414642334, -0.8361197113990784, 0.14820264279842377, -0.070452019572258, 0.4069727063179016, -0.4514058530330658, -0.5794815421104431, 0.7606626749038696, 0.20745038986206055, -0.3558308780193329, -0.3944450914859772, 0.9475857019424438, -0.15049080550670624, -0.358958899974823, 0.40652674436569214, 0.4754192531108856, -0.23585651814937592, 0.0920349508523941, -0.7312374711036682, 0.05503743141889572, 0.09920041263103485, -0.22247657179832458, 0.29585424065589905, 0.33975377678871155, -0.431163489818573, 1.0897431373596191, 1.0466245412826538, -0.19097642600536346, -0.010868820361793041, 0.11767865717411041, 0.5957419276237488, -0.6341391205787659, -0.38140177726745605, -0.7456328868865967, 0.4786597192287445, -0.0976581946015358, -0.4045998156070709, 0.8831857442855835, 0.5194440484046936, 0.23859836161136627, 0.1293162852525711, 0.9246330857276917, 0.23363541066646576, 0.5571575164794922, -0.4722359776496887, 0.9189295172691345, -0.2865496277809143, 0.457955926656723, -0.2006770521402359, -0.7806511521339417, -0.5031006336212158, 1.0957831144332886, -0.18480443954467773, -0.35531923174858093, 0.9841657876968384, 0.4876757264137268, -0.02814009040594101, 0.27762940526008606, -0.17136526107788086, -0.11720340698957443, 0.33049651980400085, 0.30722981691360474, 1.0914593935012817, -0.34197646379470825, 0.7836071252822876, -0.17162902653217316, -0.46321046352386475, 0.14805960655212402, -1.4617102146148682, -0.6508258581161499, -0.1380465030670166, -0.405657559633255, -0.68804532289505, -0.26839274168014526, 0.5265628695487976, 0.40238887071609497, -0.6623817086219788, 0.07494773715734482, -0.22392341494560242, 0.5995463132858276, -0.2957315444946289, -0.25443214178085327, 0.2255081683397293, -0.1924009770154953, -0.1714658886194229, 0.6913262009620667, 0.27685922384262085, -0.10261562466621399, -0.09745027869939804, -0.1239611878991127, 0.010884950868785381, 0.5911554098129272, 0.4151664674282074, 0.6257268190383911, -0.7550691366195679, -0.3354400098323822, -0.06945009529590607, 0.02182314172387123, 0.044329527765512466, 0.8822808861732483, -1.011109471321106, 0.1374541074037552, 0.7892685532569885, 0.4673682153224945, 0.00822975393384695, 0.2668260633945465, 0.8284493088722229, -0.35790738463401794, 0.08931370079517365, 0.28397566080093384, 0.43591439723968506, 0.3650705814361572, -0.013632582500576973, 0.5871782302856445, 0.14138810336589813, -0.48471835255622864, -1.0876224040985107, 0.3982563018798828, -1.4660694599151611, -0.2627287209033966, 1.0633491277694702, -0.13915568590164185, -0.2949565351009369, -0.2742792069911957, -0.20848989486694336, 0.0799734964966774, -0.45384907722473145, 0.47126320004463196, 0.590861976146698, 0.008262889459729195, 0.017826005816459656, -0.8050669431686401, 0.42412883043289185, 0.4821051359176636, -0.694645881652832, 0.347395122051239, 0.5168637037277222, 0.36587637662887573, 0.4149121046066284, 0.678947389125824, -0.1641785353422165, 0.17201097309589386, 0.08703459799289703, -0.3003526031970978, -0.09782090783119202, -0.5269336104393005, -0.08933665603399277, 0.2982814908027649, 0.07489847391843796, -0.0821506604552269 ]
http://arxiv.org/abs/2402.18668v1
http://arxiv.org/pdf/2402.18668v1
Simple linear attention language models balance the recall-throughput tradeoff
2024-02-28T19:28:27
2024-02-28T19:28:27
Simran Arora, Sabri Eyuboglu, Michael Zhang, Aman Timalsina, Silas Alberti, Dylan Zinsley, James Zou, Atri Rudra, Christopher Ré
cs.CL
cs.CL, cs.LG
Recent work has shown that attention-based language models excel at recall, the ability to ground generations in tokens previously seen in context. However, the efficiency of attention-based models is bottle-necked during inference by the KV-cache's aggressive memory consumption. In this work, we explore whether we can improve language model efficiency (e.g. by reducing memory consumption) without compromising on recall. By applying experiments and theory to a broad set of architectures, we identify a key tradeoff between a model's state size and recall ability. We show that efficient alternatives to attention (e.g. H3, Mamba, RWKV) maintain a fixed-size recurrent state, but struggle at recall. We propose BASED a simple architecture combining linear and sliding window attention. By varying BASED window size and linear attention feature dimension, we can dial the state size and traverse the pareto frontier of the recall-memory tradeoff curve, recovering the full quality of attention on one end and the small state size of attention-alternatives on the other. We train language models up to 1.3b parameters and show that BASED matches the strongest sub-quadratic models (e.g. Mamba) in perplexity and outperforms them on real-world recall-intensive tasks by 6.22 accuracy points. Implementations of linear attention are often less efficient than optimized standard attention implementations. To make BASED competitive, we develop IO-aware algorithms that enable 24x higher throughput on language generation than FlashAttention-2, when generating 1024 tokens using 1.3b parameter models. Code for this work is provided at: https://github.com/HazyResearch/based.
[ -0.21937419474124908, -0.46632322669029236, 0.6361711025238037, 0.13721628487110138, 0.05162204056978226, -0.34734827280044556, -0.17778056859970093, -0.5004594326019287, 0.30569756031036377, 0.5260144472122192, -0.34930700063705444, -0.031422004103660583, -0.2818275988101959, -0.39028051495552063, -0.35569918155670166, 0.7643613815307617, -0.027063516899943352, -0.40326985716819763, -0.19286850094795227, -0.27355334162712097, -0.534902811050415, -0.4411194324493408, -0.7467789649963379, -0.34325146675109863, 0.7281792759895325, 0.31822723150253296, 0.5310490727424622, 0.7957254648208618, 0.3342415392398834, 0.21030938625335693, -0.20060411095619202, -0.1437714397907257, -1.0523422956466675, -0.07962744683027267, -0.19626839458942413, -0.4804343581199646, -0.5723346471786499, -0.019761232659220695, 0.5369191765785217, 0.47800925374031067, -0.21482816338539124, 0.2127648890018463, -0.04052570462226868, 0.7254568934440613, -0.9496216773986816, -0.03702634200453758, -0.9645992517471313, 0.10881446301937103, -0.007113978732377291, -0.07688368111848831, -0.7037477493286133, -0.25427883863449097, 0.27497631311416626, -0.39250701665878296, 0.08235251158475876, 0.01537009421736002, 0.8304293751716614, 0.3118121922016144, 0.024725206196308136, -0.1796075403690338, -0.8252890706062317, 0.8819484710693359, -0.7082631587982178, 0.45133697986602783, 0.3182126581668854, 0.047403305768966675, 0.17453917860984802, -0.8299445509910583, -0.27739787101745605, -0.1927490383386612, 0.023906100541353226, 0.091180220246315, -0.3640407621860504, 0.09268072992563248, 0.31970205903053284, 0.36952728033065796, -0.48477932810783386, -0.07950793206691742, -0.4623311161994934, -0.18628156185150146, 0.1042817085981369, 0.3612839877605438, 0.08179131895303726, 0.12524303793907166, -0.4825557470321655, 0.20468971133232117, -0.8911108374595642, 0.20233987271785736, -0.11468919366598129, 0.15589477121829987, 0.17902056872844696, 0.3052118420600891, -0.11400078982114792, 0.6078261733055115, 0.16417951881885529, -0.1515812873840332, -0.09661713987588882, -0.30641669034957886, -0.3045847415924072, -0.12190190702676773, 0.3773519992828369, 0.17147107422351837, 0.22815953195095062, -0.18908168375492096, -0.16589903831481934, 0.1157056912779808, 0.5594266057014465, -0.7123882174491882, -0.22784332931041718, 0.11361834406852722, -0.5499736666679382, -0.07187771052122116, -0.3777129054069519, -0.6610124707221985, -0.01971594989299774, -0.14015381038188934, 0.7484232783317566, -0.42755764722824097, 0.10102243721485138, 0.24978314340114594, 0.06368720531463623, 0.10889676213264465, 0.38365206122398376, -1.0304594039916992, 0.48105818033218384, 0.5349462628364563, 0.7454628944396973, -0.06970787793397903, -0.07649872452020645, -0.718994140625, 0.20856469869613647, -0.12493462860584259, 0.5356040000915527, -0.6154330372810364, 0.006258503068238497, -0.1900729089975357, -0.591610312461853, -0.3266836702823639, -0.4459817409515381, 0.10647210478782654, -0.5650508999824524, 0.15924173593521118, -0.44385212659835815, -0.5446209907531738, -0.2545643448829651, 0.09829551726579666, -0.6915923357009888, 1.033945918083191, -0.19908741116523743, -0.7307252287864685, 0.2132733315229416, -0.38392171263694763, -0.41340363025665283, -0.06392916291952133, -0.00418303906917572, -0.3361445367336273, 0.21671123802661896, 0.08020162582397461, 0.3059573471546173, -0.31390324234962463, -0.12050049751996994, -0.23229697346687317, -0.5968929529190063, 0.10160496830940247, -0.3724856376647949, 0.4309939444065094, 0.28049537539482117, -0.2904818058013916, 0.08275716006755829, -0.7767096161842346, 0.005447891540825367, 0.016951492056250572, -0.808968186378479, -0.45359423756599426, 0.09123227745294571, -0.09803270548582077, 0.3039311468601227, 0.4685532748699188, -0.41247880458831787, 0.016607115045189857, -0.45613744854927063, 0.49291643500328064, 0.6163318753242493, -0.22923387587070465, 0.4939849078655243, -0.11427616328001022, 0.5172379612922668, -0.021067600697278976, 0.19677355885505676, -0.3658311665058136, -0.19368386268615723, -1.229780912399292, -0.420424222946167, 0.31132981181144714, 0.5657088160514832, -0.5854865908622742, -0.0126001862809062, -0.1947624832391739, -0.14712712168693542, -0.7406215071678162, 0.2801556885242462, 0.7417050004005432, 0.47475549578666687, 0.05204105004668236, -0.46380549669265747, -0.4299066662788391, -1.0528866052627563, -0.04412230849266052, 0.07989312708377838, 0.18902632594108582, 0.5378873944282532, 0.08519507944583893, 0.08005868643522263, 0.8655782341957092, -0.5568297505378723, -0.02597256936132908, -0.47853192687034607, -0.011807647533714771, 0.10515477508306503, 0.22552300989627838, 0.47204864025115967, -0.4685209095478058, -0.5025169849395752, -0.08143451809883118, -0.54743492603302, 0.016319669783115387, -0.17921048402786255, -0.045223843306303024, 0.3297095000743866, 0.5319689512252808, -0.6260764002799988, 0.4735386371612549, 0.2118765115737915, -0.18313516676425934, 0.10598275810480118, -0.365628719329834, -0.20223921537399292, -0.7114003896713257, 0.508987307548523, -0.14861775934696198, -0.4256998896598816, -0.8362305760383606, 0.18849559128284454, 0.2864398658275604, -0.27282872796058655, -0.5206683874130249, 0.6152212023735046, -0.47706514596939087, -0.3063223361968994, -0.4005328416824341, 0.21619479358196259, -0.09064576029777527, 0.8781247735023499, 0.002928895875811577, 0.7599104642868042, 0.27038317918777466, -0.683990478515625, -0.13572119176387787, -0.18621431291103363, -0.17071831226348877, 0.24548324942588806, -0.5295682549476624, 0.3190663754940033, -0.20263013243675232, 0.017624855041503906, -1.0810567140579224, 0.17419753968715668, 0.03850596025586128, -0.2684822678565979, 0.38811880350112915, 0.10706446319818497, -0.37117958068847656, -0.40618374943733215, -0.4346310496330261, 0.2643949091434479, 0.62784743309021, -0.45309674739837646, 0.5187547206878662, 0.2158498466014862, -0.2790650427341461, -0.7545568346977234, -0.4897315204143524, -0.04119015112519264, -0.22833001613616943, -0.5080145001411438, -0.0010711587965488434, -0.05404280126094818, 0.06481852382421494, -0.0027706013061106205, -0.27728673815727234, 0.05984567850828171, 0.08990912139415741, -0.10185117274522781, 0.16674432158470154, -0.3714755177497864, 0.27742815017700195, -0.3398359417915344, -0.294513463973999, -0.21930696070194244, -0.5237957239151001, 0.7605299353599548, -0.2540355920791626, 0.11638812720775604, -0.4090178906917572, 0.2939484715461731, 0.8039787411689758, -0.37402909994125366, 0.5700291395187378, 0.0936322808265686, -0.3026520013809204, -0.023393239825963974, -0.6815005540847778, -0.18581849336624146, -0.41873735189437866, 0.24078018963336945, -0.3385891020298004, -0.8454331755638123, 0.7224017381668091, 0.2593889832496643, 0.1209467351436615, 0.25099486112594604, 0.6409603953361511, 0.031166987493634224, 0.8046117424964905, 0.591259777545929, -0.38624417781829834, 0.5958208441734314, -0.01028355024755001, 0.1868027299642563, -0.7284749150276184, 0.15068818628787994, -0.30663156509399414, -0.5075736045837402, -0.10716641694307327, -0.3396308422088623, 0.2232595682144165, -0.16508665680885315, -0.2086111307144165, 0.5223985314369202, -0.1994491070508957, 0.47181838750839233, 0.7991247177124023, 0.05242539569735527, 0.2578077018260956, 0.03372964635491371, -0.21769025921821594, -0.33967325091362, -1.1069552898406982, -0.22370050847530365, 1.052709937095642, 0.5430101156234741, 0.9390405416488647, -0.10686802119016647, 0.5754916667938232, 0.006312843412160873, 0.03301528841257095, -0.5947797894477844, 0.6170992255210876, -0.19611433148384094, -0.7021872401237488, -0.21581310033798218, -0.4138216972351074, -0.8391570448875427, 0.41718631982803345, -0.025450600311160088, -1.0639076232910156, 0.26357540488243103, 0.504963219165802, -0.6264261603355408, 0.19480718672275543, -0.7856914401054382, 0.8588138222694397, -0.014798619784414768, -0.7418395280838013, -0.5304660797119141, -0.5663487315177917, 0.496374249458313, 0.07566169649362564, -0.14208902418613434, 0.17941910028457642, 0.18006935715675354, 0.36076411604881287, -0.20445895195007324, 0.8967782258987427, 0.00029619812266901135, 0.036500200629234314, 0.2525257468223572, 0.1224307268857956, 0.612101674079895, -0.3504258096218109, 0.09572769701480865, -0.21292585134506226, -0.3436601161956787, -0.4959416091442108, -0.4760896563529968, 0.8072097897529602, -0.397586464881897, -0.5100134015083313, -0.13014133274555206, -0.7423222661018372, -0.04722469672560692, 0.22614212334156036, 0.16414712369441986, 0.48512622714042664, -0.17800550162792206, 0.23448744416236877, 1.2588666677474976, -0.21288153529167175, 0.47831133008003235, 0.5674276947975159, -0.28378015756607056, -0.17345556616783142, 1.2973406314849854, 0.17316830158233643, 0.5787956118583679, 0.6490758061408997, 0.14016376435756683, -0.08899778872728348, -0.30018535256385803, -0.17460766434669495, 0.1810714602470398, -0.6315093040466309, -0.033604204654693604, -0.7377233505249023, -0.2058044970035553, -0.18044252693653107, -0.19326251745224, -0.6786917448043823, -0.5156503915786743, -0.18446145951747894, 0.07763106375932693, 0.23746365308761597, 0.5893971920013428, -0.13853710889816284, 0.2316715568304062, -0.4235919117927551, 0.36149564385414124, 0.49433043599128723, 0.3645853102207184, 0.47058963775634766, -0.4492548704147339, -0.44044438004493713, -0.32881584763526917, -0.3004133403301239, -0.4679093360900879, 0.4041827917098999, 0.11505500972270966, 0.5826284289360046, 0.5153780579566956, -0.29994866251945496, 0.6138741374015808, -0.5210853815078735, 0.3365665376186371, 0.3111167550086975, -1.0102081298828125, 0.48632562160491943, -0.25460320711135864, 0.5887267589569092, 0.5026625990867615, 0.038529083132743835, -0.5601018071174622, -0.520761251449585, -0.5948173999786377, -0.859561562538147, 0.9731330275535583, 0.35700714588165283, -0.09584886580705643, 0.05397169291973114, 0.3643440902233124, -0.0021944805048406124, 0.1447826772928238, -0.8437426090240479, -0.17908012866973877, 0.023569494485855103, -0.34292691946029663, 0.08922122418880463, -0.42556607723236084, 0.22349068522453308, -0.07249347120523453, 0.5070578455924988, 0.23815685510635376, 0.2827053964138031, 0.027859192341566086, -0.21495936810970306, 0.012223601341247559, 0.17610929906368256, 0.7965039610862732, 0.464046835899353, -0.48035120964050293, 0.2289450466632843, 0.06560489535331726, -0.5924828052520752, -0.06622938811779022, -0.04684238135814667, -0.6461105346679688, -0.2296547144651413, 0.007572287227958441, 1.0169401168823242, 0.7927371263504028, -0.6624351143836975, 0.10627966374158859, -0.1415361911058426, 0.07137011736631393, 0.09879603981971741, 0.21940061450004578, 0.5008645057678223, 0.1944241225719452, 0.15946175158023834, -0.020307721570134163, 0.24309414625167847, -0.5276018977165222, 0.21093042194843292, 0.4068603217601776, -0.4194294810295105, -0.09120281785726547, 0.8045453429222107, 0.38115331530570984, -0.2780632972717285, 0.4919936954975128, 0.12957456707954407, -0.31473153829574585, 0.5512459874153137, 0.44582265615463257, 0.6545050740242004, -0.193500816822052, -0.18168498575687408, 0.2926134467124939, 0.40722209215164185, -0.023479610681533813, 0.3213023543357849, -0.15421561896800995, -0.5229547023773193, -0.22848157584667206, -0.36732709407806396, -0.11830385029315948, 0.38313257694244385, -0.7283738851547241, -0.10462550818920135, -0.7239925861358643, -0.03374883532524109, 0.08199924975633621, 0.07333219796419144, -0.5601315498352051, 0.10237100720405579, 0.35688942670822144, 0.9042503833770752, -0.5570826530456543, 1.0901530981063843, 0.36621350049972534, -0.37104126811027527, -0.41076961159706116, -0.060307618230581284, -0.06216049566864967, -0.7742580771446228, 0.40167397260665894, 0.30364689230918884, -0.27388501167297363, 0.04417707398533821, -0.38766923546791077, -1.098012089729309, 1.075325608253479, 0.32965371012687683, -0.709311842918396, 0.08767490088939667, -0.38092556595802307, 0.5280495882034302, -0.4008682668209076, -0.16163726150989532, 0.6925691366195679, 0.011284087784588337, 0.1782366782426834, -0.7908939123153687, -0.09700092673301697, -0.05926044285297394, 0.20738151669502258, 0.49132001399993896, -0.7528845071792603, 0.8129407167434692, -0.3246641159057617, -0.2620578408241272, 0.10590965300798416, 0.7825995087623596, 0.2693711221218109, 0.3088635504245758, 0.3203141987323761, 0.8661453723907471, 0.6342484354972839, 0.21642151474952698, 1.1434260606765747, -0.05162166431546211, 0.3615294098854065, 1.2305169105529785, -0.3411887586116791, 1.0882736444473267, 0.5889511108398438, -0.048854175955057144, 0.19688576459884644, 0.18540045619010925, 0.3716281056404114, 0.7697255611419678, 0.06822174042463303, -0.1327718049287796, -0.41359302401542664, 0.19112330675125122, -0.022266151383519173, 0.24171891808509827, 0.4735155403614044, -0.3555919826030731, -0.22539734840393066, -0.07711408287286758, 0.060354083776474, 0.11435109376907349, -0.41831621527671814, 0.6869075894355774, 0.12952809035778046, -0.7436035871505737, 0.5025546550750732, -0.10596198588609695, 0.5050443410873413, -0.5963645577430725, 0.1275646835565567, -0.4929085373878479, 0.6342177987098694, 0.365195631980896, -0.4459100067615509, 0.05477231740951538, -0.03172308951616287, -0.6833096146583557, -0.14206282794475555, 0.8047503232955933, -0.6818966269493103, -0.38532471656799316, 0.35701337456703186, 0.053922656923532486, 0.06867701560258865, 0.19501760601997375, -0.5579671859741211, 0.16280187666416168, 0.2236773818731308, -0.2859223186969757, 0.48199206590652466, 0.0904758870601654, 0.02905888855457306, 0.8426221609115601, 0.2620006799697876, -0.007667898666113615, 0.3232381045818329, -0.13264867663383484, 0.6989586353302002, -0.6986089944839478, -0.6193718910217285, -0.6829164624214172, 0.32854318618774414, -0.061239637434482574, -0.21343779563903809, 0.4904227554798126, 0.5304487943649292, 0.4597988426685333, -0.18540826439857483, 0.6210924983024597, 0.1561104953289032, 0.6529365181922913, -0.6136492490768433, 0.5733700394630432, -0.6501950025558472, 0.1764993965625763, -0.06381124258041382, -0.676802933216095, -0.00047457506298087537, 0.6291887760162354, -0.2658865451812744, -0.055351000279188156, 0.4890429675579071, 0.6986753344535828, -0.27471503615379333, -0.35570618510246277, 0.5705773234367371, 0.4651161730289459, 0.11253353953361511, 1.279521107673645, 0.47345006465911865, -0.4422810673713684, 0.6422209739685059, 0.10352647304534912, -0.24478738009929657, -0.5821559429168701, -0.6694896221160889, -0.8404356837272644, -0.29540082812309265, -0.08433784544467926, -0.18531160056591034, 0.1866845339536667, 0.518764317035675, 0.6931570172309875, -0.6234423518180847, -0.24074268341064453, -0.017059793695807457, 0.0688246563076973, -0.1973244845867157, -0.21315257251262665, 0.31971073150634766, -0.42268824577331543, -0.6015859842300415, 0.31220659613609314, 0.7808306217193604, -0.027894750237464905, -0.36964404582977295, -0.06602423638105392, -0.3781818747520447, 0.4919762909412384, 0.7587490081787109, 0.7359911203384399, -0.9520123600959778, -0.2621823251247406, 0.11745361238718033, -0.44138601422309875, 0.05527081340551376, 0.8683580160140991, -0.835665225982666, 0.6039748787879944, 0.5278601050376892, 0.6374735236167908, 0.9659507870674133, -0.18049955368041992, 0.7800824642181396, -0.6835883259773254, 0.3929787278175354, -0.008183425292372704, 0.3493943512439728, 0.19214117527008057, -0.26954102516174316, 0.28441566228866577, 0.1224275603890419, -0.4343920648097992, -0.5442882776260376, 0.249275803565979, -0.936447024345398, -0.4249979853630066, 0.9976896047592163, -0.24774858355522156, -0.18239353597164154, -0.03976348787546158, -0.28852999210357666, -0.24627673625946045, -0.4142087996006012, 0.8925362825393677, 0.8127959370613098, 0.041706837713718414, -0.4456210136413574, -0.6008402109146118, 0.3980272710323334, 0.6849499344825745, -0.47146323323249817, 0.31461602449417114, 0.4261527359485626, 0.2656306326389313, 0.2675888240337372, 0.9186583757400513, 0.1396043598651886, 0.5440296530723572, 0.09137652069330215, 0.16712605953216553, 0.2245679795742035, -0.6238951683044434, -0.3951965570449829, 0.17442011833190918, -0.05594248324632645, -0.1378394365310669 ]
http://arxiv.org/abs/2402.18667v1
http://arxiv.org/pdf/2402.18667v1
FOFO: A Benchmark to Evaluate LLMs' Format-Following Capability
2024-02-28T19:23:27
2024-02-28T19:23:27
Congying Xia, Chen Xing, Jiangshu Du, Xinyi Yang, Yihao Feng, Ran Xu, Wenpeng Yin, Caiming Xiong
cs.CL
cs.CL
This paper presents FoFo, a pioneering benchmark for evaluating large language models' (LLMs) ability to follow complex, domain-specific formats, a crucial yet underexamined capability for their application as AI agents. Despite LLMs' advancements, existing benchmarks fail to assess their format-following proficiency adequately. FoFo fills this gap with a diverse range of real-world formats and instructions, developed through an AI-Human collaborative method. Our evaluation across both open-source (e.g., Llama 2, WizardLM) and closed-source (e.g., GPT-4, PALM2, Gemini) LLMs highlights three key findings: open-source models significantly lag behind closed-source ones in format adherence; LLMs' format-following performance is independent of their content generation quality; and LLMs' format proficiency varies across different domains. These insights suggest the need for specialized tuning for format-following skills and highlight FoFo's role in guiding the selection of domain-specific AI agents. FoFo is released here at https://github.com/SalesforceAIResearch/FoFo.
[ -0.15027476847171783, -0.43248704075813293, 0.5037295818328857, 0.5523605942726135, -0.03984532132744789, 0.10472594946622849, -0.3827228248119354, -0.4481876790523529, -0.15569864213466644, 0.5651978254318237, -0.5451045632362366, -0.6251360774040222, -0.6083694100379944, 0.4083673357963562, -0.26981449127197266, 0.6446019411087036, -0.34768909215927124, -0.17316557466983795, -0.5196270942687988, -0.17222371697425842, -0.4938620924949646, -0.23488236963748932, -0.3542938530445099, -0.40681350231170654, 0.30337804555892944, 0.39474132657051086, 0.9007896184921265, 0.9134643077850342, 0.5562379956245422, 0.34631893038749695, 0.18583007156848907, 0.37668290734291077, -0.6072669625282288, 0.12292060256004333, 0.043731603771448135, -0.45357272028923035, -0.8274479508399963, 0.198893740773201, 0.9307579398155212, 0.5829046964645386, -0.15921561419963837, -0.15123885869979858, -0.25055450201034546, 0.7225417494773865, -0.6161667704582214, 0.28217896819114685, -0.6932729482650757, 0.07341781258583069, -0.06305420398712158, 0.06714785844087601, -0.5321491956710815, -0.47369176149368286, 0.13222002983093262, -1.0212950706481934, -0.0913587436079979, 0.1843004673719406, 0.4731591045856476, 0.4682517647743225, -0.3014281094074249, -0.3662702143192291, -0.7132071256637573, 0.6399371027946472, -0.6625993847846985, 0.7437218427658081, 0.5273093581199646, 0.41916611790657043, -0.2590101659297943, -0.8418920040130615, -0.5834230184555054, -0.4495057165622711, 0.22790314257144928, -0.16176995635032654, -0.08217579126358032, -0.04996481165289879, 0.1771112084388733, 0.5301219820976257, -0.4458288252353668, 0.043522272258996964, -0.21153013408184052, -0.1992824822664261, 0.8742079734802246, 0.15248018503189087, 0.06679224967956543, 0.5823525190353394, -0.5382093787193298, -0.2214788794517517, -0.7181216478347778, -0.0639958381652832, 0.3626907765865326, 0.043310247361660004, -0.21326640248298645, 0.5134899020195007, -0.48695021867752075, 0.6200371980667114, -0.23104798793792725, -0.15051740407943726, 0.403460294008255, -0.2741994857788086, -0.33641332387924194, -0.1418268382549286, 0.6879711151123047, 0.44799068570137024, 0.5209596753120422, -0.4378473460674286, -0.6165475249290466, -0.4265317916870117, 0.32322824001312256, -0.8358790874481201, 0.029959190636873245, 0.17580802738666534, -0.46961724758148193, -0.0798833891749382, 0.29106175899505615, -0.396278440952301, -0.4354659616947174, -0.24067950248718262, 0.3649883568286896, -0.5274142026901245, -0.15782330930233002, -0.10573360323905945, -0.030901974067091942, 0.4002225399017334, 0.5513964891433716, -0.8558081388473511, 0.27761009335517883, 1.1279170513153076, 0.9519156813621521, -0.4764280915260315, -0.7224252820014954, -0.872664213180542, -0.01533521618694067, -0.43759098649024963, 0.8371574282646179, -0.6644194722175598, -0.3820625841617584, 0.10308431088924408, -0.07549449056386948, 0.09031721949577332, -0.7618588209152222, 0.31591057777404785, -0.453105628490448, -0.20796623826026917, -0.017199905589222908, -0.6403344869613647, -0.09757789224386215, 0.2767069637775421, -0.7508955001831055, 0.8254500031471252, 0.4321088492870331, -0.11503834277391434, 0.32608601450920105, -0.39973655343055725, -0.4361683130264282, 0.02176765725016594, -0.23892654478549957, -0.14326930046081543, 0.05850182846188545, -0.1965884268283844, 0.38463160395622253, -0.5539904832839966, 0.22866764664649963, -0.28747835755348206, -0.6646326780319214, 0.12599900364875793, -0.36802971363067627, 0.29354602098464966, 0.14657223224639893, -0.14856663346290588, 0.5124913454055786, -0.9239259362220764, -0.12967711687088013, 0.23245662450790405, -0.29104113578796387, -0.21014446020126343, 0.18621321022510529, -0.10048842430114746, 0.10998428612947464, 0.2406969517469406, -0.4358487129211426, 0.3465052843093872, -0.14461171627044678, 0.31743136048316956, 0.7744577527046204, -0.444523423910141, 0.447860985994339, -0.5031192898750305, 0.6281712055206299, -0.4815550744533539, 0.17902147769927979, -0.2893483340740204, -0.4746245741844177, -0.33305516839027405, -0.35604503750801086, 0.2114880084991455, 0.5392330884933472, -0.5713996887207031, 0.31452450156211853, -0.16425691545009613, -0.8256282210350037, -0.525488555431366, 0.4190581440925598, 0.41187965869903564, 0.4119618535041809, 0.29404014348983765, -0.4170599579811096, -0.21764464676380157, -0.6414507627487183, -0.0855303481221199, -0.09987201541662216, -0.20335182547569275, 0.26917827129364014, 0.40116581320762634, -0.4266655445098877, 0.7553678154945374, -0.3915090560913086, -0.2889450490474701, 0.09722796827554703, 0.039219144731760025, -0.05033393204212189, 0.2583421468734741, 0.6585401296615601, -0.7978814840316772, -0.48431915044784546, 0.11266009509563446, -0.7297824025154114, -0.15792520344257355, 0.16219176352024078, -0.03772510215640068, 0.45233410596847534, 0.6831464171409607, -0.32757458090782166, 0.23064936697483063, 0.6498846411705017, -0.3719329237937927, 0.5158441662788391, -0.2036794126033783, 0.15236815810203552, -0.6082600355148315, 0.2742757797241211, -0.21803347766399384, -0.1443900465965271, -0.5831089615821838, -0.011562217958271503, -0.021244606003165245, 0.1639069765806198, -0.5038335919380188, 0.7424324750900269, -0.5005490779876709, -0.4016663432121277, -0.2119346708059311, 0.15883883833885193, -0.0015223333612084389, 0.2090681493282318, 0.1363859474658966, 1.1041289567947388, 0.25323086977005005, -0.318275511264801, 0.23276594281196594, 0.26936519145965576, -0.2885858416557312, 0.3937380909919739, -0.716331422328949, 0.41399407386779785, 0.1903359293937683, 0.07795422524213791, -0.9779151678085327, -0.05729914829134941, 0.04575338587164879, -0.14291851222515106, 0.2013377845287323, -0.11486963927745819, -0.7895480990409851, 0.08268338441848755, -0.47823283076286316, 0.3067114055156708, 0.3459317982196808, -0.13798153400421143, 0.7106644511222839, -0.01136935967952013, -0.02866341546177864, -0.5923410058021545, -0.3650076389312744, -0.22698508203029633, 0.06603678315877914, -0.819662868976593, 0.38840219378471375, -0.37993940711021423, -0.4791340231895447, -0.33146530389785767, -0.3083427846431732, 0.14274461567401886, 0.3631492853164673, 0.29459095001220703, 0.07854678481817245, -0.5781895518302917, -0.29733702540397644, 0.0028107771649956703, 0.14002808928489685, 0.10414984077215195, -0.022691447287797928, 0.5260796546936035, -0.3081367015838623, -0.18978151679039001, -0.35541263222694397, 0.27728337049484253, 0.5587001442909241, -0.42040538787841797, 0.6650177240371704, 0.35444530844688416, -0.2056627720594406, -0.3402261435985565, -0.3812529444694519, -0.03537183627486229, -0.4948783218860626, 0.05872950330376625, -0.3059050142765045, -0.708369255065918, 0.49936869740486145, -0.043766286224126816, 0.15045179426670074, 0.3627612292766571, 0.44551882147789, 0.0883713960647583, 0.5730884671211243, 0.7833907008171082, 0.015115365386009216, 0.7369651794433594, -0.1530454158782959, -0.31313276290893555, -0.5588242411613464, -0.31741559505462646, -0.3851478099822998, -0.06922094523906708, -0.501745879650116, -0.5864927768707275, 0.03976406902074814, 0.1722833514213562, -0.15172594785690308, 0.06363731622695923, -0.18660224974155426, 0.34060096740722656, 0.4123310148715973, -0.4512556493282318, 0.6132321953773499, -0.13679926097393036, -0.06823986768722534, 0.3572714328765869, -0.34862077236175537, -0.6834923028945923, 1.102682113647461, 0.561938464641571, 0.6803978085517883, 0.19000248610973358, 0.4833105504512787, 0.7362374663352966, 0.8217297792434692, -0.8093397617340088, 0.5400168299674988, -0.274385929107666, -0.09902170300483704, -0.3669925630092621, -0.14217223227024078, -0.7996095418930054, 0.20222428441047668, -0.1222359836101532, -0.5611885786056519, -0.1721499264240265, 0.005657693836838007, -0.15304796397686005, 0.06852995604276657, -0.5372061133384705, 0.8388134837150574, -0.1042732447385788, -0.1881633698940277, 0.04540345445275307, -0.7154965400695801, 0.1103377416729927, -0.12469083070755005, 0.014264137484133244, -0.31910818815231323, -0.383565753698349, 0.6604633331298828, -0.5911617279052734, 0.556566596031189, -0.044108059257268906, -0.3707434833049774, 0.3603230118751526, 0.12718527019023895, 0.3043590486049652, -0.1145959198474884, -0.382344514131546, 0.35400986671447754, -0.1484842151403427, -0.1591678261756897, -0.5300446152687073, 0.6057365536689758, -0.9120576977729797, -0.5576215386390686, -0.34466397762298584, -0.5755355358123779, -0.4540026783943176, 0.45696598291397095, -0.014637199230492115, 0.14783182740211487, -0.4491509199142456, 0.34486132860183716, 0.575480043888092, 0.2793983519077301, 0.39378881454467773, 0.588236391544342, -0.16950799524784088, -0.6798033118247986, 0.7467904686927795, -0.06423225998878479, 0.38704943656921387, 0.5482896566390991, 0.15044623613357544, -0.23748362064361572, -0.8744392395019531, -0.5854766368865967, 0.464143842458725, -0.6386378407478333, -0.2597612142562866, -0.24364416301250458, -0.09730089455842972, -0.4105684459209442, -0.2465008646249771, -0.35100236535072327, -0.06318584829568863, -0.3719025254249573, 0.22284795343875885, 0.3467464745044708, 0.872198760509491, 0.3217240273952484, 0.3559230864048004, -0.8850628137588501, 0.12594148516654968, 0.021533669903874397, 0.7011847496032715, 0.04855642467737198, -0.41062450408935547, -0.05495639145374298, -0.12806008756160736, -0.39166775345802307, -0.6903293132781982, -0.0441271997988224, 0.21376121044158936, 0.8021858930587769, 0.48413872718811035, -0.0044564236886799335, 0.3430039584636688, -0.5378431677818298, 0.5566977858543396, -0.2165101319551468, -0.9952229261398315, 0.5575816035270691, -0.4686325490474701, 0.10302997380495071, 0.6016729474067688, 0.535463809967041, -0.4861114025115967, -0.1603754758834839, -0.29861223697662354, -0.6984316110610962, 0.9325167536735535, 0.32392701506614685, -0.14868129789829254, 0.08287105709314346, 0.4247673749923706, 0.4689544141292572, 0.5358863472938538, -0.13195078074932098, -0.2673451900482178, -0.2974507212638855, -0.13332641124725342, -0.2223566621541977, 0.09563387930393219, -0.007584114093333483, 0.2603139579296112, 0.3966034948825836, -0.46677467226982117, 0.20432889461517334, 0.28588491678237915, -0.21207177639007568, -0.20697464048862457, -0.0747666135430336, 1.0528491735458374, 0.726353645324707, -0.5001177191734314, -0.3161831200122833, -0.20164531469345093, -0.6113523840904236, -0.05369364842772484, 0.48913514614105225, -0.14331495761871338, -0.26664096117019653, 0.6062543988227844, 0.670676589012146, -0.1219664216041565, -1.030523419380188, 0.46171873807907104, -0.10768318176269531, -0.26144132018089294, -0.39390668272972107, 0.44176116585731506, -0.08739170432090759, 0.363849401473999, 0.6318491101264954, -0.1737634241580963, -0.016965635120868683, -0.8058436512947083, 0.17431767284870148, 0.2866331934928894, -0.34030869603157043, -0.36885714530944824, 0.6973500847816467, 0.30233994126319885, -0.7238056063652039, 0.7190078496932983, -0.00849528331309557, -0.061625100672245026, 0.8118488788604736, 0.46501973271369934, 0.7661079168319702, -0.22532695531845093, -0.06342992931604385, -0.2634216547012329, 0.296223521232605, -0.2669486999511719, 0.5354763269424438, -0.22134938836097717, -0.6038623452186584, -0.23993614315986633, -0.36689597368240356, -0.6670966148376465, 0.16040830314159393, -0.5327810049057007, 0.2951660454273224, -0.7831782698631287, 0.12257205694913864, 0.03893856331706047, 0.19149844348430634, -0.6794965267181396, 0.17794513702392578, 0.30178025364875793, 1.5808197259902954, -0.6746907234191895, 0.8273840546607971, 0.8718233704566956, -0.415905237197876, -0.4785572588443756, 0.2980044186115265, 0.19620266556739807, -0.6886671781539917, 0.2519836127758026, 0.4465528130531311, -0.36180511116981506, -0.12254462391138077, -0.4931463897228241, -0.7607371807098389, 1.5869953632354736, 0.32225844264030457, -0.5022268891334534, 0.019877294078469276, 0.13866223394870758, 0.6403018236160278, -0.8653596043586731, 0.3063971698284149, 0.5412152409553528, 0.46430110931396484, 0.1155162900686264, -1.0244567394256592, 0.30109062790870667, -0.0996830090880394, -0.009104170836508274, 0.14336661994457245, -1.0883045196533203, 0.5803130269050598, -0.19755768775939941, 0.12789799273014069, 0.5127813220024109, 0.9239935278892517, 0.3001024127006531, 0.8042794466018677, 0.5796366930007935, 0.043951984494924545, 0.6908016204833984, -0.02491239830851555, 0.9596503973007202, -0.08930964022874832, -0.012638538144528866, 1.014083981513977, -0.6756025552749634, 1.1183215379714966, 0.3659634590148926, -0.04368475452065468, 0.4165146052837372, 0.2989645004272461, -0.15454566478729248, 0.5704929232597351, 0.1877598613500595, 0.1562821865081787, 0.06191210448741913, -0.06929365545511246, -0.3097314238548279, 0.5580132007598877, 0.24675999581813812, -0.33614394068717957, 0.14561188220977783, -0.3137066066265106, 0.14761455357074738, 0.30592280626296997, -0.20124778151512146, 0.7528972625732422, -0.040573202073574066, -0.8777438402175903, 0.6427441239356995, -0.08373221009969711, 0.5237576365470886, -0.8022520542144775, -0.23726364970207214, -0.5710222125053406, 0.07523676753044128, -0.08009908348321915, -0.9616068601608276, 0.416422039270401, -0.08380994200706482, -0.17475666105747223, -0.19715896248817444, 0.35108229517936707, -0.12384843081235886, -0.01566675305366516, 0.5267740488052368, 0.4556501507759094, 0.0679333433508873, -0.22440028190612793, -0.3912860155105591, 0.5106058120727539, -0.08243861049413681, -0.3097813129425049, 0.31706544756889343, 0.543422281742096, -0.4421868622303009, 0.6342955231666565, 0.5888363122940063, -0.1843322366476059, -0.2169768363237381, 0.081526979804039, 0.6803404092788696, -0.62726229429245, -0.13706286251544952, -0.6567952036857605, 0.30115097761154175, 0.07516368478536606, -0.5621410608291626, 0.5613572001457214, 0.574894368648529, 1.1197150945663452, -0.02878296747803688, 0.4916972517967224, 0.11893169581890106, -0.08007048815488815, -0.5308747291564941, 0.7923837304115295, -0.7613996267318726, 0.18112939596176147, -0.2129218578338623, -1.0050034523010254, -0.23803837597370148, 0.31390196084976196, -0.22763371467590332, 0.09802844375371933, 0.37557336688041687, 0.5692827105522156, 0.03336385264992714, 0.10059680789709091, 0.43520158529281616, 0.1880858987569809, 0.2060708999633789, 0.15892039239406586, 0.8452886939048767, -0.28665614128112793, 0.6025688648223877, -0.1790643185377121, -0.29854676127433777, -0.5367536544799805, -1.1031986474990845, -0.8594229221343994, -0.6575856804847717, -0.18004059791564941, -0.13405980169773102, 0.022454144433140755, 1.0274407863616943, 0.7363839149475098, -0.6309924125671387, -0.1822005957365036, 0.2512214481830597, 0.2394406497478485, -0.5372809171676636, -0.15187065303325653, -0.006013812031596899, 0.07510636001825333, -0.7963968515396118, 0.592503011226654, 0.21037453413009644, 0.046093977987766266, -0.26433467864990234, -0.23604810237884521, -0.09287779778242111, 0.21651308238506317, 0.7440295815467834, 0.3908012807369232, -0.8840792775154114, -0.15162868797779083, 0.3374621868133545, -0.13151556253433228, 0.30473634600639343, 0.9478400349617004, -0.5093090534210205, 0.20520879328250885, 0.5675839185714722, 0.6172866821289062, 0.20042859017848969, 0.13403184711933136, 0.7560235261917114, -0.7035858631134033, -0.05954296141862869, 0.18362270295619965, 0.2281915694475174, 0.4341433048248291, -0.3720577657222748, 0.7347941994667053, 0.16136665642261505, -0.5423277020454407, -0.7932882905006409, -0.06805805116891861, -1.0189121961593628, -0.09190092235803604, 1.2222496271133423, -0.33416688442230225, -0.058283668011426926, 0.11726215481758118, -0.02265888638794422, 0.01153649017214775, -0.8380448818206787, 0.45143967866897583, 0.5905874967575073, -0.1881946623325348, 0.020025311037898064, -0.6233371496200562, 0.3640314042568207, 0.10914081335067749, -0.7361094951629639, 0.11878655105829239, 0.5130475759506226, 0.49528592824935913, 0.1575431078672409, 0.8575615882873535, 0.16422033309936523, 0.3265701234340668, 0.026826318353414536, -0.01820039004087448, -0.4840472638607025, -0.6277205944061279, -0.4172429144382477, -0.047472741454839706, 0.3706706464290619, -0.05608876049518585 ]
http://arxiv.org/abs/2402.18659v1
http://arxiv.org/pdf/2402.18659v1
Large Language Models and Games: A Survey and Roadmap
2024-02-28T19:09:08
2024-02-28T19:09:08
Roberto Gallotta, Graham Todd, Marvin Zammit, Sam Earle, Antonios Liapis, Julian Togelius, Georgios N. Yannakakis
cs.CL
cs.CL, cs.AI, cs.HC
Recent years have seen an explosive increase in research on large language models (LLMs), and accompanying public engagement on the topic. While starting as a niche area within natural language processing, LLMs have shown remarkable potential across a broad range of applications and domains, including games. This paper surveys the current state of the art across the various applications of LLMs in and for games, and identifies the different roles LLMs can take within a game. Importantly, we discuss underexplored areas and promising directions for future uses of LLMs in games and we reconcile the potential and limitations of LLMs within the games domain. As the first comprehensive survey and roadmap at the intersection of LLMs and games, we are hopeful that this paper will serve as the basis for groundbreaking research and innovation in this exciting new field.
[ -0.46285703778266907, -0.7349541783332825, 0.7837098240852356, 0.1761382669210434, -0.04322805255651474, 0.2835671305656433, -0.3819412291049957, -0.6335231065750122, 0.2327030599117279, 0.7773637175559998, -0.5392200946807861, -0.5981751680374146, -0.8655835390090942, -0.0471462607383728, -0.5431777238845825, 0.4949776530265808, -0.054822880774736404, 0.09207475185394287, -0.5399704575538635, -0.027722515165805817, -0.38885045051574707, -0.8534408807754517, -0.7150349617004395, -0.4408022165298462, 0.5913983583450317, 0.15648600459098816, 0.5616173148155212, 0.5428464412689209, 0.6752098202705383, 0.39655601978302, -0.3561142086982727, 0.056385599076747894, -0.7358592748641968, 0.491109162569046, -0.021784665063023567, -0.48940929770469666, -0.46960723400115967, 0.08588692545890808, 0.762434184551239, 0.7186474800109863, -0.048697348684072495, 0.17793171107769012, 0.010061943903565407, 0.3776317238807678, -0.38208284974098206, 0.24925202131271362, -0.2794732451438904, 0.16372711956501007, -0.4793223440647125, -0.17092441022396088, -0.13318988680839539, -0.2210840880870819, 0.17452584207057953, -0.45497438311576843, -0.2631133794784546, 0.05976772680878639, 0.3833514451980591, -0.1267012655735016, -0.3867551386356354, -0.6349217295646667, -0.9496518969535828, 0.9216392040252686, -0.9189394116401672, 0.4577118456363678, 0.07167650014162064, 0.20344841480255127, -0.5829561948776245, -0.5463976263999939, -0.36050254106521606, -0.15712857246398926, 0.4420836865901947, -0.09331204742193222, -0.46368515491485596, 0.19645725190639496, 0.26253923773765564, 0.3406691253185272, -0.31360548734664917, 0.6929501295089722, -0.15631191432476044, 0.12888534367084503, 0.8610442876815796, 0.530858039855957, 0.36864572763442993, 0.3078138828277588, -0.39023062586784363, 0.4058808982372284, -1.0651835203170776, 0.01164020411670208, 0.21182796359062195, 0.179540753364563, -0.07206761091947556, 0.7691624164581299, 0.004844865761697292, 0.8299104571342468, -0.20009806752204895, -0.2683773636817932, -0.12743689119815826, -0.12676061689853668, -0.10422713309526443, -0.204930379986763, 0.9086863994598389, 0.4930989444255829, 0.1384180635213852, -0.2524540424346924, -0.2866954505443573, -0.004996407777070999, -0.13238941133022308, -0.6549354195594788, 0.1977611482143402, 0.3066769242286682, -0.44790908694267273, -0.061314720660448074, -0.21698175370693207, -0.9870656728744507, -0.9443052411079407, -0.15928266942501068, 0.03378017619252205, 0.15405471622943878, -0.511566162109375, 0.3227628171443939, -0.08605366945266724, 0.4231579303741455, 0.17454926669597626, -0.9766363501548767, 0.45348113775253296, 0.9565156698226929, 0.9366387128829956, -0.36620914936065674, -0.1536703109741211, -0.2241509109735489, 0.24867238104343414, -0.46773457527160645, 0.7142859697341919, -0.5849105715751648, -0.7031009793281555, 0.48204904794692993, -0.1777370274066925, 0.49498450756073, -0.662420928478241, 0.37326356768608093, -0.5381944179534912, 0.006940104998648167, -0.34691599011421204, -0.8364992737770081, 0.021908124908804893, 0.7015013098716736, -0.6981304883956909, 0.5712994337081909, -0.2929002642631531, -0.45809146761894226, 0.11422868072986603, -0.8427138328552246, -0.5177794098854065, 0.22658324241638184, -0.14188961684703827, -0.1523716300725937, 0.42767658829689026, 0.007203047629445791, 0.48750749230384827, -0.7395645976066589, 0.17485493421554565, -0.44927430152893066, -0.4920465052127838, 0.29019850492477417, -0.19912414252758026, 0.6133314371109009, 0.046002089977264404, -0.07414865493774414, 0.18596620857715607, -0.29064661264419556, -0.10884679108858109, 0.19070829451084137, -0.42277616262435913, -0.20748271048069, 0.6687788963317871, -0.06078561395406723, 0.38051050901412964, 0.3294684886932373, -0.4184669554233551, 0.37531426548957825, -0.31873032450675964, 0.7245426177978516, 0.4391207993030548, -0.0543038509786129, 0.43728867173194885, -0.07485637813806534, 0.7097461819648743, -0.1939927041530609, 0.20844502747058868, -0.05084073916077614, -0.626226007938385, -0.42554783821105957, -0.1290978342294693, 0.3333565294742584, 0.31804707646369934, -0.5507228970527649, 0.346049427986145, -0.2273910939693451, -0.5610292553901672, -0.1699206680059433, -0.031310904771089554, -0.08504856377840042, -0.10750904679298401, -0.08827736228704453, -0.34126031398773193, -0.6429193615913391, -0.5955505967140198, -0.19202996790409088, -0.33163246512413025, 0.12563927471637726, 0.4719657599925995, 0.23804214596748352, -0.34591880440711975, 0.9140654802322388, -0.3261561989784241, -0.4398844242095947, -0.55055832862854, -0.0008692301926203072, 0.16679345071315765, 0.11587531864643097, 0.3693920075893402, -0.7607994675636292, -0.19793260097503662, -0.2881520092487335, -0.6751922369003296, -0.15289406478405, 0.2776343524456024, 0.13446569442749023, -0.22109103202819824, 0.752094566822052, -0.7932820320129395, 0.0404987670481205, 0.9637633562088013, -0.2365454137325287, 0.41925889253616333, 0.03236673027276993, 0.3293423652648926, -0.8331755995750427, -0.17066983878612518, -0.027552569285035133, 0.05125182867050171, -0.9011303782463074, 0.2425173819065094, -0.375873327255249, -0.048442013561725616, -0.38709041476249695, 0.7198139429092407, -0.8459472060203552, -0.36494356393814087, -0.5297548770904541, 0.4797589182853699, -0.3183371126651764, -0.15954655408859253, 0.20211493968963623, 0.5374870896339417, 0.8208160400390625, -0.5986456274986267, 0.7125312089920044, 0.21162830293178558, -0.5072358846664429, 0.30779632925987244, -0.706531286239624, -0.11073632538318634, 0.03767041489481926, 0.24556158483028412, -0.9606192111968994, -0.10849654674530029, 0.10432174056768417, -0.23666109144687653, 0.07221108675003052, -0.17494574189186096, -0.7456524968147278, -0.7062029838562012, -0.16052289307117462, 0.29108139872550964, 0.6007142066955566, -0.23917536437511444, 0.48068931698799133, 1.2323005199432373, -0.29728665947914124, -0.22294984757900238, -0.6858660578727722, 0.4489455819129944, -0.4772574007511139, -0.5252816081047058, 0.13040313124656677, -0.08944667130708694, -0.44465184211730957, -0.3180241584777832, 0.1670055240392685, -0.16706064343452454, 0.30537527799606323, 0.2861248552799225, 0.07700540125370026, -0.42065829038619995, 0.040531616657972336, -0.4240284562110901, 0.0888119786977768, 0.3069756031036377, -0.20620758831501007, 0.6948958039283752, 0.09168627858161926, -0.33637475967407227, 0.29454660415649414, 0.4158867299556732, 0.49836811423301697, -0.26556992530822754, 0.3489011526107788, 0.0904523953795433, -0.5229642391204834, 0.018415099009871483, -0.5408925414085388, 0.14412111043930054, -0.47397732734680176, 0.7183404564857483, -0.11075074970722198, -1.40139901638031, 0.574169397354126, -0.535549521446228, 0.22859111428260803, 0.25721609592437744, 0.8464249968528748, 0.0023535622749477625, 1.086261510848999, 0.8850125074386597, -0.3050205409526825, 0.35419294238090515, -0.02616618014872074, 0.30095937848091125, -0.8832724094390869, -0.17289665341377258, -0.5626899003982544, -0.46131691336631775, -0.5236106514930725, -0.6884484887123108, 0.20461814105510712, -0.019243337213993073, -0.05636391043663025, 0.03977837413549423, -0.015351567417383194, 0.6911879181861877, 0.17133118212223053, -0.4031148850917816, 0.18936099112033844, -0.2584344744682312, 0.2665547728538513, -0.1654990166425705, -0.8464111089706421, -0.508191704750061, 0.8214226365089417, 0.5161393284797668, 0.6932828426361084, 0.2547459006309509, 0.675216794013977, 0.14756892621517181, 0.3430043160915375, -0.778632402420044, 0.8189453482627869, -0.17751149833202362, -0.9745903015136719, -0.5846763253211975, -0.4100770950317383, -1.054463505744934, 0.25856947898864746, -0.3199648857116699, -0.7574795484542847, -0.2120191752910614, -0.0811014324426651, -0.3760186731815338, 0.6915618777275085, -0.40587201714515686, 0.7909837365150452, -0.26473504304885864, -0.3529292941093445, -0.05439139902591705, -0.2438308447599411, 0.6324249505996704, 0.14942960441112518, 0.48139330744743347, -0.244334414601326, -0.22741644084453583, 0.7593821883201599, 0.21987445652484894, 0.7071430087089539, -0.08634592592716217, -0.6042750477790833, 0.4311023950576782, 0.1508854180574417, 0.3303816318511963, -0.0752246081829071, 0.05443381890654564, 0.33147019147872925, -0.08847538381814957, -0.15730643272399902, -0.1579425185918808, 0.9759426116943359, -0.5265932679176331, -0.7366378903388977, -0.7235760688781738, -0.6096627712249756, -0.724600076675415, 0.26996544003486633, -0.1714469939470291, 0.18426354229450226, -0.6750946044921875, 0.19322159886360168, 0.7650895118713379, -0.4171544909477234, 0.49447402358055115, 0.5346507430076599, -0.4847458004951477, 0.007007885724306107, 0.8539616465568542, -0.08439766615629196, 0.1774599254131317, 0.3207380473613739, 0.12800097465515137, -0.43099817633628845, -1.0815573930740356, -0.1046379953622818, 0.19481013715267181, -0.43860870599746704, -0.04025387018918991, -0.27838197350502014, -0.18955819308757782, -0.32159367203712463, -0.06381543725728989, -0.3240334689617157, 0.04251454398036003, -0.31863933801651, 0.09888854622840881, 0.09987285733222961, 1.314670443534851, -0.08959007263183594, 0.3503519594669342, -0.8029059767723083, 0.26533615589141846, 0.2513122260570526, 0.6406185030937195, 0.021024325862526894, -0.18134218454360962, -0.10499830543994904, 0.08462104946374893, -0.0006129704997874796, -0.7162100672721863, 0.3792501389980316, -0.12155171483755112, 0.7228344082832336, 0.33906325697898865, -0.4103049039840698, 0.5904872417449951, -0.8900696039199829, 1.2255163192749023, 0.5366639494895935, -0.6724263429641724, 0.03281811624765396, -0.4830651879310608, 0.374980092048645, 0.13117492198944092, 0.4525178372859955, -0.9838058352470398, -0.2873465120792389, -0.3771176338195801, -0.7479051947593689, 0.6949271559715271, -0.18162979185581207, 0.2506162226200104, -0.017530925571918488, -0.03751610219478607, -0.04770911857485771, 0.3605881631374359, -0.5420306324958801, -0.1765517294406891, 0.6103060245513916, -0.01241435669362545, -0.42837169766426086, -0.4609822928905487, -0.21740944683551788, 0.11592555791139603, 0.4448072612285614, 0.15015307068824768, 0.3302009701728821, -0.5002573728561401, 0.06066930294036865, -0.31654733419418335, 0.2222127467393875, 0.5230110883712769, 0.7271540760993958, 0.14697666466236115, 0.03419336676597595, 0.17152272164821625, -0.4014522135257721, 0.1481149047613144, -0.0032048269640654325, -0.2218514084815979, -0.14060187339782715, 0.38535329699516296, 0.5195857286453247, 0.4596100151538849, -0.8938325643539429, 0.4506377875804901, 0.0406552329659462, -0.27391737699508667, -0.11520863324403763, -0.006604696623980999, 0.5629462599754333, 0.5818384289741516, 0.1628277748823166, -0.5414842367172241, 0.10849549621343613, -0.7728680372238159, -0.0356764942407608, 0.7452800869941711, -0.3677540719509125, -0.09724210202693939, 0.5901078581809998, 0.37804314494132996, -0.4493185579776764, 0.19779735803604126, 0.03174864500761032, -0.4356718361377716, 0.44806286692619324, 0.470309853553772, 0.7042236924171448, 0.08787231892347336, 0.1346917450428009, 0.0429699532687664, 0.24210302531719208, -0.1570221334695816, 0.20500031113624573, 0.4414072334766388, -0.6300576329231262, -0.5163645148277283, -0.5109475255012512, -0.530517041683197, 0.34490126371383667, -0.10472013056278229, 0.14952601492404938, -0.3961823582649231, -0.3529508411884308, -0.21111048758029938, 0.2672371566295624, -0.3481554687023163, -0.10321490466594696, 0.8958679437637329, 0.8663429617881775, -0.4866172671318054, 0.44040849804878235, 0.5159775018692017, -0.24868139624595642, -0.21997536718845367, -0.06908535212278366, 0.006878761574625969, -0.5942875146865845, 0.48317858576774597, -0.39917615056037903, -0.09578679502010345, -0.06927579641342163, -0.7175191640853882, -0.9834659695625305, 0.9369441866874695, 0.16237004101276398, -0.8277696371078491, -0.3367816209793091, 0.4857748746871948, 0.4703230559825897, -0.45746901631355286, 0.12480376660823822, 0.6151372194290161, 0.35598433017730713, 0.18641287088394165, -0.6450340747833252, -0.3159474730491638, 0.13581034541130066, 0.1534123718738556, 0.27679628133773804, -0.7050201296806335, 0.7003723978996277, -0.07952488958835602, -0.18688461184501648, 0.4555436074733734, 0.8510783910751343, 0.3324275016784668, 0.027401329949498177, 0.3271758556365967, 0.25362229347229004, 0.3294333219528198, -0.37943676114082336, 0.821779727935791, -0.12249834835529327, 0.2209741324186325, 0.7094523906707764, -0.747616708278656, 0.7393249869346619, 0.41866201162338257, -0.4215540587902069, 0.1692882925271988, 0.5641770958900452, 0.0579071007668972, 0.24229519069194794, 0.6639864444732666, -0.20601120591163635, -0.3006371557712555, -0.0017373987939208746, -0.31959250569343567, 0.34594228863716125, 0.7181604504585266, -0.12664295732975006, -0.6003441214561462, -0.17279385030269623, -0.06895896792411804, 0.05682194605469704, -0.6339648962020874, 0.6418176293373108, 0.1933450549840927, -0.44216838479042053, 0.03174059838056564, 0.18170246481895447, 0.878559410572052, -0.8690133690834045, -0.08137059956789017, -0.11891482025384903, 0.14420777559280396, 0.18345782160758972, -1.0810842514038086, -0.1371181458234787, 0.15822243690490723, 0.054318733513355255, -0.2837918996810913, 0.7680255770683289, -0.5054474472999573, -0.2843474745750427, 0.39693549275398254, 0.6265373229980469, 0.12545181810855865, 0.05239950865507126, -0.7198427319526672, 0.6468459963798523, -0.34768590331077576, -0.2218531370162964, 0.5017508864402771, 0.6903616189956665, 0.1395544409751892, 0.638976514339447, 0.4067346453666687, 0.3919358551502228, 0.24134252965450287, -0.019202709197998047, 0.6006723046302795, -0.8015785217285156, -0.40482109785079956, -0.7375343441963196, 0.1551280915737152, -0.05647338554263115, -0.5726494193077087, 0.9382702112197876, 0.6541096568107605, 0.5542336106300354, -0.03729761019349098, 0.8574979305267334, -0.07635652273893356, 0.402505487203598, -0.3879271447658539, 0.718360424041748, -0.3206460773944855, 0.033307820558547974, -0.3118671774864197, -0.8349801301956177, -0.3408542275428772, 0.2700384259223938, -0.34362924098968506, -0.014316825196146965, 0.19993120431900024, 0.4984762966632843, 0.009776282124221325, 0.15628090500831604, 0.6336100101470947, 0.257672518491745, 0.4855228066444397, 0.7384356260299683, 1.276394009590149, -0.11039203405380249, 0.13838501274585724, 0.26139432191848755, -0.15956127643585205, -0.35255736112594604, -0.8707193732261658, -1.0529601573944092, -0.5912664532661438, -0.16558581590652466, -0.12348207831382751, 0.034676678478717804, 0.8261086940765381, 0.572152316570282, -0.6703866124153137, -0.8237072229385376, 0.15251901745796204, 0.19021137058734894, -0.010694121941924095, -0.06525614857673645, -0.19018852710723877, 0.0175824873149395, -0.8897255659103394, 0.48187869787216187, 0.3538638651371002, 0.020120562985539436, -0.7700018882751465, -0.2019689828157425, -0.40208107233047485, 0.3720567524433136, 0.994668185710907, 0.6564674973487854, -0.7955100536346436, -0.03509340435266495, 0.18760612607002258, -0.2101915180683136, -0.11195686459541321, 1.0693140029907227, -0.4174702763557434, 0.14090044796466827, 0.4562208354473114, 0.7953320741653442, 0.35151922702789307, -0.48886582255363464, 0.7511382102966309, -0.31121233105659485, -0.002915552817285061, 0.4920315444469452, 0.33180519938468933, 0.4024663269519806, 0.10150402039289474, 0.3948594927787781, -0.029260512441396713, -0.3351978659629822, -1.0134899616241455, 0.3199479877948761, -0.7747918963432312, -0.14099642634391785, 1.4571069478988647, 0.10402384400367737, -0.1941850334405899, 0.07311620563268661, -0.05802574008703232, 0.012005375698208809, 0.05447932705283165, 0.5103364586830139, 1.2063565254211426, -0.07299947738647461, -0.06542667746543884, -0.5484955310821533, 0.45436152815818787, -0.22869069874286652, -0.7751294374465942, 0.3710271716117859, 0.6671496629714966, -0.061512213200330734, 0.05789914354681969, 0.6527774333953857, -0.2920539379119873, -0.03639249876141548, -0.1518028974533081, 0.05677487328648567, 0.08315850049257278, -0.31200987100601196, -0.3861905634403229, 0.23623643815517426, 0.36801156401634216, 0.10341653972864151 ]
http://arxiv.org/abs/2402.18571v3
http://arxiv.org/pdf/2402.18571v3
Arithmetic Control of LLMs for Diverse User Preferences: Directional Preference Alignment with Multi-Objective Rewards
2024-02-28T18:58:25
2024-03-06T08:07:02
Haoxiang Wang, Yong Lin, Wei Xiong, Rui Yang, Shizhe Diao, Shuang Qiu, Han Zhao, Tong Zhang
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Fine-grained control over large language models (LLMs) remains a significant challenge, hindering their adaptability to diverse user needs. While Reinforcement Learning from Human Feedback (RLHF) shows promise in aligning LLMs, its reliance on scalar rewards often limits its ability to capture diverse user preferences in real-world applications. To address this limitation, we introduce the Directional Preference Alignment (DPA) framework. Unlike the scalar-reward RLHF, DPA incorporates multi-objective reward modeling to represent diverse preference profiles. Additionally, DPA models user preferences as directions (i.e., unit vectors) in the reward space to achieve user-dependent preference control. Our method involves training a multi-objective reward model and then fine-tuning the LLM with a preference-conditioned variant of Rejection Sampling Finetuning (RSF), an RLHF method adopted by Llama 2. This method enjoys a better performance trade-off across various reward objectives. In comparison with the scalar-reward RLHF, DPA offers users intuitive control over LLM generation: they can arithmetically specify their desired trade-offs (e.g., more helpfulness with less verbosity). We also validate the effectiveness of DPA with real-world alignment experiments on Mistral-7B. Our method provides straightforward arithmetic control over the trade-off between helpfulness and verbosity while maintaining competitive performance with strong baselines such as Direct Preference Optimization (DPO).
[ -0.44407421350479126, -0.5061163902282715, 0.5042411088943481, 0.3094812035560608, -0.10687193274497986, 0.15560373663902283, -0.2592938542366028, -0.2345106303691864, 0.25558602809906006, 0.3445334732532501, -0.6891573667526245, -0.40432432293891907, -0.6922640800476074, 0.18464425206184387, 0.2511923313140869, 0.8486647009849548, -0.15153296291828156, 0.048721086233854294, -0.22813251614570618, -0.37380099296569824, -0.5218137502670288, -0.6162484884262085, -0.5731569528579712, -0.48888111114501953, 0.9415653944015503, 0.8080954551696777, 0.7506168484687805, 0.6518909931182861, 0.6163690090179443, 0.3367752730846405, -0.05411411449313164, 0.4309157133102417, -0.6326454281806946, 0.004746092017740011, -0.1514255702495575, -0.5089499354362488, -0.5124515295028687, -0.11000733822584152, 0.47818395495414734, 0.42021888494491577, -0.588592529296875, -0.009378548711538315, -0.14236249029636383, 1.0751248598098755, -0.6564354300498962, 0.05530061572790146, -0.5845926403999329, 0.08271197974681854, -0.14566713571548462, -0.32317042350769043, -0.2786387503147125, -0.573853075504303, -0.1259467601776123, -0.6815564632415771, -0.3694446086883545, -0.0036969140637665987, 0.5934495329856873, 0.5619167685508728, -0.5084711313247681, -0.41839399933815, -0.6353074312210083, 0.9339011311531067, -0.655345618724823, 0.45479944348335266, 0.32709747552871704, 0.3036889135837555, -0.25933390855789185, -0.2010205090045929, -0.5850130915641785, -0.18106630444526672, 0.046830497682094574, -0.02060592733323574, 0.00572942616418004, 0.138096883893013, 0.09237866848707199, 0.0788995698094368, -0.37678584456443787, 0.4695030152797699, -0.3431006968021393, -0.1724432110786438, 0.6025534272193909, 0.35275715589523315, 0.1178697943687439, 0.028810057789087296, -0.4847092926502228, -0.20514532923698425, -0.8867796063423157, 0.5084770321846008, 0.5139272212982178, 0.3253731429576874, -0.09885790199041367, 0.7727746963500977, -0.4696745276451111, 0.7674010992050171, 0.6045807600021362, -0.570760190486908, 0.320180743932724, -0.03804391622543335, -0.018688909709453583, 0.198174849152565, 0.7645198106765747, 0.4355067014694214, 0.2209262102842331, 0.013532551936805248, -0.44040966033935547, 0.1406889408826828, 0.20789870619773865, -0.8669348955154419, 0.16151952743530273, 0.13608494400978088, -0.27990394830703735, -0.43964508175849915, -0.13803768157958984, -0.5463095903396606, -0.45246919989585876, -0.7867267727851868, 0.29974815249443054, -0.23675738275051117, -0.016465676948428154, 0.23829738795757294, 0.13701292872428894, 0.21169281005859375, 0.3559596836566925, -1.5487267971038818, 0.27488529682159424, 0.8965966105461121, 0.6359914541244507, -0.355215847492218, -0.43210312724113464, -0.8641387224197388, -0.009205876849591732, -0.12759004533290863, 0.6431031823158264, -0.6645316481590271, -0.2742674946784973, -0.12419309467077255, -0.4663269519805908, 0.04236386716365814, -0.6206856966018677, 0.4746743142604828, -0.6976814866065979, 0.14972412586212158, -0.45969417691230774, -0.3134307265281677, -0.14379265904426575, 0.30223914980888367, -0.4368197023868561, 0.7940265536308289, 0.00047881988575682044, -0.5086712837219238, 0.40070629119873047, -0.2620469331741333, -0.20556791126728058, -0.2680157721042633, -0.37294670939445496, -0.39109185338020325, 0.21642982959747314, 0.26734644174575806, 0.26097455620765686, 0.031531862914562225, 0.3636758327484131, -0.5153403878211975, -0.32064804434776306, 0.3943536579608917, -0.34808358550071716, 0.44601625204086304, 0.231242373585701, -0.3730565905570984, 0.476485013961792, -0.7946252226829529, -0.1596093624830246, -0.10853218287229538, -0.5701121687889099, -0.31047338247299194, 0.12291654944419861, -0.29659557342529297, 0.40597274899482727, 0.37130680680274963, -0.40001899003982544, 0.42368462681770325, -0.2940518856048584, 0.23318128287792206, 1.1222941875457764, -0.3272179663181305, 0.6091715693473816, -0.4206605553627014, 0.5253800749778748, 0.03598460555076599, 0.06097661331295967, 0.3595554530620575, -0.17293167114257812, -0.6495446562767029, -0.46655476093292236, 0.11713801324367523, 0.4966323673725128, -0.6433480978012085, 0.521986186504364, -0.2278430312871933, -0.14412572979927063, -0.4544139802455902, 0.3833736479282379, 0.36971279978752136, 0.5756227970123291, 0.2732534408569336, -0.31822311878204346, -0.21604523062705994, -0.9156349301338196, 0.047045864164829254, -0.19482733309268951, 0.011454753577709198, 0.531438410282135, -0.11883580684661865, -0.18417194485664368, 0.8883440494537354, -0.5393471121788025, -0.466562420129776, -0.24213963747024536, 0.18228186666965485, 0.12959960103034973, 0.24354124069213867, 0.42109444737434387, -0.7608146071434021, -0.4359045922756195, 0.0013610584428533912, -0.3671484589576721, -0.3808937072753906, -0.11678818613290787, -0.24227946996688843, 0.2262316346168518, 0.032251156866550446, -0.5544179677963257, 0.037735436111688614, 0.7278299331665039, -0.4462698698043823, 0.3701171278953552, -0.12167929112911224, 0.20308344066143036, -0.6725342869758606, -0.0952061340212822, 0.05075393244624138, -0.34709885716438293, -0.4523647427558899, -0.12278033047914505, 0.22773675620555878, 0.29511332511901855, -0.5778793096542358, 0.48585060238838196, -0.1002376526594162, -0.08339009433984756, -0.42208629846572876, -0.05069189518690109, -0.06829972565174103, 0.9202129244804382, 0.25329577922821045, 0.7995657324790955, 0.17354753613471985, -0.6469348669052124, 0.26455944776535034, 0.25650861859321594, 0.1063053160905838, 0.8000814914703369, -0.6287181973457336, 0.014020122587680817, -0.18374980986118317, 0.2048777937889099, -0.7682153582572937, 0.007746533956378698, 0.464287668466568, -0.3591223657131195, 0.3514021039009094, -0.0045392150059342384, -0.029413066804409027, 0.16128259897232056, -0.5294067859649658, 0.4393220543861389, 0.41297852993011475, -0.7426071166992188, 0.6100475192070007, 0.3789004981517792, -0.3687015175819397, -0.8736807703971863, -0.2792356014251709, -0.21486619114875793, -0.44271349906921387, -0.35889652371406555, 0.347013920545578, -0.2118297964334488, -0.3119042217731476, -0.3571386933326721, -0.21569837629795074, 0.2593846619129181, 0.11197874695062637, 0.37898361682891846, 0.3929367661476135, 0.09847745299339294, -0.03189786151051521, 0.2239239364862442, -0.2977803349494934, -0.05162807181477547, -0.22012959420681, 0.4932175874710083, -0.2083023190498352, -0.47719213366508484, -0.38269755244255066, 0.04431799799203873, 0.3935104310512543, -0.31463149189949036, 0.36676225066185, 0.5552834868431091, 0.041940465569496155, -0.052177783101797104, -0.5402768850326538, -0.19686764478683472, -0.5340038537979126, 0.3120793104171753, -0.42500782012939453, -0.9285419583320618, 0.24487200379371643, 0.1362384706735611, 0.19624583423137665, 0.30113136768341064, 0.8127821683883667, 0.012159988284111023, 1.1475579738616943, 0.5365107655525208, -0.246186763048172, 0.6602376699447632, 0.05903136357665062, -0.16072332859039307, -0.7127045392990112, -0.24977348744869232, -0.47124937176704407, -0.6868891716003418, -0.5267276167869568, -0.20497368276119232, 0.28030678629875183, 0.11565589159727097, -0.46739840507507324, -0.058722879737615585, -0.49190255999565125, 0.5043102502822876, 0.5855132341384888, 0.18636685609817505, 0.37225738167762756, 0.13162176311016083, -0.027202090248465538, -0.14949986338615417, -0.4796483516693115, -0.3976099193096161, 0.9824215173721313, 0.43556687235832214, 1.1395143270492554, 0.33853867650032043, 0.9414304494857788, 0.1913749873638153, 0.2752629220485687, -0.8826979398727417, 0.3594117760658264, -0.21470171213150024, -0.050568439066410065, -0.4524144232273102, -0.6416898965835571, -0.6423336863517761, 0.39440611004829407, -0.12351121008396149, -0.5717385411262512, 0.41904327273368835, 0.44356197118759155, -0.4676315188407898, 0.11474667489528656, -0.49743327498435974, 0.5260968804359436, -0.6587320566177368, -0.48957568407058716, -0.3681480586528778, -0.5950244665145874, 0.32264336943626404, 0.15447930991649628, 0.08854449540376663, -0.4073411524295807, -0.13579732179641724, 0.462995707988739, -0.20166544616222382, 0.8885847926139832, -0.2628600299358368, -0.2564391493797302, -0.15288490056991577, 0.10141558200120926, 0.6846274733543396, 0.2031897008419037, -0.06234071031212807, 0.23509624600410461, -0.22869972884655, -0.246159166097641, -0.471983939409256, 0.9299309849739075, -1.0452766418457031, -0.6454359292984009, -0.5104597806930542, -0.5962059497833252, -0.3300603926181793, 0.2372048795223236, -0.1048394963145256, 0.36108866333961487, -0.04881332814693451, -0.09662137925624847, 0.7190258502960205, -0.05730501934885979, 0.24240808188915253, 0.6016309261322021, -0.3840486407279968, -0.6929698586463928, 1.0807404518127441, -0.24394875764846802, 0.39321067929267883, 0.7864596247673035, 0.4162490963935852, -0.568252444267273, -0.5200900435447693, -0.86751389503479, 0.12251311540603638, -0.5648890733718872, -0.1886945217847824, -0.32607269287109375, 0.19980841875076294, -0.15085740387439728, -0.2621142864227295, -0.36967337131500244, -0.5647531747817993, -0.4491559565067291, -0.08775056153535843, 0.22446632385253906, 0.7498390674591064, -0.11543334275484085, 0.17251725494861603, -0.6575100421905518, 0.540665864944458, 0.4795944392681122, 0.5007506012916565, -0.15807388722896576, -0.5454211831092834, -0.015140551142394543, 0.15787020325660706, -0.47869807481765747, -0.6611917614936829, 0.43346986174583435, 0.017566127702593803, 0.36035653948783875, 0.44764676690101624, -0.08003497123718262, 0.6202471852302551, -0.4927869141101837, 0.4075145423412323, 0.5042335987091064, -0.7760156393051147, 0.04522686451673508, -0.15863363444805145, 0.22856560349464417, 0.7595090270042419, 0.3249073922634125, -0.5106335878372192, -0.08091799169778824, -0.11703173816204071, -0.6535657048225403, 0.8614295125007629, -0.23707640171051025, -0.07176889479160309, 0.28815117478370667, 0.33652645349502563, 0.22134575247764587, 0.22707615792751312, -0.7715421915054321, -0.33635810017585754, -0.30802667140960693, -0.48952046036720276, -0.14108946919441223, -0.30115002393722534, -0.4200786352157593, 0.00800548680126667, 0.5580363869667053, -0.34413304924964905, -0.1712615191936493, 0.028620079159736633, -0.03476812317967415, -0.30304741859436035, 0.3484137952327728, 0.8782697319984436, 0.7212715744972229, -0.3013422191143036, 0.20309330523014069, -0.003981732297688723, -0.27869755029678345, 0.5322481989860535, 0.1275724470615387, -0.28072288632392883, -0.4460138976573944, -0.1281035840511322, 0.9963605403900146, 0.242102712392807, -0.5587126612663269, 0.30605387687683105, -0.2103346586227417, -0.2697199583053589, 0.04960783198475838, 0.2808569073677063, 0.1703246533870697, 0.16962754726409912, 0.14012885093688965, 0.06499651819467545, 0.11797749996185303, -0.1364319920539856, -0.13778482377529144, 0.6185941100120544, -0.49481382966041565, -0.2922554910182953, 0.4978967308998108, 0.29846516251564026, -0.1920321136713028, 0.42795124650001526, -0.2047150731086731, -0.355333149433136, 0.47801315784454346, 0.4290415346622467, 0.7868561148643494, -0.010663232766091824, 0.26158565282821655, 0.15584339201450348, 0.10057473927736282, -0.04390003904700279, 0.21729040145874023, -0.1730160415172577, -0.7866163849830627, -0.28842100501060486, -0.7350682020187378, -0.6291376948356628, -0.28120431303977966, -0.5663653612136841, 0.19945935904979706, -0.406391978263855, -0.04755152761936188, 0.09654249995946884, -0.055450960993766785, -0.4803052544593811, -0.0768338143825531, 0.399554580450058, 0.6247388124465942, -0.6229753494262695, 0.8797225952148438, 0.6303926110267639, -0.38983219861984253, -0.7762553095817566, -0.18197490274906158, 0.31482115387916565, -0.9493051171302795, 0.7368891835212708, 0.12005733698606491, -0.4591990113258362, -0.06926212459802628, -0.20777668058872223, -0.8276368975639343, 1.136818289756775, 0.28843966126441956, -0.8771344423294067, 0.14729520678520203, 0.32989370822906494, 0.40516945719718933, -0.30137577652931213, 0.21022191643714905, 0.5771194696426392, 0.5397995114326477, 0.3317989706993103, -0.7440778613090515, 0.005089078564196825, 0.11696149408817291, -0.03431575372815132, 0.4014360010623932, -0.8520092964172363, 0.5469975471496582, -0.3680688440799713, 0.01744004525244236, -0.11859121918678284, 0.6454803347587585, 0.7233513593673706, 0.3044644296169281, 0.663851261138916, 0.7642704248428345, 0.5874767899513245, 0.031817175447940826, 0.8073387145996094, -0.20957531034946442, 0.14896012842655182, 0.9595843553543091, -0.4564869999885559, 0.8564333319664001, 0.8328375220298767, -0.3024502992630005, 0.44586774706840515, 0.6323887705802917, 0.545352578163147, 0.6655316352844238, 0.18131855130195618, -0.19933117926120758, -0.17321114242076874, -0.03363465517759323, -0.26627880334854126, 0.2946576476097107, 0.18530753254890442, 0.16658832132816315, 0.02328619360923767, -0.31944066286087036, -0.07998798787593842, 0.13635027408599854, -0.3566552400588989, 1.0556228160858154, 0.0516720749437809, -0.9590949416160583, 0.6911258697509766, 0.21653223037719727, 0.9713058471679688, -0.9007922410964966, -0.0042457361705601215, -0.46358445286750793, 0.4136389493942261, -0.3459808826446533, -0.6629979014396667, 0.046246808022260666, -0.05516829714179039, -0.2713422477245331, -0.15162311494350433, 0.4761750400066376, -0.752679169178009, -0.3806612193584442, 0.04917113482952118, 0.1866755187511444, -0.3958367705345154, 0.12441641092300415, -0.669378399848938, 0.14202459156513214, 0.2419603317975998, -0.31129515171051025, 0.6626812219619751, 0.30763450264930725, -0.16702884435653687, 0.6536464691162109, 0.7387648224830627, 0.19934456050395966, 0.02816179022192955, 0.11600639671087265, 0.8298779726028442, -0.655451774597168, -0.5263156294822693, -0.9451096653938293, 0.21493177115917206, 0.2427690476179123, -0.34941986203193665, 0.5540986657142639, 0.3152952790260315, 0.7979833483695984, 0.034352660179138184, 0.5665967464447021, 0.12041638046503067, 0.212676003575325, -0.6187870502471924, 0.2241964340209961, -0.5928896069526672, 0.36927831172943115, 0.09024660289287567, -0.7994584441184998, -0.2355850338935852, 0.47987547516822815, -0.13967809081077576, -0.14215226471424103, 0.3011193871498108, 0.8542535305023193, -0.17692255973815918, -0.3257239758968353, 0.16622762382030487, -0.18422169983386993, 0.4806329011917114, 0.6934806108474731, 0.8961724042892456, 0.36650487780570984, 0.38433998823165894, -0.4829102158546448, -0.5008520483970642, -0.264996200799942, -0.9567301273345947, -0.48370328545570374, -0.053557515144348145, -0.008236105553805828, -0.14104774594306946, -0.040624137967824936, 1.3708440065383911, 0.6226208806037903, -0.9376529455184937, -0.5069693922996521, -0.026307065039873123, 0.4410105347633362, -0.3643834888935089, -0.1607804000377655, 0.21421901881694794, -0.5610209107398987, -0.8492959141731262, 0.2960219383239746, 0.534997284412384, -0.09407185018062592, -0.47497814893722534, -0.7185836434364319, -0.0015135797439143062, 0.0262858085334301, 0.489279180765152, 0.5202748775482178, -0.8338479399681091, -0.11813446879386902, 0.0441787987947464, -0.3742161989212036, 0.24037757515907288, 0.8386310338973999, -0.6090852618217468, 0.4158276617527008, 0.6085227131843567, 0.7862488627433777, 0.2793079912662506, 0.34063419699668884, 0.6158673763275146, -0.5573854446411133, 0.13226138055324554, 0.0010525926481932402, 0.3124801814556122, 0.20672565698623657, -0.44042328000068665, 0.20663122832775116, -0.12256132066249847, -0.800615131855011, -0.45554789900779724, 0.28631892800331116, -1.141823172569275, -0.05573219433426857, 1.4019451141357422, 0.05548015609383583, 0.027160873636603355, 0.24621908366680145, -0.5222248435020447, -0.1091657355427742, -0.8108473420143127, 1.0329725742340088, 0.4664962887763977, -0.3068063259124756, 0.14452911913394928, 0.018594985827803612, 0.6310256123542786, 0.6982346177101135, -0.7084947824478149, 0.03947680443525314, 0.8870484232902527, 0.19748486578464508, -0.10758063197135925, 0.7955169081687927, -0.009006435051560402, 0.31695556640625, -0.6033452749252319, 0.2735157310962677, -0.3854317367076874, -0.4672429859638214, -0.6911842226982117, 0.10504157096147537, 0.5519565939903259, -0.22283490002155304 ]
http://arxiv.org/abs/2402.18563v1
http://arxiv.org/pdf/2402.18563v1
Approaching Human-Level Forecasting with Language Models
2024-02-28T18:54:18
2024-02-28T18:54:18
Danny Halawi, Fred Zhang, Chen Yueh-Han, Jacob Steinhardt
cs.LG
cs.LG, cs.AI, cs.CL, cs.IR
Forecasting future events is important for policy and decision making. In this work, we study whether language models (LMs) can forecast at the level of competitive human forecasters. Towards this goal, we develop a retrieval-augmented LM system designed to automatically search for relevant information, generate forecasts, and aggregate predictions. To facilitate our study, we collect a large dataset of questions from competitive forecasting platforms. Under a test set published after the knowledge cut-offs of our LMs, we evaluate the end-to-end performance of our system against the aggregates of human forecasts. On average, the system nears the crowd aggregate of competitive forecasters, and in some settings surpasses it. Our work suggests that using LMs to forecast the future could provide accurate predictions at scale and help to inform institutional decision making.
[ -0.2980539798736572, -0.39882218837738037, 0.5002648830413818, 0.022411158308386803, 0.1446165293455124, 0.3132701814174652, -0.22062940895557404, -0.9362351894378662, 0.22755765914916992, 0.5428366661071777, -0.4033336043357849, -0.19486932456493378, -0.32396647334098816, -0.07815837115049362, -0.749943733215332, 0.42452844977378845, 0.3075675666332245, 0.06176958605647087, -0.23143625259399414, 0.34005188941955566, -0.5292797088623047, -0.8517765998840332, -0.9068211913108826, -0.6122609376907349, 0.4838804304599762, 0.37424057722091675, 0.9870269894599915, 0.6117483973503113, 0.26445654034614563, 0.3344312310218811, -0.21116076409816742, 0.009614492766559124, -0.3950433135032654, 0.3737189471721649, -0.23934373259544373, -0.41563087701797485, -0.46339377760887146, 0.192590594291687, 0.7004181742668152, 0.7921860218048096, -0.4564618170261383, 0.1501474529504776, 0.00839011650532484, 0.5291619300842285, -0.5207293629646301, 0.31362661719322205, -0.861734926700592, 0.061002250760793686, -0.13246870040893555, -0.02218915894627571, -0.5017808079719543, -0.1584520787000656, 0.5631843209266663, -0.3080972731113434, 0.10787796229124069, 0.5736863613128662, 0.7318586707115173, -0.1463594138622284, -0.23700504004955292, -0.08555001765489578, -0.6372557878494263, 0.8474828600883484, -0.6503946185112, 0.6654091477394104, 0.5866844058036804, 0.606484055519104, -0.3047184646129608, -0.7327757477760315, -0.35853391885757446, -0.11944327503442764, 0.05507587641477585, 0.14558736979961395, -0.12853281199932098, -0.16252034902572632, -0.17903755605220795, -0.05412650853395462, -0.5718625783920288, 0.17283087968826294, -0.3562818765640259, 0.03528541699051857, 0.7623510956764221, 0.5118438005447388, 0.34155330061912537, -0.1150297224521637, -0.24068109691143036, 0.0404883436858654, -0.6071211695671082, -0.05616919696331024, 0.10996967554092407, 0.5639051198959351, 0.13834722340106964, 0.3087349534034729, -0.30637821555137634, 0.7403104901313782, -0.13030630350112915, -0.03694296255707741, -0.10615284740924835, -0.0730423554778099, -0.10361573845148087, -0.02820230834186077, 0.628410279750824, 0.5436671376228333, 0.44481658935546875, -0.42015084624290466, -0.5208466053009033, -0.14140591025352478, 0.09403907507658005, -0.5555320382118225, -0.17717227339744568, 0.17876316606998444, -0.3465862572193146, -0.4040932357311249, -0.1740652322769165, -1.016717553138733, -0.6725108027458191, -0.3550184369087219, 0.44747984409332275, -0.011842072941362858, -0.20696139335632324, 0.21273133158683777, -0.1965072602033615, -0.09401025623083115, 0.1847754269838333, -0.9229647517204285, 0.4853758215904236, 0.5282618999481201, 0.675420343875885, -0.12519925832748413, -0.307395339012146, -0.5524013042449951, 0.08664221316576004, -0.5720359683036804, 0.9368374347686768, -0.6093739867210388, -0.5985127687454224, 0.21773692965507507, -0.20559559762477875, 0.1107349693775177, -0.8120599389076233, 0.3457757234573364, -0.8277795910835266, 0.3412911593914032, -0.09697936475276947, -0.43003350496292114, 0.2082749456167221, 0.18167641758918762, -0.6522234678268433, 0.7966328859329224, -0.11986410617828369, -0.34311822056770325, 0.5618349313735962, -0.4545880854129791, -0.3080926239490509, 0.22790083289146423, -0.12786351144313812, -0.19088837504386902, -0.17007753252983093, 0.431780606508255, 0.5015695095062256, -0.39601725339889526, 0.5483744740486145, -0.31691300868988037, -0.1584886759519577, 0.2818293869495392, -0.3174799680709839, 0.22020137310028076, 0.26708900928497314, 0.004406458232551813, 0.014843965880572796, -0.5129464864730835, -0.026730548590421677, 0.11612767726182938, -0.4340207874774933, -0.19160833954811096, 0.7754613161087036, 0.016031086444854736, 0.40976858139038086, 0.4658261835575104, -0.4275248944759369, 0.13867463171482086, -0.49274709820747375, 0.26154428720474243, 0.9733271598815918, -0.2331567108631134, 0.870359480381012, -0.3910141885280609, 0.8129310011863708, -0.17628701031208038, 0.2516837418079376, -0.06860993802547455, -0.6006008386611938, -0.535986065864563, 0.29676327109336853, 0.19166482985019684, 0.5781070590019226, -0.6841965913772583, 0.06971371173858643, -0.32593995332717896, -0.5477414131164551, -0.21956923604011536, -0.21357515454292297, 0.07265783101320267, 0.4254586398601532, 0.21610470116138458, 0.24402818083763123, -0.8660976886749268, -0.4699498414993286, -0.7502201795578003, -0.3373943567276001, 0.034532979130744934, 0.4224165976047516, 0.17386560142040253, -0.1352708488702774, 1.1177276372909546, -0.4789911210536957, -0.1485872119665146, -0.4200829863548279, 0.18781280517578125, 0.3376255929470062, 0.02192925661802292, 0.3311287462711334, -0.8169296383857727, -0.4103246331214905, -0.08919360488653183, -0.5267683267593384, -0.05521950498223305, 0.15034355223178864, 0.043072547763586044, 0.2170032262802124, 0.30920860171318054, -0.04166578873991966, 0.07882258296012878, 0.7384538650512695, -0.6467524766921997, 0.5666722655296326, -0.183478444814682, -0.1781550794839859, -0.9820733666419983, -0.2124495655298233, 0.20783640444278717, -0.42981863021850586, -0.6582276225090027, -0.245267853140831, -0.13508297502994537, -0.3201281726360321, -0.24113918840885162, 1.152440071105957, -0.4398204982280731, -0.39402031898498535, -0.18117016553878784, 0.3200010061264038, -0.16900314390659332, -0.13617464900016785, 0.4090435802936554, 0.9610264301300049, 0.37817999720573425, -0.5187116861343384, 0.08705555647611618, -0.13816794753074646, -0.8439483642578125, 0.07669578492641449, -0.5737894773483276, -0.1516694873571396, -0.06454197317361832, 0.1859622746706009, -0.36553484201431274, -0.3260815441608429, -0.3344130516052246, -0.6164824366569519, 0.02645258791744709, 0.08371121436357498, -0.3973081409931183, -0.6859229207038879, 0.21381209790706635, 0.11815329641103745, 0.6814326047897339, -0.42588043212890625, 0.701654314994812, 0.9490500092506409, -0.43641752004623413, -0.7113773822784424, -0.5055418610572815, 0.32593414187431335, -0.10997200757265091, -0.44215282797813416, 0.04818865656852722, 0.07484301179647446, -0.5616825819015503, -0.1961984783411026, 0.2802715301513672, -0.10413625836372375, 0.2409956008195877, 0.08526196330785751, 0.5663331151008606, -0.006430035922676325, 0.03537743538618088, -0.4365882873535156, 0.007547407411038876, 0.1388729065656662, -0.5590820908546448, 0.6176954507827759, -0.07071597874164581, -0.09659239649772644, -0.1742013841867447, 0.15569481253623962, 0.40827691555023193, -0.32971009612083435, 0.8521860837936401, 0.262140154838562, -0.6909421682357788, 0.00031272723572328687, -0.7505283355712891, -0.14145076274871826, -0.4824693202972412, 0.6280087828636169, -0.25361213088035583, -0.6787529587745667, 0.7307456731796265, 0.05888216197490692, 0.06391526013612747, 0.4680953323841095, 0.5653403401374817, -0.17628365755081177, 1.65421724319458, 0.507355272769928, -0.4626629054546356, 0.6690711975097656, -0.18533076345920563, 0.03797195106744766, -0.49998584389686584, -0.5125676989555359, -0.5723048448562622, -0.2806234061717987, -0.3025725185871124, -0.46676039695739746, 0.4896746575832367, 0.11280003935098648, -0.2977939546108246, 0.23769435286521912, -0.14379726350307465, 0.6381040811538696, 0.5338656902313232, -0.1454795002937317, 0.1943211406469345, -0.07724727690219879, -0.030130522325634956, -0.00611990736797452, -0.6817394495010376, -0.6474401950836182, 0.8579554557800293, 0.298536092042923, 0.9515159726142883, -0.14467138051986694, 0.6762022376060486, 0.36400076746940613, 0.6108132004737854, -0.4425966739654541, 0.4344606399536133, -0.15116702020168304, -0.8406228423118591, -0.6489631533622742, -0.5537440180778503, -1.0632359981536865, 0.32703182101249695, -0.3149697184562683, -0.9301817417144775, 0.5690354108810425, 0.022410986945033073, -0.3822574019432068, 0.4531361162662506, -0.42521628737449646, 0.510870099067688, -0.22408512234687805, -0.04800529405474663, -0.35120636224746704, -0.4858987331390381, -0.07921119034290314, -0.006374914664775133, 0.8682623505592346, -0.4508221745491028, -0.29046669602394104, 0.9632563591003418, -0.06782945990562439, 0.6424315571784973, -0.10589980334043503, -0.024074098095297813, 0.21563725173473358, 0.19631607830524445, 0.4736792743206024, -0.15228167176246643, -0.7894662618637085, -0.12517307698726654, 0.07480131834745407, -0.3849676847457886, -0.3826427757740021, 0.6716557741165161, -0.9772704243659973, -0.5355944633483887, -0.35295963287353516, -0.5132684707641602, -0.25974041223526, 0.11730418354272842, 0.07996430993080139, 0.6555149555206299, -0.45844516158103943, -0.06382905691862106, 0.15244007110595703, -0.06715478748083115, 0.4264070987701416, 0.8079923987388611, -0.6133939027786255, -0.33322325348854065, 1.1571455001831055, 0.3310539126396179, 0.1471925973892212, 0.4720345437526703, 0.3802788257598877, -0.522059977054596, -0.40173009037971497, -0.42703524231910706, -0.006715948693454266, -0.5206870436668396, -0.29024043679237366, -0.37583738565444946, -0.045447591692209244, -0.564213216304779, -0.16048209369182587, -0.24500888586044312, -0.21822860836982727, -0.40342414379119873, -0.014630178920924664, -0.08585821092128754, 1.1333531141281128, -0.021640656515955925, 0.048752788454294205, -0.8282528519630432, 0.01929224282503128, 0.13236649334430695, 0.4847031831741333, 0.1947629153728485, -0.5119926333427429, -0.639274537563324, 0.11356057971715927, -0.20598773658275604, -0.8143821954727173, 1.0633636713027954, 0.2384442687034607, 0.6488814949989319, 0.30576232075691223, 0.05262291058897972, 0.5191091895103455, -0.6664755940437317, 0.8805067539215088, 0.14967362582683563, -0.7643498778343201, 0.5266668796539307, -0.5104414820671082, 0.16036055982112885, 0.21228861808776855, 0.3289637863636017, -0.9933429956436157, -0.4125330150127411, -0.45299819111824036, -0.9216912388801575, 0.7836425304412842, -0.29991787672042847, 0.17798283696174622, -0.3660840094089508, 0.16123098134994507, -0.12811394035816193, 0.08660809695720673, -0.41692084074020386, -0.18314872682094574, 0.18374216556549072, 0.02291700802743435, -0.4452648460865021, -0.32277530431747437, 0.3773995637893677, -0.1779608428478241, 0.6745233535766602, 0.08127402514219284, 0.008652566000819206, -0.09644892811775208, 0.2023007720708847, -0.5740141272544861, 0.31051260232925415, 0.3268449008464813, 0.9638442397117615, -0.36201292276382446, -0.20584441721439362, 0.39553722739219666, -0.040557652711868286, 0.05521286278963089, 0.18784916400909424, 0.07272904366254807, 0.04736649990081787, 0.23495906591415405, 0.5237305760383606, 0.26544809341430664, -1.1070551872253418, 0.3243832290172577, -0.1302482634782791, -0.04411505535244942, -0.5210235714912415, -0.25340938568115234, 0.30527836084365845, 0.5054025053977966, 0.7949660420417786, -0.13521191477775574, 0.1311037838459015, -0.842131495475769, 0.05010615289211273, 0.3177856206893921, -0.35518142580986023, -0.2545900046825409, 1.0272715091705322, 0.3981471359729767, -0.5246052145957947, 0.6042501330375671, 0.15117321908473969, -0.7362391948699951, 0.6152929663658142, 0.5610253214836121, 0.4980500042438507, -0.5090538859367371, -0.08368503302335739, 0.2232971340417862, 0.004262229893356562, -0.48051661252975464, 0.40308263897895813, 0.5300890207290649, -0.8629501461982727, -0.4843648076057434, -0.9077909588813782, -0.5969567894935608, -0.09906849265098572, -0.6512477397918701, 0.29894182085990906, -0.034063395112752914, -0.478292316198349, -0.21444375813007355, 0.14162670075893402, -0.7850511074066162, 0.41604188084602356, 0.5213126540184021, 1.1386315822601318, -0.667896032333374, 0.6796776056289673, 0.7318091988563538, -0.31690719723701477, -0.673454225063324, -0.2712833881378174, -0.23343874514102936, -0.8446998000144958, 0.7346062064170837, -0.26003777980804443, -0.08962161839008331, -0.07910653948783875, -0.23665715754032135, -1.1172828674316406, 1.1712678670883179, 0.3374379873275757, -0.7847790718078613, -0.5983336567878723, 0.0024540764279663563, 0.49834755063056946, -0.37434521317481995, 0.24461758136749268, 0.5070540308952332, 0.4003833830356598, -0.1699700653553009, -1.2051008939743042, -0.4210509955883026, -0.05032772943377495, -0.08165563642978668, 0.34969285130500793, -0.37255725264549255, 1.0653880834579468, -0.2340860217809677, -0.23312804102897644, 0.22416681051254272, 1.1190673112869263, 0.01650991477072239, 0.41971874237060547, 0.4897208511829376, 0.19569933414459229, 0.8518274426460266, -0.09072040766477585, 1.3548117876052856, -0.5639469027519226, 0.2569299340248108, 1.0812221765518188, -0.40160295367240906, 1.2890846729278564, 0.08430542051792145, -0.2772272527217865, 0.7386608719825745, 0.7686899900436401, 0.37949568033218384, 0.39261505007743835, 0.04961058869957924, -0.32111096382141113, -0.666725218296051, -0.2447250336408615, -0.3430514931678772, 0.3448149263858795, 0.5087995529174805, -0.35101884603500366, -0.07346992194652557, -0.06178443878889084, -0.243550643324852, 0.39063015580177307, -0.5280064940452576, 0.9411699771881104, 0.08724240958690643, -0.812383234500885, 0.38755661249160767, 0.08225346356630325, 0.5550994873046875, -0.18211132287979126, 0.2547312378883362, -0.1617588996887207, 0.3703918159008026, 0.22454559803009033, -0.9486870169639587, 0.07260538637638092, -0.14884406328201294, -0.2114490270614624, -0.3135327100753784, 0.7751473188400269, -0.6504202485084534, -0.5639775395393372, 0.5421489477157593, 0.9402763247489929, 0.14761067926883698, -0.15945343673229218, -0.5339856743812561, -0.21281829476356506, -0.33545470237731934, -0.2656208574771881, 0.59437096118927, 0.14591221511363983, -0.1915213167667389, 1.3325705528259277, 0.34748461842536926, 0.49621346592903137, 0.06512859463691711, 0.1706254631280899, 0.7692296504974365, -0.6487046480178833, -0.5907323360443115, -0.7907154560089111, 0.05368655547499657, -0.04678792133927345, 0.12357811629772186, 0.3176429569721222, 0.6247293949127197, 0.6286519765853882, 0.13415390253067017, 0.8915195465087891, 0.44957679510116577, 0.8905882835388184, -0.1067170575261116, 0.677993655204773, -0.687623143196106, 0.1946796327829361, 0.023100711405277252, -0.5818397998809814, 0.05059231072664261, 0.20591974258422852, -0.607896089553833, -0.0032964053098112345, 0.0707211047410965, 0.5571921467781067, 0.24437758326530457, 0.06434480100870132, 0.5853706002235413, 0.009709054604172707, 0.33477073907852173, 0.1525675654411316, 0.9871509075164795, -0.012875492684543133, 0.7434574365615845, -0.13670606911182404, 0.08419641852378845, -0.34718143939971924, -0.7405616641044617, -0.7143930196762085, -0.6168082356452942, 0.32567542791366577, -0.13797928392887115, 0.5839691162109375, 1.1657086610794067, 0.816633939743042, -0.7881144285202026, -0.8205961585044861, 0.2662239372730255, 0.05084572732448578, 0.059151791036129, -0.2590259611606598, 0.24209247529506683, -0.36172112822532654, -0.8727293610572815, 0.441766619682312, 0.06039294973015785, -0.010690620169043541, -0.431471049785614, -0.24142955243587494, -0.1779170036315918, 0.2374337762594223, 0.6338474750518799, 0.14179657399654388, -0.8692457675933838, -0.18617713451385498, 0.11836118996143341, -0.17246021330356598, -0.3470570743083954, 0.6801226139068604, -1.2178287506103516, 0.45290160179138184, 0.5118862390518188, 0.3384794592857361, 0.06888043135404587, 0.09847958385944366, 1.1323778629302979, -0.6037410497665405, -0.08342494815587997, 0.47494539618492126, 0.5190171599388123, 0.25618958473205566, -0.23777399957180023, 0.40137091279029846, -0.05623304098844528, -0.8230774998664856, -0.6754656434059143, -0.12031371891498566, -0.16630178689956665, -0.19023802876472473, 0.9772902131080627, 0.09704488515853882, -0.09407538175582886, -0.1893693208694458, 0.01782459020614624, 0.16037635505199432, -0.7494094371795654, 0.7906212210655212, 0.6980720162391663, -0.015006042085587978, -0.2707309424877167, -0.6765692234039307, 0.46199068427085876, 0.11619734764099121, -0.5031121373176575, 0.19661012291908264, 0.2915499210357666, 0.05890798941254616, 0.0005392230814322829, 0.6868338584899902, 0.12421050667762756, 0.19391997158527374, -0.19115597009658813, 0.003501059953123331, 0.24343742430210114, -0.39039480686187744, 0.023659884929656982, -0.057993073016405106, 0.37593528628349304, 0.2800225615501404 ]
http://arxiv.org/abs/2402.18551v1
http://arxiv.org/pdf/2402.18551v1
Implicit Bias of Next-Token Prediction
2024-02-28T18:34:53
2024-02-28T18:34:53
Christos Thrampoulidis
cs.LG
cs.LG, cs.CL, stat.ML
Next-token prediction (NTP), the go-to training paradigm in training large language models, involves predicting the next token in a sequence. Departing from traditional one-hot classification, in NTP, multiple tokens with varying frequencies follow each given context. This work frames NTP training as cross-entropy minimization over distinct contexts, each associated with a sparse empirical probability vector across a finite vocabulary. It then addresses the following question: do gradient-based optimizers exhibit a bias towards solutions with specific structure as the NTP training loss reaches its lower bound (entropy)? Specifically, for linear NTP models trained using gradient descent (GD), we make the following contributions: Firstly, we determine NTP-separability conditions on the data, under which GD can attain its lower bound. We also demonstrate that these conditions hold under overparameterization. Secondly, we establish that the parameters of GD projected onto an appropriate data subspace converge to the unique solution of a system of linear equations, which requires the logits' difference of in-support tokens to be equal to the log-ratio of their respective probabilities. Meanwhile, on the orthogonal subspace, the parameters diverge and converge in the direction of the solution of a max-margin quadratic program, minimizing the Euclidean norm of parameters satisfying the \NTP-separability conditions. Akin to prior research on implicit bias of one-hot classification, our work opens exciting avenues for future research that can lead to better understanding optimization, generalization and robustness principles of models trained with NTP.
[ -0.41202253103256226, -0.354245126247406, 0.3141777813434601, -0.02703694999217987, -0.15156249701976776, -0.11489048600196838, -0.14604200422763824, -0.618289589881897, 0.11773426085710526, 0.056981999427080154, -0.6192790269851685, -0.4546465575695038, -0.5793342590332031, -0.08729672431945801, -0.30214524269104004, 1.0812451839447021, 0.12856265902519226, 0.41627129912376404, -0.09797755628824234, -0.1808120310306549, -0.5126681923866272, -0.6938962936401367, -0.5203583240509033, -0.28459763526916504, 0.28263768553733826, 0.16710224747657776, 0.6082113981246948, 0.595521867275238, 0.06555674970149994, 0.2253120094537735, -0.1445288062095642, -0.3085750937461853, -0.312235951423645, 0.14823992550373077, 0.05323689430952072, -0.8425062894821167, -0.014493281953036785, 0.18624790012836456, 0.6778982877731323, 0.730377197265625, -0.0348445363342762, 0.20730186998844147, 0.10576554387807846, 0.553308367729187, -0.7638123035430908, -0.044092338532209396, -0.8396348357200623, 0.48841622471809387, -0.19018733501434326, -0.3713773190975189, -0.29943111538887024, -0.40076175332069397, 0.3981187343597412, -0.37750136852264404, 0.4823061227798462, 0.08868203312158585, 0.6409618854522705, 0.29631859064102173, -0.3861037790775299, 0.18086104094982147, -0.6415241360664368, 0.8865493535995483, -0.5471336841583252, 0.5773412585258484, 0.36306270956993103, 0.2085433304309845, 0.22498776018619537, -0.5348030924797058, -0.3331475555896759, -0.14796653389930725, 0.24031555652618408, -0.25785115361213684, 0.015066105872392654, 0.13241617381572723, 0.3044000566005707, 0.11260611563920975, -0.44416898488998413, 0.1781529039144516, -0.5146471858024597, -0.2956266403198242, 0.19000212848186493, 0.28531062602996826, -0.028897562995553017, 0.1303442269563675, -0.5868585109710693, 0.23158372938632965, -0.5552886128425598, 0.009300651960074902, 0.41421207785606384, 0.28579217195510864, -0.16041041910648346, 0.31927207112312317, -0.015717780217528343, 0.3452718257904053, 0.30132603645324707, 0.18784241378307343, 0.38732773065567017, -0.24024604260921478, -0.10819738358259201, 0.25651389360427856, 0.36001303791999817, 0.4089391827583313, 0.3049778640270233, -0.28771594166755676, -0.12642474472522736, 0.05260251834988594, 0.013430099003016949, -0.750930905342102, -0.05286218598484993, 0.19927558302879333, -0.5804809331893921, -0.37858644127845764, -0.2353716343641281, -0.5557395219802856, -0.2759099304676056, -0.49016958475112915, 0.010305027477443218, -0.19788691401481628, -0.11621297150850296, -0.008348692208528519, -0.24522726237773895, 0.09858408570289612, 0.10789351165294647, -0.9239886403083801, 0.3364488482475281, 0.6950103640556335, 1.2221579551696777, -0.20665553212165833, -0.3079076111316681, -0.5236296057701111, -0.033626534044742584, -0.5277039408683777, 0.5086630582809448, -0.7762024402618408, -0.2355378419160843, 0.24705736339092255, -0.3759608566761017, -0.014794775284826756, -0.27682191133499146, 0.38287198543548584, -0.5616235733032227, 0.3090207278728485, -0.5219134092330933, -0.3604598343372345, 0.08323335647583008, 0.22555269300937653, -0.48251232504844666, 0.9375895261764526, -0.020132068544626236, -1.2069923877716064, 0.8677315711975098, -0.43686363101005554, -0.09231962263584137, -0.24456346035003662, -0.2930142879486084, -0.1491713523864746, 0.4066529870033264, 0.12176179885864258, 0.26565930247306824, -0.41591745615005493, 0.06553208827972412, -0.7522229552268982, -0.09903916716575623, 0.056801751255989075, -0.5342246294021606, 0.7448402643203735, -0.004008898977190256, -0.4483726918697357, -0.055131252855062485, -0.7754440307617188, 0.2121800035238266, -0.22022052109241486, -0.3474075198173523, -0.418155312538147, -0.11822356283664703, 0.19456785917282104, 0.5356124043464661, 0.12043380737304688, -0.5822583436965942, 0.1575959175825119, -0.2425103634595871, 0.32000482082366943, 1.2594804763793945, -0.16557280719280243, 0.6065505146980286, -0.07622043043375015, 0.5712755918502808, 0.025563353672623634, 0.27475446462631226, 0.1429358869791031, -0.4962565004825592, -0.4664697051048279, 0.16672435402870178, 0.3168117105960846, 0.3953556716442108, -0.4402886927127838, 0.0645538717508316, -0.08927926421165466, -0.11667505651712418, -0.07954858243465424, -0.11975570023059845, 0.5324403643608093, 0.7124975919723511, 0.38316962122917175, -0.47927966713905334, -0.7253216505050659, -0.7483639717102051, -0.16925059258937836, -0.4070507287979126, 0.20417587459087372, 0.17366716265678406, 0.3381752371788025, -0.13422232866287231, 0.9539697766304016, -0.4931332767009735, -0.3463476002216339, -0.051461879163980484, 0.1409788429737091, 0.20480787754058838, 0.6820046305656433, 0.6718560457229614, -0.6212577819824219, -0.5168450474739075, 0.06100006774067879, -0.464895099401474, -0.023742031306028366, 0.16096416115760803, -0.15847693383693695, 0.5321666598320007, 0.7338637113571167, -0.5113703608512878, 0.497651606798172, 0.2833709716796875, -0.3117130696773529, 0.673312783241272, 0.0680323988199234, -0.5210606455802917, -0.883894681930542, 0.06235244870185852, 0.30629897117614746, -0.055051952600479126, -0.7837424278259277, -0.21529045701026917, -0.43379998207092285, 0.21946729719638824, -0.35463210940361023, 0.6464410424232483, -0.32733848690986633, -0.30117571353912354, -0.17633044719696045, -0.41040992736816406, -0.3216063380241394, 0.6562670469284058, 0.4749245047569275, 0.49515533447265625, 0.7267563939094543, -0.6134180426597595, 0.04558320343494415, 0.0007557301432825625, -0.12007168680429459, 0.48033642768859863, -0.7748825550079346, 0.25246599316596985, -0.3765580654144287, 0.4175068140029907, -0.7993060350418091, 0.29973527789115906, 0.02950037084519863, -0.5697633028030396, 0.4044300615787506, -0.41131287813186646, -0.09949729591608047, -0.10573834180831909, -0.5014091730117798, 0.7251826524734497, 0.40953755378723145, -0.5557594299316406, 0.28381115198135376, 0.29297757148742676, -0.022359803318977356, -1.207567811012268, -0.7759071588516235, -0.1431325525045395, -0.21136751770973206, -0.36050668358802795, 0.21009962260723114, 0.048986900597810745, -0.14380577206611633, -0.062200434505939484, -0.3375979959964752, -0.1451994925737381, -0.1293141394853592, 0.1990097612142563, 0.11500288546085358, -0.3451976776123047, 0.159618079662323, -0.16894599795341492, -0.29300829768180847, 0.300961434841156, -1.052581548690796, 0.8893592357635498, -0.20081837475299835, -0.1470065712928772, -0.2733851373195648, 0.31636688113212585, 0.18799005448818207, 0.06073390319943428, 0.7537114024162292, 0.9322211146354675, -0.4617695212364197, -0.27008315920829773, -0.5556313395500183, -0.17387041449546814, -0.4181562662124634, 0.5926099419593811, -0.2714596390724182, -0.5992975831031799, 0.7285029292106628, 0.35367411375045776, 0.2306075543165207, 0.5354582071304321, 0.6804011464118958, 0.20654599368572235, 1.0757482051849365, 0.7876269221305847, -0.4468853771686554, 0.6953557133674622, -0.5573521256446838, -0.21082642674446106, -0.8686801195144653, -0.4195939898490906, -0.7674455046653748, -0.5467897653579712, -0.6993970274925232, -0.3627927303314209, 0.29011932015419006, -0.20176562666893005, -0.46600958704948425, -0.14079560339450836, -0.30167198181152344, 0.5858700275421143, 0.7799152135848999, -0.0633964091539383, -0.10181726515293121, 0.020269013941287994, -0.44961363077163696, -0.16533252596855164, -0.8366430997848511, 0.13399937748908997, 1.4107625484466553, 0.4498038589954376, 0.6866448521614075, -0.2614741027355194, 0.6060931086540222, 0.38530153036117554, 0.042088501155376434, -0.39593642950057983, 0.31892332434654236, 0.17174048721790314, -0.8542566895484924, -0.35545143485069275, -0.4213621914386749, -0.7431961894035339, 0.34218695759773254, -0.14575812220573425, -1.0219190120697021, 0.6488328576087952, 0.21684721112251282, -0.13688114285469055, 0.4302076995372772, -0.4440148174762726, 0.5988732576370239, -0.03382343798875809, -0.4144251346588135, -0.10122836381196976, -0.9231188893318176, 0.4421260356903076, 0.11304092407226562, -0.08020208030939102, -0.05499880760908127, -0.2528075575828552, 0.7243996858596802, -0.6160789728164673, 0.8980563879013062, -0.5417693257331848, -0.009969152510166168, 0.05927056446671486, -0.04004755616188049, 0.44903355836868286, 0.2629082202911377, -0.058753348886966705, 0.2231944352388382, -0.05923384055495262, -0.5399190783500671, -0.4168141186237335, 0.5472686290740967, -0.8365736603736877, -0.4353153705596924, -0.5629472732543945, -0.33035433292388916, -0.42460179328918457, 0.11009084433317184, 0.5778337121009827, 0.6701104044914246, 0.05003252625465393, 0.0474734865128994, 0.5154313445091248, -0.02485644817352295, 0.5207896828651428, 0.12193991243839264, -0.0551549531519413, -0.23040659725666046, 0.7518240809440613, 0.1494404524564743, 0.3509167730808258, 0.2886677086353302, 0.3270832598209381, -0.5249935984611511, -0.7491437196731567, -0.18978555500507355, -0.06535810232162476, -0.9909262657165527, -0.13071879744529724, -0.47621408104896545, -0.09876591712236404, -0.3590167462825775, -0.07208286225795746, -0.22824786603450775, -0.6526995301246643, -0.19533100724220276, -0.31263887882232666, -0.0009553986019454896, 0.3435537815093994, -0.3673017919063568, 0.038584884256124496, -0.5334043502807617, 0.13585127890110016, 0.15396049618721008, 0.3717353641986847, 0.112007275223732, -0.6025494337081909, -0.38083532452583313, -0.20428653061389923, 0.000796431559138, -0.649631679058075, 0.24659599363803864, 0.3675661087036133, 0.5313757658004761, 0.6623238325119019, -0.05528606101870537, 0.4475211501121521, -0.635041356086731, 0.7693980932235718, 0.4438282251358032, -0.9111954569816589, 0.23925231397151947, -0.18321335315704346, 0.10330035537481308, 0.6028123497962952, 0.46513715386390686, -0.6138801574707031, -0.21553976833820343, -0.6609540581703186, -0.8045961260795593, 0.8394691944122314, -0.13062159717082977, 0.24173134565353394, 0.027330365031957626, 0.34219804406166077, 0.20838312804698944, 0.32916024327278137, -0.6902362108230591, -0.47308558225631714, -0.058205798268318176, 0.17342184484004974, 0.034684937447309494, -0.28184837102890015, 0.02508406713604927, -0.12096735090017319, 0.692907989025116, -0.3600234091281891, 0.458072304725647, 0.0346241258084774, 0.15016457438468933, -0.18348248302936554, -0.11666818708181381, 0.5750598311424255, 0.6342742443084717, -0.30883777141571045, 0.030483359470963478, 0.2910860478878021, -0.5657142400741577, 0.11860227584838867, -0.054640498012304306, -0.2731446623802185, 0.29798999428749084, 0.4610294997692108, 0.9144560694694519, -0.25392642617225647, -0.14365845918655396, 0.5108852386474609, -0.15100140869617462, -0.13274319469928741, -0.288891464471817, -0.1403382122516632, -0.5071566104888916, 0.3475798964500427, 0.6540437340736389, 0.4912053644657135, 0.2910035252571106, -0.5102336406707764, 0.13727855682373047, 0.7623503804206848, -0.5817586183547974, -0.6771618127822876, 0.8857137560844421, 0.10093183815479279, 0.1522657573223114, 0.3471832871437073, -0.021766221150755882, -0.8308245539665222, 0.6328842639923096, 0.45726585388183594, 1.2048076391220093, -0.18858255445957184, 0.17198193073272705, 0.23217682540416718, 0.31787505745887756, -0.12283008545637131, 0.20812970399856567, -0.24478158354759216, -0.7374842762947083, -0.505802571773529, -0.39230138063430786, -0.1682252138853073, 0.05968964844942093, -0.5944452881813049, 0.27283623814582825, -0.690334677696228, -0.36234766244888306, 0.002790612867102027, 0.04183119162917137, -0.7130572199821472, 0.30698150396347046, 0.43134379386901855, 0.840268611907959, -0.8886489868164062, 0.7176903486251831, 0.43888014554977417, -0.1909390389919281, -0.5309473872184753, 0.2416418343782425, 0.07179858535528183, -0.9765948057174683, 1.0094878673553467, 0.12244399636983871, -0.03216565400362015, -0.4548363983631134, -0.628689169883728, -1.0677231550216675, 0.707676351070404, 0.5593779683113098, -0.21900694072246552, -0.5183515548706055, 0.1516098529100418, 0.4494797885417938, -0.1833367645740509, 0.3876834511756897, 0.5254477262496948, 0.20066992938518524, 0.02563438005745411, -0.9222199320793152, 0.002202993258833885, -0.34215712547302246, 0.22692875564098358, 0.25332239270210266, -0.569666862487793, 0.9749780297279358, -0.33950451016426086, -0.003483631880953908, -0.2687567174434662, 0.84136962890625, 0.07568060606718063, 0.46310877799987793, 0.4531627297401428, 0.48452669382095337, 0.6349614262580872, 0.06257341802120209, 1.0090501308441162, -0.4462253153324127, 0.2761440873146057, 0.9605034589767456, -0.03234320506453514, 0.4875451922416687, 0.5912215113639832, -0.31650328636169434, 0.4425692856311798, 0.6887596249580383, 0.3846513330936432, 0.6685143709182739, 0.38090282678604126, -0.052385907620191574, 0.03650198131799698, -0.26461130380630493, -0.7556728720664978, 0.14710906147956848, 0.11039280891418457, -0.362292617559433, -0.10794899612665176, -0.22018153965473175, -0.1703372746706009, -0.33735910058021545, -0.44290679693222046, 0.47218114137649536, 0.044210415333509445, -0.3132430911064148, 0.7140110731124878, 0.10508173704147339, 0.7955542802810669, -0.4042692184448242, 0.25760361552238464, -0.3710136413574219, 0.10714396089315414, -0.31125494837760925, -0.2362654060125351, 0.16360850632190704, -0.22802521288394928, -0.1838313788175583, 0.07981802523136139, 0.5140151381492615, -0.270268976688385, -0.39795249700546265, 0.03326236829161644, 0.2425042986869812, -0.12376092374324799, 0.07857242971658707, -0.5859838128089905, -0.17929355800151825, -0.08598115295171738, -0.40891748666763306, 0.4490787386894226, 0.49632522463798523, -0.15721461176872253, 0.7143988609313965, 0.6411246061325073, 0.29111248254776, 0.6119327545166016, -0.11725412309169769, 0.7979625463485718, -0.3113496005535126, -0.8920589685440063, -1.0137540102005005, 0.12975022196769714, 0.13566415011882782, -0.6328480839729309, 0.4563509225845337, 0.7069379091262817, 0.9736683964729309, 0.07749034464359283, 0.9098663330078125, 0.2581951916217804, 0.17955541610717773, -0.8085167407989502, 0.001475396566092968, -0.4483403265476227, 0.19317109882831573, -0.3465254008769989, -1.1526246070861816, -0.2314390242099762, 0.3501673638820648, -0.2873750329017639, 0.3706790506839752, 0.740860104560852, 0.4395366311073303, 0.07142441719770432, -0.06123685836791992, 0.04667835310101509, -0.15218378603458405, 0.12265586853027344, 0.6494945287704468, 0.7553700804710388, -0.11141292005777359, 0.37552937865257263, -0.17557139694690704, 0.2351260930299759, -0.19951286911964417, -0.748748242855072, -1.0146592855453491, -0.7700356841087341, -0.21510319411754608, -0.5603787302970886, 0.11198104172945023, 1.2635438442230225, 0.923721194267273, -0.7707160115242004, 0.014077221043407917, -0.2922545075416565, 0.149983748793602, -0.12240041792392731, -0.1842316836118698, 0.44385236501693726, -0.5336153507232666, -0.8007764220237732, -0.07181932032108307, 0.11343132704496384, 0.03622543811798096, -0.4294680058956146, -0.1715652048587799, 0.1435888111591339, -0.022748205810785294, 0.2138000726699829, 0.4732123017311096, -0.43695196509361267, -0.11935842782258987, -0.1727423369884491, 0.10032664239406586, 0.13418929278850555, 1.0706284046173096, -0.7756673693656921, 0.1242622509598732, 0.6483523845672607, 0.7511202096939087, 0.696973979473114, -0.07627198100090027, 0.7284259796142578, -1.0981756448745728, 0.4362926483154297, 0.32952752709388733, 0.3552982807159424, -0.001362781273201108, -0.3740483224391937, 0.4691082537174225, 0.37137889862060547, -0.2600756287574768, -1.068334937095642, 0.20172114670276642, -0.41039109230041504, -0.09889820963144302, 1.3351631164550781, 0.13917557895183563, -0.13168737292289734, -0.1969253271818161, 0.048714086413383484, -0.006320194341242313, -0.5860259532928467, 0.6963827013969421, 0.5805804133415222, -0.044357527047395706, -0.04517515376210213, -0.5762481689453125, 0.8538187146186829, 0.587605893611908, -0.4196959137916565, 0.08027754724025726, 0.41464146971702576, 0.1620854139328003, 0.16556775569915771, 0.7995666265487671, 0.15848205983638763, 0.3157816529273987, 0.06027878075838089, -0.15495413541793823, -0.0671219602227211, -0.43530774116516113, -0.5472151637077332, 0.234976127743721, 0.09580495208501816, -0.4285343587398529 ]
http://arxiv.org/abs/2402.18540v1
http://arxiv.org/pdf/2402.18540v1
Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templates
2024-02-28T18:23:49
2024-02-28T18:23:49
Kaifeng Lyu, Haoyu Zhao, Xinran Gu, Dingli Yu, Anirudh Goyal, Sanjeev Arora
cs.LG
cs.LG, cs.AI, cs.CL
Public LLMs such as the Llama 2-Chat have driven huge activity in LLM research. These models underwent alignment training and were considered safe. Recently Qi et al. (2023) reported that even benign fine-tuning (e.g., on seemingly safe datasets) can give rise to unsafe behaviors in the models. The current paper is about methods and best practices to mitigate such loss of alignment. Through extensive experiments on several chat models (Meta's Llama 2-Chat, Mistral AI's Mistral 7B Instruct v0.2, and OpenAI's GPT-3.5 Turbo), this paper uncovers that the prompt templates used during fine-tuning and inference play a crucial role in preserving safety alignment, and proposes the "Pure Tuning, Safe Testing" (PTST) principle -- fine-tune models without a safety prompt, but include it at test time. Fine-tuning experiments on GSM8K, ChatDoctor, and OpenOrca show that PTST significantly reduces the rise of unsafe behaviors, and even almost eliminates them in some cases.
[ -0.37235400080680847, -0.5757179856300354, 0.497618168592453, -0.011663890443742275, -0.5077701807022095, -0.19573424756526947, 0.025548972189426422, -0.29413533210754395, -0.4706338942050934, 0.3774959444999695, -0.5732240080833435, -0.39215970039367676, -0.3924398422241211, -0.07033273577690125, -0.36138227581977844, 1.1941653490066528, -0.19166114926338196, 0.03509221598505974, -0.04162926971912384, -0.11345558613538742, -0.798287034034729, -0.436404287815094, -0.951644778251648, -0.06019821763038635, 0.6194570064544678, 0.34393107891082764, 0.7062849998474121, 1.0588922500610352, 0.41258111596107483, 0.15890035033226013, -0.37917011976242065, 0.3037738502025604, -0.6308102607727051, 0.4327510595321655, -0.1866069883108139, -0.646814227104187, -0.6969402432441711, 0.20805160701274872, 0.3467453122138977, 0.31784549355506897, -0.3140740990638733, -0.020579852163791656, 0.5789703726768494, 0.47837746143341064, -0.6382178664207458, -0.051943350583314896, -0.568636417388916, -0.14715878665447235, -0.30222293734550476, -0.38154107332229614, -0.4311680495738983, -0.6700453758239746, -0.23374885320663452, -0.6512821316719055, -0.0148397795855999, 0.23775753378868103, 0.9186437726020813, 0.6516861319541931, -0.7703682780265808, 0.03268785402178764, -0.6660653352737427, 0.7309162020683289, -0.5319560170173645, 0.14742359519004822, 0.47540101408958435, 0.2801864743232727, -0.6501952409744263, -0.4169835150241852, -0.35943254828453064, 0.11208214610815048, 0.15371358394622803, 0.20518554747104645, -0.15625400841236115, 0.45067107677459717, 0.3386576473712921, 0.12408643960952759, -0.36468306183815, 0.629172146320343, -0.29777172207832336, -0.19983361661434174, 0.4091273546218872, 0.5029961466789246, 0.15413209795951843, 0.1594843715429306, -0.40764620900154114, -0.15631841123104095, -1.3255764245986938, 0.20790636539459229, 0.30361396074295044, 0.30010655522346497, -0.13487234711647034, 0.5690497756004333, -0.1349705159664154, 0.6782841086387634, 0.301326721906662, -0.3730875253677368, -0.1930355429649353, -0.405666708946228, -0.2659093141555786, 0.24698922038078308, 0.545208752155304, 0.8701466917991638, 0.5266345143318176, 0.023592526093125343, -0.3650449216365814, 0.32353129982948303, 0.22452005743980408, -0.485482394695282, 0.03579731658101082, 0.14855296909809113, -0.299698144197464, -0.5904278755187988, -0.008124366402626038, -0.43882277607917786, -0.5774373412132263, -0.6401503086090088, 0.2843915820121765, -0.4141082465648651, -0.12782420217990875, 0.13737545907497406, 0.1194494217634201, 0.5747371315956116, 0.42942526936531067, -0.8628766536712646, 0.21587838232517242, 1.3211346864700317, 0.6450715065002441, -0.14639194309711456, -0.27491238713264465, -0.8915849924087524, 0.23739120364189148, -0.6118276715278625, 0.7815144658088684, -0.06239937245845795, -0.4695269763469696, 0.02842370606958866, 0.03635347634553909, -0.15613462030887604, -0.3362603783607483, 0.7007015347480774, -0.3761451542377472, 0.20172207057476044, -0.4904661178588867, -0.7184514403343201, -0.025020064786076546, 0.3905391991138458, -0.038125403225421906, 0.8239006996154785, -0.3341372013092041, -0.6618183255195618, 0.39625686407089233, -0.28314468264579773, -0.24982808530330658, -0.5199541449546814, -0.06614834070205688, -0.32447290420532227, 0.1970733404159546, 0.28162509202957153, 0.31590551137924194, -0.2224091738462448, 0.30239102244377136, -0.4345792829990387, -0.5317249298095703, 0.2688533663749695, -0.3786064088344574, 0.6930990219116211, 0.3678078055381775, -0.2807571291923523, 0.24290384352207184, -0.40083712339401245, -0.017494317144155502, -0.1964367777109146, -0.2514204978942871, -0.2614131569862366, 0.07420486956834793, -0.3079194724559784, 0.2519908845424652, -0.1889997273683548, -0.4267510771751404, 0.18425622582435608, -0.3179992735385895, 0.42125368118286133, 1.1498241424560547, 0.18697038292884827, 0.4277961254119873, -0.823184072971344, 0.44438841938972473, 0.2355390191078186, 0.4773644804954529, -0.2456892430782318, -0.5380794405937195, -0.8939929008483887, -0.22079943120479584, 0.16770216822624207, 0.7164098024368286, -0.20912602543830872, 0.6326649188995361, 0.01659180037677288, -0.5621834397315979, -0.48453637957572937, 0.10563256591558456, 0.42607197165489197, 0.7328458428382874, -0.010101904161274433, -0.21085689961910248, -0.39045289158821106, -0.7464118003845215, -0.2894096374511719, -0.057722680270671844, -0.05212860554456711, -0.1479065865278244, -0.06701453030109406, -0.16751065850257874, 0.8652558326721191, -0.18129564821720123, 0.10980690270662308, 0.1193084642291069, -0.017523787915706635, 0.04550096020102501, 0.9251211881637573, 0.6312980055809021, -0.40629279613494873, -0.27569425106048584, -0.27674591541290283, -0.5853978395462036, -0.2552049160003662, -0.17957445979118347, -0.40836867690086365, 0.09372500330209732, 0.6268242597579956, -0.7608430981636047, 0.6194941401481628, 0.3017732501029968, -0.35632574558258057, 0.26343899965286255, 0.0997122973203659, 0.022363843396306038, -1.1415009498596191, -0.21791474521160126, -0.04800443351268768, -0.4002973437309265, -0.6561682224273682, -0.08899011462926865, 0.27017608284950256, 0.0169905386865139, -0.5658329129219055, 0.4788217544555664, -0.1458256095647812, 0.1299692988395691, -0.37018850445747375, -0.03740688040852547, 0.03983323276042938, 0.16246336698532104, -0.28989535570144653, 1.1368075609207153, 0.656184732913971, -0.9444687962532043, -0.09083548188209534, 0.44764405488967896, -0.2260291427373886, 0.8318428993225098, -0.7493700981140137, 0.4000517725944519, -0.26129281520843506, 0.10931435227394104, -1.0055501461029053, -0.07519443333148956, 0.39101317524909973, -0.184076726436615, 0.3550301790237427, -0.2577422857284546, -0.5088419914245605, 0.17037786543369293, -0.4117841422557831, 0.17266976833343506, 0.7916316986083984, -0.5147815942764282, 0.03738511726260185, 0.3111516237258911, -0.11938482522964478, -0.45301955938339233, -0.28544706106185913, -0.18114498257637024, -0.6611440777778625, -0.5012331604957581, 0.05796641856431961, -0.09483320266008377, -0.23849862813949585, -0.5136225819587708, -0.43776342272758484, 0.11323986947536469, 0.6626033782958984, 0.5312628746032715, 0.31695762276649475, -0.16740724444389343, 0.005860896315425634, 0.2711433172225952, -0.5176403522491455, -0.0935053899884224, -0.21386712789535522, 0.48278671503067017, -0.15743236243724823, -0.5532884001731873, -0.8644100427627563, 0.161906436085701, 0.5708557367324829, -0.19543707370758057, 0.5603922605514526, 0.40097513794898987, -0.27971553802490234, 0.46614834666252136, -0.6912730932235718, -0.31241023540496826, -0.5073948502540588, -0.1565081924200058, 0.04633130505681038, -0.9461306929588318, 0.45826655626296997, -0.20524731278419495, 0.24133487045764923, 0.19114544987678528, 0.5008624196052551, -0.5570178627967834, 1.1503537893295288, 0.7933884859085083, -0.032078035175800323, 0.6908994317054749, 0.3160049617290497, 0.19327084720134735, -0.8594973087310791, -0.02636696770787239, -0.5670334696769714, -0.41423776745796204, -0.679864764213562, -0.12431634962558746, 0.6044209003448486, 0.357258141040802, -0.8232668042182922, 0.007273340597748756, -0.377268522977829, 0.6327093839645386, 0.6564273834228516, 0.0753801092505455, 0.16555559635162354, -0.05495045706629753, -0.13892871141433716, -0.11308055371046066, -0.5003767013549805, -0.778546929359436, 0.9616934657096863, 0.36459264159202576, 0.9269682168960571, -0.08334862440824509, 0.8353810906410217, -0.3170127868652344, 0.13000205159187317, -0.6882889270782471, 0.46103182435035706, 0.2894929051399231, -0.5434392094612122, -0.06481777876615524, -0.11575502902269363, -0.9620853662490845, -0.05769746005535126, -0.03914282098412514, -0.7555454969406128, 0.24548691511154175, 0.5026971697807312, -0.6213655471801758, 0.19076590240001678, -0.498759001493454, 0.6182564496994019, -0.3286859095096588, -0.25174427032470703, 0.043404895812273026, -0.7732216119766235, 0.4685612618923187, 0.03984322398900986, -0.08804313838481903, -0.38791486620903015, -0.16056892275810242, 0.7431308031082153, -0.21328918635845184, 1.0923051834106445, -0.06485952436923981, -0.16297206282615662, 0.2777347266674042, 0.36511608958244324, 0.7551936507225037, 0.041206296533346176, 0.08781266957521439, -0.10763328522443771, 0.15610897541046143, -0.31678369641304016, -0.5093129277229309, 0.5110717415809631, -0.8304386138916016, -0.8349522948265076, -0.39520102739334106, -0.4449065327644348, -0.37233275175094604, 0.19992265105247498, 0.3703857660293579, 0.17749859392642975, 0.013242246583104134, 0.13529595732688904, 0.9864014387130737, -0.037599481642246246, 0.30179163813591003, 0.3803216814994812, 0.068967305123806, -0.31277722120285034, 0.5180678963661194, -0.17619232833385468, 0.34798845648765564, -0.022428423166275024, 0.2985878586769104, -0.10807278007268906, -0.7256460189819336, -0.13317334651947021, 0.08367735147476196, -0.5814998149871826, -0.6456004977226257, -0.3170021176338196, -0.02643546275794506, -0.443389356136322, -0.22461245954036713, -0.4029073715209961, -0.5547680854797363, -0.43709439039230347, -0.45360395312309265, 0.6031008958816528, 0.5646254420280457, -0.22499796748161316, 0.6818183660507202, -0.8929973840713501, -0.0465833880007267, 0.19247764348983765, 0.320354700088501, -0.21449023485183716, -0.35297736525535583, 0.22196075320243835, -0.019189506769180298, -0.45865875482559204, -0.6116136908531189, 0.1738501936197281, -0.031926944851875305, 0.5300312638282776, 0.7023614645004272, 0.28431928157806396, 0.8811724781990051, -0.43796369433403015, 0.7104251384735107, 0.13181693851947784, -0.7299681901931763, 0.7160043716430664, -0.7812342047691345, 0.057588543742895126, 0.7736647129058838, 0.21392284333705902, -0.817135214805603, -0.34201160073280334, -0.3742222785949707, -0.7246721386909485, 0.4647049307823181, 0.13483519852161407, 0.08260368555784225, -0.06324665248394012, 0.6216626763343811, 0.19195494055747986, 0.3196675777435303, -0.368612140417099, 0.03657529130578041, -0.19408577680587769, -0.41238394379615784, 0.051460593938827515, -0.4378357231616974, -0.7235763072967529, -0.31448787450790405, 0.3577909469604492, -0.10558740794658661, 0.23643897473812103, -0.026616336777806282, 0.06715615838766098, -0.29409581422805786, 0.2812742590904236, 0.8929288983345032, 0.4090717136859894, -0.12067454308271408, 0.10229582339525223, 0.15874789655208588, -0.33646759390830994, 0.4410984516143799, -0.21770250797271729, -0.27802735567092896, -0.6997677683830261, 0.12595106661319733, 0.686086893081665, 0.3465719521045685, -0.28965622186660767, 0.339977502822876, -0.17804120481014252, 0.011786657385528088, -0.06031240150332451, 0.5222668647766113, -0.0216447152197361, 0.10110790282487869, -0.03842475637793541, 0.34277722239494324, -0.326282262802124, -0.24899813532829285, 0.18679484724998474, 0.3510556221008301, -0.44810980558395386, -0.31650418043136597, 0.8584531545639038, 0.2556655704975128, -0.2680325210094452, 0.7531663179397583, 0.022595390677452087, -0.3270699679851532, 0.5329402089118958, 0.546297550201416, 0.8287891745567322, -0.27589091658592224, -0.26676446199417114, 0.13165035843849182, 0.4805639386177063, -0.36049285531044006, 0.29415127635002136, 0.11027747392654419, -0.629622220993042, -0.09017132967710495, -0.2486208826303482, -0.41433411836624146, -0.022552208974957466, -0.825804591178894, 0.3467690050601959, -0.729337751865387, -0.12834139168262482, -0.5033681392669678, -0.20249375700950623, -0.6376116275787354, -0.004023423418402672, 0.13062620162963867, 1.044201135635376, -0.7534602880477905, 0.718146562576294, 0.46045568585395813, 0.05632619932293892, -0.9110032916069031, 0.08291003108024597, 0.565967857837677, -0.960990309715271, 0.2575470209121704, 0.1599600911140442, 0.11927685141563416, -0.021201923489570618, -0.7206178307533264, -1.018398404121399, 1.1999492645263672, 0.5829684734344482, -0.7279907464981079, -0.018339231610298157, 0.014031781814992428, 0.3087434470653534, -0.0417475625872612, -0.06431788206100464, 0.7018257975578308, 0.48251673579216003, -0.04085126519203186, -1.0499664545059204, 0.14831042289733887, 0.06055146083235741, -0.05793745443224907, 0.15482376515865326, -0.7120219469070435, 0.8140076398849487, -0.07202412188053131, -0.26687464118003845, 0.3532598316669464, 0.4879370331764221, 0.5773720741271973, 0.31666746735572815, 0.5150787234306335, 0.592570424079895, 1.0498723983764648, -0.30158135294914246, 0.9498516321182251, -0.39237359166145325, 0.03575648367404938, 0.9621476531028748, -0.36643803119659424, 0.533068835735321, 0.6222860813140869, 0.23008736968040466, -0.18632549047470093, 1.1233004331588745, 0.21100886166095734, 0.6874030232429504, -0.030087074264883995, 0.05223969370126724, -0.4784153997898102, -0.08814815431833267, -0.4965626895427704, 0.4839702248573303, 0.33873623609542847, 0.04869880527257919, -0.2909465730190277, -0.2335122674703598, 0.319620281457901, -0.16341076791286469, -0.25001898407936096, 0.9251077771186829, 0.23436512053012848, -0.709680438041687, 0.5884219408035278, -0.23533029854297638, 0.639232873916626, -0.35616281628608704, 0.2927761375904083, -0.5542957782745361, 0.11894182860851288, -0.017220092937350273, -0.6996773481369019, 0.2902812063694, -0.03247775882482529, 0.10689420253038406, -0.2809726893901825, 0.6742458939552307, -0.0633462518453598, -0.10975578427314758, -0.08931326866149902, 0.43686965107917786, -0.16142021119594574, 0.09137383103370667, -0.5713875889778137, 0.040542759001255035, -0.21757911145687103, -0.34184008836746216, 0.6469687819480896, 0.5418766736984253, -0.2698218524456024, 0.6717480421066284, 0.6094188094139099, -0.11528799682855606, 0.025615382939577103, -0.31591251492500305, 1.033622145652771, -0.663180410861969, -0.5894530415534973, -0.8393123745918274, 0.607214093208313, 0.12082914263010025, -0.4728931486606598, 0.7048643827438354, 0.2929861843585968, 0.5628671050071716, 0.20170487463474274, 0.5426763892173767, 0.44135257601737976, 0.3943163752555847, -0.8136199116706848, 0.8099997043609619, -0.3122725784778595, 0.206364244222641, -0.07828308641910553, -0.6912893056869507, -0.3321942985057831, 0.47289028763771057, -0.1691575050354004, -0.2254890501499176, 0.47716087102890015, 1.0027143955230713, -0.1278148740530014, 0.0683736577630043, 0.18292750418186188, 0.054127249866724014, 0.6769434809684753, 0.3457734286785126, 1.0746921300888062, -0.40469589829444885, 0.5184769630432129, -0.24283745884895325, -0.11369604617357254, -0.21558867394924164, -1.2094756364822388, -0.8231091499328613, -0.3763887286186218, -0.35228806734085083, -0.44103044271469116, 0.17553384602069855, 0.984438955783844, 0.6206178665161133, -0.7242863774299622, -0.08554165810346603, -0.03535936400294304, 0.20213615894317627, -0.34006500244140625, -0.06714320182800293, 0.15326987206935883, -0.4950118660926819, -0.48351091146469116, 0.5089120268821716, 0.2971973121166229, 0.650607168674469, 0.259981244802475, -0.006283772177994251, 0.19122877717018127, -0.0562855489552021, 0.20497310161590576, 0.3879813849925995, -0.5797643065452576, -0.5301482081413269, 0.032445065677165985, -0.34199345111846924, 0.2660905718803406, 0.8730446696281433, -0.5244402289390564, 0.0865386575460434, 0.39346781373023987, 0.49738559126853943, -0.0272649135440588, 0.15572884678840637, 1.0440382957458496, -0.6521872878074646, 0.3903801143169403, 0.22475847601890564, 0.418302983045578, 0.22027871012687683, -0.5333062410354614, 0.5080069899559021, -0.024249477311968803, -0.7200663089752197, -1.174698829650879, 0.32194241881370544, -1.0325905084609985, 0.21115319430828094, 1.088761568069458, -0.011247036047279835, -0.2639401853084564, -0.20995458960533142, -0.4178328514099121, 0.5823685526847839, -0.3608686923980713, 1.00645112991333, 0.3862197697162628, -0.19083793461322784, -0.21337783336639404, -0.5084331035614014, 0.8882594704627991, 0.5074664354324341, -0.6630843281745911, 0.15937954187393188, 0.18733511865139008, 0.415223628282547, -0.29014021158218384, 0.4444532096385956, -0.008321447297930717, 0.4516133964061737, -0.3416769206523895, -0.45021018385887146, -0.25463226437568665, -0.22298645973205566, -0.6127009987831116, -0.22527232766151428, 0.3346122205257416, -0.40951529145240784 ]
http://arxiv.org/abs/2402.18510v3
http://arxiv.org/pdf/2402.18510v3
RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrieval
2024-02-28T17:38:06
2024-05-10T08:55:21
Kaiyue Wen, Xingyu Dang, Kaifeng Lyu
cs.LG
cs.LG, cs.CL, stat.ML
This paper investigates the gap in representation powers of Recurrent Neural Networks (RNNs) and Transformers in the context of solving algorithmic problems. We focus on understanding whether RNNs, known for their memory efficiency in handling long sequences, can match the performance of Transformers, particularly when enhanced with Chain-of-Thought (CoT) prompting. Our theoretical analysis reveals that CoT improves RNNs but is insufficient to close the gap with Transformers. A key bottleneck lies in the inability of RNNs to perfectly retrieve information from the context, even with CoT: for several tasks that explicitly or implicitly require this capability, such as associative recall and determining if a graph is a tree, we prove that RNNs are not expressive enough to solve the tasks while Transformers can solve them with ease. Conversely, we prove that adopting techniques to enhance the in-context retrieval capability of RNNs, including Retrieval-Augmented Generation (RAG) and adding a single Transformer layer, can elevate RNNs to be capable of solving all polynomial-time solvable problems with CoT, hence closing the representation gap with Transformers.
[ -0.6370551586151123, -0.36537647247314453, 0.5943675637245178, 0.2573367655277252, -0.17769627273082733, 0.45359382033348083, -0.3062726557254791, -0.44433674216270447, 0.1679057478904724, 0.38266420364379883, -0.5645052194595337, 0.20396029949188232, -0.6794614791870117, 0.5152515769004822, -0.6732880473136902, 0.7333635091781616, 0.0965489000082016, -0.32644617557525635, -0.25117480754852295, -0.26681897044181824, -0.6378676891326904, -0.49359217286109924, -0.6113806366920471, -0.5968900322914124, 0.5904719233512878, 0.26037368178367615, 0.4510595202445984, 0.39354434609413147, 0.6257708668708801, 0.37720954418182373, -0.2767197787761688, 0.29517754912376404, -0.5685661435127258, 0.5173836350440979, -0.22344981133937836, -0.33072972297668457, 0.10470976680517197, -0.34287673234939575, 0.5084980130195618, 0.6398345232009888, -0.09682357311248779, 0.28512445092201233, 0.011145403608679771, 1.0979562997817993, -0.5846021771430969, -0.011223590932786465, -0.8986210227012634, 0.36286741495132446, -0.02070040814578533, -0.5107707381248474, -0.543509840965271, -0.09098055213689804, 0.5446704626083374, -0.43614932894706726, 0.4005180299282074, 0.03978634253144264, 0.6045886874198914, 0.6586624979972839, -0.10030262917280197, -0.264724463224411, -0.9157225489616394, 0.777664065361023, -0.36259040236473083, 0.05693882331252098, 0.018493056297302246, 0.3485400080680847, -0.32922425866127014, -0.9178726673126221, -0.42849984765052795, 0.027479970827698708, -0.135751411318779, -0.05236263573169708, -0.3460286259651184, -0.0541633777320385, 0.7448079586029053, 0.395012766122818, -0.1815912276506424, -0.339619904756546, -0.4622323513031006, 0.10616043210029602, 0.33405086398124695, 0.1239539384841919, 0.011839641258120537, -0.35173892974853516, -0.5369453430175781, -0.063747338950634, -0.5307304859161377, -0.10776287317276001, -0.13976435363292694, 0.2866455614566803, 0.1679304987192154, 0.35622021555900574, 0.2959337830543518, 0.8002035617828369, 0.012573065236210823, 0.3303622007369995, 0.16304321587085724, -0.2389703243970871, -0.031177004799246788, 0.1463182419538498, 0.5983807444572449, -0.10505694150924683, 0.5200324058532715, -0.4095712900161743, -0.36008358001708984, -0.1295747607946396, 0.8180883526802063, -0.4746016561985016, -0.14401210844516754, -0.06780563294887543, -0.39521652460098267, -0.1261981576681137, 0.3012253940105438, -0.7878265380859375, -0.20158740878105164, -0.27841636538505554, 0.42480188608169556, -0.10987002402544022, -0.17024041712284088, -0.14608177542686462, -0.46728214621543884, 0.18519911170005798, -0.04162340238690376, -0.6453703045845032, 0.3031970262527466, 0.7619722485542297, 1.0149598121643066, -0.013714303262531757, 0.025081487372517586, 0.02529352717101574, -0.17164446413516998, -0.4511973261833191, 0.5533883571624756, -0.4802819490432739, -0.431406706571579, -0.2642914354801178, -0.2170218974351883, -0.16925787925720215, -0.7314589023590088, 0.020205164328217506, -0.7146128416061401, -0.08517259359359741, -0.39847859740257263, -0.36177822947502136, 0.03450457379221916, -0.02613453008234501, -1.0899934768676758, 1.0700230598449707, 0.3013055920600891, -0.5834566950798035, 0.07571699470281601, -0.469049870967865, -0.4680735766887665, -0.07687536627054214, -0.4984891712665558, -0.4217994511127472, 0.2574990689754486, 0.1144770011305809, 0.13691654801368713, -0.3900538980960846, 0.21984729170799255, 0.1997484266757965, -0.7459302544593811, 0.38984471559524536, -0.516661524772644, 0.3891226649284363, 0.19971226155757904, -0.6893153786659241, -0.23203954100608826, -0.3429657518863678, 0.21478864550590515, 0.06480783224105835, -0.15839627385139465, 0.003047418314963579, 0.05228686332702637, -0.27393588423728943, 0.3568156957626343, 0.04721473157405853, -0.5173376202583313, 0.29509449005126953, -0.34054234623908997, 0.8333542346954346, 0.8897594809532166, -0.16400374472141266, 0.40053218603134155, -0.3428819179534912, 0.4263891577720642, -0.08537589758634567, -0.2760830521583557, -0.26284700632095337, -0.6536266207695007, -0.8260840773582458, 0.3616850972175598, 0.28551721572875977, 0.2936473488807678, -0.9320581555366516, 0.22341391444206238, -0.39595234394073486, 0.03632687032222748, -0.45825397968292236, -0.171255961060524, 0.6179163455963135, 0.6079477667808533, 0.47730952501296997, -0.4383971393108368, -0.9977526664733887, -0.866837203502655, -0.4501935839653015, 0.11482291668653488, -0.0164051353931427, 0.5267840623855591, 0.5182631611824036, 0.07388922572135925, 1.0259039402008057, -0.05912100896239281, -0.20011579990386963, -0.41359540820121765, 0.2796284556388855, 0.5233274698257446, 0.44107580184936523, 0.016008548438549042, -1.0773344039916992, -0.23454587161540985, -0.04651299864053726, -0.8055787682533264, 0.16162197291851044, -0.2005113661289215, 0.2988934814929962, 0.25720298290252686, 0.5891788601875305, -0.671249508857727, 0.7699739933013916, 0.19106316566467285, 0.0049122534692287445, 0.2147655338048935, -0.2892221510410309, -0.18835420906543732, -0.6557202935218811, 0.2884984612464905, -0.18193519115447998, -0.22885434329509735, -0.5455905199050903, -0.11756032705307007, -0.00890687108039856, -0.2396419495344162, -0.20484350621700287, 0.33106938004493713, -0.39871644973754883, -0.2992718815803528, -0.3322645127773285, 0.28791558742523193, -0.003730039345100522, 0.6598548293113708, 0.052293527871370316, 1.0075215101242065, 0.19942094385623932, -0.7630907893180847, 0.0818786472082138, 0.07580704241991043, -0.3230600357055664, 0.12129919975996017, -0.6408517360687256, 0.4228261113166809, -0.4327012896537781, 0.5538331270217896, -0.6374516487121582, 0.022682059556245804, 0.011758655309677124, -0.42932698130607605, 0.38189706206321716, -0.027367131784558296, -0.31005460023880005, -0.680466890335083, -0.038753025233745575, 1.0172208547592163, 0.5908414125442505, -0.7086609601974487, 0.5191692113876343, -0.007682133931666613, 0.5355356335639954, -1.0156327486038208, -0.873793363571167, 0.06472478806972504, -0.04034774377942085, -0.2960486114025116, 0.7612535953521729, 0.47955313324928284, -0.000964619277510792, 0.16797755658626556, -0.5680462121963501, 0.20699991285800934, -0.1797848343849182, 0.08061216026544571, -0.02643883228302002, -0.21026085317134857, 0.3130326271057129, -0.5779880285263062, -0.5818197131156921, 0.05211016163229942, -0.4128389060497284, 0.4613127112388611, -0.4277589023113251, -0.21645261347293854, -0.20790566504001617, 0.3520330488681793, 0.4776836335659027, -0.25215598940849304, 0.491739958524704, 0.287788450717926, -0.2911665737628937, -0.4253627359867096, -0.5227522253990173, -0.2755151093006134, -0.49627983570098877, 0.2553883492946625, -0.3077842593193054, -0.8609950542449951, 0.41350680589675903, -0.16317494213581085, -0.21877235174179077, 0.30738088488578796, 0.15628834068775177, -0.17700785398483276, 0.7493879199028015, 0.3868227005004883, -0.14009808003902435, 0.4011407792568207, -0.8210472464561462, 0.5945907235145569, -1.3454879522323608, -0.32430151104927063, -0.31549081206321716, -0.9692878127098083, -0.7907896041870117, -0.45583397150039673, 0.5098834037780762, -0.02935974672436714, -0.5321922302246094, 0.5833728313446045, -1.0116229057312012, 0.6175641417503357, 0.5589433312416077, 0.18826232850551605, 0.14490492641925812, -0.06671219319105148, 0.09686253219842911, 0.11077558249235153, -1.1214553117752075, -0.16430023312568665, 0.8869262337684631, 0.06861414760351181, 0.568773627281189, -0.14009180665016174, 0.5798985362052917, 0.05942274630069733, 0.029515957459807396, -0.5958905220031738, 0.5363659262657166, -0.28133630752563477, -0.6374972462654114, -0.260859876871109, -0.6563192009925842, -1.260452389717102, 0.1409682184457779, 0.08656530827283859, -0.8212703466415405, 0.49691200256347656, 0.13989388942718506, -0.39831840991973877, 0.7499297261238098, -0.2905697524547577, 0.6099987626075745, -0.0647219642996788, -0.19466175138950348, -0.28658753633499146, -0.9007818102836609, 0.05649003013968468, 0.3453454077243805, -0.1690412014722824, 0.1630432903766632, 0.035599980503320694, 0.6455299854278564, -0.48772960901260376, 0.35149988532066345, 0.034316033124923706, 0.40306222438812256, 0.6101911067962646, 0.08759132772684097, 0.43128105998039246, -0.18066160380840302, -0.10612288862466812, 0.03215210884809494, -0.3270982801914215, -0.3411010801792145, -1.158228874206543, 0.6171603798866272, -0.35354048013687134, -0.7003477811813354, -0.5837721228599548, -0.4854913353919983, 0.04801999777555466, -0.010838267393410206, 0.4011685848236084, 0.6945382952690125, 0.26865071058273315, 0.44340983033180237, 0.8435816168785095, 0.0574922114610672, 0.6825933456420898, -0.3032427728176117, -0.02313375100493431, -0.1019744873046875, 1.0122324228286743, 0.22570376098155975, 0.36833903193473816, 0.4222997725009918, 0.0653192326426506, -0.2260771542787552, -0.09903358668088913, -0.5058874487876892, -0.06630919128656387, -0.6847591400146484, -0.496555358171463, -0.30690303444862366, -0.5753104090690613, 0.3762963116168976, -0.042064499109983444, -0.448439359664917, -0.6161097288131714, -0.14242912828922272, 0.09246626496315002, 0.6369348764419556, 0.9293635487556458, 0.032233577221632004, 0.0529792457818985, -0.3342832028865814, 0.5249760150909424, 0.21636591851711273, 0.5430620312690735, 0.7532888650894165, -0.23581577837467194, -0.2365037202835083, -0.1325141042470932, -0.5951315760612488, -0.5368195176124573, 0.06785089522600174, -0.008239357732236385, 0.21518999338150024, 0.1319955289363861, -0.16612443327903748, 0.9615674614906311, -0.4533272981643677, 0.6556304097175598, 0.03915933892130852, -0.6821436882019043, 0.20935042202472687, 0.10328695923089981, 0.3630993664264679, 0.5733022689819336, 0.2219216525554657, -0.4378345310688019, -0.02558872289955616, -0.7509279847145081, -1.0168873071670532, 0.7113017439842224, 0.570652186870575, 0.1926930993795395, -0.19479437172412872, 0.6207204461097717, -0.2307092845439911, 0.35219070315361023, -0.5065103769302368, -0.5422025322914124, -0.25296691060066223, -0.015944484621286392, 0.054160818457603455, -0.012076850980520248, 0.2128629833459854, -0.3719915747642517, 0.27189990878105164, 0.21773315966129303, 0.7660791277885437, 0.7583067417144775, 0.12685513496398926, -0.16313238441944122, 0.18315529823303223, 0.3731129467487335, 0.711454451084137, -0.1359252780675888, 0.1892099827528, 0.20829446613788605, -0.3623333275318146, 0.22085273265838623, -0.31815871596336365, -0.0444536991417408, 0.14912313222885132, 0.4794234037399292, 0.7459995746612549, 0.6328219175338745, -0.559934139251709, 0.36359477043151855, 0.007155026309192181, 0.08859273791313171, -0.4538949728012085, -0.006054408848285675, -0.13380001485347748, 0.2819496989250183, 0.7572653293609619, 0.5346745848655701, -0.04508131742477417, -0.5755372047424316, 0.3957655429840088, 0.6039263010025024, -0.48425424098968506, 0.12283223122358322, 0.34454432129859924, -0.0950569286942482, -0.8778228163719177, 1.0538475513458252, 0.021930303424596786, -0.7304960489273071, 0.9791321158409119, 0.7574883699417114, 0.879281222820282, 0.07639122009277344, -0.14848692715168, 0.4959830343723297, 0.10225614160299301, -0.15540800988674164, 0.19520840048789978, -0.3575381934642792, -0.46789127588272095, -0.5408161282539368, -0.2352697104215622, -0.07199843972921371, 0.0640595406293869, -0.7679933309555054, -0.12986621260643005, -0.46893343329429626, -0.40973910689353943, -0.28072404861450195, -0.23659828305244446, -0.6956075429916382, -0.08248338103294373, -0.19123288989067078, 1.0912916660308838, 0.05826592445373535, 0.4127824604511261, 0.02573210932314396, -0.18354201316833496, -0.8274449706077576, -0.10946117341518402, -0.36933863162994385, -0.45250216126441956, 0.6304236650466919, 0.550321102142334, -0.31811031699180603, 0.0069884732365608215, -0.30797237157821655, -1.0152134895324707, 1.2070661783218384, 0.07148156315088272, -0.563822329044342, -0.3806166350841522, 0.023477844893932343, 0.7283333539962769, -0.5274410843849182, 0.29310232400894165, 0.6376913785934448, 0.49488961696624756, 0.01949157379567623, -0.9931387901306152, -0.05654939264059067, -0.355082243680954, 0.41915568709373474, 0.5909003019332886, -0.4477422535419464, 0.9745767116546631, -0.2837171256542206, -0.4102586805820465, 0.34380900859832764, 0.5433931946754456, 0.2704005539417267, 0.4891890585422516, 0.3518860638141632, 0.611829936504364, 0.4484439492225647, -0.20524044334888458, 1.4315109252929688, -0.1000971645116806, 0.22083720564842224, 1.0182788372039795, 0.18134376406669617, 0.6583835482597351, 0.7109063267707825, -0.15327391028404236, 0.9483479857444763, 0.1942639797925949, 0.1188434362411499, 0.4351039528846741, 0.47695934772491455, -0.25711387395858765, -0.12842167913913727, 0.07055483013391495, -0.3863426148891449, 0.17355632781982422, 0.4135029911994934, -0.6482954025268555, -0.21462802588939667, 0.031140465289354324, -0.49442169070243835, 0.3540550172328949, -0.44231632351875305, 0.7417824864387512, 0.5106117725372314, -0.8432243466377258, 0.7854215502738953, -0.34675776958465576, 0.4952845871448517, -0.35736191272735596, -0.4206397831439972, 0.16676144301891327, 0.06235580891370773, -0.32044580578804016, -0.7655344009399414, 0.42454925179481506, -0.20592264831066132, -0.2484445720911026, -0.27458226680755615, 0.6834337711334229, -0.04395308718085289, -0.34877246618270874, 0.4001806974411011, 0.4284180700778961, 0.07929259538650513, 0.10274963825941086, -0.4976412355899811, 0.051423002034425735, -0.23306958377361298, -0.1295105665922165, 0.06619591265916824, 0.3089580237865448, -0.1350613534450531, 1.0699106454849243, 0.25275659561157227, -0.06952700763940811, 0.08388891071081161, 0.08229198306798935, 0.8319292664527893, -0.8996396660804749, -0.07404331862926483, -0.8637717962265015, 0.3165249526500702, 0.010680917650461197, -0.29194116592407227, 0.43374085426330566, 0.34283238649368286, 0.9309929609298706, 0.04314232990145683, 0.4985370337963104, -0.2638072073459625, 0.2103031873703003, -0.33958372473716736, 0.41698092222213745, -0.3356008529663086, 0.38607266545295715, -0.23736847937107086, -0.9768614768981934, -0.1404571384191513, 0.8650540709495544, -0.2235381007194519, 0.37006887793540955, 0.7060220241546631, 0.7397951483726501, -0.20784352719783783, 0.37596601247787476, -0.09628581255674362, 0.020317871123552322, 0.012183990329504013, 0.9730215668678284, 0.8797075748443604, -0.6541200280189514, 0.4794871509075165, -0.369640588760376, 0.048187416046857834, 0.00678997440263629, -0.8194782137870789, -0.6112745404243469, -0.8265897035598755, 0.21332687139511108, -0.47808289527893066, 0.18175984919071198, 0.9113225340843201, 0.6617070436477661, -0.560101330280304, -0.26742249727249146, -0.6344504356384277, 0.5775695443153381, -0.4149525463581085, -0.25169357657432556, 0.323207288980484, -0.5798688530921936, -0.266631543636322, 0.43203088641166687, 0.2627509534358978, -0.21291528642177582, -0.4259687066078186, -0.008415703661739826, -0.08566806465387344, -0.20196916162967682, 0.5531495809555054, 0.5946024656295776, -0.8256949186325073, -0.2938823997974396, 0.1697787046432495, 0.10695642977952957, 0.3838297724723816, 1.3975749015808105, -1.5753545761108398, 0.5614943504333496, 0.34763455390930176, 0.8487241864204407, 0.6615474224090576, 0.13768352568149567, 0.5866454839706421, -0.8784788250923157, 0.165122389793396, 0.6002901196479797, 0.13760176301002502, 0.17296740412712097, -0.33421701192855835, 0.5263678431510925, -0.12322429567575455, -0.7553976774215698, -0.7311483025550842, 0.48340168595314026, -0.7339433431625366, -0.24781319499015808, 0.6748731732368469, 0.2172420769929886, -0.3984197676181793, -0.24160052835941315, 0.05859890952706337, 0.1661975383758545, -0.21487796306610107, 0.8900359869003296, 0.4648687243461609, -0.5869218111038208, -0.08294686675071716, -0.5141727924346924, 0.7231043577194214, 0.5873104333877563, 0.0033828015439212322, -0.024035906419157982, -0.15867866575717926, -0.2253003865480423, 0.5946173667907715, 0.4308953583240509, -0.24661126732826233, 0.5235046148300171, -0.2561008930206299, -0.4639592170715332, -0.12931540608406067, -0.6889669895172119, -0.3990909457206726, 0.01860634796321392, -0.2512044310569763, 0.15087978541851044 ]
http://arxiv.org/abs/2402.18502v1
http://arxiv.org/pdf/2402.18502v1
Few-Shot Fairness: Unveiling LLM's Potential for Fairness-Aware Classification
2024-02-28T17:29:27
2024-02-28T17:29:27
Garima Chhikara, Anurag Sharma, Kripabandhu Ghosh, Abhijnan Chakraborty
cs.CL
cs.CL
Employing Large Language Models (LLM) in various downstream applications such as classification is crucial, especially for smaller companies lacking the expertise and resources required for fine-tuning a model. Fairness in LLMs helps ensure inclusivity, equal representation based on factors such as race, gender and promotes responsible AI deployment. As the use of LLMs has become increasingly prevalent, it is essential to assess whether LLMs can generate fair outcomes when subjected to considerations of fairness. In this study, we introduce a framework outlining fairness regulations aligned with various fairness definitions, with each definition being modulated by varying degrees of abstraction. We explore the configuration for in-context learning and the procedure for selecting in-context demonstrations using RAG, while incorporating fairness rules into the process. Experiments conducted with different LLMs indicate that GPT-4 delivers superior results in terms of both accuracy and fairness compared to other models. This work is one of the early attempts to achieve fairness in prediction tasks by utilizing LLMs through in-context learning.
[ -0.18580928444862366, -0.4293760359287262, 0.6783961653709412, 0.016832556575536728, -0.030819715932011604, -0.09321387857198715, -0.057605210691690445, -0.536849856376648, -0.4983008801937103, 0.35899221897125244, -0.292042076587677, -0.39720508456230164, -0.752757728099823, 0.0836242139339447, -0.40585821866989136, 1.2832539081573486, 0.17060041427612305, 0.35349833965301514, -0.14071489870548248, -0.18360893428325653, -0.5196769833564758, -0.5631355047225952, -0.8229875564575195, -0.6737770438194275, 0.43241339921951294, 0.47924497723579407, 0.3480052351951599, 0.5595134496688843, 0.4438278377056122, 0.39224469661712646, -0.07817881554365158, -0.34424158930778503, -0.5342552661895752, -0.169154554605484, -0.2187131643295288, -0.7963287234306335, -0.4820999205112457, 0.4182020425796509, 0.7545731663703918, 0.6823551058769226, -0.21375761926174164, 0.3082183301448822, 0.3677571415901184, 0.4917365610599518, -0.8000553846359253, 0.08483869582414627, -0.9198241233825684, 0.4718412160873413, -0.46621617674827576, -0.11098188906908035, -0.3816753327846527, -0.36224427819252014, -0.11568701267242432, -0.4608643054962158, 0.09691710025072098, 0.2725978493690491, 0.6610791087150574, 0.3574415445327759, -0.48275041580200195, -0.2005218118429184, -0.43202129006385803, 1.085476279258728, -0.7811896800994873, 0.17183002829551697, 0.2559756338596344, 0.8454721570014954, -0.20643199980258942, -0.8456892371177673, -0.6948539614677429, 0.1545417159795761, -0.178901806473732, 0.17749609053134918, 0.053691692650318146, 0.25648972392082214, 0.41095083951950073, 0.17962467670440674, -0.23675110936164856, 0.5843452215194702, -0.18046240508556366, -0.2746455669403076, 0.3516729176044464, 0.29127976298332214, -0.20196408033370972, -0.2854028046131134, -0.3173145651817322, 0.40043437480926514, -0.7686411142349243, 0.17061330378055573, 0.47451427578926086, 0.47850242257118225, -0.3245684504508972, 0.4264809489250183, -0.3204950988292694, 0.5928550958633423, -0.06114625930786133, -0.48013627529144287, 0.24960586428642273, 0.06698548048734665, -0.5510075092315674, 0.19860564172267914, 0.5015469193458557, 0.24808982014656067, 0.1419246643781662, 0.012922655791044235, -0.5482364296913147, -0.06898181885480881, 0.012129162438213825, -0.8574281334877014, 0.2747521698474884, -0.052528467029333115, -0.7184581756591797, -0.4044119715690613, -0.06669045239686966, -0.7379679083824158, -0.56949383020401, -0.36234909296035767, 0.5590710639953613, 0.24624428153038025, -0.055769387632608414, -0.063163623213768, -0.1053396612405777, 0.5443744659423828, 0.462051123380661, -0.8781709671020508, 0.3944220542907715, 1.0579607486724854, 0.722847580909729, -0.08778490126132965, -0.12789319455623627, -0.9682230353355408, 0.2698468863964081, -0.1685074120759964, 0.5411840677261353, -0.500341534614563, -0.09473667293787003, -0.06182350963354111, -0.24131497740745544, 0.2803727388381958, -0.5113111138343811, 0.5667660236358643, -0.5592398643493652, 0.2911140024662018, -0.1576027125120163, -0.6993242502212524, -0.2749321162700653, 0.47887706756591797, -0.3510921895503998, 0.29685720801353455, 0.24469219148159027, -0.8249620795249939, 0.79638671875, -0.9257475733757019, -0.30760762095451355, 0.35262104868888855, -0.7286487221717834, -0.48830392956733704, 0.04421122372150421, -0.2502362132072449, 0.6373810172080994, -0.01974627748131752, 0.0010653197532519698, -0.48335763812065125, -0.7024831771850586, 0.15508143603801727, -0.7231915593147278, 0.692017138004303, 0.35117852687835693, -0.6049239635467529, -0.016433874145150185, -0.2473682165145874, -0.14007386565208435, -0.049929965287446976, -0.46724164485931396, 0.08957754820585251, -0.22015288472175598, -0.06054932251572609, 0.3461090326309204, -0.08032882213592529, -0.3861398994922638, -0.2645738124847412, -0.5248168110847473, 0.24623173475265503, 1.3394256830215454, -0.5504902601242065, 0.9476475119590759, -0.405735045671463, 0.6345767974853516, -0.05361229553818703, 0.40969133377075195, 0.15898677706718445, -0.6206637024879456, -0.4945727586746216, -0.48225903511047363, 0.43786147236824036, 0.5225609540939331, -0.536896824836731, -0.041024550795555115, -0.32393646240234375, 0.06993778795003891, -0.4104599952697754, 0.19229869544506073, 0.37487322092056274, 0.7739505767822266, -0.07384872436523438, -0.21144422888755798, -0.3102554380893707, -0.8639155626296997, -0.26081353425979614, 0.06408815830945969, 0.0038983640260994434, 0.5764291882514954, 0.3806304931640625, -0.1551545262336731, 1.0526037216186523, -0.10392755270004272, -0.6362580060958862, -0.2611320912837982, -0.07361545413732529, 0.37207773327827454, 0.1750897914171219, 0.7237587571144104, -0.8464750647544861, -0.40352755784988403, 0.08232695609331131, -0.8217015862464905, -0.16182632744312286, 0.2991693317890167, -0.16650477051734924, 0.4185008704662323, 0.537365198135376, -0.13682831823825836, 0.6125304102897644, 0.4355827271938324, -0.14770913124084473, 0.2662813365459442, 0.09944067895412445, 0.2500358819961548, -0.6968563199043274, -0.19108109176158905, -0.06282342970371246, -0.6366627216339111, -0.3370722830295563, -0.020769568160176277, -0.1374243050813675, 0.1991168111562729, -0.9776182174682617, 0.9127092957496643, 0.05722996965050697, -0.5998740792274475, -0.6083913445472717, 0.181095689535141, -0.25709956884384155, 0.2813110947608948, -0.30801886320114136, 0.5925747752189636, 0.4884573519229889, -0.7211509943008423, -0.047236040234565735, -0.14012905955314636, -0.23911048471927643, 0.7974453568458557, -0.15835176408290863, -0.020401248708367348, -0.313770592212677, 0.39236828684806824, -0.49296706914901733, -0.3939965069293976, 0.2579064667224884, -0.2833555042743683, 0.26098141074180603, -0.5930092334747314, -0.5039022564888, -0.07833363860845566, -0.2955678403377533, 0.6524267792701721, 0.7936458587646484, -0.7085002660751343, 0.7339801788330078, 0.5351480841636658, -0.12105780094861984, -0.8078832626342773, -0.8937865495681763, -0.141621395945549, -0.7477511167526245, -0.32469990849494934, 0.3105924725532532, -0.05103869363665581, -0.36728426814079285, -0.29967033863067627, -0.0024779594969004393, -0.06988457590341568, 0.4025171995162964, 0.38224300742149353, 0.019633319228887558, 0.14986665546894073, 0.016147518530488014, 0.11672503501176834, -0.13114477694034576, -0.1746620386838913, -0.03859708830714226, 0.2740856409072876, -0.21034395694732666, -0.477102130651474, -0.4465698301792145, 0.1271614283323288, 0.05661473423242569, 0.2848097085952759, 0.2355286329984665, 0.7649445533752441, -0.588530421257019, -0.3371562063694, -0.39127618074417114, -0.14723671972751617, -0.5751162171363831, 0.19991430640220642, -0.3835638165473938, -1.262812614440918, 0.5123534798622131, -0.09714041650295258, 0.24369987845420837, 0.10922632366418839, 0.6050800085067749, -0.1967407912015915, 0.8963617086410522, 0.9183348417282104, -0.10415139049291611, 0.5303048491477966, -0.002022289903834462, 0.2109042853116989, -0.4613155126571655, -0.19301645457744598, -0.5304391384124756, -0.5285945534706116, -0.8822131752967834, -0.2775178551673889, 0.45495808124542236, 0.11479375511407852, -0.6502519845962524, -0.42890292406082153, -0.1590687483549118, 0.944331169128418, 0.6202581524848938, -0.07885967940092087, 0.4144991934299469, 0.044796381145715714, -0.006878585088998079, -0.09997545182704926, -0.6734915375709534, -0.8342677354812622, 1.133131742477417, 0.5687518119812012, 0.7087624073028564, 0.37783804535865784, 0.9111791849136353, 0.41868844628334045, 0.9064401388168335, -0.9517870545387268, 0.48105424642562866, -0.5119041800498962, -0.5715140104293823, -0.1530652642250061, -0.6612533926963806, -0.7446597218513489, 0.18352293968200684, -0.19701603055000305, -0.5231413841247559, -0.05336190015077591, 0.26397037506103516, -0.4326288104057312, 0.33299145102500916, -0.8078782558441162, 0.7195125222206116, -0.28235167264938354, -0.3472774624824524, -0.27752143144607544, -0.5673170685768127, 0.6209420561790466, -0.3327292799949646, 0.5953317880630493, -0.43021106719970703, -0.16406035423278809, 0.587573230266571, -0.08684900403022766, 0.8515629172325134, -0.4854714274406433, 0.0274492297321558, 0.04552086442708969, 0.10032442957162857, 0.1256888061761856, 0.0817761942744255, -0.2727212905883789, 0.4444151520729065, -0.44304633140563965, -0.38285619020462036, -0.4733969271183014, 0.7402324676513672, -0.4259488582611084, -0.4638141989707947, -0.5725045800209045, -0.30829572677612305, -0.10208537429571152, 0.20179545879364014, 0.07964427769184113, 0.05761883035302162, 0.08040013164281845, -0.05317484959959984, 0.45523378252983093, -0.3682699501514435, 0.7880384922027588, 0.5268347859382629, -0.3698144853115082, 0.0532558411359787, 0.6750239729881287, -0.12624315917491913, 0.1872960329055786, 0.23465850949287415, 0.3075246512889862, -0.48123475909233093, -0.6450262069702148, -0.14541779458522797, -0.1610213965177536, -0.9717159271240234, -0.6791521906852722, -0.3460516035556793, -0.21963468194007874, -0.2728373110294342, -0.25450849533081055, -0.1229470819234848, -0.30420511960983276, -0.20197030901908875, -0.07711377739906311, 0.14386425912380219, 0.9230360388755798, -0.1760743260383606, 0.44744089245796204, -0.45869573950767517, 0.2955149710178375, 0.6494572162628174, 0.7616678476333618, -0.13602674007415771, -0.7949791550636292, -0.056223709136247635, -0.07017956674098969, -0.46816059947013855, -0.3340054154396057, 0.10890206694602966, 0.13802720606327057, 0.862188458442688, 0.30651557445526123, -0.22755196690559387, 0.38770195841789246, -0.7463301420211792, 0.6414562463760376, 0.302701860666275, -1.0704762935638428, 0.3694719076156616, -0.09029053151607513, -0.11228366196155548, 0.4286489188671112, 0.19989357888698578, -0.2027587592601776, -0.391004353761673, -0.2508176863193512, -0.6747319102287292, 0.8586686849594116, 0.16876500844955444, 0.3615417778491974, 0.09299995005130768, 0.4930354654788971, 0.36824172735214233, 0.3122994005680084, -1.1955931186676025, -0.08961346000432968, -0.1542036384344101, -0.36313241720199585, 0.1806316375732422, 0.011608592234551907, -0.14834097027778625, -0.06940867751836777, 0.4081190526485443, -0.31045687198638916, 0.19528555870056152, -0.27005672454833984, -0.21619202196598053, 0.08173946291208267, 0.5217915773391724, 0.49239256978034973, 0.6161224246025085, -0.048200465738773346, 0.08540138602256775, 0.3658745586872101, -0.10396996885538101, 0.09503044933080673, -0.008451140485703945, -0.14328157901763916, -0.3691740334033966, 0.04491253197193146, 0.5517124533653259, 0.07721664011478424, -0.5798489451408386, 0.8444001078605652, -0.19727638363838196, -0.11249058693647385, -0.12063005566596985, 0.26184213161468506, -0.2281770408153534, 0.6722524166107178, 0.32514524459838867, -0.15082280337810516, 0.6221226453781128, -0.4261418879032135, 0.19651682674884796, 0.5728643536567688, -0.17125020921230316, 0.2415827214717865, 0.7166761159896851, 0.3336137533187866, -0.10214555263519287, 0.4574110805988312, -0.7486822009086609, -0.49453800916671753, 0.42944425344467163, 0.2849212884902954, 0.8023493885993958, 0.13956104218959808, -0.03777366504073143, 0.006392115727066994, 0.07082707434892654, -0.09606008976697922, -0.10250981152057648, 0.07975564897060394, -0.8519615530967712, -0.4227849543094635, -0.861335277557373, -0.38106152415275574, -0.06809349358081818, -0.2160717099905014, 0.4839344918727875, -0.6937139630317688, -0.3826783299446106, -0.1603698432445526, -0.12370609492063522, -0.9668461084365845, 0.06403608620166779, 0.5192331671714783, 0.6452327370643616, -0.7670651078224182, 0.5732983946800232, 0.4984070658683777, -0.3570021986961365, -0.5205931067466736, 0.08975905179977417, 0.2233051061630249, -0.694382905960083, 0.9104373455047607, 0.4083150327205658, -0.24795274436473846, -0.09435109794139862, -0.7716004252433777, -0.19003614783287048, 1.247927188873291, 0.7366381883621216, -0.6647180318832397, 0.20236089825630188, 0.18126867711544037, 0.18379759788513184, -0.4353000521659851, 0.3952762484550476, 0.5834624171257019, 0.2784046530723572, -0.08104986697435379, -1.2542155981063843, -0.18710435926914215, 0.3147258460521698, 0.10490520298480988, -0.26292747259140015, -0.5703099966049194, 0.7791348695755005, -0.26694977283477783, -0.1627172976732254, -0.2201758176088333, 0.614595353603363, 0.6751767992973328, 0.692132294178009, 0.6684862375259399, 0.43289321660995483, 0.779932975769043, -0.21097677946090698, 1.1330448389053345, 0.3559521734714508, 0.2693755328655243, 1.188186526298523, -0.4583684802055359, 0.697874128818512, 0.3553473651409149, -0.2263605296611786, 0.36521032452583313, 0.6139664649963379, 0.2687827944755554, 0.5525960922241211, 0.3671046793460846, -0.5275562405586243, -0.08830960839986801, -0.19899174571037292, -0.17529737949371338, 0.6364459991455078, 0.23765070736408234, -0.08169935643672943, -0.2592134475708008, 0.17284615337848663, 0.0034006652422249317, 0.17586055397987366, -0.8588172793388367, 0.8413580060005188, 0.3731941282749176, -0.14947332441806793, 0.010723496787250042, 0.2911347448825836, 1.4219073057174683, -0.33659517765045166, -0.21841126680374146, -0.31764814257621765, 0.264698326587677, -0.4165835380554199, -1.08894681930542, 0.10087944567203522, 0.2205571085214615, -0.2693786919116974, -0.2787710726261139, 0.5651401281356812, -0.13783273100852966, -0.27538686990737915, 0.31104350090026855, 0.3249613344669342, 0.398486852645874, 0.05225714296102524, -0.8063511848449707, -0.08010391891002655, -0.23179776966571808, 0.16921667754650116, 0.5831047892570496, 0.5691508650779724, -0.17244254052639008, 0.6922731995582581, 0.258023202419281, -0.10859271883964539, 0.322374165058136, 0.42074891924858093, 0.48992618918418884, -0.6048315763473511, -0.5781522989273071, -0.8867590427398682, 0.5162935256958008, -0.05060778930783272, 0.20452137291431427, 0.5553654432296753, 0.520577073097229, 1.1251075267791748, 0.15685699880123138, 0.8216562867164612, 0.1514054536819458, 0.3831687569618225, -0.652071475982666, 0.8097683787345886, -0.6363317370414734, 0.444387286901474, -0.2918093502521515, -0.7329623699188232, -0.3665838837623596, 0.6848620772361755, -0.2029982954263687, 0.6517310738563538, 0.3168931007385254, 0.6726001501083374, -0.2549210488796234, -0.18962004780769348, 0.4503434896469116, -0.03019840642809868, 0.47126784920692444, 0.5682902932167053, 0.8368154168128967, -0.31057652831077576, 0.5070140957832336, 0.09709037095308304, -0.3562694489955902, -0.2132646143436432, -1.316056489944458, -0.6417379379272461, -0.009298483841121197, -0.16400761902332306, -0.2775653898715973, 0.039313673973083496, 0.9592840671539307, 0.8748231530189514, -0.6454053521156311, -0.34715622663497925, 0.05783920735120773, 0.40314754843711853, 0.3684141933917999, -0.27477794885635376, -0.16095393896102905, -0.5613225698471069, -0.8438984751701355, 0.04611585661768913, 0.37189772725105286, 0.2767132520675659, 0.04780713468790054, -0.5470752716064453, 0.21649670600891113, -0.17444047331809998, 0.9175281524658203, 0.01778334192931652, -0.6089113354682922, -0.15560701489448547, -0.6549784541130066, -0.14416764676570892, -0.03732381388545036, 0.6870191693305969, -0.993015706539154, 0.20831723511219025, 0.29578810930252075, 0.7278398275375366, 0.32306545972824097, -0.2065706104040146, 0.3780369162559509, -1.0673959255218506, 0.3799215853214264, 0.43496832251548767, 0.4169812500476837, 0.4851855933666229, -0.2750338613986969, 0.46742647886276245, 0.19696453213691711, -0.6668382883071899, -0.8816030621528625, 0.34295743703842163, -0.7418984174728394, -0.24911105632781982, 1.1577728986740112, 0.04818650335073471, -0.048721443861722946, -0.12417949736118317, 0.02339593693614006, 0.12048269063234329, -0.4885920286178589, 0.6426135301589966, 0.45355063676834106, -0.2165955752134323, -0.08675671368837357, -0.7926129102706909, 0.7129709124565125, 0.13754306733608246, -1.0477262735366821, -0.23763082921504974, 0.5776236057281494, 0.4812145531177521, -0.42774561047554016, 1.123619794845581, -0.3861629068851471, 0.2713892459869385, -0.6280309557914734, -0.1668531894683838, 0.2759191393852234, -0.13556568324565887, -0.7604393362998962, 0.1139630600810051, 0.34121307730674744, -0.06004813686013222 ]
http://arxiv.org/abs/2402.18496v3
http://arxiv.org/pdf/2402.18496v3
Language Models Represent Beliefs of Self and Others
2024-02-28T17:25:59
2024-05-30T12:43:01
Wentao Zhu, Zhining Zhang, Yizhou Wang
cs.AI
cs.AI, cs.CL
Understanding and attributing mental states, known as Theory of Mind (ToM), emerges as a fundamental capability for human social reasoning. While Large Language Models (LLMs) appear to possess certain ToM abilities, the mechanisms underlying these capabilities remain elusive. In this study, we discover that it is possible to linearly decode the belief status from the perspectives of various agents through neural activations of language models, indicating the existence of internal representations of self and others' beliefs. By manipulating these representations, we observe dramatic changes in the models' ToM performance, underscoring their pivotal role in the social reasoning process. Additionally, our findings extend to diverse social reasoning tasks that involve different causal inference patterns, suggesting the potential generalizability of these representations.
[ -0.3451708257198334, -0.6445764303207397, 1.2105239629745483, 0.03383195772767067, -0.1525093913078308, 0.03298362344503403, -0.44119271636009216, -0.46678370237350464, 0.41273513436317444, 0.2380315512418747, -0.35046374797821045, 0.02576025389134884, -0.6509900689125061, 0.03890610113739967, -0.20487938821315765, 0.48813700675964355, 0.1338057518005371, 0.19214652478694916, -0.03087620437145233, -0.06491377204656601, -0.22825126349925995, -0.7627415060997009, -0.7250179052352905, -0.8802680373191833, 0.7044723629951477, -0.2929438352584839, 0.7514260411262512, 0.3474369943141937, 0.24691979587078094, 0.24571870267391205, 0.13427843153476715, 0.08741354197263718, -0.3754153251647949, 0.30995702743530273, -0.6632256507873535, -0.9135237336158752, -0.27075013518333435, 0.207844540476799, 0.8479054570198059, 0.7069644927978516, 0.01083863154053688, 0.017121823504567146, 0.29838475584983826, 0.3614101707935333, -0.32584717869758606, 0.4538780152797699, -0.921798050403595, -0.21361501514911652, 0.21887709200382233, -0.2773604094982147, -0.6261817812919617, -0.3000084161758423, 0.213774174451828, -0.2407190352678299, 0.16361616551876068, -0.06487131118774414, 0.8110676407814026, 0.2007124125957489, -0.5181077718734741, -0.2271689623594284, -0.8359918594360352, 0.6852568984031677, -0.676892101764679, 0.2448129802942276, 0.5754826068878174, 0.24403312802314758, -0.32051700353622437, -0.23419484496116638, -0.8229350447654724, -0.2983992397785187, -0.2337934523820877, -0.24523410201072693, -0.15679046511650085, 0.4030033051967621, 0.29432201385498047, 0.19880534708499908, -0.19015038013458252, -0.3825433850288391, -0.0895504504442215, -0.0855766236782074, 0.5832282900810242, 0.013042435050010681, 0.4847005605697632, -0.1807829886674881, 0.00044647115282714367, -0.14713279902935028, -0.446033239364624, -0.01720913127064705, -0.01721574179828167, 0.36779022216796875, -0.13002897799015045, 0.31873494386672974, 0.016145214438438416, 0.46389463543891907, 0.11411632597446442, -0.03295551612973213, 0.004466463346034288, 0.1783636510372162, -0.6510882377624512, -0.23384711146354675, 0.49686628580093384, 0.1187576949596405, 0.5236189365386963, -0.09277793765068054, -0.2920207977294922, 0.5214220881462097, 0.40151870250701904, -0.16962026059627533, 0.02936401404440403, 0.1120511144399643, -0.6524363160133362, -0.14514949917793274, 0.0357246920466423, -0.28117963671684265, -0.7084508538246155, -0.3019789457321167, 0.47983649373054504, -0.48999881744384766, -0.7097817063331604, 0.2935292422771454, -0.2709324359893799, 0.3224673569202423, 0.45199063420295715, -0.9264329671859741, 0.43637922406196594, 0.5631775856018066, 0.5824678540229797, 0.29535508155822754, -0.37901419401168823, 0.23754769563674927, 0.4013487696647644, -0.7030231952667236, 0.6980195045471191, -0.7256618738174438, -0.25965067744255066, 0.0007774679106660187, 0.17258170247077942, -0.17694944143295288, -0.1608242690563202, -0.026700999587774277, -0.4755113422870636, -0.02255905792117119, -0.8948232531547546, -0.5897332429885864, -0.5155919194221497, 0.1901257187128067, -0.46755290031433105, 0.5213759541511536, -0.23423920571804047, -0.2870657444000244, 0.12127580493688583, -0.4655666649341583, -0.2123057097196579, 0.061665136367082596, -0.6337742209434509, 0.24843856692314148, 0.6454517245292664, -0.03846675530076027, 0.800021767616272, -0.6962769627571106, 0.5021235346794128, -0.7256112098693848, -0.31054580211639404, 0.6521399617195129, -0.4685652554035187, 0.9513201117515564, 0.195515438914299, -0.46030399203300476, -0.04150169715285301, -0.3378426730632782, -0.05046489089727402, 0.49565041065216064, -0.15328243374824524, -0.6629316806793213, 0.23751509189605713, -0.6214090585708618, 0.13642284274101257, 0.12043269723653793, -0.4359420835971832, 0.25727152824401855, -0.3378402292728424, 0.3843175768852234, 0.9720306396484375, 0.017631758004426956, 0.5687790513038635, -0.32437461614608765, 0.3746657967567444, 0.0015854283701628447, -0.165197491645813, -0.07885266840457916, -0.7722088098526001, -0.9641215205192566, 0.018837623298168182, -0.26651936769485474, 0.12943579256534576, -0.5648672580718994, 0.16905008256435394, -0.22851087152957916, -0.13134537637233734, -0.5631948113441467, 0.004609875846654177, 0.48488032817840576, -0.007749990094453096, 0.09825516492128372, 0.057328637689352036, -0.32664281129837036, -1.1495214700698853, -0.46671661734580994, -0.5143018364906311, 0.00709629338234663, 0.13375189900398254, 0.5865772366523743, -0.23247912526130676, 0.8269814252853394, -0.43849480152130127, 0.07995425164699554, -0.47947484254837036, 0.2048618346452713, 0.2477283775806427, 0.3698359727859497, 0.7061176300048828, -0.42959147691726685, 0.011143342591822147, 0.0674155130982399, -1.1398048400878906, 0.19514994323253632, -0.4643810987472534, -0.13994450867176056, 0.06822553277015686, 0.37563127279281616, -0.611478328704834, 0.591077983379364, 0.3879190683364868, -0.5705668926239014, 0.23171702027320862, -0.383169561624527, 0.25369542837142944, -0.9949874877929688, -0.44359174370765686, 0.2288082242012024, -0.1331733912229538, -0.5949284434318542, 0.2480778843164444, 0.15131153166294098, 0.167464017868042, 0.07275579869747162, 0.5675206780433655, -0.7147666811943054, -0.11183807998895645, -0.3097188174724579, 0.16079652309417725, -0.03230007365345955, 0.700099527835846, -0.004326401744037867, 0.5135184526443481, 0.6787718534469604, -0.6499040722846985, 0.19274550676345825, -0.2704533636569977, -0.1981135904788971, 0.4176901876926422, -0.6745174527168274, 0.2814795970916748, -0.6657927632331848, 0.2003612518310547, -1.24519681930542, -0.4330965578556061, 0.24960851669311523, -0.41790178418159485, 0.14399781823158264, -0.09598052501678467, -0.5375010967254639, -0.34343189001083374, 0.18298374116420746, 0.16336938738822937, 0.5732640624046326, -0.3203608989715576, 0.8732352256774902, 0.6010388731956482, 0.2909439206123352, -0.05721321329474449, -1.0087056159973145, 0.01846226677298546, -0.16736644506454468, -0.47926315665245056, 0.14755895733833313, 0.03806834667921066, -0.8284433484077454, 0.02393976040184498, 0.09253064543008804, -0.1361575573682785, -0.027035513892769814, 0.33731764554977417, 0.115606389939785, -0.19696371257305145, 0.5584242343902588, 0.23597989976406097, 0.06610240787267685, 0.4575399160385132, -0.4201192855834961, 0.5007199645042419, -0.18595349788665771, -0.5050504803657532, -0.46381452679634094, 0.3066103756427765, 0.7075498700141907, -0.1873379647731781, 0.9004544615745544, -0.06629294157028198, -0.8181785345077515, -0.47569435834884644, -0.6036521792411804, -0.375898540019989, -0.44088736176490784, 0.2050369381904602, -0.6384090781211853, -0.7938464879989624, 0.7063905596733093, 0.13566915690898895, -0.3333210051059723, 0.1932990550994873, 0.5496598482131958, -0.1326986849308014, 1.1746656894683838, 0.487258642911911, -0.0394878052175045, 0.35679149627685547, -0.18357893824577332, 0.2769557237625122, -0.7976606488227844, -0.016670387238264084, -0.20465898513793945, -0.1978844702243805, -0.2533872723579407, -0.7016547322273254, 0.2448175996541977, -0.020921269431710243, -0.2700118124485016, 0.08832310140132904, -0.45514899492263794, 0.523067057132721, 0.3688892424106598, 0.3975755572319031, 0.024145973846316338, -0.08790882676839828, -0.32580065727233887, 0.1038513332605362, -0.3606017529964447, -0.7801631093025208, 1.1323107481002808, 0.6090223789215088, 0.6241153478622437, 0.19843626022338867, 0.48944035172462463, 0.4111899435520172, 0.3441774249076843, -0.4925817847251892, 0.7984972596168518, 0.2234126478433609, -1.0827702283859253, -0.292959600687027, 0.05735263600945473, -0.7793093323707581, 0.5341200828552246, -0.13926447927951813, -1.1234872341156006, 0.4401269555091858, 0.1596640944480896, -0.356844037771225, 0.497183233499527, -0.6827629208564758, 0.5171297192573547, -0.035470932722091675, -0.17233097553253174, -0.8750489950180054, -0.36657074093818665, 0.44422003626823425, 0.1776408851146698, 0.09564846754074097, -0.31865668296813965, 0.2866196632385254, 0.5261965394020081, -0.08022741973400116, 1.105267882347107, -0.3211289048194885, -0.4430896043777466, 0.37339144945144653, 0.26749953627586365, 0.4733503758907318, -0.05615932494401932, -0.25131165981292725, 0.07638130336999893, -0.11364194750785828, -0.36203625798225403, -1.0042935609817505, 0.5792360305786133, -0.7690838575363159, -1.088325023651123, -0.3973739445209503, -0.5664423108100891, -0.23536564409732819, 0.11744097620248795, -0.1572294980287552, 0.41240036487579346, -0.21170726418495178, 0.20050771534442902, 0.7030991315841675, -0.18153604865074158, 0.25256675481796265, 0.3158413767814636, -0.5868549346923828, -0.08262167125940323, 0.6449629664421082, 0.2127266675233841, 0.6045766472816467, 0.21961450576782227, 0.08254200965166092, -0.13712775707244873, -0.32556432485580444, 0.2573559582233429, 0.6073163151741028, -1.0920807123184204, 0.2749895453453064, -0.5901821851730347, 0.04417141154408455, -0.37352949380874634, -0.21220393478870392, -0.2806408107280731, -0.13614235818386078, -0.14733721315860748, -0.3690817654132843, 0.0724625214934349, 1.1986818313598633, -0.13554216921329498, 0.37894055247306824, -0.16472271084785461, 0.4786895513534546, 0.5933136940002441, 0.39639174938201904, 0.44232553243637085, -0.26893851161003113, -0.3276303708553314, 0.49264082312583923, 0.10457710176706314, -1.3056561946868896, 0.20894062519073486, -0.22192735970020294, 0.7629698514938354, 0.595236599445343, -0.22084873914718628, 0.7495524883270264, -0.30245912075042725, 0.62305748462677, -0.0071325115859508514, -1.0468714237213135, 0.6471049189567566, -0.6541273593902588, 0.17830120027065277, 0.06435991078615189, 0.3128259778022766, -0.4995250999927521, -0.6454911231994629, -0.5287555456161499, -0.13026119768619537, 0.6233692765235901, 0.020726311951875687, 0.2843917906284332, -0.4191555380821228, 0.41957929730415344, -0.11693434417247772, -0.12294556200504303, -0.9344761371612549, -0.32550331950187683, -0.20576266944408417, -0.03968071565032005, -0.12757103145122528, -0.43810126185417175, -0.15142717957496643, -0.49288204312324524, 0.3455229699611664, -0.24879345297813416, 0.768075704574585, 0.4147445261478424, 0.002955768723040819, -0.3270484209060669, 0.21250267326831818, 0.40798136591911316, 0.8099618554115295, -0.13322760164737701, 0.31271132826805115, 0.12823113799095154, -0.040625326335430145, 0.24092139303684235, -0.341170996427536, 0.027873359620571136, -0.2141013741493225, 0.38079196214675903, 0.6774694919586182, 0.36251071095466614, -0.26019516587257385, 0.247212216258049, -0.11035294085741043, -0.0384054109454155, -0.5389514565467834, 0.18830865621566772, 0.25853651762008667, 0.6497552394866943, 0.6579980254173279, 0.095493845641613, -0.0689215362071991, -1.0212494134902954, -0.05128365382552147, 0.6305713653564453, -0.30725833773612976, -0.708392858505249, 0.8143038153648376, -0.04803285375237465, -0.3036576211452484, 0.13576143980026245, -0.3093706965446472, -0.3999830186367035, 0.5663184523582458, 0.7526870369911194, 1.215904712677002, -0.29998570680618286, 0.36191365122795105, 0.2508644759654999, 0.5536965131759644, -0.16685020923614502, 0.43275371193885803, 0.12933626770973206, -1.575067400932312, -0.30272287130355835, -0.404406875371933, 0.013763843104243279, 0.14541828632354736, -0.6733277440071106, -0.15304554998874664, -0.7105113863945007, -0.42771580815315247, 0.09267614781856537, -0.3850643038749695, -0.7326473593711853, 0.2832556366920471, 0.5880564451217651, 0.44621041417121887, -0.7363995313644409, 1.3609929084777832, 0.6340621113777161, -0.6047821044921875, -0.9026831984519958, 0.27232182025909424, 0.23025526106357574, -0.9154426455497742, 0.839664101600647, 0.01326831802725792, -0.49193572998046875, -0.035627689212560654, -0.718847930431366, -1.0773457288742065, 0.7988857626914978, 0.6678240895271301, -0.2821290194988251, -0.4097355902194977, 0.03365140035748482, 0.7358173131942749, -0.7845466732978821, 0.14145278930664062, 0.4836713671684265, 0.39347708225250244, -0.3840462565422058, -0.7222287058830261, 0.3974645733833313, -0.2166377454996109, 0.22409138083457947, -0.12171956151723862, -0.5994511246681213, 1.0210016965866089, -0.11124704778194427, -0.36564403772354126, -0.2357923984527588, 0.7419930696487427, 0.23872098326683044, -0.07843341678380966, 0.4406639337539673, 0.2150883674621582, 0.8434274792671204, 0.04587110877037048, 1.359374761581421, -0.4045795500278473, 0.2447551041841507, 0.8170316815376282, -0.1957089751958847, 0.5254272818565369, 0.33174803853034973, -0.272677481174469, 0.7051931023597717, 0.2593064308166504, 0.3896210789680481, 0.45245474576950073, -0.06197251379489899, -0.15662366151809692, -0.7202188372612, 0.072788767516613, -0.10139912366867065, 0.41976481676101685, 0.8456920981407166, -0.6915073394775391, 0.09184908866882324, -0.04848679155111313, 0.08905180543661118, 0.24474287033081055, -0.3464677631855011, 0.458959698677063, 0.27607905864715576, -0.7602089047431946, 0.6743639707565308, -0.2527048885822296, 0.48597514629364014, -0.5323599576950073, -0.20258653163909912, 0.0979924127459526, 0.31971266865730286, 0.24134810268878937, -0.8673397302627563, 0.20556209981441498, -0.3954550325870514, -0.21009798347949982, -0.6163902878761292, 0.9610081315040588, -0.20420032739639282, -0.26448097825050354, 0.8224548697471619, 0.4663841426372528, 0.12631992995738983, -0.1569288671016693, -0.5467948913574219, -0.004815211985260248, 0.2866118848323822, -0.37737420201301575, 0.19982418417930603, 0.5738617777824402, -0.07587160915136337, 0.929009735584259, 0.42929044365882874, 0.2775820195674896, 0.018562790006399155, 0.03134102374315262, 0.8520073890686035, -1.0283379554748535, -0.40821149945259094, -1.1112444400787354, 0.3804931342601776, -0.05056597292423248, -0.07040035724639893, 0.7774984240531921, -0.1818973571062088, 0.8174582719802856, -0.14542487263679504, 0.9993550777435303, 0.07603345066308975, 0.4134570062160492, -0.3284710943698883, 1.0654433965682983, -0.6049622297286987, 0.18628811836242676, -0.5233501195907593, -0.5494417548179626, -0.06190492585301399, 0.9247913360595703, -0.6220893263816833, -0.05391489341855049, 0.7845097184181213, 0.6004162430763245, 0.28704434633255005, 0.251995712518692, 0.6428418159484863, 0.5979095697402954, 0.4224635064601898, 0.39760103821754456, 0.8785348534584045, -0.012722262181341648, -0.028355754911899567, -0.08218298107385635, -0.2432263046503067, 0.03469722718000412, -0.5393345952033997, -1.3391414880752563, -0.9680010080337524, 0.0021300402004271746, -0.24581222236156464, 0.1408478021621704, 1.1627446413040161, 0.6521561741828918, -0.5804213285446167, -0.40936604142189026, -0.11535917967557907, 0.2769356369972229, -0.21852976083755493, -0.2221382111310959, -0.020054025575518608, -0.39601799845695496, -0.5520642399787903, 0.43533697724342346, 0.4723219573497772, 0.12289241701364517, -0.7416476607322693, 0.0015479665016755462, -0.35148677229881287, 0.6266770362854004, 0.6468989253044128, 0.08103091269731522, -1.276676058769226, -0.7052590250968933, -0.2827986180782318, -0.125425785779953, 0.016052529215812683, 0.859616219997406, -0.8628973364830017, 0.4476735293865204, 0.4368548095226288, 0.302815705537796, 0.16244496405124664, -0.303410142660141, 1.032991886138916, -0.19512099027633667, 0.34611767530441284, 0.1169048473238945, 0.8171378970146179, 0.022994453087449074, -0.436420202255249, 0.3589783310890198, 0.242117777466774, -0.35685813426971436, -0.8188672661781311, 0.47690653800964355, -0.5550148487091064, -0.5894168615341187, 1.0605632066726685, -0.15683883428573608, -0.49892958998680115, -0.08370416611433029, -0.06379377841949463, 0.29917216300964355, -0.3435686230659485, 0.8673127889633179, 0.9473822116851807, -0.16712287068367004, -0.32388243079185486, -0.5218729972839355, 0.45843011140823364, 0.38108471035957336, -0.5509170889854431, 0.1597360223531723, 0.4655207395553589, 0.11063720285892487, 0.35940712690353394, 0.9668019413948059, 0.10147178173065186, -0.03389628604054451, 0.13477106392383575, 0.1046772226691246, 0.47808271646499634, -0.27700096368789673, -0.25792744755744934, 0.22217299044132233, 0.16611896455287933, 0.09685994684696198 ]
http://arxiv.org/abs/2402.18479v2
http://arxiv.org/pdf/2402.18479v2
NewsQs: Multi-Source Question Generation for the Inquiring Mind
2024-02-28T16:59:35
2024-06-15T15:30:53
Alyssa Hwang, Kalpit Dixit, Miguel Ballesteros, Yassine Benajiba, Vittorio Castelli, Markus Dreyer, Mohit Bansal, Kathleen McKeown
cs.CL
cs.CL
We present NewsQs (news-cues), a dataset that provides question-answer pairs for multiple news documents. To create NewsQs, we augment a traditional multi-document summarization dataset with questions automatically generated by a T5-Large model fine-tuned on FAQ-style news articles from the News On the Web corpus. We show that fine-tuning a model with control codes produces questions that are judged acceptable more often than the same model without them as measured through human evaluation. We use a QNLI model with high correlation with human annotations to filter our data. We release our final dataset of high-quality questions, answers, and document clusters as a resource for future work in query-based multi-document summarization.
[ -0.6743749976158142, -0.702000617980957, 0.48269394040107727, -0.12716761231422424, -0.34908488392829895, -0.041902732104063034, 0.1050831750035286, -0.1423838883638382, 0.2515066862106323, 0.6506385207176208, -0.635261595249176, -0.38429775834083557, -0.1875387728214264, 0.26872679591178894, -0.7470521330833435, 1.2565897703170776, 0.24234777688980103, 0.09694215655326843, -0.49295198917388916, -0.3134705722332001, 0.15939821302890778, -0.39853984117507935, -0.6667696237564087, 0.1648690104484558, 0.6758449077606201, 0.6105929613113403, 0.7813507318496704, 0.07505781203508377, 0.3577629625797272, 0.09631597995758057, 0.04475809633731842, 0.4646165072917938, -0.31776759028434753, 0.201206773519516, 0.029767561703920364, -0.6147263646125793, -0.049290820956230164, 0.18624477088451385, 0.6082625389099121, 0.5860993266105652, 0.019511675462126732, 0.45683661103248596, -0.25415465235710144, 0.7724424004554749, -0.5372318625450134, -0.4367934465408325, -0.6354408860206604, -0.022069284692406654, -0.08322478830814362, -0.32292476296424866, -0.14673452079296112, -0.8890036940574646, -0.16952858865261078, -0.5613003373146057, 0.5093068480491638, 0.08060626685619354, 0.8732046484947205, 0.21822986006736755, -0.8914169073104858, -0.3737272024154663, -0.3507092297077179, 0.5710861682891846, -0.5648834109306335, 0.41422736644744873, 0.3342876434326172, 0.32231801748275757, 0.050337716937065125, -0.6254222989082336, -0.6239621639251709, 0.14875000715255737, -0.10682764649391174, 0.29275113344192505, -0.021999768912792206, -0.44564321637153625, 0.19358430802822113, 0.32321181893348694, -0.779902458190918, -0.4910338222980499, -0.757561445236206, 0.020355992019176483, 0.716730535030365, 0.35405105352401733, 0.11037883907556534, -0.394054114818573, 0.074860580265522, 0.04655645787715912, -0.6580852270126343, 0.18809150159358978, 0.5166668891906738, 0.07100978493690491, 0.18035326898097992, 0.6075795292854309, -0.469180703163147, 0.9359184503555298, 0.2387693077325821, -0.006969641428440809, -0.047573938965797424, -0.8026289343833923, 0.22199082374572754, -0.21277187764644623, 0.6345244646072388, 1.008653998374939, 0.08878190815448761, -0.21399249136447906, 0.15433622896671295, -0.22623376548290253, 0.3433437645435333, -0.5619259476661682, 0.05293572321534157, 0.6873460412025452, -0.23398305475711823, -0.5797953009605408, 0.13194294273853302, -0.6085423231124878, -0.4839434325695038, -0.28801319003105164, 0.2534945607185364, -0.1265585869550705, -0.22548891603946686, 0.06900675594806671, -0.7616395354270935, 0.5200123190879822, 0.4566262364387512, -0.6104733347892761, 0.00468018651008606, 0.2321254163980484, 0.44346877932548523, -0.0338611863553524, -0.15948623418807983, -0.507826566696167, 0.2912411689758301, -0.5037580132484436, 0.8974820971488953, -0.26563337445259094, -0.2999618947505951, -0.0703188106417656, -0.09673197567462921, 0.17271487414836884, -0.2680944800376892, 0.45189329981803894, -0.6834376454353333, 0.8295016884803772, -0.7281121611595154, -0.5595340728759766, 0.09812293201684952, 0.5206374526023865, -0.6235098242759705, 0.9258172512054443, 0.2228958159685135, -1.0712860822677612, 0.22245430946350098, -0.5812554955482483, -0.5376611948013306, -0.08051474392414093, -0.24558638036251068, -0.1744847446680069, -0.014820150099694729, 0.47025442123413086, 0.2915416657924652, -0.41264107823371887, 0.28277888894081116, -0.045634232461452484, -0.054384730756282806, 0.514590859413147, -0.22499312460422516, 0.7455455660820007, 0.3645407557487488, 0.31205716729164124, 0.13617762923240662, -0.755405068397522, 0.26865342259407043, -0.022844024002552032, -0.5071677565574646, -0.34505000710487366, -0.09210095554590225, -0.15876172482967377, 0.3345015347003937, 0.1832989603281021, -0.5176143050193787, -0.043737318366765976, -0.009875934571027756, 0.6319920420646667, 0.06362173706293106, 0.6145365238189697, 0.4337087869644165, -0.6757678985595703, 0.46164023876190186, 0.06171785667538643, 0.47037503123283386, -0.30014199018478394, -0.4481046497821808, -0.6573654413223267, 0.4312884509563446, 0.07699006795883179, 0.42958399653434753, -0.9624090790748596, 0.28250446915626526, 0.11165562272071838, -0.7306886911392212, -0.5876520276069641, -0.015476041473448277, 0.11910242587327957, 0.6734740734100342, 0.4266422390937805, 0.14685100317001343, -0.34408020973205566, -0.8100950121879578, -0.25995153188705444, 0.10095056891441345, -0.1821337342262268, 0.2333521842956543, 0.17962557077407837, 0.6248737573623657, 1.0348644256591797, -0.7157989144325256, 0.26744747161865234, -0.25372374057769775, 0.44374990463256836, 0.09733545035123825, 0.40820029377937317, 0.6469675898551941, -1.1298707723617554, -0.09779428690671921, -0.6093786358833313, -0.7253881692886353, 0.010640502907335758, -0.17688216269016266, -0.42514732480049133, -0.09809012711048126, 0.707166314125061, -0.7556307315826416, -0.04071080684661865, 0.2532370984554291, -0.26194998621940613, 0.5943979620933533, 0.14257176220417023, 0.5108131170272827, -1.609533429145813, 0.03790125623345375, -0.08835098147392273, -0.021639365702867508, -0.4831599295139313, 0.23866556584835052, 0.2781210243701935, -0.41823986172676086, -0.6033810973167419, 0.45209014415740967, -0.24016179144382477, -0.11353540420532227, -0.021398818120360374, 0.42103949189186096, 0.7067871689796448, 0.3337370455265045, -0.27825143933296204, 0.7941135764122009, 0.2990441620349884, -0.8825849890708923, 0.7225901484489441, 0.3070920407772064, -0.24038895964622498, 0.6304157376289368, -0.8168411254882812, 0.28242671489715576, -0.5612082481384277, 0.30257242918014526, -1.1477421522140503, -0.47678038477897644, -0.05485999956727028, -0.6331062316894531, -0.1979784071445465, 0.07252831757068634, -0.5298637747764587, -0.5016806721687317, -0.6672391295433044, 0.2608334720134735, 0.11518185585737228, -0.2687739133834839, 0.2602189779281616, 0.41427451372146606, -0.2666144073009491, -0.4843921959400177, -0.6851951479911804, -0.0593886598944664, -0.005495788529515266, -0.6189889907836914, 0.10373596847057343, -0.35475704073905945, -0.23501557111740112, 0.35339871048927307, -0.03526405617594719, -0.2680133581161499, 0.10270178318023682, -0.07188025861978531, 0.08067101985216141, -0.23564410209655762, 0.46454229950904846, 0.5914832949638367, 0.49930012226104736, 0.10645553469657898, -0.24939127266407013, 0.30525603890419006, 0.0677122250199318, -0.3296719789505005, 0.004874868784099817, 1.033877968788147, 0.8818511962890625, -0.8403201699256897, 0.37141209840774536, 0.5687076449394226, -0.33829331398010254, 0.08960115164518356, -0.5496488809585571, -0.19853879511356354, -0.3538770377635956, 0.22994232177734375, -0.27201297879219055, -1.0772277116775513, 0.4009149670600891, 0.30571219325065613, 0.3569924235343933, 0.40276744961738586, 0.43449562788009644, -0.21550963819026947, 1.1152846813201904, 0.09153768420219421, -0.04345693811774254, 0.3314875364303589, -0.038945745676755905, -0.23547497391700745, -0.500577986240387, -0.12776845693588257, -0.6353965401649475, -0.18384627997875214, -0.14945925772190094, -0.2105308622121811, 0.5731713771820068, 0.19549089670181274, -0.21147580444812775, 0.004489318002015352, -0.4271295666694641, 0.653907835483551, 1.0359013080596924, 0.15351241827011108, 0.5415123105049133, -0.3648826777935028, 0.10411269217729568, 0.32007816433906555, -0.636122465133667, -0.34399864077568054, 1.2532501220703125, -0.16423892974853516, 0.7283721566200256, 0.1803995966911316, 0.5700938701629639, 0.1776629090309143, -0.10107019543647766, -0.4807024896144867, 0.31344497203826904, 0.09939195960760117, -1.0307809114456177, -0.5898911952972412, -0.39759424328804016, -0.8144340515136719, 0.16493944823741913, -0.39679545164108276, -0.27754247188568115, 0.12451257556676865, -0.1489771455526352, -1.045316457748413, 0.10288076847791672, -0.8574529886245728, 0.5782145857810974, -0.26656797528266907, -0.22768917679786682, -0.1283968687057495, -0.7707407474517822, 0.6611824631690979, 0.07138406485319138, 0.12167680263519287, -0.15744878351688385, 0.04248271510004997, 0.6174892783164978, -0.023822491988539696, 0.4180697202682495, -0.018211646005511284, -0.052444301545619965, 0.686075747013092, -0.3227745592594147, 0.0805988758802414, 0.5527377724647522, -0.10188139230012894, -0.3898506164550781, 0.17183555662631989, -0.4098970592021942, -0.814807116985321, 0.48305952548980713, -0.6347169876098633, -0.7196345925331116, -0.05151192098855972, -0.7457315921783447, -0.4092235565185547, 0.2934441864490509, 0.39382287859916687, 0.7619156241416931, -0.06692839413881302, 0.2541010081768036, 0.6833036541938782, -0.31311702728271484, 0.3388247489929199, 0.7629967331886292, -0.32399246096611023, -0.34739330410957336, 0.5294454097747803, 0.12401251494884491, 0.20635981857776642, 0.5010076761245728, -0.014670321717858315, -0.3783692419528961, -0.34849783778190613, -0.7449650168418884, 0.1045948714017868, -0.5367098450660706, -0.4424150586128235, -0.6382725238800049, -0.3473927676677704, -0.7265161871910095, 0.14855021238327026, -0.144328773021698, -0.6201803684234619, -0.3664171099662781, -0.2742794454097748, 0.4618948698043823, 0.5117048621177673, 0.27594196796417236, -0.0019638484809547663, -1.282273292541504, 0.6404879093170166, 0.7351594567298889, 0.14895525574684143, -0.37260568141937256, -0.25794851779937744, -0.3252134621143341, 0.06343919783830643, -0.5015318393707275, -1.1213147640228271, 0.004194359760731459, 0.011736401356756687, 0.41539859771728516, 0.3336421549320221, 0.5957791209220886, 0.20198629796504974, -0.30688560009002686, 0.9414681792259216, 0.03794483840465546, -0.6717092990875244, 0.8602234125137329, -0.7018886804580688, 0.5083340406417847, 0.7415710091590881, 0.5539589524269104, -0.7223791480064392, -0.9362615942955017, -0.5533702373504639, -0.5805165767669678, 0.5368314981460571, -0.032000359147787094, 0.3150237798690796, -0.19559969007968903, 0.6844325661659241, 0.034145474433898926, 0.42652589082717896, -0.22799724340438843, -0.08622857928276062, -0.34862491488456726, -0.18532618880271912, 0.30011051893234253, -0.21806135773658752, -0.434027761220932, -0.2814771831035614, 0.3539925813674927, -0.29130223393440247, 0.1458759605884552, 0.31372860074043274, 0.0657515749335289, -0.46162259578704834, 0.5183056592941284, 0.6638603806495667, 0.7388971447944641, -0.23898139595985413, 0.09936655312776566, 0.01342407800257206, -0.17505775392055511, -0.10109258443117142, 0.1769123524427414, -0.4263116717338562, 0.08023050427436829, -0.03256860002875328, 0.6339983940124512, 0.040875647217035294, -0.582015872001648, 0.5659058094024658, -0.48141223192214966, -0.4985123872756958, -0.20770367980003357, 0.23400220274925232, 0.3796379864215851, 0.29435795545578003, 0.646101176738739, 0.018140330910682678, 0.20848017930984497, -0.506331205368042, 0.33974573016166687, 0.33225008845329285, -0.032952386885881424, -0.1378786712884903, 0.8206984996795654, 0.3414548635482788, 0.09672784805297852, 0.4993133842945099, -0.34501945972442627, -0.143625870347023, 0.577437162399292, 0.14314745366573334, 0.3160456418991089, -0.012082654982805252, 0.5142281651496887, 0.47417542338371277, 0.25851139426231384, -0.051299627870321274, 0.8318156599998474, 0.005965717602521181, -0.8874410390853882, -0.38364002108573914, -0.2636370062828064, -0.7563331723213196, 0.3490019142627716, -0.8084970712661743, 0.28761613368988037, -0.4250052273273468, -0.1965428739786148, 0.07311289012432098, 0.06018802151083946, -0.352785587310791, 0.5276041626930237, -0.02851494401693344, 0.9246335625648499, -0.8139051795005798, 0.7479620575904846, 0.8545809388160706, -0.9702037572860718, -0.7986204028129578, 0.15363535284996033, -0.2996767461299896, -0.3892940282821655, -0.03138818219304085, -0.15472154319286346, 0.27327287197113037, 0.2959096133708954, -0.935580313205719, -1.1119012832641602, 1.2132139205932617, 0.43546944856643677, -0.09211066365242004, -0.29424357414245605, -0.0036636211443692446, 0.26487621665000916, -0.0419602133333683, 0.2912188470363617, 0.4563736617565155, 0.3891741633415222, 0.03343092277646065, -0.45920297503471375, -0.1071765348315239, -0.43948572874069214, -0.4886159598827362, 0.2705025374889374, -0.8617330193519592, 1.116432547569275, -0.3911651372909546, -0.07735105603933334, -0.12286302447319031, 0.6841563582420349, 0.18478932976722717, 0.40227603912353516, 0.39238232374191284, 0.46099022030830383, 0.9852405786514282, -0.025416065007448196, 1.1336373090744019, -0.5613603591918945, 0.07555323094129562, 1.218923568725586, -0.015901749953627586, 0.5875429511070251, 0.4045089781284332, -0.10076658427715302, 0.1008635014295578, 0.6361169219017029, 0.042248621582984924, 0.40859290957450867, 0.16007256507873535, -0.15022705495357513, -0.24555855989456177, -0.3227093517780304, -0.5118868350982666, 0.34359198808670044, 0.29849255084991455, -0.13221706449985504, -0.5269424319267273, -0.012255420908331871, -0.13028836250305176, 0.06073707714676857, -0.22769547998905182, 0.6708984375, -0.18026162683963776, -0.9144508242607117, 0.20104998350143433, 0.05168520286679268, 0.41341057419776917, -0.599117636680603, 0.22633881866931915, -0.7719434499740601, -0.3670770823955536, -0.18165098130702972, -0.937741219997406, 0.30101412534713745, 0.05834116041660309, -0.5260986089706421, 0.108245350420475, 0.6662798523902893, -0.7005200982093811, -0.554450511932373, -0.40986302495002747, 1.0444755554199219, 0.15332259237766266, -0.31762903928756714, -0.589747965335846, -0.4384763538837433, -0.06978318840265274, -0.3407173454761505, 0.22738386690616608, 0.6745109558105469, -0.051170434802770615, 0.41657885909080505, 0.6210370659828186, -0.21342502534389496, 0.26823070645332336, 0.45235908031463623, 0.9336900115013123, -0.7351623773574829, -0.5360332131385803, -0.2641073167324066, 0.4364004135131836, -0.2811320424079895, -0.6284289360046387, 0.7619960308074951, 0.6640059351921082, 0.5645948052406311, 0.013666638173162937, 1.1228724718093872, 0.034627050161361694, 0.8502189517021179, -0.5254231095314026, 0.8230600953102112, -0.8091402649879456, -0.20338349044322968, -0.0931011214852333, -0.41745471954345703, -0.20337247848510742, 0.09906446188688278, 0.12972354888916016, -0.11141268908977509, 0.7252041101455688, 0.8172719478607178, 0.3948376476764679, 0.3888367712497711, 0.19009055197238922, -0.21881555020809174, 0.15638206899166107, 0.5362923741340637, 1.087155818939209, -0.5060780048370361, 0.8394736647605896, -0.20685015618801117, 0.08237320929765701, 0.06121613085269928, -0.6119544506072998, -0.8509874939918518, -0.7321107983589172, -0.2790484130382538, -0.16847050189971924, -0.10476786643266678, 0.813697874546051, 0.34512045979499817, -0.8935552835464478, 0.11988513171672821, -0.10754568129777908, 0.4737338721752167, -0.08476972579956055, -0.2584303915500641, 0.3238759934902191, -0.6112599968910217, -0.6678147315979004, 0.2664743661880493, -0.04636949673295021, 0.07722901552915573, -0.3841950595378876, 0.278872013092041, -0.4240928888320923, 0.08602316677570343, 0.41202306747436523, 0.037212811410427094, -0.1909860074520111, -0.26554208993911743, 0.37840357422828674, -0.31505200266838074, -0.13688458502292633, 0.9150977730751038, -0.45121335983276367, 0.08050660789012909, 0.5483829379081726, 0.6556448340415955, 0.2622782588005066, 0.27301329374313354, 0.48507794737815857, -1.157987356185913, -0.04868549481034279, 0.13815806806087494, 0.10314211994409561, 0.3905870318412781, -0.5673090815544128, 0.3623534142971039, 0.09666801244020462, -0.31769219040870667, -0.4011525809764862, 0.16690057516098022, -0.7932416796684265, -0.4607715308666229, 1.1984584331512451, 0.2216678261756897, -0.15833134949207306, -0.3284309208393097, -0.27381622791290283, 0.46134769916534424, -0.5937734842300415, 0.6727209687232971, 0.844581663608551, -0.21296176314353943, -0.4634474813938141, -0.5143818259239197, 0.4760896861553192, 0.2743823826313019, -0.9976069927215576, 0.021734846755862236, 0.7481920123100281, 0.13606807589530945, 0.1988145411014557, 0.6813229918479919, -0.23715457320213318, 0.49478504061698914, -0.022321490570902824, -0.008449404500424862, -0.1871872842311859, -0.10079240053892136, 0.04849564656615257, 0.6215177178382874, -0.056064724922180176, -0.3121494650840759 ]
http://arxiv.org/abs/2402.18458v1
http://arxiv.org/pdf/2402.18458v1
Meta-Task Prompting Elicits Embedding from Large Language Models
2024-02-28T16:35:52
2024-02-28T16:35:52
Yibin Lei, Di Wu, Tianyi Zhou, Tao Shen, Yu Cao, Chongyang Tao, Andrew Yates
cs.CL
cs.CL
In this work, we introduce a new unsupervised embedding method, Meta-Task Prompting with Explicit One-Word Limitation (MetaEOL), for generating high-quality sentence embeddings from Large Language Models (LLMs) without the need for model fine-tuning or task-specific engineering. Leveraging meta-task prompting, MetaEOL guides LLMs to produce embeddings through a series of carefully designed prompts that address multiple representational aspects. Our comprehensive experiments demonstrate that embeddings averaged from various meta-tasks yield competitive performance on Semantic Textual Similarity (STS) benchmarks and excel in downstream tasks, surpassing contrastive-trained models. Our findings suggest a new scaling law for embedding generation, offering a versatile, resource-efficient approach for embedding extraction across diverse sentence-centric scenarios.
[ -0.38362497091293335, -0.7874588966369629, 0.7942194938659668, 0.34837496280670166, -0.45825207233428955, -0.3111596405506134, -0.26271283626556396, 0.19653961062431335, 0.43631792068481445, 0.6347845792770386, -0.8853588700294495, -0.6086721420288086, -0.5641393065452576, 0.18305328488349915, -0.22460214793682098, 0.8317420482635498, -0.017137916758656502, -0.3494585454463959, -0.7205494046211243, 0.011821204796433449, -0.7240476608276367, -0.04135973006486893, -0.05233200266957283, -0.027688149362802505, 0.5129362940788269, 0.5609110593795776, 0.5259769558906555, 0.5983785390853882, -0.04743213579058647, 0.19742600619792938, 0.19462674856185913, 0.37195950746536255, -0.13313941657543182, 0.4270036816596985, -0.17875142395496368, -0.11064557731151581, -0.21748711168766022, 0.04769330844283104, 0.6715865135192871, 0.5806354880332947, -0.11934838443994522, 0.46357786655426025, 0.5422792434692383, 0.3407966196537018, -0.9693260788917542, 0.25461894273757935, -0.569379448890686, 0.10249748080968857, -0.06967764347791672, -0.22858645021915436, -0.7211155295372009, -0.03829910233616829, 0.12842869758605957, -0.5712860226631165, 0.03664737194776535, -0.006539714056998491, 0.49460166692733765, 0.4111878275871277, -0.4084565341472626, -0.3691200017929077, -0.1768007129430771, 0.6730898022651672, -0.5050151348114014, 0.35485348105430603, 0.0676427111029625, -0.13673135638237, 0.19940043985843658, -0.7114442586898804, -0.4888111650943756, -0.33424732089042664, -0.0856395959854126, -0.0499831885099411, -0.34635645151138306, -0.13631610572338104, 0.2534407079219818, -0.1689603477716446, -0.47159555554389954, -0.015355919487774372, 0.08205144852399826, 0.11021270602941513, 0.18157227337360382, 0.1992315948009491, 0.23124220967292786, -0.4942237436771393, -0.21991147100925446, -0.16645045578479767, -0.8278627991676331, -0.23850120604038239, 0.09814637154340744, 0.5059278607368469, 0.14726267755031586, 0.7328289747238159, 0.01840030774474144, 0.4922875165939331, 0.11393111944198608, 0.3676503300666809, 0.2738720178604126, -0.12355624884366989, -0.1314445286989212, -0.02931939624249935, 1.1293139457702637, 0.3289567232131958, 0.3775026500225067, -0.16328519582748413, -0.17984634637832642, -0.11983216553926468, 0.38042381405830383, -0.7606440186500549, 0.2004520297050476, 0.10197889059782028, -0.39137792587280273, -0.2944258749485016, 0.2806788384914398, -0.8200128078460693, -0.2218565195798874, -0.06018826737999916, 0.6343672275543213, -0.264743447303772, -0.13865555822849274, 0.07718033343553543, -0.2478155940771103, 0.028059253469109535, -0.11949407309293747, -0.8859877586364746, 0.01072302833199501, 0.5871180295944214, 0.7837865352630615, 0.05024120211601257, -0.49158182740211487, -0.8734506964683533, 0.28195884823799133, -0.47629478573799133, 0.47810986638069153, -0.7108190059661865, -0.4538908898830414, 0.36451447010040283, -0.023647688329219818, 0.03840097039937973, -0.5078575015068054, 0.30626142024993896, -0.2704105079174042, 0.10945169627666473, -0.5664633512496948, -0.45468267798423767, 0.10993435233831406, 0.26601338386535645, -0.6275236010551453, 1.1174942255020142, -0.07667000591754913, -0.7016730904579163, 0.49885034561157227, -0.8773012161254883, -0.43176504969596863, 0.19740651547908783, -0.30306559801101685, -0.10498932003974915, 0.42752283811569214, 0.5782281160354614, 0.8953632116317749, -0.27975383400917053, 0.2096906304359436, -0.18409009277820587, -0.00004240464841132052, -0.015377599745988846, -0.4360395073890686, 0.22371798753738403, -0.005576907657086849, -0.3702738881111145, 0.11618015915155411, -0.2649877965450287, 0.106388159096241, 0.16460660099983215, -0.27364975214004517, -0.3765007555484772, 0.050073783844709396, -0.03887462988495827, 0.21636928617954254, 0.48005253076553345, -0.7106616497039795, 0.3800588846206665, -0.18400783836841583, 0.6763047575950623, 0.6215460300445557, -0.05841441452503204, 0.3503388464450836, -0.05646917223930359, 0.5124009251594543, -0.24942058324813843, -0.21969398856163025, -0.6632227301597595, -0.188092902302742, -0.42786192893981934, -0.4830572307109833, 0.31613633036613464, 0.39006370306015015, -0.6655502319335938, 0.5852043628692627, -0.5193907022476196, -0.1712368279695511, -0.6806230545043945, 0.26926493644714355, 0.32867833971977234, 0.16038735210895538, 0.42888256907463074, 0.1994553655385971, -0.4318481385707855, -0.879789412021637, -0.3097485303878784, 0.2649020552635193, -0.15693609416484833, 0.38079163432121277, 0.5224624276161194, -0.3308686316013336, 0.9940664172172546, -0.6850224733352661, -0.225677952170372, -0.5029475688934326, 0.4920043647289276, -0.019802836701273918, 0.3939632475376129, 0.4238680303096771, -0.4461859166622162, -0.6713160276412964, -0.2635798156261444, -0.7388021945953369, -0.26635417342185974, 0.0016312611987814307, 0.044171012938022614, -0.0005183020257391036, 1.0251529216766357, -0.8577864766120911, 0.10439962893724442, 0.608782172203064, -0.440985769033432, 0.32999175786972046, -0.4575417935848236, 0.1035836711525917, -1.376343846321106, 0.11748694628477097, -0.28189435601234436, -0.4398397207260132, -0.196379616856575, 0.19952432811260223, 0.208933487534523, -0.4013654291629791, -0.45840984582901, 0.6017816066741943, -0.5881049036979675, 0.05433676764369011, -0.35467344522476196, 0.3017468750476837, -0.018845850601792336, 0.17363767325878143, 0.036380328238010406, 0.7369847297668457, 0.5827454328536987, -0.6169456243515015, 0.09417854249477386, 0.42020848393440247, -0.17201583087444305, 0.26810401678085327, -0.9384066462516785, 0.02635153941810131, -0.21484056115150452, 0.35277605056762695, -0.8998826146125793, -0.12929996848106384, -0.012068577110767365, -0.18985114991664886, 0.08309344947338104, -0.053572043776512146, -0.740003228187561, -0.45532017946243286, -0.4091218113899231, 0.3715682029724121, 0.6176498532295227, -0.6259472966194153, 0.593423068523407, 0.029524216428399086, -0.2843738794326782, -0.4571545720100403, -0.8115692138671875, 0.10345692932605743, 0.008236126974225044, -0.4634801745414734, 0.47944092750549316, 0.05108460783958435, 0.20155562460422516, 0.2588670253753662, 0.19594363868236542, 0.330872118473053, -0.05467893183231354, 0.3626842498779297, 0.10479769110679626, -0.16183027625083923, 0.39813894033432007, 0.3776593506336212, -0.17111797630786896, 0.23077936470508575, -0.6016796231269836, 0.6836631894111633, 0.08242084085941315, -0.4953339397907257, -0.37904614210128784, 0.7118380069732666, 0.7532224059104919, -0.5299789905548096, 0.6547402739524841, 0.5598765015602112, -0.3353303074836731, -0.32356205582618713, -0.43572214245796204, -0.3194180727005005, -0.504978358745575, 0.33633458614349365, -0.37749576568603516, -1.0894644260406494, 0.008794307708740234, -0.25444817543029785, 0.2231980711221695, 0.43309640884399414, 0.6003879904747009, -0.007038967218250036, 1.2641966342926025, 0.549238383769989, 0.10433108359575272, 0.4657847285270691, -0.06881827116012573, -0.06702379882335663, -0.8980424404144287, -0.07732478529214859, -0.33753663301467896, -0.2629089057445526, -0.6091217398643494, -0.6539549827575684, 0.35038959980010986, -0.20611295104026794, -0.20027634501457214, 0.44714871048927307, -0.4240066409111023, 0.5465608835220337, 0.6116619110107422, 0.059826306998729706, -0.17784811556339264, -0.16994979977607727, -0.49578315019607544, -0.0981358215212822, -0.7188920378684998, -0.6008152961730957, 1.0242829322814941, 0.06232142448425293, 0.6128410696983337, -0.051936499774456024, 0.939072847366333, 0.4097050428390503, -0.020495619624853134, -0.6368155479431152, 0.5662609934806824, -0.35892415046691895, -0.27413520216941833, -0.3412279486656189, -0.31019747257232666, -1.0852197408676147, 0.23897026479244232, -0.5196728110313416, -0.586319625377655, -0.07781583070755005, 0.10824350267648697, -0.5828966498374939, 0.0966041311621666, -0.3432828187942505, 0.9557276964187622, 0.2735458016395569, -0.13318295776844025, -0.21261678636074066, -0.25967738032341003, -0.08747981488704681, 0.23830156028270721, 0.14213040471076965, 0.0006602403591386974, -0.3678121566772461, 0.6252843737602234, -0.26265057921409607, 0.8705059289932251, -0.2634798586368561, -0.0952487587928772, 0.4170961081981659, 0.35317468643188477, 0.7792046070098877, 0.14958696067333221, 0.04729381203651428, -0.41821548342704773, -0.2930946946144104, -0.3203893005847931, -0.5734396576881409, 0.7105307579040527, -0.24659229815006256, -0.6307559013366699, -0.03296343982219696, -0.6223056316375732, -0.29189062118530273, 0.1370372772216797, 0.5257793068885803, 0.5391666293144226, -0.34216323494911194, 0.42495831847190857, 0.7962099313735962, -0.3326207995414734, 0.7205386161804199, 0.26330122351646423, -0.05116073414683342, -0.372976690530777, 0.8524474501609802, -0.08943887054920197, 0.100926972925663, 0.551615297794342, 0.2912229895591736, -0.3581041991710663, -0.12199085205793381, -0.4460718035697937, 0.21396197378635406, -0.49165284633636475, -0.13968835771083832, -0.9912827014923096, 0.12780974805355072, -0.7041383385658264, -0.3541628420352936, -0.5193068981170654, -0.17934493720531464, -0.39345449209213257, -0.23780310153961182, 0.05781630054116249, 0.9486819505691528, 0.005000092554837465, 0.1516890525817871, -1.1269316673278809, 0.0699298083782196, 0.7127072811126709, -0.08543454110622406, 0.06017341837286949, -0.3320157825946808, -0.098859503865242, -0.14544206857681274, -0.32756614685058594, -0.7835028767585754, 0.2652714252471924, 0.2327139675617218, 0.58367919921875, 0.5713766813278198, 0.18016289174556732, 0.3575669825077057, -0.971963107585907, 1.0298726558685303, 0.24674290418624878, -1.332896113395691, 0.7744137644767761, -0.41195937991142273, 0.48882296681404114, 0.42291003465652466, 0.4717097580432892, -0.43462708592414856, -0.30838721990585327, -0.6340398788452148, -0.8237369656562805, 0.28324535489082336, -0.13149960339069366, 0.7825356721878052, -0.5291888117790222, 0.21246078610420227, 0.13461437821388245, 0.3956505060195923, -0.6259297728538513, 0.058553677052259445, -0.18452540040016174, -0.339913010597229, 0.026905758306384087, -0.41789868474006653, 0.08509181439876556, 0.10459252446889877, 0.30031314492225647, -0.3843095302581787, 0.3285844624042511, 0.2491995096206665, -0.4446548521518707, 0.016791753470897675, 0.4232232868671417, 0.6324687600135803, 0.47612813115119934, 0.17117202281951904, 0.24819278717041016, 0.4018208682537079, -0.1191757395863533, 0.0009677335037849844, -0.08191300183534622, -0.05692875385284424, 0.1333247870206833, 0.6466080546379089, 0.7263607978820801, 0.4657506048679352, -0.6915483474731445, 0.8976905345916748, 0.2153843194246292, -0.4512804448604584, 0.19995750486850739, -0.13859553635120392, 0.20476120710372925, 0.3374883830547333, 0.33299610018730164, -0.41459059715270996, 0.01711268536746502, -0.5794636011123657, 0.4083876311779022, 0.6687569618225098, -0.5059369206428528, -0.19138666987419128, 0.6822113394737244, 0.3886812925338745, -0.0675671175122261, 0.6800233721733093, -0.3635629117488861, -0.5465258955955505, 0.1629886031150818, 0.5777658224105835, 0.8857470750808716, -0.15141655504703522, 0.6147668361663818, 0.44940653443336487, 0.3030073046684265, -0.1659470498561859, 0.2614375352859497, -0.09919650107622147, -0.41621431708335876, -0.580041766166687, -0.41963431239128113, -0.17232142388820648, -0.16353677213191986, -0.7708240151405334, 0.2134595513343811, -0.387723833322525, -0.0334237664937973, -0.2807919383049011, -0.4234721064567566, -0.6216976046562195, -0.020999524742364883, 0.29139038920402527, 0.8494495153427124, -0.9174141883850098, 0.4015888273715973, 0.6766210198402405, -0.19473114609718323, -0.6668016910552979, 0.1430504471063614, -0.10591688007116318, -0.6540436744689941, 0.4738409221172333, 0.3683303892612457, 0.13644801080226898, 0.10394265502691269, -0.5353538393974304, -0.5380508899688721, 1.3046687841415405, 0.5851399302482605, -0.5695740580558777, -0.23793499171733856, 0.20510105788707733, 0.22147946059703827, -0.8217378258705139, 0.12075874209403992, 0.15935415029525757, 0.5150660872459412, -0.15695586800575256, -0.6084150075912476, 0.5929426550865173, 0.0026077658403664827, -0.05015947297215462, 0.2697981595993042, -0.364991158246994, 0.9658301472663879, -0.3747403621673584, -0.23716552555561066, -0.03934045881032944, 0.6067989468574524, 0.27101847529411316, -0.04723203554749489, 0.7466751933097839, 0.6459388136863708, 0.7319175601005554, 0.03268775716423988, 1.0058883428573608, -0.2739378809928894, 0.23011581599712372, 1.1533973217010498, -0.2016998827457428, 1.0520985126495361, 0.4645017981529236, 0.25237101316452026, 0.7652564644813538, 0.29505395889282227, -0.07128646224737167, 0.593904435634613, 0.05432528257369995, -0.21483014523983002, -0.6671103239059448, -0.34288179874420166, -0.2632726728916168, 0.3992833197116852, 0.21914814412593842, -0.6095408797264099, -0.35306811332702637, 0.4359827935695648, -0.019652316346764565, 0.021710798144340515, -0.07098297029733658, 0.8381116986274719, 0.10036826878786087, -0.757256805896759, 0.18426966667175293, -0.17439810931682587, 0.8019598722457886, -0.5901328325271606, -0.02205715700984001, 0.09803038835525513, -0.3130073845386505, 0.15397579967975616, -0.7468728423118591, 0.12221034616231918, 0.06586693227291107, -0.33766406774520874, -0.5652918219566345, 0.40608450770378113, -0.6278770565986633, -0.28130632638931274, 0.32249715924263, 0.7659309506416321, -0.11781707406044006, -0.36632564663887024, -0.46229082345962524, -0.12595084309577942, -0.21203312277793884, -0.377114862203598, 0.20980173349380493, 0.755156934261322, 0.15699346363544464, 0.5354752540588379, 0.5589830279350281, -0.12146924436092377, -0.1398388296365738, 0.08896250277757645, 0.7757510542869568, -0.6541887521743774, -0.5437173247337341, -0.9480094909667969, 0.5717796087265015, 0.09440342336893082, -0.23827442526817322, 0.527070164680481, 0.2289418876171112, 0.3723461627960205, -0.33676785230636597, 0.7976957559585571, -0.19219373166561127, 0.16491025686264038, -0.5744895339012146, 0.4713957905769348, -0.7927688956260681, -0.011781171895563602, -0.2920042872428894, -0.9059023857116699, 0.07086140662431717, 0.3329463303089142, -0.012142114341259003, -0.08864793181419373, 0.8989811539649963, 0.7408736348152161, -0.08347788453102112, -0.21062734723091125, 0.42634159326553345, -0.022068671882152557, 0.13970543444156647, 0.4751567244529724, 0.615616500377655, -0.15815342962741852, 0.6901422739028931, 0.37086090445518494, -0.03704150393605232, -0.23701269924640656, -1.1289846897125244, -0.9227397441864014, -0.7566115856170654, -0.30875471234321594, -0.28067976236343384, -0.08381205797195435, 1.1962294578552246, 0.6828585863113403, -0.4755652844905853, 0.2132391780614853, -0.20422989130020142, -0.0011536532547324896, -0.2349637746810913, -0.2025941163301468, 0.31056568026542664, -0.5589547157287598, -0.7742246985435486, 0.5198069214820862, 0.209916353225708, -0.04720335826277733, -0.26707723736763, 0.012155840173363686, -0.10860413312911987, 0.37698954343795776, 0.650619626045227, -0.09514354914426804, -0.6442687511444092, -0.3427862524986267, 0.01872374303638935, -0.19505566358566284, -0.3464219570159912, 1.0522884130477905, -0.6404244303703308, 0.08520841598510742, 0.6918297410011292, 0.7557215094566345, 0.22816860675811768, -0.2557936906814575, 0.651722252368927, -1.2092405557632446, -0.10711507499217987, 0.02356170304119587, 0.38427242636680603, 0.17295926809310913, -0.237663134932518, 0.26688265800476074, -0.050018031150102615, -0.33102503418922424, -0.624005913734436, 0.17456455528736115, -0.6292325854301453, -0.5043787360191345, 1.2303065061569214, -0.234321728348732, -0.13654360175132751, 0.35392582416534424, -0.1457059681415558, 0.09254341572523117, -0.47650355100631714, 0.35874396562576294, 0.7781250476837158, 0.2279258817434311, -0.19085891544818878, -0.37907296419143677, 0.3466739058494568, 0.6132524013519287, -0.8136138319969177, 0.44635599851608276, 0.18431825935840607, 0.3339005410671234, 0.31385108828544617, 0.27841198444366455, 0.05710672587156296, 0.33004698157310486, 0.0960019901394844, -0.02546529285609722, -0.4037369191646576, -0.4485355019569397, -0.12128949910402298, 0.35171982645988464, -0.19690820574760437, -0.2655041813850403 ]
http://arxiv.org/abs/2402.18449v1
http://arxiv.org/pdf/2402.18449v1
HOP to the Next Tasks and Domains for Continual Learning in NLP
2024-02-28T16:21:02
2024-02-28T16:21:02
Umberto Michieli, Mete Ozay
cs.CL
cs.CL, cs.AI, cs.LG
Continual Learning (CL) aims to learn a sequence of problems (i.e., tasks and domains) by transferring knowledge acquired on previous problems, whilst avoiding forgetting of past ones. Different from previous approaches which focused on CL for one NLP task or domain in a specific use-case, in this paper, we address a more general CL setting to learn from a sequence of problems in a unique framework. Our method, HOP, permits to hop across tasks and domains by addressing the CL problem along three directions: (i) we employ a set of adapters to generalize a large pre-trained model to unseen problems, (ii) we compute high-order moments over the distribution of embedded representations to distinguish independent and correlated statistics across different tasks and domains, (iii) we process this enriched information with auxiliary heads specialized for each end problem. Extensive experimental campaign on 4 NLP applications, 5 benchmarks and 2 CL setups demonstrates the effectiveness of our HOP.
[ -0.13206356763839722, -0.4531586170196533, 0.6470658779144287, 0.5635895729064941, -0.0931914672255516, 0.1332014799118042, -0.21353508532047272, -0.5474570393562317, 0.08025377243757248, 0.4917580485343933, -0.7159004807472229, -0.47125956416130066, -0.7036945223808289, 0.13551118969917297, -0.12579628825187683, 1.0455602407455444, 0.06962066888809204, -0.2508736550807953, -0.34974315762519836, -0.2896422743797302, -1.186919927597046, -0.6145198941230774, -1.0001180171966553, -0.21295922994613647, 0.6073543429374695, 0.5286876559257507, 0.4358840882778168, 0.13607753813266754, 0.5049311518669128, 0.17375123500823975, -0.01902911439538002, 0.2964078187942505, -0.5387811064720154, 0.3674266040325165, -0.597822368144989, -0.4145013093948364, -0.1363557130098343, -0.14005360007286072, 0.5512146949768066, 1.1507970094680786, 0.2550390660762787, 0.18569092452526093, 0.36287131905555725, 0.740636944770813, -0.6026010513305664, 0.08254586160182953, -0.679273247718811, 0.09271736443042755, -0.12307702749967575, -0.49127396941185, -0.5491597652435303, -0.0550386980175972, 0.32303667068481445, -0.6246029734611511, -0.05292253568768501, 0.03843005374073982, 0.5459071397781372, 0.3331608772277832, -0.2104148268699646, -0.4894590377807617, -0.8869245052337646, 0.8671107888221741, -0.2409086376428604, 0.6349968314170837, 0.20267203450202942, 0.11707806587219238, -0.12740306556224823, -1.0416152477264404, -0.18357518315315247, -0.11415612697601318, 0.22831305861473083, 0.18742018938064575, -0.05844668298959732, -0.38632747530937195, 0.09114138036966324, -0.2579324245452881, -0.5571271181106567, -0.09313711524009705, -0.2156759351491928, 0.031050559133291245, 0.46727991104125977, 0.18352848291397095, 0.2502574622631073, 0.4844460189342499, -0.48137766122817993, -0.025262074545025826, -0.699993908405304, 0.10560812056064606, -0.2393294721841812, 0.38318902254104614, 0.12765541672706604, 0.3557373881340027, 0.12821348011493683, 0.8368250727653503, 0.09161270409822464, -0.16169266402721405, 0.3554583489894867, -0.09169285744428635, 0.07578621059656143, -0.27597513794898987, 0.19775964319705963, 0.06221716105937958, 0.3408951163291931, -0.5430901646614075, -0.15943707525730133, -0.3547903299331665, 0.5699516534805298, 0.026392528787255287, -0.24581453204154968, 0.24176117777824402, -0.2964209318161011, 0.08266615122556686, -0.2792277932167053, -0.6060085296630859, -0.1345185786485672, -0.6444611549377441, 0.5259456634521484, -0.5837007761001587, -0.1466778963804245, 0.11550222337245941, -0.049106791615486145, 0.2053488790988922, 0.37354281544685364, -0.5693441033363342, 0.49252837896347046, 0.7754914164543152, 1.284340739250183, -0.7451152205467224, -0.6311830282211304, -0.890299916267395, 0.29300451278686523, -0.29015809297561646, 0.7674168348312378, -0.6172436475753784, -0.5568333864212036, 0.16465674340724945, 0.13477405905723572, -0.46677926182746887, -0.613190233707428, 0.267249196767807, -0.723183274269104, -0.27168112993240356, -0.17000629007816315, -0.6548855304718018, -0.21853238344192505, 0.20469048619270325, -0.37669360637664795, 0.7406870722770691, 0.16503167152404785, -0.7332577705383301, 0.35725685954093933, -0.7114285230636597, -0.39331358671188354, 0.276169091463089, 0.05576266720890999, -0.2822893559932709, -0.007096056826412678, -0.20509988069534302, 0.4393547475337982, 0.17575202882289886, 0.1624429076910019, -0.3305680453777313, -0.16010892391204834, -0.0538756400346756, -0.008897213265299797, 0.9159032106399536, 0.08385572582483292, -0.25525957345962524, -0.05534454062581062, -0.4982762932777405, -0.08434855937957764, 0.18948273360729218, -0.25043779611587524, -0.650371789932251, 0.11155600845813751, -0.030512334778904915, 0.23868060111999512, 0.2230653017759323, -0.169644296169281, 0.32005277276039124, -0.23284952342510223, 0.007282983511686325, 0.6577698588371277, 0.504223108291626, 0.33750760555267334, -0.5273743271827698, 0.509807825088501, 0.226361483335495, -0.021874086931347847, -0.15463349223136902, -0.8230381608009338, -0.6688686609268188, 0.1107977032661438, 0.18068958818912506, 0.718944787979126, -0.5052194595336914, 0.4148274064064026, -0.33950144052505493, -0.293649822473526, 0.20180276036262512, 0.273567795753479, 0.10726167261600494, 0.33710020780563354, 0.6146032214164734, -0.36722591519355774, -0.4321899116039276, -0.01026358362287283, -0.3182530999183655, -0.023247674107551575, -0.09358995407819748, 0.32499414682388306, 0.7697729468345642, -0.49622827768325806, 1.0278644561767578, -0.46443790197372437, -0.3598552942276001, -0.22695212066173553, 0.27471184730529785, 0.21005333960056305, 0.7075268626213074, 0.4731820523738861, -0.9387498497962952, -0.6959660053253174, 0.038652677088975906, -0.6644834876060486, 0.11411852389574051, -0.9400929808616638, -0.3148113787174225, -0.14783361554145813, 0.6167199015617371, -0.4509730041027069, 0.20041906833648682, 0.279110848903656, -0.23165613412857056, 0.8528265357017517, -0.03215760365128517, -0.4117785096168518, -0.7330365180969238, 0.1580049991607666, -0.17468003928661346, -0.3860090672969818, -0.7013267874717712, -0.04276759922504425, -0.2775115966796875, -0.06836641579866409, -0.267910361289978, 0.6623236536979675, -0.41434407234191895, -0.12591564655303955, -0.2910797894001007, 0.17048774659633636, -0.19752520322799683, 0.6036843657493591, 0.3410392701625824, 0.5943574905395508, 0.7892796993255615, -1.1041842699050903, 0.20818345248699188, 0.3463664948940277, 0.08294589072465897, 0.4259577691555023, -0.7265419363975525, 0.30687177181243896, 0.1135171502828598, 0.06856589019298553, -0.6431746482849121, 0.23325872421264648, 0.25758376717567444, -0.5777405500411987, 0.30584922432899475, -0.14707104861736298, -0.1954295039176941, -0.34610316157341003, 0.16446155309677124, 0.41583189368247986, 0.4532429873943329, -0.6418474912643433, 0.4259711503982544, 0.33533164858818054, -0.24517814815044403, -0.669107973575592, -0.33940204977989197, 0.05138769745826721, -0.3172866106033325, -0.2456948161125183, 0.3576139807701111, -0.25622209906578064, -0.21238352358341217, 0.014297469519078732, -0.2532951831817627, -0.2071792036294937, 0.09384950250387192, 0.31857603788375854, -0.0611879788339138, -0.039206504821777344, 0.3169969916343689, -0.18445663154125214, -0.1850602775812149, 0.09491749852895737, -0.9938974380493164, 0.6210116147994995, -0.126729354262352, -0.3791128993034363, -0.12630847096443176, 0.5366294384002686, 0.26849421858787537, -0.11314588040113449, 0.5649740099906921, 0.5396120548248291, -0.3784232437610626, -0.44563722610473633, -0.2166016399860382, 0.18481603264808655, -0.4156505763530731, 0.13118819892406464, -0.443029522895813, -0.8469103574752808, 0.3830288350582123, -0.6040157675743103, 0.47263744473457336, 0.34845638275146484, 0.47445374727249146, -0.3436959981918335, 0.349720299243927, 1.2800188064575195, -0.18213462829589844, 0.30906549096107483, -0.3513132333755493, 0.19325777888298035, -0.7791219353675842, -0.17484347522258759, -0.38489046692848206, -0.13852979242801666, -0.12992316484451294, -0.5498631596565247, 0.42820197343826294, 0.6037731766700745, -0.29167988896369934, 0.6143486499786377, -0.15835313498973846, 0.2618321478366852, 0.5820624828338623, 0.11136266589164734, 0.22709116339683533, -0.17946739494800568, -0.17773307859897614, 0.11609245836734772, -0.7330762147903442, -0.028157442808151245, 1.0299209356307983, 0.24246154725551605, 0.31524187326431274, -0.03327146917581558, 0.9361901879310608, 0.5565750598907471, 0.1280401349067688, -0.8705019354820251, 0.3287815749645233, 0.12072449922561646, -0.22306756675243378, -0.32225123047828674, -0.2541447579860687, -1.128512978553772, -0.020828306674957275, 0.08046047389507294, -0.8687360286712646, 0.3488115072250366, 0.25487345457077026, -0.44220978021621704, 0.2583772838115692, -0.19211040437221527, 0.7388249039649963, -0.220968097448349, -0.4352893531322479, -0.2241533398628235, -0.876448929309845, 0.18803943693637848, -0.2691228687763214, 0.13389843702316284, 0.1669914275407791, -0.05329849570989609, 0.7313160300254822, -0.157293900847435, 0.9661683440208435, -0.1468421071767807, 0.16599829494953156, 0.512181282043457, 0.15480577945709229, 0.46984952688217163, 0.255562961101532, 0.3625793159008026, 0.16868025064468384, -0.16698220372200012, -0.36819255352020264, -0.4216519594192505, 0.31444746255874634, -0.5080646872520447, -0.40264424681663513, -0.5291218161582947, -0.5676831603050232, -0.5666199922561646, 0.3532109558582306, 0.16776548326015472, 0.4691978394985199, 0.07142605632543564, 0.0996009111404419, 0.7237505912780762, -0.2571452260017395, 0.5208326578140259, 0.16448135673999786, -0.01217446755617857, -0.08452703058719635, 0.853684663772583, -0.11757045984268188, 0.3016219139099121, 0.5096059441566467, 0.032518673688173294, -0.2664374113082886, -0.555994987487793, 0.04357031360268593, 0.2155156284570694, -0.8274107575416565, -0.38288798928260803, -0.8791455030441284, -0.26823198795318604, -0.5347716808319092, -0.5322607159614563, -0.305779367685318, -0.05479172244668007, -0.4117475748062134, 0.38644638657569885, 0.2934996485710144, 0.5173320770263672, -0.38913241028785706, 0.3244997262954712, -1.136193871498108, 0.3893490135669708, 0.3893353044986725, 0.3203146755695343, 0.04339498654007912, -0.7362369894981384, -0.4278097152709961, -0.16747190058231354, -0.371834397315979, -0.8167040348052979, 0.6542715430259705, 0.5073275566101074, 0.6316967010498047, 0.29687365889549255, 0.03238322213292122, 0.7874972820281982, -0.8913258910179138, 0.8307968974113464, 0.2070544809103012, -0.8167365193367004, 0.6061024069786072, -0.26374706625938416, 0.29524967074394226, 0.578810453414917, 1.050219178199768, -0.7353584170341492, -0.0990903377532959, -0.6753326654434204, -0.9424037337303162, 0.178995281457901, 0.04343688115477562, 0.007423234637826681, -0.11090385168790817, 0.618799090385437, 0.14297635853290558, -0.02989242784678936, -0.7248930335044861, -0.17771048843860626, 0.001174825825728476, 0.1889859139919281, -0.04970082640647888, -0.043312735855579376, -0.10852105915546417, -0.15148450434207916, 0.6489101052284241, -0.25492680072784424, 0.473306804895401, 0.18452560901641846, -0.5148832201957703, 0.2573819160461426, -0.16481418907642365, 0.3107883036136627, 0.9952183365821838, -0.04129747673869133, -0.031050756573677063, 0.23712430894374847, -0.5520618557929993, -0.055641114711761475, -0.5190971493721008, 0.06223256140947342, 0.25085434317588806, 0.601796567440033, 0.5709632635116577, 0.18058229982852936, -0.6208097338676453, 0.4981686472892761, 0.3413333594799042, -0.1371152549982071, -0.5521112084388733, 0.015934687107801437, 0.003022476565092802, 0.46564072370529175, 0.27172189950942993, 0.5024133324623108, 0.19901522994041443, -0.44843363761901855, 0.8423907160758972, 0.1833145022392273, -0.31715017557144165, -0.2700071930885315, 0.5029477477073669, -0.03986116498708725, -0.3235056698322296, 0.5708907842636108, -0.29471996426582336, -0.5050764083862305, 0.43294233083724976, 0.912312924861908, 0.8823224306106567, -0.016408579424023628, 0.16772957146167755, 0.4643581807613373, 0.04700533673167229, -0.26636120676994324, 0.18206581473350525, -0.38371923565864563, -0.780431866645813, -0.5765810012817383, -0.5661484003067017, -0.6593255996704102, -0.11075569689273834, -0.765254557132721, 0.17145520448684692, -0.30964282155036926, 0.03753525763750076, -0.400197833776474, -0.1998853236436844, -0.7327516674995422, 0.3301149606704712, 0.09741050750017166, 0.8253734111785889, -0.813558042049408, 0.8235177397727966, 0.5885940790176392, -0.23499052226543427, -0.32060354948043823, 0.35456788539886475, -0.088395856320858, -0.6539273262023926, 0.9192681908607483, 0.17586550116539001, -0.3149097263813019, 0.06359254568815231, -0.6129757165908813, -1.028631329536438, 0.8339753746986389, -0.33428314328193665, -0.5294374227523804, -0.14991125464439392, -0.16685475409030914, 0.25612926483154297, -0.5011489391326904, -0.2391360104084015, 0.5398504137992859, 0.09254246950149536, 0.04346318542957306, -0.5725773572921753, -0.34068116545677185, -0.14801561832427979, 0.05898427218198776, -0.21275824308395386, -0.3171056807041168, 0.523086667060852, -0.3850879967212677, -0.20929983258247375, -0.12863850593566895, 1.0284444093704224, 0.4624606668949127, 0.439160019159317, 0.8469001650810242, 0.20073141157627106, 0.7888787984848022, 0.1606702357530594, 0.5935852527618408, -0.39568623900413513, 0.4445893466472626, 1.4309674501419067, -0.20902316272258759, 0.8746411204338074, 0.35914573073387146, -0.20785707235336304, 0.46459200978279114, 0.6832771897315979, 0.1073518767952919, 0.636603057384491, 0.14961345493793488, -0.24080254137516022, -0.25753504037857056, 0.08909889310598373, -0.2541007101535797, 0.3267505466938019, 0.7428242564201355, 0.1862538605928421, -0.2004498988389969, 0.4461783766746521, -0.04052264988422394, -0.10249727964401245, -0.4800061881542206, 0.643734872341156, 0.23288173973560333, -0.502605140209198, 0.463344931602478, -0.3730965852737427, 0.6318589448928833, -0.6662806272506714, -0.20434899628162384, -0.0738193616271019, 0.07532469928264618, -0.035376038402318954, -0.7033414840698242, 0.7618924379348755, -0.06549590080976486, -0.11333955079317093, -0.4043143093585968, 0.646010160446167, -0.14483299851417542, -0.19531798362731934, 0.41342276334762573, 0.4757333993911743, 0.3551364243030548, -0.09137332439422607, -0.7251845598220825, -0.13282303512096405, -0.15616577863693237, -0.2650122046470642, 0.26769405603408813, 0.5619648098945618, 0.0321333222091198, 0.7944358587265015, 0.5266404151916504, 0.13407480716705322, 0.3540666997432709, -0.056047022342681885, 0.7640587687492371, -0.7012106776237488, -0.6114005446434021, -0.43734174966812134, 0.5168657302856445, 0.0339350551366806, -0.6099081635475159, 0.5110673904418945, 0.2135433852672577, 1.0162888765335083, -0.1553821861743927, 0.8156498670578003, -0.11972107738256454, 0.549223005771637, -0.6126344799995422, 0.11601796746253967, -0.5089569091796875, 0.12640635669231415, -0.1885925829410553, -0.8731885552406311, -0.6151097416877747, 0.6516591310501099, -0.03460942581295967, -0.13251812756061554, 0.9484333395957947, 0.05354991555213928, -0.07277963310480118, -0.1610541194677353, 0.3740612864494324, 0.024273257702589035, 0.17697685956954956, 0.7157400846481323, 0.5061883926391602, -0.14900462329387665, 0.25668877363204956, -0.3229876160621643, -0.15742403268814087, 0.06196882948279381, -0.7482438087463379, -0.6644297242164612, -0.8412879705429077, -0.356325626373291, -0.3502225875854492, 0.1306099146604538, 0.9081684947013855, 0.6295225620269775, -0.8460715413093567, -0.22724837064743042, -0.30983150005340576, 0.1605803519487381, -0.8112242221832275, -0.20704244077205658, 0.32276222109794617, -1.1826767921447754, -0.5598334074020386, 0.5286552906036377, 0.3237456977367401, -0.3460257053375244, 0.16220609843730927, 0.0018467403715476394, -0.35060402750968933, -0.16466160118579865, 0.7780649662017822, 0.6526621580123901, -0.2154705971479416, -0.5018221735954285, 0.0630631297826767, 0.31459471583366394, 0.11744333058595657, 1.0537822246551514, -0.7774565815925598, 0.2506990134716034, 0.23932114243507385, 1.2360191345214844, 0.3923293948173523, -0.19965508580207825, 0.4663652181625366, -0.8041092753410339, -0.033899351954460144, 0.5757963061332703, 0.23431694507598877, -0.019006213173270226, -0.503950297832489, 0.6522475481033325, 0.5730881094932556, -0.832481324672699, -0.547125518321991, 0.45834118127822876, -1.1982829570770264, -0.35593050718307495, 1.2050434350967407, -0.504119336605072, 0.0717213973402977, -0.6556757092475891, 0.3336951434612274, 0.10033396631479263, 0.26309600472450256, 0.46196913719177246, 0.3972615897655487, -0.5218632221221924, -0.018231196328997612, -0.6247409582138062, 0.5172380805015564, 0.3871951103210449, -0.6608432531356812, 0.013386699371039867, 0.1834629774093628, 0.3749280571937561, 0.39652323722839355, 0.7843883633613586, 0.0064249527640640736, 0.2411065250635147, 0.0406915619969368, -0.156124085187912, 0.3843323588371277, -1.236651062965393, -0.2881307601928711, 0.17554667592048645, -0.038986705243587494, -0.27978986501693726 ]
http://arxiv.org/abs/2402.18439v3
http://arxiv.org/pdf/2402.18439v3
Beyond Natural Language: LLMs Leveraging Alternative Formats for Enhanced Reasoning and Communication
2024-02-28T16:07:54
2024-06-19T01:42:22
Weize Chen, Chenfei Yuan, Jiarui Yuan, Yusheng Su, Chen Qian, Cheng Yang, Ruobing Xie, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.AI
Natural language (NL) has long been the predominant format for human cognition and communication, and by extension, has been similarly pivotal in the development and application of Large Language Models (LLMs). Yet, besides NL, LLMs have seen various non-NL formats during pre-training, such as code and logical expression. NL's status as the optimal format for LLMs, particularly in single-LLM reasoning and multi-agent communication, has not been thoroughly examined. In this work, we challenge the default use of NL by exploring the utility of non-NL formats in these contexts. We show that allowing LLMs to autonomously select the most suitable format before reasoning or communicating leads to a 3.3 to 5.7\% improvement in reasoning efficiency for different LLMs, and up to a 72.7\% reduction in token usage in multi-agent communication, all while maintaining communicative effectiveness. Our comprehensive analysis further reveals that LLMs can devise a format from limited task instructions and that the devised format is effectively transferable across different LLMs. Intriguingly, the structured communication format decided by LLMs exhibits notable parallels with established agent communication languages, suggesting a natural evolution towards efficient, structured communication in agent communication. Our code is released at \url{https://github.com/thunlp/AutoForm}.
[ -0.32881271839141846, -0.8097538948059082, 0.7396191954612732, 0.27826303243637085, -0.3208926320075989, 0.15315692126750946, -0.6276936531066895, -0.6456685662269592, 0.2432391196489334, 0.4427298903465271, -0.3762059509754181, -0.3982456624507904, -0.31617307662963867, 0.44371452927589417, -0.03192973881959915, 0.669244110584259, -0.028497766703367233, -0.13593962788581848, -0.4115365445613861, -0.290933221578598, -0.540873110294342, -0.8175237774848938, -0.7833253145217896, -0.6827065944671631, 0.4700058102607727, 0.15778321027755737, 0.7469250559806824, 0.7213225960731506, 0.4460158050060272, 0.40973585844039917, 0.1809035837650299, 0.5821236371994019, -0.170676127076149, 0.1916380226612091, -0.055456679314374924, -0.5173738598823547, -0.669688880443573, 0.1901182234287262, 0.6633611917495728, 0.8077369928359985, -0.19122113287448883, -0.014411060139536858, -0.14433561265468597, 0.9570639133453369, -0.5301729440689087, 0.41847866773605347, -0.6098311543464661, 0.06078694388270378, -0.1114925742149353, -0.5412609577178955, -0.6025890111923218, -0.21343831717967987, -0.024543145671486855, -0.8268868923187256, -0.4324614703655243, 0.16307327151298523, 0.5503960847854614, 0.41773489117622375, -0.47014275193214417, -0.4633130729198456, -0.8515498638153076, 0.5207048654556274, -0.6881853342056274, 0.6317158937454224, 0.3338985741138458, 0.42791128158569336, -0.3130134642124176, -0.7804608941078186, -0.6996688842773438, -0.472777396440506, -0.16379493474960327, 0.02679380215704441, -0.33690640330314636, 0.2314320206642151, 0.20095893740653992, 0.16600735485553741, -0.5848837494850159, 0.3042466640472412, -0.020507486537098885, -0.242448091506958, 0.7262083888053894, 0.19879546761512756, 0.15533845126628876, -0.08283480256795883, -0.27270224690437317, -0.09106779843568802, -0.695432186126709, 0.009976211003959179, 0.3468765616416931, 0.34346699714660645, -0.21288608014583588, 0.6290075182914734, -0.18268315494060516, 0.9406903982162476, 0.021978992968797684, -0.20704160630702972, 0.08345786482095718, -0.4520525336265564, -0.4490600526332855, -0.011976958252489567, 0.747464120388031, 0.25675779581069946, 0.2805940508842468, -0.1967206597328186, -0.22250942885875702, 0.11771044880151749, 0.21493388712406158, -0.4419056475162506, -0.33156922459602356, -0.058237478137016296, -0.5079727172851562, 0.05233678221702576, -0.1850820630788803, -0.24279195070266724, -0.37536710500717163, -0.7102254033088684, 0.29251912236213684, -0.37191563844680786, -0.15960299968719482, 0.37004783749580383, -0.06764313578605652, 0.38590025901794434, 0.675150454044342, -0.7578169703483582, 0.25610843300819397, 0.501038134098053, 0.6155402064323425, -0.08444608747959137, -0.09166930615901947, -0.5662634372711182, 0.2165481299161911, -0.573366641998291, 1.0268300771713257, -0.6441935300827026, -0.18411456048488617, -0.28548237681388855, -0.1742127239704132, -0.11924486607313156, -0.44558456540107727, 0.3982820212841034, -0.5155102610588074, 0.4535163342952728, -0.10314937680959702, -0.6313827633857727, -0.07756481319665909, 0.3630527853965759, -0.8302730321884155, 0.9806227087974548, -0.063867948949337, -0.32357078790664673, 0.2988109290599823, -1.1413064002990723, -0.531986653804779, 0.1192241981625557, -0.33319440484046936, -0.15115074813365936, -0.06177955120801926, 0.09878738969564438, 0.28613537549972534, -0.23984695971012115, 0.3097549080848694, -0.34365853667259216, -0.29874494671821594, 0.25562551617622375, -0.5668226480484009, 0.5655206441879272, 0.2653901278972626, -0.2633030414581299, 0.2808779776096344, -0.7172330617904663, 0.09549606591463089, 0.3381601870059967, -0.5388666391372681, -0.2744275629520416, -0.11064380407333374, -0.4337065815925598, 0.4083145260810852, 0.23116444051265717, -0.3479263186454773, 0.26490846276283264, -0.467164546251297, 0.5596507787704468, 0.7334635257720947, -0.2987845838069916, 0.9265686869621277, -0.5128658413887024, 0.38906240463256836, -0.34534844756126404, 0.2492251694202423, -0.09604879468679428, -0.38325226306915283, -0.7501035928726196, -0.3437832295894623, 0.015919934958219528, 0.5006722211837769, -0.7229406833648682, 0.5063294172286987, -0.016711153090000153, -0.47269555926322937, -0.5512254238128662, 0.20407702028751373, 0.19501657783985138, 0.4428088665008545, 0.37520456314086914, -0.11151368916034698, -0.8910038471221924, -0.8646637201309204, -0.217423677444458, -0.37951260805130005, 0.3187066316604614, 0.2669185698032379, 0.23835937678813934, -0.18280957639217377, 1.1581376791000366, -0.1297684758901596, 0.09945753961801529, -0.6955968737602234, -0.14559951424598694, 0.1342904269695282, 0.3066600263118744, 0.4787873327732086, -0.700604259967804, -0.48862817883491516, -0.23099008202552795, -0.7791638970375061, -0.21273460984230042, -0.6632474660873413, -0.30619627237319946, 0.7075394988059998, 0.6141446828842163, -0.7602888345718384, 0.5377182960510254, 0.4825076758861542, -0.28730034828186035, 0.5771691203117371, -0.47352832555770874, -0.12014192342758179, -0.7250341773033142, -0.017519088461995125, -0.14363062381744385, -0.539210319519043, -0.6383653283119202, -0.25156646966934204, 0.06232059374451637, 0.2210518717765808, -0.27749350666999817, 0.8768023252487183, -0.8792712092399597, -0.20623993873596191, -0.48149579763412476, 0.12664136290550232, 0.4413091540336609, 0.444031685590744, 0.39624151587486267, 0.8608315587043762, 0.382571816444397, -0.5903583765029907, 0.4131418466567993, 0.27007049322128296, -0.04558684304356575, 0.5393721461296082, -0.6600677371025085, 0.3938230872154236, -0.46821150183677673, 0.5757920742034912, -0.6243174076080322, 0.12937413156032562, 0.29853612184524536, -0.32154619693756104, 0.34927502274513245, 0.11588974297046661, -0.8015512824058533, -0.0686253011226654, -0.36782070994377136, 0.06494908779859543, 0.3353513479232788, -0.5330522060394287, 0.6937447190284729, 0.19911400973796844, 0.13806156814098358, -0.33572694659233093, -0.6870372295379639, 0.5924932956695557, -0.33961769938468933, -0.6717351675033569, 0.16831012070178986, -0.4223679006099701, -0.44241684675216675, -0.2308880239725113, -0.20797373354434967, 0.1440332680940628, 0.3001534044742584, -0.08562573790550232, 0.40082961320877075, -0.4029681384563446, 0.3481020927429199, 0.005838328506797552, -0.16089411079883575, 0.03285190090537071, -0.4181062579154968, 0.6087236404418945, -0.430716335773468, -0.48302844166755676, -0.4240628182888031, 0.6270742416381836, 0.15300814807415009, -0.330392450094223, 1.0279107093811035, 0.37676680088043213, -0.2045232504606247, -0.24971158802509308, -0.5094667077064514, -0.25962260365486145, -0.546947181224823, 0.039709124714136124, -0.31111082434654236, -0.8459000587463379, 0.19188418984413147, -0.08750439435243607, 0.0804709643125534, 0.269103467464447, 0.46987536549568176, -0.07768679410219193, 0.6768540143966675, 0.7458720803260803, 0.4093033969402313, 0.5172638297080994, 0.010557928122580051, 0.4795924425125122, -0.815811276435852, -0.3455447554588318, -0.2815401256084442, -0.09108885377645493, -0.5732609033584595, -0.5985289216041565, 0.16095727682113647, 0.18534447252750397, -0.2611961364746094, 0.4296596348285675, -0.38381636142730713, 0.4318861663341522, 0.40403592586517334, -0.2341582179069519, 0.646668016910553, -0.2978152334690094, -0.11527368426322937, 0.08437895774841309, -0.8019380569458008, -1.0574063062667847, 0.9198580384254456, 0.3660707175731659, 0.6607255339622498, 0.21021491289138794, 0.8312544226646423, 0.2162332981824875, 0.4680558443069458, -0.8098931908607483, 0.6990115642547607, 0.09433205425739288, -0.32836249470710754, -0.39002546668052673, -0.3402414321899414, -0.966564416885376, 0.35329803824424744, -0.2886938452720642, -0.5795210599899292, -0.011538398452103138, 0.04553721845149994, -0.2974195182323456, 0.23481373488903046, -0.9097659587860107, 0.7305383086204529, -0.34056782722473145, -0.05071287602186203, 0.2415565550327301, -0.8371490836143494, -0.009642967954277992, -0.06162972375750542, 0.21955439448356628, -0.1041530966758728, -0.2718925476074219, 0.5271595120429993, -0.3187893033027649, 0.9607217907905579, 0.26834315061569214, -0.2651037275791168, 0.3740706145763397, -0.08523542433977127, 0.6505627036094666, 0.2393973171710968, -0.1608390212059021, -0.08431912213563919, -0.3060039281845093, -0.21614471077919006, -0.9362759590148926, 0.2989422380924225, -0.65143883228302, -0.710294783115387, -0.40783825516700745, -0.6244502663612366, -0.247941255569458, 0.27579161524772644, -0.04053344577550888, 0.5227780342102051, 0.023768149316310883, 0.12656468152999878, 0.6394588947296143, -0.1752554178237915, 0.7302983403205872, 0.7374880313873291, 0.10034769773483276, -0.047309670597314835, 0.5969530344009399, -0.12615840137004852, 0.5071267485618591, 0.564517617225647, 0.3593849837779999, -0.6845334768295288, -0.6468647122383118, -0.3561434745788574, 0.23538626730442047, -1.042048692703247, -0.24820716679096222, -0.8205838203430176, -0.15223708748817444, -0.5982534885406494, -0.21951262652873993, -0.40587207674980164, -0.5615960359573364, -0.39105087518692017, -0.22720937430858612, 0.2752293050289154, 0.6251768469810486, -0.34188950061798096, 0.11465577036142349, -0.784041166305542, 0.19109486043453217, 0.23221461474895477, 0.3136873245239258, -0.17506659030914307, -0.29195499420166016, 0.09304088354110718, 0.07216602563858032, -0.04016728326678276, -0.915172815322876, 0.2895081639289856, 0.3933982849121094, 1.0045676231384277, 0.13758741319179535, 0.06479839980602264, 0.6548038721084595, -0.4536515474319458, 0.49720630049705505, 0.05778208002448082, -0.8163753151893616, 0.365035742521286, -0.2166302651166916, 0.2449195683002472, 0.44831138849258423, 0.024145344272255898, -0.6591230034828186, -0.39834368228912354, -0.5599567890167236, -0.737561821937561, 0.5929399728775024, 0.3338495194911957, 0.08574477583169937, -0.19072547554969788, 0.29043203592300415, 0.23906689882278442, 0.24190782010555267, -0.8607683181762695, -0.43126434087753296, -0.37197551131248474, -0.07892870903015137, -0.1652286797761917, 0.13502898812294006, -0.19892318546772003, -0.287221759557724, 0.17586268484592438, -0.3564916253089905, 0.501239001750946, 0.363690584897995, -0.27391353249549866, 0.17465487122535706, 0.47334393858909607, 0.7100159525871277, 0.5550378561019897, 0.15798723697662354, 0.32927629351615906, 0.007500813342630863, -0.14410175383090973, -0.04814866930246353, 0.1573682725429535, 0.290470689535141, -0.07411506026983261, 0.48862510919570923, 0.9761020541191101, -0.14374791085720062, -0.6541604995727539, 0.1885109394788742, -0.096090167760849, -0.1742018610239029, -0.3687719702720642, 0.02546088397502899, 0.30329492688179016, 0.36440539360046387, 0.19646106660366058, 0.061606861650943756, 0.037142109125852585, -0.7163772583007812, 0.11937274038791656, 0.5242938995361328, 0.0779600441455841, -0.19629979133605957, 0.33498987555503845, 0.237565279006958, -0.43676841259002686, 0.24849148094654083, -0.5776069760322571, -0.2667120397090912, 0.4814628064632416, 0.7851446866989136, 0.7246501445770264, 0.2703497111797333, 0.38589712977409363, -0.053127262741327286, 0.5356283187866211, -0.011628820560872555, 0.21788811683654785, -0.26104575395584106, -0.8494057059288025, -0.6683409214019775, -0.521504282951355, -0.3653578460216522, 0.04792740195989609, -0.2419348955154419, 0.031774017959833145, -0.46355512738227844, -0.019689129665493965, -0.06283848732709885, 0.16165898740291595, -0.6856608986854553, -0.019091928377747536, 0.5927797555923462, 1.0672760009765625, -0.5980710387229919, 0.9338740706443787, 1.053146481513977, -0.045314617455005646, -0.9603476524353027, -0.2660600543022156, -0.029974380508065224, -0.7216541171073914, 0.47044283151626587, 0.26505136489868164, -0.31842344999313354, -0.17340105772018433, -0.5605872869491577, -0.9034201502799988, 1.009469985961914, 0.5338184237480164, -0.3726038336753845, -0.006864494178444147, 0.3169844150543213, 0.6520373225212097, -0.6065002679824829, 0.3467511832714081, 0.5837981700897217, 0.7222238779067993, 0.24344761669635773, -1.0891313552856445, 0.2715578079223633, -0.3686870336532593, 0.04695644974708557, 0.3755655586719513, -0.586561381816864, 0.6836705803871155, -0.2761024832725525, -0.3161716163158417, -0.13280926644802094, 0.8150531053543091, 0.38133758306503296, 0.2998140752315521, 0.4440864026546478, 0.12713980674743652, 0.9668116569519043, 0.13705383241176605, 0.9614626169204712, 0.13542640209197998, -0.18038994073867798, 1.218363881111145, -0.4535139203071594, 0.4976116716861725, 0.5995451807975769, 0.08784178644418716, 0.6830006241798401, 0.46900179982185364, 0.28118807077407837, 0.22002708911895752, 0.21841846406459808, -0.11146698147058487, -0.5436309576034546, -0.13642479479312897, -0.11467400193214417, 0.837555468082428, 0.32784709334373474, 0.14585630595684052, -0.3990335464477539, -0.09521181881427765, 0.12360002100467682, 0.4463711977005005, -0.043121203780174255, 0.8724523782730103, 0.14576946198940277, -0.4856303036212921, 0.5447357296943665, 0.0014506509760394692, 0.7956893444061279, -0.5226783752441406, -0.18686868250370026, -0.18879956007003784, -0.22645705938339233, -0.2010485678911209, -0.7291285395622253, 0.6271739602088928, -0.21282106637954712, 0.062212955206632614, -0.5879951119422913, 0.9996468424797058, -0.42764022946357727, -0.004486574791371822, 0.21809956431388855, 0.8176581859588623, -0.006547785829752684, -0.1110418438911438, -0.7567616105079651, 0.01270313560962677, -0.40884914994239807, -0.3808043897151947, 0.2520824670791626, 0.6546182632446289, -0.3503018021583557, 0.8168138861656189, 0.8844619989395142, 0.056531623005867004, 0.047752439975738525, 0.13142994046211243, 0.9804911017417908, -0.668684720993042, -0.595683753490448, -0.9641299247741699, 0.33460086584091187, -0.2998155355453491, -0.07643233239650726, 0.7966575026512146, 0.46091175079345703, 0.6264474987983704, 0.2408861517906189, 0.6322199106216431, 0.04826539382338524, 0.052785102277994156, -0.689997136592865, 0.5304876565933228, -0.3987502157688141, 0.33344003558158875, -0.10668984055519104, -0.7354740500450134, -0.2795184254646301, 0.6917042136192322, -0.23436641693115234, 0.07713409513235092, 0.8211775422096252, 0.35683774948120117, 0.2935165464878082, 0.1993989199399948, 0.19379515945911407, -0.2924502491950989, 0.5523064136505127, 0.7160610556602478, 0.9915238618850708, 0.11314184218645096, 0.5253309011459351, -0.10005812346935272, -0.14221180975437164, 0.06371767073869705, -1.23481285572052, -1.1603666543960571, -0.39039409160614014, -0.1693863868713379, 0.04641414433717728, -0.12838363647460938, 1.3506370782852173, 0.636172354221344, -0.2069244235754013, -0.1561712771654129, -0.10281629115343094, 0.17963536083698273, -0.004097032360732555, -0.17460259795188904, 0.054766230285167694, -0.45530545711517334, -0.4533891975879669, 0.6851274967193604, 0.6060764193534851, 0.3853150010108948, -0.15312345325946808, -0.24164943397045135, -0.24137842655181885, 0.33707937598228455, 0.9127499461174011, 0.37814393639564514, -0.5317456722259521, -0.27188587188720703, 0.3797338306903839, -0.3146283030509949, 0.33691102266311646, 0.8462273478507996, -0.8527041673660278, 0.23377877473831177, 0.38106584548950195, 0.568589985370636, 0.10353507101535797, -0.11530578136444092, 0.821959376335144, -0.5878673195838928, 0.26862260699272156, 0.387999951839447, 0.22701671719551086, 0.5544905066490173, -0.47064751386642456, 0.32926318049430847, 0.03656379505991936, -0.2858377695083618, -0.747681200504303, 0.32351377606391907, -0.9678168892860413, -0.3637290894985199, 1.352941632270813, 0.08837450295686722, -0.15636250376701355, -0.4013859033584595, -0.25415143370628357, 0.2945297360420227, -0.6451587080955505, 0.5351116061210632, 0.5663763284683228, -0.49761441349983215, -0.2753776013851166, -0.5162504315376282, 0.7583240270614624, 0.3375488519668579, -1.2230298519134521, -0.10826367139816284, 0.3822174668312073, 0.037892792373895645, -0.0254985261708498, 1.0667908191680908, -0.06290548294782639, 0.15360930562019348, -0.34647634625434875, -0.24513883888721466, -0.4544469714164734, -0.3934614360332489, -0.257232666015625, -0.20413361489772797, 0.17556333541870117, 0.018205659464001656 ]
http://arxiv.org/abs/2402.18428v1
http://arxiv.org/pdf/2402.18428v1
Leveraging Diverse Modeling Contexts with Collaborating Learning for Neural Machine Translation
2024-02-28T15:55:02
2024-02-28T15:55:02
Yusheng Liao, Yanfeng Wang, Yu Wang
cs.CL
cs.CL
Autoregressive (AR) and Non-autoregressive (NAR) models are two types of generative models for Neural Machine Translation (NMT). AR models predict tokens in a word-by-word manner and can effectively capture the distribution of real translations. NAR models predict tokens by extracting bidirectional contextual information which can improve the inference speed but they suffer from performance degradation. Previous works utilized AR models to enhance NAR models by reducing the training data's complexity or incorporating the global information into AR models by virtue of NAR models. However, those investigated methods only take advantage of the contextual information of a single type of model while neglecting the diversity in the contextual information that can be provided by different types of models. In this paper, we propose a novel generic collaborative learning method, DCMCL, where AR and NAR models are treated as collaborators instead of teachers and students. To hierarchically leverage the bilateral contextual information, token-level mutual learning and sequence-level contrastive learning are adopted between AR and NAR models. Extensive experiments on four widely used benchmarks show that the proposed DCMCL method can simultaneously improve both AR and NAR models with up to 1.38 and 2.98 BLEU scores respectively, and can also outperform the current best-unified model with up to 0.97 BLEU scores for both AR and NAR decoding.
[ -0.3506219685077667, -0.5351986289024353, 0.26185911893844604, 0.016490602865815163, -0.4337446689605713, 0.39488130807876587, -0.26586729288101196, -0.2553713023662567, 0.011363031342625618, 0.35342109203338623, -0.4617147743701935, -0.6098355054855347, -0.6865519285202026, 0.08471942692995071, -0.14525267481803894, 0.9876925945281982, -0.11958930641412735, 0.3379601836204529, -0.2578776478767395, -0.5343876481056213, -0.6535204648971558, -0.7302104830741882, -0.47770029306411743, -0.36757218837738037, 0.6504744291305542, 0.20003212988376617, 0.6263418793678284, 0.6187219619750977, 0.48026666045188904, 0.3274039924144745, -0.17558836936950684, 0.43446099758148193, -0.1662158966064453, 0.3088800609111786, -0.35788482427597046, -0.4167274534702301, -0.5099503993988037, -0.009294874034821987, 0.304189532995224, 1.0329890251159668, -0.2253614366054535, -0.011287241242825985, 0.42301055788993835, 0.6008856892585754, -0.546413004398346, 0.27388301491737366, -0.6774609684944153, 0.254455029964447, 0.4807092845439911, 0.009996316395699978, -0.34780922532081604, -0.17501293122768402, 0.39677298069000244, -0.33199113607406616, 0.3703446686267853, -0.06585986912250519, 0.2867938280105591, 0.31422704458236694, -0.7007836699485779, -0.3205539584159851, -0.4993637204170227, 0.8576220870018005, -0.555343747138977, 0.31880614161491394, 0.02112755738198757, 0.40929895639419556, 0.06484425812959671, -0.6064167618751526, -0.4313669800758362, -0.22820308804512024, -0.1964033544063568, 0.3216848075389862, -0.12686431407928467, 0.10199732333421707, -0.2654968798160553, 0.46907860040664673, -0.47889143228530884, -0.04048338159918785, -0.04152238368988037, 0.053443096578121185, 0.4876749515533447, 0.335319846868515, 0.2265041321516037, -0.08210417628288269, -0.6668620109558105, -0.23455066978931427, -0.16131827235221863, -0.11929086595773697, -0.2654815912246704, 0.45138946175575256, -0.602549135684967, 0.2378673106431961, 0.0620669350028038, 0.6912539601325989, 0.2023838758468628, 0.2846839129924774, 0.2427964061498642, -0.43607833981513977, -0.3251602351665497, -0.38350722193717957, 0.8900541663169861, 0.2459021359682083, -0.2756652534008026, -0.6945913434028625, -0.2529676854610443, -0.20019106566905975, -0.011939776130020618, -0.38578444719314575, -0.392179936170578, -0.2361946552991867, -0.5064874887466431, -0.2967506945133209, 0.023488031700253487, -0.8281126022338867, -0.0013980773510411382, -0.6910656094551086, 0.47137650847435, -0.09574302285909653, -0.4003664255142212, -0.49089181423187256, 0.13610617816448212, -0.138876274228096, 0.38734421133995056, -0.8237942457199097, 0.4193165600299835, 0.39753100275993347, 1.1597793102264404, -0.6608760952949524, -0.5461722612380981, -0.6484899520874023, 0.0074213407933712006, -0.42837831377983093, 0.2564998269081116, -0.16265301406383514, -0.531851589679718, -0.2586659789085388, -0.19296042621135712, -0.5439881682395935, -0.5766130089759827, 0.04123152047395706, -0.7084705233573914, 0.07276608049869537, -0.39571449160575867, -0.2760501801967621, -0.37726685404777527, 0.33997642993927, -0.6608333587646484, 0.6130031943321228, 0.2971389889717102, -0.6979390382766724, 0.39563190937042236, -0.5469487309455872, -0.3004316985607147, -0.14083155989646912, -0.2876373827457428, -0.3903951942920685, 0.05246386677026749, 0.2899043560028076, 0.4840073585510254, -0.17598427832126617, 0.7802033424377441, -0.15393787622451782, 0.001451186602935195, 0.13770245015621185, -0.4467332363128662, 0.6645040512084961, 0.3609347343444824, -0.5141090750694275, 0.20475859940052032, -0.48423629999160767, -0.25687384605407715, -0.17693482339382172, -0.3680809736251831, -0.2658487856388092, -0.369213730096817, 0.18071198463439941, 0.6097975373268127, 0.12616799771785736, -0.19523413479328156, 0.1611413061618805, -0.13550648093223572, 0.26068252325057983, 0.5135711431503296, 0.11162584275007248, 0.7621036171913147, -0.5402528047561646, 0.5955608487129211, 0.3677998185157776, 0.02472858875989914, 0.033892467617988586, -0.3587559759616852, -0.822622537612915, -0.30221590399742126, 0.26250118017196655, 0.35570377111434937, -0.9880732893943787, 0.3938799798488617, -0.08873419463634491, -0.27709245681762695, -0.4809102714061737, 0.199834406375885, 0.5116201043128967, 0.8775339126586914, 0.8456425070762634, -0.4705854654312134, -0.6979209780693054, -0.5439915060997009, -0.08285840600728989, 0.0012514537665992975, 0.12862837314605713, 0.46580225229263306, 0.429371178150177, -0.14851044118404388, 0.9566004872322083, -0.0006988201639614999, -0.19848518073558807, -0.3272938132286072, 0.49902305006980896, 0.17886638641357422, 0.6653143763542175, 0.3387020230293274, -0.9527515769004822, -0.8537686467170715, 0.036304865032434464, -0.8421669006347656, 0.009961096569895744, -0.08020985871553421, -0.1282995492219925, 0.2716558575630188, 0.50981605052948, -0.21620452404022217, 0.3228709399700165, 0.9791818261146545, -0.09557057917118073, 0.2817690372467041, -0.28675535321235657, 0.2785758674144745, -1.4370774030685425, 0.10505323857069016, -0.2885604500770569, -0.30609479546546936, -0.40670302510261536, 0.19767408072948456, 0.028642825782299042, 0.06280454993247986, -0.2778894305229187, 0.41765642166137695, -0.7652884125709534, -0.06929853558540344, -0.3610478341579437, 0.01574546843767166, 0.09183906763792038, 0.49686935544013977, 0.3155224025249481, 0.714911162853241, 0.4236065745353699, -0.5401366949081421, 0.11527363210916519, 0.1975250542163849, 0.00172522128559649, 0.2805299162864685, -0.46698418259620667, 0.13274361193180084, 0.13405898213386536, 0.3473988175392151, -1.0156776905059814, 0.1447150856256485, 0.20795144140720367, -0.5373353958129883, 0.24766966700553894, -0.3864685297012329, -0.5635079741477966, 0.08080630749464035, 0.514285683631897, 0.4645584225654602, 0.37920746207237244, -0.8707515001296997, 0.6962246894836426, 0.11696617305278778, 0.08711384236812592, -0.5354419350624084, -1.01387619972229, 0.15448260307312012, -0.005110000725835562, -0.3780730962753296, 0.43567559123039246, -0.05555018410086632, -0.0062178196385502815, 0.18470634520053864, -0.033113520592451096, -0.2523615062236786, 0.06239195540547371, 0.27857914566993713, 0.5233826637268066, -0.24502113461494446, -0.013535421341657639, 0.10971752554178238, -0.17471010982990265, -0.13846580684185028, -0.34085798263549805, 0.5496906638145447, -0.18080933392047882, -0.3281593322753906, -0.20140358805656433, 0.632928729057312, 0.5407918095588684, -0.44087082147598267, 1.03995680809021, 0.7357715964317322, -0.1220787987112999, -0.25043973326683044, -0.4356623888015747, -0.14869612455368042, -0.43840399384498596, 0.21459412574768066, -0.3085203766822815, -0.946647047996521, 0.599136471748352, -0.03718942776322365, -0.08785876631736755, 0.2818661034107208, 0.6202296018600464, 0.35915544629096985, 1.0148454904556274, 0.8219831585884094, -0.24998900294303894, 0.3713483214378357, -0.596842885017395, -0.08923878520727158, -1.0685055255889893, -0.45553871989250183, -0.0135548897087574, -0.2777132987976074, -0.4430430829524994, -0.6806689500808716, 0.38305720686912537, 0.22864657640457153, -0.022649317979812622, 0.5031855702400208, -0.524584949016571, 0.238592728972435, 0.5197343826293945, 0.09552759677171707, 0.4630638659000397, -0.022791272029280663, -1.020917296409607, -0.021350406110286713, -0.946588933467865, -0.09555324167013168, 0.88926762342453, -0.08276519924402237, 0.42240631580352783, 0.2963828444480896, 0.8873199820518494, 0.007573473267257214, 0.472124844789505, -0.5739232301712036, 0.30240339040756226, -0.18249057233333588, -0.38344934582710266, 0.12197668105363846, -0.7335959076881409, -0.8579632639884949, 0.6489744186401367, -0.1667918860912323, -0.38116326928138733, 0.49906662106513977, -0.0028050504624843597, -0.24276752769947052, 0.5553907752037048, -0.5143693089485168, 0.7068934440612793, -0.16062019765377045, -0.49901315569877625, -0.09198439866304398, -0.8955970406532288, 0.23626738786697388, 0.061866119503974915, 0.25490888953208923, 0.28676819801330566, -0.2468978464603424, 0.20487311482429504, -0.3072364926338196, 0.9552357792854309, -0.10203548520803452, 0.21566395461559296, 0.1885564923286438, 0.3439958989620209, 0.4225901663303375, 0.14725671708583832, -0.23346629738807678, 0.24876107275485992, -0.38670194149017334, -0.27801117300987244, -0.5121577978134155, 0.8498044013977051, -0.9595723152160645, -0.2633499205112457, -0.40077707171440125, -0.9754256010055542, -0.27495473623275757, 0.08291497826576233, 0.35796424746513367, 0.30597802996635437, -0.14080339670181274, 0.17881996929645538, 0.2771085798740387, 0.1275157928466797, 0.7265962362289429, 0.6379269957542419, -0.015938105061650276, -0.8971225023269653, 0.5205743908882141, 0.052717991173267365, 0.5611164569854736, 0.5597848296165466, 0.03903554007411003, -0.20737697184085846, -0.6573842167854309, -0.3646964728832245, -0.01410338468849659, -0.6745901703834534, -0.23365573585033417, -1.0967727899551392, -0.2798158824443817, -0.40042316913604736, -0.44823068380355835, -0.3517937660217285, -0.18000681698322296, -0.5179467797279358, 0.11693645268678665, 0.10670438408851624, 0.58472740650177, -0.5024855732917786, 0.13085845112800598, -0.811610758304596, 0.1458931565284729, 0.4270896017551422, 0.032284170389175415, 0.5571009516716003, -0.4689565896987915, -0.36498594284057617, 0.10243343561887741, -0.2978789210319519, -0.6878393888473511, 0.8496081829071045, 0.013703126460313797, 0.7834707498550415, -0.049973923712968826, 0.12842877209186554, 0.6760462522506714, -0.40563729405403137, 0.590890109539032, 0.34683600068092346, -0.8746508359909058, 0.22745533287525177, -0.40884050726890564, 0.4402507245540619, 0.7956488728523254, 0.5466746091842651, -0.5979653000831604, -0.15322139859199524, -0.5488395690917969, -0.9034109115600586, 0.39010339975357056, 0.19961215555667877, 0.01572035439312458, -0.11015725880861282, 0.24870991706848145, 0.27735063433647156, 0.33083051443099976, -0.6476872563362122, -0.3456595540046692, -0.30487459897994995, -0.317755788564682, -0.3648222088813782, 0.23348219692707062, 0.06677373498678207, -0.3140662610530853, 0.3345280587673187, -0.04516296461224556, -0.16132794320583344, 0.6340609788894653, -0.3378874361515045, -0.08699485659599304, 0.024031922221183777, 0.2221221625804901, 0.4597232937812805, -0.1448948085308075, 0.10700828582048416, 0.2839796245098114, -0.18217350542545319, 0.21044018864631653, 0.09345563501119614, 0.004842874128371477, 0.07864370197057724, 0.2794331908226013, 0.5308553576469421, 0.18479275703430176, -0.09728832542896271, 0.6112238764762878, -0.18346260488033295, -0.38449037075042725, -0.0816035196185112, -0.0831163302063942, 0.237473726272583, 0.44976845383644104, 0.32482948899269104, 0.635557234287262, 0.2789769470691681, -0.3666810393333435, 0.6090275049209595, 0.25926291942596436, -0.7601318359375, -0.3666345775127411, 0.8052054047584534, 0.2428344339132309, -0.16487251222133636, 0.5591408014297485, -0.2557322084903717, -0.5435760617256165, 0.7083668112754822, 0.7128388285636902, 0.9756579995155334, -0.26621413230895996, 0.18398191034793854, 0.4652097523212433, 0.03879528120160103, -0.003120232140645385, -0.256915420293808, -0.5072758197784424, -0.4326910972595215, -0.3458474278450012, -0.4568726122379303, -0.6183275580406189, -0.05338142439723015, -0.8937764167785645, -0.011151748709380627, -0.33474820852279663, 0.018281208351254463, -0.3222561776638031, 0.07257398217916489, -0.6992270350456238, 0.20544151961803436, -0.030006011947989464, 0.4879033863544464, -0.7899494171142578, 1.0164456367492676, 0.5943582057952881, -0.5606499314308167, -0.7329525351524353, 0.16953438520431519, 0.09361912310123444, -0.5050849914550781, 0.9147051572799683, 0.05748007819056511, -0.10456916689872742, 0.24030382931232452, -0.23678447306156158, -0.914552628993988, 1.3342416286468506, 0.10563331842422485, -0.720810055732727, -0.0816480740904808, 0.05314543470740318, 0.5572451949119568, -0.8139083981513977, 0.09645272046327591, -0.14294756948947906, -0.08526644855737686, 0.36070671677589417, -0.7718833088874817, 0.10830123722553253, -0.2431207001209259, 0.20689551532268524, 0.008184084668755531, -0.7854952812194824, 1.1615831851959229, -0.16655761003494263, -0.031255435198545456, 0.25572890043258667, 0.5937249660491943, 0.3755452036857605, 0.2591860890388489, 0.5907601714134216, 0.42453643679618835, 0.5446465611457825, 0.38344481587409973, 0.7073283195495605, -0.26103585958480835, 0.4866945743560791, 1.4541926383972168, -0.07822643220424652, 0.8044224381446838, 0.4556684195995331, 0.17838260531425476, 0.566881000995636, 0.49308204650878906, -0.19794458150863647, 0.8541180491447449, 0.07083454728126526, -0.5421926975250244, -0.33795371651649475, -0.1086307093501091, -0.3410617709159851, 0.24924816191196442, 0.13742680847644806, -0.6623255014419556, -0.3570619821548462, 0.13384424149990082, -0.2362065464258194, 0.3173494040966034, -0.06415249407291412, 0.8788701295852661, 0.4141930937767029, -0.7908532023429871, 0.624718189239502, -0.06107450649142265, 0.8095374703407288, -0.12461383640766144, -0.16274552047252655, -0.3903906047344208, 0.20011112093925476, 0.1292896568775177, -0.13037461042404175, 0.40033814311027527, -0.1516961306333542, -0.39827921986579895, -0.07720989733934402, 0.35222747921943665, -0.7061287760734558, -0.34746795892715454, 0.6796250343322754, 0.6579978466033936, -0.2657359540462494, 0.09337768703699112, -0.958626389503479, -0.3074987530708313, -0.21213138103485107, 0.251486599445343, 0.41717764735221863, 0.3033645451068878, 0.2538031339645386, 0.4859876334667206, 0.6916959881782532, 0.03340471535921097, 0.03032778389751911, -0.012682512402534485, 0.9343130588531494, -0.427186518907547, -0.4045845866203308, -0.8500149846076965, 0.5636216402053833, -0.045493267476558685, -0.18540892004966736, 0.769614040851593, 0.5212733149528503, 0.8361677527427673, 0.04019259288907051, 0.8135886788368225, 0.1649530678987503, 0.5126718282699585, -0.39723166823387146, 0.9112667441368103, -0.5195332169532776, 0.2666040360927582, -0.17028729617595673, -0.7829009890556335, -0.4389050304889679, 0.42221131920814514, -0.266195148229599, 0.1406191736459732, 0.7247532606124878, 0.4457781910896301, -0.29520949721336365, -0.2153184562921524, 0.549088716506958, -0.09884457290172577, 0.12160146236419678, 0.6020869612693787, 0.6954345107078552, -0.5633904933929443, 0.688922643661499, -0.5512481331825256, -0.19500000774860382, -0.18107536435127258, -0.7668124437332153, -1.2195907831192017, -0.6235612034797668, -0.33838748931884766, -0.16878114640712738, 0.2714913487434387, 1.01285719871521, 1.035690188407898, -0.7901396155357361, -0.23847922682762146, -0.589606523513794, 0.09906312823295593, -0.20266501605510712, -0.22073931992053986, 0.3440952003002167, -0.6095669269561768, -0.6354976296424866, 0.4706040918827057, 0.0032580967526882887, 0.1791408360004425, -0.09565276652574539, -0.2184954434633255, -0.497219979763031, -0.15926697850227356, 0.36057764291763306, -0.09669987857341766, -0.6227020025253296, 0.17851704359054565, 0.11524772644042969, -0.27707192301750183, 0.2705163359642029, 0.5864225625991821, -0.6759554743766785, 0.5443084836006165, 0.47842612862586975, 0.7044845223426819, 0.5194185972213745, 0.04963192716240883, 0.8400595188140869, -0.7769160270690918, 0.10602609068155289, 0.24985568225383759, 0.2330499291419983, 0.5385698676109314, -0.2699224054813385, 0.34178221225738525, 0.28869906067848206, -0.7402098178863525, -0.46506017446517944, 0.09287460893392563, -0.7882034182548523, -0.2982642352581024, 0.9219369888305664, -0.49802452325820923, -0.14310075342655182, -0.2119717001914978, 0.11657482385635376, 0.7437878251075745, -0.35242241621017456, 0.6835963129997253, 0.3786219656467438, 0.12256760150194168, -0.33364155888557434, -0.467337429523468, 0.1412125676870346, 0.5407906174659729, -0.44056808948516846, -0.22941379249095917, 0.27848944067955017, 0.3604781925678253, -0.12527790665626526, 0.2213621437549591, -0.24867646396160126, 0.19168366491794586, 0.14567837119102478, 0.05281953886151314, -0.2638762891292572, -0.20262958109378815, -0.593891441822052, 0.006155478768050671, 0.03870493918657303, -0.21460381150245667 ]
http://arxiv.org/abs/2402.18424v1
http://arxiv.org/pdf/2402.18424v1
Emotion Classification in Low and Moderate Resource Languages
2024-02-28T15:46:09
2024-02-28T15:46:09
Shabnam Tafreshi, Shubham Vatsal, Mona Diab
cs.CL
cs.CL, cs.AI, cs.LG
It is important to be able to analyze the emotional state of people around the globe. There are 7100+ active languages spoken around the world and building emotion classification for each language is labor intensive. Particularly for low-resource and endangered languages, building emotion classification can be quite challenging. We present a cross-lingual emotion classifier, where we train an emotion classifier with resource-rich languages (i.e. \textit{English} in our work) and transfer the learning to low and moderate resource languages. We compare and contrast two approaches of transfer learning from a high-resource language to a low or moderate-resource language. One approach projects the annotation from a high-resource language to low and moderate-resource language in parallel corpora and the other one uses direct transfer from high-resource language to the other languages. We show the efficacy of our approaches on 6 languages: Farsi, Arabic, Spanish, Ilocano, Odia, and Azerbaijani. Our results indicate that our approaches outperform random baselines and transfer emotions across languages successfully. For all languages, the direct cross-lingual transfer of emotion yields better results. We also create annotated emotion-labeled resources for four languages: Farsi, Azerbaijani, Ilocano and Odia.
[ -0.39215531945228577, -0.20727378129959106, 0.012112833559513092, 0.36660143733024597, -0.07831263542175293, 0.346767395734787, -0.6435942649841309, -0.8533514142036438, 0.10731146484613419, 0.06392891705036163, -0.2228197455406189, -0.2786552608013153, -0.5112411975860596, 0.23842234909534454, 0.16408699750900269, 1.1050329208374023, -0.4710639715194702, 0.08805108070373535, 0.3228292465209961, -0.5770308971405029, -0.22289660573005676, -0.6607993841171265, -0.6673073172569275, -0.2643328309059143, 0.8166285157203674, 0.6513595581054688, 0.458892285823822, 0.0022015958093106747, 0.3412495255470276, 0.3497897982597351, 0.06071494519710541, -0.06905537843704224, -0.5322352647781372, -0.17060686647891998, -0.2682138979434967, -0.37504148483276367, -0.17470602691173553, -0.017085427418351173, 0.2407483607530594, 0.5193086266517639, 0.08113217353820801, 0.2276623398065567, -0.17156243324279785, 0.6749516725540161, -0.9358832836151123, 0.3867371082305908, -0.09821229428052902, 0.5470964312553406, -0.27792054414749146, 0.005164389032870531, -0.36444371938705444, -0.23715251684188843, 0.20126985013484955, -0.3168245553970337, -0.11350926756858826, 0.34948375821113586, 0.6132198572158813, 0.12054365873336792, -0.48250582814216614, -0.33265578746795654, -0.7269029021263123, 0.9283049702644348, 0.009984333999454975, 0.5046948194503784, 0.19145211577415466, 0.21645739674568176, 0.7887441515922546, -0.2535547912120819, -0.637416422367096, -0.05729101598262787, -0.07750051468610764, 0.2176099270582199, -0.4221040606498718, -0.004650491755455732, 0.2203751653432846, 0.45441117882728577, -0.39525285363197327, 0.44236186146736145, -0.4664323627948761, -0.29948216676712036, 0.642661988735199, 0.03198116645216942, 0.5378662347793579, -0.36234840750694275, -0.43145427107810974, -0.2976779341697693, -0.5886948704719543, 0.20233841240406036, 0.3657313585281372, 0.45968085527420044, -0.42816728353500366, 0.16959887742996216, -0.09641687572002411, 0.3643524944782257, -0.00393278943374753, -0.06904803216457367, 0.4363817572593689, -0.15197768807411194, -0.09451477974653244, 0.2108798623085022, 0.8693501949310303, 0.27808794379234314, 0.23823609948158264, -0.08685014396905899, -0.18713490664958954, 0.170789435505867, -0.16941486299037933, -0.6861664652824402, -0.05356086418032646, -0.12158901244401932, -0.469023734331131, -0.08950990438461304, -0.5043258666992188, -1.2263610363006592, -0.40541622042655945, -0.10593029856681824, 0.245701864361763, -0.28491896390914917, -0.3072936534881592, -0.018527774140238762, 0.5132269859313965, -0.006888565607368946, 0.420763224363327, -0.9201058745384216, 0.1718870997428894, 0.23159058392047882, 0.7480264902114868, -0.24380375444889069, -0.18173541128635406, -0.31404969096183777, -0.1996455192565918, -0.263852059841156, 0.6962475180625916, -0.5307009220123291, -0.21150356531143188, 0.372828871011734, 0.1639767736196518, -0.13195450603961945, -0.4207622706890106, 0.6948410272598267, -0.33703091740608215, 0.5022745728492737, -0.3321990966796875, 0.039071906358003616, -0.5198861360549927, 0.1680804193019867, -0.7553146481513977, 0.940132737159729, 0.4664289057254791, -0.7148900628089905, -0.01685887575149536, -0.6919205188751221, -0.7414956092834473, 0.0867086872458458, 0.2552330493927002, 0.08575465530157089, -0.006151562090963125, -0.17223899066448212, 0.5302985310554504, -0.5569463968276978, -0.37129369378089905, -0.20347997546195984, -0.3091036379337311, 0.12968039512634277, -0.18588843941688538, 0.558465301990509, 0.6571561098098755, -0.3824906051158905, -0.16020609438419342, -0.6387100219726562, -0.1437121331691742, -0.08154942095279694, -0.43918588757514954, -0.4661838114261627, -0.4445590674877167, 0.5078672766685486, 0.5322693586349487, 0.33359494805336, -0.580115795135498, -0.06785368174314499, -0.003148122923448682, 0.040239252150058746, 0.6268503665924072, -0.26486191153526306, 0.7489271759986877, 0.01619553565979004, 0.9098443388938904, 0.16873130202293396, -0.06239726394414902, 0.3850843906402588, -0.056386448442935944, -0.8955989480018616, -0.23782412707805634, 0.255295991897583, 0.9146500825881958, -0.8043636083602905, 0.222032830119133, -0.10185086727142334, -0.3891235291957855, -0.7650401592254639, 0.18071211874485016, 0.6516451835632324, 0.5779789090156555, 0.39622968435287476, -0.2567799687385559, -0.4206269383430481, -0.5820816159248352, 0.0528937391936779, -0.31825605034828186, 0.2912510931491852, 0.5533666014671326, -0.11475980281829834, -0.2677628993988037, 0.036785174161195755, -0.20474770665168762, -0.1810321807861328, -0.4246351420879364, 0.354877233505249, -0.1499054729938507, 0.3311372399330139, 0.860817551612854, -0.7192215919494629, -1.0038625001907349, 0.6686021089553833, -0.5692694783210754, -0.29217830300331116, -0.05437465384602547, -0.4346228539943695, 0.7477971315383911, 0.09780652821063995, -0.345106840133667, 0.0836886465549469, 0.7362315654754639, -0.09667174518108368, 0.09928514063358307, 0.15217188000679016, 0.4690111577510834, -1.0581532716751099, 0.06514929980039597, 0.02958238683640957, 0.04400784149765968, -0.4901884198188782, -0.5050801634788513, 0.02552514150738716, -0.2413848340511322, -0.7817668914794922, 0.7880677580833435, -0.5443634390830994, 0.04882434383034706, -0.10147549211978912, -0.1251358538866043, -0.28493812680244446, 0.7081413865089417, 0.31337976455688477, 0.470855176448822, 0.6153639554977417, -0.2953789532184601, 0.7190644145011902, 0.2775585949420929, -0.2671905755996704, 0.8809635043144226, 0.0923067107796669, 0.06930311024188995, -0.0775035172700882, 0.0581480972468853, -0.5427033305168152, -0.004674339201301336, 0.3783661425113678, -0.008559295907616615, 0.596390426158905, -0.2828582525253296, -0.16563571989536285, -0.04549819603562355, -0.14416556060314178, 0.4905349314212799, 0.8745262026786804, -0.5811412930488586, 0.5982708930969238, 0.167544424533844, -0.5039305686950684, -0.6120128035545349, -0.7968283295631409, -0.09052135050296783, -0.5310477614402771, -0.3209666907787323, -0.04028112441301346, -0.013023965992033482, -0.2878202497959137, 0.2564282715320587, 0.09427941590547562, -0.2970433235168457, -0.16150347888469696, 0.29259172081947327, 0.18750354647636414, -0.13146939873695374, 0.2673298716545105, -0.03133795037865639, -0.04084741324186325, -0.13054370880126953, 0.22010593116283417, 0.2296440452337265, -0.43554508686065674, -0.2684780955314636, -0.2565661370754242, 0.5718318223953247, 0.5003036260604858, -0.28252536058425903, 0.6083364486694336, 1.0704700946807861, -0.3861393630504608, -0.37713736295700073, -0.4729326665401459, 0.2747887074947357, -0.3286493122577667, 0.4809739291667938, -0.44835612177848816, -0.8919264078140259, 0.6156730651855469, -0.27767419815063477, -0.2854703366756439, 0.4448927640914917, 0.6926370859146118, 0.047628261148929596, 0.8764722347259521, 0.9704554677009583, -0.6502398252487183, 0.860504686832428, -0.14551164209842682, 0.31456103920936584, -0.5456857085227966, -0.027626879513263702, -0.6357129216194153, -0.5511362552642822, -0.8230283260345459, -0.3188372552394867, -0.015505741350352764, -0.049105796962976456, -0.0718880295753479, 0.3118627071380615, -0.13744035363197327, 0.37367185950279236, 0.1434195637702942, -0.06306784600019455, -0.015934573486447334, 0.26105430722236633, 0.19986149668693542, -0.2784341871738434, -0.7520595192909241, -0.38066616654396057, 0.4865344166755676, 0.23922137916088104, 1.0221023559570312, 0.2519335448741913, 0.8279944062232971, 0.21831955015659332, 0.7591125965118408, -1.0198780298233032, 0.2759854197502136, -0.443646639585495, -0.33255159854888916, -0.13967080414295197, -0.5661600828170776, -0.6955815553665161, 0.1121811494231224, -0.2763146460056305, -0.725666880607605, 0.48810631036758423, -0.12883251905441284, -0.26319995522499084, 0.42329835891723633, -0.9800878167152405, 1.0914169549942017, -0.5098651051521301, -0.527649462223053, -0.43118566274642944, -0.5650593638420105, 0.3527154326438904, -0.28825798630714417, 0.4838044047355652, -0.24226762354373932, 0.09083151072263718, 0.6779574751853943, -0.18782493472099304, 0.7819725871086121, -0.1482863575220108, -0.0006036228151060641, 0.25163140892982483, 0.30337175726890564, 0.2355962097644806, -0.3255000114440918, -0.17666807770729065, 0.13222937285900116, -0.1948939859867096, -0.35316717624664307, -0.4531433582305908, 0.6425899863243103, -0.9265581965446472, -0.24301795661449432, -0.5358942747116089, -0.5240298509597778, -0.18668465316295624, -0.00964666623622179, 0.1373383104801178, -0.12529969215393066, -0.15953944623470306, -0.11311732977628708, 0.4925304055213928, -0.4738391637802124, 0.3030438721179962, 0.7073611617088318, 0.26282423734664917, -0.21555495262145996, 1.2160125970840454, 0.17466843128204346, 0.1960119903087616, 0.40648728609085083, 0.22090618312358856, -0.16567039489746094, -0.16162773966789246, -0.4013305604457855, 0.16673962771892548, -0.9058505892753601, -0.34322988986968994, -0.3828521966934204, -0.011385353282094002, -0.13357341289520264, -0.48118963837623596, -0.44543328881263733, -0.21300658583641052, -0.14511065185070038, -0.10309065133333206, 0.48620375990867615, 0.541772186756134, -0.48318910598754883, -0.09478141367435455, -1.114970088005066, -0.03479890525341034, 0.4054768681526184, 0.24491113424301147, -0.026125064119696617, -0.5235757827758789, -0.40953025221824646, -0.23188355565071106, -0.01660466194152832, -0.9383299350738525, 0.598200261592865, 0.4589311480522156, 0.2713760733604431, 0.4746183753013611, 0.5469000935554504, 0.6426814794540405, -0.3237032890319824, 0.4235927164554596, 0.41854631900787354, -1.1316043138504028, 0.25896888971328735, 0.18187518417835236, -0.17454375326633453, 0.4951228201389313, 1.0278364419937134, -1.0152024030685425, 0.09127476066350937, -0.4160012900829315, -0.7328243255615234, 1.1126024723052979, -0.26414892077445984, 0.16367441415786743, 0.0032672006636857986, -0.06107188016176224, 0.11776308715343475, -0.09732013195753098, -0.7257164716720581, 0.10249815136194229, -0.015012357383966446, -0.5083341002464294, -0.1238074079155922, -0.13402238488197327, -0.11134879291057587, -0.08517951518297195, 0.425714373588562, -0.17419184744358063, 0.16148534417152405, -0.012811833061277866, -0.4801759123802185, -0.6001524329185486, 0.3952716886997223, 0.08966931700706482, -0.15655675530433655, -0.2188575118780136, 0.40382689237594604, 0.6745356917381287, -0.2492346167564392, 0.36851632595062256, 0.17478159070014954, 0.17800728976726532, -0.09495449811220169, 0.3839300870895386, 1.145367980003357, 0.43667274713516235, -0.6913779973983765, 0.5179353952407837, -0.005018746946007013, 0.20711742341518402, 0.10529220849275589, -0.41831234097480774, 0.04970850050449371, 0.5951512455940247, -0.18790996074676514, 0.006586765870451927, 0.21566668152809143, -0.8925037980079651, -0.2839947044849396, 0.05398489162325859, -0.4398164749145508, -0.6807361841201782, 0.06198465824127197, 0.5689301490783691, -0.03495003283023834, 0.512191891670227, -0.5170625448226929, -1.0047568082809448, 0.2724337577819824, 0.407161146402359, 0.9787049293518066, -0.3969497084617615, 0.1830175518989563, 0.33920034766197205, 0.08579612523317337, -0.09446576982736588, 0.5318816900253296, -0.28989896178245544, -0.7018760442733765, -0.5462920665740967, -0.7645633816719055, -0.8009808659553528, -0.3332204222679138, -0.6753871440887451, 0.12550613284111023, -0.27390289306640625, 0.20805078744888306, -0.09529144316911697, 0.26961037516593933, -0.9776996374130249, 0.03921932727098465, 0.7764958739280701, 0.6481186151504517, -1.4631155729293823, 0.6936803460121155, 1.0891532897949219, -0.5190319418907166, -0.6301842331886292, -0.3595767021179199, -0.09785798192024231, -0.7017238140106201, 1.1434110403060913, 0.1360575556755066, -0.31325680017471313, -0.3002133369445801, -0.22759689390659332, -0.6884028911590576, 0.7076735496520996, 0.3090774118900299, -0.4052659273147583, 0.3482877016067505, -0.09743610769510269, 0.9566260576248169, -0.2955740988254547, 0.17622363567352295, 0.07973436266183853, 0.44891291856765747, 0.10016629844903946, -1.00320565700531, 0.13313503563404083, -0.24263975024223328, -0.11985985934734344, 0.2213844358921051, -0.9931031465530396, 0.7489197850227356, -0.17065651714801788, -0.5369086265563965, -0.17598353326320648, 0.6392945647239685, -0.20023103058338165, 0.31868627667427063, 0.6409797668457031, 0.4511696994304657, 0.7059040069580078, -0.20043884217739105, 0.7164598703384399, -0.5038192868232727, 0.29594191908836365, 0.36434000730514526, -0.7640670537948608, 0.9711033701896667, 0.2444342076778412, -0.43393567204475403, 0.525301456451416, 0.793287456035614, 0.23721829056739807, 0.4020072817802429, 0.313128799200058, -0.5292615294456482, -0.19918188452720642, -0.6767126321792603, -0.21579447388648987, 0.3840979337692261, 0.37328076362609863, 0.10834898799657822, -0.13986732065677643, 0.3913111686706543, 0.3007769286632538, -0.17940352857112885, -0.37136420607566833, 0.5412880778312683, 0.001637486508116126, -0.5120647549629211, 0.6817130446434021, -0.18651175498962402, 0.8736275434494019, -0.33551225066185, 0.10185695439577103, -0.49031636118888855, 0.1816675215959549, -0.4707137942314148, -0.7038357257843018, 0.26723533868789673, 0.4757922887802124, -0.030351653695106506, -0.4762881100177765, 0.6585887670516968, -0.8323667049407959, -0.2594991624355316, 0.6152310371398926, 0.5528664588928223, 0.46190911531448364, 0.2857119143009186, -0.5734007358551025, 0.0721699446439743, -0.05174049735069275, -0.30557581782341003, 0.599089503288269, 0.8788780570030212, -0.36072272062301636, 0.3115343153476715, 0.39465776085853577, 0.16370746493339539, -0.01389568205922842, 0.097002774477005, 0.6672786474227905, -0.7036378979682922, -0.32842379808425903, -0.3197927474975586, 0.18594907224178314, 0.21893082559108734, -0.3132493793964386, 0.4937761723995209, 0.20924757421016693, 0.9379916787147522, -0.24506153166294098, 0.8145650029182434, -0.4349905848503113, 0.26997655630111694, -0.37020552158355713, 0.439957857131958, -0.6556149125099182, -0.3183063268661499, -0.36389216780662537, -0.8509348034858704, -0.13553744554519653, 0.7317777872085571, -0.25512436032295227, -0.1667957901954651, 0.8415811657905579, 0.25121018290519714, 0.07113476097583771, -0.31070616841316223, 0.31613871455192566, 0.10431404411792755, -0.1645464152097702, 1.120752215385437, 1.0004342794418335, -0.09523233771324158, 0.6798543930053711, -0.774962842464447, -0.42143750190734863, -0.2767631411552429, -0.8045375943183899, -0.6307279467582703, -0.3470325171947479, -0.5302141308784485, -0.4105653762817383, -0.05591011792421341, 1.0882624387741089, 0.5667086839675903, -0.8997596502304077, -0.36718109250068665, 0.5200573801994324, 0.26462870836257935, -0.05294819176197052, -0.1936870813369751, 0.3228748142719269, -0.3774423599243164, -1.0499190092086792, 0.1703306883573532, 0.26830363273620605, 0.1450139880180359, -0.24287870526313782, -0.35384640097618103, -0.06306696683168411, -0.25659680366516113, 0.6724579930305481, 0.7541729807853699, -0.3376905620098114, -0.3762268126010895, -0.050434477627277374, -0.4261360168457031, -0.06824769824743271, 0.47270387411117554, -0.30028876662254333, 0.3647827208042145, 0.8257010579109192, 0.752473771572113, 0.5269442200660706, -0.29669737815856934, 0.2514473795890808, -0.7189834713935852, 0.4484086334705353, 0.17839089035987854, 0.5773475766181946, 0.5262205600738525, -0.3581993877887726, 0.6814200282096863, 0.3568257689476013, -0.4221513569355011, -0.8109049201011658, 0.2447098195552826, -1.0793428421020508, 0.10606911033391953, 1.0953809022903442, -0.4419286549091339, -0.2239386886358261, 0.22477544844150543, -0.34412217140197754, 0.5548809766769409, -0.3416929841041565, 0.8274741768836975, 0.7440469861030579, -0.30683577060699463, -0.3415379226207733, -0.3218475580215454, 0.5055921077728271, 0.6173954010009766, -0.9625406265258789, 0.030748965218663216, 0.5471018552780151, 0.00876590609550476, 0.6059990525245667, 0.3767843246459961, 0.003980141133069992, 0.228414848446846, -0.022527119144797325, 0.7325361967086792, 0.3962237536907196, -0.10215979069471359, -0.6535027623176575, -0.01234410796314478, -0.012190707959234715, -0.1027497798204422 ]
http://arxiv.org/abs/2402.18419v1
http://arxiv.org/pdf/2402.18419v1
Can GPT Improve the State of Prior Authorization via Guideline Based Automated Question Answering?
2024-02-28T15:39:53
2024-02-28T15:39:53
Shubham Vatsal, Ayush Singh, Shabnam Tafreshi
cs.CL
cs.CL, cs.AI, cs.LG
Health insurance companies have a defined process called prior authorization (PA) which is a health plan cost-control process that requires doctors and other healthcare professionals to get clearance in advance from a health plan before performing a particular procedure on a patient in order to be eligible for payment coverage. For health insurance companies, approving PA requests for patients in the medical domain is a time-consuming and challenging task. One of those key challenges is validating if a request matches up to certain criteria such as age, gender, etc. In this work, we evaluate whether GPT can validate numerous key factors, in turn helping health plans reach a decision drastically faster. We frame it as a question answering task, prompting GPT to answer a question from patient electronic health record. We experiment with different conventional prompting techniques as well as introduce our own novel prompting technique. Moreover, we report qualitative assessment by humans on the natural language generation outputs from our approach. Results show that our method achieves superior performance with the mean weighted F1 score of 0.61 as compared to its standard counterparts.
[ -0.2697431147098541, -0.9809931516647339, 1.0819470882415771, 0.08512557297945023, -0.3570381999015808, -0.11946333944797516, 0.25015032291412354, -0.508686363697052, -0.1675652265548706, 0.3736947774887085, -0.5474814772605896, -0.09463410079479218, -0.1964309811592102, 0.3201543390750885, 0.14957217872142792, 0.8772909045219421, -0.2986113131046295, 0.08053244650363922, -0.2837580442428589, 0.30042943358421326, -0.6115706562995911, -0.412000447511673, -1.0662249326705933, -0.39407533407211304, 0.22524061799049377, 0.13942605257034302, 0.4557510018348694, 0.12707915902137756, 0.5219020247459412, 0.30771178007125854, -0.17396961152553558, 0.2621839940547943, 0.05415700376033783, 0.0010469454573467374, -0.13709108531475067, -0.36188411712646484, -0.7914881110191345, 0.10104376822710037, 0.4462263584136963, 0.5364699959754944, -0.3905906081199646, 0.169239804148674, 0.0559438019990921, 0.6978675127029419, -0.5038294792175293, -0.026224594563245773, -0.5434868931770325, -0.09024020284414291, 0.09908939152956009, -0.45605072379112244, -0.26489025354385376, -0.5999279022216797, 0.6896017789840698, -0.8358227610588074, 0.28421270847320557, -0.005973764229565859, 0.9911664724349976, 0.4894827604293823, -0.21575221419334412, -0.2859225869178772, -0.7801975607872009, -0.04574573412537575, -0.526088297367096, 0.35546231269836426, 0.5671488046646118, 0.47342631220817566, -0.024859072640538216, -0.8155981302261353, -0.9305369853973389, -0.31268519163131714, -0.30972325801849365, 0.24354009330272675, -0.2331467717885971, 0.21771323680877686, 0.5623049736022949, 0.34094101190567017, -0.7540315389633179, -0.2283196747303009, -0.3872075378894806, -0.31432297825813293, 0.5683635473251343, -0.003102760063484311, 0.33283910155296326, -0.21666644513607025, -0.3614548146724701, 0.10003887116909027, -0.565238356590271, 0.23309189081192017, 0.21946021914482117, -0.21698740124702454, -0.07864885777235031, 0.3743727207183838, -0.5330278277397156, 0.4872182011604309, 0.49184414744377136, 0.1555653214454651, 0.3761715888977051, -0.2132968157529831, -0.6110839247703552, 0.09599537402391434, 0.360388845205307, 0.4407242238521576, 0.5185844302177429, 0.02294733375310898, -0.01557885017246008, -0.2521090805530548, 0.2556782364845276, -0.7424386143684387, -0.3103095293045044, 0.5424474477767944, -0.46466657519340515, 0.21944476664066315, 0.39328533411026, -0.55341637134552, -0.4104766547679901, -0.45602744817733765, 0.4027652144432068, -0.4244011342525482, -0.31429123878479004, 0.06498274207115173, -0.03376658260822296, 0.6557043194770813, 0.6365180015563965, -0.46153756976127625, 0.274270236492157, 0.5356089472770691, 0.6028792262077332, 0.16130831837654114, 0.016136499121785164, -0.5664992928504944, -0.06497276574373245, -0.397879421710968, 0.7636718153953552, -0.31104034185409546, -0.5995435118675232, -0.18057121336460114, 0.037442076951265335, -0.4792816936969757, -0.459555447101593, 0.4716663658618927, -0.8716941475868225, 0.4724384844303131, -0.42092612385749817, -0.3514394760131836, -0.09589467942714691, 0.44010016322135925, -0.30776670575141907, 0.4306385815143585, 0.154261976480484, -0.6225430369377136, 0.9170312285423279, -0.7230685353279114, -0.3280661702156067, 0.334645539522171, -0.24853284657001495, -0.5477209091186523, -0.05596847087144852, 0.6227359175682068, 0.21894490718841553, -0.1757768988609314, 0.2026136815547943, 0.08383215963840485, -0.22303640842437744, 0.24333173036575317, -0.4233759343624115, 0.6681056022644043, 0.4004158079624176, -0.30313175916671753, 0.3426322340965271, -0.5345873832702637, 0.45897796750068665, 0.12622947990894318, -0.24995002150535583, -0.3424127697944641, -0.2372836023569107, -0.43680617213249207, 0.11442412436008453, -0.03279095143079758, -0.17876176536083221, 0.3513728380203247, -0.4125189483165741, 0.2412136048078537, 0.8436233997344971, 0.7285023927688599, 0.5567005276679993, -0.35458019375801086, 0.7798553705215454, -0.3953371047973633, 0.31925609707832336, -0.21369536221027374, -0.7409774661064148, -0.11941763013601303, -0.16707295179367065, 0.33700132369995117, 0.729791522026062, -0.7824733853340149, 0.3596445322036743, -0.14898040890693665, -0.14807477593421936, -0.4862203598022461, -0.1339905709028244, 0.20446805655956268, 1.058772325515747, 0.35171693563461304, -0.2645147144794464, -0.06678622961044312, -0.5013304948806763, 0.08265655487775803, -0.6442192792892456, -0.38521286845207214, 0.3023809492588043, 0.363583505153656, -0.18085023760795593, 0.9764313101768494, -0.618893027305603, -0.33034271001815796, -0.11209487169981003, 0.2570483684539795, 0.09546033293008804, 0.43089941143989563, 0.3415887951850891, -1.0732831954956055, -0.5432551503181458, -0.041512083262205124, -0.4860178530216217, -0.2998582422733307, -0.27147698402404785, -0.024412773549556732, 0.0426919050514698, 0.38940373063087463, -0.512243926525116, 0.46954405307769775, 0.11950882524251938, -0.4478509724140167, 0.3950701057910919, -0.6701664328575134, 0.5376741290092468, -0.688266396522522, 0.4476550817489624, -0.1652938574552536, -0.11307264864444733, -0.5933213829994202, -0.07283959537744522, 0.20746779441833496, -0.27847036719322205, -0.42925238609313965, 0.46611833572387695, -0.5038553476333618, 0.4900987148284912, -0.26398664712905884, -0.47264906764030457, -0.14078284800052643, 0.2215496152639389, -0.0035447515547275543, 0.9352515935897827, 0.5085599422454834, -0.9265324473381042, 0.03059202805161476, 0.35488569736480713, -0.1580216884613037, 0.9886398911476135, -0.9788297414779663, 0.43233975768089294, -0.536995530128479, 0.5014275908470154, -0.9957232475280762, -0.37493133544921875, 0.5838057994842529, -0.3330467641353607, 0.14132726192474365, -0.28692275285720825, -0.00006741766992490739, -0.5851828455924988, 0.07194698601961136, 0.13289391994476318, 0.562720000743866, -0.007116978522390127, 0.653150737285614, 0.0053298696875572205, -0.46624764800071716, -0.307086318731308, -0.3314542770385742, -0.12392502278089523, -0.10268225520849228, -0.4805702269077301, 0.3239731788635254, -0.05483994632959366, -0.3270411491394043, 0.03197788819670677, -0.25575417280197144, -0.34525811672210693, -0.07106913626194, 0.30710843205451965, 0.15180206298828125, -0.10758671909570694, 0.21376022696495056, 0.1553468257188797, -0.3964080810546875, 0.06911322474479675, -0.4748157262802124, 0.4712907075881958, 0.08316140621900558, -0.4157862961292267, -0.899865448474884, 0.5875437259674072, 0.5368558764457703, -0.5794888734817505, 0.08181699365377426, 0.41356784105300903, -0.4792124629020691, 0.31472623348236084, -0.7839984893798828, -0.23351505398750305, -0.47036629915237427, -0.05108150094747543, -0.39534226059913635, -0.37435394525527954, 0.3683384656906128, -0.002671499503776431, 0.1256047636270523, 0.4085112512111664, 0.44114845991134644, 0.034377288073301315, 0.9626905918121338, 0.5045531988143921, 0.10807113349437714, 0.3473547697067261, -0.035247523337602615, -0.18822383880615234, -0.5930361747741699, -0.17041389644145966, -0.5372031927108765, 0.08167092502117157, -0.40436211228370667, -0.3509146273136139, 0.5596781373023987, 0.01081906445324421, 0.1500636339187622, -0.1258915811777115, -0.563670814037323, 0.31825903058052063, 0.4371267855167389, 0.5417634844779968, 0.3856033384799957, -0.25381699204444885, -0.11500110477209091, 0.11405157297849655, -0.18759550154209137, -0.4922822415828705, 1.0151287317276, 0.3072691261768341, 0.36781519651412964, -0.048895709216594696, 0.6342540979385376, 0.40126991271972656, 0.6233677268028259, -0.4501386880874634, 0.4769364893436432, 0.3584006130695343, -0.7181900143623352, -0.46460166573524475, -0.4756150245666504, -0.9752740263938904, 0.00616033747792244, -0.17485974729061127, -0.6079984903335571, 0.3045649528503418, 0.6539983153343201, -0.8314992189407349, -0.18811781704425812, -1.093603491783142, 0.7948249578475952, -0.32195088267326355, -0.05275721102952957, 0.021473921835422516, -0.6636283993721008, -0.057711657136678696, -0.08148213475942612, -0.18431870639324188, -0.07570723444223404, -0.03557209670543671, 0.5391988754272461, -0.6002589464187622, 0.4011841416358948, -0.7224951386451721, -0.04119041934609413, 0.48882198333740234, -0.2699458599090576, 0.6554966568946838, 0.2514044940471649, -0.056796249002218246, -0.2773985266685486, 0.08349555730819702, -0.30188632011413574, -0.7486605644226074, 0.37360256910324097, -0.30931130051612854, -0.7715012431144714, -0.39642053842544556, -0.13715064525604248, -0.6195796728134155, 0.463003545999527, 0.2685651183128357, -0.020250052213668823, -0.047433409839868546, -0.3232998549938202, 0.5433666706085205, -0.10367613285779953, 0.21939125657081604, 0.7393212914466858, 0.09651273488998413, -0.2438684105873108, 0.33527180552482605, 0.24601644277572632, 0.21100790798664093, 0.4417884945869446, 0.6202556490898132, -0.5570493936538696, -0.8844432830810547, -0.5986618399620056, 0.08356485515832901, -0.41310587525367737, 0.0781220868229866, -0.7585628032684326, 0.1631985753774643, -0.5765768885612488, 0.10297215729951859, 0.4192889928817749, 0.08552561700344086, 0.21326616406440735, -0.2373613715171814, 0.06517547369003296, 0.5125276446342468, 0.20202675461769104, 0.3602149784564972, -0.4959007799625397, 0.5581099987030029, 0.7207772135734558, 0.2732335925102234, -0.3200865089893341, -0.01561832521110773, 0.41030532121658325, -0.15900233387947083, -0.12045903503894806, -1.2458257675170898, -0.09290170669555664, -0.0033421649131923914, 0.869581937789917, 0.37878918647766113, 0.21982476115226746, 0.8561010360717773, -0.8496001362800598, 0.6625069379806519, -0.0028137925546616316, -0.9405398964881897, 0.8242018818855286, -0.1933484822511673, 0.40880241990089417, 0.9502562880516052, 0.6498094201087952, -0.40388068556785583, -0.2587360739707947, -0.6783786416053772, -0.9482814073562622, 0.17297276854515076, 0.05071599781513214, 0.13483397662639618, 0.12269856780767441, 0.5261709690093994, -0.09185275435447693, 0.21788422763347626, -0.31966501474380493, -0.19788962602615356, -0.0045218016020953655, 0.024170435965061188, 0.192472904920578, -0.20558352768421173, 0.052806444466114044, 0.01072757225483656, 0.3246717154979706, -0.16415035724639893, 0.26425161957740784, 0.9933382272720337, 0.0355125330388546, -0.23490352928638458, 0.6385053992271423, 0.7881038188934326, 1.1948440074920654, -0.20767050981521606, -0.2285846471786499, 0.2768796980381012, -0.7802779674530029, 0.15661616623401642, 0.45479780435562134, -0.5106762051582336, -0.04736718535423279, -0.009650731459259987, 0.32336851954460144, -0.281797856092453, -0.30255866050720215, 0.4646883010864258, -0.3060901463031769, -0.5814826488494873, -0.10792793333530426, -0.013527565635740757, -0.5768409967422485, 0.06580127030611038, 0.7089223265647888, -0.1429063379764557, 0.16658172011375427, -0.28995004296302795, 0.6797364354133606, 0.2742975652217865, -0.523573100566864, -0.07422025501728058, 0.728377103805542, 0.25473862886428833, -0.257182240486145, 0.5415626168251038, -0.1265278160572052, -0.37392836809158325, 0.36738771200180054, 0.30049875378608704, 0.738211989402771, -0.4602353870868683, 0.3101171851158142, 0.4075550138950348, 0.4524102509021759, 0.1276652067899704, 0.5266645550727844, -0.19856566190719604, -0.22173838317394257, -0.7708987593650818, -0.1978495568037033, -0.6552106738090515, 0.145571768283844, -0.4412042498588562, -0.0805283859372139, -0.6723699569702148, -0.13552725315093994, -0.05108385533094406, -0.04569406062364578, -0.9136540293693542, 0.5446476340293884, -0.09441106766462326, 0.8225253224372864, -0.7042003870010376, 0.4453621208667755, 0.9707470536231995, -0.48815473914146423, -1.3261229991912842, 0.40688639879226685, 0.12608563899993896, -0.7472398281097412, 0.401623398065567, 0.014756949618458748, 0.08419346064329147, -0.06407324969768524, -0.32096806168556213, -0.3037843406200409, 0.9828643202781677, 0.1630564033985138, -0.3633269667625427, -0.400327205657959, -0.13987384736537933, 0.5076637268066406, 0.11443176865577698, 0.4103744328022003, 0.38466763496398926, 0.7456151247024536, 0.10830038040876389, -1.1289334297180176, 0.329136461019516, -0.22870565950870514, -0.5228148698806763, 0.11696992069482803, 0.009206530638039112, 0.7012816667556763, -0.3586518168449402, -0.4461786150932312, -0.07587210834026337, 0.6182629466056824, 0.04443936422467232, 0.7330746650695801, 0.9997493624687195, 0.17037822306156158, 1.2657177448272705, -0.13743187487125397, 1.3931347131729126, 0.13763511180877686, 0.07858800143003464, 0.8828571438789368, -0.5062394738197327, 0.5756885409355164, 0.5863310098648071, -0.34205490350723267, 0.31598666310310364, 0.6313184499740601, 0.34873437881469727, 0.42106109857559204, 0.24338239431381226, -0.23173779249191284, -0.18159019947052002, 0.02784710004925728, -0.7168360352516174, 0.1990930438041687, 0.008989013731479645, -0.26630899310112, -0.10830745846033096, 0.05776179954409599, -0.023046523332595825, 0.05083019286394119, -0.3455534279346466, 1.1258845329284668, -0.03204916790127754, -0.9463047385215759, 0.2085367888212204, -0.3609263598918915, 0.3364887237548828, -1.0021699666976929, -0.18052710592746735, 0.10834751278162003, 0.057717520743608475, -0.20564386248588562, -0.4552026689052582, 0.2260378897190094, 0.028009073808789253, -0.183182954788208, -0.44930195808410645, 0.6227361559867859, -0.1947248876094818, -0.17247629165649414, -0.31718266010284424, 0.6471969485282898, -0.05968340113759041, -0.4816678762435913, -0.9094966650009155, -0.46396079659461975, -0.3060353994369507, -0.14262019097805023, -0.17300036549568176, 0.4002703130245209, -0.20759062469005585, 0.4790095090866089, 1.066467523574829, 0.6277719140052795, -0.09033230692148209, 0.11592786759138107, 0.43788912892341614, -0.21831752359867096, -1.0881153345108032, -0.7853924632072449, 0.6910266876220703, -0.31991511583328247, -0.46092918515205383, 0.5077477693557739, 0.16375789046287537, 0.7752641439437866, -0.003458860097452998, 0.6408582925796509, -0.2206268310546875, 0.6899974942207336, -0.8497783541679382, 0.6874626278877258, -0.4009093940258026, 0.029833894222974777, -0.5983927845954895, -0.4376686215400696, -0.4841421842575073, 0.5269799828529358, -0.9668171405792236, 0.036636050790548325, 0.6030148267745972, 0.5475847125053406, 0.22018007934093475, -0.0023805948439985514, 0.06332136690616608, -0.27804577350616455, 0.7090919017791748, 0.39419665932655334, 0.8044118285179138, -0.12029457837343216, 0.5675866603851318, -0.13062401115894318, -0.4636642038822174, -0.0074109784327447414, -0.9169724583625793, -0.5630999803543091, -0.29816150665283203, -0.4193611443042755, -0.36468541622161865, 0.243214413523674, 0.9711412191390991, 0.7145968079566956, -0.6021115779876709, 0.43853193521499634, -0.21787258982658386, 0.1242213249206543, -0.665336549282074, -0.2371399849653244, 0.4696422219276428, -0.13021644949913025, -0.5675640106201172, 0.08906549215316772, 0.1125149205327034, 0.38024306297302246, 0.21356140077114105, -0.07844748347997665, 0.18805837631225586, -0.22505758702754974, 0.2308867871761322, 0.4257960915565491, -0.3693024218082428, -0.25363877415657043, 0.2093115746974945, -0.02693489007651806, -0.01556510478258133, 1.3457204103469849, -0.5964829325675964, 0.6382417678833008, 0.5864018797874451, 0.8524601459503174, 0.13097114861011505, 0.48729342222213745, 0.6552995443344116, -0.27514225244522095, -0.019253959879279137, 0.3762522339820862, 0.3430835008621216, -0.04692171886563301, -0.594824492931366, 0.19451197981834412, -0.05953265726566315, -0.6543183922767639, -0.37479066848754883, 0.1802678108215332, -0.9532907009124756, 0.027336644008755684, 0.8657476305961609, -0.12234753370285034, -0.0830502137541771, -0.6036695241928101, -0.7420482635498047, -0.022592788562178612, -0.5165789723396301, 0.6796286702156067, 0.4698476493358612, -0.27943214774131775, -0.17078888416290283, -0.3857310116291046, 0.675315260887146, 0.39391881227493286, -1.1189062595367432, 0.030700311064720154, 0.44794872403144836, 0.4202008843421936, 0.2348867505788803, 1.4634863138198853, -0.18536944687366486, 0.7906470894813538, -0.39789146184921265, -0.5082993507385254, -0.3551120460033417, -0.25394079089164734, -0.3352895975112915, 0.3407699763774872, 0.08958958089351654, -0.45820340514183044 ]
http://arxiv.org/abs/2402.18409v3
http://arxiv.org/pdf/2402.18409v3
A Cognitive Evaluation Benchmark of Image Reasoning and Description for Large Vision-Language Models
2024-02-28T15:28:36
2024-06-14T09:35:57
Xiujie Song, Mengyue Wu, Kenny Q. Zhu, Chunhao Zhang, Yanyi Chen
cs.AI
cs.AI, cs.CL, cs.CV
Large Vision-Language Models (LVLMs), despite their recent success, are hardly comprehensively tested for their cognitive abilities. Inspired by the prevalent use of the "Cookie Theft" task in human cognition test, we propose a novel evaluation benchmark to evaluate high-level cognitive ability of LVLMs using images with rich semantics. It defines eight reasoning capabilities and consists of an image description task and a visual question answering task. Our evaluation on well-known LVLMs shows that there is still a large gap in cognitive ability between LVLMs and humans.
[ -0.47725892066955566, -0.7379179000854492, 0.6352201700210571, -0.1843906193971634, -0.2540538012981415, 0.10512032359838486, -0.3184961676597595, -0.8686239123344421, -0.31153735518455505, 0.7124419212341309, -0.43447473645210266, -0.2719908058643341, -0.49136218428611755, -0.051905613392591476, -0.527859091758728, 0.5078938007354736, -0.10888826102018356, 0.1753641963005066, -0.5823834538459778, -0.07698366791009903, -0.7530093193054199, -0.09902074187994003, -0.5256687998771667, -0.04948221892118454, 0.4140373766422272, 0.04070993885397911, 0.6479635238647461, 0.4807753264904022, 0.8796399831771851, 0.2943020761013031, 0.06893216073513031, 0.047515615820884705, -0.2985660433769226, -0.11455941945314407, -0.3657485842704773, -0.3915238678455353, -0.17456188797950745, -0.16134987771511078, 0.6160772442817688, 0.6399590969085693, -0.011670907028019428, 0.4706245958805084, -0.22809568047523499, 0.6261261105537415, -1.0644736289978027, 0.18227121233940125, -0.8402602672576904, -0.07999773323535919, -0.095720574259758, 0.1890643835067749, -0.4144246578216553, -0.19344767928123474, 0.15708374977111816, -0.7317983508110046, 0.17653274536132812, 0.3732722997665405, 1.0448005199432373, 0.21674540638923645, -0.22952739894390106, -0.16783715784549713, -0.5342239737510681, 0.9535040259361267, -0.40614554286003113, 0.3492097854614258, 0.6943793296813965, 0.8017110228538513, 0.04258446395397186, -0.8160321712493896, -0.6305466890335083, -0.31726741790771484, 0.11098331958055496, 0.0926888957619667, -0.21729034185409546, -0.310944139957428, 0.37598085403442383, 0.2876527011394501, -0.4788499176502228, 0.15789054334163666, -0.5735583901405334, -0.20814193785190582, 0.6309659481048584, 0.44364434480667114, 0.32704615592956543, -0.126307874917984, -0.5257506370544434, -0.17182804644107819, -0.2832435369491577, 0.36757180094718933, -0.23237065970897675, -0.18479621410369873, 0.2819361090660095, 0.6992651224136353, -0.38458964228630066, 0.9040813446044922, -0.49334150552749634, -0.2427276223897934, 0.2713417410850525, -0.21566657721996307, -0.4804798662662506, -0.2715955078601837, 0.4548996686935425, 0.8610722422599792, 0.37666580080986023, -0.062554731965065, -0.4093041718006134, 0.42003417015075684, 0.165988028049469, -0.5191434025764465, 0.08193471282720566, 0.04390883445739746, -0.7697049975395203, -0.006142608821392059, -0.04927947372198105, -0.8037513494491577, -0.44682565331459045, -0.026629261672496796, 0.34861844778060913, -0.39993607997894287, -0.1971973478794098, 0.49617499113082886, -0.47737228870391846, 0.7066235542297363, 0.5463317632675171, -0.47479960322380066, 0.4944436550140381, 0.7429385781288147, 0.38857826590538025, -0.327055424451828, -0.4235266447067261, -0.5173972845077515, 0.07720790803432465, -0.38606974482536316, 0.8498700857162476, -0.6685026288032532, -0.2410106360912323, -0.0290167648345232, 0.15632639825344086, 0.10764733701944351, -0.7482576966285706, 0.6371856927871704, -0.7607846856117249, -0.1329757422208786, -0.4576936662197113, -0.5800883769989014, -0.17040027678012848, 0.46764037013053894, -0.6827664375305176, 0.9215132594108582, 0.12409520149230957, -0.4569733440876007, 0.563223123550415, -0.2297680526971817, -0.4044950604438782, 0.6046870350837708, -0.4450683891773224, -0.3365343511104584, 0.018447326496243477, 0.24697275459766388, 0.46783530712127686, -0.7905438542366028, 0.08624415844678879, -0.45128753781318665, -0.566547691822052, 0.5997815728187561, -0.2827194929122925, 0.8204971551895142, 0.260404109954834, -0.41901707649230957, -0.011277547106146812, -0.6336749792098999, 0.36906149983406067, 0.580191969871521, -0.27697932720184326, -0.4448826313018799, 0.013763693161308765, -0.09842097759246826, 0.12263107299804688, 0.4644054174423218, -0.5585121512413025, 0.040427058935165405, 0.10403488576412201, 0.34481409192085266, 0.6633222103118896, -0.1298792064189911, 0.13582591712474823, -0.20169389247894287, 0.3628564476966858, -0.14396919310092926, 0.4687997102737427, -0.1474761664867401, -0.53639155626297, -0.6944095492362976, -0.5143123269081116, 0.005439183209091425, 0.6865414381027222, -1.0036702156066895, 0.3797611594200134, -0.3802028298377991, -0.566314160823822, -0.421029657125473, 0.17566756904125214, 0.8153740167617798, 0.19790689647197723, 0.34880873560905457, -0.5764874815940857, -0.006001582369208336, -1.2702616453170776, -0.41013583540916443, 0.024966400116682053, 0.003219225909560919, 0.4668413996696472, 0.8273951411247253, 0.03926624357700348, 0.37981823086738586, -0.4583054780960083, -0.2970648407936096, 0.006459505762904882, -0.11256159096956253, -0.05628151446580887, 0.23454701900482178, 0.4346598982810974, -0.7662283778190613, -0.15197788178920746, -0.1306198239326477, -0.8168588280677795, 0.3925884962081909, 0.017520582303404808, -0.12126632034778595, 0.0990733951330185, 0.5965536832809448, -0.7815831303596497, 0.9140714406967163, 0.17761926352977753, -0.5637660026550293, 0.7265835404396057, -0.16152195632457733, 0.4328534007072449, -0.323746919631958, -0.017838845029473305, -0.014337893575429916, -0.018268054351210594, -0.08305013924837112, 0.2557600140571594, 0.19983932375907898, -0.04067329317331314, -0.6204003691673279, 0.6399818658828735, -0.7281010746955872, -0.625675618648529, 0.12890061736106873, 0.17650459706783295, 0.005769254639744759, 0.2830420136451721, 0.20711256563663483, 0.2986845076084137, 1.0137830972671509, -0.3473552465438843, 0.7165322303771973, 0.1151827722787857, -1.0931645631790161, 0.8433776497840881, -0.49195772409439087, 0.0882815346121788, -0.1704685389995575, 0.10420280694961548, -0.9341611862182617, -0.246720090508461, -0.17441080510616302, -0.2263438105583191, -0.08897000551223755, 0.19788946211338043, -0.5835299491882324, -0.711356520652771, -0.12408963590860367, 0.5465855598449707, 0.7928301095962524, -0.4377068877220154, 0.5976228713989258, 0.15099529922008514, 0.32708269357681274, -0.6019117832183838, -0.7329029440879822, 0.278145968914032, -0.1651594340801239, -0.585024356842041, 0.009106197394430637, 0.015039559453725815, -0.45739370584487915, 0.31843236088752747, 0.047470301389694214, -0.10720556229352951, 0.07240425050258636, 0.10145071893930435, 0.3637268543243408, -0.16806240379810333, 0.17365367710590363, -0.739004373550415, 0.17751695215702057, 0.18659117817878723, -0.11005543172359467, 0.332022100687027, -0.5042165517807007, -0.6060515642166138, -0.2945156693458557, 0.3496231138706207, 0.711069643497467, -0.6883955001831055, 0.4895941913127899, 0.5153326392173767, -0.47220975160598755, -0.14537841081619263, -0.7206214070320129, 0.12427353858947754, -0.39140310883522034, 0.5499160885810852, -0.6701464056968689, -0.6485342979431152, 0.34852609038352966, 0.19709478318691254, -0.046204544603824615, 0.37848106026649475, 0.4751458466053009, -0.11996175348758698, 0.886819064617157, 0.029759561643004417, 0.3598054349422455, 0.2751076817512512, -0.15399779379367828, -0.022395825013518333, -0.828330934047699, -0.5730763673782349, -0.4196796715259552, -0.20644058287143707, -0.14682862162590027, -0.6724299192428589, 0.07128199934959412, 0.11893415451049805, -0.3998425006866455, 0.16113631427288055, -0.6649880409240723, 0.6314378380775452, 0.6243466734886169, 0.16120019555091858, 0.1818140596151352, -0.012578381225466728, -0.018199732527136803, -0.023830367252230644, -0.24240238964557648, -0.42993345856666565, 0.7673860192298889, 0.14250388741493225, 0.7547740340232849, -0.0643215999007225, 0.20783570408821106, 0.2940661609172821, 0.02875661663711071, -0.6930440068244934, 1.0223320722579956, -0.2264658361673355, -0.736158013343811, -0.36041459441185, -0.31254053115844727, -1.082772135734558, 0.21761071681976318, -0.4658413529396057, -1.124100685119629, -0.0788637325167656, -0.08404916524887085, -0.06083992123603821, 0.40935173630714417, -0.545821487903595, 1.06088387966156, -0.772557258605957, -0.29142892360687256, -0.5630757212638855, -0.4646317958831787, 0.5274314880371094, 0.14112262427806854, 0.2994978427886963, -0.3788486421108246, -0.11558562517166138, 0.7610758543014526, -0.0746927559375763, 0.5767273902893066, -0.17502804100513458, 0.30000343918800354, 0.49472591280937195, 0.3338288366794586, 0.3998064696788788, -0.34786441922187805, 0.25023528933525085, 0.04791995882987976, 0.3290027379989624, -0.6811622977256775, -0.7178213596343994, 0.41581496596336365, -0.474738746881485, -0.5625296235084534, -0.2690882682800293, -0.3226051330566406, -0.2900329828262329, 0.2430306077003479, 0.17236080765724182, 0.37250030040740967, -0.2480171173810959, 0.407456636428833, 0.4628942310810089, -0.5517916083335876, 0.3651050925254822, 0.35116147994995117, -0.4127112627029419, -0.29011377692222595, 0.8715816140174866, -0.23740622401237488, 0.393320232629776, 0.2669515609741211, 0.07116538286209106, -0.05814743414521217, -0.7296897768974304, -0.3617764413356781, 0.021463409066200256, -1.1896390914916992, -0.023050133138895035, -0.3181481957435608, -0.061030492186546326, -0.04223625734448433, -0.2602355480194092, -0.42722442746162415, -0.29919198155403137, 0.19277361035346985, 0.26526662707328796, 0.03905201703310013, 0.6729890704154968, 0.5725206732749939, -0.2359752655029297, -0.5804267525672913, 0.5889970064163208, 0.6585519909858704, 0.4264066219329834, 0.23191241919994354, -0.20660856366157532, -0.24325326085090637, -0.22023022174835205, 0.054569780826568604, -0.5412850379943848, -0.024875598028302193, -0.24761168658733368, 0.8726646900177002, 0.22123639285564423, -0.12405234575271606, 0.6827356219291687, -0.276798278093338, 1.0082169771194458, 0.5791592597961426, -0.8068428039550781, 0.444539338350296, -0.040036387741565704, 0.5770161151885986, 0.31742867827415466, -0.09154565632343292, -0.19033008813858032, -0.20996476709842682, -0.68483567237854, -0.6854767203330994, 0.12287867814302444, 0.17745792865753174, -0.14309999346733093, -0.12161928415298462, 0.2144780308008194, -0.10942012071609497, 0.021510113030672073, -0.6170597672462463, 0.08495108783245087, -0.10123138129711151, -0.02014840394258499, -0.013821623288094997, -0.09196936339139938, -0.1860182136297226, -0.43153777718544006, 0.36881405115127563, -0.11733175069093704, 0.21362841129302979, 0.22202257812023163, -0.178160160779953, 0.04909863695502281, 0.24425694346427917, 0.28487712144851685, 0.7539539933204651, -0.0527770034968853, 0.3640662431716919, 0.3075271248817444, -0.3196227252483368, -0.17499040067195892, -0.19675888121128082, 0.03135645017027855, -0.5348146557807922, 0.8813130259513855, 0.8039695620536804, 0.046057119965553284, -1.2443853616714478, 0.8086296319961548, -0.38796648383140564, -0.20291191339492798, -0.4375011920928955, 0.07437773048877716, 0.25613853335380554, 0.32650065422058105, 0.2706451416015625, 0.1281588226556778, 0.16411924362182617, -0.765580415725708, 0.11881563067436218, 0.7706651091575623, -0.34142276644706726, 0.11825860291719437, 0.48183131217956543, -0.15903057157993317, -0.17438781261444092, 0.8102039694786072, -0.23290033638477325, -0.42179426550865173, 0.9471278190612793, 0.3424615263938904, 0.6720300912857056, 0.17751789093017578, 0.03786376491189003, 0.3378320038318634, 0.46874651312828064, -0.10664298385381699, 0.3591856360435486, -0.11707048118114471, -0.7793212532997131, -0.30742043256759644, -0.4973903000354767, -0.08067454397678375, 0.0118425153195858, -0.9156730771064758, 0.15022526681423187, -0.49952971935272217, -0.17554111778736115, 0.37083396315574646, -0.27287763357162476, -1.170487403869629, 0.5855774879455566, 0.32479724287986755, 0.9467984437942505, -0.3928074538707733, 0.6930078864097595, 0.5464467406272888, -0.34589797258377075, -0.5027029514312744, -0.3596948981285095, -0.3049365282058716, -1.2585480213165283, 1.0947275161743164, 0.1373465359210968, -0.2045966237783432, -0.5523695349693298, -0.835803747177124, -0.6644958257675171, 1.160355806350708, 0.24052400887012482, -0.48959413170814514, 0.044310569763183594, -0.09707620739936829, 0.4757816195487976, -0.6004763245582581, 0.07882105559110641, 0.7338786125183105, 0.5779076814651489, 0.18406666815280914, -0.9992777705192566, 0.20491699874401093, -0.23680633306503296, 0.1797429770231247, -0.024815762415528297, -0.5521791577339172, 0.8756162524223328, -0.3868880569934845, -0.36088666319847107, 0.3499543070793152, 0.2910851836204529, 0.2164871245622635, 0.18675653636455536, 0.8625282049179077, 0.722706139087677, 0.7028734683990479, -0.1203749030828476, 1.4231972694396973, 0.23595911264419556, 0.189392551779747, 1.1595489978790283, -0.42161861062049866, 1.172113060951233, 0.30027228593826294, -0.05738040804862976, 0.42751264572143555, 0.3844452202320099, -0.2956273555755615, 0.594703197479248, 0.49587956070899963, -0.14049765467643738, -0.7290856838226318, -0.2082604020833969, -0.12699249386787415, 0.674591600894928, 0.44879594445228577, -0.36073043942451477, 0.016911355778574944, -0.05646216496825218, -0.333263099193573, 0.11890392005443573, -0.638338029384613, 0.7028023600578308, -0.026151807978749275, -0.9946377873420715, 0.7904950380325317, -0.2823706567287445, 0.1668338179588318, -0.3021808862686157, -0.024694330990314484, 0.3882804811000824, 0.4739358425140381, -0.08649720251560211, -1.2747563123703003, 0.014779426157474518, -0.011726328171789646, 0.06235215812921524, 0.07424023747444153, 0.8644649982452393, -0.06050393730401993, -0.5570907592773438, 0.6724637746810913, 0.45898088812828064, 0.2731017768383026, 0.027512338012456894, -0.8886402249336243, 0.23631799221038818, -0.17566025257110596, -0.27990636229515076, 0.16314518451690674, 0.12416516989469528, -0.3902072608470917, 0.864726722240448, 0.5103216171264648, 0.038227640092372894, 0.15091311931610107, 0.13456791639328003, 0.6093841195106506, -1.0163049697875977, -0.28165721893310547, -0.7442086935043335, 0.3763684034347534, -0.3318398892879486, -0.33376172184944153, 0.672148585319519, 0.6279182434082031, 0.8318504095077515, -0.2145726978778839, 0.9414807558059692, -0.1310596466064453, 0.2333221584558487, -0.737144947052002, 0.12432384490966797, -0.662530243396759, 0.07079653441905975, -0.2897578477859497, -0.8503286838531494, -0.18750987946987152, 0.5047563314437866, -0.32749029994010925, 0.03580029681324959, 0.9972875118255615, 0.5401067137718201, -0.03339783474802971, -0.010379715822637081, 0.72977215051651, 0.1157010868191719, 0.11274989694356918, 1.0391998291015625, 1.3588714599609375, -0.27546218037605286, 0.6954018473625183, -0.1643390953540802, -0.31495797634124756, 0.05841037631034851, -0.9187480807304382, -1.1058893203735352, -0.6280847787857056, -0.3197445273399353, -0.4762691557407379, -0.062414757907390594, 0.42663392424583435, 0.7278048396110535, -0.44094976782798767, -0.10133621841669083, 0.16969190537929535, -0.12002681195735931, -0.603860080242157, -0.18601462244987488, 0.41801536083221436, 0.09679067879915237, -0.2913265526294708, 0.08075910806655884, 0.42860376834869385, -0.03287793695926666, -0.54305499792099, -0.13014087080955505, 0.0424974299967289, -0.062107667326927185, 0.5681928396224976, 0.1505710482597351, -1.2296408414840698, -0.39764609932899475, -0.02739521488547325, -0.11114126443862915, -0.06746625155210495, 0.7928222417831421, -0.6665433645248413, 0.6658202409744263, 0.36028945446014404, 0.6847271919250488, 0.8856814503669739, -0.22636324167251587, 0.1299607753753662, -0.14591296017169952, 0.18610775470733643, 0.21451567113399506, 0.7740113139152527, 0.49121689796447754, -0.191901296377182, 0.4353073239326477, 0.1828560084104538, -0.46940749883651733, -0.6545100212097168, 0.4833960235118866, -1.3262659311294556, -0.6783388257026672, 1.0537251234054565, -0.3189408779144287, -0.5333434343338013, -0.013467401266098022, -0.1629546880722046, -0.20768845081329346, -0.07096272706985474, 0.48417967557907104, 0.8242058753967285, 0.019784657284617424, -0.44848304986953735, -0.8260841369628906, 0.24769137799739838, 0.18205320835113525, -0.9010801911354065, 0.1545579582452774, 0.6486399173736572, 0.28218090534210205, 0.24215689301490784, 0.5006029605865479, -0.3419434130191803, 0.6584333777427673, 0.2576609253883362, 0.27071869373321533, 0.036942530423402786, -0.09686750173568726, -0.020212478935718536, 0.08650907129049301, 0.24876508116722107, -0.23086127638816833 ]
http://arxiv.org/abs/2402.18397v1
http://arxiv.org/pdf/2402.18397v1
Decomposed Prompting: Unveiling Multilingual Linguistic Structure Knowledge in English-Centric Large Language Models
2024-02-28T15:15:39
2024-02-28T15:15:39
Ercong Nie, Shuzhou Yuan, Bolei Ma, Helmut Schmid, Michael Färber, Frauke Kreuter, Hinrich Schütze
cs.CL
cs.CL
Despite the predominance of English in their training data, English-centric Large Language Models (LLMs) like GPT-3 and LLaMA display a remarkable ability to perform multilingual tasks, raising questions about the depth and nature of their cross-lingual capabilities. This paper introduces the decomposed prompting approach to probe the linguistic structure understanding of these LLMs in sequence labeling tasks. Diverging from the single text-to-text prompt, our method generates for each token of the input sentence an individual prompt which asks for its linguistic label. We assess our method on the Universal Dependencies part-of-speech tagging dataset for 38 languages, utilizing both English-centric and multilingual LLMs. Our findings show that decomposed prompting surpasses the iterative prompting baseline in efficacy and efficiency under zero- and few-shot settings. Further analysis reveals the influence of evaluation methods and the use of instructions in prompts. Our multilingual investigation shows that English-centric language models perform better on average than multilingual models. Our study offers insights into the multilingual transferability of English-centric LLMs, contributing to the understanding of their multilingual linguistic knowledge.
[ -0.2890360355377197, -0.6753672957420349, 0.5161620378494263, 0.34219688177108765, -0.18755093216896057, -0.021523190662264824, -0.37495049834251404, -0.33772122859954834, 0.030941927805542946, 0.15125487744808197, -0.6809917092323303, -0.5800228118896484, -0.4255427122116089, 0.5763428807258606, -0.06640727818012238, 0.9103989601135254, 0.11321518570184708, 0.17070560157299042, -0.2546878457069397, -0.13675139844417572, -0.7075321078300476, -0.43498465418815613, -0.6919035911560059, -0.5646185278892517, 0.7875279188156128, 0.4594491124153137, 0.3371311128139496, 0.574821412563324, -0.25043341517448425, 0.33145347237586975, -0.5098267793655396, 0.03460753336548805, -0.229121133685112, 0.2905171513557434, -0.1784103661775589, -0.6656615138053894, -0.20699073374271393, -0.16111339628696442, 0.6916075348854065, 0.9120405316352844, 0.039277974516153336, 0.0898934081196785, 0.24617375433444977, 0.4126123785972595, -0.36595702171325684, 0.39740973711013794, -0.6298324465751648, -0.04109400138258934, -0.0702567994594574, -0.2682027816772461, -0.7721543312072754, 0.08877933770418167, 0.0436992421746254, -0.46981361508369446, 0.13922955095767975, -0.16455262899398804, 0.4826648533344269, 0.20507413148880005, -0.45054614543914795, -0.22603997588157654, -0.3579387068748474, 0.6908636093139648, -0.43678101897239685, 0.5322083830833435, 0.4770345687866211, -0.1480676829814911, -0.0264133308082819, -0.45919138193130493, -0.33628126978874207, -0.25034961104393005, -0.17156288027763367, -0.054479777812957764, -0.1491183638572693, -0.007949193939566612, 0.156119242310524, 0.15705476701259613, -0.8800826072692871, 0.46007826924324036, -0.4074714183807373, -0.17301669716835022, 0.28770071268081665, -0.025170709937810898, 0.6838458180427551, -0.2781464457511902, -0.39007437229156494, 0.00895777065306902, -0.9624530076980591, 0.29315999150276184, 0.20270812511444092, 0.6923817992210388, -0.33307990431785583, 0.540996789932251, -0.035707712173461914, 0.6673407554626465, -0.06561873108148575, -0.3144714832305908, 0.2285294383764267, -0.30489382147789, -0.013074140064418316, 0.3338536024093628, 0.6717049479484558, 0.2757532000541687, 0.4258972108364105, 0.0030086610931903124, 0.0012477000709623098, -0.01907476969063282, -0.24821016192436218, -0.6363506317138672, -0.25123754143714905, 0.43669378757476807, -0.20624426007270813, 0.1125035509467125, -0.35844793915748596, -0.45452120900154114, -0.29046744108200073, -0.21188966929912567, 0.3379501402378082, -0.39816004037857056, -0.26663121581077576, 0.22408458590507507, 0.03910176455974579, 0.35341671109199524, 0.17402514815330505, -0.9998880624771118, -0.37416183948516846, 0.751344621181488, 0.6511104106903076, -0.09908868372440338, -0.7875242829322815, -0.5652933120727539, 0.13737501204013824, -0.14179593324661255, 0.8990157246589661, -0.6286682486534119, -0.5036276578903198, 0.08911526948213577, 0.2875448167324066, -0.1682799607515335, -0.32771193981170654, 0.31515511870384216, -0.47440773248672485, 0.46214839816093445, -0.46910157799720764, -0.38830816745758057, -0.3206844627857208, 0.6682648062705994, -0.743685245513916, 1.0203036069869995, -0.29454854130744934, -0.6554913520812988, 0.26801443099975586, -0.5100297927856445, -0.5656794309616089, 0.29465749859809875, -0.14259018003940582, 0.16959898173809052, -0.029225153848528862, 0.6849612593650818, 0.6171745657920837, -0.1858995109796524, 0.33824169635772705, 0.0889696478843689, -0.21560326218605042, 0.0741363987326622, -0.5679459571838379, 0.9445553421974182, -0.028376586735248566, -0.14521469175815582, 0.24178779125213623, -0.8040295243263245, -0.0664888247847557, 0.22696098685264587, -0.6302483677864075, -0.31720882654190063, -0.16074462234973907, -0.4506368935108185, -0.06186646968126297, 0.1552661657333374, -0.3155270218849182, 0.3871877193450928, -0.5093082785606384, 0.4466346204280853, 0.638724148273468, 0.08080600947141647, 0.5427955389022827, 0.09928076714277267, 0.7828772664070129, -0.005901739466935396, -0.12594202160835266, -1.093307614326477, -0.6325671076774597, -0.46628719568252563, -0.4114794135093689, 0.10283820331096649, 0.7534816861152649, -0.8593345880508423, 0.023797299712896347, -0.18041212856769562, -0.1499675214290619, -0.5370913743972778, -0.008922507055103779, 0.5325139164924622, 0.6888508796691895, 0.4017614424228668, 0.29449573159217834, -0.3578610420227051, -0.7986234426498413, -0.20466916263103485, -0.4072358012199402, -0.031175317242741585, -0.2731959819793701, 0.248673215508461, -0.14661888778209686, 0.4291379749774933, -0.2411753237247467, 0.14181053638458252, -0.527615487575531, 0.21682946383953094, 0.2916940152645111, 0.11964388936758041, 0.258994460105896, -0.5454964637756348, -0.33763277530670166, 0.0665769949555397, -0.3666020929813385, -0.30323880910873413, 0.040785498917102814, 0.1624552458524704, 0.3052527904510498, 0.4654275178909302, -0.5763940215110779, 0.06000557169318199, 0.6313642859458923, -0.21934159100055695, 0.7551443576812744, -0.13682809472084045, 0.22434189915657043, -1.2116576433181763, 0.13066717982292175, -0.16608500480651855, -0.029276583343744278, -0.7509893774986267, 0.0412282794713974, 0.19542303681373596, -0.13173510134220123, -0.6112924814224243, 0.7037163972854614, -0.8580029606819153, -0.014587796293199062, -0.07006785273551941, 0.08487721532583237, 0.3714521825313568, 0.4488086700439453, 0.04195011779665947, 0.8160220980644226, 0.6449180245399475, -0.7278620600700378, 0.09913922846317291, 0.3550485372543335, -0.34450674057006836, 0.5265238285064697, -0.7431493401527405, 0.139417365193367, -0.4702552855014801, 0.21259674429893494, -1.3381282091140747, -0.2783573269844055, 0.11694525182247162, -0.4013003706932068, 0.43041250109672546, -0.49075761437416077, -0.3747573792934418, -0.1582748293876648, -0.39811134338378906, 0.6811439394950867, 0.2391831874847412, -0.7141431570053101, 0.3341616988182068, 0.11257738620042801, -0.47750309109687805, -0.7428719401359558, -0.7138413786888123, 0.04307709261775017, -0.29222387075424194, -0.4892769753932953, 0.30376026034355164, -0.19510531425476074, -0.20851676166057587, -0.29520565271377563, 0.15322299301624298, 0.11076802760362625, 0.08217130601406097, 0.12504063546657562, 0.2993299067020416, -0.29431265592575073, 0.16131699085235596, 0.09960698336362839, -0.22116678953170776, 0.2952375113964081, -0.09135337918996811, 0.7048113346099854, 0.031001150608062744, -0.32476523518562317, -0.323443204164505, 0.5534115433692932, 0.411969393491745, -0.5488873720169067, 0.6252728700637817, 0.45003801584243774, -0.1951984167098999, -0.28481805324554443, -0.3386082947254181, -0.14149481058120728, -0.47045403718948364, 0.2875196635723114, -0.6735430359840393, -1.0429245233535767, 0.6721276044845581, 0.1653788983821869, 0.14265413582324982, 0.2692255675792694, 0.7333201169967651, 0.2222411185503006, 1.103314757347107, 0.5703017711639404, -0.07284712791442871, 0.2758614420890808, -0.03133150935173035, 0.09353608638048172, -0.4868631362915039, -0.5612382888793945, -0.690329909324646, -0.1355278193950653, -0.277660995721817, -0.3777795433998108, 0.4150655269622803, 0.14765389263629913, -0.07499641180038452, 0.08819818496704102, -0.5568326115608215, 0.8134876489639282, 0.3573310077190399, -0.2279329150915146, 0.3812257945537567, 0.0706854835152626, -0.31010863184928894, 0.09439937025308609, -0.6646263003349304, -0.33075687289237976, 0.5094134211540222, 0.3156411051750183, 0.6231820583343506, 0.005265689920634031, 0.5700650811195374, -0.08768349885940552, -0.0021519851870834827, -1.1660441160202026, 0.5047827363014221, 0.14528213441371918, -0.3787704110145569, -0.1114109456539154, -0.2392580360174179, -1.3541638851165771, 0.3275068700313568, 0.25225958228111267, -0.8226289749145508, 0.07458257675170898, 0.0879032090306282, -0.21429289877414703, 0.010074916295707226, -0.8190183639526367, 0.6567010879516602, -0.14229553937911987, 0.056312110275030136, 0.13344646990299225, -0.6549951434135437, 0.33701494336128235, 0.2118707299232483, 0.3863179385662079, -0.18501462042331696, -0.15502338111400604, 0.6138043403625488, -0.1036711111664772, 1.0287363529205322, -0.11655343323945999, -0.8080258369445801, 0.18063963949680328, 0.3238297700881958, 0.4872904419898987, 0.0725264772772789, -0.0418950617313385, 0.13541528582572937, -0.01381611917167902, -0.22875149548053741, -0.5208327174186707, 0.7417370080947876, -0.47451531887054443, -0.5754764676094055, -0.05456317961215973, -0.5877343416213989, -0.3389001488685608, 0.22703339159488678, 0.5180922746658325, 0.6392824053764343, 0.10015193372964859, -0.27697324752807617, 0.6856456398963928, -0.3839770555496216, 0.6863608360290527, 0.6026811003684998, -0.30193042755126953, -0.4771495759487152, 0.5588894486427307, -0.023563001304864883, 0.08933433145284653, 0.6017414927482605, 0.2626006007194519, -0.6451308727264404, -0.4030982255935669, -0.6009122133255005, 0.5270525813102722, -1.008887767791748, -0.1740403175354004, -0.6362186670303345, 0.260265976190567, -0.44244733452796936, -0.13711996376514435, -0.21122333407402039, -0.2843562662601471, -0.26553139090538025, -0.39411988854408264, 0.251615971326828, 0.9301369786262512, 0.10735662281513214, 0.11623292416334152, -1.032729983329773, 0.06783979386091232, 0.2241087704896927, 0.13654114305973053, 0.08517394959926605, -0.5167782306671143, -0.178949773311615, -0.06985388696193695, 0.2215546816587448, -1.2224085330963135, 0.2325945794582367, 0.250978022813797, 0.6175640821456909, 0.15763114392757416, -0.028892260044813156, 0.6352563500404358, -0.7332490086555481, 1.1487879753112793, 0.03907220810651779, -0.9495993256568909, 0.6029754281044006, -0.3892286717891693, 0.7882088422775269, 0.3584314286708832, 0.6923149824142456, -0.5911401510238647, -0.1248917430639267, -0.1609712541103363, -1.1073856353759766, 0.7913772463798523, -0.4887208640575409, 0.1732482761144638, -0.2962294816970825, 0.26316431164741516, 0.2489003986120224, -0.07447776198387146, -0.8204516172409058, -0.2782595455646515, 0.17533530294895172, -0.04360977187752724, -0.10694952309131622, -0.577213704586029, -0.1616070568561554, -0.09543107450008392, 0.5085117816925049, -0.309413343667984, 0.07034148275852203, 0.22679752111434937, -0.3703615069389343, 0.30090564489364624, 0.6891956329345703, 0.7740271091461182, 0.757135808467865, 0.29879331588745117, 0.5523446798324585, 0.15370117127895355, -0.26806533336639404, 0.47358331084251404, 0.03752094879746437, 0.014877337031066418, 0.012189442291855812, 0.5991431474685669, 0.7712813019752502, 0.2088867872953415, -0.5145206451416016, 0.1524197906255722, 0.04502948001027107, -0.1297914981842041, 0.25843074917793274, -0.37044963240623474, 0.18346044421195984, 0.19034966826438904, 0.3415136933326721, -0.5908234119415283, 0.07359570264816284, -0.4680672585964203, 0.08297737687826157, 0.2353469431400299, -0.10545142740011215, -0.7380511164665222, 0.4482368230819702, 0.1266518086194992, -0.1721705198287964, 0.407823771238327, -0.23446273803710938, -0.7513383030891418, 0.30187347531318665, 0.8102349638938904, 0.8292302489280701, -0.6360154747962952, 0.3589373230934143, 0.5105762481689453, 0.4520960748195648, -0.13035137951374054, 0.4397328495979309, -0.2537204623222351, -0.6674862504005432, -1.0011430978775024, -0.35724660754203796, -0.2813943326473236, 0.28709107637405396, -0.7079402804374695, 0.09902367740869522, -0.15755662322044373, 0.2038271576166153, 0.024249043315649033, -0.32190343737602234, -0.42495444416999817, -0.04146506264805794, 0.49094802141189575, 0.7493317127227783, -0.8510891199111938, 0.6071491837501526, 1.136765480041504, -0.09842658787965775, -1.2748312950134277, -0.17698639631271362, 0.25504356622695923, -1.0061938762664795, 0.7294245958328247, 0.5575563907623291, -0.2768988609313965, 0.13171367347240448, -0.44794875383377075, -0.6951894164085388, 0.6950734257698059, 0.6109589338302612, -0.2443046271800995, 0.11455363035202026, 0.18474581837654114, 0.3515602946281433, -0.14369195699691772, 0.30722272396087646, 0.5344123840332031, 0.5478479862213135, 0.15196463465690613, -0.9746069312095642, 0.20837849378585815, -0.41467368602752686, -0.09538832306861877, 0.2659722864627838, -0.2955964505672455, 0.7817781567573547, -0.3573033809661865, -0.4925476908683777, -0.18483056128025055, 0.464586079120636, 0.37135449051856995, 0.12203449010848999, 0.4407024085521698, 0.3033405542373657, 0.9408490061759949, 0.040471151471138, 0.8522966504096985, -0.27122360467910767, 0.04939410462975502, 1.0390534400939941, -0.34210968017578125, 0.8692353963851929, 0.43747156858444214, -0.1306810975074768, 0.5281004309654236, 0.659308135509491, 0.2429170310497284, 0.1598059982061386, -0.04562533274292946, -0.3701801896095276, -0.008595340885221958, -0.3050992488861084, -0.4273378551006317, 0.53014075756073, 0.4051755964756012, -0.09895782917737961, -0.45421555638313293, 0.2797105312347412, 0.5150870680809021, -0.20575502514839172, -0.4365834891796112, 0.9029695987701416, 0.0024947102647274733, -1.0065020322799683, 1.032945990562439, -0.0631103664636612, 0.6337160468101501, -0.7655303478240967, -0.06369198113679886, -0.46768221259117126, -0.22574283182621002, -0.31632402539253235, -1.0205975770950317, 0.07017538696527481, 0.10814528912305832, -0.3686855435371399, -0.45718783140182495, 0.5019347071647644, -0.8181973099708557, -0.09127771854400635, 0.25508078932762146, 0.5542927384376526, 0.3108050525188446, -0.16483977437019348, -0.617103636264801, 0.19700093567371368, 0.21052286028862, -0.35715794563293457, 0.19000022113323212, 0.567562460899353, -0.07119379192590714, 0.6057235598564148, 0.503129780292511, -0.11338985711336136, -0.011767351068556309, 0.43188557028770447, 0.6938065886497498, -0.6545286178588867, -0.5400824546813965, -1.1110972166061401, 0.8886715173721313, 0.49957719445228577, -0.07951243966817856, 1.016329050064087, 0.4013625383377075, 0.8488688468933105, -0.08917386829853058, 0.5563410520553589, 0.16286686062812805, 0.22642113268375397, -0.7370009422302246, 0.4880015254020691, -0.5023773312568665, 0.41741496324539185, 0.00549567025154829, -0.8876341581344604, -0.37966617941856384, 0.16215242445468903, -0.12106364965438843, -0.020162755623459816, 0.706988513469696, 0.9247762560844421, 0.30684271454811096, -0.0018940557492896914, 0.3408064544200897, 0.10110484808683395, 0.3245973289012909, 0.4493885934352875, 0.9375124573707581, -0.01453144010156393, 0.6261311769485474, -0.1013137698173523, -0.1432860940694809, 0.11805803328752518, -0.9256329536437988, -0.9625005722045898, -0.6758891940116882, -0.36663320660591125, -0.23043116927146912, -0.3224431574344635, 0.9832648038864136, 0.3300185799598694, -0.6359206438064575, -0.13648557662963867, 0.33888179063796997, 0.19991567730903625, -0.050065841525793076, -0.22065046429634094, 0.3502882719039917, -0.5806734561920166, -0.8307299017906189, 0.968421995639801, 0.32364621758461, 0.1443185657262802, -0.2679887115955353, 0.18788015842437744, -0.1325606256723404, -0.20954422652721405, 0.8608691096305847, 0.32146620750427246, -0.8109582662582397, -0.06851907074451447, 0.10282652080059052, 0.15259437263011932, 0.06496952474117279, 0.7939416766166687, -0.7749371528625488, 0.4197975695133209, 0.7370547652244568, 0.5765777826309204, 0.016728689894080162, -0.011196866631507874, 0.6180588603019714, -1.1962323188781738, 0.28872615098953247, -0.003238197648897767, 0.3932063579559326, 0.5172741413116455, -0.36815008521080017, 0.2858029007911682, -0.008167521096765995, -0.5306863188743591, -0.8772069811820984, 0.3566453456878662, -0.7807018160820007, -0.4331490397453308, 1.4004942178726196, -0.26687824726104736, -0.3235876262187958, -0.12191236764192581, -0.40856608748435974, 0.09010613709688187, -0.26937681436538696, 0.19396941363811493, 0.6779758334159851, 0.031047604978084564, -0.5235159993171692, -0.15894095599651337, 0.4235823452472687, 0.5814047455787659, -0.6742380857467651, 0.2375648319721222, 0.568949282169342, 0.30925536155700684, 0.17666834592819214, 0.6090668439865112, -0.054769448935985565, 0.062047701328992844, -0.1989247351884842, 0.10053986310958862, -0.20218825340270996, -0.4767343997955322, -0.9107694029808044, 0.17523808777332306, 0.18740782141685486, -0.12608486413955688 ]
http://arxiv.org/abs/2402.18385v1
http://arxiv.org/pdf/2402.18385v1
The First Place Solution of WSDM Cup 2024: Leveraging Large Language Models for Conversational Multi-Doc QA
2024-02-28T15:05:43
2024-02-28T15:05:43
Yiming Li, Zhao Zhang
cs.CL
cs.CL, cs.AI
Conversational multi-doc question answering aims to answer specific questions based on the retrieved documents as well as the contextual conversations. In this paper, we introduce our winning approach for the "Conversational Multi-Doc QA" challenge in WSDM Cup 2024, which exploits the superior natural language understanding and generation capability of Large Language Models (LLMs). We first adapt LLMs to the task, then devise a hybrid training strategy to make the most of in-domain unlabeled data. Moreover, an advanced text embedding model is adopted to filter out potentially irrelevant documents and several approaches are designed and compared for the model ensemble. Equipped with all these techniques, our solution finally ranked 1st place in WSDM Cup 2024, surpassing its rivals to a large extent. The source codes have been released at https://github.com/zhangzhao219/WSDM-Cup-2024.
[ -0.5635019540786743, -0.7229295372962952, 0.9699941277503967, -0.13006797432899475, -0.38650867342948914, 0.5925703048706055, -0.04693920910358429, -0.42952388525009155, 0.008747639134526253, 0.5980519652366638, -0.7759835124015808, -0.6569790840148926, -0.6574526429176331, 0.24097593128681183, -0.17390227317810059, 0.7194535732269287, -0.11140802502632141, 0.2517908215522766, -0.8170941472053528, -0.18800577521324158, -0.2616508901119232, -0.5812215209007263, -0.5831742882728577, -0.28190404176712036, 0.3390735983848572, 0.36409634351730347, 0.3003651797771454, 0.22979141771793365, 0.5479692816734314, 0.42999884486198425, -0.16058044135570526, 0.6434109807014465, -0.4284939765930176, 0.10660304874181747, -0.018666693940758705, -0.5053292512893677, -0.3515024483203888, 0.139118954539299, 0.5128862261772156, 0.5915756225585938, -0.3183164894580841, -0.02713041380047798, -0.10014782845973969, 0.0555325411260128, -0.05692179873585701, 0.266875296831131, -0.9690786600112915, -0.050598032772541046, 0.1548028439283371, -0.5989104509353638, -0.541353166103363, -0.21245227754116058, 0.05868449807167053, -0.700600802898407, 0.3056793808937073, 0.08169299364089966, 1.004362940788269, 0.13713622093200684, -0.614822506904602, -0.3296510577201843, -0.6696237921714783, 0.7047403454780579, -0.8528563976287842, 0.14536134898662567, 0.14032351970672607, 0.38634052872657776, -0.20040540397167206, -0.5753605365753174, -0.8123477101325989, 0.19394758343696594, 0.24248237907886505, 0.45246264338493347, 0.18185678124427795, 0.14989466965198517, 0.000656774383969605, -0.0014504909049719572, -0.6007782220840454, 0.2665591537952423, -0.34664323925971985, -0.09161888808012009, 0.7083209156990051, 0.2934763729572296, 0.03295489400625229, 0.28493380546569824, -0.42306700348854065, -0.028707152232527733, -0.2599034607410431, 0.0830787718296051, 0.028737377375364304, 0.1258781999349594, -0.017568379640579224, 0.5410406589508057, -0.16593123972415924, 0.50013667345047, 0.08729860186576843, -0.487001895904541, 0.2347622662782669, -0.4992871582508087, -0.08071908354759216, -0.09665406495332718, 0.7166049480438232, 0.32021763920783997, 0.1187642365694046, -0.2867329716682434, -0.08140509575605392, -0.045447174459695816, 0.08784724026918411, -0.6804254055023193, 0.08948612213134766, 0.6515579223632812, -0.11772508919239044, -0.4004143178462982, -0.04890962690114975, -0.790962278842926, -0.3875827491283417, -0.22580383718013763, 0.13965465128421783, -0.24355801939964294, -0.23931708931922913, 0.09390853345394135, -0.26338720321655273, 0.6616551280021667, 0.4221368134021759, -0.6765118837356567, 0.05296361818909645, 0.8125009536743164, 0.7036087512969971, -0.16956141591072083, -0.33509936928749084, -0.6518468856811523, 0.34638166427612305, -0.421153724193573, 1.0512851476669312, -0.6259129047393799, -0.5305861830711365, 0.19688521325588226, -0.0038185054436326027, -0.3456849157810211, -0.46434515714645386, 0.6654861569404602, -0.7292547225952148, 0.33923470973968506, -0.1163196936249733, -0.7628970742225647, 0.0968119204044342, 0.5243885517120361, -0.3951480984687805, 0.8724218010902405, 0.0018678252818062901, -0.7399870157241821, 0.06843098253011703, -0.563469648361206, -0.1614292562007904, 0.34887459874153137, -0.022645654156804085, -0.4656594395637512, -0.128651961684227, 0.1991305649280548, 0.4192488491535187, -0.22482307255268097, 0.3420453369617462, -0.63150954246521, -0.2783234119415283, 0.29139575362205505, -0.14835700392723083, 0.5628491640090942, 0.06511442363262177, 0.17794832587242126, 0.29664990305900574, -0.7589718103408813, 0.21692177653312683, 0.6211594939231873, -0.39557570219039917, -0.05373471975326538, -0.2618241608142853, -0.1351630836725235, 0.548465371131897, 0.12365163117647171, -0.7545230388641357, 0.15985393524169922, -0.209615096449852, 0.6448207497596741, 0.7349311709403992, 0.26711505651474, 0.5303477048873901, -0.4046240448951721, 0.7601265907287598, 0.052866335958242416, 0.1614295095205307, -0.11785881966352463, -0.5762808918952942, -0.4385206997394562, -0.36026445031166077, 0.21440890431404114, 0.5876713991165161, -1.0328056812286377, 0.2631683647632599, -0.20048385858535767, -0.7818734049797058, -0.5674706101417542, 0.03057197295129299, 0.18476688861846924, 0.5277039408683777, 0.07807011157274246, 0.07170487195253372, -0.41395333409309387, -0.5692623257637024, 0.24538928270339966, -0.315768837928772, 0.23057152330875397, 0.3498976230621338, 0.5084785223007202, -0.18934378027915955, 0.8820851445198059, -0.7002221941947937, -0.3394361436367035, -0.49757981300354004, 0.032977327704429626, 0.0694432184100151, 0.30926114320755005, 0.3326928913593292, -0.9544755220413208, -0.31883329153060913, -0.24768640100955963, -0.8428049683570862, 0.041307710111141205, 0.11699629575014114, -0.21803000569343567, 0.2274244874715805, 0.6612748503684998, -0.890884518623352, -0.23245428502559662, 0.6747153997421265, -0.2151951640844345, 0.724125325679779, -0.4664672017097473, 0.25414174795150757, -1.147683024406433, -0.1119401827454567, -0.018242238089442253, -0.17210333049297333, -0.6714483499526978, 0.2736414074897766, -0.00683829328045249, -0.49193239212036133, -0.49876779317855835, 0.528850257396698, -0.30552682280540466, 0.20979900658130646, -0.14697328209877014, 0.5445737242698669, 0.2694215178489685, 0.7458323240280151, 0.2530408799648285, 0.6394480466842651, 0.300775945186615, -0.4768489599227905, 0.4507392942905426, 0.589921772480011, -0.19353921711444855, 0.5389867424964905, -0.5948582291603088, 0.2965394854545593, -0.30573511123657227, 0.5867899656295776, -1.2495300769805908, 0.02896585874259472, -0.11430167406797409, -0.5755569934844971, 0.3379909098148346, -0.07873685657978058, -0.508930504322052, -0.7018111944198608, -0.26108676195144653, 0.1540536880493164, 0.23789407312870026, -0.4423450827598572, 0.5611518621444702, 0.642122745513916, -0.34381529688835144, -0.12310003489255905, -0.1896059364080429, 0.23348648846149445, -0.3983049988746643, -0.7956379055976868, 0.4125077724456787, -0.553474485874176, -0.05194118246436119, -0.3918968439102173, 0.04077460616827011, -0.2513946294784546, 0.23472943902015686, -0.23449823260307312, 0.4528418779373169, -0.208291158080101, -0.015115524642169476, -0.0696568712592125, -0.31258881092071533, 0.06009231507778168, -0.3695746660232544, 0.7163683772087097, 0.006921248976141214, -0.29402223229408264, -0.24303309619426727, 0.6401239633560181, 0.6442235112190247, -0.6397340893745422, 0.7318387031555176, 0.6071502566337585, -0.30553025007247925, -0.22241143882274628, -0.48562636971473694, -0.17181994020938873, -0.4665609896183014, 0.6275663375854492, -0.588558554649353, -0.9251182675361633, 0.3686390519142151, -0.2663525342941284, 0.2587084174156189, 0.15816597640514374, 0.4916801452636719, -0.440565288066864, 1.3757494688034058, 0.5420889258384705, -0.0024024888407438993, 0.12809567153453827, -0.18206095695495605, 0.3332386910915375, -0.7791828513145447, -0.5133519768714905, -0.8160510063171387, 0.22914592921733856, -0.42144420742988586, -0.4832768440246582, 0.5754709243774414, 0.05354480817914009, 0.050164856016635895, 0.11048313230276108, -0.3846689462661743, 0.2709040939807892, 0.43995410203933716, 0.026233114302158356, 0.4538581073284149, -0.4847742021083832, -0.2872065603733063, 0.04816572740674019, -0.8223868608474731, -0.547782838344574, 0.8422711491584778, 0.3086128234863281, 0.30403515696525574, 0.14226339757442474, 0.8209639191627502, 0.04044298827648163, -0.0036706181708723307, -0.5960544943809509, 0.6301575303077698, 0.15093235671520233, -0.24380627274513245, -0.6157268285751343, -0.3770599067211151, -0.9002352356910706, 0.7602185606956482, -0.295244425535202, -0.4355456531047821, -0.2853057086467743, -0.29206785559654236, -0.21084195375442505, 0.21778680384159088, -0.5905190110206604, 0.857826292514801, -0.07655852288007736, -0.11884482204914093, 0.1776593178510666, -0.4448034167289734, 0.438099205493927, -0.10255325585603714, 0.612883985042572, -0.13087956607341766, -0.04791427031159401, 0.7260252237319946, -0.3935393989086151, 0.48207560181617737, -0.24858058989048004, -0.35775476694107056, 0.22630956768989563, -0.15930220484733582, 0.7948065996170044, 0.17273256182670593, -0.0543946847319603, -0.22093689441680908, 0.43158289790153503, -0.6135711669921875, -0.49846184253692627, 0.514977216720581, -0.6165673732757568, -0.8639029264450073, -0.5647276639938354, -0.474580317735672, -0.6998167634010315, 0.20383094251155853, 0.13173042237758636, 0.5182282328605652, -0.4385855793952942, -0.17780041694641113, 1.0722378492355347, -0.23314118385314941, 0.5172829031944275, 0.7505361437797546, -0.0017032980686053634, -0.20830081403255463, 0.847037136554718, -0.22209817171096802, 0.397147536277771, 0.4751780033111572, 0.19782587885856628, -0.6276130676269531, -1.0467579364776611, -0.7277966737747192, 0.4377704858779907, -0.7584701776504517, -0.12983399629592896, -1.0113590955734253, -0.30291515588760376, -0.7043846249580383, -0.1278853714466095, -0.24975557625293732, 0.029424652457237244, -0.066621795296669, -0.21935614943504333, -0.005839161574840546, 0.5223271250724792, 0.31830281019210815, 0.022799814119935036, -0.9480912089347839, 0.15919339656829834, 0.37087973952293396, 0.05068439990282059, -0.146123468875885, -0.4627741277217865, 0.02217104472219944, -0.08797954767942429, -0.21147671341896057, -0.6950750350952148, 0.4249878227710724, 0.07464125007390976, 0.8645050525665283, 0.23005631566047668, 0.1877877563238144, 0.5038575530052185, -0.5293976068496704, 0.8253648281097412, 0.21399593353271484, -0.6253612637519836, 0.3505946099758148, -0.548312246799469, 0.4706810712814331, 0.694691002368927, 0.22343361377716064, -0.6773858070373535, -0.7188189625740051, -0.6134567260742188, -0.709901750087738, 0.6791309118270874, -0.09692983329296112, 0.11408426612615585, 0.060881104320287704, 0.023498989641666412, -0.017922790721058846, 0.30228886008262634, -0.3977756202220917, -0.06959734857082367, 0.10761665552854538, -0.26680469512939453, -0.21219536662101746, -0.14814749360084534, -0.11513225734233856, 0.0016050143167376518, 0.9150445461273193, -0.39326536655426025, 0.23261767625808716, 0.09584936499595642, -0.11947588622570038, 0.2560475766658783, 0.24619388580322266, 0.6868383288383484, 0.7511430978775024, -0.22007784247398376, -0.013730950653553009, 0.2850642502307892, -0.20528069138526917, 0.13080376386642456, 0.12065032869577408, -0.10037592053413391, 0.026827460154891014, 0.42763811349868774, 0.48771458864212036, 0.31827813386917114, -0.875201404094696, 0.5796727538108826, -0.25059786438941956, -0.42954128980636597, -0.39272239804267883, -0.1777794510126114, 0.4334253966808319, 0.12640535831451416, 0.4393369257450104, -0.30704548954963684, -0.03776151314377785, -0.585054874420166, 0.21425683796405792, 0.6137266159057617, -0.42158299684524536, 0.03636902943253517, 0.6830397248268127, 0.33138903975486755, -0.13858745992183685, 0.1821863055229187, -0.4800807237625122, -1.0279827117919922, 0.7834277153015137, 0.7367231249809265, 0.22804144024848938, -0.0670575499534607, 0.7184282541275024, 0.3099460303783417, -0.012676028534770012, 0.12003247439861298, 0.18251298367977142, 0.12314049154520035, -0.8610889911651611, -0.19399550557136536, -0.584969699382782, -0.7221308350563049, 0.06687457859516144, -0.3447296619415283, 0.2501104176044464, -0.20103678107261658, 0.32020094990730286, 0.1785317361354828, 0.28986459970474243, -0.6973604559898376, 0.1374841332435608, 0.16223709285259247, 0.927315890789032, -0.6072823405265808, 0.9346866011619568, 0.6248871684074402, -0.38152652978897095, -0.5582126379013062, -0.3003762662410736, 0.006738715805113316, -0.8043662309646606, -0.04567398875951767, -0.0744529664516449, -0.009673415683209896, 0.2633228302001953, -0.5528264045715332, -0.7811341881752014, 1.2364332675933838, 0.06109989807009697, -0.33629900217056274, -0.19690334796905518, 0.20795515179634094, 0.2779819965362549, -0.3899570405483246, 0.4178119897842407, 0.5584423542022705, 0.39598938822746277, 0.583132803440094, -0.8008057475090027, -0.14652220904827118, -0.19160346686840057, -0.20361639559268951, -0.014406025409698486, -0.8824591040611267, 0.4791170358657837, -0.38243040442466736, -0.15355907380580902, 0.3126240670681, 0.6830568313598633, 0.613525927066803, 0.42871224880218506, 0.511674702167511, 0.4341701865196228, 1.131805658340454, -0.1733124703168869, 0.9687491059303284, 0.0012269840808585286, 0.3204527199268341, 1.083618402481079, -0.7198919057846069, 0.6141365766525269, 0.32435858249664307, -0.24516932666301727, 0.10682960599660873, 0.7879474759101868, 0.06737115234136581, 0.6219711899757385, 0.23024290800094604, -0.30039018392562866, -0.4957696497440338, -0.21393631398677826, -0.38175973296165466, 0.7203819155693054, 0.05457684397697449, 0.20138362050056458, -0.2514917850494385, 0.19050131738185883, 0.10696068406105042, 0.29867956042289734, -0.17246375977993011, 1.192257046699524, 0.10528368502855301, -0.8543180227279663, 0.396559476852417, 0.31895947456359863, 0.8088959455490112, -0.8261118531227112, 0.07834567129611969, -0.27428340911865234, 0.09408853948116302, 0.06716994941234589, -0.7135542035102844, 0.05363302305340767, -0.23545365035533905, -0.13477823138237, -0.12244096398353577, 0.5314909815788269, -0.7644212245941162, -0.510792076587677, 0.30929264426231384, 0.647607147693634, 0.02184923365712166, -0.1827620267868042, -0.5916394591331482, -0.030974293127655983, -0.20958733558654785, 0.1951577067375183, 0.5782955288887024, 0.5611318349838257, -0.01105575542896986, 0.6785222291946411, 0.780087947845459, -0.05806547775864601, -0.002975656883791089, 0.30119195580482483, 0.6946569681167603, -0.35130074620246887, -0.7418506741523743, -0.43388983607292175, 0.12205877155065536, -0.27468401193618774, -0.35887837409973145, 0.5167874693870544, 0.6876489520072937, 0.6601499915122986, 0.02183672972023487, 0.8395587801933289, 0.28073790669441223, 0.5220547318458557, -0.46251437067985535, 0.6147697567939758, -0.4515440762042999, -0.023484010249376297, -0.3703972101211548, -0.5355512499809265, 0.0847954973578453, 0.1514727622270584, 0.13568784296512604, -0.17284870147705078, 0.760175883769989, 0.652654767036438, 0.22764547169208527, 0.3574472963809967, 0.5120235085487366, 0.00100700743496418, 0.6491628289222717, 0.9882874488830566, 0.7447276711463928, -0.34733647108078003, 0.8830100297927856, -0.12597692012786865, -0.37397775053977966, -0.04794604703783989, -0.6945654153823853, -0.7953397631645203, -0.9892212152481079, -0.42085713148117065, -0.46339789032936096, -0.17452561855316162, 0.7920442223548889, 0.7234939336776733, -0.734454333782196, 0.17575106024742126, 0.28356748819351196, 0.28277233242988586, -0.2184387445449829, -0.1842338591814041, 0.2569367587566376, -0.40064409375190735, -1.0403574705123901, 0.5155697464942932, 0.06843332946300507, 0.020779568701982498, -0.14182952046394348, -0.2869327962398529, -0.5020992159843445, 0.367172509431839, 0.7707812190055847, -0.042367175221443176, -0.41353240609169006, -0.2187221348285675, 0.09399095922708511, -0.2536792457103729, 0.07461746037006378, 0.7029905915260315, -0.49159660935401917, 0.1778666377067566, 0.34285613894462585, 0.8595969676971436, 0.6809975504875183, 0.008492959663271904, 0.4420221745967865, -0.41904518008232117, 0.01305360160768032, 0.31837230920791626, 0.37866777181625366, 0.2039123922586441, -0.3102516829967499, 0.46596649289131165, 0.4102003276348114, -0.369925320148468, -0.8056618571281433, -0.0006733954069204628, -1.316664218902588, -0.4937423765659332, 1.2412244081497192, -0.1267632693052292, -0.07987399399280548, -0.5551791191101074, -0.2858261466026306, 0.23811596632003784, -0.29884472489356995, 0.898276686668396, 0.9632689952850342, 0.09156926721334457, -0.20713123679161072, -0.4869624972343445, 0.345659077167511, 0.1613457351922989, -1.2587957382202148, -0.08932030200958252, 0.23180146515369415, 0.23284262418746948, -0.031953729689121246, 0.9730151295661926, -0.35670992732048035, 0.13738246262073517, -0.15757326781749725, -0.25323471426963806, -0.338351845741272, -0.1631626933813095, -0.08149126172065735, 0.4991453289985657, 0.005369992461055517, -0.243663027882576 ]
http://arxiv.org/abs/2402.18376v1
http://arxiv.org/pdf/2402.18376v1
Tokenization Is More Than Compression
2024-02-28T14:52:15
2024-02-28T14:52:15
Craig W. Schmidt, Varshini Reddy, Haoran Zhang, Alec Alameddine, Omri Uzan, Yuval Pinter, Chris Tanner
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
Tokenization is a foundational step in Natural Language Processing (NLP) tasks, bridging raw text and language models. Existing tokenization approaches like Byte-Pair Encoding (BPE) originate from the field of data compression, and it has been suggested that the effectiveness of BPE stems from its ability to condense text into a relatively small number of tokens. We test the hypothesis that fewer tokens lead to better downstream performance by introducing PathPiece, a new tokenizer that segments a document's text into the minimum number of tokens for a given vocabulary. Through extensive experimentation we find this hypothesis not to be the case, casting doubt on the understanding of the reasons for effective tokenization. To examine which other factors play a role, we evaluate design decisions across all three phases of tokenization: pre-tokenization, vocabulary construction, and segmentation, offering new insights into the design of effective tokenizers. Specifically, we illustrate the importance of pre-tokenization and the benefits of using BPE to initialize vocabulary construction. We train 64 language models with varying tokenization, ranging in size from 350M to 2.4B parameters, all of which are made publicly available.
[ -0.5303146839141846, -0.4255099594593048, 0.16687144339084625, 0.2618364989757538, -0.8014240860939026, -0.02545740082859993, -0.06559902429580688, -0.5721157789230347, 0.2561492919921875, 0.29053136706352234, -0.07406355440616608, -0.331938773393631, -0.7328568696975708, 0.2085614800453186, -0.4193629324436188, 1.111905574798584, 0.2094920426607132, 0.12986397743225098, 0.026623060926795006, 0.128750279545784, -0.8750981092453003, -0.7076772451400757, -0.9122955799102783, -0.2222243994474411, 0.5903361439704895, -0.09524822980165482, 0.6138890981674194, 1.0038740634918213, 0.6037871241569519, 0.21691566705703735, -0.31712719798088074, -0.14541031420230865, -0.21680478751659393, 0.02428712509572506, -0.06338166445493698, -0.5501714944839478, -0.15418852865695953, 0.20966599881649017, 0.6226018667221069, 1.066064476966858, 0.2090628743171692, 0.2736595869064331, 0.023473622277379036, 0.6320267915725708, -0.47565528750419617, -0.0918479785323143, -0.5414919853210449, -0.006953896954655647, -0.5466469526290894, -0.15063543617725372, -0.6163087487220764, -0.029187824577093124, 0.026242705062031746, -0.357893705368042, 0.1983933001756668, 0.3523155450820923, 0.8856731653213501, 0.23806633055210114, -0.34123924374580383, -0.316689670085907, -0.5836566090583801, 0.4679766893386841, -0.6566762328147888, 0.6102693676948547, 0.2824842035770416, -0.1565791517496109, -0.15792441368103027, -0.8974401950836182, -0.4633270800113678, 0.3259906470775604, -0.24830812215805054, -0.265847384929657, -0.1264866590499878, 0.4499306380748749, 0.15620049834251404, 0.44904422760009766, -0.4194609224796295, 0.2612728178501129, -0.6292243003845215, -0.45886433124542236, 0.1472741812467575, -0.08649355173110962, 0.4372485280036926, -0.6851693391799927, -0.5256272554397583, -0.03611491993069649, -0.5291395783424377, 0.11742719262838364, 0.3773629069328308, 0.5819104313850403, 0.26562854647636414, 0.5699456334114075, 0.09079959243535995, 0.8472885489463806, 0.015479755587875843, -0.049725256860256195, -0.08200136572122574, -0.7434403896331787, -0.3089468777179718, 0.24605853855609894, 0.5594284534454346, 0.23699314892292023, -0.09946933388710022, -0.6007524132728577, -0.2211601585149765, 0.26370319724082947, 0.5458752512931824, -1.148112416267395, -0.0076894317753612995, 0.5789677500724792, -0.7370226383209229, -0.39513036608695984, 0.18531134724617004, -0.3492297828197479, -0.30079030990600586, -0.33324143290519714, 0.4075451195240021, -0.6022728085517883, 0.019506733864545822, 0.41205525398254395, -0.633209228515625, 0.4152657687664032, -0.07376888394355774, -1.1332663297653198, 0.4831037223339081, 1.1323539018630981, 1.2929556369781494, -0.3988349139690399, -0.1956651508808136, -0.6988013982772827, -0.026060396805405617, -0.47245630621910095, 0.9357591271400452, -0.5115285515785217, -0.49306973814964294, -0.1745353639125824, -0.1878412663936615, -0.017206478863954544, -0.4102559983730316, 0.763499915599823, -0.5989516377449036, 0.08560027182102203, -0.2866649627685547, -0.7739695310592651, 0.045140590518713, 0.01832098327577114, -0.7023439407348633, 0.9089993834495544, -0.11630995571613312, -0.8905969262123108, 1.0370429754257202, -0.8570011854171753, -0.6178644299507141, 0.3465871810913086, 0.00530770281329751, 0.018459783867001534, 0.589604914188385, 0.18831509351730347, 0.45302334427833557, 0.010968860238790512, 0.023711970075964928, 0.2889993190765381, -0.7166053056716919, -0.10491536557674408, -0.21767781674861908, 0.5118116140365601, 0.03879115357995033, -0.24328768253326416, 0.0651865303516388, -0.5690404772758484, -0.1271679401397705, -0.23469680547714233, -0.6822887659072876, -0.3728583753108978, 0.09234357625246048, 0.13143417239189148, 0.1351076364517212, 0.08552859723567963, -0.6199141144752502, 0.13622160255908966, -1.0321495532989502, 0.496049165725708, 0.8519005179405212, 0.04339658096432686, 0.7063573002815247, -0.27967140078544617, 0.3273181915283203, 0.1196974664926529, 0.23843787610530853, -0.23807407915592194, -0.5011105537414551, -0.8559755086898804, -0.2758934795856476, 0.8127763867378235, 0.03790038451552391, -0.45380881428718567, 0.3544560670852661, -0.4743000566959381, -0.25204095244407654, -0.4437170624732971, -0.08085175603628159, 0.12038172781467438, 0.18745411932468414, 0.18781232833862305, -0.6760483384132385, -0.7200877666473389, -0.6771095395088196, -0.3200899064540863, -0.2954798638820648, -0.1466684341430664, -0.09207581728696823, 0.43440738320350647, 0.0844728872179985, 1.191009521484375, -0.14029155671596527, -0.21285349130630493, -0.2572614252567291, 0.33758044242858887, 0.33323588967323303, 0.6683247089385986, 0.47800490260124207, -0.7036505937576294, -0.2792874574661255, -0.27480170130729675, -0.07255297154188156, 0.08081899583339691, -0.09794845432043076, -0.3265058100223541, 0.12937043607234955, 0.4312477707862854, -0.5434245467185974, 0.4698466658592224, 0.5433401465415955, -0.4543895423412323, 0.3812912404537201, -0.04046091437339783, -0.16623255610466003, -1.0936121940612793, 0.21124623715877533, -0.4168640673160553, -0.06366527080535889, -0.9883220195770264, 0.07127655297517776, -0.18883268535137177, -0.2931702733039856, -0.48787689208984375, 0.5456236004829407, -0.4501192271709442, -0.08238769322633743, -0.517107367515564, 0.185752272605896, 0.1063762754201889, 0.46766823530197144, 0.06579481810331345, 0.7881120443344116, 0.27271604537963867, -0.7434437870979309, -0.06384185701608658, 0.29468733072280884, -0.3100905418395996, 0.4519069492816925, -0.8983765244483948, 0.45729705691337585, -0.3914269208908081, 0.2827706038951874, -0.8221132755279541, -0.08667462319135666, 0.10931642353534698, -0.4761159121990204, 0.20885156095027924, -0.44233056902885437, -0.5792905688285828, -0.2535192668437958, -0.49566540122032166, 0.413469523191452, 0.3821372389793396, -0.4491839110851288, 0.525166928768158, 0.36565256118774414, 0.17688119411468506, -0.35101333260536194, -0.7101339101791382, 0.41283881664276123, -0.23380900919437408, -0.7349158525466919, 0.741553008556366, -0.15885093808174133, 0.032859548926353455, -0.10556096583604813, -0.34768980741500854, -0.025370463728904724, 0.1837037056684494, 0.3014490604400635, 0.22261594235897064, -0.007713084574788809, 0.46119144558906555, -0.17595702409744263, -0.2939890921115875, 0.017017275094985962, -0.8330843448638916, 1.0606480836868286, 0.19999541342258453, -0.17140042781829834, -0.21003678441047668, 0.21571888029575348, 0.14824095368385315, -0.350647509098053, 0.9248122572898865, 0.786888837814331, -0.4864683151245117, -0.04574041813611984, -0.4643402099609375, -0.1882108747959137, -0.4770602583885193, 0.09740983694791794, -0.4934885799884796, -0.9063541889190674, 0.35590294003486633, -0.0565413236618042, 0.26819711923599243, 0.24316054582595825, 0.19583582878112793, 0.21447351574897766, 0.7809922695159912, 0.6154067516326904, -0.11132262647151947, 0.5568909645080566, -0.047148630023002625, 0.4209803640842438, -0.9670677781105042, -0.10670652985572815, -0.6249732375144958, -0.33517971634864807, -0.6219435930252075, -0.6764854788780212, 0.1657637655735016, 0.3016491234302521, 0.19436730444431305, 0.40112733840942383, -0.594532310962677, 0.7165069580078125, 0.6024156212806702, -0.07801514118909836, -0.005902978125959635, -0.12448754161596298, -0.14638899266719818, 0.12017126381397247, -0.8090787529945374, -0.7846317291259766, 0.9322664141654968, 0.30997881293296814, 0.03380854055285454, 0.11711382120847702, 1.0771484375, 0.1520167738199234, -0.07032865285873413, -1.1701430082321167, 0.3988375961780548, -0.15105876326560974, -0.7406067848205566, -0.32129335403442383, -0.10790403932332993, -1.3414127826690674, 0.35132691264152527, -0.32113245129585266, -0.7540780305862427, 0.14652392268180847, 0.09226400405168533, -0.5039244294166565, 0.29788246750831604, -0.7269983291625977, 0.8933711051940918, 0.04508137330412865, -0.17770586907863617, -0.09882360696792603, -0.6165501475334167, -0.03910408169031143, -0.08754866570234299, 0.28642264008522034, 0.11788424849510193, -0.292109876871109, 1.1639444828033447, -0.6072292327880859, 0.7665191292762756, -0.2279621660709381, 0.1762775033712387, 0.20845051109790802, 0.040272608399391174, 0.5808354616165161, -0.08960992097854614, 0.050584230571985245, 0.17620083689689636, 0.193773090839386, -0.6838639378547668, -0.6212310194969177, 0.13653479516506195, -0.3954227566719055, -0.5369332432746887, -0.17003734409809113, 0.017649797722697258, -0.1627064347267151, 0.5290626883506775, 0.2180253267288208, 0.8295213580131531, -0.14631278812885284, 0.3040955364704132, 0.3915923535823822, -0.03436526656150818, 0.6803439855575562, 0.01924070343375206, -0.12072550505399704, -0.36484408378601074, 0.8787463903427124, 0.03884321451187134, 0.1542067974805832, 0.4312954843044281, 0.45002374053001404, -0.15419991314411163, -1.0874814987182617, -0.2922637164592743, 0.18701699376106262, -0.7303358316421509, -0.005371765233576298, -0.5669563412666321, -0.02648881822824478, -0.4211374521255493, -0.23005710542201996, -0.3066768944263458, -0.29838597774505615, -0.14200864732265472, -0.19386012852191925, -0.06500034779310226, 0.9055061936378479, -0.1259063184261322, 0.41625744104385376, -0.8458444476127625, -0.009930363856256008, 0.2709577977657318, 0.5129881501197815, -0.044309597462415695, -0.3665628433227539, -0.4002862572669983, -0.36269205808639526, 0.21190017461776733, -0.6931856274604797, 0.03775207698345184, 0.04983360692858696, 0.29940593242645264, 0.2964862883090973, -0.2179855853319168, 0.7061671614646912, -0.7817890644073486, 1.1259695291519165, 0.16154302656650543, -1.141727089881897, 0.41166120767593384, -0.06952433288097382, 0.2772066593170166, 0.6658135056495667, 0.23111775517463684, -1.017857313156128, -0.023967372253537178, -0.5373926758766174, -1.0054107904434204, 0.5842013359069824, 0.42818450927734375, 0.39314037561416626, -0.3488188683986664, 0.42558014392852783, 0.24254633486270905, 0.3484896421432495, -0.6174047589302063, -0.1470886617898941, -0.16414478421211243, -0.027209259569644928, 0.05827561393380165, -0.4958902895450592, 0.15675769746303558, -0.02528204582631588, 0.39122599363327026, -0.058079708367586136, 0.45797744393348694, 0.047848980873823166, -0.17767827212810516, 0.35381320118904114, 0.18093426525592804, 0.4717041850090027, 0.37782859802246094, -0.13631431758403778, 0.38645556569099426, 0.023555969819426537, -0.6410683393478394, -0.0005031799082644284, -0.21134592592716217, -0.009210964664816856, 0.21458764374256134, 0.5640117526054382, 1.0360114574432373, 0.20684510469436646, -0.30683133006095886, 0.6309608221054077, -0.054111920297145844, -0.05486874282360077, 0.16799665987491608, -0.1387203484773636, -0.07334141433238983, -0.09951729327440262, 0.1784968078136444, 0.1476200670003891, 0.27365443110466003, -0.3953014612197876, 0.21368485689163208, 0.4783457815647125, -0.3114158809185028, -0.4515722393989563, 0.5813526511192322, 0.4732816219329834, -0.5007509589195251, 0.39992502331733704, -0.2765783965587616, -0.4571585953235626, 0.1844121366739273, 0.40055030584335327, 0.8084309697151184, 0.3003816306591034, 0.19688624143600464, 0.34210747480392456, 0.5047523379325867, 0.08797387033700943, -0.2212708443403244, -0.303440123796463, -0.7340748310089111, -0.7033110857009888, -1.0135321617126465, -0.1061573177576065, -0.11188018321990967, -0.3451603353023529, 0.32828789949417114, -0.509022057056427, -0.3886440396308899, 0.03536069393157959, 0.08044914156198502, -0.679009199142456, 0.2529726028442383, 0.04659484326839447, 1.0484930276870728, -0.6248388290405273, 0.46328479051589966, 0.4501118063926697, -0.5405381321907043, -0.8816353678703308, 0.10555510967969894, -0.2710130214691162, -0.6909421682357788, 0.8703578114509583, 0.35340094566345215, 0.1495351642370224, 0.07364588975906372, -0.1749737560749054, -0.9303857684135437, 0.7894462943077087, -0.02146214433014393, -0.19100365042686462, -0.34173116087913513, 0.29040437936782837, 0.3689911365509033, -0.022481953725218773, 0.0941360667347908, 0.6575456261634827, 0.500281035900116, 0.10897490382194519, -0.8510839939117432, 0.06531334668397903, -0.20185264945030212, 0.42102017998695374, 0.5963244438171387, -0.4544748365879059, 0.6893123984336853, 0.2717438042163849, -0.6779049634933472, -0.14087434113025665, 0.4911137819290161, -0.1606898456811905, -0.27103668451309204, 0.7272887229919434, 0.268368124961853, 0.765432596206665, -0.11091430485248566, 1.0570930242538452, -0.5524457097053528, -0.2800464928150177, 0.7968458533287048, 0.27318987250328064, 0.8533770442008972, 0.8593928813934326, -0.19805927574634552, 0.46308574080467224, 0.6618243455886841, 0.21647754311561584, 0.18169240653514862, 0.3955003619194031, -0.1522672176361084, 0.000053927244152873755, -0.3445481061935425, 0.03330123424530029, 0.6419432163238525, -0.1219322457909584, -0.24844324588775635, 0.04902305081486702, -0.04094194620847702, 0.18404142558574677, -0.2022690623998642, -0.20875100791454315, 0.8234002590179443, -0.11177993565797806, -0.5783215165138245, 0.3197418451309204, 0.24643296003341675, 0.9568812251091003, -0.556061863899231, 0.30214929580688477, -0.22176042199134827, -0.38678181171417236, -0.19792380928993225, -0.27677109837532043, 0.4977625906467438, -0.027239715680480003, -0.06299520283937454, -0.3426332175731659, 0.9129242300987244, 0.010773413814604282, -0.26132896542549133, -0.09021268784999847, 0.3255026936531067, 0.3786355257034302, -0.12583012878894806, -0.2843150198459625, 0.2994799017906189, -0.3893340826034546, -0.2171032577753067, 0.21164225041866302, 0.36342403292655945, 0.15993499755859375, 0.2586483955383301, 0.8782948851585388, 0.48889678716659546, 0.2689107656478882, 0.19332775473594666, 0.7843320965766907, -0.6584104299545288, -0.5621386766433716, -1.0027439594268799, 0.6372166275978088, -0.268569678068161, -0.2811984419822693, 0.7257944345474243, 0.6442416310310364, 0.8223469257354736, 0.19297471642494202, 0.4964674115180969, -0.1269024759531021, 0.07769009470939636, -0.7025812864303589, 0.36630502343177795, -0.33315789699554443, 0.07588212937116623, -0.326880544424057, -0.7044671773910522, -0.40795639157295227, 0.4618179500102997, -0.0782756581902504, -0.0877932459115982, 0.8590850830078125, 0.5003310441970825, 0.2174188792705536, -0.018946487456560135, 0.18850260972976685, -0.43498101830482483, 0.47519591450691223, 0.19811509549617767, 0.5400865077972412, -0.5885918736457825, 0.6325357556343079, -0.22859330475330353, -0.027990877628326416, 0.0718221589922905, -0.95311039686203, -1.1330528259277344, -0.6240753531455994, -0.08583156764507294, -0.10331536084413528, -0.15755769610404968, 1.0803700685501099, 1.0445014238357544, -0.513064444065094, -0.27298927307128906, -0.48230600357055664, -0.014761351980268955, -0.05845080688595772, -0.15562237799167633, 0.3224964439868927, -0.8208150267601013, -0.8433245420455933, 0.30753418803215027, 0.3979462683200836, 0.1846327781677246, -0.27936825156211853, 0.06863920390605927, -0.05966904014348984, 0.3920360207557678, 0.6813098192214966, -0.2306288480758667, -0.4273964464664459, -0.5102699398994446, -0.15248632431030273, 0.11813147366046906, 0.2293855845928192, 1.1125385761260986, -0.6976087093353271, 0.5195062160491943, 0.6172485947608948, 0.7064921259880066, 0.451861709356308, 0.029891451820731163, 0.6948678493499756, -1.0050733089447021, 0.4129160940647125, 0.13015101850032806, 0.28726157546043396, 0.2695910334587097, -0.2562200725078583, 0.5320411920547485, 0.34943529963493347, -0.29222220182418823, -0.9739096760749817, 0.32309961318969727, -0.6369116902351379, -0.4488544762134552, 0.9214777946472168, 0.21658608317375183, -0.3828611373901367, -0.135736346244812, -0.38800114393234253, 0.2609759569168091, -0.24615740776062012, 0.4631250202655792, 0.9643873572349548, -0.06396161764860153, 0.18464478850364685, -0.20351044833660126, 0.7818130850791931, 0.4221726357936859, -0.6295585036277771, -0.07606620341539383, 0.2337309569120407, 0.02205524407327175, 0.37880465388298035, 0.7974511384963989, 0.04862327128648758, -0.10719236731529236, 0.32680100202560425, -0.07330623269081116, 0.014027082361280918, -0.11795328557491302, -0.2768324315547943, 0.4184335470199585, 0.42034316062927246, -0.3749637305736542 ]
http://arxiv.org/abs/2402.18374v2
http://arxiv.org/pdf/2402.18374v2
VerifiNER: Verification-augmented NER via Knowledge-grounded Reasoning with Large Language Models
2024-02-28T14:49:05
2024-06-08T13:01:36
Seoyeon Kim, Kwangwook Seo, Hyungjoo Chae, Jinyoung Yeo, Dongha Lee
cs.CL
cs.CL
Recent approaches in domain-specific named entity recognition (NER), such as biomedical NER, have shown remarkable advances. However, they still lack of faithfulness, producing erroneous predictions. We assume that knowledge of entities can be useful in verifying the correctness of the predictions. Despite the usefulness of knowledge, resolving such errors with knowledge is nontrivial, since the knowledge itself does not directly indicate the ground-truth label. To this end, we propose VerifiNER, a post-hoc verification framework that identifies errors from existing NER methods using knowledge and revises them into more faithful predictions. Our framework leverages the reasoning abilities of large language models to adequately ground on knowledge and the contextual information in the verification process. We validate effectiveness of VerifiNER through extensive experiments on biomedical datasets. The results suggest that VerifiNER can successfully verify errors from existing models as a model-agnostic approach. Further analyses on out-of-domain and low-resource settings show the usefulness of VerifiNER on real-world applications.
[ -0.008603943511843681, -0.8637580275535583, 0.8950371742248535, -0.22863146662712097, -0.014680987223982811, 0.019724469631910324, -0.2310447096824646, -0.49866610765457153, 0.12433291226625443, 0.5425540804862976, -0.025175778195261955, -0.47543925046920776, -0.6476137638092041, 0.29478394985198975, -0.5089188814163208, 0.9040288329124451, -0.28655245900154114, 0.15371496975421906, -0.6418206691741943, -0.1852504312992096, -0.3202834725379944, -0.7394186854362488, -0.4947444498538971, -0.5968977808952332, 0.2772095203399658, 0.21705782413482666, 0.43642351031303406, 0.7733445167541504, 0.5947657823562622, 0.2660684883594513, -0.16228169202804565, 0.4398728907108307, -0.3858542740345001, 0.02716265432536602, -0.5902852416038513, -0.1888866275548935, -0.5093923211097717, -0.41207343339920044, 0.6684597134590149, 0.7039535045623779, -0.10130659490823746, 0.017340827733278275, -0.17400267720222473, 0.23813652992248535, -0.739713728427887, -0.1710730344057083, -0.6917018890380859, -0.1601732075214386, -0.0940270721912384, -0.072519451379776, -0.3833067715167999, -0.3814965486526489, 0.18763256072998047, -0.6035855412483215, 0.34006401896476746, 0.04551771655678749, 1.3300197124481201, 0.4590967893600464, -0.5016506910324097, -0.05585291236639023, -1.1169770956039429, 0.6201291680335999, -0.5468067526817322, 0.6287838220596313, 0.5204647183418274, 0.7154363989830017, -0.3252594769001007, -1.010646104812622, -0.669459342956543, -0.2550884485244751, -0.12581562995910645, -0.13689014315605164, -0.18217474222183228, -0.06994438171386719, 0.5214686393737793, 0.3898370862007141, -0.2590799331665039, -0.26621583104133606, -0.3441604673862457, -0.48781099915504456, 0.352497935295105, -0.1348673552274704, 0.39461323618888855, 0.22831948101520538, -0.36176127195358276, 0.150169238448143, -1.0278176069259644, -0.0071404678747057915, -0.15191256999969482, -0.18802060186862946, 0.1599941849708557, 0.6850901246070862, -0.34332314133644104, 0.8069319725036621, 0.40989261865615845, -0.05187597870826721, 0.2670729160308838, -0.2848305404186249, -0.2656193673610687, 0.2809918224811554, 0.40266555547714233, 0.2762874960899353, -0.17427505552768707, -0.2535277009010315, -0.2710355520248413, 0.19533179700374603, 0.16014167666435242, -0.8304044604301453, -0.3113993704319, 0.28830939531326294, -0.2308788150548935, -0.0296877883374691, -0.35613617300987244, -0.4877842366695404, -0.6081069111824036, -0.3375052213668823, 0.6692013144493103, -0.6183556318283081, -0.22308970987796783, 0.2755109667778015, -0.06399977207183838, 0.32747307419776917, 0.6542912125587463, -0.25736284255981445, 0.258232057094574, 0.7366252541542053, 0.4623531997203827, 0.31697577238082886, -0.4191131889820099, -0.6208621263504028, 0.20065897703170776, -0.247487872838974, 0.8834406733512878, -0.4923055171966553, -0.17441533505916595, -0.2915698289871216, 0.1468462496995926, 0.09841468185186386, -0.4094417989253998, 0.639136791229248, -0.5942977666854858, -0.18373286724090576, -0.6827303767204285, -0.9002363681793213, -0.22037333250045776, 0.6224672198295593, -0.5025758743286133, 0.7940371036529541, 0.044560857117176056, -0.8432982563972473, 0.7262101173400879, -0.21701575815677643, -0.34956324100494385, 0.2639828026294708, -0.46213486790657043, -0.3784339129924774, 0.06604916602373123, 0.05988186597824097, 0.2781337797641754, -0.5015852451324463, 0.6470730900764465, -0.34145963191986084, -0.11360941082239151, 0.37563782930374146, -0.0650825947523117, 0.3704707622528076, -0.13234609365463257, -0.3412508964538574, 0.06134195625782013, -1.10079026222229, 0.16480876505374908, 0.021889623254537582, -0.13725419342517853, -0.5506830215454102, 0.15889796614646912, -0.18958282470703125, 0.16223831474781036, 0.19619788229465485, -0.8846582770347595, -0.06939750164747238, -0.3006892800331116, 0.5513412356376648, 0.34088021516799927, -0.07705719023942947, 0.3089551329612732, -0.4278063476085663, 0.0769147202372551, 0.0007743533933535218, -0.12157969176769257, 0.09601858258247375, -0.37280887365341187, -0.7657078504562378, -0.35316386818885803, 0.41374602913856506, 0.4403829574584961, -0.631888210773468, 0.4900207221508026, -0.5040816068649292, -0.6387620568275452, -0.24850384891033173, -0.15588273108005524, 0.38326582312583923, 1.1189467906951904, 0.6650870442390442, 0.25702542066574097, -0.8636893033981323, -0.7545983791351318, -0.2515617907047272, -0.2132948786020279, -0.08664609491825104, 0.40578386187553406, 0.8524782061576843, -0.752723217010498, 1.1711552143096924, -0.2051084041595459, 0.0047502582892775536, 0.07745175808668137, -0.19913728535175323, 0.19580022990703583, 0.6426674127578735, 0.25349193811416626, -0.7401198148727417, -0.02857377380132675, 0.46453723311424255, -0.9611862897872925, -0.02277342975139618, 0.18025289475917816, -0.1148858517408371, -0.12713971734046936, 0.4937593936920166, -0.39237549901008606, 0.4964037239551544, 0.4556373953819275, -0.43187984824180603, 0.625903308391571, -0.5822977423667908, 0.2822094261646271, -0.7188895344734192, 0.3787979185581207, -0.1115206629037857, -0.5287010669708252, -0.6208977103233337, -0.28007379174232483, 0.19645754992961884, -0.023630835115909576, -0.07630892097949982, 0.8902305960655212, -0.3108835518360138, 0.24090057611465454, -0.38819554448127747, -0.15610136091709137, 0.3633333742618561, -0.1752142459154129, 0.48413223028182983, 0.6227765679359436, 0.5769810676574707, -0.8075231909751892, 0.31822285056114197, 0.4524332582950592, -0.1491595208644867, 1.0236210823059082, -1.1380828619003296, 0.1017371118068695, -0.3372018337249756, 0.2156580537557602, -0.6657853722572327, -0.6253410577774048, 0.26007574796676636, -0.41816380620002747, 0.2349836677312851, -0.3146374523639679, -0.22583293914794922, -0.3138557970523834, 0.28130173683166504, 0.5737870931625366, 0.41391631960868835, -0.7424682378768921, 1.0354253053665161, 0.5052786469459534, 0.2681337893009186, -0.6340259313583374, -0.58266282081604, -0.07429548352956772, 0.008392393589019775, -0.7039996981620789, 0.5453221797943115, 0.14939194917678833, -0.29417458176612854, 0.16488432884216309, -0.337335467338562, -0.4030715823173523, -0.0016193368937820196, 0.4469258785247803, 0.18605875968933105, -0.19974808394908905, 0.18246793746948242, 0.05804205685853958, -0.36071881651878357, -0.0060053858906030655, -0.38375312089920044, -0.011997057124972343, -0.36955347657203674, -0.5799676775932312, -0.21118995547294617, 0.08806630969047546, 0.5758086442947388, -0.31682702898979187, 0.6305229663848877, 0.36255547404289246, -1.0205961465835571, -0.006182046141475439, -0.8032320737838745, -0.2751559019088745, -0.37662559747695923, 0.2542303800582886, -0.5100885033607483, -0.9490002393722534, 0.6964909434318542, -0.4524741470813751, -0.26093271374702454, 0.3621484637260437, 0.3302191197872162, 0.1942434310913086, 0.7707027792930603, 0.6001132726669312, 0.3184557855129242, -0.2722454369068146, 0.04525476321578026, 0.32072070240974426, -0.8699187636375427, -0.30581995844841003, -0.6473991274833679, -0.022413957864046097, -0.10374587774276733, -0.5496430397033691, 0.315284788608551, 0.21380500495433807, -0.3713790774345398, 0.4495677351951599, -0.4198824465274811, 0.6246429085731506, 0.3993028700351715, 0.2830064296722412, 0.12285277992486954, -0.2456503063440323, -0.11553596705198288, -0.019765038043260574, -0.3939307928085327, -0.8087493181228638, 0.8165058493614197, 0.2524796724319458, 0.4415619969367981, -0.08195900917053223, 0.5030049085617065, 0.011524994857609272, 0.5493959188461304, -0.6200886964797974, 0.3157757818698883, 0.1663162112236023, -0.8740155100822449, -0.15129108726978302, -0.40372562408447266, -0.5559735894203186, 0.06425569951534271, -0.27518340945243835, -0.8004598021507263, 0.5419036149978638, 0.5038298964500427, -0.39639610052108765, 0.3158291280269623, -0.13994301855564117, 0.9973704218864441, -0.21022561192512512, -0.43128544092178345, 0.11513326317071915, -0.5873923301696777, 0.3451983630657196, -0.23554836213588715, 0.15104882419109344, -0.0895213857293129, 0.18315637111663818, 0.45949870347976685, -0.9302539229393005, 0.5679725408554077, -0.2306710034608841, -0.07968223094940186, 0.09728628396987915, 0.05356920138001442, 0.8546845316886902, 0.29239770770072937, -0.2436216026544571, 0.3794618248939514, 0.19279073178768158, -0.18609113991260529, -0.46318379044532776, 0.5820810794830322, -0.6380122303962708, -0.41892489790916443, -0.3245760500431061, 0.009908155538141727, -0.26873546838760376, 0.5953689217567444, 0.6341570019721985, 0.38291651010513306, -0.24629554152488708, 0.23218615353107452, 0.9292662739753723, -0.19062639772891998, -0.33620917797088623, 0.4776290953159332, -0.1952877640724182, -0.8317839503288269, 0.7736334800720215, 0.01928316429257393, -0.023619916290044785, 0.37344464659690857, 0.1852991282939911, -0.23567292094230652, -0.7026286125183105, -0.5305011868476868, 0.28928133845329285, -0.8030976057052612, -0.3793400228023529, -0.8897210955619812, -0.15925392508506775, -0.15578147768974304, -0.2987978160381317, -0.569646954536438, -0.012189967557787895, 0.02432371862232685, -0.13243135809898376, 0.5232876539230347, 0.30149003863334656, -0.1655120551586151, 0.25092411041259766, -0.8517597317695618, 0.2763288617134094, 0.17976169288158417, 0.29968518018722534, -0.6143444180488586, -0.5282233357429504, -0.1172986850142479, 0.23854191601276398, 0.3723500072956085, -0.8268265724182129, 0.02541535347700119, 0.24986162781715393, 0.6071690320968628, 0.3600931465625763, 0.017265433445572853, 0.6723712086677551, -0.8395454287528992, 0.5205292701721191, -0.005571303423494101, -1.223315715789795, 0.6203497052192688, -0.16860444843769073, -0.19610154628753662, 0.7767990231513977, 0.12159518897533417, -0.41133546829223633, -0.17534346878528595, -0.7313425540924072, -0.8185944557189941, 0.291016548871994, 0.009346891194581985, -0.1437331885099411, -0.08003181219100952, 0.5663298964500427, 0.09252208471298218, 0.1139008179306984, -0.35767194628715515, -0.26543813943862915, -0.3087427318096161, 0.07402291148900986, 0.12268313020467758, -0.48519203066825867, -0.20899200439453125, -0.057277314364910126, 0.8784450888633728, -0.15512850880622864, 0.09188662469387054, 0.6726998090744019, -0.31143420934677124, -0.04820391908288002, 0.14792297780513763, 0.5139579772949219, 0.7977487444877625, -0.15050165355205536, 0.38897958397865295, 0.3924945294857025, -0.35303136706352234, 0.37172049283981323, 0.22747555375099182, -0.4337659776210785, 0.21648292243480682, 0.20188258588314056, 0.5639668703079224, 0.19018615782260895, -0.6085278391838074, 0.748517632484436, -0.1391272246837616, -0.13188758492469788, -0.43751275539398193, -0.2693163752555847, -0.0952390506863594, 0.143155038356781, 0.09944816678762436, 0.3969120383262634, 0.3213854134082794, 0.2682258188724518, 0.46178337931632996, 0.28524649143218994, -0.5474382638931274, -0.4485968351364136, 0.8875458240509033, -0.03125826269388199, 0.08816278725862503, 0.3546648323535919, -0.24627915024757385, -0.36525967717170715, 0.5222065448760986, 0.6291514039039612, 0.6577361226081848, -0.34713611006736755, 0.032478827983140945, 0.5960935354232788, 0.222526416182518, -0.4103599190711975, 0.34152886271476746, 0.08549806475639343, -1.0569370985031128, -0.7165178656578064, -0.5295819044113159, -0.6090484261512756, 0.08596639335155487, -0.49798154830932617, 0.43207505345344543, -0.7675448656082153, -0.48201870918273926, 0.27813461422920227, -0.4896767735481262, -0.637060821056366, 0.3091973066329956, 0.12202458083629608, 0.7692641615867615, -0.7166356444358826, 0.6978386640548706, 1.2315126657485962, -0.2433186024427414, -0.866067111492157, -0.3088217079639435, 0.11599524319171906, -0.4384628236293793, 0.8713973760604858, 0.15416023135185242, -0.2757086753845215, 0.06610939651727676, -0.42087438702583313, -1.0330957174301147, 0.9329118132591248, 0.5019723773002625, -0.5350776314735413, 0.21667775511741638, -0.1678447127342224, 0.45807573199272156, 0.00037337015965022147, 0.21690620481967926, 0.1886998564004898, 0.5021107196807861, 0.40588465332984924, -0.9244433641433716, 0.31257471442222595, -0.2766181528568268, -0.02715303562581539, 0.1785804182291031, 0.048493627458810806, 0.8331131935119629, -0.2379632294178009, -0.27371612191200256, -0.072531558573246, 0.8399901390075684, 0.5947756171226501, 0.4776105582714081, 0.24939095973968506, 0.6236066818237305, 1.3598358631134033, -0.15047290921211243, 0.8770560622215271, -0.35708221793174744, 0.4276849925518036, 1.1512855291366577, -0.8960923552513123, 0.5192140340805054, 0.49161073565483093, -0.05857662484049797, 0.4657817482948303, 0.14344064891338348, 0.04340792074799538, 0.2808762490749359, 0.3299762010574341, -0.3858396112918854, -0.5929120182991028, -0.3168666958808899, -0.6014276146888733, 0.32092031836509705, 0.45517498254776, -0.26948311924934387, -0.3640668988227844, 0.14009644091129303, 0.18828971683979034, 0.10225240886211395, -0.2692224979400635, 0.5656300187110901, -0.13521476089954376, -0.29830262064933777, 0.6601760983467102, 0.07223398983478546, 0.41906607151031494, -0.3833303153514862, -0.2678411602973938, 0.19489547610282898, 0.6968221068382263, -0.20625346899032593, -0.32191625237464905, 0.49570587277412415, -0.07707791030406952, -0.42256826162338257, -0.01375745888799429, 1.3332767486572266, -0.28600385785102844, -0.48410025238990784, 0.12953488528728485, 0.512226939201355, 0.022280734032392502, -0.19297221302986145, -0.2932802140712738, -0.07545063644647598, -0.36757510900497437, 0.09016638249158859, -0.1710984855890274, 0.7655113339424133, -0.06679227948188782, 0.574530303478241, 0.7347025275230408, 0.17641150951385498, -0.31656163930892944, -0.29363927245140076, 0.7352812886238098, -0.5790508389472961, -0.2339484691619873, -0.9084486961364746, 0.4824697971343994, -0.28315746784210205, -0.10095331072807312, 0.7670271396636963, 0.5243157148361206, 0.8134768009185791, -0.1198701560497284, 0.9378008842468262, -0.16631166636943817, 0.7387991547584534, -0.41015493869781494, 0.7046084403991699, -0.29495927691459656, 0.20166073739528656, -0.049150027334690094, -0.43400049209594727, -0.6392975449562073, 0.8188618421554565, -0.6514771580696106, -0.12510398030281067, 0.667680025100708, 0.7170789241790771, -0.13408885896205902, 0.007609806023538113, 0.3698555827140808, 0.20799578726291656, 0.3260572552680969, 0.604703426361084, 1.1880091428756714, -0.5519164204597473, 0.007250314112752676, -0.12929311394691467, -0.3127473294734955, -0.30521684885025024, -1.1458507776260376, -0.8053138256072998, -0.2969728708267212, -0.7318702936172485, -0.824645459651947, 0.30921757221221924, 0.8684989213943481, 0.7390551567077637, -0.8983835577964783, 0.370716392993927, -0.2995685935020447, 0.2090011090040207, -0.3283842206001282, -0.07284507155418396, 0.33717894554138184, -0.09278975427150726, -0.3038659393787384, 0.42945873737335205, 0.2192530333995819, 0.11336080729961395, 0.1710406243801117, -0.13112285733222961, 0.1097322627902031, -0.058638934046030045, 0.38167354464530945, 0.6461023688316345, -0.6864372491836548, -0.46367964148521423, 0.12137342244386673, -0.22353777289390564, -0.042721040546894073, 0.7493212819099426, -0.9896305203437805, 0.2145693451166153, 0.590208888053894, 0.9578132033348083, -0.018576281145215034, -0.0010804524645209312, 0.6161946654319763, -0.4108291268348694, -0.2918740212917328, 0.22015975415706635, 0.750999927520752, 0.46459752321243286, -0.5861647725105286, 0.34342247247695923, 0.3081216812133789, -0.7579224109649658, -0.9509921073913574, 0.13331392407417297, -0.6952846646308899, 0.16396936774253845, 1.271230697631836, -0.467012882232666, -0.4479031264781952, -0.25991547107696533, -0.08902797102928162, 0.21098339557647705, -0.012143013998866081, 0.40221545100212097, 0.5908052921295166, 0.15111012756824493, 0.08734986931085587, -0.30411508679389954, 0.5967682600021362, 0.23578505218029022, -0.889892578125, 0.13590729236602783, 0.8161406517028809, 0.571516752243042, 0.3524996042251587, 0.7676787376403809, -0.17380142211914062, 0.3467964828014374, -0.05780608206987381, 0.16178444027900696, -0.21637146174907684, -0.32799434661865234, -0.27484825253486633, -0.06396155059337616, 0.23997673392295837, 0.06572344899177551 ]
http://arxiv.org/abs/2402.18344v2
http://arxiv.org/pdf/2402.18344v2
Focus on Your Question! Interpreting and Mitigating Toxic CoT Problems in Commonsense Reasoning
2024-02-28T14:09:02
2024-06-27T06:54:58
Jiachun Li, Pengfei Cao, Chenhao Wang, Zhuoran Jin, Yubo Chen, Daojian Zeng, Kang Liu, Jun Zhao
cs.CL
cs.CL
Large language models exhibit high-level commonsense reasoning abilities, especially with enhancement methods like Chain-of-Thought (CoT). However, we find these CoT-like methods lead to a considerable number of originally correct answers turning wrong, which we define as the Toxic CoT problem. To interpret and mitigate this problem, we first utilize attribution tracing and causal tracing methods to probe the internal working mechanism of the LLM during CoT reasoning. Through comparisons, we prove that the model exhibits information loss from the question over the shallow attention layers when generating rationales or answers. Based on the probing findings, we design a novel method called RIDERS (Residual decodIng and sERial-position Swap), which compensates for the information deficit in the model from both decoding and serial-position perspectives. Through extensive experiments on multiple commonsense reasoning benchmarks, we validate that this method not only significantly eliminates Toxic CoT problems (decreased by 23.6%), but also effectively improves the model's overall commonsense reasoning performance (increased by 5.5%).
[ -0.22505776584148407, -0.7924251556396484, 0.9166315197944641, -0.0791812539100647, -0.37287551164627075, -0.015119829215109348, 0.011489839293062687, -0.5189489722251892, -0.14037473499774933, 0.9477484226226807, -0.42707154154777527, -0.42177674174308777, -0.6198214888572693, -0.006875811144709587, -0.38569536805152893, 0.9903085231781006, 0.07530665397644043, -0.21512094140052795, -0.2171526998281479, -0.16218781471252441, -0.6554827094078064, -0.6690772771835327, -1.0117824077606201, -0.10657976567745209, 0.9226856231689453, 0.47897690534591675, 0.7951268553733826, 0.3563210368156433, 0.37690529227256775, 0.28995341062545776, -0.7310064435005188, 0.27602553367614746, -0.9739319682121277, -0.05384896695613861, -0.4459910988807678, -0.601304292678833, -0.2956010401248932, -0.3132193982601166, 0.39389917254447937, 0.4570835828781128, -0.04454823210835457, 0.10315138846635818, 0.03276950120925903, 0.6709463596343994, -1.0958930253982544, -0.1612822413444519, -0.7030526399612427, -0.13883012533187866, -0.1698732078075409, -0.5415165424346924, -0.9585773944854736, -0.17067307233810425, -0.22233447432518005, -0.6328511238098145, 0.12018320709466934, 0.1072460487484932, 0.6006051301956177, 0.29148516058921814, -0.9051269888877869, -0.20628999173641205, -0.6188150644302368, 1.0070732831954956, -0.9023427367210388, 0.006748526357114315, 0.46436378359794617, 0.10248814523220062, -0.12100468575954437, -0.49007996916770935, -0.6247084736824036, -0.26576343178749084, -0.260640412569046, 0.0831712856888771, 0.017710890620946884, 0.023217542096972466, 0.27098849415779114, -0.14112836122512817, -0.3659301698207855, 0.051726482808589935, -0.5165886878967285, -0.42546454071998596, 0.730888307094574, 0.49975472688674927, 0.37088364362716675, -0.07814181596040726, -0.7987685203552246, 0.011107548139989376, -0.9170718193054199, -0.12493812292814255, 0.2808283567428589, 0.16055245697498322, -0.01132097840309143, 0.38951727747917175, 0.005079186055809259, 0.7651587128639221, -0.32494688034057617, 0.20334312319755554, -0.007038631942123175, -0.35238608717918396, -0.09248611330986023, -0.024373430758714676, 0.4597482681274414, 0.5329144597053528, 0.23452121019363403, -0.1632373183965683, -0.2446189522743225, 0.016446996480226517, 0.29801464080810547, -0.39927107095718384, -0.10578615218400955, 0.3634691536426544, -0.40446215867996216, -0.726094126701355, -0.3431299924850464, -0.9210231304168701, -0.5733550786972046, -0.3775361478328705, 0.36808183789253235, -0.23635932803153992, -0.6270977854728699, 0.17802682518959045, -0.33171626925468445, 0.2814251482486725, 0.3774515390396118, -0.7190188765525818, 0.2607609033584595, 0.5887575149536133, 0.7562870383262634, -0.24832378327846527, -0.12018747627735138, -0.6159524917602539, 0.5654005408287048, -0.3975681662559509, 1.1815297603607178, -0.5171457529067993, -0.34727632999420166, -0.18599599599838257, -0.08976152539253235, -0.10853911936283112, -0.6420920491218567, 0.5556755661964417, -0.5224613547325134, -0.20564253628253937, -0.8117368817329407, -0.2659844160079956, -0.06657075136899948, 0.3380380868911743, -0.6608943343162537, 0.6912137866020203, -0.2267286777496338, -1.0363186597824097, 0.08271808177232742, -0.5486363172531128, -0.26865771412849426, -0.28038904070854187, 0.3080151379108429, -0.11474699527025223, 0.02761237323284149, 0.15669038891792297, 0.02490936405956745, -0.2849271595478058, 0.2164086401462555, -0.40481388568878174, -0.45149773359298706, 0.5776907205581665, -0.6750386953353882, 1.0513845682144165, 0.4393601715564728, -0.16153274476528168, 0.18713529407978058, -0.511432409286499, -0.12131761014461517, -0.06484626978635788, 0.1704406589269638, -0.478867769241333, 0.11564744263887405, 0.10367231070995331, 0.2549839913845062, -0.13526032865047455, -0.4128158688545227, -0.27598878741264343, -0.24253220856189728, 0.5109767317771912, 1.1964911222457886, 0.4640858769416809, 0.32052457332611084, -0.542931079864502, 0.3919637203216553, 0.3085585832595825, 0.47195470333099365, 0.3506219983100891, -0.510456383228302, -0.6310470104217529, -0.038599833846092224, -0.22282153367996216, 0.302961528301239, -0.7767249941825867, -0.06709971278905869, 0.0019444465870037675, -0.24389374256134033, -0.0775533989071846, -0.20559988915920258, 0.5466554760932922, 0.8806377649307251, 0.5572416186332703, -0.12095211446285248, 0.026166310533881187, -0.6682639122009277, -0.4854027330875397, -0.14650936424732208, 0.2980843186378479, 0.1621243953704834, 0.38354963064193726, -0.174431711435318, 0.7290319800376892, -0.6939103603363037, -0.10802716761827469, -0.10268311202526093, 0.3070818781852722, -0.11751970648765564, 0.513493001461029, 0.31566911935806274, -0.7930710911750793, -0.24110029637813568, -0.11473250389099121, -0.4462070167064667, -0.26714056730270386, -0.24225713312625885, -0.6359438896179199, 0.21382740139961243, 0.660105288028717, -0.45124149322509766, 0.4254136085510254, 0.1638941615819931, -0.566329300403595, 0.7784667611122131, -0.05934179201722145, 0.16597674787044525, -0.502013087272644, 0.2768241763114929, -0.3595926761627197, -0.10784300416707993, -0.5881826281547546, 0.13088037073612213, -0.02879350632429123, -0.02286328375339508, -0.8284751772880554, 0.7027885317802429, -0.4018920361995697, 0.1328117549419403, -0.3571004271507263, 0.6055099964141846, 0.23711496591567993, 0.5830549597740173, -0.17228963971138, 0.6689845323562622, 0.3028845191001892, -0.6334808468818665, 0.2728460431098938, 0.29436585307121277, 0.11959241330623627, 0.4670625329017639, -0.4204236567020416, 0.21047230064868927, -0.42093488574028015, 0.259432852268219, -1.2111554145812988, 0.09867462515830994, 0.22538456320762634, -0.33622145652770996, 0.06788075715303421, -0.16156332194805145, -0.580603301525116, -0.29988279938697815, -0.2784089148044586, 0.5929058790206909, 0.3003479242324829, -0.4954052269458771, 0.4440905749797821, 0.2552247643470764, 0.033476751297712326, -0.7496843934059143, -0.8777028322219849, -0.11911441385746002, -0.36249321699142456, -0.5149469375610352, -0.09055675566196442, 0.02775384671986103, -0.38720011711120605, 0.23158790171146393, -0.38446369767189026, -0.2725223898887634, 0.10792557895183563, -0.26251497864723206, 0.42421168088912964, -0.029009826481342316, 0.43469786643981934, 0.2167825847864151, -0.5811794400215149, 0.3217332661151886, 0.17909175157546997, 0.540330171585083, 0.0027955404948443174, -0.3146516978740692, -0.38005396723747253, 0.3856649696826935, 0.8146891593933105, -0.3916659653186798, 0.8367615938186646, 0.3401091992855072, -0.038739435374736786, -0.2637506425380707, -0.48169228434562683, -0.26173433661460876, -0.535539448261261, 0.20780397951602936, -0.15913772583007812, -0.39774289727211, 0.714739978313446, 0.011004332453012466, -0.22032786905765533, 0.5453527569770813, 0.5306100845336914, -0.05448070168495178, 0.8726591467857361, 0.2368181049823761, 0.01435557659715414, 0.22784365713596344, -0.4094817042350769, 0.28168684244155884, -1.0318714380264282, -0.20962847769260406, -0.32490840554237366, -0.24434515833854675, -0.349619597196579, -0.5038831830024719, 0.5959842801094055, -0.15538495779037476, -0.6763591766357422, 0.1522449105978012, -0.5942011475563049, 0.8605349659919739, 0.19132252037525177, 0.6732911467552185, 0.5158081650733948, -0.4706675410270691, -0.08455851674079895, 0.4339781105518341, -0.6540564298629761, -0.5598412752151489, 1.0658520460128784, 0.2196732759475708, 0.8224190473556519, 0.1998412311077118, 0.574182391166687, 0.09122017025947571, 0.6294180154800415, -0.4030298888683319, 0.7027385830879211, -0.20285741984844208, -1.0214924812316895, -0.26249754428863525, -0.6240079998970032, -0.6185667514801025, 0.37059932947158813, -0.07248673588037491, -0.735105574131012, 0.30110183358192444, 0.3551001250743866, -0.3392832279205322, 0.60804682970047, -0.9762731194496155, 0.9280464053153992, -0.20933739840984344, -0.8502016067504883, -0.5456618666648865, -0.7119894027709961, 0.7321898937225342, 0.05697740614414215, 0.4427627623081207, -0.10249775648117065, -0.11439144611358643, 0.680902898311615, -0.4000585675239563, 1.061488389968872, -0.23292194306850433, -0.2997143864631653, 0.5946562886238098, 0.09370268136262894, 0.6138407588005066, 0.0003526849905028939, -0.06849461048841476, -0.07058669626712799, 0.25720274448394775, -0.6839121580123901, -0.5527223348617554, 0.7042230367660522, -0.6671074628829956, -0.6139971017837524, -0.5101763010025024, -0.654407799243927, -0.3122031092643738, 0.07993848621845245, 0.2692326307296753, 0.6238262057304382, 0.2255582958459854, -0.1324537694454193, 0.6391681432723999, -0.568417489528656, 0.2828938663005829, 0.4429771304130554, -0.04468029364943504, -0.2627538740634918, 0.8263267278671265, -0.08728738129138947, 1.0055335760116577, 0.26025599241256714, 0.3666333258152008, -0.4239383339881897, -0.5218230485916138, -0.11354146897792816, 0.5152358412742615, -1.1207863092422485, -0.43322885036468506, -0.5218672156333923, -0.04724997282028198, -0.0961323007941246, -0.26137274503707886, -0.3777654469013214, -0.2529066801071167, -0.2570910155773163, -0.15257258713245392, 0.37872347235679626, 0.5909976959228516, -0.009041770361363888, 0.2532646954059601, -0.7463763952255249, 0.4948200285434723, 0.2446029633283615, 0.47799116373062134, 0.5037890076637268, -0.5139226317405701, -0.004086393862962723, 0.2572025656700134, -0.5423608422279358, -1.1083414554595947, 0.2926257848739624, -0.5199177265167236, 0.5984503626823425, 0.3267154097557068, 0.4695587158203125, 0.8885980844497681, -0.16271694004535675, 0.7433769106864929, 0.18210344016551971, -1.0676023960113525, 0.43900391459465027, -0.3243131935596466, -0.05007830262184143, 0.38144394755363464, 0.25374868512153625, -0.47159650921821594, -0.8659170866012573, -0.5728856921195984, -0.9740963578224182, 0.5779155492782593, 0.3001227080821991, 0.07852188497781754, -0.2923250198364258, 0.230681911110878, -0.07175478339195251, -0.22545315325260162, -0.7292198538780212, -0.022103723138570786, 0.12920409440994263, -0.061230991035699844, 0.08605799823999405, -0.45597949624061584, -0.24485985934734344, -0.09580352157354355, 0.6359258890151978, 0.12538233399391174, 0.24261246621608734, 0.42387399077415466, -0.24236902594566345, -0.33835867047309875, 0.2864249050617218, 0.7942599058151245, 0.7615499496459961, -0.1341424435377121, 0.3835846781730652, 0.39134567975997925, -0.2976568639278412, 0.13013942539691925, -0.44915446639060974, -0.025316184386610985, -0.35646653175354004, 0.5828753709793091, 0.4734886586666107, 0.3193521797657013, -0.8495151996612549, 0.5297156572341919, 0.30928516387939453, 0.09584804624319077, -0.14782381057739258, 0.09622053802013397, 0.19741517305374146, 0.08617611974477768, 0.1515175998210907, 0.2911717891693115, 0.2505783140659332, -0.6739590167999268, 0.22329512238502502, 0.3560250699520111, -0.2545683979988098, -0.03929715231060982, 0.7354579567909241, 0.42392435669898987, 0.03141484782099724, 0.6294163465499878, 0.10707256197929382, -0.577652633190155, 0.9512527585029602, 0.6465753316879272, 0.7132251858711243, 0.037306156009435654, 0.2628001868724823, 0.41732457280158997, 0.31311583518981934, 0.003317294642329216, 0.09679938107728958, -0.00010141945676878095, -0.7245115637779236, -0.6465534567832947, -0.06286899745464325, -0.5035348534584045, -0.0616813525557518, -0.838117778301239, 0.3409571945667267, -0.26387226581573486, -0.025047169998288155, -0.2424936443567276, -0.2900177240371704, -0.2500540614128113, 0.09913002699613571, 0.16155952215194702, 0.8738948702812195, -1.1541427373886108, 0.5748336911201477, 0.09709851443767548, -0.7421379685401917, -0.7164501547813416, 0.24580079317092896, -0.05212930962443352, -0.8469061851501465, 0.7389620542526245, 0.01711939089000225, -0.45337632298469543, 0.00024210214905906469, -0.8532429337501526, -0.7827868461608887, 0.9431947469711304, 0.2784633934497833, -0.45487895607948303, 0.20400400459766388, 0.09280996769666672, 0.5112900137901306, 0.1563446968793869, 0.32328683137893677, 0.5217344164848328, 0.4868360757827759, 0.24491249024868011, -0.7836977243423462, 0.32997432351112366, -0.0005790690192952752, -0.05174189805984497, 0.30358001589775085, -0.7754740715026855, 0.6764134764671326, -0.4379645586013794, -0.28451457619667053, 0.06270520389080048, 0.06303471326828003, 0.4253101646900177, 0.6482018232345581, 0.6319310665130615, 0.3806789517402649, 0.7512151002883911, 0.217877596616745, 1.0808191299438477, 0.0438772514462471, 0.46270090341567993, 1.0993026494979858, -0.32747000455856323, 0.8382871747016907, 0.6183164119720459, 0.027067314833402634, 0.48458898067474365, 0.21472498774528503, 0.4036683440208435, 0.7453567981719971, 0.38425639271736145, -0.4610777497291565, -0.22041574120521545, 0.0999235138297081, -0.3242844045162201, 0.13499656319618225, 0.2768373489379883, -0.1613123118877411, -0.2869696021080017, 0.241688534617424, 0.1252351552248001, 0.1797870695590973, -0.3764854967594147, 0.6889162659645081, 0.020580295473337173, -0.5768554210662842, 0.9515597224235535, -0.35218364000320435, 0.39071106910705566, -0.32038038969039917, -0.020921265706419945, -0.4384806752204895, 0.22444383800029755, -0.08835673332214355, -0.9700914025306702, 0.6910322308540344, -0.09560912102460861, 0.202297180891037, -0.3604757487773895, 0.7027496099472046, -0.3065359890460968, -0.3336189091205597, 0.35232409834861755, 0.1676168292760849, 0.1712408810853958, -0.05107171833515167, -0.4644237160682678, 0.23217958211898804, -0.05375971272587776, -0.028768541291356087, 0.01860189251601696, 0.7054949402809143, -0.1715053766965866, 0.9223966598510742, 0.6752378940582275, 0.06258605420589447, 0.10104796290397644, -0.029601579532027245, 1.2958124876022339, -0.8709754347801208, -0.39398884773254395, -0.7368502616882324, 0.7952523231506348, -0.20658765733242035, -0.22884492576122284, 0.25473740696907043, 0.39179182052612305, 0.5543224215507507, -0.24627351760864258, 0.4477171003818512, 0.2349361926317215, 0.5153840780258179, -0.7611621618270874, 0.8563764691352844, -0.37558045983314514, 0.6600652933120728, -0.2517210841178894, -0.48388585448265076, -0.39344465732574463, 0.3960959315299988, -0.6080749034881592, -0.12087012082338333, 1.1193565130233765, 1.0195575952529907, -0.0030293555464595556, 0.04651157185435295, 0.26326635479927063, 0.6495509147644043, 0.4837125539779663, 0.825173020362854, 1.0991140604019165, -0.2637912929058075, 0.7506111860275269, -0.2703890800476074, -0.29017141461372375, -0.04735441878437996, -0.8457220792770386, -0.7339170575141907, -0.3296613395214081, -0.2598651647567749, -0.3469831049442291, 0.2792544960975647, 0.2819516360759735, 0.28407520055770874, -0.7643945813179016, 0.04726778343319893, -0.4960041046142578, 0.5169588327407837, -0.36353495717048645, -0.309325248003006, 0.48609280586242676, -0.7019673585891724, -0.25589412450790405, -0.19143247604370117, 0.020936360582709312, -0.2769431173801422, 0.09182055294513702, 0.03029518574476242, -0.3243752419948578, 0.14052510261535645, 0.7509737610816956, 0.028484003618359566, -0.7621830105781555, -0.6631296277046204, -0.07132600247859955, -0.08497516065835953, -0.11547522246837616, 0.9583351016044617, -0.750633716583252, 0.43863505125045776, 0.44356420636177063, 0.09526637941598892, 0.5400790572166443, 0.09965141117572784, 0.46259066462516785, -0.2865976095199585, 0.3175867795944214, 0.525049090385437, 0.09531918913125992, 0.016149505972862244, -0.5728738307952881, 0.41856709122657776, 0.2947063744068146, -0.5735474824905396, -1.002745509147644, 0.36263635754585266, -1.2625889778137207, -0.5044587850570679, 1.4564846754074097, 0.08399147540330887, -0.2436896413564682, -0.39464715123176575, -0.5675807595252991, 0.34944382309913635, -0.043409451842308044, 0.8872339129447937, 0.5700053572654724, -0.1681569218635559, -0.2196238934993744, -0.5780148506164551, 0.32975903153419495, 0.4246336817741394, -0.8206166625022888, 0.6157373785972595, 0.5172280669212341, 0.4796435236930847, 0.044713664799928665, 0.8406692743301392, -0.472179651260376, 0.2861592471599579, 0.14286930859088898, -0.38611677289009094, -0.005972458980977535, -0.1341761350631714, 0.07471569627523422, -0.08233333379030228, 0.04821818321943283, -0.2362985908985138 ]
http://arxiv.org/abs/2402.18334v2
http://arxiv.org/pdf/2402.18334v2
Learning to Generate Instruction Tuning Datasets for Zero-Shot Task Adaptation
2024-02-28T13:54:57
2024-06-06T13:50:26
Nihal V. Nayak, Yiyang Nan, Avi Trost, Stephen H. Bach
cs.CL
cs.CL, cs.LG
We introduce Bonito, an open-source model for conditional task generation that converts unannotated text into task-specific training datasets for instruction tuning. We aim to enable zero-shot task adaptation of large language models on users' specialized, private data. We train Bonito by fine-tuning a pretrained large language model on a new large-scale dataset with 1.65M examples created by remixing existing instruction tuning datasets into meta-templates. The meta-templates for a dataset produce training examples where the input is the unannotated text and the task attribute and the output consists of the instruction and the response. We use Bonito to generate synthetic tasks for seven datasets from specialized domains with unannotated text across three task types -- yes-no question answering, extractive question answering, and natural language inference -- and adapt language models. We show that Bonito significantly improves the average performance of pretrained and instruction tuned models over the de facto self supervised baseline. For example, adapting Mistral-Instruct-v2 and instruction tuned variants of Mistral and Llama2 with Bonito improves the strong zero-shot performance by 22.1 F1 points whereas the next word prediction objective undoes some of the benefits of instruction tuning and reduces the average performance by 0.8 F1 points. We conduct additional experiments with Bonito to understand the effects of the domain, the size of the training set, and the choice of alternative synthetic task generators. Overall, we show that learning with synthetic instruction tuning datasets is an effective way to adapt language models to new domains. The model, dataset, and code are available at https://github.com/BatsResearch/bonito.
[ -0.02470303140580654, -0.6596550941467285, 0.33742013573646545, 0.026036271825432777, -0.25498345494270325, -0.20872826874256134, -0.5745052695274353, -0.3626898527145386, -0.1776542067527771, 0.8005778789520264, -0.6120367050170898, -0.7612513303756714, -0.5817103385925293, 0.1330866515636444, -0.09823814034461975, 1.524222731590271, 0.10261261463165283, -0.029336106032133102, -0.07928582280874252, 0.11421561986207962, -0.9089748859405518, -0.15650880336761475, -0.6951731443405151, -0.09757433086633682, 0.3850262761116028, 0.6698116660118103, 0.23596613109111786, 0.6819350123405457, 0.046063609421253204, 0.2804618775844574, 0.7265738248825073, 0.29540368914604187, -0.6878778338432312, 0.2459312379360199, -0.4409671127796173, -0.9266010522842407, -0.47488391399383545, -0.21426528692245483, 0.4031424820423126, 0.46441972255706787, 0.20237860083580017, 0.18235847353935242, 0.007225493434816599, 0.47334128618240356, -0.8858788013458252, 0.3020226061344147, -1.1833443641662598, -0.13002261519432068, -0.23372246325016022, -0.7742092609405518, -0.5559755563735962, -0.09120111912488937, -0.22360703349113464, -0.8519607782363892, 0.7484520077705383, -0.1366407424211502, 0.6741379499435425, 0.5955214500427246, -0.3627360165119171, -0.22057697176933289, -0.7840627431869507, 0.9617457985877991, -0.6835042238235474, 0.30922365188598633, 0.4669095575809479, 0.21955056488513947, -0.36179500818252563, -0.43719908595085144, -0.354582279920578, -0.13109509646892548, 0.1787315160036087, 0.33473876118659973, 0.025669263675808907, 0.18583229184150696, 0.14006619155406952, 0.16121338307857513, -0.5299900770187378, 0.14108029007911682, -0.41339072585105896, 0.024187013506889343, 0.6844660639762878, 0.10884536057710648, 0.27468061447143555, 0.1258397251367569, -0.20239603519439697, -0.12688656151294708, -0.7926267385482788, 0.1761135458946228, 0.44674912095069885, 0.46252524852752686, 0.016241848468780518, 0.40635842084884644, -0.31739485263824463, 1.1540206670761108, 0.15476055443286896, -0.12966963648796082, -0.0137755973264575, -0.21152104437351227, -0.36912187933921814, 0.37599143385887146, 0.6441007852554321, 0.3134520649909973, 0.44742655754089355, -0.45876938104629517, -0.15381886065006256, 0.12582437694072723, 0.6915248036384583, -0.8133360147476196, -0.4966602623462677, 0.04479905217885971, 0.2523234784603119, -0.12990084290504456, -0.14263604581356049, -0.6406036019325256, -0.13860125839710236, -0.4366547167301178, 0.6401503086090088, -0.47160932421684265, 0.24405452609062195, 0.5286338329315186, -0.20734348893165588, 0.12130879610776901, 0.3026577830314636, -1.1579859256744385, 0.35631030797958374, 0.6018573045730591, 0.6897159218788147, -0.03902542218565941, -0.3254844546318054, -0.7683560252189636, 0.3574404716491699, -0.5012643933296204, 0.95816570520401, -0.6504504680633545, -0.3506883978843689, -0.08766555786132812, 0.48038652539253235, -0.43125903606414795, -0.38277941942214966, 0.5610201358795166, -0.3034566342830658, 0.1661081165075302, -0.021732114255428314, -0.6240170001983643, -0.1385679543018341, -0.02517755888402462, -0.3811761140823364, 0.6906083822250366, 0.15208514034748077, -0.3508792221546173, 0.3962996304035187, -0.8152798414230347, -0.7801971435546875, 0.1859923154115677, -0.19149059057235718, -0.19224797189235687, 0.3155559003353119, 0.2187221199274063, 0.5666595697402954, -0.3067670464515686, -0.1031399741768837, -0.05173986777663231, -0.5542781949043274, -0.034628190100193024, -0.21908451616764069, 0.6494315266609192, -0.16826468706130981, -0.5572168231010437, 0.06105777248740196, -0.6870843172073364, 0.16680896282196045, 0.12995274364948273, -0.20283062756061554, -0.3736284375190735, -0.02374580316245556, -0.4402979910373688, -0.21110594272613525, 0.2646539509296417, -0.64023357629776, 0.376382052898407, -0.5685691237449646, 0.24825412034988403, 0.6223970651626587, 0.33811095356941223, 0.31725671887397766, -0.2982015311717987, 0.6386467814445496, -0.04253452271223068, 0.10827429592609406, -0.4145865738391876, -0.5275152921676636, -0.8977276682853699, -0.18949636816978455, 0.4418455958366394, 0.5855433344841003, -0.9446024298667908, 0.39220234751701355, -0.39547601342201233, -0.34042832255363464, -0.6902928352355957, 0.32639095187187195, 0.6268857717514038, 0.6976827383041382, 0.43488991260528564, -0.27614665031433105, -0.4976537525653839, -0.7889360785484314, -0.2840975224971771, 0.3171096742153168, -0.15309105813503265, 0.20493055880069733, 0.31120654940605164, 0.12057903409004211, 0.621465265750885, -0.5818778872489929, -0.5072175860404968, 0.008337482810020447, 0.3194449841976166, 0.05686403438448906, 0.5047035813331604, 0.6721031069755554, -0.45878154039382935, -0.5825691223144531, 0.28605756163597107, -0.43524861335754395, 0.00478755310177803, -0.2833678126335144, -0.28291645646095276, 0.26496151089668274, 0.17219635844230652, -0.3371143043041229, 0.2659696936607361, 0.6334338784217834, -0.11874736845493317, 0.37252330780029297, -0.3708912134170532, 0.3458267152309418, -1.1655735969543457, 0.006838349159806967, 0.049918998032808304, -0.3386766016483307, -0.7477803230285645, -0.12292604893445969, 0.05264126509428024, -0.23422913253307343, -0.35306957364082336, 0.4950121343135834, -0.36591532826423645, -0.03895173594355583, -0.5337933301925659, 0.04542750492691994, 0.11759885400533676, 0.8338043093681335, 0.12012200802564621, 1.0092079639434814, 0.7554178237915039, -0.8300603032112122, 0.07160025835037231, 0.2850155532360077, -0.5141895413398743, 0.25687381625175476, -0.7595049142837524, 0.37284737825393677, -0.0369303859770298, 0.030866678804159164, -0.7464381456375122, -0.32530477643013, 0.289619505405426, -0.4822143614292145, 0.5296486020088196, -0.45954158902168274, -0.29801613092422485, 0.017065003514289856, -0.13051769137382507, 0.07334683835506439, 0.5558556914329529, -0.400892436504364, -0.06351962685585022, 0.2882445454597473, -0.11929351091384888, -0.5642880201339722, -0.489541620016098, 0.0010446623200550675, 0.13546127080917358, -0.007840186357498169, 0.5672242641448975, -0.18331921100616455, 0.4203442931175232, 0.06439097225666046, -0.19664889574050903, -0.2250254601240158, 0.241267591714859, 0.3561517000198364, 0.20101483166217804, -0.2364322692155838, 0.07305176556110382, 0.5934727191925049, 0.004433836322277784, -0.16101869940757751, -0.4775928258895874, 0.37494587898254395, 0.21013034880161285, -0.015551898628473282, -0.4539811909198761, -0.0015793116763234138, 0.32954809069633484, -0.3950417637825012, 0.7077821493148804, 0.44920796155929565, -0.3024154007434845, -0.7319632172584534, -0.043233804404735565, -0.21002255380153656, -0.46427857875823975, 0.32893797755241394, -0.44960349798202515, -0.7193514108657837, -0.10203016549348831, -0.01707148551940918, 0.5422256588935852, 0.17099058628082275, 0.6540291905403137, 0.06188679859042168, 0.8820605874061584, 0.7339646220207214, 0.16690276563167572, 0.5600587725639343, -0.319527804851532, 0.2766827344894409, -0.698418378829956, -0.07860027253627777, -0.48007145524024963, -0.3584248125553131, -0.6001691222190857, -0.47947797179222107, 0.24822841584682465, 0.13450345396995544, 0.10334482043981552, 0.6919606328010559, -0.5860450863838196, 0.6332647800445557, 0.5714635848999023, 0.18051813542842865, 0.11624818295240402, -0.015138532966375351, 0.4137778878211975, 0.13431712985038757, -0.8187419772148132, -0.4495044946670532, 1.428341031074524, -0.1814180463552475, 0.48165231943130493, -0.19614434242248535, 0.7394044399261475, 0.36715802550315857, 0.2315467894077301, -0.8854825496673584, 0.40612998604774475, -0.5348684787750244, -0.6802255511283875, -0.2895778715610504, -0.3929932415485382, -1.0397672653198242, -0.12688426673412323, -0.21913966536521912, -0.6518747210502625, 0.22301085293293, 0.44608375430107117, -0.35599446296691895, 0.1459726244211197, -0.8469761610031128, 1.0291156768798828, -0.3088025748729706, -0.4214262366294861, -0.12164200097322464, -0.22327058017253876, 0.43200138211250305, -0.15339809656143188, -0.254503458738327, -0.2212364375591278, -0.06857559084892273, 0.6296210885047913, 0.0643354281783104, 1.0780850648880005, -0.28881144523620605, -0.238824263215065, 0.22809383273124695, 0.17880533635616302, 0.3320995271205902, 0.14766836166381836, -0.22772713005542755, 0.28925323486328125, 0.18643011152744293, -0.5838770866394043, -0.8832111358642578, 1.0224037170410156, -0.7748716473579407, -0.7023141384124756, -0.019820040091872215, -0.8033412098884583, -0.5024386644363403, 0.24225379526615143, 0.500151515007019, 0.5179080963134766, -0.07156728208065033, 0.28610682487487793, 0.4916188418865204, 0.00014324219955597073, 0.1894993633031845, 0.6959623098373413, 0.4251222312450409, -0.2138468325138092, 1.1303045749664307, 0.03833552077412605, 0.04927463084459305, 0.6739901900291443, -0.18767033517360687, -0.10651565343141556, -0.5149187445640564, -0.7970998883247375, 0.01056861411780119, -0.3775833547115326, -0.40932339429855347, -0.42228221893310547, -0.03713316097855568, -0.43985748291015625, -0.1532004028558731, -0.40187931060791016, -0.39429327845573425, -0.4357081651687622, 0.053228773176670074, 0.4439197778701782, 0.4218652844429016, 0.27867019176483154, 0.2681150734424591, -0.6395183205604553, 0.3138977587223053, 0.10276305675506592, 0.2712308466434479, -0.3361724615097046, -0.7146930694580078, -0.44148197770118713, 0.37923187017440796, -0.36662569642066956, -0.7970336675643921, 0.309937447309494, 0.7338406443595886, 0.3526874780654907, 0.2132693976163864, 0.29758599400520325, 0.7102607488632202, -0.9190718531608582, 0.6149140000343323, -0.03582938387989998, -0.8986943364143372, 0.7370492815971375, -0.37013837695121765, 0.32384946942329407, 0.6914733648300171, 0.8140344023704529, -0.12520833313465118, -0.3439979553222656, -0.30711448192596436, -0.3084581792354584, 0.9139530658721924, 0.13375988602638245, 0.46718883514404297, -0.11358977854251862, 0.6294931769371033, 0.5611287951469421, 0.34038880467414856, -0.49705490469932556, -0.07299109548330307, -0.5117471814155579, -0.42225268483161926, -0.4787191152572632, 0.16937460005283356, -0.21370765566825867, -0.20643097162246704, 0.9037066698074341, -0.47360795736312866, 0.32214438915252686, -0.0572706013917923, -0.20556442439556122, -0.32513946294784546, 0.28390249609947205, 0.6800136566162109, 0.5484413504600525, -0.20274478197097778, -0.08579898625612259, -0.0003663991519715637, -0.18996337056159973, 0.08331531286239624, -0.01885518804192543, -0.18297412991523743, 0.05776801332831383, 0.34312325716018677, 1.2668285369873047, 0.6227105259895325, -0.7520796656608582, 0.37368476390838623, -0.04799254611134529, -0.5245638489723206, -0.003208411391824484, 0.9595304727554321, -0.2825959026813507, -0.05855700746178627, -0.036593418568372726, 0.04644189774990082, 0.08158519864082336, -0.5540255904197693, 0.2068747729063034, 0.3470659852027893, -0.3025524616241455, -0.7157251238822937, 0.6563938856124878, 0.18524137139320374, -0.44091418385505676, 0.19263337552547455, -0.24062620103359222, -0.009515210054814816, 0.5173599720001221, 0.9559264183044434, 0.8204098343849182, -0.30509668588638306, 0.5436030626296997, 0.3922215402126312, 0.19970138370990753, 0.20980562269687653, 0.18708893656730652, -0.438959538936615, -0.5952942967414856, -0.43313977122306824, -0.6962515711784363, -0.3036110997200012, 0.4066566824913025, -0.7838276624679565, 0.270938903093338, -0.6764492392539978, 0.017419563606381416, 0.12347414344549179, 0.05272287502884865, -0.7552375197410583, 0.29502078890800476, -0.14670336246490479, 0.5164369940757751, -0.8957483172416687, 1.0729904174804688, 0.9910615086555481, -0.2226295918226242, -0.3106963336467743, 0.23567844927310944, -0.48418667912483215, -0.8420320749282837, 0.2971835434436798, 0.02025480940937996, -0.08970765769481659, 0.4183517396450043, -0.29968351125717163, -0.5445829033851624, 0.9411982297897339, 0.7069140076637268, -0.7170835733413696, -0.0029787691310048103, 0.09368040412664413, 0.6570677757263184, -0.288771390914917, -0.13417011499404907, 0.4458514451980591, 0.11157997697591782, -0.1811780035495758, -0.5476927161216736, -0.04448376223444939, -0.07197057455778122, -0.11176585406064987, 0.44478839635849, -0.51384037733078, 0.628201961517334, -0.06066613271832466, -0.2893966734409332, -0.025049831718206406, 0.47887539863586426, -0.10131014883518219, 0.17846770584583282, 0.34087252616882324, 0.3767560124397278, 0.6007696986198425, 0.05649936944246292, 1.0358422994613647, -0.6837322115898132, 0.1852419227361679, 1.4078096151351929, -0.31360840797424316, 0.7348126769065857, 0.027897117659449577, 0.28650856018066406, 0.6856252551078796, 0.3869608938694, -0.041715700179338455, 0.698315441608429, -0.1431979537010193, -0.3726782500743866, -0.3285108208656311, -0.22623690962791443, -0.025660976767539978, 0.6566752195358276, 0.35613125562667847, -0.22924910485744476, -0.3600795567035675, 0.08441581577062607, -0.12474676221609116, 0.11461891233921051, -0.2989996075630188, 0.7108448147773743, -0.11106657981872559, -0.8786829113960266, 1.0180734395980835, 0.2313721776008606, 0.31252312660217285, -0.7315191030502319, -0.1872873455286026, -0.1860969364643097, 0.16658222675323486, -0.062112465500831604, -0.48962703347206116, 0.10568133741617203, 0.29115384817123413, -0.22750802338123322, -0.14510446786880493, 0.6142523884773254, -0.5261107087135315, -0.5544842481613159, -0.020742317661643028, 0.13933448493480682, 0.09783459454774857, 0.07004666328430176, -0.7894116044044495, -0.16919870674610138, 0.1584385335445404, -0.09972545504570007, 0.4603000581264496, 0.4552553594112396, -0.08957105129957199, 0.2846916913986206, 0.6683860421180725, 0.1281377077102661, 0.2176329344511032, -0.049742694944143295, 0.5621322393417358, -0.4332527816295624, -0.27796828746795654, -0.3888484239578247, 0.3277150094509125, 0.11274227499961853, -0.5030898451805115, 0.8224232196807861, 0.4828639030456543, 1.2150294780731201, -0.4988713264465332, 0.867214024066925, 0.04611166939139366, 0.1505669355392456, -0.7166301012039185, 0.48249107599258423, -0.7365109324455261, -0.21406623721122742, 0.19338640570640564, -0.8373602628707886, -0.05661647021770477, 0.35881584882736206, -0.5200037956237793, -0.012864552438259125, 0.4882551431655884, 0.9601740837097168, -0.38226500153541565, -0.15147264301776886, 0.579138457775116, 0.09835700690746307, 0.11925365030765533, 0.7501319646835327, 0.18021324276924133, -0.6069642901420593, 0.29490917921066284, -0.5102943778038025, -0.31302618980407715, -0.146324023604393, -0.7221704721450806, -1.1396689414978027, -0.7436602115631104, -0.46893033385276794, 0.2798381447792053, 0.49918627738952637, 0.6306335926055908, 0.8514113426208496, -1.0075194835662842, -0.18374641239643097, -0.36811819672584534, -0.16719414293766022, -0.2579492926597595, -0.24085038900375366, 0.11510111391544342, -0.8497709035873413, -1.1715582609176636, 0.8809643983840942, 0.3551766574382782, -0.07405341416597366, 0.17569230496883392, 0.1497228741645813, -0.016044961288571358, 0.3232310712337494, 0.5252830386161804, 0.6196887493133545, -0.41224855184555054, -0.31702783703804016, -0.07792405784130096, 0.25980764627456665, 0.022902220487594604, 0.9106390476226807, -0.6909145712852478, 0.5979949831962585, 0.1785106211900711, 0.8467230796813965, 0.47499653697013855, -0.036633871495723724, 0.569749116897583, -1.0697005987167358, 0.30346134305000305, 0.10784068703651428, 0.058170136064291, 0.21806201338768005, -0.5783640742301941, 0.2843773663043976, 0.0015683500096201897, -0.44891244173049927, -0.7778334617614746, 0.1800873577594757, -0.7700564861297607, -0.3355540335178375, 0.8420995473861694, -0.24071073532104492, -0.5253658294677734, 0.049940597265958786, -0.10534796118736267, 0.4817645847797394, -0.22326868772506714, 1.0753605365753174, 0.2515174448490143, -0.14162443578243256, -0.1146019995212555, -0.7695826292037964, 0.6135240793228149, 0.49521830677986145, -1.0358405113220215, 0.1402561217546463, 0.34896084666252136, 0.45851054787635803, -0.17777614295482635, 0.3359675705432892, 0.20324867963790894, 0.4764600396156311, -0.1317034661769867, 0.24627628922462463, -0.3540782034397125, -0.7325321435928345, -0.19702517986297607, -0.16256164014339447, 0.005580947268754244, -0.6437016725540161 ]
http://arxiv.org/abs/2402.18312v2
http://arxiv.org/pdf/2402.18312v2
How to think step-by-step: A mechanistic understanding of chain-of-thought reasoning
2024-02-28T13:14:20
2024-05-06T09:16:15
Subhabrata Dutta, Joykirat Singh, Soumen Chakrabarti, Tanmoy Chakraborty
cs.CL
cs.CL, cs.LG
Despite superior reasoning prowess demonstrated by Large Language Models (LLMs) with Chain-of-Thought (CoT) prompting, a lack of understanding prevails around the internal mechanisms of the models that facilitate CoT generation. This work investigates the neural sub-structures within LLMs that manifest CoT reasoning from a mechanistic point of view. From an analysis of Llama-2 7B applied to multistep reasoning over fictional ontologies, we demonstrate that LLMs deploy multiple parallel pathways of answer generation for step-by-step reasoning. These parallel pathways provide sequential answers from the input question context as well as the generated CoT. We observe a functional rift in the middle layers of the LLM. Token representations in the initial half remain strongly biased towards the pretraining prior, with the in-context prior taking over in the later half. This internal phase shift manifests in different functional components: attention heads that write the answer token appear in the later half, attention heads that move information along ontological relationships appear in the initial half, and so on. To the best of our knowledge, this is the first attempt towards mechanistic investigation of CoT reasoning in LLMs.
[ -0.3710532784461975, -0.9320424795150757, 0.9868859052658081, -0.030701996758580208, -0.13588786125183105, 0.38121265172958374, 0.20129530131816864, -0.19437961280345917, 0.0679781436920166, 0.5762534737586975, -1.0895380973815918, -0.22036397457122803, -0.327602356672287, 0.14099808037281036, -0.2785101532936096, 0.9824069142341614, -0.21705669164657593, 0.024160493165254593, -0.13928359746932983, 0.08126639574766159, -0.36618685722351074, -0.6940338015556335, -0.48267480731010437, -0.6812984347343445, 0.7210354804992676, 0.3344216048717499, 0.5299023985862732, 0.3878224194049835, 0.27374267578125, 0.23673659563064575, -0.25853267312049866, 0.038558658212423325, -0.3825112581253052, 0.23573943972587585, -0.4874998927116394, -0.9882312417030334, -0.39955195784568787, -0.24560144543647766, 0.3793487250804901, 0.6716305017471313, -0.08575253188610077, 0.34140318632125854, 0.04507288709282875, 0.7263606190681458, -0.5661423206329346, -0.003002856858074665, -0.7857675552368164, 0.12360972166061401, -0.08661289513111115, -0.32839494943618774, -0.3884468376636505, 0.16487208008766174, 0.10395562648773193, -0.34830424189567566, 0.17775411903858185, 0.1571062058210373, 0.10653401911258698, 0.28809040784835815, -0.34953585267066956, -0.5716474652290344, -0.46643149852752686, 0.5211833715438843, -0.48993581533432007, 0.31613826751708984, 0.2273949533700943, 0.046992525458335876, -0.4764024019241333, -0.6200698018074036, -0.796349287033081, -0.20511408150196075, -0.00014812700101174414, -0.15195420384407043, 0.31512248516082764, 0.06024074926972389, 0.37418273091316223, 0.19218625128269196, -0.4964873194694519, -0.14203962683677673, -0.4217849373817444, -0.13152842223644257, 0.1717221587896347, 0.26873353123664856, 0.16283424198627472, -0.20466458797454834, -0.6469565033912659, -0.09189211577177048, -0.8330447673797607, 0.12286942452192307, 0.09299179911613464, 0.2699165344238281, -0.01522467564791441, 0.5545534491539001, -0.04203212261199951, 0.7535911798477173, 0.13361111283302307, -0.32605329155921936, 0.11919897794723511, -0.6443212628364563, -0.3817535936832428, 0.2949684262275696, 0.5971261858940125, -0.1197640523314476, 0.35372987389564514, -0.06255201995372772, -0.1182275265455246, 0.022580429911613464, 0.7285448312759399, -0.22000189125537872, 0.14045734703540802, 0.44323503971099854, -0.35217660665512085, -0.3514529764652252, -0.314123272895813, -0.44177675247192383, -0.37720975279808044, -0.4092698395252228, 0.2859461307525635, -0.2655121982097626, -0.2764580547809601, 0.18839651346206665, 0.17847231030464172, 0.3429011106491089, 0.33788013458251953, -0.74947589635849, 0.2839414179325104, 0.7899289131164551, 0.6596088409423828, -0.008989819325506687, -0.5825353264808655, -0.07322166860103607, 0.22046655416488647, -0.4925425052642822, 0.8751471042633057, -0.4841699004173279, -0.07267967611551285, -0.004486212506890297, -0.08894232660531998, -0.21134638786315918, -0.3544507920742035, 0.1965322494506836, -0.642622172832489, -0.15707927942276, -0.7614659070968628, -0.1939132660627365, -0.25192365050315857, 0.5715528726577759, -0.3693317174911499, 0.9251352548599243, -0.29161521792411804, -0.8919117450714111, 0.28426387906074524, -0.5090575814247131, -0.35912129282951355, -0.357364296913147, -0.5332421660423279, 0.363821804523468, 0.1492328643798828, 0.0422506257891655, 0.36900588870048523, -0.6759204864501953, 0.059122391045093536, -0.16435442864894867, 0.032290272414684296, 0.5392562747001648, -0.33975645899772644, 0.6800095438957214, 0.05800889804959297, -0.5250027775764465, 0.13488967716693878, -0.7216887474060059, -0.19766107201576233, 0.0014482205733656883, -0.14768289029598236, -0.30524319410324097, 0.005172655917704105, -0.6295709013938904, 0.7863231897354126, 0.16291210055351257, -0.3513835370540619, 0.3491612374782562, -0.09579488635063171, 0.3864564895629883, 0.8933852314949036, 0.04778607562184334, 0.5151839852333069, -0.22911886870861053, 0.4513997435569763, 0.39831534028053284, 0.24106621742248535, -0.2601016163825989, -0.4459603726863861, -1.070801019668579, 0.3286448121070862, -0.10990149527788162, 0.519941508769989, -0.9491589665412903, 0.11121377348899841, 0.11469177901744843, -0.25279897451400757, -0.5267001986503601, 0.1826990842819214, 0.6139129996299744, 0.5945078730583191, 0.5206508040428162, -0.3174412250518799, -0.13038814067840576, -0.6965309977531433, -0.006852485705167055, -0.38012877106666565, 0.1544451117515564, 0.016690755262970924, 0.5823394060134888, -0.05971935763955116, 0.48358801007270813, -0.4151298403739929, -0.07666908949613571, -0.28141388297080994, 0.2313598245382309, 0.06964392960071564, 0.3037734925746918, 0.07429073750972748, -0.40312305092811584, 0.24799156188964844, -0.06808929145336151, -0.922067403793335, -0.010064750909805298, -0.6113569140434265, -0.6045700907707214, 0.06825493276119232, 0.8042604327201843, -0.7586866021156311, 0.45068594813346863, 0.08339960873126984, -0.48181387782096863, 0.580796480178833, -0.2358948439359665, 0.04939407855272293, -1.0550907850265503, -0.20407523214817047, -0.45104971528053284, -0.026163173839449883, -0.4796617329120636, 0.2304949313402176, -0.21904751658439636, 0.4720867872238159, -0.39943575859069824, 0.2262909710407257, -0.568513810634613, -0.3748187720775604, -0.3517063856124878, 0.2987843453884125, -0.07656741142272949, 0.8128705024719238, -0.26839175820350647, 0.6507888436317444, 0.5375300049781799, -0.7442622780799866, 0.0963105633854866, 0.35911908745765686, -0.24264483153820038, 0.31394410133361816, -0.43321603536605835, 0.522127091884613, -0.19491003453731537, 0.44323477149009705, -1.0905665159225464, 0.12516038119792938, 0.3668057918548584, -0.17595751583576202, 0.21891838312149048, 0.1364724040031433, -0.6956238150596619, -0.3803022503852844, -0.1525551825761795, 0.70899498462677, 0.25366586446762085, -0.3602038323879242, 0.7197431325912476, 0.302094966173172, -0.11940852552652359, -0.6626659035682678, -0.8699965476989746, -0.16147391498088837, 0.14020419120788574, -0.5151078701019287, 0.013021843507885933, 0.11087017506361008, -0.4085686504840851, -0.2802621126174927, -0.47040238976478577, 0.04850650206208229, -0.21108020842075348, 0.05377817153930664, 0.15077067911624908, -0.23685573041439056, 0.22917982935905457, 0.3117324411869049, -0.061325717717409134, 0.4702061712741852, -0.5366916060447693, 0.791458785533905, -0.019885461777448654, -0.4422302544116974, -0.18561041355133057, 0.15581248700618744, 0.8238579034805298, -0.06291420757770538, 0.6960496306419373, 0.06915200501680374, -0.12259621918201447, -0.4406985342502594, -0.393490195274353, -0.13584919273853302, -0.4126804769039154, 0.11901555955410004, -0.734270453453064, -0.7071468830108643, 0.7260095477104187, -0.02349896915256977, 0.019030451774597168, 0.3198952376842499, 0.8973402976989746, -0.1039511114358902, 0.5379648804664612, 0.2924165725708008, 0.3695303797721863, 0.06578546017408371, -0.4473811686038971, 0.23247385025024414, -1.119234561920166, -0.6724855899810791, -0.19709812104701996, -0.3650898039340973, -0.5131856799125671, -0.9989144206047058, 0.3849278390407562, 0.15157365798950195, -0.4058995842933655, 0.262652724981308, -0.21950678527355194, 0.4025106430053711, 0.3241017460823059, 0.19072173535823822, 0.24453485012054443, -0.25782185792922974, -0.8495847582817078, 0.4875444173812866, -0.8259109258651733, -0.5708072781562805, 0.9684132933616638, 0.3303319215774536, 1.004513144493103, -0.09041623026132584, 0.5161986947059631, 0.06687801331281662, 0.02633756399154663, -0.5493026375770569, 0.7742801904678345, 0.1298656016588211, -0.6999379992485046, -0.25033608078956604, 0.08108865469694138, -0.6966900825500488, 0.41401368379592896, -0.12072403728961945, -0.7272366881370544, 0.16552330553531647, 0.1333431750535965, -0.30587613582611084, 0.4039418399333954, -0.3551207482814789, 0.5125020742416382, -0.39925387501716614, -0.5765863060951233, -0.5843267440795898, -1.0377354621887207, 0.4766649901866913, -0.12930640578269958, 0.23345693945884705, 0.07608712464570999, -0.02777469903230667, 0.5326424837112427, -0.5208002924919128, 0.9576011300086975, 0.131173238158226, -0.40213528275489807, 0.6905625462532043, 0.40140631794929504, 0.34968018531799316, -0.1630055159330368, 0.18847213685512543, 0.17944371700286865, -0.2525896728038788, -0.292006254196167, -0.6589116454124451, 0.662250816822052, -0.5121618509292603, -0.8366088271141052, -0.5222821831703186, -0.6642094850540161, -0.3208470642566681, -0.0256517231464386, 0.18472127616405487, 0.39448657631874084, 0.2413794845342636, -0.22371569275856018, 0.6529237031936646, -0.10563605278730392, 0.3480086624622345, 0.10741003602743149, -0.3984866738319397, -0.09141697734594345, 0.3990843892097473, 0.19203916192054749, 0.6106228828430176, 0.5373229384422302, 0.01657760888338089, -0.4990714490413666, -0.3378797769546509, -0.4873489737510681, 0.3277844190597534, -1.069863200187683, 0.06516051292419434, -0.6242705583572388, -0.18149688839912415, -0.10981302708387375, -0.11202292889356613, -0.26639652252197266, -0.5018563270568848, -0.012438666075468063, -0.38611850142478943, 0.00406373105943203, 1.2661230564117432, 0.21056418120861053, 0.005860540550202131, -0.6074019074440002, 0.32683083415031433, 0.26787570118904114, 0.1722385436296463, 0.6917273998260498, -0.4075261950492859, -0.052322808653116226, 0.06485110521316528, -0.5314611792564392, -0.7719020843505859, -0.21324995160102844, -0.3463658392429352, 0.516019880771637, 0.26096829771995544, -0.16807794570922852, 0.7649759650230408, -0.8430245518684387, 0.7854832410812378, 0.28305500745773315, -0.8709855079650879, 0.5088967680931091, -0.14928822219371796, 0.3352266848087311, 0.43275904655456543, 0.5312227010726929, -0.08991531282663345, -0.5438348054885864, -0.5504130721092224, -0.7818844318389893, 0.532137393951416, 0.283460795879364, -0.04555333033204079, -0.1169646754860878, 0.49062225222587585, 0.390165239572525, 0.23351888358592987, -0.7071757316589355, -0.20570506155490875, -0.06273914128541946, 0.22337573766708374, 0.0966985747218132, -0.18235790729522705, -0.08867208659648895, -0.1984662413597107, 0.33528149127960205, -0.1800682246685028, 0.2876286804676056, 0.516259491443634, -0.24351589381694794, -0.09659384191036224, 0.2740288972854614, 0.7576205730438232, 0.9828638434410095, 0.11161001026630402, 0.3750346302986145, 0.18467095494270325, -0.15915749967098236, 0.25185611844062805, -0.5719342231750488, -0.07165249437093735, -0.3520520329475403, 0.6797242164611816, 0.9140615463256836, 0.21476376056671143, -0.3604283332824707, 0.06311086565256119, 0.15283408761024475, -0.08024632185697556, -0.166035458445549, 0.23279140889644623, 0.07335331290960312, 0.6048540472984314, 0.19147005677223206, 0.11292935162782669, 0.2414042204618454, -0.9490809440612793, 0.05756270885467529, 0.2228444218635559, -0.3001086115837097, -0.5803322196006775, 0.682059645652771, 0.007030843757092953, -0.37556320428848267, 0.43473801016807556, 0.03394003584980965, -0.5688346028327942, 0.5083325505256653, 0.6020435094833374, 1.0924091339111328, -0.05471447855234146, 0.22902382910251617, 0.20690038800239563, 0.41772398352622986, 0.017811132594943047, 0.46431928873062134, -0.46134957671165466, -0.7102280855178833, -0.5646716356277466, -0.7867674827575684, -0.30056440830230713, -0.03862246125936508, -0.5267224907875061, 0.15352489054203033, -0.5795901417732239, -0.1616356521844864, -0.03597235679626465, -0.6454804539680481, -0.5786465406417847, 0.36524030566215515, 0.5468207597732544, 0.989004373550415, -0.6818392872810364, 0.7308661937713623, 0.596581220626831, -0.6392304301261902, -0.9014706611633301, 0.6786478757858276, -0.11273784190416336, -1.0199741125106812, 0.5915870666503906, 0.12824231386184692, -0.5054807662963867, -0.18060040473937988, -0.5313844680786133, -0.8578438758850098, 1.1388343572616577, 0.17651355266571045, -0.4815932512283325, -0.3111388385295868, 0.36063575744628906, 0.6075775623321533, -0.5639836192131042, 0.19869427382946014, 0.6267592310905457, 0.04476582631468773, 0.4040258228778839, -0.9494901895523071, 0.3746720552444458, 0.10916221141815186, -0.025783291086554527, 0.28061795234680176, -0.694419801235199, 1.1012401580810547, -0.5018383264541626, 0.15415780246257782, -0.20243225991725922, 0.3007625341415405, 0.5249334573745728, 0.18700218200683594, 0.4949778616428375, 0.48161473870277405, 0.6197766065597534, 0.22005067765712738, 1.193029761314392, -0.2897323966026306, 0.06294886767864227, 1.0489662885665894, -0.2840956747531891, 0.8922566175460815, 0.7860785722732544, -0.1985665112733841, 1.0836037397384644, 0.587572455406189, 0.5925045609474182, 0.6107640862464905, 0.5613892674446106, -0.12428901344537735, -0.31148380041122437, 0.12011856585741043, -0.2085505574941635, 0.4891539514064789, 0.3643939793109894, -0.3340666890144348, -0.11951302736997604, -0.11635364592075348, -0.02553693577647209, -0.38138076663017273, -0.6354408860206604, 0.8887004852294922, 0.3980933129787445, -1.0449297428131104, 0.7264050245285034, -0.5127415060997009, 0.14498697221279144, -0.5457556247711182, -0.09167955070734024, -0.01837029680609703, 0.11488956958055496, -0.06686842441558838, -1.0671838521957397, 0.2793557345867157, -0.021903786808252335, -0.3039727807044983, -0.2753307819366455, 0.630781888961792, -0.2827509939670563, -0.4324920177459717, 0.6656489968299866, 0.6731083989143372, 0.2537209093570709, 0.15901221334934235, -0.7222210168838501, -0.038812898099422455, -0.061399612575769424, -0.4223594665527344, 0.3626525104045868, 0.7493641972541809, -0.41861099004745483, 0.7348526120185852, 0.6779803037643433, -0.1382756531238556, 0.42660051584243774, 0.28572878241539, 0.9998200535774231, -0.8780357837677002, -0.5250895619392395, -1.0444360971450806, 0.6635533571243286, 0.274090051651001, -0.36649274826049805, 0.2099962830543518, 0.08807305991649628, 0.8625521063804626, -0.0696408748626709, 0.7028834223747253, -0.07935193181037903, 0.0709746852517128, -0.9197604060173035, 0.49442237615585327, -0.5336588025093079, 0.3902759253978729, -0.2988686263561249, -0.7518498301506042, 0.04828646779060364, 0.585136890411377, -0.24741411209106445, -0.15023832023143768, 1.3110480308532715, 0.6547171473503113, 0.19841814041137695, 0.07748297601938248, 0.24705053865909576, 0.5368357300758362, 0.08964590728282928, 0.6746364831924438, 0.8579823970794678, -0.20876140892505646, 0.2675788998603821, 0.01204015500843525, -0.19396109879016876, 0.26098477840423584, -0.7469125390052795, -1.00399649143219, -0.6022962331771851, 0.009249494411051273, -0.5356965661048889, -0.09197254478931427, 1.03402841091156, 0.28938886523246765, -0.8016572594642639, -0.4950287342071533, -0.6421137452125549, 0.2618424892425537, 0.06677521020174026, -0.12312563508749008, 0.1655144989490509, -0.7782487273216248, -0.07065768539905548, 0.32989880442619324, 0.5294556617736816, -0.1924433410167694, -0.6201078295707703, 0.18235968053340912, -0.7075693607330322, 0.39817777276039124, 0.7014918923377991, -0.0981392040848732, -1.0980573892593384, -0.12084360420703888, 0.12213192135095596, -0.013959065079689026, 0.10193894058465958, 1.1173923015594482, -0.8296184539794922, 0.47565433382987976, 0.6159405708312988, 0.4648020267486572, 0.4391285479068756, -0.14963340759277344, 0.7180492281913757, -0.43134805560112, 0.17982877790927887, 0.03416932374238968, 0.39637789130210876, 0.16520991921424866, -0.281527042388916, 0.49841630458831787, 0.16311216354370117, -0.5595025420188904, -0.5947821736335754, 0.44366100430488586, -0.9350336790084839, -0.2908846139907837, 1.2252769470214844, 0.014151626266539097, -0.4944634735584259, -0.2136591374874115, -0.2777829170227051, 0.3266292214393616, 0.10617528110742569, 0.7939947247505188, 1.019569754600525, -0.6927800178527832, 0.05373482033610344, -0.34354063868522644, 0.43262186646461487, 0.3736149072647095, -0.7368950247764587, 0.1469050496816635, 0.11450646817684174, 0.11411478370428085, 0.567268967628479, 0.8872069716453552, -0.01887461170554161, 0.1012706458568573, 0.21569469571113586, -0.15129518508911133, 0.35027503967285156, -0.6485142707824707, 0.050451088696718216, 0.11610372364521027, -0.007693683262914419, -0.25456586480140686 ]
http://arxiv.org/abs/2402.18284v2
http://arxiv.org/pdf/2402.18284v2
Is Crowdsourcing Breaking Your Bank? Cost-Effective Fine-Tuning of Pre-trained Language Models with Proximal Policy Optimization
2024-02-28T12:24:07
2024-03-02T23:19:27
Shuo Yang, Gjergji Kasneci
cs.CL
cs.CL, cs.AI
Wide usage of ChatGPT has highlighted the potential of reinforcement learning from human feedback. However, its training pipeline relies on manual ranking, a resource-intensive process. To reduce labor costs, we propose a self-supervised text ranking approach for applying Proximal-Policy-Optimization to fine-tune language models while eliminating the need for human annotators. Our method begins with probabilistic sampling to encourage a language model to generate diverse responses for each input. We then employ TextRank and ISODATA algorithms to rank and cluster these responses based on their semantics. Subsequently, we construct a reward model to learn the rank and optimize our generative policy. Our experimental results, conducted using two language models on three tasks, demonstrate that the models trained by our method considerably outperform baselines regarding BLEU, GLEU, and METEOR scores. Furthermore, our manual evaluation shows that our ranking results exhibit a remarkably high consistency with that of humans. This research significantly reduces training costs of proximal policy-guided models and demonstrates the potential for self-correction of language models.
[ -0.29189443588256836, -0.3708057105541229, 0.33109429478645325, 0.19427739083766937, -0.06808940321207047, 0.12036718428134918, -0.550623893737793, -0.20272739231586456, -0.10696069151163101, 0.831379234790802, -0.5870030522346497, -0.33177119493484497, -0.507661759853363, 0.08002153038978577, -0.020780082792043686, 1.3795335292816162, 0.3798891305923462, -0.17004705965518951, -0.1754124015569687, 0.04799095168709755, 0.03447960689663887, -0.5068935751914978, -0.8979831337928772, -0.1603543609380722, 0.5998955965042114, 0.6479846239089966, 0.9309624433517456, 0.7907540202140808, 0.3976825773715973, 0.45759743452072144, 0.14975523948669434, 0.32793450355529785, -0.6522274017333984, -0.07510940730571747, -0.33828601241111755, -0.35267728567123413, -0.12777872383594513, 0.5150083303451538, 0.3748623728752136, 0.35186755657196045, -0.28365546464920044, 0.198996439576149, 0.3070690631866455, 0.588609516620636, -0.5795261859893799, 0.3040483593940735, -0.6487525105476379, -0.4371798038482666, -0.3111518919467926, -0.20540566742420197, -0.3552195727825165, -0.834022581577301, 0.010101161897182465, -0.657992422580719, 0.3525182902812958, 0.03238486498594284, 0.8791807293891907, 0.521852970123291, 0.12616898119449615, -0.16214677691459656, -0.40649744868278503, 0.9070122838020325, -0.5752242803573608, -0.0007341713644564152, 0.8522208333015442, 0.06835750490427017, -0.03578975051641464, -0.5617228150367737, -0.4396754205226898, -0.6363757252693176, -0.18296636641025543, 0.06108622997999191, -0.16986867785453796, 0.2461603879928589, -0.1468571126461029, 0.11227596551179886, -0.6044432520866394, 0.39495372772216797, -0.3865385353565216, -0.3300769329071045, 0.8090916872024536, -0.17328272759914398, 0.13190336525440216, -0.23714536428451538, -0.03260306268930435, -0.4201565086841583, -0.4353286027908325, 0.09673207253217697, 0.7784340977668762, 0.4889219105243683, 0.20676212012767792, 0.3466145396232605, -0.5077021718025208, 0.5928101539611816, 0.11196500808000565, 0.03804933279752731, 0.07129327952861786, -0.1436404436826706, 0.1079939529299736, -0.16995210945606232, 1.0449069738388062, 0.14532838761806488, 0.5589897632598877, -0.505597710609436, -0.1688743680715561, -0.152921661734581, 0.37823283672332764, -0.7107303142547607, -0.6322477459907532, 0.03193172439932823, -0.3061610460281372, -0.7136127948760986, -0.21964380145072937, -0.5509974956512451, -0.25142624974250793, -0.4754103422164917, 0.48518890142440796, -0.17809262871742249, -0.2559255361557007, -0.11948610097169876, 0.16210044920444489, -0.34194955229759216, 0.17221447825431824, -1.191282033920288, 0.19909895956516266, 0.6519339680671692, 0.7366245985031128, 0.12726379930973053, -0.4172174632549286, -0.593095064163208, -0.15323829650878906, -0.36328181624412537, 0.9795857071876526, -0.6607193350791931, -0.44005340337753296, -0.022957077249884605, -0.11119499057531357, 0.023733871057629585, -0.8327490091323853, 0.3677130341529846, -0.3735117018222809, 0.40352290868759155, 0.028889834880828857, -0.42353564500808716, 0.23270127177238464, 0.11810131371021271, -0.6193630695343018, 1.0717161893844604, 0.13656771183013916, -0.5269479751586914, 0.42139768600463867, -0.68426114320755, -0.22234217822551727, 0.16103899478912354, -0.01275425124913454, -0.5629924535751343, -0.12814508378505707, 0.42008456587791443, 0.3449769914150238, -0.11603984236717224, 0.627449095249176, -0.18104344606399536, -0.17017759382724762, 0.08803264796733856, -0.3737838864326477, 0.4972493052482605, 0.3801429569721222, -0.47068920731544495, 0.2621857821941376, -0.7123544216156006, 0.14252811670303345, -0.13576972484588623, -0.5149757862091064, -0.4496806561946869, 0.1949627846479416, 0.12994171679019928, 0.17792031168937683, 0.27970656752586365, -0.37748247385025024, 0.47258877754211426, -0.5252756476402283, 0.488648384809494, 1.0482820272445679, -0.18573668599128723, 0.6873905658721924, -0.14271333813667297, 0.4522549510002136, -0.5049341917037964, 0.2982669174671173, 0.1135927215218544, -0.1362650990486145, -0.6707431674003601, -0.1937621831893921, 0.5446438193321228, 0.3305662274360657, -0.5058712363243103, 0.3922373056411743, -0.1479274332523346, -0.6855381727218628, -0.9672157168388367, 0.2520231008529663, 0.5064486265182495, 0.406449556350708, 0.4079756438732147, -0.0770493745803833, -0.22749623656272888, -0.887570321559906, -0.5832236409187317, -0.356589138507843, -0.17076590657234192, 0.23893101513385773, 0.17480656504631042, 0.07176879048347473, 1.1226210594177246, -0.4359279274940491, -0.494636207818985, 0.013314568437635899, 0.5971494317054749, 0.06623554974794388, 0.6862328052520752, 0.23165865242481232, -0.5993884801864624, -0.27149203419685364, -0.16631445288658142, -0.2361207753419876, -0.30454108119010925, -0.04525916650891304, -0.017138369381427765, 0.15503846108913422, 0.5231809020042419, -0.2358904480934143, 0.037155427038669586, 0.7182764410972595, -0.23928050696849823, 0.38267603516578674, -0.6089013814926147, 0.10770925134420395, -0.7519716620445251, -0.022658653557300568, 0.10819624364376068, -0.42707788944244385, -0.09209868311882019, -0.025541385635733604, -0.08106967806816101, -0.33844706416130066, -0.005972412880510092, 0.5818473696708679, -0.15774674713611603, 0.30620381236076355, -0.36382997035980225, 0.10764767974615097, -0.2657698094844818, 0.6734716892242432, 0.314334511756897, 1.0470764636993408, 0.143222376704216, -0.5755576491355896, 0.0868130773305893, -0.0056306407786905766, -0.43932104110717773, 0.2735536992549896, -0.7488821148872375, 0.15625931322574615, -0.11689326912164688, 0.0635283961892128, -0.8387855291366577, -0.08445136249065399, 0.1760767251253128, -0.32056668400764465, 0.08579155057668686, -0.18828848004341125, -0.49654144048690796, -0.053866032510995865, -0.04645256698131561, 0.15084847807884216, 0.49236536026000977, -0.647821843624115, -0.04520059749484062, 0.6844314336776733, -0.46324118971824646, -0.4090674817562103, -0.23768697679042816, -0.0057954443618655205, -0.05159277468919754, -0.134611114859581, 0.40626809000968933, 0.15311141312122345, -0.10328252613544464, 0.03696022927761078, 0.08008705824613571, -0.04940994083881378, 0.0482504740357399, 0.06623551994562149, -0.10799658298492432, 0.23629195988178253, 0.37399470806121826, -0.1212395504117012, -0.4854540228843689, -0.136837899684906, -0.526261031627655, 0.48520582914352417, -0.15947842597961426, -0.1550106555223465, -0.3580853343009949, -0.09046028554439545, 0.19196173548698425, -0.6674464344978333, 0.5728916525840759, 0.5709839463233948, -0.0882151648402214, -0.016420764848589897, -0.6795632839202881, -0.23838791251182556, -0.5489431023597717, 0.4851646423339844, -0.11740943789482117, -1.1321310997009277, 0.009717271663248539, -0.395176500082016, 0.13645614683628082, 0.32879382371902466, 0.6203438639640808, -0.20016053318977356, 1.1546120643615723, 0.6575971841812134, -0.5214530825614929, 0.5858067274093628, -0.2466968446969986, 0.07734474539756775, -0.0765819102525711, -0.193894162774086, -0.7978452444076538, -0.1057298481464386, -1.1216866970062256, -0.4483892023563385, 0.3783881962299347, 0.15268366038799286, -0.2744438648223877, 0.33355963230133057, -0.781337559223175, 0.8229267001152039, 0.9286995530128479, 0.16151387989521027, 0.22782613337039948, -0.058723434805870056, 0.20286250114440918, -0.15631873905658722, -0.7003774642944336, -0.5825697183609009, 0.9760141968727112, 0.16986744105815887, 0.7921523451805115, -0.1351781040430069, 1.0282278060913086, 0.47592440247535706, 0.4687023460865021, -0.2674950063228607, 0.35451841354370117, -0.10904638469219208, -0.4778251349925995, -0.9456403851509094, -0.5980039834976196, -1.1253830194473267, 0.2950100898742676, -0.18700049817562103, -0.7708978056907654, 0.08956841379404068, 0.4075373113155365, -0.29991915822029114, 0.06088089197874069, -0.6742826700210571, 1.1328628063201904, -0.1902124583721161, -0.4755862057209015, -0.6897633671760559, -0.30934908986091614, 0.10382287949323654, 0.12902547419071198, 0.4441240131855011, -0.35983556509017944, 0.14675486087799072, 0.6800639033317566, -0.7990142703056335, 0.7766407132148743, -0.2893727421760559, -0.01207346934825182, 0.20806439220905304, 0.019444532692432404, 0.648086667060852, 0.2806965112686157, -0.03159106895327568, 0.029870692640542984, -0.05636321380734444, -0.7035925388336182, -0.4608958959579468, 0.7698310613632202, -0.9990596771240234, -0.5192030668258667, -0.2117137759923935, -0.271996408700943, -0.28753066062927246, 0.01668350212275982, 0.3120344877243042, 0.3041835427284241, -0.2514823377132416, 0.027011267840862274, 0.4918632507324219, -0.14506563544273376, 0.41629111766815186, 0.42216813564300537, -0.017881715670228004, -0.37129709124565125, 1.3374481201171875, 0.13911527395248413, 0.07605978846549988, 0.41039904952049255, 0.4097801744937897, -0.5399067997932434, -0.2349443882703781, -0.19841399788856506, 0.11697813123464584, -0.12321696430444717, -0.1495833396911621, -0.49984806776046753, 0.0495685450732708, -0.5684729218482971, -0.016178438439965248, -0.6310540437698364, -0.35990822315216064, -0.11052467674016953, -0.07534649968147278, 0.3713843822479248, 0.39396870136260986, -0.3985031545162201, 0.45609408617019653, -0.6350703239440918, 0.08202221989631653, 0.6159749031066895, 0.5142480134963989, -0.18290138244628906, -0.333517849445343, -0.4108291268348694, 0.02851807326078415, -0.23419445753097534, -0.5331212282180786, 0.5046260356903076, 0.2312885820865631, 0.47490206360816956, 0.3907916843891144, 0.20728915929794312, 0.7097580432891846, -0.49715983867645264, 0.383971244096756, -0.04584866762161255, -0.9111379981040955, 0.5981779098510742, -0.41639894247055054, 0.3049911558628082, 0.9286380410194397, 0.2844945192337036, -0.5185788869857788, -0.6941949725151062, -0.8055604100227356, -0.7716401219367981, 0.8428426384925842, 0.26610177755355835, 0.30561748147010803, -0.10639110207557678, 0.19084469974040985, -0.0828716903924942, 0.16014118492603302, -0.7061032056808472, 0.06083407625555992, -0.24293185770511627, -0.16042867302894592, -0.3466724753379822, -0.20951542258262634, 0.006346309091895819, -0.24676217138767242, 0.7494514584541321, -0.1818104386329651, -0.30817610025405884, 0.06750717014074326, -0.14181733131408691, 0.02897603064775467, 0.23737281560897827, 0.2884901762008667, 0.5053505897521973, -0.1294243335723877, -0.009963796474039555, -0.04512021690607071, -0.16101324558258057, 0.1429297775030136, 0.2710989713668823, -0.21773786842823029, 0.02509767934679985, 0.05280656740069389, 0.5924128293991089, 0.5060132741928101, -0.7784983515739441, 0.38952529430389404, 0.06223636865615845, -0.23707342147827148, -0.14544780552387238, 0.1789560765028, 0.08571214228868484, 0.3150129020214081, 0.15303047001361847, 0.02677883207798004, 0.270576536655426, -0.11619201302528381, 0.15304745733737946, 0.39380308985710144, -0.33574604988098145, -0.019898632541298866, 0.7208303213119507, 0.4981828033924103, -0.3901609480381012, 0.7067661285400391, -0.27729079127311707, -0.24940161406993866, 0.45119449496269226, 0.22602517902851105, 0.6067367196083069, -0.3746829628944397, 0.7623187303543091, 0.4464874565601349, 0.4609450101852417, -0.428153932094574, -0.19601580500602722, -0.2663327753543854, -0.5483526587486267, -0.5576449632644653, -0.6085066199302673, -0.5891550183296204, 0.1058267280459404, -0.5272696018218994, 0.15048055350780487, -0.3587963879108429, -0.17709773778915405, -0.09707240015268326, 0.1769670695066452, -0.662658154964447, 0.300193190574646, -0.04128674790263176, 0.43973252177238464, -0.7289882302284241, 0.778312623500824, 0.42217621207237244, -0.5987951159477234, -0.8039243221282959, 0.021411465480923653, -0.35346415638923645, -0.7322285771369934, 0.6311766505241394, 0.051554542034864426, -0.09091246873140335, 0.506851315498352, -0.8014102578163147, -0.8821259140968323, 0.5288795828819275, 0.5085107088088989, -0.7279438376426697, -0.10064464807510376, 0.03565286472439766, 0.4923582673072815, 0.13924260437488556, 0.5045058131217957, 0.5352074503898621, 0.5041586756706238, -0.4570079445838928, -1.0243782997131348, -0.2692157030105591, -0.0015424799639731646, 0.061569321900606155, 0.21573017537593842, -0.8449904322624207, 0.5030650496482849, -0.23280321061611176, -0.07430419325828552, -0.07575632631778717, 0.710407018661499, 0.27601733803749084, 0.020025357604026794, 0.5359495878219604, 0.41293802857398987, 0.8743072152137756, -0.0381675623357296, 1.0578117370605469, -0.37292811274528503, 0.5785323977470398, 0.9350923299789429, 0.10097682476043701, 0.7653017044067383, 0.31593582034111023, -0.35578441619873047, 0.4826892614364624, 0.8275624513626099, -0.0524071641266346, 0.7938947081565857, 0.5237517356872559, -0.097479447722435, -0.6158314347267151, -0.1646813154220581, -0.09578887373209, 0.5331093668937683, -0.0889206975698471, -0.12972240149974823, -0.4520328640937805, -0.012638121843338013, 0.2540014982223511, 0.5440409183502197, -0.2780306935310364, 0.8722594380378723, -0.18003582954406738, -0.8691731691360474, 0.4856734871864319, 0.2135036140680313, 0.7313117384910583, -0.5105358958244324, 0.06757203489542007, -0.3338560461997986, 0.2348863184452057, -0.02223959006369114, -0.2588101029396057, 0.08282189816236496, 0.16479256749153137, -0.0658213421702385, -0.542391300201416, 0.4795151948928833, -0.7090344429016113, -0.6030113697052002, -0.07092953473329544, 0.4606624245643616, 0.2873147130012512, -0.5129068493843079, -0.7730365991592407, -0.43445831537246704, -0.24827702343463898, -0.41555389761924744, 0.587479829788208, 0.329071968793869, -0.2421753853559494, 0.7581568956375122, 0.8524714708328247, 0.1211673766374588, -0.31060510873794556, 0.22191105782985687, 0.7934718132019043, -0.4090731143951416, -0.7968710064888, -0.8969147801399231, 0.32291582226753235, -0.27140012383461, -0.4629583954811096, 0.3614751696586609, 0.6151463985443115, 1.221144676208496, -0.004099883604794741, 0.9081439971923828, 0.24155403673648834, 0.5955208539962769, -0.41964709758758545, 0.9025324583053589, -0.40659090876579285, -0.050067950040102005, -0.28605616092681885, -0.7234875559806824, -0.06658273190259933, 0.7400668263435364, -0.5872324109077454, -0.07873371988534927, 0.167022705078125, 1.0044350624084473, 0.25002995133399963, -0.26263970136642456, 0.12530435621738434, -0.21071243286132812, 0.1763986349105835, 0.12991729378700256, 0.705364465713501, 0.04161678999662399, 0.8802023530006409, -0.3409125804901123, -0.3804274797439575, -0.18056800961494446, -0.7396809458732605, -0.7054175138473511, -0.5507149696350098, -0.4206230342388153, -0.15419167280197144, 0.4049448072910309, 1.0530726909637451, 1.0481116771697998, -0.7833921313285828, -0.3597424626350403, -0.21013624966144562, 0.12278769910335541, -0.4106358587741852, -0.2821710705757141, 0.45561760663986206, -0.9884132146835327, -1.0100383758544922, 0.28101927042007446, 0.21389392018318176, -0.40245333313941956, -0.36274173855781555, -0.13684222102165222, 0.050865620374679565, -0.1926877647638321, 0.2788684070110321, 0.3839980959892273, -0.6350529193878174, -0.12067034095525742, -0.07627636194229126, -0.3590499460697174, -0.18978120386600494, 0.9959164261817932, -0.98882657289505, 0.4687310457229614, 0.29890185594558716, 0.6258872151374817, 0.4120580852031708, 0.33047646284103394, 0.6143459677696228, -0.7535890340805054, 0.17302976548671722, 0.34796142578125, -0.17109115421772003, 0.20102179050445557, -0.29441404342651367, 0.5480096340179443, 0.08243994414806366, -0.8966349959373474, -0.6736392974853516, 0.04593244194984436, -0.3774082660675049, -0.40211790800094604, 0.9959682822227478, -0.027029428631067276, -0.01251436397433281, -0.04780382663011551, -0.4268311560153961, 0.2104051262140274, -0.5376485586166382, 1.2119154930114746, 0.5039064288139343, -0.09099734574556351, -0.3697259724140167, -0.32285863161087036, 0.9602829813957214, 0.4361611306667328, -0.7647925615310669, 0.2148239016532898, 0.3519057035446167, 0.18535339832305908, -0.061769261956214905, 0.9794331192970276, 0.01747601293027401, -0.008870181627571583, -0.21051213145256042, 0.4544408321380615, -0.12678083777427673, -0.14572778344154358, -0.15880227088928223, 0.0733456164598465, 0.40012162923812866, -0.3699949383735657 ]
http://arxiv.org/abs/2402.18281v2
http://arxiv.org/pdf/2402.18281v2
Towards Better Understanding of Contrastive Sentence Representation Learning: A Unified Paradigm for Gradient
2024-02-28T12:17:40
2024-06-05T14:07:50
Mingxin Li, Richong Zhang, Zhijie Nie
cs.CL
cs.CL
Sentence Representation Learning (SRL) is a crucial task in Natural Language Processing (NLP), where contrastive Self-Supervised Learning (SSL) is currently a mainstream approach. However, the reasons behind its remarkable effectiveness remain unclear. Specifically, many studies have investigated the similarities between contrastive and non-contrastive SSL from a theoretical perspective. Such similarities can be verified in classification tasks, where the two approaches achieve comparable performance. But in ranking tasks (i.e., Semantic Textual Similarity (STS) in SRL), contrastive SSL significantly outperforms non-contrastive SSL. Therefore, two questions arise: First, *what commonalities enable various contrastive losses to achieve superior performance in STS?* Second, *how can we make non-contrastive SSL also effective in STS?* To address these questions, we start from the perspective of gradients and discover that four effective contrastive losses can be integrated into a unified paradigm, which depends on three components: the **Gradient Dissipation**, the **Weight**, and the **Ratio**. Then, we conduct an in-depth analysis of the roles these components play in optimization and experimentally demonstrate their significance for model performance. Finally, by adjusting these components, we enable non-contrastive SSL to achieve outstanding performance in STS.
[ -0.3477559983730316, -0.3709413409233093, 0.4026074707508087, 0.2874382734298706, -0.43634670972824097, 0.08061979711055756, -0.22326375544071198, -0.28090912103652954, 0.08366576582193375, 0.4150215983390808, -0.4760432839393616, -0.46383994817733765, -0.6096662282943726, 0.13231536746025085, -0.4622606039047241, 1.3422080278396606, 0.0811258852481842, 0.3106616735458374, -0.36421021819114685, -0.6211365461349487, -0.2786043882369995, -0.49045225977897644, -0.531846284866333, -0.674680769443512, 0.4821139872074127, -0.07023108005523682, 0.5764885544776917, 0.6623560190200806, 0.7252947688102722, 0.35048604011535645, -0.09728595614433289, -0.19775183498859406, -0.641972005367279, 0.19800561666488647, -0.2302428036928177, -0.6754469871520996, 0.19298231601715088, 0.09594617784023285, 0.741581916809082, 1.0355374813079834, -0.25593891739845276, -0.15332449972629547, 0.666765034198761, 1.1297391653060913, -0.6324114203453064, -0.08413661271333694, -0.51324462890625, 0.47935938835144043, -0.15562601387500763, -0.2759447991847992, -0.4074549674987793, 0.029674697667360306, 0.017731115221977234, -0.6894371509552002, 0.5471199750900269, 0.20703125, 0.801651656627655, 0.4508310854434967, -0.6854021549224854, -0.17119364440441132, -0.5760544538497925, 0.9284678101539612, -0.4206065535545349, 0.34355229139328003, -0.10196464508771896, 0.03314632549881935, -0.03340610861778259, -0.8350198268890381, -0.3931695818901062, -0.39440351724624634, -0.2957172691822052, 0.5025759339332581, -0.2850361764431, 0.3023879826068878, 0.059827130287885666, 0.5970903635025024, -0.7482738494873047, 0.15112082660198212, -0.30789005756378174, -0.24627700448036194, 0.41609928011894226, 0.2276921570301056, 0.1972934752702713, -0.2611549496650696, -0.814030110836029, 0.0007512738229706883, -0.578921914100647, 0.09761189669370651, 0.18325719237327576, 0.4018835127353668, -0.08995882421731949, 0.2679036557674408, -0.04183473438024521, 0.48020389676094055, 0.13923946022987366, 0.40888920426368713, 0.22919712960720062, -0.49588650465011597, -0.3058854043483734, -0.2067120522260666, 0.8601734042167664, 0.4425767958164215, 0.11196450889110565, -0.16689163446426392, -0.21178674697875977, 0.13571719825267792, 0.5858815312385559, -0.5996193289756775, -0.3661918640136719, -0.11195787042379379, -0.8541395664215088, -0.31726691126823425, 0.046522267162799835, -0.665131151676178, -0.30291488766670227, -0.5959547758102417, 0.2991445064544678, -0.4176742136478424, -0.03940228745341301, -0.018604712560772896, -0.21848097443580627, 0.09509558975696564, 0.28343522548675537, -1.044519066810608, 0.6450342535972595, 0.5501353740692139, 0.8711705207824707, -0.264783650636673, -0.3829622268676758, -0.44513246417045593, -0.024114614352583885, -0.48893630504608154, 0.5783696174621582, -0.39157217741012573, -0.3566828668117523, 0.13281424343585968, -0.36219945549964905, -0.26538440585136414, -0.5294999480247498, 0.5359157919883728, -0.49251559376716614, 0.38084420561790466, -0.3288535177707672, -0.7171527147293091, -0.13164100050926208, 0.027883850038051605, -0.8319984674453735, 1.0079504251480103, -0.0002760036149993539, -0.9871065616607666, 0.18482272326946259, -0.5550004839897156, -0.39543572068214417, 0.01179127860814333, -0.30364736914634705, -0.2234744131565094, 0.44632527232170105, -0.08069344609975815, 0.596304178237915, -0.26227766275405884, 0.021124929189682007, -0.0794646367430687, -0.5213707089424133, 0.06951692700386047, -0.12121372669935226, 0.7109521627426147, 0.3258379101753235, -0.2298489511013031, 0.13817031681537628, -0.6413767337799072, -0.2469848245382309, 0.027686767280101776, -0.22438639402389526, -0.5478662848472595, -0.1568749099969864, 0.1478753536939621, 0.14707492291927338, 0.11510574072599411, -0.4650411009788513, -0.1591784507036209, -0.34502270817756653, 0.4599294364452362, 0.8616682291030884, -0.19050459563732147, 0.8231980204582214, -0.11250641942024231, 0.41413992643356323, 0.1882268488407135, 0.026196669787168503, -0.025911638513207436, -0.17476747930049896, -0.9469829797744751, -0.07702209055423737, 0.4946497678756714, 0.3076591491699219, -0.7410284280776978, 0.16866818070411682, 0.0232161246240139, -0.3755573332309723, -0.5918577313423157, 0.25245121121406555, 0.711281418800354, 0.9120995402336121, 0.6602655053138733, -0.3321186900138855, -0.4857136011123657, -1.100240707397461, -0.4510473310947418, -0.2138006091117859, -0.04100856930017471, -0.06399601697921753, 0.5298586487770081, 0.018952934071421623, 0.6482754349708557, -0.4237807095050812, -0.49873557686805725, -0.38309359550476074, 0.4814837872982025, 0.037657689303159714, 0.6126633286476135, 0.6013990640640259, -0.9928141832351685, -0.544906735420227, -0.09264625608921051, -0.824163019657135, -0.04246820881962776, -0.24299316108226776, 0.10547305643558502, 0.2717403471469879, 0.8471008539199829, -0.38883185386657715, 0.29007574915885925, 0.4955732524394989, -0.1391756683588028, 0.35012826323509216, -0.5471397042274475, 0.009525035507977009, -0.8555065989494324, 0.02203184738755226, 0.5488946437835693, -0.009459609165787697, -0.7412665486335754, 0.20996561646461487, 0.2594946324825287, 0.06939883530139923, -0.1414966583251953, 0.21940112113952637, -0.29503026604652405, -0.06134534254670143, -0.13454397022724152, 0.3175415098667145, 0.17414961755275726, 0.6454973816871643, -0.12215647101402283, 0.7996386885643005, 0.4728650450706482, -0.6961578726768494, 0.08569584786891937, -0.033816948533058167, -0.10210369527339935, 0.8424352407455444, -0.7187643647193909, -0.3229210674762726, -0.5639117360115051, 0.46641936898231506, -1.1397223472595215, 0.32777395844459534, 0.12119126319885254, -0.3255910277366638, 0.3630383312702179, 0.0975007489323616, -0.1295308768749237, -0.034400876611471176, -0.48812413215637207, 0.36029109358787537, 0.5508713722229004, -0.582314133644104, 0.4885745644569397, 0.11574596911668777, 0.06320979446172714, -0.8719677925109863, -0.9236255884170532, -0.06768214702606201, -0.3395157754421234, -0.3307938873767853, 0.8255839347839355, -0.019498953595757484, -0.21359635889530182, 0.10817590355873108, -0.1516241580247879, 0.01910766214132309, 0.11015603691339493, 0.07265257835388184, 0.25496888160705566, -0.18642471730709076, 0.5622976422309875, -0.1324682980775833, -0.42564645409584045, 0.05421353876590729, -0.24716559052467346, 0.3666072189807892, -0.304975301027298, -0.23493598401546478, -0.6984727382659912, 0.4568009674549103, 0.0028420875314623117, -0.19043917953968048, 0.6767734885215759, 0.700167715549469, -0.04029400274157524, -0.25129950046539307, -0.39572179317474365, -0.04492253065109253, -0.4519803822040558, 0.3512532711029053, -0.38494789600372314, -0.9453957080841064, 0.6619508862495422, -0.09278716892004013, -0.05565965548157692, 0.8192784190177917, 0.3151097297668457, -0.5566606521606445, 0.6209221482276917, 0.8369097113609314, -0.0140135632827878, 0.5458964109420776, -0.25248855352401733, 0.027501937001943588, -1.0777089595794678, -0.37358322739601135, -0.7254208922386169, -0.3155916631221771, -0.9053913950920105, -0.3269325792789459, 0.027599308639764786, 0.10252446681261063, -0.21848417818546295, 0.19140972197055817, -0.43200597167015076, 0.4333176910877228, 0.5818055868148804, -0.0804741308093071, 0.21639852225780487, -0.06195757910609245, -0.3629498779773712, -0.2848198413848877, -0.6540899276733398, -0.4707448482513428, 0.9101340770721436, 0.20527780055999756, 0.807289719581604, -0.09842745214700699, 0.9986170530319214, 0.4838586747646332, 0.01006670668721199, -0.4358981251716614, 0.4661119878292084, -0.45794010162353516, -0.22232620418071747, -0.23737525939941406, -0.531463086605072, -1.1821297407150269, 0.7785651087760925, -0.1881323605775833, -0.36504343152046204, 0.01926812343299389, 0.3047795593738556, -0.2545810043811798, 0.11525369435548782, -0.5624929666519165, 0.9904202818870544, 0.02197519689798355, -0.40732941031455994, -0.3733662962913513, -1.123091220855713, 0.06201489269733429, 0.34066227078437805, 0.19974741339683533, 0.30494773387908936, -0.3009597659111023, 0.6709440350532532, -0.09752356261014938, 0.7251086235046387, -0.15773136913776398, 0.01120485458523035, -0.006592209450900555, -0.012862500734627247, 0.16386455297470093, -0.3037329912185669, -0.02139086090028286, 0.24501754343509674, -0.21414399147033691, -0.602066159248352, -0.913909912109375, 0.7828973531723022, -0.7216607928276062, -0.49418696761131287, -0.47204357385635376, -0.27248626947402954, -0.021228058263659477, -0.02793535590171814, 0.3201502561569214, 0.5154290795326233, -0.43584319949150085, 0.31872761249542236, 0.8619406819343567, -0.03567114099860191, 0.5282599925994873, 0.2231498807668686, -0.02433163858950138, -0.14233621954917908, 0.8964318633079529, 0.1611010581254959, 0.23308506608009338, 0.7992298603057861, 0.12622442841529846, -0.5048365592956543, -0.8521826267242432, -0.19529105722904205, 0.1780177354812622, -1.023833155632019, 0.0542854480445385, -0.5691072940826416, -0.1845429390668869, -0.22763729095458984, -0.2705543339252472, -0.1782347857952118, -0.40011104941368103, -0.620924711227417, -0.2147788256406784, -0.1858110874891281, 0.8854073286056519, -0.1798923909664154, 0.16892755031585693, -0.5640273690223694, 0.3307758569717407, 0.24507169425487518, 0.24978165328502655, 0.055773455649614334, -0.5293455719947815, -0.22374612092971802, -0.2674519717693329, -0.30536091327667236, -0.6128389239311218, 0.23134715855121613, 0.2980140149593353, 0.7053207755088806, 0.29789966344833374, 0.11290187388658524, 0.6479707360267639, -0.5762449502944946, 0.9111807942390442, 0.4406946897506714, -0.9600260853767395, 0.4224663972854614, -0.1811126321554184, 0.10089435428380966, 0.7958007454872131, 0.40064388513565063, -0.6135883331298828, -0.42119210958480835, -0.6827138066291809, -0.76594078540802, 0.5014961361885071, 0.4119364321231842, 0.3784109354019165, 0.10982708632946014, 0.35422950983047485, 0.15989762544631958, 0.19296738505363464, -1.0614105463027954, -0.43429139256477356, -0.5545467734336853, -0.4461103677749634, -0.23281772434711456, -0.19177456200122833, -0.10942045599222183, 0.07558060437440872, 0.44884976744651794, -0.15291044116020203, 0.17932645976543427, 0.314601331949234, -0.21540120244026184, 0.07422598451375961, 0.29513564705848694, 0.47052228450775146, 0.3941495418548584, -0.03657502308487892, 0.41647571325302124, 0.029369957745075226, -0.1445881426334381, -0.10370644181966782, -0.03441822901368141, 0.0378759503364563, -0.029888330027461052, 0.7628465890884399, 0.7307536602020264, 0.29796022176742554, -0.397079199552536, 0.6207618117332458, -0.20748162269592285, -0.23873496055603027, -0.016352960839867592, 0.037705954164266586, -0.054958149790763855, 0.18410083651542664, 0.4264000952243805, 0.26337963342666626, 0.44672149419784546, -0.49268975853919983, 0.18162445724010468, 0.5490263104438782, -0.5816226601600647, -0.03352031856775284, 0.4792538583278656, 0.5457826852798462, -0.21023696660995483, 0.6726536154747009, -0.10290934145450592, -0.599289059638977, 0.6727486252784729, 0.5480865836143494, 0.6524622440338135, -0.20511728525161743, 0.4307954013347626, 0.3892408013343811, 0.19258461892604828, 0.014335001818835735, -0.027274811640381813, -0.3196985423564911, -0.6172184944152832, -0.22487115859985352, -0.4305277466773987, -0.2252184897661209, -0.2179890125989914, -0.9713749289512634, -0.19486120343208313, -0.4161839485168457, 0.21569065749645233, 0.12524668872356415, 0.05740347504615784, -0.5675032138824463, 0.30695340037345886, -0.02461310662329197, 0.6007015705108643, -1.0170729160308838, 0.5611804723739624, 0.5167655944824219, -0.5916644334793091, -0.4290178120136261, 0.2146935760974884, -0.06492850929498672, -0.8073359727859497, 0.9693989753723145, 0.3495384156703949, -0.25626587867736816, -0.09340288490056992, -0.38974547386169434, -0.5588572025299072, 1.138304591178894, 0.30039188265800476, -0.5893736481666565, 0.08821304142475128, 0.08709049224853516, 0.9490928649902344, -0.5457363724708557, 0.09812522679567337, 0.20508670806884766, 0.1415652334690094, 0.1033158227801323, -0.632731020450592, 0.06952839344739914, -0.31403881311416626, 0.5372820496559143, 0.23772621154785156, -0.7592137455940247, 0.9145092964172363, -0.06452307105064392, -0.3840131163597107, -0.0018752946052700281, 0.8640948534011841, 0.03015095926821232, 0.3678204119205475, 0.3197232186794281, 0.6463126540184021, 0.801486611366272, -0.11341498047113419, 1.3804304599761963, -0.2603467106819153, 0.5086760520935059, 0.9820063710212708, -0.22619085013866425, 0.7303083539009094, 0.7490191459655762, -0.1892610639333725, 0.7315088510513306, 0.5958639979362488, -0.03201089799404144, 0.7084280252456665, 0.420272558927536, -0.09379968047142029, -0.32079237699508667, -0.2166101187467575, -0.36656180024147034, 0.31429415941238403, 0.04059530794620514, -0.4776342511177063, -0.2905218005180359, -0.013471911661326885, -0.3006907105445862, 0.6374346017837524, -0.33932042121887207, 0.8335344195365906, 0.1438302844762802, -0.6089328527450562, 0.41324663162231445, -0.09633766114711761, 0.6816104054450989, -0.6441959738731384, -0.11061422526836395, -0.25945737957954407, 0.09396648406982422, -0.13789460062980652, -0.7008095979690552, 0.2881513833999634, -0.33885279297828674, -0.26261502504348755, -0.34004107117652893, 0.6776030659675598, -0.41205886006355286, -0.2406332641839981, 0.6189297437667847, 0.42616307735443115, -0.06721271574497223, 0.21416516602039337, -0.9591697454452515, 0.015150311402976513, -0.03930537402629852, -0.04588804021477699, 0.6021102666854858, 0.4205310642719269, 0.3845382332801819, 0.798791229724884, 0.4044729769229889, -0.05652683973312378, -0.18204456567764282, 0.28903844952583313, 0.8119720816612244, -0.8298075795173645, -0.593208372592926, -0.9472609758377075, 0.5852737426757812, -0.320997953414917, -0.31889015436172485, 0.7719779014587402, 0.39346596598625183, 0.9781654477119446, -0.0011846942361444235, 0.6072245240211487, 0.2367667704820633, 0.3107074201107025, -0.8534219861030579, 0.406282514333725, -0.7704742550849915, 0.19930604100227356, -0.2531231641769409, -0.7873961329460144, -0.617514431476593, 0.8777162432670593, 0.01131664589047432, 0.1655077338218689, 1.121813178062439, 0.5895744562149048, 0.18955276906490326, 0.1718735545873642, 0.3238205909729004, -0.043298184871673584, 0.16305942833423615, 0.43718573451042175, 0.9478352069854736, -0.4508081376552582, 0.5976310968399048, -0.1738838106393814, -0.007178351748734713, -0.11480233818292618, -0.9466310143470764, -0.9198092818260193, -0.7728810906410217, -0.3686748445034027, -0.09911681711673737, 0.13077490031719208, 0.7814068794250488, 0.6130927205085754, -0.5819982886314392, -0.1551797240972519, -0.5257554650306702, 0.1495293229818344, -0.22465653717517853, -0.2038118988275528, 0.463827520608902, -0.7901935577392578, -0.512940526008606, 0.1379997879266739, 0.48372361063957214, 0.015934651717543602, -0.2772628962993622, -0.15613995492458344, -0.10381269454956055, -0.032413382083177567, 0.5453320741653442, 0.051328785717487335, -0.8663433790206909, -0.08358436077833176, -0.46235769987106323, -0.4033554494380951, 0.22465746104717255, 1.0700531005859375, -0.7899171113967896, 0.349895179271698, 0.40535086393356323, 0.7664923071861267, 0.4009700417518616, 0.007554394658654928, 0.4426822364330292, -0.8634995222091675, -0.09389768540859222, 0.3227880299091339, 0.5126901268959045, 0.4707117974758148, -0.21432913839817047, 0.7353262901306152, 0.2791178822517395, -0.5581535696983337, -0.5634741187095642, 0.4480723738670349, -1.0327174663543701, -0.4434814453125, 0.8067219257354736, -0.26583924889564514, 0.054788511246442795, -0.09351779520511627, -0.1809331774711609, 0.1732754111289978, -0.5258637070655823, 0.8383923172950745, 0.7059481143951416, -0.4379715919494629, -0.22192968428134918, -0.22272683680057526, 0.6254832744598389, 0.7642203569412231, -0.5341634750366211, 0.09104055911302567, 0.4543869197368622, 0.14619489014148712, 0.3601818084716797, 0.6067299842834473, -0.007830537855625153, 0.0777861699461937, -0.07573607563972473, -0.17748913168907166, 0.15103863179683685, -0.26958996057510376, -0.8364145755767822, 0.4668099284172058, -0.10709145665168762, -0.20477281510829926 ]
http://arxiv.org/abs/2402.18275v3
http://arxiv.org/pdf/2402.18275v3
Exploration of Adapter for Noise Robust Automatic Speech Recognition
2024-02-28T12:06:08
2024-06-04T08:20:02
Hao Shi, Tatsuya Kawahara
cs.SD
cs.SD, cs.CL, eess.AS
Adapting an automatic speech recognition (ASR) system to unseen noise environments is crucial. Integrating adapters into neural networks has emerged as a potent technique for transfer learning. This study thoroughly investigates adapter-based ASR adaptation in noisy environments. We conducted experiments using the CHiME--4 dataset. The results show that inserting the adapter in the shallow layer yields superior effectiveness, and there is no significant difference between adapting solely within the shallow layer and adapting across all layers. The simulated data helps the system to improve its performance under real noise conditions. Nonetheless, when the amount of data is the same, the real data is more effective than the simulated data. Multi-condition training is still useful for adapter training. Furthermore, integrating adapters into speech enhancement-based ASR systems yields substantial improvements.
[ -0.2143237143754959, -0.3430320918560028, 0.2387377768754959, 0.2401748150587082, -0.19838827848434448, -0.06874828785657883, -0.1913059651851654, -0.8195719122886658, -0.36455076932907104, -0.0040316954255104065, -0.09220177680253983, 0.06673162430524826, -0.608003556728363, 0.07303021103143692, -0.5356929302215576, 0.5024704337120056, 0.29275035858154297, 0.08888387680053711, 0.23936520516872406, -0.29210203886032104, -0.6380196809768677, -0.3003218472003937, -0.9447632431983948, -0.22549110651016235, 0.026247525587677956, 0.07490971684455872, 0.42130813002586365, 0.5811839699745178, 0.49272528290748596, 0.4753973186016083, -0.0675148218870163, -0.19704674184322357, -0.25001880526542664, 0.1998795121908188, -0.15713448822498322, -0.405013769865036, -0.13125187158584595, -0.3233562409877777, 0.8287573456764221, 0.42407143115997314, -0.1361178606748581, -0.09012837707996368, 0.3895268440246582, 0.4462701082229614, -0.48225927352905273, 0.27310922741889954, -0.8251153826713562, 0.11128885298967361, -0.004374671261757612, -0.08487915247678757, 0.05988582223653793, -0.1745625138282776, 0.4625912010669708, -0.5578130483627319, 0.22774825990200043, -0.15375427901744843, 0.41982126235961914, 0.6497692465782166, -0.07056989520788193, -0.36860817670822144, -1.0745422840118408, 0.6245355010032654, -0.6779177784919739, 0.7846040725708008, 0.14085592329502106, 0.4676014184951782, -0.042712461203336716, -0.6085838079452515, -0.31259119510650635, 0.16720014810562134, 0.2091435045003891, 0.2933591902256012, -0.5070480704307556, -0.1095372885465622, 0.12178437411785126, 0.4349042773246765, -0.16238930821418762, 0.09842276573181152, -0.636146605014801, -0.46857503056526184, 0.44422027468681335, -0.27821552753448486, 0.0616772286593914, 0.2564398944377899, 0.07597942650318146, -0.2336837351322174, 0.040225379168987274, 0.3489053249359131, 0.0931384488940239, 0.46735307574272156, -0.3542157709598541, -0.16451217234134674, 0.0423254631459713, 0.808828592300415, 0.33409422636032104, -0.1988101601600647, 0.4024401605129242, -0.42601966857910156, 0.00012707168934866786, 0.5156412124633789, 0.531980574131012, -0.04339843615889549, 0.2951755225658417, -0.16599202156066895, -0.5507186055183411, 0.059175100177526474, 0.4739830195903778, -0.775946855545044, -0.6800330281257629, -0.21355460584163666, -0.5215819478034973, -0.4460712671279907, -0.00225082621909678, -0.623754620552063, -0.37490513920783997, -0.3065130114555359, 0.9108338952064514, -0.44455021619796753, -0.124310202896595, 0.08443569391965866, -0.286114901304245, 0.34238171577453613, 0.4889093339443207, -0.6184062361717224, 0.6261410117149353, 0.10704441368579865, 1.004000186920166, -0.02193070761859417, -0.1376175880432129, -0.8440219759941101, 0.02495555207133293, -0.35473522543907166, 1.0291815996170044, -0.37819769978523254, -0.3519298732280731, -0.2949274778366089, 0.12391858547925949, -0.3865189254283905, -0.8788362741470337, 0.9069680571556091, -0.2789117991924286, -0.08825936168432236, 0.020128531381487846, -0.04685386270284653, -0.14250992238521576, -0.07994133979082108, -0.4581427276134491, 0.6345682740211487, 0.12669889628887177, -0.29244884848594666, 0.2800147831439972, -0.9980970621109009, -0.5984419584274292, -0.2567007839679718, 0.043117836117744446, -0.6259202361106873, 0.22652257978916168, 0.2318134903907776, 0.07878473401069641, 0.1968700885772705, -0.43297597765922546, -0.15163195133209229, -0.6141762137413025, 0.5868939161300659, -0.4750339388847351, 0.6610435843467712, 0.39678332209587097, -0.38823679089546204, 0.049097634851932526, -1.0208369493484497, -0.08284459263086319, -0.09474977850914001, -0.6753233671188354, -0.3993333876132965, -0.06085031107068062, 0.0810777023434639, 0.13827826082706451, -0.41140806674957275, -0.4878886044025421, -0.3755602538585663, -0.36475107073783875, 0.7021299600601196, 0.6640610098838806, 0.051466502249240875, 0.5620729923248291, -0.5100534558296204, 0.32296058535575867, 0.3210804760456085, 0.04188204184174538, 0.08235370367765427, -0.3603132963180542, -0.8143598437309265, -0.21668316423892975, 0.4617805778980255, 0.5380688309669495, -0.35923731327056885, 0.4970964193344116, -0.07521338015794754, -0.14685724675655365, -0.7686221599578857, 0.08761269599199295, 0.04371108487248421, 0.6606390476226807, 0.5185169577598572, -0.27758246660232544, -0.6215832829475403, -0.5625312328338623, -0.270216703414917, -0.17325416207313538, -0.2312328964471817, 0.43763983249664307, 0.06743714213371277, -0.37555474042892456, 0.4081246554851532, 0.10657978802919388, -0.47827470302581787, 0.06408857554197311, -0.2966959774494171, 0.18791323900222778, 0.6779294610023499, 0.7458174228668213, -0.45843592286109924, -0.3629723787307739, -0.023832397535443306, -0.33917737007141113, -0.16018499433994293, -0.16844311356544495, 0.028382087126374245, -0.13581803441047668, 0.37895429134368896, 0.15307524800300598, 0.6226559281349182, 0.730603039264679, 0.009790078736841679, 0.2244146764278412, -0.036806318908929825, 0.003688293509185314, -0.9528672695159912, 0.0020211555529385805, -0.07343214750289917, -0.3224252760410309, -0.9491676092147827, -0.4690704345703125, -0.09462500363588333, -0.2779897451400757, 0.03776383399963379, 0.09162978827953339, -0.4117613732814789, -0.2716499865055084, -0.48114901781082153, -0.0035400011111050844, -0.10243798047304153, -0.03479243442416191, 0.0059961299411952496, 0.9022953510284424, 1.1214966773986816, -0.9182420372962952, 0.11268641799688339, 0.33539578318595886, -0.2026306539773941, 0.4939592182636261, -0.7395173907279968, 0.44100046157836914, -0.03485998883843422, 0.09895951300859451, -0.8893373608589172, -0.10976314544677734, 0.3886755704879761, -0.33605313301086426, 0.31098848581314087, -0.28825053572654724, 0.24597367644309998, -0.08982739597558975, -0.3435221016407013, 0.5056746602058411, 0.6439480185508728, -0.7720910906791687, 0.7042774558067322, 0.4662074148654938, -0.12456690520048141, -0.16072770953178406, -0.9135675430297852, 0.08675392717123032, -0.4269086718559265, -0.19960489869117737, 0.2289600819349289, -0.2414570301771164, -0.12855853140354156, -0.14224745333194733, -0.42871350049972534, -0.3225615322589874, 0.15520988404750824, 0.34662267565727234, 0.008349340409040451, -0.48640745878219604, -0.18821601569652557, -0.1963108479976654, 0.026251090690493584, 0.08333329856395721, -0.34730014204978943, 0.19486767053604126, -0.3573075234889984, -0.25027409195899963, -0.892703115940094, -0.07798518985509872, 0.3700202703475952, 0.18073679506778717, 0.1782243847846985, 0.8077003359794617, -0.5179705023765564, -0.3281329274177551, -0.46878138184547424, -0.44401034712791443, -0.553398847579956, 0.4117366075515747, -0.5673148036003113, -0.42267102003097534, 0.5184553861618042, -0.07915661484003067, 0.14990362524986267, 0.11461450904607773, 0.011188182048499584, -0.17421841621398926, 0.47585150599479675, 0.5057100057601929, -0.42459917068481445, 0.7432560324668884, 0.11289167404174805, 0.22347784042358398, -1.0132485628128052, 0.010624557733535767, -0.8219909071922302, -0.6312192678451538, -0.3529391884803772, -0.39277103543281555, 0.3382190763950348, 0.01374155655503273, -0.16464778780937195, 0.18329839408397675, -0.5653610825538635, 0.19414068758487701, 0.45124512910842896, 0.3791218101978302, 0.1377524882555008, 0.2167312502861023, 0.3080770671367645, -0.021650495007634163, -0.8647768497467041, 0.14990557730197906, 0.7809959650039673, 0.4399275481700897, 0.9474918246269226, 0.29786476492881775, 0.5314763784408569, 0.14193876087665558, -0.130544051527977, -0.8908676505088806, 0.04795930162072182, -0.21304287016391754, -0.04681577533483505, -0.46359366178512573, -0.327666312456131, -1.0006771087646484, -0.024703437462449074, -0.3329496681690216, -0.5419248342514038, 0.977435290813446, 0.3948148488998413, -0.6315726637840271, -0.00008139556302921847, -0.6565498113632202, 0.1496000736951828, -0.2229991853237152, -0.07368839532136917, -0.10421302169561386, -0.6997564435005188, -0.0835014283657074, -0.4143085479736328, 0.4698481261730194, 0.29899752140045166, 0.20717254281044006, 0.956791341304779, 0.07650764286518097, 0.6842505931854248, -0.4138639271259308, 0.12267513573169708, 0.37550657987594604, 0.096871517598629, 0.5204222798347473, -0.20110350847244263, -0.4060326814651489, 0.20383714139461517, -0.09865069389343262, -0.1804845780134201, -0.4747185707092285, 0.6223955154418945, -1.2380307912826538, -0.21708759665489197, -0.32769885659217834, -0.874575674533844, -0.2962428629398346, 0.13453693687915802, 0.11529231816530228, 0.654293417930603, 0.03194083645939827, 0.5403961539268494, 0.649022102355957, -0.14615756273269653, 0.45388638973236084, 0.5746017694473267, 0.06890029460191727, -0.4811599850654602, 1.0738028287887573, 0.2154456079006195, 0.1484505534172058, -0.2195271998643875, 0.6046620011329651, -0.24127839505672455, -0.8408117294311523, -0.34220704436302185, -0.18233834207057953, -0.5874235033988953, -0.21251505613327026, -0.7315747737884521, -1.0010020732879639, -0.4500260055065155, -0.12297189235687256, -0.35510823130607605, -0.36598119139671326, -0.40940335392951965, 0.22670936584472656, 0.41041862964630127, 0.6650744676589966, -0.5068619251251221, 0.3288786709308624, -0.5573063492774963, 0.4059765636920929, 0.5804786086082458, 0.3719038665294647, -0.1252339482307434, -1.282822608947754, -0.1515626609325409, -0.07661009579896927, -0.04607954993844032, -0.5580787062644958, 0.08870560675859451, 1.0613354444503784, 0.7788999080657959, 0.6066204309463501, 0.27714359760284424, 0.9806550741195679, -0.2137863039970398, 0.2658286392688751, -0.23667842149734497, -0.8564816117286682, 0.598214864730835, -0.22569474577903748, 0.5982259511947632, 0.6520097851753235, -0.09341245144605637, -0.13007350265979767, -0.195530503988266, -0.35138383507728577, -0.4233921766281128, 0.8471677303314209, 0.30371129512786865, 0.16654768586158752, 0.7352240085601807, 0.6665011048316956, -0.03420163691043854, -0.08883288502693176, -0.6112383008003235, -0.013669157400727272, -0.7578237652778625, -0.1820198893547058, -0.03419032320380211, 0.1362581104040146, -0.15490566194057465, -0.5489292740821838, 0.5301382541656494, -0.18301747739315033, 0.5147003531455994, 0.20641253888607025, -0.1271030753850937, -0.4102015793323517, 0.24311132729053497, 0.37275752425193787, 0.2785938084125519, -0.24859757721424103, 0.3113665282726288, 0.6333411931991577, -0.7292537093162537, 0.10107263922691345, 0.39253899455070496, -0.07220911979675293, -0.025246920064091682, 0.37205860018730164, 0.7652260065078735, 0.11743438243865967, -0.25695517659187317, 0.41215676069259644, -0.29013049602508545, -0.44429925084114075, -0.23047064244747162, 0.5838830471038818, -0.08559077233076096, 0.40712985396385193, 0.2260454148054123, 0.8433857560157776, 0.5913102030754089, -0.5591400861740112, 0.2871033847332001, 0.37041568756103516, -0.7809607982635498, -0.6273019909858704, 0.6117549538612366, 0.22275499999523163, -0.6746079325675964, 0.46588677167892456, 0.30718114972114563, -0.533930242061615, 0.24736250936985016, 1.0817806720733643, 0.7534115314483643, -0.8546745181083679, -0.4536263346672058, 0.3714568018913269, 0.3561461269855499, 0.04842844977974892, 0.2354859858751297, -0.3684215843677521, -0.9043274521827698, -0.1291397660970688, -0.6026143431663513, -0.32867804169654846, 0.2914040684700012, -0.7622722387313843, 0.30583155155181885, -0.4689044654369354, -0.007518609054386616, -0.05904064327478409, -0.5008784532546997, -0.6680942177772522, 0.16456274688243866, 0.10222682356834412, 0.6281306743621826, -0.953856885433197, 0.9052198529243469, 0.905459463596344, 0.30615732073783875, -0.7208966016769409, 0.3158770799636841, 0.2523936927318573, -0.9817146062850952, -0.0170778539031744, 0.032396674156188965, -0.539761483669281, 0.09044234454631805, -0.13339971005916595, -0.9163713455200195, 0.926266074180603, 0.37762272357940674, -0.6671640276908875, 0.5191555023193359, 0.005817065946757793, 0.6340593695640564, -0.19280654191970825, -0.059647396206855774, 0.600925087928772, 0.3612227141857147, 0.19761881232261658, -1.0714848041534424, -0.020862475037574768, -0.4225056767463684, -0.026975875720381737, -0.22405444085597992, -0.5876666307449341, 0.4669475555419922, -0.1334010511636734, -0.010637101717293262, -0.047286342829465866, 0.48324939608573914, 0.13886262476444244, 0.3435857594013214, 1.1822082996368408, 0.0867566168308258, 0.7434309124946594, 0.17795155942440033, 0.33002281188964844, -0.30776041746139526, -0.24174098670482635, 1.0576080083847046, -0.07242649048566818, 0.6600804924964905, 0.2790409028530121, -0.11584301292896271, 0.32757115364074707, 0.28087732195854187, 0.1207512617111206, 0.6702709794044495, 0.11449070274829865, -0.37995749711990356, -0.0597473606467247, -0.0847058966755867, -0.5943811535835266, 0.673414409160614, 0.3523862957954407, -0.20071293413639069, -0.030902894213795662, 0.16364286839962006, -0.49311959743499756, -0.18132013082504272, -0.2164933830499649, 1.2734166383743286, 0.13675235211849213, 0.0314771942794323, 0.4429205060005188, -0.4613952338695526, 0.6340606212615967, -0.4329872131347656, -0.02074316330254078, 0.02663712576031685, 0.37045392394065857, -0.4282199740409851, -0.4508498013019562, 0.6882086396217346, -0.1882936954498291, -0.07295292615890503, 0.11421551555395126, 1.250921368598938, -0.19704701006412506, -0.5317208766937256, 0.2849678695201874, 0.3216266334056854, 0.3380792438983917, -0.008580290712416172, -0.609646737575531, 0.2845667898654938, 0.04896590858697891, 0.0827961266040802, 0.4755997955799103, 0.6278577446937561, 0.2825622856616974, 0.4936898350715637, 0.8439412713050842, 0.2811296582221985, 0.23661619424819946, 0.15187643468379974, 1.1590930223464966, -0.3723490536212921, -0.6087175607681274, -0.43143194913864136, 0.3646945655345917, 0.060059547424316406, -0.017045671120285988, 0.6406489610671997, 0.5877758860588074, 0.34645482897758484, 0.13834531605243683, 0.9348893761634827, 0.2510785758495331, 0.5093693733215332, -0.3300575017929077, 0.7587047815322876, -0.21613912284374237, 0.47926566004753113, -0.47319716215133667, -0.8852372765541077, -0.426581472158432, 1.156092643737793, 0.05454179272055626, 0.10010754317045212, 0.28272369503974915, 0.8709310293197632, -0.5350878238677979, 0.19821394979953766, 0.4448389708995819, 0.4479323625564575, 0.2308337539434433, 0.08152132481336594, 0.9638795852661133, -0.863036572933197, 0.8933444619178772, -0.5276334285736084, -0.37834998965263367, 0.09481284022331238, -0.42136839032173157, -0.7353748679161072, -0.4407781660556793, -0.4429025948047638, -0.4557260572910309, 0.4083768129348755, 0.7098721265792847, 0.9250195026397705, -1.197966456413269, -0.3165627121925354, -0.1782250553369522, -0.4158610999584198, -0.4913589358329773, -0.1884336620569229, 0.21520543098449707, -0.3102048933506012, -0.5434495806694031, 0.9680845737457275, 0.05107226222753525, 0.30609285831451416, 0.3768042325973511, -0.21261833608150482, 0.1828567087650299, -0.027557844296097755, 0.26451030373573303, 0.34814122319221497, -0.23419159650802612, -0.6268681883811951, -0.21958012878894806, 0.4926452934741974, 0.3153502345085144, 0.6223031878471375, -0.8484892249107361, 0.6595830917358398, 0.17679180204868317, 0.7686290144920349, 0.33538147807121277, 0.1743668168783188, 0.5486350059509277, -0.47548311948776245, 0.37462350726127625, 0.16799841821193695, 0.277872771024704, 0.25755465030670166, -0.40686285495758057, 0.25976476073265076, 0.1094808503985405, -0.9179467558860779, -0.8464244604110718, -0.36916473507881165, -0.9822384119033813, 0.0014449249720200896, 1.0407096147537231, 0.06351905316114426, 0.11323544383049011, -0.8039065003395081, -0.21741724014282227, 0.26705121994018555, -0.5952558517456055, 1.0812586545944214, 0.17643457651138306, -0.5311241745948792, -0.5132966041564941, -0.3462815582752228, 0.5453342795372009, 0.12428192794322968, -0.6601722836494446, -0.24526847898960114, 0.2703196704387665, 0.6038584113121033, 0.25959399342536926, 0.4618615210056305, 0.00755354342982173, 0.35518646240234375, 0.25096940994262695, -0.27298954129219055, -0.047372475266456604, -0.22789178788661957, -1.0917177200317383, -0.024550944566726685, 0.37892284989356995, -0.5539326071739197 ]
http://arxiv.org/abs/2402.18272v1
http://arxiv.org/pdf/2402.18272v1
Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?
2024-02-28T12:04:05
2024-02-28T12:04:05
Qineng Wang, Zihao Wang, Ying Su, Hanghang Tong, Yangqiu Song
cs.CL
cs.CL, cs.AI
Recent progress in LLMs discussion suggests that multi-agent discussion improves the reasoning abilities of LLMs. In this work, we reevaluate this claim through systematic experiments, where we propose a novel group discussion framework to enrich the set of discussion mechanisms. Interestingly, our results show that a single-agent LLM with strong prompts can achieve almost the same performance as the best existing discussion approach on a wide range of reasoning tasks and backbone LLMs. We observe that the multi-agent discussion performs better than a single agent only when there is no demonstration in the prompt. Further study reveals the common interaction mechanisms of LLMs during the discussion.
[ -0.8273751735687256, -0.6820105910301208, 1.0782626867294312, -0.07790876179933548, -0.25831106305122375, 0.1712803840637207, -0.22374944388866425, -0.5536723136901855, 0.3250586986541748, 0.4150833785533905, -0.5837131142616272, -0.3263128995895386, -0.5498011112213135, 0.3229222893714905, -0.05199559032917023, 0.5695140957832336, 0.14209140837192535, 0.2263915091753006, -0.4975268840789795, -0.516844630241394, -0.4104638397693634, -0.612756073474884, -0.6945188045501709, -0.6369339823722839, 1.001145362854004, 0.538564145565033, 0.7833308577537537, 0.41260287165641785, 0.44725140929222107, 0.4293825328350067, -0.2506158947944641, 0.5730644464492798, -0.29427650570869446, 0.6299924254417419, -0.23722276091575623, -0.5498061776161194, -0.6150149703025818, 0.030967706814408302, 0.5742244124412537, 0.7476745843887329, -0.07715218514204025, -0.2315104603767395, 0.11178971827030182, 0.4436943829059601, -0.3049814701080322, -0.1870982050895691, -0.6510556936264038, 0.0823642909526825, 0.040160056203603745, -0.3761141896247864, -0.592867910861969, -0.03816641867160797, 0.11693765223026276, -0.35788989067077637, 0.21634028851985931, 0.005359593313187361, 0.5285469889640808, 0.5452207922935486, -0.7456348538398743, -0.06527723371982574, -0.5351821184158325, 0.6249960660934448, -0.5233203768730164, 0.11353950202465057, 0.062091607600450516, 0.49791282415390015, -0.4594317674636841, -0.6299237608909607, -0.4216080605983734, -0.18913336098194122, -0.057107534259557724, -0.08854562789201736, -0.1623728722333908, 0.3142165541648865, 0.2086992859840393, 0.270338237285614, -0.14009235799312592, -0.0033550020307302475, -0.20947913825511932, -0.34056708216667175, 0.9147180318832397, 0.4055229723453522, -0.14552396535873413, 0.25937673449516296, -0.35593971610069275, 0.3514561653137207, -0.6965357661247253, -0.09533561766147614, 0.15239356458187103, 0.24699608981609344, 0.2696666419506073, 0.4279221296310425, -0.23359283804893494, 0.5116808414459229, 0.1386900395154953, -0.09326062351465225, 0.0005627927021123469, -0.6115766763687134, 0.08095574378967285, -0.3744703531265259, 0.5640461444854736, 0.6927173733711243, 0.10686490684747696, -0.29251959919929504, 0.06994295865297318, 0.05779432877898216, 0.17004024982452393, -0.6642275452613831, 0.19668424129486084, 0.14321091771125793, -0.437636137008667, 0.07584524154663086, 0.061034590005874634, -0.7043748497962952, -0.6532430648803711, -0.2632141411304474, 0.032162584364414215, 0.192510724067688, -0.2418714463710785, 0.16721780598163605, -0.4268098771572113, 0.31235048174858093, 1.0709216594696045, -0.34986746311187744, 0.5128021240234375, 0.6848741173744202, 0.569435715675354, -0.06266635656356812, -0.6195372939109802, -0.5283897519111633, 0.23461346328258514, -0.32590919733047485, 1.395499587059021, -0.45570728182792664, -0.5274152159690857, -0.1881907433271408, -0.16960906982421875, 0.006181566510349512, -0.5197632312774658, 0.4511575996875763, -0.3952864706516266, 0.14052362740039825, -0.7242932915687561, -0.6693830490112305, 0.07440654188394547, 0.6364754438400269, -0.6592402458190918, 0.33365756273269653, -0.4901066720485687, -0.4643794596195221, 0.3752394914627075, -0.7537853121757507, -0.27714595198631287, 0.07447084039449692, -0.4323076605796814, 0.011101811192929745, 0.019334688782691956, 0.15835604071617126, 0.28846442699432373, -0.5992098450660706, 0.0520344041287899, -0.5027599334716797, -0.4674128592014313, 0.755902886390686, -0.5110471844673157, 0.385688841342926, 0.2677159905433655, -0.1266372799873352, 0.392047643661499, -0.15691521763801575, 0.30164635181427, -0.03110809251666069, -0.275153785943985, 0.19370007514953613, -0.03131231665611267, -0.739578366279602, 0.11085104942321777, 0.10202747583389282, -0.3403157591819763, 0.6579338312149048, -0.1365683376789093, 0.49380457401275635, 0.9362050890922546, 0.20054256916046143, 0.6455017328262329, -0.8502047657966614, 0.5215979218482971, -0.31578195095062256, 0.45507627725601196, -0.17475447058677673, -0.6661064028739929, -0.7926708459854126, -0.11180659383535385, -0.0969415083527565, 0.15599514544010162, -0.6484043598175049, -0.14238135516643524, 0.04468025267124176, -0.3564641773700714, -0.4793228507041931, 0.0451643280684948, 0.3123067319393158, -0.019919121637940407, 0.29912683367729187, -0.029466142877936363, -0.314095675945282, -0.8005669713020325, -0.24091583490371704, -0.4953654110431671, 0.18167154490947723, 0.30263301730155945, 0.14898784458637238, -0.20910175144672394, 0.9593298435211182, -0.25485020875930786, 0.10819746553897858, -0.6134557127952576, 0.07106431573629379, -0.06486476212739944, 0.07028637081384659, 0.3043369948863983, -0.500355064868927, -0.4321778118610382, -0.39815375208854675, -0.7394476532936096, -0.10898371785879135, -0.09729047864675522, -0.21389344334602356, 0.3147904574871063, 0.5182573795318604, -0.9759782552719116, 0.6116913557052612, 0.22673030197620392, -0.5224073529243469, 0.5263726711273193, -0.10444650799036026, 0.2888197600841522, -0.8529558181762695, -0.7053298354148865, -0.2435755729675293, -0.15636830031871796, -0.6483588814735413, 0.09633214771747589, -0.3586517870426178, 0.20507240295410156, -0.36678314208984375, 0.6771343350410461, -0.7285891175270081, 0.11958349496126175, -0.877181887626648, 0.38656383752822876, 0.08158142864704132, 0.47120168805122375, -0.13944011926651, 0.7261027097702026, 0.6939972043037415, -0.8650995492935181, 0.4829442501068115, 0.24348367750644684, 0.21115276217460632, 0.6900839805603027, -0.6807727217674255, 0.4923788905143738, -0.14895549416542053, 0.7773411273956299, -1.0270018577575684, -0.03650174289941788, 0.2418917417526245, -0.5112178921699524, -0.05664416402578354, -0.13516965508460999, -0.39404723048210144, -0.2828727662563324, -0.5812263488769531, 0.4502044916152954, 0.17557935416698456, -0.467779278755188, 0.8432437777519226, 0.31411513686180115, 0.00123744853772223, -0.7186782360076904, -0.47620415687561035, 0.48317572474479675, -0.3425996005535126, -1.130033254623413, 0.164097398519516, -0.31115424633026123, -0.8331376910209656, -0.03210612013936043, -0.10510861128568649, 0.07647348195314407, 0.05587827041745186, 0.2296149581670761, -0.012395367957651615, -0.038209397345781326, 0.666217029094696, -0.1362297534942627, -0.21138903498649597, 0.0742330327630043, 0.1640651524066925, 0.5188219547271729, -0.4872482419013977, -0.612955629825592, -0.10732626169919968, 0.6254646182060242, 0.5008998513221741, -0.09643067419528961, 0.6781699061393738, -0.018579404801130295, -0.1294778734445572, -0.32988667488098145, -0.8267872929573059, -0.5436763167381287, -0.5232630372047424, 0.024096161127090454, -0.5826965570449829, -1.2273184061050415, 0.7110856175422668, -0.41665250062942505, 0.10451509803533554, 0.3906254768371582, 0.4336627721786499, -0.052806269377470016, 0.8988662362098694, 0.643667459487915, 0.38011911511421204, 0.1075049415230751, -0.08476436883211136, 0.07733548432588577, -0.8870362043380737, -0.1376916766166687, -0.5436238050460815, -0.33563491702079773, -0.3135175406932831, -0.7866285443305969, 0.4157259464263916, 0.04654257744550705, -0.05785135552287102, -0.1090812087059021, -0.32930028438568115, 0.8099395036697388, 0.29003018140792847, -0.016832776367664337, 0.44205284118652344, -0.3639582097530365, -0.17415326833724976, 0.24856019020080566, -0.8022165298461914, -0.8543109893798828, 0.9721224904060364, 0.25720641016960144, 0.639676034450531, 0.49797406792640686, 0.5310400128364563, 0.33916082978248596, 0.5565178990364075, -0.6296032071113586, 1.036534070968628, 0.4761183559894562, -0.7657202482223511, -0.6561892032623291, -0.49723222851753235, -1.1868271827697754, 0.7334299683570862, -0.0421881303191185, -0.6210829019546509, -0.03425518795847893, -0.0616680271923542, -0.1441085934638977, 0.4880931079387665, -0.5375019907951355, 0.7102846503257751, -0.19260013103485107, -0.590510904788971, -0.34590113162994385, -0.759788453578949, 0.1964668482542038, 0.39630556106567383, 0.21969200670719147, -0.24048158526420593, -0.022782310843467712, 0.5148249864578247, -0.8034655451774597, 0.7870761752128601, -0.16778990626335144, -0.44339263439178467, 0.7766544818878174, -0.3939319849014282, 0.432474285364151, 0.14091910421848297, 0.06085047498345375, -0.03976079449057579, -0.5312879085540771, -0.43114280700683594, -0.9903139472007751, 0.3630879819393158, -0.5773434042930603, -1.3652604818344116, -0.36173585057258606, -0.5057560801506042, -0.22361569106578827, -0.18308159708976746, 0.09786923229694366, 0.17310985922813416, -0.3240060806274414, 0.03062409721314907, 0.5793148875236511, 0.18609581887722015, 0.3781554102897644, 0.6762397885322571, -0.28442296385765076, -0.5149982571601868, 0.4596695601940155, 0.08360103517770767, 0.5869497656822205, 0.03175270929932594, 0.27099916338920593, -0.2982100248336792, -0.5030262470245361, -0.29448795318603516, 0.3900533616542816, -1.160681128501892, -0.14842061698436737, -0.6432974934577942, 0.06989697366952896, -0.4668980538845062, -0.13893936574459076, -0.36844903230667114, -0.6239607930183411, 0.015854835510253906, -0.3122038245201111, 0.26767510175704956, 0.8923689126968384, -0.15254966914653778, 0.22237533330917358, -0.6735853552818298, -0.03412220999598503, 0.8264060020446777, 0.05291607975959778, 0.1266314685344696, -0.38059577345848083, -0.1520557850599289, -0.13165713846683502, -0.5189291834831238, -1.125401258468628, -0.26037147641181946, -0.2882869839668274, 1.0846657752990723, 0.456908643245697, 0.19659876823425293, 0.5318057537078857, -0.3875199854373932, 0.9718168377876282, 0.14893674850463867, -0.8116768002510071, 0.44959238171577454, -0.1018974557518959, 0.18828783929347992, 0.39392369985580444, -0.0650145635008812, -0.4900539219379425, -0.7867016792297363, -0.6704540848731995, -0.6300274729728699, 0.3877730667591095, 0.17144766449928284, -0.16639353334903717, 0.0450456328690052, 0.43419572710990906, 0.06308916211128235, 0.14283312857151031, -0.5328007936477661, -0.41975197196006775, 0.17025749385356903, 0.39276382327079773, -0.07911412417888641, -0.323064386844635, -0.513323187828064, -0.20117716491222382, 0.3257034718990326, -0.3393057584762573, 0.4638374149799347, 0.28957968950271606, 0.17376907169818878, -0.32981598377227783, 0.7059199213981628, 0.8381175994873047, 0.9301382899284363, 0.23096837103366852, 0.7304637432098389, 0.5051549077033997, 0.08741064369678497, 0.5939611792564392, 0.09460102766752243, 0.22114363312721252, -0.13423994183540344, 0.5704410672187805, 0.7469130158424377, -0.30087247490882874, -0.4465862512588501, 0.3961682915687561, -0.5572868585586548, -0.5523982048034668, -0.04162243381142616, 0.28202584385871887, 0.2857208847999573, 0.8099156022071838, 0.43082618713378906, 0.026691723614931107, 0.025349460542201996, -0.7164450287818909, 0.3304940164089203, 0.6237915754318237, 0.05380341410636902, 0.06908877938985825, 0.47620341181755066, 0.4556044042110443, -0.5913392901420593, 0.1843959093093872, -0.46232184767723083, -0.7284054160118103, 0.8194475173950195, 0.2781572937965393, 0.7718763947486877, -0.19877010583877563, 0.33611202239990234, -0.11779133230447769, 0.6367032527923584, -0.053922317922115326, 0.24230919778347015, -0.20918728411197662, -1.0148659944534302, -0.5735493898391724, 0.19668762385845184, -1.0246291160583496, -0.3420056998729706, -0.20996341109275818, 0.021337101235985756, -0.29040229320526123, -0.45288583636283875, -0.19961632788181305, 0.277671217918396, -0.22881753742694855, -0.37235262989997864, 0.09446391463279724, 0.6720818281173706, -0.45183733105659485, 0.5110335946083069, 0.744124174118042, -0.31338322162628174, -0.6347020864486694, 0.02506292797625065, -0.0806104764342308, -0.4736899137496948, 0.3046567738056183, 0.32439830899238586, -0.6280795335769653, -0.4940038323402405, -0.9205453991889954, -0.823086142539978, 1.1959526538848877, 0.657250702381134, -0.2440308928489685, 0.2448284924030304, 0.09966100752353668, 0.5801522731781006, -0.432324081659317, 0.33793097734451294, 0.03700406104326248, 0.752897322177887, 0.6000776886940002, -1.1019353866577148, 0.1429109424352646, -0.4962872266769409, -0.5062349438667297, 0.06983073800802231, -1.181291937828064, 0.9786781072616577, -0.5854617953300476, -0.25948482751846313, 0.046679314225912094, 0.931141197681427, 0.5800487995147705, 0.8453149795532227, 0.6660116314888, 0.38807615637779236, 1.1058740615844727, -0.0713813453912735, 0.9511799812316895, -0.04589587077498436, 0.22258716821670532, 1.1989741325378418, -0.7497754096984863, 0.19625654816627502, 0.5587546229362488, -0.16718141734600067, 0.31895890831947327, 0.4155455231666565, 0.3495536148548126, -0.02484723925590515, 0.6083012223243713, -0.5791881084442139, -0.7272291779518127, -0.33156365156173706, -0.5518231391906738, 0.1167169064283371, 0.09426632523536682, 0.1460873782634735, -0.11283441632986069, -0.05073842778801918, -0.0253323782235384, 0.14977926015853882, -0.2802792489528656, 0.8097473382949829, 0.04898308590054512, -0.7807875275611877, 0.36753156781196594, 0.036190614104270935, 0.5725600123405457, -0.3097001016139984, -0.19869378209114075, -0.44224992394447327, 0.09686081856489182, -0.08642209321260452, -0.6316500306129456, 0.15920040011405945, -0.1638432890176773, -0.1193256750702858, -0.4388968348503113, 1.1076979637145996, -0.48391029238700867, 0.06360767036676407, 0.43473365902900696, 0.9801369309425354, 0.39785054326057434, -0.0323147177696228, -0.3680392801761627, 0.11481307446956635, -0.26215678453445435, -0.282866895198822, 0.28578895330429077, 1.0061225891113281, 0.056086987257003784, 0.9037353992462158, 0.4153844714164734, -0.3005729913711548, 0.19267457723617554, 0.22495658695697784, 1.2391984462738037, -0.6791229248046875, -0.25429317355155945, -0.8948756456375122, 0.38719800114631653, -0.3468230366706848, 0.028400857001543045, 0.8987908363342285, 0.27954918146133423, 0.5200421810150146, 0.34828004240989685, 0.6416653394699097, 0.44681844115257263, 0.37899717688560486, -0.47071534395217896, 0.3817759156227112, -0.49851247668266296, 0.5024619698524475, -0.11880400031805038, -0.6626389622688293, -0.2384931743144989, 0.6166856288909912, -0.17999057471752167, 0.30430588126182556, 1.0400211811065674, 0.6546878218650818, 0.5149884223937988, 0.352183073759079, 0.40225300192832947, 0.02035021036863327, 0.6480010151863098, 0.7648899555206299, 1.6788543462753296, -0.1198536604642868, 0.6036320328712463, 0.050380948930978775, -0.18470872938632965, -0.02092878520488739, -0.7757230997085571, -1.1889758110046387, -0.13305160403251648, -0.41253045201301575, -0.3247905671596527, 0.04684625193476677, 0.9881320595741272, 0.48290902376174927, -0.07959248870611191, -0.3521847426891327, -0.1446049064397812, 0.7807874083518982, -0.21562717854976654, -0.1973457932472229, 0.027171213179826736, -0.31068575382232666, -0.48586222529411316, 0.6399120092391968, 0.276903361082077, -0.026458587497472763, -0.3518611490726471, -0.6698439717292786, -0.1767430454492569, 0.43423497676849365, 0.4441204071044922, 0.16937734186649323, -0.7413527965545654, -0.4820624887943268, 0.014397123828530312, -0.06502748280763626, 0.12984676659107208, 1.0775293111801147, -0.6228861212730408, 0.12500743567943573, 0.23807872831821442, 0.6098291277885437, 0.29673871397972107, -0.029670672491192818, 0.49933120608329773, -0.45246103405952454, 0.09162990003824234, 0.1541648954153061, 0.3949216306209564, -0.006331054959446192, -0.21167081594467163, 0.6365560293197632, 0.4218105673789978, -0.9418011903762817, -0.8597431778907776, 0.5824438333511353, -0.9305301308631897, -0.36271771788597107, 1.2596783638000488, 0.00523850042372942, 0.041008953005075455, -0.1985754668712616, -0.493917316198349, 0.21801528334617615, -0.5390110611915588, 0.5796117782592773, 0.9307237267494202, -0.6461682319641113, -0.4469482898712158, -0.06581763178110123, 0.12339942157268524, 0.4748915135860443, -1.048643946647644, 0.13481035828590393, 0.6632648706436157, -0.22979435324668884, 0.3459585905075073, 1.1974613666534424, 0.24058684706687927, 0.26598024368286133, 0.09917739778757095, -0.16757261753082275, -0.2399481236934662, -0.803942084312439, -0.13052815198898315, 0.5882137417793274, 0.3815493881702423, 0.04229733347892761 ]
http://arxiv.org/abs/2402.18267v2
http://arxiv.org/pdf/2402.18267v2
A Survey on Neural Question Generation: Methods, Applications, and Prospects
2024-02-28T11:57:12
2024-05-07T15:08:56
Shasha Guo, Lizi Liao, Cuiping Li, Tat-Seng Chua
cs.CL
cs.CL, cs.AI
In this survey, we present a detailed examination of the advancements in Neural Question Generation (NQG), a field leveraging neural network techniques to generate relevant questions from diverse inputs like knowledge bases, texts, and images. The survey begins with an overview of NQG's background, encompassing the task's problem formulation, prevalent benchmark datasets, established evaluation metrics, and notable applications. It then methodically classifies NQG approaches into three predominant categories: structured NQG, which utilizes organized data sources, unstructured NQG, focusing on more loosely structured inputs like texts or visual content, and hybrid NQG, drawing on diverse input modalities. This classification is followed by an in-depth analysis of the distinct neural network models tailored for each category, discussing their inherent strengths and potential limitations. The survey culminates with a forward-looking perspective on the trajectory of NQG, identifying emergent research trends and prospective developmental paths. Accompanying this survey is a curated collection of related research papers, datasets and codes, systematically organized on Github, providing an extensive reference for those delving into NQG.
[ -0.6663665771484375, -0.8428443074226379, 0.35399100184440613, 0.015529080294072628, 0.0306121576577425, 0.04038115590810776, 0.03840191289782524, -0.18126821517944336, 0.08434359729290009, 0.31164684891700745, -0.6545710563659668, -0.36788660287857056, -0.22237464785575867, 0.21181467175483704, -0.6365981101989746, 0.8138830661773682, 0.30173662304878235, 0.2722488045692444, -0.8477723002433777, 0.10184302181005478, -0.19081048667430878, -0.3192576766014099, -0.8378821015357971, -0.1938556432723999, 0.7277786135673523, 0.2500578761100769, 0.36851373314857483, 0.08482206612825394, 0.19731491804122925, 0.19820381700992584, -0.29437077045440674, 0.3426699638366699, 0.03914111480116844, 0.40630659461021423, 0.21539326012134552, -0.4302087128162384, -0.11732762306928635, 0.06583193689584732, 0.6005939245223999, 0.8657718300819397, 0.029985763132572174, 0.4557352364063263, -0.022948946803808212, 0.49699798226356506, -0.6318923830986023, -0.14016245305538177, -0.5102924704551697, 0.30004721879959106, 0.12756209075450897, -0.21124380826950073, -0.007811294868588448, -0.9229605197906494, 0.19953638315200806, -0.44785016775131226, 0.4803028702735901, -0.15517902374267578, 0.40432727336883545, 0.09746696799993515, -0.691197395324707, -0.2443021982908249, -0.4227486252784729, 0.4600917100906372, -0.7707697749137878, 0.18866285681724548, 0.3399491310119629, 0.5022494196891785, -0.19559386372566223, -1.1410490274429321, -0.52327960729599, -0.2670965790748596, 0.2597281038761139, 0.3803413212299347, -0.17034542560577393, -0.19676141440868378, 0.3185466229915619, 0.47468146681785583, -0.6965468525886536, 0.04575279727578163, -0.2881159782409668, -0.07837514579296112, 0.7305780053138733, 0.3471013307571411, 0.29228782653808594, -0.4940200746059418, -0.3334737718105316, 0.13316959142684937, -0.5832926034927368, 0.13496221601963043, 0.5285859107971191, 0.003856252646073699, 0.32028844952583313, 0.3391650915145874, -0.6135822534561157, 1.0625813007354736, 0.10982485860586166, 0.38703539967536926, -0.1563345491886139, -0.8321534395217896, 0.17031626403331757, -0.21511338651180267, 0.9627535939216614, 0.7411441206932068, -0.16522137820720673, -0.2165585309267044, -0.10841057449579239, -0.5398274064064026, 0.3687577247619629, -0.6183553338050842, -0.19906069338321686, 0.3059748709201813, -0.47611096501350403, -0.5818677544593811, -0.3177298307418823, -0.8845640420913696, -0.6262736916542053, -0.13115499913692474, 0.14217709004878998, -0.2012895792722702, -0.5520922541618347, -0.0834926962852478, -0.43190839886665344, 0.5292322635650635, 0.1955001950263977, -0.763808012008667, 0.007298940792679787, 0.2657250761985779, 0.4275014102458954, -0.03804602101445198, 0.03220612555742264, 0.055042363703250885, -0.5174784660339355, -0.1810133308172226, 0.8643034100532532, -0.07951679825782776, -0.10357723385095596, 0.22631733119487762, -0.34655052423477173, -0.015335172414779663, -0.6963125467300415, 0.06758616119623184, -0.8328404426574707, 0.5689017176628113, -0.24584834277629852, -0.43473103642463684, -0.22509914636611938, 0.9426224827766418, -0.7005947828292847, 0.9751474857330322, 0.20661164820194244, -0.7467408180236816, 0.3193170428276062, -0.5038442611694336, -0.11048628389835358, 0.32426244020462036, -0.32881617546081543, -0.21424002945423126, 0.10411712527275085, 0.30793648958206177, 0.390937864780426, -0.726000964641571, 0.3448694348335266, 0.007363927084952593, -0.14727096259593964, 0.45827716588974, -0.1426398605108261, 1.004472017288208, 0.24631625413894653, -0.14157164096832275, 0.08175770193338394, -0.7490805387496948, 0.5857193470001221, 0.22600151598453522, -0.3730742931365967, 0.054481226950883865, 0.009957524947822094, -0.12731559574604034, 0.20988577604293823, 0.3369438350200653, -0.653951108455658, 0.08579865843057632, -0.11154410243034363, 0.7732032537460327, 0.33123019337654114, 0.4865688979625702, 0.4444807767868042, -0.29499998688697815, 1.0147082805633545, -0.16649162769317627, 0.4090419113636017, 0.009396214969456196, -0.6092319488525391, -0.5352407693862915, 0.8655251264572144, 0.8371731042861938, 0.38939526677131653, -1.252580165863037, 0.13728873431682587, 0.2526949644088745, -0.6153149008750916, -0.044939637184143066, -0.10837537795305252, 0.158043771982193, 0.7865071892738342, 0.17098259925842285, 0.10407412797212601, -0.516707181930542, -0.8618389964103699, -0.022259006276726723, -0.4937766194343567, -0.015383993275463581, 0.48354414105415344, 0.2644764184951782, 0.4392761290073395, 0.621605634689331, -0.47504326701164246, 0.4666941165924072, -0.2834082245826721, 0.27294114232063293, 0.08209627121686935, 0.41337019205093384, 0.5134981870651245, -0.9728169441223145, -0.06427456438541412, -0.1970343142747879, -0.8471235036849976, 0.14108507335186005, -0.128659188747406, -0.30441316962242126, -0.2634648382663727, 0.6094407439231873, -0.48260295391082764, 0.16300444304943085, 0.4499821662902832, -0.05597774684429169, 0.7293956875801086, 0.31409209966659546, 0.09102005511522293, -1.2770172357559204, -0.025286678224802017, -0.14553704857826233, 0.35447344183921814, -0.7447904348373413, 0.3045779764652252, 0.21763627231121063, -0.15416260063648224, -0.5352903604507446, 0.26463639736175537, -0.37768295407295227, 0.13475678861141205, -0.10242871940135956, 0.02893468365073204, 0.2114333212375641, 0.3021237552165985, -0.2924400269985199, 0.4871003031730652, 0.37502390146255493, -0.77857506275177, 0.6899407505989075, 0.401951402425766, -0.27626582980155945, 0.1540367156267166, -0.8136168718338013, 0.44475409388542175, -0.25835147500038147, 0.03725791350007057, -1.0802960395812988, -0.08177081495523453, 0.34020769596099854, -0.8819665312767029, 0.048288509249687195, -0.12338212132453918, -0.5276734232902527, -0.3671351373195648, -0.02900337241590023, 0.7941076755523682, 0.5971302390098572, -0.24082094430923462, 0.3497450351715088, 0.04316721111536026, -0.15544788539409637, -0.45129430294036865, -0.6657975912094116, 0.1216377466917038, -0.03646785020828247, -0.7891314625740051, 0.3004254698753357, 0.004180082585662603, -0.14369210600852966, -0.057089757174253464, -0.05381187051534653, -0.30375123023986816, 0.028042148798704147, -0.13826622068881989, 0.10780685395002365, -0.5395877957344055, 0.3594072461128235, -0.06162716820836067, 0.36606550216674805, 0.5507193803787231, -0.4540172517299652, 0.438142329454422, 0.185987189412117, -0.15035244822502136, 0.3025170862674713, 0.4818252921104431, 0.05494633689522743, -0.5770900249481201, 0.1881525218486786, 0.4272410273551941, -0.3814297914505005, -0.4383949935436249, -0.30259066820144653, -0.2577662169933319, -0.3736819922924042, 0.3427932858467102, 0.26826050877571106, -0.8798759579658508, 0.5149332284927368, -0.17777490615844727, 0.23637154698371887, 0.2801121175289154, 0.39358365535736084, -0.258781760931015, 0.9097251296043396, 0.24163073301315308, 0.4438774883747101, 0.5499112606048584, -0.5044846534729004, 0.05524782836437225, -0.8554884195327759, -0.6425472497940063, -0.4345030188560486, -0.7384387254714966, -0.4029940664768219, -0.372108519077301, 0.2814166843891144, 0.1667214184999466, 0.1212567612528801, 0.09844423085451126, -0.57198566198349, 0.36708182096481323, 0.7270260453224182, 0.014957577921450138, -0.09220568835735321, -0.27315986156463623, -0.14737990498542786, 0.22014226019382477, -1.1307181119918823, -0.1968718320131302, 1.355440616607666, -0.07351259142160416, 0.11569546163082123, -0.21701566874980927, 0.9058018922805786, -0.14349745213985443, 0.08720215409994125, -0.9008040428161621, 0.7213984727859497, 0.19406986236572266, -0.977473795413971, -0.3375746011734009, -0.5450549125671387, -1.1671620607376099, 0.043245892971754074, -0.24930572509765625, -0.12890362739562988, 0.2997952401638031, 0.03460689261555672, -0.9759056568145752, 0.3714888393878937, -0.47233155369758606, 0.6032309532165527, -0.5185876488685608, -0.3773580491542816, 0.525050699710846, -0.5874971747398376, 0.6670405864715576, 0.3367888033390045, -0.5178670883178711, 0.06875280290842056, 0.08647853136062622, 0.7560511827468872, 0.034284450113773346, 0.38079899549484253, -0.41342219710350037, 0.1412513256072998, 0.8386602401733398, -0.25901493430137634, -0.2573728859424591, 0.3042367696762085, -0.18474745750427246, -0.01410703081637621, -0.13839249312877655, -0.30226200819015503, -0.8026643395423889, 0.42128270864486694, -0.4875817596912384, -0.33722734451293945, -0.21179106831550598, -0.811427116394043, -0.5569111704826355, 0.25733038783073425, 0.36610573530197144, 0.5094433426856995, -0.16507317125797272, 0.27624982595443726, 0.7271064519882202, -0.5440402626991272, 0.5468695163726807, 0.0446556881070137, -0.29886361956596375, -0.5869863033294678, 0.7613343000411987, 0.16087311506271362, 0.28531235456466675, 0.08505374193191528, -0.00015051318041514605, -0.5969479084014893, -1.043106198310852, -0.5690457820892334, -0.16860146820545197, -0.361582487821579, -0.5947128534317017, -0.3376501798629761, -0.584524929523468, -0.5430454611778259, 0.4991426169872284, 0.022199813276529312, -0.6508612036705017, -0.2201996147632599, -0.07054948061704636, 0.24710991978645325, 0.7534387707710266, 0.47647935152053833, 0.1910848766565323, -0.55021071434021, 0.49354490637779236, 0.7244696617126465, 0.2699110805988312, 0.05300350859761238, 0.05743525177240372, -0.11052292585372925, 0.13451038300991058, -0.5982503890991211, -0.9248549938201904, 0.030854014679789543, 0.0030479226261377335, 0.6270477771759033, 0.18092088401317596, 0.10953760892152786, 0.3051561415195465, -0.14493542909622192, 1.1613950729370117, 0.3494250774383545, -0.1599164456129074, 0.6008577346801758, -0.49444401264190674, 0.47409385442733765, 0.6764305233955383, 0.42928430438041687, -0.5138506293296814, 0.012026367709040642, -0.6268498301506042, -0.9240623116493225, 0.3491957187652588, 0.14769937098026276, 0.24493971467018127, -0.17041544616222382, 0.6795048713684082, -0.04049674794077873, 0.4857122302055359, -0.3477155566215515, -0.15525656938552856, -0.42143604159355164, 0.19066299498081207, 0.25489166378974915, 0.18670591711997986, -0.1584710031747818, -0.24694640934467316, 0.17766569554805756, -0.29983460903167725, 0.472311407327652, 0.21110685169696808, 0.1719365417957306, 0.27443957328796387, 0.16189606487751007, 0.5207349061965942, 0.4929661750793457, -0.007535060402005911, 0.029412882402539253, -0.04865991324186325, -0.1922006607055664, 0.1818869411945343, 0.11418818682432175, -0.6695362329483032, -0.09534202516078949, 0.06332094222307205, 0.4639246463775635, -0.2118987888097763, -0.36018437147140503, 0.30498167872428894, -0.3720381557941437, -1.0595263242721558, -0.3785036504268646, 0.12532253563404083, 0.3594156503677368, 0.26805004477500916, 0.26776671409606934, 0.15493497252464294, 0.3860854506492615, -0.3202836215496063, 0.06417972594499588, 0.3635452389717102, -0.3440513014793396, -0.1235959380865097, 0.6576863527297974, -0.06036989390850067, -0.4047910273075104, 1.053688406944275, -0.3383021950721741, -0.2626117765903473, 1.1035150289535522, 0.38972893357276917, 0.9282969832420349, 0.2546465992927551, 0.6149476766586304, 0.5474296808242798, 0.20964236557483673, 0.12847208976745605, 0.8140353560447693, -0.23872293531894684, -0.8671175241470337, -0.2839709520339966, -0.4188198149204254, -0.25771811604499817, 0.5562072992324829, -0.5908470749855042, -0.2849745750427246, -0.9303010702133179, -0.6814144253730774, -0.061531536281108856, -0.3090062737464905, -0.56171715259552, 0.3282882571220398, 0.37140101194381714, 0.9636178016662598, -0.33913254737854004, 0.16261513531208038, 1.1260095834732056, -0.5651577711105347, -0.8152397274971008, 0.2255786508321762, -0.3374477028846741, -0.47619545459747314, 0.5142344236373901, -0.10738673806190491, 0.2813008725643158, 0.11502109467983246, -0.8612162470817566, -0.7412427663803101, 1.295196771621704, 0.25112712383270264, 0.24794292449951172, -0.45029789209365845, 0.28796231746673584, 0.5023590922355652, -0.31098514795303345, 0.4085632264614105, 0.3903912901878357, 0.38687142729759216, 0.054142214357852936, -0.1836944818496704, -0.10429947823286057, -0.9844968318939209, -0.010772811248898506, 0.17317251861095428, -0.7702351212501526, 0.8815539479255676, 0.07011537998914719, -0.061748720705509186, 0.33399873971939087, 0.57346510887146, 0.33451545238494873, 0.47288620471954346, 0.4541527330875397, 0.3142220079898834, 0.3901873230934143, -0.3256782293319702, 0.7843512892723083, -0.28327304124832153, -0.3075433373451233, 0.6965634226799011, 0.07235989719629288, 0.44152143597602844, 0.5775056481361389, -0.01633601076900959, 0.3151857852935791, 0.8021204471588135, -0.2730354368686676, 0.20474748313426971, 0.6880710124969482, -0.1833864450454712, -0.22377127408981323, -0.38308507204055786, -0.5134657025337219, 0.6215117573738098, 0.00590919004753232, -0.4556316137313843, -0.2831445336341858, -0.2481861561536789, -0.6681232452392578, -0.036977142095565796, -0.37870556116104126, 0.7693645358085632, -0.07725529372692108, -0.9080262780189514, 0.5604457259178162, -0.13513566553592682, 0.506018340587616, -0.5821491479873657, -0.2816254496574402, -0.5287477374076843, -0.4942954182624817, -0.24629047513008118, -0.7171216607093811, 0.018297165632247925, -0.26112380623817444, -0.10696288198232651, -0.6504194736480713, 0.8671334385871887, -0.14599765837192535, -0.3691495954990387, -0.18882356584072113, 0.9667171239852905, -0.08220961689949036, -0.20641861855983734, -0.5709752440452576, -0.6921314001083374, -0.017665687948465347, -0.17089201509952545, 0.20806238055229187, 0.43881088495254517, 0.0746527910232544, 0.3602513372898102, 0.5547618865966797, 0.04035976156592369, 0.7441770434379578, 0.08921117335557938, 0.7361412048339844, -0.7326149344444275, -0.2316473126411438, -0.20669522881507874, 0.8845527768135071, -0.19774934649467468, -0.978460431098938, 0.7373815774917603, 0.4933566153049469, 0.752264678478241, -0.025006050243973732, 0.7635509967803955, -0.18262657523155212, 0.1369880884885788, -0.375705361366272, 0.9300563931465149, -0.5348371267318726, -0.1906936913728714, -0.10361193120479584, -0.8366783261299133, -0.26453110575675964, 0.17885655164718628, -0.20718595385551453, 0.20157580077648163, 0.5066596865653992, 0.5674206018447876, 0.35357508063316345, 0.47339996695518494, 0.2343723326921463, -0.5896313786506653, -0.04258989170193672, 0.5830569267272949, 1.684668779373169, -0.6329107284545898, 0.5310398936271667, -0.36141711473464966, 0.17530645430088043, 0.17798969149589539, -0.5157659649848938, -0.7538094520568848, -0.550964891910553, -0.34096357226371765, -0.11626087129116058, -0.4178527891635895, 0.4541887640953064, 0.6724650859832764, -0.5364730954170227, -0.14941424131393433, -0.4195234775543213, -0.011007685214281082, -0.1001378744840622, -0.24075324833393097, -0.089162677526474, -0.2947123944759369, -0.34101858735084534, 0.3452611267566681, -0.2779567539691925, -0.027003072202205658, -0.30705294013023376, 0.20292212069034576, -0.4294915199279785, -0.22005681693553925, 0.43520209193229675, 0.2729317545890808, -0.21377743780612946, 0.13208654522895813, 0.7124648690223694, 0.17747566103935242, -0.10765019804239273, 0.9741891622543335, -0.7720314264297485, 0.17632798850536346, 1.0056252479553223, 0.9855413436889648, 0.26313820481300354, 0.01069002877920866, 0.5573674440383911, -0.7576767206192017, -0.4961090087890625, 0.8311756253242493, 0.004439037758857012, 0.12570393085479736, -0.3690854609012604, 0.17043666541576385, -0.00783522892743349, -0.5324406623840332, -0.6558904647827148, 0.39482569694519043, -0.6688166260719299, -0.13291168212890625, 0.9848060607910156, 0.13872414827346802, -0.17015333473682404, -0.02337048389017582, 0.025766389444470406, 0.3805854022502899, 0.024981144815683365, 0.609260082244873, 0.5897799730300903, -0.5686091184616089, -0.34395846724510193, -0.7394596934318542, 0.3977281153202057, 0.618825376033783, -0.9363717436790466, -0.28393012285232544, 0.6351693868637085, 0.036085452884435654, 0.3004533648490906, 0.3377949297428131, -0.38564157485961914, 0.5722591876983643, 0.10781834274530411, 0.3246541917324066, -0.3605714738368988, -0.17716233432292938, -0.43334540724754333, 0.7190089821815491, 0.08877699077129364, -0.31934136152267456 ]
http://arxiv.org/abs/2402.18264v1
http://arxiv.org/pdf/2402.18264v1
Retrieval-based Full-length Wikipedia Generation for Emergent Events
2024-02-28T11:51:56
2024-02-28T11:51:56
Jiebin Zhang, Eugene J. Yu, Qinyu Chen, Chenhao Xiong, Dawei Zhu, Han Qian, Mingbo Song, Xiaoguang Li, Qun Liu, Sujian Li
cs.CL
cs.CL
In today's fast-paced world, the growing demand to quickly generate comprehensive and accurate Wikipedia documents for emerging events is both crucial and challenging. However, previous efforts in Wikipedia generation have often fallen short of meeting real-world requirements. Some approaches focus solely on generating segments of a complete Wikipedia document, while others overlook the importance of faithfulness in generation or fail to consider the influence of the pre-training corpus. In this paper, we simulate a real-world scenario where structured full-length Wikipedia documents are generated for emergent events using input retrieved from web sources. To ensure that Large Language Models (LLMs) are not trained on corpora related to recently occurred events, we select events that have taken place recently and introduce a new benchmark Wiki-GenBen, which consists of 309 events paired with their corresponding retrieved web pages for generating evidence. Additionally, we design a comprehensive set of systematic evaluation metrics and baseline methods, to evaluate the capability of LLMs in generating factual full-length Wikipedia documents. The data and code are open-sourced at WikiGenBench.
[ -0.47317132353782654, -0.8543264269828796, 0.6351476907730103, 0.2088494747877121, -0.5743630528450012, -0.1583566814661026, -0.5893834233283997, -0.6747056841850281, 0.4315219223499298, 0.10836433619260788, -0.6788051724433899, -0.30317002534866333, -0.06224486231803894, 0.2927561104297638, -0.9836263656616211, 1.0658400058746338, -0.06546170264482498, -0.26377612352371216, -0.22945375740528107, 0.4297090172767639, 0.27274763584136963, -0.1457464098930359, -0.56544429063797, -0.17309506237506866, 0.6639046669006348, 0.5502885580062866, 0.33467403054237366, 0.4975309669971466, 0.2693970501422882, 0.09545496106147766, -0.052568159997463226, 0.26633405685424805, -0.7879957556724548, 0.3731729984283447, -0.17298853397369385, 0.09872733801603317, 0.007240349426865578, 0.06636695563793182, 0.9227495789527893, 0.5109023451805115, -0.17218056321144104, 0.5494974255561829, -0.0629139095544815, 0.1932949423789978, -0.7610502243041992, -0.18771611154079437, -0.86659836769104, 0.1575518399477005, -0.5711443424224854, -0.12776429951190948, -0.41537415981292725, -0.22729118168354034, 0.0593850202858448, -0.5396376848220825, 0.6252403855323792, -0.13846416771411896, 1.0688886642456055, -0.2553695738315582, -0.1525026112794876, -0.22029797732830048, -0.81829833984375, 0.2862757742404938, -0.49766966700553894, 0.4223599433898926, 0.0022188974544405937, 0.08877982944250107, -0.3793782889842987, -1.0211856365203857, -0.9413126707077026, -0.4843486249446869, 0.36906421184539795, 0.1324198842048645, -0.012001586146652699, -0.2942182719707489, 0.38484320044517517, 0.17407210171222687, -0.467823326587677, 0.26795557141304016, -0.3410378694534302, 0.05105459690093994, 0.5341973304748535, 0.10428845882415771, 0.26830583810806274, -0.709490180015564, -0.2656514048576355, -0.16128382086753845, -0.9803460240364075, -0.33956047892570496, 0.5358867049217224, 0.0946839228272438, -0.051255494356155396, 0.7825997471809387, -0.39423424005508423, 0.3708885610103607, 0.17226934432983398, -0.09405815601348877, 0.1951378583908081, -0.5338876843452454, 0.2353796511888504, 0.004152172710746527, 0.998951256275177, 0.37820130586624146, 0.524204671382904, -0.5259775519371033, 0.07123108953237534, -0.24045544862747192, 0.3424184024333954, -0.9574569463729858, -0.08826933056116104, 0.12432429194450378, -0.1927141547203064, -0.5317716002464294, 0.1354062259197235, -0.9858992099761963, -0.17906713485717773, -0.09776266664266586, 0.24239255487918854, -0.478564977645874, -0.23683325946331024, -0.5764926075935364, -0.32219216227531433, 0.3165952265262604, 0.15250016748905182, -0.5476329922676086, -0.3301811218261719, 0.47247448563575745, 0.8214372992515564, -0.35555005073547363, -0.3878520131111145, -0.662043571472168, 0.4393022656440735, -0.5782940983772278, 0.8177322149276733, -0.17874349653720856, -0.4698657691478729, 0.19628849625587463, -0.1582830250263214, 0.38963353633880615, -0.4567093551158905, 0.7890891432762146, -0.7315468192100525, -0.14374510943889618, -0.0876217857003212, -0.520721971988678, 0.5705803632736206, 0.18593841791152954, -0.6542671322822571, 0.9736937284469604, -0.1837492436170578, -1.0864797830581665, 0.6530206203460693, -0.2734203040599823, -0.7307502627372742, 0.1477580964565277, -0.3417988121509552, -0.4433348774909973, 0.11283852159976959, -0.06151673570275307, 0.21821756660938263, -0.19731326401233673, 0.5108728408813477, -0.40875688195228577, -0.23772796988487244, 0.2384355068206787, -0.5945693850517273, 0.45519763231277466, -0.0002937617537099868, -0.5183352828025818, -0.10451314598321915, -1.1746013164520264, -0.004010707605630159, 0.2517787516117096, -0.5803704261779785, -0.13620944321155548, 0.3575965166091919, 0.15036915242671967, 0.26700901985168457, 0.3380921185016632, -0.9024165272712708, -0.010140842758119106, -0.35215726494789124, -0.22198209166526794, 0.6971858143806458, 0.38868269324302673, 0.28836512565612793, 0.025717316195368767, 0.17471082508563995, 0.10019794851541519, 0.23114460706710815, -0.12023215740919113, -0.32687437534332275, -0.8398038148880005, -0.07714074850082397, 0.4151105582714081, 0.3102329969406128, -0.9710602760314941, 0.4488620162010193, -0.7753041386604309, -0.6535683274269104, -0.1162513867020607, 0.3253399431705475, 0.14695480465888977, 0.5558638572692871, 0.10435383021831512, -0.135020449757576, -0.8276292085647583, -0.7584566473960876, 0.011815113946795464, -0.2334374338388443, -0.4466665983200073, -0.021405044943094254, 0.4629572331905365, -0.13771215081214905, 0.817577064037323, -0.3907953202724457, 0.2768453061580658, 0.01095094345510006, 0.2618812024593353, -0.06211511418223381, 0.0772528424859047, 0.3505622148513794, -0.691426157951355, -0.44420766830444336, -0.15177011489868164, -0.7247126698493958, 0.007718867622315884, -0.022520091384649277, -0.34631749987602234, 0.2139699012041092, 0.3595799207687378, -0.7759073376655579, 0.43257877230644226, 0.19014236330986023, -0.0611458420753479, 0.7866328954696655, -0.14812855422496796, -0.030032120645046234, -1.1061015129089355, 0.33970218896865845, -0.3173997700214386, -0.010462176986038685, -0.5123969912528992, 0.16287046670913696, 0.316270649433136, -0.17752483487129211, -0.3710128366947174, 0.5241267681121826, -0.4167998433113098, -0.06777358800172806, -0.2579975426197052, 0.42241835594177246, -0.16346560418605804, 0.05892803892493248, 0.11066041141748428, 0.5702429413795471, 0.13021966814994812, -0.7045367360115051, 0.48217254877090454, 0.213566392660141, -0.601869523525238, 0.25830116868019104, -0.21121300756931305, -0.11406897008419037, -0.22330930829048157, 0.353219598531723, -0.4471472203731537, -0.5914404392242432, 0.032095473259687424, -0.5029704570770264, 0.40909841656684875, 0.04266336187720299, -0.8031527996063232, -0.5702638030052185, -0.4775638282299042, -0.10664673149585724, 0.4778836667537689, -0.6901476979255676, 0.30076074600219727, 0.09429802000522614, -0.3364713191986084, -0.5840144753456116, -0.22653990983963013, 0.26130610704421997, -0.00678894342854619, -0.691392183303833, 0.3353164494037628, -0.10326560586690903, -0.1879333257675171, 0.1110968217253685, -0.22655364871025085, 0.12019062787294388, 0.005674769636243582, 0.18755565583705902, 0.2807452082633972, -0.1284666508436203, -0.04728178679943085, -0.019247092306613922, 0.25340521335601807, 0.057899463921785355, -0.2804720997810364, 0.42898935079574585, 0.47111329436302185, -0.38392844796180725, -0.17417146265506744, 0.47403058409690857, 0.4338814616203308, -0.22882241010665894, 0.8898982405662537, 0.8107173442840576, -0.27629354596138, -0.32223522663116455, -0.8596614599227905, -0.05557311326265335, -0.3607286214828491, 0.3592342138290405, -0.12770915031433105, -0.5620443820953369, 0.42292729020118713, 0.017890650779008865, 0.3053657114505768, 0.5630351901054382, 0.6297988295555115, -0.2735685110092163, 0.6701778173446655, 0.07327406108379364, 0.20270077884197235, 0.7050015330314636, 0.030251571908593178, -0.004650691524147987, -0.7348307967185974, -0.41027218103408813, -0.5567994713783264, 0.03975413367152214, -0.3656335771083832, -0.5083199739456177, 0.3695571720600128, 0.21619898080825806, -0.1809605211019516, 0.09470199048519135, 0.07319410145282745, 0.3938688337802887, 0.610563337802887, 0.053589820861816406, 0.3147077262401581, 0.4755410850048065, -0.3287815749645233, 0.11824819445610046, -0.6162194609642029, -0.36831796169281006, 1.2610820531845093, -0.3611311912536621, 0.5271676778793335, 0.16867786645889282, 0.7305198311805725, 0.20181140303611755, 0.5829868912696838, -0.26601555943489075, 0.499163419008255, -0.057148873805999756, -0.8020378351211548, -0.5100249648094177, -0.799235463142395, -1.0958939790725708, -0.01867428794503212, -0.339228093624115, -0.479244202375412, -0.005431652534753084, -0.242799311876297, -0.009225032292306423, 0.36246684193611145, -0.3123752176761627, 0.5187036991119385, -0.2891594469547272, -0.3644416034221649, -0.22391603887081146, -0.43820586800575256, 0.517289936542511, -0.4879893660545349, 0.32961851358413696, -0.23457367718219757, 0.08169228583574295, 0.6187467575073242, -0.23794110119342804, 0.5848873257637024, -0.023264335468411446, -0.08890946954488754, 0.5544387698173523, 0.10527109354734421, 0.576819896697998, 0.263363778591156, -0.15012052655220032, -0.13616928458213806, -0.28194645047187805, -0.31354570388793945, -0.21650487184524536, 0.8142040967941284, -0.8278149366378784, -0.44547656178474426, 0.08965087682008743, 0.00385886337608099, -0.29716894030570984, 0.27566131949424744, 0.659600555896759, 0.4142170548439026, -0.7498596906661987, 0.16542892158031464, 0.7850675582885742, -0.19957441091537476, 0.5072247385978699, 0.6759346127510071, -0.18613822758197784, -0.4493879973888397, 0.8571271300315857, 0.2674243748188019, 0.09544897824525833, 0.38204336166381836, -0.20693576335906982, -0.2061222493648529, -0.4846213757991791, -0.7509468793869019, 0.21188461780548096, -0.6680151224136353, -0.36306527256965637, -0.5201617479324341, -0.3940770626068115, -0.484464168548584, 0.02736963890492916, -0.11448448896408081, -0.4067606031894684, -0.3170314133167267, -0.36933016777038574, 0.10743776708841324, 0.5159699320793152, -0.37113168835639954, -0.11135350167751312, -0.8997649550437927, 0.5820295810699463, 0.23944136500358582, 0.4481377601623535, 0.3352057635784149, -0.33981403708457947, -0.3173168897628784, -0.11638208478689194, -0.3922289311885834, -0.9796883463859558, -0.022644976153969765, 0.37439629435539246, 0.7387059926986694, 0.6340387463569641, 0.23533476889133453, 0.5716267228126526, -0.9992378354072571, 0.6959370374679565, 0.3506850004196167, -0.4184345602989197, 0.707869827747345, -0.3371877670288086, 0.18588705360889435, 0.4464937746524811, 0.5006885528564453, -0.3477137088775635, -0.4710823595523834, -0.8873501420021057, -1.0404975414276123, 0.43083953857421875, 0.4157382845878601, 0.29120948910713196, -0.48542919754981995, 0.5926535725593567, 0.041617751121520996, 0.10257137566804886, -0.5135903358459473, -0.035155653953552246, 0.020649004727602005, -0.09625494480133057, -0.03055446222424507, -0.4137544631958008, -0.05095063894987106, 0.03502621129155159, 0.7828368544578552, 0.08713485300540924, -0.13213631510734558, 0.22548864781856537, -0.25678178668022156, -0.2825126349925995, 0.2258746325969696, 0.4014017581939697, 0.835797131061554, -0.20195059478282928, 0.00963811855763197, 0.23327840864658356, -0.5448333621025085, 0.12627996504306793, 0.4007568061351776, -0.6209259629249573, 0.485365629196167, 0.4240025281906128, 0.5636338591575623, 0.47704970836639404, -1.013680338859558, 0.6514605283737183, 0.0196148119866848, 0.03270503133535385, -0.7238306403160095, -0.007763322442770004, 0.2705989480018616, 0.15435214340686798, 0.7619413733482361, -0.6927675008773804, -0.05554085597395897, -0.5044915676116943, 0.3654218316078186, 0.38659432530403137, 0.045847442001104355, -0.24409234523773193, 0.5925947427749634, 0.38368791341781616, 0.033121298998594284, 0.9585608243942261, -0.3605753481388092, -0.09687308967113495, 0.5039514899253845, 0.3601403832435608, 0.45592936873435974, 0.019960667937994003, 0.17599621415138245, 0.5778762102127075, 0.3133485019207001, 0.22221648693084717, 0.045623138546943665, -0.14323464035987854, -0.6219112277030945, -0.5865379571914673, -1.2808763980865479, -0.3760930001735687, 0.27719759941101074, -0.554377019405365, 0.26338499784469604, -0.12252704799175262, -0.35236209630966187, -0.041950520128011703, 0.04807078465819359, -0.5683008432388306, 0.041205279529094696, 0.45662593841552734, 1.3217453956604004, -0.6185881495475769, 0.6242769956588745, 0.4790954291820526, -0.5641522407531738, -0.46250420808792114, 0.25436636805534363, -0.2688816785812378, -0.2020796239376068, 0.35855427384376526, -0.21767233312129974, 0.31091830134391785, -0.11779584735631943, -0.48044490814208984, -0.757336437702179, 0.9050354957580566, 0.38238653540611267, -0.5456230640411377, -0.6360782980918884, 0.039406802505254745, 0.47474661469459534, 0.07747676223516464, -0.11410009860992432, 0.16714736819267273, 0.4367870092391968, 0.25715434551239014, -0.8576512932777405, -0.17657361924648285, -0.07719063013792038, -0.05853543058037758, 0.24568594992160797, -0.5229468941688538, 0.49139848351478577, -0.07478992640972137, -0.4634934961795807, 0.2990894913673401, 0.9865298271179199, 0.49987056851387024, 0.10043934732675552, 0.3828183114528656, 0.5072769522666931, 0.806637167930603, 0.07612870633602142, 1.004631519317627, -0.25040286779403687, 0.14713966846466064, 1.107909917831421, -0.3089534342288971, 1.0931130647659302, 0.38538506627082825, -0.054556407034397125, 0.5298389792442322, 0.5517739653587341, -0.11289017647504807, 0.392465204000473, 0.30189189314842224, -0.6004841923713684, -0.34064289927482605, 0.018466409295797348, -0.41946956515312195, 0.348209947347641, 0.22515562176704407, -0.3092620074748993, -0.602729856967926, -0.07619668543338776, 0.05463595688343048, -0.21864967048168182, -0.3211638629436493, 0.7685865759849548, 0.02132311277091503, -0.815933883190155, 0.16695931553840637, 0.13806912302970886, 0.5868151783943176, -0.7995346188545227, 0.13745030760765076, -0.3092149496078491, -0.06309094280004501, -0.05139707028865814, -0.6323386430740356, 0.015085235238075256, 0.6444391012191772, -0.37468865513801575, 0.24342456459999084, 0.7026888132095337, -0.2885628938674927, -0.6359269618988037, 0.11925295740365982, 0.5723826289176941, 0.2450050562620163, 0.06207803264260292, -0.05722321942448616, 0.04559096321463585, -0.07075514644384384, -0.562074601650238, 0.5088329315185547, 0.699015736579895, -0.10775259882211685, 0.3014835715293884, 0.9087691903114319, 0.24179622530937195, 0.4263306260108948, 0.05986582860350609, 0.7698352336883545, -0.4598897397518158, -0.30676573514938354, -0.7066648006439209, 0.14786866307258606, -0.6054813861846924, -0.16323603689670563, 0.7225834727287292, 0.8801864385604858, 0.8741567134857178, -0.0023939181119203568, 0.786068320274353, -0.2817343473434448, 0.3959295451641083, -0.3557211756706238, 0.7656580805778503, -0.41933050751686096, -0.26450803875923157, -0.09865133464336395, -0.837303876876831, 0.1291647106409073, 0.12553013861179352, 0.2473316490650177, -0.27134525775909424, 0.34027916193008423, 0.3019602596759796, -0.11212693899869919, 0.016481807455420494, 0.18423178791999817, 0.26525354385375977, 0.26733511686325073, 0.21288417279720306, 0.9874030947685242, 0.14823946356773376, 1.0845352411270142, -0.02887336164712906, -0.0868554413318634, -0.3760907053947449, -0.8582310676574707, -0.620388388633728, -0.6334235072135925, -0.01357755996286869, -0.4399012327194214, 0.09038664400577545, 0.6468617916107178, 0.40617427229881287, -0.6295695304870605, 0.0635562539100647, 0.1325581669807434, -0.17898322641849518, 0.3914164900779724, -0.23338238894939423, 0.3707323670387268, -0.4579544961452484, -0.5506322979927063, 0.5139959454536438, -0.04099519923329353, 0.037717849016189575, -0.33676502108573914, 0.10028502345085144, -0.2798765003681183, 0.11574821919202805, 0.5328415036201477, 0.34295451641082764, -0.41688695549964905, -0.4378891885280609, -0.17712658643722534, -0.21913602948188782, -0.2111920863389969, 0.5159899592399597, -0.7000219821929932, 0.17066296935081482, 0.46234995126724243, 0.5844446420669556, 1.0279717445373535, -0.2035195380449295, 0.5216774940490723, -0.9824925065040588, -0.06426563113927841, 0.017031516879796982, 0.3389960527420044, 0.3483425974845886, -0.14427721500396729, 0.47747519612312317, 0.34740346670150757, -0.20636944472789764, -0.8680925369262695, 0.2901841402053833, -0.5302451252937317, -0.32221004366874695, 1.1595261096954346, -0.06312358379364014, -0.1635780781507492, 0.14338478446006775, 0.3728334903717041, 0.6846661567687988, -0.017429200932383537, 0.8856257200241089, 0.7858765721321106, -0.00876101478934288, 0.1796490103006363, -0.5139447450637817, 0.26616594195365906, -0.32147306203842163, -0.6990659832954407, 0.0774521678686142, 0.8165176510810852, 0.6257246136665344, 0.4288100302219391, 0.4920181930065155, 0.029148638248443604, 0.5008000731468201, 0.25328338146209717, 0.20325949788093567, 0.029797660186886787, -0.4378693699836731, 0.3052743375301361, 0.4264022707939148, -0.004287294112145901, 0.31107714772224426 ]
http://arxiv.org/abs/2402.18262v1
http://arxiv.org/pdf/2402.18262v1
Hierarchical Multimodal Pre-training for Visually Rich Webpage Understanding
2024-02-28T11:50:36
2024-02-28T11:50:36
Hongshen Xu, Lu Chen, Zihan Zhao, Da Ma, Ruisheng Cao, Zichen Zhu, Kai Yu
cs.CL
cs.CL, cs.CV
The growing prevalence of visually rich documents, such as webpages and scanned/digital-born documents (images, PDFs, etc.), has led to increased interest in automatic document understanding and information extraction across academia and industry. Although various document modalities, including image, text, layout, and structure, facilitate human information retrieval, the interconnected nature of these modalities presents challenges for neural networks. In this paper, we introduce WebLM, a multimodal pre-training network designed to address the limitations of solely modeling text and structure modalities of HTML in webpages. Instead of processing document images as unified natural images, WebLM integrates the hierarchical structure of document images to enhance the understanding of markup-language-based documents. Additionally, we propose several pre-training tasks to model the interaction among text, structure, and image modalities effectively. Empirical results demonstrate that the pre-trained WebLM significantly surpasses previous state-of-the-art pre-trained models across several webpage understanding tasks. The pre-trained models and code are available at https://github.com/X-LANCE/weblm.
[ -0.4517984390258789, -0.5383062958717346, 0.325818806886673, 0.28525394201278687, -0.5212808847427368, -0.01004026923328638, -0.05344928056001663, -0.46262407302856445, -0.16396628320217133, 0.15172451734542847, -0.5864343047142029, -0.45834681391716003, -0.5794821977615356, -0.10345420986413956, -0.28900474309921265, 0.8294512629508972, 0.22168241441249847, 0.2656448781490326, -0.5930197238922119, 0.05290650576353073, 0.13066042959690094, -0.41734400391578674, -0.3167981505393982, -0.2384575754404068, 0.9909655451774597, -0.06690788269042969, 0.6242364645004272, 0.39260855317115784, 0.597338080406189, 0.4008558988571167, 0.17777366936206818, 0.20209330320358276, -0.30293241143226624, -0.06557825207710266, -0.0226576030254364, -0.33903199434280396, -0.5765519738197327, 0.04081696271896362, 0.5538603663444519, 0.8754715323448181, 0.0911005437374115, 0.055276185274124146, 0.2697891592979431, 0.41900280117988586, -0.875606894493103, 0.3009045720100403, -0.6266575455665588, 0.17482227087020874, -0.23151056468486786, -0.40645670890808105, -0.48133525252342224, 0.11274291574954987, 0.15080568194389343, -1.176969051361084, 0.4585391879081726, 0.01472639199346304, 1.1341667175292969, 0.13656139373779297, -0.5912110209465027, -0.03956546261906624, -0.38327282667160034, 0.6447579264640808, -0.327680766582489, 0.9387354850769043, 0.8555938005447388, 0.011150870472192764, 0.13547588884830475, -0.9655439853668213, -0.7719805836677551, -0.014506238512694836, -0.1672275960445404, 0.3845733106136322, -0.17804408073425293, 0.12488803267478943, -0.018407344818115234, 0.1231796145439148, -0.8734179139137268, 0.23251795768737793, -0.18501776456832886, -0.25566530227661133, 0.17901046574115753, -0.04720298945903778, 0.38853639364242554, -0.33366265892982483, -0.5366796255111694, -0.2533681094646454, -0.12447676062583923, -0.18330629169940948, 0.12873360514640808, 0.09751718491315842, -0.08023665100336075, 0.1275610625743866, 0.06289465725421906, 0.7988985180854797, -0.17425663769245148, -0.22706785798072815, 0.3099747896194458, -0.5591999888420105, -0.27820488810539246, -0.3797696530818939, 0.649307906627655, 0.19313448667526245, 0.18031831085681915, -0.19246135652065277, -0.3047499656677246, 0.06082828342914581, 0.5294176340103149, -0.7566489577293396, -0.41319739818573, -0.12254921346902847, -0.8506336212158203, -0.16230270266532898, 0.193860724568367, -0.6859241127967834, -0.3667035400867462, -0.5988028645515442, 0.5668444037437439, -0.4157997965812683, -0.30469009280204773, -0.1679438352584839, -0.3258681297302246, 0.23040656745433807, 0.7641743421554565, -0.7873319387435913, 0.20335356891155243, 0.1887754201889038, 0.541092574596405, -0.0968148410320282, -0.6365029811859131, -0.5002521276473999, 0.3552927076816559, -0.17987577617168427, 0.7787497639656067, -0.4601347744464874, -0.3084314167499542, 0.03908427059650421, -0.2440454363822937, -0.2322215735912323, -0.3306747376918793, 0.3470920920372009, -0.823978066444397, 0.29413852095603943, 0.2882501482963562, -0.14542990922927856, -0.1601972132921219, 0.6894060373306274, -0.7024268507957458, 0.5196612477302551, -0.07615990936756134, -0.8549363017082214, 0.28008610010147095, -0.5661184787750244, -0.6784486770629883, 0.016318833455443382, -0.13904736936092377, -0.45231547951698303, 0.09344855695962906, 0.33999916911125183, 0.4308468699455261, -0.026902571320533752, -0.13692361116409302, -0.36392074823379517, -0.10470106452703476, 0.12849953770637512, -0.6648533344268799, 0.5367839336395264, 0.25305989384651184, 0.0007704456802457571, 0.4962272644042969, -1.022232174873352, 0.15535028278827667, 0.28437429666519165, -0.6594040989875793, -0.451452374458313, -0.254583477973938, 0.7694412469863892, 0.3200758397579193, 0.3153717517852783, -0.19206540286540985, 0.09364479035139084, 0.15362122654914856, 0.13690879940986633, 0.7135214805603027, -0.26062703132629395, 0.5165595412254333, -0.09567542374134064, 0.3935926854610443, 0.0755249634385109, 0.45403507351875305, -0.472211092710495, -0.15489181876182556, -0.7260610461235046, -0.38182583451271057, 0.24037747085094452, 0.3843042850494385, -0.8888711333274841, 0.29565566778182983, -0.2762787640094757, -0.12885966897010803, -0.09624879062175751, 0.32504957914352417, 0.6640921831130981, 0.6096277236938477, 0.5457192063331604, -0.47349709272384644, -0.5620612502098083, -0.6970794200897217, -0.059851307421922684, 0.008648449555039406, 0.010533212684094906, 0.18525183200836182, 0.47916871309280396, -0.6172897219657898, 0.9042863845825195, -0.3093281686306, -0.4938473105430603, -0.24046753346920013, 0.691167414188385, -0.1634451001882553, 0.5949977040290833, 0.1618770956993103, -1.4959745407104492, -0.44534099102020264, 0.03843611478805542, -0.7688876986503601, 0.1754864603281021, -0.2659526467323303, 0.05707205459475517, -0.20504242181777954, 0.3332769572734833, -0.5969399213790894, 0.5046821236610413, 0.44171321392059326, -0.15308114886283875, 0.463408887386322, -0.4227292537689209, -0.04965671896934509, -1.0631177425384521, 0.058631911873817444, 0.371857225894928, -0.3298579156398773, -0.6339174509048462, 0.16400320827960968, 0.5630342364311218, -0.32381436228752136, -0.4597958028316498, 0.4983922839164734, -0.8525691628456116, -0.5017805695533752, -0.010810798034071922, 0.13901080191135406, 0.5736066699028015, 0.6379116177558899, 0.047635238617658615, 0.517859160900116, 0.28391918540000916, -0.574443519115448, -0.013488177210092545, 0.4201485514640808, -0.1255902200937271, 0.5856558680534363, -0.2868768572807312, 0.08634598553180695, -0.2644982635974884, 0.43471962213516235, -0.9035958647727966, -0.24987749755382538, -0.08561600744724274, -0.3791438341140747, 0.4813721776008606, -0.11080951988697052, -0.5076980590820312, -0.38384783267974854, -0.24720445275306702, 0.33753353357315063, 0.12667424976825714, -0.4787256419658661, 0.9171801805496216, 0.05575183779001236, -0.006077265832573175, -0.5879727005958557, -0.5266961455345154, 0.08578691631555557, 0.2736934423446655, -0.6463913917541504, 0.5804048180580139, -0.09205624461174011, -0.14102359116077423, 0.09545537829399109, -0.10119982808828354, -0.6458091735839844, 0.41677114367485046, 0.33376508951187134, 0.3138487935066223, -0.1725471466779709, 0.19909214973449707, -0.1920793652534485, -0.03377342224121094, -0.2465551197528839, -0.45674148201942444, 0.6822332143783569, -0.2353370040655136, -0.6309546828269958, -0.8023348450660706, 0.28542953729629517, 0.6562635898590088, -0.7998679280281067, 0.43924421072006226, 0.9768535494804382, -0.4031326472759247, 0.10427083820104599, -0.33805543184280396, 0.028263211250305176, -0.45903483033180237, 0.5342555642127991, -0.410864919424057, -0.4100359082221985, 0.2764265239238739, -0.12912815809249878, -0.056258633732795715, 0.393171101808548, 0.25716352462768555, -0.7205975651741028, 1.0340300798416138, 0.7540898323059082, 0.2338278591632843, 0.8123724460601807, -0.3965342044830322, -0.20600222051143646, -0.7105342149734497, -0.5627153515815735, -0.34438493847846985, -0.3585655689239502, -0.004785510245710611, -0.5808665752410889, 0.328725129365921, 0.4977853298187256, 0.04070939123630524, -0.019251395016908646, -0.07858525216579437, 0.31299102306365967, 0.5778160095214844, 0.28851959109306335, 0.3420110046863556, 0.06181596964597702, -0.3343278467655182, 0.32462993264198303, -0.622075080871582, -0.1667856127023697, 0.759604275226593, 0.18559220433235168, 1.071403980255127, 0.01046000700443983, 0.561362624168396, 0.26944953203201294, 0.3113391697406769, -0.6149068474769592, 0.37940454483032227, -0.19399556517601013, -0.34301865100860596, -0.2953879237174988, -0.34409603476524353, -1.3257118463516235, 0.6161941885948181, -0.6446720361709595, -0.3409886658191681, 0.3007228672504425, 0.20834526419639587, -0.11460436880588531, 0.122915118932724, -0.7326236963272095, 1.0491018295288086, -0.7396063208580017, -0.48651283979415894, -0.35509729385375977, -0.7871600985527039, -0.07741237431764603, 0.008869586512446404, 0.3628333508968353, 0.29207688570022583, -0.05220383405685425, 0.45097747445106506, -0.22493520379066467, 0.8826099038124084, -0.025695370510220528, 0.050127070397138596, -0.16934403777122498, -0.03967541828751564, 0.31198179721832275, -0.21754808723926544, 0.17913289368152618, 0.13214269280433655, -0.2350972592830658, -0.6141622066497803, -0.689807653427124, 0.22029905021190643, -0.9387905597686768, -0.38448038697242737, -0.32510337233543396, -0.6006457805633545, -0.290010541677475, 0.625835657119751, 0.34327274560928345, 0.993133008480072, -0.20993447303771973, 0.36664676666259766, 0.6505563259124756, -0.13166917860507965, 0.692107617855072, 0.2622271180152893, -0.3744824528694153, -0.36937302350997925, 0.8907192945480347, -0.11900295317173004, 0.006394659634679556, 0.6485007405281067, 0.14113399386405945, -0.48761889338493347, -0.7761872410774231, -0.5058152079582214, -0.11570195853710175, -0.9441478848457336, -0.03681221604347229, -0.810767412185669, -0.21663032472133636, -0.456127405166626, -0.11177065223455429, -0.021274443715810776, -0.17166845500469208, -0.7192712426185608, 0.153294175863266, -0.25995275378227234, 0.9181204438209534, 0.14698538184165955, 0.25644198060035706, -1.1648119688034058, 0.5830885171890259, 0.6343879103660583, 0.3347374498844147, 0.2695375680923462, -0.24046911299228668, -0.37930378317832947, -0.15876466035842896, -0.3335627317428589, -0.7287564873695374, 0.39026883244514465, 0.3857284188270569, 0.9605998992919922, 0.6612383723258972, -0.27364519238471985, 0.8201237320899963, -0.39452028274536133, 0.48004990816116333, 0.7298039197921753, -0.6744664907455444, 0.5153236389160156, -0.6241142749786377, 0.591416597366333, 0.4283519685268402, 0.7975557446479797, -0.2710913121700287, 0.25576484203338623, -0.34341609477996826, -0.5351433753967285, 0.4118409752845764, 0.11590009927749634, 0.1309197098016739, 0.22279168665409088, -0.026099370792508125, 0.1108887642621994, 0.23115423321723938, -0.9231410622596741, 0.17533358931541443, -0.773679792881012, -0.3627864420413971, -0.024492964148521423, -0.033538661897182465, -0.05974151939153671, -0.3202247619628906, 0.14396345615386963, -0.4066433310508728, -0.05063934624195099, 0.15786416828632355, -1.0509109497070312, 0.1535222977399826, 0.22860397398471832, 0.6209936141967773, 0.9984856843948364, -0.03864674270153046, 0.6259691119194031, -0.2292775809764862, -0.6431761980056763, -0.027134330943226814, 0.27371662855148315, 0.18344680964946747, -0.3012021780014038, 0.850203812122345, 0.8888352513313293, 0.3621283173561096, -0.43476784229278564, 0.6078336834907532, -0.38742098212242126, -0.2793025076389313, -0.08644825965166092, -0.27366599440574646, -0.06717730313539505, 0.18754234910011292, 0.6857540607452393, 0.19780471920967102, 0.09783373773097992, -0.7408732771873474, 0.3900139629840851, 0.46956124901771545, -0.42761266231536865, -0.3588896691799164, 0.5402945876121521, 0.5083112716674805, -0.4477720260620117, 0.7019104957580566, -0.10540419816970825, -0.764726459980011, 0.3811905086040497, 0.8293318748474121, 0.5175310373306274, 0.10510165989398956, 0.2483234703540802, -0.04721928387880325, 0.025403983891010284, 0.40525129437446594, 0.13559748232364655, -0.45512548089027405, -0.7016794681549072, -0.10294414311647415, -0.826503336429596, -0.1469348967075348, -0.058584533631801605, -0.46338438987731934, -0.14155526459217072, -0.5828855633735657, -0.22098968923091888, -0.03737004101276398, -0.10360445082187653, -0.8520883321762085, 0.5337971448898315, 0.42894431948661804, 0.7454560995101929, -0.492533415555954, 1.0168081521987915, 0.7225743532180786, -0.6467611193656921, -0.4475368857383728, 0.30186671018600464, 0.04351189360022545, -0.49135303497314453, 1.0221891403198242, 0.2856123745441437, -0.15507154166698456, 0.22334988415241241, -0.11280685663223267, -0.7043691277503967, 0.9789215922355652, 0.08932516723871231, -0.4329603910446167, -0.30911874771118164, -0.19933243095874786, 0.42023637890815735, -0.06471434980630875, 0.35292303562164307, -0.36789536476135254, 0.4866168200969696, -0.1379353106021881, -0.844646692276001, -0.3729153871536255, -0.645277738571167, 0.17463259398937225, -0.10706128180027008, -0.35382670164108276, 1.1953374147415161, -0.0006547430530190468, -0.08173565566539764, -0.11619085818529129, 0.617194414138794, -0.09069924801588058, 0.18052180111408234, 0.9635421633720398, 0.6175426244735718, 0.9181957840919495, 0.1922738254070282, 1.1582839488983154, 0.05337149649858475, 0.09520557522773743, 1.132603645324707, -0.1140776202082634, 0.7883895039558411, 0.30460062623023987, 0.055652327835559845, 0.7164003252983093, 0.7136489748954773, 0.08659376949071884, 0.5076685547828674, -0.04383397847414017, -0.22308571636676788, -0.5758246779441833, -0.1731201708316803, -0.355320543050766, 0.613423228263855, 0.31416308879852295, -0.2781248986721039, -0.4367852210998535, 0.2927306592464447, -0.49651116132736206, 0.09304697811603546, -0.5049038529396057, 0.8479713201522827, -0.029736414551734924, -0.28384339809417725, 0.4887109398841858, -0.126859650015831, 0.6973081231117249, -0.9010266065597534, -0.015272610820829868, 0.00506783789023757, 0.0890234038233757, -0.41764843463897705, -0.6127137541770935, -0.09165692329406738, -0.20720161497592926, -0.39723244309425354, -0.4881572723388672, 1.1921230554580688, -0.263249933719635, -0.3060244023799896, 0.5586915612220764, 0.6506446599960327, -0.21170668303966522, -0.2043071836233139, -0.825818657875061, 0.09213483333587646, -0.3019293248653412, -0.335269033908844, 0.6939204931259155, 0.32974082231521606, -0.14482972025871277, 0.5448325276374817, 1.0475306510925293, -0.3286018371582031, 0.39182835817337036, 0.5263315439224243, 0.9625835418701172, -0.32087990641593933, -0.6804433465003967, -0.7368354201316833, 0.47369590401649475, -0.30938124656677246, -0.18060302734375, 0.6311734318733215, 0.5660417675971985, 0.7889516353607178, -0.1273447424173355, 0.6376136541366577, 0.2999989986419678, -0.34700968861579895, -0.5484122037887573, 1.181451439857483, -1.0286515951156616, -0.4948585033416748, -0.33424365520477295, -1.0556644201278687, -0.5060749053955078, 0.7877930998802185, 0.0007582202088087797, -0.05595799535512924, 0.671661913394928, 0.4119184613227844, -0.3319699168205261, -0.11634009331464767, 0.5010964870452881, -0.017436929047107697, 0.18095028400421143, 0.06505446135997772, 0.9170677661895752, 0.03972376883029938, 0.7838605046272278, -0.1967187374830246, -0.19630523025989532, -0.24718362092971802, -0.877937912940979, -0.9062156677246094, -0.8037944436073303, 0.18546675145626068, -0.06438443809747696, -0.06915362924337387, 0.7942547798156738, 1.2758296728134155, -0.31222763657569885, 0.004331408999860287, -0.023410411551594734, 0.10968954116106033, -0.05620501562952995, -0.09007512778043747, 0.22395937144756317, -0.4346091151237488, -0.4417356848716736, 0.38021203875541687, 0.43417367339134216, 0.32238176465034485, -0.3403434455394745, -0.05869264900684357, -0.7469056248664856, -0.16804489493370056, 0.7376290559768677, 0.06955613195896149, -0.563721239566803, -0.020520096644759178, -0.10396289825439453, -0.46122342348098755, 0.38112902641296387, 0.8024353981018066, -0.5247971415519714, 0.5420800447463989, 0.569435179233551, 0.9351119995117188, 0.7156676054000854, 0.10208828002214432, 0.2518937587738037, -0.9347171783447266, 0.33448168635368347, 0.19925355911254883, 0.6383998990058899, 0.39420953392982483, -0.2157045304775238, 0.27823135256767273, 0.3792017102241516, -0.05847000703215599, -0.3745366930961609, 0.2513970136642456, -1.112699031829834, -0.7908002138137817, 0.6676385998725891, -0.33782875537872314, -0.23366419970989227, -0.20152908563613892, -0.1359241008758545, 0.47158896923065186, 0.0009480188600718975, 0.3485814034938812, 0.22850370407104492, -0.029131626710295677, -0.5616669058799744, -0.16637980937957764, 0.1958790421485901, 0.30589932203292847, -1.1400914192199707, -0.36103734374046326, 0.559116542339325, -0.13018544018268585, 0.5362904071807861, 0.732492983341217, 0.16298723220825195, 0.3284187912940979, 0.061584681272506714, 0.20639216899871826, -0.34054675698280334, -0.7232962846755981, -0.18064679205417633, 0.3962993323802948, -0.08670971542596817, -0.21506106853485107 ]
http://arxiv.org/abs/2402.18258v1
http://arxiv.org/pdf/2402.18258v1
A BiRGAT Model for Multi-intent Spoken Language Understanding with Hierarchical Semantic Frames
2024-02-28T11:39:26
2024-02-28T11:39:26
Hongshen Xu, Ruisheng Cao, Su Zhu, Sheng Jiang, Hanchong Zhang, Lu Chen, Kai Yu
cs.CL
cs.CL
Previous work on spoken language understanding (SLU) mainly focuses on single-intent settings, where each input utterance merely contains one user intent. This configuration significantly limits the surface form of user utterances and the capacity of output semantics. In this work, we first propose a Multi-Intent dataset which is collected from a realistic in-Vehicle dialogue System, called MIVS. The target semantic frame is organized in a 3-layer hierarchical structure to tackle the alignment and assignment problems in multi-intent cases. Accordingly, we devise a BiRGAT model to encode the hierarchy of ontology items, the backbone of which is a dual relational graph attention network. Coupled with the 3-way pointer-generator decoder, our method outperforms traditional sequence labeling and classification-based schemes by a large margin.
[ -0.06811854988336563, -0.6912641525268555, 0.5084059834480286, 0.2013319432735443, -0.08731439709663391, -0.20033034682273865, -0.13081094622612, -0.22938135266304016, -0.17073789238929749, 0.6841681003570557, -0.7402491569519043, -0.4263366162776947, -0.4116933345794678, -0.21638274192810059, -0.1213255301117897, 1.1582670211791992, 0.27584582567214966, 0.08324363827705383, 0.06691179424524307, -0.2794386148452759, -0.5519730448722839, -0.24302515387535095, -0.4464452862739563, -0.2533856928348541, 0.5285278558731079, 0.6595791578292847, 0.8521007895469666, 0.3609505295753479, 0.5434244871139526, 0.21428140997886658, -0.0019860626198351383, 0.20168758928775787, -0.6299267411231995, 0.051735445857048035, -0.3132932782173157, -0.034086477011442184, -0.6079740524291992, -0.19209270179271698, 0.8979515433311462, 0.8474562168121338, -0.2968567907810211, 0.03464068844914436, 0.04791253060102463, 0.30088528990745544, -0.5542920827865601, 0.4620932936668396, -0.4530838429927826, -0.31490057706832886, -0.020893435925245285, -0.21095308661460876, -0.763929545879364, 0.1114109680056572, 0.3872877061367035, -0.875227153301239, -0.08367842435836792, 0.18650655448436737, 0.9313152432441711, 0.43082180619239807, -0.3632071316242218, -0.3916020095348358, -0.8924213647842407, 0.6117385029792786, -0.5195780396461487, 0.6162182092666626, 0.4382787346839905, 0.21163126826286316, -0.04181424155831337, -0.7037060856819153, -0.6205694079399109, 0.056109607219696045, -0.3043537139892578, 0.2247270941734314, -0.30116355419158936, 0.2595774233341217, -0.03639296814799309, 0.13916249573230743, -0.9397377967834473, -0.09832436591386795, -0.18440884351730347, 0.0927785336971283, 0.2472531646490097, 0.2632451355457306, 0.3868587613105774, -0.377407044172287, -0.8471139669418335, -0.016860006377100945, -0.6535724401473999, 0.09400584548711777, -0.008665313944220543, 0.5260201096534729, -0.05814199522137642, 0.7085834741592407, -0.15222284197807312, 0.9550028443336487, -0.02643890120089054, -0.1656273901462555, 0.0879514217376709, -0.8776537179946899, -0.4470829367637634, 0.23412959277629852, 0.7650374174118042, 0.1986195296049118, 0.0531357116997242, -0.25699737668037415, 0.14353838562965393, -0.18265461921691895, 0.29004544019699097, -0.5595320463180542, 0.008121776394546032, 0.11017344892024994, -0.35421279072761536, 0.03213033825159073, -0.04440269619226456, -0.41716212034225464, -0.018279612064361572, -0.24985656142234802, 0.3776443898677826, -0.6364825963973999, -0.19260041415691376, 0.610436737537384, 0.1575879603624344, 0.597131073474884, 0.12302233278751373, -1.125105857849121, 0.29279664158821106, 0.5296058654785156, 0.6061044931411743, 0.28969326615333557, -0.4832513928413391, -0.5551778078079224, 0.7372922897338867, -0.08921777456998825, 0.8117324113845825, -0.532157838344574, -0.1829073280096054, -0.29055798053741455, -0.26137784123420715, -0.3470381498336792, 0.1703614741563797, 0.48904627561569214, -0.668580949306488, 0.30870088934898376, 0.10006590932607651, -0.28889334201812744, -0.518690824508667, 0.2598399817943573, -0.18969516456127167, 0.8565600514411926, 0.2210593968629837, -0.7902995347976685, 0.15950731933116913, -0.867678701877594, -0.45611923933029175, 0.3401529788970947, -0.17280073463916779, -0.18119874596595764, -0.0277312770485878, 0.05819723382592201, 0.4140416979789734, -0.2313772290945053, 0.395955353975296, -0.20380094647407532, -0.21085111796855927, 0.11162221431732178, -0.45564907789230347, 0.7364048361778259, -0.03735034912824631, -0.15542063117027283, 0.27884650230407715, -0.5318089723587036, 0.002190318889915943, -0.056995656341314316, -0.35376742482185364, -0.5391831398010254, -0.009637556038796902, 0.02760924957692623, 0.3628767728805542, 0.10936374217271805, -0.6703502535820007, 0.15451446175575256, -0.5592960119247437, 0.2322506159543991, 0.5337634682655334, -0.04131927341222763, 0.4673480987548828, 0.0542876236140728, 0.23091882467269897, 0.030452579259872437, 0.22493566572666168, -0.1443599909543991, -0.6681731343269348, -0.7216188907623291, -0.11683783680200577, -0.062344904989004135, 0.6711369156837463, -0.6124308109283447, 0.364316463470459, -0.7420477271080017, -0.024257801473140717, -0.5122396945953369, -0.14538322389125824, 0.7116989493370056, 0.40296947956085205, 0.26112106442451477, -0.17833757400512695, -0.1991974413394928, -1.0330594778060913, -0.07399290800094604, -0.4887935519218445, 0.13680478930473328, 0.4827762842178345, 0.26904383301734924, -0.3977809250354767, 1.0025750398635864, -0.48303160071372986, -0.3866322338581085, -0.39000725746154785, 0.06906525790691376, 0.048242464661598206, 0.09610392898321152, 0.22325216233730316, -0.8545399904251099, -0.39690065383911133, 0.48141372203826904, -0.6793287396430969, 0.23389768600463867, -0.0422062985599041, -0.31294459104537964, -0.28653833270072937, 0.19787029922008514, -0.6784130930900574, 0.6115677952766418, 0.5132054686546326, -0.4828384518623352, 0.2157919853925705, -0.24314650893211365, -0.030842630192637444, -1.1008003950119019, -0.13414746522903442, -0.3025069832801819, -0.2263146936893463, -1.109521508216858, -0.3910250663757324, 0.0666247084736824, -0.07047891616821289, -0.5091650485992432, 0.30502599477767944, -0.41252952814102173, -0.38392388820648193, -0.13667701184749603, 0.4460987150669098, 0.3694925904273987, 0.8707271814346313, 0.16156521439552307, 0.6291326284408569, 0.47996270656585693, -0.477273166179657, 0.1713460236787796, 0.817173182964325, -0.4565807282924652, 0.4585449695587158, -0.5550193190574646, 0.2379510998725891, -0.36890408396720886, 0.2139115184545517, -1.317466378211975, -0.342765212059021, 0.39177456498146057, -0.467134028673172, 0.3539317846298218, -0.3467765748500824, -0.26172614097595215, 0.07222913205623627, 0.12963397800922394, 0.3756125569343567, -0.013016968965530396, -0.4422125816345215, 0.7563331723213196, 0.6014719605445862, -0.4228123724460602, -0.7740123867988586, -0.6416711807250977, 0.033013880252838135, -0.022867616266012192, -1.033424973487854, 0.2556992471218109, 0.18626147508621216, -0.06512589752674103, 0.07974070310592651, 0.06395165622234344, 0.020571228116750717, -0.1330578476190567, 0.317215234041214, 0.40735822916030884, -0.45412686467170715, 0.28719696402549744, 0.055416397750377655, -0.2938631474971771, -0.14449916779994965, -0.5492338538169861, 0.4900067150592804, -0.4994661211967468, -0.42613983154296875, -0.7049757242202759, 0.7348239421844482, 0.6779043674468994, -0.4229675531387329, 0.7637872099876404, 0.5038287043571472, -0.20653089880943298, 0.042168378829956055, -0.024005962535738945, 0.13913241028785706, -0.3790619671344757, 0.4645789861679077, -0.5724098682403564, -0.8819431066513062, 0.08228205889463425, 0.14783161878585815, 0.28502601385116577, 0.1683482974767685, 0.9365100264549255, -0.16727575659751892, 1.0801470279693604, 0.48419907689094543, 0.24525853991508484, 0.29251667857170105, -0.26732319593429565, 0.7612799406051636, -1.0199999809265137, -0.4736761748790741, -0.47537681460380554, 0.017540721222758293, -0.23822550475597382, -0.4437161087989807, 0.5146968960762024, -0.029584703966975212, -0.08430661261081696, 0.42111319303512573, -0.3567497432231903, 0.27015477418899536, 0.2729750871658325, -0.09719223529100418, 0.4384326934814453, 0.015315094962716103, 0.11072106659412384, 0.2902240455150604, -0.9057935476303101, -0.6010754108428955, 0.6039324998855591, 0.3408993184566498, 0.8752721548080444, 0.6625474691390991, 0.1564880609512329, -0.11464216560125351, 0.24259129166603088, -0.8355351090431213, 0.2604791820049286, -0.11755600571632385, -0.761085033416748, -0.5827188491821289, -0.38958001136779785, -0.9843854308128357, 0.6834312677383423, 0.2649845778942108, -0.9951815009117126, 0.44335564970970154, 0.034181106835603714, -0.6587534546852112, 0.11086216568946838, -0.9584927558898926, 1.1691738367080688, -0.27278000116348267, -0.29244065284729004, -0.09853828698396683, -1.0304452180862427, 0.4568718373775482, 0.3575579822063446, 0.45554405450820923, -0.4157378673553467, 0.2019156813621521, 0.6493352055549622, -0.043395575135946274, 0.7587687373161316, -0.07797247171401978, -0.027123579755425453, 0.14134283363819122, -0.09018382430076599, 0.37025782465934753, 0.19639451801776886, 0.05431479960680008, 0.007434840314090252, -0.056261807680130005, -0.4125105142593384, -0.5757768750190735, 0.5318629741668701, -0.7277833819389343, -0.2896476984024048, -0.26654887199401855, -0.8831826448440552, -0.38997575640678406, 0.26912233233451843, 0.37031081318855286, 0.9410563707351685, -0.3621998727321625, 0.13472889363765717, 0.6843696236610413, -0.011652507819235325, 0.23893257975578308, 0.4249940514564514, -0.18679644167423248, 0.03256139159202576, 0.9127151966094971, -0.19852671027183533, 0.4979422688484192, 0.5528090000152588, 0.22766542434692383, -0.5893312692642212, -0.4956265985965729, -0.7914886474609375, 0.18282337486743927, -0.8670982122421265, -0.12845923006534576, -0.8721153140068054, -0.16991998255252838, -0.6302216053009033, -0.005072401370853186, -0.37664520740509033, -0.4245181083679199, -0.033081527799367905, -0.04270847141742706, 0.21535387635231018, 1.1459559202194214, 0.0778065100312233, 0.723265528678894, -0.7030422687530518, 0.4526957869529724, 0.30793705582618713, 0.40361160039901733, -0.2808014750480652, -0.6387318968772888, -0.3587796688079834, 0.06814504414796829, -0.07006938010454178, -0.8080320358276367, 0.23438969254493713, 0.2813718914985657, 0.5950708985328674, 0.6290099024772644, -0.044859372079372406, 0.6804033517837524, -0.45254257321357727, 0.47408610582351685, 0.2616508901119232, -0.7489519715309143, 0.4919735789299011, -0.5376838445663452, 0.3689216673374176, 0.6951600909233093, 0.15925469994544983, -0.8033717274665833, -0.16953054070472717, -0.4205699563026428, -0.6388218998908997, 1.3147389888763428, 0.46515047550201416, 0.026424197480082512, 0.08650161325931549, 0.13082163035869598, 0.0017163401935249567, -0.13932673633098602, -0.593441367149353, -0.3373689353466034, -0.3287395238876343, -0.22010259330272675, -0.09321398288011551, -0.23118889331817627, -0.018321750685572624, -0.06624538451433182, 0.6646389365196228, 0.04399881884455681, 0.28514716029167175, 0.15476569533348083, -0.3403208553791046, 0.14966826140880585, 0.6080721616744995, 0.575300395488739, 0.515633761882782, -0.26082679629325867, 0.403693825006485, -0.15200740098953247, -0.5934498906135559, 0.22143997251987457, 0.03564681485295296, -0.13950717449188232, -0.10876527428627014, 0.1459372490644455, 1.228358507156372, 0.4814370274543762, -0.3735632598400116, 0.543996274471283, -0.34743544459342957, 0.07514555752277374, -0.07691207528114319, -0.10082133114337921, 0.1607215255498886, -0.13546234369277954, -0.24698199331760406, 0.12716299295425415, 0.362644225358963, -0.5030321478843689, 0.17806249856948853, 0.24373866617679596, -0.7709217071533203, -0.32376596331596375, 0.3209092319011688, 0.18180450797080994, -0.36219996213912964, 0.6790524125099182, -0.3285858631134033, -0.4500059485435486, 0.0819396898150444, 0.42381787300109863, 0.6442998051643372, -0.3310473561286926, 0.22667689621448517, 0.18921829760074615, 0.2734070122241974, 0.31460294127464294, 0.18068696558475494, -0.20129665732383728, -1.1377897262573242, -0.46405428647994995, -0.6884111762046814, -0.37843602895736694, -0.04176446422934532, -0.7828779220581055, -0.032786086201667786, -0.12982282042503357, -0.011319384910166264, 0.41571512818336487, -0.4173440635204315, -0.5049803256988525, -0.1702556163072586, 0.05142718553543091, 0.36973458528518677, -0.6386133432388306, 1.1791516542434692, 0.6236248016357422, -0.24838288128376007, -0.8707858324050903, -0.16629496216773987, 0.10223038494586945, -0.7186846137046814, 0.47313421964645386, 0.13727255165576935, -0.8025847673416138, 0.28867238759994507, -0.11682742834091187, -0.9165841341018677, 0.7048476338386536, -0.05606376752257347, -0.267782062292099, -0.2616060972213745, 0.029235245659947395, 0.1163182258605957, -0.5845615267753601, 0.17382647097110748, 0.8972558379173279, 0.5745750665664673, 0.1225590705871582, -0.7084168195724487, -0.38475850224494934, -0.3259830176830292, 0.024662675336003304, 0.2929719090461731, -0.40817978978157043, 0.6326377987861633, -0.3203426003456116, -0.3588887155056, -0.20854146778583527, 0.5130993723869324, 0.15379782021045685, 0.1799391806125641, 0.5658658742904663, 0.43836522102355957, 0.5287685394287109, -0.016994534060359, 1.159947156906128, 0.009201083332300186, 0.5377713441848755, 1.388034462928772, -0.46328482031822205, 0.6383856534957886, 0.4683431088924408, 0.0706617459654808, 0.6339802742004395, 0.41027265787124634, 0.5375633239746094, 0.7263060808181763, -0.18894711136817932, -0.3978355824947357, -0.3684786260128021, -0.2710685133934021, -0.02083936706185341, 0.8539602160453796, 0.8949752449989319, 0.13678929209709167, -0.4225437045097351, 0.2062925547361374, -0.1294674426317215, -0.291781485080719, -0.054209765046834946, 1.1514766216278076, -0.17558419704437256, -0.6867862343788147, 0.41642898321151733, -0.00019256143423262984, 0.07729874551296234, -0.6577176451683044, 0.03691237419843674, 0.18586552143096924, 0.267583429813385, -0.16086161136627197, -1.053270697593689, 0.3380059003829956, -0.19122794270515442, -0.23700843751430511, -0.34015607833862305, 0.7330936789512634, -0.7070356011390686, -0.2681172490119934, 0.42762163281440735, 0.39822861552238464, 0.4403100311756134, 0.13078628480434418, -0.5365132689476013, -0.04916328191757202, 0.02687685564160347, -0.35165935754776, -0.013970914296805859, 0.35629719495773315, -0.041029468178749084, 0.5045562982559204, 0.51031893491745, -0.3296259641647339, 0.3407573103904724, 0.35409146547317505, 0.7446244955062866, -0.3818477690219879, -0.5789543390274048, -0.5892463326454163, 0.5721354484558105, 0.027186695486307144, -0.3010351061820984, 0.6721505522727966, 0.5233675241470337, 0.6806769371032715, 0.33423179388046265, 0.842805802822113, -0.06965374201536179, 0.32622030377388, -0.40571823716163635, 0.41808244585990906, -0.4320952594280243, 0.20281921327114105, 0.030162418261170387, -0.46023058891296387, -0.326419860124588, 0.828039288520813, -0.34130826592445374, -0.18524040281772614, 0.586547315120697, 0.9015300273895264, -0.3615742325782776, 0.3647761940956116, 0.47300758957862854, 0.191132590174675, 0.18670079112052917, 0.7303656935691833, 1.0359445810317993, -0.38809704780578613, 0.634285032749176, -0.18141081929206848, -0.4556853175163269, -0.32214802503585815, -0.22509916126728058, -0.6547102928161621, -0.6571143865585327, 0.051427602767944336, -0.2456350028514862, 0.003382215043529868, 0.5854597687721252, 0.8705885410308838, -0.5685639977455139, -0.3167169392108917, 0.2155197411775589, 0.256247878074646, -0.06811384111642838, -0.1066012755036354, 0.5147733092308044, -0.3279031217098236, -0.4831664264202118, 0.6422401666641235, 1.0074175596237183, -0.18223848938941956, -0.23677027225494385, -0.39097148180007935, -0.5731390714645386, 0.04233790561556816, 0.7969847321510315, -0.08033330738544464, -0.9002171158790588, -0.5262357592582703, 0.1444571167230606, -0.2702735662460327, 0.27611488103866577, 1.039567232131958, -0.3078654706478119, 0.5208016633987427, 0.5083524584770203, 0.4069026708602905, 0.671107292175293, 0.12558546662330627, 0.3665560483932495, -0.7044999599456787, 0.18775536119937897, 0.21336381137371063, 0.358468234539032, 0.1910477876663208, -0.3757748305797577, 0.23577772080898285, -0.12017856538295746, -0.49550074338912964, -0.5081843733787537, 0.47573140263557434, -1.4062775373458862, -0.32878413796424866, 1.1422655582427979, -0.21196673810482025, -0.3598465621471405, -0.9483105540275574, -0.18315115571022034, 0.365051805973053, -0.3141178786754608, 0.028183748945593834, 0.48799794912338257, -0.487881600856781, -0.17647244036197662, -0.6325719356536865, 0.2211081087589264, 0.3328361213207245, -0.747710108757019, 0.6179971694946289, 0.39305534958839417, 0.0675320252776146, 0.21513062715530396, 0.8420094847679138, -0.1693345308303833, 0.4461301863193512, -0.03990666940808296, 0.10730437934398651, 0.17824064195156097, -0.699076771736145, -0.2441718727350235, 0.08212705701589584, -0.04154171049594879, -0.3589673936367035 ]
http://arxiv.org/abs/2402.18252v1
http://arxiv.org/pdf/2402.18252v1
Towards Generalist Prompting for Large Language Models by Mental Models
2024-02-28T11:29:09
2024-02-28T11:29:09
Haoxiang Guan, Jiyan He, Shuxin Zheng, En-Hong Chen, Weiming Zhang, Nenghai Yu
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have demonstrated impressive performance on many tasks. However, to achieve optimal performance, specially designed prompting methods are still needed. These methods either rely on task-specific few-shot examples that require a certain level of domain knowledge, or are designed to be simple but only perform well on a few types of tasks. In this work, we attempt to introduce the concept of generalist prompting, which operates on the design principle of achieving optimal or near-optimal performance on a wide range of tasks while eliminating the need for manual selection and customization of prompts tailored to specific problems. Furthermore, we propose MeMo (Mental Models), an innovative prompting method that is simple-designed yet effectively fulfills the criteria of generalist prompting. MeMo distills the cores of various prompting methods into individual mental models and allows LLMs to autonomously select the most suitable mental models for the problem, achieving or being near to the state-of-the-art results on diverse tasks such as STEM, logical reasoning, and commonsense reasoning in zero-shot settings. We hope that the insights presented herein will stimulate further exploration of generalist prompting methods for LLMs.
[ -0.5628918409347534, -1.0595669746398926, 1.017728328704834, 0.2097586989402771, -0.4033045172691345, -0.38058382272720337, -0.44771403074264526, 0.16385343670845032, 0.14282530546188354, 0.3851245641708374, -0.9393284916877747, -0.5509145855903625, -0.10398554801940918, -0.00030424894066527486, -0.4299660325050354, 0.9765384793281555, 0.06312653422355652, -0.08500911295413971, -0.18242521584033966, 0.20456553995609283, -0.6961997747421265, -0.4482359290122986, -0.7886506915092468, -0.34182634949684143, 0.7829415202140808, 0.35216575860977173, 0.30415329337120056, 0.5394399762153625, -0.016545603051781654, 0.21363084018230438, -0.13403554260730743, 0.14999033510684967, -0.29668015241622925, 0.3306457996368408, -0.26176953315734863, -0.7251046299934387, -0.3333367109298706, -0.054519571363925934, 0.45538952946662903, 0.5218843817710876, -0.33309659361839294, 0.2259475737810135, 0.14861999452114105, 0.6482805609703064, -0.6338340640068054, -0.014349138364195824, -0.7555777430534363, -0.03498261794447899, 0.02289845049381256, -0.25457528233528137, -0.5448647141456604, -0.3226812779903412, 0.03754841163754463, -0.7019473314285278, 0.39813852310180664, 0.17294935882091522, 0.5108041763305664, 0.12808792293071747, -0.051240094006061554, -0.4052908718585968, -0.8244202733039856, 0.7265065312385559, -0.5302085876464844, 0.09523096680641174, 0.4241257607936859, 0.3644137680530548, -0.2014576494693756, -0.2728542983531952, -0.551455020904541, -0.445101261138916, 0.15182112157344818, 0.022192589938640594, -0.4546578824520111, 0.2554049491882324, 0.52774578332901, 0.054726455360651016, -0.663104772567749, 0.07620415091514587, -0.11949942260980606, 0.03523198887705803, 0.2837585508823395, 0.4218398630619049, 0.34599894285202026, 0.22211912274360657, 0.0543251633644104, 0.12747852504253387, -0.8134488463401794, 0.11375223100185394, 0.38149699568748474, 0.3725460469722748, -0.1066678836941719, 0.4651181697845459, -0.346082866191864, 0.9198719263076782, 0.322642982006073, 0.10291975736618042, -0.42616963386535645, -0.2350032478570938, -0.2400943636894226, -0.36918574571609497, 0.7141770124435425, 0.2704658806324005, 0.9545401930809021, -0.1466381698846817, -0.46336305141448975, 0.25793179869651794, 0.11864278465509415, -0.6790373921394348, -0.4423755407333374, 0.1840563863515854, -0.10528751462697983, -0.022542167454957962, -0.3336893320083618, -0.8228757977485657, -0.24206459522247314, -0.676473081111908, 0.4845616817474365, -0.35114914178848267, -0.055630072951316833, 0.3325585126876831, -0.14439955353736877, -0.054567791521549225, 0.5429433584213257, -1.5320590734481812, 0.2887793481349945, 0.5968515872955322, 0.7289800047874451, 0.05467389151453972, -0.04853622242808342, -0.6469318270683289, 0.6019864678382874, -0.5019119381904602, 0.9961191415786743, -0.7189489006996155, -0.7449550032615662, 0.13760016858577728, -0.5207170844078064, -0.12835612893104553, -0.5636675953865051, 0.3316997289657593, -0.298541396856308, 0.4346862733364105, -0.5844941735267639, -0.42350542545318604, -0.19280731678009033, 0.32660526037216187, -0.3564939796924591, 0.6659972071647644, -0.087459996342659, -0.41590505838394165, 0.22107787430286407, -0.8957772850990295, -0.19259993731975555, 0.11893697082996368, -0.37800508737564087, 0.25910988450050354, 0.5622411370277405, 0.6105944514274597, 0.5586557388305664, -0.7382861971855164, 0.5013309717178345, -0.23054823279380798, -0.4402144253253937, 0.02867579087615013, -0.4679868817329407, 0.5574737191200256, 0.17473651468753815, -0.15312205255031586, 0.24812841415405273, -0.3937165141105652, 0.2649688422679901, 0.3158133924007416, -0.4482979476451874, -0.41624245047569275, -0.10301986336708069, -0.3474825918674469, 0.03441784530878067, 0.015427879057824612, -0.05326637625694275, 0.5513224601745605, -0.27390411496162415, 0.3643719553947449, 0.9500908851623535, 0.033328067511320114, 0.5528914332389832, -0.5484201908111572, 0.7113423943519592, -0.13008004426956177, 0.19067654013633728, -0.4132063388824463, -0.38658764958381653, -0.6737515926361084, -0.5878292918205261, -0.04700413718819618, 0.7294529676437378, -0.2953321039676666, 0.21223421394824982, -0.20992498099803925, -0.07854265719652176, -0.4496075510978699, 0.5557923913002014, 0.30529966950416565, 0.3934421241283417, 0.3256949186325073, -0.10024182498455048, -0.4075995981693268, -0.9452572464942932, -0.3470430076122284, -0.2591229975223541, -0.42587941884994507, 0.3808349072933197, 0.2496822476387024, -0.1175839975476265, 1.1448606252670288, -0.5409330725669861, -0.1469527930021286, -0.449457585811615, 0.13233274221420288, 0.4987630844116211, 0.14693006873130798, 0.4300936162471771, -0.40700677037239075, -0.45096322894096375, -0.24421562254428864, -0.6870916485786438, -0.4483877122402191, -0.05009119212627411, -0.03476344421505928, 0.11229370534420013, 0.6290063858032227, -0.9902607798576355, 0.10957613587379456, 0.14792773127555847, 0.027332881465554237, 0.782293438911438, -0.2633432447910309, -0.15143075585365295, -0.9278049468994141, 0.328511506319046, 0.07573995739221573, 0.1520325094461441, -0.8664520978927612, -0.01053088903427124, 0.05534347519278526, -0.08986534923315048, -0.3844853639602661, 0.9510022401809692, -0.47599607706069946, 0.44544562697410583, -0.1824953258037567, 0.09765144437551498, -0.010688798502087593, 0.5435678958892822, -0.24959853291511536, 0.7284122109413147, 0.5237520933151245, -1.0010956525802612, 0.34779036045074463, -0.05181249603629112, -0.18646308779716492, 0.8376151919364929, -0.9033392667770386, 0.35539621114730835, -0.5095774531364441, 0.2510804831981659, -1.0239403247833252, -0.39551278948783875, 0.3674040138721466, -0.10898487269878387, 0.35288333892822266, -0.14433884620666504, -0.4111717939376831, -0.7734498977661133, -0.21482883393764496, 0.11768501996994019, 0.6063508987426758, -0.3599008321762085, 0.533163845539093, -0.09000717103481293, -0.4183999300003052, -0.38554471731185913, -0.37633270025253296, 0.020140353590250015, -0.3738611936569214, -0.3765803873538971, 0.0638771504163742, -0.6338911652565002, -0.32416224479675293, -0.1574525535106659, -0.0029182485304772854, 0.0830618292093277, 0.13823828101158142, 0.22280937433242798, 0.6866070628166199, -0.2790047824382782, 0.11581119894981384, 0.06086236238479614, -0.17011475563049316, 0.1380118876695633, -0.5161389708518982, 0.693979799747467, -0.0032633936498314142, -0.43656831979751587, -0.5909965634346008, 0.5580799579620361, 0.3509976267814636, -0.1520777940750122, 0.3142629563808441, 0.22683651745319366, -0.28879597783088684, -0.44359493255615234, -0.9567314982414246, -0.49034181237220764, -0.49829399585723877, 0.09280268102884293, -0.5366631150245667, -0.9884976148605347, 0.3422394096851349, -0.13106516003608704, 0.20675291121006012, 0.017572373151779175, 0.7443355321884155, 0.023094644770026207, 1.359073519706726, 0.6091436743736267, -0.24107478559017181, 0.5833689570426941, -0.15710143744945526, 0.14382028579711914, -0.7235419750213623, -0.03589499369263649, -0.5711284875869751, -0.17698419094085693, 0.2641479969024658, -0.3189815580844879, 0.1148962527513504, 0.229952871799469, -0.41912147402763367, -0.1362069547176361, -0.5885608196258545, 0.8472107648849487, 0.5941691398620605, -0.2859165370464325, 0.11873720586299896, 0.2904032766819, -0.7506985068321228, 0.11376192420721054, -0.6622414588928223, -0.5909956097602844, 0.8162261843681335, 0.12111477553844452, 0.981257438659668, -0.011206913739442825, 0.8104133009910583, 0.032058387994766235, 0.30231693387031555, -0.9792484045028687, 0.8874797224998474, 0.17358608543872833, -0.8792930841445923, -0.28205224871635437, -0.2777905762195587, -0.9532147645950317, 0.17525888979434967, 0.20586833357810974, -1.1075090169906616, 0.02208016999065876, 0.4507065415382385, -0.7014203667640686, 0.08282335847616196, -0.6012573838233948, 0.6330856680870056, -0.04950236156582832, -0.07203850895166397, -0.3169543445110321, -0.3075035810470581, 0.4513252079486847, 0.0025188885629177094, 0.3270584046840668, -0.21369503438472748, -0.24375195801258087, 0.4497637450695038, 0.09470962733030319, 1.0424370765686035, -0.40709787607192993, -0.060118936002254486, 0.3104020357131958, 0.34594711661338806, 0.7704532742500305, -0.3366864025592804, 0.05596097931265831, -0.5187324285507202, -0.2926468849182129, -0.2118321806192398, -0.7608476281166077, 0.6168525815010071, -0.4096848964691162, -1.166872262954712, 0.1330224722623825, -0.8187127113342285, -0.37550070881843567, 0.3079422116279602, 0.4060525894165039, 0.43710848689079285, -0.2243354618549347, -0.15618951618671417, 0.9797901511192322, -0.045618146657943726, 0.558391273021698, 0.636324405670166, -0.37846803665161133, -0.4415348470211029, 0.8574156761169434, 0.1140754371881485, 0.30798643827438354, 0.32328367233276367, 0.4024156928062439, -0.43295636773109436, -0.6580261588096619, -0.4901280701160431, 0.4995162785053253, -0.8039889335632324, 0.047400038689374924, -0.73635333776474, 0.16339431703090668, -0.39215803146362305, -0.38277801871299744, 0.10261295735836029, -0.21890585124492645, -0.4668181836605072, 0.06037040054798126, 0.16137689352035522, 0.802790105342865, -0.02001168765127659, 0.24081067740917206, -0.6710365414619446, 0.4259188175201416, 0.8016420602798462, 0.051893413066864014, 0.40159517526626587, -0.6074827909469604, -0.08251089602708817, -0.021938931196928024, -0.44431164860725403, -0.6756529808044434, 0.23430848121643066, 0.14334805309772491, 0.9519754648208618, 0.6546380519866943, 0.11396650969982147, 0.6310393810272217, -0.7230808138847351, 0.6014173626899719, 0.41582149267196655, -0.9462165236473083, 0.8655611276626587, -0.7434214353561401, 0.5690800547599792, 0.45284411311149597, 0.3899567127227783, -0.8399467468261719, -0.4626782536506653, -0.42794743180274963, -0.7955236434936523, 0.42899104952812195, -0.47584986686706543, 0.47920531034469604, -0.3065027892589569, 0.4291004538536072, -0.06966942548751831, 0.3010793924331665, -0.45706215500831604, -0.04645320400595665, 0.12238360941410065, -0.35340502858161926, 0.0767078697681427, -0.22798363864421844, -0.41017356514930725, -0.10157064348459244, 0.5368072986602783, -0.4646407663822174, 0.3754718005657196, 0.13018323481082916, -0.05587349832057953, -0.3319273591041565, 0.527889609336853, 0.9383598566055298, 0.7717258334159851, -0.046159204095602036, 0.010732267051935196, 0.3622264564037323, -0.1072346642613411, 0.48332709074020386, -0.28922519087791443, -0.4386521279811859, -0.13777726888656616, -0.0693303793668747, 0.8076411485671997, 0.12530994415283203, -0.3829687237739563, 0.276923269033432, -0.03679225966334343, -0.3909735381603241, 0.0011534225195646286, 0.5029160380363464, 0.40965381264686584, 0.2506923973560333, 0.5305076837539673, -0.30311498045921326, -0.1448420137166977, -0.38664934039115906, -0.13891282677650452, 0.6580917835235596, -0.21419450640678406, -0.44932201504707336, 0.8160768151283264, -0.011330093257129192, -0.5508198738098145, 0.6012910604476929, -0.13860216736793518, -0.2495051920413971, 0.25064530968666077, 0.847545862197876, 1.0119653940200806, -0.43326717615127563, 0.3948984146118164, 0.3404601216316223, 0.14090099930763245, -0.4685957133769989, 0.23790724575519562, -0.13073231279850006, -0.46556881070137024, -0.4574942886829376, -0.4197064936161041, -0.5629069805145264, 0.2944451570510864, -0.6574898958206177, 0.12461695075035095, -0.8842892050743103, -0.1274072527885437, -0.040844112634658813, -0.09721272438764572, -0.6656969785690308, 0.1037556454539299, 0.28622227907180786, 1.1686514616012573, -0.685880184173584, 0.896564245223999, 0.6049994826316833, -0.1876801699399948, -0.894223153591156, -0.12032793462276459, 0.30378782749176025, -0.9638614654541016, 0.4705123007297516, 0.2341102510690689, -0.021523788571357727, 0.14836344122886658, -0.6785948276519775, -0.4667604863643646, 0.8462258577346802, 0.7992584705352783, -0.7210768461227417, -0.4028034210205078, -0.10858041793107986, 0.3880341053009033, -0.46565771102905273, 0.11618442088365555, 0.36043575406074524, 0.6121224164962769, 0.2228153944015503, -0.5432985424995422, 0.28412097692489624, -0.25243526697158813, 0.2552509009838104, 0.1435621678829193, -0.42172783613204956, 0.7642655968666077, -0.47838911414146423, -0.2828020751476288, 0.3031473457813263, 0.46281734108924866, 0.4208458364009857, 0.12123674154281616, 0.5322715044021606, 0.38789868354797363, 1.155012607574463, 0.1867665946483612, 1.158395528793335, -0.14282739162445068, -0.09606829285621643, 0.9625018835067749, -0.28225570917129517, 0.7506721615791321, 0.51319420337677, -0.10656628012657166, 0.34173962473869324, 0.430514931678772, -0.012816302478313446, 0.5048696398735046, 0.42521417140960693, -0.6396527886390686, -0.42813625931739807, -0.21896187961101532, -0.1915145218372345, -0.12988556921482086, 0.6159611940383911, -0.13870881497859955, -0.22907724976539612, -0.07268816232681274, 0.10114916414022446, -0.16410620510578156, -0.35963836312294006, 0.7485180497169495, 0.2642905116081238, -1.0276429653167725, 0.7539174556732178, -0.23268942534923553, 0.6306635141372681, -0.7399110794067383, 0.3441295325756073, -0.3379785120487213, 0.031386177986860275, 0.21379493176937103, -0.5751314759254456, 0.014268124476075172, -0.05295496806502342, -0.6084864139556885, -0.2052076756954193, 0.5346991419792175, -0.4368591010570526, -0.1435575783252716, 0.1893213987350464, 0.6209768652915955, 0.04395754262804985, -0.29658281803131104, -0.718772828578949, -0.11379972845315933, -0.005119984969496727, -0.28875038027763367, 0.4283090829849243, 0.5646014213562012, -0.15901152789592743, 0.9108371138572693, 0.8882633447647095, 0.18710309267044067, -0.27964407205581665, 0.2860431373119354, 0.8132423162460327, -0.975886881351471, -0.4856627583503723, -1.2344659566879272, 0.40577930212020874, 0.1678871214389801, -0.18789489567279816, 0.5676090717315674, 0.10519400238990784, 0.46142175793647766, -0.25345245003700256, 0.9134363532066345, 0.40808746218681335, 0.4438016414642334, -0.5025847554206848, 0.3992038369178772, -0.34270790219306946, 0.21569159626960754, -0.17827878892421722, -0.9761860370635986, -0.4427592158317566, 0.5063962340354919, -0.4913577437400818, 0.052509475499391556, 0.5770085453987122, 1.1692036390304565, 0.035821426659822464, 0.15058301389217377, 0.5861932635307312, -0.016470974311232567, 0.49523335695266724, 0.7017943263053894, 1.0574616193771362, 0.43490850925445557, 0.5455074310302734, 0.20518657565116882, -0.16692572832107544, -0.40451058745384216, -0.8572971224784851, -1.1845699548721313, -0.3170214891433716, 0.005739687010645866, 0.03966108337044716, 0.16730943322181702, 1.1630213260650635, 0.5412707924842834, -0.694808304309845, -0.31776392459869385, -0.13965488970279694, 0.0661078691482544, 0.02056894823908806, -0.11954790353775024, -0.0479888916015625, -0.5142161846160889, -0.7266843318939209, 0.45239338278770447, 0.40090394020080566, 0.44743192195892334, -0.2248983532190323, -0.0838732048869133, 0.022490134462714195, 0.5308066010475159, 0.33778470754623413, 0.4851374328136444, -0.9562346339225769, -0.10434150695800781, 0.034588947892189026, -0.27531078457832336, -0.11978218704462051, 1.0689218044281006, -0.7556424140930176, 0.285183310508728, 0.4182022213935852, 0.3878481388092041, 0.2197129875421524, -0.1459205150604248, 0.6609445810317993, -0.5415776968002319, 0.020734107121825218, 0.29791900515556335, 0.1711772084236145, 0.2630413770675659, -0.1471477895975113, 0.30161920189857483, 0.14075811207294464, -0.4580278694629669, -0.8180184960365295, 0.34576940536499023, -0.607025146484375, -0.21981921792030334, 1.1535269021987915, -0.13312892615795135, -0.320599228143692, -0.12143900990486145, -0.5008130669593811, -0.09461386501789093, -0.5844430923461914, 0.6962141394615173, 0.8487537503242493, -0.005606491584330797, -0.22341100871562958, -0.8478596806526184, 0.3907594382762909, 0.6471688151359558, -0.6131789088249207, 0.31995323300361633, 0.46506252884864807, 0.3495562970638275, -0.004980379715561867, 0.8182327747344971, 0.2923862636089325, 0.3611706793308258, -0.19659413397312164, -0.1409376710653305, -0.19199298322200775, -0.5519147515296936, -0.4797089695930481, 0.19578613340854645, 0.2030407339334488, 0.17723190784454346 ]
http://arxiv.org/abs/2402.18243v2
http://arxiv.org/pdf/2402.18243v2
Learning or Self-aligning? Rethinking Instruction Fine-tuning
2024-02-28T11:16:00
2024-03-02T08:28:14
Mengjie Ren, Boxi Cao, Hongyu Lin, Cao Liu, Xianpei Han, Ke Zeng, Guanglu Wan, Xunliang Cai, Le Sun
cs.CL
cs.CL
Instruction Fine-tuning~(IFT) is a critical phase in building large language models~(LLMs). Previous works mainly focus on the IFT's role in the transfer of behavioral norms and the learning of additional world knowledge. However, the understanding of the underlying mechanisms of IFT remains significantly limited. In this paper, we design a knowledge intervention framework to decouple the potential underlying factors of IFT, thereby enabling individual analysis of different factors. Surprisingly, our experiments reveal that attempting to learn additional world knowledge through IFT often struggles to yield positive impacts and can even lead to markedly negative effects. Further, we discover that maintaining internal knowledge consistency before and after IFT is a critical factor for achieving successful IFT. Our findings reveal the underlying mechanisms of IFT and provide robust support for some very recent and potential future works.
[ -0.29618382453918457, -0.7119712233543396, 0.4407206177711487, -0.13817434012889862, 0.016428794711828232, 0.12232384830713272, -0.2948766052722931, -0.24581049382686615, -0.37886810302734375, 0.3340103328227997, -0.7016937732696533, -0.2741827368736267, -0.614829421043396, -0.08855284005403519, -0.37007075548171997, 1.11223304271698, -0.24915356934070587, -0.21044564247131348, -0.04951855540275574, 0.09527209401130676, -0.7999287247657776, -0.14260882139205933, -0.7985536456108093, -0.49901679158210754, 0.34555235505104065, 0.9150893688201904, 0.36723077297210693, 0.7602059245109558, 0.4990313947200775, 0.2374563068151474, 0.2692788243293762, 0.22859837114810944, -0.7489334344863892, -0.08324309438467026, -0.30375972390174866, -0.4602372944355011, -0.1432596892118454, 0.02894178405404091, 0.8781255483627319, 0.5758558511734009, -0.10302449017763138, 0.17652881145477295, 0.6139429211616516, 0.6804468035697937, -0.38786745071411133, 0.2819311320781708, -0.4812529981136322, -0.15139605104923248, -0.06227691471576691, -0.2274959236383438, -0.0766194760799408, -0.3016575574874878, 0.15742461383342743, -0.4048894941806793, 0.1588641256093979, -0.17234398424625397, 0.7059629559516907, 0.6125102639198303, -0.42428383231163025, -0.27955254912376404, -0.6343528032302856, 0.6581227779388428, -0.7836641073226929, 0.6567180156707764, 0.33024516701698303, -0.1433131843805313, -0.41054368019104004, -0.3832985460758209, -0.40714195370674133, -0.19360357522964478, -0.033267792314291, -0.11633075773715973, 0.0706200897693634, 0.182437464594841, 0.10630083829164505, 0.4431300461292267, 0.05708694085478783, 0.34542644023895264, -0.560237467288971, -0.18576093018054962, 0.5020912289619446, 0.12764163315296173, 0.2207159698009491, 0.10741714388132095, -0.4944547712802887, 0.1261158287525177, -0.9776220917701721, 0.509649395942688, 0.3148893713951111, 0.45774081349372864, -0.1482410877943039, 0.43336567282676697, -0.2412220984697342, 0.677345871925354, 0.543851912021637, -0.28062209486961365, -0.29495465755462646, -0.38238656520843506, -0.06867692619562149, 0.19554835557937622, 0.4711812734603882, 0.4087558388710022, 0.18540522456169128, -0.1254386156797409, -0.48142144083976746, -0.1789383441209793, 0.32790282368659973, -0.8314761519432068, -0.29934847354888916, -0.11832533776760101, -0.177682027220726, -0.22618959844112396, 0.09784317761659622, -0.3329014778137207, -0.1321965754032135, -0.8574888110160828, 0.5731687545776367, -0.7138442993164062, -0.2400592863559723, 0.20384475588798523, 0.20594578981399536, 0.46332815289497375, 0.17441745102405548, -1.1199973821640015, 0.2728444039821625, 0.8743456602096558, 0.4483603537082672, -0.10636597126722336, -0.5159109234809875, -0.23095446825027466, 0.13340330123901367, -0.43174904584884644, 0.7982655763626099, -0.49567461013793945, -0.3369886577129364, -0.0010649942560121417, 0.16577284038066864, -0.012878138571977615, -0.42181509733200073, 0.3093934655189514, -0.4028683006763458, 0.2179107815027237, -0.591426432132721, -1.0631754398345947, -0.14763085544109344, 0.35993990302085876, -0.30295491218566895, 0.7550755739212036, 0.07565514743328094, -0.5019764304161072, 0.5331841111183167, -0.7253263592720032, -0.5339733362197876, -0.17186659574508667, -0.32120072841644287, -0.2076670527458191, 0.27510377764701843, -0.0936669260263443, 0.4451051950454712, -0.37373971939086914, 0.21641668677330017, -0.10270624607801437, -0.47386986017227173, 0.20270852744579315, -0.44571274518966675, 0.5371686220169067, 0.014380690641701221, -0.5842060446739197, 0.0500129796564579, -0.6472316384315491, 0.12572915852069855, -0.10788040608167648, -0.5790812969207764, -0.30531027913093567, -0.03427889943122864, -0.7866610288619995, 0.06035890430212021, 0.3211023509502411, -0.4286491572856903, 0.4826946258544922, -0.2705744504928589, 0.37482163310050964, 1.0356438159942627, 0.20821161568164825, 0.551565945148468, -0.3085932433605194, 0.49680185317993164, -0.01440284214913845, 0.06642749160528183, -0.1815369427204132, -0.18471385538578033, -0.8422061204910278, 0.029076388105750084, 0.24389678239822388, 0.29864537715911865, -0.6383169293403625, 0.0808660089969635, -0.09611675888299942, -0.1684693545103073, -0.7105143666267395, 0.40489351749420166, 0.7741475105285645, 0.49923214316368103, 0.32238972187042236, -0.037834662944078445, -0.4122928977012634, -1.0092997550964355, -0.47512897849082947, 0.08981607109308243, 0.2336319386959076, -0.2859305143356323, 0.26231101155281067, -0.26872333884239197, 0.8769733905792236, -0.32685691118240356, -0.30928805470466614, -0.048408105969429016, 0.08871041983366013, -0.06827198714017868, 0.7463210225105286, 0.21024209260940552, -0.27061495184898376, -0.6213880181312561, 0.0447675995528698, -0.5214182138442993, 0.006658769678324461, -0.1509573757648468, -0.041848476976156235, 0.007021774537861347, 1.047404408454895, -0.04234470799565315, 0.47381970286369324, 0.3455134928226471, -0.10145418345928192, 0.5303383469581604, -0.3323059380054474, 0.31304654479026794, -0.7949559092521667, -0.4776513874530792, 0.06976643204689026, 0.096289724111557, -0.5897600650787354, 0.12340401858091354, 0.41602540016174316, 0.20629160106182098, -0.18281327188014984, 0.4860154688358307, -0.5186981558799744, 0.31655848026275635, -0.39125216007232666, -0.021081868559122086, -0.1129458025097847, 0.4261963665485382, -0.4746008515357971, 1.0580368041992188, 0.30719271302223206, -0.7190134525299072, -0.304582417011261, 0.036114368587732315, -0.4437989890575409, 0.6378362774848938, -0.4235266149044037, 0.1185963898897171, 0.007954063825309277, -0.2079121619462967, -1.1050941944122314, -0.2260797917842865, 0.04069308936595917, -0.07158254832029343, 0.7390920519828796, -0.18597730994224548, -0.428676038980484, -0.1587354838848114, -0.1946195811033249, 0.16690382361412048, 0.32967087626457214, -0.576783299446106, 0.3664477467536926, 0.3496740758419037, 0.17129181325435638, -0.4259326159954071, -0.388727605342865, -0.18488916754722595, -0.2262357920408249, -0.7037889957427979, 0.44329237937927246, -0.09964455664157867, -0.32203009724617004, 0.009184971451759338, -0.36337292194366455, 0.03201967105269432, 0.3167470097541809, -0.032332129776477814, -0.15017221868038177, -0.45351922512054443, 0.36159366369247437, 0.49822455644607544, -0.4243389964103699, 0.07703527808189392, -0.5099946856498718, 0.19092056155204773, -0.41156548261642456, -0.46247684955596924, -0.8534572124481201, 0.2656606137752533, 0.43228161334991455, -0.24087344110012054, 0.6270920634269714, 0.486124724149704, -0.09568312764167786, -0.2687639594078064, -0.58671635389328, -0.5452841520309448, -0.5234872102737427, 0.33859336376190186, -0.425226628780365, -1.0048240423202515, 0.29065003991127014, -0.42675265669822693, 0.3084954023361206, 0.18122051656246185, 0.4335103929042816, -0.2843712866306305, 0.8696284890174866, 1.113768458366394, 0.08675463497638702, 0.8727766871452332, -0.3341958820819855, 0.5306174159049988, -0.9862975478172302, -0.028604935854673386, -0.09566397219896317, -0.4357874393463135, -0.45634526014328003, -0.2276974320411682, 0.2042180597782135, 0.2699100971221924, -0.5190885066986084, 0.07637231796979904, -0.4059647023677826, 0.7717025279998779, 0.5894747376441956, 0.14362995326519012, 0.3562546968460083, -0.12770579755306244, -0.0971595048904419, -0.015399884432554245, -0.8483027219772339, -0.3388092815876007, 0.9017803072929382, 0.15988951921463013, 1.0433751344680786, 0.16351504623889923, 0.897075891494751, 0.09904934465885162, 0.45707565546035767, -0.5907233357429504, 0.3237363398075104, -0.23466329276561737, -0.4719698429107666, -0.37073180079460144, -0.05882648751139641, -0.9730793833732605, -0.032305460423231125, -0.04350170120596886, -0.6837140917778015, 0.22472447156906128, 0.4374535381793976, -0.5592705607414246, 0.24272748827934265, -1.2236970663070679, 1.0156073570251465, -0.3993195593357086, -0.44116267561912537, -0.24264051020145416, -0.45975998044013977, 0.43563786149024963, 0.07096200436353683, 0.24535705149173737, -0.058197010308504105, 0.0420856811106205, 0.36872193217277527, -0.2108568698167801, 1.2428877353668213, -0.05656205862760544, -0.5102383494377136, 0.1589936465024948, 0.29707276821136475, 0.4724985361099243, -0.020803626626729965, 0.006596146617084742, 0.022595945745706558, 0.06096698343753815, -0.36911624670028687, -0.6301273107528687, 0.8450474143028259, -0.9286106824874878, -1.1008481979370117, 0.10422913730144501, -0.6761811375617981, -0.3613548278808594, 0.2705373167991638, 0.13195912539958954, 0.4926382899284363, -0.1273658573627472, 0.27918916940689087, 0.9703918695449829, 0.2129279226064682, 0.009438649751245975, 0.6688922047615051, -0.18602168560028076, -0.006958468351513147, 1.1087273359298706, 0.40044569969177246, 0.7184986472129822, 0.32357028126716614, 0.4999639689922333, -0.0728774145245552, -0.6015142202377319, -0.13381928205490112, 0.16953974962234497, -0.8296997547149658, -0.32403936982154846, -0.22148019075393677, -0.16206525266170502, -0.3739650845527649, -0.24154582619667053, -0.40551233291625977, 0.05484802648425102, -0.40602922439575195, -0.2231043577194214, 0.30722516775131226, 0.9019481539726257, -0.2782233953475952, 0.39392685890197754, -0.7402902245521545, -0.10445568710565567, 0.43604835867881775, 0.5319477915763855, 0.20142480731010437, -0.6816819310188293, -0.6459172964096069, 0.2003822922706604, -0.38101479411125183, -0.5882911682128906, -0.15723906457424164, 0.276307612657547, 0.6712034344673157, 0.48299452662467957, -0.01672886312007904, 0.942172110080719, -0.506354570388794, 0.4716016948223114, -0.09886854141950607, -0.9358256459236145, 0.3009556233882904, -0.3136264979839325, 0.5387460589408875, 0.6403641104698181, 0.3197365403175354, -0.5276235342025757, -0.3917696177959442, -0.638712465763092, -0.7312453389167786, 0.6837005615234375, -0.1550949662923813, 0.1775864064693451, -0.07813221216201782, 0.7017038464546204, 0.23938266932964325, 0.11211300641298294, -0.44653329253196716, -0.03207765147089958, -0.04619748890399933, -0.36258697509765625, 0.1426662653684616, -0.43759962916374207, -0.33113807439804077, -0.38718417286872864, 0.8188130855560303, -0.329190731048584, -0.0015176337910816073, 0.11015491187572479, -0.22904476523399353, -0.2768460810184479, 0.138824000954628, 0.5869284868240356, 0.5024211406707764, 0.17521677911281586, -0.010076544247567654, 0.18338793516159058, -0.08390966057777405, 0.010976264253258705, -0.1990104764699936, -0.17590881884098053, -0.8910138607025146, 0.36631885170936584, 0.7532302141189575, 0.7943305969238281, -0.2551431357860565, 0.16303282976150513, -0.07015898823738098, -0.1556677371263504, -0.11194175481796265, 0.3949248492717743, -0.04962524399161339, 0.4933665692806244, -0.021818306297063828, -0.05962750315666199, -0.17863789200782776, -0.6216768026351929, 0.4106507897377014, 0.44826316833496094, -0.5439625382423401, -0.34801816940307617, 0.3619880676269531, 0.19616706669330597, -0.5428911447525024, 0.5580360889434814, -0.26805028319358826, -0.5726768970489502, 0.4223580062389374, 0.6799185872077942, 0.5663010478019714, -0.4675821363925934, 0.04113290086388588, 0.3633194863796234, 0.5346817374229431, -0.009983415715396404, 0.19828134775161743, -0.10974779725074768, -0.8911245465278625, -0.4597141444683075, -0.3484657406806946, -0.13274350762367249, -0.13695544004440308, -0.605900764465332, 0.2824920117855072, -0.5374797582626343, 0.2422144114971161, -0.2498749941587448, -0.011739621870219707, -0.7038374543190002, -0.10252436250448227, 0.033817604184150696, 0.566536545753479, -0.6213492751121521, 0.9540504217147827, 0.4230145514011383, -0.5011812448501587, -1.2043447494506836, 0.4655795097351074, 0.25902432203292847, -1.0751737356185913, 0.5633785724639893, -0.021052351221442223, -0.21992626786231995, 0.36133623123168945, -0.5426182150840759, -1.259451150894165, 0.9521244764328003, 0.31142792105674744, -0.5987027883529663, -0.06351202726364136, -0.05406535044312477, 0.3345630466938019, -0.30176591873168945, -0.35094597935676575, 0.9110177159309387, 0.5830868482589722, -0.19846931099891663, -0.727747917175293, 0.16991521418094635, 0.16908931732177734, -0.17601412534713745, 0.522842288017273, -0.7913418412208557, 0.8052218556404114, -0.47147494554519653, -0.3372761309146881, -0.09612712264060974, 0.67978435754776, -0.23863449692726135, -0.12258033454418182, 0.4160095751285553, 0.4785560965538025, 0.8720118999481201, 0.017305010929703712, 1.0187110900878906, -0.5770188570022583, 0.2656647562980652, 1.2195391654968262, 0.13251814246177673, 0.4601137638092041, 0.48625051975250244, -0.09755375236272812, 0.4283018708229065, 0.6297211050987244, 0.2945738732814789, 0.5096895098686218, 0.04637689143419266, -0.14146959781646729, -0.41689184308052063, 0.25036683678627014, -0.3033117651939392, 0.43161433935165405, 0.6313366293907166, -0.013130612671375275, -0.324103981256485, 0.034150801599025726, 0.10016979277133942, 0.06456706672906876, -0.26643526554107666, 0.9398307800292969, 0.09738244116306305, -0.9042314291000366, 0.7013295888900757, -0.2362031489610672, 0.5419522523880005, -0.5672164559364319, -0.18160930275917053, -0.22693195939064026, 0.48764699697494507, -0.26654255390167236, -0.8942004442214966, 0.2757784128189087, -0.3369307219982147, -0.3588179647922516, -0.25081729888916016, 0.6476268172264099, -0.7778046131134033, -0.22524048388004303, 0.227445587515831, 0.4597839117050171, -0.19808487594127655, 0.19023166596889496, -0.7587776184082031, 0.07786236703395844, 0.45299383997917175, 0.043239593505859375, 0.5932627320289612, 0.9802684187889099, -0.04643338918685913, 0.5476530194282532, 0.6256763339042664, -0.4693731367588043, 0.1106126457452774, -0.14683747291564941, 0.8556604385375977, -0.5550980567932129, -0.2439889758825302, -0.7275673151016235, 0.7103891372680664, 0.22715505957603455, -0.39576855301856995, 0.9563587307929993, 0.08111998438835144, 1.016417145729065, 0.19627745449543, 0.5347146987915039, 0.06897317618131638, 0.2748510539531708, -0.5610873699188232, 0.5281522274017334, -0.7623998522758484, 0.4296231269836426, -0.07330220192670822, -0.4197314977645874, -0.14274460077285767, 0.5558416843414307, -0.5839462280273438, -0.2233208864927292, 0.674919068813324, 0.7591633796691895, -0.02281085215508938, 0.2073824107646942, 0.5123222470283508, 0.45164161920547485, 0.6641286611557007, 0.08534694463014603, 0.7762901782989502, -0.18961621820926666, 0.2766793966293335, -0.46327903866767883, -0.32369446754455566, -0.2145579308271408, -0.9520748853683472, -0.6945009231567383, -0.7150781750679016, -0.16383647918701172, -0.09579670429229736, 0.1995691955089569, 1.075806975364685, 0.38698744773864746, -0.5777429342269897, -0.33448636531829834, -0.2144523710012436, 0.42971888184547424, -0.32432764768600464, -0.15818344056606293, 0.35321998596191406, -0.8628263473510742, -0.4512479603290558, 0.40898895263671875, 0.295955091714859, -0.02472086064517498, -0.3457585871219635, 0.08740503340959549, -0.13426204025745392, 0.017746025696396828, 0.6722300052642822, 0.47135236859321594, -0.6391746401786804, -0.6649429798126221, -0.09220153838396072, 0.2398947924375534, 0.1585371494293213, 1.0361452102661133, -0.5467938184738159, 0.4754592478275299, 0.10597444325685501, 0.8421328663825989, 0.059577032923698425, -0.30936211347579956, 0.8064530491828918, -0.6576991677284241, -0.08914404362440109, -0.017051557078957558, 0.3614340126514435, 0.24372510612010956, -0.4869001805782318, 0.251288503408432, -0.0026728687807917595, -0.801856279373169, -0.7297430634498596, 0.39986371994018555, -0.3298356831073761, -0.1676439791917801, 0.9651966691017151, -0.009893841110169888, -0.2092130482196808, -0.1242174282670021, -0.2482263445854187, 0.17024670541286469, -0.35681581497192383, 1.1461344957351685, 0.7342444062232971, -0.2568814754486084, -0.15647916495800018, -0.34829553961753845, 0.6568287014961243, 0.33803117275238037, -0.628971517086029, 0.2569561302661896, 0.226279154419899, 0.6350100636482239, -0.023737715557217598, 0.5767256617546082, 0.10170876979827881, 0.21864980459213257, -0.19015978276729584, 0.006936564110219479, 0.0662197396159172, -0.5458174347877502, -0.21598289906978607, -0.23853924870491028, 0.30368080735206604, 0.1427057683467865 ]
http://arxiv.org/abs/2402.18240v2
http://arxiv.org/pdf/2402.18240v2
Prospect Personalized Recommendation on Large Language Model-based Agent Platform
2024-02-28T11:12:17
2024-03-05T12:14:52
Jizhi Zhang, Keqin Bao, Wenjie Wang, Yang Zhang, Wentao Shi, Wanhong Xu, Fuli Feng, Tat-Seng Chua
cs.IR
cs.IR, cs.CL
The new kind of Agent-oriented information system, exemplified by GPTs, urges us to inspect the information system infrastructure to support Agent-level information processing and to adapt to the characteristics of Large Language Model (LLM)-based Agents, such as interactivity. In this work, we envisage the prospect of the recommender system on LLM-based Agent platforms and introduce a novel recommendation paradigm called Rec4Agentverse, comprised of Agent Items and Agent Recommender. Rec4Agentverse emphasizes the collaboration between Agent Items and Agent Recommender, thereby promoting personalized information services and enhancing the exchange of information beyond the traditional user-recommender feedback loop. Additionally, we prospect the evolution of Rec4Agentverse and conceptualize it into three stages based on the enhancement of the interaction and information exchange among Agent Items, Agent Recommender, and the user. A preliminary study involving several cases of Rec4Agentverse validates its significant potential for application. Lastly, we discuss potential issues and promising directions for future research.
[ -0.5251141786575317, -0.5693902373313904, 0.7010689973831177, 0.15377642214298248, -0.0020357626490294933, 0.23938117921352386, -0.01991150714457035, -0.6109679937362671, 0.4651266038417816, 0.8968146443367004, -0.6917831301689148, -0.5534391403198242, -0.1919097602367401, 0.1174076721072197, -0.09816554933786392, 1.3292608261108398, 0.08618614822626114, -0.06464780122041702, -0.14351095259189606, 0.01146771851927042, -0.9301131963729858, -0.6658288836479187, -0.9281326532363892, -0.8311289548873901, 0.678348183631897, 0.3622749149799347, 0.6899158358573914, 0.3803233504295349, 0.46755915880203247, 0.46057963371276855, 0.3078537881374359, -0.03987201675772667, -0.4617502689361572, 0.526018500328064, -0.5525928735733032, -0.31510916352272034, -0.8539767265319824, -0.057402852922677994, 0.4530304968357086, 0.2558404803276062, -0.24583855271339417, -0.16678258776664734, -0.08448613435029984, 0.6697202324867249, -0.232047900557518, 0.34267228841781616, -0.3570421636104584, 0.10381339490413666, -0.1461833268404007, -0.5458693504333496, -0.2518337070941925, -0.205795556306839, 0.430634081363678, -0.7307924628257751, 0.20027686655521393, 0.116695336997509, 0.36671993136405945, -0.23743411898612976, -0.3750259280204773, -0.0450262725353241, -1.0969524383544922, 0.612270176410675, -0.4004795253276825, 0.455249160528183, 0.40033379197120667, 0.718119740486145, -0.38835281133651733, -0.9162549376487732, -0.5028036236763, -0.3968465030193329, 0.25704139471054077, -0.2201581448316574, -0.3340309262275696, -0.0016968920826911926, -0.1182003989815712, 0.19154119491577148, -0.4886758029460907, 0.018417175859212875, 0.16846130788326263, -0.2096647024154663, 0.4431436359882355, 0.2449585646390915, 0.161908820271492, 0.4922400116920471, -0.4779055416584015, 0.16923508048057556, -0.6923389434814453, -0.09604670852422714, 0.43538668751716614, 0.351104736328125, 0.04587142914533615, 0.4612273573875427, -0.561701238155365, 0.5973576307296753, 0.32258039712905884, 0.11547807604074478, 0.610223650932312, -0.5497955679893494, 0.04748789593577385, -0.1571309119462967, 0.4319193661212921, 0.5488491654396057, 0.21060968935489655, -0.3304995894432068, -0.3330908417701721, -0.27905163168907166, 0.20011529326438904, -0.861047089099884, -0.13250833749771118, 0.12570533156394958, -0.4072270691394806, -0.38807550072669983, 0.038222912698984146, -0.6612582206726074, -0.737221896648407, -0.4034399092197418, 0.20669510960578918, -0.25888708233833313, -0.3761991560459137, 0.21000230312347412, -0.07950479537248611, 0.009019343182444572, 0.6057395339012146, -0.817657470703125, 0.3775528371334076, 0.7113208770751953, 0.7201464772224426, -0.2823120653629303, -0.4869442284107208, -0.4452150762081146, 0.3115820586681366, 0.1462859958410263, 1.189309000968933, -0.9082251787185669, -0.25265607237815857, 0.08306380361318588, 0.3548677861690521, 0.44496726989746094, -0.26774126291275024, 0.29912227392196655, -0.7880210876464844, 0.06376415491104126, -0.47296929359436035, -0.3972719609737396, -0.2970503270626068, 0.6973777413368225, -0.6422456502914429, 0.3728044331073761, 0.21742327511310577, -0.5729799866676331, 0.313717782497406, -0.8788285255432129, -0.10272414982318878, 0.4949931204319, -0.12862439453601837, -0.09638551622629166, -0.46344685554504395, -0.03568641096353531, 0.4303877353668213, -0.39241334795951843, 0.34601137042045593, -0.54591965675354, -0.46408721804618835, 0.21037684381008148, -0.17310966551303864, 0.07371474802494049, 0.25177720189094543, -0.4620349705219269, 0.41207605600357056, -0.455409973859787, -0.17572878301143646, 0.1100563332438469, -0.17372722923755646, -0.28533560037612915, -0.1121068149805069, 0.255097895860672, 0.0928308516740799, 0.8505386114120483, -0.5975918769836426, 0.45152047276496887, -0.43620947003364563, 0.4922334849834442, 0.9734209179878235, 0.0931537002325058, 0.5152630805969238, -0.5253385305404663, 0.7103136777877808, -0.08589588105678558, 0.09368512779474258, -0.3047395348548889, -0.47796663641929626, -0.28864002227783203, 0.02470720186829567, -0.03474307060241699, 0.3881639540195465, -0.893865704536438, 0.39759406447410583, -0.05845201760530472, -0.25755664706230164, -0.024399904534220695, -0.07701051235198975, 0.19525180757045746, 0.05519646033644676, 0.1463342010974884, -0.34284427762031555, -0.6153523325920105, -0.9378322958946228, -0.09611061960458755, -0.1434265822172165, 0.17073523998260498, 0.44048169255256653, 0.1833297163248062, -0.8642797470092773, 1.101014494895935, -0.39982858300209045, -0.4057352840900421, -0.34874892234802246, -0.3990849554538727, 0.39942097663879395, 0.2323485165834427, 0.6008809208869934, -0.787490725517273, -0.4177679121494293, 0.3749813735485077, -0.4252934455871582, 0.04226270318031311, 0.4453515112400055, -0.1832674890756607, -0.009539404883980751, 0.13401874899864197, -0.47469592094421387, 0.15622685849666595, 0.4068693220615387, -0.7332080602645874, 0.43111228942871094, -0.5096179842948914, 0.1293071210384369, -1.1589622497558594, -0.029691828414797783, -0.026328375563025475, -0.5295767188072205, -0.72980797290802, -0.13247574865818024, -0.5301699042320251, -0.07992563396692276, -0.08329175412654877, 0.93429034948349, -0.22466067969799042, -0.22047798335552216, -0.7591261863708496, 0.30500608682632446, -0.026547569781541824, 0.33066004514694214, -0.049118928611278534, 0.5320963263511658, 0.3238084614276886, -0.31096717715263367, 0.7367591857910156, 0.2915416359901428, 0.21906527876853943, 0.704720139503479, -0.5457327961921692, 0.36790141463279724, -0.06966452300548553, 0.662911593914032, -0.8686121106147766, 0.10986793786287308, 0.3596009910106659, -0.15419712662696838, -0.010114088654518127, 0.11541562527418137, -0.42643681168556213, -0.3383316397666931, -0.5227379202842712, 0.38724732398986816, -0.04123399779200554, -0.5263081192970276, 0.5685603022575378, 0.4926815330982208, -0.42932015657424927, -0.729756772518158, -0.32498088479042053, 0.3710032105445862, -0.07812684029340744, -0.6730355620384216, 0.3604010045528412, -0.4868481159210205, -0.12702079117298126, 0.10234435647726059, 0.34947842359542847, 0.25041720271110535, -0.1037551760673523, 0.38929858803749084, 0.1549561470746994, -0.10706733167171478, 0.24032627046108246, -0.22854198515415192, -0.3619594871997833, -0.22718307375907898, -0.7556596398353577, 0.7313639521598816, -0.6627019643783569, -0.171169713139534, -0.4000625014305115, 0.3195752799510956, 0.38849467039108276, -0.23636947572231293, 0.51860511302948, 0.7781543731689453, -0.27904003858566284, -0.06238655373454094, -0.7705422043800354, -0.3213523328304291, -0.567196786403656, 0.6371709704399109, -0.4392926096916199, -1.1891282796859741, 0.4081069529056549, -0.13237908482551575, 0.025032225996255875, 0.19486473500728607, 0.8861873745918274, 0.27918943762779236, 1.105767846107483, 0.9942945837974548, -0.28068313002586365, 0.7249268889427185, -0.36754080653190613, 0.18805952370166779, -0.6981011629104614, -0.23471786081790924, -0.2017233669757843, -0.21104805171489716, -0.8580757975578308, -0.1811656653881073, -0.0036131334491074085, -0.520999014377594, -0.583923876285553, 0.20745690166950226, -0.5675894021987915, 0.41250818967819214, 0.4619922637939453, 0.029511289671063423, 0.5195081233978271, 0.024125656113028526, -0.10220588743686676, 0.11136044561862946, -0.2181231677532196, -0.5632845163345337, 0.9198864698410034, 0.5766252875328064, 0.6731466054916382, 0.3731071352958679, 0.5060093402862549, 0.9192080497741699, 0.4217086136341095, -0.6762189865112305, 0.5509761571884155, 0.004131567198783159, -0.48525694012641907, -0.33993297815322876, -0.06989522278308868, -1.340680480003357, 0.1554541289806366, -0.1804163157939911, -0.8645341992378235, 0.45773598551750183, -0.05503499135375023, -0.11865271627902985, 0.15361778438091278, -0.4527265131473541, 0.6577109694480896, -0.014321678318083286, -0.4278385043144226, -0.3118232786655426, -0.4174201786518097, 0.08503539860248566, -0.10469086468219757, 0.2096208781003952, -0.046428382396698, -0.1593179851770401, 0.5028607249259949, -0.2977111041545868, 0.7754747271537781, -0.38259363174438477, -0.12999284267425537, 0.13094916939735413, 0.1184353157877922, 0.9336142539978027, 0.11208648234605789, -0.22029152512550354, 0.08070544898509979, 0.07161469012498856, -0.03030957095324993, -0.4337218403816223, 1.0528818368911743, -0.9488526582717896, -0.721520721912384, -0.396106094121933, -0.5157764554023743, -0.32734209299087524, 0.6325281262397766, -0.06960796564817429, 0.21878209710121155, -0.3030802309513092, 0.12188117206096649, 0.13632111251354218, -0.15076251327991486, 0.25056394934654236, 1.0321372747421265, -0.44165998697280884, -0.6864904165267944, 1.1346772909164429, -0.23812134563922882, -0.27090170979499817, 0.47354868054389954, 0.2585617005825043, -0.3517557680606842, -0.6883696913719177, -0.11367439478635788, 0.4656476378440857, -0.6354870796203613, -0.17075300216674805, -0.6968945264816284, 0.03391192853450775, -0.3993261456489563, -0.11236274242401123, -0.2680707573890686, 0.1261216551065445, -0.01948453299701214, -0.0708734542131424, 0.3881246745586395, 1.1408255100250244, 0.22880060970783234, 0.36571115255355835, -0.5739054083824158, 0.04374891147017479, 0.16805598139762878, 0.7333000302314758, -0.03804055228829384, -0.25727298855781555, -0.6023334264755249, -0.018910687416791916, -0.5119723677635193, -0.5585340857505798, 0.36215516924858093, -0.1351526826620102, 0.7663386464118958, 0.7377340197563171, -0.06884662806987762, 0.010351583361625671, -0.5829668045043945, 0.5420203804969788, 0.0516725592315197, -0.5567848086357117, 0.19369281828403473, -0.7615934610366821, 0.11276467889547348, 0.37205639481544495, -0.016747508198022842, -0.6151618361473083, -0.2535143494606018, -0.45949602127075195, -0.6851686835289001, 0.7127403616905212, 0.14945420622825623, 0.04323973134160042, 0.20024745166301727, 0.5689166188240051, 0.33940768241882324, 0.5850874781608582, -0.7580085396766663, -0.11684198677539825, -0.1690104454755783, 0.06145942956209183, -0.5084906220436096, -0.26979154348373413, 0.021410474553704262, 0.277346134185791, 0.6322017312049866, -0.18128886818885803, 0.48928409814834595, 0.047794122248888016, 0.3782971203327179, -0.238963320851326, 0.2845694422721863, 0.6464810967445374, 0.6247196793556213, -0.4694201648235321, -0.1769387423992157, -0.14563927054405212, -0.509789764881134, 0.41076067090034485, 0.29976895451545715, -0.05540955439209938, -0.3666711151599884, -0.025320351123809814, 0.8651980757713318, -0.1635662019252777, -0.5226923227310181, 0.5878786444664001, -0.3523392379283905, -0.0061445278115570545, -0.9368696212768555, -0.09864771366119385, 0.11750300973653793, 0.7282751798629761, 0.18653364479541779, 0.09998517483472824, 0.47081926465034485, -0.5770010352134705, 0.1333131641149521, 0.5556051135063171, -0.4888685345649719, -0.5888611674308777, 0.40063196420669556, 0.582333505153656, -0.6296448707580566, 0.07184497267007828, -0.05802106112241745, -0.2754998803138733, 0.24970810115337372, 0.6513699293136597, 1.1677812337875366, -0.40863364934921265, 0.2408769428730011, -0.1296796351671219, 0.09940142929553986, -0.1778322011232376, 0.08417246490716934, -0.06033725291490555, -1.0665544271469116, -0.2079259157180786, -0.34171250462532043, -0.50453782081604, 0.16293561458587646, -0.12309043109416962, 0.49711963534355164, -0.5537529587745667, -0.5439266562461853, -0.005767908412963152, 0.16783085465431213, -0.7056981325149536, -0.07589516788721085, 0.046560466289520264, 0.562277615070343, -0.3892424702644348, 0.924331545829773, 0.9675774574279785, -0.2822818458080292, -0.3909308612346649, -0.04585713520646095, -0.1541045755147934, -0.5905061364173889, 0.6751297116279602, 0.15926548838615417, -0.49983808398246765, 0.041273076087236404, -0.1680617332458496, -0.9265813231468201, 1.307065725326538, 0.44474032521247864, -0.5903319716453552, -0.12073981016874313, -0.14299944043159485, 0.740044891834259, -0.8625330328941345, 0.5693196058273315, 0.3531716763973236, 0.7008876204490662, 0.17158551514148712, -0.7324710488319397, 0.17684221267700195, -0.5380218625068665, 0.1526496708393097, 0.18139395117759705, -0.766083836555481, 0.7875966429710388, -0.22432224452495575, 0.19659043848514557, 0.27852335572242737, 0.43126949667930603, 0.23592422902584076, 0.6792688965797424, 0.6082428693771362, 0.1795501708984375, 0.5173495411872864, 0.36189618706703186, 1.1454105377197266, -0.3243069350719452, 0.3021719455718994, 1.1532262563705444, -0.7704887390136719, 0.6099321246147156, 0.16336944699287415, -0.2624027729034424, 0.8382872343063354, 0.5972626805305481, -0.11129050701856613, 0.44007205963134766, 0.0984726995229721, -0.42898157238960266, -0.0006417770637199283, -0.28487926721572876, -0.5327788591384888, 0.29483649134635925, 0.2115544080734253, -0.24703611433506012, -0.08088187873363495, 0.3656058609485626, -0.20592620968818665, -0.09369408339262009, -0.09454027563333511, 0.9031201601028442, -0.20659661293029785, -0.48961585760116577, 0.23180259764194489, 0.2939958870410919, 0.6419166922569275, -0.5604191422462463, -0.3665972054004669, -0.1438283920288086, 0.37990471720695496, -0.1951628476381302, -0.7065516710281372, -0.2792465090751648, -0.36810141801834106, -0.3552097976207733, -0.14389029145240784, 1.008117437362671, -0.3529493808746338, -0.07315488159656525, 0.536531388759613, 0.35785481333732605, 0.10830720514059067, -0.1782010793685913, -0.6457493901252747, -0.19641654193401337, 0.008939063176512718, -0.23527459800243378, 0.5269189476966858, 0.5378321409225464, -0.09031514823436737, 0.9784371256828308, 0.7556408047676086, 0.17487452924251556, -0.7134048342704773, 0.04374289885163307, 0.9317461848258972, -0.9457300901412964, -0.9134718179702759, -0.7333603501319885, 0.07708712667226791, 0.03241325169801712, 0.12643733620643616, 0.7902875542640686, 0.3354770243167877, 0.5027887225151062, 0.003508158028125763, 1.000540018081665, 0.3111129701137543, 0.596468448638916, -0.05569286271929741, 0.49198418855667114, -0.2713859975337982, 0.7280762791633606, -0.3814418315887451, -1.282801628112793, 0.11511074006557465, 0.12709341943264008, -0.4047372043132782, 0.6510235667228699, 0.5310797095298767, 0.7001555562019348, 0.1860789805650711, 0.07553307712078094, 0.4653626084327698, 0.29397091269493103, 0.6910314559936523, 0.37937092781066895, 0.7675411105155945, 0.05815805867314339, 0.271884948015213, 0.07057516276836395, -0.3083784878253937, -0.6951935887336731, -0.7362727522850037, -0.8247331976890564, -0.7582187056541443, -0.015908915549516678, -0.4816646873950958, 0.26151546835899353, 1.1697791814804077, 0.5224949717521667, -0.6045128703117371, -0.3131505846977234, -0.22145423293113708, 0.111224465072155, -0.028941094875335693, -0.241245836019516, 0.17798055708408356, 0.1010713055729866, -0.633194088935852, 0.38042837381362915, 0.5040645003318787, 0.07800334692001343, -0.6212641596794128, -0.3097909986972809, 0.054130587726831436, -0.09410105645656586, 0.6754218935966492, 0.1903984397649765, -0.6552661061286926, -0.26950111985206604, -0.2261529266834259, 0.007013789843767881, -0.1491694301366806, 1.0806981325149536, -0.9356053471565247, 0.6427235007286072, 0.21497300267219543, 0.5108938217163086, 0.4595872461795807, 0.08207426965236664, 0.9748553037643433, -0.28612062335014343, 0.22922565042972565, 0.13917085528373718, 0.3208976686000824, 0.37824052572250366, -0.7392044067382812, 0.29770132899284363, 0.30487367510795593, -0.8505982756614685, -0.662868320941925, 0.22203178703784943, -1.0144861936569214, 0.024328285828232765, 1.1835907697677612, -0.16791604459285736, 0.006419423967599869, -0.46376118063926697, -0.5356472730636597, -0.09354996681213379, -0.9670856595039368, 0.4760311543941498, 0.5071143507957458, -0.2450726330280304, -0.07922981679439545, -0.5041930079460144, 0.29627156257629395, -0.027657439932227135, -0.6599767804145813, -0.0016570629086345434, 0.3528084456920624, 0.4910942614078522, 0.20101971924304962, 0.9277383089065552, 0.16865988075733185, 0.1815575212240219, -0.37759262323379517, 0.43201446533203125, -0.3742380440235138, -0.10929925739765167, -0.28337612748146057, 0.07789390534162521, 0.5024874806404114, 0.013169043697416782 ]
http://arxiv.org/abs/2402.18225v1
http://arxiv.org/pdf/2402.18225v1
CogBench: a large language model walks into a psychology lab
2024-02-28T10:43:54
2024-02-28T10:43:54
Julian Coda-Forno, Marcel Binz, Jane X. Wang, Eric Schulz
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have significantly advanced the field of artificial intelligence. Yet, evaluating them comprehensively remains challenging. We argue that this is partly due to the predominant focus on performance metrics in most benchmarks. This paper introduces CogBench, a benchmark that includes ten behavioral metrics derived from seven cognitive psychology experiments. This novel approach offers a toolkit for phenotyping LLMs' behavior. We apply CogBench to 35 LLMs, yielding a rich and diverse dataset. We analyze this data using statistical multilevel modeling techniques, accounting for the nested dependencies among fine-tuned versions of specific LLMs. Our study highlights the crucial role of model size and reinforcement learning from human feedback (RLHF) in improving performance and aligning with human behavior. Interestingly, we find that open-source models are less risk-prone than proprietary models and that fine-tuning on code does not necessarily enhance LLMs' behavior. Finally, we explore the effects of prompt-engineering techniques. We discover that chain-of-thought prompting improves probabilistic reasoning, while take-a-step-back prompting fosters model-based behaviors.
[ -0.5373724699020386, -1.0262104272842407, 0.5730376243591309, 0.4665321707725525, 0.1672917902469635, 0.027848176658153534, -0.5208221673965454, -0.49452537298202515, -0.23004598915576935, 0.2534397840499878, -0.835392951965332, -0.45241618156433105, -0.38948431611061096, -0.16020017862319946, -0.23979021608829498, 0.8393552899360657, 0.1951223760843277, 0.15540862083435059, -0.30196061730384827, 0.018634716048836708, -0.4157952666282654, -0.5826948285102844, -0.8076664209365845, -0.6487176418304443, 0.5915732979774475, 0.25231483578681946, 0.6527063846588135, 0.2359766960144043, 0.5346124172210693, 0.22537833452224731, 0.02561120130121708, -0.03279193490743637, -0.6036213636398315, 0.02722882851958275, -0.2574799954891205, -0.3958629369735718, -0.5936278700828552, 0.30441799759864807, 0.2675749361515045, 0.9742054343223572, -0.569537341594696, 0.14601068198680878, -0.08896367996931076, 0.41679495573043823, -0.42622584104537964, 0.36932066082954407, -0.3819181025028229, -0.06209331750869751, 0.16089195013046265, 0.04755023121833801, -0.6757377982139587, -0.145262211561203, 0.07186860591173172, -0.4023054242134094, 0.1692708134651184, 0.4001433551311493, 0.38093724846839905, 0.25205275416374207, -0.13402344286441803, -0.32110506296157837, -0.5377683043479919, 1.013136863708496, -0.7081182599067688, 0.4653153419494629, 0.3248598277568817, 0.1896638721227646, -0.4370978772640228, -0.30671489238739014, -0.37498220801353455, -0.8343667984008789, -0.12994985282421112, -0.03627445176243782, -0.04508037865161896, 0.12037655711174011, 0.458966463804245, 0.20411530137062073, -0.5395190715789795, 0.41320326924324036, -0.2581859529018402, -0.24389366805553436, 0.8140392899513245, 0.3652321994304657, 0.30450528860092163, 0.13335533440113068, 0.02637430466711521, -0.33194276690483093, -0.4885004460811615, 0.22171133756637573, 0.33346283435821533, 0.2766214609146118, -0.15638762712478638, 0.3191855549812317, -0.12499605119228363, 0.6001275181770325, 0.19899709522724152, 0.07504846155643463, 0.07180047780275345, -0.12941935658454895, 0.09572339802980423, -0.03166915476322174, 0.8577492833137512, 0.055204715579748154, 0.4697607755661011, -0.4102610647678375, -0.11341799050569534, 0.23294377326965332, 0.3451974093914032, -0.7923731803894043, -0.572080671787262, 0.33351680636405945, -0.2680928111076355, 0.02745753712952137, -0.10079063475131989, -0.8271922469139099, -0.529312789440155, -0.40032339096069336, 0.1151769757270813, -0.4009002149105072, -0.1962975263595581, 0.1356901079416275, -0.04046035557985306, 0.20535536110401154, 0.40205109119415283, -0.9956836700439453, 0.5071302652359009, 1.0091155767440796, 0.7084686160087585, -0.49350690841674805, -0.48000890016555786, -0.6497529745101929, -0.03205197677016258, -0.736630916595459, 0.5015416741371155, -0.5818337202072144, -0.29933735728263855, -0.13502830266952515, -0.19029688835144043, 0.2223021537065506, -0.7899995446205139, 0.21821856498718262, -0.45212438702583313, 0.08191806077957153, -0.24972552061080933, -0.6242840886116028, -0.07926514744758606, 0.3286255896091461, -0.6359925270080566, 1.0379220247268677, 0.13767877221107483, -0.3139646053314209, 0.31349799036979675, -0.7928330302238464, -0.47278279066085815, 0.05420771986246109, -0.20555520057678223, -0.286730021238327, 0.34085986018180847, 0.16867254674434662, 0.4772619903087616, -0.34204867482185364, 0.660246729850769, -0.5796838998794556, -0.349089115858078, 0.2689873278141022, -0.18336644768714905, 0.7497900128364563, -0.023152636364102364, -0.14252716302871704, 0.24049216508865356, -0.9753912091255188, 0.1998002827167511, -0.008096407167613506, -0.39778971672058105, -0.13858312368392944, 0.048181161284446716, -0.18828916549682617, 0.20767347514629364, 0.1678948849439621, -0.46775034070014954, -0.12329905480146408, -0.19610531628131866, 0.49129796028137207, 0.6814501285552979, -0.13500066101551056, 0.49589991569519043, -0.20777741074562073, 0.37404918670654297, -0.1735035628080368, 0.21678444743156433, 0.09173808991909027, -0.21568097174167633, -0.5262767672538757, -0.6147850155830383, -0.16903452575206757, 0.39281153678894043, -0.1426561027765274, 0.5904696583747864, 0.038760654628276825, -0.7116298675537109, -0.3674464523792267, 0.2063523381948471, 0.24347099661827087, 0.2719756066799164, 0.3333246409893036, -0.38834649324417114, -0.3976154625415802, -0.7326322197914124, -0.5166372060775757, -0.25981685519218445, -0.085396409034729, 0.3037621080875397, 0.6201639175415039, -0.11018334329128265, 0.6319581866264343, -0.3423944413661957, 0.18700896203517914, -0.24665620923042297, 0.47395771741867065, 0.33567237854003906, 0.429653137922287, 0.3713832497596741, -0.24952161312103271, -0.10039874166250229, -0.32477912306785583, -0.7321479916572571, -0.19066311419010162, 0.020489167422056198, -0.1451103240251541, -0.0038707100320607424, 0.8029325008392334, -0.6352856755256653, 0.08321982622146606, 0.6096744537353516, -0.2975228428840637, 0.762416422367096, -0.34586694836616516, -0.12826216220855713, -0.3382487893104553, -0.0021670381538569927, 0.0325874388217926, -0.03230079263448715, -0.5508198142051697, 0.26386192440986633, -0.1001964583992958, -0.1705096960067749, -0.20968815684318542, 0.67706698179245, -0.26726964116096497, -0.3014562427997589, -0.07382702827453613, -0.0995817631483078, -0.22385013103485107, 0.8529719114303589, 0.07292661815881729, 0.7509324550628662, 0.26928994059562683, -0.6906904578208923, 0.667447566986084, 0.2065453976392746, -0.6848250031471252, 0.6522350311279297, -0.7340584993362427, 0.2649584710597992, -0.03274262323975563, 0.2988593280315399, -0.9564919471740723, -0.15935052931308746, -0.06948468834161758, -0.1654738336801529, 0.05003499984741211, 0.4393448233604431, -0.6704493761062622, -0.38463136553764343, -0.20417946577072144, 0.14544053375720978, 0.5793797969818115, -0.6160157918930054, 0.41785526275634766, 0.18528810143470764, -0.3708246052265167, 0.09882183372974396, -0.6067830920219421, 0.10872315615415573, 0.05432464927434921, -0.5291226506233215, 0.1077030599117279, -0.3902433216571808, -0.4040564000606537, -0.3414117395877838, 0.06264804303646088, 0.08871415257453918, 0.3458065092563629, 0.015737608075141907, 0.32349342107772827, -0.1890377551317215, 0.2127884030342102, -0.37104707956314087, -0.0006507249781861901, 0.3591759502887726, -0.10989746451377869, 0.8080267906188965, -0.4237070083618164, -0.30460014939308167, -0.2693631052970886, 0.2181904911994934, 0.35662752389907837, -0.29233846068382263, 0.8782899975776672, 0.5705410242080688, -0.15814785659313202, -0.37294650077819824, -0.3144516944885254, -0.49822136759757996, -0.4321650564670563, 0.7724629044532776, -0.17076000571250916, -0.8656229972839355, 0.30563056468963623, -0.10923207551240921, -0.037496645003557205, -0.06060142070055008, 0.729698657989502, -0.27802324295043945, 1.2309510707855225, 0.6672934889793396, 0.060490772128105164, 0.7901543378829956, -0.017321007326245308, 0.43076586723327637, -0.7525416016578674, -0.23531293869018555, -0.359983891248703, -0.3681773543357849, -0.665203332901001, -0.2536834180355072, 0.37557488679885864, -0.00608086958527565, -0.7594002485275269, 0.04030622914433479, -0.11236004531383514, 0.2095031440258026, 0.5496094226837158, 0.10684821009635925, 0.25197869539260864, -0.03245270252227783, -0.11879374831914902, 0.09665344655513763, -0.7989469766616821, -0.37325188517570496, 0.7105005383491516, 0.32584118843078613, 1.0491501092910767, 0.016998622566461563, 0.48356494307518005, 0.11633738875389099, 0.497734010219574, -0.7333277463912964, 0.8367027640342712, -0.06223892793059349, -0.6741472482681274, -0.5623149871826172, -0.431579053401947, -0.8030917048454285, 0.24396869540214539, -0.11111408472061157, -1.0247869491577148, -0.020379547029733658, 0.24236054718494415, -0.35579103231430054, -0.0755542516708374, -0.6300603747367859, 0.8987866044044495, -0.5517674684524536, -0.5688883662223816, -0.607994794845581, -0.3348981440067291, 0.3849480450153351, 0.06016615033149719, 0.26261210441589355, -0.2781088352203369, -0.013638760894536972, 0.6558429002761841, -0.23606400191783905, 0.8088520765304565, -0.012845613062381744, -0.2850055694580078, 0.10625351965427399, 0.2792915105819702, 0.7254752516746521, -0.2109781950712204, -0.07287000119686127, 0.13988333940505981, 0.037837475538253784, -0.4880790710449219, -0.6591760516166687, 0.5707361102104187, -0.7784127593040466, -0.6201438307762146, -0.14245955646038055, -0.8410084247589111, -0.7032538056373596, -0.02282719686627388, -0.07982166856527328, 0.2508101761341095, -0.47550535202026367, 0.24380435049533844, 0.7429684996604919, -0.6152722239494324, 0.3010709583759308, 0.5437909364700317, -0.3400254249572754, -0.13064885139465332, 0.8174605369567871, -0.15710507333278656, 0.29706719517707825, 0.2613101005554199, 0.3441857099533081, -0.2650095522403717, -0.3232387602329254, -0.05784729868173599, 0.2843354046344757, -0.6422403454780579, 0.3838474452495575, -0.5159521102905273, -0.025986842811107635, -0.2746222913265228, -0.09835092723369598, -0.3290858268737793, -0.0062625827267766, 0.061116769909858704, -0.22734399139881134, 0.35384896397590637, 0.6749303936958313, -0.05475227162241936, 0.40886086225509644, -0.5315335392951965, 0.2801845073699951, 0.31975799798965454, 0.6029506921768188, 0.4927518367767334, -0.1916317641735077, -0.23479433357715607, -0.1660243421792984, -0.1663171499967575, -0.5161916613578796, 0.22658954560756683, 0.04880635440349579, 0.6320165395736694, 0.0014462746912613511, -0.20171049237251282, 0.46337613463401794, -0.3908538222312927, 0.6951248049736023, 0.35911864042282104, -0.7594846487045288, 0.42668265104293823, -0.509763777256012, 0.34401050209999084, 0.3103537857532501, 0.21157331764698029, -0.6887862682342529, -0.3261304795742035, -0.5659014582633972, -0.6052634716033936, 0.6839166879653931, -0.2988237738609314, -0.07308366149663925, -0.05611805617809296, 0.15932868421077728, 0.1359831541776657, 0.4234861433506012, -0.48594555258750916, 0.16594593226909637, 0.04410551115870476, -0.4534285366535187, -0.45563554763793945, 0.02677147462964058, -0.0980512723326683, -0.33929935097694397, 0.6091505885124207, -0.1499125063419342, 0.13090385496616364, -0.11502858251333237, -0.30646082758903503, -0.04640519991517067, 0.3157585561275482, 0.3963710367679596, 0.6054794788360596, -0.1728181391954422, 0.05340135097503662, 0.09260110557079315, -0.2679864466190338, 0.2508869469165802, -0.220955029129982, 0.015885844826698303, -0.5188167691230774, 0.5202065110206604, 0.7950708270072937, 0.2641804814338684, -0.9298384189605713, 0.1834641844034195, 0.007695900276303291, -0.009074977599084377, -0.05748586729168892, 0.4338979721069336, 0.24545781314373016, 0.32968881726264954, -0.08336475491523743, -0.05097578465938568, -0.057874128222465515, -0.9763315916061401, 0.08227179199457169, 0.4105072021484375, -0.41723600029945374, -0.40021514892578125, 0.41988345980644226, 0.24545934796333313, -0.48332443833351135, 0.8723351359367371, -0.1901310235261917, -0.31559693813323975, 0.661399781703949, 0.3292418122291565, 0.5783995389938354, -0.060241326689720154, 0.26305103302001953, 0.4205997586250305, 0.2993287444114685, -0.45543402433395386, 0.23799654841423035, 0.039531607180833817, -0.6695194244384766, -0.4219949543476105, -0.41330814361572266, -0.42858976125717163, 0.24736210703849792, -0.6519759297370911, 0.0204802006483078, -0.7666952610015869, -0.1060967743396759, -0.12399281561374664, 0.13205622136592865, -0.8800460696220398, 0.21454977989196777, 0.28701460361480713, 0.9333676099777222, -0.6908336877822876, 0.4223676323890686, 0.5885690450668335, -0.254530131816864, -0.7123953700065613, -0.1734064817428589, -0.19584788382053375, -0.9741068482398987, 0.5583012700080872, 0.0521608367562294, 0.033001091331243515, -0.04267372563481331, -0.8679603934288025, -0.7229177951812744, 0.7319621443748474, 0.42713913321495056, -0.8501569628715515, 0.05230420455336571, 0.01397777535021305, 0.8678085207939148, -0.3221495449542999, 0.258648544549942, 1.0341020822525024, 0.4932275116443634, -0.14378921687602997, -0.7267013788223267, 0.09527478367090225, -0.02483947016298771, -0.06770606338977814, 0.1285007745027542, -0.8312199115753174, 0.8538529872894287, -0.4804849922657013, 0.08304155617952347, 0.1538386046886444, 0.6111857891082764, 0.5465522408485413, 0.06737750768661499, 0.3275565207004547, 0.47626549005508423, 1.0921005010604858, 0.004959486424922943, 1.1779308319091797, -0.16141079366207123, 0.1892825961112976, 1.355134129524231, -0.3816365897655487, 0.9560390114784241, 0.4632491171360016, -0.3400729298591614, 0.6398600339889526, 0.6475399136543274, -0.16696223616600037, 0.48334458470344543, 0.6187309622764587, 0.14659149944782257, -0.5074726343154907, -0.09689098596572876, 0.08543102443218231, 0.28646042943000793, 0.4968099594116211, 0.03679024055600166, -0.12355320155620575, -0.11500360816717148, -0.061742495745420456, 0.07100814580917358, -0.43595507740974426, 0.6281708478927612, 0.29378488659858704, -1.0875310897827148, 0.3684036135673523, -0.18682636320590973, 0.665054440498352, -0.47543418407440186, 0.18464675545692444, -0.23235240578651428, 0.5026094317436218, 0.05336562916636467, -0.5738204121589661, 0.021049844101071358, -0.08616248518228531, -0.20402072370052338, -0.1466800719499588, 0.36309802532196045, -0.4507080018520355, -0.47216495871543884, 0.5629259943962097, 0.6919757127761841, 0.15041831135749817, -0.07007789611816406, -0.708874523639679, 0.021192898973822594, -0.5257401466369629, -0.3013235926628113, 0.40552809834480286, 0.34799033403396606, -0.25107118487358093, 0.8252966403961182, 0.5708917379379272, 0.2604905366897583, 0.14030729234218597, 0.30023160576820374, 0.3156028389930725, -0.8784624338150024, -0.586535632610321, -1.0154061317443848, -0.037112992256879807, 0.03178849816322327, -0.13081513345241547, 0.5096147656440735, 0.18865342438220978, 0.828240156173706, -0.05431455746293068, 0.9102413654327393, 0.13595111668109894, 0.4265362024307251, -0.3626066744327545, 0.3963924050331116, -0.33650898933410645, 0.0918455719947815, -0.0567825511097908, -0.6827163100242615, -0.006400975864380598, 0.5979757905006409, -0.7027397751808167, 0.266653835773468, 0.745458722114563, 0.9643175005912781, 0.18491287529468536, 0.07920464128255844, 0.5088415741920471, 0.5114033222198486, 0.5551603436470032, 0.7101334929466248, 1.1794770956039429, -0.06545258313417435, 0.2882067859172821, 0.09721033275127411, -0.20837825536727905, -0.35252681374549866, -0.9682635068893433, -1.0820480585098267, -0.13440975546836853, -0.32559680938720703, -0.16338761150836945, -0.01420519407838583, 1.0011849403381348, 0.8167325854301453, -0.8618869185447693, -0.5661987066268921, -0.29321521520614624, -0.05570436269044876, -0.43480581045150757, -0.18022051453590393, 0.011871648952364922, -0.4706439673900604, -0.39130839705467224, 0.2520633339881897, 0.3390261232852936, -0.08088833093643188, -0.5932126045227051, -0.32103753089904785, -0.06967999786138535, 0.2550102472305298, 0.5996791124343872, 0.011190155521035194, -0.7226177453994751, -0.2538710832595825, 0.11111722141504288, -0.1415182501077652, 0.06946016103029251, 0.8357601761817932, -0.5783249735832214, 0.09201958775520325, 0.5638311505317688, 0.4714920222759247, 0.32916900515556335, -0.257095068693161, 0.7727296352386475, -0.555273711681366, 0.04305848479270935, 0.21093402802944183, 0.2901240587234497, 0.4034721553325653, -0.23782044649124146, 0.48619547486305237, 0.03923076018691063, -0.464251846075058, -0.7506198287010193, 0.27316758036613464, -0.6464303135871887, -0.36329206824302673, 1.042626142501831, -0.08159242570400238, -0.40804609656333923, 0.011016640812158585, -0.14370152354240417, 0.02701573446393013, -0.5368819832801819, 0.9525524973869324, 1.2503938674926758, -0.412211537361145, -0.4062683880329132, -0.6522892713546753, 0.36090728640556335, 0.4990251958370209, -0.9383704662322998, 0.19981656968593597, 0.3764757215976715, 0.29228195548057556, 0.07938162982463837, 0.5713155269622803, 0.12031085789203644, 0.30454331636428833, 0.09419065713882446, 0.10858467221260071, 0.12287303805351257, -0.36229100823402405, -0.2485605925321579, 0.01713762804865837, 0.20970027148723602, 0.3154999315738678 ]
http://arxiv.org/abs/2402.18223v2
http://arxiv.org/pdf/2402.18223v2
Improving Open-Ended Text Generation via Adaptive Decoding
2024-02-28T10:38:21
2024-06-03T03:02:44
Wenhong Zhu, Hongkun Hao, Zhiwei He, Yiming Ai, Rui Wang
cs.CL
cs.CL
Current language models decode text token by token according to probabilistic distribution, and determining the appropriate candidates for the next token is crucial to ensure generation quality. This study introduces adaptive decoding, a mechanism that dynamically empowers language models to ascertain a sensible candidate set during generation. Specifically, we introduce an entropy-based metric called confidence and conceptualize determining the optimal candidate set as a confidence-increasing process. The rationality of including a token in the candidate set is assessed by leveraging the increment of confidence. Experimental results reveal that our method balances diversity and coherence well. The human evaluation shows that our method can generate human-preferred text. Additionally, our method can potentially improve the reasoning ability of language models.
[ -0.09506929665803909, -0.3352997303009033, 0.4184456467628479, 0.17891748249530792, -0.4953449070453644, 0.19847451150417328, -0.31996193528175354, -0.3929941654205322, -0.1773601770401001, 0.1749427318572998, -0.229370579123497, -0.48905324935913086, -0.48660770058631897, 0.33483174443244934, -0.3113953173160553, 0.8189437985420227, -0.1479494273662567, -0.17033448815345764, -0.24388767778873444, -0.02124118246138096, -0.44712454080581665, -0.2592996656894684, -0.8082124590873718, -0.35058438777923584, 0.18826109170913696, 0.4027186930179596, 0.8368704915046692, 0.7801364660263062, 0.3782147765159607, 0.2740207314491272, -0.06521965563297272, 0.25856995582580566, -0.45725613832473755, 0.5414683222770691, -0.2784782648086548, -0.5930947065353394, -0.3446321189403534, -0.1931128203868866, 0.7037574648857117, 0.5010115504264832, -0.17989134788513184, 0.04346252977848053, 0.14785698056221008, 0.4499387741088867, -0.8817147612571716, -0.10265600681304932, -1.096288800239563, -0.11072379350662231, -0.15848855674266815, -0.8539886474609375, -0.6883562207221985, -0.5130353569984436, 0.07543903589248657, -0.557027280330658, 0.42437508702278137, 0.12164734303951263, 0.5969860553741455, 0.06128900125622749, -0.03659399598836899, -0.7197396159172058, -0.655849814414978, 0.7876778244972229, -0.705453097820282, 0.4625590741634369, 0.39875733852386475, -0.0632886067032814, -0.3356371819972992, -0.7770224213600159, -0.553019642829895, -0.06749197095632553, 0.3039567768573761, 0.3310201168060303, -0.12050410360097885, 0.019453847780823708, -0.32285624742507935, 0.5160478353500366, -0.2588489055633545, -0.029412781819701195, -0.16902942955493927, -0.19525562226772308, 0.38495194911956787, 0.041889309883117676, 0.4576319456100464, 0.031384434551000595, 0.03897252678871155, -0.3941720128059387, -0.15311293303966522, 0.06434550881385803, 0.7860329151153564, 0.48159822821617126, 0.09115539491176605, 0.4817332923412323, -0.24842646718025208, 0.7422735691070557, 0.11094516515731812, 0.0034531448036432266, 0.25830453634262085, -0.4763500690460205, -0.16024266183376312, 0.314699649810791, 0.6740290522575378, 0.3337682783603668, 0.3351653218269348, -0.1486785113811493, -0.23513244092464447, -0.03770378232002258, 0.32367441058158875, -0.72255939245224, -0.20822113752365112, 0.42252621054649353, -0.6167318820953369, -0.6427555084228516, 0.3189859092235565, -0.6494954824447632, -0.11890235543251038, 0.1419505476951599, 0.10237017273902893, -0.7084557414054871, -0.33644482493400574, 0.5634616017341614, -0.598311722278595, -0.05705712363123894, 0.14403487741947174, -1.192986249923706, -0.007123976480215788, 0.5441896915435791, 0.9374683499336243, -0.04413731396198273, -0.09377514570951462, -0.4710063338279724, 0.10423475503921509, -0.6569143533706665, 0.6977148056030273, -0.6666262149810791, -0.2590722143650055, 0.029785441234707832, -0.4069044589996338, 0.07683827728033066, -0.3734889328479767, 0.6786535382270813, -0.5853870511054993, 0.41859206557273865, -0.015999240800738335, -0.3802259564399719, 0.21722674369812012, -0.011666573584079742, -0.5679952502250671, 0.9057899117469788, 0.2666850984096527, -0.9517903327941895, 0.633688747882843, -0.5710808634757996, -0.3980271816253662, 0.0740150734782219, -0.061627618968486786, -0.5136749148368835, 0.5381260514259338, 0.25262251496315, 0.33178821206092834, -0.2228671908378601, 0.11313015222549438, -0.14712369441986084, -0.2159951627254486, 0.4216074049472809, -0.6482952833175659, 0.6718829870223999, 0.5651055574417114, -0.05520463362336159, 0.10649456083774567, -0.9955259561538696, 0.2872145175933838, 0.032677315175533295, -0.6831328272819519, -0.49102988839149475, 0.2557324469089508, -0.20939849317073822, -0.2460523098707199, 0.18784528970718384, -0.5159364938735962, -0.13130734860897064, -0.795852541923523, 0.3088439404964447, 0.9318459033966064, 0.16321757435798645, 0.5981051921844482, -0.26749303936958313, 0.3295916020870209, 0.15073911845684052, -0.1996789276599884, -0.5250508785247803, -0.5533190369606018, -0.6624865531921387, -0.11048878729343414, 0.5172905921936035, 0.491668701171875, -0.8553266525268555, 0.6974560618400574, -0.2871907353401184, -0.30521300435066223, -0.792954683303833, 0.02566264010965824, 0.23278529942035675, 0.25858452916145325, 0.11735782772302628, -0.5289890170097351, -0.6222432255744934, -0.36822307109832764, -0.5888747572898865, -0.47689592838287354, -0.18890318274497986, -0.0034752367064356804, 0.12960673868656158, 0.11005204916000366, 1.123962163925171, -0.4474439024925232, 0.42197030782699585, -0.09695056825876236, 0.3572070896625519, 0.08149581402540207, 0.594659149646759, 0.36513224244117737, -0.7904514074325562, -0.3629991114139557, 0.28525346517562866, -0.8084848523139954, -0.03464781120419502, -0.3900580406188965, -0.3162941038608551, 0.299131840467453, 0.4704648554325104, -0.28591808676719666, 0.32874438166618347, 0.48928847908973694, -0.5476871728897095, 0.4134976863861084, -0.4770735800266266, 0.23251275718212128, -1.3812189102172852, 0.02517394907772541, -0.3169642388820648, -0.20647917687892914, -0.6839658617973328, 0.23796483874320984, -0.11974440515041351, 0.057900320738554, -0.13976556062698364, 0.4459610879421234, -0.6165725588798523, 0.029599161818623543, -0.5097227096557617, 0.028700748458504677, -0.08948037028312683, -0.026952484622597694, 0.0350656732916832, 0.7918740510940552, 0.455298513174057, -0.6279350519180298, 0.33351442217826843, 0.14045150578022003, -0.5758631825447083, 0.6150025725364685, -0.36671462655067444, 0.1453120857477188, -0.39673036336898804, 0.026353586465120316, -0.8950186967849731, -0.3923634886741638, 0.13866539299488068, -0.8777197599411011, 0.16847963631153107, 0.2827167212963104, -0.37467265129089355, -0.2494814097881317, -0.12378609925508499, 0.45795416831970215, 0.6894006729125977, -0.5922828912734985, 0.26003360748291016, -0.004520760849118233, -0.2242719531059265, -0.4817228317260742, -0.6276555061340332, 0.20970577001571655, -0.028898945078253746, -0.5988896489143372, 0.29499638080596924, -0.14999839663505554, -0.3825184106826782, 0.03870752453804016, -0.061250630766153336, 0.016440173611044884, 0.17482584714889526, -0.20370474457740784, -0.026077689602971077, -0.24596141278743744, 0.2918770909309387, 0.2395269125699997, -0.2188432812690735, -0.2354501187801361, -0.8352408409118652, 0.5411427021026611, 0.15265735983848572, -0.11969666182994843, -0.3206058740615845, 0.3544919192790985, 0.4888850152492523, -0.35853350162506104, 1.0342763662338257, 0.5727450847625732, -0.44537729024887085, -0.30975577235221863, -0.048311855643987656, -0.08308245241641998, -0.5449013710021973, 0.4339654743671417, -0.5820124745368958, -0.786490261554718, 0.48689591884613037, 0.1635311245918274, 0.3110639452934265, 0.2631976902484894, 0.8377792835235596, 0.1332836151123047, 1.0901360511779785, 0.8396886587142944, 0.2811771631240845, 0.6016209125518799, 0.412008136510849, 0.2115667462348938, -0.4800542891025543, -0.11369528621435165, -0.656790554523468, 0.03836698457598686, -0.563973605632782, -0.4565517008304596, 0.09175755828619003, 0.4036562740802765, -0.0712282657623291, 0.14288848638534546, -0.8000288605690002, 0.3606621026992798, 0.7357357144355774, 0.20961764454841614, 0.3798556625843048, 0.30845969915390015, -0.2538678050041199, 0.20223455131053925, -0.8113849759101868, -0.5507347583770752, 1.0900455713272095, 0.4454898536205292, 0.6853947639465332, 0.08683780580759048, 0.7729251980781555, 0.2755433917045593, 0.28602704405784607, -0.4659646153450012, 0.2623957097530365, -0.11120405793190002, -0.41217491030693054, -0.4115598797798157, -0.6158751249313354, -0.9966815114021301, -0.012401197105646133, -0.4366168677806854, -0.6850734949111938, 0.3289566934108734, 0.3585018515586853, -0.23506106436252594, 0.3858911991119385, -0.45222657918930054, 0.46395450830459595, 0.09104398638010025, -0.23656946420669556, -0.09688693284988403, -0.3568185865879059, 0.25183331966400146, -0.34338822960853577, 0.04404306411743164, 0.06388172507286072, -0.1758049875497818, 0.6292649507522583, -0.19281509518623352, 0.4827328026294708, -0.08567914366722107, -0.372175931930542, 0.5706768035888672, 0.017802340909838676, 0.5693073272705078, -0.08683602511882782, -0.7382897734642029, -0.30189093947410583, -0.35569220781326294, -0.6219726800918579, -0.5011104345321655, 0.3969694972038269, -0.6472187042236328, -0.2968282997608185, -0.18499882519245148, -0.6845005750656128, -0.10048704594373703, 0.3406001627445221, 0.8286183476448059, 0.2213280200958252, -0.3296397924423218, 0.39371761679649353, 0.6090775728225708, -0.466919869184494, 0.4808344542980194, 0.02024678885936737, 0.10201568156480789, -0.616982638835907, 0.9760263562202454, -0.13666380941867828, 0.5926472544670105, 0.4121409058570862, 0.30127352476119995, -0.20678938925266266, -0.8750074505805969, -0.4228726625442505, -0.2883546054363251, -0.8076277375221252, -0.3030812740325928, -0.6671176552772522, -0.12000968307256699, -0.4658762812614441, -0.43498694896698, -0.14164982736110687, -0.27027836441993713, -0.5040127635002136, -0.23298980295658112, 0.28113722801208496, 0.39741259813308716, -0.02280249074101448, 0.4996226131916046, -0.7061046361923218, 0.25443363189697266, 0.16728995740413666, 0.6799466013908386, 0.07092883437871933, -0.5265883207321167, -0.3448275923728943, 0.20436406135559082, -0.23202811181545258, -0.971071720123291, 0.2634579539299011, 0.41278591752052307, 0.49620845913887024, 0.27955543994903564, 0.3061020076274872, 0.32235607504844666, -0.47213175892829895, 0.683447003364563, 0.44162023067474365, -1.1071168184280396, 0.5836681723594666, -0.4369349777698517, 0.4360133111476898, 0.5240152478218079, 0.022446105256676674, -0.41583091020584106, -0.7993527054786682, -0.6584391593933105, -0.7750614285469055, 0.5858902335166931, 0.5581488609313965, 0.3988249897956848, -0.34464189410209656, 0.5532181262969971, 0.17631466686725616, 0.11565615236759186, -0.6540641784667969, 0.2623315155506134, -0.49839094281196594, -0.8790990710258484, 0.0313526876270771, -0.15194258093833923, 0.1114746481180191, 0.22762036323547363, 0.6654343605041504, -0.39206042885780334, 0.4370613992214203, 0.24158219993114471, 0.20758718252182007, -0.49165448546409607, 0.46754616498947144, 0.5658290982246399, 0.49433109164237976, -0.26173481345176697, 0.2214817851781845, 0.14989031851291656, -0.6180182099342346, 0.29410868883132935, -0.2566084563732147, -0.2926594018936157, 0.14169934391975403, 0.4663057327270508, 1.0024360418319702, -0.2009909301996231, -0.5846019387245178, 0.3233160078525543, -0.1932656168937683, -0.340196430683136, 0.14205175638198853, 0.35263800621032715, 0.01696784421801567, 0.01450340449810028, 0.4779212772846222, 0.29950517416000366, -0.05063113942742348, -0.7115190625190735, 0.4010922610759735, 0.4343556761741638, -0.4075830280780792, -0.26770392060279846, 0.6940402388572693, 0.29519563913345337, -0.6497954726219177, 0.5891774892807007, -0.23628154397010803, -0.1252857744693756, 0.44637763500213623, 1.0842267274856567, 1.0635815858840942, -0.3947881758213043, 0.14310625195503235, 0.47470176219940186, 0.4095337688922882, -0.31286507844924927, 0.49123501777648926, 0.07070241123437881, -1.1157352924346924, -0.18940049409866333, -0.9838290810585022, -0.1895504742860794, -0.2889123857021332, -0.6643080711364746, 0.16451072692871094, -0.3806099593639374, -0.24877691268920898, -0.2804970145225525, -0.4125964045524597, -0.33471766114234924, 0.44143879413604736, -0.12699802219867706, 1.1000337600708008, -0.6994227170944214, 0.7285535335540771, 0.4684082269668579, -0.0769600197672844, -0.4341128170490265, 0.4609664976596832, -0.5044272541999817, -0.6641085743904114, 0.05061587318778038, 0.07011883705854416, -0.2376149445772171, 0.20131924748420715, -0.5607961416244507, -0.7850111722946167, 1.0227845907211304, 0.45458874106407166, -0.2875773310661316, -0.03824356943368912, -0.05768650025129318, 0.5751879811286926, -0.6135429739952087, 0.0296318419277668, 0.5075482726097107, 0.3678690791130066, 0.11391019076108932, -0.6558586359024048, 0.11274015158414841, -0.3247051239013672, 0.12523961067199707, 0.2687406539916992, -0.24816416203975677, 0.778492271900177, -0.35055866837501526, -0.5828230977058411, 0.5162563323974609, 1.0783361196517944, 0.35404643416404724, 0.2859606444835663, 0.6354631781578064, 0.30981218814849854, 1.0000561475753784, 0.04036369547247887, 0.916079580783844, -0.4220536947250366, 0.10673905909061432, 0.9964869022369385, 0.053842268884181976, 0.9976492524147034, 0.34774166345596313, 0.06641491502523422, 0.703148365020752, 0.5761693716049194, 0.29377707839012146, 0.579692542552948, 0.24536371231079102, -0.5662604570388794, -0.27752503752708435, 0.011601584032177925, -0.21503987908363342, 0.41650390625, 0.34513458609580994, -0.6556435823440552, -0.027269311249256134, 0.08201179653406143, -0.22970813512802124, 0.41427096724510193, -0.24180662631988525, 0.8090623617172241, -0.11945570260286331, -1.0327842235565186, 0.537111222743988, 0.4816066324710846, 0.6325692534446716, -0.4486296772956848, 0.1935088336467743, 0.03625858202576637, 0.20326046645641327, -0.2321101278066635, -0.8834189772605896, 0.25916358828544617, 0.12408381700515747, -0.2932298481464386, -0.13659709692001343, 0.8840917348861694, -0.4890734553337097, -0.5715300440788269, -0.03355732187628746, 0.3334389626979828, -0.027544928714632988, 0.19869714975357056, -0.39284390211105347, 0.06992246955633163, 0.1683451533317566, -0.12598101794719696, 0.04492427781224251, 0.6438606977462769, 0.04838177189230919, 0.4459633529186249, 0.8428875803947449, 0.212727352976799, 0.06556776911020279, -0.08171903342008591, 0.5727118849754333, -0.5031478404998779, -0.8507573008537292, -0.9078737497329712, 0.5280351042747498, -0.14158853888511658, -0.3304362893104553, 0.5389419794082642, 0.34394240379333496, 0.7534866333007812, -0.004419208969920874, 1.143804669380188, 0.07285059243440628, 0.21888038516044617, -0.7100739479064941, 0.5789427757263184, -0.4264026880264282, 0.2009057253599167, -0.30268973112106323, -0.8541800379753113, -0.3932151794433594, 0.6664846539497375, 0.09838021546602249, 0.04848857596516609, 0.5426029562950134, 0.6808714270591736, -0.10416960716247559, 0.17394548654556274, 0.17150147259235382, -0.09944899380207062, 0.3504651188850403, 0.5078025460243225, 0.6654199361801147, -0.4386369287967682, 0.642396092414856, 0.3131382167339325, -0.5842782855033875, -0.0083101075142622, -1.072879672050476, -0.6992355585098267, -0.5425986647605896, -0.020366797223687172, -0.5645885467529297, 0.26980048418045044, 0.805025041103363, 0.5185111165046692, -0.6609504222869873, -0.1704285889863968, -0.6401597261428833, 0.05140572786331177, -0.24452689290046692, -0.19087624549865723, 0.1516520231962204, -0.6654599905014038, -0.7794623374938965, 0.2196340262889862, 0.3780217170715332, 0.15396593511104584, -0.09850675612688065, -0.3481898903846741, 0.03183510899543762, 0.6979747414588928, 0.4178389608860016, 0.10636372119188309, -0.40580758452415466, -0.4452930986881256, -0.009685548022389412, -0.1171124204993248, 0.1148606389760971, 0.9369732141494751, -0.5218412280082703, 0.7645358443260193, 0.7984123826026917, 0.6750665307044983, -0.1267349123954773, 0.12957355380058289, 1.0937612056732178, -1.0351258516311646, 0.17125774919986725, 0.11691036075353622, 0.030929524451494217, 0.44753772020339966, -0.5171304941177368, 0.177608922123909, 0.21775813400745392, -0.29687532782554626, -1.0722013711929321, 0.441290944814682, -0.5921764969825745, -0.5417935848236084, 0.9473267793655396, -0.11575684696435928, -0.18832488358020782, -0.17910422384738922, -0.08051745593547821, 0.4901072382926941, -0.36841920018196106, 0.6782712936401367, 0.7243278622627258, 0.13763214647769928, -0.2482329159975052, -0.037801891565322876, 0.5587984323501587, 0.37820470333099365, -0.8775445222854614, 0.24217242002487183, 0.1997775286436081, 0.08422762900590897, 0.31958237290382385, 0.9864479899406433, -0.06094929203391075, 0.4419620931148529, 0.5171838998794556, -0.04966088384389877, 0.18885616958141327, -0.34909144043922424, -0.22596773505210876, 0.4501585066318512, 0.3170969486236572, -0.20081326365470886 ]
http://arxiv.org/abs/2402.18216v1
http://arxiv.org/pdf/2402.18216v1
LLM Task Interference: An Initial Study on the Impact of Task-Switch in Conversational History
2024-02-28T10:19:05
2024-02-28T10:19:05
Akash Gupta, Ivaxi Sheth, Vyas Raina, Mark Gales, Mario Fritz
cs.CL
cs.CL
With the recent emergence of powerful instruction-tuned large language models (LLMs), various helpful conversational Artificial Intelligence (AI) systems have been deployed across many applications. When prompted by users, these AI systems successfully perform a wide range of tasks as part of a conversation. To provide some sort of memory and context, such approaches typically condition their output on the entire conversational history. Although this sensitivity to the conversational history can often lead to improved performance on subsequent tasks, we find that performance can in fact also be negatively impacted, if there is a task-switch. To the best of our knowledge, our work makes the first attempt to formalize the study of such vulnerabilities and interference of tasks in conversational LLMs caused by task-switches in the conversational history. Our experiments across 5 datasets with 15 task switches using popular LLMs reveal that many of the task-switches can lead to significant performance degradation.
[ -0.06516464054584503, -1.2068265676498413, 0.4539177715778351, -0.04579092934727669, -0.056001197546720505, 0.009674661792814732, -0.00017565855523571372, -0.7737639546394348, 0.15097790956497192, 0.9660350680351257, -0.5243098735809326, -0.0894559770822525, -0.8010874390602112, -0.3602018356323242, -0.7209463715553284, 0.9638361930847168, 0.08077402412891388, -0.144192174077034, -0.46869462728500366, 0.29524311423301697, -0.6469652652740479, -0.7073469161987305, -0.7010334730148315, -0.41029539704322815, 0.25553637742996216, 0.2523539066314697, 0.5757725834846497, 0.40125542879104614, 0.7032674551010132, 0.32797566056251526, -0.06857910752296448, 0.08646870404481888, -0.824580192565918, 0.3945193886756897, -0.0727376863360405, -0.8625743389129639, -0.4821053445339203, -0.13116440176963806, 0.35101771354675293, 0.7250158786773682, 0.08338239043951035, -0.08259764313697815, 0.3389046788215637, 0.3465858995914459, -0.5385234355926514, 0.18998079001903534, -0.8253549933433533, 0.041011467576026917, -0.5732244253158569, -0.3469318449497223, -0.553374171257019, 0.24203361570835114, 0.015173975378274918, -0.2789613902568817, 0.008644736371934414, -0.11373371630907059, 0.5501087307929993, 0.5549136996269226, -0.508897602558136, -0.030704261735081673, -1.0659581422805786, 0.9012649059295654, -0.6660728454589844, 0.2765321433544159, 0.48689696192741394, -0.18176613748073578, -0.26526933908462524, -0.6190372109413147, -0.2909367084503174, -0.6005409359931946, -0.08176862448453903, 0.04283944517374039, -0.5376020073890686, 0.1871451437473297, 0.36525779962539673, 0.0819103941321373, -0.08933168649673462, 0.25609806180000305, -0.3044275641441345, -0.12444508820772171, 0.5649722814559937, 0.6345164775848389, 0.3172725439071655, 0.035027679055929184, -0.2122056782245636, 0.33197087049484253, -0.8403621315956116, 0.05927304923534393, 0.4974571466445923, 0.2316366732120514, 0.1336488127708435, 0.6201209425926208, -0.2674950659275055, 0.7074313759803772, 0.09738586097955704, -0.016221817582845688, -0.21051369607448578, -0.5674033761024475, -0.17184285819530487, -0.36696699261665344, 0.7664704322814941, 0.2762453854084015, 0.11508584767580032, -0.4964842200279236, 0.17869126796722412, 0.0483921617269516, 0.5867842435836792, -0.4661557674407959, -0.08840815722942352, 0.029190748929977417, -0.22199873626232147, -0.12266506254673004, -0.20421312749385834, -0.27376145124435425, -0.32207217812538147, -0.1877584457397461, 0.19037553668022156, -0.2324666678905487, 0.10621209442615509, -0.2082924097776413, 0.1956394910812378, 0.05762797221541405, 0.4668775200843811, -0.6086916923522949, 0.6112996935844421, 0.7992919683456421, 0.6524264812469482, -0.7118922472000122, -0.557488739490509, -0.4953918755054474, 0.04903235286474228, -0.09712392836809158, 0.4218457043170929, -0.5568227767944336, -0.7958418726921082, 0.0943281427025795, -0.09390215575695038, -0.12747637927532196, -0.6250474452972412, 0.39563238620758057, -0.733086109161377, -0.021187949925661087, -0.11892221868038177, -0.49332502484321594, 0.045794375240802765, 0.02230549231171608, -0.6381723880767822, 0.8962246179580688, -0.3974134624004364, -0.4142357409000397, 0.1641494184732437, -0.29955244064331055, -1.061786413192749, 0.002941207494586706, -0.03366069868206978, -0.12984023988246918, -0.20044240355491638, -0.24826323986053467, 0.39509856700897217, -0.18518352508544922, 0.06535525619983673, 0.01297114510089159, -0.4496929943561554, 0.4056423008441925, -0.5643380880355835, 0.6754071712493896, -0.07048038393259048, -0.6560693383216858, -0.08207673579454422, -0.2361990213394165, -0.11737764626741409, -0.24389010667800903, -0.2381681650876999, -0.31746649742126465, 0.29838138818740845, 0.02694268897175789, 0.13400232791900635, 0.4136965274810791, -0.2769387364387512, 0.14305567741394043, -0.14286823570728302, 0.24621930718421936, 0.5290582776069641, 0.09802412241697311, 0.13562923669815063, -0.5568195581436157, 0.5331405997276306, 0.2802388370037079, 0.25856897234916687, -0.2604263722896576, -0.709540069103241, -0.7662336826324463, 0.19778214395046234, 0.03274059668183327, 0.8457959890365601, -0.3998181223869324, 0.20040658116340637, 0.13612842559814453, -0.2422364354133606, -0.1848810315132141, 0.36832067370414734, 0.6086801886558533, 0.23044438660144806, 0.10871097445487976, -0.32730409502983093, -0.4523142874240875, -0.8929761052131653, -0.46506467461586, -0.2342616468667984, 0.27608799934387207, 0.8032325506210327, 0.40175339579582214, -0.23779679834842682, 0.9598853588104248, -0.4022517502307892, -0.18796637654304504, -0.10407453030347824, 0.06077342480421066, 0.08761303871870041, 0.5505586862564087, 0.12367210537195206, -0.3921281099319458, -0.2632554769515991, -0.055778782814741135, -0.36538514494895935, -0.21861030161380768, -0.44553810358047485, -0.3724432587623596, 0.3129595220088959, 0.842570424079895, -0.7659934759140015, 0.41425371170043945, 0.5068261623382568, -0.2563292682170868, 0.5497511625289917, 0.004379183053970337, 0.35444554686546326, -0.8514072299003601, 0.08601036667823792, -0.08458603173494339, -0.13982589542865753, -0.9063647389411926, -0.2960638999938965, -0.12870192527770996, 0.2392004281282425, -0.5741474032402039, 0.3664126694202423, -0.2330823391675949, 0.07524699717760086, -0.231391042470932, 0.06985124945640564, -0.33549273014068604, 0.43972620368003845, -0.14037594199180603, 0.63795006275177, 0.2034604251384735, -0.6394849419593811, 0.11797219514846802, 0.35639965534210205, -0.1837407946586609, 0.47496557235717773, -0.43508443236351013, 0.4460518956184387, 0.4383041560649872, 0.037774648517370224, -0.8999242782592773, -0.035942330956459045, 0.377824604511261, -0.21664533019065857, 0.3636835515499115, -0.0990455374121666, -0.21638250350952148, 0.07519136369228363, -0.049679774791002274, 0.5295684337615967, 0.2714567184448242, -0.19766339659690857, 0.20786872506141663, 0.6072720289230347, -0.2259676605463028, -0.48660242557525635, -0.6742138862609863, 0.5536377429962158, -0.01756219007074833, -0.5376982688903809, 0.5527098774909973, -0.21030931174755096, -0.3638579249382019, -0.06575584411621094, -0.10033035278320312, -0.18339397013187408, 0.287570595741272, 0.6592867374420166, 0.4338887333869934, 0.09155207127332687, -0.11308497935533524, -0.11016607284545898, 0.13542895019054413, 0.20847970247268677, 0.2675308883190155, 0.6241381764411926, 0.07086647301912308, -0.7895713448524475, -0.5525731444358826, 0.3486163020133972, 0.5700399279594421, -0.02656557410955429, 0.49907925724983215, -0.02987411990761757, -0.22221408784389496, 0.03498532995581627, -0.6525774002075195, -0.1965196281671524, -0.4258614480495453, 0.6795557141304016, -0.177491694688797, -1.0140460729599, 0.5042467713356018, -0.21811896562576294, 0.15052832663059235, 0.15382976830005646, 0.630725085735321, -0.3353338837623596, 0.7998761534690857, 0.45811665058135986, -0.4177553057670593, 0.9778886437416077, -0.006137470714747906, 0.2631746232509613, -0.6304742097854614, -0.2658938765525818, -0.4312558174133301, -0.4450444281101227, -0.5822916626930237, -0.47564631700515747, 0.1971920281648636, -0.07198375463485718, -0.08694051951169968, 0.11164996773004532, -0.010080013424158096, 0.482356458902359, 0.6607148051261902, 0.3706524968147278, 0.37470194697380066, -0.43081048130989075, 0.6686428189277649, 0.014658553525805473, -0.55367112159729, -0.34930843114852905, 1.1649764776229858, 0.017127566039562225, 0.9925296306610107, -0.06085614487528801, 0.7849093079566956, 0.6840436458587646, -0.2770029902458191, -0.6597703695297241, 0.7825559377670288, -0.1859799027442932, -0.4877004623413086, -0.4500879943370819, -0.13270893692970276, -1.4390963315963745, 0.03468022495508194, -0.0740051120519638, -1.0630929470062256, -0.2731192409992218, 0.26047590374946594, -0.14298692345619202, 0.10679873079061508, -0.6768987774848938, 0.712781548500061, -0.45163652300834656, -0.6230437159538269, -0.37371018528938293, -0.6186120510101318, 0.6039896011352539, 0.12430518120527267, -0.09012111276388168, -0.04668028652667999, -0.016103215515613556, 0.6435713171958923, 0.0470830574631691, 1.4720107316970825, 0.09889984875917435, 0.08715654909610748, 0.05510919168591499, 0.24155138432979584, 0.7322361469268799, -0.21830210089683533, 0.29921063780784607, 0.4150941073894501, -0.11214058101177216, -0.17268694937229156, -0.4042561650276184, 0.714749276638031, -0.7485785484313965, -1.2419326305389404, -0.2058628499507904, -0.9105355739593506, -0.31815943121910095, 0.1760937124490738, 0.013833552598953247, 0.2554529309272766, -0.55963534116745, 0.08647608757019043, 0.699130654335022, 0.26347616314888, 0.31790363788604736, 0.39083096385002136, -0.04313282668590546, 0.30661115050315857, 0.6539897322654724, 0.07232595235109329, 0.4174877405166626, 0.2917786240577698, -0.2419244647026062, 0.24514861404895782, -0.6998375058174133, -0.16980691254138947, -0.06312975287437439, -0.396115779876709, -0.02646169811487198, -0.5135179758071899, -0.25476402044296265, -0.13177981972694397, -0.011797161772847176, -0.33173486590385437, -0.30914363265037537, -0.6695957183837891, 0.24141979217529297, 0.14827416837215424, 0.966267466545105, 0.3038746118545532, 0.2281426042318344, -0.7288675904273987, 0.1677442491054535, 0.28723809123039246, 0.15914592146873474, -0.1760149598121643, -0.3867177665233612, -0.4028213918209076, 0.01034548133611679, -0.39944928884506226, -1.0468679666519165, -0.05492854490876198, 0.12273754179477692, 0.9577112197875977, 0.44244152307510376, -0.03597066551446915, 0.427316814661026, -0.46089985966682434, 1.0016332864761353, 0.12882179021835327, -0.9312170743942261, 0.43818166851997375, -0.36366888880729675, 0.45952001214027405, 0.2932102084159851, 0.03237302228808403, -0.8479946851730347, -0.8042197823524475, -0.5730093121528625, -0.9900538921356201, 1.0148464441299438, 0.3249865770339966, 0.27953895926475525, -0.032402705401182175, 0.1603173315525055, 0.2469804435968399, 0.1820906400680542, -0.3713531494140625, -0.5515176653862, 0.18380412459373474, 0.21360906958580017, -0.09311480820178986, -0.3021356761455536, -0.42398375272750854, -0.014200858771800995, 0.5271485447883606, 0.09855037182569504, 0.27737855911254883, -0.3018076419830322, -0.5228817462921143, -0.11140470206737518, 0.2420516163110733, 0.7659762501716614, 0.6505568027496338, 0.24646417796611786, 0.1424846351146698, 0.4183657765388489, -0.4849907457828522, -0.08705249428749084, -0.07069440186023712, -0.19536440074443817, -0.11858650296926498, 0.36051133275032043, 0.9540587663650513, 0.7511569857597351, -0.6469537615776062, 0.1830647736787796, 0.09960855543613434, 0.03921063616871834, -0.05070139840245247, 0.4583682417869568, 0.1462358981370926, 0.611136257648468, 0.14619770646095276, 0.1628475934267044, 0.11728722602128983, -0.6344587206840515, 0.3207363784313202, 0.9047189354896545, -0.08050429821014404, -0.04606247693300247, 0.4002799391746521, 0.44798123836517334, -0.7897406816482544, 0.5272282361984253, 0.24605368077754974, -0.5337420105934143, 0.7622072696685791, 0.6067256331443787, 0.8989648818969727, -0.3053475320339203, -0.05641018971800804, -0.1149372011423111, 0.43973374366760254, 0.14387379586696625, -0.04256339743733406, -0.1830127090215683, -0.669954776763916, -0.36680012941360474, -0.008290917612612247, -0.8417232632637024, 0.04900982603430748, -0.7610803842544556, -0.10470171272754669, 0.03926306217908859, -0.45377957820892334, -0.23941576480865479, -0.1442929208278656, -0.7308658957481384, -0.10529912263154984, 0.35591617226600647, 0.42269569635391235, -0.5556031465530396, 0.739101231098175, 0.4883328378200531, 0.18883274495601654, 0.016818653792142868, 0.2792339622974396, 0.000920082675293088, -0.9214181303977966, 0.8184344172477722, -0.27465197443962097, -0.38377466797828674, -0.2103184461593628, -0.23043884336948395, -0.890030562877655, 0.9443149566650391, 0.3703387677669525, -0.7333838939666748, 0.10092464089393616, 0.6571190357208252, 0.3641217350959778, -0.13447318971157074, 0.2963830530643463, 1.0012998580932617, 0.2456424981355667, -0.09735142439603806, -1.0770561695098877, 0.035259000957012177, -0.2139202207326889, -0.14470738172531128, 0.5064133405685425, -0.7592174410820007, 0.6827654242515564, -0.09814721345901489, -0.14235331118106842, 0.0073473514057695866, 0.3943135142326355, -0.06090488284826279, 0.3699948787689209, 0.48173829913139343, 0.31878072023391724, 0.6789283752441406, -0.12633080780506134, 0.8548910617828369, -0.5634121894836426, 0.03280982747673988, 1.1482945680618286, -0.36732229590415955, 0.8733435273170471, 0.777707576751709, -0.5360849499702454, 0.0240385290235281, 0.3847323954105377, 0.19067533314228058, 0.2775228023529053, 0.1185157522559166, -0.26464739441871643, -0.3109342157840729, -0.01042864192277193, -0.29838699102401733, 0.4756357669830322, 0.3340718150138855, -0.1919369399547577, 0.05754764750599861, -0.13042333722114563, 0.4315360486507416, -0.4364717900753021, -0.12165512889623642, 0.6977077126502991, -0.054490674287080765, -0.8460673689842224, 0.19021297991275787, -0.34895431995391846, 0.8763946294784546, -0.6185829639434814, -0.0028924692887812853, -0.2116779088973999, -0.007737841457128525, -0.21106019616127014, -0.6518347263336182, 0.2058008313179016, -0.1459944099187851, -0.2804381847381592, -0.33055639266967773, 0.8003461360931396, -0.4311469495296478, -0.16539783775806427, 0.26124030351638794, 0.7229551076889038, 0.08923069387674332, 0.02042977325618267, -0.4484561085700989, 0.2884534001350403, 0.015447961166501045, -0.48391252756118774, 0.755731463432312, -0.187772735953331, -0.09790967404842377, 0.4842720627784729, 0.5508080720901489, -0.22354453802108765, 0.28694307804107666, -0.2547031342983246, 0.768698513507843, -0.7144488096237183, -0.31174609065055847, -0.9973726868629456, 0.3085639476776123, 0.0016098744235932827, -0.3623879551887512, 0.751044750213623, 0.48645904660224915, 0.7668097019195557, 0.21134516596794128, 0.8454173803329468, -0.023813609033823013, 0.15850947797298431, -0.5331534147262573, 0.7293612360954285, -0.3084813058376312, 0.4837431311607361, -0.1529952883720398, -0.4008311629295349, 0.09024509787559509, -0.03145233169198036, -0.3607517182826996, 0.11491778492927551, 0.7218260765075684, 0.7612800598144531, 0.23656558990478516, 0.022044867277145386, 0.5936232209205627, 0.2920747995376587, 0.36690807342529297, 0.5144965052604675, 0.9632828235626221, -0.060320090502500534, 0.6664143800735474, -0.2412768304347992, -0.14455603063106537, -0.5742276906967163, -0.597930908203125, -0.7395232915878296, -0.6629219055175781, -0.5079997181892395, -0.23527996242046356, 0.538290798664093, 0.2655537724494934, 0.40580496191978455, -0.5686795115470886, -0.6779154539108276, 0.04484536498785019, 0.2580054998397827, -0.3791551887989044, -0.1954115629196167, 0.04943324252963066, -0.4020695984363556, -0.9370472431182861, 0.5213503837585449, 0.19866052269935608, -0.31497323513031006, -0.1928933709859848, -0.09035356342792511, -0.19549204409122467, 0.14861728250980377, 0.6392921805381775, 0.46905454993247986, -0.8801239728927612, -0.2188768982887268, 0.006883260328322649, -0.30925676226615906, 0.062213364988565445, 1.1623573303222656, -0.6480828523635864, 0.30440753698349, 0.28410911560058594, 0.7715003490447998, 0.7355336546897888, -0.2031141221523285, 0.5145203471183777, -0.5942314267158508, -0.09534531086683273, 0.34727782011032104, 0.3461223840713501, -0.24401651322841644, -0.6224780082702637, 0.12232622504234314, 0.15612885355949402, -0.7381650805473328, -0.7370614409446716, 0.2305464744567871, -1.1410551071166992, -0.2440599501132965, 1.2034761905670166, -0.0796266719698906, 0.1040763333439827, -0.340602308511734, -0.4133200943470001, 0.2363658994436264, -0.360897421836853, 0.9177417755126953, 0.8579458594322205, -0.8247751593589783, -0.013016336597502232, -0.8055748343467712, 0.3477066457271576, 0.7457308173179626, -1.1710247993469238, 0.08400534838438034, 0.5566220879554749, -0.05758048593997955, -0.04497721046209335, 0.5145362019538879, 0.27881333231925964, 0.442399799823761, -0.014634297229349613, -0.05019558593630791, -0.10299865156412125, -0.12548299133777618, -0.005625192541629076, 0.14983338117599487, 0.09107188135385513, -0.4080355763435364 ]
http://arxiv.org/abs/2402.18209v1
http://arxiv.org/pdf/2402.18209v1
DANSK and DaCy 2.6.0: Domain Generalization of Danish Named Entity Recognition
2024-02-28T10:01:00
2024-02-28T10:01:00
Kenneth Enevoldsen, Emil Trenckner Jessen, Rebekah Baglini
cs.CL
cs.CL
Named entity recognition is one of the cornerstones of Danish NLP, essential for language technology applications within both industry and research. However, Danish NER is inhibited by a lack of available datasets. As a consequence, no current models are capable of fine-grained named entity recognition, nor have they been evaluated for potential generalizability issues across datasets and domains. To alleviate these limitations, this paper introduces: 1) DANSK: a named entity dataset providing for high-granularity tagging as well as within-domain evaluation of models across a diverse set of domains; 2) DaCy 2.6.0 that includes three generalizable models with fine-grained annotation; and 3) an evaluation of current state-of-the-art models' ability to generalize across domains. The evaluation of existing and new models revealed notable performance discrepancies across domains, which should be addressed within the field. Shortcomings of the annotation quality of the dataset and its impact on model training and evaluation are also discussed. Despite these limitations, we advocate for the use of the new dataset DANSK alongside further work on the generalizability within Danish NER.
[ -0.6729507446289062, -0.5653969645500183, 0.4408692419528961, 0.13404305279254913, -0.2922869622707367, -0.15922033786773682, -0.3644926846027374, -0.9171885848045349, 0.16633446514606476, 0.4855023920536041, -0.1514388918876648, -0.658650279045105, -0.780984103679657, 0.42306095361709595, -0.38485682010650635, 0.8686579465866089, -0.1596468836069107, -0.008866248652338982, -0.30231809616088867, -0.14721328020095825, -0.6975979804992676, -0.6500974893569946, -0.8641567230224609, -0.295427143573761, 0.42730653285980225, 0.2492574155330658, 0.5134032964706421, 0.47862687706947327, 0.7600885033607483, 0.1824607402086258, -0.3756747543811798, 0.12374262511730194, -0.42173877358436584, 0.17707523703575134, -0.4126569330692291, -0.06441443413496017, -0.8723985552787781, -0.15887917578220367, 0.8944085240364075, 0.9560747146606445, -0.06037113070487976, 0.021453820168972015, 0.061340585350990295, 0.7700522541999817, -0.6860336065292358, 0.3739444315433502, -0.638205885887146, -0.19019715487957, -0.10507717728614807, 0.34350186586380005, -0.12902452051639557, 0.07005167007446289, 0.4004903733730316, -1.1232733726501465, 0.4327653646469116, -0.12368809431791306, 1.0120657682418823, 0.2992789149284363, -0.43184763193130493, -0.5194076299667358, -0.936318576335907, 0.7983375191688538, -0.5445529222488403, 0.6255966424942017, 0.5198764204978943, 0.5313648581504822, -0.20609433948993683, -0.7048572897911072, -0.49394503235816956, -0.20184530317783356, -0.04335101321339607, -0.11697379499673843, -0.042016372084617615, 0.1932060271501541, 0.3236277401447296, 0.4635402262210846, -0.26330265402793884, 0.19045211374759674, -0.27784499526023865, 0.09776788204908371, 0.8326470255851746, 0.22363629937171936, 0.012855869717895985, -0.11869310587644577, -0.34978652000427246, -0.003241205122321844, -0.5110911130905151, -0.11151284724473953, 0.46211761236190796, 0.3381378948688507, -0.168691948056221, 0.2708100974559784, -0.35796216130256653, 0.7043396830558777, 0.33480650186538696, 0.1392882764339447, 0.1850992739200592, -0.0826367735862732, -0.1967117041349411, 0.058591149747371674, 0.35084956884384155, 0.4044322967529297, 0.2772422432899475, -0.20794454216957092, -0.46299979090690613, 0.015304304659366608, 0.20796893537044525, -0.4474647343158722, -0.5386936068534851, 0.20144736766815186, -0.4295513927936554, -0.24666890501976013, 0.3141533434391022, -0.654925525188446, -0.4212533235549927, -0.6279001832008362, 0.22389446198940277, 0.08303070068359375, -0.7080416083335876, 0.28894373774528503, -0.2177303284406662, 0.0585813969373703, 0.6177212595939636, -1.049341082572937, 0.8407374024391174, 0.8569568395614624, 0.4769115447998047, -0.47793692350387573, 0.03003811649978161, -0.0525609627366066, 0.16251331567764282, -0.5142149925231934, 0.6681427955627441, -0.6800687909126282, -0.555636465549469, -0.19214138388633728, 0.21818289160728455, -0.08047734946012497, -0.8703352808952332, 0.46014174818992615, -0.6249508261680603, -0.316470205783844, -0.4047226011753082, -0.7501498460769653, -0.22472047805786133, 0.26591503620147705, -1.0524723529815674, 1.0659462213516235, 0.26915881037712097, -1.024617075920105, 0.6280613541603088, -0.5970732569694519, -0.09699796885251999, 0.18246187269687653, -0.4127831757068634, -0.10419318079948425, 0.4128425717353821, -0.017838049679994583, 0.7065904140472412, -0.4035465121269226, 0.5385477542877197, -0.4021521210670471, -0.2629401385784149, -0.03063715621829033, -0.24695801734924316, 0.449140727519989, 0.05994970723986626, -0.010599283501505852, -0.49759647250175476, -0.9717915058135986, -0.23040683567523956, 0.18962986767292023, -0.6388816237449646, -0.768483579158783, -0.08225349336862564, 0.32014626264572144, 0.23817966878414154, 0.13569410145282745, -0.5526354908943176, 0.29242244362831116, -0.4654874801635742, 0.03984709829092026, 0.6394142508506775, 0.08318018913269043, 0.5622865557670593, 0.0071775782853364944, 0.32122766971588135, 0.06338904052972794, -0.009089745581150055, 0.3278430104255676, -0.5273082852363586, -0.7071818113327026, -0.31507131457328796, 1.0515025854110718, 0.3470321297645569, -0.7636746168136597, 0.1896481215953827, -0.5986031889915466, -0.2276025116443634, -0.19156469404697418, -0.2489747852087021, 0.19305652379989624, 0.32959315180778503, 0.3751700818538666, -0.5002042651176453, -0.7060733437538147, -1.1679750680923462, -0.2904982268810272, -0.045285072177648544, 0.11912047863006592, 0.6338028907775879, 0.6056079864501953, -0.34323424100875854, 0.9463381767272949, -0.30193203687667847, -0.04570138826966286, -0.17715045809745789, 0.07125134766101837, 0.3527039587497711, 0.5077207684516907, 0.49132755398750305, -1.2234169244766235, -0.7058113813400269, 0.10672025382518768, -0.5695971250534058, -0.012829333543777466, 0.05550429970026016, 0.16397325694561005, 0.15523262321949005, 0.37498724460601807, -0.5508407354354858, 0.6130648851394653, 0.3661435544490814, -0.1754884570837021, 0.6953662633895874, -0.00003492920222925022, 0.07341840863227844, -0.9459495544433594, 0.12262005358934402, -0.08097736537456512, -0.4004482924938202, -0.7625123858451843, -0.21748892962932587, 0.06491798907518387, 0.0831030085682869, -0.4297873079776764, 1.204714298248291, -0.5567113161087036, 0.03140532970428467, -0.3392103314399719, -0.0745508149266243, -0.04008225351572037, 0.056143444031476974, 0.20274409651756287, 0.5153442025184631, 0.6365362405776978, -1.0723966360092163, 0.47855204343795776, 0.3650342524051666, -0.24207600951194763, 0.87458336353302, -0.5767033100128174, -0.03528628125786781, 0.029230890795588493, 0.22809439897537231, -0.44692179560661316, -0.5256210565567017, 0.317266583442688, -0.38733020424842834, 0.9156033992767334, -0.4891095459461212, -0.4871630370616913, -0.3444215655326843, -0.00259591918438673, 0.521582305431366, 0.3674449324607849, -0.7483747005462646, 0.6390796303749084, 0.5736194849014282, -0.23899495601654053, -0.7291824817657471, -0.5370966792106628, 0.3099771738052368, -0.16559213399887085, -0.4423072934150696, 0.49768736958503723, 0.1076858639717102, -0.34303852915763855, 0.24343618750572205, -0.5833710432052612, -0.45515501499176025, 0.14637665450572968, 0.31671595573425293, 0.003642473602667451, -0.09878028929233551, 0.361494243144989, 0.09665168076753616, -0.39781737327575684, 0.055042289197444916, -0.32931169867515564, 0.09274361282587051, 0.04487750679254532, 0.012263183481991291, -0.39239683747291565, 0.4158496856689453, -0.024953920394182205, 0.06807512789964676, 0.54644376039505, 0.34162887930870056, -0.8200832605361938, -0.337046355009079, -0.5407045483589172, 0.11524584889411926, -0.4267996549606323, 0.31880784034729004, -0.7133774757385254, -0.930579423904419, 0.3742613196372986, -0.4785407483577728, -0.17988836765289307, 0.9760249853134155, 0.5188069939613342, -0.09118509292602539, 0.6283167600631714, 0.9747421145439148, 0.18978941440582275, 0.09028186649084091, -0.42881670594215393, 0.25724756717681885, -0.9735221266746521, -0.12769684195518494, -0.43780717253685, -0.2307729423046112, -0.7056183218955994, -0.24091868102550507, -0.10142391175031662, 0.282484233379364, 0.25077342987060547, 0.377135306596756, -0.5132721066474915, 0.568198025226593, 0.2214113473892212, -0.4824370741844177, 0.21693077683448792, 0.06466853618621826, -0.38102883100509644, 0.09744744747877121, -0.5398077368736267, -0.8085474371910095, 1.0918121337890625, 0.30852633714675903, 0.8470557332038879, -0.20055614411830902, 0.8399280905723572, 0.47821271419525146, 0.042152952402830124, -0.5604627132415771, 0.458256334066391, -0.4411904811859131, -0.999484121799469, -0.0718696117401123, -0.3732143044471741, -0.9853470325469971, -0.048828642815351486, -0.07653719931840897, -0.7752242684364319, 0.8650733232498169, 0.23230910301208496, -0.18767189979553223, 0.409872829914093, -0.4379015266895294, 0.7006255388259888, 0.24816781282424927, 0.10184430330991745, -0.08207051455974579, -0.6290912628173828, 0.06770520657300949, -0.32207050919532776, 0.04369817301630974, -0.45854347944259644, -0.04559767618775368, 0.9799609780311584, 0.05048203095793724, 0.7141590714454651, -0.38746178150177, -0.21472999453544617, 0.3520183265209198, -0.05881394445896149, 0.4068377614021301, 0.33765915036201477, 0.06788798421621323, 0.674454927444458, 0.2286321520805359, -0.18107832968235016, -0.3619460165500641, 0.9625799059867859, -0.4496699273586273, -0.37310144305229187, -0.48050737380981445, -0.32088735699653625, -0.1850452721118927, 0.12317847460508347, 0.1527945101261139, 0.32076796889305115, -0.6066517233848572, -0.028506698086857796, 0.7682735323905945, -0.1037391871213913, 0.31415531039237976, 0.4567427337169647, -0.02545081451535225, -0.531217098236084, 0.8917289972305298, 0.35809147357940674, 0.02097916603088379, 0.2204185426235199, -0.43895265460014343, -0.16804388165473938, -0.5326452851295471, -0.2538433372974396, 0.29996317625045776, -0.8665761351585388, -0.25207799673080444, -1.0069770812988281, -0.1388804167509079, -0.36365658044815063, -0.08200656622648239, -0.5341319441795349, -1.0376818180084229, -0.39876165986061096, -0.10346432030200958, 0.04562714323401451, 1.2214998006820679, -0.29606685042381287, 0.20276571810245514, -0.539440393447876, 0.6553800702095032, 0.23474550247192383, 0.7247278690338135, -0.05633199214935303, -0.24921657145023346, -0.5069734454154968, -0.10634955018758774, -0.12343981862068176, -0.7429845929145813, -0.08796529471874237, 0.21444225311279297, 0.4914015829563141, 0.1795499473810196, -0.10847321897745132, 0.23187443614006042, -0.6947580575942993, 0.6393178701400757, 0.021168271079659462, -0.7829137444496155, 0.32785218954086304, -0.3277796506881714, -0.21984727680683136, 0.5306567549705505, 0.44642356038093567, -0.7207773327827454, 0.17151778936386108, -0.9575675129890442, -0.9998295307159424, 0.6787212491035461, 0.23673760890960693, 0.16646471619606018, -0.15769605338573456, 0.7596498131752014, 0.5363603830337524, 0.3212738633155823, -0.26579341292381287, -0.30685481429100037, 0.1765405833721161, -0.10568566620349884, 0.011361788958311081, -0.6037358641624451, 0.15875251591205597, -0.2446644902229309, 0.9255094528198242, 0.1565033346414566, 0.36432352662086487, 0.2518661916255951, -0.1551923006772995, 0.02405370958149433, 0.31800463795661926, 0.04473781958222389, 0.6931832432746887, -0.21731294691562653, 0.06284472346305847, 0.29394590854644775, -0.6353638172149658, 0.19486281275749207, 0.4200538694858551, -0.1012042760848999, 0.42385339736938477, 0.16990672051906586, 0.6397351026535034, 0.021610967814922333, -0.17045989632606506, 0.4214579463005066, -0.1645098328590393, -0.21395739912986755, -0.26323944330215454, 0.15448282659053802, -0.00446723960340023, 0.27134519815444946, 0.056879471987485886, -0.09328041225671768, 0.36967533826828003, 0.24441201984882355, 0.13657410442829132, 0.18879374861717224, -0.3474135398864746, -0.5456400513648987, 0.6046541929244995, 0.2693658173084259, 0.0408603698015213, 0.49346765875816345, -0.47370320558547974, -0.24666890501976013, 0.7831929326057434, 0.290627121925354, 1.0378338098526, -0.3103913366794586, 0.024331364780664444, 0.4745464324951172, 0.2495332807302475, -0.19706712663173676, 0.5266162157058716, 0.014154510572552681, -0.5766274333000183, -0.1963319629430771, -0.6684492826461792, -0.3651721477508545, 0.15310704708099365, -0.7601029872894287, 0.45113834738731384, -0.4341430068016052, -0.6380804777145386, 0.23193983733654022, 0.1590195596218109, -1.1854256391525269, 0.5031831860542297, 0.35680466890335083, 0.9619436860084534, -0.7471510171890259, 0.6797322034835815, 1.100748062133789, -0.051344819366931915, -0.3755815625190735, -0.2075108289718628, -0.17885811626911163, -0.27090632915496826, 0.8710260391235352, 0.26862281560897827, 0.2912212312221527, 0.054603174328804016, -0.6046501398086548, -0.9899978041648865, 1.0275516510009766, 0.06639904528856277, -0.5721785426139832, -0.14535333216190338, 0.18809780478477478, 0.46145904064178467, -0.5333155393600464, -0.28817257285118103, 0.5914397835731506, 0.6714697480201721, -0.3581680357456207, -1.1745282411575317, -0.19504790008068085, -0.2061985284090042, 0.32055336236953735, 0.34863507747650146, -0.23819707334041595, 0.7567871809005737, 0.04790349677205086, -0.49740928411483765, -0.002568811411038041, 0.5016737580299377, -0.18083274364471436, 0.41362643241882324, 0.3641919195652008, 0.9876664876937866, 0.7189129590988159, -0.16778196394443512, 1.1265590190887451, 0.03226831927895546, 0.6356886029243469, 1.3671092987060547, -0.2663147449493408, 0.6179543733596802, 0.40018466114997864, -0.18459811806678772, 0.2032480090856552, 0.7538105845451355, -0.1690622717142105, 0.5277543663978577, 0.3459680378437042, -0.24006210267543793, -0.22195972502231598, -0.3963344991207123, -0.4557013213634491, 0.23012349009513855, 0.5978894829750061, -0.11922625452280045, -0.3242000639438629, -0.12179434299468994, -0.12207771837711334, -0.3748684227466583, -0.2594722807407379, 0.939540445804596, 0.32481878995895386, 0.12417785823345184, 0.6824581027030945, 0.3570609986782074, 0.4292369782924652, -0.317987322807312, -0.346640944480896, 0.06500543653964996, -0.008794410154223442, -0.1944480538368225, -0.4177587032318115, 0.21594783663749695, 0.022127404808998108, -0.43572911620140076, 0.22379037737846375, 1.0715160369873047, -0.2590744197368622, -0.3871455788612366, 0.42204025387763977, 0.4053901135921478, 0.3073559105396271, -0.2115928679704666, -0.787653923034668, -0.2005194127559662, -0.4732874929904938, -0.3254478871822357, 0.11349290609359741, 0.6099070310592651, -0.23759277164936066, 0.3192109763622284, 0.3474404811859131, 0.10194852203130722, 0.06533993035554886, 0.031286049634218216, 0.9975712299346924, -0.5719914436340332, -0.37013283371925354, -0.5081350803375244, 0.4270147979259491, -0.08746425807476044, -0.23314419388771057, 0.5564391613006592, 0.5879600048065186, 1.2477208375930786, -0.12392006069421768, 0.8166560530662537, -0.14967046678066254, 0.5590206384658813, -0.33093512058258057, 0.4526461660861969, -0.5262779593467712, 0.21192629635334015, -0.14293581247329712, -1.2902514934539795, -0.3901628255844116, 0.34172484278678894, -0.4210778772830963, 0.26323002576828003, 0.6482968330383301, 0.34136685729026794, -0.5024810433387756, -0.06141526624560356, 0.43129074573516846, 0.4191424548625946, 0.13958658277988434, 0.27972766757011414, 0.8821015357971191, -0.497542142868042, -0.14267395436763763, -0.2874528169631958, -0.002422272926196456, -0.309466153383255, -0.8422785401344299, -0.9742367267608643, -0.5908716320991516, -0.40172019600868225, -0.10876204073429108, 0.34717732667922974, 0.8704439401626587, 0.6875850558280945, -1.0689945220947266, 0.06241781637072563, 0.09174288064241409, -0.10578599572181702, -0.04239934682846069, -0.1806989461183548, 0.5550677180290222, -0.30168506503105164, -0.6454519033432007, 0.20952869951725006, 0.3155355751514435, 0.24844929575920105, 0.20244504511356354, -0.08755169063806534, -0.13337893784046173, 0.1598581075668335, 0.2118706852197647, 0.15001024305820465, -0.7177942395210266, -0.06243792921304703, -0.2665080428123474, 0.039943795651197433, 0.1774970442056656, 0.7679572701454163, -0.7217153310775757, 0.6209081411361694, 0.3389117419719696, 0.7833760380744934, 0.23308998346328735, -0.08187184482812881, 0.27750974893569946, -0.7367039322853088, -0.0853213220834732, 0.32210665941238403, 0.27184242010116577, 0.4772602319717407, -0.4759806990623474, 0.7840870022773743, 0.23738747835159302, -0.5061735510826111, -0.6191574931144714, 0.15861892700195312, -0.7902147769927979, -0.03692679852247238, 1.176883339881897, -0.14417608082294464, -0.01700693555176258, -0.38399532437324524, -0.06507662683725357, 0.13555172085762024, -0.38470178842544556, 0.44801968336105347, 1.1077828407287598, 0.0768054872751236, 0.48857104778289795, -0.9478630423545837, 0.6859404444694519, 0.032182179391384125, -0.5929809808731079, 0.2854243218898773, 0.46187177300453186, 0.3241725564002991, -0.07166236639022827, 0.6283507347106934, -0.13264621794223785, 0.31035080552101135, 0.07392285019159317, 0.2894662916660309, -0.04044388234615326, -0.7889846563339233, -0.6966286897659302, -0.30443891882896423, 0.09209317713975906, 0.06794602423906326 ]
http://arxiv.org/abs/2402.18191v1
http://arxiv.org/pdf/2402.18191v1
Clustering and Ranking: Diversity-preserved Instruction Selection through Expert-aligned Quality Estimation
2024-02-28T09:27:29
2024-02-28T09:27:29
Yuan Ge, Yilun Liu, Chi Hu, Weibin Meng, Shimin Tao, Xiaofeng Zhao, Hongxia Ma, Li Zhang, Hao Yang, Tong Xiao
cs.CL
cs.CL
With contributions from the open-source community, a vast amount of instruction tuning (IT) data has emerged. Given the significant resource allocation required by training and evaluating models, it is advantageous to have an efficient method for selecting high-quality IT data. However, existing methods for instruction data selection have limitations such as relying on fragile external APIs, being affected by biases in GPT models, or reducing the diversity of the selected instruction dataset. In this paper, we propose an industrial-friendly, expert-aligned and diversity-preserved instruction data selection method: Clustering and Ranking (CaR). CaR consists of two steps. The first step involves ranking instruction pairs using a scoring model that is well aligned with expert preferences (achieving an accuracy of 84.25%). The second step involves preserving dataset diversity through a clustering process.In our experiment, CaR selected a subset containing only 1.96% of Alpaca's IT data, yet the underlying AlpaCaR model trained on this subset outperforms Alpaca by an average of 32.1% in GPT-4 evaluations. Furthermore, our method utilizes small models (355M parameters) and requires only 11.2% of the monetary cost compared to existing methods, making it easily deployable in industrial scenarios.
[ -0.5587067604064941, -0.35327818989753723, 0.2811132073402405, 0.019712835550308228, -0.36794939637184143, 0.19500723481178284, -0.2990051209926605, -0.396090030670166, -0.1077207624912262, 0.06894727051258087, -0.32410725951194763, -0.9717187285423279, -0.6533915996551514, -0.4080444574356079, -0.430626779794693, 1.0056568384170532, 0.26512056589126587, 0.14498254656791687, -0.10787349939346313, -0.2398984730243683, -0.7654302716255188, -0.09687357395887375, -0.7127884030342102, 0.0358506478369236, 0.4135630130767822, 0.6970723867416382, 0.6629103422164917, 1.306679606437683, 0.5349521040916443, 0.2904895544052124, -0.11919526755809784, 0.1523367017507553, -0.4321994483470917, -0.24237434566020966, -0.2053297907114029, -0.4113509953022003, -0.38058438897132874, 0.14957210421562195, 0.438693106174469, 0.735041618347168, -0.42540279030799866, 0.31765738129615784, 0.09333383291959763, 0.7136507630348206, -0.7921608686447144, 0.034563131630420685, -0.7814933061599731, 0.0748489573597908, -0.09432430565357208, -0.02027519978582859, -0.26613903045654297, -0.9432479739189148, -0.08267899602651596, -0.4055311679840088, 0.517795741558075, 0.1786862015724182, 0.5980063676834106, 0.4876362383365631, -0.20026648044586182, -0.23359540104866028, -0.6401965022087097, 1.1641433238983154, -0.5181260704994202, 0.24232210218906403, 0.5043835639953613, 0.5943648815155029, -0.07978509366512299, -0.1719626635313034, -0.21320317685604095, 0.09704909473657608, 0.11600246280431747, 0.4231230914592743, 0.26759302616119385, -0.11852762848138809, -0.17312584817409515, 0.6115917563438416, -0.5041574835777283, 0.6536035537719727, -0.5764827132225037, 0.02787487581372261, 0.5237670540809631, 0.02684357762336731, -0.009392098523676395, 0.42312169075012207, -0.33583274483680725, -0.3817613422870636, -0.5804238319396973, 0.07239003479480743, 0.3226635456085205, 0.2882603108882904, 0.30170032382011414, 0.2935017943382263, -0.17345304787158966, 0.8326372504234314, 0.010865657590329647, -0.32401230931282043, 0.06569278240203857, 0.034241579473018646, -0.0454900898039341, 0.0460236519575119, 0.49856847524642944, 0.5087215900421143, -0.2623080313205719, -0.26954758167266846, -0.15448829531669617, 0.17319554090499878, 0.3793797791004181, -0.5081033706665039, -0.1080029234290123, -0.18475954234600067, -0.4802464544773102, -0.12137509137392044, 0.3911893665790558, -1.028123140335083, 0.037324853241443634, -0.2032555788755417, 0.2773837745189667, -0.2875160574913025, 0.08640212565660477, -0.16335123777389526, -0.13174092769622803, 0.3205612301826477, 0.19883085787296295, -1.2780784368515015, 0.06877557188272476, 0.906737208366394, 0.6932912468910217, -0.36210110783576965, -0.3470994830131531, -0.3554474115371704, 0.28799423575401306, -0.4212222993373871, 1.0099704265594482, -0.8993284702301025, -0.7849660515785217, -0.3194200098514557, -0.015733497217297554, -0.20116019248962402, -0.7922120094299316, 0.5800748467445374, -0.6195172667503357, 0.057028092443943024, -0.25277653336524963, -0.5381812453269958, -0.3044957220554352, -0.022573817521333694, -0.5404323935508728, 1.0917688608169556, 0.30231523513793945, -0.42311254143714905, 0.753637969493866, -0.24710236489772797, -0.4137801229953766, -0.13321182131767273, -0.36145591735839844, -0.7772651314735413, -0.059752993285655975, 0.3298068046569824, 0.013121865689754486, -0.12565989792346954, 0.01994362473487854, -0.3519013226032257, -0.6359018683433533, -0.3932364583015442, -0.3437708616256714, 0.4217727780342102, 0.2313081920146942, -0.6226074695587158, -0.04558641463518143, -0.6716508269309998, 0.1819697618484497, -0.3111071288585663, -0.566964864730835, -0.3388659358024597, 0.11163588613271713, -0.6346659660339355, 0.03504724055528641, 0.313395231962204, -0.5853007435798645, 0.30665862560272217, -0.1770380288362503, 0.017495116218924522, 1.0216560363769531, -0.2233850210905075, 0.4920682907104492, -0.4267790615558624, 0.5177434682846069, -0.04633042961359024, 0.6067250370979309, 0.40083047747612, -0.793361485004425, -0.9170386791229248, -0.31649845838546753, 0.39339113235473633, 0.5405527353286743, -0.3753531277179718, 0.8488450050354004, -0.07011116296052933, -0.8485383987426758, -0.7929994463920593, -0.012869053520262241, 0.2862634062767029, 0.5106741786003113, 0.6404992341995239, -0.3506491184234619, -0.03138774260878563, -0.8810484409332275, 0.006735858041793108, 0.05721404403448105, -0.09556173533201218, 0.2286687046289444, -0.023536793887615204, -0.24402232468128204, 0.99142986536026, -0.6105219721794128, -0.17740514874458313, 0.25281667709350586, 0.378266841173172, 0.3048900067806244, 0.855724036693573, 0.6675366759300232, -0.29398903250694275, -0.5233607888221741, 0.22043126821517944, -0.4947032630443573, 0.09553045779466629, 0.38867565989494324, -0.6627578735351562, -0.06290015578269958, 0.07879576086997986, -0.18160508573055267, 0.6918507218360901, 0.5373466610908508, 0.07113301008939743, 0.18644948303699493, -0.16058945655822754, 0.5014380216598511, -0.8315886855125427, -0.2214696705341339, -0.060971830040216446, -0.007833784446120262, -0.03142203390598297, -0.09706979990005493, 0.02391025610268116, 0.05446970462799072, -0.03923449292778969, 0.12102693319320679, -0.4169708490371704, -0.3587343096733093, -0.4319005012512207, -0.3084510266780853, -0.05540565773844719, 0.4299275577068329, 0.0497596450150013, 0.9772646427154541, 0.5993650555610657, -0.5532510876655579, -0.007274971343576908, 0.3860636353492737, -0.5430427193641663, 0.48446476459503174, -0.43536221981048584, 0.348525732755661, 0.016162822023034096, -0.10481170564889908, -0.498593807220459, 0.14007656276226044, 0.07694055885076523, -0.10501036792993546, 0.356515109539032, -0.35475680232048035, -0.08970466256141663, -0.27590882778167725, -0.2489878535270691, 0.40130650997161865, 0.7353136539459229, -0.9452211856842041, 0.24900414049625397, 0.41740891337394714, -0.4131944179534912, -0.7221676707267761, -0.3094642460346222, -0.3442005515098572, -0.2461375594139099, -0.36200302839279175, 0.38644805550575256, -0.28297391533851624, 0.24092291295528412, 0.031852420419454575, -0.46903690695762634, -0.34392452239990234, 0.07969691604375839, 0.05561418458819389, 0.4918156862258911, -0.19275937974452972, 0.02867981046438217, 0.7806648015975952, -0.25991785526275635, -0.40324896574020386, -0.2741975486278534, 0.24189242720603943, -0.10828810185194016, -0.6492700576782227, -0.2041855901479721, 0.5634727478027344, 0.3230399489402771, -0.35099586844444275, 0.8754078149795532, 0.7713484764099121, -0.0105041628703475, -0.4246103763580322, -0.6106190085411072, -0.15749087929725647, -0.5770158171653748, 0.1407308578491211, 0.11909749358892441, -0.9052411913871765, 0.12387215346097946, -0.032464854419231415, 0.4111362397670746, 0.4346735179424286, 0.27093157172203064, -0.16432005167007446, 1.313711404800415, 0.6052590012550354, -0.3733411133289337, 0.6327247023582458, -0.2584318518638611, 0.3227677643299103, -0.511136531829834, -0.33853664994239807, -0.818375825881958, -0.4811086356639862, -0.5329821109771729, -0.2830599248409271, 0.8372759222984314, -0.036922771483659744, -0.2347954511642456, 0.13953061401844025, -1.0309127569198608, 0.7794857025146484, 0.9680674076080322, 0.23948828876018524, 0.17285050451755524, 0.23628760874271393, 0.3583926558494568, 0.20736321806907654, -0.7244690656661987, -0.5149866938591003, 0.7765955328941345, 0.10675451904535294, 0.8290917873382568, -0.036446310579776764, 0.7658143043518066, 0.3797050416469574, 0.4021969735622406, -0.6892809271812439, 0.42069265246391296, -0.6424712538719177, -0.34512093663215637, -0.3545739948749542, -0.5535421967506409, -1.0211901664733887, 0.010244744829833508, -0.07429821044206619, -0.5283141136169434, 0.4337184727191925, 0.1282317340373993, -0.5274739861488342, 0.2665269076824188, -0.7197413444519043, 0.734571635723114, -0.2781650424003601, -0.13145889341831207, -0.5258743166923523, -0.4481567144393921, 0.14118452370166779, 0.07020661979913712, 0.12917250394821167, -0.19028790295124054, 0.1167542114853859, 0.8536435961723328, -0.6731348037719727, 0.529785692691803, -0.28738805651664734, 0.0876811295747757, 0.2114119529724121, -0.2571124732494354, 0.15029844641685486, -0.18965394794940948, -0.4530588388442993, 0.30571115016937256, -0.14845620095729828, -0.5330129265785217, -0.6611969470977783, 0.9387718439102173, -1.0231024026870728, -0.5356404185295105, -0.07299096882343292, -0.4191089868545532, -0.28351345658302307, 0.08062852919101715, 0.40814802050590515, 0.44491803646087646, 0.10813895612955093, 0.2994263172149658, 0.6259274482727051, -0.1374824494123459, 0.4794965088367462, 0.4720704257488251, 0.45720502734184265, -0.49332305788993835, 1.3725180625915527, 0.3486027121543884, 0.11303359270095825, 0.1993873566389084, 0.26686620712280273, -0.0764569342136383, -0.7736807465553284, -0.5909324288368225, -0.08632584661245346, -0.7734972834587097, -0.4059908986091614, -0.36392539739608765, -0.24680867791175842, -0.12322410196065903, -0.35965678095817566, -0.4701032340526581, -0.5275750160217285, -0.36115339398384094, -0.19298139214515686, 0.2695974111557007, 0.7309552431106567, 0.04971862584352493, 0.5444491505622864, -0.8401879668235779, -0.017100302502512932, 0.6965510249137878, 0.7179074883460999, -0.034145839512348175, -0.30087921023368835, -0.6594330072402954, -0.11026237905025482, -0.33426856994628906, -0.6855236291885376, 0.1333545446395874, 0.30573195219039917, 0.8720474243164062, 0.5431416630744934, -0.04224028438329697, 0.6918689608573914, -0.3560452461242676, 0.5717594623565674, -0.12384922802448273, -0.7020615339279175, 0.5604487657546997, -0.22262023389339447, -0.040058378130197525, 1.0813981294631958, 0.36912721395492554, 0.11499953269958496, -0.46151140332221985, -0.42190566658973694, -1.03046715259552, 0.6800680756568909, -0.08773079514503479, -0.3112833797931671, -0.03578156232833862, 0.2405373901128769, 0.7525122165679932, 0.39392703771591187, -0.3265765905380249, -0.128805473446846, -0.4512034058570862, -0.5411189794540405, 0.300229549407959, 0.13840682804584503, -0.11337421834468842, -0.4892351031303406, 0.9533286094665527, -0.0107811214402318, 0.22653275728225708, -0.3781261444091797, 0.1275867223739624, -0.04875592887401581, 0.19243250787258148, 0.301722913980484, 0.7144516110420227, -0.19052480161190033, -0.2620534598827362, 0.015542957000434399, -0.512419581413269, 0.22752641141414642, 0.0689452514052391, -0.34194934368133545, -0.11005993187427521, -0.14990033209323883, 0.6569311618804932, 0.08660919964313507, -0.21857962012290955, 0.31212878227233887, -0.06862598657608032, 0.1738511621952057, -0.053582120686769485, 0.7212148904800415, -0.2536362409591675, 0.16813066601753235, 0.3278958797454834, 0.18316242098808289, 0.372232049703598, -0.24139763414859772, 0.014044037088751793, 0.4593012034893036, -0.10342413187026978, 0.06927535682916641, 0.43079739809036255, 0.28658393025398254, -0.16320839524269104, 0.7493127584457397, -0.3221449851989746, -0.21667110919952393, 1.0097891092300415, 0.3147621154785156, 0.7767043113708496, -0.57085782289505, 0.2695651054382324, 0.5648697018623352, 0.31422141194343567, -0.2946038544178009, -0.04343612864613533, -0.06053578853607178, -0.4053671360015869, -0.008482805453240871, -0.6030135750770569, -0.7011568546295166, -0.18866440653800964, -1.031506896018982, 0.17800071835517883, -0.5945538878440857, -0.18740957975387573, -0.44481271505355835, -0.23739178478717804, -0.6175204515457153, 0.5235844254493713, -0.10718347877264023, 0.8007634878158569, -0.8538872599601746, 0.7665271759033203, 0.5323050022125244, -0.1402323842048645, -0.8782461285591125, -0.09839425981044769, -0.33913832902908325, -0.7257228493690491, 0.01846453920006752, 0.274348646402359, -0.17836065590381622, 0.18635956943035126, -0.4587453007698059, -0.9821368455886841, 1.2742472887039185, 0.32987457513809204, -0.6706539392471313, 0.1022292971611023, -0.02726581133902073, 0.17624536156654358, -0.2782934010028839, 0.4345056414604187, 0.954153835773468, 0.4740158021450043, 0.13135139644145966, -0.5123588442802429, -0.36387941241264343, -0.34703847765922546, -0.04074455052614212, 0.22387877106666565, -1.0399519205093384, 0.8089065551757812, 0.09336479753255844, -0.09997105598449707, 0.05702124536037445, 0.7311280965805054, 0.3920034170150757, 0.43541911244392395, 0.7128643989562988, 0.6004983186721802, 0.9205178022384644, -0.1420191377401352, 0.6615389585494995, -0.3739885687828064, 0.19156993925571442, 0.8877632021903992, -0.009691225364804268, 0.694374144077301, 0.0013702462892979383, -0.19242163002490997, 0.750817060470581, 1.0011581182479858, -0.3620564639568329, 0.7976349592208862, -0.3254278302192688, -0.37959131598472595, -0.17014659941196442, 0.02892071194946766, -0.7370527386665344, 0.5509966015815735, 0.2243523895740509, -0.15399585664272308, -0.11292725801467896, -0.2857779264450073, -0.22989845275878906, -0.17588600516319275, -0.41867199540138245, 0.9494917988777161, -0.22779040038585663, -0.854318380355835, 0.4288390576839447, 0.020273955538868904, 0.5369253158569336, -0.4861338138580322, -0.10916047543287277, -0.4363931119441986, -0.083816297352314, -0.2759833037853241, -0.44315123558044434, 0.1391463279724121, -0.02969481237232685, -0.41462433338165283, 0.19311358034610748, 0.33770543336868286, -0.634469211101532, -0.7151732444763184, 0.017822520807385445, 0.17660188674926758, 0.08031128346920013, 0.33223551511764526, -0.39466729760169983, 0.011836708523333073, -0.1271125227212906, 0.06234144791960716, 0.6053977012634277, -0.018372299149632454, -0.12245310097932816, 0.3509269058704376, 0.3062860667705536, -0.05811222270131111, 0.1563808172941208, 0.027279730886220932, 0.9143756628036499, -0.4757358431816101, -0.7620368599891663, -0.3756692409515381, 0.45151787996292114, -0.18871955573558807, -0.11338548362255096, 0.48880085349082947, 0.5306696891784668, 0.8599275350570679, 0.0056551615707576275, 0.9361146092414856, 0.23748113214969635, 0.5907860994338989, -0.5325801968574524, 0.6478664875030518, -0.2356245219707489, 0.37736213207244873, -0.17298927903175354, -1.0986367464065552, 0.22616879642009735, 0.7715146541595459, -0.5314109325408936, 0.3882990777492523, 0.4066493511199951, 0.7817009687423706, -0.30536365509033203, 0.3112422823905945, 0.11373233050107956, -0.2117043137550354, 0.14354416728019714, 0.33950406312942505, 0.6968250870704651, 0.05903932824730873, 0.4222407042980194, -0.5339742302894592, -0.7563968896865845, -0.1870878040790558, -0.8284004926681519, -0.6923683881759644, -0.03431950509548187, -0.3695307970046997, 0.27071690559387207, -0.0032445306424051523, 0.8849500417709351, 0.955536961555481, -0.8945013880729675, -0.26741236448287964, 0.1758088320493698, 0.23747193813323975, -0.6907949447631836, -0.17889109253883362, 0.5378686189651489, -0.23506660759449005, -0.7297019362449646, 0.8738953471183777, 0.14075911045074463, -0.08936426043510437, 0.014574768953025341, 0.11669525504112244, 0.27858710289001465, -0.05854405090212822, 0.3093200623989105, 0.20719106495380402, -0.20413874089717865, -0.4033449590206146, -0.24736899137496948, 0.14792972803115845, 0.25713348388671875, 0.5344304442405701, -0.48846521973609924, 0.34681236743927, 0.18087662756443024, 0.800860583782196, 0.3070603311061859, 0.3510630428791046, 0.4628045856952667, -0.6875631809234619, 0.05494733154773712, 0.24716903269290924, 0.22328773140907288, 0.3404698073863983, -0.5290595889091492, 0.5195117592811584, 0.13294632732868195, -0.9419443607330322, -0.38277679681777954, 0.054191939532756805, -0.859142005443573, -0.0969209149479866, 0.5965163707733154, -0.1752094179391861, -0.2938924729824066, 0.05507165193557739, -0.13780267536640167, 0.5062065720558167, -0.5433269739151001, 1.4445749521255493, 0.24985593557357788, -0.15514518320560455, 0.09590426087379456, -0.3832952380180359, 0.22621670365333557, 0.45492786169052124, -0.9626041054725647, -0.4659270644187927, 0.5118874311447144, 0.13633351027965546, -0.10469363629817963, 0.1010221466422081, 0.04911773279309273, 0.4188444912433624, -0.13001243770122528, 0.15246707201004028, -0.09630367904901505, -0.5173054933547974, -0.08063499629497528, 0.2974836826324463, 0.1926543265581131, -0.6144915819168091 ]
http://arxiv.org/abs/2402.18179v1
http://arxiv.org/pdf/2402.18179v1
Challenges in Pre-Training Graph Neural Networks for Context-Based Fake News Detection: An Evaluation of Current Strategies and Resource Limitations
2024-02-28T09:10:25
2024-02-28T09:10:25
Gregor Donabauer, Udo Kruschwitz
cs.CL
cs.CL
Pre-training of neural networks has recently revolutionized the field of Natural Language Processing (NLP) and has before demonstrated its effectiveness in computer vision. At the same time, advances around the detection of fake news were mainly driven by the context-based paradigm, where different types of signals (e.g. from social media) form graph-like structures that hold contextual information apart from the news article to classify. We propose to merge these two developments by applying pre-training of Graph Neural Networks (GNNs) in the domain of context-based fake news detection. Our experiments provide an evaluation of different pre-training strategies for graph-based misinformation detection and demonstrate that transfer learning does currently not lead to significant improvements over training a model from scratch in the domain. We argue that a major current issue is the lack of suitable large-scale resources that can be used for pre-training.
[ -0.4341242015361786, -0.9886109232902527, 0.48224887251853943, 0.04869266226887703, -0.48928019404411316, 0.20805160701274872, -0.004312839824706316, -0.5892056822776794, 0.4508401155471802, 0.3538781702518463, -0.5297468304634094, -0.20947280526161194, -0.9634020924568176, 0.11686569452285767, -0.6029890179634094, 0.8798437118530273, -0.1350802481174469, -0.0002171229716623202, -0.19851146638393402, -0.09884791821241379, -0.33198899030685425, -0.7586097121238708, -0.7962163090705872, 0.005087669473141432, 0.6619071364402771, 0.02508862130343914, 0.5461334586143494, 0.21627312898635864, 0.180824875831604, 0.2881418764591217, 0.16096407175064087, 0.3872191905975342, -0.4430420398712158, -0.48742610216140747, -0.005513136740773916, -0.04315023869276047, -0.1306779384613037, 0.3856475055217743, 0.7283446788787842, 0.5740591287612915, 0.2746853530406952, 0.0904008224606514, -0.002275887643918395, 0.4219001531600952, -0.6781353950500488, 0.004587136674672365, -0.7123251557350159, 0.15086333453655243, -0.128874272108078, -0.434234619140625, -0.3625888228416443, -0.3713047206401825, 0.3223734200000763, -0.7544764280319214, 0.30371788144111633, 0.11564057320356369, 1.1260930299758911, -0.14448362588882446, -0.6795945763587952, -0.37295863032341003, -0.6457462310791016, 0.27419641613960266, -0.6475158929824829, 0.3367685079574585, 0.23363736271858215, 0.28743231296539307, -0.11386861652135849, -1.0807456970214844, -0.7310582995414734, -0.11965487897396088, -0.20948459208011627, -0.08417042344808578, -0.3832036256790161, -0.08974526822566986, 0.19803600013256073, -0.1239846795797348, -0.6909669637680054, 0.13252319395542145, -0.4449603259563446, -0.6147376894950867, 0.32323673367500305, -0.40419191122055054, 0.432839959859848, -0.3362675607204437, -0.34270721673965454, 0.058300428092479706, -0.5378642678260803, -0.13686272501945496, 0.550369143486023, 0.44748759269714355, -0.011410501785576344, 0.08479031175374985, -0.25082480907440186, 0.8741490840911865, 0.0032114312052726746, 0.013072682544589043, 0.4087681472301483, -0.5082312226295471, -0.3379519581794739, 0.1461334526538849, 0.8205469250679016, 0.17176178097724915, 0.34052643179893494, -0.17782147228717804, -0.008166659623384476, 0.21001605689525604, 0.5379056334495544, -0.66611647605896, -0.06461671739816666, -0.316648930311203, -0.501399040222168, -0.48255544900894165, 0.01648998260498047, -0.46869874000549316, -0.19473958015441895, -0.43489590287208557, 0.5516029000282288, -0.20083864033222198, -0.297112375497818, -0.03568118438124657, -0.22474056482315063, -0.20106230676174164, 0.45822227001190186, -0.44617927074432373, 0.15825708210468292, 0.26115837693214417, 0.911880612373352, 0.0431302934885025, -0.2882680594921112, -0.5593771934509277, -0.1770755797624588, -0.3775081932544708, 0.8866348266601562, -0.39269423484802246, -0.08717531710863113, 0.07173372805118561, 0.13418477773666382, -0.19388175010681152, -0.4771939814090729, 0.3328099548816681, -0.7681839466094971, 0.24327139556407928, -0.41574782133102417, -0.2516120672225952, -0.17568300664424896, 0.5013712644577026, -0.7809193730354309, 0.6894146800041199, 0.5319539904594421, -0.8874256014823914, 0.4212023913860321, -0.5324265360832214, -0.8719658255577087, 0.0025523228105157614, -0.10085520893335342, -0.35669365525245667, 0.0423019714653492, 0.3553178310394287, 0.26944589614868164, 0.294295996427536, 0.19421742856502533, -0.3828859329223633, -0.42806246876716614, 0.03885120153427124, -0.5986119508743286, 0.9045764803886414, 0.2834305763244629, -0.3854239284992218, 0.17585906386375427, -0.576014518737793, 0.04614894837141037, 0.1143660768866539, -0.2496049553155899, -0.23579417169094086, -0.23192395269870758, -0.22611753642559052, 0.3983486294746399, -0.08176928758621216, -0.33069998025894165, -0.02556350827217102, -0.10328244417905807, 0.5602800846099854, 0.6709764003753662, -0.12843716144561768, 0.49534058570861816, -0.11158367246389389, 0.27415406703948975, 0.2909940481185913, 0.24347779154777527, -0.01717674545943737, -0.36609920859336853, -0.5391499996185303, 0.19422779977321625, 0.4269106090068817, 0.6491815447807312, -1.196645975112915, 0.46089091897010803, -0.31957781314849854, -0.08882718533277512, -0.06783880293369293, 0.012304162606596947, 0.21156640350818634, 0.9513177871704102, 0.5289890170097351, -0.3962740898132324, -0.7883546948432922, -0.8282687067985535, -0.5817232131958008, 0.03938459977507591, 0.1472492516040802, 0.2334328293800354, 0.6272267699241638, -0.15005967020988464, 1.034491777420044, -0.08317723125219345, -0.4050907790660858, -0.2300613969564438, 0.11670557409524918, -0.03717534616589546, 0.3352939486503601, 0.761820375919342, -1.1333669424057007, -0.5343198180198669, -0.11498614400625229, -0.7933773994445801, 0.14242692291736603, 0.022409791126847267, 0.1561967432498932, 0.41977179050445557, 0.7737804651260376, -0.621204674243927, 0.8715398907661438, 0.5659096240997314, -0.14484843611717224, 0.7839759588241577, -0.02243262529373169, 0.28378984332084656, -0.9274615049362183, -0.08448442071676254, 0.12453611195087433, -0.5917346477508545, -0.9025894999504089, -0.4846932888031006, -0.10514921694993973, -0.27560022473335266, -0.6577886939048767, 0.5202770829200745, -0.42532408237457275, -0.3035115599632263, -0.4562146067619324, 0.3067900240421295, 0.06962355226278305, 0.2562809884548187, -0.05456124246120453, 0.5068802833557129, 0.2961430251598358, -0.652320921421051, 0.5702515840530396, -0.07590777426958084, -0.488200843334198, 0.3937190771102905, -0.28130054473876953, 0.18410846590995789, -0.17800502479076385, 0.9188931584358215, -0.6991985440254211, -0.19907352328300476, 0.7471752166748047, -0.6001800298690796, 0.35845285654067993, -0.2600669860839844, -0.5901773571968079, -0.8908764719963074, 0.07295084744691849, 0.4021543264389038, 0.27572035789489746, -0.504787027835846, 0.5924818515777588, 0.09210606664419174, 0.207784503698349, -0.811352550983429, -0.5736239552497864, 0.24263639748096466, -0.06751489639282227, -0.6501935720443726, 0.3602464199066162, 0.34754329919815063, 0.07322394102811813, 0.5632829070091248, -0.3760971426963806, -0.12419744580984116, 0.19453459978103638, -0.08799867331981659, 0.10103727132081985, -0.33385515213012695, 0.05837113410234451, -0.27414825558662415, -0.055760838091373444, 0.05958946421742439, -0.7319074273109436, 0.5336490869522095, -0.1819234937429428, -0.28440847992897034, -0.8014757633209229, 0.21305736899375916, 0.19746147096157074, -0.058111853897571564, 0.8005553483963013, 0.6819182634353638, -0.5543525218963623, -0.259851336479187, -0.5632195472717285, -0.22531075775623322, -0.41512981057167053, 0.6271141171455383, 0.2531081736087799, -0.8609554767608643, 0.2969353199005127, -0.3674815893173218, -0.5918707847595215, 0.45418521761894226, 0.021907983347773552, -0.11881262809038162, 0.7974578738212585, 0.5066888332366943, -0.25664302706718445, 0.6962068676948547, -0.2858661711215973, 0.5116074085235596, -0.4191505014896393, -0.008407793939113617, -0.2395438253879547, -0.47369372844696045, -0.155155748128891, -0.20579984784126282, 0.03737759217619896, 0.28545087575912476, -0.25227758288383484, 0.1845010370016098, -0.4433709681034088, 0.5533403158187866, 0.614812433719635, 0.17755459249019623, 0.1413234919309616, 0.38424035906791687, 0.185818612575531, 0.31931746006011963, -1.0141164064407349, -0.2753499746322632, 1.1074987649917603, 0.046673621982336044, 0.13743683695793152, -0.4564215838909149, 0.23585698008537292, 0.5644408464431763, 0.7366463541984558, -0.4507330656051636, 0.3885851800441742, -0.27422666549682617, -0.5363079905509949, -0.3572758138179779, -0.7621833682060242, -0.785750687122345, 0.2938728630542755, -0.37632569670677185, -0.670870304107666, -0.05295325070619583, 0.25052496790885925, -0.2600776255130768, 0.7624830603599548, -0.810962438583374, 1.042380452156067, -0.36786016821861267, 0.19294393062591553, 0.027615226805210114, -0.7109573483467102, 0.22109082341194153, -0.14987479150295258, 0.3772868812084198, 0.10044866055250168, 0.5160984396934509, 0.6879605054855347, -0.3764176368713379, 0.9663445353507996, -0.571071982383728, 0.3811793327331543, 0.6176679134368896, -0.28471019864082336, 0.6042241454124451, -0.01026049442589283, 0.4040277302265167, 0.3172874450683594, -0.38295531272888184, -0.37614795565605164, -0.5689969658851624, 0.4841545820236206, -0.6158319115638733, -0.6115090250968933, -0.4217113256454468, -0.4064931273460388, -0.24507147073745728, 0.5804203748703003, 0.8209750652313232, 0.40757718682289124, -0.26511964201927185, 0.24156837165355682, 0.31168121099472046, -0.1282811313867569, 0.41937515139579773, 0.12759080529212952, -0.258407324552536, -0.2552991211414337, 0.8736140131950378, 0.6947418451309204, -0.03344275802373886, -0.19727016985416412, 0.08699847012758255, -0.22651717066764832, -0.8224983811378479, -0.3529326021671295, 0.043089352548122406, -0.6717842221260071, -0.19054953753948212, -0.42812830209732056, -0.5943342447280884, -0.6708252429962158, -0.1690538376569748, -0.22247639298439026, -0.00308319553732872, -0.5739391446113586, -0.04376824572682381, -0.17289520800113678, 0.625270664691925, -0.07529804855585098, 0.638439416885376, -0.7050354480743408, 0.44318288564682007, 0.2148127257823944, 0.34777048230171204, -0.01574796438217163, -0.4725586771965027, -0.3555595278739929, 0.39368516206741333, -0.26783350110054016, -0.8580878376960754, 0.44797447323799133, -0.12051685154438019, 0.5487494468688965, 0.46614739298820496, 0.04164542257785797, 0.4927053451538086, -0.4053671360015869, 0.6136263608932495, 0.41374292969703674, -0.8073210716247559, 0.5885561108589172, -0.25609293580055237, -0.09295149147510529, 0.4253062605857849, 0.8848844170570374, -0.43536365032196045, 0.07355731725692749, -0.7676364183425903, -0.44719183444976807, 0.74693763256073, 0.17430129647254944, 0.2788207530975342, 0.08734458684921265, 0.5361834764480591, -0.1615813672542572, 0.3678319752216339, -1.0380173921585083, -0.1375446319580078, -0.6771668791770935, 0.12567412853240967, -0.21200893819332123, -0.06033536046743393, -0.22050026059150696, -0.4118717610836029, 0.5411636829376221, -0.26545244455337524, 0.08707626163959503, 0.2672579884529114, -0.36199653148651123, 0.17597761750221252, -0.18246786296367645, 0.6660553812980652, 0.8630897402763367, 0.041348256170749664, 0.020211663097143173, 0.2245144248008728, -0.5291738510131836, 0.13010115921497345, 0.13352210819721222, -0.28587606549263, 0.23544831573963165, 0.5817270874977112, 1.1730166673660278, 0.08064652234315872, -0.08035174757242203, 0.973352313041687, 0.0765652135014534, -0.7160106897354126, -0.4237493574619293, -0.23384374380111694, 0.015237176790833473, 0.1685866415500641, 0.6333708763122559, 0.5461700558662415, -0.14784306287765503, -0.5934087634086609, 0.1671431064605713, 0.42298829555511475, -0.47308337688446045, -0.4952373206615448, 0.3419511616230011, 0.13566936552524567, -0.3583788275718689, 0.8486778736114502, -0.32484057545661926, -0.7822115421295166, 0.7532387375831604, 0.7470360994338989, 0.527131199836731, -0.10254266113042831, 0.5495415329933167, 0.040571022778749466, 0.45136576890945435, -0.21393851935863495, -0.1451476812362671, 0.21473143994808197, -1.1739224195480347, -0.39867693185806274, -0.3225870430469513, 0.09026456624269485, 0.6670902967453003, -0.15395286679267883, 0.18795911967754364, -0.6462880969047546, -0.4854862689971924, -0.071330226957798, -0.06178716570138931, -0.7064196467399597, 0.370981365442276, 0.24051374197006226, 0.8387722969055176, -0.849187433719635, 0.734980583190918, 0.3829171061515808, -0.1587478518486023, -0.6464548110961914, -0.07153633236885071, 0.15689773857593536, -0.49626535177230835, 0.9227620959281921, 0.524742841720581, -0.015795698389410973, 0.016613200306892395, -0.7789134979248047, -0.8608232140541077, 0.8318263292312622, 0.7389599680900574, -0.3698883652687073, -0.5884458422660828, 0.09409692883491516, 0.39494454860687256, -0.6194942593574524, -0.2518845200538635, 0.11879183351993561, 0.5072540044784546, 0.03212490305304527, -0.6751760840415955, -0.03349720314145088, -0.100758858025074, -0.177254319190979, -0.09514496475458145, -0.4766707718372345, 1.0281157493591309, 0.08787047117948532, -0.5664038062095642, -0.5384860038757324, 0.7148715853691101, -0.20473377406597137, 0.6220436692237854, 0.7355399131774902, 0.6134886741638184, 0.7674381732940674, -0.1498667150735855, 1.1441118717193604, -0.07447957247495651, 0.2943854331970215, 1.026039719581604, -0.16809968650341034, 0.4920862019062042, 0.13731157779693604, 0.08315365016460419, 0.7761839628219604, 0.842353105545044, -0.03468969836831093, 0.36532825231552124, 0.3708370327949524, -0.20797006785869598, -0.19840537011623383, 0.016990063712000847, -0.5695066452026367, 0.28640589118003845, 0.33648911118507385, -0.36047691106796265, -0.3456387519836426, 0.25729578733444214, 0.06903623044490814, -0.10618723928928375, -0.6388519406318665, 0.28123795986175537, 0.08019278943538666, -0.314730703830719, 0.37984296679496765, -0.23759277164936066, 0.6893523335456848, -0.7911863923072815, 0.2905629873275757, 0.09776604175567627, -0.10667112469673157, -0.3589167296886444, -0.29176729917526245, 0.5240442156791687, -0.3354291617870331, -0.07350324094295502, -0.13319635391235352, 1.3211625814437866, -0.10151457786560059, -0.2546021342277527, 0.5547096729278564, 0.5870590806007385, -0.1599145382642746, -0.5369191765785217, -0.49225473403930664, -0.11650563776493073, -0.14210624992847443, -0.39579254388809204, 0.4187513589859009, 0.3640894293785095, -0.20908929407596588, 0.39070063829421997, 1.1380109786987305, 0.163069948554039, 0.1486779749393463, 0.0733301118016243, 1.075184941291809, -0.35481610894203186, -0.8006881475448608, -0.7529007792472839, 0.0224316343665123, -0.389414519071579, -0.2222917079925537, 0.7641369700431824, 0.30234986543655396, 1.2216795682907104, -0.09484772384166718, 0.9158480167388916, 0.22382621467113495, 0.24408921599388123, -0.5852037668228149, 0.91096431016922, -0.5480697751045227, -0.15583425760269165, -0.28298419713974, -1.0544911623001099, -0.40643030405044556, 0.521385908126831, -0.3944990634918213, 0.3062889873981476, 0.866716206073761, 0.26287707686424255, -0.21877726912498474, 0.04489856958389282, 0.17057745158672333, 0.06279749423265457, 0.14701315760612488, 0.4051250219345093, 0.844197690486908, -0.3114260137081146, 0.6820763945579529, 0.06642910093069077, -0.049155961722135544, -0.44895052909851074, -1.0402966737747192, -0.7609432935714722, -0.45824235677719116, -0.12776465713977814, -0.6159213781356812, 0.06412722915410995, 0.4141767919063568, 1.0980638265609741, -0.5577815771102905, 0.3788639008998871, -0.17903882265090942, 0.18742984533309937, 0.026787491515278816, -0.1879129707813263, 0.3795625865459442, -0.4089503288269043, -0.20954996347427368, 0.4392339885234833, 0.0820326879620552, 0.3117115795612335, -0.04382525756955147, -0.008321138098835945, -0.4221627712249756, 0.099875807762146, 0.6919612288475037, 0.6183220148086548, -0.4071896970272064, -0.7681815028190613, -0.22386790812015533, -0.07974507659673691, 0.16209104657173157, 0.9447584748268127, -1.1260738372802734, 0.1990123987197876, 0.30144181847572327, 0.8146296143531799, 0.5799222588539124, 0.2211538702249527, 0.2653732895851135, -0.9227688312530518, 0.33725759387016296, 0.12413009256124496, 0.2389623373746872, 0.3140799403190613, -0.4744405746459961, 0.2898646593093872, 0.8604726791381836, -0.2615197002887726, -0.8708537220954895, 0.3113957345485687, -0.6544356346130371, -0.662230372428894, 0.8710473775863647, -0.06939414143562317, -0.3823446035385132, -0.2966060936450958, 0.005601159296929836, 0.44526493549346924, 0.018266014754772186, 0.49594658613204956, 0.7940261960029602, -0.004426382947713137, 0.16275030374526978, -0.5870050191879272, 0.7922516465187073, -0.04957983270287514, -0.9118894338607788, -0.44750839471817017, 0.4514475464820862, 0.32057633996009827, 0.5241906046867371, 1.0336440801620483, 0.10174565762281418, 0.26178884506225586, 0.14861242473125458, -0.3154333233833313, -0.4884258806705475, -0.7825095057487488, -0.17651647329330444, 0.2548297643661499, -0.7340901494026184, -0.02011592872440815 ]
http://arxiv.org/abs/2402.18169v2
http://arxiv.org/pdf/2402.18169v2
MIKO: Multimodal Intention Knowledge Distillation from Large Language Models for Social-Media Commonsense Discovery
2024-02-28T08:57:42
2024-02-29T06:45:56
Feihong Lu, Weiqi Wang, Yangyifei Luo, Ziqin Zhu, Qingyun Sun, Baixuan Xu, Haochen Shi, Shiqi Gao, Qian Li, Yangqiu Song, Jianxin Li
cs.CL
cs.CL
Social media has become a ubiquitous tool for connecting with others, staying updated with news, expressing opinions, and finding entertainment. However, understanding the intention behind social media posts remains challenging due to the implicitness of intentions in social media posts, the need for cross-modality understanding of both text and images, and the presence of noisy information such as hashtags, misspelled words, and complicated abbreviations. To address these challenges, we present MIKO, a Multimodal Intention Kowledge DistillatiOn framework that collaboratively leverages a Large Language Model (LLM) and a Multimodal Large Language Model (MLLM) to uncover users' intentions. Specifically, we use an MLLM to interpret the image and an LLM to extract key information from the text and finally instruct the LLM again to generate intentions. By applying MIKO to publicly available social media datasets, we construct an intention knowledge base featuring 1,372K intentions rooted in 137,287 posts. We conduct a two-stage annotation to verify the quality of the generated knowledge and benchmark the performance of widely used LLMs for intention generation. We further apply MIKO to a sarcasm detection dataset and distill a student model to demonstrate the downstream benefits of applying intention knowledge.
[ -0.3396014869213104, -0.735829770565033, 1.03200364112854, 0.4227902591228485, -0.5717470645904541, -0.16930118203163147, -0.36161816120147705, -0.22914035618305206, 0.3799564838409424, 0.3368851840496063, -0.8273391723632812, -0.6252785325050354, -0.844836413860321, -0.09064801037311554, -0.2553428113460541, 0.9649458527565002, -0.0336901918053627, -0.0004706906038336456, -0.12223763018846512, -0.1105172261595726, -0.3714026212692261, -0.0862511396408081, -0.5985410809516907, -0.2916962504386902, 0.9661446213722229, 0.673015832901001, 0.5695276856422424, -0.1822742521762848, 0.28999194502830505, 0.20203879475593567, 0.19567318260669708, 0.5952565670013428, -0.8622111678123474, 0.11089115589857101, -0.25453370809555054, -0.21770328283309937, -0.1596173793077469, 0.02243749424815178, 0.5878148078918457, 0.28229179978370667, 0.20774784684181213, 0.22131222486495972, 0.01001484040170908, 0.5923341512680054, -0.7508214712142944, 0.053286854177713394, -0.6287544965744019, -0.24229420721530914, 0.043823979794979095, -0.2896551191806793, -0.4642234444618225, -0.24721567332744598, -0.2451307773590088, -0.7253062129020691, -0.020384231582283974, -0.14887872338294983, 0.5564635992050171, 0.20732365548610687, -0.5653902292251587, -0.5916004180908203, -0.47638222575187683, 0.983465313911438, -0.5801226496696472, 0.6264375448226929, 0.6566619277000427, 0.46403977274894714, -0.3121595084667206, -0.6410450339317322, -0.8025757074356079, 0.13413859903812408, -0.21041662991046906, 0.014781519770622253, -0.172069251537323, 0.09811940789222717, 0.22577433288097382, 0.02518049068748951, -0.3979525566101074, -0.43287238478660583, -0.3977193236351013, -0.19972530007362366, 0.9202357530593872, -0.07151205837726593, 0.4640079736709595, -0.3220185339450836, -0.4319165349006653, 0.22913184762001038, -0.49404847621917725, -0.014256549999117851, 0.5043719410896301, -0.040861133486032486, -0.14096960425376892, 0.7254837155342102, -0.3967409133911133, 0.3409474790096283, -0.08716163039207458, -0.2674570381641388, 0.18297447264194489, -0.47578540444374084, 0.15597185492515564, 0.07568567991256714, 1.0374724864959717, 0.9372556209564209, 0.3637257218360901, 0.09448700398206711, -0.14724348485469818, 0.12284614145755768, 0.1892818808555603, -0.855555534362793, -0.1947687417268753, 0.19743230938911438, -0.6969377994537354, -0.3003210425376892, 0.0302715040743351, -0.6524739265441895, -0.6211135983467102, -0.3941456079483032, 0.49336567521095276, -0.5511728525161743, -0.6028822660446167, 0.13963355123996735, -0.4904501736164093, -0.0065519907511770725, 0.43982791900634766, -0.682004451751709, -0.33598268032073975, 0.7442038655281067, 0.7506579160690308, 0.4685767889022827, -0.38704538345336914, -0.5358922481536865, 0.17618651688098907, -0.24802713096141815, 0.45598679780960083, -0.6110689640045166, -0.32829219102859497, 0.004286184441298246, -0.051005877554416656, 0.19921061396598816, 0.07704129070043564, 0.6938700675964355, -0.41658997535705566, -0.32388487458229065, -0.4554539620876312, -0.26927196979522705, -0.3620319962501526, 0.2575368285179138, -0.6280977129936218, 0.7466264367103577, -0.11999844014644623, -0.4940645396709442, 0.5977147221565247, -0.7318112254142761, -0.456091046333313, 0.07974763959646225, -0.14644315838813782, -0.02864178456366062, 0.5510876774787903, 0.23369941115379333, 0.8461545705795288, 0.047532349824905396, 0.5676131248474121, -0.6067330241203308, -0.36781516671180725, 0.5951939225196838, -0.6608185172080994, 0.5001883506774902, 0.44994261860847473, 0.11451087146997452, -0.05693819746375084, -0.5198670625686646, -0.19544656574726105, 0.135661780834198, -0.3207753598690033, -0.8157102465629578, 0.12771524488925934, 0.07859717309474945, 0.433797687292099, 0.3067549765110016, -0.5603312253952026, 0.10978557914495468, 0.292502760887146, 0.5726292729377747, 0.7110182642936707, 0.25105971097946167, 0.3834075927734375, -0.09954012930393219, 0.20379264652729034, 0.014031734317541122, 0.6102083921432495, -0.3265317678451538, -0.7716549038887024, -0.3530820608139038, -0.13124310970306396, -0.27008357644081116, -0.3410769999027252, -0.9638833403587341, -0.000704997917637229, -0.38332003355026245, -0.3256877660751343, -0.8214325308799744, 0.5529969930648804, 0.1654246598482132, -0.0543803907930851, 0.20423655211925507, 0.02653278224170208, -0.46824538707733154, -0.9632354378700256, -0.469512403011322, -0.03677172586321831, 0.1525287628173828, 0.36270275712013245, 0.32204821705818176, -0.6481249332427979, 0.8415126204490662, -0.4874736964702606, -0.03515249118208885, -0.4673280715942383, 0.4693255126476288, 0.1012488454580307, -0.007605831604450941, 0.5763573050498962, -1.2075058221817017, -0.838538646697998, 0.07063120603561401, -0.730743944644928, -0.03385643661022186, -0.07915462553501129, -0.25000306963920593, 0.007743297144770622, 0.34980490803718567, -0.5500078797340393, 0.2967571020126343, 0.806009829044342, -0.142754465341568, 0.38305148482322693, 0.1545838862657547, 0.598655104637146, -1.3549869060516357, -0.06543359160423279, 0.11650161445140839, -0.06430214643478394, -0.6809912919998169, -0.2269744873046875, 0.19903792440891266, 0.09863781183958054, -0.5212064981460571, 0.747761607170105, -0.529167890548706, 0.13245150446891785, -0.23259052634239197, 0.1267358660697937, 0.2466026395559311, 0.2797849476337433, 0.00744890421628952, 0.22724616527557373, 0.3535734713077545, -0.5360254049301147, 0.15835246443748474, -0.08102387189865112, -0.4087100625038147, 0.5781378746032715, -0.25291022658348083, 0.18382851779460907, -0.34369558095932007, -0.052495457231998444, -1.3720358610153198, -0.7519664168357849, 0.34801560640335083, -0.804841935634613, -0.024060221388936043, -0.5395731925964355, -0.5717910528182983, -0.21930910646915436, -0.3674558103084564, 0.5752177834510803, 0.1712501049041748, -0.7198469638824463, 0.8346707820892334, 0.20941805839538574, -0.2722039222717285, -0.8323598504066467, -0.6748650074005127, 0.07072179019451141, -0.19998756051063538, -0.7362402081489563, -0.15019474923610687, -0.03170610964298248, -0.22511939704418182, 0.021923735737800598, 0.23172159492969513, -0.07056139409542084, -0.05891106277704239, 0.41653236746788025, 0.07179693877696991, 0.23205024003982544, 0.4201270043849945, 0.43015944957733154, 0.022208543494343758, 0.046488918364048004, 0.043467044830322266, 0.7529481649398804, 0.17868085205554962, -0.357237845659256, -0.5730606913566589, 0.49456652998924255, 0.8028582334518433, 0.1278112381696701, 0.6858223676681519, 1.015818476676941, -0.4073655307292938, -0.10119692981243134, -0.669055700302124, -0.32447725534439087, -0.4812237620353699, 0.07298140972852707, -0.34112611413002014, -0.8238698840141296, 0.21125102043151855, -0.20875805616378784, 0.13522790372371674, 0.10013223439455032, 0.24183838069438934, -0.1987808793783188, 1.1814223527908325, 0.3378918766975403, -0.10418294370174408, 0.5527688264846802, -0.05136217549443245, 0.531196117401123, -0.5853714942932129, -0.0007346706697717309, 0.11048199236392975, -0.6396804451942444, -0.31935304403305054, -0.4477855861186981, 0.3984015882015228, 0.2369227111339569, 0.5152217745780945, 0.18783822655677795, -0.08808796852827072, 0.5428377985954285, 0.45664694905281067, 0.2417101413011551, 0.5820611119270325, 0.13177348673343658, 0.24058838188648224, 0.003781986655667424, -0.4850972592830658, -0.4967028796672821, 1.2088284492492676, 0.2921351492404938, 0.7571977972984314, 0.23462659120559692, 1.020207166671753, 0.3168922960758209, 0.5732906460762024, -0.8883898854255676, 0.4964633584022522, -0.008057049475610256, -0.885683536529541, -0.20300473272800446, -0.5080670118331909, -0.7780508995056152, 0.12710079550743103, -0.5076109170913696, -0.5910518765449524, -0.013731630519032478, 0.4702693819999695, -0.17655374109745026, -0.0031244822312146425, -0.9616574645042419, 0.7920529246330261, -0.48635971546173096, -0.5423604249954224, -0.5602712035179138, -0.5490631461143494, 0.804711103439331, -0.09710873663425446, 0.6675149202346802, -0.2816500663757324, 0.1859920173883438, 0.5000959038734436, 0.09564322233200073, 0.930042028427124, -0.25771063566207886, 0.013972526416182518, 0.5021898150444031, -0.04796268045902252, 0.5851693153381348, 0.1612522453069687, 0.23312194645404816, 0.4341678023338318, -0.2556537389755249, 0.049585793167352676, -0.5370398163795471, 0.8805974721908569, -0.3983451724052429, 0.07363735884428024, 0.16230593621730804, -0.7061797976493835, 0.07379326224327087, 0.3764203190803528, 0.17240440845489502, 0.3338298797607422, -0.4188632071018219, 0.4509609043598175, 0.41965270042419434, -0.10560573637485504, 0.35474810004234314, 0.304097443819046, -0.5212166905403137, -0.4312116205692291, 1.045400619506836, 0.12412579357624054, 0.2630770802497864, 0.1554637849330902, 0.4357181489467621, -0.5629580020904541, -0.3356137275695801, -0.26026296615600586, 0.3829309940338135, -0.896380603313446, 0.18206706643104553, -0.7644088864326477, 0.24218963086605072, -0.476876825094223, -0.4413856267929077, -0.26521188020706177, -0.22051937878131866, -0.024335911497473717, 0.026915958151221275, 0.4851442277431488, 0.7518512010574341, -0.20058096945285797, 0.5152642130851746, -0.9296249747276306, 0.4555838406085968, 0.11388030648231506, 0.3197547495365143, -0.16468545794487, 0.0029766284860670567, -0.20964844524860382, 0.5140224099159241, 0.044715333729982376, -0.8622170090675354, 0.28275954723358154, 0.027515260502696037, 0.5249496698379517, 0.9684940576553345, 0.20854060351848602, 0.5115628838539124, -0.06401754915714264, 0.37516462802886963, 0.5715529322624207, -0.507098376750946, 0.6406002044677734, -0.5237618088722229, 0.13220423460006714, 0.774943470954895, 0.8835721015930176, -0.9584671854972839, -0.17136481404304504, -0.5678783059120178, -0.7328968644142151, 0.4968996047973633, 0.14242394268512726, 0.3010958731174469, -0.1609775573015213, 0.22575324773788452, 0.21528276801109314, 0.35356226563453674, -0.8317834138870239, 0.025543836876749992, -0.0437849685549736, -0.5743570327758789, -0.2907201945781708, -0.4501645863056183, -0.22554504871368408, -0.08671768009662628, 0.6911110877990723, -0.2044706642627716, -0.006516439840197563, -0.2349397838115692, -0.4299347400665283, -0.04026014730334282, 0.35589152574539185, 0.47072461247444153, 0.5274383425712585, -0.08372936397790909, 0.3334203362464905, -0.29739245772361755, -0.523474931716919, -0.08122168481349945, -0.14234401285648346, -0.2246018797159195, 0.16723836958408356, 0.0013633198104798794, 0.5222374796867371, 0.3970845639705658, -0.736433744430542, 0.6019240021705627, -0.28314363956451416, -0.3842546045780182, -0.20719069242477417, -0.0000136471790028736, 0.5039358139038086, 0.2249707728624344, 0.15020541846752167, -0.15422388911247253, 0.3889353573322296, -0.6656053066253662, -0.11240385472774506, 0.522953987121582, -0.30441248416900635, -0.3264639973640442, 0.1536792665719986, 0.2369910627603531, -0.15476442873477936, 0.3205452263355255, -0.4099400043487549, -0.37374910712242126, 0.12721289694309235, 0.06462112814188004, 0.9021651148796082, -0.2886444330215454, 0.33447450399398804, 0.5261290073394775, 0.3744926154613495, 0.00727291963994503, 0.4680689871311188, -0.42536941170692444, -0.9810670018196106, -0.15257233381271362, -0.6710742115974426, 0.09232021868228912, 0.24960486590862274, -0.4040016829967499, 0.44508570432662964, -0.30773892998695374, -0.3374024033546448, 0.33263689279556274, -0.43177708983421326, -0.5797617435455322, -0.17695048451423645, -0.13871274888515472, 0.2584192454814911, -1.1078784465789795, 0.6163291335105896, 0.7434190511703491, -0.29057225584983826, -0.7028213143348694, -0.021795861423015594, 0.3108779191970825, -0.7331564426422119, 0.524072527885437, 0.4241383969783783, -0.20394529402256012, -0.06569615006446838, -0.7406845092773438, -0.4988650977611542, 1.060661792755127, 0.06635934114456177, -0.7169196605682373, 0.37997302412986755, 0.34770458936691284, 0.11624077707529068, -0.2677607536315918, 0.06917686760425568, 0.28830429911613464, 0.5650181770324707, 0.4788830578327179, -0.4127575159072876, -0.1262924075126648, -0.23259751498699188, -0.22977745532989502, 0.4348335266113281, -0.41716355085372925, 0.5582600831985474, -0.33757802844047546, -0.3879023492336273, -0.5982398986816406, 0.24508316814899445, 0.3201277554035187, 0.8539400100708008, 0.49118366837501526, 0.48030659556388855, 0.5018229484558105, -0.02325727604329586, 0.6585122346878052, -0.26806843280792236, 0.2585007846355438, 1.0795319080352783, -0.1778709441423416, 0.8153798580169678, 0.9133518934249878, 0.23617200553417206, 0.21962754428386688, 0.3650210499763489, 0.4388616979122162, 0.4724789261817932, -0.31535422801971436, -0.6846102476119995, -0.41153019666671753, -0.20236605405807495, -0.11909149587154388, 0.40897396206855774, 0.7151677012443542, -0.7888407707214355, -0.30024170875549316, 0.047563694417476654, 0.15906819701194763, -0.05517919734120369, -0.5087878704071045, 0.81508868932724, 0.10246200114488602, -0.7572545409202576, 0.10335762798786163, -0.2276686578989029, 0.7023559808731079, -0.5803283452987671, -0.20281459391117096, 0.13726121187210083, 0.25444674491882324, -0.39915668964385986, -0.960869550704956, 0.15373657643795013, -0.13645203411579132, -0.2182883769273758, -0.1997034102678299, 1.283239722251892, -0.6997491121292114, -0.5143930912017822, 0.362302303314209, 0.1279306411743164, 0.31204742193222046, -0.4585282504558563, -0.4443114399909973, 0.2562713623046875, -0.1057434231042862, -0.006900270003825426, 0.1375567764043808, 0.5980497598648071, 0.042234305292367935, 0.5382697582244873, 0.923051655292511, -0.35752809047698975, 0.16782395541667938, 0.2464360147714615, 0.8512183427810669, -0.1037287563085556, -0.30125027894973755, -0.9542459845542908, 0.6761723160743713, -0.35448238253593445, -0.1447732299566269, 0.7517704367637634, 0.3496868908405304, 0.8852154612541199, -0.01339594554156065, 1.1487985849380493, -0.08511526882648468, 0.13793905079364777, -0.5486963987350464, 0.8610255122184753, -0.8307530283927917, -0.10282549262046814, -0.44500887393951416, -0.7983589768409729, 0.15798580646514893, 0.6465486884117126, -0.40148600935935974, 0.026320969685912132, 0.3394662141799927, 0.8979697227478027, -0.2161567360162735, 0.19229921698570251, 0.5546354055404663, -0.011395733803510666, 0.1894422471523285, 0.4584052860736847, 1.245007038116455, -0.24287638068199158, 0.37212780117988586, -0.3701598644256592, -0.43459972739219666, -0.6424356698989868, -0.8854572176933289, -0.9600355625152588, -0.7878548502922058, -0.01867624558508396, -0.10460461676120758, -0.029194209724664688, 1.094125747680664, 0.47893908619880676, -0.2965225577354431, 0.015146982856094837, -0.0700690746307373, 0.2434876412153244, 0.009346257895231247, -0.2514074742794037, -0.18497513234615326, -0.270467072725296, -0.5911769270896912, 0.26169246435165405, 0.20615199208259583, -0.0037230539601296186, -0.17999927699565887, -0.5306193828582764, -0.525720477104187, 0.07417376339435577, 0.9000521898269653, -0.08143173903226852, -0.6634008288383484, -0.28288695216178894, 0.01086272019892931, 0.07048314809799194, -0.345281183719635, 0.8571975827217102, 0.024709319695830345, 0.859922468662262, 0.6544000506401062, 0.23819485306739807, 0.4844159781932831, -0.09665302187204361, 0.3468053340911865, -0.9885671734809875, -0.19235001504421234, 0.05018750950694084, 0.6395682096481323, 0.18477949500083923, -0.4707244336605072, 0.2344643920660019, 0.1631729006767273, -0.4221830666065216, -0.5959548354148865, 0.2712836265563965, -0.9707801938056946, -0.49693143367767334, 1.5105475187301636, 0.07889331877231598, -0.10457044839859009, -0.1988409161567688, -0.4497356414794922, 0.16128788888454437, -0.6917391419410706, 0.6943722367286682, 1.0099186897277832, 0.20697495341300964, -0.4409770369529724, -0.7527221441268921, 0.4822281301021576, -0.2294410616159439, -0.4252703785896301, 0.20157141983509064, 0.8928486108779907, 0.28315192461013794, 0.36579927802085876, 0.8888937830924988, 0.05467287823557854, 0.30148622393608093, -0.1391655057668686, 0.4386879503726959, -0.13412658870220184, -0.6391748189926147, -0.036312296986579895, 0.020776664838194847, -0.02138642966747284, -0.0951671227812767 ]
http://arxiv.org/abs/2402.18158v2
http://arxiv.org/pdf/2402.18158v2
Evaluating Quantized Large Language Models
2024-02-28T08:43:05
2024-06-06T07:30:44
Shiyao Li, Xuefei Ning, Luning Wang, Tengxuan Liu, Xiangsheng Shi, Shengen Yan, Guohao Dai, Huazhong Yang, Yu Wang
cs.CL
cs.CL, cs.AI
Post-training quantization (PTQ) has emerged as a promising technique to reduce the cost of large language models (LLMs). Specifically, PTQ can effectively mitigate memory consumption and reduce computational overhead in LLMs. To meet the requirements of both high efficiency and performance across diverse scenarios, a comprehensive evaluation of quantized LLMs is essential to guide the selection of quantization methods. This paper presents a thorough evaluation of these factors by evaluating the effect of PTQ on Weight, Activation, and KV Cache on 11 model families, including OPT, LLaMA2, Falcon, Bloomz, Mistral, ChatGLM, Vicuna, LongChat, StableLM, Gemma, and Mamba, with parameters ranging from 125M to 180B. The evaluation encompasses five types of tasks: basic NLP, emergent ability, trustworthiness, dialogue, and long-context tasks. Moreover, we also evaluate the state-of-the-art (SOTA) quantization methods to demonstrate their applicability. Based on the extensive experiments, we systematically summarize the effect of quantization, provide recommendations to apply quantization techniques, and point out future directions. The code can be found in https://github.com/thu-nics/qllm-eval.
[ -0.2249336987733841, -0.5913196206092834, 0.6187848448753357, 0.4378409683704376, -0.5142480134963989, 0.07709157466888428, -0.40108105540275574, 0.09394555538892746, -0.3358045816421509, 0.36698105931282043, -0.07378874719142914, -0.5410565137863159, -0.5447695851325989, 0.04631507024168968, -0.5601933002471924, 0.7966099977493286, -0.059697914868593216, 0.12858574092388153, -0.14873838424682617, -0.08127402514219284, -0.22878441214561462, -0.7865192890167236, -0.8491544127464294, -0.23091690242290497, 0.20883582532405853, -0.10356498509645462, 0.7685549855232239, 0.3508046269416809, 0.349463552236557, 0.2670700252056122, -0.22471074759960175, -0.18102632462978363, -0.6761814951896667, -0.03381374105811119, 0.2652531862258911, -0.6285949349403381, -0.6040666103363037, -0.11513081192970276, 1.0587782859802246, 0.5152220726013184, -0.1422048807144165, 0.2505839765071869, -0.010421708226203918, 0.6203124523162842, -0.990983784198761, 0.13186416029930115, -0.41026008129119873, 0.16817016899585724, -0.14562951028347015, -0.18618400394916534, -0.4627041220664978, -0.48977866768836975, 0.3659863770008087, -0.6425692439079285, -0.5054165720939636, -0.19264499843120575, 0.6435126662254333, 0.23556438088417053, -0.6682896018028259, 0.09646638482809067, -0.7988449335098267, 1.1213432550430298, -0.8282821178436279, 0.5692527294158936, 0.42842525243759155, 0.1521240472793579, 0.016084732487797737, -0.876584529876709, -0.35932356119155884, -0.26992329955101013, 0.17607057094573975, 0.15349511802196503, -0.38465216755867004, 0.3201408088207245, 0.4093260169029236, 0.7034722566604614, -0.6140221357345581, 0.014527969993650913, -0.09095693379640579, -0.04518389329314232, 0.2080601155757904, 0.1345011591911316, 0.14425227046012878, 0.06937816739082336, -0.1953142285346985, -0.2097305804491043, -0.7143197059631348, 0.09617142379283905, 0.3430682122707367, -0.1788390427827835, 0.04566724970936775, 0.5370975136756897, -0.6156855821609497, 0.6564942002296448, 0.10046807676553726, -0.1917382776737213, 0.12365175038576126, -0.5825111269950867, -0.5036749243736267, -0.1732938587665558, 0.8993756771087646, 0.14645414054393768, 0.32249268889427185, -0.2774750590324402, -0.3413354158401489, -0.142526313662529, 0.09146706014871597, -1.0718506574630737, -0.03042651154100895, 0.2220717817544937, -0.5291046500205994, -0.1614810824394226, -0.2769271433353424, -0.19963006675243378, -0.1364274024963379, -0.218306764960289, 0.7360802888870239, -0.636191189289093, -0.3073428273200989, 0.4034958779811859, 0.021750349551439285, 0.40391314029693604, 0.21396107971668243, -0.5254525542259216, 0.24907183647155762, 0.722973108291626, 0.6793344616889954, 0.06933585554361343, -0.00842892937362194, -0.6396774649620056, -0.06341564655303955, -0.36380842328071594, 0.5174285769462585, -0.4038679897785187, -0.3041122257709503, 0.04614245146512985, -0.24420680105686188, -0.017046881839632988, -0.4917503595352173, 0.6898385286331177, -0.7741953730583191, -0.007303936406970024, -0.23651401698589325, -0.26249566674232483, -0.16150414943695068, 0.17420463263988495, -0.8243570327758789, 1.126144528388977, 0.37382110953330994, -0.6974490284919739, 0.43881091475486755, -0.26804181933403015, -0.3509162962436676, 0.1624796986579895, 0.425311416387558, -0.49460315704345703, 0.3604544997215271, 0.15100719034671783, 0.4370591640472412, -0.5279790759086609, 0.43744957447052, -0.17364627122879028, -0.7298559546470642, 0.44634810090065, -0.308435320854187, 0.7753340601921082, 0.1705833524465561, -0.3721637725830078, 0.27528247237205505, -0.6839168071746826, 0.3088884651660919, -0.17559567093849182, -0.5366569757461548, -0.45657840371131897, -0.024163421243429184, -0.21922551095485687, 0.1362190842628479, 0.17317037284374237, -0.07647895812988281, 0.039979029446840286, -0.6733221411705017, 0.7904981970787048, 0.3090636134147644, 0.005109213758260012, 0.37911608815193176, -0.023895276710391045, 0.6876451373100281, -0.2014814019203186, 0.4357241690158844, -0.13912419974803925, -0.08983758836984634, -1.0306204557418823, -0.414127379655838, 0.7137964963912964, 0.1626211404800415, -1.0079022645950317, 0.27853453159332275, -0.3205430805683136, -0.35859477519989014, -0.44697484374046326, -0.23078647255897522, 0.7258254885673523, -0.24681685864925385, 0.08404698967933655, -0.33506685495376587, -0.553280770778656, -0.8301686644554138, -0.19955594837665558, -0.13635917007923126, -0.22049105167388916, -0.07887692749500275, 0.3876042366027832, -0.05201653391122818, 0.8830380439758301, 0.048654355108737946, 0.26357409358024597, -0.04192325100302696, 0.3344128131866455, -0.10856470465660095, 0.23787768185138702, 0.3563147485256195, -0.41669416427612305, -0.4478354752063751, -0.015397443436086178, -0.29671651124954224, -0.1606876254081726, -0.01729579269886017, -0.10573402047157288, 0.26318359375, 0.3836030960083008, -0.8578974604606628, 0.37996819615364075, 0.6379730701446533, -0.07043270766735077, 0.7164233326911926, 0.008678130805492401, 0.40622514486312866, -0.6368446350097656, 0.3899960219860077, -0.023221781477332115, -0.3734816908836365, -0.6221765279769897, 0.26238057017326355, 0.1769823133945465, -0.1342109590768814, -0.6569299101829529, 0.5245083570480347, -0.45472127199172974, -0.42004793882369995, -0.16935692727565765, 0.025041311979293823, 0.05139988288283348, 0.4256313145160675, -0.06641064584255219, 0.8507716655731201, 0.40099719166755676, -0.4958902597427368, 0.21071213483810425, -0.23906610906124115, -0.5750630497932434, 0.2438255250453949, -0.8798741102218628, 0.2170601636171341, 0.0887160450220108, 0.23163363337516785, -0.8968251347541809, 0.3520927131175995, 0.05137201026082039, -0.2653086185455322, 0.019120341166853905, -0.10041408985853195, -1.1468698978424072, -0.21472090482711792, -0.5206489562988281, 0.5610762238502502, 0.4216453731060028, -0.1998211145401001, 0.420026034116745, 0.0804792121052742, 0.16387782990932465, -0.2948382794857025, -0.2591593563556671, 0.08973336964845657, -0.5299488306045532, -0.3231816291809082, 0.2298734337091446, -0.03893463313579559, -0.2705056071281433, -0.20591948926448822, -0.19549629092216492, -0.14953351020812988, 0.3832145929336548, 0.11896951496601105, -0.16528332233428955, -0.17886163294315338, 0.24018096923828125, 0.20408959686756134, -0.19971221685409546, 0.053484346717596054, -0.4760904610157013, 0.9082658886909485, -0.5149086117744446, 0.06510548293590546, -0.4597611725330353, -0.09708315879106522, 0.564441978931427, -0.6124604940414429, 0.8266816139221191, 0.9148040413856506, -0.29559165239334106, 0.0013561671366915107, -0.48246878385543823, -0.0002233195846201852, -0.41203784942626953, 0.5310286283493042, -0.30574339628219604, -1.1418906450271606, 0.3603244721889496, -0.27083706855773926, -0.1820545643568039, 0.3877609968185425, 0.8407800197601318, 0.22908265888690948, 1.179139256477356, 0.41771647334098816, 0.10857032239437103, 0.5184323787689209, -0.28401270508766174, 0.34910425543785095, -0.8340355157852173, 0.1829821616411209, -0.4344554841518402, -0.10082308948040009, -0.3218768239021301, -0.7454935908317566, 0.36910197138786316, 0.49369266629219055, -0.33294594287872314, 0.34947699308395386, -0.15983572602272034, 0.2580556571483612, 0.45864245295524597, -0.07013444602489471, 0.4521849751472473, -0.09902874380350113, 0.057486120611429214, 0.1454663872718811, -0.6077994704246521, -0.6228011250495911, 1.4639098644256592, 0.46448537707328796, 0.4650014340877533, -0.08271554112434387, 0.35522958636283875, 0.09658775478601456, 0.2133541852235794, -1.1025071144104004, 0.6024032831192017, -0.17109791934490204, -0.2723985016345978, -0.5281928181648254, -0.4963105618953705, -0.9744424223899841, 0.3338462710380554, -0.27793827652931213, -0.5554747581481934, -0.2014819234609604, -0.10604269802570343, -0.7482583522796631, -0.1953306794166565, -0.6324900388717651, 0.8623688817024231, -0.2889699339866638, -0.13661044836044312, -0.581387460231781, -0.3479219079017639, 0.7333448529243469, -0.49014753103256226, -0.2463371902704239, 0.04820338636636734, -0.185898095369339, 0.9811291098594666, -0.3328208327293396, 0.5467619299888611, 0.036561187356710434, -0.16491419076919556, 0.29989734292030334, -0.09242837131023407, 0.4016357958316803, 0.0629773885011673, -0.15470482409000397, 0.24644792079925537, 0.5225600600242615, -0.1877593994140625, -0.6942856907844543, 0.4960000813007355, -0.6867794394493103, -0.42132997512817383, -0.18265467882156372, -0.5366678833961487, -0.419922411441803, 0.16110405325889587, -0.08164366334676743, 0.3653377890586853, -0.0957469791173935, 0.6112321615219116, 0.729861855506897, -0.6327432990074158, 0.4118521809577942, 0.6088488698005676, -0.2928522527217865, -0.6219145059585571, 0.5967448353767395, 0.07081904262304306, 0.4614133834838867, 0.5232509970664978, 0.3550928235054016, -0.19985714554786682, -0.7242701649665833, -0.15444380044937134, 0.2278246283531189, -0.3436242938041687, -0.3095313012599945, -0.7079307436943054, -0.1411237120628357, -0.2809407413005829, 0.3151528537273407, -0.4689790904521942, -0.6543728709220886, -0.3019498586654663, 0.05103551223874092, 0.17050592601299286, 0.05663113296031952, 0.498294860124588, 0.9707604646682739, -0.7810563445091248, 0.15107762813568115, 0.4341503083705902, 0.2753340005874634, 0.14918853342533112, -0.4627026617527008, -0.6903067231178284, 0.03884485363960266, -0.2907920777797699, -0.5338706970214844, 0.39633551239967346, 0.23409117758274078, 0.3840896189212799, 0.6045859456062317, 0.13062112033367157, 0.8727176189422607, -0.2745210528373718, 0.6476927399635315, 0.08734976500272751, -1.379351019859314, 0.28969791531562805, -0.24402548372745514, 0.4580119848251343, 0.45235562324523926, 0.47274574637413025, -0.3616393804550171, -0.33848705887794495, -0.46764737367630005, -0.800375759601593, 0.4869714379310608, 0.30989235639572144, 0.06016707420349121, 0.16291752457618713, 0.46196234226226807, -0.14686352014541626, 0.5850409269332886, -0.8223803639411926, -0.07276369631290436, 0.10771585255861282, 0.0724826455116272, 0.22820928692817688, -0.7223770618438721, 0.08852467685937881, -0.08382324874401093, 0.499983012676239, 0.09109964221715927, 0.12737269699573517, -0.26067230105400085, -0.2262798398733139, -0.14963595569133759, 0.36159002780914307, 0.49539491534233093, 0.7183965444564819, -0.19483956694602966, 0.08187136054039001, 0.14018197357654572, -0.18823610246181488, -0.053905364125967026, -0.06111888960003853, -0.07392982393503189, -0.18569809198379517, 0.3336254060268402, 0.9795436859130859, 0.48980262875556946, -0.896138072013855, 0.6076279282569885, -0.23091650009155273, -0.10878899693489075, -0.1375950276851654, 0.035158976912498474, -0.11629917472600937, 0.41612425446510315, 0.14616820216178894, -0.48324012756347656, 0.33552291989326477, -0.6253376007080078, -0.0004604057176038623, 0.62725430727005, -0.1790490448474884, -0.576555609703064, 0.35649415850639343, 0.0011812254087999463, -0.05890674516558647, 0.47957220673561096, -0.30645617842674255, -0.6962254047393799, 0.36587387323379517, 0.38501638174057007, 0.8643782138824463, -0.455740749835968, 0.18123596906661987, 0.3398735523223877, 0.3946339190006256, -0.1848713606595993, 0.24340899288654327, -0.21920475363731384, -0.4186610281467438, -1.0131345987319946, -0.8677563071250916, -0.08433549106121063, 0.2888789772987366, -0.6171846389770508, 0.20805849134922028, -0.3480924963951111, -0.5240184664726257, -0.47678765654563904, 0.3537358045578003, -0.5721392631530762, 0.23040999472141266, 0.12940113246440887, 0.5062007904052734, -0.6430705785751343, 1.0879899263381958, 0.5194305777549744, 0.013041160069406033, -0.7258985638618469, 0.05970698595046997, -0.468905508518219, -0.7579774260520935, 0.9301131367683411, -0.1081971675157547, 0.147352397441864, 0.37386196851730347, -0.1911994218826294, -1.0680317878723145, 1.0263667106628418, 0.4033243954181671, -0.6106037497520447, 0.032341085374355316, 0.2724588215351105, 0.8071186542510986, 0.12286700308322906, 0.6559518575668335, 0.9291841983795166, 0.46534302830696106, 0.03776547685265541, -1.2153643369674683, 0.023369569331407547, -0.04277516156435013, 0.38188183307647705, 0.3439662456512451, -0.615159273147583, 0.8636881709098816, 0.21043695509433746, -0.4820443093776703, 0.3051186501979828, 0.459781289100647, 0.5164457559585571, -0.04451313987374306, 0.524842381477356, 0.7571977376937866, 0.34059181809425354, -0.04537779092788696, 0.9122779965400696, -0.5083687901496887, 0.4254392385482788, 0.6906805634498596, -0.2413378208875656, 0.8294109106063843, 0.4467565715312958, -0.6382749080657959, -0.03710445761680603, 0.6327579617500305, 0.21995283663272858, 0.5319375395774841, 0.7221393585205078, -0.17727848887443542, -0.20159514248371124, -0.18673068284988403, -0.32154399156570435, 0.452332079410553, 0.2253417670726776, -0.10312862694263458, 0.033912476152181625, 0.14273279905319214, 0.20186513662338257, -0.5282067060470581, -0.4034794270992279, 0.5307617783546448, 0.2514136731624603, -0.587024450302124, 0.9368608593940735, 0.2777971625328064, 0.38847285509109497, -0.5708068013191223, 0.13132865726947784, -0.10162217915058136, -0.06295020133256912, -0.033072639256715775, -0.36164581775665283, 0.1571565866470337, -0.0027311646845191717, 0.08072490245103836, -0.402670681476593, 0.5154150724411011, -0.28166064620018005, -0.313339501619339, 0.10288459807634354, 0.4044862985610962, 0.07161407917737961, -0.6601271629333496, -0.45336490869522095, 0.3606753647327423, -0.2018471658229828, -0.430493026971817, 0.5261439085006714, 0.5794665813446045, -0.17156006395816803, 0.6420964598655701, 0.5512486100196838, 0.03689093142747879, 0.05634153261780739, 0.13393083214759827, 0.7890671491622925, -0.48553216457366943, -0.295529842376709, -0.7822726368904114, 0.5582910776138306, 0.4115898609161377, -0.21096506714820862, 0.923795223236084, 0.6119627356529236, 0.6244257092475891, -0.004091751761734486, 0.5200560092926025, 0.2872985899448395, 0.08376005291938782, -0.7450109124183655, 0.6451090574264526, -0.43510812520980835, 0.3357550799846649, -0.332905113697052, -1.180903434753418, -0.32362329959869385, 0.5351362228393555, -0.6160087585449219, 0.1300247311592102, 0.9211002588272095, 0.36907514929771423, 0.4137828052043915, -0.26959022879600525, 0.5532112121582031, 0.10518067330121994, 0.0683693215250969, 0.7964096069335938, 1.2695025205612183, -0.5713554620742798, 0.6770190596580505, -0.2349260151386261, -0.1468796730041504, -0.25078219175338745, -0.7880685329437256, -0.9563525915145874, -0.5476018190383911, -0.6121488809585571, -0.16815753281116486, 0.06596279889345169, 0.41058599948883057, 0.9102568030357361, -0.49654415249824524, -0.3119969964027405, 0.06684043258428574, -0.1287163347005844, -0.21000546216964722, -0.23319533467292786, 0.5813166499137878, -0.15641982853412628, -0.8747112154960632, 0.15813706815242767, 0.5191730260848999, -0.12876099348068237, -0.40817132592201233, -0.11641061305999756, 0.18111728131771088, -0.0540100522339344, 1.0646008253097534, -0.10818292945623398, -0.8058266043663025, -0.02447124384343624, 0.09078945219516754, -0.1202109307050705, -0.09809048473834991, 0.9514315724372864, -0.9999158978462219, 0.2961563169956207, 0.45535266399383545, 0.5242180228233337, 0.5194084644317627, 0.07122847437858582, 0.5979537963867188, -0.4222407639026642, 0.06319746375083923, 0.38177183270454407, 0.14771237969398499, -0.012058679014444351, -0.10059911012649536, 0.4632139205932617, -0.10176442563533783, -0.6160222291946411, -1.0262302160263062, -0.1562294065952301, -0.9619845151901245, -0.06815323233604431, 1.219486951828003, -0.2684682607650757, -0.10613556951284409, 0.17099276185035706, -0.015176109969615936, 0.4493582248687744, -0.2341759353876114, 0.6311580538749695, 0.76904296875, 0.24631009995937347, -0.5478836894035339, -0.6600542068481445, 0.4725090265274048, 0.6207162141799927, -0.8400863409042358, -0.11384136229753494, 0.3394712507724762, -0.06562775373458862, -0.25005704164505005, 0.575265645980835, -0.20359453558921814, 0.19681641459465027, -0.37158462405204773, 0.2658196985721588, 0.17548999190330505, 0.015872593969106674, -0.5527910590171814, -0.05173484981060028, 0.3445746898651123, 0.07038016617298126 ]
http://arxiv.org/abs/2402.18157v1
http://arxiv.org/pdf/2402.18157v1
From Summary to Action: Enhancing Large Language Models for Complex Tasks with Open World APIs
2024-02-28T08:42:23
2024-02-28T08:42:23
Yulong Liu, Yunlong Yuan, Chunwei Wang, Jianhua Han, Yongqiang Ma, Li Zhang, Nanning Zheng, Hang Xu
cs.AI
cs.AI, cs.CL, cs.CV
The distinction between humans and animals lies in the unique ability of humans to use and create tools. Tools empower humans to overcome physiological limitations, fostering the creation of magnificent civilizations. Similarly, enabling foundational models like Large Language Models (LLMs) with the capacity to learn external tool usage may serve as a pivotal step toward realizing artificial general intelligence. Previous studies in this field have predominantly pursued two distinct approaches to augment the tool invocation capabilities of LLMs. The first approach emphasizes the construction of relevant datasets for model fine-tuning. The second approach, in contrast, aims to fully exploit the inherent reasoning abilities of LLMs through in-context learning strategies. In this work, we introduce a novel tool invocation pipeline designed to control massive real-world APIs. This pipeline mirrors the human task-solving process, addressing complicated real-life user queries. At each step, we guide LLMs to summarize the achieved results and determine the next course of action. We term this pipeline `from Summary to action', Sum2Act for short. Empirical evaluations of our Sum2Act pipeline on the ToolBench benchmark show significant performance improvements, outperforming established methods like ReAct and DFSDT. This highlights Sum2Act's effectiveness in enhancing LLMs for complex real-world tasks.
[ -0.21365191042423248, -0.7162737250328064, 0.42971327900886536, 0.014865231700241566, -0.1853417158126831, 0.29863977432250977, -0.275499552488327, -0.3738020658493042, 0.03559952229261398, 0.7258342504501343, -0.5364636778831482, -0.25482457876205444, -0.49536433815956116, -0.08123086392879486, -0.5335517525672913, 0.8808179497718811, 0.045545876026153564, -0.05556240677833557, -0.35236766934394836, -0.10499271750450134, -0.5710184574127197, -0.37009066343307495, -0.6067984104156494, -0.4916175901889801, 0.3854674994945526, 0.47595304250717163, 0.670773983001709, 0.42379406094551086, 0.38252606987953186, 0.361499547958374, 0.04447333887219429, 0.41948238015174866, -0.6176835894584656, 0.0958411693572998, -0.3446117341518402, -0.6922162771224976, -0.3886045813560486, -0.07552911341190338, 0.43593505024909973, 0.8120251893997192, -0.10702695697546005, 0.41207125782966614, 0.19868001341819763, 0.39998114109039307, -0.5810215473175049, 0.14471694827079773, -0.5364564657211304, -0.19370980560779572, 0.11231847107410431, 0.017936361953616142, -0.38897332549095154, -0.046161867678165436, 0.13094910979270935, -0.48995035886764526, -0.06536346673965454, -0.009239587932825089, 0.3405647873878479, 0.523492157459259, -0.25827622413635254, -0.4502115249633789, -0.6790362000465393, 0.7996445298194885, -0.9501020908355713, 0.1694192886352539, 0.28115540742874146, 0.23076196014881134, -0.5346092581748962, -1.0281974077224731, -0.4476761817932129, 0.11081471294164658, -0.3510802686214447, 0.05442626401782036, -0.15304693579673767, 0.0072044748812913895, 0.5162734389305115, 0.15677273273468018, -0.53141188621521, 0.21069663763046265, -0.37863799929618835, -0.2155618965625763, 0.5309288501739502, 0.27006882429122925, 0.3666450083255768, 0.12409175932407379, -0.10524635761976242, 0.05816302075982094, -0.785180926322937, 0.2463161051273346, 0.2595788240432739, 0.3742094039916992, -0.2570836842060089, 0.6572816967964172, -0.1094670295715332, 0.6799511909484863, -0.34501540660858154, -0.11794579029083252, -0.11635928601026535, -0.07793393731117249, -0.40985846519470215, -0.2091556042432785, 0.5177010297775269, 0.18115279078483582, 0.1384691745042801, -0.32362353801727295, -0.18568947911262512, -0.08431844413280487, 0.3690697252750397, -0.8919751644134521, 0.06578405946493149, 0.6368248462677002, -0.20393253862857819, -0.15378756821155548, -0.10545335710048676, -0.5234359502792358, -0.5111294984817505, -0.6385083198547363, 0.3944815397262573, -0.17258353531360626, -0.3640420436859131, 0.014700987376272678, -0.24089916050434113, 0.2951659560203552, 0.3212544620037079, -0.7530630826950073, 0.5609374046325684, 1.0077522993087769, 1.0072401762008667, -0.0037160052452236414, -0.22320057451725006, -0.8106170892715454, 0.2499706894159317, -0.48422345519065857, 0.7682985663414001, -0.5105660557746887, -0.4028000235557556, 0.044321078807115555, -0.14052768051624298, 0.30337971448898315, -0.8201617002487183, 0.3693876564502716, -0.4990985095500946, 0.2628777325153351, -0.3071853220462799, -0.43789926171302795, -0.32697609066963196, 0.2131175696849823, -0.5082505345344543, 1.1246554851531982, 0.3282286822795868, -0.4388664960861206, 0.22283178567886353, -1.139818549156189, -0.5346571803092957, 0.020344842225313187, -0.04879816994071007, -0.12439785897731781, 0.2119237333536148, 0.21674616634845734, 0.5187773704528809, -0.4954381585121155, 0.15266203880310059, -0.22735252976417542, -0.4598219096660614, 0.02754395268857479, -0.01987033151090145, 0.8663028478622437, -0.02927011251449585, -0.2692691385746002, 0.44538140296936035, -0.4436853528022766, -0.012295684777200222, 0.006283029913902283, -0.1323641836643219, -0.3678295612335205, 0.0812908262014389, -0.28148606419563293, 0.33517321944236755, -0.030679749324917793, -0.4133763611316681, 0.18930405378341675, -0.8231903910636902, 0.7412388920783997, 0.5929532647132874, -0.005733489990234375, 0.633582592010498, -0.07973656803369522, 0.3490479290485382, -0.3573724031448364, -0.03761811926960945, -0.31207475066185, -0.2910543382167816, -0.5535807609558105, -0.44366687536239624, 0.12439464777708054, 0.6715409755706787, -0.5936437845230103, 0.47439417243003845, -0.26541629433631897, -0.564152717590332, -0.3137519657611847, 0.2950878441333771, 0.43911105394363403, 0.550546407699585, 0.27518031001091003, -0.3844933807849884, -0.47085073590278625, -0.6644991040229797, -0.2843717932701111, -0.12706516683101654, -0.6243055462837219, 0.41793757677078247, 0.5367743372917175, -0.16339854896068573, 1.0420631170272827, -0.4531673491001129, -0.1939094513654709, -0.38704627752304077, 0.287334680557251, 0.22052480280399323, 0.27025219798088074, 0.5184720754623413, -0.6384034752845764, -0.14456841349601746, -0.2077602595090866, -0.9411047697067261, -0.11555120348930359, -0.031552210450172424, -0.3878036439418793, -0.07322502881288528, 0.7612806558609009, -0.5953653454780579, 0.2493419647216797, 0.2621152102947235, -0.39589181542396545, 0.48739171028137207, -0.09130696952342987, -0.23503144085407257, -0.939972996711731, 0.1135464608669281, -0.25331568717956543, -0.2624451518058777, -0.5071463584899902, 0.3679000437259674, 0.08756230771541595, -0.320156067609787, -0.6441185474395752, 0.8237789869308472, -0.4601411521434784, -0.37967973947525024, -0.38929736614227295, 0.0769212618470192, -0.17501066625118256, 0.6277891397476196, -0.2956315875053406, 0.8257856369018555, 0.5975780487060547, -0.7565725445747375, 0.43701836466789246, 0.2670310139656067, -0.25147557258605957, 0.3485599458217621, -0.7834765911102295, 0.0072412509471178055, -0.10578097403049469, 0.3715014159679413, -1.1377685070037842, -0.5747396945953369, 0.07601490616798401, -0.4046402871608734, 0.24051518738269806, -0.10059598088264465, -0.8472426533699036, -0.20747654139995575, -0.2703060209751129, 0.07815664261579514, 0.5134223103523254, -0.5548685789108276, 1.0541625022888184, 0.4777696430683136, -0.34304141998291016, -0.35929349064826965, -0.6876841187477112, 0.25432875752449036, -0.26476016640663147, -0.403106689453125, 0.09839439392089844, -0.11311246454715729, -0.48228058218955994, -0.21116255223751068, 0.005661700386554003, 0.08988949656486511, 0.16497580707073212, 0.30580663681030273, 0.08997684717178345, 0.08436233550310135, 0.30828535556793213, 0.28857719898223877, -0.08511967211961746, 0.3002161979675293, -0.14793293178081512, 0.6362944841384888, 0.09223729372024536, -0.41302433609962463, -0.20713338255882263, 0.48389512300491333, 0.8070945143699646, -0.5154992341995239, 0.2199111133813858, 0.43299394845962524, -0.35456615686416626, -0.2984901964664459, -0.3487778306007385, -0.5817862153053284, -0.4901762306690216, 0.49725231528282166, -0.11395666003227234, -0.7263146042823792, 0.5780554413795471, -0.7322852611541748, 0.6698046326637268, 0.1156487762928009, 0.7357904314994812, -0.17081649601459503, 1.0419162511825562, 0.4805455803871155, -0.10851182043552399, 0.5356050729751587, -0.6611818075180054, 0.1858317106962204, -1.05918288230896, 0.06881999969482422, -0.2095847725868225, -0.6284708976745605, -0.06530775874853134, -0.596748948097229, 0.4816162884235382, 0.17699967324733734, -0.43627944588661194, 0.14883387088775635, -0.30684998631477356, 0.6548330783843994, 0.43801406025886536, 0.013939491473138332, 0.07766630500555038, 0.06434386223554611, -0.09999073296785355, 0.19319909811019897, -0.5518280267715454, -0.603410542011261, 1.249715805053711, 0.25198253989219666, 0.5157774686813354, 0.342788428068161, 0.38029566407203674, 0.35252776741981506, 0.47137853503227234, -1.0132956504821777, 0.6211727261543274, 0.09236308187246323, -0.46440356969833374, -0.46983158588409424, 0.1136581227183342, -0.6901954412460327, 0.4321715533733368, -0.08859162777662277, -0.7570803761482239, -0.1478736698627472, 0.05031723529100418, -0.34015393257141113, 0.22417570650577545, -0.885383665561676, 0.6188606023788452, -0.3056429624557495, -0.5889654159545898, -0.4872267544269562, -0.7993239164352417, 0.32518965005874634, 0.23338013887405396, 0.4588944613933563, -0.029083631932735443, -0.39500901103019714, 0.3865446150302887, -0.38863229751586914, 1.1702799797058105, -0.24992801249027252, -0.3451445400714874, 0.35123294591903687, 0.12645083665847778, 0.8847627639770508, 0.022877339273691177, -0.13377676904201508, 0.03366049379110336, -0.4632883071899414, -0.4867708384990692, -0.8600806593894958, 0.593475341796875, -0.5022950768470764, -0.37309157848358154, -0.09519491344690323, -0.7443098425865173, -0.46715787053108215, 0.2887595295906067, -0.04242207854986191, 0.7933372259140015, -0.0789533481001854, 0.10863981395959854, 0.5321971774101257, -0.0854949802160263, 0.7534908652305603, 0.5658068656921387, -0.2395825833082199, -0.36449646949768066, 0.709620475769043, -0.01727794110774994, 0.4050326347351074, 0.29783156514167786, 0.1917763203382492, -0.40279632806777954, -0.442363440990448, -0.7082346677780151, 0.2807292342185974, -0.6603879928588867, -0.1513509601354599, -0.5712221264839172, 0.23003247380256653, -0.30479589104652405, -0.22410354018211365, -0.17172956466674805, -0.215348482131958, -0.2595554292201996, -0.12310069054365158, 0.19148017466068268, 0.6356610655784607, 0.10462082177400589, 0.3311545252799988, -0.6896631717681885, 0.4292071759700775, 0.43894705176353455, 0.3527933955192566, 0.16753491759300232, -0.4710634648799896, -0.29625988006591797, 0.10859805345535278, -0.23373734951019287, -0.5850167870521545, 0.2476220279932022, 0.30860376358032227, 0.5411619544029236, 0.39341098070144653, 0.12428843230009079, 0.7516281008720398, -0.42735373973846436, 0.8867795467376709, -0.13694609701633453, -0.8060307502746582, 0.4804311990737915, -0.2771744430065155, 0.39350810647010803, 0.07259517163038254, 0.29295140504837036, -0.30886968970298767, -0.580992579460144, -0.4033932089805603, -1.1293209791183472, 0.608609676361084, 0.07156558334827423, 0.3138420581817627, 0.2964857220649719, 0.33243197202682495, 0.005703137256205082, 0.1311020702123642, -0.14025352895259857, 0.022237194702029228, 0.01489625871181488, -0.04518881440162659, 0.0858147069811821, -0.10468532145023346, -0.35608965158462524, -0.3597680926322937, 0.5593929290771484, -0.4929400384426117, 0.029316389933228493, 0.033115871250629425, -0.33875182271003723, -0.04245629906654358, 0.2884595990180969, 0.5113328695297241, 0.9336566925048828, 0.005772036034613848, -0.04115169122815132, 0.3157632648944855, -0.3306002914905548, -0.17590245604515076, -0.11567166447639465, -0.03320534899830818, -0.4152471423149109, 0.6357505917549133, 0.6554129123687744, 0.3950873017311096, -1.2975819110870361, 0.26378440856933594, -0.05549655854701996, -0.08598310500383377, -0.3153124153614044, 0.197305366396904, 0.29769381880760193, 0.49355942010879517, 0.3973675072193146, -0.01331007108092308, 0.33179208636283875, -0.7034650444984436, 0.046855710446834564, 0.3754188120365143, -0.38240480422973633, -0.25001540780067444, 0.477042555809021, 0.29434633255004883, -0.28250986337661743, 0.5466457605361938, -0.24900348484516144, -0.3915640413761139, 0.4738643765449524, 0.6128215789794922, 0.7715103030204773, 0.1143849641084671, -0.03935733437538147, 0.45363935828208923, 0.16995678842067719, 0.02504708617925644, 0.38355064392089844, -0.16758885979652405, -0.48424792289733887, -0.7890679240226746, -0.5063677430152893, -0.48167893290519714, -0.016773344948887825, -0.4613829553127289, 0.23980464041233063, -0.4501209855079651, 0.2779616117477417, -0.06778014451265335, -0.14257989823818207, -0.34646520018577576, 0.08722512423992157, -0.12213863432407379, 0.8048673272132874, -0.788303554058075, 0.5855824947357178, 0.7667006850242615, -0.36979734897613525, -0.8538067936897278, -0.04189344868063927, 0.24647757411003113, -0.5539644956588745, 0.4993857443332672, 0.0016152998432517052, -0.26610562205314636, 0.13174182176589966, -0.8039464950561523, -0.805599570274353, 1.0859066247940063, 0.532174825668335, -0.34171512722969055, 0.061155062168836594, -0.030379747971892357, 0.6188427805900574, -0.3490188419818878, 0.3763390779495239, 0.7477922439575195, 0.3471599817276001, 0.30376678705215454, -0.8951343297958374, 0.06562644243240356, -0.24392463266849518, -0.2177310585975647, 0.36899182200431824, -0.41106483340263367, 0.6627839803695679, -0.4946863055229187, -0.22571109235286713, -0.041837144643068314, 0.55898118019104, 0.2564625144004822, 0.10558371245861053, 0.5185519456863403, 0.6698609590530396, 0.6837479472160339, -0.00448837922886014, 1.1055015325546265, -0.03464793041348457, 0.05053588002920151, 1.2851704359054565, -0.31337112188339233, 1.0452532768249512, 0.306343138217926, -0.344401478767395, 0.5310248732566833, 0.48277896642684937, 0.25727665424346924, 0.36508357524871826, 0.24323254823684692, -0.29504838585853577, -0.13376744091510773, -0.24731223285198212, 0.03618288040161133, 0.5779983997344971, 0.6860643625259399, -0.10472196340560913, -0.4187557101249695, 0.09379489719867706, 0.17857488989830017, 0.13924458622932434, -0.42820850014686584, 1.199734091758728, -0.10126844048500061, -0.7450225353240967, 0.4573765993118286, -0.13777445256710052, 0.5649566054344177, -0.7147958874702454, -0.34484967589378357, -0.047948114573955536, 0.17381246387958527, -0.2524130642414093, -0.7777224183082581, 0.49919113516807556, 0.06926794350147247, -0.14900299906730652, -0.1967787742614746, 0.6358311772346497, -0.27445554733276367, -0.37615400552749634, 0.32845404744148254, 0.3582390248775482, 0.24248532950878143, -0.35236242413520813, -0.4805904030799866, -0.16491539776325226, -0.1775098294019699, -0.0652843564748764, 0.39566826820373535, 0.40031862258911133, -0.35886022448539734, 0.7524327039718628, 0.8772376775741577, 0.17910830676555634, -0.1609303504228592, 0.09878962486982346, 1.0417125225067139, -0.4610348641872406, -0.5649611949920654, -0.8027804493904114, 0.7621545791625977, -0.23253659904003143, -0.09409606456756592, 0.46412917971611023, 0.791975200176239, 0.8489112854003906, -0.010953796096146107, 1.0233248472213745, -0.21841871738433838, 0.9278654456138611, -0.3053376376628876, 0.5514200925827026, -0.587192714214325, 0.27864202857017517, -0.1204514130949974, -0.5895823836326599, -0.44944024085998535, 0.2138492465019226, -0.1601056307554245, -0.34692278504371643, 0.412272185087204, 0.851456880569458, -0.16812719404697418, -0.1723497062921524, 0.20707900822162628, 0.26057735085487366, 0.728825032711029, 0.20395104587078094, 0.4742068946361542, -0.21076220273971558, 0.5010948181152344, -0.024165984243154526, -0.4845808744430542, -0.1328255981206894, -0.8899136185646057, -0.9016435146331787, -0.28467872738838196, 0.12006458640098572, -0.03365781158208847, -0.2610761821269989, 1.1161832809448242, 0.6785377860069275, -0.7666670083999634, -0.4333280026912689, -0.16903692483901978, 0.0920913964509964, -0.5014328360557556, -0.1615670621395111, 0.33721163868904114, -0.49085676670074463, -0.7759280204772949, 0.39711228013038635, 0.4842682480812073, -0.19318275153636932, -0.5233970880508423, -0.13913123309612274, -0.05759888514876366, 0.06392005831003189, 1.1008938550949097, 0.45672380924224854, -0.9243841767311096, -0.08548802137374878, -0.1100907251238823, 0.2724602520465851, -0.257725328207016, 1.1708041429519653, -0.967837929725647, 0.5385450124740601, 0.6292656064033508, 0.6111026406288147, 0.2627080976963043, 0.04623144492506981, 0.6878117918968201, -0.8928213119506836, 0.32598739862442017, 0.3565951883792877, 0.30386847257614136, 0.22185082733631134, -0.19279679656028748, 0.7222486138343811, -0.11047245562076569, -0.361438125371933, -0.8685013055801392, 0.4051669239997864, -0.7798080444335938, -0.43037235736846924, 0.98504638671875, -0.11130733788013458, -0.026750657707452774, -0.23901969194412231, -0.5646381974220276, 0.2656012773513794, -0.38893619179725647, 0.6721540093421936, 0.5009679198265076, -0.344387024641037, -0.023145047947764397, -0.7115057706832886, 0.2800065279006958, 0.03299583122134209, -1.0454245805740356, 0.47670504450798035, 0.578281581401825, 0.22065488994121552, 0.14609506726264954, 0.3825121819972992, -0.2103012353181839, 0.07676607370376587, -0.21769511699676514, -0.038147181272506714, -0.22057189047336578, -0.31830283999443054, 0.008684598840773106, 0.19756928086280823, -0.007469245698302984, 0.022196631878614426 ]
http://arxiv.org/abs/2402.18154v1
http://arxiv.org/pdf/2402.18154v1
Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Models
2024-02-28T08:34:41
2024-02-28T08:34:41
Zhuoran Jin, Pengfei Cao, Hongbang Yuan, Yubo Chen, Jiexin Xu, Huaijun Li, Xiaojian Jiang, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI, cs.IR
Recently, retrieval augmentation and tool augmentation have demonstrated a remarkable capability to expand the internal memory boundaries of language models (LMs) by providing external context. However, internal memory and external context inevitably clash, leading to knowledge conflicts within LMs. In this paper, we aim to interpret the mechanism of knowledge conflicts through the lens of information flow, and then mitigate conflicts by precise interventions at the pivotal point. We find there are some attention heads with opposite effects in the later layers, where memory heads can recall knowledge from internal memory, and context heads can retrieve knowledge from external context. Moreover, we reveal that the pivotal point at which knowledge conflicts emerge in LMs is the integration of inconsistent information flows by memory heads and context heads. Inspired by the insights, we propose a novel method called Pruning Head via PatH PatcHing (PH3), which can efficiently mitigate knowledge conflicts by pruning conflicting attention heads without updating model parameters. PH3 can flexibly control eight LMs to use internal memory ($\uparrow$ 44.0%) or external context ($\uparrow$ 38.5%). Moreover, PH3 can also improve the performance of LMs on open-domain QA tasks. We also conduct extensive experiments to demonstrate the cross-model, cross-relation, and cross-format generalization of our method.
[ -0.4554039239883423, -0.923819899559021, 0.6994247436523438, -0.0845504105091095, -0.31788599491119385, 0.04548051580786705, -0.2148442268371582, -0.4778378903865814, -0.018749592825770378, 0.7428184747695923, -0.6885074973106384, 0.030744118615984917, -0.6072791218757629, -0.2982975244522095, -0.19575224816799164, 0.9002419114112854, -0.1704653948545456, -0.27317705750465393, -0.1776679903268814, -0.21433600783348083, -0.7828733325004578, -0.4231013059616089, -0.8127413392066956, -0.3074548840522766, 0.6404987573623657, 0.2055922895669937, 0.6888394355773926, 1.0561829805374146, 0.8196878433227539, 0.24957582354545593, -0.37824779748916626, 0.21319833397865295, -0.6312034130096436, 0.37568795680999756, -0.4989444315433502, -0.40927067399024963, -0.13796281814575195, -0.16883881390094757, 0.620341956615448, 0.6436074376106262, 0.07805995643138885, -0.11060788482427597, 0.2297162413597107, 0.9286743998527527, -0.7834154963493347, -0.029483545571565628, -0.7820761799812317, -0.10529185831546783, -0.4504885673522949, -0.43726545572280884, -0.13201496005058289, -0.22741614282131195, 0.40432387590408325, -0.38909807801246643, -0.2784860134124756, -0.28594017028808594, 1.0303683280944824, 0.405181348323822, -0.2624872028827667, -0.12114822864532471, -0.7609906196594238, 0.744624674320221, -0.7969551086425781, 0.19953325390815735, 0.3258499205112457, 0.32977813482284546, -0.07390651106834412, -0.524296224117279, -0.5183361172676086, 0.46019503474235535, 0.1147257462143898, -0.08407405018806458, -0.4314824938774109, -0.0803091898560524, 0.3275281488895416, 0.10524255782365799, -0.1539720892906189, -0.2809988260269165, -0.6944456100463867, 0.08368831872940063, 0.290523499250412, -0.008956249803304672, 0.4242633879184723, 0.14833925664424896, -0.3666573166847229, -0.005798622965812683, -1.0456184148788452, 0.14292258024215698, 0.27573084831237793, 0.22865159809589386, 0.2969050705432892, 0.4222298562526703, -0.011323919519782066, 1.0516175031661987, 0.22674937546253204, -0.370331346988678, -0.07662589848041534, -0.28213822841644287, -0.3198075592517853, -0.21537069976329803, 0.6537884473800659, 0.6479110717773438, 0.254470556974411, -0.12277346849441528, -0.09487579762935638, -0.08931613713502884, 0.4682035744190216, -0.6116414666175842, -0.051681626588106155, 0.27385473251342773, -0.10383357107639313, -0.09019122272729874, -0.16963467001914978, -0.671116292476654, -0.3844130039215088, -0.25315335392951965, 0.5264820456504822, -0.6440542936325073, -0.5137366652488708, -0.07968061417341232, -0.10773599147796631, 0.12668149173259735, 0.3619112968444824, -0.32758235931396484, 0.10872532427310944, 0.6692973375320435, 1.0235190391540527, -0.20244340598583221, -0.20588988065719604, -0.26722848415374756, 0.5929053425788879, -0.32209333777427673, 0.6188480854034424, -0.472187340259552, -0.18951955437660217, -0.08876561373472214, -0.10969280451536179, -0.3096432685852051, -0.8471014499664307, 0.2244158834218979, -0.6210975646972656, 0.09216699749231339, -0.5338080525398254, -0.5160969495773315, -0.5009530782699585, 0.3409585952758789, -0.744675874710083, 0.6446210741996765, 0.1329685002565384, -0.8465422987937927, 0.0923675149679184, -0.421744167804718, -0.3573445677757263, -0.020662257447838783, -0.2333858758211136, -0.32846349477767944, -0.24158573150634766, 0.01751689612865448, 0.10117747634649277, -0.4433745741844177, 0.28908437490463257, -0.1545267254114151, -0.2372675985097885, -0.033531539142131805, 0.1807674765586853, 0.8334693312644958, 0.13844828307628632, -0.4234054684638977, 0.3000909686088562, -0.396753191947937, -0.17930938303470612, 0.2062830924987793, -0.09761957824230194, -0.7548932433128357, -0.040197987109422684, -0.45483750104904175, 0.6692795753479004, 0.006974173244088888, -0.3733507990837097, 0.14011016488075256, -0.28882884979248047, 0.46917030215263367, 0.7581841945648193, 0.5533474087715149, 0.4133097231388092, -0.7777661681175232, 0.521781325340271, 0.512902557849884, 0.18051950633525848, -0.14573146402835846, -0.7011346817016602, -0.7598513960838318, 0.09004605561494827, -0.17131257057189941, 0.4495205879211426, -0.7728942632675171, 0.2960554361343384, -0.1085205078125, -0.36018115282058716, -0.5224913954734802, 0.10914742946624756, 0.4159199297428131, 0.7308611273765564, 0.20835794508457184, -0.38495635986328125, -0.5025122761726379, -0.8346689939498901, -0.6513473987579346, -0.19850371778011322, 0.08852803707122803, 0.25923028588294983, 0.0009373180218972266, 0.00570673868060112, 1.340944528579712, -0.33610275387763977, -0.5407889485359192, -0.23521758615970612, 0.025197559967637062, -0.03366038203239441, 0.6938820481300354, 0.36620768904685974, -0.7807022929191589, -0.4137433171272278, 0.08213724195957184, -0.5754533410072327, -0.1378222554922104, -0.2930371165275574, -0.44869524240493774, -0.037750933319330215, 0.430298388004303, -0.7961143851280212, 0.46199139952659607, 0.20168669521808624, -0.3601042926311493, 0.3838180899620056, 0.2946741580963135, 0.15600118041038513, -0.549897313117981, 0.14130061864852905, 0.010115807875990868, -0.1629151552915573, -0.870893120765686, 0.32745400071144104, 0.15784642100334167, 0.21873724460601807, -0.6654585599899292, 0.6204564571380615, -0.48967546224594116, 0.23200280964374542, -0.3957458436489105, 0.38413935899734497, 0.24195873737335205, 0.7307150959968567, 0.18938954174518585, 0.5036141872406006, 0.37080901861190796, -0.8257167339324951, 0.0022484275978058577, 0.19083112478256226, -0.10230141133069992, 0.7167274951934814, -0.21196061372756958, 0.346288800239563, -0.1997140794992447, -0.14071226119995117, -0.5753750205039978, 0.17910510301589966, 0.5513579845428467, -0.1916203498840332, 0.2260512262582779, -0.26485878229141235, -0.08315572142601013, -0.036413710564374924, -0.45944178104400635, 0.6456306576728821, 0.47979316115379333, -0.20576107501983643, 0.5390315055847168, 0.7692584991455078, -0.2632896900177002, -0.4575728476047516, -0.6263781189918518, -0.06964488327503204, -0.46499624848365784, -0.7019864916801453, 0.3219115734100342, -0.19854265451431274, -0.47359544038772583, 0.10565121471881866, -0.36298203468322754, -0.44300082325935364, -0.17726196348667145, -0.04430028423666954, 0.06329617649316788, -0.13266688585281372, 0.016424857079982758, 0.0645802691578865, 0.22991693019866943, 0.1290893405675888, -0.3135633170604706, 0.29791516065597534, 0.2326669692993164, -0.410521924495697, -0.11789915710687637, 0.2850985527038574, 0.7555007934570312, -0.24709080159664154, 0.837458610534668, 0.29676687717437744, -0.5742252469062805, 0.133829265832901, -0.8724439144134521, -0.2849739193916321, -0.43595650792121887, 0.3297525942325592, -0.4374487102031708, -0.7355734705924988, 0.5090826749801636, -0.17717769742012024, 0.2639741599559784, 0.3329882323741913, 0.43649861216545105, 0.25659483671188354, 0.7405644059181213, 0.5948249101638794, 0.05546657368540764, 0.5495279431343079, -0.047081608325242996, 0.4710938036441803, -1.2888457775115967, -0.15346157550811768, -0.17796695232391357, -0.304483562707901, 0.034341584891080856, -0.7049643993377686, 0.4384390413761139, 0.6693511605262756, -0.028676612302660942, 0.5097912549972534, -0.5195105075836182, 0.35987502336502075, 0.43698054552078247, 0.050929516553878784, 0.42177465558052063, -0.307485967874527, -0.2037190943956375, -0.21070250868797302, -0.8004583716392517, -0.23771482706069946, 0.7960969805717468, 0.4823034107685089, 0.3895183503627777, 0.12121710926294327, 0.3009532392024994, -0.14184819161891937, 0.11176930367946625, -0.5988879203796387, 0.47844749689102173, 0.45936280488967896, -0.3970161974430084, -0.3369266092777252, -0.5270431637763977, -0.8127906322479248, 0.581649661064148, 0.2585654556751251, -0.991278350353241, 0.4024541676044464, 0.1563950777053833, -0.469439297914505, 0.8052944540977478, -0.6248781085014343, 0.9761122465133667, 0.06579124182462692, -0.5754160284996033, -0.2548224627971649, -0.5903739333152771, 0.6675142049789429, -0.16552534699440002, 0.4931296408176422, -0.010797579772770405, 0.08626418560743332, 1.1196398735046387, -0.3962950110435486, 0.5359909534454346, -0.16874919831752777, -0.21952514350414276, 0.5623962879180908, 0.386675626039505, 0.6771673560142517, -0.3015473783016205, 0.33472588658332825, 0.0729631781578064, 0.015017898753285408, -0.24851249158382416, -0.5369876027107239, 0.5477138757705688, -0.4146442115306854, -0.8271453380584717, -0.22400325536727905, -0.8794241547584534, -0.4126876890659332, 0.2817838490009308, 0.037910085171461105, 0.1566668152809143, 0.2566598653793335, -0.14606602489948273, 0.7077013254165649, -0.15794765949249268, 0.4057888984680176, 0.5843362808227539, -0.27655863761901855, -0.06343366205692291, 1.0166455507278442, 0.2762148082256317, 0.569426417350769, 0.20385877788066864, 0.22807036340236664, 0.10318396985530853, -0.4537302553653717, -0.2135566622018814, 0.3227859139442444, -0.7475964426994324, -0.40681713819503784, -0.7940138578414917, -0.3746805787086487, -0.3504383862018585, 0.1832156628370285, -0.43934735655784607, -0.2843921482563019, 0.12167882174253464, 0.20964355766773224, 0.34359070658683777, 0.8795180916786194, -0.213224396109581, 0.4628927707672119, -0.8695642948150635, 0.11202389001846313, 0.220345139503479, 0.145205557346344, 0.22157660126686096, -0.48100894689559937, -0.5434474349021912, -0.05633342266082764, -0.5656633973121643, -1.3307554721832275, 0.5475446581840515, -0.140203058719635, 0.2727642059326172, 0.670466423034668, 0.053203318268060684, 0.8655133247375488, -0.4420420229434967, 0.43160000443458557, 0.1642690747976303, -1.001766324043274, 0.44575235247612, -0.4391707181930542, 0.6385927796363831, 0.19438470900058746, 0.16843996942043304, -0.9660652279853821, -0.8922532200813293, -0.4872981905937195, -1.156456708908081, 0.79271399974823, 0.2044437825679779, -0.6211204528808594, 0.024943148717284203, 0.22341586649417877, -0.1319935917854309, 0.30077609419822693, -0.5017676949501038, -0.12627819180488586, 0.234544575214386, 0.023766599595546722, 0.6530763506889343, -0.26043614745140076, -0.43747982382774353, -0.13434387743473053, 0.80352383852005, 0.09617292135953903, 0.1855221688747406, 0.20799361169338226, -0.3140975534915924, -0.6210639476776123, 0.13144391775131226, 0.581113338470459, 1.1285851001739502, -0.11620472371578217, 0.09034091979265213, -0.10402683913707733, -0.46617430448532104, -0.1151161789894104, -0.34495818614959717, -0.5155017971992493, -0.04792621731758118, 0.295614629983902, 0.8224559426307678, 0.23418374359607697, -0.6796907782554626, 0.42191120982170105, 0.1556195169687271, 0.06650448590517044, 0.14885114133358002, -0.26225778460502625, 0.20315517485141754, 0.2401968240737915, 0.4579515755176544, 0.3726520538330078, 0.011203909292817116, -0.284936785697937, 0.4456052780151367, 0.5272390842437744, -0.5496346354484558, -0.08791850507259369, 0.18746891617774963, 0.027035631239414215, -0.2769332528114319, 0.2348807454109192, 0.01589144952595234, -0.7153233289718628, 0.35824140906333923, 0.2537862956523895, 0.6411406993865967, -0.40025395154953003, -0.125124990940094, 0.3005973994731903, 0.553505003452301, 0.048701703548431396, 0.06755395978689194, 0.04930070787668228, -0.6792769432067871, -0.6569757461547852, -0.21509066224098206, -0.42103952169418335, 0.4486621916294098, -0.7792273759841919, -0.0831696018576622, -0.42315593361854553, -0.11545063555240631, -0.4935428202152252, -0.23114119470119476, -0.6230512857437134, 0.06384105235338211, -0.054072584956884384, 0.821431040763855, -0.5116605162620544, 0.9127427339553833, 0.5054494738578796, -0.3817751407623291, -0.6979423761367798, 0.33213943243026733, 0.16367295384407043, -0.5791459083557129, 0.5025340914726257, 0.11671987175941467, -0.10613338649272919, -0.1531180739402771, -0.030610600486397743, -1.0639415979385376, 0.6739646792411804, 0.4778251647949219, -0.6570603847503662, -0.23797199130058289, -0.12567609548568726, 0.006744203623384237, -0.10410290956497192, 0.2578725218772888, 0.7125993371009827, 0.6710026264190674, 0.0196083877235651, -1.0935717821121216, 0.2983550727367401, -0.16077208518981934, -0.12184273451566696, 0.3410389721393585, -0.5216362476348877, 0.9582658410072327, -0.07645166665315628, -0.6220812797546387, -0.3314104974269867, 0.4557844400405884, 0.20053119957447052, -0.09299467504024506, 0.6605995297431946, 0.5082122087478638, 0.5022469162940979, -0.10819896310567856, 0.7188875079154968, -0.5938233137130737, 0.1348460167646408, 0.9151773452758789, -0.237822487950325, 0.641608715057373, 0.9767466187477112, -0.25873303413391113, 0.35749953985214233, 0.4740943908691406, 0.6121344566345215, 0.713262140750885, 0.12846966087818146, -0.11160808801651001, -0.03273795545101166, -0.13571138679981232, -0.41809865832328796, 0.10522697120904922, 0.29920297861099243, 0.04011576622724533, -0.37528443336486816, 0.047709327191114426, 0.2771071493625641, -0.07768564671278, -0.21750898659229279, 0.8292850255966187, 0.19406381249427795, -1.0206072330474854, 0.46882474422454834, 0.07739952951669693, 0.506367564201355, -0.7477810382843018, -0.16087086498737335, 0.010353869758546352, 0.3946797549724579, -0.01919833943247795, -0.7087984085083008, 0.7087365388870239, -0.3785966634750366, -0.14287081360816956, -0.15087874233722687, 0.7356324791908264, -0.8688522577285767, -0.0059529757127165794, 0.6827095746994019, 0.7052270174026489, -0.0016667131567373872, -0.44860604405403137, -0.6593388915061951, 0.3876825273036957, 0.0065879132598638535, -0.3611326813697815, 0.5908837914466858, 0.48243218660354614, -0.14591951668262482, 0.4967094957828522, 0.5496198534965515, 0.3785756528377533, 0.10519735515117645, -0.10383289307355881, 1.0570473670959473, -0.6305935978889465, -0.7321270108222961, -1.0466408729553223, 0.44739559292793274, -0.14622710645198822, -0.08045411854982376, 0.6852113604545593, 0.2110762745141983, 0.7824184894561768, 0.09904135018587112, 0.8100076913833618, -0.019772805273532867, 0.7902559638023376, -0.33899229764938354, 0.6766176819801331, -0.3371713161468506, 0.30226922035217285, -0.317426472902298, -0.5704633593559265, -0.07198689132928848, 0.6820694804191589, -0.25004369020462036, 0.0016156852943822742, 0.9743670225143433, 0.5020760297775269, 0.09818892925977707, -0.22989307343959808, 0.32158610224723816, 0.3105926215648651, 0.11846887320280075, 1.0217913389205933, 0.5139826536178589, -0.3120591342449188, 0.7084178924560547, -0.5763585567474365, -0.37371504306793213, 0.11346229165792465, -0.6942218542098999, -0.7799676656723022, -0.6376031041145325, -0.4872252941131592, -0.35351887345314026, 0.3207238018512726, 0.5944635272026062, 0.7857983112335205, -0.64129638671875, -0.4354325532913208, -0.11818823963403702, 0.5088898539543152, -0.6811755895614624, -0.2983110249042511, 0.26990699768066406, -0.32542046904563904, -0.5035443902015686, 0.388632595539093, 0.4967782497406006, -0.33597421646118164, -0.4556484520435333, -0.13651980459690094, -0.46119874715805054, 0.17663267254829407, 0.3597579300403595, 0.4524403512477875, -0.892701268196106, -0.19633156061172485, -0.3280945420265198, 0.020459746941924095, 0.27653080224990845, 1.1954118013381958, -0.9539015293121338, 0.3214435875415802, 0.3105875849723816, 0.7970287799835205, 0.21680665016174316, -0.07783292233943939, 1.1214330196380615, -0.7585904598236084, 0.09643398225307465, 0.1356980800628662, 0.25310245156288147, 0.43764159083366394, -0.5251510143280029, 0.4120291471481323, 0.29837295413017273, -0.3248252868652344, -0.9568055272102356, 0.3949132561683655, -0.6553856134414673, -0.45094946026802063, 1.079969048500061, -0.39526811242103577, -0.3122209310531616, -0.14882172644138336, -0.18971380591392517, 0.5036929845809937, -0.16819173097610474, 0.7440906167030334, 0.680729329586029, -0.05144025757908821, -0.4409278631210327, -0.5962279438972473, 0.8680413961410522, 0.4767838418483734, -0.7012468576431274, 0.17389187216758728, 0.13415966928005219, 0.06659884750843048, 0.3402032256126404, 0.638703465461731, -0.11568998545408249, 0.28209054470062256, -0.37857505679130554, 0.024646786972880363, -0.027790404856204987, -0.37877988815307617, -0.23295153677463531, 0.2522238790988922, -0.04020751640200615, -0.07335325330495834 ]
http://arxiv.org/abs/2403.00830v1
http://arxiv.org/pdf/2403.00830v1
MedAide: Leveraging Large Language Models for On-Premise Medical Assistance on Edge Devices
2024-02-28T08:30:49
2024-02-28T08:30:49
Abdul Basit, Khizar Hussain, Muhammad Abdullah Hanif, Muhammad Shafique
cs.AI
cs.AI, cs.CL, I.2.7
Large language models (LLMs) are revolutionizing various domains with their remarkable natural language processing (NLP) abilities. However, deploying LLMs in resource-constrained edge computing and embedded systems presents significant challenges. Another challenge lies in delivering medical assistance in remote areas with limited healthcare facilities and infrastructure. To address this, we introduce MedAide, an on-premise healthcare chatbot. It leverages tiny-LLMs integrated with LangChain, providing efficient edge-based preliminary medical diagnostics and support. MedAide employs model optimizations for minimal memory footprint and latency on embedded edge devices without server infrastructure. The training process is optimized using low-rank adaptation (LoRA). Additionally, the model is trained on diverse medical datasets, employing reinforcement learning from human feedback (RLHF) to enhance its domain-specific capabilities. The system is implemented on various consumer GPUs and Nvidia Jetson development board. MedAide achieves 77\% accuracy in medical consultations and scores 56 in USMLE benchmark, enabling an energy-efficient healthcare assistance platform that alleviates privacy concerns due to edge-based deployment, thereby empowering the community.
[ -0.19353577494621277, -0.7471522688865662, 0.6948502063751221, -0.038886263966560364, -0.363153338432312, 0.18023507297039032, -0.24642343819141388, -0.5375423431396484, 0.43640953302383423, 0.5230481028556824, -0.5488992929458618, -0.5196691751480103, -0.4877719581127167, -0.09502293914556503, 0.16017790138721466, 1.0020743608474731, 0.1777784377336502, 0.24382100999355316, -0.1890249103307724, -0.23780664801597595, -0.22295241057872772, -0.22143800556659698, -1.2808605432510376, -0.4071609079837799, 0.30794230103492737, 0.41981565952301025, 1.042879343032837, 0.5757973194122314, 0.5908039212226868, 0.23050299286842346, 0.2133094221353531, 0.36033275723457336, -0.3331921100616455, -0.07741041481494904, -0.07460133731365204, -0.42369821667671204, -0.8095077872276306, -0.38654693961143494, 0.10717393457889557, 0.5963197946548462, -0.476481556892395, -0.007377303671091795, -0.25685009360313416, 0.47890204191207886, -0.3859877288341522, -0.028233183547854424, -0.6105989217758179, -0.0919361412525177, 0.011892983689904213, 0.20200440287590027, -0.2523643374443054, -0.3166479170322418, 0.2584330141544342, -0.5616574883460999, -0.15554261207580566, 0.050816331058740616, 0.8192396759986877, 0.46257802844047546, -0.21347984671592712, -0.22470322251319885, -0.5226598978042603, 0.6366869211196899, -0.8844195604324341, 0.4280303120613098, 0.5164005160331726, 0.4730302691459656, -0.35016578435897827, -1.0856693983078003, -0.28642985224723816, -0.20195156335830688, 0.2718413472175598, -0.011201359331607819, -0.41394859552383423, 0.3694263696670532, -0.029671842232346535, 0.24001160264015198, -0.23771992325782776, 0.5975243449211121, 0.025250807404518127, -0.09855055809020996, 0.38637447357177734, 0.09509286284446716, 0.5463781356811523, -0.24121294915676117, -0.3021000623703003, 0.17640350759029388, -0.784950852394104, -0.042249761521816254, -0.5003764033317566, 0.34232309460639954, -0.38147038221359253, 0.3893042802810669, -0.0122760608792305, 0.5040841102600098, -0.0995255559682846, -0.6035120487213135, 0.14336785674095154, 0.060873351991176605, -0.40468722581863403, 0.1757715344429016, 0.6672278046607971, 0.3716597557067871, -0.13504962623119354, -0.14289270341396332, -0.34041306376457214, -0.05465342849493027, 0.21004727482795715, -0.7937324643135071, -0.22367173433303833, 0.4917304217815399, -0.6047554612159729, -0.16863428056240082, -0.7350878715515137, -0.6128240823745728, -0.885116696357727, 0.02514978125691414, 0.19025664031505585, -0.3991067707538605, -0.07566678524017334, 0.11224956065416336, 0.10702358931303024, 0.03558338060975075, 0.33580589294433594, -0.8054819703102112, 0.7144311666488647, 0.5803019404411316, 1.1249561309814453, -0.07803095132112503, 0.21681331098079681, -0.6716017127037048, -0.04084086790680885, -0.06785168498754501, 0.7378741502761841, -0.3046585023403168, -0.48138660192489624, 0.028786133974790573, 0.06615579128265381, -0.1770220547914505, -0.6622310280799866, 0.6926032900810242, -0.20944297313690186, -0.06723710149526596, 0.3405478000640869, -0.4437488317489624, 0.05453227832913399, 0.10486020147800446, -0.4837602972984314, 0.6390190124511719, 0.17588543891906738, -0.5160253047943115, 0.09141098707914352, -0.9504123330116272, -0.4588068425655365, 0.3798326253890991, -0.3059558570384979, -0.5976033806800842, 0.26277101039886475, 0.5071619749069214, 0.47657686471939087, -0.6173239350318909, 0.1026737242937088, -0.21649585664272308, 0.03851078450679779, 0.06164562329649925, -0.26000142097473145, 0.5681778192520142, 0.21055229008197784, -0.21916626393795013, 0.25106728076934814, -0.6623131632804871, 0.11890153586864471, 0.29477009177207947, -0.016631808131933212, -0.46923941373825073, 0.2020256072282791, 0.3030989170074463, 0.05321352556347847, 0.2457856982946396, -0.7019534707069397, 0.2659314274787903, -0.7053369879722595, 0.5189409852027893, 0.5155551433563232, 0.030874941498041153, 0.26971325278282166, -0.5151607394218445, 0.565636396408081, -0.33772504329681396, 0.41177278757095337, 0.16993239521980286, -0.6954582929611206, -0.3253729045391083, -0.7277252674102783, 0.34214797616004944, 0.8506143093109131, -0.8740386366844177, 0.13587193191051483, -0.5803297162055969, -0.4355623424053192, -0.9625392556190491, 0.06168874725699425, 0.06742902100086212, 0.4026661813259125, 0.26870501041412354, 0.08911795169115067, -0.3397788107395172, -0.9992989301681519, 0.1317225843667984, 0.011546212248504162, -0.3816176652908325, 0.7035670876502991, 0.14848776161670685, -0.725443959236145, 0.8710813522338867, -0.4737458825111389, -0.5310176610946655, -0.43822288513183594, -0.27560651302337646, 0.27531135082244873, 0.41761696338653564, 0.3472133278846741, -0.6652989983558655, -0.23834767937660217, 0.4915802776813507, -0.5647004246711731, -0.22065597772598267, 0.07696100324392319, 0.29982680082321167, 0.20125846564769745, 0.3381500840187073, -0.5704517364501953, 0.21489430963993073, 0.9438443183898926, -0.0036435320507735014, -0.0017754660220816731, -0.5530650019645691, -0.058965932577848434, -1.4556493759155273, 0.008076878264546394, -0.11634892225265503, -0.5654336214065552, -0.5567567348480225, -0.12226400524377823, -0.17443333566188812, -0.5870651602745056, -0.37325456738471985, 0.6971973776817322, -0.15028159320354462, 0.04928557574748993, -0.5651765465736389, 0.31359514594078064, -0.11578550189733505, 0.163161501288414, 0.09966106712818146, 0.6454448103904724, 0.39943212270736694, -0.3796345293521881, 0.2529483735561371, 0.13282492756843567, -0.07114063203334808, 0.6133435964584351, -0.8580596446990967, 0.12887042760849, 0.17684586346149445, 0.18294782936573029, -0.5575905442237854, -0.28895142674446106, 0.028953664004802704, -0.2127395123243332, 0.04953256621956825, -0.29617851972579956, -0.36716076731681824, -0.2052297592163086, -0.1480732560157776, 0.3128438889980316, 0.8888120651245117, -0.5654413104057312, 0.7763742208480835, 0.7787156105041504, -0.46867719292640686, -0.21565672755241394, -0.4213722348213196, 0.1395025998353958, -0.05414680019021034, -0.6769580245018005, 0.2842003405094147, 0.3006347119808197, -0.3878519535064697, -0.14239372313022614, 0.1295795440673828, -0.13309283554553986, 0.21451713144779205, 0.7013797760009766, 0.33514639735221863, -0.2099742591381073, 0.4301813542842865, 0.26808857917785645, -0.10255349427461624, -0.024138974025845528, -0.47518959641456604, 0.4795820713043213, -0.1531868875026703, -0.388217955827713, -0.5264732241630554, 0.288685142993927, 0.7127007842063904, -0.02454499714076519, 0.7093681693077087, 0.30966654419898987, -0.762569010257721, -0.18844188749790192, -0.4090394675731659, -0.3526332676410675, -0.49436765909194946, 0.48379164934158325, -0.13625302910804749, -0.7136048078536987, 0.5828714966773987, -0.6425754427909851, 0.2723441421985626, 0.38010263442993164, 0.4812568426132202, -0.07852187752723694, 1.0250508785247803, 0.6680516600608826, -0.18778406083583832, 0.2808934152126312, -0.018888365477323532, 0.21547788381576538, -0.6549877524375916, -0.1821308135986328, -0.4028845727443695, -0.13026563823223114, -0.7510557770729065, -0.4830181300640106, 0.8403589725494385, -0.15539966523647308, -0.059100192040205, -0.06665991991758347, -0.3554378151893616, 0.12087996304035187, 0.06875253468751907, 0.44918033480644226, 0.17072245478630066, 0.09568456560373306, -0.13627642393112183, -0.04146016016602516, -0.9829486608505249, -0.4166261553764343, 0.9020072817802429, 0.6600955128669739, 0.9672126770019531, -0.017388593405485153, 0.5124551057815552, 0.4315353035926819, 0.5201016664505005, -0.9340893626213074, 0.3134307265281677, -0.4069484770298004, -0.1727713942527771, -0.10071913152933121, -0.3351135551929474, -1.1001911163330078, 0.039993464946746826, -0.3124712407588959, -0.715690016746521, -0.12084095925092697, 0.03723428398370743, -0.5839781761169434, 0.459823876619339, -0.6759917140007019, 0.7189037203788757, -0.11682864278554916, -0.10331473499536514, -0.43617796897888184, -0.5206555724143982, -0.05062873288989067, 0.046354278922080994, 0.4885518550872803, -0.18280468881130219, -0.16448812186717987, 0.6696683764457703, -0.7753943204879761, 0.9287235736846924, -0.24888350069522858, -0.1570364236831665, 0.011251324787735939, -0.06825564056634903, 0.5853244662284851, 0.26831385493278503, 0.14481103420257568, 0.17016753554344177, -0.17582911252975464, -0.6437278389930725, -0.5763081312179565, 0.8604539036750793, -0.8205997347831726, -0.3887070119380951, -0.23252791166305542, -0.339885950088501, -0.6146689653396606, 0.19194529950618744, 0.1413327306509018, 0.8361157178878784, -0.22072471678256989, -0.13391026854515076, 0.7170978784561157, -0.4164065420627594, 0.2713852524757385, 0.4388628304004669, -0.4911934733390808, -0.4009120762348175, 0.7625954151153564, -0.16363643109798431, 0.44368457794189453, 0.24737615883350372, 0.33597061038017273, -0.22402368485927582, -0.5534164905548096, -0.8077459931373596, 0.37111854553222656, -0.6902798414230347, -0.42115047574043274, -0.6436291933059692, -0.3670704662799835, 0.02196257933974266, -0.46766597032546997, -0.7715721726417542, -0.22973734140396118, -0.08469098061323166, -0.0013140662340447307, 0.858802080154419, 0.7397176027297974, 0.05509372428059578, 0.6937592029571533, -0.8435314893722534, 0.2720630466938019, 0.20644105970859528, 0.3826274871826172, -0.2085627019405365, -0.28036126494407654, -0.34087562561035156, 0.22175294160842896, 0.14670772850513458, -0.4756264388561249, 0.08537670969963074, 0.2680223286151886, 0.39967361092567444, 0.37346503138542175, 0.09248825162649155, 0.35961127281188965, -0.627223014831543, 0.7173143625259399, 0.27258867025375366, -0.7783403992652893, 0.6082779169082642, -0.2345242202281952, 0.3008749186992645, 0.5959240794181824, 0.2460947334766388, -0.688957154750824, -0.33184754848480225, -0.5123750567436218, -0.6575900316238403, 0.11492980271577835, -0.17835751175880432, 0.10999792814254761, -0.03853464126586914, 0.3203789293766022, -0.0759793221950531, -0.045174628496170044, -0.32243412733078003, -0.19858965277671814, 0.20813952386379242, -0.3943568170070648, 0.27195173501968384, 0.10279739648103714, -0.2973386347293854, -0.05270784720778465, 0.5765446424484253, -0.369136780500412, 0.3054870069026947, 0.3956946134567261, 0.00587835069745779, -0.039569977670907974, 0.165108785033226, 0.5756706595420837, 0.5917823910713196, -0.049169935286045074, -0.07576557993888855, 0.5332625508308411, -0.7578585147857666, -0.13165602087974548, 0.2719123363494873, 0.16793842613697052, 0.22644548118114471, 0.2716602087020874, 0.8072416186332703, 0.283528208732605, -0.9608009457588196, 0.6050158739089966, -0.12150311470031738, 0.329319030046463, -0.20108023285865784, -0.15853069722652435, 0.11276791244745255, 0.12344029545783997, 0.28443580865859985, 0.15786488354206085, 0.03765944018959999, -0.1760181039571762, 0.23856660723686218, 0.5391982197761536, -0.7490310668945312, -0.13549944758415222, 0.5796043872833252, 0.5011352896690369, -0.46879488229751587, 0.6091010570526123, 0.02581922523677349, -0.20742402970790863, 0.4707587659358978, 0.5925623774528503, 0.7787089347839355, -0.3259766101837158, 0.11598514765501022, -0.11578220874071121, 0.30801922082901, 0.13034525513648987, 0.39099159836769104, 0.366143137216568, -0.5192592144012451, -0.6218065619468689, -0.36800822615623474, -0.5315579771995544, 0.04753855988383293, -0.23560871183872223, 0.24726736545562744, -0.7227702736854553, -0.447956919670105, -0.11684136092662811, -0.041640982031822205, -0.5548920631408691, 0.12460885941982269, 0.2989778518676758, 0.9079629182815552, -0.6499252319335938, 0.8820573687553406, 0.731596827507019, 0.09187807142734528, -0.7787818312644958, -0.25498828291893005, -0.13619738817214966, -1.142763614654541, 0.31581223011016846, -0.1570167988538742, -0.4073350131511688, 0.0005026860744692385, -0.3947634696960449, -0.4997910261154175, 1.012144684791565, 0.2145000398159027, -0.460531622171402, 0.13164642453193665, -0.09828866273164749, 0.615633487701416, -0.46972575783729553, 0.38610318303108215, 0.24843843281269073, 0.091913141310215, -0.20009572803974152, -1.4750200510025024, 0.09315557777881622, -0.05098762735724449, 0.05303287133574486, 0.33320850133895874, -0.4191979169845581, 0.4081874489784241, -0.38544711470603943, -0.1091223955154419, -0.006027826573699713, 0.32702717185020447, 0.10432232171297073, 0.3163919150829315, 0.4293122887611389, 0.422357439994812, 0.9394493103027344, 0.2923939526081085, 1.3252900838851929, -0.35317927598953247, 0.08724431693553925, 0.6342403292655945, -0.44786232709884644, 0.9259762167930603, 0.417961984872818, -0.17993706464767456, 0.5744556784629822, 0.4234282374382019, 0.4927946627140045, 0.49285686016082764, 0.16474826633930206, -0.6394970417022705, -0.05223700776696205, -0.6940670013427734, -0.3979894816875458, 0.3692293167114258, 0.648147702217102, -0.285043329000473, -0.40496495366096497, 0.48350757360458374, 0.2887846827507019, -0.0037382524460554123, -0.6401833891868591, 0.8837108612060547, 0.45277139544487, -0.18630622327327728, 0.7106488347053528, 0.22057582437992096, 0.5137504935264587, -0.9365799427032471, -0.0760616585612297, -0.1252705603837967, 0.37321022152900696, -0.25247877836227417, -0.1357172429561615, 0.12720103561878204, -0.20356310904026031, -0.05290151759982109, -0.05185261368751526, 0.9647918939590454, -0.001579968142323196, -0.41291576623916626, 0.26114964485168457, 0.6384615898132324, 0.17635779082775116, 0.12528079748153687, -0.7222364544868469, 0.0609302893280983, -0.10076988488435745, 0.07158651202917099, 0.5593964457511902, 0.2693478763103485, -0.07884494215250015, 1.0320237874984741, 0.7106461524963379, 0.28780606389045715, -0.18819962441921234, 0.047077424824237823, 0.8842778205871582, -0.273163378238678, -0.632038414478302, -0.8309258818626404, 0.19022873044013977, -0.15266107022762299, -0.2974284589290619, 0.38407376408576965, 0.4772275984287262, 0.0341428704559803, 0.037201475352048874, 0.7242504954338074, -0.01579194888472557, 0.5474114418029785, -0.47373145818710327, 0.7700438499450684, -0.5563220977783203, 0.2007407248020172, 0.11046366393566132, -0.22384177148342133, -0.3057442605495453, 0.4759690761566162, -0.2927602529525757, -0.28781312704086304, 0.533856213092804, 0.6486910581588745, -0.08243869245052338, 0.03322703018784523, 0.2788941562175751, 0.019285034388303757, 0.3338671326637268, 0.5758281946182251, 0.3190968632698059, -0.2817228436470032, 0.12199990451335907, -0.0567176416516304, -0.4151501953601837, -0.36649519205093384, -0.6977616548538208, -0.7598084807395935, -0.2378671020269394, -0.28541603684425354, -0.39352765679359436, 0.1613723337650299, 1.5321300029754639, 0.8229609727859497, -0.7536817789077759, -0.19619783759117126, 0.18609388172626495, 0.19984070956707, -0.30511027574539185, -0.12519681453704834, 0.5150680541992188, -0.15908822417259216, -0.5275470614433289, 0.6087393164634705, 0.4480361342430115, -0.04701703414320946, -0.19885827600955963, 0.043334897607564926, 0.02434491738677025, -0.01872786320745945, 0.5710203051567078, 0.3854367733001709, -0.6273715496063232, -0.2251463681459427, 0.07283894717693329, -0.4365784823894501, 0.1813034862279892, 0.7793782949447632, -0.7646034955978394, 0.3279740512371063, 0.024624360725283623, 1.2359917163848877, 0.07631450891494751, 0.022023465484380722, 0.5481503009796143, -0.468314528465271, 0.25835275650024414, 0.4882502555847168, 0.31361284852027893, 0.3237779140472412, -0.3723113238811493, 0.19432081282138824, 0.1081795021891594, -0.63243567943573, -0.6693490743637085, 0.2473839819431305, -0.8332454562187195, -0.22661124169826508, 1.014931321144104, -0.15416482090950012, -0.3254939317703247, -0.34471121430397034, -0.30138328671455383, -0.008846776559948921, -0.39518648386001587, 0.5192083120346069, 0.12684103846549988, -0.29604464769363403, -0.07832293212413788, -0.9125099182128906, 0.6645566821098328, 0.4560932219028473, -1.0658049583435059, -0.2614094913005829, 0.1605430692434311, 0.2862614095211029, 0.026256252080202103, 0.8866381645202637, 0.19060727953910828, 0.2367415577173233, -0.049867283552885056, 0.26445040106773376, 0.08240050077438354, 0.10749545693397522, -0.37193459272384644, -0.03217402845621109, 0.3530733585357666, -0.47873613238334656 ]
http://arxiv.org/abs/2402.18603v4
http://arxiv.org/pdf/2402.18603v4
MMSR: Symbolic Regression is a Multimodal Task
2024-02-28T08:29:42
2024-03-14T12:10:43
Yanjie Li, Jingyi Liu, Weijun Li, Lina Yu, Min Wu, Wenqiang Li, Meilan Hao, Su Wei, Yusong Deng
cs.LG
cs.LG, cs.AI, cs.CL
Mathematical formulas are the crystallization of human wisdom in exploring the laws of nature for thousands of years. Describing the complex laws of nature with a concise mathematical formula is a constant pursuit of scientists and a great challenge for artificial intelligence. This field is called symbolic regression. Symbolic regression was originally formulated as a combinatorial optimization problem, and GP and reinforcement learning algorithms were used to solve it. However, GP is sensitive to hyperparameters, and these two types of algorithms are inefficient. To solve this problem, researchers treat the mapping from data to expressions as a translation problem. And the corresponding large-scale pre-trained model is introduced. However, the data and expression skeletons do not have very clear word correspondences as the two languages do. Instead, they are more like two modalities (e.g., image and text). Therefore, in this paper, we proposed MMSR. The SR problem is solved as a pure multimodal problem, and contrastive learning is also introduced in the training process for modal alignment to facilitate later modal feature fusion. It is worth noting that in order to better promote the modal feature fusion, we adopt the strategy of training contrastive learning loss and other losses at the same time, which only needs one-step training, instead of training contrastive learning loss first and then training other losses. Because our experiments prove training together can make the feature extraction module and feature fusion module running-in better. Experimental results show that compared with multiple large-scale pre-training baselines, MMSR achieves the most advanced results on multiple mainstream datasets including SRBench.
[ -0.21178703010082245, -0.6757174730300903, 0.46222177147865295, 0.11043421179056168, -0.5055007338523865, 0.029393382370471954, -0.10544286668300629, -0.1292918473482132, 0.2311418652534485, 0.18776999413967133, -0.8341241478919983, 0.0776335597038269, -0.7594178915023804, 0.2047850787639618, -0.09316521137952805, 0.9900878667831421, -0.15477924048900604, 0.4937375783920288, -0.12747450172901154, -0.23897451162338257, -0.4598155915737152, -0.42166629433631897, -0.464330792427063, -0.16013625264167786, 0.541385293006897, -0.1309756189584732, 0.5294028520584106, 0.5566034913063049, 0.9298888444900513, 0.409063458442688, 0.2985609769821167, 0.42863568663597107, -0.473270446062088, 0.16417406499385834, 0.11416183412075043, -0.36449095606803894, -0.03467050939798355, 0.14108765125274658, 0.6358814239501953, 0.2330947369337082, -0.13014845550060272, 0.19361236691474915, 0.037244345992803574, 0.8048345446586609, -0.6952407956123352, 0.5163095593452454, -0.4570055902004242, 0.0582750104367733, -0.0840974822640419, -0.2691202163696289, -0.3168398439884186, -0.3730940520763397, -0.09511254727840424, -0.6365554928779602, 0.07245845347642899, -0.04702390357851982, 0.9919463396072388, 0.5777810215950012, -0.5042327642440796, 0.016601834446191788, -0.8308342099189758, 1.1267763376235962, -0.3582470715045929, 0.5093280076980591, 0.1792364865541458, 0.8663442134857178, -0.0529995895922184, -0.5817679166793823, -0.6335722208023071, -0.5240516066551208, -0.23901095986366272, 0.1901622712612152, -0.19799678027629852, -0.10477696359157562, 0.15328867733478546, -0.06512495130300522, -0.5604840517044067, -0.33148321509361267, -0.5453969240188599, -0.4433774948120117, 0.47202828526496887, 0.39430490136146545, 0.02792229689657688, -0.2668178081512451, -0.4392908811569214, -0.282085120677948, -0.40021172165870667, -0.021912788972258568, -0.16286350786685944, 0.636512815952301, -0.33026328682899475, 0.6209480166435242, 0.05226198956370354, 0.6661213636398315, -0.2911086678504944, -0.6720209121704102, 0.40750324726104736, -0.5458908677101135, -0.17591015994548798, -0.050389740616083145, 0.7006098628044128, -0.003223310923203826, 0.2503899037837982, 0.13582843542099, -0.17901022732257843, 0.6061081886291504, 0.16224226355552673, -0.7178325653076172, 0.035302989184856415, -0.3179672956466675, -0.44047489762306213, -0.09740019589662552, 0.11756504327058792, -0.45100995898246765, -0.07114299386739731, -0.978457510471344, 0.7195947766304016, -0.6169115900993347, -0.110273577272892, -0.09166121482849121, -0.09380335360765457, -0.02513994090259075, 0.5688601732254028, -0.4143354892730713, 0.07330965995788574, 0.6397954821586609, 0.92399001121521, 0.17088933289051056, -0.37329861521720886, -0.40452685952186584, 0.2985297739505768, -0.17759709060192108, 0.34118980169296265, -0.6038753986358643, -0.21891477704048157, -0.2993754744529724, -0.19784219563007355, -0.25105783343315125, -0.1887098252773285, 0.10323598235845566, -0.30120542645454407, 0.36138293147087097, -0.21636873483657837, 0.10032497346401215, -0.21783927083015442, 0.29659950733184814, -0.5394315719604492, 0.859538733959198, 0.305379718542099, -0.6249110102653503, 0.3469506800174713, -0.6716820001602173, -0.22017836570739746, -0.17249204218387604, -0.3751107156276703, -0.3884294033050537, 0.07897307723760605, 0.04202260822057724, 0.331404447555542, -0.5768954157829285, 0.43443650007247925, -0.17042960226535797, -0.16563889384269714, 0.3369576036930084, -0.34676387906074524, 0.3621491491794586, 0.40352052450180054, -0.30385535955429077, 0.20428749918937683, -0.5501188039779663, -0.08639081567525864, 0.04862794280052185, -0.1855979859828949, -0.47336533665657043, -0.01829029992222786, 0.011651407927274704, 0.6226541996002197, 0.02413361147046089, -0.4821527302265167, 0.04554589465260506, 0.0014748354442417622, 0.4510984420776367, 0.9805477857589722, -0.33157724142074585, 0.2728971242904663, -0.29964807629585266, 0.38987740874290466, 0.20012110471725464, 0.2883991003036499, -0.0270847175270319, -0.20025193691253662, -0.6021658182144165, -0.774555504322052, 0.29663321375846863, 0.3261287808418274, -1.086270809173584, 0.12238188832998276, -0.33779942989349365, -0.4063361585140228, -0.707915723323822, -0.05261453986167908, 0.8194295763969421, 0.7202234268188477, 0.5728553533554077, -0.13984960317611694, -0.8303734660148621, -1.1041309833526611, 0.14945490658283234, -0.1486334502696991, 0.03669524937868118, 0.22870473563671112, 0.5954537987709045, -0.37595123052597046, 0.8031771183013916, -0.6390941739082336, -0.7060062885284424, -0.1802264302968979, 0.2140880525112152, -0.10582974553108215, 0.5574341416358948, 0.42784735560417175, -1.0372339487075806, -0.34655144810676575, -0.10095678269863129, -0.83766770362854, 0.056035254150629044, -0.086321622133255, -0.11245467513799667, 0.318430632352829, 0.3495818078517914, -0.6156951785087585, 0.12203605473041534, 0.5277212262153625, 0.01229183655232191, 0.589734673500061, -0.10135620832443237, 0.26611581444740295, -1.2015588283538818, 0.08820314705371857, 0.49378690123558044, 0.022015662863850594, -0.43420663475990295, 0.10308782011270523, 0.05443941429257393, -0.16150622069835663, -0.44078293442726135, 0.40504223108291626, -0.40100347995758057, 0.08735126256942749, -0.046119384467601776, -0.11633934080600739, -0.3053840100765228, 0.5518431067466736, -0.10794457793235779, 0.7900106310844421, 0.46994444727897644, -0.5823202729225159, 0.2871755063533783, 0.17574766278266907, 0.1813250482082367, 0.5605875253677368, -0.3559187948703766, -0.30478617548942566, -0.4302288293838501, 0.3078099489212036, -0.9964351654052734, 0.04678789898753166, 0.3241030275821686, -0.37378159165382385, 0.3369387686252594, 0.25986725091934204, -0.3415082097053528, -0.3621286153793335, -0.26617518067359924, 0.3755875527858734, 0.6113475561141968, -0.17562931776046753, 0.8966099619865417, 0.3006236255168915, 0.032265059649944305, -0.6666339039802551, -0.46039527654647827, -0.17874346673488617, -0.17317938804626465, -0.5423694252967834, 0.19627311825752258, 0.03349413722753525, -0.18713584542274475, -0.07912647724151611, -0.29199501872062683, -0.03835626691579819, -0.36610931158065796, 0.20584619045257568, 0.5283738970756531, -0.39716461300849915, 0.12300282716751099, -0.1855071485042572, -0.5855016112327576, -0.06829024851322174, 0.219220831990242, 0.630057156085968, -0.12381087988615036, -0.3417660892009735, -0.7285397052764893, 0.20476281642913818, 0.6194074153900146, -0.2733699083328247, 0.5281301736831665, 0.688366174697876, -0.16988292336463928, 0.16554966568946838, -0.6518668532371521, -0.23853705823421478, -0.4973117411136627, 0.555672824382782, -0.6253573298454285, -0.8436571955680847, 0.1207965761423111, -0.13244746625423431, -0.11866690963506699, 0.46947765350341797, 0.48241090774536133, 0.023824354633688927, 1.483247995376587, 0.8386463522911072, -0.09772501140832901, 0.4308808445930481, -0.1571994125843048, 0.06485799700021744, -0.5894303321838379, -0.6936576962471008, -0.7190234065055847, -0.5372889637947083, -0.5165181756019592, -0.425665944814682, 0.570247232913971, -0.23482440412044525, -0.5828468799591064, 0.3376122713088989, -0.55812668800354, 0.16293616592884064, 0.4728733003139496, 0.42912814021110535, 0.024151308462023735, 0.11266159266233444, -0.17894861102104187, -0.6230328679084778, -0.34553855657577515, -0.20675869286060333, 0.6529494524002075, 0.0717599168419838, 1.0200352668762207, 0.27584460377693176, 0.5377545356750488, 0.098873071372509, 0.3249480724334717, -0.8279262185096741, 0.7674183249473572, -0.28473711013793945, -0.22469347715377808, -0.25746434926986694, -0.8165075182914734, -0.734675943851471, 0.5255144238471985, -0.3967781066894531, -0.20917725563049316, -0.11980394273996353, 0.11932791769504547, 0.05585862323641777, 0.037962134927511215, -0.5889388918876648, 0.6344762444496155, -0.31851428747177124, -0.10451902449131012, -0.27111580967903137, -1.044415831565857, 0.42869988083839417, -0.3657607138156891, 0.3341549038887024, 0.017936551943421364, -0.07300648838281631, 0.7454231381416321, -0.4445386826992035, 0.8240119814872742, -0.30404534935951233, 0.35407376289367676, -0.11676595360040665, 0.24806970357894897, 0.4041444957256317, -0.3955236077308655, 0.2728513777256012, -0.21983300149440765, -0.03366192430257797, -0.3335333466529846, -0.7856882810592651, 0.4558161199092865, -0.8003708124160767, -0.5334250330924988, -0.6687681078910828, -0.73113614320755, -0.11880646646022797, 0.064870186150074, -0.20290541648864746, 0.22016125917434692, 0.0036910625640302896, 0.1408916413784027, 0.42002972960472107, 0.19476936757564545, 0.4696599245071411, 0.626557469367981, -0.03736589103937149, -0.5692828893661499, 1.0387059450149536, 0.10428068041801453, 0.18327215313911438, 0.4121569097042084, 0.4873306453227997, -0.2611091136932373, -0.24481330811977386, -0.3237621784210205, 0.6088309288024902, -0.4235900938510895, -0.41796770691871643, -0.6362888216972351, -0.22701485455036163, -0.28280314803123474, -0.30212700366973877, -0.17250320315361023, -0.34836679697036743, -0.18867012858390808, 0.23093284666538239, 0.27318546175956726, 0.26144835352897644, -0.1741463840007782, 0.3160685896873474, -0.9426375031471252, 0.5083588361740112, 0.22295133769512177, -0.12723542749881744, -0.13598287105560303, -0.3990514874458313, -0.08763475716114044, 0.22244451940059662, -0.2517675757408142, -0.6261799931526184, 0.6257575750350952, 0.23603108525276184, 0.6179865002632141, 0.4082006812095642, -0.14409080147743225, 1.2466039657592773, -0.4802180826663971, 0.44358786940574646, 0.7420094609260559, -0.8397494554519653, 0.46696120500564575, -0.05064266547560692, 0.11669819802045822, 0.48751190304756165, 0.6667429208755493, -0.4557245075702667, -0.28570038080215454, -0.4584501385688782, -0.5070315003395081, 0.7526643872261047, 0.18554183840751648, 0.2695885896682739, 0.28785446286201477, 0.12982411682605743, 0.08438844978809357, 0.45114845037460327, -0.6695869565010071, -0.1913360059261322, -0.32377076148986816, -0.3591143786907196, -0.34622424840927124, -0.06026020273566246, -0.26383736729621887, -0.513451099395752, 0.6834694743156433, -0.09334057569503784, 0.2256527841091156, -0.10582207888364792, -0.18489502370357513, -0.20418405532836914, 0.06102224811911583, 0.7810531258583069, 0.5801411867141724, -0.10326120257377625, 0.2183409035205841, -0.12383167445659637, -0.5721469521522522, 0.33742401003837585, 0.15830212831497192, -0.0002751788997557014, -0.01233034860342741, 0.14750789105892181, 0.5751866102218628, 0.18047073483467102, -0.5636944770812988, 0.3765433430671692, 0.23715931177139282, -0.33285123109817505, -0.20506338775157928, -0.08778771013021469, -0.19097110629081726, 0.2868235409259796, 0.41889312863349915, 0.4231502413749695, -0.07980310171842575, -0.44383135437965393, 0.3280532956123352, 0.7012895345687866, -0.6217308640480042, -0.28930312395095825, 0.5850263237953186, -0.09411277621984482, -0.14168748259544373, 0.621490478515625, 0.13692158460617065, -0.5982702374458313, 0.6005021333694458, 0.8285297751426697, 0.6174455285072327, -0.42847099900245667, 0.4442935287952423, 0.36282429099082947, 0.3159107267856598, -0.2327803671360016, 0.3809404969215393, 0.13510577380657196, -0.4516814649105072, -0.5866405367851257, -0.7908317446708679, -0.15409766137599945, -0.17997589707374573, -0.43948793411254883, 0.34509721398353577, -0.23186595737934113, -0.04929624870419502, 0.24426330626010895, -0.16640838980674744, -0.3199912905693054, 0.2595740854740143, -0.06343059241771698, 0.6017065048217773, -1.1452890634536743, 0.7294436693191528, 0.558729350566864, -0.8545575141906738, -0.8747495412826538, -0.45207762718200684, 0.35251396894454956, -1.0439599752426147, 1.2360050678253174, 0.13288907706737518, -0.24307282269001007, -0.07763277739286423, -0.5157900452613831, -1.0167591571807861, 1.0430282354354858, 0.4839015305042267, -0.18399614095687866, -0.09804067760705948, 0.2335362285375595, 0.5653029680252075, -0.46289873123168945, 0.004824863281100988, 0.17525048553943634, 0.646510660648346, 0.5509107112884521, -0.9284120798110962, 0.2539299726486206, -0.14329217374324799, 0.20114684104919434, 0.8132120966911316, -0.6329362988471985, 1.1954984664916992, -0.11531965434551239, -0.04781770706176758, -0.04900582507252693, 0.5154144167900085, 0.4683397710323334, 0.2975882291793823, 0.2762325406074524, 0.5940840840339661, 0.10516653209924698, -0.27137210965156555, 0.7759498357772827, 0.13620971143245697, 0.3643099367618561, 0.682373583316803, -0.2402285635471344, 0.6763627529144287, 0.6987800002098083, -0.3908786177635193, 0.41827699542045593, 0.416789710521698, -0.11513188481330872, 0.7634307146072388, 0.2609653174877167, -0.19827257096767426, -0.2804443836212158, -0.1636257767677307, -0.55669766664505, 0.5171512961387634, 0.21028292179107666, -0.41109687089920044, -0.600310206413269, 0.2906917333602905, 0.05434636399149895, -0.006801665294915438, -0.38041213154792786, 0.7157511115074158, 0.08340030908584595, -0.21395562589168549, 0.5343109369277954, -0.05345230549573898, 0.6648568511009216, -1.1672420501708984, -0.3180725574493408, -0.012892651371657848, 0.240425705909729, -0.09729782491922379, -0.19866818189620972, 0.2534002959728241, -0.4313662648200989, -0.11044283211231232, -0.15049314498901367, 0.5516122579574585, -0.33069077134132385, -0.6605169773101807, 0.007138182409107685, 0.7849791049957275, 0.09532319009304047, 0.05472327768802643, -0.9253849387168884, -0.05709848552942276, 0.008066627196967602, -0.055781956762075424, 0.6453120112419128, 0.38712140917778015, -0.22595033049583435, 0.7725188136100769, 0.9116224050521851, -0.017861755564808846, -0.16544905304908752, -0.1620560884475708, 1.1762133836746216, -0.6850444078445435, -0.5091530084609985, -1.0052289962768555, 0.5607947111129761, 0.13735507428646088, -0.024850938469171524, 0.7266419529914856, 0.6375572085380554, 0.5731986165046692, -0.13676263391971588, 0.5272234082221985, -0.06522788852453232, 0.30678778886795044, -0.5086711645126343, 0.4270736575126648, -0.6794319152832031, -0.084516242146492, -0.3783126473426819, -1.0559700727462769, -0.625142514705658, 0.5828768014907837, -0.11015714704990387, 0.13961569964885712, 0.9041072130203247, 1.0017492771148682, -0.15345346927642822, -0.153846874833107, 0.30759197473526, -0.10208297520875931, 0.23705008625984192, 0.34883230924606323, 0.7437791228294373, -0.23129785060882568, 0.6279734373092651, -0.2926155924797058, -0.36760303378105164, -0.21491995453834534, -0.6564549207687378, -0.4158514142036438, -0.8524210453033447, -0.18257205188274384, -0.5511825680732727, 0.09183972328901291, 1.0325875282287598, 0.5814903378486633, -0.5118970274925232, -0.2532943785190582, 0.22429169714450836, -0.18211346864700317, -0.5715957283973694, -0.2103477120399475, 0.5833384394645691, -0.4943297803401947, -0.4737169146537781, 0.03375296667218208, 0.22775648534297943, 0.2458290457725525, -0.3606998026371002, -0.27669334411621094, -0.2316194325685501, -0.09832031279802322, 0.7820661067962646, 0.21065878868103027, -0.710909903049469, -0.15479980409145355, -0.0006370489718392491, -0.4159024953842163, 0.09262340515851974, 1.0966721773147583, -0.9717351794242859, 0.4566524624824524, 0.4105646014213562, 0.5805633664131165, 0.5589210391044617, -0.012929155491292477, 0.4024582803249359, -0.5320025086402893, 0.27334606647491455, 0.2681613266468048, 0.33769896626472473, 0.011255587451159954, -0.05018113553524017, 0.6192194223403931, 0.34188613295555115, -0.27025067806243896, -0.9026488661766052, 0.3484077453613281, -1.166953444480896, -0.3684391975402832, 0.9174220561981201, 0.2535759210586548, -0.23843252658843994, -0.07645192742347717, -0.4131045639514923, 0.37797558307647705, -0.45633676648139954, 1.015899896621704, 0.2596330940723419, -0.31158366799354553, -0.27197492122650146, -0.4327690303325653, 0.4241732060909271, 0.4475995600223541, -0.6004043817520142, -0.29037705063819885, 0.9007498025894165, -0.07058824598789215, 0.4447915554046631, 0.5463777780532837, -0.27148598432540894, 0.1709231734275818, 0.06245912238955498, 0.01645529456436634, -0.4563950300216675, -0.4120197594165802, -0.20647987723350525, 0.3043288290500641, -0.25297415256500244, -0.2832164466381073 ]
http://arxiv.org/abs/2402.18150v2
http://arxiv.org/pdf/2402.18150v2
Unsupervised Information Refinement Training of Large Language Models for Retrieval-Augmented Generation
2024-02-28T08:24:38
2024-06-12T03:21:15
Shicheng Xu, Liang Pang, Mo Yu, Fandong Meng, Huawei Shen, Xueqi Cheng, Jie Zhou
cs.CL
cs.CL, cs.AI, cs.IR
Retrieval-augmented generation (RAG) enhances large language models (LLMs) by incorporating additional information from retrieval. However, studies have shown that LLMs still face challenges in effectively using the retrieved information, even ignoring it or being misled by it. The key reason is that the training of LLMs does not clearly make LLMs learn how to utilize input retrieved texts with varied quality. In this paper, we propose a novel perspective that considers the role of LLMs in RAG as ``Information Refiner'', which means that regardless of correctness, completeness, or usefulness of retrieved texts, LLMs can consistently integrate knowledge within the retrieved texts and model parameters to generate the texts that are more concise, accurate, and complete than the retrieved texts. To this end, we propose an information refinement training method named InFO-RAG that optimizes LLMs for RAG in an unsupervised manner. InFO-RAG is low-cost and general across various tasks. Extensive experiments on zero-shot prediction of 11 datasets in diverse tasks including Question Answering, Slot-Filling, Language Modeling, Dialogue, and Code Generation show that InFO-RAG improves the performance of LLaMA2 by an average of 9.39\% relative points. InFO-RAG also shows advantages in in-context learning and robustness of RAG.
[ -0.3212100565433502, -0.47650018334388733, 0.4130997359752655, -0.2779791057109833, -0.3516679108142853, 0.3896506428718567, -0.38256847858428955, -0.37533217668533325, 0.16974370181560516, 0.668960690498352, -0.4333302676677704, -0.16318759322166443, -0.45322826504707336, 0.04419565573334694, -0.3422972559928894, 1.2402691841125488, 0.05172618478536606, 0.014686224050819874, -0.2937158942222595, 0.06661303341388702, -0.23406492173671722, -0.33449873328208923, -0.6167625188827515, -0.5071355700492859, 0.5448488593101501, 0.6892792582511902, 0.20924191176891327, 0.5718412399291992, 0.39962834119796753, 0.21668779850006104, -0.059029366821050644, 0.5330865979194641, -0.8939228653907776, 0.4680454730987549, -0.37585893273353577, -0.6816732287406921, 0.06322944164276123, -0.12735018134117126, 0.6790395975112915, 0.6161647439002991, -0.2495279759168625, 0.5183092355728149, 0.22763298451900482, 0.9507766962051392, -0.8908318281173706, -0.11101123690605164, -1.0245829820632935, -0.19452352821826935, -0.40492162108421326, -0.5373441576957703, -0.5304821729660034, -0.16342365741729736, -0.048924434930086136, -0.7026786804199219, 0.4816460907459259, 0.12700022757053375, 0.9243747591972351, 0.4922795593738556, -0.3429925739765167, -0.1688242405653, -1.0022878646850586, 0.8619377017021179, -0.5043702125549316, 0.367423951625824, 0.34014788269996643, 0.2615590989589691, -0.4919975996017456, -0.6912521123886108, -0.6086956262588501, 0.014629348181188107, -0.07183727622032166, 0.15773721039295197, -0.04885232448577881, -0.08059462904930115, 0.4378954768180847, 0.40076300501823425, -0.35654598474502563, 0.027675718069076538, -0.47052815556526184, 0.09642412513494492, 0.3920581638813019, -0.13570763170719147, -0.32665979862213135, -0.1153186559677124, -0.6257768869400024, -0.032691653817892075, -0.9116342067718506, 0.06345496326684952, 0.3562016785144806, 0.24157485365867615, 0.2760535478591919, 0.5918430685997009, -0.3022327125072479, 0.6632813215255737, 0.26146069169044495, -0.456161230802536, 0.28578469157218933, -0.12614111602306366, -0.08440539985895157, -0.08903367817401886, 0.4547421336174011, 0.1461016982793808, 0.15824393928050995, -0.1544668823480606, -0.3445391058921814, -0.2975581884384155, 0.5080726742744446, -0.8719965219497681, 0.05604611709713936, -0.008759002201259136, -0.24121598899364471, -0.4129738509654999, 0.15542611479759216, -0.7657231688499451, -0.612841784954071, -0.5755066871643066, 0.21433405578136444, -0.19572289288043976, -0.4309478998184204, -0.16084057092666626, -0.13449057936668396, 0.17068208754062653, 0.3689328134059906, -0.6869460344314575, 0.06516139209270477, 0.44048866629600525, 0.33407506346702576, -0.1902017891407013, -0.07481276988983154, -0.6445683836936951, 0.41033145785331726, -0.44629761576652527, 1.1190483570098877, -0.6012022495269775, -0.11146663874387741, -0.14384591579437256, -0.19551482796669006, 0.11686991155147552, -0.6688767075538635, 0.4813362956047058, -0.7760164737701416, 0.2132226526737213, -0.10413587093353271, -0.5252827405929565, -0.3445616364479065, 0.32440313696861267, -0.585907518863678, 1.2621926069259644, 0.17408806085586548, -1.042036771774292, 0.4029443562030792, -0.3426489531993866, -0.21768778562545776, 0.025376219302415848, -0.26344186067581177, -0.38887572288513184, 0.37732869386672974, 0.08279085904359818, 0.23608851432800293, -0.6429911255836487, 0.3353811204433441, -0.10276251286268234, -0.493314266204834, 0.289966344833374, -0.3550509214401245, 0.1795230209827423, 0.34641551971435547, -0.09323076158761978, -0.1528497338294983, -0.9760221242904663, 0.1873932182788849, 0.14896245300769806, -0.7758302688598633, -0.3033043444156647, -0.264680415391922, -0.1120135709643364, -0.06901993602514267, 0.34960806369781494, -0.6444446444511414, 0.2739773094654083, -0.5229442119598389, -0.14620144665241241, 0.6595088839530945, 0.10777539014816284, 0.5219153761863708, -0.34984949231147766, 0.40715134143829346, -0.08255381137132645, -0.0009787549497559667, -0.324543297290802, -0.16284596920013428, -1.015219807624817, -0.20761829614639282, 0.6197795271873474, 0.4479933977127075, -1.045114517211914, 0.12764956057071686, -0.03536409139633179, -0.47653281688690186, -0.6584132313728333, 0.30253517627716064, 0.5590265393257141, 0.6436417102813721, 0.20204024016857147, -0.2564563751220703, -0.8303764462471008, -0.7692739367485046, -0.5099600553512573, -0.12863679230213165, 0.02985009364783764, 0.11955562978982925, 0.19595956802368164, -0.3115784227848053, 0.9127411842346191, -0.3315311074256897, -0.2667084038257599, -0.2944377660751343, 0.33056721091270447, 0.24092836678028107, 0.27134788036346436, 0.03448089212179184, -0.8519389033317566, -0.4445262551307678, 0.008857343345880508, -0.4421124756336212, -0.2889995872974396, 0.0336429737508297, 0.004070077557116747, 0.3353833258152008, 0.5814089179039001, -0.3487720489501953, 0.5923348665237427, 0.5083433985710144, 0.058833468705415726, 0.5532324314117432, -0.41815048456192017, 0.05288063734769821, -1.245417833328247, 0.3749745488166809, -0.3128708302974701, -0.29218873381614685, -0.7657582759857178, -0.02447914518415928, -0.010745164938271046, 0.07035036385059357, -0.18422837555408478, 0.8007023930549622, -0.652515172958374, -0.24981996417045593, -0.7654146552085876, 0.26207634806632996, 0.20606502890586853, 0.49090245366096497, -0.17072941362857819, 0.7735131978988647, 0.24661631882190704, -0.6565612554550171, 0.24053414165973663, 0.0029318719170987606, -0.5404813885688782, 0.5133083462715149, -0.22881703078746796, 0.31669971346855164, -0.5796896815299988, 0.1546269655227661, -1.1165753602981567, -0.3096765875816345, -0.2603951692581177, -0.6063941121101379, 0.7764215469360352, -0.21026542782783508, -0.564781904220581, -0.04129523038864136, -0.22456465661525726, 0.3721233308315277, 0.39664602279663086, -0.7474038600921631, 0.5927959084510803, 0.4786773920059204, -0.12974756956100464, -0.968012809753418, -0.5242621302604675, -0.14551052451133728, -0.09687628597021103, -0.3394601345062256, 0.308293879032135, -0.010503812693059444, -0.1895270198583603, -0.016116399317979813, -0.1828683316707611, -0.07718584686517715, 0.018486561253666878, 0.22738060355186462, 0.21585559844970703, 0.111260786652565, 0.5014451146125793, -0.10249249637126923, -0.30341386795043945, -0.41045719385147095, -0.11122908443212509, 0.5701143145561218, 0.13681329786777496, -0.3352055251598358, -0.05136222392320633, 0.204265296459198, 0.22459034621715546, -0.4030260741710663, 0.7057079672813416, 0.6342698335647583, -0.1802256852388382, -0.3183830678462982, -0.898165225982666, -0.2897909879684448, -0.4566150903701782, 0.3384988605976105, -0.21284528076648712, -0.8972994685173035, 0.17613454163074493, -0.5171288251876831, 0.20485834777355194, 0.32893702387809753, 0.4371193051338196, -0.24342387914657593, 0.8774970769882202, 0.8927431702613831, 0.1001904085278511, 0.5650460124015808, -0.2547925114631653, 0.14525136351585388, -1.1933389902114868, -0.4073624908924103, -0.5213800072669983, -0.26511332392692566, -0.4723661243915558, -0.6011656522750854, 0.26996535062789917, 0.4797915518283844, -0.4335869550704956, -0.0873817726969719, -0.383946031332016, 0.6224214434623718, 0.6074334979057312, -0.10283425450325012, 0.44168195128440857, 0.4850141704082489, -0.09193725138902664, -0.04109540209174156, -0.740743100643158, -0.45607107877731323, 1.2246830463409424, 0.1417514979839325, 1.0689890384674072, -0.0832575336098671, 0.632719874382019, 0.017925472930073738, 0.39607420563697815, -0.6179949045181274, 0.2856779992580414, -0.19385407865047455, -0.5042083263397217, 0.03954416513442993, -0.6066080331802368, -1.0609792470932007, 0.09300663322210312, -0.3915003836154938, -0.4368346929550171, 0.10094377398490906, 0.0778040736913681, -0.10873918235301971, 0.3837088346481323, -0.5694390535354614, 0.24985525012016296, -0.1807764619588852, -0.22780877351760864, -0.130857914686203, -0.44926339387893677, 0.17377372086048126, -0.4141991138458252, 0.3029811382293701, 0.018467755988240242, -0.11377502232789993, 0.7237468361854553, -0.16050003468990326, 0.7027285695075989, -0.21855206787586212, 0.031965337693691254, 0.2873888909816742, 0.09889113157987595, 0.6675235033035278, -0.16348271071910858, -0.07675781846046448, -0.09815645217895508, -0.27866649627685547, -0.23335877060890198, -0.666057288646698, 0.622053325176239, -0.6176785826683044, -0.6456904411315918, -0.35342130064964294, -0.5730527639389038, -0.4295436441898346, 0.31097936630249023, 0.4092193841934204, 0.3667074143886566, 0.07175252586603165, 0.31211885809898376, 0.9183291792869568, -0.1629391312599182, 0.03906463086605072, 0.9080502390861511, -0.4852004051208496, -0.43492060899734497, 0.7588257789611816, -0.046289652585983276, 0.3490845859050751, 0.49434053897857666, 0.09389586001634598, -0.3142569661140442, -0.40951409935951233, -0.3008853793144226, 0.5208097696304321, -0.7892605662345886, -0.47409963607788086, -0.35108065605163574, -0.28201285004615784, -0.1584925502538681, 0.21836306154727936, -0.44525182247161865, -0.458945095539093, -0.22414034605026245, -0.04175684228539467, 0.4623936712741852, 0.9747117757797241, -0.04499242082238197, 0.3467627763748169, -0.5767437815666199, 0.29920727014541626, 0.14841684699058533, 0.3928550183773041, -0.08830618113279343, -0.9638451337814331, -0.3748488426208496, 0.13645164668560028, -0.2743847072124481, -0.5218743681907654, 0.1504679024219513, 0.14422325789928436, 0.5776232481002808, 0.34234896302223206, -0.021691257134079933, 0.743698239326477, -0.5594967603683472, 0.4682139456272125, 0.14122360944747925, -0.39810702204704285, 0.49494990706443787, 0.024088149890303612, 0.35747748613357544, 0.7521389722824097, 0.17077350616455078, -0.4427671730518341, -0.37604793906211853, -0.6394684910774231, -0.790278434753418, 0.8299089670181274, -0.06776443868875504, -0.034805476665496826, 0.22496481239795685, 0.5989903807640076, 0.13046036660671234, 0.41363421082496643, -0.4694061279296875, -0.18653395771980286, 0.20508380234241486, -0.13259346783161163, 0.0356956422328949, -0.6870098114013672, -0.025638442486524582, 0.08431147038936615, 0.9357923269271851, -0.03625752031803131, 0.1383829414844513, 0.05683145672082901, 0.07870961725711823, -0.36903953552246094, 0.3057157099246979, 0.3918175995349884, 0.5801398158073425, -0.060212790966033936, 0.19172829389572144, 0.15450160205364227, -0.4735225439071655, 0.13374614715576172, -0.0403096005320549, -0.2894362509250641, 0.05739583075046539, 0.23684006929397583, 0.8639160394668579, 0.03249984607100487, -0.678026020526886, 0.4827963411808014, -0.10892818868160248, 0.060582734644412994, -0.40252619981765747, 0.052783116698265076, -0.12829704582691193, 0.4578556418418884, 0.46072760224342346, 0.26126670837402344, -0.03313198685646057, -0.4681120812892914, 0.16086220741271973, 0.42482972145080566, -0.2474052608013153, -0.06132648512721062, 0.3275772035121918, -0.07985913008451462, -0.06814754754304886, 0.3768075108528137, -0.2141716033220291, -0.4073096811771393, 0.23899692296981812, 0.687505304813385, 0.659092366695404, -0.4763445556163788, -0.00867999903857708, 0.5522045493125916, 0.20423121750354767, -0.19375433027744293, 0.3205364942550659, -0.032769884914159775, -0.6361292004585266, -0.6394986510276794, -0.8838987350463867, -0.35538873076438904, 0.3239596486091614, -0.6113469004631042, 0.274240106344223, -0.3791274130344391, -0.16670264303684235, -0.34860286116600037, 0.08293042331933975, -0.6098272800445557, 0.22813771665096283, 0.04322817549109459, 0.798509418964386, -0.2692796587944031, 0.8755233287811279, 0.7794785499572754, -0.23219691216945648, -0.9201638698577881, 0.15120354294776917, -0.24323925375938416, -0.8056015968322754, 0.8111585378646851, 0.2228967547416687, -0.3088230490684509, -0.007706837262958288, -0.5073127746582031, -1.212533950805664, 1.0638580322265625, 0.5757086277008057, -0.5860795378684998, -0.09431609511375427, 0.13219167292118073, 0.5480189323425293, -0.3770868480205536, 0.2541075646877289, 0.3734957277774811, 0.2752520740032196, 0.4906381070613861, -0.8453331589698792, -0.30548182129859924, -0.29490163922309875, 0.2281622439622879, 0.32454830408096313, -0.5095311999320984, 0.803752064704895, -0.31359538435935974, -0.4815634787082672, 0.15743312239646912, 0.43435603380203247, 0.33446863293647766, 0.1047525703907013, 0.46242791414260864, 0.7239049077033997, 1.0401064157485962, -0.01332873571664095, 1.0427371263504028, -0.19271086156368256, 0.20810560882091522, 1.377820372581482, -0.15267661213874817, 0.9866407513618469, 0.45346471667289734, 0.13072046637535095, 0.6032013893127441, 0.3265921473503113, 0.19029611349105835, 0.62386554479599, 0.20874238014221191, -0.32894790172576904, -0.020060354843735695, -0.36288824677467346, -0.23768848180770874, 0.5003461241722107, 0.38002103567123413, -0.3562489449977875, -0.4193105697631836, 0.09919852018356323, 0.00433173356577754, 0.10749181360006332, -0.37112969160079956, 1.093214511871338, -0.06195565685629845, -0.769862949848175, 0.9484189748764038, -0.005794496275484562, 0.5192595720291138, -0.6336290836334229, -0.17697815597057343, -0.2756449580192566, 0.36081454157829285, -0.3799196183681488, -0.7620927691459656, 0.17245154082775116, 0.4312119483947754, -0.3787568211555481, -0.07206819951534271, 0.9933260083198547, -0.6875460147857666, -0.37758415937423706, 0.17097324132919312, 0.2762892544269562, 0.37486565113067627, -0.21726469695568085, -0.5153500437736511, 0.05187150090932846, 0.2620936334133148, -0.28536519408226013, 0.36928239464759827, 0.6932526230812073, 0.09992871433496475, 0.6017053723335266, 0.7347840666770935, 0.26677176356315613, -0.035157620906829834, 0.09622561931610107, 1.0133370161056519, -0.5621477365493774, -0.16328513622283936, -0.549587607383728, 0.4182283878326416, -0.15505945682525635, -0.034152910113334656, 0.7142391800880432, 0.6649149060249329, 1.0607640743255615, 0.14574210345745087, 0.8462251424789429, 0.22936835885047913, 1.3007193803787231, -0.5407860279083252, 0.5436183214187622, -0.7021551728248596, 0.470191091299057, 0.06074877083301544, -1.1416568756103516, -0.014562600292265415, 0.4283524453639984, -0.14448483288288116, 0.04053425416350365, 0.428211510181427, 0.8463695645332336, 0.12257153540849686, -0.1919766366481781, 0.18647335469722748, 0.14509348571300507, 0.20784682035446167, 0.38360148668289185, 0.9217923283576965, -0.2867923080921173, 0.6716753840446472, -0.21191267669200897, -0.3807322382926941, -0.19054843485355377, -0.6930327415466309, -0.8946832418441772, -0.6317640542984009, 0.1348280906677246, -0.2553524971008301, -0.2749406099319458, 0.6826033592224121, 0.48900994658470154, -0.4925806224346161, -0.26411202549934387, 0.029775027185678482, -0.10018551349639893, 0.33313092589378357, -0.19962796568870544, 0.09935262054204941, -0.6446803212165833, -0.5581590533256531, 0.47479599714279175, 0.3018633723258972, -0.05957901105284691, -0.33028942346572876, 0.09762389212846756, -0.2159872204065323, 0.1478346586227417, 0.4507659077644348, 0.2795526385307312, -0.556199312210083, 0.04149366915225983, -0.16228708624839783, -0.12586233019828796, 0.16864727437496185, 0.8181737661361694, -0.969610869884491, 0.8263845443725586, 0.3649972975254059, 0.8107848167419434, 0.866786777973175, 0.22864823043346405, 0.3644595146179199, -1.2097153663635254, 0.36807000637054443, 0.11280766129493713, 0.18322348594665527, 0.6308977007865906, -0.4166623651981354, 0.5536956787109375, 0.015836823731660843, -0.7141074538230896, -0.8529709577560425, 0.4242924451828003, -0.5106977224349976, -0.2542244791984558, 1.3407126665115356, 0.0025469709653407335, -0.27877989411354065, -0.10823468863964081, -0.49601200222969055, 0.40474453568458557, -0.28916236758232117, 0.7837826013565063, 0.39955568313598633, 0.1220630407333374, -0.152523934841156, -0.6313967704772949, 0.7289831638336182, 0.3043029308319092, -0.7690505385398865, 0.3153184652328491, 0.29059866070747375, 0.30620643496513367, 0.4632987082004547, 0.6059219241142273, -0.13376952707767487, 0.10670024156570435, -0.3106459677219391, 0.2572176158428192, -0.22360512614250183, -0.46237802505493164, -0.23099546134471893, -0.13531924784183502, 0.4022950828075409, 0.14101098477840424 ]
http://arxiv.org/abs/2402.18145v1
http://arxiv.org/pdf/2402.18145v1
Learning Intrinsic Dimension via Information Bottleneck for Explainable Aspect-based Sentiment Analysis
2024-02-28T08:11:05
2024-02-28T08:11:05
Zhenxiao Cheng, Jie Zhou, Wen Wu, Qin Chen, Liang He
cs.CL
cs.CL
Gradient-based explanation methods are increasingly used to interpret neural models in natural language processing (NLP) due to their high fidelity. Such methods determine word-level importance using dimension-level gradient values through a norm function, often presuming equal significance for all gradient dimensions. However, in the context of Aspect-based Sentiment Analysis (ABSA), our preliminary research suggests that only specific dimensions are pertinent. To address this, we propose the Information Bottleneck-based Gradient (\texttt{IBG}) explanation framework for ABSA. This framework leverages an information bottleneck to refine word embeddings into a concise intrinsic dimension, maintaining essential features and omitting unrelated information. Comprehensive tests show that our \texttt{IBG} approach considerably improves both the models' performance and interpretability by identifying sentiment-aware features.
[ -0.7493896484375, -0.8827427625656128, 0.35952019691467285, 0.4134896695613861, -0.43289294838905334, -0.04924049228429794, -0.06519565731287003, -0.5392739772796631, 0.14102812111377716, 0.28755849599838257, -0.7424134016036987, -0.46453750133514404, -0.3297696113586426, -0.22844460606575012, -0.3026363253593445, 1.2001932859420776, 0.04456004872918129, 0.013599933125078678, -0.5051677227020264, -0.531219482421875, -0.45938771963119507, -0.4524778723716736, -0.6461012959480286, -0.5140862464904785, 0.5106588006019592, 0.35411202907562256, 0.31847625970840454, 0.8578059673309326, 0.5942855477333069, 0.13880406320095062, -0.32633569836616516, -0.2060329020023346, -0.2957616150379181, 0.08254427462816238, -0.4608946740627289, -0.600020706653595, -0.4461268186569214, -0.07508210837841034, 0.42765137553215027, 0.9594946503639221, -0.09515057504177094, 0.319296658039093, 0.3095543384552002, 1.0246689319610596, -0.5538371205329895, 0.4588794708251953, -0.637134313583374, 0.189944326877594, 0.06488455832004547, -0.08279385417699814, 0.02104327827692032, -0.22680877149105072, 0.277818500995636, -0.38859936594963074, 0.5514551997184753, 0.10652288794517517, 0.9831845760345459, 0.3447517454624176, 0.06132790073752403, -0.3596074879169464, -0.6526910066604614, 0.6328524947166443, -0.33530357480049133, 0.14554890990257263, 0.04188837110996246, -0.1826641708612442, 0.4051661789417267, -0.29718902707099915, -0.6875803470611572, 0.07235702127218246, 0.09186436980962753, 0.08690530806779861, -0.286287784576416, 0.2596174478530884, 0.21284574270248413, 0.8570097088813782, -0.32489362359046936, 0.13384151458740234, -0.14447537064552307, -0.013786490075290203, 0.44609278440475464, -0.048372406512498856, -0.09576278924942017, -0.3039882183074951, -0.565824568271637, 0.15399383008480072, -0.8559328317642212, 0.5396373867988586, 0.2687983214855194, 0.3536950647830963, -0.12253213673830032, 0.4416031539440155, -0.08336804807186127, 0.44522708654403687, 0.29991617798805237, 0.2342291921377182, 0.3264908492565155, -0.13614310324192047, -0.014867154881358147, 0.18753571808338165, 0.5103965401649475, 0.24158114194869995, -0.1104145422577858, -0.06723015755414963, -0.21574951708316803, -0.2713901996612549, 0.46371990442276, -0.9124152660369873, -0.017885593697428703, 0.5843738913536072, -0.6270965933799744, -0.2834239900112152, 0.07327240705490112, -1.0073957443237305, -0.5078098773956299, -0.37937265634536743, 0.3218400478363037, -0.5401208996772766, -0.42371559143066406, -0.17959009110927582, -0.15642480552196503, 0.10212534666061401, 0.11415324360132217, -0.6647323966026306, -0.15986967086791992, 0.7640294432640076, 1.1341418027877808, -0.014146649278700352, 0.13038349151611328, -0.38491809368133545, -0.25800013542175293, -0.22201670706272125, 0.7280027270317078, -0.7700955271720886, -0.23480983078479767, -0.05523717775940895, -0.4092332124710083, 0.2684582471847534, -0.681730329990387, 0.6399392485618591, -0.2505980432033539, -0.027436906471848488, -0.6324469447135925, -0.3346332609653473, -0.6908293962478638, 0.1627635806798935, -0.4609770178794861, 1.0331562757492065, 0.3209362030029297, -0.8879019021987915, 0.46228089928627014, -1.0282877683639526, -0.45013949275016785, 0.011926734820008278, 0.082844078540802, -0.47635212540626526, 0.6601386070251465, 0.4591180980205536, 0.5499221086502075, -0.4338158667087555, 0.03033382259309292, -0.28592973947525024, -0.043391186743974686, 0.29825371503829956, -0.2945386469364166, 0.4242730140686035, 0.09421328455209732, -0.1597282588481903, -0.023518549278378487, -0.751356303691864, -0.13856589794158936, -0.1737065613269806, -0.19281239807605743, -0.42870694398880005, 0.03575141355395317, -0.43341195583343506, 0.1302872747182846, 0.4609808623790741, -0.6339684724807739, 0.027296394109725952, -0.3038770854473114, 0.46508851647377014, 0.8141987323760986, 0.18327441811561584, 0.5009214282035828, -0.15347501635551453, 0.742057740688324, 0.4757148325443268, 0.1954791396856308, -0.21087265014648438, -0.2626565992832184, -0.831479549407959, -0.45918968319892883, 0.2589039206504822, 0.47534433007240295, -0.7707148790359497, 0.569581925868988, -0.29739299416542053, -0.3227531611919403, -0.7244784235954285, 0.2017582356929779, 0.43845269083976746, 0.8872324824333191, 0.4369000196456909, -0.6598489880561829, -0.16015611588954926, -1.0769693851470947, -0.41246676445007324, -0.4381207227706909, -0.26863184571266174, 0.4398568570613861, 0.2333313375711441, 0.14964166283607483, 1.0781400203704834, -0.3310505747795105, -0.34496375918388367, -0.4665822386741638, 0.7346104979515076, 0.46434178948402405, 0.29690560698509216, 0.5156658887863159, -0.7476069927215576, -0.26513636112213135, 0.060412026941776276, -0.7195720076560974, -0.49406492710113525, -0.39911285042762756, -0.021370284259319305, -0.19295957684516907, 0.28312766551971436, -0.47939905524253845, 0.42418137192726135, 0.18494409322738647, -0.12991562485694885, 0.402988463640213, -0.028640443459153175, -0.34827977418899536, -0.6246063113212585, -0.030651332810521126, 0.5237479209899902, -0.004023429937660694, -0.5856704115867615, 0.03029967099428177, -0.03705964237451553, 0.025593388825654984, -0.03894789516925812, 0.4444168210029602, -0.4793386459350586, -0.11838525533676147, -0.3725235164165497, 0.33591896295547485, 0.2059076875448227, 0.8508033752441406, -0.1480877846479416, 0.44758567214012146, 0.6659424304962158, -0.6862267255783081, 0.06333731859922409, -0.0889921635389328, -0.15159545838832855, 1.2364580631256104, -0.6320616602897644, -0.026728438213467598, -0.5843567252159119, -0.10185383260250092, -0.7329745888710022, 0.17656488716602325, 0.13747407495975494, -0.5808389186859131, 0.44540777802467346, -0.25447002053260803, -0.07082539796829224, -0.2654058039188385, -0.473702073097229, 0.20556944608688354, 0.31719279289245605, -0.7617068886756897, 0.9121567606925964, 0.42056384682655334, -0.32666704058647156, -0.8694385886192322, -0.511838972568512, -0.16894181072711945, -0.40050339698791504, -0.32211020588874817, 0.33750638365745544, 0.19328057765960693, -0.2972763180732727, 0.20297154784202576, -0.3298570513725281, -0.07604287564754486, 0.14254529774188995, 0.48281627893447876, 0.00751669704914093, -0.30534034967422485, 0.5218153595924377, 0.06411553174257278, -0.010511345230042934, 0.2584993541240692, -0.3752339482307434, 0.5287250280380249, -0.46844482421875, 0.023758426308631897, -0.5822591185569763, 0.36637216806411743, 0.42842599749565125, -0.2792094647884369, 0.9643526077270508, 0.8132355809211731, -0.23976075649261475, -0.49084627628326416, -0.3298439383506775, -0.10399460792541504, -0.43353694677352905, 0.6516826152801514, -0.30416595935821533, -0.7225501537322998, 0.8079538345336914, -0.04657551646232605, -0.0044992463663220406, 0.6138032674789429, 0.31255990266799927, -0.22397921979427338, 0.7369995713233948, 0.7917810678482056, -0.2678245007991791, 0.7957097887992859, -0.33367449045181274, 0.6636844873428345, -1.3914223909378052, -0.28587815165519714, -0.5067510008811951, -0.5366929769515991, -0.2817668914794922, -0.3541242480278015, 0.5411924123764038, 0.790608286857605, -0.25096896290779114, -0.1401509940624237, -0.5264227390289307, 0.39682483673095703, 0.5449205040931702, 0.09175221621990204, 0.05784953758120537, 0.09983057528734207, 0.015354546718299389, 0.07673243433237076, -0.7226752042770386, -0.2374325692653656, 0.8719722032546997, 0.5661841630935669, 0.6170744299888611, -0.06822299212217331, 0.12817026674747467, 0.16604433953762054, 0.577519953250885, -0.9222046732902527, 0.2740555703639984, -0.22997987270355225, -0.3805263340473175, -0.22872380912303925, -0.6139552593231201, -0.5403525233268738, 0.32664939761161804, -0.17700199782848358, -0.9055075645446777, 0.41278931498527527, 0.3643450140953064, -0.2606912851333618, 0.3937092423439026, -0.5673808455467224, 0.5060409903526306, -0.05938403308391571, -0.32181230187416077, -0.299259215593338, -0.32513004541397095, 0.3343851864337921, 0.04831462353467941, 0.28917011618614197, -0.15158548951148987, 0.010608101263642311, 0.5357906222343445, -0.485136479139328, 0.7571871280670166, -0.46756863594055176, 0.022909732535481453, 0.3408716320991516, 0.11048698425292969, 0.3671744167804718, 0.2791690528392792, -0.13923335075378418, 0.6869778037071228, -0.5541604161262512, -0.26423782110214233, -0.875724732875824, 0.6570939421653748, -0.6381651163101196, -0.659652829170227, -0.11377253383398056, -0.5186821818351746, -0.2215055376291275, -0.30291280150413513, 0.33196818828582764, 0.5119462013244629, 0.07150811702013016, 0.41564521193504333, 0.7601350545883179, -0.26434436440467834, 0.4796009659767151, 0.37008047103881836, 0.04714515060186386, 0.08412346988916397, 1.1366369724273682, 0.11275552213191986, 0.043347232043743134, 0.6728200912475586, 0.42944443225860596, -0.3359401822090149, -0.72523432970047, -0.2603556513786316, 0.16448289155960083, -0.5860574245452881, -0.19213074445724487, -0.6445131301879883, -0.24654576182365417, 0.1677527129650116, -0.11588795483112335, -0.5227481126785278, -0.4798334240913391, -0.46725377440452576, -0.23944604396820068, 0.33898600935935974, 0.6753666400909424, -0.3375089466571808, 0.45493558049201965, -0.6530823707580566, 0.21703079342842102, 0.06634032726287842, 0.42966219782829285, 0.39875179529190063, -0.5894689559936523, -0.46113353967666626, 0.08223946392536163, -0.5648133754730225, -0.648401141166687, 0.3900466561317444, 0.4152897596359253, 0.5237415432929993, 0.9584009051322937, -0.10881474614143372, 0.32844600081443787, -0.08071808516979218, 1.0300846099853516, 0.2866993248462677, -1.3458812236785889, 0.5217260718345642, -0.03879531845450401, 0.26941362023353577, 0.3920276165008545, 0.40985268354415894, -0.5912520885467529, -0.27197128534317017, -0.5008076429367065, -1.244401216506958, 0.5581079721450806, 0.0947302058339119, 0.0958133339881897, 0.11862209439277649, 0.8100748658180237, 0.3150634467601776, 0.4583671987056732, -0.8832036852836609, -0.2412443608045578, -0.3702826201915741, -0.3297274708747864, 0.28523802757263184, -0.3738263249397278, -0.06127259507775307, -0.04681064561009407, 0.6697736382484436, -0.33203479647636414, 0.5003314018249512, 0.27301445603370667, -0.07857435196638107, 0.09306314587593079, 0.21542318165302277, 0.25268086791038513, 0.7422202825546265, -0.1471906304359436, 0.12285888940095901, -0.03217494487762451, -0.4804099202156067, -0.14984965324401855, -0.1794571876525879, -0.08654763549566269, -0.050587184727191925, 0.629288375377655, 0.9778567552566528, -0.44855111837387085, -0.43441805243492126, 0.7543327212333679, 0.06653594225645065, 0.051402680575847626, -0.11497143656015396, 0.04010938107967377, -0.20907974243164062, 0.29718244075775146, 0.4952719211578369, 0.0156746506690979, 0.01091426145285368, -0.5882736444473267, -0.045442067086696625, 0.5689092874526978, -0.9765228033065796, -0.5260847806930542, 0.45988523960113525, 0.2343226671218872, -0.10602233558893204, 0.551345705986023, -0.2730954885482788, -0.6874564290046692, 0.6817615032196045, -0.09721443802118301, 1.0869876146316528, -0.21770058572292328, 0.5420339107513428, 0.33880990743637085, 0.4080944061279297, 0.2005917876958847, 0.42257365584373474, -0.17722204327583313, -0.8536256551742554, -0.3071698546409607, -0.845744252204895, -0.25509560108184814, 0.23842701315879822, -1.008216142654419, -0.276140034198761, -0.7379692196846008, 0.09905911982059479, 0.04163045436143875, -0.3495422601699829, -0.7429478168487549, 0.16920039057731628, -0.2458346039056778, 0.5399687886238098, -0.6891998648643494, 0.40740302205085754, 0.36091601848602295, -0.43902117013931274, -0.45527368783950806, 0.2677755653858185, -0.08747140318155289, -0.8109856843948364, 0.672881543636322, 0.2528170347213745, -0.15074492990970612, -0.544342577457428, -0.5443344116210938, -0.6894809603691101, 0.7957991361618042, 0.09695177525281906, -0.5380619168281555, 0.2359965443611145, 0.1202285960316658, 0.8278000354766846, -0.6896609663963318, 0.15177740156650543, 0.4446665048599243, 0.25096607208251953, 0.09459594637155533, -0.297519713640213, 0.06534934043884277, -0.13788089156150818, 0.12056015431880951, 0.16020718216896057, -0.5786462426185608, 0.920925498008728, -0.13695603609085083, -0.19235265254974365, -0.4041280448436737, 0.8943231701850891, -0.34666019678115845, 0.13220779597759247, 0.7101961970329285, 0.668840765953064, 0.9260692000389099, -0.24735818803310394, 1.1241264343261719, -0.5134930610656738, 0.44592973589897156, 1.00252366065979, 0.09749738872051239, 0.7566056251525879, 0.4331943988800049, -0.08642768859863281, 0.7567499279975891, 0.617356538772583, 0.2034837156534195, 0.44787031412124634, 0.3165052831172943, -0.3559199869632721, -0.0548260398209095, -0.4107470214366913, -0.08918961882591248, 0.5458471179008484, 0.7807704210281372, -0.5811731815338135, -0.14971637725830078, 0.17545334994792938, -0.052007853984832764, -0.21693949401378632, -0.7272244691848755, 0.7277538776397705, 0.04135672003030777, -0.48384517431259155, 0.2700512409210205, 0.013856807723641396, 0.6443403363227844, -0.46819716691970825, 0.0776585191488266, -0.49115487933158875, 0.2459382563829422, -0.14199015498161316, -0.8326153755187988, 0.4204307198524475, -0.07805352658033371, -0.38564953207969666, -0.18201503157615662, 0.2954784333705902, -0.3585493564605713, -0.4373217225074768, 0.04986290633678436, 0.28006234765052795, -0.017289381474256516, -0.5961028933525085, -0.7157747149467468, -0.32666197419166565, 0.07558717578649521, -0.27178099751472473, 0.19889487326145172, 0.8818352222442627, 0.08817760646343231, 0.8523349761962891, 0.4023127555847168, 0.2250935435295105, -0.41271623969078064, -0.16734154522418976, 0.8612157106399536, -0.7118726372718811, -0.598545491695404, -0.8724615573883057, 0.40614476799964905, -0.2097516655921936, -0.5426656007766724, 0.37644824385643005, 0.3674074411392212, 0.6047953367233276, 0.12051472812891006, 0.9097469449043274, -0.04037103056907654, 0.5378883481025696, -0.7230631709098816, 0.48440954089164734, -0.6135872006416321, 0.6707525849342346, -0.0121578648686409, -1.0922397375106812, -0.07037664204835892, 0.6685870289802551, -0.06021520867943764, -0.02325885370373726, 0.8663243651390076, 0.647821843624115, 0.10176273435354233, 0.2525903284549713, -0.058914754539728165, 0.6575239896774292, 0.4071323275566101, 0.4822084605693817, 0.5852248668670654, 0.13483156263828278, 0.21091635525226593, -0.4173687696456909, -0.44020670652389526, -0.13434119522571564, -1.103630781173706, -0.9288221001625061, -0.6389941573143005, -0.515251636505127, -0.2648717761039734, -0.43466103076934814, 0.6227566599845886, 0.6043954491615295, -0.6518517732620239, 0.2306469976902008, -0.13240857422351837, 0.4605632722377777, -0.523209810256958, -0.36232417821884155, 0.437679260969162, -0.29746487736701965, -0.47581732273101807, 0.032401155680418015, 0.6936003565788269, -0.21668238937854767, -0.6049744486808777, 0.49323296546936035, 0.16325931251049042, 0.3956547975540161, 0.5436835885047913, 0.30624279379844666, -0.5916630625724792, -0.6002939343452454, -0.5436940789222717, 0.3520458936691284, 0.4653681516647339, 1.143874168395996, -0.5712248086929321, 0.5137133598327637, 0.5187270045280457, 0.6254740357398987, 0.38975366950035095, 0.3343755602836609, 0.6485134959220886, -1.2499003410339355, 0.1571589857339859, 0.26315128803253174, 0.29447638988494873, 0.5706524848937988, -0.7098591327667236, 0.413245290517807, 0.20884548127651215, -0.17923659086227417, -0.6038123965263367, 0.26112082600593567, -0.994488000869751, -0.4524412155151367, 0.9692596793174744, -0.5350385904312134, -0.3192908465862274, -0.17684614658355713, 0.1419377624988556, -0.08365004509687424, -0.428433358669281, 1.0254701375961304, 0.8488721251487732, -0.32039323449134827, -0.27506569027900696, -0.2307349145412445, 0.5340670943260193, 0.17319519817829132, -0.8276169300079346, 0.25540053844451904, 0.22744318842887878, -0.054727375507354736, 0.37460389733314514, 0.1933189332485199, -0.05732888728380203, -0.17826060950756073, -0.04175213724374771, 0.3011358678340912, -0.12443037331104279, -0.4489339590072632, -0.5443823337554932, 0.5025525093078613, -0.20898842811584473, -0.15955579280853271 ]
http://arxiv.org/abs/2402.18139v2
http://arxiv.org/pdf/2402.18139v2
Cause and Effect: Can Large Language Models Truly Understand Causality?
2024-02-28T08:02:14
2024-04-15T22:42:11
Swagata Ashwani, Kshiteesh Hegde, Nishith Reddy Mannuru, Mayank Jindal, Dushyant Singh Sengar, Krishna Chaitanya Rao Kathala, Dishant Banga, Vinija Jain, Aman Chadha
cs.CL
cs.CL, cs.AI
With the rise of Large Language Models(LLMs), it has become crucial to understand their capabilities and limitations in deciphering and explaining the complex web of causal relationships that language entails. Current methods use either explicit or implicit causal reasoning, yet there is a strong need for a unified approach combining both to tackle a wide array of causal relationships more effectively. This research proposes a novel architecture called Context Aware Reasoning Enhancement with Counterfactual Analysis(CARE CA) framework to enhance causal reasoning and explainability. The proposed framework incorporates an explicit causal detection module with ConceptNet and counterfactual statements, as well as implicit causal detection through LLMs. Our framework goes one step further with a layer of counterfactual explanations to accentuate LLMs understanding of causality. The knowledge from ConceptNet enhances the performance of multiple causal reasoning tasks such as causal discovery, causal identification and counterfactual reasoning. The counterfactual sentences add explicit knowledge of the not caused by scenarios. By combining these powerful modules, our model aims to provide a deeper understanding of causal relationships, enabling enhanced interpretability. Evaluation of benchmark datasets shows improved performance across all metrics, such as accuracy, precision, recall, and F1 scores. We also introduce CausalNet, a new dataset accompanied by our code, to facilitate further research in this domain.
[ -0.13798247277736664, -1.1098889112472534, 0.8984725475311279, 0.3020477294921875, -0.2071736454963684, -0.4985978901386261, 0.05670967325568199, -0.7082184553146362, 0.1009553000330925, 0.4251238703727722, -0.61567223072052, -0.12335403263568878, -0.5622337460517883, -0.14174407720565796, -0.41222018003463745, 0.5952343940734863, 0.0952720195055008, 0.14227807521820068, -0.28194355964660645, -0.09115637838840485, -0.6993644833564758, -0.28218936920166016, -1.1007041931152344, -0.6023069024085999, 0.6592390537261963, 0.29292887449264526, 0.49926599860191345, 0.4309949278831482, 0.4227607548236847, 0.3581434190273285, 0.03575736656785011, 0.13435032963752747, -0.5846248269081116, -0.04999535158276558, -0.6728406548500061, -0.5020214319229126, -0.5315393805503845, -0.46816566586494446, 0.37845945358276367, 0.5580675601959229, 0.01324324682354927, -0.19719363749027252, -0.17511458694934845, 0.532593309879303, -0.601862370967865, 0.2462121546268463, -0.5824930667877197, -0.1633767932653427, 0.09424299746751785, -0.4914686381816864, -0.2845134139060974, 0.04654580354690552, 0.15284040570259094, -0.7756630778312683, 0.16568313539028168, 0.07674608379602432, 0.515935480594635, 0.46249890327453613, -0.6708171367645264, -0.15615826845169067, -0.6147285103797913, 0.5483044981956482, -0.8006118535995483, 0.33695295453071594, 0.08413495123386383, 0.14057657122612, -0.4628838002681732, -0.8146905899047852, -0.8502109050750732, -0.03442477807402611, -0.22379447519779205, 0.2170763611793518, -0.4372049868106842, -0.0934128537774086, 0.30239444971084595, 0.11587792634963989, -0.7014555335044861, 0.3884578347206116, -0.15600545704364777, -0.11294055730104446, 0.6227839589118958, 0.298289954662323, 0.7329127192497253, -0.04776592552661896, -0.42923977971076965, 0.24364033341407776, -1.108870029449463, -0.07308569550514221, -0.0983741506934166, 0.23882782459259033, -0.3294326066970825, 0.1974610537290573, -0.17762331664562225, 0.5814063549041748, -0.2432761788368225, 0.18930339813232422, -0.24413500726222992, -0.3041142523288727, -0.5799185037612915, 0.3449006974697113, 0.4356801211833954, 0.30239710211753845, 0.22714383900165558, -0.18066217005252838, 0.3311055302619934, 0.293915331363678, 0.30382803082466125, -0.8972193598747253, 0.07346543669700623, 0.421761691570282, -0.3716720938682556, -0.1245778501033783, -0.03785831108689308, -0.3003425896167755, -0.5508754253387451, -0.734363317489624, 0.4217139184474945, -0.08572608232498169, -0.5730338096618652, 0.5580065846443176, -0.09535222500562668, 0.22099731862545013, 0.4167361557483673, -0.35580986738204956, 0.2012682408094406, 0.7743536233901978, 0.658037543296814, -0.07086344808340073, -0.19863276183605194, -0.5682570934295654, 0.387291818857193, -0.45881974697113037, 0.7929175496101379, -0.32880130410194397, -0.257485568523407, -0.04379972070455551, 0.1857908070087433, -0.18504148721694946, -0.28599658608436584, 0.46534544229507446, -0.6840819120407104, 0.031844403594732285, -0.4861721098423004, -0.503088116645813, -0.3587229251861572, 0.04577268287539482, -0.7049721479415894, 0.51652991771698, -0.39041033387184143, -0.7721726298332214, 0.46642976999282837, -0.7747070789337158, -0.7325854301452637, -0.035280704498291016, -0.1885843575000763, -0.16343575716018677, 0.23336705565452576, 0.01695590279996395, 0.5575816035270691, -0.5398141145706177, 1.1377702951431274, -0.5006421208381653, -0.34636035561561584, 0.22707876563072205, -0.5818053483963013, 0.8769672513008118, 0.06249212101101875, -0.6036115288734436, 0.39122286438941956, -0.6808305978775024, -0.35209232568740845, 0.07117905467748642, 0.16650144755840302, -0.5439878106117249, 0.1513223797082901, 0.059546876698732376, 0.6869487166404724, -0.026459168642759323, -0.37482109665870667, -0.16138441860675812, -0.44613537192344666, 0.24445903301239014, 0.6852977275848389, 0.09285429865121841, 0.21216058731079102, -0.06352093815803528, 0.2635729908943176, 0.39809441566467285, 0.19416865706443787, -0.05933908000588417, -0.2717417776584625, -0.6069796085357666, -0.17342235147953033, -0.5243884325027466, 0.46769434213638306, -0.8618558049201965, 0.1990041434764862, -0.26353028416633606, -0.17907597124576569, 0.18721744418144226, -0.07223397493362427, 0.6120868921279907, 0.9841412305831909, 0.5919851064682007, -0.024030674248933792, -0.6947964429855347, -0.8528826832771301, -0.3605329096317291, -0.30397453904151917, 0.1478462815284729, 0.34438440203666687, 0.6211910843849182, -0.3429126441478729, 0.8877411484718323, -0.6143386363983154, -0.04424319043755531, -0.19783030450344086, 0.017506927251815796, 0.24801981449127197, 0.5462981462478638, 0.330757737159729, -1.0436958074569702, 0.17401552200317383, -0.1686970293521881, -0.9211663603782654, -0.3452068865299225, -0.2500810921192169, -0.20946280658245087, 0.08687248826026917, 0.9560030698776245, -0.4099917411804199, 0.5185345411300659, 0.29097238183021545, -0.8236050009727478, 0.6320303678512573, -0.24253496527671814, 0.07005568593740463, -1.1006966829299927, 0.41539523005485535, 0.1220988780260086, 0.011837676167488098, -0.7924059629440308, -0.0753265768289566, -0.10789842158555984, 0.08030834794044495, -0.6017827987670898, 0.8793513178825378, 0.06742623448371887, 0.03827233240008354, -0.3135799765586853, 0.19117164611816406, 0.2740616202354431, 0.3057865500450134, 0.27631044387817383, 0.484357088804245, 0.4442462921142578, -0.710527241230011, 0.16102738678455353, 0.07615144550800323, -0.30253300070762634, 0.7283541560173035, -1.053467869758606, -0.513178288936615, -0.32250043749809265, 0.4560277462005615, -1.039023756980896, -0.24508036673069, 0.13555757701396942, -0.2209516316652298, 0.17221294343471527, 0.2152346968650818, -0.4057932496070862, -0.10868361592292786, 0.13594280183315277, 0.2589893937110901, -0.04672954976558685, -0.7259039878845215, 0.5776300430297852, 0.08924232423305511, 0.14776611328125, -0.6008538007736206, -0.8138892650604248, 0.2072356641292572, -0.3793048560619354, -0.5648018717765808, 0.29723888635635376, -0.19288532435894012, -0.48730215430259705, -0.05921110510826111, -0.22195492684841156, -0.21715551614761353, 0.46109849214553833, 0.4029911756515503, 0.29051363468170166, -0.39274656772613525, 0.6707862019538879, 0.16322170197963715, -0.2937436103820801, 0.4372487962245941, -0.26759812235832214, 0.18101821839809418, 0.05392877757549286, -0.22479002177715302, -0.40301501750946045, 0.4168345332145691, 0.7165378332138062, -0.1445915699005127, 1.0389324426651, 0.554311215877533, -0.3540076017379761, -0.15821008384227753, -0.3842284679412842, -0.31813347339630127, -0.4187195301055908, 0.42535337805747986, -0.4414205849170685, -1.0644221305847168, 0.6150785088539124, -0.23196294903755188, -0.2949252724647522, 0.5757186412811279, 0.4539252817630768, 0.2814762592315674, 0.842864990234375, 0.4165894091129303, -0.20117701590061188, 0.30232053995132446, 0.0140228271484375, 0.47186222672462463, -0.7200334072113037, -0.4575290381908417, -0.3661206066608429, 0.26639991998672485, -0.45563626289367676, -0.22935260832309723, 0.27465465664863586, 0.17940586805343628, -0.6864194273948669, 0.09883660078048706, -0.0512210875749588, 0.22127258777618408, 0.06495894491672516, 0.28162288665771484, 0.4612048864364624, -0.2291117161512375, -0.06050616875290871, 0.26523277163505554, -0.7526582479476929, -0.37313294410705566, 0.5439196228981018, 0.24424521625041962, 0.5071448683738708, 0.5118519067764282, 0.08142291754484177, 0.17701035737991333, 0.3975282609462738, -0.5130274891853333, 0.44151654839515686, -0.11645205318927765, -0.7831640243530273, -0.3422079086303711, -0.5057242512702942, -0.8516674637794495, 0.41094717383384705, -0.25572654604911804, -0.8627141118049622, 0.40728288888931274, 0.310136616230011, -0.15009500086307526, 0.04879584163427353, -0.6719602346420288, 0.9059639573097229, -0.15357749164104462, -0.8581517934799194, -0.4464987814426422, -0.5324030518531799, 0.6626280546188354, -0.0391877144575119, 0.39791396260261536, 0.10751808434724808, 0.25558096170425415, 0.5222775340080261, -0.33942747116088867, 1.1638683080673218, -0.12775574624538422, -0.4766313433647156, 0.057970672845840454, -0.0003420847642701119, 0.32528623938560486, 0.284249484539032, -0.10059347748756409, 0.21148540079593658, -0.2215302437543869, -0.2971445620059967, -0.8390748500823975, 1.0907806158065796, -0.41432276368141174, -0.7785378694534302, 0.02636721357703209, -0.6142255067825317, -0.22050584852695465, 0.2383291870355606, -0.12557008862495422, 0.9136293530464172, -0.30571070313453674, 0.07511211931705475, 0.7620245814323425, -0.527019739151001, 0.46007752418518066, 0.8764556646347046, -0.028823763132095337, 0.058129992336034775, 0.6431816220283508, -0.1368054747581482, 0.1789211928844452, 0.6850704550743103, 0.5293022394180298, -0.4381219148635864, -0.134253591299057, -0.21145763993263245, 0.15631848573684692, -0.6838558316230774, -0.00813688151538372, -0.7756971120834351, 0.22355785965919495, -0.40887248516082764, -0.19412453472614288, -0.1182502806186676, -0.24141956865787506, -0.3182494044303894, -0.18879885971546173, 0.3140544295310974, 0.5566160082817078, -0.1739584058523178, 0.39251774549484253, -0.4080779552459717, 0.5176687836647034, 0.35838332772254944, 0.31512874364852905, 0.4748441278934479, -0.3028974235057831, -0.2349003404378891, -0.1420021504163742, 0.21463744342327118, -0.5981297492980957, 0.1890321671962738, -0.12948982417583466, 0.4538598954677582, 0.7352362871170044, 0.026488836854696274, 0.9323533177375793, -0.5331127047538757, 0.6021806597709656, 0.3562347888946533, -1.0483847856521606, 0.5997011661529541, -0.3413030803203583, 0.4190385937690735, 0.1295960545539856, 0.32733815908432007, -0.4549422860145569, -0.21136559545993805, -0.6405162811279297, -0.8508033752441406, 0.5978395938873291, 0.0043671997264027596, -0.20607924461364746, -0.059179581701755524, 0.440181702375412, -0.14169204235076904, -0.1549701690673828, -0.5676606893539429, -0.20124614238739014, -0.0761314257979393, -0.12419778853654861, -0.4113546311855316, -0.3333228826522827, -0.10849405825138092, -0.13298781216144562, 0.7252885699272156, -0.16727851331233978, 0.02750144898891449, 0.5106402635574341, -0.1890764832496643, -0.1097148135304451, 0.39407625794410706, 0.8968147039413452, 0.9647291898727417, 0.09475008398294449, 0.3291695713996887, 0.05346749722957611, -0.1456442028284073, -0.13313543796539307, 0.1347295045852661, 0.08117235451936722, -0.3434413969516754, 1.0462144613265991, 0.7379553318023682, 0.4850601553916931, -0.6497693061828613, 0.3774925470352173, -0.10840482264757156, 0.264698326587677, -0.1452479362487793, 0.2923203408718109, 0.36683791875839233, 0.3630262613296509, 0.1961379051208496, -0.22059032320976257, 0.3400379419326782, -0.548607349395752, 0.27909934520721436, 0.3993784785270691, -0.4899097681045532, -0.2998565435409546, 0.6903923153877258, 0.025346161797642708, 0.11081349849700928, 0.23155981302261353, 0.36606961488723755, -0.48348021507263184, 1.0381628274917603, 0.7754665613174438, 0.5237817764282227, -0.29592496156692505, 0.20325441658496857, 0.48330003023147583, 0.3418625295162201, -0.042286016047000885, 0.32208961248397827, -0.018549200147390366, -1.052912712097168, -0.7369540929794312, -0.2591365873813629, -0.19381187856197357, 0.3260142207145691, -0.5977994799613953, -0.216553196310997, -0.05434517189860344, 0.27298226952552795, 0.11044688522815704, -0.09747926145792007, -0.585584819316864, 0.6742308139801025, -0.3235204219818115, 0.7275482416152954, -1.2405030727386475, 0.6437661647796631, 0.48032525181770325, -0.48231053352355957, -0.9244943261146545, -0.15499567985534668, 0.04079538583755493, -0.7766475081443787, 1.1029688119888306, 0.21772588789463043, -0.47940269112586975, -0.27730393409729004, -0.5143653154373169, -0.5392540693283081, 1.023653268814087, 0.3585171699523926, -0.7127543091773987, 0.4431367814540863, 0.08682779967784882, 0.6428872346878052, -0.3981117904186249, 0.2819124162197113, 0.5600829124450684, 0.5431804656982422, 0.07747792452573776, -0.5720312595367432, 0.5940281748771667, -0.13800100982189178, -0.09878625720739365, -0.004006414208561182, -0.3448573350906372, 0.3748503029346466, -0.18703895807266235, -0.041059643030166626, -0.37585097551345825, 0.4310259521007538, 0.38215622305870056, 0.692363977432251, 0.3613945245742798, 0.5393959283828735, 0.5853032469749451, 0.09647233039140701, 1.3554953336715698, -0.1808609813451767, 0.00712094409391284, 1.3075519800186157, -0.3199923634529114, 0.48425182700157166, 0.6233490109443665, 0.15437838435173035, 0.6891112327575684, 0.27832043170928955, 0.6276136636734009, 0.27686455845832825, 0.28196436166763306, -0.3626800775527954, -0.5425375699996948, -0.6241688132286072, -0.19132433831691742, 0.4744035601615906, 0.4745750427246094, -0.381087988615036, -0.09941522777080536, -0.14040276408195496, 0.2512003779411316, 0.015226385556161404, -0.4431250989437103, 0.5797024965286255, 0.38022714853286743, -0.5504236221313477, 0.13272912800312042, -0.15666598081588745, 0.2015373408794403, -0.5364123582839966, -0.21399885416030884, -0.22693660855293274, 0.320210337638855, -0.2918890118598938, -0.4232151210308075, 0.4598288834095001, -0.34467756748199463, -0.3833935260772705, -0.001915200729854405, 0.9504465460777283, -0.34963923692703247, -0.3415180444717407, 0.6127122044563293, 0.6686821579933167, -0.1191398873925209, 0.062348898500204086, -0.47528505325317383, 0.03086337260901928, -0.4130394458770752, -0.13965126872062683, 0.09423040598630905, 0.5516893863677979, -0.3859366178512573, 0.6312892436981201, 0.7946867346763611, 0.06338842213153839, -0.5510638952255249, 0.4724653363227844, 0.8653252124786377, -0.6243781447410583, -0.5825769901275635, -1.102872610092163, 0.5195215940475464, -0.21696896851062775, -0.19971194863319397, 0.5292328596115112, 0.18400973081588745, 0.4001975953578949, 0.006107216700911522, 0.435064435005188, 0.19049933552742004, 0.17371807992458344, -0.6984279155731201, 0.6588409543037415, -0.8545206189155579, 0.38605648279190063, -0.35394299030303955, -0.49113786220550537, -0.6012541055679321, 0.31357771158218384, -0.6360679268836975, -0.14908568561077118, 0.7762597799301147, 0.8931716680526733, -0.06044922396540642, 0.1708911806344986, 0.44194495677948, 0.5243675708770752, 0.5895472168922424, 0.5863914489746094, 0.6887202262878418, -0.14479714632034302, 0.052422016859054565, 0.3756803870201111, -0.2465382069349289, -0.06125219911336899, -1.0683841705322266, -0.9086151719093323, -0.41277170181274414, -0.35901832580566406, -0.01377644669264555, 0.18600836396217346, 0.4155306816101074, 0.621186375617981, -0.7984324097633362, 0.14761440455913544, -0.6124846935272217, 0.5196811556816101, -0.08721296489238739, -0.3469192385673523, 0.7117515802383423, -0.21184898912906647, -0.19804252684116364, 0.5441258549690247, 0.5137904286384583, -0.42354047298431396, -0.22465169429779053, -0.0902407094836235, -0.35256966948509216, 0.34115636348724365, 0.9507026076316833, 0.2678460478782654, -0.7238360047340393, -0.3453400731086731, -0.35724931955337524, 0.20840492844581604, -0.4878619313240051, 1.1644505262374878, -0.6766207814216614, 0.4905714988708496, 0.4309000074863434, 0.5934125185012817, 0.13641826808452606, -0.2703377604484558, 0.6857576966285706, -0.33350905776023865, 0.1433408260345459, -0.3125143051147461, 0.5790897011756897, 0.170088529586792, -0.732404887676239, 0.5294255018234253, 0.21374332904815674, -0.19320228695869446, -0.45761436223983765, 0.5036223530769348, -0.8328633308410645, -0.7886236906051636, 1.02546226978302, -0.22478355467319489, -0.005367399659007788, -0.4347832500934601, -0.012625344097614288, 0.45253831148147583, -0.11322510987520218, 0.7078678607940674, 0.3712539076805115, -0.30390745401382446, -0.05513491854071617, -0.46706292033195496, 0.25202301144599915, 0.5913308262825012, -1.174134373664856, -0.06239122152328491, 0.7533579468727112, 0.16567866504192352, -0.08674032986164093, 0.5295273661613464, -0.1744728982448578, 0.3450816869735718, -0.2818693220615387, -0.1625610888004303, -0.21624867618083954, -0.400713711977005, -0.4105253219604492, 0.0862634927034378, -0.40403252840042114, 0.2784818112850189 ]
http://arxiv.org/abs/2402.18137v2
http://arxiv.org/pdf/2402.18137v2
DecisionNCE: Embodied Multimodal Representations via Implicit Preference Learning
2024-02-28T07:58:24
2024-05-24T03:31:50
Jianxiong Li, Jinliang Zheng, Yinan Zheng, Liyuan Mao, Xiao Hu, Sijie Cheng, Haoyi Niu, Jihao Liu, Yu Liu, Jingjing Liu, Ya-Qin Zhang, Xianyuan Zhan
cs.RO
cs.RO, cs.AI, cs.CL, cs.CV, cs.LG
Multimodal pretraining is an effective strategy for the trinity of goals of representation learning in autonomous robots: 1) extracting both local and global task progressions; 2) enforcing temporal consistency of visual representation; 3) capturing trajectory-level language grounding. Most existing methods approach these via separate objectives, which often reach sub-optimal solutions. In this paper, we propose a universal unified objective that can simultaneously extract meaningful task progression information from image sequences and seamlessly align them with language instructions. We discover that via implicit preferences, where a visual trajectory inherently aligns better with its corresponding language instruction than mismatched pairs, the popular Bradley-Terry model can transform into representation learning through proper reward reparameterizations. The resulted framework, DecisionNCE, mirrors an InfoNCE-style objective but is distinctively tailored for decision-making tasks, providing an embodied representation learning framework that elegantly extracts both local and global task progression features, with temporal consistency enforced through implicit time contrastive learning, while ensuring trajectory-level instruction grounding via multimodal joint encoding. Evaluation on both simulated and real robots demonstrates that DecisionNCE effectively facilitates diverse downstream policy learning tasks, offering a versatile solution for unified representation and reward learning. Project Page: https://2toinf.github.io/DecisionNCE/
[ -0.06023915112018585, -0.17608602344989777, 0.9332799911499023, 0.04196548089385033, 0.014475868083536625, 0.1550525724887848, -0.15043099224567413, 0.025858651846647263, 0.25140300393104553, 0.5323277711868286, -0.765720784664154, -0.569259524345398, -0.7027680277824402, -0.19930486381053925, 0.07943972200155258, 0.9823163747787476, -0.29408136010169983, 0.05624014139175415, -0.17202037572860718, -0.34673643112182617, -0.5870749354362488, -0.4232448935508728, -0.5795948505401611, -0.44210636615753174, 0.8032981157302856, 0.4548441171646118, 0.6374519467353821, 0.4587220847606659, 0.34172841906547546, 0.41847097873687744, 0.6088704466819763, 0.22627794742584229, -0.39262107014656067, 0.058338675647974014, -0.1950560361146927, -0.448354572057724, -0.08441022783517838, 0.12179514020681381, 0.5622521042823792, 0.501782238483429, -0.09406166523694992, -0.10816577821969986, 0.04630154371261597, 0.8888147473335266, -0.8478066921234131, 0.3743775486946106, -0.10052792727947235, 0.3102198541164398, 0.25036191940307617, -0.2869044542312622, -0.406036376953125, -0.36744314432144165, -0.041167810559272766, -0.9069013595581055, -0.0827382355928421, -0.17326505482196808, 0.7374511361122131, 0.5573678016662598, -0.5559861660003662, -0.2322952002286911, -0.7322061657905579, 0.8398844599723816, 0.048629943281412125, 0.5544431209564209, 0.056250911206007004, 0.40990394353866577, 0.06644555181264877, -0.5968753695487976, -0.49147486686706543, -0.5117366313934326, -0.13710807263851166, 0.6354495882987976, -0.0802721157670021, 0.4764179289340973, 0.2826908230781555, -0.04001962020993233, -0.5172839760780334, -0.19650393724441528, -0.21633055806159973, -0.3631240725517273, 0.3617219924926758, -0.05265054479241371, 0.2965839207172394, -0.2344847023487091, -0.7437165975570679, -0.6830707788467407, -0.34438708424568176, 0.5086783766746521, 0.45049145817756653, 0.28498348593711853, -0.18776963651180267, 0.5700171589851379, -0.2170088291168213, 0.4573839008808136, 0.12883588671684265, -0.08353825658559799, 0.3881773054599762, -0.05725037679076195, 0.12526662647724152, 0.004114879760891199, 0.6983253359794617, 0.28372636437416077, 0.11023245751857758, -0.2668454051017761, -0.08182545006275177, 0.21331548690795898, 0.5546914339065552, -0.5806303024291992, -0.32830676436424255, 0.05548574775457382, -0.334989994764328, 0.009072874672710896, 0.45462843775749207, -0.6140615344047546, -0.21218417584896088, -0.7990094423294067, 0.6206104159355164, -0.37143707275390625, -0.2701263129711151, 0.28861021995544434, -0.17728573083877563, 0.13786356151103973, 0.514408528804779, -0.806984007358551, 0.055625613778829575, 0.1351783126592636, 0.7030869722366333, -0.2000177949666977, -0.2320365309715271, -0.431413471698761, 0.37175074219703674, -0.41598671674728394, 0.6604714393615723, -0.5875934362411499, -0.33487749099731445, -0.22730176150798798, 0.17537523806095123, -0.0850096046924591, -0.2006945013999939, 0.48107877373695374, -0.3437114357948303, 0.07066696882247925, -0.20952549576759338, -0.0580429844558239, -0.4858848452568054, 0.29896268248558044, -0.7903103828430176, 0.7675879597663879, 0.20820949971675873, -0.26780030131340027, 0.6820818781852722, -0.8409279584884644, -0.25441524386405945, -0.26981642842292786, -0.4430292546749115, -0.12383559346199036, -0.15845604240894318, 0.1283280998468399, 0.43620386719703674, 0.1169138103723526, 0.3596971035003662, -0.1905800998210907, -0.08702818304300308, -0.37580838799476624, -0.37359943985939026, 0.4190560579299927, 0.027848055586218834, -0.4594930410385132, 0.5678571462631226, -0.5010166168212891, -0.018337957561016083, 0.17245016992092133, -0.2559032738208771, -0.2375389039516449, 0.1818702071905136, -0.38188037276268005, 0.2877359390258789, 0.48174208402633667, -0.3835049271583557, 0.22950077056884766, -0.007157821208238602, -0.08860130608081818, 1.2029540538787842, -0.4650281071662903, 0.8611935973167419, -0.3005804717540741, 0.4677993655204773, 0.0943835973739624, 0.30698060989379883, -0.26501742005348206, -0.08591912686824799, -0.9936415553092957, -0.25633808970451355, -0.11472895741462708, 0.4968244731426239, -0.7885808944702148, 0.28630948066711426, -0.2076987326145172, -0.19055308401584625, -0.17558123171329498, 0.08912809938192368, 0.5477144718170166, 0.4051869213581085, 0.5379123091697693, -0.2770920991897583, -0.4600974917411804, -0.9547489881515503, 0.18693388998508453, -0.36782407760620117, 0.08963591605424881, 0.2968215048313141, 0.40256747603416443, -0.3695400059223175, 0.8620125651359558, -0.43874281644821167, -0.2420397400856018, -0.09395068138837814, 0.5730485916137695, 0.3175497055053711, 0.6003737449645996, 0.6179584860801697, -1.120584487915039, 0.0171161200851202, 0.04480355605483055, -0.8367471694946289, 0.288703590631485, -0.21159550547599792, -0.42897701263427734, -0.044426921755075455, 0.37740233540534973, -0.40041646361351013, 0.3248712122440338, 0.46606123447418213, 0.02589525282382965, 0.3674277067184448, -0.46293553709983826, 0.6501461863517761, -0.8706029057502747, -0.07624845206737518, -0.17035070061683655, -0.30574217438697815, -0.09373393654823303, -0.08546645194292068, 0.07346214354038239, 0.009794789366424084, -0.3876006007194519, 0.41952455043792725, -0.3381020724773407, -0.07696408778429031, -0.09488725662231445, -0.0687723383307457, -0.028920238837599754, 0.8218202590942383, 0.4241173565387726, 0.6316149234771729, 0.6025386452674866, -0.9055935740470886, 0.4915255904197693, 0.1541706770658493, 0.05911865085363388, 0.5543487071990967, -0.5028314590454102, 0.2364567071199417, -0.5060316920280457, 0.24887242913246155, -1.0693120956420898, -0.29655948281288147, 0.35173100233078003, -0.4155518412590027, 0.1364864856004715, -0.14594581723213196, -0.11346052587032318, -0.40343332290649414, -0.2198963463306427, 0.3676012456417084, 0.37257707118988037, -0.6719858646392822, 1.0038039684295654, 0.1593138873577118, 0.28728145360946655, -0.9290105700492859, -0.41610172390937805, -0.3379272520542145, 0.019664624705910683, -0.4538824260234833, 0.3508901298046112, -0.250866174697876, -0.006812218111008406, -0.10842885076999664, -0.3478502929210663, 0.2857198417186737, -0.20987285673618317, 0.4099084436893463, 0.30843454599380493, -0.004393455106765032, 0.1886357069015503, 0.11744676530361176, -0.5790657997131348, -0.10523571819067001, -0.5411211848258972, 0.4570736885070801, -0.0947646051645279, -0.6224868297576904, -0.054251398891210556, 0.33911943435668945, 0.44017350673675537, -0.0923389419913292, 0.25853490829467773, 0.7471361756324768, -0.12035830318927765, -0.14763379096984863, -0.246135875582695, -0.2591639459133148, -0.49249568581581116, 0.30529898405075073, -0.2737917900085449, -0.6965656280517578, 0.10840453952550888, -0.5060278177261353, 0.09546094387769699, 0.24994231760501862, 0.27413931488990784, -0.36520496010780334, 1.2646775245666504, 0.9505845308303833, 0.11365252733230591, 0.6082669496536255, -0.4384983479976654, -0.14387328922748566, -0.5561122894287109, -0.5540984869003296, -0.1896984577178955, -0.4538359045982361, -0.35761988162994385, -0.4820916950702667, 0.5445528626441956, 0.12282869964838028, -0.6386075019836426, 0.3855993151664734, -0.47423940896987915, 0.43301138281822205, 0.6529894471168518, 0.5446354746818542, 0.04216769337654114, 0.05928356200456619, -0.3963606357574463, -0.16292956471443176, -0.3424172103404999, -0.7401131987571716, 0.9683716893196106, -0.42750996351242065, 0.8977848291397095, 0.02220502495765686, 0.7018910050392151, 0.6374098658561707, -0.007879347540438175, -0.6350981593132019, 0.6120903491973877, -0.29566898941993713, -0.27240830659866333, -0.03351617604494095, -0.30018582940101624, -1.041524887084961, 0.08110502362251282, -0.3675656318664551, -0.6544986963272095, 0.2025502324104309, 0.3627568185329437, -0.3212727904319763, 0.2878207564353943, -0.5443272590637207, 1.1853511333465576, -0.6657004356384277, -0.5442380905151367, -0.3503354787826538, -1.0202972888946533, 0.07169868052005768, 0.34717226028442383, 0.0056902035139501095, -0.29985401034355164, -0.07498867809772491, 0.5726088285446167, 0.08334526419639587, 0.7062555551528931, -0.24376481771469116, 0.14378312230110168, -0.004724598024040461, 0.12475577741861343, 0.3275673985481262, -0.01092529110610485, 0.12582086026668549, 0.023466898128390312, -0.40006062388420105, -0.4018431007862091, -0.7092748880386353, 0.2948274314403534, -0.8935412168502808, -0.48010897636413574, -0.4864531457424164, -0.4916374087333679, -0.1645325869321823, 0.20868991315364838, 0.10866831988096237, 0.45950302481651306, -0.37318068742752075, 0.007966474629938602, 0.6048256754875183, -0.10961195081472397, 0.4296865165233612, 0.3677275478839874, -0.31113752722740173, -0.18820834159851074, 0.9830881357192993, -0.38967540860176086, 0.35619497299194336, 0.9132370352745056, 0.10273055732250214, -0.5313348770141602, -0.09911037236452103, -0.41120994091033936, -0.03302730619907379, -0.9945144653320312, 0.06051189452409744, -0.6975780129432678, 0.07360783964395523, -0.05787757411599159, -0.5630751252174377, -0.5324110984802246, -0.20889508724212646, -0.2676919102668762, -0.20866195857524872, 0.16347280144691467, 0.9413561224937439, -0.5022127628326416, 0.2666008472442627, -0.5647851824760437, 0.6992645859718323, 0.7541967630386353, -0.11567314714193344, -0.4620121419429779, -0.14923371374607086, 0.10861577838659286, 0.31960877776145935, -0.5388283133506775, -0.5699084997177124, 0.08861686289310455, 0.0346229188144207, 0.7197660207748413, 0.4761418402194977, 0.009016447700560093, 0.735590934753418, -0.3538462817668915, 0.6243365406990051, 0.5821331739425659, -0.7905264496803284, 0.87762850522995, -0.3686084747314453, 0.1307946890592575, 0.6600685119628906, 0.7156203389167786, -0.40626540780067444, -0.062268584966659546, -0.48053058981895447, -0.8033896088600159, 0.8381457924842834, 0.08423607051372528, 0.25416216254234314, 0.14253421127796173, -0.016888536512851715, 0.22209446132183075, 0.20360393822193146, -1.004630446434021, -0.20961585640907288, -0.4123248755931854, -0.3005344271659851, -0.17933343350887299, 0.21797063946723938, -0.24670815467834473, -0.22590868175029755, 0.2989952564239502, -0.4754350483417511, 0.5200455188751221, 0.10378164052963257, -0.31707072257995605, 0.14621031284332275, 0.06524193286895752, 0.4040481448173523, 0.48900386691093445, -0.06516388803720474, 0.10967931896448135, -0.18183772265911102, -0.23651336133480072, 0.6042070984840393, -0.06960541009902954, 0.02609183080494404, -0.16342206299304962, 0.23319849371910095, 0.978240966796875, 0.2967125177383423, -0.637006402015686, 0.5847817063331604, 0.023556619882583618, -0.02147498168051243, -0.31786680221557617, 0.2990729808807373, -0.28996673226356506, 0.4775221645832062, 0.3449500501155853, 0.6189230680465698, 0.22545664012432098, -0.5421108603477478, 0.28329670429229736, 0.4080912470817566, -0.691510796546936, -0.28082385659217834, 0.8132072687149048, 0.07890132814645767, 0.2237628847360611, 0.39914336800575256, -0.25157395005226135, -0.37451568245887756, 0.7494580745697021, 0.1983216106891632, 0.8561092615127563, -0.3129681348800659, 0.704025149345398, 0.7369385957717896, 0.2767774760723114, -0.33410149812698364, 0.2895020842552185, -0.5321381092071533, -0.951097309589386, -0.2697727680206299, -0.4783325791358948, -0.43882039189338684, -0.6338942646980286, -0.5252951383590698, 0.33433452248573303, -0.43028008937835693, -0.07951899617910385, -0.4964825212955475, -0.6773195266723633, -0.675193190574646, 0.29213032126426697, 0.2760065793991089, -0.1534389704465866, -0.6232158541679382, 0.467590868473053, 0.768353283405304, -0.766871452331543, -0.7845634818077087, -0.19477955996990204, 0.147984579205513, -1.009340524673462, 1.0829484462738037, 0.4923151731491089, -0.8096071481704712, -0.03654533624649048, -0.7702630758285522, -0.8551112413406372, 1.1256457567214966, 0.859908401966095, -0.40942150354385376, -0.07127553224563599, -0.0849088504910469, -0.05294765159487724, -0.3433702290058136, 0.519318699836731, 0.25114941596984863, 0.7531754374504089, 0.36965230107307434, -0.426683247089386, -0.21355542540550232, -0.2829005718231201, -0.19759079813957214, 0.28803369402885437, -0.7128472924232483, 0.889995276927948, -0.47441962361335754, -0.32501718401908875, -0.0029654919635504484, 0.5414558053016663, 0.31520724296569824, -0.09081678837537766, 0.6785873174667358, 0.5353545546531677, 0.71181321144104, -0.4339650571346283, 1.0152597427368164, 0.03674325346946716, 0.15708184242248535, 0.7695167064666748, -0.14484046399593353, 0.324920654296875, 0.17181195318698883, -0.040703073143959045, 0.8574990034103394, 0.48437559604644775, 0.49549517035484314, 0.7850156426429749, -0.15842978656291962, -0.1713142693042755, -0.708293616771698, -0.09945732355117798, -0.3156563639640808, 0.5791922807693481, 0.20085546374320984, -0.08606348186731339, -0.29893794655799866, 0.39706435799598694, -0.01724126562476158, 0.17560070753097534, -0.43165335059165955, 0.7467629313468933, -0.29682981967926025, -0.7210001349449158, 0.2235480397939682, -0.5105071067810059, 0.7418788075447083, -1.1283565759658813, -0.5324838161468506, 0.08712594211101532, 0.30309367179870605, -0.04629499465227127, -0.7535521984100342, -0.18423177301883698, -0.468421071767807, -0.1870456039905548, -0.6407510638237, 0.42476004362106323, -0.49335217475891113, -0.427848219871521, 0.7463464736938477, 0.19116322696208954, 0.009156867861747742, 0.056900493800640106, -0.8899713158607483, -0.09991280734539032, -0.00746264448389411, -0.07427386194467545, -0.06571241468191147, 0.2822427451610565, 0.0965690091252327, 0.6877701878547668, 0.5298139452934265, -0.23630332946777344, -0.07823480665683746, 0.03575652837753296, 0.7348661422729492, -0.6013593673706055, -0.43326711654663086, -0.6840559840202332, 0.8141994476318359, -0.06985768675804138, -0.2655886709690094, 0.4567793309688568, 0.33193737268447876, 1.0065500736236572, -0.10743393003940582, 0.6768878102302551, -0.26565027236938477, -0.12365765124559402, -1.0365357398986816, 0.3012782037258148, -0.8710639476776123, -0.42639613151550293, -0.44685685634613037, -0.9458595514297485, -0.10341484844684601, 0.8517510294914246, -0.23303531110286713, 0.45959749817848206, 0.8515551090240479, 0.6906723976135254, -0.0920180082321167, -0.18947839736938477, 0.3421902358531952, -0.30442091822624207, 0.11311917752027512, 0.7641397714614868, 0.9715152382850647, -0.11211112886667252, 0.5085313320159912, -0.20580120384693146, -0.23993949592113495, 0.15112127363681793, -0.8765917420387268, -0.5967852473258972, -0.8530909419059753, -0.1712823361158371, 0.033650338649749756, 0.32102885842323303, 1.149670124053955, 1.1063499450683594, -0.7032779455184937, -0.3214503228664398, -0.16400210559368134, 0.1577865332365036, -0.2809184789657593, -0.14410243928432465, 0.20737086236476898, -0.6129530668258667, -0.8860012888908386, 0.44245487451553345, 0.6169411540031433, 0.05480983853340149, -0.11686591804027557, -0.4920230805873871, -0.1677629053592682, -0.38750123977661133, 0.6994249820709229, 0.3855910003185272, -0.5170628428459167, -0.4430946409702301, -0.038942717015743256, -0.0835043340921402, 0.3496570289134979, 1.0648778676986694, -0.8511731624603271, 0.824405312538147, 0.1642642319202423, 0.5016344785690308, 0.6373060941696167, -0.07839908450841904, 0.6742885708808899, -0.6114558577537537, 0.516440749168396, 0.23755773901939392, 0.5844868421554565, 0.2670726776123047, -0.09655013680458069, 0.6463133096694946, 0.2596454918384552, -0.3781711459159851, 0.032691292464733124, 0.4876246750354767, -1.1864615678787231, -0.16591796278953552, 0.9435848593711853, 0.006354344077408314, -0.176603764295578, -0.08026370406150818, -0.6417656540870667, 0.37153446674346924, -0.5468919277191162, 0.2965572476387024, 0.4547179341316223, -0.13888655602931976, -0.1415005624294281, -0.4769475758075714, 0.2726662755012512, 0.2905551493167877, -0.734818160533905, -0.27676230669021606, 0.8776279091835022, -0.2293807417154312, 0.4470100402832031, 0.7093257308006287, -0.019842403009533882, 0.3651650846004486, -0.2121635377407074, 0.6512333750724792, 0.10626815259456635, -0.8423579335212708, 0.07595354318618774, -0.03759219869971275, -0.24795986711978912, -0.47323766350746155 ]
http://arxiv.org/abs/2402.18121v1
http://arxiv.org/pdf/2402.18121v1
Saving the legacy of Hero Ibash: Evaluating Four Language Models for Aminoacian
2024-02-28T07:22:13
2024-02-28T07:22:13
Yunze Xiao, Yiyang Pan
cs.CL
cs.CL, cs.AI
This study assesses four cutting-edge language models in the underexplored Aminoacian language. Through evaluation, it scrutinizes their adaptability, effectiveness, and limitations in text generation, semantic coherence, and contextual understanding. Uncovering insights into these models' performance in a low-resourced language, this research pioneers pathways to bridge linguistic gaps. By offering benchmarks and understanding challenges, it lays groundwork for future advancements in natural language processing, aiming to elevate the applicability of language models in similar linguistic landscapes, marking a significant step toward inclusivity and progress in language technology.
[ -0.5164146423339844, -0.39654219150543213, 0.42705008387565613, -0.20845317840576172, 0.0684497058391571, 0.3237650990486145, -0.1958828866481781, -0.6037596464157104, -0.14135295152664185, 0.746054470539093, -0.40261316299438477, -0.17582251131534576, -0.38204824924468994, 0.47815433144569397, -0.08757106959819794, 1.105765700340271, -0.0865948423743248, 0.00472994102165103, -0.24336518347263336, -0.7005406022071838, -0.8302791118621826, -0.3511230945587158, -0.8267446756362915, -0.5513889789581299, 0.4799667298793793, 0.7158332467079163, 1.1062703132629395, 0.6742947101593018, 0.5788129568099976, 0.2144470363855362, -0.038370005786418915, -0.0955839678645134, -0.43342509865760803, 0.16438810527324677, -0.6513213515281677, -0.41405320167541504, -0.7478257417678833, -0.1606103479862213, 0.7988852858543396, 0.7917155623435974, 0.2854158282279968, 0.03992524743080139, -0.16814379394054413, 0.6590643525123596, -0.6542645692825317, 0.08316183090209961, -0.5484297871589661, -0.379841685295105, -0.5072706341743469, 0.0023932603653520346, -0.34578055143356323, -0.5285385251045227, -0.01282457821071148, -0.04499134048819542, 0.08608924597501755, 0.13401377201080322, 0.6384584307670593, -0.28075456619262695, -0.24865998327732086, -0.26525643467903137, -0.7094200849533081, 0.8376440405845642, -1.0186904668807983, 0.18776430189609528, 0.6655413508415222, 0.585363507270813, -0.12364000827074051, -1.1681321859359741, -0.8467096090316772, -0.17544673383235931, 0.0217400211840868, -0.03730687126517296, -0.37848198413848877, 0.10353017598390579, 0.011303313076496124, 0.7057989835739136, -0.40582913160324097, 0.34098950028419495, -0.5731586217880249, -0.016199445351958275, 0.7842863202095032, 0.29737189412117004, 0.6979542374610901, -0.27624571323394775, -0.2240362912416458, -0.2854430079460144, -0.9363589882850647, 0.3021136224269867, 0.44061607122421265, 0.5648740530014038, -0.13307783007621765, 0.26055237650871277, -0.16475088894367218, 0.46724560856819153, -0.4726192355155945, -0.2054888904094696, -0.0013117109192535281, -0.23708727955818176, 0.013153341598808765, 0.005130769219249487, 0.7445389628410339, 0.33977431058883667, 0.2334209829568863, -0.053964342921972275, -0.16590699553489685, 0.17998287081718445, 0.3878825008869171, -0.7774305939674377, -0.2999420762062073, 0.23459555208683014, -0.46846961975097656, -0.08749834448099136, -0.49641531705856323, -0.7842288613319397, -0.33232569694519043, 0.08369357883930206, 0.3836507499217987, -0.8593073487281799, -0.14842922985553741, -0.20905521512031555, -0.1577075868844986, 0.029587119817733765, 0.37771111726760864, -1.251284122467041, 0.3593713045120239, 0.5558893084526062, 0.9264890551567078, 0.024525552988052368, -0.3085879385471344, -0.15876804292201996, 0.0890277698636055, -0.2535642981529236, 1.0595762729644775, -0.8245598673820496, -0.3027059733867645, -0.1574403941631317, -0.23657605051994324, -0.12453959137201309, -0.2896132171154022, 0.9491595029830933, -0.33058661222457886, -0.15248054265975952, -0.3450250029563904, -0.6214001774787903, -0.6493869423866272, 0.2645832896232605, -1.0611505508422852, 0.5899595618247986, 0.6462616920471191, -0.536089301109314, 0.07562801241874695, -0.8392599821090698, -0.20637992024421692, 0.5066744089126587, -0.19349388778209686, -0.21192294359207153, 0.22880662977695465, 0.06886908411979675, 0.13945305347442627, -0.724731981754303, 0.056312620639801025, -0.17989516258239746, -0.139537051320076, 0.17528283596038818, -0.5415961146354675, 0.8021599650382996, 0.25579163432121277, -0.24280200898647308, -0.13957008719444275, -0.6612908840179443, 0.07896681129932404, -0.07005243748426437, -0.09840963035821915, -0.36123746633529663, -0.02766573801636696, 0.3410433530807495, 0.15979091823101044, 0.11551729589700699, -0.5247772932052612, 0.3432716429233551, -0.3803189694881439, 0.5852746963500977, 0.6476244330406189, -0.09320991486310959, 0.16508324444293976, -0.3843995928764343, 0.7249155640602112, -0.38111695647239685, 0.11718615144491196, -0.4648371636867523, -0.48160070180892944, -0.685606062412262, -0.153176411986351, 0.5482972860336304, 0.2808350622653961, -0.8203151226043701, -0.16872143745422363, -0.3739253580570221, -0.4640788435935974, -0.7308205366134644, 0.02825252339243889, 0.3531397879123688, 0.493135929107666, 0.5022516250610352, -0.6986371874809265, -0.34967172145843506, -1.3400459289550781, -0.42528608441352844, -0.398844838142395, 0.21483643352985382, 0.1470816284418106, 0.6243927478790283, -0.6154474020004272, 1.0754262208938599, 0.17485223710536957, 0.18540307879447937, -0.9721114039421082, 0.42042994499206543, 0.20342886447906494, 0.6739693284034729, 0.775753378868103, -0.6335709095001221, -0.5678753852844238, 0.3684522211551666, -0.6289188861846924, -0.12311559170484543, 0.03291599452495575, 0.10056343674659729, -0.0615149587392807, 0.12178370356559753, -0.41458797454833984, 0.7648743391036987, 0.5073263645172119, -0.2472459226846695, 0.43980860710144043, -0.007386968936771154, 0.40244510769844055, -0.8918217420578003, 0.4515758752822876, -0.5670856237411499, -0.27659422159194946, -1.008136510848999, 0.28299424052238464, 0.07095874845981598, -0.1372608244419098, -0.25557270646095276, 0.9780211448669434, -0.49700066447257996, -0.1103266254067421, -0.5546558499336243, 0.07235116511583328, 0.08531075716018677, 0.24462124705314636, 0.03426745906472206, 0.7138881683349609, 0.3091765344142914, -0.49137046933174133, 0.25012025237083435, 0.4146553575992584, -0.3260464668273926, 0.8178739547729492, -0.5853365659713745, 0.0664808601140976, -0.0680866464972496, -0.05968295782804489, -0.9204363226890564, -0.2146734893321991, 0.10634231567382812, -0.543725311756134, 0.4602939188480377, -0.25120553374290466, -0.4149749279022217, -0.300304651260376, -0.25838610529899597, 0.7644398212432861, 0.4406636655330658, -0.2764852046966553, 0.5562369227409363, 0.39630329608917236, -0.5730926990509033, -0.37343931198120117, -0.5449255108833313, 0.3956027328968048, -0.07647787779569626, -0.49217817187309265, 0.036962151527404785, -0.2584816515445709, -0.5250422358512878, -0.32988324761390686, 0.04693542420864105, -0.17053762078285217, 0.27803835272789, -0.15560536086559296, 0.15502233803272247, -0.37734460830688477, -0.1064399927854538, 0.2084159404039383, -0.03744733706116676, -0.3635990619659424, 0.18603910505771637, 0.6585169434547424, -0.334624707698822, -0.03406742215156555, -0.39055490493774414, 0.4662412703037262, 0.6682252287864685, -0.34968286752700806, 1.0095081329345703, 0.3623625338077545, -0.5388637185096741, -0.027914969250559807, -0.3345598876476288, 0.01411112304776907, -0.4611644148826599, 0.3224397599697113, -0.29528433084487915, -0.5318108201026917, 0.6205836534500122, -0.11000874638557434, 0.16151073575019836, 0.6548230648040771, 0.4201706051826477, 0.02273331768810749, 0.6779415607452393, 0.6742242574691772, -0.01614176109433174, 0.16301916539669037, -0.3939298987388611, 0.35543856024742126, -1.1681642532348633, 0.008791693486273289, -0.49796828627586365, -0.3561560809612274, -0.5848252773284912, -0.048000700771808624, 0.3753020763397217, 0.32270726561546326, -0.04032536968588829, 0.7160300016403198, 0.14183178544044495, 0.2987750172615051, 0.24980568885803223, -0.19408223032951355, 0.3127516806125641, -0.15423738956451416, -0.1131175309419632, -0.12182357907295227, -0.8523176312446594, -0.9434210062026978, 1.1947077512741089, 0.4751405119895935, 0.5090529918670654, 0.30503571033477783, 0.34504300355911255, 0.706882894039154, 0.606147050857544, -0.4396280348300934, 0.38615596294403076, -0.09915097802877426, -0.700718343257904, -0.2856268882751465, -0.3014223873615265, -1.007577657699585, 0.30028170347213745, -0.15176747739315033, -1.1527007818222046, 0.42663511633872986, 0.14415575563907623, -0.3478779196739197, 0.5488889217376709, -0.3581359386444092, 1.251237154006958, -0.15987813472747803, -0.6124205589294434, -0.38435786962509155, -0.641208827495575, 0.4130623936653137, 0.20529401302337646, 0.4415822923183441, -0.14303533732891083, 0.17259156703948975, 0.3612791895866394, -0.3293299674987793, 0.4589669406414032, 0.4520106911659241, 0.11858364194631577, 0.31848689913749695, 0.3430079221725464, 0.17284327745437622, 0.05874677374958992, -0.2610031068325043, 0.35916417837142944, -0.18070350587368011, -0.47088903188705444, -0.5324490070343018, 0.6849954724311829, -0.5720664262771606, -0.2195955067873001, -0.5025200247764587, -0.7395108342170715, -0.2543950378894806, 0.38308125734329224, 0.2502084970474243, 0.9959537386894226, -0.5736000537872314, 0.22435995936393738, 0.4788849353790283, -0.20298103988170624, 0.8024888634681702, 0.43189719319343567, 0.0074946703389286995, -0.6565491557121277, 0.6970072388648987, -0.013887320645153522, 0.44758614897727966, 0.3766208291053772, 0.019634800031781197, -0.206742525100708, -0.8188232183456421, -0.691675066947937, 0.2423344850540161, -0.7899858951568604, -0.3839736878871918, -0.6782164573669434, -0.18666934967041016, -0.4050290584564209, -0.288100004196167, -0.6743196845054626, -0.6122313737869263, -0.011046207509934902, 0.049675751477479935, 0.23386208713054657, 1.0567984580993652, -0.10456639528274536, 0.5305182933807373, -0.9407973289489746, 0.17606602609157562, 0.11093740165233612, 0.3935163617134094, 0.20038968324661255, -0.46654006838798523, -0.6523082256317139, 0.11690463870763779, -0.4975728690624237, -0.880638062953949, 0.5117759704589844, 0.3759428858757019, 0.7937990427017212, 0.31664398312568665, 0.1696593463420868, 0.36287444829940796, -0.612955629825592, 0.7104490399360657, 0.18315310776233673, -1.130213975906372, 0.5247912406921387, -0.47194889187812805, 0.5377959609031677, 0.8712188601493835, 0.4041486084461212, -0.7009352445602417, -0.40568771958351135, -0.7314996123313904, -1.062892198562622, 0.7167366743087769, 0.6949360370635986, -0.14765992760658264, -0.09129992872476578, 0.08682402968406677, 0.48062974214553833, 0.285453200340271, -0.8120743036270142, -0.17481127381324768, -0.25741708278656006, -0.27529799938201904, -0.11707571893930435, -0.3064303398132324, 0.1005575880408287, -0.22123059630393982, 0.5667347311973572, -0.1558922678232193, 0.20335963368415833, -0.07202611118555069, -0.4555237293243408, 0.07804399728775024, 0.5096210837364197, 0.6358148455619812, 1.0351736545562744, -0.12408340722322464, -0.06821166723966599, 0.10892420262098312, -0.7292691469192505, -0.09799807518720627, -0.07884235680103302, -0.1374460607767105, -0.10743896663188934, 0.8607566356658936, 1.060565710067749, 0.37088000774383545, -0.7311262488365173, 0.15116538107395172, -0.19947662949562073, 0.5920237302780151, -0.1973256766796112, 0.11227961629629135, -0.1395038515329361, 0.2581081688404083, 0.3974769711494446, 0.35110223293304443, 0.33118629455566406, -1.1466537714004517, 0.05218386650085449, 0.23825174570083618, -0.06946559995412827, -0.5862852931022644, 0.5942421555519104, 0.1414507031440735, -0.45560145378112793, 0.5933747291564941, 0.17324016988277435, -0.6598109006881714, 0.4145820140838623, 0.6533377766609192, 1.0050112009048462, -0.46030062437057495, 0.11585692316293716, 0.5289932489395142, 0.4626753330230713, -0.09353653341531754, -0.012297085486352444, -0.10461338609457016, -0.72797691822052, 0.22502800822257996, -0.6899566054344177, -0.5896484851837158, 0.1434761881828308, -0.7709102034568787, 0.06986507773399353, -0.5321630835533142, -0.36776265501976013, -0.012745382264256477, -0.021650904789566994, -0.6724793314933777, 0.22914206981658936, 0.1372770220041275, 0.8971105813980103, -0.7614936232566833, 0.7370796203613281, 0.540086567401886, -0.7027544975280762, -0.35907480120658875, 0.011672155931591988, -0.3533543050289154, -0.5171764492988586, 0.47246894240379333, 0.17260265350341797, -0.06946862488985062, -0.10252748429775238, -0.43443775177001953, -0.9003217816352844, 1.1240688562393188, 0.4862510561943054, -0.2961408495903015, 0.1053529754281044, 0.07475505024194717, 0.6743761301040649, -0.4444045126438141, 0.8504584431648254, 0.920721173286438, 0.47940006852149963, -0.2565045952796936, -1.2092180252075195, -0.26431986689567566, -0.5310686230659485, 0.4324384033679962, 0.0002778559864964336, -0.6986247301101685, 1.2364652156829834, -0.10944513231515884, -0.4830878674983978, 0.5177215337753296, 0.8389338850975037, 0.1776932030916214, 0.2474362701177597, -0.08873146772384644, 0.5215458273887634, 0.4945533871650696, 0.126271590590477, 1.3956754207611084, -0.2242223024368286, 0.13223126530647278, 0.9459400773048401, -0.23508095741271973, 0.9361506104469299, 0.07474280893802643, -0.1863861083984375, 1.011582374572754, 0.2743892967700958, 0.4830915033817291, 0.3895377218723297, -0.2136339396238327, -0.385966032743454, -0.07814578711986542, -0.15156790614128113, -0.40010693669319153, 0.6825097799301147, 0.4719948172569275, -0.2376432865858078, -0.26125916838645935, 0.039996374398469925, 0.2792646586894989, 0.35432305932044983, -0.791795551776886, 0.41022104024887085, 0.09998851269483566, -0.5586927533149719, 0.6873175501823425, 0.17052708566188812, 0.24404028058052063, -0.751958966255188, -0.3293951153755188, -0.630765974521637, 0.3596566915512085, 0.018472084775567055, -0.6076264977455139, 0.21396182477474213, 0.1148999035358429, -0.23648662865161896, -0.1375584602355957, 0.6872612833976746, -0.3051348328590393, -0.48768356442451477, 0.2261495590209961, 0.10281267762184143, 0.17816880345344543, 0.47376343607902527, -0.3420535922050476, 0.3184550702571869, -0.15983988344669342, 0.1048918142914772, 0.2729850709438324, 0.23056849837303162, -0.2955595850944519, 0.8958934545516968, 0.23548004031181335, 0.01986905001103878, -0.2863052189350128, -0.1851617842912674, 0.6281906366348267, -0.7870779633522034, -0.66017746925354, -0.9087199568748474, 0.5727242231369019, -0.08136557787656784, -0.5427577495574951, 0.9913068413734436, 0.5168564915657043, 0.7124726176261902, -0.19645167887210846, 0.8736289739608765, -0.0851643979549408, 0.48800337314605713, -0.5402222275733948, 1.177168607711792, -0.3258529007434845, 0.258647084236145, -0.4955670237541199, -0.725893497467041, -0.006489770021289587, 0.6398739218711853, -0.13181783258914948, 0.06829115748405457, 0.8160243630409241, 0.18730776011943817, -0.005750492215156555, 0.21153195202350616, 0.4349236488342285, 0.2356710433959961, 0.1597164422273636, 0.6043661236763, 0.6848229169845581, -0.7320502400398254, -0.06361201405525208, 0.10025478899478912, -0.1856389045715332, -0.23940809071063995, -0.8238575458526611, -1.052947998046875, -0.5143881440162659, -0.01007640641182661, -0.057230886071920395, 0.2748040556907654, 0.7798999547958374, 0.2926923632621765, -1.117507815361023, -0.6182152628898621, 0.01730041764676571, 0.31896743178367615, -0.15112817287445068, -0.20368295907974243, 0.10527613759040833, -0.11252471804618835, -0.7927430272102356, 0.6632459163665771, 0.41193053126335144, -0.062199916690588, -0.3316081166267395, -0.16858163475990295, -0.3774961233139038, 0.34372973442077637, 0.6402785778045654, 0.8334171175956726, -0.6053591966629028, -0.3110845983028412, -0.41473883390426636, 0.051429927349090576, 0.1944158524274826, 0.9003803730010986, -0.8437472581863403, 0.5488617420196533, 0.5788792371749878, 0.5158711075782776, 0.2410695105791092, -0.16648364067077637, 1.145211100578308, -0.3771568238735199, 0.05708274245262146, 0.5406829714775085, 0.5919286608695984, 0.6552750468254089, -0.04391923546791077, 0.47517120838165283, 0.30318957567214966, -0.5396154522895813, -1.1192145347595215, 0.44555914402008057, -0.619916558265686, -0.1844765841960907, 0.7163459062576294, -0.17325067520141602, -0.1066904067993164, -0.32751181721687317, 0.07595986127853394, 0.09223975986242294, -0.20098862051963806, 0.4890391528606415, 0.6228970289230347, -0.17323924601078033, -0.5776275396347046, -0.6828760504722595, 0.5792199373245239, -0.02491755597293377, -0.7534429430961609, -0.07111570239067078, 0.4407408833503723, 0.1214039996266365, 0.1077190414071083, 0.7556341290473938, -0.09697306901216507, 0.5880442261695862, 0.23055022954940796, 0.3413446247577667, 0.12113415449857712, -0.627979576587677, -0.3734487295150757, -0.061518557369709015, 0.25284475088119507, 0.36060672998428345 ]
http://arxiv.org/abs/2402.18120v2
http://arxiv.org/pdf/2402.18120v2
Exploring Multilingual Concepts of Human Value in Large Language Models: Is Value Alignment Consistent, Transferable and Controllable across Languages?
2024-02-28T07:18:39
2024-04-16T07:29:36
Shaoyang Xu, Weilong Dong, Zishan Guo, Xinwei Wu, Deyi Xiong
cs.CL
cs.CL
Prior research in representation engineering has revealed that LLMs encode concepts within their representation spaces, predominantly centered around English. In this study, we extend this philosophy to a multilingual scenario, delving into multilingual human value concepts in LLMs. Through our comprehensive exploration covering 7 types of human values, 16 languages and 3 LLM series with distinct multilinguality, we empirically substantiate the existence of multilingual human values in LLMs. Further cross-lingual analysis on these concepts discloses 3 traits arising from language resource disparities: cross-lingual inconsistency, distorted linguistic relationships, and unidirectional cross-lingual transfer between high- and low-resource languages, all in terms of human value concepts. Additionally, we validate the feasibility of cross-lingual control over value alignment capabilities of LLMs, leveraging the dominant language as a source language. Drawing from our findings on multilingual value alignment, we prudently provide suggestions on the composition of multilingual data for LLMs pre-training: including a limited number of dominant languages for cross-lingual alignment transfer while avoiding their excessive prevalence, and keeping a balanced distribution of non-dominant languages. We aspire that our findings would contribute to enhancing the safety and utility of multilingual AI.
[ -0.28311657905578613, -0.14450985193252563, 0.28797855973243713, 0.33437272906303406, 0.09543661028146744, 0.5255653858184814, -0.14875754714012146, -0.8851388096809387, 0.4276992380619049, 0.16243593394756317, -0.2996641993522644, -0.021713601425290108, -0.6154313683509827, 0.029067283496260643, 0.16696102917194366, 0.51686030626297, -0.4215985834598541, 0.4591614902019501, -0.13226646184921265, -0.634382963180542, -0.4690361022949219, -1.1212579011917114, -0.22383883595466614, -0.37892529368400574, 0.7150687575340271, 0.2630126178264618, 0.8635645508766174, 0.4470102787017822, 0.5127754807472229, 0.2052137702703476, -0.1321265697479248, 0.03163791820406914, -0.30165648460388184, -0.17683950066566467, -0.3750508427619934, -0.32185617089271545, -0.7469052672386169, 0.24584618210792542, 0.7596302032470703, 0.9117739796638489, -0.05383698269724846, 0.09451744705438614, 0.09534141421318054, 0.6765700578689575, -0.5720131397247314, 0.2051076740026474, -0.3610343635082245, 0.13402000069618225, -0.2878013551235199, -0.10474209487438202, -0.2444154918193817, -0.3280544579029083, -0.12470145523548126, -0.5180930495262146, -0.3104605972766876, 0.024206504225730896, 1.1080788373947144, 0.24079211056232452, -0.6413323283195496, -0.14042221009731293, -0.40462222695350647, 0.9458912014961243, -0.4308551251888275, 0.7251951694488525, 0.22291909158229828, 0.26104313135147095, 0.3031879961490631, -0.05783155933022499, -0.4639792740345001, -0.06925678253173828, -0.23715777695178986, 0.12813425064086914, 0.2927514612674713, 0.09169043600559235, 0.016037069261074066, 0.19955694675445557, -0.3639915883541107, 0.4941721558570862, -0.21034327149391174, -0.40526896715164185, 0.9318425059318542, 0.14383819699287415, 0.44041144847869873, 0.06360575556755066, -0.3151738941669464, -0.3023277521133423, -1.0109831094741821, 0.21588394045829773, 0.5316756963729858, 0.402103066444397, -0.1435670405626297, 0.5886871218681335, 0.3129589855670929, 0.41873541474342346, -0.33414193987846375, -0.48497509956359863, 0.40626221895217896, -0.5940807461738586, 0.1145891472697258, 0.18743088841438293, 0.5496054887771606, 0.2665264904499054, 0.6484928727149963, -0.26112839579582214, -0.0519966222345829, -0.08078702539205551, 0.17150698602199554, -0.671576201915741, 0.28474724292755127, -0.16847504675388336, -0.5829907059669495, -0.08371800929307938, -0.1341773271560669, -0.47930893301963806, -0.3443593680858612, -0.5787926316261292, 0.035389065742492676, -0.23972606658935547, -0.5976481437683105, 0.15413494408130646, 0.11988849937915802, 0.39898037910461426, 0.21049442887306213, -1.2232050895690918, 0.030349338427186012, 0.3619457185268402, 0.6044138073921204, -0.5094448328018188, -0.7961079478263855, -0.016236748546361923, 0.2517077326774597, -0.337891548871994, 0.5799241065979004, -0.4795093834400177, -0.4776518940925598, -0.05232563987374306, 0.08886808156967163, -0.029608581215143204, -0.5126710534095764, 0.12435991317033768, -0.6877928972244263, 0.06406859308481216, -0.4421446919441223, -0.30652838945388794, -0.059175509959459305, 0.25160250067710876, -0.7963522672653198, 0.8486186861991882, 0.12031329423189163, -0.5320929884910583, 0.5231202244758606, -0.6718497276306152, -0.5744402408599854, -0.10118787735700607, -0.5300419330596924, -0.10575241595506668, 0.01719542033970356, -0.1915990114212036, 0.32230859994888306, -0.3316866457462311, 0.29893219470977783, -0.3106900453567505, -0.07383476197719574, 0.40276801586151123, -0.6161739230155945, 0.7737868428230286, 0.12693418562412262, -0.23895177245140076, 0.004342988599091768, -0.6022313237190247, 0.1560121774673462, 0.09556330740451813, -0.47152552008628845, -0.23795069754123688, -0.1870577484369278, 0.2172323316335678, 0.5393407940864563, 0.4598526954650879, -0.4533817172050476, 0.27585816383361816, -0.09662323445081711, 0.18732622265815735, 0.8535759449005127, -0.3023368716239929, 0.6940680146217346, -0.2364204376935959, 0.7486879229545593, 0.11994404345750809, -0.04262448474764824, 0.13674940168857574, -0.32748082280158997, -0.5026810765266418, -0.28095120191574097, 0.0738307535648346, 0.7988998293876648, -0.42835095524787903, 0.18439605832099915, -0.22496740520000458, -0.04720724746584892, -0.8794938921928406, 0.2370395064353943, 0.3500441610813141, 0.21166583895683289, 0.37422680854797363, 0.08821608126163483, -0.5445559024810791, -1.2241829633712769, -0.26547107100486755, -0.24881736934185028, 0.09018459171056747, 0.09834745526313782, 0.2527771294116974, -0.34081923961639404, 0.8007720708847046, -0.2958287298679352, -0.023209121078252792, -0.12864616513252258, 0.12539657950401306, 0.06789353489875793, 0.3775720000267029, 0.546323835849762, -0.9165396094322205, -0.4841436445713043, 0.3979716897010803, -0.8954036831855774, -0.11822590976953506, -0.14690501987934113, -0.1785404533147812, 0.4490220546722412, 0.3723556697368622, -0.28181546926498413, 0.19291816651821136, 0.6493346691131592, -0.17533279955387115, 0.4115610420703888, -0.21827180683612823, 0.3653307557106018, -1.2435611486434937, 0.19795314967632294, -0.10387424379587173, -0.03201916813850403, -0.3284679353237152, 0.07178420573472977, 0.3255250155925751, 0.10736864805221558, -0.6631917953491211, 0.7974275946617126, -0.6879315972328186, -0.28756892681121826, -0.22141750156879425, -0.04562928155064583, 0.11362043023109436, 0.2645491659641266, 0.2864859104156494, 1.0001901388168335, 0.16905686259269714, -0.4626798927783966, 0.4890042841434479, 0.1879713535308838, -0.11663107573986053, 1.067971110343933, -0.42746174335479736, -0.046225663274526596, -0.11602054536342621, -0.24622023105621338, -0.6683982014656067, 0.019947368651628494, -0.04373084008693695, -0.3960963487625122, 0.5604263544082642, -0.11430218070745468, -0.5119304656982422, 0.23714782297611237, -0.04120824486017227, 0.6992033123970032, 0.2765331566333771, -0.24676820635795593, 0.35175079107284546, 0.859032392501831, -0.35850295424461365, -0.8382124900817871, -0.8497868180274963, 0.17840738594532013, -0.37768685817718506, -0.7343593835830688, 0.35343843698501587, -0.17146123945713043, -0.43522584438323975, -0.048904284834861755, 0.15613025426864624, -0.23615434765815735, 0.217460498213768, -0.00913133006542921, 0.5166071057319641, -0.1733192354440689, 0.34386706352233887, -0.07444951683282852, -0.3243766725063324, 0.009352663531899452, -0.32618314027786255, 0.10207799077033997, -0.26700714230537415, -0.7320442199707031, -0.10163893550634384, 0.4850986897945404, 0.7415232062339783, -0.208192840218544, 0.6936011910438538, 0.5907185077667236, -0.5073055624961853, 0.30097734928131104, -0.49177587032318115, 0.08871377259492874, -0.41426289081573486, 0.5148236751556396, -0.5049641132354736, -0.9724221229553223, 0.6836646199226379, 0.04497651755809784, 0.1274222433567047, 0.4261484146118164, 0.6244881749153137, -0.24741266667842865, 1.0670709609985352, 0.7888829708099365, -0.4437096118927002, 0.24999620020389557, -0.04174661636352539, 0.1758238524198532, -0.7216054797172546, -0.3868120312690735, -0.43388646841049194, -0.5592486262321472, -0.6637070178985596, -0.3743513226509094, 0.4386552572250366, 0.22919294238090515, -0.432172954082489, 0.07659098505973816, -0.2809634208679199, 0.42491820454597473, 0.23473329842090607, -0.413394570350647, 0.2946997880935669, -0.12102967500686646, -0.11775080859661102, -0.4737357199192047, -0.5936861634254456, -0.7483490109443665, 0.7938054800033569, 0.49467676877975464, 1.0728175640106201, 0.33969852328300476, 0.5264608263969421, 0.08934027701616287, 0.3986891806125641, -0.8823702335357666, 0.10623697191476822, 0.11600494384765625, -0.6940184831619263, -0.5228418707847595, -0.3411211669445038, -0.9093214273452759, 0.3797728717327118, -0.09437812864780426, -0.5954198241233826, 0.17563126981258392, 0.03981909155845642, -0.16889946162700653, 0.5099790692329407, -0.6450669765472412, 1.0137466192245483, -1.010926604270935, -0.31230872869491577, -0.26883235573768616, -0.7569483518600464, 0.20709119737148285, -0.18836042284965515, 0.5109432339668274, -0.16298511624336243, -0.12257633358240128, 0.5131439566612244, -0.05638136342167854, 0.7967166304588318, 0.047864265739917755, -0.581115186214447, 0.00009787043381948024, -0.025629036128520966, 0.1611970067024231, 0.06914059072732925, -0.12871505320072174, 0.3900761306285858, 0.11847461014986038, -0.6941502690315247, -0.3475898504257202, 0.5852962136268616, -1.1364929676055908, -0.4708579480648041, -0.48094141483306885, -0.7498704195022583, -0.28230395913124084, 0.3215634226799011, 0.13154037296772003, -0.044359736144542694, -0.3346174955368042, -0.14382420480251312, 0.6997665166854858, -0.34145835041999817, 0.3182261884212494, 0.2873973548412323, -0.14308051764965057, -0.4012362062931061, 1.0307424068450928, 0.23835624754428864, 0.6669269800186157, 0.7629899382591248, 0.017634591087698936, -0.6061848402023315, -0.27884751558303833, -0.6834166049957275, 0.30247777700424194, -0.8978438973426819, -0.07073578983545303, -0.326500803232193, -0.21366608142852783, -0.35972025990486145, -0.480554461479187, -0.5493999719619751, -0.2994375228881836, -0.3152585029602051, -0.24537359178066254, 0.18963606655597687, 0.7325437068939209, 0.0201420858502388, -0.09303930401802063, -1.1339352130889893, 0.18273793160915375, 0.2206309586763382, 0.5041539669036865, -0.3012647032737732, -0.47117045521736145, -0.5618218183517456, 0.42018333077430725, -0.25066429376602173, -0.696198046207428, 0.43401479721069336, -0.07484982162714005, 1.0911917686462402, 0.20408011972904205, -0.1911366879940033, 0.6709681749343872, -0.39808687567710876, 0.6975157856941223, 0.34048232436180115, -1.0046017169952393, 0.10303188115358353, 0.029235979542136192, 0.033538565039634705, 0.5462736487388611, 0.4935578405857086, -0.9202099442481995, 0.08297952264547348, -0.42941761016845703, -0.5896522402763367, 0.5198013186454773, -0.2103467434644699, 0.17877882719039917, 0.21164512634277344, 0.13840720057487488, 0.09088917076587677, 0.208923801779747, -0.9251216053962708, -0.1935960203409195, -0.4094817638397217, -0.20831668376922607, -0.22387368977069855, -0.09564027190208435, -0.23223116993904114, -0.10469700396060944, 0.376988023519516, -0.29365038871765137, 0.027881821617484093, -0.21128614246845245, -0.5098319053649902, -0.09807372093200684, 0.5597023367881775, 0.9382862448692322, 0.849622905254364, -0.09872604161500931, 0.4116744101047516, 0.40359121561050415, -0.1806151121854782, 0.7750535011291504, -0.1558280885219574, 0.33994999527931213, -0.2510073781013489, 0.35189759731292725, 0.7397571206092834, 0.14817525446414948, -0.5698626637458801, 0.42707037925720215, 0.25029051303863525, -0.02619076706469059, -0.22747595608234406, -0.4549417495727539, 0.4339081645011902, 0.07724503427743912, 0.16925184428691864, -0.06423919647932053, -0.2533729076385498, -0.5650017261505127, -0.06097585707902908, 0.3943027853965759, -0.36850810050964355, -0.6079022288322449, 0.5872089266777039, 0.32807108759880066, -0.08243174105882645, 0.6107030510902405, -0.2776825726032257, -0.5311510562896729, 0.3977952301502228, 0.2794022560119629, 0.7309621572494507, -0.2194080501794815, -0.05237790569663048, 0.06685586273670197, 0.518938422203064, 0.02438121661543846, 0.3279644250869751, 0.36576154828071594, -1.2404829263687134, -0.6261202692985535, -0.5157063007354736, -0.4856151044368744, -0.1983436942100525, -0.5682703852653503, 0.30859053134918213, -0.0033076966647058725, 0.03078388422727585, -0.11823912709951401, -0.2848431468009949, -0.5865553617477417, -0.07881487160921097, 0.4196152091026306, 0.6703784465789795, -0.930773138999939, 1.005468726158142, 0.9482492804527283, -0.5676631331443787, -0.8522452712059021, -0.3804839849472046, 0.17436420917510986, -1.0704838037490845, 1.2415094375610352, -0.06539786607027054, -0.4037555456161499, -0.22608131170272827, -0.027124997228384018, -0.8414474725723267, 1.2093182802200317, 0.7518909573554993, -0.2722538411617279, -0.2689345180988312, 0.6855047345161438, 0.4315319359302521, -0.31207460165023804, 0.1892382651567459, 0.5017184615135193, 0.6312236785888672, 0.019117578864097595, -1.2869952917099, -0.22297599911689758, -0.25216013193130493, 0.174801766872406, 0.31497251987457275, -0.6937101483345032, 0.737308144569397, -0.1588016152381897, -0.17511340975761414, -0.3785480558872223, 0.3819757103919983, 0.346599280834198, 0.044520147144794464, 0.1667027622461319, 0.5093965530395508, 0.8399124145507812, 0.18220317363739014, 0.8907673358917236, -0.5992085933685303, 0.23083113133907318, 0.6370959281921387, -0.5872367024421692, 0.47906818985939026, 0.7238889336585999, -0.43206101655960083, 0.21224725246429443, 0.7461637854576111, 0.4612167179584503, 0.2535777688026428, 0.20381152629852295, -0.12436328828334808, -0.2673007845878601, -0.31290403008461, -0.5010106563568115, 0.44867557287216187, 0.2750251889228821, -0.08895421773195267, 0.014187169261276722, 0.07366379350423813, 0.12267417460680008, 0.10634645074605942, -0.11910801380872726, 0.6756194233894348, 0.20655901730060577, -0.4398556351661682, 0.8959594964981079, -0.11780992895364761, 0.8175073266029358, -0.6228697896003723, -0.029670963063836098, -0.13304369151592255, 0.13091793656349182, -0.12962359189987183, -1.0438073873519897, 0.4559098482131958, -0.349234014749527, -0.2970716655254364, -1.025225043296814, 0.40620240569114685, -0.6041382551193237, -0.3816293478012085, 0.4412616193294525, 0.7285398840904236, 0.14598213136196136, 0.04193156957626343, -0.5327368378639221, -0.06803727895021439, -0.07068321108818054, 0.10108524560928345, 0.6698628067970276, 0.519624650478363, -0.3901311755180359, 0.6613361835479736, 0.3107717037200928, 0.47281724214553833, 0.06597490608692169, 0.13689438998699188, 0.6217734217643738, -0.7870872616767883, -0.3980149030685425, -0.8445223569869995, 0.5748387575149536, 0.08616161346435547, -0.3863587975502014, 0.4977891445159912, 0.5097113847732544, 1.2101351022720337, 0.06591768562793732, 0.9777904748916626, 0.1882903277873993, 0.24091747403144836, -0.6543444991111755, 0.7955729365348816, -0.531482994556427, 0.13148640096187592, -0.30609503388404846, -0.7456242442131042, -0.24795952439308167, 0.7311742901802063, -0.0006546324584633112, -0.09427259862422943, 0.6070292592048645, 0.5039690136909485, 0.09135058522224426, -0.32424190640449524, 0.5081301331520081, -0.38412657380104065, 0.5414196252822876, 0.49904710054397583, 1.1753066778182983, -0.12454525381326675, 0.26985397934913635, -0.010427520610392094, -0.20482710003852844, -0.245321586728096, -0.9733093976974487, -0.46649062633514404, -0.5290700793266296, -0.11894920468330383, -0.18533720076084137, -0.3320748805999756, 1.1383918523788452, 0.7490171194076538, -0.7959194779396057, -0.8672985434532166, 0.3797503113746643, 0.2422250360250473, -0.09159260243177414, -0.16379623115062714, 0.1671842485666275, -0.3851757347583771, -0.6892029643058777, 0.21398915350437164, 0.48828116059303284, 0.4334873557090759, -0.5875069499015808, -0.597538411617279, -0.27305734157562256, -0.22075490653514862, 0.7214263677597046, 0.384263813495636, -0.7279576063156128, -0.5416519045829773, 0.3726867735385895, -0.5330279469490051, 0.2894430160522461, 0.9673562049865723, -0.22973212599754333, 0.3662773072719574, 0.4574822187423706, 1.067887306213379, 0.21573808789253235, -0.22624723613262177, 0.5941256880760193, -0.7762354016304016, 0.42976677417755127, 0.39514896273612976, 0.6943920850753784, 0.4042201638221741, -0.4401738941669464, 0.38436833024024963, 0.43588200211524963, -0.43674522638320923, -0.5980871915817261, 0.5384251475334167, -0.8046945333480835, -0.1587369292974472, 1.024193286895752, -0.08529456704854965, 0.34570375084877014, 0.0021852480713278055, -0.18633344769477844, 0.2581283152103424, -0.10135753452777863, 0.6178404688835144, 0.9609922766685486, -0.34195175766944885, -0.34185105562210083, -0.525138795375824, 0.31604352593421936, 0.43443357944488525, -1.0629674196243286, 0.03213471174240112, 0.5090006589889526, 0.14225472509860992, 0.3757801055908203, 0.5332905650138855, -0.3089277446269989, 0.038644202053546906, -0.3333323299884796, 0.6998902559280396, 0.08515923470258713, -0.18481341004371643, -0.313351035118103, -0.11656854301691055, 0.5586435198783875, -0.21761755645275116 ]
http://arxiv.org/abs/2402.18115v2
http://arxiv.org/pdf/2402.18115v2
UniVS: Unified and Universal Video Segmentation with Prompts as Queries
2024-02-28T07:05:27
2024-06-10T10:52:54
Minghan Li, Shuai Li, Xindong Zhang, Lei Zhang
cs.CV
cs.CV, cs.CL
Despite the recent advances in unified image segmentation (IS), developing a unified video segmentation (VS) model remains a challenge. This is mainly because generic category-specified VS tasks need to detect all objects and track them across consecutive frames, while prompt-guided VS tasks require re-identifying the target with visual/text prompts throughout the entire video, making it hard to handle the different tasks with the same architecture. We make an attempt to address these issues and present a novel unified VS architecture, namely UniVS, by using prompts as queries. UniVS averages the prompt features of the target from previous frames as its initial query to explicitly decode masks, and introduces a target-wise prompt cross-attention layer in the mask decoder to integrate prompt features in the memory pool. By taking the predicted masks of entities from previous frames as their visual prompts, UniVS converts different VS tasks into prompt-guided target segmentation, eliminating the heuristic inter-frame matching process. Our framework not only unifies the different VS tasks but also naturally achieves universal training and testing, ensuring robust performance across different scenarios. UniVS shows a commendable balance between performance and universality on 10 challenging VS benchmarks, covering video instance, semantic, panoptic, object, and referring segmentation tasks. Code can be found at \url{https://github.com/MinghanLi/UniVS}.
[ -0.2938176691532135, -0.41041821241378784, 0.4375641644001007, 0.26365840435028076, -0.630255401134491, 0.13948509097099304, 0.08928846567869186, -0.08978379517793655, -0.05397665500640869, 0.5786668062210083, -0.8286871910095215, -0.5200850367546082, -0.1150476261973381, 0.08898746222257614, -0.248043030500412, 0.5784077644348145, 0.16048769652843475, 0.3001246154308319, -0.4444212317466736, -0.4647696316242218, -0.7698931694030762, -0.4437248706817627, -0.39877617359161377, -0.043764401227235794, 0.06892799586057663, 0.5018854737281799, 0.11058513820171356, 0.5372973084449768, 0.15809275209903717, 0.3636278808116913, -0.0031065759249031544, 0.31480756402015686, 0.02724446915090084, 0.44528651237487793, -0.07917337119579315, -0.0716276690363884, 0.5710546374320984, -0.3297497630119324, 0.7680104970932007, 0.6443139314651489, 0.12501049041748047, 0.2518673837184906, 0.16944319009780884, 0.6320644617080688, -0.780400812625885, -0.31085535883903503, -0.452462375164032, 0.25613346695899963, -0.09808216989040375, -0.2225642204284668, -0.2975248098373413, 0.3358210623264313, 0.09375721961259842, -0.6629239320755005, 0.42841875553131104, -0.05853898450732231, 0.6505629420280457, 0.4732076823711395, -0.39402520656585693, 0.4744406044483185, -0.6048370003700256, 0.5195033550262451, 0.25130006670951843, 0.6345281004905701, -0.4433756470680237, 0.47017523646354675, -0.17768125236034393, -0.8605223298072815, -0.021743785589933395, -0.18606871366500854, 0.21175743639469147, -0.11417287588119507, -0.6220100522041321, 0.21493510901927948, 0.16988719999790192, 0.1495164930820465, -0.7589965462684631, 0.21596917510032654, -0.2512592673301697, -0.35066109895706177, 0.3568028211593628, 0.378518670797348, 0.455748975276947, -0.3374160826206207, -0.9707347750663757, -0.04082305356860161, -0.3694055378437042, 0.7722004055976868, 0.023364368826150894, -0.0002887918381020427, 0.3123752176761627, 0.35665974020957947, -0.6550889015197754, 0.5843117237091064, 0.04677475988864899, 0.21961790323257446, -0.10778295993804932, -0.03653186559677124, -0.45494863390922546, -0.12608972191810608, 0.9391838312149048, 0.5782260298728943, 0.29668954014778137, -0.2115386575460434, -0.05109062418341637, 0.3046872317790985, 0.31160789728164673, -0.8127720355987549, -0.3097133934497833, -0.038328319787979126, -0.14158235490322113, 0.04706871882081032, 0.3026190400123596, -0.8118735551834106, -0.24142687022686005, -0.3594275116920471, 0.23819759488105774, -0.23906147480010986, 0.17385928332805634, 0.044759299606084824, -0.263274610042572, 0.26711368560791016, 0.4976840317249298, -0.6640251278877258, 0.2842349410057068, 0.2849423289299011, 0.44266921281814575, -0.46404922008514404, -0.09261926263570786, -0.9566382765769958, -0.09540567547082901, -0.046537596732378006, 1.2724305391311646, -0.6977177858352661, -0.46576109528541565, 0.04770245403051376, 0.20508520305156708, -0.18137307465076447, -0.3260587155818939, 0.45215776562690735, -0.33336547017097473, 0.16256755590438843, -0.48629963397979736, -0.3107609748840332, -0.18740244209766388, 0.24430106580257416, -0.33471348881721497, 1.1514897346496582, -0.03834687918424606, -0.4318425953388214, 0.19920583069324493, -0.8064227104187012, -0.04900587722659111, 0.4275590181350708, -0.5466130375862122, -0.058211781084537506, 0.17707549035549164, 0.6192413568496704, 0.3761415481567383, -0.45374444127082825, 0.35685980319976807, -0.08882822841405869, -0.39322394132614136, 0.1769971400499344, -0.7135098576545715, 0.7637287974357605, 0.2937542200088501, -0.31488028168678284, 0.6969640254974365, -0.8401926159858704, 0.1351531744003296, -0.04000840336084366, 0.14939145743846893, -0.17886047065258026, -0.36131176352500916, 0.14227356016635895, -0.20173385739326477, -0.12061796337366104, -0.72783362865448, 0.36369991302490234, 0.4977554678916931, 0.17788958549499512, 0.6956383585929871, 0.16650491952896118, 0.5639744997024536, 0.5191436409950256, 0.6500595808029175, -0.06239396333694458, 0.4937608540058136, -0.4673125445842743, -0.6446062326431274, -0.2578088641166687, -0.390333890914917, 0.11510258167982101, 0.4890906512737274, -0.5373131036758423, 0.15769943594932556, 0.15504485368728638, -0.05322062224149704, -0.14151819050312042, 0.11131462454795837, 0.47583696246147156, 0.6893934607505798, 0.27028074860572815, -0.44548317790031433, -0.8301764130592346, -0.5922436714172363, 0.05496252700686455, -0.11030862480401993, -0.5184528827667236, 0.07927680015563965, 0.18049903213977814, -0.23326580226421356, 0.9573870897293091, -0.7229239344596863, -0.36985984444618225, -0.1814037561416626, 0.0273604579269886, -0.30086711049079895, 0.41025376319885254, 0.33583366870880127, -0.9353485703468323, -0.3408345580101013, -0.2530595064163208, -1.0018901824951172, -0.038113273680210114, -0.16248071193695068, -0.04209913685917854, -0.18100222945213318, 0.8131763935089111, -0.6063693165779114, 0.5608947277069092, -0.18616725504398346, -0.6375554203987122, 0.5475747585296631, -0.3594384789466858, 0.36997443437576294, -0.9145348072052002, 0.02273024059832096, 0.27292826771736145, -0.056752730160951614, -0.3823847472667694, 0.18318893015384674, -0.11962616443634033, -0.2903463542461395, -0.5830307006835938, 0.3961779773235321, -0.6802888512611389, -0.3884011507034302, 0.07446737587451935, -0.12204932421445847, 0.2964416444301605, 0.5400505661964417, -0.16975970566272736, 0.675393283367157, 0.9739896655082703, -0.699717104434967, 0.7250106930732727, 0.22539688646793365, -0.24506355822086334, 1.0595654249191284, -0.7363101243972778, -0.049087319523096085, -0.18624582886695862, 0.1447727084159851, -1.283765435218811, -0.38388481736183167, 0.258591890335083, -0.5015069246292114, 0.11576087772846222, -0.23320724070072174, -0.16226254403591156, -0.5244143605232239, -0.32970160245895386, 0.43110397458076477, 0.5518019199371338, -0.8689796328544617, 0.48424822092056274, 0.2841602861881256, 0.47138020396232605, -0.5932589173316956, -0.18770958483219147, 0.11971015483140945, -0.3103232979774475, -0.6939191222190857, 0.28205251693725586, -0.30293142795562744, -0.06574208289384842, 0.16834977269172668, -0.36618274450302124, -0.32591044902801514, 0.13412928581237793, 0.5841678977012634, 0.35835281014442444, -0.30069220066070557, -0.1975506693124771, -0.029793117195367813, -0.2275495082139969, -0.0013090571155771613, -0.522322416305542, 0.21745815873146057, -0.08307969570159912, -0.27863773703575134, -0.6334832310676575, 0.7059013247489929, 0.602813184261322, -0.5616341233253479, -0.12826965749263763, 0.8166619539260864, -0.3144104480743408, -0.07747155427932739, -0.5883861780166626, 0.049881141632795334, -0.47826454043388367, 0.31755176186561584, -0.3855307996273041, -0.9600130915641785, 0.5589655637741089, -0.1447346806526184, -0.12886638939380646, 0.32246267795562744, -0.006496885325759649, -0.2614131271839142, 1.1884582042694092, 0.6380966305732727, 0.050877947360277176, 0.5617475509643555, -0.3295242190361023, -0.4297613799571991, -1.067217469215393, -0.7517906427383423, -0.43520501255989075, -0.17116214334964752, -0.08259010314941406, -0.41492152214050293, 0.4659782946109772, 0.29540860652923584, -0.20255181193351746, 0.1810937523841858, -0.9775218367576599, 0.9619513154029846, 0.5797745585441589, -0.17967110872268677, 0.1399010270833969, 0.28294116258621216, -0.25377357006073, -0.052305739372968674, -0.38295140862464905, -0.2328287810087204, 0.809503972530365, -0.12735886871814728, 0.7718947529792786, -0.3633987307548523, 0.3955899178981781, 0.6065062284469604, -0.14266903698444366, -0.4067019820213318, 0.9088536500930786, -0.13415496051311493, -0.2915043830871582, -0.4346781373023987, -0.14642904698848724, -1.3029489517211914, 0.46484678983688354, 0.024821287021040916, -1.3673094511032104, 0.18058064579963684, -0.008094476535916328, -0.7635003924369812, 0.6067368388175964, -0.46014222502708435, 1.2143338918685913, -0.16741982102394104, -0.13290096819400787, 0.3516528010368347, -0.9553812742233276, 0.1357148289680481, 0.6007634401321411, -0.3651087284088135, -0.08648630231618881, 0.10578369349241257, 0.7660088539123535, -0.14855585992336273, 0.6945430636405945, -0.2248275876045227, 0.4318898320198059, 0.7403535842895508, -0.1348421722650528, 0.006838830187916756, 0.335553914308548, 0.5582992434501648, -0.03488802909851074, 0.001694828155450523, -0.22861821949481964, -0.5722910165786743, 0.42549076676368713, -0.4880278706550598, -0.582251787185669, -0.37872636318206787, -0.33534500002861023, -0.03529275953769684, 0.163582906126976, 0.5321148633956909, 0.8117954134941101, -0.6336272358894348, 0.14284704625606537, 1.033210039138794, 0.13091103732585907, 0.7673922181129456, 0.4293791949748993, -0.054765913635492325, -0.4703856408596039, 0.7218396067619324, -0.3955606520175934, -0.23620952665805817, 0.5414795279502869, -0.09455816447734833, -0.6837226152420044, -0.4158708453178406, -1.0366638898849487, -0.3563738465309143, -0.5833219289779663, -0.4897882640361786, -0.5915929675102234, 0.14711523056030273, -0.5134862065315247, -0.05992334708571434, -0.3576648533344269, 0.046799901872873306, -0.6640633940696716, -0.13285711407661438, 0.26341480016708374, 0.6762286424636841, -0.21369381248950958, 0.3228869140148163, -0.8753671646118164, 0.6150826811790466, 0.7617326378822327, 0.20452019572257996, -0.6260823011398315, -0.5847998857498169, 0.2952626645565033, -0.31264737248420715, -0.4264242947101593, -0.8675505518913269, 0.1171492412686348, -0.09521114081144333, 0.6922022700309753, 0.6648942232131958, 0.1013665646314621, 0.7164462804794312, -0.45520126819610596, 0.844047486782074, 0.5068783760070801, -0.640653133392334, 0.3338938355445862, -0.14420181512832642, 0.3524538278579712, 0.81704181432724, 0.29679590463638306, -0.5388689637184143, 0.24437478184700012, -0.42408329248428345, -0.6494815349578857, 0.6790465116500854, -0.07940446585416794, 0.07609080523252487, 0.18667711317539215, 0.09713481366634369, -0.11019163578748703, -0.12221980839967728, -0.30421584844589233, -0.44355013966560364, -0.1015213206410408, 0.03843139111995697, 0.17394991219043732, -0.3190195560455322, -0.01600722409784794, -0.3375721573829651, 0.10386843979358673, -0.18933618068695068, 0.13914163410663605, 0.38556525111198425, -0.2445295751094818, -0.2954561710357666, 0.4228188395500183, 0.2366132289171219, 0.1607723832130432, -0.2824627757072449, 0.02534247189760208, -0.09688828885555267, -0.3323339521884918, 0.5534436702728271, 0.31649336218833923, -0.4323081076145172, 0.22899651527404785, -0.1351480633020401, 0.895767092704773, 0.45766180753707886, -0.6586125493049622, 0.5125734210014343, -0.30374452471733093, -0.16031108796596527, -0.1168302670121193, 0.05819598212838173, -0.40293195843696594, 0.49358561635017395, 0.6828369498252869, 0.3274039924144745, 0.40788909792900085, -0.48065152764320374, 0.5438910126686096, 0.5379666686058044, -0.5894321203231812, -0.4072401225566864, 0.9175989031791687, 0.4668431878089905, -0.44379672408103943, 0.6722703576087952, -0.5193527936935425, -0.6521028876304626, 0.5331627130508423, 0.30231884121894836, 1.1282317638397217, -0.5128791332244873, 0.8134928345680237, 0.29142752289772034, 0.09138430655002594, -0.09504248201847076, 0.30469581484794617, -0.4509781301021576, -0.32405441999435425, -0.21356309950351715, -0.4616451859474182, -0.39513516426086426, 0.08887902647256851, -0.8889765739440918, -0.05071490630507469, -0.20491856336593628, 0.22442317008972168, -0.13391780853271484, -0.31932732462882996, -0.7506272196769714, 0.46185413002967834, 0.28939390182495117, 0.6432371139526367, -0.699268639087677, 0.4456250071525574, 0.9612345099449158, -0.415021151304245, -0.6653937101364136, -0.39420774579048157, 0.04025530815124512, -0.6627075672149658, 0.35609129071235657, 0.640731692314148, 0.19440540671348572, -0.12046633660793304, -0.49948549270629883, -0.7200257182121277, 0.8990692496299744, 0.423295795917511, -0.24865636229515076, -0.21376550197601318, 0.18128277361392975, 0.15713857114315033, -0.5325283408164978, 0.19042785465717316, 0.5460371375083923, 0.15588903427124023, 0.4673517346382141, -0.2844795286655426, -0.029318878427147865, -0.2587893605232239, -0.11481405049562454, 0.21561646461486816, -0.37002673745155334, 0.7888925075531006, -0.5483587384223938, -0.31299594044685364, 0.27397769689559937, 0.8876147270202637, 0.054905835539102554, 0.6780386567115784, 0.6936156153678894, 0.6491453647613525, 0.6754047870635986, -0.061864424496889114, 0.7314826250076294, 0.15817469358444214, -0.13674169778823853, 0.7907598614692688, 0.006927035748958588, 0.2396060675382614, 0.3394307494163513, -0.1442735344171524, 0.525144636631012, 0.6728662252426147, -0.22324781119823456, 0.5513959527015686, 0.13773228228092194, -0.33558231592178345, -0.6998817324638367, -0.530789315700531, -0.29998472332954407, 0.6383480429649353, -0.05210484191775322, 0.19117407500743866, -0.44538095593452454, 0.36147579550743103, -0.40478211641311646, 0.0432644784450531, -0.5369082689285278, 0.6622805595397949, -0.1931895762681961, -0.8344666957855225, 0.332175076007843, -0.3064894676208496, 0.5192423462867737, -0.6918173432350159, -0.12972937524318695, -0.4023692011833191, -0.08622428774833679, 0.03814607113599777, -0.7413632273674011, -0.17280754446983337, 0.38774392008781433, 0.057177480310201645, -0.014224915765225887, 0.5709877014160156, -0.23834384977817535, -0.33179691433906555, 0.0927031934261322, 0.24291472136974335, 0.2679479122161865, -0.6593849062919617, -0.6751894950866699, 0.16684645414352417, 0.44243499636650085, -0.19783900678157806, 0.4430101215839386, 0.71446692943573, -0.2889315187931061, 0.49374350905418396, 0.6161147356033325, -0.5883031487464905, -0.031046509742736816, 0.2027406245470047, 0.9324137568473816, -0.713447630405426, -0.4813805818557739, -0.6276931166648865, 0.9092385768890381, -0.1615971028804779, -0.5685179233551025, 0.7015786170959473, 0.45423319935798645, 0.7454978227615356, -0.060658667236566544, 0.2903681695461273, 0.26040416955947876, -0.25028398633003235, -0.3399078845977783, 0.021106751635670662, -0.6060272455215454, 0.10385063290596008, -0.37303534150123596, -0.8913732171058655, -0.3860029876232147, 0.18626810610294342, 0.35256484150886536, -0.3776171803474426, 0.5523885488510132, 0.44355788826942444, -0.039178621023893356, -0.08790148049592972, 0.5721040964126587, -0.48441082239151, 0.2558746933937073, 0.34922102093696594, 0.9342659115791321, -0.21552442014217377, 0.8984976410865784, -0.2538861334323883, -0.16658399999141693, -0.12130275368690491, -0.5651928782463074, -0.8433042764663696, -0.5484361052513123, -0.4172925353050232, 0.03883930295705795, 0.0758591741323471, 0.7853788137435913, 0.7009645104408264, -0.6725716590881348, -0.12022095173597336, -0.12610429525375366, 0.19373688101768494, -0.03266888111829758, -0.16216568648815155, 0.316763699054718, -0.2368466854095459, -0.599650502204895, 0.7744065523147583, 0.630982518196106, 0.009745510295033455, -0.22697003185749054, 0.06316221505403519, 0.14349478483200073, -0.08873748779296875, 0.41573596000671387, 0.9211509823799133, -0.5883532762527466, -0.2072969377040863, 0.2642839550971985, 0.15813010931015015, 0.20247982442378998, 1.0967382192611694, -1.0131113529205322, 0.5948648452758789, 0.29207679629325867, 0.7040800452232361, 0.30022236704826355, 0.23360122740268707, 0.1716899573802948, -0.8737306594848633, 0.18321090936660767, 0.009671362116932869, 0.7264206409454346, 0.5745022892951965, -0.334735244512558, 0.5675075054168701, 0.5219576358795166, -0.41231217980384827, -0.9831259846687317, 0.2949688136577606, -1.2920973300933838, -0.37107905745506287, 0.9241830706596375, -0.022351641207933426, -0.4131264090538025, -0.10111932456493378, -0.5272120237350464, 0.2044638693332672, -0.5523219108581543, 0.32238122820854187, -0.19418229162693024, -0.3221328854560852, -0.041362982243299484, 0.034924186766147614, 0.35331258177757263, 0.45534753799438477, -0.6081596612930298, -0.028672903776168823, 0.6394064426422119, 0.3677659332752228, -0.03826284408569336, 0.7276202440261841, 0.1487729400396347, 0.5635167956352234, -0.06971041113138199, 0.1364954262971878, -0.31752869486808777, -0.8076193332672119, -0.4281821846961975, 0.3903532028198242, -0.5071790218353271, -1.07839035987854 ]
http://arxiv.org/abs/2402.18113v1
http://arxiv.org/pdf/2402.18113v1
Small But Funny: A Feedback-Driven Approach to Humor Distillation
2024-02-28T07:02:38
2024-02-28T07:02:38
Sahithya Ravi, Patrick Huber, Akshat Shrivastava, Aditya Sagar, Ahmed Aly, Vered Shwartz, Arash Einolghozati
cs.CL
cs.CL, cs.AI
The emergence of Large Language Models (LLMs) has brought to light promising language generation capabilities, particularly in performing tasks like complex reasoning and creative writing. Consequently, distillation through imitation of teacher responses has emerged as a popular technique to transfer knowledge from LLMs to more accessible, Small Language Models (SLMs). While this works well for simpler tasks, there is a substantial performance gap on tasks requiring intricate language comprehension and creativity, such as humor generation. We hypothesize that this gap may stem from the fact that creative tasks might be hard to learn by imitation alone and explore whether an approach, involving supplementary guidance from the teacher, could yield higher performance. To address this, we study the effect of assigning a dual role to the LLM - as a "teacher" generating data, as well as a "critic" evaluating the student's performance. Our experiments on humor generation reveal that the incorporation of feedback significantly narrows the performance gap between SLMs and their larger counterparts compared to merely relying on imitation. As a result, our research highlights the potential of using feedback as an additional dimension to data when transferring complex language abilities via distillation.
[ -0.19944332540035248, -0.8516277074813843, 0.713866651058197, 0.3815593719482422, -0.30284732580184937, 0.15323734283447266, -0.43942952156066895, -0.048575662076473236, 0.34100648760795593, 0.2774569094181061, -0.3884657621383667, 0.08122707903385162, -0.6029775142669678, 0.1647402048110962, -0.3215760588645935, 1.3714543581008911, 0.4752877950668335, 0.3068850040435791, -0.22700147330760956, 0.26287055015563965, -0.5156773328781128, -0.3142392039299011, -0.8344827890396118, -0.5836280584335327, 1.028238296508789, 0.7849862575531006, 0.44373518228530884, 0.34900760650634766, 0.21893192827701569, 0.35657960176467896, -0.12341969460248947, 0.05522967875003815, -0.5715574622154236, 0.07933706790208817, -0.485533207654953, -0.9445860981941223, -0.0998038798570633, 0.08011488616466522, 0.6184042096138, 0.884011447429657, -0.44023969769477844, 0.11212226748466492, 0.29909569025039673, 0.8308349847793579, -0.2412882149219513, 0.044226016849279404, -0.46604257822036743, 0.17190517485141754, -0.2026987224817276, -0.15712782740592957, -0.5581334829330444, -0.7057908177375793, 0.15386667847633362, -0.13287091255187988, 0.04494421184062958, -0.0926385372877121, 0.09521038830280304, 0.3088625371456146, -0.2159889191389084, -0.8390998840332031, -1.030844807624817, 0.6569144129753113, -0.8198246359825134, -0.3895084857940674, -0.17756474018096924, 0.5056196451187134, -0.36727750301361084, -0.8387454748153687, -1.067969560623169, -0.26856476068496704, 0.07810822129249573, 0.06840837001800537, -0.043182771652936935, -0.33428022265434265, 0.335833877325058, 0.36888688802719116, 0.04483357071876526, -0.00844630878418684, -0.5034152865409851, 0.33105751872062683, 0.6609790325164795, 0.19290442764759064, 0.18710820376873016, -0.2632737159729004, -0.09377487003803253, -0.11176589876413345, -0.5528772473335266, 0.3178086280822754, 0.7208868861198425, 0.36116012930870056, 0.20361356437206268, 0.49174827337265015, -0.026108043268322945, 0.25725799798965454, 0.07598460465669632, -0.39747387170791626, -0.04145986959338188, -0.06635677814483643, 0.08423098176717758, 0.2741171717643738, 0.7280547022819519, 0.19665852189064026, 0.3660193979740143, 0.051972683519124985, -0.3020187020301819, -0.009586482308804989, 0.191752627491951, -0.7568274140357971, -0.7228675484657288, -0.34329932928085327, -0.13746225833892822, -0.7486818432807922, 0.2509096562862396, -1.0745275020599365, -0.6561087965965271, -0.34532037377357483, 0.5900533199310303, -0.11392991244792938, -0.29521697759628296, 0.0014454302145168185, -0.4299115240573883, -0.40635034441947937, 0.3901057243347168, -0.6557031869888306, 0.3287631571292877, 0.43525955080986023, 0.6918005347251892, -0.06281442195177078, -0.378182053565979, -0.8843715190887451, 0.04308132827281952, -0.22302626073360443, 0.496131032705307, -0.549864649772644, -0.3744645118713379, -0.35845038294792175, -0.01679248735308647, 0.17884071171283722, -0.8139732480049133, 0.2561591863632202, -0.12786412239074707, 0.2797393798828125, -0.3520657420158386, -0.18135876953601837, -0.10633010417222977, -0.03713320940732956, -0.6695722341537476, 1.0129637718200684, 0.07828795164823532, -0.8325085043907166, 0.16021770238876343, -0.39325225353240967, -0.576483964920044, 0.004076818004250526, -0.31936556100845337, -0.19336706399917603, 0.5883734822273254, -0.05381384119391441, 0.17860828340053558, -0.32735246419906616, 0.22518134117126465, -0.4408060312271118, -0.6200432777404785, 0.7008439898490906, -0.5118464827537537, 0.5464053750038147, 0.21835997700691223, -0.7416715025901794, -0.2911123037338257, -0.8309625387191772, -0.01361463125795126, 0.34453028440475464, -0.6180502772331238, -0.40272822976112366, 0.07602628320455551, -0.4024314284324646, 0.3465096652507782, -0.10436972975730896, -0.46625247597694397, 0.29357632994651794, -0.4496006369590759, 0.4579622447490692, 0.8077808618545532, 0.025239454582333565, 0.21656478941440582, -0.4782801866531372, 0.6077935695648193, 0.26996034383773804, -0.08161840587854385, -0.06159564480185509, -0.4365521967411041, -0.9185491800308228, -0.06837501376867294, 0.20990103483200073, 0.3493801951408386, -1.1459599733352661, -0.16366609930992126, -0.25168415904045105, -0.49486494064331055, -0.6825845241546631, 0.6043713092803955, 0.3473038673400879, 0.4824225902557373, -0.09224552661180496, -0.44988110661506653, -0.5090844631195068, -0.581190824508667, -0.31085363030433655, -0.21503737568855286, 0.04531267285346985, 0.3499690294265747, 0.25238439440727234, 0.18355105817317963, 0.8360243439674377, -0.6133749485015869, -0.10956050455570221, -0.6314844489097595, 0.2771036624908447, 0.46333667635917664, 0.3223586678504944, 0.719125509262085, -0.3811081647872925, -0.6188777685165405, -0.27573269605636597, -0.3632682263851166, -0.440713495016098, 0.10773316025733948, 0.09743165969848633, -0.015094117261469364, 0.2266610711812973, -0.45825275778770447, 0.34675925970077515, 0.28219494223594666, -0.0596998892724514, 0.7709201574325562, -0.18845665454864502, 0.06435719132423401, -0.8648712038993835, -0.06425374746322632, -0.3907995820045471, -0.1940339356660843, -0.5117684602737427, -0.205017551779747, -0.5547279119491577, -0.005751436110585928, -0.5173091292381287, 0.2380954474210739, -0.35300707817077637, 0.1314278393983841, -0.5731723308563232, 0.2841174602508545, 0.0018136909930035472, 0.3280506730079651, -0.3777708113193512, 0.3824325501918793, 0.5250579714775085, -0.6018476486206055, 0.6473926305770874, -0.4353002905845642, -0.28111082315444946, 0.6412428617477417, -0.6218084096908569, 0.39513564109802246, -0.13371093571186066, 0.10121467709541321, -1.2604049444198608, -0.1905249059200287, 0.013798612169921398, -0.26696622371673584, 0.37080925703048706, -0.12585321068763733, -0.8207288980484009, -0.726918637752533, -0.472943514585495, 0.07556665688753128, 0.7810771465301514, -0.6154599189758301, 0.13692958652973175, 0.0991855189204216, -0.5548210144042969, -0.4079052805900574, -0.9582852125167847, -0.022333988919854164, -0.4390762746334076, -0.471935898065567, -0.22469687461853027, -0.18441490828990936, -0.44554558396339417, 0.032019369304180145, 0.07279256731271744, 0.29734334349632263, 0.047625817358493805, 0.129758819937706, -0.07278700917959213, -0.2923162877559662, 0.05559023469686508, 0.08063241094350815, 0.30237385630607605, 0.20699749886989594, -0.032052356749773026, 0.3720903694629669, 0.013458478264510632, -0.23594148457050323, -0.2975243031978607, 0.25091880559921265, 0.47613319754600525, 0.4806686341762543, 0.6724275946617126, 0.36298179626464844, 0.1268482655286789, -0.7623282074928284, -0.4854113757610321, -0.5043914914131165, -0.5423814654350281, 0.0780739113688469, -0.25308841466903687, -0.6908953189849854, 0.29095932841300964, -0.2154947966337204, -0.20931385457515717, 0.035734329372644424, 0.5982567667961121, -0.2855711579322815, 1.0187042951583862, 0.6526924967765808, 0.1519262194633484, 0.4464791417121887, -0.08490398526191711, 0.44964656233787537, -0.49511051177978516, -0.1720893830060959, -0.4112470746040344, -0.8008238077163696, -0.3274379372596741, -0.4065227210521698, 0.18142803013324738, 0.38673070073127747, 0.2024265080690384, -0.1197451502084732, -0.4108912944793701, 0.6389015913009644, 0.5978618264198303, -0.1546289473772049, 0.44816291332244873, -0.013734391890466213, -0.3317767083644867, -0.21511542797088623, -0.8820682764053345, -0.5500639081001282, 0.8382368087768555, 0.3281814754009247, 1.1726571321487427, 0.45568373799324036, 0.9354630708694458, 0.035485293716192245, 0.4949890971183777, -0.7927060127258301, 0.6354707479476929, -0.4531003534793854, -0.08436167240142822, -0.10632134228944778, -0.5925766825675964, -0.5582934617996216, 0.12525106966495514, 0.21963755786418915, -0.5965142250061035, -0.16628527641296387, 0.371791273355484, -0.3606283962726593, 0.2623335123062134, -1.1389062404632568, 0.4191495478153229, -0.07234641909599304, -0.5614579916000366, -0.12942522764205933, -0.5190504193305969, 0.4977351427078247, 0.027430595830082893, 0.4899420738220215, 0.19633853435516357, 0.37945452332496643, 0.5825091004371643, -0.5623464584350586, 1.0963345766067505, -0.5448347926139832, -0.11745714396238327, 0.5629184246063232, 0.4717862010002136, 0.4717727601528168, 0.4114777147769928, 0.03308719024062157, -0.5341848731040955, 0.014660024084150791, -0.05458390340209007, -1.013808012008667, 1.0143142938613892, -0.5070968270301819, -1.1318228244781494, -0.2670980989933014, -0.47098320722579956, -0.07348420470952988, 0.008319028653204441, 0.06900855153799057, -0.029608653858304024, 0.2634011507034302, 0.3488416075706482, 0.386660635471344, -0.037098899483680725, 0.6958569288253784, 0.5440298318862915, -0.32516559958457947, -0.17015212774276733, 0.9459332823753357, 0.1298016458749771, 0.3971296548843384, -0.08316908031702042, 0.6219054460525513, -0.2328873723745346, -0.16952964663505554, -0.46333184838294983, 0.28983551263809204, -0.7102126479148865, -0.023599088191986084, -0.5285674333572388, -0.047665033489465714, -0.41571733355522156, 0.07390905171632767, -0.5089836120605469, -0.636701226234436, -0.4343491792678833, 0.004414324648678303, 0.1654851883649826, 1.2580562829971313, -0.1971193104982376, 0.2560860216617584, -0.5044460892677307, -0.2509561777114868, 0.693189263343811, 0.21091973781585693, 0.5789262652397156, -0.6017661094665527, -0.15489564836025238, 0.04394763708114624, -0.6645793318748474, -0.9589627981185913, 0.1745956540107727, 0.3921726942062378, 0.38545024394989014, 0.3075028955936432, 0.0058453502133488655, 0.6622737646102905, -0.6731188893318176, 1.0651389360427856, 0.32391470670700073, -0.8011921048164368, 0.7186781764030457, 0.17304369807243347, 0.34221312403678894, 0.30804991722106934, 0.016353143379092216, -0.37682798504829407, -0.85847407579422, -0.565449595451355, -0.5755792856216431, 0.945580005645752, 0.10170967131853104, 0.5228923559188843, -0.1566116362810135, 0.35112082958221436, 0.25304746627807617, 0.6552172303199768, -0.8802661299705505, -0.0913008600473404, -0.22144804894924164, -0.10449019074440002, 0.010793961584568024, -0.17720535397529602, -0.32105937600135803, -0.2608071267604828, 0.4132971465587616, -0.17381063103675842, -0.0329422689974308, 0.17810027301311493, 0.10328413546085358, -0.16636906564235687, 0.4995744824409485, 0.707055926322937, 0.4745337665081024, 0.1690940260887146, 0.8373452425003052, 0.09048143774271011, -0.5335132479667664, 0.1991012692451477, -0.40023496747016907, 0.09787546843290329, 0.2183791697025299, 0.2043045312166214, 0.6464024186134338, 0.1653355211019516, -0.6937185525894165, 0.5225096344947815, 0.05297238752245903, 0.047951117157936096, -0.03886980563402176, 0.607069730758667, 0.2813659608364105, 0.5909878611564636, 0.3878592848777771, -0.11707398295402527, 0.10301560163497925, -1.0596723556518555, 0.36914682388305664, -0.05330437421798706, -0.18864841759204865, -0.7466251850128174, 0.5318366885185242, 0.026125531643629074, -0.4002448618412018, 0.3892061114311218, -0.3372112214565277, -0.5097838640213013, 0.7322996854782104, 0.7873819470405579, 0.6019459366798401, -0.26469364762306213, 0.3916334807872772, 0.2024402916431427, 0.05760301277041435, -0.2463543564081192, 0.5170435905456543, -0.06653273850679398, -0.17891789972782135, -0.31320613622665405, -0.6627140641212463, -0.11993582546710968, 0.06823396682739258, -0.7006029486656189, 0.4280398190021515, -0.5353075861930847, -0.11145085841417313, 0.13457900285720825, -0.13992179930210114, -0.5322592258453369, 0.07011733204126358, 0.005857689771801233, 0.5799030065536499, -0.6908349990844727, 1.0196751356124878, 0.8384705781936646, -0.45390525460243225, -1.08137047290802, 0.15781238675117493, -0.024801641702651978, -0.4942563474178314, 0.9242509007453918, 0.054573919624090195, -0.17850206792354584, -0.14896808564662933, -0.389031320810318, -0.30862781405448914, 0.8653784394264221, 0.533098042011261, -0.8251566886901855, -0.11695844680070877, 0.23620162904262543, 0.9695276618003845, -0.6109232902526855, 0.18749812245368958, 0.5260610580444336, 0.11416444927453995, 0.540709912776947, -0.8793878555297852, 0.13524816930294037, -0.1880332976579666, 0.3147578835487366, -0.11516325175762177, -0.7980198264122009, 0.9891577363014221, -0.6601146459579468, -0.10411574691534042, -0.07920888066291809, 0.3156234622001648, 0.39545878767967224, 0.5556843876838684, 0.7011528015136719, 0.5533953309059143, 0.5055658221244812, 0.03335516154766083, 0.916339635848999, 0.1374284327030182, 0.3179267644882202, 1.5092929601669312, -0.29567620158195496, 0.8139618039131165, 1.0368059873580933, -0.14836977422237396, 0.6768906712532043, 0.10893730074167252, 0.10122846812009811, 0.8493629097938538, 0.6365660429000854, -0.13720357418060303, 0.23976576328277588, -0.025148512795567513, -0.13268278539180756, 0.12149196118116379, 0.14195264875888824, -0.5064431428909302, -0.1416274905204773, 0.25456222891807556, 0.05896180495619774, 0.24930031597614288, -0.18390469253063202, 0.8377708792686462, 0.3671695590019226, -0.9142789244651794, 0.2799489498138428, -0.2126108705997467, 0.6383663415908813, -0.21656787395477295, -0.22327812016010284, -0.3691798150539398, 0.23943187296390533, -0.30965518951416016, -1.0379602909088135, 0.389546275138855, 0.15187698602676392, -0.14920379221439362, 0.0039117480628192425, 0.3065667748451233, -0.6500414609909058, -0.25486141443252563, 0.1995457261800766, 0.2449369579553604, 0.32157814502716064, 0.3793378174304962, -0.2682550549507141, -0.03322942927479744, 0.13506504893302917, -0.30330145359039307, 0.25433605909347534, 0.957733154296875, 0.2508225739002228, 0.38445645570755005, 0.4567747414112091, 0.4678266942501068, 0.35824117064476013, 0.36360040307044983, 1.0446927547454834, -0.5929394364356995, -0.6264498829841614, -1.0183119773864746, 0.6344552636146545, -0.1341087967157364, -0.19732722640037537, 0.7880724668502808, 0.2906658351421356, 0.7953489422798157, -0.3440156579017639, 0.7044357657432556, -0.2653580605983734, 0.5825130939483643, -0.38668280839920044, 0.6454007029533386, -0.8344506025314331, 0.6613040566444397, -0.418668657541275, -0.9746086597442627, 0.2953682243824005, 0.3171764016151428, -0.1876240074634552, 0.06289591640233994, 0.8484882712364197, 0.7346599698066711, -0.11283084005117416, -0.00025795845431275666, 0.3276384770870209, 0.44564715027809143, 0.5318340063095093, 0.6277502179145813, 1.132196068763733, 0.007546474691480398, 0.625221848487854, -0.5727970600128174, -0.2687828242778778, -0.3172178566455841, -0.8315582275390625, -0.9917953014373779, -0.39412227272987366, -0.301382839679718, -0.44774773716926575, -0.32451415061950684, 0.6147468090057373, 0.3602566719055176, -0.5469036102294922, -0.18485867977142334, 0.005179315339773893, 0.23426374793052673, -0.13074305653572083, -0.3575184941291809, -0.003373918356373906, -0.3489796817302704, -1.0148402452468872, 0.2586044371128082, 0.2826278507709503, 0.04143369197845459, -0.590793251991272, 0.01495211012661457, 0.1980147659778595, 0.4162134826183319, 0.5431436896324158, 0.04301949962973595, -0.8008952736854553, -0.3383679687976837, -0.17880398035049438, -0.11110254377126694, -0.19773252308368683, 1.0177403688430786, -0.5412431955337524, 0.6511908769607544, 0.5892190933227539, 0.42288899421691895, 0.3698495328426361, -0.33933162689208984, 0.36493998765945435, -1.1750754117965698, 0.38792139291763306, 0.3646949529647827, -0.022794781252741814, 0.4066186845302582, -0.5238443613052368, 0.2746468782424927, 0.5239824056625366, -0.3813042640686035, -1.361433744430542, 0.1417718380689621, -0.7161076068878174, -0.18976154923439026, 1.0459487438201904, -0.324547678232193, -0.343751460313797, 0.38535046577453613, -0.40694233775138855, 0.18781043589115143, -0.333678275346756, 1.1841564178466797, 0.9565470218658447, -0.2525341510772705, -0.330437570810318, -0.5364339351654053, 0.4523542523384094, 0.6233145594596863, -0.5597172379493713, -0.14878764748573303, 0.17642658948898315, 0.6454404592514038, 0.33624696731567383, 0.5294830799102783, -0.11950470507144928, 0.3794519901275635, 0.06050065532326698, -0.23571999371051788, 0.04824839159846306, -0.5187533497810364, -0.2153683751821518, 0.3311436176300049, 0.40210288763046265, 0.07469330728054047 ]
http://arxiv.org/abs/2403.08822v1
http://arxiv.org/pdf/2403.08822v1
LoRA-SP: Streamlined Partial Parameter Adaptation for Resource-Efficient Fine-Tuning of Large Language Models
2024-02-28T06:50:10
2024-02-28T06:50:10
Yichao Wu, Yafei Xiang, Shuning Huo, Yulu Gong, Penghao Liang
cs.LG
cs.LG, cs.CL
In addressing the computational and memory demands of fine-tuning Large Language Models(LLMs), we propose LoRA-SP(Streamlined Partial Parameter Adaptation), a novel approach utilizing randomized half-selective parameter freezing within the Low-Rank Adaptation(LoRA)framework. This method efficiently balances pre-trained knowledge retention and adaptability for task-specific optimizations. Through a randomized mechanism, LoRA-SP determines which parameters to update or freeze, significantly reducing computational and memory requirements without compromising model performance. We evaluated LoRA-SP across several benchmark NLP tasks, demonstrating its ability to achieve competitive performance with substantially lower resource consumption compared to traditional full-parameter fine-tuning and other parameter-efficient techniques. LoRA-SP innovative approach not only facilitates the deployment of advanced NLP models in resource-limited settings but also opens new research avenues into effective and efficient model adaptation strategies.
[ -0.3371460735797882, -0.9203747510910034, 0.36538732051849365, 0.12560689449310303, -0.4795117676258087, -0.07312306016683578, -0.49632757902145386, -0.22717496752738953, 0.364322692155838, 0.5765871405601501, -0.6072106957435608, -0.25836074352264404, -0.3748403787612915, -0.04995718225836754, -0.37460196018218994, 1.091766595840454, -0.018838807940483093, -0.02189277485013008, -0.02218453958630562, -0.18327899277210236, -0.22098955512046814, -0.3813861608505249, -1.1597721576690674, -0.29495301842689514, 0.8956435918807983, 0.5271104574203491, 0.5898069143295288, 0.6555973887443542, 0.5315044522285461, 0.22348730266094208, -0.09641025960445404, 0.12749303877353668, -0.7842341065406799, 0.26707547903060913, -0.32446274161338806, -0.6340154409408569, -0.6361240148544312, -0.2906610369682312, 0.8084527254104614, 0.8250710368156433, -0.4500768482685089, 0.45727241039276123, 0.11034102737903595, 0.9574936032295227, -0.8796619772911072, -0.016947412863373756, -0.9826031923294067, 0.1659289449453354, -0.1992366462945938, -0.5599051713943481, -0.47419190406799316, -0.15703360736370087, 0.12975580990314484, -0.8245499730110168, 0.06893584877252579, 0.18000920116901398, 0.7934609055519104, 0.7655232548713684, 0.1110687330365181, -0.0399562269449234, -0.8778324723243713, 0.8424978256225586, -0.8579334616661072, 0.23571087419986725, 0.3360854983329773, 0.25100889801979065, -0.23248164355754852, -0.653759777545929, -0.20083403587341309, 0.0008034758502617478, 0.47656360268592834, -0.011479624547064304, -0.17734549939632416, 0.07266730070114136, 0.3464214503765106, 0.11072439700365067, -0.26633787155151367, 0.5016670227050781, -0.45262807607650757, 0.0025779397692531347, 0.517401933670044, -0.006545164156705141, 0.049741048365831375, 0.2988918721675873, -0.14537787437438965, 0.15036234259605408, -0.6900719404220581, -0.1360320895910263, 0.25160691142082214, 0.8067197203636169, -0.17729544639587402, 0.5195584297180176, -0.37764719128608704, 0.8878322243690491, 0.13722777366638184, -0.32141542434692383, 0.042452044785022736, -0.006330681964755058, -0.3985052704811096, 0.0646372064948082, 0.6244611740112305, 0.0341290645301342, 0.23349259793758392, -0.12021320313215256, -0.11586503684520721, -0.2604736387729645, -0.013711508363485336, -0.641981303691864, -0.19370508193969727, 0.005432325880974531, -0.2725814878940582, -0.021588237956166267, -0.6299846172332764, -0.8353020548820496, -0.6085816621780396, -0.23650451004505157, 0.5018677711486816, -0.21254460513591766, 0.07540394365787506, 0.4911446273326874, -0.08730537444353104, 0.1253904551267624, 0.5293439626693726, -0.9139102101325989, 0.5523356199264526, 0.3977038562297821, 0.7809239029884338, -0.4982280731201172, -0.44986534118652344, -0.7804412841796875, 0.3318704664707184, -0.0845208391547203, 0.8352135419845581, -0.503627359867096, 0.03277970105409622, -0.1337032914161682, -0.26028677821159363, -0.21079784631729126, -0.5359638333320618, 0.6162698864936829, -0.5650213360786438, 0.1492844671010971, -0.3341616988182068, -0.24778684973716736, 0.05993949621915817, -0.025690749287605286, -0.7573816776275635, 1.261702537536621, 0.009553586132824421, -0.8372913002967834, 0.27890443801879883, -0.7658489942550659, -0.30872997641563416, -0.10560672730207443, 0.10441992431879044, -0.34039363265037537, 0.36934277415275574, 0.14555995166301727, 0.3118512034416199, -0.6957651972770691, -0.18015819787979126, -0.42370396852493286, -0.36407405138015747, 0.07292914390563965, -0.28358781337738037, 0.5161727070808411, 0.31803521513938904, 0.11372129619121552, 0.22657576203346252, -0.7387494444847107, 0.02616376243531704, 0.3047357201576233, -0.5278446078300476, -0.4381764531135559, 0.31648120284080505, -0.21397940814495087, 0.05580591410398483, 0.5774410367012024, -0.1628601998090744, 0.34872809052467346, -0.48399925231933594, 0.4664290249347687, 0.8056454658508301, -0.0984601303935051, 0.5921397805213928, -0.2770398259162903, 0.5356062650680542, -0.0554642453789711, 0.2394607961177826, 0.11680256575345993, -0.3704560697078705, -1.3049659729003906, -0.506376326084137, 0.5674707889556885, 0.4538158178329468, -0.6817814707756042, 0.4202590882778168, -0.19102656841278076, -0.473245769739151, -0.4565480351448059, 0.30481675267219543, 0.13705581426620483, 0.35327795147895813, 0.36310461163520813, -0.2518767714500427, -0.5644172430038452, -0.8156004548072815, -0.41233810782432556, -0.09516318887472153, -0.041904348880052567, 0.0778486579656601, 0.42843180894851685, 0.21845127642154694, 0.9385741353034973, -0.6462710499763489, -0.29926788806915283, -0.3735821843147278, -0.05881505459547043, 0.3902028799057007, 0.3171142637729645, 0.5727617144584656, -0.4294421076774597, -0.5726835131645203, -0.11073323339223862, -0.3394063115119934, -0.1217353418469429, 0.03498731926083565, -0.16682970523834229, 0.2331775575876236, 0.5455225706100464, -0.5454524755477905, 0.15373878180980682, 0.7370550632476807, -0.20609672367572784, 0.3693946897983551, -0.5312886834144592, -0.2827514111995697, -1.0076655149459839, 0.17814530432224274, -0.028757551684975624, -0.27287665009498596, -0.6430538892745972, 0.15103688836097717, -0.23488155007362366, -0.2101059854030609, -0.4642873704433441, 0.6915684938430786, -0.5387410521507263, -0.1916637271642685, -0.2594224214553833, 0.26695120334625244, -0.18946529924869537, 0.5912951827049255, 0.03261156752705574, 0.6347094774246216, 0.6011727452278137, -0.6778968572616577, 0.13618037104606628, -0.1752314269542694, -0.2580340504646301, 0.2805328071117401, -0.4201772212982178, 0.3474099040031433, -0.1024559885263443, 0.19526097178459167, -0.531125009059906, -0.158302903175354, 0.17321692407131195, 0.050362490117549896, 0.10147655010223389, -0.42232269048690796, -0.6081855297088623, -0.03984230011701584, -0.24820277094841003, 0.3947397768497467, 0.695664644241333, -0.21429269015789032, 0.8339914679527283, 0.4361271858215332, -0.4395222067832947, -0.4031934142112732, -0.48452028632164, -0.13835029304027557, -0.3604224622249603, -0.24459892511367798, 0.21233248710632324, -0.2610284686088562, -0.05055610090494156, -0.18067346513271332, -0.20173801481723785, -0.20156167447566986, 0.25173887610435486, -0.1145029366016388, 0.011075888760387897, -0.3707587718963623, -0.24580247700214386, 0.27011439204216003, -0.06979529559612274, -0.29759538173675537, -0.17913123965263367, 0.7218453288078308, 0.21195296943187714, -0.3542906641960144, -0.4135097861289978, 0.2364099770784378, 0.5338336825370789, -0.07900792360305786, 0.9567579030990601, 0.3826109766960144, -0.4216731786727905, -0.7509424686431885, -0.5547405481338501, -0.13917891681194305, -0.4956077039241791, 0.6240682005882263, -0.41327258944511414, -0.8665633201599121, 0.754147469997406, -0.34970948100090027, 0.03238724172115326, 0.23891329765319824, 0.5982351303100586, -0.043115537613630295, 0.7505614757537842, 0.978434145450592, -0.33991512656211853, 0.6463659405708313, 0.0816667303442955, 0.28718090057373047, -0.5453665256500244, 0.09611674398183823, -0.8505446314811707, -0.5615950226783752, -0.3689526319503784, -0.700045645236969, 0.29789480566978455, 0.4083833396434784, -0.44694891571998596, 0.05330837517976761, -0.4229796528816223, 0.6354999542236328, 0.3926197290420532, 0.057778261601924896, 0.37911757826805115, 0.21524827182292938, 0.09828327596187592, 0.027777429670095444, -0.9703086018562317, -0.14433200657367706, 0.8759905695915222, 0.4433681070804596, 0.9013775587081909, 0.008770301938056946, 0.5294473767280579, 0.3017822504043579, -0.1715589314699173, -0.9635371565818787, 0.7773289084434509, -0.47493597865104675, -0.4350563883781433, -0.5778284072875977, -0.3653808534145355, -0.6787609457969666, 0.20010875165462494, -0.16986894607543945, -0.8742475509643555, 0.07357842475175858, 0.2943119406700134, -0.6184675097465515, 0.42974138259887695, -0.6979386210441589, 0.4703355133533478, -0.02216009795665741, -0.1897694319486618, -0.3243318200111389, -0.29572799801826477, -0.0009062650497071445, -0.5719073414802551, 0.041020043194293976, -0.41622480750083923, -0.4237341284751892, 1.0759437084197998, -0.1568252146244049, 0.9279785752296448, -0.5078660249710083, -0.1644679754972458, -0.01935170590877533, 0.10219605267047882, 0.8370010256767273, -0.21981114149093628, -0.43766212463378906, 0.021556947380304337, 0.04511851817369461, -0.5542085766792297, -0.7326372861862183, 0.742331326007843, -0.8373702764511108, -0.6013453006744385, -0.38874003291130066, -0.6739082932472229, -0.5704948902130127, 0.3315754532814026, 0.002948748180642724, -0.0725196897983551, -0.027592133730649948, 0.14707031846046448, 0.8453344106674194, -0.35260456800460815, 0.3701002895832062, 0.7809411287307739, -0.3226504325866699, -0.18325753509998322, 0.7604932188987732, 0.15474329888820648, 0.3682991564273834, 0.39848950505256653, 0.2839341461658478, 0.1305566430091858, -0.9996103644371033, -0.15225112438201904, 0.43477046489715576, -0.6361876130104065, -0.193827822804451, -0.2402741014957428, -0.430025577545166, 0.10550937801599503, -0.2560896575450897, -0.8105666637420654, -0.5997232794761658, -0.49902233481407166, 0.27158987522125244, 0.5522186160087585, 0.34588423371315, 0.18181654810905457, 0.4283052384853363, -0.34823670983314514, 0.4262920022010803, 0.10604503005743027, 0.5035552978515625, -0.20684020221233368, -1.0898756980895996, -0.36659184098243713, -0.00851172860711813, 0.17100180685520172, -0.44743111729621887, 0.3123415410518646, 0.5620970726013184, 0.4347798526287079, 0.16232597827911377, 0.26049166917800903, 0.8585600852966309, -0.673772394657135, 0.6810449361801147, 0.1677069365978241, -0.8629130125045776, 0.4715779423713684, -0.47669023275375366, 0.5043578147888184, 0.5999199151992798, 0.16667808592319489, -0.17899130284786224, -0.2134142965078354, -0.042713712900877, -0.9396412968635559, 0.9320627450942993, -0.04732527956366539, 0.1246703639626503, 0.6002336740493774, 0.5953731536865234, 0.17148031294345856, -0.10748817771673203, -0.5780560970306396, -0.28716394305229187, 0.15537682175636292, -0.19101275503635406, -0.09846989810466766, -0.47862622141838074, -0.34528639912605286, -0.3559117019176483, 0.8211939930915833, -0.4810032844543457, 0.2703970968723297, -0.17404744029045105, 0.03535991907119751, -0.1937316358089447, 0.2845631241798401, 0.7315592169761658, 0.7614442110061646, -0.33014965057373047, -0.052232399582862854, 0.6574495434761047, -0.4427039921283722, -0.10280618071556091, 0.01934707723557949, -0.21900413930416107, -0.15508364140987396, 0.0682607889175415, 1.00631844997406, 0.41838163137435913, -0.6128531694412231, 0.13229605555534363, -0.018675168976187706, -0.1945207417011261, -0.2531990110874176, 0.21232254803180695, 0.13347424566745758, 0.15275439620018005, 0.5162977576255798, 0.15421730279922485, -0.1334311068058014, -0.42997920513153076, -0.14443744719028473, 0.28058210015296936, -0.30605629086494446, -0.42465630173683167, 0.3990447223186493, 0.1424253284931183, -0.20756053924560547, 0.1811784952878952, 0.1414366215467453, 0.10741861909627914, 0.18815846741199493, 0.6669906377792358, 0.7938768267631531, -0.20492598414421082, 0.13917647302150726, 0.17323535680770874, 0.1579309105873108, -0.45357197523117065, 0.5050033330917358, 0.1131095141172409, -0.6984935998916626, -0.6365668177604675, -0.9877212047576904, -0.42943426966667175, 0.14463646709918976, -0.8603779077529907, 0.48237958550453186, -0.8075433969497681, -0.22859324514865875, 0.004817901644855738, -0.02081472799181938, -0.4753759503364563, 0.007223316468298435, 0.10583574324846268, 1.2504860162734985, -0.7775284647941589, 1.2462260723114014, 0.5986196398735046, -0.1417495310306549, -0.5626513361930847, 0.011297451332211494, -0.09006081521511078, -0.844468355178833, 0.4301843047142029, -0.6057864427566528, -0.4292246997356415, 0.09024780988693237, -0.5069525837898254, -1.2779392004013062, 1.0173683166503906, 1.110895037651062, -0.6347204446792603, -0.38643118739128113, 0.2033100426197052, 0.6852718591690063, -0.20392939448356628, -0.11898981779813766, 0.6235790848731995, 0.28109729290008545, 0.11954984068870544, -1.3089203834533691, 0.023933103308081627, -0.019390147179365158, 0.04597150906920433, 0.18135076761245728, -0.7921136617660522, 0.6320525407791138, -0.0610850527882576, -0.06971599161624908, 0.3414306044578552, 0.7451887130737305, 0.490741103887558, 0.045744042843580246, 0.5484014749526978, 0.41964802145957947, 0.7947751879692078, 0.07787667959928513, 0.642626941204071, -0.41123688220977783, 0.32436832785606384, 1.378509521484375, -0.5495661497116089, 1.3247681856155396, 0.7978029847145081, -0.13713447749614716, 0.2969200909137726, 0.39784005284309387, 0.292353093624115, 0.6999886631965637, 0.3143596053123474, -0.15436960756778717, -0.1984328329563141, -0.1918671727180481, -0.28298282623291016, 0.5220262408256531, 0.28464797139167786, -0.13538455963134766, -0.12257352471351624, -0.05298564210534096, 0.17215438187122345, -0.16025175154209137, -0.5120419859886169, 0.7742096185684204, 0.22093889117240906, -0.5165829658508301, 0.8154954314231873, 0.07351911813020706, 0.6224488615989685, -0.939389169216156, 0.285817950963974, -0.21115824580192566, 0.30552059412002563, -0.1664949506521225, -0.25138428807258606, 0.016908371821045876, 0.16195295751094818, -0.4280861020088196, -0.24138642847537994, 0.6057285666465759, -0.2682953178882599, -0.48885467648506165, 0.39339256286621094, 0.4931616485118866, 0.07916591316461563, 0.07409811019897461, -0.9150418639183044, 0.43516507744789124, 0.037147969007492065, -0.38168472051620483, 0.7305294275283813, 0.436972975730896, 0.08524440973997116, 0.9897233247756958, 0.5447449684143066, 0.4890354871749878, 0.14722709357738495, 0.31041213870048523, 1.0298467874526978, -0.6190597414970398, -0.5152555108070374, -0.5529764890670776, 0.3057449758052826, 0.07924284785985947, -0.17405815422534943, 0.7241985201835632, 0.5811808705329895, 0.6228659152984619, -0.08313833177089691, 0.7834696173667908, 0.023390477523207664, 0.6232916712760925, -0.9186927676200867, 0.7555667757987976, -0.6342545747756958, 0.4516632556915283, -0.2422189712524414, -1.0112661123275757, -0.29522672295570374, 0.2820972204208374, -0.2608174681663513, 0.13001301884651184, 0.8586335182189941, 0.6837775111198425, -0.249677836894989, -0.25572022795677185, 0.42912304401397705, 0.3968435227870941, -0.07532601803541183, 0.4314308762550354, 0.527549147605896, -0.2958212196826935, 0.387151837348938, -0.10519999265670776, -0.20962509512901306, -0.14632266759872437, -1.0134724378585815, -0.8982669711112976, -0.6646926403045654, -0.5864196419715881, -0.09423640370368958, 0.34815534949302673, 0.8121510744094849, 0.7992790341377258, -0.8533355593681335, -0.3750268220901489, 0.25294995307922363, -0.17036041617393494, -0.15954576432704926, -0.1284864842891693, 0.44673293828964233, -0.32938992977142334, -0.5697158575057983, 0.5886629223823547, 0.37378811836242676, -0.33357736468315125, -0.3756501376628876, -0.11574115604162216, -0.2193070501089096, 0.4264996349811554, 0.5321011543273926, 0.5997389554977417, -0.7971073985099792, -0.1230287030339241, -0.22532887756824493, 0.1370905637741089, 0.00494250888004899, 0.7258952856063843, -0.5630165934562683, 0.22312815487384796, 0.5345338582992554, 0.5420922040939331, 0.6255002021789551, -0.21745114028453827, 0.5384817123413086, -0.6190574169158936, 0.5053674578666687, 0.1446465700864792, 0.3617269992828369, 0.10949008911848068, -0.12982545793056488, 0.3404441773891449, -0.02246139384806156, -0.4628077745437622, -1.1383461952209473, 0.18759344518184662, -1.3209820985794067, -0.3060498535633087, 1.2648710012435913, 0.017443189397454262, -0.29840531945228577, -0.02242821268737316, -0.18633411824703217, 0.03448864445090294, -0.5378468632698059, 0.726902961730957, 0.3956661820411682, -0.12995029985904694, -0.25883159041404724, -0.6702954769134521, 0.6937925219535828, 0.48218461871147156, -0.8116961717605591, 0.1701132357120514, 0.17805257439613342, 0.3838517963886261, -0.12944969534873962, 0.7373112440109253, 0.2313879281282425, -0.012536653317511082, -0.1621575504541397, -0.028143946081399918, 0.11154080182313919, -0.31853753328323364, -0.3792314827442169, 0.3415055572986603, 0.5016854405403137, 0.19436785578727722 ]
http://arxiv.org/abs/2402.18101v2
http://arxiv.org/pdf/2402.18101v2
Assessing the Efficacy of Grammar Error Correction: A Human Evaluation Approach in the Japanese Context
2024-02-28T06:43:43
2024-02-29T10:53:40
Qiao Wang, Zheng Yuan
cs.CL
cs.CL
In this study, we evaluated the performance of the state-of-the-art sequence tagging grammar error detection and correction model (SeqTagger) using Japanese university students' writing samples. With an automatic annotation toolkit, ERRANT, we first evaluated SeqTagger's performance on error correction with human expert correction as the benchmark. Then a human-annotated approach was adopted to evaluate Seqtagger's performance in error detection using a subset of the writing dataset. Results indicated a precision of 63.66% and a recall of 20.19% for error correction in the full dataset. For the subset, after manual exclusion of irrelevant errors such as semantic and mechanical ones, the model shows an adjusted precision of 97.98% and an adjusted recall of 42.98% for error detection, indicating the model's high accuracy but also its conservativeness. Thematic analysis on errors undetected by the model revealed that determiners and articles, especially the latter, were predominant. Specifically, in terms of context-independent errors, the model occasionally overlooked basic ones and faced challenges with overly erroneous or complex structures. Meanwhile, context-dependent errors, notably those related to tense and noun number, as well as those possibly influenced by the students' first language (L1), remained particularly challenging.
[ 0.05154985189437866, -1.1023831367492676, 0.4265744090080261, 0.2050788849592209, -0.010044555179774761, 0.055656980723142624, -0.13372164964675903, -0.1427648663520813, -0.06450741738080978, 0.11264783889055252, -0.38720396161079407, -0.5497499704360962, -0.31346768140792847, 0.632723867893219, -0.1555168330669403, 0.47369468212127686, -0.2315150648355484, 0.14883512258529663, -0.2768532931804657, 0.07766088098287582, -0.9370943903923035, -0.5889559984207153, -0.6706503033638, -0.19488099217414856, 0.22686485946178436, 0.6890816688537598, 0.5617685914039612, 0.6359889507293701, 0.5298561453819275, 0.31088703870773315, 0.05233222246170044, 0.015272131189703941, -0.24773195385932922, -0.3538055121898651, -0.26389360427856445, -0.575078547000885, -0.567141592502594, -0.09709484130144119, 0.8684698343276978, 0.7961814403533936, -0.32399481534957886, 0.12157265841960907, -0.06493308395147324, 0.648248016834259, -0.45281368494033813, -0.0894218385219574, -0.06455667316913605, 0.04062654823064804, -0.47734689712524414, 0.14011362195014954, -0.6455767750740051, -0.2070128321647644, -0.13329526782035828, -0.6315634250640869, 0.16482746601104736, -0.02862827107310295, 0.8178065419197083, 0.30895861983299255, -0.2490546554327011, -0.15682750940322876, -0.46294552087783813, 0.35981184244155884, -0.9639691710472107, -0.04066689684987068, 0.5850672721862793, 0.2237573117017746, -0.4759208559989929, -0.5299416184425354, -0.4496813714504242, 0.332377552986145, -0.2541007101535797, 0.3784656226634979, -0.19799146056175232, 0.13111428916454315, 0.6177228093147278, 0.04066656157374382, -0.4859527349472046, 0.14003002643585205, -0.25317007303237915, -0.325212299823761, 0.6341689229011536, 0.21947015821933746, 0.7387484908103943, -0.6774343252182007, -0.15846583247184753, -0.10443834215402603, -0.15890823304653168, 0.28021538257598877, 0.6141631603240967, 0.35390329360961914, 0.22610153257846832, 0.32999715209007263, -0.3891640901565552, 0.6292352080345154, -0.1627129465341568, -0.24339346587657928, 0.10565220564603806, -0.26523303985595703, -0.38234400749206543, 0.016034066677093506, 0.8215252161026001, 0.39857450127601624, 0.1803911030292511, -0.0922844335436821, -0.23886829614639282, 0.5121609568595886, 0.37008875608444214, -0.367940217256546, -0.2613162696361542, -0.1365652084350586, -0.20043215155601501, -0.09038771688938141, 0.32214242219924927, -0.8360952734947205, -0.16140860319137573, -0.03846307098865509, 0.7909058928489685, -0.34793293476104736, -0.08566159009933472, 0.2945091724395752, -0.11168580502271652, 0.020237451419234276, 0.3015233874320984, -0.638626754283905, 0.343299001455307, 0.5098505020141602, 0.6384252309799194, 0.055593203753232956, -0.5163875818252563, -0.06431429088115692, -0.10400469601154327, -0.2730271816253662, 0.8954762816429138, -0.35822412371635437, -0.7404847145080566, -0.17307062447071075, 0.17116017639636993, -0.5253260731697083, -0.2785818874835968, 1.2375097274780273, 0.0475602000951767, 0.23476573824882507, -0.39047303795814514, -0.9366567730903625, -0.17705310881137848, -0.1354272961616516, -0.6830084919929504, 1.2745351791381836, 0.37885698676109314, -0.5939666628837585, 0.25836706161499023, -0.4145866632461548, -0.5095003247261047, 0.21373015642166138, 0.00013947731349617243, -0.6987704038619995, 0.11432940512895584, 0.270908385515213, 0.4581013321876526, 0.12433986365795135, 0.6428342461585999, 0.12106187641620636, -0.7635701298713684, 0.40957412123680115, -0.21308603882789612, 0.7396484017372131, -0.2674497961997986, -0.47185784578323364, -0.02403591200709343, -1.0175477266311646, 0.0392669253051281, 0.39794522523880005, -0.63530033826828, -0.5513636469841003, -0.24319958686828613, -0.28639286756515503, 0.0072158644907176495, -0.30008724331855774, -0.4990979731082916, 0.37165582180023193, -0.14897559583187103, 0.2805463969707489, 0.5691102147102356, 0.11056506633758545, 0.2780475616455078, -0.4672899544239044, 0.7149302959442139, -0.25224077701568604, 0.025433339178562164, -0.7327585816383362, -0.2984539568424225, -1.0477787256240845, 0.1237693503499031, 0.6744478940963745, 0.48069053888320923, -0.5451357960700989, 0.5012003183364868, -0.18491584062576294, -0.47176775336265564, -0.7872382998466492, -0.012864864431321621, 0.7488532066345215, 0.7675856351852417, 0.15720713138580322, -0.45407161116600037, -0.859592616558075, -0.5495930910110474, -0.6357526779174805, -0.40831878781318665, 0.39323532581329346, -0.07385200262069702, 0.6216186285018921, -0.5355368852615356, 0.760154128074646, -0.14893336594104767, -0.06955207139253616, -0.03157654032111168, 0.3468177914619446, 0.05534473434090614, 0.6807957887649536, 0.141438826918602, -0.3632446825504303, -0.3025400936603546, -0.3288126587867737, -0.5620596408843994, -0.5014357566833496, -0.20359672605991364, -0.3828543722629547, 0.7132000923156738, 0.29434409737586975, -0.21389032900333405, 0.6884868144989014, 0.11309955269098282, -0.7061277031898499, 0.5742557048797607, -0.11552854627370834, 0.2529882490634918, -0.8740772008895874, 0.28052109479904175, -0.037732843309640884, -0.4618912637233734, -0.7877030968666077, 0.04968547821044922, 0.48141610622406006, 0.1625116914510727, -0.06419127434492111, 0.30318719148635864, -0.1565447598695755, 0.0009161799680441618, -0.11397238820791245, -0.040276557207107544, 0.2955441176891327, 0.4256060719490051, -0.3118607699871063, 0.547427773475647, -0.11575369536876678, -0.29160377383232117, -0.05427142605185509, 0.0749686136841774, -0.10555160790681839, 0.6470876932144165, -0.5447332859039307, 0.3187277615070343, -0.208401158452034, -0.012388627976179123, -1.527772068977356, -0.6822341084480286, 0.39932766556739807, -0.6818492412567139, 0.30660080909729004, -0.05191197618842125, -0.45718914270401, -0.5139021277427673, -0.08805020898580551, 0.024278946220874786, 0.37260138988494873, -0.3593970835208893, 0.6839078068733215, 0.12962277233600616, -0.2332698255777359, -0.53353351354599, -0.4154742956161499, 0.06970903277397156, -0.08511710166931152, -0.37295180559158325, -0.04359230399131775, 0.20769278705120087, -0.19129721820354462, -0.04524118825793266, -0.17037081718444824, 0.13234199583530426, 0.680412232875824, 0.4544486105442047, 0.4564933776855469, -0.04639545455574989, 0.2911747694015503, 0.06325270980596542, -0.08697912842035294, 0.25325119495391846, 0.2899985909461975, 0.3430178463459015, -0.24840962886810303, -0.3318108320236206, -0.641264796257019, -0.1541113406419754, 0.12452568858861923, 0.16540378332138062, 0.32485753297805786, 0.3947008550167084, -0.555100679397583, -0.14549098908901215, -0.688298225402832, 0.11963721364736557, -0.34411346912384033, 0.39166685938835144, -0.2510634660720825, -0.46982353925704956, 0.49246111512184143, -0.011292285285890102, -0.28776463866233826, 0.6261645555496216, -0.028210287913680077, -0.2841183543205261, 0.7476947903633118, 0.44679129123687744, -0.04708854481577873, 0.10296355187892914, -0.020319122821092606, -0.03627792373299599, -0.7412897348403931, -0.21180970966815948, -0.6932725310325623, -0.28665149211883545, -0.29023224115371704, -0.30704620480537415, 0.07882848381996155, 0.5090987086296082, -0.14784619212150574, 0.2061057686805725, -0.07933655381202698, 0.6903327703475952, 0.5445200204849243, 0.04858335107564926, 0.46665626764297485, -0.05257048457860947, -0.16574761271476746, -0.32355979084968567, -0.8236814737319946, -0.7906702160835266, 0.9380996227264404, 0.45512905716896057, 0.6762903332710266, 0.15048962831497192, 0.7294937372207642, 0.27323541045188904, 0.3901410698890686, -0.8552553653717041, 0.4200406074523926, -0.11019453406333923, -0.4868190586566925, -0.44946274161338806, -0.2687249183654785, -0.57875657081604, 0.323202908039093, -0.18983258306980133, -0.43607383966445923, 0.01317786518484354, 0.020520363003015518, -0.5249689817428589, 0.016867993399500847, -0.8521217703819275, 1.1922733783721924, -0.2240539938211441, -0.3830240070819855, 0.44156476855278015, -0.883317232131958, 0.1827542930841446, -0.12433704733848572, 0.3151324987411499, -0.16647230088710785, 0.12329989671707153, 0.9957467317581177, -0.2757115662097931, 1.0864460468292236, -0.2649631202220917, 0.23471598327159882, 0.3223826587200165, 0.13686782121658325, 0.2791261672973633, -0.12034441530704498, -0.04096706956624985, 0.028627239167690277, -0.03260641172528267, -0.23491957783699036, -0.4968293011188507, 0.01903081126511097, -0.9592092633247375, -0.4664232134819031, -0.6351426839828491, -0.3514505624771118, -0.00728725316002965, 0.5257031321525574, 0.2617930471897125, 0.5277626514434814, -0.49295517802238464, -0.14773158729076385, 0.15155291557312012, -0.09428150206804276, 0.47770044207572937, 0.8239631056785583, -0.4089627265930176, -0.4992329478263855, 0.5433842539787292, 0.17943713068962097, 0.1524285078048706, -0.07109996676445007, 0.3632912337779999, -0.20489992201328278, -0.13718368113040924, -0.7652812600135803, 0.367753267288208, -0.9670263528823853, -0.2699829339981079, -0.7517902851104736, 0.16991595923900604, -0.6156741976737976, -0.10641661286354065, -0.21503151953220367, -0.4155205488204956, -0.3945954740047455, -0.12477017939090729, -0.22584310173988342, 0.7375245690345764, 0.18800874054431915, 0.7030258178710938, -0.7936949729919434, -0.117141954600811, -0.15578065812587738, 0.26162534952163696, -0.09927954524755478, -0.7104443907737732, -0.09449615329504013, -0.06614356487989426, -0.17653587460517883, -0.8398686647415161, 0.3277725875377655, 0.257736474275589, 0.5136935114860535, -0.026678599417209625, -0.1689414232969284, 1.073893427848816, -0.1621282398700714, 0.4720737040042877, -0.15502163767814636, -1.3875185251235962, 0.798724353313446, -0.3995576798915863, 0.6108302474021912, 0.8493037819862366, 0.2921331822872162, -0.9350101351737976, -0.3105860948562622, -0.8452506065368652, -0.6654788255691528, 0.9664480686187744, -0.17902648448944092, -0.16341358423233032, -0.01897396519780159, 0.9565218091011047, -0.05632144212722778, -0.09468545764684677, -0.7172560095787048, 0.003582391422241926, -0.029492033645510674, -0.42984533309936523, -0.20785760879516602, -0.5343456864356995, 0.23724646866321564, -0.2166290432214737, 0.9189359545707703, -0.20484331250190735, -0.05651705712080002, 0.6126670837402344, -0.3254553973674774, -0.5439230799674988, 0.6388073563575745, 0.4416036307811737, 0.8575025200843811, -0.14642679691314697, 0.0712222009897232, 0.13541282713413239, -0.3972949981689453, 0.2883482575416565, 0.07888435572385788, -0.4506571888923645, 0.30064383149147034, 0.46416372060775757, 0.5979315042495728, 0.5247887969017029, -0.7724083662033081, 0.6649897694587708, -0.31674352288246155, 0.23208025097846985, -0.3673750162124634, 0.024296971037983894, -0.014016122557222843, -0.08114565908908844, 0.17337605357170105, 0.16833309829235077, 0.31540629267692566, -0.49286773800849915, -0.07840888202190399, -0.14422054588794708, -0.09093905240297318, -0.3913397789001465, 0.4490164816379547, 0.18757444620132446, -0.24498847126960754, 0.5177474021911621, -0.37439411878585815, -0.8388837575912476, 0.8332870006561279, 0.897720992565155, 0.503365695476532, -0.7494738101959229, 0.3500312268733978, 0.8380840420722961, 0.3980047106742859, -0.6214508414268494, 0.3671179413795471, 0.3645310699939728, -0.8543844819068909, -0.31917575001716614, -0.5639703869819641, -0.4037676453590393, -0.38387638330459595, -1.0075349807739258, 0.36252933740615845, -0.563484251499176, -0.372789204120636, -0.07261686027050018, 0.0769963413476944, -0.4302569329738617, 0.3109857738018036, 0.0443735308945179, 0.650618851184845, -1.1027946472167969, 0.4901741147041321, 1.2845797538757324, -0.2162822186946869, -1.1863738298416138, -0.23503448069095612, 0.21138857305049896, -0.5163106918334961, 0.48255375027656555, 0.4689573645591736, 0.10194661468267441, 0.16121751070022583, -0.1078934520483017, -0.6328730583190918, 0.9830092191696167, -0.11335770040750504, -0.9107557535171509, 0.05971773341298103, 0.18664692342281342, 0.7176396250724792, -0.02614404819905758, 0.3233444094657898, 0.9846173524856567, 0.1801597625017166, -0.04835166782140732, -0.9499596953392029, 0.007914085872471333, -0.43009576201438904, 0.39729467034339905, 0.4432659447193146, -0.5659219026565552, 0.8225153088569641, -0.10416485369205475, -0.6756705045700073, 0.203506737947464, 0.31472787261009216, -0.09793722629547119, 0.4687577188014984, 0.19274401664733887, 0.9256265759468079, 1.1852871179580688, -0.3956802487373352, 1.0128986835479736, 0.2825982868671417, 0.423615425825119, 1.2095022201538086, -0.1363336443901062, 0.9226101040840149, 0.28191864490509033, -0.4331554174423218, 0.4501032829284668, 0.44407033920288086, 0.0009897967102006078, 0.01656397059559822, -0.0458662174642086, 0.10677185654640198, -0.13130657374858856, -0.11061102896928787, -0.065128393471241, 0.47836825251579285, 0.33006760478019714, -0.4212853014469147, 0.16507188975811005, -0.0029665993060916662, 0.5466011166572571, 0.4623352587223053, -0.5101398825645447, 0.9504523873329163, -0.2756057679653168, -1.020974040031433, 0.28387805819511414, 0.33788180351257324, 0.6006814241409302, -0.06310364603996277, 0.0737072229385376, -0.3729378283023834, 0.31191718578338623, -0.3858543932437897, -0.4839398264884949, 0.1919868141412735, 0.12843789160251617, 0.011786983348429203, 0.24108006060123444, 1.14985990524292, -0.30892324447631836, -0.7068042159080505, -0.13673047721385956, 0.5258630514144897, -0.07828355580568314, 0.3730176091194153, -0.23941683769226074, 0.39230677485466003, -0.04213550314307213, 0.21977129578590393, -0.2085827738046646, 0.06279638409614563, 0.03519748896360397, 0.20840921998023987, 0.23731353878974915, -0.12191940099000931, 0.16495251655578613, 0.27853137254714966, 0.4817161560058594, -0.7895417213439941, -0.5502457618713379, -1.0471293926239014, 0.5910788178443909, 0.011056691408157349, -0.40353038907051086, 1.0417277812957764, 0.310544490814209, 1.3464467525482178, -0.028770824894309044, 0.9208347797393799, 0.0719374418258667, 0.7544549703598022, -0.47637709975242615, 0.21490143239498138, -0.07859013974666595, 0.1624513417482376, -0.636911153793335, -0.6863294243812561, -0.7006791234016418, 0.9805783033370972, -0.44126760959625244, -0.05815957114100456, 0.6456154584884644, 0.48662081360816956, 0.38596048951148987, 0.41402584314346313, 0.28383108973503113, 0.2077825367450714, 0.11292169243097305, 0.6124114394187927, 1.2717232704162598, -0.8677822351455688, -0.2647809386253357, -0.623080313205719, -0.2622363269329071, -0.38924577832221985, -0.586584746837616, -1.0424436330795288, -0.27575817704200745, -0.45044782757759094, -0.3892971873283386, 0.33207955956459045, 1.1472276449203491, 0.02389650046825409, -0.5963582396507263, -0.20999129116535187, 0.04272071272134781, -0.23421920835971832, 0.07164983451366425, -0.22324883937835693, 0.13652600347995758, -0.4156079590320587, -0.6534677147865295, 0.021798472851514816, 0.046469464898109436, 0.19491733610630035, 0.16120822727680206, 0.03421390801668167, -0.189331516623497, -0.22035227715969086, 0.29023703932762146, 0.09118857979774475, -0.7708859443664551, -0.2116430401802063, -0.025462912395596504, -0.3573182225227356, 0.17784470319747925, 0.6870201230049133, -0.5079149007797241, 0.9678040742874146, 0.5405247807502747, 0.735390841960907, -0.2444637417793274, 0.7137944102287292, 0.24599586427211761, -0.69687819480896, -0.11058533936738968, 0.0851035937666893, 0.644780695438385, 0.6177561283111572, -0.4002057909965515, 0.7984163761138916, 0.6350675821304321, -0.7789457440376282, -0.7420291304588318, -0.4775966703891754, -0.6546264886856079, -0.24530847370624542, 1.024339199066162, -0.5009454488754272, -0.561227560043335, -0.0666152760386467, -0.6062694191932678, 0.49325066804885864, -0.2192031741142273, 0.7775338292121887, 1.1317881345748901, 0.05214164778590202, 0.008915905840694904, -0.4632730782032013, 0.2779310643672943, 0.6832570433616638, -0.9840960502624512, -0.1797155737876892, 0.788378894329071, 0.30700260400772095, 0.15566186606884003, 0.7100927829742432, -0.21356511116027832, 0.6557577848434448, -0.04120076820254326, 0.19932681322097778, -0.037381429225206375, -0.2736726999282837, -0.9886295199394226, -0.23740988969802856, 0.29818007349967957, 0.2734687626361847 ]
http://arxiv.org/abs/2402.18099v2
http://arxiv.org/pdf/2402.18099v2
Editing Factual Knowledge and Explanatory Ability of Medical Large Language Models
2024-02-28T06:40:57
2024-06-04T14:38:34
Derong Xu, Ziheng Zhang, Zhihong Zhu, Zhenxi Lin, Qidong Liu, Xian Wu, Tong Xu, Wanyu Wang, Yuyang Ye, Xiangyu Zhao, Yefeng Zheng, Enhong Chen
cs.CL
cs.CL, cs.AI
Model editing aims to precisely alter the behaviors of large language models (LLMs) in relation to specific knowledge, while leaving unrelated knowledge intact. This approach has proven effective in addressing issues of hallucination and outdated information in LLMs. However, the potential of using model editing to modify knowledge in the medical field remains largely unexplored, even though resolving hallucination is a pressing need in this area. Our observations indicate that current methods face significant challenges in dealing with specialized and complex knowledge in medical domain. Therefore, we propose MedLaSA, a novel Layer-wise Scalable Adapter strategy for medical model editing. MedLaSA harnesses the strengths of both adding extra parameters and locate-then-edit methods for medical model editing. We utilize causal tracing to identify the association of knowledge in neurons across different layers, and generate a corresponding scale set from the association value for each piece of knowledge. Subsequently, we incorporate scalable adapters into the dense layers of LLMs. These adapters are assigned scaling values based on the corresponding specific knowledge, which allows for the adjustment of the adapter's weight and rank. The more similar the content, the more consistent the scale between them. This ensures precise editing of semantically identical knowledge while avoiding impact on unrelated knowledge. To evaluate the editing impact on the behaviours of LLMs, we propose two model editing studies for medical domain: (1) editing factual knowledge for medical specialization and (2) editing the explanatory ability for complex knowledge. We build two novel medical benchmarking datasets and introduce a series of challenging and comprehensive metrics. Extensive experiments on medical LLMs demonstrate the editing efficiency of MedLaSA, without affecting unrelated knowledge.
[ 0.10230288654565811, -0.9639599323272705, 0.8696141242980957, -0.04907714203000069, 0.018787411972880363, -0.06223217770457268, -0.21753811836242676, -0.5934199690818787, 0.49172452092170715, 0.5625592470169067, -0.14190484583377838, -0.43697473406791687, -0.5320543646812439, -0.156005397439003, 0.022260325029492378, 1.0273197889328003, -0.08037453889846802, 0.43466606736183167, -0.23021329939365387, -0.6080796122550964, -0.673606276512146, -0.4789636433124542, -0.78077232837677, -0.031135480850934982, 0.7108377814292908, -0.046414539217948914, 0.8957031965255737, 0.9107588529586792, 0.5730987787246704, 0.3966558277606964, -0.7018188834190369, 0.6034755110740662, -0.2695535123348236, 0.19978424906730652, -0.6038963794708252, -0.7123072743415833, -1.058274745941162, -0.1594986468553543, 0.6169460415840149, 0.7759634852409363, -0.133778378367424, 0.20193733274936676, -0.294036865234375, 0.8428124189376831, -0.37270277738571167, 0.14137503504753113, -0.7772398591041565, -0.030521219596266747, -0.06339719146490097, -0.4136417806148529, -0.418016642332077, -0.27442699670791626, 0.07172677665948868, -0.6217827200889587, 0.1010923981666565, -0.09338412433862686, 0.4988875687122345, 0.6642990708351135, -0.17076356709003448, -0.294727623462677, -0.7934982180595398, 0.20627158880233765, -0.9206014275550842, 0.07833222299814224, 0.04427940770983696, 0.24131141602993011, -0.1703825742006302, -0.7634287476539612, -0.41183021664619446, -0.013911906629800797, -0.015044501051306725, -0.12948040664196014, -0.2093513011932373, 0.14974838495254517, 0.4408104717731476, 0.195726677775383, -0.22735166549682617, 0.19470706582069397, -0.616895854473114, 0.03169497475028038, 0.4270220100879669, 0.2667151987552643, 0.6435670852661133, -0.059461478143930435, 0.1157316192984581, 0.17222216725349426, -0.8206782937049866, -0.011736389249563217, -0.08655087649822235, 0.13441555202007294, 0.10028386861085892, 0.8681342005729675, 0.0486990250647068, 0.8704227209091187, 0.13892583549022675, -0.29624712467193604, 0.3585662543773651, 0.010098861530423164, -0.4784110486507416, -0.067844457924366, 0.34069764614105225, 0.4453655779361725, -0.15871275961399078, -0.08089277148246765, -0.11731062084436417, -0.12301944941282272, 0.45410215854644775, -0.719404399394989, -0.21975760161876678, 0.26451990008354187, -0.6427370309829712, -0.4824005961418152, -0.5535902380943298, -0.5572722554206848, -0.9009531140327454, -0.4007467031478882, 0.6872913837432861, -0.416181355714798, 0.05712136998772621, 0.4040199816226959, 0.040083516389131546, -0.36319634318351746, 0.5910849571228027, -0.8402586579322815, 0.16042663156986237, 0.4979112148284912, 0.9245429039001465, 0.09540759772062302, -0.22257986664772034, -0.3690126836299896, 0.31463176012039185, -0.45897066593170166, 0.7317461371421814, -0.6852909326553345, 0.062106020748615265, -0.29117351770401, 0.013114995323121548, -0.257708340883255, -0.6957930326461792, 0.499787837266922, -0.6895151138305664, 0.0362473800778389, -0.3246768116950989, -0.8459997177124023, -0.4804249405860901, -0.006086427718400955, -0.6346326470375061, 0.4325617551803589, 0.08999283611774445, -0.6980769634246826, 0.2126849740743637, -0.8213751316070557, -0.2751030921936035, -0.22161196172237396, -0.11994735151529312, -0.3672153353691101, 0.4602532982826233, 0.23828625679016113, 0.4939956068992615, -0.13007041811943054, 0.6333868503570557, -0.2693536877632141, 0.0403449647128582, 0.3883097767829895, -0.10525962710380554, 0.5418161153793335, -0.07167782634496689, -0.035032644867897034, 0.48279887437820435, -0.998673677444458, -0.1406111866235733, 0.020032888278365135, -0.21718689799308777, -0.5120980143547058, 0.0887056216597557, -0.0847378671169281, 0.46429190039634705, 0.06748554855585098, -0.4477531909942627, 0.5500749349594116, -0.4831044375896454, 0.6293137669563293, 0.8251619935035706, 0.20275980234146118, 0.266571968793869, -0.5156541466712952, 0.3893556296825409, -0.051087286323308945, 0.2582238018512726, -0.02754947543144226, -0.5575113892555237, -0.5918607115745544, -0.44338905811309814, 0.38565781712532043, 0.3437593877315521, -0.7035363912582397, 0.11849294602870941, -0.14591288566589355, -0.6688585877418518, -0.9340213537216187, 0.03245513513684273, 0.27637335658073425, 0.8377280235290527, 0.6361055374145508, 0.09549760073423386, -0.4576314389705658, -0.9476653933525085, -0.5512064695358276, -0.0015553560806438327, 0.06532666832208633, 0.3305482566356659, 0.43391039967536926, -0.3220723569393158, 0.4968615174293518, -0.7094796299934387, -0.44080471992492676, 0.01210104301571846, -0.21368417143821716, 0.24172961711883545, 0.59809809923172, 0.6662548780441284, -0.5534821152687073, -0.21807657182216644, 0.19032691419124603, -0.8410789966583252, -0.18858951330184937, -0.3615964651107788, -0.0033463144209235907, -0.00949867069721222, 0.6044394969940186, -0.6710591316223145, 0.24557924270629883, 0.5294736623764038, -0.5140575170516968, 0.5279568433761597, -0.7883809208869934, 0.19616009294986725, -1.0569326877593994, 0.10201122611761093, -0.32257214188575745, -0.06746476888656616, -0.9329323768615723, 0.24706053733825684, 0.33713510632514954, 0.18601195514202118, -0.2544044256210327, 0.5637491941452026, -0.26771268248558044, 0.14491067826747894, -0.2829207181930542, 0.021102571859955788, 0.004602442961186171, 0.41672420501708984, -0.12166034430265427, 0.483258455991745, 0.4103931486606598, -0.3090883493423462, 0.06715895980596542, 0.31278562545776367, -0.40986931324005127, 0.459931343793869, -0.7919306755065918, 0.07507237046957016, -0.18684765696525574, 0.16652053594589233, -0.6330350041389465, -0.0848846510052681, 0.0555732436478138, -0.14124973118305206, 0.2581360638141632, -0.1381763368844986, -0.4499584436416626, 0.015331344678997993, -0.10888136178255081, 0.44435107707977295, 0.219223752617836, -0.4591705799102783, 0.7711089253425598, 0.5817759037017822, -0.3972432017326355, -0.3277125954627991, -0.5782892107963562, 0.27419549226760864, -0.19050049781799316, -0.7279666662216187, 0.5186319351196289, -0.3612200915813446, -0.2498369663953781, -0.053547345101833344, -0.008219296112656593, -0.09320531040430069, -0.11235706508159637, 0.22955092787742615, 0.6719988584518433, -0.2677818238735199, 0.36980876326560974, 0.6441887617111206, -0.0931052416563034, 0.05709642916917801, 0.06754492223262787, 0.10605903714895248, 0.2151067703962326, -0.3327307105064392, -0.4745696187019348, 0.05085807293653488, 1.1010286808013916, -0.24045635759830475, 0.7556961178779602, 0.14913396537303925, -0.6154231429100037, -0.024387197569012642, -0.782244861125946, -0.01628488302230835, -0.39272475242614746, 0.7044299244880676, -0.4703367054462433, -0.7860924005508423, 0.66836017370224, -0.2846512496471405, 0.08365482091903687, 0.4633997082710266, 0.6084160208702087, 0.12289103865623474, 1.0741267204284668, 0.5552321672439575, 0.17697101831436157, -0.010290654376149178, -0.0014594580279663205, 0.18091438710689545, -1.1445926427841187, -0.20336152613162994, -0.4198235273361206, -0.45534202456474304, -0.42363592982292175, -0.7907570004463196, 0.566826343536377, -0.1431732028722763, 0.11409646272659302, -0.05611615628004074, -0.47061923146247864, 0.5214512348175049, -0.028074854984879494, 0.4915950894355774, 0.4245028793811798, -0.29192185401916504, -0.08709985017776489, -0.21886563301086426, -0.7707598805427551, -0.3135600984096527, 1.2627943754196167, 0.45920947194099426, 0.5998899340629578, 0.06090034544467926, 0.11480467766523361, 0.13859854638576508, 0.3419162631034851, -0.6034892201423645, 0.2523956298828125, -0.2736522853374481, -0.5805400013923645, -0.20531561970710754, -0.2100875824689865, -0.34675300121307373, 0.4425414502620697, -0.3855837881565094, -0.4814656674861908, 0.4295656085014343, 0.321247398853302, -0.6012426018714905, 0.8745784759521484, -0.6635638475418091, 0.5871323347091675, 0.09591513872146606, -0.2866300046443939, -0.380881667137146, -0.6117246150970459, 0.23690354824066162, -0.4313409626483917, 0.4935428500175476, 0.2630070447921753, -0.27485817670822144, 0.7591978907585144, -0.5018065571784973, 0.8590630888938904, -0.23485428094863892, -0.1340089589357376, -0.2806048095226288, 0.2939797043800354, 0.6992895603179932, 0.021788403391838074, -0.18723122775554657, -0.04379720240831375, 0.1221768707036972, -0.25727784633636475, -0.8002662062644958, 0.7399150133132935, -0.574752151966095, -0.5574527382850647, -0.11101759225130081, -1.1193759441375732, -0.4112553894519806, 0.03302957862615585, -0.08016619086265564, 0.4956119954586029, -0.1162167564034462, 0.07539542019367218, 0.8038386702537537, -0.4975311756134033, -0.07448223978281021, 0.6800947189331055, -0.3972943127155304, -0.28571271896362305, 0.8260190486907959, 0.4760458171367645, 0.3867347538471222, 0.25801873207092285, 0.3138997256755829, 0.1641935259103775, -0.8268970847129822, -0.5688934922218323, 0.4541873037815094, -0.7519441843032837, -0.09871724247932434, -1.0343108177185059, -0.3322187662124634, -0.09874138981103897, -0.4380555748939514, -0.5534301400184631, -0.6173702478408813, -0.03959087282419205, -0.06378161907196045, 0.3563689887523651, 0.9609795212745667, -0.12319035083055496, -0.008035951294004917, -0.5687553286552429, 0.5271017551422119, 0.22642968595027924, 0.2952405512332916, 0.06632955372333527, -0.7676712870597839, -0.2512490153312683, -0.09525076299905777, 0.21744200587272644, -0.7263619303703308, 0.3029235005378723, -0.05628593638539314, 0.2694288492202759, 0.4130810499191284, -0.3864763379096985, 0.9344556331634521, -0.697145402431488, 0.46130597591400146, -0.05944425240159035, -0.9049386978149414, 0.4598447382450104, -0.17535915970802307, 0.2228359878063202, 0.35089221596717834, 0.055357325822114944, -0.5893245339393616, -0.45566338300704956, -0.47859373688697815, -0.4811239540576935, 0.5413375496864319, -0.09232953190803528, 0.0314406156539917, 0.32272836565971375, 0.7386247515678406, 0.2857707440853119, 0.08847884833812714, -0.38849419355392456, -0.2413119524717331, 0.3183336555957794, 0.0737844705581665, 0.04425410181283951, -0.4901115596294403, -0.2753748893737793, -0.7719230651855469, 0.7059016227722168, 0.053844571113586426, -0.2769971787929535, 0.32738277316093445, -0.13882873952388763, -0.23199211061000824, 0.19324392080307007, 0.9736012816429138, 1.0560729503631592, -0.2803593873977661, 0.04098927602171898, 0.3799440860748291, -0.6091156005859375, 0.008062170818448067, -0.2483445405960083, -0.4702746570110321, 0.05824447050690651, 0.41505464911460876, 0.8164905905723572, 0.28390932083129883, -0.6430788636207581, 0.2364296019077301, 0.03269730880856514, -0.15855923295021057, 0.25328394770622253, 0.017069658264517784, 0.3170528709888458, 0.42301809787750244, -0.08109331876039505, 0.813767671585083, 0.08775106072425842, -0.29315197467803955, -0.052628930658102036, 0.1376674771308899, -0.34387513995170593, -0.3813017010688782, 0.7896113395690918, -0.11587568372488022, -0.23991568386554718, 0.05158117040991783, 0.2777045965194702, -0.18092483282089233, 0.5612347722053528, 0.6325427889823914, 0.5705621242523193, -0.5406630039215088, 0.1464495211839676, 0.3626978397369385, 0.39820486307144165, 0.0514780730009079, 0.10114726424217224, 0.46445921063423157, -0.586146891117096, -0.5133528113365173, -0.2955436706542969, -0.28101253509521484, 0.25927457213401794, -0.5783156156539917, 0.20192179083824158, -0.5723679065704346, -0.04765888303518295, 0.5960242748260498, -0.517073929309845, -0.4543015658855438, 0.2702600061893463, -0.29574069380760193, 0.800213634967804, -0.7556750178337097, 0.9561316967010498, 0.7352135181427002, -0.20521923899650574, -0.6776013970375061, -0.42186281085014343, 0.18795602023601532, -0.8045825958251953, 0.3375357985496521, -0.21462592482566833, 0.03851712495088577, -0.25115659832954407, -0.4644777178764343, -0.6898204684257507, 1.0153268575668335, 0.43520650267601013, -0.6193570494651794, -0.31681933999061584, -0.14260981976985931, 0.7961429357528687, -0.5005568861961365, 0.05772250145673752, 0.4970709979534149, 0.3691686689853668, 0.018495749682188034, -0.7242564558982849, 0.3110522925853729, -0.3730567991733551, -0.03369497135281563, -0.10206697881221771, -0.46241965889930725, 0.8715969324111938, -0.5306992530822754, 0.28174614906311035, 0.13713349401950836, 0.27198973298072815, 0.047197211533784866, 0.16705356538295746, 0.3651646673679352, 0.5893608331680298, 1.0359152555465698, 0.39286425709724426, 0.8186242580413818, -0.3576803207397461, 0.1086876392364502, 1.4088025093078613, -0.2876091003417969, 0.713860809803009, 0.5927487015724182, -0.02386663481593132, 0.38165879249572754, 0.22106340527534485, 0.05435685068368912, 0.19632291793823242, 0.1235802173614502, -0.2500185966491699, -0.07175789773464203, 0.0263195987790823, -0.6127262115478516, 0.3880159556865692, 0.38471534848213196, -0.7607040405273438, 0.059255827218294144, 0.20869551599025726, 0.5523313283920288, 0.07311780005693436, -0.30797773599624634, 0.7429043054580688, -0.19094255566596985, -0.4551251232624054, 0.3999484181404114, 0.15749481320381165, 0.27053821086883545, -0.5790572166442871, -0.18705186247825623, -0.03499497100710869, 0.1575300395488739, -0.3355511426925659, -0.5497553944587708, 0.38860079646110535, 0.06562966108322144, -0.5178690552711487, 0.08311913162469864, 0.6572718024253845, -0.3175666332244873, -0.6525962352752686, 0.250997394323349, 0.583989143371582, 0.058786649256944656, -0.15165862441062927, -0.5863111019134521, 0.1342328041791916, 0.10405165702104568, -0.19348467886447906, 0.3814927339553833, 0.5662674903869629, 0.10001732409000397, 0.7414555549621582, 0.7640764117240906, 0.7295547127723694, -0.11764183640480042, 0.1293971836566925, 1.0867863893508911, -0.587014377117157, -0.26846709847450256, -0.779478907585144, 0.41819754242897034, -0.089097760617733, -0.27172449231147766, 0.38017117977142334, 0.4983057379722595, 0.4288649559020996, -0.2969571053981781, 0.5911607146263123, -0.010715433396399021, 0.45285966992378235, -0.6349900364875793, 1.118010401725769, -0.5098719596862793, 0.3653009235858917, -0.4185730516910553, -0.7123820185661316, -0.581657886505127, 0.25749722123146057, -0.3281242847442627, -0.21590711176395416, 0.889209508895874, 0.974583625793457, -0.011138977482914925, -0.02353936992585659, 0.5115402936935425, 0.9808058738708496, 0.35198649764060974, 0.3887283205986023, 0.3479517102241516, -0.33188512921333313, -0.06670355051755905, -0.3525262176990509, -0.4717831015586853, -0.04006655514240265, -0.5609170198440552, -0.9976472854614258, -0.5389854907989502, -0.33313092589378357, -0.23550459742546082, 0.252411812543869, 0.8959867358207703, 0.5703469514846802, -0.693387508392334, 0.10952553153038025, 0.28126052021980286, 0.15908615291118622, -0.4468776285648346, -0.10686392337083817, 0.9056887626647949, -0.23365522921085358, -0.5564702749252319, 0.5458047986030579, 0.6954849362373352, -0.27081793546676636, -0.07713782787322998, 0.12099489569664001, -0.35449790954589844, 0.3139581084251404, 0.7929462194442749, 0.1286538690328598, -0.6948211789131165, -0.26552271842956543, -0.2026139348745346, -0.010395837016403675, 0.11833777278661728, 0.8807845711708069, -0.5711765885353088, 0.9907599687576294, 0.37015607953071594, 0.7451915144920349, 0.13766074180603027, -0.31861135363578796, 0.3267168700695038, -0.06877502799034119, 0.004340087529271841, 0.08540128916501999, 0.4595464766025543, 0.22247084975242615, -0.4408803880214691, 0.3720256984233856, 0.1806558519601822, -0.7014272809028625, -0.8235823512077332, -0.24394777417182922, -1.0432484149932861, -0.4242938756942749, 0.8473863005638123, -0.1470121443271637, -0.14798200130462646, -0.047817084938287735, -0.7166962623596191, 0.22269584238529205, 0.18543395400047302, 1.1320297718048096, 0.5393033623695374, -0.15094995498657227, 0.21507631242275238, -0.852013349533081, 0.5829604864120483, 0.5506622195243835, -0.9841229319572449, 0.12274457514286041, 0.5627022385597229, 0.3649205267429352, -0.02827369049191475, 0.4380588233470917, -0.4172515869140625, 0.34974759817123413, -0.1912076771259308, 0.04366367682814598, -0.23766766488552094, -0.3228701949119568, -0.44986534118652344, 0.28363436460494995, -0.011576607823371887, 0.18803443014621735 ]
http://arxiv.org/abs/2402.18091v1
http://arxiv.org/pdf/2402.18091v1
Polos: Multimodal Metric Learning from Human Feedback for Image Captioning
2024-02-28T06:24:39
2024-02-28T06:24:39
Yuiga Wada, Kanta Kaneda, Daichi Saito, Komei Sugiura
cs.CV
cs.CV, cs.AI, cs.CL
Establishing an automatic evaluation metric that closely aligns with human judgments is essential for effectively developing image captioning models. Recent data-driven metrics have demonstrated a stronger correlation with human judgments than classic metrics such as CIDEr; however they lack sufficient capabilities to handle hallucinations and generalize across diverse images and texts partially because they compute scalar similarities merely using embeddings learned from tasks unrelated to image captioning evaluation. In this study, we propose Polos, a supervised automatic evaluation metric for image captioning models. Polos computes scores from multimodal inputs, using a parallel feature extraction mechanism that leverages embeddings trained through large-scale contrastive learning. To train Polos, we introduce Multimodal Metric Learning from Human Feedback (M$^2$LHF), a framework for developing metrics based on human feedback. We constructed the Polaris dataset, which comprises 131K human judgments from 550 evaluators, which is approximately ten times larger than standard datasets. Our approach achieved state-of-the-art performance on Composite, Flickr8K-Expert, Flickr8K-CF, PASCAL-50S, FOIL, and the Polaris dataset, thereby demonstrating its effectiveness and robustness.
[ -0.49033334851264954, -0.12041439116001129, 0.330089807510376, 0.41006922721862793, -0.5569215416908264, 0.3084995448589325, -0.3835147023200989, -0.17511115968227386, 0.20595519244670868, 0.336887001991272, -0.4860103130340576, -0.6077521443367004, -0.5066608786582947, 0.2945801615715027, -0.05382828786969185, 1.1981697082519531, 0.022457657381892204, 0.6593815684318542, -0.6203764081001282, -0.3815155029296875, -0.3581293821334839, -0.13661806285381317, -0.3828914165496826, 0.11588512361049652, 0.7560045719146729, 0.4885360598564148, 0.510759711265564, 0.21310599148273468, 0.7328401207923889, 0.28730741143226624, 0.46737006306648254, 0.7190762162208557, -0.12971140444278717, -0.09725558757781982, -0.11954100430011749, -0.32991066575050354, -0.20795394480228424, 0.3187887370586395, 0.5157750844955444, 0.3953802287578583, 0.018424581736326218, 0.22871597111225128, -0.09113624691963196, 0.7960793375968933, -0.8005679249763489, 0.5885866284370422, -0.3712851405143738, 0.4905594289302826, 0.14237596094608307, -0.3756149709224701, -0.5983452796936035, -0.09466011822223663, 0.23123697936534882, -0.826618492603302, 0.36043861508369446, 0.5966190099716187, 0.8488926291465759, 0.10189839452505112, -0.3034082353115082, -0.20854488015174866, -0.4910842776298523, 1.1579376459121704, -0.20989681780338287, 0.40361469984054565, 0.29786738753318787, 0.45791178941726685, 0.3324808180332184, -0.34244590997695923, -0.7014455795288086, -0.5688909292221069, -0.4528147876262665, 0.3914390802383423, 0.12702032923698425, -0.2378396987915039, 0.15792866051197052, 0.2250794619321823, -0.4265317916870117, -0.03116953745484352, -0.6698594093322754, -0.3842228353023529, 0.6672554016113281, 0.33084848523139954, -0.05688787251710892, -0.5643420219421387, -0.7530069351196289, -0.37698233127593994, -0.2881181538105011, 0.21399489045143127, 0.18237879872322083, 0.029294416308403015, -0.26369810104370117, 0.2463984340429306, -0.27487534284591675, 0.4424804747104645, -0.1160859540104866, -0.23528917133808136, 0.5945555567741394, -0.18515947461128235, 0.1721632331609726, -0.6403642892837524, 1.1738388538360596, 0.8470785021781921, 0.07675308734178543, -0.3853330910205841, -0.3481115996837616, -0.027417944744229317, 0.34754428267478943, -0.5174762010574341, -0.3575749397277832, -0.08863476663827896, -0.42858508229255676, -0.543140709400177, 0.8201366662979126, -1.0269838571548462, -0.6056735515594482, -0.5836580395698547, 0.6241001486778259, -0.43786510825157166, 0.2770371735095978, -0.19824369251728058, -0.3046378493309021, 0.38609033823013306, 0.39517471194267273, -0.4989190101623535, 0.4412696659564972, 0.3879888951778412, 0.9217153191566467, -0.44456279277801514, -0.5886847972869873, -0.9258176684379578, 0.020679881796240807, -0.35038167238235474, 0.8250342011451721, -0.36842265725135803, -0.07908522337675095, -0.1607801765203476, 0.2470265030860901, 0.14811426401138306, -0.5332558751106262, 0.3143397867679596, -0.516815721988678, 0.39698225259780884, 0.0018010607454925776, -0.08306268602609634, -0.19086363911628723, 0.21512086689472198, -0.7694574594497681, 0.39954501390457153, -0.024420306086540222, -0.7571659684181213, 0.5491964221000671, -0.8189897537231445, -0.5247666239738464, -0.07891755551099777, -0.09576267749071121, -0.9790439009666443, 0.04716680571436882, 0.6656762361526489, 0.5554502606391907, -0.43551522493362427, 0.06035361811518669, -0.47722986340522766, -0.3275541365146637, 0.6039139032363892, -0.1621505320072174, 0.41893234848976135, 0.20607328414916992, -0.18148411810398102, 0.5248515605926514, -0.5688816905021667, -0.08000639826059341, 0.03147554397583008, 0.03207772225141525, -0.0401063933968544, 0.015738792717456818, 0.08458694815635681, 0.0973137766122818, -0.13936492800712585, -0.6512700319290161, -0.277296245098114, 0.1665772944688797, 0.6144004464149475, 0.6853494644165039, -0.09841329604387283, 0.44317618012428284, -0.4410686790943146, 0.5033860206604004, 0.22636005282402039, 0.4233447313308716, -0.4706272780895233, -0.1993039846420288, -0.7582113146781921, -0.7413694858551025, 0.25206243991851807, 0.46935349702835083, -0.6801436543464661, 0.5206959843635559, -0.38975411653518677, -0.4271862506866455, -0.6306948661804199, 0.45405980944633484, 0.5413188934326172, 0.32175183296203613, 0.40578794479370117, -0.7564665675163269, -0.26237520575523376, -1.2206761837005615, 0.20878061652183533, 0.07555633038282394, -0.28363147377967834, 0.4851484000682831, 0.46788275241851807, 0.012078292667865753, 0.7230806350708008, -0.6481447219848633, -0.8715535402297974, 0.05895327776670456, 0.6157596111297607, -0.3191295862197876, 0.39261218905448914, 0.35018789768218994, -0.6852068901062012, -0.5126102566719055, -0.21115019917488098, -0.6872631311416626, 0.041867438703775406, -0.2599806785583496, -0.11800550669431686, 0.055292319506406784, 0.48912686109542847, -0.4251161813735962, -0.06445874273777008, 0.421032190322876, 0.05197255313396454, 0.6623459458351135, -0.29205676913261414, 0.35414430499076843, -0.7510935068130493, -0.025125950574874878, 0.19489668309688568, -0.247899129986763, 0.2014712393283844, -0.014239192940294743, 0.17569874227046967, -0.09599930047988892, -0.4227019250392914, 0.2060406655073166, -0.6508093476295471, -0.2748604714870453, 0.08217765390872955, 0.5055915713310242, 0.4646318256855011, 0.7026599049568176, 0.07898323237895966, 0.5112134218215942, 0.6707148551940918, -0.10219109803438187, 0.963956892490387, 0.11011814326047897, -0.4801650047302246, 0.9564569592475891, -0.415740042924881, 0.23837688565254211, -0.37472888827323914, 0.2971065938472748, -1.1958136558532715, -0.25642314553260803, 0.1866769641637802, -0.4567391872406006, 0.22140635550022125, 0.24868130683898926, -0.4726555347442627, -0.5781880617141724, -0.7773320078849792, 0.14776396751403809, 0.302352637052536, -0.600234866142273, 0.4965013861656189, 0.27484601736068726, -0.0627351775765419, -0.6354841589927673, -0.40125614404678345, -0.0044575962238013744, -0.2114972025156021, -0.36022862792015076, 0.060695987194776535, -0.00012977633741684258, 0.08009767532348633, -0.07560578733682632, 0.42040935158729553, -0.011043199338018894, -0.2212476283311844, 0.45742613077163696, 0.5410991311073303, 0.07069509476423264, 0.3613451421260834, -0.15371733903884888, -0.1488254815340042, 0.14788296818733215, -0.0664370134472847, 0.2350965440273285, -0.5755471587181091, -0.3950292766094208, -0.8045811653137207, 0.2214406281709671, 0.8266353011131287, -0.6005957722663879, 0.4084397852420807, 1.1037230491638184, 0.06921686977148056, -0.029817894101142883, -0.5189408659934998, -0.3480970859527588, -0.35632410645484924, 0.6511366963386536, -0.24000532925128937, -0.5743367075920105, 0.4022303819656372, 0.09892095625400543, -0.16276076436042786, 0.31047767400741577, 0.24990656971931458, -0.5214865803718567, 1.111559510231018, 0.42926502227783203, -0.1071905791759491, 0.4546557664871216, -0.36020180583000183, -0.10577765107154846, -0.9208564758300781, -0.3389938771724701, -0.11631429940462112, -0.513003408908844, -0.5120953917503357, -0.6087517142295837, 0.43801575899124146, -0.26105737686157227, 0.004870278760790825, 0.07815013825893402, -0.3078729212284088, 0.6566365361213684, 0.574360728263855, 0.6056507229804993, 0.21974600851535797, 0.10030948370695114, 0.0754038393497467, -0.26694706082344055, -0.42784592509269714, -0.30583301186561584, 1.1068322658538818, 0.22429315745830536, 0.8184614777565002, -0.14619596302509308, 0.3891751170158386, 0.51164311170578, 0.8275924921035767, -0.8047009706497192, 0.3876228332519531, -0.32212990522384644, -0.367840051651001, -0.2612638771533966, -0.47178366780281067, -0.7261690497398376, 0.3904222846031189, -0.6645650863647461, -0.1779049038887024, -0.196254700422287, 0.09872536361217499, -0.5065104365348816, 0.19627153873443604, -0.6902750134468079, 0.8726069927215576, -0.5429820418357849, -0.508507251739502, -0.45786651968955994, -0.9879044890403748, 0.28957802057266235, 0.1343175321817398, 0.4961346685886383, 0.011167582124471664, -0.17337949573993683, 0.8641536235809326, 0.024568870663642883, 0.9845002293586731, -0.16282808780670166, 0.4084703028202057, 0.19986990094184875, 0.040388837456703186, 0.027012160047888756, 0.16688036918640137, 0.48170170187950134, 0.22732901573181152, -0.08312176167964935, -0.41111570596694946, -0.7295249700546265, 0.5902113318443298, -1.0064972639083862, -0.3401247560977936, -0.23798048496246338, -0.5647010803222656, -0.27934154868125916, -0.09559407085180283, 0.11108442395925522, 0.43824294209480286, -0.10045088082551956, 0.23292946815490723, 0.263244092464447, -0.35630926489830017, 0.2670179009437561, 0.5017583966255188, -0.09928063303232193, -1.189386248588562, 1.1683918237686157, -0.32136616110801697, 0.05535471439361572, 0.4576491117477417, 0.2667577862739563, -0.17992590367794037, -0.11178479343652725, -0.6638882160186768, 0.5597041845321655, -0.6254005432128906, -0.5345320701599121, -0.3005319833755493, 0.13078127801418304, -0.12141354382038116, -0.31210896372795105, -0.3438204228878021, -0.22552433609962463, -0.17636767029762268, -0.026481319218873978, 0.009988024830818176, 0.772750735282898, -0.060948774218559265, 0.2076924592256546, -0.901216983795166, 0.25728246569633484, 0.4758330285549164, 0.46068844199180603, -0.020912108942866325, -0.3717561960220337, -0.33512455224990845, -0.31470733880996704, -0.568899393081665, -0.8502261638641357, 0.4337245523929596, 0.3669115900993347, 0.36929675936698914, 0.7232736349105835, 0.03787185624241829, 0.5175968408584595, -0.3008284568786621, 0.7351939082145691, 0.510053813457489, -0.9412845969200134, 0.44593656063079834, -0.08338387310504913, 0.0034871220123022795, 0.42011183500289917, 0.4648774266242981, -0.39117273688316345, -0.393538236618042, -0.39221006631851196, -0.42908287048339844, 0.6375795602798462, -0.2537885904312134, 0.20286621153354645, 0.20250321924686432, 0.13183996081352234, 0.37720659375190735, 0.44776439666748047, -0.9563960433006287, 0.30964162945747375, -0.21593137085437775, -0.26157140731811523, -0.29988718032836914, 0.12217569351196289, -0.3715567886829376, -0.4490019381046295, 0.3163134753704071, -0.3358169198036194, 0.10222222656011581, 0.09794449061155319, -0.3893035054206848, -0.16805201768875122, 0.12228503823280334, 0.5952157974243164, 0.4440705180168152, -0.15441226959228516, 0.2749113142490387, 0.1695612519979477, -0.11316978186368942, -0.06457695364952087, -0.1530962735414505, 0.08207369595766068, -0.13854765892028809, 0.519878089427948, 0.8660805821418762, 0.06305290758609772, -0.7771105170249939, 0.9994980096817017, -0.028280191123485565, -0.1405504047870636, -0.32997775077819824, -0.3011094629764557, -0.3365599811077118, 0.13541215658187866, 0.07673592120409012, 0.34589916467666626, 0.09394558519124985, -0.4412960112094879, 0.2828800082206726, 0.646243155002594, -0.7557994723320007, -0.49940603971481323, 0.5117864012718201, 0.42629072070121765, 0.028564026579260826, 0.6258007287979126, -0.4601091742515564, -0.6666478514671326, 0.4108608365058899, 0.07436662167310715, 0.9348716735839844, 0.13029852509498596, 0.5031360983848572, 0.614170253276825, 0.3226265609264374, 0.29166558384895325, -0.09543289989233017, -0.3421911895275116, -0.4871681332588196, -0.30210351943969727, -0.5858267545700073, -0.557103157043457, -0.18874430656433105, -0.746715784072876, 0.5033888816833496, -0.5787191390991211, -0.14078682661056519, 0.027293173596262932, -0.24772845208644867, -0.6544144749641418, 0.07069286704063416, 0.35523802042007446, 0.22541449964046478, -1.1573008298873901, 0.26750871539115906, 0.8448200821876526, -0.7700902223587036, -0.2472287267446518, -0.18363526463508606, -0.048148296773433685, -0.45165374875068665, 0.8969876766204834, 0.36510515213012695, -0.20036527514457703, -0.5431075692176819, -0.7756315469741821, -0.4753708839416504, 1.1497480869293213, 0.09253647178411484, -0.29311877489089966, 0.3242557942867279, -0.0664406567811966, 0.5859083533287048, -0.7614965438842773, 0.3989526927471161, 0.10740473121404648, 0.29783791303634644, -0.10768807679414749, -0.6743019819259644, -0.058420706540346146, -0.20502018928527832, -0.08129638433456421, -0.1981864720582962, -1.0256390571594238, 0.6550168395042419, -0.7313668131828308, 0.06256909668445587, 0.09572844952344894, 0.7090118527412415, 0.04576174542307854, 0.28567108511924744, 0.8486460447311401, 0.44929230213165283, 0.40571698546409607, -0.10376810282468796, 0.8737943172454834, 0.0012777285883203149, 0.3649347722530365, 0.8544101715087891, -0.04184979572892189, 0.9905043244361877, 0.4905713200569153, -0.33737483620643616, 0.8642106652259827, 0.4112929701805115, -0.40075331926345825, 0.6917977929115295, 0.26925352215766907, 0.019984310492873192, -0.4819520115852356, 0.16239556670188904, 0.255955308675766, 0.6041744351387024, 0.2185581475496292, -0.5523383617401123, 0.1313171684741974, 0.36399126052856445, -0.30234643816947937, 0.06483189761638641, 0.04891955852508545, 0.9095315933227539, -0.09365414828062057, -0.7212048172950745, 0.19514332711696625, -0.06311888247728348, 0.7399343848228455, -0.29686084389686584, -0.10392185300588608, -0.08637403696775436, 0.2265927791595459, -0.2015819400548935, -0.7642888426780701, 0.09931079298257828, -0.20090754330158234, -0.33797961473464966, 0.024698300287127495, 0.07508912682533264, -0.4910115897655487, -0.45471397042274475, 0.20624315738677979, 0.17487381398677826, 0.09879812598228455, 0.11797039955854416, -0.5282098650932312, -0.09352511912584305, -0.19196422398090363, 0.08546555042266846, 0.08393070846796036, 0.245194673538208, -0.16651634871959686, 0.5676438212394714, 0.5533240437507629, 0.04177597910165787, -0.09700606018304825, 0.2400532364845276, 0.7009947896003723, -0.5657274127006531, -0.5432122945785522, -0.5299449563026428, 0.458762526512146, -0.3489362895488739, -0.20014910399913788, 0.49412885308265686, 0.5867666006088257, 0.770882248878479, -0.5605126023292542, 0.672672688961029, 0.18824997544288635, 0.4948435127735138, -0.32217422127723694, 0.6631494164466858, -0.6173254251480103, 0.07609609514474869, -0.328400582075119, -0.9368141293525696, -0.5277273058891296, 0.6576616168022156, -0.389364093542099, -0.19054462015628815, 0.7634690999984741, 0.9071004986763, 0.0812673568725586, -0.10195821523666382, 0.17965486645698547, -0.03554873540997505, 0.18789701163768768, 0.3306162655353546, 1.0630451440811157, -0.34168168902397156, 0.7712346315383911, -0.5342121720314026, -0.5004751682281494, -0.09401809424161911, -0.6887139678001404, -0.8189122080802917, -0.7288889288902283, -0.49468567967414856, -0.025716155767440796, -0.08179687708616257, 0.817652702331543, 0.8367742300033569, -1.068899393081665, -0.26699867844581604, 0.47459733486175537, -0.01216359343379736, -0.43857693672180176, -0.25875329971313477, 0.44900718331336975, -0.6865097880363464, -0.8260543942451477, -0.2218480408191681, 0.4497063457965851, -0.2774182856082916, -0.648012638092041, -0.25613081455230713, 0.20697417855262756, -0.13584867119789124, 0.6982064247131348, -0.08440978825092316, -0.7931913733482361, -0.21881206333637238, 0.06380999088287354, -0.19799618422985077, 0.11324332654476166, 0.8148342370986938, -0.5796680450439453, 0.8643818497657776, 0.3968898355960846, 0.2811950147151947, 0.3557783365249634, 0.07373020797967911, 0.3691287636756897, -0.8269961476325989, 0.19935059547424316, -0.01776755228638649, 0.4641576409339905, 0.8072602152824402, 0.12368462234735489, 0.2450958490371704, 0.6065858602523804, -0.3979282081127167, -0.44679245352745056, -0.048343148082494736, -1.144020676612854, -0.0072463927790522575, 0.8493269085884094, -0.32676222920417786, -0.25122347474098206, 0.3246823847293854, -0.5947656631469727, -0.028870820999145508, -0.34237179160118103, 1.1642098426818848, 0.6694439053535461, -0.12519043684005737, -0.36835068464279175, -0.1045927032828331, 0.2459193617105484, 0.5535824298858643, -0.6828749179840088, -0.05429951101541519, 0.7995157241821289, 0.3422242999076843, 0.5432271957397461, 0.1463954895734787, -0.4855586588382721, 0.43253186345100403, -0.05814746394753456, 0.31458649039268494, -0.08714759349822998, -0.459585964679718, -0.26471027731895447, 0.29313963651657104, -0.04516855254769325, -0.5191501379013062 ]
http://arxiv.org/abs/2402.18061v2
http://arxiv.org/pdf/2402.18061v2
On the use of Silver Standard Data for Zero-shot Classification Tasks in Information Extraction
2024-02-28T05:45:37
2024-03-06T08:42:24
Jianwei Wang, Tianyin Wang, Ziqian Zeng
cs.CL
cs.CL, cs.AI
The superior performance of supervised classification methods in the information extraction (IE) area heavily relies on a large amount of gold standard data. Recent zero-shot classification methods converted the task to other NLP tasks (e.g., textual entailment) and used off-the-shelf models of these NLP tasks to directly perform inference on the test data without using a large amount of IE annotation data. A potentially valuable by-product of these methods is the large-scale silver standard data, i.e., pseudo-labeled data by the off-the-shelf models of other NLP tasks. However, there is no further investigation into the use of these data. In this paper, we propose a new framework, Clean-LaVe, which aims to utilize silver standard data to enhance the zero-shot performance. Clean-LaVe includes four phases: (1) Obtaining silver data; (2) Identifying relatively clean data from silver data; (3) Finetuning the off-the-shelf model using clean data; (4) Inference on the test data. The experimental results show that Clean-LaVe can outperform the baseline by 5% and 6% on TACRED and Wiki80 dataset in the zero-shot relation classification task, and by 3%-7% on Smile (Korean and Polish) in the zero-shot cross-lingual relation classification task, and by 8% on ACE05-E+ in the zero-shot event argument classification task. The code is share in https://github.com/wjw136/Clean_LaVe.git.
[ -0.10752363502979279, -0.5841169357299805, 0.26342254877090454, -0.7194003462791443, -0.13705947995185852, -0.26922017335891724, 0.07838884741067886, -0.49617111682891846, -0.03795275092124939, 0.5233197212219238, -0.16478762030601501, -0.8280474543571472, -0.4339916706085205, -0.02796120196580887, -0.44538840651512146, 1.3113856315612793, -0.03349412605166435, -0.32898110151290894, -0.021248389035463333, -0.07993116229772568, -0.38410714268684387, -0.3885650634765625, -0.3904210329055786, -0.20145678520202637, 0.39304909110069275, 0.6015579700469971, 0.5183601975440979, 0.7752964496612549, 0.2794990539550781, 0.1874813586473465, 0.019934620708227158, 0.20427754521369934, -0.7511094212532043, 0.045170221477746964, -0.35624873638153076, -0.7259727716445923, -0.47836992144584656, 0.35939785838127136, 0.40709418058395386, 0.599408745765686, -0.08550183475017548, 0.5265597701072693, -0.1856750100851059, 0.36332547664642334, -1.3287553787231445, 0.369579017162323, -0.6691043972969055, 0.2975108325481415, -0.4548932611942291, -0.2912014424800873, -0.5220935940742493, 0.01385270431637764, -0.27461016178131104, -0.7399741411209106, 0.1926271617412567, -0.3010297119617462, 1.3952573537826538, 0.1612730175256729, -0.2083909511566162, 0.051460735499858856, -0.8436803221702576, 0.9296183586120605, -0.8072803020477295, 0.30626174807548523, 0.5233011245727539, 0.22471095621585846, 0.07305005192756653, -0.8948966860771179, -0.5507009029388428, 0.10874493420124054, 0.05066894739866257, 0.38743436336517334, -0.44585394859313965, -0.1325986385345459, 0.41988036036491394, 0.17294098436832428, -0.6144363284111023, 0.10797084867954254, -0.7899587750434875, 0.012778030708432198, 0.6846631765365601, -0.15633507072925568, 0.052890531718730927, -0.034491948783397675, -0.27209800481796265, -0.07293783128261566, -0.6064876914024353, 0.16780468821525574, 0.13147221505641937, 0.5136813521385193, 0.17573319375514984, 0.5660821199417114, -0.5873207449913025, 0.7973901033401489, 0.18161314725875854, -0.4385411739349365, 0.6816478967666626, -0.16618892550468445, -0.6534104943275452, 0.19785012304782867, 0.6556462049484253, 0.40267905592918396, 0.40519288182258606, -0.45795413851737976, -0.15931007266044617, 0.12234162539243698, 0.03330641984939575, -0.7749131321907043, -0.08171699196100235, 0.11766881495714188, -0.35269930958747864, -0.15237334370613098, 0.24977947771549225, -0.5821120142936707, -0.273863285779953, -0.33954471349716187, 0.582817792892456, -0.14613842964172363, -0.1606423705816269, 0.4229879379272461, -0.2900906801223755, 0.28090164065361023, 0.6077833771705627, -0.4996452331542969, 0.29164090752601624, 0.5936117768287659, 0.800862193107605, 0.004981081001460552, 0.20109982788562775, -0.9220918416976929, 0.24857842922210693, -0.4209080934524536, 0.7991902232170105, -0.33105751872062683, -0.24298514425754547, -0.25098368525505066, 0.008404122665524483, -0.08855832368135452, -0.6803305149078369, 0.7226468324661255, -0.39275234937667847, 0.3122412860393524, -0.008781214244663715, -0.5183873772621155, -0.3338378071784973, 0.4169764518737793, -0.5592340230941772, 0.8647980093955994, 0.1552441567182541, -0.9182004332542419, 0.44802147150039673, -0.6014617085456848, -0.1096494123339653, 0.4352121651172638, -0.16237513720989227, -0.16671429574489594, 0.02924066223204136, -0.014466224238276482, 0.4796277582645416, 0.025088010355830193, 0.008781583048403263, -0.4475193917751312, -0.7447716593742371, -0.18157969415187836, -0.21736441552639008, 0.8730071187019348, 0.4398058354854584, -0.4295531213283539, -0.4344114065170288, -0.9022900462150574, 0.11739785224199295, 0.04230881109833717, -0.06459838896989822, -0.5246070623397827, -0.3187776803970337, -0.270088791847229, 0.3376920819282532, 0.20667123794555664, -0.7637160420417786, 0.0628119483590126, -0.45273444056510925, -0.21851009130477905, 0.4802093803882599, 0.04113032668828964, 0.6319262385368347, -0.21636514365673065, 0.5578765273094177, 0.023702872917056084, 0.12014083564281464, -0.2707947790622711, -0.29256051778793335, -0.7613700032234192, -0.4886195957660675, 0.7574709057807922, 1.0181792974472046, -0.6122463941574097, 0.4938209056854248, -0.16761574149131775, -0.5974875688552856, -0.902394711971283, 0.22379997372627258, 0.3413991630077362, 0.9039676189422607, 0.3776276409626007, -0.3162980377674103, -0.286343514919281, -0.9888452887535095, -0.04391054809093475, -0.04773852601647377, -0.07002506405115128, 0.013448204845190048, 0.515304684638977, 0.012125116772949696, 1.090640902519226, -0.597846508026123, -0.4443848431110382, 0.060812365263700485, 0.4755578637123108, 0.21715742349624634, 0.17876556515693665, 0.3422834277153015, -0.6870970129966736, -0.42336180806159973, 0.2675812542438507, -1.086974024772644, -0.32278865575790405, -0.13193422555923462, -0.01471716072410345, 0.024439984932541847, 0.5069116950035095, -0.38917481899261475, 0.7782392501831055, 0.05668255314230919, -0.18279793858528137, 0.3219025433063507, -0.04355781525373459, 0.15498386323451996, -0.6966853141784668, 0.490214079618454, 0.2836957275867462, -0.47103583812713623, -1.085258960723877, 0.22376537322998047, 0.09495231509208679, 0.13151998817920685, -0.9629524946212769, 0.7212337255477905, -0.2680138349533081, 0.09045779705047607, -0.23746855556964874, 0.24804016947746277, 0.28006574511528015, 0.12041406333446503, -0.009666846133768559, 0.5189148187637329, 0.29216432571411133, -0.3205461800098419, 0.03228157386183739, 0.1294567584991455, -0.05122850835323334, 0.5901375412940979, -0.49604666233062744, 0.08006353676319122, -0.43103864789009094, 0.027463972568511963, -0.5437144041061401, 0.087737075984478, 0.22928845882415771, -0.434128999710083, 0.588372528553009, -0.13653351366519928, -0.8062960505485535, 0.14124208688735962, -0.49223512411117554, 0.006961036939173937, 0.6647996306419373, -0.2019907683134079, 0.23419155180454254, 0.4653797745704651, -0.11506494879722595, -0.7346485257148743, -0.5548668503761292, 0.11270628869533539, -0.36742740869522095, -0.48813584446907043, 0.19171197712421417, 0.21802504360675812, -0.41672760248184204, -0.0033244492951780558, -0.2874767482280731, -0.07747942954301834, 0.21919512748718262, 0.26482295989990234, 0.4285160005092621, 0.14728344976902008, 0.02939804457128048, -0.23145565390586853, -0.27677208185195923, -0.466799259185791, 0.22498451173305511, 0.29099807143211365, -0.14269094169139862, -0.18217772245407104, -0.7025419473648071, 0.19650322198867798, 0.1390206515789032, -0.3167415261268616, 0.6586909890174866, 0.7075409293174744, -0.4166405200958252, -0.21145454049110413, -0.3182186186313629, 0.07561188191175461, -0.38733983039855957, 0.14129962027072906, -0.1693735122680664, -0.6523193717002869, 0.4366132915019989, -0.13034303486347198, 0.5100403428077698, 0.6140012741088867, 0.12464471906423569, -0.37251073122024536, 0.9928554892539978, 0.45477721095085144, 0.06446634232997894, 0.3009966015815735, -0.5640524625778198, 0.25298789143562317, -0.5185168385505676, -0.2657092213630676, -0.6506341695785522, -0.23254747688770294, -0.26897168159484863, -0.09994900971651077, 0.07642907649278641, 0.5576332807540894, -0.2054114192724228, 0.13273143768310547, -0.32242435216903687, 0.39649704098701477, 0.520706832408905, -0.21808290481567383, 0.27967581152915955, -0.01882294751703739, 0.33491116762161255, 0.03164156898856163, -0.48135098814964294, -0.6683260798454285, 1.070686936378479, 0.20489579439163208, 0.6819203495979309, -0.2832779586315155, 1.2747602462768555, 0.29545512795448303, 0.05708206072449684, -0.7750527262687683, 0.5494738817214966, -0.594914436340332, -0.5682370662689209, 0.15096573531627655, -0.35155627131462097, -1.0718843936920166, 0.12061520665884018, -0.39750033617019653, -0.9432971477508545, 0.17121893167495728, -0.07109326124191284, -0.47185981273651123, 0.18894736468791962, -0.9027569890022278, 0.6743152737617493, -0.08832642436027527, -0.24803012609481812, 0.4771452844142914, -0.6509583592414856, 0.40921974182128906, -0.31262868642807007, 0.5233675837516785, -0.10268894582986832, 0.044569190591573715, 0.9411717653274536, -0.06355390697717667, 0.7099810242652893, -0.41182616353034973, 0.026976725086569786, 0.3524962365627289, 0.06601948291063309, 0.4639461636543274, -0.2856483459472656, -0.13088642060756683, 0.2502955198287964, 0.2792101204395294, -0.1725473552942276, -0.5765756964683533, 0.5160024166107178, -0.631436288356781, -0.26404350996017456, -0.6771336197853088, -0.6626590490341187, 0.013697156682610512, 0.4178335666656494, 0.06238478049635887, 0.18302258849143982, 0.24295148253440857, 0.3957832455635071, 0.5956578254699707, 0.09266544878482819, 0.47954902052879333, 0.5567111372947693, 0.038566555827856064, -0.1542021781206131, 0.8970208764076233, 0.5618319511413574, 0.23797321319580078, 0.10795614868402481, -0.07814434915781021, -0.22585533559322357, -0.6955004930496216, -0.09285768121480942, 0.242822527885437, -0.8219799399375916, -0.4586106538772583, -0.4961288273334503, -0.3556712865829468, -0.409355103969574, -0.21984679996967316, -0.29293185472488403, -0.6861334443092346, -0.756833553314209, -0.1687910407781601, -0.06138215586543083, 0.3616635501384735, -0.1451607048511505, 0.3031560182571411, -1.0828689336776733, 0.4693700969219208, -0.2167833000421524, -0.024414006620645523, -0.46780386567115784, -0.4798782765865326, -0.2393755167722702, 0.04769159108400345, -0.3244040906429291, -0.7765333652496338, 0.443222314119339, 0.2911597788333893, 0.767246425151825, 0.6956825256347656, 0.3870076537132263, 0.9223292469978333, -0.2582665979862213, 0.8748632073402405, 0.24659813940525055, -0.6130104660987854, 0.46923255920410156, -0.24747894704341888, 0.41780954599380493, 0.9970045685768127, 0.37980207800865173, -0.4142323434352875, -0.4051465392112732, -1.0626565217971802, -0.8684857487678528, 0.7322555184364319, 0.18451222777366638, -0.259988009929657, 0.03657504543662071, 0.6104102730751038, 0.26681092381477356, 0.2622365355491638, -0.6442300081253052, -0.19680769741535187, 0.05033012107014656, -0.28889909386634827, -0.09721022099256516, 0.17779043316841125, -0.2108353227376938, 0.05633564293384552, 0.7024717330932617, -0.08548039942979813, -0.16666185855865479, 0.0777263194322586, -0.19595485925674438, 0.06836424767971039, 0.3922046422958374, 0.181364506483078, 0.6382055878639221, -0.46889281272888184, 0.17329442501068115, 0.1565527617931366, -0.3604741394519806, -0.11705939471721649, 0.23821456730365753, -0.8460833430290222, 0.08115454018115997, 0.33920758962631226, 0.4351891577243805, -0.12738536298274994, -0.7214330434799194, 0.5251145958900452, 0.03516574203968048, -0.5344811081886292, 0.008496306836605072, 0.4620133936405182, -0.23403963446617126, 0.21320182085037231, 0.24650654196739197, 0.013223719783127308, 0.4550095200538635, -0.6221659779548645, 0.361223965883255, 0.519852340221405, -0.37928110361099243, -0.26086747646331787, 0.35068169236183167, -0.17660905420780182, -0.04667545109987259, 0.45280829071998596, -0.6190481185913086, 0.06693223118782043, 0.29151806235313416, 0.5392325520515442, 0.5351922512054443, 0.03796515241265297, 0.46765217185020447, 0.41692304611206055, -0.06544578075408936, -0.2374219000339508, 0.49517983198165894, 0.00017291157564613968, -0.4467874765396118, -0.6191021800041199, -0.788665235042572, -0.04849500581622124, 0.4210830330848694, -0.8376335501670837, 0.5156140327453613, -0.354043573141098, -0.31550708413124084, 0.19548943638801575, 0.25240233540534973, -0.5974816679954529, 0.4190232753753662, 0.4616971015930176, 1.0447969436645508, -0.9262703061103821, 0.6081546545028687, 0.45207756757736206, -0.3322998881340027, -0.6035276651382446, -0.5538820028305054, 0.2831040024757385, -0.5843589305877686, 0.8221390843391418, 0.201027512550354, -0.04511411488056183, -0.1495818793773651, -0.5369933843612671, -0.6655958890914917, 1.2212402820587158, 0.4214727580547333, -0.44679906964302063, -0.2853820025920868, -0.11889283359050751, 0.3818638026714325, -0.30397912859916687, 0.09726078063249588, 0.6137320399284363, 0.3321157693862915, 0.5308976173400879, -1.0972919464111328, -0.28459253907203674, -0.4094868302345276, -0.42355069518089294, 0.4013776183128357, -0.2274806797504425, 0.7384984493255615, -0.006375609431415796, -0.5492755770683289, -0.1946055144071579, 0.27972185611724854, 0.3348008394241333, 0.5308799147605896, 0.48439285159111023, 0.9734743237495422, 0.9524937272071838, -0.020370909944176674, 0.5723176598548889, 0.1965724676847458, 0.4644816517829895, 1.2799705266952515, -0.638864278793335, 1.1211493015289307, 0.3401433825492859, 0.022628234699368477, 0.3169300854206085, 0.47380343079566956, -0.31722646951675415, 0.7514991164207458, -0.0007413094863295555, -0.22978688776493073, 0.002422702731564641, -0.31608131527900696, -0.17953988909721375, 1.025278925895691, 0.2606459856033325, -0.12210115045309067, -0.82549649477005, -0.12203044444322586, 0.46848064661026, -0.24247018992900848, -0.7043694257736206, 0.9238818883895874, -0.21692493557929993, -0.43960312008857727, 0.48194628953933716, 0.001218843157403171, 0.6441341042518616, -0.61668860912323, -0.2764582335948944, 0.11434052884578705, 0.292315274477005, -0.5318880081176758, -0.7239686846733093, 0.3149298429489136, 0.22118225693702698, 0.14501997828483582, -0.23981155455112457, 1.0086956024169922, -0.31572309136390686, -0.37721773982048035, -0.05874048173427582, 0.5202845335006714, 0.49596136808395386, 0.10569220036268234, -0.6595933437347412, -0.3677721619606018, 0.07216254621744156, -0.10634266585111618, 0.5673630833625793, 0.17011652886867523, -0.15014423429965973, 0.2060091197490692, 0.8104501366615295, 0.4956442713737488, 0.07807382196187973, 0.01768353208899498, 0.5583409070968628, -0.5212411880493164, -0.38335198163986206, -0.6352275609970093, 0.863974928855896, -0.34969955682754517, 0.10288158059120178, 0.8363178968429565, 0.7251137495040894, 0.8737093806266785, 0.3620128929615021, 0.7691298127174377, -0.012966372072696686, 0.5580627918243408, -0.2685076594352722, 0.5880663990974426, -0.6315757632255554, -0.15507112443447113, 0.056288283318281174, -0.7345055937767029, -0.558402419090271, 0.618962287902832, -0.1752738356590271, -0.022802457213401794, 0.4492225646972656, 0.5485966801643372, -0.11502370238304138, 0.025759978219866753, 0.3961750864982605, -0.056105051189661026, 0.5495352149009705, 0.3108883202075958, 0.26486217975616455, -0.5229721069335938, 0.4241318106651306, -0.26249146461486816, -0.5271245837211609, -0.018602410331368446, -0.9189435839653015, -0.5797104239463806, -0.3262260854244232, -0.43735626339912415, -0.23619908094406128, -0.13746188580989838, 0.557112455368042, 0.7136682868003845, -0.6262720823287964, 0.01042687613517046, 0.2423783838748932, -0.5059729218482971, -0.05567380040884018, -0.25739532709121704, 0.35182031989097595, -0.4676862955093384, -0.619784414768219, 0.28849124908447266, 0.4101254642009735, 0.0871354192495346, 0.2560274004936218, 0.19420751929283142, -0.5139399766921997, -0.08447083085775375, 0.45766618847846985, 0.6064708232879639, -0.4146239459514618, -0.2603401243686676, 0.2174219787120819, 0.20113366842269897, 0.0592360720038414, 0.2196502536535263, -0.9556780457496643, 0.7507491111755371, 0.45179128646850586, 0.32894983887672424, 0.8285863399505615, 0.13744968175888062, 0.23371854424476624, -0.8456153273582458, 0.09998863190412521, 0.2858133018016815, 0.3672683537006378, 0.148565873503685, -0.2476191371679306, 0.5859824419021606, -0.007621813099831343, -0.463406503200531, -0.9720066785812378, -0.05952005833387375, -1.1610609292984009, -0.3122081458568573, 1.30687415599823, -0.3798668682575226, -0.32684123516082764, -0.24886207282543182, -0.15905733406543732, 0.45698773860931396, -0.34390851855278015, 0.5088891386985779, 0.4729662537574768, -0.3775099217891693, -0.272824227809906, -0.9647389650344849, 0.22932182252407074, -0.2315433770418167, -1.0200525522232056, -0.008254497312009335, 0.4639728367328644, 0.3189263343811035, 0.5787351727485657, 0.7611968517303467, -0.31190288066864014, 0.2838796079158783, -0.15750230848789215, 0.0676809698343277, -0.4214690327644348, -0.4020231068134308, -0.2962142527103424, 0.5635964274406433, -0.24600191414356232, -0.31615111231803894 ]
http://arxiv.org/abs/2402.18060v4
http://arxiv.org/pdf/2402.18060v4
Benchmarking Large Language Models on Answering and Explaining Challenging Medical Questions
2024-02-28T05:44:41
2024-06-25T21:17:09
Hanjie Chen, Zhouxiang Fang, Yash Singla, Mark Dredze
cs.CL
cs.CL
LLMs have demonstrated impressive performance in answering medical questions, such as achieving passing scores on medical licensing examinations. However, medical board exam or general clinical questions do not capture the complexity of realistic clinical cases. Moreover, the lack of reference explanations means we cannot easily evaluate the reasoning of model decisions, a crucial component of supporting doctors in making complex medical decisions. To address these challenges, we construct two new datasets: JAMA Clinical Challenge and Medbullets. JAMA Clinical Challenge consists of questions based on challenging clinical cases, while Medbullets comprises simulated clinical questions. Both datasets are structured as multiple-choice question-answering tasks, accompanied by expert-written explanations. We evaluate seven LLMs on the two datasets using various prompts. Experiments demonstrate that our datasets are harder than previous benchmarks. Human and automatic evaluations of model-generated explanations provide insights into the promise and deficiency of LLMs for explainable medical QA.
[ -0.09109125286340714, -0.7473164796829224, 1.1320862770080566, -0.08804688602685928, -0.09736797958612442, 0.018938422203063965, -0.21377959847450256, -0.2860439419746399, -0.21001170575618744, 0.5326471328735352, -0.803011953830719, -0.4636598229408264, -0.579177737236023, 0.44379013776779175, 0.08010029792785645, 0.8819461464881897, -0.2909863293170929, 0.5218343734741211, -0.7188554406166077, -0.2800355553627014, -0.7913394570350647, -0.3960692286491394, -0.6192270517349243, -0.4840886890888214, 0.5992839932441711, 0.18654952943325043, 0.7808087468147278, 0.5462161898612976, 0.8444860577583313, 0.28093039989471436, -0.09977679699659348, 0.20059490203857422, -0.4080788791179657, 0.20119892060756683, -0.3171887993812561, -0.7357348203659058, -0.07813066244125366, -0.1480848640203476, 0.33892378211021423, 1.1788369417190552, -0.1598661094903946, 0.15575046837329865, -0.42868533730506897, 0.5630538463592529, -0.3804498612880707, 0.0511336512863636, -0.5986390113830566, -0.06270661950111389, -0.023399224504828453, -0.24999728798866272, -0.3816806972026825, -0.4877438247203827, -0.011668580584228039, -0.5156847834587097, 0.2273479700088501, 0.011387920007109642, 0.8979577422142029, 0.2927575707435608, -0.7157646417617798, -0.5481355786323547, -0.6175983548164368, 0.5768606066703796, -0.49107223749160767, 0.25532931089401245, 0.21237264573574066, 0.6657155752182007, -0.34668034315109253, -0.6782209277153015, -0.24223828315734863, -0.21972528100013733, -0.09669515490531921, 0.13003520667552948, -0.20350468158721924, 0.04287979006767273, 0.37018483877182007, 0.281765878200531, -0.8666898012161255, 0.2438330054283142, -0.6064206957817078, -0.07755039632320404, 0.5954487323760986, 0.6750692129135132, 0.16025201976299286, -0.06636448949575424, -0.19218476116657257, -0.06323740631341934, -0.9515279531478882, 0.16066773235797882, -0.279488205909729, -0.06035645306110382, 0.024951105937361717, 0.5442115664482117, 0.0004219500406179577, 0.7631021738052368, -0.22382457554340363, -0.22634607553482056, 0.20146825909614563, -0.17002534866333008, -0.2669375538825989, -0.3371736407279968, 0.7247778177261353, 0.5820898413658142, 0.1968390792608261, -0.08063209056854248, 0.06678114831447601, 0.09708132594823837, 0.26608312129974365, -0.6882646679878235, -0.010660581290721893, 0.6528224945068359, -0.5879396796226501, -0.14635446667671204, -0.25508326292037964, -0.6497205495834351, -0.6203216910362244, -0.059846632182598114, 0.49434375762939453, -0.14085230231285095, 0.1615225374698639, 0.4137328863143921, -0.11866050958633423, 0.1986486315727234, 0.5091670155525208, -0.5186434388160706, 0.40580376982688904, 0.5182790756225586, 0.5117457509040833, -0.21145741641521454, 0.11033540219068527, -0.2662203311920166, -0.04507637023925781, -0.48332804441452026, 0.95010906457901, -0.5671850442886353, -0.38223713636398315, -0.08756769448518753, 0.16904930770397186, -0.09476234763860703, -1.15445876121521, 0.4617201089859009, -0.21568278968334198, 0.3071900010108948, -0.5047568082809448, -0.7149925827980042, -0.286030113697052, 0.269284188747406, -0.2751309871673584, 0.7076842784881592, 0.16061799228191376, -0.32381561398506165, 0.2147943526506424, -0.4249664545059204, -0.1284792721271515, 0.09919428080320358, -0.5825109481811523, -0.39035460352897644, 0.3327179551124573, 0.4454081356525421, 0.6219573616981506, -0.8850297331809998, 0.5533367395401001, -0.42625531554222107, -0.2373354732990265, 0.5634742379188538, -0.3105487525463104, 0.716990053653717, 0.34246572852134705, 0.09672512114048004, -0.11730057746171951, -0.6756099462509155, 0.049140121787786484, 0.5037994384765625, -0.17516827583312988, -0.06355753540992737, 0.04107533022761345, -0.40930742025375366, 0.19465214014053345, -0.03756155073642731, -0.3418920338153839, 0.19996270537376404, 0.002760722069069743, 0.3420555591583252, 0.4657842218875885, 0.2216869741678238, -0.3544892370700836, -0.763632595539093, 0.8909549117088318, 0.014655997976660728, 0.24530744552612305, -0.42219242453575134, -0.62656170129776, -0.33865049481391907, -0.14804713428020477, 0.10630769282579422, 0.5099765658378601, -0.4721207320690155, -0.2448137104511261, -0.3457769453525543, -0.5056383013725281, -0.8400130271911621, 0.06010281667113304, 0.4489166736602783, 0.761300265789032, 0.4315807819366455, -0.2223118394613266, -0.3246619999408722, -1.050031065940857, -0.4234393835067749, -0.19880211353302002, -0.37408411502838135, 0.7079463005065918, 0.5472656488418579, -0.10083116590976715, 0.4940219521522522, -0.4972037672996521, 0.08350342512130737, -0.12774431705474854, -0.001838132506236434, 0.4337124526500702, 0.12655755877494812, 0.38277047872543335, -0.6496323943138123, -0.09058557450771332, -0.14460822939872742, -0.9437323212623596, -0.5137028098106384, -0.29902544617652893, 0.2709110677242279, -0.39304304122924805, 0.6065517067909241, -0.5155654549598694, 0.15390326082706451, 0.4470064640045166, -0.2817162573337555, 0.7402384281158447, -0.2319563329219818, 0.19349850714206696, -0.7102048397064209, 0.04141698032617569, -0.2675776779651642, -0.3478940725326538, -0.5270496606826782, 0.13703466951847076, 0.015964267775416374, -0.20221498608589172, -0.48481476306915283, 0.5675786733627319, -0.44823259115219116, -0.06757466495037079, -0.01722077466547489, 0.19170226156711578, 0.2277790606021881, 0.1710738092660904, -0.2461494505405426, 0.6788766384124756, 0.3833428919315338, -0.40321457386016846, 0.47705405950546265, 0.2828752100467682, -0.3437286913394928, 0.5327403545379639, -0.9254819750785828, 0.03304820507764816, -0.28960898518562317, 0.27239155769348145, -1.0947498083114624, -0.2964966297149658, -0.10223585367202759, -0.33095139265060425, 0.09289614111185074, -0.1382862627506256, -0.35560867190361023, -0.7314475774765015, -0.021517587825655937, 0.38052815198898315, 0.6172410845756531, -0.2700657546520233, 0.42056477069854736, 0.19556975364685059, -0.3522239029407501, -0.291273832321167, -0.483975887298584, 0.03377813100814819, -0.2123139202594757, -0.3631860911846161, 0.20575329661369324, -0.2912580370903015, -0.4473680257797241, -0.09403020143508911, -0.1337246149778366, -0.1244286447763443, 0.18552842736244202, 0.48701736330986023, 0.3148617744445801, -0.3446718454360962, 0.3779851794242859, -0.09304025024175644, -0.04764654114842415, 0.4573378264904022, 0.3790597915649414, 0.25149795413017273, 0.0032741338945925236, -0.6167725920677185, -0.4205786883831024, 0.4317854046821594, 0.6457312107086182, 0.04795928671956062, 0.5184601545333862, 0.0693025141954422, -0.3848719894886017, 0.09897278249263763, -0.801628053188324, -0.19406965374946594, -0.3941447138786316, 0.37200742959976196, -0.5245649218559265, -0.7852942943572998, 0.6290261745452881, -0.2055637240409851, 0.16322295367717743, 0.4004278779029846, 1.052559733390808, -0.20029176771640778, 1.2874513864517212, -0.1533835232257843, 0.3112187385559082, -0.3734634220600128, 0.18857719004154205, -0.10863164812326431, -0.42600521445274353, -0.3885596692562103, -0.591251015663147, -0.12203187495470047, -0.3878607451915741, -0.6543394923210144, 0.6544041037559509, 0.015561937354505062, -0.03588539734482765, -0.17832912504673004, -0.32308924198150635, 0.6458699703216553, 0.20574799180030823, 0.22602634131908417, 0.36136966943740845, -0.3940502107143402, -0.33020541071891785, -0.026516925543546677, -0.7647939920425415, -0.5383362770080566, 1.3123493194580078, 0.5708193778991699, 0.7914468050003052, -0.01307462528347969, 0.442333847284317, -0.0768616646528244, 0.42909178137779236, -0.5406893491744995, 0.4075912535190582, -0.1216617226600647, -1.0041234493255615, 0.05277498438954353, -0.462431401014328, -1.0569067001342773, 0.42409849166870117, -0.2875271141529083, -0.48003578186035156, -0.19547972083091736, 0.091965451836586, -0.6243628263473511, -0.02865292876958847, -0.6510342359542847, 0.7848342061042786, -0.17059120535850525, -0.22846250236034393, 0.023824555799365044, -0.749862790107727, 0.436308354139328, -0.018334221094846725, 0.4974190592765808, -0.3368360698223114, -0.0841364711523056, 0.5924315452575684, -0.5058149695396423, 0.6585047841072083, 0.011817624792456627, 0.03202094882726669, 0.124000184237957, 0.1679057478904724, 0.21568749845027924, 0.20993702113628387, -0.1483151912689209, -0.09272147715091705, 0.3345048129558563, -0.5665462613105774, -0.7743314504623413, 0.48194828629493713, -0.5059925317764282, -0.7988556623458862, -0.17419926822185516, -0.6857588887214661, -0.5920286774635315, -0.06892178952693939, 0.06765910983085632, 0.5433221459388733, -0.05326724797487259, 0.16172897815704346, 0.5619916915893555, -0.520500659942627, -0.17454706132411957, 0.7397929430007935, -0.3208049535751343, -0.17578758299350739, 0.3900868892669678, -0.04151461645960808, 0.32508477568626404, 0.29306095838546753, 0.3614351153373718, -0.29671671986579895, -0.9266924262046814, -0.5240868330001831, 0.5673447847366333, -0.8472375869750977, -0.13233906030654907, -0.5257479548454285, -0.0036183870397508144, -0.1405116319656372, -0.1295081079006195, -0.13481660187244415, -0.10577752441167831, -0.06811244785785675, -0.019985919818282127, 0.1766487956047058, 0.9049774408340454, 0.27097904682159424, -0.028081616386771202, -0.8470320701599121, 0.5464951395988464, 0.3987971246242523, 0.24559475481510162, -0.23394417762756348, -0.5109657645225525, 0.01646948978304863, -0.12752966582775116, -0.20814400911331177, -1.1261632442474365, 0.036443885415792465, 0.021628079935908318, 0.5185015797615051, 0.36068451404571533, -0.1155569776892662, 0.947243869304657, -0.6841634511947632, 0.7504422068595886, -0.038719408214092255, -0.5412678718566895, 0.5349957942962646, -0.24670450389385223, 0.41825953125953674, 0.6393218040466309, 0.7135770320892334, -0.4964277148246765, -0.48293960094451904, -0.4329284131526947, -0.43687063455581665, 0.3345630466938019, 0.06031316891312599, -0.0900302305817604, -0.09693930298089981, 0.8220222592353821, 0.4171493351459503, -0.022349944338202477, -0.5261461734771729, -0.21952319145202637, 0.44997361302375793, -0.3732522130012512, -0.23798152804374695, -0.27016329765319824, -0.41238296031951904, -0.19201993942260742, 0.3190501034259796, -0.013406574726104736, 0.20201408863067627, 0.3340754508972168, -0.1703176200389862, -0.08637888729572296, 0.2886379063129425, 0.7634074687957764, 0.9095026254653931, -0.3044556677341461, 0.22212840616703033, 0.3677780032157898, -0.2761180102825165, 0.20892252027988434, -0.013449073769152164, 0.253795325756073, 0.13421694934368134, 0.7381431460380554, 0.6904487013816833, 0.06881554424762726, -1.2272160053253174, 0.5482729077339172, -0.21246202290058136, -0.5808485150337219, -0.04935663193464279, 0.04535294324159622, 0.3096526563167572, 0.248769611120224, 0.20505361258983612, -0.48238271474838257, 0.09093202650547028, -0.5808852314949036, 0.14237430691719055, 0.40550994873046875, -0.3867906332015991, -0.19938820600509644, 0.7276764512062073, -0.0719992145895958, -0.13134971261024475, 0.37333282828330994, 0.1963610053062439, -0.2608320116996765, 0.7856184840202332, 0.6202430725097656, 0.21221116185188293, -0.09389736503362656, 0.11623487621545792, 0.3151720464229584, 0.23296643793582916, 0.11058878898620605, 0.49944934248924255, 0.32173746824264526, -0.4062891900539398, -0.5149943828582764, -0.20619450509548187, -0.9311743378639221, 0.5082483291625977, -0.8496915102005005, 0.19167856872081757, -0.49108004570007324, -0.07431768625974655, 0.4371657073497772, -0.12151582539081573, -0.8220016956329346, 0.4651755392551422, 0.024548964574933052, 0.864962637424469, -0.9180098176002502, 0.39368247985839844, 0.7642713785171509, -0.2476063221693039, -0.7470564246177673, -0.4357447624206543, 0.15730689465999603, -1.24229896068573, 0.42091104388237, 0.15678881108760834, 0.44922971725463867, -0.3945258557796478, -0.4785486161708832, -0.4370640814304352, 0.8274617791175842, 0.3477625548839569, -0.6355802416801453, -0.031509432941675186, 0.18245382606983185, 0.6816816926002502, -0.46965134143829346, 0.6502225399017334, 0.5280618667602539, 0.36954063177108765, -0.059840377420186996, -0.9306498765945435, 0.27993279695510864, -0.1463100165128708, -0.15916644036769867, -0.0046354858204722404, -0.36719948053359985, 0.7648376226425171, -0.578164279460907, 0.03302407264709473, 0.007826555520296097, 0.07000482082366943, 0.4797295033931732, 0.5029512643814087, 0.4779001772403717, 0.42825108766555786, 0.7691477537155151, -0.25417518615722656, 1.2521350383758545, 0.10923018306493759, 0.2283695936203003, 0.9954219460487366, -0.4607929289340973, 0.7563154697418213, 0.5501607656478882, -0.6123566627502441, 0.6528550982475281, 0.7593398690223694, -0.07417959719896317, 0.15028820931911469, 0.6243587136268616, -0.16950923204421997, -0.6373758912086487, -0.1420404464006424, -0.43594932556152344, 0.4202052354812622, 0.5160999894142151, -0.3241051733493805, -0.36748066544532776, 0.27916109561920166, 0.017045222222805023, 0.09235834330320358, -0.22327762842178345, 0.8384672999382019, 0.11026908457279205, -0.6943216919898987, 0.9469066262245178, -0.20639151334762573, 0.04210136830806732, -0.5640663504600525, 0.016203448176383972, -0.31028813123703003, 0.20400941371917725, 0.03599516302347183, -0.7638899087905884, 0.17265348136425018, 0.09577719867229462, -0.17966723442077637, -0.031550753861665726, 0.33258965611457825, -0.33346402645111084, -0.4408338665962219, 0.005250414367765188, 0.6041378974914551, 0.6275461316108704, 0.1552448570728302, -0.909156084060669, 0.1608775407075882, -0.21386568248271942, -0.2325959950685501, 0.2192075401544571, 0.3994247019290924, -0.08964603394269943, 1.1445307731628418, 0.509646475315094, 0.1940273493528366, -0.04537292197346687, 0.10141278803348541, 0.7491317391395569, -0.7084988355636597, -0.03913889825344086, -0.8116052150726318, 0.14259043335914612, 0.10912088304758072, -0.23238104581832886, 0.36525747179985046, 0.41222673654556274, 0.38715851306915283, -0.11392729729413986, 0.5541026592254639, 0.41314199566841125, 1.042864441871643, -0.6871506571769714, 0.42108696699142456, -0.8347350358963013, 0.3036442995071411, 0.0933031290769577, -0.3551251292228699, -0.5093290209770203, 0.303894579410553, -0.15529562532901764, 0.13979169726371765, 0.9385656714439392, 0.8085482120513916, 0.125130295753479, -0.13247758150100708, 0.43967753648757935, 0.5511719584465027, 0.3576667010784149, 1.084085464477539, 0.6979503035545349, -0.4929904639720917, 0.576515793800354, -0.12493292987346649, -0.08564142882823944, -0.38722512125968933, -0.8811590075492859, -1.108122706413269, -0.3066430985927582, -0.34694910049438477, -0.3477898836135864, 0.2233027219772339, 0.9361521601676941, 0.6296287775039673, -0.962020218372345, -0.0626937597990036, 0.2215677946805954, 0.1757812350988388, -0.2566979229450226, -0.16311116516590118, 0.3956027925014496, -0.24728044867515564, -0.5025687217712402, 0.5764168500900269, 0.2445344179868698, 0.09547390043735504, -0.09756172448396683, 0.15117259323596954, 0.10245323926210403, 0.2198537141084671, 0.29435962438583374, 0.15374383330345154, -0.8891812562942505, -0.09134598821401596, 0.04526457563042641, -0.15979325771331787, 0.16065995395183563, 0.8788806796073914, -0.8962087035179138, 0.5511437058448792, 0.2181967943906784, 0.8332569003105164, 0.2301565557718277, -0.00918649323284626, 0.5783729553222656, -0.2985438108444214, -0.26997220516204834, 0.33176180720329285, 0.3650166988372803, 0.21164630353450775, -0.10383609682321548, 0.41798871755599976, 0.14135539531707764, -0.5836358070373535, -1.095091462135315, 0.03141697496175766, -0.9632155895233154, -0.5383819341659546, 0.9840942621231079, -0.26441001892089844, -0.11417899280786514, -0.3920033872127533, -0.21527303755283356, -0.09508246183395386, 0.07701082527637482, 0.7279480695724487, 0.8379132747650146, -0.2841432988643646, -0.2221727967262268, -1.1117372512817383, 0.46059438586235046, 0.8911399841308594, -1.0394296646118164, 0.15424132347106934, 0.5068400502204895, 0.5457594990730286, -0.29782411456108093, 0.7339156270027161, -0.38859477639198303, 0.63934725522995, -0.1828342229127884, -0.22743333876132965, -0.2102760225534439, -0.13177615404129028, -0.5352387428283691, 0.25640445947647095, 0.09412414580583572, -0.00422902125865221 ]
http://arxiv.org/abs/2402.18059v3
http://arxiv.org/pdf/2402.18059v3
Token-Specific Watermarking with Enhanced Detectability and Semantic Coherence for Large Language Models
2024-02-28T05:43:22
2024-06-06T04:49:37
Mingjia Huo, Sai Ashish Somayajula, Youwei Liang, Ruisi Zhang, Farinaz Koushanfar, Pengtao Xie
cs.LG
cs.LG, cs.CL, cs.CR
Large language models generate high-quality responses with potential misinformation, underscoring the need for regulation by distinguishing AI-generated and human-written texts. Watermarking is pivotal in this context, which involves embedding hidden markers in texts during the LLM inference phase, which is imperceptible to humans. Achieving both the detectability of inserted watermarks and the semantic quality of generated texts is challenging. While current watermarking algorithms have made promising progress in this direction, there remains significant scope for improvement. To address these challenges, we introduce a novel multi-objective optimization (MOO) approach for watermarking that utilizes lightweight networks to generate token-specific watermarking logits and splitting ratios. By leveraging MOO to optimize for both detection and semantic objective functions, our method simultaneously achieves detectability and semantic integrity. Experimental results show that our method outperforms current watermarking techniques in enhancing the detectability of texts generated by LLMs while maintaining their semantic coherence. Our code is available at https://github.com/mignonjia/TS_watermark.
[ -0.2040656954050064, -0.6735129952430725, 0.418963760137558, -0.01835397444665432, -0.7181218266487122, 0.1623571217060089, -0.05476169288158417, -0.5874337553977966, 0.2552414536476135, 0.6423933506011963, -0.420099139213562, -0.5634200572967529, -0.7943632006645203, 0.027583448216319084, -0.4309115707874298, 0.8173936605453491, 0.06764589250087738, -0.21675345301628113, -0.1883726269006729, -0.4807552993297577, -0.38015127182006836, -0.5155079960823059, -0.7030353546142578, -0.24981442093849182, 0.36263442039489746, 0.25958478450775146, 0.4390629827976227, 0.9629978537559509, 0.5092158913612366, 0.31412819027900696, -0.3319479525089264, 0.41869068145751953, -0.3466958999633789, 0.2803124785423279, 0.02898915484547615, -0.3554301857948303, -0.3175075650215149, -0.1537887454032898, 0.5560686588287354, 0.23306050896644592, 0.24253970384597778, 0.10356716066598892, 0.053619131445884705, 0.32177403569221497, -1.0654163360595703, 0.1673782616853714, -0.8965376019477844, 0.04031037166714668, -0.3347395360469818, -0.21687765419483185, -0.3545120358467102, 0.07166723161935806, -0.07791037857532501, -0.8215924501419067, 0.049777157604694366, 0.3501141667366028, 1.1265116930007935, 0.16379110515117645, -0.24165256321430206, -0.3475683629512787, -0.23604242503643036, 1.1669586896896362, -0.8288092017173767, 0.36642754077911377, 0.3633316159248352, -0.09414347261190414, -0.015652822330594063, -0.6194725632667542, -0.4858413338661194, -0.05712798610329628, 0.16741284728050232, 0.17115969955921173, -0.12068632245063782, 0.014838038012385368, -0.011675124987959862, 0.1803087294101715, -0.2804619073867798, -0.06634726375341415, 0.14719057083129883, -0.6699778437614441, 0.4006824493408203, 0.01160790678113699, 0.5652138590812683, -0.12203390896320343, -0.5459869503974915, 0.07642017304897308, -0.4899931848049164, -0.06084121763706207, 0.5650190114974976, 0.4824881851673126, 0.051798705011606216, 0.4399964511394501, -0.2476293295621872, 0.3848212957382202, -0.2584937810897827, -0.5496731996536255, 0.13841629028320312, -0.5701006650924683, 0.11124063283205032, 0.0968504548072815, 0.7600373029708862, 0.10345134884119034, 0.06179926171898842, -0.263037770986557, -0.4666426181793213, 0.08157443255186081, -0.11465658247470856, -0.8923966288566589, 0.24434182047843933, 0.0743241012096405, -0.463148295879364, -0.46821051836013794, 0.07350152730941772, -0.4353453516960144, -0.37701132893562317, -0.3687613606452942, 0.6029241681098938, -0.33047398924827576, -0.2983904778957367, 0.31088998913764954, -0.45223259925842285, -0.036283861845731735, 0.13651280105113983, -0.7375989556312561, 0.0920209065079689, 0.9056891798973083, 0.8924039602279663, -0.31269675493240356, -0.04692448675632477, -0.8459135890007019, 0.6474688649177551, -0.19275091588497162, 0.6454546451568604, -0.5915613174438477, -0.22711187601089478, -0.20238132774829865, -0.38238534331321716, 0.06000737100839615, -0.5920644998550415, 0.7014625668525696, -0.6179394721984863, -0.07837067544460297, -0.10806481540203094, -0.6452882289886475, 0.0717318058013916, 0.3763013482093811, -0.7175660133361816, 0.9387274384498596, -0.19880720973014832, -0.8160960674285889, 0.5455161929130554, -0.7251850962638855, -0.42629578709602356, 0.12351808696985245, 0.06877564638853073, -0.7022718191146851, 0.13174216449260712, 0.21860270202159882, 0.453922837972641, -0.33528363704681396, 0.48928335309028625, -0.31222477555274963, -0.22173085808753967, 0.16602882742881775, -0.5246537923812866, 0.5311017632484436, 0.07947677373886108, -0.43358945846557617, 0.3938656449317932, -0.9001433253288269, 0.14559152722358704, 0.15736991167068481, -0.42590487003326416, -0.65244460105896, 0.0698573887348175, 0.055729858577251434, -0.12260743230581284, 0.5296497344970703, -0.7073456048965454, -0.23158036172389984, -0.1340780109167099, 0.6267103552818298, 0.8606789708137512, -0.04260551184415817, 0.3282923996448517, -0.0767330452799797, 0.2492859959602356, 0.22168518602848053, 0.42827197909355164, -0.11154857277870178, -0.49394410848617554, -0.8593334555625916, -0.7292883992195129, 0.2307301014661789, 0.2917921841144562, -0.7757980227470398, 0.6548750400543213, -0.33298811316490173, -0.3021987974643707, -0.2793433368206024, 0.3486799895763397, 0.48378801345825195, 0.49317696690559387, 0.4567919373512268, -0.25365403294563293, -0.22985191643238068, -0.9764556288719177, -0.5492739677429199, -0.2296331524848938, 0.2860812544822693, 0.3416454792022705, 0.6655648350715637, -0.28044483065605164, 0.9014026522636414, -0.4060556888580322, -0.23021724820137024, -0.35411518812179565, 0.08644506335258484, -0.20604276657104492, 0.5856645107269287, 0.409920334815979, -0.9659486413002014, -0.3078010082244873, -0.033633116632699966, -0.46933355927467346, -0.3892922103404999, 0.06986279785633087, -0.2754347324371338, -0.03124794363975525, 0.5607830882072449, -0.37644803524017334, 0.41396746039390564, 0.6953036189079285, -0.4335675835609436, 0.33566686511039734, -0.06053875386714935, -0.02858060412108898, -1.0772144794464111, 0.09456154704093933, -0.2858583927154541, -0.39259251952171326, -0.4074176847934723, 0.23639068007469177, 0.05655357614159584, -0.16948142647743225, -0.2277839481830597, 0.7767531275749207, -0.38719359040260315, 0.18958090245723724, -0.39229175448417664, 0.05524345114827156, 0.35042622685432434, 0.325204998254776, -0.21989218890666962, 0.6655949950218201, 0.44868144392967224, -0.3644709289073944, 0.11445016413927078, -0.04184647276997566, -0.32591497898101807, 0.5831088423728943, -0.7861902713775635, 0.16648633778095245, -0.07223503291606903, 0.005041325464844704, -0.9050901532173157, 0.0333515964448452, 0.26359015703201294, -0.14271703362464905, 0.17634348571300507, -0.15596012771129608, -0.6255872845649719, 0.26604562997817993, -0.44478586316108704, 0.542466938495636, 0.03638038411736488, -0.4673161208629608, 0.8256617784500122, 0.32335278391838074, 0.10327903181314468, -0.5891740322113037, -0.6700429916381836, 0.36570900678634644, -0.15401889383792877, -0.6192715764045715, 0.5072113275527954, 0.022697649896144867, -0.045080628246068954, 0.156829833984375, -0.314418762922287, -0.27003365755081177, 0.3268429636955261, 0.27717816829681396, 0.15178807079792023, -0.19083264470100403, -0.09526465088129044, 0.26227033138275146, -0.6132749319076538, -0.40483665466308594, -0.4126318395137787, 0.5888367891311646, 0.09089462459087372, -0.5554293990135193, -0.9238482117652893, 0.44412174820899963, 0.6051400899887085, -0.5057715177536011, 0.7967358231544495, 0.7775697708129883, -0.38343775272369385, -0.20782023668289185, -0.5220491886138916, -0.06552864611148834, -0.5112945437431335, 0.3453487753868103, -0.3345493674278259, -1.0930826663970947, 0.4953292906284332, 0.00921347364783287, -0.07270557433366776, 0.3990785479545593, 0.20586416125297546, 0.326735258102417, 0.7416316270828247, 0.3932892382144928, -0.31783196330070496, 0.8603909015655518, -0.14892832934856415, 0.35513803362846375, -0.7326789498329163, -0.0980347990989685, -0.6023503541946411, -0.12922737002372742, -0.2068665623664856, -0.47112685441970825, 0.007709957659244537, 0.2715032994747162, -0.25146377086639404, 0.3137018084526062, -0.4169168770313263, 0.6388599276542664, 0.7726763486862183, 0.08572044968605042, 0.5346092581748962, 0.01636362634599209, -0.23667000234127045, 0.03292004019021988, -0.5606923699378967, -0.5705025792121887, 0.8063703775405884, 0.07242221385240555, 0.5104905366897583, -0.040076497942209244, 0.9904646277427673, 0.23281297087669373, 0.28942495584487915, -0.6178209781646729, 0.7110841274261475, -0.1372288465499878, -0.6721444129943848, -0.3484553396701813, -0.6129483580589294, -0.8754430413246155, 0.44628408551216125, -0.19832637906074524, -0.6893613338470459, -0.05967874079942703, -0.13538627326488495, 0.15889988839626312, 0.36382871866226196, -0.6557599306106567, 0.8671376705169678, -0.25726041197776794, -0.4685858190059662, -0.2712404131889343, -0.38061073422431946, -0.04289499297738075, -0.1982090175151825, 0.338893324136734, -0.6948975920677185, -0.6043164730072021, 0.6813464164733887, -0.6130864024162292, 0.7058592438697815, -0.27027633786201477, -0.07550543546676636, 0.3983844518661499, -0.10635490715503693, 0.6652714610099792, 0.15871645510196686, -0.19587382674217224, 0.20917494595050812, -0.10289055854082108, -0.5011081099510193, -0.28974512219429016, 0.5339709520339966, -0.5999845266342163, -0.4437888562679291, -0.21933022141456604, -0.5118603706359863, -0.09939172118902206, 0.5903295874595642, 0.14499598741531372, 0.5093388557434082, 0.10756833106279373, 0.41126158833503723, 0.290119469165802, -0.22689789533615112, 0.7022490501403809, 0.27532628178596497, 0.19590222835540771, -0.6909544467926025, 1.0934944152832031, 0.0017002890817821026, 0.3025231957435608, 0.588135838508606, 0.5227853059768677, -0.2969812750816345, -0.9644976854324341, -0.28300270438194275, 0.07149504125118256, -0.7480278611183167, -0.2981418967247009, -0.4512855112552643, 0.07613526284694672, -0.0010500849457457662, -0.06486223638057709, -0.5433761477470398, -0.20006991922855377, -0.4581674039363861, 0.10444803535938263, 0.12655194103717804, 0.32173973321914673, 0.14959768950939178, 0.2897373139858246, -0.8169153332710266, 0.47388729453086853, 0.1970803588628769, 0.4107743203639984, 0.07935485988855362, -0.27847015857696533, -0.20129995048046112, 0.14969086647033691, -0.12541931867599487, -0.25644659996032715, 0.08415329456329346, 0.3470274806022644, 0.414029061794281, 0.5606808066368103, 0.25182273983955383, 0.8499861359596252, -0.42264044284820557, 0.5737346410751343, 0.39495334029197693, -1.4578871726989746, 0.366464227437973, -0.18894988298416138, 0.1391267329454422, 0.5710079073905945, -0.26978978514671326, -0.3050042390823364, -0.6480435729026794, -0.32980120182037354, -1.192291498184204, 0.4188169240951538, 0.38693273067474365, 0.5232670307159424, 0.06110939010977745, 0.4560404419898987, 0.12332569807767868, 0.2049863040447235, -0.758894145488739, -0.042242005467414856, -0.038836583495140076, -0.41808298230171204, 0.2790248990058899, -0.39985716342926025, -0.22843538224697113, 0.054991088807582855, 0.6386914253234863, -0.34199896454811096, -0.01501911785453558, 0.0981055423617363, -0.18354615569114685, 0.1912781447172165, 0.1485464870929718, 0.49587497115135193, 0.5189279317855835, 0.24790245294570923, 0.25763949751853943, -0.036613695323467255, -0.6252216696739197, 0.2788034975528717, -0.21790798008441925, -0.3683360815048218, 0.05914364755153656, 0.7553461790084839, 0.7924772500991821, 0.10645116120576859, -0.7651245594024658, 0.6738976240158081, -0.043453045189380646, 0.011192884296178818, 0.12273427844047546, 0.34197065234184265, 0.1521243453025818, 0.3514573574066162, 0.5087496042251587, 0.027701791375875473, -0.04565570130944252, -0.2718617022037506, -0.004522518254816532, 0.6838506460189819, -0.13127020001411438, -0.30306658148765564, 0.833961009979248, 0.30949634313583374, -0.2576535940170288, 0.15427134931087494, -0.080760657787323, -0.5820835828781128, 0.5752244591712952, 0.49611058831214905, 1.0612300634384155, 0.28609272837638855, -0.062126725912094116, 0.08311185240745544, 0.23459994792938232, -0.11683111637830734, 0.1855020374059677, -0.2620839476585388, -1.0639630556106567, -0.27512919902801514, -0.6769242882728577, -0.45591244101524353, -0.05247717350721359, -0.5831449627876282, 0.199492409825325, -0.4643309414386749, -0.40278446674346924, 0.09627004712820053, -0.09753603488206863, -0.3304281532764435, 0.2613249719142914, 0.01403551921248436, 0.5209134817123413, -0.5646651983261108, 0.598972737789154, 0.30665549635887146, -0.07533332705497742, -0.5375542640686035, 0.1472645252943039, -0.19305935502052307, -0.9733380675315857, 0.4906725287437439, 0.39198631048202515, -0.388916552066803, 0.003937719389796257, -0.5813153982162476, -0.8813387155532837, 1.080079436302185, 0.8198368549346924, -0.40497079491615295, 0.4312410056591034, 0.3141222894191742, 0.3801695704460144, -0.20464931428432465, -0.16625827550888062, 0.06887564063072205, 0.4841107130050659, -0.055667269974946976, -0.5854360461235046, 0.26573437452316284, -0.12267459183931351, 0.2056407779455185, 0.27329081296920776, -0.8405062556266785, 0.5110279321670532, 0.06021494045853615, -0.22896906733512878, 0.20255307853221893, 0.43522465229034424, 0.3699721693992615, 0.341172456741333, 0.5734739303588867, 0.7106613516807556, 0.7191066741943359, -0.18847344815731049, 0.9892991185188293, -0.5798853635787964, 0.4183965027332306, 0.7131483554840088, -0.21582013368606567, 0.8698369264602661, 0.7402771711349487, 0.17914630472660065, 0.24027961492538452, 0.448874294757843, 0.0820189118385315, 0.527298092842102, 0.18945260345935822, -0.5330526828765869, -0.42350903153419495, -0.6171615719795227, -0.1701056957244873, 0.3715037703514099, 0.016466913744807243, -0.37461766600608826, 0.11637168377637863, -0.16170714795589447, 0.0350809246301651, -0.2228003889322281, -0.21983292698860168, 0.7106740474700928, -0.02564188465476036, -0.21235692501068115, 0.22320032119750977, 0.2664615511894226, 0.9243578910827637, -0.6604618430137634, 0.30620408058166504, -0.16719728708267212, 0.3079041540622711, -0.17779846489429474, -0.34959638118743896, 0.21405963599681854, 0.00034384167520329356, -0.13191379606723785, -0.414549320936203, 0.9898059368133545, -0.4007854461669922, -0.41649022698402405, 0.5506607294082642, 0.44401076436042786, -0.1060500219464302, -0.1291268914937973, -0.6331043839454651, 0.34177231788635254, -0.19259415566921234, -0.4416232407093048, 0.22968754172325134, 0.5723510980606079, -0.062332190573215485, 0.867327094078064, 0.9200146794319153, 0.09395187348127365, 0.0860561951994896, 0.26459553837776184, 0.7065761089324951, -0.43655720353126526, -0.5756489038467407, -1.2066935300827026, 0.30185285210609436, -0.23346145451068878, -0.43017658591270447, 0.5545884966850281, 0.750403881072998, 0.5861788988113403, 0.0397585853934288, 0.7790936231613159, 0.1771046370267868, -0.12263128906488419, -0.44461536407470703, 0.6936818957328796, -0.8644110560417175, 0.12928789854049683, -0.4748465418815613, -0.8300890922546387, -0.5650351047515869, 0.36560526490211487, 0.0890590026974678, -0.058677200227975845, 0.45247682929039, 0.7745077610015869, -0.09434893727302551, -0.04901465028524399, 0.36035093665122986, -0.4378858804702759, 0.5889917612075806, 0.39789140224456787, 0.7500150799751282, -0.42365291714668274, 0.8492682576179504, -0.0702395811676979, 0.08169198781251907, -0.1281372308731079, -1.0994410514831543, -0.8548041582107544, -0.48052912950515747, -0.5487551689147949, -0.19579347968101501, 0.029490619897842407, 0.7024783492088318, 0.8642350435256958, -0.9726570844650269, 0.06963703036308289, -0.32620978355407715, 0.35204222798347473, -0.011442213319242, -0.22115619480609894, 0.4912106394767761, -0.201368510723114, -0.8336370587348938, 0.06341054290533066, 0.8132959008216858, 0.3293209373950958, 0.02294684201478958, -0.17314699292182922, -0.008664444088935852, 0.24980725347995758, 0.5192182064056396, -0.16552895307540894, -0.6689436435699463, -0.5017980337142944, -0.18912948668003082, -0.3413851857185364, -0.03527631610631943, 0.8214938640594482, -0.1392950862646103, 0.47042274475097656, 0.6536853313446045, 0.9673612117767334, 0.34594592452049255, -0.10567386448383331, 0.20242726802825928, -0.8239523768424988, 0.4000801146030426, 0.33006322383880615, 0.5759852528572083, 0.41663452982902527, -0.060967106372117996, 0.4425792694091797, 0.72566819190979, -0.09710974246263504, -0.9807013273239136, 0.06700003892183304, -0.8472270369529724, -0.217087984085083, 1.1374496221542358, -0.3673131465911865, -0.1399475783109665, -0.2043241411447525, -0.2513609826564789, 0.21379928290843964, -0.5048997402191162, 0.6024155616760254, 0.9684270024299622, 0.1450972557067871, 0.024961834773421288, -0.2677192986011505, 0.1482539027929306, 0.5048307776451111, -0.9045628905296326, -0.07076750695705414, 0.08327556401491165, 0.2933647632598877, 0.1949933022260666, 0.41337668895721436, -0.14364968240261078, -0.11422698944807053, 0.08317101001739502, -0.04232223704457283, -0.26322686672210693, -0.1357167512178421, 0.15343384444713593, 0.26867151260375977, -0.04013559967279434, -0.4598499536514282 ]
http://arxiv.org/abs/2402.18054v1
http://arxiv.org/pdf/2402.18054v1
Contextualizing Generated Citation Texts
2024-02-28T05:24:21
2024-02-28T05:24:21
Biswadip Mandal, Xiangci Li, Jessica Ouyang
cs.CL
cs.CL
Abstractive citation text generation is usually framed as an infilling task, where a sequence-to-sequence model is trained to generate a citation given a reference paper and the context window around the target; the generated citation should be a brief discussion of the reference paper as it relates to the citing context. However, examining a recent LED-based citation generation system, we find that many of the generated citations are generic summaries of the reference papers main contribution, ignoring the citation contexts focus on a different topic. To address this problem, we propose a simple modification to the citation text generation task: the generation target is not only the citation itself, but the entire context window, including the target citation. This approach can be easily applied to any abstractive citation generation system, and our experimental results show that training in this way is preferred by human readers and allows the generation model to make use of contextual clues about what topic to discuss and what stance to take.
[ -0.31258103251457214, -0.41611984372138977, 0.8068940043449402, 0.029261959716677666, -0.5455887317657471, -0.2292422652244568, -0.1418588012456894, -0.4160609841346741, 0.14368103444576263, 0.26593339443206787, -0.4168431758880615, -0.24737447500228882, -0.3252410590648651, 0.5077919960021973, -0.5295085906982422, 1.3660598993301392, 0.09981154650449753, -0.23790748417377472, -0.4189336895942688, 0.0863322988152504, -0.4657468795776367, -0.4540005624294281, -0.2934132516384125, -0.5035788416862488, 0.8368659615516663, 0.4652825593948364, 0.2632036805152893, 0.6130335927009583, 0.3930497169494629, 0.11589135229587555, -0.2025187462568283, 0.08413893729448318, -0.41064125299453735, 0.46723318099975586, -0.6117504835128784, -0.03995038568973541, -0.0721762403845787, -0.0003964729839935899, 0.6630237698554993, 0.8663102984428406, 0.5297170877456665, 0.3736422657966614, 0.23740723729133606, 0.710661768913269, -0.7168759703636169, -0.05332813784480095, -0.9202142953872681, -0.18238669633865356, -0.3360079526901245, -0.6813051700592041, -0.7270601391792297, -0.2729208469390869, 0.19936399161815643, -0.3191315531730652, 0.5409421920776367, 0.05047529935836792, 0.6173236966133118, -0.044103845953941345, -0.7800641059875488, -0.41656675934791565, -0.769720196723938, 0.6913862228393555, -0.31813982129096985, -0.347202330827713, 0.037821006029844284, 0.0513516366481781, 0.036326777189970016, -0.7859985828399658, -0.23363079130649567, 0.17413592338562012, -0.2739185690879822, 0.026826895773410797, -0.03967193886637688, -0.18023209273815155, 0.36235615611076355, 0.04865487292408943, -0.5134534239768982, -0.6206623315811157, -0.3415493965148926, 0.13329601287841797, 0.6449134945869446, -0.12787364423274994, -0.048071932047605515, -0.48735281825065613, -0.2638820707798004, -0.007477967534214258, -1.0049747228622437, -0.2566072344779968, 0.1073288843035698, 0.650507390499115, 0.35898223519325256, 0.5451020002365112, -0.07564752548933029, 0.7689672708511353, 0.3104950785636902, 0.11648336797952652, 0.1287299394607544, -0.48425552248954773, -0.21752658486366272, 0.2544422745704651, 0.2782624363899231, 0.3481842577457428, 0.3378829061985016, -0.40970301628112793, -0.07498320192098618, -0.4231680631637573, 0.45545488595962524, -0.9571408033370972, -0.029585720971226692, 0.14955654740333557, -0.4495772421360016, -0.32068532705307007, 0.34263259172439575, -0.32207903265953064, 0.03247475624084473, -0.49164411425590515, 0.05787339061498642, -0.23937340080738068, -0.031640052795410156, -0.692233681678772, -0.28867197036743164, 0.03975357860326767, 0.35216960310935974, -0.8012229800224304, -0.36694127321243286, 0.4246196150779724, 0.9074425101280212, -0.16770900785923004, -0.13684441149234772, -0.6842077374458313, 0.7686317563056946, -0.12915904819965363, 1.0285552740097046, -0.6505441069602966, -0.7135247588157654, 0.29677435755729675, -0.170694962143898, -0.10018452256917953, -0.478303462266922, 0.31474122405052185, -0.7549178600311279, 0.11230743676424026, -0.5921306014060974, -0.5418606996536255, 0.012705044820904732, 0.04562830179929733, -0.39322859048843384, 0.7574920058250427, -0.0004423018835950643, -0.9847555756568909, 0.6440296173095703, -0.7617360949516296, -0.7002716064453125, 0.12407120317220688, -0.3265177011489868, -0.3188226521015167, 0.11536990106105804, -0.013613613322377205, 0.26761242747306824, -0.10968723148107529, 0.5777376890182495, 0.20549285411834717, -0.3610878884792328, 0.1343400478363037, 0.08707554638385773, 0.6481797695159912, 0.608439028263092, -0.42727360129356384, 0.3374517858028412, -0.8748189210891724, 0.06251697242259979, -0.07323896884918213, -0.5752840638160706, -0.5475494265556335, 0.010312558151781559, 0.571685254573822, 0.04089966043829918, 0.17641250789165497, -0.5226613283157349, 0.06002068147063255, -0.2410546839237213, 0.2713049054145813, 0.5938382148742676, 0.46614623069763184, 0.5425792932510376, -0.2938135266304016, 0.27872195839881897, -0.06419248133897781, -0.4341011941432953, -0.6994057893753052, -0.5515674352645874, -0.3172996938228607, -0.08267760276794434, 0.18676576018333435, 0.20932763814926147, -0.5760747194290161, 0.3267611861228943, -0.31992900371551514, -0.034298431128263474, 0.3113791346549988, 0.11685951799154282, 0.3991311192512512, 0.6595266461372375, 0.2748660147190094, 0.22933261096477509, -0.7667273283004761, -0.6672032475471497, -0.5198732614517212, -0.3585754334926605, -0.15741650760173798, 0.2088569849729538, 0.7110081315040588, -0.011761000379920006, 1.440824270248413, -0.6042499542236328, 0.14015159010887146, -0.16535963118076324, 0.4503583610057831, -0.03951354697346687, 0.8008421063423157, 0.7078619003295898, -1.0712196826934814, -0.8042687177658081, -0.11748853325843811, -0.9400359988212585, -0.14770318567752838, -0.43181174993515015, -0.30071115493774414, -0.17631641030311584, 0.8860311508178711, -0.29504793882369995, 0.3048892319202423, -0.1979476660490036, -0.4895682632923126, 0.3674088418483734, -0.05924472212791443, -0.01771494373679161, -1.3513422012329102, 0.7147239446640015, -0.21530425548553467, -0.1922977715730667, -0.5818754434585571, 0.18212009966373444, 0.13481183350086212, -0.48303577303886414, -0.2072804570198059, 0.4756263494491577, -0.5571222305297852, 0.003627892816439271, -0.7481281757354736, -0.026957573369145393, 0.08841744065284729, 0.09196843206882477, 0.22227510809898376, 0.706843912601471, 0.013821815140545368, -0.5932589769363403, -0.19969235360622406, 0.3191663920879364, -0.1027597114443779, 0.7037490010261536, -0.6226713061332703, 0.2287643551826477, -0.458656907081604, 0.4254605174064636, -0.898384153842926, -0.3354493975639343, -0.07567806541919708, -0.33652350306510925, 0.31714120507240295, -0.13671451807022095, -0.32821914553642273, -0.02294611744582653, -0.3097570538520813, 0.7043511271476746, 0.2535061836242676, -0.6999203562736511, 0.2291068434715271, -0.06222698464989662, -0.25236374139785767, -0.380135715007782, -0.479423850774765, 0.24111823737621307, -0.31628069281578064, -0.6752440929412842, 0.8370755910873413, -0.2889940142631531, -0.40010252594947815, -0.052644215524196625, 0.18708808720111847, 0.10179883986711502, -0.08194687217473984, 0.4446651041507721, 0.06864112615585327, -0.19102779030799866, 0.4873182475566864, 0.22102093696594238, -0.10097882896661758, -0.09666911512613297, -0.31340551376342773, 0.11060117930173874, 0.19424641132354736, -0.17083197832107544, 0.018130531534552574, 1.0636205673217773, 0.32870203256607056, -0.0616246797144413, 0.5374078154563904, 0.2032475769519806, -0.11254469305276871, -0.06714357435703278, -0.11325225234031677, -0.23268218338489532, -0.4108971059322357, 0.1880854368209839, -0.4771789014339447, -0.5811352729797363, 0.2127409428358078, -0.15118591487407684, 0.4494536519050598, 0.419657826423645, 0.5602787137031555, -0.1350366771221161, 0.7218493223190308, 0.6513728499412537, 0.2630428671836853, 0.7853567004203796, 0.0009240679210051894, 0.05747571960091591, -0.8497602939605713, -0.16058361530303955, -0.6711329817771912, -0.28005194664001465, -0.18611454963684082, -0.1660645604133606, 0.272434264421463, 0.14018255472183228, -0.3710653781890869, 0.22985902428627014, -0.7409458756446838, 0.40154406428337097, 0.7085910439491272, -0.11980652809143066, 0.477187842130661, 0.31243279576301575, 0.07878661155700684, -0.00408877432346344, -0.3844018280506134, -0.8847752809524536, 1.3101565837860107, -0.17689041793346405, 0.2967841923236847, 0.010099277831614017, 1.0990407466888428, 0.41288480162620544, 0.660216748714447, -0.4074609577655792, 0.3869388699531555, 0.34570735692977905, -0.8145502805709839, -0.13250845670700073, -0.2013915479183197, -1.120678186416626, 0.4381619393825531, 0.041706230491399765, -0.4647290110588074, 0.391542911529541, 0.3131108283996582, -0.25838589668273926, 0.0005699454923160374, -0.6509780287742615, 0.5007078051567078, 0.3445875644683838, -0.29566308856010437, -0.11701256036758423, -0.5947519540786743, 0.15099884569644928, -0.002975208917632699, 0.07545405626296997, 0.26194658875465393, 0.23220974206924438, 0.7107707262039185, -0.5425236225128174, 0.7166309952735901, -0.2200709879398346, 0.030163569375872612, 0.6320651769638062, -0.24656084179878235, 0.6800209879875183, 0.269194096326828, -0.06346429884433746, -0.43908265233039856, -0.5566579699516296, -0.556655764579773, -0.3235798478126526, 0.6190817952156067, -0.3226030170917511, -0.7546623349189758, -0.5630283951759338, -0.7099696397781372, -0.1469605416059494, 0.0866614580154419, 0.655047595500946, 0.3913775086402893, -0.45480287075042725, 0.08066970854997635, 0.6218441128730774, 0.14480158686637878, 0.7300288081169128, 0.252035528421402, 0.0462513342499733, -0.31170129776000977, 0.6376977562904358, -0.148287832736969, 0.14249703288078308, 0.4434877634048462, -0.14977842569351196, -0.0776214599609375, -0.650498628616333, -0.46754932403564453, 0.18245691061019897, -0.8558511137962341, -0.20283570885658264, -0.5467803478240967, -0.07683119177818298, -0.5979230403900146, -0.574653148651123, 0.05999092012643814, -0.4335304796695709, -0.7059987783432007, -0.19120663404464722, 0.34733104705810547, 0.670541524887085, -0.07469289749860764, 0.25754207372665405, -0.5608065724372864, -0.06998033821582794, 0.5316003561019897, -0.26616063714027405, 0.18664245307445526, -0.46442708373069763, -0.41595011949539185, -0.22694911062717438, -0.6491159796714783, -0.9181919693946838, 0.16825158894062042, 0.43089595437049866, 0.3224411904811859, 0.43867236375808716, 0.13810065388679504, 0.49522170424461365, -0.8850478529930115, 0.8230752944946289, 0.34069764614105225, -0.7294445037841797, 1.0781302452087402, -0.5675377249717712, 0.5061438679695129, 0.6642554402351379, 0.15117071568965912, -0.09691368788480759, -0.4003954827785492, -0.5253630876541138, -0.9464337229728699, 0.451522558927536, 0.4152716398239136, 0.29310181736946106, -0.21611681580543518, 0.5436748266220093, 0.12980099022388458, 0.19580934941768646, -0.9355947375297546, -0.2687881886959076, -0.3543780744075775, -0.10439635813236237, 0.013430670835077763, -0.37825751304626465, -0.33530205488204956, 0.048883408308029175, 0.5131356120109558, -0.24783076345920563, 0.2370040863752365, 0.47862952947616577, -0.24468062818050385, -0.25794124603271484, 0.3712819516658783, 0.9245142340660095, 0.9925905466079712, -0.5875186920166016, 0.20162150263786316, -0.4864886403083801, -0.42743176221847534, 0.16995283961296082, -0.09303018450737, -0.8988106846809387, 0.5030501484870911, 0.4165789783000946, 0.42947980761528015, 0.23557570576667786, -0.5207544565200806, 0.2619030773639679, 0.3567526936531067, -0.3078494369983673, -0.24390272796154022, -0.0929371640086174, 0.04156447574496269, 0.21686692535877228, 0.9133388996124268, 0.2328026294708252, 0.1711047887802124, -0.7184906005859375, 0.3111521601676941, 0.4115240275859833, -0.30132168531417847, -0.3656519651412964, 0.8353924751281738, 0.5727559924125671, -0.08536228537559509, 0.12752075493335724, -0.17508965730667114, -0.25688669085502625, 0.36041781306266785, 0.8752838969230652, 1.0572834014892578, 0.2759245038032532, 0.13684037327766418, 0.7554629445075989, -0.03523145616054535, 0.25680023431777954, 0.08367947489023209, -0.47247514128685, -0.3213960528373718, -0.3141089081764221, -0.4214918315410614, -0.2184906154870987, -0.08372840285301208, -0.7509363889694214, -0.011694930493831635, -0.25645893812179565, -0.3135641813278198, 0.08262909948825836, -0.23185700178146362, -0.15115344524383545, 0.2533077597618103, 0.11868633329868317, 0.7982867360115051, -0.7810912132263184, 0.9367548823356628, 0.9142233729362488, -0.6283974051475525, -0.11629825085401535, 0.3840373158454895, -0.31781306862831116, -0.1965983808040619, 1.1127594709396362, -0.018679875880479813, -0.10302380472421646, -0.03211932256817818, -0.563304603099823, -0.8507122993469238, 1.1212431192398071, 0.23742759227752686, -0.2752087116241455, -0.15063977241516113, -0.17658257484436035, 0.18695564568042755, -0.8907536268234253, -0.06653057038784027, 0.12223269790410995, 0.40880173444747925, 0.3378588855266571, -0.4609193801879883, 0.34310460090637207, -0.4880388379096985, 0.4045325517654419, -0.004146122373640537, -0.3556101620197296, 0.9843611121177673, -0.3195871412754059, -0.3199818432331085, 0.21856912970542908, 1.021707534790039, 0.5714232921600342, 0.5294036865234375, 0.2228144258260727, 0.020007260143756866, 0.735594630241394, 0.1633170247077942, 1.0290894508361816, -0.08543006330728531, 0.0845133364200592, 1.2958265542984009, -0.21476741135120392, 0.7103601694107056, 0.9923794269561768, 0.09920774400234222, 0.6805898547172546, 0.5333646535873413, 0.02708856388926506, 0.9798069596290588, 0.06262393295764923, -0.370748907327652, -0.1369926482439041, 0.023340793326497078, -0.7799658179283142, -0.16472037136554718, 0.06283815950155258, -0.87285977602005, -0.42792096734046936, 0.14473432302474976, -0.08513525873422623, 0.5197428464889526, -0.3183141350746155, 0.516524076461792, 0.06166262552142143, -0.8492027521133423, 0.5909263491630554, -0.008332301862537861, 0.6390596628189087, -0.2873561978340149, -0.020613791421055794, -0.04621341452002525, -0.09201782196760178, -0.27580350637435913, -0.29607224464416504, 0.371143102645874, 0.4174668788909912, -0.9434529542922974, -0.480202853679657, 0.5999224185943604, -0.3129490911960602, -0.3200804889202118, -0.145521342754364, 0.41105586290359497, 0.1434440016746521, -0.21523410081863403, -0.19260689616203308, -0.35988837480545044, 0.3970699906349182, -0.32901960611343384, 0.5545514225959778, 0.29277756810188293, 0.0535757802426815, 0.027364561334252357, 0.6202296018600464, -0.20027770102024078, -0.016803786158561707, 0.02366291731595993, 0.7842980623245239, -0.8937004208564758, -0.6435523629188538, -0.7145198583602905, 0.5125263929367065, -0.39085498452186584, -0.5894114971160889, 0.890869140625, 0.6241458654403687, 0.4552159905433655, -0.2307124137878418, 1.0143250226974487, -0.17928582429885864, 0.6664761900901794, -0.31485679745674133, 0.5860374569892883, -0.4660009741783142, 0.2764970660209656, -0.4036288559436798, -1.0646910667419434, -0.14586429297924042, 0.5970138907432556, -0.19931483268737793, 0.07386481761932373, 0.7097491025924683, 0.3331919312477112, 0.05182535946369171, 0.08199960738420486, 0.1127389594912529, -0.2712450623512268, 0.392290323972702, 0.3837823271751404, 0.7353783249855042, -0.363797664642334, 0.7158629894256592, 0.15487362444400787, -0.10229966789484024, -0.421647846698761, -0.9734576940536499, -0.8505598306655884, -0.6436159014701843, -0.47195538878440857, -0.42891591787338257, -0.02548426389694214, 0.6511896252632141, 0.6117339134216309, -0.8955385088920593, -0.25075340270996094, -0.38876381516456604, 0.10514044016599655, -0.052738167345523834, -0.23946498334407806, 0.5352767109870911, -0.6423580050468445, -0.8782603740692139, 0.47787702083587646, 0.06615129113197327, 0.06412814557552338, 0.06230812892317772, 0.02035083808004856, -0.38966742157936096, 0.09095407277345657, 0.6754438877105713, 0.3419402241706848, -0.49196699261665344, -0.4006381034851074, -0.15022914111614227, -0.254159152507782, 0.19697831571102142, 1.4122394323349, -0.8775151968002319, 0.2699345052242279, 0.40121740102767944, 0.2848002314567566, 0.7481414675712585, 0.23725466430187225, 0.8745622634887695, -1.0316084623336792, 0.21040917932987213, 0.14864802360534668, 0.29284411668777466, 0.41199180483818054, -0.40064185857772827, 0.5277997851371765, 0.30206412076950073, -0.48977479338645935, -0.9811453223228455, 0.3276608884334564, -0.8292540907859802, -0.7533699870109558, 0.9963266849517822, -0.11116005480289459, 0.04523087665438652, -0.33958277106285095, -0.21711015701293945, 0.19414478540420532, -0.3734065592288971, 0.6466304659843445, 0.47670048475265503, -0.2554413378238678, 0.4106985926628113, -0.06985814869403839, 0.5433650612831116, 0.38773313164711, -0.6177471280097961, 0.11118151992559433, 0.5580598711967468, 0.1831209510564804, 0.6198413372039795, 0.5205535292625427, 0.016842303797602654, 0.4811745882034302, 0.1003095880150795, -0.08633427321910858, -0.05448766425251961, -0.18096546828746796, 0.03163617104291916, 0.5624160170555115, 0.0891810953617096, 0.0010881131747737527 ]
http://arxiv.org/abs/2402.18050v1
http://arxiv.org/pdf/2402.18050v1
MEGAnno+: A Human-LLM Collaborative Annotation System
2024-02-28T04:58:07
2024-02-28T04:58:07
Hannah Kim, Kushan Mitra, Rafael Li Chen, Sajjadur Rahman, Dan Zhang
cs.CL
cs.CL, cs.HC
Large language models (LLMs) can label data faster and cheaper than humans for various NLP tasks. Despite their prowess, LLMs may fall short in understanding of complex, sociocultural, or domain-specific context, potentially leading to incorrect annotations. Therefore, we advocate a collaborative approach where humans and LLMs work together to produce reliable and high-quality labels. We present MEGAnno+, a human-LLM collaborative annotation system that offers effective LLM agent and annotation management, convenient and robust LLM annotation, and exploratory verification of LLM labels by humans.
[ -0.3499631881713867, -0.5622321963310242, 0.6852278113365173, 0.3475593328475952, -0.2770412862300873, 0.6269469261169434, -0.34842127561569214, -1.0097533464431763, 0.48610708117485046, 0.6747234463691711, -0.5824909210205078, -0.8599661588668823, -0.532145619392395, 0.5533526539802551, -0.12830626964569092, 0.703387439250946, 0.22405780851840973, 0.13208723068237305, -0.4256814420223236, -0.08780312538146973, -0.4519291818141937, -1.0335863828659058, -1.1289137601852417, -0.8029215931892395, 1.1099357604980469, 0.19173160195350647, 0.8400657176971436, 0.8511404395103455, 0.4394984543323517, 0.4354020059108734, -0.41312000155448914, 0.5960537791252136, -0.2385798990726471, 0.18100515007972717, -0.23515313863754272, -0.49294543266296387, -0.9487916231155396, 0.09898772090673447, 0.41623032093048096, 0.8813601732254028, 0.12825627624988556, 0.1857910007238388, -0.07517409324645996, 0.38532283902168274, -0.3095722794532776, -0.06274203211069107, -0.4982222318649292, -0.012949489057064056, -0.14360356330871582, 0.008609463460743427, -0.4486202299594879, -0.6500813364982605, 0.16084563732147217, -0.978133499622345, -0.0982423797249794, 0.2127651423215866, 0.6517869830131531, 0.41416677832603455, -0.2957268953323364, -0.05119285359978676, -0.7762028574943542, 0.7499408721923828, -0.2991585433483124, 0.29457923769950867, 0.47373634576797485, 0.29858624935150146, -0.29312318563461304, -0.49730822443962097, -0.5742793679237366, -0.4333942234516144, -0.24412652850151062, -0.000520711240824312, 0.32001543045043945, 0.003411891171708703, 0.08979226648807526, -0.10782947391271591, -0.3592877686023712, 0.39993396401405334, -0.26174232363700867, -0.518684446811676, 1.018438696861267, 0.3226642906665802, 0.37198635935783386, -0.10417652130126953, -0.6346234083175659, 0.01962166465818882, -0.7613447904586792, -0.562353789806366, 0.4896942973136902, 0.556495726108551, -0.05989016965031624, 0.4680994153022766, -0.2544028162956238, 0.7549359202384949, -0.4549082815647125, -0.04113297536969185, 0.3504940867424011, -0.4307602643966675, -0.03809593617916107, 0.2607593834400177, 1.0784815549850464, 0.3912977874279022, 0.4246552884578705, -0.4186345636844635, 0.10209819674491882, 0.0596085786819458, -0.11634649336338043, -0.40831783413887024, -0.217710480093956, 0.37344732880592346, -0.014854014851152897, -0.48230087757110596, -0.05372314155101776, -0.6598175168037415, -0.8241382241249084, -0.6259898543357849, 0.6521492600440979, -0.009446904063224792, -0.31396880745887756, 0.01477473508566618, -0.23160120844841003, -0.267575204372406, 0.7769091725349426, -0.6198265552520752, 0.30901676416397095, 0.7994346618652344, 0.8989299535751343, -0.43119996786117554, -0.6280034780502319, -0.250708669424057, 0.2623908221721649, -0.35229629278182983, 0.9939566850662231, -0.21656788885593414, -0.40485090017318726, -0.20326243340969086, 0.04817802831530571, 0.06380783766508102, -0.7494667172431946, 0.5138739943504333, -0.3152622878551483, 0.12042112648487091, -0.23793676495552063, -0.5639101266860962, -0.24042287468910217, 0.4755743741989136, -0.8364601731300354, 1.192596197128296, 0.34362396597862244, -0.6684624552726746, 0.3576435446739197, -0.5409348011016846, -0.01382200326770544, 0.5195822715759277, -0.0705084353685379, -0.24153080582618713, -0.517342746257782, -0.18307973444461823, 0.6974467039108276, -0.3852449655532837, 0.5033267140388489, -0.3299570083618164, -0.5878095626831055, 0.6859378218650818, -0.07096266746520996, 0.9466168880462646, 0.07410883903503418, -0.043551333248615265, 0.507090151309967, -0.9014956951141357, -0.2429981529712677, 0.32008007168769836, -0.7600758671760559, -0.38397231698036194, 0.013781769201159477, 0.06648673117160797, 0.2371217906475067, 0.6634870171546936, -0.5666436553001404, 0.3703901171684265, -0.19432926177978516, 0.3437812030315399, 0.7376483678817749, -0.36790016293525696, 0.31275495886802673, -0.5220765471458435, 0.28525301814079285, -0.3660619854927063, 0.10164573043584824, -0.049967385828495026, -0.6494422554969788, -0.7574869394302368, -0.5775713324546814, 0.460652619600296, 0.8884884119033813, -0.6731904745101929, 0.7558187246322632, -0.2992062270641327, -0.5122448801994324, -0.48566001653671265, 0.3776632845401764, 0.37202998995780945, 0.3797249495983124, 0.273159921169281, -0.10794324427843094, -0.7661944627761841, -0.9526786208152771, 0.11645369231700897, -0.29630911350250244, -0.24257399141788483, 0.1817510426044464, 0.4532095789909363, -0.4993782639503479, 0.881219744682312, -0.3079718351364136, -0.3462051749229431, -0.47574248909950256, 0.02509770728647709, 0.2151820808649063, 0.33845633268356323, 0.2819983661174774, -0.6904814839363098, -0.4489440321922302, 0.3527907133102417, -0.5826098918914795, -0.35416242480278015, 0.016167722642421722, -0.21501778066158295, 0.31417450308799744, 0.4138217866420746, -0.47310879826545715, 0.1444193720817566, 0.7247763872146606, -0.5168994665145874, 0.3873656690120697, -0.3254513144493103, 0.03212101384997368, -1.3077569007873535, -0.06724368035793304, -0.15419994294643402, -0.7136169672012329, -0.43391600251197815, -0.20855116844177246, -0.237476646900177, 0.17967164516448975, -0.539691686630249, 0.6041517853736877, -0.014934292994439602, 0.11491894721984863, -0.11179915070533752, 0.31795158982276917, 0.14568856358528137, 0.41559478640556335, 0.39028382301330566, 0.6990764141082764, 0.1818767488002777, -0.45553281903266907, 0.8699778914451599, 0.2353677600622177, 0.13470003008842468, 0.7466314435005188, -0.6770263314247131, 0.2805003225803375, 0.184154212474823, 0.20286382734775543, -0.9209117889404297, -0.6133821606636047, 0.47568854689598083, -0.4564878046512604, -0.020968008786439896, -0.22355620563030243, -0.9993529915809631, -0.225708469748497, -0.4306949973106384, 0.2065473198890686, 0.0993466004729271, -0.691007137298584, 0.575041651725769, 0.3621870279312134, -0.1564103662967682, -0.117967888712883, -0.6592444181442261, 0.3720305562019348, -0.38410836458206177, -0.710318386554718, 0.23920638859272003, 0.03793761506676674, -0.4607706069946289, -0.09472507238388062, 0.654312014579773, -0.27096590399742126, 0.2840893566608429, 0.45344671607017517, 0.3905927836894989, 0.0912865698337555, 0.21800263226032257, -0.29994675517082214, -0.43174365162849426, -0.04422755166888237, -0.033504050225019455, 0.6170410513877869, 0.05337825044989586, -0.12069863080978394, -0.7176964282989502, 0.39511722326278687, 0.4058290123939514, 0.17164145410060883, 0.8519060611724854, 0.5372236967086792, -0.5712607502937317, 0.02209017239511013, -0.6670910120010376, 0.06971020996570587, -0.47232288122177124, 0.24510839581489563, 0.038306824862957, -1.1046967506408691, 0.6598541140556335, -0.3498079478740692, -0.30035194754600525, 0.4765230715274811, 0.6228835582733154, -0.3113526701927185, 0.7206111550331116, 0.6476800441741943, -0.059783950448036194, 0.2471657544374466, -0.033350978046655655, -0.35329678654670715, -0.8114402890205383, -0.6765932440757751, -0.5972074866294861, -0.3206480145454407, -0.5433762073516846, -0.45789068937301636, 0.1664363145828247, -0.07796834409236908, -0.2727643847465515, 0.7115625143051147, -0.8611957430839539, 0.629460871219635, 0.7700315117835999, 0.22307799756526947, 0.6666207909584045, -0.33128663897514343, 0.013569463975727558, 0.011478167027235031, -0.5183199048042297, -0.7784619331359863, 0.9248723983764648, 0.23022979497909546, 0.5179106593132019, 0.09529394656419754, 0.8351091146469116, 0.44113829731941223, 0.5678940415382385, -0.7620295286178589, 0.6395808458328247, -0.04090254008769989, -0.8528695702552795, -0.331076979637146, -0.4083282947540283, -0.9978448748588562, 0.1971132457256317, -0.6425994038581848, -1.1603739261627197, -0.043961744755506516, 0.1200619786977768, -0.5716375708580017, 0.27216944098472595, -0.8610413670539856, 0.8557344675064087, -0.2896142899990082, -0.37604352831840515, -0.01596524380147457, -0.5903555154800415, 0.1621597707271576, -0.4599224030971527, 0.3601197302341461, -0.554082453250885, -0.30915868282318115, 0.8716700673103333, -0.5007625222206116, 1.0581310987472534, 0.2006516307592392, -0.09142854064702988, 0.4386712908744812, 0.16411295533180237, 0.3867867588996887, -0.006925977300852537, -0.11262354999780655, 0.36281222105026245, -0.02646198682487011, -0.02385062351822853, -0.26240119338035583, 0.5942132472991943, -0.8888385891914368, -0.2213377207517624, -0.31120607256889343, -0.5615319609642029, 0.07162933796644211, 0.01721094734966755, 0.05675312504172325, 0.02818329818546772, 0.07484480738639832, -0.07976359128952026, 0.49167370796203613, -0.27255168557167053, 0.3446103632450104, 0.11641164869070053, -0.5227643251419067, -0.9803605675697327, 1.0120364427566528, 0.2277890294790268, 0.1940833032131195, 0.31099703907966614, 0.3416321873664856, -0.19110949337482452, -0.4904719591140747, -0.4461207687854767, 0.34697088599205017, -0.6069326400756836, -0.17478011548519135, -0.5148336291313171, -0.04892349988222122, 0.04424469918012619, -0.3825400173664093, -0.48288512229919434, -0.5812860131263733, -0.2937781512737274, -0.029852144420146942, 0.8303394317626953, 1.094352126121521, -0.059088557958602905, 0.6175762414932251, -0.8507025241851807, 0.10551278293132782, 0.47398778796195984, 0.17064283788204193, -0.36908745765686035, -0.0883224681019783, -0.2455071657896042, -0.04223308339715004, -0.09895472228527069, -0.8532211184501648, 0.2001422643661499, -0.19443506002426147, 0.2951202392578125, 0.11005952954292297, -0.2500755488872528, 0.41463980078697205, -0.26606935262680054, 0.7202825546264648, 0.11996676027774811, -0.9488847851753235, 0.4354360103607178, -0.8414117693901062, 0.007676339708268642, 0.6097985506057739, 0.38124749064445496, -0.6938028931617737, -0.34513458609580994, -0.3997170627117157, -0.9645110368728638, 0.6872864365577698, 0.27069661021232605, 0.061340413987636566, 0.036725662648677826, 0.5192044377326965, 0.15477950870990753, -0.004170029889792204, -0.7572072744369507, -0.14887133240699768, 0.3604086935520172, -0.24752087891101837, -0.0776045098900795, -0.2719804346561432, -0.0751131922006607, -0.3828672468662262, 0.5956025123596191, -0.038037367165088654, 0.1343643069267273, 0.32937222719192505, 0.0018218348268419504, 0.04942106083035469, 0.031289007514715195, 0.6689950227737427, 0.5723661780357361, -0.37156710028648376, 0.2154821753501892, 0.5515604615211487, -0.31995490193367004, 0.22041846811771393, 0.044068593531847, -0.10481961816549301, -0.025945795699954033, 0.6580544710159302, 0.40403881669044495, -0.01646246388554573, -0.6097360253334045, 0.3475334942340851, -0.14066840708255768, -0.31210434436798096, -0.5584957599639893, 0.16461244225502014, 0.7496472001075745, 0.3348366320133209, 0.2679675221443176, -0.09007979184389114, -0.05887778475880623, -0.22727374732494354, 0.05258828029036522, 0.20644016563892365, -0.38149362802505493, -0.44051092863082886, 0.724786639213562, 0.5167220830917358, -0.8005200028419495, 0.2937457263469696, -0.2816154360771179, -0.7223032712936401, 0.7555899024009705, 0.33213934302330017, 0.7530977725982666, -0.21959935128688812, 0.2847122251987457, 0.3599565923213959, 0.34344249963760376, -0.2019956409931183, 0.22345787286758423, 0.010844098404049873, -0.8292925357818604, -0.8250941038131714, -0.4920338988304138, -0.9829320907592773, -0.16219216585159302, -0.3413819968700409, 0.39137473702430725, -0.5478678345680237, -0.4258020222187042, 0.04657954350113869, 0.09140052646398544, -0.5695158839225769, 0.2946709096431732, 0.37600424885749817, 0.5928015112876892, -0.7712050080299377, 0.8500126004219055, 0.732019305229187, -0.35704463720321655, -0.6453233957290649, -0.6950768232345581, 0.05342607945203781, -0.6694681644439697, 0.949246346950531, 0.2969096004962921, -0.37303808331489563, -0.019732562825083733, -0.6434083580970764, -0.7664439678192139, 1.2838051319122314, 0.4626460671424866, -0.664894700050354, 0.33974558115005493, 0.523589551448822, 0.7433241605758667, -0.41026702523231506, -0.06395353376865387, 0.44396376609802246, 0.6638883948326111, 0.1902218759059906, -1.0504777431488037, 0.1305083930492401, 0.1855674833059311, -0.15226535499095917, 0.1845816671848297, -0.7147697806358337, 0.6673222780227661, -0.07814285159111023, 0.03197680413722992, 0.3252156674861908, 0.3644661605358124, 0.18591977655887604, 0.3724641799926758, 0.45822376012802124, 0.5649705529212952, 0.9777585864067078, -0.23617272078990936, 1.037199854850769, 0.13267499208450317, 0.23304085433483124, 1.3368955850601196, -0.30498257279396057, 0.9062995314598083, 0.37201350927352905, -0.3637961149215698, 0.25102734565734863, 0.8359038829803467, 0.10410009324550629, -0.19568420946598053, 0.3678399324417114, -0.5612008571624756, -0.7025655508041382, -0.6848160624504089, -0.07282266765832901, 0.2937116026878357, 0.3770538866519928, -0.1939937174320221, 0.06858629733324051, -0.41932064294815063, 0.24945403635501862, 0.25693991780281067, -0.19605235755443573, 0.9675402641296387, 0.027919966727495193, -0.2564378082752228, 0.3057432472705841, -0.10446961969137192, 0.940013587474823, -0.31934061646461487, -0.020637553185224533, -0.005581973120570183, 0.025036059319972992, -0.4879606068134308, -0.7661074995994568, 0.47356274724006653, -0.07296847552061081, 0.05760321021080017, -0.08355005085468292, 0.7306679487228394, -0.5437115430831909, -0.6709646582603455, 0.7155330181121826, 0.588988184928894, 0.24364495277404785, -0.16709941625595093, -0.3720663785934448, 0.3628707826137543, -0.2186761349439621, -0.0568719245493412, 0.01696283370256424, 0.20514915883541107, -0.2887110412120819, 0.9271265864372253, 0.8373445868492126, 0.2752787470817566, -0.05121471360325813, 0.1699027717113495, 0.7363771200180054, -0.7481688261032104, 0.09148766845464706, -1.301144003868103, 0.4987774193286896, -0.36433297395706177, -0.23128187656402588, 0.5995948314666748, 0.4226878583431244, 0.9399577379226685, 0.25390174984931946, 0.7215254306793213, 0.4067705571651459, 0.6131354570388794, -0.2603827118873596, 1.0182939767837524, -0.3763444125652313, 0.08831658959388733, -0.22320254147052765, -1.2009360790252686, -0.9938010573387146, 0.6054869890213013, 0.008970954455435276, -0.11228226870298386, 0.4593278467655182, 0.5776739120483398, 0.4708065092563629, -0.28931090235710144, 0.5030261874198914, -0.18784961104393005, 0.17394153773784637, 0.5684383511543274, 1.3524614572525024, -0.06869932264089584, 0.4898476004600525, -0.4486464560031891, 0.05905730277299881, -0.1133502870798111, -1.0262641906738281, -1.2836352586746216, -0.4038461744785309, -0.578380823135376, -0.20396386086940765, -0.04063219577074051, 1.4617197513580322, 0.8454903364181519, -0.5575999021530151, -0.21962763369083405, 0.23396658897399902, 0.5220319628715515, 0.22280094027519226, -0.18342551589012146, 0.2415129691362381, 0.16889551281929016, -0.8488014936447144, 0.21507026255130768, 0.39235761761665344, 0.2616364061832428, -0.4608009159564972, -0.2683175206184387, -0.15573136508464813, 0.036693353205919266, 0.5773555040359497, -0.09141054004430771, -0.6001815795898438, -0.4426570534706116, -0.2656939625740051, -0.20270591974258423, 0.20521695911884308, 0.45114389061927795, -0.8104419708251953, 0.411081463098526, 0.5447684526443481, 0.6224513649940491, 0.07224638015031815, 0.051302626729011536, 0.47773483395576477, -0.6333683133125305, 0.2588934600353241, 0.16783291101455688, 0.32103079557418823, 0.6641412973403931, -0.5590970516204834, 0.7114456295967102, 0.4332575798034668, -0.6373612284660339, -0.5814229846000671, 0.09488020837306976, -1.1614376306533813, -0.047773707658052444, 1.1726917028427124, -0.20673112571239471, -0.386161208152771, -0.3750854730606079, -0.6861454844474792, 0.18233606219291687, -0.40492793917655945, 0.6177482008934021, 0.8157855272293091, -0.035141829401254654, 0.19236016273498535, -0.41171935200691223, 0.22116592526435852, -0.0647001639008522, -1.0558029413223267, -0.10691053420305252, 0.3880749046802521, 0.24078962206840515, 0.5518254041671753, 0.6242640614509583, 0.17835110425949097, 0.03468751162290573, -0.20871712267398834, 0.5108525156974792, -0.3910664916038513, -0.34825044870376587, -0.10573571175336838, -0.06250564008951187, 0.35999733209609985, -0.12905900180339813 ]
http://arxiv.org/abs/2402.18048v1
http://arxiv.org/pdf/2402.18048v1
Characterizing Truthfulness in Large Language Model Generations with Local Intrinsic Dimension
2024-02-28T04:56:21
2024-02-28T04:56:21
Fan Yin, Jayanth Srinivasa, Kai-Wei Chang
cs.CL
cs.CL
We study how to characterize and predict the truthfulness of texts generated from large language models (LLMs), which serves as a crucial step in building trust between humans and LLMs. Although several approaches based on entropy or verbalized uncertainty have been proposed to calibrate model predictions, these methods are often intractable, sensitive to hyperparameters, and less reliable when applied in generative tasks with LLMs. In this paper, we suggest investigating internal activations and quantifying LLM's truthfulness using the local intrinsic dimension (LID) of model activations. Through experiments on four question answering (QA) datasets, we demonstrate the effectiveness ohttps://info.arxiv.org/help/prep#abstractsf our proposed method. Additionally, we study intrinsic dimensions in LLMs and their relations with model layers, autoregressive language modeling, and the training of LLMs, revealing that intrinsic dimensions can be a powerful approach to understanding LLMs.
[ -0.11781258881092072, -0.8588173985481262, 0.933786153793335, -0.046138931065797806, -0.083875872194767, 0.13025158643722534, -0.29764723777770996, -0.6483503580093384, -0.1984764039516449, 0.30540940165519714, -0.27458906173706055, -0.39276957511901855, -0.40682855248451233, 0.0853792279958725, -0.21101975440979004, 0.6128120422363281, -0.15943023562431335, 0.135872021317482, -0.752506673336029, -0.25557389855384827, -0.03125393018126488, -0.8110439777374268, -0.49096471071243286, -0.5796234011650085, 0.4053993821144104, 0.19931404292583466, 0.5413758158683777, 0.5803148150444031, 0.5431305170059204, 0.27298882603645325, -0.30085909366607666, 0.04528168961405754, -0.3590978980064392, 0.3279111385345459, -0.07118148356676102, -0.7587219476699829, -0.31342613697052, 0.18918845057487488, 1.0410335063934326, 0.680305004119873, -0.011668577790260315, 0.5010176301002502, 0.16894344985485077, 0.4434335231781006, -0.4631196856498718, 0.31259408593177795, -0.8888433575630188, -0.009241361171007156, 0.06818055361509323, -0.1440206915140152, -0.3304016590118408, -0.6758854389190674, 0.22716526687145233, -0.28996631503105164, 0.2289225310087204, -0.033749960362911224, 0.8008326292037964, 0.29300785064697266, -0.6396698355674744, -0.2703976035118103, -1.0047035217285156, 0.9495431184768677, -1.059382677078247, 0.31823623180389404, 0.6152308583259583, 0.02520243637263775, 0.21788421273231506, -0.48947346210479736, -0.746118426322937, -0.5283928513526917, -0.04495205730199814, -0.1212102547287941, 0.050065990537405014, -0.09721289575099945, 0.2892467677593231, 0.7720004916191101, -0.5201441645622253, 0.3007969260215759, 0.10226244479417801, -0.25174129009246826, 0.36986905336380005, 0.2088128626346588, 0.0967608317732811, -0.09865108132362366, -0.46094563603401184, -0.004120748955756426, -0.8431636691093445, 0.27238646149635315, 0.5871964693069458, 0.06006608530879021, -0.12751267850399017, 0.6237584948539734, -0.28506457805633545, 0.38558998703956604, 0.15206731855869293, -0.4977883994579315, 0.34828314185142517, -0.41285115480422974, -0.04311225935816765, -0.02471708506345749, 0.618977963924408, 0.0010187550215050578, -0.06382717192173004, -0.21155032515525818, -0.23290309309959412, -0.12680122256278992, 0.12592007219791412, -1.0447028875350952, 0.4147387742996216, 0.34038302302360535, -0.4682179391384125, -0.51789391040802, -0.04928429052233696, -0.13058693706989288, -0.3725832998752594, -0.46474671363830566, 0.5288294553756714, -0.629572868347168, -0.4008398652076721, -0.0024025931488722563, 0.18684376776218414, 0.4817119538784027, 0.10691379755735397, -0.6160922050476074, 0.05526464059948921, 0.648879885673523, 0.6027240753173828, 0.03146299347281456, -0.3531719446182251, -0.3894343972206116, 0.053936950862407684, -0.4328223168849945, 0.4965912401676178, -0.5379748344421387, -0.03161194920539856, 0.032333869487047195, -0.37100037932395935, 0.027602901682257652, -0.7014480233192444, 0.7990292906761169, -0.6612539887428284, 0.13509172201156616, -0.5407678484916687, -0.7572060227394104, -0.27816125750541687, 0.5396068096160889, -0.35711780190467834, 1.0654230117797852, 0.028814466670155525, -0.8714054822921753, 0.2735218405723572, -0.4192778766155243, -0.148807093501091, 0.1337772011756897, -0.16572199761867523, -0.32711243629455566, 0.5791143774986267, 0.03379158303141594, 0.5360650420188904, -0.33094659447669983, 0.47221335768699646, -0.39801979064941406, 0.021694360300898552, 0.761660635471344, -0.8568887710571289, 0.7094161510467529, 0.011282337829470634, -0.20439930260181427, -0.045882225036621094, -0.7521181702613831, 0.22443148493766785, 0.114977166056633, -0.27329596877098083, -0.3149043023586273, -0.029714301228523254, -0.5505420565605164, 0.18494266271591187, 0.6327279806137085, -0.8179256319999695, -0.012692381627857685, -0.5216719508171082, 0.34044405817985535, 0.7658525109291077, 0.2916001081466675, 0.26981133222579956, -0.20781248807907104, 0.4517391324043274, 0.2249133586883545, 0.1639549434185028, -0.03352523595094681, -0.33824726939201355, -0.7472835183143616, -0.12183212488889694, 0.3471217751502991, 0.21487577259540558, -0.7812245488166809, 0.8009930849075317, -0.551099956035614, -0.560746431350708, -0.354352742433548, 0.14890708029270172, 0.3364220857620239, 0.7156851291656494, 0.05535797029733658, -0.30886340141296387, 0.08743208646774292, -1.1406261920928955, -0.12646183371543884, -0.6732072234153748, -0.2768598198890686, 0.3274369537830353, 0.633338451385498, -0.08833343535661697, 1.151593565940857, -0.24528267979621887, 0.07592551410198212, 0.10371590405702591, 0.612194299697876, 0.08647497743368149, 0.28131046891212463, 0.4216688573360443, -0.6867784857749939, -0.4721374213695526, -0.05159694701433182, -0.9750377535820007, -0.07527614384889603, -0.09560205787420273, 0.21510033309459686, 0.13325777649879456, 0.11357678472995758, -0.547417402267456, 0.3386736214160919, 0.6849176287651062, -0.1858021765947342, 0.7074857950210571, -0.23406048119068146, 0.10066806524991989, -0.8365429043769836, 0.025451770052313805, 0.04123139753937721, -0.17452925443649292, -0.5896680951118469, 0.2330397367477417, 0.09756100922822952, 0.22459577023983002, -0.30798646807670593, 0.5335134863853455, -0.6051754355430603, -0.20407597720623016, -0.20831765234470367, -0.038195475935935974, 0.05369187146425247, 0.43728703260421753, 0.09802359342575073, 0.8434473276138306, 0.6782011985778809, -0.5053988695144653, 0.5371096134185791, 0.04172982648015022, -0.6545265913009644, 0.7660510540008545, -0.799642026424408, 0.3588177561759949, -0.21580305695533752, 0.11144060641527176, -0.7392852306365967, -0.12916803359985352, -0.23216314613819122, -0.7580336332321167, 0.24722586572170258, -0.009185811504721642, -0.9381783604621887, -0.10836444050073624, -0.3467912971973419, 0.4935680329799652, 0.4008050858974457, -0.5206992030143738, 0.7955086827278137, 0.22193877398967743, -0.1906624734401703, -0.26235726475715637, -0.6391514539718628, 0.09519010037183762, -0.3013763427734375, -0.8199207186698914, 0.08208316564559937, -0.2790532410144806, -0.4944702386856079, -0.15230770409107208, -0.126592218875885, -0.042756062000989914, 0.12781064212322235, 0.3607984185218811, 0.12053632736206055, -0.37877610325813293, 0.2077026218175888, -0.1089242547750473, 0.03949804604053497, 0.3665216267108917, -0.220160111784935, 0.5068183541297913, -0.6364190578460693, -0.38931646943092346, -0.4735228717327118, 0.06564745306968689, 0.6443661451339722, -0.41560661792755127, 1.2051469087600708, 0.6413551568984985, -0.3926701247692108, -0.05441903695464134, -0.7391953468322754, -0.394203245639801, -0.5048010945320129, 0.17909197509288788, -0.3634839951992035, -0.9271705746650696, 0.8284815549850464, 0.1233021691441536, -0.17455843091011047, 0.3376244306564331, 0.8123002648353577, -0.03801647201180458, 1.001020908355713, 0.5234821438789368, -0.012569520622491837, 0.16632221639156342, -0.0936216413974762, 0.3346233367919922, -1.122503399848938, -0.1702992171049118, -0.6570350527763367, -0.11837353557348251, -0.4826829731464386, -0.5468150973320007, 0.7559351921081543, 0.21660034358501434, -0.37708333134651184, -0.21093904972076416, -0.09012424945831299, 0.37892115116119385, 0.7053597569465637, 0.16860489547252655, 0.4282570779323578, -0.002804386429488659, -0.13504265248775482, -0.14150969684123993, -0.3690037727355957, -0.7440832257270813, 0.9831734895706177, 0.8367300033569336, 0.7715429663658142, 0.1063513457775116, 0.43312153220176697, -0.1612158864736557, 0.303531289100647, -0.8018917441368103, 0.5308780670166016, 0.27185124158859253, -0.7544689774513245, -0.5003775954246521, -0.8269903063774109, -0.5823812484741211, -0.056531354784965515, -0.1414797604084015, -0.8902435898780823, 0.212751105427742, 0.010319738648831844, -0.2902737557888031, 0.5235345363616943, -0.6021614074707031, 0.5086091756820679, -0.3494839072227478, -0.2881847620010376, -0.17351780831813812, -0.6719485521316528, 0.3483503460884094, -0.15238121151924133, -0.09728007763624191, -0.16823086142539978, -0.08536721765995026, 0.5415369272232056, -0.11324416100978851, 1.057579755783081, 0.09838566184043884, -0.6320520043373108, 0.31284797191619873, 0.24751485884189606, 0.6988201141357422, 0.09966069459915161, -0.3597091734409332, 0.45301491022109985, -0.11593196541070938, -0.2644199728965759, -0.6440309286117554, 0.8705406785011292, -0.8944186568260193, -0.49416765570640564, -0.3954203128814697, -0.6752597093582153, -0.6718043684959412, 0.07491271942853928, 0.265389621257782, 0.5205691456794739, -0.15800079703330994, 0.6931893229484558, 1.0644192695617676, -0.27127382159233093, 0.29501429200172424, 0.6365551352500916, -0.06372226774692535, -0.056288257241249084, 0.9015822410583496, 0.21137042343616486, 0.5816642642021179, 0.720268726348877, 0.49007683992385864, -0.5293222069740295, -0.5901942849159241, 0.028870923444628716, 0.2683377265930176, -0.6808184385299683, -0.22680287063121796, -0.4691575765609741, -0.46801841259002686, -0.42684677243232727, 0.21444617211818695, -0.3665052354335785, -0.2976817488670349, -0.30125147104263306, -0.4187520444393158, 0.1362653225660324, 0.5622171759605408, -0.08298172801733017, 0.0003582686767913401, -0.9009199142456055, 0.3171059489250183, 0.6646179556846619, 0.3872818648815155, 0.09357665479183197, -0.8832983374595642, -0.3064914345741272, 0.3487250804901123, -0.2317933887243271, -0.6654441356658936, 0.22300775349140167, 0.13115550577640533, 0.6945701241493225, 0.651276171207428, 0.2920856475830078, 0.05023779720067978, -0.1634911298751831, 0.9894396662712097, -0.023153753951191902, -1.1184909343719482, 0.3905549645423889, -0.39405903220176697, 0.28832778334617615, 0.4528180956840515, 0.43619999289512634, -0.36423105001449585, -0.6773947477340698, -0.7070319652557373, -0.4542643427848816, 0.264844685792923, 0.29228323698043823, 0.42835018038749695, 0.27396059036254883, 0.5969420075416565, 0.20943649113178253, 0.4005127251148224, -0.9138807654380798, -0.35379353165626526, 0.03378301113843918, -0.14168056845664978, 0.011542361229658127, -0.6391143202781677, -0.06698683649301529, -0.10153879970312119, 0.7242640256881714, -0.359605997800827, 0.2165990173816681, 0.131846621632576, 0.08510356396436691, -0.3256186544895172, 0.3395608365535736, 0.3820793628692627, 0.9216732978820801, -0.32679545879364014, 0.48244863748550415, 0.16495107114315033, -0.39007335901260376, 0.1742846518754959, -0.38623282313346863, -0.34780171513557434, -0.2639424800872803, 0.5894556045532227, 0.8734849095344543, -0.40244725346565247, -0.37567442655563354, 0.5023861527442932, -0.037934817373752594, -0.026477470993995667, -0.27613455057144165, 0.03691381216049194, -0.05044803395867348, 0.09471480548381805, 0.3332003355026245, -0.06634959578514099, -0.14890986680984497, -0.808728039264679, -0.16477257013320923, 0.5733276009559631, -0.4853571951389313, -0.6039512753486633, 0.3720293343067169, 0.16561703383922577, -0.007371637038886547, 0.6683551073074341, -0.3088047206401825, -0.7560121417045593, 0.40993717312812805, 0.31444427371025085, 1.0735846757888794, -0.2855553925037384, 0.3503274917602539, 0.38994351029396057, 0.6217741370201111, 0.19385790824890137, -0.013280792161822319, 0.06179365515708923, -1.25612211227417, -0.622745156288147, -0.7477204203605652, -0.4774247109889984, 0.3429252803325653, -0.8611854910850525, -0.4275093376636505, -0.20496298372745514, -0.0964721143245697, -0.34641674160957336, 0.19211335480213165, -0.5237502455711365, 0.31275638937950134, 0.27454227209091187, 0.6453748941421509, -0.7949246168136597, 0.9871475696563721, 0.46973326802253723, -0.24552936851978302, -0.7335493564605713, 0.407748818397522, 0.013695879839360714, -0.972272515296936, 0.8763402104377747, 0.018233733251690865, -0.23204880952835083, -0.15906481444835663, -0.8664121031761169, -0.8025278449058533, 1.0208673477172852, 0.4922284185886383, -0.26650726795196533, -0.011368156410753727, 0.4561730921268463, 0.7990904450416565, -0.2510780692100525, 0.11164824664592743, 0.42406165599823, 0.4687485992908478, 0.14139309525489807, -0.8573533892631531, 0.03132513538002968, 0.012241923250257969, 0.2147400826215744, -0.10264607518911362, -0.5951534509658813, 0.7688190340995789, -0.18771079182624817, -0.2410976141691208, 0.14826932549476624, 0.9639765620231628, 0.1518077701330185, -0.0828123539686203, 0.49223822355270386, 0.7312867641448975, 0.9199087619781494, -0.03774959594011307, 1.1470102071762085, -0.4798057973384857, 0.5014623403549194, 1.1060386896133423, -0.4017893671989441, 0.9081580638885498, 0.3914634883403778, -0.07661779969930649, 0.3982650339603424, 0.3079412877559662, 0.2248414307832718, 0.16341230273246765, 0.16047120094299316, -0.5153526663780212, -0.42698800563812256, -0.39823460578918457, -0.24685688316822052, 0.3519628643989563, 0.31089648604393005, -0.15672001242637634, 0.03198004886507988, 0.024662723764777184, -0.12581178545951843, -0.03636637702584267, -0.20835945010185242, 0.7397412061691284, 0.06839784979820251, -0.341389924287796, 0.4246982932090759, 0.04404141753911972, 0.5895137786865234, -0.6299161314964294, 0.14331530034542084, -0.34268108010292053, 0.048862703144550323, 0.10102523118257523, -1.1130143404006958, 0.06294866651296616, -0.024072295054793358, -0.2929590940475464, -0.2014022022485733, 0.5451884269714355, -0.34359198808670044, -0.5892868638038635, 0.016969168558716774, 0.485542893409729, -0.12661686539649963, -0.4263013005256653, -0.44303494691848755, 0.027490602806210518, -0.034573495388031006, -0.31939733028411865, 0.33347707986831665, 0.8307830691337585, 0.33203399181365967, 0.9851436018943787, 0.5976735949516296, 0.2586306631565094, 0.10754834860563278, -0.16659872233867645, 0.5067449808120728, -0.4986075460910797, -0.20081274211406708, -0.622612476348877, 0.2722513973712921, 0.02417117729783058, -0.3719910979270935, 1.0249807834625244, 0.5354686975479126, 0.8117514848709106, 0.14799998700618744, 0.5922669768333435, 0.19805483520030975, 0.6904213428497314, -0.7321373224258423, 0.45149630308151245, -0.4126649796962738, 0.4308781623840332, 0.1899898201227188, -1.0281682014465332, 0.08196433633565903, 0.4519617557525635, -0.4694115221500397, 0.03879879042506218, 0.7633575797080994, 0.8074641823768616, 0.22338543832302094, -0.047126393765211105, 0.5065406560897827, 0.7669293284416199, 0.30715838074684143, 0.28077876567840576, 1.213738203048706, -0.1859784871339798, 0.11804497987031937, -0.47697702050209045, -0.2546468675136566, -0.03684910014271736, -0.9632221460342407, -0.7913157343864441, -0.7129086256027222, -0.4861881136894226, -0.37199485301971436, -0.609255850315094, 0.6235013008117676, 0.6381996870040894, -0.6142764091491699, -0.04593160003423691, 0.14039616286754608, 0.14621737599372864, -0.07970055937767029, -0.2871791124343872, 0.2813401222229004, -0.3123006224632263, -0.621669352054596, 0.24515503644943237, 0.2776460349559784, 0.19146117568016052, -0.7237629890441895, 0.04586980119347572, 0.16846300661563873, 0.37528830766677856, 0.6595848202705383, 0.0020260687451809645, -0.6749297976493835, -0.5627071261405945, -0.019459325820207596, -0.38350602984428406, 0.19666966795921326, 0.7628092169761658, -0.5792928338050842, 0.2603408992290497, 0.6652518510818481, 0.36981287598609924, 0.3489345610141754, 0.12367671728134155, 0.5743445754051208, -1.0051817893981934, -0.1914290487766266, 0.47592103481292725, 0.306917667388916, 0.4541568458080292, -0.3755395710468292, 0.30792036652565, -0.004565199371427298, -0.7076630592346191, -0.9281685948371887, 0.2889137864112854, -0.8229007124900818, -0.14329840242862701, 1.3215347528457642, -0.18262499570846558, -0.09744392335414886, 0.05329664424061775, 0.18942207098007202, -0.20143036544322968, -0.18568646907806396, 0.7720551490783691, 0.9268420934677124, 0.024113759398460388, -0.060569800436496735, -0.44599494338035583, 0.30271217226982117, 0.20212411880493164, -0.9498457312583923, 0.2718144655227661, 0.5020480751991272, 0.16061070561408997, 0.5090446472167969, 0.2911486327648163, -0.15312722325325012, -0.2506629526615143, 0.01740887016057968, 0.025819972157478333, 0.07020509243011475, -0.2649116516113281, -0.31177496910095215, 0.1557203233242035, 0.44422048330307007, 0.14081579446792603 ]
http://arxiv.org/abs/2402.18045v2
http://arxiv.org/pdf/2402.18045v2
Multi-FAct: Assessing Multilingual LLMs' Multi-Regional Knowledge using FActScore
2024-02-28T04:43:46
2024-03-01T12:35:55
Sheikh Shafayat, Eunsu Kim, Juhyun Oh, Alice Oh
cs.CL
cs.CL
Large Language Models (LLMs) are prone to factuality hallucination, generating text that contradicts established knowledge. While extensive research has addressed this in English, little is known about multilingual LLMs. This paper systematically evaluates multilingual LLMs' factual accuracy across languages and geographic regions. We introduce a novel pipeline for multilingual factuality evaluation, adapting FActScore(Min et al., 2023) for diverse languages. Our analysis across nine languages reveals that English consistently outperforms others in factual accuracy and quantity of generated facts. Furthermore, multilingual models demonstrate a bias towards factual information from Western continents. These findings highlight the need for improved multilingual factuality assessment and underscore geographical biases in LLMs' fact generation.
[ -0.28385862708091736, -0.6870519518852234, 0.8194876909255981, 0.25841671228408813, -0.07509532570838928, 0.2160084992647171, -0.5208444595336914, -0.4667727053165436, 0.21843288838863373, 0.38363879919052124, -0.4698983430862427, -0.7885227799415588, -0.7625988125801086, 0.3124086260795593, -0.10807572305202484, 0.9185892343521118, 0.174503892660141, 0.19517569243907928, -0.43621861934661865, -0.6937905550003052, -0.29439905285835266, -0.8391202688217163, -0.05194738507270813, -0.2744133770465851, 0.4949409067630768, 0.6052249073982239, 0.6392147541046143, 0.3492809534072876, 0.6004201173782349, 0.37371113896369934, 0.05121731385588646, 0.7071415781974792, -0.41704273223876953, 0.04134059324860573, -0.2239840179681778, -0.6770234704017639, -0.37882956862449646, -0.011977318674325943, 0.6972619295120239, 0.6291150450706482, -0.1933271288871765, 0.3469316363334656, -0.15563297271728516, 0.500213623046875, -0.5593807101249695, 0.23256824910640717, -0.824440598487854, 0.00004328368595452048, -0.20263226330280304, -0.22151091694831848, -0.45762011408805847, -0.69813072681427, 0.19501280784606934, -0.21258802711963654, 0.6172289252281189, 0.21943724155426025, 0.6520667672157288, 0.23840154707431793, -0.9197756052017212, -0.6087909936904907, -0.6902467012405396, 0.795232355594635, -0.5384543538093567, 0.753887414932251, 0.05857785791158676, 0.20700538158416748, 0.10907518118619919, -0.48780784010887146, -0.48933520913124084, -0.24506273865699768, -0.24551372230052948, 0.18249033391475677, 0.03562935069203377, -0.38573163747787476, 0.23327504098415375, 0.20938096940517426, -0.5349504947662354, 0.0060839164070785046, -0.4376208782196045, -0.4539029896259308, 0.6920116543769836, 0.055642273277044296, 0.2825259268283844, -0.3395536243915558, -0.576489269733429, 0.3047950267791748, -0.90642249584198, -0.03722907602787018, 0.39850401878356934, 0.5968843698501587, -0.35985425114631653, 0.6638144850730896, 0.01510907057672739, 0.4204489588737488, -0.30570322275161743, -0.8964169025421143, 0.33906590938568115, -0.6256216168403625, 0.10876234620809555, 0.29451191425323486, 0.610869288444519, 0.5950105786323547, -0.02473314106464386, -0.16094788908958435, 0.09557594358921051, 0.05214885622262955, -0.1851729303598404, -0.5923077464103699, -0.08570341765880585, 0.2708548903465271, -0.05201534181833267, 0.22579452395439148, -0.017550254240632057, -0.7857517600059509, -0.49351540207862854, -0.30053412914276123, -0.007134355138987303, -0.3972567021846771, -0.22340127825737, 0.11758396029472351, -0.04046749323606491, 0.018273046240210533, 0.37125203013420105, -0.3991408944129944, -0.019890611991286278, 0.4966904819011688, 0.8155961036682129, -0.19222435355186462, -0.8101451992988586, -0.3700065314769745, 0.0198797769844532, -0.3193477690219879, 1.268020749092102, -0.3113066256046295, -0.01603829115629196, 0.04965395852923393, 0.128202423453331, -0.08837389945983887, -0.4252627193927765, 0.6683092713356018, -0.4700506925582886, 0.344756543636322, -0.7847867608070374, -0.24567994475364685, -0.5825982689857483, 0.6157307624816895, -0.6911577582359314, 1.0466893911361694, -0.31949475407600403, -0.7455561757087708, 0.7422034740447998, -0.4292827546596527, -0.5087607502937317, -0.20371246337890625, -0.0905468761920929, -0.19134145975112915, 0.06401478499174118, 0.264271080493927, 0.2647058367729187, -0.4140698313713074, 0.6784505248069763, -0.24974295496940613, -0.049044106155633926, 0.3568246066570282, -0.7280504703521729, 0.611008882522583, 0.08256921917200089, -0.20184364914894104, -0.04470593482255936, -0.8722894191741943, -0.3134233355522156, -0.02166903018951416, -0.5145521759986877, -0.2160414755344391, 0.13411369919776917, -0.2892381548881531, 0.4035637676715851, 0.22200891375541687, -0.6963796019554138, -0.06925297528505325, -0.018215220421552658, 0.030625130981206894, 0.4104093611240387, -0.015626192092895508, 0.10436967015266418, -0.4088442921638489, 0.2241763174533844, 0.19176840782165527, -0.1056285947561264, 0.029048383235931396, -0.5376113653182983, -0.6695829033851624, -0.457241028547287, 0.2566104829311371, 0.7190020084381104, -0.734435498714447, 0.18636088073253632, -0.5051025152206421, -0.6154924631118774, -0.39257168769836426, 0.12829312682151794, 0.09712675958871841, 0.49454909563064575, 0.15688148140907288, -0.14805833995342255, -0.5818494558334351, -0.8591377139091492, -0.3812360465526581, -0.15274953842163086, 0.43453481793403625, 0.17956118285655975, 0.5124834179878235, -0.15733778476715088, 0.6667865514755249, -0.35478636622428894, -0.011176802217960358, -0.18828801810741425, 0.09305618703365326, 0.10583342611789703, -0.06816425919532776, 0.6591241955757141, -0.6476448774337769, -0.23699022829532623, -0.0937005877494812, -0.9305092692375183, 0.19665610790252686, -0.0460672527551651, 0.0993315801024437, 0.4508597254753113, 0.010746828280389309, -0.6838885545730591, 0.052500270307064056, 0.8042086362838745, -0.3498212695121765, 0.7209841012954712, -0.2962234914302826, 0.6498070955276489, -0.8389702439308167, -0.11225669085979462, 0.06192992627620697, -0.2668286859989166, -0.3689117431640625, 0.16267168521881104, 0.11195795983076096, 0.04572780057787895, -0.6543256044387817, 0.34856295585632324, -0.6191069483757019, -0.2921302616596222, 0.12357807159423828, 0.5080536007881165, 0.0843367725610733, 0.1491255909204483, -0.037628497928380966, 0.7703274488449097, 0.3765951991081238, -0.6970929503440857, 0.7122533321380615, 0.12854835391044617, -0.7634249329566956, 0.5431802868843079, -0.14027804136276245, -0.07026004046201706, -0.292265385389328, 0.11295560747385025, -0.9781237840652466, -0.15293878316879272, -0.3330223262310028, -0.2609177827835083, 0.037074360996484756, -0.16946859657764435, -0.4857267737388611, -0.2878701984882355, -0.3365701735019684, 0.2248150110244751, 0.15616701543331146, -0.6882554292678833, 0.5902846455574036, 0.5314977169036865, -0.30946943163871765, -0.849692165851593, -0.7473457455635071, 0.3090091347694397, -0.2894018888473511, -0.8480713367462158, -0.22968311607837677, -0.2039719969034195, -0.5611516833305359, 0.01553039625287056, 0.049080368131399155, -0.10292820632457733, 0.11725394427776337, -0.17667992413043976, 0.16044199466705322, -0.3738197088241577, 0.07645463198423386, -0.11902650445699692, 0.20249424874782562, 0.27068811655044556, -0.08234242349863052, 0.34762758016586304, -0.0804624855518341, -0.6086177825927734, -0.00009184070950141177, 0.23324614763259888, 0.7351431846618652, -0.23125232756137848, 0.82878577709198, 0.5651025772094727, -0.396269291639328, -0.23431073129177094, -0.7885264754295349, -0.05614960193634033, -0.3400057852268219, 0.6418006420135498, -0.44126686453819275, -0.7697350978851318, 0.7142501473426819, -0.13654856383800507, 0.23709851503372192, 0.6175690293312073, 0.786846399307251, 0.16979803144931793, 0.6023843288421631, 0.39790549874305725, 0.16190502047538757, -0.3517394959926605, -0.009876525960862637, 0.5069955587387085, -0.31759244203567505, -0.5026993155479431, -0.5846123099327087, -0.018049290403723717, -0.787706196308136, -0.6018118858337402, 0.6194939017295837, -0.28181731700897217, 0.011886406689882278, -0.07276833057403564, 0.23368528485298157, 0.5242337584495544, 0.37448176741600037, -0.0029696919955313206, 0.5350269079208374, 0.23962520062923431, -0.35511088371276855, -0.3204054832458496, -0.9926085472106934, -0.6555068492889404, 1.1446058750152588, 0.3125753700733185, 0.5505144000053406, 0.6231722235679626, 0.25627636909484863, 0.4026431441307068, 0.4607381820678711, -0.7966549396514893, 0.21332807838916779, -0.3078613877296448, -0.8804556131362915, -0.12209250777959824, -0.3931563198566437, -0.39065641164779663, 0.41035500168800354, -0.4552369713783264, -0.3589981496334076, -0.04788810759782791, 0.020996809005737305, -0.4880100190639496, 0.6228222250938416, -0.7016277313232422, 0.348300576210022, -0.4981634020805359, -0.3431920111179352, -0.20396173000335693, -0.3887622356414795, 0.8447032570838928, -0.20934051275253296, 0.9543297290802002, -0.3756738603115082, 0.05649588629603386, 0.4550603926181793, -0.02582976222038269, 0.9104886651039124, -0.012760528363287449, -0.47857263684272766, 0.3656172454357147, 0.17961038649082184, 0.2816731333732605, 0.3310370147228241, -0.26690393686294556, 0.538261353969574, -0.054988469928503036, -0.4702492654323578, -0.5518354177474976, 0.8277083039283752, -0.8238738179206848, -0.6299403309822083, -0.6965708136558533, -0.7214023470878601, -0.35743775963783264, 0.0478871650993824, 0.20427928864955902, 0.8350144028663635, -0.4365094304084778, -0.1260761022567749, 0.6360033750534058, -0.3278433382511139, 0.2705989181995392, 0.839862585067749, -0.14499959349632263, -0.39784669876098633, 0.9486772418022156, 0.4058218002319336, 0.1348520964384079, 0.290956050157547, 0.24517251551151276, -0.7033815979957581, -0.5205098986625671, -0.5785557627677917, 0.38610517978668213, -1.0563981533050537, -0.10886625200510025, -0.6428171992301941, -0.07094576954841614, -0.5096318125724792, 0.144586443901062, -0.5155037045478821, -0.3643724322319031, 0.3734789192676544, -0.3700198531150818, 0.20426872372627258, 1.0665332078933716, -0.3507559299468994, -0.053095728158950806, -1.0573081970214844, 0.23723851144313812, 0.3584640920162201, 0.12260071933269501, -0.2686731815338135, -0.66105717420578, -0.2858985960483551, 0.06849963217973709, -0.05614547058939934, -0.7192389965057373, 0.13820597529411316, 0.22241972386837006, 0.6983820796012878, 0.2377166897058487, 0.0626821219921112, 0.5263773202896118, -0.7383339405059814, 1.04335618019104, 0.16221880912780762, -0.7218688130378723, 0.10362783819437027, 0.07788258045911789, 0.1482778787612915, 0.31651169061660767, 0.7057201266288757, -0.6400788426399231, -0.31259506940841675, -0.4559006094932556, -0.5273665189743042, 0.36511853337287903, -0.2888299226760864, 0.10468793660402298, -0.021218787878751755, 0.1269751787185669, 0.46804988384246826, 0.2582610249519348, -0.7368156313896179, -0.5324089527130127, 0.025245722383260727, -0.0679394081234932, -0.3927248418331146, -0.6614304184913635, -0.5279406309127808, -0.0944230929017067, 0.6559322476387024, -0.3065401613712311, 0.15969961881637573, 0.36599379777908325, -0.4198337197303772, 0.038119830191135406, 0.5293432474136353, 0.987860918045044, 1.2350895404815674, -0.19517816603183746, 0.628021240234375, 0.6618842482566833, -0.4049950838088989, 0.24962517619132996, -0.07321690768003464, -0.1971459835767746, 0.2856464982032776, 0.8481056094169617, 0.7361839413642883, 0.26035845279693604, -0.4556065797805786, 0.40910547971725464, -0.2816595435142517, -0.1764460951089859, -0.18128271400928497, -0.2721821069717407, 0.22092671692371368, 0.12766434252262115, 0.2771117091178894, 0.38786324858665466, -0.0017248318763449788, -0.7524744868278503, 0.25819551944732666, 0.28127384185791016, -0.1796192228794098, -0.556028425693512, 0.2869235575199127, 0.4085146486759186, 0.20762231945991516, 0.32066813111305237, -0.3737436830997467, -0.9461797475814819, 0.41662833094596863, 0.6190164685249329, 0.42554405331611633, -0.15966728329658508, 0.21248537302017212, 0.6096967458724976, 0.8077320456504822, 0.12192773073911667, 0.552370548248291, 0.42384740710258484, -1.0831514596939087, -0.7622999548912048, -0.47528016567230225, -0.4045555889606476, -0.023385440930724144, -0.3101893365383148, 0.29946017265319824, -0.22978998720645905, -0.09285283088684082, -0.22508707642555237, 0.14061430096626282, -0.8175422549247742, 0.3088892698287964, 0.27789008617401123, 0.8961718082427979, -1.1611915826797485, 0.5543506741523743, 0.8991451263427734, 0.08485706895589828, -0.5976085662841797, -0.0495610274374485, 0.4022855758666992, -0.9429295659065247, 0.5681352019309998, -0.036211684346199036, -0.39827167987823486, -0.3665367364883423, -0.3980063199996948, -1.0120097398757935, 0.9176506400108337, 0.5658621788024902, -0.5019760727882385, 0.31294354796409607, 0.32188984751701355, 0.24295084178447723, -0.3767947554588318, 0.4162904620170593, 0.7361968159675598, 0.5569670796394348, -0.07287278771400452, -0.8535357713699341, -0.08931130170822144, 0.20030634105205536, -0.44660213589668274, -0.11423712223768234, -0.9708834290504456, 0.7640592455863953, -0.5554194450378418, -0.28301045298576355, -0.46532291173934937, 0.6770807504653931, 0.4785037636756897, 0.30844026803970337, 0.46317213773727417, 0.5410441756248474, 1.3320934772491455, -0.2423800826072693, 1.0580737590789795, -0.6319929957389832, 0.4074065685272217, 1.1294660568237305, -0.6022717952728271, 0.4976223409175873, 0.15869620442390442, -0.35683196783065796, 0.6772810816764832, 0.5229477882385254, 0.21773216128349304, 0.28121837973594666, -0.21596287190914154, -0.34939929842948914, -0.3044378459453583, -0.34182223677635193, -0.22447502613067627, 0.7942733764648438, 0.2630363702774048, 0.2620540261268616, -0.4160724878311157, -0.25997990369796753, 0.39341795444488525, 0.2166033536195755, -0.13405992090702057, 0.47037890553474426, -0.09568160772323608, -0.7114185690879822, 0.42445656657218933, 0.23599207401275635, 0.681647002696991, -0.540193498134613, 0.11811961233615875, -0.4349510967731476, -0.01650146394968033, -0.3549194037914276, -0.8077337145805359, 0.3834170997142792, 0.28532344102859497, -0.3902849853038788, 0.3070482611656189, 0.4986307919025421, -0.6130090951919556, -0.7486742734909058, 0.2962251901626587, 0.9087282419204712, 0.15750792622566223, 0.17333658039569855, -0.5817043781280518, 0.03496094048023224, 0.14786872267723083, 0.07628641277551651, 0.01078119222074747, 0.8093337416648865, 0.09910691529512405, 0.5997501015663147, 0.6237886548042297, 0.36513644456863403, 0.3545375466346741, 0.2034330666065216, 0.36657676100730896, -0.6256958842277527, -0.23392707109451294, -0.9424453973770142, 0.4327865242958069, -0.020601315423846245, -0.3507472574710846, 1.2190004587173462, 0.7397801876068115, 0.8705618977546692, -0.021359017118811607, 0.9839308857917786, -0.012356972321867943, 0.5631128549575806, -0.808452844619751, 0.6093248724937439, -0.40853196382522583, 0.1326921284198761, 0.09119176119565964, -0.8669866323471069, -0.24448511004447937, 0.07724904268980026, -0.34621965885162354, -0.15067501366138458, 1.1609272956848145, 0.6601142883300781, -0.14208447933197021, 0.14587056636810303, 0.45564574003219604, 0.4059561491012573, 0.1090833991765976, 0.19489091634750366, 1.0703914165496826, -0.3795860707759857, 0.24328739941120148, -0.4530971944332123, -0.185900017619133, 0.21457931399345398, -1.1747193336486816, -0.7941681146621704, -0.42285028100013733, -0.4011407196521759, -0.2862308919429779, -0.19265082478523254, 0.9242477416992188, 0.7442910671234131, -0.9659752249717712, -0.4146765470504761, 0.7499004602432251, 0.520721971988678, 0.11842625588178635, -0.19342942535877228, 0.3424747884273529, -0.4278649687767029, -0.6169309020042419, 0.6432735919952393, 0.2921925187110901, -0.20601403713226318, -0.3523980975151062, -0.02984822727739811, -0.47976750135421753, 0.10016560554504395, 0.9772982001304626, -0.21139036118984222, -0.6879889369010925, -0.4949091672897339, -0.005975044332444668, -0.15144643187522888, 0.2126307338476181, 0.8755657076835632, -0.28873324394226074, 0.3139709532260895, 0.34377801418304443, 0.452406644821167, 0.038286689668893814, 0.03007306158542633, 0.3487073481082916, -0.9128754138946533, 0.31146863102912903, -0.13283486664295197, 0.6442172527313232, 0.8559836745262146, -0.32369211316108704, 0.33717501163482666, 0.7074735164642334, -0.48319706320762634, -0.6466299891471863, 0.14362433552742004, -0.4621681869029999, -0.2533004581928253, 1.1728700399398804, -0.27163252234458923, -0.277165949344635, -0.26314234733581543, 0.09969832748174667, 0.06220242753624916, -0.09776850789785385, 0.6581523418426514, 1.0339300632476807, 0.07678279280662537, 0.062195390462875366, -0.709053635597229, 0.40546727180480957, 0.15907858312129974, -0.7392504215240479, 0.06546288728713989, 0.7200213074684143, 0.5658103823661804, 0.38831639289855957, 0.4303542673587799, 0.0010821514297276735, 0.053289879113435745, 0.01484955195337534, 0.20138868689537048, 0.1959604024887085, -0.7636916637420654, -0.16414129734039307, 0.2354915291070938, 0.3575407862663269, 0.27020469307899475 ]
http://arxiv.org/abs/2402.18043v1
http://arxiv.org/pdf/2402.18043v1
Crisis talk: analysis of the public debate around the energy crisis and cost of living
2024-02-28T04:42:59
2024-02-28T04:42:59
Rrubaa Panchendrarajan, Geri Popova, Tony Russell-Rose
cs.CL
cs.CL
A prominent media topic in the UK in the early 2020s is the energy crisis affecting the UK and most of Europe. It brings into a single public debate issues of energy dependency and sustainability, fair distribution of economic burdens and cost of living, as well as climate change, risk, and sustainability. In this paper, we investigate the public discourse around the energy crisis and cost of living to identify how these pivotal and contradictory issues are reconciled in this debate and to identify which social actors are involved and the role they play. We analyse a document corpus retrieved from UK newspapers from January 2014 to March 2023. We apply a variety of natural language processing and data visualisation techniques to identify key topics, novel trends, critical social actors, and the role they play in the debate, along with the sentiment associated with those actors and topics. We combine automated techniques with manual discourse analysis to explore and validate the insights revealed in this study. The findings verify the utility of these techniques by providing a flexible and scalable pipeline for discourse analysis and providing critical insights for cost of living - energy crisis nexus research.
[ -0.47450798749923706, -0.4003332853317261, 0.33960846066474915, -0.1205054298043251, 0.11752676218748093, 0.4910384714603424, -0.06388555467128754, -0.28776323795318604, 0.6288811564445496, 0.46068835258483887, -0.3861510753631592, -0.08253554254770279, -0.44630488753318787, 0.06530614197254181, -0.3344714343547821, 0.47181713581085205, 0.19306375086307526, -0.061572566628456116, -0.13383625447750092, 0.00798803847283125, -0.4898100793361664, 0.018179070204496384, -0.6442047953605652, 0.20001082122325897, 0.5626720786094666, 0.514847457408905, 0.9234525561332703, 0.056476980447769165, 0.39409539103507996, 0.3995566964149475, -0.30186086893081665, -0.021727316081523895, -0.8271755576133728, 0.10257258266210556, -0.18475031852722168, -0.16483701765537262, -0.31664595007896423, 0.16795381903648376, 0.603147029876709, 0.5373556613922119, -0.030611373484134674, 0.2610972821712494, 0.2594037652015686, 0.6200643181800842, -0.6668859124183655, 0.07328374683856964, -0.9507530331611633, -0.03059183619916439, -0.13131672143936157, -0.19758613407611847, -0.05666743218898773, -0.2731894850730896, -0.14415626227855682, -0.16268639266490936, 0.2291988730430603, 0.1699191927909851, 1.0347659587860107, 0.5100930333137512, -0.43149641156196594, -0.29169830679893494, -0.833433985710144, 0.5577734112739563, -0.3135471045970917, 0.06964826583862305, -0.21205905079841614, 0.3154432475566864, -0.012671933509409428, -0.5919618010520935, -0.7672469019889832, 0.3005374073982239, -0.5381535291671753, 0.25026535987854004, -0.44864535331726074, -0.03649192303419113, -0.05547142028808594, 0.31691884994506836, -0.2274414300918579, -0.2114507555961609, -0.7269667387008667, -0.1438601016998291, 0.5829605460166931, -0.007467914372682571, 0.05519716441631317, -1.003365397453308, -0.5035390257835388, 0.03645695745944977, -0.5571591854095459, -0.14850886166095734, 0.8113410472869873, 0.32603687047958374, -0.26797738671302795, 0.12456496804952621, 0.1353788673877716, 0.015002713538706303, -0.3330872654914856, 0.022861560806632042, -0.18918952345848083, -0.21637196838855743, 0.1531093716621399, 0.5652340650558472, 0.5674605369567871, 0.927890419960022, -0.1671903282403946, 0.31722065806388855, 0.27717989683151245, -0.4576655328273773, 0.3788564205169678, -0.523642897605896, -0.03835716471076012, 0.387325644493103, -0.31070613861083984, -0.3509214222431183, -0.03193819895386696, -1.2274723052978516, -0.6248842477798462, 0.23321157693862915, 0.1266135424375534, 0.5173866152763367, -0.496736079454422, 0.2500036358833313, -0.21451953053474426, -0.0543687529861927, 0.18509352207183838, -0.20618385076522827, 0.0455508679151535, 0.4354400336742401, 0.6925514340400696, 0.45097512006759644, 0.24022276699543, -0.14786048233509064, 0.3169252276420593, -0.10264316946268082, 1.1855698823928833, -0.5768330097198486, -0.7647333145141602, 0.053612396121025085, 0.2808930575847626, 0.04210735857486725, -0.31448453664779663, 0.7751149535179138, -0.015556692145764828, 0.43063947558403015, -0.7289370894432068, -0.19741162657737732, 0.04424172639846802, -0.02657519094645977, -0.6991703510284424, 0.7065459489822388, -0.18685056269168854, -1.074061393737793, 0.17445367574691772, -1.140143632888794, -0.1535622775554657, 0.3499448597431183, -0.31975823640823364, -0.21625614166259766, -0.036212049424648285, -0.06687016040086746, 0.40989336371421814, -0.604197084903717, 0.2563456594944, -0.1335386484861374, 0.18089929223060608, 0.10019826889038086, -0.7112891674041748, 0.48707011342048645, 0.271241694688797, -0.11015832424163818, -0.13591843843460083, -0.7864225506782532, -0.4768085181713104, -0.04104393348097801, 0.11635993421077728, 0.03803638368844986, 0.5823487043380737, -0.03402248024940491, 0.28713586926460266, 0.01873648166656494, -0.5568341016769409, 0.08912355452775955, 0.022094765678048134, 0.7625929117202759, 0.39272597432136536, 0.44226622581481934, -0.036875758320093155, -0.29754701256752014, 0.5011418461799622, -0.07316239178180695, 0.21889053285121918, -0.13323350250720978, -0.435983270406723, -0.6438811421394348, 0.005959013011306524, -0.011512729339301586, 0.7012924551963806, -0.22918502986431122, -0.0607994869351387, 0.05197596922516823, -0.30430182814598083, -0.7156252861022949, -0.535475492477417, 0.061941519379615784, 0.7721259593963623, 0.23781751096248627, 0.2487766146659851, -0.5694829821586609, -0.897792398929596, -0.5844630599021912, -0.2590019702911377, -0.024041205644607544, 0.5065656304359436, 0.10703317821025848, 0.3756496012210846, 0.8274641633033752, -0.7543594837188721, 0.2237926423549652, 0.028667544946074486, 0.8740012645721436, 0.037674982100725174, 0.4382125437259674, 0.19167539477348328, -0.8897626399993896, -0.4425525665283203, -0.10014547407627106, -0.15093271434307098, -0.2584431767463684, -0.4239310622215271, -0.053375791758298874, -0.028041105717420578, 0.6515763401985168, -0.09727902710437775, 0.131218820810318, 0.24314764142036438, -0.30673831701278687, 0.4043588638305664, -0.027678189799189568, 0.5470869541168213, -1.0306267738342285, 0.31853601336479187, 0.04584365338087082, 0.08933178335428238, -0.7210807800292969, -0.43580707907676697, -0.4170001447200775, -0.6572226285934448, -0.7193219661712646, 0.32404565811157227, -0.5055856704711914, 0.10330222547054291, -0.005898479837924242, 0.1141582578420639, 0.25765740871429443, -0.10153868794441223, 0.043058913201093674, 0.6062929034233093, 0.3366348445415497, 0.14517197012901306, 0.07624927908182144, 0.21077075600624084, -0.28625866770744324, 0.45766356587409973, -0.2748798727989197, 0.2798893451690674, -0.16732768714427948, 0.3563317656517029, -1.4361813068389893, -0.3522000312805176, -0.09571480005979538, -0.19599752128124237, 0.16804499924182892, -0.21564561128616333, -0.2219143658876419, -0.62920743227005, -0.13950030505657196, -0.21984928846359253, 0.3479490578174591, 0.17604365944862366, 0.7485598921775818, 0.728325366973877, -0.5668046474456787, -0.44562163949012756, -0.12182918190956116, 0.3624996542930603, -0.42512837052345276, -0.712955117225647, 0.29363638162612915, 0.1826784908771515, -0.615057647228241, 0.0072256033308804035, -0.18315596878528595, 0.06084582582116127, 0.1295613795518875, 0.5153485536575317, 0.18091648817062378, -0.011354736052453518, 0.3005233407020569, -0.13556623458862305, -0.5283040404319763, 0.33236077427864075, 0.1819891333580017, 0.2772451937198639, -0.16670304536819458, 0.0666939839720726, -0.3442317545413971, 0.8453660011291504, 0.8555557131767273, 0.07316113263368607, 0.7049230337142944, 0.09791319817304611, -0.33557283878326416, 0.4903472661972046, -0.6107249855995178, 0.27667665481567383, -0.432908833026886, -0.034435391426086426, 0.1401786357164383, -0.6019548177719116, 0.35136762261390686, -0.47686928510665894, 0.28047463297843933, 0.6928286552429199, 0.410160094499588, -0.30930033326148987, 0.6171990633010864, 0.37650346755981445, -0.06617414206266403, 0.028594160452485085, -0.15496084094047546, 0.5705715417861938, -0.2892362177371979, -0.3418595790863037, -0.9472752213478088, -0.5902133584022522, -0.4009518027305603, -0.450300008058548, 0.6045575141906738, -0.18992310762405396, 0.006483164615929127, 0.13642044365406036, -0.5392974615097046, 0.8622875213623047, -0.2456485480070114, -0.2390064001083374, 0.12948934733867645, -0.44370144605636597, 0.4143441915512085, 0.14577768743038177, -0.32902318239212036, -0.8682270050048828, 0.12846942245960236, 0.37015971541404724, 0.4098062515258789, 0.014398550614714622, 0.3072409927845001, 0.3014145791530609, 0.27781662344932556, -0.6655471324920654, 0.6361198425292969, 0.1709318310022354, -0.7861085534095764, -0.40186312794685364, -0.3142751455307007, -1.0544495582580566, 0.18553917109966278, -0.46145251393318176, -0.6164834499359131, 0.652388870716095, -0.1685231775045395, -0.819699227809906, 0.6400029063224792, -0.5254788994789124, 0.8353334069252014, 0.025096509605646133, -0.37409189343452454, -0.560899019241333, -0.5549505949020386, 0.1568593978881836, 0.25670379400253296, 0.6503109931945801, -0.469470739364624, 0.3001682460308075, 0.815899133682251, -0.3616093099117279, 0.7161514759063721, -0.15299825370311737, -0.35831597447395325, 0.4495249092578888, -0.39784976840019226, 0.3346627950668335, -0.023489072918891907, 0.08404233306646347, -0.11020122468471527, 0.167089581489563, -0.63969486951828, -0.26072192192077637, 0.5825183987617493, -0.6418477296829224, -0.8919946551322937, -0.22393174469470978, -0.15768550336360931, -0.22601747512817383, -0.32573235034942627, 0.23226450383663177, 0.5487031936645508, -0.4591294527053833, -0.1163189709186554, 0.40299901366233826, -0.012258695438504219, 0.754078209400177, 0.4507611095905304, 0.03622829541563988, -0.4991666376590729, 0.8533046245574951, 0.5632010102272034, 0.2786826193332672, 0.37658536434173584, 0.6431822776794434, -0.059666577726602554, -0.15053772926330566, 0.22242611646652222, 0.11937710642814636, -0.5318976640701294, -0.34727776050567627, -0.715259850025177, -0.02348141558468342, -0.38225653767585754, -0.5167398452758789, -0.648719847202301, -0.07618305832147598, -0.24309314787387848, -0.3254481554031372, 0.2302093207836151, 0.5993971824645996, -0.5722846388816833, 0.03361578285694122, -0.7636811137199402, 0.047651257365942, 0.599124014377594, -0.19838711619377136, -0.1558457762002945, 0.18089407682418823, -0.31355205178260803, -0.4056159257888794, -0.7805919051170349, -1.314411997795105, 0.3736893832683563, 0.02076643332839012, 0.15018391609191895, 0.7100543975830078, 0.48718199133872986, 0.5371837615966797, -0.5104425549507141, 1.2236590385437012, 0.569957971572876, -0.8741111755371094, 0.36895519495010376, -0.2604254484176636, -0.10383149236440659, 0.6590373516082764, 0.9160431623458862, -0.632176399230957, -0.0829673781991005, -1.1042544841766357, -1.0893422365188599, 0.34148404002189636, 0.18317946791648865, 0.07794438302516937, -0.1961272805929184, -0.054212536662817, -0.03534609079360962, 0.2316228300333023, -0.053100116550922394, -0.48550498485565186, -0.2502649128437042, 0.7194843888282776, 0.1414414793252945, -0.34295687079429626, -0.5794782638549805, -0.4195766746997833, 0.37126874923706055, -0.013309908099472523, 0.15627551078796387, 0.05488709360361099, 0.5701699256896973, -0.48536741733551025, 0.6294602155685425, 0.48058030009269714, 0.3518407642841339, -0.3341296911239624, -0.005006950814276934, 0.23468248546123505, -0.33678746223449707, 0.23273755609989166, -0.08972332626581192, 0.11587591469287872, 0.311320036649704, 0.14520110189914703, 0.7600781917572021, 0.764615535736084, -0.4744228422641754, 0.31846070289611816, -0.2185981720685959, -0.6052671670913696, -0.11923462152481079, -0.15647438168525696, 0.3382830321788788, 0.41968271136283875, 0.5166218876838684, -0.006211114581674337, 0.36219993233680725, -0.9959865212440491, -0.17487119138240814, 0.11837509274482727, -0.500674843788147, -0.36651989817619324, 0.43908756971359253, 0.9873980283737183, -0.40766575932502747, 0.05917626991868019, 0.07074280083179474, -0.6072441339492798, 0.3982199728488922, 0.13059735298156738, 0.9425867199897766, -0.17325960099697113, 0.46657514572143555, 0.1712920069694519, 0.03572843596339226, 0.3649098873138428, 0.6070128679275513, 0.14730587601661682, -0.3989836871623993, -0.36562567949295044, -0.33227699995040894, -0.5993722677230835, 0.30170807242393494, -0.8186700940132141, 0.21915015578269958, -0.18284010887145996, -0.10507579892873764, 0.11388124525547028, 0.48536205291748047, -0.3454151451587677, -0.1716485470533371, 0.6257832050323486, 1.0289002656936646, -0.9819002151489258, 0.2646358907222748, 0.29500812292099, 0.06710448861122131, -0.866835355758667, 0.3157923221588135, 0.31827348470687866, -0.2391546070575714, 0.3785569369792938, 0.027918556705117226, -0.2570945918560028, -0.13924987614154816, -0.7704081535339355, -0.9091740250587463, 1.0152289867401123, 0.8332388997077942, -0.7256508469581604, 0.018694080412387848, 0.041975319385528564, 0.13428758084774017, -0.18650098145008087, 0.4002588093280792, 0.6815677881240845, 1.0462918281555176, 0.6178387403488159, -0.8752346634864807, -0.10003487765789032, -0.25561344623565674, -0.4379799962043762, 0.5330503582954407, -1.2124483585357666, 0.5056300163269043, 0.1181376725435257, -0.8440355062484741, -0.5584690570831299, 0.6352394819259644, -0.6275144815444946, 0.4785670340061188, 0.5186764597892761, 0.17923203110694885, 1.1868926286697388, 0.059884991496801376, 0.8521234393119812, -0.638416588306427, 0.5695914030075073, 0.6474663019180298, -0.5534641742706299, 0.90309077501297, 0.1591772586107254, -0.5589588284492493, 0.43168988823890686, 0.3348720371723175, 0.39271271228790283, 0.42821359634399414, 0.425853967666626, -0.47614118456840515, -0.2835384011268616, -0.2983120381832123, -0.41286933422088623, 0.5027575492858887, 0.6054537296295166, 0.16219373047351837, -0.708039402961731, -0.1690201312303543, 0.29974672198295593, 0.0528070405125618, -0.10890249907970428, 0.7633728384971619, -0.03538310155272484, -0.2400142401456833, 0.25843897461891174, -0.405586302280426, -0.0020652494858950377, -0.3160271942615509, 0.24733217060565948, -0.20023755729198456, -0.5751012563705444, -0.24300433695316315, -0.5890941619873047, 0.7689864039421082, 0.037147048860788345, -0.04980531707406044, -0.44625774025917053, 0.6584222316741943, -0.1953408420085907, -0.3434091806411743, -0.014921859838068485, 0.2713399827480316, 0.4030041992664337, 0.08959612250328064, -0.953779399394989, 0.20551049709320068, -0.09130711853504181, 0.08444729447364807, 0.4112071394920349, 0.517386794090271, 0.6767586469650269, 0.1093723252415657, 0.1451713889837265, -0.09775399416685104, -0.29226019978523254, -0.16302664577960968, 1.0340218544006348, -0.7758128046989441, -0.23667769134044647, -0.4452020525932312, 0.6251463294029236, -0.4994114935398102, -0.6985177993774414, 0.37420785427093506, 0.29942989349365234, 0.2339152991771698, 0.21004988253116608, 0.578795850276947, -0.1960349828004837, 0.622445285320282, -0.45469188690185547, 1.0036778450012207, -0.3625966012477875, 0.135112464427948, -0.1908944696187973, -0.3923081159591675, 0.15298551321029663, 0.36487653851509094, -0.6792183518409729, -0.5651639699935913, 0.8300220966339111, 0.8501855731010437, 0.31214606761932373, 0.36635538935661316, 0.4824845492839813, 0.4159313142299652, 0.3110760450363159, 0.17629167437553406, 0.853321373462677, -0.08568359911441803, 0.430743932723999, 0.09958883374929428, 0.04585396125912666, -0.3963104486465454, -1.2263647317886353, -0.2559012770652771, -0.7709718346595764, -0.7302880883216858, -0.40252017974853516, 0.1529139280319214, 0.8838945627212524, 0.5587446689605713, -0.6186071634292603, -0.1727532595396042, 0.075008325278759, 0.4061328172683716, 0.01628830097615719, -0.21014583110809326, 0.5008999705314636, -0.09647556394338608, -0.6904643177986145, 0.3518955707550049, 0.5883556604385376, -0.2446448653936386, -0.5833390355110168, 0.480683833360672, -0.29429498314857483, 0.8307404518127441, 0.4016989767551422, 0.5498271584510803, -0.39680925011634827, -0.41927146911621094, -0.7180242538452148, 0.06824520230293274, 0.3436179459095001, 1.0612331628799438, -0.6877561211585999, -0.06961952894926071, 0.2950056493282318, 0.38942843675613403, -0.013345062732696533, -0.2635507881641388, 0.32009926438331604, -0.6371463537216187, -0.03308197483420372, 0.14848555624485016, 0.4642767608165741, 0.4747208058834076, -0.6577267050743103, 0.284333735704422, 0.3905166685581207, -0.7593502402305603, -1.0010147094726562, 0.06633762270212173, -0.8475223183631897, -0.4487016499042511, 0.8244153261184692, -0.09419605880975723, -0.2760263979434967, -0.26035431027412415, -0.2958487272262573, 0.027660245075821877, -0.645298421382904, 1.0192950963974, 0.7974883913993835, 0.05091771483421326, -0.28213101625442505, -0.3719817101955414, 0.3727862238883972, -0.01687832921743393, -0.7694399952888489, 0.3693757653236389, 0.3195798099040985, -0.3553231358528137, 0.6584058403968811, 0.41386136412620544, 0.24829436838626862, -0.46121305227279663, 0.39383840560913086, -0.1876252442598343, 0.4360046982765198, -0.5998137593269348, 0.07858849316835403, 0.6940986514091492, -0.6059004664421082, -0.06059827655553818 ]
http://arxiv.org/abs/2402.18041v1
http://arxiv.org/pdf/2402.18041v1
Datasets for Large Language Models: A Comprehensive Survey
2024-02-28T04:35:51
2024-02-28T04:35:51
Yang Liu, Jiahuan Cao, Chongyu Liu, Kai Ding, Lianwen Jin
cs.CL
cs.CL, cs.AI
This paper embarks on an exploration into the Large Language Model (LLM) datasets, which play a crucial role in the remarkable advancements of LLMs. The datasets serve as the foundational infrastructure analogous to a root system that sustains and nurtures the development of LLMs. Consequently, examination of these datasets emerges as a critical topic in research. In order to address the current lack of a comprehensive overview and thorough analysis of LLM datasets, and to gain insights into their current status and future trends, this survey consolidates and categorizes the fundamental aspects of LLM datasets from five perspectives: (1) Pre-training Corpora; (2) Instruction Fine-tuning Datasets; (3) Preference Datasets; (4) Evaluation Datasets; (5) Traditional Natural Language Processing (NLP) Datasets. The survey sheds light on the prevailing challenges and points out potential avenues for future investigation. Additionally, a comprehensive review of the existing available dataset resources is also provided, including statistics from 444 datasets, covering 8 language categories and spanning 32 domains. Information from 20 dimensions is incorporated into the dataset statistics. The total data size surveyed surpasses 774.5 TB for pre-training corpora and 700M instances for other datasets. We aim to present the entire landscape of LLM text datasets, serving as a comprehensive reference for researchers in this field and contributing to future studies. Related resources are available at: https://github.com/lmmlzn/Awesome-LLMs-Datasets.
[ -0.4116533100605011, -0.6503838300704956, 0.4733387529850006, 0.028041809797286987, 0.0743553638458252, 0.227524071931839, -0.5739193558692932, -0.13881035149097443, 0.04773373901844025, 0.8163193464279175, -0.44630104303359985, -0.750507652759552, -0.6741960644721985, 0.1094769611954689, -0.5933048129081726, 0.9304847121238708, -0.022448008880019188, 0.20895537734031677, -0.22578375041484833, -0.11345084011554718, -0.3640293776988983, -0.6307171583175659, -0.281127005815506, -0.21656838059425354, 0.4761764407157898, 0.3720315098762512, 0.38635265827178955, 0.640322208404541, 0.5756353139877319, 0.199338898062706, -0.17014797031879425, 0.13811571896076202, -0.728868842124939, 0.2827594578266144, -0.008114746771752834, -0.3348832130432129, -0.3084108531475067, -0.018525633960962296, 1.0603680610656738, 1.1562978029251099, -0.0814923346042633, 0.3997681438922882, 0.007435064297169447, 0.638297438621521, -0.42628711462020874, 0.17990422248840332, -0.5322901010513306, -0.0508175753057003, -0.6284013390541077, -0.08642721176147461, -0.2700459361076355, -0.44063571095466614, 0.09679561108350754, -0.05508952587842941, 0.11149691045284271, 0.12911802530288696, 0.33849745988845825, 0.05944034084677696, -0.6791191101074219, -0.39733320474624634, -0.8442683815956116, 0.9263179898262024, -0.6428650617599487, 0.468127578496933, 0.13671229779720306, 0.11586346477270126, -0.16767756640911102, -0.5815226435661316, -0.2906236946582794, -0.10689528286457062, 0.2344692051410675, -0.09029752761125565, -0.1333504319190979, -0.04101359844207764, 0.25843116641044617, 0.6930445432662964, -0.7654194831848145, 0.444679856300354, -0.2640959918498993, 0.0054284557700157166, 0.6398382782936096, 0.5044886469841003, 0.2159094512462616, 0.11894635856151581, -0.0467102937400341, -0.0000939069504966028, -1.092903733253479, -0.24637463688850403, 0.39620912075042725, 0.28421056270599365, -0.16103094816207886, 0.5656802654266357, -0.18454526364803314, 1.023153305053711, -0.4426232874393463, -0.10804089903831482, 0.26454630494117737, -0.5439471006393433, -0.20074562728405, -0.10082791745662689, 0.8738342523574829, 0.15814334154129028, 0.4329264760017395, -0.09112036228179932, -0.2344076931476593, -0.2061118483543396, -0.04683029279112816, -0.5951279401779175, 0.010902768932282925, 0.28444740176200867, -0.26795563101768494, -0.20216825604438782, -0.03830349072813988, -0.658608615398407, -0.40192893147468567, -0.6689083576202393, -0.2532235085964203, -0.09964439272880554, -0.2653562128543854, 0.271293580532074, 0.35435035824775696, 0.48854944109916687, 0.13503071665763855, -0.8493037819862366, 0.4894338548183441, 0.8263322114944458, 0.708946943283081, -0.3402419686317444, -0.29527726769447327, 0.009649505838751793, 0.0028591605369001627, -0.5748252868652344, 0.7639750242233276, -0.5807064175605774, -0.3969712555408478, 0.40377354621887207, -0.00791250728070736, 0.11330738663673401, -0.6859482526779175, 0.5361746549606323, -0.6559295058250427, 0.2322605401277542, -0.33350276947021484, -0.7567470073699951, -0.014899400994181633, 0.6109196543693542, -0.8671319484710693, 0.9903072714805603, -0.11031883209943771, -0.7435219287872314, 0.1254783570766449, -0.4725223183631897, -0.40755322575569153, -0.03913678973913193, -0.34063974022865295, -0.17524532973766327, 0.16306717693805695, 0.12460991740226746, 0.7146623134613037, -0.7840778231620789, 0.5598694682121277, -0.3918694257736206, -0.1847546547651291, 0.35271328687667847, -0.4406137466430664, 0.7884655594825745, 0.07065726071596146, 0.06839460879564285, 0.0837087631225586, -0.87112957239151, 0.021047858521342278, 0.14871282875537872, -0.1406625360250473, -0.2147195190191269, -0.04791603609919548, 0.1869429498910904, 0.13476064801216125, 0.4920889139175415, -0.45602932572364807, 0.42161691188812256, -0.2067856639623642, 0.2578088939189911, 0.6442012786865234, -0.02793416753411293, 0.4344615042209625, 0.004993713926523924, 0.6310661435127258, -0.1256081461906433, 0.16751790046691895, -0.26784074306488037, -0.13698852062225342, -0.6989074349403381, -0.01617087423801422, 0.4658922553062439, 0.3905450105667114, -0.3960534632205963, 0.5565194487571716, -0.49677184224128723, -0.42523929476737976, -0.2613683044910431, 0.16227340698242188, 0.2370026558637619, 0.16583873331546783, 0.050521258264780045, -0.07486319541931152, -0.6762653589248657, -0.989654541015625, 0.11014234274625778, -0.019789472222328186, -0.027845734730362892, 0.3468063771724701, 0.4950464367866516, -0.15165641903877258, 0.9281482100486755, -0.6491703391075134, -0.1563190370798111, -0.504658579826355, -0.275837242603302, 0.5129013657569885, 0.1797625720500946, 0.45357203483581543, -0.520949125289917, -0.33122608065605164, -0.17109841108322144, -0.6685760021209717, -0.1923588365316391, 0.16215780377388, 0.040598295629024506, 0.01189418788999319, 0.4385158121585846, -0.3911459445953369, -0.15395760536193848, 0.8040527105331421, -0.07715670764446259, 0.6309968829154968, -0.05897124856710434, -0.12551598250865936, -1.1198010444641113, 0.2570638358592987, 0.0027133969124406576, 0.009286733344197273, -0.7095823287963867, 0.049341410398483276, -0.13451692461967468, 0.12497016042470932, -0.18041859567165375, 0.5834541320800781, -0.5470907688140869, -0.3817596435546875, -0.1159418523311615, -0.016975874081254005, -0.262703001499176, 0.0786643698811531, 0.020316703245043755, 0.6722248792648315, 0.7380235195159912, -0.4072084128856659, 0.5162415504455566, 0.36711788177490234, -0.5210880637168884, 0.2575283944606781, -0.5761805772781372, 0.1866653859615326, -0.10410504043102264, 0.4058835804462433, -0.707667887210846, -0.2296607345342636, 0.06855428963899612, -0.1584046185016632, 0.26364409923553467, -0.02339559607207775, -0.7022228240966797, -0.18283085525035858, -0.2710857391357422, 0.22070345282554626, 0.2989269196987152, -0.21280509233474731, 0.1181938573718071, 0.7335504293441772, -0.40173280239105225, -0.6915780901908875, -0.3890855312347412, 0.3650051951408386, -0.2009531557559967, -0.29741281270980835, 0.008460398763418198, -0.16061383485794067, -0.4458106458187103, -0.22492362558841705, 0.2279774248600006, -0.013487210497260094, -0.07545352727174759, 0.0037351716309785843, 0.35258549451828003, -0.2582376003265381, 0.14707419276237488, -0.34189823269844055, -0.025603272020816803, 0.16652178764343262, -0.30145347118377686, 0.875190258026123, -0.21154473721981049, -0.2976956367492676, -0.014851178973913193, 0.2244916409254074, 0.3938215374946594, -0.18602719902992249, 0.5891757011413574, 0.2677149176597595, -0.28979140520095825, -0.2307896912097931, -0.5071104168891907, 0.044779881834983826, -0.3625091016292572, 0.4151609241962433, -0.17454612255096436, -1.1480629444122314, 0.5166193246841431, -0.053577814251184464, 0.34503868222236633, 0.33591264486312866, 0.8183006048202515, 0.07201480865478516, 0.6799105405807495, 0.7324501276016235, -0.618805468082428, 0.3016873002052307, -0.4371357858181, 0.13780197501182556, -0.8308653831481934, -0.17790529131889343, -0.7044727206230164, -0.1289590448141098, -0.6398459076881409, -0.40278416872024536, 0.07825959473848343, -0.32146286964416504, -0.3216928243637085, -0.011961753480136395, -0.03204334154725075, 0.43830403685569763, 0.1696089655160904, -0.35842445492744446, 0.3428375720977783, 0.026630043983459473, -0.030246403068304062, -0.016365334391593933, -0.63497394323349, -0.8449771404266357, 1.3983635902404785, 0.47796812653541565, 0.757780909538269, 0.03364689648151398, 0.505155086517334, -0.04349661245942116, 0.1777150183916092, -0.8412250876426697, 0.5616157054901123, -0.3025989830493927, -0.8493505120277405, -0.4277268648147583, -0.43667593598365784, -0.9159830212593079, 0.04350825026631355, 0.08431421220302582, -0.35619285702705383, 0.10334845632314682, -0.008463723585009575, -0.19673316180706024, 0.2888481020927429, -0.282306969165802, 0.6410296559333801, -0.4121887981891632, -0.22917790710926056, -0.056557267904281616, -0.7037725448608398, 0.5361611843109131, -0.2977930009365082, 0.27000632882118225, -0.13942426443099976, -0.10039996355772018, 0.8202607035636902, 0.03403836488723755, 0.8146049976348877, 0.037391453981399536, -0.5309634208679199, 0.2581324875354767, -0.25979843735694885, 0.3040522634983063, -0.12375860661268234, -0.12403730303049088, 0.25136226415634155, 0.007622359320521355, -0.25136497616767883, -0.4153249263763428, 0.6842513680458069, -0.6655178666114807, -0.2683740556240082, -0.4544990658760071, -0.5140893459320068, -0.6076288819313049, 0.17043592035770416, -0.05596653372049332, 0.5823203921318054, -0.5115612745285034, 0.5232527852058411, 0.9630102515220642, -0.4702502489089966, 0.1459002047777176, 0.5727158188819885, -0.5026841759681702, -0.2527022361755371, 0.9098178744316101, 0.2804427742958069, 0.22292634844779968, 0.44442400336265564, -0.043395522981882095, -0.4432433247566223, -0.8793454170227051, -0.1505645513534546, 0.3469768464565277, -0.5540333986282349, -0.07635441422462463, -0.49704885482788086, -0.2487560212612152, -0.4206465780735016, 0.2798800766468048, -0.40068212151527405, -0.1537725180387497, -0.30024561285972595, -0.09517679363489151, 0.28548574447631836, 1.048994541168213, 0.22188079357147217, 0.39073634147644043, -0.6647425889968872, 0.16727401316165924, 0.05777979642152786, 0.5600136518478394, -0.007583084050565958, -0.3931090533733368, -0.2586974799633026, -0.012899775058031082, -0.02134554646909237, -0.44854867458343506, 0.36248382925987244, 0.11736627668142319, 0.567897379398346, 0.5996288657188416, -0.1458018720149994, 0.424144446849823, -0.6333417296409607, 0.857787549495697, 0.032790739089250565, -0.4723564386367798, 0.15610314905643463, -0.6044492125511169, 0.23936569690704346, 0.5390828847885132, 0.5714439153671265, -0.9156816601753235, -0.06787377595901489, -0.5330890417098999, -0.8839738368988037, 0.6311926245689392, 0.034251004457473755, 0.27080613374710083, 0.22351425886154175, 0.20320509374141693, 0.23031136393547058, 0.36324480175971985, -0.36215993762016296, -0.33951273560523987, 0.2686781883239746, -0.3790695071220398, -0.44751614332199097, -0.32891833782196045, -0.03039637953042984, -0.01703302562236786, 0.5252131223678589, -0.06891892850399017, 0.034148428589105606, -0.4821712374687195, -0.15549884736537933, 0.3414321541786194, 0.44371703267097473, 0.4738820195198059, 0.9010831713676453, -0.24659763276576996, 0.16853882372379303, 0.20301871001720428, -0.6125573515892029, 0.17823126912117004, -0.08325501531362534, -0.051977839320898056, -0.06450723856687546, 0.468782901763916, 0.7243788838386536, 0.15752257406711578, -0.7716884016990662, 0.3714509904384613, -0.05148095265030861, -0.09619949012994766, -0.4858913719654083, -0.2387843132019043, 0.26051756739616394, -0.09783504158258438, 0.3006165325641632, -0.4958312511444092, 0.02093822881579399, -0.5512024760246277, 0.07105474919080734, 0.3456556797027588, -0.3519923985004425, -0.4252637028694153, 0.11572248488664627, 0.03566792234778404, 0.10301137715578079, 0.7270777821540833, 0.22809448838233948, -0.2870665490627289, 0.5254560708999634, 0.2723841369152069, 0.6373106241226196, -0.07702690362930298, 0.09299656748771667, 0.16962361335754395, 0.2991868257522583, -0.1902737021446228, 0.20323722064495087, 0.23032721877098083, -0.9052321314811707, -0.567258894443512, -0.8394492864608765, -0.6404038667678833, 0.6861562132835388, -0.5044963955879211, 0.30352526903152466, -0.3969472050666809, 0.1390150487422943, -0.241676464676857, 0.2571437358856201, -0.6463387608528137, 0.2951594293117523, 0.28188735246658325, 0.9186201095581055, -0.8777955174446106, 0.8298214077949524, 0.6527616381645203, -0.18712960183620453, -0.40460410714149475, -0.10980233550071716, 0.05616450682282448, -0.8132897019386292, 0.5637585520744324, -0.1052551344037056, 0.007099499925971031, 0.08017028868198395, -0.7566167116165161, -0.8876574635505676, 0.7310647964477539, 0.31029725074768066, -0.8387614488601685, -0.08839955925941467, 0.5766822695732117, 0.5680260062217712, -0.40400075912475586, 0.24967455863952637, 1.0001945495605469, 0.42013636231422424, -0.06557552516460419, -0.6273077130317688, -0.29619354009628296, -0.21734566986560822, 0.10673224180936813, 0.06834974884986877, -0.5839529633522034, 0.5813387036323547, 0.22133074700832367, 0.08750283718109131, 0.0664675384759903, 0.46870800852775574, 0.3605714738368988, -0.1118437871336937, 0.3226011097431183, 0.40843504667282104, 0.5246441960334778, -0.11554165184497833, 0.8733175992965698, -0.467168927192688, 0.3500061333179474, 1.1238319873809814, -0.5241902470588684, 0.7506693601608276, 0.3532087802886963, -0.4556860327720642, -0.0014795222086831927, 0.8059296607971191, -0.10959964990615845, 0.12096948176622391, 0.5106375813484192, -0.2265838235616684, -0.23457801342010498, -0.2880339026451111, -0.47326087951660156, 0.5445109605789185, 0.5159885883331299, -0.2400735318660736, -0.3796818256378174, -0.12204037606716156, -0.0021949822548776865, -0.15280359983444214, -0.24822834134101868, 0.7016275525093079, 0.1627478003501892, -0.1654600352048874, 0.2298501580953598, -0.0170644111931324, 0.668279230594635, -0.8285737633705139, 0.11192987859249115, -0.39081045985221863, 0.03682352975010872, -0.12457789480686188, -1.0877735614776611, 0.08202847838401794, 0.21540185809135437, -0.16585873067378998, -0.5740146636962891, 0.5860865116119385, -0.37963953614234924, -0.5026389956474304, 0.09149348735809326, 0.624543309211731, 0.402492493391037, 0.11051966995000839, -0.43350163102149963, 0.3835797905921936, -0.16755172610282898, -0.3939649164676666, 0.33920982480049133, 0.47502559423446655, -0.06245071813464165, 0.5781263113021851, 0.44780731201171875, 0.36363935470581055, 0.08663590252399445, 0.3916808068752289, 0.9195315837860107, -0.8570016026496887, -0.0824701115489006, -0.6708149313926697, 0.30629515647888184, -0.0223227646201849, -0.3982792794704437, 0.8236187100410461, 0.9455457329750061, 0.8579659461975098, -0.031186800450086594, 1.0605908632278442, 0.00313200824894011, 0.7989550828933716, -0.5135783553123474, 0.6652715802192688, -0.22138968110084534, 0.30215829610824585, -0.20077919960021973, -1.0421401262283325, -0.42436331510543823, 0.2821909189224243, -0.4907805621623993, 0.1263778656721115, 0.4253976047039032, 0.6090208888053894, -0.0014284882927313447, 0.045143771916627884, 0.33437979221343994, 0.35182732343673706, 0.34453269839286804, 0.2190122753381729, 1.0516055822372437, -0.19551679491996765, 0.18744376301765442, 0.0009644835372455418, -0.02089260146021843, -0.1422058790922165, -0.7629980444908142, -0.6990286707878113, -0.6232991218566895, -0.1227862760424614, 0.1248602494597435, -0.09941617399454117, 0.8383339047431946, 0.3248353898525238, -0.9305369257926941, -0.6531659960746765, 0.10568684339523315, -0.04940145090222359, 0.3015226423740387, -0.14043056964874268, 0.3281749188899994, -0.3729933798313141, -0.7828101515769958, 0.3321114182472229, 0.16010509431362152, -0.07215566188097, -0.775208055973053, 0.11431397497653961, -0.19183745980262756, -0.08580774813890457, 0.8141418695449829, 0.19286511838436127, -0.4544801414012909, 0.019887935370206833, 0.2565574049949646, -0.1423349827528, 0.01571253314614296, 0.8456475138664246, -0.458497017621994, 0.1287539154291153, 0.47144815325737, 0.6964908838272095, 0.29767751693725586, -0.5012456178665161, 0.6295868158340454, -0.6329922080039978, -0.05071570724248886, 0.24219255149364471, 0.36554116010665894, 0.4411117136478424, -0.0054590823128819466, 0.49471840262413025, 0.007687792181968689, -0.4962114691734314, -0.9586748480796814, 0.16111011803150177, -0.9076149463653564, -0.14987686276435852, 1.2409793138504028, 0.013229102827608585, -0.0618479922413826, -0.17385004460811615, -0.16257381439208984, 0.0814674124121666, -0.12527041137218475, 0.4942067265510559, 1.0283452272415161, 0.028005540370941162, -0.2281801551580429, -0.7600147128105164, 0.26824572682380676, 0.0486978255212307, -0.9822378158569336, 0.4575439989566803, 0.8276526927947998, 0.3512663245201111, -0.14458999037742615, 0.4992758631706238, -0.21067240834236145, -0.3987092673778534, -0.3175828456878662, 0.18509218096733093, 0.19289445877075195, -0.4419899582862854, -0.7182354927062988, 0.2507691979408264, 0.12963485717773438, 0.21516917645931244 ]
http://arxiv.org/abs/2402.18039v1
http://arxiv.org/pdf/2402.18039v1
ResLoRA: Identity Residual Mapping in Low-Rank Adaption
2024-02-28T04:33:20
2024-02-28T04:33:20
Shuhua Shi, Shaohan Huang, Minghui Song, Zhoujun Li, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang
cs.CL
cs.CL, cs.AI
As one of the most popular parameter-efficient fine-tuning (PEFT) methods, low-rank adaptation (LoRA) is commonly applied to fine-tune large language models (LLMs). However, updating the weights of LoRA blocks effectively and expeditiously is challenging due to the long calculation path in the original model. To address this, we propose ResLoRA, an improved framework of LoRA. By adding residual paths during training and using merging approaches to eliminate these extra paths during inference, our method can achieve better results in fewer training steps without any extra trainable parameters or inference cost compared to LoRA. The experiments on NLG, NLU, and text-to-image tasks demonstrate the effectiveness of our method. To the best of our knowledge, ResLoRA is the first work that combines the residual path with LoRA. The code of our method is available at https://github.com/microsoft/LMOps/tree/main/reslora .
[ -0.2958008050918579, -0.5860074758529663, 0.4592788815498352, -0.1433716118335724, -0.31454727053642273, 0.0986759290099144, -0.4075973629951477, -0.5688128471374512, 0.2880559265613556, 0.6014962792396545, -0.5296597480773926, -0.45292168855667114, -0.4872919023036957, -0.08003021776676178, -0.23898619413375854, 0.8706852793693542, 0.0893857479095459, -0.22528265416622162, 0.21558105945587158, -0.6460453867912292, -0.7172254323959351, -0.1978883147239685, -0.8602937459945679, -0.31393009424209595, 1.294730305671692, 0.6371243596076965, 0.6948928236961365, 0.392649382352829, 0.3566555380821228, 0.24413053691387177, -0.12341700494289398, 0.41070666909217834, -0.9067854881286621, 0.20966434478759766, -0.5933820009231567, -0.5011245608329773, -0.6454416513442993, -0.04994651675224304, 0.9350836873054504, 0.7371065020561218, 0.007902897894382477, 0.5779696106910706, 0.04348693788051605, 1.0335317850112915, -0.7800931930541992, -0.3910183012485504, -0.8734971284866333, -0.16751985251903534, -0.137386754155159, -0.4432888925075531, -0.46481767296791077, -0.4426482021808624, -0.12686501443386078, -0.43358680605888367, -0.13673409819602966, -0.07263005524873734, 0.9570091366767883, 0.5373563766479492, -0.2799117863178253, 0.29110053181648254, -0.8998196721076965, 0.7460267543792725, -0.8188644647598267, 0.42887213826179504, 0.014965664595365524, 0.5176320672035217, -0.2741847336292267, -0.6360827684402466, -0.18542061746120453, 0.00818675383925438, 0.1631963551044464, -0.12332995980978012, -0.32600557804107666, -0.06305184960365295, -0.007082452066242695, 0.18122266232967377, -0.17290228605270386, 0.5448355674743652, -0.5865643620491028, 0.15356361865997314, 0.5197016596794128, -0.24579265713691711, 0.0974205806851387, 0.5315598845481873, -0.169929638504982, -0.01724112592637539, -1.2173902988433838, -0.302640438079834, 0.30002015829086304, 0.7489119172096252, -0.049187321215867996, 0.3668535649776459, -0.14567531645298004, 1.2017744779586792, 0.06108683720231056, -0.3461703360080719, 0.19993098080158234, -0.10238493233919144, -0.2808784246444702, 0.21952718496322632, 0.1785377413034439, 0.22118979692459106, 0.22518157958984375, -0.2656051814556122, 0.04869726300239563, -0.0950046181678772, 0.0223274827003479, -0.7445160746574402, -0.11804763972759247, 0.09192598611116409, -0.44354742765426636, -0.17144186794757843, -0.19097280502319336, -0.8189346790313721, -0.586826741695404, -0.5327815413475037, 0.27446436882019043, -0.306035578250885, 0.022997012361884117, -0.018347179517149925, 0.28788819909095764, 0.5057892799377441, 0.7871858477592468, -0.5421584248542786, 0.200099915266037, 0.6804689168930054, 0.664196252822876, -0.41991254687309265, -0.42557576298713684, -0.9417181611061096, 0.08219818770885468, -0.35662609338760376, 1.0375239849090576, -0.4200725555419922, 0.19560450315475464, -0.1693635731935501, 0.142557293176651, -0.1351523995399475, -0.5811642408370972, 0.4908764660358429, -0.6493406295776367, 0.24277082085609436, -0.1931312531232834, -0.2749521732330322, -0.4627637267112732, 0.07219355553388596, -0.6250013113021851, 1.061547875404358, 0.5982472896575928, -0.4269850552082062, 0.10625764727592468, -0.620076596736908, -0.13098272681236267, -0.13312985002994537, 0.1522327959537506, -0.359915554523468, 0.18937371671199799, -0.024383608251810074, -0.026146480813622475, -0.37126320600509644, 0.05517714098095894, -0.3407558798789978, -0.6880771517753601, -0.04761767014861107, -0.5053911805152893, 0.5970593094825745, 0.11596237123012543, -0.2916965186595917, 0.2594304382801056, -0.8542271256446838, 0.07528616487979889, -0.07582499086856842, -0.6104577779769897, -0.4018399715423584, -0.07887516170740128, 0.0789806991815567, 0.24256311357021332, 0.34286215901374817, -0.27263113856315613, 0.4732547700405121, -0.46290478110313416, 0.1179179921746254, 0.9684887528419495, 0.06395239382982254, 0.46655264496803284, -0.313127726316452, 0.5441938042640686, -0.15028013288974762, -0.06576938927173615, 0.11803451180458069, -0.6222848296165466, -1.077668309211731, -0.2521984577178955, 0.6776160597801208, 0.46955108642578125, -0.5936278104782104, 0.5310080647468567, -0.624843180179596, -0.8186632990837097, -0.6045922636985779, 0.3757769465446472, 0.31644511222839355, 0.505691647529602, 0.42782893776893616, -0.18250469863414764, -0.5369369983673096, -0.7870622873306274, -0.4616518020629883, -0.015546222217381, 0.05419720336794853, 0.21313762664794922, 0.23647910356521606, -0.33375638723373413, 1.192800521850586, -0.44761303067207336, -0.6655778288841248, -0.08694133907556534, -0.18828141689300537, 0.4435773491859436, 0.5289571285247803, 0.8363073468208313, -0.41794678568840027, -0.7114055156707764, 0.24302692711353302, -0.3122099041938782, -0.3355075418949127, -0.1881043165922165, -0.24537870287895203, 0.24331264197826385, 0.45883500576019287, -0.009626587852835655, 0.40996479988098145, 0.8835261464118958, -0.608844518661499, 0.11029723286628723, -0.38810545206069946, 0.08772207051515579, -0.9331185817718506, 0.2712881863117218, -0.19090037047863007, -0.6321530342102051, -0.5880035161972046, 0.14686034619808197, -0.27654212713241577, -0.1512369066476822, -0.5680583119392395, 0.623910129070282, -0.5267271399497986, -0.45469045639038086, -0.43631666898727417, 0.37878385186195374, -0.10599226504564285, 0.7217139601707458, -0.3117460012435913, 0.9046226739883423, 0.22305411100387573, -0.3997691869735718, 0.23137271404266357, -0.16512475907802582, 0.03780900314450264, 0.6128339767456055, -0.3211556077003479, 0.3144074082374573, -0.0791996493935585, 0.2467770278453827, -0.9396183490753174, 0.23090070486068726, 0.3417014181613922, -0.06342608481645584, 0.13146106898784637, -0.3334145247936249, -0.263171523809433, 0.10892262309789658, -0.27283284068107605, 0.46598127484321594, 0.807650089263916, -0.8149328827857971, 0.9171982407569885, 0.16791245341300964, 0.020245099440217018, -0.3065301477909088, -0.44349464774131775, 0.2581939101219177, -0.6055823564529419, -0.2900707423686981, 0.6356096267700195, -0.06970325112342834, -0.11156688630580902, -0.12941612303256989, 0.16046766936779022, -0.09970492124557495, 0.4084128141403198, 0.23824968934059143, 0.028905900195240974, -0.4193651080131531, 0.00606463523581624, 0.10356266796588898, -0.2643485367298126, -0.5891757011413574, 0.05125490203499794, 0.5104245543479919, -0.09820179641246796, -0.4875018894672394, -0.6160125136375427, 0.1717979907989502, 0.6927282810211182, -0.030555058270692825, 0.9094606637954712, 0.6149189472198486, -0.42192569375038147, -0.177414208650589, -0.5001240372657776, -0.05342438071966171, -0.488435834646225, 0.2659434378147125, -0.20708006620407104, -0.7328886985778809, 0.685455322265625, -0.5129637718200684, 0.16071496903896332, 0.3862442672252655, 0.28240475058555603, 0.07570863515138626, 0.38528335094451904, 0.8106682896614075, -0.32781511545181274, 0.6447354555130005, -0.11894867569208145, 0.2975865304470062, -0.9598264098167419, 0.22334595024585724, -0.5465145111083984, -0.7430163621902466, -0.39825159311294556, -0.6061878800392151, 0.31043773889541626, 0.3400317430496216, -0.2889552116394043, 0.3919563591480255, -0.5677452087402344, 0.4096418023109436, 0.4646085500717163, 0.1604549139738083, 0.6329760551452637, 0.18323932588100433, 0.5499079823493958, -0.20214153826236725, -0.7925650477409363, -0.3336482644081116, 0.8663574457168579, 0.5110552310943604, 0.7509435415267944, 0.3935011327266693, 0.8579740524291992, 0.35506901144981384, 0.7676001191139221, -0.7401978969573975, 0.4820265769958496, -0.37568986415863037, -0.047845665365457535, -0.36633801460266113, -0.08228267729282379, -1.0337189435958862, 0.43899837136268616, -0.21762065589427948, -0.8958637118339539, 0.5980157256126404, 0.3671324849128723, -0.5642234683036804, 0.36417272686958313, -0.6476227045059204, 0.641532838344574, -0.11366861313581467, -0.4313648045063019, -0.16988660395145416, -0.23849590122699738, 0.32818296551704407, -0.4438988268375397, 0.027790432795882225, -0.12295535951852798, -0.1548285186290741, 0.9366337656974792, -0.38732102513313293, 1.0759649276733398, -0.24603985249996185, -0.5990478992462158, 0.22358888387680054, -0.023295581340789795, 0.7937871217727661, -0.2847425639629364, -0.12602786719799042, 0.02113775536417961, 0.01665259711444378, -0.277901291847229, -0.735404908657074, 0.9630663394927979, -0.6124264597892761, -0.43233099579811096, -0.4216661751270294, -0.43194496631622314, -0.45699480175971985, 0.19373390078544617, -0.09337197989225388, 0.0740061104297638, -0.05115005746483803, 0.29996559023857117, 0.4907510280609131, -0.27336227893829346, 0.22734089195728302, 0.6448235511779785, -0.34828469157218933, -0.4089106619358063, 0.9635288715362549, 0.12868107855319977, 0.2228907197713852, 0.15736936032772064, 0.15196572244167328, 0.011718155816197395, -0.644791305065155, -0.10118194669485092, 0.5004969835281372, -0.7261228561401367, -0.4170648157596588, -0.011878677643835545, -0.17961522936820984, -0.24776065349578857, -0.27923789620399475, -0.688523530960083, -0.383559912443161, -0.5634918808937073, 0.2513723075389862, 0.6163801550865173, 0.4422387182712555, 0.09525367617607117, 0.5519722700119019, -0.6260721683502197, 0.39850273728370667, 0.23051078617572784, 0.2892474830150604, 0.07991527020931244, -0.9894523024559021, -0.23599638044834137, 0.0058816419914364815, -0.09846386313438416, -0.8180767893791199, 0.3896770179271698, 0.6122505068778992, 0.3128851354122162, 0.28748559951782227, 0.0515226349234581, 1.136339783668518, -0.5947491526603699, 0.5989400148391724, 0.04021286591887474, -0.601835310459137, 0.37875857949256897, -0.2317519187927246, 0.16914793848991394, 0.8863600492477417, -0.28189414739608765, -0.48431718349456787, -0.008989043533802032, -0.3930773437023163, -0.716762125492096, 0.42011499404907227, -0.051643166691064835, -0.1343511939048767, 0.5796485543251038, 0.5517358779907227, -0.07878205180168152, -0.12736152112483978, -0.7217237949371338, -0.3637528717517853, 0.3159881830215454, -0.19668106734752655, -0.15651988983154297, -0.4363597631454468, -0.42899709939956665, -0.44532668590545654, 0.7942347526550293, -0.46849924325942993, -0.049707163125276566, 0.16365228593349457, -0.11330725252628326, -0.07533860206604004, 0.13669483363628387, 0.728432297706604, 0.9010495543479919, -0.3848596215248108, 0.04804500564932823, 0.42241573333740234, -0.21966132521629333, 0.2266518622636795, -0.12344133108854294, -0.08783987164497375, 0.03779345378279686, 0.5541372895240784, 0.6826518177986145, 0.4913400113582611, -0.6096545457839966, 0.2142980992794037, 0.2212323099374771, -0.046671561896800995, -0.3802746832370758, 0.06324521452188492, 0.08179205656051636, 0.2539483606815338, 0.4038260877132416, 0.13996416330337524, -0.24264194071292877, -0.5081797242164612, 0.15975461900234222, 0.18405231833457947, -0.590336263179779, -0.21936939656734467, 0.2373892068862915, 0.15064586699008942, -0.4644371569156647, 0.29384684562683105, 0.06578733772039413, -0.3000113368034363, 0.3458231985569, 0.5760811567306519, 0.8949192762374878, -0.256879597902298, 0.08776883035898209, 0.13439761102199554, 0.3248182535171509, 0.019857270643115044, 0.2309388518333435, 0.30240514874458313, -0.5669135451316833, -0.36007583141326904, -0.5555753111839294, -0.1395481824874878, 0.056576378643512726, -0.4149855971336365, 0.37798672914505005, -0.3441411852836609, -0.056289348751306534, -0.35814422369003296, -0.12873756885528564, -0.36112868785858154, -0.21409453451633453, 0.034238774329423904, 1.1049281358718872, -1.0282522439956665, 1.0519465208053589, 0.38478273153305054, -0.13937847316265106, -0.6231868863105774, -0.132362499833107, -0.3194226324558258, -0.6071166396141052, 0.7623022794723511, -0.2419995367527008, -0.41525566577911377, 0.18459546566009521, -0.2944895029067993, -1.2609131336212158, 1.3369858264923096, 0.8490738868713379, -0.49344760179519653, -0.10146552324295044, -0.11469350010156631, 0.6749880909919739, -0.5775758624076843, -0.2885205149650574, 0.7511781454086304, 0.7121789455413818, 0.06098923459649086, -0.8330032229423523, 0.12074936926364899, 0.2265542596578598, 0.13673193752765656, -0.12097393721342087, -0.662611186504364, 0.7699295282363892, -0.03077482059597969, -0.24948085844516754, 0.44563961029052734, 0.7240350246429443, 0.5186408162117004, 0.10566020011901855, 0.5776427984237671, 0.6725366711616516, 0.8108311295509338, -0.04242425039410591, 0.6979243755340576, -0.3564818501472473, 0.5288368463516235, 1.6506956815719604, -0.39936962723731995, 0.9973132610321045, 0.7508504986763, -0.2530854642391205, 0.7855045795440674, 0.7454827427864075, 0.06733288615942001, 0.5544705390930176, 0.20839045941829681, -0.008264333009719849, -0.2538699805736542, -0.1380332112312317, -0.5059402585029602, 0.4215024709701538, 0.1400974988937378, -0.4184204339981079, -0.5472322702407837, -0.02542300894856453, 0.07098353654146194, 0.24287879467010498, -0.3379646837711334, 0.5249220132827759, -0.013721385039389133, -0.586083173751831, 1.047194242477417, 0.10207900404930115, 0.6497440338134766, -0.47710806131362915, -0.41518163681030273, -0.43224960565567017, 0.30547192692756653, -0.3115229606628418, -0.239238440990448, 0.17006762325763702, -0.18799997866153717, 0.04910824075341225, 0.007643954828381538, 0.7032008171081543, -0.49161261320114136, -0.5188539624214172, 0.40172430872917175, 0.4192516505718231, 0.04273441061377525, -0.10871461778879166, -0.6964429020881653, 0.2501680552959442, 0.048357266932725906, -0.11620592325925827, 0.47477149963378906, 0.14182455837726593, -0.18955284357070923, 0.7426168918609619, 0.6982407569885254, 0.2893974483013153, 0.06986735761165619, 0.12462466210126877, 0.9847016334533691, -0.6000428199768066, -0.4462163746356964, -0.6031120419502258, 0.30408769845962524, 0.04429277405142784, -0.06906698644161224, 0.5936194062232971, 0.5922734141349792, 0.15934184193611145, -0.06454330682754517, 0.346131831407547, 0.20386706292629242, 0.5501942038536072, -0.6868548393249512, 0.7482315301895142, -0.6542258262634277, 0.46340054273605347, -0.18769536912441254, -1.416690468788147, -0.3217935264110565, 0.3979628384113312, -0.09655633568763733, -0.019823698326945305, 0.7025331854820251, 0.8121858835220337, -0.27863019704818726, -0.8006645441055298, 0.4099612832069397, 0.15199555456638336, 0.3735552430152893, 0.7849659323692322, 0.26352712512016296, -0.8257883787155151, 0.22622311115264893, 0.02579416334629059, -0.2735361158847809, -0.4173436164855957, -1.1301476955413818, -0.6076132655143738, -0.4073410928249359, -0.4791397154331207, -0.4711311161518097, 0.14284974336624146, 0.6033772230148315, 0.7353342771530151, -0.7815098762512207, -0.09654365479946136, 0.0642089769244194, 0.4479840099811554, -0.48069801926612854, -0.20458269119262695, 0.5983046889305115, -0.015517023392021656, -0.8451365232467651, 0.5428746938705444, 0.31952551007270813, -0.002254428341984749, -0.5181933641433716, -0.19612133502960205, -0.43709224462509155, -0.016582123935222626, 0.5109691619873047, 0.7730286717414856, -0.8036067485809326, -0.6119535565376282, -0.5354143977165222, 0.15324154496192932, 0.2049243152141571, 0.6326839923858643, -1.0594375133514404, 0.15587395429611206, 0.5425488352775574, 0.7271963953971863, 0.1598966270685196, 0.3061695992946625, 0.598458468914032, -0.5482703447341919, 0.32581204175949097, -0.055850569158792496, 0.43370679020881653, 0.30453187227249146, -0.3405507206916809, 0.7346935868263245, 0.20751364529132843, -0.3005610704421997, -1.148475170135498, 0.24028700590133667, -1.343334674835205, -0.27880123257637024, 1.2619646787643433, -0.16756947338581085, -0.5603722333908081, -0.01475130207836628, -0.3908393681049347, 0.11142498254776001, -0.18967807292938232, 0.605714738368988, 0.11852110177278519, -0.03820362687110901, -0.32066914439201355, -0.19007675349712372, 0.5735049247741699, 0.2885197103023529, -0.9102492332458496, 0.25488948822021484, 0.291439026594162, 0.3473384380340576, 0.34671977162361145, 0.6469165086746216, 0.04202943667769432, 0.1933021992444992, -0.5133571624755859, -0.1351439207792282, -0.09368716925382614, -0.3873458802700043, -0.688165545463562, 0.16109612584114075, 0.5111081600189209, -0.0865408331155777 ]
http://arxiv.org/abs/2402.18031v1
http://arxiv.org/pdf/2402.18031v1
Corpus-Steered Query Expansion with Large Language Models
2024-02-28T03:58:58
2024-02-28T03:58:58
Yibin Lei, Yu Cao, Tianyi Zhou, Tao Shen, Andrew Yates
cs.IR
cs.IR, cs.CL
Recent studies demonstrate that query expansions generated by large language models (LLMs) can considerably enhance information retrieval systems by generating hypothetical documents that answer the queries as expansions. However, challenges arise from misalignments between the expansions and the retrieval corpus, resulting in issues like hallucinations and outdated information due to the limited intrinsic knowledge of LLMs. Inspired by Pseudo Relevance Feedback (PRF), we introduce Corpus-Steered Query Expansion (CSQE) to promote the incorporation of knowledge embedded within the corpus. CSQE utilizes the relevance assessing capability of LLMs to systematically identify pivotal sentences in the initially-retrieved documents. These corpus-originated texts are subsequently used to expand the query together with LLM-knowledge empowered expansions, improving the relevance prediction between the query and the target documents. Extensive experiments reveal that CSQE exhibits strong performance without necessitating any training, especially with queries for which LLMs lack knowledge.
[ -0.2389264851808548, -0.7828766703605652, 0.969150185585022, 0.0494849719107151, -0.27366751432418823, 0.16394460201263428, -0.3390854001045227, -0.28601089119911194, 0.37683144211769104, 0.7577552199363708, -0.7022046446800232, -0.6006017923355103, -0.5756885409355164, -0.08078397810459137, -0.7884661555290222, 0.7345802783966064, 0.42816561460494995, 0.16182537376880646, -0.19755230844020844, 0.050313662737607956, -0.38354408740997314, -0.7777913808822632, -0.2788054943084717, 0.252032607793808, 0.4873356819152832, 0.25378498435020447, 0.8714524507522583, 0.3632025420665741, 0.4207894206047058, 0.18699763715267181, -0.16484765708446503, 0.46268823742866516, -0.8004167079925537, 0.2695252299308777, -0.29528459906578064, -0.7213402390480042, -0.18238946795463562, -0.31061890721321106, 0.9517036080360413, 0.7158156633377075, -0.22605040669441223, -0.1727527678012848, 0.05280158668756485, 0.6813032627105713, -0.8207895755767822, -0.11567112803459167, -0.6622651815414429, -0.20862457156181335, -0.25392335653305054, -0.48916614055633545, -0.42625048756599426, -0.6388427019119263, 0.3653368651866913, -0.5374351143836975, 0.05215809866786003, 0.3041035532951355, 0.6216458678245544, 0.07831225544214249, -0.46609553694725037, -0.5167807936668396, -0.679435670375824, 0.8023262023925781, -0.5465022325515747, 0.6576754450798035, 0.18080781400203705, 0.23984187841415405, -0.500379204750061, -0.805286705493927, -0.4630545377731323, -0.42768311500549316, -0.1252610832452774, 0.08962879329919815, -0.0007884649094194174, 0.1557808369398117, 0.1891627013683319, 0.2568855583667755, -0.5535746812820435, -0.07053959369659424, -0.3060738742351532, -0.24779854714870453, 0.3996583819389343, 0.08934704214334488, 0.2765980660915375, -0.10930775105953217, -0.18535304069519043, -0.05328597128391266, -0.922757625579834, -0.18907494843006134, 0.2613320052623749, 0.2672375738620758, 0.38019344210624695, 0.688554048538208, -0.19700153172016144, 0.9531210660934448, 0.37443313002586365, 0.056425951421260834, 0.051794856786727905, -0.37871354818344116, 0.08432932198047638, 0.05768579989671707, 0.607654869556427, 0.12318427860736847, -0.11719603836536407, -0.39855995774269104, -0.1484328806400299, -0.44466131925582886, 0.47038987278938293, -0.8233679533004761, 0.10752160102128983, 0.1454431116580963, -0.3657119870185852, -0.05035385861992836, 0.27287501096725464, -0.7026252746582031, -0.48248612880706787, -0.2983953058719635, 0.3254740238189697, -0.6609771251678467, -0.36830565333366394, -0.10904794931411743, -0.1790081262588501, 0.45643311738967896, 0.21355032920837402, -0.6020748615264893, 0.13405069708824158, 0.7382663488388062, 0.45131784677505493, -0.22496254742145538, 0.07801665365695953, -0.8966191411018372, 0.07847482711076736, -0.5388050079345703, 0.8155995011329651, -0.8962929248809814, -0.801860511302948, 0.31837621331214905, 0.07323484122753143, -0.012902759946882725, -0.6230481863021851, 0.7648747563362122, -1.260213017463684, 0.16331610083580017, -0.5106552839279175, -0.7506377100944519, -0.09339587390422821, 0.2117997407913208, -0.442207008600235, 1.310863971710205, 0.16203996539115906, -0.6945418119430542, 0.14249619841575623, -0.5300361514091492, -0.35369354486465454, 0.1248844712972641, -0.24239958822727203, 0.02371101640164852, 0.18091239035129547, 0.09343064576387405, 0.18057683110237122, -0.4943775236606598, 0.512607991695404, -0.3360806405544281, -0.40524202585220337, 0.12749551236629486, -0.12986958026885986, 0.6212062835693359, 0.09948182851076126, 0.015633122995495796, 0.27881231904029846, -0.6297945380210876, 0.20481202006340027, -0.14415402710437775, -0.18950457870960236, -0.5783888697624207, 0.07105396687984467, -0.25109732151031494, -0.05320023000240326, 0.5330212116241455, -0.24351906776428223, 0.24210292100906372, -0.7349620461463928, 0.11486431956291199, 0.3111307919025421, 0.23479725420475006, 0.8359971046447754, -0.17844249308109283, 0.7999863028526306, -0.018287619575858116, -0.00469554215669632, -0.15378759801387787, -0.3449207842350006, -0.5602658987045288, -0.10903739184141159, 0.5046315789222717, 0.5915367603302002, -0.8871884942054749, 0.4301123321056366, -0.38428473472595215, -0.5099332928657532, -0.44211652874946594, 0.22628188133239746, 0.09930255264043808, 0.44859930872917175, 0.4462375342845917, 0.005234583280980587, -0.5024736523628235, -0.8497496247291565, -0.30835554003715515, -0.34281402826309204, -0.16451546549797058, 0.47487616539001465, 0.13894179463386536, 0.021719617769122124, 1.0706140995025635, -0.6056522130966187, -0.08557599782943726, -0.19329023361206055, 0.07576913386583328, 0.3376634418964386, 0.1428283303976059, 0.3932931125164032, -1.107279658317566, -0.3308461010456085, -0.2336011677980423, -0.5845056772232056, -0.30047088861465454, -0.049002524465322495, -0.46127620339393616, -0.13554777204990387, 0.725028932094574, -0.5498165488243103, 0.15574972331523895, 0.20353847742080688, -0.0719805359840393, 0.7808788418769836, -0.24515412747859955, 0.25879278779029846, -1.030882716178894, -0.03446284309029579, -0.11212076246738434, -0.15221157670021057, -0.3726797103881836, 0.21737097203731537, 0.5715665221214294, 0.024464262649416924, -0.34011462330818176, 0.5113769769668579, -0.6562258005142212, -0.17733162641525269, -0.5130661725997925, 0.465120404958725, -0.19470927119255066, 0.10685919970273972, 0.32508307695388794, 0.8900995254516602, 0.6484342217445374, -0.8964752554893494, 0.08828580379486084, 0.08235158026218414, -0.09695529192686081, 0.4419942796230316, -0.3053915202617645, 0.011258440092206001, -0.2465869039297104, 0.12808862328529358, -1.0232362747192383, -0.007291428744792938, -0.20808453857898712, -0.44051888585090637, 0.3782268166542053, -0.18518663942813873, -0.6844704151153564, -0.5237574577331543, -0.3478243350982666, 0.21073481440544128, 0.42293107509613037, -0.7204040884971619, 0.8259957432746887, 0.34820878505706787, -0.1805771291255951, -0.8090141415596008, -0.16930030286312103, 0.12853549420833588, -0.1943591833114624, -0.691338837146759, 0.667687714099884, -0.05763382092118263, -0.24807380139827728, 0.09274645894765854, 0.10079006105661392, -0.11723645031452179, -0.09779977798461914, 0.10776109993457794, 0.3293077349662781, -0.38227614760398865, 0.33157938718795776, 0.47298526763916016, 0.37402838468551636, 0.009309292770922184, -0.5308746695518494, 0.6287031769752502, 0.056472718715667725, -0.20410558581352234, 0.011666581965982914, 0.3104945421218872, 0.5443448424339294, -0.36095964908599854, 0.7730469107627869, 0.47883549332618713, -0.1495693027973175, -0.10443130880594254, -0.7777295112609863, -0.5325626730918884, -0.4683677852153778, 0.5354549288749695, -0.4857368767261505, -1.1728205680847168, 0.40535399317741394, -0.4261125326156616, -0.12065189331769943, 0.5565270781517029, 0.4738471508026123, -0.1597411036491394, 0.8905213475227356, 0.7797071933746338, 0.0453205406665802, 0.5213795900344849, -0.04262671619653702, 0.10963914543390274, -0.9637847542762756, -0.0374787412583828, -0.47878146171569824, -0.0469096414744854, -0.7333565950393677, -0.5856447815895081, 0.41243085265159607, 0.49641984701156616, 0.09322451800107956, 0.40321585536003113, -0.37668704986572266, 0.43134212493896484, 0.52885901927948, 0.0477139987051487, 0.27441152930259705, -0.26889339089393616, -0.46730881929397583, -0.11303224414587021, -0.8611594438552856, -0.26915448904037476, 1.4037222862243652, -0.11162444204092026, 0.47933056950569153, 0.30942150950431824, 0.7115308046340942, 0.3660591244697571, 0.4029388725757599, -0.8407120704650879, 0.6020357012748718, -0.00027358238003216684, -0.6380177140235901, -0.16030968725681305, -0.35306334495544434, -0.9176984429359436, 0.3252059519290924, -0.3420223891735077, -0.5746687054634094, 0.29716747999191284, -0.12592671811580658, -0.6028233170509338, -0.07585306465625763, -0.6268253326416016, 0.4276857078075409, -0.422288179397583, -0.7341415286064148, -0.4603722393512726, -0.605869710445404, 0.36153846979141235, -0.30562901496887207, 0.17304956912994385, 0.3418925702571869, -0.17085804045200348, 0.7796475291252136, -0.49198606610298157, 0.6703791618347168, -0.18768534064292908, -0.06693154573440552, 0.62094646692276, 0.14349442720413208, 0.6837904453277588, 0.22369599342346191, -0.3025416433811188, -0.14025726914405823, 0.15282133221626282, -0.2879941463470459, -0.7289015054702759, 0.926874041557312, -0.41836562752723694, -1.181779384613037, -0.2896597385406494, -0.3863527774810791, -0.5583718419075012, 0.4469437599182129, -0.06993557512760162, 0.18919797241687775, -0.3117961585521698, 0.37619292736053467, 0.7433707118034363, -0.35473349690437317, 0.3047395944595337, 1.1382982730865479, -0.49007996916770935, -0.16836009919643402, 0.49838030338287354, 0.22760321199893951, 0.10577922314405441, 0.6442847847938538, 0.09703873097896576, -0.799003541469574, -0.685299813747406, -0.4088808000087738, 0.44695019721984863, -0.4208028018474579, -0.1816660314798355, -0.6991243958473206, -0.16872817277908325, -0.5678917169570923, 0.017488135024905205, -0.22184593975543976, -0.32145076990127563, -0.3781682252883911, -0.09259485453367233, 0.34286853671073914, 0.42911043763160706, -0.03278582915663719, 0.48976269364356995, -0.9791808724403381, 0.04998552054166794, 0.06892681121826172, 0.12590108811855316, -0.12237454205751419, -0.7666295170783997, -0.14752048254013062, -0.17795716226100922, -0.4488247334957123, -1.2027451992034912, 0.5660440921783447, -0.10238603502511978, 0.6088759899139404, 0.4625875949859619, 0.238106831908226, 0.6318652629852295, -0.4784287214279175, 0.7438136339187622, 0.10560653358697891, -0.572157621383667, 0.5780069231987, -0.5454967021942139, 0.29737958312034607, 0.5874815583229065, 0.6233512759208679, -0.19147101044654846, -0.4453025162220001, -0.5518712401390076, -0.8143379092216492, 0.523772656917572, 0.0673329308629036, 0.1846349537372589, -0.299930214881897, 0.7768182158470154, -0.17910435795783997, 0.20753200352191925, -0.2172500193119049, -0.0510052926838398, 0.19444876909255981, -0.04595812410116196, 0.33021730184555054, -0.5518020391464233, 0.2344759702682495, -0.1271411031484604, 0.8044987320899963, -0.14391864836215973, 0.26401540637016296, 0.4404032528400421, -0.26253852248191833, 0.015134802088141441, 0.28648918867111206, 0.35959210991859436, 0.6651551723480225, -0.33212751150131226, -0.16991350054740906, 0.16981922090053558, -0.26726406812667847, -0.20754167437553406, 0.1283373087644577, -0.03895234316587448, -0.09668184071779251, 0.02708112634718418, 0.38564756512641907, 0.3365176022052765, -0.8691068887710571, 0.5476193428039551, 0.0066456180065870285, -0.07062433660030365, -0.4732419550418854, 0.08544670790433884, 0.37328341603279114, 0.27605974674224854, 0.7841957211494446, -0.24365687370300293, 0.43392717838287354, -0.5598918795585632, 0.43000075221061707, 0.6264529824256897, -0.5567453503608704, -0.0900781974196434, 0.6731369495391846, 0.1561296433210373, -0.16340412199497223, 0.5804683566093445, -0.1820223331451416, -0.6186560988426208, 0.45718705654144287, 0.5716791152954102, 0.5128679871559143, -0.15023449063301086, -0.025635572150349617, 0.6030105948448181, 0.32766175270080566, -0.1917959451675415, 0.22695563733577728, -0.2149004489183426, -0.712921142578125, -0.7705203890800476, -0.6416836977005005, -0.33466458320617676, 0.09489455819129944, -0.6733965277671814, 0.5694130659103394, -0.3642215430736542, -0.39768674969673157, -0.29620063304901123, 0.03603370487689972, -0.3538350462913513, 0.2145269811153412, -0.0019437925657257438, 1.0079712867736816, -0.29647359251976013, 1.1728862524032593, 0.5102010369300842, -0.3862702548503876, -0.6019415855407715, 0.2459726184606552, -0.1771859973669052, -0.760353147983551, 0.7608543634414673, -0.1551818996667862, -0.29644840955734253, 0.1818305402994156, -0.28984513878822327, -1.0809035301208496, 1.0326136350631714, 0.21943604946136475, -0.8397222757339478, -0.15036797523498535, -0.004696907475590706, 0.6544923186302185, -0.40442806482315063, 0.5704807043075562, 0.45675331354141235, 0.4692087173461914, 0.15871679782867432, -0.8571369647979736, -0.038348279893398285, 0.020397977903485298, -0.07101602852344513, 0.3287960886955261, -0.5642110705375671, 0.2688373029232025, -0.1754474937915802, -0.12651851773262024, 0.21464166045188904, 1.1436607837677002, 0.10257868468761444, 0.022447966039180756, 0.46930232644081116, 0.2154003232717514, 0.9993299841880798, 0.06638865172863007, 1.2688499689102173, -0.6667455434799194, 0.005072667729109526, 1.3495311737060547, -0.4229593276977539, 1.1452488899230957, 0.4833041727542877, -0.05515247955918312, 0.5360050797462463, 0.5758354067802429, 0.28295597434043884, 0.4947545826435089, 0.2152484655380249, -0.20630769431591034, -0.45284533500671387, -0.21493127942085266, -0.4173984229564667, 0.3250545263290405, 0.686069667339325, -0.6517926454544067, -0.1318100541830063, -0.16035905480384827, -0.15711207687854767, 0.2953922152519226, -0.3166678547859192, 0.7471579313278198, -0.03920994699001312, -0.8542739152908325, 0.5383134484291077, 0.10499190539121628, 0.760263204574585, -0.7048461437225342, 0.04941156879067421, -0.19879688322544098, -0.13323138654232025, -0.07443941384553909, -0.706340491771698, 0.45783811807632446, -0.12991295754909515, -0.28326669335365295, 0.045807547867298126, 1.0337018966674805, -0.39184805750846863, -0.39652782678604126, 0.5998912453651428, 0.6896529793739319, -0.05111547186970711, -0.33021101355552673, -0.5210439562797546, -0.2104431539773941, 0.16197200119495392, -0.15774016082286835, 0.5712239742279053, 0.4653550386428833, -0.2350999116897583, 0.5228613018989563, 0.755316436290741, -0.028830543160438538, 0.20590907335281372, -0.029054051265120506, 0.9851751327514648, -0.6865653991699219, -0.46948179602622986, -0.6865920424461365, 0.05315045267343521, -0.3317882716655731, 0.0855344757437706, 0.7330055236816406, 0.7909229397773743, 0.35735461115837097, 0.07340854406356812, 0.8050247430801392, 0.062473706901073456, 0.8105347752571106, -0.4988732933998108, 0.6298636198043823, -0.666774332523346, 0.5078164935112, -0.02895011380314827, -1.1471619606018066, -0.2514551281929016, 0.29019519686698914, -0.8816211819648743, -0.038628410547971725, 0.770451009273529, 1.087509036064148, 0.08819061517715454, 0.12922297418117523, 0.44341811537742615, 0.41117599606513977, 0.023244550451636314, 0.3125319480895996, 0.9262929558753967, -0.14145633578300476, 0.7012129426002502, 0.13504919409751892, -0.28471362590789795, -0.31173720955848694, -0.760667622089386, -0.6753127574920654, -0.5095744132995605, -0.2863104045391083, -0.3758115768432617, 0.10858456790447235, 0.682745635509491, 0.7636745572090149, -0.693715512752533, -0.11090117692947388, -0.06109655275940895, 0.1461324840784073, 0.07943593710660934, -0.33802303671836853, 0.4930189251899719, -0.4800001382827759, -0.7678948640823364, 0.7465633749961853, 0.254802942276001, -0.37719693779945374, -0.24623635411262512, 0.01718393713235855, -0.3823379874229431, 0.2821561098098755, 0.5751152634620667, 0.24499283730983734, -0.4918535649776459, 0.11736349016427994, 0.29516658186912537, 0.02343330904841423, -0.08610127121210098, 0.8751611113548279, -0.9982441663742065, 0.34988343715667725, 0.4551021456718445, 0.8003647327423096, 0.6682950258255005, 0.12569496035575867, 0.7283292412757874, -0.6488987803459167, -0.06110682711005211, 0.32931023836135864, 0.2365589737892151, 0.11342056840658188, -0.6529607176780701, 0.3965512812137604, 0.1143617033958435, -0.293895423412323, -0.6362562775611877, 0.07345275580883026, -0.918616533279419, -0.3503047525882721, 1.3033791780471802, 0.10405365377664566, -0.4106389582157135, 0.04093838855624199, -0.3052297830581665, 0.060297511518001556, -0.509181559085846, 0.5840073823928833, 0.6936650276184082, -0.1627071350812912, -0.04825340211391449, -0.4436662793159485, 0.325687050819397, 0.7606046199798584, -0.40359142422676086, -0.016453776508569717, 0.6514990329742432, 0.21914450824260712, 0.2112308144569397, 0.6087515950202942, -0.5255898237228394, 0.2967507541179657, -0.32813841104507446, -0.2580818831920624, 0.26466307044029236, -0.10735813528299332, 0.03514179214835167, 0.6621940732002258, 0.33266618847846985, 0.1874610036611557 ]
http://arxiv.org/abs/2402.18025v1
http://arxiv.org/pdf/2402.18025v1
Hire a Linguist!: Learning Endangered Languages with In-Context Linguistic Descriptions
2024-02-28T03:44:01
2024-02-28T03:44:01
Kexun Zhang, Yee Man Choi, Zhenqiao Song, Taiqi He, William Yang Wang, Lei Li
cs.CL
cs.CL
How can large language models (LLMs) process and translate endangered languages? Many languages lack a large corpus to train a decent LLM; therefore existing LLMs rarely perform well in unseen, endangered languages. On the contrary, we observe that 2000 endangered languages, though without a large corpus, have a grammar book or a dictionary. We propose LINGOLLM, a training-free approach to enable an LLM to process unseen languages that hardly occur in its pre-training. Our key insight is to demonstrate linguistic knowledge of an unseen language in an LLM's prompt, including a dictionary, a grammar book, and morphologically analyzed input text. We implement LINGOLLM on top of two models, GPT-4 and Mixtral, and evaluate their performance on 5 tasks across 8 endangered or low-resource languages. Our results show that LINGOLLM elevates translation capability from GPT-4's 0 to 10.5 BLEU for 10 language directions. Our findings demonstrate the tremendous value of linguistic knowledge in the age of LLMs for endangered languages. Our data, code, and model generations can be found at https://github.com/LLiLab/llm4endangeredlang.
[ -0.14675401151180267, -0.3752983808517456, 0.26583918929100037, 0.31692808866500854, -0.2943776547908783, 0.0758155956864357, -0.5110816955566406, -0.6274866461753845, 0.10880454629659653, 0.8151609301567078, -0.5507543683052063, -0.35019874572753906, -0.5484665632247925, 0.28612834215164185, -0.4608593285083771, 0.6520798802375793, 0.1819794774055481, -0.14020204544067383, -0.10834114998579025, -0.14695855975151062, -0.29495322704315186, -0.46637803316116333, -0.4311694800853729, -0.039433058351278305, 0.3708714544773102, 0.6513522267341614, 0.7789047360420227, 0.9128673076629639, 0.18299028277397156, 0.3337010443210602, -0.4237079322338104, 0.13389888405799866, -0.8358831405639648, 0.188642218708992, -0.18257711827754974, -0.6430116891860962, -0.24778342247009277, -0.07448924332857132, 0.7108173966407776, 0.9020722508430481, 0.19385921955108643, -0.041721802204847336, -0.1030062735080719, 0.4487389922142029, -0.4913391172885895, 0.126936137676239, -0.995096743106842, 0.11567559838294983, -0.3433992266654968, -0.2613062560558319, -0.5298840999603271, -0.3573116958141327, 0.21896909177303314, -0.7508218884468079, -0.13574762642383575, -0.09934771806001663, 0.5974687933921814, 0.33927327394485474, -0.38017627596855164, -0.29801997542381287, -0.4239438772201538, 0.9587143659591675, -0.5588856935501099, 0.2290167361497879, 0.6894874572753906, -0.11169778555631638, -0.25461745262145996, -0.48375874757766724, -0.29770222306251526, -0.10196870565414429, -0.1184169128537178, 0.11732630431652069, -0.1288653314113617, 0.035055484622716904, 0.15045325458049774, 0.27705854177474976, -0.5004914999008179, 0.43476176261901855, -0.3057197630405426, -0.0821661651134491, 0.35118988156318665, -0.0452788844704628, 0.36361175775527954, -0.16140177845954895, -0.4136312007904053, 0.024768611416220665, -0.827421247959137, -0.2534879446029663, 0.2935319244861603, 0.4118509590625763, -0.029687413945794106, 0.3921731412410736, -0.16387970745563507, 0.6919409036636353, -0.16550765931606293, 0.10046751797199249, 0.275251567363739, 0.24748419225215912, 0.04758712649345398, 0.0008147057378664613, 0.38644102215766907, 0.23577170073986053, 0.26871931552886963, -0.2633761167526245, -0.26326805353164673, -0.39075222611427307, 0.21171921491622925, -0.8018214106559753, -0.040790386497974396, -0.12287890166044235, -0.2951282858848572, -0.32974618673324585, -0.7270169258117676, -0.7574037909507751, -0.34883150458335876, 0.04822569712996483, 0.2527545392513275, -0.5798198580741882, -0.36808767914772034, -0.023066744208335876, 0.11020106077194214, 0.22752493619918823, 0.2060965597629547, -1.096145749092102, 0.02402815967798233, 0.5132006406784058, 0.8892808556556702, -0.11050663888454437, -0.4097514748573303, -0.715566098690033, 0.1819162666797638, -0.5422798991203308, 0.5072516202926636, -0.6878030300140381, -0.4300273060798645, 0.3289009928703308, 0.20623964071273804, -0.18592265248298645, -0.6155806183815002, 0.7185713648796082, -0.7290752530097961, 0.0014972847420722246, 0.09022364765405655, -0.44010111689567566, -0.5838170647621155, 0.08697434514760971, -0.5277131199836731, 0.9381884336471558, 0.24909384548664093, -0.5542986989021301, 0.1950053870677948, -0.5885514616966248, -0.35122713446617126, 0.7515276670455933, 0.23985013365745544, -0.08174793422222137, 0.24866734445095062, 0.11479971557855606, 0.37511271238327026, 0.050799135118722916, 0.1520819365978241, -0.18578821420669556, -0.21010933816432953, 0.3706255555152893, -0.3658294081687927, 1.0931750535964966, 0.29255756735801697, -0.27566346526145935, 0.017942922189831734, -0.3606174886226654, 0.13835924863815308, -0.07783130556344986, -0.7153443694114685, -0.4629971385002136, -0.05561258643865585, 0.21950548887252808, 0.1781916469335556, 0.22463089227676392, -0.30994951725006104, 0.032163385301828384, -0.804576575756073, 0.3623999059200287, 0.6609435677528381, -0.35848352313041687, 0.4915958344936371, -0.12405264377593994, 0.7134225964546204, -0.3244746923446655, -0.06404885649681091, 0.02190096490085125, -0.22695006430149078, -1.0865848064422607, -0.21303564310073853, 0.13272880017757416, 0.6369190812110901, -0.7755028605461121, 0.173807293176651, -0.35729560256004333, -0.27170562744140625, -0.5179339647293091, 0.37720179557800293, 0.30203351378440857, 0.2685626149177551, 0.33665379881858826, -0.23654113709926605, -0.5714008212089539, -0.7063806056976318, -0.41729381680488586, -0.3536478877067566, 0.09713276475667953, 0.26449504494667053, 0.22262273728847504, -0.5983878970146179, 0.6383492350578308, -0.015160181559622288, -0.22093388438224792, -0.3610202372074127, -0.04974151775240898, 0.15591318905353546, 0.3961189389228821, 0.422023206949234, -0.7948213219642639, -0.43712297081947327, 0.14349354803562164, -0.8083602786064148, -0.22586479783058167, 0.16223843395709991, -0.2602858245372772, 0.4969783127307892, 0.684113621711731, -0.5116694569587708, -0.0037179370410740376, 0.6771675944328308, 0.07779757678508759, 0.1976408064365387, -0.18915989995002747, -0.31463730335235596, -0.825739860534668, 0.2253289371728897, -0.38739654421806335, -0.3359523117542267, -0.8259310722351074, 0.2759605050086975, 0.16966378688812256, -0.2941878139972687, -0.7044702172279358, 0.8564703464508057, -0.6451565623283386, 0.012057003565132618, -0.22589704394340515, 0.15235495567321777, -0.7461451292037964, 0.371721476316452, 0.43970680236816406, 0.4687092900276184, 0.7109199166297913, -0.51145339012146, 0.043711382895708084, 0.5293068289756775, -0.4494611322879791, 0.19374719262123108, -0.017913537099957466, 0.07015566527843475, 0.005918821319937706, -0.2750283479690552, -0.5091318488121033, -0.47862374782562256, 0.15610051155090332, -0.23282159864902496, 0.6080717444419861, -0.46197202801704407, -0.10924579203128815, -0.2753641903400421, -0.04720475152134895, 0.44461590051651, 0.4885609447956085, -0.619022011756897, 0.3738016188144684, 0.7442901134490967, -0.647358238697052, -0.6996640563011169, -0.6762421131134033, 0.4548538327217102, -0.48236924409866333, -0.3482014536857605, -0.09979952126741409, -0.28687408566474915, -0.06259498745203018, 0.13913236558437347, -0.050464238971471786, -0.31498220562934875, 0.5292524099349976, 0.3012829124927521, 0.1384914368391037, -0.12578538060188293, 0.18502512574195862, -0.14998038113117218, -0.11236690729856491, -0.01627998985350132, -0.47932350635528564, 0.3501545488834381, -0.32547155022621155, 0.04921003058552742, 0.2063654661178589, 0.2176365852355957, 0.4496784508228302, -0.2007320672273636, 0.517250120639801, 0.4212578237056732, -0.3415440320968628, -0.31792885065078735, -0.4024690091609955, 0.27765345573425293, -0.4771551787853241, 0.6265444755554199, -0.18278853595256805, -1.0291531085968018, 0.2354281097650528, -0.36092206835746765, 0.14138242602348328, 0.39277222752571106, 0.5892690420150757, 0.2967577874660492, 0.6280592679977417, 0.9283732175827026, -0.28348487615585327, 0.6002580523490906, -0.14135903120040894, 0.10548926144838333, -0.4527270197868347, -0.13015641272068024, -0.1834000051021576, 0.0017833602614700794, -0.5018131732940674, -0.6148117184638977, 0.4164201319217682, 0.37902596592903137, 0.07441452145576477, 0.48696911334991455, -0.31532999873161316, 0.7985575199127197, 0.5242376923561096, -0.076130710542202, 0.26018401980400085, 0.1873323917388916, -0.19831687211990356, 0.03251734748482704, -0.9400454163551331, -0.7461215257644653, 0.9757416248321533, 0.2253076285123825, 0.5773064494132996, 0.09238319098949432, 0.706922173500061, 0.10393465310335159, 0.5522802472114563, -1.0768818855285645, 0.690674364566803, -0.25328144431114197, -0.6548821330070496, -0.7120590806007385, -0.5236076712608337, -0.7919236421585083, 0.41765251755714417, 0.025537988170981407, -0.43406227231025696, 0.13033229112625122, 0.01936274766921997, -0.08729200065135956, 0.2174833118915558, -0.4390886723995209, 0.9648918509483337, -0.847151517868042, -0.3938017785549164, -0.35716572403907776, -0.6978762745857239, 0.29216268658638, -0.4862123429775238, 0.610256016254425, -0.24709463119506836, -0.24023842811584473, 0.6279319524765015, -0.21255838871002197, 0.9468204975128174, -0.09995537996292114, 0.04511837661266327, 0.04834943637251854, 0.5430305004119873, 0.28976118564605713, -0.10214053094387054, -0.3214797377586365, 0.15817813575267792, -0.2286389172077179, -0.3513432741165161, 0.12373284995555878, 0.713144838809967, -0.626578688621521, -0.6188833117485046, -0.41998395323753357, -1.0446773767471313, -0.24870562553405762, 0.6252277493476868, 0.2381410151720047, 0.08113179355859756, -0.4598798155784607, 0.057381097227334976, 0.5115000009536743, -0.5869726538658142, 0.5518117547035217, 0.7094665169715881, 0.08260396122932434, -0.19728001952171326, 0.8827173709869385, 0.10993638634681702, 0.3039112687110901, 0.4800032675266266, 0.11865310370922089, -0.3558214008808136, -0.6514266133308411, -0.6038159728050232, 0.2259095460176468, -0.9764765501022339, -0.12671300768852234, -0.8500372171401978, -0.09437880665063858, -0.095745749771595, -0.3263603448867798, -0.12067922204732895, -0.44797593355178833, -0.3489803671836853, -0.14654946327209473, 0.37746667861938477, 0.8007071614265442, -0.4508129954338074, 0.19750170409679413, -0.662321150302887, -0.10945599526166916, 0.27047988772392273, 0.20643839240074158, -0.0871259793639183, -0.787759006023407, -0.44745638966560364, 0.2068796157836914, -0.16141054034233093, -0.4183706045150757, 0.9033954739570618, 0.6340562701225281, 0.7457482218742371, 0.3189689517021179, 0.2037741094827652, 0.651799201965332, -0.5318092107772827, 0.40382295846939087, -0.009917945601046085, -0.8814353346824646, 0.26124829053878784, -0.4365374445915222, 0.16446875035762787, 0.3012508451938629, 0.7604928612709045, -0.8595476746559143, -0.7307323217391968, -0.3296268880367279, -1.0999795198440552, 1.0333524942398071, -0.02473551593720913, 0.43057891726493835, -0.2842899560928345, -0.021999599412083626, 0.07096073031425476, 0.15647175908088684, -1.089518666267395, 0.28832101821899414, -0.17771705985069275, -0.00423777662217617, -0.3105084002017975, -0.679409384727478, -0.13947060704231262, -0.03535483032464981, 0.6996279358863831, -0.14722402393817902, -0.05149872228503227, -0.12959234416484833, -0.8273981809616089, -0.3548240065574646, 0.3448989689350128, 0.44673794507980347, 0.5124279260635376, -0.2240348905324936, 0.3966672122478485, 0.37057697772979736, -0.1062505766749382, 0.00697660818696022, -0.025915687903761864, -0.18009549379348755, 0.03127804398536682, 0.5340015292167664, 0.7129437923431396, 0.6658156514167786, -0.9447664618492126, 0.46455028653144836, 0.2248528003692627, -0.194980651140213, -0.47324681282043457, -0.15100927650928497, 0.4604695737361908, 0.13355150818824768, 0.12231148034334183, -0.09631547331809998, -0.058394502848386765, -0.5079123973846436, 0.04147305339574814, 0.3482477068901062, -0.31423506140708923, -0.10403851419687271, 0.7647771835327148, 0.31370872259140015, -0.12566761672496796, 0.7415459156036377, -0.28929364681243896, -0.823112428188324, 0.2946467697620392, 0.6476751565933228, 0.8000583052635193, -0.29528629779815674, 0.28889697790145874, 0.17982439696788788, 0.44287946820259094, -0.28224626183509827, -0.014241456054151058, 0.10916011035442352, -0.7013047933578491, -0.29694026708602905, -0.8677190542221069, -0.46770262718200684, 0.1819574236869812, -0.4128480553627014, 0.14246955513954163, -0.08111688494682312, 0.2340044528245926, -0.22667792439460754, -0.30808064341545105, -0.5734606385231018, -0.2665279805660248, 0.10188576579093933, 0.8550141453742981, -0.8927059769630432, 0.6372358202934265, 0.5696794986724854, -0.25442588329315186, -0.6059197187423706, -0.14704659581184387, 0.050569549202919006, -1.0258705615997314, 0.8810819983482361, 0.11882791668176651, 0.00549670122563839, 0.2613256573677063, -0.3101125657558441, -0.883878767490387, 0.5022794008255005, 0.7650777697563171, -0.3787045478820801, 0.1698588728904724, 0.06265538185834885, 0.5227867960929871, -0.18616324663162231, 0.1794322282075882, 0.3945716917514801, 0.28954365849494934, 0.04389461502432823, -0.8800702691078186, -0.1453891396522522, -0.19508416950702667, 0.02675624005496502, 0.1214517280459404, -0.422517329454422, 0.6531626582145691, -0.24944807589054108, -0.4837939143180847, 0.4514153003692627, 0.16734734177589417, -0.2184586524963379, -0.21162588894367218, 0.49845942854881287, 0.263445109128952, 0.8650104999542236, 0.20025520026683807, 1.0063960552215576, -0.3627780079841614, 0.15980345010757446, 0.9292442798614502, -0.2255224585533142, 0.9662644863128662, 0.3256676495075226, 0.25725841522216797, 0.16059204936027527, 0.7787468433380127, 0.2971707582473755, 0.49426406621932983, 0.27055662870407104, -0.5394515991210938, -0.5884628891944885, -0.3801344037055969, -0.13964146375656128, 0.3708423674106598, 0.5698121786117554, -0.17557035386562347, -0.3509771227836609, 0.12733297049999237, -0.08959095180034637, 0.14551280438899994, -0.5212469696998596, 0.601212203502655, 0.2505871057510376, -0.4258321225643158, 1.2025483846664429, -0.13355907797813416, 0.5923389196395874, -0.4494367837905884, 0.10777460038661957, -0.47219985723495483, 0.3223760426044464, -0.3317582905292511, -0.5845240354537964, 0.24905267357826233, 0.12259968370199203, -0.02415079064667225, -0.5903863906860352, 0.6642310619354248, -0.8592064380645752, -0.5283308029174805, 0.5819133520126343, 0.5818558931350708, 0.8463691473007202, 0.09153144061565399, -0.3791714310646057, -0.1430111974477768, 0.0798964872956276, -0.07829907536506653, 0.3044016659259796, 0.7433680891990662, -0.4237869083881378, 1.0237634181976318, 0.408422589302063, 0.43932655453681946, 0.4167165160179138, -0.1258777379989624, 0.8652298450469971, -0.3272482454776764, -0.38214248418807983, -0.5904256701469421, 0.2153090089559555, 0.09469759464263916, -0.1233995109796524, 0.7861188650131226, 0.6790755391120911, 1.1817361116409302, -0.4710034132003784, 0.6966312527656555, 0.006745478603988886, 0.6972169876098633, -0.38605865836143494, 0.8300853967666626, -0.5556308627128601, 0.12154536694288254, -0.2797394096851349, -0.7136808633804321, -0.4728167951107025, 0.7507691979408264, -0.3730049133300781, -0.3614482283592224, 0.5309067964553833, 0.9930253028869629, -0.1730032116174698, -0.35381895303726196, 0.6506381630897522, 0.4372981786727905, -0.10347792506217957, 0.579800546169281, 1.211416244506836, 0.1134449914097786, 0.8868116736412048, -0.026154087856411934, -0.3058232367038727, -0.3209463357925415, -0.9128908514976501, -0.8822782039642334, -0.3122265338897705, -0.05672618746757507, 0.19017435610294342, 0.09193973243236542, 0.7168855667114258, 0.747718334197998, -0.7429593801498413, -0.7890163660049438, -0.0008213528781197965, 0.07286949455738068, -0.02233068458735943, -0.1325492411851883, 0.10334153473377228, -0.5743290185928345, -0.7968490123748779, 0.8442777991294861, 0.2815558910369873, 0.026183491572737694, 0.17453277111053467, -0.3610890209674835, -0.21481585502624512, -0.3432355225086212, 0.6705639362335205, 0.45202261209487915, -0.7570685744285583, -0.21938134729862213, -0.08715037256479263, 0.015621337108314037, -0.3171781897544861, 0.5853500962257385, -0.502342700958252, 0.6193874478340149, 0.1288904994726181, 0.9204245209693909, 0.5928348302841187, -0.32508671283721924, 0.6396392583847046, -0.6523609161376953, 0.6109024286270142, 0.5070754885673523, 0.2941383123397827, 0.3860474228858948, -0.26158392429351807, 0.7059112787246704, 0.22593122720718384, -0.5722697973251343, -0.9359021782875061, 0.21245068311691284, -0.6831316351890564, -0.2345084398984909, 1.1969085931777954, -0.28769010305404663, -0.08290819078683853, -0.23406019806861877, -0.10196033865213394, 0.16690272092819214, -0.1557416468858719, 0.565602719783783, 0.5798845887184143, 0.24251890182495117, -0.29361066222190857, -0.7951126098632812, 0.6396897435188293, 0.5834974050521851, -0.5258310437202454, 0.43085408210754395, 0.5736282467842102, 0.37806180119514465, -0.07133413851261139, 0.6439530253410339, -0.09601514041423798, 0.17763401567935944, -0.16268156468868256, 0.17567721009254456, 0.025689059868454933, -0.16553175449371338, -0.6035893559455872, -0.1601666510105133, 0.6473211050033569, -0.008473432622849941 ]
http://arxiv.org/abs/2403.00829v1
http://arxiv.org/pdf/2403.00829v1
TroubleLLM: Align to Red Team Expert
2024-02-28T03:40:46
2024-02-28T03:40:46
Zhuoer Xu, Jianping Zhang, Shiwen Cui, Changhua Meng, Weiqiang Wang
cs.AI
cs.AI, cs.CL
Large Language Models (LLMs) become the start-of-the-art solutions for a variety of natural language tasks and are integrated into real-world applications. However, LLMs can be potentially harmful in manifesting undesirable safety issues like social biases and toxic content. It is imperative to assess its safety issues before deployment. However, the quality and diversity of test prompts generated by existing methods are still far from satisfactory. Not only are these methods labor-intensive and require large budget costs, but the controllability of test prompt generation is lacking for the specific testing domain of LLM applications. With the idea of LLM for LLM testing, we propose the first LLM, called TroubleLLM, to generate controllable test prompts on LLM safety issues. Extensive experiments and human evaluation illustrate the superiority of TroubleLLM on generation quality and generation controllability.
[ -0.2354109138250351, -0.834354817867279, 0.3122767508029938, 0.5553160309791565, -0.04746301844716072, 0.1751987636089325, -0.11628570407629013, -0.3721473515033722, -0.13996590673923492, 0.4813772439956665, -0.7189281582832336, -0.42275458574295044, -0.4993186891078949, 0.31609663367271423, -0.37612804770469666, 0.8408325910568237, -0.2944466471672058, -0.29108190536499023, -0.06753817200660706, 0.034613028168678284, -0.7549523711204529, -0.4685691297054291, -0.8560688495635986, -0.11937598884105682, 0.5396794080734253, 0.6636527180671692, 0.7734482884407043, 0.43600258231163025, 0.6858178973197937, 0.31179171800613403, -0.11686450242996216, 0.321947306394577, -0.4825146198272705, 0.3754713833332062, -0.07708919793367386, -0.3666771650314331, -0.3627570569515228, -0.04559672623872757, 0.39822155237197876, 0.46534597873687744, -0.2528051733970642, -0.08725737780332565, 0.039007075130939484, 0.43725866079330444, -0.35503536462783813, 0.020209571346640587, -0.68910151720047, 0.0006861030706204474, 0.05535006895661354, -0.22341229021549225, -0.592782199382782, -0.7476878762245178, -0.18785376846790314, -0.4320686459541321, -0.08334580808877945, 0.6255474090576172, 0.8687596321105957, 0.594861626625061, -0.3038596212863922, -0.23153544962406158, -0.581795334815979, 1.0928370952606201, -0.6992818117141724, 0.14532384276390076, 0.18238726258277893, 0.5198143124580383, -0.5548921823501587, -0.1890813559293747, -0.6903846263885498, -0.25511330366134644, 0.0027701305225491524, -0.03703375905752182, -0.35821065306663513, -0.05949924886226654, 0.1088264212012291, -0.08914148807525635, -0.8516156077384949, 0.518621563911438, -0.08179190754890442, -0.3081851899623871, 0.9588032960891724, 0.6261062026023865, 0.5899773240089417, -0.008288073353469372, -0.6376840472221375, -0.003220881335437298, -0.892102837562561, -0.4344216585159302, 0.23896998167037964, 0.4403103291988373, -0.22113758325576782, 0.6483701467514038, 0.017791103571653366, 0.8227450847625732, -0.1525878757238388, -0.22648245096206665, -0.0870976522564888, -0.36897143721580505, -0.37514039874076843, 0.14470945298671722, 0.8219457268714905, 0.615917980670929, 0.5145466327667236, -0.032177843153476715, -0.2186182737350464, 0.002016953658312559, 0.3353957235813141, -0.5934418439865112, -0.17232495546340942, 0.38379451632499695, -0.019423378631472588, -0.45600125193595886, -0.19786842167377472, -0.8092248439788818, -0.5712164044380188, -0.1724809855222702, 0.3042362928390503, -0.4792942702770233, -0.43032020330429077, 0.047233860939741135, 0.31595665216445923, 0.2798357903957367, 0.21501252055168152, -0.612437903881073, -0.07501797378063202, 0.5396860837936401, 0.47358086705207825, -0.7273073196411133, -0.30536696314811707, -0.4494152367115021, 0.11261808127164841, -0.38350242376327515, 0.5787748098373413, 0.03114333748817444, -0.501606822013855, 0.1285206824541092, -0.028537288308143616, -0.1056530624628067, -0.6615411043167114, 0.28978288173675537, -0.6430159211158752, 0.2990739047527313, 0.034359466284513474, -0.5002068281173706, 0.19157779216766357, 0.5590282678604126, -0.28541648387908936, 0.8962492942810059, 0.03157250955700874, -0.7486673593521118, 0.20133860409259796, -0.5677000284194946, -0.30706846714019775, 0.2942604720592499, -0.22404713928699493, -0.4377070665359497, -0.3515884578227997, -0.2928674519062042, 0.41215407848358154, -0.2730451226234436, 0.4608016312122345, 0.08495859801769257, -0.16266149282455444, 0.43124330043792725, -0.2851351797580719, 0.8164160847663879, 0.3545895516872406, -0.4366869628429413, 0.37583667039871216, -0.4128217399120331, 0.25532466173171997, 0.2959229648113251, -0.5554210543632507, -0.29573333263397217, -0.17871317267417908, -0.07929883897304535, 0.17643094062805176, 0.19255144894123077, -0.3301348388195038, -0.14284713566303253, -0.24702201783657074, 0.04186234623193741, 0.8633893728256226, 0.00798961240798235, 0.1615094393491745, -0.5674726963043213, 0.854171097278595, -0.04240419343113899, 0.2685292959213257, 0.04316967725753784, -0.42625439167022705, -0.8498244881629944, -0.11643363535404205, 0.18644855916500092, 0.845085620880127, -0.4119821786880493, 0.6148411631584167, 0.08910305052995682, -0.45213624835014343, -0.14254112541675568, 0.2815913259983063, 0.6405982375144958, 0.35714539885520935, 0.2414524406194687, 0.4174354374408722, -0.47197970747947693, -0.9347895979881287, -0.08455505222082138, -0.3559551537036896, 0.09277347475290298, 0.2554371654987335, 0.17013265192508698, -0.5440365076065063, 1.0671329498291016, -0.5890640020370483, -0.004316605627536774, -0.47397321462631226, 0.10597012937068939, -0.04181508347392082, 0.4819420576095581, 0.32334643602371216, -0.6679832935333252, -0.4688917398452759, -0.2593839466571808, -0.5494988560676575, -0.5352128148078918, 0.022879399359226227, -0.24849571287631989, 0.6226568222045898, 0.6196390986442566, -0.6403865814208984, -0.20188023149967194, 0.8041605353355408, -0.5359659194946289, 0.7318078875541687, -0.1431828886270523, -0.043260302394628525, -1.1979695558547974, -0.029863497242331505, 0.028827857226133347, -0.2395448237657547, -0.4540615379810333, 0.11820772290229797, 0.14240337908267975, -0.2978900969028473, -0.8052518963813782, 0.6626259088516235, -0.3503272831439972, 0.4329352378845215, -0.22872833907604218, 0.22194482386112213, -0.05122973769903183, 0.10881894826889038, -0.3356129229068756, 1.0575885772705078, 0.2478686422109604, -0.9018020033836365, 0.23352967202663422, 0.2518004775047302, -0.09690993279218674, 0.5146679878234863, -0.6040824055671692, -0.027972472831606865, -0.10750826448202133, -0.34535151720046997, -1.0672874450683594, -0.4416513442993164, 0.11709871888160706, -0.13063634932041168, 0.5198311805725098, 0.46345701813697815, -0.5702453851699829, -0.41958287358283997, -0.010822415351867676, 0.32237985730171204, 0.907410740852356, -0.4274141788482666, 0.13164855539798737, 0.5580660104751587, -0.4615856111049652, -0.39490967988967896, -0.5453599095344543, 0.048687975853681564, -0.601901113986969, -0.7320809364318848, 0.02967357449233532, -0.43816909193992615, -0.5618466138839722, -0.4271044433116913, 0.07024276256561279, -0.1602490395307541, 0.3911968171596527, 0.42213574051856995, 0.3505019247531891, -0.030413243919610977, 0.31514355540275574, -0.04554532840847969, -0.281647652387619, 0.2101515531539917, 0.3243222236633301, 0.40794461965560913, 0.008371591567993164, -0.2553999423980713, -0.34082499146461487, 0.5155286192893982, 0.496921181678772, -0.1487123817205429, 0.39142531156539917, 0.07035528868436813, -0.28760647773742676, -0.5713214874267578, -0.5950095057487488, -0.10143009573221207, -0.520002007484436, 0.32079723477363586, 0.18985970318317413, -0.9535987973213196, 0.11379260569810867, -0.26844802498817444, 0.14552634954452515, 0.20410366356372833, 0.5178645849227905, -0.2762250602245331, 0.9643256068229675, 0.7309368252754211, 0.007784651126712561, 0.08123626559972763, 0.2578801214694977, 0.20313626527786255, -0.16920599341392517, -0.2950111925601959, -0.6589294672012329, -0.11619265377521515, -0.2816780209541321, -0.29528579115867615, 0.3631838262081146, 0.15340062975883484, -0.6514747738838196, 0.20590150356292725, -0.4749578535556793, 0.5766372084617615, 0.23503388464450836, -0.1883334070444107, 0.39457404613494873, -0.12013614922761917, -0.25552329421043396, -0.3011931777000427, -0.7411454916000366, -0.8014439940452576, 0.510615885257721, 0.48546111583709717, 1.124861717224121, 0.3182205557823181, 0.7046496272087097, 0.18157479166984558, 0.5316486358642578, -0.6531111598014832, 0.7802466750144958, 0.0771905928850174, -0.5425944924354553, -0.3408525884151459, -0.30606186389923096, -1.01991605758667, -0.2289697527885437, -0.10269350558519363, -0.41250157356262207, -0.43610551953315735, 0.2808665633201599, -0.5524453520774841, 0.025126444175839424, -0.8378992676734924, 0.8250366449356079, -0.45568493008613586, -0.11787983030080795, 0.29154035449028015, -0.5138643383979797, 0.7561488747596741, -0.42061835527420044, 0.3003154695034027, -0.20821429789066315, -0.05326180160045624, 0.7367709279060364, -0.4403238892555237, 0.9803471565246582, -0.02412480115890503, -0.554497480392456, 0.33175674080848694, 0.49348101019859314, 0.6593868136405945, -0.05211912840604782, -0.09500842541456223, -0.06541759520769119, -0.4703804850578308, -0.037004612386226654, -0.23950748145580292, 0.8411973714828491, -0.5086877346038818, -0.866206705570221, -0.3158280551433563, -0.7438633441925049, -0.29374247789382935, 0.3302795886993408, 0.09671014547348022, -0.023402076214551926, 0.02721887268126011, -0.280804306268692, 0.9388852715492249, -0.6037508249282837, 0.6169911623001099, 0.6914690136909485, -0.3336734473705292, -0.07915086299180984, 0.8154634237289429, -0.3819875121116638, 0.52762770652771, 0.022574903443455696, 0.1746487319469452, -0.33487704396247864, -0.7677053809165955, -0.28789952397346497, 0.29065969586372375, -0.40141457319259644, -0.5874977707862854, -0.5835866928100586, -0.24459020793437958, 0.017111733555793762, -0.26689890027046204, -0.3918541669845581, -0.05275215953588486, -0.4700709879398346, -0.2079622894525528, 0.5549585223197937, 0.5513198971748352, 0.12820211052894592, 0.3979722261428833, -0.9540397524833679, 0.17483188211917877, 0.3995620608329773, 0.1375630795955658, -0.46708184480667114, -0.24434509873390198, 0.05590207874774933, -0.1909448653459549, -0.3863619863986969, -0.8033494353294373, 0.3676236867904663, -0.17005403339862823, 0.5086069107055664, 0.22410880029201508, 0.4919942617416382, 0.26463401317596436, -0.42878755927085876, 0.9140334725379944, 0.4198627769947052, -0.7156808376312256, 0.6801686882972717, -0.4135105013847351, 0.033478450030088425, 0.5477523803710938, 0.4726436734199524, -0.34394100308418274, -0.7006388902664185, -0.3732994794845581, -0.7183600068092346, 0.5044683814048767, 0.14833027124404907, 0.22371108829975128, -0.3048372268676758, 0.07719825208187103, 0.183408722281456, 0.010469827800989151, -0.5365474224090576, -0.3740583658218384, 0.13744905591011047, -0.38526976108551025, 0.006829041987657547, -0.49615564942359924, -0.43728306889533997, 0.2654551565647125, 0.469182550907135, -0.06181500479578972, 0.17453007400035858, 0.06459520012140274, -0.014433438889682293, -0.4910546541213989, 0.5903745889663696, 0.9021213054656982, 0.584019660949707, -0.09679234027862549, 0.3407491445541382, 0.2243068963289261, -0.16310253739356995, 0.477655827999115, -0.051816415041685104, -0.2186281830072403, -0.04109229892492294, 0.182612806558609, 0.5119479298591614, 0.18103884160518646, -0.9541082382202148, 0.43198162317276, -0.03234061971306801, -0.31563088297843933, -0.29046234488487244, 0.6247854232788086, 0.221695214509964, 0.21356983482837677, 0.2242293357849121, -0.2782120108604431, -0.49921783804893494, -0.19889535009860992, 0.3382200002670288, 0.533050000667572, -0.34135839343070984, 0.07286766916513443, 0.8579133749008179, 0.5335189700126648, -0.6692744493484497, 0.4510994851589203, -0.44522130489349365, -0.5328977704048157, 0.8030489683151245, 0.8299907445907593, 0.684380829334259, -0.4783470034599304, 0.29443639516830444, 0.3050781488418579, 0.48932164907455444, -0.047887858003377914, 0.615606963634491, 0.6819101572036743, -0.7912113070487976, -0.49699515104293823, -0.570402979850769, -0.5490816831588745, 0.22308102250099182, -0.27167809009552, 0.2615664005279541, -0.36605024337768555, -0.08263633400201797, -0.5092124938964844, -0.2579115033149719, -0.33750271797180176, 0.3007444441318512, 0.029504604637622833, 1.1603351831436157, -0.681908130645752, 0.5524195432662964, 0.6156545281410217, -0.007437005639076233, -1.17282235622406, -0.05915806069970131, -0.019028808921575546, -0.7450628876686096, 0.9266706705093384, 0.2169501781463623, 0.1770334094762802, 0.2207850068807602, -0.48236167430877686, -0.5478167533874512, 1.199724555015564, 0.5250584483146667, -0.9142269492149353, 0.08820711821317673, 0.2829190790653229, 0.20352739095687866, -0.24249817430973053, -0.08722338825464249, 0.4552215039730072, 0.8922805786132812, -0.06273674964904785, -0.9466193914413452, 0.46118655800819397, 0.02201301045715809, -0.0550851970911026, 0.4033583104610443, -0.6386474370956421, 0.7799480557441711, -0.6004166603088379, -0.501706600189209, -0.030739229172468185, 0.276151180267334, 0.8447805047035217, 0.18463779985904694, 0.5466716289520264, 0.34113162755966187, 0.8124276995658875, -0.18416927754878998, 1.1431196928024292, -0.17250025272369385, 0.16829152405261993, 1.0447016954421997, -0.4516031742095947, 0.4700418710708618, 0.6248183846473694, -0.3061731159687042, 0.14041456580162048, 0.6277358531951904, 0.14393511414527893, 0.3642972707748413, 0.5822784304618835, -0.27264147996902466, -0.4042552709579468, -0.21608085930347443, -0.4361996352672577, 0.17117156088352203, 0.12696093320846558, -0.2801770567893982, -0.378976970911026, -0.18972328305244446, 0.16893041133880615, 0.1361992359161377, -0.154160737991333, 0.6344690322875977, 0.1333349198102951, -0.6041139960289001, 0.7711412310600281, -0.09161841124296188, 0.9114952683448792, -0.646293580532074, 0.0954766795039177, -0.4538175165653229, 0.013921903446316719, -0.09474661201238632, -0.7525379657745361, 0.531071662902832, 0.06069520115852356, -0.051684677600860596, -0.23307079076766968, 0.6720225811004639, -0.5248823761940002, -0.32141709327697754, 0.34661468863487244, 0.5947868227958679, 0.12739042937755585, 0.05648180842399597, -0.6096792817115784, 0.1244899183511734, -0.035132162272930145, -0.11760459840297699, 0.2508145868778229, 0.19502633810043335, -0.12858682870864868, 0.8129176497459412, 0.3267727792263031, 0.055210500955581665, 0.3344237804412842, -0.16072586178779602, 0.641658365726471, -0.794736385345459, -0.30247512459754944, -0.9056829810142517, 0.7060542702674866, 0.15639592707157135, -0.2379472404718399, 0.7765945792198181, 0.19823379814624786, 0.44764402508735657, -0.17210088670253754, 0.8329366445541382, 0.17779994010925293, 0.398514986038208, -0.6323015689849854, 1.0153199434280396, -0.5113920569419861, 0.26652708649635315, -0.16388241946697235, -0.7443704605102539, -0.5833621621131897, 0.23946794867515564, 0.1911712884902954, -0.062425147742033005, 0.8710339069366455, 1.1159498691558838, 0.1990722119808197, -0.07210113853216171, 0.3852572441101074, 0.1975589394569397, 0.44181862473487854, 0.7425297498703003, 1.08698308467865, -0.15339086949825287, 0.7073565721511841, 0.029077766463160515, -0.2756832540035248, -0.29563724994659424, -1.2768675088882446, -0.8776580691337585, -0.040297601372003555, -0.6282718181610107, -0.331419438123703, -0.03710741922259331, 0.8524814248085022, 0.4499644339084625, -0.8172025680541992, -0.009894297458231449, -0.4243934154510498, 0.3864133656024933, 0.18909808993339539, -0.2994086742401123, 0.0938074067234993, -0.46714314818382263, -0.680753231048584, 0.5646621584892273, 0.0976555123925209, 0.583182156085968, -0.3889363408088684, -0.49305495619773865, 0.06190715730190277, -0.0711015909910202, 0.37556639313697815, 0.28465691208839417, -0.519659161567688, -0.3851359188556671, 0.03149992972612381, -0.46450525522232056, -0.19536471366882324, 0.6216309666633606, -0.18404075503349304, 0.07375393062829971, 0.33570051193237305, 0.8447583913803101, -0.3908010721206665, 0.04676606506109238, 0.8099668025970459, -0.7874236702919006, -0.07757450640201569, 0.23737962543964386, 0.23044729232788086, 0.30333927273750305, -0.5222487449645996, 0.4469103217124939, -0.14264148473739624, -0.7569936513900757, -1.0142111778259277, 0.3418503701686859, -1.0409294366836548, -0.10227519273757935, 1.6245441436767578, -0.1892726719379425, -0.026370804756879807, -0.3589072823524475, -0.33593010902404785, 0.2692726254463196, -0.26199042797088623, 0.7894338369369507, 0.5011309385299683, -0.19669441878795624, -0.11273510009050369, -0.36780646443367004, 0.5743438005447388, 0.6868780255317688, -1.2803152799606323, 0.24335186183452606, 0.43025726079940796, 0.4054861068725586, 0.20063666999340057, 0.4717627465724945, -0.0489501915872097, 0.11120001971721649, -0.45461806654930115, 0.20660878717899323, -0.4443909525871277, -0.34853658080101013, -0.36236289143562317, 0.2071719467639923, 0.38828563690185547, -0.1594814658164978 ]
http://arxiv.org/abs/2402.18023v2
http://arxiv.org/pdf/2402.18023v2
Do Large Language Models Mirror Cognitive Language Processing?
2024-02-28T03:38:20
2024-05-28T05:51:15
Yuqi Ren, Renren Jin, Tongxuan Zhang, Deyi Xiong
cs.AI
cs.AI, cs.CL
Large Language Models (LLMs) have demonstrated remarkable abilities in text comprehension and logical reasoning, indicating that the text representations learned by LLMs can facilitate their language processing capabilities. In cognitive science, brain cognitive processing signals are typically utilized to study human language processing. Therefore, it is natural to ask how well the text embeddings from LLMs align with the brain cognitive processing signals, and how training strategies affect the LLM-brain alignment? In this paper, we employ Representational Similarity Analysis (RSA) to measure the alignment between 23 mainstream LLMs and fMRI signals of the brain to evaluate how effectively LLMs simulate cognitive language processing. We empirically investigate the impact of various factors (e.g., pre-training data size, model scaling, alignment training, and prompts) on such LLM-brain alignment. Experimental results indicate that pre-training data size and model scaling are positively correlated with LLM-brain similarity, and alignment training can significantly improve LLM-brain similarity. Explicit prompts contribute to the consistency of LLMs with brain cognitive language processing, while nonsensical noisy prompts may attenuate such alignment. Additionally, the performance of a wide range of LLM evaluations (e.g., MMLU, Chatbot Arena) is highly correlated with the LLM-brain similarity.
[ -0.24412240087985992, -0.7481625080108643, 0.9232709407806396, 0.16367094218730927, -0.24360522627830505, -0.07096882164478302, -0.7188674807548523, -0.41492778062820435, 0.2483673095703125, 0.4272964298725128, -0.6357915997505188, -0.3948739469051361, -0.6340104341506958, 0.11212654411792755, -0.1920727789402008, 0.49183493852615356, 0.10276846587657928, 0.5829708576202393, -0.5728799104690552, -0.11591070890426636, -0.6527179479598999, -0.6069809794425964, -0.6225079298019409, -0.537863552570343, 0.45544034242630005, -0.1353345662355423, 0.7956417202949524, 0.6731192469596863, 0.4712557792663574, 0.32754555344581604, 0.08128999918699265, -0.045195408165454865, -0.3327930271625519, 0.20456475019454956, -0.23623311519622803, -0.6733407974243164, -0.4362403452396393, -0.000006269229288591305, 0.8527083396911621, 0.7497565746307373, -0.16213245689868927, 0.09382911771535873, 0.291410893201828, 0.5183327198028564, -0.38190922141075134, 0.17821185290813446, -0.8408730030059814, -0.2279336303472519, -0.11840417236089706, -0.19266192615032196, -0.4842665195465088, -0.2860032618045807, 0.02393067255616188, -0.4574887454509735, -0.13014185428619385, 0.2168523073196411, 0.7767997980117798, 0.30301201343536377, -0.3069808781147003, -0.26445627212524414, -0.34863540530204773, 0.9015317559242249, -0.822268009185791, 0.5831778645515442, 0.23932413756847382, 0.06538104265928268, -0.3167443573474884, -0.1897367537021637, -0.8881765604019165, -0.13280576467514038, -0.169123113155365, -0.09094157069921494, 0.05571127310395241, 0.023764384910464287, 0.4677349328994751, -0.0615234300494194, -0.7866323590278625, 0.3761376738548279, -0.10013952106237411, -0.19168812036514282, 0.4751327633857727, 0.3964429199695587, 0.4562753140926361, 0.014473671093583107, -0.16675980389118195, -0.5934574007987976, -0.6116840839385986, -0.05226846784353256, 0.29961079359054565, 0.2842232584953308, -0.08841683715581894, 0.63315349817276, 0.1813407838344574, 0.9209522604942322, 0.021206052973866463, -0.2551417350769043, 0.37452176213264465, -0.10424460470676422, -0.3128899335861206, 0.10622241348028183, 1.0454107522964478, 0.4225325584411621, 0.6243680119514465, -0.15658004581928253, -0.2381114959716797, 0.2904396057128906, 0.34851983189582825, -0.5327200293540955, 0.060630299150943756, 0.046867381781339645, -0.5093860030174255, -0.03116154670715332, -0.10473671555519104, -0.2943221628665924, -0.487060010433197, -0.7409260272979736, 0.4040398597717285, -0.6139459609985352, -0.16344034671783447, 0.19117645919322968, 0.12454989552497864, 0.6172842979431152, 0.2064339518547058, -1.0816688537597656, 0.32054945826530457, 1.010279655456543, 0.5808647274971008, -0.3317281901836395, -0.31621167063713074, -0.12267407029867172, 0.10443731397390366, -0.3006131649017334, 0.7452206611633301, -0.7919660210609436, 0.10826170444488525, 0.0946420431137085, -0.029109330847859383, -0.342373788356781, -0.5109320282936096, 0.3006221652030945, -0.9217720031738281, 0.06388187408447266, -0.4522527754306793, -0.5236756205558777, -0.13560190796852112, 0.3546948730945587, -0.6888871192932129, 0.6493682265281677, -0.37238937616348267, -0.7071732878684998, 0.255128413438797, -0.09562481194734573, -0.38224196434020996, -0.28406766057014465, -0.6896748542785645, -0.3260236382484436, 0.043033018708229065, 0.3415261507034302, 0.6664398908615112, -0.4181080162525177, 0.15318216383457184, -0.49647462368011475, -0.4348958134651184, 0.7445195913314819, -0.4020509123802185, 0.7387308478355408, -0.11954648047685623, -0.1637226790189743, 0.09421145915985107, -0.32614362239837646, 0.2182905524969101, 0.059897810220718384, 0.024160902947187424, -0.49655166268348694, 0.05104533210396767, -0.09758413583040237, 0.3172960579395294, 0.4290879964828491, -0.4526078701019287, 0.2903059124946594, -0.4016914367675781, 0.49653738737106323, 0.5221944451332092, -0.1432899832725525, 0.4687390625476837, -0.31287941336631775, 0.32669731974601746, 0.0009385355515405536, -0.1794355809688568, -0.17941629886627197, -0.3925480246543884, -0.368738055229187, -0.36487725377082825, 0.25888845324516296, 0.41118597984313965, -0.24590492248535156, 0.43103745579719543, -0.7467219233512878, -0.3022366166114807, -0.5448315143585205, 0.07540833950042725, 0.31959548592567444, 0.21429945528507233, 0.204228013753891, -0.2839403748512268, -0.6267995238304138, -1.0352368354797363, -0.33577457070350647, 0.042056530714035034, -0.13037359714508057, -0.06387492269277573, 0.20310179889202118, -0.13091790676116943, 0.7528938055038452, -0.3331764042377472, -0.37550482153892517, 0.10200248658657074, -0.0022169481962919235, 0.2427521049976349, 0.2714082896709442, 0.40652701258659363, -0.34476399421691895, -0.2795336842536926, -0.0662335455417633, -0.9104227423667908, -0.054399773478507996, -0.14414969086647034, 0.07078386843204498, 0.3301735520362854, 0.7375621199607849, -0.7597669363021851, 0.0673385038971901, 0.7117252349853516, -0.09065978229045868, 0.06856530904769897, -0.21343281865119934, 0.3251881003379822, -0.9752050638198853, -0.047319818288087845, -0.11959317326545715, -0.11604355275630951, -0.19940997660160065, -0.12944406270980835, 0.2580764591693878, 0.07058250904083252, 0.08931004256010056, 0.27563244104385376, -0.720142662525177, -0.4202169179916382, -0.40464407205581665, 0.5933247208595276, -0.2072487771511078, 0.4678236246109009, 0.352033406496048, 0.8209977149963379, 0.548965573310852, -0.30108654499053955, -0.11742960661649704, 0.05710218846797943, -0.40824854373931885, 0.5390986204147339, -0.5685675740242004, 0.3052213191986084, -0.12862417101860046, 0.2717683017253876, -1.3292542695999146, 0.16213011741638184, -0.07976415008306503, -0.47482991218566895, 0.3915109634399414, 0.3397122025489807, -0.5869239568710327, 0.006743405479937792, -0.2254621386528015, 0.4410129487514496, 0.6404735445976257, -0.2806859016418457, 0.8240545392036438, 0.3382154107093811, 0.049861643463373184, -0.728841245174408, -0.8033462166786194, -0.03131406754255295, -0.05944246053695679, -0.5454200506210327, 0.3879709243774414, 0.16856084764003754, -0.09389226883649826, -0.06796041131019592, 0.08634801208972931, 0.3236827850341797, -0.12423497438430786, 0.5862910747528076, 0.35800936818122864, -0.37041983008384705, 0.021498098969459534, -0.17477014660835266, 0.08634734153747559, 0.41720151901245117, -0.09443555772304535, 0.8668237924575806, -0.024148063734173775, -0.43301039934158325, -0.5250623226165771, -0.1211680993437767, 0.5933698415756226, -0.2461426556110382, 1.0706168413162231, 0.3630843460559845, -0.44022050499916077, 0.04332094267010689, -0.6713051199913025, -0.41966769099235535, -0.4308229684829712, 0.4680159091949463, -0.40754371881484985, -0.9077336192131042, 0.430039644241333, 0.1394856572151184, -0.05042452737689018, 0.19859416782855988, 0.8054923415184021, -0.3799361288547516, 1.0727148056030273, 0.35505351424217224, -0.2783394753932953, 0.49889230728149414, 0.15441791713237762, 0.1747109442949295, -1.1371405124664307, -0.21982164680957794, -0.39503079652786255, -0.4847034811973572, -0.2811751365661621, -0.4821355640888214, -0.0576215423643589, 0.03260596841573715, -0.3664582669734955, 0.4368702173233032, -0.3322716951370239, 0.5228486657142639, 0.052810586988925934, 0.07956380397081375, 0.29261332750320435, 0.2126552313566208, -0.274413138628006, -0.31860607862472534, -0.4654262661933899, -0.7299039363861084, 1.1166539192199707, 0.36105582118034363, 0.8105132579803467, -0.1671038717031479, 0.3895004093647003, -0.03295397385954857, 0.46791523694992065, -0.5648214817047119, 0.7229315042495728, 0.007179266773164272, -0.3578217029571533, -0.3471599817276001, -0.16359978914260864, -0.9413406848907471, 0.3202078342437744, -0.6896106600761414, -0.7068297863006592, -0.15696917474269867, -0.0997145026922226, -0.13716177642345428, 0.15131667256355286, -0.4353114664554596, 0.6023111343383789, -0.17751745879650116, -0.12115828692913055, -0.7162214517593384, -0.4026969075202942, 0.40807241201400757, -0.21262845396995544, 0.27502891421318054, 0.05231127515435219, -0.20019209384918213, 0.7426859736442566, 0.12219344824552536, 0.9004735350608826, 0.12279167771339417, -0.32298362255096436, 0.015548119321465492, 0.09757015109062195, 0.2021481692790985, -0.07649935036897659, -0.026448354125022888, 0.40108951926231384, 0.1359383463859558, -0.2468104064464569, -0.8636242747306824, 1.0431216955184937, -1.0267735719680786, -0.6818661093711853, -0.479338139295578, -0.5806143879890442, -0.34651392698287964, 0.022652646526694298, 0.06711866706609726, 0.08012203127145767, -0.25715887546539307, 0.08153533935546875, 0.7638347148895264, -0.11618389934301376, 0.25870782136917114, 0.47470247745513916, -0.34766247868537903, -0.48651981353759766, 0.47139009833335876, 0.1337725967168808, 0.24270214140415192, 0.6518048644065857, -0.25834915041923523, -0.29984766244888306, -0.6218819618225098, -0.25217437744140625, 0.5114543437957764, -0.6109073758125305, -0.20710785686969757, -0.576162576675415, -0.13323509693145752, -0.3698543906211853, 0.02149733528494835, -0.23281240463256836, -0.05611693486571312, 0.033344339579343796, 0.03034447506070137, 0.1835070699453354, 0.5737640857696533, 0.384300172328949, 0.4451078474521637, -0.5703679323196411, 0.10593679547309875, 0.21698273718357086, 0.3037850260734558, 0.2875669002532959, -0.558594286441803, -0.22591838240623474, 0.3289865553379059, -0.13822844624519348, -0.7793091535568237, 0.019416924566030502, -0.06133555993437767, 0.5231618881225586, 0.42165982723236084, -0.3215166926383972, 0.6796189546585083, -0.6464824676513672, 0.7361068725585938, 0.31834158301353455, -0.8041703104972839, 0.025737546384334564, -0.275768518447876, 0.31800946593284607, 0.4252910912036896, 0.49002888798713684, -0.44136857986450195, -0.289782851934433, -0.21455766260623932, -0.19870281219482422, 0.5951187610626221, 0.07133617252111435, 0.2527151107788086, -0.18637371063232422, 0.5080117583274841, -0.2226240038871765, -0.10493939369916916, -0.6517884731292725, -0.07027100026607513, 0.14795617759227753, -0.5410274267196655, -0.06387139111757278, -0.050554364919662476, -0.1606169492006302, -0.06429318338632584, 0.492184042930603, -0.12129756063222885, 0.4285620152950287, -0.04694613441824913, -0.08967621624469757, -0.21050317585468292, -0.008461927063763142, 0.6372888684272766, 0.5661728382110596, -0.03658730909228325, 0.10452323406934738, 0.34608280658721924, -0.49375730752944946, 0.025775359943509102, -0.38627469539642334, 0.19656959176063538, -0.35398560762405396, 0.6465106010437012, 0.5824602842330933, 0.3035404682159424, -0.8493844270706177, 0.638335108757019, -0.31604814529418945, -0.13310390710830688, -0.41904962062835693, 0.16084177792072296, 0.6154085397720337, 0.46821680665016174, 0.1908445656299591, -0.08506546169519424, -0.2823227047920227, -0.4939059317111969, -0.09245678782463074, 0.9452908039093018, -0.17895470559597015, -0.33742454648017883, 0.5231558084487915, -0.3506484627723694, -0.38998943567276, 0.9402567148208618, 0.36856913566589355, -0.40855541825294495, 0.44985100626945496, 0.7385928630828857, 0.649341344833374, -0.17002981901168823, -0.30627021193504333, 0.4834974706172943, 0.33686894178390503, -0.18716977536678314, 0.15801678597927094, 0.128762349486351, -1.098386287689209, -0.7487186789512634, -0.522064745426178, -0.12379810214042664, 0.1369909942150116, -0.6021183133125305, 0.5109559893608093, -0.5276166796684265, -0.338259220123291, 0.05492512509226799, -0.06879052519798279, -0.7596901059150696, 0.29469674825668335, 0.608974039554596, 0.6716530323028564, -0.8576558232307434, 1.2260457277297974, 0.8137101531028748, -0.27645522356033325, -0.8339361548423767, 0.005436140578240156, -0.20016850531101227, -0.9575929641723633, 0.6926038861274719, 0.1251860111951828, -0.25642064213752747, -0.27427899837493896, -0.5910590887069702, -1.0429750680923462, 1.124882698059082, 0.6764519214630127, -0.9438432455062866, 0.0475485622882843, 0.4057231545448303, 0.7916871309280396, -0.5920655131340027, 0.5004660487174988, 0.4798872470855713, 0.26662883162498474, -0.19327537715435028, -0.8727273941040039, 0.42838212847709656, 0.0035489979200065136, 0.19109661877155304, 0.2322772890329361, -0.6194902062416077, 0.5449578166007996, -0.011719922535121441, -0.15414857864379883, -0.07719919830560684, 0.8544231653213501, 0.6099392771720886, -0.07861189544200897, 0.5191831588745117, 0.6503092050552368, 0.6617571115493774, -0.0007654536166228354, 0.7204986810684204, -0.5178181529045105, 0.09789559245109558, 1.0703226327896118, -0.47405704855918884, 1.2309000492095947, 0.7726841568946838, -0.18028703331947327, 0.6773657202720642, 0.4138149619102478, 0.09875333309173584, 0.393604040145874, 0.20960184931755066, 0.27185991406440735, -0.4040468633174896, 0.3406241536140442, -0.23293285071849823, 0.2223808467388153, 0.4547857344150543, -0.47617030143737793, 0.0832463949918747, 0.165348619222641, -0.06045442074537277, 0.5173284411430359, -0.11272399872541428, 0.7362726926803589, 0.3355964720249176, -0.7135612964630127, 0.6849240064620972, -0.003995582927018404, 0.8491540551185608, -0.6375013589859009, 0.15229041874408722, 0.04682140052318573, 0.07839885354042053, -0.2597178816795349, -0.8880311250686646, 0.35931888222694397, -0.25351589918136597, -0.35269150137901306, -0.22937074303627014, 0.43092572689056396, -0.40422388911247253, 0.04721653088927269, 0.49176025390625, 0.25882989168167114, 0.14684656262397766, -0.13049165904521942, -0.605469286441803, 0.5080382823944092, -0.17019535601139069, -0.31923800706863403, 0.751623272895813, 0.37166160345077515, -0.3158583641052246, 0.5074878334999084, 0.541525661945343, 0.02843971736729145, 0.07582122832536697, 0.0710836723446846, 0.6821170449256897, -0.8307967185974121, -0.19501431286334991, -1.0761798620224, -0.0549943745136261, -0.05313197895884514, -0.09999320656061172, 0.5955965518951416, 0.4483085572719574, 0.7584372162818909, -0.20461958646774292, 0.37565121054649353, 0.12844182550907135, 0.08692147582769394, -0.7324866652488708, 0.6009788513183594, -0.18363310396671295, 0.2574145495891571, -0.1138310506939888, -1.397757887840271, -0.2080240100622177, 0.802138090133667, -0.7290222644805908, 0.03310510888695717, 0.785424530506134, 0.9910544753074646, -0.10579408705234528, 0.2750459611415863, 0.3569013476371765, 0.19458773732185364, 0.09059622138738632, 0.66522616147995, 0.7948652505874634, -0.4455243945121765, 0.26055335998535156, 0.15339191257953644, -0.052966680377721786, 0.14764976501464844, -0.8729802370071411, -1.135713815689087, -0.6920544505119324, -0.29925867915153503, -0.3146946132183075, -0.007885516621172428, 1.14631187915802, 0.6075948476791382, -0.6755260825157166, -0.41002368927001953, 0.11130523681640625, -0.1983186900615692, -0.36139580607414246, -0.16977383196353912, 0.47074076533317566, -0.4966336190700531, -0.6987375617027283, 0.15282559394836426, 0.1207234114408493, -0.2460923194885254, -0.49889010190963745, -0.09905509650707245, -0.10163046419620514, 0.146480530500412, 0.46343761682510376, -0.1391400843858719, -0.8636299967765808, -0.3907002806663513, 0.20996037125587463, -0.6847679615020752, 0.0341569259762764, 0.8141301274299622, -0.9553852677345276, 0.07473801076412201, 0.5326920747756958, 0.849635660648346, 0.37816664576530457, -0.17890115082263947, 0.6479833126068115, -0.3839855194091797, 0.10894452035427094, 0.018261373043060303, 0.38524481654167175, 0.37911608815193176, -0.3639245629310608, 0.16003549098968506, -0.30545976758003235, -0.6436317563056946, -0.600571870803833, -0.021372485905885696, -1.219175100326538, -0.27032390236854553, 1.1454133987426758, 0.16669267416000366, -0.5652918815612793, 0.2295864373445511, -0.2695654332637787, 0.3219814896583557, -0.15040229260921478, 0.7030353546142578, 1.0387892723083496, -0.17447245121002197, -0.1930711269378662, -0.4773693382740021, 0.3481363356113434, 0.6604170203208923, -0.3090720474720001, 0.1630849689245224, 0.25526654720306396, 0.5548607707023621, 0.21910594403743744, 0.5001023411750793, -0.3207486867904663, -0.05741823837161064, -0.26179173588752747, 0.2317265421152115, 0.14149661362171173, 0.13058215379714966, -0.5725818276405334, 0.023814095184206963, 0.15199996531009674, -0.010596477426588535 ]
http://arxiv.org/abs/2403.07921v1
http://arxiv.org/pdf/2403.07921v1
Merino: Entropy-driven Design for Generative Language Models on IoT Devices
2024-02-28T03:20:27
2024-02-28T03:20:27
Youpeng Zhao, Ming Lin, Huadong Tang, Qiang Wu, Jun Wang
cs.LG
cs.LG, cs.AI, cs.CL
Generative Large Language Models (LLMs) stand as a revolutionary advancement in the modern era of artificial intelligence (AI). However, directly deploying LLMs in resource-constrained hardware, such as Internet-of-Things (IoT) devices, is difficult due to their high computational cost. In this paper, we propose a novel information-entropy framework for designing mobile-friendly generative language models. Our key design paradigm is to maximize the entropy of transformer decoders within the given computational budgets. The whole design procedure involves solving a mathematical programming (MP) problem, which can be done on the CPU within minutes, making it nearly zero-cost. We evaluate our designed models, termed MeRino, across nine NLP downstream tasks, showing their competitive performance against the state-of-the-art autoregressive transformer models under the mobile setting. Notably, MeRino achieves similar or better zero performance compared to the 350M parameter OPT while being 4.9x faster on NVIDIA Jetson Nano with 5.5x reduction in model size. Code will be made available soon.
[ -0.23327261209487915, -0.1603952795267105, 0.32943984866142273, 0.34615737199783325, -0.2955273389816284, -0.21235822141170502, -0.17130015790462494, -0.5143129825592041, 0.14390382170677185, 0.4206671714782715, -0.5159597992897034, -0.4001275599002838, -0.5345012545585632, 0.0714876800775528, -0.31230536103248596, 0.6069275140762329, 0.10924756526947021, -0.3579655885696411, -0.20380644500255585, 0.20755521953105927, -0.09342986345291138, -0.10445903986692429, -0.4370708465576172, -0.2728274166584015, 0.3845287561416626, 0.34624725580215454, 0.5662307143211365, 0.6300539374351501, 0.6130779981613159, 0.28656309843063354, -0.016297589987516403, 0.08902157843112946, -0.12716026604175568, 0.37713325023651123, 0.15058453381061554, -0.6400303840637207, -0.3215961158275604, -0.2518930435180664, 0.04640219360589981, 0.09436210989952087, -0.4321383833885193, 0.31125858426094055, -0.08664973080158234, 0.8217298984527588, -0.837045431137085, 0.19309179484844208, -0.9941482543945312, 0.08824630081653595, -0.09914969652891159, -0.22848919034004211, -0.5088149905204773, -0.1375892162322998, -0.20304426550865173, -0.4415791928768158, 0.19856205582618713, -0.0103085245937109, 0.6020810008049011, 0.7668051719665527, -0.12385936826467514, -0.34381648898124695, -1.0903899669647217, 0.6707067489624023, -0.8113343119621277, 0.6687859296798706, 0.5942623019218445, -0.04919784516096115, 0.09441549330949783, -0.4311852753162384, -0.5591439604759216, -0.3572492003440857, 0.2795760929584503, 0.18578244745731354, -0.5214857459068298, -0.2793320119380951, -0.047751814126968384, 0.389614075422287, -0.7665796875953674, 0.22665251791477203, -0.1883402317762375, 0.12221460044384003, 0.6345905661582947, 0.2554081380367279, 0.012104988098144531, -0.03152481094002724, -0.2973708510398865, 0.04011821746826172, -0.8024740219116211, -0.28688251972198486, 0.2080005705356598, 0.2281147688627243, -0.3945308029651642, 0.32720619440078735, -0.4032854735851288, 0.8998339772224426, 0.008985554799437523, -0.4657784402370453, 0.053561024367809296, 0.11512208729982376, -0.2824591398239136, -0.010456321761012077, 1.0161221027374268, 0.21196424961090088, -0.22398637235164642, -0.406175434589386, -0.3340872824192047, -0.2745477557182312, 0.48569753766059875, -0.8111488819122314, -0.10183490812778473, 0.39168602228164673, -0.5409325957298279, -0.5576135516166687, -0.2603771984577179, -0.7049307823181152, -0.45713067054748535, -0.07466679066419601, 0.17447295784950256, -0.0722866803407669, -0.1578877568244934, 0.16219733655452728, -0.04391780123114586, 0.07927792519330978, 0.05069134384393692, -1.2491401433944702, -0.24029898643493652, 0.5071170330047607, 0.898746132850647, -0.025905603542923927, -0.029590090736746788, 0.06990932673215866, 0.35483554005622864, -0.08290007710456848, 0.5118027329444885, -0.23577843606472015, -0.5082111954689026, -0.2576250731945038, -0.41182518005371094, -0.16715997457504272, -0.5791866779327393, 0.8360041975975037, -0.8212169408798218, -0.02517622336745262, 0.4513392448425293, -0.22884535789489746, -0.04586757346987724, 0.1468666046857834, -0.7731565237045288, 0.5460588932037354, 0.04129016771912575, -0.8149218559265137, -0.05257773399353027, -0.8672354221343994, -0.7211888432502747, 0.174615278840065, 0.22100335359573364, -0.494916707277298, 0.3841644525527954, -0.06563369929790497, 0.49947550892829895, -1.030300259590149, 0.3374047875404358, -0.23329085111618042, -0.07261116802692413, 0.24384990334510803, -0.9357317686080933, 0.7656181454658508, 0.8735725283622742, -0.5645752549171448, 0.06491264700889587, -1.030290961265564, 0.11066417396068573, 0.08093006163835526, -0.4954976737499237, -0.26943743228912354, 0.2846100330352783, 0.053844913840293884, 0.17032389342784882, 0.31407788395881653, -0.6497012972831726, -0.01201558392494917, -0.1309814304113388, 0.7921423316001892, 0.6248642206192017, -0.6396228671073914, 0.5128616690635681, -0.10656619817018509, 0.48557576537132263, -0.45097965002059937, 0.4135904014110565, -0.019440283998847008, -0.5254676938056946, -0.8000020980834961, -0.4821101129055023, 0.12383123487234116, 0.8594769239425659, -0.6702189445495605, 0.7248380780220032, -0.4545019865036011, -0.7416974902153015, -0.5248205661773682, 0.22005106508731842, -0.006632841657847166, 0.339153528213501, 0.12169910222291946, 0.323208749294281, -0.48111826181411743, -0.8070818781852722, 0.04739557206630707, -0.2672634720802307, -0.49204203486442566, 0.3778297007083893, 0.2682039141654968, -0.6893393993377686, 0.9407181739807129, -0.53522127866745, -0.03411484137177467, -0.16528111696243286, 0.32932060956954956, 0.23757769167423248, 0.5136577486991882, 0.25225913524627686, -0.9006999135017395, -0.2272156924009323, 0.4260784387588501, -0.7573848366737366, -0.29941633343696594, -0.07239766418933868, 0.05554567277431488, 0.24549661576747894, 0.29119086265563965, -0.9304641485214233, 0.5284009575843811, 0.8630344867706299, -0.017023591324687004, 0.36159247159957886, -0.11566167324781418, -0.2476077377796173, -1.3808289766311646, 0.134514719247818, -0.038377150893211365, -0.05434480682015419, -0.5384856462478638, 0.11776591837406158, 0.025613537058234215, -0.42926594614982605, -0.37577757239341736, 0.4154498875141144, -0.061374232172966, 0.4936526417732239, -0.49481022357940674, -0.6021031737327576, -0.03520556911826134, 0.4577995538711548, 0.10141577571630478, 0.802625834941864, 0.5624456405639648, -0.7573139667510986, 0.3949839174747467, -0.4214078187942505, -0.30981409549713135, 0.35794705152511597, -0.8543601036071777, -0.05056994408369064, -0.131810262799263, 0.05432433262467384, -0.510847806930542, -0.216902494430542, 0.034037042409181595, -0.37102997303009033, 0.03092014417052269, -0.06652019172906876, -0.589413583278656, -0.5413597226142883, -0.09880033135414124, 0.6419764757156372, 0.4850534498691559, -0.614642858505249, 0.8705049753189087, 0.45292672514915466, 0.05288539081811905, -0.1327725201845169, -0.5880116820335388, 0.24479377269744873, -0.6194272637367249, -0.6322070956230164, 0.6565071940422058, -0.057883430272340775, -0.16224995255470276, -0.11055750399827957, 0.005592133849859238, -0.17074963450431824, 0.24409475922584534, 0.3828406035900116, 0.0636574998497963, -0.06478963792324066, 0.16063159704208374, -0.24913890659809113, -0.3578183352947235, -0.054902516305446625, -0.7979552745819092, 0.7562318444252014, -0.2652013599872589, -0.23923198878765106, -0.9463105797767639, 0.4842544198036194, 0.9663597345352173, -0.24507486820220947, 0.6868650317192078, 0.7316197752952576, -0.3056713044643402, -0.21111682057380676, -0.5020501613616943, 0.07876899838447571, -0.5653796792030334, 0.11244094371795654, -0.5679925680160522, -0.997645914554596, 0.5886082053184509, -0.14660871028900146, -0.11642105132341385, 0.5712772011756897, 0.8074102401733398, -0.3971877992153168, 0.7963131666183472, 0.9401364922523499, -0.37776321172714233, 0.6184278130531311, -0.2625657916069031, 0.6015390753746033, -0.7032620310783386, -0.2645862400531769, -0.5518953204154968, -0.16000375151634216, -0.8469011187553406, -0.44145143032073975, 0.6707807779312134, 0.06440316140651703, -0.3448794186115265, 0.4162565767765045, -0.5107195973396301, 0.35464608669281006, 0.9178237318992615, 0.10072969645261765, 0.11813263595104218, 0.16536997258663177, 0.21873155236244202, 0.45333293080329895, -0.9943937063217163, -0.3498566448688507, 0.9505857825279236, 0.22627665102481842, 1.2644840478897095, 0.301238477230072, 0.5297200679779053, 0.25525298714637756, 0.3202921450138092, -0.6988450884819031, 0.3099183142185211, -0.22721201181411743, -0.45871517062187195, -0.2744690179824829, -0.6721264123916626, -0.8644435405731201, 0.12726888060569763, 0.2064535766839981, -0.6409065127372742, 0.296436071395874, 0.07774781435728073, -0.32319700717926025, 0.5477471947669983, -0.6678065061569214, 0.6047822833061218, -0.41965654492378235, -0.2927771508693695, -0.22054055333137512, -0.4858722984790802, 0.30106422305107117, -0.030689051374793053, 0.0881267711520195, -0.025902576744556427, 0.1201297789812088, 0.5332360863685608, -0.7776369452476501, 0.7862183451652527, 0.20858420431613922, -0.42081084847450256, 0.6193105578422546, 0.06954805552959442, 0.49167683720588684, -0.004756989888846874, -0.24996627867221832, 0.22363963723182678, -0.43619588017463684, -0.21404924988746643, -0.5362014174461365, 0.6059086918830872, -0.549462616443634, -0.4713487923145294, 0.000842955254483968, -0.6887578368186951, 0.011082625947892666, 0.10178733617067337, 0.693341076374054, 0.2461674064397812, 0.07752875238656998, 0.3561331629753113, 0.7175959944725037, -0.13885298371315002, 0.7822619676589966, 0.3523937463760376, 0.3238745927810669, -0.4603358805179596, 1.1220173835754395, -0.31631943583488464, 0.1491958647966385, 0.7274338006973267, 0.2370378077030182, -0.11822878569364548, -0.19902770221233368, -0.683788001537323, -0.16781221330165863, -0.16714254021644592, -0.660207986831665, -0.512275218963623, -0.2747632563114166, -0.35924041271209717, -0.18726740777492523, -0.7027339339256287, -0.30144429206848145, -0.48511263728141785, 0.19909361004829407, 0.6011085510253906, 0.4510524570941925, -0.2613670825958252, 0.5680230855941772, -0.699134349822998, 0.2972024381160736, 0.48509806394577026, 0.4949662983417511, 0.27908554673194885, -0.4658852815628052, -0.39398613572120667, 0.04889776185154915, -0.44557109475135803, -0.5667617917060852, 0.46000561118125916, 0.023979967460036278, 0.1831139177083969, 0.698577344417572, 0.12954506278038025, 0.5124008655548096, -0.4685992896556854, 0.3741789758205414, 0.4787176549434662, -0.9131627678871155, 0.5716660022735596, -0.3402767479419708, 0.44903647899627686, 0.22593098878860474, 0.18065916001796722, -0.3818116784095764, -0.1793418526649475, -0.41901764273643494, -0.8735023736953735, 0.35629090666770935, 0.2964518070220947, 0.39758816361427307, 0.15952709317207336, 0.03921074792742729, -0.0522150918841362, 0.24971410632133484, -0.6841101050376892, -0.10954014211893082, -0.183344304561615, -0.3358360528945923, 0.28880107402801514, -0.381246417760849, 0.03650027513504028, -0.3019525110721588, 0.5406335592269897, 0.11603790521621704, 0.5810795426368713, 0.009383170865476131, -0.03689870238304138, 0.162257120013237, 0.33291980624198914, 0.9863659143447876, 0.18921886384487152, -0.15152403712272644, 0.35003140568733215, -0.21049764752388, -0.46752700209617615, 0.11339578777551651, -0.006256444379687309, -0.4219331443309784, 0.04123568907380104, 0.2700274586677551, 1.0517421960830688, -0.2715112566947937, -0.6186178922653198, 0.09170867502689362, -0.0441681407392025, 0.12309857457876205, -0.10297734290361404, 0.054338760673999786, -0.022096607834100723, 0.3399866819381714, 0.47005560994148254, 0.13848234713077545, 0.15244925022125244, -0.2841712534427643, 0.044036801904439926, 0.5208742618560791, -0.06228795647621155, -0.388964980840683, 0.9347996711730957, 0.28973981738090515, -0.5630071759223938, 0.5294345021247864, -0.4781705439090729, -0.6420341730117798, 0.5754984021186829, 0.8862440586090088, 1.2306311130523682, -0.3304470181465149, 0.257735013961792, 0.1837068349123001, 0.5533378720283508, 0.2163621187210083, 0.2381630837917328, -0.5785738825798035, -0.6674463152885437, -0.0732002854347229, -0.8401060104370117, -0.02531488798558712, 0.045491158962249756, -0.45202016830444336, -0.08998566120862961, -0.19297060370445251, -0.3254210352897644, -0.40288031101226807, -0.586297869682312, -0.5731212496757507, 0.3252653479576111, 0.3240727484226227, 0.5574632287025452, -0.5894958972930908, 0.7595422267913818, 0.24574215710163116, 0.041335154324769974, -0.5776864290237427, -0.003688193392008543, -0.28377580642700195, -0.7712278962135315, 0.7294424176216125, -0.16254454851150513, -0.5424550175666809, 0.0395527221262455, -0.4605768918991089, -0.9795128703117371, 0.9819383025169373, 0.28154927492141724, -0.4394955337047577, 0.2296864241361618, 0.44997552037239075, 0.4511249363422394, -0.2833717167377472, 0.07356633245944977, 0.15649141371250153, 0.26401302218437195, 0.14658145606517792, -0.9966700077056885, -0.31758543848991394, -0.48226112127304077, 0.26132532954216003, 0.098802350461483, -0.7142664790153503, 0.62856525182724, -0.4101423919200897, -0.09546947479248047, 0.12984931468963623, 0.5656048655509949, 0.09754563122987747, 0.3158419728279114, 0.25334542989730835, 0.8914909958839417, 0.8500528931617737, 0.18689417839050293, 1.093407392501831, -0.7112605571746826, 0.3631087839603424, 0.8926138281822205, -0.0874776691198349, 0.9274724721908569, 0.4136289656162262, -0.15007935464382172, 0.29950758814811707, 0.43575525283813477, 0.20919278264045715, 0.9138673543930054, 0.298978328704834, -0.6807540059089661, -0.0916278213262558, -0.27269262075424194, -0.3153153657913208, 0.581313967704773, 0.3083363473415375, -0.35910743474960327, -0.11344492435455322, 0.3257976472377777, 0.04724139720201492, -0.48246148228645325, -0.37014180421829224, 0.6507805585861206, 0.0746978148818016, -0.21219483017921448, 0.925978422164917, 0.5323733687400818, 0.8168082237243652, -0.15854555368423462, 0.446768194437027, -0.3312089741230011, 0.11067500710487366, -0.22970673441886902, -0.31794601678848267, 0.4416467249393463, 0.42103877663612366, -0.6106771230697632, -0.36606112122535706, 0.5822020769119263, -0.19242343306541443, -0.8634273409843445, -0.18981602787971497, 0.05821961164474487, -0.07570440322160721, -0.21200130879878998, -0.44430413842201233, 0.45343029499053955, -0.024562522768974304, 0.014089311473071575, -0.10120172053575516, 0.45822951197624207, 0.055285681039094925, 1.059355616569519, 0.5969670414924622, -0.22405315935611725, 0.31849461793899536, -0.045470621436834335, 0.7216667532920837, -0.5131736993789673, -0.4756726324558258, -1.059509038925171, 0.4675545394420624, 0.17494484782218933, -0.2334827184677124, 0.5403177738189697, 0.6714025139808655, 0.5828636288642883, -0.29929518699645996, 0.7551273703575134, -0.3299248516559601, -0.05173908919095993, -0.5614004135131836, 0.8296136260032654, -0.6037333607673645, 0.4254443347454071, 0.12065141648054123, -0.7941548228263855, -0.4607989192008972, 0.6271346211433411, -0.0569457933306694, -0.1425822228193283, 0.30217429995536804, 0.7983841300010681, -0.05209523066878319, 0.16497647762298584, 0.18021085858345032, -0.03766801208257675, 0.24291111528873444, 0.7882051467895508, 0.6239386200904846, -0.5403759479522705, 0.2475387006998062, -0.40771132707595825, -0.15314538776874542, -0.37645426392555237, -0.828042209148407, -0.521148145198822, -0.7504080533981323, -0.1468818038702011, -0.01769074611365795, -0.11047761142253876, 0.7252753376960754, 0.9767330288887024, -0.5594249367713928, -0.3892374634742737, -0.437154084444046, 0.43630194664001465, 0.10667630285024643, -0.1634867787361145, 0.2585732936859131, -0.19904449582099915, -0.5317566394805908, 0.38250595331192017, 0.47903263568878174, -0.059994250535964966, -0.06689871102571487, -0.04898984357714653, 0.2754639685153961, -0.003580051939934492, 0.9790118336677551, 0.2719537615776062, -0.6896241903305054, 0.24654047191143036, 0.04527115449309349, -0.1473945677280426, 0.08368729799985886, 0.9318503141403198, -0.6492726802825928, 0.3503420352935791, 0.5529849529266357, 0.7007184624671936, 0.30691373348236084, -0.03893137350678444, 0.41180264949798584, -0.2855337858200073, 0.27698972821235657, 0.27662062644958496, 0.0073370845057070255, 0.08678744733333588, -0.33273762464523315, 0.35740023851394653, 0.2335960865020752, -0.39753851294517517, -0.8294665813446045, 0.3098975718021393, -0.7312790155410767, -0.12360048294067383, 1.0652848482131958, 0.26237934827804565, -0.28345730900764465, 0.32994166016578674, 0.3486006557941437, -0.04423356428742409, -0.10556991398334503, 1.1162848472595215, 0.31767475605010986, -0.09224449098110199, -0.2269197553396225, -0.3936831057071686, 0.18123875558376312, 0.2838737666606903, -0.8075568675994873, 0.12264946103096008, 0.0741899386048317, -0.13851968944072723, 0.3049317002296448, 0.3456609547138214, 0.119429811835289, 0.029977766796946526, -0.02638799138367176, 0.4029122292995453, 0.09623558074235916, -0.5908752679824829, -0.1912887692451477, 0.09402099996805191, -0.10136598348617554, -0.32619208097457886 ]
http://arxiv.org/abs/2402.18013v1
http://arxiv.org/pdf/2402.18013v1
A Survey on Recent Advances in LLM-Based Multi-turn Dialogue Systems
2024-02-28T03:16:44
2024-02-28T03:16:44
Zihao Yi, Jiarui Ouyang, Yuwen Liu, Tianhao Liao, Zhe Xu, Ying Shen
cs.CL
cs.CL, cs.AI
This survey provides a comprehensive review of research on multi-turn dialogue systems, with a particular focus on multi-turn dialogue systems based on large language models (LLMs). This paper aims to (a) give a summary of existing LLMs and approaches for adapting LLMs to downstream tasks; (b) elaborate recent advances in multi-turn dialogue systems, covering both LLM-based open-domain dialogue (ODD) and task-oriented dialogue (TOD) systems, along with datasets and evaluation metrics; (c) discuss some future emphasis and recent research problems arising from the development of LLMs and the increasing demands on multi-turn dialogue systems.
[ -0.5843203067779541, -0.6840929985046387, 0.9442102313041687, 0.28317704796791077, 0.0836227759718895, 0.4862183928489685, -0.276172399520874, -0.4488786458969116, 0.34868407249450684, 0.9165167808532715, -0.7547087073326111, -0.2863417863845825, -0.6133742332458496, 0.1453487128019333, -0.3001207113265991, 0.6435007452964783, 0.13128364086151123, 0.5445134043693542, 0.013961161486804485, -0.33091357350349426, -0.3621648848056793, -0.6529590487480164, -0.6997420787811279, -0.16509366035461426, 0.43418607115745544, 0.41698113083839417, 0.4553152024745941, -0.478983074426651, 0.389872670173645, 0.4126506745815277, -0.06478861719369888, 0.3580824136734009, -0.335966557264328, 0.46181371808052063, 0.002759665949270129, -0.39298102259635925, -0.7746790647506714, -0.1868268847465515, 0.9196422696113586, 0.7149965167045593, -0.10922989249229431, -0.09608083963394165, -0.008473196998238564, 0.4173295795917511, -0.5752686858177185, 0.1530025452375412, -0.4622885584831238, -0.17652089893817902, -0.167586088180542, -0.15802188217639923, -0.5672103762626648, -0.35280367732048035, 0.3165011703968048, -0.20007582008838654, -0.21846309304237366, 0.15011613070964813, 0.044601038098335266, -0.11169710755348206, -0.3410758972167969, -0.5058999061584473, -1.0611554384231567, 1.1961344480514526, -1.0875043869018555, 0.40553292632102966, -0.17958728969097137, 0.4294999837875366, -0.4382523000240326, -0.5037601590156555, -0.4829958379268646, -0.24726180732250214, 0.29382359981536865, 0.16748403012752533, -0.017063084989786148, 0.07791323214769363, -0.07640005648136139, 0.4775826334953308, -0.17000441253185272, 0.2858063876628876, -0.05053649842739105, 0.061955150216817856, 0.5592193007469177, 0.6314195990562439, 0.11793983727693558, 0.07896903157234192, -0.24054700136184692, 0.20748068392276764, -0.8772013783454895, -0.14234143495559692, 0.15540382266044617, 0.3587739169597626, -0.04756176099181175, 0.6542413234710693, -0.39162397384643555, 1.0144283771514893, -0.008307709358632565, -0.41802847385406494, -0.14365102350711823, -0.6708123683929443, -0.32367464900016785, -0.20937852561473846, 0.9375723004341125, 0.5905959010124207, 0.12033355981111526, -0.0049797650426626205, -0.18269117176532745, -0.4115947484970093, 0.07039456069469452, -0.37049219012260437, 0.16908276081085205, 0.299371600151062, -0.5286562442779541, 0.006521002855151892, -0.21910534799098969, -0.8484451174736023, -0.5791923403739929, -0.4506678283214569, 0.19243215024471283, -0.1251465082168579, -0.4530985951423645, 0.1522039771080017, -0.08540104329586029, 0.42474818229675293, 0.793554961681366, -0.5616855621337891, 0.40147876739501953, 0.8058158755302429, 1.0995982885360718, -0.5197659134864807, -0.20580412447452545, -0.48287802934646606, -0.040460966527462006, -0.13403868675231934, 0.8763731122016907, -0.5938518643379211, -0.5269217491149902, 0.46090227365493774, 0.3194010853767395, -0.1525087207555771, -0.5927063226699829, 0.30866095423698425, -0.6003520488739014, 0.21760350465774536, -0.028983138501644135, -0.1864355355501175, 0.014501876197755337, 0.4267193078994751, -0.41594162583351135, 0.6184473633766174, -0.0014581703580915928, -0.611997663974762, -0.09518871456384659, -0.6708813309669495, -0.32652950286865234, -0.29333576560020447, 0.04115048050880432, -0.16834519803524017, 0.2186853289604187, 0.12513458728790283, 0.45916250348091125, -0.6069628596305847, 0.34262436628341675, -0.48213231563568115, -0.1835082471370697, 0.5679911375045776, -0.5190654993057251, 0.7860038876533508, 0.28999680280685425, -0.04559902846813202, 0.40623918175697327, -0.664954662322998, 0.010584060102701187, -0.15270662307739258, -0.29634562134742737, 0.008997712284326553, 0.3469122350215912, -0.0104734618216753, 0.26125407218933105, 0.2584804594516754, -0.7382049560546875, 0.6106936931610107, -0.024190325289964676, 0.48120754957199097, 0.5124161839485168, -0.05134405568242073, 0.48370376229286194, -0.3672283887863159, 0.5470075011253357, -0.0355306975543499, 0.25782811641693115, -0.3154235780239105, -0.6431275606155396, -1.1393932104110718, -0.1077902689576149, -0.011900762096047401, 0.6065607666969299, -0.8970756530761719, 0.08359839767217636, -0.1782168298959732, -0.29186543822288513, -0.20055462419986725, -0.06855328381061554, 0.05376305803656578, -0.31243622303009033, 0.24018819630146027, -0.5038044452667236, -0.4155239760875702, -0.7216265201568604, -0.1482217013835907, -0.21198563277721405, -0.1650724560022354, 0.32496437430381775, 0.0010703272419050336, -0.21084216237068176, 0.7113444209098816, -0.4941035807132721, -0.040233343839645386, -0.5505529046058655, 0.06911367177963257, 0.13543659448623657, 0.09168343991041183, 0.29661616683006287, -0.3106786906719208, -0.4722883701324463, -0.000581951520871371, -0.3133486807346344, -0.1017155796289444, -0.07944594323635101, 0.09525630623102188, 0.2963239252567291, 0.44678154587745667, -0.7728316187858582, 0.26830917596817017, 0.6957544684410095, -0.026691129431128502, 0.5514851808547974, 0.1149214431643486, 0.1621357947587967, -0.9629220366477966, -0.3299906849861145, -0.01450740359723568, -0.27293768525123596, -0.8771460652351379, -0.4117782413959503, -0.2887950837612152, 0.18238258361816406, -0.4394948482513428, 0.4777959883213043, -0.655758261680603, -0.5537460446357727, -0.4941473603248596, 0.1521894931793213, -0.27609506249427795, 0.4809243679046631, 0.2875974476337433, 0.4836748540401459, 0.5343092083930969, -0.7770260572433472, 0.6761898994445801, 0.17154674232006073, -0.41433361172676086, 0.7559299468994141, -0.15785367786884308, 0.18966875970363617, 0.21037423610687256, 0.4842984676361084, -1.0381380319595337, -0.07956576347351074, 0.3573143780231476, -0.25509873032569885, 0.2143063098192215, -0.29610171914100647, -0.2567152976989746, -0.4720262289047241, -0.31664928793907166, 0.3110211491584778, 0.2900508940219879, -0.3342321217060089, 0.7012041211128235, 0.47532331943511963, -0.9673715829849243, -0.34769028425216675, -0.4217728078365326, 0.3218393623828888, -0.11703295260667801, -0.5329003930091858, 0.06825283169746399, -0.07265125960111618, -0.5220305919647217, -0.4592244625091553, 0.20068979263305664, -0.10306385159492493, -0.29753825068473816, 0.026295166462659836, 0.14172132313251495, -0.21225853264331818, -0.2272517830133438, -0.11133014410734177, 0.13610674440860748, 0.20434841513633728, -0.5207982659339905, 0.6723023056983948, -0.009359076619148254, -0.603912889957428, -0.24319593608379364, 0.5793207883834839, 0.9045079946517944, 0.009552277624607086, 0.41519585251808167, 0.4008374512195587, 0.103258416056633, -0.11831536889076233, -0.788522481918335, -0.15589241683483124, -0.44577303528785706, 0.4301137328147888, -0.16394004225730896, -1.1038321256637573, 0.2781006097793579, -0.4938846826553345, 0.45102646946907043, 0.3013986647129059, 1.026351809501648, -0.15639722347259521, 1.0950144529342651, 0.7675485014915466, -0.03234151750802994, 0.6289184093475342, 0.037160128355026245, 0.4354398548603058, -1.1594593524932861, -0.32422348856925964, -0.7105640769004822, -0.12320687621831894, -0.6562926769256592, -0.5972849130630493, 0.26485198736190796, -0.20213423669338226, -0.11447479575872421, 0.1581941843032837, -0.22638584673404694, -0.2451372593641281, 0.5318136215209961, -0.44585278630256653, 0.6946074962615967, -0.23990483582019806, -0.020059682428836823, 0.2910614311695099, -0.8035569787025452, -0.5774714946746826, 1.0339539051055908, 0.4767020344734192, 1.0593761205673218, 0.34797030687332153, 0.2532757818698883, 0.1452174037694931, 0.5150562524795532, -0.9180024862289429, 0.5504156947135925, -0.003463102038949728, -0.5596757531166077, -0.649311363697052, -0.20650438964366913, -0.7355141639709473, 0.23825562000274658, 0.205335333943367, -0.8204029202461243, 0.06372849643230438, -0.2135140299797058, -0.18614882230758667, 0.5807737708091736, -0.4572676718235016, 0.17878863215446472, -0.48034432530403137, 0.0027748383581638336, -0.13865838944911957, -0.4770330488681793, 0.44762808084487915, 0.079571932554245, 0.31375160813331604, -0.1255633383989334, 0.25968655943870544, 0.6978351473808289, -0.4816827178001404, 0.869642972946167, -0.49174556136131287, -0.6045096516609192, 0.6327123641967773, -0.28702762722969055, 0.4785947799682617, 0.06768717616796494, 0.045950718224048615, -0.03840342164039612, 0.20139847695827484, -0.13499756157398224, -0.5073202848434448, 0.8314348459243774, -0.48004376888275146, -0.7286587357521057, -0.46823620796203613, -0.5787379741668701, -0.8284805417060852, -0.008380165323615074, -0.09788483381271362, 0.3559480905532837, -0.2551921010017395, 0.026988552883267403, 0.5522019863128662, -0.3361443281173706, 0.6628109812736511, 0.6374316215515137, -0.7035064697265625, -0.529059112071991, 0.6833741068840027, 0.08904948085546494, 0.6064653992652893, 0.34849491715431213, -0.1940210908651352, -0.4859584867954254, -0.8833146095275879, -0.5913362503051758, 0.1185833290219307, -0.4423561096191406, -0.19066451489925385, -0.5960425138473511, -0.19053563475608826, -0.48564279079437256, 0.15454986691474915, -0.4394320547580719, -0.5396755933761597, 0.03915003687143326, 0.2802887558937073, 0.387150377035141, 1.389033555984497, 0.2524595260620117, 0.41897085309028625, -0.81378173828125, 0.33915743231773376, 0.3600057363510132, 0.5503843426704407, 0.10123711079359055, -0.4552280604839325, -0.2208680808544159, 0.1511240005493164, -0.5120683908462524, -0.5838854312896729, 0.20981915295124054, -0.22908376157283783, 0.629047155380249, 0.3201662302017212, 0.0768314003944397, 0.27718180418014526, -0.5951263904571533, 1.1497392654418945, 0.43648961186408997, -0.5989195108413696, 0.11739002913236618, -0.40330618619918823, 0.5844791531562805, 0.19207441806793213, 0.22658908367156982, -0.7632816433906555, -0.4072519540786743, -0.15531806647777557, -0.4727559983730316, 0.8783382773399353, -0.16323992609977722, 0.08032400161027908, 0.30219340324401855, -0.07587376981973648, 0.07453558593988419, 0.21456365287303925, -0.41693124175071716, -0.2276587188243866, 0.01463501900434494, -0.15616725385189056, -0.17977523803710938, -0.2416244000196457, -0.041823118925094604, 0.024358022958040237, 0.5347567796707153, -0.3268699645996094, 0.6379112601280212, 0.045522768050432205, -0.03877408057451248, 0.2405179738998413, 0.7445976138114929, 0.8446370959281921, 0.5828372240066528, -0.17767004668712616, -0.1953512281179428, 0.39330604672431946, -0.34144070744514465, 0.2949751019477844, -0.1267002373933792, -0.05224031209945679, 0.14088183641433716, 0.08984457701444626, 0.9127110838890076, 0.2135944813489914, -0.5078283548355103, 0.31846463680267334, -0.07278360426425934, -0.11016359180212021, -0.31058359146118164, -0.15313692390918732, 0.25773149728775024, 0.3821072280406952, 0.45271608233451843, -0.06640265136957169, 0.07917239516973495, -0.7280091643333435, -0.4401799142360687, 0.7423907518386841, -0.5660685896873474, -0.36781197786331177, -0.03904073312878609, 0.5060606598854065, -0.4523963928222656, 0.33649933338165283, 0.11812172085046768, -0.41865861415863037, 0.17660166323184967, 0.3245292603969574, 1.042659878730774, -0.2809447646141052, 0.05514408275485039, 0.0033587852958589792, 0.06198464706540108, 0.012420850805938244, 0.37881729006767273, -0.12237713485956192, -0.6071154475212097, -0.7807848453521729, -0.625093936920166, -0.9859833121299744, 0.3747662603855133, -0.45421168208122253, 0.2049245834350586, -0.36291322112083435, -0.5099788904190063, -0.16940969228744507, -0.24356728792190552, -0.4259948134422302, -0.01539381593465805, 0.18689031898975372, 0.7645912766456604, -0.3503890633583069, 0.6849734783172607, 0.7531085014343262, 0.2600841522216797, -0.0902521163225174, -0.06278304010629654, 0.009368877857923508, -0.5439357161521912, 0.32950595021247864, -0.3641109764575958, -0.6735561490058899, -0.24343636631965637, -0.3968735635280609, -0.8645938038825989, 0.8900902271270752, -0.15544936060905457, -0.8582351803779602, -0.2586779296398163, 0.5127412676811218, 0.3884885609149933, -0.5393452048301697, 0.4706726670265198, 0.6903249025344849, 0.609390377998352, -0.029279494658112526, -1.2684211730957031, -0.4453524053096771, 0.04312117397785187, 0.0365973524749279, 0.29535427689552307, -1.0484142303466797, 0.6285789608955383, 0.03887007758021355, 0.07619786262512207, 0.6140605807304382, 0.41955098509788513, 0.3033657968044281, 0.4510813355445862, 0.4154190719127655, 0.1881483495235443, 0.2288728505373001, -0.34349021315574646, 0.8756552338600159, -0.06721685826778412, 0.25857600569725037, 1.2024825811386108, -0.5524150133132935, 0.8086351156234741, 0.6270588636398315, -0.5447747707366943, 0.44639357924461365, 0.2594188451766968, 0.27670541405677795, 0.35679861903190613, 0.39279136061668396, -0.44424790143966675, -0.2455109804868698, -0.17630863189697266, -0.2647300660610199, 0.33149829506874084, 0.7905879020690918, -0.06457816809415817, -0.19093790650367737, 0.07835087180137634, -0.3001059293746948, -0.45926088094711304, -0.36510035395622253, 1.154444694519043, 0.29451432824134827, -0.9671454429626465, 0.29814139008522034, 0.16889862716197968, 0.9774473309516907, -0.6507216691970825, 0.1183815598487854, -0.016102265566587448, 0.08219527453184128, -0.12406178563833237, -0.8838088512420654, 0.1401972472667694, 0.11636363714933395, -0.14367912709712982, -0.31075093150138855, 0.7576878070831299, -0.35718879103660583, -0.3916088342666626, 0.3070243299007416, 0.8051103353500366, 0.023579547181725502, 0.00029267772333696485, -0.4990881383419037, 0.5034350156784058, 0.12169115245342255, -0.16081319749355316, 0.2464926838874817, 0.43804681301116943, -0.17376096546649933, 0.7438153624534607, 0.3476657569408417, 0.09740031510591507, 0.4229222238063812, 0.3554176688194275, 0.7837175130844116, -0.987255871295929, -0.07885652780532837, -0.3125394880771637, 0.4311366379261017, -0.0452348068356514, -0.09536246955394745, 0.7363479733467102, 0.3389699459075928, 0.6693454384803772, -0.09547170251607895, 1.177772879600525, 0.08158399164676666, 0.9628667235374451, -0.690816342830658, 0.36491188406944275, -0.2675012946128845, 0.20849791169166565, -0.40755900740623474, -1.162590742111206, 0.10801777988672256, 0.14711949229240417, -0.42714014649391174, 0.2620401680469513, 0.5842725038528442, 0.642235279083252, 0.07602450996637344, 0.3028726577758789, 0.283501535654068, 0.2520454525947571, 0.5086153149604797, 0.4712245464324951, 1.619031548500061, -0.12841549515724182, 0.3936325013637543, 0.16168376803398132, -0.09843151271343231, -0.5700619220733643, -0.7122527956962585, -0.6692185997962952, -0.5927745699882507, -0.3406083583831787, -0.020384326577186584, -0.09610766172409058, 0.4444566071033478, 0.7158360481262207, -1.0668281316757202, -0.5615890026092529, 0.1296701729297638, 0.052489567548036575, 0.11475816369056702, -0.1608508825302124, -0.1345229595899582, -0.3802279531955719, -1.1813488006591797, 0.6164267659187317, 0.7127559185028076, 0.014436122961342335, -0.6228829622268677, -0.3681226670742035, -0.32329562306404114, 0.2046695500612259, 0.9476526379585266, 0.24822378158569336, -1.063321590423584, -0.14114749431610107, 0.14553768932819366, 0.056649621576070786, 0.18268613517284393, 1.204123854637146, -0.42497578263282776, 0.28106680512428284, 0.465084433555603, 0.42419514060020447, 0.6613028645515442, -0.1685989499092102, 0.8314638733863831, -0.22151874005794525, -0.12106937915086746, 0.34156736731529236, 0.36464813351631165, 0.5040135979652405, 0.16018398106098175, 0.13549254834651947, -0.10879743844270706, -0.5452536940574646, -0.5937697291374207, 0.4466744363307953, -1.059963583946228, -0.14952440559864044, 1.0857160091400146, -0.07370788604021072, 0.21276462078094482, -0.6056065559387207, -0.39988723397254944, 0.11255009472370148, -0.2450045347213745, 0.1822211891412735, 1.1167651414871216, -0.5949051380157471, -0.20576271414756775, -0.40595734119415283, 0.40701189637184143, 0.3550977110862732, -0.8236380815505981, 0.07356924563646317, 0.6004142761230469, 0.09842182695865631, 0.3525434732437134, 0.6899968981742859, -0.3780065178871155, -0.09820961207151413, -0.460267573595047, -0.21280725300312042, 0.45756539702415466, -0.5020837783813477, -0.32293930649757385, 0.02164742536842823, 0.477332204580307, 0.182265043258667 ]
http://arxiv.org/abs/2402.18005v2
http://arxiv.org/pdf/2402.18005v2
A Sentiment Consolidation Framework for Meta-Review Generation
2024-02-28T02:40:09
2024-06-04T16:10:13
Miao Li, Jey Han Lau, Eduard Hovy
cs.CL
cs.CL, cs.AI
Modern natural language generation systems with Large Language Models (LLMs) exhibit the capability to generate a plausible summary of multiple documents; however, it is uncertain if they truly possess the capability of information consolidation to generate summaries, especially on documents with opinionated information. We focus on meta-review generation, a form of sentiment summarisation for the scientific domain. To make scientific sentiment summarization more grounded, we hypothesize that human meta-reviewers follow a three-layer framework of sentiment consolidation to write meta-reviews. Based on the framework, we propose novel prompting methods for LLMs to generate meta-reviews and evaluation metrics to assess the quality of generated meta-reviews. Our framework is validated empirically as we find that prompting LLMs based on the framework -- compared with prompting them with simple instructions -- generates better meta-reviews.
[ -0.7839890122413635, -0.2541744112968445, 0.5843566060066223, 0.36378008127212524, -0.4444241225719452, 0.041195228695869446, -0.1258058100938797, -0.019957607612013817, 0.5264078378677368, 0.4329591393470764, -0.672366738319397, -0.6758705973625183, -0.3719751834869385, 0.7374227643013, -0.27773991227149963, 1.3394438028335571, 0.16380639374256134, 0.1969689577817917, -0.5400171279907227, 0.14911656081676483, -0.05031365156173706, -0.11917019635438919, -0.257024884223938, -0.549955427646637, 0.7569813132286072, 0.3832707405090332, 0.41013067960739136, 0.03440625220537186, 0.6096928119659424, 0.19646354019641876, -0.1820121705532074, 0.6304202079772949, -0.31349360942840576, 0.2551596760749817, -0.11623858660459518, -0.1847192347049713, -0.8014335632324219, 0.07329323142766953, 0.5298387408256531, 0.7768090963363647, -0.12090904265642166, 0.4012693464756012, 0.4621835947036743, 0.8099027872085571, -0.5800090432167053, -0.0008386734989471734, -0.19621339440345764, 0.28301677107810974, 0.36996886134147644, -0.45492640137672424, -0.3884906470775604, -0.7248674035072327, 0.04359662905335426, -0.2712036967277527, 0.48307332396507263, -0.10051047801971436, 0.3863251507282257, 0.12028130143880844, -0.42550045251846313, -0.31096646189689636, -0.5705364942550659, 0.6479625105857849, -0.8811150193214417, -0.19371631741523743, -0.018771762028336525, 0.04075917974114418, 0.020824439823627472, -0.49000316858291626, -0.7595746517181396, -0.010432041250169277, -0.3003416955471039, 0.5041239857673645, 0.10141200572252274, 0.10525427758693695, -0.012105397880077362, 0.4160728454589844, -0.3228047490119934, -0.3990926444530487, -0.5416083335876465, 0.014651723206043243, 0.5292237997055054, 0.2460000067949295, -0.06350906938314438, -0.6017469763755798, -0.2388513833284378, -0.22115817666053772, -0.8998294472694397, -0.08694643527269363, 0.24418750405311584, 0.2526014447212219, 0.21871857345104218, 0.6967416405677795, -0.19107982516288757, 0.6008615493774414, 0.23947523534297943, -0.24799129366874695, 0.29425048828125, -0.5195186138153076, -0.42903196811676025, 0.09435872733592987, 1.0916950702667236, 1.0873703956604004, -0.0795510932803154, 0.1862381249666214, -0.23964948952198029, 0.19244609773159027, 0.3738526701927185, -0.8584680557250977, 0.1437148004770279, 0.47010672092437744, -0.6537832021713257, -1.0501395463943481, 0.33016952872276306, -0.900261402130127, -0.2988361716270447, -0.22437913715839386, 0.14447320997714996, -0.03407459333539009, -0.42424529790878296, 0.2851457893848419, -0.33684247732162476, 0.12974411249160767, 0.13448244333267212, -0.7233579158782959, 0.17141571640968323, 0.6151517629623413, 0.7157830595970154, -0.024787353351712227, -0.25711145997047424, -0.2520935833454132, 0.25283804535865784, -0.41121289134025574, 0.9143030047416687, -0.26048144698143005, -0.9329298138618469, 0.07136999815702438, -0.2581004798412323, 0.3049705922603607, -0.42358309030532837, 0.3837859332561493, -0.25637713074684143, 0.7953733205795288, -0.5789977312088013, -0.06476066261529922, -0.32806074619293213, 0.6273413896560669, -0.6092718243598938, 1.0486435890197754, 0.09220506995916367, -0.9073289632797241, 0.5663378238677979, -0.7731621861457825, -0.4807320535182953, 0.028541777282953262, 0.11847976595163345, -0.34635040163993835, 0.4847134053707123, 0.46133217215538025, 0.7345360517501831, -0.4086110591888428, 0.5762326717376709, -0.2754391133785248, -0.008245225995779037, 0.12052914500236511, -0.08048919588327408, 0.29962286353111267, 0.3642703890800476, -0.394431471824646, -0.0839696004986763, -0.3653504252433777, 0.05312284454703331, -0.34745168685913086, -0.3988752067089081, -0.0986957773566246, -0.06818795949220657, -0.24981319904327393, 0.24965211749076843, 0.005065933335572481, -0.38176289200782776, 0.3674841523170471, -0.3964621424674988, 0.4994906187057495, 0.3700992166996002, 0.5662116408348083, 0.6562513113021851, -0.4340629577636719, 0.6460626125335693, 0.1528269201517105, 0.08820783346891403, -0.5115323662757874, -0.2794768214225769, -0.5366307497024536, 0.00434771878644824, 0.3282663822174072, 0.21737824380397797, -0.4815826714038849, 0.6677141785621643, -0.47576597332954407, -0.3647092580795288, -0.5152735114097595, 0.3343530297279358, 0.3541939854621887, 0.6246950626373291, 0.33818796277046204, -0.05663702264428139, -0.5243518352508545, -0.7308419942855835, -0.23477347195148468, -0.38049212098121643, -0.10107467323541641, 0.21520419418811798, 0.46287694573402405, -0.6431968212127686, 1.0407418012619019, -0.2275780588388443, -0.13534635305404663, -0.2933967411518097, 0.5445554852485657, 0.19427256286144257, 0.1124647706747055, 0.21819809079170227, -0.487575501203537, -0.3647977113723755, -0.1384490430355072, -0.9300848245620728, -0.2993007302284241, 0.09153043478727341, 0.05123180150985718, 0.07927297800779343, 0.5092686414718628, -0.8170766830444336, -0.09411006420850754, 0.5250490307807922, -0.01873582974076271, 0.5247120261192322, 0.07355739921331406, 0.46001848578453064, -1.3757691383361816, 0.3481791615486145, -0.29779908061027527, -0.16960476338863373, -0.3587786555290222, -0.07212810963392258, -0.11743349581956863, -0.15182438492774963, -0.28994742035865784, 0.30321282148361206, -0.5151351690292358, 0.05220853164792061, -0.38000911474227905, 0.3134912848472595, 0.4164823889732361, 0.012747421860694885, -0.013100413605570793, 0.28963005542755127, 0.4399430751800537, -0.8091976642608643, 0.19187545776367188, 0.14694984257221222, -0.11550838500261307, 0.6140092015266418, -0.6968601942062378, -0.33331575989723206, -0.4691362679004669, 0.6969485282897949, -0.9975090622901917, -0.6511513590812683, 0.022632787004113197, -0.4675098657608032, 0.1322985142469406, 0.27519282698631287, -0.3541678488254547, -0.7062742114067078, -0.7258893847465515, 0.061084210872650146, 0.5113559365272522, -0.5255112648010254, 0.837786078453064, -0.049785371869802475, -0.5281552672386169, -0.7475556135177612, -0.6653845310211182, 0.2574719488620758, -0.20850494503974915, -0.6665436029434204, 0.36487990617752075, 0.004831983707845211, -0.3809903860092163, 0.29721537232398987, 0.10588090866804123, 0.7157425284385681, -0.2360982447862625, 0.1919931322336197, 0.08903896063566208, -0.17265751957893372, 0.07313099503517151, 0.38830745220184326, 0.03460303694009781, 0.3584257960319519, -0.3797348141670227, 0.3228098452091217, -0.13954153656959534, -0.11245354264974594, -0.1388024538755417, 0.5303252339363098, 0.8547020554542542, 0.030353320762515068, 0.3199712336063385, 0.5054833292961121, -0.13234299421310425, -0.3562057912349701, -0.5976752638816833, -0.5128138065338135, -0.3914765417575836, -0.1034846231341362, 0.022817037999629974, -0.7834811806678772, 0.24456340074539185, -0.2351134866476059, 0.3196844458580017, 0.6278888583183289, 0.717965304851532, -0.4570457339286804, 1.2826056480407715, 0.4134976863861084, -0.10036617517471313, 0.009069966152310371, -0.40008148550987244, 0.1286773830652237, -0.8438979387283325, -0.3404057025909424, -0.33416253328323364, -0.41215232014656067, -0.2855954170227051, -0.34602612257003784, 0.5737586617469788, 0.15180493891239166, 0.2264900952577591, -0.16948100924491882, -0.691794753074646, 0.5997334718704224, 0.3341241180896759, 0.012850976549088955, 0.07186521589756012, 0.058483436703681946, -0.24488650262355804, 0.3289894461631775, -0.6554881930351257, -0.8393065929412842, 0.9079618453979492, 0.0685618594288826, 0.5046453475952148, -0.10910643637180328, 1.1643069982528687, 0.357572078704834, 0.6368203163146973, -0.6089836955070496, 0.6169870495796204, 0.14252768456935883, -0.3701132833957672, -0.05190185829997063, -0.5109683275222778, -0.5818812847137451, 0.21338267624378204, -0.4032125174999237, 0.2653059959411621, 0.05489173159003258, 0.2790837287902832, -0.6328751444816589, 0.010705137625336647, -0.4195840358734131, 0.3211061358451843, 0.04094348102807999, -0.2848219871520996, -0.2929523289203644, -0.6586893200874329, 0.8649186491966248, 0.0948457419872284, 0.3926716148853302, 0.21596786379814148, 0.004320298321545124, 0.4605269432067871, -0.4878644645214081, 1.0833574533462524, -0.38798823952674866, -0.2136007845401764, 0.5512133836746216, 0.35890230536460876, 0.31057316064834595, 0.3259914815425873, 0.02324904315173626, -0.34609106183052063, -0.29147082567214966, -0.09595733135938644, -0.6495909690856934, 0.6195822954177856, -0.44779476523399353, -0.49069449305534363, -0.20657354593276978, -0.09887167066335678, -0.18867924809455872, 0.14445239305496216, 0.6842700839042664, 0.2705695927143097, -0.27342602610588074, 0.23756948113441467, 0.7554317116737366, -0.016918275505304337, 0.35716333985328674, 0.20817746222019196, -0.4495246112346649, -0.9552239775657654, 0.6617517471313477, -0.26959097385406494, 0.11599206924438477, 0.15723924338817596, 0.4132246971130371, -0.2153167873620987, -0.17235100269317627, -0.2913419306278229, 0.27489855885505676, -0.6388890147209167, -0.6486762762069702, -0.7468344569206238, 0.03640110790729523, -0.6018789410591125, -0.31309774518013, 0.07931437343358994, -0.38839641213417053, -0.37167197465896606, -0.46468496322631836, 0.0747312679886818, 1.2156102657318115, -0.1678658276796341, 0.3663902282714844, -1.1209863424301147, 0.24996192753314972, 0.546275794506073, 0.04251331090927124, -0.020211201161146164, -0.12298586964607239, -0.06077764555811882, -0.06086484342813492, -0.4896518290042877, -0.8784250020980835, 0.4195673167705536, 0.29281651973724365, 0.2610320448875427, 0.6168822646141052, -0.19629822671413422, 0.39011529088020325, -0.3724026083946228, 1.3831509351730347, 0.5046020150184631, -0.9186134934425354, 0.6547970175743103, -0.5641753673553467, 0.38974529504776, 0.6953686475753784, 0.35520583391189575, -0.3569859564304352, -0.6072121262550354, -0.763729989528656, -0.7773425579071045, 0.32684335112571716, -0.19496893882751465, 0.15726621448993683, -0.259669691324234, 0.4234920144081116, 0.154497891664505, 0.48175179958343506, -0.8111587762832642, 0.2953430712223053, -0.5509961843490601, -0.3031149208545685, -0.19341906905174255, -0.4831193685531616, -0.5423271656036377, 0.27558356523513794, 0.6152776479721069, -0.38843539357185364, 0.17829200625419617, 0.2973160147666931, -0.037920691072940826, -0.3975343406200409, 0.3470040261745453, 0.86463862657547, 0.19314435124397278, -0.09756506234407425, 0.3035944402217865, 0.13456787168979645, -0.1469743549823761, 0.06746477633714676, -0.5632463097572327, -0.2966693341732025, 0.08002258837223053, 0.4316510856151581, 0.39933452010154724, 0.22208023071289062, -0.12951426208019257, 0.596244215965271, -0.06896013021469116, -0.9004833698272705, 0.17881326377391815, 0.051483143121004105, 0.19517414271831512, -0.04462986811995506, 0.3349429965019226, 0.23560017347335815, 0.3286420702934265, -0.395751953125, -0.005605233367532492, 0.6226580142974854, -0.051577500998973846, -0.5036798715591431, 0.3411116898059845, 0.6131792664527893, -0.026563888415694237, 0.24734371900558472, -0.19215127825737, -0.7218304872512817, 0.24964511394500732, 0.33387163281440735, 1.0798498392105103, -0.07550545781850815, 0.5665498971939087, 0.7004753947257996, 0.2593572437763214, -0.4483087956905365, 0.460806667804718, -0.3978675305843353, -0.4053899347782135, -0.6113606095314026, -0.8021771311759949, -0.658331036567688, -0.27367526292800903, -0.7198269367218018, 0.4035685956478119, -0.3174813389778137, -0.5633907318115234, -0.3213929235935211, -0.20977282524108887, -0.28364577889442444, 0.2654711604118347, 0.20104911923408508, 0.8071268796920776, -0.9417639374732971, 0.05962957814335823, 0.5692393779754639, -0.35021549463272095, -0.6833011507987976, -0.0948028564453125, -0.07639457285404205, -0.1843796968460083, 0.6033952832221985, 0.2819696068763733, -0.5906335115432739, -0.17814500629901886, -0.6883060932159424, -0.46061772108078003, 1.26869797706604, 0.05388732999563217, -0.3162062466144562, -0.13341613113880157, 0.035265129059553146, 0.7646793723106384, -0.6526542901992798, 0.18129220604896545, 0.3443681299686432, 0.7337931990623474, 0.043016232550144196, -0.36125215888023376, -0.01744743436574936, -0.41153261065483093, -0.21243730187416077, 0.013816735707223415, -0.5898002982139587, 0.67704176902771, -0.3165413439273834, -0.18370191752910614, -0.23820681869983673, 0.5181897878646851, 0.43017300963401794, 0.342183381319046, 0.45164754986763, 0.4530414938926697, 0.7448124885559082, -0.08307354152202606, 0.9370445609092712, -0.6287359595298767, 0.138410747051239, 0.745149552822113, -0.3516084849834442, 0.6933438181877136, 0.6391910314559937, 0.11970488727092743, 0.9103375673294067, 0.5174244046211243, -0.07680796086788177, 0.375881552696228, -0.01820952631533146, -0.33334729075431824, -0.15121087431907654, 0.04921630024909973, -0.4556190073490143, 0.059440918266773224, 0.36787545680999756, -0.6361331939697266, -0.13058699667453766, -0.05435049906373024, -0.1388079971075058, -0.07526988536119461, -0.4148821234703064, 1.1307011842727661, 0.18228451907634735, -1.286769986152649, 0.36419954895973206, -0.08610956370830536, 0.5821718573570251, -0.5681073665618896, 0.15585970878601074, -0.32765352725982666, -0.23540489375591278, -0.7207037806510925, -0.7718580365180969, 0.17285554111003876, 0.21913191676139832, -0.560910165309906, -0.6448361873626709, 0.406311571598053, -0.4556228816509247, -0.44294798374176025, 0.07127021998167038, 0.459568589925766, -0.018642419949173927, 0.3765665292739868, -0.2886495292186737, -0.2602052688598633, -0.08181476593017578, -0.46707284450531006, 0.12063351273536682, 0.4496678411960602, 0.1425214260816574, 0.32033684849739075, 0.8457071781158447, 0.35362669825553894, -0.17228244245052338, 0.30510687828063965, 0.791322648525238, -0.6298909783363342, -0.4719386100769043, -0.9498934745788574, 0.7031928300857544, -0.10921596735715866, -0.08618783950805664, 0.7551186084747314, 0.479276567697525, 0.1823311597108841, -0.3039209246635437, 1.1280794143676758, 0.02823236957192421, 0.4784451723098755, -0.506153404712677, 0.6644220352172852, -0.5909222364425659, 0.18024738132953644, -0.36495423316955566, -1.1525086164474487, -0.5613630414009094, 0.2912788689136505, 0.06009401008486748, 0.13690370321273804, 0.75082927942276, 0.8182075023651123, 0.11298944801092148, 0.08469527214765549, 0.02448657900094986, -0.05843789502978325, 0.276074081659317, 0.1634099781513214, 0.9578653573989868, -0.08737137913703918, 0.49144676327705383, 0.21947802603244781, -0.16213124990463257, -0.4253576099872589, -1.367334246635437, -0.8675493001937866, -0.2593957483768463, -0.005761335603892803, -0.6024681925773621, -0.48015737533569336, 0.8864433765411377, 0.4814645051956177, -0.6807542443275452, -0.04087687283754349, -0.3430635929107666, -0.087613545358181, -0.10157706588506699, -0.24520675837993622, 0.028434865176677704, -0.7129520773887634, -0.5486500263214111, 0.3979808986186981, 0.3638533651828766, 0.07801131904125214, -0.7734794616699219, -0.23243623971939087, 0.5445433259010315, 0.2916184067726135, 0.6983140707015991, -0.03862922638654709, -0.6562080979347229, 0.13530398905277252, 0.22391632199287415, -0.2061934769153595, -0.2125476896762848, 1.2281183004379272, -0.7253993153572083, 0.36573028564453125, 0.7858858108520508, 0.19371230900287628, 0.18677443265914917, 0.3222236931324005, 0.8263742327690125, -0.7949956655502319, -0.48835426568984985, 0.34181955456733704, 0.29071637988090515, 0.5359472632408142, -0.21428684890270233, 0.38246604800224304, 0.030993113294243813, -0.5048186779022217, -1.1291835308074951, 0.12997938692569733, -0.7924194931983948, 0.04266888648271561, 1.2508028745651245, 0.2964244782924652, -0.25209304690361023, 0.38261717557907104, -0.27289730310440063, -0.08233396708965302, -0.26742348074913025, 0.8160873651504517, 0.6838430762290955, -0.1430394947528839, 0.14484894275665283, 0.10334671288728714, 0.6821380257606506, 0.36595842242240906, -0.8814053535461426, 0.38045546412467957, 0.5456311106681824, 0.24821625649929047, 0.5891978144645691, 0.5364914536476135, -0.3546142280101776, 0.5323765277862549, -0.23531432449817657, 0.23609821498394012, -0.13269507884979248, -0.47559836506843567, -0.5709125399589539, 0.4242400825023651, -0.10207678377628326, 0.6219486594200134 ]
http://arxiv.org/abs/2402.17985v1
http://arxiv.org/pdf/2402.17985v1
FlattenQuant: Breaking Through the Inference Compute-bound for Large Language Models with Per-tensor Quantization
2024-02-28T02:00:34
2024-02-28T02:00:34
Yi Zhang, Fei Yang, Shuang Peng, Fangyu Wang, Aimin Pan
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have demonstrated state-of-the-art performance across various tasks. However, the latency of inference and the large GPU memory consumption of LLMs restrict their deployment performance. Recently, there have been some efficient attempts to quantize LLMs, yet inference with large batch size or long sequence still has the issue of being compute-bound. Fine-grained quantization methods have showcased their proficiency in achieving low-bit quantization for LLMs, while requiring FP16 data type for linear layer computations, which is time-consuming when dealing with large batch size or long sequence. In this paper, we introduce a method called FlattenQuant, which significantly reduces the maximum value of the tensor by flattening the large channels in the tensor, to achieve low bit per-tensor quantization with minimal accuracy loss. Our experiments show that FlattenQuant can directly use 4 bits to achieve 48.29% of the linear layer calculation in LLMs, with the remaining layers using 8 bits. The 4-bit matrix multiplication introduced in the FlattenQuant method can effectively address the compute-bound caused by large matrix calculation. Our work achieves up to 2$\times$ speedup and 2.3$\times$ memory reduction for LLMs with negligible loss in accuracy.
[ -0.3863967955112457, -0.8998445272445679, 0.6989636421203613, 0.20383399724960327, -0.27026525139808655, 0.14652958512306213, -0.6058534383773804, -0.09269564598798752, -0.04999321326613426, 0.5748308897018433, -0.3876360058784485, -0.6409052014350891, -0.33929508924484253, -0.3086012899875641, -0.3179290294647217, 0.7048566341400146, -0.012051406316459179, -0.09877186268568039, -0.20315593481063843, 0.1630687713623047, -0.002451931592077017, -0.6013966798782349, -0.5939100980758667, -0.40388190746307373, 0.28638145327568054, 0.4691830277442932, 0.7790806889533997, 0.6789254546165466, 0.4375929832458496, 0.3395411968231201, -0.24486759305000305, -0.05167881026864052, -0.569344699382782, 0.08312331885099411, 0.19451786577701569, -0.8151302933692932, -0.6309751868247986, -0.14813919365406036, 0.8668502569198608, 0.7805474996566772, -0.32755810022354126, 0.22879914939403534, -0.08777280151844025, 0.5851080417633057, -0.9636609554290771, 0.03676411882042885, -0.43726423382759094, 0.37923675775527954, -0.3419492840766907, -0.10066737234592438, -0.34166431427001953, -0.1801203042268753, -0.2772093713283539, -0.49530529975891113, 0.44195231795310974, -0.312051385641098, 0.7065824866294861, 0.4147467613220215, -0.11572679132223129, 0.4234989583492279, -0.765415370464325, 0.9872157573699951, -0.9901144504547119, 0.49042809009552, 0.2978922128677368, 0.07237547636032104, -0.1017363891005516, -0.8503097295761108, -0.5056414604187012, 0.004827790893614292, 0.1917271912097931, -0.2155849188566208, -0.2302251160144806, 0.4286689758300781, 0.39037811756134033, 0.7510926723480225, -0.4144124388694763, 0.10300951451063156, -0.21322591602802277, -0.16283255815505981, 0.4397019147872925, 0.05790694057941437, -0.10682845860719681, -0.17228220403194427, -0.34839704632759094, -0.020948586985468864, -0.8072308897972107, -0.10027292370796204, 0.18067963421344757, 0.07269559800624847, -0.06658772379159927, 0.5325749516487122, -0.24406132102012634, 0.40773752331733704, 0.006443087011575699, -0.19991466403007507, 0.028906583786010742, 0.07418154180049896, -0.6268647909164429, 0.06556382775306702, 0.8718783855438232, 0.04352554678916931, 0.229696124792099, -0.18344050645828247, -0.3857917785644531, 0.07239101827144623, 0.04554435983300209, -1.181130290031433, -0.3262593746185303, 0.36465832591056824, -0.20944051444530487, -0.014736929908394814, -0.32695499062538147, -0.5593948364257812, -0.3161737620830536, -0.2151528298854828, 0.31700897216796875, -0.47998300194740295, 0.06110072880983353, 0.20038801431655884, 0.2805781662464142, 0.0438925139605999, 0.4080781042575836, -0.7502833008766174, 0.4253897964954376, 0.8995051980018616, 0.9080309867858887, 0.007082286290824413, -0.04985193535685539, -0.6400795578956604, 0.13370539247989655, -0.21752521395683289, 0.503490686416626, -0.25040289759635925, -0.08382488787174225, -0.18414539098739624, -0.39089325070381165, 0.2815975248813629, -0.40389901399612427, 0.5042282342910767, -0.5782700777053833, -0.0776299387216568, 0.14265410602092743, -0.5515885949134827, -0.08065515011548996, 0.24384941160678864, -0.6959041953086853, 0.7028935551643372, -0.19976550340652466, -0.5395601987838745, -0.09309499710798264, -0.4504251480102539, -0.4348295032978058, 0.16771095991134644, -0.1391659677028656, -0.5561417937278748, 0.36029624938964844, 0.41653233766555786, 0.7082783579826355, -0.5038681030273438, 0.0766262412071228, -0.5616256594657898, -0.6114763617515564, 0.12729451060295105, -0.7967614531517029, 0.7007887959480286, 0.3722369074821472, -0.38808995485305786, -0.08463048189878464, -0.6531488299369812, 0.24378471076488495, 0.01664264313876629, -0.4339247941970825, -0.3483103811740875, -0.2820446491241455, 0.1548132300376892, -0.18025609850883484, 0.20416536927223206, -0.627041757106781, 0.3400382995605469, -0.19012810289859772, 0.6734898090362549, 0.8393141627311707, -0.47100916504859924, 0.45106855034828186, 0.06028885766863823, 0.6682632565498352, -0.17229042947292328, 0.24106235802173615, 0.020464126020669937, -0.13648657500743866, -0.7981681823730469, -0.7751734256744385, 0.5339257717132568, 0.3362639248371124, -0.6715182662010193, 0.19242289662361145, -0.439593642950058, -0.3885468542575836, -0.5612893104553223, 0.04636991396546364, 0.6022211313247681, 0.10060720890760422, 0.45332133769989014, -0.2408723086118698, -0.37490925192832947, -0.725352942943573, -0.13935957849025726, 0.14701181650161743, -0.33055824041366577, -0.10616768896579742, 0.1930534541606903, -0.1389571875333786, 0.5753486752510071, -0.7627139687538147, -0.20477920770645142, 0.15705756843090057, 0.08358035981655121, 0.22042927145957947, 0.6159982085227966, 0.05315577611327171, -0.6585512161254883, -0.11776814609766006, -0.19082331657409668, -0.4568440914154053, -0.024876868352293968, 0.12168274819850922, 0.06652011722326279, 0.46558499336242676, 0.5451611280441284, -0.7659774422645569, 0.6009288430213928, 0.940845787525177, -0.34508854150772095, 0.3499249815940857, -0.22790972888469696, 0.038934364914894104, -0.8780778050422668, -0.03675169497728348, 0.0692724734544754, -0.6050348281860352, -0.4480678141117096, 0.08341208100318909, 0.17190326750278473, 0.04879697784781456, -0.32241198420524597, 0.33744555711746216, -0.5232521891593933, -0.1541445106267929, 0.132110133767128, -0.10221794992685318, 0.33259618282318115, 0.401523619890213, -0.09550641477108002, 0.7378995418548584, 0.20131973922252655, -0.4384489953517914, 0.35197341442108154, 0.1171642541885376, -0.4237785041332245, 0.5401440858840942, -0.5057805776596069, 0.22571350634098053, 0.1253620833158493, 0.502284586429596, -0.8364967107772827, 0.1355287879705429, -0.27615582942962646, -0.15881700813770294, 0.4203064739704132, -0.3294292986392975, -0.5227896571159363, 0.04761257395148277, -0.4857116937637329, 0.7133209109306335, 0.4610897898674011, -0.6391177773475647, 0.6449747085571289, 0.2028808891773224, -0.06973889470100403, -0.7880486845970154, -1.1398831605911255, 0.19242820143699646, -0.19880154728889465, -0.732921838760376, 0.6606118083000183, -0.11310391128063202, -0.12469426542520523, -0.060622021555900574, -0.2579573690891266, -0.07025019824504852, -0.027338782325387, 0.17227938771247864, 0.17704245448112488, -0.46124207973480225, -0.10297730565071106, 0.07659325748682022, -0.021398721262812614, 0.04265281930565834, -0.3653680682182312, 0.8107708692550659, -0.6119692921638489, -0.2792814075946808, -0.440350204706192, 0.2785751223564148, 0.5244797468185425, -0.23808154463768005, 0.6721582412719727, 0.7042309045791626, -0.28127044439315796, -0.34312987327575684, -0.8427389860153198, -0.17590606212615967, -0.4604615867137909, 0.37174010276794434, -0.7529289126396179, -1.216396689414978, 0.5408652424812317, -0.000295023201033473, -0.226566880941391, 0.18114985525608063, 0.5755774974822998, 0.1252315193414688, 0.8023296594619751, 0.4480334222316742, -0.02581319771707058, 0.3678441643714905, -0.6258100867271423, 0.17874528467655182, -0.9066095948219299, -0.11596012860536575, -0.4326830804347992, -0.3123714327812195, -0.6960000991821289, -0.7393559813499451, 0.3542053699493408, 0.2504688799381256, -0.5085874795913696, -0.02264220453798771, -0.3513266146183014, 0.5057018995285034, 0.49600300192832947, 0.15979665517807007, 0.6456946730613708, 0.2000064253807068, -0.05781017988920212, 0.23103661835193634, -0.7210559844970703, -0.2311791479587555, 0.9367005825042725, 0.4694201648235321, 1.1323429346084595, 0.35563531517982483, 0.6902264356613159, 0.07962813973426819, 0.19804641604423523, -0.8806411623954773, 0.6270961165428162, -0.4654160737991333, -0.3139989972114563, -0.3899711072444916, -0.9336420893669128, -0.8367171883583069, 0.24670633673667908, -0.008570496924221516, -0.632927656173706, -0.017911115661263466, 0.10391059517860413, -0.4492732882499695, 0.665928304195404, -0.7139000296592712, 0.6523541212081909, 0.12067216634750366, -0.42513832449913025, -0.22241590917110443, -0.4186207056045532, 0.5493046045303345, 0.01093471609055996, 0.13069215416908264, -0.160279780626297, -0.1755674034357071, 0.5836592316627502, -0.8178316354751587, 0.6640679836273193, -0.002113850088790059, -0.3588056266307831, -0.15950579941272736, 0.17963680624961853, 0.3612182140350342, 0.2866332232952118, 0.003847968066111207, 0.5308282971382141, 0.3180815279483795, -0.7452748417854309, -0.5463154911994934, 0.9222827553749084, -0.768437922000885, -0.45066848397254944, -0.2625030279159546, -0.7571247816085815, -0.2701411247253418, 0.11631085723638535, 0.17094220221042633, 0.40527278184890747, 0.014911097474396229, 0.22181709110736847, 0.8353413343429565, -0.09734296798706055, 0.5297043919563293, 0.14015650749206543, -0.1841944456100464, -0.5351064205169678, 0.6150875687599182, -0.020663000643253326, 0.4608273506164551, 0.5560433268547058, 0.30906006693840027, -0.27137458324432373, -0.5912100672721863, -0.19730551540851593, 0.2751978635787964, -0.5906944274902344, -0.450243204832077, -0.27841928601264954, -0.23188167810440063, -0.43559372425079346, -0.17798006534576416, -0.7623051404953003, -0.6872348785400391, -0.09454317390918732, 0.24678416550159454, 0.43458735942840576, 0.26753827929496765, -0.0846993550658226, 0.40696558356285095, -0.7538074851036072, 0.3434801399707794, 0.24260932207107544, 0.6469479203224182, -0.012333485297858715, -0.490766316652298, -0.22614364326000214, -0.11604408174753189, -0.09124097973108292, -0.25885578989982605, 0.3038715422153473, 0.09631075710058212, -0.019905023276805878, 0.41593486070632935, 0.08697690069675446, 0.9802529215812683, -0.39507317543029785, 0.5442530512809753, 0.23042666912078857, -1.3313746452331543, -0.08525041490793228, -0.13750514388084412, 0.5529381036758423, 0.40342381596565247, 0.17555542290210724, -0.39518073201179504, -0.30377697944641113, -0.6417034864425659, -0.9637224078178406, 0.48514533042907715, 0.22553057968616486, 0.1124054566025734, 0.37138062715530396, 0.40321218967437744, -0.28505679965019226, 0.24175454676151276, -0.37301480770111084, -0.3392985761165619, 0.05825383588671684, -0.150198295712471, -0.127093106508255, -0.35248395800590515, 0.010134597308933735, -0.36500468850135803, 0.6381726264953613, -0.18709032237529755, 0.2791476547718048, 0.132746160030365, -0.019933799281716347, -0.09148509800434113, 0.4283064603805542, 0.4986063838005066, 0.6261313557624817, -0.4346592426300049, 0.592277467250824, 0.1574186533689499, -0.8387576937675476, 0.08635169267654419, 0.4507693648338318, -0.22273214161396027, -0.20154911279678345, 0.19886301457881927, 0.7639675140380859, 0.09341128915548325, -0.46314114332199097, 0.3907672166824341, -0.21352523565292358, 0.012137776240706444, -0.33951324224472046, -0.13398069143295288, 0.08497612178325653, 0.4742186665534973, 0.2732005715370178, -0.18121132254600525, -0.04310564324259758, -0.3043019771575928, 0.13851425051689148, 0.5211327075958252, -0.1693563610315323, -0.13329288363456726, 0.5779158473014832, 0.04625491052865982, -0.04049515724182129, 0.6816651821136475, 0.10629689693450928, -0.43865352869033813, 0.2491111159324646, 0.3773382008075714, 0.815055787563324, -0.3885323107242584, -0.15518604218959808, -0.03349241614341736, 0.06440342962741852, -0.07823485136032104, 0.20628100633621216, -0.001599281677044928, -0.732006847858429, -1.2392942905426025, -0.7685863375663757, -0.4232039749622345, 0.5635110139846802, -0.6713664531707764, 0.06275108456611633, -0.6456140875816345, -0.23840083181858063, 0.14958137273788452, 0.2839829921722412, -0.5358264446258545, 0.23834948241710663, 0.4360470771789551, 0.7525454759597778, -0.3506369888782501, 0.9396885633468628, 0.5503779053688049, -0.24855761229991913, -0.8951933979988098, -0.056413259357213974, -0.13861045241355896, -0.6573315262794495, 0.44879722595214844, -0.009273272007703781, -0.21698355674743652, 0.20673485100269318, -0.6218454241752625, -0.639171302318573, 0.949471116065979, 0.8844758868217468, -0.6379798054695129, -0.08213938027620316, 0.25727519392967224, 0.12267900258302689, 0.020181311294436455, 0.3435894548892975, 0.7907684445381165, 0.43522578477859497, 0.2801268994808197, -0.865058958530426, 0.31482765078544617, 0.026183372363448143, 0.19982598721981049, 0.5150460004806519, -0.6027317047119141, 1.0978124141693115, -0.16432778537273407, 0.0690879300236702, 0.09350382536649704, 0.7082968354225159, 0.37640100717544556, 0.014311673119664192, 0.5278090238571167, 0.8467110395431519, 0.7543751001358032, -0.03745304048061371, 1.0982086658477783, -0.0470338799059391, 0.7169082760810852, 0.8639287352561951, 0.0046814559027552605, 0.9223164319992065, 0.7636333703994751, -0.34874752163887024, 0.44118407368659973, 0.31962916254997253, 0.21350271999835968, 0.14998264610767365, 0.6137701869010925, -0.5184702277183533, -0.40267401933670044, 0.08183540403842926, -0.04788244515657425, 0.40090152621269226, 0.25121957063674927, 0.020258544012904167, -0.10572657734155655, -0.22249674797058105, 0.6546462774276733, -0.07652618736028671, -0.4866025745868683, 0.22031594812870026, 0.30243980884552, -0.5112496018409729, 1.205963134765625, 0.2461249828338623, 0.8479961156845093, -0.3862324059009552, -0.0716586783528328, -0.40154969692230225, 0.6591820120811462, -0.45501410961151123, -0.5770392417907715, 0.0859060287475586, 0.051518335938453674, -0.09551474452018738, -0.2049933224916458, 0.4341678023338318, -0.4954075515270233, -0.4988483488559723, 0.01590781658887863, 0.13416366279125214, 0.11720430850982666, -0.5501882433891296, -0.44814181327819824, 0.2899326980113983, 0.038814254105091095, -0.6570195555686951, 0.45853346586227417, 0.5353179574012756, -0.10450754314661026, 0.5905168056488037, 0.735905110836029, 0.332033634185791, 0.10831701010465622, 0.0552482083439827, 0.8278291821479797, -0.6915695667266846, -0.16518448293209076, -0.8584040999412537, 0.3665657937526703, 0.11501095443964005, -0.0726277306675911, 0.5197319388389587, 0.658058762550354, 0.7368411421775818, 0.032339487224817276, 0.5289222598075867, 0.14392350614070892, 0.018696501851081848, -0.8266904950141907, 0.7117819786071777, -0.5277637243270874, 0.5662455558776855, -0.10154150426387787, -0.9637702703475952, -0.5509623885154724, 0.64127516746521, -0.3810681700706482, 0.046599823981523514, 0.8059973120689392, 0.6272987723350525, -0.23798193037509918, -0.13711725175380707, 0.48579543828964233, 0.4336265027523041, 0.4664878845214844, 0.6958053708076477, 0.5771614909172058, -0.4178606867790222, 0.5826776027679443, -0.6338878870010376, -0.22149156033992767, -0.12409330904483795, -1.0251628160476685, -0.7835515737533569, -0.2887822687625885, -0.39562076330184937, -0.5717694759368896, -0.06440183520317078, 0.7087900042533875, 0.8415769934654236, -0.6260252594947815, -0.2770894467830658, -0.13014677166938782, 0.14837801456451416, -0.015259752050042152, -0.2621053457260132, 0.6917020678520203, -0.27400562167167664, -0.8863307237625122, 0.24130631983280182, 0.1504790037870407, -0.2546434700489044, -0.5776888132095337, -0.013525313697755337, -0.15249255299568176, 0.06521160155534744, 0.675449788570404, 0.18089470267295837, -0.6205752491950989, -0.2014356553554535, -0.29940134286880493, -0.11530324071645737, 0.1475498229265213, 0.7746555209159851, -0.853905975818634, 0.1235935315489769, 0.43587633967399597, 0.7144317030906677, 1.146066427230835, 0.018021468073129654, 0.459549218416214, -0.9306716918945312, 0.3578205406665802, 0.4079514145851135, 0.26527851819992065, 0.4821655750274658, -0.3642338216304779, 0.4825775921344757, 0.1783391535282135, -0.532621443271637, -0.9254702925682068, 0.12193526327610016, -1.038597583770752, -0.2605622410774231, 1.3307435512542725, -0.21949154138565063, -0.5618826746940613, 0.25355467200279236, 0.23508287966251373, 0.25644633173942566, -0.47877076268196106, 0.5609497427940369, 0.229545459151268, -0.04210121929645538, -0.3778817355632782, -0.6264693140983582, 0.4030889868736267, 0.6570584774017334, -0.6564611196517944, 0.08670834451913834, 0.4431108236312866, 0.34901416301727295, 0.16190944612026215, 0.3464028239250183, -0.04092353209853172, -0.11898981034755707, -0.23812457919120789, 0.6201995611190796, -0.1887548267841339, -0.014088665135204792, -0.4411228597164154, 0.26773831248283386, 0.14398455619812012, -0.1029835194349289 ]
http://arxiv.org/abs/2402.17983v2
http://arxiv.org/pdf/2402.17983v2
M3-VRD: Multimodal Multi-task Multi-teacher Visually-Rich Form Document Understanding
2024-02-28T01:56:00
2024-05-20T01:49:47
Yihao Ding, Lorenzo Vaiani, Caren Han, Jean Lee, Paolo Garza, Josiah Poon, Luca Cagliero
cs.CL
cs.CL, cs.CV
This paper presents a groundbreaking multimodal, multi-task, multi-teacher joint-grained knowledge distillation model for visually-rich form document understanding. The model is designed to leverage insights from both fine-grained and coarse-grained levels by facilitating a nuanced correlation between token and entity representations, addressing the complexities inherent in form documents. Additionally, we introduce new inter-grained and cross-grained loss functions to further refine diverse multi-teacher knowledge distillation transfer process, presenting distribution gaps and a harmonised understanding of form documents. Through a comprehensive evaluation across publicly available form document understanding datasets, our proposed model consistently outperforms existing baselines, showcasing its efficacy in handling the intricate structures and content of visually complex form documents.
[ -0.4179859459400177, -0.8216091394424438, 0.6872330904006958, 0.16346155107021332, -0.2682017385959625, 0.0651809498667717, 0.0299697108566761, -0.22407852113246918, -0.3748733699321747, 0.32309862971305847, -0.6180828809738159, -0.4497694969177246, -1.143308162689209, -0.21488057076931, -0.41017407178878784, 0.7658823132514954, -0.349282443523407, 0.3760843575000763, -0.7004364728927612, 0.07971954345703125, -0.5353915691375732, -0.4249867796897888, -0.30692094564437866, -0.34350308775901794, 0.5032016038894653, 0.45405814051628113, 0.38276898860931396, 0.2835603654384613, 0.6502411365509033, 0.28427550196647644, -0.21822011470794678, 0.23865525424480438, -0.5725250840187073, 0.14027023315429688, -0.2498141974210739, -0.6353541016578674, -0.4868120551109314, -0.06539507955312729, 0.5367833375930786, 0.7155244946479797, -0.09356618672609329, 0.22835485637187958, 0.3545263409614563, 0.5621489882469177, -0.90068119764328, 0.5905646085739136, -0.42382997274398804, 0.25524213910102844, -0.17101554572582245, -0.18199796974658966, -0.46571290493011475, 0.3306211829185486, 0.12391243129968643, -0.9704770445823669, 0.44243624806404114, -0.3937469720840454, 0.7622836828231812, 0.2522542476654053, -0.6538090705871582, -0.06046319007873535, -0.7920119762420654, 0.32575884461402893, -0.16149240732192993, 0.5647504925727844, 0.5023646354675293, 0.6447249054908752, 0.1363038420677185, -1.0236924886703491, -0.9769986867904663, 0.20716094970703125, 0.3230680227279663, 0.48280006647109985, -0.09296220541000366, 0.17859157919883728, 0.01745566911995411, 0.6274646520614624, -0.35352063179016113, -0.014059239067137241, -0.6717761754989624, -0.10890801250934601, 0.16972069442272186, 0.1410062611103058, 0.3315434753894806, -0.2513126730918884, -0.7891151309013367, -0.3914341926574707, 0.031627215445041656, 0.07875319570302963, 0.05250975117087364, 0.07663104683160782, -0.37174782156944275, 0.7675240635871887, -0.10698391497135162, 0.8615753650665283, -0.10246828198432922, -0.4855843782424927, -0.08931870013475418, -0.47613608837127686, -0.5363652110099792, -0.14576119184494019, 0.44684460759162903, 0.5466490387916565, 0.0100953234359622, 0.01750313676893711, -0.09455230832099915, -0.007223065476864576, 0.2306443154811859, -0.8842431902885437, -0.22552859783172607, -0.1386510282754898, -0.5866844654083252, -0.42098182439804077, 0.24980475008487701, -0.6518405079841614, -0.6251278519630432, -0.8351994156837463, 0.8106591105461121, -0.6896317005157471, -0.24874337017536163, 0.3077850639820099, -0.8389391899108887, -0.08163532614707947, 1.0126579999923706, -0.9545176029205322, 0.1993119865655899, 0.5440393090248108, 0.9235336780548096, -0.028834179043769836, -0.5057733058929443, -0.36628368496894836, 0.6148639917373657, 0.08752543479204178, 0.8087140321731567, -0.6161342859268188, -0.5799359083175659, -0.3887898623943329, 0.029917875304818153, -0.0323110930621624, -0.3626541495323181, 0.3586091995239258, -0.19762811064720154, 0.26794466376304626, -0.12173276394605637, -0.30881720781326294, -0.6037619709968567, 0.3300246000289917, -0.8561267256736755, 0.8489245772361755, 0.4488772451877594, -0.7412160038948059, 0.681926965713501, -0.19999800622463226, -0.11967155337333679, -0.05267374590039253, -0.3013593852519989, -0.33153727650642395, 0.27497032284736633, 0.2589053809642792, 0.701816976070404, -0.273722767829895, 0.31140175461769104, -0.509232223033905, 0.03389012813568115, -0.14344936609268188, -0.9804858565330505, 0.6172816753387451, 0.24770966172218323, -0.036538008600473404, 0.21994461119174957, -1.1335629224777222, -0.47801822423934937, -0.14642269909381866, -0.31274667382240295, -0.3678146302700043, -0.5059219002723694, 0.42100635170936584, 0.44465067982673645, 0.15655437111854553, -0.2229640781879425, 0.2892692983150482, 0.40487754344940186, 0.37732598185539246, 0.7548624873161316, -0.059352535754442215, 0.5598388910293579, -0.3732617497444153, 0.6699908971786499, 0.5415316224098206, 0.2952935993671417, -0.3822084367275238, -0.4727790057659149, -0.43948039412498474, -0.6573101282119751, 0.012988256290555, 0.208443284034729, -0.7564312815666199, -0.06023142859339714, -0.19538193941116333, -0.5129482746124268, -0.5895929932594299, 0.17472434043884277, 0.24655839800834656, 0.7435176372528076, 0.2827215790748596, -0.46772968769073486, -0.22828969359397888, -0.7775187492370605, 0.3424243927001953, -0.025313744321465492, 0.21737806499004364, 0.1252518743276596, 0.41792500019073486, -0.4432711899280548, 0.8097981810569763, -0.5572234392166138, -0.6270707249641418, -0.27167031168937683, 0.5159072279930115, -0.3602197468280792, 0.382157564163208, 0.6085289120674133, -1.0190176963806152, -0.31389713287353516, -0.005389086436480284, -0.6741375923156738, 0.12591956555843353, -0.24912481009960175, -0.25791001319885254, -0.19152480363845825, 0.5907543897628784, -0.6738461852073669, 0.6322868466377258, 0.5618940591812134, -0.5954561829566956, 0.42075875401496887, -0.5071943402290344, 0.2567988932132721, -1.2608215808868408, -0.11675353348255157, -0.014215790666639805, -0.17787255346775055, -0.2444794774055481, 0.004226048476994038, 0.3167971968650818, -0.39162009954452515, -0.4952174127101898, 0.4747990667819977, -0.6871049404144287, -0.11777066439390182, 0.04443204030394554, 0.14684192836284637, 0.7119584679603577, 0.3440287113189697, 0.03192877769470215, 0.5600807070732117, 0.7337099313735962, -0.455509752035141, 0.41094276309013367, 0.22539663314819336, -0.3215451240539551, 0.9852734804153442, -0.3261222839355469, -0.4277651011943817, -0.7514898777008057, 0.23737619817256927, -1.2730779647827148, -0.1303141862154007, -0.07278195768594742, -0.3275294601917267, 0.5543569326400757, -0.31000959873199463, -0.3929842412471771, -0.23465321958065033, -0.33251047134399414, 0.26061102747917175, -0.035844217985868454, -0.3370162546634674, 0.9968947172164917, 0.27417245507240295, -0.06529609113931656, -0.4345342814922333, -0.6835479140281677, 0.018871843814849854, -0.03925300016999245, -0.923454761505127, 0.6217826008796692, 0.03131485357880592, -0.2278018742799759, 0.2130233347415924, -0.2681747078895569, -0.4158836901187897, 0.24380865693092346, 0.4838481545448303, 0.23360304534435272, -0.27861136198043823, 0.13551950454711914, 0.23933526873588562, -0.015146009624004364, -0.1426635980606079, 0.01954040490090847, 0.3444989323616028, 0.24866987764835358, -0.5640987157821655, -0.6772627234458923, 0.3972248136997223, 1.2267191410064697, -0.3059067130088806, 0.9092305302619934, 1.2236723899841309, -0.4194290339946747, -0.17962804436683655, -0.44755083322525024, 0.056353859603405, -0.38506367802619934, 0.4476372301578522, -0.8895854353904724, -0.6609036922454834, 0.5569235682487488, -0.13749545812606812, -0.193095862865448, 0.7114493250846863, 0.5969656705856323, -0.1357170194387436, 0.5724170804023743, 0.9623496532440186, 0.36386850476264954, 0.6055862903594971, -0.6045327186584473, -0.19665299355983734, -0.8202978372573853, -0.9309887290000916, -0.2800080180168152, -0.20767498016357422, 0.0889480859041214, -0.8899405598640442, 0.3439381420612335, 0.6807365417480469, 0.2886449694633484, -0.10459859669208527, -0.5223118662834167, 0.20591920614242554, 0.5898876786231995, 0.1710231602191925, 0.4627038836479187, -0.10027872771024704, -0.19705407321453094, 0.14869378507137299, -0.4792255461215973, -0.45408591628074646, 0.9875496029853821, 0.2466665655374527, 0.9560052752494812, 0.3683446943759918, 0.5426926016807556, 0.2988872528076172, 0.001330749480985105, -0.7430803775787354, 0.22532965242862701, -0.1342674344778061, -0.3783332109451294, -0.28223228454589844, -0.07510998845100403, -0.8134737014770508, 0.676506519317627, -0.45191988348960876, -0.4016886353492737, 0.2535562813282013, -0.07073742151260376, -0.352217435836792, 0.38472655415534973, -1.4049171209335327, 1.301774263381958, -0.03392493352293968, -0.3301602602005005, -0.23250997066497803, -0.40142372250556946, 0.6760711073875427, -0.02277987077832222, 0.352416455745697, -0.1512448638677597, 0.13387487828731537, 0.6315259337425232, -0.6021854281425476, 0.6613113880157471, -0.2769377529621124, -0.1856263279914856, 0.30049726366996765, 0.09186055511236191, 0.12200220674276352, 0.11987276375293732, 0.11997832357883453, -0.19921092689037323, 0.24159109592437744, -0.31122100353240967, -0.8226334452629089, 0.5484163165092468, -0.8349550366401672, -0.45756468176841736, -0.24107666313648224, -0.4692709147930145, 0.11659523099660873, 0.2952643036842346, 0.07452097535133362, 0.8135417103767395, -0.2548264265060425, 0.2629719376564026, 0.7327886819839478, -0.03897102177143097, 0.3293588161468506, 0.39525747299194336, -0.14450302720069885, -0.10550118237733841, 0.8353763222694397, 0.2477152943611145, 0.35746073722839355, 0.5564284324645996, 0.0880565270781517, -0.43248024582862854, -0.5363624691963196, -0.7013217806816101, -0.1361585408449173, -0.9775252342224121, -0.12498916685581207, -0.9056320786476135, -0.05992013216018677, -0.7430119514465332, -0.18342113494873047, -0.20758284628391266, -0.5280153751373291, -0.8148835897445679, -0.3069734275341034, 0.3658369779586792, 1.0517910718917847, -0.14411132037639618, 0.28925737738609314, -0.8727805614471436, 0.9281622171401978, 0.6291334629058838, 0.47568279504776, 0.2453089952468872, -0.6164258122444153, -0.0869215726852417, -0.14756911993026733, -0.6513682007789612, -0.8389778137207031, 0.3586280345916748, 0.2702154219150543, 0.6891254186630249, 0.5807980298995972, -0.15639229118824005, 1.0700008869171143, -0.3567946255207062, 0.691171407699585, 0.34467440843582153, -0.802921712398529, 0.5094472169876099, -0.24736502766609192, 0.39988353848457336, 0.5565283894538879, 0.4714539349079132, -0.5103604793548584, -0.11667586863040924, -0.5523888468742371, -0.9572203159332275, 0.8272103071212769, -0.10306461900472641, -0.07766739279031754, 0.3387987017631531, -0.025215182453393936, 0.5789901614189148, 0.032888755202293396, -0.4558054804801941, -0.14911721646785736, -0.510187566280365, -0.40344053506851196, -0.04502187296748161, -0.42446961998939514, -0.059411801397800446, -0.39824461936950684, 0.2898704707622528, 0.1365744173526764, 0.04952172562479973, 0.16970115900039673, -0.4188530147075653, 0.28838714957237244, 0.26043546199798584, 0.8257119059562683, 0.8166285753250122, -0.3633224666118622, 0.7400544881820679, -0.21791726350784302, -0.8721612095832825, 0.09684491902589798, 0.3755802512168884, 0.34040960669517517, -0.022182326763868332, 0.4117124080657959, 1.0402249097824097, 0.262521356344223, -0.4138008654117584, 0.7776302099227905, -0.3424285352230072, -0.37916022539138794, -0.04575179144740105, -0.008505253121256828, 0.18062356114387512, 0.21927669644355774, 0.32067230343818665, 0.3542029559612274, 0.21755757927894592, -0.7845514416694641, 0.32079383730888367, 0.14584980905056, -0.4934430718421936, -0.28019899129867554, 0.9621552228927612, 0.2858090400695801, 0.12251221388578415, 0.2950054705142975, -0.08071985840797424, -0.14753495156764984, 0.5215836763381958, 0.43165352940559387, 0.6705209016799927, 0.13707979023456573, 0.48374518752098083, 0.12311916798353195, 0.011755362153053284, -0.0696382224559784, 0.31009575724601746, -0.576741099357605, -0.4171265661716461, -0.12099435925483704, -0.7008299231529236, -0.2685236632823944, 0.054558612406253815, -0.7603360414505005, 0.3829025626182556, -0.4253459572792053, -0.16424861550331116, 0.4844210147857666, -0.3362743854522705, -0.8325459957122803, 0.3284319341182709, 0.46662139892578125, 0.6301479935646057, -0.7856610417366028, 0.720984697341919, 0.45392879843711853, -0.882371187210083, -0.7459825277328491, -0.3920462131500244, 0.29018741846084595, -0.8401302099227905, 0.9951882362365723, 0.09520461410284042, -0.18341203033924103, -0.06615828722715378, -0.08333980292081833, -0.8188196420669556, 1.444980502128601, 0.4284043610095978, -0.5042371153831482, -0.18224109709262848, -0.0164338368922472, 0.15859511494636536, 0.05576108396053314, 0.5504626035690308, 0.0021028320770710707, 0.4451081454753876, 0.39539095759391785, -0.8991170525550842, -0.26360657811164856, -0.23333881795406342, 0.13900326192378998, -0.051366742700338364, -0.5697752237319946, 1.0077275037765503, -0.12153410166501999, -0.30981042981147766, -0.5394765734672546, 0.6237649917602539, 0.010088265873491764, 0.41711923480033875, 0.21297703683376312, 0.9015229940414429, 0.7810590267181396, -0.004057889338582754, 0.9311311841011047, -0.1299109011888504, 0.19562016427516937, 1.184645652770996, 0.029265666380524635, 0.599006175994873, 0.602850615978241, -0.12603481113910675, 0.3649367094039917, 0.38108184933662415, 0.15342232584953308, 0.5400303602218628, 0.12166176736354828, -0.4356471002101898, -0.2353491336107254, -0.12535852193832397, -0.4319765269756317, 0.7013972997665405, 0.3013575077056885, -0.287356436252594, -0.6287470459938049, 0.528667151927948, -0.2892601191997528, 0.08771679550409317, -0.44418537616729736, 0.8517355918884277, 0.02324685826897621, -0.42533165216445923, 0.3726119101047516, 0.19649164378643036, 0.5998934507369995, -0.4799129366874695, -0.2028113156557083, 0.0925239622592926, 0.11332863569259644, -0.29680588841438293, -1.2230077981948853, 0.1676875650882721, -0.26961684226989746, -0.524300754070282, -0.5800434947013855, 0.7167749404907227, -0.6103707551956177, -0.526871919631958, 0.18226999044418335, 0.5022581219673157, 0.04995761439204216, -0.2714061439037323, -0.48584043979644775, 0.24094976484775543, -0.16969287395477295, -0.023966984823346138, 0.2946300208568573, 1.2519595623016357, -0.04945136979222298, 0.6755539178848267, 0.47288602590560913, -0.1640542596578598, 0.3535206913948059, 0.5955509543418884, 0.8919699788093567, -0.4353397488594055, -0.42809122800827026, -0.8374019265174866, 0.7622517943382263, 0.026780802756547928, -0.43036550283432007, 0.6058402061462402, 0.6776789426803589, 1.0326652526855469, -0.3673621714115143, 0.6935224533081055, 0.26112693548202515, -0.14314192533493042, -0.6295384168624878, 0.9560390710830688, -0.6261085867881775, -0.2763969898223877, -0.46050941944122314, -0.769065797328949, -0.2201630175113678, 0.45433083176612854, 0.09464919567108154, -0.2811764180660248, 0.4319220185279846, 0.46579283475875854, -0.3533305525779724, -0.21434897184371948, 0.5018517971038818, -0.13458314538002014, 0.4445401728153229, 0.330443412065506, 0.7757384777069092, -0.4162675738334656, 0.5238974690437317, -0.24919907748699188, -0.17690247297286987, -0.2618046998977661, -0.47807830572128296, -0.9095298647880554, -1.0885545015335083, -0.2678905427455902, 0.08130057156085968, -0.28654977679252625, 0.46475473046302795, 0.8561105728149414, -0.09102075546979904, 0.13330353796482086, -0.024075813591480255, 0.1384500116109848, 0.005904254503548145, -0.30180421471595764, 0.38165849447250366, -0.11775293946266174, -0.6399246454238892, -0.0293072871863842, 0.573703944683075, 0.6551451683044434, -0.40823444724082947, 0.12572592496871948, -0.19190776348114014, -0.18634511530399323, 1.1018667221069336, -0.2844846546649933, -0.6532890200614929, 0.15248221158981323, -0.3606550097465515, -0.3690283000469208, 0.03777698799967766, 0.5554444193840027, -0.7147213220596313, 0.9652465581893921, 0.6866936087608337, 0.5179040431976318, 1.001866340637207, -0.03060009516775608, 0.4016849994659424, -0.5143454670906067, 0.3861869275569916, -0.06451182812452316, 0.43795111775398254, 0.23020145297050476, -0.2973245680332184, 0.15059931576251984, 0.5216308236122131, -0.023273315280675888, -0.6728480458259583, -0.05072144418954849, -1.6405036449432373, -0.6165875196456909, 0.8957114815711975, -0.049272969365119934, -0.3707349896430969, -0.04706718772649765, -0.6828765273094177, 0.5149354934692383, -0.32649609446525574, 0.6267805695533752, 0.888363242149353, 0.15893088281154633, -0.46388429403305054, -0.4756283462047577, 0.32722166180610657, -0.025615831837058067, -0.8466440439224243, 0.10204634815454483, 0.6936475038528442, 0.09454991668462753, -0.07680566608905792, 0.8458841443061829, -0.23706848919391632, 0.20075710117816925, 0.36869579553604126, 0.15839256346225739, -0.5701006650924683, -0.5622279047966003, -0.0579511784017086, 0.5094654560089111, 0.022896844893693924, -0.27984148263931274 ]
http://arxiv.org/abs/2402.17982v1
http://arxiv.org/pdf/2402.17982v1
Collaborative decoding of critical tokens for boosting factuality of large language models
2024-02-28T01:53:37
2024-02-28T01:53:37
Lifeng Jin, Baolin Peng, Linfeng Song, Haitao Mi, Ye Tian, Dong Yu
cs.CL
cs.CL
The most common training pipeline for large language models includes pretraining, finetuning and aligning phases, with their respective resulting models, such as the pretrained model and the finetuned model. Finetuned and aligned models show improved abilities of instruction following and safe generation, however their abilities to stay factual about the world are impacted by the finetuning process. Furthermore, the common practice of using sampling during generation also increases chances of hallucination. In this work, we introduce a collaborative decoding framework to harness the high factuality within pretrained models through the concept of critical tokens. We first design a critical token classifier to decide which model to use for the next token, and subsequently generates the next token using different decoding strategies. Experiments with different models and datasets show that our decoding framework is able to reduce model hallucination significantly, showcasing the importance of the collaborative decoding framework.
[ -0.33113428950309753, -0.5425447225570679, 0.449346125125885, -0.039071086794137955, -0.3348211646080017, 0.20542007684707642, -0.3381965756416321, -0.34235718846321106, 0.08100594580173492, 0.728268563747406, -0.27824217081069946, -0.49720171093940735, -0.49327293038368225, 0.07557180523872375, -0.44249942898750305, 1.2387274503707886, 0.1231389194726944, 0.32844072580337524, -0.2227691262960434, -0.18438830971717834, -0.5863910913467407, -0.9563246965408325, -0.5057741403579712, -0.29915016889572144, 0.2843814790248871, 0.5541201829910278, 0.6458438038825989, 0.5323169231414795, 0.5092419385910034, 0.30108630657196045, 0.013110191561281681, 0.3253331780433655, -0.9111246466636658, 0.0676102414727211, -0.2561299800872803, -0.6569470763206482, -0.3599753677845001, 0.029670335352420807, 0.39114129543304443, 1.045005202293396, -0.15451163053512573, 0.30471253395080566, 0.23626917600631714, 0.42805320024490356, -0.6332966089248657, 0.46098268032073975, -0.773548424243927, 0.0182651299983263, 0.02488524094223976, -0.2144613116979599, -0.7308495044708252, -0.6254565715789795, 0.11787622421979904, -0.602004885673523, 0.7400550246238708, 0.24078692495822906, 0.596909761428833, 0.19364206492900848, -0.07593223452568054, -0.2618245482444763, -0.7710233330726624, 0.6269489526748657, -0.6388238668441772, 0.47765299677848816, 0.3743734657764435, 0.03577530011534691, -0.08352705091238022, -0.8873475790023804, -0.7308295965194702, -0.1993047147989273, -0.16608861088752747, -0.08032887428998947, 0.24303199350833893, 0.3276013731956482, 0.0826338678598404, 0.5480959415435791, -0.34180623292922974, 0.01054164208471775, -0.2780090272426605, -0.6472753882408142, 0.38522985577583313, 0.190855011343956, 0.2380494475364685, -0.12202564626932144, -0.3061731159687042, -0.26893264055252075, -0.5442952513694763, -0.21023136377334595, 0.08756637573242188, 0.5634145140647888, -0.03377903252840042, 0.4515140950679779, -0.1939251571893692, 0.3763178586959839, 0.24478775262832642, -0.01054944284260273, 0.36482441425323486, -0.69256591796875, -0.13147293031215668, 0.23224535584449768, 0.5771523118019104, 0.5200180411338806, 0.17161448299884796, -0.4905254542827606, -0.32119226455688477, 0.2334088683128357, 0.06307513266801834, -0.9004908204078674, -0.30855080485343933, 0.1298726499080658, -0.578066349029541, -0.5634768605232239, 0.14594371616840363, -0.4764156639575958, -0.3526068329811096, -0.5484834313392639, 0.5237042903900146, -0.3034619688987732, -0.5417450070381165, 0.4656500816345215, -0.10360432416200638, -0.022415773943066597, 0.07120362669229507, -1.0954301357269287, 0.3846985101699829, 0.9065548777580261, 0.7554190754890442, -0.02156870812177658, -0.39671725034713745, -0.9696871638298035, 0.11239106953144073, -0.4614271819591522, 0.633361279964447, -0.3776426613330841, -0.24535638093948364, 0.19210287928581238, 0.03535659983754158, 0.02920377068221569, -0.5688384771347046, 0.5140203237533569, -0.6128190755844116, 0.09382402151823044, -0.6093077063560486, -0.6866171360015869, -0.30936020612716675, 0.40880468487739563, -0.7937005162239075, 0.6722039580345154, -0.05479879677295685, -0.8981825709342957, 0.5297484397888184, -0.38448160886764526, -0.27904316782951355, 0.238210991024971, -0.3301165699958801, -0.23563522100448608, 0.2805574834346771, 0.21961548924446106, 0.7360115051269531, -0.35429465770721436, 0.6846096515655518, -0.25554192066192627, -0.44276711344718933, 0.14541040360927582, -0.47998377680778503, 0.6816088557243347, 0.2263025939464569, -0.5366621613502502, 0.20505458116531372, -0.8688221573829651, -0.1353544443845749, -0.0916200801730156, -0.26067954301834106, -0.22625623643398285, -0.19572320580482483, 0.22033174335956573, 0.08943663537502289, 0.1389942765235901, -0.27532875537872314, -0.08449753373861313, -0.37432992458343506, 0.2789924740791321, 0.6913217902183533, 0.16567176580429077, 0.34012576937675476, -0.312518447637558, 0.34407946467399597, 0.1777978241443634, -0.06867974251508713, -0.19421854615211487, -0.1612330973148346, -1.042168140411377, -0.2647760808467865, 0.4983600974082947, 0.39192259311676025, -0.7497829794883728, 0.7327016592025757, -0.3038097321987152, -0.2124791145324707, -0.607327401638031, 0.08666525781154633, 0.47900253534317017, 0.5066436529159546, 0.1765030175447464, -0.4359426200389862, -0.6324872970581055, -0.6303364038467407, 0.05621079355478287, -0.2651216387748718, 0.11224166303873062, 0.01488830242305994, 0.3746194541454315, -0.3244814872741699, 0.9032186269760132, -0.3698504567146301, -0.13564863801002502, -0.3590865433216095, 0.3821105659008026, 0.1287699043750763, 0.751118540763855, 0.4427887201309204, -0.6308415532112122, -0.2104075849056244, -0.11288891732692719, -0.7875362634658813, 0.2158794403076172, -0.3594726026058197, -0.2146325409412384, 0.09612873941659927, 0.739374577999115, -0.5112704634666443, 0.05404255539178848, 0.5360465049743652, -0.41846901178359985, 0.6362186074256897, -0.16761383414268494, 0.18970423936843872, -1.237766981124878, 0.15043967962265015, -0.6034947037696838, -0.4693237543106079, -0.4395531415939331, 0.3640410006046295, -0.4253308176994324, -0.08958750218153, -0.2172001302242279, 0.05582646653056145, -0.44889095425605774, 0.16972555220127106, -0.13220182061195374, 0.07547155767679214, -0.0018413960933685303, 0.38900095224380493, 0.17835357785224915, 0.7353166341781616, 0.5596931576728821, -0.4048474133014679, 0.3293466866016388, 0.2420760989189148, -0.5121301412582397, 0.2231285572052002, -0.5466525554656982, 0.4178897440433502, -0.09533179551362991, 0.276700884103775, -0.785670280456543, -0.3011470437049866, 0.11323681473731995, -0.22373339533805847, 0.18308962881565094, -0.07254128903150558, -0.7661336064338684, -0.2175181657075882, -0.10449504852294922, 0.6365675330162048, 0.3723292946815491, -0.7844332456588745, 0.4887661933898926, 0.5574632883071899, 0.16755889356136322, -0.5266211628913879, -0.5564627647399902, 0.08605121076107025, -0.019299209117889404, -0.6608315110206604, 0.09779812395572662, -0.11201996356248856, -0.07880886644124985, 0.011839428916573524, 0.10153986513614655, 0.021334480494260788, 0.1120573952794075, 0.31975772976875305, 0.38077419996261597, -0.3736514449119568, -0.03064967505633831, -0.23833401501178741, -0.33599817752838135, 0.1599377989768982, -0.5631335377693176, 0.9326956868171692, -0.2942757308483124, -0.24869641661643982, -0.5707827210426331, 0.3826451897621155, 0.7946022748947144, -0.5003775358200073, 1.2005317211151123, 0.8897166848182678, -0.5712047815322876, -0.09622111916542053, -0.8037284016609192, -0.4416235685348511, -0.49450841546058655, 0.39892423152923584, -0.29897642135620117, -1.0202280282974243, 0.7405574321746826, -0.11136531084775925, -0.14375446736812592, 0.14610598981380463, 0.7877187728881836, 0.4111114740371704, 1.072016954421997, 0.927963376045227, -0.2921035587787628, 0.2508453130722046, -0.4420569837093353, 0.3160358965396881, -0.4354569613933563, -0.28756123781204224, -0.4339260756969452, 0.12721720337867737, -0.4058483839035034, -0.5304083228111267, 0.12152307480573654, 0.3084356188774109, 0.028655080124735832, 0.03781532123684883, -0.49882176518440247, 0.7971524000167847, 0.52534019947052, 0.24302755296230316, 0.22019068896770477, 0.20579415559768677, -0.5270404815673828, 0.08937709778547287, -0.7891373038291931, -0.5286858677864075, 1.067071795463562, 0.24786540865898132, 0.5028618574142456, -0.1596040427684784, 0.8287506699562073, 0.05112148076295853, 0.1740567684173584, -0.7833472490310669, 0.48336347937583923, 0.025176318362355232, -0.8816058039665222, -0.1820373386144638, -0.477760374546051, -0.6113752126693726, -0.04432295262813568, -0.6459885239601135, -0.5058779120445251, 0.19874192774295807, 0.2983642816543579, -0.6394461989402771, 0.25709253549575806, -0.7725043892860413, 0.9758275747299194, 0.19548159837722778, -0.312210351228714, -0.6036692261695862, -0.6145378351211548, 0.41774022579193115, -0.18198464810848236, 0.33866769075393677, 0.2541138827800751, 0.6014277935028076, 0.7400403618812561, -0.48866429924964905, 1.0894125699996948, -0.16318175196647644, 0.07744179666042328, 0.3579498827457428, 0.2119665890932083, 0.523078203201294, 0.18909846246242523, -0.2257281243801117, 0.04804175719618797, 0.06464157998561859, -0.3578869700431824, -0.3380599021911621, 0.4494817554950714, -0.7762284874916077, -0.4566354751586914, -0.22347775101661682, -0.5222722291946411, -0.22834905982017517, 0.45672842860221863, 0.4263695180416107, 0.8065375089645386, -0.4287262558937073, 0.3466186225414276, 0.6030094027519226, 0.13474085927009583, 0.18157707154750824, 0.2157624065876007, -0.13967262208461761, -0.5413300395011902, 1.234542965888977, -0.017695888876914978, 0.2698253393173218, 0.17109990119934082, 0.19119027256965637, -0.21462894976139069, -0.9275623559951782, -0.05957135930657387, 0.2590262293815613, -0.8742879629135132, -0.19111214578151703, -0.5861513614654541, -0.26835325360298157, -0.5831092596054077, -0.2783818542957306, -0.4783977270126343, -0.28524869680404663, -0.2806699872016907, -0.3608537018299103, 0.034019891172647476, 0.8536186218261719, -0.37035512924194336, 0.17130662500858307, -1.2436389923095703, 0.30812934041023254, 0.3134440779685974, 0.3145589232444763, 0.20258834958076477, -0.24808631837368011, -0.4924599826335907, 0.0050967540591955185, 0.15951919555664062, -0.5429909229278564, 0.10163675248622894, -0.12983089685440063, 0.5426314473152161, 0.5553863048553467, 0.3721467852592468, 0.7572926878929138, -0.6079938411712646, 0.8100296854972839, 0.315620094537735, -1.2314101457595825, 0.04395703226327896, -0.15026606619358063, -0.03979978337883949, 1.076088547706604, 0.2093525528907776, -0.6372794508934021, -0.4160764813423157, -0.5726681351661682, -0.7230532765388489, 0.777531087398529, 0.17540515959262848, 0.26362794637680054, -0.17001639306545258, 0.39668095111846924, 0.4593810439109802, 0.22201786935329437, -0.6692939400672913, 0.05021802335977554, -0.298812597990036, -0.5216542482376099, -0.05905517563223839, -0.4321529269218445, -0.41668304800987244, -0.32823675870895386, 0.4789237976074219, -0.18788902461528778, 0.02710655704140663, 0.03145261108875275, -0.24276003241539001, -0.11418485641479492, -0.13104340434074402, 0.2859300374984741, 0.43266281485557556, -0.18522688746452332, 0.29129791259765625, 0.16287115216255188, -0.5868434309959412, 0.05976786091923714, -0.09764622151851654, -0.09114304929971695, -0.01773669943213463, 0.6315203309059143, 0.8598976731300354, 0.09704310446977615, -0.4671742618083954, 0.6623001098632812, -0.2815585434436798, -0.1506681889295578, -0.18109361827373505, 0.13594967126846313, -0.05333196371793747, 0.3187767267227173, 0.07394092530012131, 0.4819062352180481, 0.20054449141025543, -0.5089527368545532, 0.3653102517127991, 0.31108367443084717, -0.16845270991325378, -0.5660343766212463, 0.5203527808189392, 0.6359665989875793, -0.2131257802248001, 0.6777681708335876, -0.4280112087726593, -0.8715496063232422, 0.396933913230896, 0.8118405938148499, 0.9335677027702332, 0.10804961621761322, 0.33095815777778625, 0.4488019645214081, 0.24235917627811432, -0.47881177067756653, -0.022663185372948647, -0.3106386065483093, -0.9856036901473999, -0.5016129612922668, -0.6158870458602905, -0.39013972878456116, 0.24547386169433594, -0.8653781414031982, 0.364446759223938, -0.5694705247879028, -0.06923425197601318, -0.33594226837158203, -0.026051141321659088, -0.7611004710197449, 0.32003945112228394, 0.41643226146698, 0.529207706451416, -0.947938859462738, 0.7021790742874146, 0.37205785512924194, -0.41071492433547974, -1.2399839162826538, 0.2875620424747467, -0.1166258230805397, -0.5382048487663269, 0.6433715224266052, 0.5000907778739929, -0.37321963906288147, 0.16858282685279846, -0.5651097893714905, -0.8762394785881042, 0.7508513927459717, 0.5155572891235352, -0.7271760702133179, -0.28158509731292725, 0.2335626482963562, 0.4332507848739624, -0.4946450889110565, -0.0843106061220169, 0.5950326323509216, 0.14521588385105133, 0.14543236792087555, -0.7891644239425659, 0.4102042019367218, -0.06907998025417328, -0.2517625689506531, -0.2716072201728821, -0.4969603419303894, 0.7724555134773254, -0.2050686627626419, -0.316715270280838, 0.054680150002241135, 0.7163347005844116, 0.23433725535869598, 0.13559986650943756, 0.737856924533844, 0.48034417629241943, 1.1500139236450195, 0.23829348385334015, 0.7226467728614807, -0.6222254037857056, 0.4545159637928009, 0.9960644245147705, -0.06687373667955399, 0.7834870219230652, 0.2588839828968048, 0.26630711555480957, 0.34431156516075134, 0.3940282166004181, 0.12551386654376984, 0.5769190192222595, -0.06735975295305252, -0.2839917242527008, -0.6611390709877014, -0.16628199815750122, -0.5552307367324829, 0.41852661967277527, 0.33716514706611633, -0.24640609323978424, -0.10870958119630814, 0.038518987596035004, 0.07447867840528488, 0.10748226195573807, -0.08108953386545181, 0.6661608815193176, -0.03234303370118141, -0.6638305187225342, 0.9276856780052185, -0.22037073969841003, 0.5396804809570312, -0.11523943394422531, 0.014804134145379066, -0.17395161092281342, 0.3807533085346222, -0.28595277667045593, -0.3533732295036316, 0.20767667889595032, -0.11713074147701263, -0.3398190140724182, -0.15060296654701233, 0.3547801971435547, -0.5253838300704956, -0.45160043239593506, 0.15116474032402039, 0.2852928638458252, 0.036559611558914185, 0.07903143763542175, -0.41949746012687683, 0.3518022894859314, 0.06120028346776962, 0.15711964666843414, -0.14856991171836853, 0.5971721410751343, 0.19604839384555817, 0.25516554713249207, 0.9258999228477478, 0.12768712639808655, 0.03990984335541725, 0.4275367558002472, 1.1000194549560547, -0.477064311504364, -0.6482155919075012, -0.7932602763175964, 0.4939671754837036, -0.07343854010105133, -0.23012232780456543, 0.6425638198852539, 0.5400118827819824, 0.9988592863082886, -0.11036662012338638, 0.6589230895042419, 0.3316843807697296, 0.3009324073791504, -0.7546116709709167, 1.0876473188400269, -0.15667849779129028, 0.22921374440193176, -0.2679165005683899, -0.9369598627090454, -0.49557575583457947, 0.7218002676963806, 0.028229456394910812, -0.3552430272102356, 0.7437734603881836, 0.8520718216896057, -0.08228881657123566, 0.15596327185630798, 0.15786391496658325, 0.3575955629348755, 0.550967276096344, 0.2545938789844513, 0.7949649095535278, -0.23077532649040222, 0.5066279172897339, -0.19626286625862122, -0.32739531993865967, -0.31438735127449036, -0.7325659990310669, -1.3424979448318481, -0.6765629053115845, -0.22279693186283112, -0.5754976868629456, -0.037049274891614914, 1.3116556406021118, 0.9306535124778748, -1.0411337614059448, -0.11400695890188217, -0.5256880521774292, 0.012867891229689121, 0.055234454572200775, -0.20169581472873688, 0.23865753412246704, -0.7200955748558044, -0.5867806673049927, 0.16923706233501434, 0.013986566103994846, 0.05151446536183357, -0.33839982748031616, -0.023591207340359688, 0.16472068428993225, 0.11306092143058777, 0.5375036597251892, -0.03416755050420761, -0.3858814239501953, -0.5376848578453064, 0.04124566540122032, -0.2107773721218109, -0.135219544172287, 1.0209453105926514, -0.8376083970069885, 0.4660114645957947, 0.6519709825515747, 0.8938384652137756, 0.430905818939209, -0.15512987971305847, 0.8721141815185547, -0.5841533541679382, 0.4831691384315491, 0.3232511281967163, 0.29860809445381165, 0.5447498559951782, -0.3807351291179657, 0.2087707668542862, 0.5845476388931274, -0.5520195960998535, -1.2801674604415894, 0.10318926721811295, -0.8096619248390198, -0.13068200647830963, 0.9602428078651428, -0.1973067671060562, -0.29674863815307617, -0.18922759592533112, -0.3648751974105835, 0.5689414739608765, -0.16999493539333344, 0.9635275602340698, 0.92666095495224, 0.37337276339530945, 0.2949555218219757, -0.026920149102807045, 0.6355369091033936, 0.5886369347572327, -0.562565267086029, 0.3645164370536804, 0.5249196290969849, 0.2598162293434143, 0.4165564179420471, 0.5317984223365784, 0.03252767026424408, 0.19135305285453796, 0.3169495761394501, -0.04049847647547722, -0.03692351281642914, -0.5231164693832397, -0.21469801664352417, 0.20463994145393372, 0.23905619978904724, -0.30472803115844727 ]
http://arxiv.org/abs/2402.17971v2
http://arxiv.org/pdf/2402.17971v2
All in an Aggregated Image for In-Image Learning
2024-02-28T01:32:59
2024-04-02T09:32:51
Lei Wang, Wanyu Xu, Zhiqiang Hu, Yihuai Lan, Shan Dong, Hao Wang, Roy Ka-Wei Lee, Ee-Peng Lim
cs.CV
cs.CV, cs.AI, cs.CL
This paper introduces a new in-context learning (ICL) mechanism called In-Image Learning (I$^2$L) that combines demonstration examples, visual cues, and chain-of-thought reasoning into an aggregated image to enhance the capabilities of Large Multimodal Models (e.g., GPT-4V) in multimodal reasoning tasks. Unlike previous approaches that rely on converting images to text or incorporating visual input into language models, I$^2$L consolidates all information into an aggregated image and leverages image processing, understanding, and reasoning abilities. This has several advantages: it reduces inaccurate textual descriptions of complex images, provides flexibility in positioning demonstration examples, and avoids multiple input images and lengthy prompts. We also introduce I$^2$L-Hybrid, a method that combines the strengths of I$^2$L with other ICL methods. Specifically, it uses an automatic strategy to select the most suitable method (I$^2$L or another certain ICL method) for a specific task instance. We conduct extensive experiments to assess the effectiveness of I$^2$L and I$^2$L-Hybrid on MathVista, which covers a variety of complex multimodal reasoning tasks. Additionally, we investigate the influence of image resolution, the number of demonstration examples in a single image, and the positions of these demonstrations in the aggregated image on the effectiveness of I$^2$L. Our code is publicly available at https://github.com/AGI-Edgerunners/IIL.
[ -0.4941495358943939, -0.9182282090187073, 0.4652181565761566, 0.09776200354099274, -0.606651782989502, 0.364750474691391, -0.02219310961663723, -0.46023207902908325, -0.12586882710456848, -0.02549830824136734, -0.22464504837989807, -0.2827468514442444, -0.4292653501033783, -0.12456587702035904, -0.299355685710907, 0.8805072903633118, -0.12950631976127625, 0.3723709285259247, -0.8295754194259644, -0.37674424052238464, -0.35424256324768066, -0.27183160185813904, -0.5150890946388245, -0.5241930484771729, 0.26004767417907715, 0.608968198299408, 0.48632335662841797, 0.4929579198360443, 0.47552385926246643, 0.26798489689826965, 0.2456238716840744, 0.5554978251457214, -0.2597105801105499, -0.15614399313926697, -0.22541743516921997, -0.342699259519577, -0.1378103792667389, 0.031163854524493217, 0.8034934401512146, 0.4440191984176636, 0.14941075444221497, 0.09290604293346405, 0.09186039865016937, 0.38731810450553894, -0.7815231084823608, 0.24799898266792297, -0.6914071440696716, 0.057180602103471756, -0.1855139136314392, -0.1752161979675293, -0.37831249833106995, -0.23879748582839966, -0.03962770104408264, -0.5917476415634155, -0.21703410148620605, -0.11002912372350693, 0.5367651581764221, 0.1715794950723648, -0.8467128276824951, -0.32665735483169556, -0.5183144807815552, 0.7133549451828003, -0.30935412645339966, 0.31361567974090576, 0.19428178668022156, 0.3883698880672455, 0.19301116466522217, -0.8354740738868713, -0.8870373368263245, -0.19025735557079315, -0.1301615685224533, 0.4292895495891571, -0.18972913920879364, -0.0426887683570385, 0.24300839006900787, 0.3706173896789551, -0.3946782052516937, 0.1515953540802002, -0.46434497833251953, -0.06542551517486572, 0.35795870423316956, -0.0036976344417780638, 0.35875725746154785, 0.2938603460788727, -0.722308337688446, -0.2606206238269806, -0.7443395256996155, 0.3085792064666748, -0.07698986679315567, -0.30628979206085205, -0.2216365933418274, 0.5205844640731812, 0.24099400639533997, 0.660347044467926, 0.12978321313858032, -0.3402644097805023, 0.19184191524982452, -0.28436797857284546, -0.041196029633283615, -0.1286611109972, 0.6011825203895569, 0.5332397818565369, -0.14772537350654602, 0.02583245187997818, -0.2864711284637451, 0.40631040930747986, -0.09538937360048294, -0.6719706058502197, -0.01806778274476528, -0.14243565499782562, -0.4952733814716339, -0.16368505358695984, -0.04048044607043266, -0.7422799468040466, 0.03389051929116249, -0.48164254426956177, 0.8751301765441895, -0.8421645164489746, -0.20897144079208374, -0.2755868136882782, -0.17981746792793274, 0.35175222158432007, 0.5120723247528076, -0.5970211625099182, 0.6250200867652893, 0.32839077711105347, 0.8916345238685608, -0.18093842267990112, -0.3862577974796295, -0.8449079394340515, 0.18504519760608673, -0.42117977142333984, 0.9963406920433044, -0.5662679076194763, -0.3276745676994324, -0.04057394340634346, -0.3550562858581543, -0.19898955523967743, -0.6586342453956604, 0.26828962564468384, -0.46984386444091797, 0.4263935685157776, 0.12223222106695175, -0.6467044949531555, -0.5636703968048096, 0.44719478487968445, -0.4350254535675049, 0.87110435962677, 0.0990595892071724, -0.5213444828987122, 0.3380813002586365, -0.899008572101593, -0.5682475566864014, 0.28929993510246277, -0.5735788345336914, -0.49474337697029114, -0.23511700332164764, 0.1876678317785263, 0.43767446279525757, -0.16315492987632751, 0.16814880073070526, -0.3776441514492035, -0.4201012849807739, 0.46778497099876404, -0.4181024432182312, 0.6313155889511108, 0.3043028712272644, -0.5476645231246948, 0.15053771436214447, -0.35467052459716797, 0.023680616170167923, 0.19456976652145386, -0.22251348197460175, -0.34126707911491394, -0.1336534321308136, 0.12380033731460571, 0.35974621772766113, 0.18880432844161987, -0.4357597231864929, 0.34593665599823, -0.001148764044046402, 0.2647796869277954, 0.6812243461608887, -0.09683029353618622, 0.6213664412498474, -0.2470368891954422, 0.343453049659729, 0.2959825098514557, 0.34470853209495544, -0.5381403565406799, -0.5321794748306274, -0.6247029304504395, -0.48595497012138367, 0.04624197259545326, 0.49132248759269714, -1.2506788969039917, 0.10627655684947968, -0.07123439759016037, -0.27849557995796204, -0.09686466306447983, 0.07188674062490463, 0.8024622201919556, 0.6766279339790344, 0.5276973843574524, -0.24854537844657898, -0.13181233406066895, -0.9650072455406189, 0.06877094507217407, -0.014907769858837128, 0.27958422899246216, 0.36469531059265137, 0.8024094104766846, -0.2725028991699219, 0.7967392206192017, -0.16752365231513977, -0.2538106143474579, -0.26076778769493103, 0.2162402719259262, 0.020119020715355873, 0.5143402814865112, 0.7705680131912231, -1.0899107456207275, -0.6542083621025085, 0.11627563834190369, -1.0144176483154297, 0.25204914808273315, -0.14578953385353088, -0.05657819285988808, -0.006158197298645973, 0.49824753403663635, -0.552207350730896, 0.47507259249687195, 0.3031017482280731, -0.4395391345024109, 0.44284769892692566, -0.47722309827804565, 0.3104003071784973, -0.990734338760376, -0.5504169464111328, 0.5033985376358032, -0.14687156677246094, -0.5245630145072937, 0.42736831307411194, 0.5945441126823425, -0.06525696069002151, -0.4449990391731262, 0.4662669897079468, -0.425669401884079, -0.22337937355041504, -0.1966896802186966, -0.11352820694446564, -0.09851100295782089, 0.5259975790977478, -0.2508546710014343, 0.9661998748779297, 0.9450815916061401, -0.6612760424613953, 0.31214210391044617, 0.14798520505428314, -0.45278894901275635, 0.7548508644104004, -0.2652330994606018, 0.22825674712657928, -0.3750647008419037, 0.5481943488121033, -1.061493158340454, -0.24829600751399994, 0.1461203247308731, -0.2923855781555176, 0.46860271692276, 0.11343841999769211, -0.47140949964523315, -0.13718554377555847, -0.14920784533023834, 0.7882182002067566, 0.5707469582557678, -1.0493559837341309, 0.8399686217308044, 0.36713704466819763, 0.25886961817741394, -0.3022402822971344, -0.5843966007232666, 0.15638242661952972, -0.42073890566825867, -0.6609189510345459, 0.5452192425727844, -0.2835592031478882, -0.5361171960830688, 0.11009981483221054, 0.268622487783432, -0.15745395421981812, -0.1001744195818901, 0.11386304348707199, 0.5091794729232788, -0.1311565488576889, 0.3226858973503113, 0.27720287442207336, -0.044009167701005936, -0.14822977781295776, -0.48789310455322266, 0.2819092571735382, -0.5124027132987976, -0.6004666686058044, -0.4883880019187927, 0.6292542815208435, 0.6392288208007812, -0.4186195731163025, 0.23301775753498077, 0.5450658202171326, -0.3550701439380646, -0.0766596645116806, -0.4475257098674774, -0.16675034165382385, -0.4219050705432892, 0.27013134956359863, -0.38007140159606934, -0.678425669670105, 0.2733810245990753, -0.45011141896247864, 0.11494545638561249, 0.31941232085227966, 0.4743930995464325, -0.5227875709533691, 1.138268232345581, 0.3915369212627411, 0.11683725565671921, 0.5340179800987244, -0.7318592071533203, -0.01653994247317314, -0.8013304471969604, -0.45048874616622925, 0.0862739086151123, -0.6216856837272644, -0.10305570065975189, -0.726511538028717, 0.9786000847816467, 0.020616663619875908, -0.21042189002037048, -0.23869243264198303, -0.22404295206069946, 0.8340940475463867, 0.6256892085075378, 0.6812652349472046, 0.1767934113740921, 0.24467773735523224, -0.249137744307518, 0.055361852049827576, -0.6305601596832275, -0.13476456701755524, 0.8921198844909668, 0.07820110023021698, 0.812005877494812, 0.2931586503982544, 0.3439449965953827, 0.33206814527511597, 0.38057950139045715, -0.7757732272148132, 0.6324138641357422, -0.3472234606742859, -0.2222256064414978, -0.043221812695264816, -0.18858814239501953, -0.5747619271278381, 0.6322382688522339, -0.4427924156188965, -0.5059142112731934, 0.13050876557826996, 0.32416918873786926, -0.15650568902492523, 0.5813383460044861, -0.8486387729644775, 0.6604475975036621, -0.6718783974647522, -0.6198844313621521, -0.7112230658531189, -0.638866126537323, 0.5528030395507812, 0.15600897371768951, 0.4066692888736725, 0.34242841601371765, -0.023388629779219627, 0.3349597156047821, -0.2217690497636795, 0.841644823551178, -0.23010919988155365, 0.2685045897960663, 0.28697943687438965, 0.06598441302776337, 0.6024537682533264, -0.12005778402090073, 0.29024913907051086, 0.044630736112594604, -0.40884512662887573, -0.33765625953674316, -0.767979085445404, 0.6143531203269958, -0.6928380131721497, -0.20358403027057648, -0.26642516255378723, -0.5429224967956543, -0.1741163581609726, -0.09490323066711426, 0.3504354953765869, 1.0946743488311768, 0.1818104386329651, 0.434901624917984, 0.8759884238243103, -0.018326908349990845, 0.620557963848114, 0.06698159128427505, -0.13504523038864136, -0.6006627082824707, 0.9554990530014038, 0.08796031028032303, 0.4574732184410095, 0.4171851873397827, 0.32722049951553345, -0.41506752371788025, -0.3668912947177887, -0.6597044467926025, 0.008667129091918468, -1.226778507232666, -0.1979799121618271, -0.6559881567955017, 0.021168723702430725, -0.009108680300414562, -0.29986444115638733, -0.1273426115512848, -0.3091089427471161, -0.21370330452919006, -0.055336449295282364, 0.09648575633764267, 0.6420879364013672, 0.007009890396147966, 0.2523474395275116, -0.4106263518333435, 0.28519922494888306, 0.696303129196167, 0.1717153638601303, 0.13577495515346527, -0.40517377853393555, -0.40139663219451904, 0.07980497181415558, -0.5196878910064697, -0.6873704791069031, 0.0724344402551651, 0.5061277747154236, 0.7980743646621704, 0.5749290585517883, -0.3661656379699707, 0.8433820009231567, -0.22743374109268188, 0.6730445623397827, 0.6525475978851318, -0.9199191927909851, 0.41605740785598755, -0.23231898248195648, 0.2117546945810318, 0.1924344003200531, 0.3772372901439667, -0.10916469991207123, -0.18755988776683807, -0.6860266327857971, -0.6655507683753967, 0.30480560660362244, 0.09807595610618591, -0.09322062134742737, 0.08281497657299042, 0.23534750938415527, 0.21022404730319977, -0.21836823225021362, -0.8944143056869507, -0.2604548931121826, -0.25526466965675354, -0.2727530002593994, 0.16230729222297668, -0.229024276137352, -0.3568110764026642, -0.7114312052726746, 0.6703985929489136, -0.6546751856803894, 0.17260754108428955, 0.06212998181581497, -0.38585537672042847, -0.014272954314947128, -0.08797477930784225, 0.5550315380096436, 0.7580753564834595, 0.248971626162529, 0.4395222067832947, 0.35331612825393677, -0.21451634168624878, 0.23834584653377533, -0.12951739132404327, -0.20654216408729553, -0.21586543321609497, 0.485785573720932, 0.8377888202667236, 0.23008745908737183, -0.5845996141433716, 0.7557175159454346, -0.19512484967708588, -0.678747296333313, -0.4074987769126892, -0.18257901072502136, -0.3335898518562317, 0.6492424011230469, 0.4801125228404999, 0.3674299418926239, 0.2289741039276123, -0.686210036277771, 0.3937230408191681, 0.6733350157737732, -0.3178860545158386, -0.2186838537454605, 0.6636515259742737, -0.0142830116674304, -0.04791231453418732, 0.6449460983276367, -0.32503169775009155, -0.4595731198787689, 0.6943432092666626, 0.9548995494842529, 0.6803004145622253, 0.134138286113739, 0.3139713406562805, 0.32722267508506775, 0.11767805367708206, 0.11413829773664474, 0.18230068683624268, -0.3208707869052887, -0.8669460415840149, -0.5553914308547974, 0.056794095784425735, -0.3944138288497925, -0.11663438379764557, -0.3009364902973175, 0.1680649220943451, -0.37759628891944885, 0.10014984756708145, -0.09921785444021225, -0.5644423961639404, -0.6121132969856262, 0.22978593409061432, 0.3782496154308319, 0.6423487663269043, -0.9251834154129028, 0.9334486126899719, 0.9540731906890869, -0.48422256112098694, -0.6606318950653076, 0.04078124463558197, -0.034048132598400116, -0.9100432991981506, 0.8948495984077454, 0.25708040595054626, -0.23163697123527527, -0.1045016422867775, -1.0595883131027222, -0.719356119632721, 1.3002769947052002, 0.29589250683784485, -0.1215909868478775, 0.3502838909626007, -0.2334381639957428, 0.12704846262931824, -0.6789554357528687, 0.4586004316806793, 0.09077282249927521, 0.31080347299575806, 0.44589173793792725, -0.6699271202087402, -0.173464834690094, -0.5030273795127869, -0.030602581799030304, 0.06921006739139557, -0.8594630360603333, 1.0840736627578735, -0.42339178919792175, -0.07404004782438278, -0.23082681000232697, 0.6398313045501709, 0.41376304626464844, 0.6361812949180603, 1.0501291751861572, 0.6975223422050476, 0.5901445150375366, -0.06256061047315598, 1.0454320907592773, 0.10885968059301376, 0.16534467041492462, 0.9303666353225708, -0.1999712735414505, 0.43645453453063965, 0.5628862977027893, -0.018848074600100517, 0.6713125109672546, 0.630693256855011, 0.14575785398483276, 0.8216193318367004, -0.2735728621482849, -0.592736005783081, -0.48325809836387634, -0.12079395353794098, -0.18171414732933044, 0.4616040289402008, 0.6895659565925598, -0.0982615128159523, -0.45479708909988403, 0.5399940013885498, -0.3666921555995941, 0.11306271702051163, -0.44582095742225647, 0.9229115843772888, -0.0433514341711998, -0.5636027455329895, 0.3687771260738373, -0.4306201636791229, 0.6697685718536377, -0.48794716596603394, -0.49545127153396606, -0.1381484419107437, 0.47860583662986755, -0.1392582207918167, -0.8996679186820984, -0.028545835986733437, -0.2231443077325821, 0.023742197081446648, -0.22343669831752777, 0.7445635795593262, -0.49973762035369873, -0.506632924079895, 0.22344441711902618, 0.2878167927265167, 0.12235226482152939, 0.017773693427443504, -0.6629349589347839, -0.3283514678478241, -0.085030697286129, 0.14880134165287018, 0.5948591828346252, 0.474261611700058, -0.49822476506233215, 0.7233823537826538, 0.711196780204773, -0.36929959058761597, -0.03908854350447655, 0.011353051289916039, 1.1121071577072144, -0.2904941737651825, -0.5680671334266663, -0.8574407696723938, 0.7002394199371338, -0.23532810807228088, -0.1409521847963333, 0.5480452179908752, 0.8064857721328735, 0.9843877553939819, -0.0133870430290699, 0.9679940938949585, -0.07757940888404846, 0.0931030735373497, -0.7513533234596252, 0.13995419442653656, -0.9427832961082458, -0.15218470990657806, -0.07561586052179337, -0.5931516289710999, -0.3129686117172241, 0.6116905808448792, -0.10075175017118454, -0.17867106199264526, 0.8160879015922546, 0.4993029534816742, -0.452414870262146, -0.04214567691087723, 0.36898165941238403, -0.159344881772995, 0.4870430827140808, 0.444124698638916, 1.1274868249893188, -0.19499792158603668, 0.4894627034664154, -0.4840809106826782, -0.5275139212608337, -0.004260901361703873, -0.713111937046051, -0.68808913230896, -0.7931860685348511, -0.30424678325653076, -0.20598240196704865, -0.22232815623283386, 1.0584697723388672, 0.8535361289978027, -0.4120873510837555, -0.3456641137599945, 0.04878106713294983, 0.05448753386735916, -0.5748533606529236, -0.18816447257995605, 0.23696269094944, -0.2430546134710312, -0.5371161103248596, 0.4968216121196747, 0.5593479871749878, 0.11803733557462692, -0.1978462189435959, -0.24254021048545837, -0.3574308753013611, -0.3565061092376709, 0.858932375907898, 0.0038922149688005447, -0.6456303596496582, 0.011586176231503487, -0.22937224805355072, 0.10983481258153915, 0.17582064867019653, 0.8552654981613159, -0.7533593773841858, 0.635970950126648, 0.2520875632762909, 0.5112500190734863, 0.7991161346435547, -0.09674668312072754, 0.24201516807079315, -0.5774150490760803, 0.4682699143886566, 0.20729634165763855, 0.6879570484161377, 0.18420234322547913, -0.3659866154193878, 0.5038026571273804, 0.3378881812095642, -0.46363088488578796, -0.3519762456417084, 0.21310879290103912, -0.9105066061019897, -0.38945820927619934, 0.9913182258605957, 0.030024902895092964, -0.2105276733636856, 0.12970875203609467, -0.33903124928474426, 0.0658930167555809, -0.30969470739364624, 0.6351888179779053, 0.3090040981769562, -0.3668312728404999, -0.473474383354187, -0.4226241707801819, -0.025715133175253868, 0.08465246111154556, -0.9019178748130798, -0.6038098931312561, 0.7054441571235657, -0.012405572459101677, 0.07956883311271667, 0.6310067772865295, -0.22172708809375763, 0.5092147588729858, -0.13141286373138428, 0.1091720312833786, -0.07060786336660385, -0.3625604212284088, -0.2325058877468109, 0.12284134328365326, -0.20942066609859467, -0.36579352617263794 ]
http://arxiv.org/abs/2403.07920v1
http://arxiv.org/pdf/2403.07920v1
ProtLLM: An Interleaved Protein-Language LLM with Protein-as-Word Pre-Training
2024-02-28T01:29:55
2024-02-28T01:29:55
Le Zhuo, Zewen Chi, Minghao Xu, Heyan Huang, Heqi Zheng, Conghui He, Xian-Ling Mao, Wentao Zhang
q-bio.BM
q-bio.BM, cs.AI, cs.CL, cs.LG
We propose ProtLLM, a versatile cross-modal large language model (LLM) for both protein-centric and protein-language tasks. ProtLLM features a unique dynamic protein mounting mechanism, enabling it to handle complex inputs where the natural language text is interspersed with an arbitrary number of proteins. Besides, we propose the protein-as-word language modeling approach to train ProtLLM. By developing a specialized protein vocabulary, we equip the model with the capability to predict not just natural language but also proteins from a vast pool of candidates. Additionally, we construct a large-scale interleaved protein-text dataset, named InterPT, for pre-training. This dataset comprehensively encompasses both (1) structured data sources like protein annotations and (2) unstructured data sources like biological research papers, thereby endowing ProtLLM with crucial knowledge for understanding proteins. We evaluate ProtLLM on classic supervised protein-centric tasks and explore its novel protein-language applications. Experimental results demonstrate that ProtLLM not only achieves superior performance against protein-specialized baselines on protein-centric tasks but also induces zero-shot and in-context learning capabilities on protein-language tasks.
[ -0.24802900850772858, -0.922584593296051, 0.2400892823934555, 0.05064302310347557, -0.5622513890266418, 0.3045303225517273, -0.04236689209938049, -0.47144243121147156, 0.22960403561592102, 0.33895623683929443, -0.5891572833061218, -0.404261976480484, -0.7831411361694336, 0.23312310874462128, -0.5717446208000183, 1.0650804042816162, 0.16530859470367432, 0.5803103446960449, -0.36303097009658813, -0.0681154727935791, 0.017769016325473785, -0.713813841342926, -0.1332835555076599, -0.7105505466461182, 0.8000639081001282, 0.22596332430839539, 0.47401607036590576, 0.26028579473495483, 0.5704766511917114, 0.150822252035141, 0.12341813743114471, 0.19572365283966064, -0.5047165155410767, 0.06193256005644798, -0.2473447471857071, -0.3556285798549652, -0.629084587097168, 0.1816481351852417, 0.5535077452659607, 0.8595483899116516, 0.34329932928085327, 0.1576322317123413, 0.14895114302635193, 0.6356269121170044, -0.5098640322685242, 0.20214278995990753, -0.6342172026634216, 0.0593908466398716, -0.6932393312454224, -0.3548935353755951, -0.47833335399627686, 0.024956688284873962, 0.30949336290359497, -0.2756739556789398, -0.11605054140090942, 0.26780951023101807, 0.47561973333358765, -0.04804190620779991, -0.5696513056755066, -0.33528026938438416, -0.31381189823150635, 0.6188734769821167, -0.789940357208252, 0.7199028134346008, 0.6313802599906921, 0.17186212539672852, -0.5285511016845703, -1.1238186359405518, -0.6325989961624146, -0.512162446975708, -0.10701538622379303, 0.1312829852104187, 0.1580471694469452, 0.2860099971294403, -0.08685305714607239, 0.2800642251968384, -0.9584591388702393, 0.014504451304674149, -0.171568363904953, 0.023930052295327187, 0.523719310760498, -0.0916733518242836, 0.4380393922328949, 0.34506043791770935, -0.04040412977337837, 0.1511673927307129, -0.9253121018409729, -0.012939845211803913, 0.25507184863090515, 0.5607606172561646, 0.2741282284259796, 0.7248520851135254, -0.20466865599155426, 0.9027592539787292, -0.2737748324871063, 0.17239393293857574, 0.16615654528141022, -0.09746234863996506, -0.4413466453552246, 0.24810977280139923, 0.7357121706008911, -0.0686514675617218, 0.17790737748146057, -0.47103753685951233, -0.04287923499941826, -0.3287193179130554, 0.22410021722316742, -0.9222615361213684, -0.4054073691368103, 0.5548813343048096, -0.3284328877925873, -0.10654494166374207, -0.0037743602879345417, -0.16910883784294128, -0.09026985615491867, -0.1583670675754547, 0.8642200827598572, -0.7458653450012207, -0.0481395460665226, 0.2231975644826889, 0.07872956991195679, 0.1451382040977478, 0.041244953870773315, -0.6215978264808655, 0.17390908300876617, 0.5249932408332825, 0.732090175151825, -0.23582860827445984, -0.5301545262336731, -1.0867807865142822, 0.40241503715515137, 0.0423637256026268, 0.7155826687812805, -0.7836406826972961, -0.1686556190252304, -0.036642350256443024, 0.24262423813343048, 0.049210842698812485, -0.5077126026153564, 0.2993953227996826, -0.835936427116394, 0.26155638694763184, -0.24585308134555817, -0.9283463954925537, -0.29577943682670593, 0.24787509441375732, -0.39467573165893555, 0.4378090500831604, 0.09822258353233337, -1.0254591703414917, 0.23320220410823822, -0.7635399699211121, -0.7075411677360535, 0.5618389844894409, -0.16554641723632812, -0.24117620289325714, 0.23858365416526794, -0.20436511933803558, 0.3560839891433716, -0.4726499915122986, 0.3936763107776642, -0.2838723659515381, -0.2690548598766327, 0.5248790979385376, 0.059152860194444656, 0.6185467839241028, 0.08957532048225403, -0.02780824713408947, 0.2638126313686371, -0.4515550136566162, 0.3846810460090637, -0.1343308985233307, -0.543593168258667, -0.2304365634918213, 0.13095723092556, 0.08705686032772064, 0.04079660773277283, 0.2806135416030884, -0.7749582529067993, 0.3297829031944275, -0.3171284794807434, 0.44571274518966675, 0.2657940685749054, -0.2924736440181732, 0.2009730339050293, -0.11858757585287094, 0.20598702132701874, 0.05872722342610359, 0.24977846443653107, 0.01625978574156761, -0.3052537143230438, -0.60524582862854, -0.37190574407577515, 0.43830570578575134, 0.24662069976329803, -0.736450731754303, 0.37486082315444946, 0.030260398983955383, -0.3085708022117615, -0.5079852342605591, -0.04164278134703636, 0.4298505187034607, 0.5444425344467163, 0.7936273813247681, -0.2371269315481186, -0.5101639032363892, -0.881123423576355, -0.4707185626029968, -0.048612624406814575, -0.08802279084920883, -0.11560391634702682, 0.44496965408325195, -0.3467150926589966, 0.9010794758796692, -0.24577540159225464, -0.4923129081726074, -0.5489969253540039, 0.28106820583343506, 0.3135063648223877, 0.47776666283607483, 0.17883531749248505, -0.85613614320755, -0.6608626246452332, 0.038748614490032196, -0.7874631285667419, -0.3275359272956848, 0.19289088249206543, 0.18941901624202728, -0.1843423843383789, 0.5527588725090027, -0.5460453033447266, 0.2608470618724823, 0.7395794987678528, -0.5271864533424377, 0.7581055760383606, -0.47564154863357544, -0.15461474657058716, -0.5607229471206665, 0.22963100671768188, -0.3477676808834076, -0.3938984274864197, -1.0094887018203735, 0.06719310581684113, 0.15283744037151337, 0.11778759956359863, -0.7922055721282959, 0.7012313604354858, -0.5700273513793945, -0.26872822642326355, -0.6195198893547058, -0.26454871892929077, 0.12166982144117355, 0.20477046072483063, 0.15914534032344818, 0.7378584742546082, 0.573079526424408, -0.5077722072601318, 0.0789189413189888, 0.2212556153535843, -0.34272903203964233, 0.010744422674179077, -0.7358850240707397, 0.024955833330750465, -0.16354461014270782, 0.22319193184375763, -0.4460805356502533, -0.1949087530374527, 0.19586171209812164, -0.23531411588191986, 0.3039029538631439, 0.34260767698287964, -0.6424099802970886, -0.3504611849784851, -0.2663506269454956, 0.4223468601703644, 0.2617843747138977, -0.13464701175689697, 0.6274392604827881, 0.26617392897605896, -0.07795684039592743, -0.3183145523071289, -0.7705178260803223, 0.029458895325660706, 0.1625213772058487, -0.12495903670787811, 0.5186284780502319, -0.24478526413440704, -0.04558033496141434, 0.05123281851410866, -0.02402932569384575, -0.029968824237585068, -0.1390996277332306, 0.14359818398952484, -0.21064139902591705, 0.07039725035429001, 0.31146928668022156, -0.05577947944402695, -0.11128456145524979, -0.39119651913642883, -0.7062910795211792, 0.9123355150222778, -0.2360621988773346, -0.5006549954414368, -0.15187019109725952, 0.5500674843788147, 0.5408027768135071, -0.4745071828365326, 0.8906217217445374, 0.7606256604194641, -0.12186509370803833, 0.03574570268392563, -0.1975104808807373, -0.3975585997104645, -0.4232965409755707, 0.7327585816383362, -0.3847356140613556, -0.7984890937805176, 0.20776526629924774, -0.11267264932394028, 0.09433624893426895, -0.07971584796905518, 0.597378671169281, -0.4489276707172394, 0.8034927248954773, 0.8157468438148499, 0.48800915479660034, 0.4002753496170044, -0.17403262853622437, 0.44119980931282043, -0.8548057079315186, -0.4165858030319214, -0.12041626125574112, -0.6730785369873047, -0.072406105697155, -0.7077580094337463, 0.317187637090683, 0.5035990476608276, -0.43777546286582947, 0.33774760365486145, -0.019184624776244164, 0.26328444480895996, 0.7159883379936218, 0.17477940022945404, 0.36678147315979004, -0.06953845173120499, -0.252450168132782, -0.10050348937511444, -0.8768816590309143, -0.3124420642852783, 0.7890645265579224, 0.1921699196100235, 0.6849086880683899, -0.008402115665376186, 0.45728611946105957, 0.38418760895729065, 0.4520152509212494, -0.7751638889312744, 0.5638675093650818, -0.7455030679702759, -0.33238863945007324, -0.1987280398607254, -0.0248162429779768, -0.7262594103813171, 0.16841697692871094, -0.12728461623191833, -0.5602877736091614, -0.017765676602721214, 0.045293040573596954, -0.010309098288416862, 0.10722271353006363, -0.45210808515548706, 0.7726945877075195, -0.641914963722229, -0.37594637274742126, -0.05560069903731346, -0.7179538607597351, 0.12775211036205292, -0.47869178652763367, 0.1508282721042633, -0.22886459529399872, -0.13782203197479248, 0.5542433261871338, -0.7483782768249512, 0.7325957417488098, -0.07967618107795715, 0.01962449587881565, 0.21827326714992523, 0.31868577003479004, 0.4704672396183014, 0.0074937292374670506, -0.19930429756641388, 0.08852007240056992, -0.1276274472475052, -0.4709162414073944, -0.34866082668304443, 0.436338871717453, -0.6076478362083435, -0.5530545115470886, -0.3506813645362854, -0.8114681839942932, -0.3605697751045227, 0.32605496048927307, 0.5639885067939758, 0.5384697914123535, 0.2401730865240097, 0.4629415273666382, 0.4973355233669281, -0.4323618710041046, 0.37108495831489563, 0.9072974920272827, -0.49270325899124146, -0.2630371153354645, 0.7941787242889404, 0.32274287939071655, 0.21425935626029968, 0.7296674251556396, 0.0866042897105217, -0.5378188490867615, -0.8865686655044556, 0.05713137239217758, 0.3099258542060852, -0.4023115932941437, -0.32031551003456116, -1.0766898393630981, -0.3719770014286041, -0.2648388147354126, -0.2763238549232483, -0.33005353808403015, -0.022857090458273888, -0.17442569136619568, 0.07247921079397202, 0.2881026864051819, 0.3500092923641205, 0.05304844304919243, 0.3730475604534149, -1.0146267414093018, 0.24875427782535553, 0.36807122826576233, 0.3047626316547394, -0.32028651237487793, -0.6503058075904846, -0.28506240248680115, 0.14350228011608124, 0.06824000179767609, -0.879862904548645, 0.713028609752655, 0.900591254234314, 0.6984813213348389, 0.026820233091711998, 0.23748885095119476, 0.31199824810028076, -0.43426820635795593, 0.7082083225250244, 0.2261989265680313, -0.7557314038276672, 0.5737147331237793, -0.18537846207618713, 0.7822065949440002, 0.4378727078437805, 0.7609853744506836, -0.3746005892753601, -0.6603879332542419, -0.26400110125541687, -0.8526583909988403, 0.571053683757782, 0.000010339563232264481, -0.11231125891208649, -0.2425321787595749, 0.052278608083724976, 0.4496062695980072, 0.37767574191093445, -0.990966260433197, 0.19585494697093964, -0.030622052028775215, -0.2656099200248718, -0.009193798527121544, -0.43273240327835083, -0.2090931534767151, -0.30549144744873047, 0.6753849387168884, -0.47927573323249817, 0.1260218769311905, 0.15733113884925842, -0.5646092295646667, 0.09785860776901245, 0.12906217575073242, 0.3578454256057739, 0.4780874252319336, -0.3724134862422943, 0.5309967994689941, -0.0013545382535085082, -0.6249306201934814, 0.07622601836919785, -0.01394171454012394, -0.1722053736448288, -0.15299057960510254, 0.8220869302749634, 0.6713888645172119, -0.04285787045955658, -1.0819448232650757, 0.41336143016815186, -0.020739158615469933, -0.3380117118358612, 0.22697880864143372, -0.27707698941230774, 0.38539189100265503, 0.5610639452934265, 0.5873479247093201, -0.40528208017349243, 0.07651866972446442, -0.7637784481048584, 0.5301569700241089, 0.4044599235057831, -0.5070315599441528, -0.6404961347579956, 0.686504602432251, 0.005969500169157982, -0.3545108437538147, 0.5169655680656433, -0.17856721580028534, -0.5750873684883118, 0.22160987555980682, 0.9414893984794617, 0.8492289781570435, -0.049588706344366074, 0.3536359965801239, -0.03583776205778122, -0.11494672298431396, 0.08983426541090012, 0.5433443188667297, 0.1431627869606018, -0.5805517435073853, -0.45175978541374207, -1.3369088172912598, 0.03737296536564827, 0.24070189893245697, -0.1414438635110855, 0.29596954584121704, -0.37215355038642883, -0.1720142364501953, -0.12342393398284912, 0.17967893183231354, -0.5539617538452148, 0.10161278396844864, 0.056302353739738464, 1.151586651802063, -0.7478169798851013, 1.6044344902038574, 0.9987319111824036, -0.4020494818687439, -0.37497377395629883, 0.15272457897663116, -0.2456323206424713, -0.5736446976661682, 1.4187349081039429, 0.21263886988162994, -0.04384876415133476, 0.34075963497161865, -0.28376880288124084, -0.667559802532196, 0.9307998418807983, 0.477754682302475, -0.8044499158859253, 0.013079925440251827, 0.32311591506004333, 0.6807695627212524, -0.5679575800895691, 0.14032897353172302, 0.40868809819221497, 0.4046134948730469, -0.047575343400239944, -0.8659586906433105, -0.23820392787456512, -0.1545202136039734, -0.2662090063095093, -0.08889950811862946, -0.7562184929847717, 1.2001842260360718, 0.018096456304192543, 0.07646631449460983, -0.2558937966823578, 0.647916316986084, 0.26064735651016235, 0.02009960077702999, 0.17881664633750916, 0.1594999134540558, 0.5567963719367981, 0.19183413684368134, 0.8279753923416138, -0.3177446722984314, 0.14580830931663513, 1.2938482761383057, -0.5748279094696045, 0.8929275870323181, 0.6264042854309082, -0.23832149803638458, 0.16107672452926636, 0.43065622448921204, 0.4216269552707672, 0.8661266565322876, 0.3009180426597595, -0.5322062373161316, -0.339489221572876, -0.5110971331596375, -0.4433455467224121, 0.6755045652389526, 0.412735253572464, -0.18704795837402344, -0.3714750111103058, 0.5728153586387634, -0.3044772148132324, -0.019699281081557274, -0.19691970944404602, 0.6367916464805603, 0.25501006841659546, -0.1256610006093979, 0.5395777821540833, -0.23299990594387054, 0.5655087232589722, -0.9569382667541504, 0.2072208970785141, -0.3257546126842499, 0.2686280310153961, -0.05460270866751671, -0.7903441786766052, 0.38750678300857544, -0.06424758583307266, -0.19373591244220734, -0.19939126074314117, 0.7792103886604309, -0.9344725608825684, -0.41313230991363525, 0.5925420522689819, 0.5437219142913818, 0.08904097229242325, -0.18965955078601837, -0.709896981716156, 0.2568335235118866, -0.10265182703733444, -0.3947318494319916, 0.7477856278419495, 0.28025662899017334, -0.04287238046526909, 0.7657555937767029, 0.45009714365005493, 0.2649674117565155, -0.09129387885332108, 0.127714604139328, 1.0432202816009521, -0.5123370885848999, -0.34673088788986206, -0.9398680329322815, 0.3887379765510559, 0.01823410391807556, 0.23247979581356049, 0.5422223210334778, 0.573239803314209, 0.6863083839416504, -0.3511078953742981, 0.7267243266105652, -0.24264059960842133, 0.38025495409965515, -0.44269895553588867, 0.7502108812332153, -0.693932831287384, -0.07825396209955215, 0.24672257900238037, -0.8781974911689758, -0.6724597811698914, 0.3792927861213684, -0.325980007648468, -0.3268163502216339, 0.8176587820053101, 0.7433358430862427, 0.015671683475375175, -0.01398328598588705, 0.5032368302345276, 0.32106345891952515, 0.6727339625358582, 0.5288875102996826, 0.723968505859375, -0.3813861608505249, 0.2685661017894745, 0.22314947843551636, -0.20101279020309448, -0.5516960024833679, -1.1376744508743286, -0.8008410930633545, -0.6637136340141296, -0.20983244478702545, 0.03929070755839348, 0.3525836169719696, 1.1015541553497314, 0.7672836184501648, -0.899246096611023, -0.2636420726776123, -0.2617763578891754, -0.4600737690925598, -0.12794949114322662, -0.13365410268306732, 0.21397021412849426, -0.564362645149231, -0.6728543043136597, 0.7161154747009277, 0.6456830501556396, 0.22374750673770905, -0.11095414310693741, -0.23205821216106415, -0.8311776518821716, -0.09968353062868118, 1.0096650123596191, 0.42457348108291626, -0.6007379293441772, -0.2912304103374481, -0.06538598239421844, 0.011438444256782532, -0.28859591484069824, 0.8892115354537964, -0.8401012420654297, 0.47439831495285034, 0.7226991653442383, 0.6988553404808044, 0.3369687795639038, -0.21314774453639984, 0.9616404175758362, -0.8274588584899902, 0.4539111852645874, 0.369306355714798, 0.13857004046440125, 0.16212797164916992, -0.2543107569217682, 0.36530837416648865, 0.19348733127117157, -0.4063202738761902, -0.8451948761940002, 0.2870328724384308, -0.7483444213867188, -0.7088474631309509, 0.9103357791900635, -0.34755635261535645, -0.10807379335165024, -0.26191020011901855, -0.09970124810934067, 0.42878609895706177, 0.17335526645183563, 0.5326760411262512, 0.4732518494129181, -0.290693461894989, -0.13171501457691193, -0.5943590998649597, 0.7390124797821045, 0.4063253104686737, -0.723810613155365, 0.2985536754131317, 0.13240109384059906, -0.01773960515856743, -0.2518426477909088, 0.9366398453712463, -0.1990349143743515, -0.03568591922521591, -0.13624829053878784, -0.07712309807538986, -0.4388057291507721, -0.5820534229278564, 0.13646665215492249, 0.31975775957107544, 0.21711768209934235, 0.05143715441226959 ]
http://arxiv.org/abs/2402.17959v2
http://arxiv.org/pdf/2402.17959v2
An Iterative Associative Memory Model for Empathetic Response Generation
2024-02-28T00:49:06
2024-06-02T10:46:13
Zhou Yang, Zhaochun Ren, Yufeng Wang, Chao Chen, Haizhou Sun, Xiaofei Zhu, Xiangwen Liao
cs.CL
cs.CL, cs.HC
Empathetic response generation aims to comprehend the cognitive and emotional states in dialogue utterances and generate proper responses. Psychological theories posit that comprehending emotional and cognitive states necessitates iteratively capturing and understanding associated words across dialogue utterances. However, existing approaches regard dialogue utterances as either a long sequence or independent utterances for comprehension, which are prone to overlook the associated words between them. To address this issue, we propose an Iterative Associative Memory Model (IAMM) for empathetic response generation. Specifically, we employ a novel second-order interaction attention mechanism to iteratively capture vital associated words between dialogue utterances and situations, dialogue history, and a memory module (for storing associated words), thereby accurately and nuancedly comprehending the utterances. We conduct experiments on the Empathetic-Dialogue dataset. Both automatic and human evaluations validate the efficacy of the model. Variant experiments on LLMs also demonstrate that attending to associated words improves empathetic comprehension and expression.
[ -0.31837597489356995, -0.8494024276733398, 0.6439442038536072, 0.256570965051651, -0.26640960574150085, -0.16988889873027802, -0.04284864664077759, -0.07695774734020233, 0.26288118958473206, 0.4358673095703125, -0.66897052526474, -0.1325959414243698, -0.4498923718929291, 0.09357229620218277, -0.3430706858634949, 0.7928385734558105, -0.21672163903713226, 0.028874846175312996, -0.2549203336238861, -0.41086384654045105, -0.2910003364086151, -0.568106472492218, -0.997486412525177, -0.4854782521724701, 0.43357259035110474, 0.27255314588546753, -0.008567151613533497, 0.4529784321784973, 0.4575170874595642, 0.32434386014938354, 0.011408276855945587, 0.1788560301065445, -0.361206591129303, 0.3375551998615265, 0.08580265939235687, -0.2626045048236847, -0.36615902185440063, -0.003549144836142659, 0.29018697142601013, 0.2882051467895508, -0.5100739002227783, 0.11001580208539963, -0.0894642248749733, 0.3945278525352478, -0.567138671875, 0.14242716133594513, -0.7148357033729553, 0.23838426172733307, 0.5030196309089661, -0.6896624565124512, -0.5914170145988464, -0.2217932939529419, 0.32703712582588196, -0.326214998960495, 0.07904361933469772, 0.20148564875125885, 0.07845177501440048, 0.2744353413581848, -0.195172980427742, -0.6169716715812683, -0.5821531414985657, 0.5054855942726135, -0.6738250851631165, -0.02629903331398964, 0.5598511099815369, 0.016095798462629318, 0.14848138391971588, -0.3848537802696228, -0.5802654027938843, -0.4269159734249115, 0.05346968397498131, 0.49400025606155396, -0.24805454909801483, 0.22799845039844513, 0.17791645228862762, 0.3257346749305725, -0.2964000105857849, -0.2814577519893646, -0.17935194075107574, -0.02399463579058647, 0.38072875142097473, 0.7887623906135559, 0.18293505907058716, -0.13006505370140076, -0.28431087732315063, 0.10698994994163513, -0.19333331286907196, 0.02919401228427887, 0.01808467134833336, 0.21367594599723816, -0.14196117222309113, 0.6706889867782593, 0.23399518430233002, 0.4702090919017792, 0.45644253492355347, -0.23515498638153076, -0.16425105929374695, -0.2752475440502167, -0.0365213043987751, 0.28307095170021057, 0.6616588830947876, 0.5845754742622375, 0.2676497995853424, -0.18548345565795898, 0.15593482553958893, 0.4470890760421753, 0.527096688747406, -0.8378177881240845, -0.3672086000442505, 0.5470055341720581, -0.3694226145744324, -0.09614536911249161, -0.46055421233177185, -0.716793954372406, -0.08600552380084991, -0.1182224377989769, 0.45311424136161804, -0.7280170321464539, -0.14483019709587097, -0.1833726018667221, -0.09967029839754105, 0.1903923898935318, 0.18244919180870056, -0.7860730886459351, 0.42006027698516846, 0.2734537422657013, 0.8966981768608093, 0.03830213472247124, -0.20347966253757477, -0.6544815301895142, 0.35221996903419495, 0.10599708557128906, 0.8108205199241638, -0.7765066027641296, -0.6061531901359558, -0.08364389836788177, -0.23777638375759125, -0.16765862703323364, -0.31057044863700867, 0.06780527532100677, -0.2721601724624634, 0.08446187525987625, -0.046939872205257416, -0.6884007453918457, -0.3235373795032501, 0.4770410656929016, -0.5485012531280518, 0.5758639574050903, 0.149513840675354, -0.7562677264213562, -0.16664735972881317, -0.4060228765010834, -0.38046059012413025, -0.3716845214366913, -0.14669299125671387, -0.4356287717819214, 0.4150410294532776, 0.009866452775895596, 0.24182190001010895, -0.44942402839660645, 0.012800457887351513, -0.34814387559890747, -0.07927870005369186, 0.4551599323749542, -0.2798357903957367, 0.31758353114128113, 0.09507501870393753, -0.1188591718673706, -0.19120517373085022, -0.7152659893035889, 0.1129407286643982, 0.12097350507974625, -0.3297960162162781, -0.23456865549087524, -0.26639461517333984, -0.23634406924247742, 0.34279319643974304, -0.037851482629776, -0.683542788028717, -0.14479674398899078, -0.25645801424980164, 0.5670689940452576, 0.6887169480323792, 0.473640114068985, 0.6530466079711914, -0.38708963990211487, 0.49328741431236267, 0.5379055142402649, -0.035151880234479904, -0.8536098003387451, -0.09529761970043182, -0.7914771437644958, -0.042583636939525604, -0.20314182341098785, 0.43608662486076355, -0.3894638419151306, 0.1596398949623108, 0.21129971742630005, -0.2795358896255493, -0.9001997709274292, -0.11127705127000809, 0.7896550297737122, 0.7507185935974121, 0.41503819823265076, -0.7386391758918762, -0.40853333473205566, -0.5511105060577393, -0.037126198410987854, -0.4306912422180176, 0.20537620782852173, 0.6662573218345642, 0.22452561557292938, -0.20268598198890686, 0.5684225559234619, -0.35254383087158203, -0.24876655638217926, 0.013046039268374443, 0.535396158695221, -0.45437273383140564, 0.13641567528247833, 0.07756875455379486, -0.4480695426464081, -0.1280890256166458, -0.13588328659534454, -0.5066474080085754, -0.018097184598445892, -0.18274249136447906, -0.1405487209558487, 0.21069563925266266, 0.27111122012138367, -0.6340000033378601, 0.46178725361824036, 0.300478458404541, -0.29175877571105957, -0.05393536761403084, -0.18825705349445343, 0.30225658416748047, -1.2064757347106934, 0.2173164188861847, -0.06865426898002625, 0.11391191929578781, -0.5085200667381287, -0.16252948343753815, -0.09725220501422882, -0.03133608028292656, -0.2838543653488159, 0.7841950058937073, -0.4830627143383026, -0.18910691142082214, -0.3167194128036499, 0.27294084429740906, -0.05472567304968834, 0.6421900391578674, 0.053716015070676804, 0.4080354869365692, 0.37927520275115967, -0.7736958265304565, 0.34842222929000854, 0.7297248244285583, 0.1630033403635025, 0.8999140858650208, -0.40562790632247925, 0.40692728757858276, -0.39743921160697937, 0.2990309000015259, -1.1189393997192383, -0.14135979115962982, 0.28879138827323914, -0.5704305768013, 0.25807255506515503, 0.31781455874443054, -0.27863943576812744, -0.47594672441482544, -0.14792115986347198, 0.5715159773826599, 0.4664965271949768, -0.468009352684021, 1.000732660293579, 0.2619147300720215, -0.31169870495796204, -0.04517793282866478, -0.5764405727386475, -0.21128065884113312, -0.2681460380554199, -0.47566288709640503, -0.04498683288693428, -0.3579184412956238, -0.42370572686195374, -0.1476489007472992, 0.0844794511795044, 0.04318065568804741, -0.10527439415454865, 0.2547984719276428, -0.1267322152853012, 0.08945303410291672, 0.15866252779960632, -0.03736564889550209, -0.21461349725723267, 0.1773415058851242, 0.48014184832572937, 0.7544106245040894, 0.2534462809562683, -0.25896090269088745, -0.5778831839561462, 0.8230831027030945, 0.569930911064148, -0.3072375953197479, 0.44059252738952637, 0.507745623588562, -0.22092975676059723, 0.1504380702972412, -0.4879818558692932, -0.4755087196826935, -0.39561939239501953, 0.18300917744636536, -0.49734577536582947, -0.5311465859413147, 0.8797743916511536, -0.14970438182353973, 0.13499398529529572, -0.006929299328476191, 0.79087895154953, -0.1413394659757614, 1.4092692136764526, 0.3313949704170227, -0.19281627237796783, 0.41550979018211365, -0.04465659707784653, 0.4980437755584717, -1.2808784246444702, -0.0827186331152916, -0.1521962583065033, -0.23214593529701233, -0.14780645072460175, -0.21502980589866638, 0.4046877920627594, -0.3504800498485565, -0.4993159770965576, -0.08435219526290894, -0.19769316911697388, 0.00906077865511179, 0.3394376337528229, 0.416152685880661, 0.4977055788040161, -0.06240670010447502, -0.05426056310534477, -0.09247481822967529, -0.4798887073993683, -0.24768218398094177, 0.783147394657135, 0.29874318838119507, 1.0007977485656738, 0.06566347926855087, 0.874233067035675, -0.05274808034300804, 0.4338770806789398, -0.9546718001365662, 0.48139578104019165, 0.02548358030617237, -0.25705787539482117, 0.14151020348072052, -0.15088210999965668, -0.6560102701187134, -0.04890216886997223, 0.3013085424900055, -1.1679767370224, -0.14875754714012146, 0.37188029289245605, -0.7424981594085693, -0.042407650500535965, -0.5453416109085083, 0.06120011955499649, -0.1185288205742836, -0.47294002771377563, -0.3320475220680237, -0.8449096083641052, 0.40503770112991333, -0.026971202343702316, -0.17265933752059937, 0.11703237891197205, 0.19817934930324554, 0.5478783845901489, -0.39286813139915466, 0.7566767930984497, -0.056827764958143234, -0.15258856117725372, 0.3997046947479248, 0.3591598570346832, 0.539679765701294, -0.08522041141986847, -0.3152007758617401, -0.33314189314842224, -0.3563026785850525, -0.11068081855773926, -0.4935818612575531, 0.6744059920310974, -0.5269616842269897, -0.5692679286003113, -0.23145027458667755, -0.7482293844223022, -0.2509997487068176, -0.37037229537963867, 0.35960912704467773, 0.43676304817199707, -0.430722713470459, -0.20210178196430206, 0.686145544052124, -0.1463746279478073, 0.43686971068382263, 0.7387498617172241, 0.030660036951303482, -0.3569094240665436, 0.5569883584976196, -0.1955089271068573, 0.47603869438171387, 0.14069022238254547, -0.07019247859716415, 0.01893606409430504, 0.09896331280469894, -0.2088233232498169, 0.2318696528673172, -0.4873030185699463, -0.41553837060928345, -1.2340712547302246, -0.2197883129119873, -0.17104527354240417, -0.19077962636947632, -0.39464566111564636, -0.12104219198226929, -0.2972264289855957, -0.17772316932678223, 0.8940310478210449, 0.5145999193191528, -0.20938338339328766, 0.36834990978240967, -0.8264166116714478, 0.6066297292709351, 0.2449311912059784, 0.08342117071151733, 0.5229540467262268, -0.6534301042556763, 0.022511949762701988, 0.08298934996128082, -0.5915685892105103, -0.8281363248825073, 0.6867048144340515, 0.20588503777980804, 0.264384388923645, 0.37727752327919006, -0.11552742123603821, 0.8203937411308289, -0.5704445838928223, 0.610080897808075, 0.370350182056427, -0.7982010841369629, 0.6269095540046692, -0.16287541389465332, 0.500880777835846, 0.5717280507087708, 0.19719670712947845, -0.5958595871925354, -0.6290801763534546, -0.7561153173446655, -1.0878334045410156, 0.7427744269371033, 0.1881636381149292, 0.331935316324234, -0.36893826723098755, 0.4545351266860962, 0.04632902145385742, 0.1988767385482788, -0.304056316614151, -0.2459104210138321, 0.14995384216308594, -0.4083141088485718, -0.09582854062318802, -0.2697641849517822, -0.5521197319030762, -0.001863974379375577, 0.39416739344596863, -0.1662251502275467, 1.048588752746582, 0.22626963257789612, -0.02765585668385029, -0.7484902143478394, -0.07561954855918884, 0.2838709354400635, -0.020505251362919807, -0.23607632517814636, 0.04231297969818115, 0.14839795231819153, -0.16938069462776184, 0.18035323917865753, -0.03842362016439438, 0.2764391005039215, -0.21638868749141693, 0.08406928926706314, 0.7058592438697815, 0.28459832072257996, -0.6722680330276489, 0.33021196722984314, -0.34758979082107544, 0.13234694302082062, -0.3756554126739502, 0.0656203031539917, 0.3322611153125763, 0.5339390635490417, 0.009680763818323612, -0.2192857563495636, 0.3850371241569519, -0.9400650858879089, 0.46189361810684204, 0.30393046140670776, -0.26352837681770325, -0.22546716034412384, 0.5983118414878845, 0.09377249330282211, -0.6108061671257019, 0.5952795743942261, 0.22332186996936798, -0.6803233027458191, 0.6937159299850464, 0.8974383473396301, 1.006820559501648, -0.6546128988265991, 0.1709628850221634, 0.7101195454597473, -0.278979629278183, -0.014437968842685223, 0.5602272748947144, -0.49200472235679626, -0.6411066055297852, 0.34291642904281616, -0.5766543745994568, -0.6460745930671692, -0.2389352172613144, -1.1197717189788818, -0.27715352177619934, -0.5810605883598328, -0.12637540698051453, -0.20878520607948303, -0.2493961751461029, -0.7606905102729797, 0.37550070881843567, 0.10577273368835449, 0.7068516612052917, -0.7586023807525635, 0.3692174553871155, 0.3255489766597748, -0.451772004365921, -0.7996717691421509, 0.22827978432178497, 0.08067730814218521, -1.1629186868667603, 0.2658464014530182, 0.38271209597587585, -0.22340598702430725, 0.3009263575077057, -0.3359559178352356, -0.7366805672645569, 1.3289533853530884, -0.2509627342224121, -0.5504366159439087, -0.014946969226002693, -0.11935209482908249, 0.705864667892456, -0.8744969367980957, 0.6056427359580994, 0.8842280507087708, 0.23906077444553375, 0.3082587718963623, -0.6203898787498474, 0.15112364292144775, -0.384013295173645, 0.18943668901920319, 0.1481771022081375, -1.1691908836364746, 0.7006363272666931, -0.5931940078735352, -0.07772292196750641, 0.7071376442909241, 0.26998379826545715, 0.6089239716529846, 0.5748997926712036, 0.13410161435604095, 0.7899450659751892, 0.4233407974243164, 0.10305275022983551, 1.075892448425293, -0.4145751893520355, 0.05740618333220482, 1.3469854593276978, -0.3951098620891571, 0.9324884414672852, 0.7228054404258728, 0.2970225214958191, 0.2503253221511841, 0.5596809387207031, 0.2701690196990967, 0.8196853995323181, 0.06751411408185959, -0.5834555625915527, -0.07626224309206009, -0.4093002676963806, -0.10349003970623016, 0.6496703624725342, 0.4925056993961334, -0.8365684151649475, -0.1095491573214531, 0.14746002852916718, -0.03841955587267876, -0.09113210439682007, -0.41715627908706665, 1.3235853910446167, 0.48822706937789917, -0.9418270587921143, 0.21880292892456055, -0.28909698128700256, 0.1981063336133957, -0.3256371319293976, -0.20504330098628998, -0.4591979682445526, 0.22043423354625702, 0.1852532923221588, -0.7227660417556763, 0.16281628608703613, 0.11975812166929245, -0.15886972844600677, 0.035306863486766815, 0.5864614844322205, -0.753036379814148, -0.15856656432151794, 0.6688278913497925, 0.3195353150367737, -0.15022307634353638, 0.3407537043094635, -0.5835893750190735, 0.07588265091180801, -0.060617949813604355, -0.5481870174407959, 0.18444079160690308, 0.47500666975975037, 0.41983702778816223, 0.7551113367080688, 0.14983682334423065, -0.3174295127391815, -0.04836485907435417, -0.0012202081270515919, 0.9397250413894653, -0.8831838965415955, -0.5495997667312622, -0.7510799765586853, 0.6842341423034668, 0.06880651414394379, -0.21295422315597534, 0.28478261828422546, -0.028686363250017166, 0.2993146479129791, 0.06643096357584, 0.7816363573074341, 0.05538724362850189, 0.41443580389022827, -0.566611111164093, 0.165598526597023, -0.5229272842407227, -0.025200188159942627, -0.19136352837085724, -0.7722113132476807, -0.03230816125869751, 0.841704785823822, -0.24357454478740692, 0.15553367137908936, 0.6675287485122681, 0.7994527816772461, 0.08197635412216187, 0.2729124128818512, 0.275089830160141, 0.6042814254760742, -0.013710829429328442, 1.0651122331619263, 0.7442576289176941, -0.4777524173259735, 0.15841931104660034, -0.0031761149875819683, -0.08497391641139984, -0.28275108337402344, -0.5078394412994385, -0.850100576877594, -0.4973810911178589, -0.10913671553134918, -0.5657253265380859, 0.014430096372961998, 0.9983682036399841, 0.07650669664144516, -0.4824933111667633, -0.026839716359972954, -0.303192138671875, -0.5065314769744873, 0.16909410059452057, -0.2669473886489868, -0.10388989746570587, -0.09719943255186081, -0.6437596678733826, -0.09924681484699249, 0.7207974195480347, 0.11002832651138306, -0.20812149345874786, -0.3056126832962036, -0.12128863483667374, 0.5444130897521973, 0.4304378032684326, 0.38665980100631714, -0.5960972309112549, -0.21518607437610626, -0.14098137617111206, -0.10089288651943207, 0.2763609290122986, 0.9850233793258667, -0.5422080159187317, 0.7724349498748779, 0.07331066578626633, 0.5118153095245361, 0.46439075469970703, 0.1403399258852005, 0.9008418321609497, -0.4878811538219452, 0.03487163409590721, 0.3241094946861267, 0.3496440649032593, 0.46568334102630615, -0.5210076570510864, 0.3723074793815613, -0.31067246198654175, -0.49579522013664246, -0.5707193613052368, 0.47509536147117615, -1.1988799571990967, 0.17652691900730133, 1.2888885736465454, -0.3247910141944885, -0.26181840896606445, 0.2516379952430725, -0.519565999507904, 0.6067759394645691, -0.6065638661384583, 1.1141650676727295, 0.598151683807373, -0.57887864112854, -0.48233768343925476, 0.019911568611860275, 0.21833597123622894, 0.5500515699386597, -0.780860185623169, 0.2523304522037506, 0.4788624048233032, -0.03495950996875763, 0.19853278994560242, 1.0007773637771606, -0.03119240142405033, 0.5649007558822632, 0.10269962251186371, -0.146864116191864, 0.5357003211975098, -0.19093604385852814, -0.39784878492355347, -0.04841209948062897, -0.1224776953458786, -0.041243430227041245 ]
http://arxiv.org/abs/2402.17954v2
http://arxiv.org/pdf/2402.17954v2
Twists, Humps, and Pebbles: Multilingual Speech Recognition Models Exhibit Gender Performance Gaps
2024-02-28T00:24:29
2024-06-19T13:42:48
Giuseppe Attanasio, Beatrice Savoldi, Dennis Fucci, Dirk Hovy
cs.CL
cs.CL
Current automatic speech recognition (ASR) models are designed to be used across many languages and tasks without substantial changes. However, this broad language coverage hides performance gaps within languages, for example, across genders. Our study systematically evaluates the performance of two widely used multilingual ASR models on three datasets, encompassing 19 languages from eight language families and two speaking conditions. Our findings reveal clear gender disparities, with the advantaged group varying across languages and models. Surprisingly, those gaps are not explained by acoustic or lexical properties. However, probing internal model states reveals a correlation with gendered performance gap. I.e., the easier it is to distinguish speaker gender in a language using probes, the more the gap reduces, favoring female speakers. Our results show that gender disparities persist even in state-of-the-art models. Our findings have implications for the improvement of multilingual ASR systems, underscoring the importance of accessibility to training data and nuanced evaluation to predict and mitigate gender gaps. We release all code and artifacts at https://github.com/g8a9/multilingual-asr-gender-gap.
[ -0.21239595115184784, -0.2515503764152527, 0.14233170449733734, 0.2088836282491684, 0.2352396696805954, 0.5134170055389404, -0.0755055695772171, -0.7176035642623901, -0.49785083532333374, 0.07496420294046402, -0.5343111157417297, -0.007265259511768818, -0.9884262084960938, 0.28762051463127136, -0.5541378259658813, 0.5200649499893188, 0.20325757563114166, 0.5599333047866821, -0.13040897250175476, -0.1289626508951187, -0.7212184071540833, -0.4942733645439148, -0.31621965765953064, -0.5925493240356445, 0.23884837329387665, 0.1895490437746048, 0.740667998790741, 0.6914455890655518, 0.43181753158569336, 0.31258663535118103, -0.4842120409011841, 0.11547304689884186, -0.06282181292772293, 0.08546613901853561, 0.21481594443321228, -0.0675911158323288, -0.2711865305900574, -0.047579217702150345, 0.9981721043586731, 1.0485197305679321, -0.24530509114265442, 0.0336373895406723, 0.4078192114830017, 0.6665778756141663, -0.5000972747802734, 0.13901810348033905, -0.473037451505661, 0.1311856210231781, -0.5102266073226929, -0.03295101225376129, -0.09164626896381378, -0.17799681425094604, 0.3432455360889435, -0.21298764646053314, 0.5318713784217834, -0.13492628931999207, 0.718890905380249, 0.21111707389354706, -0.5389581322669983, -0.54713374376297, -0.9398394227027893, 0.6157935857772827, -0.5050126910209656, 1.0926589965820312, 0.4669623374938965, 0.46882906556129456, -0.08795217424631119, -0.13694797456264496, -0.3163979649543762, -0.2642472982406616, 0.1090344488620758, -0.41297489404678345, -0.2920653522014618, -0.31373971700668335, 0.40057045221328735, 0.442025750875473, -0.7663360238075256, 0.15960118174552917, -0.7041543126106262, -0.08157508820295334, 0.5700235366821289, -0.09433342516422272, 0.37926793098449707, 0.20985759794712067, -0.03863781690597534, -0.09610191732645035, -0.7158010005950928, 0.4795929193496704, 0.7609531879425049, 0.9960457682609558, -0.4040144085884094, 0.5473951697349548, 0.18195860087871552, 0.6190811395645142, 0.05700407922267914, -0.32821762561798096, 0.45571866631507874, -0.02551043964922428, 0.19218872487545013, 0.32465431094169617, 0.6271538138389587, -0.21352729201316833, 0.28880006074905396, -0.1755242496728897, -0.16980862617492676, 0.03566790372133255, -0.05559780076146126, -0.45857924222946167, -0.3055116534233093, -0.2193843573331833, -0.18841791152954102, 0.2979467809200287, -0.04173334687948227, -0.5238355994224548, -0.7292757630348206, -0.2775418758392334, 0.1900644302368164, -0.24700544774532318, -0.4505075216293335, 0.21281813085079193, -0.4011867046356201, 0.05441960692405701, 0.10066012293100357, -0.9738667607307434, 0.6415392756462097, 0.5869681239128113, 0.7553381323814392, 0.36193427443504333, -0.5326059460639954, -0.45002174377441406, 0.08566472679376602, -0.2105979323387146, 0.6438111662864685, -0.7663892507553101, -0.7173823118209839, -0.13510967791080475, -0.12140060216188431, -0.38302892446517944, -0.6576994061470032, 0.10235656797885895, -0.05440064147114754, 0.14240263402462006, -0.432025283575058, -0.31972891092300415, -0.08854791522026062, -0.09492788463830948, -0.7142195701599121, 0.9491072297096252, -0.47784316539764404, -0.5773748159408569, 0.4826548993587494, -0.5401800274848938, -0.31040337681770325, -0.04725297540426254, -0.5466373562812805, -0.4761769473552704, 0.030202846974134445, 0.1354784220457077, -0.028281105682253838, -0.34383946657180786, 0.23377375304698944, -0.06252428144216537, -0.3710286617279053, 0.38369879126548767, -0.591812252998352, 0.6622974276542664, 0.02427106723189354, -0.43134716153144836, 0.05574025213718414, -0.5892986059188843, -0.3503471314907074, -0.07056419551372528, -0.43059685826301575, -0.12507984042167664, 0.2896243631839752, 0.17553755640983582, 0.32333019375801086, -0.14192302525043488, -0.48333707451820374, -0.11429953575134277, -0.20391546189785004, 0.46669259667396545, 0.4878825843334198, -0.795383870601654, 0.34854191541671753, -0.19088710844516754, 0.40235742926597595, 0.035165440291166306, -0.06904149800539017, -0.14482544362545013, -0.7246886491775513, -0.5572981238365173, -0.3688247501850128, 0.5793730020523071, 0.3250999450683594, -0.36368438601493835, 0.014975365251302719, -0.3242794871330261, -0.2681332528591156, -0.7043499946594238, 0.01189437322318554, 0.8024896383285522, 0.32363295555114746, 0.1711830198764801, -0.2786640226840973, -0.34197577834129333, -0.8837059736251831, -0.6434849500656128, -0.23974600434303284, -0.10376658290624619, 0.35760995745658875, 0.3827313482761383, -0.12453906238079071, 0.6590980887413025, -0.12063364684581757, -0.20578281581401825, -0.3565604090690613, 0.3430900275707245, 0.130899578332901, 0.5377801656723022, 0.38120147585868835, -0.9723129272460938, -0.181613489985466, -0.12335015088319778, -0.4059254825115204, 0.04429266229271889, 0.2802688181400299, 0.3615378737449646, 0.3482910394668579, 0.2382059544324875, -0.25673189759254456, 0.4760780334472656, 0.683661699295044, -0.7021085023880005, 0.4689479172229767, -0.1948673278093338, 0.34574398398399353, -0.3383846580982208, 0.006337163969874382, 0.03825851529836655, -0.32330402731895447, -0.8130745887756348, -0.07185296714305878, 0.19927556812763214, -0.2642156779766083, -0.2128552794456482, 0.5023117065429688, -0.7451017498970032, -0.589283287525177, -0.1290438175201416, -0.08772952854633331, -0.18986167013645172, -0.043562181293964386, 0.04058409482240677, 0.992957353591919, 0.5312511920928955, -0.8369710445404053, -0.2927965223789215, 0.47024771571159363, -0.12132026255130768, 0.22757206857204437, -0.5765755772590637, 0.2158752679824829, -0.08445190638303757, 0.0011419386137276888, -1.1253615617752075, -0.24633198976516724, 0.11799412220716476, -0.7497317790985107, 0.846302330493927, -0.2973198890686035, -0.23919090628623962, -0.5144200921058655, -0.1427968144416809, 0.7036322951316833, 0.292230486869812, -0.46742427349090576, 0.6420264840126038, 0.719652533531189, -0.2845954895019531, -0.6936296224594116, -0.7865350842475891, 0.138639435172081, -0.15671364963054657, -0.6006336212158203, 0.08358585089445114, -0.05688255652785301, -0.16714780032634735, -0.4933919906616211, -0.21154168248176575, -0.372854620218277, 0.20250338315963745, 0.4134880006313324, -0.14363983273506165, -0.11194918304681778, 0.2818860113620758, -0.25758978724479675, -0.13511216640472412, -0.16451767086982727, 0.16092894971370697, 0.7362379431724548, -0.3944076597690582, -0.5335835814476013, -0.37333324551582336, 0.4566301107406616, 0.5136914849281311, -0.34530311822891235, 0.47104495763778687, 0.5584753751754761, -0.6278539299964905, 0.1998523771762848, -0.5992952585220337, -0.11733617633581161, -0.4527544677257538, 0.15968947112560272, -0.7864516377449036, -0.916410505771637, 0.6976581811904907, 0.2777208387851715, -0.09551021456718445, 0.32340434193611145, 0.2347181737422943, -0.1609567403793335, 1.0960450172424316, 0.7688180208206177, -0.08661900460720062, 0.32960668206214905, 0.03070138581097126, 0.23528172075748444, -0.7331761121749878, -0.418376624584198, -1.0311834812164307, -0.16982661187648773, -0.902582585811615, -0.3312295079231262, 0.3455581068992615, -0.016154006123542786, -0.31424519419670105, -0.06445800513029099, -0.22909590601921082, 0.30467489361763, 0.557722270488739, -0.21622295677661896, 0.3245353400707245, -0.0397857129573822, 0.23600812256336212, -0.3603164553642273, -0.7345088124275208, -0.5289599299430847, 0.7934627532958984, 0.6408697962760925, 0.5821096897125244, 0.3699053227901459, 0.3080194592475891, 0.47416242957115173, -0.39033591747283936, -0.3994483947753906, 0.11907486617565155, -0.5246319770812988, -0.7476682662963867, -0.3711175322532654, -0.5636944770812988, -1.048578143119812, 0.3247951865196228, 0.04728708043694496, -0.6010478734970093, 0.4435712993144989, 0.2788059115409851, -0.16592609882354736, 0.32964086532592773, -0.3196788728237152, 0.6180946826934814, -0.24065326154232025, -0.1263149082660675, 0.027468325570225716, -0.6861771941184998, 0.31526893377304077, 0.043282490223646164, 0.4441734254360199, -0.4282647967338562, 0.3479319214820862, 0.7204656600952148, -0.03454574942588806, 0.5122534036636353, -0.30156949162483215, -0.11139203608036041, -0.26404616236686707, 0.04494025185704231, -0.023805100470781326, -0.2311663180589676, 0.008786888793110847, 0.7677314281463623, -0.21242986619472504, -0.2933819591999054, -0.0024680374190211296, 0.4541379511356354, -0.786765992641449, -0.300191193819046, -0.6646650433540344, -0.5707769989967346, -0.23366297781467438, 0.043488115072250366, 0.23245282471179962, 0.7953217625617981, -0.020606735721230507, -0.07137774676084518, 0.6387633085250854, -0.46759384870529175, 0.46793505549430847, 0.5647218227386475, -0.18087832629680634, -0.07319054007530212, 0.6852883696556091, 0.3502381145954132, 0.11974456906318665, 0.12384700775146484, 0.22138389945030212, -0.658228874206543, -0.48395347595214844, -0.8679938316345215, 0.23795883357524872, -0.3984638452529907, -0.0036646947264671326, -0.7592461705207825, -0.21834081411361694, -0.6584995985031128, 0.08977073431015015, -0.623806357383728, -0.5624858736991882, -0.04152613878250122, 0.18342308700084686, 0.3116125464439392, 0.9037079811096191, -0.08478211611509323, 0.20252463221549988, -0.6778440475463867, 0.5252532958984375, 0.23410886526107788, 0.4021557867527008, -0.03568238019943237, -0.7336081862449646, 0.022678392007946968, 0.2857676148414612, -0.24800600111484528, -0.7916622161865234, 0.5390980839729309, 0.6200263500213623, 0.481609970331192, 0.0932326540350914, -0.3270668387413025, 0.983816921710968, -0.8542784452438354, 0.7463681101799011, 0.22393375635147095, -1.2309285402297974, 0.3239818811416626, -0.589039146900177, 0.4150402247905731, 0.31956732273101807, 0.18196024000644684, -0.6520386338233948, -0.4363645017147064, -0.21889165043830872, -1.0420260429382324, 0.9223187565803528, 0.3542220890522003, -0.0007414427818730474, 0.31858015060424805, 0.06489147245883942, 0.35017600655555725, 0.6038292050361633, -0.673406720161438, -0.3866744339466095, -0.11604111641645432, 0.024778444319963455, -0.15773329138755798, -0.30497294664382935, -0.0003501872706692666, -0.23930679261684418, 0.6057019829750061, 0.04831259697675705, 0.472990483045578, -0.19763991236686707, -0.34821584820747375, -0.1945076733827591, 0.3710538446903229, 0.7286731004714966, 0.7436190247535706, -0.1264258325099945, 0.2004031538963318, 0.0950923040509224, -0.5185801982879639, 0.2732417583465576, 0.4220879375934601, 0.14297164976596832, 0.2597346305847168, 0.37062811851501465, 0.7520059943199158, 0.4497646689414978, -0.6179201602935791, 0.23137931525707245, -0.38282328844070435, 0.00025339730200357735, -0.3588886857032776, -0.1786160171031952, 0.0016810439992696047, 0.4546041786670685, 0.4463067352771759, 0.17014485597610474, 0.6121595501899719, -0.5513033270835876, 0.04526572301983833, 0.3391069173812866, -0.4703129231929779, -0.2436172068119049, 0.72922283411026, 0.17142876982688904, -0.46504470705986023, 0.7377939820289612, -0.025386236608028412, -0.639444887638092, 0.5137621760368347, 0.4570544362068176, 0.7721872925758362, -0.8580797910690308, 0.0975911095738411, 0.2833746075630188, 0.44527578353881836, -0.21549072861671448, 0.4564276337623596, 0.08058015257120132, -0.5224249362945557, -0.057426776736974716, -0.48013582825660706, -0.2938227951526642, -0.08638174831867218, -0.7859464287757874, 0.30706140398979187, -0.15814761817455292, -0.1869276762008667, 0.17109434306621552, -0.20966504514217377, -0.6360728740692139, 0.0692562535405159, 0.6732180118560791, 0.633193850517273, -0.9160417318344116, 0.4467933177947998, 0.639712393283844, -0.06772199273109436, -0.620137631893158, 0.061746399849653244, 0.3606233596801758, -0.45455509424209595, 0.5634033679962158, 0.5389544367790222, -0.6254895329475403, -0.46586179733276367, 0.15779832005500793, -1.0071115493774414, 0.6862409710884094, 0.5562695860862732, -0.7625451683998108, 0.034664593636989594, 0.6767483353614807, 0.4075845777988434, -0.13265575468540192, 0.3374773859977722, 0.48781436681747437, 0.3903980553150177, -0.05535999312996864, -1.5920155048370361, -0.4432141184806824, -0.36328449845314026, 0.20248940587043762, 0.3056296706199646, -0.39653560519218445, 1.1482203006744385, -0.20006531476974487, -0.30677807331085205, 0.08285938203334808, 0.30672910809516907, 0.5954143404960632, 0.6011401414871216, 0.5642504692077637, 0.17457449436187744, 0.8941245675086975, -0.46380433440208435, 1.146657943725586, -0.04438721761107445, 0.05718471482396126, 1.1297920942306519, -0.3876175582408905, 0.7728225588798523, 0.12613122165203094, -0.3923284709453583, 0.11771232634782791, 0.5774617791175842, 0.2786683738231659, 0.3507798910140991, 0.03494853898882866, -0.12051882594823837, -0.31151753664016724, -0.16194795072078705, -0.7263585925102234, 0.750906229019165, 0.33125028014183044, -0.23078903555870056, -0.08960138261318207, 0.1355707049369812, 0.03543468192219734, 0.11301440000534058, -0.2794450521469116, 0.6432438492774963, 0.08724088221788406, -0.030292389914393425, 0.544799268245697, 0.03542757034301758, 0.6097767353057861, -0.681412935256958, -0.019379466772079468, 0.0895673930644989, 0.30676084756851196, -0.19022014737129211, -0.5401321649551392, 0.23553018271923065, 0.3296845555305481, -0.48524147272109985, -0.17746895551681519, 0.6679211258888245, -0.6715997457504272, -0.6925462484359741, 0.5331194996833801, 0.5959491729736328, 0.2719745635986328, 0.04795011878013611, -0.6952429413795471, 0.11696460843086243, -0.13151828944683075, 0.15828514099121094, 0.31610533595085144, 0.15623196959495544, -0.25407660007476807, 0.8601168990135193, 0.48099130392074585, 0.0802474319934845, 0.4855896830558777, 0.41397300362586975, 0.6149148941040039, -0.5436315536499023, -0.6323457956314087, -0.840366005897522, 0.6116892099380493, 0.18495793640613556, -0.3426356911659241, 0.7820498943328857, 0.78145432472229, 0.8548463582992554, 0.04722598195075989, 0.4993629455566406, 0.29925140738487244, 0.8559168577194214, -0.3833441138267517, 0.9034579992294312, -0.5531080365180969, 0.39324355125427246, -0.5694546699523926, -0.6458749175071716, -0.3801185190677643, 0.7702372074127197, -0.25552016496658325, 0.4270712435245514, 0.19173496961593628, 0.5453550219535828, -0.2738999128341675, 0.14019672572612762, 0.306160569190979, 0.050632212311029434, 0.3649666905403137, 0.1297444999217987, 1.2255322933197021, -0.5840627551078796, 0.17429479956626892, -0.025487150996923447, 0.03227059170603752, -0.12576203048229218, -0.6636459827423096, -0.6420361399650574, -0.6093913316726685, -0.42069244384765625, 0.07798724621534348, 0.4129837155342102, 0.724250853061676, 0.8261913657188416, -0.7243067622184753, -0.8191542029380798, 0.1445930153131485, 0.051734182983636856, -0.20518487691879272, -0.09160258620977402, 0.10490106046199799, -0.11258924007415771, -0.7359423041343689, 0.5231937766075134, 0.01939178630709648, 0.07584425061941147, 0.05026105046272278, -0.3782159984111786, -0.15484356880187988, -0.1998898833990097, 0.19524189829826355, 0.3496675491333008, -0.8865659832954407, 0.050604723393917084, -0.19350947439670563, 0.2811749279499054, 0.15627296268939972, 0.8683516383171082, -0.5962392091751099, 0.4906582832336426, 0.24973073601722717, 0.3762100040912628, 0.2898005247116089, -0.18999554216861725, 0.7241623401641846, -0.9764294028282166, 0.19076943397521973, 0.17817701399326324, 0.40961548686027527, 0.8253017663955688, -0.1681215614080429, 0.31017524003982544, 0.006007444579154253, -0.4084634780883789, -1.2320202589035034, 0.1543305367231369, -0.4867563247680664, -0.33116772770881653, 0.9983600974082947, 0.011373651213943958, 0.28458037972450256, -0.3083299398422241, 0.045833464711904526, 0.2926534414291382, -0.5632506012916565, 0.7528913021087646, 0.6101913452148438, -0.23907774686813354, -0.16519218683242798, -0.691772997379303, 0.595502495765686, 0.16697220504283905, -0.3421047627925873, 0.2567538917064667, 0.6093146800994873, 0.31868088245391846, 0.22250230610370636, 0.44765105843544006, -0.24650822579860687, 0.4463309049606323, 0.017240485176444054, 0.25151750445365906, -0.07869493216276169, -0.846612274646759, -1.0565218925476074, -0.06295564025640488, 0.3048345744609833, -0.22585272789001465 ]
http://arxiv.org/abs/2403.14659v1
http://arxiv.org/pdf/2403.14659v1
Social Intelligence Data Infrastructure: Structuring the Present and Navigating the Future
2024-02-28T00:22:42
2024-02-28T00:22:42
Minzhi Li, Weiyan Shi, Caleb Ziems, Diyi Yang
cs.CY
cs.CY, cs.AI, cs.CL
As Natural Language Processing (NLP) systems become increasingly integrated into human social life, these technologies will need to increasingly rely on social intelligence. Although there are many valuable datasets that benchmark isolated dimensions of social intelligence, there does not yet exist any body of work to join these threads into a cohesive subfield in which researchers can quickly identify research gaps and future directions. Towards this goal, we build a Social AI Data Infrastructure, which consists of a comprehensive social AI taxonomy and a data library of 480 NLP datasets. Our infrastructure allows us to analyze existing dataset efforts, and also evaluate language models' performance in different social intelligence aspects. Our analyses demonstrate its utility in enabling a thorough understanding of current data landscape and providing a holistic perspective on potential directions for future dataset development. We show there is a need for multifaceted datasets, increased diversity in language and culture, more long-tailed social situations, and more interactive data in future social intelligence data efforts.
[ -0.3448362350463867, -0.6964108347892761, 0.17229916155338287, 0.22669728100299835, 0.11294727772474289, 0.5765062570571899, -0.030561087653040886, -0.8062532544136047, 0.4128318428993225, 0.3961056172847748, -0.688458263874054, -0.5453433990478516, -0.5440321564674377, -0.0679447203874588, -0.5569964647293091, 0.8599839806556702, 0.5753193497657776, -0.10818290710449219, -0.6991176605224609, -0.36697617173194885, -0.40814757347106934, -0.6426651477813721, -0.7418568730354309, -0.41922736167907715, 0.6451514363288879, 0.6654276251792908, 1.0178046226501465, 0.6573807597160339, 0.5076181888580322, 0.3076190650463104, -0.10203816741704941, 0.18918928503990173, -0.5408920049667358, 0.06273964047431946, -0.17873187363147736, -0.12214238941669464, -0.6921294927597046, -0.15128518640995026, 0.5232511758804321, 1.0333012342453003, 0.09574970602989197, 0.6098074913024902, 0.12716186046600342, 0.992516279220581, -0.3929852247238159, 0.45242348313331604, -0.4273163974285126, -0.13804326951503754, -0.554931640625, 0.05872054770588875, 0.010412873700261116, -0.29533082246780396, 0.21440373361110687, -0.3225645422935486, -0.2297564297914505, 0.21033087372779846, 0.5249519348144531, 0.20408442616462708, -0.3143955171108246, -0.05164621025323868, -0.851487934589386, 0.6505494713783264, -0.35746124386787415, 0.35216134786605835, 0.33395785093307495, 0.38011497259140015, -0.0985739529132843, -0.8243582844734192, -0.31914305686950684, 0.12392591685056686, 0.13970786333084106, -0.1714305728673935, 0.00693317549303174, -0.3316331207752228, -0.1250757873058319, 0.15396972000598907, -0.5159257650375366, 0.11708204448223114, -0.6764333844184875, 0.05815865844488144, 1.056412696838379, 0.3869800269603729, 0.40584230422973633, -0.10372549295425415, -0.023646827787160873, 0.10201387107372284, -0.6903601288795471, 0.0026356291491538286, 0.3375553488731384, 0.46115079522132874, -0.30099719762802124, 0.5591978430747986, -0.4375361502170563, 0.23342519998550415, -0.3922659754753113, 0.3373923599720001, 0.5445998907089233, -0.5955171585083008, 0.04592636972665787, 0.03431455045938492, 0.693642795085907, 0.4711465835571289, 0.5142968893051147, -0.4521324932575226, -0.01569259539246559, 0.20179101824760437, 0.30806323885917664, -0.31808534264564514, -0.2361198216676712, 0.45040401816368103, -0.4757245182991028, -0.2619505822658539, -0.30748260021209717, -0.8578161597251892, -0.658873975276947, -0.6230342388153076, -0.15871648490428925, -0.40176692605018616, -0.40442410111427307, -0.019788872450590134, -0.394431471824646, 0.3030376136302948, -0.032876309007406235, -0.7058327198028564, 0.5294961333274841, 1.0612685680389404, 0.9822496175765991, -0.06332762539386749, -0.49694156646728516, -0.26506802439689636, 0.16222825646400452, -0.24134157598018646, 0.8963815569877625, -0.6408956050872803, -0.19704146683216095, 0.31813186407089233, 0.008713198825716972, 0.22695015370845795, -0.23450501263141632, 0.2677002549171448, -0.4342441260814667, -0.23235246539115906, -0.3473110496997833, -0.42216432094573975, 0.0843653753399849, 0.2730907201766968, -0.9111084938049316, 0.9702349901199341, 0.011788547039031982, -0.806210994720459, 0.41302984952926636, -1.0350804328918457, -0.6791052222251892, 0.45361098647117615, -0.169137105345726, -0.17716780304908752, -0.029111826792359352, 0.11370736360549927, 0.48295021057128906, -0.38008609414100647, 0.577926516532898, -0.8859995007514954, -0.3835920989513397, 0.08933323621749878, -0.26920878887176514, 1.165594220161438, 0.002805044176056981, -0.15025639533996582, -0.009125526063144207, -0.8138295412063599, -0.2911446690559387, 0.15418201684951782, 0.06351038813591003, -0.33632713556289673, 0.596343457698822, 0.0728909820318222, 0.0436842180788517, 0.5343225002288818, -0.4908906817436218, 0.00342194945551455, -0.4030218720436096, 0.6132726669311523, 0.9895926117897034, -0.24802179634571075, 0.6318076252937317, -0.4336121678352356, 0.3371487855911255, -0.27538296580314636, 0.4955540597438812, 0.42984718084335327, -0.8274436593055725, -0.5639573335647583, 0.30144912004470825, 0.07517414540052414, 0.694524347782135, -0.7891172170639038, 0.404331773519516, -0.8134743571281433, -0.744320273399353, -0.41718655824661255, 0.036637723445892334, -0.13742801547050476, 0.11051174253225327, 0.21132971346378326, -0.05644931644201279, -0.624592661857605, -0.8964092135429382, -0.1910364180803299, -0.368763267993927, 0.034056127071380615, 0.21600505709648132, 0.5771914720535278, -0.26667657494544983, 1.100818157196045, -0.10994138568639755, -0.046413522213697433, -0.575029194355011, 0.011437924578785896, 0.1394721120595932, 0.3154333233833313, 0.33146193623542786, -1.0098017454147339, -0.18899184465408325, 0.07550760358572006, -0.9452844858169556, 0.14067669212818146, 0.20400981605052948, -0.28729796409606934, -0.16245350241661072, 0.43528321385383606, -0.5229449272155762, 0.4582626223564148, 0.3918691575527191, -0.4488828778266907, 0.15980488061904907, 0.14804789423942566, -0.09565059840679169, -1.0177581310272217, 0.28923770785331726, -0.12575963139533997, 0.10658030956983566, -0.8867842555046082, -0.15265758335590363, -0.2610836327075958, -0.2704797387123108, -0.251519113779068, 0.8015220761299133, -0.23449838161468506, -0.34817740321159363, 0.30611535906791687, 0.11537208408117294, -0.21643728017807007, 0.3221261501312256, -0.2890835404396057, 0.4725188612937927, 0.5911436676979065, -0.4924306571483612, 0.5896921157836914, 0.4261435866355896, -0.4265076518058777, 0.5255105495452881, -0.8866798281669617, 0.26709315180778503, -0.3003952205181122, 0.06164546310901642, -0.5856720805168152, -0.4546160101890564, 0.17837943136692047, -0.5921140909194946, -0.06012120470404625, 0.17134998738765717, -0.6207761764526367, -0.3584887981414795, -0.42099446058273315, 0.31833764910697937, 0.16241063177585602, -0.27917739748954773, 0.8232119083404541, 1.1435590982437134, -0.5150718688964844, -0.63322514295578, -0.6599611043930054, 0.5060240030288696, -0.17008762061595917, -0.8605712056159973, 0.34537339210510254, -0.05937638878822327, -0.6104434132575989, 0.19884037971496582, 0.38891083002090454, -0.04455804079771042, 0.3908895254135132, 0.46612924337387085, 0.31959423422813416, -0.04385661333799362, 0.3025425672531128, -0.031057847663760185, -0.204918771982193, 0.33848002552986145, -0.056681424379348755, 0.5898345112800598, -0.13389360904693604, -0.3133314847946167, -0.07452648133039474, 0.6803433895111084, 0.7361136674880981, -0.5034742951393127, 0.7717108130455017, 0.5349932312965393, -0.6782000064849854, 0.041499052196741104, -0.2885501980781555, 0.22450610995292664, -0.44523686170578003, 0.38610410690307617, 0.10759802162647247, -0.8403193354606628, 0.7406995892524719, 0.09575491398572922, 0.5264924764633179, 0.25209611654281616, 0.3844333589076996, -0.15968403220176697, 1.0794355869293213, 0.664404034614563, -0.6502436995506287, 0.4284152686595917, -0.151792973279953, 0.5740023851394653, -0.4822346270084381, -0.3291257619857788, -0.5732066631317139, -0.4990306496620178, -0.5722276568412781, 0.0813189372420311, 0.07086721062660217, -0.5503043532371521, -0.3181041181087494, -0.024493582546710968, -0.4287905991077423, 0.27167266607284546, 0.6086173057556152, -0.009179577231407166, 0.009972148574888706, -0.12292356789112091, 0.6099250316619873, 0.3143778443336487, -0.6167108416557312, -0.633092999458313, 1.109582543373108, 0.3512100875377655, 0.40443092584609985, 0.14265254139900208, 0.49437791109085083, 0.6900101900100708, 0.39310160279273987, -0.4667985439300537, 0.7640495896339417, -0.29604586958885193, -0.6021214723587036, -0.47012776136398315, -0.16842669248580933, -0.9652503728866577, -0.4446328282356262, -0.3599163293838501, -0.5272355675697327, 0.2793450653553009, -0.1690009981393814, -0.2368025779724121, 0.10445594787597656, -0.7041866779327393, 0.7911599278450012, -0.09817466884851456, -0.2818882465362549, -0.15025967359542847, -0.7846960425376892, 0.09287387132644653, 0.23356306552886963, 0.4958105981349945, -0.4219193160533905, 0.1692662388086319, 0.6264991760253906, -0.12956172227859497, 0.962207555770874, -0.1170625239610672, 0.2961582839488983, 0.0953068658709526, -0.5077323913574219, 0.2078114151954651, 0.15693695843219757, -0.3673548698425293, 0.4394630491733551, 0.009385357610881329, -0.5548751950263977, -0.38167715072631836, 0.6236224174499512, -0.7663772702217102, -0.25814566016197205, -0.21917098760604858, -0.456794410943985, -0.2597430944442749, -0.05057608336210251, -0.09004093706607819, 0.5785695910453796, -0.38016000390052795, 0.6040739417076111, 0.4040418863296509, 0.034857649356126785, 0.32007962465286255, -0.0919857993721962, 0.0768057256937027, -0.2587585151195526, 0.8536028861999512, 0.5792576670646667, -0.06280604749917984, 0.16309754550457, -0.17856332659721375, -0.2894796133041382, -0.58228999376297, -0.1805328130722046, -0.02579747885465622, -0.7076192498207092, -0.14037011563777924, -0.49907195568084717, -0.3646005690097809, -0.7121710181236267, -0.24149024486541748, -0.20679114758968353, -0.15334121882915497, -0.1009160503745079, -0.0737128034234047, 0.6250503659248352, 0.9770230054855347, -0.08655103296041489, -0.09837553650140762, -0.7856963872909546, 0.21620094776153564, 0.19968757033348083, 0.6416345834732056, 0.16062892973423004, 0.24712106585502625, -0.5013073682785034, 0.12926222383975983, 0.2733900845050812, -0.8206759691238403, 0.2684597969055176, 0.38452523946762085, 0.5202596783638, 0.00790435541421175, 0.12864510715007782, 0.6047714352607727, -0.5454697012901306, 0.8666983246803284, -0.41892698407173157, -0.6325156688690186, 0.6415318846702576, -0.3151598572731018, 0.26745864748954773, 0.760065495967865, 0.22409231960773468, -0.8186488151550293, -0.45286768674850464, -0.6555666327476501, -1.071494221687317, 0.37269797921180725, 0.11484735459089279, 0.2508431077003479, -0.12406282126903534, 0.40183570981025696, -0.08725182712078094, 0.03866538405418396, -0.5198528170585632, -0.36241814494132996, -0.13089394569396973, -0.3853829801082611, -0.10706817358732224, -0.027872009202837944, 0.024478450417518616, -0.25606054067611694, 0.5257705450057983, -0.21786943078041077, 0.24081914126873016, -0.3013574481010437, 0.18605001270771027, 0.27736929059028625, -0.0059417420998215675, -0.15777450799942017, 0.8580106496810913, -0.12983331084251404, -0.10827379673719406, 0.13608630001544952, -0.3931771516799927, -0.14187321066856384, 0.07034148275852203, -0.10196437686681747, -0.13304980099201202, 0.397698312997818, 0.39688241481781006, 0.10542558878660202, -0.6491376161575317, 0.41761720180511475, -0.33092454075813293, -0.18853211402893066, -0.7776306867599487, 0.19196867942810059, 0.4248866140842438, 0.41307878494262695, 0.4172915816307068, -0.06260669976472855, 0.19465896487236023, -0.6805946826934814, 0.2210315763950348, 0.4359593093395233, -0.3774667978286743, -0.20589092373847961, 0.45259368419647217, 0.21561762690544128, -0.6983428597450256, 0.9208048582077026, -0.19905833899974823, -0.20493045449256897, 0.5984717011451721, 0.013894498348236084, 0.7940834164619446, 0.006911397445946932, 0.2803148031234741, 0.0848391130566597, 0.3605557084083557, 0.2283838391304016, 0.3636663854122162, 0.06836879998445511, -0.7995206117630005, -0.4755708575248718, -0.48226356506347656, -0.439245343208313, 0.02723035216331482, -0.5619562864303589, 0.26312604546546936, -0.4342746436595917, -0.1154109388589859, 0.1793988049030304, 0.16916294395923615, -0.9575425982475281, 0.21234922111034393, 0.2603965699672699, 0.9054375290870667, -1.0835009813308716, 0.7824363112449646, 0.6994541883468628, -0.18427462875843048, -0.27881476283073425, -0.38132110238075256, 0.1339031308889389, -0.7375463843345642, 0.36233359575271606, 0.2316865473985672, -0.2788751423358917, -0.16531890630722046, -0.9180406332015991, -0.9497166275978088, 1.184123158454895, 0.08952218294143677, -0.05992823466658592, -0.2844472825527191, 0.3648102879524231, 0.6142764091491699, -0.48573440313339233, -0.15113535523414612, 0.6326099038124084, 0.47273218631744385, -0.1909150630235672, -0.2617991268634796, -0.1825578361749649, -1.0041358470916748, 0.08141017705202103, 0.13797277212142944, -0.49222108721733093, 0.6030904650688171, 0.3253733217716217, -0.5453908443450928, -0.14779211580753326, 0.9162992238998413, 0.05742191895842552, 0.5772422552108765, 0.4025016129016876, 0.21683122217655182, 0.7754690051078796, -0.08729533106088638, 0.7745380401611328, -0.4987472891807556, -0.0791223868727684, 1.02802574634552, -0.41928449273109436, 0.8804192543029785, 0.32152873277664185, -0.1559063047170639, 0.5549020767211914, 0.7925167083740234, 0.05072253569960594, 0.2268848717212677, -0.14544254541397095, -0.09889183938503265, -0.08353821188211441, -0.5271465182304382, -0.13683940470218658, 0.6425018906593323, 0.6977869272232056, 0.0720505639910698, 0.11946481466293335, -0.18103966116905212, -0.3105006515979767, 0.025928737595677376, -0.21353408694267273, 0.7370715141296387, -0.19874295592308044, -0.4634564220905304, -0.12141214311122894, -0.43790191411972046, 0.5026209950447083, -0.48520201444625854, -0.07951167225837708, -0.3413691520690918, -0.1694321185350418, -0.13432952761650085, -1.0112500190734863, 0.7695461511611938, -0.12539872527122498, 0.022133370861411095, -0.21935750544071198, 0.9372286200523376, -0.058372147381305695, -0.45895904302597046, 0.5388526916503906, 0.6730321645736694, 0.034963008016347885, 0.14611223340034485, -0.7872944474220276, -0.10487428307533264, -0.2061072289943695, 0.029943976551294327, 0.35171350836753845, 0.6694892048835754, 0.02341097593307495, 1.0224941968917847, 0.7883932590484619, 0.10303212702274323, -0.1460191011428833, 0.29676553606987, 0.9503464102745056, -0.6194272041320801, -0.3887884318828583, -0.9108675122261047, 0.6794511079788208, -0.6372445821762085, -0.5651706457138062, 0.4963986575603485, 0.30817586183547974, 0.5290384888648987, 0.5072754621505737, 0.7878574132919312, -0.27444028854370117, 0.539662778377533, -0.15194888412952423, 0.7605995535850525, -0.5571703910827637, 0.261326402425766, -0.10520510375499725, -0.5792586207389832, -0.34501567482948303, 0.20188957452774048, -0.22689689695835114, -0.17692841589450836, 0.11818879097700119, 0.7449859976768494, 0.24168655276298523, 0.3897216022014618, -0.08412802964448929, -0.11859897524118423, 0.43444275856018066, 0.25579702854156494, 0.7930971384048462, -0.11953803896903992, 0.37114763259887695, -0.1699477732181549, -0.22249528765678406, -0.1196119636297226, -0.6661236882209778, -0.8048585057258606, -0.8165007829666138, -0.12980173528194427, -0.09681712836027145, 0.23937340080738068, 0.7641051411628723, 0.5794833302497864, -0.5505576729774475, -0.25949445366859436, -0.007416451815515757, 0.4225611686706543, -0.20656956732273102, -0.2443988174200058, 0.1307557076215744, -0.2917461097240448, -0.514762282371521, 0.23566624522209167, 0.759750485420227, -0.298561155796051, -0.6971558928489685, 0.004506085067987442, -0.46945154666900635, 0.047966595739126205, 0.6520671844482422, 0.2122032791376114, -0.31673964858055115, -0.5121542811393738, 0.3724225163459778, 0.06207654997706413, 0.011458642780780792, 0.2689771354198456, -0.6316760778427124, 0.17806962132453918, 0.5592042207717896, 0.9298554062843323, -0.07923711836338043, -0.36115938425064087, 0.8086163997650146, -0.621412992477417, -0.12781395018100739, 0.2624216079711914, 0.2836495339870453, 0.4503139555454254, -0.3942693769931793, 0.7039193511009216, 0.07797854393720627, -0.758817195892334, -0.6993325352668762, 0.11855711787939072, -0.5506882071495056, -0.23833808302879333, 0.8622528314590454, 0.2238631695508957, -0.6003172993659973, -0.8389897346496582, 0.22058115899562836, 0.19715988636016846, -0.44619354605674744, 0.874059796333313, 0.9075889587402344, 0.005011031404137611, -0.19222334027290344, -0.6477587223052979, 0.4210394620895386, 0.10426811128854752, -1.0513856410980225, 0.3263123035430908, 0.4304865300655365, -0.3763437867164612, 0.46504560112953186, 0.8839535713195801, 0.037094973027706146, 0.09200374782085419, 0.10896111279726028, -0.17670562863349915, 0.3956752419471741, -0.4821391999721527, -0.025134069845080376, 0.27072983980178833, -0.155080646276474, 0.011759762652218342 ]
http://arxiv.org/abs/2402.17946v3
http://arxiv.org/pdf/2402.17946v3
SparseLLM: Towards Global Pruning for Pre-trained Language Models
2024-02-28T00:09:07
2024-05-23T20:19:07
Guangji Bai, Yijiang Li, Chen Ling, Kibaek Kim, Liang Zhao
cs.CL
cs.CL
The transformative impact of large language models (LLMs) like LLaMA and GPT on natural language processing is countered by their prohibitive computational demands. Pruning has emerged as a pivotal compression strategy, introducing sparsity to enhance both memory and computational efficiency. Yet, traditional global pruning is impractical for LLMs due to scalability issues, while local pruning, despite its efficiency, leads to suboptimal solutions. Addressing these challenges, we propose SparseLLM, a novel framework that redefines the global pruning process into manageable, coordinated subproblems, allowing for resource-efficient optimization with global optimality. SparseLLM's approach, which conceptualizes LLMs as a chain of modular functions and leverages auxiliary variables for problem decomposition, not only facilitates a pragmatic application on LLMs but also demonstrates significant performance improvements, particularly in high-sparsity regimes where it surpasses current state-of-the-art methods.
[ -0.4018630087375641, -0.9910579323768616, 0.4608703553676605, 0.4528260827064514, -0.3970493972301483, 0.1855061948299408, -0.6769558191299438, -0.22327859699726105, 0.390464186668396, 0.37090787291526794, -0.8977319002151489, -0.422725647687912, -0.5953519940376282, 0.1659838855266571, -0.45822593569755554, 0.9477508068084717, -0.0036338206846266985, -0.2004413902759552, -0.367754727602005, -0.2356310486793518, -0.5078018307685852, -0.8059635162353516, -0.46617192029953003, -0.11246491968631744, 0.5444424748420715, 0.2726746201515198, 0.9102360010147095, 0.6057190895080566, 0.2001110166311264, 0.3891535997390747, -0.2728647291660309, 0.3675414025783539, -0.8144435286521912, 0.23326657712459564, 0.13194042444229126, -0.29145798087120056, -0.3596339225769043, -0.1763349026441574, 1.065698504447937, 0.9881171584129333, -0.2692161500453949, 0.04666953533887863, 0.35060542821884155, 0.39333876967430115, -0.4307864010334015, 0.09411294758319855, -0.8165819048881531, -0.12522605061531067, -0.022941002622246742, -0.1969195455312729, -0.07637710124254227, -0.43615156412124634, -0.060240935534238815, -0.5438816547393799, 0.4045257270336151, -0.024227911606431007, 0.8285828828811646, 0.44313791394233704, 0.0019660883117467165, 0.11541856825351715, -0.7664284110069275, 0.946326732635498, -0.4238205552101135, 0.3220883011817932, 0.19337613880634308, -0.12013553828001022, -0.3401641249656677, -0.5206950902938843, -0.2559814751148224, -0.1690603345632553, -0.0720093846321106, -0.2776227295398712, -0.09860143810510635, 0.25837093591690063, -0.06699362397193909, 0.48613449931144714, -0.7345288395881653, 0.1280512511730194, -0.2988063395023346, -0.18067418038845062, 0.4180828332901001, 0.12636522948741913, 0.37313783168792725, 0.3559774160385132, -0.1979864090681076, 0.37143176794052124, -1.0644080638885498, -0.4673847556114197, 0.3075283169746399, 0.40286120772361755, 0.22400958836078644, 0.277847558259964, 0.08500296622514725, 0.7673323750495911, -0.4212833344936371, -0.3144620358943939, -0.06684885919094086, -0.4176868796348572, -0.3546086549758911, -0.19976016879081726, 0.6622022986412048, -0.1046874076128006, 0.451864629983902, -0.424039363861084, -0.1465202122926712, -0.05188002809882164, 0.141031414270401, -0.8422380089759827, -0.23492003977298737, 0.12207654863595963, -0.24104122817516327, -0.16911233961582184, -0.11119909584522247, -0.5463256239891052, -0.017403777688741684, -0.44976410269737244, 0.18790970742702484, -0.19259217381477356, -0.4213617146015167, 0.14989373087882996, 0.4933341443538666, -0.0999947115778923, 0.25845929980278015, -1.0154178142547607, 0.6886774301528931, 1.004482388496399, 1.094500184059143, -0.19350279867649078, -0.27207326889038086, -0.49355390667915344, 0.22350189089775085, -0.23681312799453735, 0.6547725200653076, -0.487734317779541, -0.481686532497406, -0.019333869218826294, 0.05881907790899277, -0.34513115882873535, -0.7848830223083496, 0.49331218004226685, -0.2504275441169739, -0.1880364567041397, -0.007509799674153328, -0.23885060846805573, -0.06480760127305984, 0.3907390832901001, -0.7211084365844727, 1.1217758655548096, 0.1204245463013649, -0.4317292273044586, 0.1476922184228897, -0.1636366993188858, -0.5830821394920349, 0.1910666525363922, -0.12145767360925674, -0.5152671337127686, 0.43139782547950745, 0.2887227237224579, 0.6262917518615723, -0.5488592386245728, 0.7285099625587463, -0.23915502429008484, -0.559222936630249, -0.015680084004998207, -0.3882567882537842, 0.48660773038864136, 0.09688009321689606, 0.16372352838516235, 0.3470557630062103, -0.6059772968292236, 0.03894457221031189, 0.1976356953382492, -0.44668078422546387, -0.26857149600982666, 0.10110810399055481, 0.07751061767339706, -0.026144787669181824, 0.1598387509584427, -0.29821014404296875, 0.45021140575408936, -0.7142720222473145, 0.7552310228347778, 0.852502703666687, -0.1435198038816452, 0.5752748250961304, -0.44638773798942566, 0.48649176955223083, -0.47525185346603394, 0.21144597232341766, -0.12033374607563019, -0.21750667691230774, -0.9125562906265259, -0.6109912395477295, 0.15209384262561798, 0.45115283131599426, -0.21037296950817108, 0.4862104058265686, -0.38679876923561096, -0.23797975480556488, -0.3027817904949188, 0.49526530504226685, 0.13632389903068542, 0.038968414068222046, 0.37091538310050964, -0.17692698538303375, -0.6852205991744995, -0.8154237270355225, -0.10661209374666214, -0.06810323894023895, -0.00012148178211646155, 0.08312612771987915, 0.21206869184970856, -0.2934718728065491, 1.0385403633117676, -0.44819721579551697, -0.5338261127471924, -0.6404548287391663, 0.15866035223007202, 0.3340902626514435, 0.6479089856147766, 0.12488769739866257, -0.769956111907959, -0.28880730271339417, -0.1665698140859604, -0.2848173677921295, -0.22021572291851044, -0.2694195508956909, 0.12608332931995392, 0.09191490709781647, 0.4436999559402466, -0.9952862858772278, 0.12234745919704437, 0.443274587392807, 0.16155193746089935, 0.6378986835479736, -0.25293388962745667, -0.2789580225944519, -0.8233642578125, -0.04817035049200058, -0.028719764202833176, -0.29179850220680237, -0.5554272532463074, 0.09755218029022217, -0.2443103939294815, -0.24647367000579834, -0.26571619510650635, 0.5061914324760437, -0.8835484385490417, -0.14236599206924438, -0.1635439693927765, -0.0656333640217781, -0.13157589733600616, 0.5956063270568848, 0.17570653557777405, 0.8217669129371643, 0.4579654335975647, -0.556122899055481, 0.1692943572998047, -0.04779423400759697, -0.27521294355392456, -0.0322839617729187, -0.6522772908210754, -0.0446319654583931, -0.21826930344104767, 0.10182126611471176, -0.8367324471473694, -0.07553113251924515, 0.12505123019218445, -0.11756490916013718, 0.629939615726471, -0.2626691460609436, -0.7013959884643555, -0.11522774398326874, -0.33160585165023804, 0.5132855772972107, 0.5695542097091675, -0.3740941286087036, 0.544119119644165, 0.5036911964416504, -0.5499706864356995, -0.4509042501449585, -0.4338948130607605, 0.20835372805595398, -0.35447511076927185, -0.7688956260681152, 0.49861279129981995, -0.12172558903694153, -0.2289033681154251, -0.09308908879756927, -0.3085823953151703, -0.23204191029071808, 0.3670443594455719, 0.10828296840190887, 0.26917344331741333, -0.14357194304466248, 0.05742727220058441, -0.22473463416099548, -0.22143933176994324, -0.04540028050541878, -0.4287624955177307, 0.6913141012191772, -0.11457254737615585, -0.2834776043891907, -0.03374041989445686, 0.42981958389282227, 0.2432706654071808, -0.18082565069198608, 0.6887759566307068, 0.5750268697738647, -0.431136816740036, -0.5848245620727539, -0.7105265855789185, -0.09941858053207397, -0.5018647909164429, 0.6227166652679443, -0.14612920582294464, -1.3958624601364136, 0.13857802748680115, -0.4367309808731079, 0.0565376952290535, -0.022946089506149292, 0.6559150218963623, 0.3206660747528076, 1.0174739360809326, 0.9206733107566833, -0.35555776953697205, 0.3811747133731842, -0.2957651913166046, 0.374826043844223, -0.5228527188301086, -0.015263705514371395, -0.5733705759048462, -0.0791269913315773, -0.11307172477245331, -0.8502268195152283, 0.11152105778455734, 0.402931272983551, 0.023990249261260033, 0.20158004760742188, -0.5611171722412109, 0.8223838210105896, 0.17567840218544006, -0.36244142055511475, 0.19462913274765015, 0.1850201040506363, -0.15395285189151764, -0.22005431354045868, -1.035636305809021, -0.45368948578834534, 0.6074463725090027, 0.2955773174762726, 0.789029598236084, -0.12878477573394775, 0.6428293585777283, -0.06484522670507431, 0.6378782987594604, -0.8694553971290588, 0.836107075214386, 0.01957012340426445, -0.2250525951385498, -0.2790997624397278, -0.540522575378418, -1.109365463256836, 0.5092585682868958, -0.09617461264133453, -0.9342800378799438, -0.1940988451242447, 0.12808926403522491, -0.2910313904285431, 0.40560537576675415, -0.605701208114624, 0.7605353593826294, -0.18552131950855255, -0.5259439945220947, -0.3540615439414978, -0.3317664861679077, 0.5349054932594299, -0.2615630030632019, 0.5066225528717041, -0.4182354211807251, -0.20304791629314423, 0.6643359661102295, -0.7555490732192993, 0.9582985043525696, -0.001203925465233624, -0.021278010681271553, 0.2906011939048767, 0.2958514988422394, 0.4942176342010498, 0.2496020644903183, 0.26936179399490356, 0.25615444779396057, -0.11877930909395218, -0.2772880494594574, -0.40742719173431396, 0.971510112285614, -0.5627594590187073, -0.8048166632652283, -0.45717546343803406, -0.7559828758239746, -0.43970736861228943, 0.0700632706284523, -0.10691596567630768, 0.40947574377059937, -0.43630486726760864, 0.034697532653808594, 0.7028319835662842, -0.24801558256149292, 0.3412054181098938, 0.36344167590141296, -0.07043870538473129, -0.433141827583313, 1.2434028387069702, 0.30147257447242737, -0.0020607071928679943, 0.357305645942688, 0.058992382138967514, -0.2079579085111618, -0.9593994617462158, 0.0004181239055469632, 0.45893993973731995, -0.5403463244438171, -0.29384249448776245, -0.45168885588645935, -0.29685118794441223, -0.3554424047470093, -0.24068689346313477, -0.15029317140579224, -0.3743934631347656, -0.3614029288291931, -0.13140040636062622, 0.04405461996793747, 0.7355139255523682, -0.15306009352207184, 0.3575407564640045, -0.9398061633110046, 0.24481166899204254, 0.23323898017406464, 0.29007452726364136, -0.06578191369771957, -0.2189999520778656, -0.3449726700782776, -0.3106541335582733, -0.10641679912805557, -0.520896852016449, 0.7584035992622375, 0.5047808885574341, 0.6162316203117371, 0.05696257948875427, -0.17016328871250153, 0.9617345929145813, -0.6539335250854492, 0.4766426384449005, 0.19916602969169617, -0.7060889601707458, 0.22317743301391602, -0.20819801092147827, 0.3615815043449402, 0.4189532995223999, 0.44867125153541565, -0.5890257954597473, -0.5009573101997375, -0.4758298695087433, -1.2101105451583862, 0.6298153400421143, 0.08935904502868652, 0.28946927189826965, -0.17993339896202087, 0.29336026310920715, 0.055839668959379196, 0.09260829538106918, -0.8122224807739258, 0.0805758684873581, 0.22037626802921295, -0.2649655342102051, -0.11663621664047241, -0.6683276891708374, -0.11782960593700409, -0.24778223037719727, 0.7001445293426514, -0.17882031202316284, 0.07546956092119217, 0.119198739528656, -0.5149794816970825, -0.049208659678697586, 0.3564383387565613, 0.30155131220817566, 0.6429869532585144, -0.02519276738166809, 0.17683084309101105, 0.2920289933681488, -0.4381699562072754, 0.27995336055755615, -0.012675969861447811, -0.22628511488437653, -0.098504438996315, 0.5541551113128662, 0.4105148911476135, 0.5682162046432495, -0.7473878860473633, 0.3497982919216156, -0.21762461960315704, -0.3121153712272644, -0.18732306361198425, 0.030570389702916145, 0.1993524730205536, -0.05806145444512367, 0.4938882291316986, 0.08525075018405914, -0.22103218734264374, -0.16343271732330322, 0.09088852256536484, 0.5369732975959778, -0.17705905437469482, -0.42304322123527527, 0.5335138440132141, 0.10904745757579803, -0.1893547624349594, 0.3709907829761505, 0.0736464336514473, -0.5696167945861816, 0.45957469940185547, 0.6444781422615051, 0.8597924113273621, -0.15011799335479736, 0.06315142661333084, 0.4281502068042755, 0.5986915230751038, -0.3296695053577423, -0.011915711686015129, -0.36212366819381714, -0.6584601998329163, -1.0153496265411377, -0.9812820553779602, -0.16047880053520203, 0.3124850392341614, -0.22015154361724854, 0.08384983241558075, -0.7889325022697449, 0.10401524603366852, -0.47168827056884766, 0.05611114576458931, -0.37611690163612366, -0.008314329199492931, 0.10563678294420242, 0.7856448292732239, -0.6906129121780396, 1.1079035997390747, 0.4861510396003723, -0.12498394399881363, -0.6868255734443665, -0.03862089663743973, 0.014130044728517532, -0.700639545917511, 0.5391544103622437, 0.45125848054885864, -0.1577414721250534, 0.05541029945015907, -0.4735223948955536, -1.0802332162857056, 0.757071852684021, 0.7752649784088135, -0.64253830909729, -0.00034909392707049847, 0.21290992200374603, 0.22641563415527344, -0.07949277013540268, -0.10689061135053635, 0.6676838397979736, 0.3697017431259155, 0.1548687070608139, -0.8750183582305908, 0.05344529077410698, -0.2549116313457489, 0.18397977948188782, 0.5116050243377686, -0.5891549587249756, 0.8704418540000916, -0.05779430642724037, -0.6351158022880554, 0.297664999961853, 0.7369434833526611, 0.20902839303016663, -0.4077328145503998, 0.49802136421203613, 0.6291478276252747, 0.7803560495376587, -0.264281690120697, 0.7603312134742737, -0.35437825322151184, 0.26296937465667725, 0.8790892362594604, -0.35545143485069275, 0.5674533247947693, 0.5905255675315857, -0.3050115704536438, 0.0347730778157711, 0.5854260325431824, 0.2867967486381531, 0.3124878704547882, 0.5445380210876465, -0.5638413429260254, -0.43266117572784424, -0.20090696215629578, -0.18943235278129578, -0.09972511231899261, 0.63187575340271, 0.2840172052383423, -0.4144054353237152, -0.07347170263528824, 0.18412911891937256, 0.24322213232517242, -0.4755191206932068, 0.671816349029541, 0.22540773451328278, -0.5647149085998535, 0.9037467241287231, 0.23518194258213043, 0.9040315747261047, -0.8496312499046326, 0.10127869248390198, -0.34366852045059204, 0.23328696191310883, -0.28741687536239624, -0.24469093978405, 0.7361780405044556, -0.028351638466119766, 0.014015967026352882, -0.6926923394203186, 1.099870204925537, -0.5795166492462158, -0.43928712606430054, 0.3815837800502777, 0.5272620320320129, 0.020003346726298332, -0.11282378435134888, -0.7218812108039856, 0.39298656582832336, -0.20990976691246033, -0.2726241648197174, 0.6629429459571838, 0.3875117897987366, -0.20851750671863556, 0.8793519139289856, 0.7702896595001221, 0.4071328938007355, 0.07419922202825546, 0.05789852514863014, 1.1676620244979858, -0.41768887639045715, -0.3908180594444275, -0.9749261140823364, 0.18068259954452515, 0.11466928571462631, -0.10004992038011551, 0.7846145033836365, 0.5343822240829468, 0.7903878092765808, 0.20490390062332153, 0.5937364101409912, 0.1305040568113327, 0.3841504156589508, -0.514622151851654, 0.42084449529647827, -0.34851375222206116, 0.4576501250267029, -0.03617119416594505, -1.1129226684570312, -0.7182072997093201, 0.8030067086219788, -0.2639772593975067, -0.11891422420740128, 0.5627283453941345, 1.0226320028305054, -0.07198544591665268, -0.14896360039710999, 0.4094260036945343, 0.2821354269981384, 0.1166863739490509, 0.5304612517356873, 0.8696309924125671, 0.2030908167362213, 0.7559124231338501, -0.10245562344789505, -0.053448084741830826, 0.06429020315408707, -0.8050829768180847, -0.8570308089256287, -0.3970044255256653, -0.2031075805425644, 0.14173057675361633, 0.0420747846364975, 1.038373351097107, 0.9629082679748535, -0.7002609968185425, -0.5130621194839478, -0.3493923842906952, 0.28789809346199036, -0.03685443103313446, -0.18139152228832245, 0.15362893044948578, -0.6077284812927246, -0.6616270542144775, 0.7470535635948181, 0.6018574237823486, -0.08081149309873581, -0.48524758219718933, -0.23394575715065002, -0.24299675226211548, -0.07536141574382782, 0.506443202495575, 0.4108234643936157, -0.6371608376502991, 0.037275511771440506, -0.33575278520584106, 0.1348312944173813, 0.05814589187502861, 1.1435238122940063, -0.9118139147758484, -0.08895695954561234, 0.3394312560558319, 0.7439610958099365, 0.516288161277771, -0.023198967799544334, 0.7836830019950867, -1.2210088968276978, 0.666505753993988, 0.5122888684272766, 0.5170704126358032, 0.344455748796463, -0.14423511922359467, 0.47956401109695435, 0.49846214056015015, -0.5734355449676514, -1.143784761428833, 0.18358691036701202, -0.6434070467948914, -0.561582624912262, 1.1709959506988525, -0.1723771095275879, -0.46050286293029785, -0.26302000880241394, -0.27793461084365845, 0.002062504878267646, -0.08547040820121765, 0.36443328857421875, 0.6293705701828003, 0.27088865637779236, -0.2652997672557831, -0.40993237495422363, 0.559386670589447, 0.6597595810890198, -0.7046411037445068, 0.3941850960254669, 0.5819693207740784, 0.24927657842636108, -0.21424521505832672, 1.0320255756378174, 0.03597260266542435, -0.19328434765338898, -0.2810368537902832, -0.11032252013683319, -0.2282043695449829, -0.6224552392959595, -0.5252928733825684, 0.4467557370662689, 0.28623515367507935, 0.37153360247612 ]
http://arxiv.org/abs/2402.17944v4
http://arxiv.org/pdf/2402.17944v4
Large Language Models(LLMs) on Tabular Data: Prediction, Generation, and Understanding -- A Survey
2024-02-27T23:59:01
2024-06-21T19:59:54
Xi Fang, Weijie Xu, Fiona Anting Tan, Jiani Zhang, Ziqing Hu, Yanjun Qi, Scott Nickleach, Diego Socolinsky, Srinivasan Sengamedu, Christos Faloutsos
cs.CL
cs.CL, 68T50, I.2.7
Recent breakthroughs in large language modeling have facilitated rigorous exploration of their application in diverse tasks related to tabular data modeling, such as prediction, tabular data synthesis, question answering, and table understanding. Each task presents unique challenges and opportunities. However, there is currently a lack of comprehensive review that summarizes and compares the key techniques, metrics, datasets, models, and optimization approaches in this research domain. This survey aims to address this gap by consolidating recent progress in these areas, offering a thorough survey and taxonomy of the datasets, metrics, and methodologies utilized. It identifies strengths, limitations, unexplored territories, and gaps in the existing literature, while providing some insights for future research directions in this vital and rapidly evolving field. It also provides relevant code and datasets references. Through this comprehensive review, we hope to provide interested readers with pertinent references and insightful perspectives, empowering them with the necessary tools and knowledge to effectively navigate and address the prevailing challenges in the field.
[ -0.35353928804397583, -0.961116373538971, 0.6579421162605286, 0.022370584309101105, 0.1751510053873062, 0.329094797372818, -0.32717031240463257, -0.1390436887741089, -0.07728837430477142, 0.7581092119216919, -0.5933012962341309, -0.8072174191474915, -0.3840470612049103, -0.007617933209985495, -0.6641799211502075, 0.9277687668800354, -0.21560177206993103, 0.16135050356388092, -0.36950141191482544, 0.2550160884857178, -0.43491628766059875, -0.5119643211364746, -0.25250235199928284, -0.22512906789779663, 0.6449342370033264, 0.5851552486419678, 0.559514045715332, 0.7321512699127197, 0.720535159111023, 0.2882990837097168, -0.19413873553276062, 0.19442404806613922, -0.6777306795120239, 0.4628146290779114, 0.14507678151130676, -0.39278072118759155, -0.6231726408004761, -0.1651291400194168, 1.0560702085494995, 1.085423231124878, -0.44060707092285156, 0.3623625636100769, -0.04633747413754463, 0.6200851202011108, -0.22696013748645782, 0.28567203879356384, -0.9788250923156738, 0.3072398900985718, -0.4689553380012512, -0.16821672022342682, -0.36371031403541565, -0.33617594838142395, 0.09752237796783447, -0.23373663425445557, 0.22297462821006775, 0.27567359805107117, 0.44391292333602905, -0.05204877257347107, -0.6163330674171448, -0.33772730827331543, -1.0235041379928589, 0.9297363758087158, -0.7447180151939392, 0.5209260582923889, 0.21391865611076355, 0.5936892032623291, -0.4623604118824005, -0.8087173104286194, -0.3741113245487213, -0.4000929892063141, 0.2430306077003479, -0.08754677325487137, -0.08546421676874161, -0.12616030871868134, 0.23139573633670807, 0.4302099645137787, -0.7382066249847412, 0.45812830328941345, -0.42005226016044617, 0.0007282071164809167, 0.6721305251121521, 0.7303449511528015, 0.26643359661102295, -0.07671129703521729, -0.044063273817300797, 0.19902221858501434, -1.0433070659637451, -0.11085319519042969, 0.22632499039173126, 0.41667401790618896, -0.20681653916835785, 0.6726921200752258, -0.29155537486076355, 0.9585599303245544, -0.5945702195167542, -0.30597952008247375, 0.21595437824726105, -0.5162297487258911, -0.3390408158302307, -0.34018296003341675, 0.772104799747467, 0.22767388820648193, 0.05634795501828194, -0.17655785381793976, -0.2765336334705353, -0.13497231900691986, 0.050360605120658875, -0.5609049797058105, 0.026097822934389114, 0.267280638217926, -0.31417807936668396, -0.2659633457660675, -0.0075514474883675575, -1.1061856746673584, -0.5349465608596802, -0.5600348711013794, -0.29919368028640747, 0.14769743382930756, -0.18335017561912537, -0.04256128892302513, 0.44485804438591003, 0.272316575050354, 0.38072580099105835, -0.8124793767929077, 0.3325413763523102, 0.8102999925613403, 0.7890602946281433, -0.5026606321334839, -0.19009879231452942, -0.23462072014808655, 0.13315585255622864, -0.6469566226005554, 0.8325319290161133, -0.48901090025901794, -0.4911222755908966, 0.43121954798698425, -0.1113876923918724, 0.13387835025787354, -0.7491071820259094, 0.588695764541626, -0.44530877470970154, -0.1052510067820549, -0.35164281725883484, -0.522010862827301, -0.054823704063892365, 0.4342027008533478, -0.7727982401847839, 0.9089471697807312, 0.1523672640323639, -0.6019933819770813, 0.3170299232006073, -0.3766704797744751, -0.15547119081020355, 0.08384303003549576, -0.3115818500518799, -0.5466858148574829, 0.12534987926483154, 0.144590362906456, 0.8023462891578674, -0.7552765011787415, 0.5914877653121948, -0.3248947262763977, 0.011283623985946178, 0.4497480094432831, -0.15677422285079956, 0.36752790212631226, 0.4188113212585449, 0.10602564364671707, 0.2168469876050949, -0.6794149875640869, 0.04659826308488846, 0.17525804042816162, -0.352336585521698, 0.23253825306892395, 0.3255477547645569, 0.27269360423088074, 0.18383313715457916, 0.15093691647052765, -0.316201776266098, 0.3500630855560303, -0.0881132036447525, 0.4117030203342438, 0.42656999826431274, 0.010876253247261047, 0.3804146647453308, -0.1552082598209381, 0.8265127539634705, -0.016505930572748184, 0.11119533330202103, -0.07042337954044342, -0.1710084229707718, -0.4771527945995331, 0.12399832904338837, 0.3140901029109955, 0.5846290588378906, -0.6384677290916443, 0.2234807312488556, -0.46663209795951843, -0.8696889877319336, -0.2415052205324173, 0.36736029386520386, 0.2871275842189789, 0.42736661434173584, 0.11053749918937683, 0.016061905771493912, -0.7456215023994446, -1.0052495002746582, -0.03599901124835014, 0.04750913754105568, 0.17376708984375, 0.47545892000198364, 0.5132257342338562, -0.3605738580226898, 0.8543078303337097, -0.5424531698226929, -0.19571436941623688, -0.8753119707107544, -0.104559026658535, 0.45587992668151855, 0.24245625734329224, 0.36571651697158813, -0.7026880979537964, -0.5726184248924255, 0.29149967432022095, -0.734094500541687, -0.06659010052680969, 0.06326989084482193, 0.1480053812265396, 0.1784260869026184, 0.5721322298049927, -0.4145694077014923, 0.15713849663734436, 0.6811381578445435, -0.11016988009214401, 0.6664844155311584, 0.17732472717761993, 0.09068011492490768, -1.0741463899612427, 0.07718715071678162, 0.0744236633181572, -0.02228972502052784, -1.035940170288086, -0.04717180132865906, -0.08860953152179718, -0.04534855857491493, -0.35366132855415344, 0.5133347511291504, -0.7780787944793701, -0.42748895287513733, -0.0928850919008255, 0.2787415385246277, -0.35408177971839905, 0.02427561767399311, -0.13705940544605255, 0.7886273860931396, 0.6987244486808777, -0.45259132981300354, 0.5631299018859863, 0.413425087928772, -0.8754791021347046, 0.1837385892868042, -0.5291531085968018, -0.11392942816019058, -0.14149698615074158, 0.26699382066726685, -0.9998247623443604, -0.3048701882362366, 0.07083170861005783, -0.4557149410247803, 0.45969897508621216, -0.14618661999702454, -0.6638043522834778, -0.5814814567565918, -0.15856055915355682, 0.2571052014827728, 0.3965301811695099, -0.10675352066755295, 0.34636035561561584, 0.7995224595069885, -0.5691817998886108, -0.7006887197494507, -0.8334437012672424, 0.28526803851127625, -0.3624584376811981, -0.3786236345767975, 0.07692346721887589, 0.0366273932158947, -0.5987560749053955, -0.2908865511417389, 0.027062397450208664, -0.04824436828494072, -0.07309402525424957, -0.002853242913261056, 0.31734588742256165, -0.17023684084415436, 0.11987008154392242, -0.3074442446231842, 0.1336146593093872, 0.14890056848526, 0.11915838718414307, 0.7638872265815735, -0.0002931517956312746, -0.14162564277648926, -0.08262283354997635, 0.24780292809009552, 0.41941285133361816, -0.21943441033363342, 0.7420202493667603, 0.414277583360672, -0.3066994845867157, -0.4007357954978943, -0.6631385684013367, 0.08916370570659637, -0.41947057843208313, 0.8164097666740417, -0.29795944690704346, -0.9689317345619202, 0.7651333808898926, -0.09242566674947739, 0.15970855951309204, 0.21047478914260864, 0.9434967041015625, 0.048486560583114624, 0.753057062625885, 0.5170145034790039, -0.3243981599807739, 0.38049399852752686, -0.31813523173332214, 0.2413897067308426, -0.8860502243041992, -0.43857622146606445, -0.9468928575515747, -0.09952132403850555, -0.709965705871582, -0.4495933949947357, 0.39293113350868225, -0.40332385897636414, -0.120086669921875, -0.056192103773355484, -0.20805485546588898, 0.19894109666347504, 0.0789988562464714, -0.24120250344276428, 0.28067970275878906, 0.2210533320903778, 0.09045877307653427, -0.07522650808095932, -0.5905331373214722, -0.5496999025344849, 1.3253190517425537, 0.4070368707180023, 1.038374900817871, 0.06678541749715805, 0.4689042270183563, 0.1289128065109253, 0.299948126077652, -0.6949781775474548, 0.6629376411437988, -0.03105001524090767, -0.7540023922920227, -0.4878270924091339, -0.826383113861084, -1.1600465774536133, 0.23138751089572906, -0.14584726095199585, -0.8996426463127136, -0.28156203031539917, 0.14384201169013977, 0.08135154098272324, 0.4812774062156677, -0.37320244312286377, 0.8037723898887634, -0.2685577869415283, -0.36043581366539, -0.019066208973526955, -0.47485777735710144, 0.5305768847465515, -0.21800220012664795, 0.47394782304763794, -0.2235082983970642, -0.12319701910018921, 0.840864360332489, -0.06814630329608917, 0.5408666729927063, -0.1636648178100586, -0.40430477261543274, 0.520768404006958, 0.16924777626991272, 0.4566892385482788, -0.1182638481259346, -0.10965564846992493, -0.010711445473134518, 0.03841548040509224, -0.1100315973162651, -0.3823757469654083, 0.7974444627761841, -0.5083069801330566, -0.4936823844909668, -0.29938849806785583, -0.8422462344169617, -0.6319409012794495, 0.045358069241046906, -0.046757638454437256, 0.49561285972595215, -0.21389275789260864, 0.4383528530597687, 0.5846583843231201, -0.312250554561615, 0.4037247598171234, 0.3869626820087433, -0.6713858842849731, -0.44980388879776, 0.7888543009757996, 0.3492300808429718, 0.08248437941074371, 0.47296956181526184, -0.04938954859972, -0.4486039876937866, -0.9864592552185059, -0.2528744637966156, 0.3922456204891205, -0.5184265971183777, -0.31933289766311646, -0.39310991764068604, -0.15632185339927673, -0.474974662065506, 0.1573617160320282, -0.22359877824783325, -0.16369417309761047, -0.23630701005458832, -0.20054291188716888, 0.2710786759853363, 1.1232502460479736, 0.44494715332984924, 0.4672917425632477, -0.7909950017929077, 0.21004071831703186, -0.004533058498054743, 0.3745894432067871, 0.25295916199684143, -0.4476662278175354, -0.47051146626472473, -0.16520899534225464, -0.1634817123413086, -0.942432701587677, 0.599578857421875, -0.11050007492303848, 0.7864921689033508, 0.15889284014701843, -0.34920206665992737, 0.568382740020752, -0.5970898270606995, 0.8280622959136963, 0.11655739694833755, -0.6615520119667053, 0.29731976985931396, -0.6736290454864502, 0.24164257943630219, 0.5450909733772278, 0.4291090965270996, -0.6550371646881104, -0.05301033332943916, -0.15939392149448395, -0.9906571507453918, 0.5032163858413696, -0.062172070145606995, 0.03030223771929741, 0.44813740253448486, 0.2692441940307617, 0.1931062787771225, 0.5590471029281616, -0.8842363953590393, -0.23998849093914032, 0.5509818196296692, -0.2837437391281128, -0.26357540488243103, -0.34079623222351074, 0.08389267325401306, -0.2867218255996704, 0.63437420129776, 0.02794966846704483, 0.13667480647563934, -0.320000559091568, -0.12264183163642883, -0.14479368925094604, 0.4988660216331482, 0.5369518995285034, 1.1316171884536743, -0.057926978915929794, -0.2340339571237564, 0.24026907980442047, -0.5028420090675354, 0.05395684018731117, 0.08317682147026062, -0.19125646352767944, -0.1637224406003952, 0.20802263915538788, 0.80000901222229, -0.06899119168519974, -0.81477952003479, 0.2091187983751297, 0.06888440996408463, -0.2842175364494324, -0.38801923394203186, -0.252954363822937, 0.25442612171173096, 0.13026970624923706, 0.3385425806045532, -0.6518701910972595, 0.23144415020942688, -0.6533995270729065, -0.03175320848822594, 0.6143388748168945, -0.12007040530443192, -0.13807833194732666, 0.32326608896255493, -0.15513886511325836, -0.012598617933690548, 0.5406636595726013, 0.16761618852615356, -0.2670077681541443, 0.6059262156486511, 0.49526819586753845, 0.53779137134552, -0.2813655436038971, 0.15327171981334686, 0.1447673738002777, 0.18757431209087372, 0.016414836049079895, 0.4584225118160248, 0.11050612479448318, -0.6335288882255554, -0.4143108129501343, -0.8204283118247986, -0.5601921677589417, 0.4838818907737732, -0.5493708252906799, 0.1262364387512207, -0.17498956620693207, -0.25797703862190247, -0.07688320428133011, 0.1970091164112091, -0.6962022185325623, 0.16330714523792267, 0.2688905596733093, 0.8566368222236633, -0.8240284323692322, 0.6669237017631531, 0.7029739618301392, -0.17311079800128937, -0.7420404553413391, -0.2263471484184265, 0.013213301077485085, -0.5501847267150879, 0.3918475806713104, -0.2210286259651184, 0.12419673800468445, -0.12143544852733612, -0.47713503241539, -1.0470471382141113, 0.9984146952629089, 0.12948836386203766, -0.7777354121208191, -0.16449801623821259, 0.49742022156715393, 0.5361381769180298, -0.38923242688179016, 0.12136537581682205, 0.9194539785385132, 0.6159709095954895, 0.000793976301793009, -0.8948488831520081, -0.21155895292758942, -0.1362483650445938, 0.24779191613197327, 0.21561260521411896, -0.5243399739265442, 0.8119083046913147, -0.0429953895509243, -0.057346004992723465, 0.2551072835922241, 0.696049153804779, 0.2932250499725342, 0.32144486904144287, 0.1577567756175995, 0.5097987651824951, 0.45149481296539307, -0.2620043158531189, 0.7418708205223083, -0.10165975987911224, 0.419772744178772, 1.016605019569397, -0.5748637318611145, 0.8901494145393372, 0.44550254940986633, -0.7309542298316956, 0.2117030918598175, 0.7313598990440369, -0.3252565562725067, 0.11684885621070862, 0.6212634444236755, -0.07595875859260559, -0.09277866780757904, -0.18174687027931213, -0.4301671087741852, 0.5412857532501221, 0.8033480048179626, -0.454346239566803, -0.33000460267066956, -0.23356413841247559, 0.0009753946796990931, 0.09886694699525833, -0.5735006332397461, 0.8586285710334778, 0.10179796069860458, -0.6398234963417053, 0.4141058623790741, -0.0710117444396019, 0.3659655451774597, -0.6189818978309631, 0.037098947912454605, -0.26122644543647766, -0.004232851788401604, -0.2567822337150574, -1.0417767763137817, 0.030818428844213486, 0.15110531449317932, -0.054041311144828796, -0.33324116468429565, 0.538141667842865, -0.4867476224899292, -0.5371894240379333, 0.027235612273216248, 0.9696680307388306, 0.21542683243751526, 0.33048051595687866, -0.5805978775024414, 0.4688244163990021, 0.09328024089336395, -0.40697142481803894, 0.23505118489265442, 0.3453708589076996, 0.04938063025474548, 0.9754160046577454, 0.3035723865032196, 0.4408639371395111, 0.2686639428138733, 0.2474600225687027, 0.8889090418815613, -0.8106997013092041, -0.31088340282440186, -0.8152666687965393, 0.4278562068939209, 0.08703650534152985, -0.1678917557001114, 0.7803109288215637, 0.9092386364936829, 0.6140652894973755, -0.32460254430770874, 0.9743751883506775, 0.04084911569952965, 0.951055645942688, -0.6739104986190796, 0.7473326325416565, -0.534168541431427, 0.22616569697856903, -0.4260213077068329, -1.1136103868484497, -0.4611523151397705, 0.11682049185037613, -0.42960119247436523, 0.21212992072105408, 0.5644979476928711, 0.8507302403450012, 0.19092999398708344, -0.16279776394367218, 0.36208149790763855, 0.40596264600753784, 0.3262086510658264, 0.40266478061676025, 0.9914959669113159, -0.013796612620353699, 0.48717406392097473, 0.13503701984882355, 0.05343016982078552, -0.19471034407615662, -0.6827315092086792, -0.745494544506073, -0.7848728895187378, -0.04448864981532097, -0.033918049186468124, -0.12690812349319458, 0.7020293474197388, 0.5241619944572449, -0.8556898832321167, -0.7381836771965027, -0.08417034894227982, 0.10011142492294312, 0.35360124707221985, -0.19075915217399597, 0.36639204621315, -0.26568666100502014, -0.7197956442832947, 0.2206287533044815, 0.06287873536348343, 0.05938010290265083, -0.5338671803474426, 0.10766741633415222, -0.13266177475452423, -0.10733149945735931, 0.6316857933998108, 0.2978443205356598, -0.6937596797943115, 0.283563494682312, -0.039459019899368286, -0.14567513763904572, 0.05634690448641777, 0.8774504661560059, -0.4641624093055725, 0.09461569041013718, 0.5512822866439819, 0.7536509037017822, 0.5688863396644592, -0.12851770222187042, 0.401944637298584, -0.4952128529548645, -0.17764617502689362, 0.2899134159088135, 0.5472412705421448, 0.572770893573761, -0.1732046902179718, 0.5160555243492126, -0.10574368387460709, -0.8026314377784729, -1.177107572555542, 0.34190115332603455, -1.1722056865692139, -0.06069722771644592, 1.3404053449630737, 0.10765329003334045, -0.22260895371437073, 0.16790102422237396, -0.12250172346830368, 0.1457405537366867, -0.2691168785095215, 0.6301642656326294, 0.65267014503479, -0.12401119619607925, -0.2772751748561859, -0.9670162796974182, 0.375060111284256, 0.07258004695177078, -1.322484016418457, 0.37007126212120056, 0.8047387003898621, 0.11439508944749832, -0.16974692046642303, 0.32000306248664856, -0.2991080582141876, -0.08148136734962463, -0.2595386207103729, -0.021308263763785362, 0.1516328752040863, -0.5319892764091492, -0.2907123565673828, 0.23092548549175262, 0.4090672433376312, 0.3199581205844879 ]
http://arxiv.org/abs/2402.17938v1
http://arxiv.org/pdf/2402.17938v1
EmMark: Robust Watermarks for IP Protection of Embedded Quantized Large Language Models
2024-02-27T23:30:17
2024-02-27T23:30:17
Ruisi Zhang, Farinaz Koushanfar
cs.CR
cs.CR, cs.CL
This paper introduces EmMark,a novel watermarking framework for protecting the intellectual property (IP) of embedded large language models deployed on resource-constrained edge devices. To address the IP theft risks posed by malicious end-users, EmMark enables proprietors to authenticate ownership by querying the watermarked model weights and matching the inserted signatures. EmMark's novelty lies in its strategic watermark weight parameters selection, nsuring robustness and maintaining model quality. Extensive proof-of-concept evaluations of models from OPT and LLaMA-2 families demonstrate EmMark's fidelity, achieving 100% success in watermark extraction with model performance preservation. EmMark also showcased its resilience against watermark removal and forging attacks.
[ 0.022610370069742203, -1.102107048034668, 0.4470178484916687, -0.013249889947474003, -0.5573676824569702, 0.4666649103164673, 0.20608088374137878, -0.5479230880737305, 0.11044524610042572, 0.6318603157997131, -0.176796555519104, -0.5026583671569824, -0.7827793955802917, -0.44086864590644836, -0.6535384058952332, 0.6430856585502625, -0.012572146952152252, -0.15559546649456024, -0.11433003842830658, -0.3359200358390808, -0.0661097913980484, -0.4232516884803772, -0.8138140439987183, -0.03224597126245499, 0.2685616910457611, 0.036527521908283234, 0.8972182273864746, 0.8001236915588379, 0.5086715817451477, 0.22465503215789795, -0.3566015064716339, -0.06798046827316284, -0.12753039598464966, 0.5290514826774597, -0.1251254826784134, -0.41551825404167175, -0.7243592143058777, -0.1826670914888382, 0.7475184202194214, 0.16073937714099884, -0.030224187299609184, 0.1848461776971817, 0.20122766494750977, 0.4828123450279236, -1.0254201889038086, -0.039969876408576965, -0.8697358965873718, 0.04816567897796631, -0.7237590551376343, -0.058816224336624146, -0.5999661684036255, -0.057649534195661545, -0.2838248610496521, -0.6838177442550659, -0.3397201895713806, 0.4674634337425232, 1.2340350151062012, 0.3050805628299713, -0.4176981449127197, 0.04376997426152229, -0.9312673211097717, 1.011802077293396, -0.803155243396759, 0.24361787736415863, 0.8399301171302795, 0.4705007076263428, 0.2202572375535965, -0.8417248725891113, -0.5172133445739746, 0.12767989933490753, 0.38910606503486633, 0.06234157830476761, -0.5364164113998413, -0.24347180128097534, 0.3599337935447693, 0.41375479102134705, -0.4201764464378357, 0.14813844859600067, -0.05731147155165672, -0.13761915266513824, 0.6587018966674805, 0.13801175355911255, 0.34892651438713074, 0.08851169049739838, -0.5145035982131958, -0.052479200065135956, -1.3716986179351807, -0.011151918210089207, 0.7056273818016052, 0.3110767900943756, -0.17565682530403137, 0.4556690752506256, -0.11305820196866989, 0.5200191736221313, -0.26976123452186584, -0.26595377922058105, -0.17240586876869202, 0.3458622395992279, -0.13088473677635193, 0.06485568732023239, 0.8643333911895752, -0.07341338694095612, 0.21291567385196686, 0.19833916425704956, -0.39936375617980957, -0.3766704797744751, -0.0012701014056801796, -0.8512125611305237, -0.12860029935836792, 0.42221006751060486, -0.5021790266036987, -0.26350006461143494, -0.177743598818779, -0.7413438558578491, -0.48122793436050415, 0.04816344752907753, 0.7617267370223999, -0.4549042880535126, -0.6564419269561768, -0.02750101499259472, 0.18349401652812958, 0.25189271569252014, 0.23964722454547882, -0.853396475315094, 0.31058406829833984, 0.9143887758255005, 0.6471087336540222, -0.02521366812288761, 0.19348452985286713, -0.49807220697402954, 0.4434947073459625, -0.2912661135196686, 0.9161456823348999, -0.57060706615448, -0.38958922028541565, 0.04534263163805008, -0.04959362372756004, 0.03772718459367752, -0.5960161685943604, 0.37383922934532166, -1.0784910917282104, -0.11478070914745331, -0.09790614992380142, -0.685269832611084, -0.008882198482751846, 0.27872994542121887, -1.0428396463394165, 1.0367512702941895, 0.2518567144870758, -1.0101608037948608, 0.19523489475250244, -0.44899436831474304, -0.47147732973098755, 0.5199244618415833, 0.19031231105327606, -0.8284445405006409, -0.2123013734817505, 0.1247711032629013, 0.45356661081314087, -0.37746042013168335, -0.05943736061453819, -0.5409936308860779, 0.027262074872851372, 0.3520846664905548, -0.37713176012039185, 1.039239525794983, 0.42310357093811035, -0.2875851094722748, 0.021718908101320267, -0.9545658826828003, 0.16923224925994873, 0.47471147775650024, -0.1890808492898941, -0.9405646324157715, 0.09467318654060364, 0.21752257645130157, -0.2579062283039093, 0.34848713874816895, -0.6978220343589783, -0.13979753851890564, 0.23555000126361847, 0.6483791470527649, 0.8536567687988281, -0.03466477990150452, 0.1751849353313446, -0.19395515322685242, 0.8352052569389343, -0.17312222719192505, 0.19828446209430695, -0.3347311317920685, -0.6705965399742126, -0.532095730304718, -0.7717283368110657, 0.9001046419143677, 0.49222010374069214, -0.7362679243087769, 0.2851978838443756, -0.39087536931037903, -0.3905533254146576, -0.7266018986701965, 0.1434921771287918, 0.4778066873550415, 0.31361842155456543, 0.2856445908546448, -0.0482744500041008, -0.0558098740875721, -1.163226842880249, -0.14818914234638214, -0.258362352848053, -0.10540322959423065, 0.20003899931907654, 0.45099204778671265, 0.03447157144546509, 0.8995418548583984, -0.2804996073246002, -0.12238717079162598, -0.3415076732635498, 0.11282214522361755, -0.07502201199531555, 0.676053524017334, 0.46324601769447327, -0.9510343670845032, -0.8490683436393738, 0.2635612487792969, -0.6816771626472473, -0.1116650328040123, 0.03099929168820381, -0.0037956039886921644, 0.049167945981025696, 0.4528914988040924, -0.7118673920631409, 0.4437759816646576, 0.792491614818573, -0.3259723484516144, 0.5498597025871277, 0.2343711107969284, -0.06433790922164917, -1.2344427108764648, 0.19541935622692108, -0.2721794545650482, -0.6283034682273865, -0.24496303498744965, 0.5253416895866394, 0.1493641883134842, -0.041672877967357635, -0.5327550172805786, 0.8649681806564331, -0.191104918718338, 0.08359768241643906, -0.18353965878486633, -0.35075753927230835, 0.2772785723209381, -0.04587951675057411, -0.16321659088134766, 0.8332520723342896, 0.5289074778556824, -0.23730148375034332, 0.27142250537872314, 0.17179274559020996, -0.4471871554851532, 1.22475266456604, -1.0150525569915771, 0.23283420503139496, 0.36272722482681274, -0.21512803435325623, -0.7610710859298706, -0.038983043283224106, -0.17635494470596313, -0.20566034317016602, 0.5883783102035522, -0.6247796416282654, -0.5950220823287964, -0.022401301190257072, -0.28311896324157715, 0.2976795434951782, 0.6822026371955872, -0.5433877110481262, 0.9700555205345154, 0.5393293499946594, -0.3888227045536041, -0.4611450731754303, -0.630302906036377, 0.15232108533382416, -0.6370989084243774, -0.7267633676528931, 0.6230414509773254, -0.03726982697844505, -0.47933369874954224, 0.2370452880859375, 0.18601657450199127, -0.4530186355113983, 0.423941433429718, 0.3344508707523346, -0.05316642299294472, -0.3293924629688263, -0.3143600821495056, 0.4438198506832123, -0.3959029018878937, -0.12998169660568237, -0.0403289720416069, 0.41668859124183655, -0.055521488189697266, -0.5576515197753906, -0.5185989737510681, 0.6583834290504456, 0.5239754915237427, -0.27095845341682434, 0.7739802002906799, 0.4881322383880615, -0.7035833597183228, -0.3852115273475647, -0.36533626914024353, -0.09705465286970139, -0.5452181100845337, 0.11615573614835739, -0.46109527349472046, -1.1539947986602783, 0.7337082028388977, -0.03419148549437523, 0.07317648828029633, 0.5694052577018738, 0.25910305976867676, -0.3735305368900299, 0.741783618927002, 0.7150801420211792, -0.05805644392967224, 0.41428661346435547, -0.11607883870601654, 0.3771752715110779, -1.1106914281845093, 0.16084648668766022, -0.417671799659729, -0.2194175273180008, -0.2368966042995453, 0.0635877400636673, 0.08253322541713715, 0.2829359769821167, -0.2997737526893616, 0.6048689484596252, -0.4160177707672119, 0.501630425453186, 0.9425016045570374, -0.026549413800239563, 0.30381932854652405, -0.028607433661818504, -0.43162432312965393, -0.2398456335067749, -0.34186291694641113, -0.6951102018356323, 1.148236632347107, 0.46879395842552185, 0.8813146948814392, 0.12136021256446838, 0.4221709668636322, 0.6647108793258667, 0.22046305239200592, -0.3746664524078369, 0.5876649022102356, 0.22161410748958588, -0.9804685711860657, -0.2190663069486618, -0.31163325905799866, -1.039196252822876, -0.014796112664043903, -0.11399216949939728, -1.028179407119751, 0.059831056743860245, 0.12610875070095062, -0.700229823589325, 0.662883996963501, -0.35568317770957947, 0.6325613856315613, -0.11562930792570114, -0.9764512181282043, -0.38737407326698303, -0.3262285590171814, 0.2826266586780548, -0.5025356411933899, 0.21588566899299622, -0.36859381198883057, 0.3160136044025421, 0.7890112996101379, -0.37931081652641296, 0.7087445259094238, -0.19926539063453674, -0.2232629507780075, 0.4948802590370178, 0.6586934328079224, 0.7313550114631653, 0.08905075490474701, -0.08465909957885742, 0.23308897018432617, 0.08897235989570618, -0.3407197594642639, -0.23757587373256683, 0.4141639471054077, -0.3246902823448181, -0.6707156300544739, -0.20339784026145935, -0.3149609863758087, 0.07362865656614304, 0.3531438410282135, 0.2058434784412384, 0.25110259652137756, -0.03337773680686951, 0.53758305311203, 0.72111976146698, -0.5076781511306763, 0.7496074438095093, 0.4783836901187897, -0.0356704480946064, -0.6518662571907043, 0.8809850811958313, 0.09560652077198029, 0.36763718724250793, 0.5172798037528992, 0.1344253271818161, -0.04154755547642708, -0.666942834854126, -0.39372512698173523, -0.1563158631324768, -0.7280930280685425, -0.4993879795074463, -0.7185105085372925, -0.5536929368972778, 0.01217721588909626, -0.2369598001241684, -1.1059541702270508, -0.8231253623962402, 0.020667031407356262, -0.09189827740192413, 0.6886950731277466, 0.5775002837181091, -0.10246743261814117, 0.811663031578064, -0.738436758518219, 0.05851440131664276, 0.6619014739990234, 0.3406936228275299, -0.12296269088983536, -0.5115166902542114, -0.44303062558174133, -0.06602417677640915, -0.5684880018234253, -0.5056881904602051, 0.4190366268157959, 0.21430496871471405, 0.3610849976539612, 0.8827469348907471, 0.3523625135421753, 0.26690879464149475, -0.4966498911380768, 0.7544711828231812, -0.13658945262432098, -1.1889432668685913, 0.4536208510398865, -0.6614585518836975, 0.07049082219600677, 0.2306799441576004, 0.2057935893535614, -0.07981567829847336, -0.257291316986084, -0.6886456608772278, -1.269662618637085, 0.07420629262924194, 0.3814493715763092, 0.3286215364933014, 0.3870212137699127, 0.005134314298629761, -0.06392698734998703, 0.22730571031570435, -0.9593580365180969, 0.1316000074148178, 0.03283928707242012, -0.19921568036079407, 0.812528133392334, -0.6726439595222473, -0.3461759090423584, -0.1398388296365738, 0.8000797033309937, -0.053911272436380386, 0.4871180057525635, -0.22534383833408356, -0.1282922625541687, -0.1871330887079239, 0.13504180312156677, 0.37503090500831604, 0.4029392898082733, -0.09542029350996017, 0.36838728189468384, 0.03536611050367355, -0.48324811458587646, 0.07079178839921951, 0.19395707547664642, -0.29330259561538696, -0.2699902355670929, 0.8431146740913391, 0.4589281976222992, 0.04647858813405037, -0.4245256781578064, 0.4413304626941681, -0.04539823159575462, 0.11254189163446426, -0.3675883710384369, -0.013863880187273026, 0.2631087899208069, 0.26991987228393555, 0.5946565866470337, -0.5024672150611877, -0.08184253424406052, -0.028196724131703377, 0.17943459749221802, 0.769917368888855, -0.3047395944595337, -0.707381546497345, 1.1010217666625977, -0.013482603244483471, -0.26924121379852295, 0.463085800409317, -0.014515714719891548, -0.5778146982192993, 0.5850986242294312, 0.5661182403564453, 1.1795164346694946, -0.6948956847190857, -0.18122155964374542, 0.2743460237979889, 0.5787831544876099, 0.1549571305513382, 0.3322668969631195, -0.12418291717767715, -0.8220698237419128, -0.11815829575061798, -0.6650397181510925, -0.7307219505310059, 0.08932697027921677, -0.6385321617126465, 0.17466598749160767, -0.8844594359397888, -0.43052276968955994, 0.02678055129945278, -0.41148635745048523, -0.22462281584739685, -0.046126846224069595, 0.18986113369464874, 0.5291913747787476, -0.7350869178771973, 1.0294979810714722, 0.3613957166671753, 0.04673972353339195, -0.4808356761932373, -0.2736496031284332, 0.15988077223300934, -0.804188072681427, 0.37404170632362366, -0.013068275526165962, 0.06895417720079422, 0.12214101105928421, -0.7457991242408752, -1.097176194190979, 0.9903351664543152, 0.4207516610622406, -0.37620803713798523, 0.5181108117103577, 0.2845558524131775, 0.29825541377067566, -0.2644127905368805, -0.0813356339931488, 0.14882390201091766, 0.3576156198978424, -0.13323572278022766, -0.6786620616912842, 0.2036212533712387, -0.5650222897529602, -0.08022332191467285, 0.0381084606051445, -0.8243669867515564, 0.9264434576034546, 0.07345334440469742, -0.3154609203338623, 0.1490020453929901, 0.39416182041168213, 0.3633997440338135, 0.047486208379268646, 0.295525461435318, 0.7894940972328186, 0.6031756401062012, -0.25355392694473267, 1.1965153217315674, -0.3846263885498047, 0.21677406132221222, 0.9908159375190735, -0.7019139528274536, 1.30729079246521, 0.38257157802581787, -0.3710603713989258, 0.5155486464500427, 0.5407492518424988, -0.07678862661123276, 0.7364420890808105, -0.09061489999294281, -0.5456260442733765, -0.30840736627578735, -0.1693037748336792, -0.4309261441230774, 0.3412106931209564, 0.6072518825531006, -0.3361925482749939, 0.23741266131401062, -0.16630616784095764, 0.42398104071617126, 0.02094506286084652, 0.08657535165548325, 0.5110942721366882, 0.41507479548454285, 0.09980852156877518, 0.5210855603218079, 0.14895230531692505, 0.46587127447128296, -0.7051602602005005, 0.14406196773052216, -0.2196822166442871, 0.3649798333644867, -0.00954106729477644, -0.6982619166374207, 0.39920148253440857, -0.0619991235435009, 0.12404294312000275, -0.3360767364501953, 0.6922543048858643, -0.07397560775279999, -0.4969192147254944, 0.4932059645652771, 0.15870818495750427, -0.31464865803718567, -0.18346157670021057, -0.69451504945755, 0.34103965759277344, -0.2406519651412964, -0.5791760683059692, 0.3171262741088867, 0.33626869320869446, -0.1506231725215912, 0.9405878186225891, 0.7400531768798828, -0.016097405925393105, 0.0022058237809687853, -0.43024972081184387, 0.6259323954582214, -0.4850786328315735, -0.515150785446167, -1.0558043718338013, 0.6925426721572876, -0.2637096345424652, -0.0815856084227562, 0.9823710322380066, 0.5164759755134583, 0.3973160684108734, 0.11485780775547028, 0.6819577813148499, 0.006380015984177589, 0.3499095141887665, -0.5698505640029907, 1.2375719547271729, -0.50799161195755, 0.41137373447418213, -0.5867324471473694, -1.1521742343902588, -0.5005037784576416, 0.5253555774688721, 0.050097834318876266, -0.07221084833145142, 0.623214066028595, 0.710281491279602, -0.254499226808548, -0.02934933640062809, 0.5916963815689087, 0.013134011067450047, 0.5244303345680237, 0.353060781955719, 0.9864264726638794, -0.546444296836853, 0.20616397261619568, -0.1538647711277008, -0.18034876883029938, 0.04055672138929367, -1.158374547958374, -0.8237450122833252, -0.6090227961540222, -0.811373233795166, -0.4225042760372162, 0.18906962871551514, 0.5486567616462708, 1.1224350929260254, -1.1226991415023804, 0.08178170025348663, 0.3092077672481537, 0.29972895979881287, -0.17097730934619904, -0.2258545160293579, 0.6585213541984558, 0.37676090002059937, -0.7223833203315735, 0.3464468717575073, 0.49636512994766235, 0.46505826711654663, -0.18955668807029724, 0.16828720271587372, -0.007081576623022556, 0.33274489641189575, 0.46499761939048767, 0.3280264139175415, -0.25482821464538574, -0.001966044306755066, -0.30724117159843445, -0.0989864319562912, -0.05512707680463791, 0.3953540325164795, -0.3119319677352905, 0.14410832524299622, 0.20330731570720673, 0.8018155097961426, 0.5405596494674683, -0.2688053250312805, 0.4926837682723999, -0.761602520942688, 0.48616504669189453, 0.2326103150844574, 0.7156765460968018, 0.640450119972229, -0.3614042401313782, 0.49288785457611084, 0.2959076464176178, -0.33707571029663086, -1.1005895137786865, 0.04737163335084915, -0.8441365361213684, -0.10264340043067932, 1.229109764099121, -0.5325502753257751, -0.3368147611618042, -0.10052148252725601, 0.22737562656402588, -0.36056819558143616, -0.24102531373500824, 0.7376871705055237, 0.7481153011322021, 0.6908940672874451, -0.4132968783378601, -0.8387616276741028, 0.2952318787574768, 0.28105512261390686, -0.8363416790962219, 0.04507790133357048, -0.016242174431681633, 0.30983710289001465, 0.13521011173725128, 0.3018844425678253, -0.5570336580276489, -0.05608266964554787, 0.22957485914230347, 0.39730754494667053, 0.015410373918712139, -0.2690998613834381, 0.05750630050897598, 0.2304615080356598, 0.30171939730644226, -0.056872736662626266 ]
http://arxiv.org/abs/2402.17936v1
http://arxiv.org/pdf/2402.17936v1
Acquiring Linguistic Knowledge from Multimodal Input
2024-02-27T23:29:10
2024-02-27T23:29:10
Theodor Amariucai, Alex Warstadt
cs.CL
cs.CL
In contrast to children, language models (LMs) exhibit considerably inferior data efficiency when acquiring language. In this submission to the BabyLM Challenge (Warstadt et al., 2023), we test the hypothesis that this data efficiency gap is partly caused by a lack of multimodal input and grounding in the learning environment of typical language models. Although previous work looking into this question found that multimodal training can even harm language-only performance, we speculate that these findings can be attributed to catastrophic forgetting of complex language due to fine-tuning on captions data. To test our hypothesis, we perform an ablation study on FLAVA (Singh et al., 2022), a multimodal vision-and-language model, independently varying the volume of text and vision input to quantify how much text data (if any) can be offset by vision at different data scales. We aim to limit catastrophic forgetting through a multitask pretraining regime that includes unimodal text-only tasks and data sampled from WiT, the relatively diverse Wikipedia-based dataset (Srinivasan et al., 2021). Our results are largely negative: Multimodal pretraining does not harm our models' language performance but does not consistently help either. That said, our conclusions are limited by our having been able to conduct only a small number of runs. While we must leave open the possibility that multimodal input explains some of the gap in data efficiency between LMs and humans, positive evidence for this hypothesis will require better architectures and techniques for multimodal training.
[ -0.3744029402732849, -0.6969546675682068, 0.2806169390678406, -0.15406781435012817, -0.32548585534095764, 0.13880248367786407, -0.2582511901855469, -0.4072900116443634, -0.296998530626297, 0.32157570123672485, -0.5477308034896851, -0.07691533118486404, -0.7015345096588135, -0.10333281755447388, -0.199332594871521, 0.964679479598999, -0.021427640691399574, 0.08230741322040558, -0.6467207074165344, -0.2720237076282501, -0.5810908079147339, -0.5354884266853333, -0.47610172629356384, -0.3321138620376587, 0.8926662802696228, 0.5360803604125977, 0.48091959953308105, 0.526155412197113, 0.38270828127861023, 0.2957550287246704, 0.1829717457294464, 0.385555624961853, -0.5365657806396484, 0.1965676099061966, -0.18056872487068176, -0.6854308843612671, -0.17777082324028015, -0.049153298139572144, 0.7078392505645752, 0.8240658044815063, -0.12660358846187592, 0.030052809044718742, -0.07130403071641922, 0.9364884495735168, -0.8394349217414856, 0.21708424389362335, -0.6660400032997131, -0.04008205607533455, -0.34300681948661804, -0.3173905909061432, -0.5667781233787537, 0.04825877398252487, 0.13945652544498444, -0.42608290910720825, 0.3476203978061676, 0.10044285655021667, 0.8835098743438721, 0.35808444023132324, -0.44909700751304626, -0.42561444640159607, -0.8622295260429382, 0.9216632843017578, -0.42626067996025085, 0.7350968718528748, 0.5786912441253662, -0.013478009030222893, 0.11628936976194382, -0.2246248871088028, -0.8279609084129333, -0.2584991455078125, -0.10373623669147491, 0.06056084856390953, -0.07721059024333954, 0.23046524822711945, 0.5669659376144409, 0.17997156083583832, -0.6786274909973145, -0.12638507783412933, -0.6520660519599915, -0.27256670594215393, 0.3891187012195587, 0.06292136013507843, 0.438117653131485, -0.08977081626653671, -0.22248436510562897, -0.31421926617622375, -0.6564894914627075, 0.1303151547908783, 0.32311519980430603, 0.31128862500190735, -0.18596890568733215, 0.6690105199813843, -0.11969032883644104, 0.784433126449585, -0.27110588550567627, -0.423813134431839, 0.4979190528392792, -0.39499977231025696, 0.010463469661772251, -0.24272385239601135, 0.683928370475769, 0.22719888389110565, 0.4964452087879181, -0.16707225143909454, -0.22846351563930511, 0.40672871470451355, 0.39347079396247864, -0.5388655066490173, -0.40182140469551086, 0.1301686018705368, -0.15096627175807953, 0.19883736968040466, -0.024014068767428398, -0.7325036525726318, -0.4064040780067444, -0.2624605894088745, 0.548049807548523, -0.7434278130531311, -0.2816929221153259, -0.13559158146381378, -0.10668311268091202, -0.006289226468652487, 0.15113750100135803, -1.0775032043457031, -0.14213375747203827, 0.3104775846004486, 0.7230828404426575, -0.013467452488839626, -0.6225847601890564, -0.3340079188346863, -0.09841054677963257, -0.38897478580474854, 0.8530762791633606, -0.4537353515625, -0.12364381551742554, -0.018317393958568573, -0.09471292048692703, -0.5829045176506042, -0.5875722169876099, 0.0639968067407608, -0.6078559756278992, 0.02851076051592827, -0.25713232159614563, -0.3237094581127167, -0.2891727685928345, 0.16573554277420044, -0.7426125407218933, 0.5986481308937073, -0.016046077013015747, -0.5961538553237915, 0.7578600645065308, -0.635580837726593, -0.6198477149009705, -0.27903270721435547, -0.0413532480597496, -0.4943121671676636, 0.2861770987510681, 0.031605202704668045, 0.3896350562572479, -0.03733690455555916, 0.31020206212997437, -0.2734876573085785, -0.19902943074703217, 0.3994289040565491, -0.7099454402923584, 0.4751785099506378, 0.3079061806201935, -0.26487091183662415, -0.08008318394422531, -0.9640434384346008, -0.3014678955078125, 0.1346544325351715, -0.5663788318634033, -0.44748789072036743, 0.10794181376695633, -0.14404502511024475, 0.43711721897125244, 0.017471788451075554, -0.6711708903312683, 0.04627334699034691, -0.20961950719356537, 0.1329379826784134, 0.6416822075843811, -0.2945582866668701, 0.48482948541641235, -0.5940809845924377, 0.5186695456504822, 0.35839831829071045, 0.10503451526165009, -0.6619667410850525, -0.1426975131034851, -1.1657558679580688, -0.14226363599300385, 0.16502949595451355, 0.27215680480003357, -1.2043137550354004, -0.2765151858329773, -0.2421809881925583, -0.33958736062049866, -0.5376649498939514, 0.42917826771736145, 0.654481053352356, 0.42630961537361145, 0.31051185727119446, -0.5445507168769836, -0.5456735491752625, -0.9841358065605164, -0.12571823596954346, -0.20020633935928345, 0.17526929080486298, 0.27120789885520935, 0.4673002362251282, -0.18883192539215088, 0.7196313738822937, -0.17937959730625153, -0.26364293694496155, -0.32691237330436707, 0.22557838261127472, -0.1167338490486145, 0.6090436577796936, 0.4410332143306732, -0.8333293795585632, -0.2657845914363861, -0.20709410309791565, -0.8579065203666687, 0.11829757690429688, -0.18538914620876312, 0.19916869699954987, 0.5399519801139832, 0.21224834024906158, -0.8313905000686646, 0.2876109480857849, 0.768227756023407, -0.38481441140174866, 0.42052948474884033, -0.35839954018592834, 0.1948740929365158, -0.5514546632766724, 0.09504152834415436, -0.20148959755897522, 0.004954329691827297, -0.8636990189552307, -0.05509961396455765, 0.3002859652042389, 0.054765734821558, -0.5842400193214417, 0.5072342157363892, -0.4982047379016876, 0.10766027867794037, -0.22254569828510284, -0.07772304117679596, 0.08859094977378845, 0.6759809255599976, 0.022369833663105965, 0.768246054649353, 0.41118499636650085, -0.7707726955413818, 0.17185664176940918, 0.06947943568229675, -0.4222603738307953, 0.5574565529823303, -0.28251373767852783, 0.16699373722076416, -0.566464364528656, -0.032683003693819046, -1.207810878753662, -0.40395307540893555, 0.0359184592962265, -0.5637801289558411, 0.5720763802528381, 0.29869818687438965, -0.4973106384277344, -0.1924595683813095, -0.12071342021226883, 0.5424918532371521, 0.4108903706073761, -0.4191935658454895, 0.6608263850212097, 0.25614261627197266, -0.07961346209049225, -0.7217031717300415, -0.7547442317008972, -0.0295772273093462, -0.12638847529888153, -0.4455293118953705, -0.16876725852489471, -0.1703774333000183, -0.18904751539230347, -0.14072275161743164, -0.055980194360017776, -0.1316036432981491, 0.13041572272777557, 0.2886909544467926, 0.19931891560554504, -0.17645034193992615, 0.5564625263214111, -0.11935126781463623, -0.20050737261772156, -0.02294679544866085, -0.036010514944791794, 0.6649952530860901, 0.045643873512744904, -0.45290741324424744, -0.3678721785545349, 0.28702259063720703, 0.8137589693069458, -0.2625148892402649, 0.9450960755348206, 0.590997576713562, -0.28955507278442383, -0.01660383678972721, -0.7835445404052734, -0.09848097711801529, -0.42762866616249084, 0.4803668260574341, -0.32496359944343567, -0.6063505411148071, 0.2733207643032074, 0.06374689191579819, 0.1505822092294693, 0.40025630593299866, 0.460646390914917, -0.4766210615634918, 0.8587865233421326, 0.8175617456436157, 0.3084396421909332, 0.6376241445541382, -0.40887776017189026, -0.028803732246160507, -0.774285078048706, -0.5050783157348633, -0.3070664703845978, -0.22931784391403198, -0.18014666438102722, -0.2730916738510132, 0.15109921991825104, 0.04189306125044823, -0.1607690453529358, 0.08672145009040833, -0.030512334778904915, 0.348121702671051, 0.6189367771148682, 0.28381091356277466, 0.3496074676513672, 0.08465811610221863, -0.21818865835666656, -0.17655406892299652, -1.1022169589996338, -0.27688032388687134, 1.218008041381836, 0.17908930778503418, 0.7925006747245789, 0.07611099630594254, 0.33797287940979004, 0.13244310021400452, 0.3966250717639923, -0.48489105701446533, 0.2315971702337265, -0.19068805873394012, -0.9269499182701111, -0.1628553867340088, -0.409269243478775, -1.0142172574996948, 0.3288251459598541, -0.22319768369197845, -0.4935866594314575, 0.20360176265239716, 0.5392602682113647, -0.41035252809524536, 0.3105781078338623, -0.9633840322494507, 0.9184318780899048, -0.3953917622566223, -0.558350682258606, -0.19737127423286438, -0.6462674736976624, 0.3899531662464142, -0.3821313977241516, 0.6578445434570312, -0.03002537041902542, 0.09314259886741638, 0.9134952425956726, -0.1514674425125122, 0.9828432202339172, -0.41027384996414185, 0.024467667564749718, 0.2803954482078552, -0.05952465161681175, 0.09021712839603424, -0.2784627079963684, 0.23098595440387726, 0.10642317682504654, -0.17512404918670654, -0.6242111921310425, -0.4589715898036957, 0.4313660264015198, -0.8593096137046814, -0.27560141682624817, -0.49008479714393616, -0.732276976108551, -0.33803635835647583, 0.13476401567459106, 0.32500723004341125, 0.6094808578491211, 0.16481652855873108, 0.3595466911792755, 0.830572783946991, -0.2448446899652481, 0.5597344636917114, 0.4575783908367157, -0.11209245026111603, -0.22807690501213074, 1.1292412281036377, 0.3723643720149994, 0.7557846903800964, 0.27815473079681396, 0.051406484097242355, -0.36660587787628174, -0.661036491394043, -0.5307491421699524, 0.30699095129966736, -0.8050244450569153, -0.0764981135725975, -0.761076033115387, 0.12435348331928253, -0.098496213555336, -0.04166945442557335, -0.6869913935661316, -0.09693898260593414, -0.23380769789218903, 0.05712084844708443, 0.12106480449438095, 0.7346846461296082, -0.17563921213150024, 0.3976273834705353, -0.9001975059509277, 0.3898436725139618, 0.34420713782310486, 0.3045980930328369, 0.23588424921035767, -0.48655372858047485, -0.4762178659439087, 0.31177255511283875, -0.22794173657894135, -0.5023764371871948, 0.26412442326545715, 0.47268566489219666, 0.5342090725898743, 0.4820491075515747, -0.103354312479496, 0.8729419112205505, -0.37730512022972107, 0.8104854822158813, 0.4335680603981018, -0.5884106159210205, 0.3848685622215271, -0.23828943073749542, 0.7670510411262512, 0.6894556879997253, 0.3987143933773041, -0.5680931806564331, -0.3114665448665619, -0.5536142587661743, -0.800201416015625, 0.80527663230896, -0.143293097615242, 0.25817108154296875, 0.10541316121816635, 0.1918947398662567, 0.31759539246559143, 0.42004361748695374, -0.8071638941764832, -0.19144569337368011, -0.13003070652484894, -0.11063285917043686, -0.5485618710517883, -0.4649125337600708, 0.08746993541717529, -0.37363818287849426, 0.4891161024570465, -0.07630093395709991, 0.2180858552455902, 0.09229614585638046, -0.6542126536369324, -0.29676511883735657, 0.1349773108959198, 0.8501381278038025, 0.8173691630363464, 0.060954391956329346, 0.35151347517967224, 0.1861260086297989, -0.5207395553588867, 0.2207927405834198, -0.23723135888576508, -0.11148273199796677, -0.042248018085956573, 0.8914691805839539, 1.0607671737670898, 0.3963301479816437, -0.9397344589233398, 0.4089203476905823, -0.08878450840711594, -0.2572334408760071, -0.2717215418815613, 0.12097331881523132, 0.16733916103839874, 0.11707167327404022, 0.4253956377506256, 0.4988262951374054, -0.3938615024089813, -0.6705375909805298, 0.3244454562664032, 0.39940840005874634, -0.39846786856651306, -0.4016139805316925, 0.7220689654350281, -0.01822763867676258, -0.35277873277664185, 0.720771312713623, 0.016662495210766792, -0.4321465790271759, 0.5047250390052795, 0.30973127484321594, 0.48798665404319763, -0.34415990114212036, -0.0019616142380982637, 0.40229424834251404, 0.4469866454601288, 0.021885694935917854, 0.18715055286884308, -0.13738836348056793, -0.8424541354179382, -0.4213348925113678, -0.7210685610771179, -0.027713952586054802, 0.19922490417957306, -0.40737783908843994, 0.09031326323747635, -0.3012055456638336, 0.049230944365262985, -0.009365967474877834, -0.28928887844085693, -0.8932934403419495, 0.26411983370780945, 0.2710998058319092, 0.4187278747558594, -0.9070241451263428, 0.8392991423606873, 0.5972999930381775, -0.48483896255493164, -0.6223025918006897, -0.2727850079536438, 0.021008307114243507, -0.7294687032699585, 0.6748502254486084, 0.24705573916435242, -0.09392879903316498, -0.12836839258670807, -0.3914329409599304, -0.8307624459266663, 0.8046165108680725, 0.30336233973503113, -0.6132416725158691, -0.15219612419605255, 0.32847562432289124, 0.44994860887527466, -0.22239680588245392, 0.32072558999061584, 0.49893051385879517, 0.37681761384010315, 0.14480909705162048, -1.0613347291946411, -0.3109252154827118, -0.19800697267055511, -0.05610951781272888, 0.08904751390218735, -0.6263089776039124, 1.1457579135894775, -0.4410247206687927, -0.37579840421676636, -0.17239990830421448, 0.3388670086860657, -0.042031582444906235, 0.46203896403312683, 0.6549153327941895, 0.5336569547653198, 0.44265201687812805, -0.03616256266832352, 1.1384553909301758, -0.07253758609294891, 0.36797404289245605, 0.8561797738075256, 0.12974758446216583, 0.7347699999809265, 0.6823320984840393, -0.16221708059310913, 0.2361001968383789, 0.4630826711654663, 0.3483521044254303, 0.6996248364448547, -0.12645018100738525, -0.11277174204587936, -0.34283602237701416, -0.08442285656929016, -0.1600538045167923, 0.6464618444442749, 0.41531455516815186, -0.25319331884384155, -0.24728502333164215, 0.6081714034080505, 0.06891412287950516, 0.08464931696653366, -0.0462249256670475, 0.8291658759117126, 0.06466123461723328, -0.8006617426872253, 0.9709485173225403, -0.35257139801979065, 0.8893815279006958, -0.7568410634994507, 0.0056909238919615746, -0.20668064057826996, 0.2411532998085022, -0.10573656111955643, -0.2857964038848877, 0.3879650831222534, -0.15085966885089874, -0.18874144554138184, -0.19004413485527039, 0.5898379683494568, -0.7621057033538818, -0.36201974749565125, 0.23416413366794586, 0.7136247754096985, 0.09811745584011078, 0.0572456456720829, -0.5251644849777222, 0.3085974156856537, 0.0657166987657547, -0.38455647230148315, 0.4496632218360901, 0.1255471259355545, 0.18713559210300446, 0.8145543336868286, 0.75156170129776, 0.06106556951999664, 0.40982383489608765, -0.06476190686225891, 0.8188059329986572, -0.5870252847671509, -0.18015310168266296, -1.0156800746917725, 0.6628914475440979, 0.1815778762102127, -0.35487088561058044, 0.5629866123199463, 0.515998899936676, 1.1027828454971313, -0.18737520277500153, 0.7720123529434204, -0.16341491043567657, 0.3738485872745514, -0.646872878074646, 0.7912229895591736, -0.9269387125968933, 0.03380758315324783, -0.32461971044540405, -0.7660945057868958, -0.3590746521949768, 0.5944147109985352, -0.20900584757328033, 0.06337834894657135, 1.0033308267593384, 0.6692981123924255, 0.024064812809228897, -0.17154157161712646, 0.5948050022125244, 0.12249090522527695, 0.28139036893844604, 0.7448391318321228, 1.009429693222046, -0.2594417631626129, 0.5147870182991028, -0.5897024273872375, -0.25029051303863525, -0.13814860582351685, -0.5077359080314636, -1.040715217590332, -0.8888858556747437, -0.14990483224391937, -0.07652635127305984, 0.20130416750907898, 0.7741133570671082, 0.59983891248703, -0.6822888255119324, -0.14848610758781433, 0.0880712941288948, -0.0037227573338896036, -0.08584213256835938, -0.13868293166160583, 0.17552216351032257, -0.520264744758606, -0.7225995659828186, 0.30247560143470764, 0.14254127442836761, -0.00939108058810234, -0.3824707567691803, -0.05964849516749382, -0.5458118319511414, -0.1881081461906433, 0.7779291272163391, 0.3370828628540039, -0.7285492420196533, -0.4289413094520569, -0.022118525579571724, -0.03249223530292511, 0.18363630771636963, 0.8206131458282471, -0.6897093653678894, 0.8987733721733093, 0.274808794260025, 0.5721285939216614, 0.4122985303401947, -0.20291604101657867, 0.3633083403110504, -0.6862523555755615, 0.4318685829639435, 0.11353243142366409, 0.3049246668815613, 0.43526986241340637, -0.07473462074995041, 0.1410706341266632, 0.48905256390571594, -0.3420584499835968, -0.8023319244384766, 0.12404249608516693, -0.6293857097625732, -0.31658226251602173, 1.0851349830627441, -0.12372791022062302, -0.38522255420684814, -0.33456048369407654, -0.20902463793754578, 0.37690529227256775, -0.34739580750465393, 0.8498757481575012, 0.9014880657196045, -0.2005586475133896, -0.39376944303512573, -0.7418164014816284, 0.3834097683429718, 0.5513403415679932, -0.4699065685272217, 0.13657613098621368, 0.5066595077514648, 0.25512030720710754, 0.4346550405025482, 0.7044166922569275, 0.032762665301561356, 0.38218793272972107, 0.3349779546260834, 0.2457592636346817, -0.2467537671327591, -0.701336145401001, -0.40325695276260376, 0.36666586995124817, 0.21290501952171326, -0.22011414170265198 ]
http://arxiv.org/abs/2402.17934v1
http://arxiv.org/pdf/2402.17934v1
Multitask Multilingual Model Adaptation with Featurized Low-Rank Mixtures
2024-02-27T23:12:45
2024-02-27T23:12:45
Chu-Cheng Lin, Xinyi Wang, Jonathan H. Clark, Han Lu, Yun Zhu, Chenxi Whitehouse, Hongkun Yu
cs.CL
cs.CL, cs.AI
Adapting pretrained large language models (LLMs) to various downstream tasks in tens or hundreds of human languages is computationally expensive. Parameter-efficient fine-tuning (PEFT) significantly reduces the adaptation cost, by tuning only a small amount of parameters. However, directly applying PEFT methods such as LoRA (Hu et al., 2022) on diverse dataset mixtures could lead to suboptimal performance due to limited parameter capacity and negative interference among different datasets. In this work, we propose Featurized Low-rank Mixtures (FLix), a novel PEFT method designed for effective multitask multilingual tuning. FLix associates each unique dataset feature, such as the dataset's language or task, with its own low-rank weight update parameters. By composing feature-specific parameters for each dataset, FLix can accommodate diverse dataset mixtures and generalize better to unseen datasets. Our experiments show that FLix leads to significant improvements over a variety of tasks for both supervised learning and zero-shot settings using different training data mixtures.
[ -0.30927616357803345, -0.5308271050453186, 0.413223534822464, 0.34071388840675354, -0.17487680912017822, 0.34237921237945557, -0.48871949315071106, -0.28660109639167786, 0.11598309874534607, 0.5535430312156677, -0.5177837014198303, -0.29332879185676575, -0.4873182773590088, 0.12087111175060272, -0.13924816250801086, 1.036536693572998, -0.18288801610469818, -0.17258544266223907, -0.24010984599590302, -0.26816415786743164, -0.4033719599246979, -0.5022950768470764, -0.4506877064704895, -0.14752741158008575, 0.721248984336853, 0.8430298566818237, 0.3100247383117676, 0.17031633853912354, 0.02104305289685726, 0.2923974394798279, 0.3189656734466553, 0.4907620847225189, -0.8391392827033997, 0.17434437572956085, -0.19758674502372742, -0.6066721677780151, -0.44911330938339233, -0.16761250793933868, 0.6033818125724792, 0.9362921118736267, -0.02553061954677105, 0.09051625430583954, 0.3963891863822937, 0.6034305095672607, -0.8133518695831299, -0.08297491073608398, -0.7179451584815979, -0.08863485604524612, -0.29920536279678345, -0.16014990210533142, -0.14591124653816223, 0.1908433884382248, -0.24699510633945465, -0.7460218667984009, 0.17410200834274292, 0.26305556297302246, 0.4087725579738617, 0.4079459309577942, -0.10530281811952591, 0.24662378430366516, -0.7455512881278992, 1.0685824155807495, -0.7450093030929565, 0.590742826461792, 0.4825035035610199, 0.1180921122431755, -0.12033148109912872, -0.20426243543624878, -0.36342889070510864, -0.2093428671360016, 0.12324130535125732, 0.09258093684911728, 0.1244492456316948, -0.07295379042625427, 0.14540739357471466, 0.15692301094532013, -0.5959395170211792, 0.2519994080066681, -0.19422726333141327, -0.2131270319223404, 0.5681803822517395, -0.06536957621574402, 0.10342390090227127, 0.12351018190383911, -0.2889811098575592, -0.22078311443328857, -0.5625751614570618, 0.21648436784744263, 0.4517393708229065, 0.626896321773529, -0.36472421884536743, 0.2546407878398895, -0.49362877011299133, 0.7583915591239929, 0.20384718477725983, -0.5566090941429138, 0.49448075890541077, -0.3339516818523407, -0.2607719898223877, 0.05263831838965416, 0.5077358484268188, -0.018960464745759964, 0.20857523381710052, -0.41798675060272217, -0.25666311383247375, -0.32344141602516174, 0.19015003740787506, -0.67647385597229, -0.3674989938735962, 0.462138295173645, -0.23595067858695984, -0.20584511756896973, -0.16037818789482117, -0.7139605283737183, -0.4138311445713043, -0.42312267422676086, 0.6177909970283508, -0.5256631374359131, -0.22732989490032196, 0.044557131826877594, 0.07003089785575867, -0.15018457174301147, 0.5628277659416199, -0.8646143078804016, 0.2991520166397095, 0.49512821435928345, 0.75726717710495, -0.35232311487197876, -0.8015250563621521, -1.0626543760299683, 0.04651036486029625, -0.2700504958629608, 0.9385880827903748, -0.46577954292297363, -0.22270160913467407, -0.3835493326187134, 0.12523077428340912, -0.5846746563911438, -0.6378300786018372, 0.46248629689216614, -0.07629334926605225, -0.11755036562681198, -0.18577037751674652, -0.2063317447900772, -0.10900579392910004, 0.14370094239711761, -0.541659951210022, 1.4205377101898193, 0.4454461336135864, -0.5401571393013, 0.49371206760406494, -0.661899745464325, -0.8471402525901794, 0.05066419020295143, 0.030879100784659386, -0.21584920585155487, 0.37497058510780334, 0.38556522130966187, 0.6406791806221008, -0.04229588434100151, 0.08568810671567917, -0.6118350625038147, -0.499359667301178, 0.13263364136219025, -0.28826916217803955, 0.3662859797477722, 0.15748122334480286, -0.2606728672981262, 0.2902672290802002, -0.8259966969490051, -0.09368337690830231, 0.014102025888860226, -0.34699487686157227, -0.43291351199150085, 0.08284765481948853, 0.25303953886032104, 0.26136255264282227, 0.23089848458766937, -0.3897354304790497, 0.09706659615039825, -0.4267217516899109, 0.3637080788612366, 0.5479439496994019, -0.13962720334529877, 0.4207640290260315, -0.555179238319397, 0.47705763578414917, 0.28564906120300293, -0.09261033684015274, 0.006244187243282795, -0.2233731746673584, -0.8321940898895264, -0.46665653586387634, 0.440884530544281, 0.7364597916603088, -1.1055986881256104, 0.25168031454086304, -0.5272070169448853, -0.5720105767250061, -0.435569703578949, 0.727985680103302, 0.0564141720533371, 0.443745493888855, 0.3330783247947693, -0.04719950631260872, -0.11560548841953278, -0.8537582755088806, -0.27580296993255615, 0.1898452639579773, -0.2030826210975647, 0.3565331697463989, 0.4103342294692993, 0.09044717252254486, 0.6193400025367737, -0.25686734914779663, -0.1956193447113037, -0.4448806941509247, 0.2590964734554291, 0.18882882595062256, 0.47193846106529236, 0.8350741267204285, -0.6702465415000916, -0.5734061002731323, 0.05092690885066986, -0.19239871203899384, -0.062287136912345886, -0.22902224957942963, -0.2543492317199707, 0.04047219455242157, 0.2009236216545105, -0.030747847631573677, -0.04228641837835312, 0.7258399128913879, -0.0851789265871048, 0.32153791189193726, -0.40885281562805176, 0.4907599091529846, -1.0523619651794434, 0.05249195918440819, 0.05815339833498001, -0.5151126980781555, -0.8499487042427063, -0.02901652827858925, 0.20472411811351776, -0.21714960038661957, -0.8727807402610779, 0.5385406613349915, -0.1479102373123169, 0.16859374940395355, -0.3024354875087738, -0.21320103108882904, 0.011022265069186687, 0.7090208530426025, 0.1833452582359314, 0.9007833003997803, 0.7752299308776855, -0.7377674579620361, -0.00486895814538002, 0.05242959409952164, -0.21120797097682953, 0.8275496959686279, -0.2710014581680298, 0.22994741797447205, -0.139942929148674, -0.0779358372092247, -0.9417687654495239, -0.332876980304718, 0.11904636025428772, 0.0375215969979763, 0.23712144792079926, -0.21962031722068787, -0.6906887292861938, -0.035952698439359665, -0.49214208126068115, 0.4584331214427948, 0.14767447113990784, -0.49034520983695984, 0.51688551902771, 0.2593179941177368, -0.3767630457878113, -0.242265984416008, -0.655815601348877, -0.011691320687532425, -0.3795512914657593, -0.5195263028144836, 0.5440620183944702, -0.20414528250694275, 0.10849076509475708, -0.46096858382225037, -0.21289053559303284, -0.1159149780869484, 0.33880525827407837, 0.11847218871116638, -0.018506452441215515, -0.2564438581466675, -0.007266903296113014, 0.4499862790107727, 0.07197455316781998, -0.6071939468383789, -0.11147162318229675, 0.4114362597465515, 0.013079836033284664, -0.2056342363357544, -0.07291895896196365, 0.5237399935722351, 0.6278324723243713, -0.22957128286361694, 0.8097245097160339, 1.0142964124679565, -0.4706043004989624, -0.4558587968349457, -0.47123491764068604, -0.2711116075515747, -0.47096797823905945, 0.5161572694778442, -0.5667785406112671, -1.0735913515090942, 0.4276178181171417, -0.24894531071186066, -0.00478515075519681, 0.17464224994182587, 0.5515387058258057, -0.22381676733493805, 0.7743254899978638, 0.5897376537322998, -0.2356669306755066, 0.3985366225242615, 0.18113471567630768, 0.26474836468696594, -0.6769525408744812, 0.27662983536720276, -0.5194145441055298, -0.722690224647522, -0.4492098391056061, -0.4721480906009674, 0.6215531229972839, 0.29764026403427124, -0.0889962688088417, 0.37582725286483765, -0.1540941298007965, 0.26868948340415955, 0.7080292105674744, 0.25178003311157227, 0.14161834120750427, 0.3474860191345215, -0.05295277386903763, -0.16770364344120026, -0.975404679775238, -0.048582419753074646, 1.1053472757339478, 0.10180824995040894, 0.703895092010498, 0.10115637630224228, 0.854274332523346, 0.23292861878871918, 0.12559156119823456, -0.4503919184207916, 0.25639888644218445, -0.6606276035308838, -0.2384336143732071, -0.19983115792274475, -0.37793877720832825, -0.7204205393791199, 0.44500070810317993, -0.475923627614975, -1.0360485315322876, 0.3287145793437958, 0.2561764121055603, -0.7541977167129517, 0.12212837487459183, -0.8944364190101624, 1.0299646854400635, -0.5664550065994263, -0.5613595247268677, -0.11300458759069443, -0.34535446763038635, 0.24575309455394745, -0.4733467698097229, 0.5612083077430725, -0.28889206051826477, -0.09703166782855988, 0.812315821647644, -0.14244110882282257, 0.9497820734977722, -0.28678205609321594, -0.14021913707256317, -0.10025196522474289, 0.04840489476919174, 0.5265607833862305, 0.06017962843179703, -0.18118223547935486, 0.28237202763557434, 0.42651087045669556, -0.5122444033622742, -0.46667051315307617, 0.8877584934234619, -0.7324576377868652, -0.2604818642139435, -0.24309295415878296, -0.8176036477088928, -0.7625569105148315, 0.13113033771514893, 0.10887866467237473, 0.37037888169288635, 0.10045406967401505, 0.1866208016872406, 0.4157623052597046, -0.27032703161239624, 0.3804429769515991, 0.4557715356349945, 0.07836643606424332, -0.42591592669487, 1.4288352727890015, 0.02711617201566696, 0.18667398393154144, 0.5374289155006409, 0.1294749677181244, -0.18466468155384064, -0.739595890045166, -0.5772249698638916, 0.1354210078716278, -0.43513625860214233, -0.0959918200969696, -0.5396510362625122, 0.19332259893417358, -0.489094078540802, -0.11719752103090286, -0.4652159810066223, -0.34158089756965637, -0.4708080291748047, 0.35787898302078247, 0.3830047845840454, 0.1554855853319168, 0.14731702208518982, 0.447726845741272, -0.9195788502693176, 0.627662718296051, 0.10534672439098358, 0.3975267708301544, -0.21316125988960266, -0.6030046939849854, -0.4378493130207062, 0.08748287707567215, -0.17075222730636597, -0.727961540222168, 0.2762570381164551, 0.754667341709137, 0.6964120864868164, 0.1776190549135208, 0.1333315670490265, 0.9187928438186646, -0.4353419244289398, 0.6502544283866882, 0.010307029820978642, -0.8172630071640015, 0.42347604036331177, -0.4053407609462738, 0.4046631455421448, 0.8835428953170776, 0.20946143567562103, -0.45229828357696533, -0.2666415870189667, -0.22416803240776062, -0.8009536862373352, 0.8932070136070251, 0.09910199791193008, 0.10302548855543137, 0.45750293135643005, 0.2827572524547577, 0.5245479345321655, 0.42521369457244873, -0.5425258278846741, -0.20033492147922516, -0.2909733057022095, -0.4968716502189636, -0.4232120215892792, -0.0029849703423678875, -0.14217284321784973, -0.509624183177948, 0.6015287637710571, -0.5766221284866333, 0.07673461735248566, -0.12295062094926834, -0.5247277617454529, -0.10035166144371033, 0.5113809704780579, 0.8861128091812134, 0.5448193550109863, -0.013520674780011177, 0.1913367509841919, 0.350838303565979, -0.33272799849510193, 0.1345888078212738, 0.49339357018470764, 0.13174684345722198, -0.4747806489467621, 0.33522894978523254, 0.932242214679718, 0.8885471224784851, -0.8317655920982361, 0.21692493557929993, 0.26114535331726074, -0.533572793006897, 0.187033012509346, 0.5015349984169006, 0.12263857573270798, 0.25617706775665283, 0.5482955574989319, 0.300626277923584, -0.0424376018345356, -0.2117057591676712, 0.13738597929477692, 0.19347725808620453, -0.10225246846675873, -0.295211523771286, 0.6736149787902832, 0.20340196788311005, 0.03367367014288902, 0.06294500082731247, -0.21291972696781158, -0.2786307632923126, 0.27921655774116516, 0.36385029554367065, 0.5580375790596008, -0.22162966430187225, 0.36249977350234985, 0.06574399024248123, 0.25813379883766174, -0.13593895733356476, 0.35652339458465576, -0.12348385900259018, -0.7568818926811218, -0.5339171886444092, -0.9330083727836609, -0.27448147535324097, 0.4474911689758301, -0.24830418825149536, 0.1120620146393776, -0.22632873058319092, 0.22053587436676025, 0.05035490542650223, 0.015467558987438679, -0.7831958532333374, 0.06644026935100555, 0.20967571437358856, 0.6601349115371704, -0.9310526251792908, 1.0248321294784546, 0.8838025331497192, -0.014143905602395535, -0.448259562253952, 0.03022017329931259, -0.14290504157543182, -0.5874035358428955, 0.17013925313949585, -0.05550510436296463, 0.034678295254707336, 0.20288130640983582, -0.2016654908657074, -0.8818711042404175, 0.8477678298950195, 0.7418150305747986, -0.641357421875, 0.27434584498405457, 0.4526086151599884, 0.355604887008667, -0.3876611888408661, -0.09350354224443436, 0.5454821586608887, 0.6153219938278198, -0.11263847351074219, -1.1466726064682007, -0.09453880041837692, -0.11285827308893204, -0.06360212713479996, 0.07606925815343857, -0.5430980324745178, 0.8114898800849915, -0.0038250875659286976, 0.14425337314605713, -0.05578579008579254, 0.4357556104660034, 0.2763645052909851, 0.20849575102329254, 0.8481153845787048, 0.41256535053253174, 0.7590307593345642, 0.05750836431980133, 0.76817786693573, -0.4511428773403168, 0.2040344625711441, 1.1529431343078613, -0.5751441717147827, 0.9310086369514465, 0.5141861438751221, -0.32012346386909485, 0.24839907884597778, 0.815320611000061, 0.05781135335564613, 0.641277551651001, -0.2490430474281311, -0.09346456825733185, -0.686259388923645, 0.19364920258522034, -0.14153440296649933, 0.507289469242096, 0.4053327739238739, 0.016738560050725937, -0.4304238259792328, 0.4730682373046875, -0.2768327295780182, -0.08203751593828201, -0.38125675916671753, 0.5631034970283508, -0.038443904370069504, -0.6468934416770935, 0.8555707335472107, 0.16027462482452393, 0.9287867546081543, -0.4844101369380951, 0.12715838849544525, -0.03623530641198158, 0.08110565692186356, -0.22429637610912323, -0.32214024662971497, 0.059636279940605164, -0.17494317889213562, -0.1322266012430191, -0.18479126691818237, 0.8303022980690002, -0.749209463596344, -0.8703711032867432, 0.04398627579212189, 0.6880612373352051, -0.1269245594739914, -0.554151177406311, -0.9564862251281738, 0.13698209822177887, -0.0627269595861435, -0.011886068619787693, 0.7622054815292358, -0.05878911912441254, -0.024652043357491493, 0.46090269088745117, 0.6764541864395142, 0.1495039314031601, 0.027240287512540817, 0.1549598127603531, 0.6925992369651794, -0.3762751817703247, -0.7194722890853882, -0.40991416573524475, 0.5436276197433472, 0.2364429533481598, -0.17483752965927124, 0.48588064312934875, 0.552381694316864, 0.750666618347168, -0.31400054693222046, 1.000883936882019, 0.13213296234607697, 0.5753647089004517, -0.6134467124938965, 0.7232625484466553, -1.0452370643615723, -0.016424475237727165, -0.22090457379817963, -0.919847309589386, -0.14249677956104279, 0.4233096241950989, -0.3046320080757141, 0.2218967080116272, 0.614439070224762, 0.7093355655670166, -0.6588164567947388, -0.07443565130233765, 0.5831321477890015, 0.08355763554573059, -0.032612208276987076, 0.569161593914032, 0.30595117807388306, -0.20012640953063965, 0.2714570462703705, -0.6961557865142822, -0.2972623109817505, -0.35126882791519165, -0.8148089647293091, -0.8933495879173279, -0.6032277941703796, -0.5018820762634277, 0.1336597204208374, 0.06413087993860245, 0.8602193593978882, 1.0857561826705933, -1.1676920652389526, -0.19252422451972961, 0.17588941752910614, 0.008524577133357525, -0.6815445423126221, -0.22600549459457397, 0.20693711936473846, -0.4596574902534485, -0.889957845211029, 0.8296244144439697, 0.3285687267780304, -0.2001345008611679, -0.13767001032829285, -0.05323018506169319, -0.1334874927997589, -0.2686176002025604, 0.6952577233314514, 0.18311364948749542, -0.5997509360313416, -0.4320782721042633, -0.04385094717144966, 0.3656683564186096, 0.23066972196102142, 0.8458587527275085, -0.6695563793182373, 0.22743941843509674, 0.3157965838909149, 0.5820997357368469, 0.5018792152404785, -0.04378660395741463, 0.4121737778186798, -1.1046040058135986, 0.41283145546913147, -0.00046476622810587287, 0.33951520919799805, 0.363450288772583, -0.3782504200935364, 0.12421618402004242, 0.3676058351993561, -0.20705687999725342, -0.8490539193153381, -0.06919935345649719, -1.1863535642623901, -0.3423781991004944, 1.0418550968170166, 0.1313914805650711, -0.24108359217643738, -0.25713789463043213, -0.1827334463596344, -0.12103629857301712, -0.4709877669811249, 0.5034313797950745, 0.6110407114028931, -0.3679756820201874, -0.4641731381416321, -0.6329012513160706, 0.3890141248703003, 0.407219797372818, -0.971879243850708, -0.017414050176739693, 0.15071959793567657, 0.5753307938575745, -0.0687720850110054, 0.41111013293266296, 0.3863064646720886, 0.16735988855361938, -0.2151426523923874, -0.19054622948169708, -0.16071192920207977, -0.3639703691005707, -0.12050262093544006, 0.3772883117198944, 0.18472209572792053, -0.07987011224031448 ]
http://arxiv.org/abs/2402.17930v1
http://arxiv.org/pdf/2402.17930v1
Pragmatic Instruction Following and Goal Assistance via Cooperative Language-Guided Inverse Planning
2024-02-27T23:06:53
2024-02-27T23:06:53
Tan Zhi-Xuan, Lance Ying, Vikash Mansinghka, Joshua B. Tenenbaum
cs.AI
cs.AI, cs.CL, cs.LG
People often give instructions whose meaning is ambiguous without further context, expecting that their actions or goals will disambiguate their intentions. How can we build assistive agents that follow such instructions in a flexible, context-sensitive manner? This paper introduces cooperative language-guided inverse plan search (CLIPS), a Bayesian agent architecture for pragmatic instruction following and goal assistance. Our agent assists a human by modeling them as a cooperative planner who communicates joint plans to the assistant, then performs multimodal Bayesian inference over the human's goal from actions and language, using large language models (LLMs) to evaluate the likelihood of an instruction given a hypothesized plan. Given this posterior, our assistant acts to minimize expected goal achievement cost, enabling it to pragmatically follow ambiguous instructions and provide effective assistance even when uncertain about the goal. We evaluate these capabilities in two cooperative planning domains (Doors, Keys & Gems and VirtualHome), finding that CLIPS significantly outperforms GPT-4V, LLM-based literal instruction following and unimodal inverse planning in both accuracy and helpfulness, while closely matching the inferences and assistive judgments provided by human raters.
[ -0.2020169496536255, -0.8527576923370361, 0.7550249695777893, 0.3624063730239868, 0.11216525733470917, 0.20874477922916412, -0.2276691347360611, 0.11796098947525024, 0.19704945385456085, 0.3865475356578827, -1.0818010568618774, -0.6947530508041382, -0.45983946323394775, -0.1665552705526352, 0.3275362551212311, 0.5263825058937073, -0.3044325113296509, 0.08307795226573944, 0.09416134655475616, 0.2143331915140152, -0.7347163558006287, -0.32414478063583374, -0.5674414038658142, -0.2857655882835388, 0.36545443534851074, 0.7668535709381104, 1.1064304113388062, 0.3826847970485687, 0.2743090093135834, 0.34554851055145264, 0.30213844776153564, 0.2875303328037262, -0.26181405782699585, 0.07963637262582779, -0.32905712723731995, -0.3207338750362396, -0.7067442536354065, -0.04614732787013054, 0.48411643505096436, 0.6668208241462708, -0.3838706910610199, -0.22631686925888062, 0.03191164508461952, 0.5137344598770142, -0.6703284382820129, 0.4826315641403198, -0.3681389093399048, -0.04609355702996254, 0.5137203931808472, -0.008065331727266312, -0.06044917181134224, -0.2595382034778595, 0.2387564480304718, -0.8267815113067627, 0.21534422039985657, -0.13399751484394073, 0.42164963483810425, 0.12953175604343414, 0.04416453465819359, -0.37460005283355713, -0.5247258543968201, 0.6642333269119263, -0.39269858598709106, 0.28095999360084534, 0.7711188197135925, 0.36001139879226685, -0.67939293384552, -0.45619311928749084, -0.5664269924163818, -0.2001400589942932, -0.10663206875324249, 0.2542327046394348, -0.34913352131843567, 0.5334686040878296, 0.1442689746618271, -0.3471630811691284, -0.6911650896072388, -0.13683746755123138, -0.08920948952436447, -0.22938869893550873, 0.6212821006774902, 0.0082451356574893, 0.22088047862052917, 0.0995042473077774, -0.5259495973587036, -0.32963332533836365, -0.46915799379348755, 0.20781350135803223, 0.3348653018474579, 0.16038252413272858, 0.03878100961446762, 0.6139256954193115, -0.48744282126426697, 0.8571549654006958, -0.018513811752200127, -0.018572654575109482, -0.08748582750558853, -0.30698761343955994, -0.11223607510328293, 0.06011918932199478, 0.3231922388076782, 0.4475254416465759, 0.20317083597183228, -0.41688698530197144, -0.26974937319755554, 0.11646202951669693, 0.23972652852535248, -0.39169415831565857, -0.41997164487838745, 0.01736464537680149, -0.1930752843618393, 0.4162483215332031, 0.12597160041332245, -0.5438429117202759, -0.05911482498049736, -0.5828147530555725, 0.7869991064071655, -0.6362096071243286, 0.005895362701267004, 0.4013005495071411, -0.3263276517391205, 0.3956853449344635, 0.4173644781112671, -0.5646058917045593, 0.4765127897262573, 0.8766441941261292, 0.714156985282898, 0.29013603925704956, -0.5870834589004517, -0.887764036655426, 0.4724833369255066, -0.1261834353208542, 0.8403264880180359, -0.835593581199646, -0.5668507814407349, -0.02973164990544319, 0.11204990744590759, -0.23759713768959045, -0.09340295195579529, 0.4911496639251709, -0.3017892837524414, 0.12687645852565765, -0.4022398293018341, -0.2959391176700592, -0.5646324157714844, 0.2877604365348816, -0.28912249207496643, 0.406825989484787, 0.13805952668190002, -0.25896334648132324, 0.20597894489765167, -0.31769561767578125, -0.3066183924674988, 0.1250365525484085, -0.4143296778202057, -0.3078804910182953, -0.18641935288906097, 0.3075177073478699, 0.46771055459976196, -0.1449848711490631, 0.31504368782043457, -0.21733227372169495, -0.629992663860321, -0.05149638652801514, -0.4238068759441376, 0.4820496439933777, -0.3946799635887146, -0.5068123936653137, 0.41566529870033264, -0.5994676351547241, 0.04322340339422226, -0.004482686519622803, 0.017748938873410225, -0.5147526264190674, 0.22747160494327545, -0.4699324369430542, 0.062420494854450226, 0.3915756344795227, -0.3144650459289551, 0.4119482636451721, -0.13039027154445648, -0.05963928997516632, 0.8443460464477539, 0.11131346970796585, 0.7372564077377319, -0.537181556224823, 0.8185207843780518, -0.4578840732574463, 0.2951802909374237, -0.07717255502939224, -0.8651517629623413, -0.12276676297187805, -0.4590654969215393, -0.3020267188549042, 0.569817066192627, -0.6578026413917542, 0.4807543158531189, 0.08991220593452454, -0.3522469997406006, -0.5232729315757751, 0.024366501718759537, 0.6238936185836792, 0.5882811546325684, 0.34529051184654236, -0.23517584800720215, -0.3318323493003845, -0.9411223530769348, -0.22478899359703064, -0.2904855012893677, -0.18558882176876068, 0.10459195077419281, 0.22581683099269867, -0.15853562951087952, 1.0199151039123535, -0.708259105682373, -0.40894582867622375, -0.11630039662122726, 0.2966185212135315, 0.15450070798397064, 0.37703120708465576, 0.28331291675567627, -1.07658851146698, -0.5670543313026428, -0.07954572886228561, -0.1857222467660904, -0.2782633900642395, -0.2023215889930725, -0.2936449944972992, -0.23810814321041107, -0.07556045800447464, -0.5415902733802795, 0.7087695002555847, 0.43196573853492737, -0.3560000956058502, 0.7216570973396301, -0.5236183404922485, 0.1239129975438118, -0.7392532825469971, -0.0557926669716835, -0.13134163618087769, -0.1475275456905365, -0.5306875109672546, -0.13833928108215332, -0.05160454660654068, 0.10126853734254837, -0.02872643619775772, 0.4550500214099884, -0.7326821088790894, -0.2741040289402008, -0.41644588112831116, 0.33721354603767395, 0.023915711790323257, 0.8879885077476501, 0.6060434579849243, 1.0214881896972656, 0.6568496823310852, -0.45029592514038086, 0.3115634322166443, 0.4848266839981079, 0.12803199887275696, 0.5302438139915466, -0.5940797924995422, 0.05696405842900276, -0.26055610179901123, 0.31220224499702454, -0.9775477647781372, -0.26298248767852783, 0.7112088203430176, -0.4718398451805115, 0.18562397360801697, -0.3353038430213928, -0.2088436633348465, -0.15412792563438416, -0.45492973923683167, 0.012211645022034645, 0.3765365779399872, -0.40647315979003906, 0.5622466802597046, 0.2889118194580078, -0.20088186860084534, -0.8584545254707336, -0.4909800887107849, -0.30390453338623047, 0.09642276912927628, -0.5450854897499084, 0.6555759310722351, -0.04625073820352554, -0.2402777373790741, 0.16898825764656067, -0.27878326177597046, -0.20980051159858704, -0.023422447964549065, 0.5734383463859558, 0.34281125664711, -0.0006018129060976207, -0.03309403359889984, 0.24096786975860596, 0.06314271688461304, 0.12888363003730774, -0.12765859067440033, 0.43981969356536865, -0.11471075564622879, -0.526521623134613, -0.2898770570755005, 0.6261252760887146, 0.013363434001803398, -0.13765501976013184, 0.673235297203064, 0.4488849937915802, -0.07617471367120743, -0.2119467705488205, -0.3522416651248932, -0.1346254050731659, -0.4711860716342926, 0.23066680133342743, -0.48639750480651855, -0.54371577501297, 0.4911353886127472, -0.0362989641726017, 0.08875377476215363, -0.284732848405838, 0.308065265417099, 0.04503316059708595, 1.1981867551803589, 0.6738566756248474, 0.21603262424468994, 0.640359103679657, -0.32131072878837585, 0.019381916150450706, -0.8240401148796082, -0.32517480850219727, -0.29966071248054504, -0.3523893654346466, -0.4169182777404785, -0.6485022902488708, 0.4882020056247711, 0.3711322844028473, -0.020406944677233696, 0.8414708375930786, -0.6621193885803223, 0.28192007541656494, 0.6727628707885742, 0.3107210099697113, 0.1271832436323166, -0.19581696391105652, -0.09333562105894089, 0.17752373218536377, -0.9263619780540466, -0.6528158783912659, 0.6446020007133484, 0.15263931453227997, 0.8668427467346191, 0.16236217319965363, 0.6800069808959961, 0.04118992015719414, 0.29825904965400696, -0.9617134928703308, 0.6469402313232422, 0.2908923029899597, -0.2463250756263733, -0.2923138439655304, -0.20840077102184296, -0.9533188939094543, 0.4174146056175232, -0.05268670246005058, -0.8527342081069946, 0.4162460267543793, 0.2759081721305847, -0.2610272765159607, 0.007336195092648268, -0.941239595413208, 0.9320166707038879, -0.23712831735610962, -0.7070027589797974, -0.4231698513031006, -0.82391756772995, 0.006523014511913061, 0.15485677123069763, 0.13454793393611908, -0.20279131829738617, -0.4939790368080139, 0.406218558549881, -0.22500820457935333, 0.9201489686965942, -0.42056846618652344, 0.1330213099718094, 0.42723461985588074, 0.2669841945171356, 0.7218957543373108, 0.043891359120607376, -0.013730055652558804, -0.2790352404117584, -0.15386806428432465, -0.4850548207759857, -0.8080539107322693, 0.6771984100341797, -0.5196861624717712, -1.0283323526382446, -0.20169097185134888, -0.6075833439826965, -0.35480934381484985, 0.19401687383651733, -0.05519331619143486, 0.3193766176700592, -0.3072185218334198, -0.34077468514442444, 0.34338894486427307, -0.11417106539011002, 0.47736817598342896, 0.8254476189613342, 0.13005325198173523, -0.15137726068496704, 0.713001549243927, -0.11742012202739716, 0.11333765834569931, 0.6799021363258362, 0.2813061475753784, -0.41299596428871155, -0.40346434712409973, -0.2484147995710373, 0.2687202990055084, -0.5539027452468872, -0.2337808758020401, -0.3550545573234558, 0.08389505743980408, -0.4223441183567047, -0.5820968747138977, -0.023807257413864136, -0.32032522559165955, -0.17847000062465668, 0.07373213768005371, 0.0656813234090805, 0.3963412344455719, -0.3349341154098511, 0.5828761458396912, -0.8700041174888611, 0.2189716249704361, 0.45046165585517883, 0.059502750635147095, -0.19742073118686676, -0.14914678037166595, 0.19618858397006989, 0.38158854842185974, -0.44324129819869995, -1.2539992332458496, 0.371600478887558, 0.06222133710980415, 0.8930258750915527, 0.2557535767555237, 0.2896486818790436, 0.8277838230133057, -0.5007094144821167, 0.4709075391292572, 0.14976701140403748, -0.6116698384284973, 0.5628257989883423, -0.2435375303030014, 0.3161677122116089, 0.402535617351532, 0.6940829157829285, -0.18333514034748077, -0.1841091811656952, -0.5487819910049438, -0.5214142799377441, 0.7976232171058655, 0.22975914180278778, -0.12890742719173431, 0.007919262163341045, 0.1797911524772644, 0.12845247983932495, 0.2310747355222702, -0.346398264169693, 0.15096957981586456, -0.047072235494852066, -0.16866691410541534, 0.17666250467300415, 0.08097828924655914, -0.23028700053691864, 0.07195800542831421, 0.48345860838890076, -0.3342728316783905, 0.48340678215026855, 0.5158745050430298, 0.07666486501693726, -0.08498218655586243, 0.28491541743278503, 0.7090170979499817, 0.7194024920463562, -0.2490377426147461, 0.024152178317308426, -0.005669290665537119, -0.3393266201019287, -0.002225486095994711, 0.36672186851501465, 0.13420304656028748, -0.03947427496314049, 0.3084242343902588, 0.6627582907676697, 0.4642731249332428, -0.9903424978256226, 0.7325685620307922, -0.10438237339258194, 0.035506751388311386, -0.5230363011360168, 0.2986004054546356, -0.05538685992360115, 0.45117831230163574, 0.28429651260375977, 0.14746136963367462, 0.22090189158916473, -0.6523290276527405, 0.3207327723503113, 0.7106695771217346, -0.3304072618484497, -0.6040025353431702, 0.2857710123062134, -0.03746059536933899, -0.7071924805641174, 0.2693924605846405, -0.36690977215766907, -0.7360450625419617, 0.5208858847618103, 0.514728844165802, 0.8008751273155212, -0.2824399471282959, 0.6844030618667603, 0.11132931709289551, 0.17010074853897095, -0.14693494141101837, 0.4209129512310028, -0.7193928360939026, -0.5940572023391724, -0.37190815806388855, -0.1671254187822342, -0.6150115132331848, -0.6183463335037231, -0.470363974571228, 0.28763213753700256, -0.22936978936195374, -0.009448339231312275, -0.21664002537727356, -0.0332067646086216, -0.59577476978302, -0.14582455158233643, -0.27222010493278503, 0.7778933048248291, -0.5001371502876282, 0.8976230621337891, 1.064133644104004, -0.4559200704097748, -0.8994662761688232, 0.22360184788703918, 0.04517805948853493, -1.0862125158309937, 0.4999999403953552, -0.005303879734128714, -0.6539195775985718, -0.09092260897159576, -0.5256134867668152, -0.5293368697166443, 1.2078168392181396, 0.23717190325260162, -0.6476644277572632, -0.6895172595977783, -0.31314367055892944, 0.42460235953330994, -0.2851748764514923, 0.18234725296497345, 0.3447939157485962, 0.4694640338420868, 0.4560607671737671, -0.6687446236610413, 0.0015799123793840408, 0.32805630564689636, -0.2890629768371582, 0.3083667755126953, -0.6557210087776184, 0.49187907576560974, -0.4250076413154602, -0.24794907867908478, 0.24568629264831543, 0.4321981370449066, 0.37681829929351807, 0.5526993870735168, 0.3311408460140228, 0.00444515235722065, 0.4472943842411041, 0.31641384959220886, 0.8952348232269287, -0.1322983354330063, -0.02693207748234272, 1.3566362857818604, -0.21881066262722015, 0.8124234080314636, 0.4552387297153473, 0.07306118309497833, 0.5557720065116882, 0.147200345993042, 0.2297353893518448, 0.7150605320930481, -0.06036851927638054, -0.37134209275245667, -0.1286735087633133, -0.03395034372806549, 0.11670071631669998, 0.3464198112487793, 0.636894702911377, -0.13887180387973785, -0.32461318373680115, -0.13767942786216736, -0.12086817622184753, 0.4700755774974823, -0.3123226463794708, 0.70392906665802, -0.0886089876294136, -1.0262908935546875, 0.2439410388469696, 0.10409075021743774, 0.36529698967933655, -0.8211566805839539, -0.5123212337493896, 0.030403582379221916, 0.12644802033901215, -0.07799692451953888, -1.0012656450271606, 0.3143910765647888, -0.20820391178131104, 0.14851926267147064, -0.22282937169075012, 0.8603004217147827, -0.5588729381561279, 0.12215771526098251, 0.3530365526676178, 0.3688316345214844, -0.0584319606423378, -0.18495550751686096, -0.8803809285163879, -0.10110367834568024, -0.13204708695411682, -0.07951260358095169, 0.24719621241092682, 0.32138994336128235, -0.20108608901500702, 0.6528981328010559, 0.36182892322540283, 0.17792661488056183, -0.005121967755258083, -0.3916543126106262, 0.9368282556533813, -0.42274248600006104, -0.43179479241371155, -0.4361784756183624, 0.3555910587310791, -0.12627030909061432, -0.08613096177577972, 0.6093993782997131, 0.24380026757717133, 0.8982309699058533, -0.04831494763493538, 0.3478848934173584, -0.05746690183877945, 0.22040970623493195, -0.43889424204826355, 0.18869127333164215, -0.2137630581855774, 0.29526782035827637, -0.1651231050491333, -1.070425033569336, -0.17248426377773285, 1.0418211221694946, -0.7362738251686096, -0.13820905983448029, 0.3249916136264801, 1.05518639087677, -0.14703811705112457, -0.05153028666973114, 0.4403224587440491, -0.2942450940608978, 0.23609089851379395, 0.8457013964653015, 0.8417263031005859, 0.00625935522839427, 0.4880303740501404, -0.3826333284378052, -0.6115221381187439, -0.017553463578224182, -0.49806642532348633, -0.8251122236251831, -0.6395154595375061, -0.25616011023521423, 0.08764408528804779, 0.3039291799068451, 1.2775018215179443, 0.6786959767341614, -0.3931947350502014, -0.34745174646377563, -0.5150496363639832, 0.44331255555152893, -0.6389139294624329, -0.23324017226696014, 0.3693418502807617, -0.1630367487668991, -0.6356103420257568, 0.7077537775039673, 0.22538921236991882, -0.07574323564767838, -0.2268981784582138, -0.29644060134887695, -0.33973491191864014, -0.003010343760251999, 0.31178033351898193, 0.522211492061615, -0.7465589642524719, -0.3814365863800049, 0.06119868904352188, -0.07082825154066086, -0.07647599279880524, 0.930088222026825, -0.8109581470489502, 0.6971039175987244, 0.49984294176101685, 0.5189208984375, 0.2543705403804779, 0.3174716830253601, 0.9108527302742004, -0.7331739664077759, 0.16512295603752136, 0.45262864232063293, -0.014825144782662392, 0.10845544189214706, -0.3895713686943054, 0.4302557110786438, -0.04084707051515579, -0.5905681252479553, -0.38893064856529236, 0.3245541453361511, -0.984230637550354, -0.4450110197067261, 1.0616925954818726, -0.5837711691856384, -0.39412349462509155, -0.09151926636695862, -0.9294823408126831, 0.31738317012786865, -0.6649819016456604, 0.6121091246604919, 0.3658234477043152, -0.6351290941238403, -0.3037901520729065, -0.1416219025850296, 0.5016571283340454, 0.37857455015182495, -0.36262616515159607, -0.017233017832040787, 0.7885057926177979, -0.037027567625045776, 0.0479353666305542, 0.6490358114242554, 0.26146644353866577, 0.514825165271759, 0.06605273485183716, -0.19576020538806915, -0.19224952161312103, -0.4221612513065338, -0.2577245831489563, 0.09066446125507355, 0.007937951944768429, -0.6063495874404907 ]
http://arxiv.org/abs/2402.17916v3
http://arxiv.org/pdf/2402.17916v3
Adversarial Math Word Problem Generation
2024-02-27T22:07:52
2024-06-15T22:36:20
Roy Xie, Chengxuan Huang, Junlin Wang, Bhuwan Dhingra
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have significantly transformed the educational landscape. As current plagiarism detection tools struggle to keep pace with LLMs' rapid advancements, the educational community faces the challenge of assessing students' true problem-solving abilities in the presence of LLMs. In this work, we explore a new paradigm for ensuring fair evaluation -- generating adversarial examples which preserve the structure and difficulty of the original questions aimed for assessment, but are unsolvable by LLMs. Focusing on the domain of math word problems, we leverage abstract syntax trees to structurally generate adversarial examples that cause LLMs to produce incorrect answers by simply editing the numeric values in the problems. We conduct experiments on various open- and closed-source LLMs, quantitatively and qualitatively demonstrating that our method significantly degrades their math problem-solving ability. We identify shared vulnerabilities among LLMs and propose a cost-effective approach to attack high-cost models. Additionally, we conduct automatic analysis to investigate the cause of failure, providing further insights into the limitations of LLMs.
[ -0.13478150963783264, -1.226406455039978, 0.6808790564537048, 0.13300172984600067, 0.060793302953243256, 0.258919358253479, -0.06563887745141983, -0.011031299829483032, -0.23137907683849335, 0.5889261960983276, -0.49237751960754395, -0.28829485177993774, -0.8171921372413635, 0.01662624627351761, -0.6144402623176575, 1.0085957050323486, -0.2891058027744293, 0.09224225580692291, -0.6211679577827454, -0.19226354360580444, -0.333317369222641, -0.7585979104042053, -0.663040280342102, -0.2952733337879181, 0.2047271728515625, 0.14640940725803375, 1.1015844345092773, 0.4683707058429718, 0.7586280703544617, 0.4004894495010376, -0.21059545874595642, 0.007570481859147549, -0.6340911984443665, 0.19051456451416016, -0.03167208284139633, -0.6207892298698425, -0.3381265699863434, 0.17857658863067627, 0.4383772611618042, 0.8673056364059448, -0.3147641122341156, 0.14958852529525757, -0.03871629014611244, 0.6483413577079773, -0.598569929599762, 0.07189442962408066, -1.1623926162719727, 0.22721774876117706, -0.2735671103000641, -0.0888204276561737, -0.39430397748947144, -0.5684193968772888, -0.1039731502532959, -0.5763911008834839, 0.20457935333251953, -0.41417959332466125, 0.6961686015129089, 0.2909505069255829, -0.0679030641913414, -0.6945511698722839, -0.4288097321987152, 0.6924911141395569, -0.458661288022995, -0.20367127656936646, 0.15532442927360535, 0.43856412172317505, -0.6403974890708923, -0.5298710465431213, -0.6158050298690796, -0.12542487680912018, 0.2800934910774231, 0.02862233854830265, -0.5569776892662048, -0.18623603880405426, 0.29100924730300903, 0.3787134289741516, -0.5487670302391052, 0.0312538743019104, -0.40831995010375977, -0.11324210464954376, 0.6242457032203674, 0.43333661556243896, 0.4953935742378235, -0.148912712931633, -0.08672960847616196, -0.18198561668395996, -0.9261687397956848, -0.1965152770280838, 0.6739317774772644, 0.09547310322523117, 0.27298709750175476, 0.7865330576896667, 0.4050275385379791, 0.4441353678703308, -0.40225663781166077, 0.08825396746397018, 0.0501924566924572, 0.06482294946908951, -0.30461061000823975, -0.1846168488264084, 0.7399159073829651, 0.13282592594623566, 0.4716809093952179, -0.15594133734703064, -0.42992615699768066, 0.5245857834815979, 0.14535392820835114, -0.6382744312286377, -0.17338012158870697, 0.0842820256948471, -0.10389097779989243, -0.7644989490509033, -0.3010963499546051, -0.7083385586738586, -0.6348565220832825, -0.12213163822889328, 0.7977783679962158, -0.2975691258907318, -0.03789225593209267, 0.2273111492395401, -0.1650051325559616, -0.25890272855758667, 0.2779856324195862, -0.2588755190372467, 0.2802864611148834, 0.6944998502731323, 0.6028851866722107, 0.025890694931149483, -0.3211597800254822, -0.5865492820739746, -0.24488160014152527, -0.40242552757263184, 0.2800997197628021, -0.3806298077106476, -0.6038195490837097, -0.05194087326526642, -0.29415565729141235, 0.18535949289798737, -0.7475860118865967, 0.35187438130378723, -0.6091693639755249, 0.4000350534915924, -0.05913916975259781, -0.4334721267223358, 0.04473840817809105, 0.44993042945861816, -0.5607584118843079, 0.7059144377708435, 0.23602189123630524, -0.7615718841552734, -0.2676451802253723, -0.6953809857368469, -0.21970097720623016, 0.20392689108848572, -0.32404956221580505, -0.7438302040100098, 0.24923305213451385, 0.16672222316265106, 0.173256516456604, -0.3284633755683899, 0.47213441133499146, -0.3840652108192444, -0.23348018527030945, 0.5140732526779175, -0.804698646068573, 1.1042877435684204, 0.16761063039302826, -0.36677953600883484, 0.06730885803699493, -0.6692708134651184, 0.044608622789382935, 0.9995225071907043, -0.22261685132980347, -0.36941778659820557, -0.045134346932172775, -0.38997864723205566, 0.13168072700500488, 0.2666682004928589, -0.37861260771751404, -0.02180800959467888, -0.5282260179519653, 0.33010584115982056, 1.1443085670471191, -0.14208830893039703, 0.010236100293695927, -0.44765371084213257, 0.8476974964141846, -0.08651494234800339, 0.19926300644874573, -0.029847946017980576, -0.4023512601852417, -0.6585904359817505, -0.002550813602283597, 0.22354629635810852, 0.5177148580551147, -1.0228323936462402, 0.05897103622555733, -0.29905709624290466, -0.4971069097518921, -0.5718477368354797, 0.36840006709098816, 0.6884808540344238, 0.4625079929828644, 0.27511066198349, -0.003054582281038165, -0.19557346403598785, -0.7196228504180908, -0.49553701281547546, 0.01587849296629429, -0.11166378855705261, 0.46073266863822937, 0.7044072151184082, -0.06778531521558762, 0.7331950664520264, -0.7111941576004028, -0.2265857309103012, -0.11000241339206696, 0.13590268790721893, -0.058953821659088135, 0.17252132296562195, 0.49483373761177063, -0.7070043683052063, -0.1779627799987793, -0.546687126159668, -0.7676990628242493, -0.3472137749195099, 0.04933910816907883, -0.031277112662792206, 0.11986648291349411, 0.379676878452301, -0.48723623156547546, 0.40681350231170654, 0.5523873567581177, -0.4127492904663086, 0.6535622477531433, -0.15735644102096558, -0.19939671456813812, -0.9445525407791138, -0.1784653514623642, -0.07638236880302429, 0.06502402573823929, -0.16708028316497803, 0.6944563984870911, -0.18841633200645447, -0.571897029876709, -0.47814416885375977, 0.3216034770011902, -0.28071731328964233, -0.06335166096687317, -0.17129044234752655, 0.4605121612548828, 0.12582366168498993, 0.37100210785865784, -0.6214715242385864, 0.7495406270027161, 0.34725522994995117, -0.2754272520542145, 0.6364558935165405, 0.12372305989265442, -0.16664470732212067, 0.4740079641342163, -0.8012370467185974, 0.20698019862174988, -0.28831905126571655, 0.13518734276294708, -0.7317960262298584, 0.10283099114894867, 0.07766199111938477, -0.6271626949310303, 0.06477236747741699, -0.051944632083177567, -0.6137189865112305, -0.34309816360473633, -0.559988796710968, 0.3919491767883301, 0.5235682725906372, -0.7309901714324951, 0.37956544756889343, 0.40606433153152466, -0.20859120786190033, -0.5799838900566101, -0.625939667224884, 0.2615392208099365, -0.19016803801059723, -0.7594496011734009, 0.11322633922100067, -0.23073942959308624, -0.6339293122291565, 0.30432796478271484, -0.029519611969590187, 0.04830067977309227, 0.591283917427063, 0.13046270608901978, 0.42532575130462646, -0.1313236653804779, 0.02084738202393055, -0.2344159185886383, 0.116621233522892, 0.48439040780067444, -0.05741391330957413, 0.41810542345046997, -0.26813897490501404, -0.6431607604026794, 0.16115246713161469, 0.4353786110877991, 0.8245102763175964, -0.39211148023605347, 0.4378426671028137, 0.11213178187608719, -0.6681596636772156, -0.508899986743927, -0.2823985517024994, 0.06791975349187851, -0.5399070978164673, 0.6667439341545105, -0.3487146198749542, -0.7114157676696777, 0.35474681854248047, 0.020780058577656746, 0.18432961404323578, 0.3686620891094208, 0.5340316891670227, 0.3206489086151123, 1.0294005870819092, 0.13875994086265564, 0.15208211541175842, 0.0050282469019293785, -0.35990479588508606, 0.16901405155658722, -0.5358471870422363, -0.29953205585479736, -0.5016048550605774, -0.18069685995578766, -0.3151736557483673, -0.5919986367225647, 0.6036128997802734, 0.16773344576358795, -0.15430207550525665, 0.17672885954380035, -0.5312408208847046, 0.7375056743621826, 0.3698785901069641, 0.011033532209694386, 0.2296077013015747, 0.222940593957901, -0.2958493232727051, -0.11688809841871262, -0.48498106002807617, -0.5239331126213074, 1.3172281980514526, 0.3526095747947693, 0.6984267234802246, 0.35561904311180115, 0.5735859274864197, 0.20451222360134125, 0.5810105204582214, -0.7628748416900635, 0.7405454516410828, -0.3460500240325928, -0.636853039264679, -0.34241652488708496, -0.8864173293113708, -1.0311143398284912, 0.44777849316596985, -0.16368211805820465, -0.3868616819381714, -0.4651913642883301, -0.06772690266370773, -0.06962040811777115, 0.47862112522125244, -0.5999243259429932, 0.811712384223938, -0.39202597737312317, -0.3302120864391327, -0.06443838775157928, -0.08327537775039673, 0.5293139219284058, -0.3420690596103668, 0.48321497440338135, -0.003733275691047311, 0.26046454906463623, 0.6939352750778198, -0.636857807636261, 0.6200791597366333, -0.19218549132347107, -0.3294784128665924, 0.49228590726852417, 0.6493625640869141, 0.566326379776001, 0.04930737987160683, -0.06947846710681915, 0.01015052106231451, -0.2127048224210739, -0.4388962984085083, -0.8618599772453308, 0.9289102554321289, -0.7707710266113281, -0.9613417983055115, -0.5171315670013428, -0.6766761541366577, -0.2880175709724426, 0.03958970308303833, 0.001908151083625853, 0.5092611908912659, -0.1654554307460785, 0.04922828823328018, 0.5717971920967102, -0.4288164973258972, 0.2793041467666626, 0.48135411739349365, -0.301503449678421, -0.45069965720176697, 1.2294578552246094, 0.1287742257118225, 0.32614701986312866, -0.19388814270496368, 0.4175606966018677, -0.19769227504730225, -0.6952734589576721, -0.3109998404979706, 0.027883261442184448, -0.9090394377708435, -0.3619701862335205, -0.29433563351631165, -0.3616749942302704, -0.26470157504081726, -0.24260011315345764, -0.22757212817668915, -0.5035009384155273, -0.28988319635391235, 0.001125067356042564, 0.17521071434020996, 0.7722510695457458, 0.11401084810495377, 0.12477701157331467, -0.6192529797554016, 0.3051375448703766, 0.5900624990463257, 0.1384735405445099, 0.034659288823604584, -0.46035128831863403, 0.24723878502845764, 0.07755041867494583, -0.7451731562614441, -0.7324743270874023, 0.30053389072418213, -0.17559511959552765, 0.3354254961013794, -0.023328673094511032, 0.0014789672568440437, 0.5240391492843628, -0.5721440315246582, 0.6843720078468323, 0.35940811038017273, -1.0991497039794922, 0.42191386222839355, -0.16911464929580688, 0.10166547447443008, 0.234029158949852, 0.21879567205905914, -0.26517581939697266, -0.7100991606712341, -0.8102993369102478, -0.8292067050933838, 0.41515928506851196, 0.4734179973602295, 0.28695496916770935, -0.12130165845155716, 0.42667824029922485, -0.1594410538673401, 0.09730464220046997, -0.8064941763877869, -0.2479444295167923, -0.15803074836730957, -0.39735472202301025, 0.02170371264219284, -0.18173334002494812, -0.4364408254623413, -0.007486800663173199, 0.5572945475578308, 0.009164506569504738, -0.21260589361190796, 0.06552901118993759, -0.13477203249931335, -0.26703208684921265, 0.4616880416870117, 0.5038548111915588, 0.6289172768592834, 0.14728133380413055, 0.270982950925827, 0.23421883583068848, -0.24637524783611298, 0.19143657386302948, 0.17545649409294128, -0.21259158849716187, -0.08313212543725967, 0.347459077835083, 0.4556829631328583, -0.08139870315790176, -0.8873452544212341, 0.8795815706253052, -0.1656835973262787, -0.44274234771728516, -0.5692053437232971, 0.030818304046988487, 0.10750662535429001, -0.007220964413136244, 0.3300515115261078, 0.08819858729839325, -0.04226766154170036, -0.5524946451187134, 0.1748814880847931, 0.8481576442718506, -0.08722883462905884, -0.20741166174411774, 0.5699430704116821, 0.14553013443946838, -0.611160397529602, 0.5399690866470337, -0.2752281427383423, -0.9753600358963013, 0.8532446026802063, 0.6657695770263672, 0.6840527057647705, -0.1803990602493286, 0.15821225941181183, -0.02663823403418064, 0.4119865596294403, 0.12313421815633774, 0.2264728844165802, 0.427421510219574, -0.6126144528388977, -0.1918504685163498, -0.5393173694610596, -0.48336344957351685, 0.5688512325286865, -0.3985801935195923, 0.2149437963962555, -0.6766986846923828, 0.022750912234187126, 0.06652409583330154, -0.03035775013267994, -0.3347216248512268, 0.19585120677947998, 0.23747920989990234, 0.5614644289016724, -0.6645225882530212, 0.25965678691864014, 0.6422014236450195, -0.1984676867723465, -0.6382015943527222, -0.2035185694694519, 0.12071847170591354, -1.0080633163452148, 0.6911414861679077, -0.07456512749195099, -0.11920955777168274, -0.18659141659736633, -0.5675410032272339, -0.4395780563354492, 0.8363014459609985, 0.756088376045227, -0.4473463296890259, -0.2397381216287613, 0.35958877205848694, 0.44573843479156494, 0.07052873075008392, 0.000060588754422497004, 0.346269428730011, 0.27876609563827515, 0.08229411393404007, -0.7100686430931091, 0.19578668475151062, -0.2527589201927185, -0.09525531530380249, 0.3653176724910736, -0.35322365164756775, 1.1114381551742554, -0.2995772957801819, -0.21136625111103058, -0.025147434324026108, 0.2251850962638855, 0.4746602475643158, 0.3100244402885437, 0.5414025783538818, 0.9323165416717529, 0.6854672431945801, -0.09551773965358734, 0.9648042917251587, -0.03153381124138832, 0.299848735332489, 1.063531517982483, -0.08091839402914047, 0.5599541664123535, 0.4453396201133728, -0.31422773003578186, 0.15122051537036896, 0.1563381552696228, -0.26810142397880554, 0.08140429854393005, 1.0991193056106567, -0.3388153910636902, -0.2808123230934143, 0.03624093905091286, -0.4532693922519684, 0.5001180171966553, 0.46564245223999023, -0.19817696511745453, -0.5383861064910889, -0.05530186742544174, 0.29683780670166016, 0.5915982723236084, -0.3669550120830536, 0.33314406871795654, 0.1734323352575302, -0.4765109717845917, 0.604541540145874, 0.3302582800388336, 0.5338461995124817, -0.5297581553459167, -0.10650646686553955, -0.15461315214633942, 0.3874809443950653, -0.08160330355167389, -0.6591291427612305, 0.36814606189727783, 0.3046993911266327, 0.14390157163143158, -0.00497766537591815, 0.43278035521507263, -0.31463146209716797, -0.8593205809593201, 0.26136401295661926, 0.5380589962005615, 0.05151740089058876, -0.07257308065891266, -0.8431665897369385, 0.1516970843076706, -0.2513137757778168, -0.14999595284461975, 0.4786963164806366, 0.5886340737342834, -0.0011076825903728604, 0.800536572933197, 0.7717808485031128, 0.19739484786987305, 0.041611447930336, -0.039878442883491516, 0.890938401222229, -0.3584127128124237, -0.2626367211341858, -1.0980637073516846, 0.05647309869527817, -0.020874639973044395, -0.29046568274497986, 0.8349580764770508, 0.4143751859664917, 0.8225328326225281, 0.23997803032398224, 0.7397686243057251, 0.4503149092197418, 0.20561829209327698, -0.36643677949905396, 0.8050856590270996, -0.6837342381477356, 0.580863893032074, -0.42457982897758484, -0.5658124685287476, -0.365135133266449, 0.3192165493965149, -0.18775993585586548, -0.1270822137594223, 0.6915361285209656, 0.5714457631111145, 0.2061629444360733, -0.047478318214416504, 0.39027464389801025, 0.21946054697036743, 0.5806934833526611, 0.955868124961853, 0.9955114722251892, -0.5154785513877869, 1.0778908729553223, -0.1598353534936905, -0.26847270131111145, 0.061959296464920044, -0.6706384420394897, -0.9955848455429077, -0.16265077888965607, -0.4946417212486267, -0.7567790746688843, 0.1305658519268036, 0.6232519149780273, -0.06980274617671967, -0.5932145118713379, -0.0364583358168602, -0.21755672991275787, 0.4209565818309784, 0.31420692801475525, -0.305654913187027, 0.4926438629627228, -0.29735279083251953, -0.6199514269828796, 0.43599483370780945, 0.04465553164482117, 0.2797163724899292, -0.5431769490242004, 0.19618521630764008, 0.43289339542388916, 0.3649143576622009, 0.4275164306163788, -0.09350183606147766, -0.6313662528991699, -0.184604674577713, -0.0927969440817833, -0.22832612693309784, -0.25623831152915955, 0.8174293041229248, -0.5693901777267456, 0.34129995107650757, 0.24462877213954926, 0.9965143799781799, -0.17071446776390076, -0.10428574681282043, 0.4382069408893585, -0.5737454295158386, -0.1820024847984314, 0.46208715438842773, 0.45474064350128174, 0.4092068374156952, -0.27852243185043335, 0.2235085815191269, 0.5372617840766907, -0.2676423192024231, -1.1896464824676514, 0.3039819598197937, -0.3734932541847229, -0.6504435539245605, 1.0487797260284424, -0.38591668009757996, -0.27197569608688354, 0.07892278581857681, -0.03356460854411125, -0.028371255844831467, 0.07782389223575592, 1.0012931823730469, 0.8709520697593689, 0.36863988637924194, 0.4332069456577301, -0.28563904762268066, 0.25058382749557495, 0.644287645816803, -0.7643762826919556, 0.19966340065002441, 0.4341593384742737, 0.389960378408432, 0.30212998390197754, 0.26719725131988525, -0.5590012669563293, 0.24800850450992584, 0.07324530184268951, -0.1946491152048111, -0.5406586527824402, -0.1805717647075653, -0.5707482695579529, 0.6677888631820679, 0.17918454110622406, -0.016439635306596756 ]