id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2407.02333v1
http://arxiv.org/pdf/2407.02333v1
Why do LLaVA Vision-Language Models Reply to Images in English?
2024-07-02T15:01:55
2024-07-02T15:01:55
Musashi Hinck, Carolin Holtermann, Matthew Lyle Olson, Florian Schneider, Sungduk Yu, Anahita Bhiwandiwalla, Anne Lauscher, Shaoyen Tseng, Vasudev Lal
cs.CL
cs.CL, cs.CV
We uncover a surprising multilingual bias occurring in a popular class of multimodal vision-language models (VLMs). Including an image in the query to a LLaVA-style VLM significantly increases the likelihood of the model returning an English response, regardless of the language of the query. This paper investigates the causes of this loss with a two-pronged approach that combines extensive ablation of the design space with a mechanistic analysis of the models' internal representations of image and text inputs. Both approaches indicate that the issue stems in the language modelling component of the LLaVA model. Statistically, we find that switching the language backbone for a bilingual language model has the strongest effect on reducing this error. Mechanistically, we provide compelling evidence that visual inputs are not mapped to a similar space as text ones, and that intervening on intermediary attention layers can reduce this bias. Our findings provide important insights to researchers and engineers seeking to understand the crossover between multimodal and multilingual spaces, and contribute to the goal of developing capable and inclusive VLMs for non-English contexts.
[ -0.421760231256485, -0.5338862538337708, 0.5078173279762268, 0.253523588180542, -0.39126214385032654, -0.005037419963628054, 0.15778599679470062, -0.8669065833091736, 0.1553330421447754, 0.521774172782898, -0.6020604372024536, -0.0335056334733963, -0.5505983233451843, 0.08576129376888275, -0.37468957901000977, 0.47149658203125, -0.39998915791511536, 0.36375895142555237, -0.5297380089759827, -0.33561521768569946, -0.5100175738334656, -0.5042594075202942, -0.5128392577171326, -0.3305155634880066, 0.8519794344902039, 0.10386769473552704, 0.5453348755836487, 0.23554520308971405, 0.5471476316452026, 0.1979980617761612, 0.0774446576833725, 0.29709702730178833, -0.3627338707447052, 0.11021322757005692, -0.10787433385848999, -0.7709643244743347, -0.06259200721979141, -0.3695761263370514, 0.5192608833312988, 0.5126502513885498, 0.16204026341438293, 0.21205832064151764, 0.18305212259292603, 0.686215341091156, -0.741169273853302, 0.20240095257759094, -0.5268651843070984, 0.022787384688854218, -0.3903534710407257, -0.2830630838871002, -0.642524003982544, 0.4113675057888031, -0.16046550869941711, -0.2839958667755127, -0.12992139160633087, 0.2096329927444458, 1.0624494552612305, 0.22178757190704346, -0.6476413607597351, -0.09062205255031586, -0.6886780858039856, 0.8496073484420776, -0.38216346502304077, 0.7694401741027832, 0.21862322092056274, 0.2426132708787918, 0.16777527332305908, -0.119243323802948, -0.5608106255531311, -0.1516454964876175, -0.22638407349586487, 0.24413487315177917, -0.34918561577796936, -0.015639927238225937, -0.025584474205970764, -0.14159511029720306, -0.5697671175003052, 0.1478618085384369, -0.5402713418006897, -0.25695693492889404, 0.5224924087524414, 0.09070078283548355, 0.3709739148616791, 0.10427328944206238, -0.23717480897903442, -0.17489175498485565, -0.8253390192985535, 0.09730152785778046, 0.41171228885650635, 0.197218120098114, -0.2305389791727066, 0.8461551666259766, 0.13773152232170105, 0.8313199281692505, -0.21697062253952026, -0.3186211585998535, 0.1194644644856453, -0.2969023287296295, -0.17831791937351227, -0.19020868837833405, 0.6092437505722046, 0.9423204660415649, 0.4369010925292969, 0.20631670951843262, -0.2170792818069458, 0.3230765759944916, 0.05158554017543793, -0.46028584241867065, 0.11082147806882858, 0.07600251585245132, -0.3874629735946655, -0.09864180535078049, -0.4478079676628113, -0.5280562043190002, -0.3929038345813751, -0.1365865021944046, 0.1558530628681183, -0.0753365159034729, -0.22540432214736938, 0.008387677371501923, -0.09974150359630585, 0.4048228859901428, 0.4317331612110138, -0.80936598777771, -0.09004297107458115, 0.05807238817214966, 0.5109003782272339, -0.13086679577827454, -0.4750373661518097, -0.18862472474575043, 0.13072799146175385, -0.5395383238792419, 1.2050824165344238, -0.5656302571296692, -0.3123553395271301, 0.15392301976680756, 0.2313094586133957, -0.012650624848902225, -0.398279070854187, 0.10490792989730835, -0.6088636517524719, 0.3039833903312683, -0.3224337100982666, 0.10800568014383316, -0.16420651972293854, 0.2810470759868622, -0.6130132675170898, 0.7282223701477051, -0.2911064028739929, -0.7969836592674255, 0.4410909414291382, -0.26116272807121277, -0.3923572897911072, -0.22375178337097168, -0.525562047958374, -0.2241927832365036, 0.43215131759643555, 0.29621434211730957, 0.06090385839343071, -0.4196377396583557, -0.03269096836447716, -0.3196438252925873, -0.1946815401315689, 0.16178351640701294, -0.5651234984397888, 0.6974267363548279, 0.20588620007038116, -0.038465309888124466, -0.07583434879779816, -0.5203374624252319, -0.2232038974761963, 0.5748188495635986, -0.40317896008491516, -0.7813100218772888, 0.15646524727344513, 0.355719655752182, 0.3134644031524658, 0.09573475271463394, -0.5538948178291321, -0.004414848051965237, -0.1884482353925705, 0.0269157737493515, 0.6932252049446106, -0.32682546973228455, 0.6100777983665466, -0.10538583993911743, 0.5613538026809692, 0.27495935559272766, 0.22502020001411438, -0.3271048069000244, -0.5982097387313843, -0.7521584630012512, -0.10543911159038544, -0.1308828741312027, 0.6591672301292419, -1.127015471458435, -0.6443662047386169, -0.08332458883523941, -0.03375630080699921, -0.9447466731071472, 0.2595028877258301, 0.48303207755088806, 0.46313172578811646, 0.0399584025144577, -0.3589133322238922, -0.5341846346855164, -1.6313875913619995, -0.4057430028915405, -0.32000473141670227, 0.14487381279468536, 0.49684473872184753, 0.28449562191963196, -0.34906095266342163, 0.5160362124443054, -0.11745148152112961, -0.366965651512146, -0.39404600858688354, -0.41025909781455994, 0.10916619747877121, 0.00823208037763834, 0.9114412665367126, -0.8740987181663513, -0.5238027572631836, 0.28260016441345215, -0.8333064317703247, -0.20086044073104858, -0.2049085944890976, -0.007048656698316336, 0.4943172335624695, 0.29478415846824646, -0.5074654221534729, 0.6804957389831543, 0.7503452897071838, -0.2317335158586502, 0.5095324516296387, -0.04343090206384659, 0.2965092658996582, -0.8384729623794556, -0.32468196749687195, 0.17725197970867157, -0.09463733434677124, -0.39164623618125916, 0.3690110743045807, 0.4174223840236664, 0.07554168254137039, -0.908805251121521, 0.8929060697555542, -0.7034904956817627, -0.2963434159755707, -0.2382020801305771, 0.027475357055664062, 0.5028386116027832, 0.4678739607334137, -0.017755508422851562, 0.8981397151947021, 0.5601423978805542, -0.35053926706314087, 0.34947001934051514, 0.262592077255249, -0.15603967010974884, 0.8034383654594421, -0.5869264006614685, -0.06977412849664688, -0.6087337732315063, -0.11689624935388565, -1.3446879386901855, -0.18607337772846222, 0.2228165715932846, -0.33707091212272644, 0.5059805512428284, -0.19474700093269348, -0.40792226791381836, -0.4423663318157196, -0.29857978224754333, 0.6961061954498291, 0.34797266125679016, -0.6197732090950012, 0.7039713859558105, 0.3318546712398529, -0.003704115515574813, -0.6846202611923218, -1.2896519899368286, 0.31100842356681824, -0.05679936334490776, -0.876640260219574, 0.09093428403139114, 0.005216637160629034, -0.6356344819068909, 0.03608257696032524, 0.04088206589221954, -0.17797808349132538, -0.09974870085716248, -0.11991782486438751, 0.4186849296092987, -0.2322748452425003, 0.04807901754975319, 0.003806349588558078, 0.25265932083129883, 0.13008436560630798, -0.1293988972902298, 0.40925857424736023, 0.08894484490156174, -0.6646724343299866, -0.3693035840988159, 0.6202355027198792, 0.7775761485099792, -0.2836436927318573, 0.6807900071144104, 0.08936188369989395, -0.09340140223503113, 0.02218838594853878, -0.5040469765663147, 0.022084694355726242, -0.43076276779174805, 0.7229068279266357, -0.503602147102356, -0.48437610268592834, 0.6076313257217407, 0.38226309418678284, 0.20338433980941772, 0.2290053516626358, 0.6577836275100708, -0.5214272141456604, 1.0202291011810303, 0.7860487699508667, 0.3128361403942108, 0.5218383073806763, -0.023222796618938446, 0.3114725351333618, -0.901850163936615, -0.41014689207077026, -0.2112351655960083, -0.25163736939430237, -0.39501896500587463, -0.3192690908908844, 0.46157193183898926, -0.6376627087593079, 0.30189791321754456, -0.03930855169892311, -0.22228656709194183, 0.5060765743255615, 0.43682485818862915, -0.049951814115047455, 0.06652364134788513, 0.5104125738143921, -0.1927790343761444, -0.4196150004863739, -0.6951074600219727, -0.2202220857143402, 0.9576324224472046, 0.28272825479507446, 1.157152771949768, 0.18885165452957153, 0.370894193649292, 0.006220673210918903, 0.13413134217262268, -0.7122899889945984, 0.5044841766357422, -0.17666034400463104, -0.6358221173286438, 0.05456216260790825, 0.11903499811887741, -1.0242469310760498, 0.6274778842926025, -0.1422373503446579, -0.4331521689891815, 0.1399695724248886, 0.34398576617240906, 0.23575516045093536, 0.36153092980384827, -0.746076762676239, 0.4741870164871216, -0.5793617367744446, -0.9927464723587036, -0.116961769759655, -0.28560635447502136, 0.5538288950920105, -0.13380661606788635, 0.742365837097168, 0.18980157375335693, 0.02378164790570736, 0.2602718472480774, -0.09952609986066818, 0.9906396269798279, 0.01365105900913477, -0.4635598659515381, 0.15725767612457275, 0.21141576766967773, 0.3739505410194397, -0.22850002348423004, 0.2888340950012207, 0.300828754901886, -0.36486172676086426, -0.6228268146514893, -0.3974188566207886, 0.4807996153831482, -0.6886757016181946, -0.8264011144638062, -0.21869252622127533, -0.5908291339874268, -0.215224027633667, 0.05014076456427574, 0.37084174156188965, 0.4765114188194275, 0.12106836587190628, 0.050034549087285995, 0.6284195184707642, -0.529941976070404, 0.5000277161598206, 0.308514803647995, -0.5731840133666992, 0.014369006268680096, 0.47949546575546265, 0.2209470570087433, 0.39389029145240784, 0.35679399967193604, -0.17214630544185638, -0.37995171546936035, -0.38552263379096985, -0.7411805391311646, 0.5199629664421082, -1.0511066913604736, 0.07198234647512436, -0.4606758654117584, 0.01770799048244953, -0.3941800594329834, -0.1601693034172058, -0.4046967923641205, -0.1685793101787567, -0.14890232682228088, -0.06277428567409515, 0.05245330184698105, 0.7017020583152771, 0.307925820350647, 0.14426977932453156, -0.49694815278053284, 0.3104766607284546, 0.3416324853897095, 0.314543217420578, -0.04447634145617485, -0.7120102643966675, -0.18408209085464478, 0.05649546906352043, -0.14599795639514923, -1.1390074491500854, 0.4634736478328705, 0.26143893599510193, 0.6707860827445984, 0.07084774971008301, -0.35812824964523315, 0.6291820406913757, -0.7679979801177979, 0.8044783473014832, 0.20372900366783142, -0.26721060276031494, 0.528582751750946, -0.2090756893157959, 0.593073308467865, -0.0132380910217762, 0.13683289289474487, -0.49734655022621155, -0.5653472542762756, -0.10940824449062347, -1.0051428079605103, 0.25364020466804504, -0.10222597420215607, 0.39930832386016846, -0.08075782656669617, -0.06544622778892517, 0.07657814025878906, 0.09786088019609451, -1.1536436080932617, -0.2240370512008667, -0.169671431183815, -0.07616453617811203, 0.0971059650182724, -0.5633141994476318, -0.18154309689998627, 0.022694837301969528, 0.4710395634174347, -0.16557708382606506, 0.24957402050495148, 0.2790313959121704, -0.5110939145088196, -0.1281602829694748, 0.1746014952659607, 0.8323741555213928, 0.5641430020332336, 0.23278628289699554, 0.27477601170539856, 0.06616587936878204, -0.2917650043964386, 0.11840306222438812, -0.38199615478515625, -0.39996808767318726, 0.32181546092033386, 0.5519580245018005, 0.9493964910507202, 0.1801825314760208, -0.6949038505554199, 0.39294275641441345, -0.16751629114151, -0.2628841996192932, -0.2271476686000824, -0.4836307764053345, 0.08038724958896637, 0.20613107085227966, 0.5883066654205322, 0.25795596837997437, 0.08490537852048874, -0.4874725639820099, -0.13699473440647125, 0.746932864189148, -0.15803128480911255, -0.41775086522102356, 0.8462710380554199, 0.21186251938343048, -0.15481425821781158, 0.2514060139656067, 0.21419574320316315, -0.25896766781806946, 0.624315619468689, 0.5779355764389038, 0.7815834283828735, -0.05302593111991882, 0.14680369198322296, 0.17310002446174622, 0.7525752782821655, 0.2862384021282196, 0.30757609009742737, 0.2891184091567993, -0.7400046586990356, -0.4837122857570648, -0.4611037075519562, -0.14116805791854858, -0.028040654957294464, -0.3612782061100006, 0.2556631863117218, -0.21824294328689575, -0.07608775794506073, -0.11591875553131104, -0.7021540999412537, -0.8995336294174194, 0.20208239555358887, 0.6454623937606812, 0.7515043616294861, -1.0887526273727417, 0.7283953428268433, 1.1277992725372314, -0.3678281307220459, -0.4979652464389801, -0.2896467447280884, 0.16091084480285645, -1.2479976415634155, 0.9314001798629761, 0.046657495200634, -0.20336730778217316, -0.4136943221092224, -0.5055092573165894, -0.9063969254493713, 0.5832792520523071, 0.553979218006134, -0.5956389904022217, 0.005752164404839277, 0.23276807367801666, 0.45330166816711426, -0.46376779675483704, 0.16400156915187836, 0.0943247452378273, 0.3922808766365051, 0.09393485635519028, -1.1439557075500488, -0.25160446763038635, -0.4003349840641022, 0.28246915340423584, 0.10570802539587021, -0.7289015650749207, 0.8445257544517517, -0.42165011167526245, -0.17977558076381683, -0.38402798771858215, 0.41636231541633606, 0.25024858117103577, 0.39081498980522156, 0.2648424506187439, 0.296132355928421, 0.27079537510871887, 0.013472521677613258, 1.4320762157440186, -0.09240177273750305, -0.0807022973895073, 0.6462444067001343, -0.42391958832740784, 0.8064773082733154, 1.251794457435608, -0.2320575714111328, 0.4449048936367035, 0.6846476197242737, 0.15600401163101196, 0.8096895217895508, -0.19204191863536835, -0.022177567705512047, -0.08158990740776062, -0.301817387342453, -0.2062923014163971, 0.4705375134944916, 0.23086017370224, -0.33037787675857544, -0.21387845277786255, 0.3637411892414093, -0.12608782947063446, 0.06551031023263931, -0.3766762316226959, 0.5118106603622437, -0.0036872492637485266, -0.4753701090812683, 0.7568880915641785, -0.35198864340782166, 0.746928870677948, -0.42012402415275574, 0.07273556292057037, -0.5937192440032959, 0.01827235147356987, -0.20830367505550385, -0.8509349822998047, 0.36276042461395264, -0.20531795918941498, -0.25784003734588623, -0.3538837134838104, 0.6948381066322327, -0.5329217314720154, -0.7305903434753418, 0.6236357688903809, 0.5572943091392517, 0.1650453358888626, 0.33899059891700745, -0.6445415019989014, 0.4259415864944458, 0.25881510972976685, -0.3819151818752289, 0.3372299075126648, 0.22365111112594604, -0.5421733260154724, 0.6857511401176453, 0.3833742141723633, 0.12623876333236694, 0.1827068030834198, 0.1488964706659317, 0.7734920382499695, -0.3065944314002991, -0.23789449036121368, -0.8475234508514404, 0.7751057744026184, 0.04314707592129707, 0.022191349416971207, 0.6483663320541382, 0.36034879088401794, 0.975905179977417, -0.4030073583126068, 0.9396033883094788, 0.2877974212169647, -0.053791727870702744, -0.7038396000862122, 0.46258267760276794, -1.1960914134979248, 0.35625138878822327, -0.09285509586334229, -0.9809026122093201, -0.34252291917800903, 0.47948241233825684, -0.056976594030857086, -0.1324034184217453, 0.6799412965774536, 0.6374064087867737, -0.025328010320663452, -0.7529003024101257, 0.7448281049728394, 0.2813762426376343, 0.3651259243488312, 0.6204265356063843, 0.9192051291465759, -0.4613167643547058, 0.5839739441871643, -0.003844281192868948, -0.2349672019481659, -0.2882978022098541, -0.8022891879081726, -0.8542417287826538, -0.5084275603294373, -0.14158427715301514, -0.14628595113754272, 0.15246349573135376, 0.36034446954727173, 0.36406880617141724, -0.45117270946502686, -0.28143972158432007, 0.461031436920166, 0.0581883005797863, 0.19981257617473602, -0.13645122945308685, -0.1191026046872139, -0.04844304174184799, -0.668478786945343, 0.2172989845275879, 0.6203024387359619, 0.3324981927871704, -0.4528293013572693, 0.09218407422304153, -0.16017940640449524, 0.20674672722816467, 0.6345303058624268, 0.2804003655910492, -1.1670401096343994, -0.12994788587093353, 0.5102919936180115, -0.2439601570367813, 0.1280238926410675, 0.22497206926345825, -0.5877799391746521, 0.5707124471664429, 0.31189432740211487, 0.5553063154220581, 0.44820207357406616, -0.5938897728919983, 0.6650370359420776, -0.8733364343643188, 0.8854806423187256, -0.17862950265407562, 0.73613041639328, 0.6320155262947083, -0.3765334486961365, 0.400592178106308, 0.2849986255168915, -0.16779009997844696, -0.8480839133262634, 0.5145456790924072, -0.6939650177955627, -0.39241477847099304, 1.1777980327606201, 0.2953683137893677, -0.737705647945404, 0.13972820341587067, -0.6131160855293274, -0.3710121214389801, -0.018447818234562874, 0.6960693597793579, 1.004037857055664, -0.029140742495656013, -0.7117051482200623, -0.7877712845802307, 0.04738898202776909, 0.6415090560913086, -0.3950771987438202, -0.02580813504755497, 0.6934360861778259, 0.10345803946256638, 0.2281651645898819, 0.7408621907234192, -0.08180098980665207, 0.540536642074585, -0.07493287324905396, 0.33003196120262146, 0.19467705488204956, -0.3709777593612671, -0.26404693722724915, -0.029782066121697426, 0.2895655333995819, -0.13562244176864624 ]
http://arxiv.org/abs/2407.02328v1
http://arxiv.org/pdf/2407.02328v1
Efficient Sparse Attention needs Adaptive Token Release
2024-07-02T14:58:44
2024-07-02T14:58:44
Chaoran Zhang, Lixin Zou, Dan Luo, Min Tang, Xiangyang Luo, Zihao Li, Chenliang Li
cs.CL
cs.CL
In recent years, Large Language Models (LLMs) have demonstrated remarkable capabilities across a wide array of text-centric tasks. However, their `large' scale introduces significant computational and storage challenges, particularly in managing the key-value states of the transformer, which limits their wider applicability. Therefore, we propose to adaptively release resources from caches and rebuild the necessary key-value states. Particularly, we accomplish this by a lightweight controller module to approximate an ideal top-$K$ sparse attention. This module retains the tokens with the highest top-$K$ attention weights and simultaneously rebuilds the discarded but necessary tokens, which may become essential for future decoding. Comprehensive experiments in natural language generation and modeling reveal that our method is not only competitive with full attention in terms of performance but also achieves a significant throughput improvement of up to 221.8%. The code for replication is available on the https://github.com/WHUIR/ADORE.
[ -0.2063911408185959, -0.6976151466369629, 0.2887856662273407, 0.4649946093559265, -0.228359654545784, -0.03284996375441551, -0.5846236944198608, -0.24346183240413666, 0.39536356925964355, 0.43024134635925293, -0.4779614210128784, -0.06664946675300598, -0.7422310709953308, 0.04554126039147377, -0.557735800743103, 1.0141775608062744, 0.013610977679491043, -0.3842373788356781, -0.06280390918254852, -0.31214919686317444, -0.669448733329773, -0.2585909068584442, -0.8453409671783447, -0.01386774517595768, 0.7727426886558533, 0.4243616759777069, 0.6973981857299805, 0.8917362093925476, 0.5886073708534241, 0.3713358938694, -0.4534093141555786, 0.15970493853092194, -0.8199474215507507, 0.08742954581975937, -0.23898600041866302, -0.33709716796875, -0.7944725155830383, -0.3033888041973114, 0.667097270488739, 0.7041454315185547, -0.21370111405849457, 0.28015851974487305, 0.16825290024280548, 0.6629053354263306, -0.868015468120575, 0.01832863874733448, -1.0180002450942993, -0.09297412633895874, 0.07800539582967758, -0.1768852025270462, -0.5975478887557983, -0.10928696393966675, -0.035478923469781876, -0.8768253922462463, 0.16185754537582397, 0.041979119181632996, 0.5947305560112, 0.6921266317367554, -0.24220329523086548, -0.025680674239993095, -0.5946414470672607, 0.8850563764572144, -0.4737204313278198, 0.3804175555706024, 0.2163929045200348, 0.048886340111494064, -0.2180001139640808, -0.768111526966095, -0.31354522705078125, -0.03625944256782532, -0.029952844604849815, 0.05641061067581177, -0.3588322401046753, 0.02433743141591549, 0.16153885424137115, 0.32346034049987793, -0.20998698472976685, -0.0754418894648552, -0.23480866849422455, -0.315103143453598, 0.2609870433807373, 0.28948068618774414, 0.14920686185359955, -0.129415363073349, -0.2179522067308426, 0.06052768602967262, -0.6476128697395325, -0.34204235672950745, 0.0908067375421524, 0.36461037397384644, -0.10091577470302582, 0.5005568265914917, -0.07808661460876465, 0.5567930936813354, 0.4684261977672577, 0.028445502743124962, 0.11640112102031708, -0.42312973737716675, -0.3479059040546417, 0.08792231976985931, 0.4731456935405731, 0.30200785398483276, 0.0817624181509018, -0.568681538105011, -0.2981690764427185, -0.012597019784152508, 0.6913805603981018, -0.5932812094688416, -0.04376455768942833, 0.44020336866378784, -0.3606323301792145, -0.2157052755355835, -0.4159788191318512, -0.8443690538406372, -0.3056831955909729, -0.3137454390525818, 0.49552619457244873, -0.27615097165107727, -0.20967037975788116, 0.1417548656463623, 0.07460086792707443, 0.09914083778858185, 0.445051908493042, -1.261728286743164, 0.44449669122695923, 0.5480369329452515, 1.0404741764068604, -0.4713951647281647, -0.0825066864490509, -0.8261256814002991, 0.4184708297252655, -0.3215123414993286, 0.6638367176055908, -0.20720943808555603, -0.09111782163381577, -0.1436975598335266, -0.01848718337714672, -0.24203190207481384, -0.7212924957275391, 0.47116684913635254, -0.6604338884353638, -0.2841584384441376, -0.32104262709617615, -0.10912171006202698, 0.3390953242778778, 0.2670474648475647, -0.858234703540802, 1.066070318222046, 0.2135515660047531, -0.8369794487953186, 0.1470271199941635, -0.5987958908081055, -0.45900675654411316, -0.01058326568454504, 0.37612074613571167, -0.3137088716030121, 0.274458110332489, 0.2484806627035141, 0.3533517122268677, -0.07770059257745743, 0.23672036826610565, -0.013727140612900257, -0.5201277732849121, 0.2686166763305664, -0.5047723650932312, 0.4303233027458191, 0.34554624557495117, -0.3960106074810028, 0.3833703398704529, -0.8331059217453003, -0.243554949760437, 0.10723917931318283, -0.5487272143363953, -0.03849242627620697, -0.04908989742398262, 0.4847430884838104, -0.23367123305797577, 0.4864532947540283, -0.44284936785697937, 0.28928065299987793, -0.6012821197509766, 0.6832956075668335, 0.8976613879203796, 0.0761277824640274, 0.7142003178596497, -0.17961439490318298, 0.4140440821647644, 0.1296001821756363, 0.17719948291778564, -0.30402180552482605, 0.043391015380620956, -1.0907886028289795, -0.6227260828018188, 0.3456633687019348, 0.2503492832183838, -0.6263406872749329, 0.4770662486553192, -0.4060722887516022, -0.1420847773551941, -0.7429983019828796, 0.3315054476261139, 0.3492918014526367, 0.2886126637458801, 0.3788256049156189, -0.09576552361249924, -0.3106458783149719, -0.7397006154060364, -0.1333005279302597, 0.09756609797477722, 0.09040463715791702, 0.4419685900211334, 0.2501744031906128, -0.31632962822914124, 0.8730769753456116, -0.6263286471366882, -0.44591447710990906, -0.3921442925930023, -0.014027619734406471, -0.038295600563287735, 0.5072950720787048, 0.39322546124458313, -0.631515622138977, -0.2973470687866211, 0.028993280604481697, -0.13548551499843597, -0.0425497330725193, -0.33200523257255554, -0.45119190216064453, 0.30736249685287476, 0.45659634470939636, -0.8190624117851257, 0.14154383540153503, 0.40334033966064453, -0.12252429872751236, 0.22456856071949005, -0.3266620337963104, -0.06078633293509483, -1.233954668045044, 0.5256677269935608, -0.1516643464565277, -0.33246931433677673, -0.4603295922279358, 0.13451308012008667, 0.09440236538648605, -0.12823088467121124, -0.438231498003006, 0.665297269821167, -0.553071916103363, -0.16717027127742767, -0.39007288217544556, 0.3143576979637146, -0.08205756545066833, 0.7646398544311523, -0.2904054820537567, 0.7183393836021423, 0.4106263220310211, -0.5232483744621277, 0.4722839593887329, 0.19213305413722992, -0.10605118423700333, 0.12128963321447372, -0.71484375, 0.08906526118516922, -0.3036171495914459, 0.08619290590286255, -1.2437666654586792, -0.5880807042121887, 0.2879889905452728, -0.34058254957199097, 0.7977056503295898, -0.005179702304303646, -0.5252869725227356, -0.20878225564956665, -0.3889249563217163, 0.4223211705684662, 0.33442357182502747, -0.4948713481426239, 0.6341027617454529, 0.5392659306526184, -0.2753182649612427, -0.5561185479164124, -0.8320871591567993, 0.23110809922218323, -0.029352063313126564, -0.0827760398387909, 0.06572447717189789, -0.034272462129592896, -0.10871966928243637, 0.3203650414943695, -0.2608097195625305, -0.014677424915134907, 0.2349892407655716, -0.10939589887857437, 0.01435709185898304, -0.09705063700675964, 0.21226195991039276, 0.08610344678163528, -0.4474548399448395, -0.18760798871517181, -0.35990452766418457, 0.37511077523231506, 0.1875392347574234, -0.21054843068122864, -0.3628157079219818, 0.37529006600379944, 1.0366568565368652, -0.27743685245513916, 0.6380776762962341, 0.4493364095687866, -0.5714198350906372, -0.26079699397087097, -0.609137237071991, -0.1747031956911087, -0.49255162477493286, 0.6773681044578552, -0.063033826649189, -0.9401599764823914, 0.5922240018844604, 0.13218311965465546, 0.1785195767879486, 0.37331411242485046, 0.8193507194519043, 0.23778894543647766, 1.0751322507858276, 0.838485598564148, -0.4629899561405182, 0.5663559436798096, -0.18562063574790955, 0.2021796703338623, -0.8342939615249634, -0.026205236092209816, -0.44765833020210266, -0.5143557786941528, -0.21539157629013062, -0.4699772298336029, 0.3018805980682373, 0.006225271616131067, -0.038101259618997574, 0.29423823952674866, -0.770310640335083, 0.41055721044540405, 0.25863054394721985, 0.07585656642913818, 0.2306002378463745, -0.05266938358545303, -0.025652213022112846, -0.18983124196529388, -0.8621904850006104, -0.2606934905052185, 0.850487232208252, 0.23317520320415497, 0.969547688961029, 0.0822986513376236, 0.3420964479446411, 0.11878201365470886, 0.5199930667877197, -1.0331635475158691, 0.4200246334075928, -0.15227827429771423, -0.35948434472084045, -0.38649338483810425, -0.612195611000061, -0.8598998785018921, 0.17448683083057404, 0.08275937288999557, -0.8644340634346008, -0.07724009454250336, 0.4654071629047394, -0.6955156326293945, 0.1470029354095459, -0.813140869140625, 1.043239712715149, 0.1099199503660202, -0.4984586834907532, -0.3518838584423065, -0.5661709904670715, 0.3669888973236084, -0.23575973510742188, 0.02822278067469597, 0.13197772204875946, -0.4744808077812195, 0.5514721274375916, -0.2969032824039459, 0.9789940118789673, -0.055239591747522354, -0.26736703515052795, 0.3308848440647125, 0.09675848484039307, 0.7423243522644043, -0.11066509783267975, 0.11588386446237564, -0.4087395966053009, -0.25679102540016174, -0.49687379598617554, -0.6269332766532898, 0.8997848033905029, -0.7876282930374146, -0.4587123990058899, -0.16778859496116638, -0.8244494199752808, -0.17105679214000702, 0.1275348961353302, 0.011748245917260647, 0.6975056529045105, -0.09217927604913712, 0.22272376716136932, 0.9930269718170166, -0.20249126851558685, 0.6062358617782593, 0.2583104968070984, 0.19091761112213135, -0.6589851379394531, 0.994423508644104, 0.24572156369686127, 0.3425232768058777, 0.5750922560691833, 0.013564517721533775, -0.192744180560112, -0.5844488739967346, -0.5808953046798706, 0.16717694699764252, -0.5100171566009521, -0.5601414442062378, -0.9843810200691223, -0.10333173722028732, -0.36411505937576294, -0.3290708065032959, -0.6030817031860352, -0.4738306701183319, -0.4339301288127899, -0.03259837627410889, 0.6931951642036438, 0.7091898918151855, 0.02814985252916813, 0.5343218445777893, -0.7685939073562622, 0.5238590240478516, 0.21774692833423615, 0.459753155708313, 0.4725903570652008, -0.7158323526382446, -0.5616931915283203, -0.15850314497947693, -0.2215910255908966, -0.5435490608215332, 0.3991870582103729, 0.2010955512523651, 0.45962241291999817, 0.20910285413265228, -0.027443701401352882, 0.8274708390235901, -0.625858724117279, 0.6467463374137878, 0.10295496881008148, -0.9947509765625, 0.4118844270706177, -0.5145867466926575, 0.7316321134567261, 0.5297074317932129, 0.05115867778658867, -0.5860920548439026, -0.8543310165405273, -0.34434422850608826, -1.262263298034668, 1.06692636013031, 0.07020779699087143, 0.425031840801239, -0.2753874361515045, 0.5773601531982422, -0.26402536034584045, 0.17804738879203796, -0.5305461883544922, -0.13230299949645996, -0.09436427056789398, -0.6965212225914001, 0.0715079978108406, -0.5341988801956177, 0.0026262355968356133, -0.009353533387184143, 0.6473504900932312, -0.4471573829650879, 0.283640593290329, 0.14709120988845825, -0.26463383436203003, -0.5080741047859192, 0.22211351990699768, 0.6289168000221252, 0.5356491804122925, -0.09023018926382065, 0.290558397769928, 0.24354863166809082, -0.8189603686332703, 0.10033001750707626, -0.08002505451440811, -0.20772816240787506, -0.376873254776001, 0.2966245114803314, 0.5757969617843628, 0.9545148015022278, -0.8458289504051208, 0.5839682221412659, -0.08016334474086761, -0.03629448637366295, 0.3444235622882843, -0.07657552510499954, 0.23885184526443481, 0.009943148121237755, 0.48822730779647827, 0.26322025060653687, -0.019988881424069405, -0.3092286288738251, 0.4400806128978729, 0.20479805767536163, -0.43087300658226013, -0.4508460760116577, 1.0302503108978271, 0.39995113015174866, 0.16861587762832642, 0.24210351705551147, -0.08120711892843246, -0.49653518199920654, 0.49623551964759827, 0.5643360614776611, 0.9850898385047913, 0.06150178611278534, -0.020223289728164673, 0.478760302066803, 0.4266214370727539, -0.12672363221645355, 0.18109595775604248, -0.20276421308517456, -0.5142413377761841, -0.8546563386917114, -0.7936962842941284, -0.10048709809780121, 0.0006446929764933884, -0.5396361351013184, -0.03597798943519592, -0.5778391361236572, -0.1594482809305191, -0.24312807619571686, 0.0719643160700798, -0.19062010943889618, -0.0265798456966877, -0.07549287378787994, 0.9679856896400452, -0.6366776823997498, 0.603156566619873, 0.5994045734405518, -0.17686888575553894, -0.586840033531189, 0.06896208971738815, -0.14736242592334747, -0.4987451732158661, 0.4700652062892914, -0.03931548073887825, -0.09692060947418213, 0.4006322920322418, -0.4374505281448364, -1.2291369438171387, 0.9671494364738464, 0.6841146349906921, -0.6515716314315796, 0.14193350076675415, -0.22037485241889954, 0.5578508377075195, -0.017694802954792976, 0.0006061437306925654, 0.4040400981903076, 0.3689650893211365, 0.2515081465244293, -0.9630820155143738, 0.06411835551261902, -0.07323163747787476, 0.09427915513515472, 0.4391023814678192, -1.1747939586639404, 0.45669978857040405, -0.4439164400100708, -0.29830437898635864, 0.32341817021369934, 0.8218094706535339, -0.007915020920336246, -0.37593019008636475, 0.5000845789909363, 0.8523248434066772, 0.6096436977386475, 0.03975088149309158, 0.8757463097572327, -0.4429413080215454, 0.34528642892837524, 0.9585384130477905, -0.2681902050971985, 0.8988553285598755, 0.6452736854553223, 0.08591566979885101, -0.23895953595638275, 0.3268175423145294, 0.3083004653453827, 0.8203081488609314, 0.15056273341178894, -0.25059857964515686, -0.18929454684257507, -0.3688729703426361, 0.06641183793544769, 0.2878303527832031, 0.17101213335990906, -0.06423499435186386, -0.22608429193496704, 0.06796490401029587, -0.0051661524921655655, 0.034400660544633865, -0.6955420970916748, 0.9832990169525146, -0.013760223053395748, -0.7129161953926086, 0.5958443284034729, 0.06261803209781647, 0.5232919454574585, -0.5689877271652222, 0.005475585348904133, -0.2534072995185852, 0.5799046754837036, -0.05325982719659805, -0.30533620715141296, 0.41000139713287354, 0.37788593769073486, -0.3617956340312958, -0.44911885261535645, 0.7850120663642883, -0.7058772444725037, -0.4038969576358795, 0.2579975128173828, 0.2181210219860077, -0.22776880860328674, 0.1728450357913971, -0.3982149660587311, 0.6100786328315735, -0.025886891409754753, -0.4469209909439087, 0.4378789961338043, 0.4967166781425476, 0.14098361134529114, 0.7071612477302551, 0.4301098585128784, 0.2439030557870865, 0.485649973154068, 0.03820863366127014, 1.2687700986862183, -0.46177926659584045, -0.3727392852306366, -0.6710306406021118, 0.6160284280776978, 0.22450946271419525, -0.29512032866477966, 0.5823949575424194, 0.5947692394256592, 0.4265247881412506, -0.03711533173918724, 0.6253880858421326, -0.05784352868795395, 0.3239244222640991, -0.4230169653892517, 0.7430877685546875, -0.6030120253562927, -0.010052577592432499, -0.1378200203180313, -0.8551301956176758, -0.3619818091392517, 0.38599905371665955, 0.2638835608959198, -0.19941899180412292, 0.4841850697994232, 0.7675870656967163, -0.2703913450241089, -0.39331886172294617, 0.3460697829723358, 0.5566373467445374, 0.033349476754665375, 0.857837438583374, 0.5172231197357178, -0.5793299078941345, 0.8514695167541504, 0.03364555537700653, -0.35418999195098877, -0.2539900839328766, -0.7596637010574341, -0.6166607737541199, -0.2738322615623474, -0.37055060267448425, -0.047208186239004135, 0.08018354326486588, 0.9743514060974121, 0.5492262840270996, -0.9034854173660278, 0.1385890245437622, -0.004064300563186407, 0.08993683755397797, -0.2054966241121292, -0.2517816126346588, 0.47426238656044006, -0.8593155741691589, -0.8431236147880554, 0.21833299100399017, 0.6096500754356384, -0.06965864449739456, -0.4144551753997803, 0.05011295899748802, -0.03441913425922394, 0.08296509832143784, 0.5677590370178223, 0.11823511868715286, -0.6264839768409729, -0.5301154851913452, 0.16418366134166718, -0.4951916038990021, -0.0753309577703476, 0.8991285562515259, -0.6077564358711243, 0.4147632122039795, 0.4913937449455261, 1.1969672441482544, 0.3559090793132782, -0.01040130015462637, 0.46989279985427856, -1.0240600109100342, 0.4093315601348877, 0.19181862473487854, 0.4040284752845764, 0.36307352781295776, -0.5052975416183472, 0.22700707614421844, 0.29998448491096497, -0.4368259310722351, -0.9963245391845703, -0.01509794220328331, -1.268378734588623, 0.010283686220645905, 1.2191118001937866, -0.007671257480978966, -0.642742931842804, 0.019673582166433334, -0.4325454831123352, 0.23795126378536224, -0.45166832208633423, 0.7257671356201172, 0.5958699584007263, 0.385698139667511, -0.19506683945655823, -0.41567540168762207, 0.39336803555488586, 0.4044803977012634, -0.5340400338172913, 0.8493521809577942, 0.46492165327072144, 0.1555798500776291, 0.2563175559043884, 0.8381815552711487, -0.15010854601860046, 0.3078943192958832, 0.007481071632355452, 0.05730915442109108, 0.12845005095005035, -0.527388334274292, -0.43220797181129456, 0.18174605071544647, 0.07283500581979752, -0.053663454949855804 ]
http://arxiv.org/abs/2407.02320v1
http://arxiv.org/pdf/2407.02320v1
Exploring the Role of Transliteration in In-Context Learning for Low-resource Languages Written in Non-Latin Scripts
2024-07-02T14:51:20
2024-07-02T14:51:20
Chunlan Ma, Yihong Liu, Haotian Ye, Hinrich Schütze
cs.CL
cs.CL, cs.AI
Decoder-only large language models (LLMs) excel in high-resource languages across various tasks through few-shot or even zero-shot in-context learning (ICL). However, their performance often does not transfer well to low-resource languages, especially those written in non-Latin scripts. Inspired by recent work that leverages transliteration in encoder-only models, we investigate whether transliteration is also effective in improving LLMs' performance for low-resource languages written in non-Latin scripts. To this end, we propose three prompt templates, where the target-language text is represented in (1) its original script, (2) Latin script, or (3) both. We apply these methods to several representative LLMs of different sizes on various tasks including text classification and sequential labeling. Our findings show that the effectiveness of transliteration varies by task type and model size. For instance, all models benefit from transliterations for sequential labeling (with increases of up to 25%).
[ 0.2762855887413025, -0.19843994081020355, 0.5886778235435486, 0.03267146274447441, -0.31573817133903503, 0.23858855664730072, -0.5644659996032715, -0.2603181302547455, 0.0766986533999443, 0.25540977716445923, -0.39910581707954407, -0.5556883215904236, -0.546500027179718, 0.7303720712661743, -0.1270926296710968, 0.7422485947608948, -0.15559473633766174, 0.3917316794395447, -0.13614237308502197, -0.10966868698596954, -0.44705304503440857, -0.27565109729766846, -0.6439964771270752, -0.275909960269928, 0.9066925048828125, 0.7824677228927612, 0.2336263358592987, 0.8338014483451843, 0.47002145648002625, 0.2123989760875702, 0.07557129114866257, 0.07622789591550827, -0.510753870010376, 0.43218523263931274, -0.19475916028022766, -0.5821517109870911, 0.21239900588989258, -0.0872325599193573, 0.9421918392181396, 0.7236009836196899, 0.05209397152066231, 0.36759069561958313, 0.18035447597503662, 0.3991113603115082, -0.7061439156532288, 0.3180680572986603, -0.6824588775634766, 0.0021472941152751446, -0.37689271569252014, -0.4595800042152405, -0.8400290608406067, -0.23876260221004486, 0.03763439133763313, -0.5663204193115234, 0.06530137360095978, 0.38510823249816895, 0.25314807891845703, 0.2968566119670868, -0.20937591791152954, -0.36404022574424744, -0.7058587074279785, 1.1554808616638184, -0.435664564371109, 0.26681795716285706, 0.2751331925392151, 0.32255029678344727, 0.04232364147901535, -0.38430508971214294, -0.20497798919677734, -0.08457330614328384, -0.24461224675178528, -0.17449434101581573, -0.2062419205904007, 0.07859776169061661, 0.614767849445343, 0.17011569440364838, -0.4225371479988098, 0.5315507054328918, -0.2581973075866699, -0.32681840658187866, -0.00787276029586792, 0.12841100990772247, 0.46530553698539734, -0.3461204171180725, -0.23531636595726013, -0.08801241964101791, -1.2066372632980347, 0.11333708465099335, 0.10992280393838882, 0.9514488577842712, -0.23224447667598724, 0.41772210597991943, 0.1673145443201065, 0.8420858383178711, 0.2017827332019806, -0.7170372605323792, 0.051907170563936234, -0.2808625102043152, -0.23359891772270203, 0.31446465849876404, 0.5464631915092468, -0.09059419482946396, -0.06967992335557938, -0.4366154074668884, -0.30973169207572937, -0.37149256467819214, -0.035650014877319336, -0.9286564588546753, 0.2651122808456421, -0.20622558891773224, -0.599121630191803, 0.1426764577627182, -0.23503068089485168, -0.507136344909668, -0.5447083115577698, -0.17216596007347107, 0.42810335755348206, -0.5555851459503174, 0.09616170078516006, -0.15442514419555664, -0.17939625680446625, 0.44158968329429626, 0.5862712860107422, -0.9092158675193787, 0.058935798704624176, 0.3546537160873413, 1.0032986402511597, -0.06905177235603333, -0.14476153254508972, -1.0784558057785034, 0.03844990208745003, -0.33479270339012146, 0.7268503904342651, -0.7675966024398804, -0.3619503378868103, 0.3603976368904114, -0.00981205329298973, -0.2871342897415161, -0.5863120555877686, 0.5240075588226318, -0.4792163670063019, -0.04243657365441322, -0.7203906178474426, -0.40701010823249817, -0.11001384258270264, 0.02622850425541401, -0.6393014192581177, 0.8436653017997742, 0.3751128911972046, -0.7340662479400635, 0.3295198380947113, -0.5246171951293945, -0.7269696593284607, 0.3087419867515564, -0.17800410091876984, 0.13778765499591827, 0.3415762484073639, -0.09784868359565735, 0.3356427848339081, -0.7189414501190186, -0.16846920549869537, 0.23008137941360474, -0.8747955560684204, 0.1480454057455063, -0.4481492340564728, 0.6337445378303528, 0.28203362226486206, -0.362349271774292, -0.007033392786979675, -0.6333727836608887, -0.06199898198246956, -0.03286904841661453, -0.6449477672576904, -0.2756039798259735, -0.23940804600715637, 0.17600397765636444, 0.31308916211128235, 0.18046718835830688, -0.6599062085151672, 0.2769034206867218, -0.334272176027298, 0.3337704837322235, 0.6666829586029053, -0.3084474503993988, 0.9084761142730713, -0.3722139298915863, 0.8491640090942383, 0.0629098042845726, -0.4251095652580261, -0.609209418296814, -0.11950735002756119, -0.7957860231399536, -0.6742658615112305, 0.4138305187225342, 0.3013099431991577, -1.2694077491760254, -0.11124905198812485, -0.34024637937545776, -0.3469032645225525, -0.6402619481086731, 0.23240484297275543, 0.6013227105140686, 0.85243821144104, 0.35629743337631226, -0.12033701688051224, -0.5531840920448303, -0.7544429302215576, -0.3512030243873596, -0.2999511659145355, -0.014189829118549824, 0.30312663316726685, 0.3404485881328583, 0.03806579113006592, 0.6308631896972656, 0.08723648637533188, -0.23802019655704498, -0.8041499257087708, 0.11775358766317368, 0.24656584858894348, 0.2701263725757599, 0.4798465967178345, -0.3211020827293396, -1.0434826612472534, -0.18400758504867554, -0.46538886427879333, -0.2344033271074295, -0.1623034030199051, 0.1078244000673294, 0.342074453830719, 0.45420318841934204, -0.4336012899875641, 0.05732179060578346, 0.35095030069351196, 0.15334059298038483, 0.44517725706100464, -0.30585846304893494, 0.11172367632389069, -0.9823954105377197, 0.22416789829730988, 0.12826387584209442, -0.24934546649456024, -0.7513619065284729, -0.10787971317768097, 0.26128530502319336, -0.19949497282505035, -0.825920820236206, 0.9189562797546387, -0.6147617697715759, -0.18947073817253113, -0.27663883566856384, 0.004100691061466932, -0.15607671439647675, 0.31833964586257935, 0.24924571812152863, 1.1068683862686157, 0.7713465690612793, -0.4397432208061218, -0.06770449876785278, 0.04153482988476753, -0.729512095451355, 0.5064405202865601, -0.3062010705471039, 0.03958828002214432, -0.3867754340171814, 0.5416542291641235, -0.8995286822319031, -0.24348010122776031, 0.33350870013237, -0.13887867331504822, 0.6102754473686218, -0.49050506949424744, -1.0092277526855469, 0.13074086606502533, -0.21453942358493805, 0.6568647027015686, 0.7324736714363098, -0.7362521886825562, 0.4081173837184906, -0.12626859545707703, 0.0914638563990593, -0.5859542489051819, -0.6006281971931458, -0.06864038109779358, -0.3927980363368988, -0.26767978072166443, 0.3355216681957245, -0.08469957858324051, -0.3433743417263031, -0.43102535605430603, 0.012225586920976639, 0.09599050134420395, -0.06058911234140396, 0.2152804583311081, 0.15354222059249878, -0.2901303470134735, 0.19228719174861908, -0.15179035067558289, -0.05374046787619591, -0.4137671887874603, -0.5405294299125671, 0.4755310118198395, 0.17964136600494385, -0.2896069586277008, -0.694319486618042, 0.41820985078811646, 0.5956193804740906, -0.11963850259780884, 1.0792211294174194, 0.5127484798431396, -0.24165624380111694, -0.27090319991111755, -0.33335888385772705, -0.13903242349624634, -0.46862202882766724, 0.06847776472568512, -0.2582939863204956, -0.8788203597068787, 0.5367122292518616, -0.11227548122406006, 0.08625676482915878, 0.3027210235595703, 0.5402522087097168, -0.27023664116859436, 0.5894628167152405, 0.8172861337661743, -0.05172860249876976, 0.8406998515129089, -0.16609328985214233, 0.2707711160182953, -0.9084327816963196, -0.027634385973215103, -0.714611291885376, -0.4602208733558655, -0.6462109088897705, -0.6445012092590332, 0.3690290153026581, -0.1707766056060791, -0.22999201714992523, 0.4624923765659332, -0.04775979742407799, 0.6539920568466187, 0.6039282083511353, -0.21593518555164337, 0.15626193583011627, 0.40259137749671936, -0.212153822183609, -0.2999963164329529, -0.9313978552818298, -0.4470136761665344, 0.9335278272628784, 0.1092754602432251, 0.9173192977905273, 0.039568379521369934, 0.9527257680892944, 0.09612922370433807, 0.28905439376831055, -0.9704096913337708, 0.40271055698394775, -0.2724042534828186, -0.4376196265220642, -0.12464474886655807, -0.47219210863113403, -0.9472977519035339, 0.3499707877635956, 0.06997346132993698, -0.6477231979370117, 0.12486632168292999, -0.04996344819664955, -0.5384966731071472, 0.31292885541915894, -0.4670376777648926, 0.6924295425415039, 0.06236933544278145, -0.3314971923828125, 0.01825125515460968, -0.5789884328842163, -0.04194518178701401, -0.12870734930038452, 0.18707498908042908, 0.1361876130104065, -0.0892389789223671, 0.6336045265197754, -0.11665339022874832, 0.8940362930297852, -0.1056571826338768, -0.07584419846534729, 0.45042505860328674, 0.2984524369239807, 0.6702874898910522, -0.23067325353622437, -0.3042583465576172, 0.11282408237457275, -0.2817547619342804, -0.33950144052505493, -0.46215978264808655, 0.5703004598617554, -0.6146315336227417, -0.6106778383255005, -0.59539794921875, -0.642733097076416, -0.09803906083106995, 0.17284546792507172, 0.4898439645767212, 0.7005434632301331, 0.08385241031646729, 0.27900320291519165, 0.7535820603370667, -0.47137561440467834, 0.5617660880088806, 0.8807694911956787, 0.2785602807998657, -0.06396179646253586, 0.8858779072761536, 0.18437260389328003, 0.29877907037734985, 0.7493416666984558, -0.11138815432786942, -0.2630336284637451, -0.4642420709133148, -0.6650531888008118, 0.5024037957191467, -0.9982256889343262, -0.5249437689781189, -0.39986905455589294, -0.08748406916856766, -0.24826554954051971, -0.46502068638801575, -0.17101703584194183, -0.30575430393218994, -0.5402234196662903, -0.043005309998989105, 0.10204077512025833, 0.4444870352745056, -0.0832396149635315, 0.5073146820068359, -0.6953750252723694, -0.08697785437107086, -0.11734281480312347, 0.09398941695690155, 0.14519286155700684, -0.8858149647712708, -0.5482808351516724, -0.17616496980190277, -0.13370013236999512, -0.717546284198761, 0.4444277286529541, 0.13612696528434753, 0.39432212710380554, 0.28346532583236694, 0.030119745060801506, 0.6938239932060242, -0.8741052150726318, 0.6850142478942871, 0.30241167545318604, -0.7114723920822144, 0.231402188539505, -0.31099632382392883, 0.560779869556427, 0.5280036330223083, 0.3201964199542999, -0.8749097585678101, -0.257342129945755, -0.15596552193164825, -0.5628333687782288, 1.2385629415512085, 0.03361784294247627, 0.270711213350296, -0.30299848318099976, 0.3438904881477356, 0.41441139578819275, 0.10945320874452591, -0.7099050283432007, -0.24721193313598633, 0.23805199563503265, -0.3318444490432739, -0.1451461762189865, -0.33457469940185547, 0.10847985744476318, 0.054183200001716614, 0.4928126335144043, -0.29106295108795166, 0.21321097016334534, -0.00655117304995656, -0.579227864742279, -0.4895721971988678, 0.4949440360069275, 0.4269273579120636, 0.41151484847068787, -0.0035119005478918552, 0.22523386776447296, 0.06252157688140869, -0.05800184607505798, 0.35014015436172485, -0.22920693457126617, -0.39876529574394226, 0.0908491462469101, 0.6162900328636169, 0.7153953909873962, 0.6889508962631226, -0.7506715655326843, 0.3952246904373169, -0.15819762647151947, 0.3625527322292328, -0.060990218073129654, -0.019371679052710533, -0.16107165813446045, 0.17894579470157623, 0.504440188407898, 0.03739344701170921, -0.023746373131871223, -0.6674514412879944, -0.22234082221984863, 0.4424285888671875, -0.3287922441959381, -0.47972381114959717, 0.36572858691215515, 0.20579111576080322, -0.23412492871284485, 0.7491172552108765, -0.22602330148220062, -0.275399774312973, 0.5222760438919067, 0.9868689775466919, 0.8446606397628784, -0.1692371517419815, 0.436139315366745, 0.7295853495597839, 0.2675192058086395, -0.26290175318717957, 0.05655774474143982, -0.32727354764938354, -0.4140178859233856, -0.4470871388912201, -0.87356036901474, -0.44386157393455505, -0.03584662079811096, -0.4997163712978363, 0.3704890012741089, -0.42570507526397705, 0.014899280853569508, -0.20150822401046753, -0.06566578894853592, -0.9196768999099731, -0.12277819216251373, 0.2647940516471863, 0.955762505531311, -0.7057939171791077, 0.8424057364463806, 0.6226709485054016, -0.33830496668815613, -0.5672481060028076, 0.1925383359193802, 0.028913207352161407, -0.7179186344146729, 1.2089358568191528, 0.48181894421577454, -0.29300108551979065, 0.0683336853981018, -0.31148770451545715, -1.169569492340088, 1.1077234745025635, 0.8172056674957275, -0.4216262102127075, -0.17700323462486267, 0.15368753671646118, 0.5219363570213318, -0.5471292734146118, 0.3533600866794586, 0.18707622587680817, 0.3350875675678253, 0.2411879599094391, -0.9757568836212158, 0.014168046414852142, 0.20326583087444305, 0.22470037639141083, -0.04439037665724754, -0.6471994519233704, 0.797671377658844, -0.3497699797153473, -0.7240104675292969, 0.2477056384086609, 0.6729997992515564, 0.09879748523235321, -0.11427202820777893, 0.2030874490737915, 0.08407564461231232, 0.6799697279930115, 0.03914373740553856, 1.1782487630844116, -0.3680941164493561, -0.01411801390349865, 0.9732251763343811, -0.3094598054885864, 0.6638146638870239, 0.5349041223526001, 0.10654760152101517, 0.6315958499908447, 0.7338763475418091, 0.2778605818748474, 0.6646215915679932, 0.1201220452785492, -0.26248857378959656, -0.3259824216365814, -0.5332269072532654, 0.02222277969121933, 0.40857160091400146, 0.07710065692663193, -0.5468197464942932, -0.4830954670906067, 0.07367824018001556, 0.06688091903924942, -0.11043013632297516, -0.4613998234272003, 0.6421307921409607, 0.17776969075202942, -0.7337692975997925, 0.6709361672401428, 0.3396332859992981, 0.6608445048332214, -0.6265384554862976, 0.06452656537294388, -0.2926258146762848, -0.029859432950615883, 0.03321995213627815, -0.3014623522758484, -0.05163009837269783, 0.3794846534729004, -0.452112078666687, -0.579742968082428, 0.5245272517204285, -0.626518189907074, -0.42290014028549194, 0.22233416140079498, 0.4755077660083771, 0.27574777603149414, 0.259889155626297, -0.3797157108783722, 0.09610044211149216, -0.13811467587947845, 0.16183055937290192, 0.7420274615287781, 0.33096522092819214, 0.052108071744441986, 0.5383185744285583, 0.37013885378837585, 0.08724764734506607, -0.004829870071262121, 0.05223329737782478, 0.568926990032196, -0.4973486065864563, -0.27798524498939514, -0.9060360193252563, 0.37739846110343933, 0.3666805922985077, 0.036199405789375305, 1.0157780647277832, 0.553190290927887, 0.777484655380249, -0.27370840311050415, 0.7553389668464661, 0.07232976704835892, 0.29157692193984985, -0.5400587320327759, 0.4004609286785126, -0.653095006942749, 0.12784698605537415, -0.028541862964630127, -0.9759461879730225, -0.2817695438861847, 0.5799914598464966, -0.2497072070837021, -0.08672302961349487, 0.8307480216026306, 0.5446857213973999, 0.02056749165058136, -0.3253783881664276, 0.5293632745742798, -0.08181823790073395, 0.10374504327774048, 0.5974149107933044, 0.7032966613769531, -0.31341034173965454, 0.48788461089134216, -0.0743599459528923, -0.09010583162307739, -0.3408202826976776, -0.7189317345619202, -1.0103777647018433, -0.6205632090568542, -0.23355460166931152, -0.24269698560237885, -0.1818191111087799, 1.2511804103851318, 0.4555492699146271, -0.5494881272315979, -0.40294671058654785, 0.4770098626613617, 0.266446053981781, -0.03818289190530777, -0.11649151891469955, 0.29790306091308594, -0.7228527069091797, -1.015537977218628, 0.7421022057533264, 0.530495285987854, -0.018381677567958832, -0.18859374523162842, -0.07145035266876221, 0.1546531319618225, 0.15587358176708221, 0.5733790993690491, 0.3704437017440796, -0.7562461495399475, -0.14730004966259003, 0.17872121930122375, -0.4391747713088989, 0.2983502447605133, 1.0862334966659546, -0.7398465871810913, 0.49157536029815674, 0.46978700160980225, 0.47668880224227905, 0.07023759931325912, -0.134004145860672, 0.4455890953540802, -0.9266998767852783, 0.23311826586723328, 0.13333791494369507, 0.5312843322753906, 0.7285078167915344, -0.317861944437027, 0.12577708065509796, 0.013663439080119133, -0.22582970559597015, -0.8638297319412231, 0.31900447607040405, -0.49798548221588135, 0.00793240312486887, 1.56016206741333, -0.25735384225845337, -0.39418745040893555, 0.12293470650911331, -0.07682019472122192, 0.1892218440771103, -0.5503883361816406, 0.5506212711334229, 0.7570870518684387, 0.01868344657123089, -0.013268856331706047, -0.22496981918811798, 0.664280891418457, 0.11819079518318176, -0.37972137331962585, 0.27865132689476013, 0.5350233316421509, 0.47655579447746277, 0.0654182881116867, 0.8346794843673706, -0.09101130813360214, 0.25975775718688965, -0.19670164585113525, -0.2726474702358246, 0.09087171405553818, -0.5742741227149963, -0.598527193069458, -0.16542868316173553, 0.22983136773109436, 0.16258686780929565 ]
http://arxiv.org/abs/2407.02317v1
http://arxiv.org/pdf/2407.02317v1
Soft Language Prompts for Language Transfer
2024-07-02T14:50:03
2024-07-02T14:50:03
Ivan Vykopal, Simon Ostermann, Marián Šimko
cs.CL
cs.CL
Cross-lingual knowledge transfer, especially between high- and low-resource languages, remains a challenge in natural language processing (NLP). This study offers insights for improving cross-lingual NLP applications through the combination of parameter-efficient fine-tuning methods. We systematically explore strategies for enhancing this cross-lingual transfer through the incorporation of language-specific and task-specific adapters and soft prompts. We present a detailed investigation of various combinations of these methods, exploring their efficiency across six languages, focusing on three low-resource languages, including the to our knowledge first use of soft language prompts. Our findings demonstrate that in contrast to claims of previous work, a combination of language and task adapters does not always work best; instead, combining a soft language prompt with a task adapter outperforms other configurations in many cases.
[ -0.46285107731819153, -0.5716604590415955, 0.3761487901210785, 0.4321978986263275, -0.08914171904325485, 0.07786639034748077, -0.7030120491981506, -0.39472517371177673, -0.06854967027902603, 0.29219850897789, -0.5625338554382324, -0.17967841029167175, -0.3765610456466675, 0.40588369965553284, 0.13957232236862183, 1.1344648599624634, -0.06525681912899017, -0.2797543704509735, 0.23910686373710632, -0.4154934585094452, -0.9259343147277832, -0.1336442232131958, -0.8152327537536621, -0.22669149935245514, 0.6884788870811462, 0.7022360563278198, 0.8183807134628296, 0.06460612267255783, 0.274842232465744, 0.276253879070282, -0.0688076838850975, 0.40075376629829407, -0.3860360383987427, 0.06378534436225891, -0.863007664680481, -0.5013990998268127, -0.055250126868486404, -0.381008505821228, 0.5452111959457397, 1.0743484497070312, 0.22140100598335266, 0.05581272393465042, 0.38267937302589417, 0.7353131175041199, -0.6847780346870422, 0.08688762784004211, -0.5980320572853088, 0.16126739978790283, -0.1412404477596283, -0.4214582145214081, -0.26236680150032043, -0.2861807644367218, 0.23718293011188507, -0.7966523766517639, 0.07182759046554565, 0.03956427052617073, 0.54156494140625, 0.20857059955596924, -0.33257412910461426, -0.40874549746513367, -0.7034606337547302, 1.0354523658752441, -0.4705342650413513, 0.5215684175491333, 0.190133735537529, 0.2495901882648468, -0.10818283259868622, -0.5560770630836487, -0.38813671469688416, -0.052792739123106, -0.31811174750328064, -0.306476891040802, -0.26982879638671875, 0.04621761664748192, 0.15257249772548676, 0.02781068906188011, -0.4804714024066925, 0.27291762828826904, -0.3212626874446869, -0.29946181178092957, 0.37735360860824585, 0.07420552521944046, 0.6706523299217224, -0.0939507856965065, -0.14166349172592163, -0.022624598816037178, -0.6511940956115723, 0.33211851119995117, 0.10130494832992554, 0.9645431041717529, -0.08274805545806885, 0.3805563449859619, -0.33498334884643555, 1.0761138200759888, 0.3138982057571411, -0.19936472177505493, -0.057608019560575485, -0.7149164080619812, 0.11176890134811401, 0.11911079287528992, 0.558462381362915, 0.4714635908603668, 0.41912180185317993, -0.5101208090782166, -0.20807458460330963, -0.3106643557548523, -0.06551691889762878, -0.6326029300689697, 0.11652031540870667, -0.151201993227005, -0.37296488881111145, 0.12020646035671234, -0.48757147789001465, -0.8418357968330383, -0.4709930717945099, -0.5003421306610107, 0.33307191729545593, -0.4584605097770691, -0.24802429974079132, 0.24449674785137177, -0.31940069794654846, 0.2879977226257324, 0.43626701831817627, -1.3734683990478516, 0.4026796221733093, 0.6863314509391785, 0.848822832107544, -0.35404783487319946, -0.3342219293117523, -0.9027993083000183, 0.12980571389198303, -0.21007144451141357, 0.949927031993866, -0.6185407638549805, -0.19264358282089233, 0.32967180013656616, 0.22043639421463013, -0.35911327600479126, -0.5676919221878052, 0.4784441292285919, -0.1906781941652298, 0.4211532771587372, -0.6737291216850281, -0.06566618382930756, -0.2126481980085373, 0.11214271187782288, -0.5967963337898254, 0.9513429403305054, 0.413041353225708, -0.4487120807170868, 0.4416652321815491, -0.7117024064064026, -0.9376625418663025, 0.17610883712768555, 0.08239315450191498, 0.4545312225818634, 0.203423410654068, 0.29756981134414673, 0.4710077941417694, -0.3340749144554138, 0.031182583421468735, 0.1905195713043213, -0.39633259177207947, -0.029829302802681923, -0.3167131841182709, 0.8272316455841064, 0.1879526823759079, -0.46241945028305054, 0.003284293692559004, -0.6685872673988342, 0.04685145989060402, -0.12743237614631653, -0.5457946062088013, -0.6523523330688477, -0.5486173629760742, 0.313239723443985, 0.3071582317352295, 0.37978366017341614, -0.14094224572181702, 0.28582069277763367, -0.4606662690639496, 0.2513939142227173, 0.5005576014518738, -0.3181796669960022, 0.8157171607017517, -0.31495946645736694, 0.6272591948509216, -0.05861452966928482, -0.08917517960071564, -0.09870747476816177, -0.4841693043708801, -0.5795016884803772, 0.1457800716161728, 0.3076435625553131, 0.8545833826065063, -1.2875869274139404, 0.08188345283269882, -0.06830299645662308, -0.3039228916168213, -0.6005321741104126, 0.8071244955062866, 0.41489213705062866, 0.4733833968639374, 0.40637776255607605, -0.14159204065799713, -0.27668052911758423, -0.8174273371696472, -0.740634560585022, -0.06515617668628693, -0.025651507079601288, 0.2835412919521332, -0.0676928237080574, 0.049185436218976974, 0.772545576095581, -0.1075751781463623, -0.23405523598194122, -0.663615345954895, 0.27863848209381104, 0.43985888361930847, 0.49076396226882935, 1.0275650024414062, -0.7348482012748718, -0.8035451173782349, 0.20447254180908203, -0.31806567311286926, -0.40441498160362244, -0.29696935415267944, -0.09950508177280426, 0.3949774205684662, 0.5014727711677551, -0.37243038415908813, -0.12595193088054657, 0.6939996480941772, -0.671329140663147, 0.3676069378852844, -0.35142454504966736, 0.2788836359977722, -0.7203788757324219, 0.04789549484848976, 0.0816383808851242, -0.1983909159898758, -0.917855441570282, -0.06932584941387177, -0.18540945649147034, 0.10504704713821411, -0.8224208354949951, 0.8975111246109009, -0.5532498359680176, 0.2278190702199936, -0.31342369318008423, 0.1902862936258316, 0.08074689656496048, 0.637144923210144, -0.020090574398636818, 0.9305564165115356, 0.6201553344726562, -0.6633602380752563, 0.27528008818626404, 0.1300521194934845, -0.10847819596529007, 0.9304699301719666, -0.5916522741317749, 0.2599720358848572, -0.04132666811347008, -0.24696391820907593, -0.8994263410568237, 0.2616960108280182, 0.2644338011741638, 0.09936013072729111, 0.439635694026947, -0.3077791929244995, -0.4327489137649536, 0.13376384973526, -0.39933502674102783, 0.5983070135116577, 0.38364410400390625, -0.5450605154037476, 0.7215918302536011, 0.08069054037332535, -0.5625869035720825, -0.35619670152664185, -0.7514170408248901, 0.18700993061065674, -0.2224305123090744, -0.6942387819290161, 0.3633654713630676, -0.09723037481307983, -0.2665843963623047, -0.00989664625376463, 0.12903477251529694, -0.02382958121597767, -0.008493168279528618, -0.13800713419914246, 0.07225413620471954, -0.5316298007965088, -0.13896392285823822, 0.2822457551956177, -0.2595538794994354, -0.24864202737808228, -0.3447219133377075, 0.366168737411499, -0.33521604537963867, -0.12856824696063995, -0.3004717230796814, 0.5847721695899963, 0.4216631054878235, 0.07045523077249527, 0.7652863264083862, 0.9689001441001892, -0.23419468104839325, -0.2267046719789505, -0.5039834976196289, -0.042032159864902496, -0.5312709212303162, 0.14546306431293488, -0.5000154376029968, -0.9683529138565063, 0.49922046065330505, -0.3883839249610901, 0.2209751009941101, 0.19706369936466217, 0.5184942483901978, 0.3289284408092499, 1.045615315437317, 0.9094619154930115, -0.07333946228027344, 0.766324520111084, 0.20423901081085205, 0.24966292083263397, -0.6448694467544556, 0.12237561494112015, -0.7042633295059204, -0.4946293830871582, -0.7117779850959778, -0.45104774832725525, 0.12690916657447815, 0.15832270681858063, 0.10416294634342194, 0.5421204566955566, -0.2776390314102173, 0.4378947615623474, 0.8245082497596741, -0.1762087196111679, 0.32188907265663147, -0.003292806912213564, -0.12187203019857407, -0.13288664817810059, -1.1573039293289185, -0.26994436979293823, 0.5373338460922241, 0.06405613571405411, 0.6742759943008423, 0.188690185546875, 0.3864142894744873, 0.025816097855567932, -0.10790356993675232, -0.847612738609314, 0.5890074372291565, -0.7233783602714539, -0.39614370465278625, -0.34105607867240906, -0.24073225259780884, -1.178601622581482, 0.1847619265317917, -0.2803943455219269, -0.8377201557159424, 0.46908271312713623, 0.038317352533340454, -0.5708587765693665, 0.098884716629982, -0.9902396202087402, 0.9211891293525696, -0.25617703795433044, -0.603140115737915, -0.15385501086711884, -0.43191006779670715, -0.054871805012226105, -0.024796290323138237, 0.36133816838264465, -0.09186609089374542, -0.2618424594402313, 0.7679599523544312, -0.12882143259048462, 0.8410176634788513, -0.3057052493095398, -0.4032992422580719, 0.1532454788684845, 0.22398652136325836, 0.5174581408500671, -0.040243033319711685, -0.17377838492393494, 0.00537759019061923, -0.009652066975831985, -0.4001002311706543, -0.8666141629219055, 0.7139064073562622, -0.47635820508003235, -0.500312328338623, -0.058863069862127304, -0.9234269261360168, -0.5213806629180908, 0.4221545159816742, -0.03328896686434746, 0.48176056146621704, 0.09624099731445312, 0.03278251737356186, 0.621992826461792, -0.520574688911438, 0.5137019753456116, 0.7973968386650085, 0.026056639850139618, -0.05268729850649834, 1.022402286529541, 0.15054693818092346, 0.33658498525619507, 0.40258485078811646, 0.3897796869277954, -0.1424850970506668, -0.5539184212684631, -0.7694708704948425, 0.19668257236480713, -0.7104911804199219, -0.20337344706058502, -0.3439829349517822, 0.10749954730272293, -0.5635025501251221, -0.6073477864265442, -0.21042616665363312, -0.6097155213356018, -0.26829418540000916, 0.19573073089122772, 0.4816943109035492, 0.415532648563385, -0.19190333783626556, 0.2581659257411957, -1.0944442749023438, 0.6812483072280884, 0.41672685742378235, 0.44325247406959534, -0.4050239324569702, -0.4491199851036072, -0.2733007073402405, -0.04395757615566254, 0.3116392195224762, -0.7079333662986755, 0.18150272965431213, 0.4723563492298126, 0.6917554140090942, 0.1650753617286682, 0.25315457582473755, 0.5994179844856262, -0.4826456904411316, 0.8695084452629089, 0.24533849954605103, -0.9022120833396912, 0.5842695236206055, -0.3797732889652252, 0.60219806432724, 0.9365348219871521, 0.37786373496055603, -0.7675063610076904, -0.317384272813797, -0.16327442228794098, -1.0403249263763428, 0.9125242233276367, -0.1211242750287056, 0.3295629024505615, 0.290311723947525, 0.23158793151378632, 0.4099828004837036, -0.09448140114545822, -0.35120558738708496, -0.2186025083065033, 0.0908721461892128, -0.299029141664505, 0.07002045214176178, 0.057310551404953, -0.16889487206935883, -0.34609976410865784, 0.4100757837295532, -0.6425742506980896, -0.11977969110012054, 0.011132587678730488, -0.36405250430107117, -0.3864465355873108, 0.5336760878562927, 0.42700013518333435, 0.6681413054466248, 0.17536304891109467, 0.2510741949081421, 0.6443459987640381, -0.4412326216697693, -0.03271227329969406, 0.20472003519535065, -0.31081798672676086, 0.1932201087474823, 0.4024141728878021, 0.9122183918952942, 0.715684175491333, -0.6695789694786072, 0.18858805298805237, -0.21279439330101013, 0.0024759077932685614, 0.43827322125434875, 0.4115505814552307, -0.0990573912858963, 0.3279707133769989, 0.22708292305469513, 0.08546298742294312, 0.25308728218078613, -0.7413448095321655, -0.09064560383558273, 0.4438748061656952, -0.3923588991165161, -0.40555328130722046, 0.369454026222229, 0.4078660011291504, -0.46570879220962524, 0.2487390786409378, -0.1414356380701065, -0.5496212840080261, 0.12199173867702484, 0.6284953951835632, 0.7391955852508545, -0.19505135715007782, 0.24970780313014984, 0.10544712841510773, 0.2672480046749115, 0.02874436229467392, 0.4484216570854187, -0.2890832722187042, -0.556236743927002, -0.660883367061615, -0.5180890560150146, -0.4622836410999298, -0.18395020067691803, -0.4676310122013092, 0.47177162766456604, -0.22545358538627625, 0.0465485118329525, 0.016404375433921814, 0.23671001195907593, -1.0343306064605713, -0.1482926607131958, 0.2514294385910034, 1.0786892175674438, -0.8818369507789612, 0.6114242672920227, 1.044325828552246, -0.09631311893463135, -0.8110491633415222, -0.1652885377407074, -0.16967028379440308, -0.9429744482040405, 0.5836827754974365, -0.1415124088525772, -0.30694568157196045, -0.03555622696876526, -0.15528972446918488, -0.5607527494430542, 0.624993085861206, 0.5510389804840088, -0.5735968351364136, -0.0525984950363636, 0.4844669699668884, 0.44185909628868103, 0.03680039942264557, 0.13131600618362427, 0.8754081130027771, 0.9082822799682617, -0.099663645029068, -1.3347288370132446, 0.6027498245239258, -0.23068156838417053, -0.005959658417850733, 0.17421329021453857, -0.47121182084083557, 0.49361616373062134, -0.2133892923593521, -0.15207326412200928, -0.20359958708286285, 0.6662795543670654, 0.059573329985141754, 0.3564744293689728, 0.9377835392951965, -0.022480566054582596, 0.671572744846344, 0.054583992809057236, 0.712455689907074, -0.5533195734024048, -0.16425922513008118, 0.7638462781906128, -0.20177090167999268, 0.5812482833862305, 0.8711920380592346, -0.07536771148443222, 0.6142073273658752, 0.09725634008646011, 0.29292431473731995, 0.5547757148742676, -0.07432108372449875, -0.24528059363365173, -0.13481645286083221, -0.5988541841506958, -0.2796977460384369, 0.2162751853466034, 0.5712891221046448, 0.001331852632574737, -0.42977461218833923, 0.2925227880477905, -0.06164043769240379, -0.055012427270412445, -0.39537811279296875, 0.9769551157951355, 0.12545965611934662, -1.0720757246017456, 0.7124430537223816, 0.004205093719065189, 1.1955909729003906, -0.6515132784843445, -0.15241871774196625, -0.2430730164051056, 0.06117706000804901, -0.2803383469581604, -0.9901629090309143, 0.4607810378074646, 0.03251691162586212, 0.008273681625723839, -0.8381498456001282, 1.192987084388733, -0.6178232431411743, -0.26387539505958557, 0.343609094619751, 0.7727555632591248, -0.04015986993908882, -0.05619140714406967, -0.7205452919006348, -0.23095768690109253, -0.11555498093366623, -0.23209166526794434, 0.5783786773681641, 0.9454050660133362, -0.032368361949920654, 0.3002401292324066, 0.7841677069664001, 0.29021409153938293, 0.07175345718860626, 0.3782420754432678, 0.9023209810256958, -0.7019128799438477, -0.49924492835998535, -0.5591009855270386, 0.45342883467674255, 0.2617405951023102, -0.4696735739707947, 0.7376649975776672, 0.17828965187072754, 0.6959912180900574, 0.025420965626835823, 0.7479569315910339, -0.20779356360435486, 0.3243623673915863, -0.671782910823822, 0.4482000768184662, -0.6015332937240601, 0.16560512781143188, -0.2875458002090454, -0.7531876564025879, -0.20785261690616608, 0.46140775084495544, -0.26393991708755493, -0.10911485552787781, 0.6318381428718567, 0.6646676063537598, -0.14990197122097015, 0.03610747680068016, 0.20406195521354675, -0.058323949575424194, 0.14711233973503113, 0.8173817992210388, 0.6424480676651001, -0.18656668066978455, 0.7266018986701965, -0.5685586929321289, -0.18156538903713226, -0.4036426544189453, -1.046245813369751, -0.8525793552398682, -0.616645097732544, -0.34522032737731934, -0.37902936339378357, 0.28251275420188904, 0.9470521807670593, 0.6657204031944275, -0.9784563779830933, -0.25731244683265686, 0.11633867770433426, 0.40089669823646545, -0.4863148331642151, -0.27537670731544495, 0.17840993404388428, -0.8241866230964661, -0.790797770023346, 0.6095287799835205, 0.20620402693748474, -0.1685921847820282, -0.2996065020561218, -0.04662168025970459, -0.10537515580654144, -0.07003408670425415, 0.7937132120132446, 0.5396333336830139, -0.3284050226211548, -0.308954119682312, 0.18784672021865845, -0.09209880232810974, -0.17205409705638885, 1.186484694480896, -0.9234930276870728, 0.03702254593372345, 0.8911525011062622, 0.6857700347900391, -0.04987597465515137, -0.2163483053445816, 0.9711505174636841, -0.7784080505371094, 0.2924821376800537, 0.12282606214284897, 0.3181775212287903, 0.4731007218360901, -0.3911202847957611, 0.3288459777832031, 0.08029289543628693, -0.28319594264030457, -0.7607218623161316, -0.0012667370028793812, -1.0918952226638794, -0.47657278180122375, 1.3770278692245483, 0.03927885368466377, -0.30818870663642883, -0.6316480040550232, -0.5156760215759277, 0.19816353917121887, -0.3676708936691284, 0.49474036693573, 0.6414552330970764, -0.29744046926498413, -0.09386441111564636, -0.5668275356292725, 0.6442261338233948, 0.69538813829422, -0.7740106582641602, 0.01829661801457405, 0.1887892782688141, 0.3290201723575592, 0.3939670920372009, 0.5722532868385315, 0.33281052112579346, 0.3605554401874542, -0.25681933760643005, -0.46952736377716064, 0.06288298964500427, -0.31198689341545105, -0.4775240421295166, 0.10477957874536514, 0.024393310770392418, 0.20955196022987366 ]
http://arxiv.org/abs/2407.02310v1
http://arxiv.org/pdf/2407.02310v1
Evaluating the Ability of LLMs to Solve Semantics-Aware Process Mining Tasks
2024-07-02T14:44:49
2024-07-02T14:44:49
Adrian Rebmann, Fabian David Schmidt, Goran Glavaš, Han van der Aa
cs.CL
cs.CL
The process mining community has recently recognized the potential of large language models (LLMs) for tackling various process mining tasks. Initial studies report the capability of LLMs to support process analysis and even, to some extent, that they are able to reason about how processes work. This latter property suggests that LLMs could also be used to tackle process mining tasks that benefit from an understanding of process behavior. Examples of such tasks include (semantic) anomaly detection and next activity prediction, which both involve considerations of the meaning of activities and their inter-relations. In this paper, we investigate the capabilities of LLMs to tackle such semantics-aware process mining tasks. Furthermore, whereas most works on the intersection of LLMs and process mining only focus on testing these models out of the box, we provide a more principled investigation of the utility of LLMs for process mining, including their ability to obtain process mining knowledge post-hoc by means of in-context learning and supervised fine-tuning. Concretely, we define three process mining tasks that benefit from an understanding of process semantics and provide extensive benchmarking datasets for each of them. Our evaluation experiments reveal that (1) LLMs fail to solve challenging process mining tasks out of the box and when provided only a handful of in-context examples, (2) but they yield strong performance when fine-tuned for these tasks, consistently surpassing smaller, encoder-based language models.
[ -0.2572418451309204, -0.6573780179023743, 1.162815809249878, -0.09889989346265793, -0.21310998499393463, -0.1794358491897583, -0.30578482151031494, -0.5639227628707886, -0.0654422789812088, 0.7675206065177917, -0.861794650554657, -0.675559937953949, -0.8234177231788635, 0.16367091238498688, -0.5459856986999512, 0.847643256187439, -0.3408355116844177, -0.10481978952884674, -0.32247528433799744, 0.16615080833435059, -0.44493770599365234, -0.6660547256469727, -0.5611398816108704, -0.5308453440666199, 0.2017679214477539, 0.3546024262905121, 0.3429791033267975, 0.38222798705101013, 0.4221128523349762, 0.31239989399909973, -0.15920306742191315, 0.300764799118042, -0.30181777477264404, 0.4619292616844177, -0.18563884496688843, -0.5650756359100342, -0.5134202837944031, 0.06543224304914474, 0.5305967926979065, 0.9261279106140137, -0.005524878390133381, 0.2973770797252655, 0.1315412074327469, 0.3117700517177582, -0.5032325983047485, 0.43191078305244446, -1.0878705978393555, 0.027988892048597336, -0.3575054109096527, -0.36963364481925964, -0.11678703129291534, 0.16521431505680084, 0.00544216763228178, -0.4228854775428772, 0.22845184803009033, 0.04955840855836868, 0.5565598607063293, 0.36831948161125183, -0.08904264122247696, -0.5644904971122742, -0.6193352937698364, 0.9039018154144287, -0.7033991813659668, 0.2732417583465576, 0.6094383001327515, 0.08149769902229309, -0.5496789813041687, -0.7843835949897766, -0.3693762421607971, -0.13581392168998718, -0.11217065900564194, -0.1282651126384735, -0.018002402037382126, 0.008919155225157738, 0.5226562023162842, 0.44106316566467285, -0.1727301925420761, 0.2989056706428528, 0.0543428510427475, -0.1671275645494461, 0.2285318374633789, 0.5891209840774536, 0.11067906767129898, -0.123668372631073, -0.2165282815694809, 0.29079097509384155, -0.5051352381706238, -0.03364619240164757, 0.29777076840400696, 0.36554816365242004, 0.24910999834537506, 0.6768864393234253, -0.5122278332710266, 0.5435218811035156, -0.3630538582801819, -0.04198641702532768, 0.02852117270231247, -0.11915699392557144, -0.39169424772262573, -0.10676842927932739, 0.4063039720058441, 0.10683469474315643, 0.14583376049995422, -0.4226933419704437, -0.42826709151268005, 0.19748662412166595, 0.1464574784040451, -0.8445921540260315, -0.0733899250626564, 0.21973282098770142, -0.35295775532722473, -0.09563343971967697, 0.02942441776394844, -0.18995985388755798, -0.3708110749721527, -0.4465426206588745, 0.4330514073371887, -0.37416985630989075, -0.2834297716617584, 0.16874909400939941, -0.31351912021636963, 0.15736059844493866, 0.19051924347877502, -0.7910224199295044, 0.48598524928092957, 1.1843012571334839, 0.8316954374313354, -0.35319721698760986, -0.2435225248336792, -0.9482222199440002, -0.012001165188848972, -0.24448339641094208, 0.843912661075592, -0.7012925744056702, -0.35975608229637146, -0.13066908717155457, 0.279889851808548, 0.015576415695250034, -0.7752510905265808, 0.74711674451828, -0.5574398040771484, -0.3705308139324188, -0.24077416956424713, -0.8159152269363403, -0.08618151396512985, 0.4411240518093109, -0.4529555141925812, 1.1423375606536865, -0.07834620028734207, -0.6615774631500244, 0.6150418519973755, -0.5462086796760559, -0.25282829999923706, 0.06483098864555359, -0.09660222381353378, -0.2513708472251892, 0.43001291155815125, -0.13875684142112732, 0.9121653437614441, -0.28971147537231445, -0.10000216215848923, -0.48250284790992737, -0.247983917593956, 0.5009797811508179, -0.2400999367237091, 0.32673895359039307, 0.36666056513786316, -0.19888876378536224, 0.17495860159397125, -0.6040368676185608, 0.00006682576349703595, -0.0960027426481247, -0.10570593178272247, -0.40225809812545776, 0.2965029180049896, -0.21682941913604736, 0.3312361538410187, 0.11022176593542099, -0.5000508427619934, -0.13194195926189423, -0.48764947056770325, 0.4435538053512573, 0.7703091502189636, 0.06115660443902016, 0.2324133664369583, -0.14187021553516388, 0.40241268277168274, 0.038460567593574524, -0.08233049511909485, -0.373634397983551, -0.41949403285980225, -0.6887590885162354, -0.2727990448474884, 0.06870860606431961, 0.47306883335113525, -0.36532533168792725, 0.4547351002693176, -0.16171613335609436, -0.39276331663131714, -0.09696286916732788, 0.5615773797035217, 0.02434779517352581, 0.4429442882537842, 0.09685948491096497, -0.5505331158638, -0.6252601742744446, -0.5951612591743469, -0.4205239415168762, -0.04588513821363449, -0.2488507330417633, 0.27442875504493713, 0.4089002311229706, -0.48540905117988586, 0.9270994663238525, -0.3113689124584198, -0.3027260899543762, -0.0847102627158165, 0.16515403985977173, 0.5093428492546082, 0.1441185027360916, -0.18020202219486237, -0.48003438115119934, -0.13905952870845795, -0.03560377657413483, -0.8305726647377014, -0.2619030177593231, 0.17137028276920319, 0.01891510933637619, 0.45610395073890686, 0.7189071178436279, -0.5068739652633667, 0.2738412320613861, 0.46788403391838074, -0.31003013253211975, 0.45718348026275635, -0.334625780582428, -0.21517051756381989, -0.6694108247756958, -0.03952426463365555, -0.02673628181219101, -0.4208850860595703, -0.6708565354347229, -0.03427756205201149, -0.1112990751862526, -0.07256554812192917, -0.49956536293029785, 0.36104363203048706, -0.6277371048927307, -0.3353758454322815, -0.7393485903739929, -0.0910656675696373, -0.35266417264938354, 0.22050784528255463, 0.2924017608165741, 0.29148730635643005, 0.7926194667816162, -0.8483012318611145, 0.2776722311973572, -0.23624424636363983, -0.6501074433326721, 0.414030522108078, -0.24253804981708527, 0.008733740076422691, 0.05377567559480667, -0.07494954764842987, -0.8666734099388123, -0.1846134513616562, 0.1191345676779747, -0.24336057901382446, 0.1404709368944168, -0.2590964734554291, -0.8021930456161499, -0.11123411357402802, -0.2994648218154907, 0.07349706441164017, 0.5349090695381165, -0.5161876082420349, 0.631596028804779, 0.48656848073005676, 0.05996985360980034, -0.22896146774291992, -0.6692888736724854, -0.008824369870126247, -0.6207152605056763, -0.5039469599723816, 0.25301557779312134, 0.021157460287213326, -0.2802877426147461, 0.1464858055114746, -0.5169463753700256, 0.09229281544685364, 0.5399906635284424, 0.5775659084320068, 0.07357725501060486, 0.2291858196258545, 0.08538877964019775, -0.3972969651222229, -0.4541373550891876, 0.35263946652412415, -0.1608736664056778, 0.5696155428886414, -0.21297432482242584, -0.540814220905304, -0.24873623251914978, 0.05927252769470215, 0.3827308416366577, -0.014184970408678055, 0.6855459809303284, 0.5759872794151306, -0.7148945331573486, -0.2229287326335907, -0.5494473576545715, -0.2732081711292267, -0.4761825203895569, 0.30974653363227844, -0.42035380005836487, -0.9558054804801941, 0.5910566449165344, -0.5919673442840576, 0.10182786732912064, 0.29738590121269226, 0.676322340965271, -0.2016156166791916, 0.8920149207115173, 0.5688430070877075, -0.013726165518164635, 0.2783421576023102, -0.17561092972755432, 0.26476186513900757, -1.0175949335098267, -0.17332306504249573, -0.4148315191268921, -0.17391496896743774, -0.7762755155563354, -0.41101500391960144, 0.4035335183143616, 0.15129521489143372, -0.14241130650043488, 0.1862330287694931, -0.01364793349057436, 0.33407896757125854, 0.4118189513683319, -0.09690216928720474, 0.5276285409927368, 0.02000516839325428, 0.18806928396224976, 0.04018513485789299, -0.6315281391143799, -0.826289176940918, 0.9924648404121399, 0.35295116901397705, 0.7865045070648193, -0.1921328455209732, 0.6579589247703552, 0.17232784628868103, 0.2576141059398651, -0.881230354309082, 0.6765092611312866, -0.08855699002742767, -0.3322930335998535, -0.4064810872077942, -0.1467280238866806, -1.1149436235427856, 0.08174063265323639, -0.3004845380783081, -0.838860809803009, -0.15893465280532837, -0.0031257548835128546, -0.10216661542654037, 0.4399663507938385, -0.5435530543327332, 0.8189489841461182, -0.24323880672454834, -0.339659184217453, -0.34157809615135193, -0.33107343316078186, 0.22395558655261993, -0.14320141077041626, 0.5307725071907043, -0.5288364887237549, -0.19811038672924042, 0.5458554625511169, -0.5254340171813965, 0.9635016918182373, -0.06275556981563568, -0.10347959399223328, 0.13917838037014008, 0.18513935804367065, 0.648833155632019, 0.12231213599443436, -0.1889956295490265, 0.4160946011543274, 0.14556370675563812, -0.14004406332969666, -0.5409444570541382, 0.9697222709655762, -0.31833168864250183, -0.8244441151618958, -0.5238416194915771, -0.45019686222076416, -0.29470619559288025, 0.16322581470012665, -0.05316397175192833, 0.07323221117258072, -0.13171006739139557, 0.03811263293027878, 0.7831094861030579, 0.10898371040821075, 0.5563410520553589, 0.5262803435325623, -0.0068315183743834496, 0.38938868045806885, 0.6918050050735474, 0.06715439260005951, 0.027523281052708626, 0.21118971705436707, 0.10822595655918121, -0.07982496172189713, -0.7667921185493469, -0.16335703432559967, -0.013965261168777943, -0.7349370121955872, -0.24112369120121002, -0.7512592077255249, -0.07340279221534729, -0.01639009267091751, 0.08679371327161789, -0.21605686843395233, -0.18304166197776794, -0.24679794907569885, -0.09488075226545334, 0.4302130937576294, 0.4809938669204712, 0.0652536004781723, -0.034076910465955734, -0.7482202053070068, 0.2877187728881836, 0.3009287118911743, 0.7682086229324341, -0.06868330389261246, -0.21265022456645966, -0.2068522572517395, -0.31168851256370544, -0.09856263548135757, -0.7947114109992981, 0.12673898041248322, 0.025917991995811462, 0.8715329766273499, 0.25543299317359924, -0.11156576871871948, 0.45610475540161133, -0.45963776111602783, 0.6812491416931152, -0.36719056963920593, -0.8907694816589355, 0.6625745296478271, -0.04660306125879288, 0.029816659167408943, 0.25006598234176636, 0.3815968930721283, -0.5455230474472046, -0.5176618695259094, -0.7208442091941833, -1.077810287475586, 0.9423967003822327, 0.24697865545749664, 0.027757631614804268, -0.1731024533510208, 0.5406022667884827, 0.2845103442668915, 0.0979309231042862, -0.41915610432624817, -0.11491477489471436, 0.24507670104503632, -0.00948584359139204, -0.07898145169019699, -0.3302041292190552, -0.038228198885917664, 0.054986849427223206, 0.847052276134491, 0.016930341720581055, -0.018915480002760887, 0.023163991048932076, -0.4378742277622223, -0.016592003405094147, 0.31782254576683044, -0.019587302580475807, 0.5796076059341431, -0.10755137354135513, 0.32439252734184265, 0.7389346361160278, -0.10618841648101807, -0.17524351179599762, 0.0695371925830841, 0.13518191874027252, -0.1481320858001709, 0.3720402717590332, 0.7610895037651062, 0.11988148838281631, -1.0804487466812134, 0.17904488742351532, 0.0654701441526413, -0.05742359906435013, -0.4640730917453766, 0.4076741933822632, 0.1947927176952362, 0.3928465247154236, 0.17417551577091217, -0.14193730056285858, 0.4927481710910797, -0.908530056476593, 0.04710967838764191, 0.8984215259552002, -0.30321526527404785, -0.14896950125694275, 0.3631611168384552, -0.12818819284439087, -0.323205828666687, 0.4973336160182953, -0.20156894624233246, -0.3839658498764038, 0.4617597162723541, 0.3905050456523895, 0.7819514870643616, 0.04471850395202637, -0.40892937779426575, 0.027668984606862068, 0.364371657371521, -0.13203148543834686, 0.19167549908161163, -0.27311572432518005, -0.7618502974510193, -0.5195969939231873, -0.7548413276672363, -0.5191898941993713, 0.1884436309337616, -0.39320167899131775, 0.42321059107780457, -0.2100939005613327, -0.13867369294166565, -0.15774735808372498, 0.0850779190659523, -0.8240059614181519, 0.10820907354354858, 0.3105067014694214, 0.8074881434440613, -0.8733686208724976, 0.741067111492157, 0.839958131313324, 0.06763431429862976, -0.3778294622898102, -0.09997522085905075, -0.11961287260055542, -0.7013731598854065, 0.5566606521606445, 0.32820290327072144, -0.19207502901554108, -0.31223219633102417, -0.08070885390043259, -0.7998028993606567, 1.0589102506637573, 0.2587103545665741, -0.3440994918346405, 0.5317273139953613, 0.2517753839492798, 0.5923442244529724, -0.3097281754016876, 0.18440952897071838, 1.0251388549804688, 0.4145496189594269, 0.022609466686844826, -0.7941579222679138, 0.24247053265571594, -0.1478368192911148, 0.12214669585227966, 0.30139654874801636, -0.1466468870639801, 0.5227924585342407, 0.11328860372304916, -0.2952142655849457, -0.13815881311893463, 0.7486410737037659, 0.48795413970947266, 0.5077060461044312, 0.821871280670166, 0.5971062183380127, 0.7393742203712463, -0.11143599450588226, 1.1034740209579468, -0.2913295328617096, 0.03330988064408302, 0.9362317323684692, -0.4063897132873535, 0.713039219379425, 0.42632728815078735, -0.0002553369558881968, 0.5070748329162598, 0.7527436017990112, 0.39313971996307373, 0.34246811270713806, 0.3521376848220825, -0.3526870608329773, -0.5657060146331787, -0.06906537711620331, 0.000832070130854845, 0.2148468941450119, 0.688709020614624, -0.19832843542099, -0.3024871051311493, -0.2324858456850052, -0.10913578420877457, 0.056661367416381836, -0.6032889485359192, 0.8071901202201843, 0.19159400463104248, -0.6694085597991943, 0.06761151552200317, 0.2919049859046936, 0.7694031000137329, -0.669757604598999, -0.018183406442403793, 0.068764828145504, 0.3034336566925049, -0.36080554127693176, -0.8986872434616089, 0.7048454284667969, 0.22204738855361938, -0.1993921995162964, -0.4173033833503723, 1.0380859375, -0.08195912837982178, -0.48828622698783875, 0.3297449052333832, 0.4619869589805603, 0.40132421255111694, -0.2878865897655487, -0.36794036626815796, 0.08780946582555771, -0.5084678530693054, -0.24185366928577423, 0.6006107926368713, 0.7082492113113403, -0.38285332918167114, 0.6218644976615906, 0.6484891772270203, 0.18830515444278717, 0.004508253186941147, 0.051407650113105774, 0.7074466347694397, -0.6457087397575378, -0.34275639057159424, -1.186137080192566, 0.2452576756477356, 0.09073370695114136, 0.1834428757429123, 0.803663432598114, 0.6697969436645508, 0.9895108342170715, 0.147460475564003, 0.7404541373252869, 0.09805899858474731, 0.45645102858543396, -0.7904253602027893, 0.07143959403038025, -0.3604312241077423, 0.5634528994560242, -0.09800871461629868, -0.8122168779373169, -0.27843576669692993, 0.4862453043460846, -0.33299359679222107, -0.08120995759963989, 0.6290863156318665, 0.840194582939148, -0.13759376108646393, 0.12682853639125824, 0.1801401972770691, 0.055904991924762726, 0.23528538644313812, 0.5347407460212708, 0.9141356945037842, -0.10494808107614517, 0.3852159082889557, -0.17412371933460236, -0.31079214811325073, -0.06462795287370682, -1.2749593257904053, -0.9084973335266113, -0.47381871938705444, -0.11778620630502701, -0.12935315072536469, -0.15216591954231262, 0.8616591095924377, 0.5488499999046326, -0.6631675362586975, -0.3960530459880829, -0.2787083089351654, 0.15328334271907806, -0.29736483097076416, -0.124631367623806, 0.15010474622249603, -0.7716825604438782, -0.7477564811706543, 0.4652133882045746, 0.4085848331451416, -0.2804003357887268, -0.16095907986164093, -0.13824810087680817, 0.1055678203701973, -0.044115327298641205, 0.712786078453064, 0.09354513138532639, -0.6501857042312622, -0.1609947830438614, -0.044430457055568695, 0.35433197021484375, -0.25201180577278137, 1.0900278091430664, -0.6955735087394714, 0.25508221983909607, 0.5575095415115356, 0.6985242366790771, 1.0359835624694824, -0.33772367238998413, 0.2923344373703003, -0.7072551250457764, 0.03084401786327362, 0.0035550149623304605, 0.6198492050170898, 0.2585478723049164, -0.3177843689918518, 0.5608742237091064, 0.1516260802745819, -0.5440348982810974, -0.71403568983078, 0.24706517159938812, -0.9372600317001343, -0.3268073499202728, 1.2200103998184204, 0.013719899579882622, -0.13220587372779846, -0.3058149516582489, 0.11229314655065536, 0.29218387603759766, -0.007185859605669975, 0.6929109692573547, 0.9532548785209656, -0.5575333833694458, 0.2776818871498108, -0.8028632402420044, 0.45731866359710693, 0.4322775900363922, -0.6832771301269531, 0.3416697680950165, 0.3121451437473297, 0.5008677840232849, -0.1617167592048645, 0.6631221175193787, -0.13176825642585754, -0.02890767902135849, -0.6060491800308228, -0.09534451365470886, -0.16723281145095825, -0.0372249037027359, -0.35770875215530396, 0.1516248732805252, 0.4307117462158203, 0.06179732829332352 ]
http://arxiv.org/abs/2407.02302v1
http://arxiv.org/pdf/2407.02302v1
Towards Human Understanding of Paraphrase Types in ChatGPT
2024-07-02T14:35:10
2024-07-02T14:35:10
Dominik Meier, Jan Philip Wahle, Terry Ruas, Bela Gipp
cs.CL
cs.CL, I.2.7
Paraphrases represent a human's intuitive ability to understand expressions presented in various different ways. Current paraphrase evaluations of language models primarily use binary approaches, offering limited interpretability of specific text changes. Atomic paraphrase types (APT) decompose paraphrases into different linguistic changes and offer a granular view of the flexibility in linguistic expression (e.g., a shift in syntax or vocabulary used). In this study, we assess the human preferences towards ChatGPT in generating English paraphrases with ten APTs and five prompting techniques. We introduce APTY (Atomic Paraphrase TYpes), a dataset of 500 sentence-level and word-level annotations by 15 annotators. The dataset also provides a human preference ranking of paraphrases with different types that can be used to fine-tune models with RLHF and DPO methods. Our results reveal that ChatGPT can generate simple APTs, such as additions and deletions, but struggle with complex structures (e.g., subordination changes). This study contributes to understanding which aspects of paraphrasing language models have already succeeded at understanding and what remains elusive. In addition, our curated datasets can be used to develop language models with specific linguistic capabilities.
[ -0.2245069146156311, -0.7131718397140503, 0.5229061245918274, 0.0332784540951252, -0.5290144681930542, -0.1278955638408661, -0.0720934048295021, -0.1509699821472168, -0.11465760320425034, 0.48640280961990356, -0.17292791604995728, -0.4359292685985565, -0.3944754898548126, 0.5418646335601807, -0.33224621415138245, 1.0162655115127563, -0.00018080438894685358, -0.18317683041095734, -0.07441002130508423, -0.08776525408029556, -0.3289549946784973, -0.4999736249446869, -0.503948450088501, -0.29700517654418945, 0.4475879669189453, 0.6226640939712524, 1.267043113708496, 0.6629660725593567, 0.4603444039821625, 0.25150036811828613, -0.25569337606430054, -0.1877720206975937, -0.17557691037654877, 0.1321876496076584, -0.19569134712219238, -0.501080334186554, -0.15493133664131165, -0.18364083766937256, 0.44233042001724243, 0.6207283735275269, -0.19252535700798035, 0.08340587466955185, 0.06988440454006195, 0.6046711802482605, -0.40980127453804016, 0.5208867788314819, -0.7666487097740173, 0.08288426697254181, -0.18776677548885345, -0.035443663597106934, -0.32141542434692383, -0.3631554841995239, 0.396513432264328, -0.45417383313179016, 0.3063241243362427, 0.1635534018278122, 0.5163859128952026, 0.12881357967853546, -0.4306405782699585, -0.42530399560928345, -0.339943528175354, 0.4136239290237427, -0.8352871537208557, 0.2963063418865204, 0.5189850926399231, 0.2945593297481537, 0.1164427325129509, -0.7117531299591064, -0.4540119469165802, -0.5712224245071411, -0.3033815026283264, 0.025084277614951134, 0.07783487439155579, 0.23624323308467865, -0.119602270424366, 0.3939876854419708, -0.6391270756721497, -0.14847154915332794, -0.2611033022403717, -0.13839511573314667, 0.42282533645629883, 0.18957269191741943, 0.5507057309150696, -0.7305853366851807, -0.1497376412153244, -0.11218221485614777, -0.5372846126556396, -0.12109705060720444, 0.06567312777042389, 0.1613708883523941, 0.11542504280805588, 0.7191169857978821, -0.473195344209671, 0.4481368958950043, -0.2210020273923874, 0.25449422001838684, -0.06344076246023178, -0.24968698620796204, 0.06104058772325516, -0.22908903658390045, 0.7057256698608398, 0.3645157516002655, 0.512093186378479, -0.4603334367275238, -0.08822094649076462, -0.036089975386857986, -0.03895777836441994, -0.6261340379714966, -0.5254057049751282, 0.1517133265733719, -0.5201534032821655, -0.27717772126197815, -0.07681654393672943, -0.7879599928855896, -0.3206403851509094, -0.27416861057281494, 0.2823614180088043, -0.7840077877044678, -0.051657579839229584, 0.34373414516448975, -0.5334760546684265, 0.25543704628944397, 0.19690147042274475, -0.8735874891281128, 0.11797836422920227, 0.6114227771759033, 0.8038234114646912, -0.09198536723852158, -0.7185745239257812, -0.056668952107429504, 0.08194888383150101, -0.282989501953125, 1.066432237625122, -0.6349259614944458, -0.43186983466148376, -0.16980202496051788, -0.46209490299224854, -0.23909783363342285, -0.6020804047584534, 0.5918096303939819, -0.3931131958961487, 0.3135150671005249, -0.27857092022895813, -0.5535514950752258, -0.23978354036808014, -0.017118249088525772, -0.4812687635421753, 0.7191047072410583, 0.03145657852292061, -0.7715414762496948, 0.24456027150154114, -0.7025943398475647, -0.3230578601360321, 0.39178889989852905, -0.15205787122249603, -0.13138405978679657, 0.31417232751846313, 0.4198693335056305, 0.4295046627521515, -0.2417146861553192, 0.3559314012527466, -0.17386962473392487, -0.08710169047117233, 0.5328564047813416, -0.5797647833824158, 0.22122184932231903, 0.5313391089439392, -0.2362692654132843, -0.14200273156166077, -0.5065333843231201, -0.10696538537740707, 0.13008548319339752, -0.266580730676651, -0.3102593719959259, 0.16846540570259094, 0.04125096648931503, 0.34362953901290894, 0.39093801379203796, -0.21696051955223083, -0.08111613243818283, -0.1534273475408554, 1.0543196201324463, 0.6474399566650391, 0.5355188846588135, 0.18367420136928558, -0.5514899492263794, 0.5544862151145935, -0.11540394276380539, 0.14879544079303741, 0.020266929641366005, -0.5782386064529419, -0.35371237993240356, -0.05912555009126663, 0.04615908861160278, 0.4048891067504883, -0.688754141330719, 0.11848718672990799, -0.41231274604797363, -0.5671411156654358, -0.4769520163536072, 0.0240436103194952, 0.4736785888671875, 0.467774897813797, 0.3639957904815674, 0.02079581283032894, -0.03816857188940048, -0.9511964917182922, -0.6512899398803711, -0.3530811667442322, -0.04849984869360924, 0.36524322628974915, 0.47409170866012573, -0.09422579407691956, 1.0701723098754883, -0.4209492802619934, 0.39276933670043945, -0.5164170861244202, 0.4019133746623993, -0.25668835639953613, 0.0033041825518012047, 0.25127243995666504, -1.1266801357269287, -0.6018809080123901, 0.05513552576303482, -0.684617280960083, -0.19799262285232544, -0.10518793761730194, -0.21192768216133118, -0.32709407806396484, 0.3397500514984131, -1.0191644430160522, 0.19283562898635864, 0.12442975491285324, -0.4564558267593384, 0.5311838984489441, -0.06769248843193054, 0.35561224818229675, -1.1868647336959839, -0.07669976353645325, -0.1889626383781433, -0.1692676693201065, -0.5072293281555176, 0.290334552526474, 0.08603290468454361, -0.4577523469924927, -0.6910414099693298, 0.5469254851341248, -0.3166249990463257, -0.08777870237827301, -0.19678908586502075, 0.3165479302406311, 0.051733482629060745, 0.37971919775009155, 0.27930742502212524, 0.8917964100837708, 0.2756744921207428, -0.4234068989753723, 0.02399781532585621, 0.6248859167098999, -0.16825060546398163, 0.16877539455890656, -0.8583120107650757, 0.17251965403556824, -0.3183128237724304, 0.2490401715040207, -1.166630744934082, -0.4592532813549042, 0.23309914767742157, -0.4768811762332916, -0.15401573479175568, -0.13918572664260864, -0.41824790835380554, 0.0024906068574637175, -0.43806716799736023, 0.2366214245557785, 0.6449253559112549, -0.1536789983510971, 0.25445792078971863, 0.1209784746170044, -0.4537038803100586, -0.3176555931568146, -0.4015967547893524, 0.42796024680137634, -0.5984840989112854, -0.3552826941013336, 0.10678815096616745, -0.0805477648973465, -0.43040335178375244, -0.14902858436107635, -0.1501583456993103, -0.15682759881019592, 0.0792749896645546, 0.06594175845384598, -0.01426140870898962, -0.027922026813030243, -0.06998977065086365, 0.059206921607255936, -0.07360368221998215, -0.10167106240987778, -0.0023834402672946453, 0.6549175977706909, -0.23983921110630035, -0.10138790309429169, -0.5614451766014099, 0.4218975007534027, 0.7388066649436951, -0.26939189434051514, 0.4391806125640869, 0.3567720055580139, -0.04426534101366997, 0.2499946802854538, -0.2063799351453781, -0.30635109543800354, -0.4591359496116638, 0.4218764901161194, -0.44450002908706665, -0.6585599780082703, 0.5221508145332336, 0.17744919657707214, 0.1986979991197586, 0.4612707793712616, 0.652195155620575, 0.12967899441719055, 0.850938618183136, -0.06276676058769226, 0.004828305449336767, 0.5025854110717773, 0.22678636014461517, -0.16587460041046143, -0.6342076063156128, 0.161056250333786, -0.5045507550239563, -0.07666747272014618, -0.3960300385951996, -0.22527407109737396, 0.3300314247608185, 0.24257461726665497, -0.15382120013237, 0.5114235281944275, -0.4211495816707611, 0.48921358585357666, 0.5059145092964172, 0.36418941617012024, 0.3212504982948303, -0.18460822105407715, 0.3485163152217865, 0.10946397483348846, -0.710351288318634, -0.7767409086227417, 1.036365032196045, 0.21520283818244934, 0.6770730018615723, 0.10180526971817017, 0.8579238057136536, 0.3941781520843506, -0.05778674781322479, -0.5620329976081848, 0.7151708602905273, -0.0924830287694931, -0.5977591276168823, -0.3570076823234558, -0.4508747458457947, -1.0419851541519165, 0.25792500376701355, 0.12157279253005981, -0.6712536215782166, -0.0797724649310112, 0.24345846474170685, -0.203637033700943, -0.15503504872322083, -0.941482424736023, 1.001381754875183, 0.011755160987377167, 0.19443801045417786, -0.15162065625190735, -0.9208569526672363, 0.053584735840559006, 0.139444962143898, 0.19541142880916595, -0.1713496446609497, -0.14923109114170074, 0.7375123500823975, -0.25599437952041626, 0.6741062998771667, 0.10081180930137634, 0.16432246565818787, 0.49749261140823364, 0.44695213437080383, 0.49236664175987244, 0.27769777178764343, -0.21412628889083862, 0.1302744448184967, 0.04203945770859718, -0.41037851572036743, -0.47013285756111145, 0.3077007830142975, -0.734597384929657, -0.6578102707862854, 0.004324844107031822, -0.8203202486038208, -0.027439527213573456, 0.017456477507948875, 0.5439132452011108, 0.5172157287597656, 0.06603232026100159, 0.2402995228767395, 0.3706952631473541, 0.01168600469827652, 0.40373024344444275, 0.22901368141174316, 0.044596344232559204, -0.4154808819293976, 0.8468778133392334, -0.07518996298313141, 0.5641461610794067, 0.7082604765892029, 0.6327980756759644, -0.3262169659137726, -0.7400389909744263, -0.30624911189079285, 0.27115917205810547, -0.9942777156829834, 0.06021162495017052, -0.6344699859619141, 0.220139741897583, -0.6354778409004211, -0.23329982161521912, -0.11611613631248474, -0.6848446726799011, -0.18419481813907623, -0.04763398319482803, 0.7156318426132202, 0.5681608319282532, 0.27663561701774597, 0.3453086018562317, -0.8839170336723328, 0.6146009564399719, 0.5416489243507385, -0.11681027710437775, -0.20392633974552155, -0.5861214399337769, 0.01378562767058611, 0.10708436369895935, -0.2619327902793884, -1.0933208465576172, 0.42468026280403137, 0.5709502100944519, 0.3137272000312805, 0.0903516337275505, 0.1819227784872055, 0.5792250633239746, -0.5907595157623291, 1.1164991855621338, -0.4244019389152527, -0.9816986918449402, 0.5865365862846375, -0.6745251417160034, 0.18244287371635437, 0.610299289226532, 0.4498470425605774, -0.7053928375244141, -0.5822879076004028, -0.6616283059120178, -0.9122856259346008, 0.5110600590705872, 0.4557126462459564, 0.1929771453142166, -0.44106701016426086, 0.6448990702629089, 0.29736217856407166, 0.28825604915618896, -0.8151844143867493, -0.1348247230052948, -0.17488843202590942, -0.3675365746021271, -0.08601287007331848, -0.025801638141274452, 0.03307388350367546, 0.20054663717746735, 0.2769111394882202, 0.03960815444588661, 0.18453356623649597, 0.117050401866436, -0.382388710975647, 0.1936069279909134, 0.6244874596595764, 0.3233097195625305, 0.7715876698493958, -0.35371074080467224, 0.2279173582792282, 0.1383933424949646, -0.36087360978126526, 0.07156716287136078, -0.05294150486588478, -0.10031168162822723, 0.07479161769151688, 0.524255633354187, 0.7020629644393921, 0.33427906036376953, -0.8334004878997803, 0.20487914979457855, -0.0648740604519844, -0.020407794043421745, 0.18305861949920654, 0.09080539643764496, -0.00330028566531837, 0.08212082833051682, 0.1661462038755417, -0.14252331852912903, 0.4172981083393097, -0.5868410468101501, 0.24394865334033966, 0.25785359740257263, 0.03593407943844795, -0.4901166558265686, 0.7683226466178894, -0.004647151567041874, -0.6098634600639343, 0.5125418901443481, -0.08488905429840088, -0.3640827536582947, 0.23748226463794708, 0.4965647757053375, 1.0034620761871338, -0.019034089520573616, 0.46479812264442444, -0.20663407444953918, 0.03409377858042717, -0.2711496949195862, 0.026246406137943268, -0.29652297496795654, -0.6880670189857483, -0.12657961249351501, -0.48929983377456665, -0.7941734790802002, -0.036142267286777496, -0.7584809064865112, 0.2511849105358124, -0.043206073343753815, 0.2101837694644928, 0.10616768151521683, -0.5373061299324036, -0.4170226454734802, 0.022601952776312828, -0.030130228027701378, 0.5569265484809875, -0.9405940771102905, 0.6051507592201233, 0.9196501970291138, -0.5841442346572876, -0.7171475291252136, 0.2949755787849426, -0.3395520746707916, -0.9633735418319702, 0.45767834782600403, 0.013273420743644238, 0.2856334447860718, 0.29374781250953674, -0.09454172104597092, -0.5881201028823853, 0.9899522066116333, 0.4071374833583832, -0.04619606211781502, -0.4434550702571869, 0.38609394431114197, 0.4902164936065674, 0.011162425391376019, 0.3330674469470978, 0.6671059727668762, 0.26586923003196716, -0.1676652878522873, -0.8877443075180054, 0.012010210193693638, 0.027029527351260185, 0.26941585540771484, 0.3092701733112335, -0.48083415627479553, 1.1323747634887695, 0.2562257647514343, 0.05117543414235115, -0.06186986342072487, 0.31625470519065857, 0.23529762029647827, 0.18677182495594025, 0.3015170395374298, 0.38332095742225647, 0.07391609251499176, 0.38059040904045105, 1.0246790647506714, -0.3986634314060211, 0.5499130487442017, 0.8863832950592041, 0.0012638753978535533, 0.9482199549674988, 0.40391239523887634, -0.21326303482055664, 0.2902414798736572, 0.6500988602638245, 0.6461638808250427, 0.5786459445953369, -0.09958340227603912, -0.2617734968662262, -0.250471293926239, 0.23551322519779205, -0.18325841426849365, 0.4904818534851074, 0.3176965117454529, -0.2411666065454483, -0.64693284034729, 0.21282216906547546, 0.05061466991901398, -0.020790839567780495, -0.22517552971839905, 1.070023775100708, 0.0392884723842144, -0.8713207244873047, 0.7970000505447388, -0.16608865559101105, 0.3292944133281708, -0.4697962999343872, -0.0645839050412178, -0.3463731110095978, -0.15342117846012115, 0.04843207821249962, -0.9537274837493896, 0.220344677567482, -0.10946164280176163, 0.09958294779062271, -0.13351283967494965, 0.573688805103302, -0.33492007851600647, -0.10231142491102219, -0.31398698687553406, 0.4684430956840515, 0.526626706123352, -0.40124088525772095, -0.8860248923301697, -0.3316357731819153, 0.18732519447803497, -0.46159401535987854, 0.3927236497402191, 0.7881329655647278, -0.1874103546142578, 0.7439628839492798, 0.3001061975955963, -0.0009665900724940002, 0.027467194944620132, -0.2961251735687256, 0.4843622148036957, -0.7089548707008362, -0.5487345457077026, -1.1076536178588867, 0.32619136571884155, 0.21734139323234558, -0.6146482825279236, 0.9031431078910828, 0.2559727430343628, 0.36090826988220215, -0.3789386749267578, 0.906737744808197, -0.11993297934532166, 0.397129088640213, -0.5514407157897949, 0.4830198287963867, -0.04295796900987625, 0.046564195305109024, -0.4283425211906433, -0.8416672348976135, -0.08500966429710388, 0.6167217493057251, -0.36417749524116516, -0.15698717534542084, 0.6197540163993835, 0.6787707805633545, 0.018324347212910652, 0.09616769850254059, 0.22015725076198578, -0.12197668850421906, 0.40733543038368225, 0.4720120429992676, 0.9592152833938599, -0.2571927607059479, 0.7596151828765869, -0.2192929983139038, -0.1280810832977295, -0.28593289852142334, -0.7432880401611328, -0.760970950126648, -0.5935397148132324, -0.4313579797744751, -0.07368820160627365, -0.02535424754023552, 0.9854910373687744, 0.34546586871147156, -0.5052972435951233, -0.05850996822118759, -0.6664388179779053, 0.048172418028116226, -0.16672199964523315, -0.2739051282405853, 0.44306114315986633, -0.612585723400116, -0.62776118516922, 0.19035957753658295, 0.15317678451538086, 0.011270756833255291, 0.1762176901102066, 0.09978928416967392, -0.03803040832281113, 0.12540747225284576, 0.515633225440979, 0.2718842029571533, -0.7683445811271667, -0.6468820571899414, -0.007569058798253536, 0.15964668989181519, 0.1644940972328186, 0.7791158556938171, -0.4474649429321289, 0.13592921197414398, 0.5754759907722473, 0.5130192041397095, 0.06204385310411453, 0.2599073350429535, 0.4859054982662201, -0.663928210735321, 0.12599241733551025, 0.4473423361778259, 0.3164323568344116, 0.2319282740354538, -0.24713753163814545, 0.21525947749614716, 0.1868656873703003, -0.9669271111488342, -0.6874108910560608, 0.31881681084632874, -0.7696549892425537, -0.5004343390464783, 1.401667833328247, -0.19278642535209656, -0.05843040347099304, -0.31658270955085754, -0.5691466331481934, 0.21257631480693817, -0.46619248390197754, 0.9463667273521423, 0.7026241421699524, -0.3867604732513428, -0.18109607696533203, -0.4211868643760681, 0.5315341949462891, 0.47013312578201294, -0.7966906428337097, 0.5817855000495911, 0.3969942629337311, 0.36054375767707825, -0.12449553608894348, 0.4975917935371399, -0.13667134940624237, 0.41121217608451843, -0.009503359906375408, -0.05301012471318245, 0.08945244550704956, -0.010372762568295002, -0.22300390899181366, 0.06283891946077347, 0.575165867805481, -0.27674606442451477 ]
http://arxiv.org/abs/2407.02301v1
http://arxiv.org/pdf/2407.02301v1
CFinBench: A Comprehensive Chinese Financial Benchmark for Large Language Models
2024-07-02T14:34:36
2024-07-02T14:34:36
Ying Nie, Binwei Yan, Tianyu Guo, Hao Liu, Haoyu Wang, Wei He, Binfan Zheng, Weihao Wang, Qiang Li, Weijian Sun, Yunhe Wang, Dacheng Tao
cs.CL
cs.CL
Large language models (LLMs) have achieved remarkable performance on various NLP tasks, yet their potential in more challenging and domain-specific task, such as finance, has not been fully explored. In this paper, we present CFinBench: a meticulously crafted, the most comprehensive evaluation benchmark to date, for assessing the financial knowledge of LLMs under Chinese context. In practice, to better align with the career trajectory of Chinese financial practitioners, we build a systematic evaluation from 4 first-level categories: (1) Financial Subject: whether LLMs can memorize the necessary basic knowledge of financial subjects, such as economics, statistics and auditing. (2) Financial Qualification: whether LLMs can obtain the needed financial qualified certifications, such as certified public accountant, securities qualification and banking qualification. (3) Financial Practice: whether LLMs can fulfill the practical financial jobs, such as tax consultant, junior accountant and securities analyst. (4) Financial Law: whether LLMs can meet the requirement of financial laws and regulations, such as tax law, insurance law and economic law. CFinBench comprises 99,100 questions spanning 43 second-level categories with 3 question types: single-choice, multiple-choice and judgment. We conduct extensive experiments of 50 representative LLMs with various model size on CFinBench. The results show that GPT4 and some Chinese-oriented models lead the benchmark, with the highest average accuracy being 60.16%, highlighting the challenge presented by CFinBench. The dataset and evaluation code are available at https://cfinbench.github.io/.
[ -0.20877346396446228, -0.47318384051322937, 0.2854617238044739, 0.519751250743866, -0.14644865691661835, 0.2573193311691284, -0.5573135614395142, -0.5278818607330322, -0.3077363073825836, 0.4145090579986572, -0.3419702351093292, -0.6703504920005798, -0.29339900612831116, -0.16999539732933044, -0.6340843439102173, 0.8634380102157593, 0.0601559653878212, 0.28832411766052246, -0.10845397412776947, 0.15313421189785004, -0.1147124171257019, -0.35897883772850037, -1.009492039680481, -0.4968077540397644, 0.35912472009658813, -0.09738088399171829, 0.5237544178962708, 0.2813037633895874, 0.7502874135971069, 0.2827240228652954, -0.18089722096920013, -0.26471883058547974, -0.37553727626800537, -0.4220134913921356, -0.40536412596702576, -0.2537793517112732, -0.397333562374115, -0.023433301597833633, 0.5300527215003967, 0.8031692504882812, -0.4672352373600006, 0.27760791778564453, 0.23964662849903107, 0.5725783705711365, -0.5266711115837097, 0.3774886727333069, -0.6167376637458801, 0.081685371696949, -0.41394203901290894, 0.06374143809080124, -0.29961928725242615, -0.3597523272037506, 0.23624499142169952, -0.324646919965744, 0.045413944870233536, -0.024227069690823555, 0.8412432074546814, 0.06553269922733307, -0.6556130051612854, -0.0962853729724884, -0.2819712162017822, 0.6053633093833923, -1.0593113899230957, 0.5498791337013245, 0.2064632624387741, 0.6179919838905334, -0.1684749573469162, -0.9225128889083862, -0.3602614104747772, -0.5003021955490112, -0.14496305584907532, 0.30737605690956116, -0.03258070349693298, 0.14931634068489075, 0.31748971343040466, 0.5733214616775513, -0.5805744528770447, 0.23866945505142212, -0.22056806087493896, -0.27674025297164917, 0.7083228826522827, 0.2284279614686966, 0.03364092484116554, -0.029769424349069595, -0.5035708546638489, -0.42667800188064575, -0.44037649035453796, 0.1933887004852295, 0.27275529503822327, 0.37820225954055786, -0.22094327211380005, 0.18560108542442322, -0.17105339467525482, 0.823612630367279, -0.07711884379386902, -0.4027921259403229, 0.22755219042301178, -0.3029918968677521, -0.32111674547195435, 0.03714744746685028, 0.7571574449539185, 0.32984012365341187, 0.127916619181633, -0.0798296257853508, -0.5196275115013123, -0.38630998134613037, 0.048075683414936066, -0.6236433386802673, -0.02855764515697956, 0.3027636408805847, -0.43683770298957825, -0.03785812482237816, 0.4009016454219818, -0.706645667552948, -0.3937256336212158, -0.30800244212150574, -0.06988684833049774, -0.2310483604669571, -0.2401595413684845, 0.06035739928483963, -0.1314549446105957, 0.8248794674873352, 0.2577917277812958, -0.9222488403320312, 0.46374836564064026, 1.2822175025939941, 0.7960267066955566, -0.18439359962940216, -0.21355536580085754, -0.40803611278533936, -0.013179436326026917, -0.5160404443740845, 0.8931299448013306, -0.2660377323627472, -0.12744982540607452, 0.10277457535266876, -0.08387202024459839, -0.14112970232963562, -0.7449454069137573, 0.511743426322937, -0.35855090618133545, -0.2558761239051819, -0.3531701862812042, -0.7502721548080444, -0.17181019484996796, 0.5575003623962402, -0.6618667244911194, 0.9320375323295593, 0.30796584486961365, -0.688139021396637, 0.38749977946281433, -0.34119734168052673, -0.31098827719688416, 0.13737884163856506, -0.28107133507728577, 0.01628894731402397, -0.19137994945049286, -0.05829950049519539, 0.5743972659111023, -1.0060946941375732, 0.7485988140106201, -0.4552547037601471, -0.44976332783699036, 0.20761355757713318, -0.5265424251556396, 0.7669194936752319, 0.04943111166357994, -0.49870729446411133, 0.051661014556884766, -0.8330250382423401, 0.12242089211940765, -0.07796794921159744, -0.33129021525382996, -0.22147734463214874, -0.12582938373088837, 0.38600948452949524, 0.32787567377090454, 0.45593440532684326, -0.43953871726989746, -0.1199958547949791, -0.7256300449371338, 0.35357749462127686, 1.0203728675842285, -0.23219148814678192, -0.10573984682559967, -0.19687128067016602, 0.4703226685523987, -0.28687646985054016, 0.0004963888204656541, -0.003423370188102126, 0.04797026515007019, -0.5702524185180664, -0.046775590628385544, 0.5186823010444641, 0.6213998198509216, -0.4503464102745056, 0.5521798133850098, -0.09565530717372894, -0.8949546813964844, -0.04107597470283508, 0.4825151562690735, 0.41193538904190063, 0.3703264594078064, 0.057190604507923126, -0.1356423795223236, -0.09512758255004883, -1.0995969772338867, -0.4385959506034851, -0.21236339211463928, -0.20680496096611023, 0.08771897107362747, 0.5493981838226318, 0.15784284472465515, 0.5414059162139893, -0.4435860514640808, -0.2664521038532257, -0.3248644769191742, -0.15515774488449097, 0.6449811458587646, 0.36557018756866455, 0.8851016759872437, -0.660907506942749, -0.4864429831504822, 0.3926777243614197, -0.5165134072303772, -0.015391219407320023, -0.4608552157878876, -0.29535651206970215, 0.1010180339217186, 0.6330730319023132, -0.34086331725120544, 0.07661204040050507, 0.5172351002693176, -0.3343079686164856, 0.5446819067001343, -0.030617933720350266, -0.23331525921821594, -0.7430302500724792, 0.6123933792114258, 0.16617204248905182, -0.0875501036643982, -0.34338706731796265, 0.2779829800128937, 0.311386376619339, 0.1696014553308487, -0.24923160672187805, 0.9428558945655823, -0.15837177634239197, -0.29872578382492065, -0.139708012342453, 0.43218129873275757, -0.3210967481136322, 0.5089594125747681, -0.14322540163993835, 0.5534031391143799, 0.41481447219848633, -0.2576923966407776, 0.7871668338775635, -0.046232618391513824, -0.8109936118125916, 0.5848871469497681, -0.6849880218505859, -0.20389920473098755, 0.3753109276294708, 0.3533779978752136, -0.9254781603813171, -0.004254566505551338, -0.053505830466747284, 0.11982769519090652, 0.18273840844631195, 0.3274112045764923, -0.7920401096343994, -0.5100215673446655, -0.15642334520816803, 0.07459449023008347, 0.08237771689891815, -0.6396394371986389, 0.6450170874595642, 0.037409260869026184, -0.326743483543396, -0.7048388719558716, -0.5853939056396484, 0.03598906099796295, -0.0587444044649601, -0.6930426955223083, 0.3803461492061615, -0.14915381371974945, -0.4025559425354004, -0.22154314815998077, -0.3975597023963928, 0.015483902767300606, 0.2936394512653351, -0.17710372805595398, 0.4620489180088043, -0.35588374733924866, 0.07063426077365875, -0.08212628960609436, -0.15959246456623077, 0.25918272137641907, -0.13883785903453827, 0.6259148120880127, -0.26866960525512695, -0.4412185251712799, -0.12893275916576385, -0.18031291663646698, 0.1866058111190796, -0.4266654849052429, 0.5978001952171326, 0.462936669588089, -0.3787921369075775, -0.3478831946849823, -0.7956772446632385, 0.18655513226985931, -0.5021148920059204, 0.4281231164932251, -0.2566622197628021, -0.8896158933639526, 0.706728994846344, -0.11305128037929535, 0.49437111616134644, 0.744907557964325, 0.613686740398407, 0.46492570638656616, 0.41109681129455566, 0.6166486144065857, -0.5263115763664246, 0.2523936629295349, -0.10648475587368011, 0.14803998172283173, -0.30151697993278503, -0.14619824290275574, -0.47926509380340576, -0.1910255253314972, -0.30715078115463257, -0.3316403329372406, 0.18236921727657318, 0.032366152852773666, -0.46105778217315674, 0.32681313157081604, 0.017535613849759102, 0.5230458974838257, 0.28455111384391785, -0.15109647810459137, 0.24917945265769958, -0.3214075267314911, -0.3633803129196167, 0.1630220264196396, -0.38988593220710754, -0.30732089281082153, 1.029312252998352, 0.4059765040874481, 0.498784601688385, -0.050881486386060715, 0.35368531942367554, 0.03503520041704178, 0.6171877384185791, -0.5984507203102112, 0.45348095893859863, -0.4498317539691925, -0.7185881733894348, -0.22750696539878845, -0.5894101858139038, -0.36370858550071716, 0.3459778130054474, 0.008138882927596569, -0.6609355807304382, -0.01725459285080433, -0.1405845582485199, -0.6128714084625244, 0.3338225185871124, -0.09932935982942581, 1.0508184432983398, -0.7527347803115845, -0.4571416676044464, -0.1765289306640625, -0.4805459678173065, 0.8289692401885986, -0.674767017364502, 0.29002347588539124, -0.15298794209957123, -0.09758488088846207, 0.7344661951065063, -0.4684908092021942, 0.6429153680801392, -0.16007791459560394, -0.48118117451667786, 0.1309840828180313, -0.18631622195243835, 0.330469012260437, 0.0793687030673027, -0.45789065957069397, 0.2289499193429947, 0.3530585765838623, -0.3066729009151459, -0.5058111548423767, 0.772180438041687, -0.4008930027484894, -0.5292397737503052, -0.5878353118896484, -0.26345396041870117, -0.43564677238464355, 0.2991018295288086, -0.07110116630792618, 0.039312805980443954, -0.6414754390716553, 0.3562263548374176, 0.08480872213840485, -0.5567765831947327, 0.3380366563796997, 0.6404241323471069, -0.33669692277908325, -0.3478269577026367, 0.7194082736968994, 0.04401719942688942, 0.14248959720134735, 0.4009276032447815, 0.14720310270786285, -0.2594192326068878, -0.30037933588027954, -0.19262997806072235, 0.3391650319099426, -0.9651923179626465, -0.29300180077552795, -0.30861184000968933, -0.5785009264945984, -0.35285601019859314, -0.2052793949842453, -0.5056799054145813, 0.06859192252159119, 0.03781997039914131, -0.4145975708961487, 0.05431445688009262, 0.39189448952674866, -0.050061505287885666, 0.142084538936615, -0.7743698358535767, 0.2441769242286682, 0.2062181830406189, 0.720139741897583, 0.41160184144973755, -0.41761597990989685, -0.35254067182540894, -0.27099692821502686, -0.2415371686220169, -0.3003063499927521, 0.25421321392059326, 0.08749470859766006, 0.8958216905593872, 1.0776560306549072, -0.006800252012908459, 0.9512373208999634, -0.08875204622745514, 0.6403230428695679, 0.13158805668354034, -1.0926175117492676, 0.09231185168027878, -0.2654973566532135, 0.25343915820121765, 0.7626100778579712, 0.1549576371908188, -0.8508546948432922, -0.40019482374191284, -0.44903913140296936, -1.039094090461731, 0.7230145931243896, -0.025807252153754234, 0.17852294445037842, 0.14364109933376312, 0.47735175490379333, 0.10527791827917099, 0.3059332072734833, -0.6442030668258667, -0.14912617206573486, 0.0030571564566344023, -0.006500894669443369, -0.3259228765964508, -0.10724037885665894, 0.01787484623491764, -0.22610899806022644, 0.6149694323539734, -0.2561536729335785, -0.3887263834476471, -0.1168670654296875, 0.3434867262840271, 0.05637930706143379, 0.08095240592956543, 0.38912999629974365, 1.0316810607910156, -0.2754938304424286, -0.21118785440921783, 0.30721399188041687, -0.16598348319530487, -0.20802220702171326, 0.44949930906295776, 0.2223987877368927, -0.1254548728466034, 0.7657459378242493, 0.395070880651474, 0.561763346195221, -1.262668490409851, 0.6323778629302979, 0.01163480244576931, -0.3217322528362274, -0.858738362789154, 0.10601723939180374, 0.4468074142932892, 0.32859742641448975, 0.488319993019104, -0.28739047050476074, 0.09782236069440842, -0.5211628675460815, 0.18685834109783173, 0.4287693202495575, -0.360430508852005, 0.07468275725841522, 0.5993213057518005, 0.09905148297548294, 0.35184359550476074, 0.7246960401535034, 0.19683682918548584, -0.3672921061515808, 0.8913769721984863, 0.277790367603302, 0.8273279666900635, -0.21440759301185608, 0.014982744120061398, 0.539693295955658, 0.41311416029930115, -0.5125105381011963, 0.2389068752527237, -0.05599834397435188, -0.5805528163909912, -0.1960216611623764, -0.9261165857315063, -0.5612027049064636, 0.13293913006782532, -0.7558748722076416, 0.3540324568748474, -0.9817150831222534, -0.07690165191888809, 0.1079290434718132, 0.12967294454574585, -0.6108891367912292, 0.19181106984615326, 0.3346332311630249, 1.5764403343200684, -0.3433592617511749, 0.7010063529014587, 0.313110888004303, -0.04076334461569786, -0.7417575716972351, -0.020084824413061142, 0.27807295322418213, -0.6616954207420349, 0.6308878064155579, 0.2635901868343353, 0.12275069952011108, -0.3905019164085388, -0.4703918695449829, -0.9013861417770386, 1.2683298587799072, 0.5434961318969727, -1.066881537437439, -0.08537060767412186, 0.2876681983470917, 0.6900948882102966, -0.2581934630870819, 0.3611573576927185, 1.0078943967819214, 0.8827596306800842, 0.15735748410224915, -1.057070255279541, -0.11264172941446304, -0.5589500665664673, -0.018996497616171837, -0.02822032943367958, -1.2008440494537354, 0.9252052307128906, 0.19080522656440735, -0.12246163189411163, 0.21453692018985748, 0.5980441570281982, 0.4156746566295624, 0.36126407980918884, 0.6105515360832214, 0.21314476430416107, 0.7740507125854492, -0.3188749849796295, 1.1203824281692505, -0.8065347075462341, 0.2923666536808014, 1.0446213483810425, -0.5440088510513306, 1.0221710205078125, 0.1069072037935257, -0.3294270932674408, 0.35988903045654297, 0.8801144957542419, -0.5520744919776917, 0.018073489889502525, 0.6185592412948608, -0.00987059436738491, -0.5799044370651245, -0.024046538397669792, -0.3879872262477875, 0.623988926410675, 0.22680629789829254, -0.3295831084251404, -0.21865986287593842, -0.2770656943321228, 0.04904031753540039, 0.04440949857234955, -0.2829439342021942, 0.5416153073310852, 0.4777654707431793, -0.5798285007476807, 0.3115600049495697, 0.40514498949050903, 0.6355867981910706, -1.1731473207473755, 0.20188741385936737, -0.4562489986419678, 0.38061052560806274, -0.17244018614292145, -0.5542181134223938, 0.15439514815807343, 0.1298244744539261, 0.34035977721214294, 0.09669844806194305, 0.4125554859638214, -0.18329013884067535, -0.8169830441474915, 0.7865039706230164, 0.3018456697463989, -0.027703380212187767, -0.34825143218040466, -0.8386062383651733, -0.18401899933815002, -0.06907587498426437, -0.4893130958080292, 0.36870312690734863, 0.38686004281044006, -0.0023394799791276455, 0.7111081480979919, 0.7728116512298584, 0.01544827688485384, -0.3255205750465393, 0.206608846783638, 0.9142133593559265, -1.1416120529174805, -0.626491367816925, -0.8339584469795227, 0.14522869884967804, -0.029944226145744324, -0.47208255529403687, 0.7040064930915833, 0.8962736129760742, 1.115405797958374, 0.16408957540988922, 0.7053830623626709, 0.20519934594631195, 0.19826830923557281, -0.5518399477005005, 0.8905669450759888, -0.7532947063446045, 0.44633036851882935, -0.6387408971786499, -1.1111352443695068, -0.30354994535446167, 0.42032256722450256, -0.32928839325904846, 0.16259248554706573, 0.5696031451225281, 0.5493643879890442, 0.0061525143682956696, 0.19603970646858215, 0.5439644455909729, 0.1628410667181015, 0.19460748136043549, 0.7803253531455994, 0.5186757445335388, -0.1285104751586914, 0.6572168469429016, -0.5574503540992737, -0.07066061347723007, -0.02722039632499218, -0.7172430157661438, -0.9897551536560059, -0.21373224258422852, -0.11085987091064453, 0.08522456139326096, -0.3056087791919708, 0.9626235365867615, 0.3098801374435425, -0.9004419445991516, -0.9032717347145081, 0.3916637599468231, -0.12235359102487564, -0.5280768275260925, -0.2088353931903839, 0.6097164154052734, -0.23444384336471558, -0.6161770224571228, 0.33214735984802246, 0.36697494983673096, -0.07077017426490784, -0.487775057554245, 0.05259223282337189, 0.050136130303144455, 0.028321200981736183, 0.47372183203697205, 0.017781181260943413, -0.7360705137252808, 0.11467629671096802, -0.11352521926164627, -0.25025099515914917, -0.21267230808734894, 0.9099200963973999, -0.30755963921546936, 0.17835448682308197, 0.39052504301071167, 0.7525078058242798, 0.29946815967559814, -0.07194338738918304, 0.671387255191803, -0.2321169227361679, 0.163671612739563, -0.10317923873662949, 0.5261876583099365, 0.11684772372245789, -0.24457471072673798, 0.6744434237480164, -0.012225992046296597, -0.22371649742126465, -0.5888679027557373, -0.39246684312820435, -1.0440144538879395, -0.4561486840248108, 0.7661331295967102, -0.39717376232147217, -0.2986769378185272, 0.11830415576696396, -0.09470969438552856, -0.09608129411935806, -0.342871755361557, 0.581212043762207, 0.9670693874359131, 0.2996961772441864, -0.19957131147384644, -0.8333677649497986, 0.34253600239753723, 0.41271671652793884, -0.6942267417907715, 0.4268181622028351, 0.2958256006240845, 0.2516267001628876, -0.04289685934782028, 0.6366455554962158, -0.08668647706508636, 0.4313673973083496, 0.06548192352056503, 0.0105828195810318, 0.09389211982488632, -0.006177778821438551, -0.191482812166214, 0.26936376094818115, 0.04276331514120102, 0.771259605884552 ]
http://arxiv.org/abs/2407.02284v1
http://arxiv.org/pdf/2407.02284v1
Renard: A Modular Pipeline for Extracting Character Networks from Narrative Texts
2024-07-02T14:14:59
2024-07-02T14:14:59
Arthur Amalvy, Vincent Labatut, Richard Dufour
cs.CL
cs.CL
Renard (Relationships Extraction from NARrative Documents) is a Python library that allows users to define custom natural language processing (NLP) pipelines to extract character networks from narrative texts. Contrary to the few existing tools, Renard can extract dynamic networks, as well as the more common static networks. Renard pipelines are modular: users can choose the implementation of each NLP subtask needed to extract a character network. This allows users to specialize pipelines to particular types of texts and to study the impact of each subtask on the extracted network.
[ -0.31731683015823364, -0.5690564513206482, 0.1371578574180603, -0.16387100517749786, 0.012585241347551346, 0.22625280916690826, 0.22994129359722137, -0.636268138885498, 0.7533706426620483, 0.8090083599090576, -1.0374665260314941, -0.15022411942481995, -0.5290559530258179, 0.5360313057899475, -0.5293443202972412, 1.1518714427947998, 0.05755626782774925, -0.4516681134700775, 0.13741081953048706, -0.12719140946865082, -0.4681560695171356, -0.4200931191444397, -0.7700793743133545, -0.4928106963634491, 1.1535545587539673, 0.6698004007339478, 0.6826586723327637, 0.9051026701927185, 0.9453151822090149, 0.4301215708255768, 0.19398362934589386, 0.25664272904396057, -0.5241289138793945, 1.0352098941802979, -0.48946794867515564, -0.5126306414604187, -0.31736162304878235, -0.14705902338027954, 0.6659876108169556, 0.25052788853645325, 0.2674938142299652, 0.635141134262085, -0.2522096633911133, 1.0120313167572021, -0.6351492404937744, 0.2833251655101776, -0.3570547103881836, 0.2006361186504364, -0.3120797276496887, -0.4614046812057495, -0.3689382076263428, -0.4727060794830322, 0.378222793340683, -0.36079612374305725, 0.29373013973236084, 0.42058220505714417, 1.1962376832962036, -0.013921943493187428, -0.2117394208908081, -0.32860881090164185, -0.5890741348266602, 0.8667722344398499, -0.6398504376411438, -0.009600609540939331, 0.20162412524223328, 0.6533517241477966, -0.052589692175388336, -1.6892026662826538, -0.43278855085372925, 0.30768516659736633, -0.6812145709991455, -0.1502774953842163, -0.1048509031534195, 0.2978001832962036, 0.3339957892894745, 0.5690398812294006, -0.3804979920387268, -0.01352677308022976, -0.5799329876899719, -0.06709443777799606, 0.892899751663208, 0.5358800292015076, 0.806892991065979, -0.6491364240646362, -0.20263653993606567, -0.18084397912025452, -0.20742768049240112, 0.09338463842868805, 0.5864970088005066, 0.2570204436779022, 0.28369081020355225, 0.6627120971679688, -0.012791717424988747, 0.5900365114212036, -0.16874001920223236, -0.16007567942142487, 0.23554465174674988, 0.03190969303250313, -0.5774926543235779, 0.02001918852329254, 1.1252859830856323, 0.12929388880729675, 0.6728194952011108, -0.08025755733251572, -0.31758245825767517, -0.4968249499797821, 0.19622687995433807, -0.8009300827980042, -0.7649791836738586, 0.4809834361076355, -1.1288059949874878, -0.7525381445884705, 0.21325956284999847, -0.9360904693603516, -0.38526949286460876, -0.07524322718381882, 0.06380432099103928, -0.15019375085830688, -0.360246479511261, -0.23224090039730072, -0.9154805541038513, 0.08028443902730942, 0.021946558728814125, -1.1375256776809692, 0.37141838669776917, 0.6438153982162476, 0.9890022873878479, -0.48999151587486267, -0.4228755831718445, -0.6680675148963928, 0.039408352226018906, 0.09218458086252213, 0.9365466237068176, -0.6517521142959595, -0.07619660347700119, -0.06693611294031143, 0.6239178776741028, -0.040433499962091446, -0.35503360629081726, 0.6943830251693726, -0.6287219524383545, 0.17785608768463135, -0.20565447211265564, -0.3948046565055847, -0.6383991241455078, 0.30956727266311646, -1.1118781566619873, 0.8615574240684509, 0.18982751667499542, -1.159777283668518, 0.13333983719348907, -0.40317511558532715, -0.3689393997192383, 0.32339322566986084, -0.02841269224882126, 0.03411005809903145, -0.06881588697433472, 0.19926360249519348, 0.7253620624542236, -0.48278358578681946, 0.4089241623878479, -0.09583877772092819, -0.25845348834991455, 0.31835106015205383, -0.3310585021972656, 1.0122243165969849, 0.4273909628391266, 0.10048668086528778, 0.27839338779449463, -0.772456705570221, 0.16352589428424835, -0.09266922622919083, -0.2090434581041336, -0.4395844042301178, 0.3580893278121948, 0.19341981410980225, 0.03475034236907959, 0.10454241931438446, -0.4534378945827484, 0.4699358642101288, -0.5122831463813782, 0.6422080397605896, 0.7018046975135803, 0.3763379752635956, 0.2818419337272644, -0.553985059261322, 0.757045567035675, -0.4191421568393707, -0.11822977662086487, -0.851405143737793, -0.5690308809280396, -0.7920240759849548, -0.560335099697113, 0.3157026171684265, 0.7142624258995056, -0.9544296264648438, 0.2526172399520874, -0.06490221619606018, -0.42990440130233765, -0.5495697855949402, -0.062056660652160645, 0.15791206061840057, 0.49151811003685, 0.27267804741859436, -0.34292513132095337, -0.7973476648330688, -1.0779688358306885, -0.46386340260505676, -0.4775996804237366, 0.05173391103744507, 0.15820667147636414, 0.4105665385723114, -0.46112191677093506, 1.1963176727294922, -0.7227339148521423, -0.2845456898212433, -0.5771011710166931, 0.3773336410522461, 0.591002881526947, 0.3702135980129242, 0.1594967544078827, -0.7182192206382751, -0.6344799399375916, 0.25668346881866455, -0.9651557803153992, -0.3107985556125641, -0.3129692077636719, -0.023744257166981697, -0.27242791652679443, 0.5888180136680603, -0.051342178136110306, 0.3616010844707489, 0.5370700359344482, -0.4052066504955292, 1.0509473085403442, -0.11364413052797318, 0.17358657717704773, -1.0539588928222656, 0.2558668255805969, -0.3242034316062927, -0.47694724798202515, -0.6382227540016174, 0.3495999872684479, -0.19324226677417755, -0.07174499332904816, -0.2682197391986847, 0.7123820781707764, -0.6998013854026794, 0.010960648767650127, 0.042948462069034576, 0.03758464381098747, 0.15761327743530273, 0.39583250880241394, 0.23636235296726227, 0.3149261474609375, 0.49982312321662903, -0.21020442247390747, 0.9335301518440247, 0.19638852775096893, -0.0535515695810318, 0.3625538647174835, -0.8669317960739136, -0.038714248687028885, -0.16837769746780396, -0.20303358137607574, -1.3085784912109375, -0.37374216318130493, 0.20771855115890503, -0.19097033143043518, 0.3299328684806824, -0.5494743585586548, -0.39383235573768616, -0.30283400416374207, -0.29999208450317383, 0.4464591145515442, 0.3506081700325012, -0.47599825263023376, 0.5838072896003723, 0.5285241603851318, -0.4567023515701294, -0.8170375823974609, -1.0443854331970215, 0.11106257885694504, -0.24806855618953705, -0.6881235241889954, -0.07911378890275955, 0.265850305557251, -0.42453572154045105, 0.0856194943189621, 0.2687460482120514, -0.7215880155563354, -0.21002089977264404, 0.5257631540298462, 0.10786924511194229, -0.27377405762672424, 0.18265700340270996, 0.1592196226119995, -0.3254918158054352, -0.04466699808835983, 0.04700285196304321, 0.3722441792488098, -0.009716623462736607, -0.027996430173516273, -0.7785483598709106, 0.3693879246711731, 0.7606551647186279, -0.11596719175577164, 0.5440669059753418, 0.6360353231430054, 0.01823117956519127, -0.4109300673007965, -0.4975194036960602, -0.355416864156723, -0.5632392168045044, 0.2467840611934662, -0.2418098896741867, -0.8467658162117004, 0.6289653182029724, -0.25626441836357117, 0.23840028047561646, 0.6419224143028259, 0.10330391675233841, -0.20209799706935883, 0.31376564502716064, 0.5667080283164978, -0.25870752334594727, 0.3321167826652527, -0.3967958688735962, 0.1504315435886383, -0.86871337890625, -0.3865995407104492, -0.5250875949859619, -1.0156278610229492, -0.49883681535720825, -0.24699628353118896, -0.2232835441827774, 0.14501233398914337, -0.13941170275211334, 0.8155539035797119, -0.7753711938858032, 0.5322420597076416, 0.39018064737319946, -0.37949642539024353, 0.6802584528923035, 0.2923838794231415, 0.08439099788665771, -0.3423590660095215, -0.7071606516838074, -0.6860190629959106, 0.8137426972389221, 0.4773470163345337, 0.9285597205162048, -0.04552442952990532, 0.9180001020431519, 0.5867605805397034, 0.23456522822380066, -1.0329467058181763, 0.4392760694026947, -0.1716817021369934, -0.8867778778076172, -0.4145345985889435, -0.426315039396286, -1.1356650590896606, 0.18226155638694763, -0.4355620741844177, -1.018328309059143, 0.7426151633262634, -0.23402369022369385, -0.02088947221636772, 0.625490128993988, -0.6665943264961243, 0.7343659400939941, 0.009661581367254257, -0.07064568251371384, 0.04164215177297592, -0.7257629632949829, 0.508693516254425, 0.06075545400381088, -0.026244234293699265, -0.06979047507047653, 0.026822853833436966, 0.8895306587219238, -0.3126929700374603, 0.8307459950447083, 0.3209807574748993, 0.22553962469100952, 0.6527494192123413, 0.8192344307899475, 0.5195876359939575, 0.27409934997558594, -0.36559832096099854, 0.2649129033088684, 0.6019287705421448, 0.013258458115160465, -0.5072819590568542, 0.6593945622444153, -0.6155686974525452, -0.10770268738269806, -0.7239122986793518, -0.7705545425415039, 0.3446878492832184, 0.5784940123558044, 0.1096896156668663, 0.7793133854866028, -0.25842151045799255, 0.12860584259033203, 0.18828758597373962, -0.2469983845949173, 0.8625395894050598, 0.18257944285869598, -0.5014878511428833, -0.46335074305534363, 0.9071524739265442, 0.06281094998121262, 0.22850574553012848, 0.6349650025367737, 0.16629599034786224, 0.07882057130336761, -0.23357999324798584, -0.007357860449701548, 0.32149529457092285, -0.5886933207511902, -0.24171921610832214, -0.8958396315574646, -0.6123002171516418, 0.10512725263834, -0.2762991189956665, -0.33984819054603577, -0.8208132982254028, -0.4448373317718506, -0.0010347190545871854, 0.1718217134475708, 1.065032958984375, -0.05350508168339729, 0.16382089257240295, -1.1910876035690308, 0.48127269744873047, 0.6638370156288147, -0.14234468340873718, 0.03503895923495293, -0.30418962240219116, 0.09266708791255951, -0.3287350833415985, -0.14723648130893707, -0.8846405148506165, 0.9642277956008911, 0.3604177236557007, 0.4093969464302063, 0.6414975523948669, 0.05282555893063545, 0.7927542328834534, -0.5107882022857666, 0.9215046167373657, 0.24323882162570953, -0.6145484447479248, 0.44442319869995117, -0.4156506061553955, 0.1513376384973526, 0.6513427495956421, 0.5527515411376953, -0.9649166464805603, -0.09162556380033493, -0.7280904054641724, -0.7380138039588928, 0.7433990836143494, 0.15818637609481812, -0.1626785546541214, -0.24618284404277802, 0.7431298494338989, 0.11707761883735657, 0.2653607726097107, -0.7000085711479187, -0.4250728189945221, 0.23908917605876923, -0.035571563988924026, 0.26121386885643005, -0.6779468059539795, -0.15976953506469727, -0.3092831075191498, 0.22751399874687195, 0.0431315116584301, 0.3686470687389374, 0.4584871828556061, 0.018567563965916634, -0.14937035739421844, -0.15856821835041046, -0.00362583389505744, 0.6863711476325989, -0.39551040530204773, 0.26840126514434814, -0.1681799739599228, -0.763439953327179, 0.0007728731143288314, -0.28001171350479126, 0.0610278844833374, 0.1430802196264267, 1.2480288743972778, 0.36567801237106323, -0.031538087874650955, -0.6387398838996887, 0.3278108239173889, -0.30598318576812744, -0.14118905365467072, -0.13298282027244568, 0.15579819679260254, -0.19035473465919495, 0.7201939821243286, 0.40469124913215637, 0.2539435029029846, 0.23265795409679413, -0.7232149839401245, 0.5767518281936646, 0.04451752081513405, -0.7539897561073303, -0.37896353006362915, 0.33684539794921875, 0.22999605536460876, -0.7584848403930664, 1.0253931283950806, -0.0147151043638587, -0.21448935568332672, 0.7217917442321777, 0.5921676754951477, 1.4180866479873657, 0.16206113994121552, 0.5893476605415344, 0.6361850500106812, 0.4708563983440399, -0.1564553827047348, 0.07524463534355164, 0.23264451324939728, -0.7128245234489441, -0.6380405426025391, -0.7266881465911865, -0.11257364600896835, -0.2759084105491638, -0.7950184345245361, 0.3932225704193115, -0.4494834840297699, -0.09031105786561966, -0.3890513479709625, -0.06243365257978439, -0.23937569558620453, -0.11829280853271484, -0.27912193536758423, 0.9124364256858826, -0.7038178443908691, 0.9608196020126343, 0.4795357584953308, -0.23595410585403442, -0.9113798141479492, -0.14024174213409424, 0.045140381902456284, -0.70182204246521, 1.3611106872558594, -0.04115875065326691, -0.02192123420536518, 0.0336192362010479, -0.35411226749420166, -0.9161545634269714, 1.2786072492599487, 0.24648915231227875, -0.7038935422897339, -0.27081629633903503, -0.28468888998031616, 0.5900724530220032, -0.6930955052375793, 0.37705251574516296, 0.46173354983329773, 0.5595490336418152, -0.040209557861089706, -0.539458692073822, 0.021746670827269554, -0.32043546438217163, -0.2311784029006958, 0.32981789112091064, -0.34672221541404724, 1.0060389041900635, 0.06141671538352966, -0.46614763140678406, 0.15264922380447388, 0.5024992823600769, 0.04784894362092018, -0.050216928124427795, 0.26114514470100403, 0.19771191477775574, 0.8964943885803223, -0.03828756883740425, 1.135380744934082, -0.11485733836889267, 0.39141786098480225, 1.1494643688201904, 0.17637868225574493, 0.7599243521690369, 0.5549138188362122, 0.11447795480489731, 1.200174331665039, 0.49855345487594604, 0.07603755593299866, 0.4909566342830658, 0.06718835979700089, 0.05166114866733551, -0.023471487686038017, 0.16229978203773499, -0.17217740416526794, 0.2088155448436737, 0.2539367973804474, -0.6273841857910156, -0.03688480332493782, -0.4683845341205597, -0.11246462911367416, -0.15864016115665436, -0.21834570169448853, 0.5635908842086792, 0.22651976346969604, -0.48239612579345703, 0.29934391379356384, -0.17774097621440887, 0.42928752303123474, -0.8579909205436707, -0.2970094382762909, -0.050033073872327805, 0.1678737998008728, -0.7055746912956238, -0.9739096164703369, 0.5609729290008545, -0.350871205329895, -0.3285537660121918, -0.334483802318573, 1.0957955121994019, -0.47807133197784424, -0.46613505482673645, 0.2144080102443695, 0.3272320330142975, 0.2845916152000427, 0.2410433441400528, -0.9391511678695679, 0.033968061208724976, 0.09593947231769562, -0.33143582940101624, 0.057585153728723526, 0.6935639977455139, 0.2520519495010376, 0.857425332069397, 0.6902270913124084, 0.45284155011177063, -0.19589486718177795, -0.16031475365161896, 0.8229102492332458, -0.7582301497459412, -0.25424817204475403, -1.0979607105255127, 0.8418173789978027, -0.36711782217025757, -0.448748916387558, 0.9211544990539551, 0.1872888207435608, 0.07197710126638412, -0.08744331449270248, 0.622973620891571, -0.46928295493125916, 0.27360543608665466, -0.1410154104232788, 0.7876496315002441, -0.3469257950782776, 0.2616136074066162, -0.5804612636566162, -1.1602822542190552, -0.375383198261261, 0.6800350546836853, 0.14807188510894775, -0.5778548121452332, 1.3341898918151855, 0.6635048389434814, -0.15734970569610596, 0.19031572341918945, 0.15419426560401917, 0.04055585339665413, 0.4060020446777344, 0.30064448714256287, 0.5617637038230896, -0.46921342611312866, 0.30676841735839844, -0.0116976173594594, -0.27963826060295105, 0.09054583311080933, -1.1495482921600342, -1.4170587062835693, -0.6904630064964294, -0.0972682312130928, -0.25741323828697205, 0.06191527843475342, 0.5581198930740356, 0.7116336822509766, -0.8824982047080994, -0.7625735402107239, -0.028441738337278366, 0.452088862657547, -0.28876593708992004, -0.3698112368583679, 0.4333840012550354, -0.589864194393158, -0.6092931628227234, 0.402882844209671, 0.581849992275238, -0.47279229760169983, -0.48239389061927795, 0.013647128827869892, -0.6007595062255859, -0.15537051856517792, 0.4870826005935669, 0.5631289482116699, -0.19079719483852386, -0.3995836079120636, -0.19991256296634674, 0.08277637511491776, -0.1697828620672226, 1.169305682182312, -0.7617424726486206, 0.9105902314186096, 1.3054505586624146, 0.546923041343689, 0.6846494078636169, -0.041990939527750015, 1.0468881130218506, -0.7042750120162964, 0.36807289719581604, 0.24378111958503723, 0.2693338990211487, -0.05561419948935509, -0.4471343457698822, 0.8034942746162415, 0.5857680439949036, -0.9497070908546448, -0.80876225233078, 0.4256994128227234, -0.8563756346702576, -0.43033915758132935, 1.0745601654052734, -0.163311168551445, -0.35988521575927734, -0.451066792011261, -0.44663456082344055, -0.12754221260547638, -0.23822933435440063, 0.32993850111961365, 0.6476295590400696, -0.1560986489057541, -0.2850698232650757, -0.7110354900360107, 0.6242717504501343, -0.20456057786941528, -0.5570091605186462, 0.04992905631661415, 0.14365693926811218, 0.05054480955004692, 0.32923638820648193, 0.608963131904602, -0.2694232761859894, -0.24621573090553284, -0.08916783332824707, 0.16161122918128967, -0.2952054440975189, -0.5572444200515747, 0.022708725184202194, 0.5920692682266235, -0.3080117106437683, 0.19760072231292725 ]
http://arxiv.org/abs/2407.02273v1
http://arxiv.org/pdf/2407.02273v1
Multilingual Trolley Problems for Language Models
2024-07-02T14:02:53
2024-07-02T14:02:53
Zhijing Jin, Sydney Levine, Max Kleiman-Weiner, Giorgio Piatti, Jiarui Liu, Fernando Gonzalez Adauto, Francesco Ortu, András Strausz, Mrinmaya Sachan, Rada Mihalcea, Yejin Choi, Bernhard Schölkopf
cs.CL
cs.CL
As large language models (LLMs) are deployed in more and more real-world situations, it is crucial to understand their decision-making when faced with moral dilemmas. Inspired by a large-scale cross-cultural study of human moral preferences, "The Moral Machine Experiment", we set up the same set of moral choices for LLMs. We translate 1K vignettes of moral dilemmas, parametrically varied across key axes, into 100+ languages, and reveal the preferences of LLMs in each of these languages. We then compare the responses of LLMs to that of human speakers of those languages, harnessing a dataset of 40 million human moral judgments. We discover that LLMs are more aligned with human preferences in languages such as English, Korean, Hungarian, and Chinese, but less aligned in languages such as Hindi and Somali (in Africa). Moreover, we characterize the explanations LLMs give for their moral choices and find that fairness is the most dominant supporting reason behind GPT-4's decisions and utilitarianism by GPT-3. We also discover "language inequality" (which we define as the model's different development levels in different languages) in a series of meta-properties of moral decision making.
[ -0.456519216299057, -0.4725695550441742, 0.7022839784622192, 0.39125287532806396, 0.007195464801043272, 0.048944469541311264, -0.27180665731430054, -0.5434832572937012, -0.005257276818156242, 0.5300864577293396, -0.2726927101612091, -0.116860032081604, -0.549249529838562, 0.24338383972644806, -0.17783401906490326, 1.0278527736663818, 0.01334222499281168, 0.6428675651550293, -0.16482536494731903, -0.4987436532974243, -0.2276591658592224, -0.830255389213562, -0.8678836822509766, -0.49827098846435547, 0.7337350845336914, 0.39583438634872437, 0.7931625247001648, 0.22455529868602753, 0.5712223052978516, 0.37632250785827637, -0.19075742363929749, -0.18151147663593292, -0.22913116216659546, -0.17542727291584015, -0.4085691571235657, -0.4335876703262329, -0.3929998278617859, 0.11692163348197937, 0.2002822607755661, 0.6442891359329224, -0.13005080819129944, 0.3080293536186218, -0.00001486416113039013, 0.771187424659729, -0.4763074219226837, 0.03022674284875393, -0.4404619336128235, 0.11314834654331207, -0.14612746238708496, 0.24923677742481232, -0.27923285961151123, -0.6573140621185303, -0.11053688079118729, -0.20957176387310028, 0.031933046877384186, 0.057306475937366486, 1.0157121419906616, 0.027426043525338173, -0.8961845636367798, -0.49871188402175903, -0.5803035497665405, 1.061092495918274, -0.5622522830963135, 0.34438320994377136, 0.4397854506969452, 0.20200783014297485, -0.008410472422838211, -0.33088818192481995, -0.8513402938842773, -0.14221030473709106, -0.0772261992096901, 0.1641741245985031, 0.07463845610618591, -0.045494444668293, 0.1536066234111786, 0.08557365834712982, -0.5866238474845886, 0.233025461435318, -0.3768654763698578, -0.09527133405208588, 0.6475691795349121, 0.20733658969402313, 0.2603541612625122, -0.4595940411090851, -0.255776971578598, -0.1729566603899002, -0.523180365562439, 0.2091059386730194, 0.8390513062477112, 0.1361023187637329, -0.1730256825685501, 0.5296039581298828, 0.38505616784095764, 0.69123375415802, -0.19312834739685059, -0.2508730888366699, 0.3502384126186371, -0.4016324281692505, -0.1782095730304718, -0.1271546632051468, 0.9277502298355103, 0.7265216708183289, 0.8570929169654846, 0.4381048381328583, -0.3746338486671448, -0.04110145941376686, 0.021347304806113243, -0.4794287085533142, 0.18242575228214264, 0.2382207214832306, -0.4806751310825348, -0.2494056224822998, -0.2054556906223297, -0.7910588979721069, -0.4271072447299957, -0.3631240725517273, 0.056913044303655624, -0.2401152104139328, -0.3586882948875427, 0.5680079460144043, 0.0917394608259201, 0.4577440321445465, 0.19323159754276276, -0.9142588376998901, -0.18068550527095795, 0.44959723949432373, 0.7691388726234436, 0.059628721326589584, -0.2455749213695526, -0.35061413049697876, 0.14584515988826752, -0.28019285202026367, 0.7520327568054199, -0.6468993425369263, -0.5696945190429688, 0.08856198191642761, 0.15674537420272827, -0.05040900036692619, -0.33151644468307495, 0.8914065957069397, -0.22513394057750702, 0.1824081540107727, -0.5683261156082153, -0.022093428298830986, -0.28191056847572327, 0.38057562708854675, -0.6059002876281738, 0.7421600818634033, -0.13774451613426208, -0.6729441285133362, 0.20861274003982544, -0.5583862662315369, -0.5166196227073669, -0.2782363295555115, -0.25471144914627075, -0.3391566574573517, 0.22409483790397644, 0.0731864795088768, 0.30880358815193176, -0.3912675380706787, 0.6738379001617432, -0.4166939854621887, -0.003588574705645442, 0.20902730524539948, -0.5375281572341919, 1.2372121810913086, 0.3233545124530792, 0.03854988142848015, 0.028080157935619354, -0.43360528349876404, -0.031250204890966415, 0.41130128502845764, -0.3909858465194702, -0.5149564743041992, 0.1543322652578354, 0.20160487294197083, 0.49117720127105713, 0.38276076316833496, -0.46450379490852356, 0.18642102181911469, -0.20167545974254608, 0.3988446891307831, 1.0088666677474976, -0.5735423564910889, 0.28119006752967834, -0.3095448911190033, 0.6510463953018188, 0.007311579771339893, 0.5245888233184814, 0.2184067815542221, -0.6252953410148621, -1.1135855913162231, 0.2597699463367462, 0.02594991773366928, 0.760667085647583, -0.6515377759933472, 0.0487632118165493, -0.023923009634017944, -0.11628285050392151, -0.4410296082496643, -0.08797458559274673, 0.47689399123191833, 0.16939085721969604, 0.15400636196136475, -0.10904117673635483, -0.508805513381958, -1.27970552444458, -0.3445490598678589, -0.3967522382736206, 0.1021256074309349, 0.37023285031318665, 0.7162501811981201, -0.21474681794643402, 0.7564623951911926, -0.3486027121543884, -0.20548772811889648, -0.35354650020599365, -0.11854972690343857, 0.37953805923461914, 0.335970401763916, 0.8054448366165161, -0.8645023703575134, -0.3660971522331238, 0.3924049437046051, -0.6338819861412048, -0.08091168105602264, 0.02434373088181019, -0.04228280857205391, 0.22390693426132202, 0.28241023421287537, -0.37852612137794495, 0.07603789865970612, 0.8343909978866577, -0.25862255692481995, 0.7173250913619995, -0.33611345291137695, 0.07507643848657608, -1.0520403385162354, -0.265498548746109, -0.032287996262311935, -0.06658273190259933, -0.42104238271713257, -0.07014014571905136, 0.09864560514688492, 0.03975167125463486, -0.5485137104988098, 0.6013690233230591, -0.24979069828987122, -0.24702171981334686, 0.13328012824058533, 0.42264842987060547, -0.02654142677783966, 0.48770803213119507, -0.18385429680347443, 0.8094646334648132, 0.40051957964897156, -0.5911768674850464, 0.2714988589286804, 0.3188479244709015, -0.19390347599983215, 0.6988508701324463, -0.6024507880210876, 0.028283940628170967, -0.2741655111312866, 0.10815467685461044, -0.6868919134140015, -0.11894406378269196, 0.0628931075334549, -0.28122678399086, -0.21212980151176453, -0.22583088278770447, -0.5196871757507324, -0.5092377066612244, -0.11246058344841003, 0.433754563331604, 0.3154027760028839, -0.430117130279541, 0.6186317205429077, 0.6649313569068909, -0.18340684473514557, -0.8999781012535095, -0.6198484897613525, 0.1286391168832779, -0.39903777837753296, -0.6844952702522278, -0.23690563440322876, -0.23324252665042877, -0.5526328086853027, -0.31446531414985657, -0.0056960140354931355, -0.11461913585662842, 0.024501506239175797, -0.23699422180652618, 0.09746313840150833, 0.032554078847169876, 0.20116077363491058, 0.06284423917531967, -0.2441297173500061, 0.20804305374622345, -0.4773321747779846, 0.562023401260376, -0.650077760219574, -0.44019562005996704, 0.06790103763341904, 0.4932625889778137, 0.5431789755821228, -0.45265504717826843, 0.42129096388816833, 0.6686972975730896, -0.13498859107494354, 0.24377493560314178, -0.4551403820514679, 0.25867947936058044, -0.5487250089645386, 0.2329692840576172, -0.4100542366504669, -0.933113694190979, 0.7394484281539917, 0.19564568996429443, 0.12600396573543549, 0.2424713671207428, 0.6373316645622253, -0.15707749128341675, 1.309821367263794, 0.6209014058113098, 0.07086321711540222, 0.4058501422405243, -0.16710057854652405, 0.384006530046463, -0.507300078868866, -0.26560738682746887, -0.8218514919281006, -0.2931549549102783, -0.9829368591308594, -0.4092917740345001, 0.4906778633594513, 0.1286541223526001, -0.5311381816864014, 0.135976180434227, -0.26352256536483765, 0.8038374185562134, 0.3057417571544647, -0.342540979385376, 0.5623862147331238, -0.043216731399297714, -0.6020389795303345, -0.07229653745889664, -0.6672742366790771, -0.9331642389297485, 0.7363983988761902, -0.011376379989087582, 0.7268386483192444, 0.47818100452423096, 0.40391355752944946, -0.0585014671087265, 0.2559165060520172, -0.6749574542045593, 0.6119859218597412, -0.5677683353424072, -0.7177072763442993, -0.03336481750011444, -0.338226318359375, -1.1066120862960815, 0.41865143179893494, 0.037648044526576996, -0.6606351137161255, 0.2877156436443329, 0.03458559885621071, -0.1465977281332016, 0.5548926591873169, -0.7452890276908875, 0.7699246406555176, -0.8333005309104919, -0.3280184268951416, -0.22563429176807404, -0.7236020565032959, 0.6275477409362793, -0.16786345839500427, 0.7276285886764526, -0.25989362597465515, 0.0913846418261528, 0.6258453726768494, -0.2669340968132019, 0.710442066192627, 0.15627847611904144, -0.5970572233200073, 0.03451215475797653, 0.13971249759197235, 0.4289870262145996, 0.38197198510169983, -0.18009309470653534, 0.3312557637691498, -0.05041699483990669, -0.49698930978775024, -0.3615393340587616, 0.7427934408187866, -0.7762147188186646, -0.9753538966178894, -0.6049791574478149, -0.4201364517211914, -0.16255076229572296, 0.2567319869995117, 0.12651541829109192, 0.21748441457748413, -0.018055448308587074, 0.026609402149915695, 0.4258812665939331, -0.8351916670799255, 0.7138052582740784, 0.6000438332557678, -0.7334216833114624, -0.2937873303890228, 0.7767518758773804, -0.11437323689460754, 0.5263053178787231, 0.1269841492176056, 0.38229799270629883, -0.4082556664943695, -0.4035695493221283, -0.5775882005691528, 0.3260931670665741, -0.7487598061561584, -0.002854393096640706, -0.6924952268600464, 0.0681719034910202, 0.05782555043697357, -0.4594815671443939, -0.49074649810791016, -0.23866738379001617, -0.13583797216415405, -0.1053086519241333, 0.36133572459220886, 0.9887407422065735, -0.30167698860168457, 0.25023573637008667, -0.9159825444221497, 0.12331759184598923, 0.17986273765563965, 0.4492814242839813, -0.005044056102633476, -0.28387680649757385, -0.3010728061199188, 0.10656208544969559, -0.45942020416259766, -0.6373119354248047, 0.34641337394714355, -0.33309808373451233, 0.3794243633747101, 0.4908161759376526, -0.05832726135849953, 0.8259812593460083, -0.57030189037323, 0.724307119846344, 0.3200652301311493, -1.0931049585342407, 0.16766342520713806, -0.5281043648719788, -0.0800708457827568, 0.27849823236465454, 0.4498523473739624, -0.7852009534835815, -0.484789103269577, -0.34332969784736633, -0.7849531173706055, 0.6159092783927917, 0.35961025953292847, 0.46019959449768066, -0.266377329826355, 0.11321058869361877, 0.03636042773723602, 0.026718685403466225, -1.1878365278244019, -0.27327361702919006, -0.22065682709217072, -0.05156230553984642, -0.2274622768163681, -0.07535573095083237, -0.04304305836558342, -0.26371636986732483, 0.32724711298942566, -0.07738246768712997, 0.027051083743572235, 0.05488022789359093, -0.08157774806022644, -0.05298866331577301, 0.4310399889945984, 0.8412966728210449, 0.8215983510017395, 0.10205411911010742, 0.06137744337320328, 0.37151235342025757, -0.3658932149410248, 0.5576591491699219, -0.3470010459423065, 0.0616820864379406, -0.05381544679403305, 0.27749961614608765, 0.7473948001861572, -0.03355592116713524, -0.8028636574745178, 0.34472402930259705, -0.36213403940200806, -0.08901384472846985, -0.6348093152046204, -0.024372976273298264, 0.35686320066452026, 0.3308252990245819, 0.19894295930862427, 0.0081721106544137, -0.04616212099790573, -0.40647149085998535, -0.006686185486614704, 0.5989835858345032, -0.34424278140068054, -0.20369504392147064, 0.6818463802337646, 0.4639616012573242, -0.6480441093444824, 0.5427233576774597, -0.3789781928062439, -0.7376629710197449, 0.7515830993652344, 0.2641180157661438, 0.7710029482841492, -0.2449164092540741, 0.43782779574394226, 0.3422337472438812, 0.5914056897163391, -0.23819813132286072, 0.34395021200180054, 0.4818267226219177, -1.0902997255325317, -0.6257756352424622, -0.69899582862854, -0.31747058033943176, 0.0647607296705246, -0.7370060682296753, 0.3804292678833008, -0.13029031455516815, -0.31559979915618896, -0.47874709963798523, -0.1360466182231903, -0.5167869925498962, -0.10153613984584808, -0.19824738800525665, 0.35339486598968506, -0.7243813276290894, 0.837264358997345, 0.5745061039924622, -0.5202136635780334, -0.5920950174331665, 0.036095865070819855, -0.15618835389614105, -0.7923318147659302, 0.787194013595581, 0.07893657684326172, -0.33326461911201477, 0.019916027784347534, -0.41979584097862244, -0.703803300857544, 0.7070125937461853, 0.6270602941513062, -0.8510096669197083, 0.011066234670579433, 0.2681746184825897, 0.4993513524532318, -0.20815351605415344, 0.3162015974521637, 0.602938711643219, 0.8965906500816345, -0.2780054211616516, -1.1241179704666138, -0.38122671842575073, 0.02643786557018757, -0.022335883229970932, 0.4821411073207855, -0.9765167832374573, 1.1227970123291016, -0.5904435515403748, -0.13877208530902863, -0.09034755080938339, 0.19373245537281036, 0.33764442801475525, 0.27324169874191284, 0.6282486915588379, 0.32118934392929077, 0.7605317831039429, -0.1176963746547699, 1.2413278818130493, -0.22248929738998413, 0.6690530776977539, 0.8159140348434448, -0.5601019263267517, 0.30273324251174927, 0.5236740112304688, -0.2024690806865692, 0.37584900856018066, 0.6643339991569519, 0.14166754484176636, 0.025653861463069916, 0.26873764395713806, -0.08179105818271637, -0.4538317322731018, -0.24148115515708923, -0.292269229888916, 0.5620304942131042, 0.22817738354206085, -0.019584177061915398, -0.17876718938350677, 0.10995558649301529, 0.2680104970932007, 0.05210713669657707, -0.1909712255001068, 0.44206884503364563, 0.24164806306362152, -0.3941923677921295, 0.6611073017120361, 0.12266410887241364, 0.5262042284011841, -0.5013846158981323, 0.2929610013961792, -0.4914065897464752, 0.19706620275974274, -0.09843556582927704, -1.0876028537750244, 0.2868455946445465, 0.23376969993114471, -0.09030786156654358, -0.39634960889816284, 0.11600018292665482, -0.4201356768608093, -0.7575433254241943, 0.8338221311569214, 0.8072104454040527, 0.1995784193277359, 0.49000513553619385, -0.9108690023422241, -0.02472926862537861, 0.21236573159694672, -0.22981251776218414, 0.2761181890964508, 0.6091372966766357, -0.4719144403934479, 0.9840790629386902, 0.7408811450004578, -0.11575666069984436, -0.1641036719083786, 0.28282955288887024, 0.5272459983825684, -1.0214987993240356, -0.3697631359100342, -0.9685126543045044, 0.42825832962989807, -0.027012314647436142, -0.379127562046051, 0.6572632193565369, 0.4454905390739441, 1.1360251903533936, -0.147419735789299, 0.88886559009552, 0.019499901682138443, -0.05041517689824104, -0.8000196218490601, 0.6282203793525696, -0.7943114042282104, 0.4053850471973419, -0.4011722207069397, -0.720445454120636, -0.17060428857803345, 0.9057644009590149, -0.3157435655593872, 0.37791338562965393, 0.983119547367096, 0.7281920313835144, 0.05407150089740753, -0.026408489793539047, 0.4058741629123688, 0.22296768426895142, 0.4685611128807068, 0.7768567204475403, 1.1141949892044067, -0.21197594702243805, 0.8247092962265015, 0.1518055945634842, 0.23031064867973328, 0.0685306116938591, -0.9646170139312744, -0.9053089022636414, -0.5306736826896667, 0.12529809772968292, -0.29408878087997437, -0.06967636197805405, 0.800591230392456, 0.35111358761787415, -0.7525513768196106, -0.8204776048660278, 0.07312856614589691, 0.814487874507904, 0.04596203565597534, -0.16771844029426575, 0.13366182148456573, -0.1810712069272995, -1.0306013822555542, -0.06310328841209412, 0.24486464262008667, 0.1633606106042862, -0.41394805908203125, -0.2650240957736969, -0.3577563762664795, 0.15592113137245178, 0.768808126449585, -0.2560671269893646, -0.8032216429710388, -0.48929858207702637, -0.1088993176817894, -0.08283344656229019, 0.22409123182296753, 1.1687650680541992, -0.2596627473831177, 0.19980348646640778, 0.322295606136322, 0.2424853891134262, 0.23933276534080505, -0.2409764975309372, 0.8013924360275269, -0.42910847067832947, 0.35702788829803467, 0.2307506948709488, 0.6182363629341125, 0.3446909487247467, 0.004418238531798124, 0.4964946210384369, 0.16423501074314117, -0.6320245265960693, -0.7300567030906677, 0.6507830619812012, -0.6018924713134766, -0.3561665117740631, 1.2223228216171265, 0.07814037799835205, 0.07114644348621368, -0.44588589668273926, -0.26982930302619934, 0.09014138579368591, -0.4233876168727875, 0.4573928713798523, 0.9626670479774475, -0.04823983088135719, -0.04142743721604347, -0.987602949142456, 0.41002336144447327, 0.45045578479766846, -0.5998647212982178, 0.06935302168130875, 0.5360295176506042, 0.15547186136245728, 0.09366631507873535, 0.40745651721954346, -0.0767681896686554, -0.13728250563144684, -0.5060551166534424, 0.26154249906539917, 0.3219095766544342, -0.23631030321121216, -0.41041189432144165, 0.0009122038609348238, -0.10896424204111099, 0.283698171377182 ]
http://arxiv.org/abs/2407.02243v1
http://arxiv.org/pdf/2407.02243v1
Robust Zero-Shot Text-to-Speech Synthesis with Reverse Inference Optimization
2024-07-02T13:04:04
2024-07-02T13:04:04
Yuchen Hu, Chen Chen, Siyin Wang, Eng Siong Chng, Chao Zhang
cs.CL
cs.CL, cs.SD, eess.AS
In this paper, we propose reverse inference optimization (RIO), a simple and effective method designed to enhance the robustness of autoregressive-model-based zero-shot text-to-speech (TTS) systems using reinforcement learning from human feedback (RLHF). To assess the quality of speech produced by the TTS system without human annotations, RIO introduces a novel concept termed as reverse inference based on the Bayesian principle, which suggests that a high-quality generated speech should be able to be used as a prompt for subsequent generation using the same TTS model. By leveraging reverse inference as the standard to select exemplars used in RLHF from the speech samples generated by the TTS system itself, RIO steers the subsequent optimization towards a direction of enhancing the TTS robustness. The RIO framework, comprising sampling, automatic annotating, and learning, obviates the need for a reward model or pairwise preference data, and significantly improves the stability of zero-shot TTS performance by reducing the discrepancies between training and inference conditions. Our experimental results verify that RIO can effectively improve both subjective and objective metrics, including mean opinion scores, word error rates, and speaker similarity. Remarkably, RIO can also diminish the incidence of bad outputs to nearly zero percent, rivalling the robustness when using ground-truth speech as the prompt.
[ -0.3510698080062866, -0.8750119805335999, 0.4029688239097595, 0.07735365629196167, -0.48936647176742554, 0.046847496181726456, -0.02858917973935604, -0.1884276568889618, 0.19604909420013428, 0.5247559547424316, -0.7327878475189209, -0.6324223875999451, -0.410601943731308, 0.058115217834711075, -0.4390604496002197, 1.1664518117904663, 0.38649046421051025, 0.01473951991647482, 0.17527423799037933, 0.013712726533412933, -0.3124445676803589, -0.30362698435783386, -0.8388128280639648, -0.26020383834838867, 0.5756755471229553, 0.28032147884368896, 0.5666625499725342, 0.6803967952728271, -0.22609493136405945, 0.14347237348556519, 0.022971905767917633, -0.059792108833789825, -0.5016667246818542, 0.5576254725456238, -0.3398174047470093, -0.3064189851284027, -0.20894655585289001, -0.11000292748212814, 0.6280797719955444, 0.32829269766807556, -0.10340792685747147, 0.20894058048725128, -0.018264230340719223, 0.3713405430316925, -0.9443932771682739, -0.20661906898021698, -0.6394786834716797, 0.17024382948875427, 0.31327998638153076, -0.3384523391723633, -0.42797204852104187, -0.5232887864112854, -0.008320304565131664, -0.4182758629322052, 0.3483937978744507, -0.06784671545028687, 0.713165819644928, 0.4769684374332428, -0.0179921705275774, 0.2872603237628937, -1.0227333307266235, 1.0402190685272217, -1.0501943826675415, 0.6990945339202881, 0.2892198860645294, 0.1952638030052185, -0.23844754695892334, -0.35831132531166077, -0.6089850664138794, -0.42153069376945496, 0.22492843866348267, 0.4335747957229614, -0.04112323746085167, 0.24750755727291107, 0.0476040244102478, -0.1812152862548828, -0.6939912438392639, 0.18883877992630005, -0.10136767476797104, -0.3012571632862091, 0.6379479765892029, -0.015234707854688168, 0.15335436165332794, -0.01893816702067852, -0.12875935435295105, -0.33734622597694397, -0.9079193472862244, -0.20375393331050873, 0.5180640816688538, 0.6619685292243958, 0.03353600576519966, 0.4101746678352356, -0.27887994050979614, 0.7350565791130066, -0.04195816442370415, -0.40195658802986145, 0.12311206012964249, -0.0679812878370285, -0.4406099319458008, 0.09082101285457611, 0.8857958912849426, 0.11155101656913757, 0.03260944411158562, -0.408952534198761, -0.32971081137657166, 0.11615262925624847, 0.31631600856781006, -0.6802597045898438, 0.2624419331550598, 0.5231828689575195, -0.11815948784351349, -0.5397112965583801, -0.017392434179782867, -0.981230616569519, -0.1065087765455246, -0.16694124042987823, 0.7095257639884949, -0.18647843599319458, -0.10184476524591446, -0.17161288857460022, -0.24432070553302765, 0.17251457273960114, 0.22216302156448364, -0.8191215991973877, -0.04917523264884949, 0.5859487056732178, 0.7011756896972656, -0.016898395493626595, -0.47719866037368774, -0.9504685401916504, 0.28644460439682007, -0.6648662686347961, 0.8098474740982056, -0.2035302072763443, -0.6882719397544861, -0.18810680508613586, -0.2937583029270172, -0.06472866237163544, -0.2659775912761688, 0.7648751735687256, -0.27162638306617737, 0.4639517366886139, 0.20304672420024872, -0.1457986980676651, 0.09994341433048248, 0.15169492363929749, -0.23661597073078156, 0.8683616518974304, -0.1076875552535057, -0.5069038271903992, 0.4386676847934723, -0.3911541998386383, -0.5927734971046448, -0.3369244635105133, -0.23588481545448303, -0.6840814352035522, 0.13153968751430511, 0.3896470069885254, 0.09808913618326187, -0.28612464666366577, 0.425279825925827, -0.4261894226074219, -0.5163472294807434, -0.04047510027885437, -0.6132888197898865, 0.5103482604026794, 0.47042450308799744, -0.5399610996246338, 0.2584620714187622, -0.7460465431213379, 0.10586251318454742, -0.06281977891921997, -0.26684629917144775, -0.036937467753887177, 0.19892965257167816, -0.18121661245822906, -0.03474403917789459, -0.32428592443466187, -0.6689488291740417, 0.0030999230220913887, -0.8423065543174744, 0.4187523126602173, 0.4892801344394684, 0.2787635326385498, 0.4012995660305023, -0.27507543563842773, 0.6767598986625671, -0.21374134719371796, 0.1898721605539322, -0.09396602213382721, -0.3867625296115875, -0.3910590708255768, -0.3080376982688904, 0.4458985924720764, 0.8300058841705322, -0.7915498614311218, 0.5153034329414368, -0.17636646330356598, -0.5130345821380615, -0.6461562514305115, -0.34317171573638916, 0.5756775140762329, 1.0200090408325195, 0.37492313981056213, -0.23034147918224335, -0.5133758187294006, -0.8621383905410767, -0.42840805649757385, -0.5678348541259766, -0.28868040442466736, 0.035025764256715775, 0.32849806547164917, 0.03311794996261597, 1.0661077499389648, -0.2964215576648712, -0.045311763882637024, -0.2943044900894165, 0.5616323947906494, 0.1463489830493927, 0.5572842955589294, 0.4510299861431122, -0.4784148633480072, 0.027938487008213997, -0.3496829867362976, -0.3447986841201782, -0.49393680691719055, -0.3812648355960846, -0.07841414958238602, 0.4562240242958069, 0.38875338435173035, -0.25615179538726807, 0.5995854735374451, 0.3270016014575958, -0.025757141411304474, 0.5451814532279968, -0.10343772917985916, 0.34382572770118713, -0.8548786044120789, 0.21087469160556793, -0.001911501749418676, -0.17207199335098267, -0.4838729500770569, -0.09889451414346695, -0.3551366925239563, -0.2643479108810425, -0.4584547281265259, 0.5509974956512451, -0.13280145823955536, -0.27835729718208313, -0.29644492268562317, 0.3712172210216522, 0.24372638761997223, 0.5788798332214355, 0.34642493724823, 1.0045139789581299, 0.38542354106903076, -0.45984408259391785, 0.10116687417030334, 0.17745506763458252, -0.014599950052797794, 0.6183778047561646, -0.8561668395996094, 0.14270217716693878, -0.3773905634880066, 0.3212636411190033, -1.1575713157653809, 0.012077158316969872, 0.38877034187316895, -0.952593207359314, 0.40200275182724, -0.36672186851501465, -0.04066096991300583, -0.17247682809829712, -0.5551545023918152, 0.03927163779735565, 0.6101437211036682, -0.32274478673934937, 0.4934423267841339, 0.3007926940917969, -0.23825545608997345, -0.7630516886711121, -0.9907779693603516, 0.17178697884082794, -0.3657465875148773, -0.19828324019908905, 0.316135048866272, 0.32373908162117004, 0.07235126197338104, -0.18398460745811462, -0.10437961667776108, -0.00017064204439520836, -0.025812435895204544, 0.09520172327756882, 0.17552797496318817, -0.057433318346738815, 0.08703060448169708, 0.5867871642112732, -0.2848864197731018, -0.13264937698841095, -0.4210870563983917, 0.14147497713565826, 0.2541472911834717, -0.28320199251174927, -0.635692834854126, 0.3986715078353882, 0.4971829354763031, 0.05387101694941521, 0.41287532448768616, 0.593396008014679, -0.09057192504405975, -0.28618165850639343, -0.3137645423412323, -0.5340932607650757, -0.354985773563385, 0.33896604180336, -0.2900192141532898, -0.633102536201477, 0.25419750809669495, 0.10143876820802689, 0.14585699141025543, 0.26357588171958923, 0.452654629945755, 0.02325933426618576, 1.0484071969985962, 0.13749518990516663, -0.2531517446041107, 0.6631452441215515, -0.1624734103679657, 0.08111970871686935, -0.6621890068054199, 0.12049825489521027, -0.8497902750968933, -0.07322794944047928, -0.6291247606277466, -0.01211653184145689, 0.4495002031326294, 0.012845869176089764, -0.6306121349334717, 0.5018119215965271, -0.6799554824829102, 0.17105579376220703, 1.051729440689087, 0.1287791132926941, 0.21301232278347015, 0.06664974987506866, -0.12682782113552094, 0.04127079248428345, -0.7885417342185974, -0.4855581223964691, 0.9177699089050293, 0.16729500889778137, 0.8787418603897095, -0.030338581651449203, 1.092805027961731, 0.358288437128067, 0.1775016039609909, -0.7474673390388489, 0.4564450979232788, 0.2366379052400589, -0.5147972702980042, -0.579136848449707, -0.5355995297431946, -0.9486963748931885, 0.2962770164012909, -0.5354140996932983, -0.9414042234420776, 0.034350115805864334, 0.3544592559337616, -0.6397495269775391, 0.0739721730351448, -0.7512875199317932, 0.637797474861145, -0.08604519069194794, -0.8485726714134216, -0.08602046966552734, -1.0096112489700317, 0.0006911168457008898, 0.23494137823581696, 0.17388562858104706, 0.20647579431533813, 0.07498661428689957, 0.8598933219909668, -0.1327681541442871, 0.7743021845817566, -0.31612107157707214, -0.2092859297990799, 0.6303098201751709, 0.191409170627594, 0.4468245804309845, 0.14569374918937683, -0.12711003422737122, 0.016925135627388954, 0.20367646217346191, -0.24853305518627167, -0.8413168787956238, 0.5718073844909668, -0.8202539682388306, -0.708764910697937, -0.17360644042491913, -0.06119837611913681, -0.631377100944519, 0.18822139501571655, 0.422133207321167, 0.5033959746360779, -0.14292562007904053, -0.02853209711611271, 0.3158476948738098, -0.502180278301239, 0.5941441655158997, 0.33375826478004456, -0.1201101690530777, -1.1465985774993896, 0.9020851850509644, -0.008538898080587387, 0.312378466129303, 0.6619222164154053, 0.34701868891716003, -0.696433424949646, -0.821830153465271, -0.7962334752082825, 0.28367143869400024, -0.24554377794265747, -0.23520267009735107, -0.2748754024505615, 0.038484856486320496, -0.721818745136261, -0.17872847616672516, -0.45417410135269165, -0.6998003125190735, -0.4734078347682953, -0.1826392114162445, -0.08746171742677689, 0.28543052077293396, -0.24555575847625732, 0.5348120331764221, -0.9742289781570435, 0.5101385712623596, 0.23331734538078308, 0.18914632499217987, -0.1870003193616867, -0.9613938331604004, -0.026682212948799133, 0.2866443991661072, -0.48531848192214966, -1.0629863739013672, 0.5311691761016846, 0.042602017521858215, 0.5405243635177612, 0.294705331325531, 0.31056854128837585, 0.5428054928779602, -0.14300109446048737, 0.9170213937759399, 0.15846878290176392, -0.9749512672424316, 0.7915992140769958, -0.5657270550727844, 0.2110576629638672, 0.5479700565338135, -0.06335613131523132, -0.334102988243103, -0.5631091594696045, -0.6655498743057251, -0.847919225692749, 0.6957168579101562, 0.3017527163028717, 0.026243003085255623, 0.0687682256102562, 0.327922523021698, -0.003858000272884965, 0.38488996028900146, -0.5796642303466797, 0.004271600861102343, -0.41372352838516235, -0.16093480587005615, 0.062446486204862595, -0.11141173541545868, -0.06899640709161758, -0.07039951533079147, 1.1352370977401733, -0.18201056122779846, 0.31642019748687744, 0.5021592974662781, 0.22442030906677246, -0.21044018864631653, 0.5227277874946594, 0.9317817091941833, 0.4094853699207306, -0.36108946800231934, 0.0006092478288337588, 0.1936555653810501, -0.3331272304058075, 0.17982473969459534, -0.0978442057967186, -0.49042728543281555, -0.06497079879045486, 0.32262325286865234, 0.9353742003440857, -0.10420403629541397, -0.5547600984573364, 0.28981682658195496, 0.18099577724933624, -0.20703448355197906, 0.023293770849704742, 0.21422404050827026, -0.2570699155330658, 0.2488783746957779, 0.37549424171447754, -0.09279458224773407, 0.13235360383987427, -0.3426627814769745, 0.2068159431219101, 0.4389364421367645, -0.3986440598964691, -0.2739206552505493, 0.974840521812439, 0.23200438916683197, -0.5443149209022522, 0.21900349855422974, -0.04940580949187279, -0.27594900131225586, 0.39609232544898987, 0.5031532645225525, 1.2674742937088013, -0.19863873720169067, 0.4231097102165222, 0.507819414138794, 0.30317485332489014, -0.1053944081068039, 0.2562065124511719, -0.31614089012145996, -0.6024749279022217, -0.6245231032371521, -0.4374292492866516, -0.7575997114181519, 0.11324065178632736, -0.5086547136306763, 0.41472792625427246, -0.31119900941848755, -0.4285159707069397, -0.34357428550720215, -0.2531059682369232, 0.14066213369369507, 0.6575405597686768, 0.04503026232123375, 0.4469837546348572, -0.7666894793510437, 0.7609376907348633, 0.323818176984787, -0.4902806878089905, -0.5624544024467468, 0.0041127391159534454, -0.14836961030960083, -0.711940348148346, 0.3050571382045746, -0.2957465648651123, -0.6060039401054382, 0.16046909987926483, -0.6638774871826172, -0.5100083351135254, 0.8755298852920532, 0.7331815361976624, -0.5095705986022949, 0.0378950834274292, 0.12586918473243713, 0.6272148489952087, -0.1722431629896164, 0.43139493465423584, 0.48340722918510437, 0.30572882294654846, 0.4566466808319092, -0.8118388652801514, -0.1740802377462387, 0.22523008286952972, 0.14792832732200623, 0.18014726042747498, -0.40382900834083557, 0.3028002083301544, -0.4675568640232086, -0.23153381049633026, 0.14897136390209198, 0.705909788608551, 0.5475644469261169, 0.5270071029663086, 0.34455469250679016, 0.7137483358383179, 0.13128511607646942, 0.02835868112742901, 0.6570497751235962, -0.1800294667482376, 0.6066561937332153, 1.3700745105743408, -0.0543019138276577, 0.8346255421638489, 0.7193241119384766, -0.21364884078502655, 0.2861790060997009, 0.43717771768569946, 0.1875196099281311, 0.7325620651245117, 0.13049238920211792, -0.15538422763347626, -0.18722131848335266, 0.01483764685690403, -0.3194509446620941, 0.397619366645813, 0.08549096435308456, -0.5676178336143494, -0.4548285901546478, -0.12259267270565033, 0.05506274849176407, 0.07358419895172119, -0.07704608142375946, 0.8546900749206543, -0.22323550283908844, -0.9397939443588257, 0.7841284871101379, -0.13286465406417847, 0.47215425968170166, -0.4264117181301117, -0.07361267507076263, -0.3609048128128052, -0.1115141287446022, -0.10835999995470047, -0.5488637685775757, 0.5740867853164673, -0.054498340934515, 0.21548867225646973, -0.23969662189483643, 0.6533356308937073, -0.3342709541320801, -0.18594005703926086, 0.050290994346141815, 0.46972090005874634, 0.11012393236160278, -0.08147957921028137, -0.6022667288780212, 0.0013719276757910848, 0.04070461541414261, -0.49040487408638, 0.15321148931980133, 0.18409046530723572, 0.09313922375440598, 0.5419324040412903, 0.5659046173095703, 0.3995015025138855, -0.2923702299594879, 0.17729105055332184, 0.5030975937843323, -0.8341732621192932, -0.5788642168045044, -0.9380897283554077, 0.3008728325366974, 0.16452272236347198, -0.31573382019996643, 0.4359578490257263, 0.3612547218799591, 0.6422841548919678, -0.08553873002529144, 1.0719126462936401, 0.22290416061878204, 0.8189755082130432, -0.3713155686855316, 0.667697548866272, -0.4461279809474945, 0.1781390905380249, -0.6475600004196167, -0.830791711807251, -0.4450697600841522, 0.5808848142623901, -0.49024978280067444, 0.03089972957968712, 0.27819281816482544, 1.1287366151809692, 0.2789565324783325, 0.10348138213157654, 0.7025761604309082, -0.008932049386203289, 0.37893176078796387, 0.3933022916316986, 0.8071634769439697, -0.5290167927742004, 0.6798582077026367, -0.01818997412919998, -0.20476660132408142, -0.04576389864087105, -1.0289740562438965, -0.492424339056015, -0.4727560579776764, -0.4229695200920105, -0.5083339214324951, 0.2544201910495758, 0.9232021570205688, 0.6828683614730835, -0.8724161386489868, -0.1343507170677185, -0.5245799422264099, 0.356706440448761, -0.15135127305984497, -0.28085270524024963, 0.19591602683067322, -0.2068772315979004, -0.8746173977851868, 0.4993581771850586, 0.4698478877544403, 0.3124465048313141, -0.11938653886318207, 0.0519549585878849, 0.036876652389764786, 0.3774518668651581, 0.5530543327331543, 0.7176094651222229, -0.6740229725837708, -0.559154748916626, -0.16707266867160797, 0.12545153498649597, -0.03231067955493927, 0.6197133660316467, -1.1490949392318726, 0.39731231331825256, 0.7298286557197571, 0.6091728806495667, 0.5285153985023499, 0.28565311431884766, 0.5582568645477295, -0.5860636830329895, 0.2695634067058563, 0.45474421977996826, 0.1014394760131836, 0.1883375346660614, -0.0009720429079607129, 0.4668312966823578, 0.35912948846817017, -0.5542138814926147, -0.877463698387146, 0.41670241951942444, -0.8991969227790833, -0.2798770070075989, 1.3154754638671875, -0.07550481706857681, -0.21493084728717804, -0.13008300960063934, -0.4605322778224945, 0.6050758361816406, -0.7103011608123779, 1.021273136138916, 0.15197014808654785, -0.47735121846199036, -0.24926605820655823, -0.06785055994987488, 0.23536428809165955, 0.5147110819816589, -0.7166352868080139, -0.031335536390542984, 0.6086019277572632, 0.14773344993591309, 0.03558924421668053, 0.47303447127342224, -0.08672691881656647, 0.028956063091754913, 0.09845355153083801, -0.08079873770475388, -0.08240377902984619, -0.31243181228637695, -0.35255807638168335, 0.28346750140190125, -0.048687905073165894, -0.47434738278388977 ]
http://arxiv.org/abs/2407.02235v1
http://arxiv.org/pdf/2407.02235v1
Towards a Holistic Framework for Multimodal Large Language Models in Three-dimensional Brain CT Report Generation
2024-07-02T12:58:35
2024-07-02T12:58:35
Cheng-Yi Li, Kao-Jung Chang, Cheng-Fu Yang, Hsin-Yu Wu, Wenting Chen, Hritik Bansal, Ling Chen, Yi-Ping Yang, Yu-Chun Chen, Shih-Pin Chen, Jiing-Feng Lirng, Kai-Wei Chang, Shih-Hwa Chiou
cs.CL
cs.CL
Multi-modal large language models (MLLMs) have been given free rein to explore exciting medical applications with a primary focus on radiology report generation. Nevertheless, the preliminary success in 2D radiology captioning is incompetent to reflect the real-world diagnostic challenge in the volumetric 3D anatomy. To mitigate three crucial limitation aspects in the existing literature, including (1) data complexity, (2) model capacity, and (3) evaluation metric fidelity, we collected an 18,885 text-scan pairs 3D-BrainCT dataset and applied clinical visual instruction tuning (CVIT) to train BrainGPT models to generate radiology-adherent 3D brain CT reports. Statistically, our BrainGPT scored BLEU-1 = 44.35, BLEU-4 = 20.38, METEOR = 30.13, ROUGE-L = 47.6, and CIDEr-R = 211.77 during internal testing and demonstrated an accuracy of 0.91 in captioning midline shifts on the external validation CQ500 dataset. By further inspecting the captioned report, we reported that the traditional metrics appeared to measure only the surface text similarity and failed to gauge the information density of the diagnostic purpose. To close this gap, we proposed a novel Feature-Oriented Radiology Task Evaluation (FORTE) to estimate the report's clinical relevance (lesion feature and landmarks). Notably, the BrainGPT model scored an average FORTE F1-score of 0.71 (degree=0.661; landmark=0.706; feature=0.693; impression=0.779). To demonstrate that BrainGPT models possess objective readiness to generate human-like radiology reports, we conducted a Turing test that enrolled 11 physician evaluators, and around 74% of the BrainGPT-generated captions were indistinguishable from those written by humans. Our work embodies a holistic framework that showcased the first-hand experience of curating a 3D brain CT dataset, fine-tuning anatomy-sensible language models, and proposing robust radiology evaluation metrics.
[ -0.3240407407283783, -0.5965499877929688, 0.7783862948417664, 0.25425469875335693, -0.30607086420059204, -0.3733680844306946, -0.2500912845134735, -0.5657588243484497, -0.2743849754333496, 0.4690968692302704, -0.25527894496917725, -0.598007082939148, -0.5641162395477295, 0.02259165048599243, 0.07944243401288986, 1.048014521598816, 0.08695267140865326, 0.39550071954727173, -0.3777029812335968, -0.11584127694368362, -0.8239970207214355, -0.2883646786212921, -0.5800575017929077, -0.008241266943514347, 0.5584420561790466, 0.12773646414279938, 0.7668547630310059, 0.7694784998893738, 0.6272463798522949, 0.1339375525712967, 0.27064356207847595, 0.21322275698184967, -0.062310103327035904, -0.1217895969748497, 0.10213332623243332, -0.05038592591881752, -0.7070286273956299, -0.1650504469871521, 0.31517672538757324, 0.8501102924346924, 0.07033386826515198, -0.20516015589237213, 0.1265251487493515, 0.4728891849517822, -0.5971758365631104, 0.49561285972595215, -0.4482250213623047, -0.037797845900058746, -0.04036080837249756, -0.3846580684185028, -0.36984655261039734, -0.05180234834551811, 0.45553529262542725, -0.5378983020782471, 0.1437743455171585, -0.038039933890104294, 0.8284785747528076, 0.00878164917230606, -0.44230103492736816, -0.26857835054397583, -0.379021018743515, 0.5830442309379578, -0.6082216501235962, 0.22729384899139404, 0.3502669036388397, 0.3651024401187897, 0.26366719603538513, -0.6693839430809021, -0.3570568263530731, -0.4288003146648407, -0.06248649209737778, 0.40294212102890015, -0.12413043528795242, 0.10942978411912918, 0.2011381834745407, 0.14736266434192657, -0.923225462436676, 0.07062211632728577, -0.39559581875801086, -0.431172639131546, 0.5132747888565063, 0.3885730803012848, 0.34299883246421814, -0.21913611888885498, -0.48980987071990967, -0.10223698616027832, -0.6916764378547668, -0.3309587240219116, -0.10470855981111526, 0.3193482458591461, -0.2598513662815094, 0.6858121752738953, -0.08522540330886841, 0.996044397354126, -0.07940450310707092, -0.30551877617836, 0.27034270763397217, -0.16846610605716705, -0.1135801151394844, -0.010983890853822231, 0.7813957929611206, 0.6398319602012634, 0.12885843217372894, -0.17363643646240234, -0.1520032286643982, -0.07813242077827454, 0.519162118434906, -0.8543839454650879, -0.27863624691963196, 0.2814967632293701, -0.5360752940177917, -0.09077119827270508, 0.007718787994235754, -0.48820599913597107, -0.6080724596977234, -0.37694165110588074, 0.5841031670570374, -0.7598883509635925, -0.24149709939956665, 0.4398982524871826, 0.27264177799224854, 0.05392889678478241, 0.3996215760707855, -0.5964256525039673, -0.13364294171333313, 0.3510218858718872, 0.8000239729881287, -0.1739453226327896, -0.4031701683998108, -0.3735765814781189, 0.2055104374885559, -0.10655561089515686, 0.7887824773788452, -0.23236492276191711, -0.18209707736968994, -0.20591460168361664, -0.20362764596939087, -0.1761825531721115, -0.25976884365081787, 0.2309744507074356, -0.33989086747169495, 0.2746855914592743, -0.1354873776435852, -0.057166166603565216, -0.3031197786331177, 0.42041757702827454, -0.6335191130638123, 0.5236878991127014, 0.30690765380859375, -0.7516740560531616, 0.49740371108055115, -0.7792840003967285, -0.6150848865509033, 0.12452268600463867, -0.2174505740404129, -0.3175089657306671, -0.07419753074645996, 0.3739839494228363, 0.812770426273346, -0.4981040358543396, 0.4317161440849304, -0.08210427314043045, -0.27195170521736145, 0.21947309374809265, -0.5570034384727478, 0.5942865014076233, 0.08722652494907379, -0.370706170797348, 0.13155323266983032, -0.5125933885574341, 0.030875198543071747, 0.11877471208572388, -0.19194403290748596, -0.05806512013077736, -0.18926233053207397, 0.2975211441516876, 0.3611609637737274, 0.17805524170398712, -0.5828001499176025, 0.014210155233740807, -0.3636084496974945, 0.4276539385318756, 0.139834925532341, -0.06333709508180618, 0.07027533650398254, -0.5844048857688904, 0.4539440870285034, 0.3695153594017029, 0.17665310204029083, -0.25014030933380127, -0.5141683220863342, -0.4679836928844452, -0.6209970116615295, 0.19223371148109436, 0.47310948371887207, -0.6042482256889343, 0.2395535111427307, -0.8156477808952332, -0.6067477464675903, -0.4029479920864105, -0.4301750659942627, 0.45213401317596436, 0.5738086104393005, 0.41195449233055115, -0.3185264468193054, -0.33757391571998596, -1.3418304920196533, 0.024849697947502136, 0.07864096760749817, -0.232315793633461, 0.27703768014907837, 0.25048553943634033, -0.09668678045272827, 0.7415620684623718, -0.5057774186134338, -0.6193665862083435, -0.2545647621154785, 0.25006645917892456, 0.01791849173605442, 0.31809163093566895, 0.4756138324737549, -0.6978916525840759, -0.436858206987381, 0.38352078199386597, -0.8452739715576172, 0.19314591586589813, -0.17393243312835693, 0.22671477496623993, 0.3914901912212372, 0.3184877038002014, -0.6651350855827332, 0.42756378650665283, 0.35191401839256287, -0.1287708729505539, 0.24168553948402405, -0.3843070864677429, 0.3604282736778259, -0.8995886445045471, 0.3183959424495697, 0.06159796565771103, -0.18021205067634583, -0.2553441822528839, -0.10419324040412903, 0.1379265934228897, -0.1881018579006195, -0.36222678422927856, 0.33487722277641296, -0.6049957871437073, 0.025681110098958015, -0.11990779638290405, 0.20211991667747498, 0.1625991016626358, 0.6626772880554199, 0.24738679826259613, 0.4003671109676361, 0.6710039377212524, -0.3826746344566345, -0.03203806281089783, 0.08645160496234894, -0.24983228743076324, 0.7277064919471741, -0.5119275450706482, 0.14046207070350647, -0.24658413231372833, 0.14467203617095947, -0.8098245859146118, -0.3579910099506378, -0.06828667223453522, -0.387498140335083, 0.434449702501297, -0.11346708238124847, -0.4339049756526947, -0.2936340272426605, -0.011258173733949661, 0.4549494981765747, 0.22173593938350677, 0.009007305838167667, 0.695097029209137, 0.5424851179122925, -0.2471994161605835, -0.4005093276500702, -0.7987447381019592, 0.27321290969848633, -0.0963003858923912, -0.7046857476234436, 0.37070977687835693, -0.04636860638856888, 0.14293257892131805, -0.1359177529811859, 0.07637644559144974, -0.21977944672107697, -0.15855206549167633, 0.31885969638824463, 0.29076308012008667, -0.32946598529815674, -0.05032278597354889, -0.007666394114494324, 0.039561107754707336, 0.15198977291584015, -0.20779632031917572, 0.456314355134964, -0.5163235068321228, -0.5173678398132324, -0.22993415594100952, 0.3935566544532776, 0.8294340968132019, -0.23014439642429352, 0.24790669977664948, 0.8482959270477295, -0.6114182472229004, 0.2797735929489136, -0.5632517337799072, -0.13958941400051117, -0.27593180537223816, 0.7862244248390198, -0.5968183279037476, -0.9123985171318054, 0.3096187114715576, 0.34662914276123047, 0.032560545951128006, 0.4233415722846985, 0.8319719433784485, -0.00807697232812643, 1.1781840324401855, 0.3202863037586212, 0.38508492708206177, -0.27380096912384033, -0.029020290821790695, 0.27089932560920715, -1.0280665159225464, -0.3467220366001129, -0.10261452943086624, -0.0631464496254921, -0.2960226237773895, -0.2681698203086853, 0.8827559351921082, -0.23590828478336334, -0.04201404005289078, 0.13210812211036682, -0.7736921906471252, 0.30454760789871216, 0.13087226450443268, 0.3626597225666046, 0.13799086213111877, 0.08884590864181519, -0.15244419872760773, -0.31843894720077515, -0.8590170741081238, -0.4145907461643219, 1.2657151222229004, 0.19286152720451355, 0.2879970669746399, 0.006696758791804314, 0.17201167345046997, 0.1573794186115265, 0.5736802816390991, -0.8217858672142029, 0.44170457124710083, -0.11662406474351883, -0.49925386905670166, -0.3875235915184021, -0.09569671005010605, -1.0983420610427856, 0.34978094696998596, -0.14294080436229706, -0.4907218813896179, -0.16078481078147888, 0.03371058404445648, -0.7401528358459473, -0.0004514368483796716, -0.41779854893684387, 1.075482726097107, -0.37020137906074524, -0.5296080112457275, -0.1265220195055008, -0.6920344829559326, 0.40897467732429504, -0.2054482400417328, 0.28755396604537964, -0.029559796676039696, -0.046157922595739365, 0.3459131121635437, -0.04024973511695862, 0.8463067412376404, -0.1472914069890976, -0.147696390748024, 0.16646485030651093, 0.39762094616889954, 0.017736244946718216, 0.23623354732990265, 0.1552319973707199, 0.32583510875701904, 0.2172822505235672, -0.16816754639148712, -0.43920645117759705, 0.7623172402381897, -0.5849214792251587, -0.33781886100769043, -0.34852665662765503, -1.0787675380706787, -0.47605764865875244, 0.3499981760978699, 0.37636396288871765, 0.6008281111717224, -0.20822280645370483, 0.25085848569869995, 0.5116541981697083, -0.31844449043273926, 0.2725529968738556, 0.3910868465900421, -0.06862910091876984, -0.4985235929489136, 1.0060292482376099, 0.016336485743522644, 0.04125336930155754, 0.5298423171043396, 0.1676616370677948, -0.24017386138439178, -0.7997768521308899, -0.5639846920967102, 0.24299336969852448, -0.736373245716095, -0.42122480273246765, -0.837902307510376, -0.20689664781093597, -0.2299947887659073, -0.1669331192970276, -0.3811383843421936, -0.09880160540342331, -0.021197937428951263, 0.33052924275398254, 0.15807785093784332, 0.6805731654167175, 0.043408408761024475, 0.19749736785888672, -0.8568857312202454, 0.04737941548228264, -0.0029549330938607454, 0.21561522781848907, -0.06941483169794083, -0.36635181307792664, -0.553469717502594, 0.28359144926071167, -0.3924137055873871, -0.6596635580062866, 0.5119295716285706, -0.15737059712409973, 0.29667848348617554, 0.03188275545835495, -0.24192461371421814, 0.7056456804275513, -0.2747616767883301, 0.7188788056373596, 0.33441323041915894, -0.7954940795898438, 0.45187029242515564, -0.7518689632415771, 0.504537045955658, 0.37919148802757263, 0.15740004181861877, -0.2706751525402069, -0.28892281651496887, -0.5019046664237976, -0.854076623916626, 0.5925150513648987, 0.069816455245018, -0.02509217895567417, -0.28433963656425476, 0.15280736982822418, 0.21123415231704712, 0.11419253796339035, -0.8577542901039124, 0.2743690311908722, -0.34888756275177, -0.2955147325992584, 0.09208687394857407, -0.028897270560264587, -0.29433372616767883, -0.26678940653800964, 0.25329557061195374, -0.5494247078895569, 0.5464808344841003, 0.3876781463623047, -0.23089376091957092, 0.24074502289295197, 0.09961177408695221, 0.8986906409263611, 0.9100035429000854, -0.1178753599524498, 0.15688571333885193, 0.12150639295578003, -0.5654082894325256, -0.2517702579498291, 0.007954365573823452, 0.22794322669506073, -0.13089770078659058, 0.4556642770767212, 0.7543211579322815, 0.19043447077274323, -0.5946293473243713, 1.0076665878295898, 0.051260124891996384, -0.44912317395210266, -0.2681642770767212, -0.24821791052818298, 0.18060840666294098, -0.06768857687711716, 0.2262476533651352, 0.3308597505092621, 0.24816037714481354, 0.07677816599607468, 0.15485234558582306, 0.48302191495895386, -0.7178173661231995, -0.20234182476997375, 0.7153903245925903, 0.10172565281391144, 0.31893256306648254, 0.7108083367347717, 0.06677116453647614, -0.12703515589237213, 0.48217952251434326, 0.38429582118988037, 0.8021711707115173, 0.14245985448360443, -0.024922136217355728, 0.5091605186462402, 0.44937264919281006, -0.15437354147434235, 0.19466640055179596, 0.15319958329200745, -0.5790079236030579, -0.5980606079101562, -0.3779127597808838, 0.05308154970407486, 0.5138547420501709, -0.8361614942550659, 0.41349852085113525, -0.3955039381980896, -0.25639891624450684, -0.0503029003739357, -0.4301840662956238, -0.7445794343948364, 0.46531423926353455, 0.15248329937458038, 0.5665701031684875, -0.42902570962905884, 0.8162209987640381, 0.7668359875679016, -0.5226988792419434, -0.7117906212806702, -0.00469339219853282, -0.1398952603340149, -0.767274796962738, 0.5495412945747375, 0.43094199895858765, 0.0564984567463398, 0.0683721974492073, -0.2572254240512848, -0.6253561973571777, 1.1683497428894043, 0.3747411370277405, -0.37922123074531555, -0.09455107152462006, 0.37431100010871887, 0.5481218695640564, -0.677275538444519, 0.4184774160385132, 0.4341055750846863, 0.5805070996284485, -0.1261782944202423, -1.080104947090149, 0.3777269124984741, -0.161960631608963, 0.08530745655298233, -0.14988276362419128, -0.43137452006340027, 0.7240424156188965, -0.37833285331726074, -0.1384136974811554, -0.14098992943763733, 0.47019222378730774, 0.3023799955844879, 0.15532286465168, 0.5089112520217896, 0.3503558039665222, 0.31670883297920227, -0.055699948221445084, 1.2579864263534546, -0.4344685673713684, 0.047275662422180176, 0.8110693097114563, -0.3264360725879669, 0.4822823703289032, 0.4861752986907959, 0.15036512911319733, 0.23338870704174042, 0.5291962027549744, -0.08900302648544312, 0.477827787399292, 0.22293643653392792, -0.019936859607696533, -0.47969067096710205, -0.019116315990686417, -0.28678953647613525, 0.7872781157493591, 0.3644653260707855, -0.30142977833747864, -0.3761879801750183, 0.27296683192253113, 0.022981517016887665, -0.06692962348461151, -0.06503095477819443, 0.5813212394714355, 0.02900661714375019, -0.7825134992599487, 0.7677950859069824, 0.005788269452750683, 0.39468154311180115, -0.5269696116447449, -0.07467314600944519, -0.035094182938337326, 0.06633322685956955, -0.10277539491653442, -0.7945573925971985, 0.4930340349674225, -0.227447509765625, -0.28728196024894714, -0.1541869342327118, 0.18555380403995514, -0.36772188544273376, -0.3150562345981598, -0.010320226661860943, 0.5290564298629761, 0.2074475735425949, -0.3679678440093994, -0.5618990659713745, 0.1802390217781067, 0.00015628748224116862, -0.2442733496427536, 0.5038502812385559, 0.4488176703453064, -0.3849845230579376, 0.5514335036277771, 0.306922048330307, 0.04646032303571701, -0.44891291856765747, 0.03695427253842354, 0.7124836444854736, -0.3274453282356262, -0.31415030360221863, -0.6906841397285461, 0.8215681314468384, 0.0863189622759819, -0.5290955901145935, 0.3444769084453583, 0.8658122420310974, 0.5172815918922424, -0.3146752417087555, 1.047957181930542, -0.169124573469162, 0.24541300535202026, -0.6407008767127991, 0.9016245007514954, -0.5732697248458862, 0.28185784816741943, 0.02817821502685547, -0.7346634268760681, -0.692376434803009, 0.5022685527801514, -0.3073665499687195, 0.31126391887664795, 1.0898035764694214, 0.937393069267273, -0.18863724172115326, -0.1331513375043869, 0.5733249187469482, 0.18937012553215027, 0.02987818792462349, 0.9596450328826904, 0.6600468754768372, -0.37225908041000366, 0.7105506658554077, -0.06543271988630295, -0.23365309834480286, -0.07347642630338669, -0.8999824523925781, -0.9266855716705322, -0.7858350872993469, -0.4489137828350067, -0.3991266191005707, -0.20924261212348938, 0.4330483675003052, 0.7966079711914062, -0.4025181829929352, -0.03681022673845291, 0.09144618362188339, -0.5301687717437744, -0.32256388664245605, -0.22552917897701263, 0.7234981656074524, -0.1633441299200058, -0.5742571353912354, 0.18149635195732117, 0.6009717583656311, -0.03789977356791496, -0.4150947630405426, 0.11562605202198029, 0.19566062092781067, -0.3243968188762665, 0.858045220375061, -0.22307343780994415, -0.9232639670372009, -0.3639976382255554, 0.15050256252288818, -0.5430792570114136, 0.12315034866333008, 0.8391153812408447, -0.694088876247406, 0.4853229820728302, 0.07602984458208084, 0.5232967734336853, 0.5119972229003906, -0.4448480010032654, 0.5942236185073853, -0.4549048840999603, -0.000528333242982626, 0.4615413546562195, 0.21668900549411774, 0.5359916687011719, -0.4723401665687561, 0.28752902150154114, 0.1055346205830574, -0.4131213128566742, -0.63185715675354, 0.08908838033676147, -1.4794626235961914, -0.2769036889076233, 1.1687285900115967, -0.1616973876953125, -0.08952278643846512, -0.3323582708835602, -0.3930510878562927, 0.08936666697263718, 0.045588333159685135, 0.8191962242126465, 0.6095551252365112, -0.3301559388637543, -0.3310973048210144, -0.6524651050567627, 0.374480664730072, 0.24970503151416779, -0.7167438864707947, -0.03281877934932709, 0.8099417686462402, 0.3945165276527405, 0.1812542825937271, 0.6498249769210815, -0.5340062379837036, 0.5879892110824585, -0.13678978383541107, 0.39559033513069153, -0.5825582146644592, -0.23044247925281525, -0.07086257636547089, 0.47840145230293274, -0.07594570517539978, 0.05745295062661171 ]
http://arxiv.org/abs/2407.02233v1
http://arxiv.org/pdf/2407.02233v1
Synthetic Multimodal Question Generation
2024-07-02T12:57:42
2024-07-02T12:57:42
Ian Wu, Sravan Jayanthi, Vijay Viswanathan, Simon Rosenberg, Sina Pakazad, Tongshuang Wu, Graham Neubig
cs.CL
cs.CL, cs.AI, cs.LG
Multimodal Retrieval Augmented Generation (MMRAG) is a powerful approach to question-answering over multimodal documents. A key challenge with evaluating MMRAG is the paucity of high-quality datasets matching the question styles and modalities of interest. In light of this, we propose SMMQG, a synthetic data generation framework. SMMQG leverages interplay between a retriever, large language model (LLM) and large multimodal model (LMM) to generate question and answer pairs directly from multimodal documents, with the questions conforming to specified styles and modalities. We use SMMQG to generate an MMRAG dataset of 1024 questions over Wikipedia documents and evaluate state-of-the-art models using it, revealing insights into model performance that are attainable only through style- and modality-specific evaluation data. Next, we measure the quality of data produced by SMMQG via a human study. We find that the quality of our synthetic data is on par with the quality of the crowdsourced benchmark MMQA and that downstream evaluation results using both datasets strongly concur.
[ -0.7426631450653076, -0.9966772198677063, 0.40124353766441345, -0.06617733091115952, -0.08871529996395111, 0.17435728013515472, -0.04450554773211479, -0.13881196081638336, 0.3001057803630829, 0.44081076979637146, -1.0457346439361572, -0.07224217802286148, -0.1440376192331314, 0.3675410747528076, -0.40562209486961365, 1.0158523321151733, 0.13886551558971405, 0.14405283331871033, -0.47377830743789673, -0.1885187029838562, -0.19527097046375275, -0.4327673614025116, -0.37977972626686096, -0.0014656849671155214, 0.7542276978492737, 0.43445339798927307, 0.7386133670806885, 0.36115264892578125, 0.29458150267601013, 0.36714258790016174, 0.5075684189796448, 0.8895689249038696, -0.5751091241836548, 0.31336304545402527, -0.06747063249349594, -0.275383323431015, -0.2720330059528351, 0.2319541573524475, 0.755537748336792, 0.34379130601882935, -0.09826476871967316, 0.5674270987510681, -0.15427829325199127, 0.44455450773239136, -0.4472525417804718, -0.29937687516212463, -0.7807390689849854, 0.0795893669128418, -0.3174878656864166, -0.4690735638141632, -0.28459033370018005, -0.2268938422203064, -0.32953816652297974, -0.7373245358467102, 0.4574969410896301, 0.26090922951698303, 0.6221185326576233, 0.30879083275794983, -0.7832887768745422, -0.3678770065307617, -0.6302565336227417, 0.6488965749740601, -0.4297018051147461, 0.5418243408203125, 0.3995700776576996, 0.6340015530586243, -0.2712280750274658, -1.0829558372497559, -1.249316692352295, -0.2250739336013794, 0.014548659324645996, 0.3513832986354828, 0.0909096896648407, -0.2571159899234772, 0.3369635343551636, 0.47968190908432007, -1.0509008169174194, -0.5222134590148926, -0.7744381427764893, -0.23618605732917786, 0.7979540824890137, 0.4639514088630676, 0.3406123220920563, -0.7743359804153442, -0.520363986492157, -0.2230750322341919, -0.5178903937339783, -0.018294740468263626, 0.5812243223190308, -0.03208335116505623, 0.32200926542282104, 1.0397027730941772, -0.39692071080207825, 0.6038516759872437, 0.24564160406589508, -0.3498633801937103, 0.30352088809013367, -0.8042229413986206, -0.04442333057522774, -0.2637737989425659, 1.038843035697937, 0.6998223066329956, -0.10082803666591644, -0.02846096269786358, -0.10689307004213333, 0.057995524257421494, 0.5849475264549255, -0.8516066670417786, -0.18485599756240845, 0.44575271010398865, -0.30326423048973083, -0.29548799991607666, 0.027948059141635895, -0.7520502805709839, -0.2563614845275879, -0.5255745649337769, 0.740636944770813, -0.39007285237312317, -0.27936747670173645, -0.1263352334499359, -0.4353998601436615, 0.023102760314941406, 0.10871359705924988, -0.7236138582229614, -0.16075833141803741, 0.41067421436309814, 0.6048557162284851, -0.2116091102361679, -0.2870209813117981, -0.5642353296279907, 0.372013121843338, -0.2996244728565216, 0.7792791128158569, -0.4119783639907837, -0.4663822054862976, -0.34685152769088745, 0.22317931056022644, -0.09890895336866379, -0.5005447864532471, 0.5474227666854858, -0.4748532474040985, 0.8202700018882751, -0.30948132276535034, -0.3316536843776703, -0.04528989642858505, 0.5809287428855896, -0.7061949372291565, 1.1946560144424438, 0.24693985283374786, -0.7990067005157471, 0.44121304154396057, -0.546724796295166, -0.031030792742967606, 0.13642442226409912, -0.4267912805080414, -0.14526674151420593, -0.012437313795089722, 0.30273011326789856, 0.33553260564804077, -0.4097985625267029, 0.3777317702770233, -0.21557632088661194, -0.16580624878406525, 0.5665486454963684, -0.6075358986854553, 0.46790993213653564, 0.40886321663856506, -0.00855342112481594, 0.2046547532081604, -0.9976286292076111, 0.3987467885017395, 0.0034569434355944395, -0.6116653680801392, -0.008034739643335342, -0.1331745982170105, 0.1992817223072052, 0.47199347615242004, 0.13471472263336182, -0.6535578966140747, 0.026006801053881645, 0.04982848837971687, 0.41213086247444153, 0.6883099675178528, 0.1597069352865219, 0.3084426820278168, -0.8039715886116028, 0.7695490717887878, -0.056119244545698166, 0.14872409403324127, -0.23850099742412567, -0.45369887351989746, -0.5897263288497925, -0.16448651254177094, 0.30524536967277527, 0.24433839321136475, -1.3645529747009277, -0.16500741243362427, -0.17278407514095306, -0.6525388956069946, -0.8570239543914795, 0.134364053606987, 0.14422516524791718, 0.544269323348999, 0.350946843624115, -0.09157595038414001, -0.5361512899398804, -0.9904285669326782, 0.031127018854022026, -0.13775946199893951, -0.2373289316892624, 0.5913203954696655, 0.3722095787525177, -0.516713559627533, 0.889423131942749, -0.4899524748325348, 0.18325290083885193, -0.014636428095400333, 0.4716285765171051, -0.09761275351047516, 0.5228909254074097, 0.5612674951553345, -1.120127558708191, -0.28252094984054565, -0.18338021636009216, -0.6207219958305359, -0.14751195907592773, -0.15999086201190948, -0.4465891122817993, -0.037515319883823395, 0.4080902934074402, -0.9472547769546509, -0.2452666163444519, 0.7628734111785889, -0.06505706161260605, 0.9905000329017639, -0.0852033868432045, 0.694970428943634, -1.5024363994598389, 0.24044610559940338, -0.36224326491355896, -0.14946362376213074, -0.49559563398361206, 0.29481470584869385, 0.13356192409992218, -0.5180949568748474, -0.471183717250824, 0.7949392199516296, -0.1937609165906906, 0.10366497188806534, -0.023700617253780365, 0.0804302766919136, 0.37845391035079956, 0.4692801833152771, -0.3680059015750885, 1.0026658773422241, -0.0298762284219265, -0.5246211886405945, 0.7734103202819824, 0.1707916408777237, -0.18270105123519897, 0.7097131013870239, -0.7465769052505493, 0.33317774534225464, -0.42089807987213135, 0.2302926629781723, -1.2456690073013306, -0.7914183735847473, 0.1316220909357071, -0.7693498730659485, 0.1855575144290924, -0.0781586766242981, -0.732746958732605, -0.44247329235076904, -0.4539710581302643, 0.49258697032928467, 0.19759732484817505, -0.46237415075302124, 0.5217402577400208, 0.37462547421455383, -0.3245011270046234, -0.49607279896736145, -0.37728941440582275, -0.11419368535280228, -0.23977817595005035, -0.953114926815033, 0.34229305386543274, -0.5142939686775208, -0.16733728349208832, -0.15722590684890747, 0.04468946531414986, -0.0867108553647995, -0.3441604673862457, 0.32139551639556885, 0.13673913478851318, -0.3127269148826599, 0.33394649624824524, 0.2900623679161072, 0.18866966664791107, 0.0790015310049057, 0.09317291527986526, 0.652265727519989, 0.26887163519859314, -0.3879048824310303, 0.12983015179634094, 0.4996294379234314, 0.733182430267334, -0.4209895431995392, 0.4212244153022766, 1.1765691041946411, -0.10674505680799484, -0.24005970358848572, -0.6154313087463379, -0.2950981855392456, -0.5514350533485413, 0.11166462302207947, -0.5563400983810425, -0.8445793986320496, 0.12305678427219391, 0.0418606661260128, 0.1640176922082901, 0.36093416810035706, 0.8461724519729614, -0.3624840974807739, 1.272181749343872, 0.13233719766139984, 0.4761178195476532, 0.21957600116729736, -0.15657776594161987, -0.2249402552843094, -0.6121209859848022, -0.4042191803455353, -0.2993384897708893, -0.4744972884654999, -0.8534473180770874, -0.8829894661903381, 0.830987811088562, 0.025499993935227394, 0.01397003885358572, 0.08328697830438614, -0.33766433596611023, 0.28098616003990173, 0.7301859855651855, 0.24460163712501526, 0.3093916177749634, 0.02507588639855385, -0.2857450544834137, -0.10692491382360458, -0.7178006768226624, -0.44243744015693665, 1.362648367881775, -0.1626860350370407, 0.578613817691803, 0.15250514447689056, 0.5446951985359192, 0.40864866971969604, 0.217988982796669, -0.4729700982570648, 0.5038745999336243, 0.1849084496498108, -1.0633058547973633, -0.29351451992988586, -0.7117491364479065, -0.9611814618110657, 0.5179576873779297, -0.5384106636047363, 0.011630444787442684, -0.13559697568416595, 0.10212725400924683, -0.33680805563926697, -0.21299023926258087, -0.6628893613815308, 0.7753172516822815, -0.09074340015649796, -0.5237495303153992, -0.18108555674552917, -0.5523593425750732, 0.8430976867675781, -0.20330360531806946, 0.22727632522583008, -0.19461719691753387, 0.1029779240489006, 0.5722419619560242, -0.33232906460762024, 0.14814338088035583, 0.04945661500096321, 0.04744970053434372, 0.6064419746398926, 0.11068095266819, 0.1697019338607788, 0.26934605836868286, -0.09728098660707474, -0.3057571351528168, 0.31073927879333496, -0.40563881397247314, -0.7789794206619263, 0.8360498547554016, -0.6318280696868896, -0.47143301367759705, -0.10479668527841568, -0.7971635460853577, -0.3653838634490967, 0.17903029918670654, 0.29051145911216736, 0.639319121837616, -0.14720085263252258, 0.26035597920417786, 0.3406513035297394, -0.42946651577949524, 0.31006819009780884, 0.34835365414619446, -0.33753952383995056, -0.6723273396492004, 0.9220651388168335, 0.15450231730937958, 0.26483067870140076, 0.08784174174070358, 0.14155451953411102, -0.5839336514472961, 0.09633657336235046, -1.1298439502716064, 0.1513681262731552, -0.4266236126422882, -0.20835836231708527, -0.7729102969169617, -0.23294076323509216, -0.35689273476600647, 0.2042512595653534, -0.07851525396108627, -0.7237383723258972, 0.013362881727516651, -0.03405069187283516, 0.18755589425563812, 0.3753695785999298, -0.11584560573101044, 0.027681998908519745, -1.0132924318313599, 0.7134324312210083, 0.6877617835998535, -0.13535399734973907, -0.30946412682533264, -0.27928397059440613, 0.013791786506772041, 0.47211432456970215, -0.6355338096618652, -0.8388113975524902, 0.4214247465133667, 0.21819144487380981, 0.5288891196250916, 0.2993289530277252, 0.1876288652420044, 0.8344475030899048, -0.7158097624778748, 0.8360390067100525, 0.09034880995750427, -0.4041568636894226, 0.44407275319099426, -0.714745044708252, 0.22243627905845642, 0.4441111385822296, 0.7430719137191772, -0.496959388256073, -0.35673657059669495, -0.6320543885231018, -0.4963604509830475, 0.3126152753829956, 0.20485703647136688, 0.48780855536460876, -0.2688775956630707, 0.16368944942951202, 0.20392267405986786, 0.645217776298523, -0.6302000284194946, 0.09415009617805481, -0.35883986949920654, -0.1323128491640091, -0.05936853960156441, -0.179361954331398, -0.263588547706604, -0.17042408883571625, 0.30499666929244995, -0.332370787858963, 0.2515464127063751, 0.041259653866291046, -0.05552346259355545, -0.22990794479846954, 0.28252747654914856, 0.701849639415741, 0.6993584036827087, -0.18224738538265228, 0.2983534336090088, -0.04737837240099907, -0.34635090827941895, 0.17611990869045258, -0.016303280368447304, -0.2817745804786682, 0.22252045571804047, 0.030032705515623093, 0.3201286196708679, -0.10304256528615952, -1.0534067153930664, 0.3028843104839325, -0.08823086321353912, -0.2140938639640808, -0.23465043306350708, 0.29066190123558044, 0.07604862004518509, 0.3072424530982971, 0.4440755844116211, -0.08629937469959259, 0.1968081146478653, -0.8230030536651611, 0.3997447192668915, 0.5796507000923157, -0.01475370954722166, -0.2519218921661377, 0.7804422974586487, 0.020185032859444618, -0.05913262069225311, 0.5238588452339172, -0.289033979177475, -0.2945750057697296, 0.33034130930900574, 0.38963645696640015, 0.2074972689151764, -0.21681590378284454, 0.4443289339542389, 0.6007498502731323, 0.24232152104377747, 0.20655833184719086, 0.624374270439148, -0.2144404649734497, -0.5318827033042908, -0.41047826409339905, -0.8519745469093323, -0.33279845118522644, 0.19922582805156708, -0.4080442786216736, 0.17462727427482605, -0.3820379078388214, -0.42203959822654724, -0.04977922886610031, -0.05461231619119644, -0.490315318107605, 0.4145968556404114, -0.04011885076761246, 0.429823100566864, -0.46273699402809143, 0.50621098279953, 0.5417641997337341, -0.4900277853012085, -0.6313835978507996, -0.15604589879512787, 0.00841885432600975, -0.6649788618087769, 0.5975154638290405, 0.035885054618120193, 0.024365896359086037, 0.08090809732675552, -0.5600594878196716, -0.8088507652282715, 1.3536417484283447, 0.29916152358055115, -0.14681240916252136, -0.10854262113571167, 0.3410544991493225, 0.44777965545654297, -0.04689338803291321, 0.2166193574666977, 0.1749163120985031, 0.4615740180015564, 0.2838398516178131, -0.903509259223938, -0.14806197583675385, -0.4954160749912262, -0.2893684506416321, 0.24237938225269318, -0.6795839071273804, 1.1314359903335571, -0.09982284903526306, -0.37262871861457825, 0.03615321218967438, 0.44617554545402527, 0.6488416194915771, 0.4834516644477844, 0.20706237852573395, 0.5941101312637329, 0.6733423471450806, -0.029051635414361954, 1.0370978116989136, -0.20181408524513245, 0.07325064390897751, 0.9819471836090088, -0.033528782427310944, 0.9285560250282288, 0.5805759429931641, -0.06425433605909348, 0.19070564210414886, 0.5572885870933533, 0.02464599534869194, 0.3281495273113251, 0.2185044288635254, -0.3219071328639984, -0.2110273540019989, -0.19716386497020721, -0.40775159001350403, 0.6778441071510315, 0.1732524335384369, -0.3485844135284424, -0.11010829359292984, 0.06531283259391785, -0.14135444164276123, -0.07169812172651291, -0.2649850845336914, 0.5768392086029053, -0.2657955586910248, -0.7584356069564819, 0.6579445600509644, 0.23821057379245758, 0.4821050763130188, -0.4505004286766052, -0.08843418210744858, -0.41703587770462036, -0.19993950426578522, -0.17688529193401337, -0.5811099410057068, 0.30064666271209717, -0.0459444560110569, -0.3776785731315613, -0.27160632610321045, 0.648785412311554, -0.7226341962814331, -0.7870621681213379, -0.46002137660980225, 0.9189756512641907, 0.08594462275505066, -0.06214743107557297, -0.5657559037208557, -0.17098557949066162, -0.20240411162376404, -0.10473275184631348, 0.44900432229042053, 0.6971653699874878, 0.09087967127561569, 0.7045642733573914, 1.1094176769256592, -0.16943427920341492, 0.5380959510803223, -0.22411616146564484, 0.9140594601631165, -0.3450467884540558, -0.2876521944999695, -0.641281247138977, 0.6999818086624146, -0.10285920649766922, -0.3427859842777252, 0.9725291132926941, 0.7165919542312622, 0.816169023513794, -0.18499304354190826, 0.5708848834037781, -0.08613508194684982, 0.6696101427078247, -0.7125951647758484, 0.8583110570907593, -0.8226568698883057, -0.24454887211322784, -0.248864084482193, -0.8948999047279358, 0.35076162219047546, 0.4775751531124115, 0.20589002966880798, -0.029675060883164406, 0.4257292151451111, 1.2141166925430298, -0.35141506791114807, -0.05511843413114548, 0.43553683161735535, -0.18464648723602295, 0.21367202699184418, 0.3148338496685028, 1.2517564296722412, -0.5215885639190674, 0.5967675447463989, -0.21561862528324127, 0.1324944794178009, 0.02155289426445961, -0.4959724247455597, -0.7447687983512878, -0.9411944150924683, -0.04112788289785385, -0.39265739917755127, -0.35999569296836853, 0.9305782914161682, 0.7683435678482056, -0.32024383544921875, -0.12548187375068665, 0.453447163105011, -0.158683642745018, 0.3106514513492584, -0.3230619430541992, -0.05779106914997101, -0.17729876935482025, -0.7168840765953064, 0.5521959662437439, 0.06581635773181915, 0.09479030221700668, -0.5123236775398254, -0.06817423552274704, -0.11505483090877533, 0.2640836834907532, 0.8757798671722412, -0.0951712429523468, -0.5191761255264282, -0.14314106106758118, 0.24757641553878784, -0.16649535298347473, -0.14804787933826447, 0.9117301106452942, -0.7114483118057251, 0.5196527242660522, 0.5570041537284851, 0.6864984631538391, 0.6046105623245239, 0.44965046644210815, 0.6116951704025269, -1.065346598625183, -0.050590794533491135, 0.21265047788619995, 0.10349588841199875, 0.30384352803230286, -0.11230570822954178, 0.37611839175224304, 0.19948585331439972, -0.5730994343757629, -0.882666826248169, 0.25915011763572693, -0.8235366940498352, -0.19612693786621094, 1.226828694343567, 0.24600203335285187, -0.045393843203783035, 0.06926090270280838, -0.5247502326965332, 0.12494947016239166, -0.07581505179405212, 0.8434177041053772, 0.6502382755279541, -0.217678964138031, -0.4518565237522125, -0.842627763748169, 0.5672115087509155, 0.05719825625419617, -0.9232255220413208, -0.2684190571308136, 1.0327174663543701, 0.2424101084470749, 0.303140252828598, 0.5771114230155945, -0.09887311607599258, 0.46330949664115906, 0.13442416489124298, -0.21298055350780487, -0.28303220868110657, -0.26716992259025574, 0.32574427127838135, 0.5368333458900452, -0.26013457775115967, -0.09448070079088211 ]
http://arxiv.org/abs/2407.02211v1
http://arxiv.org/pdf/2407.02211v1
PromptIntern: Saving Inference Costs by Internalizing Recurrent Prompt during Large Language Model Fine-tuning
2024-07-02T12:21:14
2024-07-02T12:21:14
Jiaru Zou, Mengyu Zhou, Tao Li, Shi Han, Dongmei Zhang
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) have played a fundamental role in various natural language processing tasks with powerful prompt techniques. However, in real-world applications, there are often similar prompt components for repeated queries, which causes significant computational burdens during inference. Existing prompt compression and direct fine-tuning methods aim to tackle these challenges, yet they frequently struggle to strike an optimal balance between cost-efficiency and performance effectiveness, especially in complex tasks such as NL2Code. In this paper, we propose a novel method namely PromptIntern to internalize the prompt knowledge into model parameters via progressive fine-tuning. Our method enables LLMs to emulate the human learning process for a new task, where detailed templates and examples in a prompt are gradually internalized and phased out progressively as the model grows accustomed to the task. Extensive experiments demonstrate that our method reduces inference tokens over 90%, speedups inference by 4.2 times, and saves 88.3% monetary cost.
[ -0.3735496699810028, -0.752425491809845, 0.4737500548362732, 0.23080186545848846, -0.34647780656814575, -0.2768716812133789, -0.5256490707397461, -0.19720007479190826, -0.3616124391555786, 0.5924437642097473, -0.9314064979553223, -0.34984254837036133, -0.23696886003017426, 0.35404908657073975, 0.13032452762126923, 0.6105128526687622, 0.11792101711034775, 0.07915763556957245, -0.1467275470495224, 0.03913499787449837, -0.8636916279792786, -0.16328419744968414, -1.3515410423278809, -0.2045968770980835, 0.5065957903862, 0.5768750905990601, 0.23202873766422272, 0.5002108812332153, 0.1115528866648674, 0.2699485719203949, -0.37147682905197144, 0.5934268236160278, -0.4769837558269501, 0.6457266211509705, -0.36557093262672424, -0.7487537860870361, 0.11374694854021072, -0.16115030646324158, 0.7955195307731628, 0.7391778826713562, -0.06362278014421463, 0.17975154519081116, 0.4132121801376343, 0.6890916228294373, -0.5059282779693604, 0.2225303053855896, -0.7214935421943665, -0.07745304703712463, 0.04545430466532707, -0.27086353302001953, -0.6089733839035034, -0.5450524687767029, -0.029063090682029724, -0.4675734341144562, 0.44296202063560486, 0.17528097331523895, 0.5954798460006714, 0.6097681522369385, -0.04311339184641838, -0.19118189811706543, -0.4490886926651001, 0.6776158809661865, -0.9135044813156128, 0.1825670748949051, 0.2868463397026062, 0.21460281312465668, -0.44125184416770935, -0.7821134924888611, -0.44197550415992737, -0.4321177303791046, -0.15634849667549133, -0.22149811685085297, -0.30879706144332886, 0.14278507232666016, 0.5248451232910156, -0.011493632569909096, -0.43143489956855774, 0.3849320113658905, -0.0656701847910881, -0.1150735393166542, 0.2773056626319885, 0.3814801871776581, 0.20128311216831207, 0.014284145087003708, 0.006188869941979647, -0.012223451398313046, -0.8789486885070801, 0.3374815285205841, 0.1855822056531906, 0.6434300541877747, 0.08730721473693848, 0.3908765912055969, -0.42311370372772217, 0.6599099040031433, 0.44456014037132263, -0.07738266885280609, 0.03895493596792221, -0.24947068095207214, -0.1591012328863144, 0.05605170130729675, 0.5054599046707153, 0.5206817984580994, 0.48749393224716187, -0.054250434041023254, -0.22113187611103058, 0.06845192611217499, 0.05786202475428581, -1.115950107574463, -0.08016760647296906, 0.13053031265735626, -0.48226791620254517, 0.03469057381153107, -0.2729566991329193, -0.7693004012107849, -0.5502041578292847, -0.701654851436615, 0.09879796952009201, -0.512481153011322, 0.1722143441438675, 0.12506195902824402, -0.0976111963391304, 0.019528236240148544, 0.6378372311592102, -0.673332691192627, 0.06047314032912254, 0.6254602074623108, 0.9572288990020752, 0.03604131564497948, -0.1640198826789856, -1.1396937370300293, -0.21049781143665314, -0.10837094485759735, 0.8626904487609863, -0.626667857170105, -0.4624401032924652, 0.025648953393101692, 0.167286217212677, 0.07750272750854492, -0.6843719482421875, 0.6277668476104736, -0.32843154668807983, 0.2318553328514099, -0.3224002420902252, -0.7318902611732483, -0.07416810840368271, 0.21112295985221863, -0.6099942922592163, 0.9945645332336426, -0.0560140535235405, -0.538830578327179, 0.235455721616745, -0.3569660484790802, -0.38807517290115356, 0.10149085521697998, 0.1019255742430687, -0.14787358045578003, 0.3703605830669403, 0.5076707601547241, 0.5228151082992554, -0.6494202613830566, 0.35507598519325256, -0.11202461272478104, -0.3233741223812103, -0.027853064239025116, -0.571614682674408, 0.6268277764320374, 0.22204658389091492, -0.3065612018108368, 0.28998884558677673, -0.6194692850112915, -0.20147839188575745, -0.13495898246765137, -0.2695349156856537, -0.5299556255340576, -0.07942843437194824, -0.4392135441303253, 0.0034107198007404804, 0.23936976492404938, -0.5388906002044678, 0.6051726937294006, -0.6448596119880676, 0.4048577845096588, 0.7300199866294861, 0.30050575733184814, 0.5568123459815979, -0.2145359367132187, 0.5073002576828003, -0.08072073757648468, 0.22481976449489594, -0.5933112502098083, -0.4733068346977234, -0.7870259881019592, -0.235776886343956, 0.11254383623600006, 0.5664439797401428, -0.7056336402893066, 0.42354148626327515, -0.08477793633937836, -0.3449253737926483, -0.6487079858779907, 0.0640205591917038, 0.3041556775569916, 0.8100284337997437, 0.43123355507850647, 0.24892157316207886, -0.2643749713897705, -0.8797748684883118, -0.4357767105102539, 0.10221907496452332, -0.39087599515914917, 0.2965647876262665, 0.2075624018907547, -0.16480261087417603, 0.9164666533470154, -0.4707323908805847, -0.08096923679113388, -0.31276223063468933, 0.46523183584213257, 0.5058250427246094, 0.7217455506324768, 0.3663657605648041, -0.4065774083137512, -0.3419856131076813, -0.3095625638961792, -0.3220582604408264, -0.5955192446708679, -0.5271619558334351, -0.13009938597679138, 0.15207764506340027, 0.8164246678352356, -0.7290036678314209, 0.24639585614204407, 0.23306958377361298, -0.6123325824737549, 0.5590640306472778, -0.42176511883735657, 0.09582874178886414, -0.8569105863571167, 0.00607124762609601, 0.07606832683086395, -0.1491551399230957, -0.44925254583358765, 0.1647726595401764, 0.357599139213562, -0.012038861401379108, -0.24938420951366425, 0.9369679093360901, -0.6538404226303101, 0.45900285243988037, -0.34580546617507935, -0.029108483344316483, 0.1794804036617279, 0.48491936922073364, -0.3129722774028778, 1.1485754251480103, 0.37678468227386475, -0.8728691339492798, 0.1318994164466858, 0.13604752719402313, -0.4883100390434265, 0.4565272927284241, -0.8137051463127136, 0.0991472452878952, -0.4219524562358856, 0.3180525600910187, -0.9626017808914185, 0.060348570346832275, 0.24608851969242096, -0.15044957399368286, 0.48762595653533936, -0.3048960268497467, -0.7009491324424744, -0.1596985161304474, -0.2935028076171875, 0.24358364939689636, 0.64757239818573, -0.8028689622879028, 0.6269860863685608, -0.07057993113994598, -0.42008358240127563, -0.28918546438217163, -0.470098078250885, 0.1334962546825409, -0.17834284901618958, -0.4718920886516571, 0.31583359837532043, -0.21033288538455963, -0.1838437020778656, -0.2492007464170456, 0.02394801750779152, 0.28121912479400635, 0.12047887593507767, 0.2056153416633606, 0.07929188758134842, -0.17540337145328522, 0.390635222196579, 0.5224407911300659, -0.14525754749774933, -0.027806827798485756, -0.4575206935405731, 0.7293316721916199, 0.15212030708789825, -0.1340610235929489, -0.7299001812934875, 0.41208404302597046, 0.36661186814308167, -0.3385695219039917, 0.8158153891563416, 0.3771096169948578, -0.30005431175231934, -0.526662290096283, -0.7832192778587341, -0.46869006752967834, -0.5193085074424744, 0.20041196048259735, -0.3100636899471283, -1.0212775468826294, 0.45767611265182495, -0.5557559132575989, 0.2139330953359604, 0.29255539178848267, 0.38703200221061707, 0.13248685002326965, 0.8901554346084595, 0.3438643217086792, -0.016172554343938828, 0.588981032371521, -0.024705884978175163, -0.12308821827173233, -0.8529471755027771, -0.2192457765340805, -0.8021286725997925, -0.35747164487838745, -0.21054841578006744, -0.5175897479057312, 0.28618621826171875, 0.37428927421569824, -0.5668494701385498, 0.055901963263750076, -0.49392974376678467, 0.632861852645874, 0.79075688123703, 0.29339900612831116, 0.21294693648815155, -0.11352837830781937, -0.08251108229160309, -0.08052501082420349, -0.6296039819717407, -0.2333567589521408, 0.6948699951171875, 0.2420058250427246, 0.7802701592445374, -0.0445622093975544, 0.34173330664634705, 0.1855689138174057, 0.10291123390197754, -0.7483696341514587, 0.5477724671363831, -0.16065466403961182, -0.059844523668289185, -0.3330506682395935, -0.6132317185401917, -0.9751195311546326, 0.0808175727725029, -0.0363144725561142, -0.7369665503501892, 0.33214548230171204, 0.360059916973114, -0.44519349932670593, 0.1872948408126831, -0.7114814519882202, 0.6210897564888, 0.05364011600613594, -0.5029606223106384, -0.2854873239994049, -0.5709722638130188, 0.19007162749767303, 0.049953948706388474, -0.08317413181066513, -0.25722256302833557, -0.15569056570529938, 0.4948273301124573, -0.3795712888240814, 1.1968293190002441, -0.4748424291610718, -0.10679502040147781, 0.15939277410507202, 0.2595888674259186, 1.0522164106369019, 0.31731969118118286, -0.3475719690322876, -0.038613442331552505, -0.4732058346271515, -0.20476177334785461, -0.7418214082717896, 0.6878326535224915, -0.2398231327533722, -0.5910001397132874, 0.037527523934841156, -0.5324649810791016, -0.2687613368034363, 0.20037654042243958, 0.3941132426261902, 0.8209099173545837, 0.09330524504184723, 0.019771361723542213, 0.9285664558410645, -0.5247023701667786, 0.5061221718788147, 0.501237690448761, 0.07842040061950684, -0.4300987422466278, 0.38203898072242737, -0.15154185891151428, 0.18362484872341156, 0.5369584560394287, 0.44525930285453796, -0.38060179352760315, -0.6120631098747253, -0.33308520913124084, 0.3377824127674103, -0.6544685363769531, -0.5446458458900452, -0.6491923332214355, 0.2821758985519409, -0.38596439361572266, -0.12439310550689697, -0.27067744731903076, -0.12322939187288284, -0.5682254433631897, 0.08658230304718018, 0.6400435566902161, 0.26387226581573486, 0.12475822120904922, 0.582467257976532, -0.8587685227394104, 0.25264957547187805, 0.24910353124141693, 0.2990976870059967, 0.12775841355323792, -0.8044075965881348, -0.050243329256772995, -0.00918987113982439, 0.17570017278194427, -0.5331692099571228, 0.4990691542625427, 0.42103490233421326, 0.4831385016441345, 0.47298726439476013, 0.4720626473426819, 0.794329822063446, -0.7381057143211365, 0.822567880153656, 0.11890820413827896, -0.9675754308700562, 0.5794163942337036, -0.10001399368047714, 0.9729530811309814, 0.8334783315658569, 0.15430571138858795, -0.6123891472816467, -0.30816885828971863, -0.09897208213806152, -1.0438553094863892, 0.5079321265220642, -0.07417039573192596, 0.24617323279380798, -0.2663227915763855, 0.7164813876152039, 0.3168914318084717, 0.09646311402320862, -0.029897596687078476, -0.1445935070514679, 0.22939139604568481, -0.2588133215904236, -0.048764366656541824, -0.5746034979820251, 0.10448797047138214, -0.46433737874031067, 0.5720598697662354, -0.2585832178592682, 0.13103240728378296, 0.22185833752155304, -0.11907597631216049, 0.06795661896467209, 0.1661364734172821, 0.6271450519561768, 0.36539652943611145, -0.05206909775733948, 0.04110640287399292, 0.38444188237190247, -0.34289154410362244, 0.031125210225582123, 0.1413358449935913, -0.3228842318058014, 0.13043813407421112, 0.38428792357444763, 1.0479321479797363, 0.519457221031189, -0.8084656596183777, 0.18905967473983765, -0.3219730854034424, 0.07594133168458939, -0.19808365404605865, 0.2112198770046234, 0.029410481452941895, 0.5353668928146362, 0.25889384746551514, 0.11143238097429276, 0.19936253130435944, -0.2749544084072113, 0.1529937982559204, 0.28445005416870117, -0.2002989649772644, -0.13039401173591614, 0.6318482756614685, 0.3525797128677368, -0.39530491828918457, 0.8332785964012146, -0.2870540916919708, -0.3197786211967468, 0.4662801921367645, 0.5566799640655518, 1.0945967435836792, -0.3212389051914215, -0.04433167353272438, 0.7738827466964722, 0.17309536039829254, -0.47601011395454407, 0.1849135160446167, -0.09866636991500854, -0.4695873558521271, -0.6764741539955139, -0.7057560086250305, -0.2511137127876282, 0.038385000079870224, -0.6108769178390503, 0.2647415101528168, -0.46478745341300964, -0.06655612587928772, -0.16893096268177032, -0.1578783243894577, -0.6817552447319031, -0.05904083326458931, 0.09554091840982437, 1.2786896228790283, -0.28910866379737854, 0.7694879174232483, 0.30362755060195923, -0.16724956035614014, -0.796760082244873, -0.003852886613458395, -0.12868715822696686, -0.5251397490501404, 0.74180668592453, 0.46019670367240906, -0.2160928100347519, 0.2124258577823639, -0.6807665824890137, -0.6751731038093567, 0.8034996390342712, 0.5063802003860474, -1.1400256156921387, -0.13633108139038086, -0.38282421231269836, 0.24516287446022034, -0.30809324979782104, 0.33480963110923767, 0.772815465927124, 0.5477232336997986, 0.02198115736246109, -0.6976746320724487, 0.35283178091049194, -0.22393111884593964, 0.12953658401966095, 0.44181880354881287, -0.27987825870513916, 1.0095678567886353, -0.28715962171554565, -0.5263938903808594, 0.30479738116264343, 0.6249863505363464, 0.15221212804317474, 0.0760321244597435, 0.637308657169342, 0.2683023512363434, 1.1040960550308228, 0.03150095418095589, 0.9404293298721313, -0.44154638051986694, 0.253853440284729, 1.4103771448135376, -0.22206661105155945, 0.6574177742004395, 0.4076986312866211, 0.06004338711500168, 0.2972744405269623, 0.510739266872406, -0.04761248454451561, 0.4735868573188782, 0.39449143409729004, -0.4313739240169525, -0.36265525221824646, -0.22185508906841278, -0.20311015844345093, 0.023116495460271835, 0.35331279039382935, -0.3050100803375244, -0.32585063576698303, 0.200358584523201, 0.3126961290836334, 0.09149933606386185, -0.4602629840373993, 0.9054532647132874, 0.03419375419616699, -0.951904833316803, 0.6549071073532104, -0.12072835862636566, 0.8396289348602295, -0.7212454676628113, -0.18015091121196747, -0.5989459753036499, 0.20275652408599854, 0.23826628923416138, -0.5603463053703308, 0.08932504802942276, 0.0638624057173729, -0.24278943240642548, -0.22173668444156647, 0.4072294235229492, -0.4904053807258606, -0.40491196513175964, 0.16117225587368011, 0.20950345695018768, -0.0704185962677002, -0.5106979012489319, -0.500199556350708, -0.152097687125206, 0.11430244147777557, -0.38866934180259705, 0.15098980069160461, 0.7071686387062073, 0.06489606201648712, 0.8242606520652771, 0.7467510104179382, 0.1179480031132698, -0.2051810324192047, 0.33722513914108276, 0.9619269967079163, -0.7647557854652405, -0.5952014923095703, -1.0720515251159668, 0.5456221699714661, -0.18057529628276825, -0.5620357990264893, 0.5734819173812866, 0.34856459498405457, 0.4963352084159851, -0.20346659421920776, 0.5735625624656677, 0.34898436069488525, 0.5299881100654602, -0.8846355676651001, 0.6056733131408691, -0.47215577960014343, 0.40888482332229614, 0.04625312611460686, -0.7292923331260681, -0.37030062079429626, 0.25379469990730286, -0.08412342518568039, -0.3567599058151245, 0.547994077205658, 0.9044840335845947, 0.13540522754192352, -0.0786743313074112, 0.10972979664802551, 0.2405824512243271, 0.3732711970806122, 0.32800203561782837, 0.6910942196846008, 0.08045870065689087, 0.25085851550102234, -0.33120763301849365, -0.24647849798202515, -0.2695391774177551, -0.9177184104919434, -1.0904626846313477, -0.37879636883735657, -0.26062360405921936, -0.17755508422851562, 0.1528298705816269, 1.291970133781433, 0.42275139689445496, -0.8152303695678711, 0.084265798330307, -0.3224864900112152, -0.0724504366517067, -0.2856919765472412, -0.1959458738565445, 0.33765074610710144, -0.8461711406707764, -0.8312508463859558, 0.5854602456092834, 0.0880095362663269, -0.12853895127773285, -0.045019786804914474, 0.12042608857154846, 0.05028316378593445, 0.11337189376354218, 0.7010356187820435, 0.19688192009925842, -0.7337216734886169, -0.2346300482749939, -0.11642198264598846, 0.08908788859844208, -0.12371302396059036, 0.9757919907569885, -1.0418354272842407, 0.3574238121509552, 0.6766704320907593, 0.6824570894241333, 0.19349299371242523, 0.16537991166114807, 0.8115893006324768, -0.7933811545372009, 0.3264073133468628, 0.3493489623069763, 0.46331527829170227, 0.23037700355052948, -0.6039619445800781, 0.40363767743110657, 0.009000410325825214, -0.5648662447929382, -0.8375057578086853, 0.3228634297847748, -0.8657066226005554, -0.6502938270568848, 1.236510157585144, -0.0931900143623352, -0.11515569686889648, -0.04486554116010666, -0.6010093092918396, 0.30532339215278625, -0.8109607696533203, 0.5108501315116882, 0.12068694829940796, 0.060365840792655945, -0.3832719027996063, -0.48124921321868896, 0.6078519225120544, 0.30403563380241394, -0.70368492603302, 0.40445923805236816, 0.5787270069122314, 0.1878911554813385, -0.25390610098838806, 0.13091209530830383, 0.4571150243282318, 0.07723777741193771, -0.0005485151195898652, 0.18822667002677917, -0.3044385612010956, -0.2760607898235321, -0.6210377812385559, 0.22393129765987396, 0.002290888922289014, -0.07446043193340302 ]
http://arxiv.org/abs/2407.02209v1
http://arxiv.org/pdf/2407.02209v1
Generative Monoculture in Large Language Models
2024-07-02T12:17:07
2024-07-02T12:17:07
Fan Wu, Emily Black, Varun Chandrasekaran
cs.CL
cs.CL, cs.AI
We introduce {\em generative monoculture}, a behavior observed in large language models (LLMs) characterized by a significant narrowing of model output diversity relative to available training data for a given task: for example, generating only positive book reviews for books with a mixed reception. While in some cases, generative monoculture enhances performance (e.g., LLMs more often produce efficient code), the dangers are exacerbated in others (e.g., LLMs refuse to share diverse opinions). As LLMs are increasingly used in high-impact settings such as education and web search, careful maintenance of LLM output diversity is essential to ensure a variety of facts and perspectives are preserved over time. We experimentally demonstrate the prevalence of generative monoculture through analysis of book review and code generation tasks, and find that simple countermeasures such as altering sampling or prompting strategies are insufficient to mitigate the behavior. Moreover, our results suggest that the root causes of generative monoculture are likely embedded within the LLM's alignment processes, suggesting a need for developing fine-tuning paradigms that preserve or promote diversity.
[ -0.5305415391921997, -0.6078157424926758, -0.08541004359722137, 0.17419880628585815, -0.3159658908843994, 0.14024142920970917, -0.43764832615852356, -0.2832966148853302, 0.23914343118667603, 0.5414181351661682, -0.7315231561660767, -0.6568489074707031, -0.5115254521369934, -0.011800333857536316, -0.48918232321739197, 1.3624823093414307, 0.0832391008734703, -0.02892127074301243, -0.5603967905044556, -0.3818591833114624, -0.40252140164375305, -0.7065510153770447, -0.6624841094017029, -0.38989052176475525, 0.6586682200431824, 0.39567050337791443, 0.7167041301727295, 0.6240523457527161, 0.35402679443359375, 0.2292352020740509, -0.29393085837364197, 0.033368539065122604, -1.0637543201446533, 0.4332667291164398, -0.04967111349105835, -0.4795641601085663, -0.3076357841491699, -0.16434894502162933, 0.6997730135917664, 0.8576019406318665, -0.2631160318851471, 0.24833936989307404, 0.5273082852363586, 0.8537831902503967, -0.445049524307251, -0.1902715265750885, -0.22550517320632935, 0.30906036496162415, -0.35970810055732727, -0.17349936068058014, -0.48599332571029663, -0.2380804419517517, -0.06569001078605652, -0.44157472252845764, 0.3181569576263428, -0.2213156670331955, 0.592839777469635, 0.09341031312942505, -0.4856720566749573, -0.26239290833473206, -0.9686608910560608, 0.9268115162849426, -0.44844287633895874, 0.10650947690010071, -0.03290105238556862, -0.17658688127994537, -0.013737944886088371, -0.036968894302845, -0.495694637298584, -0.009197699837386608, -0.0370163694024086, 0.2559606730937958, -0.1661766916513443, 0.07507765293121338, 0.27438610792160034, 0.6128326654434204, -0.5901695489883423, 0.3771359920501709, -0.4237111806869507, -0.18290671706199646, 0.4946939945220947, 0.2590402662754059, 0.3529854714870453, 0.03994780033826828, -0.42157551646232605, -0.23628735542297363, -0.8325589299201965, 0.17945216596126556, 0.6313022375106812, 0.13878725469112396, -0.083064004778862, 0.3368736505508423, -0.16249395906925201, 0.44171038269996643, -0.39471015334129333, -0.04344687610864639, 0.343654602766037, -0.5868729948997498, -0.09887365996837616, -0.23547334969043732, 0.6713526248931885, 0.29442161321640015, 0.35861533880233765, 0.17029380798339844, -0.19460463523864746, 0.1318122148513794, 0.34300684928894043, -0.6652501225471497, 0.11997067928314209, 0.05514173209667206, -0.6424853205680847, -0.4780813157558441, 0.07586385309696198, -0.9418796896934509, -0.41829344630241394, -0.18610183894634247, -0.08296669274568558, -0.10523830354213715, -0.3960719704627991, 0.17173057794570923, -0.35823923349380493, 0.11667187511920929, 0.14802129566669464, -0.931132972240448, 0.10480786859989166, 0.5788294672966003, 0.7061668038368225, -0.5315744876861572, -0.410876989364624, 0.009182804264128208, 0.12907056510448456, -0.43743887543678284, 0.34883996844291687, -0.3956438899040222, -0.6839280128479004, 0.18603374063968658, -0.3589247763156891, 0.23656293749809265, -0.7768004536628723, 0.38887450098991394, -0.49654683470726013, -0.08235305547714233, -0.3169401288032532, -0.28156691789627075, 0.07457026839256287, 0.3403646647930145, -0.6017951369285583, 0.6323122978210449, 0.0496739037334919, -0.6724399924278259, 0.7068535089492798, -0.41140538454055786, -0.6096696257591248, 0.07476461678743362, -0.23679059743881226, -0.39568716287612915, 0.1880946010351181, -0.09253931790590286, 0.002832193858921528, -0.15719935297966003, 0.10666336864233017, -0.446543425321579, -0.2524717152118683, 0.15472087264060974, -0.5831503868103027, 0.7909557223320007, 0.26904407143592834, -0.10224569588899612, 0.2286992222070694, -0.4001714289188385, -0.18484942615032196, 0.09927935153245926, -0.6444123983383179, -0.6942106485366821, 0.13070979714393616, -0.24796022474765778, 0.12435181438922882, 0.1128879263997078, -0.3506224453449249, 0.5823296308517456, -0.18033306300640106, 0.07225817441940308, 0.8889546394348145, 0.11821078509092331, 0.43087098002433777, -0.7325795888900757, 0.814624547958374, 0.3582083582878113, 0.43114107847213745, -0.27192023396492004, -0.3854820728302002, -1.0580817461013794, -0.24894046783447266, -0.05787746235728264, 0.21408982574939728, -0.7060834169387817, 0.1926388442516327, -0.33188876509666443, -0.45441707968711853, -0.45299646258354187, 0.5355033278465271, 0.37863394618034363, 0.030363604426383972, 0.10591497272253036, -0.6062923669815063, -0.45824384689331055, -0.93707674741745, -0.08667831867933273, 0.053253162652254105, 0.1696530133485794, 0.04768013209104538, 0.24922293424606323, -0.4718588888645172, 0.704805314540863, -0.3233641982078552, -0.30484169721603394, -0.3396669328212738, 0.3882078528404236, 0.31885290145874023, 0.5854577422142029, 0.468448668718338, -0.7806816697120667, -0.34057992696762085, -0.10453261435031891, -0.8370140194892883, 0.028972405940294266, -0.10465069115161896, -0.22987866401672363, 0.33300334215164185, 0.5050866007804871, -0.44303587079048157, 0.2151024043560028, 0.7495394349098206, -0.1623564064502716, 0.5266728401184082, 0.06151861324906349, 0.034811832010746, -1.0206257104873657, -0.34686943888664246, 0.08683326840400696, 0.08644114434719086, -0.5494421720504761, 0.4542199373245239, -0.35052958130836487, -0.03449850529432297, -0.039106592535972595, 0.1485811471939087, -0.48217251896858215, 0.3107563853263855, -0.1549645960330963, -0.23435857892036438, -0.07731356471776962, 0.2128337025642395, -0.05413880944252014, 0.7769089937210083, 0.632662296295166, -0.7587022185325623, 0.22802986204624176, 0.22899025678634644, -0.46632009744644165, 0.10404228419065475, -0.22154812514781952, -0.02316517010331154, -0.41327378153800964, 0.10045407712459564, -0.8881627917289734, -0.08270011842250824, -0.05422740802168846, -0.13243789970874786, 0.3698689639568329, -0.03136124089360237, -0.4999696910381317, -0.4327309727668762, -0.5147179961204529, 0.6649974584579468, 0.6571956872940063, -0.5010492205619812, 0.13439613580703735, 0.3217240571975708, -0.3119526207447052, -0.6673606634140015, -0.776538074016571, -0.1427704393863678, -0.1524117887020111, -0.6885582804679871, -0.10808981955051422, -0.23789258301258087, -0.16965165734291077, -0.20859727263450623, -0.29238569736480713, 0.28643351793289185, 0.19004248082637787, 0.04399632662534714, 0.19738227128982544, -0.46726158261299133, 0.281070351600647, 0.21853314340114594, 0.32457029819488525, -0.038675758987665176, -0.38275936245918274, 0.7249983549118042, 0.11318878084421158, -0.5115357041358948, 0.04797109216451645, 0.5643225908279419, 0.7705002427101135, -0.20496463775634766, 0.9144979119300842, 0.21971707046031952, 0.08455061167478561, -0.8460248112678528, -0.37151768803596497, -0.2732180058956146, -0.47778892517089844, 0.41073039174079895, -0.10936247557401657, -1.1876384019851685, 0.5055961012840271, 0.13341158628463745, -0.08347254246473312, 0.326493501663208, 0.7056214213371277, -0.0989641398191452, 0.8977138996124268, 0.8200252056121826, -0.18140727281570435, 0.588997483253479, -0.22278933227062225, 0.08210983127355576, -0.5166940093040466, -0.11351824551820755, -0.4051162600517273, -0.4081387519836426, -0.9118354320526123, -0.32484737038612366, 0.565936267375946, 0.04337994381785393, -0.06853701919317245, -0.03828055411577225, -0.5063295960426331, 0.5558544993400574, 0.7441548705101013, -0.04046553745865822, 0.46232178807258606, 0.1746663600206375, -0.1790449470281601, 0.10265111178159714, -0.9882641434669495, -0.5256481766700745, 1.1427369117736816, 0.3178636431694031, 1.1488958597183228, 0.3169170320034027, 0.994606077671051, 0.398500919342041, 0.7746655344963074, -0.7375608682632446, 0.5072090029716492, -0.49745818972587585, -0.7630763053894043, -0.42031633853912354, -0.6215718388557434, -0.8259286880493164, 0.18361593782901764, -0.10193280875682831, -0.4658448398113251, 0.3669394850730896, 0.5019893646240234, -0.1093946024775505, 0.27678921818733215, -0.5428194403648376, 1.0487464666366577, -0.14390051364898682, -0.5264391899108887, -0.21635465323925018, -0.12715351581573486, 0.6146146059036255, -0.23671981692314148, 0.30146998167037964, 0.20593909919261932, 0.24162741005420685, 0.48188015818595886, -0.015948964282870293, 1.1089688539505005, 0.0473424531519413, -0.4076049327850342, 0.24920035898685455, 0.3790993094444275, 0.32057759165763855, -0.03209279850125313, -0.09963042289018631, 0.23359639942646027, -0.06540233641862869, -0.44360703229904175, -0.21558186411857605, 0.7455142736434937, -0.9073455929756165, -0.9626745581626892, -0.3486778140068054, -0.6150947213172913, -0.14704371988773346, 0.15396951138973236, 0.5732981562614441, 0.23505648970603943, -0.3275229334831238, 0.4533286988735199, 0.8756519556045532, -0.3726530373096466, 0.08978305757045746, 0.2171134501695633, -0.5103940367698669, -0.008215432986617088, 1.0335708856582642, 0.16520139575004578, 0.6376932263374329, 0.15314260125160217, 0.11028805375099182, 0.15366727113723755, -0.8074414730072021, -0.18580998480319977, -0.1446678787469864, -0.8623425364494324, -0.051009293645620346, -0.36525261402130127, -0.1637468934059143, -0.4277239441871643, 0.014442265033721924, -0.1338815689086914, -0.12202107161283493, -0.2507627606391907, -0.14854402840137482, -0.20131035149097443, 0.8621079921722412, 0.13767670094966888, 0.19889482855796814, -0.7677220702171326, 0.1578802466392517, 0.3328544497489929, 0.52907395362854, 0.1385107934474945, -0.3690783679485321, -0.3607737123966217, 0.06034942716360092, -0.5253230333328247, -0.6552735567092896, 0.17314207553863525, 0.11679285764694214, 0.48190420866012573, 0.699104905128479, 0.012866854667663574, 0.2634182274341583, -0.22530941665172577, 0.7179346680641174, 0.20504599809646606, -0.69572913646698, 0.24916939437389374, -0.6083834171295166, 0.5693778395652771, 0.3960339426994324, 0.47757843136787415, -0.8765994906425476, -0.9233854413032532, -0.10614877939224243, -0.9509958028793335, 0.6864281892776489, 0.022201158106327057, 0.7419939041137695, -0.2445041984319687, -0.08512373268604279, 0.3607158660888672, 0.4781893193721771, -1.1111644506454468, -0.3399237096309662, -0.3847101926803589, -0.027512796223163605, -0.20267145335674286, -0.621193528175354, -0.38805392384529114, -0.264054536819458, 0.6595994234085083, 0.0211783517152071, -0.08335238695144653, 0.012187009677290916, -0.06629431247711182, -0.38528338074684143, 0.510084867477417, 0.6967392563819885, 0.5945408344268799, 0.035713862627744675, 0.12392997741699219, -0.24917763471603394, -0.20387884974479675, 0.2072003036737442, -0.2408488541841507, -0.5675656795501709, -0.24100889265537262, 0.3986295759677887, 0.716752827167511, -0.1567370891571045, -0.4470198154449463, 0.3846164047718048, 0.23437121510505676, -0.11161676049232483, -0.230168417096138, 0.31854552030563354, 0.024785274639725685, -0.02954835072159767, 0.26529157161712646, 0.14602775871753693, 0.02753794565796852, -0.9179278016090393, 0.2075812667608261, 0.6453229188919067, -0.12063875049352646, -0.0358114168047905, 0.41514959931373596, 0.4210239350795746, 0.0088898204267025, 0.6403241157531738, -0.4705771207809448, -0.43355241417884827, 0.7716097831726074, 0.5443772673606873, 0.8571407794952393, -0.053571831434965134, 0.23830361664295197, 0.38164839148521423, 0.7242224216461182, -0.04703078791499138, -0.03157741576433182, 0.03531850129365921, -1.0809130668640137, -0.39897841215133667, -0.9554628133773804, -0.21774519979953766, 0.22641032934188843, -0.6704907417297363, 0.2527760863304138, -0.3692231774330139, -0.14137369394302368, -0.06324990838766098, -0.8191447854042053, -0.28496041893959045, -0.07041212916374207, 0.5576906800270081, 0.8036673665046692, -0.9728976488113403, 0.7175417542457581, 0.7088021636009216, -0.6621757745742798, -0.3858157992362976, 0.3547719717025757, 0.12869107723236084, -0.5333684086799622, 0.6784172654151917, 0.12998150289058685, -0.13828280568122864, -0.14464059472084045, -0.5435152053833008, -0.6880493760108948, 0.6279343962669373, 0.2667142152786255, -0.7335596680641174, -0.012616337276995182, 0.3199326992034912, 0.7674770951271057, -0.3104229271411896, -0.3333487808704376, 0.2470550686120987, 0.2810424566268921, -0.08446156978607178, -0.6121604442596436, -0.0466848686337471, -0.28063663840293884, 0.23539306223392487, 0.45816314220428467, -0.8128857016563416, 0.8549792766571045, -0.09129919856786728, -0.3202868103981018, 0.1303136795759201, 0.41221556067466736, 0.11955635249614716, 0.14254915714263916, 0.37767720222473145, 0.5360303521156311, 0.45946571230888367, -0.1535666286945343, 1.1550266742706299, -0.22963686287403107, 0.5130484700202942, 0.9564259648323059, -0.24078187346458435, 0.35974085330963135, 0.5506932139396667, -0.056394752115011215, 0.45840027928352356, 0.46353429555892944, -0.23944728076457977, 0.21515591442584991, 0.6115256547927856, -0.4978140592575073, -0.4180728793144226, -0.18484154343605042, -0.23068352043628693, 0.35681092739105225, 0.17616133391857147, -0.3927913308143616, -0.06926891207695007, 0.20242847502231598, -0.13098104298114777, 0.15644410252571106, -0.3553602695465088, 0.8517441153526306, 0.04499221593141556, -1.0292236804962158, 0.65437912940979, -0.27110224962234497, 0.9632118344306946, -0.7632274031639099, 0.07495105266571045, -0.6068188548088074, 0.07163381576538086, -0.3487575352191925, -0.5973942279815674, 0.24903954565525055, -0.08155076205730438, -0.75227952003479, -0.5383540391921997, 0.490852952003479, -0.6309714913368225, -0.3499308228492737, 0.5941035151481628, 0.5479265451431274, -0.22914403676986694, 0.30070728063583374, -0.26951611042022705, 0.14455944299697876, 0.1528296172618866, -0.33388450741767883, 0.4476145803928375, 0.44311103224754333, -0.130581796169281, 0.6349953413009644, 0.5893036127090454, 0.23001141846179962, 0.3410402536392212, 0.2010735273361206, 0.9394454956054688, -0.30391770601272583, -0.3554338216781616, -0.9264829754829407, 0.33897075057029724, -0.025446472689509392, -0.1817643791437149, 0.7834566235542297, 0.5866906642913818, 1.327565312385559, -0.3494662046432495, 0.9496079087257385, 0.06096242740750313, 0.0777117982506752, -0.3729431927204132, 0.8128558993339539, -0.7213852405548096, 0.43213608860969543, -0.1237395852804184, -0.8851485848426819, -0.043826013803482056, 0.060250263661146164, -0.06863444298505783, 0.2609897553920746, 0.6245855689048767, 0.8342853784561157, -0.13050752878189087, -0.04437963292002678, 0.5452907085418701, 0.3907407224178314, 0.014151508919894695, 0.09567756205797195, 1.0900626182556152, 0.34580671787261963, 0.720341145992279, -0.2161669135093689, -0.3115334212779999, -0.0019726783502846956, -0.7100247144699097, -0.6501919031143188, -0.38979825377464294, -0.45960378646850586, -0.3665691018104553, -0.010416016913950443, 0.7658790946006775, 0.5628284215927124, -0.9148320555686951, -0.6530582904815674, -0.17190054059028625, 0.31939953565597534, -0.24367289245128632, -0.2414427548646927, -0.30381858348846436, -0.6424441933631897, -0.6780930757522583, 0.03035121224820614, 0.29532623291015625, 0.05515112727880478, -0.3884424865245819, 0.027005067095160484, -0.023962566629052162, 0.05882302671670914, 0.6149551272392273, 0.2417752891778946, -0.35620108246803284, -0.12215110659599304, -0.13539431989192963, -0.22982217371463776, 0.17770281434059143, 0.9283645153045654, -0.13060766458511353, 0.8134500980377197, 0.3787257969379425, 0.52426677942276, 0.16152530908584595, -0.10631665587425232, 0.6257964968681335, -1.0075119733810425, 0.017394689843058586, 0.296773225069046, 0.3226965367794037, 0.2580632269382477, -0.15098342299461365, 0.19867032766342163, 0.4559740126132965, -0.374160498380661, -0.719871461391449, 0.6255941987037659, -0.6602743268013, -0.2987137734889984, 1.289844036102295, 0.06370197981595993, -0.0547773577272892, 0.160511776804924, 0.024957582354545593, 0.29391777515411377, -0.32772091031074524, 0.8841743469238281, 1.1504290103912354, 0.09335232526063919, -0.04769442230463028, -0.47725188732147217, 0.56292724609375, 0.677002489566803, -0.7101051211357117, 0.2561023533344269, 0.5591815114021301, 0.31341975927352905, 0.4148896634578705, 0.44512221217155457, -0.15190823376178741, 0.2776544690132141, -0.22252686321735382, 0.3608887195587158, 0.1679648458957672, -0.25914257764816284, -0.5500621199607849, 0.37760719656944275, 0.4981417655944824, 0.12636587023735046 ]
http://arxiv.org/abs/2407.02208v1
http://arxiv.org/pdf/2407.02208v1
How to Learn in a Noisy World? Self-Correcting the Real-World Data Noise on Machine Translation
2024-07-02T12:15:15
2024-07-02T12:15:15
Yan Meng, Di Wu, Christof Monz
cs.CL
cs.CL, cs.AI
The massive amounts of web-mined parallel data contain large amounts of noise. Semantic misalignment, as the primary source of the noise, poses a challenge for training machine translation systems. In this paper, we first study the impact of real-world hard-to-detect misalignment noise by proposing a process to simulate the realistic misalignment controlled by semantic similarity. After quantitatively analyzing the impact of simulated misalignment on machine translation, we show the limited effectiveness of widely used pre-filters to improve the translation performance, underscoring the necessity of more fine-grained ways to handle data noise. By observing the increasing reliability of the model's self-knowledge for distinguishing misaligned and clean data at the token-level, we propose a self-correction approach which leverages the model's prediction distribution to revise the training supervision from the ground-truth data over training time. Through comprehensive experiments, we show that our self-correction method not only improves translation performance in the presence of simulated misalignment noise but also proves effective for real-world noisy web-mined datasets across eight translation tasks.
[ -0.14321620762348175, -0.6385338306427002, 0.31556275486946106, 0.20898498594760895, -0.23265421390533447, -0.28683358430862427, -0.2525451183319092, -0.5519465804100037, -0.0025062630884349346, 0.4337281882762909, -0.8170881867408752, -0.5107381939888, -0.6188063025474548, 0.26328760385513306, -0.5806439518928528, 0.9718400239944458, 0.06635238975286484, 0.2985774576663971, -0.08469109237194061, -0.014734591357409954, -0.41707873344421387, -0.4816586673259735, -0.4403858482837677, -0.18835251033306122, 0.49818533658981323, 0.4255111515522003, 0.8018535375595093, 0.8910737037658691, 0.5327234864234924, 0.32138994336128235, 0.08162933588027954, 0.3109879195690155, -0.6391942501068115, 0.31301864981651306, -0.28699225187301636, -0.5504879951477051, -0.12247391045093536, -0.000902851577848196, 0.3828880488872528, 0.4451103210449219, -0.24233324825763702, 0.06966053694486618, 0.09406953305006027, 0.5923820734024048, -0.2781967520713806, 0.14795376360416412, -0.5938403606414795, 0.2479703426361084, -0.22318348288536072, -0.011951331980526447, -0.13515830039978027, 0.07200159132480621, -0.2161596417427063, -0.9238377809524536, 0.38837161660194397, 0.1970929056406021, 0.9388527870178223, 0.8812687397003174, -0.22026611864566803, -0.1214762032032013, -1.0589115619659424, 0.8704783320426941, -0.6315785050392151, 0.7228577136993408, 0.5361303091049194, 0.21858440339565277, -0.3698444962501526, -0.5340054631233215, -0.4702472984790802, 0.27741754055023193, 0.015147305093705654, 0.33759427070617676, 0.03885165974497795, -0.23000149428844452, 0.25223198533058167, 0.17698538303375244, -0.47960495948791504, 0.16566181182861328, -0.5524876713752747, -0.2849530279636383, 0.47962480783462524, -0.023503126576542854, 0.20748576521873474, 0.2134292721748352, -0.1694374531507492, -0.42172956466674805, -0.5454888939857483, -0.2900066375732422, 0.3623170852661133, 0.3997151255607605, 0.02114991284906864, 0.07112160325050354, -0.3316638469696045, 0.6108919978141785, 0.22234922647476196, -0.35022568702697754, 0.271925687789917, -0.30723682045936584, -0.028845718130469322, 0.2095050811767578, 0.6268265247344971, 0.3598131835460663, 0.2922344207763672, -0.3931506872177124, -0.3380570411682129, -0.08450906723737717, 0.6496397256851196, -0.6099420189857483, -0.3607918322086334, 0.05764812231063843, -0.44757080078125, -0.34438806772232056, -0.1331409215927124, -0.5469745397567749, -0.1840321570634842, -0.6385641098022461, 0.6276894807815552, -0.2997610867023468, -0.2446385622024536, 0.35624566674232483, 0.2596209943294525, -0.02127855084836483, 0.4714651107788086, -0.6523202061653137, 0.2299981266260147, 0.4891831576824188, 0.6954503655433655, 0.04464558884501457, -0.5324028730392456, -0.46307727694511414, 0.21202582120895386, -0.3902200758457184, 0.8402125239372253, 0.02393210679292679, -0.18325527012348175, -0.08470569550991058, -0.0700841099023819, -0.12220539152622223, -0.8685619831085205, 0.4988805949687958, -0.34865710139274597, 0.13608533143997192, -0.23196148872375488, -0.4087153971195221, 0.07052638381719589, 0.19721440970897675, -0.4356381297111511, 0.96183842420578, -0.018969876691699028, -0.6429498195648193, 0.3969676196575165, -0.4235365092754364, -0.533843457698822, -0.3775160312652588, 0.05638659745454788, -0.7732714414596558, 0.026237374171614647, 0.28756383061408997, 0.2375958412885666, 0.18749792873859406, 0.263384073972702, -0.10688219219446182, -0.3884437382221222, 0.2334136664867401, -0.4606209099292755, 0.5373315215110779, 0.5908164978027344, -0.282511830329895, -0.158920556306839, -0.6089694499969482, -0.22998201847076416, -0.010540787130594254, -0.20088987052440643, -0.35204318165779114, 0.10954544693231583, -0.2883770167827606, 0.50066077709198, 0.04821445792913437, -0.4742712676525116, 0.20136229693889618, -0.5258424878120422, 0.10213205218315125, 0.6801653504371643, -0.18030454218387604, 0.28029540181159973, -0.33139362931251526, 0.2583421468734741, 0.6126424074172974, 0.3268231451511383, 0.09453552216291428, -0.2937766909599304, -0.8408912420272827, 0.15772852301597595, 0.5503984689712524, 0.4975670576095581, -0.490665465593338, 0.236498162150383, -0.3706694543361664, -0.2107900083065033, -0.9937430620193481, 0.5854816436767578, 0.32553690671920776, 0.6757063269615173, 0.8200332522392273, -0.1615719199180603, -0.6511494517326355, -0.6071229577064514, -0.6955308318138123, -0.08296804875135422, 0.1564463973045349, -0.2724052965641022, 0.39894428849220276, -0.4425051212310791, 0.7601054906845093, -0.36179640889167786, -0.654909074306488, 0.2662276327610016, 0.3431685268878937, -0.1658191680908203, 0.7987408638000488, 0.10378167778253555, -0.7656738758087158, -0.3453115224838257, -0.19100922346115112, -0.7856510281562805, -0.32256507873535156, -0.18657219409942627, -0.24687758088111877, -0.03991473838686943, 1.0471231937408447, -0.38739198446273804, 0.33596664667129517, 0.4360784888267517, -0.03746343031525612, 0.5706630945205688, -0.4565604627132416, -0.026584714651107788, -0.9270723462104797, -0.1033347100019455, -0.10236016660928726, -0.4577188193798065, -0.4231177568435669, -0.21031446754932404, 0.07244451344013214, 0.04585923254489899, -0.3284291625022888, 0.30437755584716797, -0.4231601357460022, 0.1910897195339203, -0.39004555344581604, 0.25296929478645325, -0.18367978930473328, 0.2581525146961212, -0.20495562255382538, 0.875822126865387, 0.2147129774093628, -0.9765146374702454, 0.038613367825746536, 0.24331894516944885, -0.3297002613544464, 0.5330355763435364, -0.2577507197856903, -0.1173592135310173, -0.30406883358955383, 0.21558132767677307, -0.7342619895935059, -0.13594189286231995, 0.3435382843017578, -0.460999459028244, 0.37739402055740356, -0.25853046774864197, -0.6151063442230225, -0.376346617937088, 0.4243634045124054, 0.3210853636264801, 0.42038434743881226, -0.6063899993896484, 0.11087684333324432, 0.33110862970352173, 0.09327857941389084, -0.5810126662254333, -0.780877411365509, 0.044683218002319336, -0.16092725098133087, -0.44462093710899353, 0.3340376615524292, -0.04858272895216942, -0.1377733051776886, -0.04027354344725609, -0.47919777035713196, -0.180580735206604, 0.24845442175865173, 0.37057048082351685, -0.21846075356006622, 0.014556601643562317, 0.5671172738075256, -0.025015821680426598, -0.4049603044986725, 0.1171175017952919, -0.65996253490448, 0.27051159739494324, -0.042710110545158386, -0.4122065603733063, -0.4801090657711029, -0.05419401824474335, 0.34529611468315125, -0.014844529330730438, 0.5530306100845337, 0.7790945172309875, -0.3365476429462433, -0.19627007842063904, -0.6001359224319458, -0.3245435357093811, -0.5033050775527954, 0.4252766966819763, -0.42887082695961, -0.41716569662094116, 0.2295430302619934, -0.5393177270889282, 0.0536331944167614, 0.5366307497024536, 0.19436964392662048, -0.5753133893013, 1.1669130325317383, 0.6125391125679016, -0.1554461419582367, 0.5069711804389954, -0.25064101815223694, 0.37500715255737305, -0.5172812938690186, -0.10654586553573608, -0.5805520415306091, -0.601071834564209, -0.4826471507549286, -0.5951178669929504, 0.25799256563186646, 0.31860917806625366, -0.16692739725112915, 0.4200037717819214, -0.3116258978843689, 0.4758172035217285, 0.6437796354293823, 0.05328613519668579, 0.5641366839408875, 0.33011767268180847, -0.31670308113098145, -0.4909989833831787, -0.7908546924591064, -0.2235216349363327, 0.7933710813522339, 0.10381174087524414, 0.9976573586463928, -0.059351738542318344, 0.8589638471603394, 0.1080605685710907, 0.19522926211357117, -0.5167260766029358, 0.11015242338180542, -0.1381862610578537, -0.4627678692340851, -0.3838777244091034, -0.5755595564842224, -1.0800807476043701, 0.35457485914230347, -0.31236860156059265, -0.17079225182533264, 0.058775898069143295, 0.46546268463134766, -0.09364472329616547, 0.346746027469635, -0.47280043363571167, 1.0151530504226685, -0.3658265471458435, -0.19132250547409058, -0.42541801929473877, -0.8168794512748718, 0.08946040272712708, -0.1361333727836609, 0.7568486928939819, -0.02693028375506401, 0.29136955738067627, 0.5780491232872009, -0.3471148908138275, 1.0445711612701416, -0.24411481618881226, -0.20355340838432312, 0.1730838567018509, 0.323050320148468, 0.5785737633705139, -0.3237580955028534, 0.08168501406908035, 0.2816593647003174, -0.12226441502571106, -0.32632559537887573, -0.6106186509132385, 0.5286569595336914, -0.9774121046066284, -0.4742889106273651, -0.2710173428058624, -0.5205382108688354, -0.1431340128183365, 0.31525853276252747, 0.5249195694923401, 0.041318755596876144, -0.273375004529953, -0.022502977401018143, 0.7210845947265625, 0.11067895591259003, 0.1644630879163742, 0.7069213390350342, -0.2781730890274048, -0.197342649102211, 1.2861030101776123, 0.5267642736434937, 0.059483978897333145, 0.2394590675830841, 0.20003612339496613, -0.3651480972766876, -0.3504098057746887, -0.52583247423172, 0.17888449132442474, -0.5385118126869202, -0.3734022378921509, -0.7357978820800781, -0.15430574119091034, -0.5791175365447998, 0.00844026729464531, -0.7438580393791199, -0.46234533190727234, -0.17830955982208252, -0.0980718731880188, 0.14990822970867157, 0.8408604264259338, -0.5467037558555603, 0.6847242712974548, -0.8321065306663513, 0.27183571457862854, 0.1683824062347412, 0.4914317727088928, -0.2282305508852005, -0.7276658415794373, -0.7546631693840027, 0.42334645986557007, -0.5087347030639648, -0.5238056182861328, 0.4945600628852844, 0.23899951577186584, 0.44287413358688354, 0.25809037685394287, 0.2637002170085907, 1.1964832544326782, -0.488840788602829, 0.41041433811187744, 0.05703986808657646, -0.8296262621879578, 0.5801258683204651, -0.09931939840316772, 0.23114463686943054, 0.6197218298912048, 0.19889676570892334, -0.7792965173721313, -0.6297855377197266, -0.7566072940826416, -0.6579009890556335, 0.6997530460357666, 0.26223790645599365, -0.05505950376391411, 0.10934785008430481, 0.5347516536712646, -0.05026201158761978, 0.06630377471446991, -0.7977755665779114, -0.2782278060913086, -0.4051854610443115, -0.43616175651550293, -0.09376901388168335, 0.18365980684757233, -0.014419644139707088, -0.321773499250412, 0.9038158059120178, -0.05891958251595497, 0.030589347705245018, 0.5093985795974731, -0.5886939167976379, -0.4392450451850891, 0.01998748630285263, 0.37895968556404114, 0.1316593587398529, 0.07642296701669693, 0.1749984622001648, 0.23255309462547302, -0.40497463941574097, 0.1986643373966217, -0.15176372230052948, -0.3842194080352783, 0.1137072741985321, 0.07854414731264114, 0.5365980267524719, 0.32575711607933044, -0.43300938606262207, 0.6116401553153992, 0.01790141686797142, -0.19873717427253723, -0.17334024608135223, 0.03243361786007881, 0.10486237704753876, 0.002822732552886009, -0.004226125776767731, 0.45753055810928345, 0.16363218426704407, -0.22078895568847656, 0.31177425384521484, 0.038285307586193085, -0.6052600741386414, -0.24536237120628357, 0.6405062675476074, 0.13900400698184967, -0.1594337522983551, 0.7260775566101074, -0.2678501605987549, -0.5911251306533813, 0.4873231053352356, 0.8302785754203796, 0.5470708012580872, -0.4328143298625946, 0.09849118441343307, 0.5579836964607239, 0.4380802810192108, -0.5572515726089478, 0.037763018161058426, -0.10295327752828598, -0.7444167137145996, -0.4904369115829468, -0.5853702425956726, -0.2314799427986145, -0.13587839901447296, -0.5361156463623047, 0.21341335773468018, -0.16620399057865143, -0.11788470298051834, -0.37721094489097595, -0.22880302369594574, -0.7208383679389954, 0.49913668632507324, -0.02858121134340763, 0.5159943103790283, -0.9029655456542969, 0.8699263334274292, 0.5505166053771973, -0.31888872385025024, -0.6639261841773987, 0.18842418491840363, 0.07450864464044571, -0.7874065637588501, 0.6822802424430847, 0.2260168492794037, -0.30173367261886597, 0.10705544799566269, -0.807284951210022, -1.0983928442001343, 0.736804723739624, 0.3189252018928528, -0.6499201059341431, 0.20442533493041992, 0.3682628571987152, 0.6252581477165222, 0.009131385013461113, -0.3550557792186737, 0.3339413106441498, 0.5381509065628052, -0.17323173582553864, -0.7919822931289673, -0.26458990573883057, -0.06246424838900566, -0.22596199810504913, 0.24413394927978516, -0.9045835733413696, 0.5469954609870911, -0.09529547393321991, -0.3290761411190033, -0.25136667490005493, 0.6552124619483948, -0.33497729897499084, 0.07683875411748886, 0.5710780024528503, 0.8504652976989746, 0.9185134172439575, 0.0029504504054784775, 0.5619978308677673, -0.46738624572753906, 0.4412478506565094, 1.5570470094680786, -0.08157454431056976, 0.6575919389724731, 0.42644330859184265, 0.06177496910095215, 0.3632757067680359, 0.4800907075405121, -0.06774415075778961, 0.4444223940372467, 0.254298597574234, -0.056687720119953156, -0.6353181600570679, 0.10628923773765564, -0.3943978548049927, 0.3685580790042877, 0.4482863247394562, -0.11154364049434662, -0.44294100999832153, 0.06892391294240952, -0.19647735357284546, 0.22972197830677032, -0.0895925909280777, 0.9927552938461304, 0.2134794145822525, -0.5647658705711365, 0.5051498413085938, 0.16725270450115204, 0.5761081576347351, -0.3261389136314392, 0.030713515356183052, -0.19003966450691223, 0.38934972882270813, -0.18361212313175201, -0.46107763051986694, 0.6965053081512451, -0.2131260186433792, -0.24553219974040985, -0.505875825881958, 0.6884986162185669, -0.673434853553772, -0.38947004079818726, 0.41142597794532776, 0.5593157410621643, 0.46002987027168274, -0.34473472833633423, -0.7116445899009705, -0.06961144506931305, -0.07741259038448334, 0.15202073752880096, 0.45813748240470886, 0.7141433358192444, 0.1347598135471344, 0.861885130405426, 0.6262131929397583, 0.1057390496134758, 0.3611502945423126, 0.009909217245876789, 0.5441098809242249, -0.7214431762695312, -0.5023249387741089, -0.5992835164070129, 0.13809601962566376, -0.007192819379270077, -0.31779295206069946, 0.5989254713058472, 0.5834877490997314, 1.2715719938278198, -0.13057971000671387, 0.578971266746521, 0.39691951870918274, 0.6700012683868408, -0.458236426115036, 0.7086343765258789, -0.5587580800056458, 0.16156578063964844, -0.08903146535158157, -0.6363403797149658, -0.48312118649482727, 0.9537695646286011, -0.17486572265625, -0.3231487274169922, 0.5004779696464539, 1.0603042840957642, -0.2987508773803711, -0.12977539002895355, 0.5892115235328674, 0.8197447061538696, 0.1450381577014923, 0.04740610346198082, 0.6773024201393127, -0.9380835294723511, 0.9102224111557007, -0.501105546951294, 0.2614976167678833, -0.23605136573314667, -0.6057029366493225, -0.34919464588165283, -0.4611177444458008, -0.556542158126831, -0.4607248306274414, 0.293976753950119, 0.9497525691986084, 0.884190559387207, -0.8546602725982666, -0.21887539327144623, -0.24474604427814484, 0.24378690123558044, -0.4780103266239166, -0.14073726534843445, 0.004051444120705128, -0.8919672966003418, -0.7635400295257568, 0.5342541933059692, 0.043562151491642, 0.3498278856277466, 0.15422546863555908, -0.2365732192993164, 0.02348865009844303, -0.2950094938278198, 0.31592634320259094, 0.2773858904838562, -0.6084127426147461, -0.11373228579759598, -0.34970664978027344, -0.4658207297325134, 0.2565430700778961, 0.6438028812408447, -0.7144795656204224, 0.7332069277763367, 0.10789275169372559, 0.5411377549171448, 0.5899451971054077, 0.1533726006746292, 0.5431725382804871, -0.9045959115028381, 0.18760187923908234, -0.09907449036836624, 0.19074760377407074, 0.28279778361320496, -0.532797634601593, 0.6175912618637085, 0.4297676682472229, -0.6377143263816833, -0.5567051768302917, 0.04635784775018692, -0.47247591614723206, -0.36246901750564575, 0.8021471500396729, -0.09901636093854904, -0.21709881722927094, -0.4838322103023529, -0.28773295879364014, 0.6934598684310913, -0.21056726574897766, 1.160395622253418, 0.7417985200881958, 0.1603488326072693, 0.21753022074699402, -0.5446597337722778, 0.6365604996681213, 0.6960943937301636, -0.3671422004699707, 0.2639397978782654, 0.5081594586372375, 0.5040974020957947, 0.14650821685791016, 0.34298133850097656, -0.19061492383480072, 0.039211858063936234, 0.033805057406425476, 0.18845003843307495, 0.09324995428323746, -0.4546176493167877, -0.4396539032459259, -0.36015036702156067, -0.04159029200673103, -0.12961070239543915 ]
http://arxiv.org/abs/2407.02203v1
http://arxiv.org/pdf/2407.02203v1
Automatic Adaptation Rule Optimization via Large Language Models
2024-07-02T12:06:40
2024-07-02T12:06:40
Yusei Ishimizu, Jialong Li, Jinglue Xu, Jinyu Cai, Hitoshi Iba, Kenji Tei
cs.CL
cs.CL, cs.AI
Rule-based adaptation is a foundational approach to self-adaptation, characterized by its human readability and rapid response. However, building high-performance and robust adaptation rules is often a challenge because it essentially involves searching the optimal design in a complex (variables) space. In response, this paper attempt to employ large language models (LLMs) as a optimizer to construct and optimize adaptation rules, leveraging the common sense and reasoning capabilities inherent in LLMs. Preliminary experiments conducted in SWIM have validated the effectiveness and limitation of our method.
[ -0.31436771154403687, -0.6044095158576965, 0.7163341641426086, 0.4911651015281677, -0.42143499851226807, -0.26657694578170776, -0.3172852098941803, -0.34923088550567627, -0.15830537676811218, 0.6587973237037659, -0.6161633133888245, -0.3240390121936798, -0.42087623476982117, 0.27901825308799744, -0.15452945232391357, 0.5400403141975403, -0.18088874220848083, -0.233799010515213, -0.01725662499666214, 0.026269083842635155, -0.6973745226860046, -0.3357217013835907, -0.656342089176178, -0.3950580060482025, 0.20656703412532806, 0.6053542494773865, 0.5648922920227051, 0.9086827039718628, 0.6213431358337402, 0.2503473162651062, -0.0027972159441560507, 0.3731507658958435, -0.5624562501907349, 0.2777799367904663, -0.4741990864276886, -0.45036303997039795, -0.39537760615348816, -0.4304771423339844, 0.5268957018852234, 0.37065866589546204, -0.20505785942077637, 0.12099068611860275, -0.05490140616893768, 0.7424198985099792, -0.9925618767738342, 0.4261469841003418, -0.6480353474617004, 0.1024966612458229, 0.3173704743385315, -0.49505987763404846, -0.4665888845920563, -0.29538214206695557, 0.19613663852214813, -0.8256117701530457, -0.26066234707832336, 0.2397247552871704, 0.3142146170139313, 0.465490460395813, -0.3381783068180084, -0.6147035956382751, -0.8206080198287964, 0.8112472891807556, -1.0541470050811768, 0.5442124009132385, 0.18061333894729614, 0.13469411432743073, -0.5483479499816895, -0.3075956702232361, -0.5374762415885925, -0.20098234713077545, 0.18974804878234863, 0.018398910760879517, -0.1636245995759964, 0.06670903414487839, 0.14553490281105042, -0.05940151587128639, -0.5818393230438232, 0.3018147647380829, 0.02596851997077465, 0.04524300619959831, 1.0701954364776611, 0.2436036765575409, 0.4317060112953186, -0.08293699473142624, -0.14320285618305206, -0.03863607347011566, -0.5797039866447449, -0.060704685747623444, -0.0837976261973381, 0.5018589496612549, -0.16768132150173187, 0.3830227255821228, -0.2026216983795166, 0.7898885607719421, 0.13027514517307281, -0.5649882555007935, 0.06504778563976288, -0.09348024427890778, -0.1078510582447052, -0.01672893762588501, 0.3575904667377472, 0.5751671195030212, 0.7182087302207947, -0.1577753871679306, -0.49649757146835327, -0.2957887649536133, 0.19068799912929535, -0.8405607342720032, -0.011537388898432255, -0.0928272008895874, -0.4630127251148224, -0.12431532889604568, -0.28220346570014954, -0.7543816566467285, -0.49895066022872925, -0.7686100602149963, 0.8602148294448853, -0.281657874584198, -0.1795279085636139, 0.4851171374320984, -0.05825050547719002, 0.5812963843345642, 0.4976043701171875, -0.95842444896698, 0.6535230875015259, 0.6090109944343567, 0.8837541937828064, -0.2724332809448242, -0.2648770213127136, -0.4979529082775116, 0.4183259606361389, -0.4068351089954376, 0.7341006994247437, -0.3259519338607788, -0.4096202552318573, -0.03973022848367691, -0.00035014579771086574, -0.4735429584980011, -0.3946795165538788, 0.5510854721069336, -0.5692639946937561, -0.12263452261686325, -0.05994774028658867, -0.8159658908843994, -0.2693029046058655, -0.14097656309604645, -0.48771050572395325, 0.5821418166160583, 0.03728533163666725, -0.40315935015678406, 0.30677881836891174, -1.1162232160568237, -0.7666485905647278, 0.012265536934137344, 0.2855529487133026, -0.26228389143943787, 0.2781525254249573, 0.35786259174346924, 0.6454864144325256, -0.39400145411491394, -0.011975463479757309, -0.46452951431274414, -0.4204309284687042, 0.22770945727825165, 0.046709515154361725, 0.6306584477424622, 0.43340006470680237, -0.413999080657959, 0.10525472462177277, -0.5474624037742615, 0.004346188623458147, 0.35696613788604736, -0.6533195972442627, -0.5016137361526489, 0.605033814907074, -0.0635455921292305, -0.08134397119283676, 0.12152017652988434, -0.04251357540488243, 0.3056889474391937, -0.3131442666053772, 0.5010912418365479, 0.9249963164329529, 0.18455809354782104, 0.5132542848587036, -0.3431917130947113, 0.4604851305484772, -0.32952311635017395, 0.19992071390151978, -0.11742209643125534, -0.07286132872104645, -0.7868396639823914, -0.3833842873573303, 0.06357865035533905, 0.697636604309082, -0.35651466250419617, 0.815182089805603, -0.23123317956924438, -0.33913788199424744, -0.1801702231168747, 0.5547707080841064, 0.02772151306271553, 0.2500326633453369, 0.29330170154571533, -0.13019075989723206, -0.521650493144989, -0.5684818625450134, -0.27949556708335876, -0.01620304398238659, 0.13571594655513763, 0.3478910028934479, 0.6674847602844238, -0.41522425413131714, 0.7655123472213745, -0.6880142688751221, 0.08998655527830124, -0.3204261064529419, -0.3198879063129425, 0.42260149121284485, 0.16906693577766418, 0.9593945145606995, -0.6436777710914612, -0.5071632266044617, -0.13472190499305725, -0.7277951240539551, -0.3260442316532135, -0.22705987095832825, -0.17471365630626678, 0.07765529304742813, 0.8292886018753052, -0.2994832396507263, 0.19742688536643982, 0.7564902901649475, -0.3692760169506073, 0.5889870524406433, -0.5246545076370239, -0.14353036880493164, -0.9627084136009216, 0.043159157037734985, 0.2981342673301697, -0.3541490435600281, -0.5466035604476929, 0.2841606140136719, 0.10806314647197723, 0.0427250936627388, -0.0913771316409111, 0.801803708076477, -0.6785388588905334, -0.10834286361932755, -0.5261963605880737, 0.03784957900643349, -0.11682649701833725, 0.3728479743003845, 0.17280609905719757, 0.7714987993240356, 0.6466032862663269, -1.1529059410095215, 0.48917728662490845, 0.20658846199512482, -0.3603905439376831, 0.5682440996170044, -0.6803618669509888, 0.09491583704948425, -0.2813587486743927, 0.1943909376859665, -0.8832113742828369, -0.5085553526878357, 0.1465156376361847, 0.14176097512245178, 0.32607516646385193, -0.14655669033527374, -0.3225439488887787, -0.5020779967308044, -0.2626379132270813, 0.3163873851299286, 0.5526173710823059, -0.7856212258338928, 0.7750919461250305, 0.4308915138244629, -0.25485843420028687, -0.11355084925889969, -0.28286638855934143, 0.02722753956913948, -0.4735705256462097, -0.6228891611099243, 0.05138859525322914, -0.5318860411643982, -0.32893651723861694, -0.41900986433029175, 0.08170224726200104, 0.028102045878767967, 0.37231191992759705, 0.15225692093372345, 0.04634084179997444, -0.44932588934898376, -0.01895797625184059, -0.02396675944328308, 0.22335293889045715, 0.07296122610569, -0.2803565263748169, 0.4948846995830536, -0.21227943897247314, -0.31834131479263306, -0.44050824642181396, 0.3054632246494293, 0.9283252954483032, -0.1841013878583908, 0.6774556636810303, 0.05065218731760979, -0.1795169860124588, -0.60126131772995, -0.5022108554840088, -0.08993107080459595, -0.5326669216156006, 0.6528111696243286, -0.5477846264839172, -0.5396401882171631, 0.4965072274208069, -0.34974193572998047, -0.09441312402486801, 0.3439134657382965, 0.6732610464096069, 0.0029338118620216846, 0.9425447583198547, 0.703159749507904, -0.23978839814662933, 0.5892475247383118, 0.14236746728420258, 0.13737058639526367, -0.8057887554168701, 0.021742504090070724, -0.63343745470047, -0.10314960777759552, -0.5251601338386536, -0.5416870713233948, 0.2705276310443878, 0.04661966487765312, -0.4454622268676758, 0.42280957102775574, -0.39720475673675537, 0.5060189366340637, 0.46420371532440186, 0.3524937927722931, 0.20727217197418213, -0.17239998281002045, -0.10736702382564545, 0.09874758869409561, -0.852311909198761, -0.19437968730926514, 1.146435260772705, 0.5770514011383057, 1.2219398021697998, 0.371233731508255, 0.610856831073761, 0.37560853362083435, 0.11746982485055923, -1.1375640630722046, 0.5152104496955872, -0.16789504885673523, -0.46530717611312866, -0.5370540618896484, -0.4005570709705353, -0.8757193088531494, 0.17677892744541168, -0.41641929745674133, -0.6616281270980835, 0.13118097186088562, 0.08929618448019028, -0.14078359305858612, 0.11890407651662827, -0.8589611649513245, 0.5991562604904175, -0.5398153066635132, -0.06932888925075531, -0.24133536219596863, -0.45156559348106384, 0.20930695533752441, -0.7630764842033386, 0.6290833353996277, -0.045102816075086594, -0.09863986074924469, 0.7527079582214355, -0.2091512531042099, 0.8314860463142395, -0.12282454967498779, -0.10058692842721939, 0.22146832942962646, 0.1736534982919693, 0.6334050893783569, -0.4117635190486908, -0.13176684081554413, -0.3158097267150879, 0.05665360763669014, -0.41982290148735046, -0.41897130012512207, 0.4851400852203369, -1.0960986614227295, -0.5366336107254028, -0.25700223445892334, -0.720313310623169, -0.29732832312583923, 0.40774276852607727, -0.1707489788532257, 0.14145295321941376, -0.2906721532344818, 0.1727525144815445, 0.7422621846199036, -0.26957616209983826, 0.7146584391593933, 0.8277546167373657, -0.25550270080566406, -0.36858415603637695, 0.7025968432426453, -0.09604217857122421, 0.16229096055030823, 0.3629726767539978, 0.6046358346939087, -0.4916832745075226, -0.9393317699432373, -0.21003220975399017, 0.5301132798194885, -0.7228049635887146, -0.13123439252376556, -0.0988178700208664, -0.24229900538921356, -0.4473877251148224, -0.2528685927391052, -0.053665418177843094, -0.06262680888175964, -0.3655318021774292, 0.254694402217865, 0.4328170120716095, 0.7733026742935181, -0.22634950280189514, 0.38083142042160034, -0.6659360527992249, 0.4641866087913513, 0.5721020698547363, 0.4050390422344208, -0.09114208072423935, -0.9631842970848083, -0.24452996253967285, -0.18092481791973114, 0.014608570374548435, -0.8345587253570557, 0.2701628804206848, 0.646061897277832, 0.9973913431167603, 0.434215784072876, 0.10559190064668655, 0.5284337401390076, -0.6132916212081909, 0.1043035015463829, 0.2672111690044403, -1.034830093383789, 0.6182447075843811, -0.5155922770500183, 0.39066755771636963, 0.23105135560035706, 0.41049477458000183, -0.5488447546958923, 0.08413571864366531, -0.12099526822566986, -0.6484586000442505, 0.44505301117897034, -0.041111744940280914, 0.345588743686676, 0.23499496281147003, 0.8552626371383667, -0.11742036789655685, 0.009942896664142609, -0.567118227481842, 0.19891159236431122, 0.03934193402528763, -0.3848995864391327, -0.1445976346731186, -0.38129401206970215, 0.08881078660488129, -0.34713396430015564, 0.7338047623634338, -0.6315723657608032, 0.06595752388238907, 0.08697428554296494, -0.4105576276779175, -0.39898133277893066, 0.045345574617385864, 0.8059210181236267, 0.7432749271392822, -0.1477099061012268, -0.09417439252138138, 0.5156914591789246, -0.5023266077041626, 0.1468462496995926, -0.17915157973766327, -0.20179243385791779, -0.4224013388156891, 0.6011348962783813, 0.7230582237243652, 0.3856305480003357, -0.6150408983230591, 0.4776363968849182, -0.04155963286757469, -0.2774580419063568, -0.14867277443408966, 0.5903234481811523, 0.2604909837245941, 0.570475697517395, 0.3914530873298645, -0.1800774782896042, -0.09131557494401932, -0.6290569305419922, 0.26054176688194275, 0.3932686150074005, 0.25784820318222046, -0.028705015778541565, 0.4228972792625427, 0.36049216985702515, -0.4448379874229431, 0.24791300296783447, 0.23306936025619507, -0.5073137283325195, 0.36360353231430054, 0.8210139274597168, 0.8229237794876099, -0.5135303735733032, -0.1119578406214714, 0.3917844593524933, 0.1523168832063675, -0.3802003264427185, 0.1661786437034607, 0.1974024921655655, -0.9548987150192261, -0.7019156813621521, -0.812751293182373, -0.42493581771850586, -0.10916602611541748, -0.5635449290275574, 0.42830583453178406, -0.7581564784049988, -0.03580356389284134, 0.11855705082416534, 0.019619030877947807, -0.6945648789405823, 0.403323769569397, 0.39531856775283813, 1.26345694065094, -0.9760712385177612, 0.5640759468078613, 0.5117470622062683, -0.08913100510835648, -0.8356472849845886, -0.027669133618474007, -0.11656057834625244, -1.2136626243591309, 0.4433723986148834, -0.23519808053970337, -0.32057687640190125, -0.09930375218391418, -0.7893936038017273, -1.0351158380508423, 1.025672197341919, 0.5255565643310547, -0.7593451738357544, -0.13085831701755524, -0.10845664143562317, 0.5330649018287659, -0.7304434180259705, -0.08746036887168884, 0.6635290384292603, 0.6257863640785217, 0.27550649642944336, -1.1545891761779785, 0.16412387788295746, -0.021773988381028175, 0.10326240956783295, 0.043436434119939804, -0.6859076619148254, 0.4485557973384857, -0.4100306034088135, 0.3890770673751831, 0.02361905947327614, 0.5378758907318115, 0.2762347161769867, 0.0827384740114212, 0.7392492294311523, 0.21934159100055695, 0.8419318199157715, 0.3809238076210022, 0.8484671115875244, -0.3219749331474304, 0.44190970063209534, 1.109089732170105, -0.33645522594451904, 0.9556194543838501, 0.42820215225219727, -0.0797312781214714, 0.6136678457260132, 0.5533025860786438, -0.1305212676525116, 0.6476471424102783, 0.3935825526714325, -0.21977952122688293, -0.48259130120277405, 0.20616698265075684, -0.049250222742557526, 0.702055037021637, 0.4509478509426117, -0.4200144112110138, -0.10345808416604996, -0.31199556589126587, 0.1221046894788742, 0.040284663438797, -0.6153162717819214, 0.9931499361991882, 0.08878675848245621, -0.5962813496589661, 0.6382554173469543, 0.19671499729156494, 0.4020044505596161, -0.3741099536418915, 0.13350898027420044, -0.03268783167004585, 0.34377527236938477, -0.1720128059387207, -0.6751570105552673, 0.01008816622197628, -0.10089263319969177, -0.18931318819522858, 0.18439221382141113, 0.9127587080001831, -0.13004209101200104, -0.5199517011642456, 0.4594042897224426, 0.5134921669960022, 0.042187489569187164, 0.0034667146392166615, -0.8519657850265503, 0.12050856649875641, -0.041446253657341, -0.2966375946998596, 0.24859483540058136, 0.488784521818161, -0.040882132947444916, 1.081049919128418, 0.6213585734367371, 0.15669268369674683, 0.050772685557603836, -0.07580848038196564, 0.764090895652771, -0.8062529563903809, -0.6108572483062744, -0.956671953201294, 0.2685874104499817, 0.14836153388023376, 0.038889843970537186, 0.5594048500061035, 0.46020984649658203, 0.38635143637657166, -0.2240670770406723, 1.0115433931350708, 0.3716345727443695, 0.3252326250076294, -0.7957720756530762, 0.5388361811637878, -0.6475687623023987, 0.02742970548570156, -0.4916275143623352, -1.1945370435714722, -0.543423593044281, 0.96286940574646, -0.514717161655426, 0.08259391784667969, 0.5401304960250854, 0.7546250224113464, -0.2669273912906647, -0.08017561584711075, 0.42880335450172424, 0.21252033114433289, 0.25632739067077637, 0.7548509240150452, 0.5705108642578125, -0.1204470694065094, 0.2820958197116852, 0.15636226534843445, -0.435993492603302, -0.659351110458374, -1.2516692876815796, -1.0009641647338867, -0.39370378851890564, -0.3924247622489929, -0.2358807474374771, 0.22311162948608398, 1.184536099433899, 1.0355011224746704, -0.8565107583999634, -0.5465899705886841, -0.12503494322299957, 0.04713328182697296, 0.11213480681180954, -0.17542827129364014, 0.29702770709991455, -0.4256100654602051, -0.408840149641037, 0.5072770714759827, 0.17132622003555298, 0.30247172713279724, -0.18294425308704376, -0.6220952868461609, -0.18745100498199463, 0.558731734752655, 0.6782634258270264, 0.38988983631134033, -0.3047086000442505, -0.5559638142585754, -0.035386353731155396, -0.01277515385299921, -0.09640327841043472, 0.695248007774353, -0.2613636255264282, 0.3922896683216095, 0.3320773243904114, 0.6279070973396301, 0.6404213905334473, -0.09252766519784927, 0.765309751033783, -0.1996445655822754, -0.07662306725978851, -0.014562506228685379, 0.3893527090549469, 0.20808233320713043, -0.10718097537755966, 0.5602341890335083, 0.13047772645950317, -0.6185223460197449, -0.6881876587867737, 0.13266621530056, -0.9715418815612793, -0.479824423789978, 1.5201259851455688, -0.022753775119781494, -0.487623929977417, -0.05496549233794212, -0.3580714464187622, 0.043558090925216675, -0.23839706182479858, 0.823788583278656, 0.6052715182304382, -0.4086301326751709, -0.25813648104667664, -0.42259055376052856, 0.4053865075111389, 0.023045614361763, -0.946559488773346, 0.09850405156612396, 0.38034722208976746, 0.8973082304000854, -0.11240717768669128, 0.38188642263412476, 0.3978462815284729, 0.2531050145626068, -0.2560860514640808, -0.08032416552305222, 0.2593275010585785, -0.29295313358306885, -0.4140334129333496, -0.008755726739764214, 0.6690673232078552, 0.22617290914058685 ]
http://arxiv.org/abs/2407.02147v1
http://arxiv.org/pdf/2407.02147v1
LlamAr & GemmAr: Enhancing LLMs Through Arabic Instruction-Tuning
2024-07-02T10:43:49
2024-07-02T10:43:49
Hasna Chouikhi, Manel Aloui, Cyrine Ben Hammou, Ghaith Chaabane, Haithem Kchaou, Chehir Dhaouadi
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have greatly impacted the natural language processing (NLP) field, particularly for the English language. These models have demonstrated capabilities in understanding and generating human-like text. The success of language models largely depends on the availability of high-quality instruction datasets, which consist of detailed task descriptions and corresponding responses that are essential for training the models to accurately address a variety of prompts. However, the availability and quality of these resources vary by language. While models perform well in English, they often struggle with languages like Arabic, due to the lack of datasets for fine-tuning Arabic-specific tasks. To address this issue, we introduce InstAr-500k, a new Arabic instruction dataset created by generating and collecting content that covers several domains and instruction types. We then assess this dataset by fine-tuning two open-source models, Llama-3-8B-Instruct and Gemma-7B-IT, on several downstream tasks to scale improvements in their functionality. Based on multiple evaluations, our fine-tuned models achieve state-of-the-art performance on several Arabic NLP benchmarks. These outcomes emphasize the effectiveness of our dataset in elevating the capabilities of language models for Arabic. Our instruction dataset bridges the performance gap between English and Arabic language models by providing resources that amplify Arabic NLP development. Building on this foundation, we developed two state-of-the-art models, LlamAr-8B and GemmAr-7B, which are specifically tuned to excel at a wide range of Arabic NLP tasks.
[ -0.2757285535335541, -0.5519686341285706, 0.22883610427379608, 0.25824999809265137, -0.23433111608028412, 0.4418310225009918, -0.3109802007675171, -0.49749937653541565, -0.1669853925704956, 0.5641785860061646, -0.3565536141395569, -0.8494842052459717, -0.8574241399765015, 0.22151193022727966, -0.514021098613739, 1.1240911483764648, -0.16391871869564056, 0.20536644756793976, -0.0420224666595459, -0.1218094676733017, -0.6459197402000427, -0.3579337000846863, -0.7309147119522095, -0.3188929855823517, 0.33472388982772827, 0.8270940184593201, 1.030237078666687, 0.9960479140281677, 0.5968788266181946, 0.19022786617279053, -0.11100728064775467, 0.5778036713600159, -0.42760181427001953, 0.1689419150352478, -0.06785234063863754, -0.29963764548301697, -0.4468359053134918, -0.4844261705875397, 0.7041959762573242, 0.6191412210464478, -0.31011295318603516, 0.39990365505218506, 0.27808329463005066, 0.8088135719299316, -0.7385513186454773, 0.13774026930332184, -0.4740784466266632, -0.18159912526607513, -0.29770228266716003, -0.22431297600269318, -0.3703502118587494, -0.39664679765701294, -0.19368678331375122, -0.1766989827156067, 0.17642030119895935, 0.020433524623513222, 0.7459738254547119, 0.47599881887435913, -0.3591308295726776, -0.6287391781806946, -0.695888340473175, 0.752260684967041, -0.8165873289108276, 0.3549860715866089, 0.5361166596412659, 0.16301240026950836, -0.47559863328933716, -0.5539497137069702, -0.2815939784049988, -0.3794320225715637, 0.07615693658590317, -0.15456978976726532, -0.3203636705875397, 0.09632176905870438, -0.014580008573830128, 0.48755964636802673, -0.38000932335853577, 0.4665640592575073, -0.12558622658252716, 0.056824710220098495, 0.5372516512870789, 0.39730313420295715, 0.2803373336791992, 0.27836737036705017, -0.044813934713602066, -0.062700055539608, -1.135356068611145, 0.05123615637421608, 0.39188137650489807, 0.24786370992660522, -0.21063166856765747, 0.6212691068649292, -0.2521766722202301, 0.8072339296340942, 0.0950591042637825, -0.3314128816127777, -0.2601083219051361, -0.17389197647571564, -0.12370733916759491, 0.3700709640979767, 0.38923415541648865, 0.10855665057897568, 0.18792468309402466, -0.2596331834793091, -0.44863173365592957, 0.029200466349720955, 0.20258653163909912, -1.1261391639709473, -0.20510441064834595, 0.12524032592773438, -0.18104664981365204, -0.06422130763530731, -0.10564347356557846, -0.33708006143569946, -0.3598019480705261, -0.42886239290237427, 0.32513174414634705, -0.35289105772972107, 0.10953971743583679, 0.49809229373931885, 0.4654618501663208, 0.3154257535934448, 0.19028371572494507, -1.293070673942566, 0.5004262924194336, 0.7798859477043152, 0.731007993221283, -0.1683671772480011, -0.061772000044584274, -0.4682057201862335, 0.3250783681869507, -0.5446995496749878, 0.784739077091217, -0.9862542748451233, -0.39895281195640564, 0.3221881091594696, -0.15716567635536194, 0.07083140313625336, -0.8559997081756592, 0.6235848069190979, -0.7056281566619873, -0.09676598012447357, -0.05862358585000038, -0.7393972873687744, -0.3807179033756256, 0.04315377399325371, -0.6115058660507202, 1.3013938665390015, 0.12210770696401596, -0.4753739535808563, 0.09762663394212723, -0.8000392913818359, -0.44961512088775635, 0.019434278830885887, 0.04120677709579468, -0.34436899423599243, 0.21134892106056213, 0.6552477478981018, 0.5621078610420227, -0.6104369163513184, 0.020371144637465477, 0.2692132890224457, -0.6858632564544678, 0.11720745265483856, -0.4435773193836212, 0.5224526524543762, 0.07507884502410889, -0.36705130338668823, 0.1230306550860405, -0.7781028747558594, 0.021226275712251663, -0.1873619705438614, -0.5399311184883118, 0.03020021878182888, 0.060451459139585495, -0.02944115549325943, -0.05699995160102844, 0.4455517828464508, -0.36395445466041565, 0.21344788372516632, -0.5740684270858765, 0.08083943277597427, 0.5926728844642639, -0.00016202816914301366, 0.3443600535392761, -0.42216283082962036, 0.8779423832893372, -0.09237036108970642, 0.011556490324437618, -0.3017102777957916, -0.38427236676216125, -1.147471308708191, -0.41536393761634827, 0.2811926603317261, 0.4623435139656067, -0.4976194500923157, 0.23949702084064484, -0.18373584747314453, -0.5238164067268372, -1.0078845024108887, 0.48633936047554016, 0.4687804877758026, 0.39368027448654175, 0.47964999079704285, -0.23478399217128754, -0.49743983149528503, -0.8244385719299316, -0.1960112303495407, 0.2177964597940445, 0.03502563759684563, 0.10980495065450668, 0.33620089292526245, -0.2458408772945404, 0.5387468934059143, -0.25087258219718933, -0.21568748354911804, -0.4483693838119507, -0.1124923825263977, 0.5632378458976746, 0.24026158452033997, 0.36762335896492004, -0.33203092217445374, -0.8085672855377197, 0.17440484464168549, -0.5226797461509705, -0.17274640500545502, 0.1428840458393097, -0.1289951056241989, 0.33961793780326843, 0.3643282353878021, -0.39392152428627014, 0.5191398859024048, 0.6649152040481567, -0.2835167944431305, 0.44569969177246094, -0.19489145278930664, 0.1699472814798355, -1.1670103073120117, -0.4351613521575928, -0.24648942053318024, -0.09916960448026657, -0.49443337321281433, 0.22914119064807892, 0.0336141474545002, 0.12390395998954773, -0.44570860266685486, 0.48620671033859253, -0.5017191171646118, 0.05163875222206116, -0.6049253344535828, -0.25539717078208923, -0.1299184262752533, 0.2535698413848877, -0.1744042932987213, 1.3768543004989624, 0.4631827473640442, -0.664850115776062, 0.1269768625497818, 0.35822758078575134, -0.783997118473053, 0.1688595414161682, -0.7850729823112488, 0.4083672761917114, -0.010588856413960457, -0.033521734178066254, -0.7676523923873901, -0.3797142207622528, 0.2512061893939972, -0.05927315354347229, 0.42290377616882324, -0.1599377989768982, -0.7315853834152222, 0.20712068676948547, -0.04155368357896805, 0.36038738489151, 0.42141395807266235, -0.7963915467262268, 0.5605496764183044, 0.23410245776176453, -0.2532370388507843, -0.9028511643409729, -0.22221074998378754, 0.2373700737953186, -0.13147974014282227, -0.41959747672080994, 0.48389682173728943, 0.13542313873767853, -0.2023015171289444, -0.015816887840628624, -0.11914441734552383, -0.13115419447422028, -0.013043837621808052, 0.4771077632904053, 0.24142597615718842, -0.4186663329601288, 0.23701614141464233, 0.3727070689201355, -0.15605045855045319, 0.051098018884658813, -0.176955446600914, 0.5577335357666016, -0.08495838940143585, -0.5088037252426147, -0.5811962485313416, 0.2965502142906189, 0.2696298062801361, -0.5508766770362854, 1.1232460737228394, 0.5970418453216553, -0.1764795184135437, -0.35152652859687805, -0.4670884311199188, -0.11069078743457794, -0.5236607193946838, 0.6453794836997986, -0.24066707491874695, -0.9690336585044861, 0.0965949073433876, -0.1475706547498703, 0.4199938178062439, 0.1181541383266449, 0.8343506455421448, -0.12995964288711548, 1.1788371801376343, 0.8596870303153992, -0.3956359624862671, 0.33635714650154114, -0.16341012716293335, 0.2072887271642685, -0.7420694828033447, -0.17783883213996887, -0.580446183681488, -0.3845372200012207, -0.4804404675960541, -0.4117611050605774, 0.4365607500076294, 0.023383349180221558, -0.4442037343978882, 0.09782315045595169, -0.3556394577026367, 0.8726130723953247, 0.494524210691452, 0.08417116850614548, 0.379424124956131, 0.31366440653800964, -0.01360299438238144, -0.101385697722435, -0.8710705637931824, -1.105469822883606, 1.3544305562973022, 0.19599910080432892, 0.8249796628952026, 0.40410611033439636, 0.6122717261314392, 0.39491006731987, 0.5261690616607666, -0.6423131823539734, 0.4046006500720978, -0.2836841344833374, -0.30347445607185364, -0.02436043694615364, 0.03519933670759201, -1.0013371706008911, -0.011079765856266022, -0.11969047039747238, -0.5177184343338013, -0.3011654019355774, 0.27293696999549866, -0.33283621072769165, 0.2712486684322357, -0.5620796084403992, 0.5257028341293335, -0.1407328099012375, -0.4416388273239136, -0.513267993927002, -0.23420830070972443, 0.16137252748012543, 0.06092126667499542, -0.005567438900470734, -0.2273164689540863, -0.24408257007598877, 0.6108032464981079, -0.2724587917327881, 0.7979038953781128, 0.13187961280345917, -0.3455282747745514, 0.32608747482299805, 0.17355483770370483, 0.5854604244232178, 0.01112778577953577, -0.24250930547714233, 0.2062804102897644, -0.1694132685661316, -0.540151834487915, -0.5979910492897034, 0.6811990141868591, -0.9844428300857544, -0.7689937353134155, -0.1965649127960205, -0.8077731132507324, -0.235152930021286, -0.26150983572006226, -0.03290318697690964, 0.44798994064331055, -0.09287290275096893, 0.20816661417484283, 0.6353629231452942, -0.18735530972480774, 0.42947039008140564, 0.6712053418159485, -0.17169250547885895, -0.2801183760166168, 0.7507286071777344, -0.08203508704900742, 0.15438030660152435, 0.583248496055603, -0.14247165620326996, -0.2751355469226837, -0.8096543550491333, -0.5902721881866455, 0.2295241802930832, -0.7349581122398376, -0.4703332185745239, -0.15587742626667023, -0.3168623447418213, 0.05874354764819145, -0.1248185932636261, -0.3085072338581085, -0.2978658378124237, -0.5360903739929199, -0.07922813296318054, 0.5337135195732117, 1.087494969367981, 0.2397482544183731, 0.6583647727966309, -0.8584650158882141, 0.20679467916488647, 0.03861188143491745, 0.179353266954422, 0.09009620547294617, -1.149109959602356, -0.7866777777671814, 0.11863141506910324, -0.46301764249801636, -0.692175030708313, 0.44354817271232605, 0.49053770303726196, 0.09087370336055756, 0.4245971441268921, -0.18167291581630707, 0.7688679695129395, -0.7999763488769531, 0.4267246425151825, -0.34584012627601624, -0.7931855320930481, 0.38291803002357483, -0.1648000180721283, 0.4433198571205139, 0.36723220348358154, 0.5760987401008606, -0.36251938343048096, -0.3623616397380829, -0.07480297982692719, -0.7772654891014099, 0.6082553267478943, 0.12501724064350128, 0.4078299403190613, -0.002570874523371458, 0.5430972576141357, 0.33640652894973755, 0.12368156760931015, -0.2456870824098587, -0.2573586404323578, 0.035303182899951935, -0.6136211156845093, -0.10212758183479309, -0.5217244029045105, 0.0009777945233508945, -0.28594735264778137, 0.8761911392211914, -0.01006739865988493, 0.02940763719379902, -0.3803454637527466, -0.2582319974899292, -0.12685814499855042, 0.31886565685272217, 0.46294382214546204, 0.8527271747589111, -0.15505735576152802, -0.0006242500967346132, 0.2967250943183899, -0.7772442698478699, 0.4204578697681427, 0.07129044830799103, -0.12806753814220428, -0.05858956649899483, 0.6197982430458069, 0.692632794380188, 0.4567034840583801, -0.8192352056503296, 0.05707893893122673, 0.06772550940513611, 0.19963911175727844, -0.38829147815704346, 0.5343636274337769, 0.2571784555912018, 0.33036336302757263, 0.3137577772140503, -0.12253919243812561, -0.10323769599199295, -0.14169880747795105, 0.04008811339735985, 0.36355888843536377, -0.25098106265068054, -0.336333692073822, 0.5838165283203125, 0.009611574932932854, -0.5331099033355713, 0.7699743509292603, -0.0030817254446446896, -0.15410810708999634, 0.6248218417167664, 0.8905242681503296, 0.6213288307189941, -0.3318810760974884, 0.1835775226354599, 0.3166010081768036, 0.35782942175865173, 0.10683942586183548, 0.3708909749984741, 0.024637961760163307, -0.8255493640899658, -0.6160691380500793, -0.7623206377029419, -0.6225112080574036, 0.18386077880859375, -0.7572354674339294, 0.12956075370311737, -0.5076479911804199, -0.058154039084911346, -0.23988182842731476, 0.15409401059150696, -0.8273480534553528, 0.13009607791900635, -0.08905297517776489, 0.854911744594574, -0.6263615489006042, 0.9568216800689697, 0.7671944499015808, -0.15058788657188416, -0.7724006175994873, -0.18619665503501892, -0.22138762474060059, -1.0104385614395142, 0.6474322080612183, 0.20036038756370544, -0.45726048946380615, 0.2795429229736328, -0.5768177509307861, -1.015132188796997, 0.9922455549240112, 0.72037273645401, -0.7830955982208252, 0.2236199826002121, 0.5327916145324707, 0.4344858229160309, -0.5184850692749023, 0.25390440225601196, 0.7784243822097778, 0.1959216445684433, -0.13736219704151154, -0.5902625918388367, -0.16431541740894318, -0.04762217774987221, -0.07867796719074249, 0.3301766514778137, -0.5390253067016602, 0.5859645009040833, -0.3456626534461975, -0.1765344738960266, 0.2705132067203522, 0.9629412293434143, 0.27478787302970886, -0.03876522555947304, 0.055387046188116074, 0.5884407162666321, 0.6816115379333496, 0.042607296258211136, 1.035509705543518, -0.6496938467025757, -0.17800217866897583, 1.2266091108322144, -0.20627078413963318, 1.1395914554595947, 0.43156105279922485, -0.26977184414863586, 0.6943254470825195, 0.6233372092247009, 0.1834275722503662, 0.34506678581237793, 0.044754840433597565, -0.7956996560096741, -0.22346432507038116, -0.47545966506004333, -0.23782646656036377, 0.753598153591156, 0.5149267911911011, -0.33189624547958374, -0.19586081802845, -0.2922452688217163, 0.2763184607028961, 0.3112722337245941, -0.3786739706993103, 0.6361851692199707, 0.009799818508327007, -0.429643452167511, 0.8314509987831116, 0.37544938921928406, 0.39479848742485046, -0.6506335735321045, -0.4062395393848419, -0.48677751421928406, 0.16110053658485413, -0.23823203146457672, -0.4366712272167206, 0.06782979518175125, 0.4837351143360138, -0.16072088479995728, -0.042116452008485794, 0.32272636890411377, -0.47273775935173035, -0.8108665943145752, 0.031396735459566116, 0.33758413791656494, 0.18966154754161835, 0.2115917056798935, -0.41748347878456116, 0.17945413291454315, 0.0694342851638794, -0.030057480558753014, 0.40788596868515015, 0.27066493034362793, 0.0027170588728040457, 0.8434144854545593, 0.5628346800804138, 0.2473476231098175, 0.09960392862558365, 0.1857665628194809, 0.757938802242279, -0.5216516256332397, -0.017653247341513634, -1.0296775102615356, 0.3352619707584381, 0.3167170584201813, -0.4987192451953888, 0.8762881755828857, 0.6176614761352539, 0.8779240250587463, -0.08622753620147705, 0.43685382604599, 0.44172239303588867, 0.4782017469406128, -0.7517564296722412, 0.628907322883606, -0.30475541949272156, 0.5131312608718872, 0.18015983700752258, -1.0286070108413696, -0.22430521249771118, 0.5236880779266357, -0.1380578577518463, 0.03899246081709862, 0.49974575638771057, 1.2813819646835327, -0.06243669241666794, -0.02048097737133503, 0.22934943437576294, 0.11078425496816635, 0.18341676890850067, 0.6147307753562927, 0.9686481356620789, -0.3094211220741272, 0.37988904118537903, -0.23914866149425507, -0.03923492506146431, -0.10184741020202637, -0.7807122468948364, -1.0632193088531494, -0.31054073572158813, -0.1831430196762085, 0.0277402363717556, 0.3625628352165222, 1.2422213554382324, 0.4483596682548523, -0.9941902160644531, -0.654575765132904, 0.03493166342377663, 0.0805363655090332, -0.20405101776123047, -0.10400412976741791, 0.688381552696228, -0.5663414597511292, -0.7924160957336426, 0.6644445061683655, 0.36324772238731384, -0.05271858721971512, -0.10521332174539566, -0.18956270813941956, -0.025043781846761703, 0.18994136154651642, 0.5429918766021729, 0.12626607716083527, -0.7047955989837646, -0.11634141951799393, -0.06902140378952026, -0.0021693690214306116, 0.21208329498767853, 0.4734991788864136, -0.7141811847686768, 0.25010448694229126, -0.2731113135814667, 1.0904110670089722, 0.33269572257995605, -0.121238112449646, 0.5473756790161133, -0.7934050559997559, 0.238870307803154, 0.2002941220998764, 0.18325816094875336, 0.5524410605430603, -0.2703028619289398, 0.5429068803787231, -0.6253476738929749, -0.6419031620025635, -0.5958952307701111, 0.17076735198497772, -0.3702123463153839, 0.13769018650054932, 0.9671717286109924, -0.08657588064670563, 0.07733958214521408, -0.1076684296131134, -0.35921451449394226, 0.24407581984996796, -0.3977912366390228, 1.182064175605774, 0.7890374660491943, -0.16508103907108307, -0.12659558653831482, -0.7615159153938293, 0.5587449669837952, 0.692873477935791, -0.8168812394142151, -0.2618786692619324, 0.30424433946609497, -0.00636304309591651, -0.528526246547699, 0.12836436927318573, 0.19318868219852448, 0.37322232127189636, -0.2082429826259613, 0.05383233353495598, -0.2516951858997345, -0.4467223584651947, -0.32152098417282104, 0.041852567344903946, 0.5757140517234802, -0.2511879801750183 ]
http://arxiv.org/abs/2407.02138v1
http://arxiv.org/pdf/2407.02138v1
Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Tasks
2024-07-02T10:33:31
2024-07-02T10:33:31
Wataru Hashimoto, Hidetaka Kamigaito, Taro Watanabe
cs.CL
cs.CL, cs.AI, cs.LG
Trustworthy prediction in Deep Neural Networks (DNNs), including Pre-trained Language Models (PLMs) is important for safety-critical applications in the real world. However, DNNs often suffer from uncertainty estimation, such as miscalibration. In particular, approaches that require multiple stochastic inference can mitigate this problem, but the expensive cost of inference makes them impractical. In this study, we propose $k$-Nearest Neighbor Uncertainty Estimation ($k$NN-UE), which is an uncertainty estimation method that uses the distances from the neighbors and label-existence ratio of neighbors. Experiments on sentiment analysis, natural language inference, and named entity recognition show that our proposed method outperforms the baselines or recent density-based methods in confidence calibration, selective prediction, and out-of-distribution detection. Moreover, our analyses indicate that introducing dimension reduction or approximate nearest neighbor search inspired by recent $k$NN-LM studies reduces the inference overhead without significantly degrading estimation performance when combined them appropriately.
[ -0.42590245604515076, -0.6021703481674194, 0.8458247184753418, -0.06507933884859085, -0.168038472533226, -0.007607470732182264, -0.3617585599422455, -0.5097398161888123, 0.11192977428436279, 0.3284018337726593, -0.43287748098373413, -0.5168431401252747, -0.7227166295051575, 0.06738647818565369, 0.26012173295021057, 0.3088414967060089, 0.2686108350753784, 0.01756717823445797, -0.16154752671718597, -0.000665455125272274, -0.05050424858927727, -0.3449113667011261, -0.6547682285308838, -0.1343867927789688, 0.47144463658332825, 0.3281761705875397, 1.026631236076355, 0.3775250017642975, 0.4834444224834442, 0.3125571608543396, -0.355058491230011, 0.31417620182037354, 0.05733564868569374, 0.08107766509056091, 0.15262216329574585, -0.4951222836971283, -0.27347302436828613, 0.0019885858055204153, 0.7681384086608887, 0.8163639307022095, -0.001692676916718483, -0.07589376717805862, -0.19315828382968903, 0.9741237163543701, -0.8646580576896667, -0.0832102969288826, -0.37864965200424194, 0.3866860866546631, -0.05407710000872612, 0.36996757984161377, -0.24330393970012665, -0.7421360015869141, 0.521065890789032, -0.476749449968338, -0.09044263511896133, 0.01268049981445074, 0.8447739481925964, 0.577843964099884, 0.02979366108775139, -0.17268961668014526, -0.6113491058349609, 1.0998749732971191, -1.0897589921951294, 0.7667563557624817, 0.9813389778137207, 0.30364564061164856, -0.5385825037956238, -0.6725932359695435, -0.6487074494361877, -0.421835333108902, -0.0437685027718544, 0.10706181079149246, -0.004372425377368927, 0.41273659467697144, 0.011025425046682358, 0.43513283133506775, -0.2686169743537903, 0.30426540970802307, 0.11461694538593292, -0.4565940499305725, 0.3581261932849884, -0.2582698166370392, -0.1291765570640564, -0.3924449682235718, -0.346737265586853, -0.10233653336763382, -0.2398374378681183, 0.07244104146957397, 0.6383640766143799, 0.2504623532295227, 0.022742589935660362, 0.18022242188453674, -0.34302088618278503, 0.6924891471862793, -0.09986750781536102, -0.401183158159256, 0.1488834023475647, -0.3615097105503082, -0.4355570077896118, -0.010519076138734818, 1.1306344270706177, 0.3512079417705536, 0.26664313673973083, -0.258206844329834, 0.03670062497258186, -0.19436025619506836, 0.09543631970882416, -0.7038655281066895, -0.5204671621322632, 0.1904963254928589, -0.45905572175979614, -0.5309279561042786, 0.005031332839280367, -1.2246391773223877, -0.35376253724098206, -0.16116639971733093, 0.18007905781269073, -0.47999274730682373, -0.35473915934562683, -0.14511311054229736, 0.18346279859542847, -0.33430591225624084, -0.020269567146897316, -0.35046571493148804, 0.1298767626285553, 0.2724428176879883, 0.8960813283920288, 0.05780763179063797, -0.10364606976509094, -0.45769187808036804, -0.243756964802742, -0.42421841621398926, 0.39363566040992737, -0.6540394425392151, -0.1259368360042572, -0.3092622756958008, -0.4474705159664154, -0.05682193860411644, -0.491473525762558, 0.6318012475967407, -0.6729499697685242, -0.027873070910573006, -0.05548502877354622, -0.689696192741394, -0.18849043548107147, 0.1884079873561859, -0.8584778308868408, 1.4137722253799438, -0.021998979151248932, -1.025897741317749, 0.35960930585861206, -0.3830172121524811, -0.1082364022731781, -0.40001189708709717, 0.07022013515233994, -0.6706794500350952, 0.43725064396858215, 0.5357139110565186, 0.4475375711917877, -0.11024969816207886, 0.2357194423675537, -0.5711634755134583, -0.15914426743984222, 0.23952196538448334, -0.727070152759552, 0.5556173324584961, 0.37009647488594055, 0.017166754230856895, -0.0804300457239151, -0.7984984517097473, 0.23287305235862732, -0.2203005850315094, -0.16152095794677734, -0.49016058444976807, -0.09281356632709503, -0.5542373061180115, 0.11075510084629059, 0.26334768533706665, -0.5858736038208008, -0.19967147707939148, -0.8350341320037842, 0.2346583753824234, 0.5908132195472717, 0.11843577027320862, 0.874747097492218, 0.017422229051589966, 0.36982184648513794, 0.09624196588993073, 0.1958325058221817, 0.4108890891075134, -0.6064133048057556, -0.3473643660545349, -0.26932424306869507, 0.7542701959609985, 0.3581269681453705, -0.85378098487854, 0.4899691343307495, -0.29767438769340515, -0.5421845316886902, -0.6429933905601501, 0.10024170577526093, 0.4000425338745117, 0.6090932488441467, 0.2948504090309143, 0.08070579916238785, -0.5497172474861145, -0.7321149706840515, -0.2526348829269409, -0.2478662133216858, -0.2243483066558838, 0.09179674834012985, 0.2512623965740204, -0.09873639792203903, 1.1794331073760986, -0.35081687569618225, -0.14221954345703125, 0.0775197297334671, 0.30692610144615173, 0.060272686183452606, 0.3193521201610565, 0.2910943627357483, -0.7095985412597656, -0.6891435980796814, -0.1820240467786789, -0.37568098306655884, 0.03339841216802597, 0.023007579147815704, -0.07665399461984634, 0.27676036953926086, 0.34365689754486084, -0.49455171823501587, 0.601698100566864, 0.792253315448761, 0.2939339876174927, 0.475529283285141, -0.35415247082710266, -0.04721824824810028, -1.131340503692627, -0.37712836265563965, 0.31383323669433594, -0.2822364270687103, -0.6920382380485535, -0.15029653906822205, -0.012054278515279293, 0.3758012056350708, -0.1545490175485611, 0.2839706242084503, -0.4962218403816223, -0.1978238970041275, -0.19273830950260162, 0.35189247131347656, 0.11846526712179184, 0.23853699862957, 0.3908272683620453, 0.8073621988296509, 0.6668620705604553, -0.5940808653831482, 0.15406082570552826, -0.17583240568637848, -0.5219040513038635, 0.61595618724823, -0.16509902477264404, 0.31422001123428345, -0.05379727482795715, 0.11210054904222488, -0.6368449330329895, 0.03532810136675835, 0.26425886154174805, -0.5835184454917908, 0.4238097369670868, -0.27519211173057556, -0.5874843001365662, -0.4762318730354309, -0.3003685772418976, 0.22558024525642395, 0.2054232954978943, -0.5833212733268738, 0.4789029061794281, 0.3504669964313507, -0.02706628292798996, -0.6144917011260986, -0.9048079252243042, 0.1856030374765396, -0.23268568515777588, -0.4973819851875305, 0.2169562727212906, 0.05489005893468857, -0.27422019839286804, -0.05200553312897682, -0.4936738908290863, -0.642149806022644, 0.054611239582300186, 0.17738042771816254, -0.06777719408273697, -0.20330481231212616, 0.22694948315620422, 0.0234695952385664, -0.32972437143325806, -0.03548375144600868, -0.33333125710487366, 0.11925096809864044, -0.18754667043685913, -0.24165013432502747, -0.6344097852706909, 0.08702699095010757, 0.3649566173553467, -0.010475464165210724, 0.8630689978599548, 0.7879402041435242, -0.6255617737770081, -0.20861339569091797, -0.7160537242889404, -0.26345568895339966, -0.4941955506801605, 0.3546428680419922, -0.3846351206302643, -0.7962501645088196, 0.40981441736221313, -0.1455623209476471, -0.44999995827674866, 0.016744339838624, -0.010821256786584854, -0.3626023530960083, 0.5837032198905945, 0.2735864520072937, -0.3825070559978485, 0.2339596450328827, 0.11938197165727615, 0.6790673136711121, -0.6993157267570496, 0.05228809639811516, -0.561077356338501, -0.2583008110523224, -0.5831632018089294, -0.7876238226890564, 0.21837088465690613, 0.303928017616272, -0.02415492758154869, 0.22971034049987793, -0.4358678460121155, 0.5247178077697754, 0.9804966449737549, 0.2129821628332138, 0.3433104157447815, 0.21689175069332123, -0.3039708733558655, -0.5397443771362305, -0.643865168094635, -0.46359026432037354, 0.8645631074905396, 0.5408492684364319, 0.42024752497673035, 0.03356622904539108, 0.7891902923583984, -0.039569880813360214, 0.15608620643615723, -0.6424292922019958, 0.3379339575767517, -0.07637502253055573, -0.3014427721500397, -0.5469779968261719, -0.9596789479255676, -0.5516731142997742, 0.06869848072528839, 0.045126695185899734, -0.9864122271537781, 0.1597953736782074, -0.0011240210151299834, -0.6742213368415833, 0.790258526802063, -0.623090386390686, 0.557093620300293, 0.009147990494966507, 0.013632523827254772, 0.08903516829013824, -0.8025117516517639, 0.11920667439699173, -0.07417359948158264, 0.26948282122612, -0.23874959349632263, 0.07377588748931885, 0.513504147529602, -0.5398993492126465, 0.7130530476570129, -0.34218573570251465, 0.047055136412382126, 0.5115551352500916, 0.2557355463504791, 0.7915685176849365, 0.2852233052253723, -0.5543285608291626, 0.4168357253074646, -0.10743626952171326, -0.10688483715057373, -0.5354906320571899, 0.7657567262649536, -0.4681559205055237, -0.047197792679071426, -0.34632864594459534, -0.7192356586456299, -0.503633439540863, 0.16944538056850433, 0.47644612193107605, 0.09094306081533432, 0.13194791972637177, 0.05969482660293579, 0.5431608557701111, -0.15346378087997437, 0.7927863001823425, 0.04006655514240265, 0.24972108006477356, -0.6776496767997742, 0.9276992082595825, 0.19432562589645386, 0.4395042061805725, 0.5811295509338379, 0.4250531792640686, -0.6002406477928162, -0.871313750743866, -0.2952321171760559, -0.1349061131477356, -0.47578951716423035, -0.3014635741710663, -0.46419304609298706, -0.05585747957229614, -0.22646838426589966, -0.06062629818916321, -0.8075847029685974, -0.1560301035642624, -0.3613312840461731, -0.27391985058784485, 0.4875790476799011, 0.4833995997905731, -0.19588744640350342, 0.5204489231109619, -0.8453709483146667, 0.23159539699554443, 0.29295262694358826, 0.8523446321487427, -0.11001761257648468, -0.4400034248828888, -0.06484537571668625, 0.5402742624282837, 0.20523282885551453, -0.9480612874031067, 0.38473761081695557, 0.29857581853866577, 0.48023802042007446, 0.2907222509384155, 0.47382017970085144, 0.670292854309082, -0.014871660619974136, 0.6366339921951294, 0.11988310515880585, -0.6892321109771729, 0.37696805596351624, -0.04167795553803444, 0.2606821060180664, 0.9968162178993225, 0.24022948741912842, -0.0781167522072792, -0.33365848660469055, -0.4798606038093567, -0.5552449822425842, 0.5480207204818726, 0.588620126247406, -0.180728018283844, -0.02968496084213257, 0.24462030827999115, -0.21275179088115692, 0.3172835111618042, -0.6156938672065735, -0.5508975982666016, 0.02244952693581581, -0.38877445459365845, 0.19847264885902405, -0.3783325254917145, 0.391694039106369, -0.20750363171100616, 0.6527870297431946, -0.13107900321483612, 0.2047862559556961, 0.3617672324180603, -0.10991821438074112, -0.015794651582837105, 0.17328782379627228, 0.3232540786266327, 0.17159029841423035, -0.5077345967292786, 0.33769869804382324, 0.5951451659202576, -0.644464910030365, -0.02427009679377079, 0.13679802417755127, -0.11539400368928909, 0.31627175211906433, -0.020541751757264137, 0.4673108160495758, 0.3403889238834381, -0.31360694766044617, 0.5049918293952942, -0.17618238925933838, -0.20981624722480774, -0.34203460812568665, -0.40711885690689087, 0.20643983781337738, 0.2073950171470642, 0.03432886302471161, 0.3531004786491394, 0.13572679460048676, 0.17350535094738007, 0.2768327295780182, 0.24519601464271545, -0.8299735188484192, -0.1715766042470932, 0.2958579659461975, -0.19455486536026, -0.19072048366069794, 0.4943256080150604, -0.6591315865516663, -0.44183629751205444, 0.5614007115364075, 0.13083231449127197, 0.8810715079307556, -0.369291752576828, 0.39804181456565857, 0.4376761019229889, 0.49611327052116394, -0.2802254855632782, 0.12502451241016388, 0.12625524401664734, -0.8476651906967163, -0.5592077374458313, -0.951309084892273, -0.29411938786506653, 0.12605281174182892, -0.5149281024932861, -0.3317309021949768, -0.42361417412757874, -0.4090443253517151, -0.3066900968551636, 0.1560511738061905, -0.4978914260864258, 0.276069700717926, 0.14883311092853546, 0.6837581992149353, -0.5637024641036987, 0.8203111290931702, 0.5609885454177856, -0.10431073606014252, -0.7631664276123047, 0.16111572086811066, -0.12175463885068893, -0.2098286896944046, 0.44388559460639954, 0.18190594017505646, -0.25055044889450073, -0.14415384829044342, -0.10677462816238403, -1.0683064460754395, 0.8322740197181702, 0.39512163400650024, -0.563891589641571, 0.1675957292318344, 0.32316717505455017, 0.5182229280471802, -0.06009162589907646, 0.23608317971229553, 0.6639423966407776, 0.6756870746612549, -0.06870049238204956, -0.947350800037384, -0.1849515736103058, 0.18597543239593506, 0.25883999466896057, 0.4105602204799652, -0.22905409336090088, 0.5269123911857605, -0.20534870028495789, -0.16594021022319794, 0.10826783627271652, 0.967522144317627, 0.17933060228824615, 0.41775208711624146, 0.667023777961731, 0.9014638066291809, 1.1592705249786377, 0.01662159524857998, 0.8436834216117859, -0.15738996863365173, 0.3045462369918823, 1.5406407117843628, 0.023870429024100304, 0.8450139164924622, 0.5880085825920105, -0.5115222334861755, 0.307839572429657, 0.6155762076377869, 0.29753950238227844, 0.5323246717453003, 0.046405039727687836, -0.40988773107528687, -0.31638282537460327, -0.09316352754831314, -0.16314555704593658, 0.26215213537216187, 0.39011621475219727, -0.47619396448135376, -0.12202084809541702, -0.28895965218544006, 0.05796448886394501, 0.25781723856925964, -0.10792391747236252, 0.5748811364173889, 0.3534119129180908, -0.3682129383087158, 0.10177798569202423, -0.1260140985250473, 0.7412389516830444, -0.2332342565059662, 0.1965727061033249, -0.054768797010183334, 0.018734421581029892, -0.007231862284243107, -0.5438998341560364, 0.3459172248840332, -0.31020817160606384, -0.14439034461975098, 0.07396215200424194, 0.9597493410110474, -0.3064081370830536, -0.7149358987808228, 0.29350918531417847, 0.39083242416381836, 0.09388802200555801, -0.635741114616394, -0.5845941305160522, -0.3138989210128784, -0.0674210861325264, -0.3449130356311798, 0.380195677280426, 0.4671643078327179, 0.2798522710800171, 0.723193347454071, 0.6558187007904053, 0.30677616596221924, 0.35190561413764954, -0.018493644893169403, 0.3492885231971741, -0.1770562380552292, -0.4759039580821991, -0.781123161315918, 0.3180081248283386, -0.22937223315238953, -0.19796858727931976, 0.6947179436683655, 0.11106827855110168, 0.7589516043663025, 0.0752226859331131, 0.5571286678314209, 0.20905426144599915, 0.5133194327354431, -0.4296281039714813, 0.6043817400932312, -0.19701945781707764, 0.2140280306339264, -0.3785512149333954, -1.1092519760131836, -0.4711613655090332, 0.9572795629501343, -0.42667898535728455, 0.2165777087211609, 0.6276713609695435, 0.9321794509887695, -0.00872925203293562, 0.34497272968292236, 0.41655534505844116, 0.037602756172418594, -0.03248037397861481, 0.31019142270088196, 0.5489314794540405, -0.5482421517372131, 0.5273948907852173, -1.2418262958526611, 0.15551413595676422, 0.08994432538747787, -1.319024682044983, -0.7501857876777649, -0.181701198220253, -0.3323616683483124, -0.08937131613492966, -0.14914898574352264, 0.8491438627243042, 0.8367273211479187, -0.9396864771842957, 0.3510203957557678, -0.42331135272979736, 0.2821085751056671, -0.280062735080719, -0.22186002135276794, 0.495779424905777, -0.22984719276428223, -0.7623906135559082, 0.6225739121437073, 0.14287588000297546, 0.05507880821824074, -0.0568503737449646, -0.18999646604061127, -0.24844148755073547, -0.1195753738284111, 0.22457921504974365, 0.0804768055677414, -0.7994115948677063, -0.5642907023429871, -0.11713114380836487, -0.17023435235023499, 0.08196699619293213, 0.11634939163923264, -0.5361661911010742, 0.728921115398407, 0.5804882645606995, 0.7809605598449707, 0.11408115923404694, 0.04263214021921158, 0.5437107682228088, -1.2383852005004883, 0.16117705404758453, 0.4136224389076233, 0.29319608211517334, 0.3767367899417877, -0.3346226215362549, 0.4461193382740021, 0.05256883054971695, -0.6929752230644226, -0.8130906820297241, 0.21424105763435364, -0.5621916651725769, -0.04703110456466675, 0.8701358437538147, -0.2664046585559845, -0.11366526037454605, -0.31003233790397644, 0.2058056890964508, 0.2569023370742798, -0.5698254108428955, 0.5215435028076172, 0.7255114316940308, 0.1747656613588333, -0.2542026937007904, -0.9023568034172058, 0.6572115421295166, 0.6077368855476379, -0.47965502738952637, -0.18778246641159058, 0.39202144742012024, -0.07664816826581955, 0.3137088716030121, 0.2699733376502991, 0.23070020973682404, -0.10919211059808731, 0.07601368427276611, -0.027137000113725662, -0.1243949607014656, -0.4456503987312317, -0.1471555083990097, 0.14866961538791656, 0.15758396685123444, -0.3522112965583801 ]
http://arxiv.org/abs/2407.02136v1
http://arxiv.org/pdf/2407.02136v1
Black Big Boxes: Do Language Models Hide a Theory of Adjective Order?
2024-07-02T10:29:09
2024-07-02T10:29:09
Jaap Jumelet, Lisa Bylinina, Willem Zuidema, Jakub Szymanik
cs.CL
cs.CL
In English and other languages, multiple adjectives in a complex noun phrase show intricate ordering patterns that have been a target of much linguistic theory. These patterns offer an opportunity to assess the ability of language models (LMs) to learn subtle rules of language involving factors that cross the traditional divisions of syntax, semantics, and pragmatics. We review existing hypotheses designed to explain Adjective Order Preferences (AOPs) in humans and develop a setup to study AOPs in LMs: we present a reusable corpus of adjective pairs and define AOP measures for LMs. With these tools, we study a series of LMs across intermediate checkpoints during training. We find that all models' predictions are much closer to human AOPs than predictions generated by factors identified in theoretical linguistics. At the same time, we demonstrate that the observed AOPs in LMs are strongly correlated with the frequency of the adjective pairs in the training data and report limited generalization to unseen combinations. This highlights the difficulty in establishing the link between LM performance and linguistic theory. We therefore conclude with a road map for future studies our results set the stage for, and a discussion of key questions about the nature of knowledge in LMs and their ability to generalize beyond the training sets.
[ -0.5538182258605957, -0.8625293970108032, 0.6438359022140503, -0.058168038725852966, 0.10133817791938782, -0.03760123997926712, -0.21177108585834503, -0.7194774150848389, 0.1947447955608368, 0.47409313917160034, -0.20413079857826233, -0.2882307469844818, -0.657122015953064, -0.052649468183517456, -0.26749518513679504, 0.7563885450363159, 0.17299890518188477, 0.16693395376205444, -0.08265244215726852, -0.18680192530155182, -0.04182347282767296, -0.6674751043319702, -0.6197660565376282, -0.5349249839782715, 0.6942940354347229, 0.103243887424469, 1.2201650142669678, 0.9546478390693665, 0.37485411763191223, 0.30071863532066345, -0.28812849521636963, 0.07592661678791046, -0.24467583000659943, 0.023559043183922768, -0.31978851556777954, -0.8010915517807007, -0.5988737940788269, 0.21048009395599365, 0.5206297039985657, 1.112993597984314, 0.0380205474793911, 0.02664151042699814, -0.18094411492347717, 0.7420966625213623, -0.6799459457397461, 0.21436092257499695, -0.4513316750526428, 0.18178264796733856, 0.1423685997724533, -0.2905004024505615, -0.4309980869293213, 0.004818604327738285, 0.3423071503639221, -0.1483381986618042, 0.3020709455013275, 0.4239419400691986, 1.143296718597412, -0.08788257092237473, -0.7654715776443481, -0.18610316514968872, -0.8810839653015137, 0.7342005372047424, -0.6413624286651611, 0.4536542594432831, 0.6138817667961121, 0.10475888848304749, -0.2753119468688965, -0.24888527393341064, -0.5557713508605957, -0.45531708002090454, -0.28430813550949097, -0.17818321287631989, -0.1742602288722992, 0.48421144485473633, 0.24259766936302185, 0.5943779349327087, -0.4986925423145294, 0.4124669134616852, -0.2978266179561615, 0.13736297190189362, 0.646102786064148, 0.21209338307380676, 0.35054174065589905, -0.0807875394821167, -0.21238817274570465, 0.0784483402967453, -0.5779003500938416, 0.25325024127960205, 0.32630354166030884, 0.17464499175548553, -0.007597628980875015, 0.679019570350647, -0.28285712003707886, 0.7075783014297485, 0.038798458874225616, -0.07624882459640503, 0.3245338499546051, -0.12758943438529968, -0.07587868720293045, -0.38912564516067505, 0.8898017406463623, 0.3187381327152252, 0.20312438905239105, -0.32725009322166443, -0.404299795627594, 0.4746037423610687, 0.3859097957611084, -0.4637824594974518, -0.18994951248168945, 0.05306313931941986, -0.3310181200504303, -0.4454994797706604, 0.024338189512491226, -0.6161520481109619, -0.3777025640010834, -0.4498053789138794, 0.5346418619155884, -0.11951111257076263, -0.3367559313774109, 0.2758832573890686, 0.05730864033102989, 0.23949192464351654, 0.043499693274497986, -1.060219168663025, 0.5761814713478088, 0.8226842880249023, 0.39134135842323303, -0.1769331693649292, -0.4710276424884796, -0.07649674266576767, -0.08767671138048172, -0.784005343914032, 0.7632545232772827, -0.6338504552841187, -0.21290746331214905, 0.18893012404441833, 0.0885109007358551, 0.09635498374700546, -0.45320242643356323, 0.29063931107521057, -0.510904848575592, 0.3652653992176056, -0.004422142170369625, -0.5759318470954895, -0.3793114125728607, 0.017486557364463806, -0.47868168354034424, 0.7475646138191223, -0.3712143003940582, -0.4771880507469177, 0.3392474055290222, -0.2758447229862213, -0.3995244801044464, -0.16399529576301575, -0.2876397967338562, -0.273420512676239, 0.5341899991035461, -0.20330993831157684, 0.6861917972564697, -0.14205236732959747, 0.20709167420864105, -0.5438039302825928, -0.12928108870983124, 0.44342729449272156, -0.1703367829322815, 0.5585257411003113, 0.02157779037952423, -0.4631577432155609, -0.08563272655010223, -0.6489743590354919, 0.1286277025938034, 0.22017446160316467, -0.34796983003616333, -0.5718064904212952, 0.14924956858158112, -0.4942796230316162, 0.3558913469314575, 0.10367576777935028, -0.2542863190174103, 0.14505256712436676, -0.49523261189460754, 0.23501276969909668, 0.7307959198951721, -0.17573466897010803, 0.7480081915855408, -0.2628766894340515, 0.6718396544456482, -0.04194699972867966, 0.1382129192352295, 0.044994112104177475, -0.5333092212677002, -1.127899169921875, 0.04383401572704315, 0.3034028112888336, 0.3502088785171509, -0.3134402930736542, 0.5051893591880798, -0.13915227353572845, -0.3181467652320862, -0.662027895450592, 0.26295459270477295, 0.8049461245536804, -0.16014179587364197, 0.06961452215909958, -0.663826584815979, -0.12352024763822556, -1.2807698249816895, -0.35485973954200745, -0.21594902873039246, 0.04605864733457565, 0.3789556324481964, 0.5046641826629639, -0.12365841120481491, 0.6996040940284729, -0.7640242576599121, 0.0158709529787302, -0.22357177734375, 0.2777057886123657, 0.07156243175268173, 0.060522351413965225, 0.7759531736373901, -0.8254361748695374, 0.10347842425107956, -0.09909497946500778, -0.4530975818634033, 0.14886468648910522, 0.43694978952407837, -0.1913076788187027, 0.16186736524105072, 0.5941583514213562, -0.5416450500488281, 0.35362157225608826, 0.5847602486610413, -0.6059879064559937, 0.6328991055488586, -0.3574654757976532, -0.23955446481704712, -0.8812615871429443, -0.21961508691310883, 0.1999921053647995, -0.10070623457431793, -0.9563415050506592, 0.30343616008758545, -0.048589203506708145, 0.09548009932041168, -0.08594883978366852, 0.6094324588775635, -0.5990840792655945, -0.16836364567279816, -0.28013503551483154, -0.08883922547101974, 0.15461549162864685, 0.8468191027641296, 0.15680503845214844, 0.0789463147521019, 0.6949481964111328, -0.9075039029121399, 0.07285718619823456, -0.20247802138328552, -0.3484266400337219, 0.4042496085166931, -0.47060129046440125, 0.04615141451358795, -0.5127370953559875, -0.11744635552167892, -1.1741642951965332, -0.1565844565629959, -0.04105213284492493, -0.3060432970523834, 0.6974591016769409, -0.2078673541545868, -0.4512910544872284, -0.27763882279396057, -0.06671806424856186, 0.2399178296327591, 0.5697036981582642, -0.1704075187444687, 0.3296681046485901, 0.6397520899772644, -0.23466522991657257, -0.7084618210792542, -0.4418177008628845, -0.16030511260032654, -0.22199125587940216, -0.09397542476654053, -0.024777809157967567, -0.16448678076267242, -0.834025502204895, -0.1381550431251526, -0.08275007456541061, -0.3355308175086975, 0.3378329277038574, 0.31293171644210815, 0.26605841517448425, -0.37972983717918396, 0.36674612760543823, -0.34129971265792847, 0.11037694662809372, 0.25825369358062744, -0.29042717814445496, 0.3430430591106415, -0.23002921044826508, 0.1534712314605713, -0.002357343677431345, 0.01848626136779785, 0.5868771076202393, -0.2532570958137512, 0.8470034599304199, 0.25834599137306213, -0.15653440356254578, -0.49163976311683655, -0.4497908651828766, -0.0835423618555069, -0.43567511439323425, 0.4549689292907715, -0.3238925635814667, -0.5738109350204468, 0.18926376104354858, 0.18537801504135132, 0.20109842717647552, 0.1443602293729782, 0.41550925374031067, -0.1333162933588028, 1.3904098272323608, 0.9439958930015564, 0.06801491975784302, 0.782555341720581, -0.4295383393764496, 0.3161030113697052, -0.48292961716651917, 0.05740521848201752, -0.4644469916820526, -0.386735200881958, -0.6849192976951599, -0.190617173910141, 0.17084355652332306, 0.18532875180244446, -0.11429566890001297, 0.004053568001836538, -0.21494832634925842, 0.804855227470398, 0.32903599739074707, 0.23703701794147491, 0.28863197565078735, -0.04813804477453232, -0.09667089581489563, 0.2905033230781555, -0.684183657169342, -0.4799623489379883, 1.0090197324752808, 0.46815890073776245, 0.5567057132720947, 0.16928081214427948, 0.335607647895813, 0.06859026104211807, -0.03286731615662575, -1.07683527469635, 0.787542998790741, -0.17264138162136078, -0.7702149748802185, -0.2331809103488922, -0.3037951588630676, -1.286548376083374, 0.5224980711936951, -0.357098251581192, -0.5583954453468323, 0.3143305480480194, 0.3356756865978241, -0.19558654725551605, 0.17405860126018524, -0.8887888789176941, 0.7476997971534729, -0.3696810305118561, -0.3870451748371124, -0.22830750048160553, -0.7016902565956116, 0.49015137553215027, 0.23859676718711853, 0.5323920249938965, -0.18928523361682892, -0.07863147556781769, 0.7849478125572205, -0.24040202796459198, 0.6651543378829956, 0.2059566080570221, -0.3144182562828064, -0.1036851555109024, 0.5943794250488281, 0.1429034322500229, -0.4445071518421173, 0.16886283457279205, 0.12849581241607666, -0.2877490818500519, -0.5879506468772888, -0.5147310495376587, 0.8873938322067261, -0.8930884003639221, -0.7695940136909485, -0.33603599667549133, -0.467058002948761, -0.2289418876171112, 0.28309348225593567, 0.12312513589859009, 0.6940961480140686, 0.055760666728019714, -0.09576337039470673, 0.6815059185028076, -0.09707818925380707, 0.21458858251571655, 0.673271656036377, -0.3301645517349243, 0.07546494156122208, 0.9877415299415588, 0.36826375126838684, 0.6517707705497742, 0.5136443972587585, 0.3782790005207062, -0.09728259593248367, -0.6943937540054321, -0.018735093995928764, 0.5919605493545532, -0.7235886454582214, 0.35435745120048523, -0.6250033974647522, 0.07178304344415665, -0.37447914481163025, -0.08002418279647827, -0.2511577010154724, -0.6565763354301453, -0.042425259947776794, -0.2831917107105255, 0.1596352905035019, 1.2487677335739136, 0.3222232162952423, -0.04523558169603348, -0.12937769293785095, 0.5746134519577026, 0.5006096959114075, 0.5231289267539978, 0.052384402602910995, -0.5274259448051453, -0.26224252581596375, 0.06931471079587936, -0.3486413061618805, -0.72391277551651, 0.5485408306121826, 0.09476003050804138, 0.4218399226665497, 0.6338679790496826, -0.09887590259313583, 0.5447281002998352, -0.5595868825912476, 0.6856533885002136, 0.035683147609233856, -0.5448458194732666, 0.2632017731666565, -0.41240188479423523, -0.006457176525145769, 0.1520162969827652, 0.5320606231689453, -0.25163963437080383, -0.6031875610351562, -0.8877427577972412, -0.837419331073761, 0.6790516376495361, -0.04261277616024017, -0.09037522226572037, -0.014904128387570381, 0.3021141290664673, 0.06767356395721436, 0.4877372980117798, -0.8086486458778381, -0.6434265375137329, 0.05735494941473007, -0.0006755197537131608, -0.7130840420722961, -0.2879995107650757, -0.171739399433136, -0.15502813458442688, 0.5227575302124023, 0.05086585879325867, 0.13981546461582184, -0.13741321861743927, -0.009452629834413528, -0.1889752447605133, 0.6620802283287048, 0.5126129388809204, 0.7890370488166809, -0.18095846474170685, 0.5416370034217834, -0.21252167224884033, -0.21967928111553192, 0.16122505068778992, -0.24814561009407043, -0.05168135091662407, 0.04689709097146988, 0.3128837049007416, 0.8320713043212891, 0.45360812544822693, -0.44422850012779236, 0.4410474896430969, 0.1275167167186737, -0.04270792007446289, -0.33584630489349365, 0.16128093004226685, -0.05215724557638168, 0.12169510126113892, -0.031926315277814865, 0.05320342257618904, 0.10432547330856323, -1.1769837141036987, -0.1667148470878601, 0.6685382127761841, -0.3266127109527588, -0.6402372121810913, 0.4187623858451843, -0.014247165061533451, -0.6496739387512207, 0.022229382768273354, -0.19824856519699097, -0.4944649636745453, 0.48029017448425293, 0.11506450921297073, 0.8011524081230164, -0.258879691362381, 0.13940800726413727, -0.10296277701854706, 0.2450464814901352, -0.36450937390327454, 0.14341947436332703, 0.053516753017902374, -0.9326782822608948, -0.10730624943971634, -0.712785005569458, -0.2628228962421417, 0.2550981640815735, -0.7523423433303833, 0.32750260829925537, -0.5419858694076538, -0.1903080940246582, 0.4432010352611542, -0.13750363886356354, -0.6478492617607117, 0.09468478709459305, 0.34742680191993713, 0.45911821722984314, -0.922985315322876, 0.5263113975524902, 0.9657815098762512, -0.33014732599258423, -0.673011064529419, -0.06350541114807129, 0.014942198991775513, -0.8163764476776123, 0.6022699475288391, -0.04558110982179642, -0.04319626837968826, -0.161738321185112, -0.6079688668251038, -0.7419259548187256, 0.596380352973938, 0.10927770286798477, -0.1817147582769394, -0.44192075729370117, -0.07294905930757523, 0.8706016540527344, -0.33294135332107544, 0.3933403789997101, 0.5334598422050476, 0.22295936942100525, -0.2553465962409973, -0.9932759404182434, -0.245202898979187, -0.3390491306781769, 0.0025947215035557747, 0.4991130828857422, -0.6694002151489258, 0.8325217366218567, -0.4069414734840393, -0.06302426010370255, 0.041019536554813385, 0.26670682430267334, -0.16576384007930756, 0.18567396700382233, 0.4568605124950409, 0.5179036855697632, 0.2879512310028076, 0.012690983712673187, 1.3220421075820923, -0.23391711711883545, 0.2154257744550705, 0.7733427286148071, -0.06352060288190842, 0.8958162069320679, 0.34788942337036133, -0.1686672866344452, 0.6668689250946045, 0.4019150137901306, 0.23140579462051392, 0.3670431971549988, 0.30723389983177185, 0.10684770345687866, -0.3321266174316406, -0.21059860289096832, -0.06145252287387848, 0.4379716217517853, 0.475756973028183, -0.5623353719711304, 0.21164652705192566, -0.1505700796842575, 0.2829376459121704, 0.03826688975095749, -0.5312902927398682, 0.9656186699867249, 0.2055027186870575, -0.8165499567985535, 0.8665472865104675, -0.1973264366388321, 0.5223389267921448, -0.6569259762763977, 0.019157148897647858, -0.08579239249229431, 0.33648478984832764, -0.18122602999210358, -0.7796673774719238, -0.3828929364681244, -0.4716587960720062, -0.3128817677497864, -0.19981680810451508, 0.29476210474967957, -0.6375961303710938, -0.4090975522994995, 0.3241944909095764, 0.41724708676338196, 0.2349041998386383, 0.3988819718360901, -0.5256089568138123, -0.44251519441604614, -0.2894894778728485, -0.5021212697029114, 0.6433628797531128, 0.5480294823646545, -0.01873725652694702, 0.7694721817970276, 0.36580151319503784, 0.5475717186927795, 0.2366524189710617, -0.15651150047779083, 0.4725196361541748, -0.7134867310523987, -0.5550205707550049, -0.6526780724525452, 0.1441103219985962, 0.17796166241168976, -0.320031076669693, 0.7592779994010925, 0.19481399655342102, 1.0276883840560913, -0.13192178308963776, 0.5225158333778381, 0.23780730366706848, 0.34095704555511475, -0.47071319818496704, 0.4467115104198456, -0.7074093818664551, 0.28018417954444885, -0.38808223605155945, -0.724443256855011, -0.2567386031150818, 0.39747604727745056, -0.5263585448265076, 0.032095059752464294, 0.78904789686203, 0.879045844078064, -0.036111075431108475, -0.10419425368309021, 0.5155978202819824, 0.803840696811676, 0.07984554022550583, 0.35644376277923584, 0.8244930505752563, -0.14491979777812958, 0.3664071559906006, -0.5213121175765991, -0.27097252011299133, -0.333082377910614, -0.32707449793815613, -1.089748501777649, -0.5653274655342102, -0.23560748994350433, -0.3542040288448334, 0.05972250923514366, 0.9856687188148499, 0.6823617815971375, -0.5811377763748169, -0.5848831534385681, 0.030347753316164017, 0.2712004482746124, -0.3904362618923187, -0.24989022314548492, 0.2608892321586609, -0.17728754878044128, -0.7510587573051453, 0.28535282611846924, 0.1009589210152626, 0.2912556231021881, -0.3746229112148285, -0.03125001862645149, -0.2121797651052475, 0.19113865494728088, 0.6599509119987488, 0.4007427394390106, -0.9775345921516418, -0.23224598169326782, -0.20403927564620972, -0.11783874034881592, 0.007553237024694681, 0.8642088174819946, -0.6254099607467651, 0.4666438698768616, 0.6439321041107178, 0.002589241601526737, -0.1304030567407608, -0.14813339710235596, 0.8217288851737976, -0.7043274641036987, 0.29130983352661133, 0.13735102117061615, 0.5761790871620178, 0.03388123959302902, -0.12148021906614304, 0.2785349190235138, 0.21376509964466095, -0.5361435413360596, -1.1064091920852661, 0.6132341027259827, -0.716168999671936, -0.5521894693374634, 1.3677626848220825, 0.0480363592505455, -0.3018265664577484, -0.283576101064682, -0.04403810203075409, -0.147989884018898, -0.4043262004852295, 1.0437324047088623, 0.6517614126205444, -0.171768456697464, -0.13784973323345184, -0.6914724707603455, 0.7027814388275146, 0.515238881111145, -0.3767876625061035, 0.12483412027359009, 0.46631747484207153, 0.2313586175441742, 0.4465329647064209, 0.23987652361392975, -0.01405475102365017, 0.24664810299873352, -0.27766039967536926, 0.0416383370757103, 0.15925145149230957, -0.5284547209739685, -0.5792761445045471, 0.23434054851531982, 0.4523301124572754, -0.034186843782663345 ]
http://arxiv.org/abs/2407.02122v1
http://arxiv.org/pdf/2407.02122v1
Fake News Detection: It's All in the Data!
2024-07-02T10:12:06
2024-07-02T10:12:06
Soveatin Kuntur, Anna Wróblewska, Marcin Paprzycki, Maria Ganzha
cs.CL
cs.CL
This comprehensive survey serves as an indispensable resource for researchers embarking on the journey of fake news detection. By highlighting the pivotal role of dataset quality and diversity, it underscores the significance of these elements in the effectiveness and robustness of detection models. The survey meticulously outlines the key features of datasets, various labeling systems employed, and prevalent biases that can impact model performance. Additionally, it addresses critical ethical issues and best practices, offering a thorough overview of the current state of available datasets. Our contribution to this field is further enriched by the provision of GitHub repository, which consolidates publicly accessible datasets into a single, user-friendly portal. This repository is designed to facilitate and stimulate further research and development efforts aimed at combating the pervasive issue of fake news.
[ -0.25733157992362976, -0.835680365562439, 0.4828890562057495, 0.05835797265172005, -0.2995285987854004, 0.5100962519645691, 0.27470818161964417, -0.29443323612213135, 0.3263530731201172, 0.4652303159236908, -0.2186809629201889, -0.5657485723495483, -0.5220136642456055, -0.02024344727396965, -0.8047792911529541, 1.2074944972991943, 0.07700327783823013, 0.24024811387062073, -0.22992035746574402, -0.11839940398931503, -0.12351114302873611, -0.394925981760025, 0.06763571500778198, 0.02623109146952629, 0.6040754318237305, 0.4428817331790924, 0.5548202991485596, 0.6898923516273499, 0.2344021052122116, 0.09322940558195114, 0.11752783507108688, 0.24201300740242004, -0.6326053142547607, 0.015120701864361763, -0.22740349173545837, -0.29235509037971497, -0.15079857409000397, 0.4243757724761963, 0.5089734792709351, 0.39542827010154724, -0.06785622239112854, 0.5449100136756897, -0.27410200238227844, 0.6024783849716187, -0.7577819228172302, -0.20780953764915466, -0.5064848065376282, -0.23655198514461517, -0.6919764280319214, 0.07851820439100266, -0.12682940065860748, -0.7079121470451355, -0.20676332712173462, -0.544349193572998, 0.4424015283584595, -0.04182834178209305, 0.8401604294776917, -0.14659221470355988, -0.7805616855621338, -0.4213949739933014, -0.6433570981025696, 0.38021987676620483, -0.44894909858703613, 0.29601824283599854, 0.19643139839172363, 0.45247387886047363, -0.01792432740330696, -0.6191350221633911, -0.6662539839744568, 0.04357345402240753, 0.23086683452129364, 0.10091425478458405, -0.38988474011421204, -0.24226266145706177, 0.15719498693943024, 0.6161913275718689, -0.7775270938873291, -0.012744479812681675, -0.6277147531509399, -0.31244760751724243, 0.46114102005958557, 0.004138574004173279, 0.3297576308250427, -0.26238879561424255, -0.10287413001060486, -0.2278735488653183, -0.5667675733566284, -0.11943637579679489, 0.9747264981269836, 0.2838233709335327, -0.09415249526500702, 0.4356563687324524, -0.47639432549476624, 0.7644726634025574, -0.09082289785146713, -0.04406706988811493, 0.34516021609306335, -0.6942837238311768, -0.26901379227638245, -0.06636494398117065, 0.4306648075580597, 0.22465942800045013, 0.05209991708397865, 0.19736142456531525, -0.3879072964191437, 0.284057080745697, 0.4738883674144745, -0.3823666572570801, -0.5143445730209351, 0.11475548148155212, -0.6978509426116943, -0.7184999585151672, 0.48010438680648804, -0.7985132932662964, -0.6042315363883972, -0.3117062747478485, 0.20791859924793243, -0.003659222275018692, -0.6656108498573303, -0.04395913705229759, -0.44974976778030396, -0.08361735194921494, 0.3033490478992462, -0.012460033409297466, 0.12732034921646118, 0.49096783995628357, 0.6103500723838806, 0.04066363722085953, 0.1466137021780014, -0.4184601902961731, -0.18285417556762695, -0.5951831340789795, 0.9670760631561279, -0.48114535212516785, -0.2763098478317261, -0.024309199303388596, 0.1521463543176651, 0.29865869879722595, -0.6626050472259521, 0.8285399079322815, -0.5543561577796936, 0.4673040807247162, -0.4617355465888977, -0.6380777955055237, -0.3256087005138397, 0.4900485873222351, -0.9730808138847351, 0.9362978935241699, 0.4387929141521454, -0.6081324219703674, 0.4728999733924866, -0.560815155506134, -0.366243839263916, -0.022390957921743393, 0.04262196645140648, -0.6876433491706848, 0.264250785112381, 0.3213321566581726, 0.15364079177379608, -0.045303355902433395, 0.43318310379981995, -0.40145015716552734, -0.2679828405380249, 0.3472190499305725, -0.4711553454399109, 0.9455239772796631, 0.3523697853088379, -0.11044765263795853, -0.09669386595487595, -0.6482192277908325, -0.2093328833580017, 0.3013346195220947, -0.1481960564851761, -0.3375769853591919, -0.4532580077648163, 0.3825984299182892, 0.1221286877989769, -0.0543801411986351, -0.60561203956604, 0.29821062088012695, 0.11018627882003784, 0.06067962944507599, 0.6514390110969543, 0.1205485388636589, 0.5007940530776978, -0.5445737838745117, 0.648137092590332, 0.3945022225379944, 0.5639588832855225, -0.14297589659690857, -0.430666446685791, -0.39975467324256897, -0.0991300642490387, 0.7074979543685913, 0.4509659707546234, -0.6611557006835938, 0.4003196656703949, -0.1690622717142105, -0.6251968145370483, -0.5309638977050781, -0.06256550550460815, 0.2648942470550537, 0.4615831673145294, 0.22020798921585083, 0.031131358817219734, -0.5614718198776245, -0.863422155380249, -0.5993425250053406, -0.11792781949043274, -0.024547988548874855, -0.06039513275027275, 1.0478142499923706, 0.04557539150118828, 0.967715322971344, -0.30788350105285645, -0.12451377511024475, -0.15235210955142975, -0.05007476359605789, 0.44639962911605835, 0.4795486032962799, 0.7637973427772522, -1.2761809825897217, -0.41383686661720276, -0.5221296548843384, -0.6385728716850281, -0.08072800189256668, 0.05726904422044754, -0.08264324814081192, 0.2044687718153, 0.05504486709833145, -0.5186811089515686, 0.6324132084846497, 0.5643648505210876, -0.37770146131515503, 0.6053046584129333, 0.4158814549446106, 0.5968334674835205, -0.922835648059845, 0.0027506130281835794, 0.05455505847930908, -0.4036869704723358, -0.7987843751907349, 0.03755369782447815, 0.2872750461101532, -0.06550679355859756, -0.403231680393219, 0.4076356291770935, -0.24276545643806458, -0.10426006466150284, -0.15080665051937103, -0.14834201335906982, 0.4823952317237854, -0.31618937849998474, -0.4412964880466461, 0.5696051120758057, 0.6812978982925415, -0.1896851509809494, 0.7207435369491577, 0.11203442513942719, -0.4796942174434662, 0.6698075532913208, -0.5573540925979614, -0.08787941187620163, -0.19582784175872803, 0.857393205165863, -0.8486365079879761, -0.6776856184005737, 0.9355081915855408, -1.0240479707717896, -0.01193363405764103, -0.3190949559211731, -0.8732113242149353, -0.3247040808200836, -0.338140070438385, 0.1946486383676529, 0.36479800939559937, -0.5803369283676147, 0.3287868797779083, 0.7120116353034973, 0.37879815697669983, -0.43413230776786804, -0.6756418943405151, 0.21354830265045166, -0.24844099581241608, -0.3128962814807892, -0.030417554080486298, 0.1598508208990097, -0.4932215213775635, 0.13278557360172272, -0.26888978481292725, -0.2693184018135071, -0.17453795671463013, -0.018890034407377243, 0.17082194983959198, -0.12907084822654724, 0.20710523426532745, -0.14183169603347778, 0.18794308602809906, -0.1216193437576294, -0.24854886531829834, 0.09128889441490173, 0.17564934492111206, -0.452048122882843, -0.5605950355529785, 0.47758999466896057, 0.6680065989494324, 0.05123518779873848, 0.6301535367965698, 0.452099084854126, -0.5949044823646545, -0.21739676594734192, -0.5954409241676331, -0.27871453762054443, -0.3797566592693329, 0.018589777871966362, 0.05524805188179016, -0.4795008599758148, 0.5458722710609436, 0.1200350895524025, -0.06800225377082825, 0.18144501745700836, 0.1147361621260643, -0.1182909682393074, 0.8186043500900269, 0.3896220028400421, -0.43697506189346313, 0.2277454137802124, -0.10323906689882278, 0.39794284105300903, -0.3069036602973938, -0.2693341076374054, -0.6391117572784424, -0.12657956779003143, -0.5140589475631714, -0.4485431909561157, 0.06872930377721786, -0.08961839973926544, -0.06178952381014824, 0.10981106013059616, -0.8494189977645874, 0.59119713306427, 0.5878074765205383, 0.27580344676971436, 0.4052339196205139, 0.13532891869544983, 0.5508418679237366, 0.018142251297831535, -0.47978460788726807, -0.5995846390724182, 1.2901287078857422, 0.27864956855773926, 0.5729731321334839, -0.0034216337371617556, 0.3175962567329407, 0.6886931657791138, 0.31316983699798584, -0.47463688254356384, 0.1753360778093338, -0.06034044176340103, -1.2123792171478271, -0.09497407078742981, -0.4195820689201355, -0.7464644908905029, 0.23298445343971252, 0.1542147696018219, -0.12163164466619492, 0.3589022755622864, 0.036870136857032776, -0.061602890491485596, 0.6988519430160522, -0.4382007420063019, 0.590686559677124, -0.10315603017807007, -0.01022182498127222, -0.15708154439926147, -0.4434604048728943, 0.7271924614906311, -0.21809649467468262, 0.33187511563301086, -0.3461964428424835, 0.07091724872589111, 0.460576593875885, 0.09431638568639755, 0.6379333138465881, -0.2710835337638855, 0.11716914921998978, 0.23402100801467896, -0.130323126912117, 0.4573855698108673, 0.1383066326379776, 0.17098496854305267, 0.43145573139190674, -0.2215164303779602, -0.6138714551925659, -0.17407917976379395, 0.6526730060577393, -0.4403254985809326, 0.04417257010936737, -0.8275675177574158, -0.4287269413471222, 0.0294498223811388, 0.009846536442637444, 0.2148405760526657, 0.36875373125076294, -0.4379259943962097, 0.24232926964759827, 0.8501379489898682, -0.3895677328109741, -0.0302121601998806, 0.6365887522697449, -0.29145440459251404, -0.3365538418292999, 0.8448275923728943, 0.6084389090538025, -0.16744548082351685, -0.23476707935333252, -0.08924141526222229, -0.5272725224494934, -0.45308417081832886, -0.4807893633842468, 0.11220847815275192, -0.7365204095840454, -0.2774113416671753, -0.6155875325202942, -0.1236698180437088, -0.5786486864089966, -0.006526544224470854, -0.4587334394454956, -0.31793707609176636, -0.5664556622505188, -0.24028287827968597, 0.3934498429298401, 0.8618366122245789, -0.22448024153709412, 0.3997217118740082, -0.6515158414840698, 0.797976553440094, 0.08460663259029388, 0.3460403382778168, -0.4826985001564026, -0.6354991793632507, -0.2596091032028198, 0.35630911588668823, -0.33549317717552185, -0.8845940232276917, 0.44261887669563293, -0.2609906792640686, 0.6617539525032043, 0.4587654173374176, 0.3464093804359436, 0.3977539539337158, 0.2111005038022995, 0.9583727717399597, -0.1312485635280609, -0.6854012608528137, 0.6087130904197693, -0.8335934281349182, -0.017760353162884712, 0.6727388501167297, 0.7583505511283875, -0.354730486869812, -0.30789798498153687, -0.8352614641189575, -0.5768473744392395, 0.48579612374305725, 0.401886522769928, 0.03920632600784302, 0.297750324010849, 0.03947814926505089, 0.27395257353782654, 0.4356656074523926, -0.8408944606781006, -0.2032119482755661, -0.29282647371292114, -0.09301219135522842, 0.26611003279685974, 0.06132131069898605, -0.5377908945083618, -0.4099430739879608, 0.6171302795410156, 0.06819137930870056, 0.08060337603092194, -0.09304129332304001, -0.23647813498973846, -0.11519932001829147, -0.11674050241708755, 0.4806750416755676, 1.146480917930603, 0.007966462522745132, -0.1915181279182434, -0.2656339108943939, -0.515571653842926, 0.053416669368743896, -0.04028930142521858, -0.3241331875324249, 0.5477416515350342, 0.17101489007472992, 0.3820202946662903, -0.17136795818805695, -0.43271803855895996, 0.757798433303833, -0.04194299876689911, -0.2911536991596222, -0.4474185109138489, -0.15889491140842438, -0.03407838195562363, 0.04502982273697853, 0.9105448722839355, 0.27462896704673767, 0.3724139332771301, -0.5871009230613708, 0.217717245221138, 0.11880837380886078, -0.22989153861999512, -0.37071698904037476, 0.5077115893363953, 0.20952464640140533, -0.04664664342999458, 0.8514741063117981, -0.0741335079073906, -0.40275368094444275, 0.8481082320213318, 0.16338615119457245, 0.40962138772010803, -0.08425984531641006, 0.6817722916603088, 0.09066887199878693, 0.5308146476745605, -0.4697250723838806, 0.08413290977478027, 0.2187005579471588, -0.7805776000022888, 0.033389121294021606, -0.505976140499115, -0.4499710202217102, 0.547957181930542, -0.6958819031715393, 0.1790875643491745, -0.20654714107513428, -0.07527631521224976, -0.07366784662008286, -0.06227268651127815, -0.4010571241378784, 0.391082227230072, 0.32206353545188904, 0.9652883410453796, -1.2201687097549438, 0.573318362236023, 0.5341283082962036, -0.5223912596702576, -0.28180623054504395, 0.2603060305118561, 0.7045003771781921, -0.35553210973739624, 0.19342449307441711, 0.18127769231796265, 0.27326837182044983, -0.06321649998426437, -1.040553331375122, -0.569065272808075, 0.6240537762641907, 0.4390314221382141, -0.40342098474502563, 0.17429551482200623, 0.2822474241256714, 0.18965330719947815, -0.18026947975158691, 0.1317521035671234, 0.6534223556518555, 0.7569280862808228, -0.2320934534072876, -0.5119565725326538, -0.28687456250190735, -0.2825736105442047, -0.115811288356781, 0.07114841043949127, -0.6363947987556458, 0.8427226543426514, 0.3623768985271454, -0.2675201892852783, -0.2948734164237976, 0.4536292552947998, 0.4670182168483734, 0.7093442678451538, 0.3076290190219879, 0.5855242609977722, 0.7463358044624329, -0.42863860726356506, 0.9031374454498291, -0.09915868937969208, 0.2643721103668213, 0.673531174659729, 0.002609043847769499, 0.06182796135544777, 0.14025208353996277, -0.19373244047164917, 0.31822219491004944, 1.010724425315857, -0.5218388438224792, 0.3682835102081299, 0.2523331642150879, -0.2411537617444992, -0.1618478149175644, -0.37357988953590393, -0.5379698872566223, 0.5059090256690979, 0.48396167159080505, -0.37400785088539124, -0.3445284366607666, 0.3925461173057556, 0.21971678733825684, 0.12687744200229645, -0.37720799446105957, 0.24684946238994598, -0.2694855034351349, -0.09807007014751434, 0.1535765677690506, -0.27038705348968506, 0.7930132746696472, -0.5796979665756226, -0.18800772726535797, -0.4222739338874817, -0.14170923829078674, -0.28320592641830444, -1.049182653427124, 0.3803234398365021, -0.07430833578109741, -0.39461609721183777, -0.3992394208908081, 0.9886265397071838, -0.10670787841081619, -0.3634977638721466, 0.15620365738868713, 0.6869847774505615, 0.3266496956348419, -0.5435312986373901, -0.7247493863105774, 0.34268805384635925, -0.15305078029632568, -0.3680940270423889, 0.2706160545349121, 0.2491423338651657, -0.1731925755739212, 0.6202535629272461, 1.0238701105117798, 0.18400970101356506, -0.007523815613240004, 0.14567849040031433, 1.0890440940856934, -0.47624847292900085, -0.5732234716415405, -0.3959396481513977, 0.5878844261169434, -0.6356730461120605, -0.459921658039093, 0.9195671677589417, 0.8768538236618042, 1.1221522092819214, -0.23590515553951263, 1.0510551929473877, -0.12943844497203827, 0.9475160837173462, -0.11614946275949478, 0.9663199186325073, -0.3782082200050354, -0.012577248737215996, -0.08531957864761353, -0.7820926308631897, -0.22605785727500916, 0.3499480187892914, 0.11290217936038971, 0.03817237168550491, 0.2841795086860657, 0.7122231721878052, -0.33615413308143616, 0.0458340160548687, 0.21781198680400848, 0.051723647862672806, 0.22303853929042816, -0.08978615701198578, 1.023363709449768, -0.6109985709190369, 0.7282595038414001, -0.010239691473543644, -0.06272342801094055, -0.43922194838523865, -0.42833927273750305, -0.5500808954238892, -0.49986621737480164, -0.4293847382068634, -0.3969537615776062, 0.2807968556880951, 0.288449227809906, 0.8633596897125244, -0.9578119516372681, 0.11646633595228195, 0.10512243956327438, 0.16326254606246948, 0.023011013865470886, -0.34149396419525146, 0.03010742738842964, 0.16850030422210693, -0.6657623648643494, 0.48332321643829346, -0.058770280331373215, 0.09046617895364761, -0.41533809900283813, 0.16508544981479645, -0.29666051268577576, 0.16986407339572906, 0.29877835512161255, 0.4197644889354706, -0.4715162515640259, 0.009693614207208157, 0.011127188801765442, -0.3723222017288208, -0.061657484620809555, 0.7764968276023865, -0.8767369985580444, 0.3129700720310211, 0.7705481052398682, 0.4014362692832947, 0.28404662013053894, 0.29321977496147156, 0.4099363386631012, -0.7003517150878906, -0.0040744212456047535, 0.357522189617157, -0.04258887842297554, 0.4539256989955902, -0.6514667272567749, 0.6053884625434875, 0.5778564810752869, -0.6756449341773987, -1.3581124544143677, 0.1453908234834671, -0.7712464332580566, -0.553572416305542, 0.9098328948020935, 0.2603175938129425, -0.10066001862287521, -0.7386974096298218, 0.010894784703850746, 0.33855223655700684, -0.7064580917358398, 0.8010271191596985, 0.7140375375747681, -0.07834901660680771, -0.18339061737060547, -0.825609564781189, 0.358731210231781, -0.34058862924575806, -0.9787367582321167, -0.16785837709903717, 0.872576117515564, 0.5312688946723938, -0.06312713027000427, 0.6008397340774536, -0.21599668264389038, 0.35393837094306946, 0.031749624758958817, 0.011427274905145168, 0.014546124264597893, -0.4306879937648773, -0.31441161036491394, 0.1338401585817337, -0.7903850078582764, -0.3961939215660095 ]
http://arxiv.org/abs/2407.02119v1
http://arxiv.org/pdf/2407.02119v1
Cost-Effective Proxy Reward Model Construction with On-Policy and Active Learning
2024-07-02T10:09:19
2024-07-02T10:09:19
Yifang Chen, Shuohang Wang, Ziyi Yang, Hiteshi Sharma, Nikos Karampatziakis, Donghan Yu, Kevin Jamieson, Simon Shaolei Du, Yelong Shen
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement learning with human feedback (RLHF), as a widely adopted approach in current large language model pipelines, is \textit{bottlenecked by the size of human preference data}. While traditional methods rely on offline preference dataset constructions, recent approaches have shifted towards online settings, where a learner uses a small amount of labeled seed data and a large pool of unlabeled prompts to iteratively construct new preference data through self-generated responses and high-quality reward/preference feedback. However, most current online algorithms still focus on preference labeling during policy model updating with given feedback oracles, which incurs significant expert query costs. \textit{We are the first to explore cost-effective proxy reward oracles construction strategies for further labeling preferences or rewards with extremely limited labeled data and expert query budgets}. Our approach introduces two key innovations: (1) on-policy query to avoid OOD and imbalance issues in seed data, and (2) active learning to select the most informative data for preference queries. Using these methods, we train a evaluation model with minimal expert-labeled data, which then effectively labels nine times more preference pairs for further RLHF training. For instance, our model using Direct Preference Optimization (DPO) gains around over 1% average improvement on AlpacaEval2, MMLU-5shot and MMLU-0shot, with only 1.7K query cost. Our methodology is orthogonal to other direct expert query-based strategies and therefore might be integrated with them to further reduce query costs.
[ -0.37018072605133057, -0.5543727874755859, 0.3897806406021118, 0.06914308667182922, 0.02934860810637474, 0.019936051219701767, -0.15483182668685913, -0.4928978383541107, 0.44489148259162903, 0.7778257727622986, -0.6001574397087097, -0.19273456931114197, -0.21763885021209717, -0.17127764225006104, 0.3417108952999115, 0.871724545955658, 0.03240522742271423, -0.1283339262008667, 0.025441069155931473, -0.22388871014118195, -0.08813146501779556, -0.6018259525299072, -1.1139764785766602, -0.35052695870399475, 0.827571451663971, 0.5026489496231079, 0.6298115253448486, 1.088985562324524, 0.2588193118572235, 0.1578988879919052, -0.11612120270729065, 0.5676802396774292, -0.5357412695884705, 0.13196054100990295, -0.18841348588466644, -0.43263477087020874, -0.5322219133377075, 0.26993700861930847, 0.3728889226913452, 0.6590880155563354, -0.5100299119949341, 0.02797534130513668, -0.2265929877758026, 0.9275472164154053, -0.9917986989021301, 0.35053780674934387, -0.7504043579101562, 0.21089406311511993, -0.11894068866968155, -0.11120595037937164, -0.49841248989105225, -0.43697163462638855, 0.23953621089458466, -0.676932692527771, 0.11537399142980576, 0.1525457203388214, 0.861089825630188, 0.3291248679161072, -0.5119170546531677, -0.35199615359306335, -0.3981821537017822, 0.7690264582633972, -0.5304325222969055, 0.4143218398094177, 0.6958069801330566, 0.3270683288574219, -0.19615839421749115, -0.7527762651443481, -0.27972179651260376, -0.3862096071243286, 0.15064099431037903, 0.3012341260910034, 0.1744319200515747, 0.2489650696516037, 0.05710986629128456, 0.2281164675951004, -0.20426256954669952, 0.2535979449748993, -0.16055180132389069, -0.2281658798456192, 0.7238288521766663, 0.08248507231473923, -0.2919797897338867, -0.12323873490095139, -0.5144230723381042, -0.4909032881259918, -0.9089730381965637, 0.3811149001121521, 0.7114623188972473, 0.5567450523376465, 0.19916516542434692, 0.32972732186317444, -0.49140045046806335, 0.7464199662208557, 0.3625168800354004, -0.1777203232049942, 0.0870448425412178, -0.13277903199195862, 0.1203291192650795, 0.14869660139083862, 0.5500768423080444, 0.15763013064861298, 0.14115998148918152, -0.18099555373191833, -0.40943658351898193, -0.12009873241186142, 0.4258534908294678, -0.6435734629631042, -0.31078848242759705, 0.17053227126598358, -0.4782924950122833, -0.44471049308776855, -0.053600531071424484, -0.6855998039245605, -0.45012807846069336, -0.11882728338241577, 0.35795703530311584, 0.24882592260837555, -0.30181288719177246, 0.12756463885307312, 0.054759204387664795, -0.014457938261330128, 0.331264853477478, -0.9993705153465271, 0.27600252628326416, 0.4323698580265045, 0.6662338972091675, -0.43545863032341003, -0.15953834354877472, -0.9266080856323242, 0.05151285231113434, -0.2564217150211334, 0.8094890117645264, -0.4365215003490448, -0.3300672769546509, 0.34257495403289795, 0.014101361855864525, 0.07537662982940674, -0.6366954445838928, 0.5465294122695923, -0.8012587428092957, 0.06889666616916656, -0.3478371500968933, -0.5513806939125061, 0.11210241913795471, 0.19080954790115356, -0.979232907295227, 1.1000394821166992, -0.0022209559101611376, -0.5202991366386414, 0.4978679120540619, -0.7451855540275574, -0.20364005863666534, 0.023833412677049637, 0.09123578667640686, -0.4735923707485199, -0.25987982749938965, 0.21838490664958954, 0.3895852863788605, -0.16873881220817566, 0.353495329618454, -0.4001832902431488, -0.16504552960395813, 0.18990451097488403, -0.27158355712890625, 0.5583551526069641, 0.4316370487213135, -0.5950417518615723, 0.274281769990921, -0.8300371766090393, 0.0018295905319973826, 0.17265507578849792, -0.7552126049995422, -0.38685280084609985, 0.24890543520450592, -0.22085392475128174, 0.0970601812005043, 0.08028024435043335, -0.5348441004753113, 0.4327051639556885, -0.5122893452644348, 0.2810009717941284, 0.8973234295845032, -0.06437545269727707, 0.5661913752555847, -0.01576986536383629, 0.4764365255832672, -0.4326086938381195, 0.4347381591796875, 0.044174663722515106, -0.4586455523967743, -0.8113206624984741, -0.15001080930233002, 0.3671956956386566, 0.3484511971473694, -0.8654382824897766, 0.12276063859462738, 0.07319615036249161, -0.35661792755126953, -0.7021099925041199, 0.060979075729846954, 0.6656635403633118, 0.5970544219017029, 0.4609943926334381, -0.2351677417755127, -0.1629662811756134, -0.886735200881958, -0.15946322679519653, -0.431522011756897, 0.19247938692569733, 0.5946158170700073, 0.18190476298332214, 0.18781505525112152, 0.9868245124816895, -0.8782371282577515, -0.16172662377357483, -0.13254183530807495, 0.2770332992076874, 0.20267818868160248, 0.2309112846851349, 0.3383905589580536, -0.7797949314117432, -0.5938630700111389, -0.2609526515007019, -0.15998432040214539, -0.13068972527980804, 0.05768093839287758, -0.08385954797267914, 0.4216388165950775, 0.1517912745475769, -0.36976489424705505, 0.26999250054359436, 0.4224775731563568, -0.48370927572250366, 0.29784056544303894, -0.2906437814235687, 0.09707270562648773, -0.4358460307121277, 0.011184461414813995, -0.008451472967863083, -0.23723408579826355, -0.43165937066078186, 0.21705444157123566, 0.25584876537323, -0.0032961058896034956, -0.8572961091995239, 0.848572313785553, -0.3425024151802063, 0.08298666030168533, -0.443612664937973, -0.13407710194587708, -0.20757678151130676, 1.1209989786148071, 0.401675283908844, 0.6350832581520081, 0.14449883997440338, -0.7550945281982422, 0.5077490210533142, -0.04427693411707878, -0.11466345191001892, 0.25660938024520874, -0.6573210954666138, 0.1892349272966385, 0.051151905208826065, 0.5078862905502319, -0.8117592930793762, -0.24881930649280548, 0.47061043977737427, -0.23856115341186523, 0.13378673791885376, -0.20152567327022552, -0.22585821151733398, -0.16693781316280365, -0.4973844289779663, 0.2603508532047272, 0.45171213150024414, -1.0886385440826416, 0.31657901406288147, 0.7074299454689026, 0.08067731559276581, -0.811360776424408, -0.33962422609329224, -0.20651638507843018, -0.11361754685640335, -0.2317991405725479, 0.47515931725502014, 0.05745493993163109, -0.03421580791473389, 0.10863770544528961, -0.09214512258768082, -0.08143356442451477, 0.07889905571937561, 0.12381241470575333, 0.267835795879364, 0.26002997159957886, 0.25958818197250366, 0.080461785197258, -0.26708143949508667, 0.11372426897287369, -0.2846863567829132, 0.41114920377731323, -0.008289920166134834, -0.3814643323421478, -0.09438754618167877, 0.11749251931905746, 0.2518136501312256, -0.1849808245897293, 0.8077541589736938, 0.4773685336112976, -0.11267677694559097, -0.4440000653266907, -0.6316238045692444, -0.476621150970459, -0.4151262938976288, 0.2407224029302597, -0.3305623233318329, -0.9468216896057129, 0.2976442575454712, -0.08005830645561218, 0.3510483205318451, 0.27068251371383667, 0.48329660296440125, 0.17330867052078247, 1.3399313688278198, 0.2752831280231476, 0.03510609641671181, 0.4385276734828949, -0.11819573491811752, -0.14424888789653778, -0.34434664249420166, -0.4964101314544678, -0.4213210940361023, -0.13040000200271606, -0.5246870517730713, -0.3385119140148163, 0.373277872800827, -0.08770609647035599, -0.48080122470855713, 0.028286917135119438, -0.6266726851463318, 0.24732935428619385, 0.9261611700057983, 0.3486333191394806, 0.11250533908605576, 0.06206993758678436, -0.07556527853012085, 0.12678353488445282, -0.996827244758606, -0.08008042722940445, 1.2715600728988647, 0.5104590654373169, 0.8605735301971436, 0.09500031173229218, 0.4633091688156128, 0.4923454821109772, 0.09782473742961884, -0.8856894373893738, 0.4514370560646057, 0.08944626152515411, -0.5179080963134766, -0.5039845108985901, -0.5497766137123108, -1.1051961183547974, 0.257088840007782, -0.46665263175964355, -0.21157172322273254, 0.3448186218738556, 0.6235178112983704, -0.3221980035305023, 0.4236583411693573, -0.5468276739120483, 0.6898022890090942, -0.43630218505859375, -0.8743201494216919, -0.18562431633472443, -0.767476499080658, 0.1864953637123108, 0.15553529560565948, -0.06563962250947952, 0.04097412899136543, -0.2373751699924469, 0.8931251764297485, -0.6209035515785217, 0.8622623085975647, -0.4691460132598877, 0.02455839328467846, 0.26291245222091675, -0.1912870705127716, 0.9645039439201355, 0.0881740152835846, -0.11403155326843262, -0.20949505269527435, -0.34465673565864563, -0.5365988612174988, -0.5404647588729858, 0.7047234177589417, -0.9777576923370361, -0.4770534336566925, -0.5789856910705566, -0.33262360095977783, -0.4102364182472229, -0.13253842294216156, -0.08967235684394836, 0.2861800789833069, 0.09717223048210144, 0.05574317276477814, 1.028015375137329, -0.3386286795139313, 0.35286349058151245, 0.7502757906913757, -0.10963348299264908, -0.7538791298866272, 0.9225935339927673, 0.04685863479971886, 0.33324599266052246, 0.33373215794563293, 0.40301939845085144, -0.6557525396347046, -0.18899163603782654, -0.6217862963676453, 0.3646613657474518, -0.5101973414421082, -0.1757427603006363, -0.5994120240211487, -0.04580466449260712, -0.4675004482269287, 0.021686965599656105, -0.8510993719100952, -0.5804594159126282, -0.020025014877319336, -0.15558871626853943, 0.4573839008808136, 0.5643203258514404, -0.164350226521492, 0.2702564597129822, -0.5080195069313049, 0.08462140709161758, 0.6653885841369629, 0.4935217499732971, 0.308661550283432, -0.27895209193229675, -0.39600691199302673, -0.0754764974117279, -0.28367382287979126, -0.7620148658752441, 0.4667401611804962, 0.10170289129018784, 0.851624071598053, 0.6698718667030334, 0.4652171730995178, 0.48490026593208313, -0.26089003682136536, 0.7525104284286499, 0.15494224429130554, -0.5995199084281921, 0.5389899611473083, -0.21184705197811127, 0.10098601877689362, 0.5548374652862549, 0.5194301009178162, -0.3202682137489319, 0.04160912334918976, -0.6951521039009094, -1.1380842924118042, 1.039913535118103, -0.06425318121910095, -0.15393032133579254, -0.02473251149058342, 0.7173076272010803, 0.1449156105518341, 0.27215948700904846, -0.8401100635528564, -0.4957226812839508, -0.2468639314174652, 0.22296158969402313, 0.17106002569198608, -0.27496689558029175, -0.15369519591331482, -0.1270032823085785, 0.885407567024231, -0.252341091632843, 0.2065115123987198, -0.04908880218863487, 0.23664499819278717, -0.12210395187139511, 0.15979549288749695, 0.3186408579349518, 0.4638955891132355, -0.5712866187095642, 0.2257392257452011, 0.046991318464279175, -0.2503758370876312, 0.13439269363880157, -0.13026073575019836, -0.27830183506011963, -0.3327760696411133, 0.08395825326442719, 1.3162710666656494, 0.20782232284545898, -0.7533127069473267, 0.42438453435897827, -0.010283589363098145, -0.4344150424003601, -0.22729837894439697, 0.21252770721912384, -0.004218208137899637, 0.07690040022134781, 0.3292098045349121, -0.3061322271823883, 0.13397036492824554, -0.5161294937133789, 0.02238388918340206, 0.39021381735801697, -0.7432870268821716, -0.028653636574745178, 0.6212090849876404, 0.5026423335075378, -0.19386962056159973, 0.658724844455719, -0.24000966548919678, -0.45457854866981506, 0.531040608882904, 0.5739346742630005, 0.561284601688385, -0.24541224539279938, 0.5768535137176514, 0.4908323287963867, -0.012081407010555267, -0.5455635786056519, 0.17505821585655212, -0.24193711578845978, -0.690825343132019, -0.2631974518299103, -0.5393919348716736, -0.8805550932884216, 0.16314983367919922, -0.8527612090110779, 0.15813225507736206, -0.3452204465866089, -0.24648654460906982, -0.3568153381347656, 0.13303425908088684, -0.4219464361667633, 0.19180217385292053, -0.18783317506313324, 0.725574791431427, -0.866556704044342, 0.8392569422721863, 0.9572629928588867, -0.5899344086647034, -0.9246682524681091, -0.42427897453308105, -0.08242199569940567, -0.8824865818023682, 0.7596701979637146, -0.14718158543109894, -0.0880136713385582, -0.028339354321360588, -0.4811764061450958, -0.8188485503196716, 0.9160174131393433, 0.21918630599975586, -0.2601868510246277, -0.03478739783167839, -0.11625790596008301, 0.39247265458106995, -0.31607958674430847, 0.5032946467399597, 0.40341246128082275, 0.5543684363365173, 0.3763781487941742, -0.7181385159492493, -0.03137823939323425, -0.14789533615112305, -0.27751240134239197, 0.39722299575805664, -0.8265928626060486, 0.8943740129470825, -0.0055940039455890656, -0.12417959421873093, -0.32963263988494873, 0.591407299041748, 0.4450552463531494, 0.39112186431884766, 0.8246617317199707, 0.5736071467399597, 0.5810246467590332, 0.11372040212154388, 1.0745335817337036, -0.2317725419998169, 0.3215104937553406, 0.8889438509941101, -0.31906160712242126, 0.9867224097251892, 0.55472731590271, -0.2851558327674866, 0.21837757527828217, 1.0026143789291382, 0.08183249086141586, 1.022323727607727, 0.3180345296859741, -0.18232636153697968, -0.5572454333305359, -0.49700021743774414, -0.2803249657154083, 0.1184929758310318, 0.08024884760379791, -0.07350903004407883, -0.11819041520357132, -0.03414633125066757, 0.1516856849193573, 0.12242881208658218, -0.4375983774662018, 0.8352629542350769, -0.19185173511505127, -1.167188048362732, 0.45280033349990845, 0.14437653124332428, 0.7304497957229614, -0.8249754905700684, -0.19955986738204956, -0.38285163044929504, 0.22810164093971252, -0.1353064626455307, -0.5616925954818726, -0.11001896858215332, -0.17539362609386444, -0.08474831283092499, -0.37472400069236755, 0.7006271481513977, -0.5137353539466858, -0.12010876089334488, 0.339210569858551, 0.505868136882782, 0.07933373004198074, 0.005120204295963049, -0.8980379104614258, -0.19851839542388916, 0.05301631614565849, -0.49092385172843933, 0.5983468294143677, -0.059478770941495895, -0.2400340586900711, 0.6808500289916992, 0.8012098670005798, 0.519803524017334, -0.010983167216181755, 0.04955203831195831, 0.8494713306427002, -0.4791262447834015, -0.7604401707649231, -0.3785019516944885, 0.36002275347709656, -0.2284233123064041, -0.31603914499282837, 0.5241581201553345, 0.37541663646698, 0.915151059627533, -0.08971043676137924, 0.610643744468689, 0.1932123303413391, 0.6403815746307373, -0.5452391505241394, 0.5505816340446472, -0.7579519748687744, 0.30340442061424255, -0.0716308206319809, -0.8917570114135742, -0.1379600465297699, 0.6725841164588928, -0.14218397438526154, -0.12453942000865936, 0.5808883905410767, 0.8901861906051636, 0.05132259055972099, -0.2287716120481491, 0.03374888375401497, -0.2941460907459259, 0.3074801564216614, 0.5008527636528015, 0.7844570279121399, -0.08533373475074768, 0.6137131452560425, -0.3865155279636383, -0.5087493658065796, -0.29521891474723816, -0.9367190003395081, -0.893089771270752, -0.4709881842136383, -0.36139634251594543, -0.41927823424339294, 0.42948117852211, 1.369931697845459, 0.7471592426300049, -0.8641038537025452, -0.465011328458786, -0.025154417380690575, 0.1890077292919159, -0.5072519779205322, -0.22929319739341736, 0.748181164264679, -0.408609002828598, -0.7681525945663452, 0.4578353762626648, 0.08926482498645782, -0.2925087511539459, -0.4188701808452606, -0.487233430147171, -0.40870335698127747, 0.19613102078437805, 0.4648532271385193, 0.6338889002799988, -0.7306870222091675, -0.1604156792163849, 0.07261406630277634, -0.11038454622030258, -0.11820828169584274, 0.8483927249908447, -0.9215375781059265, 0.6286312341690063, 0.5572043061256409, 0.9255722761154175, 0.7544689178466797, 0.13534919917583466, 0.46424299478530884, -0.3920023441314697, 0.021598950028419495, 0.009260845370590687, 0.04567216709256172, 0.004449781030416489, -0.40341898798942566, 0.8412521481513977, 0.37444210052490234, -0.6104846000671387, -0.9344766139984131, 0.23437973856925964, -0.9152144193649292, -0.3705199360847473, 1.1644272804260254, -0.3448794484138489, -0.0949806421995163, -0.19173595309257507, -0.14319148659706116, 0.21229419112205505, -0.8525248765945435, 1.0350528955459595, 0.3555409908294678, -0.579237163066864, -0.009017614647746086, -0.3866540491580963, 0.7418891191482544, 0.49980586767196655, -0.6596164107322693, -0.05915972590446472, 0.5863080620765686, -0.05459802225232124, -0.1082780510187149, 0.6508061289787292, 0.1738370954990387, 0.1927911937236786, -0.001808598404750228, 0.28136777877807617, -0.5511770844459534, -0.46346426010131836, -0.04975332319736481, 0.6209728717803955, 0.26984018087387085, -0.29069146513938904 ]
http://arxiv.org/abs/2407.02118v1
http://arxiv.org/pdf/2407.02118v1
Breaking Language Barriers: Cross-Lingual Continual Pre-Training at Scale
2024-07-02T10:06:41
2024-07-02T10:06:41
Wenzhen Zheng, Wenbo Pan, Xu Xu, Libo Qin, Li Yue, Ming Zhou
cs.CL
cs.CL
In recent years, Large Language Models (LLMs) have made significant strides towards Artificial General Intelligence. However, training these models from scratch requires substantial computational resources and vast amounts of text data. In this paper, we explore an alternative approach to constructing an LLM for a new language by continually pretraining (CPT) from existing pretrained LLMs, instead of using randomly initialized parameters. Based on parallel experiments on 40 model sizes ranging from 40M to 5B parameters, we find that 1) CPT converges faster and saves significant resources in a scalable manner; 2) CPT adheres to an extended scaling law derived from Hoffmann et al. (2022) with a joint data-parameter scaling term; 3) The compute-optimal data-parameter allocation for CPT markedly differs based on our estimated scaling factors; 4) The effectiveness of transfer at scale is influenced by training duration and linguistic properties, while robust to data replaying, a method that effectively mitigates catastrophic forgetting in CPT. We hope our findings provide deeper insights into the transferability of LLMs at scale for the research community.
[ -0.4064359962940216, -0.5224467515945435, 0.5087668895721436, 0.3365005552768707, -0.26451414823532104, 0.2153896540403366, -0.5718576312065125, -0.28465116024017334, 0.08406424522399902, 0.4511389136314392, -0.46707212924957275, 0.02705794759094715, -0.6985040903091431, 0.03170592710375786, -0.23053623735904694, 0.9309396147727966, -0.29736414551734924, 0.01741618849337101, -0.2106543928384781, -0.14736835658550262, -0.35338330268859863, -0.7183783650398254, -0.8032014966011047, -0.31441429257392883, 0.7001430988311768, 0.26072779297828674, 0.5745148658752441, 0.7508312463760376, 0.24782051146030426, 0.3122061491012573, 0.30536267161369324, -0.19240321218967438, -0.6511985063552856, -0.20727190375328064, -0.2506084740161896, -0.5756730437278748, -0.21101485192775726, 0.09946148842573166, 1.0131373405456543, 1.0161123275756836, -0.021047059446573257, -0.0065045650117099285, 0.2907146215438843, 0.7032902240753174, -0.42362508177757263, 0.08045949786901474, -0.6579450368881226, 0.032971158623695374, -0.44614315032958984, 0.04349598288536072, -0.371486097574234, -0.24287135899066925, 0.172574982047081, -0.6636756062507629, 0.032338060438632965, -0.015146239660680294, 0.8224271535873413, 0.17072926461696625, -0.10946016758680344, -0.22396661341190338, -0.8092817664146423, 0.9148759245872498, -0.42883357405662537, 0.7374803423881531, 0.24683009088039398, 0.10147135704755783, 0.20500926673412323, -0.8980066180229187, -0.413532555103302, -0.583563506603241, 0.09518645703792572, -0.22280389070510864, -0.0325411781668663, -0.15403957664966583, 0.09196671098470688, 0.05781944841146469, -0.5715740323066711, 0.2675442695617676, -0.36075636744499207, -0.1346542239189148, 0.4633273780345917, -0.06527089327573776, 0.4501834511756897, 0.4461013972759247, -0.19587178528308868, -0.018734320998191833, -1.0901768207550049, -0.09141132235527039, 0.07669593393802643, 0.4066320061683655, -0.07872603088617325, 0.10476065427064896, 0.1346462070941925, 0.4363826513290405, 0.15234753489494324, -0.12796568870544434, 0.21354292333126068, -0.5051864385604858, 0.2411002814769745, -0.05502598360180855, 0.8102644085884094, -0.14713171124458313, 0.6612352728843689, -0.4594765603542328, -0.005299402866512537, -0.1448763757944107, 0.23609375953674316, -0.8210576176643372, -0.3589068651199341, -0.2752048969268799, -0.1953185498714447, 0.14952684938907623, -0.3494107723236084, -0.49867314100265503, 0.02650529146194458, -0.5699676275253296, 0.4172084629535675, -0.3963777422904968, -0.29010170698165894, -0.08408396691083908, 0.5337124466896057, 0.042729880660772324, 0.14101503789424896, -1.096112847328186, 0.280145525932312, 0.4268675446510315, 0.9463066458702087, -0.2816009521484375, -0.6726348400115967, -0.5538420677185059, 0.032335855066776276, -0.530280590057373, 0.5523427724838257, -0.5012362599372864, -0.4072600305080414, -0.11055631190538406, 0.07963716238737106, -0.19996173679828644, -0.5738278031349182, -0.02224234864115715, -0.5660730004310608, 0.04299632087349892, -0.22871850430965424, -0.3700248599052429, 0.23030568659305573, 0.3759949803352356, -0.5830147862434387, 0.7700092196464539, 0.18827863037586212, -0.553219735622406, 0.4268469214439392, -0.3878909945487976, -0.5884655714035034, 0.24025988578796387, -0.14047493040561676, -0.2623313069343567, -0.055767130106687546, 0.24491164088249207, 0.17976872622966766, -0.4769164025783539, 0.2317563146352768, -0.3592963218688965, -0.19535373151302338, -0.11713220924139023, -0.39730095863342285, 0.6785305142402649, 0.06997323781251907, -0.2797430753707886, -0.19577647745609283, -0.6060473322868347, 0.04700917750597, 0.09483616054058075, -0.5083180069923401, -0.35860276222229004, -0.1157410591840744, -0.25507140159606934, 0.21031802892684937, 0.5185368657112122, -0.5471042394638062, 0.117707759141922, -0.27240902185440063, 0.31577634811401367, 0.6527620553970337, -0.24189460277557373, 0.6353550553321838, -0.39776962995529175, 0.6822981834411621, -0.14826567471027374, 0.04715350270271301, -0.08374365419149399, -0.06698418408632278, -0.7830838561058044, -0.25395217537879944, 0.3281696140766144, 0.5847351551055908, -0.7182705402374268, 0.3244442641735077, -0.49313050508499146, -0.5114388465881348, -0.3116450309753418, 0.49977463483810425, 0.3122585117816925, 0.23080529272556305, 0.3396003842353821, -0.4263900816440582, -0.5817191004753113, -0.6144806742668152, -0.2813394069671631, -0.19056276977062225, -0.2815646529197693, 0.12722189724445343, 0.275752454996109, -0.21187160909175873, 0.8745737671852112, -0.06204743683338165, -0.020404033362865448, -0.4223276376724243, 0.1253921538591385, 0.049939580261707306, 0.6350950002670288, 0.5092971324920654, -0.4395299553871155, -0.7662531137466431, 0.060001153498888016, -0.6370221972465515, -0.15918917953968048, -0.348113089799881, -0.041836850345134735, 0.1088409423828125, 0.8906643986701965, -0.40164485573768616, 0.04996264725923538, 0.5852987766265869, 0.036998502910137177, 0.5909424424171448, -0.4411975145339966, -0.09857651591300964, -0.8797134757041931, -0.021825596690177917, -0.25969192385673523, -0.08500482887029648, -0.7016991376876831, -0.19425782561302185, 0.027398686856031418, -0.10797915607690811, -0.5202004909515381, 0.725953221321106, -0.6749011874198914, 0.1469118893146515, -0.23235176503658295, 0.08917991071939468, -0.2987411320209503, 0.5119642019271851, 0.1159702017903328, 0.6290801763534546, 0.6804718375205994, -0.6819661259651184, 0.17876166105270386, -0.012642275542020798, -0.12537115812301636, 0.6225341558456421, -0.5890125036239624, 0.29881492257118225, 0.024845829233527184, 0.2779540419578552, -0.5897969603538513, 0.17347614467144012, -0.005335772875696421, -0.18090173602104187, 0.40271347761154175, -0.05724969133734703, -0.44990020990371704, -0.1977221965789795, -0.009587360545992851, 0.7989300489425659, 0.6059916019439697, -0.6818081736564636, 0.6208361387252808, 0.34832435846328735, -0.5442073345184326, -0.17585621774196625, -0.702522873878479, 0.21603059768676758, -0.25096946954727173, -0.4742129445075989, 0.23931147158145905, -0.19728516042232513, -0.12029311805963516, -0.05310959741473198, 0.12161488085985184, -0.09644267708063126, -0.055814843624830246, 0.014228086918592453, 0.08452602475881577, -0.349285751581192, 0.13620421290397644, -0.23926828801631927, -0.05032716691493988, 0.16242893040180206, -0.6842310428619385, 0.7107890844345093, -0.23385024070739746, -0.24729853868484497, -0.2981565296649933, 0.2695976793766022, 0.5687773823738098, -0.3177737593650818, 0.7600986361503601, 0.41288453340530396, -0.17153657972812653, -0.31898051500320435, -0.3422476649284363, 0.0033550946973264217, -0.47821053862571716, 0.49787697196006775, -0.3761923313140869, -1.0781468152999878, 0.38869884610176086, -0.23504464328289032, 0.05023907497525215, 0.2666564881801605, 0.5953149199485779, 0.20982161164283752, 0.708793580532074, 0.9567780494689941, -0.39649343490600586, 0.5972272157669067, 0.16227546334266663, 0.3021279275417328, -0.5094900727272034, -0.09242235124111176, -0.41357794404029846, -0.16771499812602997, -0.5056704878807068, -0.5963433980941772, 0.31970033049583435, 0.21457064151763916, -0.5955492854118347, 0.35953572392463684, -0.08254622668027878, 0.5399971008300781, 0.33775612711906433, -0.0696425586938858, 0.1292470246553421, -0.08981822431087494, -0.11751488596200943, -0.00836570281535387, -0.9435595870018005, -0.13956031203269958, 1.287820816040039, 0.29655924439430237, 0.738290548324585, -0.14464402198791504, 0.73165363073349, -0.0767761692404747, 0.7395370602607727, -0.4112846255302429, 0.5493316054344177, -0.2964407205581665, -0.46875208616256714, -0.6454638242721558, -0.6364880204200745, -1.015336036682129, 0.16694776713848114, -0.021914871409535408, -0.662814199924469, -0.13381776213645935, 0.1143769696354866, -0.18933211266994476, 0.4830871820449829, -0.433036208152771, 0.6163806915283203, -0.5529401302337646, -0.4078916013240814, -0.2741682827472687, -0.5505361557006836, 0.17032746970653534, -0.6738461852073669, 0.3623926341533661, 0.057229503989219666, -0.08228049427270889, 0.8206178545951843, -0.5285349488258362, 0.8754765391349792, -0.08971234411001205, -0.23447285592556, 0.26286986470222473, -0.03253941982984543, 0.48373574018478394, -0.0002719507901929319, 0.12732739746570587, 0.24213115870952606, -0.1909666210412979, -0.6686094403266907, -0.47509151697158813, 0.5832321643829346, -0.7639451622962952, -0.636864185333252, -0.10461611300706863, -0.7976120114326477, -0.4907251298427582, 0.3866512179374695, 0.25647222995758057, 0.19601106643676758, -0.26782405376434326, 0.25186970829963684, 0.5671576857566833, -0.2787329852581024, 0.3602125346660614, 0.5145416855812073, -0.16156139969825745, -0.30610764026641846, 1.0183167457580566, 0.4182698130607605, 0.5529114603996277, 0.33976495265960693, 0.27785438299179077, -0.23302610218524933, -0.5928080081939697, -0.3091001808643341, 0.412168025970459, -0.376399427652359, 0.23050765693187714, -0.5469954013824463, -0.3937826454639435, -0.42171362042427063, -0.43872642517089844, -0.7219224572181702, -0.07248949259519577, -0.05104532092809677, 0.09202452003955841, 0.15686209499835968, 0.5359248518943787, -0.4658944606781006, 0.29842841625213623, -0.9176061749458313, 0.15389995276927948, 0.46076831221580505, 0.31703367829322815, 0.00967568438500166, -0.6630590558052063, -0.49995729327201843, 0.036499883979558945, 0.06769806891679764, -0.36163824796676636, 0.31104469299316406, 0.3338169753551483, 0.6432167291641235, 0.28532639145851135, -0.05887458100914955, 0.6068011522293091, -0.8277847766876221, 0.7212468385696411, 0.4727383852005005, -0.9598100781440735, 0.2355044186115265, -0.2942928373813629, 0.7477635741233826, 0.6549294590950012, 0.6758405566215515, -0.5160220265388489, -0.43278181552886963, -0.4929873049259186, -0.9433789253234863, 0.46155232191085815, -0.11271786689758301, 0.3264109790325165, 0.06654788553714752, 0.39121532440185547, 0.10128138214349747, -0.12127318978309631, -0.7954384684562683, 0.1196017637848854, -0.10563115775585175, -0.011244581080973148, -0.4430047273635864, -0.05253194645047188, -0.04263756424188614, -0.39313626289367676, 0.5266794562339783, -0.020272893831133842, -0.13528195023536682, -0.12255789339542389, -0.3467775881290436, 0.18304988741874695, 0.05155050382018089, 0.3247969150543213, 0.7358604669570923, 0.1475592851638794, 0.23066383600234985, 0.5968821048736572, -0.6328557729721069, 0.45844876766204834, 0.052152328193187714, 0.04871293157339096, -0.16599898040294647, 0.6260969042778015, 0.63121497631073, 0.24143044650554657, -0.6709391474723816, 0.3029373288154602, 0.09983991831541061, -0.4680041968822479, -0.2418825477361679, -0.14266695082187653, 0.21234919130802155, 0.20014871656894684, 0.028359856456518173, -0.27962908148765564, -0.6433613300323486, -0.6212615370750427, 0.5884034037590027, 0.15569941699504852, -0.3190170228481293, -0.44628918170928955, 0.7159213423728943, 0.23591263592243195, -0.2144218534231186, 0.8401675224304199, -0.09220702946186066, -0.4304400086402893, 0.43521225452423096, 0.587624728679657, 0.63105309009552, -0.48326846957206726, 0.07685533165931702, 0.274657666683197, 0.4874293804168701, -0.4248204529285431, -0.17153996229171753, -0.15218192338943481, -0.8088563084602356, -0.5278419256210327, -0.6825317144393921, -0.3520970046520233, 0.17595890164375305, -0.36698970198631287, 0.03857996314764023, -0.7987361550331116, 0.1777372807264328, -0.29026979207992554, 0.007711260579526424, -0.7022360563278198, 0.25487834215164185, 0.2693976163864136, 0.6759273409843445, -0.7774820327758789, 1.1301127672195435, 0.37162917852401733, -0.23797707259655, -0.8904955983161926, 0.03071863390505314, -0.10014410316944122, -0.8296270966529846, 0.6295748353004456, 0.06121362745761871, -0.19651760160923004, -0.022726651281118393, -0.44478824734687805, -1.0360325574874878, 0.8475629687309265, 0.5505120158195496, -0.8402663469314575, -0.13912087678909302, 0.47710004448890686, 0.5090200304985046, -0.47276443243026733, -0.14191803336143494, 0.8993561863899231, 0.39279884099960327, 0.03171590715646744, -1.0181381702423096, 0.140149787068367, -0.16781601309776306, -0.04803411662578583, 0.2391171008348465, -0.5875914096832275, 1.10123872756958, -0.17747017741203308, -0.1868513971567154, 0.06280795484781265, 0.6832385063171387, 0.24569354951381683, -0.06270843744277954, 0.7741472721099854, 0.606274425983429, 0.7284623384475708, 0.18926453590393066, 0.7937566637992859, -0.46071580052375793, 0.10777769982814789, 1.1467207670211792, -0.3897487223148346, 0.7049586772918701, 0.38775497674942017, -0.3052791655063629, 0.39747849106788635, 0.5195751786231995, 0.07414190471172333, 0.3481350839138031, 0.6343251466751099, -0.3933459222316742, -0.2771579623222351, -0.029355419799685478, -0.423265665769577, 0.15599294006824493, 0.1411885768175125, -0.0303460955619812, -0.3350927233695984, 0.3422248065471649, 0.3659774363040924, 0.0603424608707428, -0.42971378564834595, 0.41066133975982666, 0.27689236402511597, -0.6007006168365479, 0.8528024554252625, -0.38160455226898193, 0.7369610667228699, -0.7863128781318665, 0.4114476144313812, -0.4243415892124176, 0.2648133933544159, 0.17784088850021362, -0.3069651126861572, 0.32352185249328613, 0.17059116065502167, 0.0081156175583601, -0.5531200170516968, 0.23545165359973907, -0.6628010869026184, -0.5446284413337708, 0.4455079734325409, 0.4423755705356598, 0.3338070511817932, -0.0953710675239563, -0.5081154108047485, -0.013026615604758263, -0.033615920692682266, -0.28641170263290405, 0.6558555364608765, 0.5869902968406677, -0.248292475938797, 0.6854203343391418, 0.6580585837364197, 0.34804046154022217, 0.2101203203201294, 0.08558265119791031, 0.9194464087486267, -0.5137704610824585, -0.6088496446609497, -0.654693603515625, 0.19496309757232666, 0.34127017855644226, -0.3516206443309784, 0.5701417922973633, 0.38495445251464844, 0.986638605594635, 0.16765327751636505, 0.9016950130462646, -0.035382673144340515, 0.3271302580833435, -0.4913710951805115, 0.8396670818328857, -0.5291476845741272, 0.2579542398452759, 0.02440352365374565, -0.8061483502388, -0.2963142693042755, 0.19020366668701172, -0.3885519802570343, 0.09159819036722183, 0.8131136894226074, 0.7023667693138123, 0.0755561962723732, -0.38049617409706116, 0.37808430194854736, 0.2377411425113678, 0.40473759174346924, 0.8393481373786926, 0.6829298138618469, 0.1771722137928009, 0.7370615601539612, 0.025206591933965683, -0.33028143644332886, 0.2112097591161728, -0.665324330329895, -0.9327480792999268, -0.4530494213104248, -0.20162484049797058, -0.06479780375957489, 0.20267263054847717, 0.6526612043380737, 0.7587577104568481, -0.5929200649261475, -0.44333723187446594, -0.3129679262638092, -0.22520706057548523, -0.039845481514930725, -0.07834059745073318, 0.2574739158153534, -0.7033083438873291, -0.6294116973876953, 0.46523723006248474, 0.1944081336259842, -0.05080705136060715, -0.38163918256759644, -0.3436511158943176, -0.26080578565597534, 0.277474969625473, 0.5066712498664856, 0.6898091435432434, -0.2831615209579468, -0.5003589987754822, -0.23960387706756592, 0.00050789286615327, 0.04228230565786362, 0.8294709920883179, -0.6668183207511902, 0.303178071975708, 0.32669416069984436, 1.0751490592956543, 0.5842159986495972, -0.3535696268081665, 0.911862850189209, -0.5429595112800598, 0.3762739896774292, 0.2548873722553253, 0.10500181466341019, 0.2613440752029419, -0.11045462638139725, 0.3107205927371979, 0.3429192304611206, -0.559363842010498, -0.683552622795105, 0.3576723337173462, -0.5841890573501587, -0.4321554899215698, 0.9414159655570984, -0.3831980228424072, -0.13747398555278778, -0.08602038770914078, 0.18702463805675507, 0.20891073346138, 0.20898687839508057, 0.6187755465507507, 0.7452175617218018, -0.18126526474952698, -0.3426297605037689, -0.39284735918045044, 0.38073527812957764, 0.6463256478309631, -0.9358820915222168, 0.06284798681735992, 0.08453010022640228, 0.49108532071113586, 0.07032277435064316, 0.8912132978439331, -0.18142084777355194, 0.01879141479730606, 0.324834942817688, 0.049726057797670364, 0.14066997170448303, -0.6894694566726685, -0.2708108723163605, 0.17208890616893768, 0.11111240088939667, -0.02312828041613102 ]
http://arxiv.org/abs/2407.02099v1
http://arxiv.org/pdf/2407.02099v1
Helpful assistant or fruitful facilitator? Investigating how personas affect language model behavior
2024-07-02T09:36:54
2024-07-02T09:36:54
Pedro Henrique Luz de Araujo, Benjamin Roth
cs.CL
cs.CL
One way to personalize and steer generations from large language models (LLM) is to assign a persona: a role that describes how the user expects the LLM to behave (e.g., a helpful assistant, a teacher, a woman). This paper investigates how personas affect diverse aspects of model behavior. We assign to seven LLMs 162 personas from 12 categories spanning variables like gender, sexual orientation, and occupation. We prompt them to answer questions from five datasets covering objective (e.g., questions about math and history) and subjective tasks (e.g., questions about beliefs and values). We also compare persona's generations to two baseline settings: a control persona setting with 30 paraphrases of "a helpful assistant" to control for models' prompt sensitivity, and an empty persona setting where no persona is assigned. We find that for all models and datasets, personas show greater variability than the control setting and that some measures of persona behavior generalize across models.
[ -0.20441055297851562, -0.7839561104774475, 0.6468050479888916, 0.42889273166656494, 0.14708857238292694, -0.20422621071338654, -0.0037676214706152678, -0.33496662974357605, 0.02460736222565174, 0.54558265209198, -0.5698422193527222, 0.11060141026973724, -0.5469495058059692, 0.22236783802509308, -0.24397271871566772, 1.0963002443313599, 0.3447137773036957, 0.2519024610519409, -0.4544833302497864, -0.1387467384338379, -0.6827722191810608, -0.46868839859962463, -0.9477657079696655, -0.3624683916568756, 0.7847891449928284, 0.4366167187690735, 1.009535551071167, 0.3169080317020416, 0.19474732875823975, 0.44206979870796204, -0.05228188633918762, -0.18610543012619019, -0.2237052470445633, 0.5324324369430542, -0.3151550889015198, -0.7113572955131531, -0.5563947558403015, -0.00462086359038949, 0.23666217923164368, 1.0350642204284668, 0.08985979855060577, 0.152231365442276, 0.4108494818210602, 0.39533674716949463, -0.40695613622665405, 0.2710273861885071, -0.31004562973976135, -0.21855521202087402, -0.2771774232387543, -0.11268093436956406, -0.3872200548648834, -0.4411538541316986, 0.25803428888320923, -0.7280266880989075, 0.2689642906188965, -0.0650336742401123, 0.27903488278388977, 0.13716712594032288, -0.8435916900634766, -0.41581934690475464, -0.9697169661521912, 0.9014283418655396, -0.3727719783782959, 0.14860087633132935, 0.6429738998413086, 0.1231851875782013, -0.34163039922714233, -0.20775458216667175, -0.30780544877052307, -0.19502155482769012, -0.18362075090408325, -0.21304479241371155, -0.36402133107185364, -0.012898064218461514, 0.2952914237976074, 0.31473198533058167, -0.32311326265335083, 0.127149298787117, -0.08955348283052444, -0.20161184668540955, 0.4572124183177948, 0.29654380679130554, 0.4341734051704407, -0.24389375746250153, 0.10462967306375504, 0.12755076587200165, -0.45361170172691345, 0.2207949161529541, 0.692281186580658, 0.2399684190750122, -0.05071442946791649, 0.5272321701049805, -0.10675670951604843, 0.7805861830711365, 0.32151341438293457, -0.32143089175224304, 0.09061090648174286, -0.28656044602394104, -0.08015011250972748, -0.38292208313941956, 0.4951208233833313, 0.2880012094974518, 0.7134220004081726, -0.1548754870891571, -0.15231828391551971, -0.3090456426143646, 0.27973970770835876, -0.4133302569389343, -0.3986729383468628, -0.05721096694469452, -0.46686699986457825, -0.02871927246451378, -0.11439167708158493, -0.741561770439148, -0.8750740885734558, -0.429643452167511, 0.28481894731521606, -0.27912256121635437, -0.1372646987438202, -0.3301106095314026, -0.056311365216970444, 0.45389753580093384, 0.582722008228302, -1.2771865129470825, 0.4704705476760864, 0.41487917304039, 0.44803765416145325, -0.06440987437963486, -0.33852577209472656, -0.8712970614433289, 0.044266872107982635, 0.032652467489242554, 0.6185587644577026, -0.9383318424224854, -0.7351943850517273, -0.057337477803230286, 0.04178827628493309, -0.2903035581111908, -0.6284533739089966, 0.3043094873428345, -0.17617520689964294, 0.5224844217300415, -0.6937977075576782, -0.21382544934749603, 0.08943530917167664, -0.13676536083221436, -0.4992004930973053, 0.6156646013259888, 0.4162936210632324, -0.728418231010437, 0.2851351797580719, -0.477539986371994, -0.3960813283920288, 0.07377473264932632, -0.3592507243156433, 0.009026164188981056, 0.37456345558166504, 0.17713399231433868, 0.5730865597724915, -0.22035060822963715, 0.11064855754375458, -0.23845645785331726, -0.15992967784404755, 0.7723649144172668, -0.3821117579936981, 1.0123661756515503, 0.04114801436662674, -0.2222462296485901, 0.2576422095298767, -0.6228166818618774, -0.5051357746124268, 0.2108224630355835, -0.3221999704837799, -0.6387527585029602, -0.1643577367067337, 0.0029055573977530003, 0.2983255088329315, 0.16238322854042053, -0.2495923936367035, 0.4221095144748688, -0.0221073217689991, -0.15570034086704254, 0.959222674369812, 0.31730473041534424, 0.5718795657157898, -0.4995998442173004, 0.9475045800209045, -0.29468315839767456, 0.22531941533088684, -0.30180788040161133, -0.8209165334701538, -0.8091450929641724, -0.11890976876020432, 0.032407552003860474, 0.4790270924568176, -0.7354907393455505, 0.1715536266565323, 0.07551862299442291, -0.2813020348548889, -0.5778132081031799, 0.4307732582092285, 0.28273269534111023, 0.471370667219162, 0.051047515124082565, -0.16962438821792603, -0.09274960309267044, -1.135329246520996, -0.32477372884750366, -0.24428245425224304, -0.2934880554676056, 0.5581112504005432, 0.28660231828689575, 0.04173460230231285, 0.7808542251586914, -0.4717189073562622, -0.18469978868961334, -0.39453625679016113, -0.14472635090351105, -0.16353508830070496, 0.3108241856098175, 1.0053876638412476, -0.7543368935585022, -0.5749666094779968, -0.3333263695240021, -0.3358041048049927, -0.5271092653274536, -0.27957484126091003, 0.1094542071223259, 0.006058066617697477, 0.14807580411434174, -0.3366718292236328, 0.20885734260082245, 0.44306430220603943, -0.6755708456039429, 0.49888715147972107, -0.2786628305912018, 0.16830697655677795, -1.069749116897583, 0.13565225899219513, 0.3226264715194702, -0.05963870882987976, -0.9898101687431335, -0.024080194532871246, -0.3148859143257141, 0.15398943424224854, -0.24105864763259888, 0.62804114818573, -0.4416815936565399, -0.1462581902742386, -0.3836256265640259, 0.03938392177224159, -0.22002358734607697, 0.43139880895614624, -0.04785875231027603, 1.0164982080459595, 0.5307331085205078, -0.814351499080658, 0.08523815870285034, 0.4411071836948395, 0.11982043832540512, 0.8754810690879822, -0.5843693614006042, 0.4210781753063202, -0.06774832308292389, 0.003023650962859392, -1.1686581373214722, -0.3701179325580597, 0.3775939643383026, -0.37395668029785156, 0.11271688342094421, 0.10798721015453339, -0.4784527122974396, 0.05928565189242363, -0.2392895668745041, 0.09915753453969955, 0.2573123276233673, -0.26289987564086914, 0.7869278192520142, 0.36657896637916565, -0.5752423405647278, -0.16283456981182098, -0.7228049039840698, -0.0379200279712677, -0.5025045871734619, -0.3659277558326721, 0.1138094887137413, -0.46284401416778564, -0.6051172614097595, -0.41022148728370667, -0.0743752270936966, -0.20174279808998108, 0.4819147288799286, 0.3144995868206024, 0.23515143990516663, 0.050983600318431854, -0.11086441576480865, -0.034908097237348557, -0.005286365281790495, 0.26424720883369446, 0.3357662856578827, 0.5959550142288208, -0.021595614030957222, -0.22000926733016968, -0.2492000311613083, 0.40828582644462585, 0.6012667417526245, -0.1686498522758484, 0.8308364152908325, 0.3587169647216797, -0.06046753004193306, 0.21787576377391815, -0.5143162608146667, -0.12096217274665833, -0.5125473141670227, 0.11368168145418167, -0.3953891098499298, -0.8233603239059448, 0.8117937445640564, 0.4419654607772827, 0.09275487810373306, 0.13729190826416016, 0.4732573330402374, 0.12179677188396454, 0.9769662022590637, 0.6896150708198547, -0.12649443745613098, 0.6561576724052429, 0.07231535017490387, 0.12857654690742493, -0.8669028282165527, -0.45146235823631287, -0.8101904392242432, -0.29490938782691956, -0.5508708953857422, -0.16448694467544556, -0.001408664626069367, -0.30014529824256897, 0.0005602857563644648, 0.11474066972732544, -0.20429196953773499, 0.05251174420118332, 0.5892154574394226, -0.1503705233335495, 0.21588005125522614, -0.19519908726215363, 0.14498591423034668, -0.24525213241577148, -0.6321755647659302, -0.7152332067489624, 0.882763147354126, 0.4304913878440857, 0.8465937972068787, 0.5484699010848999, 0.4957369863986969, 0.15230460464954376, 0.3017547130584717, -0.755112886428833, 0.8549494743347168, -0.18015024065971375, -0.5999787449836731, 0.06810873001813889, -0.30209097266197205, -1.023354172706604, 0.0184139646589756, -0.050469327718019485, -1.0428465604782104, 0.4487808644771576, 0.5172363519668579, -0.4372381567955017, -0.11676498502492905, -0.7719956636428833, 0.7414541244506836, -0.3014402687549591, -0.5145607590675354, 0.11077943444252014, -0.6714975237846375, 0.26791077852249146, -0.06341148167848587, 0.19525381922721863, 0.10022298246622086, -0.1912456899881363, 0.7291817665100098, -0.009850738570094109, 1.0840988159179688, -0.4454802870750427, -0.19943690299987793, -0.0819304957985878, 0.4304364025592804, 0.2994372248649597, -0.24994124472141266, -0.27535879611968994, -0.5101404786109924, -0.1272769719362259, -0.4377184808254242, -0.5932769775390625, 0.9257432222366333, -0.7747005224227905, -1.0623505115509033, -0.37739479541778564, -0.8082821369171143, -0.5351350903511047, 0.06964751332998276, 0.04543708264827728, 0.2729373276233673, -0.1622537076473236, 0.5268217921257019, 0.7212597727775574, -0.4415203332901001, 0.3038364052772522, 0.5047295093536377, -0.21172501146793365, 0.02384882979094982, 0.6072337031364441, -0.006338230799883604, 0.5631491541862488, 0.17688217759132385, 0.41530781984329224, -0.18012310564517975, -0.1630924940109253, -0.1548728346824646, 0.16596190631389618, -0.8287116289138794, 0.08823343366384506, -0.6955608129501343, 0.2467399537563324, -0.6224128603935242, -0.09935380518436432, 0.22795981168746948, -0.3265829086303711, -0.6508516669273376, 0.02880551852285862, 0.3391582667827606, 0.7677497863769531, 0.4958139657974243, 0.6435745358467102, -0.4252707362174988, 0.1707371324300766, 0.65375816822052, -0.0706811398267746, 0.025929851457476616, -0.6263365745544434, 0.15356895327568054, -0.21066422760486603, -0.3288606107234955, -1.135396122932434, 0.06566111743450165, 0.24475619196891785, 0.9376516342163086, 0.5669906139373779, -0.1696586310863495, 0.5393128991127014, -0.17998343706130981, 1.1767984628677368, -0.12757200002670288, -0.7850170135498047, 0.47787705063819885, -0.5549265146255493, 0.530535876750946, 0.5294817686080933, 0.30520355701446533, -0.5391486883163452, -0.658300518989563, -0.5877249240875244, -0.5725740194320679, 0.9249715209007263, 0.19406479597091675, 0.6318515539169312, 0.015447967685759068, 0.5025444626808167, 0.298203706741333, 0.3652074337005615, -0.869651734828949, -0.7069297432899475, -0.18739484250545502, 0.055262308567762375, 0.07682716101408005, -0.39278534054756165, 0.24254156649112701, -0.1435137540102005, 0.49923884868621826, -0.06500930339097977, 0.3308054506778717, -0.10694830864667892, 0.17563338577747345, -0.23711708188056946, 0.5756139159202576, 0.5043872594833374, 0.5903730392456055, 0.16408075392246246, -0.0025694379583001137, 0.12923254072666168, -0.26140618324279785, 0.0980079397559166, 0.11132977902889252, -0.27286332845687866, -0.2115415334701538, 0.39055100083351135, 0.911179780960083, 0.35368016362190247, -0.23378178477287292, 0.4061090350151062, -0.17330989241600037, 0.06667584180831909, -0.051292870193719864, 0.7992814183235168, -0.004522426053881645, 0.038967303931713104, 0.5217236280441284, -0.05300996080040932, 0.21501366794109344, -0.7895991802215576, -0.12659500539302826, 0.48204952478408813, 0.06244654580950737, -0.5502929091453552, 0.7338495254516602, 0.33684587478637695, -0.7893765568733215, 0.46406108140945435, 0.019432881847023964, -0.3683384954929352, 0.4055449962615967, 0.6672163009643555, 0.8614674806594849, -0.904610276222229, 0.3358577787876129, -0.14483022689819336, 0.11233890056610107, 0.2612629532814026, 0.039814867079257965, -0.15633438527584076, -0.6583069562911987, -0.08500073850154877, -0.32338935136795044, -0.42047208547592163, 0.5325079560279846, -0.6957002878189087, -0.0029179733246564865, -0.27698856592178345, -0.08165287971496582, 0.18022534251213074, 0.09048029035329819, -0.856467604637146, 0.20965775847434998, -0.09712092578411102, 0.7505321502685547, -1.158402442932129, 0.8325549364089966, 1.0337525606155396, -0.4504151940345764, -0.7570284008979797, 0.5535762310028076, 0.1501290500164032, -0.3650743365287781, 0.3664107620716095, -0.17640379071235657, -0.1047116294503212, -0.13357800245285034, -0.1527152806520462, -0.6341226696968079, 0.9032531380653381, 0.7437558770179749, -0.26572710275650024, -0.17914633452892303, 0.11439116299152374, 0.7588953971862793, -0.45048701763153076, 0.03386898711323738, 0.5360448360443115, 0.5078904032707214, -0.012344160117208958, -1.069637656211853, -0.11763912439346313, -0.3444386124610901, -0.004271551035344601, -0.20726339519023895, -0.7033633589744568, 0.7470504641532898, -0.12082156538963318, 0.28125205636024475, 0.3588448762893677, 0.5556340217590332, 0.31013911962509155, 0.3096637427806854, 0.7708696126937866, -0.3801387846469879, 0.7433485388755798, 0.12437722831964493, 1.2873965501785278, -0.08158764243125916, -0.23084458708763123, 1.2164523601531982, -0.3069456219673157, 0.3308444917201996, 0.8173025846481323, -0.06075224280357361, 0.4619710445404053, 0.43305835127830505, 0.10361891984939575, 0.3534167408943176, -0.11231893301010132, -0.37085095047950745, -0.09253672510385513, -0.3000967502593994, 0.011757398024201393, 0.3973459303379059, 0.2949753403663635, -0.541111171245575, -0.08204575628042221, 0.3988967835903168, 0.07649350166320801, 0.3438216745853424, -0.18192024528980255, 0.6220767498016357, 0.058385495096445084, -0.9458944201469421, -0.22784218192100525, 0.04925098270177841, 0.38139820098876953, -0.7426090836524963, 0.12843453884124756, -0.46876952052116394, 0.14088326692581177, -0.29048269987106323, -0.7501739263534546, 0.2584351599216461, 0.13464494049549103, -0.1119004637002945, -0.3507739305496216, 0.8161907196044922, -0.15143807232379913, -0.3235290050506592, 0.12423654645681381, 0.7186357975006104, 0.12546297907829285, 0.17456470429897308, -0.7312555313110352, -0.09784718602895737, 0.23573514819145203, -0.4582078456878662, 0.43634337186813354, 0.2931082248687744, -0.26196742057800293, 0.8293100595474243, 0.31773486733436584, -0.04311077669262886, -0.0008712636190466583, 0.1439346820116043, 0.799591600894928, -0.32867857813835144, -0.33846938610076904, -0.6829070448875427, 0.6585121154785156, 0.1431410312652588, -0.6007741689682007, 1.2936866283416748, 0.33740365505218506, 0.5048583149909973, -0.35100865364074707, 0.5309585928916931, -0.17405888438224792, 0.3024689853191376, -0.21705277264118195, 0.25445786118507385, -0.38797488808631897, 0.46103599667549133, -0.5697442889213562, -0.9309007525444031, -0.1541001945734024, 0.7748090028762817, -0.6043148636817932, 0.6247178912162781, 0.24628207087516785, 0.6747394800186157, -0.10594645142555237, 0.01072201132774353, 0.26207342743873596, 0.0715290904045105, 0.5369330048561096, 0.16429966688156128, 0.7081896662712097, 0.20723693072795868, 0.21733365952968597, -0.34403878450393677, -0.1663869172334671, -0.07954724878072739, -0.5877875685691833, -0.9552222490310669, -0.7216272950172424, -0.4859936535358429, -0.10529407113790512, -0.17047502100467682, 1.0099835395812988, 0.34936556220054626, -0.7233657240867615, -0.26966360211372375, 0.06495481729507446, 0.013309785164892673, 0.01926858350634575, -0.27096277475357056, 0.007553614675998688, -0.03313947096467018, -1.1025447845458984, 0.34484314918518066, -0.006942447274923325, 0.09072650223970413, -0.6715202331542969, 0.019146457314491272, -0.1610139012336731, 0.15282106399536133, 0.39769500494003296, 0.1292562633752823, -0.7928072810173035, -0.5025534629821777, 0.39756330847740173, -0.011490539647638798, -0.1043102964758873, 1.0001046657562256, -0.5512793064117432, 0.38699671626091003, 0.14221720397472382, 0.2848726511001587, -0.04070267826318741, 0.07404448091983795, 0.7975322604179382, -1.071053385734558, 0.1314830183982849, 0.1707545518875122, 0.40232715010643005, 0.6779978275299072, -0.8084772229194641, 0.17286549508571625, 0.017784351482987404, -0.6602988243103027, -0.5307804346084595, 0.13597026467323303, -0.8620813488960266, -0.1902497410774231, 1.3530101776123047, -0.12181268632411957, -0.033236101269721985, -0.3689389228820801, -0.5808621644973755, 0.009581531397998333, -0.5377869009971619, 0.6425373554229736, 0.9659994840621948, -0.5636214017868042, -0.4904090464115143, -0.6641880869865417, 0.5036325454711914, 0.5399751663208008, -0.7601966261863708, 0.14498867094516754, 0.7811418771743774, 0.6041699051856995, 0.13944971561431885, 0.7460946440696716, 0.28909605741500854, 0.26360756158828735, -0.4794178903102875, -0.3646088242530823, -0.08628412336111069, -0.356804221868515, -0.7151827216148376, 0.12158448249101639, 0.6038823127746582, -0.07731430977582932 ]
http://arxiv.org/abs/2407.02067v1
http://arxiv.org/pdf/2407.02067v1
Crossroads of Continents: Automated Artifact Extraction for Cultural Adaptation with Large Multimodal Models
2024-07-02T08:55:41
2024-07-02T08:55:41
Anjishnu Mukherjee, Ziwei Zhu, Antonios Anastasopoulos
cs.CL
cs.CL
In this work, we present a comprehensive three-phase study to examine (1) the effectiveness of large multimodal models (LMMs) in recognizing cultural contexts; (2) the accuracy of their representations of diverse cultures; and (3) their ability to adapt content across cultural boundaries. We first introduce Dalle Street, a large-scale dataset generated by DALL-E 3 and validated by humans, containing 9,935 images of 67 countries and 10 concept classes. We reveal disparities in cultural understanding at the sub-region level with both open-weight (LLaVA) and closed-source (GPT-4V) models on Dalle Street and other existing benchmarks. Next, we assess models' deeper culture understanding by an artifact extraction task and identify over 18,000 artifacts associated with different countries. Finally, we propose a highly composable pipeline, CultureAdapt, to adapt images from culture to culture. Our findings reveal a nuanced picture of the cultural competence of LMMs, highlighting the need to develop culture-aware systems. Dataset and code are available at https://github.com/iamshnoo/crossroads
[ -0.6819191575050354, -0.23476086556911469, 0.6407598257064819, 0.35180455446243286, -0.30781319737434387, 0.30039331316947937, -0.25668463110923767, -0.9539195895195007, 0.03127335384488106, 0.3981853127479553, -0.5616372227668762, -0.6420760750770569, -0.6716224551200867, 0.38997378945350647, -0.3826400935649872, 0.44377121329307556, -0.32411596179008484, -0.035036973655223846, -0.15067456662654877, -0.46646422147750854, -0.5013449788093567, -0.11895013600587845, -0.13794930279254913, -0.1936141401529312, 0.09867923706769943, 0.6606076955795288, 0.6086367964744568, 0.5737047791481018, 0.5229950547218323, 0.32230594754219055, 0.29484161734580994, 0.18141776323318481, -0.4783753454685211, 0.07005959749221802, -0.3654806613922119, -0.06060193106532097, -0.46498993039131165, 0.07721713930368423, 0.3341889977455139, 0.5917603969573975, 0.18846537172794342, 0.43436288833618164, 0.18116548657417297, 0.4425490200519562, -0.6128041744232178, 0.16927392780780792, -0.6666869521141052, -0.055865634232759476, -0.15754717588424683, -0.25815078616142273, -0.36053627729415894, -0.17802484333515167, 0.30867815017700195, -0.8388844132423401, 0.008874408900737762, -0.08506763726472855, 0.47029849886894226, 0.35108256340026855, -0.9699061512947083, -0.48500967025756836, -0.921323835849762, 0.781518280506134, -0.14510488510131836, 0.5388180613517761, 0.23663678765296936, 0.45025748014450073, -0.1733386516571045, -0.9141985177993774, -0.44545361399650574, 0.49042782187461853, 0.24755285680294037, 0.5119693279266357, 0.14668715000152588, -0.31128963828086853, 0.17269623279571533, 0.4395659565925598, -0.5056853294372559, -0.05420803278684616, -0.450545072555542, -0.3063669800758362, 0.8676629662513733, 0.40981027483940125, 0.35626015067100525, -0.3124396502971649, -0.6623572707176208, -0.13878248631954193, -0.5741482973098755, 0.11401376873254776, -0.11577831953763962, 0.1725042313337326, -0.47547659277915955, 0.0520557276904583, -0.34387630224227905, 0.7021052241325378, -0.014410557225346565, -0.4317128360271454, 0.23274344205856323, -0.2958296239376068, 0.09408201277256012, -0.15056252479553223, 0.41346845030784607, 0.9028197526931763, 0.11030928045511246, 0.0464349240064621, 0.04624202847480774, -0.19328054785728455, 0.19493147730827332, -0.556106448173523, -0.35875916481018066, 0.31738266348838806, -0.7998424768447876, 0.09417078644037247, -0.1436426192522049, -0.8382478356361389, -0.9552834630012512, -0.502193033695221, 0.3807547688484192, -0.3249918520450592, -0.3682692050933838, 0.09844893962144852, -0.15222086012363434, 0.4461512267589569, 0.6046456694602966, -0.5570816397666931, 0.09075655788183212, 0.3682527542114258, 1.0089292526245117, -0.4467780292034149, -0.38057076930999756, -0.001016072928905487, 0.09741108864545822, -0.24420355260372162, 0.7542962431907654, -0.38190191984176636, -0.6205558180809021, 0.10429742932319641, 0.6450027227401733, 0.10609254240989685, -0.4377731382846832, 0.7937533855438232, -0.5543943047523499, -0.22967562079429626, -0.6625865697860718, 0.16561660170555115, -0.63251793384552, 0.41668617725372314, -0.9731864333152771, 0.7022483348846436, 0.021505605429410934, -0.36061176657676697, 0.5525146722793579, -0.30866748094558716, -0.38258588314056396, 0.036767132580280304, -0.1034957617521286, 0.045534249395132065, -0.06614694744348526, 0.45171058177948, 0.23963694274425507, -0.3568851947784424, -0.16683858633041382, -0.37117740511894226, -0.3192811906337738, -0.09709878265857697, -0.3750104010105133, 1.079296350479126, 0.3506072461605072, -0.2901768386363983, -0.13237953186035156, -0.9250097274780273, -0.35288098454475403, 0.19365867972373962, -0.26324698328971863, -0.5386757850646973, -0.01459767110645771, 0.44409897923469543, 0.5994435548782349, 0.21205240488052368, -0.48898106813430786, 0.18337176740169525, 0.43043428659439087, 0.3349393606185913, 0.8168469071388245, -0.056028299033641815, 0.5318474769592285, -0.27607303857803345, 0.4593961536884308, 0.296588659286499, 0.3779789209365845, -0.2417898029088974, -0.37458181381225586, -0.5702651739120483, -0.23187166452407837, 0.35356053709983826, 0.42479389905929565, -1.3156055212020874, -0.03153441473841667, -0.46860936284065247, -0.5528310537338257, -0.3618631958961487, -0.20734211802482605, -0.3327908515930176, 0.23931282758712769, 0.1952292025089264, -0.9787611365318298, -0.7106127142906189, -0.6112346053123474, 0.11597062647342682, -0.12073705345392227, 0.015430496074259281, 0.1493653953075409, 0.5981459617614746, 0.029811860993504524, 0.9600383639335632, -0.2811847925186157, -0.15306203067302704, 0.05348300561308861, 0.10474666953086853, -0.02200279012322426, 0.5247663259506226, 0.500533938407898, -0.9596176147460938, -0.5283596515655518, 0.05054207146167755, -0.9915172457695007, -0.009255110286176205, -0.23118910193443298, -0.3189494013786316, 0.034630417823791504, 0.29704007506370544, -0.14345218241214752, 0.26918432116508484, 0.8253344297409058, -0.17238523066043854, 0.40060701966285706, -0.09364581108093262, 0.4989587366580963, -1.0489025115966797, -0.06569208204746246, 0.06628600507974625, -0.2345268875360489, -0.6336007714271545, 0.036454182118177414, 0.24700358510017395, -0.21169671416282654, -0.4586063623428345, 0.38923653960227966, -0.618174135684967, -0.33777353167533875, -0.12235644459724426, 0.272083044052124, 0.20300626754760742, 0.2557433843612671, 0.40088117122650146, 0.43006423115730286, 0.39275848865509033, -0.370567262172699, 0.2864668369293213, 0.3943527638912201, -0.6585710048675537, 1.1298805475234985, -0.11437353491783142, 0.22074131667613983, 0.1153435930609703, 0.7610312700271606, -0.9584149122238159, -0.3058635890483856, 0.34559816122055054, 0.032258376479148865, -0.26096025109291077, -0.4356645345687866, -0.26415327191352844, -0.3374005854129791, -0.06134799122810364, 0.8604336977005005, 0.4644976854324341, -0.657106876373291, 0.9055220484733582, 0.5077393054962158, -0.3061152696609497, -0.25134673714637756, -0.39095425605773926, 0.2587815523147583, -0.4633418917655945, -0.7204631567001343, 0.12882575392723083, -0.23701852560043335, -0.32002273201942444, -0.47303473949432373, 0.018077228218317032, -0.2131720930337906, 0.2946842908859253, 0.3755444884300232, 0.17349009215831757, -0.06561524420976639, -0.008868589997291565, -0.2925183176994324, 0.0592968575656414, -0.12776166200637817, -0.4536912143230438, 0.4363957643508911, -0.012478339485824108, -0.5477219820022583, -0.16634470224380493, 0.2140372395515442, 0.9909442663192749, -0.47954562306404114, 0.12631544470787048, 0.9700697064399719, -0.38485610485076904, 0.1496320515871048, -0.5188667178153992, 0.07264621555805206, -0.39999380707740784, 0.26234790682792664, -0.5202652812004089, -0.31034401059150696, 0.902528703212738, -0.46626272797584534, 0.1081521213054657, 0.3615969121456146, 0.5535835027694702, 0.2151734083890915, 0.8498478531837463, 0.6897149682044983, 0.051942646503448486, 0.0957694724202156, -0.30300626158714294, -0.05772867426276207, -0.9117233157157898, -0.3260989785194397, -0.3444088399410248, -0.5045825839042664, -0.824112057685852, -0.6555722951889038, 0.7298808693885803, -0.3828735947608948, 0.09950051456689835, -0.06911962479352951, -0.22776314616203308, 0.5214424729347229, 0.31211939454078674, 0.24918174743652344, 0.7328388094902039, -0.11287995427846909, 0.2929275333881378, -0.017660638317465782, -0.6199982166290283, -0.43209415674209595, 1.0337668657302856, 0.3753259479999542, 0.58153235912323, 0.07415562123060226, 0.5606774091720581, 0.3806634545326233, 0.2308342456817627, -0.6782009601593018, 0.30984464287757874, -0.33935457468032837, -0.6583835482597351, -0.08937298506498337, 0.20944669842720032, -0.7055730819702148, 0.5086844563484192, -0.40874236822128296, -0.4233861267566681, 0.8744237422943115, -0.229178786277771, -0.6164695620536804, 0.37938743829727173, -0.4594566524028778, 0.637408971786499, -0.23903615772724152, -0.3927842676639557, -0.055421750992536545, -0.819388747215271, 0.398833692073822, -0.34105876088142395, 0.8639758229255676, -0.23178081214427948, 0.10073476284742355, 0.47979670763015747, 0.25758475065231323, 0.8310501575469971, -0.21524402499198914, -0.3765486478805542, 0.2895398437976837, 0.4026026129722595, 0.2685942053794861, -0.09317833185195923, -0.12132056057453156, 0.6111089587211609, 0.20701876282691956, -0.5549957752227783, -0.19336307048797607, 0.586123526096344, -0.7818856835365295, -0.46825888752937317, -0.15651442110538483, -1.0479742288589478, -0.03445928171277046, 0.02742619253695011, 0.010699408128857613, 0.6868108510971069, -0.27404212951660156, 0.06644941866397858, 0.18603572249412537, -0.2513582408428192, 0.45388612151145935, 0.32741013169288635, -0.007610217668116093, -0.4027649164199829, 0.7844672203063965, 0.17263393104076385, 0.24693329632282257, -0.3914881646633148, -0.24420325458049774, 0.05395222827792168, -0.5437660813331604, -0.8456793427467346, -0.1016080304980278, -1.1788238286972046, 0.07906419783830643, -0.31541821360588074, 0.19827936589717865, -0.18102777004241943, -0.3347429931163788, -0.10707787424325943, -0.417791485786438, 0.11810996383428574, 0.23818489909172058, 0.176076278090477, 1.016715168952942, -0.5051164627075195, 0.14134399592876434, -0.8363994359970093, 0.0715712234377861, 0.23423896729946136, 0.06099314242601395, 0.05075651407241821, -0.3475498557090759, -0.5349321365356445, -0.009829027578234673, -0.32184165716171265, -0.6326621174812317, 0.21460574865341187, -0.02497544139623642, 0.30520665645599365, 0.352973073720932, 0.32567915320396423, 0.894195020198822, -0.5136452913284302, 1.0926508903503418, -0.012584485113620758, -0.8536800742149353, -0.005527284927666187, -0.31610769033432007, 0.6437851190567017, 0.5532142519950867, 0.6128069162368774, -0.8252074122428894, -0.18127387762069702, -0.3635043799877167, -0.8734468817710876, 0.5940704941749573, -0.21643343567848206, -0.14859835803508759, 0.08942291140556335, -0.058000046759843826, 0.5867692828178406, -0.17218288779258728, -0.686491072177887, 0.1621583253145218, -0.2343721240758896, -0.2615041732788086, -0.060300253331661224, 0.0640297681093216, -0.4849042296409607, -0.06313512474298477, 0.408648282289505, -0.2101362645626068, -0.24717041850090027, 0.4122121334075928, -0.6829599142074585, -0.19327010214328766, -0.07774004340171814, 0.47615596652030945, 1.1106717586517334, -0.03755231201648712, 0.12017707526683807, 0.4740394055843353, -0.6363199949264526, 0.21164435148239136, -0.011722655966877937, 0.07216940075159073, -0.11483360081911087, 0.5264070630073547, 0.4446428716182709, -0.09048131853342056, -0.34863635897636414, 0.22424298524856567, -0.2292245328426361, -0.07200410962104797, -0.5351943969726562, -0.4806332290172577, -0.18239520490169525, 0.7871739864349365, 0.6427594423294067, -0.06478402018547058, 0.300600528717041, -0.5848186612129211, 0.03795429691672325, 0.14909343421459198, -0.4342217743396759, -0.40212059020996094, 0.4908694922924042, 0.6720239520072937, 0.16232182085514069, 0.6528788805007935, 0.042140793055295944, -0.5431721210479736, 0.6576001644134521, 0.16149844229221344, 0.6610415577888489, -0.24551501870155334, 0.26678529381752014, 0.3693300783634186, 0.4067094326019287, -0.07588809728622437, 0.02714579552412033, 0.046951018273830414, -0.7101253271102905, -0.4030260145664215, -0.38993197679519653, -0.32966962456703186, -0.18877370655536652, -0.5711350440979004, 0.2901135981082916, -0.12232640385627747, -0.11234775930643082, -0.45609214901924133, -0.1537531465291977, -0.8547260761260986, 0.293697714805603, 0.48023971915245056, 0.9956849813461304, -1.4173486232757568, 0.5149098038673401, 0.6328100562095642, -0.2354615032672882, -0.3832758069038391, 0.23775264620780945, 0.3762020468711853, -0.6755838394165039, 0.6380093097686768, -0.06459200382232666, -0.029276441782712936, -0.063819520175457, -0.3841262459754944, -1.0086482763290405, 1.58731210231781, -0.21035762131214142, -0.41551458835601807, 0.21252577006816864, 0.2199777066707611, 0.29827427864074707, -0.652596116065979, 0.29817909002304077, 0.8741450905799866, 0.5259260535240173, 0.08791545778512955, -1.1264268159866333, 0.10145476460456848, 0.021879376843571663, -0.07650235295295715, 0.04533136263489723, -0.6342594623565674, 0.946897566318512, -0.0037185121327638626, -0.23554107546806335, 0.2545798122882843, 0.31087321043014526, 0.1966489851474762, 0.47045910358428955, 1.0820287466049194, 0.17934884130954742, 0.6409748792648315, -0.41012290120124817, 0.7829317450523376, -0.5638571381568909, 0.1787782460451126, 0.7082952260971069, -0.4502933621406555, 0.502941906452179, 0.4361220896244049, 0.026115870103240013, 0.841231107711792, 1.2305989265441895, 0.20216412842273712, 0.5997859239578247, -0.12061849236488342, -0.20557330548763275, -0.4729357659816742, -0.31706365942955017, -0.4300299286842346, 0.9332935810089111, 0.4000698924064636, -0.06839672476053238, -0.27506035566329956, 0.2594762444496155, -0.25486016273498535, -0.27602261304855347, -0.4157322943210602, 0.6751793026924133, 0.02647755667567253, -0.43174463510513306, 0.7974549531936646, -0.36238276958465576, 0.26644912362098694, -0.37303221225738525, -0.17293131351470947, -0.2770211398601532, 0.03410889953374863, -0.21981148421764374, -0.5873013734817505, -0.005600446835160255, -0.4259958565235138, -0.02665743976831436, 0.0365922786295414, 0.7282236814498901, -0.3983171582221985, -0.3562336564064026, 0.27156543731689453, 0.5520616173744202, 0.16911517083644867, 0.18084776401519775, -0.5068599581718445, 0.5319405794143677, -0.00586702860891819, 0.10666239261627197, 0.21079562604427338, 0.6739577651023865, -0.4565744996070862, 0.33743706345558167, 0.4968688189983368, -0.09123269468545914, -0.21301324665546417, -0.08195962011814117, 0.4248034954071045, -0.48194757103919983, -0.38608652353286743, -0.5632182955741882, 0.894708514213562, -0.29258912801742554, -0.04323606193065643, 0.5736425518989563, 0.28205960988998413, 1.0744190216064453, -0.24701730906963348, 1.0987690687179565, -0.25686541199684143, -0.058808036148548126, -0.5390192270278931, 0.5185602307319641, -0.7515917420387268, -0.0838145837187767, -0.395041286945343, -0.9449180364608765, -0.18582502007484436, 0.23553302884101868, -0.4125189483165741, -0.2793886065483093, 0.7641198039054871, 0.49567484855651855, -0.3411642611026764, 0.17496362328529358, 0.18588031828403473, 0.2642926871776581, 0.14738710224628448, 0.47425147891044617, 0.9255654215812683, -0.3125814199447632, 0.5560470819473267, -0.35055026412010193, -0.37867438793182373, -0.13492463529109955, -0.9426340460777283, -0.354408323764801, -0.9975638389587402, -0.14860579371452332, -0.235031396150589, -0.0952964499592781, 0.8694732189178467, 0.7618892192840576, -0.680539608001709, -0.6640580892562866, 0.8640827536582947, 0.030083583667874336, -0.3055102825164795, -0.07505667954683304, 0.357881098985672, 0.1144719049334526, -0.9843906760215759, 0.2705208659172058, 0.368500292301178, -0.10337241739034653, -0.44870737195014954, 0.04684387519955635, -0.1644574999809265, -0.20227302610874176, 0.948011040687561, 0.17501476407051086, -0.615570068359375, -0.612017810344696, -0.23932036757469177, 0.2393101304769516, 0.09222761541604996, 0.8250450491905212, -0.4639579951763153, 0.7291121482849121, 0.4193117320537567, 0.43081697821617126, 0.32243114709854126, 0.14827774465084076, 0.7808739542961121, -0.48480314016342163, 0.4837881922721863, -0.2159213125705719, 0.6016762852668762, 0.6485596895217896, 0.02969502843916416, 0.7376571893692017, 0.29645392298698425, -0.762775719165802, -0.5134029984474182, 0.46013638377189636, -0.8626246452331543, -0.3900817930698395, 1.0299770832061768, -0.12512946128845215, -0.25630393624305725, -0.6264355778694153, -0.21992595493793488, 0.33374813199043274, 0.06233704835176468, 1.0561414957046509, 0.9124077558517456, 0.12882232666015625, 0.07681770622730255, -0.8040947318077087, 0.3038724958896637, 0.051122214645147324, -0.6594140529632568, -0.0052879066206514835, 0.7755675315856934, 0.30162858963012695, 0.5109301209449768, 0.4121372103691101, -0.18686550855636597, 0.3336141109466553, -0.1828300803899765, 0.44594019651412964, 0.3597705066204071, -0.3152991831302643, -0.4035066068172455, 0.03171718865633011, 0.1801944226026535, -0.13921765983104706 ]
http://arxiv.org/abs/2407.02066v1
http://arxiv.org/pdf/2407.02066v1
BiasDora: Exploring Hidden Biased Associations in Vision-Language Models
2024-07-02T08:55:40
2024-07-02T08:55:40
Chahat Raj, Anjishnu Mukherjee, Aylin Caliskan, Antonios Anastasopoulos, Ziwei Zhu
cs.CL
cs.CL
Existing works examining Vision Language Models (VLMs) for social biases predominantly focus on a limited set of documented bias associations, such as gender:profession or race:crime. This narrow scope often overlooks a vast range of unexamined implicit associations, restricting the identification and, hence, mitigation of such biases. We address this gap by probing VLMs to (1) uncover hidden, implicit associations across 9 bias dimensions. We systematically explore diverse input and output modalities and (2) demonstrate how biased associations vary in their negativity, toxicity, and extremity. Our work (3) identifies subtle and extreme biases that are typically not recognized by existing methodologies. We make the Dataset of retrieved associations, (Dora), publicly available here https://github.com/chahatraj/BiasDora.
[ -0.40332773327827454, -0.6632190942764282, 0.6655756235122681, 0.14236530661582947, 0.038597628474235535, -0.061880506575107574, 0.03651003539562225, -0.8599519729614258, 0.49456727504730225, 0.6869894862174988, -0.7002728581428528, -0.6886025667190552, -0.8462125062942505, -0.20100371539592743, -0.7403801083564758, 1.1322460174560547, 0.15016399323940277, 0.4600053131580353, -0.13450995087623596, -0.4460737109184265, -0.512036919593811, -0.4361954629421234, -0.30931356549263, -0.03219249099493027, 0.5099882483482361, 0.12930361926555634, 0.45733511447906494, 0.40371185541152954, 0.607843816280365, 0.14106608927249908, -0.3146962523460388, -0.04093262180685997, -0.6611655950546265, 0.03694824129343033, -0.3869767487049103, -0.4360829293727875, -0.41651198267936707, 0.32676854729652405, 0.3616620600223541, 0.7409210205078125, 0.22429387271404266, 0.7704330086708069, 0.06888475269079208, 0.8346984386444092, -1.2027286291122437, 0.2256198525428772, -0.6754665970802307, 0.3856198787689209, -0.5318032503128052, 0.1115540936589241, -0.10822446644306183, -0.45634886622428894, 0.47102200984954834, -0.35057416558265686, 0.5647327899932861, -0.018980640918016434, 0.8140774369239807, 0.38602927327156067, -0.5109532475471497, -0.404513418674469, -0.8057259917259216, 0.8389700651168823, -0.2125067412853241, 0.14208005368709564, 0.3810379207134247, 0.415059357881546, 0.4203246831893921, -0.5648542642593384, -0.40712887048721313, -0.036416810005903244, -0.16629129648208618, 0.06259237229824066, -0.5017192363739014, -0.20288144052028656, 0.4876331388950348, 0.28307804465293884, -0.34572914242744446, -0.25510072708129883, -0.7129430174827576, -0.3509742319583893, 0.44785040616989136, 0.3600798547267914, 0.2432011365890503, 0.03207636997103691, -0.2292950451374054, 0.02790200151503086, -0.8693059682846069, 0.007179861422628164, 0.7011685967445374, -0.006846777629107237, -0.22104313969612122, 0.6118743419647217, -0.12045572698116302, 0.686000645160675, -0.01588778756558895, 0.20505963265895844, 0.45332157611846924, -0.49451830983161926, -0.24995820224285126, 0.016478540375828743, 0.7679492831230164, 0.4449743628501892, 0.20828808844089508, 0.16973860561847687, -0.0755944550037384, 0.5659012198448181, 0.2828969359397888, -0.33469969034194946, -0.12172728776931763, -0.047380946576595306, -0.6776564121246338, -0.9555051922798157, -0.15481151640415192, -1.2358088493347168, -0.8954057097434998, -0.12470711022615433, 0.41689369082450867, -0.013727141544222832, -0.3458974063396454, -0.02252628654241562, -0.41381996870040894, 0.4994162619113922, 0.27410587668418884, -0.7190640568733215, 0.501117467880249, 0.3906635344028473, 0.6590052843093872, 0.09935804456472397, -0.2680540978908539, -0.6913069486618042, -0.05663038045167923, -0.5138278007507324, 0.35384348034858704, -1.006160855293274, -0.27555033564567566, 0.31503233313560486, -0.1167198121547699, 0.15496303141117096, -0.669617772102356, 0.7695287466049194, -0.3273591101169586, 0.3126145005226135, -0.6577019691467285, 0.022264672443270683, -0.12678535282611847, 0.1095481589436531, -0.6890057325363159, 1.185434341430664, -0.06283461302518845, -0.960784912109375, 0.6481112837791443, -0.46688371896743774, -0.20767194032669067, -0.3857089877128601, -0.386559396982193, -0.3225753605365753, 0.3993370831012726, 0.3506435751914978, 0.29089733958244324, -0.21623745560646057, 0.3096086084842682, -0.6736900210380554, -0.24761204421520233, 0.07876387983560562, -0.41568130254745483, 1.0829071998596191, -0.02709110453724861, -0.5750129818916321, 0.3966817259788513, -0.8117908835411072, -0.6278822422027588, 0.21049155294895172, 0.11491695791482925, -0.783009946346283, 0.020218025892972946, 0.17622728645801544, 0.18874506652355194, 0.3358762264251709, -0.5272999405860901, 0.14060896635055542, 0.040382545441389084, 0.034215983003377914, 0.9896461367607117, -0.4810941219329834, 0.543491542339325, 0.08736647665500641, 0.45368874073028564, 0.3494470715522766, 0.7133938670158386, 0.13954736292362213, -0.49952661991119385, -1.1533560752868652, -0.1268591284751892, 0.02598092518746853, 0.28007978200912476, -0.5391595363616943, -0.24331189692020416, 0.06394538283348083, -0.36390119791030884, -0.963526725769043, 0.17748306691646576, 0.7328894138336182, 0.6630315780639648, 0.30963173508644104, -0.6411649584770203, -0.7124847173690796, -1.3008278608322144, -0.3320215344429016, 0.06456471234560013, 0.06087420880794525, 0.5104530453681946, 0.607860803604126, -0.4834313988685608, 0.8333137035369873, -0.5485230684280396, -0.9496610760688782, -0.1080276221036911, -0.015984492376446724, 0.2089393138885498, -0.02310137264430523, 1.0007768869400024, -0.7287279963493347, -0.4308163821697235, -0.34870463609695435, -0.8082712292671204, -0.3386436104774475, 0.350327730178833, -0.3083871006965637, -0.045199524611234665, 0.35810524225234985, -0.2722114622592926, 0.7342721819877625, 0.7954116463661194, -0.5498376488685608, 0.5226043462753296, 0.0700683742761612, -0.2658035457134247, -0.6380472779273987, 0.034519538283348083, 0.32640478014945984, -0.1290520280599594, -0.7067909240722656, 0.012884481810033321, 0.1591375172138214, 0.14159637689590454, -0.5467362999916077, 0.4362064301967621, -0.7600476145744324, -0.4672779142856598, 0.007242049090564251, 0.1276979148387909, -0.0730043351650238, 0.434434175491333, 0.28899991512298584, 0.644473671913147, 1.1134597063064575, -0.5192288756370544, 0.014252843335270882, 0.09464941173791885, -0.2218046933412552, 0.5072409510612488, -0.6628826260566711, 0.03788723796606064, -0.3814941644668579, -0.11250461637973785, -0.4832979738712311, 0.00041605415754020214, 0.5130268335342407, -0.2382686287164688, 0.025105081498622894, -0.3772561848163605, -0.011119143106043339, -0.23093678057193756, -0.6477408409118652, 0.5049241781234741, 0.45066165924072266, -0.4669109284877777, 0.707892119884491, 0.9281390905380249, 0.2982213497161865, -1.0224462747573853, -0.3692011833190918, 0.020544622093439102, -0.32418355345726013, -0.3536331355571747, 0.06483250856399536, -0.0031665207352489233, -0.7492287755012512, -0.12099505960941315, 0.047174662351608276, 0.02964762970805168, -0.10056320577859879, 0.4970865249633789, 0.27943384647369385, -0.1890648454427719, -0.2128838300704956, -0.07257848232984543, 0.14881572127342224, 0.13819701969623566, -0.042086780071258545, 0.6646541953086853, -0.21270060539245605, -0.18868958950042725, 0.12919136881828308, 0.35735395550727844, 0.8139641880989075, -0.6339846253395081, 0.7785601615905762, 0.8501551747322083, -0.2923077940940857, -0.133400559425354, -0.49912428855895996, -0.016080010682344437, -0.4302491843700409, 0.3166925609111786, -0.17036248743534088, -0.7327275276184082, 0.7131664156913757, 0.4234676957130432, -0.15275193750858307, 0.2688305377960205, 0.6592292189598083, 0.3075535297393799, 1.0234453678131104, 1.058566689491272, -0.4999890923500061, 0.6101124286651611, -0.2701176404953003, 0.06256161630153656, -1.1270495653152466, -0.22115787863731384, -0.4130275845527649, 0.056561361998319626, -0.5942205786705017, -0.5852624177932739, 0.5110849738121033, -0.3989187777042389, 0.12756046652793884, -0.08699639141559601, -0.4384661316871643, 0.4727615714073181, 0.8544240593910217, 0.08268054574728012, 0.06807082146406174, -0.2539616823196411, 0.08003009855747223, -0.1020338162779808, -0.47240784764289856, -0.5394373536109924, 1.516945242881775, 0.581614077091217, 0.6643167734146118, 0.23388038575649261, 0.6092161536216736, 0.40795260667800903, 0.46233639121055603, -0.6184018850326538, 0.5085399150848389, 0.1172664687037468, -0.9586555361747742, -0.1490415781736374, -0.08606860041618347, -0.7235802412033081, 0.3692373037338257, -0.3110906481742859, -0.7791219353675842, 0.4864285886287689, 0.427607923746109, -0.03274201974272728, 0.036822013556957245, -0.5656192898750305, 0.7814239263534546, -0.02025594189763069, -0.9186363816261292, 0.017598537728190422, -0.6329115033149719, 0.8285152316093445, -0.04318326711654663, 0.40496423840522766, -0.18751245737075806, 0.19350896775722504, 0.8016819357872009, -0.1932017207145691, 1.1742141246795654, -0.0929083600640297, -0.11488749086856842, 0.08218808472156525, 0.1622459441423416, 0.525797963142395, -0.047065649181604385, 0.3542678654193878, 0.41233235597610474, -0.10111435502767563, -0.46476006507873535, -0.23961174488067627, 0.7149885296821594, -0.7842535972595215, -0.5029819011688232, -0.7156492471694946, -0.4569990932941437, -0.22819311916828156, 0.2984221577644348, -0.011816813610494137, 0.5965133309364319, -0.4186590611934662, -0.2573179006576538, 1.0278934240341187, -0.34391629695892334, 0.2673158347606659, 0.8139338493347168, -0.5308440923690796, 0.034505538642406464, 0.7559546828269958, -0.056273866444826126, 0.032748281955718994, 0.21146950125694275, 0.15226632356643677, -0.09393783658742905, -0.4580616056919098, -0.22691437602043152, 0.26196619868278503, -0.5860084295272827, 0.2852325737476349, -0.7336997985839844, 0.07136639952659607, -0.6698875427246094, 0.12646809220314026, -0.3509494364261627, -0.1400182843208313, -0.3718728721141815, -0.17064543068408966, 0.14553411304950714, 1.1273008584976196, -0.01159991417080164, -0.02821948751807213, -0.34673312306404114, 0.36079126596450806, 0.47486141324043274, 0.2596389949321747, -0.012226732447743416, -0.1086592823266983, -0.013349775224924088, -0.12905004620552063, -0.16503974795341492, -1.2586545944213867, 0.7039260268211365, -0.1504739671945572, 0.45321518182754517, 0.7845457196235657, -0.16488343477249146, 0.5417726039886475, -0.6337540745735168, 0.805306077003479, 0.18952296674251556, -1.0298244953155518, 0.6864739656448364, -0.5201608538627625, -0.19723597168922424, 0.3199480473995209, 0.3643414080142975, -0.3113533854484558, -0.4856114685535431, -0.46496474742889404, -0.8049653768539429, 0.5308391451835632, 0.258694052696228, 0.17571991682052612, 0.10378409177064896, -0.14844316244125366, 0.06847807765007019, 0.3517562448978424, -0.8784452676773071, -0.5759609341621399, -0.10668875277042389, -0.22054654359817505, -0.11871114373207092, -0.7192710638046265, -0.45424461364746094, -0.2196040153503418, 0.45719122886657715, -0.17100942134857178, 0.13777953386306763, 0.0937785804271698, -0.3292866051197052, -0.15191709995269775, 0.025349028408527374, 0.8325366973876953, 0.7264692783355713, -0.36392244696617126, 0.45606863498687744, 0.05668547749519348, -0.9227662682533264, -0.23441322147846222, -0.19360235333442688, -0.4015488028526306, 0.15592776238918304, 0.5024217963218689, 0.840130090713501, -0.0728515237569809, -0.6676093935966492, 0.7844024300575256, -0.24865734577178955, 0.03391033783555031, -0.6994461417198181, 0.13626113533973694, -0.2502237558364868, 0.4163420498371124, 0.36583173274993896, 0.22480382025241852, 0.578518271446228, -0.7954664826393127, -0.15845166146755219, 0.70984947681427, -1.1809844970703125, -0.36227697134017944, 0.8213223218917847, 0.20018649101257324, -0.02537345699965954, 0.21930602192878723, 0.14749030768871307, -0.5826333165168762, 0.541989266872406, 0.005007042083889246, 0.7868844270706177, 0.18071776628494263, 0.3739302456378937, 0.10345225036144257, 0.7995540499687195, 0.26774582266807556, 0.2063160240650177, -0.04301175847649574, -0.8854701519012451, 0.06990104913711548, -0.7720252275466919, -0.18840749561786652, 0.37677451968193054, -0.947521448135376, 0.19785138964653015, -0.2092912346124649, -0.2225104570388794, 0.04329770803451538, -0.20740871131420135, -0.9332089424133301, 0.013050508685410023, 0.1896185725927353, 0.9066591262817383, -1.3542838096618652, 0.6914992332458496, 0.46877777576446533, -0.6799414753913879, -0.3768406808376312, 0.05614994838833809, 0.36072754859924316, -1.0317937135696411, 1.0209113359451294, -0.05617431178689003, -0.23373806476593018, -0.4113394021987915, -0.6511015295982361, -0.9595917463302612, 0.9140274524688721, 0.060319557785987854, -0.5849809050559998, -0.006940979044884443, 0.05496617406606674, 0.6662717461585999, -0.3967302441596985, 0.3692534565925598, 0.640291690826416, 0.3040096163749695, -0.2900548279285431, -0.9171963930130005, -0.019539594650268555, -0.3318791389465332, 0.092873215675354, 0.054460249841213226, -0.554314136505127, 0.8449679613113403, -0.2509901225566864, 0.05643617734313011, -0.31736883521080017, 0.483553946018219, 0.1592518538236618, 0.5391289591789246, 0.11773759871721268, 0.4746018648147583, 0.7293077111244202, 0.059260912239551544, 1.092613697052002, -0.1378961205482483, 0.30776718258857727, 1.118492603302002, -0.5351284146308899, 0.3987205922603607, 0.8225361108779907, -0.1354094296693802, 0.328325480222702, 0.4273776710033417, 0.2086278647184372, 0.6596885323524475, -0.0003471602394711226, -0.2584170699119568, -0.01097849290817976, -0.38457828760147095, -0.33399471640586853, 0.37336787581443787, 0.35505950450897217, -0.8795444965362549, 0.012312107719480991, -0.11791054159402847, 0.0041861883364617825, -0.18729323148727417, -0.5746964812278748, 0.5376381874084473, -0.07454023510217667, -0.34586459398269653, 0.10612161457538605, -0.31826603412628174, 0.8710927367210388, -0.49507802724838257, -0.19822774827480316, -0.31649816036224365, 0.2667013704776764, -0.07951990514993668, -0.7240729331970215, 0.17109374701976776, 0.07668204605579376, -0.45680123567581177, -0.21169611811637878, 1.0065836906433105, -0.2522358000278473, -0.5826540589332581, 0.5152767896652222, 0.5145057439804077, 0.018674753606319427, 0.1033414974808693, -0.4698817729949951, 0.28109848499298096, 0.08975016325712204, -0.08972824364900589, 0.4581567347049713, 0.2069820761680603, -0.290571928024292, 0.7173279523849487, 0.5691763758659363, 0.40105175971984863, 0.5391916632652283, 0.254665344953537, 0.8823131918907166, -0.41572725772857666, -0.1226494088768959, -0.770374059677124, 0.32369130849838257, -0.314513623714447, -0.5367986559867859, 1.1018189191818237, 0.5863412022590637, 0.9776079058647156, -0.3782854378223419, 0.8051546216011047, 0.1645035743713379, 0.44135403633117676, -0.495286226272583, 0.6506481766700745, -0.4889470040798187, 0.30344417691230774, -0.8127323389053345, -0.7472952008247375, -0.1531708836555481, 0.6530724763870239, -0.6039458513259888, -0.16456998884677887, 0.34162941575050354, 0.991158127784729, -0.26027393341064453, -0.25187963247299194, 0.4910902678966522, 0.2516438364982605, 0.1171518862247467, 0.37084686756134033, 1.0730209350585938, -0.28176337480545044, 0.27240198850631714, -0.16017794609069824, -0.3757146894931793, -0.38844823837280273, -0.7096189260482788, -1.1770250797271729, -0.5698091387748718, -0.18978852033615112, -0.41264328360557556, 0.04835473373532295, 0.449894517660141, 0.6029324531555176, -0.6768019199371338, -0.2169114351272583, 0.11776715517044067, 0.3279912769794464, -0.050358012318611145, -0.2730100452899933, 0.1447361707687378, 0.09199012815952301, -0.7678287625312805, -0.07454866915941238, 0.2591165006160736, -0.024783140048384666, -0.9536219239234924, -0.01192383375018835, 0.1016886755824089, 0.34355250000953674, 0.7643071413040161, -0.012327874079346657, -0.6139687895774841, -0.15204168856143951, 0.022462021559476852, -0.008061116561293602, -0.18014678359031677, 0.8815054297447205, -0.9109417200088501, 0.46410343050956726, 0.4519719183444977, -0.10236754268407822, 0.6230900287628174, -0.6053465008735657, 0.5651441812515259, -0.6974625587463379, 0.23053231835365295, 0.1327507197856903, 0.5813084244728088, 0.21767573058605194, -0.2196265608072281, 0.560854971408844, 0.2869522273540497, -0.0029444119427353144, -0.9995253682136536, 0.5018854737281799, -0.7690423130989075, -0.1796254813671112, 1.279984951019287, 0.30881398916244507, -0.49949708580970764, -0.08116506040096283, -0.5124266743659973, -0.013541935943067074, -0.24710063636302948, 0.9189389944076538, 0.3928598463535309, 0.041317619383335114, -0.18308605253696442, -0.8187441825866699, 0.8556511402130127, 0.16018196940422058, -0.4956153333187103, -0.04060928151011467, 0.8185632228851318, 0.5354160666465759, 0.3905436396598816, 0.8210681080818176, -0.3233143389225006, 0.19285807013511658, -0.04221917316317558, -0.04110344126820564, 0.16667121648788452, -0.611806333065033, -0.38666659593582153, 0.23018036782741547, -0.17296701669692993, -0.2124188393354416 ]
http://arxiv.org/abs/2407.02062v1
http://arxiv.org/pdf/2407.02062v1
Are Data Augmentation Methods in Named Entity Recognition Applicable for Uncertainty Estimation?
2024-07-02T08:49:43
2024-07-02T08:49:43
Wataru Hashimoto, Hidetaka Kamigaito, Taro Watanabe
cs.CL
cs.CL, cs.AI, cs.LG
This work investigates the impact of data augmentation on confidence calibration and uncertainty estimation in Named Entity Recognition (NER) tasks. For the future advance of NER in safety-critical fields like healthcare and finance, it is essential to achieve accurate predictions with calibrated confidence when applying Deep Neural Networks (DNNs), including Pre-trained Language Models (PLMs), as a real-world application. However, DNNs are prone to miscalibration, which limits their applicability. Moreover, existing methods for calibration and uncertainty estimation are computational expensive. Our investigation in NER found that data augmentation improves calibration and uncertainty in cross-genre and cross-lingual setting, especially in-domain setting. Furthermore, we showed that the calibration for NER tends to be more effective when the perplexity of the sentences generated by data augmentation is lower, and that increasing the size of the augmentation further improves calibration and uncertainty.
[ -0.16869230568408966, -0.32466888427734375, 0.583202064037323, -0.034898120909929276, -0.14899468421936035, 0.24343284964561462, -0.21593573689460754, -0.737493097782135, 0.12471188604831696, 0.36191853880882263, -0.3372529149055481, -0.2850474417209625, -0.6097437739372253, 0.3134308159351349, -0.2016819417476654, 0.617466926574707, -0.06755497306585312, 0.4022802710533142, -0.2813483774662018, 0.2143697440624237, -0.4531978368759155, -0.5419754981994629, -0.6618527770042419, -0.2466629296541214, 0.510402262210846, 0.15881282091140747, 0.7205157279968262, 0.4042104482650757, 0.7211658954620361, 0.3009953498840332, 0.06241508200764656, 0.3509370684623718, -0.12497081607580185, 0.14227862656116486, -0.11666542291641235, -0.5708267092704773, -0.338670939207077, -0.14949391782283783, 0.874045193195343, 0.8900765180587769, -0.034356750547885895, -0.24203450977802277, -0.016309985890984535, 0.6715131998062134, -0.6422679424285889, 0.14054997265338898, -0.6245453953742981, 0.08088909089565277, -0.052660223096609116, -0.25201210379600525, -0.05957126244902611, -0.42467495799064636, 0.5368634462356567, -0.8955411911010742, -0.09840231388807297, 0.1643974781036377, 0.920384407043457, 0.6510011553764343, -0.29708290100097656, -0.3742784857749939, -0.9514434337615967, 0.8171588778495789, -0.8095638155937195, 0.5834696292877197, 0.42539340257644653, 0.28327009081840515, -0.3837224543094635, -0.6810969114303589, -0.7804549932479858, 0.05206766352057457, -0.0342080183327198, -0.02078310213983059, -0.11510855704545975, 0.36337462067604065, 0.46187618374824524, 0.5912126302719116, -0.04276050627231598, 0.3378129005432129, -0.24246126413345337, -0.4263189733028412, 0.8116872310638428, -0.07966705411672592, 0.15771432220935822, -0.1002536416053772, -0.38875800371170044, -0.20616422593593597, -0.6115583181381226, 0.11247818171977997, 0.5856912732124329, 0.24749064445495605, 0.04327792674303055, 0.3982278108596802, -0.3168516159057617, 0.7195752859115601, 0.18186143040657043, -0.44382140040397644, 0.5282160043716431, -0.2635692059993744, -0.40110746026039124, 0.3760513365268707, 0.5265668034553528, 0.23626676201820374, 0.39198037981987, -0.2564631700515747, -0.205867201089859, -0.22123119235038757, 0.16706296801567078, -0.5932725071907043, -0.32114943861961365, 0.19171342253684998, 0.16646449267864227, -0.2660141885280609, 0.24465955793857574, -0.7574059367179871, -0.5968554615974426, -0.47096115350723267, 0.4865499436855316, -0.5126045942306519, -0.10380419343709946, 0.09947604686021805, 0.12314791977405548, 0.21794363856315613, 0.5149391889572144, -0.4157833755016327, 0.19384299218654633, 0.6683202981948853, 0.27181413769721985, 0.048138491809368134, -0.011278526857495308, -0.47046366333961487, -0.026390908285975456, -0.44246941804885864, 0.35878708958625793, -0.53362637758255, -0.23782309889793396, -0.368547260761261, -0.02836894802749157, -0.3259144425392151, -0.37894025444984436, 0.5941592454910278, -0.7237219214439392, -0.00915143359452486, 0.011394187808036804, -0.8609457015991211, -0.3388630747795105, 0.1658269762992859, -0.9085755944252014, 0.8424960374832153, -0.004937076475471258, -0.8744155764579773, 0.7990570068359375, -0.21470840275287628, -0.45042404532432556, 0.19073539972305298, -0.3299539387226105, -0.5288002490997314, 0.17014151811599731, 0.44650521874427795, 0.37283948063850403, -0.1837984323501587, 0.41189178824424744, -0.20664793252944946, -0.4171432852745056, 0.7777646780014038, -0.7743380665779114, 0.3140122592449188, -0.07754158228635788, -0.2021894007921219, -0.35512977838516235, -0.8311086297035217, 0.31046631932258606, -0.3566785454750061, -0.2225334197282791, -0.48743435740470886, -0.12784886360168457, -0.16791266202926636, 0.05670108646154404, 0.1452217400074005, -0.6404641270637512, -0.20159688591957092, -0.8065956830978394, 0.04077521339058876, 0.43822237849235535, 0.24241068959236145, 0.49975907802581787, -0.12875275313854218, 0.5177468061447144, 0.1724015772342682, -0.23088273406028748, 0.12317945808172226, -0.4380769431591034, -0.6365879774093628, -0.11742918938398361, 1.164038896560669, 0.7206124663352966, -0.8645656108856201, 0.46947893500328064, -0.5199602246284485, -0.4730580449104309, -0.5321364402770996, -0.21030360460281372, 0.11439844965934753, 0.7735140919685364, 0.297920823097229, -0.05431876704096794, -0.8709569573402405, -0.6700164079666138, -0.20413535833358765, -0.17079536616802216, -0.058661531656980515, 0.511100709438324, 0.36139556765556335, -0.11179014295339584, 0.9177091717720032, -0.2307656705379486, -0.05648098513484001, 0.14341962337493896, 0.1231388971209526, 0.02034466341137886, 0.6741337776184082, 0.21945911645889282, -1.1644446849822998, -0.2719380855560303, -0.16432538628578186, -0.4247330129146576, 0.2957376539707184, -0.3432704210281372, 0.19967542588710785, 0.01752519980072975, 0.02338043414056301, -0.328998863697052, 0.7513619065284729, 0.39113420248031616, 0.2682182192802429, 0.32126036286354065, -0.3747633099555969, 0.3266609311103821, -1.2240718603134155, -0.2340058833360672, 0.2000674605369568, -0.3134717047214508, -0.779323399066925, -0.2680988907814026, 0.24217016994953156, 0.25894737243652344, -0.3033265173435211, 0.35191088914871216, -0.7396544814109802, -0.06413830071687698, -0.1589849293231964, 0.05344042181968689, 0.21688403189182281, -0.2458060085773468, 0.3765692114830017, 0.9174726009368896, 0.954310953617096, -0.7447174787521362, 0.3152207136154175, 0.035192783921957016, -0.657377302646637, 0.5786214470863342, -0.3622704744338989, -0.06921213865280151, -0.10420769453048706, 0.1645825356245041, -0.6378628015518188, -0.3928453028202057, 0.33873024582862854, -0.5471251010894775, 0.7881168723106384, 0.004579512868076563, -0.2272714227437973, -0.3485395610332489, 0.03276176378130913, 0.5124838352203369, 0.24098263680934906, -0.3583211600780487, 0.6054508686065674, 0.5813885927200317, -0.05949815362691879, -0.8375259041786194, -1.1799898147583008, 0.29946473240852356, -0.3456668555736542, -0.2868613004684448, 0.617340087890625, 0.04099397733807564, -0.16113317012786865, -0.2316678762435913, -0.3870919346809387, -0.37520772218704224, 0.07265268266201019, 0.48085764050483704, 0.3396017849445343, -0.055766478180885315, 0.49087637662887573, 0.15181276202201843, -0.07151632755994797, 0.04093560948967934, -0.05119726434350014, 0.05879942700266838, 0.06499787420034409, -0.4148580729961395, -0.5154709815979004, -0.08334407210350037, 0.08722233772277832, -0.06338874995708466, 0.6810529232025146, 0.6214761137962341, -0.8780415058135986, 0.07597742974758148, -0.798374354839325, -0.14277173578739166, -0.42868557572364807, 0.20869246125221252, -0.4568430483341217, -0.889888346195221, 0.482844740152359, -0.18756501376628876, -0.5205239653587341, 0.48106649518013, -0.0008565604221075773, -0.10102658718824387, 0.6866831183433533, 0.48154279589653015, -0.08249232172966003, 0.2574160397052765, -0.06826506555080414, 0.4683659076690674, -1.1510509252548218, -0.2619427740573883, -0.23329903185367584, -0.4447115659713745, -0.7653831839561462, -0.6081321239471436, 0.211030974984169, -0.04324870929121971, 0.20596346259117126, 0.3000069260597229, -0.43246859312057495, 0.2029135674238205, 0.3927146792411804, 0.2662324905395508, 0.16213729977607727, 0.10850284993648529, 0.09981244057416916, -0.4917186200618744, -0.37828704714775085, -0.36211615800857544, 1.1227654218673706, 0.5146359801292419, 0.8016585111618042, -0.22590334713459015, 0.8998611569404602, 0.015636354684829712, 0.0849493071436882, -0.7975737452507019, 0.290357381105423, 0.108240507543087, -0.45364582538604736, -0.42367011308670044, -0.7506418228149414, -0.7764735817909241, -0.2694990634918213, -0.3150797188282013, -0.9233047366142273, 0.9293384552001953, -0.02469828724861145, -0.9230773448944092, 0.24320551753044128, -0.4440368413925171, 0.3298402428627014, -0.3109055161476135, 0.12811879813671112, 0.2436225414276123, -0.6670202612876892, 0.02830863930284977, -0.37776145339012146, 0.057351209223270416, -0.06789267808198929, -0.3467053771018982, 0.666229784488678, -0.360730916261673, 0.590502917766571, -0.04903177171945572, -0.06949856877326965, 0.2936396300792694, -0.3554355502128601, 0.7023895978927612, 0.456382691860199, -0.6190354824066162, 0.3457123339176178, -0.20146209001541138, 0.1898721158504486, -0.7226461172103882, 0.8641760349273682, -0.3910468816757202, -0.5180121064186096, -0.6355413794517517, -0.9077205657958984, -0.3405645787715912, 0.043855056166648865, 0.20482657849788666, 0.3975010812282562, 0.04369811713695526, 0.25493112206459045, 0.7280184626579285, -0.07641716301441193, 0.472343385219574, 0.29730480909347534, 0.2975820302963257, -0.6443564295768738, 0.7895843386650085, 0.4902002215385437, 0.109980508685112, 0.6454110145568848, -0.21960477530956268, -0.3474928140640259, -0.8178719282150269, -0.5356154441833496, -0.13812609016895294, -0.4367605149745941, -0.448032408952713, -0.6564777493476868, -0.4267783463001251, -0.5665601491928101, 0.1222836822271347, -0.1191343441605568, -0.6876283288002014, -0.5656483769416809, -0.3096001148223877, 0.6137767434120178, 0.2936367988586426, -0.07162365317344666, 0.3490874469280243, -0.6299483776092529, -0.03160921856760979, 0.08888353407382965, 0.4822883903980255, -0.5117541551589966, -0.45718416571617126, -0.20045244693756104, 0.5481020212173462, 0.3928089737892151, -1.028212070465088, 0.4432292580604553, 0.4128396213054657, 0.6165568232536316, 0.14559628069400787, 0.2805837392807007, 1.0107098817825317, -0.17359748482704163, 0.4760165214538574, -0.06501870602369308, -0.7151005864143372, 0.32262012362480164, 0.21380259096622467, 0.021591508761048317, 0.9632015824317932, 0.3058622181415558, -0.1120678186416626, 0.1566656529903412, -0.5305882096290588, -0.9232580661773682, 0.6067920327186584, 0.22409850358963013, 0.2605103850364685, 0.19035696983337402, 0.6309385299682617, -0.13371603190898895, 0.5753411650657654, -0.4481505751609802, -0.5464810132980347, 0.19068191945552826, -0.32071951031684875, 0.049281273037195206, -0.1313440352678299, 0.219255268573761, -0.2303091585636139, 0.865189790725708, -0.06746909022331238, 0.06925839930772781, 0.4323210120201111, -0.05730360746383667, -0.16222521662712097, 0.31960055232048035, 0.17776326835155487, 0.3699036240577698, -0.12880609929561615, -0.10791639238595963, 0.4759519398212433, -0.6881625056266785, 0.05622672289609909, 0.8022791147232056, -0.37480154633522034, 0.1360723227262497, -0.045954056084156036, 1.0118733644485474, 0.4178856611251831, -0.5151742100715637, 0.3992646038532257, -0.018696710467338562, 0.05375058576464653, -0.5503051280975342, 0.017791489139199257, -0.2398160994052887, 0.2586463689804077, 0.4886099696159363, 0.3055553138256073, 0.43796536326408386, -0.03448290005326271, 0.33408641815185547, 0.4635535776615143, -0.6243606805801392, 0.13954707980155945, 0.4337823688983917, -0.21889013051986694, -0.0799865648150444, 0.5588271617889404, -0.22965875267982483, -0.397550106048584, 0.6741021871566772, 0.3794776499271393, 0.7591099739074707, -0.4147508442401886, 0.20707747340202332, 0.3157457411289215, 0.3444422483444214, -0.12943297624588013, 0.3841097056865692, 0.002180565381422639, -0.9481297731399536, -0.470366895198822, -0.7393410205841064, -0.5249350070953369, 0.04763200506567955, -0.6040242910385132, 0.14114077389240265, -0.2911713719367981, -0.5159192085266113, 0.1495000272989273, 0.15819180011749268, -0.8523761034011841, 0.8388465046882629, 0.3615439236164093, 0.6264593601226807, -0.3591539263725281, 0.6049384474754333, 0.9292897582054138, -0.3353067934513092, -1.2968049049377441, 0.19270966947078705, -0.14925728738307953, -0.416091650724411, 0.5176408290863037, 0.35285142064094543, 0.09065849334001541, 0.19164592027664185, 0.08570178598165512, -1.2937796115875244, 1.298161506652832, 0.3208649158477783, -0.6942420601844788, -0.2996486723423004, 0.5559926629066467, 0.495744526386261, -0.5594058632850647, 0.386446088552475, 0.41670849919319153, 0.6855509281158447, 0.18595294654369354, -0.9856382012367249, -0.06657160073518753, -0.11656311899423599, 0.11978624761104584, 0.18348482251167297, -0.03037160634994507, 0.6841395497322083, -0.31111064553260803, -0.4282086491584778, -0.06491313874721527, 0.726986825466156, 0.05912220850586891, 0.4672861099243164, 0.596688985824585, 0.6774736642837524, 1.0593211650848389, -0.4432235360145569, 0.9581106901168823, -0.41459187865257263, 0.12184296548366547, 1.325233817100525, -0.37787681818008423, 0.5791222453117371, 0.5148881077766418, -0.264549195766449, 0.6376474499702454, 0.8293653726577759, -0.027446746826171875, 0.2671986520290375, 0.16651961207389832, -0.354793518781662, -0.1564580500125885, -0.24646896123886108, -0.3999214768409729, 0.34758710861206055, 0.7728056907653809, -0.5232654213905334, 0.1297898292541504, 0.2142544388771057, -0.10412683337926865, -0.2954714000225067, -0.3335677683353424, 0.7356829643249512, 0.25310471653938293, -0.469333291053772, 0.11480671167373657, -0.12902113795280457, 0.5933272838592529, -0.27354323863983154, 0.04682750999927521, 0.43060800433158875, 0.13452112674713135, -0.3280254304409027, -0.776608407497406, 0.08470326662063599, -0.22382113337516785, -0.011650488711893559, 0.19604255259037018, 1.126801609992981, -0.5640086531639099, -0.8676279783248901, 0.03642183542251587, 0.47661978006362915, 0.17532610893249512, -0.4263173043727875, -0.5678053498268127, -0.3342030644416809, -0.21075783669948578, -0.3203408122062683, 0.16446219384670258, 0.36660608649253845, 0.07676566392183304, 0.5908402800559998, 0.5367560982704163, 0.2975771129131317, 0.10925674438476562, 0.18280598521232605, 0.6891347765922546, -0.2603737413883209, -0.4363892078399658, -0.5833259224891663, 0.5594744086265564, -0.24749957025051117, -0.0944986417889595, 0.7878050208091736, 0.5703877210617065, 0.8318147659301758, 0.10142990201711655, 0.6694241762161255, -0.017138682305812836, 0.6268953680992126, -0.39928293228149414, 0.517650306224823, -0.3615662157535553, 0.42542701959609985, -0.4584217071533203, -0.8265067338943481, -0.5383344292640686, 0.5009682774543762, -0.8191249370574951, 0.2427191436290741, 0.3245895504951477, 0.7462427616119385, 0.1472102403640747, 0.18711087107658386, 0.3526826500892639, -0.10997164249420166, -0.2657829225063324, 0.3674071133136749, 0.40977486968040466, -0.8938741087913513, 0.2773188650608063, -0.8600006699562073, 0.00759549718350172, -0.0021480873692780733, -0.9629889726638794, -0.36117473244667053, -0.31943976879119873, -0.6233778595924377, -0.008136647753417492, 0.16431698203086853, 0.8223395943641663, 0.6334407329559326, -1.0478079319000244, 0.34924688935279846, -0.17354077100753784, 0.1425856202840805, -0.1773374229669571, -0.26787400245666504, 0.26005661487579346, 0.07752916216850281, -0.9974409937858582, 0.5698663592338562, 0.26812440156936646, 0.38197386264801025, -0.09542569518089294, -0.003434242680668831, -0.2682434618473053, 0.15339571237564087, 0.0033370712772011757, 0.1631108671426773, -0.6685140132904053, -0.4075791835784912, 0.062397077679634094, -0.08868981897830963, 0.0985444188117981, 0.40234553813934326, -0.9548474550247192, 0.7326229810714722, 0.4208039343357086, 1.0356775522232056, 0.08772759884595871, 0.3347257971763611, 0.5839696526527405, -0.8698813915252686, -0.0992879644036293, 0.39166340231895447, 0.515180230140686, 0.7471718788146973, -0.9253026247024536, 0.5412188172340393, -0.015787245705723763, -0.5553151965141296, -0.8325879573822021, -0.06322253495454788, -0.7321627736091614, 0.4812774062156677, 0.8076571226119995, -0.32562148571014404, -0.09706802666187286, -0.19539274275302887, 0.06034582480788231, 0.45888346433639526, -0.47867849469184875, 0.4104449152946472, 0.5804110765457153, -0.12800082564353943, -0.3214447498321533, -0.44559961557388306, 0.5568810105323792, 0.3092469871044159, -0.7839879989624023, -0.37308716773986816, 0.4385777413845062, 0.12066597491502762, 0.4514182507991791, 0.12580986320972443, 0.026613963767886162, 0.22135087847709656, -0.13376322388648987, -0.060277268290519714, -0.10172264277935028, -0.2643986642360687, -0.4370451271533966, -0.13105031847953796, -0.11473754793405533, -0.20440712571144104 ]
http://arxiv.org/abs/2407.02056v1
http://arxiv.org/pdf/2407.02056v1
Integrate the Essence and Eliminate the Dross: Fine-Grained Self-Consistency for Free-Form Language Generation
2024-07-02T08:38:31
2024-07-02T08:38:31
Xinglin Wang, Yiwei Li, Shaoxiong Feng, Peiwen Yuan, Boyuan Pan, Heda Wang, Yao Hu, Kan Li
cs.CL
cs.CL, cs.AI
Self-consistency (SC), leveraging multiple samples from LLMs, shows significant gains on various reasoning tasks but struggles with free-form generation due to the difficulty of aggregating answers. Its variants, UCS and USC, rely on sample selection or voting mechanisms to improve output quality. These methods, however, face limitations due to their inability to fully utilize the nuanced consensus knowledge present within multiple candidate samples, often resulting in suboptimal outputs. We propose Fine-Grained Self-Consistency (FSC) to addresses these limitations by extracting and integrating segment-level commonalities from candidate samples, enhancing the performance of LLMs both in open-ended and reasoning tasks. Based on this, we present two additional strategies: candidate filtering, which enhances overall quality by identifying highly similar candidate sets, and merging, which reduces input token requirements by combining similar samples. The effectiveness of FSC is demonstrated through extensive experiments on various tasks, including summarization, code generation, and mathematical reasoning, using GPT-3.5-turbo and GPT-4. The results indicate significant improvements over baseline methods, showcasing the potential of FSC to optimize output quality by effectively synthesizing fine-grained consensus knowledge from multiple samples.
[ -0.4414919912815094, -0.36601516604423523, 0.6907179951667786, 0.15645883977413177, -0.19174008071422577, 0.13893666863441467, -0.481740266084671, -0.30855268239974976, 0.1716899424791336, 0.47817280888557434, -0.22723795473575592, -0.5211536288261414, -0.4293249547481537, -0.018792353570461273, -0.4068659543991089, 0.7866420745849609, -0.31477418541908264, -0.31075021624565125, -0.3358292877674103, -0.08963925391435623, -0.303382009267807, -0.39038416743278503, -0.3066997826099396, -0.3388395309448242, 0.256306916475296, 0.6828448176383972, 0.5306365489959717, 0.8810648322105408, 0.26274940371513367, 0.31915050745010376, 0.3091142475605011, 0.5090736150741577, -0.548790454864502, 0.2799093425273895, -0.2868974804878235, -0.1333748698234558, -0.3905847370624542, 0.20340338349342346, 0.6369976997375488, 0.32792195677757263, -0.3581526279449463, 0.0014362420188263059, 0.5242648124694824, 0.6963570713996887, -0.7366323471069336, 0.1644003689289093, -0.7364806532859802, -0.19168142974376678, -0.47528618574142456, 0.0008182457531802356, -0.23735082149505615, -0.40326252579689026, -0.5198305249214172, -0.3735570013523102, 0.39413782954216003, -0.4261513948440552, 0.7457368969917297, 0.4337795674800873, 0.037877392023801804, -0.2684519588947296, -0.6541793942451477, 0.7618847489356995, -0.8467006683349609, 0.5283526182174683, 0.22890597581863403, 0.3048284351825714, -0.38126301765441895, -0.6219521164894104, -0.5401816964149475, 0.00013901076454203576, -0.08429038524627686, 0.193610280752182, -0.11292764544487, 0.19438086450099945, -0.2650805115699768, 0.6829531788825989, -0.3667658865451813, 0.1500294804573059, -0.24917732179164886, -0.418552428483963, 0.5698849558830261, -0.10363391786813736, -0.017181554809212685, -0.14694400131702423, 0.05377141013741493, -0.019177259877324104, -0.661823034286499, 0.24674826860427856, 0.27816444635391235, 0.6583108305931091, 0.04749166965484619, 0.659315824508667, -0.6603183150291443, 0.5095974802970886, 0.4093155860900879, -0.22812804579734802, 0.0014853214379400015, -0.539709210395813, -0.33065569400787354, -0.2068924754858017, 0.9879170060157776, 0.13138826191425323, 0.06076410412788391, -0.020378418266773224, -0.4012499451637268, 0.04688866436481476, 0.07441610842943192, -0.778536319732666, -0.3291356563568115, 0.3450384736061096, -0.41846033930778503, -0.1513061821460724, 0.11567184329032898, -0.4615665376186371, 0.2095934897661209, -0.6485126614570618, 0.09396646171808243, -0.5567509531974792, -0.10602528601884842, -0.03749743849039078, 0.04433542117476463, -0.05715106055140495, 0.4720972776412964, -1.1103739738464355, 0.31041356921195984, 0.6548431515693665, 0.6412972807884216, -0.2946532964706421, -0.3497224450111389, -0.7218883633613586, 0.19212642312049866, -0.37950316071510315, 0.9003695249557495, -0.31364840269088745, -0.2088930606842041, -0.3767300546169281, -0.3898182213306427, 0.09781187027692795, -0.668743908405304, 0.05516683682799339, 0.08096347004175186, 0.12635605037212372, -0.13821181654930115, -0.5099513530731201, 0.3283442556858063, -0.005970759317278862, -0.35093334317207336, 1.3084242343902588, 0.38402649760246277, -0.30690938234329224, 0.44372063875198364, -0.2660292088985443, -0.29133737087249756, -0.01633400470018387, -0.7578537464141846, -0.050199415534734726, 0.49947500228881836, 0.1573006808757782, 0.4882589876651764, 0.026792827993631363, 0.45696941018104553, -0.2894369661808014, -0.25671330094337463, -0.26461613178253174, -0.554201602935791, 0.18469689786434174, 0.5919202566146851, -0.42627856135368347, 0.16614586114883423, -0.8716732859611511, 0.4793775975704193, -0.1198987066745758, -0.4668327271938324, -0.15667428076267242, -0.04892652481794357, -0.49193131923675537, 0.2938070595264435, 0.4432780146598816, -0.5481603145599365, 0.19031812250614166, -0.32554924488067627, 0.25468918681144714, 0.7679300308227539, -0.16707658767700195, 0.4952009320259094, -0.3124453127384186, 0.09868602454662323, 0.17353355884552002, -0.02712666057050228, -0.11063544452190399, -0.23674216866493225, -0.8574366569519043, -0.299062043428421, 0.22301460802555084, 0.22184385359287262, -0.5011278390884399, 0.4886130392551422, 0.1119437888264656, -0.6260195970535278, -0.5859220623970032, 0.5078117847442627, 0.36632364988327026, 0.27703791856765747, 0.4936464726924896, -0.41179943084716797, -0.4714066684246063, -0.9347073435783386, -0.1766725331544876, -0.047004759311676025, 0.007792228367179632, -0.0046196975745260715, -0.04480268433690071, -0.08533817529678345, 1.3593969345092773, -0.4332807660102844, -0.22444160282611847, -0.21000054478645325, 0.24219673871994019, 0.18215394020080566, 0.8315622806549072, 0.4214811623096466, 0.02964727394282818, -0.4701164960861206, -0.12385286390781403, -0.4403895139694214, -0.3359663188457489, -0.07104135304689407, -0.15577422082424164, 0.30157116055488586, 0.5411845445632935, -0.12657025456428528, 0.2345210760831833, 0.7313684821128845, 0.06848988682031631, 0.39894118905067444, -0.4107135832309723, 0.15601438283920288, -1.0245476961135864, -0.2735185921192169, 0.011696549132466316, -0.2238103747367859, -0.48256996273994446, -0.0345783457159996, 0.07815632969141006, 0.2698828876018524, -0.32157090306282043, 0.6498651504516602, -0.4228605031967163, -0.11921253055334091, -0.350699782371521, 0.30759772658348083, 0.13762176036834717, 0.2417554408311844, -0.2063896805047989, 1.119063138961792, 0.2412678450345993, -0.5594280958175659, -0.059637993574142456, -0.1270628124475479, -0.023392708972096443, 0.40745848417282104, -0.45846933126449585, 0.07090117037296295, -0.14278362691402435, 0.07891404628753662, -0.9728499054908752, -0.3198612630367279, 0.007996437139809132, -0.12626075744628906, 0.3322618007659912, -0.07184316962957382, -0.30950334668159485, -0.246849924325943, -0.21712443232536316, 0.12108021229505539, 0.4027445912361145, -0.49649062752723694, 0.4321083426475525, 0.08518451452255249, -0.1470910608768463, -0.46684569120407104, -0.6712753176689148, -0.1819341480731964, 0.28302326798439026, -0.5615414977073669, 0.1782153695821762, -0.12034419924020767, -0.19900581240653992, -0.1350252628326416, -0.45801475644111633, -0.07759431004524231, 0.06400216370820999, -0.0594470389187336, -0.03604432940483093, -0.37687867879867554, -0.11649814993143082, 0.5248468518257141, -0.05145924910902977, -0.5216763615608215, -0.35621145367622375, 0.5372464060783386, -0.3226463198661804, -0.624966561794281, -0.5065881609916687, 0.5993307828903198, 0.364424467086792, -0.21893616020679474, 0.08031246066093445, 0.38359692692756653, -0.15562181174755096, -0.3278653025627136, -0.7015731930732727, -0.11912569403648376, -0.44958585500717163, -0.12292160093784332, -0.6955342292785645, -1.2956396341323853, 0.5364127159118652, -0.01697397045791149, 0.3625560402870178, 0.6977717280387878, 0.44075891375541687, -0.10138940066099167, 0.7612521648406982, 0.46777820587158203, 0.13199275732040405, 0.3832201361656189, -0.043360136449337006, 0.08975029736757278, -0.604986310005188, -0.07958731800317764, -0.5220304131507874, -0.05713513866066933, -0.5725448727607727, -0.7002049684524536, -0.09224939346313477, 0.5222917795181274, -0.14409495890140533, 0.29856494069099426, -0.8502875566482544, 0.5343930721282959, 0.8374689221382141, -0.028977179899811745, 0.5266907811164856, 0.07379933446645737, -0.4529987573623657, -0.09787207841873169, -0.5804513096809387, -0.6756116151809692, 0.7426844239234924, 0.17014789581298828, 0.878530740737915, 0.034261368215084076, 1.471601963043213, 0.13297110795974731, 0.3306160867214203, -0.48499393463134766, 0.553014874458313, -0.7117571830749512, -0.2552855312824249, -0.3132052719593048, -0.4693514406681061, -0.7787471413612366, 0.2807312309741974, 0.07104874402284622, -0.6005393862724304, 0.14453352987766266, 0.41975486278533936, -0.42580029368400574, 0.20957998931407928, -0.5818538665771484, 0.7195295691490173, -0.12755659222602844, -0.3335895538330078, -0.18813665211200714, -0.31857365369796753, 0.48054423928260803, -0.06045455485582352, 0.14762380719184875, -0.4411658048629761, 0.3409043848514557, 0.44941049814224243, -0.5845779776573181, 0.9056006073951721, -0.09254024177789688, -0.3130110502243042, 0.72383052110672, 0.21862271428108215, 0.3606626093387604, 0.00023924159177113324, -0.03661051020026207, 0.3722410500049591, -0.005567037966102362, -0.34908735752105713, -0.5081906914710999, 0.8722013831138611, -0.800180971622467, -0.7128339409828186, -0.1604066640138626, -0.5053970217704773, -0.1455184370279312, 0.4881927967071533, 0.1584647297859192, 0.4060755670070648, -0.30658406019210815, 0.10836468636989594, 0.3638150990009308, 0.23408915102481842, 0.5627664923667908, 0.16657692193984985, -0.016465086489915848, -0.8437032103538513, 0.8988257646560669, 0.1808180809020996, 0.4984651505947113, -0.00713752955198288, 0.31985047459602356, -0.269259512424469, -0.7244400382041931, -0.6246145367622375, 0.2013295739889145, -0.5994371175765991, -0.49495863914489746, -0.4708994925022125, -0.3950035572052002, -0.8786953091621399, -0.3038790822029114, -0.728769838809967, -0.6406983137130737, -0.36158478260040283, 0.26132896542549133, -0.029934516176581383, 0.9328881502151489, -0.49466848373413086, 0.37162333726882935, -0.9349400997161865, 0.37931060791015625, 0.32256054878234863, 0.6707107424736023, -0.15512794256210327, -0.24562227725982666, -0.030196933075785637, 0.18700751662254333, -0.5611860156059265, -0.4583190679550171, -0.08410046994686127, 0.32113200426101685, 0.8645631074905396, 0.4299788475036621, -0.035763032734394073, 0.9981554746627808, -0.5026266574859619, 0.7448882460594177, 0.36371487379074097, -1.1364156007766724, 0.6838114857673645, -0.24151144921779633, 0.24328021705150604, 1.0935298204421997, -0.13515397906303406, -0.40510353446006775, -0.966579258441925, -0.7171630859375, -0.5849350094795227, 0.5577599406242371, 0.2814890742301941, -0.19445598125457764, -0.35308021306991577, 0.3399982154369354, 0.3292904794216156, 0.11270146071910858, -0.4426560699939728, -0.06019997596740723, -0.5362204909324646, -0.6264554858207703, 0.11845757812261581, -0.0061896382831037045, -0.03978254273533821, -0.10370608419179916, 0.594547688961029, -0.4446166753768921, -0.15848411619663239, 0.40082311630249023, 0.23524102568626404, -0.04541550204157829, 0.5613955855369568, 0.6964486241340637, 0.39909523725509644, 0.011186886578798294, 0.47152894735336304, -0.13953308761119843, -0.24344496428966522, 0.27014681696891785, 0.0192450899630785, -0.3436605632305145, 0.028075098991394043, -0.026701971888542175, 0.298842191696167, 0.06701360642910004, -0.21987652778625488, 0.2653745710849762, 0.16858123242855072, -0.37299925088882446, 0.11187192797660828, 0.4978203773498535, -0.05895382538437843, 0.13193362951278687, 0.16894719004631042, 0.24325673282146454, -0.0549282431602478, -0.5773675441741943, 0.597841203212738, 0.46704062819480896, -0.09560824185609818, -0.02998391166329384, 0.583609938621521, 0.22198697924613953, 0.10093271732330322, 0.37125518918037415, -0.39447033405303955, -0.018160689622163773, 0.26493504643440247, 0.6369530558586121, 0.7534030079841614, -0.4297753572463989, 0.0723680928349495, 0.443574994802475, 0.09072581678628922, -0.5807519555091858, 0.45852595567703247, -0.19449260830879211, -0.7236286401748657, -0.6194727420806885, -0.7222287058830261, -0.49082425236701965, 0.00809626467525959, -0.34056103229522705, 0.24782119691371918, -0.5278910398483276, 0.07708847522735596, -0.22904393076896667, 0.0369085818529129, -0.27731072902679443, 0.19790655374526978, 0.025809403508901596, 0.8572758436203003, -0.7527119517326355, 0.8674891591072083, 0.24049317836761475, -0.485946923494339, -1.2199972867965698, -0.1353689432144165, -0.09324780851602554, -0.7236840724945068, 0.18133772909641266, 0.06295691430568695, -0.18527725338935852, -0.15187783539295197, -0.46355876326560974, -1.1971255540847778, 1.0193095207214355, 0.3323630392551422, -0.6462274789810181, -0.03381359204649925, 0.21922922134399414, 0.2584663927555084, -0.5962254405021667, 0.02545792981982231, 0.7096502184867859, 0.4567604064941406, 0.4226628243923187, -1.0092333555221558, 0.10652655363082886, 0.1205485463142395, -0.10216116905212402, 0.41406112909317017, -0.7585387229919434, 0.6814137101173401, -0.13702274858951569, -0.3249332308769226, 0.2037745714187622, 1.0419509410858154, 0.6846779584884644, 0.34791022539138794, 0.4232998490333557, 0.644476056098938, 1.0062428712844849, -0.24466392397880554, 0.47270339727401733, -0.420845091342926, 0.2587960362434387, 1.628041386604309, -0.22957085072994232, 0.7704214453697205, 0.4489280581474304, -0.10193750262260437, 0.6009017825126648, 0.3498658835887909, -0.07052724063396454, 0.3635868728160858, 0.24193602800369263, -0.16982373595237732, -0.3762274980545044, 0.11194799840450287, -0.3009050488471985, 0.6659097075462341, 0.16985231637954712, -0.054356470704078674, -0.687828004360199, -0.356630802154541, -0.0557500459253788, 0.4391908347606659, -0.14350290596485138, 0.7803747653961182, 0.004365561064332724, -0.9651247262954712, 0.5576118230819702, -0.13792569935321808, 0.7817785739898682, -0.42272183299064636, -0.10203994065523148, -0.39196568727493286, 0.13095365464687347, -0.3100642263889313, -0.9215399622917175, 0.5353218913078308, -0.0860326737165451, -0.28672417998313904, -0.3176983594894409, 0.7857611775398254, -0.6545826196670532, -0.25399959087371826, -0.026857372373342514, 0.8150927424430847, 0.36294499039649963, 0.06447690725326538, -0.3808456361293793, 0.06737174093723297, 0.18616919219493866, 0.12853902578353882, 0.3873453736305237, 0.734696090221405, 0.008192148990929127, 0.26075083017349243, 0.7279423475265503, 0.3061521649360657, -0.02733592316508293, 0.18692709505558014, 0.8832693696022034, -0.584925651550293, -0.3011506199836731, -0.68363356590271, 0.3523313105106354, -0.21119241416454315, -0.2132897675037384, 0.6035850048065186, 0.8712544441223145, 0.9016541242599487, 0.3031178414821625, 0.8196210265159607, -0.1466762274503708, 0.41499578952789307, -0.44139784574508667, 0.47573167085647583, -0.48058995604515076, 0.11167949438095093, -0.16593477129936218, -0.8535910248756409, -0.19151756167411804, 0.5552995800971985, 0.12274328619241714, -0.024382155388593674, 0.6052694916725159, 0.4877670109272003, -0.21157391369342804, -0.1353428065776825, 0.4707363545894623, -0.06138099730014801, 0.5662094354629517, 0.3872006833553314, 0.45080217719078064, -0.28716936707496643, 0.5601156949996948, -0.33735591173171997, -0.3517354726791382, -0.0000318651509587653, -0.9696105718612671, -0.4612405002117157, -0.3575594425201416, -0.20248356461524963, -0.39568594098091125, -0.18015682697296143, 0.9307268261909485, 0.7521811723709106, -0.848508358001709, -0.23396994173526764, -0.32299476861953735, -0.028092490509152412, -0.1113927811384201, -0.21821533143520355, 0.09201474487781525, -0.9808387756347656, -0.7549176216125488, 0.6503961086273193, 0.4802049994468689, 0.35014548897743225, -0.23553094267845154, -0.045219071209430695, 0.2249971628189087, 0.21662655472755432, 0.5589050054550171, 0.33319371938705444, -1.0227333307266235, -0.6427227258682251, 0.03294261917471886, -0.3576759397983551, 0.4042944312095642, 0.847105085849762, -0.7670670747756958, 0.18667887151241302, 0.4577515125274658, 0.4862411916255951, 0.17000098526477814, 0.2724333107471466, 0.4786457419395447, -0.8243634104728699, -0.19374215602874756, 0.05709008127450943, 0.46501442790031433, 0.22914794087409973, -0.2964537739753723, 0.47528526186943054, 0.05987340956926346, -0.6945494413375854, -0.3622293472290039, 0.35497942566871643, -1.1570318937301636, -0.3251449763774872, 1.0990650653839111, -0.1246018186211586, -0.020815961062908173, -0.11346003413200378, -0.0730709433555603, 0.2939412295818329, -0.7674692869186401, 0.642318069934845, 0.6592780351638794, -0.5045313835144043, 0.05919468775391579, -0.14709977805614471, 0.526492714881897, 0.32831600308418274, -0.8074734210968018, 0.4888976812362671, 0.7543455362319946, 0.46702060103416443, 0.2984134554862976, 1.0961847305297852, -0.20604601502418518, 0.012752441689372063, -0.07612729072570801, 0.1117938682436943, -0.03393750265240669, -0.35885560512542725, -0.16360415518283844, 0.41250044107437134, 0.1753220409154892, 0.04002910479903221 ]
http://arxiv.org/abs/2407.02049v1
http://arxiv.org/pdf/2407.02049v1
Accompanied Singing Voice Synthesis with Fully Text-controlled Melody
2024-07-02T08:23:38
2024-07-02T08:23:38
Ruiqi Li, Zhiqing Hong, Yongqi Wang, Lichao Zhang, Rongjie Huang, Siqi Zheng, Zhou Zhao
eess.AS
eess.AS, cs.CL, cs.SD
Text-to-song (TTSong) is a music generation task that synthesizes accompanied singing voices. Current TTSong methods, inherited from singing voice synthesis (SVS), require melody-related information that can sometimes be impractical, such as music scores or MIDI sequences. We present MelodyLM, the first TTSong model that generates high-quality song pieces with fully text-controlled melodies, achieving minimal user requirements and maximum control flexibility. MelodyLM explicitly models MIDI as the intermediate melody-related feature and sequentially generates vocal tracks in a language model manner, conditioned on textual and vocal prompts. The accompaniment music is subsequently synthesized by a latent diffusion model with hybrid conditioning for temporal alignment. With minimal requirements, users only need to input lyrics and a reference voice to synthesize a song sample. For full control, just input textual prompts or even directly input MIDI. Experimental results indicate that MelodyLM achieves superior performance in terms of both objective and subjective metrics. Audio samples are available at https://melodylm666.github.io.
[ -0.2173561304807663, -0.6737293601036072, 0.5007808208465576, 0.8716262578964233, -0.377541720867157, 0.38163280487060547, -0.052032820880413055, -0.1588042825460434, 0.21726302802562714, 0.5643366575241089, -1.0096369981765747, -0.9120550155639648, -0.2818828821182251, 0.14094088971614838, -0.5727211833000183, 1.1680407524108887, 0.4188433289527893, -0.1779814064502716, -0.09212815761566162, 0.31248077750205994, -0.3368203341960907, -0.5343146920204163, -0.7978171110153198, -0.22419585287570953, 0.7302350997924805, 0.14234110713005066, 0.32649311423301697, 0.2607942223548889, 0.050684891641139984, 0.22047200798988342, -0.3244675099849701, 0.05587226152420044, -0.45627155900001526, 0.5591806173324585, 0.11824364960193634, -0.4337082505226135, -0.7665891647338867, 0.3052605092525482, 0.5036685466766357, 0.45318493247032166, -0.13423144817352295, 0.343187540769577, 0.28376471996307373, 0.6034184098243713, 0.08859410136938095, -0.17250938713550568, -0.5644826292991638, 0.32728853821754456, -0.327839195728302, -0.3095405399799347, -0.4441266357898712, -0.5426695942878723, 0.2764093279838562, -0.8181459307670593, 0.2468748390674591, 0.09384609758853912, 0.5282673239707947, 0.36926981806755066, -0.25582027435302734, -0.3798784017562866, -0.8435534834861755, 0.7519925832748413, -0.4499586820602417, 0.41509515047073364, 0.42106032371520996, 0.24063099920749664, -0.1824914664030075, -0.967079222202301, -0.131832093000412, -0.4307931959629059, 0.11039462685585022, 0.5118119120597839, 0.05288043990731239, 0.23144473135471344, 0.2466934323310852, 0.25935304164886475, -0.6086984276771545, -0.4587388038635254, -0.2535591423511505, -0.07909955829381943, 0.5345978736877441, 0.10946346074342728, 0.31909987330436707, -0.3778713047504425, -0.6265468597412109, 0.19617325067520142, -0.625943660736084, 0.17696891725063324, 0.4860875904560089, 0.5853462219238281, -0.3666500747203827, 0.6831316351890564, 0.49928417801856995, 0.8937877416610718, 0.5120751261711121, -0.04264315217733383, 0.10415948182344437, -0.4854978621006012, -0.44814667105674744, 0.3227953612804413, 0.9506283402442932, -0.011511499062180519, -0.13418960571289062, -0.31516438722610474, -0.4676816463470459, -0.1834130585193634, 0.359214723110199, -0.38532307744026184, -0.2534700632095337, 0.3037402629852295, -0.4516209363937378, -0.39166754484176636, -0.0299458596855402, -0.6248528957366943, -0.2311374396085739, -0.6512537002563477, 0.5774536728858948, -0.4231584072113037, -0.2943442761898041, -0.4134405851364136, -0.18799103796482086, -0.29585421085357666, 0.18901187181472778, -0.41297727823257446, -0.006430826615542173, 0.5052074193954468, 1.1939435005187988, -0.3953893184661865, -0.314797043800354, -0.688632607460022, 0.3189775049686432, -0.5661863684654236, 0.6114551424980164, -0.17520524561405182, -0.7387316226959229, -0.407338410615921, -0.23971717059612274, -0.11077996343374252, -0.6386566758155823, 0.26996785402297974, -0.30910271406173706, 0.5482484102249146, -0.03608463332056999, -0.6562849283218384, 0.07053763419389725, -0.2552955746650696, -0.8517672419548035, 1.0476261377334595, 0.5417349338531494, -0.49165037274360657, 0.26875996589660645, -0.7526528835296631, -0.7180214524269104, 0.01861182413995266, 0.08298230916261673, -0.5286858081817627, 0.40889301896095276, -0.18388579785823822, 0.25281134247779846, -0.23276154696941376, 0.3944835960865021, -0.14517545700073242, -0.39988934993743896, 0.305090069770813, -0.24212108552455902, 0.6623948812484741, 0.4446297287940979, -0.12760496139526367, 0.4124370813369751, -0.7496549487113953, 0.2345689833164215, 0.14674687385559082, -0.49953436851501465, -0.14869257807731628, -0.005551125854253769, 0.6169441342353821, 0.2509053945541382, 0.3756352663040161, -0.191076397895813, -0.06265583634376526, -0.3445042073726654, 0.39319971203804016, 0.43186697363853455, 0.06876873970031738, 0.5497648119926453, -0.7468558549880981, 0.7722554802894592, -0.36488640308380127, 0.04538685455918312, -0.12805624306201935, -0.39555293321609497, -0.24514085054397583, -0.32045552134513855, 0.5413559079170227, 0.4539563059806824, -0.4382508397102356, 0.6337212920188904, 0.12254969775676727, -0.3022138774394989, -0.7456265091896057, 0.0934382751584053, 0.17418739199638367, 0.30224427580833435, 0.23185791075229645, 0.1866709589958191, -0.8038363456726074, -0.46118754148483276, -0.04519753158092499, -0.24888379871845245, -0.4512021243572235, 0.03215248882770538, -0.18246671557426453, 0.3885117769241333, 0.9797834157943726, -0.06498990952968597, -0.48607659339904785, -0.548373281955719, 0.027703844010829926, 0.2564930319786072, 0.5774396657943726, 0.7694436311721802, -0.8377686142921448, -0.45246872305870056, -0.22974976897239685, -0.4707769751548767, -0.6604294776916504, -0.1937044858932495, -0.35360270738601685, 0.15851251780986786, 0.4344400465488434, -0.5364925861358643, 0.05233842879533768, 0.9167024493217468, -0.4851002097129822, 0.5236930251121521, 0.10381001979112625, 0.3020128905773163, -1.2940105199813843, 0.2535248100757599, -0.11814960092306137, -0.6023167967796326, -0.8888818025588989, -0.1881714016199112, -0.28548359870910645, -0.3220230042934418, -0.307987779378891, 0.16985444724559784, -0.2628170847892761, -0.19530870020389557, -0.35815274715423584, 0.05769004672765732, 0.12595809996128082, 0.3216407299041748, 0.12399951368570328, 0.8875736594200134, 0.506519615650177, -0.5150139331817627, 0.18515793979167938, 0.1480027586221695, -0.21750184893608093, 0.5645471215248108, -0.7697632312774658, 0.3030044138431549, 0.2369438111782074, 0.07088872045278549, -0.9972034692764282, -0.22059054672718048, 0.021446088328957558, -0.7769949436187744, 0.39146125316619873, -0.2750253677368164, -0.5268067121505737, -0.24675188958644867, 0.18767549097537994, 0.24166226387023926, 0.986078679561615, -0.4434310793876648, 0.7412954568862915, 0.10107439756393433, -0.48962610960006714, 0.36922645568847656, -0.6120263338088989, 0.0871877521276474, -0.5010486245155334, -0.2653508186340332, 0.39657148718833923, -0.17433759570121765, -0.005049869883805513, -0.13186107575893402, -0.2398327887058258, 0.05759115889668465, -0.07421983778476715, 0.30853933095932007, 0.28730878233909607, -0.12389015406370163, 0.30073538422584534, 0.28513291478157043, 0.002566297072917223, -0.025931578129529953, -0.6960456371307373, 0.7044457197189331, 0.4912954568862915, -0.18151608109474182, -0.5163789391517639, 0.7527027130126953, 0.6872372031211853, -0.19280210137367249, 0.15099255740642548, 0.4121790826320648, -0.09526961296796799, -0.49248868227005005, -0.1258220374584198, -0.003518328769132495, -0.4659093916416168, 0.10154233127832413, -0.16799579560756683, -0.7735891342163086, 0.37402766942977905, -0.12207107990980148, 0.2643030285835266, 0.3606933355331421, 0.352224200963974, -0.6300813555717468, 1.3244072198867798, 0.45713672041893005, 0.1895170658826828, 0.8206902146339417, 0.03242648392915726, -0.3229236602783203, -0.6610798239707947, -0.4163331985473633, -0.5427296161651611, -0.3750733733177185, -0.3580548167228699, -0.41469940543174744, 0.7939767241477966, 0.16666044294834137, -0.3406599462032318, 0.16176368296146393, -0.5999447703361511, -0.06429734826087952, 0.8037860989570618, 0.2584063708782196, 0.15040931105613708, 0.01756337843835354, -0.25370147824287415, -0.08906655013561249, -0.5896145701408386, -0.2676810920238495, 1.0557384490966797, -0.0010457495227456093, 0.7964223027229309, -0.011529630050063133, 0.9391214847564697, 0.5035433769226074, -0.013278188183903694, -0.70791095495224, 0.4349270164966583, -0.37372422218322754, -0.48193293809890747, -0.11134717613458633, -0.5216332077980042, -0.5106638073921204, -0.12280944734811783, -0.3742496371269226, -0.5339685678482056, -0.6861883997917175, 0.45267340540885925, -0.36011838912963867, 0.06914099305868149, -0.6094462275505066, 0.3724794089794159, -0.33640220761299133, -0.18298478424549103, 0.21046091616153717, -0.5352185964584351, 0.26301148533821106, -0.3040587604045868, -0.08567388355731964, -0.13126759231090546, -0.03913198038935661, 0.6864115595817566, -0.24782954156398773, 0.6774385571479797, -0.26240983605384827, -0.1817588359117508, 0.23514053225517273, 0.21061252057552338, 0.3293636441230774, -0.15979763865470886, -0.012052349746227264, -0.07549485564231873, -0.15071171522140503, -0.3849087655544281, -0.6158180236816406, 0.7710999846458435, -0.4797154664993286, -0.6094918251037598, -0.05214859917759895, -0.5626373887062073, -0.4492802917957306, 0.17421092092990875, 0.6512757539749146, 0.34410810470581055, 0.01344472635537386, 0.11918557435274124, 0.6560590863227844, -0.2790628671646118, 0.35572490096092224, 0.12326761335134506, -0.7584352493286133, -0.8123815655708313, 0.5578458905220032, -0.18811474740505219, 0.5725263953208923, 0.3244592547416687, 0.3166000247001648, -0.6842790246009827, -0.6807242035865784, -0.6172555088996887, 0.03107593022286892, -0.2136194258928299, -0.0035368462558835745, -0.49629855155944824, -0.3975309729576111, -0.2649513781070709, -0.0017137600807473063, -0.39719057083129883, -0.35334891080856323, -0.5324344038963318, 0.06028459593653679, 0.5074268579483032, 0.7860184907913208, 0.0640648677945137, 0.4001530408859253, -0.9567721486091614, 0.6132268309593201, 0.2049003541469574, 0.3957348167896271, -0.2075682431459427, -0.39695310592651367, -0.2092994600534439, -0.12330715358257294, -0.05002118647098541, -1.0406841039657593, 0.09354975819587708, 0.1907440572977066, 0.3624126613140106, 0.1438785344362259, -0.05470386520028114, 0.6598755717277527, -0.5775507688522339, 1.2001410722732544, 0.45752108097076416, -1.070196509361267, 0.7883592844009399, -0.6013664603233337, 0.5157778859138489, 0.1596413403749466, -0.1448061466217041, -0.45876210927963257, -0.7805348038673401, -0.2783232629299164, -0.7366021275520325, 0.6866309642791748, 0.6787651777267456, -0.08962046355009079, 0.28556910157203674, 0.18214285373687744, 0.17966246604919434, 0.4779077172279358, -0.5121623873710632, -0.33665162324905396, -0.5077677965164185, -0.5308797955513, -0.3309228718280792, 0.25110986828804016, -0.027683274820446968, -0.10014636814594269, 0.6090813875198364, 0.05580814182758331, 0.41283026337623596, 0.25308170914649963, 0.33203572034835815, -0.3877568244934082, 0.09329525381326675, 0.5285331606864929, 0.23934943974018097, -0.04441779851913452, -0.10191593319177628, -0.4094196856021881, -0.4177713692188263, 0.23371247947216034, 0.23957213759422302, -0.5330226421356201, 0.19226832687854767, 0.31127703189849854, 0.9898333549499512, 0.1477620005607605, -0.4939812421798706, 0.23789465427398682, -0.09444918483495712, -0.24631758034229279, -0.4119389057159424, 0.24311484396457672, 0.27605265378952026, 0.2491941899061203, 0.4983932375907898, 0.09468621015548706, 0.047962311655282974, -0.10666153579950333, 0.32718899846076965, 0.21981337666511536, -0.6227822303771973, -0.33636343479156494, 1.2318902015686035, -0.0536595843732357, -0.45966604351997375, 0.1127561703324318, 0.18384923040866852, -0.32878080010414124, 0.6078808307647705, 0.7143524885177612, 1.2291533946990967, -0.5215415358543396, 0.18757660686969757, 0.11610687524080276, 0.07570953667163849, 0.17323464155197144, 0.6418852210044861, -0.28222817182540894, 0.09798939526081085, -0.43999025225639343, -0.7786223888397217, -0.055521462112665176, 0.3549313545227051, -0.6387137770652771, 0.2692332863807678, -0.5287089943885803, -0.3926929831504822, 0.029673639684915543, -0.2856441140174866, -0.3651517927646637, 0.3665274381637573, 0.0017877817153930664, 0.9416770935058594, -0.6598126888275146, 0.600058913230896, 0.6550462245941162, -0.10010822862386703, -0.9593978524208069, 0.3858995735645294, 0.17808224260807037, -0.2930566668510437, 0.1364692598581314, -0.05133632570505142, -0.1641164869070053, 0.4907669425010681, -0.577225387096405, -0.5170619487762451, 0.8712876439094543, 0.18390372395515442, -0.5922165513038635, -0.3488706648349762, 0.08432359993457794, 0.5598607063293457, -0.33607232570648193, -0.3389315605163574, 0.468771755695343, 0.41887420415878296, 0.635602593421936, -0.8095880150794983, -0.33865952491760254, -0.3685401380062103, 0.09855586290359497, 0.2874522805213928, -0.41101399064064026, 0.8057344555854797, 0.07009152323007584, -0.23266400396823883, 0.718701183795929, 0.6225875020027161, 0.505936324596405, 0.5390692353248596, 0.7732742428779602, 0.32373419404029846, 0.5585815906524658, -0.40870875120162964, 0.8240078091621399, -0.2553468942642212, 0.06027201563119888, 1.2406389713287354, -0.29833173751831055, 0.3802095651626587, 0.4198237657546997, -0.18355177342891693, 0.057651933282613754, 0.7753585577011108, 0.18539312481880188, 0.8348490595817566, 0.234142005443573, -0.46363750100135803, -0.36744534969329834, -0.04429321363568306, -0.1794840395450592, 0.4189460277557373, 0.3061275780200958, -0.7190072536468506, 0.08013974130153656, 0.33432525396347046, -0.3260068893432617, 0.10843764990568161, -0.4092230498790741, 1.1000216007232666, 0.038291431963443756, -0.8405742645263672, 0.3312947750091553, -0.41065263748168945, 0.4016742408275604, -0.970156192779541, -0.08360700309276581, -0.1293475478887558, -0.3624749183654785, -0.043869197368621826, -0.8349843621253967, 0.12760180234909058, 0.253052681684494, -0.21280503273010254, -0.3280354142189026, 0.46628761291503906, -0.8901708722114563, -0.4458763599395752, 0.2968437969684601, 0.5490203499794006, -0.24961070716381073, -0.10326340794563293, -0.4989721179008484, -0.1825309544801712, 0.13553282618522644, -0.19157902896404266, 0.0755678191781044, 0.4149510860443115, 0.1688687950372696, 0.31676769256591797, 0.7474594712257385, 0.5788465738296509, 0.34314119815826416, 0.4786512851715088, 0.5485389828681946, -0.7598612904548645, -1.0368897914886475, -0.47008341550827026, 0.5439640879631042, 0.08688980340957642, -0.08159264922142029, 0.5671461820602417, 0.6686534881591797, 0.3727443218231201, -0.13413657248020172, 1.3133800029754639, -0.12569555640220642, 0.9382393956184387, -0.8917759656906128, 0.8027498722076416, -0.8966151475906372, -0.048594992607831955, -0.5679015517234802, -0.9359332919120789, -0.08505699038505554, 0.13802865147590637, 0.4776783287525177, 0.21717754006385803, 0.43350908160209656, 0.4670690596103668, -0.19565753638744354, 0.28233617544174194, 0.5818740129470825, 0.012648946605622768, 0.17153175175189972, 0.7354753017425537, 1.1654812097549438, 0.0013459301553666592, 0.45779284834861755, -0.2109793871641159, 0.018910059705376625, 0.15983206033706665, -0.80839604139328, -1.058488368988037, -0.8447099924087524, -0.1724659949541092, -0.46017032861709595, -0.13582955300807953, 1.2866944074630737, 0.855987012386322, -0.7036759257316589, -0.10272650420665741, -0.10614743083715439, 0.07571984082460403, -0.41175633668899536, -0.2267753630876541, 0.22793738543987274, -0.07012953609228134, -0.9087297320365906, 0.7167899012565613, 0.2701830267906189, 0.6785427927970886, -0.21028542518615723, -0.13520202040672302, 0.3596615195274353, 0.15010672807693481, 0.44922202825546265, -0.20074447989463806, -0.7325746417045593, 0.00909416563808918, 0.1682882457971573, -0.10580193996429443, 0.09341293573379517, 1.1927896738052368, -0.3446079194545746, 0.4146832823753357, 0.3907569348812103, 0.10658728331327438, 0.31703269481658936, 0.3065347373485565, 0.6221737861633301, -1.0486072301864624, -0.13806265592575073, 0.44117406010627747, -0.05816635116934776, 0.27410170435905457, -0.27035999298095703, 0.024541441351175308, 0.22179025411605835, -0.29474347829818726, -0.490503191947937, 0.3040756285190582, -1.3007404804229736, -0.03941177576780319, 1.1107574701309204, -0.06488263607025146, -0.14464960992336273, -0.023777656257152557, -0.4840817451477051, 0.5680304765701294, -0.4146677255630493, 0.5815801620483398, 0.4459231495857239, -0.028253845870494843, -0.2543814480304718, -0.43306419253349304, 0.8943813443183899, -0.05418957397341728, -0.7334609031677246, -0.07347028702497482, 0.7816168665885925, 0.2547398805618286, -0.07600963860750198, 0.5787404179573059, -0.2850682735443115, 0.5679765939712524, -0.16495345532894135, -0.09544410556554794, -0.3313179612159729, -0.5705622434616089, -0.3368334174156189, 0.47842487692832947, 0.065447136759758, -0.31341370940208435 ]
http://arxiv.org/abs/2407.02043v1
http://arxiv.org/pdf/2407.02043v1
Concise and Precise Context Compression for Tool-Using Language Models
2024-07-02T08:17:00
2024-07-02T08:17:00
Yang Xu, Yunlong Feng, Honglin Mu, Yutai Hou, Yitong Li, Xinghao Wang, Wanjun Zhong, Zhongyang Li, Dandan Tu, Qingfu Zhu, Min Zhang, Wanxiang Che
cs.CL
cs.CL
Through reading the documentation in the context, tool-using language models can dynamically extend their capability using external tools. The cost is that we have to input lengthy documentation every time the model needs to use the tool, occupying the input window as well as slowing down the decoding process. Given the progress in general-purpose compression, soft context compression is a suitable approach to alleviate the problem. However, when compressing tool documentation, existing methods suffer from the weaknesses of key information loss (specifically, tool/parameter name errors) and difficulty in adjusting the length of compressed sequences based on documentation lengths. To address these problems, we propose two strategies for compressing tool documentation into concise and precise summary sequences for tool-using language models. 1) Selective compression strategy mitigates key information loss by deliberately retaining key information as raw text tokens. 2) Block compression strategy involves dividing tool documentation into short chunks and then employing a fixed-length compression model to achieve variable-length compression. This strategy facilitates the flexible adjustment of the compression ratio. Results on API-Bank and APIBench show that our approach reaches a performance comparable to the upper-bound baseline under up to 16x compression ratio.
[ -0.3441961109638214, -0.581451952457428, 0.41755661368370056, 0.0930330827832222, -0.6108159422874451, -0.029732463881373405, -0.6181188821792603, -0.41002219915390015, -0.015012425370514393, 0.48789095878601074, -0.4839176535606384, -0.42402973771095276, -0.3592270314693451, 0.1272345781326294, -0.5087476968765259, 0.7925702333450317, -0.05256713926792145, -0.1989036649465561, -0.07296760380268097, -0.13554523885250092, -0.8209094405174255, -0.6347419619560242, -0.5127024054527283, -0.09941725432872772, 0.34859079122543335, 0.3151315748691559, 0.6625781059265137, 0.9562825560569763, 0.3652048707008362, 0.282541424036026, -0.2120876908302307, 0.11146286875009537, -0.2738131880760193, 0.42936402559280396, -0.1194533258676529, -0.35840144753456116, -0.4006724953651428, -0.23669303953647614, 0.5923969149589539, 0.7550630569458008, -0.2639562487602234, 0.25762614607810974, 0.2208097279071808, 0.28033435344696045, -0.5340133309364319, 0.1251094788312912, -0.3438858091831207, -0.15155774354934692, -0.24041303992271423, -0.5434945821762085, -0.620749294757843, -0.018028624355793, 0.025897158309817314, -0.31891775131225586, 0.4926838278770447, -0.2054675668478012, 0.7757841944694519, 0.3527887761592865, -0.26180100440979004, -0.18627092242240906, -0.8688805103302002, 0.6514454483985901, -0.7459391951560974, 0.37519314885139465, 0.4096616208553314, 0.22171653807163239, 0.08908647298812866, -0.7641075253486633, -0.224935382604599, 0.06228159740567207, -0.1729920357465744, -0.32744842767715454, 0.13031402230262756, 0.2917098104953766, 0.5352231860160828, 0.3635239601135254, -0.4732111692428589, 0.07080945372581482, -0.5657542943954468, -0.47723671793937683, 0.5938531160354614, 0.031735293567180634, -0.01452621165663004, -0.0734032690525055, -0.17225706577301025, -0.5630270838737488, -0.676590085029602, 0.08897649496793747, 0.5181788206100464, 0.44388628005981445, -0.03518329933285713, 0.33060145378112793, -0.22126515209674835, 1.0140544176101685, -0.0686197280883789, -0.4680625796318054, 0.05174488201737404, -0.6339949369430542, -0.22543129324913025, 0.012129147537052631, 0.4255642294883728, 0.47809818387031555, -0.13860675692558289, -0.4256686866283417, -0.47814247012138367, -0.08242928236722946, 0.49219247698783875, -0.9306730628013611, 0.1416144222021103, 0.37535345554351807, -0.4519343078136444, -0.15762998163700104, 0.0723777785897255, -0.5401846766471863, -0.19203664362430573, -0.4772639870643616, 0.18980230391025543, -0.3191855549812317, -0.09164654463529587, 0.16187338531017303, -0.49882665276527405, -0.018721185624599457, 0.41290587186813354, -0.7729794979095459, 0.31061649322509766, 0.5962145328521729, 1.106473684310913, 0.1013936921954155, 0.17168672382831573, -0.7221411466598511, 0.26929327845573425, 0.10855001211166382, 0.8542353510856628, -0.5030459761619568, -0.7171618342399597, 0.0574430413544178, 0.08578222990036011, 0.4193686544895172, -0.33344435691833496, 0.6741730570793152, -0.1548347771167755, 0.09092061221599579, -0.09061896800994873, -0.5487350225448608, -0.09569335728883743, 0.11432162672281265, -0.8788382411003113, 0.7731800675392151, 0.43015220761299133, -0.6453306078910828, 0.1501947045326233, -0.37094005942344666, -0.5141401886940002, 0.10727578401565552, -0.10486186295747757, -0.11658407747745514, 0.3922263979911804, 0.14059753715991974, 0.517790675163269, -0.4137597680091858, 0.28349539637565613, -0.1260562241077423, -0.5994127988815308, 0.0627504289150238, -0.4007721245288849, 0.5042421817779541, 0.3163415789604187, -0.04870093613862991, 0.27898645401000977, -0.5473679304122925, -0.00780482916161418, -0.0569315068423748, -0.5933892130851746, -0.3386903405189514, -0.061685699969530106, 0.13698545098304749, 0.16779741644859314, 0.25050899386405945, -0.37189045548439026, 0.6590244174003601, -0.47620198130607605, 0.41350167989730835, 0.7101191282272339, -0.16560539603233337, 0.5866851210594177, -0.19141420722007751, 0.6116830110549927, -0.36852598190307617, 0.37891268730163574, -0.41476234793663025, 0.00467247748747468, -0.6805770993232727, 0.09514746814966202, 0.7069398164749146, 0.4979855418205261, -0.7155224084854126, 0.4263051748275757, -0.5301199555397034, -0.4156954288482666, -0.36399900913238525, 0.05051058903336525, 0.33951979875564575, 0.6176595687866211, 0.19604308903217316, -0.685493528842926, -0.5568000078201294, -0.7587680816650391, -0.14096172153949738, -0.150589719414711, -0.314067006111145, 0.3444875478744507, 0.06513360142707825, 0.11287279427051544, 0.9379391670227051, -0.41470423340797424, 0.04689790681004524, -0.41559654474258423, 0.3294789791107178, 0.32860884070396423, 0.5607157945632935, 0.40489065647125244, -0.9164896607398987, -0.31833404302597046, -0.3092972934246063, -0.16969746351242065, -0.32142701745033264, -0.2830352783203125, 0.16849355399608612, 0.2416081428527832, 0.46582290530204773, -0.6371121406555176, 0.5865151882171631, 0.5015094876289368, -0.28187403082847595, 0.7338647246360779, -0.27387744188308716, -0.15907247364521027, -0.8781441450119019, 0.22463545203208923, -0.16125378012657166, -0.4734228849411011, -0.6560574173927307, 0.3362612724304199, 0.3162781000137329, -0.04465598613023758, -0.5251303315162659, 0.6441367864608765, -0.5534417033195496, 0.151258185505867, -0.42368531227111816, -0.024097299203276634, 0.1592174619436264, 0.45838913321495056, 0.21609604358673096, 0.7702779769897461, 0.34199976921081543, -0.6309743523597717, 0.27144238352775574, -0.006204687524586916, -0.18222405016422272, 0.44613829255104065, -0.6538569927215576, 0.41505134105682373, 0.019627578556537628, 0.6100159287452698, -0.3102589249610901, -0.07455994933843613, 0.14497166872024536, -0.18101009726524353, 0.7404004335403442, -0.42354902625083923, -0.9242551326751709, -0.22935748100280762, -0.619874119758606, 0.28138870000839233, 0.5921472311019897, -0.08116617798805237, 0.5160480737686157, 0.16638940572738647, -0.25592824816703796, -0.4881516993045807, -0.6460297107696533, 0.218702033162117, -0.3043668866157532, -0.6307603716850281, 0.7824177145957947, -0.40498214960098267, 0.1077759712934494, -0.10148443281650543, -0.5661782026290894, -0.05114750191569328, 0.08166021853685379, 0.09476113319396973, 0.06548739969730377, -0.04590488597750664, 0.251615971326828, 0.08491038531064987, -0.23431487381458282, -0.22833536565303802, -0.32245203852653503, 0.7484146356582642, 0.1140471026301384, -0.08957751840353012, -0.10870540142059326, 0.7810048460960388, 0.31471410393714905, 0.041053012013435364, 0.7209213376045227, 0.4658125638961792, -0.2826969623565674, -0.07857665419578552, -0.6267117857933044, -0.31360456347465515, -0.49276816844940186, 0.026649165898561478, -0.45030686259269714, -0.7306095361709595, 0.5546953678131104, -0.42121168971061707, 0.27243858575820923, 0.18505756556987762, 0.28645849227905273, 0.34099045395851135, 1.0138883590698242, 1.0571752786636353, -0.017706509679555893, 0.6217156052589417, -0.21789664030075073, 0.2069295197725296, -0.7832152247428894, -0.04902319982647896, -0.7658919095993042, -0.2486550360918045, -0.0643882304430008, -0.4609801471233368, 0.1652836948633194, 0.39834004640579224, 0.2604687809944153, 0.611492395401001, -0.7567048668861389, 0.4297536611557007, 0.5464881658554077, -0.043385084718465805, 0.10110791772603989, 0.07744955271482468, -0.07827655971050262, 0.337966650724411, -0.910492479801178, -0.6206445097923279, 0.9567826986312866, 0.38225340843200684, 0.7376154065132141, 0.18876244127750397, 0.6280736923217773, 0.09279336780309677, 0.1180591881275177, -0.7911785840988159, 0.4174409806728363, 0.03489907085895538, -0.36577707529067993, -0.2682131230831146, -0.2595984935760498, -0.8878576755523682, -0.13922464847564697, 0.2676370441913605, -0.8625448942184448, 0.20886094868183136, 0.13648465275764465, -0.46873924136161804, 0.030739326030015945, -0.7516266107559204, 0.6955525279045105, 0.00777746457606554, -0.2129163146018982, -0.1274494081735611, -0.8443084359169006, -0.0028134232852607965, -0.17943376302719116, 0.2897931933403015, 0.10814250260591507, -0.21371129155158997, 0.5251753330230713, -0.8853669166564941, 0.7741111516952515, -0.1529264748096466, -0.12460976839065552, 0.05269128829240799, 0.03708012029528618, 0.6478338241577148, -0.037686336785554886, -0.152486190199852, 0.02247435599565506, 0.2090674489736557, -0.41652029752731323, -0.8945218324661255, 0.3222532272338867, -0.1917106956243515, -0.6795930862426758, -0.13128863275051117, -0.813713550567627, 0.07845739275217056, 0.20589932799339294, 0.3229118883609772, 0.9472155570983887, 0.03921973705291748, 0.2989746034145355, 0.49823254346847534, -0.16480572521686554, 0.492659330368042, 0.5396764874458313, 0.1824754774570465, -0.10933507978916168, 0.5856826305389404, 0.1828724443912506, 0.27412253618240356, 0.26823389530181885, 0.09502027928829193, -0.29120635986328125, -0.6629129648208618, -0.5481813549995422, 0.08461631834506989, -1.0604678392410278, -0.569150984287262, -0.3075012266635895, -0.10160916298627853, -0.6501527428627014, -0.45677649974823, -0.1703067421913147, -0.6319778561592102, -0.16417916119098663, 0.0811559334397316, 0.2972226142883301, 0.36107030510902405, 0.04388316348195076, 0.4867764115333557, -0.9852439165115356, 0.2168431282043457, -0.1938316375017166, 0.4944707155227661, -0.16787289083003998, -0.4076179563999176, -0.38471028208732605, -0.025580381974577904, -0.10506126284599304, -1.0228203535079956, 0.37051892280578613, 0.2134658843278885, 0.454129695892334, 0.5057798027992249, 0.4149351716041565, 0.8589409589767456, -0.4382319152355194, 0.7710129618644714, -0.08147334307432175, -0.8268859386444092, 0.6167815327644348, -0.0399237759411335, 0.7068082690238953, 0.5386731624603271, 0.10673331469297409, -0.6795727014541626, -0.4798211455345154, -0.6962077617645264, -1.177721619606018, 0.7396798729896545, 0.16869476437568665, 0.3064318895339966, 0.036995358765125275, 0.5654815435409546, 0.22890369594097137, 0.1389165073633194, -0.4276711344718933, -0.031185349449515343, -0.09824918210506439, -0.3968954384326935, 0.08984033018350601, -0.30111756920814514, -0.4116447865962982, -0.104851633310318, 0.4126077890396118, -0.26215285062789917, 0.17688798904418945, 0.18294759094715118, -0.3041195869445801, 0.2229553610086441, 0.42552649974823, 0.5838513970375061, 0.6157365441322327, -0.28775906562805176, 0.2928701639175415, 0.1735638678073883, -0.4269200265407562, 0.07415555417537689, 0.17877404391765594, -0.1797429919242859, 0.29954537749290466, 0.27535805106163025, 0.7424397468566895, 0.24710498750209808, -0.8639968037605286, 0.39256709814071655, -0.32971063256263733, 0.09335776418447495, 0.02220676839351654, 0.18588843941688538, -0.011414313688874245, 0.053592853248119354, 0.23635289072990417, -0.10791015625, 0.35968977212905884, -0.3649294078350067, -0.005458863917738199, 0.17097152769565582, -0.14805015921592712, -0.17346489429473877, 0.13900138437747955, 0.3432983458042145, -0.49762341380119324, 0.46329909563064575, -0.17268231511116028, -0.2699473798274994, 0.41509753465652466, 0.4998014569282532, 0.7340198159217834, -0.1650398075580597, -0.17540593445301056, 0.27183997631073, 0.18978002667427063, -0.39163556694984436, 0.09976426512002945, -0.6925917267799377, -0.19967958331108093, -0.6459690928459167, -0.5855313539505005, -0.35146573185920715, 0.08933990448713303, -0.7238479852676392, 0.4953661262989044, -0.37380096316337585, -0.21522800624370575, -0.23768815398216248, 0.040809568017721176, -0.7699388861656189, -0.041421838104724884, -0.01997554488480091, 1.5032278299331665, -0.40598341822624207, 0.9121533036231995, 0.2707935571670532, -0.4584782123565674, -1.0530999898910522, -0.1619160920381546, 0.03982125595211983, -0.05147519335150719, 0.12820734083652496, 0.45704591274261475, -0.12632900476455688, -0.18680915236473083, -0.503023624420166, -0.8453038930892944, 0.9549387693405151, 0.43833479285240173, -0.6487801671028137, -0.2850065529346466, -0.171415314078331, 0.30198028683662415, -0.12200695276260376, -0.07062613219022751, 0.5355420708656311, 0.5280490517616272, 0.04707377403974533, -1.182796835899353, 0.42879432439804077, -0.3663197457790375, 0.1394462138414383, 0.23232685029506683, -0.21990551054477692, 0.3914288580417633, 0.33282673358917236, -0.6270104050636292, 0.28030285239219666, 0.3655114769935608, -0.02858058363199234, -0.0639653280377388, 0.6251617074012756, 0.2976389527320862, 0.6770764589309692, 0.10448580980300903, 1.3786040544509888, -0.5225921869277954, 0.1625707447528839, 0.9794161319732666, 0.08590318262577057, 0.6510651707649231, 0.4988544285297394, 0.17997229099273682, 0.5253815650939941, 0.817431628704071, 0.07567448168992996, 0.39174026250839233, 0.07487045973539352, -0.31567928194999695, 0.09758106619119644, -0.304474413394928, -0.35059455037117004, 0.13985329866409302, 0.3556658625602722, -0.3287990391254425, -0.11531851440668106, -0.11095032840967178, 0.16251574456691742, -0.2456560581922531, -0.05815742537379265, 0.5960648655891418, -0.010051500052213669, -0.8704749345779419, 0.7018693089485168, 0.4938119053840637, 0.6827334761619568, -0.733716607093811, 0.07749068737030029, -0.07906392961740494, -0.19571559131145477, -0.013321859762072563, -0.580028235912323, 0.6141164898872375, 0.17019610106945038, -0.21170590817928314, -0.6876286268234253, 0.9088443517684937, -0.43839818239212036, -0.2651221752166748, -0.116070456802845, 0.1464110165834427, 0.31372377276420593, -0.16080616414546967, -0.4709472060203552, 0.3821726441383362, -0.2141796350479126, -0.2668212056159973, 0.2719855010509491, 0.32674741744995117, -0.17277470231056213, 0.4455525279045105, 0.6232587695121765, 0.17885148525238037, -0.331882119178772, 0.3437104821205139, 1.0600734949111938, -0.6165443062782288, -0.6252745389938354, -0.7540974020957947, 0.6884868741035461, -0.4556560814380646, -0.030736731365323067, 0.5172019600868225, 0.345564603805542, 0.8231872916221619, 0.10141562670469284, 0.6238297820091248, -0.09642752259969711, 0.1939823031425476, -0.6103457808494568, 0.38017770648002625, -0.46883687376976013, 0.2787572145462036, -0.1228787750005722, -0.7289490699768066, -0.35928788781166077, 0.48875969648361206, 0.12905320525169373, -0.19108600914478302, 0.7414925694465637, 0.6329610347747803, -0.2102373093366623, -0.4060351252555847, -0.05244773253798485, -0.15323103964328766, 0.32059967517852783, 0.4425826966762543, 0.2226034700870514, -0.11698875576257706, 0.8570241928100586, -0.4103381633758545, -0.06851524859666824, -0.4381515383720398, -1.0457744598388672, -0.5147280693054199, -0.5800329446792603, -0.429731547832489, -0.22023719549179077, -0.2945217788219452, 0.6979268193244934, 1.2301007509231567, -0.20789916813373566, -0.16052694618701935, 0.038653790950775146, 0.19347189366817474, -0.3026706576347351, -0.19264577329158783, 0.2879903316497803, -0.27586081624031067, -0.6719528436660767, 0.43760451674461365, 0.49626368284225464, 0.10109058767557144, -0.4635631740093231, -0.15076081454753876, 0.268316388130188, 0.26112520694732666, 0.45540279150009155, 0.32461392879486084, -0.8189066052436829, -0.29753315448760986, -0.1173403412103653, 0.06605270504951477, -0.0702657401561737, 1.1298750638961792, -0.9473145604133606, 0.5115063786506653, 0.6499391198158264, 0.3196566700935364, 0.41234341263771057, 0.0719417929649353, 0.9662862420082092, -1.3749980926513672, 0.5189743041992188, 0.15503975749015808, 0.37813442945480347, 0.4789074957370758, -0.5594997406005859, 0.7334756851196289, -0.04411829635500908, -0.2837879955768585, -1.1282823085784912, 0.3549382984638214, -1.1793724298477173, -0.7169913053512573, 1.1252856254577637, -0.3040746748447418, -0.311492383480072, -0.27595147490501404, -0.5231418013572693, 0.5255479216575623, -0.36847078800201416, 0.7130084037780762, 0.8765057325363159, -0.047752417623996735, -0.19654159247875214, -0.5571273565292358, 0.43953704833984375, 0.005127516109496355, -0.45164036750793457, 0.16868315637111664, 0.4440997242927551, 0.1249702125787735, 0.30583736300468445, 0.4693275988101959, 0.02130415290594101, 0.374281108379364, 0.08662040531635284, -0.014004184864461422, -0.24557502567768097, -0.19936229288578033, -0.5120723843574524, 0.30399489402770996, 0.030718214809894562, 0.16256147623062134 ]
http://arxiv.org/abs/2407.02042v1
http://arxiv.org/pdf/2407.02042v1
Fake News Detection and Manipulation Reasoning via Large Vision-Language Models
2024-07-02T08:16:43
2024-07-02T08:16:43
Ruihan Jin, Ruibo Fu, Zhengqi Wen, Shuai Zhang, Yukun Liu, Jianhua Tao
cs.CL
cs.CL, cs.AI
Fake news becomes a growing threat to information security and public opinion with the rapid sprawl of media manipulation. Therefore, fake news detection attracts widespread attention from academic community. Traditional fake news detection models demonstrate remarkable performance on authenticity binary classification but their ability to reason detailed faked traces based on the news content remains under-explored. Furthermore, due to the lack of external knowledge, the performance of existing methods on fact-related news is questionable, leaving their practical implementation unclear. In this paper, we propose a new multi-media research topic, namely manipulation reasoning. Manipulation reasoning aims to reason manipulations based on news content. To support the research, we introduce a benchmark for fake news detection and manipulation reasoning, referred to as Human-centric and Fact-related Fake News (HFFN). The benchmark highlights the centrality of human and the high factual relevance, with detailed manual annotations. HFFN encompasses four realistic domains with fake news samples generated through three manipulation approaches. Moreover, a Multi-modal news Detection and Reasoning langUage Model (M-DRUM) is presented not only to judge on the authenticity of multi-modal news, but also raise analytical reasoning about potential manipulations. On the feature extraction level, a cross-attention mechanism is employed to extract fine-grained fusion features from multi-modal inputs. On the reasoning level, a large vision-language model (LVLM) serves as the backbone to facilitate fact-related reasoning. A two-stage training framework is deployed to better activate the capacity of identification and reasoning. Comprehensive experiments demonstrate that our model outperforms state-of-the-art (SOTA) fake news detection models and powerful LVLMs like GPT-4 and LLaVA.
[ -0.5419700741767883, -1.188395619392395, 0.7685535550117493, -0.10509663820266724, -0.2780309319496155, -0.0016870973631739616, -0.013525775633752346, -0.6288367509841919, 0.18048562109470367, 0.5387177467346191, -0.4359472095966339, -0.22390396893024445, -0.43390771746635437, -0.1299101710319519, -0.6142848134040833, 0.5430728793144226, -0.03946699574589729, 0.12337138503789902, -0.022359699010849, -0.2628495395183563, -0.30371707677841187, -0.6844223737716675, -0.11897797137498856, -0.12424491345882416, 0.607718825340271, 0.1992383897304535, 0.5435937643051147, 0.6468406319618225, 0.34091275930404663, 0.33783528208732605, 0.17804837226867676, 0.42004847526550293, -0.23073506355285645, -0.3256317675113678, -0.5188985466957092, -0.37372279167175293, -0.25045913457870483, 0.3693115711212158, 0.3664512038230896, 0.23850370943546295, 0.029773084446787834, 0.1551905870437622, -0.25480934977531433, 0.37318411469459534, -0.6749019026756287, -0.08073705434799194, -0.6795437932014465, -0.28752490878105164, -0.2935544550418854, -0.17662237584590912, -0.4181709289550781, -0.1445665806531906, -0.2774059474468231, -0.5860731601715088, 0.16045184433460236, 0.26828524470329285, 1.0051859617233276, 0.19508764147758484, -0.5492292642593384, -0.04792631044983864, -0.6279247403144836, 0.6707080006599426, -0.4079667031764984, 0.7257645726203918, 0.2140425443649292, 0.5357770323753357, -0.047001369297504425, -0.4945778250694275, -1.1254056692123413, -0.2321626991033554, -0.07655537128448486, -0.0829043984413147, -0.15032704174518585, -0.1538388431072235, 0.43256568908691406, 0.23943324387073517, -0.4726197421550751, -0.10137628763914108, -0.3690291941165924, -0.5013294219970703, 0.5297206044197083, -0.13020280003547668, 0.2858133316040039, -0.3736611604690552, -0.6942681670188904, -0.10262106359004974, -0.5332263112068176, -0.15688380599021912, 0.5421017408370972, -0.05374115705490112, -0.004485458135604858, 0.5803608894348145, -0.3683488965034485, 0.7452082633972168, 0.032695572823286057, -0.4534117579460144, 0.1492622345685959, -0.44046851992607117, -0.43951570987701416, -0.07096695154905319, 0.5807162523269653, 0.4331916868686676, -0.057439059019088745, 0.02809896320104599, -0.10874728858470917, 0.5267256498336792, 0.40010082721710205, -0.4399128556251526, 0.23134569823741913, 0.10630933940410614, -0.6400724649429321, -0.48381248116493225, 0.3276800811290741, -0.7528102397918701, -0.4009760916233063, -0.6384080052375793, 0.7917089462280273, -0.4818316698074341, -0.4639059603214264, 0.2062975913286209, -0.19452452659606934, 0.23630814254283905, 0.6172125339508057, -0.17735619843006134, -0.13259315490722656, 0.8067508339881897, 0.5061063170433044, -0.21933190524578094, -0.5229642987251282, -0.6604029536247253, 0.03183167800307274, -0.21404196321964264, 0.7291564345359802, -0.34054622054100037, 0.3929942548274994, -0.05981265380978584, 0.011560074053704739, 0.07061149924993515, -0.3763697147369385, 0.8093733787536621, -0.8870823979377747, 0.3201640546321869, -0.39594370126724243, -0.42233309149742126, -0.5330047607421875, 0.7176238298416138, -0.7672364115715027, 0.6493573188781738, 0.05449989065527916, -0.8294742107391357, 0.48548999428749084, -0.5536729097366333, -0.5363859534263611, -0.3221336007118225, 0.06531762331724167, -0.34458810091018677, -0.22470204532146454, 0.2360256165266037, 0.24171961843967438, -0.1919412910938263, 0.5553529858589172, -0.43812114000320435, -0.3808881640434265, 0.5169022679328918, -0.6599535942077637, 0.7184641361236572, 0.21872763335704803, -0.35768887400627136, 0.23221845924854279, -0.5680429935455322, -0.3774009346961975, -0.002701191231608391, -0.31978708505630493, -0.2828543186187744, -0.30725955963134766, -0.038042306900024414, 0.5734319686889648, 0.029489995911717415, -0.5781339406967163, 0.28242966532707214, -0.010640043765306473, 0.2835533618927002, 0.45420151948928833, 0.07803510129451752, 0.47158724069595337, -0.33523401618003845, 0.09362147003412247, 0.3660765290260315, 0.4795372784137726, -0.37627944350242615, -0.2036331295967102, -0.6244643926620483, -0.22514759004116058, 0.3310811221599579, 0.6306618452072144, -1.2040733098983765, 0.26674404740333557, -0.1323675960302353, -0.23954761028289795, -0.5511143803596497, -0.006899124011397362, 0.2840001583099365, 0.6438487768173218, 0.5709713697433472, 0.11265181750059128, -0.5099742412567139, -0.833545446395874, -0.8563024401664734, 0.08846373111009598, 0.25373512506484985, -0.22985607385635376, 0.6080774068832397, -0.13727310299873352, 0.8558109402656555, -0.16451624035835266, -0.37921142578125, -0.17594240605831146, 0.25222381949424744, 0.0617682971060276, 0.14256419241428375, 0.4692479968070984, -1.4927948713302612, -0.0840008333325386, -0.17044943571090698, -0.7282770872116089, 0.019935857504606247, -0.4394887089729309, -0.14363116025924683, 0.5060933232307434, 0.5179967880249023, -0.9564430117607117, 0.7693641781806946, 0.38209962844848633, -0.34927475452423096, 1.0004209280014038, 0.19958795607089996, 0.6446936130523682, -0.8425824642181396, -0.03320121020078659, 0.2218019664287567, -0.6145715713500977, -0.6734029650688171, 0.3998410105705261, 0.12660305202007294, 0.057636991143226624, -0.7054497599601746, 0.5935271382331848, -0.44191956520080566, -0.17873026430606842, -0.5246874690055847, 0.1207413375377655, 0.12363959103822708, 0.46191251277923584, -0.08243903517723083, 0.40035152435302734, 0.3466609716415405, -0.40943431854248047, 0.7767600417137146, -0.1935988813638687, -0.5749712586402893, 0.5763541460037231, -0.3202994763851166, -0.23023106157779694, 0.012540471740067005, 0.45324480533599854, -0.6396992206573486, -0.4882436692714691, 0.5648559331893921, -0.6020866632461548, 0.05844027176499367, -0.1598689705133438, -0.9405757188796997, -0.29949426651000977, -0.14684249460697174, 0.21618764102458954, 0.23087018728256226, -0.7469609379768372, 0.7110104560852051, 0.15488800406455994, 0.47694113850593567, -0.5421655178070068, -0.6182687282562256, 0.17989295721054077, -0.12886328995227814, -0.694427490234375, 0.34471625089645386, 0.029713213443756104, -0.49976667761802673, 0.23085059225559235, -0.29342523217201233, 0.08322186768054962, -0.12247012555599213, 0.17494308948516846, 0.18842539191246033, -0.09007146954536438, 0.06465914100408554, 0.04971720650792122, -0.07303626835346222, -0.11441894620656967, -0.0019241137197241187, 0.44819578528404236, -0.051123980432748795, -0.7341150641441345, -0.6157947182655334, 0.29153743386268616, 1.0224553346633911, -0.39863067865371704, 0.7521117925643921, 0.8436506986618042, -0.5427447557449341, 0.04800461232662201, -0.954479455947876, -0.48854878544807434, -0.36008620262145996, 0.14169995486736298, -0.3724360167980194, -0.6519985198974609, 0.3013891875743866, -0.14831790328025818, -0.2525211274623871, 0.22296196222305298, 0.6826000809669495, 0.1887005716562271, 1.006019115447998, 0.30075711011886597, -0.07332708686590195, 0.3315599262714386, -0.11742863804101944, 0.2565283179283142, -0.4271632134914398, -0.10087911039590836, 0.007689912803471088, -0.27632465958595276, -0.16514788568019867, -0.7735468745231628, 0.4438115060329437, 0.10641425102949142, -0.06910062581300735, 0.21957628428936005, -0.11095947027206421, 0.5320433974266052, 0.566321074962616, 0.17814575135707855, 0.54765784740448, 0.16289378702640533, 0.02519918605685234, 0.1822037398815155, -0.41969171166419983, -0.27162638306617737, 0.5437150597572327, 0.4470014274120331, 0.6139678359031677, 0.1482376903295517, 0.11629214882850647, 0.3925008475780487, 0.39530840516090393, -0.7116225361824036, 0.4847119152545929, 0.1757345050573349, -0.8331459760665894, -0.32729700207710266, -0.43513599038124084, -0.3884353041648865, 0.672686755657196, -0.2773432433605194, -0.4391985833644867, 0.16428276896476746, 0.028807802125811577, -0.0708954781293869, 0.6283512711524963, -0.6502810716629028, 0.6227558851242065, -0.2881421744823456, -0.4626065194606781, -0.6774269938468933, -0.6503562331199646, 0.787092924118042, -0.07332742214202881, 0.5940661430358887, -0.022881289944052696, 0.23370608687400818, 0.04722926393151283, -0.2818986475467682, 0.8587568402290344, -0.11363035440444946, -0.009866940788924694, 0.17836040258407593, 0.3589923083782196, 0.3148666024208069, 0.12098420411348343, 0.059456292539834976, 0.2789769172668457, -0.25388243794441223, -0.29357919096946716, -0.5812062621116638, 0.6871870756149292, -0.3158344030380249, -0.7968129515647888, -0.5841845273971558, -0.542275071144104, -0.04637479782104492, 0.2594400942325592, 0.20631101727485657, 0.402685284614563, 0.05460195615887642, 0.21597576141357422, 0.4476602077484131, -0.05841705948114395, 0.3043335974216461, 0.5750997066497803, -0.46462544798851013, -0.11577674001455307, 0.8797423243522644, 0.0372476689517498, 0.1976395696401596, 0.380940318107605, 0.29217734932899475, -0.2904452979564667, -0.036889977753162384, -0.8149573802947998, 0.2077564150094986, -0.5775004625320435, -0.1974279135465622, -0.5830483436584473, -0.18289153277873993, -0.3636993169784546, 0.055336903780698776, -0.28947722911834717, -0.2807549238204956, -0.042532965540885925, 0.08322728425264359, 0.06052171438932419, 0.13861608505249023, -0.19720733165740967, 0.04974702373147011, -0.6769477725028992, 1.0735468864440918, 0.42500150203704834, 0.25751328468322754, -0.1196441575884819, -0.602014422416687, -0.1886747181415558, 0.33608436584472656, -0.40385672450065613, -1.2388007640838623, 0.2213602364063263, -0.2935275137424469, 0.7047492861747742, 0.4877811670303345, 0.026189297437667847, 0.2276613861322403, -0.06884714961051941, 0.5833615064620972, 0.2078273594379425, -1.0071747303009033, 0.507125973701477, -0.45874011516571045, -0.05811741575598717, 0.1489981859922409, 0.4074798822402954, -0.36722031235694885, -0.2729593813419342, -0.5596153140068054, -0.23527757823467255, 0.7008853554725647, 0.01395923551172018, -0.13998135924339294, 0.40226250886917114, 0.21397428214550018, 0.18085640668869019, 0.3646324872970581, -0.934141993522644, -0.13112029433250427, -0.35490697622299194, 0.15017864108085632, 0.2589828670024872, -0.06742293387651443, -0.25747379660606384, -0.5380831360816956, 0.6318594217300415, -0.29320386052131653, 0.002559269778430462, 0.15260033309459686, -0.4274333119392395, -0.07627922296524048, 0.25119292736053467, 0.7643101811408997, 0.9176109433174133, 0.11198490858078003, 0.3245055675506592, 0.004437614232301712, -0.2158680558204651, 0.0753680095076561, 0.10698897391557693, -0.21524865925312042, -0.09378807246685028, 0.39151531457901, 0.7808937430381775, 0.1303865760564804, -0.47783035039901733, 0.8768182992935181, 0.07190613448619843, -0.33547696471214294, -0.13271376490592957, 0.009449637494981289, 0.028022507205605507, 0.3270646631717682, 0.49953776597976685, 0.4224929213523865, 0.16741131246089935, -0.9442588090896606, 0.21950070559978485, 0.2779347598552704, -0.10437227785587311, -0.3844512701034546, 0.47559916973114014, -0.007125751581043005, -0.0021091175731271505, 0.3407866358757019, -0.3984847664833069, -0.9670113325119019, 0.4390474259853363, 0.42957571148872375, 0.32373812794685364, -0.22398334741592407, 0.5019099116325378, 0.13098743557929993, 0.4880705177783966, -0.3073592782020569, 0.15754736959934235, 0.11753915995359421, -1.1467760801315308, -0.7800154685974121, -0.4696623980998993, -0.19250023365020752, 0.4387678802013397, -0.3536243736743927, 0.5238246321678162, -0.22210635244846344, 0.15247954428195953, 0.1846068948507309, -0.1706690788269043, -0.41771236062049866, 0.2056143432855606, 0.2355274260044098, 1.0880151987075806, -0.9270789623260498, 0.9173066020011902, 0.6130099296569824, -0.5357832312583923, -0.5228897333145142, 0.2503200173377991, 0.4171648919582367, -0.5451836585998535, 0.4708380401134491, 0.31266525387763977, -0.15120387077331543, -0.37818342447280884, -0.84395432472229, -0.449826717376709, 0.7239571809768677, 0.5850242376327515, -0.4983643889427185, 0.07057950645685196, 0.039736561477184296, 0.29657411575317383, -0.2465561181306839, -0.17461568117141724, 0.6000848412513733, 0.8712156414985657, 0.17756831645965576, -0.7004171013832092, 0.1172463446855545, 0.029650017619132996, -0.4486410617828369, 0.2637518644332886, -0.9101873636245728, 0.9550857543945312, -0.18770231306552887, -0.13392823934555054, -0.3064551055431366, 0.517853319644928, 0.41052961349487305, 0.7192932367324829, 0.7736622095108032, 0.7694555521011353, 0.35381874442100525, -0.10943073034286499, 1.100318193435669, -0.16030257940292358, 0.27704212069511414, 0.7669607996940613, -0.31096598505973816, 0.5461837649345398, 0.5370445251464844, 0.16342803835868835, 0.6788060665130615, 0.2912500500679016, -0.16689488291740417, 0.2356119453907013, -0.10319648683071136, -0.1782706081867218, -0.6706538200378418, 0.017920611426234245, -0.18089252710342407, 0.9921138882637024, 0.4136590361595154, -0.1507749706506729, -0.28522995114326477, 0.3426053524017334, 0.18512023985385895, 0.11881420761346817, -0.24989533424377441, 0.40821218490600586, -0.023583749309182167, -0.6953285336494446, 0.37945348024368286, 0.39092954993247986, 0.6100038886070251, -0.2527892291545868, -0.17299263179302216, 0.09130653738975525, 0.09873536974191666, -0.15414240956306458, -0.700263500213623, 0.28514567017555237, -0.14582982659339905, -0.3868090808391571, -0.26422232389450073, 1.3160340785980225, -0.4417652189731598, -0.2617079019546509, 0.2736032009124756, 0.7196789383888245, -0.06880572438240051, -0.683484673500061, -0.6763667464256287, 0.3552475869655609, -0.1653715819120407, -0.3120643198490143, 0.39700251817703247, 0.4388746917247772, -0.30489981174468994, 0.6089111566543579, 1.1202189922332764, 0.14304572343826294, -0.12609441578388214, 0.1185849979519844, 0.9093576669692993, -0.5305964350700378, -0.6426675319671631, -0.8066022992134094, 0.19344158470630646, -0.36321166157722473, 0.022854827344417572, 0.7977790832519531, 0.5395525693893433, 0.6380954384803772, -0.14579728245735168, 0.7259088754653931, 0.06195709854364395, 0.8218961954116821, -0.6445691585540771, 0.7036349773406982, -0.6606587767601013, 0.05092405527830124, -0.02469293214380741, -0.8504621982574463, -0.2339123636484146, 0.3460720479488373, -0.31754353642463684, -0.038589101284742355, 0.6007680296897888, 0.8117785453796387, -0.5189233422279358, 0.21370945870876312, 0.4694494307041168, 0.3523765504360199, 0.22994506359100342, 0.20644068717956543, 1.0359911918640137, -0.3738650977611542, 0.5560672879219055, -0.29586610198020935, -0.18583807349205017, -0.6762564778327942, -0.9617939591407776, -0.7072066068649292, -0.6106797456741333, -0.25589537620544434, -0.43269434571266174, -0.09920675307512283, 0.6049215197563171, 1.0029239654541016, -0.521735429763794, 0.31938183307647705, 0.1400202214717865, 0.5776494741439819, -0.4399258494377136, -0.32655996084213257, 0.3461024761199951, 0.1300007402896881, -0.43875977396965027, 0.44733208417892456, 0.25590407848358154, -0.10893271863460541, -0.6242225766181946, 0.07784087210893631, -0.46977972984313965, 0.16595305502414703, 0.8715572953224182, 0.2735583782196045, -0.9923492074012756, -0.46046802401542664, -0.028947774320840836, -0.09048443287611008, -0.12131237238645554, 1.0482401847839355, -1.0020543336868286, 0.290367066860199, 0.5567170977592468, 0.413751482963562, 0.5102465152740479, 0.3545355796813965, 0.10169071704149246, -0.8387655019760132, 0.23786337673664093, -0.1825595647096634, 0.3058590292930603, 0.4111965298652649, -0.40671461820602417, 0.14420492947101593, 0.7048121094703674, -0.3404771685600281, -0.8598510026931763, 0.44039592146873474, -0.9187538027763367, -0.6687542200088501, 1.3018606901168823, 0.21388302743434906, -0.49161845445632935, -0.2745884358882904, -0.3458743095397949, 0.3353937268257141, -0.23414826393127441, 0.7816341519355774, 0.7668544054031372, -0.13576218485832214, -0.5339251160621643, -0.6637371182441711, 0.34586501121520996, 0.054321032017469406, -0.990890383720398, -0.03180946782231331, 0.6087604761123657, 0.2584019899368286, 0.47878846526145935, 0.25736165046691895, -0.24379664659500122, 0.5278089046478271, 0.005351284984499216, 0.03804778680205345, -0.35175806283950806, -0.6524669528007507, -0.09350715577602386, 0.18479150533676147, -0.6713435053825378, -0.1602938324213028 ]
http://arxiv.org/abs/2407.02039v1
http://arxiv.org/pdf/2407.02039v1
Prompt Stability Scoring for Text Annotation with Large Language Models
2024-07-02T08:11:18
2024-07-02T08:11:18
Christopher Barrie, Elli Palaiologou, Petter Törnberg
cs.CL
cs.CL
Researchers are increasingly using language models (LMs) for text annotation. These approaches rely only on a prompt telling the model to return a given output according to a set of instructions. The reproducibility of LM outputs may nonetheless be vulnerable to small changes in the prompt design. This calls into question the replicability of classification routines. To tackle this problem, researchers have typically tested a variety of semantically similar prompts to determine what we call "prompt stability." These approaches remain ad-hoc and task specific. In this article, we propose a general framework for diagnosing prompt stability by adapting traditional approaches to intra- and inter-coder reliability scoring. We call the resulting metric the Prompt Stability Score (PSS) and provide a Python package PromptStability for its estimation. Using six different datasets and twelve outcomes, we classify >150k rows of data to: a) diagnose when prompt stability is low; and b) demonstrate the functionality of the package. We conclude by providing best practice recommendations for applied researchers.
[ -0.2694196403026581, -0.7679955363273621, 0.5963839292526245, 0.5549969673156738, -0.022965535521507263, -0.20379824936389923, -0.366293340921402, -0.21394293010234833, 0.1379386931657791, 0.30471286177635193, -0.28035131096839905, -0.38429778814315796, -0.4994271397590637, 0.5603801608085632, -0.3021984398365021, 1.2334554195404053, 0.05479871854186058, 0.13840439915657043, -0.6386119723320007, -0.35283681750297546, -0.7148144245147705, -0.7172585725784302, -0.713866651058197, 0.02471291646361351, 0.613976240158081, 0.25427302718162537, 0.8487039804458618, 0.49860864877700806, 0.524908185005188, 0.33667969703674316, -0.30573588609695435, -0.029774226248264313, -0.06774481385946274, 0.6239635944366455, 0.06635958701372147, -0.29128775000572205, -0.3023029565811157, -0.048997484147548676, 0.721255362033844, 0.7190313935279846, 0.05753618851304054, -0.008403496816754341, 0.3505309224128723, 0.15595197677612305, -0.28581181168556213, 0.206294983625412, -0.20473386347293854, -0.18085548281669617, -0.1398230642080307, -0.2570347487926483, -0.7608436942100525, -0.7730550765991211, 0.22371219098567963, -0.27318504452705383, -0.05685599148273468, 0.015508025884628296, 0.5368446111679077, 0.23098820447921753, -0.12102361023426056, -0.31242504715919495, -0.5154322981834412, 0.6502072811126709, -0.568560004234314, 0.01756666973233223, 0.5318951606750488, 0.31206631660461426, -0.2917378544807434, -0.37710297107696533, -0.2966920733451843, -0.6624764800071716, -0.20962311327457428, -0.23218700289726257, -0.0058210911229252815, 0.0676213800907135, 0.5599611401557922, 0.1329817920923233, -0.429874062538147, 0.27227577567100525, -0.16531820595264435, -0.585791289806366, 0.28013667464256287, 0.34289121627807617, 0.532005786895752, -0.11141598969697952, -0.33080020546913147, 0.1275705099105835, -0.518647313117981, 0.3815414607524872, 0.29278144240379333, 0.633453369140625, 0.11531603336334229, 0.6368176937103271, -0.03597618639469147, 0.5447075963020325, 0.24097004532814026, -0.22443445026874542, 0.22993777692317963, -0.33308449387550354, 0.2734738290309906, 0.14743857085704803, 0.8467526435852051, 0.6143747568130493, 0.13355612754821777, -0.04837426170706749, -0.4473406672477722, 0.14339576661586761, 0.31190869212150574, -0.6622139811515808, -0.3799465596675873, 0.24675048887729645, -0.5727663040161133, -0.1313905417919159, 0.07682415843009949, -0.6569607257843018, -0.7925176620483398, -0.0659932866692543, 0.4055408537387848, -0.5561528205871582, -0.19073912501335144, -0.20459650456905365, 0.06646101176738739, -0.13739138841629028, 0.454524964094162, -0.7089714407920837, 0.24777576327323914, 0.5580118298530579, 1.1820638179779053, -0.11670650541782379, -0.5411522388458252, -0.9980015158653259, -0.5655089020729065, -0.407720685005188, 0.9256365895271301, -0.32327529788017273, -0.28801894187927246, 0.221944659948349, 0.382071852684021, -0.04975833743810654, -0.21214255690574646, 0.7521798014640808, -0.2725282609462738, 0.3862854540348053, -0.5168500542640686, -0.7092536091804504, 0.11132840812206268, 0.32268476486206055, -0.7044520378112793, 1.0853267908096313, 0.1908174753189087, -1.0947459936141968, 0.3210878074169159, -0.2406487613916397, -0.1749371588230133, 0.1015210896730423, 0.018048809841275215, -0.633650004863739, 0.11986499279737473, -0.09703537821769714, 0.39417973160743713, -0.04157154634594917, 0.30397120118141174, -0.4980969727039337, -0.5586721897125244, 0.37149253487586975, -0.28173550963401794, 0.6605985164642334, -0.06117106229066849, 0.04406246542930603, 0.2799157202243805, -0.6995309591293335, -0.10766395181417465, -0.2616157829761505, -0.4167156517505646, -0.39645475149154663, 0.18363964557647705, -0.1668747216463089, 0.26347529888153076, 0.08906372636556625, -0.47142377495765686, 0.32504698634147644, -0.0992707833647728, 0.3120301067829132, 0.5808060169219971, 0.08989322930574417, 0.4057791233062744, -0.4768625497817993, 0.8603554368019104, -0.028884869068861008, -0.048667509108781815, -0.8006463646888733, -0.6374620795249939, -0.5552155375480652, -0.1789727807044983, 0.18098199367523193, 0.6046470999717712, -0.6719867587089539, 0.6530431509017944, -0.22576145827770233, -0.46341967582702637, -0.35162240266799927, -0.26542985439300537, 0.4304688274860382, 0.6519160866737366, 0.2478516548871994, -0.04813303425908089, -0.3654595911502838, -0.6880301237106323, -0.23745770752429962, -0.4912090003490448, 0.04994563013315201, -0.34714463353157043, 0.338031530380249, -0.23600582778453827, 1.1752598285675049, -0.19749465584754944, 0.04215000569820404, -0.184464231133461, 0.3977668583393097, 0.24306154251098633, 0.5337033271789551, 0.8392728567123413, -0.26241979002952576, -0.15118978917598724, -0.2908782362937927, -0.40348926186561584, -0.4185112416744232, -0.10382293164730072, 0.22487203776836395, 0.5866476893424988, 0.4747711718082428, -0.5797756910324097, 0.33857622742652893, 0.5466536283493042, -0.6072818636894226, 0.9610594511032104, -0.3539925813674927, 0.38225921988487244, -0.9518399834632874, 0.2439744621515274, 0.34274449944496155, -0.32627424597740173, -0.5021159648895264, -0.3916165232658386, 0.17535144090652466, -0.12853200733661652, -0.07132606208324432, 0.34776580333709717, -0.11470910161733627, 0.17355604469776154, -0.4535197913646698, -0.05662372708320618, -0.09283734858036041, -0.024073755368590355, 0.019882172346115112, 0.7804275155067444, 0.5099871158599854, -0.6435264945030212, 0.4117823541164398, 0.18916741013526917, -0.2428494393825531, 0.6888060569763184, -0.9915911555290222, 0.14210233092308044, -0.23422729969024658, 0.24267184734344482, -1.2722235918045044, -0.045427046716213226, 0.3148657977581024, -0.537554919719696, 0.09546582400798798, -0.3773149847984314, -0.5828186869621277, -0.2839600145816803, -0.48477664589881897, 0.26130080223083496, 0.3093702793121338, -0.4813462197780609, 0.29856184124946594, 0.29370686411857605, -0.5089105367660522, -0.5558602213859558, -0.4902377128601074, -0.12499218434095383, -0.25084710121154785, -0.6106634736061096, -0.19671639800071716, -0.2480204701423645, -0.3605194091796875, 0.07756403088569641, 0.1002054363489151, 0.022510118782520294, 0.29821285605430603, 0.6152357459068298, 0.2487475425004959, -0.23172307014465332, 0.2680038511753082, -0.0809260681271553, -0.46304038166999817, 0.14513163268566132, -0.005783038213849068, 0.4105581045150757, -0.16216839849948883, -0.10809639096260071, -0.37451574206352234, 0.33533230423927307, 0.6597234010696411, -0.17612700164318085, 0.9463874101638794, 0.28293800354003906, -0.39376431703567505, -0.18097691237926483, -0.2489258497953415, -0.00777911813929677, -0.4411373436450958, 0.30152472853660583, -0.33916163444519043, -0.7250831723213196, 0.8365398049354553, 0.09773935377597809, 0.14632554352283478, 0.4190203547477722, 0.40556973218917847, -0.0956161692738533, 1.0143897533416748, 0.8293231129646301, -0.034680504351854324, 0.3639902174472809, 0.42499032616615295, 0.15287508070468903, -0.29229435324668884, -0.255836546421051, -0.9837273955345154, 0.1368715763092041, -0.3796926736831665, -0.17613935470581055, 0.1732882559299469, 0.2522520422935486, -0.25439780950546265, 0.31867489218711853, -0.41881218552589417, 0.5219524502754211, 0.4583408832550049, -0.13634918630123138, 0.07487797737121582, -0.2444199025630951, -0.12321396917104721, -0.10330983251333237, -0.39834627509117126, -0.9535667300224304, 0.4393085539340973, 0.4901931881904602, 0.5982171893119812, -0.14750832319259644, 0.32440507411956787, 0.4692629277706146, 0.16501712799072266, -0.6752007007598877, 0.534652590751648, -0.1310281902551651, -0.17180727422237396, -0.3114372193813324, -0.5274199843406677, -0.8220942616462708, -0.11305349320173264, -0.19976019859313965, -0.716171383857727, -0.03038121946156025, 0.27132973074913025, -0.6134894490242004, -0.12438251823186874, -0.5735970735549927, 1.0039290189743042, -0.09864267706871033, 0.026164747774600983, 0.36820119619369507, -0.6907908320426941, 0.0717850849032402, -0.033604301512241364, 0.1854964643716812, -0.15031082928180695, -0.1351638287305832, 0.8876693248748779, -0.5737325549125671, 0.8091850280761719, -0.28478357195854187, -0.3152141869068146, 0.21281911432743073, 0.2673843204975128, 0.3470938801765442, 0.11288830637931824, -0.40333008766174316, -0.04864993318915367, 0.22302067279815674, -0.2465892732143402, -0.5952828526496887, 0.7844109535217285, -0.5730400085449219, -0.15266220271587372, -0.7891032099723816, -0.33139488101005554, -0.1628233939409256, 0.14367707073688507, 0.373364120721817, 0.6640980839729309, 0.02332782745361328, 0.05269499495625496, 0.49420201778411865, -0.32843950390815735, 0.7187890410423279, 0.3217853307723999, -0.367885947227478, -0.6757224798202515, 0.6237001419067383, 0.3177196681499481, 0.11932820081710815, 0.018003683537244797, 0.28008535504341125, -0.3627590537071228, -0.5688341856002808, -0.37308767437934875, -0.16518336534500122, -0.8492804169654846, -0.34173330664634705, -0.43515744805336, -0.030853036791086197, -0.13232573866844177, -0.22097763419151306, -0.20268090069293976, -0.48715218901634216, -0.32880908250808716, -0.1917458474636078, 0.6947960257530212, 0.7509319186210632, 0.2191341668367386, 0.333143949508667, -0.9125350117683411, -0.051460616290569305, -0.12429607659578323, 0.6102070808410645, -0.3818407654762268, -0.5855018496513367, -0.21205756068229675, -0.15463021397590637, 0.10812593996524811, -0.9771880507469177, 0.11265479773283005, 0.153299018740654, 0.6069658994674683, 0.272868275642395, 0.4209290146827698, 0.36846470832824707, -0.4603191912174225, 1.1326872110366821, 0.25740256905555725, -1.1235342025756836, 0.7409167289733887, -0.5441622138023376, 0.2190965712070465, 0.7378573417663574, 0.42605650424957275, -0.7570548057556152, -0.47337570786476135, -0.17597272992134094, -0.8293269872665405, 0.6931551098823547, -0.26140642166137695, 0.06047039106488228, -0.2732466757297516, 0.6579080820083618, 0.4980587661266327, -0.03690218925476074, -0.5791518092155457, -0.10039109736680984, -0.2434699386358261, -0.4528938829898834, -0.27635759115219116, -0.5033082365989685, 0.0956151932477951, -0.0732957273721695, 0.4560645520687103, -0.3915637135505676, -0.06294475495815277, -0.002346829976886511, -0.13391700387001038, -0.17265452444553375, 0.041691459715366364, 0.5561420321464539, 0.8337754607200623, -0.1458410769701004, 0.3428419232368469, -0.209828719496727, -0.49747976660728455, 0.3703259229660034, 0.024181412532925606, -0.4917905032634735, 0.02740573137998581, 0.528021514415741, 0.6424521207809448, 0.2120370715856552, -0.7035212516784668, 0.6880329251289368, -0.3419416546821594, 0.1727181077003479, -0.21062682569026947, -0.1413271576166153, -0.3118763566017151, 0.024347487837076187, 0.23896236717700958, 0.32009679079055786, -0.2436913698911667, -0.3562792241573334, 0.4508412778377533, 0.21092164516448975, -0.416042685508728, -0.5968561172485352, 0.5018766522407532, 0.42697855830192566, -0.4770444631576538, 0.5969343781471252, -0.41398924589157104, -0.607083797454834, 0.435955286026001, 0.5738407969474792, 0.9704429507255554, -0.3899611234664917, 0.5075228214263916, 0.4589940011501312, 0.4649626612663269, -0.5975750684738159, 0.39625996351242065, 0.3938032388687134, -0.477557897567749, -0.3889543414115906, -0.5499092936515808, -0.4672240614891052, -0.221708282828331, -0.7202541828155518, 0.4590681195259094, -0.5511921644210815, -0.37649282813072205, -0.3456941843032837, -0.025566864758729935, -0.05919500067830086, 0.06737573444843292, 0.07879040390253067, 0.7987745404243469, -1.2295392751693726, 0.6738160848617554, 0.9105269312858582, -0.548130989074707, -0.5019581913948059, 0.15386661887168884, -0.10658065974712372, -0.3033638894557953, 0.3657081723213196, 0.5322693586349487, -0.023610919713974, -0.5209174156188965, -0.3854735791683197, -0.8067668080329895, 0.7789655327796936, 0.6891394853591919, -0.5714117884635925, 0.3440680503845215, -0.2097432166337967, 0.7606834173202515, -0.17857907712459564, 0.46236947178840637, 0.425629585981369, 0.31299495697021484, -0.17579296231269836, -1.1560571193695068, 0.23949852585792542, -0.4395456314086914, -0.027946114540100098, 0.21686503291130066, -0.43714576959609985, 0.7444655895233154, -0.22814691066741943, -0.17594300210475922, 0.586283266544342, 0.5248337388038635, 0.5333608388900757, 0.5396168828010559, 0.5501202344894409, 0.47551026940345764, 0.9655246734619141, -0.40820831060409546, 1.0501559972763062, -0.3592911660671234, 0.4241980016231537, 0.7946662902832031, -0.037951041013002396, 0.8237854838371277, 0.30348846316337585, 0.0014023687690496445, 0.3986014723777771, 0.766154408454895, -0.08810131251811981, 0.308998167514801, 0.2453484684228897, 0.07449921220541, -0.2727351188659668, -0.1996280997991562, -0.32189568877220154, 0.12088306993246078, 0.04426183924078941, -0.35139861702919006, -0.023500192910432816, 0.22367490828037262, 0.0868929848074913, 0.127419114112854, -0.32749035954475403, 0.5532403588294983, -0.08088155090808868, -0.6477632522583008, 0.40277767181396484, -0.4131433367729187, 0.5304916501045227, -0.5261631608009338, -0.038069773465394974, -0.14016471803188324, 0.2637921869754791, -0.19979603588581085, -0.9909178018569946, 0.25215986371040344, 0.07989044487476349, -0.5423860549926758, -0.18841750919818878, 0.6784709692001343, -0.32281798124313354, -0.5551016926765442, 0.23028455674648285, 0.20019343495368958, 0.07858486473560333, 0.16450415551662445, -0.24230597913265228, 0.5510669946670532, -0.47179630398750305, -0.20130681991577148, 0.3404993712902069, 0.7395821809768677, -0.031190522015094757, 0.6991546750068665, 0.13566792011260986, 0.08762368559837341, 0.17359833419322968, 0.03493158146739006, 0.7337969541549683, -0.6321117877960205, -0.48198214173316956, -0.9198856353759766, 0.671529233455658, -0.061879515647888184, -0.7124843001365662, 1.1089160442352295, 0.2584857642650604, 0.34676310420036316, 0.13561342656612396, 0.7846173048019409, 0.06131329759955406, 0.440662682056427, -0.45939892530441284, 0.5371050238609314, -0.005670723505318165, 0.47105327248573303, -0.5519494414329529, -0.9600658416748047, -0.6683967113494873, 0.47839102149009705, -0.18097816407680511, -0.15375617146492004, 0.6290599703788757, 0.45732730627059937, 0.43461909890174866, 0.17440713942050934, -0.022538509219884872, 0.16881848871707916, 0.38048067688941956, 0.1945601850748062, 1.2941005229949951, -0.07673089951276779, 0.46256235241889954, -0.3733918368816376, -0.42097198963165283, -0.23223677277565002, -1.1154617071151733, -0.881377637386322, -0.6926873326301575, -0.6407349705696106, -0.738033652305603, 0.10388467460870743, 0.9828490614891052, 0.4258241057395935, -0.8479124307632446, 0.1772938370704651, 0.04206395149230957, -0.09035750478506088, -0.3547792136669159, -0.17198914289474487, 0.5435665845870972, -0.7302786111831665, -0.3599080443382263, 0.23054079711437225, 0.378447026014328, 0.0037854821421205997, -0.14319299161434174, 0.03665035218000412, 0.3724425435066223, -0.10624329745769501, 0.4393513798713684, 0.3406676650047302, -0.58021479845047, -0.6706385016441345, 0.013027992099523544, -0.09211360663175583, -0.14175070822238922, 0.833061933517456, -0.7880987524986267, 0.4178500175476074, 0.6726422309875488, 0.6903964877128601, -0.5966595411300659, 0.23481252789497375, 0.6623739004135132, -0.684708297252655, -0.07994765043258667, 0.42062103748321533, 0.7218978404998779, 0.44846001267433167, -0.2565914988517761, 0.10479050874710083, 0.25027796626091003, -1.0379819869995117, -0.9445239305496216, 0.06972146779298782, -0.9544070959091187, -0.012568983249366283, 1.2360950708389282, -0.5843285322189331, -0.12912671267986298, -0.30829572677612305, -0.4750610888004303, -0.09590213000774384, -0.585811972618103, 0.8354818224906921, 0.7108926773071289, -0.05494261533021927, -0.24411334097385406, -0.0075857448391616344, 0.5529177188873291, 0.1986168920993805, -0.572047233581543, 0.2673681676387787, 0.6780300736427307, 0.3648822009563446, 0.5913496613502502, 0.6445220708847046, 0.04407430440187454, 0.37186357378959656, 0.06930878758430481, -0.24256637692451477, 0.048962485045194626, -0.4362926781177521, -0.7858717441558838, 0.42926767468452454, 0.27765217423439026, -0.23761017620563507 ]
http://arxiv.org/abs/2407.02030v1
http://arxiv.org/pdf/2407.02030v1
Breaking Bias, Building Bridges: Evaluation and Mitigation of Social Biases in LLMs via Contact Hypothesis
2024-07-02T07:58:46
2024-07-02T07:58:46
Chahat Raj, Anjishnu Mukherjee, Aylin Caliskan, Antonios Anastasopoulos, Ziwei Zhu
cs.CL
cs.CL
Large Language Models (LLMs) perpetuate social biases, reflecting prejudices in their training data and reinforcing societal stereotypes and inequalities. Our work explores the potential of the Contact Hypothesis, a concept from social psychology for debiasing LLMs. We simulate various forms of social contact through LLM prompting to measure their influence on the model's biases, mirroring how intergroup interactions can reduce prejudices in social contexts. We create a dataset of 108,000 prompts following a principled approach replicating social contact to measure biases in three LLMs (LLaMA 2, Tulu, and NousHermes) across 13 social bias dimensions. We propose a unique debiasing technique, Social Contact Debiasing (SCD), that instruction-tunes these models with unbiased responses to prompts. Our research demonstrates that LLM responses exhibit social biases when subject to contact probing, but more importantly, these biases can be significantly reduced by up to 40% in 1 epoch of instruction tuning LLaMA 2 following our SCD strategy. Our code and data are available at https://github.com/chahatraj/breakingbias.
[ -0.4306691884994507, -0.9230830073356628, 0.5321648120880127, 0.30125200748443604, -0.12765727937221527, 0.37903451919555664, -0.2089897096157074, -0.4628309905529022, 0.47855138778686523, 0.5283434391021729, -0.4711802005767822, -0.544740617275238, -0.6307036876678467, -0.06930217146873474, -0.23166242241859436, 0.6853876113891602, 0.03635615482926369, 0.4450683891773224, -0.3017721176147461, -0.14323914051055908, -0.2502692639827728, -0.4917990565299988, -0.41787809133529663, -0.5385427474975586, 0.6914284825325012, 0.7302039265632629, 0.4911089241504669, 0.40213826298713684, 0.3822346031665802, 0.1814335137605667, -0.41342613101005554, 0.10508943349123001, -0.6405549049377441, -0.04064793512225151, -0.23031120002269745, -0.7288886904716492, -0.08883841335773468, 0.2953178882598877, 0.4752104878425598, 1.0050888061523438, 0.0954224243760109, 0.33190470933914185, 0.3471737205982208, 0.7578257918357849, -0.5247219204902649, 0.13323745131492615, -0.4388837218284607, 0.016178114339709282, -0.5017176270484924, -0.02328842133283615, -0.3947941064834595, -0.5445786714553833, -0.04438861086964607, -0.030837399885058403, 0.3345904052257538, 0.0652802512049675, 0.5705196261405945, 0.14114566147327423, -0.548838198184967, 0.040500301867723465, -0.46425896883010864, 0.6167660355567932, -0.5593046545982361, 0.4472431540489197, 0.73907870054245, -0.040074001997709274, -0.11937107145786285, 0.09879469871520996, -0.3619391918182373, -0.39616650342941284, 0.27140066027641296, -0.16988711059093475, 0.26787069439888, 0.17848922312259674, 0.7209120392799377, 0.14535099267959595, -0.05195067450404167, 0.020446402952075005, -0.6025709509849548, 0.14893341064453125, 0.6834405660629272, 0.030794808641076088, 0.31364285945892334, -0.045667681843042374, -0.24977393448352814, 0.04685818776488304, -1.0704904794692993, 0.004645165521651506, 0.6941016316413879, 0.09459932148456573, -0.4628170430660248, 0.6065411567687988, -0.2754514217376709, 0.26001712679862976, 0.30556124448776245, 0.02335404045879841, 0.3529489040374756, -0.010394822806119919, 0.047559741884469986, 0.09070097655057907, 0.5971643924713135, 0.7541511058807373, 0.6261791586875916, -0.2522885799407959, 0.20589886605739594, 0.4765010178089142, 0.009006150998175144, -0.5912395715713501, 0.08585367351770401, -0.09740883111953735, -0.4030746817588806, -0.663358211517334, -0.18634198606014252, -0.8540257811546326, -0.7980130910873413, -0.28552088141441345, -0.059817537665367126, -0.14524339139461517, -0.3443346619606018, -0.04106305167078972, -0.03546670079231262, 0.3055523931980133, 0.10999101400375366, -0.8954616189002991, 0.3120652735233307, 0.41159823536872864, 0.8847400546073914, -0.10883249342441559, -0.1909996122121811, -0.5773509740829468, -0.027118565514683723, -0.22295188903808594, 0.7222508192062378, -0.6784861087799072, -0.6689500212669373, 0.17165476083755493, -0.0865921899676323, 0.10787131637334824, -0.6310997009277344, 0.39003121852874756, -0.4064195156097412, -0.18018943071365356, -0.6450947523117065, -0.35164353251457214, 0.22318726778030396, 0.3134547173976898, -0.5816420316696167, 0.9832190275192261, -0.10431499779224396, -0.9177807569503784, 0.2809562087059021, -0.5025718212127686, -0.5092244744300842, -0.2450827807188034, -0.22100362181663513, -0.08879494667053223, 0.20125815272331238, 0.05785629525780678, 0.1320219188928604, -0.5623083710670471, 0.19696977734565735, -1.0671716928482056, -0.3566366732120514, 0.09093284606933594, -0.1953875571489334, 0.9287503361701965, -0.030085356906056404, -0.6514718532562256, 0.035346128046512604, -0.4876992702484131, -0.4178771376609802, 0.14506657421588898, -0.24797150492668152, -0.5341444611549377, 0.11041068285703659, -0.1473618447780609, 0.19597098231315613, -0.07992765307426453, -0.7757250070571899, 0.25527438521385193, -0.2911689579486847, 0.23215430974960327, 0.9846799373626709, -0.06348173320293427, 0.5077743530273438, -0.3517650067806244, 0.4170186519622803, 0.1448790431022644, 0.27424079179763794, 0.3223320245742798, -0.1665154993534088, -0.9183054566383362, 0.21071742475032806, 0.18868888914585114, 0.3880498707294464, -0.8216912150382996, 0.03455006703734398, 0.10894094407558441, -0.5997292995452881, -0.47090309858322144, 0.4805490970611572, 0.48968544602394104, 0.378736287355423, 0.1369081735610962, -0.4496338665485382, -0.5557886958122253, -0.820516049861908, -0.5045181512832642, -0.14756028354167938, 0.016552308574318886, 0.28036513924598694, 0.2675504684448242, -0.22367559373378754, 0.7418628334999084, -0.32000067830085754, -0.09629149734973907, -0.12406796216964722, -0.23954488337039948, -0.10464531928300858, 0.2197207510471344, 0.2705283761024475, -0.4786854386329651, -0.5612162351608276, -0.4969719350337982, -0.8170690536499023, -0.5313630700111389, 0.27793973684310913, -0.16806095838546753, 0.19543105363845825, 0.7562820315361023, -0.5357791185379028, 0.5479404330253601, 0.46669116616249084, -0.5408486723899841, 0.6352160573005676, 0.3255052864551544, 0.11528905481100082, -0.8653916716575623, -0.3687840402126312, 0.4763432443141937, 0.18445630371570587, -0.43757522106170654, -0.3046249747276306, -0.10908112674951553, 0.1693701297044754, -0.45588499307632446, 0.5377121567726135, -0.7019504904747009, 0.017059285193681717, -0.11576254665851593, 0.24414245784282684, -0.1325291246175766, 0.20736004412174225, -0.14043673872947693, 0.4130173921585083, 0.45560958981513977, -0.36879652738571167, 0.23488278687000275, 0.42359602451324463, -0.5940959453582764, 0.6805282235145569, -0.8277738690376282, 0.42251691222190857, -0.18413971364498138, 0.2387668639421463, -0.9868902564048767, -0.03593495860695839, 0.2912444770336151, -0.22140398621559143, -0.036605190485715866, -0.1631796956062317, -0.4299238622188568, -0.2171488106250763, -0.6514570116996765, 0.46588408946990967, 0.2734919488430023, -0.6944969892501831, 0.3250957727432251, 0.636434018611908, -0.1746583729982376, -0.5221356153488159, -0.5683236718177795, 0.13494539260864258, -0.42830973863601685, -0.6695111989974976, 0.15908902883529663, -0.15388213098049164, -0.816936731338501, -0.3439798057079315, -0.1475081741809845, 0.30321669578552246, 0.10067692399024963, 0.44767341017723083, 0.3033835291862488, 0.28281402587890625, -0.08587951213121414, 0.06528979539871216, 0.10089275240898132, 0.3878334164619446, 0.3090495467185974, 0.773716151714325, 0.17904017865657806, -0.7502048015594482, -0.06796716153621674, 0.16990415751934052, 0.6940964460372925, -0.06836991012096405, 0.5438421368598938, 0.12708024680614471, -0.21085447072982788, -0.12255886197090149, -0.9706411957740784, -0.4749700725078583, -0.47242769598960876, 0.10731370002031326, -0.21480903029441833, -0.9392248392105103, 0.3645334243774414, -0.22921137511730194, -0.11858459562063217, -0.24967995285987854, 0.4590831696987152, -0.09019961953163147, 0.8466234803199768, 0.767810583114624, -0.5121600031852722, 0.6526257395744324, 0.040560148656368256, 0.2855014503002167, -0.9619568586349487, -0.20479311048984528, -0.37945517897605896, -0.34901654720306396, -0.46002882719039917, -0.6342798471450806, 0.23977331817150116, 0.20732390880584717, -0.1841692477464676, -0.08152535557746887, -0.20529796183109283, 0.7014997005462646, 0.6197067499160767, 0.4089485704898834, 0.29696816205978394, -0.0718500092625618, -0.2380407154560089, -0.04384692385792732, -0.5273597240447998, -0.5426483750343323, 1.1913108825683594, 0.5265341401100159, 1.0022740364074707, -0.023220237344503403, 0.7963298559188843, 0.4382779598236084, 0.5093011260032654, -0.5365395545959473, 0.6156545281410217, 0.4151408076286316, -0.4615546464920044, -0.22093500196933746, -0.3455981910228729, -0.6136340498924255, 0.15267492830753326, -0.2155659794807434, -0.8643732666969299, 0.3341851234436035, 0.0386011116206646, -0.016479965299367905, 0.4156741201877594, -0.5300899744033813, 0.3508193790912628, -0.1930713802576065, -0.8287615776062012, -0.3269079625606537, -0.6606018543243408, 0.6233165264129639, 0.114513099193573, 0.34966516494750977, -0.3200811445713043, 0.47138383984565735, 0.7267186641693115, -0.34765103459358215, 1.5263381004333496, -0.34624260663986206, -0.35436829924583435, 0.28473353385925293, 0.0038859795313328505, 0.5396853089332581, -0.007460869383066893, -0.2409936487674713, 0.41024601459503174, -0.10021147131919861, -0.41834643483161926, -0.283299058675766, 0.6294500231742859, -0.6808050870895386, -0.6049793362617493, -0.25148117542266846, -0.6508494019508362, -0.37034130096435547, -0.06944236904382706, 0.007377310656011105, 0.12591324746608734, -0.4204234182834625, 0.10774368792772293, 0.716327428817749, -0.1582019329071045, 0.1910380721092224, 0.5398906469345093, -0.16248349845409393, -0.2967008948326111, 0.47419053316116333, 0.2133992314338684, 0.4679807722568512, -0.2695459723472595, 0.06972187012434006, -0.3128226101398468, -0.22135832905769348, -0.18154798448085785, 0.37972959876060486, -0.3735008239746094, -0.013196281157433987, -0.3989339768886566, -0.01709536463022232, -0.6663282513618469, -0.04422234371304512, -0.1151341125369072, -0.07052634656429291, 0.1859949380159378, -0.4619872272014618, 0.21644285321235657, 0.8173761367797852, -0.38714680075645447, 0.2949986755847931, -0.5261862874031067, 0.28260037302970886, 0.21061035990715027, 0.4219842851161957, -0.05551201477646828, -0.3287685513496399, -0.31763672828674316, 0.05000155791640282, -0.3696383237838745, -1.1735774278640747, 0.06844601780176163, -0.34428703784942627, 0.4230983853340149, 0.5362820625305176, 0.2802838087081909, 0.294026255607605, -0.5601726770401001, 0.4477308988571167, 0.21845786273479462, -1.0320639610290527, 0.4422178864479065, -0.5372936129570007, -0.00046436922275461257, 0.6155856251716614, 0.3796887993812561, -0.6972086429595947, -0.4237646460533142, -0.7694807648658752, -0.779094398021698, 0.4409417510032654, -0.3032042384147644, 0.06140756234526634, -0.3048810362815857, 0.3506239354610443, -0.41183608770370483, 0.1751987487077713, -0.6159665584564209, -0.3175993859767914, 0.34704816341400146, -0.08466340601444244, -0.07901698350906372, -0.8357049226760864, -0.48020118474960327, -0.2230224907398224, 0.5655772089958191, 0.006182380951941013, -0.3138349950313568, 0.19238974153995514, -0.21615828573703766, -0.2919144928455353, 0.10553343594074249, 0.38329049944877625, 0.48752906918525696, -0.01028961967676878, 0.2651151418685913, 0.5039656162261963, -0.3732827603816986, 0.2987994849681854, -0.13309429585933685, -0.36349329352378845, -0.036347534507513046, 0.06819119304418564, 0.5863454341888428, 0.10637860745191574, -0.5084220767021179, 0.3268849849700928, 0.14830920100212097, -0.19264817237854004, -0.12636925280094147, -0.03188672661781311, 0.36581093072891235, 0.4254061281681061, 0.08686312288045883, -0.4301983416080475, -0.11640584468841553, -0.5532093048095703, 0.27939513325691223, 0.6293746829032898, -0.61380934715271, -0.31606653332710266, 0.5178959965705872, 0.6366032361984253, -0.5667080879211426, 0.27531301975250244, -0.07656155526638031, -0.5673953294754028, 0.4787403345108032, 0.5421289801597595, 0.6169564723968506, -0.44315192103385925, 0.21077176928520203, 0.2019270807504654, 0.5996341705322266, -0.061168916523456573, 0.10394839942455292, -0.11418777704238892, -1.1443607807159424, -0.48636865615844727, -0.41281867027282715, -0.7898407578468323, 0.11547762900590897, -0.8249555826187134, 0.39927077293395996, -0.5146998763084412, -0.03668740764260292, -0.3096654713153839, 0.11633722484111786, -0.41365790367126465, -0.13406533002853394, 0.30884402990341187, 1.0643627643585205, -1.2122817039489746, 0.7668701410293579, 0.48520633578300476, -0.44863784313201904, -0.46736201643943787, 0.10265082865953445, 0.4118186831474304, -0.7687788009643555, 0.7805099487304688, 0.33882662653923035, -0.19718186557292938, -0.19311729073524475, -0.7107216715812683, -0.6312443017959595, 0.69725501537323, 0.5688102841377258, -0.7202920913696289, 0.04686162620782852, 0.43353402614593506, -0.0031242261175066233, -0.11814470589160919, 0.37999293208122253, 1.0952152013778687, 0.4725227952003479, -0.26863521337509155, -0.9168241620063782, 0.2366696447134018, -0.35397276282310486, -0.10889473557472229, 0.09805832803249359, -1.083508014678955, 0.4084246754646301, -0.49067553877830505, -0.008989399299025536, -0.24397142231464386, 0.3853852152824402, 0.50772625207901, 0.39928552508354187, 0.8714584112167358, 0.7087585926055908, 0.7246464490890503, 0.03223898261785507, 0.5281767845153809, -0.470755010843277, 0.17740178108215332, 1.1720452308654785, -0.7552529573440552, 0.3619135618209839, 0.8095433712005615, -0.14058242738246918, 0.5245386958122253, 0.585983157157898, 0.12817227840423584, 0.29260000586509705, 0.851470947265625, -0.5570911765098572, -0.02577928826212883, -0.47347477078437805, -0.3643590807914734, 0.35069042444229126, 0.25790318846702576, -0.23682159185409546, -0.269547700881958, -0.05459824576973915, 0.36436399817466736, 0.1843889206647873, -0.10972049087285995, 0.5175454020500183, 0.28354254364967346, -0.38021615147590637, 0.30832189321517944, -0.33271339535713196, 0.8843552470207214, -0.3929820656776428, -0.0661492794752121, -0.47755399346351624, 0.14167705178260803, -0.31802380084991455, -0.46734997630119324, 0.22734183073043823, 0.05541425570845604, -0.35459864139556885, -0.20081904530525208, 0.8603783249855042, -0.5371474623680115, -0.2775191068649292, 0.7312954068183899, 0.6224426031112671, 0.13193701207637787, -0.1747228354215622, -0.5006589889526367, 0.48406341671943665, 0.20263224840164185, -0.33311188220977783, 0.5771056413650513, 0.3587418794631958, -0.019685493782162666, 0.666816771030426, 0.7162674069404602, 0.184183269739151, -0.1563100814819336, 0.4072164297103882, 0.9272807240486145, -0.7722508907318115, 0.045129306614398956, -0.9572799205780029, 0.3497845232486725, -0.3649538457393646, -0.18449681997299194, 0.9817062616348267, 0.43050625920295715, 0.7800936698913574, 0.22918887436389923, 0.9012003540992737, 0.2080884426832199, 0.49143651127815247, -0.19995339214801788, 0.6619967222213745, -0.04159459099173546, 0.35763686895370483, -0.486941397190094, -0.9406654834747314, 0.04304582625627518, 0.5895516276359558, -0.7004223465919495, -0.1781398057937622, 0.46667394042015076, 1.03081214427948, 0.16315284371376038, -0.005851975176483393, 0.2920399010181427, 0.2889835238456726, 0.3065810799598694, 0.36543506383895874, 1.0763431787490845, -0.1893869936466217, 0.3061498999595642, -0.30603092908859253, -0.5364795923233032, 0.009038768708705902, -0.6961904764175415, -1.1878553628921509, -0.16456341743469238, -0.28581568598747253, -0.8369439840316772, 0.18821635842323303, 0.916354775428772, 0.4374043941497803, -0.35342535376548767, -0.559177041053772, 0.12405145168304443, 0.35310375690460205, 0.3302329182624817, -0.26610368490219116, 0.09065885096788406, -0.5348429083824158, -0.7392587065696716, 0.45723238587379456, 0.15687522292137146, -0.17634519934654236, -0.47879618406295776, -0.02510790526866913, -0.2014859914779663, 0.09351782500743866, 0.7646217942237854, 0.20495526492595673, -0.34021803736686707, -0.43724358081817627, -0.052207399159669876, 0.004007613752037287, -0.02830597572028637, 0.49795660376548767, -0.5244578719139099, 0.06920932233333588, 0.25746431946754456, 0.5236089825630188, 0.5209596753120422, 0.006110091228038073, 0.6940671801567078, -0.4904066026210785, 0.24276575446128845, -0.08301382511854172, 0.42935776710510254, 0.45707252621650696, -0.3179641366004944, 0.8586642742156982, 0.4458024501800537, -0.4840215742588043, -1.114513635635376, 0.4725567102432251, -0.6890660524368286, 0.06083465367555618, 1.5831189155578613, 0.1248120665550232, -0.24555104970932007, -0.2650073170661926, -0.25910305976867676, 0.25041210651397705, -0.26013368368148804, 1.2438825368881226, 0.7321609854698181, 0.018300995230674744, -0.000675581453833729, -0.48478275537490845, 0.3696194887161255, 0.7516466975212097, -0.7480577826499939, 0.19355374574661255, 0.5276783108711243, 0.5303096771240234, 0.15706926584243774, 0.8221859335899353, -0.08524371683597565, -0.05590452253818512, -0.1505902260541916, 0.44401830434799194, 0.24054394662380219, -0.1797158122062683, -0.13353665173053741, -0.1391267478466034, 0.11246484518051147, -0.17438343167304993 ]
http://arxiv.org/abs/2407.02028v1
http://arxiv.org/pdf/2407.02028v1
Why does in-context learning fail sometimes? Evaluating in-context learning on open and closed questions
2024-07-02T07:52:30
2024-07-02T07:52:30
Xiang Li, Haoran Tang, Siyu Chen, Ziwei Wang, Ryan Chen, Marcin Abram
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
We measure the performance of in-context learning as a function of task novelty and difficulty for open and closed questions. For that purpose, we created a novel benchmark consisting of hard scientific questions, each paired with a context of various relevancy. We show that counter-intuitively, a context that is more aligned with the topic does not always help more than a less relevant context. This effect is especially visible for open questions and questions of high difficulty or novelty. This result reveals a fundamental difference between the treatment of close-form and open-form questions by large-language models and shows a need for a more robust evaluation of in-context learning on the variety of different types of questions. It also poses a new question of how to optimally select a context for large language models, especially in the context of Retrieval Augmented Generation (RAG) systems. Our results suggest that the answer to this question can be highly application-dependent and might be contingent on factors including the format of the question, the perceived difficulty level of the questions, and the novelty or popularity of the information we seek.
[ -0.46099501848220825, -1.000093698501587, 0.6813961863517761, 0.027244245633482933, -0.14449414610862732, -0.15643160045146942, -0.5586748123168945, -0.3165847957134247, -0.4415407180786133, -0.04012920707464218, -0.34698551893234253, -0.1271960735321045, -0.3431183397769928, 0.3051954209804535, -0.24000366032123566, 1.1489129066467285, -0.2353365421295166, 0.06402509659528732, -0.941727340221405, -0.5714078545570374, -0.5716538429260254, -0.5754427909851074, -0.6695396900177002, -0.35036954283714294, 0.41504666209220886, 0.6259920001029968, 0.17544426023960114, 0.07435645908117294, 0.6850072741508484, 0.1943621188402176, -0.29446521401405334, 0.13107311725616455, -0.6433954238891602, 0.42176586389541626, -0.3684285581111908, -0.583314061164856, 0.3078106641769409, -0.015908660367131233, 0.7514504194259644, 1.4116318225860596, 0.11781470477581024, 0.30595913529396057, 0.29823923110961914, 0.6538949012756348, -0.8905666470527649, -0.11895585060119629, -0.6822732090950012, -0.040988169610500336, -0.2535558044910431, -0.2656245529651642, -0.2475232034921646, -0.3380320370197296, 0.42617514729499817, -0.35518455505371094, 0.3539178669452667, -0.15895995497703552, 0.6127535700798035, 0.23030409216880798, -0.6267105937004089, -0.5774365663528442, -0.7905541658401489, 0.8746498227119446, -0.16830924153327942, 0.38310322165489197, 0.1929551064968109, 0.42944490909576416, -0.3366208076477051, -0.5114816427230835, -0.39674675464630127, -0.39554616808891296, 0.12470808625221252, 0.10089411586523056, 0.14818532764911652, -0.5048522353172302, 0.5424782037734985, 0.2735331952571869, -0.4339727759361267, -0.19965513050556183, -0.5080521106719971, 0.19875115156173706, 0.16168324649333954, 0.18904778361320496, 0.0359019860625267, -0.03654509782791138, -0.5738236308097839, -0.2646309435367584, -0.8568745851516724, 0.599209725856781, 0.2508274018764496, 0.30493396520614624, 0.07782791554927826, 0.42675867676734924, -0.19594885408878326, 0.8727169036865234, 0.041907720267772675, -0.04863862693309784, 0.15255104005336761, -0.0848935917019844, 0.01351037248969078, -0.20414133369922638, 0.3853924870491028, 0.19729100167751312, -0.07651189714670181, -0.13434165716171265, -0.3244796693325043, -0.2705625891685486, 0.25293979048728943, -0.6581518054008484, 0.21029533445835114, 0.1670108288526535, -0.23529326915740967, 0.00798771996051073, 0.373309463262558, -0.55503910779953, -0.03427927568554878, -0.14707854390144348, 0.6164495348930359, -0.29850125312805176, 0.0008844737894833088, -0.09724348783493042, -0.2740647494792938, 0.2399013638496399, 0.42811262607574463, -0.7893418669700623, 0.44162052869796753, 0.5434732437133789, 0.6320167779922485, -0.506199061870575, -0.2564123570919037, -0.600957989692688, -0.11494996398687363, -0.31493255496025085, 0.8111466765403748, -0.5820796489715576, -0.36144310235977173, -0.1697445660829544, 0.10790867358446121, -0.264486700296402, -0.9171003699302673, 0.24382981657981873, -0.5855306386947632, 0.47174906730651855, -0.6984608769416809, -0.42182108759880066, -0.08535841107368469, 0.38942375779151917, -0.36903396248817444, 0.9293733835220337, 0.3300570547580719, -0.762864887714386, 0.7211722731590271, -0.5938503742218018, -0.28721585869789124, 0.008303766138851643, -0.3171094059944153, -0.1731027364730835, 0.3622731864452362, -0.41129061579704285, 0.24332493543624878, -0.4407200217247009, 0.21411649882793427, -0.2069644331932068, -0.6363365054130554, 0.6231397390365601, -0.2907348871231079, 0.6551812887191772, 0.2185683399438858, -0.4848845303058624, -0.17978361248970032, -0.5969541668891907, 0.04379095137119293, 0.15889477729797363, -0.5592207312583923, -0.8178362846374512, 0.03234301880002022, 0.0028615714982151985, -0.023671720176935196, 0.2573170065879822, -0.7348246574401855, 0.03901991248130798, -0.30909040570259094, 0.27187976241111755, 0.49672043323516846, 0.032481446862220764, 0.4052383303642273, -0.2974116802215576, 0.3153482973575592, 0.04419710487127304, -0.06893308460712433, -0.0986492931842804, -0.5261797904968262, -0.213426873087883, 0.3826253414154053, 0.1707126796245575, 0.3157445788383484, -0.4799967408180237, -0.2456093579530716, 0.1276412308216095, -0.5734657645225525, -0.16140305995941162, 0.1993514895439148, 0.6580588221549988, 1.11319899559021, 0.41331663727760315, -0.5601807832717896, -0.2928793430328369, -0.6455418467521667, -0.3148254454135895, -0.02891029603779316, 0.08407501876354218, 0.8747173547744751, 0.7795459628105164, 0.042438000440597534, 1.0628199577331543, -0.4818327724933624, 0.12695781886577606, 0.014996110461652279, 0.021492771804332733, 0.19018609821796417, 0.48772308230400085, 0.5179892182350159, -1.1659469604492188, -0.5298634171485901, 0.11961093544960022, -1.0550459623336792, 0.008597138337790966, 0.1588282436132431, 0.26175639033317566, 0.19008275866508484, 0.6400255560874939, -0.4680313766002655, 0.16658039391040802, 0.19984231889247894, -0.10711902379989624, 0.5247182250022888, -0.24953438341617584, 0.11682774871587753, -0.844731867313385, 0.4486481845378876, -0.01869487762451172, 0.22362129390239716, -0.5764951109886169, 0.24371236562728882, 0.19286896288394928, -0.09296998381614685, -0.7152345180511475, 0.7195621132850647, -0.25442221760749817, -0.08745058625936508, -0.12385690957307816, 0.16808471083641052, -0.08138401061296463, 0.23304283618927002, -0.30727440118789673, 0.7603049874305725, 0.415073961019516, -0.8484645485877991, 0.11521755903959274, 0.18797127902507782, -0.531834602355957, 0.5947443246841431, -0.847173810005188, 0.2210761308670044, -0.42324304580688477, 0.2750012278556824, -0.9250215888023376, -0.5919044017791748, -0.03365105763077736, -0.20538939535617828, 0.42960095405578613, 0.09838524460792542, -0.1179778054356575, -0.20407384634017944, -0.07866507768630981, 0.9611864686012268, 0.3458264172077179, -0.8089221119880676, 0.008340008556842804, 0.08743519335985184, 0.18274666368961334, -0.7818900942802429, -0.4484497904777527, -0.37307289242744446, -0.40536853671073914, -0.46004217863082886, 0.26197946071624756, -0.24578824639320374, -0.5870196223258972, 0.16869854927062988, -0.4100205600261688, -0.026530634611845016, 0.4037192463874817, 0.16387563943862915, -0.003030891064554453, -0.34527072310447693, 0.3039185106754303, -0.1317826360464096, 0.19900284707546234, 0.07421829551458359, -0.17565259337425232, 0.3176014721393585, -0.33158618211746216, -0.5600852966308594, 0.3057742118835449, 0.5869210958480835, 0.4147930443286896, -0.07813121378421783, 0.8357923626899719, 0.14278726279735565, -0.3984309136867523, -0.3704141676425934, -0.3427095413208008, -0.29408004879951477, -0.4022764563560486, 0.3366689682006836, -0.4701865315437317, -1.0786479711532593, 0.5421515107154846, -0.033168140798807144, -0.13490904867649078, 0.445731520652771, 0.46667784452438354, -0.3315553069114685, 0.7751240134239197, 0.4911750257015228, 0.5183659791946411, 0.3546065390110016, -0.3077343702316284, -0.01029294729232788, -0.8688986897468567, -0.49179723858833313, -0.7049347162246704, -0.22172361612319946, -0.6195303797721863, 0.02062847465276718, 0.7654536366462708, 0.29105812311172485, -0.3749622702598572, 0.1377580463886261, -0.45115235447883606, 0.4763377606868744, 0.5826839208602905, 0.11094848066568375, 0.15317489206790924, -0.08580535650253296, -0.2558881342411041, 0.09158448129892349, -0.7488654255867004, -0.4677528738975525, 1.2069916725158691, 0.07619552314281464, 0.6909253597259521, 0.18956758081912994, 0.6162915229797363, -0.30195149779319763, 0.4573596715927124, -0.6273807287216187, 0.28375008702278137, 0.007669336162507534, -0.7593594789505005, -0.4927613437175751, -0.5149747133255005, -1.2459474802017212, 0.4057742953300476, 0.0165189728140831, -0.5819171071052551, 0.272541344165802, -0.017119331285357475, -0.25175783038139343, 0.21253646910190582, -0.8422024250030518, 0.9582934975624084, -0.08774793148040771, -0.5375787019729614, 0.3215201497077942, -0.7793583273887634, 0.3793788552284241, -0.3765544593334198, 0.18157845735549927, 0.2658102512359619, -0.04609675705432892, 0.7837338447570801, -0.26459261775016785, 0.577374279499054, -0.17601917684078217, 0.22409681975841522, 0.4816707372665405, -0.15159748494625092, 0.011901798658072948, 0.15357452630996704, -0.0010238036047667265, -0.19697315990924835, -0.009228771552443504, -0.3902938663959503, -0.9491066932678223, 0.6167452931404114, -0.5486258864402771, -0.7655778527259827, -0.5118736028671265, -0.4462678134441376, -0.35489094257354736, 0.09344460815191269, 0.5293275117874146, 0.7043882608413696, -0.27617135643959045, 0.7459157109260559, 0.9606006741523743, -0.27424100041389465, 0.4549005329608917, 0.3894587457180023, 0.19085253775119781, -0.05761612951755524, 0.8051984310150146, 0.2119835615158081, 0.5714474320411682, 0.28418663144111633, 0.3996984362602234, -0.11414580792188644, -0.3727319836616516, -0.42783668637275696, 0.1603473424911499, -0.8626238107681274, -0.09673702716827393, -0.4930787682533264, 0.011005406267940998, -0.0559777207672596, -0.04048822075128555, -0.06606582552194595, -0.11748651415109634, -0.31807923316955566, 0.32316046953201294, 0.06543952971696854, 0.8500954508781433, 0.09235712885856628, -0.2058359682559967, -0.5154997110366821, 0.0784577876329422, 0.5663155913352966, 0.4658331573009491, 0.13252776861190796, -0.5933533310890198, -0.33212676644325256, -0.0634751096367836, -0.6300851106643677, -0.8218585848808289, -0.18414565920829773, 0.2745778262615204, 0.6652607917785645, 0.19699066877365112, 0.06361950188875198, 0.2929445207118988, -0.5047256350517273, 0.8096967935562134, -0.062206726521253586, -0.5445915460586548, 0.4877315163612366, -0.29441866278648376, 0.48023363947868347, 0.8374969363212585, 0.7672943472862244, -0.41995444893836975, -0.19410490989685059, -0.600730836391449, -0.8468289375305176, 0.5926957130432129, -0.04702313244342804, 0.20593157410621643, -0.358071506023407, 0.5788405537605286, 0.48767992854118347, 0.2622053325176239, -0.5504368543624878, -0.24640843272209167, -0.06916462630033493, 0.11398434638977051, -0.20466609299182892, -0.0952494889497757, -0.29030221700668335, -0.24491071701049805, 0.26577454805374146, -0.33767279982566833, 0.1289401352405548, 0.4368842542171478, -0.04341930150985718, -0.41439810395240784, 0.40052250027656555, 0.867080807685852, 0.8191260099411011, -0.5371401309967041, -0.054962534457445145, 0.33227694034576416, -0.3982638418674469, 0.05632340535521507, -0.1703587919473648, -0.2448786497116089, -0.22922435402870178, 0.3949589729309082, 0.6739228963851929, 0.5930339694023132, -0.8142516613006592, 0.5886826515197754, 0.010818826965987682, -0.3050719201564789, -0.1662643402814865, 0.13257156312465668, -0.11471632868051529, 0.04230727255344391, 0.7830471992492676, 0.12668871879577637, -0.03429709002375603, -1.1320757865905762, 0.056962594389915466, 0.7311210036277771, -0.31951311230659485, -0.021067751571536064, 0.7080681920051575, -0.23874756693840027, -0.40748798847198486, 0.40729784965515137, -0.12852400541305542, -0.5458399057388306, 0.7087161540985107, 0.7810284495353699, 0.7154720425605774, 0.01606069505214691, -0.020948423072695732, 0.2940692901611328, 0.043122000992298126, -0.15842734277248383, 0.46577051281929016, -0.3436465859413147, -0.40864840149879456, -0.20054976642131805, -0.6080319881439209, -0.8949308395385742, 0.15938270092010498, -0.6679801344871521, -0.007442482281476259, -0.2337489128112793, -0.05776442959904671, -0.32490214705467224, -0.13520455360412598, -0.77691650390625, 0.5559787154197693, -0.42445826530456543, 0.9175947904586792, -0.8000270128250122, 0.36449769139289856, 1.0985034704208374, -0.5782234072685242, -0.5176374316215515, 0.08487588167190552, -0.44240260124206543, -0.2010573148727417, 0.9054009914398193, 0.2797688841819763, 0.05082378163933754, -0.4254567325115204, -0.8343746066093445, -1.0695890188217163, 0.856272280216217, 0.16829270124435425, -0.031429316848516464, 0.052746206521987915, -0.08974263817071915, 0.7049635052680969, -0.5896005630493164, 0.24390225112438202, 0.2360948771238327, 0.22714641690254211, 0.19451938569545746, -1.0930719375610352, 0.04035795480012894, -0.16199088096618652, -0.28885897994041443, 0.20697157084941864, -0.7335218787193298, 1.1743780374526978, -0.2670690417289734, -0.13623760640621185, -0.18005883693695068, 0.45230114459991455, 0.29482388496398926, 0.9906150698661804, 0.499525785446167, 0.41012951731681824, 0.6402592658996582, -0.20885193347930908, 1.1167199611663818, 0.2630139887332916, 0.3593958020210266, 0.9286292195320129, -0.22654546797275543, 0.9065127968788147, 0.582563042640686, -0.04037394002079964, 0.6266900897026062, 0.7682511806488037, 0.1324027180671692, 0.6802721619606018, 0.2946265637874603, -0.15254457294940948, 0.09429654479026794, 0.046152982860803604, -0.5772688984870911, 0.498982697725296, 0.3011242747306824, 0.028717856854200363, -0.5044422149658203, 0.4272131025791168, -0.40290847420692444, 0.39069247245788574, -0.08019376546144485, 0.6448336243629456, 0.1566520631313324, -0.9674610495567322, 0.6923651099205017, -0.24286560714244843, 0.4083118438720703, -0.4193700850009918, -0.07884852588176727, -0.25004667043685913, 0.01969386450946331, -0.24480602145195007, -0.6724463105201721, 0.25753435492515564, -0.0937601700425148, -0.3025175631046295, 0.03486165776848793, 0.4175139367580414, -0.2696346044540405, 0.028800874948501587, 0.09636595845222473, 0.6509669423103333, 0.3773157596588135, 0.08019337803125381, -0.3566838204860687, 0.07441512495279312, -0.3925372362136841, -0.40277668833732605, 0.6876718997955322, 0.5560517907142639, -0.1486371010541916, 0.6760455965995789, 0.5339382886886597, -0.207187220454216, -0.03741554915904999, -0.24959692358970642, 0.7858191728591919, -0.4690607488155365, -0.25361368060112, -0.5700751543045044, 0.3503195345401764, -0.028563525527715683, -0.6475451588630676, 0.8787275552749634, 0.4961859881877899, 1.3656973838806152, 0.00944599974900484, 0.6042197942733765, -0.06492525339126587, 0.5042443871498108, -0.31453901529312134, 0.506382405757904, -1.063920497894287, 0.18768158555030823, -0.3477904796600342, -1.256884217262268, -0.0604163222014904, 0.26898127794265747, -0.4189659357070923, 0.22988614439964294, 1.0626329183578491, 0.4012332558631897, -0.11491677165031433, 0.05531974509358406, 0.26408204436302185, -0.20158828794956207, 0.19502148032188416, 0.6619988083839417, 0.8706138730049133, -0.3460623621940613, 0.3969813287258148, -0.3111197352409363, -0.4519103169441223, -0.246672123670578, -0.7690999507904053, -0.8699421882629395, -0.9841402173042297, -0.05679480358958244, -0.4566713571548462, -0.0030786420684307814, 0.8346558809280396, 0.3081674575805664, -0.7987303137779236, -0.31848543882369995, 0.005088464356958866, 0.30576273798942566, -0.13505971431732178, -0.25881049036979675, 0.4487278163433075, -0.587127685546875, -0.6344194412231445, 0.6722089648246765, 0.02972719818353653, -0.012094436213374138, -0.14310994744300842, 0.22201722860336304, -0.0955624133348465, -0.11067716032266617, 0.4278116822242737, 0.7424389123916626, -0.5236577391624451, -0.3201938271522522, 0.15709899365901947, -0.23151464760303497, -0.0785670056939125, 0.8234093189239502, -0.7987661957740784, 0.5743823647499084, 0.35669368505477905, 0.8067359328269958, 0.49952882528305054, 0.11570858955383301, 0.3981652855873108, -0.6770780682563782, -0.10459685325622559, 0.28376471996307373, 0.1340162754058838, 0.42214444279670715, -0.31295526027679443, 0.3864046037197113, 0.48526421189308167, -0.7368210554122925, -1.1860090494155884, 0.16353902220726013, -0.7686662077903748, -0.38346657156944275, 1.093424677848816, 0.062188852578401566, -0.3199347257614136, -0.164226695895195, 0.12991972267627716, -0.1077803373336792, -0.03452513739466667, 0.7890379428863525, 0.8124672174453735, -0.34836244583129883, 0.3373816907405853, -0.8223497867584229, 0.555121898651123, 0.6143922805786133, -0.2777042090892792, -0.3749808073043823, 0.1452864706516266, 0.3664509654045105, 0.2544701397418976, 0.38945871591567993, 0.0741555318236351, 0.5907801985740662, -0.225862056016922, -0.5395709276199341, 0.08351198583841324, -0.4576921761035919, -0.38045090436935425, 0.8034050464630127, 0.07580918073654175, -0.0689375102519989 ]
http://arxiv.org/abs/2407.02005v1
http://arxiv.org/pdf/2407.02005v1
An End-to-End Speech Summarization Using Large Language Model
2024-07-02T07:22:57
2024-07-02T07:22:57
Hengchao Shang, Zongyao Li, Jiaxin Guo, Shaojun Li, Zhiqiang Rao, Yuanchang Luo, Daimeng Wei, Hao Yang
cs.CL
cs.CL, cs.SD, eess.AS
Abstractive Speech Summarization (SSum) aims to generate human-like text summaries from spoken content. It encounters difficulties in handling long speech input and capturing the intricate cross-modal mapping between long speech inputs and short text summaries. Research on large language models (LLMs) and multimodal information fusion has provided new insights for addressing these challenges. In this paper, we propose an end-to-end SSum model that utilizes Q-Former as a connector for the audio-text modality and employs LLMs to generate text summaries directly from speech features. We adopt a multi-stage training approach that includes LLM based ASR and Text Summarization (TSum) tasks as auxiliary tasks. ASR tasks are used to align feature spaces and enhance the LLM's ability to handle longer speech. Then, we utilize a curriculum learning strategy to facilitate the model's transition from TSum to SSum. Finally, our model achieves competitive performance on the How-2 dataset.
[ -0.28098157048225403, -0.6579256057739258, 0.47061625123023987, -0.32940536737442017, -0.6139540076255798, 0.3286120593547821, -0.4162774384021759, -0.36445391178131104, 0.21949942409992218, 0.37481242418289185, -0.5403532385826111, -0.4850418269634247, -0.6337459087371826, -0.024585621431469917, -0.4921853244304657, 1.1379895210266113, 0.10513150691986084, 0.1037312000989914, -0.3119419515132904, -0.0017765492666512728, -0.4437081217765808, -0.6423971652984619, -0.5413833856582642, -0.2084505259990692, 0.34354981780052185, 0.6130685210227966, 0.3726557195186615, 0.3413594365119934, 0.2060943841934204, 0.22663311660289764, -0.3231408894062042, 0.14669573307037354, -0.6266919374465942, 0.27204960584640503, -0.070393405854702, -0.44012370705604553, -0.610802412033081, -0.12481120973825455, 1.0373262166976929, 0.5817797183990479, -0.07455857843160629, 0.3710339367389679, 0.02148371934890747, 0.4185766875743866, -0.3321862816810608, 0.09767217934131622, -0.4635014235973358, -0.26510486006736755, -0.21856991946697235, -0.3817293345928192, -0.2917344570159912, -0.13870051503181458, 0.0557946152985096, -0.23800882697105408, -0.07401879876852036, -0.0430842787027359, 0.640826940536499, 0.1653609424829483, -0.7494828104972839, -0.23424801230430603, -0.9100935459136963, 0.7395267486572266, -0.9306057691574097, 0.4979279637336731, 0.3081209659576416, 0.57268226146698, 0.01490781456232071, -0.48017075657844543, -0.6302792429924011, -0.17429575324058533, 0.32323768734931946, 0.2821396291255951, 0.12542806565761566, -0.0021575801074504852, -0.046769995242357254, 0.22897212207317352, -0.6509937047958374, 0.24175740778446198, -0.5949282050132751, 0.14710380136966705, 0.6047710180282593, 0.2966533899307251, 0.3482440710067749, -0.09381258487701416, -0.2980346381664276, 0.008683770895004272, -0.5535839200019836, -0.06891902536153793, 0.20257242023944855, 0.4794950485229492, -0.5308099389076233, 0.7864970564842224, -0.23329836130142212, 0.45834457874298096, -0.23708991706371307, -0.5049811601638794, 0.25541865825653076, -0.49962499737739563, -0.14051754772663116, 0.3103271424770355, 0.56375652551651, 0.4605286419391632, 0.18264833092689514, -0.16875770688056946, -0.226039320230484, 0.04440826177597046, -0.2197573482990265, -0.7507922649383545, 0.3319653868675232, 0.2839128375053406, -0.3675755262374878, 0.05059797689318657, -0.2671510875225067, -0.5714930295944214, -0.0033956195693463087, -0.6890989542007446, 0.5061491131782532, -0.5137794613838196, -0.31990399956703186, 0.0023095111828297377, -0.11393889039754868, 0.3160184919834137, 0.21852827072143555, -0.7023308873176575, 0.3190353214740753, 0.5560094714164734, 1.0555610656738281, -0.1800771802663803, -0.22159691154956818, -0.6441875696182251, 0.6978604197502136, -0.11806140094995499, 0.6307615637779236, -0.5718898177146912, -0.4932308495044708, -0.05744079872965813, -0.224380224943161, -0.07605184614658356, -0.29397687315940857, 0.3383578062057495, -0.35321125388145447, 0.544083833694458, 0.08082554489374161, -0.7001321911811829, -0.18861262500286102, 0.1425570249557495, -0.3578883111476898, 0.7650524973869324, -0.012429922819137573, -0.633406937122345, 0.021054137498140335, -0.504406750202179, -0.6120789051055908, -0.06630436331033707, -0.3073582947254181, -0.4637566804885864, 0.1044030636548996, 0.12234915792942047, 0.5767841935157776, -0.4827531576156616, 0.5547469258308411, 0.04975227639079094, -0.34780657291412354, 0.18539020419120789, -0.20030173659324646, 0.43030276894569397, 0.07222170382738113, -0.0652782991528511, 0.34361907839775085, -0.8327623009681702, -0.2965604066848755, 0.1442694067955017, -0.2930219769477844, -0.2171340435743332, 0.0261615589261055, 0.2489103227853775, 0.46443676948547363, 0.3588238060474396, -0.38840872049331665, -0.14121167361736298, -0.27627626061439514, 0.5787941217422485, 0.47369468212127686, -0.10279268026351929, 0.4454285204410553, -0.5670682787895203, 0.42914116382598877, 0.033419713377952576, -0.1767687201499939, -0.5297660827636719, -0.2417616844177246, -0.5803037881851196, -0.39916902780532837, 0.320050984621048, 0.5620893239974976, -0.6987085342407227, 0.4790361523628235, -0.5522089600563049, -0.48916199803352356, -0.21564434468746185, -0.09275182336568832, 0.36134448647499084, 0.4115103483200073, 0.2421572357416153, -0.1322566419839859, -0.5682976245880127, -0.7463287711143494, 0.11834642291069031, -0.16155944764614105, -0.2824833393096924, -0.10862091183662415, 0.44000211358070374, -0.16093650460243225, 0.9075658321380615, -0.31257134675979614, -0.6736447215080261, -0.8566145300865173, 0.28532838821411133, 0.15065936744213104, 0.24945709109306335, 0.20191271603107452, -0.588081955909729, -0.09168718010187149, -0.11034661531448364, -0.5739308595657349, -0.02395448461174965, -0.3153640329837799, 0.10820228606462479, 0.10938578099012375, 0.5601205825805664, -0.47049736976623535, 0.027785085141658783, 0.4327932298183441, -0.11417771130800247, 0.45709580183029175, -0.16931821405887604, 0.22211125493049622, -1.6123559474945068, 0.14320316910743713, 0.08637993782758713, -0.29503780603408813, -0.7344295978546143, 0.018510783091187477, -0.09043534845113754, -0.3744751513004303, -0.41844627261161804, 0.30162501335144043, -0.43235015869140625, -0.36279866099357605, -0.5323002338409424, 0.49284595251083374, -0.2110596001148224, 0.6326150894165039, 0.15032140910625458, 0.7700064182281494, 0.2567155361175537, -0.5745251774787903, 0.2124357372522354, 0.2148650884628296, -0.16261117160320282, 0.40207505226135254, -0.5742214322090149, -0.19965656101703644, -0.34397053718566895, 0.4679996073246002, -1.1268947124481201, -0.32092738151550293, -0.24289458990097046, -0.7011358737945557, 0.4406885504722595, 0.1974039524793625, -0.4690771996974945, 0.11271212995052338, -0.4627249538898468, 0.47971007227897644, 0.5355480313301086, -0.10789020359516144, 0.889122724533081, 0.5508899688720703, -0.812515914440155, 0.004017992876470089, -0.5832621455192566, 0.33245328068733215, -0.280857652425766, -0.6406060457229614, 0.5669304728507996, -0.054576147347688675, -0.027340751141309738, -0.3488200306892395, 0.19566668570041656, 0.030907979235053062, -0.30562323331832886, 0.13693924248218536, 0.3674548268318176, -0.14249037206172943, 0.043821755796670914, 0.4013400375843048, -0.04673765227198601, 0.042974747717380524, 0.27608004212379456, 0.6368435025215149, 0.2803983688354492, -0.23150892555713654, -0.6831969022750854, 0.7549021244049072, 0.7779939770698547, -0.32166823744773865, 0.46829333901405334, 0.4351285398006439, -0.43773460388183594, 0.17270183563232422, -0.49199196696281433, -0.0637592002749443, -0.28855466842651367, 0.8060901761054993, -0.15982547402381897, -0.9545502066612244, 0.5273376107215881, -0.09657300263643265, 0.41448482871055603, 0.28226083517074585, 0.7215430736541748, -0.07479505985975266, 1.0564532279968262, 0.6630445122718811, -0.2676435708999634, 0.6411340236663818, -0.18849502503871918, 0.11824067682027817, -0.932685911655426, -0.45832252502441406, -0.34317928552627563, -0.15686176717281342, 0.017363745719194412, -0.5064430236816406, 0.5676495432853699, -0.059936411678791046, -0.10199376940727234, 0.2321629822254181, 0.11010974645614624, 0.22658100724220276, 0.4693087041378021, 0.025277692824602127, 0.35860103368759155, -0.002784268232062459, 0.2635934352874756, 0.0314556360244751, -0.483614981174469, -0.28803756833076477, 0.8409965634346008, 0.5291273593902588, 0.6013646125793457, 0.3703453242778778, 0.6729905009269714, 0.23209741711616516, -0.17551647126674652, -0.7258901000022888, 0.6381590962409973, -0.16239768266677856, -0.13470344245433807, -0.540327250957489, -0.446378618478775, -0.3799223005771637, 0.2546001076698303, -0.21535636484622955, -0.389974981546402, -0.290702760219574, -0.10425792634487152, -0.23634697496891022, 0.10928326845169067, -0.45919230580329895, 0.26229456067085266, -0.24811160564422607, -0.1258263885974884, -0.36678001284599304, -0.9632524251937866, 0.523489236831665, -0.09667687863111496, 0.5302843451499939, -0.027733702212572098, -0.046423640102148056, 0.8658409714698792, -0.22869636118412018, 0.8310995697975159, 0.06667120009660721, -0.17064964771270752, 0.1181076392531395, -0.19325114786624908, 0.3343491554260254, -0.12695083022117615, 0.23579145967960358, 0.016964895650744438, -0.25366294384002686, -0.12610095739364624, -0.370076447725296, 0.3953922688961029, -0.784101128578186, -0.3369239568710327, -0.3697398900985718, -0.623479425907135, -0.35179394483566284, -0.0009060419979505241, 0.22124484181404114, 0.7277626991271973, -0.17676454782485962, 0.03468800336122513, 0.7013878226280212, -0.18050722777843475, 0.5637363195419312, 0.4928399920463562, -0.21126534044742584, -0.6161234974861145, 1.0442358255386353, 0.1380409598350525, 0.4442860186100006, 0.5161104202270508, 0.03454233333468437, -0.5528907179832458, -0.5230152010917664, -0.6011959314346313, 0.48134708404541016, -0.47409725189208984, -0.18221314251422882, -0.6593946814537048, -0.5215486884117126, -0.7313752770423889, -0.136951744556427, -0.20014414191246033, -0.405855268239975, -0.39820724725723267, 0.01220177486538887, 0.12577837705612183, 0.3875223994255066, 0.0930212065577507, 0.5547495484352112, -0.8850054740905762, 0.5657362341880798, 0.277624249458313, 0.0020702239125967026, 0.042996782809495926, -1.1201367378234863, -0.40508055686950684, 0.046257831156253815, -0.1546284556388855, -0.8535507321357727, 0.49774330854415894, 0.6019513607025146, 0.47627565264701843, 0.40808653831481934, -0.10069607943296432, 0.597812294960022, -0.5563773512840271, 0.9299725294113159, 0.5914337038993835, -0.9630833864212036, 0.45615947246551514, -0.5064635276794434, 0.7206299304962158, 0.303479939699173, 0.26289305090904236, -0.8272504806518555, -0.6151657700538635, -0.08160010725259781, -1.113998293876648, 0.5599526166915894, 0.1458357870578766, -0.05297374725341797, 0.0736520066857338, 0.020814061164855957, 0.045662492513656616, 0.1472882777452469, -0.5101287961006165, 0.026539137586951256, -0.1328914612531662, -0.4332416355609894, -0.23063792288303375, -0.4708661735057831, -0.003867751220241189, -0.010892404243350029, 0.9001434445381165, -0.05234845355153084, 0.03865182399749756, -0.1685325652360916, -0.3335121273994446, 0.061192046850919724, 0.635962188243866, 0.9573732614517212, 0.6053192615509033, -0.12403922528028488, 0.04519176855683327, 0.24578501284122467, -0.22747665643692017, 0.03587542474269867, 0.0615069754421711, 0.15424799919128418, -0.013768013566732407, 0.4037627577781677, 0.6622676253318787, 0.5004755854606628, -1.0165417194366455, 0.6121748685836792, -0.056693777441978455, -0.2898311913013458, -0.4910281300544739, -0.23248985409736633, 0.310955673456192, 0.3710840344429016, 0.6413885951042175, -0.5070213079452515, 0.2628411054611206, -0.6334575414657593, 0.19184668362140656, 0.21719342470169067, -0.17869099974632263, -0.2039088010787964, 0.8214730024337769, 0.20857642590999603, -0.08170819282531738, 0.27082058787345886, 0.15880054235458374, -0.4257890284061432, 0.42417389154434204, 0.7142660617828369, 0.6340832710266113, -0.4355545938014984, 0.08585862815380096, 0.13833776116371155, 0.06485513597726822, 0.0526316836476326, 0.32387080788612366, -0.15003782510757446, -0.13900747895240784, -0.8252475261688232, -0.5380286574363708, -0.4239293336868286, 0.09620259702205658, -0.671840488910675, 0.4276314675807953, -0.17993737757205963, -0.048302315175533295, -0.1708454191684723, -0.31104183197021484, -0.05412178114056587, 0.34437093138694763, 0.3912908434867859, 0.6145584583282471, -1.0161644220352173, 0.7175959348678589, 0.4986705482006073, -0.5397229194641113, -0.4287111461162567, -0.2748255431652069, 0.06677109003067017, -0.4902963638305664, 0.36185675859451294, 0.13621167838573456, -0.21275228261947632, -0.13951119780540466, -0.1983662247657776, -0.860671877861023, 1.20688796043396, 0.2679027020931244, -0.8787932395935059, -0.5143031477928162, 0.24267615377902985, 0.3564724624156952, -0.4443887770175934, 0.31738749146461487, 0.3602107763290405, -0.16971680521965027, 0.44633010029792786, -0.9001426696777344, -0.14369669556617737, -0.19080498814582825, 0.1667625904083252, 0.2818915545940399, -0.6899851560592651, 0.833075761795044, -0.26490896940231323, -0.23701268434524536, 0.007295078132301569, 1.2023953199386597, 0.35868552327156067, 0.3942853510379791, 0.4367583096027374, 0.35226547718048096, 0.2748848795890808, 0.2869287431240082, 0.4236094057559967, -0.31209784746170044, 0.11376070231199265, 1.540436029434204, -0.3539620041847229, 1.131704330444336, 0.38751667737960815, 0.07262789458036423, 0.2736247479915619, 0.6431907415390015, 0.3284304738044739, 0.5598158240318298, 0.0967571809887886, -0.35647377371788025, -0.2597438395023346, -0.23204748332500458, -0.5352575778961182, 0.6533017754554749, 0.46890637278556824, -0.3666500747203827, -0.4439510107040405, 0.26148781180381775, -0.0034658194053918123, 0.05194711312651634, -0.437548965215683, 1.002042293548584, 0.1266702562570572, -0.23895472288131714, 0.19300317764282227, 0.12458885461091995, 0.7346116304397583, -0.6929845213890076, -0.033611856400966644, -0.038376472890377045, -0.28087082505226135, -0.041698575019836426, -0.4728569984436035, 0.19076043367385864, 0.08619524538516998, -0.34158599376678467, 0.13705849647521973, 0.41523560881614685, -1.001617670059204, -0.4395398497581482, 0.16969949007034302, 0.4424789845943451, 0.3397669196128845, 0.08201836049556732, -0.18075726926326752, 0.03708842396736145, -0.1392797827720642, -0.026761937886476517, 0.5921216607093811, 0.25004324316978455, -0.13991712033748627, 0.6377660036087036, 0.5093943476676941, 0.14294564723968506, -0.013398820534348488, 0.4197804927825928, 0.9071625471115112, -0.6309675574302673, -0.9251288175582886, -0.7463275790214539, 0.5239182710647583, -0.07532117515802383, -0.129053995013237, 0.4021938741207123, 0.8978224992752075, 0.6482270956039429, 0.2018262892961502, 0.9678780436515808, 0.18124960362911224, 0.8922133445739746, -0.668473482131958, 0.6513212323188782, -0.6294406056404114, 0.06466469168663025, -0.21255695819854736, -0.9107920527458191, -0.04920084401965141, 0.24974648654460907, 0.07755595445632935, 0.07161588966846466, 0.49344703555107117, 0.42534369230270386, 0.05817379802465439, 0.09275984019041061, 0.6135937571525574, 0.08558617532253265, 0.36025893688201904, 0.6901001334190369, 0.5883591175079346, -0.2805672287940979, 0.5719119906425476, 0.1584024280309677, -0.4533226191997528, -0.30998024344444275, -0.6398273706436157, -0.9507198929786682, -0.8906713128089905, -0.16936054825782776, -0.1480296105146408, 0.08388251811265945, 1.042262077331543, 0.4621872305870056, -0.46446725726127625, -0.48744693398475647, 0.45850110054016113, -0.2860984206199646, 0.08342166990041733, -0.17120930552482605, 0.4024493992328644, -0.09799627959728241, -0.7643453478813171, 0.5213629007339478, 0.3680879473686218, 0.16829420626163483, -0.27929964661598206, 0.012645328417420387, -0.20959746837615967, 0.131146639585495, 0.8672831654548645, 0.1359979212284088, -0.6489116549491882, -0.06675311177968979, -0.3077818751335144, -0.021628379821777344, -0.0898049920797348, 0.819708526134491, -0.6014672517776489, 0.2431574910879135, 0.3858244717121124, 0.6473571062088013, 0.524642288684845, -0.06114530190825462, 0.7122383117675781, -0.6811383366584778, -0.061100367456674576, 0.05083075538277626, 0.40451928973197937, 0.24504177272319794, -0.24805636703968048, 0.1231812834739685, -0.1567329317331314, -0.5230695009231567, -0.770032525062561, 0.1826803833246231, -1.2708758115768433, -0.2739684581756592, 1.252140760421753, 0.0935811698436737, -0.21854257583618164, -0.18298140168190002, -0.2734258770942688, 0.8420169949531555, -0.5192379951477051, 0.7650039196014404, 0.36213093996047974, -0.06552160531282425, -0.3674045503139496, -0.3786402642726898, 0.09976227581501007, 0.28899040818214417, -0.9545772671699524, 0.08097022771835327, 0.6224378943443298, 0.23282243311405182, -0.040337346494197845, 0.7006254196166992, -0.17616933584213257, 0.2642872929573059, -0.23509939014911652, 0.07685396820306778, -0.36499419808387756, -0.4917096495628357, -0.37457191944122314, 0.25690779089927673, -0.11214999854564667, -0.3541414141654968 ]
http://arxiv.org/abs/2407.02543v1
http://arxiv.org/pdf/2407.02543v1
Towards the Next Frontier in Speech Representation Learning Using Disentanglement
2024-07-02T07:13:35
2024-07-02T07:13:35
Varun Krishna, Sriram Ganapathy
cs.CL
cs.CL, cs.AI, cs.LG, cs.SD, eess.AS
The popular frameworks for self-supervised learning of speech representations have largely focused on frame-level masked prediction of speech regions. While this has shown promising downstream task performance for speech recognition and related tasks, this has largely ignored factors of speech that are encoded at coarser level, like characteristics of the speaker or channel that remain consistent through-out a speech utterance. In this work, we propose a framework for Learning Disentangled Self Supervised (termed as Learn2Diss) representations of speech, which consists of frame-level and an utterance-level encoder modules. The two encoders are initially learned independently, where the frame-level model is largely inspired by existing self supervision techniques, thereby learning pseudo-phonemic representations, while the utterance-level encoder is inspired by constrastive learning of pooled embeddings, thereby learning pseudo-speaker representations. The joint learning of these two modules consists of disentangling the two encoders using a mutual information based criterion. With several downstream evaluation experiments, we show that the proposed Learn2Diss achieves state-of-the-art results on a variety of tasks, with the frame-level encoder representations improving semantic tasks, while the utterance-level representations improve non-semantic tasks.
[ -0.22471721470355988, -0.3799397051334381, 0.3057296872138977, -0.03483537212014198, -0.2489052414894104, 0.29904890060424805, -0.0815284475684166, -0.2966408431529999, 0.451781302690506, 0.09844502061605453, -0.5789373517036438, -0.257061630487442, -1.0047067403793335, -0.0887545645236969, -0.2508823275566101, 0.5472679138183594, 0.23847882449626923, 0.33154305815696716, -0.4560645520687103, 0.11529846489429474, -0.5160202980041504, -0.420144259929657, -0.42904797196388245, -0.5287168025970459, 0.40542662143707275, 0.28367942571640015, 0.07093878090381622, 0.5320854187011719, -0.07155265659093857, 0.37814998626708984, -0.062005240470170975, 0.09390437602996826, -0.6228935718536377, 0.28910478949546814, -0.3493468463420868, -0.5853658318519592, 0.007542500272393227, 0.23400840163230896, 0.5555689930915833, 0.7004544734954834, -0.4088089168071747, 0.17106835544109344, 0.37739402055740356, 0.7056878805160522, -0.4941280484199524, 0.6589373350143433, -0.5472962260246277, 0.19894418120384216, -0.3528463542461395, 0.005408821627497673, -0.4141654968261719, 0.21511420607566833, 0.14907221496105194, -0.3889947533607483, -0.015654264017939568, -0.34239688515663147, 0.3320450484752655, 0.5510317087173462, -0.4342029094696045, -0.3692418038845062, -0.7701387405395508, 0.5757121443748474, -0.43293648958206177, 0.7243401408195496, 0.7830873131752014, 0.4355252981185913, -0.04995947703719139, -0.7446708679199219, -0.36227020621299744, 0.2535991668701172, -0.2115890085697174, 0.19268161058425903, -0.43938469886779785, -0.07975438982248306, 0.20293690264225006, 0.24481575191020966, -0.6183600425720215, 0.3655479848384857, -0.48279741406440735, -0.3695847690105438, 0.6141472458839417, -0.16608868539333344, -0.06232694908976555, -0.10172963887453079, -0.45652005076408386, -0.2030966877937317, -0.3852021396160126, 0.16812199354171753, 0.18502706289291382, 0.10978315025568008, -0.31906771659851074, 0.24913837015628815, -0.2074558138847351, 0.4097820818424225, 0.5503137111663818, -0.19744692742824554, 0.5712680816650391, 0.16865380108356476, 0.11293713748455048, 0.5240933895111084, 0.5891218781471252, -0.07992223650217056, -0.25418925285339355, -0.3185522258281708, -0.23127812147140503, 0.03836066275835037, 0.09905283898115158, -0.5106019377708435, -0.43505924940109253, 0.08450642228126526, -0.4767129123210907, 0.11259998381137848, 0.0663699135184288, -0.7116900682449341, -0.37308424711227417, -0.652324378490448, 0.5619874000549316, -0.3483113646507263, -0.8246608376502991, -0.12576399743556976, -0.07163248211145401, 0.09280507266521454, -0.04153197631239891, -1.245714783668518, 0.3075140714645386, 0.5318296551704407, 0.7917839884757996, -0.10552465915679932, -0.07846888899803162, -0.7066885232925415, 0.21356606483459473, -0.48256781697273254, 0.28483089804649353, -0.376482218503952, -0.21513454616069794, -0.17872637510299683, -0.011967413127422333, -0.04928479343652725, -0.5055906176567078, -0.17350886762142181, -0.5196875929832458, 0.10947330296039581, -0.16541986167430878, -0.7997915744781494, -0.2620844542980194, -0.29121318459510803, -0.7285804748535156, 0.6510719656944275, 0.12060829997062683, -0.6756976842880249, 0.2890418767929077, -0.2433399260044098, -0.3929074704647064, -0.00026983299176208675, -0.6399291157722473, -0.6327483057975769, 0.22695720195770264, 0.13662631809711456, 0.585433840751648, 0.05193058401346207, 0.16643182933330536, -0.16066162288188934, -0.3167709410190582, 0.020989710465073586, -0.43448778986930847, 0.6702466607093811, 0.33040809631347656, -0.6095612645149231, -0.17342276871204376, -0.6675097942352295, -0.24011658132076263, 0.08220944553613663, 0.10401459783315659, -0.3281388282775879, 0.07985295355319977, -0.5534749627113342, 0.2600999176502228, 0.2926265597343445, -0.711236834526062, -0.45426011085510254, -0.49023258686065674, 0.8128126859664917, 0.5487367510795593, -0.018041759729385376, 0.663654625415802, -0.017214426770806313, 0.17674300074577332, 0.4270758628845215, -0.27595412731170654, -0.09007270634174347, -0.3271970748901367, -0.49078258872032166, -0.33562469482421875, 0.4025188386440277, 0.3382818400859833, -0.7716464996337891, 0.528775155544281, -0.0797995999455452, -0.39968374371528625, -0.6437088847160339, 0.1904914826154709, 0.5500485301017761, 0.3929883539676666, 0.4934733211994171, -0.17727303504943848, -0.4277949333190918, -0.6907843351364136, 0.06451509892940521, -0.2200099676847458, -0.018539775162935257, -0.25726619362831116, 0.19738517701625824, -0.15240025520324707, 1.1646333932876587, -0.20314541459083557, -0.7542355060577393, -0.19094304740428925, 0.35213369131088257, 0.020331094041466713, 0.6642355918884277, 0.2100325971841812, -1.0073199272155762, -0.2368888258934021, -0.22724106907844543, -0.7109174132347107, 0.24833008646965027, -0.011024967767298222, 0.28405576944351196, 0.0534142442047596, 0.8603692650794983, -0.2367444485425949, 0.29086098074913025, 0.6576046943664551, 0.12073413282632828, -0.06605871766805649, -0.4317847788333893, -0.2985849380493164, -1.0337433815002441, -0.46988388895988464, -0.0066767847165465355, -0.4289889931678772, -0.6157929301261902, -0.6059865355491638, 0.1602727621793747, -0.2080526500940323, -0.33320122957229614, 0.04441474750638008, -0.7374668717384338, -0.23275329172611237, -0.2859886586666107, 0.2518591284751892, -0.023868199437856674, 0.6776580810546875, 0.235714852809906, 0.7484942674636841, 1.0610604286193848, -0.4148821234703064, 0.4759864807128906, 0.18606136739253998, -0.17073483765125275, 0.31514644622802734, -0.5058425068855286, 0.3980698585510254, -0.4246617555618286, 0.2894100546836853, -1.0449556112289429, -0.20704135298728943, 0.0036551151424646378, -0.6893841028213501, 0.7803128957748413, -0.24135474860668182, -0.23960570991039276, -0.16608449816703796, 0.08225388079881668, 0.35089021921157837, 0.849825918674469, -0.8502792119979858, 0.6059721112251282, 0.8984047770500183, 0.01057600136846304, -0.3510074317455292, -1.037249207496643, -0.16616453230381012, -0.22967197000980377, -0.2619052231311798, 0.47059255838394165, 0.6105364561080933, 0.21788549423217773, 0.1155722588300705, -0.4065471589565277, 0.086070716381073, -0.15396443009376526, 0.4546653628349304, -0.2566092908382416, 0.07441582530736923, 0.3198698163032532, 0.40105628967285156, -0.3206837773323059, 0.24797320365905762, -0.5045520663261414, 0.4653134346008301, 0.11466433852910995, -0.5516825914382935, -0.5905851721763611, 0.4935225248336792, 0.12151332944631577, -0.5255386829376221, 0.34716716408729553, 0.8698428273200989, -0.558509349822998, -0.413175493478775, -0.3805047273635864, -0.3820550739765167, -0.5291012525558472, 0.6953160166740417, -0.6050283312797546, -1.226540207862854, 0.23992794752120972, -0.4451981484889984, -0.354104608297348, 0.3847604990005493, 0.5627498626708984, -0.46136507391929626, 0.9149139523506165, 0.558427095413208, -0.19720053672790527, 0.35534846782684326, -0.5680293440818787, 0.24979542195796967, -0.8595455288887024, -0.6934605836868286, -0.10697222501039505, -0.3135402500629425, -0.7186400890350342, -0.6742708683013916, 0.4010869562625885, 0.4589880704879761, 0.03184248134493828, 0.57485032081604, -0.4174792170524597, 0.28345733880996704, 0.5990514755249023, 0.27064383029937744, -0.1536576747894287, 0.18462522327899933, -0.004978811834007502, -0.0423850417137146, -0.7601301670074463, -0.18389396369457245, 0.8759444355964661, 0.6247310638427734, 0.727787435054779, 0.2894061803817749, 1.2280793190002441, 0.6321664452552795, -0.71263587474823, -0.4599136412143707, 0.3229371905326843, -0.3183691203594208, -0.30793333053588867, -0.4341992735862732, -0.6568728089332581, -0.9282500147819519, 0.2609507143497467, -0.04332640394568443, -0.8313496708869934, 0.5340350866317749, 0.10970429331064224, -0.2039279341697693, 0.14473013579845428, -0.6877673268318176, 0.550757110118866, -0.03321090713143349, -0.3142702281475067, -0.5792154669761658, -0.8309735059738159, 0.023697849363088608, 0.04116338491439819, 0.18511128425598145, -0.0879695862531662, 0.2039201706647873, 0.9650750160217285, 0.08988358080387115, 1.1515791416168213, -0.6325725317001343, -0.1610845923423767, 0.43251243233680725, 0.17109960317611694, 0.2527880072593689, 0.31886935234069824, 0.06671954691410065, 0.4950070083141327, 0.11334124952554703, -0.18302717804908752, -0.640368640422821, 0.6565839648246765, -0.6906704902648926, -0.6175965666770935, -0.36319687962532043, -0.11120080202817917, -0.527198851108551, 0.032000720500946045, 0.18971337378025055, 0.9404058456420898, -0.012412624433636665, -0.0025704512372612953, 0.8735390901565552, 0.16794231534004211, 0.5535218119621277, 0.17699034512043, 0.038321591913700104, -0.41618654131889343, 1.3054232597351074, 0.09074727445840836, 0.3057602345943451, 0.5024833679199219, -0.02690003626048565, -0.8815295696258545, -0.415996789932251, -0.43036535382270813, 0.20716248452663422, -0.7214033603668213, -0.1916685402393341, -0.325015664100647, -0.42953217029571533, -0.5555771589279175, 0.49885472655296326, -0.5047659873962402, -0.3100474774837494, -0.7939163446426392, -0.3003205955028534, 0.05529078096151352, 0.8237782716751099, -0.7692239284515381, 0.1130342110991478, -0.5112277269363403, 0.40584951639175415, 0.688543438911438, 0.2830098271369934, -0.10113532096147537, -0.6898958683013916, -0.37715327739715576, 0.2758725583553314, -0.21095895767211914, -0.8370962142944336, 0.06989811360836029, 0.41795024275779724, 0.7384262681007385, 0.5408377051353455, 0.30613136291503906, 0.5029147863388062, -0.5745155215263367, 0.6788594126701355, 0.5785585045814514, -0.947844386100769, 0.6171762943267822, 0.14845392107963562, 0.07574660331010818, 0.34603139758110046, 0.5108823776245117, -0.28212785720825195, -0.28543031215667725, -0.4107142388820648, -0.3777123689651489, 0.9616461396217346, 0.18351058661937714, 0.3751409947872162, 0.012830998748540878, 0.15426915884017944, 0.20566865801811218, -0.05305123329162598, -0.41790318489074707, -0.2749690115451813, -0.4971335232257843, -0.22809801995754242, -0.13959354162216187, -0.49211975932121277, -0.07451236993074417, -0.12653152644634247, 0.3559582829475403, -0.019687607884407043, 0.51641845703125, 0.2788141667842865, -0.15896956622600555, 0.15321384370326996, 0.06816765666007996, 0.1939581036567688, 0.42088785767555237, -0.04687299579381943, 0.5270658731460571, 0.007209328468888998, -0.21533802151679993, 0.3937862813472748, 0.1860651820898056, 0.28989535570144653, 0.0693536326289177, 0.46342599391937256, 1.1601790189743042, -0.07204923778772354, -0.2641116678714752, 0.7039300203323364, 0.14913664758205414, -0.3199957609176636, -0.3806961476802826, -0.005131447222083807, 0.2420670986175537, 0.5926861763000488, 0.3571226894855499, -0.008566126227378845, 0.3777530789375305, -0.45013734698295593, 0.5987221002578735, 0.2852335572242737, -0.7222611308097839, -0.3949786424636841, 0.7289300560951233, 0.31539496779441833, -0.22210025787353516, 0.3058113753795624, -0.6517393589019775, -0.3468095660209656, 0.21904747188091278, 0.5851207375526428, 0.7163347601890564, -0.5972145199775696, 0.3954682946205139, 0.35189810395240784, -0.08204594999551773, 0.019282013177871704, 0.048680245876312256, -0.682019829750061, -0.4150902032852173, -0.3065849840641022, -0.48414796590805054, -0.040959492325782776, -0.10098414868116379, -0.8433688282966614, 0.051718540489673615, -0.09067203104496002, -0.19155776500701904, -0.23203817009925842, -0.3227912485599518, -0.20887476205825806, 0.07809576392173767, 0.660874605178833, 0.3808504343032837, -0.6955738663673401, 1.0600483417510986, 0.2889386713504791, -0.2752102315425873, -0.7794980406761169, 0.053370341658592224, 0.2056129276752472, -0.5086007118225098, 0.6509087085723877, 0.357291579246521, -0.49136602878570557, 0.22529982030391693, 0.13467644155025482, -1.108365774154663, 1.2552987337112427, 0.5674033761024475, -1.1309465169906616, -0.026479599997401237, 0.39369454979896545, 0.24119050800800323, -0.1326143741607666, 0.14556342363357544, 0.49829238653182983, -0.22144179046154022, 0.13323630392551422, -0.9545318484306335, -0.17720861732959747, -0.02952408790588379, 0.3179008960723877, -0.05881586670875549, -0.4440702497959137, 0.7552213668823242, 0.039142001420259476, -0.5305368304252625, -0.3101401627063751, 1.1147594451904297, -0.014334491454064846, 0.37703531980514526, 0.676679790019989, 0.46088361740112305, 0.6281285285949707, -0.2185673713684082, 0.35802382230758667, -0.016398722305893898, 0.4441666901111603, 1.299537181854248, -0.15073484182357788, 0.7595833539962769, 0.4547349512577057, -0.3782252371311188, 0.49790462851524353, 0.5272632837295532, 0.22581538558006287, 1.2528040409088135, 0.38119494915008545, -0.20157043635845184, -0.24516430497169495, 0.2172393649816513, -0.4823116362094879, 0.9230446815490723, 0.5245154500007629, -0.05012354254722595, -0.39648154377937317, 0.5719868540763855, -0.34434959292411804, 0.3577924966812134, -0.1986238658428192, 1.2238359451293945, 0.2641138434410095, -0.24815194308757782, 0.6789230704307556, -0.0721469596028328, 0.583442211151123, -0.5715875029563904, -0.32484516501426697, -0.07289787381887436, 0.11278924345970154, -0.24303390085697174, -0.5498290061950684, 0.45667219161987305, -0.2857173979282379, -0.13893453776836395, -0.3405483365058899, 0.5109754204750061, -0.8122163414955139, -0.17960911989212036, 0.7151002883911133, 0.18122367560863495, 0.1425209641456604, 0.01803186908364296, -0.5505990982055664, 0.12114891409873962, -0.045787837356328964, 0.15455161035060883, 0.5021219253540039, 0.5144796371459961, 0.19594846665859222, 0.3870667517185211, 0.22908581793308258, 0.06446399539709091, 0.20013990998268127, 0.06232922524213791, 0.9300318956375122, -0.22872868180274963, -0.7040553092956543, -0.6181538701057434, 0.3730514347553253, -0.0849120244383812, 0.1426790952682495, 0.44463542103767395, 0.4457811713218689, 1.1015057563781738, 0.14604544639587402, 0.5515263080596924, -0.1629572957754135, 0.7849728465080261, -0.774591326713562, 0.7335126996040344, -0.45800793170928955, 0.1585940569639206, -0.05147749185562134, -0.670771062374115, 0.11355102807283401, 0.7135541439056396, -0.2259061336517334, -0.11133995652198792, 0.3947145640850067, 0.818423330783844, -0.19014842808246613, 0.1690322905778885, 0.489990234375, -0.036495380103588104, 0.3376424312591553, 0.5292422771453857, 0.8233976364135742, -0.3058863878250122, 0.22685374319553375, -0.501160204410553, -0.5477546453475952, 0.24525034427642822, -0.3886663615703583, -0.906089186668396, -1.3844834566116333, -0.381104975938797, 0.07297788560390472, 0.044902604073286057, 0.7955918908119202, 1.0214290618896484, -0.6795253157615662, -0.2544695734977722, -0.20987547934055328, -0.16493535041809082, -0.23428447544574738, -0.14302372932434082, 0.40530410408973694, -0.5889289975166321, -0.6302531957626343, 0.8188197016716003, 0.2831391990184784, -0.14410318434238434, -0.4961455166339874, -0.4225243628025055, -0.061148595064878464, -0.32791438698768616, 0.39333832263946533, 0.11622314155101776, -0.7540006637573242, 0.028404271230101585, -0.4747752547264099, 0.02714654430747032, -0.11166584491729736, 0.626285195350647, -0.893226146697998, 0.6440281271934509, 0.11888819932937622, 0.7789831161499023, 0.9401144981384277, -0.159584641456604, 0.23977339267730713, -0.8754187226295471, 0.3785918354988098, 0.2619328498840332, 0.22753378748893738, 0.2921157479286194, -0.20089977979660034, 0.013079630210995674, 0.10820358991622925, -0.21286676824092865, -0.5527334809303284, 0.3335549235343933, -0.7973602414131165, -0.24279141426086426, 0.9495941400527954, -0.46321678161621094, -0.1269400417804718, -0.08956029266119003, 0.07719910144805908, 0.4935091733932495, -0.35010066628456116, 0.6229599118232727, 0.30749085545539856, -0.22571299970149994, -0.358173131942749, -0.050661928951740265, 0.571616530418396, 0.4658326804637909, -0.3840562403202057, 0.13535939157009125, 0.3482719659805298, 0.23310033977031708, 0.21024562418460846, 0.5050966739654541, -0.2865165174007416, 0.09374312311410904, 0.1388465166091919, -0.26733991503715515, -0.3920218050479889, -0.48494234681129456, -0.510877251625061, -0.1234944611787796, -0.1475675404071808, -0.8658914566040039 ]
http://arxiv.org/abs/2407.01994v1
http://arxiv.org/pdf/2407.01994v1
Simple Augmentations of Logical Rules for Neuro-Symbolic Knowledge Graph Completion
2024-07-02T07:07:59
2024-07-02T07:07:59
Ananjan Nandi, Navdeep Kaur, Parag Singla, Mausam
cs.AI
cs.AI, cs.CL, cs.IR
High-quality and high-coverage rule sets are imperative to the success of Neuro-Symbolic Knowledge Graph Completion (NS-KGC) models, because they form the basis of all symbolic inferences. Recent literature builds neural models for generating rule sets, however, preliminary experiments show that they struggle with maintaining high coverage. In this work, we suggest three simple augmentations to existing rule sets: (1) transforming rules to their abductive forms, (2) generating equivalent rules that use inverse forms of constituent relations and (3) random walks that propose new rules. Finally, we prune potentially low quality rules. Experiments over four datasets and five ruleset-baseline settings suggest that these simple augmentations consistently improve results, and obtain up to 7.1 pt MRR and 8.5 pt Hits@1 gains over using rules without augmentations.
[ -0.38773858547210693, -0.4613704979419708, 0.6113485097885132, -0.10256616026163101, -0.3702939450740814, -0.37391021847724915, -0.05203483626246452, -0.4751686155796051, 0.5268467664718628, 0.8731878995895386, -0.7533667087554932, -0.4384090304374695, -0.734937310218811, 0.16874337196350098, -0.366108775138855, 0.9200542569160461, 0.15164893865585327, -0.06258616596460342, -0.2763775587081909, -0.18808984756469727, -0.6424133777618408, -0.09828798472881317, -0.33091410994529724, -0.8066048622131348, 0.5381653904914856, 0.3570016622543335, 0.9524216055870056, 0.9959331750869751, 0.4960552155971527, 0.2733091413974762, -0.34873637557029724, 0.754189670085907, -0.34267866611480713, -0.05643519014120102, 0.12611015141010284, -0.4706973731517792, -0.5048902630805969, -0.06040768325328827, 0.28741908073425293, 1.0713592767715454, -0.08061327040195465, -0.20215670764446259, -0.06150364875793457, 0.6750137805938721, -0.6424828171730042, 0.2907200753688812, -0.3178858160972595, 0.1600600928068161, 0.2745790481567383, -0.26834598183631897, -0.5152416825294495, -0.7103656530380249, -0.023429185152053833, -0.9695410132408142, -0.10233135521411896, -0.10928688198328018, 0.712943434715271, 0.14279235899448395, -0.8041632771492004, -0.10198300331830978, -0.4765056371688843, 0.23633818328380585, -0.9447101354598999, 0.3404397964477539, 0.6175593137741089, 0.3776579201221466, -0.2901267111301422, -0.692024290561676, -0.39607253670692444, -0.26483792066574097, -0.7316321730613708, -0.0036597331054508686, -0.27525031566619873, 0.4068562686443329, 0.8890310525894165, -0.08014040440320969, 0.023450924083590508, -0.013035970740020275, -0.4699336588382721, -0.22320261597633362, 0.4825437366962433, 0.15108469128608704, 0.2684098482131958, -0.5043043494224548, 0.05143439769744873, -0.13521437346935272, -1.1654529571533203, -0.08026384562253952, 0.4792521595954895, 0.2815936505794525, 0.2111581265926361, 0.9796590805053711, -0.6960979700088501, 1.022748589515686, 0.05912140756845474, -0.08950668573379517, 0.43624499440193176, -0.6490848064422607, -0.14800895750522614, 0.052009060978889465, 0.329496830701828, 0.2625521421432495, 0.34354937076568604, -0.49696213006973267, -0.29130393266677856, -0.13883177936077118, 0.3400759696960449, -0.7839868664741516, -0.49944090843200684, -0.35484474897384644, -0.4563937485218048, -0.2712732255458832, 0.08477474749088287, 0.011327721178531647, -0.6426455974578857, -1.0783863067626953, 0.7207234501838684, -0.9108433723449707, 0.03786718472838402, 0.1434105634689331, -0.5839671492576599, 0.2449207752943039, 0.7031229138374329, -0.5138077735900879, 0.4224269688129425, 0.7318130135536194, 0.4402666985988617, 0.40231069922447205, -0.1606108844280243, -0.559131383895874, 0.032798606902360916, -0.6501452922821045, 0.5726245045661926, -0.436796098947525, -0.06889209151268005, -0.28844621777534485, -0.07765474170446396, 0.14266344904899597, -0.4328083097934723, 0.5197594165802002, -0.6560683250427246, 0.0577375665307045, -0.7732754349708557, -0.373319536447525, -0.4319635331630707, 0.2964596152305603, -0.60324627161026, 0.6171422004699707, 0.026862001046538353, -0.481497585773468, 0.5042548179626465, -0.5406970381736755, -0.9976904392242432, -0.09402796626091003, 0.05647611990571022, 0.08595191687345505, 0.2768288850784302, 0.28901636600494385, 0.2674567699432373, -0.03787276893854141, -0.11494282633066177, -0.256520539522171, -0.32508453726768494, 0.10316937416791916, -0.011026610620319843, 0.9627345204353333, 0.01628050021827221, -0.24986852705478668, 0.035844866186380386, -0.8664942979812622, 0.23078472912311554, -0.17011971771717072, -0.09256982803344727, -0.5796359181404114, 0.14129865169525146, -0.4938710927963257, 0.4716438353061676, -0.10087253153324127, -0.44684988260269165, 0.3315926194190979, -0.5656282305717468, 0.3245057165622711, 0.8584890365600586, 0.1390443593263626, 0.6052536964416504, -0.5238373279571533, 0.02149258553981781, 0.18208087980747223, 0.05730408430099487, -0.09228617697954178, -0.5199596881866455, -0.8352392911911011, -0.38488736748695374, 0.3688231110572815, 0.1611248254776001, -0.9564061164855957, 0.736214816570282, -0.47042137384414673, -0.47541487216949463, -0.3508296012878418, 0.07328842580318451, 0.21118025481700897, 0.6137740015983582, 0.3975798785686493, -0.28768184781074524, -0.6322806477546692, -1.0521869659423828, -0.13942210376262665, -0.03337407857179642, 0.0006368991453200579, 0.41036126017570496, 0.3836418092250824, -0.2218295782804489, 0.915216863155365, -0.6028960347175598, -0.26036661863327026, -0.12009129673242569, 0.07286714017391205, 0.312790185213089, 0.2627849578857422, 0.4240991175174713, -0.5337384939193726, -0.12654240429401398, 0.03970876708626747, -0.7169431447982788, -0.08878592401742935, 0.010542497970163822, -0.29273664951324463, -0.30813783407211304, 0.39114341139793396, -0.8732172846794128, 0.7002217769622803, -0.09766954183578491, -0.313883900642395, 0.492701917886734, -0.14659489691257477, 0.26789265871047974, -0.7540397644042969, -0.17768973112106323, -0.18713560700416565, -0.3998449444770813, -0.8477720618247986, 0.0416865274310112, 0.026939062401652336, 0.0711318850517273, -0.1610824316740036, 0.28758835792541504, -0.2597484290599823, 0.1514156013727188, -0.36962032318115234, 0.18441660702228546, -0.08455073088407516, 0.39987972378730774, -0.23034369945526123, 0.13268236815929413, 0.4618217349052429, -0.8490883111953735, 0.24287676811218262, 0.3729884922504425, -0.0989636704325676, 0.4749416708946228, -0.6459296941757202, -0.1468154340982437, -0.493142306804657, 0.31497296690940857, -0.9281588792800903, -0.39652112126350403, 0.4457441568374634, -0.20706869661808014, 0.11946947872638702, -0.22541272640228271, -0.7379836440086365, -0.23755569756031036, -0.09843753278255463, 0.23426245152950287, 1.1023943424224854, -0.7701881527900696, 1.02161705493927, 0.20383568108081818, 0.38879919052124023, -0.3924630880355835, -0.7069087028503418, 0.0065366108901798725, 0.13027158379554749, -0.6370869874954224, 0.34632211923599243, 0.1644648164510727, -0.13293014466762543, 0.24599885940551758, -0.2588039040565491, 0.15846510231494904, 0.03449983522295952, 0.4681743383407593, -0.10612188279628754, -0.10301834344863892, -0.03946457803249359, 0.22847817838191986, 0.008097546175122261, 0.25485000014305115, -0.2907547652721405, 0.5032914280891418, 0.24784667789936066, -0.59902024269104, -0.45868080854415894, 0.046294569969177246, 0.4018283188343048, -0.1536291241645813, 0.3591425120830536, 0.09658545255661011, -0.7101595401763916, -0.2790743410587311, -0.46219030022621155, -0.8136134147644043, -0.45400530099868774, 0.1920105218887329, -0.46209049224853516, -0.34931129217147827, 0.41176894307136536, -0.017827797681093216, -0.21579085290431976, 0.5055533051490784, 0.01439583394676447, -0.1299542486667633, 1.0723028182983398, 0.2956458330154419, 0.4031204879283905, 0.29638656973838806, -0.22325602173805237, 0.09534893184900284, -0.660244882106781, -0.31990957260131836, -0.3310280442237854, -0.46439260244369507, -0.6230002641677856, -0.11181546002626419, 0.36712968349456787, 0.17999713122844696, -0.2954169511795044, 0.7739275693893433, -0.4574041962623596, 0.6538347601890564, 0.7533857822418213, 0.7427456378936768, 0.36865442991256714, 0.24652236700057983, -0.1573445051908493, -0.059131838381290436, -0.9220793843269348, -0.0544583685696125, 0.9787991046905518, -0.025069501250982285, 0.6278032064437866, 0.2502255141735077, 0.7792776226997375, 0.16941900551319122, 0.3320104777812958, -0.7468599677085876, 0.77793288230896, -0.2323540896177292, -0.3283466696739197, -0.11366694420576096, -0.7723162770271301, -0.5727775692939758, 0.14205078780651093, -0.43806490302085876, -0.43070295453071594, 0.2486303150653839, 0.29410019516944885, -0.28343528509140015, 0.18558230996131897, -0.5265712141990662, 0.47005385160446167, 0.022187789902091026, 0.0937669426202774, -0.46157950162887573, -0.6715372800827026, 0.6319101452827454, 0.09022274613380432, -0.37081626057624817, -0.05679737403988838, 0.21945247054100037, 0.6539306044578552, -0.756446897983551, 0.8344573378562927, -0.22154216468334198, 0.342337429523468, 0.35225650668144226, 0.15092679858207703, 0.9296829700469971, -0.2823347747325897, 0.16707617044448853, -0.07027841359376907, -0.19622483849525452, -0.1968347728252411, -0.9716897010803223, 0.472103476524353, -0.6818437576293945, -0.3955155611038208, -0.19269520044326782, -0.4870704114437103, -0.1571006029844284, 0.4344295263290405, 0.010805873200297356, 0.39703577756881714, 0.25205495953559875, 0.36297309398651123, 0.6753817200660706, 0.24880823493003845, 0.09734838455915451, 0.2384701669216156, 0.006704101804643869, -0.64692622423172, 0.7357007265090942, 0.4244103729724884, 0.22840087115764618, 0.003738691797479987, 0.14750471711158752, -0.32093238830566406, -0.4494692385196686, -0.1597343236207962, 0.3422476649284363, -0.8857997059822083, -0.3824772834777832, -0.6775817275047302, -0.5998722314834595, -0.5754373669624329, 0.11306849867105484, 0.08966261893510818, -0.8427662253379822, -0.10234091430902481, -0.19571256637573242, 0.5944156646728516, 0.7543964385986328, -0.3175273537635803, 0.48056328296661377, -0.41180944442749023, 0.6207615733146667, 0.3083552420139313, 0.08296810835599899, 0.007113424129784107, -0.523419976234436, 0.028701428323984146, 0.4759967625141144, -0.2281194031238556, -1.0054190158843994, 0.09422001242637634, 0.1374010294675827, 0.5922669172286987, 0.4467906951904297, 0.017341341823339462, 0.9276578426361084, -0.5935461521148682, 0.16899269819259644, 0.4410165548324585, -0.47921237349510193, 0.33733227849006653, -0.37176528573036194, 0.12236960232257843, 0.6202409267425537, 0.34690380096435547, -0.5310039520263672, -0.011721783317625523, -0.7368975281715393, -0.6802193522453308, 0.7695249319076538, 0.39781105518341064, 0.14878453314304352, 0.06986567378044128, 0.4747350811958313, -0.17960509657859802, 0.32902753353118896, -0.46288588643074036, -0.14693520963191986, -0.3417873680591583, -0.15984705090522766, 0.1601368933916092, 0.03296215832233429, -0.48237287998199463, -0.4230665862560272, 0.8590215444564819, -0.17589369416236877, 0.09951666742563248, -0.05340180918574333, -0.03364727646112442, 0.10710209608078003, 0.031078463420271873, 0.46448737382888794, 0.5382797122001648, -0.12167354673147202, 0.2530025839805603, 0.24835105240345, -0.2572370767593384, 0.06501258164644241, 0.3662285804748535, -0.5413958430290222, -0.2576795220375061, 0.31880635023117065, 0.72251957654953, -0.003795203287154436, -0.24993790686130524, 0.353838175535202, 0.27783066034317017, -0.38631168007850647, -0.06558847427368164, 0.407086580991745, -0.01886032335460186, -0.10446999222040176, 0.04876694828271866, 0.6386513710021973, 0.1052965372800827, -0.3325521647930145, 0.3882642984390259, 0.3934507668018341, -0.49690473079681396, -0.15588514506816864, 0.27339768409729004, -0.07515314966440201, -0.012754675932228565, 1.0145716667175293, -0.4289346933364868, -0.48081257939338684, 0.5990243554115295, 0.5611914992332458, 0.49403923749923706, 0.46552374958992004, 0.2787797451019287, 0.48436638712882996, 0.659571647644043, -0.32352587580680847, 0.1457376629114151, -0.18610024452209473, -0.7576315999031067, -0.6570276618003845, -0.2716371715068817, -0.014511004090309143, -0.2689089775085449, -0.2911432683467865, 0.43869057297706604, -0.40734541416168213, -0.1273253858089447, -0.012705767527222633, -0.277790367603302, -0.6017080545425415, 0.1643899828195572, -0.23623667657375336, 1.0656547546386719, -0.9747756719589233, 0.5087388157844543, 0.5118118524551392, -0.5806195139884949, -0.9072713851928711, -0.32331642508506775, 0.005812153220176697, -0.6898984313011169, 0.8406585454940796, 0.11448317021131516, 0.10388827323913574, -0.059736814349889755, -0.42865899205207825, -0.6850859522819519, 0.985424816608429, 0.4038032293319702, -0.09245656430721283, -0.3280627727508545, 0.4020593762397766, 0.4801071882247925, -0.1506289392709732, 0.432035893201828, 0.47127509117126465, 0.8307907581329346, 0.3933027684688568, -0.39050915837287903, 0.40247830748558044, -0.18298779428005219, -0.32479098439216614, 0.40799859166145325, -0.29829898476600647, 0.5164175629615784, -0.23657265305519104, -0.01552293449640274, -0.025985395535826683, 0.616473376750946, 0.38309577107429504, 0.2288590520620346, 0.6205582618713379, 1.0194419622421265, 0.6003273725509644, -0.3826354444026947, 1.0798393487930298, -0.14790524542331696, -0.17708145081996918, 1.10689377784729, -0.022843994200229645, 0.3844826817512512, 0.29835715889930725, 0.18735717236995697, 0.3530363440513611, 0.4612088203430176, 0.042053960263729095, 0.5159740447998047, 0.2628754675388336, -0.012974242679774761, -0.6130548119544983, -0.2889588177204132, -0.3400932848453522, 0.3546983003616333, 0.1580898016691208, -0.41065850853919983, -0.4081929624080658, -0.14855089783668518, 0.10111189633607864, -0.1231238916516304, -0.46680888533592224, 0.866381824016571, 0.022649608552455902, -0.8407347798347473, 0.4530586004257202, 0.0597543902695179, 0.28957071900367737, -0.7711521983146667, -0.32431739568710327, -0.25614508986473083, -0.0019827932119369507, -0.43058040738105774, -0.6502922773361206, 0.1731099635362625, -0.45236635208129883, -0.24282445013523102, -0.08900941908359528, 1.0159176588058472, -0.309045672416687, -0.36937201023101807, 0.013490254059433937, 0.31759053468704224, -0.11385874450206757, -0.03840812295675278, -0.23050683736801147, -0.6696373820304871, -0.06514649093151093, 0.02987964078783989, 0.11144280433654785, 0.5243397355079651, -0.17050187289714813, 0.5977091193199158, 0.8073055744171143, 0.3179068863391876, 0.23132404685020447, -0.12399660795927048, 1.0859622955322266, -0.49618208408355713, -0.18592409789562225, -0.6480754613876343, 0.4950464963912964, -0.39106684923171997, -0.13808423280715942, 0.9342819452285767, 0.5546895265579224, 0.54468834400177, -0.11024634540081024, 0.4549873471260071, -0.24417972564697266, -0.13951121270656586, -0.5172919034957886, 0.8658159375190735, -0.49964502453804016, -0.03526369109749794, -0.09259503334760666, -0.8203561902046204, -0.47537684440612793, 0.4985910654067993, -0.2742668688297272, 0.1637139618396759, 0.5538375973701477, 0.9911758899688721, -0.46309584379196167, 0.17815791070461273, 0.2924925982952118, 0.21962717175483704, 0.22879579663276672, 0.34850338101387024, 0.7675390839576721, -0.5039433836936951, 0.3686753213405609, -0.5953428149223328, -0.08334944397211075, -0.04375031962990761, -0.9637678861618042, -0.5756409764289856, -0.3050660192966461, -0.3260948061943054, -0.8434016108512878, 0.08146815001964569, 1.0120564699172974, 0.9745656251907349, -0.5888219475746155, 0.13415829837322235, -0.32403281331062317, 0.33913499116897583, -0.5535894632339478, -0.18953080475330353, 0.36077672243118286, -0.39973440766334534, -0.10759027302265167, 0.4432835578918457, -0.12466643005609512, 0.08694779872894287, 0.44178929924964905, -0.3033234477043152, -0.16505959630012512, 0.0888436809182167, 0.7324415445327759, 0.25786176323890686, -0.48517969250679016, -0.27549928426742554, 0.15194766223430634, -0.0819145068526268, -0.09148375689983368, 0.8470699191093445, -1.0141814947128296, 0.3001185357570648, 0.9661427140235901, 0.6640413999557495, 0.38647589087486267, 0.17402343451976776, 0.23040185868740082, -0.8108340501785278, -0.1933746337890625, 0.23812635242938995, 0.4805864095687866, -0.027538351714611053, -0.003374506952241063, 0.6134194731712341, 0.4429139494895935, -0.18158859014511108, -0.8500390648841858, 0.3712764382362366, -1.0281003713607788, -0.08194985240697861, 1.1131690740585327, 0.30663660168647766, -0.28029218316078186, 0.33814772963523865, -0.1924045830965042, 0.05212632194161415, -0.12163421511650085, 0.4846021234989166, 0.4358949661254883, -0.4404694736003876, 0.21960079669952393, -0.21073521673679352, 0.5249552726745605, 0.21921302378177643, -0.8437232375144958, 0.10022922605276108, 0.9165064692497253, 0.3040265142917633, 0.4150393009185791, 0.33614978194236755, -0.1801835149526596, 0.5726226568222046, -0.13809548318386078, 0.009314646013081074, -0.5499832034111023, -0.5499511957168579, -0.011597267352044582, 0.21082989871501923, -0.08075650036334991, 0.3024485111236572 ]
http://arxiv.org/abs/2407.01992v1
http://arxiv.org/pdf/2407.01992v1
Is Your Large Language Model Knowledgeable or a Choices-Only Cheater?
2024-07-02T07:06:53
2024-07-02T07:06:53
Nishant Balepur, Rachel Rudinger
cs.CL
cs.CL
Recent work shows that large language models (LLMs) can answer multiple-choice questions using only the choices, but does this mean that MCQA leaderboard rankings of LLMs are largely influenced by abilities in choices-only settings? To answer this, we use a contrast set that probes if LLMs over-rely on choices-only shortcuts in MCQA. While previous works build contrast sets via expensive human annotations or model-generated data which can be biased, we employ graph mining to extract contrast sets from existing MCQA datasets. We use our method on UnifiedQA, a group of six commonsense reasoning datasets with high choices-only accuracy, to build an 820-question contrast set. After validating our contrast set, we test 12 LLMs, finding that these models do not exhibit reliance on choice-only shortcuts when given both the question and choices. Thus, despite the susceptibility~of MCQA to high choices-only accuracy, we argue that LLMs are not obtaining high ranks on MCQA leaderboards just due to their ability to exploit choices-only shortcuts.
[ -0.38209933042526245, -0.6209117770195007, 0.8391385078430176, -0.1362139880657196, -0.09566696733236313, 0.12252676486968994, -0.07950020581483841, -0.26720330119132996, 0.22249700129032135, 1.0398281812667847, -0.33028629422187805, -0.4656536877155304, -0.7734780311584473, 0.03611396625638008, -0.07841303199529648, 0.8522469401359558, 0.06854851543903351, 0.07386002689599991, -0.4620603919029236, -0.34054797887802124, -0.2808978259563446, -0.5711036324501038, -0.8560529351234436, -0.5435203313827515, 0.8212818503379822, 0.572186291217804, 1.1526949405670166, 0.598457396030426, 0.1741834282875061, 0.26636186242103577, -0.392616331577301, 0.17991957068443298, -0.5104725956916809, -0.015291884541511536, -0.40505242347717285, -0.5133397579193115, -0.1362600326538086, 0.02297981083393097, 0.38573697209358215, 0.6982126832008362, 0.15613920986652374, 0.22751544415950775, 0.06452123820781708, 0.5382820963859558, -0.5931727886199951, 0.1140940710902214, -0.8081935048103333, -0.14646059274673462, -0.4130217134952545, 0.07157059758901596, -0.45082464814186096, -0.11072799563407898, -0.19192039966583252, -0.21497167646884918, -0.05992833897471428, 0.08169934153556824, 0.788501501083374, 0.3495290279388428, -0.8962713479995728, -0.3727911412715912, -0.22667749226093292, 0.9780452847480774, -0.6979245543479919, 0.3229723572731018, 0.5434368252754211, 0.36205607652664185, -0.2652861475944519, -0.5392454266548157, -0.35791242122650146, -0.41424208879470825, -0.15019336342811584, 0.07360053807497025, 0.020835718140006065, 0.08559833467006683, 0.3751192092895508, 0.06640173494815826, -0.26941370964050293, 0.526706874370575, -0.3824171721935272, -0.33484888076782227, 0.49407726526260376, 0.11922328919172287, 0.36526545882225037, -0.2589106559753418, -0.17325763404369354, 0.029231054708361626, -0.7778230905532837, 0.18414932489395142, 0.4398820996284485, 0.4735928177833557, 0.21115879714488983, 0.8520686626434326, -0.2978784143924713, 0.8022833466529846, -0.3578449487686157, -0.26276934146881104, -0.0525234118103981, -0.002451271517202258, -0.2248208075761795, -0.15808655321598053, 0.739841103553772, 0.24182254076004028, 0.48830896615982056, -0.10928016155958176, -0.08971913903951645, -0.11232805252075195, -0.06158461049199104, -0.7253555059432983, -0.5756522417068481, 0.32688596844673157, -0.22042252123355865, -0.2703307867050171, -0.14351403713226318, -0.5167972445487976, -0.5457003116607666, -0.0632234588265419, 0.41021889448165894, 0.078803651034832, -0.09515844285488129, -0.04990653693675995, -0.28260329365730286, -0.024954576045274734, 0.20616355538368225, -0.5896349549293518, 0.20977550745010376, 0.4648534953594208, 0.7900912165641785, -0.16107094287872314, -0.4274732172489166, -0.6222200393676758, -0.05434464290738106, -0.3928776979446411, 0.7598690390586853, -0.7285013794898987, -0.5276755690574646, -0.1655367910861969, -0.03586293011903763, -0.08046159893274307, -0.7004044055938721, 0.7214354872703552, -0.7427250146865845, -0.06468866765499115, -0.6879434585571289, -0.5539378523826599, -0.00942049827426672, 0.017521554604172707, -0.9406649470329285, 0.7559987902641296, -0.1073715090751648, -0.906817615032196, 0.37126466631889343, -0.4009793996810913, -0.4030115604400635, -0.09627334773540497, -0.3232073485851288, -0.3080084025859833, -0.18823932111263275, 0.3325057327747345, 0.30167800188064575, 0.08547510951757431, 0.15094883739948273, -0.6502793431282043, -0.4200516641139984, 0.6010834574699402, -0.3166113495826721, 1.0713015794754028, 0.08569972217082977, -0.1912996768951416, -0.18004173040390015, -0.42157039046287537, 0.1754077821969986, 0.17247971892356873, -0.6143139600753784, -0.24934765696525574, 0.09450419992208481, -0.37664493918418884, 0.7030031681060791, 0.15078067779541016, -0.3780567944049835, 0.1342080682516098, 0.06979241222143173, 0.11809901893138885, 1.2095218896865845, -0.11419468373060226, 0.2546476423740387, -0.5536207556724548, 0.45121726393699646, 0.09918835759162903, -0.145417258143425, 0.4918563663959503, -0.6419737339019775, -0.8494492769241333, -0.37712356448173523, 0.5216761231422424, 0.4678066372871399, -0.9453666806221008, 0.21645744144916534, -0.07877742499113083, -0.392559677362442, -0.6058629155158997, 0.46463078260421753, 0.599247932434082, 0.5632230639457703, 0.17820456624031067, -0.03687645494937897, -0.3211606740951538, -1.1559590101242065, -0.6018655896186829, -0.005704350303858519, 0.12733644247055054, 0.7883716821670532, 0.5988363027572632, -0.011949644424021244, 0.7364044189453125, -0.7594625949859619, -0.048022471368312836, -0.24103397130966187, -0.3249797224998474, 0.395719975233078, 0.15149015188217163, 0.38051286339759827, -0.7812934517860413, -0.44523921608924866, -0.3664441704750061, -0.5802320241928101, -0.1468694657087326, 0.2640533447265625, -0.3152300715446472, -0.035754382610321045, 0.6094892024993896, -0.4464823305606842, 0.07936287671327591, 0.6386121511459351, -0.39981088042259216, 0.6200729608535767, 0.006275358144193888, 0.03814501315355301, -0.7250317931175232, 0.0089945700019598, -0.1775798499584198, -0.14839033782482147, -0.47160905599594116, 0.03192688897252083, -0.07013044506311417, 0.07797064632177353, -0.5333530306816101, 0.9742375612258911, -0.1996547281742096, -0.10273363441228867, -0.21612617373466492, 0.2500394582748413, -0.002031094627454877, 0.47913244366645813, 0.017181959003210068, 0.7123810648918152, 0.5985288619995117, -0.8241418600082397, 0.14064976572990417, 0.3531958758831024, -0.4643053412437439, 0.3227725923061371, -0.49470824003219604, 0.2838016748428345, -0.07263751327991486, 0.35344982147216797, -0.9016991257667542, -0.3257162868976593, 0.05502450093626976, -0.23551127314567566, -0.07965455204248428, -0.2609061300754547, -0.5047485828399658, -0.34683528542518616, -0.17284318804740906, 0.023937884718179703, 0.3752998411655426, -0.8194491863250732, 0.3605417013168335, 0.3902668058872223, -0.3001880943775177, -0.9117262959480286, -0.7156000733375549, -0.10029798746109009, -0.011719957925379276, -0.43381452560424805, -0.058445658534765244, -0.3849332630634308, -0.49674713611602783, -0.181053027510643, -0.14843635261058807, -0.07703975588083267, 0.2148459106683731, 0.3631579875946045, 0.1996520757675171, 0.0111745810136199, 0.17486083507537842, 0.06042185053229332, 0.0750804990530014, -0.050606559962034225, 0.14206738770008087, 0.42996278405189514, 0.001628353726118803, -0.4025844931602478, 0.07892604917287827, 0.24414442479610443, 0.619501531124115, -0.25666627287864685, 0.7717103362083435, 0.1489790976047516, 0.008851241320371628, -0.3475002944469452, -0.46347561478614807, -0.02073211409151554, -0.4799948036670685, 0.493868350982666, -0.5548304319381714, -1.1236258745193481, 0.6882665753364563, 0.0846571996808052, 0.1799742877483368, 0.3343358039855957, 0.3907340168952942, -0.18088562786579132, 1.276955008506775, 0.28410476446151733, -0.19621464610099792, 0.2998879849910736, 0.014448466710746288, -0.03885821998119354, -0.719146728515625, -0.03282952681183815, -0.6662735939025879, -0.40414413809776306, -0.7765799164772034, -0.13413368165493011, 0.2780884802341461, 0.08670670539140701, -0.4998602867126465, -0.16717953979969025, -0.2403375506401062, 0.9043652415275574, 0.6447659134864807, 0.3939771354198456, 0.35621923208236694, -0.2541031539440155, -0.24365058541297913, 0.14302587509155273, -0.803979218006134, -0.41188594698905945, 1.3828729391098022, 0.025065740570425987, 0.6667236089706421, 0.3462183177471161, 0.6949650645256042, -0.03092673048377037, 0.13352808356285095, -0.6315035820007324, 0.6687390208244324, -0.3409196138381958, -0.9646176695823669, -0.36616477370262146, -0.7294150590896606, -0.7723029851913452, 0.42799341678619385, -0.2107807993888855, -0.6206692457199097, 0.018141383305191994, 0.16955780982971191, -0.2567477226257324, 0.5710051655769348, -0.5904579162597656, 0.7609575390815735, -0.32596760988235474, -0.2520093321800232, 0.3246783912181854, -0.6133645176887512, 0.6773316860198975, -0.12061939388513565, 0.3447849154472351, -0.00031797666451893747, 0.08481977134943008, 0.8693296909332275, -0.1638917326927185, 0.8327128887176514, 0.003979681525379419, 0.14165247976779938, 0.19829225540161133, 0.1679273098707199, 0.451860636472702, -0.0256524495780468, -0.31566253304481506, -0.0016321575967594981, -0.22021523118019104, -0.8556057810783386, -0.45026102662086487, 1.0383504629135132, -0.8507760763168335, -0.6817941069602966, -0.37254953384399414, -0.41367560625076294, -0.40592071413993835, 0.39693939685821533, 0.34528103470802307, 0.4216563403606415, -0.06246354058384895, -0.04867332801222801, 0.6587401032447815, -0.06320010870695114, 0.27425846457481384, 0.2803401052951813, -0.40236374735832214, -0.2251506745815277, 0.7411803603172302, 0.3443912863731384, 0.5402382016181946, 0.005278219468891621, 0.35685595870018005, -0.36078161001205444, -0.61362224817276, -0.3898705542087555, 0.46812647581100464, -1.1701985597610474, -0.06421114504337311, -0.5359331965446472, -0.29470089077949524, -0.19897235929965973, -0.1710519790649414, -0.21355389058589935, -0.3624616265296936, -0.2879723608493805, -0.28115636110305786, 0.08268290013074875, 0.879302442073822, 0.21799598634243011, 0.09845975041389465, -0.5203127861022949, 0.38772279024124146, 0.8382671475410461, 0.4097471833229065, -0.06701505929231644, -0.5011330246925354, -0.15341879427433014, -0.06649462133646011, -0.2589150369167328, -0.8185402154922485, -0.03631307929754257, 0.011717567220330238, 0.7842715978622437, 0.35639286041259766, 0.09737003594636917, 0.32963576912879944, -0.21640178561210632, 0.8154067397117615, -0.18930457532405853, -0.7402178645133972, 0.11000943928956985, -0.11732510477304459, 0.3656407296657562, 0.844560444355011, 0.3759085536003113, -0.4211929440498352, -0.5559742450714111, -0.8373650312423706, -0.33314049243927, 0.6490639448165894, 0.02533082477748394, 0.07096114754676819, -0.039774637669324875, 0.2645299732685089, 0.035058729350566864, 0.2896304130554199, -0.9843849539756775, -0.39155593514442444, -0.037553586065769196, 0.014364460483193398, -0.36728283762931824, -0.16346877813339233, -0.28226709365844727, -0.06730980426073074, 0.6884980797767639, -0.2508941888809204, -0.1642070710659027, -0.26487112045288086, -0.0875949040055275, 0.11741318553686142, 0.5290336012840271, 0.32385843992233276, 0.8647556304931641, -0.23338443040847778, 0.4454435706138611, 0.33578765392303467, -0.2783496379852295, -0.09164063632488251, -0.08185888826847076, -0.1811412125825882, 0.06863424181938171, 0.2814626395702362, 0.5719001889228821, 0.11275219172239304, -0.7589452862739563, 0.5180160403251648, 0.19368231296539307, -0.1946752816438675, 0.13420605659484863, 0.27288123965263367, 0.4098721444606781, 0.18300968408584595, -0.17496222257614136, 0.054458532482385635, 0.006444798316806555, -0.6714887619018555, 0.10217151045799255, 0.7099570035934448, -0.4158768653869629, 0.1359139233827591, 0.3174641728401184, 0.0857219249010086, -0.21125739812850952, 0.8300379514694214, -0.026370396837592125, -0.7156912088394165, 0.7724668979644775, 0.43058523535728455, 0.36165058612823486, -0.16215595602989197, 0.33546683192253113, 0.14891143143177032, 0.1682947874069214, -0.25074502825737, 0.2486823946237564, 0.2095714658498764, -0.9121392965316772, -0.24382159113883972, -0.38932493329048157, -0.6640976071357727, 0.2833702266216278, -0.5870568752288818, 0.4185720384120941, -0.42236021161079407, -0.10021866858005524, 0.0508250892162323, -0.01722949743270874, -0.6083196401596069, 0.5209445953369141, -0.0861530527472496, 0.803605318069458, -0.9010241627693176, 0.8633753657341003, 0.44579094648361206, -0.28099822998046875, -0.7345776557922363, -0.08995741605758667, -0.04162351042032242, -0.8961355090141296, 0.5327404141426086, -0.04684955254197121, -0.09456046670675278, -0.1450110226869583, -0.8676241040229797, -0.6683728694915771, 1.0900955200195312, 0.32184073328971863, -0.355585515499115, -0.06547514349222183, 0.06116902828216553, 0.20571866631507874, -0.13928556442260742, 0.3718969523906708, 0.7568709254264832, 0.5435091257095337, 0.30522555112838745, -0.792715847492218, -0.06671438366174698, 0.0077330442145466805, -0.352094829082489, 0.26649153232574463, -0.8889986872673035, 0.99281245470047, -0.3827226161956787, -0.025773344561457634, -0.18063855171203613, 0.1528458595275879, 0.5391868352890015, 0.1758870631456375, 0.5625712871551514, 0.420711487531662, 0.8941136598587036, 0.07830219715833664, 1.1142431497573853, -0.019692935049533844, 0.2186603993177414, 1.3974065780639648, -0.18514353036880493, 0.9083681106567383, 0.4873238801956177, 0.01949843391776085, 0.4061211943626404, 0.6432334184646606, 0.09567486494779587, 0.5514545440673828, 0.3468608856201172, 0.037186406552791595, -0.7933551669120789, -0.08849620074033737, -0.08978879451751709, 0.5740368962287903, 0.060747310519218445, -0.45355021953582764, -0.1604960858821869, -0.20581257343292236, 0.4615343511104584, 0.029420239850878716, -0.40341612696647644, 0.5909743905067444, 0.2720251679420471, -0.7932703495025635, 0.42304903268814087, -0.07674775272607803, 0.5095460414886475, -0.655238151550293, 0.05651719123125076, -0.21773825585842133, -0.1539316028356552, -0.2820838391780853, -0.9987643361091614, -0.24620041251182556, -0.09375692903995514, -0.05929197743535042, 0.003995399922132492, 0.6336613297462463, -0.26261985301971436, -0.4539816379547119, 0.20652881264686584, 0.7320796847343445, 0.1465042382478714, -0.07804486155509949, -0.7686248421669006, -0.22480043768882751, 0.1414622664451599, -0.13209722936153412, 0.49904370307922363, 0.02665984071791172, -0.10396233201026917, 0.7487137317657471, 0.6595898270606995, 0.22052700817584991, -0.09018510580062866, 0.05165170505642891, 1.0150972604751587, -0.6837697625160217, -0.46003225445747375, -0.8673690557479858, 0.43173137307167053, -0.24803586304187775, -0.48185253143310547, 0.7940880060195923, 0.5766971111297607, 0.6986188292503357, 0.13418056070804596, 1.0320566892623901, 0.40708428621292114, 0.5827596783638, -0.8673524856567383, 0.800620436668396, -0.6132893562316895, 0.39008840918540955, -0.18707366287708282, -0.6923539042472839, -0.13552320003509521, 0.14864911139011383, -0.5710115432739258, 0.2963431477546692, 0.6489656567573547, 0.8896945714950562, -0.19130459427833557, -0.13927076756954193, 0.4172047972679138, 0.29998138546943665, 0.37112605571746826, 0.6693967580795288, 0.9044312238693237, 0.10637383908033371, 0.7427939772605896, -0.058280400931835175, -0.3009626865386963, -0.19070062041282654, -0.7284135222434998, -1.2687608003616333, -0.251985102891922, -0.10799463838338852, -0.5764561295509338, -0.052969325333833694, 0.5017401576042175, 0.321879506111145, -0.6419139504432678, -0.20502838492393494, 0.31486067175865173, 0.6972742080688477, -0.04236086457967758, -0.15512986481189728, 0.4902927279472351, -0.02825157903134823, -0.5866357088088989, 0.24468480050563812, -0.16829457879066467, -0.014604673720896244, -0.09636227786540985, -0.061326730996370316, -0.1986466348171234, 0.4697710871696472, 0.2906528115272522, 0.25820544362068176, -0.6528325080871582, -0.4913778603076935, 0.0444469153881073, -0.25068050622940063, 0.26083460450172424, 0.704289972782135, -0.4562434256076813, 0.4462924599647522, 0.3926621377468109, 0.3785490095615387, 0.45666247606277466, -0.22706860303878784, 0.09792081266641617, -0.6231895089149475, -0.18508967757225037, 0.21511511504650116, 0.47339552640914917, 0.35961851477622986, -0.1787293404340744, 0.17983698844909668, -0.09931506961584091, -0.787884533405304, -0.5938096642494202, 0.6164491772651672, -0.8506240248680115, -0.5792977213859558, 1.4372855424880981, 0.02645760402083397, -0.20436902344226837, -0.3450005352497101, -0.34417101740837097, -0.03533755615353584, -0.3219584822654724, 0.49153366684913635, 1.0113935470581055, -0.36222976446151733, -0.006222790107131004, -0.6950576901435852, 0.6065367460250854, 0.32422569394111633, -0.7357504367828369, -0.032713137567043304, 0.4382789134979248, 0.5532122850418091, 0.09423137456178665, 0.738272488117218, 0.034623656421899796, 0.14811237156391144, 0.0469478964805603, -0.30834147334098816, -0.2787630558013916, -0.33015283942222595, -0.3559894561767578, 0.30561208724975586, 0.5071289539337158, 0.031214633956551552 ]
http://arxiv.org/abs/2407.01976v1
http://arxiv.org/pdf/2407.01976v1
A Bounding Box is Worth One Token: Interleaving Layout and Text in a Large Language Model for Document Understanding
2024-07-02T06:29:05
2024-07-02T06:29:05
Jinghui Lu, Haiyang Yu, Yanjie Wang, Yongjie Ye, Jingqun Tang, Ziwei Yang, Binghong Wu, Qi Liu, Hao Feng, Han Wang, Hao Liu, Can Huang
cs.CL
cs.CL, cs.AI, cs.MM
Recently, many studies have demonstrated that exclusively incorporating OCR-derived text and spatial layouts with large language models (LLMs) can be highly effective for document understanding tasks. However, existing methods that integrate spatial layouts with text have limitations, such as producing overly long text sequences or failing to fully leverage the autoregressive traits of LLMs. In this work, we introduce Interleaving Layout and Text in a Large Language Model (LayTextLLM)} for document understanding. In particular, LayTextLLM projects each bounding box to a single embedding and interleaves it with text, efficiently avoiding long sequence issues while leveraging autoregressive traits of LLMs. LayTextLLM not only streamlines the interaction of layout and textual data but also shows enhanced performance in Key Information Extraction (KIE) and Visual Question Answering (VQA). Comprehensive benchmark evaluations reveal significant improvements, with a 27.0% increase on KIE tasks and 24.1% on VQA tasks compared to previous state-of-the-art document understanding MLLMs, as well as a 15.5% improvement over other SOTA OCR-based LLMs on KIE tasks.
[ -0.3758614659309387, -0.889535129070282, 0.8260194063186646, 0.337634801864624, -0.3925741910934448, 0.08062747865915298, -0.27907752990722656, -0.38808485865592957, -0.1364239752292633, 0.8132227063179016, -0.3921511471271515, -0.6631444096565247, -0.6452037692070007, -0.09296449273824692, -0.31355148553848267, 0.619429886341095, -0.381596177816391, 0.05325942113995552, -0.48923707008361816, -0.18370798230171204, -0.6955397129058838, -0.46398523449897766, -0.09060424566268921, -0.184172585606575, 0.194583460688591, 0.35107487440109253, 0.8278659582138062, 0.9902408123016357, 0.5052326917648315, 0.33537301421165466, -0.3015405535697937, 0.2469893991947174, -0.3750563859939575, 0.048956502228975296, -0.22855590283870697, -0.47189828753471375, -0.30294501781463623, -0.03151903301477432, 0.5877101421356201, 0.701144814491272, 0.0876440778374672, -0.2539622485637665, 0.07877185940742493, 0.6511660218238831, -0.4071330726146698, 0.36655566096305847, -0.36810991168022156, 0.33527156710624695, 0.06108033284544945, -0.35698315501213074, -0.6692626476287842, -0.27946239709854126, 0.2077428698539734, -0.8150061368942261, 0.06552824378013611, -0.006754948291927576, 0.6689605116844177, 0.43774986267089844, -0.501220703125, -0.6411083936691284, -0.35338547825813293, 0.42207154631614685, -0.5862147808074951, 0.7203291654586792, 0.5867674946784973, 0.08553510159254074, -0.07188007980585098, -0.6796537041664124, -0.5122472643852234, 0.07636401802301407, -0.42287272214889526, 0.41051632165908813, -0.07781309634447098, 0.048919305205345154, 0.4575640559196472, 0.3684881627559662, -0.766030490398407, 0.2557438910007477, -0.39302951097488403, 0.031941886991262436, 0.3486004173755646, -0.07099048793315887, 0.668916642665863, -0.32232868671417236, -0.4186749756336212, -0.22087439894676208, -0.5765056610107422, -0.07018522918224335, 0.08796631544828415, 0.07275804877281189, -0.11942186206579208, 0.6255207061767578, 0.20772643387317657, 0.7916551232337952, -0.18690745532512665, -0.10325871407985687, -0.08522279560565948, -0.31773701310157776, -0.34752267599105835, -0.12516582012176514, 0.6431618928909302, 0.16103041172027588, 0.15077465772628784, -0.3844291567802429, 0.1582508683204651, -0.2789335250854492, 0.27704933285713196, -0.890873372554779, -0.008090752176940441, 0.22141098976135254, -0.5882915258407593, 0.26556381583213806, 0.21752895414829254, -0.7901447415351868, -0.3378904163837433, -0.44978803396224976, 0.3370872735977173, -0.8602448105812073, 0.11528568714857101, 0.41596877574920654, -0.12959912419319153, 0.39902564883232117, 0.7005409598350525, -0.6409706473350525, 0.22839340567588806, 0.797263503074646, 0.9558101892471313, -0.12241833657026291, -0.2981151342391968, -0.8294200301170349, 0.16496887803077698, -0.2781389355659485, 0.7632729411125183, -0.4462089240550995, -0.3345668613910675, 0.14943934977054596, 0.059441711753606796, 0.030106807127594948, -0.5060815215110779, 0.47987592220306396, -0.7924002408981323, 0.5752733945846558, -0.14442512392997742, -0.7147213220596313, -0.1586349904537201, 0.10511701554059982, -0.7110593318939209, 0.8235688209533691, -0.1277269870042801, -0.5510045886039734, 0.31452664732933044, -0.5259702205657959, -0.4617384672164917, 0.29721397161483765, -0.3575228452682495, -0.4691713750362396, 0.21957534551620483, 0.3579672873020172, 0.5452147722244263, 0.07055314630270004, 0.2869495749473572, -0.1680006980895996, -0.3296513259410858, 0.19636724889278412, -0.2577361762523651, 0.5430893898010254, 0.24063754081726074, -0.27577531337738037, -0.21371373534202576, -0.6027988195419312, 0.03334115073084831, -0.09387984126806259, -0.4197278618812561, -0.5154425501823425, -0.07984641194343567, 0.0714816227555275, 0.23093219101428986, 0.27178943157196045, -0.30985093116760254, 0.3774860203266144, -0.3057319223880768, 0.36651158332824707, 0.47989097237586975, -0.3598390221595764, 0.8969526290893555, 0.001868022489361465, 0.626676619052887, 0.03163424879312515, -0.18493005633354187, -0.6839621067047119, -0.13105672597885132, -0.456694096326828, -0.4565003514289856, 0.23533450067043304, 0.47553104162216187, -0.811530351638794, 0.6090049147605896, -0.2254350334405899, -0.1735394448041916, -0.19946503639221191, 0.0630243718624115, 0.5011656880378723, 0.1637318879365921, 0.3119962513446808, -0.09311439841985703, -0.2618350088596344, -0.7277376055717468, -0.2903265357017517, 0.187901571393013, 0.1228894516825676, 0.29488128423690796, 0.3976530134677887, -0.09071718901395798, 0.9762598872184753, -0.6531268954277039, -0.4457891285419464, -0.14884278178215027, 0.22470766305923462, 0.3361091911792755, 0.30764150619506836, 0.26173675060272217, -1.041284441947937, -0.8678616285324097, 0.10489907115697861, -0.845634937286377, -0.1385520100593567, -0.07591840624809265, -0.3512420058250427, 0.07851038128137589, 0.9363852143287659, -0.5896944403648376, 0.927506148815155, 0.49898937344551086, -0.6537927389144897, 0.11226877570152283, -0.5475724935531616, 0.10199904441833496, -1.0668529272079468, -0.1720510572195053, -0.023587727919220924, -0.34295737743377686, -0.6737875938415527, 0.19985240697860718, 0.6676797866821289, -0.2680118978023529, -0.18731580674648285, 0.7211102247238159, -0.9498055577278137, -0.3687364459037781, -0.23907965421676636, 0.49564266204833984, 0.45040085911750793, 0.2902268171310425, 0.3924865126609802, 0.9699040055274963, -0.02174849808216095, -0.30256226658821106, -0.25600430369377136, 0.6981224417686462, -0.6507799625396729, 0.5840813517570496, -0.3870204985141754, 0.08533705770969391, -0.5622872710227966, 0.38973021507263184, -1.1195471286773682, -0.05348288640379906, -0.18280000984668732, -0.25201573967933655, 0.4676186442375183, 0.007500401232391596, -0.5989851951599121, -0.20117858052253723, -0.22711926698684692, 0.38188523054122925, 0.3980731964111328, -0.8699495196342468, 0.8274695873260498, 0.2451651245355606, -0.27480778098106384, -0.5505260229110718, -0.7491499781608582, 0.1070040613412857, -0.13610389828681946, -0.7944765090942383, 0.3956313729286194, -0.15069779753684998, -0.24450922012329102, -0.03001665696501732, 0.08577550202608109, -0.08332068473100662, 0.0006023191963322461, 0.23931224644184113, 0.0684671476483345, -0.2501028776168823, 0.42731380462646484, -0.036113809794187546, -0.1638573855161667, -0.21370503306388855, -0.4526112973690033, 0.6620135307312012, 0.21813121438026428, -0.4068332016468048, -0.20017175376415253, 0.7494933009147644, 0.7650989294052124, -0.38505497574806213, 0.9821087121963501, 0.34243717789649963, -0.41725561022758484, -0.22533829510211945, -0.5844240188598633, 0.2299693375825882, -0.450744092464447, 0.6433905363082886, -0.7328364253044128, -0.9218549728393555, 0.46062350273132324, -0.10638729482889175, 0.1339310109615326, 0.1625746339559555, 0.33521977066993713, -0.4285672903060913, 0.8040798902511597, 0.8709971904754639, 0.16874799132347107, 0.5476511120796204, -0.17954640090465546, 0.470148503780365, -0.9395216703414917, -0.2417306751012802, -0.6203933954238892, -0.1920361965894699, -0.23363757133483887, -0.9203727841377258, 0.4506376385688782, 0.335751473903656, 0.20689590275287628, 0.19036263227462769, -0.3769485354423523, 0.7559497952461243, 0.43015792965888977, 0.2355881780385971, 0.5166434049606323, 0.21671544015407562, -0.015473728999495506, -0.37303242087364197, -0.6298310160636902, -0.5645052194595337, 0.612718403339386, 0.5072021484375, 0.9081705212593079, 0.26897892355918884, 0.5123465657234192, -0.013590577989816666, 0.1983385980129242, -0.6578577160835266, 0.44974270462989807, -0.6617483496665955, -0.029659809544682503, -0.3192095160484314, -0.29221615195274353, -1.0020029544830322, 0.4706067144870758, 0.1215556338429451, -0.8765754699707031, 0.2318449169397354, -0.15305228531360626, -0.14761117100715637, 0.32833313941955566, -0.6421953439712524, 0.7244898676872253, -0.3120708465576172, -0.3669252395629883, -0.008648443967103958, -0.21873816847801208, 0.17077666521072388, -0.0036643489729613066, 0.3749459981918335, 0.22806017100811005, -0.14399276673793793, 0.5945233106613159, -0.6313422918319702, 0.6946685314178467, 0.11186487227678299, -0.45176106691360474, -0.03788229450583458, 0.1198611706495285, 0.5877140760421753, -0.08930513262748718, -0.16025079786777496, -0.12077279388904572, -0.03331489861011505, -0.29258525371551514, -0.796581506729126, 0.6314052939414978, -0.7969284653663635, -0.4690198004245758, -0.24002650380134583, -0.9130752682685852, -0.18850213289260864, 0.17337782680988312, 0.41555243730545044, 0.8274403810501099, -0.2657106816768646, 0.41006144881248474, 1.2716673612594604, -0.6084727644920349, 0.36857926845550537, 0.4735686182975769, -0.38885200023651123, -0.4954179525375366, 0.515127956867218, 0.23862217366695404, 0.24704720079898834, 0.8896111845970154, 0.09473859518766403, -0.604254961013794, -0.39439383149147034, -0.4296010136604309, 0.4495265781879425, -0.8848291039466858, -0.19719699025154114, -1.2704529762268066, -0.29597151279449463, -0.3777633011341095, -0.5917449593544006, 0.03259558975696564, -0.13027700781822205, -0.4098694324493408, -0.12161020934581757, 0.25573763251304626, 0.9418937563896179, 0.040153224021196365, 0.5358090996742249, -0.79155033826828, 0.38966670632362366, 0.18901510536670685, 0.42147865891456604, 0.010432054288685322, -0.633088231086731, -0.30274537205696106, -0.322042852640152, -0.060186952352523804, -0.948292076587677, 0.47355037927627563, -0.13505828380584717, 0.41300836205482483, 0.1808498501777649, -0.2981936037540436, 0.9074205160140991, -0.5108270645141602, 0.3945505917072296, 0.16571059823036194, -1.0117417573928833, 0.31349316239356995, -0.3443117141723633, 0.9830553531646729, 0.47877591848373413, 0.302738755941391, -0.67234206199646, -0.38324257731437683, -0.45180174708366394, -0.6214654445648193, 0.8232666254043579, -0.05076152831315994, -0.1166449710726738, 0.2270670384168625, 0.5104896426200867, 0.2565198540687561, 0.13469305634498596, -0.9169999361038208, 0.14796864986419678, 0.14046403765678406, -0.604900062084198, -0.30154523253440857, -0.5971024036407471, 0.08781927824020386, -0.05101945996284485, 0.5508670210838318, -0.254939466714859, 0.2116260975599289, 0.28947582840919495, -0.6574621796607971, 0.07186859101057053, 0.28300729393959045, 0.40457192063331604, 0.6157302260398865, -0.042265843600034714, 0.2506220042705536, 0.029169531539082527, -0.5809618830680847, 0.0502106249332428, 0.23862062394618988, -0.14616179466247559, -0.04314009100198746, 0.6190029382705688, 0.7246545553207397, 0.1725866049528122, -0.6307302713394165, 0.5754237771034241, -0.3083741068840027, -0.4208436608314514, -0.01582353748381138, -0.3179299235343933, 0.11078781634569168, 0.26486003398895264, 0.16658896207809448, -0.5607107877731323, 0.03153093159198761, -0.6247920989990234, 0.3197042942047119, 0.5404343605041504, -0.4303179383277893, 0.10744643956422806, 0.4883703291416168, 0.07457070797681808, -0.4514539837837219, 0.6051639318466187, 0.11650911718606949, -0.7583574652671814, 0.6990565657615662, 0.7305838465690613, 0.6377242207527161, 0.11239700019359589, 0.20157216489315033, 0.3747731149196625, 0.3852982819080353, 0.073104627430439, 0.21652865409851074, -0.37845245003700256, -0.43058449029922485, -0.5544429421424866, -0.6323756575584412, -0.24224013090133667, 0.14000658690929413, -0.5226656198501587, 0.14741383492946625, -0.302641361951828, 0.28213030099868774, -0.24246154725551605, 0.07777119427919388, -0.7979938387870789, 0.1826666295528412, 0.004284349270164967, 1.2567954063415527, -0.6835927367210388, 0.5932801365852356, 0.6678507328033447, -0.10717349499464035, -0.6804487109184265, 0.18502411246299744, -0.2545553147792816, -0.6960172057151794, 0.78200364112854, 0.4149183928966522, 0.11527519673109055, -0.1550930142402649, -0.39725834131240845, -0.9393193125724792, 0.9279345273971558, 0.0859428197145462, -0.7203059792518616, -0.01638944260776043, 0.34432312846183777, 0.429962694644928, -0.24668516218662262, 0.5546495914459229, 0.3445972502231598, 0.4586791396141052, -0.018099918961524963, -0.6911568641662598, 0.0488252118229866, -0.16804169118404388, 0.14916442334651947, 0.496833473443985, -0.7133220434188843, 0.5787178874015808, 0.05523589625954628, -0.3920615613460541, 0.20595741271972656, 0.7161937952041626, 0.06845753639936447, 0.22224785387516022, 0.5582054853439331, 0.6912296414375305, 0.7953475713729858, -0.19267618656158447, 0.848824143409729, -0.02666749432682991, 0.10368483513593674, 1.350287914276123, -0.17081694304943085, 0.6834559440612793, 0.40468019247055054, -0.06267504394054413, 0.4207305908203125, 0.36163222789764404, 0.572470486164093, 0.5235572457313538, 0.1606159657239914, -0.10040544718503952, -0.14109373092651367, 0.10270416736602783, -0.30721163749694824, 0.4127861261367798, 0.5951610803604126, -0.35364633798599243, -0.33333250880241394, 0.41374823451042175, 0.04525841400027275, 0.5032919645309448, -0.05457951873540878, 1.1286230087280273, 0.1435067504644394, -0.8699405193328857, 0.05425979569554329, -0.2112647145986557, 0.5341666340827942, -0.6041930913925171, -0.15074631571769714, -0.30942025780677795, 0.1961851716041565, -0.08114957064390182, -1.0982391834259033, 0.10698331892490387, -0.09729836136102676, -0.42018455266952515, -0.6630016565322876, 0.7009435892105103, -0.846458911895752, -0.25085002183914185, 0.4359740912914276, 0.4679032564163208, 0.023991594091057777, 0.09935041517019272, -0.40146058797836304, 0.40362322330474854, 0.08215730637311935, -0.061806969344615936, 0.45741990208625793, 0.7321153283119202, -0.0017386674880981445, 0.43094655871391296, 0.5369386672973633, -0.16564218699932098, 0.07672087848186493, 0.042922697961330414, 0.5820541977882385, -0.7595477104187012, -0.8911505341529846, -0.8178794980049133, 0.5294331312179565, -0.38049209117889404, -0.024883607402443886, 0.5614128708839417, 0.6110101342201233, 0.5115976333618164, -0.0031616592314094305, 0.7723236680030823, 0.2039221227169037, 0.20223599672317505, -0.9436858892440796, 0.581569254398346, -0.6374243497848511, 0.054564375430345535, -0.21199582517147064, -0.9290264248847961, -0.2705189287662506, 0.6544950008392334, -0.5960565805435181, -0.35587990283966064, 0.8341575264930725, 0.41247430443763733, -0.23972022533416748, 0.047011494636535645, 0.5124000906944275, 0.37662988901138306, 0.5233862996101379, 0.5076612234115601, 1.0015758275985718, -0.4508510231971741, 0.33805128931999207, -0.1849416047334671, -0.5050675868988037, -0.18068212270736694, -0.8497717380523682, -1.012649655342102, -0.8279626965522766, -0.24626745283603668, -0.45270049571990967, -0.14691336452960968, 0.4989544451236725, 0.7954220771789551, -0.3152126371860504, -0.15916292369365692, 0.012777132913470268, 0.18265807628631592, 0.3370003402233124, -0.2668793499469757, 0.6028637886047363, -0.2875238358974457, -0.7952102422714233, 0.2616267502307892, 0.7807387709617615, 0.15545654296875, -0.1901833415031433, 0.06748691201210022, -0.21619130671024323, 0.0729702040553093, 0.6951817870140076, 0.23968738317489624, -0.6003623008728027, -0.18210943043231964, -0.0890585407614708, -0.3803800642490387, 0.16408605873584747, 0.846207857131958, -0.6603097319602966, 0.5699215531349182, 0.6194586753845215, 0.8500307202339172, 0.6805264353752136, 0.15723483264446259, 0.742181122303009, -0.4737676680088043, 0.37522104382514954, -0.05571785196661949, 0.6119939684867859, 0.2621318995952606, -0.7687286138534546, 0.517065167427063, -0.4083860516548157, -0.5504264235496521, -0.662960410118103, 0.17371782660484314, -0.7841978073120117, -0.5103145837783813, 0.9904114007949829, -0.005215988494455814, -0.4179750382900238, 0.061498794704675674, -0.4369524121284485, -0.01087190955877304, -0.08923828601837158, 0.39377206563949585, 0.7440748810768127, 0.09773716330528259, -0.14452247321605682, -0.43592891097068787, 0.246857687830925, 0.6235569715499878, -1.2471458911895752, 0.09593506157398224, 0.5189409852027893, -0.08157306909561157, 0.2662299573421478, 0.8241744637489319, -0.1231861412525177, 0.2733664810657501, -0.34245216846466064, -0.13703161478042603, 0.18516066670417786, -0.3540833294391632, -0.4155426025390625, 0.16740846633911133, -0.21801458299160004, -0.024687431752681732 ]
http://arxiv.org/abs/2407.01965v1
http://arxiv.org/pdf/2407.01965v1
AdaCQR: Enhancing Query Reformulation for Conversational Search via Sparse and Dense Retrieval Alignment
2024-07-02T05:50:16
2024-07-02T05:50:16
Yilong Lai, Jialong Wu, Congzhi Zhang, Haowen Sun, Deyu Zhou
cs.CL
cs.CL, cs.IR
Conversational Query Reformulation (CQR) has significantly advanced in addressing the challenges of conversational search, particularly those stemming from the latent user intent and the need for historical context. Recent works aimed to boost the performance of CRQ through alignment. However, they are designed for one specific retrieval system, which potentially results in poor generalization. To overcome this limitation, we present a novel framework AdaCQR. By aligning reformulation models with both term-based and semantic-based retrieval systems, AdaCQR enhances the generalizability of information-seeking queries across diverse retrieval environments through a dual-phase training strategy. We also developed two effective approaches for acquiring superior labels and diverse input candidates, boosting the efficiency and robustness of the framework. Experimental evaluations on the TopiOCQA and QReCC datasets demonstrate that AdaCQR significantly outperforms existing methods, offering both quantitative and qualitative improvements in conversational query reformulation.
[ -0.21148090064525604, -1.0013139247894287, 0.24576641619205475, -0.19222266972064972, -0.08780589699745178, 0.229444682598114, -0.027100853621959686, -0.06546109914779663, 0.31577038764953613, 0.36975955963134766, -0.5161968469619751, -0.4699113368988037, -0.16091232001781464, -0.2109142690896988, -0.4774942100048065, 0.8897624611854553, 0.27875903248786926, 0.2748591899871826, -0.2017708122730255, -0.4677715301513672, -0.6644280552864075, -0.7188823819160461, -0.8120166063308716, 0.004443014040589333, 0.5457063317298889, 0.4573940336704254, 0.9997845888137817, 0.7275606989860535, 0.4893074333667755, 0.19237910211086273, -0.3100643455982208, 0.39220789074897766, -0.7887953519821167, 0.6088160872459412, 0.09151437133550644, -0.34833458065986633, -0.15213419497013092, -0.495903342962265, 0.7048014998435974, 0.7870140671730042, -0.7156903743743896, -0.20657312870025635, 0.16341909766197205, 0.6994711756706238, -0.7911480069160461, 0.039776477962732315, -0.9577891230583191, -0.07652468234300613, 0.052558545023202896, -0.346243292093277, -0.06169101595878601, -0.42190197110176086, -0.019577687606215477, -0.7720970511436462, 0.4607211649417877, 0.17211219668388367, 0.7994807362556458, 0.15031985938549042, -0.8251837491989136, -0.3026871979236603, -0.8373721837997437, 0.5503585338592529, -0.2987556755542755, 0.684998631477356, 0.12673541903495789, 0.5510660409927368, -0.14217261970043182, -0.8134261965751648, -0.3823070526123047, 0.10843627899885178, -0.0514487624168396, -0.026246173307299614, -0.14530012011528015, 0.15396855771541595, 0.025060076266527176, 0.515674889087677, -0.7048301100730896, -0.2060035914182663, -0.43725651502609253, -0.2726707458496094, 0.49438393115997314, 0.4265531599521637, 0.34792691469192505, 0.2923431396484375, -0.4022071659564972, -0.2434280514717102, -0.5871825218200684, 0.2595100998878479, 0.2450169324874878, 0.5723719000816345, 0.48140811920166016, 0.5862330794334412, -0.5952049493789673, 0.6889103651046753, 0.38598886132240295, 0.20821936428546906, -0.014121081680059433, -0.7902271151542664, 0.14636357128620148, 0.19410552084445953, 0.7420694828033447, 0.2890235185623169, -0.4397631585597992, -0.25778841972351074, -0.2680824100971222, -0.22045348584651947, 0.3619120717048645, -0.7991976737976074, -0.22508931159973145, 0.1885235607624054, -0.2923636734485626, 0.0008224874618463218, 0.16111864149570465, -0.6370792984962463, -0.15839257836341858, -0.4146987199783325, 0.42196694016456604, -0.3247069716453552, 0.0004982953541912138, 0.007040561642497778, -0.011870641261339188, 0.6061716079711914, 0.3443765640258789, -0.9684012532234192, 0.6113461852073669, 0.8873692154884338, 0.616026759147644, -0.1757032424211502, 0.3135623335838318, -0.7643733024597168, 0.14931295812129974, -0.3502417206764221, 0.6656731367111206, -1.0114573240280151, -0.44842734932899475, 0.03316962346434593, -0.1351408213376999, -0.23047223687171936, -0.7259670495986938, 0.6941399574279785, -1.0833866596221924, 0.24352878332138062, -0.37425026297569275, -0.2613857388496399, -0.12480290979146957, 0.4399929642677307, -0.67875736951828, 1.257174015045166, -0.08153738081455231, -0.5956708192825317, 0.24407929182052612, -0.39770159125328064, -0.33025357127189636, 0.1188385933637619, -0.23345312476158142, -0.27316269278526306, -0.3050765097141266, 0.40655478835105896, -0.13576793670654297, -0.2006477564573288, 0.29499173164367676, -0.16726583242416382, -0.6371216773986816, 0.18618257343769073, -0.1373293250799179, 0.5477568507194519, 0.3121853768825531, -0.017270402982831, 0.16154712438583374, -0.4171377420425415, 0.341137558221817, -0.0313548780977726, -0.35515111684799194, -0.46398431062698364, 0.050819750875234604, -0.127916619181633, 0.053825099021196365, 0.3776289224624634, -0.49786561727523804, 0.19242796301841736, -0.3739748001098633, 0.45606350898742676, 0.16603419184684753, 0.10075756162405014, 0.5569009184837341, -0.3725949227809906, 0.5212435126304626, 0.12671872973442078, 0.04143594205379486, -0.23344656825065613, -0.16234827041625977, -0.7692357301712036, -0.1361909657716751, 0.5218605399131775, 0.7134506702423096, -0.6120912432670593, 0.3747798204421997, -0.30460619926452637, -0.19188609719276428, -0.7532377243041992, 0.19338539242744446, 0.4453224539756775, 0.5516708493232727, 0.5954543352127075, -0.5442777276039124, -0.592923104763031, -0.7698158025741577, -0.22688844799995422, -0.1642606556415558, 0.004386717453598976, 0.6250417828559875, 0.03053073026239872, -0.13971003890037537, 0.8723878264427185, -0.5756444334983826, -0.3765159547328949, -0.027746083214879036, -0.027107803151011467, -0.0367572195827961, 0.6081354022026062, -0.08605732023715973, -1.2172123193740845, -0.33885490894317627, -0.13187409937381744, -0.23648397624492645, 0.11025370657444, 0.03117871843278408, -0.5204311013221741, -0.08102915436029434, 0.598111093044281, -0.4729665517807007, 0.42481523752212524, 0.07604574412107468, -0.20494526624679565, 0.3348630964756012, -0.031638775020837784, 0.5701349973678589, -0.8707339763641357, 0.14570771157741547, -0.17783568799495697, -0.21343204379081726, -0.5913029909133911, 0.05618421360850334, 0.04594632238149643, -0.20845074951648712, -0.10215124487876892, 0.4191860854625702, -0.4403056204319, 0.22124332189559937, -0.1527230143547058, 0.2956799864768982, 0.2544201612472534, 0.3989817202091217, -0.027962075546383858, 0.8992931842803955, 0.3213394582271576, -0.8135019540786743, 0.38144347071647644, 0.6704768538475037, -0.04759884998202324, 0.6583430767059326, -0.8912556767463684, 0.4541482627391815, -0.38587746024131775, 0.31546616554260254, -1.2823859453201294, -0.041408196091651917, 0.18433557450771332, -0.3881107568740845, 0.40357518196105957, -0.40381383895874023, -0.28067129850387573, -0.12790295481681824, -0.25462210178375244, 0.9312089085578918, 0.32903119921684265, -0.553475558757782, 0.633639395236969, 0.4248943626880646, -0.3567572832107544, -0.8050519824028015, -0.4877467155456543, 0.12459342181682587, -0.17624139785766602, -0.7207472324371338, 0.5344327092170715, -0.13347823917865753, -0.08852183818817139, -0.2038320153951645, -0.4536881446838379, -0.39214026927948, -0.1506148874759674, -0.20982778072357178, 0.17063622176647186, -0.3281860947608948, 0.08051086962223053, 0.07602094113826752, 0.24394558370113373, -0.35678377747535706, -0.21573005616664886, 0.6226270198822021, 0.018748236820101738, -0.41922229528427124, -0.4292232394218445, 0.4567420780658722, 0.007894572801887989, -0.444752961397171, 0.6374461054801941, 0.469412624835968, -0.09816093742847443, 0.24213331937789917, -0.7494673728942871, -0.3852404057979584, -0.4230077564716339, 0.2749616801738739, -0.37423989176750183, -1.1849520206451416, 0.33114758133888245, 0.1899598240852356, -0.0353865884244442, 0.21567294001579285, 0.3082898259162903, 0.057799115777015686, 1.5544319152832031, 0.49183762073516846, 0.2294083535671234, 0.5850660800933838, -0.059610530734062195, 0.1890910267829895, -1.1108367443084717, -0.5748931765556335, -0.6810100674629211, -0.2100500464439392, -0.43091925978660583, -0.3797799050807953, 0.34196728467941284, 0.19878308475017548, -0.27245643734931946, 0.16312791407108307, -0.6302125453948975, 0.35788494348526, 0.43405675888061523, 0.2940411865711212, 0.47245436906814575, 0.06105891242623329, -0.23438045382499695, -0.21507389843463898, -0.6464460492134094, -0.46012693643569946, 0.9776151776313782, -0.08063773065805435, 0.750740647315979, 0.40174975991249084, 0.42937424778938293, 0.12697957456111908, -0.20684818923473358, -0.9151902198791504, 0.387879878282547, 0.03155452013015747, -0.7457775473594666, -0.2870326042175293, -0.7049106955528259, -1.2565101385116577, 0.7054691910743713, -0.10187423974275589, -0.7201659679412842, 0.48889395594596863, 0.2129056751728058, -0.40433019399642944, -0.1668637990951538, -0.48320403695106506, 0.8911406993865967, -0.3630988895893097, -0.24967998266220093, -0.10259347409009933, -0.7658535242080688, 0.2298658937215805, 0.07928341627120972, 0.10510934889316559, -0.11404488980770111, -0.37603452801704407, 0.45876726508140564, -0.298056036233902, 0.43367671966552734, -0.13623782992362976, 0.23741385340690613, 0.20764625072479248, 0.23472224175930023, 0.39326295256614685, 0.10599535703659058, -0.08960273116827011, -0.270176500082016, 0.5281504392623901, -0.540467381477356, -0.8581334352493286, 0.5106415152549744, -0.37278786301612854, -0.8244012594223022, -0.2609107792377472, -0.5942752957344055, -0.3434625566005707, 0.2842618525028229, -0.06611853092908859, 0.6786165237426758, -0.8011312484741211, 0.4639561176300049, 0.8746500015258789, 0.16851875185966492, -0.21578878164291382, 0.5830937623977661, -0.060955338180065155, -0.4405459761619568, 0.6051576137542725, -0.23206588625907898, 0.05670388415455818, 0.733120858669281, -0.19051581621170044, -0.5367938280105591, -0.5446247458457947, -0.27562111616134644, 0.008876754902303219, -0.43395131826400757, -0.3091907501220703, -0.8435386419296265, -0.15467974543571472, -0.7469490170478821, 0.28193557262420654, -0.12434062361717224, -0.5586005449295044, -0.2401704639196396, 0.34834128618240356, -0.06116341054439545, 0.23188847303390503, 0.13088726997375488, 0.3140874207019806, -0.6656360626220703, 0.3353997468948364, 0.4232928156852722, 0.08851779252290726, -0.18465344607830048, -0.7320154309272766, -0.06419443339109421, 0.3959004282951355, -0.4887256324291229, -0.5372017025947571, 0.34261053800582886, 0.6251290440559387, 0.5984249114990234, 0.2629000246524811, 0.3127184808254242, 0.9166461229324341, -0.4027632772922516, 0.5122069120407104, 0.06702589243650436, -0.5310722589492798, 0.5410899519920349, -0.18164986371994019, 0.38536974787712097, 1.0288820266723633, 0.399727463722229, -0.8141825795173645, -0.12681075930595398, -0.34567537903785706, -1.241576910018921, 0.6776153445243835, 0.24423520267009735, 0.274526447057724, 0.1347796469926834, 0.4029422700405121, -0.14181673526763916, 0.2552257478237152, 0.03995855897665024, -0.19527339935302734, -0.27666446566581726, -0.4709091782569885, 0.24086280167102814, -0.28982269763946533, -0.49270543456077576, -0.13018211722373962, 0.6441048383712769, -0.259666383266449, 0.2270803451538086, 0.3834567666053772, -0.12149182707071304, 0.06826779991388321, 0.4904336631298065, 0.003108910284936428, 0.3377678096294403, -0.17638559639453888, -0.12099761515855789, -0.018297947943210602, -0.47502097487449646, 0.07534152269363403, 0.6292873620986938, -0.3936010003089905, -0.3000468313694, -0.37202468514442444, 0.7217653393745422, 0.34011030197143555, -0.7823821902275085, 0.5636451840400696, -0.6567699909210205, -0.07255631685256958, -0.17067186534404755, 0.30117911100387573, -0.060782212764024734, 0.2709288001060486, 0.6360324025154114, -0.1933879554271698, 0.7302736043930054, -0.5611971020698547, 0.2661852538585663, 0.8092161417007446, -0.7421978116035461, -0.04596159979701042, 0.8520128726959229, -0.035631198436021805, -0.12460283190011978, 0.765928328037262, -0.06043751537799835, -0.3487050235271454, 0.36012306809425354, 0.5026607513427734, 0.5203063488006592, -0.15408268570899963, 0.111978679895401, 0.4315909147262573, -0.15737716853618622, -0.20833943784236908, 0.22676615417003632, -0.5032082796096802, -0.739297091960907, -0.07936079800128937, -0.5031290054321289, -0.41559550166130066, -0.2630097270011902, -0.9628299474716187, 0.2146633416414261, -0.21033984422683716, -0.11702044308185577, -0.06613340228796005, 0.08942830562591553, -0.4435864984989166, 0.037007302045822144, -0.008682917803525925, 0.6728035807609558, -0.04560358449816704, 0.6260155439376831, 0.9420495629310608, -0.3700830042362213, -0.7956739068031311, 0.033235110342502594, 0.17378084361553192, -0.6446278691291809, 0.33556029200553894, 0.10826437920331955, -0.14895235002040863, 0.15028899908065796, -0.5439035892486572, -1.0749237537384033, 1.2702281475067139, 0.2728687822818756, -0.5930581092834473, -0.3638514280319214, -0.10095420479774475, 0.4898071885108948, -0.5378863215446472, 0.2973697781562805, 0.6219797730445862, 0.04339258000254631, 0.7792412042617798, -0.8758900761604309, 0.1435304880142212, -0.23642240464687347, 0.2539529800415039, 0.348909854888916, -0.7018835544586182, 0.28485769033432007, -0.14342457056045532, -0.6241007447242737, 0.49310988187789917, 0.7297188639640808, 0.37299758195877075, 0.3430574834346771, 0.4265722632408142, 0.5573451519012451, 0.942556619644165, -0.2831317186355591, 0.6838861703872681, -0.35379788279533386, 0.1815139204263687, 1.0085959434509277, -0.2196367233991623, 0.7706173062324524, 0.15039129555225372, -0.07998606562614441, 0.5108590126037598, 0.5150351524353027, 0.18253028392791748, 0.5869779586791992, -0.04793683812022209, -0.40279462933540344, -0.3305067718029022, -0.2498709112405777, -0.30975577235221863, 0.42007142305374146, 0.5203058123588562, 0.10098814964294434, -0.10839619487524033, -0.40429070591926575, 0.024986213073134422, 0.2196255475282669, -0.209562286734581, 1.1120775938034058, -0.07378414273262024, -0.6395294070243835, 0.796050488948822, -0.1473267376422882, 0.6818659901618958, -0.5128735303878784, -0.06283554434776306, -0.34629499912261963, 0.1438262164592743, -0.18313297629356384, -0.43388137221336365, 0.20555546879768372, -0.42313599586486816, -0.041744425892829895, 0.12177573889493942, 0.6709228754043579, -0.8809396624565125, -0.19696758687496185, -0.020841076970100403, 0.4106990694999695, 0.0822448804974556, -0.13085715472698212, -1.0586309432983398, -0.016426177695393562, 0.019960712641477585, 0.0869150385260582, 0.3152261972427368, 0.4987541735172272, 0.1343880295753479, 0.5188068747520447, 0.5005816221237183, -0.21236692368984222, 0.031748633831739426, 0.050288621336221695, 0.9402046799659729, -0.8049389719963074, -0.3150406777858734, -0.1868375837802887, 0.24924644827842712, -0.034187521785497665, -0.13306865096092224, 0.49474191665649414, 0.9494855999946594, 0.726080060005188, 0.6050524115562439, 0.4992380738258362, -0.10001224279403687, 0.6848759055137634, -0.5006499290466309, 0.28456273674964905, -0.5601848363876343, 0.5387763381004333, 0.09755217283964157, -1.0766475200653076, -0.22756832838058472, 0.1651884913444519, -0.1702161431312561, 0.21230413019657135, 0.45877331495285034, 1.2871512174606323, -0.176451176404953, 0.019431542605161667, 0.06558912247419357, 0.049246206879615784, 0.21546094119548798, 0.43240317702293396, 0.8624473810195923, -0.6151171922683716, 1.2109196186065674, 0.06881079822778702, -0.1057521402835846, -0.32882729172706604, -0.24807403981685638, -0.41863560676574707, -0.5973700284957886, -0.3062666952610016, -0.46793878078460693, 0.46714112162590027, 0.7273526787757874, 0.8099299669265747, -0.9517028331756592, -0.14792586863040924, 0.17698527872562408, -0.00939992256462574, -0.14320658147335052, -0.27085983753204346, 0.1837754249572754, -0.6250861287117004, -0.6602643132209778, 0.5497928857803345, 0.016039511188864708, -0.09803207963705063, 0.03735446184873581, -0.030407976359128952, -0.32719236612319946, 0.02993939258158207, 0.23767922818660736, 0.6371680498123169, -0.462936133146286, -0.002530870493501425, 0.16400809586048126, -0.42266660928726196, 0.5652891993522644, 1.037209391593933, -0.9287068247795105, 0.4906793236732483, 0.447864830493927, 0.6604950428009033, 0.6794931888580322, 0.7826946973800659, 0.7652917504310608, -0.6458624005317688, -0.030166903510689735, 0.5502428412437439, -0.049532726407051086, 0.6320154666900635, -0.544025182723999, 0.3442031443119049, -0.025506552308797836, -0.8034060597419739, -0.6658427715301514, 0.25304317474365234, -1.0836577415466309, -0.1507619023323059, 1.161717176437378, 0.27898696064949036, -0.028073089197278023, -0.46534979343414307, -0.414279967546463, 0.17763949930667877, -0.9025559425354004, 0.5886247754096985, 0.19200235605239868, -0.36515262722969055, -0.05735637620091438, -0.4603149890899658, 0.26494044065475464, 0.47854292392730713, -0.2150808572769165, -0.04861512780189514, 0.8185588121414185, 0.32197144627571106, -0.1555144339799881, 0.7296234965324402, -0.4973941445350647, 0.25991103053092957, -0.2565312087535858, -0.0359991192817688, 0.31518712639808655, -0.060902584344148636, -0.4058385491371155, 0.25096479058265686, 0.21443481743335724, 0.032410744577646255 ]
http://arxiv.org/abs/2407.01964v2
http://arxiv.org/pdf/2407.01964v2
Enabling Discriminative Reasoning in LLMs for Legal Judgment Prediction
2024-07-02T05:43:15
2024-07-03T02:25:23
Chenlong Deng, Kelong Mao, Yuyao Zhang, Zhicheng Dou
cs.CL
cs.CL
Legal judgment prediction is essential for enhancing judicial efficiency. In this work, we identify that existing large language models (LLMs) underperform in this domain due to challenges in understanding case complexities and distinguishing between similar charges. To adapt LLMs for effective legal judgment prediction, we introduce the Ask-Discriminate-Predict (ADAPT) reasoning framework inspired by human judicial reasoning. ADAPT involves decomposing case facts, discriminating among potential charges, and predicting the final judgment. We further enhance LLMs through fine-tuning with multi-task synthetic trajectories to improve legal judgment prediction accuracy and efficiency under our ADAPT framework. Extensive experiments conducted on two widely-used datasets demonstrate the superior performance of our framework in legal judgment prediction, particularly when dealing with complex and confusing charges.
[ -0.15845245122909546, -0.5919941067695618, 1.0542641878128052, 0.18707908689975739, -0.3716583549976349, 0.07493699342012405, -0.19485940039157867, -0.7089329361915588, -0.02531149424612522, 0.78830885887146, -0.40070775151252747, -0.4600927233695984, -0.42295363545417786, -0.18676036596298218, -0.21878360211849213, 0.6828274130821228, 0.26249709725379944, 0.3253256380558014, -0.18117214739322662, -0.20843301713466644, -0.7808128595352173, -0.5492144227027893, -0.6236719489097595, -0.34381553530693054, 0.2187604010105133, 0.3915759027004242, 0.4156562089920044, 0.3486902415752411, 0.46389147639274597, 0.30026790499687195, -0.05936961993575096, 0.3255908787250519, -0.2700890302658081, 0.17709946632385254, -0.49312180280685425, -0.8902895450592041, -0.4856756031513214, -0.33694398403167725, 0.09785812348127365, 0.5918801426887512, -0.6254986524581909, -0.107208751142025, -0.4143270254135132, 0.7613020539283752, -0.768268346786499, 0.10074172168970108, -0.9658886194229126, 0.15927952527999878, 0.0031303404830396175, -0.26626574993133545, -0.6797332167625427, -0.369867205619812, 0.05074667930603027, -0.7799558639526367, 0.3863639831542969, 0.43689432740211487, 0.15903371572494507, 0.3715001046657562, -0.5330303311347961, -0.28476858139038086, -0.9492132067680359, 0.36437588930130005, -0.6897158026695251, 0.3876117765903473, 0.3001135587692261, 0.7065456509590149, -0.41840335726737976, -0.7678425312042236, -0.5570388436317444, -0.519625186920166, -0.01049606129527092, 0.3032331168651581, -0.23948034644126892, 0.3644280731678009, 0.4238229990005493, -0.13315346837043762, -0.6321016550064087, 0.34685349464416504, -0.3310944736003876, -0.07163983583450317, 0.8981901407241821, 0.2851388454437256, 0.02254924364387989, 0.08489019423723221, -0.20660963654518127, 0.2306479811668396, -0.6088899374008179, 0.12253108620643616, 0.27361270785331726, 0.407439261674881, 0.040752582252025604, 0.4152037799358368, -0.20255574584007263, 0.6990894675254822, 0.4929957091808319, 0.039143677800893784, 0.22127972543239594, -0.011524912901222706, -0.23866333067417145, 0.4565734565258026, 0.4822499454021454, 0.576465368270874, 0.33336183428764343, 0.07150458544492722, -0.2596314549446106, -0.012020028196275234, 0.49031445384025574, -0.6602029800415039, -0.17220811545848846, 0.3510786294937134, -0.570533037185669, -0.0694439560174942, 0.08473777025938034, -0.8436475396156311, -1.0892099142074585, -0.5094530582427979, 0.03705239295959473, -0.3358041048049927, -0.23430436849594116, 0.7565100193023682, -0.13696934282779694, -0.1891285479068756, 0.9592782855033875, -0.6250131130218506, 0.30061256885528564, 0.6377769708633423, 0.42255479097366333, -0.12864811718463898, 0.03533810004591942, -0.6966235637664795, 0.2730245292186737, -0.2938353419303894, 0.9491046667098999, -0.6695878505706787, -0.29957565665245056, 0.24771809577941895, 0.07456953078508377, 0.05329488217830658, -0.7810637950897217, 1.2010151147842407, -0.409748911857605, -0.23685795068740845, -0.23120389878749847, -0.5462342500686646, -0.44025087356567383, 0.16527709364891052, -0.7875154614448547, 0.4276914596557617, 0.0787760317325592, -0.5995435118675232, 1.0030608177185059, -0.8710548281669617, -0.6826099753379822, 0.5721333026885986, 0.02307152934372425, -0.4106859266757965, 0.2724967896938324, 0.27255624532699585, 0.4425382912158966, -0.2957073450088501, 0.5570178031921387, -0.6128323078155518, -0.3470678925514221, 0.18703597784042358, -0.19009776413440704, 0.6420585513114929, 0.41280290484428406, -0.22030137479305267, 0.3563762903213501, -0.8630069494247437, -0.429293155670166, 0.048936303704977036, -0.36452433466911316, -0.34082862734794617, 0.41477301716804504, -0.3311533033847809, 0.2523539364337921, 0.008955923840403557, -0.6409004330635071, 0.07652115076780319, -0.43372833728790283, 0.30261948704719543, 0.9134311079978943, -0.10003486275672913, 0.4976811110973358, -0.42421600222587585, 0.7699031829833984, 0.22170013189315796, 0.013000347651541233, 0.34095731377601624, -0.25702184438705444, -0.5510229468345642, -0.03692254424095154, 0.0217001810669899, 0.7049570679664612, -0.6515474319458008, 0.13208633661270142, -0.47141551971435547, -0.49540650844573975, -0.3488669693470001, -0.04878702014684677, 0.12338757514953613, 0.1493011862039566, 0.31270310282707214, 0.0864860787987709, -1.0175944566726685, -0.6035878658294678, -0.6501513123512268, -0.5020487308502197, 0.13574710488319397, 0.4269742965698242, 0.474328875541687, -0.025326747447252274, 0.7745981216430664, -0.23753418028354645, -0.10105817764997482, -0.38990518450737, -0.006529228296130896, 0.4463938772678375, 0.19389204680919647, 0.565998375415802, -1.0352437496185303, -0.27677708864212036, 0.16283346712589264, -0.5343784689903259, -0.07736330479383469, -0.44014567136764526, -0.10466006398200989, -0.0697178840637207, 0.5727640986442566, -0.5833311080932617, 0.2983340620994568, -0.033769261091947556, -0.855603039264679, 0.7340713143348694, -0.42190587520599365, 0.16237913072109222, -0.592334508895874, -0.3794684112071991, 0.2835758924484253, -0.3466254472732544, -0.6588095426559448, -0.04454457387328148, 0.20322561264038086, 0.3856995403766632, -0.48978564143180847, 0.47678497433662415, -0.09182989597320557, -0.20834055542945862, -0.2106369137763977, 0.03343576565384865, -0.15762285888195038, 0.2620985805988312, -0.07639044523239136, 0.7966555953025818, 0.2178937941789627, -0.7431874871253967, 0.5332874059677124, 0.09360045939683914, -0.6920099854469299, 0.8065273761749268, -0.4808183014392853, -0.17017120122909546, -0.2574830651283264, 0.2830106019973755, -0.5704883933067322, -0.1352396458387375, -0.03720280900597572, -0.0800604298710823, 0.2072426676750183, -0.23531809449195862, -0.5833004117012024, -0.6372207999229431, -0.1618184596300125, 0.43023473024368286, 0.25525370240211487, -0.7375476956367493, 1.1256442070007324, 0.37228289246559143, -0.0019602214451879263, -0.5106332898139954, -0.5823862552642822, 0.040399011224508286, -0.6080442070960999, -0.27053311467170715, 0.5393149256706238, -0.12440510094165802, -0.5363947153091431, -0.27832382917404175, 0.21202106773853302, 0.18083390593528748, 0.38245880603790283, 0.44659510254859924, 0.23864112794399261, -0.09179887175559998, 0.32121992111206055, 0.3104022145271301, 0.4029460847377777, 0.4789230525493622, -0.273477703332901, 0.40767642855644226, 0.06347479671239853, -0.49410393834114075, -0.10449007153511047, 0.05907243862748146, 0.6609928607940674, -0.15237291157245636, 0.11481273919343948, 0.013104758225381374, -0.3085760474205017, -0.4220094382762909, -0.7514558434486389, 0.25230827927589417, -0.502799928188324, 0.6083964705467224, -0.5553283095359802, -1.0600956678390503, 0.48138102889060974, -0.22035914659500122, 0.028750600293278694, 0.3397899568080902, 0.9128212332725525, 0.01736641302704811, 1.1099865436553955, 0.3382868468761444, 0.1351773589849472, 0.43348026275634766, 0.3202458620071411, 0.1932401806116104, -0.6435178518295288, -0.3467477560043335, -0.37300407886505127, -0.03584868460893631, -0.6424726247787476, -0.278167188167572, 0.12717238068580627, 0.051031529903411865, -0.3517201542854309, 0.3322780430316925, -0.34447458386421204, 0.303181916475296, 0.4841386675834656, 0.254969984292984, 0.3198600113391876, -0.1417129635810852, -0.21006527543067932, 0.27701953053474426, -0.3840060234069824, -0.2695758044719696, 1.2742400169372559, 0.24653981626033783, 0.6391341686248779, 0.32571208477020264, 0.36038827896118164, 0.654225766658783, 0.06854786723852158, -0.7636874914169312, 0.6806238293647766, -0.5178695321083069, -0.6100634932518005, 0.01603359915316105, -0.37898704409599304, -0.8841037750244141, 0.44089949131011963, -0.3556267023086548, -0.6801653504371643, 0.32646024227142334, 0.02413300797343254, -0.6926243901252747, 0.13565593957901, -0.51801598072052, 0.47092679142951965, -0.31320416927337646, -0.3276604115962982, -0.5343298316001892, -0.29386600852012634, 0.4557206332683563, -0.1765580028295517, 0.5913288593292236, -0.3463485836982727, 0.2852312922477722, 0.7032655477523804, -0.267456978559494, 0.6814863681793213, -0.4523420035839081, -0.11784566193819046, 0.37569311261177063, 0.30872300267219543, 0.3970448672771454, 0.06067522615194321, -0.35789892077445984, -0.3850373327732086, -0.006145871710032225, 0.00782303512096405, -0.8235248327255249, 0.4554279148578644, -0.26969245076179504, -0.90826815366745, -0.24843649566173553, -0.8615780472755432, -0.2468881607055664, -0.03261679410934448, -0.13449621200561523, -0.03467932716012001, -0.16122032701969147, -0.28131839632987976, 0.32362836599349976, -0.07756821066141129, 0.23823994398117065, 0.803826093673706, -0.24850326776504517, -0.3098405599594116, 0.6821126937866211, -0.07257304340600967, -0.015737516805529594, 0.23669472336769104, 0.31068241596221924, -0.5385315418243408, -0.8725412487983704, -0.38174888491630554, 0.0753457173705101, -0.9902887344360352, -0.31485578417778015, -0.5230811834335327, 0.18498854339122772, -0.5519519448280334, 0.005321447271853685, 0.14240306615829468, -0.5365833044052124, -0.1167280450463295, -0.3833424746990204, 0.562274694442749, 0.5657764077186584, 0.08428916335105896, 0.1442510485649109, -0.601323664188385, 0.3503619432449341, 0.3111383318901062, 0.27548378705978394, -0.3629299998283386, -0.9403378963470459, 0.035876963287591934, -0.057308923453092575, -0.12783220410346985, -0.23210345208644867, 0.2540535628795624, 0.18673516809940338, 0.6865614056587219, 0.35586369037628174, 0.34898361563682556, 0.78012615442276, -0.7346105575561523, 0.537559449672699, 0.32034432888031006, -0.5469459891319275, 0.7093830704689026, -0.09291631728410721, -0.04030049219727516, 0.4783908724784851, -0.04180034622550011, -0.07138259708881378, -0.24283471703529358, -0.23762013018131256, -0.5610336661338806, 0.7073062062263489, -0.15016311407089233, 0.15108123421669006, 0.10691297799348831, 0.5376525521278381, 0.2530417740345001, 0.03993188962340355, -0.43525999784469604, 0.14374904334545135, -0.08124463260173798, -0.32887694239616394, 0.04356081783771515, -0.24531130492687225, 0.00911204144358635, -0.6582902669906616, 0.4232446849346161, -0.23001287877559662, 0.18899482488632202, -0.020335564389824867, -0.1366872489452362, -0.10965944081544876, 0.348206490278244, 0.7763567566871643, 0.6810537576675415, -0.17699609696865082, -0.025816679000854492, 0.4986342191696167, -0.43065765500068665, 0.20120002329349518, 0.1512487828731537, 0.05499007925391197, -0.05645444616675377, 0.261161208152771, 1.064765214920044, -0.150221049785614, -1.015690803527832, 0.4531896710395813, -0.3262684941291809, -0.5538660883903503, -0.698357343673706, 0.24479255080223083, 0.06513816863298416, 0.6906682252883911, 0.21831659972667694, 0.1473829597234726, 0.429929256439209, -0.5472092032432556, 0.10094301402568817, 0.39161595702171326, -0.24430051445960999, -0.01224831584841013, 0.8226431012153625, 0.12160567939281464, -0.21781641244888306, 0.15189363062381744, -0.3318215310573578, -0.6760262846946716, 0.6181586384773254, 0.6625756621360779, 0.7041795253753662, -0.19439950585365295, 0.0007304353057406843, 0.4212858974933624, -0.0982106477022171, -0.44888123869895935, 0.39377012848854065, 0.0648680031299591, -0.884586751461029, -0.4486008882522583, -0.7314481735229492, -0.21946567296981812, -0.2939056158065796, -0.5513678193092346, 0.3701331317424774, -0.776206910610199, -0.2380746752023697, 0.04576658084988594, -0.17372293770313263, -0.5195481181144714, 0.2982291579246521, 0.2711494266986847, 0.9187110662460327, -0.5800856947898865, 0.8373014330863953, 0.5886600017547607, -0.18573355674743652, -0.48318517208099365, -0.2279418557882309, -0.07006974518299103, -0.7188961505889893, 0.889756441116333, 0.24962009489536285, -0.34031379222869873, -0.3184780180454254, -0.3883843421936035, -0.39832964539527893, 0.9909681081771851, 0.6917431354522705, -0.9915750622749329, -0.19787797331809998, 0.08292580395936966, 0.39434659481048584, -0.5538453459739685, -0.006554566789418459, 1.0514185428619385, 0.37485453486442566, 0.3057807683944702, -0.7692546844482422, 0.3407333791255951, -0.12272894382476807, 0.06882745027542114, 0.1746223419904709, 0.06879505515098572, 0.6823925375938416, -0.5242376923561096, -0.1045147106051445, -0.006004711613059044, 0.6321613788604736, 0.5608610510826111, 0.5365676283836365, 0.8552493453025818, 0.64382404088974, 0.9813757538795471, -0.19914127886295319, 1.0951288938522339, -0.18626262247562408, 0.15743762254714966, 1.443649172782898, -0.6381807923316956, 0.674364447593689, 0.38029786944389343, -0.4270244836807251, 0.7957712411880493, 0.38493040204048157, -0.340511292219162, 0.46589308977127075, 0.4045311212539673, -0.3936425447463989, -0.6902967095375061, -0.3625272512435913, 0.1316775679588318, 0.590888261795044, 0.6139689087867737, -0.3945671319961548, 0.06992476433515549, 0.08168677240610123, -0.3401021957397461, 0.45048996806144714, -0.6681551933288574, 0.898952305316925, -0.03682892024517059, -0.7186133861541748, 0.31140008568763733, 0.10297440737485886, 0.6483784317970276, -0.16594594717025757, -0.2821444272994995, 0.15706908702850342, 0.4164828956127167, -0.39245834946632385, -1.0567203760147095, 0.019598526880145073, -0.15537762641906738, -0.2665694057941437, 0.08764605224132538, 0.783399224281311, -0.051275208592414856, -0.6280069947242737, 0.6452621221542358, 0.14964699745178223, -0.12017618864774704, -0.14559629559516907, -0.8495749831199646, -0.3065597414970398, 0.007006950676441193, 0.0678567960858345, 0.2861233651638031, 0.641758143901825, -0.3145654499530792, 0.8800580501556396, 0.6711072325706482, 0.3115626573562622, 0.06997224688529968, 0.5582876801490784, 0.8603506088256836, -0.6255276799201965, -0.5044599175453186, -0.9012739062309265, 0.5773437023162842, -0.18850816786289215, -0.10281937569379807, 0.15822206437587738, 0.4536909759044647, 0.7636444568634033, 0.04490819573402405, 0.7663366198539734, 0.21061448752880096, 0.782640278339386, -0.8402484655380249, 0.4782944619655609, -0.4794412851333618, 0.36973801255226135, -0.06941424310207367, -0.5624080300331116, -0.293828547000885, 0.5941588878631592, -0.47625207901000977, 0.04428372159600258, 0.44261521100997925, 0.6596912741661072, -0.10016994178295135, 0.0900283083319664, 0.5257863998413086, 0.06991956382989883, 0.4956059157848358, 0.7586769461631775, 0.7755061984062195, -0.02620157040655613, 0.5760328769683838, -0.17725150287151337, 0.1881839632987976, -0.524753987789154, -0.7488729357719421, -0.7978387475013733, -0.22241009771823883, -0.1281166672706604, -0.30945613980293274, 0.061904214322566986, 0.9174910187721252, 0.6100771427154541, -0.9231423735618591, -0.23191146552562714, -0.6181036829948425, -0.22433950006961823, -0.06091015040874481, -0.2276676744222641, 0.16177310049533844, -0.32192370295524597, -0.47246867418289185, 0.39362069964408875, 0.14097453653812408, -0.07061424851417542, 0.22066758573055267, -0.36585232615470886, -0.2004866749048233, -0.023589344695210457, 0.7968074679374695, -0.06720424443483353, -1.0406553745269775, -0.3848322629928589, -0.46686026453971863, 0.14385002851486206, 0.1377135068178177, 1.0066832304000854, -0.6926201581954956, 0.5965272188186646, 0.112523153424263, 0.6637099981307983, 0.5035904049873352, 0.1926133632659912, 0.7340686321258545, -0.2965621054172516, 0.18952153623104095, 0.6113108992576599, 0.8983917236328125, 0.11551684886217117, -0.49733829498291016, 0.4610048234462738, -0.02093343250453472, -0.46864384412765503, -0.5427393913269043, 0.4758581817150116, -0.8724365234375, -0.6124725937843323, 1.019385814666748, -0.4552522897720337, -0.01298829261213541, -0.3427838981151581, -0.3297507166862488, 0.12420050799846649, -0.5196125507354736, 0.7371309399604797, 0.5189180374145508, -0.08941635489463806, -0.4434097111225128, -0.6960470080375671, 0.36739253997802734, 0.5529282093048096, -0.8687387704849243, 0.36136749386787415, 0.7647771835327148, 0.17404909431934357, 0.10164488106966019, 0.2285320907831192, -0.05395391955971718, 0.6104971170425415, -0.27727210521698, -0.07411183416843414, -0.058674540370702744, -0.11706846207380295, -0.45735299587249756, 0.12212681025266647, 0.2742880880832672, 0.07659886032342911 ]
http://arxiv.org/abs/2407.01955v1
http://arxiv.org/pdf/2407.01955v1
S2D: Sorted Speculative Decoding For More Efficient Deployment of Nested Large Language Models
2024-07-02T05:14:15
2024-07-02T05:14:15
Parsa Kavehzadeh, Mohammadreza Pourreza, Mojtaba Valipour, Tinashu Zhu, Haoli Bai, Ali Ghodsi, Boxing Chen, Mehdi Rezagholizadeh
cs.CL
cs.CL
Deployment of autoregressive large language models (LLMs) is costly, and as these models increase in size, the associated costs will become even more considerable. Consequently, different methods have been proposed to accelerate the token generation process and reduce costs. Speculative decoding (SD) is among the most promising approaches to speed up the LLM decoding process by verifying multiple tokens in parallel and using an auxiliary smaller draft model to generate the possible tokens. In SD, usually, one draft model is used to serve a specific target model; however, in practice, LLMs are diverse, and we might need to deal with many target models or more than one target model simultaneously. In this scenario, it is not clear which draft model should be used for which target model, and searching among different draft models or training customized draft models can further increase deployment costs. In this paper, we first introduce a novel multi-target scenario for the deployment of draft models for faster inference. Then, we present a novel, more efficient sorted speculative decoding mechanism that outperforms regular baselines in multi-target settings. We evaluated our method on Spec-Bench in different settings, including base models such as Vicuna 7B, 13B, and LLama Chat 70B. Our results suggest that our draft models perform better than baselines for multiple target models at the same time.
[ -0.11695541441440582, -0.5160360932350159, 0.5571261048316956, 0.5577836632728577, -0.5224238634109497, 0.3354877531528473, -0.1464879959821701, -0.5074278712272644, 0.09727974236011505, 0.6360504031181335, -0.5293903946876526, -0.524304211139679, -0.7355433106422424, -0.010546543635427952, -0.49674564599990845, 0.6718013286590576, 0.025938808917999268, -0.06050070375204086, -0.12174206972122192, 0.11968822032213211, -0.17181970179080963, -0.5184025764465332, -0.8423049449920654, 0.035675548017024994, 0.3619901239871979, 0.5580779910087585, 0.4991134703159332, 1.018568992614746, 0.5167646408081055, 0.32320699095726013, -0.2968864142894745, 0.47159579396247864, -0.6071003079414368, 0.37840351462364197, 0.11106783151626587, -0.8500970602035522, -0.4339483380317688, -0.2112579345703125, 0.6852741837501526, 0.4265824854373932, -0.2236853986978531, 0.15317629277706146, -0.36888134479522705, 0.357999712228775, -0.7606448531150818, 0.00017888729053083807, -0.7544767260551453, -0.16745691001415253, -0.37986865639686584, -0.21512822806835175, -0.7048462629318237, -0.17083846032619476, -0.3596374988555908, -0.35969486832618713, 0.40923887491226196, 0.16364996135234833, 0.5018491744995117, 0.27517035603523254, -0.712694525718689, -0.20532788336277008, -0.7220348119735718, 0.7199243903160095, -0.7058436870574951, 0.5346277952194214, 0.21835462749004364, 0.22065860033035278, -0.2407950460910797, -0.8244411945343018, -0.4571059048175812, -0.022689059376716614, 0.0934566855430603, 0.07617324590682983, -0.007039468735456467, -0.07779186218976974, 0.35950371623039246, 0.2533152103424072, -0.748215913772583, 0.7357006072998047, -0.2689761817455292, -0.23092257976531982, 0.568750262260437, 0.3320150077342987, -0.17769776284694672, -0.23134687542915344, -0.4264184832572937, -0.1046341061592102, -0.6622687578201294, -0.15918193757534027, 0.6950913667678833, 0.3304736018180847, -0.21448542177677155, 0.6047645211219788, -0.4939936399459839, 0.4667487144470215, 0.2991589903831482, -0.24026145040988922, 0.09368441998958588, -0.6147377490997314, 0.12094823271036148, -0.18543243408203125, 0.4772900640964508, 0.4406163692474365, -0.3681139051914215, -0.16454489529132843, -0.309990257024765, 0.3564399480819702, 0.2702675759792328, -0.8930399417877197, -0.00653529167175293, 0.470318078994751, -0.7154727578163147, -0.5056307911872864, -0.4804067015647888, -0.6236268877983093, -0.31197455525398254, 0.09951739013195038, -0.24899818003177643, -0.30205151438713074, -0.5039448738098145, 0.3668522238731384, -0.27479544281959534, 0.07026214152574539, 0.23990817368030548, -1.2390114068984985, 0.183030903339386, 0.8702670931816101, 0.7267211675643921, -0.3280404210090637, -0.2766057848930359, -0.4261645972728729, 0.15984240174293518, -0.6289798021316528, 1.1770005226135254, -0.3830219507217407, -0.39447325468063354, -0.08661054819822311, -0.38063323497772217, 0.000007879773875174578, -0.39212149381637573, 0.8655256628990173, -0.8281697034835815, -0.09888725727796555, -0.35727086663246155, -0.6112712621688843, 0.14382226765155792, 0.1329944133758545, -0.5048673152923584, 1.2406301498413086, 0.14185068011283875, -0.8625475168228149, 0.5124963521957397, -0.17656569182872772, -0.4153074324131012, 0.17697511613368988, -0.15334253013134003, -0.14089766144752502, 0.24790066480636597, 0.30739468336105347, 0.6827569603919983, -0.5761643052101135, 0.20325174927711487, -0.36642658710479736, -0.5660288333892822, -0.2957347631454468, -0.4392751157283783, 0.6370904445648193, 0.6690593361854553, -0.20456087589263916, 0.11561423540115356, -0.63894122838974, -0.00027531167143024504, 0.27056846022605896, -0.3282169699668884, -0.31790658831596375, 0.2442423403263092, 0.13743391633033752, 0.12320385128259659, 0.2289290875196457, -0.38820508122444153, 0.5160900354385376, -0.40648823976516724, 0.3598325550556183, 0.519280731678009, -0.0665234625339508, 0.6042481660842896, -0.09035052359104156, 0.4689658284187317, 0.1927971988916397, 0.21088078618049622, -0.27343904972076416, -0.363389253616333, -0.6415910720825195, -0.45594459772109985, 0.013837205246090889, 0.3585912883281708, -0.8617398738861084, 0.3853376507759094, -0.2959045171737671, -0.6931101679801941, -0.44918176531791687, -0.02672295831143856, 0.26783788204193115, 0.10776188224554062, 0.11152295768260956, 0.024988949298858643, -0.6428601741790771, -0.8756042122840881, -0.16180646419525146, -0.3844505846500397, 0.22356915473937988, 0.11351468414068222, 0.17325833439826965, -0.49576336145401, 0.5314309597015381, -0.5221170783042908, 0.24078692495822906, -0.4528459906578064, 0.138001948595047, 0.14565420150756836, 0.42206692695617676, 0.7557445764541626, -0.6113254427909851, -0.3115403354167938, -0.2019866406917572, -0.5691810250282288, 0.041335705667734146, -0.17890286445617676, -0.2271769642829895, 0.3857666254043579, 0.7813027501106262, -0.827403724193573, 0.20026272535324097, 0.7367638945579529, -0.2851807177066803, 0.6913884282112122, -0.33031728863716125, 0.23591144382953644, -1.2180242538452148, -0.18358013033866882, -0.4127941131591797, 0.09354794770479202, -0.6122967004776001, 0.5434941649436951, 0.3494435250759125, 0.09815051406621933, -0.31233295798301697, 0.3731541037559509, -0.52228844165802, -0.24188360571861267, -0.3666006028652191, -0.224919393658638, -0.0025130051653832197, 0.1083831638097763, 0.12375306338071823, 0.9212170839309692, 0.5278652310371399, -0.4187692105770111, 0.23105427622795105, 0.0034313807263970375, -0.3387339413166046, 0.19160063564777374, -0.5079801082611084, 0.3561542332172394, -0.2943466603755951, 0.626860499382019, -1.2194069623947144, -0.11479899287223816, 0.13998515903949738, 0.0027920936699956656, 0.2189522385597229, -0.48662877082824707, -0.8254753947257996, -0.648041844367981, -0.2176879346370697, 0.8224431872367859, 0.3886743187904358, -0.6755653023719788, 0.45474642515182495, 0.20955143868923187, -0.023805102333426476, -0.6645157933235168, -0.7023237347602844, 0.18815800547599792, -0.3581400215625763, -0.8018701672554016, 0.3978474736213684, -0.2071210741996765, -0.06952502578496933, -0.07230239361524582, -0.22915960848331451, 0.12655264139175415, 0.03292595595121384, 0.234351247549057, 0.15245173871517181, -0.3033727705478668, -0.18887242674827576, 0.2612266540527344, -0.39848586916923523, -0.2146121859550476, -0.5131391286849976, 0.6541546583175659, 0.2502909004688263, -0.44686976075172424, -0.16934804618358612, 0.7385509014129639, 0.7616279125213623, -0.2213384509086609, 0.7756178975105286, 0.7079038023948669, -0.2778981328010559, -0.5002760887145996, -0.9653909206390381, -0.10777527838945389, -0.5240423679351807, 0.5305566191673279, -0.7230505347251892, -0.8743816614151001, 0.776710569858551, -0.1916818767786026, 0.2845180928707123, 0.4522756040096283, 0.6831883788108826, 0.13124814629554749, 1.170282244682312, 0.7367293238639832, -0.00432849396020174, 0.332138329744339, -0.3463065028190613, 0.324207603931427, -0.5655884742736816, -0.39673277735710144, -0.6865286231040955, 0.06220674514770508, -0.35297173261642456, -1.0095622539520264, 0.04663173854351044, 0.29234760999679565, 0.05672850459814072, 0.3981403410434723, -0.3315088450908661, 0.43648746609687805, 0.4849330484867096, -0.05188190937042236, 0.2888393998146057, 0.2132340669631958, -0.3136182725429535, 0.15388436615467072, -1.012881875038147, -0.25747600197792053, 1.2294591665267944, 0.35222187638282776, 0.7026070356369019, 0.13910803198814392, 0.8677319288253784, 0.1696297973394394, 0.08056311309337616, -0.7787726521492004, 0.5709236860275269, -0.49668005108833313, -0.5421513319015503, -0.07790125161409378, -0.4392738938331604, -0.7921597361564636, 0.2710511088371277, -0.130870059132576, -0.545407235622406, 0.44113293290138245, 0.021729914471507072, -0.41536760330200195, 0.4185326099395752, -0.8333795666694641, 0.5742927193641663, -0.0758715569972992, -0.05627333000302315, -0.6371174454689026, -0.26921480894088745, 0.6357338428497314, -0.17128078639507294, 0.04892013967037201, -0.09542492777109146, -0.04697295278310776, 0.6565110087394714, -0.33705970644950867, 0.5360146164894104, -0.1370096504688263, -0.2713935971260071, 0.12265827506780624, 0.19043728709220886, 1.0070492029190063, 0.098749540746212, -0.581939160823822, 0.10216528922319412, 0.13682347536087036, -0.5655430555343628, -0.4566676914691925, 0.7567704916000366, -0.8819539546966553, -0.48877519369125366, -0.3202027380466461, -0.6789348721504211, -0.1584528237581253, 0.16689172387123108, 0.621195375919342, 0.4280264973640442, 0.07255301624536514, -0.07234109938144684, 0.39694541692733765, -0.078269824385643, 0.36205172538757324, 0.6815712451934814, 0.04870084300637245, -0.13081353902816772, 0.5945374369621277, 0.04266030341386795, 0.3170773386955261, 0.26092028617858887, -0.32770654559135437, -0.5171710252761841, -1.2757325172424316, -0.29902562499046326, 0.25101444125175476, -0.8950766921043396, -0.29760029911994934, -0.8968150615692139, -0.17999014258384705, -0.677418053150177, -0.12511791288852692, -0.7182914614677429, -0.3128814101219177, -0.16226297616958618, -0.16380740702152252, 0.37492379546165466, 0.7881805896759033, -0.09092459082603455, 0.43790867924690247, -0.5879500508308411, 0.5577199459075928, -0.029324913397431374, 0.5013080835342407, 0.06039894372224808, -0.602567732334137, -0.32853245735168457, 0.02301091141998768, 0.3529757857322693, -0.602609395980835, 0.29233691096305847, -0.3238072395324707, 0.5958320498466492, 0.6065509915351868, 0.2721088230609894, 0.9240100979804993, -0.5150449275970459, 0.5330564379692078, -0.0687284767627716, -0.6159571409225464, 0.27744561433792114, -0.4298623502254486, 0.23128613829612732, 0.42982345819473267, 0.228593647480011, -0.4549051821231842, -0.36421695351600647, -0.5495727062225342, -1.0181522369384766, 1.0518826246261597, -0.11876290291547775, 0.02556009776890278, -0.2535549998283386, 0.5030208826065063, 0.27216699719429016, -0.12523774802684784, -0.05624831095337868, -0.3983113169670105, 0.10755503177642822, -0.0034908538218587637, -0.3865469694137573, -0.9693796634674072, 0.050746165215969086, 0.01569412276148796, 0.4004138112068176, -0.08042784035205841, 0.4243896007537842, -0.2542687654495239, -0.029338309541344643, -0.18784691393375397, 0.07159952074289322, 0.4945307672023773, 0.05049051716923714, -0.3245368003845215, 0.19324982166290283, 0.057076554745435715, -0.3854670822620392, 0.23424634337425232, -0.004326323512941599, -0.25007355213165283, -0.10519948601722717, 0.3478098511695862, 0.9703670144081116, 0.2764919102191925, -0.536879301071167, 0.21308282017707825, -0.24059166014194489, -0.38340339064598083, -0.04646686092019081, -0.0020302594639360905, 0.19062967598438263, 0.5766237378120422, 0.3394485116004944, 0.5320751667022705, 0.19687174260616302, -0.3892365097999573, 0.1690903604030609, 0.15691207349300385, 0.3332253694534302, -0.14135488867759705, 0.6542338728904724, 0.13776594400405884, -0.10191885381937027, 0.8694886565208435, -0.4014813303947449, -0.3809598684310913, 0.7244977951049805, 0.7884816527366638, 0.8454700112342834, -0.0029639289714396, 0.2922842502593994, 0.17715512216091156, 0.2718965709209442, -0.5369700193405151, 0.38848817348480225, -0.0015772880287840962, -0.8254649639129639, -0.4804755747318268, -0.6703908443450928, -0.29789334535598755, 0.009835313074290752, -0.6454871296882629, 0.09922056645154953, -0.3664935529232025, -0.1991950422525406, -0.17085640132427216, 0.03474997729063034, -0.8167203068733215, -0.13128480315208435, 0.3348783850669861, 1.0993446111679077, -0.8385776281356812, 0.9190409183502197, 0.444328635931015, 0.16029389202594757, -0.9884503483772278, 0.0836159810423851, 0.08494237065315247, -0.7551578879356384, 0.6921924352645874, -0.004840698558837175, -0.09337984770536423, 0.28762155771255493, -0.13921144604682922, -1.3524730205535889, 0.9779745936393738, 0.4965590536594391, -0.5594058632850647, -0.05568594112992287, -0.06761444360017776, 0.5026208758354187, -0.41357511281967163, 0.6527919769287109, 0.6348323822021484, 0.24037379026412964, 0.3868195116519928, -0.6493698954582214, 0.23521895706653595, -0.3233395516872406, 0.07311330735683441, -0.050216320902109146, -0.7378754615783691, 0.9455777406692505, -0.40321916341781616, -0.3827306926250458, 0.31898075342178345, 0.5900614261627197, 0.5005499124526978, 0.08662090450525284, 0.5322261452674866, 0.46526697278022766, 0.7589439749717712, 0.05073285102844238, 1.1774876117706299, -0.3398951590061188, 0.07477961480617523, 0.8175987601280212, -0.5546984672546387, 1.0781546831130981, 0.1791272908449173, -0.11850669980049133, 0.3110055923461914, 0.8729471564292908, 0.06697173416614532, 0.567076563835144, 0.052438996732234955, -0.09262654930353165, -0.32784879207611084, -0.10379577428102493, -0.4427812397480011, 0.5013439059257507, 0.4646890163421631, 0.030812866985797882, -0.376153826713562, -0.060595910996198654, -0.24321407079696655, -0.12294437736272812, -0.051935747265815735, 0.6176755428314209, -0.1251411885023117, -0.7602065205574036, 0.8025347590446472, 0.5655760169029236, 0.8842448592185974, -0.6824659109115601, 0.45203301310539246, -0.47367072105407715, 0.2765587568283081, -0.1645651012659073, -0.5011208057403564, 0.23865634202957153, 0.014621689915657043, -0.4257368743419647, -0.48127880692481995, 0.5340080857276917, -0.4513167142868042, -0.5011469721794128, 0.4927974343299866, 0.43040603399276733, 0.23865026235580444, -0.16188199818134308, -0.5502638816833496, 0.5536025166511536, -0.14567497372627258, -0.24881374835968018, 0.3372415602207184, 0.5230969786643982, -0.3322376608848572, 0.7912997007369995, 0.9487413763999939, 0.21961058676242828, 0.3021918833255768, 0.4043768048286438, 0.9709170460700989, -0.5438612699508667, -0.8523387908935547, -0.5315901637077332, 0.3643935024738312, 0.13359065353870392, -0.040998026728630066, 0.9153615832328796, 0.6046241521835327, 0.5092253684997559, -0.0876258835196495, 0.6398391723632812, 0.15476290881633759, 0.3900182247161865, -0.5729498863220215, 0.4424949884414673, -0.35266247391700745, 0.6115905046463013, 0.0461888313293457, -0.8489052653312683, -0.13388097286224365, 0.2431245893239975, -0.06490138173103333, -0.07830541580915451, 0.7357303500175476, 0.9822984933853149, -0.020991897210478783, 0.02484002709388733, 0.16380947828292847, 0.19445250928401947, 0.24318741261959076, 0.4712783694267273, 0.888359546661377, -0.5330659747123718, 0.5516837239265442, -0.34637460112571716, -0.0733870342373848, -0.45373213291168213, -0.6916197538375854, -0.906991720199585, -0.387554794549942, -0.2388552725315094, -0.28965604305267334, 0.21106112003326416, 0.8873625993728638, 0.9557585120201111, -0.6965727806091309, -0.2999052405357361, -0.049687277525663376, 0.01949124038219452, -0.39985576272010803, -0.1599654257297516, 0.42982345819473267, -0.4182128310203552, -0.7457208037376404, 0.7748132944107056, 0.2934199571609497, 0.02689417079091072, -0.08954492956399918, -0.13361455500125885, -0.0926320031285286, 0.14697927236557007, 0.629953920841217, 0.02591949701309204, -0.7566958069801331, -0.10594131052494049, 0.07211519777774811, -0.3633705973625183, -0.4257345497608185, 1.0197486877441406, -0.7349807024002075, 0.14981362223625183, 0.695663571357727, 0.5753617882728577, 0.7122097611427307, 0.011853697709739208, 0.5980709791183472, -0.6102114319801331, 0.7508845329284668, 0.16565023362636566, 0.1933782547712326, -0.010649556294083595, -0.6079436540603638, 0.29120898246765137, 0.3021951913833618, -0.19325536489486694, -1.1105217933654785, 0.2742757797241211, -0.95283043384552, -0.42532190680503845, 1.344793677330017, -0.0007529243011958897, 0.23200684785842896, -0.19265121221542358, -0.11114653944969177, 0.14691247045993805, -0.43207597732543945, 0.6789630055427551, 0.51262366771698, 0.1783914864063263, -0.2108704000711441, -0.22691398859024048, 0.5370814204216003, 0.5062799453735352, -0.4578593969345093, 0.3331230580806732, 0.3460944890975952, 0.08985601365566254, -0.15313278138637543, 0.8128786683082581, 0.11741453409194946, 0.11247225105762482, 0.6303402185440063, -0.15185995399951935, -0.24355639517307281, -0.4162479639053345, -0.21399350464344025, 0.28720128536224365, 0.12675660848617554, 0.0800328403711319 ]
http://arxiv.org/abs/2407.01948v1
http://arxiv.org/pdf/2407.01948v1
Extracting and Encoding: Leveraging Large Language Models and Medical Knowledge to Enhance Radiological Text Representation
2024-07-02T04:39:19
2024-07-02T04:39:19
Pablo Messina, René Vidal, Denis Parra, Álvaro Soto, Vladimir Araujo
cs.CL
cs.CL, cs.AI, cs.LG
Advancing representation learning in specialized fields like medicine remains challenging due to the scarcity of expert annotations for text and images. To tackle this issue, we present a novel two-stage framework designed to extract high-quality factual statements from free-text radiology reports in order to improve the representations of text encoders and, consequently, their performance on various downstream tasks. In the first stage, we propose a \textit{Fact Extractor} that leverages large language models (LLMs) to identify factual statements from well-curated domain-specific datasets. In the second stage, we introduce a \textit{Fact Encoder} (CXRFE) based on a BERT model fine-tuned with objective functions designed to improve its representations using the extracted factual data. Our framework also includes a new embedding-based metric (CXRFEScore) for evaluating chest X-ray text generation systems, leveraging both stages of our approach. Extensive evaluations show that our fact extractor and encoder outperform current state-of-the-art methods in tasks such as sentence ranking, natural language inference, and label extraction from radiology reports. Additionally, our metric proves to be more robust and effective than existing metrics commonly used in the radiology report generation literature. The code of this project is available at \url{https://github.com/PabloMessina/CXR-Fact-Encoder}.
[ -0.028833579272031784, -0.4237920045852661, 1.0010008811950684, -0.07909030467271805, -0.3439320921897888, -0.06451686471700668, -0.18017476797103882, -0.635246992111206, -0.005984922405332327, 0.5612229108810425, -0.06654197722673416, -0.5478231906890869, -1.0780930519104004, 0.02512587606906891, -0.33831316232681274, 1.1206904649734497, 0.12328378111124039, 0.30765578150749207, -0.4126185178756714, 0.07980090379714966, -0.35669049620628357, -0.33638009428977966, -0.4467605948448181, -0.43828216195106506, 0.461604505777359, 0.5333897471427917, 0.9665960669517517, 1.0111902952194214, 0.7174464464187622, 0.09175185114145279, 0.20044589042663574, 0.3409039378166199, -0.3134151101112366, 0.19881904125213623, -0.11389806121587753, -0.20372900366783142, -0.08574557304382324, -0.18800806999206543, 0.4591202139854431, 0.35370028018951416, -0.16606499254703522, -0.12082740664482117, -0.16169510781764984, 0.3975904881954193, -0.6055165529251099, 0.5490812063217163, -0.19644297659397125, -0.008987429551780224, -0.0024810610339045525, -0.5111582279205322, -0.6958133578300476, -0.5414724349975586, 0.23036658763885498, -0.46874478459358215, 0.1494610607624054, 0.0839444100856781, 1.1596002578735352, -0.0010662880958989263, -0.4324958622455597, -0.7400433421134949, -0.5116925239562988, 0.5789196491241455, -0.5469341278076172, 0.6705776453018188, 0.19905877113342285, 0.2606995701789856, 0.27165690064430237, -1.125548243522644, -0.19244161248207092, -0.15050573647022247, -0.36538687348365784, 0.1099010556936264, -0.3413740396499634, 0.04626728966832161, 0.2165985107421875, 0.5062242150306702, -0.7124812602996826, -0.02513211779296398, -0.33515989780426025, -0.29463720321655273, 0.5391271710395813, -0.06080237403512001, 0.4571659564971924, -0.4815964996814728, -0.4003153145313263, -0.2967770993709564, -0.7503028512001038, -0.4504650831222534, -0.5412582159042358, 0.12359948456287384, -0.18749170005321503, 0.5541151762008667, -0.07425176352262497, 0.25583189725875854, -0.01363026350736618, -0.41487863659858704, 0.48261693120002747, -0.01326767448335886, -0.3065221309661865, 0.3357584476470947, 0.6643252968788147, 0.16656211018562317, -0.14487743377685547, -0.387677401304245, -0.2298462688922882, 0.009705777280032635, 0.13127630949020386, -1.0596811771392822, -0.1734279841184616, 0.2662576735019684, -0.8325373530387878, -0.4682641923427582, 0.1630980521440506, -0.782378077507019, -0.5699701309204102, -0.048797279596328735, 0.5908920168876648, -0.70245361328125, -0.21108344197273254, 0.44989073276519775, -0.1383017748594284, 0.16032934188842773, 0.059021007269620895, -0.5966385006904602, 0.21638217568397522, 0.6070957183837891, 0.8285815715789795, 0.2261386662721634, 0.45956850051879883, -0.7899237275123596, 0.215214341878891, -0.2783118486404419, 0.8111689686775208, -0.5393568873405457, -0.4503159821033478, 0.07198990881443024, -0.06782016158103943, 0.20333430171012878, -0.5938575267791748, 0.8631194233894348, -0.680128276348114, 0.23742283880710602, -0.16077834367752075, -0.5887352228164673, -0.11267394572496414, 0.2205023169517517, -0.6395080089569092, 0.869006872177124, 0.07318209856748581, -0.7123584747314453, 0.3079320192337036, -0.510925829410553, -0.46024054288864136, 0.20097780227661133, -0.6746802926063538, -0.5177798271179199, 0.29101523756980896, 0.5736570954322815, 0.6804338097572327, -0.8435596227645874, 0.39864808320999146, 0.19214580953121185, -0.009797397069633007, 0.518763542175293, -0.24248425662517548, 0.5691532492637634, 0.34509432315826416, -0.16791951656341553, -0.25931107997894287, -0.8524734377861023, 0.01794476993381977, 0.23780694603919983, -0.4760872423648834, -0.15652145445346832, 0.1501118689775467, -0.012872716411948204, 0.31289300322532654, -0.004273585043847561, -1.045061469078064, -0.03364550322294235, -0.3871449828147888, 0.032685697078704834, 0.14944486320018768, 0.30793967843055725, 0.1629989743232727, -0.6429079174995422, 0.332261860370636, 0.030931415036320686, -0.03114359639585018, -0.3437473773956299, -0.2905421853065491, -0.5674636363983154, -0.7271177172660828, 0.37228962779045105, 0.5325396060943604, -0.8683399558067322, 0.16972574591636658, -0.6079212427139282, -0.43635988235473633, -0.43761515617370605, -0.23588360846042633, 0.5055006146430969, 0.6346854567527771, 0.39925476908683777, -0.34816399216651917, -0.6492063999176025, -0.6936426162719727, 0.13519509136676788, -0.02250158041715622, -0.060279373079538345, 0.04747002571821213, 0.23935876786708832, -0.21104727685451508, 0.8091854453086853, -1.0297726392745972, -0.3935151994228363, -0.2516474723815918, 0.4760934114456177, 0.24931146204471588, 0.3940524756908417, 0.4716755747795105, -0.7224617600440979, -0.15910278260707855, 0.2616858184337616, -1.2329881191253662, -0.03308865800499916, -0.2683252692222595, 0.11802629381418228, 0.1387544572353363, 0.6021654009819031, -0.4687447249889374, 0.3562451899051666, 0.5421482920646667, -0.24366934597492218, 0.3800433874130249, -0.3277149796485901, 0.2593565285205841, -0.8733199238777161, 0.06121131032705307, 0.10842248052358627, -0.4947594106197357, -0.45597130060195923, 0.14426161348819733, 0.16191433370113373, -0.3500502407550812, -0.1380763202905655, 0.2867262661457062, -0.6826497912406921, 0.08338525891304016, -0.22997888922691345, -0.008872668258845806, 0.24923834204673767, 0.07375765591859818, 0.43083760142326355, 0.3101694583892822, 0.5288074016571045, -0.3342292606830597, 0.027555815875530243, 0.3586222231388092, -0.6079057455062866, 0.11363369226455688, -0.5791040062904358, 0.1402210295200348, -0.3510400950908661, 0.11860378831624985, -0.6036974191665649, -0.34647658467292786, 0.17346489429473877, -0.5376858115196228, 0.656541109085083, -0.10305047780275345, -0.667334258556366, -0.19289879500865936, -0.10856551676988602, 0.019139474257826805, 0.7165413498878479, -0.4718879461288452, 0.6220162510871887, 0.4976576268672943, -0.310251921415329, -0.49680447578430176, -0.8324944972991943, 0.23341859877109528, 0.3583869934082031, -0.5264323353767395, 0.28135547041893005, 0.10488751530647278, -0.10320775210857391, 0.27653899788856506, 0.023768173530697823, -0.3191659450531006, -0.14746540784835815, 0.16495898365974426, 0.3028844892978668, -0.46134158968925476, 0.28558358550071716, 0.26639631390571594, -0.28965190052986145, 0.3277701139450073, -0.293648362159729, 0.2455260008573532, 0.1571979820728302, -0.3659779131412506, -0.31926268339157104, 0.5676923990249634, 0.5042957663536072, -0.2911195456981659, 0.5598503947257996, 0.558204174041748, -0.6316576600074768, 0.003922555595636368, -0.5405350923538208, -0.2014242559671402, -0.3597792983055115, 0.7004144191741943, -0.041351377964019775, -0.9036245346069336, 0.006528179161250591, -0.04950015991926193, 0.06864093244075775, 0.4509848952293396, 0.6491483449935913, 0.06108562648296356, 1.1354597806930542, 0.58769690990448, 0.41483449935913086, -0.04552052170038223, -0.12163595110177994, 0.1934775710105896, -0.5327344536781311, -0.510986864566803, -0.5388663411140442, 0.3397303819656372, -0.38665270805358887, -0.7552094459533691, 0.7316929697990417, -0.29697340726852417, 0.14982974529266357, -0.2902924418449402, -0.503673255443573, 0.39611876010894775, 0.0571930930018425, 0.5261674523353577, 0.34431910514831543, 0.3457229435443878, 0.07293660193681717, -0.21698720753192902, -0.8272508978843689, -0.4873500466346741, 1.1323078870773315, 0.49889421463012695, 0.6220682859420776, 0.22432953119277954, 0.8436312675476074, 0.4296734631061554, 0.5952755212783813, -0.9095102548599243, 0.2587827742099762, -0.5499324798583984, -0.6396107077598572, 0.156202033162117, -0.3096078336238861, -0.7633363008499146, 0.15217287838459015, -0.6585425138473511, -0.3706260323524475, 0.366924911737442, -0.13957475125789642, -0.4436309039592743, 0.16771571338176727, -0.3314507305622101, 0.3230268359184265, -0.27287253737449646, -0.31068354845046997, -0.4455742835998535, -0.5359418392181396, 0.2476479709148407, -0.10422912240028381, 0.5070860981941223, -0.0072279153391718864, 0.029477113857865334, 0.6253240704536438, -0.40490394830703735, 0.848300039768219, -0.2872816026210785, -0.11348085105419159, 0.2274443805217743, 0.1319892853498459, 0.3013845682144165, 0.2694701850414276, -0.22228975594043732, 0.1464328169822693, 0.13826796412467957, -0.2147645652294159, -0.5442317128181458, 0.4756917357444763, -0.7550587058067322, -0.393040269613266, -0.7876390814781189, -0.5833291411399841, -0.19930964708328247, 0.29651254415512085, 0.27385565638542175, 1.1860252618789673, -0.4192304313182831, 0.3389885723590851, 1.0194333791732788, -0.4753093123435974, 0.012114697135984898, 0.36784520745277405, -0.18262973427772522, -0.6505918502807617, 1.09458327293396, 0.04484567418694496, 0.023945914581418037, 0.9323611855506897, 0.35110509395599365, -0.18294768035411835, -0.6676905751228333, -0.37123745679855347, 0.5653242468833923, -0.9796112775802612, -0.5889320969581604, -0.7829279899597168, -0.43035849928855896, -0.4278241693973541, -0.17774555087089539, -0.12497855722904205, -0.4555054306983948, -0.3267749845981598, -0.07289297878742218, 0.26491817831993103, 0.9206089377403259, -0.44962364435195923, 0.2120833396911621, -1.205773949623108, 0.2035343050956726, -0.008475414477288723, 0.09494234621524811, -0.17501533031463623, -0.38987717032432556, -0.7557098865509033, -0.3721352815628052, -0.19210848212242126, -0.7880099415779114, 0.513202428817749, 0.19621668756008148, 0.4357033967971802, 0.5116041302680969, 0.0319984033703804, 0.27796822786331177, -0.23706814646720886, 0.5522796511650085, 0.3533216416835785, -0.7175630331039429, 0.43980085849761963, -0.27777132391929626, 0.09788618236780167, 0.266206294298172, 0.4299705922603607, -0.4794078767299652, -0.27460384368896484, -0.5488654375076294, -0.6627175807952881, 0.6545344591140747, -0.0004226789460517466, -0.010936967097222805, -0.3947235345840454, 0.5169564485549927, 0.20837105810642242, -0.2003295123577118, -0.5803221464157104, -0.09979484975337982, -0.2008179873228073, -0.6167031526565552, 0.1685686707496643, -0.80374675989151, -0.3169631063938141, 0.03687124699354172, 0.7395787835121155, -0.23678964376449585, 0.5769941210746765, 0.5961878895759583, -0.4594719111919403, 0.13710352778434753, 0.30680525302886963, 0.41250577569007874, 0.5768992304801941, -0.3549712002277374, 0.2979799509048462, -0.16861191391944885, -0.5644067525863647, 0.008168403059244156, 0.1309252232313156, 0.02284615859389305, 0.20946919918060303, 0.725751519203186, 0.48227623105049133, 0.44768497347831726, -0.735651969909668, 0.744473397731781, -0.24582618474960327, -0.30096203088760376, -0.04836862161755562, -0.13060469925403595, -0.06780269742012024, 0.09745669364929199, 0.46019965410232544, 0.03529650345444679, 0.32628941535949707, -0.24750758707523346, 0.5910370349884033, 0.03601980581879616, -0.5922895669937134, -0.23834627866744995, 0.466337651014328, 0.2466672658920288, 0.4372623860836029, 0.553788423538208, 0.027580033987760544, -0.05126379057765007, 0.41379454731941223, 0.7941140532493591, 0.6789945960044861, 0.11636098474264145, 0.4013291001319885, 0.6462200880050659, 0.18776163458824158, -0.15703639388084412, 0.23521339893341064, 0.20501470565795898, -0.6910744309425354, -0.6773160099983215, -0.23237626254558563, -0.22788231074810028, -0.20541447401046753, -0.9642281532287598, 0.3232858180999756, -0.5702008008956909, 0.03213862329721451, -0.04879390820860863, -0.06051209941506386, -0.48191893100738525, 0.6339365839958191, 0.49989524483680725, 0.97710120677948, -0.7440036535263062, 0.8856858015060425, 0.47106513381004333, -0.3956618010997772, -0.8321279287338257, -0.14538054168224335, 0.0883086696267128, -0.9357520937919617, 0.7076447010040283, 0.07534365355968475, -0.10543008893728256, -0.22155626118183136, -0.4156700372695923, -0.9573251605033875, 1.1111959218978882, 0.4298033118247986, -0.535675585269928, -0.10259386897087097, 0.03346441313624382, 0.3265318274497986, -0.6938796043395996, 0.27416688203811646, 0.4162552058696747, 0.197430819272995, 0.11711286008358002, -0.5345500707626343, 0.5224325060844421, -0.016266288235783577, -0.28982600569725037, 0.012633728794753551, -0.2802170217037201, 0.46677541732788086, -0.34954530000686646, -0.37599489092826843, 0.08167128264904022, 0.7841823101043701, 0.06217312440276146, 0.2176162749528885, 0.2434810847043991, 0.47208499908447266, 0.9204419851303101, -0.12539055943489075, 1.393728256225586, -0.25547054409980774, 0.3607769310474396, 0.8162219524383545, -0.14933322370052338, 0.5998825430870056, 0.1273117959499359, 0.39697563648223877, 0.8664464950561523, 0.20423971116542816, 0.03498790040612221, 0.6482459306716919, -0.2696937322616577, -0.27654701471328735, -0.4237663447856903, -0.2842591404914856, -0.3518986403942108, 0.5809810757637024, 0.5799086093902588, -0.7632367610931396, -0.28894907236099243, 0.12395910918712616, 0.4794016480445862, -0.0665501281619072, -0.11015476286411285, 0.833804726600647, 0.11825668811798096, -0.4071109890937805, 0.6074435710906982, 0.07576151192188263, 0.344368577003479, -0.8209267854690552, -0.20195497572422028, 0.05305849760770798, 0.23450173437595367, -0.3646877110004425, -0.7551396489143372, 0.4371586740016937, 0.025155846029520035, -0.4873475134372711, -0.19881702959537506, 0.8896554112434387, -0.376329630613327, -0.5536090135574341, 0.15197020769119263, 0.3827773332595825, -0.018009772524237633, 0.31619149446487427, -0.39871636033058167, 0.4283355474472046, 0.2477436363697052, 0.0209178663790226, 0.2300817221403122, 0.41446152329444885, 0.029597941786050797, 0.3581197261810303, 0.487248957157135, 0.32103231549263, -0.5166811943054199, 0.047524433583021164, 0.9827509522438049, -0.4942701756954193, -0.3477504253387451, -0.5847828984260559, 0.4498220682144165, -0.11461400240659714, -0.09506909549236298, 0.2652086913585663, 0.6051670908927917, 0.37490689754486084, 0.024692237377166748, 1.0113271474838257, -0.32215026021003723, 0.5606677532196045, -0.7991319894790649, 0.785088300704956, -0.3854888677597046, 0.13791413605213165, -0.018653830513358116, -0.24733246862888336, -0.6786037087440491, 0.46529772877693176, -0.08115631341934204, -0.32517099380493164, 0.9506553411483765, 0.8466701507568359, 0.014644784852862358, 0.19109086692333221, 0.35003721714019775, 0.5380776524543762, 0.5856818556785583, 0.3450518846511841, 0.5226235389709473, -0.4590909481048584, 0.7596651911735535, -0.11350955814123154, -0.4571053385734558, -0.17480064928531647, -0.8685680627822876, -0.48350170254707336, -0.4480881989002228, -0.6914801001548767, -0.6311155557632446, 0.12904247641563416, 1.0096498727798462, 0.9791643619537354, -0.6184826493263245, 0.05335744097828865, 0.41443440318107605, -0.07858408987522125, -0.12219507992267609, -0.19363464415073395, 0.6240063905715942, -0.33304527401924133, -0.3313341736793518, 0.3925660252571106, 0.38727325201034546, -0.2622818350791931, 0.11041666567325592, -0.023657558485865593, -0.032752953469753265, 0.13614137470722198, 0.7824118137359619, 0.24916142225265503, -0.21848595142364502, -0.5651247501373291, -0.036160554736852646, -0.2820563018321991, 0.37994900345802307, 0.9895065426826477, -0.9414783120155334, 0.6149451732635498, 0.38706669211387634, 0.751029372215271, 0.6081046462059021, -0.3105510473251343, 0.4877128005027771, -0.8328911662101746, -0.059306416660547256, 0.2318502962589264, 0.29211699962615967, 0.6329380869865417, -0.553390383720398, 0.2558334171772003, 0.2718600928783417, -0.5304844379425049, -0.7913521528244019, 0.1092463955283165, -0.9736811518669128, -0.445655882358551, 1.099824070930481, -0.1405000388622284, -0.17249754071235657, -0.22729676961898804, -0.24229587614536285, 0.35518908500671387, -0.37429577112197876, 0.5980865955352783, 0.2821681499481201, -0.41346475481987, -0.31164979934692383, -0.20010362565517426, 0.3311484158039093, 0.1732877641916275, -0.7795995473861694, -0.095245860517025, 0.6133464574813843, 0.4799833595752716, 0.28340640664100647, 0.7878932356834412, -0.7087186574935913, 0.5661675333976746, -0.055915430188179016, 0.3070160448551178, -0.18096300959587097, -0.18550871312618256, -0.2802461087703705, 0.4438852071762085, 0.3048631250858307, -0.004011743236333132 ]
http://arxiv.org/abs/2407.01942v1
http://arxiv.org/pdf/2407.01942v1
Certainly Uncertain: A Benchmark and Metric for Multimodal Epistemic and Aleatoric Awareness
2024-07-02T04:23:54
2024-07-02T04:23:54
Khyathi Raghavi Chandu, Linjie Li, Anas Awadalla, Ximing Lu, Jae Sung Park, Jack Hessel, Lijuan Wang, Yejin Choi
cs.AI
cs.AI, cs.CL, cs.CV
The ability to acknowledge the inevitable uncertainty in their knowledge and reasoning is a prerequisite for AI systems to be truly truthful and reliable. In this paper, we present a taxonomy of uncertainty specific to vision-language AI systems, distinguishing between epistemic uncertainty (arising from a lack of information) and aleatoric uncertainty (due to inherent unpredictability), and further explore finer categories within. Based on this taxonomy, we synthesize a benchmark dataset, CertainlyUncertain, featuring 178K visual question answering (VQA) samples as contrastive pairs. This is achieved by 1) inpainting images to make previously answerable questions into unanswerable ones; and 2) using image captions to prompt large language models for both answerable and unanswerable questions. Additionally, we introduce a new metric confidence-weighted accuracy, that is well correlated with both accuracy and calibration error, to address the shortcomings of existing metrics.
[ -0.3997447192668915, -0.8696395754814148, 0.7754284143447876, 0.004579868633300066, 0.14549706876277924, 0.10919845104217529, 0.004528517369180918, -0.4592074751853943, 0.04678872227668762, -0.035012342035770416, -0.31796613335609436, -0.08744343370199203, -0.7644458413124084, -0.04317322000861168, -0.24363791942596436, 0.45497092604637146, -0.23602460324764252, -0.0189644955098629, -0.4014650881290436, -0.5443689227104187, -0.3622300922870636, -0.06580201536417007, -0.26204416155815125, 0.11235391348600388, 0.5285077691078186, 0.317035436630249, 0.9035239815711975, 0.4449858069419861, 0.8424692749977112, 0.3718421161174774, 0.2545330226421356, 0.13132797181606293, 0.0780482366681099, 0.0831177681684494, -0.20242954790592194, -0.8039438128471375, -0.2030303031206131, -0.16010050475597382, 0.4369318187236786, 0.5903934240341187, -0.22401313483715057, 0.33918851613998413, -0.20770026743412018, 0.43598565459251404, -1.0370745658874512, 0.22100993990898132, -0.7151374816894531, 0.1671934276819229, 0.1887214481830597, 0.04811832308769226, 0.06655876338481903, -0.1155347153544426, 0.39381715655326843, -1.1827324628829956, -0.33082523941993713, 0.21131645143032074, 1.1079977750778198, 1.1958638429641724, -0.1386590301990509, -0.17003078758716583, -0.639721691608429, 0.8089805841445923, -0.40675660967826843, 0.5047900080680847, 0.49945068359375, 0.6361430883407593, 0.3321242332458496, -0.8443065881729126, -0.7156105637550354, 0.21324001252651215, 0.21456752717494965, 0.5669584274291992, -0.5292009115219116, 0.1282757818698883, -0.03776967525482178, 0.07290685176849365, -0.34105464816093445, -0.18271121382713318, -0.005266107618808746, -0.4185105264186859, 0.22413797676563263, 0.04151890054345131, 0.14762215316295624, 0.03500935807824135, -0.4889805018901825, -0.2336287945508957, -0.21365518867969513, 0.30420735478401184, 0.10340095311403275, -0.21170829236507416, -0.26280784606933594, 0.7666385769844055, -0.45813968777656555, 0.8136467337608337, -0.20536324381828308, -0.09813208878040314, 0.37987977266311646, -0.3549439609050751, -0.32438549399375916, -0.31653594970703125, 0.637677013874054, 0.6173029541969299, 0.2517399787902832, 0.05158295854926109, -0.2402878701686859, 0.3725922405719757, 0.3847349286079407, -0.219462588429451, -0.3924187123775482, 0.5469562411308289, -0.041296977549791336, 0.022421957924962044, 0.17337095737457275, -0.5952905416488647, -0.3364904224872589, -0.052031099796295166, 0.854630172252655, -0.5296136736869812, -0.1465921401977539, -0.0339629128575325, -0.1926996260881424, 0.337770938873291, 0.9708355069160461, -0.31568431854248047, -0.24197813868522644, 0.33948999643325806, 0.5336570739746094, 0.06901197135448456, -0.49379345774650574, -0.3144843280315399, -0.03943154588341713, -0.6682952046394348, 0.777171790599823, -0.5342522263526917, 0.14852288365364075, -0.025087762624025345, -0.15353000164031982, -0.16118040680885315, -0.3582814335823059, 0.4778587520122528, -0.4948198199272156, -0.055491261184215546, -0.08643152564764023, -0.5482839345932007, -0.40965864062309265, 0.7651708722114563, -0.5589689016342163, 0.8185563087463379, 0.1456715315580368, -0.7725388407707214, 0.5142933130264282, -0.21538233757019043, 0.12761043012142181, 0.161891907453537, -0.5406821370124817, -0.291081964969635, -0.07163744419813156, 0.2516425549983978, 0.4809478223323822, -0.18298982083797455, 0.2805292010307312, -0.3013482689857483, -0.2316141128540039, 0.6312252283096313, -0.6970757246017456, 0.22295768558979034, 0.2433142364025116, -0.1557479351758957, -0.04500522091984749, -0.787203848361969, 0.4786616265773773, -0.2502572536468506, -0.27658870816230774, -0.2956405580043793, 0.0205937922000885, -0.08255214244127274, 0.13024619221687317, 0.6378530859947205, -0.44574227929115295, -0.28857165575027466, -0.0536203496158123, 0.2997203469276428, 0.8155110478401184, -0.05283726006746292, 0.26667875051498413, -0.48496729135513306, 0.36390432715415955, 0.2543235421180725, 0.3039725124835968, -0.22924461960792542, -0.864465594291687, -1.1121066808700562, -0.26773175597190857, 0.11750049144029617, 0.9313036203384399, -1.2112067937850952, 0.1720304638147354, -0.24102459847927094, -0.6108105778694153, -0.825938880443573, 0.005035809241235256, 0.6008464694023132, 0.605760931968689, 0.2720091938972473, -0.27073320746421814, -0.18275511264801025, -0.8798599243164062, -0.17645858228206635, -0.7738553285598755, 0.06481403857469559, 0.6022577285766602, 0.48595795035362244, -0.13530704379081726, 0.6999251246452332, -0.2846319079399109, -0.03515009582042694, 0.39995914697647095, 0.3491826057434082, 0.07996844500303268, 0.2541612684726715, 0.3541516363620758, -1.2219343185424805, -0.3938533365726471, 0.1130303367972374, -0.994513213634491, 0.37128427624702454, -0.21774324774742126, 0.04993109032511711, -0.014554495923221111, 0.4147144854068756, -0.44304385781288147, 0.6244186758995056, 0.3471306264400482, 0.07957931607961655, 0.3285970091819763, -0.3409925401210785, 0.47570985555648804, -0.8904668092727661, 0.04744219779968262, 0.156973198056221, -0.052235398441553116, -0.542487621307373, 0.17999400198459625, 0.15553228557109833, 0.4725332260131836, -0.6437716484069824, 0.40030741691589355, -0.2131904661655426, 0.05556177720427513, 0.37290921807289124, 0.043494272977113724, -0.029748359695076942, 0.47000589966773987, 0.12910424172878265, 0.9646857380867004, 1.0057519674301147, -0.5367036461830139, 0.5551012754440308, 0.32436326146125793, -0.7386671304702759, 1.0095828771591187, -0.7311323285102844, -0.25013938546180725, -0.22607581317424774, -0.43000882863998413, -1.3070976734161377, -0.5881937742233276, 0.25249478220939636, -0.9493473172187805, 0.11387579143047333, 0.12747520208358765, -0.24574701488018036, -0.32373958826065063, 0.04889870434999466, 0.3715064227581024, 0.28442317247390747, -0.1655965894460678, 0.5724385976791382, 0.2405097484588623, -0.05241688713431358, -1.0831472873687744, -0.8772192001342773, 0.053283385932445526, -0.027170121669769287, -0.2643866240978241, -0.14114926755428314, -0.22006604075431824, -0.6680941581726074, 0.08699001371860504, -0.08426745235919952, -0.3604423999786377, 0.2593390643596649, 0.57755047082901, 0.36434680223464966, -0.1831962913274765, 0.26692476868629456, -0.3827909827232361, -0.01810316927731037, -0.14954014122486115, -0.2504461109638214, 0.041847240179777145, -0.6835578083992004, -0.7896457314491272, -0.48496419191360474, 0.1221945509314537, 0.6349336504936218, -0.13170576095581055, 0.4702882170677185, 0.5968925356864929, -0.590171217918396, 0.199256032705307, -0.6033636927604675, 0.22013890743255615, -0.38454169034957886, 0.3819265365600586, -0.4262371063232422, -0.821563184261322, 0.7044631838798523, 0.1345204859972, -0.11580561846494675, 0.570189356803894, 0.4780159592628479, -0.5276274085044861, 0.7432776093482971, 0.6308112144470215, 0.05813024565577507, 0.140628844499588, 0.03106999769806862, -0.01885407231748104, -0.41042107343673706, -0.3771895468235016, -0.46868258714675903, -0.1843329519033432, -0.5780936479568481, -0.6024512052536011, 0.6505966186523438, -0.1621488779783249, -0.4313012957572937, -0.08860252797603607, -0.44506436586380005, 0.2543526291847229, 0.8002007603645325, 0.009141025133430958, 0.10625497996807098, -0.2128378450870514, 0.04523582011461258, 0.034236375242471695, -0.7271407842636108, -0.3799009621143341, 1.0254223346710205, 0.2003016173839569, 0.9899153709411621, 0.2910177409648895, 0.18469953536987305, 0.19964374601840973, 0.008393208496272564, -0.6385132074356079, 0.1245918869972229, 0.23103450238704681, -0.9086183905601501, -0.49992066621780396, -0.28110501170158386, -0.5109394192695618, -0.033163510262966156, -0.42429080605506897, -0.9374476671218872, 0.3770589232444763, 0.18971478939056396, -0.838287353515625, 0.41135525703430176, -0.7046881318092346, 0.672036349773407, -0.1953577995300293, -0.2903359830379486, 0.13958211243152618, -1.3400919437408447, 0.042892713099718094, -0.19460691511631012, 0.27376118302345276, -0.03887903690338135, -0.4426014721393585, 0.3522292673587799, -0.08419530838727951, 0.7102612257003784, 0.23467232286930084, 0.3166421949863434, 0.5733991861343384, -0.002087897155433893, 0.16031253337860107, 0.026324670761823654, 0.11721733957529068, 0.24145539104938507, 0.23675288259983063, -0.40948647260665894, -0.5212174654006958, 0.16979797184467316, -0.9992685317993164, -0.4683232009410858, -0.542190432548523, -0.4636826515197754, -0.40821605920791626, 0.04012439027428627, 0.4549064040184021, 0.08333870023488998, -0.03347960114479065, 0.10655190050601959, 0.9882636070251465, -0.3457736074924469, 0.28689342737197876, 0.1983160674571991, 0.18268606066703796, -0.4949546158313751, 0.8880141973495483, 0.08687068521976471, 0.3864307701587677, 0.8260318040847778, -0.2078133523464203, -0.234535813331604, -0.39176225662231445, -0.6086384057998657, -0.3042813241481781, -0.8791264891624451, -0.26576587557792664, -0.5664264559745789, -0.426605761051178, -0.10918249189853668, -0.23226796090602875, -0.4550347924232483, -0.6044797301292419, -0.25397878885269165, -0.005090018268674612, 0.31146806478500366, 0.6626973748207092, -0.18591001629829407, 0.2563847601413727, -0.5913382768630981, 0.3696782886981964, 0.6091461777687073, 0.43699806928634644, -0.3507329523563385, -0.5925930738449097, -0.164913609623909, 0.20746953785419464, 0.07242348045110703, -0.5606061816215515, 0.045893389731645584, 0.38521718978881836, 0.8539614081382751, 0.6880698204040527, 0.24638743698596954, 0.5142003893852234, -0.2856540381908417, 0.797593891620636, 0.3896058201789856, -0.6282267570495605, 0.5089209675788879, -0.14810898900032043, 0.29567044973373413, 0.963060200214386, 0.4294106960296631, -0.4622092545032501, -0.5043896436691284, -0.5730288624763489, -0.7885873913764954, 0.3516467213630676, 0.1753651201725006, 0.015214868821203709, 0.1889820396900177, 0.16086013615131378, -0.000412317254813388, 0.558742880821228, -0.3324584364891052, -0.4301653802394867, -0.46234366297721863, -0.25500982999801636, -0.19664478302001953, 0.08610193431377411, -0.432710736989975, -0.09031461179256439, 0.41600900888442993, -0.30388960242271423, 0.39965328574180603, 0.3419639468193054, -0.08541656285524368, 0.006433137692511082, 0.33867841958999634, 0.34239500761032104, 0.7242797017097473, -0.31249549984931946, 0.3758074641227722, 0.13876481354236603, -0.5547083616256714, 0.19255682826042175, -0.027267247438430786, -0.1731462925672531, -0.2959115505218506, 0.6030123829841614, 0.7284404039382935, -0.20927433669567108, -0.9912172555923462, 0.7373804450035095, -0.2927807867527008, 0.013902338221669197, -0.5447942018508911, 0.020332152023911476, -0.164964959025383, 0.3506084382534027, 0.3493949770927429, 0.6143879294395447, 0.10274475812911987, -0.47236600518226624, 0.33200374245643616, 0.28908392786979675, -0.8014019727706909, -0.009103217162191868, 0.8009019494056702, -0.07530277967453003, 0.032572004944086075, 0.47369077801704407, -0.09178616851568222, -0.43641239404678345, 0.8121610283851624, -0.22231264412403107, 0.49654242396354675, 0.009437148459255695, 0.3357401192188263, 0.24933528900146484, 0.6913271546363831, 0.11592794209718704, 0.563200056552887, -0.0002696886658668518, -1.2684234380722046, -0.08929786831140518, -0.4540993273258209, -0.7581356167793274, -0.32428690791130066, -0.8129825592041016, -0.2870512008666992, -0.6514740586280823, -0.3191256523132324, 0.18296931684017181, -0.4671047329902649, -0.7881379723548889, 0.6967231631278992, -0.01892172358930111, 0.7391318082809448, -0.7822502255439758, 0.38499173521995544, 1.1736280918121338, -0.6084304451942444, -0.8731796145439148, 0.017829010263085365, 0.18406496942043304, -1.067036747932434, 0.24616898596286774, -0.1338251680135727, -0.15212611854076385, -0.2621108889579773, -0.7498191595077515, -0.8465027213096619, 1.0830258131027222, 0.221565380692482, -0.1954728215932846, 0.30339711904525757, 0.06787234544754028, 0.49615103006362915, -0.14876969158649445, 0.4391708970069885, 0.41858887672424316, 0.6562668681144714, 0.3496466279029846, -0.7456147074699402, -0.5133083462715149, -0.5060755610466003, -0.08619678765535355, -0.09393510967493057, -0.8127029538154602, 0.8691662549972534, -0.44370847940444946, -0.1884915977716446, 0.3068353831768036, 0.5186594724655151, -0.10235793888568878, 0.4900765120983124, 0.4307780861854553, 0.8336842656135559, 0.8425878286361694, -0.5194603204727173, 0.9780111908912659, -0.31450533866882324, 0.05009168013930321, 1.11741042137146, -0.01936175487935543, 0.9263969659805298, 0.7670668363571167, -0.37180501222610474, 0.10200079530477524, 0.9544685482978821, 0.11036847531795502, 0.42837491631507874, -0.2986821234226227, -0.22991906106472015, -0.7207016348838806, -0.27754876017570496, -0.2800563871860504, 0.558015763759613, 0.6506708860397339, -0.017865583300590515, 0.13163985311985016, -0.07464687526226044, -0.36219123005867004, 0.2005845606327057, -0.34807807207107544, 0.7893137335777283, -0.08767907321453094, -0.7806008458137512, 0.36896634101867676, -0.19649448990821838, 0.5399712920188904, -0.40693163871765137, 0.08270357549190521, -0.028808075934648514, 0.06299881637096405, 0.035148102790117264, -1.3404951095581055, 0.021796153858304024, -0.27540621161460876, 0.018346233293414116, 0.23315544426441193, 0.4209090769290924, -0.20609895884990692, -0.6268525719642639, -0.010611012578010559, 1.0404475927352905, 0.3002401888370514, 0.09268250316381454, -0.7742083668708801, -0.1842668056488037, -0.020454004406929016, -0.07195878028869629, -0.18348398804664612, 0.7116049528121948, 0.0642399936914444, 1.1711570024490356, 0.01799638755619526, -0.013671725988388062, 0.3046826422214508, -0.17018403112888336, 0.6390656232833862, -0.06802767515182495, -0.1838623434305191, -0.38759759068489075, 0.7105972170829773, 0.11625739187002182, -0.7574472427368164, 0.6080783009529114, 0.2512238323688507, 0.915148913860321, -0.005142982583492994, 0.9640897512435913, -0.2862668037414551, 0.220841646194458, -0.34829458594322205, 0.5939307808876038, -1.0509059429168701, -0.08921175450086594, -0.5396453142166138, -0.5964613556861877, -0.5775848031044006, 0.7502539753913879, -0.04374147579073906, -0.041667453944683075, 0.480347216129303, 0.6944283246994019, 0.1667013019323349, -0.02735498733818531, 0.7444784045219421, 0.2036137580871582, -0.3479774296283722, 0.6806808114051819, 1.010264277458191, -0.4463689923286438, 0.4386271834373474, -0.2524546980857849, -0.2914251983165741, -0.020607247948646545, -0.6038633584976196, -0.3522278964519501, -1.0251795053482056, -0.34702247381210327, -0.167543426156044, 0.21511082351207733, 0.550332248210907, 0.6864472031593323, -0.8339778780937195, 0.18279404938220978, 0.12334506958723068, 0.1795300543308258, -0.27815762162208557, -0.052857596427202225, 0.207212895154953, -0.03629749268293381, -0.6086099743843079, -0.17936311662197113, 0.4946587383747101, 0.4447384774684906, -0.14337940514087677, -0.10530691593885422, -0.31424424052238464, 0.26850274205207825, 0.07992960512638092, 0.40937891602516174, -0.8020182251930237, -0.6195815205574036, 0.053038328886032104, -0.20000478625297546, 0.2974493205547333, -0.008732708171010017, -0.48652490973472595, 0.9014121294021606, 0.17588450014591217, 0.8483838438987732, 0.1767573207616806, 0.12450619041919708, 0.2214750200510025, -0.6266661286354065, 0.1956145316362381, 0.31765761971473694, 0.49110791087150574, 0.45876187086105347, -0.2602366507053375, 0.5946972966194153, 0.17121902108192444, -0.3418380916118622, -0.4994971752166748, 0.31534436345100403, -0.974942147731781, -0.13754591345787048, 0.845912516117096, -0.5661479234695435, -0.43258026242256165, -0.23448459804058075, 0.06583644449710846, 0.10510019958019257, -0.2634272873401642, 0.5471122860908508, 1.0875414609909058, -0.09893249720335007, -0.4198024868965149, -0.5891933441162109, 0.13166043162345886, 0.42413535714149475, -0.8812861442565918, -0.32769545912742615, 0.6048471331596375, -0.05925330892205238, 0.6601869463920593, 0.2667340934276581, 0.0793728232383728, 0.5598846077919006, 0.5517128705978394, 0.1502152979373932, 0.36802878975868225, -0.7256287932395935, -0.09859190881252289, 0.16564568877220154, 0.29790931940078735, -0.3417682349681854 ]
http://arxiv.org/abs/2407.01937v1
http://arxiv.org/pdf/2407.01937v1
Efficient-Empathy: Towards Efficient and Effective Selection of Empathy Data
2024-07-02T04:11:52
2024-07-02T04:11:52
Linzhuang Sun, Hao Liang, Jingxuan Wei, Linkun Sun, Bihui Yu, Bin Cui, Wentao Zhang
cs.CL
cs.CL
In recent years, with the rapid advancements in large language models (LLMs), achieving excellent empathetic response capability has become a crucial prerequisite. Consequently, managing and understanding large-scale video datasets has gained increasing importance. However, empathetic data are typically trained without any quality selection, leading to inefficient data usage and wasted computational resources. Additionally, using raw data can result in low performance in empathetic dialogues. In this work, we present Efficient-Empathy, a sensibility and rationality score-based data selection algorithm that automatically selects sensibility and rationality data while discarding low-quality data. With only the sensibility data (59% of the full dataset), our trained sensibility model efficiently achieves state-of-the-art (SoTA) performance. Furthermore, with multiple data selection hyperparameters, the sensibility model demonstrates SoTA performance, showcasing the robustness of our method. By integrating sensibility and rationality data with a MoE structure, we achieve even higher performance, demonstrating the effectiveness of our Efficient-Empathy algorithm.
[ -0.43750229477882385, -0.8222341537475586, 0.6806814670562744, 0.28193411231040955, -0.3100815415382385, -0.5431046485900879, -0.31024253368377686, -0.15938422083854675, 0.09848085790872574, 0.01602298580110073, -0.48494356870651245, -0.4872335195541382, -0.6905547976493835, 0.07269192487001419, 0.056900933384895325, 0.6115611791610718, -0.07747471332550049, 0.2710704505443573, -0.0589926578104496, -0.8027775883674622, -0.16203635931015015, -0.2843375504016876, -0.6768115162849426, -0.1837870180606842, 0.4678582549095154, 0.92892986536026, 0.537031352519989, 1.0207797288894653, 0.4628452658653259, 0.2754758894443512, 0.12659291923046112, 0.2718835771083832, -0.6812522411346436, 0.19200842082500458, -0.06368944048881531, -0.23622485995292664, -0.8852071166038513, 0.18501843512058258, 0.1804163008928299, 0.13512007892131805, -0.2218230664730072, 0.3885807991027832, -0.010103227570652962, 0.6801645755767822, -0.5915820002555847, 0.08050892502069473, -0.4367680251598358, 0.2176234871149063, 0.2486654669046402, -0.34511470794677734, -0.489981085062027, -0.2883833050727844, -0.0035902587696909904, -0.664812445640564, -0.3503339886665344, -0.010086282156407833, 0.6154791712760925, 0.29707610607147217, -0.18917420506477356, -0.17437154054641724, -0.1388414353132248, 1.0384999513626099, -0.27990320324897766, 0.38637909293174744, 0.663508951663971, 0.31033170223236084, 0.447256863117218, -0.3895733654499054, -0.5409818291664124, -0.1668454110622406, 0.34580278396606445, 0.29429101943969727, -0.31682875752449036, 0.08803664892911911, 0.5733941793441772, 0.11189538240432739, -0.4595987796783447, 0.05107802897691727, 0.3194580674171448, 0.03136248141527176, 0.6476780772209167, 0.4982946813106537, 0.29571837186813354, -0.24181991815567017, -0.23246441781520844, -0.18232181668281555, -0.1685764342546463, 0.1484716534614563, 0.3832131028175354, 0.10950370132923126, -0.18883128464221954, 0.8121512532234192, -0.28957927227020264, 0.5075117945671082, 0.0670183002948761, -0.11130696535110474, 0.29202690720558167, 0.10318482667207718, -0.2586420476436615, -0.14870215952396393, 0.5994393229484558, 0.9029948711395264, 0.5160571932792664, 0.12451156973838806, -0.15555939078330994, 0.4159383773803711, 0.15362748503684998, -1.0119259357452393, -0.19604481756687164, 0.3009193539619446, -0.7452410459518433, -0.10016729682683945, -0.4713687598705292, -0.9144430160522461, -0.3065774142742157, -0.4922185242176056, 0.10227951407432556, -0.6289984583854675, -0.2802097201347351, -0.07138252258300781, -0.041577212512493134, 0.14718909561634064, 0.5313065052032471, -0.758520245552063, 0.09103857725858688, 0.44739264249801636, 0.7855835556983948, 0.15101762115955353, -0.08947096765041351, -0.988792359828949, -0.05315859615802765, -0.0397811196744442, 0.5806090235710144, -1.0980907678604126, -0.16495488584041595, -0.3168863356113434, -0.36853933334350586, -0.1028117910027504, -0.2952940762042999, 1.065977692604065, -0.24061177670955658, -0.16994071006774902, -0.28915777802467346, -0.6808976531028748, -0.3009442985057831, 0.5501105189323425, -0.7526733875274658, 0.5185967087745667, 0.36973127722740173, -0.8167100548744202, 0.6117567420005798, -0.6394084692001343, -0.15314915776252747, -0.3618074655532837, -0.05477762222290039, -0.28609326481819153, 0.08343815803527832, 0.3206115663051605, 0.8534098267555237, -0.3532356917858124, 0.23374983668327332, -0.5742584466934204, -0.290372759103775, 0.1392800658941269, -0.6852649450302124, 0.5051290988922119, 0.49396321177482605, 0.0038487333804368973, -0.0670628622174263, -0.6450034379959106, 0.038018692284822464, -0.007401503622531891, -0.2001105695962906, -0.3659905195236206, -0.17219796776771545, 0.3017944395542145, 0.36707204580307007, -0.15379305183887482, -0.6957969069480896, 0.07471877336502075, -0.1588272601366043, 0.35195839405059814, 0.8983032703399658, -0.37564635276794434, 0.736974835395813, -0.2606136202812195, 0.613043487071991, -0.09212705492973328, 0.5442595481872559, 0.07424625754356384, -0.3548814058303833, -0.25343000888824463, -0.9600997567176819, -0.17204684019088745, 0.5164343118667603, -0.4065730571746826, 0.5459431409835815, -0.28621017932891846, -0.6629701852798462, -0.7940084338188171, 0.14887402951717377, 0.366636723279953, 0.7906320095062256, 0.32967856526374817, -0.404917448759079, -0.24616199731826782, -0.8436919450759888, -0.504176139831543, -0.03725550323724747, 0.040730372071266174, 0.8948627710342407, -0.03200995549559593, -0.27187785506248474, 0.8231191635131836, -0.4844813346862793, -0.24043844640254974, -0.3353414535522461, -0.17443819344043732, 0.26492223143577576, 0.4906669557094574, 0.44855207204818726, -0.9791871309280396, -0.669252336025238, -0.0073877740651369095, -0.7999212741851807, -0.0404830165207386, 0.022079117596149445, -0.46075117588043213, 0.2204381823539734, -0.07929212599992752, -0.9001643657684326, 0.48837828636169434, 0.4931148290634155, -0.48322439193725586, -0.0425582230091095, 0.09758571535348892, 0.5620137453079224, -0.965509295463562, 0.3907043933868408, 0.2481125444173813, -0.15831425786018372, -0.5706605911254883, -0.45872315764427185, 0.15653172135353088, 0.2686995267868042, -0.4618361294269562, 0.759799599647522, -0.17553295195102692, 0.16868264973163605, 0.33011722564697266, 0.09814237058162689, -0.09188235551118851, 0.7556278705596924, 0.15032033622264862, 0.22590157389640808, 0.7119861245155334, -0.3948309123516083, 0.5539644956588745, 0.648206353187561, -0.11074907332658768, 0.9676487445831299, -0.16866634786128998, 0.048219721764326096, -0.20578695833683014, -0.12273701280355453, -0.5282163023948669, -0.5876909494400024, 0.38455846905708313, -0.6208834052085876, 0.20877426862716675, -0.16320687532424927, -0.32292649149894714, 0.052146513015031815, -0.5082941055297852, 0.5010740160942078, 0.5651148557662964, -0.6368463635444641, 0.9507441520690918, 0.6286628842353821, -0.3770884871482849, -0.48275819420814514, -0.5030330419540405, -0.10191242396831512, -0.5557361245155334, -0.4991858899593353, -0.36296477913856506, -0.1937575340270996, -0.20399317145347595, -0.02410220168530941, -0.012237755581736565, -0.16325965523719788, -0.05543062463402748, 0.2650088667869568, 0.11146390438079834, 0.2918036878108978, 0.13232944905757904, 0.30715301632881165, -0.3292546570301056, 0.0035706572234630585, 0.5383168458938599, 0.46780523657798767, -0.04691675677895546, -0.32834407687187195, -0.7778017520904541, 0.36131393909454346, 0.7207013964653015, -0.060245875269174576, 0.47889015078544617, 0.5480392575263977, -0.19335371255874634, -0.1411600261926651, -0.5896617770195007, -0.30279409885406494, -0.3989159166812897, 0.38663530349731445, -0.48580729961395264, -0.6646607518196106, 0.5759971141815186, 0.059975169599056244, -0.03505517542362213, -0.18555261194705963, 0.4298873841762543, 0.20967967808246613, 1.6282463073730469, 0.18899285793304443, -0.22322200238704681, 0.7339248657226562, -0.185423344373703, 0.3160174787044525, -0.9729689359664917, -0.1540490984916687, -0.20554818212985992, -0.24343006312847137, -0.4802384078502655, -0.044513680040836334, 0.44881898164749146, -0.2575127184391022, -0.5904159545898438, 0.07821311056613922, -0.5070356130599976, 0.2677745521068573, 0.231283038854599, 0.5296266078948975, 0.15441064536571503, 0.062205132097005844, 0.3794633150100708, -0.18465860188007355, -0.6534814238548279, -0.7128633260726929, 1.1480193138122559, 0.5342713594436646, 0.7952041029930115, 0.0792289599776268, 0.45911407470703125, 0.18536004424095154, 0.7436661720275879, -1.061287760734558, 0.728611171245575, -0.1371767520904541, -0.14900077879428864, -0.39290595054626465, -0.7079252600669861, -0.7243852019309998, 0.1029292643070221, -0.09691018611192703, -0.6331234574317932, 0.12600375711917877, 0.48842689394950867, -0.40768590569496155, 0.07938779145479202, -0.9501101970672607, 0.7977238893508911, 0.04251851886510849, -0.8562373518943787, -0.4694286584854126, -0.6524851322174072, 0.18611426651477814, -0.16208866238594055, -0.03985917568206787, -0.42868301272392273, 0.07156681269407272, 0.5581697225570679, -0.19398047029972076, 0.36637184023857117, -0.5966165065765381, 0.2234381139278412, 0.1834827959537506, 0.31144246459007263, 0.4721425771713257, 0.3936406970024109, -0.5885531306266785, -0.011414007283747196, -0.3000248670578003, -0.38254982233047485, -0.708696722984314, 0.6337525844573975, -0.5561735033988953, -0.21988454461097717, -0.013705453835427761, -0.3566666543483734, -0.43937161564826965, 0.013444941490888596, 0.05480487644672394, 0.5629205703735352, -0.18502596020698547, 0.2730088233947754, 0.4891729950904846, -0.32814711332321167, 0.2874811887741089, 0.23619996011257172, 0.4801475703716278, -0.565609335899353, 0.9025696516036987, 0.07113990932703018, 0.09748504310846329, 0.19085177779197693, 0.28268834948539734, -0.4378178119659424, 0.13405482470989227, -0.46065863966941833, -0.014145012013614178, -0.5849823355674744, -0.5110160708427429, -0.9860903024673462, 0.24000151455402374, -0.14961054921150208, -0.41338106989860535, -0.33978551626205444, -0.10772686451673508, -0.1583845168352127, -0.5268938541412354, 0.6572096347808838, 0.15145528316497803, -0.343247652053833, -0.028352223336696625, -0.9592291116714478, 0.5789158344268799, 0.22112606465816498, 0.5525708794593811, 0.19369971752166748, -0.44924458861351013, -0.14512303471565247, 0.13190878927707672, -0.16672439873218536, -0.5881378650665283, 0.8165030479431152, 0.24862757325172424, 0.47635096311569214, 0.7154122591018677, 0.2067531943321228, 0.7289080023765564, -0.1922585517168045, 0.24189680814743042, 0.323306679725647, -1.0249303579330444, 0.5467180013656616, -0.4117623269557953, -0.16906650364398956, 0.758596658706665, 0.3190971314907074, -0.13331414759159088, -0.13151778280735016, -0.6587262153625488, -0.9057409167289734, 0.9997513890266418, 0.1907797008752823, 0.36082345247268677, -0.041654277592897415, 0.12739484012126923, 0.3304287791252136, 0.10358314961194992, -0.2838744819164276, 0.22881729900836945, -0.2681918740272522, -0.8136025667190552, -0.04470543563365936, -0.20545504987239838, -0.1322782337665558, -0.36102408170700073, 0.2632591724395752, -0.24492919445037842, 0.2952289879322052, 0.3832184672355652, -0.15828436613082886, -0.29762986302375793, 0.09064371883869171, -0.1379242241382599, 0.04502733051776886, -0.2552582621574402, -0.23021632432937622, 0.21650108695030212, -0.6123688817024231, 0.11470703035593033, -0.21214407682418823, 0.1951305866241455, -0.4195326268672943, 0.29320597648620605, 0.7133787870407104, -0.04077685624361038, -1.142594814300537, 0.8288538455963135, -0.21510978043079376, 0.11613547801971436, -0.06933819502592087, 0.14442561566829681, -0.24828654527664185, 0.37350204586982727, -0.17752157151699066, 0.18874841928482056, 0.5025600790977478, -0.5037192702293396, 0.31300464272499084, 0.25664255023002625, -0.17597328126430511, -0.3046683967113495, 0.29956480860710144, 0.25655463337898254, -0.18096697330474854, 0.9587612152099609, 0.14359532296657562, -0.18933025002479553, 0.5113595724105835, -0.042634718120098114, 0.9627314805984497, -0.3747856616973877, 0.20708207786083221, 0.47894975543022156, -0.3513478636741638, -0.2844083309173584, 0.7394291162490845, -0.38274967670440674, -0.9231715798377991, -0.2060137838125229, -0.44100725650787354, -0.48170408606529236, -0.3622836172580719, -1.2975428104400635, 0.0018235864117741585, -0.23178623616695404, -0.46667012572288513, -0.4703614115715027, -0.06255195289850235, -0.9757437109947205, 0.4300706386566162, -0.21669507026672363, 1.1427643299102783, -1.019195556640625, 0.6862830519676208, 0.43674135208129883, -0.23836037516593933, -1.1580171585083008, -0.2913687229156494, -0.21289323270320892, -0.8672094345092773, 0.5154920816421509, 0.4479581117630005, -0.102302685379982, 0.2479415088891983, -0.6330086588859558, -0.31850022077560425, 1.02358078956604, 0.7116118669509888, -0.458251029253006, 0.422140508890152, -0.2941220998764038, 0.5216784477233887, -0.5026246905326843, 0.7040622234344482, 0.7250253558158875, 0.7228062748908997, 0.026552705094218254, -0.5908470749855042, 0.027162820100784302, -0.6281458735466003, -0.29454338550567627, -0.18895266950130463, -0.7542793154716492, 0.3713260889053345, -0.23520171642303467, -0.13470810651779175, 0.15730474889278412, 0.10917104035615921, 0.6146852970123291, 0.7648515701293945, 0.6641947031021118, 0.7861337661743164, 0.5803471207618713, 0.001113595557399094, 0.9292603731155396, -0.42856356501579285, 0.2536567449569702, 0.5385721921920776, -0.5962046980857849, 0.9639842510223389, 0.5862927436828613, 0.280253142118454, -0.06739065796136856, 0.5991436839103699, 0.04530731961131096, 0.5267596244812012, -0.09922857582569122, -0.2538461983203888, -0.5932697057723999, -0.48006415367126465, 0.2921176254749298, 0.7598038911819458, 0.2956218123435974, -0.29819485545158386, 0.08829769492149353, 0.1523188054561615, 0.010731836780905724, 0.16518808901309967, -0.37228646874427795, 0.83867347240448, 0.1605253666639328, -0.6662755012512207, 0.2781769633293152, -0.34246331453323364, 0.3983778953552246, -0.33520805835723877, -0.25574791431427, -0.5061265826225281, 0.04674062505364418, -0.3765646815299988, -0.9269344210624695, 0.12064807862043381, 0.6069877743721008, -0.12089519947767258, -0.5231920480728149, 0.4749549925327301, -0.3181705176830292, -0.0631343424320221, 0.6237955093383789, 0.5884557962417603, 0.16066798567771912, -0.1346791684627533, -0.4703119099140167, 0.3335367441177368, -0.24627685546875, -0.9725282788276672, 0.21021179854869843, 0.7603951692581177, -0.008451608009636402, 1.0378376245498657, 0.5961189866065979, 0.09592189639806747, -0.4884971082210541, 0.2413649559020996, 1.1787221431732178, -0.8262415528297424, -0.4597676992416382, -0.8869934678077698, 0.7916603684425354, -0.3399680554866791, -0.256538450717926, 0.6152748465538025, 0.3744518458843231, 0.47722288966178894, -0.02149997465312481, 0.6711633205413818, -0.09948962926864624, 0.5942602157592773, -0.48545312881469727, 0.5779113173484802, -0.5281471014022827, 0.07294578850269318, -0.4180222451686859, -0.7663222551345825, -0.35907161235809326, 0.9612216353416443, -0.3407973647117615, 0.16205543279647827, 0.20412351191043854, 1.051506757736206, -0.10172193497419357, 0.03321041166782379, 0.531487762928009, 0.241759791970253, 0.1459987610578537, 0.8256253600120544, 0.8482650518417358, -0.06642311066389084, 0.059796832501888275, 0.026520060375332832, -0.6798665523529053, -0.35405412316322327, -0.7158228754997253, -0.6149579882621765, -0.32493817806243896, -0.03604239597916603, -0.09409204870462418, -0.11366239935159683, 1.2506554126739502, 0.7546436190605164, -0.4159412980079651, 0.12193484604358673, -0.09485649317502975, -0.12307186424732208, -0.1266135424375534, -0.19672615826129913, 0.46900302171707153, 0.1657087504863739, -0.9190423488616943, 0.10849439352750778, 0.45935526490211487, -0.28479424118995667, 0.3478555679321289, -0.5769674181938171, 0.298722505569458, 0.3145570456981659, 0.6987901329994202, 0.07302846759557724, -0.22494161128997803, -0.23463432490825653, 0.2111094743013382, -0.1796785444021225, -0.02118527516722679, 0.541881799697876, -0.44998595118522644, 0.5519809722900391, 0.47885456681251526, 0.4902920424938202, -0.11067518591880798, 0.4734891653060913, 0.5567942261695862, -0.17492333054542542, 0.010883382521569729, 0.5549843311309814, 0.3510388433933258, 0.34240031242370605, -0.5505859851837158, 0.6389868259429932, -0.042751096189022064, -0.5417323708534241, -1.145658016204834, 0.33614078164100647, -1.3605847358703613, 0.2499087154865265, 1.4316247701644897, -0.37523704767227173, -0.15231218934059143, -0.004043457098305225, -0.6939926743507385, 0.4181682765483856, -0.8096926808357239, 0.8208957314491272, 0.28041186928749084, -0.48337283730506897, -0.3403855860233307, -0.3102627396583557, 0.44186022877693176, 0.49022695422172546, -0.5588908791542053, 0.26814863085746765, 0.5652592778205872, 0.07786576449871063, -0.46229565143585205, 0.7045720815658569, -0.04298042505979538, 0.16462495923042297, -0.0010920421918854117, 0.018129194155335426, -0.10651376098394394, -0.29033640027046204, -0.43678560853004456, 0.23219621181488037, -0.07269202917814255, -0.17783643305301666 ]
http://arxiv.org/abs/2407.01929v1
http://arxiv.org/pdf/2407.01929v1
What We Talk About When We Talk About LMs: Implicit Paradigm Shifts and the Ship of Language Models
2024-07-02T03:45:55
2024-07-02T03:45:55
Shengqi Zhu, Jeffrey M. Rzeszotarski
cs.CL
cs.CL, cs.AI
The term Language Models (LMs), as a time-specific collection of models of interest, is constantly reinvented, with its referents updated much like the $\textit{Ship of Theseus}$ replaces its parts but remains the same ship in essence. In this paper, we investigate this $\textit{Ship of Language Models}$ problem, wherein scientific evolution takes the form of continuous, implicit retrofits of key existing terms. We seek to initiate a novel perspective of scientific progress, in addition to the more well-studied emergence of new terms. To this end, we construct the data infrastructure based on recent NLP publications. Then, we perform a series of text-based analyses toward a detailed, quantitative understanding of the use of Language Models as a term of art. Our work highlights how systems and theories influence each other in scientific discourse, and we call for attention to the transformation of this Ship that we all are contributing to.
[ -0.20174351334571838, -0.7254660129547119, 0.794089138507843, 0.08807811141014099, -0.15063346922397614, 0.2427331656217575, -0.05478215962648392, -0.6360512375831604, 0.11555728316307068, 0.6727584004402161, -0.6038550138473511, -0.12449585646390915, -0.6143398284912109, 0.40983662009239197, -0.6961690187454224, 1.1053498983383179, 0.0010312128579244018, 0.23947355151176453, -0.10729668289422989, -0.29103970527648926, -0.4424169361591339, 0.03322259709239006, -0.5361807942390442, -0.4594915211200714, 0.7551923394203186, -0.19131790101528168, 0.914713442325592, 0.8627985119819641, 0.3836513161659241, 0.29203131794929504, -0.41553884744644165, 0.05939209833741188, -0.23543842136859894, 0.4260254204273224, -0.25436633825302124, -0.71315997838974, -0.4576776623725891, -0.0665985643863678, 0.962165355682373, 1.124385952949524, -0.0014475201023742557, 0.38274240493774414, -0.0355701670050621, 0.6341025233268738, -0.21782590448856354, 0.2817581295967102, -0.8293765187263489, -0.01845131814479828, -0.04354395717382431, -0.332120805978775, -0.37593144178390503, -0.25565439462661743, 0.30004754662513733, -0.6500036716461182, 0.07270561158657074, 0.3445379137992859, 0.7940343618392944, 0.10668277740478516, -0.28977006673812866, -0.21995824575424194, -0.9735081791877747, 0.7348676919937134, -0.8624444007873535, 0.5892333388328552, -0.37147244811058044, 0.24714267253875732, -0.550948441028595, -1.0604051351547241, -0.6344160437583923, -0.4944511950016022, 0.17495930194854736, -0.13735899329185486, -0.2096618264913559, -0.30158743262290955, 0.08622612804174423, -0.03666176274418831, -0.40743598341941833, 0.14091739058494568, -0.6130507588386536, 0.2805769145488739, 0.5808217525482178, 0.12091907858848572, 0.5341829657554626, 0.0047211251221597195, -0.28350162506103516, 0.10485021770000458, -1.0413262844085693, -0.3612325191497803, -0.24348647892475128, 0.38193678855895996, -0.016777100041508675, 0.43817123770713806, 0.043981634080410004, 0.5766009092330933, -0.17465348541736603, 0.14645345509052277, 0.05422009527683258, -0.03645213693380356, -0.2574998736381531, -0.055345404893159866, 0.7862385511398315, 0.2451288104057312, 0.21451371908187866, -0.2045348584651947, -0.07487449049949646, 0.08913059532642365, 0.4183196425437927, -0.3087712526321411, -0.06592630594968796, 0.0596119724214077, -0.36462119221687317, -0.3560333549976349, -0.1964348554611206, -0.5071855187416077, -0.4312744438648224, -0.48464319109916687, 0.2376226782798767, -0.12142391502857208, -0.34087246656417847, 0.3056134581565857, 0.04099581763148308, 0.04962857812643051, 0.3172205984592438, -0.6912622451782227, 0.27201592922210693, 0.8399755954742432, 1.098970651626587, -0.10583565384149551, -0.04852815344929695, 0.15034803748130798, 0.2790306508541107, -0.5839173197746277, 0.904806911945343, -0.45591795444488525, -0.8118354678153992, 0.03865639492869377, 0.4569501280784607, 0.021161895245313644, -0.08131413161754608, 0.38790443539619446, -0.6273060441017151, 0.467451810836792, -0.35068878531455994, -0.5121537446975708, -0.10020973533391953, -0.10689675062894821, -0.5812985897064209, 1.0459882020950317, -0.3008520007133484, -0.473217636346817, 0.19151927530765533, -1.0672074556350708, 0.054445281624794006, 0.5020036697387695, -0.20960864424705505, -0.28656870126724243, 0.4959102272987366, -0.3040292263031006, 0.2715878188610077, -0.4036523997783661, 0.4219343066215515, -0.46499961614608765, -0.16902343928813934, 0.46778562664985657, 0.14050839841365814, 0.5363072156906128, 0.4326348900794983, -0.3482690155506134, -0.1333700269460678, -0.7428036332130432, -0.029740160331130028, 0.14121775329113007, -0.1024920791387558, -0.7964464426040649, 0.5975415110588074, -0.14622561633586884, 0.2209765464067459, 0.2347424477338791, -0.5945972800254822, 0.6768960952758789, -0.38352060317993164, 0.6840803027153015, 0.866917610168457, -0.12951484322547913, 0.675477921962738, -0.3716870844364166, 0.30569329857826233, -0.2051742672920227, 0.2702287435531616, -0.22681666910648346, -0.7968676090240479, -0.9815697073936462, 0.16554373502731323, 0.117952361702919, 0.2581601142883301, -0.6187405586242676, -0.04991820827126503, -0.6877562403678894, -0.472806841135025, -0.5053121447563171, -0.3089412748813629, -0.19071470201015472, 0.2774233818054199, 0.37785619497299194, 0.046812284737825394, -0.5376649498939514, -0.8551363348960876, -0.4033088684082031, -0.505959153175354, -0.03040238283574581, 0.19034574925899506, 0.580725908279419, -0.4408699870109558, 1.0827637910842896, -0.3898427486419678, 0.49953386187553406, 0.17848047614097595, 0.2561856508255005, 0.1561257392168045, 0.5286433100700378, 0.5236047506332397, -0.5984033942222595, -0.14411118626594543, 0.11631239950656891, -0.9250609874725342, -0.36530107259750366, -0.23203913867473602, -0.07456664741039276, 0.3177710473537445, 0.8817635178565979, -0.6191591024398804, -0.11338143050670624, 0.48228031396865845, -0.5445273518562317, 0.368709534406662, -0.11705111712217331, -0.017591707408428192, -1.1418046951293945, -0.007734718732535839, -0.1337730884552002, 0.10343469679355621, -0.7550989389419556, 0.19809208810329437, -0.04472280293703079, 0.13368654251098633, -0.4524681866168976, 0.7546021938323975, -0.696142852306366, -0.0028124514501541853, -0.4554259181022644, 0.24635693430900574, -0.23143894970417023, -0.02577146515250206, 0.2523779273033142, 0.03649476543068886, 0.4843778908252716, -0.7836621403694153, 0.059481389820575714, 0.061823952943086624, -0.04051988944411278, 0.44752034544944763, -0.7396070957183838, 0.3482837975025177, -0.5868166089057922, 0.2795311510562897, -1.0062363147735596, 0.4360116720199585, 0.2841734290122986, -0.049465328454971313, 0.15032245218753815, -0.13256655633449554, -0.2531276047229767, -0.26023492217063904, -0.019944703206419945, 0.14367693662643433, 0.4062524437904358, -0.26684772968292236, 0.5849171876907349, 0.16123609244823456, -0.6310203671455383, -0.45231232047080994, -0.491097629070282, 0.32195770740509033, -0.16552536189556122, -0.5820671319961548, 0.19296225905418396, -0.24627874791622162, -0.7651798129081726, 0.21873849630355835, -0.15243223309516907, 0.42182859778404236, 0.21291320025920868, 0.2782539427280426, 0.5842304229736328, -0.6116280555725098, 0.4613078832626343, 0.16581162810325623, 0.1658911108970642, 0.17900890111923218, -0.7576376795768738, 0.4820080101490021, -0.14537949860095978, 0.08321394771337509, 0.01875322498381138, 0.3186763525009155, 0.7396827340126038, 0.13914702832698822, 0.9628577828407288, 0.19999252259731293, -0.18073029816150665, -0.2208033800125122, -0.3582254946231842, -0.12251690030097961, -0.4623579680919647, 0.4693300426006317, -0.38174009323120117, -0.9250742793083191, 0.42866742610931396, -0.23416632413864136, 0.5155293345451355, 0.6491063833236694, 0.2721329927444458, -0.33656173944473267, 0.9447098970413208, 0.9618249535560608, 0.23202021420001984, 0.39710450172424316, 0.02142171375453472, 0.11312557011842728, -0.8314208388328552, -0.2810514271259308, -0.8100510835647583, -0.1878148764371872, -0.8963474631309509, -0.3977252244949341, 0.2657943367958069, -0.029716091230511665, -0.3840579390525818, 0.4008414149284363, -0.440964013338089, 0.083971306681633, -0.2217831164598465, -0.30373239517211914, 0.5212556719779968, -0.11131544411182404, 0.1046062633395195, -0.12499619275331497, -0.7270241379737854, -0.9796833395957947, 1.3582571744918823, 0.6050218343734741, 0.6330698132514954, 0.17627912759780884, 0.3405002951622009, 0.41582414507865906, 0.8752581477165222, -0.39008209109306335, 0.7224284410476685, 0.06356044858694077, -0.4359690845012665, -0.22745637595653534, -0.29496973752975464, -1.1432279348373413, 0.44672930240631104, -0.3008251488208771, -0.6286119818687439, 0.34187930822372437, -0.18393242359161377, 0.11588959395885468, 0.34464728832244873, -0.2551850378513336, 0.479301780462265, -0.35341522097587585, -0.27434664964675903, -0.16754266619682312, -0.5911195874214172, 0.41180557012557983, -0.2534925937652588, 0.7562242150306702, -0.31360211968421936, -0.47569337487220764, 0.743995189666748, -0.12837420403957367, 0.8281864523887634, 0.024421678856015205, -0.8614693880081177, -0.06976296752691269, 0.42681601643562317, 0.45262548327445984, 0.15407036244869232, 0.20749694108963013, 0.20505274832248688, 0.2619797885417938, -0.32226961851119995, -0.5506103038787842, 0.921157717704773, -0.5461398363113403, -0.5746598839759827, -0.5042372345924377, -0.6014307737350464, -0.15563926100730896, -0.01310846209526062, -0.20740479230880737, 0.1122811958193779, -0.4196833372116089, -0.19653970003128052, 0.7232619524002075, -0.2686541974544525, 0.5507039427757263, 1.0492346286773682, -0.5193667411804199, 0.32863521575927734, 0.4565355181694031, -0.036888621747493744, 0.4153592884540558, 0.2905948758125305, 0.10729078203439713, -0.3640647530555725, -0.3952798545360565, -0.2084774374961853, 0.6052142381668091, -0.6915614008903503, 0.4008638560771942, -0.7639248371124268, 0.0894632637500763, -0.24508841335773468, -0.07102587819099426, -0.37966716289520264, -0.5430223941802979, -0.3018079996109009, 0.20925699174404144, 0.2591606080532074, 1.208337664604187, 0.2162432223558426, 0.15880049765110016, -0.6436024904251099, 0.01511866133660078, 0.1097407191991806, 0.2307291179895401, -0.20098140835762024, -0.7605022192001343, -0.22561846673488617, 0.28297722339630127, -0.07909384369850159, -0.8900234699249268, 0.396119087934494, 0.37258535623550415, 0.49334579706192017, 0.1187896877527237, -0.4310956597328186, 0.36479154229164124, -0.9601757526397705, 1.0237501859664917, 0.03810455650091171, -0.8876711130142212, 0.27808788418769836, -0.5709283947944641, 0.5292271375656128, -0.17976593971252441, 0.5756743550300598, -1.1031845808029175, -0.5607854723930359, -0.7803680896759033, -0.7866849303245544, 0.1756761223077774, -0.19540557265281677, 0.21557298302650452, 0.11023066192865372, 0.6839395761489868, 0.16240060329437256, 0.3331403434276581, -1.0298798084259033, -0.3568936884403229, -0.22555799782276154, -0.002708864863961935, -0.332210898399353, 0.027536330744624138, -0.06237947940826416, -0.19135816395282745, 0.7264949679374695, -0.2619355320930481, 0.28336405754089355, -0.04191316291689873, -0.04718635231256485, -0.1710992157459259, 0.5310779809951782, 0.8737661838531494, 0.5969763398170471, 0.12024696916341782, 0.22773653268814087, -0.01222278643399477, -0.3225954473018646, 0.09098420292139053, -0.10010775923728943, -0.37404993176460266, 0.4265900254249573, 0.33470258116722107, 0.9095447659492493, 0.5017277598381042, -0.4488218426704407, -0.30896249413490295, 0.2061799019575119, -0.07805538922548294, -0.24334843456745148, -0.12953568994998932, 0.25869220495224, 0.417150616645813, 0.5262426137924194, 0.20069487392902374, 0.005519662518054247, -0.8603131771087646, -0.0831519216299057, 0.38873398303985596, -0.39390459656715393, -0.5401775240898132, 0.8429083824157715, 0.07800459861755371, -0.37957364320755005, -0.01546584814786911, 0.12925103306770325, -0.24415427446365356, 0.14733174443244934, 0.6042894124984741, 0.9312000274658203, -0.38044270873069763, 0.5452276468276978, 0.09586495161056519, 0.4169992506504059, -0.5155172348022461, 0.12106397747993469, 0.13867461681365967, -0.8329598903656006, -0.45006075501441956, -0.7830883264541626, -0.1759088635444641, 0.2188488394021988, -0.2805479168891907, 0.3155391812324524, -0.2710331976413727, -0.2045670598745346, 0.1656017005443573, -0.5278323292732239, -0.1892382949590683, -0.10384013503789902, 0.4982398748397827, 0.7163998484611511, -0.9058571457862854, 0.6357804536819458, 0.945790708065033, -0.12010936439037323, -0.2046477496623993, -0.2589495778083801, 0.05200541019439697, -0.4854015111923218, 1.095473051071167, -0.4647466540336609, -0.32134443521499634, 0.02525697462260723, -0.9614097476005554, -1.2594034671783447, 0.765090823173523, 0.26445916295051575, -0.939245879650116, -0.12779904901981354, 0.17309342324733734, 0.9836573600769043, -0.5367121696472168, 0.016047324985265732, 0.5024469494819641, 0.5648124814033508, -0.4432542026042938, -0.9640212655067444, 0.07778769731521606, -0.33763837814331055, 0.278338223695755, 0.4678245186805725, -0.35165491700172424, 1.1267039775848389, -0.08875716477632523, -0.42341867089271545, 0.2675663232803345, 0.6908226609230042, 0.13466252386569977, 0.018171541392803192, 0.20264063775539398, 0.047145236283540726, 0.44188493490219116, -0.3115835189819336, 0.9309333562850952, -0.14570647478103638, 0.420402467250824, 0.7095900177955627, -0.3691287934780121, 0.8732455968856812, 0.7591900825500488, -0.33302274346351624, 1.0078035593032837, 0.29114001989364624, -0.130350261926651, 0.16138173639774323, 0.5208100080490112, -0.21724562346935272, -0.024178186431527138, 0.15144465863704681, -0.4884382486343384, 0.2524617314338684, 0.600248396396637, -0.48132631182670593, -0.18324130773544312, 0.014063578099012375, 0.39158353209495544, 0.08740194141864777, -0.3381607234477997, 0.6346034407615662, 0.28060182929039, -0.6374892592430115, 0.8315823674201965, -0.001065513351932168, 0.6029950976371765, -0.7141686081886292, 0.03538266196846962, -0.1353023797273636, -0.012164140120148659, -0.054406359791755676, -0.4369906485080719, -0.00006498218863271177, -0.2558005154132843, -0.025426741689443588, -0.30357348918914795, 0.24166561663150787, -0.649685800075531, -0.5316616296768188, 0.1758643388748169, 0.7139562368392944, 0.1912560611963272, 0.33940058946609497, -0.7308739423751831, 0.22495633363723755, -0.12086667865514755, -0.15902407467365265, 0.1327570676803589, 0.21989230811595917, -0.31255438923835754, 0.9405584335327148, 0.5737133622169495, 0.44447964429855347, 0.29105159640312195, -0.1260836124420166, 0.3983771502971649, -0.7822668552398682, -0.38277748227119446, -0.8727893233299255, 0.3687245845794678, -0.05579626187682152, -0.26092225313186646, 0.677761971950531, 0.24353928864002228, 0.45721474289894104, -0.4481089413166046, 0.9258208870887756, -0.11348804831504822, 0.3696034848690033, -0.6622718572616577, 0.9470834136009216, -0.6813331842422485, 0.5921168327331543, -0.6772434115409851, -0.9503870010375977, -0.18787063658237457, 0.25901952385902405, -0.042113956063985825, -0.22269299626350403, 0.9445763230323792, 0.46464598178863525, 0.2272021621465683, 0.4379507303237915, -0.01590672694146633, 0.5343108773231506, 0.3747817873954773, 0.17122843861579895, 1.1335852146148682, -0.44445839524269104, -0.011190720833837986, 0.37504103779792786, 0.04077906906604767, -0.14322450757026672, -1.0067191123962402, -0.46218013763427734, -0.9370439648628235, -0.7583845853805542, -0.08502313494682312, 0.35655421018600464, 0.6997931003570557, 0.41779986023902893, -0.7255629301071167, -0.5700264573097229, -0.27964910864830017, -0.22182391583919525, -0.1772802621126175, -0.19600847363471985, 0.3420793116092682, -0.37013280391693115, -0.7700139284133911, 0.6498377323150635, 0.3916091322898865, 0.3837435245513916, -0.6212857961654663, 0.06125430762767792, -0.3937382102012634, 0.48893043398857117, 0.7504090070724487, 0.7024934887886047, -0.7576394081115723, -0.489961177110672, 0.1955723911523819, 0.02148902788758278, -0.22124217450618744, 0.931617796421051, -0.7979285717010498, 0.26365193724632263, 0.17885155975818634, 0.3190540075302124, 0.43960508704185486, -0.5109427571296692, 0.9837589859962463, -0.38471561670303345, 0.09280244261026382, 0.10814071446657181, 0.5001769661903381, 0.272257000207901, 0.21277517080307007, 0.42058470845222473, 0.6369071006774902, -0.4835231900215149, -1.3986899852752686, 0.32216960191726685, -0.7846158742904663, -0.7108032703399658, 1.0255546569824219, 0.33462899923324585, -0.2603702247142792, -0.21080425381660461, -0.034112777560949326, 0.07707734405994415, -0.11425373703241348, 1.0296519994735718, 0.6547369360923767, -0.17858628928661346, -0.30820056796073914, -0.6503586173057556, 0.7200226187705994, 0.47952717542648315, -0.5859203934669495, -0.13135963678359985, 0.33913618326187134, 0.5113898515701294, 0.6193956732749939, 0.24806536734104156, -0.2875361442565918, -0.10020657628774643, -0.32060450315475464, 0.22027377784252167, 0.2734255790710449, -0.2786032259464264, -0.3399391770362854, 0.1018630787730217, 0.07062482833862305, 0.19075685739517212 ]
http://arxiv.org/abs/2407.01920v1
http://arxiv.org/pdf/2407.01920v1
To Forget or Not? Towards Practical Knowledge Unlearning for Large Language Models
2024-07-02T03:34:16
2024-07-02T03:34:16
Bozhong Tian, Xiaozhuan Liang, Siyuan Cheng, Qingbin Liu, Mengru Wang, Dianbo Sui, Xi Chen, Huajun Chen, Ningyu Zhang
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG, cs.MM
Large Language Models (LLMs) trained on extensive corpora inevitably retain sensitive data, such as personal privacy information and copyrighted material. Recent advancements in knowledge unlearning involve updating LLM parameters to erase specific knowledge. However, current unlearning paradigms are mired in vague forgetting boundaries, often erasing knowledge indiscriminately. In this work, we introduce KnowUnDo, a benchmark containing copyrighted content and user privacy domains to evaluate if the unlearning process inadvertently erases essential knowledge. Our findings indicate that existing unlearning methods often suffer from excessive unlearning. To address this, we propose a simple yet effective method, MemFlex, which utilizes gradient information to precisely target and unlearn sensitive parameters. Experimental results show that MemFlex is superior to existing methods in both precise knowledge unlearning and general knowledge retaining of LLMs. Code and dataset will be released at https://github.com/zjunlp/KnowUnDo.
[ -0.27122658491134644, -0.5113420486450195, 0.3416799008846283, -0.032719455659389496, -0.14030034840106964, 0.07974303513765335, -0.3566441237926483, -0.12473952025175095, -0.36027467250823975, 0.6105113625526428, -0.5734286308288574, -0.48553040623664856, -0.5045602917671204, -0.30331090092658997, -0.3223852515220642, 1.0387353897094727, 0.019507018849253654, -0.09212524443864822, -0.21860195696353912, -0.37406817078590393, -0.31663253903388977, -0.36303651332855225, -0.5475229620933533, -0.5451455116271973, 0.5626195669174194, 0.5289559960365295, 0.3608720302581787, 0.42261049151420593, -0.143931582570076, 0.27324098348617554, -0.36012130975723267, 0.32792311906814575, -0.8721446990966797, -0.01203121431171894, -0.5461556911468506, -0.45113739371299744, -0.18929076194763184, -0.25188565254211426, 0.7115800976753235, 1.0701431035995483, -0.4220481514930725, 0.15515615046024323, 0.1904977560043335, 0.859748899936676, -1.0913846492767334, -0.11585649847984314, -0.7012088298797607, 0.18046855926513672, 0.06884647905826569, -0.2116398960351944, -0.3359273374080658, -0.23732012510299683, 0.05703466758131981, -0.6427792906761169, 0.21883267164230347, 0.17870549857616425, 0.5259065628051758, 0.24995389580726624, -0.16992056369781494, -0.3036611080169678, -0.7738310098648071, 1.0745222568511963, -0.7330008149147034, 0.5917481184005737, 0.49452799558639526, 0.24343430995941162, -0.27030858397483826, -0.5832422375679016, -0.4397023320198059, 0.2382708340883255, 0.23204125463962555, 0.03667927905917168, -0.3716757893562317, -0.21275345981121063, 0.35868608951568604, 0.18106982111930847, -0.4049023985862732, 0.1847529411315918, -0.6435128450393677, -0.3890529274940491, 0.34345531463623047, -0.13396218419075012, 0.06799177825450897, 0.12060829252004623, -0.6559187769889832, -0.019099444150924683, -1.1712778806686401, -0.06653451919555664, 0.392654150724411, -0.1480851173400879, 0.10594119131565094, 0.37114787101745605, -0.07591036707162857, 0.5058606266975403, -0.20202405750751495, -0.15124370157718658, 0.4592278301715851, 0.213134765625, -0.2218964397907257, -0.10243000835180283, 0.7365670204162598, 0.17046096920967102, 0.6226260662078857, -0.6618461608886719, -0.3251437246799469, -0.6810676455497742, 0.1814180314540863, -0.5433201193809509, 0.003910240717232227, 0.3068045675754547, -0.14050622284412384, 0.32678860425949097, -0.12223459780216217, -0.7037128210067749, -0.377400666475296, -0.4469311535358429, 0.3728313744068146, -0.6830093860626221, -0.3543059527873993, 0.08182651549577713, -0.21949312090873718, 0.08937240391969681, 0.4689471125602722, -0.802955687046051, 0.2828386127948761, 0.6462047100067139, 0.5262778401374817, 0.10210935771465302, -0.616978108882904, -0.5647269487380981, 0.33064594864845276, -0.31412217020988464, 0.3174177408218384, -0.49795782566070557, -0.31907111406326294, 0.07447605580091476, -0.1267329454421997, 0.008221848867833614, -1.0071028470993042, 0.40351542830467224, -0.7750179171562195, 0.15095968544483185, -0.3447033166885376, -1.01619291305542, -0.41482484340667725, 0.17808912694454193, -0.5185508728027344, 0.7193576693534851, 0.339223176240921, -0.5831462740898132, 0.24637743830680847, 0.08558148145675659, -0.2137288898229599, -0.08977824449539185, -0.160850390791893, -0.5357208251953125, 0.06403730809688568, -0.16734939813613892, 0.7516012191772461, -0.24645458161830902, 0.653881847858429, -0.55849689245224, -0.3994973599910736, 0.35819941759109497, -0.29828813672065735, 0.7500755190849304, 0.3561752438545227, -0.30361923575401306, -0.28607624769210815, -0.8950284123420715, -0.05944475904107094, -0.00860267411917448, -0.5134619474411011, -0.5156305432319641, -0.21829041838645935, -0.2303977757692337, 0.22442567348480225, 0.28110748529434204, -0.5993964076042175, -0.2118101865053177, -0.1512909233570099, 0.5128781199455261, 1.0310921669006348, -0.024971557781100273, 0.6783897876739502, -0.5174713730812073, 0.29194849729537964, 0.04831394925713539, -0.0008114064112305641, -0.10926607996225357, -0.11304176598787308, -0.7201652526855469, -0.2784426510334015, 0.1690107136964798, 0.3535853624343872, -0.5956299304962158, 0.40821850299835205, -0.10526351630687714, -0.3276955783367157, -0.2599787414073944, 0.7793086767196655, 0.8018773794174194, 0.6676365733146667, 0.3577083945274353, 0.04368073493242264, -0.2871764898300171, -0.7228806614875793, -0.5200851559638977, 0.18171943724155426, -0.1909244805574417, 0.4074048399925232, 0.46723440289497375, -0.16802598536014557, 0.7473796606063843, -0.4381936490535736, -0.5730796456336975, -0.09398140758275986, 0.16886001825332642, -0.09675628691911697, 0.4650600552558899, 0.35113993287086487, -0.6175422072410583, 0.008993004448711872, -0.13238433003425598, -1.0266404151916504, 0.15330402553081512, 0.08497009426355362, 0.16145844757556915, 0.1896594762802124, 0.7560827136039734, -0.3385266065597534, 0.05958586186170578, 0.3950205147266388, -0.14128170907497406, 0.2914927899837494, -0.670330822467804, -0.05854134261608124, -0.7883023619651794, 0.39600351452827454, -0.3489990830421448, -0.2901792824268341, -0.6075729131698608, -0.19894467294216156, 0.38741737604141235, -0.030881699174642563, -0.7503563165664673, 0.919078528881073, -0.7019915580749512, 0.13632868230342865, -0.1381721943616867, 0.11686846613883972, 0.014424742199480534, 0.823517382144928, -0.04019559174776077, 0.6339625120162964, 0.34717950224876404, -0.888229489326477, -0.1723613142967224, 0.09786578267812729, -0.30682405829429626, 0.2972269058227539, -0.3655206859111786, 0.3869049847126007, -0.2973337173461914, -0.31143903732299805, -0.8187381029129028, 0.13102945685386658, 0.03066260926425457, -0.3728109300136566, 0.631064236164093, -0.15379880368709564, -0.6630449295043945, -0.06638374924659729, -0.438972532749176, 0.5298678278923035, 0.5884479284286499, -0.6391952633857727, 0.43709495663642883, 0.5766482353210449, 0.021168550476431847, -1.0084095001220703, -0.45728278160095215, -0.16021431982517242, -0.33805230259895325, -0.29138997197151184, 0.00856997910887003, -0.10264620929956436, -0.062949039041996, -0.08070853352546692, -0.14149832725524902, -0.22800514101982117, 0.10607462376356125, 0.25729092955589294, -0.16657601296901703, 0.145525723695755, 0.4661840796470642, 0.06947272270917892, -0.17058025300502777, 0.00883480254560709, -0.40611231327056885, 0.5206812024116516, -0.004852020647376776, -0.2827926278114319, 0.015164474956691265, 0.08617459237575531, 0.39033767580986023, -0.1422249972820282, 0.7342687249183655, 0.42453569173812866, -0.6071828603744507, -0.8043228387832642, -0.7951712608337402, -0.07674475014209747, -0.48320236802101135, 0.3026581108570099, -0.10171632468700409, -1.137339472770691, 0.7182959914207458, -0.6070050597190857, 0.07719997316598892, 0.09571640938520432, 0.24545252323150635, -0.11302497237920761, 0.3467421233654022, 0.8044988512992859, -0.21028481423854828, 0.24988088011741638, -0.39475294947624207, 0.21103504300117493, -0.9072809219360352, -0.39801597595214844, -0.37515485286712646, -0.2055106908082962, -0.16015054285526276, -0.44729459285736084, 0.14502055943012238, 0.38045260310173035, -0.46715685725212097, 0.16577288508415222, -0.07075732946395874, 0.5292744636535645, 0.6643399000167847, 0.18048113584518433, 0.48528096079826355, 0.05508283153176308, -0.11414159089326859, -0.02577713131904602, -0.7439613342285156, -0.3747139871120453, 1.4871963262557983, 0.12772400677204132, 0.8083813190460205, 0.07393795251846313, 0.6518692970275879, 0.4026986062526703, 0.22461074590682983, -0.39514485001564026, 0.3544257581233978, -0.13945117592811584, -0.5723056197166443, -0.45956918597221375, -0.7554749250411987, -1.001624584197998, 0.029335975646972656, -0.041359733790159225, -0.7140551805496216, 0.23000210523605347, 0.35179898142814636, -0.2709294557571411, 0.7660533785820007, -0.5644294619560242, 0.6588532328605652, -0.03652211278676987, -0.7049785852432251, -0.19663946330547333, -0.3875603675842285, 0.32247447967529297, -0.5662861466407776, 0.544884979724884, -0.2884671092033386, -0.212554469704628, 0.9779937267303467, -0.4411352872848511, 0.9739758968353271, -0.23651397228240967, -0.11625464260578156, 0.3353055715560913, 0.15162989497184753, 0.38394439220428467, -0.043219320476055145, -0.225274458527565, 0.32139673829078674, -0.21086597442626953, -0.39239856600761414, -0.4705715477466583, 0.7768511176109314, -0.6717045307159424, -0.3132585883140564, -0.1265202909708023, -0.3823493719100952, -0.3679719865322113, 0.43897393345832825, 0.36705154180526733, 0.19458848237991333, -0.3530443608760834, 0.030505485832691193, 1.1472922563552856, -0.38517338037490845, 0.5108248591423035, 0.9053869843482971, 0.10150393843650818, -0.45821577310562134, 1.2699894905090332, 0.33935225009918213, 0.1489904373884201, 0.6106765270233154, 0.1311648041009903, -0.25853458046913147, -0.5163925290107727, -0.3102092742919922, 0.6597675681114197, -0.8690847754478455, -0.33825021982192993, -0.565995454788208, -0.049618370831012726, -0.08306369185447693, -0.14578333497047424, -0.6461698412895203, -0.27057453989982605, -0.3530171811580658, -0.004219408147037029, 0.21888969838619232, 0.6893719434738159, -0.18048319220542908, 0.208955779671669, -0.7749094367027283, 0.14508379995822906, 0.14768099784851074, 0.6400100588798523, 0.32967790961265564, -0.7252046465873718, -0.09603019803762436, 0.08168483525514603, -0.2586786448955536, -0.27706223726272583, 0.34521496295928955, 0.2822149693965912, 0.8407642245292664, 0.6959433555603027, 0.2605278789997101, 0.2629624605178833, -0.5105233192443848, 0.18677064776420593, 0.5014705657958984, -0.9672812819480896, 0.3690471053123474, -0.3426281213760376, 0.3161403238773346, 0.5723201036453247, 0.49512237310409546, -0.5544118285179138, -0.38402870297431946, -0.8595684766769409, -0.9282709360122681, 0.5615714192390442, -0.25298985838890076, 0.21676358580589294, 0.2126287817955017, 0.6020047068595886, 0.4682505428791046, 0.6441311240196228, -0.3627552390098572, -0.33136188983917236, 0.18252849578857422, -0.10205435007810593, -0.29002970457077026, -0.5019777417182922, -0.12493245303630829, 0.03611917421221733, 0.5737359523773193, 0.12002119421958923, -0.08954256772994995, -0.05148360878229141, -0.4920525848865509, -0.11338218301534653, 0.4168989360332489, 0.49028098583221436, 1.1352218389511108, -0.27849259972572327, 0.26496919989585876, 0.26522377133369446, -0.45592358708381653, 0.14291024208068848, -0.22509245574474335, -0.4086935222148895, -0.29289841651916504, 0.4543079435825348, 0.2884911000728607, 0.5415374636650085, -1.1820012331008911, 0.6600886583328247, 0.13765186071395874, -0.4832564890384674, -0.5546421408653259, 0.3029712736606598, 0.273700088262558, 0.11443372815847397, 0.15732626616954803, 0.1255481243133545, 0.11865448206663132, -0.5368798971176147, 0.4376775324344635, 0.2916964888572693, -0.6015381217002869, -0.33158648014068604, 0.7328609228134155, -0.04285319149494171, 0.03410173952579498, 0.6568729281425476, -0.03223622590303421, -0.33438876271247864, 0.32183557748794556, 0.3610740900039673, 0.5642125606536865, -0.456156462430954, 0.0371306873857975, 0.3085108995437622, 0.20789465308189392, -0.2477015107870102, 0.13081862032413483, -0.12136147916316986, -0.7170936465263367, -0.10504306852817535, -0.4075106382369995, -0.33176684379577637, 0.5251332521438599, -0.5651630163192749, 0.1001020148396492, -1.0082865953445435, 0.19560670852661133, -0.05023837462067604, -0.08680865168571472, -0.7308200001716614, 0.24013027548789978, 0.02025926299393177, 0.8269026875495911, -0.7828319668769836, 0.6679361462593079, 0.4273804724216461, -0.31506621837615967, -0.8217916488647461, -0.31306785345077515, 0.12256243824958801, -1.0368931293487549, 0.3403889536857605, 0.003829715307801962, -0.23585696518421173, -0.1128484383225441, -0.541301429271698, -0.6393705606460571, 0.9863957166671753, 0.6677057147026062, -0.7653087377548218, 0.4444977641105652, 0.18191014230251312, 0.3372233211994171, -0.0767742320895195, 0.05322724208235741, 0.43087249994277954, 0.24714259803295135, 0.2102409452199936, -0.5640476942062378, 0.07552804052829742, -0.1777271181344986, -0.40150195360183716, 0.20913206040859222, -0.7558457255363464, 0.9577995538711548, -0.5153495073318481, -0.10940085351467133, -0.15365059673786163, 0.3196944296360016, -0.023666774854063988, 0.46952736377716064, 0.34855660796165466, 0.7272052764892578, 1.3276249170303345, 0.1640872359275818, 0.6783301830291748, -0.05496341735124588, 0.3125937879085541, 1.3185393810272217, -0.15994472801685333, 0.7664465308189392, 0.41191816329956055, -0.00701384199783206, -0.19856655597686768, 0.28365644812583923, 0.09499038755893707, 0.5295996069908142, 0.4849996864795685, -0.3308163583278656, -0.25339436531066895, 0.1514381468296051, -0.29617995023727417, 0.24757714569568634, 0.2629956305027008, -0.25997281074523926, -0.4156091809272766, 0.07786636054515839, 0.6738296151161194, 0.2761300504207611, -0.3476085066795349, 1.0096956491470337, 0.311678409576416, -0.6309978365898132, 1.026686429977417, -0.02929142862558365, 0.391135573387146, -0.7222592234611511, 0.01432062964886427, -0.5340248346328735, 0.7912386059761047, -0.18258988857269287, -0.6777629256248474, 0.08447277545928955, -0.10114151239395142, -0.2780637741088867, -0.15980127453804016, 0.3897969722747803, -0.5912651419639587, -0.23159396648406982, 0.8672451376914978, 0.6301312446594238, 0.2312672734260559, -0.25672465562820435, -0.5844844579696655, -0.18318034708499908, 0.22488252818584442, -0.1060996949672699, 0.6493892669677734, 0.6070882678031921, -0.06266313791275024, 1.1745412349700928, 0.5357893705368042, 0.016831547021865845, 0.08360039442777634, 0.2830398678779602, 1.01143479347229, -0.6190149188041687, -0.02265041507780552, -0.676948606967926, 0.19730302691459656, -0.03193524479866028, -0.40839090943336487, 0.7513749003410339, 0.7591043710708618, 1.0183740854263306, 0.013011462055146694, 0.8688497543334961, 0.4756671190261841, 0.8050439953804016, -0.6579936742782593, 0.9086291193962097, -0.8253008127212524, 0.6517609357833862, -0.1457817703485489, -0.9411253333091736, -0.3390016555786133, 0.1576668918132782, -0.2629191279411316, 0.17938165366649628, 0.5226058959960938, 0.6964088082313538, -0.25156739354133606, 0.04006466269493103, 0.6554874777793884, 0.21259242296218872, 0.1357690542936325, 0.7622970938682556, 0.7818422317504883, -0.29310473799705505, 0.5691149830818176, -0.3403669595718384, -0.4025479555130005, -0.04799073934555054, -0.7975016236305237, -1.0757637023925781, -0.46073275804519653, -0.23396238684654236, -0.2284093052148819, 0.39629021286964417, 0.49522650241851807, 0.48219984769821167, -0.9330712556838989, -0.2457243949174881, 0.037130795419216156, 0.37229588627815247, -0.07955526560544968, -0.04913203418254852, 0.4764545261859894, -0.4041591286659241, -0.5050163865089417, 0.09937405586242676, 0.22360427677631378, 0.05556605011224747, -0.024963174015283585, -0.28459301590919495, -0.22308145463466644, -0.14389093220233917, 0.2741733193397522, 0.6851155161857605, -0.3784794509410858, 0.02261575311422348, -0.08745323866605759, 0.2388899028301239, -0.009817315265536308, 0.916751503944397, -0.6949002742767334, 0.40054255723953247, 0.25947609543800354, 0.5360614061355591, 0.46763354539871216, -0.1010989397764206, 0.648017406463623, -0.9465991854667664, 0.19177410006523132, 0.07562509924173355, 0.5585592985153198, 0.5666188597679138, -0.32310187816619873, 0.3349355459213257, 0.0719832256436348, -0.4083014726638794, -0.6118106245994568, -0.1661776602268219, -0.6573547720909119, -0.7123993039131165, 1.1180025339126587, -0.5298277735710144, -0.364991694688797, -0.31697767972946167, 0.1847444623708725, 0.06249706447124481, -0.5100241899490356, 0.7204050421714783, 0.38903090357780457, 0.46913668513298035, -0.23313723504543304, -0.636621356010437, 0.48153164982795715, 0.41221755743026733, -0.34575238823890686, 0.5325313806533813, 0.34842702746391296, 0.7509983777999878, -0.05099543556571007, 0.7189193964004517, -0.19157187640666962, 0.1993297040462494, -0.11310344934463501, 0.15497957170009613, -0.3097895383834839, -0.4236418604850769, -0.34757480025291443, 0.231174036860466, 0.05150677636265755, 0.0550522580742836 ]
http://arxiv.org/abs/2407.01911v1
http://arxiv.org/pdf/2407.01911v1
Investigating the Effects of Large-Scale Pseudo-Stereo Data and Different Speech Foundation Model on Dialogue Generative Spoken Language Model
2024-07-02T03:22:41
2024-07-02T03:22:41
Yu-Kuan Fu, Cheng-Kuang Lee, Hsiu-Hsuan Wang, Hung-yi Lee
cs.CL
cs.CL, cs.HC, cs.SD, eess.AS
Recent efforts in Spoken Dialogue Modeling aim to synthesize spoken dialogue without the need for direct transcription, thereby preserving the wealth of non-textual information inherent in speech. However, this approach faces a challenge when speakers talk simultaneously, requiring stereo dialogue data with speakers recorded on separate channels, a notably scarce resource. To address this, we have developed an innovative pipeline capable of transforming single-channel dialogue data into pseudo-stereo data. This expanded our training dataset from a mere 2,000 to an impressive 17,600 hours, significantly enriching the diversity and quality of the training examples available. The inclusion of this pseudo-stereo data has proven to be effective in improving the performance of spoken dialogue language models. Additionally, we explored the use of discrete units of different speech foundation models for spoken dialogue generation.
[ -0.6563704609870911, -0.7362640500068665, 0.29311564564704895, -0.007545697037130594, -0.41536614298820496, -0.09547338634729385, -0.04837183654308319, -0.41611626744270325, 0.25876355171203613, 0.6379773616790771, -0.598091721534729, -0.37042421102523804, -0.26636940240859985, 0.1336163729429245, -0.5435286164283752, 0.778944194316864, 0.5279791355133057, 0.46188420057296753, -0.1442907750606537, -0.05475897341966629, -0.35423845052719116, -0.5283364057540894, -0.5829305648803711, 0.12012887746095657, -0.07695937156677246, 0.3822409510612488, 0.5034509897232056, 0.10710448026657104, 0.11040380597114563, 0.34079599380493164, 0.07858055830001831, -0.11578455567359924, -0.9091976284980774, -0.05301785469055176, 0.09605441242456436, -0.36718231439590454, -0.415600061416626, 0.10109715908765793, 1.0731562376022339, 0.8894938230514526, -0.42784640192985535, -0.23156435787677765, -0.2642577886581421, 0.5162011384963989, -0.21879927814006805, 0.20720317959785461, -0.5026270151138306, 0.045284517109394073, -0.22219498455524445, 0.006877427455037832, -0.3423349857330322, -0.38910743594169617, 0.6962065100669861, -0.4444293677806854, 0.4742598533630371, -0.05031237751245499, 0.30748629570007324, 0.15962184965610504, -0.16337843239307404, -0.1399410516023636, -1.0235035419464111, 0.5435146689414978, -0.8908221125602722, 0.5503773093223572, 0.23891986906528473, 0.4014464318752289, -0.10541976243257523, -0.9850536584854126, -0.6688807010650635, -0.1702813357114792, 0.09242260456085205, 0.19374875724315643, -0.11331292986869812, 0.3106970489025116, 0.31414535641670227, 0.5198178887367249, -0.4769037067890167, -0.30252283811569214, -0.46278515458106995, -0.3670172393321991, 0.6418707370758057, 0.1513843983411789, 0.23208212852478027, -0.16389286518096924, -0.15246175229549408, -0.3844103515148163, -0.7683205008506775, -0.11706888675689697, 0.3336421847343445, 0.4210520088672638, -0.34446293115615845, 0.636910080909729, -0.3569306433200836, 0.9451223611831665, -0.08571035414934158, -0.22166404128074646, 0.31810176372528076, -0.7393311858177185, -0.23511379957199097, 0.46792468428611755, 0.9428504705429077, 0.2699836790561676, 0.15332132577896118, 0.008503174409270287, -0.03536742553114891, -0.07514940202236176, 0.13242173194885254, -0.9700120091438293, -0.4493003785610199, -0.09143473207950592, -0.2561967372894287, -0.053965531289577484, 0.09041675180196762, -0.8976675271987915, -0.11923260241746902, -0.4361910820007324, 0.12874546647071838, -0.3775669038295746, -0.4776347875595093, 0.15001770853996277, -0.1586536020040512, 0.0907910168170929, 0.15260760486125946, -0.7387259602546692, 0.0944850742816925, 0.2570309042930603, 0.9163931012153625, 0.22625266015529633, 0.1877543330192566, -0.5270220637321472, -0.1105375736951828, -0.5553841590881348, 0.3346969485282898, -0.590971052646637, -0.8370681405067444, -0.22447529435157776, -0.17457230389118195, -0.09021562337875366, -0.5346224904060364, 0.1654474288225174, -0.2902272045612335, 0.5251950025558472, -0.12803272902965546, -0.3152356743812561, 0.10321127623319626, -0.10465966910123825, -0.7081299424171448, 0.7389320135116577, 0.5325733423233032, -0.8162627816200256, 0.10835414379835129, -0.5000045299530029, -0.36966824531555176, 0.09214617311954498, -0.37195587158203125, -0.39514070749282837, 0.2288375347852707, 0.1366022825241089, 0.08802378922700882, -0.5340993404388428, 0.2930450141429901, -0.34607815742492676, -0.16491346061229706, 0.22531801462173462, -0.4874208867549896, 0.808721125125885, 0.09761212766170502, -0.3389682173728943, -0.09629437327384949, -0.9970866441726685, -0.18704135715961456, -0.09779854863882065, 0.041567638516426086, -0.25365307927131653, -0.22013068199157715, -0.10404619574546814, 0.5307096242904663, -0.16244733333587646, -0.768164336681366, 0.0030832316260784864, -0.8022973537445068, 0.48414158821105957, 0.49383872747421265, 0.0647057518362999, 0.5043046474456787, -0.08991767466068268, 0.5692766308784485, -0.013888255693018436, -0.18225876986980438, -0.004722104407846928, -0.7000461220741272, -0.6464680433273315, -0.5337438583374023, 0.43961668014526367, 0.33398303389549255, -0.7380265593528748, 0.18272538483142853, -0.30187371373176575, -0.3836230933666229, -0.7475762963294983, -0.07202359288930893, 0.3975197672843933, 0.8291537165641785, 0.20622387528419495, -0.8323047757148743, -0.7098437547683716, -0.8503378033638, 0.5105080008506775, -0.5254042744636536, -0.12443522363901138, 0.4756107032299042, 0.1426214724779129, -0.2944590449333191, 1.4689300060272217, -0.23836416006088257, 0.06827211380004883, -0.3923247158527374, 0.38413628935813904, -0.008071815595030785, 0.26964765787124634, 0.6643664836883545, -0.8042517900466919, -0.33527716994285583, -0.20984408259391785, -0.7289419174194336, -0.2524224817752838, -0.11645682901144028, -0.1569768786430359, -0.09869330376386642, 0.5504908561706543, -0.6349499225616455, 0.4037737548351288, 0.7458541989326477, 0.09704341739416122, 0.6049273610115051, 0.09302733093500137, 0.10808118432760239, -1.020816445350647, -0.20358283817768097, -0.18765047192573547, -0.24309289455413818, -0.8975200057029724, -0.5382252931594849, -0.2115817368030548, -0.5351676940917969, -0.519736647605896, 0.16885316371917725, -0.2998025119304657, -0.3760424554347992, -0.26599377393722534, 0.0201579537242651, -0.26177123188972473, 0.18912920355796814, 0.6477073431015015, 0.9713273644447327, 0.7214885950088501, -0.41989666223526, 0.5882636904716492, 0.44539839029312134, -0.6855810880661011, 0.21693851053714752, -0.7385995388031006, 0.25728991627693176, -0.20270097255706787, 0.7323499917984009, -1.2901135683059692, -0.19452203810214996, 0.1334819495677948, -0.26688477396965027, 0.2601203918457031, -0.11631006747484207, -0.23460270464420319, -0.18771794438362122, 0.09032319486141205, 0.5257748365402222, 0.49625200033187866, -0.3842271566390991, 0.5344802737236023, 0.40765050053596497, -0.6467305421829224, -0.1754501312971115, -0.39004239439964294, 0.10858099162578583, -0.348907470703125, -0.9520218968391418, 0.32366788387298584, -0.18656529486179352, -0.34257450699806213, -0.1497572660446167, 0.003509997623041272, 0.21878349781036377, -0.2868702709674835, 0.22252385318279266, 0.21775133907794952, -0.42624711990356445, -0.05751797929406166, 0.06425696611404419, -0.07997668534517288, 0.15601330995559692, -0.25146281719207764, 0.7614429593086243, 0.02026679739356041, -0.20532138645648956, -0.6790522933006287, 0.4069875180721283, 0.7947077751159668, -0.1062886044383049, 1.0731241703033447, 0.10193159431219101, 0.019158465787768364, -0.2629472315311432, -0.3232853412628174, -0.32072970271110535, -0.3913959860801697, 0.313790887594223, -0.4797387719154358, -0.8261035084724426, 0.22304309904575348, -0.31789854168891907, -0.09054332971572876, 0.1890992373228073, 0.5525327324867249, -0.17163754999637604, 0.8875973224639893, 0.47747206687927246, -0.2203560471534729, 0.5304566025733948, -0.3879251182079315, 0.4327687621116638, -0.630866289138794, -0.2569674253463745, -0.28540855646133423, 0.16323691606521606, -0.42931345105171204, -0.6123760342597961, 0.4488242268562317, 0.11428353935480118, 0.21215902268886566, 0.41588422656059265, -0.11253621429204941, 0.010583577677607536, 0.4473719000816345, -0.002801779191941023, 0.05599675700068474, 0.06168613210320473, -0.1449810266494751, -0.05359009653329849, -0.8705331087112427, -0.12447737902402878, 1.239458441734314, 0.2663212716579437, 0.5169081091880798, 0.07540332525968552, 0.5282572507858276, 0.24961642920970917, -0.0875534638762474, -0.4271833002567291, 0.5295869708061218, 0.06359922140836716, -0.5737281441688538, -0.49707359075546265, -0.6636112332344055, -0.47408878803253174, 0.22663253545761108, -0.03601374477148056, -0.34668809175491333, 0.4952954351902008, 0.1559934914112091, -0.28555431962013245, -0.08755034953355789, -0.8411381244659424, 0.6596629619598389, -0.18803581595420837, -0.1233513280749321, -0.21550773084163666, -0.8423970937728882, 0.44357025623321533, -0.4667436182498932, 0.3764996826648712, 0.29257819056510925, 0.6951630115509033, 0.7270271182060242, -0.7253000140190125, 0.8148211240768433, -0.19121965765953064, -0.1245662048459053, 0.5227457284927368, -0.22258415818214417, 0.4989343285560608, 0.12123960256576538, -0.06467091292142868, 0.3615553379058838, -0.30635708570480347, -0.3410559296607971, -0.4163658022880554, 0.5196093320846558, -0.8745385408401489, -0.5227754712104797, -0.26087430119514465, -0.564854621887207, -0.717637836933136, -0.22596310079097748, 0.46514084935188293, 0.641273558139801, -0.6365719437599182, 0.416595458984375, 0.7850321531295776, -0.27341127395629883, 0.3445557653903961, 0.4977686405181885, 0.05922354757785797, -0.417400985956192, 0.6643598079681396, -0.04152800142765045, 0.8690221309661865, 0.13867095112800598, -0.011563913896679878, -0.5493561625480652, -0.5961621999740601, -0.5887544751167297, 0.37007570266723633, -0.35820862650871277, 0.17990508675575256, -0.6740961670875549, -0.4309009909629822, -0.8557068705558777, 0.17346903681755066, -0.626295804977417, -0.6754887700080872, -0.13828757405281067, -0.3306660056114197, 0.13676001131534576, 0.46783092617988586, -0.2679307758808136, 0.5406093001365662, -0.715232789516449, 0.5083486437797546, 0.4892811179161072, 0.07812625169754028, -0.18546609580516815, -0.6407692432403564, -0.1845281720161438, 0.4671679735183716, 0.2334662824869156, -0.835114598274231, 0.5057833790779114, 0.20009204745292664, 0.48697662353515625, 0.6015572547912598, 0.007354425732046366, 0.6841009855270386, -0.5156265497207642, 0.980078935623169, 0.6027804017066956, -0.7775974273681641, 0.5427064299583435, -0.40299564599990845, 0.3349859416484833, 0.4436805546283722, 0.3206900656223297, -0.3791239261627197, -0.22471222281455994, -0.5427653789520264, -0.7113006711006165, 1.168026089668274, 0.6163082122802734, 0.08771997690200806, 0.07479870319366455, -0.24098198115825653, 0.0588163323700428, 0.3103368580341339, -0.38665860891342163, -0.1677061766386032, -0.813702404499054, 0.13486482203006744, -0.4287644922733307, -0.28784874081611633, -0.3059850335121155, -0.36418086290359497, 0.7294415235519409, 0.26055020093917847, 0.31317558884620667, 0.1204482689499855, -0.029715945944190025, 0.03094400279223919, 0.28201448917388916, 0.5372163653373718, 0.4658423960208893, -0.3736441433429718, -0.12161412835121155, -0.06870229542255402, -0.3133373260498047, 0.09721004962921143, 0.30956050753593445, 0.017774369567632675, 0.3416018486022949, 0.3652069866657257, 1.1092329025268555, 0.10790495574474335, -0.6738852262496948, 0.3087044060230255, -0.16144689917564392, -0.22094598412513733, -0.2898603081703186, -0.07871785759925842, 0.2568894326686859, -0.05115737393498421, 0.05010010674595833, -0.14175787568092346, 0.15806639194488525, -0.8607134222984314, 0.37915676832199097, 0.38968223333358765, -0.2839759886264801, -0.21400251984596252, 0.2678484320640564, 0.49204665422439575, -0.15851105749607086, 1.0617249011993408, 0.025944175198674202, -0.3943588435649872, 0.3915666937828064, 0.6871466636657715, 0.6050450801849365, -0.6631340980529785, 0.4206971824169159, 0.43764880299568176, -0.005319862626492977, -0.17000006139278412, -0.2845720946788788, -0.3685194253921509, -0.8015152215957642, -0.17948724329471588, -0.7309734225273132, -0.1545015424489975, 0.2861863076686859, -0.6172633171081543, 0.1168084666132927, -0.2897896468639374, -0.088555708527565, -0.03532750904560089, -0.46379354596138, -0.26378634572029114, 0.4501088559627533, 0.39088350534439087, 0.5760902762413025, -1.1449421644210815, 1.008406639099121, 0.2832351326942444, -0.33027347922325134, -0.6830694675445557, -0.07488446682691574, 0.15236268937587738, -0.4378322958946228, 0.4632698595523834, -0.1053595319390297, -0.5166091322898865, 0.040014028549194336, -0.3008478283882141, -0.7643176317214966, 0.7057831883430481, 0.26071229577064514, -1.2883187532424927, -0.27329587936401367, 0.774695634841919, 0.6649574637413025, -0.6186249256134033, 0.22915279865264893, 0.8477646112442017, 0.02410159632563591, 0.6049025654792786, -1.044450044631958, -0.5248745083808899, -0.290138304233551, 0.16052892804145813, 0.20948922634124756, -0.39337292313575745, 0.6536093950271606, 0.2812606394290924, -0.18149295449256897, 0.14191509783267975, 0.5738776326179504, 0.3068997859954834, 0.2426203191280365, 0.6547325253486633, 0.7318555116653442, 0.5343230366706848, -0.1174001544713974, 0.9828873872756958, -0.13657280802726746, 0.037268463522195816, 1.284274697303772, -0.3544250726699829, 0.3990711569786072, 0.23263880610466003, -0.1079220175743103, 0.5046364068984985, 0.4776359498500824, 0.3656660318374634, 0.9469343423843384, 0.1782948225736618, -0.6626213192939758, -0.4318009912967682, -0.08585387468338013, -0.6784054040908813, 0.5746037364006042, 0.5944409966468811, -0.4532589018344879, -0.09382680058479309, 0.27606263756752014, -0.46176040172576904, -0.10540204495191574, -0.08659064769744873, 0.922157883644104, 0.1637634038925171, -0.5095820426940918, 0.5655325651168823, -0.18709827959537506, 0.2972458302974701, -0.7243344783782959, -0.04080307483673096, -0.2791931927204132, -0.0935950055718422, -0.0006262953393161297, -0.2841540277004242, 0.16861362755298615, 0.09900504350662231, -0.08760089427232742, -0.3318191170692444, 0.3664344251155853, -0.56904137134552, -0.5031359791755676, 0.31809958815574646, 0.24950572848320007, 0.31255435943603516, 0.07872210443019867, -0.5395563244819641, 0.057556428015232086, 0.3663567006587982, -0.023947734385728836, 0.32350122928619385, 0.4298606812953949, -0.05330067500472069, 0.19751155376434326, 0.6749555468559265, 0.18580831587314606, 0.24284635484218597, 0.41300132870674133, 0.907560408115387, -0.42698514461517334, -0.5086543560028076, -0.3671121895313263, 0.6928849816322327, -0.17964577674865723, -0.1641019880771637, 0.61276775598526, 0.822450578212738, 0.8478612303733826, -0.08718457072973251, 1.0019218921661377, -0.17876377701759338, 0.6155164241790771, -0.4775819480419159, 0.4231216609477997, -0.20882371068000793, 0.2888876795768738, -0.5330448150634766, -1.1417841911315918, 0.182676300406456, 0.7078120708465576, -0.4169081747531891, 0.0164239052683115, 0.5540581941604614, 1.0086928606033325, -0.16945673525333405, 0.3983636200428009, 0.35610952973365784, 0.3113018274307251, 0.28721120953559875, 0.34800609946250916, 0.9307401776313782, -0.16419145464897156, 0.3984706997871399, -0.3335959017276764, -0.24877917766571045, -0.08702639490365982, -0.33798155188560486, -0.8984824419021606, -0.7316792607307434, -0.3046276867389679, -0.31916677951812744, 0.07399367541074753, 0.5888883471488953, 0.9980544447898865, -0.8827855587005615, -0.29445549845695496, -0.5266262888908386, -0.5871145725250244, 0.2634254992008209, -0.2079470455646515, 0.11892330646514893, 0.2178531438112259, -0.8441765308380127, 0.9086902737617493, 0.19087670743465424, 0.16168811917304993, -0.08418703824281693, -0.21042783558368683, -0.138666570186615, 0.1904952973127365, 0.5812352895736694, 0.3573002219200134, -0.4959847331047058, -0.052332598716020584, -0.16021083295345306, 0.03283632919192314, 0.056672416627407074, 1.0089205503463745, -0.8490918278694153, 0.9892705678939819, 0.5363293290138245, 0.3662136197090149, 1.0041431188583374, 0.2788369357585907, 1.1439114809036255, -0.7688644528388977, 0.4434797465801239, 0.33664414286613464, 0.24463997781276703, 0.5023573040962219, -0.006918473169207573, 0.2936457693576813, 0.32161056995391846, -0.1521104872226715, -0.8063982129096985, 0.30609673261642456, -0.9752235412597656, -0.26947277784347534, 0.9251720309257507, -0.05558609217405319, 0.39619868993759155, -0.1418977677822113, -0.26899781823158264, 0.46061962842941284, -0.3993407189846039, 0.7286509871482849, 0.8038061857223511, -0.30033236742019653, -0.3486535847187042, -0.25908592343330383, 0.6973724365234375, 0.3862625062465668, -0.7486499547958374, -0.054251108318567276, 0.8946459889411926, 0.2175396829843521, 0.23565462231636047, 0.7652345299720764, -0.23877765238285065, 0.23096808791160583, 0.20026275515556335, -0.3380539119243622, 0.2305688112974167, -0.552833616733551, -0.33200186491012573, 0.1953977644443512, -0.2905840575695038, -0.17809303104877472 ]
http://arxiv.org/abs/2407.01909v1
http://arxiv.org/pdf/2407.01909v1
Pinyin Regularization in Error Correction for Chinese Speech Recognition with Large Language Models
2024-07-02T03:16:47
2024-07-02T03:16:47
Zhiyuan Tang, Dong Wang, Shen Huang, Shidong Shang
cs.CL
cs.CL, cs.SD, eess.AS
Recent studies have demonstrated the efficacy of large language models (LLMs) in error correction for automatic speech recognition (ASR). However, much of the research focuses on the English language. This paper redirects the attention to Chinese. Firstly, we construct a specialized benchmark dataset aimed at error correction for Chinese ASR with 724K hypotheses-transcription pairs, named the Chinese Hypotheses Paradise dataset (ChineseHP), which contains a wide range of scenarios and presents significant challenges. Subsequently, we conduct a preliminary evaluation using the dataset for both direct-prompting and fine-tuning pre-trained LLMs. Furthermore, we propose a straightforward method of Pinyin regularization for prompts, which involves the transcription of Pinyin directly from text hypotheses. The experimental results reveal that Pinyin regularization consistently enhances the error-correcting ability of LLMs when compared with those without regularization. The dataset is available on the website.
[ 0.3196429908275604, -0.5273849368095398, 0.27635422348976135, 0.3339489698410034, -0.3498096168041229, -0.13130687177181244, -0.6708921790122986, -0.19903384149074554, 0.1001177430152893, 0.34270530939102173, -0.27898937463760376, -0.5431739687919617, -0.3051818907260895, 0.4607347249984741, -0.15165214240550995, 0.4264715015888214, -0.24395130574703217, 0.5436026453971863, 0.2982524335384369, 0.02839333936572075, -0.7150859832763672, -0.4423949420452118, -0.9277629852294922, -0.10877881199121475, 0.8559672832489014, 0.5315709710121155, 0.4289478659629822, 0.8974047303199768, 0.6352358460426331, 0.17039433121681213, 0.019620997831225395, 0.27182191610336304, -0.3460440933704376, -0.06507416069507599, 0.543788492679596, -0.23995639383792877, -0.33969563245773315, -0.23157311975955963, 1.2076694965362549, 0.7642782926559448, -0.21964231133460999, -0.08217956870794296, 0.24209530651569366, 0.516444742679596, -0.3925340473651886, 0.19972825050354004, -0.7128346562385559, 0.09604059159755707, -0.3043348789215088, -0.33542901277542114, -0.4831933081150055, -0.32152754068374634, -0.07567604631185532, -0.525168776512146, 0.24622905254364014, 0.1404881477355957, 0.7347630858421326, 0.47306326031684875, -0.21806199848651886, 0.06266195327043533, -0.838054895401001, 0.8177111148834229, -0.9576332569122314, 0.5605072975158691, 0.30645954608917236, 0.30533331632614136, -0.19500213861465454, -0.6038438081741333, -0.47951000928878784, -0.45540523529052734, -0.1102532148361206, 0.08474491536617279, 0.06391641497612, 0.3452005088329315, 0.5765859484672546, 0.2224796712398529, -0.542219340801239, 0.32198429107666016, -0.3249712288379669, -0.49588701128959656, 0.74980628490448, 0.09004560112953186, 0.458197683095932, -0.10702361911535263, 0.047211553901433945, -0.1370401680469513, -0.9020179510116577, 0.2667262852191925, 0.15310443937778473, 0.8561129570007324, -0.07176529616117477, 0.38265594840049744, -0.2230161875486374, 0.7895330190658569, -0.019144712015986443, -0.13809368014335632, 0.15073271095752716, -0.2862309515476227, -0.24490058422088623, 0.5885034203529358, 0.77197265625, 0.22517012059688568, 0.25870585441589355, -0.07355251163244247, -0.276652991771698, -0.18038834631443024, -0.11781203001737595, -0.604047954082489, -0.36413145065307617, 0.30117732286453247, -0.4375630021095276, 0.4082861840724945, 0.3828430473804474, -0.24987930059432983, -0.3330675959587097, -0.36715149879455566, 0.40277576446533203, -0.16189327836036682, 0.04625534266233444, 0.16914913058280945, 0.09695079177618027, 0.38273489475250244, 0.599555492401123, -0.7108383774757385, 0.14750617742538452, 0.5807896256446838, 0.7668174505233765, -0.29823288321495056, -0.46863681077957153, -0.8137723207473755, 0.20900987088680267, -0.6275548934936523, 0.6925733089447021, -0.237367182970047, -0.45382076501846313, 0.2180076241493225, 0.07253444194793701, -0.2204463928937912, -0.6266623735427856, 0.8626622557640076, -0.20918262004852295, -0.13989312946796417, -0.6870192289352417, -0.4668256938457489, 0.018245244398713112, 0.07000156491994858, -0.6470189094543457, 0.6004697680473328, -0.3920147716999054, -0.6391681432723999, 0.17726890742778778, -0.5233992338180542, -0.6835235953330994, 0.022009577602148056, -0.15424227714538574, -0.37197524309158325, -0.13239485025405884, 0.2614336609840393, 0.20533031225204468, -0.14552751183509827, 0.09460308402776718, 0.08020909875631332, -0.7704971432685852, 0.05067766457796097, -0.6075316667556763, 0.8370878100395203, 0.15585988759994507, -0.40392595529556274, 0.25562092661857605, -0.7046316266059875, -0.0192900188267231, 0.09179573506116867, -0.5741708278656006, -0.15751424431800842, 0.13078637421131134, 0.010773361660540104, -0.14714381098747253, 0.33336859941482544, -0.6938095092773438, -0.022915029898285866, -0.3396975100040436, 0.35359519720077515, 0.6785010695457458, -0.17532463371753693, 0.014415196143090725, -0.2498013824224472, 0.14946265518665314, 0.09212751686573029, 0.09288617968559265, -0.29322338104248047, -0.39869633316993713, -0.8231746554374695, -0.14442695677280426, 0.6151649355888367, 0.5800212025642395, -0.44995465874671936, 0.45663580298423767, -0.16718320548534393, -0.32363057136535645, -0.5463541150093079, 0.1401551067829132, 0.3837258815765381, 0.669109582901001, 0.39666998386383057, -0.10253821313381195, -0.7326145768165588, -0.6389791965484619, -0.39788350462913513, -0.34800490736961365, -0.2872503697872162, 0.4243626892566681, -0.13010773062705994, -0.27988219261169434, 0.6248511672019958, -0.2814277708530426, -0.5087839365005493, -0.17215554416179657, -0.055303920060396194, 0.22385117411613464, 0.6258817315101624, -0.00155835400801152, -0.8186477422714233, -0.9060163497924805, 0.038990318775177, -0.28079068660736084, -0.13549841940402985, -0.04922845959663391, 0.0428289920091629, 0.3169317841529846, 0.5786443948745728, -0.400877982378006, 0.2883197069168091, 0.36895278096199036, 0.09073549509048462, 0.6005702614784241, -0.31857460737228394, 0.39695218205451965, -0.9122088551521301, 0.03415711224079132, 0.06375433504581451, 0.11308348923921585, -0.8453422784805298, -0.30732402205467224, 0.45216846466064453, 0.050317056477069855, -0.2990562617778778, 0.36670631170272827, -0.5133382081985474, -0.060080934315919876, -0.16715756058692932, 0.10164101421833038, -0.21360644698143005, 0.3307816684246063, 0.09699118137359619, 0.6080041527748108, 0.43670201301574707, -0.5121012330055237, 0.6121448278427124, 0.21077938377857208, -0.17493675649166107, -0.03565452620387077, -0.8379019498825073, 0.1608082354068756, 0.05659152939915657, 0.39659935235977173, -1.311582326889038, -0.4177195727825165, 0.22301052510738373, -0.6827405691146851, 0.42482906579971313, 0.11982503533363342, -0.6697784066200256, -0.4039771556854248, -0.3828776478767395, 0.37108105421066284, 0.6748071908950806, -0.6573818325996399, 0.4014621675014496, 0.07357420772314072, -0.14846737682819366, -0.629734992980957, -0.5914700031280518, 0.20044153928756714, -0.10014496743679047, -0.5303128361701965, 0.4301269054412842, -0.12709224224090576, -0.24767188727855682, -0.33498504757881165, -0.03873191401362419, -0.18377847969532013, -0.03830527886748314, 0.07174523174762726, 0.3130984306335449, -0.46591877937316895, -0.02853703685104847, -0.21513254940509796, 0.03386727720499039, -0.008266631513834, -0.01960664428770542, 0.4160632789134979, 0.34911641478538513, -0.352678507566452, -0.9960771203041077, -0.06238413229584694, 0.20634840428829193, -0.2845091223716736, 0.22820927202701569, 0.4279424846172333, -0.7130658626556396, -0.05897479131817818, -0.6868695616722107, -0.2911369800567627, -0.45573827624320984, 0.43420904874801636, -0.16243977844715118, -0.6058586835861206, 0.6233052611351013, 0.45036640763282776, 0.27412185072898865, 0.3728267252445221, 0.38700103759765625, -0.023126430809497833, 1.2455652952194214, 0.32962119579315186, -0.5109140276908875, 0.41280597448349, 0.2583516836166382, 0.22550547122955322, -0.6799936294555664, 0.06754621118307114, -0.8434117436408997, -0.06060890853404999, -0.6088212728500366, -0.3536342680454254, 0.25663211941719055, -0.31277376413345337, -0.17991557717323303, 0.07629123330116272, -0.24159084260463715, 0.4852727949619293, 0.6771218180656433, 0.273897647857666, 0.3641907870769501, -0.00961233489215374, 0.2809261679649353, -0.3116246163845062, -0.7179343700408936, -0.26205137372016907, 0.8034530878067017, 0.24764414131641388, 0.8190982937812805, -0.11852575093507767, 0.5312601327896118, 0.16239464282989502, -0.003084859112277627, -0.8565080761909485, 0.36962923407554626, -0.4731247127056122, -0.2001151144504547, -0.6620196104049683, -0.5982924699783325, -0.9015709757804871, -0.04531680792570114, 0.0920773521065712, -0.3280947208404541, -0.12181151658296585, 0.3901034891605377, -0.7679694294929504, 0.18513798713684082, -0.620905339717865, 0.7660163640975952, -0.1789645254611969, -0.06735141575336456, -0.0681895837187767, -0.6172653436660767, 0.2596553564071655, -0.08466579765081406, 0.018972784280776978, 0.04344329610466957, 0.11161858588457108, 0.8709638118743896, -0.18050502240657806, 0.740395724773407, -0.3865363299846649, -0.32723432779312134, 0.23201335966587067, -0.29749080538749695, 0.6119704842567444, -0.2097095400094986, -0.07749797403812408, 0.17711623013019562, -0.17533516883850098, -0.28708815574645996, -0.44181570410728455, 0.5634594559669495, -0.7672533392906189, -0.6771384477615356, -0.18293222784996033, -0.5367187261581421, -0.2877825200557709, 0.25892603397369385, 0.34538617730140686, 0.5447443127632141, 0.07571528106927872, 0.3481569290161133, 0.7992225289344788, -0.46095046401023865, 0.23353450000286102, 0.6248507499694824, 0.1620870977640152, -0.2671065926551819, 0.9266912341117859, 0.6367822885513306, 0.055281806737184525, 0.4326256811618805, 0.3552206754684448, -0.2945617437362671, -0.7844223380088806, -0.35084646940231323, 0.31692102551460266, -0.6064299941062927, -0.04566087946295738, -0.4399252235889435, -0.551253616809845, -0.7707182168960571, 0.05666104704141617, -0.3055073618888855, 0.011141031980514526, -0.4048191010951996, 0.2306893914937973, 0.10735276341438293, 0.4432918131351471, -0.11272849142551422, 0.19837304949760437, -1.0121166706085205, 0.42894092202186584, 0.3534158766269684, 0.2554701268672943, 0.06340361386537552, -0.9970415830612183, -0.4712335765361786, 0.311867356300354, 0.04731028899550438, -0.5059956908226013, 0.26915720105171204, 0.2449672520160675, 0.6045508980751038, 0.4962548315525055, 0.25833943486213684, 0.9486653208732605, -0.9472783803939819, 0.8298887610435486, -0.005468530580401421, -0.8266231417655945, 0.5985936522483826, -0.35500094294548035, 0.20670542120933533, 0.3016977608203888, 0.1562642604112625, -0.9640868902206421, -0.2837202847003937, -0.29958221316337585, -0.5772351026535034, 0.723271906375885, -0.1437668353319168, 0.19496315717697144, 0.2528873085975647, 0.46015113592147827, -0.13851410150527954, -0.0998142659664154, -0.4400116503238678, -0.3481532633304596, 0.069317527115345, -0.45226797461509705, -0.406644344329834, -0.39196890592575073, -0.012939519248902798, -0.37887445092201233, 0.6419000625610352, -0.05176696926355362, 0.07417251914739609, 0.339528888463974, -0.08206541836261749, -0.5305771231651306, -0.02202538400888443, 0.6555364727973938, 0.6001788973808289, -0.29242557287216187, -0.06607215106487274, 0.30348366498947144, -0.5603622794151306, -0.12475791573524475, 0.3003862202167511, -0.20492002367973328, 0.3108026385307312, 0.3840579390525818, 0.636080801486969, 0.04582015052437782, -0.7506564259529114, 0.32555094361305237, -0.3189938962459564, -0.08948981016874313, -0.3931995630264282, 0.08430009335279465, -0.17961405217647552, 0.061167746782302856, 0.7218256592750549, -0.373369425535202, 0.19382637739181519, -0.26751434803009033, 0.11326924711465836, 0.36724603176116943, -0.33993950486183167, -0.2657146751880646, 0.6981480121612549, 0.14556293189525604, -0.37598979473114014, 0.545488715171814, 0.1787644326686859, -0.6984003186225891, 0.7343547344207764, 0.44444000720977783, 0.8497084379196167, -0.5665132999420166, -0.19937336444854736, 0.7329493761062622, 0.328387975692749, -0.41621115803718567, 0.14078176021575928, 0.0092812180519104, -0.811135470867157, -0.5002020597457886, -0.19511723518371582, -0.9450199007987976, 0.10124257206916809, -0.6020490527153015, 0.6354765295982361, -0.5190716981887817, 0.26341941952705383, -0.16753536462783813, 0.21861810982227325, -0.06752397865056992, 0.3011888265609741, 0.3973836898803711, 0.8717782497406006, -0.6071751713752747, 1.01625394821167, 0.5003623962402344, -0.04265150800347328, -1.277667760848999, 0.4428194761276245, -0.19418050348758698, -0.7710192799568176, 0.6879519820213318, 0.3263151943683624, -0.015674220398068428, 0.14059922099113464, -0.6982688307762146, -0.8389045000076294, 0.9603292942047119, 0.36164021492004395, -0.8204255104064941, 0.07174649089574814, 0.12587450444698334, 0.48755988478660583, -0.08313804119825363, -0.27354860305786133, 0.6202453374862671, 0.43112948536872864, 0.06679392606019974, -1.192857027053833, -0.05028436705470085, -0.036181747913360596, -0.035358887165784836, -0.20360401272773743, -0.8711562156677246, 1.0418455600738525, -0.32199332118034363, -0.30441299080848694, 0.10328802466392517, 0.781437873840332, 0.41394466161727905, 0.21718533337116241, 0.5437136292457581, 0.0658259466290474, 0.7528138756752014, -0.14670592546463013, 0.5743424296379089, -0.3193569779396057, 0.17217396199703217, 0.9865866899490356, -0.4687964618206024, 1.0137860774993896, 0.416066974401474, -0.39860713481903076, 0.16941200196743011, 1.0252468585968018, -0.019045786932110786, 0.31750163435935974, 0.25636860728263855, -0.03697023540735245, -0.033905114978551865, -0.12337619811296463, -0.4695087671279907, 0.321033239364624, 0.12367688119411469, -0.020837239921092987, 0.15132147073745728, -0.2745145857334137, -0.04765805974602699, 0.030361467972397804, -0.59132981300354, 0.7580364346504211, -0.016805797815322876, -0.5176726579666138, 0.7378043532371521, -0.06960059702396393, 0.7936598658561707, -0.6254795789718628, -0.15871120989322662, -0.3981205224990845, 0.1523933708667755, -0.2663610875606537, -0.2688935399055481, 0.017619313672184944, 0.10997828096151352, -0.12256194651126862, 0.05417783185839653, 0.7490180134773254, -0.7493071556091309, -0.3563835620880127, -0.03706207498908043, 0.02160303108394146, 0.21498259902000427, -0.09823736548423767, -0.4797494113445282, 0.19520996510982513, 0.19169114530086517, -0.008096982724964619, 0.08054706454277039, 0.3919406533241272, 0.17751024663448334, 0.41446855664253235, 0.5990167260169983, 0.5214411020278931, 0.2060369849205017, 0.24469046294689178, 0.5129761695861816, -0.8041139245033264, -0.5770342946052551, -0.9401567578315735, 0.38669148087501526, 0.12504614889621735, 0.03536437079310417, 1.1317652463912964, 0.4338703751564026, 0.816675066947937, -0.026371657848358154, 0.9151701331138611, 0.3251315653324127, 0.7771368026733398, -0.6356866955757141, 0.723677396774292, -0.5758277177810669, 0.22333580255508423, -0.3818795084953308, -0.8054667115211487, -0.7559520602226257, 0.640610933303833, -0.1371401995420456, -0.007768065668642521, 0.46705543994903564, 0.792483389377594, 0.30381789803504944, -0.07177981734275818, 0.49416184425354004, 0.37335219979286194, 0.254959374666214, 0.48018452525138855, 0.810563862323761, -0.5956642031669617, 0.3955296277999878, -0.27018243074417114, -0.08523941040039062, -0.5215533971786499, -0.5572065114974976, -0.6338096261024475, -0.44049230217933655, -0.27911844849586487, -0.35190340876579285, 0.09865523129701614, 1.2845159769058228, 0.2724830210208893, -1.1235116720199585, -0.497840940952301, 0.21510399878025055, 0.17251957952976227, -0.19031676650047302, -0.11769773066043854, 0.7333651185035706, -0.5428866744041443, -0.8818975687026978, 0.2744607925415039, 0.14743350446224213, 0.2100847065448761, -0.10047753900289536, -0.40147921442985535, 0.19833527505397797, -0.07637476921081543, 0.28913867473602295, 0.40795159339904785, -0.7554286122322083, -0.4290355145931244, 0.19056041538715363, -0.27372926473617554, 0.2839983105659485, 0.8539162874221802, -0.24689295887947083, 0.4434375464916229, 0.3934367597103119, 0.8130582571029663, -0.21754708886146545, 0.08940500766038895, 0.6356146335601807, -0.5227321982383728, 0.11438968032598495, 0.1271713227033615, 0.5341635942459106, 0.6568885445594788, -0.3302607238292694, 0.19593138992786407, 0.295083224773407, -0.6284288167953491, -1.2276523113250732, -0.23500554263591766, -0.8446796536445618, 0.12089937925338745, 1.4373950958251953, -0.23838859796524048, -0.3033227026462555, -0.08771201223134995, -0.5790709853172302, 0.5272987484931946, -0.3144433796405792, 0.9521190524101257, 0.6483644843101501, -0.06349024176597595, -0.1886720359325409, -0.35543692111968994, 0.736668586730957, 0.48775577545166016, -0.5254149436950684, 0.506809651851654, 0.5922393202781677, 0.07090044021606445, -0.020581599324941635, 0.6300382018089294, 0.21762578189373016, 0.6540975570678711, 0.0003008641942869872, -0.011492813937366009, 0.2524314522743225, -0.35156726837158203, -0.6033085584640503, -0.4697968363761902, 0.4413297176361084, -0.32250553369522095 ]
http://arxiv.org/abs/2407.01906v1
http://arxiv.org/pdf/2407.01906v1
Let the Expert Stick to His Last: Expert-Specialized Fine-Tuning for Sparse Architectural Large Language Models
2024-07-02T03:11:13
2024-07-02T03:11:13
Zihan Wang, Deli Chen, Damai Dai, Runxin Xu, Zhuoshu Li, Y. Wu
cs.CL
cs.CL, cs.AI, cs.LG
Parameter-efficient fine-tuning (PEFT) is crucial for customizing Large Language Models (LLMs) with constrained resources. Although there have been various PEFT methods for dense-architecture LLMs, PEFT for sparse-architecture LLMs is still underexplored. In this work, we study the PEFT method for LLMs with the Mixture-of-Experts (MoE) architecture and the contents of this work are mainly threefold: (1) We investigate the dispersion degree of the activated experts in customized tasks, and found that the routing distribution for a specific task tends to be highly concentrated, while the distribution of activated experts varies significantly across different tasks. (2) We propose Expert-Specialized Fine-Tuning, or ESFT, which tunes the experts most relevant to downstream tasks while freezing the other experts and modules; experimental results demonstrate that our method not only improves the tuning efficiency, but also matches or even surpasses the performance of full-parameter fine-tuning. (3) We further analyze the impact of the MoE architecture on expert-specialized fine-tuning. We find that MoE models with finer-grained experts are more advantageous in selecting the combination of experts that are most relevant to downstream tasks, thereby enhancing both the training efficiency and effectiveness.
[ -0.792337954044342, -1.0734374523162842, 0.6637261509895325, 0.08611564338207245, -0.17505477368831635, 0.33225563168525696, -0.6113923788070679, -0.33588576316833496, 0.19894063472747803, 0.49906012415885925, -0.2927660644054413, -0.2689562737941742, -0.5994871854782104, 0.0604911707341671, -0.22029554843902588, 0.6204383373260498, 0.1326056569814682, -0.3326675593852997, 0.09841042757034302, 0.12343161553144455, -0.37061285972595215, -0.17182482779026031, -0.6474904417991638, -0.28174400329589844, 0.3901274800300598, 0.4863247275352478, 0.7030278444290161, 0.8255735635757446, 0.1795484870672226, 0.4446931481361389, -0.29990118741989136, 0.43750664591789246, -0.47245875000953674, -0.046153269708156586, -0.35195666551589966, -0.21399351954460144, -0.7409459352493286, -0.263749361038208, 0.3500477969646454, 0.7898427248001099, -0.4245237112045288, -0.04092799499630928, 0.3174791932106018, 0.5615555644035339, -0.5944905877113342, 0.04636392742395401, -1.1377675533294678, -0.15939228236675262, -0.29871827363967896, -0.42927032709121704, -0.3649066090583801, 0.2097976803779602, 0.13905078172683716, -0.38288015127182007, 0.13751979172229767, 0.2561900317668915, 0.6922966837882996, 0.6609553098678589, -0.2864369750022888, 0.15450608730316162, -0.5800076127052307, 1.0162510871887207, -0.642220139503479, 0.2569153904914856, 0.4708075523376465, -0.010056299157440662, -0.1981123387813568, -0.1103370413184166, -0.1507466435432434, -0.03794136643409729, 0.21498872339725494, -0.06673288345336914, -0.05024940147995949, 0.19466440379619598, -0.21356797218322754, 0.17810146510601044, -0.33388620615005493, 0.3660385310649872, -0.2754075229167938, 0.01868259347975254, 0.761160671710968, 0.11471333354711533, -0.09503542631864548, 0.4619438350200653, -0.28037676215171814, 0.3661356568336487, -0.6179922223091125, -0.27474191784858704, 0.3996967077255249, 0.1824636459350586, 0.1375061571598053, 0.21825970709323883, -0.4192993640899658, 0.911764919757843, 0.6671173572540283, -0.28054001927375793, 0.18081721663475037, 0.11263792216777802, -0.2559361159801483, -0.0008701086044311523, 0.581316351890564, 0.14737549424171448, 0.44994056224823, -0.42520830035209656, -0.39435717463493347, -0.7016050219535828, 0.21511708199977875, -0.46832701563835144, -0.49799737334251404, 0.02343439869582653, -0.2678130269050598, -0.19370456039905548, -0.38247719407081604, -0.5789692997932434, -0.018773818388581276, -0.5122383236885071, 0.4491610825061798, -0.3260970711708069, -0.49628913402557373, 0.27688002586364746, -0.026564644649624825, -0.08004938811063766, 0.28511154651641846, -1.2717161178588867, 0.37261298298835754, 0.9452916383743286, 0.5323113799095154, -0.2172011286020279, -0.47123411297798157, -0.4948972463607788, 0.48693761229515076, -0.311442106962204, 1.0270013809204102, -0.9287586808204651, -0.2574880123138428, -0.2683333456516266, -0.44250109791755676, -0.2615974247455597, -0.7774772644042969, 0.33981695771217346, -0.5944774746894836, -0.4613933265209198, -0.30287495255470276, -0.5711226463317871, -0.12962546944618225, 0.06063603237271309, -0.1544322818517685, 1.0527173280715942, 0.1983753740787506, -0.18376107513904572, 0.40829867124557495, -0.11754199862480164, -0.3510660231113434, 0.18725238740444183, -0.4586591124534607, -0.12194210290908813, 0.5178995132446289, 0.16756033897399902, 0.8318046927452087, -0.11562519520521164, 0.32341691851615906, -0.5853583216667175, -0.5001593232154846, -0.03781123831868172, -0.37640491127967834, 0.31674399971961975, 0.30747583508491516, -0.4154544174671173, -0.3476453423500061, -0.8098475337028503, -0.09888448566198349, -0.18176716566085815, -0.6677054762840271, -0.49689120054244995, 0.22407099604606628, -0.03042096644639969, -0.14130468666553497, 0.5249022245407104, -0.27738314867019653, 0.23861439526081085, -0.35763660073280334, 0.4757806360721588, 1.0817307233810425, -0.0164275411516428, 0.6345962882041931, -0.4153979420661926, 0.14148469269275665, -0.08104225248098373, 0.01434138510376215, 0.0280451737344265, -0.6616506576538086, -0.5506766438484192, -0.48523983359336853, 0.1928863227367401, 0.36841467022895813, -0.35079658031463623, 0.6287251114845276, -0.11557921022176743, -0.4564049243927002, -0.4495369791984558, 0.482965350151062, 0.3697984516620636, 0.6075248122215271, 0.301354318857193, 0.0581667535007, 0.003003461053594947, -1.139997124671936, -0.3052990436553955, -0.005164679139852524, 0.11805055290460587, 0.4596588909626007, 0.16672377288341522, 0.0046986863017082214, 0.8718827962875366, -0.5741673707962036, -0.09417924284934998, 0.05143452435731888, 0.22091086208820343, 0.3532642424106598, 0.6951928734779358, 0.8839478492736816, -0.6067224740982056, -0.958283007144928, 0.26102980971336365, 0.10161782801151276, -0.24808773398399353, -0.10349784046411514, -0.16976958513259888, 0.17718416452407837, 0.2600536048412323, -0.5112020969390869, -0.2996189594268799, 0.3702276945114136, -0.18324726819992065, 0.24427051842212677, -0.42279115319252014, 0.049051228910684586, -0.7869293093681335, -0.2983298599720001, 0.005133256781846285, -0.19152674078941345, -0.4742099344730377, 0.19720587134361267, -0.014056367799639702, 0.2685628831386566, -0.09227769076824188, 0.37645089626312256, -0.411482036113739, 0.16669906675815582, -0.31134840846061707, -0.27008581161499023, -0.20209839940071106, 0.8437177538871765, 0.06127224862575531, 0.6343119740486145, 0.8167577385902405, -0.5586193203926086, -0.07078594714403152, -0.048333603888750076, -0.27126795053482056, 0.5436760187149048, -0.6543651819229126, 0.3435463607311249, 0.03309795260429382, -0.428789883852005, -0.9583443999290466, -0.21914036571979523, 0.06266146898269653, -0.09046053141355515, 0.5763895511627197, -0.29288432002067566, -0.5965085625648499, 0.17249615490436554, -0.1401291936635971, 0.2251599282026291, 0.795760452747345, -0.14979279041290283, 0.7743328809738159, 0.4577377140522003, -0.38923242688179016, -0.3509330749511719, -0.6232995986938477, -0.03263837471604347, -0.3344763219356537, -0.6838651895523071, 0.6920043230056763, -0.31222549080848694, -0.2983093857765198, 0.050744518637657166, -0.24159765243530273, -0.4813201129436493, 0.4472328722476959, -0.10695923119783401, -0.286177396774292, -0.3757527470588684, -0.16374659538269043, 0.7682835459709167, -0.19215354323387146, -0.25620049238204956, 0.04456459358334541, 0.4751567840576172, -0.18027137219905853, -0.48639100790023804, -0.24986781179904938, 0.6424509286880493, 0.49983474612236023, -0.27733686566352844, 0.7539102435112, 0.6673813462257385, -0.14692246913909912, -0.361677885055542, -1.084183692932129, 0.06597362458705902, -0.5802674889564514, 0.5017861127853394, -0.4969780445098877, -0.9132624268531799, 0.47799140214920044, -0.18330925703048706, 0.3205958604812622, 0.33262377977371216, 0.7389723062515259, -0.14494355022907257, 1.1596466302871704, 0.7885046005249023, -0.23667927086353302, 0.38521191477775574, -0.045316461473703384, 0.04675464332103729, -0.5713202357292175, -0.09780809283256531, -0.6389482617378235, -0.5411445498466492, -0.23169320821762085, -0.24175633490085602, 0.4623448848724365, 0.24624554812908173, -0.4113897681236267, 0.06348538398742676, -0.565555989742279, 0.7038713097572327, 0.4225229024887085, 0.322086900472641, 0.31191280484199524, 0.24901853501796722, 0.14343878626823425, 0.25002261996269226, -0.8204008340835571, -0.2874828279018402, 0.8061542510986328, 0.28978589177131653, 0.6302772760391235, -0.14223673939704895, 0.8575165867805481, 0.04689778760075569, -0.08584560453891754, -0.5539319515228271, 0.6097407341003418, -0.41150322556495667, -0.3741306960582733, -0.20787370204925537, -0.1842191219329834, -0.542746901512146, 0.2230074256658554, -0.05605141818523407, -0.600968062877655, 0.5383426547050476, 0.3612307608127594, -0.6751876473426819, 0.26610666513442993, -0.7743363380432129, 0.40696224570274353, -0.17739903926849365, -0.19543716311454773, -0.6001992225646973, -0.35935795307159424, -0.02470329776406288, -0.553275465965271, 0.22946657240390778, -0.35018590092658997, -0.5470227599143982, 0.5193594098091125, -0.32058045268058777, 0.8163554072380066, -0.09446913003921509, -0.10875425487756729, -0.08194810897111893, 0.16931408643722534, 0.7741928696632385, -0.06916046142578125, -0.4245801568031311, 0.11914771050214767, -0.19419057667255402, -0.5827001333236694, -0.34528157114982605, 0.8480053544044495, -0.953454852104187, -0.8667226433753967, 0.32662394642829895, -0.5109965801239014, -0.43849459290504456, 0.1525946855545044, 0.195415660738945, 0.36318692564964294, 0.40173670649528503, 0.48315781354904175, 1.0799506902694702, 0.1044730395078659, 0.3216140866279602, 0.7943050861358643, 0.49443161487579346, -0.17845268547534943, 0.8329302668571472, 0.42133256793022156, -0.05949407443404198, 0.5657405853271484, 0.27854371070861816, 0.154408261179924, -1.2498010396957397, -0.28942105174064636, -0.027268080040812492, -0.29272928833961487, -0.1338992863893509, -0.6902926564216614, 0.20883844792842865, -0.019825495779514313, -0.6409965753555298, -0.6403198838233948, -0.09401704370975494, -0.4929821491241455, 0.13148002326488495, 0.48311832547187805, 0.4152601957321167, 0.18054385483264923, 0.43510958552360535, -0.8255340456962585, 0.03731057420372963, 0.34552818536758423, 0.3637199401855469, 0.12726441025733948, -0.5856826901435852, -0.48562097549438477, -0.052757538855075836, -0.2185756415128708, -0.7272153496742249, 0.08307521045207977, 0.5619456768035889, 0.9785557985305786, 0.6662288904190063, 0.022440025582909584, 0.9537708759307861, -0.6355692148208618, 0.613699197769165, -0.16189910471439362, -0.7232000827789307, 0.10259187966585159, -0.6614019870758057, -0.027101419866085052, 0.7083549499511719, 0.14053770899772644, 0.2503112554550171, -0.6229502558708191, -0.4465949535369873, -1.0164111852645874, 0.5883268117904663, -0.07445989549160004, 0.4789400100708008, 0.016687870025634766, 0.5233355760574341, 0.3973170816898346, 0.269400417804718, -0.09398914873600006, -0.19397781789302826, 0.3764890432357788, -0.1910640001296997, 0.0698118656873703, -0.4332028031349182, -0.11483285576105118, -0.39901798963546753, 0.5575910210609436, -0.058241505175828934, 0.0437457375228405, -0.13075916469097137, 0.07005424797534943, -0.5162858366966248, 0.1125362440943718, 0.48339876532554626, 0.8233451843261719, -0.18715214729309082, 0.05540712550282478, 0.4085612893104553, -0.08557829260826111, -0.1444372981786728, 0.024004226550459862, -0.07578667998313904, -0.05652289092540741, 0.30097997188568115, 0.6981662511825562, 0.5873023271560669, -0.5838313102722168, 0.2747472822666168, 0.5000958442687988, -0.4912415146827698, -0.0844249501824379, 0.5361688733100891, 0.04637283459305763, 0.6860846877098083, 0.7232641577720642, 0.536449134349823, 0.07728227972984314, -0.23318368196487427, 0.10610383749008179, 0.39471811056137085, 0.2345496118068695, -0.3809738755226135, 0.5957886576652527, 0.2873896062374115, -0.34856125712394714, 0.2734317481517792, 0.05520712584257126, -0.24678337574005127, 0.5924267172813416, 0.12724114954471588, 0.840542733669281, -0.0990060493350029, -0.1274203509092331, -0.1172841489315033, 0.17727869749069214, -0.31379809975624084, 0.09818564355373383, -0.3949604034423828, -0.5516853332519531, -0.6505233645439148, -0.7010232210159302, -0.15051373839378357, -0.03191103786230087, -0.5236284136772156, 0.10230617970228195, -0.36524009704589844, -0.1191864013671875, -0.11302858591079712, -0.06609343737363815, -0.6019941568374634, -0.13163429498672485, 0.13049986958503723, 1.0191479921340942, -0.7382247447967529, 0.7308798432350159, 0.9280604124069214, 0.1893659234046936, -0.8827653527259827, 0.02471485175192356, -0.2574218511581421, -0.9236467480659485, 0.43588122725486755, -0.5139478445053101, 0.05978337302803993, 0.21104015409946442, -0.42586749792099, -0.9101102352142334, 0.9022451043128967, 0.646224856376648, -0.9023792743682861, -0.003069237107411027, -0.07484541833400726, 0.5843498110771179, -0.16584156453609467, 0.10694823414087296, 0.5624621510505676, 0.5433576107025146, -0.058743659406900406, -1.1163424253463745, -0.24831955134868622, -0.19614066183567047, -0.06800149381160736, 0.21033480763435364, -1.0679588317871094, 0.955905020236969, 0.16789500415325165, 0.41204702854156494, 0.06073520705103874, 0.5395384430885315, 0.31524938344955444, 0.04165443032979965, 0.6557142734527588, 0.5517842769622803, 0.6226451396942139, 0.14609768986701965, 0.7243363261222839, -0.760491132736206, 0.42251408100128174, 0.8015424013137817, -0.015696972608566284, 0.954409122467041, 0.5246846675872803, -0.23820197582244873, 0.0856509730219841, 0.8222494721412659, -0.01574193313717842, 0.8139657378196716, -0.2703469395637512, -0.13099288940429688, -0.8094565272331238, 0.2005736529827118, -0.42012596130371094, 0.20851123332977295, 0.3593859374523163, -0.30431658029556274, -0.34213021397590637, -0.1293247640132904, 0.003862296463921666, -0.029255203902721405, -0.5957321524620056, 0.7691503763198853, 0.08794040232896805, -0.6321647763252258, 0.721152663230896, 0.11528929322957993, 0.7498272657394409, -0.4258628785610199, 0.16699503362178802, -0.17214863002300262, 0.1114233061671257, -0.2399008423089981, -0.8227723836898804, 0.27722546458244324, -0.09327944368124008, -0.2413506954908371, -0.5133638978004456, 0.6022561192512512, -0.5375023484230042, -0.2419041097164154, 0.11937831342220306, 0.5590582489967346, 0.17300136387348175, -0.3544233739376068, -0.7996042370796204, -0.07996191829442978, -0.15135711431503296, -0.6836090087890625, 0.5950005650520325, 0.6216774582862854, 0.25031137466430664, 0.505593478679657, 0.2568538188934326, 0.15470893681049347, 0.142020121216774, -0.1847754716873169, 1.0146937370300293, -0.10072772204875946, -0.5321832895278931, -1.0588774681091309, 0.5096760988235474, 0.2628342807292938, -0.3348357081413269, 0.5229396224021912, 0.45957741141319275, 0.8190717697143555, -0.26375290751457214, 0.5070559978485107, 0.009865234605967999, 0.17155787348747253, -0.5407888889312744, 0.5845898985862732, -0.9535746574401855, 0.40715715289115906, -0.28031671047210693, -0.8907485604286194, 0.11213786154985428, 0.3120858073234558, -0.26050540804862976, 0.1419283002614975, 0.18636995553970337, 0.8390887379646301, -0.4041949510574341, -0.30806028842926025, 0.5326963663101196, 0.42564353346824646, 0.03351609781384468, 0.6298246383666992, 0.5507524013519287, 0.1433696746826172, 0.4337272644042969, -0.4391917884349823, -0.22492855787277222, -0.4893556535243988, -0.6738777756690979, -0.9910224080085754, -0.5419831871986389, -0.45177605748176575, 0.5250605940818787, 0.056355349719524384, 1.03556489944458, 1.0297541618347168, -0.7415038347244263, 0.1075587049126625, -0.08279580622911453, 0.02603338100016117, -0.32226288318634033, -0.10917343199253082, 0.328348845243454, -0.38645392656326294, -1.0082792043685913, 0.5341666340827942, 0.6023350358009338, -0.2722068130970001, -0.12323931604623795, -0.09289976954460144, 0.23458650708198547, 0.14719218015670776, 0.477053701877594, -0.0807899460196495, -0.653562605381012, -0.21813900768756866, -0.010463905520737171, 0.14355270564556122, 0.0536407046020031, 0.5477707982063293, -0.4277932345867157, 0.16422389447689056, 0.6447921395301819, 0.8420198559761047, 0.21400918066501617, -0.012821871787309647, 0.523034393787384, -0.7069773077964783, 0.06803832948207855, 0.18277989327907562, 0.5403852462768555, -0.3321211636066437, -0.5995907187461853, 0.17635074257850647, 0.23774565756320953, -0.7356160283088684, -0.788953423500061, -0.0005866584833711386, -1.224204182624817, -0.4667165279388428, 1.0660897493362427, -0.022890198975801468, -0.012947439216077328, -0.4070906341075897, -0.3488856852054596, -0.20319388806819916, -0.7877859473228455, 0.8802803158760071, 0.6523733735084534, -0.2913074791431427, -0.3698117434978485, -0.3586960434913635, 0.18117789924144745, 0.630879282951355, -0.2615765631198883, -0.2674090266227722, 0.05247124284505844, 0.5126745700836182, 0.011587296612560749, 0.6619635820388794, 0.3639599084854126, 0.06774338334798813, -0.17565219104290009, -0.5410332083702087, -0.6570935845375061, -0.3721352517604828, 0.0002704808139242232, 0.39875853061676025, 0.2853044271469116, 0.1090385913848877 ]
http://arxiv.org/abs/2407.01902v1
http://arxiv.org/pdf/2407.01902v1
SoP: Unlock the Power of Social Facilitation for Automatic Jailbreak Attack
2024-07-02T02:58:29
2024-07-02T02:58:29
Yan Yang, Zeguan Xiao, Xin Lu, Hongru Wang, Hailiang Huang, Guanhua Chen, Yun Chen
cs.CR
cs.CR, cs.AI, cs.CL
The widespread applications of large language models (LLMs) have brought about concerns regarding their potential misuse. Although aligned with human preference data before release, LLMs remain vulnerable to various malicious attacks. In this paper, we adopt a red-teaming strategy to enhance LLM safety and introduce SoP, a simple yet effective framework to design jailbreak prompts automatically. Inspired by the social facilitation concept, SoP generates and optimizes multiple jailbreak characters to bypass the guardrails of the target LLM. Different from previous work which relies on proprietary LLMs or seed jailbreak templates crafted by human expertise, SoP can generate and optimize the jailbreak prompt in a cold-start scenario using open-sourced LLMs without any seed jailbreak templates. Experimental results show that SoP achieves attack success rates of 88% and 60% in bypassing the safety alignment of GPT-3.5-1106 and GPT-4, respectively. Furthermore, we extensively evaluate the transferability of the generated templates across different LLMs and held-out malicious requests, while also exploring defense strategies against the jailbreak attack designed by SoP. Code is available at https://github.com/Yang-Yan-Yang-Yan/SoP.
[ -0.3046431243419647, -0.7765036821365356, 0.45847198367118835, 0.5947926640510559, -0.08617831021547318, 0.2955935001373291, -0.14611674845218658, -0.3133343458175659, 0.5393296480178833, 0.5368375182151794, -0.6545831561088562, -0.45848098397254944, -0.5792725682258606, 0.17387069761753082, -0.3379354178905487, 1.0447672605514526, 0.11529775708913803, -0.20479151606559753, 0.36046162247657776, 0.006865652743726969, -0.38664114475250244, -0.5061001777648926, -0.5702545046806335, 0.17893525958061218, 0.3605876863002777, 0.5200549960136414, 0.54107266664505, 0.49165740609169006, 0.3450077474117279, 0.24503758549690247, 0.09206247329711914, -0.02059413678944111, -0.35012322664260864, 0.24268943071365356, -0.07472781836986542, -0.19151604175567627, -0.5545828938484192, -0.05848734825849533, 0.0396137572824955, -0.09134574234485626, -0.22790051996707916, -0.038856104016304016, 0.06741880625486374, 0.8251718282699585, -0.7008852362632751, -0.02588781528174877, -0.797940194606781, -0.07523220032453537, -0.32387301325798035, 0.05001130700111389, -0.3699057698249817, -0.6175550818443298, -0.19679713249206543, -0.4153379499912262, -0.09942237287759781, 0.20432792603969574, 0.48126208782196045, 0.20402361452579498, 0.09202027320861816, -0.2017538994550705, -0.14882990717887878, 0.22463278472423553, -0.5726449489593506, 0.06125272065401077, 0.3593050241470337, 0.3699171245098114, -0.41301876306533813, -0.25005897879600525, -0.5286340713500977, -0.391200989484787, 0.2571045160293579, -0.1699029952287674, -0.24804416298866272, 0.04403955861926079, 0.21287760138511658, -0.2215918004512787, -0.5203287601470947, 0.15852996706962585, -0.3115887939929962, -0.10320106148719788, 0.9210954904556274, -0.003669705241918564, 0.7340553998947144, -0.21055297553539276, -0.6366335153579712, 0.24555952847003937, -0.9727025628089905, -0.13058006763458252, 0.3450564444065094, 0.33609598875045776, -0.49774429202079773, 0.4568607211112976, -0.11524670571088791, 0.5669944882392883, 0.2565971314907074, 0.11940327286720276, 0.02827269956469536, -0.2785557210445404, 0.00964756216853857, 0.2714049518108368, 1.127958059310913, 0.5731792449951172, 0.34441906213760376, -0.20747293531894684, -0.0739896148443222, -0.03270015865564346, 0.17550207674503326, -0.6324998140335083, -0.14158064126968384, 0.23716752231121063, -0.24032887816429138, -0.7391842603683472, 0.11891490966081619, -0.7583112120628357, -0.8107430934906006, 0.3511256277561188, 0.16214774549007416, -0.5009474158287048, -0.25940996408462524, 0.089310422539711, -0.1416599154472351, 0.061000529676675797, 0.08184858411550522, -1.1273103952407837, 0.27346038818359375, 0.6246834993362427, 1.0030274391174316, -0.2286771833896637, -0.4780242145061493, -0.7226405143737793, 0.45059773325920105, -0.008350111544132233, 0.5954933166503906, -0.1586771160364151, -0.3433627486228943, -0.19607289135456085, -0.18224476277828217, 0.11177370697259903, -0.34634095430374146, -0.03322179988026619, -0.6361048817634583, -0.4803703725337982, -0.14653481543064117, -0.222611665725708, 0.39242976903915405, 0.1647656410932541, -0.5503436326980591, 0.5730128288269043, -0.24169887602329254, -0.8306779265403748, 0.20673923194408417, -0.7181696891784668, -0.5981348752975464, 0.18483242392539978, -0.23584771156311035, -0.27482372522354126, 0.026111522689461708, 0.17991432547569275, 0.5849123001098633, -0.19459539651870728, 0.37352603673934937, -0.46858176589012146, -0.1908511519432068, 0.03022541105747223, 0.21587328612804413, 0.9742997884750366, 0.371454656124115, -0.6942288279533386, 0.3057480752468109, -0.5467658042907715, -0.10364454984664917, 0.5137600898742676, -0.20453932881355286, -0.3875126242637634, -0.0731244683265686, -0.10157264769077301, 0.13430267572402954, 0.28742676973342896, -0.602867603302002, 0.39394238591194153, -0.35969072580337524, 0.7324711084365845, 0.9923284649848938, -0.15276938676834106, 0.43175917863845825, 0.008043521083891392, 0.5618494749069214, -0.5939466953277588, 0.28146106004714966, 0.05425828695297241, -0.3967036008834839, -0.1790604144334793, -0.34557652473449707, 0.03982266038656235, 0.7754210233688354, -0.6874634027481079, 0.5230178236961365, 0.24893328547477722, -0.6974851489067078, -0.2601374089717865, 0.3079563081264496, 0.5577545166015625, 0.11924616247415543, 0.32699906826019287, -0.16268031299114227, -0.6594172716140747, -0.6207795739173889, -0.5337878465652466, -0.2469419240951538, -0.016579631716012955, 0.1264886111021042, 0.297608345746994, -0.194504514336586, 0.8421033620834351, -0.5411903262138367, -0.22358477115631104, -0.7586749196052551, -0.10964670777320862, 0.2549375891685486, 0.5138064026832581, 0.5371344089508057, -0.39850857853889465, -0.7118309736251831, -0.47457751631736755, -0.7253931164741516, -0.6043670177459717, -0.10779467225074768, -0.07790903002023697, 0.22172515094280243, 0.8100512623786926, -0.5328668355941772, 0.41405582427978516, 0.6173254251480103, -0.7444268465042114, 0.9261983036994934, -0.1335470974445343, -0.009333484806120396, -1.000243067741394, -0.11181141436100006, 0.1007935181260109, -0.020014964044094086, -0.7481734156608582, 0.4221999943256378, 0.25248873233795166, -0.3243112564086914, -0.6722269654273987, 0.5307495594024658, -0.34904614090919495, 0.07104218006134033, -0.09180084615945816, 0.3274490535259247, -0.30560508370399475, 0.12554733455181122, -0.13072310388088226, 0.6991397738456726, 0.38261231780052185, -0.3233584761619568, 0.37325000762939453, 0.18424876034259796, -0.11975820362567902, 0.32150304317474365, -0.9474878311157227, 0.35536882281303406, 0.014837103895843029, 0.22967027127742767, -0.8714608550071716, -0.21073177456855774, 0.2584393322467804, -0.2832980751991272, 0.12363699823617935, -0.33195239305496216, -0.6055662035942078, -0.02812022529542446, -0.41628769040107727, 0.015219234861433506, 0.2974146902561188, -0.5049758553504944, 0.318325400352478, 0.6055890917778015, -0.38168540596961975, -0.27208396792411804, -0.35308510065078735, 0.3726296126842499, -0.3589027523994446, -0.9282127618789673, 0.3165551722049713, -0.13991416990756989, -0.35341235995292664, -0.572134256362915, -0.03583966940641403, 0.1934509575366974, 0.5083678960800171, 0.5177580118179321, 0.5104783177375793, 0.2305590957403183, -0.32124584913253784, -0.030275506898760796, -0.427598237991333, 0.09322917461395264, -0.13343843817710876, 0.8919722437858582, -0.2286583036184311, -0.22585570812225342, -0.46148574352264404, 0.37872883677482605, 0.594044029712677, -0.13606345653533936, 0.6683719158172607, 0.11373307555913925, -0.029816681519150734, -0.011488592252135277, -0.5052507519721985, -0.33995944261550903, -0.5300841331481934, 0.12434377521276474, -0.22685188055038452, -0.8910088539123535, 0.2283720076084137, 0.07699408382177353, 0.2203618884086609, -0.19484181702136993, 0.4267415702342987, -0.07198777794837952, 0.8462400436401367, 0.6193968057632446, -0.6195964813232422, 0.638620138168335, 0.08863183110952377, 0.21767525374889374, -0.34480735659599304, -0.0811484083533287, -0.5061020255088806, -0.15460078418254852, -0.3261127471923828, -0.1443203240633011, 0.3967411518096924, 0.2623126804828644, -0.3406282663345337, 0.617684006690979, -0.49402961134910583, 0.7035298943519592, 0.4486340880393982, 0.1393129527568817, 0.14746186137199402, -0.14730730652809143, -0.28512775897979736, 0.06321971863508224, -0.6374836564064026, -0.4598473012447357, 0.9976791739463806, 0.41003158688545227, 0.8910176157951355, 0.21214942634105682, 1.1588925123214722, 0.39214256405830383, 0.10350680351257324, -0.30775725841522217, 0.9185812473297119, -0.04864857345819473, -0.5907540917396545, -0.22023366391658783, -0.10164720565080643, -0.6675599217414856, -0.08082332462072372, -0.33175164461135864, -0.9755396246910095, -0.17261385917663574, 0.3811427354812622, -0.7249848246574402, 0.14974521100521088, -0.8080097436904907, 0.7684803009033203, -0.3393086791038513, -0.4134674072265625, -0.21152402460575104, -0.8583948612213135, 0.39283880591392517, -0.02041258104145527, 0.42939096689224243, -0.1995934247970581, 0.280680388212204, 0.7985615730285645, -0.6640468835830688, 0.9821373224258423, -0.5437068939208984, 0.13068729639053345, -0.029556123539805412, 0.43660786747932434, 0.8950610756874084, 0.23926915228366852, 0.009009800851345062, 0.26182419061660767, -0.29281747341156006, -0.27742519974708557, -0.4560299813747406, 0.5378320217132568, -0.659868061542511, -1.0049636363983154, -0.19132089614868164, -0.4030880331993103, 0.08044158667325974, 0.30138298869132996, 0.22592855989933014, -0.041287243366241455, 0.09464704245328903, -0.032182592898607254, 0.5920722484588623, -0.4532141387462616, 0.504435658454895, 0.5054063200950623, -0.2746773362159729, -0.46988043189048767, 0.7118402123451233, -0.0835237056016922, 0.4833064675331116, -0.1771736592054367, 0.3497408628463745, 0.0026173649821430445, -0.6172264218330383, -0.487870991230011, 0.16685263812541962, -0.2952329218387604, -0.22670313715934753, -0.6912351846694946, -0.2902440130710602, -0.6941767334938049, -0.7763222455978394, -0.30810266733169556, -0.42299750447273254, 0.14162109792232513, -0.22694580256938934, 0.559208869934082, 0.4319440424442291, -0.3672219514846802, 0.37647417187690735, -0.8232410550117493, 0.546239972114563, 0.2094859480857849, -0.06334207206964493, -0.1617274433374405, -0.08025162667036057, 0.010628930293023586, -0.447377473115921, -0.13936789333820343, -1.2611266374588013, 0.5136559009552002, -0.1579706370830536, 0.40558677911758423, 0.3573324680328369, 0.4887571334838867, 0.4229089021682739, -0.7138336896896362, 0.5954699516296387, 0.5914964079856873, -1.0576119422912598, 1.0480844974517822, -0.5025749802589417, 0.08459271490573883, 0.7216406464576721, 0.17360493540763855, -0.4858572483062744, -0.7717785835266113, -0.7189368009567261, -1.144113302230835, 0.6926863193511963, 0.024227110669016838, -0.021990980952978134, -0.12743212282657623, 0.2196841984987259, -0.043579865247011185, 0.21633972227573395, -0.7291965484619141, -0.35486289858818054, -0.21712541580200195, -0.10859309136867523, 0.2124509960412979, -0.2794784903526306, -0.28988808393478394, 0.08015697449445724, 0.44092029333114624, 0.039629459381103516, 0.0587703213095665, 0.04565757140517235, -0.10879375040531158, 0.207559272646904, 0.40037083625793457, 0.3507390022277832, 0.11831839382648468, -0.13562968373298645, 0.2327916920185089, 0.15026921033859253, -0.6868959665298462, 0.40554285049438477, -0.01354698371142149, -0.46639585494995117, -0.40224334597587585, 0.19383931159973145, 0.395669549703598, -0.029847675934433937, -0.5625714659690857, 0.47400224208831787, -0.10970664024353027, -0.008666910231113434, -0.2440004199743271, 0.5920810699462891, 0.05618195980787277, 0.5206611752510071, 0.2731248438358307, 0.02708003669977188, -0.12429396063089371, -0.48934313654899597, 0.2518850564956665, 0.4379591643810272, -0.2789827883243561, -0.2782389223575592, 0.8055355548858643, 0.4425528645515442, -0.6277661323547363, 0.3914039433002472, -0.16813215613365173, -0.6500272750854492, 0.593159019947052, 0.8442222476005554, 0.9591425657272339, -0.37912383675575256, 0.16431185603141785, 0.05525090917944908, 0.4683215320110321, -0.038286417722702026, 0.4023457467556, -0.2015523761510849, -0.8215149641036987, -0.1418774574995041, -0.2868894040584564, -0.2240609973669052, 0.010518049821257591, -0.47851601243019104, 0.5187552571296692, -1.1243598461151123, -0.05130553990602493, -0.19211646914482117, -0.27023276686668396, -0.06529533863067627, -0.1355956643819809, -0.01774728111922741, 1.223023533821106, -0.9291344285011292, 0.8660845756530762, 0.5092891454696655, -0.138466015458107, -0.7554723024368286, 0.0994575098156929, 0.4982881247997284, -0.9520326852798462, 0.8736264705657959, 0.32801172137260437, -0.18697704374790192, 0.0601937472820282, -0.7019701600074768, -0.613092303276062, 0.7893007397651672, 0.3606947064399719, -0.7573755979537964, -0.08345794677734375, -0.09445555508136749, -0.0849897563457489, -0.2801646888256073, -0.14378349483013153, 0.7972522377967834, 0.5117987394332886, -0.10413920134305954, -0.8012370467185974, 0.6232085824012756, -0.2861616015434265, -0.2690643072128296, 0.1076972484588623, -0.6127087473869324, 0.2819790542125702, -0.6804201602935791, -0.03449154645204544, -0.03398750349879265, 0.27605941891670227, 1.1684468984603882, 0.2867361605167389, 0.6513459086418152, 0.37148308753967285, 0.316915363073349, 0.021431436762213707, 0.7189372181892395, -0.4786034822463989, -0.1998862475156784, 1.1012067794799805, -0.34244978427886963, 0.7112113833427429, 0.7240663170814514, -0.02349078841507435, 0.11126518994569778, 0.2690964341163635, 0.11359249800443649, 0.8456859588623047, 0.3944966793060303, -0.23935820162296295, -0.1375325322151184, 0.10061655938625336, -0.46229004859924316, 0.20233429968357086, 0.27219775319099426, -0.21564523875713348, -0.12844790518283844, -0.06562189757823944, 0.6612268090248108, 0.042113788425922394, -0.1895999163389206, 0.7581602931022644, 0.1682296246290207, -0.3972605764865875, 0.4930209815502167, 0.1842399537563324, 0.7720901966094971, -0.65914386510849, 0.25181320309638977, -0.18458154797554016, -0.12896040081977844, -0.38917428255081177, -0.5319045186042786, 0.38974276185035706, 0.3792857527732849, -0.03637448325753212, -0.4121220111846924, 0.8725641369819641, 0.05304167792201042, 0.042081139981746674, 0.39967912435531616, -0.01977963000535965, 0.02306976541876793, -0.04259130731225014, -0.7692323327064514, 0.41302645206451416, 0.14351187646389008, -0.1431502103805542, 0.552455723285675, 0.13763201236724854, 0.03879829868674278, 0.746656060218811, 0.772051215171814, 0.38030245900154114, -0.038091450929641724, -0.0599844753742218, 1.0731264352798462, -0.7402340769767761, -0.7739449143409729, -1.4219659566879272, 0.5032908320426941, -0.281742125749588, 0.04114644229412079, 0.8930920958518982, 0.2171071618795395, 0.4025948941707611, 0.0975068211555481, 1.0131806135177612, -0.38141801953315735, 0.10607197880744934, -0.6917122602462769, 1.1266928911209106, -0.17327260971069336, 0.6660027503967285, -0.8410884737968445, -0.5316826105117798, -0.41121405363082886, 0.7068554759025574, -0.49799904227256775, -0.40760448575019836, 0.3743317127227783, 0.8905854821205139, 0.35047078132629395, 0.09160948544740677, 0.18142254650592804, 0.20039090514183044, 0.5261289477348328, 0.5547910928726196, 0.8028409481048584, 0.026600012555718422, 0.38472920656204224, 0.15403567254543304, -0.6867974400520325, -0.3926715552806854, -1.0282680988311768, -0.9649200439453125, -0.1930922120809555, -0.1874590367078781, -0.7327246069908142, 0.48269975185394287, 1.209695816040039, 0.716107964515686, -0.6678388118743896, -0.33523982763290405, -0.30835244059562683, 0.12507759034633636, 0.02903209626674652, -0.18161281943321228, 0.1400827020406723, -0.2747560739517212, -0.06171908229589462, 0.7825309038162231, 0.6487368941307068, -0.03692614287137985, -0.24964436888694763, -0.16341203451156616, -0.02992231398820877, -0.033786337822675705, 0.334702730178833, 0.46660077571868896, -0.43579986691474915, -0.17395848035812378, -0.005444533657282591, -0.11657501012086868, -0.23174333572387695, 0.7906425595283508, -0.4423988163471222, 0.2077488750219345, 0.40327849984169006, 0.6424944996833801, 0.16074660420417786, -0.16855287551879883, 0.9506953954696655, -0.7099592089653015, 0.24732348322868347, -0.059495825320482254, 0.3545565903186798, -0.042899034917354584, -0.49211663007736206, 0.48215967416763306, 0.2736327052116394, -0.40283751487731934, -0.8343451619148254, 0.48349258303642273, -0.4873204231262207, -0.3447349965572357, 1.2349191904067993, -0.3751120865345001, -0.3709295690059662, -0.5034283399581909, -0.29755493998527527, -0.050146520137786865, -0.7897735238075256, 1.1426352262496948, 0.31027474999427795, -0.022765086963772774, -0.13500504195690155, -0.3826739490032196, 0.6418415307998657, 0.1318490356206894, -0.8504058122634888, 0.37678366899490356, 0.2310783714056015, 0.3720255494117737, 0.18638181686401367, 0.9330570101737976, -0.17679063975811005, 0.3446310758590698, -0.23839305341243744, 0.16415540874004364, -0.42579999566078186, -0.5536167025566101, -0.1326487809419632, 0.34812358021736145, 0.05638658627867699, -0.059301819652318954 ]
http://arxiv.org/abs/2407.01899v1
http://arxiv.org/pdf/2407.01899v1
Scope-enhanced Compositional Semantic Parsing for DRT
2024-07-02T02:50:15
2024-07-02T02:50:15
Xiulin Yang, Jonas Groschwitz, Alexander Koller, Johan Bos
cs.CL
cs.CL
Discourse Representation Theory (DRT) distinguishes itself from other semantic representation frameworks by its ability to model complex semantic and discourse phenomena through structural nesting and variable binding. While seq2seq models hold the state of the art on DRT parsing, their accuracy degrades with the complexity of the sentence, and they sometimes struggle to produce well-formed DRT representations. We introduce the AMS parser, a compositional, neurosymbolic semantic parser for DRT. It rests on a novel mechanism for predicting quantifier scope. We show that the AMS parser reliably produces well-formed outputs and performs well on DRT parsing, especially on complex sentences.
[ -0.19502666592597961, -0.6318234801292419, 0.7577241659164429, 0.21142730116844177, -0.1535700261592865, 0.31914055347442627, -0.11968661099672318, -0.2559935748577118, 0.5148952603340149, 0.3624247908592224, -0.5346673130989075, -0.28123924136161804, -0.6896774768829346, 0.05855325609445572, -0.34819597005844116, 0.5635092854499817, -0.02735881879925728, 0.19984738528728485, -0.24952374398708344, -0.11169365793466568, -0.5431840419769287, -0.511290431022644, -0.7343198657035828, -0.3441021144390106, 0.2973775267601013, 0.11002472788095474, 0.6648852229118347, 0.5654304623603821, 0.4733601212501526, 0.3961013853549957, -0.1614171862602234, 0.06548047810792923, -0.05186590179800987, 0.5848805904388428, -0.2254849225282669, -0.515852153301239, -0.5527680516242981, -0.2884584963321686, 0.7993829250335693, 0.8667154312133789, -0.25940021872520447, -0.28197139501571655, -0.024318912997841835, 0.5686179995536804, -0.6575258374214172, 0.21177276968955994, -0.45228391885757446, 0.1780991405248642, -0.09170685708522797, -0.10948103666305542, -0.41078171133995056, 0.06002957373857498, 0.3187885284423828, -0.5712344646453857, -0.08624020963907242, -0.38116928935050964, 0.5951454043388367, 0.27412623167037964, -1.001894474029541, -0.009419264271855354, -0.5482258796691895, 0.752991795539856, -0.6513156890869141, 0.46045878529548645, 0.029531093314290047, 0.4758526682853699, -0.12327361106872559, -1.0545551776885986, -0.45027223229408264, -0.05541325733065605, -0.3427376449108124, 0.32615140080451965, -0.28087112307548523, 0.36434510350227356, 0.20889391005039215, 0.5468980073928833, -0.6561678051948547, -0.39216241240501404, -0.04626055434346199, -0.23142307996749878, 0.25611570477485657, 0.3863126039505005, -0.013344971463084221, -0.8080580830574036, -0.36252960562705994, 0.018102237954735756, -0.42967918515205383, 0.047012023627758026, 0.01577233523130417, -0.04181218519806862, 0.016279393807053566, 0.8224349021911621, -0.31591376662254333, 0.9795898199081421, 0.010722893290221691, 0.18442673981189728, 0.008126051165163517, -0.210717111825943, -0.2507514953613281, -0.1874927431344986, 0.6916130781173706, 0.14095519483089447, -0.042416058480739594, 0.09014464914798737, -0.22629687190055847, 0.32001957297325134, 0.4747055172920227, -0.5955238938331604, -0.3472757041454315, 0.04584604501724243, -0.3200607895851135, -0.18829670548439026, 0.38541126251220703, -0.5115876793861389, -0.058815207332372665, -0.5632607936859131, 0.14257527887821198, -0.5662487149238586, -0.1613440215587616, 0.27639853954315186, -0.3262168765068054, 0.114039845764637, 0.23505225777626038, -0.7814490795135498, 0.5615544319152832, 0.6687000393867493, 0.8028303384780884, -0.12560485303401947, -0.13301242887973785, -0.5239733457565308, 0.4883808195590973, -0.2712916135787964, 0.9471538662910461, -0.8322722911834717, -0.14381645619869232, -0.10372807830572128, -0.06429913640022278, -0.23052702844142914, -0.49844127893447876, 0.4902186691761017, -0.5519232153892517, 0.1945727914571762, -0.3507329821586609, -0.7036656141281128, -0.3360197842121124, 0.41447073221206665, -0.6525738835334778, 0.6392396092414856, 0.5040416717529297, -0.5862591862678528, 0.3409006595611572, -0.8318285346031189, -0.5745958089828491, -0.014795768074691296, -0.49292850494384766, -0.02547616884112358, 0.4236483871936798, 0.06436996906995773, 0.2623329162597656, -0.06937959045171738, 0.5998400449752808, -0.13549384474754333, -0.06273742765188217, 0.49030062556266785, -0.5905504822731018, 0.513131320476532, 0.2303636223077774, -0.1988791525363922, 0.2519685924053192, -0.807220458984375, 0.23915722966194153, -0.10464028269052505, -0.4542560279369354, -0.3486035168170929, 0.06335920095443726, -0.18167664110660553, -0.013975934125483036, 0.2279966026544571, -0.5581985116004944, 0.07546822726726532, -0.6786360740661621, 0.8741648197174072, 0.5355708599090576, 0.11160583794116974, 0.4421841502189636, -0.12801866233348846, 0.6009067296981812, 0.3701530992984772, -0.3191883862018585, -0.2725861668586731, -0.3013014495372772, -0.87812340259552, -0.33018386363983154, 0.48400503396987915, 0.5165969729423523, -0.4701777994632721, 0.6326760649681091, -0.39661043882369995, -0.04412427917122841, -0.2822052538394928, -0.4951072931289673, 0.3082314729690552, 0.16114981472492218, 0.27341634035110474, -0.5154351592063904, -0.7810925245285034, -1.1704462766647339, -0.38359004259109497, -0.15273763239383698, -0.2442140430212021, 0.2460864782333374, 0.3159826397895813, -0.22984053194522858, 1.0916353464126587, -0.8371530771255493, -0.12672294676303864, -0.13787132501602173, 0.2616824209690094, -0.011441454291343689, 0.3786839246749878, 0.2989226281642914, -0.8185991644859314, -0.40983885526657104, -0.15069787204265594, -0.8042399287223816, -0.05861864238977432, 0.14130009710788727, -0.05251022428274155, -0.10482247173786163, 0.5487555265426636, -0.8810902833938599, 0.4530223309993744, 0.4447076916694641, -0.7865488529205322, 0.38352155685424805, -0.0300873015075922, 0.12200980633497238, -1.2530730962753296, -0.23040947318077087, -0.3614961504936218, -0.6765778064727783, -0.39129897952079773, 0.04058271273970604, 0.243808776140213, -0.07165757566690445, -0.13809169828891754, 0.1319103240966797, -0.25445905327796936, -0.06649892777204514, -0.30452629923820496, 0.02951553836464882, 0.5030073523521423, 0.19942370057106018, 0.11826534569263458, 0.6864283084869385, 0.35953792929649353, -0.436372309923172, 0.49124953150749207, 0.31169313192367554, 0.036815810948610306, 0.8198036551475525, -0.9146689772605896, -0.421638160943985, 0.014623276889324188, 0.43902596831321716, -0.9307330846786499, -0.47984662652015686, 0.028453456237912178, -0.28766393661499023, 0.4485152065753937, 0.03428655490279198, -0.39426618814468384, -0.43574297428131104, -0.19617371261119843, 0.6658517718315125, -0.03242307901382446, -0.2567082941532135, 0.791305661201477, 0.3842315971851349, 0.07249362766742706, -0.5001223683357239, -1.0767768621444702, 0.3127231001853943, -0.1296842396259308, -0.8081221580505371, 0.5992956757545471, 0.3251574635505676, -0.23961141705513, 0.16257111728191376, -0.10040333122015, 0.025152547284960747, -0.030317019671201706, 0.03566083312034607, -0.21782244741916656, -0.4912121593952179, 0.2010626345872879, 0.39079761505126953, -0.46523648500442505, 0.19750401377677917, -0.3521759510040283, 0.5405722260475159, -0.30494216084480286, -0.5772430300712585, -0.2897660434246063, 0.711692214012146, 0.49261316657066345, -0.43355318903923035, 0.3692304491996765, 0.23556432127952576, -0.32664862275123596, -0.08484965562820435, -0.2528548240661621, -0.34132224321365356, -0.44614046812057495, 0.4103233218193054, -0.7546844482421875, -1.088982343673706, 0.5899306535720825, -0.202632874250412, -0.41176319122314453, 0.49272122979164124, 0.42685845494270325, 0.2632298469543457, 0.9739954471588135, 0.4753117561340332, 0.5021600127220154, 0.29725587368011475, -0.3944561779499054, 0.30876848101615906, -1.1261756420135498, 0.10473033785820007, -0.025233658030629158, -0.3173786997795105, -0.7115187048912048, -0.549760639667511, 0.45635518431663513, -0.31556451320648193, -0.3249446153640747, 0.4104331433773041, -0.4793444871902466, 0.5355964303016663, 0.7547426223754883, 0.10264132171869278, 0.41087591648101807, -0.2143462747335434, -0.20421762764453888, -0.26838865876197815, -0.47304385900497437, -0.6086770296096802, 0.7325529456138611, 0.402580201625824, 0.7642022371292114, 0.4443216025829315, 0.6165236830711365, 0.08900836110115051, -0.3507935702800751, -0.9731587171554565, 0.5786133408546448, -0.48017725348472595, -0.5091594457626343, -0.1562032848596573, -0.2649590075016022, -0.7964315414428711, 0.6456566452980042, 0.23131269216537476, -0.5549296140670776, 0.5418351292610168, -0.1541326940059662, -0.4229675531387329, 0.06762722134590149, -0.6411053538322449, 0.9839181900024414, 0.3200068771839142, -0.13439291715621948, -0.18679405748844147, -0.8994592428207397, 0.36592626571655273, 0.16137123107910156, -0.20583580434322357, 0.04090433567762375, -0.328327476978302, 0.7809578776359558, -0.3581189215183258, 0.9270519018173218, -0.08133399486541748, 0.06510467082262039, 0.3407946228981018, 0.32304781675338745, 0.3081117272377014, 0.3813513219356537, -0.08171647042036057, -0.06225159019231796, 0.2167108803987503, -0.309455543756485, -0.6581546664237976, 0.5600119233131409, -0.5036225318908691, -0.4741798937320709, -0.5479795932769775, -0.6076241731643677, -0.3494851887226105, 0.27765050530433655, 0.23023106157779694, 0.4522325396537781, -0.30296486616134644, 0.23508767783641815, 0.5566275119781494, 0.16658370196819305, 0.28362923860549927, 0.29769784212112427, 0.02899867668747902, -0.6892085075378418, 0.5180985927581787, 0.13726451992988586, 0.30565276741981506, 0.5522642731666565, 0.18960663676261902, -0.14987541735172272, -0.2657581865787506, -0.44884422421455383, 0.17561252415180206, -0.9751026630401611, -0.6931593418121338, -0.8849168419837952, -0.4696153998374939, -0.4734064042568207, -0.025380786508321762, -0.43328630924224854, -0.9840213656425476, -0.23973308503627777, -0.20111025869846344, 0.01929726079106331, 1.0039355754852295, -0.07763893157243729, 0.5547720789909363, -0.5501063466072083, 0.2796802222728729, 0.5535697340965271, 0.3805985748767853, -0.35401371121406555, -0.30783939361572266, -0.007558576762676239, 0.10780616849660873, -0.7493841648101807, -1.0009565353393555, 0.25432226061820984, 0.24232915043830872, 0.23298512399196625, 0.3704513609409332, 0.009079228155314922, 0.8511675000190735, -0.4922175705432892, 0.9757331013679504, 0.003122955095022917, -1.2919819355010986, 0.6219390034675598, -0.47861436009407043, 0.5525216460227966, 0.5049703121185303, -0.08778472989797592, -0.4548937678337097, -0.7271102070808411, -0.5968077778816223, -0.7885523438453674, 0.5774403810501099, 0.0646369606256485, 0.2960721552371979, -0.2990795373916626, 0.38068142533302307, 0.09709420055150986, 0.3419490456581116, -0.8839159607887268, -0.10388337075710297, -0.39268729090690613, -0.4478966295719147, 0.14885129034519196, -0.8072667717933655, -0.12359948456287384, -0.2576577961444855, 0.3505205810070038, -0.18787707388401031, 0.4368758499622345, 0.38464343547821045, 0.08177303522825241, -0.3960469663143158, 0.42551669478416443, 0.49896419048309326, 0.7070291042327881, 0.031917572021484375, 0.6299206018447876, -0.1481190323829651, -0.3345617353916168, 0.2780214548110962, 0.05137915536761284, -0.20496918261051178, -0.03406750410795212, 0.5032806396484375, 0.7324519157409668, 0.4403831958770752, -0.546042799949646, 0.8899003267288208, -0.1527605950832367, -0.3701740801334381, -0.4638722538948059, 0.010687964968383312, 0.05850296840071678, 0.520285964012146, 0.053507279604673386, 0.06934945285320282, 0.6092969179153442, -0.26668745279312134, 0.547957718372345, 0.516183078289032, -0.2433444857597351, -0.29778242111206055, 0.611188530921936, -0.167165145277977, 0.01750043034553528, 0.34849387407302856, -0.2888222634792328, -0.7817862629890442, 0.29889997839927673, 0.7181355953216553, 0.8600962162017822, -0.27649813890457153, 0.31019267439842224, 0.31435707211494446, 0.018780648708343506, 0.25778892636299133, 0.36424586176872253, -0.10463673621416092, -0.5140471458435059, -0.5995647311210632, -0.8155511617660522, -0.29572582244873047, -0.15857011079788208, -0.696142315864563, 0.3181474208831787, -0.16239584982395172, -0.1783231496810913, 0.07183221727609634, -0.20095445215702057, -0.17002253234386444, 0.11494167149066925, -0.046351686120033264, 0.4002649784088135, -0.7178286910057068, 0.5945570468902588, 0.9970595836639404, -0.16808828711509705, -0.7383060455322266, 0.1503809690475464, -0.14976201951503754, -0.6539570689201355, 0.593187689781189, 0.14895473420619965, 0.09270928800106049, -0.020740259438753128, -0.10166510939598083, -1.1108375787734985, 1.0308929681777954, 0.5656682252883911, -0.32674655318260193, -0.018018363043665886, 0.3844127953052521, 0.49359938502311707, -0.5686520338058472, 0.015397085808217525, 0.5442453622817993, 0.5169098973274231, 0.33985671401023865, -0.780733585357666, 0.373488187789917, 0.14531932771205902, 0.19586822390556335, 0.4101835787296295, -0.3882766664028168, 1.0265276432037354, 0.008591641671955585, -0.18952283263206482, 0.03734169155359268, 0.8441734910011292, 0.01535087265074253, 0.3098287582397461, 0.3859243094921112, 0.9434118866920471, 0.6286231875419617, -0.09615731239318848, 0.6731885075569153, -0.08087194710969925, 0.18037328124046326, 1.251470685005188, -0.059052757918834686, 0.842166006565094, 0.5581462383270264, -0.3239794373512268, 0.9080606698989868, 0.48277220129966736, 0.16479213535785675, 0.5719809532165527, 0.2738645672798157, -0.44212472438812256, -0.2739885151386261, 0.013508151285350323, -0.21883535385131836, 0.8621513247489929, 0.469499796628952, -0.43905436992645264, -0.41877231001853943, 0.3097035884857178, -0.2757744789123535, 0.22528772056102753, 0.21816079318523407, 1.217074990272522, 0.2994990646839142, -0.7604314684867859, 0.5384141206741333, 0.10943535715341568, 0.16889242827892303, -0.5588377118110657, -0.04269259050488472, 0.22665506601333618, 0.2568282186985016, -0.15672554075717926, -0.846023678779602, 0.8513582348823547, -0.5428209900856018, -0.18221168220043182, -0.015735719352960587, 0.8345966339111328, -0.4472910761833191, -0.2660571336746216, 0.26681914925575256, 0.7373401522636414, -0.24709858000278473, -0.21541330218315125, -0.563062846660614, -0.06145082414150238, -0.22752396762371063, -0.4932907223701477, 0.09227531403303146, 0.9400656819343567, 0.14657196402549744, 0.39842814207077026, 0.168466255068779, -0.021814147010445595, 0.018663855269551277, -0.038580697029829025, 1.112663984298706, -0.9201473593711853, -0.5798211693763733, -0.8875797390937805, 0.6143277883529663, -0.1134689673781395, -0.03874753415584564, 0.5500612854957581, 0.6589290499687195, 0.5505180954933167, 0.038710981607437134, 0.6622404456138611, -0.32603511214256287, 0.38474756479263306, -0.3886803388595581, 0.21627849340438843, -0.4984686076641083, 0.2631455957889557, 0.04256331920623779, -0.9135270118713379, -0.5766547322273254, 0.8784675002098083, -0.3655608594417572, 0.00939206499606371, 1.0602561235427856, 0.5115718841552734, -0.3717396557331085, 0.2666708827018738, 0.5071372985839844, 0.26427116990089417, 0.5485084056854248, 0.4935416579246521, 0.9371384978294373, -0.41140443086624146, 0.061119694262742996, -0.3802162706851959, -0.35171300172805786, 0.015434140339493752, -0.7572828531265259, -0.6716424226760864, -0.6651305556297302, -0.20194387435913086, -0.2423112541437149, -0.10908757150173187, 0.6399258971214294, 0.7445343732833862, -0.7181864976882935, -0.20421257615089417, -0.5960049033164978, -0.05563873425126076, -0.09441956132650375, -0.290719598531723, 0.28017908334732056, -0.6523623466491699, -0.42836806178092957, 0.3866698443889618, 0.4252457916736603, 0.14233945310115814, -0.3135119378566742, 0.13179384171962738, -0.08716388046741486, 0.19413761794567108, 0.9958858489990234, -0.37078529596328735, -0.7447355389595032, -0.4171803295612335, -0.1576988399028778, -0.04349058121442795, 0.2386329025030136, 0.9954161047935486, -0.8293451070785522, 0.3173062801361084, 0.511078417301178, 0.46137943863868713, 0.2963758409023285, -0.0590481273829937, 0.745210587978363, -0.7365530729293823, -0.01481954101473093, 0.6049944162368774, 0.5809553861618042, 0.2624437212944031, -0.2495916336774826, 0.5961155891418457, 0.40011897683143616, -0.6131526231765747, -0.73172926902771, 0.630276083946228, -1.3294848203659058, -0.4132397472858429, 1.0297406911849976, -0.09690209478139877, -0.33987343311309814, -0.08013778179883957, -0.20339514315128326, 0.22670142352581024, -0.30494654178619385, 0.3261948823928833, 0.6386430859565735, -0.2764416038990021, 0.06928066909313202, -0.5131682753562927, 0.2713128626346588, 0.6386140584945679, -0.575343132019043, 0.4609132707118988, 0.638775646686554, -0.008214788511395454, 0.22556732594966888, 0.5485439896583557, -0.35708245635032654, 0.23607008159160614, 0.0076116533018648624, -0.5158611536026001, 0.22629696130752563, -0.14133179187774658, -0.30220577120780945, 0.36460018157958984, 0.2715321183204651, 0.004894590005278587 ]
http://arxiv.org/abs/2407.01897v1
http://arxiv.org/pdf/2407.01897v1
Proposal Report for the 2nd SciCAP Competition 2024
2024-07-02T02:42:29
2024-07-02T02:42:29
Pengpeng Li, Tingmin Li, Jingyuan Wang, Boyuan Wang, Yang Yang
cs.CL
cs.CL
In this paper, we propose a method for document summarization using auxiliary information. This approach effectively summarizes descriptions related to specific images, tables, and appendices within lengthy texts. Our experiments demonstrate that leveraging high-quality OCR data and initially extracted information from the original text enables efficient summarization of the content related to described objects. Based on these findings, we enhanced popular text generation model models by incorporating additional auxiliary branches to improve summarization performance. Our method achieved top scores of 4.33 and 4.66 in the long caption and short caption tracks, respectively, of the 2024 SciCAP competition, ranking highest in both categories.
[ -0.31581470370292664, -0.1463802456855774, 0.5241679549217224, 0.16769258677959442, -0.47895798087120056, 0.3506648540496826, -0.02670997567474842, -1.0632034540176392, 0.343095600605011, 0.2491111010313034, -0.16984279453754425, -0.27895188331604004, -0.41516533493995667, 0.5018187165260315, -0.4859892427921295, 0.9153555035591125, -0.160994753241539, -0.12727750837802887, -0.6002405881881714, 0.014412231743335724, -0.4424683749675751, -0.187656432390213, -0.43496423959732056, 0.1762852966785431, 0.5383545160293579, 0.6752303242683411, 0.23874874413013458, 0.7846840023994446, 1.0600656270980835, 0.32104137539863586, -0.09239273518323898, 0.5130949020385742, -0.13069652020931244, 0.16304826736450195, -0.08989217132329941, -0.6272150874137878, -0.6505905985832214, -0.06199375167489052, 0.8784643411636353, 0.43891486525535583, 0.3034175932407379, -0.060323912650346756, -0.02903897687792778, 0.45267748832702637, -0.3019125759601593, 0.43779054284095764, -0.477224200963974, 0.11871271580457687, -0.1082562804222107, -0.7089002132415771, -0.5400908589363098, -0.18630242347717285, -0.03407737985253334, -0.5839710235595703, 0.5698899626731873, 0.40601080656051636, 1.0045734643936157, -0.10147323459386826, -0.08474359661340714, -0.46383047103881836, -0.4222191572189331, 0.545600414276123, -0.610598623752594, -0.14281295239925385, 0.2939755618572235, 0.27482032775878906, 0.1347312182188034, -1.0314948558807373, -0.39663079380989075, -0.07070139795541763, -0.27185410261154175, 0.5129919648170471, -0.30988624691963196, -0.024563932791352272, 0.07822227478027344, 0.470650851726532, -0.41782599687576294, 0.16555878520011902, -1.1843187808990479, -0.20631290972232819, 0.7887734770774841, 0.39296239614486694, 0.3353549540042877, 0.05064733698964119, -0.050409749150276184, 0.03541060537099838, -0.5390323400497437, 0.021209802478551865, 0.41398340463638306, 0.13600505888462067, -0.15322662889957428, 1.159980058670044, -0.4844353199005127, 0.29900553822517395, -0.2033938467502594, -0.06424739211797714, 0.18263734877109528, -0.8980616331100464, 0.21156062185764313, 0.32558462023735046, 0.6651600003242493, 0.8859755992889404, -0.3498055338859558, 0.0378560908138752, -0.04577559605240822, -0.056389205157756805, -0.012827529571950436, -0.9073501825332642, -0.18742366135120392, 0.27141809463500977, -0.5788285732269287, -0.38961419463157654, -0.07177857309579849, -0.7862696051597595, -0.1515122950077057, -0.2586028575897217, 0.04234280437231064, -0.37756776809692383, 0.4427776038646698, -0.24710778892040253, -0.7828906178474426, 0.032685160636901855, 0.47678837180137634, -0.9067261219024658, 0.3242332637310028, 0.44502130150794983, 1.4375865459442139, -0.3930433988571167, -0.2518341541290283, -0.4460797905921936, 0.2426302582025528, -0.19390656054019928, 1.2294691801071167, -0.19400647282600403, -0.5536295771598816, -0.2247588187456131, 0.03228266164660454, 0.3155643939971924, 0.09001918137073517, 0.5600741505622864, -0.4754069149494171, 0.443665474653244, -0.2930507957935333, -0.2981583774089813, 0.07197890430688858, -0.08140943199396133, -0.7037766575813293, 0.7305862903594971, -0.011338640004396439, -1.0933064222335815, 0.40287265181541443, -0.6839301586151123, -0.757114052772522, 0.3928470313549042, -0.2154437005519867, -0.6119626760482788, 0.22350521385669708, 0.3473331332206726, 0.3502858877182007, -0.22654537856578827, -0.1461092233657837, -0.0013242664281278849, -0.46383804082870483, -0.0009358153329230845, 0.0762333795428276, 0.331554651260376, 0.19220589101314545, 0.016131684184074402, 0.3220319449901581, -0.3800016939640045, -0.4575526714324951, 0.23991696536540985, -0.26946932077407837, -0.15649037063121796, 0.021655915305018425, -0.1194203794002533, -0.11203673481941223, 0.33522844314575195, -0.6152781248092651, 0.4069000780582428, -0.3971419930458069, 0.6592037081718445, 0.4919586181640625, 0.14432241022586823, 0.7124908566474915, -0.48839831352233887, 0.39361119270324707, -0.46224135160446167, 0.09275846928358078, -0.8288891315460205, -0.5776837468147278, -0.558976948261261, -0.5556460618972778, 0.40716832876205444, 0.17427067458629608, -0.7078289985656738, 0.39839333295822144, -0.2550373673439026, -0.6153486371040344, -0.010375713929533958, -0.47706902027130127, 0.09869412332773209, 0.73687744140625, 0.45066598057746887, -0.45649561285972595, -0.8846938610076904, -0.895635187625885, 0.13099811971187592, -0.22505013644695282, -0.07155900448560715, 0.17257648706436157, 0.7186757326126099, 0.16376164555549622, 0.8777156472206116, -0.9411348700523376, -0.5813282132148743, -0.5646750926971436, 0.48207229375839233, 0.2883330285549164, 0.33643803000450134, 0.6337869763374329, -0.6735277771949768, -0.4324752986431122, -0.006977049168199301, -0.6110780239105225, 0.06895915418863297, 0.040363579988479614, -0.1152699887752533, 0.2629469931125641, 0.551511824131012, -0.6789709329605103, 0.48287272453308105, 0.12640705704689026, -0.2851231098175049, 0.7307268977165222, -0.6155881881713867, 0.5044702887535095, -0.8443589806556702, 0.3643007278442383, -0.4135870337486267, -0.015798743814229965, -0.23378221690654755, 0.04274154081940651, 0.15857671201229095, -0.35180482268333435, -0.2766003906726837, 0.2339867502450943, -0.6683467030525208, -0.08559685200452805, -0.42406848073005676, 0.187494695186615, 0.1898835003376007, 0.19621612131595612, 0.5323419570922852, 0.7309256792068481, 0.15231813490390778, -0.4514895975589752, 0.315807580947876, 0.5035271048545837, -0.5161784887313843, 0.26713576912879944, -0.9826122522354126, -0.16974107921123505, -0.550748884677887, 0.6503164172172546, -1.2988641262054443, -0.7884945869445801, -0.2223520427942276, -0.6756230592727661, 0.40304410457611084, 0.42074456810951233, -0.34104976058006287, -0.5419756770133972, -0.8004096150398254, 0.23221534490585327, 0.5210906267166138, -0.23479130864143372, 0.7286601066589355, 0.48224204778671265, -0.803554356098175, -0.45208004117012024, -0.7545156478881836, 0.23238836228847504, -0.12165267765522003, -0.5119904279708862, 0.6921287775039673, -0.04711386188864708, 0.15218573808670044, -0.05214511975646019, 0.20489704608917236, 0.1799841821193695, -0.1359848827123642, 0.19327344000339508, 0.518116295337677, 0.023219125345349312, -0.09060520678758621, 0.37864071130752563, 0.12297223508358002, -0.08047711104154587, 0.06827343255281448, 0.5092271566390991, 0.11153638362884521, 0.1839597076177597, -0.1624782383441925, 0.7789744138717651, 0.45241931080818176, -0.22856557369232178, 0.3230641484260559, 0.2141241580247879, -0.25708499550819397, 0.15132342278957367, -0.31768283247947693, -0.1196410283446312, -0.4175088703632355, 0.5328081250190735, -0.19592083990573883, -0.5743790864944458, 0.5511488318443298, 0.36380743980407715, 0.5141265392303467, 0.7425252795219421, 0.3922979235649109, -0.49541082978248596, 1.0838897228240967, 0.70442795753479, 0.07321268320083618, 0.4857640564441681, -0.318010151386261, 0.12580513954162598, -0.7519924640655518, -0.643771767616272, -0.8970763683319092, -0.15006132423877716, -0.11261385679244995, -0.41834115982055664, 0.4776987135410309, -0.08568451553583145, 0.37193238735198975, 0.7361876964569092, -0.6548030972480774, 0.6197593212127686, 0.5686562657356262, 0.04241993650794029, 0.4144115746021271, 0.11873749643564224, 0.07474341243505478, -0.046119917184114456, -0.6904008388519287, -0.34105199575424194, 0.948828399181366, 0.47064217925071716, 0.4197969138622284, 0.01921098493039608, 0.7060524225234985, 0.5766283869743347, 0.23410369455814362, -0.6861897706985474, 0.4602201282978058, 0.01785174384713173, -0.4073795974254608, -0.44356122612953186, -0.10694004595279694, -0.7220851182937622, 0.24033933877944946, -0.19023527204990387, -0.4521268904209137, 0.3924678564071655, 0.08873701840639114, -0.4969944357872009, -0.17140384018421173, -0.4594934582710266, 0.32427147030830383, -0.17077481746673584, -0.15842939913272858, -0.1457294374704361, -0.7775880694389343, 0.41895467042922974, 0.033347275108098984, 0.5006816983222961, 0.06472276896238327, -0.2681751251220703, 1.0456743240356445, -0.5617740154266357, 0.46224626898765564, 0.17902453243732452, 0.3446909785270691, 0.4253407418727875, -0.4325023889541626, 0.6368180513381958, 0.08680657297372818, 0.12688378989696503, -0.08441818505525589, -0.1575363129377365, -0.23808032274246216, -0.30104464292526245, 0.46962618827819824, -0.48618224263191223, -0.19637449085712433, -0.7355221509933472, -0.6073347330093384, 0.22027947008609772, 0.39027759432792664, 0.7713586091995239, 0.40777137875556946, -0.05617829039692879, 0.21776258945465088, 0.4231213331222534, -0.0951613187789917, 0.6973204612731934, 0.49166426062583923, 0.2632741630077362, -0.7354130148887634, 0.8964759707450867, 0.16422511637210846, 0.12646976113319397, 0.48227086663246155, 0.19576619565486908, -0.33010798692703247, -0.7421173453330994, -0.2235846072435379, 0.20349246263504028, -0.7086083292961121, -0.5108689069747925, -0.9971774220466614, -0.033277321606874466, -0.7228409051895142, -0.5279025435447693, -0.10487042367458344, -0.7600590586662292, -0.4181441068649292, -0.1468222290277481, 0.05536472424864769, 0.5197489261627197, -0.16502748429775238, 0.2383514791727066, -0.5736177563667297, 0.34505635499954224, -0.04285259544849396, -0.10577297955751419, -0.16135011613368988, -0.5880226492881775, -0.19699087738990784, -0.32170790433883667, -0.2940562665462494, -0.558417558670044, 0.45276913046836853, 0.3180006146430969, 0.48771026730537415, 0.15644679963588715, -0.003210337134078145, 0.5388113856315613, -0.6659450531005859, 1.0698939561843872, 0.6626054644584656, -0.6815446615219116, 0.6603822708129883, -0.3888781666755676, 0.46729761362075806, 0.6260585784912109, 0.39329439401626587, 0.060555581003427505, -0.593369722366333, -0.4365922510623932, -1.2402362823486328, 0.7326379418373108, 0.3214135766029358, 0.009121455252170563, 0.0787242129445076, -0.10548928380012512, 0.1481357365846634, 0.19922243058681488, -0.46318867802619934, 0.2158564329147339, -0.004840236157178879, -0.2991982400417328, -0.02911961078643799, -0.48608940839767456, 0.02706049010157585, -0.12070311605930328, 0.6641566157341003, -0.11521705240011215, 0.5262897610664368, 0.3369928002357483, 0.02265959605574608, 0.20394384860992432, 0.06192460283637047, 0.97011798620224, 0.6746213436126709, -0.2550901770591736, 0.05871402844786644, 0.22314631938934326, -0.6655468344688416, -0.19960524141788483, 0.06854266673326492, -0.1598382294178009, 0.29201504588127136, 0.9510858654975891, 0.41007986664772034, 0.19663278758525848, -0.770453691482544, 0.5419204235076904, -0.2711678147315979, -0.4987710416316986, -0.2857814431190491, -0.097201868891716, -0.17114271223545074, 0.03237348049879074, 0.7236227989196777, 0.05620066076517105, 0.7053952217102051, -0.7869720458984375, 0.22810253500938416, 0.1496840864419937, -0.24771089851856232, -0.2808725833892822, 0.6553931832313538, 0.33781346678733826, 0.14229652285575867, 0.264438271522522, 0.17988727986812592, -0.40555471181869507, 0.7694807052612305, 0.5155521631240845, 0.41651779413223267, -0.08892293274402618, 0.03778785839676857, 0.5709405541419983, 0.36864134669303894, -0.1480696052312851, 0.332474023103714, -0.3771234154701233, 0.1107584536075592, -0.5559990406036377, -0.3547009527683258, -0.5947139859199524, -0.3703799247741699, -0.39143234491348267, 0.5776503682136536, -0.10560673475265503, -0.024629348888993263, 0.30059733986854553, -0.2021663337945938, -0.38768383860588074, 0.0908355712890625, -0.09545168280601501, 1.0411522388458252, -0.7300621867179871, 0.26167744398117065, 0.3039007782936096, -0.6779303550720215, -0.3807673454284668, -0.6845341324806213, -0.5345162749290466, -0.333416223526001, 0.5541906356811523, 0.12438813596963882, -0.0016404156340286136, -0.29409393668174744, -0.5193969011306763, -0.8519759178161621, 1.3580143451690674, -0.1085229367017746, -0.5237013697624207, -0.5501739978790283, -0.13420484960079193, 0.35711461305618286, -0.4312009811401367, 0.7252633571624756, 0.44827044010162354, 0.2891203463077545, 0.3947543799877167, -0.7372989058494568, -0.10186292976140976, -0.46679139137268066, -0.14019843935966492, -0.10024690628051758, -0.6735245585441589, 0.763649582862854, -0.48781830072402954, -0.46153950691223145, 0.550977349281311, 1.2236979007720947, 0.29234856367111206, 0.5560339093208313, 0.029289251193404198, -0.12573206424713135, 0.5171777606010437, -0.17340105772018433, 0.9807301759719849, -0.032039131969213486, 0.007420336827635765, 1.5234575271606445, -0.1352151781320572, 0.8034535646438599, 0.45923635363578796, -0.11176210641860962, 0.21857303380966187, 0.5181474685668945, -0.16632111370563507, 0.839726984500885, 0.059820424765348434, -0.004011223558336496, 0.3734515607357025, -0.40945154428482056, -0.6444988250732422, 0.508791983127594, 0.33932429552078247, -0.7568159103393555, -0.15817391872406006, 0.15045276284217834, -0.2591354548931122, -0.03508409857749939, -0.3160010874271393, 0.8843538165092468, -0.03165147081017494, -0.8938698172569275, 0.03177359700202942, 0.22614270448684692, 0.47975799441337585, -0.6139616370201111, -0.3179377019405365, -0.2325602024793625, 0.03324032202363014, -0.30236151814460754, -0.8090863227844238, 0.3201814889907837, 0.012228935956954956, -0.139559805393219, 0.12020573019981384, 0.6889327168464661, -0.4080740511417389, -0.40139642357826233, -0.3933677077293396, -0.5899521708488464, 0.28507715463638306, 0.2197151929140091, 0.0628017708659172, 0.3045007586479187, -0.2820805013179779, 0.08884567767381668, 0.11643917858600616, -0.03257879987359047, -0.18154358863830566, 0.2175282984972, 0.5219986438751221, -0.03494247794151306, -0.25919005274772644, -0.14263451099395752, 0.9569037556648254, -0.2989221215248108, -1.0712498426437378, -0.568544864654541, 0.8332727551460266, -0.7377438545227051, -0.32701432704925537, 0.8519026041030884, 1.1506041288375854, 0.29674333333969116, -0.3861421048641205, 1.0590564012527466, -0.21283923089504242, 0.42060279846191406, -0.5064542293548584, 0.5762966871261597, -0.18384715914726257, -0.03457412123680115, -0.3000730276107788, -0.7798922061920166, -0.3282598555088043, 0.4467340111732483, -0.04484732076525688, -0.45571234822273254, 0.7668541669845581, 0.21327191591262817, 0.06365139782428741, 0.28442519903182983, -0.14842215180397034, -0.19331493973731995, 0.36048269271850586, 0.4598574638366699, 0.7951217293739319, -0.5573748350143433, 0.5221604704856873, -0.3442121148109436, -0.6487216353416443, -0.6173838973045349, -0.9382901787757874, -1.1442433595657349, -0.7282382249832153, -0.36516672372817993, -0.2265666425228119, -0.04778645187616348, 0.3635213077068329, 0.5121068358421326, -0.7997696995735168, -0.07264619320631027, -0.12284893542528152, -0.2130667120218277, 0.07611068338155746, -0.17969754338264465, 0.6499549746513367, -0.19757594168186188, -0.7550926208496094, 0.50458163022995, 0.46517330408096313, 0.1437682956457138, 0.01597670651972294, 0.09979758411645889, -0.0014798793708905578, 0.11528491228818893, 0.7770155072212219, 0.3522587716579437, -0.34128615260124207, -0.12022503465414047, 0.06618881225585938, 0.09065760672092438, -0.308125376701355, 0.9631323218345642, -0.27539440989494324, 0.4549243152141571, 0.9151666760444641, 0.10811203718185425, 0.7700601816177368, 0.2362019270658493, 0.6929695010185242, -0.5609355568885803, 0.25497445464134216, 0.3546765446662903, 0.41565465927124023, 0.028822610154747963, -0.692013144493103, 0.6075425148010254, -0.01916547678411007, -0.5035035014152527, -1.063710331916809, -0.12993083894252777, -1.219146490097046, -0.25945767760276794, 0.7139331102371216, -0.15014739334583282, -0.3253311812877655, -0.04170482978224754, -0.6244611144065857, 0.19536826014518738, -0.5062181949615479, 0.6931777596473694, 0.4629877209663391, -0.32963255047798157, 0.0023638089187443256, -0.05460170656442642, 0.3053387403488159, -0.039549387991428375, -1.0847675800323486, -0.21324887871742249, 0.653954029083252, -0.06942498683929443, 0.5354801416397095, 0.7023881077766418, -0.43970873951911926, 0.6220315098762512, 0.188865527510643, 0.06377175450325012, -0.6037029027938843, -0.5755443572998047, 0.01720181293785572, 0.4707235097885132, -0.09055512398481369, -0.16334185004234314 ]
http://arxiv.org/abs/2407.01896v1
http://arxiv.org/pdf/2407.01896v1
LogEval: A Comprehensive Benchmark Suite for Large Language Models In Log Analysis
2024-07-02T02:39:33
2024-07-02T02:39:33
Tianyu Cui, Shiyu Ma, Ziang Chen, Tong Xiao, Shimin Tao, Yilun Liu, Shenglin Zhang, Duoming Lin, Changchang Liu, Yuzhe Cai, Weibin Meng, Yongqian Sun, Dan Pei
cs.CL
cs.CL, cs.IR
Log analysis is crucial for ensuring the orderly and stable operation of information systems, particularly in the field of Artificial Intelligence for IT Operations (AIOps). Large Language Models (LLMs) have demonstrated significant potential in natural language processing tasks. In the AIOps domain, they excel in tasks such as anomaly detection, root cause analysis of faults, operations and maintenance script generation, and alert information summarization. However, the performance of current LLMs in log analysis tasks remains inadequately validated. To address this gap, we introduce LogEval, a comprehensive benchmark suite designed to evaluate the capabilities of LLMs in various log analysis tasks for the first time. This benchmark covers tasks such as log parsing, log anomaly detection, log fault diagnosis, and log summarization. LogEval evaluates each task using 4,000 publicly available log data entries and employs 15 different prompts for each task to ensure a thorough and fair assessment. By rigorously evaluating leading LLMs, we demonstrate the impact of various LLM technologies on log analysis performance, focusing on aspects such as self-consistency and few-shot contextual learning. We also discuss findings related to model quantification, Chinese-English question-answering evaluation, and prompt engineering. These findings provide insights into the strengths and weaknesses of LLMs in multilingual environments and the effectiveness of different prompt strategies. Various evaluation methods are employed for different tasks to accurately measure the performance of LLMs in log analysis, ensuring a comprehensive assessment. The insights gained from LogEvals evaluation reveal the strengths and limitations of LLMs in log analysis tasks, providing valuable guidance for researchers and practitioners.
[ 0.1522454023361206, -0.9253270626068115, 0.19420962035655975, 0.5628402233123779, -0.18836039304733276, 0.33491313457489014, -0.3049105107784271, -0.6127040386199951, -0.19258169829845428, 0.35256654024124146, -0.42288488149642944, -0.822233259677887, -0.40714791417121887, 0.20690113306045532, -0.4953870177268982, 0.9721148610115051, 0.02928377129137516, -0.041034843772649765, -0.44530224800109863, -0.34577563405036926, -0.8933774828910828, -0.7077549695968628, -0.8438119292259216, 0.18044623732566833, 0.15805131196975708, 0.13587148487567902, 0.3821088969707489, 0.3326224982738495, 0.7499881386756897, 0.2982563376426697, 0.003327168058604002, 0.08268238604068756, -0.42119306325912476, 0.24230922758579254, 0.06347265094518661, -0.40822693705558777, -0.6549575328826904, -0.5074627995491028, 1.0671440362930298, 0.5532459616661072, -0.25575464963912964, 0.45156192779541016, 0.10358025878667831, 0.6215813159942627, -0.4818659722805023, 0.26546362042427063, -0.7259522080421448, -0.040237076580524445, -0.2815173864364624, 0.011231242679059505, -0.48767608404159546, -0.376657634973526, -0.05560838803648949, -0.27632713317871094, 0.10061131417751312, 0.2113024890422821, 0.4535241723060608, 0.26642000675201416, -0.43557071685791016, -0.2588164508342743, -0.4311242699623108, 1.0486730337142944, -1.015923023223877, 0.4286547899246216, 0.14563648402690887, 0.3772304952144623, -0.1297646164894104, -0.6938087940216064, -0.263551265001297, -0.3012388050556183, -0.36758825182914734, -0.23300839960575104, -0.18953897058963776, 0.025165732949972153, 0.23793452978134155, 0.20776860415935516, -0.9720784425735474, 0.4602371156215668, -0.30925339460372925, -0.15862247347831726, 0.9171210527420044, 0.5648220777511597, 0.1911618411540985, -0.15412096679210663, -0.30126073956489563, -0.04114418104290962, -0.6122081875801086, 0.12013140320777893, -0.1554342657327652, 0.33760595321655273, 0.052188754081726074, 0.2347344607114792, -0.21505048871040344, 0.8533609509468079, -0.48965173959732056, -0.33482542634010315, 0.29609012603759766, -0.2829059660434723, -0.4187700152397156, 0.07674997299909592, 0.8296083211898804, 0.36747607588768005, -0.08987141400575638, 0.05114230141043663, -0.3882227838039398, -0.055225227028131485, -0.025408660992980003, -0.8013254404067993, -0.12009324133396149, 0.40829941630363464, -0.5731358528137207, -0.18082627654075623, -0.32983145117759705, -0.8677594065666199, -0.5866209864616394, -0.07550644129514694, 0.1582389920949936, -0.10379888117313385, -0.35325783491134644, -0.005085757002234459, 0.2980383634567261, 0.23976300656795502, 0.2952234148979187, -0.6765018701553345, 0.5826954245567322, 0.9681635499000549, 0.8638904690742493, -0.4852219521999359, -0.4394828975200653, -1.106906533241272, -0.12524622678756714, -0.4348292648792267, 0.6558613181114197, -0.5122928023338318, -0.4428337812423706, 0.22786329686641693, 0.05918268486857414, -0.28536561131477356, -0.7382542490959167, 0.7065378427505493, -0.5782602429389954, -0.031596675515174866, 0.0571136474609375, -0.7466566562652588, -0.17092496156692505, 0.3984840512275696, -0.695184588432312, 1.2255135774612427, -0.11804039776325226, -0.4110879898071289, 0.2893035411834717, -0.6685476303100586, -0.5321998000144958, 0.35776400566101074, -0.2671336531639099, -0.3024584650993347, 0.12440100312232971, 0.1609426587820053, 0.506970226764679, -0.5711724162101746, 0.5095221996307373, -0.028099479153752327, -0.18063297867774963, 0.0210029985755682, -0.436849981546402, 0.8379721641540527, 0.14522269368171692, -0.3458852171897888, 0.3049943447113037, -0.7000952959060669, 0.1955418586730957, 0.07453501224517822, -0.29398787021636963, -0.18730653822422028, 0.19525334239006042, 0.145480215549469, -0.013622150756418705, 0.3662351369857788, -0.31016188859939575, 0.19548945128917694, -0.12724652886390686, 0.02969263307750225, 0.6373478770256042, -0.1605517417192459, -0.21662163734436035, 0.00762223033234477, 0.5911452174186707, -0.25852856040000916, 0.1663678139448166, -0.6178276538848877, -0.26139065623283386, -0.5687711238861084, -0.3543796241283417, 0.17189949750900269, 0.7592534422874451, -0.03806229308247566, 0.36019060015678406, -0.3371744751930237, -0.508802056312561, -0.4582120478153229, 0.5258996486663818, 0.4680628180503845, 0.3581622540950775, 0.2530444860458374, -0.013709809631109238, -0.5568773746490479, -0.8154711723327637, -0.6377711892127991, -0.3989558517932892, -0.08777095377445221, 0.05212073028087616, 0.20576897263526917, -0.1653553545475006, 0.61590176820755, -0.4189438223838806, -0.4259856343269348, -0.25948280096054077, 0.19360356032848358, 0.45523524284362793, 0.2979772388935089, 0.36309704184532166, -0.6632283926010132, -0.71010822057724, 0.32189077138900757, -0.9785581827163696, -0.06881844252347946, -0.23708683252334595, 0.19456353783607483, 0.5287733674049377, 0.6612892150878906, -0.6313148140907288, 0.18414995074272156, 0.5775055885314941, -0.4698799252510071, 0.6097265481948853, -0.002239031018689275, 0.14988146722316742, -0.6456222534179688, 0.39162981510162354, -0.0835677981376648, -0.3263644278049469, -0.7037884593009949, 0.19543811678886414, 0.2285432666540146, -0.1469835489988327, -0.25153541564941406, 0.7387934923171997, -0.36994802951812744, -0.2676098942756653, -0.0721815675497055, 0.27043190598487854, 0.06920011341571808, 0.19103214144706726, -0.10356120765209198, 0.6424893736839294, 0.5595440864562988, -0.4892444610595703, 0.5535505414009094, 0.08925759792327881, -0.5531619191169739, 0.4941737651824951, -0.7345559000968933, 0.19153402745723724, -0.0013429205864667892, -0.035610225051641464, -1.1689891815185547, -0.09348603338003159, -0.29852768778800964, -0.2283650040626526, 0.35193145275115967, 0.09581412374973297, -0.6669490933418274, -0.19244445860385895, -0.2533947229385376, 0.35441267490386963, 0.5304940938949585, -0.5581516623497009, 0.6261436343193054, 0.24715131521224976, -0.3735980987548828, -0.5769670009613037, -0.22655634582042694, 0.2926492393016815, -0.39256495237350464, -0.7054936289787292, 0.04106749966740608, -0.19892562925815582, -0.6325640678405762, -0.05889008194208145, -0.0894009917974472, -0.12149959057569504, 0.2557261884212494, -0.030270133167505264, 0.550713300704956, -0.4673427939414978, 0.3434098958969116, -0.26462432742118835, -0.015683235600590706, 0.16563230752944946, -0.16240255534648895, 0.31701791286468506, -0.5103664994239807, -0.37081849575042725, -0.4356100857257843, 0.17542633414268494, 0.5818634629249573, -0.32977792620658875, 0.6279321312904358, 0.3148250877857208, -0.4220295548439026, 0.07418480515480042, -0.8756144642829895, 0.14465825259685516, -0.43339988589286804, 0.6157323122024536, -0.2581532299518585, -0.6687375903129578, 0.35194262862205505, -0.09413817524909973, 0.6180248856544495, 0.6597363948822021, 0.30885228514671326, 0.10867465287446976, 0.9653265476226807, 0.6035836338996887, -0.5941752195358276, 0.11552198231220245, 0.16787442564964294, 0.19544894993305206, -0.49924272298812866, -0.3245594799518585, -0.5864964723587036, -0.020289231091737747, -0.2946888208389282, -0.3002474009990692, 0.42807456851005554, 0.1756073236465454, 0.010627473704516888, -0.005301769822835922, -0.1838032752275467, 0.5970638394355774, 0.018008172512054443, -0.49409210681915283, 0.6755097508430481, -0.09172897040843964, 0.25609925389289856, -0.045316603034734726, -0.5201056599617004, -0.6711973547935486, 0.9406937956809998, 0.45642146468162537, 0.6206133961677551, 0.131747767329216, 0.39271876215934753, 0.6487705111503601, 0.30511829257011414, -0.6866161823272705, 0.5911674499511719, -0.16742800176143646, -0.5117339491844177, -0.4732532501220703, -0.22597238421440125, -0.898291826248169, 0.3599575459957123, 0.07045705616474152, -0.9552472829818726, -0.2921106517314911, 0.14035572111606598, -0.2588658034801483, 0.28913411498069763, -0.7504517436027527, 1.1122496128082275, -0.5262975096702576, -0.2566577196121216, -0.4731391370296478, -0.4494798481464386, 0.40315577387809753, -0.31966614723205566, 0.48469552397727966, -0.07611705362796783, -0.10017353296279907, 0.7938682436943054, -0.14165446162223816, 0.8484814167022705, -0.16189037263393402, -0.1715392768383026, 0.25217846035957336, 0.2718326151371002, 0.7442252039909363, 0.06861528754234314, -0.37507542967796326, 0.361530601978302, 0.30295825004577637, -0.41723451018333435, -0.6296512484550476, 0.8702317476272583, -0.43202725052833557, -0.7029115557670593, -0.28821301460266113, -0.20485417544841766, -0.12198344618082047, 0.19444765150547028, -0.11069248616695404, 0.55071622133255, -0.37245091795921326, 0.27502724528312683, 0.49878185987472534, -0.1265581250190735, 0.5599270462989807, 0.5139173269271851, -0.5505796074867249, -0.1723715364933014, 0.7625141143798828, -0.16948141157627106, 0.23885323107242584, 0.4414982497692108, 0.06451503932476044, -0.2733544409275055, -0.5539321303367615, -0.4593125283718109, 0.07843280583620071, -0.9032841920852661, -0.28359052538871765, -0.6063857078552246, -0.18865877389907837, -0.10574004799127579, 0.02248443104326725, -0.34140530228614807, -0.25900372862815857, 0.04167000204324722, -0.026467151939868927, 0.20643334090709686, 0.7433684468269348, 0.3559400141239166, 0.14987482130527496, -0.9866653680801392, 0.0039469473995268345, 0.19129422307014465, 0.22912687063217163, 0.14741304516792297, -0.2945615351200104, -0.3050827085971832, -0.41065657138824463, -0.10144365578889847, -0.49243003129959106, 0.26854002475738525, 0.38598719239234924, 0.6764434576034546, 0.29283154010772705, -0.012480179779231548, 0.6102680563926697, -0.4426634907722473, 0.8775421977043152, 0.08758056163787842, -0.9951369166374207, 0.5973350405693054, -0.07143797725439072, 0.34197282791137695, 0.5389570593833923, 0.33301520347595215, -0.7260030508041382, -0.17095717787742615, -0.40734559297561646, -0.7296673655509949, 0.561440646648407, -0.0324435792863369, 0.005702956113964319, 0.10896863788366318, 0.02819780632853508, 0.2511030435562134, 0.31074240803718567, -0.6962658762931824, -0.05361481383442879, 0.15841645002365112, -0.19373781979084015, -0.32642993330955505, -0.27567100524902344, -0.09346766024827957, -0.09983161091804504, 0.6232318878173828, -0.22856511175632477, -0.1587856560945511, -0.043902814388275146, -0.4025602638721466, -0.0565127395093441, 0.07386375218629837, 0.40547120571136475, 0.8903493881225586, -0.1268523782491684, 0.028350070118904114, 0.6439071893692017, -0.26254215836524963, -0.17298898100852966, 0.027613308280706406, 0.22841474413871765, 0.19604520499706268, 0.854350209236145, 0.7561097741127014, 0.08852078020572662, -1.20196533203125, 0.40599721670150757, -0.12075173854827881, 0.29300838708877563, -0.35839977860450745, -0.045594505965709686, -0.048034101724624634, 0.23595485091209412, 0.632964551448822, -0.36151185631752014, 0.23794662952423096, -0.47823071479797363, -0.04247645288705826, 0.6474201679229736, -0.16583335399627686, -0.33828431367874146, 0.27212396264076233, 0.15543922781944275, -0.4707697331905365, 0.7029238939285278, 0.04413200914859772, -0.35739976167678833, 0.6705392003059387, 0.549832820892334, 0.9477041959762573, -0.4656917154788971, 0.022307436913251877, 0.5587522983551025, 0.5781092047691345, 0.17898447811603546, 0.08811924606561661, 0.0757787674665451, -0.17839214205741882, -0.536697268486023, -0.6819579601287842, -0.25202637910842896, 0.26038604974746704, -0.42148110270500183, 0.43437904119491577, -0.49867039918899536, 0.1293468326330185, -0.21066153049468994, 0.0863892138004303, -0.7295673489570618, 0.16596895456314087, -0.15865914523601532, 0.9626928567886353, -0.676572859287262, 0.4579169452190399, 0.552376389503479, 0.15040606260299683, -0.3863048851490021, -0.031044190749526024, 0.14865805208683014, -0.7269812822341919, 0.873085081577301, 0.2801944315433502, 0.037205908447504044, -0.20246651768684387, -0.26347342133522034, -0.731184184551239, 0.963616132736206, 0.08653964102268219, -0.7527548670768738, 0.11469440162181854, 0.14536692202091217, 0.6258381605148315, -0.33863699436187744, 0.4422732889652252, 0.7372283935546875, 0.3511039912700653, -0.18634165823459625, -1.1396492719650269, 0.20769433677196503, -0.2929416000843048, -0.0352323055267334, 0.23484283685684204, -0.6904067993164062, 0.6174046397209167, -0.07339087128639221, -0.29626643657684326, 0.013153075240552425, 0.43501919507980347, 0.30876755714416504, 0.47182005643844604, 0.5310415029525757, 0.0020851693116128445, 1.10994553565979, 0.24086390435695648, 1.0400220155715942, -0.29531705379486084, 0.2236870974302292, 1.0728862285614014, -0.5126340389251709, 1.2008012533187866, 0.21701869368553162, -0.34433019161224365, 0.5762618780136108, 0.4574615955352783, 0.09817702323198318, 0.14489248394966125, 0.0900217667222023, -0.4693244397640228, -0.209742471575737, -0.218233123421669, -0.35184547305107117, 0.26004478335380554, 0.4415551424026489, 0.007901191711425781, -0.21232280135154724, -0.22118927538394928, -0.1632469892501831, -0.05984773859381676, -0.2206028550863266, 0.856102466583252, 0.05470370873808861, -0.573613703250885, 0.7924832701683044, -0.05962487310171127, 0.3193596601486206, -0.8417625427246094, 0.0023401668295264244, -0.3684227764606476, 0.19396299123764038, -0.37631461024284363, -0.49969765543937683, 0.37092599272727966, 0.2120731920003891, 0.15797868371009827, 0.11981765925884247, 0.8079904317855835, -0.010094460099935532, -0.5853605270385742, 0.3649488091468811, 0.32162049412727356, 0.2044021338224411, -0.022523852065205574, -0.44098135828971863, 0.44342559576034546, -0.08183537423610687, -0.12923096120357513, 0.31126144528388977, 0.32403939962387085, -0.34369292855262756, 0.7981977462768555, 0.4815748929977417, -0.03479449078440666, 0.11995593458414078, -0.09038104116916656, 0.7242227792739868, -0.762793242931366, -0.25159895420074463, -1.1807401180267334, 0.7159133553504944, -0.3330036997795105, -0.2776337265968323, 0.8689668774604797, 0.8875275254249573, 0.5585363507270813, 0.005060319323092699, 0.760509192943573, 0.162043035030365, 0.3573388159275055, -0.6449123024940491, 0.35978585481643677, -0.5047751069068909, 0.5082321763038635, -0.2852528691291809, -1.1290833950042725, -0.4611261785030365, 0.2797885239124298, -0.17489533126354218, -0.1943010836839676, 0.8947868943214417, 0.6219710111618042, 0.14385713636875153, 0.1344277709722519, 0.5066905617713928, 0.2566508650779724, 0.5308969616889954, 0.3916662931442261, 0.8549420237541199, -0.403592973947525, 0.5778174996376038, 0.20539699494838715, -0.33036571741104126, -0.3033883273601532, -1.09369957447052, -1.1096762418746948, -0.4368909001350403, -0.38917189836502075, 0.036129117012023926, 0.12069287896156311, 0.9214275479316711, 0.5471007227897644, -0.9701232314109802, -0.7446085214614868, 0.036120034754276276, 0.1638304591178894, -0.16872619092464447, -0.22096411883831024, 0.5136426687240601, -0.730085551738739, -0.5195655822753906, 0.677456259727478, 0.4482983350753784, -0.40766528248786926, -0.3757432699203491, -0.12180410325527191, -0.03386090695858002, -0.2596173584461212, 0.8164132237434387, 0.2674051523208618, -0.7167878746986389, 0.07682838290929794, 0.15000930428504944, 0.08313494175672531, -0.015797173604369164, 0.7377972602844238, -0.6670940518379211, 0.5106905102729797, 0.44302892684936523, 1.0254199504852295, 0.4562273621559143, -0.13866791129112244, 0.4409850239753723, -0.7777534127235413, -0.021145742386579514, 0.18060657382011414, 0.18426570296287537, 0.455938458442688, -0.4585225582122803, 0.5770033597946167, -0.06511600315570831, -0.636330783367157, -1.0960290431976318, -0.1043960228562355, -0.4847720265388489, -0.21325932443141937, 1.024700403213501, -0.21645072102546692, 0.0008750888518989086, -0.03088151104748249, -0.32566002011299133, -0.2008320838212967, -0.14159266650676727, 0.7056390047073364, 0.8476926684379578, -0.14999574422836304, -0.06894785910844803, -0.7966627478599548, 0.4498414099216461, 0.7198769450187683, -1.121597170829773, 0.44128236174583435, 0.5795141458511353, 0.11741384118795395, 0.08912406861782074, 0.6755226254463196, 0.04117546230554581, 0.11428196728229523, -0.1626850664615631, -0.24891093373298645, 0.2986392080783844, -0.367147296667099, -0.6890857219696045, 0.05441220477223396, 0.5091808438301086, 0.020145324990153313 ]
http://arxiv.org/abs/2407.01892v1
http://arxiv.org/pdf/2407.01892v1
GRASP: A Grid-Based Benchmark for Evaluating Commonsense Spatial Reasoning
2024-07-02T02:27:46
2024-07-02T02:27:46
Zhisheng Tang, Mayank Kejriwal
cs.AI
cs.AI, cs.CL
Spatial reasoning, an important faculty of human cognition with many practical applications, is one of the core commonsense skills that is not purely language-based and, for satisfying (as opposed to optimal) solutions, requires some minimum degree of planning. Existing benchmarks of Commonsense Spatial Reasoning (CSR) tend to evaluate how Large Language Models (LLMs) interpret text-based spatial descriptions rather than directly evaluate a plan produced by the LLM in response to a spatial reasoning scenario. In this paper, we construct a large-scale benchmark called $\textbf{GRASP}$, which consists of 16,000 grid-based environments where the agent is tasked with an energy collection problem. These environments include 100 grid instances instantiated using each of the 160 different grid settings, involving five different energy distributions, two modes of agent starting position, and two distinct obstacle configurations, as well as three kinds of agent constraints. Using GRASP, we compare classic baseline approaches, such as random walk and greedy search methods, with advanced LLMs like GPT-3.5-Turbo and GPT-4o. The experimental results indicate that even these advanced LLMs struggle to consistently achieve satisfactory solutions.
[ -0.5014075040817261, -0.1467345505952835, 0.8459309935569763, 0.013198092579841614, 0.11730706691741943, -0.2502194046974182, -0.3557811379432678, -0.26023775339126587, -0.3142887353897095, 0.11236121505498886, -0.19814574718475342, -0.6473059058189392, -0.5046161413192749, 0.11493587493896484, 0.031868912279605865, 0.5095900297164917, -0.0670049786567688, -0.06816332787275314, -0.4075281322002411, -0.18564358353614807, -0.3525922894477844, 0.0546766072511673, -0.30352628231048584, -0.6168665289878845, 0.47240594029426575, 0.4952850937843323, 0.938928484916687, 0.25563761591911316, 0.3024975061416626, 0.37110161781311035, -0.17332319915294647, 0.18727141618728638, -0.5236109495162964, -0.2941058874130249, -0.5558468103408813, -0.13684357702732086, -0.28797969222068787, 0.16510993242263794, 0.5677131414413452, 0.6020177602767944, -0.2599566876888275, 0.028589431196451187, -0.18496480584144592, 0.4048413932323456, -1.0394723415374756, -0.0683075487613678, -0.8078403472900391, 0.11479628086090088, 0.022009316831827164, 0.09575501084327698, -0.24622492492198944, -0.31606101989746094, -0.029442114755511284, -0.9512955546379089, 0.060156624764204025, 0.16421952843666077, 0.9929120540618896, 0.016621805727481842, -0.4579108953475952, 0.03240858390927315, -0.287276953458786, 0.9811606407165527, -0.6409369707107544, 0.3703460097312927, 0.6005246043205261, 0.7404007315635681, -0.1029399037361145, -0.46613818407058716, -0.5350286960601807, -0.25046083331108093, 0.04115999862551689, 0.2001677006483078, -0.07002332806587219, 0.02698558010160923, 0.6276498436927795, -0.22612738609313965, -0.638497531414032, 0.14262090623378754, -0.30368712544441223, -0.054547663778066635, 0.78642737865448, 0.3712305724620819, 0.04789132624864578, -0.3164607584476471, -0.7873610258102417, -0.19519029557704926, -0.6509201526641846, -0.14068499207496643, 0.13411496579647064, 0.2463982254266739, -0.06319455802440643, 0.5179958939552307, -0.3460085988044739, 0.6870068311691284, -0.2866995334625244, 0.13610130548477173, 0.12601079046726227, -0.336690217256546, -0.22606582939624786, -0.4033950865268707, 0.608610212802887, 0.6148358583450317, 0.5179436802864075, -0.1414376050233841, -0.522634744644165, -0.32486867904663086, 0.21918511390686035, -0.30378997325897217, -0.394334614276886, 0.11269746720790863, -0.33640390634536743, 0.20931372046470642, -0.3277800679206848, -0.6807170510292053, -0.5991562604904175, -0.47188466787338257, 0.13925552368164062, -0.48006945848464966, -0.3497692346572876, 0.3644031584262848, -0.42011919617652893, 0.6948075294494629, 0.5124059319496155, -0.6880164742469788, 0.5506210923194885, 1.038085699081421, 1.0100992918014526, -0.22018292546272278, -0.5231686234474182, -0.4166943430900574, 0.12171973288059235, -0.10947972536087036, 1.010522484779358, -0.5528833270072937, -0.43936994671821594, -0.08032936602830887, -0.4316613972187042, -0.326436847448349, -0.5588956475257874, 0.4406222701072693, -0.42911744117736816, -0.40385499596595764, -0.9278681874275208, -0.44001832604408264, 0.09708516299724579, 0.601942241191864, -0.5666090846061707, 0.9604617357254028, 0.1489787995815277, -0.5164998173713684, 0.8212260603904724, -0.5416917204856873, -0.199149489402771, 0.4416566789150238, -0.19707536697387695, -0.006539918482303619, 0.01143844984471798, 0.12564578652381897, 0.31483370065689087, -0.34163713455200195, 0.19695952534675598, -0.5327748656272888, -0.306493878364563, 0.025921054184436798, -0.33278414607048035, 0.4748034179210663, 0.5396241545677185, -0.12395933270454407, -0.019392773509025574, -0.42558473348617554, 0.32134220004081726, 0.241324782371521, 0.020420510321855545, -0.3919321894645691, 0.13706399500370026, 0.09501946717500687, 0.14759106934070587, 0.4759194552898407, -0.49073469638824463, 0.1671801507472992, 0.015008576214313507, 0.12571164965629578, 0.572431743144989, -0.21245263516902924, 0.4802318215370178, -0.4067491292953491, 0.4759102463722229, -0.3272939920425415, 0.011696450412273407, 0.3730818033218384, -0.0873812809586525, -0.10441694408655167, -0.16358038783073425, -0.28402742743492126, 0.48621800541877747, -0.6708662509918213, 0.14516960084438324, -0.5542635321617126, -0.6569692492485046, 0.27302828431129456, -0.006738675758242607, 0.5200949907302856, 0.14372093975543976, 0.40558815002441406, 0.18312105536460876, 0.01691220887005329, -0.7156510353088379, -0.6348342299461365, 0.1517554223537445, -0.11389970034360886, 0.8793712854385376, 0.6660058498382568, 0.2986645996570587, 1.0252692699432373, -0.5810131430625916, -0.0553908497095108, -0.3068288564682007, 0.166444793343544, 0.14445483684539795, 0.242059588432312, 0.5667588114738464, -0.7105182409286499, -0.3741820752620697, 0.34929507970809937, -0.7896965742111206, -0.2044697254896164, -0.15019400417804718, 0.014144325628876686, -0.2983799874782562, 0.5125643014907837, -0.9203426241874695, 0.3890160322189331, 0.11560423672199249, -0.46319758892059326, 0.8956629633903503, -0.23519079387187958, 0.02005706913769245, -0.3821069598197937, 0.4268002510070801, 0.19485455751419067, -0.1090763732790947, -0.2846992313861847, 0.04275920242071152, 0.04008833318948746, -0.289104163646698, -0.6127442121505737, 0.8616306185722351, -0.9155964851379395, -0.660435676574707, -0.061271511018276215, 0.5553901195526123, -0.046003248542547226, 0.4103859066963196, 0.16911566257476807, 0.9487927556037903, 0.1391497254371643, -0.49288037419319153, 0.22056853771209717, 0.15334215760231018, -0.5765362977981567, 0.7105457186698914, -0.7184847593307495, 0.10709641873836517, -0.01966453529894352, 0.10532066971063614, -0.9280465841293335, -0.1476566046476364, -0.34352433681488037, -0.2105550765991211, 0.070383220911026, 0.10951368510723114, -0.47484323382377625, -0.5241698622703552, -0.14279693365097046, 0.3752650320529938, 0.1147892028093338, -0.5865381956100464, 0.45133206248283386, 0.2363753616809845, 0.19085843861103058, -0.6951795816421509, -0.30814090371131897, 0.1737087219953537, -0.332277774810791, -0.3261825442314148, -0.23142899572849274, 0.22210046648979187, -0.44487449526786804, -0.05331860110163689, -0.32499051094055176, -0.0009780563414096832, 0.2207946926355362, -0.2660825848579407, -0.23780763149261475, 0.11518310755491257, -0.03985169529914856, -0.0950721800327301, -0.09030722081661224, 0.23577021062374115, -0.10702043026685715, 0.33241504430770874, -0.2751484513282776, -0.5900485515594482, 0.04634958133101463, 0.08823038637638092, 0.6761888265609741, 0.04029478877782822, 0.24500906467437744, 0.18805992603302002, -0.3247477412223816, -0.43967920541763306, -0.4185881018638611, 0.14213861525058746, -0.5052610039710999, 0.5120941996574402, -0.9154101610183716, -0.44186025857925415, 0.441279798746109, -0.5118471384048462, 0.20608052611351013, 0.11843772232532501, 0.024945581331849098, 0.01533762738108635, 0.7775014638900757, -0.1806432604789734, -0.10173109918832779, 0.09542802721261978, -0.36381006240844727, -0.1599626988172531, -0.9154930114746094, -0.051350586116313934, -0.6854298114776611, -0.5114394426345825, -0.0016426444053649902, -0.6356056928634644, 0.4328457713127136, 0.11576741933822632, -0.5814608931541443, 0.6391412019729614, -0.43015068769454956, 0.7701120376586914, 0.27245864272117615, -0.04979732632637024, 0.013277960941195488, -0.13506200909614563, -0.47585511207580566, 0.027549318969249725, -0.7977975010871887, -0.5238959789276123, 0.8091596961021423, 0.146318718791008, 0.5322574973106384, 0.2734317481517792, 0.4840451180934906, 0.274762898683548, 0.30418509244918823, -0.5815541744232178, 0.9233771562576294, 0.0056717973202466965, -0.32991278171539307, -0.4240434467792511, -0.542188823223114, -1.2866714000701904, 0.6804450154304504, 0.01715398207306862, -0.9941533803939819, 0.06046086549758911, 0.11509574204683304, -0.06335293501615524, 0.5509498715400696, -0.6299989819526672, 0.9881443977355957, -0.41522806882858276, -0.7375031113624573, -0.29353559017181396, -0.3023913502693176, 0.271721214056015, 0.4616524577140808, 0.18491223454475403, -0.4823557734489441, -0.32630982995033264, 0.2339702993631363, -0.5235465168952942, 0.6259828805923462, -0.7606071829795837, -0.13305866718292236, 0.34174031019210815, 0.14243006706237793, 0.748779296875, -0.1755913496017456, -0.17706364393234253, 0.20017828047275543, -0.02973087504506111, -0.6763976812362671, -0.5949593186378479, 0.6890213489532471, -0.7803746461868286, -0.4572640359401703, -0.40375959873199463, -0.5385390520095825, -0.5159754157066345, 0.3116298019886017, 0.3616858422756195, 0.2523212432861328, -0.5585692524909973, -0.289542555809021, 0.5085698962211609, -0.19867943227291107, 0.3626428246498108, 0.45675089955329895, 0.011013648472726345, -0.3955250382423401, 0.6052333116531372, -0.06176016107201576, 0.3364768624305725, 0.4727364778518677, 0.3137083649635315, -0.7670786380767822, -0.7398374080657959, -0.3540568947792053, 0.05666578561067581, -0.6166521906852722, -0.5762557983398438, -0.4846087396144867, 0.028885802254080772, -0.15599460899829865, -0.6606878638267517, -0.26594120264053345, -0.020234093070030212, -0.030809367075562477, -0.11143011599779129, 0.28884321451187134, 0.6851832270622253, -0.2511940598487854, 0.14934498071670532, -0.6307205557823181, 0.16448292136192322, 0.3364555537700653, 0.5560353398323059, 0.24675621092319489, -0.12842854857444763, -0.10520504415035248, -0.02276509813964367, -0.19562771916389465, -0.709099292755127, 0.2688544988632202, -0.12468130141496658, 0.7093496322631836, 0.44039759039878845, 0.04703240841627121, 0.5090203881263733, -0.2950405776500702, 0.7276347279548645, 0.43793123960494995, -0.7787516117095947, 0.3843999207019806, -0.9120693802833557, 0.864995002746582, 0.7047332525253296, 0.24386784434318542, -0.41552817821502686, -0.02304014563560486, -0.4025160074234009, -0.7083398699760437, 0.37862759828567505, -0.0738830640912056, -0.2598864734172821, -0.3392643928527832, 0.12710782885551453, -0.03546613082289696, 0.009326038882136345, -0.4997885227203369, 0.2517673969268799, 0.008318835869431496, 0.12306047976016998, -0.019464053213596344, -0.005171879194676876, -0.049848828464746475, -0.06553597003221512, 0.26486754417419434, -0.2897464632987976, 0.17686757445335388, 0.05083359032869339, -0.1605953723192215, 0.17017507553100586, 0.3613084852695465, 0.5368359088897705, 0.6552945971488953, -0.11107981950044632, 0.250685453414917, 0.6150327324867249, -0.4610859453678131, -0.012013152241706848, 0.036287665367126465, -0.08173777163028717, -0.31982383131980896, 0.24439463019371033, 0.5328192114830017, 0.6024494171142578, -0.8160338997840881, 0.5881156921386719, 0.2649364471435547, -0.6113903522491455, -0.14332951605319977, 0.027843235060572624, 0.04493838921189308, 0.08148890733718872, 0.2149091362953186, -0.009842532686889172, 0.370478093624115, 0.08091108500957489, 0.15986225008964539, 0.6843551397323608, -0.1777302771806717, -0.18697874248027802, 0.4887230694293976, 0.2501066029071808, 0.00011229142546653748, 0.6627740263938904, -0.5812528729438782, -0.5552189946174622, 0.8450090885162354, 0.46114304661750793, 0.9093971848487854, 0.30305469036102295, 0.18466351926326752, 0.7514843344688416, 0.195317804813385, -0.11942361295223236, 0.4086247682571411, -0.5723824501037598, -0.9338147044181824, -0.39800432324409485, -0.3438374698162079, -0.4687145948410034, -0.09072292596101761, -0.6426498293876648, 0.02115069329738617, -0.43794286251068115, -0.18721641600131989, -0.3433261215686798, 0.38222408294677734, -0.8481147885322571, -0.05399452522397041, 0.047819338738918304, 1.3926211595535278, -0.7804346084594727, 0.38698092103004456, 0.9437268376350403, 0.06681656837463379, -0.6249793767929077, -0.3597371280193329, 0.1490391194820404, -0.8896506428718567, 0.5904403328895569, -0.03509822115302086, -0.37778469920158386, -0.31125378608703613, -0.8339353799819946, -1.1397255659103394, 1.1439270973205566, -0.0333072654902935, -0.7669399380683899, 0.352048397064209, -0.029136933386325836, 0.34687304496765137, 0.15774716436862946, 0.4841732978820801, 0.7039470672607422, 0.9161856174468994, 0.18939068913459778, -1.0583257675170898, 0.12834329903125763, -0.2635500133037567, 0.13730855286121368, 0.44650593400001526, -0.7985702157020569, 0.5723129510879517, -0.5025435090065002, -0.5056945085525513, 0.25983622670173645, 0.5654349327087402, 0.7834604382514954, 0.7686747312545776, 0.6349035501480103, 0.9079663753509521, 0.7904551029205322, -0.050288017839193344, 0.962106466293335, 0.07107945531606674, 0.4889393448829651, 1.220073938369751, -0.8391546010971069, 0.9191274046897888, 0.10215520113706589, -0.5835580229759216, 0.11139842122793198, 0.2339572012424469, -0.019398599863052368, 0.4543052315711975, 0.7265241742134094, -0.28688928484916687, -0.2911885380744934, 0.04062756523489952, -0.26260480284690857, 0.47344425320625305, 0.6311737298965454, 0.44706469774246216, -0.6562801003456116, -0.03388761729001999, 0.13966208696365356, 0.6226723194122314, -0.5657132267951965, 0.6777249574661255, 0.03491290658712387, -0.8085719347000122, 0.5002985596656799, -0.4620964527130127, 0.5436694622039795, -0.3694092333316803, 0.09563227742910385, -0.13061536848545074, 0.25279518961906433, -0.016084130853414536, -1.112876296043396, 0.10398221760988235, -0.011781057342886925, 0.10157221555709839, -0.4036419987678528, 0.8905838131904602, -0.0016107000410556793, 0.053792186081409454, 0.3019360601902008, 0.5261733531951904, 0.5231859087944031, 0.09764602780342102, -0.7631199955940247, 0.03342292457818985, -0.2776354253292084, -0.13301847875118256, 0.4363655745983124, 0.7777050137519836, 0.015592401847243309, 0.72892165184021, 0.406762033700943, 0.16566058993339539, -0.19520138204097748, -0.003872765228152275, 0.7822636365890503, -0.8050345778465271, -0.30866214632987976, -0.17404863238334656, -0.03983510658144951, -0.43594789505004883, -0.5392311215400696, 0.7511417865753174, 0.6774301528930664, 0.7093638181686401, 0.09105556458234787, 0.7556357979774475, -0.08706633746623993, 0.2698586583137512, -0.46869462728500366, 0.5237956047058105, -0.48485079407691956, 0.20633052289485931, -0.1941148042678833, -0.838470995426178, -0.0063269613310694695, 0.6775310039520264, -0.9203290939331055, 0.47587743401527405, 0.5232885479927063, 0.4144406020641327, -0.22306454181671143, -0.012303099036216736, 0.6732539534568787, 0.005813548807054758, 0.1219838336110115, 1.0521286725997925, 1.0564337968826294, -0.029493242502212524, 0.3838459253311157, 0.20196597278118134, -0.21033702790737152, 0.11558087915182114, -0.944382905960083, -0.6692625880241394, -0.11006978899240494, -0.0933397188782692, -0.10078971832990646, 0.06853698194026947, 0.7235093116760254, 0.7108908891677856, -0.5190752148628235, -0.34929996728897095, -0.34913215041160583, 0.2305593341588974, -0.6296355128288269, -0.22967231273651123, 0.2921120524406433, -0.4902448356151581, -0.6070103049278259, 0.43210840225219727, 0.1344670057296753, -0.2120690494775772, -0.047117140144109726, -0.2789974808692932, -0.2785545885562897, -0.14949211478233337, 0.5010529160499573, 0.7164870500564575, -0.5568549036979675, -0.32601267099380493, 0.048221390694379807, -0.23036059737205505, -0.19435995817184448, 0.9023975133895874, -0.834518551826477, 0.33585911989212036, 0.5423361659049988, 0.4341656267642975, 0.6156995296478271, 0.16873356699943542, 0.4689805805683136, -0.612001895904541, -0.0870366096496582, 0.28525033593177795, 0.4536675810813904, 0.20232771337032318, -0.17019332945346832, 0.4492053687572479, 0.07006722688674927, -0.6827505826950073, -0.37161704897880554, 0.24606430530548096, -1.052709698677063, -0.4908007085323334, 1.3878471851348877, -0.2120470106601715, -0.17378634214401245, -0.292032390832901, 0.06668666750192642, -0.35631734132766724, -0.544769823551178, 0.3912125527858734, 0.43893563747406006, -0.0009548254311084747, -0.21201416850090027, -0.34840458631515503, 0.3110158145427704, 0.534648060798645, -0.6721251606941223, 0.4705214202404022, 0.8696152567863464, 0.1473791003227234, 0.016249332576990128, 0.7843649387359619, 0.09806817024946213, 0.4407947361469269, 0.49844813346862793, 0.06637692451477051, -0.12779100239276886, -0.28099337220191956, -0.14169523119926453, 0.18670639395713806, 0.08596634864807129, -0.1549362689256668 ]
http://arxiv.org/abs/2407.01887v1
http://arxiv.org/pdf/2407.01887v1
Beyond Numeric Awards: In-Context Dueling Bandits with LLM Agents
2024-07-02T02:18:14
2024-07-02T02:18:14
Fanzeng Xia, Hao Liu, Yisong Yue, Tongxin Li
cs.LG
cs.LG, cs.AI, cs.CL
In-context decision-making is an important capability of artificial general intelligence, which Large Language Models (LLMs) have effectively demonstrated in various scenarios. However, LLMs often face challenges when dealing with numerical contexts, and limited attention has been paid to evaluating their performance through preference feedback generated by the environment. This paper investigates the performance of LLMs as decision-makers in the context of Dueling Bandits (DB). We first evaluate the performance of LLMs by comparing GPT-3.5-Turbo, GPT-4, and GPT-4-Turbo against established DB algorithms. Our results reveal that LLMs, particularly GPT-4 Turbo, quickly identify the Condorcet winner, thus outperforming existing state-of-the-art algorithms in terms of weak regret. Nevertheless, LLMs struggle to converge even when explicitly prompted to do so, and are sensitive to prompt variations. To overcome these issues, we introduce an LLM-augmented algorithm, IF-Enhanced LLM, which takes advantage of both in-context decision-making capabilities of LLMs and theoretical guarantees inherited from classic DB algorithms. The design of such an algorithm sheds light on how to enhance trustworthiness for LLMs used in decision-making tasks where performance robustness matters. We show that IF-Enhanced LLM has theoretical guarantees on both weak and strong regret. Our experimental results validate that IF-Enhanced LLM is robust even with noisy and adversarial prompts.
[ -0.42526039481163025, -0.6550487875938416, 0.7593138217926025, 0.21302589774131775, -0.14279696345329285, 0.53459632396698, -0.6317339539527893, -0.480949342250824, 0.1111508160829544, 0.42642197012901306, -0.2340756356716156, -0.4467546045780182, -0.8460034728050232, 0.3027896285057068, -0.04819178208708763, 1.1520930528640747, -0.06077359616756439, -0.02639603242278099, -0.41594821214675903, -0.07848186045885086, -0.5250899195671082, -0.7800230979919434, -1.0173771381378174, -0.38209068775177, 0.4117662310600281, 0.13280050456523895, 0.7988006472587585, 0.15658056735992432, 0.36577680706977844, 0.4823901951313019, -0.2134218066930771, 0.14102455973625183, -0.5128487348556519, 0.14782632887363434, -0.241375133395195, -0.7201582193374634, -0.4091198146343231, -0.05379539355635643, 0.6248186230659485, 0.20647607743740082, -0.049263548105955124, -0.41472798585891724, 0.2016836255788803, 0.6586565375328064, -0.6325461864471436, 0.3730969727039337, -0.9042364358901978, -0.1434641182422638, -0.27160751819610596, -0.28934216499328613, -0.304644376039505, -0.6290135979652405, 0.2689262330532074, -0.38778114318847656, -0.2086183726787567, -0.08559831976890564, 0.6939003467559814, 0.39432770013809204, -0.17841151356697083, -0.5203267335891724, -0.5124402046203613, 0.7288487553596497, -0.6030407547950745, 0.013950060121715069, 0.3471910357475281, 0.24953143298625946, -0.3069773316383362, -0.49795177578926086, -0.27522775530815125, -0.48568567633628845, -0.039193496108055115, 0.10237123817205429, -0.23789222538471222, 0.3249799907207489, 0.30093613266944885, 0.0025729292538017035, -0.10494839400053024, 0.34697675704956055, -0.09919528663158417, -0.1273949295282364, 0.6787700057029724, 0.1557670384645462, -0.10962977260351181, -0.1505270004272461, -0.32833364605903625, -0.09604440629482269, -0.7043207287788391, 0.47686341404914856, 0.35773658752441406, 0.3026999235153198, 0.07742886990308762, 0.3601319193840027, -0.18844203650951385, 0.6633427739143372, 0.31689155101776123, -0.2805345058441162, -0.05800474435091019, -0.22231240570545197, -0.09596811234951019, 0.2474503219127655, 0.6894760131835938, 0.4254087507724762, 0.38452067971229553, -0.3532983958721161, -0.5084275007247925, 0.054345108568668365, 0.0616450272500515, -0.7477205395698547, -0.04706312716007233, 0.18009448051452637, -0.051935452967882156, -0.4147803485393524, -0.008295582607388496, -0.681666910648346, -0.5963765382766724, -0.24999697506427765, 0.7453584671020508, -0.450432687997818, -0.042018093168735504, -0.012702017091214657, -0.36345505714416504, 0.3554615080356598, 0.3099605441093445, -0.7670374512672424, 0.26103031635284424, 0.7954245805740356, 0.8386391401290894, -0.2291707694530487, -0.17730151116847992, -0.7232948541641235, 0.10607276856899261, -0.4029553532600403, 0.6816644072532654, -0.7048031091690063, -0.7063382267951965, -0.09333110600709915, -0.3680277168750763, -0.0781932920217514, -0.6252095103263855, 0.8708664178848267, -0.8017047643661499, 0.0492778979241848, -0.47585609555244446, -0.4883667230606079, -0.27600160241127014, 0.3137318193912506, -0.47127941250801086, 0.6096218228340149, 0.15373897552490234, -0.5563269853591919, 0.6415495872497559, -0.6175727844238281, -0.35971692204475403, 0.21654699742794037, -0.33083558082580566, -0.39205825328826904, -0.016106117516756058, 0.1495225429534912, 0.40462422370910645, -0.3534669578075409, 0.37870684266090393, -0.6491934061050415, -0.553472638130188, 0.5569813847541809, -0.5178960561752319, 0.7180625796318054, -0.12629586458206177, -0.5344061851501465, 0.21018482744693756, -0.29886287450790405, 0.1765352338552475, -0.05884654447436333, -0.43450942635536194, -0.2901155352592468, 0.12072017043828964, -0.5351120233535767, -0.036673013120889664, 0.16801121830940247, -0.3298386335372925, 0.23490311205387115, -0.4063083827495575, 0.5339345335960388, 1.1195237636566162, -0.1528870016336441, 0.4582633674144745, -0.3945951461791992, 0.4782446026802063, -0.2963111400604248, -0.10820892453193665, 0.10924217104911804, -0.38952502608299255, -0.7378861308097839, -0.4022495746612549, 0.725055992603302, 0.6859189867973328, -1.0210455656051636, 0.35879817605018616, -0.33320489525794983, -0.10612265020608902, -0.3396858274936676, 0.11600453406572342, 0.39941978454589844, 0.19042474031448364, -0.06733084470033646, -0.31583261489868164, -0.4192158877849579, -0.7978641390800476, -0.4343767464160919, -0.20833736658096313, -0.00824645534157753, 0.5687369704246521, 0.22938266396522522, -0.19705703854560852, 0.9291087985038757, -0.05297716706991196, -0.09197018295526505, -0.21320849657058716, -0.024096187204122543, 0.3216749429702759, 0.10886664688587189, 0.6112971901893616, -0.6320430636405945, -0.5398455262184143, 0.11471021175384521, -0.7943865060806274, -0.08772613108158112, -0.057030100375413895, 0.09647759795188904, 0.4483504891395569, 0.2677806317806244, -0.7317651510238647, 0.31175321340560913, 0.351396381855011, -0.17477333545684814, 0.4914136826992035, -0.26177024841308594, 0.2595611810684204, -0.5088261365890503, -0.2672230303287506, 0.004199910443276167, -0.21970689296722412, -0.3500402569770813, -0.06867871433496475, 0.05506345257163048, 0.28384116291999817, -0.07502972334623337, 0.47272366285324097, -0.3361276090145111, -0.2321329414844513, -0.2968248128890991, 0.2903558611869812, -0.30520719289779663, 0.504305899143219, 0.12325434386730194, 0.87814861536026, 0.7445182204246521, -0.637044370174408, 0.3713080585002899, -0.15412622690200806, -0.4199562668800354, 0.8533576726913452, -0.6019357442855835, 0.11509253829717636, -0.07369605451822281, 0.4501667618751526, -0.8687920570373535, -0.21559017896652222, 0.08613167703151703, -0.5976463556289673, 0.5529056787490845, -0.12909461557865143, -0.33046987652778625, -0.23987853527069092, -0.5659551024436951, 0.15717780590057373, 0.43988871574401855, -0.7068054676055908, 0.6349727511405945, 0.31428152322769165, -0.4198102653026581, -0.6505249738693237, -0.331289142370224, 0.5103524923324585, -0.6092109680175781, -0.714057207107544, 0.4739114046096802, -0.1447819024324417, -0.6995065808296204, -0.10903307795524597, 0.0884506031870842, 0.10879054665565491, 0.2885356843471527, 0.19142358005046844, 0.42739811539649963, 0.025682605803012848, -0.1355808675289154, 0.10227993875741959, -0.2854249179363251, 0.2843838036060333, -0.14394156634807587, 0.15470686554908752, -0.42872777581214905, -0.12969709932804108, 0.006522103678435087, 0.18153606355190277, 0.3873165547847748, -0.08699540048837662, 0.6030182242393494, 0.3193342685699463, -0.06304769963026047, -0.45089155435562134, -0.43196168541908264, -0.22184033691883087, -0.5738189220428467, 0.09521061182022095, -0.5328730940818787, -1.0773028135299683, 0.4004088044166565, -0.2861078977584839, 0.13249903917312622, 0.36793339252471924, 0.6248775720596313, -0.007838018238544464, 0.9659552574157715, 0.2689027488231659, -0.34373417496681213, 0.3239178955554962, -0.06991560757160187, 0.1468452662229538, -0.6217465400695801, -0.17176629602909088, -0.4671441912651062, -0.3158959448337555, -0.7606265544891357, -0.2548294961452484, 0.7413353323936462, 0.14064760506153107, -0.16515874862670898, 0.01748845912516117, -0.2782503068447113, 0.7683138847351074, 0.5179964303970337, 0.03136526420712471, 0.21487843990325928, -0.2584241032600403, -0.18280398845672607, 0.09894701093435287, -0.8598232865333557, -0.35014206171035767, 1.148685097694397, 0.06670528650283813, 0.5816952586174011, 0.3107347786426544, 0.6591873168945312, 0.40527990460395813, 0.5183255672454834, -0.6409589648246765, 0.4700142741203308, 0.08696216344833374, -0.3610987663269043, -0.25535184144973755, -0.46618029475212097, -0.9887440204620361, 0.290248304605484, -0.295925498008728, -0.727901816368103, 0.0667215958237648, -0.15033681690692902, -0.7540082335472107, 0.33139172196388245, -0.6532060503959656, 0.3662211000919342, -0.5075678825378418, -0.6962122321128845, -0.1148374080657959, -0.7234851121902466, 0.5993174910545349, -0.19356398284435272, 0.09971008449792862, 0.24005363881587982, -0.18228259682655334, 0.44516605138778687, -0.18363094329833984, 0.6747656464576721, -0.09539344161748886, -0.028138425201177597, 0.3259027600288391, 0.08375586569309235, 0.9414545893669128, 0.23335954546928406, -0.28628891706466675, 0.20837971568107605, -0.1783982515335083, -0.09532032161951065, -0.585081160068512, 1.0319921970367432, -0.797391414642334, -0.9499672651290894, -0.5081272125244141, -0.2242375910282135, -0.3871471881866455, -0.0943252295255661, 0.1899486631155014, 0.431467205286026, -0.12583491206169128, 0.5293525457382202, 0.7937590479850769, -0.3048785328865051, 0.5509822368621826, 0.43475836515426636, 0.00012841913849115372, -0.486888587474823, 0.8907272219657898, 0.12043803930282593, 0.26903611421585083, 0.2745458483695984, 0.11328531801700592, -0.757633626461029, -0.6443337202072144, -0.5881235003471375, -0.02204577811062336, -0.6217973828315735, -0.3387281000614166, -0.42820537090301514, -0.28345149755477905, -0.03609141334891319, -0.4287509620189667, 0.021926850080490112, -0.21777690947055817, -0.01307295449078083, -0.1220187395811081, 0.3985646069049835, 0.7014856338500977, -0.23902110755443573, 0.0684613510966301, -0.424034059047699, 0.045645520091056824, 0.6668269038200378, 0.5072887539863586, -0.09688861668109894, -0.3826145529747009, -0.09678693860769272, -0.11461016535758972, -0.19526945054531097, -0.7528762817382812, 0.15907511115074158, -0.09472670406103134, 0.6001240611076355, 0.29231205582618713, -0.025568200275301933, 0.383452832698822, -0.08965056389570236, 0.6546915173530579, -0.2077779471874237, -0.8461899757385254, 0.08465120196342468, -0.6302359700202942, 0.03654617816209793, 0.5509702563285828, 0.11203079670667648, -0.14878322184085846, -0.21088692545890808, -0.5981373190879822, -0.6424028873443604, 0.8738400340080261, 0.24445609748363495, -0.01823260262608528, 0.0871034562587738, 0.42083439230918884, -0.021222401410341263, 0.32937565445899963, -0.7298929691314697, -0.1441342830657959, 0.048345740884542465, 0.3166632056236267, -0.3107043206691742, -0.23116576671600342, -0.17574357986450195, -0.1085064485669136, 0.5384936332702637, -0.0472094863653183, 0.12176761031150818, 0.013734463602304459, 0.057837191969156265, 0.001983231632038951, 0.43391063809394836, 0.48267868161201477, 0.47019249200820923, -0.22688859701156616, -0.028520265594124794, 0.5007115602493286, 0.22989210486412048, 0.06219549477100372, 0.20016878843307495, -0.18959686160087585, -0.2078440934419632, 0.21153993904590607, 0.8479217886924744, 0.3986785113811493, -0.6904877424240112, 0.5486728549003601, -0.12265831232070923, -0.28194040060043335, -0.19593942165374756, 0.35260865092277527, 0.003761507337912917, 0.45603179931640625, 0.15327906608581543, 0.15191327035427094, 0.26532673835754395, -0.5333670377731323, 0.011285541579127312, 0.9066817760467529, -0.05200115591287613, -0.1193385198712349, 0.4247383773326874, 0.3483186662197113, -0.4321807622909546, 0.3142276406288147, -0.43290460109710693, -0.8932815790176392, 0.6674811840057373, 0.4483376741409302, 0.9894434809684753, -0.07472328096628189, 0.13485360145568848, 0.19654083251953125, 0.28152701258659363, 0.03566955775022507, 0.007677081041038036, -0.24024122953414917, -0.6676836013793945, -0.3567207157611847, -0.47423049807548523, -0.6708360314369202, 0.03327919915318489, -0.2953105568885803, 0.2289874404668808, -0.6679545044898987, -0.2643517553806305, -0.23028013110160828, 0.23417018353939056, -0.5907597541809082, -0.0372304804623127, 0.18700610101222992, 0.525816023349762, -0.22826546430587769, 0.6175081133842468, 0.36908620595932007, 0.09128362685441971, -0.535342812538147, -0.16701917350292206, 0.11920053511857986, -0.6762201189994812, 0.43990570306777954, -0.008723831735551357, -0.34500426054000854, -0.23607246577739716, -0.4513123333454132, -0.9066764116287231, 1.0879563093185425, 0.3502923846244812, -0.423706978559494, 0.2540854215621948, -0.051995355635881424, 0.4562501609325409, -0.21241429448127747, 0.4947509765625, 0.8938654065132141, 0.8106565475463867, 0.15742121636867523, -1.0348272323608398, -0.17112551629543304, 0.016969414427876472, -0.019883420318365097, 0.41862863302230835, -0.9660018682479858, 0.8915995359420776, -0.44281259179115295, -0.2064356952905655, 0.09486445784568787, 0.5332807898521423, 0.6399517059326172, 0.2729071080684662, 0.500406801700592, 0.39936429262161255, 0.8182319402694702, -0.25217941403388977, 1.282711148262024, -0.15814906358718872, -0.0822799876332283, 0.9012921452522278, -0.2764239013195038, 0.6441550850868225, 0.039606451988220215, -0.3782173693180084, 0.6247696876525879, 0.73726487159729, 0.27323323488235474, 0.43825438618659973, 0.29609036445617676, -0.49742361903190613, -0.31309154629707336, -0.03669719770550728, -0.2914465069770813, 0.516250729560852, 0.5092284679412842, -0.16642557084560394, -0.11227802187204361, -0.39841848611831665, 0.18427376449108124, 0.015400667674839497, -0.40066081285476685, 0.8879486918449402, -0.002841872163116932, -1.0141942501068115, 0.5734286308288574, 0.31162744760513306, 0.9505882263183594, -0.7737582325935364, 0.1400902271270752, -0.16885752975940704, 0.1911868005990982, -0.10718292742967606, -0.9386100769042969, -0.0008763967198319733, 0.059354111552238464, -0.05068386718630791, -0.10125543177127838, 0.8106272220611572, -0.35858142375946045, -0.1727273315191269, 0.3440048396587372, 0.2915637195110321, -0.01826784759759903, -0.1527986079454422, -0.6672420501708984, 0.21131888031959534, 0.03670591861009598, -0.07996276021003723, 0.5149447321891785, 0.5655445456504822, -0.2731305956840515, 0.7411384582519531, 0.6253488659858704, 0.02989763580262661, -0.28167369961738586, -0.08800303936004639, 0.8334348797798157, -0.5252660512924194, -0.4763548672199249, -1.0688450336456299, 0.09247870743274689, -0.21682526171207428, -0.19670747220516205, 0.9119020700454712, 0.3567049503326416, 0.7264512777328491, 0.3285027742385864, 0.9732900261878967, 0.07014703750610352, 0.18651600182056427, -0.6017516255378723, 0.4381396174430847, -0.2180747240781784, 0.4518078863620758, -0.25674527883529663, -0.7367860078811646, -0.09325235337018967, 0.41827210783958435, -0.5859277248382568, 0.3759509027004242, 0.23924598097801208, 0.7467712759971619, 0.3764999508857727, 0.09876665472984314, 0.364458829164505, 0.12748081982135773, 0.28771892189979553, 0.8913124799728394, 0.9833207130432129, 0.0835614800453186, 0.3836482763290405, 0.058487944304943085, -0.4305551052093506, -0.16326239705085754, -0.9461511373519897, -0.9681872725486755, -0.23926155269145966, 0.1250634640455246, -0.2720103859901428, 0.06712345033884048, 0.9110566973686218, 0.4475727081298828, -0.4910931885242462, -0.33694878220558167, 0.20584169030189514, 0.5948397517204285, -0.02713678777217865, -0.22347629070281982, 0.13754385709762573, -0.3289635479450226, -0.6723067760467529, 0.5315365195274353, 0.575326144695282, -0.0924144983291626, -0.28330355882644653, -0.5467126965522766, 0.2901569604873657, 0.3570569157600403, 0.7264881134033203, 0.19024033844470978, -0.8544868230819702, -0.13919760286808014, -0.2835306227207184, 0.08579855412244797, -0.010407491587102413, 0.6430898904800415, -1.0194827318191528, 0.5465227365493774, 0.2387889176607132, 0.7839890718460083, 0.35683587193489075, 0.12640263140201569, 0.6843668818473816, -0.3782932460308075, -0.10492784529924393, 0.26855385303497314, 0.3487650454044342, 0.3576148748397827, -0.3300662934780121, 0.4270508885383606, 0.09232588112354279, -0.7222343683242798, -0.5974562764167786, -0.1065509095788002, -0.729170560836792, -0.274170458316803, 1.3393464088439941, -0.016849637031555176, -0.050737105309963226, 0.02043004333972931, -0.3962598145008087, -0.2800382077693939, -0.6821423172950745, 0.9211782813072205, 0.9465729594230652, -0.06155690178275108, -0.046596527099609375, -0.18399329483509064, 0.928401529788971, 0.35545504093170166, -0.7530454993247986, -0.0026539857499301434, 0.5100414156913757, 0.06937555968761444, -0.10179734230041504, 0.549623429775238, -0.005599299445748329, 0.31465664505958557, -0.028194427490234375, -0.5845896601676941, 0.06281060725450516, -0.37047410011291504, -0.4775491952896118, 0.29006126523017883, 0.34024742245674133, 0.2539129853248596 ]
http://arxiv.org/abs/2407.01885v1
http://arxiv.org/pdf/2407.01885v1
Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Application
2024-07-02T02:14:42
2024-07-02T02:14:42
Chuanpeng Yang, Wang Lu, Yao Zhu, Yidong Wang, Qian Chen, Chenlong Gao, Bingjie Yan, Yiqiang Chen
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have showcased exceptional capabilities in various domains, attracting significant interest from both academia and industry. Despite their impressive performance, the substantial size and computational demands of LLMs pose considerable challenges for practical deployment, particularly in environments with limited resources. The endeavor to compress language models while maintaining their accuracy has become a focal point of research. Among the various methods, knowledge distillation has emerged as an effective technique to enhance inference speed without greatly compromising performance. This paper presents a thorough survey from three aspects: method, evaluation, and application, exploring knowledge distillation techniques tailored specifically for LLMs. Specifically, we divide the methods into white-box KD and black-box KD to better illustrate their differences. Furthermore, we also explored the evaluation tasks and distillation effects between different distillation methods, and proposed directions for future research. Through in-depth understanding of the latest advancements and practical applications, this survey provides valuable resources for researchers, paving the way for sustained progress in this field.
[ -0.44325029850006104, -0.9002842307090759, 0.987560510635376, 0.08919781446456909, -0.3180069923400879, 0.3228190541267395, -0.5499946475028992, -0.24425846338272095, -0.12824901938438416, 0.3906377851963043, -0.19905102252960205, -0.5098990797996521, -0.9494197964668274, 0.09723780304193497, -0.4508613646030426, 0.6439568996429443, -0.023721275851130486, 0.15257035195827484, -0.465882271528244, -0.04110278934240341, -0.4213531017303467, -0.6475508213043213, -0.5328856110572815, -0.5465322732925415, 0.2699633538722992, 0.2357465773820877, 0.23583675920963287, 0.468262255191803, 0.34465792775154114, 0.3802264630794525, -0.584672749042511, 0.09362290054559708, -0.5303478837013245, 0.42251673340797424, -0.07659530639648438, -0.5166447162628174, -0.09846454858779907, -0.049419205635786057, 0.5691831707954407, 0.9062144756317139, -0.3907873332500458, 0.35477808117866516, 0.3051673173904419, 0.8278080224990845, -0.9459801316261292, 0.20690512657165527, -0.6980503797531128, 0.02733003906905651, -0.2455664724111557, 0.06262430548667908, -0.348064661026001, -0.5500870943069458, 0.32345452904701233, -0.2565721869468689, 0.15087606012821198, 0.007263856939971447, 0.27939122915267944, 0.3527497351169586, -0.6246842741966248, -0.3880479037761688, -1.0710681676864624, 1.0152840614318848, -0.9344919919967651, 0.529086172580719, 0.2934570014476776, 0.55417400598526, -0.2835037410259247, -0.8699356317520142, -0.6827149391174316, -0.2657908797264099, 0.024781955406069756, -0.17018619179725647, -0.3150496780872345, -0.03812029957771301, 0.4078674018383026, 0.48991361260414124, -0.27160975337028503, 0.23535332083702087, -0.3539537489414215, -0.09807593375444412, 0.5656455159187317, 0.02344696968793869, -0.024948574602603912, 0.1405361294746399, -0.17421649396419525, -0.1919427514076233, -0.6390268206596375, -0.3258320987224579, 0.2107166051864624, -0.13136999309062958, 0.08584164828062057, 0.518721878528595, -0.5244346261024475, 0.8861972093582153, -0.09322399646043777, -0.6653058528900146, 0.13407722115516663, -0.3929517865180969, -0.25985580682754517, -0.04132749140262604, 0.8696401715278625, 0.34207871556282043, 0.15481051802635193, -0.07251487672328949, -0.13325117528438568, -0.22535505890846252, -0.11376474052667618, -0.824592649936676, -0.16581980884075165, 0.17217470705509186, -0.48390135169029236, -0.2065155804157257, -0.34541282057762146, -0.9972156882286072, -0.7091320157051086, -0.4550850987434387, 0.04764905199408531, -0.19341941177845, -0.5618197321891785, 0.19507546722888947, -0.40140554308891296, -0.052577100694179535, 0.33726203441619873, -0.8802047967910767, 0.1966622769832611, 0.6390396952629089, 0.8042219281196594, -0.24150575697422028, 0.034467004239559174, -0.20212817192077637, -0.023443320766091347, -0.14553242921829224, 0.6107687950134277, -0.27348390221595764, -0.36549627780914307, 0.06693664193153381, -0.3219050467014313, 0.29027876257896423, -0.8454956412315369, 0.5621022582054138, -0.6902112364768982, -0.1735982745885849, -0.17064164578914642, -0.7741414904594421, -0.2804153263568878, 0.3338198661804199, -0.6968516111373901, 0.9192600846290588, -0.05835713818669319, -0.6192148327827454, 0.3639465868473053, -0.4078649878501892, -0.40466317534446716, 0.01695471815764904, -0.05404981970787048, -0.23479270935058594, 0.5814230442047119, 0.24168455600738525, 0.6611050963401794, -0.6321091055870056, 0.3988102078437805, -0.46742308139801025, -0.05908564105629921, 0.3164370357990265, -0.6390279531478882, 0.8242183923721313, 0.5344852209091187, -0.16123788058757782, -0.3108850419521332, -0.8519083261489868, -0.013286923058331013, 0.2449704110622406, -0.2159031331539154, -0.7425805330276489, 0.03705788403749466, -0.23768074810504913, 0.05860920622944832, 0.4047219157218933, -0.5702084302902222, 0.24679028987884521, 0.017628585919737816, 0.6069620251655579, 0.5325588583946228, 0.1530645340681076, 0.29316356778144836, 0.0714334100484848, 0.5687834024429321, 0.02870892733335495, 0.1021723672747612, 0.10599097609519958, -0.1838492453098297, -0.5780234336853027, -0.15902352333068848, 0.5268789529800415, 0.2675524652004242, -0.7907557487487793, 0.42123469710350037, -0.11342299729585648, -0.8728611469268799, -0.47208258509635925, 0.26681259274482727, 0.2627219557762146, 0.3562662899494171, 0.21941718459129333, 0.20287449657917023, -0.3378453850746155, -0.9231037497520447, -0.003204909386113286, -0.2581704258918762, 0.0346665196120739, 0.19776876270771027, 0.4411459267139435, 0.04314987733960152, 0.9054977893829346, -1.0123779773712158, -0.012073635123670101, -0.3829684257507324, 0.14207644760608673, 0.14084990322589874, 0.167616069316864, 0.5972290635108948, -0.5900709629058838, -0.6101312637329102, -0.02160702832043171, -0.6571013331413269, -0.3326965570449829, 0.3341817259788513, 0.07656495273113251, 0.22296282649040222, 0.6604422330856323, -0.4799349904060364, 0.16909758746623993, 0.8979548215866089, -0.014222534373402596, 0.7076688408851624, -0.26011255383491516, 0.31893476843833923, -1.0527740716934204, 0.048492152243852615, 0.14628106355667114, -0.20698684453964233, -0.5831499099731445, 0.0048521580174565315, 0.0499863475561142, 0.22366872429847717, -0.5084345936775208, 0.5220060348510742, -0.7470538020133972, 0.10379648208618164, -0.3465401828289032, 0.34403136372566223, 0.05913303792476654, 0.13244174420833588, -0.010141122154891491, 0.47523918747901917, 0.44020918011665344, -0.578085720539093, 0.709997296333313, -0.002414698712527752, -0.9567246437072754, 0.31812283396720886, -0.5601556301116943, 0.1283232718706131, -0.07772374898195267, 0.18632790446281433, -1.0130695104599, 0.1598544865846634, -0.06725318729877472, -0.02194962464272976, 0.324307382106781, -0.27867019176483154, -0.7163517475128174, -0.3647836446762085, -0.1762154996395111, 0.4441802501678467, 0.8336400985717773, -0.4268612861633301, 0.2931123673915863, 0.5636398196220398, -0.229864239692688, -0.5955521464347839, -0.7534090280532837, 0.019290754571557045, -0.5604979991912842, -0.38175511360168457, 0.09355847537517548, -0.1716567724943161, -0.6682637929916382, -0.10005909949541092, -0.2824561595916748, -0.11158616095781326, 0.2488081455230713, -0.1209958866238594, 0.13232816755771637, -0.04028644785284996, -0.03888065740466118, 0.0661996528506279, 0.1672235131263733, 0.019586432725191116, -0.2064516395330429, 0.5452765822410583, 0.35662373900413513, -0.40778711438179016, -0.3379329741001129, 0.06673873960971832, 0.6530129909515381, -0.08183034509420395, 0.8149116635322571, 0.39928263425827026, -0.22740784287452698, -0.421954870223999, -1.0288382768630981, -0.16076628863811493, -0.44574299454689026, 0.453718900680542, -0.15065065026283264, -1.1113317012786865, 0.43551069498062134, -0.5597091913223267, -0.03821861371397972, 0.2563783526420593, 0.8017794489860535, 0.03861445188522339, 0.7085696458816528, 0.690751314163208, -0.26830053329467773, 0.427918016910553, -0.2005704790353775, 0.32720908522605896, -0.7351892590522766, -0.24502213299274445, -0.9156435132026672, -0.28681230545043945, -0.3310283422470093, -0.5374467372894287, 0.4562799632549286, 0.3664897084236145, 0.31025230884552, 0.061855826526880264, -0.33957159519195557, 0.5525510907173157, 0.33649924397468567, -0.27352628111839294, 0.7598026990890503, 0.0453612245619297, -0.13316628336906433, 0.008802337571978569, -0.6321930885314941, -0.5204487442970276, 1.2395848035812378, 0.39318594336509705, 0.8996403217315674, 0.02703203074634075, 0.7230256795883179, 0.2567373812198639, 0.1717422902584076, -0.7695196270942688, 0.5468043684959412, -0.12616510689258575, -0.665594756603241, -0.4792371690273285, -0.5848627090454102, -0.6710520386695862, 0.3153214156627655, 0.025650961324572563, -0.7024627923965454, 0.055749744176864624, 0.27129754424095154, -0.24737825989723206, 0.2466515600681305, -0.912493884563446, 0.7169926762580872, -0.30831465125083923, -0.07254919409751892, -0.3206367492675781, -0.35371243953704834, 0.727077305316925, -0.42208731174468994, 0.19744908809661865, -0.258961945772171, 0.10183223336935043, 0.6723241209983826, -0.4871751666069031, 0.5813941359519958, -0.3861980736255646, -0.5240196585655212, 0.3592628240585327, -0.029820319265127182, 0.5840437412261963, -0.055311109870672226, -0.25399866700172424, 0.4232889711856842, 0.2574332058429718, 0.02596735768020153, -0.842207133769989, 0.7449396252632141, -0.4798464775085449, -0.677628755569458, -0.3267480731010437, -0.484360933303833, -0.384684681892395, 0.1454511284828186, -0.007102964911609888, 0.27753305435180664, -0.285961389541626, 0.41621920466423035, 0.7286034822463989, -0.30608710646629333, 0.5554275512695312, 0.7045046091079712, -0.4200894832611084, -0.26417961716651917, 0.6860695481300354, 0.3006139099597931, 0.5663989782333374, 0.3722740709781647, 0.27545663714408875, -0.6717939972877502, -1.1427210569381714, -0.32239940762519836, 0.1454440802335739, -0.6299723982810974, -0.18740437924861908, -0.6003175973892212, -0.10618039220571518, -0.5269833207130432, 0.25312623381614685, -0.45819997787475586, -0.5278260111808777, -0.10256170481443405, -0.015747807919979095, 0.4785754680633545, 0.8640599250793457, 0.14429378509521484, 0.20544496178627014, -0.7849110960960388, 0.38817352056503296, 0.2785731852054596, 0.387803852558136, 0.170089453458786, -0.29140332341194153, -0.3412884473800659, 0.18331322073936462, -0.1991628110408783, -0.6761792302131653, 0.26641616225242615, 0.05186919867992401, 0.6893669366836548, 0.317787766456604, 0.3722181022167206, 0.777832567691803, -0.5337116122245789, 0.8362061977386475, 0.18090803921222687, -0.6907559633255005, 0.3285049498081207, 0.052907805889844894, 0.3414439558982849, 0.6661343574523926, 0.4769134819507599, -0.5624297261238098, -0.39788565039634705, -0.2764270603656769, -0.7718942165374756, 0.5371261835098267, 0.11244108527898788, -0.0910743772983551, 0.25231486558914185, 0.3014778196811676, 0.19241583347320557, 0.3223288059234619, -0.32170993089675903, -0.5418640375137329, 0.3574082851409912, -0.11958137899637222, -0.255647212266922, -0.4553379714488983, 0.007334917783737183, -0.21084293723106384, 0.7566235065460205, 0.13224250078201294, -0.19315418601036072, -0.11644349992275238, -0.3865910768508911, 0.3210151195526123, 0.43508490920066833, 0.5237777829170227, 0.7625058889389038, -0.14257973432540894, 0.24723708629608154, 0.2651248276233673, -0.5046637058258057, 0.44788670539855957, 0.11110501736402512, -0.1600220948457718, -0.02656880021095276, 0.21804647147655487, 0.6501989364624023, -0.17224068939685822, -0.7090989351272583, 0.29052454233169556, -0.2814183533191681, -0.2766958177089691, -0.14300890266895294, 0.09565497189760208, 0.4544440507888794, 0.3807293772697449, 0.36315372586250305, -0.3694235384464264, 0.2557753920555115, -0.43702730536460876, -0.275100439786911, 0.4091699719429016, -0.05771881714463234, -0.012126967310905457, 0.3516353666782379, 0.18743199110031128, 0.06486837565898895, 0.4932318329811096, -0.255750834941864, -0.21420209109783173, 0.37784552574157715, 0.3888217806816101, 0.8251832723617554, -0.10778018087148666, -0.01771162450313568, 0.16929015517234802, 0.10982123762369156, -0.33197519183158875, 0.025257164612412453, -0.24730774760246277, -0.7351356744766235, -0.6968655586242676, -1.0629267692565918, -0.35511210560798645, 0.5333956480026245, -0.505422830581665, 0.16319884359836578, -0.12668879330158234, -0.22977758944034576, 0.10531997680664062, 0.09007088840007782, -0.46567288041114807, -0.20354880392551422, 0.23073206841945648, 1.0500824451446533, -0.8082937002182007, 0.8814840912818909, 0.6553903818130493, 0.005840476602315903, -0.6829025745391846, -0.04173111170530319, 0.18344184756278992, -0.4546983242034912, 0.6975141167640686, -0.3484744429588318, -0.09256982803344727, 0.009194400161504745, -0.35128656029701233, -0.7372366189956665, 1.1645559072494507, 0.6107406616210938, -1.0068432092666626, 0.2576052248477936, 0.28056755661964417, 0.6232677698135376, -0.009678684175014496, 0.15218432247638702, 1.1082323789596558, 0.5809705853462219, 0.19472689926624298, -1.0371419191360474, -0.12300246208906174, -0.11836422234773636, 0.25692883133888245, 0.19422437250614166, -0.532438337802887, 0.27535706758499146, 0.2079906463623047, -0.11136730760335922, -0.12584814429283142, 0.526160717010498, 0.49141258001327515, 0.19259409606456757, 0.5970253944396973, 0.6378609538078308, 0.7216033935546875, -0.15420468151569366, 0.7630640268325806, -0.3686218559741974, 0.39835816621780396, 1.125143051147461, -0.6415488719940186, 0.5914959907531738, 0.649054765701294, -0.55390864610672, 0.24067334830760956, 0.30535945296287537, 0.06592784821987152, 0.4793143570423126, 0.4817001223564148, -0.4891350269317627, 0.07712999731302261, -0.17740897834300995, -0.393756628036499, 0.47016680240631104, 0.31970182061195374, -0.3086771070957184, -0.32643449306488037, 0.06006297841668129, 0.09866494685411453, 0.031366728246212006, -0.168403759598732, 1.0036455392837524, 0.2043914645910263, -0.8276224732398987, 0.6268325448036194, 0.07243989408016205, 0.7469062805175781, -0.634581983089447, -0.1213296428322792, -0.12931843101978302, 0.21690534055233002, 0.010365276597440243, -0.7547540664672852, 0.21190130710601807, 0.1712736040353775, -0.22989539802074432, -0.44539541006088257, 0.7811945676803589, -0.6443490386009216, -0.38765305280685425, 0.24521590769290924, 0.6343313455581665, 0.23941071331501007, -0.10947135090827942, -0.38317400217056274, 0.369051069021225, 0.05148978903889656, -0.36014965176582336, 0.3635188043117523, 0.6956701874732971, 0.13880158960819244, 0.6942054629325867, 0.4966997802257538, 0.4412064254283905, 0.2214697003364563, 0.2108718454837799, 0.7806051969528198, -0.45763325691223145, -0.05801703780889511, -1.1908695697784424, 0.4663722515106201, -0.13345736265182495, -0.015005962923169136, 1.0214924812316895, 0.552447497844696, 0.8267161250114441, -0.25866204500198364, 1.0291980504989624, -0.1735859364271164, 0.4725884795188904, -0.687629222869873, 0.9380221962928772, -0.44126978516578674, 0.31776162981987, -0.3360345661640167, -1.1239120960235596, -0.17316898703575134, 0.24445819854736328, -0.2505270540714264, 0.030232388526201248, 0.7085555195808411, 0.6613187789916992, 0.04754872992634773, -0.10320930927991867, 0.42313385009765625, 0.37301671504974365, 0.39022180438041687, 0.2568943500518799, 1.0243583917617798, -0.032605379819869995, 0.4503837525844574, -0.5459538102149963, -0.17136821150779724, -0.27506211400032043, -1.268691062927246, -0.7295767068862915, -0.6664645075798035, -0.5260879993438721, -0.09443626552820206, -0.16602633893489838, 0.6895309686660767, 0.7115218043327332, -0.6661766171455383, -0.32170209288597107, 0.11289728432893753, 0.2573243975639343, -0.11960297077894211, -0.1524801105260849, 0.2868070900440216, -0.19790109992027283, -0.946036696434021, 0.4029366075992584, 0.14249788224697113, 0.04163610190153122, -0.5554559230804443, 0.10811372101306915, -0.1822839081287384, -0.2722420394420624, 0.8018588423728943, 0.09979934990406036, -0.6131405830383301, 0.0006741986144334078, -0.25650152564048767, 0.07204172760248184, -0.3393571078777313, 0.9231627583503723, -0.7267281413078308, 0.4219859540462494, 0.7895599603652954, 0.5511749982833862, 0.7256594300270081, -0.13058367371559143, 0.6687710285186768, -0.8063566088676453, 0.13967297971248627, 0.07980018109083176, 0.46528545022010803, 0.2304558902978897, -0.14050766825675964, 0.4468587338924408, 0.11997205018997192, -0.6493610143661499, -1.1281083822250366, 0.07060153782367706, -0.8008497357368469, -0.38458535075187683, 1.326438069343567, -0.2244260013103485, -0.032618556171655655, -0.2158477008342743, -0.14852821826934814, 0.353675901889801, -0.29588836431503296, 0.7146658897399902, 1.0397510528564453, 0.018295595422387123, -0.07689141482114792, -0.799776017665863, 0.5322461128234863, 0.048096608370542526, -0.7570798993110657, 0.39733099937438965, 0.7244278192520142, 0.45899203419685364, 0.08578339964151382, 0.4592674970626831, -0.1932864636182785, -0.24170424044132233, -0.2293374240398407, 0.13814173638820648, -0.1507491171360016, -0.1611577868461609, -0.5331792235374451, 0.2681719660758972, 0.40427663922309875, 0.12977486848831177 ]
http://arxiv.org/abs/2407.01878v1
http://arxiv.org/pdf/2407.01878v1
Compare without Despair: Reliable Preference Evaluation with Generation Separability
2024-07-02T01:37:56
2024-07-02T01:37:56
Sayan Ghosh, Tejas Srinivasan, Swabha Swayamdipta
cs.CL
cs.CL
Human evaluation of generated language through pairwise preference judgments is pervasive. However, under common scenarios, such as when generations from a model pair are very similar, or when stochastic decoding results in large variations in generations, it results in inconsistent preference ratings. We address these challenges by introducing a meta-evaluation measure, separability, which estimates how suitable a test instance is for pairwise preference evaluation. For a candidate test instance, separability samples multiple generations from a pair of models, and measures how distinguishable the two sets of generations are. Our experiments show that instances with high separability values yield more consistent preference ratings from both human- and auto-raters. Further, the distribution of separability allows insights into which test benchmarks are more valuable for comparing models. Finally, we incorporate separability into ELO ratings, accounting for how suitable each test instance might be for reliably ranking LLMs. Overall, separability has implications for consistent, efficient and robust preference evaluation of LLMs with both human- and auto-raters.
[ -0.49948593974113464, -0.14394037425518036, 0.5597197413444519, 0.44777074456214905, -0.1793857365846634, 0.26010188460350037, -0.39651647210121155, -0.7348132133483887, 0.26952415704727173, 0.2702297568321228, -0.371517151594162, -0.26853564381599426, -0.5965585708618164, 0.454850435256958, -0.31309598684310913, 0.8781054615974426, 0.04620368033647537, -0.09894149005413055, -0.6009630560874939, -0.40049490332603455, -0.1856294870376587, -0.23516395688056946, -0.7401385307312012, -0.3235498070716858, 0.28962424397468567, 0.44949784874916077, 0.8128814697265625, 0.46670472621917725, 0.7012701630592346, 0.3597445487976074, -0.07249906659126282, 0.18323199450969696, -0.5102800130844116, 0.34762558341026306, 0.03555555269122124, -0.3275982439517975, -0.3012843430042267, 0.16902630031108856, 0.4121619462966919, 0.5452171564102173, -0.24221430718898773, 0.0658099502325058, 0.32313090562820435, 0.8457428812980652, -0.7848650217056274, -0.07684676349163055, -0.7397489547729492, 0.19736012816429138, -0.004367699380964041, -0.07582924515008926, -0.37865740060806274, -0.8156431913375854, 0.14244264364242554, -0.22200851142406464, 0.3305158019065857, -0.02845497615635395, 0.76054847240448, 0.25189125537872314, -0.4130595624446869, 0.016986072063446045, -0.6598106026649475, 0.9787160754203796, -0.5847579836845398, 0.5094322562217712, 0.580555260181427, 0.2986413538455963, 0.06599916517734528, -0.31060394644737244, -0.3655751645565033, -0.5262476801872253, -0.03163127228617668, 0.20988976955413818, -0.12009227275848389, 0.2579907476902008, 0.006841960828751326, 0.7126008868217468, -0.5316410660743713, -0.1877412050962448, -0.03746639937162399, -0.19726261496543884, 0.7762430906295776, 0.18342576920986176, 0.48182857036590576, -0.46479547023773193, -0.5107089877128601, -0.19573622941970825, -0.43027380108833313, -0.07789695262908936, 0.6499746441841125, 0.16553127765655518, 0.03545219823718071, 0.26001474261283875, -0.1629159152507782, 0.6040622591972351, 0.06695359945297241, -0.08983559906482697, 0.4927266538143158, -0.5039646029472351, -0.23536960780620575, -0.15745802223682404, 0.9715637564659119, 0.6599621772766113, 0.06314345449209213, -0.4423264265060425, -0.19407092034816742, 0.16742673516273499, 0.3958946764469147, -0.5948845148086548, -0.26018568873405457, 0.1552291214466095, -0.8797529935836792, -0.6257633566856384, -0.13091669976711273, -0.8682703375816345, -0.4317176938056946, 0.014349035918712616, 0.35303744673728943, -0.23976776003837585, -0.5063440203666687, 0.012528613209724426, -0.2307189404964447, 0.08817137777805328, 0.13575227558612823, -1.067528247833252, 0.2674305737018585, 0.646390438079834, 0.8431724905967712, -0.4925215244293213, -0.4361070990562439, -0.4062443971633911, -0.3917151987552643, -0.312255859375, 0.9904175400733948, -0.5722333192825317, -0.6321737170219421, -0.1278858482837677, -0.16047994792461395, -0.2633872330188751, -0.9310731291770935, 0.8622430562973022, -0.2736950218677521, 0.071940578520298, -0.32802918553352356, -0.47794029116630554, 0.07585182040929794, 0.3387608528137207, -0.6882964968681335, 0.8867747187614441, 0.0990736186504364, -0.8941627144813538, 0.7539001703262329, -0.36838820576667786, -0.29688867926597595, -0.10353226959705353, 0.02152514085173607, -0.4340169131755829, 0.26190146803855896, -0.19605551660060883, 0.10864130407571793, -0.30680733919143677, 0.10405410081148148, -1.0006513595581055, -0.22286950051784515, 0.05193990841507912, -0.5920232534408569, 0.6951781511306763, 0.27965620160102844, -0.3765994906425476, 0.09270426630973816, -0.7989097833633423, 0.15893231332302094, -0.020958077162504196, -0.23543724417686462, -0.5796851515769958, 0.34536755084991455, 0.05900932475924492, 0.13005228340625763, 0.28368300199508667, -0.49219244718551636, -0.11357145011425018, -0.3395301103591919, 0.4545256793498993, 0.6332132816314697, -0.2229471653699875, 0.5293750762939453, -0.4958984851837158, 0.49118348956108093, -0.06110905855894089, 0.434678852558136, 0.31948599219322205, -0.21118652820587158, -1.0220645666122437, -0.2559211850166321, 0.20058901607990265, 0.5464640259742737, -0.41677382588386536, 0.8552307486534119, 0.07830378413200378, -0.55140221118927, -0.6760373711585999, 0.15153762698173523, 0.46591636538505554, 0.5290210843086243, 0.4096418023109436, -0.688584566116333, -0.6638839840888977, -1.1227610111236572, -0.4324961006641388, -0.45427820086479187, 0.03266138583421707, 0.38989919424057007, 0.11524136364459991, -0.2197040468454361, 0.854347825050354, -0.3031058609485626, 0.20308943092823029, -0.48912352323532104, 0.19765253365039825, 0.04695538803935051, 0.2899191975593567, 0.4172329604625702, -0.5056527853012085, -0.4212036430835724, -0.21937952935695648, -0.7656611800193787, -0.3819127678871155, 0.30522793531417847, -0.19534192979335785, -0.012525972910225391, 0.15930244326591492, -0.30055612325668335, 0.26528456807136536, 0.5788782835006714, -0.13600091636180878, 0.5892632603645325, -0.366010457277298, 0.6417003273963928, -1.2232590913772583, 0.11824479699134827, -0.1444060206413269, -0.46906405687332153, -0.3527960777282715, -0.07303139567375183, -0.020994368940591812, 0.2879100441932678, -0.38036221265792847, 0.36987417936325073, -0.24377192556858063, -0.3631342649459839, -0.27722010016441345, 0.07166516780853271, 0.0688309445977211, -0.3198561370372772, -0.08418723195791245, 0.906371533870697, 0.2108965516090393, -0.3660236597061157, 0.2109997719526291, 0.3551517128944397, -0.5462639927864075, 0.6699865460395813, -0.6991363763809204, 0.23999758064746857, 0.09948371350765228, 0.08181213587522507, -0.9215534329414368, 0.050375595688819885, -0.010459944605827332, -0.17532561719417572, -0.04972120374441147, -0.21933844685554504, -0.386636346578598, -0.21470798552036285, -0.6126093864440918, 0.4681239724159241, 0.5064526796340942, -0.529387354850769, 0.2139100730419159, 0.33658257126808167, -0.10309872031211853, -0.7370182275772095, -0.42768239974975586, -0.009852210991084576, -0.46891865134239197, -0.6006758809089661, 0.16063739359378815, -0.43314653635025024, -0.4119182229042053, -0.07652245461940765, -0.07906210422515869, -0.05504443496465683, 0.3624158799648285, 0.3631645739078522, 0.3183176815509796, -0.007470209151506424, -0.1157485768198967, 0.15112319588661194, -0.34356096386909485, -0.07857801765203476, 0.02599399723112583, 0.500048041343689, -0.169437438249588, -0.25052449107170105, -0.06591186672449112, 0.230093851685524, 0.6771600246429443, -0.12058333307504654, 0.47598329186439514, 0.2680463194847107, -0.07258773595094681, -0.23163661360740662, -0.7227708101272583, -0.06142362952232361, -0.4562389552593231, 0.052327342331409454, -0.31983432173728943, -0.7821108102798462, 0.47692444920539856, 0.3661744296550751, 0.13098542392253876, 0.29694342613220215, 0.31125375628471375, -0.16799943149089813, 1.0580335855484009, 0.6862201690673828, -0.22060807049274445, 0.49257802963256836, 0.26015329360961914, 0.18914514780044556, -0.9032349586486816, 0.03244661167263985, -0.5845175385475159, -0.49409136176109314, -0.6380859017372131, -0.0881320908665657, 0.29491254687309265, 0.2732301950454712, -0.07330228388309479, 0.42143791913986206, -0.41151535511016846, 0.8333924412727356, 0.45642608404159546, -0.02473183535039425, 0.6190211176872253, -0.13232572376728058, -0.19551755487918854, -0.2386002540588379, -0.3122446835041046, -0.507950484752655, 1.2593302726745605, -0.019907372072339058, 0.5025930404663086, -0.0506182424724102, 1.1240609884262085, 0.5147351026535034, 0.49307218194007874, -0.6735915541648865, 0.48158755898475647, -0.5452825427055359, -0.4997083246707916, -0.04173538088798523, -0.8440511226654053, -1.066029667854309, 0.42715418338775635, -0.36872398853302, -0.6546446681022644, 0.20058032870292664, 0.04290327429771423, -0.4825782775878906, 0.280173659324646, -0.478436142206192, 1.014936923980713, -0.2860642075538635, -0.20973080396652222, -0.317554235458374, -0.7083085775375366, 0.6326558589935303, 0.027563054114580154, -0.0014096697559580207, -0.35883569717407227, 0.29909050464630127, 0.7857623100280762, -0.3149453103542328, 0.22866494953632355, 0.2273600995540619, 0.18032020330429077, -0.01754116080701351, 0.3697259724140167, -0.06207863241434097, -0.012263388372957706, -0.3073742985725403, 0.09704563021659851, 0.04359704256057739, -0.19741319119930267, -0.5354529023170471, 0.854796290397644, -0.8789196014404297, -0.5063377022743225, -0.3862675428390503, -0.4413379430770874, -0.3666206896305084, 0.2460700273513794, 0.43035370111465454, 0.2224588245153427, -0.511969268321991, 0.08649039268493652, 0.5521137118339539, -0.13171899318695068, 0.5506429672241211, 0.43386077880859375, -0.3177379071712494, -0.9326500296592712, 0.8823089003562927, -0.1415935903787613, 0.4995884597301483, 0.3663026988506317, 0.23237121105194092, -0.5166681408882141, -0.24526074528694153, -0.5189602375030518, 0.17490775883197784, -0.43062475323677063, -0.163490429520607, -0.6527832746505737, -0.07705830037593842, 0.028600750491023064, -0.26800498366355896, -0.5365190505981445, -0.2853010892868042, 0.08378514647483826, -0.35394835472106934, 0.05987713485956192, 0.6851029396057129, -0.31102657318115234, -0.3938899040222168, -0.9505263566970825, 0.21680891513824463, 0.6563778519630432, 0.2865259647369385, -0.02551092579960823, -0.3935679793357849, 0.18686239421367645, -0.24343453347682953, -0.3132540285587311, -0.728194534778595, 0.28012675046920776, 0.0458994060754776, 0.49570631980895996, 0.7477070689201355, 0.20931562781333923, 0.7134261131286621, -0.3955813944339752, 0.6269535422325134, 0.2764667868614197, -1.176767110824585, 0.4780017137527466, -0.165168896317482, -0.1985573172569275, 1.4417270421981812, 0.07075124233961105, -0.40213853120803833, -0.4809126555919647, -0.9068920612335205, -0.9447160363197327, 0.5830748677253723, 0.2360459566116333, -0.040974073112010956, -0.05869531258940697, 0.002305916277691722, 0.36323782801628113, 0.4340824484825134, -0.4713183343410492, -0.29482346773147583, -0.06900421530008316, -0.19296666979789734, -0.38697221875190735, -0.3628002107143402, -0.23556050658226013, 0.06010887771844864, 0.17412260174751282, 0.32402491569519043, -0.0160207636654377, 0.003170607378706336, -0.05306858569383621, -0.2738141417503357, 0.393574059009552, 0.5497727394104004, 0.46938419342041016, -0.4579399824142456, 0.4350573420524597, 0.1242206022143364, -0.26611122488975525, 0.406993567943573, 0.09713217616081238, -0.2682614028453827, 0.044273629784584045, 0.2631685435771942, 0.6246964335441589, 0.4015517830848694, -0.628782331943512, 0.7005841732025146, -0.34772881865501404, 0.04347857087850571, -0.09638283401727676, 0.09344872087240219, 0.0992005243897438, 0.01965600624680519, -0.06311900913715363, 0.37709012627601624, 0.37020909786224365, -0.6190990805625916, 0.3621024191379547, 0.523743212223053, -0.44316765666007996, -0.33675795793533325, 0.6626545786857605, 0.6310245990753174, -0.35605600476264954, 0.6948132514953613, -0.396685391664505, -0.5095481872558594, 0.6646110415458679, 0.4309813380241394, 1.3770430088043213, -0.3398733139038086, 0.4660206139087677, 0.19330859184265137, 0.476591557264328, -0.4934510588645935, 0.13233625888824463, -0.3777407109737396, -0.8946201801300049, -0.003917871043086052, -0.8244786262512207, -0.6461468935012817, -0.0019760255236178637, -0.9415446519851685, 0.03123854286968708, -0.3293362557888031, -0.3073244094848633, -0.4862648546695709, -0.04743916913866997, -0.5536923408508301, 0.19420692324638367, 0.0779024288058281, 0.863959789276123, -1.1902564764022827, 0.5263175368309021, 0.49343711137771606, -0.3458452522754669, -0.6440188884735107, 0.2246924191713333, -0.19344943761825562, -0.5908403992652893, 0.44680681824684143, 0.3317941427230835, -0.3195027709007263, -0.4167942702770233, -0.05942973494529724, -0.6890175342559814, 0.9057518243789673, 0.6317750811576843, -0.4215865731239319, 0.3391701281070709, -0.09173129498958588, 0.5117778182029724, -0.22768530249595642, 0.8070739507675171, 0.8555577397346497, 0.49791115522384644, -0.1626262217760086, -1.1756911277770996, -0.1384194791316986, -0.20494428277015686, -0.0524197518825531, 0.41082754731178284, -0.9111577272415161, 0.5634641647338867, -0.09087096154689789, -0.2950664162635803, 0.07872384786605835, 0.44620510935783386, 0.49051469564437866, 0.6382794976234436, 0.875021755695343, 0.9397647976875305, 0.6457949280738831, -0.07000976800918579, 0.9437063932418823, -0.5774731636047363, 0.6218825578689575, 1.012085199356079, -0.5824728012084961, 0.9805247783660889, 0.26893046498298645, -0.44585567712783813, 0.38419613242149353, 0.6980162262916565, 0.29483938217163086, 0.556946873664856, 0.007798818871378899, -0.4656251072883606, -0.6566050052642822, -0.08995994180440903, -0.49636387825012207, 0.32172876596450806, -0.3036758601665497, -0.5544286370277405, -0.20919714868068695, -0.3190528154373169, 0.07002397626638412, -0.011169164441525936, -0.06933845579624176, 0.7583571672439575, 0.2965703010559082, -0.7245415449142456, 0.4325201213359833, -0.3098844587802887, 0.7532265782356262, -0.6005036234855652, 0.3081595301628113, -0.6807572245597839, 0.039828814566135406, -0.45974960923194885, -0.5759095549583435, 0.3805960714817047, 0.07581382244825363, -0.47979551553726196, -0.14205344021320343, 0.6192638874053955, -0.4280899167060852, -0.4856424927711487, 0.6475573778152466, 0.6055547595024109, 0.19754117727279663, 0.23728635907173157, -0.6252142786979675, 0.2749669551849365, 0.0389106310904026, -0.07635430991649628, 0.4933193624019623, 0.0030197312589734793, 0.2969402074813843, 0.7684721946716309, 0.6330994367599487, 0.3432607352733612, -0.0932757630944252, 0.1656276136636734, 0.4008238613605499, -0.5981009602546692, -0.3422688841819763, -0.9850801825523376, 0.2513892650604248, -0.23568245768547058, -0.477748304605484, 0.8391927480697632, 0.6611759066581726, 0.7902035117149353, 0.03580014407634735, 0.9249460101127625, 0.054737187922000885, 0.4224913418292999, -0.16202092170715332, 0.9138607382774353, -0.6510205268859863, 0.17875738441944122, -0.42032095789909363, -1.2873656749725342, -0.24264481663703918, 0.6503686308860779, -0.41830363869667053, 0.06610710918903351, 0.8083850145339966, 0.639976978302002, -0.1177152618765831, 0.08499512076377869, 0.5745113492012024, -0.09291087836027145, 0.03997163847088814, 0.7507079839706421, 1.0600545406341553, -0.148529514670372, 0.4973279535770416, -0.06423715502023697, -0.2809034585952759, -0.21157826483249664, -0.8646617531776428, -0.5875219106674194, -0.2949143052101135, -0.17802473902702332, -0.40073832869529724, 0.07308003306388855, 1.0278677940368652, 0.634364664554596, -0.7877287864685059, -0.46381133794784546, -0.08903069794178009, 0.5021803975105286, -0.3742384612560272, -0.2690398395061493, 0.07567761838436127, -0.4124965965747833, -0.8503628969192505, 0.6946489214897156, 0.6117455363273621, -0.16200189292430878, -0.3035382926464081, 0.026036156341433525, 0.6910994648933411, 0.2651139795780182, 0.4629201591014862, 0.27096349000930786, -0.5533962845802307, -0.3297208249568939, -0.38142749667167664, -0.19130727648735046, 0.2141013741493225, 0.8729658126831055, -0.5496640801429749, 0.6862965822219849, 0.9389683604240417, 0.6180990934371948, 0.10319166630506516, 0.1953093409538269, 0.64472496509552, -0.1746172159910202, -0.13625037670135498, 0.17554068565368652, 0.41349196434020996, 0.522157609462738, -0.0379255935549736, 0.49592289328575134, 0.27036601305007935, -0.8948014378547668, -1.0251456499099731, 0.44816288352012634, -1.1003963947296143, 0.25194019079208374, 1.004321575164795, -0.17122726142406464, 0.11597062647342682, -0.15252016484737396, 0.20600096881389618, -0.09010116755962372, -0.5581123232841492, 1.2098692655563354, 0.6791043877601624, -0.2704675793647766, -0.037149421870708466, -0.21364328265190125, 0.5994613766670227, 0.5948631167411804, -0.9743547439575195, -0.005373065825551748, 0.10105568915605545, 0.6187211275100708, 0.047470275312662125, 0.6683465838432312, -0.1258087009191513, 0.08147276192903519, -0.033835504204034805, 0.08091193437576294, 0.19417357444763184, -0.24625970423221588, -0.4356948435306549, 0.31301483511924744, 0.30316728353500366, -0.28815916180610657 ]
http://arxiv.org/abs/2407.01873v1
http://arxiv.org/pdf/2407.01873v1
Automated Text Scoring in the Age of Generative AI for the GPU-poor
2024-07-02T01:17:01
2024-07-02T01:17:01
Christopher Michael Ormerod, Alexander Kwako
cs.LG
cs.LG, cs.AI, cs.CL
Current research on generative language models (GLMs) for automated text scoring (ATS) has focused almost exclusively on querying proprietary models via Application Programming Interfaces (APIs). Yet such practices raise issues around transparency and security, and these methods offer little in the way of efficiency or customizability. With the recent proliferation of smaller, open-source models, there is the option to explore GLMs with computers equipped with modest, consumer-grade hardware, that is, for the "GPU poor." In this study, we analyze the performance and efficiency of open-source, small-scale GLMs for ATS. Results show that GLMs can be fine-tuned to achieve adequate, though not state-of-the-art, performance. In addition to ATS, we take small steps towards analyzing models' capacity for generating feedback by prompting GLMs to explain their scores. Model-generated feedback shows promise, but requires more rigorous evaluation focused on targeted use cases.
[ -0.2291690856218338, -0.9682424664497375, 0.8048710227012634, -0.14160574972629547, -0.3189885914325714, -0.05932225286960602, -0.10801596194505692, -0.5396161675453186, -0.1719203144311905, 0.29390546679496765, -0.16712285578250885, -0.6581346988677979, -0.47609788179397583, 0.07953465729951859, -0.45507901906967163, 1.0269906520843506, 0.005925718229264021, -0.2977498471736908, -0.5750952363014221, -0.23657751083374023, -0.19234566390514374, -0.5248745679855347, -0.8541231155395508, -0.2674146294593811, 0.3555208146572113, 0.3166775405406952, 1.014469861984253, 0.7706451416015625, 0.7513783574104309, 0.3446092903614044, 0.1323055475950241, -0.0037858218420296907, -0.24747344851493835, 0.09701907634735107, 0.08212413638830185, -0.2239760309457779, -0.5904350280761719, 0.30541813373565674, 0.5674766302108765, 0.35009798407554626, -0.035049907863140106, 0.4521043598651886, 0.30679604411125183, 0.4873404800891876, -0.7806025743484497, 0.08782485127449036, -0.5418692231178284, -0.09704093635082245, -0.4045422375202179, -0.08469825983047485, -0.5768181085586548, -0.708004891872406, -0.16965794563293457, -0.750568151473999, 0.4526347219944, 0.27321356534957886, 0.7681959271430969, 0.5090837478637695, 0.24660861492156982, -0.569329023361206, -0.6751733422279358, 0.9324732422828674, -0.47085046768188477, -0.051613178104162216, 0.5777092576026917, 0.3712400496006012, 0.2215481400489807, -0.4613181948661804, -0.23716919124126434, -0.4972655177116394, -0.1823597550392151, -0.023109281435608864, -0.6545098423957825, 0.0901917964220047, 0.2135884016752243, 0.8054528832435608, -0.5542635321617126, 0.284297913312912, -0.4520930349826813, 0.049340397119522095, 0.7177562117576599, 0.454661101102829, 0.3394382894039154, -0.25564706325531006, -0.07229159027338028, 0.06419070810079575, -0.6038090586662292, 0.07029403746128082, 0.4875217080116272, 0.5270876288414001, -0.21986041963100433, 0.8060290217399597, 0.04106933996081352, 0.9135033488273621, -0.27553868293762207, 0.27082452178001404, -0.18779322504997253, -0.2514246106147766, -0.42702895402908325, -0.37718507647514343, 1.1293179988861084, 0.16442401707172394, 0.20490378141403198, -0.20711228251457214, -0.5979916453361511, 0.5917865037918091, 0.5976618528366089, -0.5233862400054932, -0.48124584555625916, 0.05906764417886734, -0.7313742637634277, -0.5382789373397827, -0.24747616052627563, -0.995851457118988, -0.5016534328460693, -0.3546374440193176, 0.45159468054771423, -0.3398072123527527, 0.1335502415895462, -0.3870498239994049, -0.2578529119491577, -0.09446287900209427, 0.5329350233078003, -1.0431694984436035, 0.696670413017273, 0.4446115493774414, 1.2538650035858154, -0.2733633518218994, 0.021727334707975388, -0.7807590365409851, -0.27083146572113037, -0.3447713553905487, 1.0653963088989258, -0.7960289716720581, -0.8430124521255493, -0.02658870443701744, -0.5849214792251587, -0.0033011671621352434, -0.7092239260673523, 0.5554999113082886, -0.3056366443634033, 0.3237992227077484, -0.25446370244026184, -0.4296858012676239, 0.1962146908044815, 0.1059061586856842, -0.6206870079040527, 1.1382720470428467, 0.1764444261789322, -0.6053378582000732, 0.318107008934021, -1.005995750427246, -0.4196949005126953, 0.4270130395889282, -0.2521679997444153, -0.3832958936691284, 0.6878452897071838, 0.31906914710998535, 0.13999877870082855, -0.5188590884208679, -0.06600061058998108, -0.38413524627685547, -0.7845450639724731, -0.17121578752994537, -0.7355061173439026, 0.7093163728713989, 0.3419433832168579, -0.1806914210319519, 0.5191105008125305, -0.594107985496521, 0.29413336515426636, -0.050722189247608185, -0.3917192816734314, -0.4557645916938782, 0.2088797390460968, 0.18989065289497375, -0.15910489857196808, -0.009381736628711224, -0.2853125333786011, 0.25450602173805237, -0.24753043055534363, 0.5464400053024292, 0.8218467235565186, -0.6081994771957397, 0.42941519618034363, -0.39476144313812256, 0.6766760945320129, -0.6884565949440002, 0.5743218660354614, 0.10128773003816605, -0.8955258727073669, -0.6235651969909668, -0.4104764759540558, 0.1974932849407196, 0.5926012992858887, -0.8284260630607605, 0.2866114377975464, -0.14615310728549957, -0.6280608177185059, -0.9220775365829468, 0.1435728371143341, 0.48293596506118774, 0.42424824833869934, 0.5616810321807861, -0.33835500478744507, -0.030666420236229897, -0.6718370318412781, -0.3757556974887848, -0.6478942632675171, -0.32598528265953064, 0.6099194288253784, 0.4549637734889984, -0.024714672937989235, 0.7790815234184265, -0.6496943235397339, -0.4651995003223419, -0.08416637033224106, 0.4071289002895355, -0.1741926074028015, 0.39834436774253845, 0.5057386755943298, -0.40785932540893555, -0.45523372292518616, -0.05889764800667763, -0.8041845560073853, -0.09697044640779495, 0.4665497839450836, 0.34928297996520996, 0.3535425066947937, 0.5056174993515015, -0.598285973072052, 0.6137023568153381, 0.8353817462921143, -0.4740646779537201, 0.8445149064064026, -0.7076514959335327, 0.24764873087406158, -0.39981740713119507, 0.38144567608833313, 0.1922672837972641, -0.1682535707950592, -0.3649899959564209, 0.1817692518234253, -0.1495378166437149, -0.36277496814727783, -0.021591216325759888, 0.6810863614082336, -0.3469344675540924, -0.1698383092880249, -0.5331940650939941, 0.0412503257393837, -0.058987729251384735, 0.10620220750570297, -0.23745277523994446, 1.1664910316467285, 0.38280507922172546, -0.6055592894554138, 0.46577656269073486, -0.03305261582136154, -0.47385266423225403, 0.530896008014679, -0.8325368165969849, 0.32985812425613403, 0.01972656324505806, -0.08533329516649246, -0.8032611608505249, -0.2565785348415375, 0.3531254529953003, -0.5260792374610901, 0.10983555018901825, -0.045561593025922775, -0.5015429258346558, -0.5208500027656555, -0.3816514313220978, 0.5169147849082947, 0.7252312898635864, -0.5136776566505432, 0.7692856788635254, 0.42874079942703247, -0.29588451981544495, -0.24228264391422272, -0.5575318336486816, 0.07288310676813126, -0.1926976591348648, -0.4448665380477905, 0.33628830313682556, -0.0029966814909130335, -0.6074051856994629, 0.4091019928455353, 0.44861918687820435, -0.056821469217538834, 0.30298537015914917, 0.138789564371109, 0.4587665796279907, -0.35530322790145874, 0.17720702290534973, -0.14487500488758087, -0.19024677574634552, -0.048456158488988876, -0.19547463953495026, 0.3171968460083008, -0.33992788195610046, -0.4281425178050995, -0.3675364553928375, 0.6700064539909363, 0.6364684700965881, -0.13793356716632843, 0.5643313527107239, 0.4065820574760437, -0.4280300438404083, -0.22563424706459045, -0.30488982796669006, 0.12299887835979462, -0.5020451545715332, 0.10459300875663757, -0.17981548607349396, -0.6888421773910522, 0.3961009979248047, 0.44001835584640503, 0.07296649366617203, 0.7317306399345398, 0.594701886177063, -0.052500590682029724, 1.193953037261963, 0.866627037525177, -0.3060610592365265, 0.3515318036079407, 0.11602626740932465, 0.07007008790969849, -0.5189522504806519, -0.029033318161964417, -0.9799593687057495, -0.07826799154281616, -0.5728073716163635, -0.43375110626220703, 0.21848909556865692, 0.010317442938685417, -0.22364374995231628, -0.11077293753623962, -0.7445387840270996, 0.6094987988471985, 0.833756148815155, -0.03845449909567833, 0.48881620168685913, -0.13621297478675842, 0.04167358577251434, 0.12891443073749542, -0.5872141718864441, -0.8534768223762512, 0.9525612592697144, 0.25107792019844055, 0.8861899375915527, -0.026125963777303696, 0.34738659858703613, 0.8769019246101379, 1.0566107034683228, -0.6839713454246521, 0.32035645842552185, -0.8003771901130676, -0.37258654832839966, -0.39531636238098145, -0.5512978434562683, -0.6138851046562195, 0.016370739787817, -0.034357424825429916, -0.8787874579429626, -0.09415414184331894, 0.5624958872795105, -0.718252956867218, 0.2496577650308609, -0.9547494053840637, 1.0167207717895508, 0.004811680875718594, -0.33017590641975403, -0.2216779887676239, -0.061833661049604416, 0.39909178018569946, 0.08537894487380981, 0.2507120966911316, -0.048312824219465256, 0.11939648538827896, 0.5508630275726318, -0.4325733184814453, 0.6575681567192078, -0.35263970494270325, -0.1669316440820694, 0.3346477448940277, -0.11979825049638748, 0.412447452545166, -0.10803218185901642, -0.2257559448480606, 0.044621385633945465, -0.3700923025608063, -0.3087611794471741, -0.5091234445571899, 0.928229570388794, -0.769089937210083, -0.6073005795478821, -0.37000399827957153, -0.25281068682670593, -0.1930186152458191, -0.16850869357585907, 0.5837579965591431, 0.4234732389450073, -0.20728975534439087, -0.1275784820318222, 0.4714794456958771, -0.3311783969402313, 0.39388641715049744, 0.1759316325187683, -0.2610303461551666, -0.35485202074050903, 1.1534678936004639, -0.05176990479230881, 0.09157014638185501, -0.10916087031364441, 0.0983261689543724, -0.4157700836658478, -0.6357557773590088, -0.9482332468032837, -0.09822417795658112, -0.6426502466201782, -0.37782710790634155, -0.27551737427711487, -0.06216312572360039, -0.22939899563789368, -0.22632530331611633, -0.36588501930236816, -0.04845557361841202, -0.7214844822883606, 0.18281160295009613, 0.19460177421569824, 1.0762720108032227, 0.2713397145271301, 0.2437664270401001, -0.7230086326599121, 0.4212583303451538, 0.2302529513835907, 0.8493943810462952, 0.09893833845853806, -0.5277947783470154, -0.23967689275741577, -0.28702130913734436, -0.4587022662162781, -0.5073548555374146, 0.2962956428527832, 0.3048293888568878, 0.30785876512527466, 0.23923543095588684, 0.0007289621280506253, 0.500973641872406, -0.5142056345939636, 1.0046700239181519, -0.0022366452030837536, -1.1432664394378662, 0.6615978479385376, -0.2204897105693817, 0.33365246653556824, 0.5169354677200317, 0.2980940341949463, -0.2618744969367981, -0.6037503480911255, -0.3457450568675995, -0.5438205599784851, 0.793659508228302, 0.2892882823944092, 0.22833386063575745, 0.13609211146831512, 0.31749427318573, 0.10932847112417221, 0.0029153365176171064, -0.5585350394248962, -0.23176218569278717, -0.20693828165531158, -0.6175448894500732, -0.3158869743347168, -0.0984124094247818, -0.07455509155988693, -0.41838890314102173, 0.587285041809082, -0.31155920028686523, 0.3824452757835388, -0.027569545432925224, 0.10730282217264175, -0.3535493314266205, 0.10200756788253784, 0.5739173889160156, 0.19351567327976227, -0.03554408624768257, -0.04961520433425903, -0.1828595995903015, -0.5987058877944946, 0.10489021241664886, 0.40479838848114014, -0.557264506816864, -0.06387246400117874, 0.256453275680542, 1.0132683515548706, -0.2026134878396988, -0.6099418997764587, 0.3935490846633911, -0.46288374066352844, -0.18196409940719604, 0.015847139060497284, 0.3162562847137451, -0.37240177392959595, 0.029117679223418236, 0.2596874237060547, 0.3231409788131714, 0.1475629210472107, -0.42254438996315, -0.12998822331428528, 0.6437117457389832, -0.540334165096283, -0.3012332618236542, 0.9969078898429871, 0.23794151842594147, -0.5094326138496399, 0.9534943103790283, -0.16060638427734375, -0.1621774584054947, 0.2568749487400055, 0.2639264762401581, 1.0611958503723145, -0.24764016270637512, 0.2986924648284912, 0.2365313321352005, 0.39485499262809753, -0.11624574661254883, 0.13338768482208252, -0.21012148261070251, -0.3321264386177063, -0.38954922556877136, -0.963588535785675, -0.5726163387298584, 0.15390779078006744, -0.47451505064964294, 0.23923945426940918, -0.47142910957336426, -0.4938295781612396, 0.004395500756800175, -0.006476282607764006, -0.49316656589508057, 0.36583730578422546, 0.2820695638656616, 0.7672060132026672, -0.8051946759223938, 0.7587761282920837, 0.7800218462944031, -0.40623411536216736, -0.5212913155555725, -0.14475871622562408, -0.09493215382099152, -0.5253285765647888, 0.325778067111969, 0.12107731401920319, -0.07891528308391571, -0.0016749707283452153, -0.30002912878990173, -0.6463695168495178, 0.6210520267486572, 0.41258105635643005, -0.26895856857299805, -0.3619287312030792, 0.20810237526893616, 0.7223336696624756, -0.06842711567878723, 0.5011196732521057, 0.5338400602340698, 0.3969329595565796, -0.3498867154121399, -0.9002285003662109, -0.11821406334638596, -0.5706896781921387, -0.012268977239727974, 0.22972357273101807, -0.4469389319419861, 0.9463714361190796, -0.18258218467235565, -0.2854190468788147, 0.3481543958187103, 0.5695213079452515, 0.033472415059804916, 0.4093784689903259, 0.3892144560813904, 0.7720641493797302, 0.8618228435516357, -0.3859294652938843, 1.5349880456924438, -0.03841649740934372, 0.3038639426231384, 0.7079787850379944, 0.01363048143684864, 0.9228243231773376, 0.05788436159491539, -0.3208179175853729, 0.45088112354278564, 0.3349452614784241, -0.16746488213539124, 0.4490838944911957, 0.30913054943084717, -0.3836674094200134, -0.22693878412246704, 0.0026980217080563307, -0.0919593870639801, 0.4402766525745392, 0.3898954391479492, -0.5921990275382996, -0.25043556094169617, 0.13631851971149445, -0.37999847531318665, 0.19658046960830688, -0.537554144859314, 0.7879723310470581, 0.1255587488412857, -0.8555951714515686, 0.4784563481807709, 0.2071142941713333, 0.7196847796440125, -0.49700888991355896, 0.12004800140857697, -0.20285427570343018, 0.3417748212814331, -0.056611184030771255, -0.6039835214614868, 0.577227771282196, 0.7023217082023621, -0.4952376186847687, -0.16030342876911163, 0.772643506526947, 0.01939653791487217, -0.5761426687240601, 0.2596982717514038, 0.5018925070762634, 0.0027025851886719465, -0.2851974070072174, -0.5704084038734436, 0.42609527707099915, -0.3394579291343689, -0.05617879331111908, 0.37392720580101013, 0.08127491921186447, -0.13299836218357086, 0.710570216178894, 0.46127453446388245, 0.15526530146598816, -0.03926151245832443, 0.193203866481781, 0.7624229788780212, -0.607190728187561, -0.3938610255718231, -0.9843475222587585, 0.31064099073410034, -0.051468007266521454, -0.6010020971298218, 0.828106701374054, 0.5598417520523071, 0.5383404493331909, -0.01140615250915289, 0.9440782070159912, 0.06250347942113876, 0.38320988416671753, -0.5085098743438721, 0.9728464484214783, -0.7409690022468567, 0.13478022813796997, -0.3889100253582001, -0.8174561858177185, -0.4374206066131592, 0.33743953704833984, -0.448168009519577, 0.10423402488231659, 0.42512521147727966, 0.5017192363739014, 0.11507228761911392, 0.3590528070926666, 0.2505614757537842, -0.21638011932373047, 0.5227814316749573, 0.3632030487060547, 0.8768038153648376, -0.36791250109672546, 0.5205810070037842, -0.0465238131582737, -0.488356351852417, -0.16210106015205383, -0.6492791175842285, -0.5054372549057007, -0.3138740360736847, -0.3447602391242981, -0.029556993395090103, 0.3105884790420532, 0.47298887372016907, 0.3108668923377991, -0.8703563213348389, -0.06102581322193146, -0.2896481156349182, -0.11020903289318085, -0.10115866363048553, -0.23300577700138092, 0.49830636382102966, -0.7041847109794617, -0.8444324135780334, 0.30607348680496216, 0.3102783262729645, -0.007268714718520641, -0.3653234839439392, 0.0014618929708376527, 0.47511962056159973, 0.13298380374908447, 0.5708045959472656, 0.302232027053833, -0.6844762563705444, -0.23917518556118011, -0.14830902218818665, -0.38103148341178894, 0.039801597595214844, 0.9275158643722534, -0.9295927286148071, 0.2821634113788605, 0.2566254734992981, 0.5324016809463501, -0.19113782048225403, 0.3301793336868286, 0.578777551651001, -0.517723023891449, -0.33074751496315, 0.5561845302581787, 0.1651904135942459, 0.5277045369148254, -0.21100366115570068, 0.05773518607020378, 0.37414804100990295, -0.8582342267036438, -0.8504713177680969, -0.19163042306900024, -0.44301027059555054, -0.2596246600151062, 0.9953025579452515, -0.09329958260059357, -0.17303256690502167, -0.2576521635055542, -0.08858731389045715, -0.019550329074263573, -0.3670711815357208, 1.0472397804260254, 0.5858932733535767, -0.15304261445999146, 0.22315701842308044, -0.482734352350235, 0.9554965496063232, 0.2850194275379181, -1.068208932876587, 0.42256098985671997, 0.6912769079208374, -0.2194131761789322, 0.1406124085187912, 0.9397628903388977, -0.07736541330814362, 0.3392789661884308, 0.34780576825141907, -0.2327214777469635, 0.08861009776592255, -0.3736594021320343, -0.40688765048980713, 0.5207195281982422, 0.2979406714439392, -0.05160682275891304 ]
http://arxiv.org/abs/2407.01863v1
http://arxiv.org/pdf/2407.01863v1
VSP: Assessing the dual challenges of perception and reasoning in spatial planning tasks for VLMs
2024-07-02T00:24:01
2024-07-02T00:24:01
Qiucheng Wu, Handong Zhao, Michael Saxon, Trung Bui, William Yang Wang, Yang Zhang, Shiyu Chang
cs.CL
cs.CL
Vision language models (VLMs) are an exciting emerging class of language models (LMs) that have merged classic LM capabilities with those of image processing systems. However, the ways that these capabilities combine are not always intuitive and warrant direct investigation. One understudied capability in VLMs is visual spatial planning -- the ability to comprehend the spatial arrangements of objects and devise action plans to achieve desired outcomes in visual scenes. In our study, we introduce VSP, a benchmark that 1) evaluates the spatial planning capability in these models in general, and 2) breaks down the visual planning task into finer-grained sub-tasks, including perception and reasoning, and measure the LMs capabilities in these sub-tasks. Our evaluation shows that both open-source and private VLMs fail to generate effective plans for even simple spatial planning tasks. Evaluations on the fine-grained analytical tasks further reveal fundamental deficiencies in the models' visual perception and bottlenecks in reasoning abilities, explaining their worse performance in the general spatial planning tasks. Our work illuminates future directions for improving VLMs' abilities in spatial planning. Our benchmark is publicly available at https://github.com/UCSB-NLP-Chang/Visual-Spatial-Planning.
[ -0.43078458309173584, -0.3235538601875305, 0.9206902980804443, 0.32975441217422485, 0.021130396053195, -0.2992292642593384, -0.09533397108316422, -0.6878137588500977, -0.09934951364994049, 0.6876094341278076, -0.5709300637245178, -0.3511335551738739, -0.347342312335968, -0.10629023611545563, -0.20073509216308594, 0.2581709027290344, -0.170638769865036, 0.20983774960041046, -0.5166599750518799, -0.2755168378353119, -0.8761356472969055, -0.6228042244911194, -0.1850416362285614, -0.22094173729419708, 0.24804973602294922, 0.3564876914024353, 0.6471946239471436, 0.44023653864860535, 0.7510553598403931, 0.3401188552379608, -0.12372484803199768, 0.33809009194374084, -0.3594702184200287, 0.042574692517519, -0.45900270342826843, -0.1832781583070755, -0.13162298500537872, -0.36740607023239136, 0.542540967464447, 0.8893101811408997, -0.05390024185180664, 0.2496623992919922, -0.1577185094356537, 0.833848237991333, -0.8661353588104248, 0.27146923542022705, -0.654975414276123, 0.3956202268600464, 0.0194499883800745, 0.01533302292227745, -0.133122980594635, 0.1064668744802475, 0.3097045123577118, -0.3924858868122101, 0.11579815298318863, 0.15586549043655396, 0.7344105243682861, 0.3753657937049866, -0.09209750592708588, 0.052441854029893875, -1.1438857316970825, 0.596326470375061, -0.29311615228652954, 0.45430251955986023, 0.21788041293621063, 0.6145211458206177, 0.07106006890535355, -0.810658872127533, -0.5270975232124329, -0.28123342990875244, -0.12200924009084702, 0.14905574917793274, -0.3923867642879486, -0.09410230070352554, 0.6707308888435364, 0.01966211199760437, -0.8433864116668701, -0.011890534311532974, -0.6022003889083862, 0.09243917465209961, 0.6689568758010864, 0.4653468728065491, 0.012735418044030666, -0.2237113118171692, -0.8255670070648193, -0.06873440742492676, -0.314341276884079, 0.2254696488380432, -0.04252500832080841, 0.2238520234823227, 0.03650471568107605, 1.0875962972640991, -0.5323788523674011, 0.6947618722915649, -0.5098493099212646, 0.3109845817089081, 0.028289951384067535, -0.6767160892486572, -0.592003583908081, -0.5105717778205872, 0.5217499136924744, 0.6582393050193787, 0.4868783950805664, 0.19044692814350128, -0.19449293613433838, 0.2186906933784485, 0.541297197341919, -0.20865875482559204, -0.3955269753932953, 0.32357752323150635, -0.2935202121734619, 0.04634272679686546, -0.3518431782722473, -0.6996409296989441, -0.4325600564479828, -0.5672361850738525, 0.2909034788608551, -0.3542282283306122, -0.17579765617847443, 0.4872930347919464, -0.40679240226745605, 0.2350427359342575, 0.45128482580184937, -0.6743615865707397, 0.42928364872932434, 0.7637240290641785, 0.5024827718734741, -0.09431234002113342, -0.7105636596679688, -0.2714003920555115, -0.05275890603661537, -0.36921557784080505, 1.1810423135757446, -0.3377538323402405, -0.5155710577964783, 0.0696646124124527, -0.3284975290298462, -0.19436271488666534, -0.6753644943237305, 0.6110697984695435, 0.02279403805732727, -0.2056562602519989, -0.8601157665252686, -0.11388659477233887, 0.03816941753029823, 0.42960652709007263, -0.3836427927017212, 1.170979619026184, 0.17545561492443085, -0.4454100430011749, 0.7890332341194153, -0.28575313091278076, -0.03685795143246651, 0.3815714418888092, -0.5479772090911865, -0.10987512767314911, 0.3814966380596161, 0.23560333251953125, 0.28975799679756165, 0.06187814474105835, 0.15325111150741577, -0.44939932227134705, -0.07160532474517822, 0.011296446435153484, -0.002716681221500039, 0.5310686826705933, 0.07635995000600815, -0.22980822622776031, 0.6130750179290771, -0.7419388294219971, 0.5031983256340027, 0.39070743322372437, -0.06089178845286369, -0.24530771374702454, 0.49676215648651123, 0.0006722923717461526, 0.33781418204307556, 0.3013899624347687, 0.021733570843935013, 0.43272843956947327, -0.20882442593574524, 0.08120749145746231, 0.7706379890441895, -0.43153128027915955, 0.6195433139801025, -0.04160759970545769, 0.19736936688423157, -0.18110933899879456, 0.45863068103790283, 0.17173707485198975, -0.5954526662826538, -0.748533308506012, 0.05986905097961426, -0.3435940444469452, 0.7307045459747314, -0.8466054201126099, -0.03842684254050255, -0.2755776643753052, -0.5807902216911316, 0.05981409549713135, -0.034269072115421295, 0.4519243836402893, 0.40375959873199463, 0.4834047853946686, -0.43428170680999756, -0.5955116152763367, -0.7579209804534912, -0.32076752185821533, -0.41405874490737915, -0.0237271711230278, 0.4450767934322357, 0.6301950216293335, -0.10824593156576157, 0.7386056184768677, -0.578766942024231, -0.3565196990966797, -0.47458416223526, -0.14074082672595978, -0.21789059042930603, 0.1082247793674469, 0.6851701140403748, -0.8478292226791382, -0.3223414123058319, -0.0992831289768219, -0.8007730841636658, -0.43223610520362854, 0.027183422818779945, -0.029254905879497528, 0.08636727929115295, 0.4117136001586914, -0.654727578163147, 0.6934089064598083, 0.39273372292518616, -0.8894892930984497, 1.1506074666976929, -0.40608084201812744, -0.2133139967918396, -0.03485669195652008, -0.09078355878591537, 0.16266733407974243, -0.04759614169597626, -0.6845311522483826, 0.5606340765953064, -0.04074375331401825, -0.32501599192619324, -0.4869352877140045, 0.43744972348213196, -0.5256429314613342, -0.8224072456359863, -0.16933324933052063, 0.03112740069627762, -0.06990459561347961, 0.6231616735458374, 0.5699903964996338, 0.6145929098129272, 0.4235045313835144, -0.4494980573654175, 0.31130728125572205, 0.08805929124355316, -0.3924065828323364, 0.6292478442192078, -0.5974919199943542, -0.21434837579727173, -0.10551916062831879, -0.22946476936340332, -0.9076811671257019, 0.1672714799642563, 0.3202269673347473, -0.05235535278916359, -0.04532477259635925, -0.06041690334677696, -0.3104444146156311, -0.6160833239555359, -0.10987644642591476, 0.08569152653217316, 0.24458949267864227, -0.29385486245155334, 0.6536349654197693, 0.21500325202941895, -0.03690595552325249, -0.3145824670791626, -0.5518516302108765, 0.1548430621623993, -0.027324911206960678, -0.6138020753860474, 0.0369790755212307, -0.0632786899805069, -0.6670806407928467, 0.2389133721590042, -0.2654270529747009, -0.0708187073469162, -0.11481475830078125, 0.3137618601322174, 0.05256877839565277, -0.312715619802475, -0.3148919641971588, -0.4040287733078003, -0.37904396653175354, 0.10717622190713882, -0.3503192663192749, 0.5687118172645569, -0.2989335060119629, -0.8252202272415161, -0.04588685557246208, 0.49195802211761475, 0.5438675880432129, -0.6127819418907166, 0.4721309244632721, 0.33313658833503723, -0.22123633325099945, -0.2787921726703644, -0.45761170983314514, 0.36953306198120117, -0.3548382818698883, 0.3488849997520447, -0.6168171167373657, -0.4343920052051544, 0.19197005033493042, -0.23026657104492188, 0.15421810746192932, 0.20896129310131073, 0.19210359454154968, -0.29899948835372925, 0.8868006467819214, 0.9094110131263733, 0.2687324285507202, 0.32180076837539673, -0.23599280416965485, 0.17827075719833374, -0.5831772685050964, -0.4288273751735687, -0.624480128288269, -0.3160081207752228, -0.18060070276260376, -0.9682877659797668, 0.20541886985301971, 0.1529940962791443, -0.13315360248088837, 0.4463759958744049, -0.4816959798336029, 0.4259459972381592, 0.7122013568878174, -0.26282623410224915, 0.1195601373910904, 0.10761571675539017, -0.0371818020939827, -0.4641076624393463, -0.569110631942749, -0.6167098879814148, 0.8003737926483154, 0.2645156681537628, 0.3240865170955658, -0.07940270006656647, 0.25621283054351807, 0.08854630589485168, -0.41673678159713745, -0.6598878502845764, 0.9572222828865051, -0.15050508081912994, -0.060995426028966904, -0.4299389123916626, -0.20825643837451935, -0.4728272259235382, 0.8481637835502625, -0.4265238344669342, -1.0113544464111328, 0.5043632984161377, 0.17087894678115845, -0.13982290029525757, 0.32847216725349426, -0.8634522557258606, 1.0342934131622314, -0.6142601370811462, -0.3919464647769928, -0.0811644047498703, -0.4015175700187683, 0.21373039484024048, 0.31753814220428467, 0.026647482067346573, -0.21916979551315308, -0.048758722841739655, 0.07574048638343811, -0.2553081214427948, 0.5256714820861816, -0.3655134439468384, 0.3120180368423462, 0.05959610268473625, 0.1034795343875885, 0.4318172037601471, -0.28392234444618225, 0.1375678926706314, 0.49340561032295227, 0.11902528256177902, -0.37437787652015686, -0.3813786804676056, 0.34499940276145935, -0.43378618359565735, -0.4065127670764923, -0.42521846294403076, -0.41442885994911194, -0.28761178255081177, 0.2527869939804077, 0.18718521296977997, 0.20735853910446167, -0.2491622269153595, -0.23819981515407562, 0.5714347958564758, -0.2760564684867859, 0.26649120450019836, 0.5282315611839294, -0.8340063691139221, -0.05444921925663948, 0.6851192712783813, 0.24439167976379395, 0.29087382555007935, 0.25922152400016785, 0.15987682342529297, -0.2579003572463989, -1.0535637140274048, -0.38688600063323975, 0.017580591142177582, -0.6690347790718079, 0.2893688380718231, -0.536998450756073, -0.27702176570892334, -0.27721306681632996, -0.20245516300201416, -0.44248294830322266, -0.23183271288871765, 0.1415940821170807, -0.050859466195106506, -0.3991374373435974, 0.8339203000068665, -0.10735885053873062, -0.12265745550394058, -0.2967723608016968, 0.6253438591957092, 0.38689160346984863, 0.17658624053001404, -0.31849372386932373, 0.04096546396613121, 0.04410324990749359, -0.161531001329422, -0.17884069681167603, -0.631081223487854, 0.5064247846603394, -0.38563477993011475, 0.5677082538604736, 0.2858979403972626, -0.04115218669176102, 1.0540765523910522, -0.7596583962440491, 0.9769865870475769, -0.02903224341571331, -0.5745077133178711, 0.668182909488678, -0.07185275107622147, 0.45172950625419617, 0.4250355362892151, 0.12346058338880539, -0.2158258557319641, -0.3604592978954315, -0.5634386539459229, -0.9163901209831238, 0.45229360461235046, 0.24768556654453278, -0.3639209568500519, 0.3033226430416107, -0.13661576807498932, -0.31263241171836853, 0.22151128947734833, -0.7593554258346558, -0.09815681725740433, -0.04112047329545021, 0.44345882534980774, -0.29002654552459717, -0.8406370878219604, -0.14254765212535858, -0.4707942008972168, 0.12591297924518585, -0.0128329461440444, 0.2544713020324707, 0.3580018877983093, 0.1581907868385315, -0.17259865999221802, 0.10558383166790009, 0.9875528812408447, 0.8483926057815552, 0.02756122685968876, 0.18018923699855804, 0.22573259472846985, -0.20826199650764465, -0.4748450517654419, 0.16129569709300995, -0.1893552839756012, 0.08050956577062607, 0.5862022042274475, 0.8029099702835083, 0.3063620328903198, -0.8544846773147583, 0.46621719002723694, -0.2535645365715027, -0.45525339245796204, -0.5048270225524902, -0.02247561886906624, -0.015612979419529438, 0.6304181218147278, 0.1540338546037674, 0.5207536220550537, 0.1463029533624649, -0.43531954288482666, -0.15269926190376282, 0.35110723972320557, -0.42852067947387695, -0.13707435131072998, 0.5365955829620361, -0.09561256319284439, -0.30121713876724243, 0.508078396320343, -0.15122157335281372, -0.5318801403045654, 0.5709858536720276, 0.2627307176589966, 0.700842022895813, 0.11214343458414078, 0.21748384833335876, 0.2973666787147522, 0.7521287202835083, 0.011851032264530659, 0.7024272680282593, -0.2655932605266571, -0.7653059959411621, -0.32006514072418213, -0.5166440010070801, -0.3355414867401123, 0.11901506036520004, -0.4907327890396118, 0.03350244089961052, -0.47725364565849304, -0.009364869445562363, -0.1366644948720932, 0.016130048781633377, -0.7993063926696777, 0.09436871856451035, 0.2631615102291107, 1.0512768030166626, -0.8581292629241943, 0.46155330538749695, 0.9565563201904297, -0.22836998105049133, -0.6091534495353699, -0.13513609766960144, 0.1697015017271042, -1.0003275871276855, 0.7207133769989014, 0.03260313719511032, -0.08707071095705032, -0.5406815409660339, -0.339971661567688, -0.6913046836853027, 0.7406017780303955, 0.14919744431972504, -0.8292579650878906, -0.30839866399765015, 0.3985937833786011, 0.7742516398429871, 0.06416977196931839, -0.19897696375846863, 0.40933528542518616, 0.5937032699584961, 0.04365729168057442, -1.1099261045455933, -0.3314012587070465, -0.1555180698633194, 0.1693796068429947, 0.2879078686237335, -0.2930808663368225, 0.7521907091140747, -0.46450185775756836, -0.27221325039863586, 0.13206130266189575, 0.5428406000137329, 0.41065502166748047, 0.7138275504112244, 0.5180793404579163, 0.9453694224357605, 0.4667600989341736, -0.2547147870063782, 1.0737589597702026, 0.14513856172561646, 0.044060178101062775, 1.272464632987976, -0.6756485104560852, 1.2153383493423462, 0.6435578465461731, -0.2746690511703491, 0.057130277156829834, 0.08863696455955505, 0.00571045558899641, 0.6563893556594849, 0.13767118752002716, -0.11125694215297699, -0.40658849477767944, -0.0006415380630642176, -0.2797003388404846, 0.5868551731109619, 0.37835514545440674, 0.05686867982149124, -0.3884984254837036, 0.015871146693825722, -0.5742267370223999, 0.5015232563018799, -0.4379321336746216, 0.6754118800163269, 0.12319213896989822, -0.5819475650787354, 0.07699164003133774, -0.229092538356781, 0.09079596400260925, -0.7219107151031494, -0.09720519930124283, 0.07156519591808319, 0.2878270447254181, -0.07637245208024979, -1.2508890628814697, 0.6905459761619568, 0.03383950516581535, -0.14931389689445496, -0.7309616804122925, 1.0188006162643433, -0.07643712311983109, -0.24991662800312042, 0.591291606426239, 0.6044664978981018, 0.0557393841445446, -0.28291866183280945, -0.7920086979866028, 0.4008640944957733, -0.05294624716043472, -0.12425705045461655, 0.28058573603630066, 0.539871335029602, -0.1657843142747879, 0.8284274935722351, 0.5461170673370361, 0.43731799721717834, 0.03499574959278107, 0.0718003362417221, 0.6513864994049072, -0.6755149364471436, -0.30830010771751404, -0.6606197953224182, 0.680072546005249, -0.2140343189239502, -0.30839771032333374, 0.7797915935516357, 0.5344506502151489, 1.271700143814087, -0.2565074861049652, 0.45213958621025085, 0.043835606426000595, 0.2508157193660736, -0.6587285399436951, 0.18453067541122437, -0.5721927285194397, 0.2768732011318207, -0.20968350768089294, -0.7227005362510681, -0.17252475023269653, 0.6458557844161987, -0.8460255861282349, -0.20893649756908417, 0.6657010316848755, 0.3474756181240082, -0.020974051207304, -0.3545321226119995, 0.7478258013725281, -0.17459063231945038, 0.1636284589767456, 0.6913288831710815, 1.0593104362487793, 0.0018495188560336828, 0.46689340472221375, -0.5868661403656006, 0.014095268212258816, -0.07476072758436203, -0.7976135015487671, -0.689134418964386, -0.680372953414917, -0.01708492822945118, 0.12233058363199234, -0.03516719117760658, 0.3648419976234436, 0.6526435017585754, -0.31851255893707275, -0.3341676890850067, -0.2790166735649109, 0.09133106470108032, -0.46470165252685547, -0.2388806939125061, -0.15224617719650269, -0.11561311781406403, -0.4170536398887634, 0.467277854681015, 0.662358820438385, 0.021417370066046715, -0.32892122864723206, 0.10591310262680054, 0.09968973696231842, -0.23896408081054688, 0.8824637532234192, 0.6147435903549194, -0.8156506419181824, -0.29473474621772766, -0.1470615565776825, -0.20607632398605347, -0.13650895655155182, 0.776181161403656, -0.7714560031890869, 0.5994055271148682, 0.5282456874847412, 0.26141446828842163, 0.4939156770706177, -0.11980880796909332, 0.5043867826461792, -0.43911945819854736, 0.2279645800590515, 0.2480381280183792, 0.6419599056243896, 0.04266652464866638, -0.04301075637340546, 0.7423493266105652, 0.23385101556777954, -0.5101120471954346, -0.8162468075752258, 0.5226016044616699, -1.2504024505615234, -0.4562205672264099, 0.9305944442749023, 0.11561764776706696, -0.1084817573428154, 0.012573632411658764, -0.6316820383071899, -0.4687711000442505, 0.10320448875427246, 0.4394359290599823, 0.3524491786956787, -0.23229201138019562, -0.32281625270843506, -0.8521330952644348, 0.3691173493862152, 0.3310190439224243, -0.5723639130592346, 0.26037585735321045, 0.8894385099411011, -0.14059913158416748, 0.39871326088905334, 1.0061697959899902, 0.19145704805850983, 0.3129039406776428, 0.42956849932670593, 0.03734380379319191, -0.17408016324043274, -0.7759810090065002, -0.262553870677948, 0.4217497706413269, 0.1696382462978363, -0.07951303571462631 ]
http://arxiv.org/abs/2407.01853v1
http://arxiv.org/pdf/2407.01853v1
Improving Multilingual Instruction Finetuning via Linguistically Natural and Diverse Datasets
2024-07-01T23:47:09
2024-07-01T23:47:09
Sathish Reddy Indurthi, Wenxuan Zhou, Shamil Chollampatt, Ravi Agrawal, Kaiqiang Song, Lingxiao Zhao, Chenguang Zhu
cs.CL
cs.CL, cs.AI, cs.LG
Advancements in Large Language Models (LLMs) have significantly enhanced instruction-following capabilities. However, most Instruction Fine-Tuning (IFT) datasets are predominantly in English, limiting model performance in other languages. Traditional methods for creating multilingual IFT datasets such as translating existing English IFT datasets or converting existing NLP datasets into IFT datasets by templating, struggle to capture linguistic nuances and ensure prompt (instruction) diversity. To address this issue, we propose a novel method for collecting multilingual IFT datasets that preserves linguistic naturalness and ensures prompt diversity. This approach leverages English-focused LLMs, monolingual corpora, and a scoring function to create high-quality, diversified IFT datasets in multiple languages. Experiments demonstrate that LLMs finetuned using these IFT datasets show notable improvements in both generative and discriminative tasks, indicating enhanced language comprehension by LLMs in non-English contexts. Specifically, on the multilingual summarization task, LLMs using our IFT dataset achieved 17.57% and 15.23% improvements over LLMs fine-tuned with translation-based and template-based datasets, respectively.
[ -0.46829164028167725, -0.5942186713218689, 0.01737160235643387, 0.31859689950942993, -0.18834571540355682, 0.3511142134666443, -0.861416220664978, -0.09582479298114777, -0.0388515330851078, 0.2859448492527008, -0.6064582467079163, -0.8987272381782532, -0.4340149164199829, 0.5627058744430542, 0.026637984439730644, 1.1585637331008911, -0.033160414546728134, 0.3361039161682129, 0.017368461936712265, -0.4285174608230591, -0.899537205696106, -0.10416272282600403, -0.6739866137504578, -0.01564856618642807, 0.49135446548461914, 0.9443471431732178, 0.34360793232917786, 0.5591074824333191, 0.18222902715206146, 0.25309818983078003, 0.1335241198539734, 0.9651027917861938, -0.4530141353607178, -0.06164206936955452, -0.20375759899616241, -0.5346994400024414, -0.04489849880337715, -0.2775639295578003, 0.9451311230659485, 0.9929690957069397, -0.11680775880813599, 0.14605049788951874, 0.49073824286460876, 0.7097663879394531, -0.4846723675727844, 0.40677085518836975, -0.461943656206131, 0.045377217233181, -0.24720758199691772, -0.36746594309806824, -0.4697270095348358, -0.4885750114917755, 0.00798928551375866, -0.47751009464263916, 0.3524441123008728, -0.20908261835575104, 0.3961981534957886, 0.19636398553848267, -0.5385406017303467, -0.331226110458374, -0.5534627437591553, 0.8436275720596313, -0.6043590903282166, 0.6504672169685364, 0.3654806911945343, 0.14122234284877777, 0.08896862715482712, -0.21465261280536652, -0.133330836892128, -0.1964908391237259, -0.1277446448802948, 0.0620630718767643, 0.01040627807378769, -0.14254945516586304, 0.045177362859249115, 0.45484936237335205, -0.6296191811561584, 0.509120762348175, -0.4534142017364502, -0.2257978618144989, 0.5559628009796143, 0.2254793792963028, 0.2790879011154175, -0.052335064858198166, -0.11264785379171371, -0.12741604447364807, -0.7167264223098755, 0.3086336553096771, 0.3743988275527954, 0.913907527923584, -0.4501323103904724, 0.382707417011261, -0.15769752860069275, 0.8917617201805115, -0.02231306955218315, -0.3078930675983429, 0.2599486708641052, -0.6353198289871216, 0.11281940340995789, 0.12639226019382477, 0.4892957806587219, 0.5659384727478027, 0.3599063754081726, -0.21372561156749725, -0.17489615082740784, -0.18007171154022217, -0.3135233521461487, -0.8213807344436646, -0.18387548625469208, -0.03967287763953209, -0.13974076509475708, 0.20614568889141083, 0.05737210065126419, -0.7795384526252747, -0.12224075198173523, -0.7977210879325867, -0.031305450946092606, -0.7002264261245728, 0.07160817831754684, 0.2780636250972748, 0.26074132323265076, 0.2814561724662781, 0.13487136363983154, -1.0702258348464966, 0.16929864883422852, 0.5225958824157715, 0.7884032726287842, -0.28798791766166687, -0.4410150647163391, -0.6745352149009705, -0.10241622477769852, -0.417991578578949, 0.6788036227226257, -0.46813181042671204, -0.29746729135513306, 0.0535036139190197, 0.20538225769996643, -0.18717123568058014, -0.5108643770217896, 0.30990076065063477, -0.25285717844963074, 0.4732480049133301, -0.24770961701869965, -0.6401169896125793, -0.31672874093055725, 0.5611094236373901, -0.5638485550880432, 0.7695748209953308, -0.10490627586841583, -0.43502938747406006, 0.3894592523574829, -0.5706762671470642, -0.8354004621505737, 0.07886952906847, -0.24548375606536865, -0.08808866888284683, 0.04026627913117409, 0.5933712720870972, 0.5487014651298523, -0.16601069271564484, 0.35224685072898865, 0.20072387158870697, -0.24675075709819794, -0.19021612405776978, -0.9022953510284424, 0.7872416973114014, 0.05536434054374695, -0.20835790038108826, -0.027870703488588333, -0.8968847393989563, 0.06265238672494888, -0.17670463025569916, -0.7224496603012085, -0.33159682154655457, -0.22680096328258514, -0.19327956438064575, 0.0005199878942221403, 0.26652446389198303, -0.43124938011169434, 0.27028197050094604, -0.3350059688091278, 0.11389899998903275, 0.6967576742172241, -0.0404328815639019, 0.4077739417552948, -0.39347586035728455, 0.604958713054657, -0.042787324637174606, -0.2034817636013031, -0.5982255339622498, -0.35373613238334656, -0.738935649394989, -0.489237517118454, 0.34292367100715637, 0.9256007671356201, -0.9698948264122009, 0.33856263756752014, -0.4045349657535553, -0.21687966585159302, -0.7152444124221802, 0.2838227450847626, 0.549482524394989, 0.4511314630508423, 0.5014399886131287, 0.02488303743302822, -0.3474824130535126, -0.7743223309516907, -0.1542724072933197, 0.5708447694778442, -0.038049813359975815, 0.09611157327890396, 0.0027403230778872967, -0.1034327819943428, 0.6043039560317993, -0.33163318037986755, -0.13189344108104706, -0.31356850266456604, 0.19747595489025116, 0.5136184692382812, 0.530563473701477, 0.42229020595550537, -0.4999806880950928, -0.6857634782791138, 0.18322281539440155, -0.5803468823432922, -0.06089582294225693, -0.2687188684940338, -0.1616128385066986, 0.20391660928726196, 0.3894723057746887, -0.31621304154396057, -0.02660006657242775, 0.45565855503082275, -0.23160399496555328, 0.4382968842983246, -0.4073083698749542, 0.56302410364151, -1.2307413816452026, -0.3826046288013458, -0.058463357388973236, -0.1489337831735611, -0.5398623943328857, 0.1404992789030075, 0.2527352571487427, -0.03418382629752159, -0.5028020143508911, 0.5886253714561462, -0.6122667193412781, 0.12160187214612961, -0.05765099823474884, -0.11606151610612869, 0.05974071845412254, 0.40868741273880005, -0.07997214794158936, 0.9449302554130554, 0.6733964681625366, -0.766783595085144, 0.13000284135341644, 0.2750745117664337, -0.37009862065315247, 0.7212822437286377, -0.16927722096443176, -0.06154409423470497, -0.49093055725097656, -0.08734402805566788, -0.8160473704338074, -0.30826660990715027, -0.08023805916309357, -0.1268491894006729, 0.7486569881439209, -0.10972113907337189, -0.41453367471694946, -0.029691923409700394, -0.41650626063346863, 0.165489062666893, 0.241953507065773, -0.8729798793792725, 0.3505549728870392, -0.10654141008853912, -0.3642047345638275, -0.6594682931900024, -0.7188603281974792, 0.024200353771448135, -0.18600508570671082, -0.6211991906166077, 0.22173038125038147, -0.3292059600353241, -0.13785533607006073, -0.31631624698638916, -0.13968193531036377, -0.015800166875123978, 0.044525858014822006, -0.4364548623561859, 0.3166287839412689, -0.45048362016677856, 0.33279645442962646, 0.48656848073005676, -0.022511431947350502, -0.25658711791038513, -0.3256862461566925, 0.5117653012275696, -0.26398226618766785, -0.2462480366230011, -0.2873309850692749, 0.5576568841934204, 0.32214581966400146, -0.5192993879318237, 0.7133713364601135, 0.6414647698402405, -0.34736379981040955, -0.6096775531768799, -0.30203983187675476, -0.35684770345687866, -0.44189518690109253, 0.2986923158168793, -0.4057398736476898, -0.9762440323829651, 0.3858390748500824, 0.17064058780670166, 0.7566387057304382, 0.09986186027526855, 0.5095702409744263, -0.09682722389698029, 0.8153524994850159, 0.4845491051673889, 0.03547677397727966, 0.4531959295272827, -0.2593041956424713, 0.028612472116947174, -0.4075244665145874, -0.09353466331958771, -0.33346110582351685, -0.39968353509902954, -0.8017755746841431, -0.3679775893688202, 0.31850603222846985, -0.019939348101615906, -0.06951204687356949, 0.00030409087776206434, -0.40808042883872986, 0.9504451751708984, 0.6309921741485596, 0.20111419260501862, 0.33699479699134827, 0.35165828466415405, -0.16455739736557007, -0.2675498127937317, -0.802967369556427, -0.5922048091888428, 1.1527174711227417, -0.11141365766525269, 0.6495733261108398, 0.2505418062210083, 0.7573363780975342, 0.043643973767757416, 0.22027283906936646, -0.4731627404689789, 0.33218228816986084, -0.8450945615768433, -0.22200722992420197, -0.20795011520385742, -0.6189362406730652, -1.058190107345581, 0.17484869062900543, -0.04143316671252251, -0.4389338195323944, -0.014049619436264038, 0.2442431002855301, -0.497875839471817, 0.16517360508441925, -0.914320170879364, 0.9174261093139648, -0.37086281180381775, -0.48175689578056335, 0.008801442570984364, -0.5032246112823486, 0.3671557903289795, -0.024605702608823776, 0.43699491024017334, -0.11788955330848694, 0.09528910368680954, 0.48536205291748047, -0.0984831303358078, 0.868293046951294, -0.07903533428907394, -0.28508734703063965, 0.07514070719480515, 0.14591604471206665, 0.21715910732746124, 0.1796926110982895, -0.2258578985929489, 0.14103537797927856, -0.21351948380470276, -0.46772080659866333, -0.45170873403549194, 0.8272375464439392, -0.6827700138092041, -0.39857518672943115, 0.04576313868165016, -0.9209602475166321, -0.31078264117240906, 0.1360141932964325, 0.4120275378227234, 0.6739047765731812, -0.09170661121606827, 0.27574461698532104, 0.8245301246643066, -0.3950888216495514, 0.39609888195991516, 0.8314465284347534, 0.21301628649234772, -0.3079773783683777, 1.1697858572006226, 0.355901300907135, 0.32558393478393555, 0.579005241394043, 0.223972886800766, -0.2569649815559387, -0.550230860710144, -0.5916991233825684, 0.04372629150748253, -0.88838130235672, -0.352286696434021, -0.40866076946258545, 0.07750621438026428, -0.24382631480693817, -0.20427003502845764, -0.2677004635334015, -0.17947867512702942, -0.29576966166496277, -0.2809549868106842, 0.496528297662735, 0.321194589138031, -0.1515519917011261, 0.24226030707359314, -0.9767299890518188, 0.27807384729385376, 0.22639544308185577, 0.38165122270584106, -0.27785778045654297, -0.6142860054969788, -0.34213903546333313, 0.253896027803421, -0.08877523988485336, -0.6332418322563171, 0.3568034768104553, 0.625862181186676, 0.5001854300498962, 0.1315818428993225, -0.1108257919549942, 0.8130733370780945, -0.698611319065094, 0.6179465651512146, -0.10447264462709427, -0.6835655570030212, 0.4037623107433319, -0.39051756262779236, 0.7364782094955444, 0.7461097240447998, 0.4866860508918762, -0.5825899839401245, -0.4098752439022064, -0.129557803273201, -0.8709985017776489, 0.8136159181594849, -0.15400788187980652, 0.3707364499568939, -0.21297569572925568, 0.14959397912025452, 0.6047742366790771, 0.2268250435590744, -0.5815832018852234, -0.2988426387310028, -0.07306258380413055, -0.7159233689308167, -0.32403963804244995, 0.11047295480966568, -0.038995880633592606, -0.2847718298435211, 0.6036695837974548, -0.3642340898513794, -0.1589592695236206, -0.21048374474048615, -0.25049886107444763, 0.218765988945961, 0.4873269200325012, 0.6142827868461609, 0.4902554452419281, 0.07820551842451096, 0.2502131164073944, 0.37636786699295044, -0.3069392740726471, 0.16846111416816711, 0.4259209632873535, -0.29189157485961914, 0.08295445144176483, 0.5098763704299927, 0.8618181943893433, 0.5000458359718323, -0.6965944766998291, 0.08501880615949631, -0.1811935305595398, 0.10008645057678223, -0.006038209423422813, 0.15254269540309906, 0.0546695850789547, 0.16538040339946747, 0.1135219857096672, 0.08926234394311905, 0.0708843320608139, -0.24226851761341095, 0.3213288486003876, 0.22054095566272736, 0.09121658653020859, -0.1900145709514618, 0.37745362520217896, 0.18698836863040924, -0.27859964966773987, 0.748149037361145, -0.3645397126674652, -0.09014494717121124, 0.5879493355751038, 0.6664159297943115, 0.5285953283309937, -0.371310830116272, 0.15231843292713165, 0.7018755674362183, 0.5683590769767761, -0.062452349811792374, 0.48569396138191223, -0.07245006412267685, -0.7200965881347656, -0.4401398003101349, -0.45551666617393494, -0.33956655859947205, -0.022328393533825874, -0.6607763767242432, 0.4646638333797455, -0.33838987350463867, 0.26891836524009705, -0.17978987097740173, -0.13956837356090546, -0.9082126617431641, 0.07773728668689728, 0.40668556094169617, 0.7629660367965698, -0.8795827031135559, 0.5757120251655579, 0.7759416103363037, -0.3151397705078125, -0.8617634773254395, -0.14828552305698395, -0.08101433515548706, -0.7089348435401917, 0.3065076768398285, 0.44604822993278503, 0.0532161183655262, 0.10990457981824875, -0.2636104226112366, -0.7475048899650574, 0.8762272000312805, 0.7785394191741943, -0.9016465544700623, 0.04027259722352028, 0.2811555862426758, 0.32747066020965576, -0.29778483510017395, 0.09725411981344223, 0.7071288228034973, 0.4290917217731476, -0.22012649476528168, -0.6298417448997498, -0.3408812880516052, -0.24351921677589417, -0.21927565336227417, 0.22447605431079865, -0.40996021032333374, 0.802252471446991, -0.16106219589710236, -0.2645835280418396, -0.23789948225021362, 0.605830729007721, 0.37182560563087463, 0.17396098375320435, 0.2608717978000641, 0.36212158203125, 1.049869418144226, -0.21288517117500305, 0.9581595063209534, -0.44614261388778687, 0.053242847323417664, 1.3333810567855835, 0.03425535932183266, 0.4537001848220825, 0.210203617811203, 0.07000858336687088, 0.2337459921836853, 0.7190414667129517, -0.07466913759708405, 0.4597049355506897, 0.04608875885605812, -0.37682849168777466, -0.17093800008296967, -0.1959289014339447, -0.11321468651294708, 0.5032346844673157, 0.38309183716773987, -0.06999202072620392, -0.5906752347946167, 0.49560365080833435, 0.1255611777305603, 0.3936053514480591, -0.4499289393424988, 0.6985131502151489, -0.17302674055099487, -0.8110882043838501, 0.893604576587677, 0.0719745010137558, 1.0157071352005005, -0.7245132923126221, -0.16110242903232574, -0.6897229552268982, 0.12099963426589966, -0.30768850445747375, -0.7957496643066406, 0.1571146845817566, 0.33880287408828735, -0.3794560730457306, -0.3021872341632843, 0.11932143568992615, -1.1168849468231201, -0.7263147234916687, 0.05518191680312157, 0.4399358630180359, 0.0781397596001625, 0.5894651412963867, -0.48408249020576477, -0.04827844351530075, 0.2915603816509247, -0.06451580673456192, 0.14850173890590668, 0.5660757422447205, -0.1928631067276001, 0.42808783054351807, 0.6247291564941406, -0.025949670001864433, 0.376816064119339, 0.29997366666793823, 0.556630551815033, -0.33119717240333557, -0.5381337404251099, -0.8185482621192932, 0.766342043876648, 0.06327708810567856, -0.5761935114860535, 0.8642268180847168, 0.6384775638580322, 1.1865785121917725, -0.2405325025320053, 0.6199815273284912, 0.20099708437919617, 0.5164947509765625, -0.8402566313743591, 0.396915465593338, -0.521844744682312, 0.21321722865104675, 0.13712163269519806, -0.8302275538444519, -0.41037848591804504, 0.5095008015632629, -0.21792326867580414, -0.027087826281785965, 0.41600409150123596, 0.8254399299621582, -0.4364170730113983, 0.07054900377988815, 0.2811947762966156, -0.02382625639438629, 0.24743817746639252, 0.4473922550678253, 0.591762363910675, -0.125589519739151, 0.23651693761348724, -0.32192105054855347, -0.33140942454338074, 0.18318240344524384, -0.7498978972434998, -0.9831322431564331, -0.3235985040664673, -0.31045570969581604, 0.2251509726047516, 0.03332449868321419, 1.2950488328933716, 0.48843032121658325, -1.085225224494934, -0.39492735266685486, 0.007740992587059736, 0.1940464973449707, -0.2341374158859253, -0.21611911058425903, 0.3239671587944031, -0.8239730000495911, -0.8859723210334778, 0.7639699578285217, 0.17659622430801392, 0.05196205526590347, -0.05553654208779335, -0.007457203231751919, -0.17488037049770355, -0.14098624885082245, 0.8086756467819214, 0.2101210057735443, -0.44853541254997253, -0.11762400716543198, 0.17620784044265747, 0.04047120362520218, 0.10505826771259308, 0.39366453886032104, -0.4102941155433655, 0.6384376287460327, 0.2998531758785248, 0.989835798740387, -0.0016771460650488734, -0.25661998987197876, 0.6703205108642578, -1.3737705945968628, 0.37090715765953064, 0.28762924671173096, 0.4388951361179352, 0.6863523125648499, -0.3215446472167969, 0.32903721928596497, -0.17497387528419495, -0.22104036808013916, -0.612930953502655, 0.07927315682172775, -0.4756390154361725, -0.2409641146659851, 0.8822414875030518, -0.13799552619457245, 0.10965919494628906, 0.07154326885938644, -0.2751673758029938, 0.3390471339225769, -0.32977280020713806, 0.6522992253303528, 0.7069490551948547, 0.16265124082565308, -0.3094503879547119, -0.5547729134559631, 0.2687758207321167, 0.41332995891571045, -1.0070979595184326, 0.149877667427063, 0.6792598962783813, 0.2861255705356598, -0.08990231156349182, 0.2609001398086548, 0.1325002759695053, 0.43904563784599304, -0.42602598667144775, 0.06569057703018188, -0.14144743978977203, -0.5001959800720215, -0.4637373089790344, -0.03755601495504379, -0.11162038892507553, -0.29808878898620605 ]
http://arxiv.org/abs/2407.01850v1
http://arxiv.org/pdf/2407.01850v1
Purple-teaming LLMs with Adversarial Defender Training
2024-07-01T23:25:30
2024-07-01T23:25:30
Jingyan Zhou, Kun Li, Junan Li, Jiawen Kang, Minda Hu, Xixin Wu, Helen Meng
cs.CL
cs.CL
Existing efforts in safeguarding LLMs are limited in actively exposing the vulnerabilities of the target LLM and readily adapting to newly emerging safety risks. To address this, we present Purple-teaming LLMs with Adversarial Defender training (PAD), a pipeline designed to safeguard LLMs by novelly incorporating the red-teaming (attack) and blue-teaming (safety training) techniques. In PAD, we automatically collect conversational data that cover the vulnerabilities of an LLM around specific safety risks in a self-play manner, where the attacker aims to elicit unsafe responses and the defender generates safe responses to these attacks. We then update both modules in a generative adversarial network style by training the attacker to elicit more unsafe responses and updating the defender to identify them and explain the unsafe reason. Experimental results demonstrate that PAD significantly outperforms existing baselines in both finding effective attacks and establishing a robust safe guardrail. Furthermore, our findings indicate that PAD excels in striking a balance between safety and overall model quality. We also reveal key challenges in safeguarding LLMs, including defending multi-turn attacks and the need for more delicate strategies to identify specific risks.
[ -0.3500516712665558, -0.8169816136360168, -0.09647485613822937, 0.25637418031692505, -0.048276908695697784, 0.7137541770935059, 0.2743028700351715, -0.2570731043815613, 0.17427755892276764, 0.48396751284599304, -0.6062845587730408, -0.4116207957267761, -0.7907764911651611, -0.14972467720508575, -0.2583632171154022, 1.1958483457565308, -0.11668960750102997, 0.09307932108640671, 0.34808269143104553, -0.19606947898864746, -0.4754834473133087, -0.7094341516494751, -0.7184383869171143, -0.2248484194278717, 0.5244289040565491, 0.1749863624572754, 0.5128883123397827, 0.5602461695671082, 0.6631969213485718, 0.27871644496917725, -0.0689188688993454, 0.1751174032688141, -0.652866542339325, 0.33786144852638245, 0.16351687908172607, -0.47930908203125, -0.5970404148101807, 0.2052633911371231, 0.2318839728832245, 0.24331910908222198, -0.06855259835720062, -0.33145448565483093, 0.13723833858966827, 0.6991106271743774, -0.9739419221878052, -0.15485765039920807, -0.8797733187675476, 0.41209977865219116, -0.04793952777981758, -0.42704567313194275, -0.40071749687194824, -0.18503010272979736, -0.01953778974711895, -0.5414646863937378, 0.031539712101221085, -0.009503678418695927, 0.5126680135726929, 0.2044847309589386, -0.6751245856285095, -0.17277581989765167, -0.406160831451416, 0.5102404356002808, 0.17872770130634308, -0.22937336564064026, 0.19011400640010834, 0.6141289472579956, -0.2757842242717743, -0.6130689978599548, -0.17103047668933868, -0.10420079529285431, 0.16086894273757935, 0.5664513111114502, -0.22579477727413177, 0.2634757161140442, -0.17746801674365997, -0.005742748733609915, -0.650757372379303, 0.4055539667606354, -0.3986120820045471, -0.3108530044555664, 0.8890913724899292, 0.24120740592479706, 0.40035998821258545, 0.13448543846607208, -1.1533584594726562, -0.19863367080688477, -1.079666256904602, 0.04583588242530823, 0.5882536172866821, 0.24801847338676453, -0.3331831395626068, 0.35288089513778687, 0.18641652166843414, 0.13168728351593018, 0.1486825942993164, -0.02164648473262787, -0.016930658370256424, -0.1478685587644577, -0.27120333909988403, 0.2523920238018036, 0.9128881096839905, 0.5082852840423584, 0.18122632801532745, -0.5646606683731079, -0.2893907129764557, 0.4071964919567108, 0.6127490401268005, -0.5411402583122253, -0.9056890606880188, 0.3466798663139343, -0.21854199469089508, -0.9856847524642944, 0.07078021764755249, -0.7678455710411072, -0.880201518535614, 0.08718881756067276, 0.2932397723197937, -0.4772789478302002, -0.46438345313072205, -0.05486658215522766, -0.3595382571220398, 0.24512305855751038, 0.12890593707561493, -1.0016593933105469, 0.14396625757217407, 0.838079571723938, 0.6149619221687317, -0.42527028918266296, -0.3259829580783844, -0.8514081835746765, 0.4090324640274048, -0.5744783282279968, 0.7320458292961121, -0.0019539811182767153, -0.7245252132415771, 0.10994119942188263, -0.10758217424154282, -0.0034343372099101543, -0.4311298429965973, 0.12989197671413422, -0.785305917263031, -0.029781755059957504, -0.265674889087677, -0.33842402696609497, 0.2580788731575012, 0.6808159947395325, -0.38206276297569275, 0.5498055815696716, -0.06962774693965912, -0.6923947930335999, 0.5408467650413513, -0.6581428050994873, -0.25110921263694763, 0.18396486341953278, -0.25659576058387756, -0.7225955128669739, -0.4025385081768036, 0.0656028464436531, 0.37224748730659485, 0.23810826241970062, -0.3504451811313629, -0.7972851991653442, -0.08360800892114639, 0.28885212540626526, -0.41506966948509216, 1.203688383102417, 0.07209665328264236, -0.20822685956954956, 0.38342493772506714, -0.4229945242404938, 0.1473706215620041, 0.09259617328643799, -0.4979094862937927, 0.190068781375885, -0.4243376553058624, -0.277458518743515, 0.16772997379302979, 0.21668364107608795, -0.44218799471855164, 0.1068284884095192, -0.04470205307006836, 0.434325248003006, 1.149064302444458, 0.07230555266141891, 0.7790889739990234, -0.45525768399238586, 1.0145667791366577, -0.11372219771146774, 0.4835106134414673, 0.07997139543294907, -0.3892052173614502, -0.6356377601623535, -0.6050716638565063, 0.12145110219717026, 0.9054825305938721, -0.8106217384338379, 0.26282554864883423, 0.17965854704380035, -0.4798343777656555, -0.2345338612794876, 0.34796586632728577, 0.8781740665435791, 0.3674441874027252, 0.3864164650440216, -0.18956390023231506, -0.656760036945343, -0.6715981960296631, 0.13804398477077484, -0.32325077056884766, 0.16102752089500427, 0.12187182903289795, 0.5966518521308899, -0.13431178033351898, 0.5909194946289062, -0.2557782828807831, -0.28628185391426086, -0.2907792627811432, 0.13581731915473938, -0.37486785650253296, 0.5764524340629578, 0.7165945768356323, -0.8956334590911865, -0.6923349499702454, -0.13814598321914673, -0.9352160692214966, 0.11852602660655975, 0.07422780245542526, -0.39031103253364563, 0.11787769943475723, 0.7621495723724365, -0.6029186248779297, 0.1891690045595169, 0.5900228023529053, -0.23671075701713562, 0.6199578642845154, -0.06254251301288605, -0.027098530903458595, -0.9542941451072693, -0.14513517916202545, -0.14570342004299164, -0.043405599892139435, -0.8182229399681091, 0.29664307832717896, 0.3150339722633362, -0.204921692609787, -0.9051616787910461, 0.4799887239933014, -0.3696231245994568, -0.07901652902364731, -0.3694719672203064, 0.03318508341908455, -0.06607916206121445, 0.5564020872116089, -0.18624375760555267, 0.8726606369018555, 0.5542454719543457, -0.7994709014892578, 0.7274551391601562, 0.27869537472724915, 0.22817371785640717, 0.7364855408668518, -0.4658059775829315, 0.2976658046245575, 0.05172160640358925, 0.32953089475631714, -0.640684187412262, -0.10054058581590652, 0.46158894896507263, -0.41751885414123535, 0.8177322149276733, -0.5925995707511902, -0.1666773408651352, -0.21119633316993713, -0.6906810998916626, 0.036003477871418, 0.4145977795124054, -0.607266902923584, 0.32349693775177, 0.9269391298294067, -0.10638949275016785, -1.0600144863128662, -0.6365491151809692, 0.32789888978004456, -0.8668830990791321, -0.6108513474464417, 0.7025415897369385, -0.06106641888618469, -0.2682701051235199, -0.2572260797023773, -0.10471639037132263, -0.2615898847579956, 0.7687929272651672, 0.32865971326828003, 0.39059334993362427, 0.007341248448938131, -0.08566202223300934, -0.6384981870651245, -0.5206379294395447, 0.35630226135253906, -0.14595022797584534, 0.45718544721603394, -0.21907208859920502, -0.4571799337863922, -0.13120847940444946, 0.29283446073532104, 0.2646311819553375, -0.0534973107278347, 0.7312979102134705, 0.6342155933380127, -0.13403017818927765, -0.3635191023349762, -0.12771117687225342, -0.33233383297920227, -0.545499324798584, 0.31373587250709534, -0.20495538413524628, -0.7431581616401672, 0.3289914131164551, 0.18984413146972656, 0.08206045627593994, 0.03789810836315155, 0.4760638177394867, -0.8196894526481628, 0.8983708620071411, 0.5814122557640076, -0.31483930349349976, 0.428264856338501, -0.5202544331550598, -0.033755823969841, -0.8403320908546448, -0.43826544284820557, -0.07124838978052139, -0.44347310066223145, -0.7251319885253906, -0.15218707919120789, 0.6102437376976013, 0.27395135164260864, -0.6905356645584106, 0.29954779148101807, -0.5249736309051514, 0.43934980034828186, 0.7593784928321838, 0.3791079819202423, -0.09136614203453064, -0.16020306944847107, -0.0643678680062294, 0.05232752114534378, -0.8509218096733093, -0.3627075254917145, 1.474927544593811, 0.5085837841033936, 0.6779177784919739, 0.4603886008262634, 0.8614616394042969, 0.1894262284040451, 0.3026564121246338, -0.3801473081111908, 0.7265157103538513, -0.15522240102291107, -0.5656046867370605, -0.13236874341964722, -0.3532339930534363, -1.1717112064361572, 0.17228618264198303, -0.4547211527824402, -0.2758784294128418, -0.2708968222141266, 0.41943132877349854, -0.4192794859409332, 0.41551440954208374, -0.6130198240280151, 0.760695219039917, -0.7139618992805481, -0.33869874477386475, -0.004305558744817972, -0.5497345328330994, 0.5847229957580566, 0.13375543057918549, -0.2775590419769287, 0.11198051273822784, -0.21089963614940643, 0.4490177035331726, -0.3035654127597809, 0.9026003479957581, -0.1902872622013092, 0.16915683448314667, 0.2438964992761612, 0.13306580483913422, 0.5707318186759949, 0.03616419807076454, 0.38563767075538635, -0.1900397688150406, -0.7486744523048401, -0.6768997311592102, -0.34311729669570923, 0.5545160174369812, -0.8405618071556091, -0.7616497278213501, -0.6250131130218506, -0.491360068321228, -0.4262330234050751, -0.11512379348278046, 0.25883495807647705, -0.09737247228622437, -0.24654807150363922, 0.3371596038341522, 1.1301823854446411, -0.21747556328773499, 0.6381144523620605, 0.5167626142501831, 0.16106016933918, -0.7343560457229614, 0.7511749863624573, -0.05367644503712654, 0.41561830043792725, 0.43360957503318787, -0.139157235622406, -0.39382195472717285, -1.0852082967758179, -0.41384366154670715, -0.21143324673175812, -0.47994187474250793, -0.3354892432689667, -0.4350571036338806, -0.439538836479187, -0.3440306782722473, -0.42489075660705566, -0.19400405883789062, -0.4715239107608795, 0.027513688430190086, -0.5543873906135559, 0.5456063151359558, 0.41550514101982117, -0.3042055666446686, 0.1824730485677719, -0.54543536901474, 0.3123372197151184, 0.8869072794914246, -0.10734351724386215, -0.6556711792945862, -0.29587438702583313, 0.006474112160503864, -0.05624175816774368, -0.8675200939178467, -0.9135358333587646, 0.4670620560646057, -0.4217749238014221, 0.7311832904815674, 0.2135569155216217, 0.2258724570274353, 0.38265880942344666, -0.2546512186527252, 0.5317388772964478, 0.6287800073623657, -0.32907235622406006, 0.7766302227973938, -0.7387991547584534, -0.19617915153503418, 0.45504996180534363, 0.27284201979637146, 0.031669002026319504, -0.18898330628871918, -0.7040533423423767, -0.7233707904815674, 0.43188023567199707, 0.3261064291000366, -0.2508365213871002, 0.10111113637685776, -0.054176319390535355, -0.4757109582424164, 0.23239904642105103, -1.0095700025558472, -0.32767990231513977, -0.2566901743412018, 0.019983047619462013, 0.14282627403736115, -0.1799570918083191, -0.8564488887786865, 0.6522314548492432, 0.8008896708488464, -0.1455332189798355, 0.24880245327949524, -0.271047979593277, -0.08648596704006195, 0.18240971863269806, 0.07674648612737656, 0.29692432284355164, -0.012286294251680374, -0.11743923276662827, 0.07422860711812973, 0.6221694946289062, -0.3137069642543793, 0.3472346365451813, 0.20851626992225647, -0.15694670379161835, -0.6733989715576172, 0.4607519507408142, 0.3239215314388275, 0.19337089359760284, -0.3186810314655304, 0.5575476288795471, -0.041640784591436386, -0.39774712920188904, -0.3474811315536499, 0.47357916831970215, 0.08964428305625916, 0.3439241647720337, 0.0765233188867569, 0.3684345781803131, -0.2264649122953415, -0.5224431753158569, 0.21467335522174835, 0.8785143494606018, -0.5043626427650452, 0.042116470634937286, 0.6757736206054688, 0.6180216670036316, -0.36528369784355164, 0.23611007630825043, -0.2952743172645569, -0.9133375883102417, 1.0443737506866455, 0.12551730871200562, 1.0522584915161133, -0.17748500406742096, 0.17701596021652222, -0.14929871261119843, 0.4829992949962616, 0.20669201016426086, 0.15575353801250458, 0.17034269869327545, -0.7535147666931152, 0.12546764314174652, -0.05747068673372269, -0.7758297324180603, 0.26277777552604675, -0.5622753500938416, 0.22563956677913666, -0.8920618295669556, 0.02422933652997017, -0.49355870485305786, 0.2221052050590515, -0.3258751630783081, 0.23922161757946014, 0.3039637506008148, 0.7647200226783752, -0.5950089693069458, 0.6295375823974609, 0.636671781539917, -0.3570760190486908, -0.5318523049354553, -0.19661939144134521, 0.4889672100543976, -1.0784586668014526, 0.6827154159545898, 0.11293505132198334, -0.0769958570599556, -0.44043096899986267, -0.08732254803180695, -0.28586545586586, 1.5037012100219727, 0.4946030378341675, -0.3885764181613922, 0.07752213627099991, 0.20321980118751526, 0.3384057879447937, -0.15517328679561615, 0.0451858788728714, 0.22962214052677155, 0.14391672611236572, -0.292239248752594, -0.7042993903160095, -0.2959243059158325, -0.21600289642810822, -0.30783772468566895, 0.13951461017131805, -1.0153992176055908, 0.7479304671287537, -0.15144076943397522, -0.17851722240447998, -0.10131409019231796, 0.38779568672180176, 0.8906450271606445, 0.3618364632129669, 0.5366612672805786, 0.7914209961891174, 0.6910181045532227, -0.19748538732528687, 1.005025029182434, -0.5847613215446472, -0.13502827286720276, 1.0314384698867798, -0.08961176127195358, 0.657027006149292, 0.24384434521198273, -0.17690147459506989, -0.003060785587877035, 0.6019450426101685, 0.09502184391021729, 0.8208880424499512, 0.2738651633262634, -0.7200344204902649, -0.21743009984493256, 0.20999456942081451, -0.4432811737060547, 0.27282199263572693, 0.19997183978557587, -0.22532251477241516, 0.06296441704034805, -0.054299432784318924, 0.23641318082809448, 0.12169941514730453, -0.45728906989097595, 0.7896194458007812, 0.11395857483148575, -0.6208813190460205, 0.2114942967891693, -0.2386677861213684, 0.8058217167854309, -0.6824766397476196, 0.35287392139434814, -0.35681912302970886, 0.3762342035770416, -0.0649556890130043, -0.8624799847602844, 0.06942147016525269, 0.22490519285202026, 0.0522770881652832, -0.662527322769165, 0.6444406509399414, -0.1808934360742569, -0.1809215545654297, 0.5829649567604065, 0.2828321158885956, -0.37234416604042053, 0.2748973071575165, -1.0810058116912842, -0.11951392143964767, -0.07850011438131332, 0.05387197807431221, 0.9152958989143372, 0.42865827679634094, 0.3534452021121979, 1.2080992460250854, 0.5895016193389893, 0.2797342538833618, 0.3533150851726532, -0.10717785358428955, 0.88564532995224, -0.47696107625961304, -0.6427695751190186, -0.8466553688049316, 0.551864504814148, -0.343960702419281, -0.3556137979030609, 0.6330571174621582, 0.3230018615722656, 0.5090898871421814, 0.17468610405921936, 0.974585235118866, 0.5276073813438416, 0.268101304769516, -0.7074882388114929, 0.8041998744010925, 0.01944628171622753, 0.6498074531555176, 0.05529753491282463, -0.45414820313453674, -0.1355609893798828, 0.5018765330314636, -0.05571621283888817, -0.004702025558799505, 0.4237985610961914, 1.0951257944107056, 0.06267371028661728, -0.05510544404387474, 0.12371306121349335, 0.1491488665342331, 0.8007066249847412, 0.8589080572128296, 1.1162219047546387, -0.46379566192626953, 1.2543482780456543, -0.4091707468032837, -0.32690900564193726, -0.10516924411058426, -1.0402376651763916, -1.156014323234558, 0.044187191873788834, -0.6506809592247009, -0.7194506525993347, 0.6665002703666687, 0.4456357955932617, 1.0656555891036987, -0.7978633046150208, 0.12086515873670578, -0.5527329444885254, -0.044911500066518784, 0.08653979003429413, -0.24442334473133087, 0.14591719210147858, -0.3628232479095459, -0.3048420548439026, 0.8415615558624268, 0.41971176862716675, 0.38327741622924805, -0.44477295875549316, -0.40802621841430664, 0.1106342002749443, -0.39754581451416016, 0.22666163742542267, 0.6116233468055725, -0.38908588886260986, -0.2585750222206116, -0.14775113761425018, -0.41883373260498047, -0.11488614976406097, 0.431570440530777, -0.6370845437049866, 0.27737048268318176, 0.1938352882862091, 0.9516444802284241, 0.3469093143939972, -0.3412471115589142, 0.8863222002983093, -0.7132096886634827, 0.062178660184144974, 0.5032170414924622, 0.6103795766830444, 0.3361325263977051, -0.2472820281982422, 0.7049881815910339, 0.1809099316596985, -0.5597482919692993, -0.9882155060768127, 0.5334333181381226, -0.7815419435501099, -0.26154014468193054, 1.0930049419403076, -0.5191113948822021, 0.18667910993099213, -0.3952377438545227, -0.016848059371113777, 0.019346369430422783, -0.13086505234241486, 1.2047382593154907, 0.44017085433006287, -0.0345962755382061, -0.12043891102075577, -0.2537555992603302, 0.7543687224388123, 0.4512980282306671, -0.86866694688797, -0.1379547268152237, -0.023625601083040237, 0.21215862035751343, 0.16234061121940613, 0.5455741286277771, -0.013453257270157337, 0.7809824347496033, 0.23332786560058594, -0.4466286897659302, -0.4131281077861786, -0.5180363655090332, -0.31425604224205017, 0.605285108089447, -0.29981034994125366, -0.6740924119949341 ]
http://arxiv.org/abs/2407.01834v1
http://arxiv.org/pdf/2407.01834v1
A Study of Nationality Bias in Names and Perplexity using Off-the-Shelf Affect-related Tweet Classifiers
2024-07-01T22:17:17
2024-07-01T22:17:17
Valentin Barriere, Sebastian Cifuentes
cs.CL
cs.CL
In this paper, we apply a method to quantify biases associated with named entities from various countries. We create counterfactual examples with small perturbations on target-domain data instead of relying on templates or specific datasets for bias detection. On widely used classifiers for subjectivity analysis, including sentiment, emotion, hate speech, and offensive text using Twitter data, our results demonstrate positive biases related to the language spoken in a country across all classifiers studied. Notably, the presence of certain country names in a sentence can strongly influence predictions, up to a 23\% change in hate speech detection and up to a 60\% change in the prediction of negative emotions such as anger. We hypothesize that these biases stem from the training data of pre-trained language models (PLMs) and find correlations between affect predictions and PLMs likelihood in English and unknown languages like Basque and Maori, revealing distinct patterns with exacerbate correlations. Further, we followed these correlations in-between counterfactual examples from a same sentence to remove the syntactical component, uncovering interesting results suggesting the impact of the pre-training data was more important for English-speaking-country names. Our anonymized code is [https://anonymous.4open.science/r/biases_ppl-576B/README.md](available here).
[ -0.4447935223579407, -0.510556697845459, 0.3147130012512207, 0.2711728811264038, -0.3259027898311615, 0.14304281771183014, -0.280386358499527, -0.34197482466697693, 0.5389843583106995, 0.5034621953964233, -0.6561881303787231, -0.44143742322921753, -0.9017917513847351, 0.17294593155384064, -0.3066861629486084, 1.0678154230117798, -0.14195594191551208, 0.20185700058937073, 0.38608336448669434, -0.37513014674186707, -0.01522955670952797, -0.8104602694511414, -0.29063087701797485, -0.16508543491363525, 0.7980247139930725, 0.41792118549346924, 0.6751442551612854, -0.13973236083984375, 0.4207480251789093, 0.16509613394737244, 0.075204037129879, -0.46912744641304016, -0.5146584510803223, 0.15083003044128418, -0.5337830781936646, -0.5300549864768982, -0.059482917189598083, 0.19498136639595032, 0.24104055762290955, 0.39856165647506714, 0.4286876618862152, 0.28489425778388977, -0.39748817682266235, 0.4546642005443573, -0.6734799742698669, 0.024954956024885178, -0.6711968183517456, 0.22897936403751373, -0.44661104679107666, -0.07049110531806946, -0.05017316713929176, -0.49429455399513245, 0.3511027991771698, -0.07745002210140228, 0.37621158361434937, -0.007248665206134319, 0.925058126449585, 0.30732375383377075, -0.4634886085987091, -0.24708192050457, -0.4544418454170227, 1.0146393775939941, -0.42778944969177246, 0.4966171979904175, 0.23729810118675232, 0.09616976231336594, 0.097544826567173, -0.09085512906312943, -0.700340211391449, 0.0007124598487280309, -0.04411883279681206, 0.17698216438293457, -0.11924269795417786, -0.12183699756860733, 0.5363674163818359, 0.33866456151008606, -0.23866355419158936, 0.06621211767196655, -0.2959507405757904, -0.2053440809249878, 0.839057207107544, -0.25900542736053467, 0.6880274415016174, -0.2204921841621399, -0.18906515836715698, 0.2232649028301239, -0.9538113474845886, 0.07893548160791397, 0.8847984075546265, 0.4984965920448303, -0.37710484862327576, 0.5883311629295349, -0.3062000572681427, 0.3597874343395233, 0.046734053641557693, 0.1453149914741516, 0.4914323389530182, 0.33165183663368225, -0.052887436002492905, 0.2601410150527954, 0.8892771005630493, 0.36288875341415405, 0.6813733577728271, -0.3768312335014343, 0.08006095141172409, 0.29238495230674744, 0.0713297575712204, -1.0228500366210938, -0.09964870661497116, 0.23916630446910858, -0.2998860776424408, -0.15092991292476654, 0.06754276901483536, -0.8121476173400879, -0.6190412640571594, -0.08241698145866394, 0.4515503942966461, -0.12264683842658997, -0.4805973470211029, -0.14575551450252533, -0.22522972524166107, 0.06668224930763245, 0.019026247784495354, -0.6778331995010376, -0.2789093255996704, 0.32098662853240967, 0.27147480845451355, -0.3134208023548126, -0.2072238326072693, -0.2252669781446457, -0.453590452671051, -0.1607656478881836, 0.6691960096359253, -0.7787842154502869, -0.3347473740577698, 0.12087228149175644, 0.055655673146247864, 0.043336305767297745, -0.33351802825927734, 0.49085187911987305, -0.5259109139442444, 0.4005739092826843, -0.7437911629676819, -0.23768864572048187, -0.1052764281630516, 0.1589173823595047, -0.6598284840583801, 0.6005310416221619, 0.24589194357395172, -1.2483941316604614, 0.7007026672363281, -0.6883646845817566, -0.5879748463630676, -0.23004809021949768, -0.185116708278656, -0.3574984073638916, 0.21917149424552917, 0.02065914496779442, 0.4130465090274811, -0.2817732095718384, 0.5440685153007507, -0.3548779785633087, -0.17560701072216034, 0.37256374955177307, -0.1649874746799469, 1.163306713104248, 0.03560907766222954, -0.7216044664382935, -0.11673939973115921, -0.4374614655971527, -0.3937971889972687, 0.0384376235306263, -0.012876220047473907, -0.5507503747940063, -0.2144099622964859, 0.044807035475969315, 0.4859384000301361, -0.08750946074724197, -1.0199086666107178, -0.034549251198768616, -0.30941900610923767, 0.11672551929950714, 0.4483707547187805, 0.1749361902475357, 0.19678077101707458, -0.07135132700204849, 0.8076891303062439, 0.3600196838378906, 0.185927614569664, 0.08419361710548401, -0.5049470663070679, -0.6798423528671265, 0.09277662634849548, 0.3535658121109009, 0.43849655985832214, -0.7759832143783569, 0.02471964806318283, -0.015520981512963772, -0.3389277458190918, -0.6208544373512268, -0.1275835484266281, 0.36535632610321045, 0.5844228863716125, 0.2953842282295227, -0.1888779252767563, -0.8722145557403564, -1.1598173379898071, -0.991568922996521, -0.3066350221633911, -0.03981272876262665, 0.3757437765598297, 0.5904229879379272, -0.18136492371559143, 1.1026430130004883, -0.28937697410583496, -0.08069807291030884, -0.09985867142677307, 0.14240466058254242, -0.057435665279626846, 0.054005298763513565, 0.661457896232605, -1.0424871444702148, -0.7826774716377258, -0.5152970552444458, -0.5747533440589905, -0.5654069185256958, 0.16558103263378143, -0.3241693079471588, 0.41712382435798645, 0.06647972017526627, -0.34995773434638977, 0.4643384516239166, 0.5478466153144836, -0.5648049712181091, 0.5008507966995239, 0.7143699526786804, 0.3412666618824005, -1.1458076238632202, -0.026711324229836464, 0.30826789140701294, 0.3193894922733307, -0.7712167501449585, -0.18080057203769684, 0.1066402867436409, 0.32891249656677246, -0.8676709532737732, 0.7734559178352356, -0.16597068309783936, 0.34502163529396057, 0.1578790247440338, -0.15717127919197083, -0.20745500922203064, 0.15193699300289154, 0.3280206620693207, 0.6100441217422485, 0.47750452160835266, -0.23746538162231445, 0.09621883928775787, 0.21653518080711365, -0.27569788694381714, 0.6621766686439514, -0.053698357194662094, -0.16383929550647736, -0.352317750453949, 0.031239112839102745, -0.7739487886428833, -0.274397611618042, 0.3496406078338623, -0.47738444805145264, 0.15263773500919342, -0.2962561547756195, -0.19356653094291687, -0.34514275193214417, -0.22374102473258972, 0.3753148019313812, 0.48774412274360657, -0.7082043886184692, 0.4679766297340393, 0.5692110061645508, 0.08343590050935745, -0.8126513361930847, -1.1572561264038086, 0.2147337645292282, -0.7354891896247864, -0.10155322402715683, 0.22456762194633484, -0.01741747185587883, -0.5912735462188721, -0.19118937849998474, -0.14769667387008667, -0.18229468166828156, 0.023122340440750122, 0.3857881426811218, -0.09500347822904587, 0.09453673660755157, 0.3551774024963379, 0.004620207007974386, 0.38293954730033875, 0.41482582688331604, -0.08926265686750412, 0.4286886751651764, 0.24373823404312134, 0.1762366145849228, -0.23894725739955902, 0.04221335053443909, 0.2801201045513153, -0.12668541073799133, 0.727470338344574, 0.5258175730705261, -0.19002608954906464, -0.32629919052124023, -0.7424342036247253, -0.20481835305690765, -0.36487746238708496, 0.20216228067874908, -0.5647033452987671, -0.8695269227027893, 0.8404253125190735, 0.20983737707138062, -0.3841683864593506, 0.6912150979042053, 0.5312157869338989, 0.27319028973579407, 0.6377363801002502, 0.5688347220420837, -0.33736202120780945, 0.6061971187591553, -0.12826356291770935, 0.6619583368301392, -0.5355912446975708, -0.1322387009859085, -0.5205541849136353, -0.22344376146793365, -1.1012760400772095, -0.15472213923931122, -0.19430306553840637, -0.34125953912734985, -0.49794140458106995, 0.18689903616905212, -0.3280046284198761, 0.5544309616088867, 0.22057896852493286, -0.08195949345827103, -0.006274710409343243, 0.12011437863111496, -0.0524803064763546, -0.40979090332984924, -0.4470258355140686, -0.3521495461463928, 1.1944102048873901, 0.13585932552814484, 0.7273167967796326, 0.1024705171585083, 0.8287240862846375, 0.29299771785736084, 0.7348776459693909, -0.8691343665122986, 0.19380170106887817, -0.2806748151779175, -0.8481594324111938, -0.18466605246067047, -0.44589516520500183, -0.7947941422462463, 0.09389740228652954, -0.056739676743745804, -0.9430081248283386, 0.22999480366706848, 0.04770446568727493, -0.15701471269130707, 0.5253676772117615, -0.5436781644821167, 0.6852712631225586, -0.31267645955085754, -0.5079041719436646, 0.2502778172492981, -0.5339236855506897, 0.6088864207267761, -0.2730533480644226, 0.2166183441877365, -0.20708654820919037, 0.17723669111728668, 0.9066401124000549, -0.2950497269630432, 0.8191269636154175, -0.4012434482574463, -0.1822834312915802, 0.08712179958820343, 0.015116297639906406, -0.11404338479042053, -0.007332926150411367, -0.46043410897254944, 0.5239008069038391, -0.4334675073623657, -0.4125986099243164, -0.21526364982128143, 0.9135521650314331, -0.9542176723480225, -0.639209508895874, -0.19605588912963867, -0.44185927510261536, -0.27406859397888184, 0.20837654173374176, 0.4577016830444336, 0.127455934882164, -0.28381800651550293, -0.059726230800151825, 0.544130265712738, -0.46904635429382324, 0.288115918636322, 0.807417094707489, -0.18971498310565948, -0.0516422763466835, 0.7626461386680603, 0.5732201337814331, -0.05162547156214714, 0.43013837933540344, 0.3225657343864441, -0.3270609974861145, -0.1224612221121788, -0.30950284004211426, 0.2008693814277649, -0.47935405373573303, -0.05063735321164131, -0.7545806765556335, -0.052659619599580765, -0.41991040110588074, -0.0811678096652031, -0.3219117224216461, -0.4545907974243164, -0.05289503186941147, -0.04777161404490471, 0.41560861468315125, 0.8373842239379883, 0.24247030913829803, 0.5653190612792969, -0.20310936868190765, 0.4238653779029846, 0.09542887657880783, 0.6786321997642517, -0.22985097765922546, -0.703014612197876, -0.10412469506263733, -0.04105016589164734, -0.13497518002986908, -1.1428636312484741, 0.40326714515686035, -0.06550204008817673, 0.3911808431148529, 0.531721830368042, 0.48600390553474426, 0.3210466802120209, -0.17554381489753723, 0.9860473871231079, 0.011652346700429916, -0.978602409362793, 0.5710558891296387, -0.28559568524360657, 0.3843458294868469, 0.5723557472229004, 0.8936878442764282, -0.6287676692008972, -0.8176288604736328, -0.9153732657432556, -0.8115170001983643, 0.945385754108429, 0.016263630241155624, 0.2604457437992096, -0.13719220459461212, 0.25427165627479553, 0.4748555123806, 0.38650503754615784, -0.6995550394058228, -0.5432318449020386, -0.25022393465042114, -0.18315786123275757, -0.2378104031085968, -0.4845529794692993, 0.1830059438943863, -0.037195753306150436, 0.7982388138771057, 0.277673602104187, -0.02712046541273594, 0.2822036147117615, -0.3868478238582611, -0.32700249552726746, 0.3507525622844696, 0.44747820496559143, 0.54908287525177, -0.3314078450202942, 0.12760286033153534, 0.08102727681398392, -0.40344318747520447, 0.21414406597614288, 0.06545311212539673, -0.3170256018638611, 0.18528200685977936, 0.041416268795728683, 0.8745372891426086, -0.18216224014759064, -0.31692156195640564, 0.456734836101532, -0.08214117586612701, -0.022948898375034332, -0.38832640647888184, -0.28414472937583923, -0.05769980326294899, 0.0517299547791481, 0.450401246547699, -0.011904846876859665, 0.24551957845687866, -0.5770567059516907, 0.03307851031422615, 0.3821265995502472, -0.39820972084999084, -0.762834906578064, 0.6175214648246765, 0.2825959026813507, -0.4387415647506714, 0.15223494172096252, -0.3784672021865845, -1.161929726600647, 0.7558897137641907, 0.18486745655536652, 1.050106406211853, -0.6382883787155151, 0.39104732871055603, 0.3615911304950714, 0.33531567454338074, 0.014122530817985535, 0.48895063996315, 0.06630565226078033, -1.1113901138305664, -0.12386268377304077, -0.5600866675376892, -0.5039523839950562, 0.3443273603916168, -0.5361452102661133, 0.348993718624115, -0.32070910930633545, -0.41022515296936035, 0.09697319567203522, 0.19417467713356018, -1.096282720565796, 0.5308861136436462, 0.492765337228775, 0.6652852296829224, -1.4507664442062378, 0.7972660660743713, 0.9621495604515076, -0.3331657946109772, -0.6582538485527039, 0.44767430424690247, 0.14200446009635925, -0.4416557550430298, 0.8972222208976746, 0.501893937587738, 0.034916214644908905, -0.23915401101112366, -0.3204224407672882, -0.8183814287185669, 0.1972096860408783, 0.4254499077796936, -0.3948619067668915, 0.3952605426311493, 0.5202220678329468, 0.6866983771324158, -0.39384913444519043, 0.5941075682640076, 0.8191651701927185, 0.5608224868774414, -0.2099335491657257, -0.7865428328514099, 0.05503601208329201, -0.20246204733848572, -0.1820056289434433, 0.1591159999370575, -0.9580442309379578, 0.8997059464454651, -0.012194739654660225, -0.007812637835741043, -0.6353943347930908, 0.10947482287883759, 0.014446351677179337, 0.337050199508667, 0.40119266510009766, 0.4299106001853943, 0.5405123829841614, -0.23444435000419617, 0.8834713697433472, -0.4850296974182129, 0.25554442405700684, 0.9884214401245117, -0.3062071204185486, 0.44247812032699585, 0.6996249556541443, -0.28716811537742615, 0.647905707359314, 0.6209036111831665, 0.05030159279704094, 0.42548081278800964, 0.5081591606140137, -0.15665021538734436, 0.11574365943670273, -0.4005992114543915, -0.0441267192363739, 0.5409930944442749, 0.3285485506057739, -0.5658977627754211, -0.24364936351776123, 0.30493953824043274, 0.43992680311203003, -0.12077552080154419, -0.3338589668273926, 0.3533662259578705, 0.0644199326634407, -0.7980570197105408, 0.24600662291049957, -0.12610557675361633, 1.062303066253662, -0.2689307630062103, 0.3529887795448303, -0.4907738268375397, -0.05262260511517525, -0.6593059301376343, -0.6980265974998474, 0.3289153277873993, 0.32867076992988586, -0.29358944296836853, -0.23781704902648926, 0.49645906686782837, -0.6312762498855591, -0.3942650556564331, 0.5582658052444458, 0.42523932456970215, 0.4266618490219116, -0.27761244773864746, -0.5313243865966797, 0.09537900239229202, 0.23007522523403168, -0.6419519186019897, 0.24189521372318268, 0.45686668157577515, -0.3746016025543213, 0.3379773199558258, -0.009604750201106071, 0.2609013020992279, 0.09407918900251389, 0.4240415096282959, 0.6076899170875549, -0.7023982405662537, -0.3341449201107025, -0.9005263447761536, 0.5008753538131714, 0.011602964252233505, -0.34031909704208374, 0.8413457274436951, 0.5806582570075989, 1.0700417757034302, -0.07374322414398193, 1.1579252481460571, -0.17367199063301086, 0.6206197142601013, -0.06317408382892609, 0.9047030806541443, -0.5161582231521606, -0.006642729509621859, -0.2921488583087921, -0.8769511580467224, -0.5369880199432373, 0.2970137596130371, -1.0392428636550903, 0.15297867357730865, 0.5747578144073486, 0.6595375537872314, -0.03823775053024292, -0.07750852406024933, 0.3013531565666199, 0.48753952980041504, 0.0965401828289032, 0.07284752279520035, 0.6148086190223694, -0.38007962703704834, 0.0754450112581253, -0.580951452255249, -0.01040552742779255, -0.21859829127788544, -0.7984251379966736, -1.1600114107131958, -0.2943582832813263, -0.6812421679496765, -0.36906495690345764, 0.19123975932598114, 1.009008526802063, 0.29371410608291626, -1.2543559074401855, -0.12687990069389343, 0.24259518086910248, 0.3600960373878479, 0.5868166089057922, -0.3257690966129303, 0.4334806799888611, -0.2880060076713562, -0.8943751454353333, -0.11911690980195999, -0.03963952511548996, -0.09452939033508301, -0.09592218697071075, 0.19003166258335114, 0.0295310877263546, 0.23542596399784088, 0.5396586656570435, 0.2525947391986847, -0.9937414526939392, -0.4025422930717468, -0.3956201672554016, 0.0561554953455925, -0.025296922773122787, 0.6488741040229797, -0.7361283898353577, 0.6270957589149475, 0.4001881778240204, 0.15192480385303497, 0.23187275230884552, 0.33851882815361023, 0.2939967215061188, -0.7031679153442383, 0.3476220965385437, 0.15814197063446045, 0.2973173260688782, 0.5701017379760742, -0.41215649247169495, 0.27739623188972473, 0.13417747616767883, -0.33704277873039246, -0.764202356338501, 0.18140342831611633, -0.5820409655570984, -0.12756016850471497, 1.2991666793823242, -0.2089167833328247, -0.1629258692264557, -0.027198972180485725, -0.036605920642614365, 0.5044832229614258, -0.590223491191864, 1.2272729873657227, 0.68398118019104, -0.022872624918818474, -0.019815675914287567, -0.4964602589607239, 0.72115159034729, 0.5172938704490662, -0.47581946849823, -0.115755096077919, 0.1328352987766266, 0.48566147685050964, -0.04236992821097374, 0.4001253545284271, -0.013280642218887806, -0.12604957818984985, -0.26928025484085083, 0.6263805031776428, 0.34366464614868164, -0.06118721514940262, -0.4974389374256134, 0.010118592530488968, -0.013010421767830849, 0.060768019407987595 ]
http://arxiv.org/abs/2407.01824v1
http://arxiv.org/pdf/2407.01824v1
Empathic Grounding: Explorations using Multimodal Interaction and Large Language Models with Conversational Agents
2024-07-01T21:46:30
2024-07-01T21:46:30
Mehdi Arjmand, Farnaz Nouraei, Ian Steenstra, Timothy Bickmore
cs.HC
cs.HC, cs.CL, cs.RO
We introduce the concept of "empathic grounding" in conversational agents as an extension of Clark's conceptualization of grounding in conversation in which the grounding criterion includes listener empathy for the speaker's affective state. Empathic grounding is generally required whenever the speaker's emotions are foregrounded and can make the grounding process more efficient and reliable by communicating both propositional and affective understanding. Both speaker expressions of affect and listener empathic grounding can be multimodal, including facial expressions and other nonverbal displays. Thus, models of empathic grounding for embodied agents should be multimodal to facilitate natural and efficient communication. We describe a multimodal model that takes as input user speech and facial expression to generate multimodal grounding moves for a listening agent using a large language model. We also describe a testbed to evaluate approaches to empathic grounding, in which a humanoid robot interviews a user about a past episode of pain and then has the user rate their perception of the robot's empathy. We compare our proposed model to one that only generates non-affective grounding cues in a between-subjects experiment. Findings demonstrate that empathic grounding increases user perceptions of empathy, understanding, emotional intelligence, and trust. Our work highlights the role of emotion awareness and multimodality in generating appropriate grounding moves for conversational agents.
[ -0.31343352794647217, -1.1434617042541504, 0.7877366542816162, 0.25188499689102173, -0.06143154576420784, 0.03710471838712692, -0.0583573579788208, -0.3076304793357849, 0.5262845158576965, 0.25104373693466187, -0.2336409091949463, -0.4142536520957947, -0.5819891095161438, -0.12928619980812073, 0.06087827309966087, 0.6228160262107849, 0.20805564522743225, 0.1864682286977768, -0.22366373240947723, -0.34018978476524353, -0.6435476541519165, -0.8669469356536865, -0.46676576137542725, -0.5854442119598389, 0.31107228994369507, 0.4055202901363373, 0.9173280596733093, 0.12171301990747452, 0.3574282228946686, 0.38285622000694275, -0.1243819072842598, 0.04586699604988098, -0.2110462635755539, 0.3720739185810089, -0.1790241003036499, -0.30515483021736145, -0.46056342124938965, 0.29244697093963623, 0.213911235332489, 0.48800453543663025, -0.0844971165060997, -0.32340312004089355, -0.4446653723716736, 0.24920697510242462, -0.5818378329277039, -0.0030926507897675037, 0.0232862439006567, 0.463457316160202, 0.6683821678161621, -0.713297963142395, -0.48316285014152527, -0.07944811135530472, -0.02167697809636593, -0.2321525514125824, -0.11935959756374359, 0.032459016889333725, 0.4515100121498108, 0.2692909836769104, -0.7239949703216553, -0.15282042324543, -0.5339874029159546, 0.4469572603702545, -0.3051275312900543, 0.5852709412574768, 0.5826241374015808, 0.08124157041311264, 0.28512129187583923, -0.2647230923175812, -0.5460580587387085, -0.7765882611274719, -0.12535090744495392, 0.2380206435918808, -0.25910329818725586, 0.4974258542060852, 0.5695614814758301, 0.2929943799972534, -0.15697939693927765, -0.3166358768939972, 0.10495053976774216, 0.09740933030843735, 0.18717342615127563, 0.07720215618610382, 0.6321117877960205, -0.09544024616479874, -0.428007036447525, -0.21036654710769653, -0.4342348277568817, 0.18097259104251862, 0.2004135102033615, 0.2271202653646469, -0.47664010524749756, 0.7210891246795654, 0.1190178319811821, 0.7253998517990112, 0.31364506483078003, -0.22593706846237183, 0.3171672523021698, 0.06732691824436188, -0.24505619704723358, 0.20550361275672913, 0.22840598225593567, 1.0190414190292358, 0.18188150227069855, -0.26243582367897034, 0.14624570310115814, 0.33205050230026245, 0.4916008710861206, -0.7106420397758484, 0.026433318853378296, 0.5643290281295776, -0.7416399121284485, -0.3971192240715027, -0.05124659836292267, -0.8309817314147949, -0.7983943819999695, -0.5571019649505615, 0.2156607210636139, -0.5583969354629517, -0.6952401995658875, -0.14132504165172577, -0.6016514897346497, 0.27870598435401917, 0.1879677027463913, -0.8330456018447876, 0.5507733821868896, 0.4738400876522064, 0.9015972018241882, 0.5334305167198181, -0.5084176659584045, -0.6420651078224182, 0.12430635094642639, -0.20661203563213348, 0.6615419387817383, -1.067555546760559, -0.3581137955188751, -0.07948189973831177, 0.2017877697944641, 0.02310136705636978, -0.16341733932495117, 0.47162896394729614, 0.01315629668533802, -0.19814270734786987, -0.31054991483688354, -0.044666025787591934, -0.2626790404319763, 0.8248292207717896, -0.376228004693985, 0.5138920545578003, 0.24619358777999878, -0.49014467000961304, 0.1221054419875145, -0.6989919543266296, -0.3870882987976074, -0.45042675733566284, -0.13335148990154266, 0.2056715339422226, 0.43310311436653137, 0.08081647753715515, 0.5254104137420654, -0.27363160252571106, 0.15110494196414948, -0.31592434644699097, -0.022772153839468956, 0.24184317886829376, -0.1787867248058319, 0.342082679271698, 0.1223425567150116, -0.48047706484794617, 0.03684792295098305, -0.5934431552886963, 0.10324118286371231, 0.03351539745926857, 0.15949532389640808, -0.5116147994995117, -0.0551498718559742, 0.2085641473531723, 0.49278613924980164, -0.1859687715768814, -0.63938969373703, -0.17176571488380432, -0.2765241265296936, 0.43106839060783386, 0.5260570049285889, 0.021715136244893074, 0.5808645486831665, -0.6434704065322876, 0.394950270652771, 0.08802050352096558, 0.13110290467739105, -0.7947707176208496, -0.34609490633010864, -0.7763828039169312, -0.17610576748847961, -0.3469886779785156, 0.5475295782089233, -0.22042086720466614, 0.4635368585586548, 0.022275879979133606, -0.6780297160148621, -0.438312828540802, -0.2738882899284363, 0.6622007489204407, 0.36669260263442993, 0.47698119282722473, -0.2697180509567261, -0.25342831015586853, -0.7352074980735779, -0.26054322719573975, -0.18094462156295776, 0.2576722800731659, 0.7954317927360535, 0.13375084102153778, -0.5670695900917053, 0.7890651226043701, -0.20486395061016083, -0.2205117642879486, -0.07598522305488586, 0.39568716287612915, -0.09314200282096863, 0.7642149925231934, 0.4660626947879791, -1.2185895442962646, -0.3028217852115631, 0.2665431797504425, -1.0324128866195679, 0.11210313439369202, -0.2490444928407669, -0.03022531233727932, -0.08030843734741211, 0.5138339400291443, -1.0738784074783325, 0.38790932297706604, 0.7159963250160217, -0.7914067506790161, -0.11918827891349792, -0.3883349895477295, 0.8151049613952637, -0.8665050268173218, -0.015431885607540607, -0.0426325798034668, -0.09279638528823853, -1.0141370296478271, 0.2661997675895691, -0.11696580797433853, -0.4637102484703064, -0.49996277689933777, 0.5164536833763123, -0.6031523942947388, -0.0020477622747421265, -0.2823774516582489, 0.21728268265724182, 0.18963362276554108, 0.39527449011802673, 0.36788901686668396, 0.18661431968212128, 0.7868934273719788, -0.49888089299201965, 0.746939480304718, 0.3525279462337494, 0.5826824903488159, 1.0068016052246094, -0.7297598123550415, 0.47138741612434387, -0.25341615080833435, 0.3078139126300812, -0.9316885471343994, -0.02828807197511196, 0.41404256224632263, -0.6864922046661377, 0.2234593629837036, -0.20899662375450134, -0.22941018640995026, -0.0836126059293747, -0.2325729876756668, 0.46162423491477966, 0.4609803259372711, -0.5784426331520081, 1.2576485872268677, 0.3392510712146759, -0.07129649072885513, -0.14110597968101501, -0.5651649236679077, 0.49050724506378174, -0.44749075174331665, -0.893050491809845, 0.09648337960243225, -0.1962514966726303, -0.6934354901313782, -0.3384454548358917, 0.14530916512012482, -0.10221081227064133, 0.09580115973949432, 0.511987030506134, -0.3586241900920868, 0.17742066085338593, 0.3446986675262451, 0.08361577242612839, -0.3328072726726532, 0.27228549122810364, 0.33270972967147827, 0.7469839453697205, -0.3108155429363251, -0.6878695487976074, -0.4929593503475189, 0.5856142044067383, 0.7931767702102661, -0.14514881372451782, 0.693864643573761, 0.44873446226119995, -0.47444143891334534, 0.37968575954437256, -0.8423460721969604, -0.49237361550331116, -0.3831848204135895, -0.21417777240276337, -0.631085216999054, -0.4687594175338745, 0.5101746320724487, -0.32652267813682556, -0.4566713571548462, -0.09424741566181183, 0.6911566853523254, 0.14421996474266052, 1.2262924909591675, 0.5560077428817749, -0.040185682475566864, 0.33555322885513306, 0.08147716522216797, 0.5144455432891846, -0.8052645921707153, -0.3316165506839752, -0.36739581823349, -0.11912721395492554, -0.6186844706535339, -0.4992406666278839, 0.02113795466721058, -0.16660811007022858, -0.18058574199676514, -0.15910165011882782, -0.36133483052253723, 0.3083135485649109, 0.5011420845985413, 0.5482861399650574, 0.00793381780385971, -0.1479644626379013, 0.12984304130077362, 0.0570647194981575, -0.1724485605955124, -0.5954492092132568, 0.768546462059021, 0.5072155594825745, 0.8710318207740784, 0.3070097863674164, 0.48480165004730225, 0.4349405765533447, 0.30096444487571716, -0.836841881275177, 0.1800239533185959, 0.4928276538848877, -0.3801758587360382, -0.17331357300281525, -0.05210845172405243, -0.6116454005241394, 0.5658759474754333, -0.23687732219696045, -0.6350136995315552, 0.2846048176288605, 0.358129620552063, -0.21592676639556885, 0.16049106419086456, -0.8470559120178223, 0.6867954730987549, -0.25050175189971924, -0.5246894359588623, -0.4237937033176422, -1.0657544136047363, -0.022900057956576347, 0.3838980793952942, 0.37248945236206055, 0.008217521011829376, 0.2753133475780487, 0.2660820186138153, 0.0055342973209917545, 1.1069679260253906, -0.7103798389434814, -0.15454860031604767, 0.10477352142333984, 0.19234055280685425, 0.516707718372345, 0.19155143201351166, 0.1442168951034546, 0.12116631865501404, -0.19782143831253052, -0.3134254515171051, -0.8138353228569031, 0.5208351612091064, -0.7371410131454468, -0.6678273677825928, -0.5812817811965942, -0.43399202823638916, -0.2952890992164612, 0.011048012413084507, -0.15042206645011902, 0.352004736661911, -0.5962998270988464, 0.2336861491203308, 0.5867986083030701, -0.44575992226600647, 0.12675145268440247, 0.5608752965927124, 0.19951140880584717, -0.4781644642353058, 0.7335284352302551, -0.5535598993301392, 0.33188027143478394, 0.5713732838630676, 0.5062638521194458, 0.01519376877695322, 0.16379599273204803, -0.06652647256851196, 0.25345972180366516, -0.7604942321777344, -0.023017553612589836, -0.9971547722816467, 0.17051224410533905, -0.7262730598449707, -0.5647547841072083, -0.33967527747154236, -0.18979689478874207, -0.01036955788731575, -0.5645213723182678, 0.4180407226085663, 0.49919962882995605, -0.4814392030239105, 0.4165646433830261, -0.9568889737129211, 0.6252127289772034, 0.4155727028846741, -0.01411353424191475, -0.12443433701992035, -0.22569754719734192, 0.0993255153298378, 0.428506076335907, -0.4425642788410187, -0.9296714067459106, 0.5315446853637695, 0.005986576434224844, 0.43177321553230286, 0.6376438736915588, 0.02778930403292179, 0.7150178551673889, -0.5567754507064819, 0.779536783695221, 0.5830884575843811, -1.296614646911621, 0.7044620513916016, -0.5776580572128296, -0.21732470393180847, 0.147775799036026, 0.21145062148571014, -0.9853894114494324, -0.386996865272522, -0.773224949836731, -0.6661545038223267, 0.46677452325820923, 0.12069709599018097, 0.6991720199584961, -0.28654247522354126, 0.025795064866542816, -0.13433517515659332, 0.3329479694366455, -0.7924519181251526, -0.20562243461608887, -0.4363393187522888, 0.14640282094478607, -0.5602304339408875, -0.6146968603134155, -0.8092671632766724, -0.15680688619613647, -0.15426714718341827, -0.13799114525318146, 0.7148482203483582, 0.27657338976860046, -0.34925439953804016, -0.38642406463623047, 0.14251591265201569, 0.7883221507072449, 0.43710967898368835, -0.35103723406791687, 0.4669029712677002, 0.09905805438756943, 0.015471120364964008, 0.21993355453014374, -0.09238920360803604, 0.6217139959335327, -0.06867033988237381, 0.3990364074707031, 0.676323652267456, 0.3442365527153015, -0.7466074228286743, 0.7321525812149048, 0.05581244081258774, 0.018168173730373383, -0.35299256443977356, -0.3740677535533905, -0.030678343027830124, 0.6676939129829407, -0.05611702427268028, 0.00885276310145855, 0.23270319402217865, -0.8629569411277771, 0.1407780945301056, 0.22423884272575378, -0.5079757571220398, -0.49321138858795166, 0.33574622869491577, 0.3159678876399994, -0.598272442817688, 0.6280404925346375, 0.293268084526062, -0.7222743034362793, 0.6561186909675598, 0.7583492398262024, 0.8504023551940918, -0.6210836172103882, 0.28318893909454346, 0.03936861455440521, 0.35900622606277466, 0.13899217545986176, 0.32333314418792725, -0.3968856930732727, -0.9976566433906555, 0.36230695247650146, 0.05861647427082062, -0.7599155902862549, -0.6830246448516846, -0.8477351665496826, 0.05217147618532181, -0.3343638479709625, -0.24929746985435486, -0.45421329140663147, -0.4278466999530792, -0.6054243445396423, 0.4587688446044922, 0.20574618875980377, 0.605270504951477, -1.3931448459625244, 0.24093344807624817, 0.8336727023124695, -0.4469076097011566, -0.4126090109348297, -0.08381539583206177, -0.0411381833255291, -0.7726402878761292, 0.8610263466835022, 0.47733718156814575, -0.26625150442123413, -0.10172420740127563, -0.4121885299682617, -0.6196116209030151, 1.1173491477966309, 0.2297496795654297, 0.20454107224941254, 0.13382555544376373, -0.13666729629039764, 0.5523800253868103, -0.5592361092567444, 0.8470127582550049, 0.3776974081993103, 0.7085722088813782, -0.011070853099226952, -0.7955029606819153, 0.3334486782550812, -0.6895661354064941, -0.31919988989830017, 0.031159238889813423, -1.0668985843658447, 1.1230483055114746, -0.17691941559314728, 0.08325552940368652, -0.011518743820488453, 0.12379774451255798, 0.317024290561676, 0.7003865242004395, 0.5654886364936829, 0.6931607723236084, 0.6417049765586853, 0.03460364043712616, 1.0611722469329834, -0.6397781372070312, 0.10727422684431076, 0.6886828541755676, -0.4800947308540344, 0.47400912642478943, 0.6152409911155701, 0.3451080322265625, 0.3735828697681427, 0.35748913884162903, 0.07899901270866394, 0.3296339809894562, 0.08727359026670456, -0.2725488543510437, -0.37059926986694336, -0.5603554844856262, -0.5920400023460388, 0.6995493173599243, 0.19104021787643433, -0.5364724397659302, -0.011059465818107128, 0.3754430413246155, 0.02938329428434372, 0.014239992946386337, -0.0725354328751564, 0.7250812649726868, 0.15858253836631775, -0.5124356746673584, 0.274800568819046, 0.06972954422235489, 0.19564177095890045, -0.31701138615608215, -0.4705203175544739, -0.2596966326236725, -0.10085658729076385, -0.17884819209575653, -0.34850016236305237, 0.03612438216805458, -0.21188262104988098, -0.22361870110034943, -0.8850185871124268, 0.790593683719635, -0.09519580751657486, 0.047842998057603836, 0.839789092540741, 0.6620750427246094, 0.48548853397369385, -0.18887577950954437, -0.40707242488861084, 0.023899802938103676, -0.4756017029285431, -0.5206378698348999, 0.3735380470752716, 0.5821163058280945, 0.32324180006980896, 0.8167935013771057, 0.7779950499534607, -0.08101016283035278, -0.18929342925548553, 0.3412277400493622, 1.1742061376571655, -1.0258758068084717, -0.393157422542572, -0.8812469244003296, 0.7610991597175598, -0.07087069004774094, -0.08144520968198776, 0.7348605990409851, 0.1656302809715271, 0.1475083827972412, -0.08961343765258789, 0.5406299233436584, -0.3817148506641388, 0.2510108947753906, -0.5766980051994324, 0.3454475402832031, -0.5600067973136902, -0.5504341721534729, -0.639654815196991, -0.8040745854377747, -0.20733407139778137, 1.1088716983795166, -0.053248245269060135, 0.31778275966644287, 0.8976321220397949, 0.7486782670021057, 0.12418027967214584, 0.10047424584627151, 0.8248403072357178, 0.20260187983512878, 0.35117748379707336, 0.32139497995376587, 1.2790017127990723, -0.12330000847578049, -0.21631324291229248, -0.20114918053150177, -0.46799227595329285, -0.010022182017564774, -0.8104968667030334, -1.1490590572357178, -0.3150618076324463, 0.022044451907277107, -0.488285094499588, -0.006218963302671909, 1.3234835863113403, 0.7085326910018921, -0.3748752176761627, -0.14151406288146973, -0.05104225128889084, -0.0537155345082283, -0.21039769053459167, -0.1908816546201706, 0.1015312522649765, -0.2805386185646057, -0.7659265995025635, 0.5439340472221375, 0.35480019450187683, 0.056200794875621796, 0.010955863632261753, -0.28865042328834534, -0.139859139919281, -0.08018285781145096, 0.8574366569519043, 0.18375134468078613, -0.6306574940681458, -0.4442029595375061, 0.02573045901954174, 0.20905782282352448, 0.16757066547870636, 1.0678316354751587, -0.5195577144622803, 0.5216564536094666, 0.01722221076488495, 0.42351704835891724, 0.05960594490170479, 0.5157957077026367, 0.6918922066688538, -0.36095723509788513, 0.6049033999443054, 0.338477224111557, 0.281938761472702, 0.22334378957748413, -0.6467516422271729, 0.4028635621070862, 0.26598140597343445, -0.48243454098701477, -0.8968641757965088, 0.20754659175872803, -1.0683715343475342, 0.045218177139759064, 1.4098302125930786, -0.24221448600292206, 0.11948661506175995, 0.04902799800038338, -0.6465935707092285, 0.24533331394195557, -0.41839587688446045, 0.6857035756111145, 0.6234452128410339, -0.20019184052944183, -0.5201650857925415, -0.1435776948928833, -0.031943440437316895, 0.328433096408844, -0.7422970533370972, 0.06837838888168335, 0.6408230066299438, -0.13317309319972992, 0.5036970376968384, 0.6543600559234619, 0.3884943127632141, 0.21255658566951752, 0.3950117528438568, 0.3617062270641327, -0.027069758623838425, -0.4748232066631317, -0.3626824915409088, 0.20682016015052795, 0.07730992138385773, 0.03358431160449982 ]
http://arxiv.org/abs/2407.01817v1
http://arxiv.org/pdf/2407.01817v1
Race and Privacy in Broadcast Police Communications
2024-07-01T21:34:51
2024-07-01T21:34:51
Pranav Narayanan Venkit, Christopher Graziul, Miranda Ardith Goodman, Samantha Nicole Kenny, Shomir Wilson
cs.CL
cs.CL, cs.CY, cs.HC
Radios are essential for the operations of modern police departments, and they function as both a collaborative communication technology and a sociotechnical system. However, little prior research has examined their usage or their connections to individual privacy and the role of race in policing, two growing topics of concern in the US. As a case study, we examine the Chicago Police Department's (CPD's) use of broadcast police communications (BPC) to coordinate the activity of law enforcement officers (LEOs) in the city. From a recently assembled archive of 80,775 hours of BPC associated with CPD operations, we analyze text transcripts of radio transmissions broadcast 9:00 AM to 5:00 PM on August 10th, 2018 in one majority Black, one majority white, and one majority Hispanic area of the city (24 hours of audio) to explore three research questions: (1) Do BPC reflect reported racial disparities in policing? (2) How and when is gender, race/ethnicity, and age mentioned in BPC? (3) To what extent do BPC include sensitive information, and who is put at most risk by this practice? (4) To what extent can large language models (LLMs) heighten this risk? We explore the vocabulary and speech acts used by police in BPC, comparing mentions of personal characteristics to local demographics, the personal information shared over BPC, and the privacy concerns that it poses. Analysis indicates (a) policing professionals in the city of Chicago exhibit disproportionate attention to Black members of the public regardless of context, (b) sociodemographic characteristics like gender, race/ethnicity, and age are primarily mentioned in BPC about event information, and (c) disproportionate attention introduces disproportionate privacy risks for Black members of the public.
[ -0.6108343005180359, -0.3003610074520111, 0.5790543556213379, 0.4410419762134552, 0.00886804424226284, 0.36310961842536926, -0.0908043310046196, -1.0687559843063354, 0.2751214802265167, 0.1482006162405014, -0.2812844514846802, -0.3662404716014862, -0.7606737017631531, 0.024156762287020683, -0.25342586636543274, 0.8547840118408203, 0.26157641410827637, 0.22682742774486542, 0.39301201701164246, -0.2023380994796753, -0.13977736234664917, -0.8789865970611572, -0.5822186470031738, -0.02842048369348049, 0.49490103125572205, 0.07294502854347229, 0.7082924246788025, 0.5610175132751465, 0.4339914917945862, 0.24071890115737915, -0.39647141098976135, -0.2773265838623047, -0.6187095642089844, -0.06818030029535294, -0.3276864290237427, 0.03415561467409134, -0.22773179411888123, 0.2836551070213318, 0.32457485795021057, 0.956467866897583, 0.15657731890678406, 0.24265041947364807, -0.18248838186264038, 0.653131365776062, -1.0208479166030884, -0.07898908108472824, -0.07476542145013809, -0.13578519225120544, -0.3234367072582245, -0.33502379059791565, -0.056589893996715546, -0.6400997638702393, 0.13847199082374573, -0.31572651863098145, 0.34450945258140564, -0.02735539898276329, 0.3732324242591858, -0.13167168200016022, -0.6293168663978577, -0.4088611900806427, -1.299783706665039, 0.3947288990020752, -0.22409573197364807, 0.24372081458568573, 0.8857110142707825, 0.024679144844412804, 0.13503457605838776, -0.20205245912075043, -0.6485267877578735, -0.03699304163455963, -0.11600270122289658, 0.39292898774147034, -0.09504090994596481, 0.03922325745224953, 0.5226103663444519, 0.4064357280731201, -0.14423546195030212, -0.10313007235527039, -1.0388760566711426, 0.11008947342634201, 1.0264060497283936, 0.4559173285961151, -0.197291761636734, 0.06907293945550919, 0.06292355060577393, -0.03710450232028961, -0.518268346786499, 0.08092549443244934, 0.9241473078727722, -0.01379040814936161, -0.4416389763355255, 0.547080934047699, -0.2530881464481354, 0.3828737735748291, -0.1535917967557907, -0.054969802498817444, 0.21182377636432648, -0.329020619392395, 0.098751500248909, 0.4095523953437805, 0.7069569230079651, 0.5913999080657959, 0.45616570115089417, 0.0505729541182518, 0.11605386435985565, -0.1078597754240036, 0.33634909987449646, -0.3256348669528961, -0.07136248797178268, 0.26546040177345276, -0.38041210174560547, -0.2809620201587677, 0.25698819756507874, -0.5411812663078308, -0.5002380609512329, -0.2818499505519867, -0.14416667819023132, -0.10158965736627579, -0.4043961763381958, -0.034612640738487244, -0.036574143916368484, 0.2571299076080322, 0.151092067360878, -1.2384952306747437, 0.18148288130760193, 0.5751911997795105, 0.7031235694885254, 0.15746504068374634, 0.04962712153792381, 0.21737834811210632, 0.40788766741752625, -0.4043165147304535, 0.19389070570468903, -0.3802415132522583, -0.7164621949195862, 0.13225075602531433, 0.03317412734031677, 0.274360716342926, -0.47731027007102966, 0.07923295348882675, -0.41363105177879333, -0.025172846391797066, -0.21720492839813232, -0.2806472182273865, 0.18309789896011353, -0.37231844663619995, -0.17806239426136017, 1.016229271888733, 0.03231387212872505, -1.027585506439209, 0.35534802079200745, -0.40384262800216675, -0.6519320607185364, 0.05121045187115669, -0.00593540957197547, -0.388072669506073, 0.33510881662368774, -0.02644326724112034, 0.43467915058135986, 0.43717002868652344, -0.045698653906583786, -0.5739517211914062, -0.6701940298080444, 0.4466524124145508, 0.05108313634991646, 0.9480500817298889, 0.5780994892120361, -0.5468212366104126, -0.3855944573879242, -0.6342387795448303, -0.44864222407341003, 0.1422274261713028, -0.2362779974937439, -0.5758159160614014, 0.18984787166118622, -0.16425524652004242, -0.1001887246966362, -0.16189195215702057, -0.9097628593444824, -0.41411373019218445, 0.10014975816011429, 0.26727646589279175, 0.548418402671814, -0.046993546187877655, 0.5275824069976807, -0.3213362991809845, 0.4606258273124695, -0.25292354822158813, 0.5801193118095398, 0.04675417020916939, -0.5202805399894714, -0.2275012582540512, -0.3064296245574951, 0.08081916719675064, 0.39399412274360657, 0.14703388512134552, 0.6541946530342102, 0.008718722499907017, -0.3739681839942932, -0.4983794093132019, -0.44914641976356506, -0.10537569224834442, 0.14842963218688965, -0.16939488053321838, -0.2817513346672058, -0.38771530985832214, -0.7884810566902161, 0.1479334980249405, -0.21511512994766235, 0.3132588565349579, 0.36232051253318787, 0.34606295824050903, 0.1767428070306778, 0.7396379113197327, -0.30981963872909546, 0.0226337518543005, -0.22277148067951202, 0.07134190201759338, 0.014900407753884792, 0.2894759178161621, 0.5380750894546509, -0.5855236053466797, -0.5460942983627319, -0.3666180372238159, -0.3198552429676056, -0.288828045129776, 0.04312875494360924, 0.024371707811951637, -0.28376898169517517, 0.6752985119819641, 0.12686368823051453, 0.8962686061859131, 0.8411766290664673, -0.2703487277030945, 0.5544034838676453, -0.003963324707001448, 0.2880796492099762, -0.6744042634963989, -0.0429341122508049, -0.19341175258159637, -0.49321094155311584, -0.8598147630691528, -0.23899054527282715, -0.2524247169494629, -0.30064311623573303, -0.46039220690727234, 0.29516613483428955, -0.42701324820518494, -0.5502257943153381, -0.46492746472358704, 0.03195282444357872, -0.3899248242378235, 0.03751493990421295, 0.2920719087123871, 0.5144009590148926, 0.5061362981796265, -0.673900842666626, 0.11228203028440475, 0.05711136385798454, -0.7545521259307861, 0.1746664047241211, -0.2770809233188629, 0.2847446799278259, -0.4659132957458496, 0.1744173914194107, -0.8414077162742615, -0.02416871301829815, 0.33266711235046387, -0.6133251786231995, -0.02213364467024803, -0.12971597909927368, -0.48367103934288025, -0.22937752306461334, -0.08254402130842209, 0.6512652039527893, 0.1837782859802246, -0.008835488930344582, -0.04081429913640022, 0.9285857677459717, -0.5315037369728088, -0.48220327496528625, -0.7973135709762573, -0.2114483118057251, 0.11843664199113846, -0.525839626789093, -0.06111528351902962, -0.032928451895713806, -0.5157677531242371, -0.02269558422267437, -0.1228952556848526, -0.28801771998405457, 0.4615720510482788, 0.4915064573287964, 0.05637872591614723, 0.06240185722708702, -0.09997797757387161, -0.25635385513305664, 0.407723069190979, 0.12118524312973022, 0.4121749699115753, 0.5568605661392212, 0.2760627567768097, -0.1740051805973053, -0.441758394241333, 1.001827359199524, 0.28749021887779236, -0.22907936573028564, 1.065159559249878, 0.38038450479507446, -0.18713730573654175, 0.32422637939453125, -0.48258528113365173, -0.27707383036613464, -0.3593575954437256, 0.07147600501775742, 0.1515120267868042, -1.0813181400299072, 0.539938747882843, 0.2797297239303589, -0.04575984179973602, -0.40102967619895935, 0.6576468348503113, -0.5270698666572571, 0.6621496677398682, 0.7129200100898743, 0.010858061723411083, 1.0765079259872437, -0.07682987302541733, 0.47049930691719055, -0.597903847694397, -0.4096938967704773, -0.6074029207229614, -0.18605315685272217, -0.7561550140380859, -0.1334523856639862, 0.34526243805885315, 0.030463693663477898, -0.17743848264217377, -0.04018383473157883, -0.48427262902259827, 0.45184436440467834, 0.4455728530883789, -0.12820133566856384, 0.37660470604896545, -0.05662788450717926, 0.35335955023765564, 0.03688918426632881, -0.41799744963645935, -0.3949793577194214, 1.1710784435272217, 0.5831424593925476, 0.633994996547699, 0.35237476229667664, 0.791204571723938, 0.32112735509872437, 0.513027548789978, -0.3627537488937378, 0.31223979592323303, 0.09453616291284561, -1.4757771492004395, -0.2701537311077118, -0.23463693261146545, -0.827972948551178, 0.13481351733207703, -0.18111570179462433, -0.8468661308288574, 0.8959079384803772, 0.06915786862373352, -0.3413306176662445, 0.14604608714580536, -0.5838267803192139, 0.38956859707832336, -0.06494349241256714, -0.1779361367225647, -0.41575804352760315, -0.6325787901878357, 0.5277976393699646, -0.18297432363033295, 0.6059049963951111, -0.8500005006790161, 0.20853646099567413, 0.8044353723526001, -0.27476993203163147, 0.5937953591346741, 0.048891641199588776, 0.19750754535198212, 0.3270404040813446, -0.16918541491031647, 0.28258445858955383, 0.2209269255399704, 0.30945855379104614, 0.34623122215270996, 0.014843396842479706, -0.29329976439476013, -0.0720854327082634, 0.1560794711112976, -0.8036689758300781, -0.4016847312450409, -0.7223115563392639, -0.4142484664916992, -0.12929339706897736, -0.10257641971111298, 0.32534053921699524, 0.580649197101593, -0.0499795526266098, 0.07935117185115814, 0.40148210525512695, -0.17384864389896393, 0.3310282826423645, 0.73752361536026, 0.017009057104587555, -0.08885910362005234, 0.225419282913208, -0.23670117557048798, 0.34619441628456116, 0.0982772633433342, 0.02767135202884674, -0.3650037944316864, -0.5763301849365234, 0.21993063390254974, 0.6630014777183533, -0.41666460037231445, 0.19097870588302612, -0.6248769760131836, -0.3760625720024109, -0.6322949528694153, -0.20992860198020935, -0.4582781195640564, -0.3312697410583496, 0.008791455067694187, -0.04262235015630722, 0.07711073756217957, 0.766859769821167, -0.3958556354045868, 0.43328216671943665, -0.3111882507801056, 0.43795737624168396, 0.16516490280628204, 0.1951894462108612, -0.30619341135025024, -0.36823055148124695, -0.46906521916389465, -0.1780996322631836, -0.2822631001472473, -1.0498274564743042, 0.04236496984958649, -0.5159645080566406, 0.20215405523777008, 0.06952577829360962, 0.3483498990535736, 0.3976641893386841, -0.42933905124664307, 0.5764436721801758, 0.3179880380630493, -0.7011183500289917, 0.2983640432357788, -0.4990762174129486, 0.16464301943778992, 0.6149399876594543, 0.5095070600509644, -0.778151273727417, -1.0781760215759277, -0.5597512125968933, -0.5349012017250061, 0.8460935354232788, 0.49635836482048035, 0.35051003098487854, -0.13080298900604248, 0.11286275088787079, -0.4094069004058838, 0.25012949109077454, -0.7864600419998169, -0.7979189157485962, -0.27654460072517395, -0.035423822700977325, 0.009384912438690662, -0.6192675232887268, -0.3426956534385681, -0.38240376114845276, 0.15222972631454468, 0.39126333594322205, 0.44813114404678345, 0.4947340488433838, 0.3771618604660034, -0.04624676704406738, 0.4804566502571106, 0.782326877117157, 1.0347100496292114, -0.509965717792511, 0.09711132943630219, -0.07439932227134705, -0.5714206695556641, 0.3113069534301758, -0.08436912298202515, -0.08865171670913696, 0.006762887351214886, 0.36432090401649475, 0.46113547682762146, -0.13900741934776306, -0.402815580368042, 0.6504167914390564, -0.06462130695581436, -0.32510924339294434, -0.6642627716064453, -0.2673051953315735, 0.11774543672800064, 0.20378555357456207, 0.25899896025657654, -0.05695214495062828, 0.029391605406999588, -0.9814783334732056, -0.15963955223560333, 0.22696411609649658, -0.36168041825294495, -0.22332006692886353, 0.8014129400253296, 0.410774827003479, -0.005286105442792177, 0.3159864842891693, -0.19353583455085754, -0.46926239132881165, 0.3111063539981842, 0.18047483265399933, 0.5633484125137329, -0.4850321412086487, 0.21058674156665802, 0.15597261488437653, 0.5682801008224487, 0.22119182348251343, 0.15069575607776642, -0.23298747837543488, -0.9204506278038025, -0.4719768464565277, -0.3829399347305298, -0.27649402618408203, 0.17386330664157867, -0.7513898015022278, -0.12605872750282288, -0.9715758562088013, -0.6383902430534363, 0.18009087443351746, 0.008417341858148575, -0.34662461280822754, 0.16384093463420868, 0.701318621635437, 0.7858570218086243, -0.8987593650817871, 0.7432664632797241, 0.446427583694458, 0.12702210247516632, -0.6954421401023865, 0.015072585083544254, 0.0923767164349556, -0.4104907512664795, 0.7620958089828491, -0.2994559109210968, -0.13097065687179565, -0.5506855845451355, -0.3343738317489624, -0.7450490593910217, 0.739041268825531, 0.17813311517238617, -0.71226567029953, 0.39028099179267883, 0.3008498549461365, 0.5433677434921265, -0.42380034923553467, 0.13346140086650848, 0.7481757998466492, 0.3982638716697693, 0.057148776948451996, -1.2133700847625732, -0.13355036079883575, 0.33846935629844666, -0.06747594475746155, 0.13076677918434143, -0.920962929725647, 0.4575536549091339, -0.35593706369400024, -0.4104117751121521, -0.228118434548378, 0.33605220913887024, 0.11231352388858795, 0.5762177109718323, 0.37448203563690186, 0.11306951195001602, 0.5945004820823669, -0.12345991283655167, 1.421235203742981, 0.19007232785224915, 0.20432040095329285, 0.9941774606704712, -0.36255672574043274, 0.2291879951953888, 0.1257890909910202, -0.33938056230545044, 0.13450312614440918, 0.5340813398361206, 0.050147514790296555, 0.8482711315155029, 0.17121002078056335, -0.5666073560714722, 0.10705502331256866, -0.4199550747871399, -0.3017209768295288, 0.5342743992805481, 0.1172700971364975, -0.38437584042549133, 0.1827806681394577, -0.06810081750154495, 0.07511401176452637, 0.06140059605240822, -0.4529787003993988, 0.786865234375, 0.016390733420848846, -0.24325747787952423, 0.15914586186408997, 0.11786370724439621, 0.33232587575912476, -0.592542290687561, 0.45358115434646606, -0.3465036153793335, 0.032889969646930695, -0.15333262085914612, -0.8425137996673584, 0.786191999912262, -0.05279237776994705, -0.35661396384239197, -0.10035835206508636, 0.18382953107357025, -0.41973212361335754, -0.17026695609092712, 0.5468276143074036, -0.02827300876379013, 0.39461883902549744, -0.1987387239933014, -0.3924032151699066, 0.4007282853126526, 0.11534711718559265, 0.13736164569854736, 0.2623327970504761, 0.07030414044857025, 0.04153794050216675, 0.6375707387924194, 0.4577556848526001, 0.9771709442138672, 0.5408487915992737, 0.16195791959762573, 0.5316851139068604, -0.7226442098617554, -0.6437760591506958, -0.4460759162902832, 0.25293177366256714, -0.36045247316360474, -0.37973639369010925, 0.5249221324920654, 0.7019103169441223, 1.0295454263687134, 0.21737711131572723, 0.8153597116470337, -0.26009297370910645, 0.716839075088501, -0.34394219517707825, 0.35287949442863464, -0.11316027492284775, 0.10444322973489761, -0.16510266065597534, -1.0824055671691895, 0.00031501890043728054, 0.6051729321479797, -0.38206812739372253, -0.08748345822095871, 0.7536124587059021, 0.826633095741272, 0.04267168417572975, 0.4669148325920105, 0.34909823536872864, -0.20782510936260223, 0.2726379930973053, 0.09501750767230988, 1.050957202911377, -0.04680384323000908, 0.6324320435523987, -0.7182855010032654, -0.11356163769960403, -0.2979166805744171, -0.30186691880226135, -0.9498164653778076, -0.49451765418052673, -0.5048869848251343, 0.015407060272991657, 0.23721961677074432, 0.47960031032562256, 1.0607608556747437, -0.738194465637207, -0.3165569007396698, 0.7451305985450745, 0.012519760057330132, -0.09414149820804596, -0.25296616554260254, 0.10087491571903229, 0.22478896379470825, -0.8446873426437378, 0.22687353193759918, 0.19095616042613983, 0.40116873383522034, 0.09835979342460632, 0.15752579271793365, 0.053574346005916595, -0.14477279782295227, 0.42964136600494385, 0.48558732867240906, -0.2879057228565216, -0.2866079807281494, -0.3912915587425232, -0.34759533405303955, -0.1751808226108551, 1.2946410179138184, -0.25057509541511536, 0.2826188802719116, 0.3384077250957489, 0.2015058845281601, 1.0114227533340454, 0.3049740493297577, 0.5336236357688904, -0.9517250061035156, 0.6399005055427551, 0.45560914278030396, 0.037955183535814285, 0.29659202694892883, -0.28564196825027466, 0.4510553479194641, 0.29025664925575256, -0.7241017818450928, -0.7040615677833557, 0.1983087956905365, -0.9317835569381714, -0.40699201822280884, 0.9517877697944641, 0.1979534924030304, 0.13505436480045319, -0.8364711403846741, 0.18579690158367157, 0.04929644241929054, -0.601458728313446, 0.627041757106781, 0.6712610125541687, -0.1597583293914795, -0.3200691044330597, -0.9954010248184204, 0.5407037138938904, -0.15692703425884247, -0.3314659297466278, 0.33958762884140015, 0.2602687180042267, 0.5366930961608887, 0.2094084918498993, 1.0183942317962646, -0.28501927852630615, 0.3420126438140869, -0.17968112230300903, -0.14225482940673828, -0.17448650300502777, -0.16642096638679504, -0.29856836795806885, 0.03084752708673477, -0.28574007749557495, -0.3797306716442108 ]
http://arxiv.org/abs/2407.01796v1
http://arxiv.org/pdf/2407.01796v1
Ground Every Sentence: Improving Retrieval-Augmented LLMs with Interleaved Reference-Claim Generation
2024-07-01T20:47:47
2024-07-01T20:47:47
Sirui Xia, Xintao Wang, Jiaqing Liang, Yifei Zhang, Weikang Zhou, Jiaji Deng, Fei Yu, Yanghua Xiao
cs.CL
cs.CL
Retrieval-Augmented Generation (RAG) has been widely adopted to enhance Large Language Models (LLMs) in knowledge-intensive tasks. Recently, Attributed Text Generation (ATG) has attracted growing attention, which provides citations to support the model's responses in RAG, so as to enhance the credibility of LLM-generated content and facilitate verification. Prior methods mainly adopt coarse-grained attributions, linking to passage-level references or providing paragraph-level citations. However, these methods still fall short in verifiability and require certain time costs for fact checking. This paper proposes a fine-grained ATG method called ReClaim(Refer & Claim), which alternates the generation of references and answers step by step. Unlike traditional coarse-grained attribution, ReClaim allows the model to add sentence-level fine-grained citations to each answer sentence in long-form question-answering tasks. Our experiments encompass various training and inference methods and multiple LLMs, verifying the effectiveness of our approach.
[ -0.07931145280599594, -0.6993945837020874, 0.7970784306526184, -0.11163507401943207, -0.12204761058092117, 0.012384513393044472, -0.062367286533117294, -0.37724098563194275, 0.18200793862342834, 0.5978387594223022, -0.4103245735168457, -0.15457923710346222, -0.3718779385089874, 0.26203909516334534, -0.38839858770370483, 0.9227201342582703, -0.000989706488326192, -0.3265242576599121, -0.7030565142631531, 0.06780314445495605, -0.36894097924232483, -0.41074270009994507, -0.41386890411376953, -0.48907580971717834, 0.43066495656967163, 0.6053658127784729, 0.38609760999679565, 0.6169810891151428, 0.46006378531455994, 0.21291334927082062, -0.06631801277399063, 0.6888092756271362, -0.21632401645183563, 0.16963845491409302, -0.46971017122268677, -0.5005516409873962, -0.31620338559150696, 0.05730701982975006, 0.6051477789878845, 0.5259332060813904, -0.12201551347970963, 0.3873154819011688, 0.032570868730545044, 0.5193366408348083, -1.0123058557510376, -0.23801858723163605, -1.209685206413269, -0.44429847598075867, -0.2681834399700165, -0.4904590845108032, -0.6620935201644897, -0.5246809124946594, -0.17712117731571198, -0.5092905759811401, 0.4134190082550049, 0.18045727908611298, 1.0848618745803833, 0.1295347362756729, -0.3728782534599304, -0.5190557241439819, -0.405038446187973, 0.8380922675132751, -0.6714587807655334, 0.021957378834486008, 0.5444571375846863, 0.031008552759885788, -0.06496142596006393, -0.9464800953865051, -0.5813884735107422, -0.49555593729019165, -0.3655600845813751, 0.05914480239152908, -0.165190652012825, -0.17745843529701233, 0.21047364175319672, 0.3735611140727997, -0.2580718398094177, -0.205477774143219, -0.1761108934879303, -0.15723666548728943, 0.5278557538986206, -0.08190078288316727, 0.04989160969853401, -0.6944485902786255, -0.6584402322769165, 0.026864655315876007, -1.2410204410552979, -0.05021878331899643, 0.12625376880168915, 0.48336368799209595, 0.265179306268692, 0.7561251521110535, -0.3012554347515106, 0.8061275482177734, 0.23840270936489105, -0.1887287199497223, 0.12135600298643112, -0.37192392349243164, -0.1520072966814041, 0.1564677506685257, 0.5715003609657288, 0.235091894865036, 0.14499199390411377, -0.4972172975540161, -0.13464957475662231, -0.17680874466896057, 0.4719727337360382, -0.726978600025177, 0.18527059257030487, -0.05644327774643898, -0.3021259605884552, -0.44401392340660095, -0.11076795309782028, -0.37754425406455994, -0.5038523077964783, -0.21195931732654572, 0.363720566034317, -0.4253222644329071, 0.0232545118778944, -0.07321811467409134, 0.03982391580939293, 0.0457170344889164, 0.32334789633750916, -0.33806025981903076, 0.14202210307121277, 0.5547800064086914, 0.4955408573150635, -0.1571759134531021, -0.047507863491773605, -1.0682554244995117, 0.5444053411483765, -0.22122140228748322, 1.1886855363845825, -0.5202220678329468, -0.26475560665130615, 0.2960728108882904, -0.10368805378675461, 0.1399465650320053, -0.7719098329544067, 1.0289777517318726, -0.5922088027000427, 0.2055579125881195, -0.5342564582824707, -0.5726282596588135, 0.0318102203309536, 0.6812900304794312, -0.35646969079971313, 1.204517126083374, -0.03794995695352554, -0.9093663096427917, 0.0010844154749065638, -0.40601903200149536, -0.4363013505935669, 0.04675028473138809, -0.24806539714336395, -0.3937808573246002, 0.28780418634414673, 0.24787454307079315, 0.43327587842941284, -0.7197932600975037, 0.4767899513244629, -0.22855141758918762, -0.08460743725299835, 0.12158194184303284, -0.3136005401611328, 0.5844615697860718, 0.31729260087013245, -0.07613801956176758, -0.052674829959869385, -1.1507139205932617, 0.22277116775512695, 0.037505727261304855, -0.45998334884643555, -0.5692666172981262, 0.2512260377407074, -0.06690645217895508, -0.021902894601225853, 0.16695617139339447, -0.7968202829360962, 0.15500693023204803, -0.3428990840911865, 0.26460030674934387, 0.5907235145568848, 0.22851623594760895, 0.3832229971885681, -0.4820431172847748, 0.308620810508728, -0.003950708080083132, -0.581878125667572, -0.4931301474571228, 0.13299588859081268, -0.7565016150474548, -0.10930142551660538, 0.1654885709285736, 0.4736369848251343, -0.8816543817520142, 0.33917587995529175, -0.6513546705245972, -0.19643637537956238, -0.3475903868675232, -0.0007583261467516422, 0.4943973422050476, 0.9024974703788757, 0.5095792412757874, 0.28865164518356323, -0.6139625906944275, -0.7936999201774597, -0.537189781665802, -0.47471633553504944, -0.28044015169143677, 0.49344879388809204, 0.2012113332748413, -0.0774308368563652, 1.3910819292068481, -0.697292685508728, -0.055885929614305496, 0.046563521027565, 0.20183426141738892, -0.17165961861610413, 0.3825443685054779, 0.43596020340919495, -0.5843470692634583, -0.5633872747421265, -0.12574918568134308, -0.6194374561309814, -0.4472087025642395, -0.07633856683969498, -0.23139688372612, 0.030883396044373512, 0.7163026928901672, -0.7078655362129211, 0.17561829090118408, 0.035984404385089874, -0.268903911113739, 0.5364872217178345, -0.0026287164073437452, 0.3282599151134491, -1.2504637241363525, 0.28332844376564026, -0.20389670133590698, -0.5825193524360657, -0.2779289186000824, 0.3929964005947113, 0.2519737184047699, -0.14354249835014343, -0.22306978702545166, 0.7223869562149048, -0.6023478507995605, 0.13825573027133942, -0.4667917788028717, 0.4434903860092163, 0.12447211891412735, 0.12836892902851105, -0.28336092829704285, 1.0458581447601318, 0.14233875274658203, -0.5907527804374695, 0.1778201013803482, 0.22330552339553833, -0.03818953409790993, 0.6269761323928833, -0.505259096622467, 0.24309973418712616, -0.4203953444957733, 0.4011179506778717, -1.2507495880126953, -0.22315385937690735, -0.05335725471377373, -0.4199889898300171, 0.20951931178569794, 0.022457893937826157, -0.4799281060695648, -0.19109362363815308, -0.34615951776504517, 0.1435011923313141, 0.29197177290916443, -0.7453482151031494, 0.9270226359367371, 0.1758567988872528, -0.2769893407821655, -0.6317280530929565, -0.4298068881034851, 0.23194146156311035, -0.39193594455718994, -0.3914978802204132, 0.5589818954467773, 0.07293225824832916, -0.44825735688209534, -0.032765161246061325, -0.32767343521118164, 0.00025592002202756703, 0.06941913068294525, -0.02773246169090271, 0.08683362603187561, -0.19283665716648102, 0.38420745730400085, -0.14280998706817627, -0.04576762765645981, -0.01735644042491913, -0.029659202322363853, 0.44984883069992065, 0.05808785557746887, -0.21826526522636414, 0.16785553097724915, 0.43224579095840454, 0.325836181640625, -0.36033183336257935, 0.2839275002479553, 0.4088139235973358, -0.2843256890773773, 0.007238068617880344, -0.9180386662483215, -0.08530216664075851, -0.4426337480545044, 0.1346483826637268, -0.4401536285877228, -0.6767826080322266, 0.4568767547607422, -0.24634185433387756, 0.28967106342315674, 0.5546150207519531, 0.34718209505081177, -0.1757553666830063, 0.1733006238937378, 0.40881064534187317, -0.010518228635191917, 0.25806698203086853, 0.1518288403749466, 0.09095876663923264, -0.7368771433830261, -0.04481513798236847, -0.9375677704811096, 0.061452098190784454, -0.18743062019348145, -0.43782684206962585, 0.18087264895439148, 0.3903874456882477, -0.17133937776088715, 0.2135380506515503, -0.33513960242271423, 0.5191321969032288, 0.4795646369457245, 0.3192330300807953, 0.5887529253959656, 0.2846640646457672, 0.06791718304157257, -0.08657551556825638, -0.4471757113933563, -0.6207306385040283, 1.0841554403305054, 0.03838445991277695, 0.7113409042358398, 0.023144090548157692, 0.8161482214927673, 0.332396924495697, 0.503432035446167, -0.7607823610305786, 0.6722199320793152, -0.10366237908601761, -0.45993322134017944, 0.12603819370269775, -0.22122670710086823, -0.7567110657691956, 0.2025279402732849, -0.1854942888021469, -0.5877677202224731, -0.1266343593597412, 0.2689497470855713, -0.4735294282436371, 0.09396322071552277, -0.46570420265197754, 0.20799317955970764, 0.19826044142246246, -0.4233914911746979, -0.34026384353637695, -0.6833673119544983, 0.3587575852870941, -0.04477536678314209, 0.09619895368814468, 0.05877740681171417, 0.06449664384126663, 0.6370733976364136, -0.4820006489753723, 0.6753481030464172, -0.1735227108001709, -0.2741663157939911, 0.7862306237220764, -0.06762740015983582, 1.1060445308685303, 0.11330599337816238, -0.10311481356620789, -0.48508188128471375, -0.5539129376411438, -0.09107489138841629, -0.5703017711639404, 0.8139622211456299, -0.37560606002807617, -0.7124022841453552, -0.34114375710487366, -0.6663414239883423, -0.5332039594650269, 0.14353284239768982, 0.15323913097381592, 0.4175059497356415, 0.004151549190282822, 0.49637842178344727, 0.8479632139205933, -0.1436460167169571, 0.6144925951957703, 0.6070339679718018, 0.08005090057849884, -0.6230202317237854, 0.5214365720748901, -0.14928336441516876, 0.36350515484809875, 0.4600759744644165, 0.10835505276918411, -0.18024830520153046, -0.30059000849723816, -0.20929938554763794, 0.18254248797893524, -0.5547024607658386, -0.797164261341095, -0.9541442394256592, -0.16628329455852509, -0.5737287402153015, -0.07266634702682495, -0.3176461160182953, -0.4757166802883148, -0.08862131834030151, -0.11669987440109253, 0.48082900047302246, 0.09890434145927429, 0.09798286855220795, 0.6204317212104797, -0.7643712759017944, 0.6550312042236328, 0.1783711165189743, -0.055788956582546234, -0.06131317466497421, -0.517875611782074, -0.24916821718215942, 0.15400105714797974, -0.5644041895866394, -0.6187851428985596, -0.11254949122667313, 0.2515309751033783, 0.4139866828918457, -0.006664641667157412, 0.24905286729335785, 1.1625040769577026, -1.0213638544082642, 0.8786696195602417, 0.24672235548496246, -0.6382955312728882, 0.4207889139652252, -0.27905863523483276, 0.12187220901250839, 0.5242031812667847, 0.12481367588043213, -0.18716011941432953, -0.3205724060535431, -0.9271266460418701, -1.0510653257369995, 0.4746690094470978, 0.16901850700378418, 0.1407175213098526, -0.2686496675014496, 0.6266024708747864, -0.07751908153295517, 0.21087709069252014, -0.7957344055175781, -0.31330692768096924, 0.17332324385643005, -0.19644424319267273, 0.1684992015361786, -0.5666589736938477, -0.2713829278945923, 0.10736553370952606, 0.8639379143714905, -0.22752262651920319, 0.2531798481941223, 0.34338271617889404, -0.26258695125579834, -0.17276261746883392, 0.4892864525318146, 0.35956868529319763, 0.6011058688163757, -0.0027909267228096724, 0.2586756646633148, 0.03014887496829033, -0.221368670463562, 0.22378328442573547, 0.1885833591222763, -0.3767237365245819, 0.2996717691421509, 0.34085994958877563, 0.46757254004478455, 0.1293977051973343, -0.6304510235786438, 0.4191206097602844, 0.3833075165748596, -0.09256196767091751, -0.33559662103652954, -0.097446508705616, -0.01362364087253809, 0.20093974471092224, 0.7969117164611816, 0.10191159695386887, 0.07959304749965668, -0.5432366132736206, 0.4912243187427521, 0.5413047075271606, -0.07260680198669434, 0.0682985708117485, 0.7010108232498169, 0.0381886325776577, -0.09278584271669388, 0.34998223185539246, 0.0525963231921196, -0.2548849582672119, 0.23995612561702728, 0.8872855305671692, 0.9318647384643555, 0.02963121607899666, 0.1767723262310028, 0.5026134252548218, 0.04892490804195404, -0.07407687604427338, -0.015230098739266396, -0.09488292038440704, -0.6305416822433472, -0.6784624457359314, -0.5894875526428223, -0.07859508693218231, 0.15003269910812378, -0.6552234292030334, 0.13354356586933136, -0.055429499596357346, -0.09658857434988022, -0.06921014189720154, 0.10749553143978119, -0.25404036045074463, 0.29056528210639954, 0.12119562923908234, 0.9384489059448242, -0.7854724526405334, 0.6775640249252319, 0.7724938988685608, -0.468052476644516, -0.8736326694488525, 0.46827977895736694, -0.312355637550354, -0.8827868103981018, 0.828088104724884, -0.12891241908073425, -0.2894303500652313, 0.2214369922876358, -0.9339025616645813, -0.9639068245887756, 0.9342581629753113, 0.5443101525306702, -0.0793585479259491, -0.36869847774505615, -0.09358593076467514, 0.1739126294851303, -0.3025149703025818, 0.1552429050207138, 0.211419939994812, 0.2026779055595398, 0.4580557644367218, -0.8605083227157593, 0.2006170153617859, 0.039081159979104996, 0.21674591302871704, -0.008087064139544964, -0.40654256939888, 0.8658764362335205, -0.09272604435682297, -0.22127068042755127, 0.29156002402305603, 1.0666464567184448, 0.8238466382026672, 0.01801350712776184, 0.5987865924835205, 0.6567593216896057, 0.8439062833786011, 0.03012441284954548, 0.9400861263275146, -0.16070832312107086, 0.4305811822414398, 1.454630732536316, -0.30660295486450195, 0.9052909016609192, 0.6744611263275146, -0.1468454897403717, 0.5659372806549072, 0.2553313076496124, 0.25231626629829407, 0.6560832262039185, 0.25146737694740295, -0.3770033121109009, -0.2030002772808075, -0.34430521726608276, -0.333297997713089, 0.18431665003299713, 0.12209212779998779, -0.2982916235923767, -0.8563074469566345, 0.16152456402778625, 0.3474371135234833, 0.437692791223526, -0.4229314923286438, 0.6736421585083008, -0.0910114273428917, -0.9961795210838318, 0.8348262310028076, 0.04429521784186363, 0.5792258977890015, -0.5896608233451843, -0.15152889490127563, -0.248052716255188, 0.37274008989334106, -0.19161078333854675, -0.5108897686004639, 0.1587342917919159, 0.3330119848251343, -0.4643930494785309, -0.3563477098941803, 0.9868931770324707, -0.7351445555686951, -0.30665382742881775, -0.27715620398521423, 0.35257673263549805, -0.03450138866901398, -0.24670171737670898, -0.34015393257141113, -0.31574976444244385, 0.1816573143005371, -0.3579556941986084, 0.08821739256381989, 0.6216439008712769, -0.1171700730919838, 0.6361735463142395, 0.496177613735199, 0.09083899110555649, 0.11960567533969879, -0.08305403590202332, 0.9959402084350586, -0.530298113822937, -0.29111942648887634, -0.8876590132713318, 0.7539412975311279, -0.3009231388568878, 0.19162024557590485, 0.9541578888893127, 0.7938070893287659, 0.5537635087966919, -0.12667900323867798, 0.8699185252189636, -0.4183802008628845, 1.0622522830963135, -0.6154896020889282, 0.3328549861907959, -0.6426296830177307, 0.047395866364240646, -0.385066419839859, -0.7738704681396484, -0.15797846019268036, 0.5673023462295532, 0.07362212240695953, -0.31709831953048706, 0.8661481738090515, 0.6880229115486145, -0.13953472673892975, -0.3740100860595703, -0.09238345921039581, 0.18362244963645935, 0.5071460604667664, 0.33861789107322693, 0.5490425229072571, -0.8485215902328491, 0.6067429184913635, 0.27019187808036804, 0.015203551389276981, -0.013617734424769878, -1.087127923965454, -0.467715322971344, -0.29254814982414246, -0.373836874961853, -0.780662477016449, -0.08698078244924545, 0.9131121039390564, 0.1864876002073288, -0.64646977186203, -0.08348817378282547, -0.20354816317558289, -0.21014165878295898, 0.14468608796596527, -0.19995427131652832, 0.37394481897354126, -0.8379427790641785, -0.6592579483985901, 0.39659857749938965, -0.2143736332654953, -0.1891183704137802, 0.105224609375, 0.12338899075984955, -0.567051887512207, -0.003735735546797514, 0.6760556101799011, 0.1491951197385788, -0.7503681778907776, -0.4411872923374176, 0.007072778418660164, -0.3175833225250244, 0.1381760686635971, 1.0399200916290283, -1.0448139905929565, 0.11909081041812897, 0.4061245918273926, 0.9757426977157593, 0.37201017141342163, 0.6259133815765381, 0.4687584340572357, -1.1700488328933716, 0.19722631573677063, 0.16065986454486847, 0.2965489327907562, 0.296318918466568, -0.27066299319267273, 0.6286726593971252, 0.2751488983631134, -0.5145436525344849, -1.0045573711395264, 0.17438070476055145, -0.9061554074287415, -0.1792425960302353, 1.4719676971435547, -0.3137390613555908, 0.021663662046194077, 0.288790762424469, -0.24539713561534882, 0.22253748774528503, -0.03929469734430313, 0.6454662084579468, 0.8550527095794678, 0.20255795121192932, 0.16005612909793854, -0.33157166838645935, 0.4576543867588043, 0.39205309748649597, -0.9129084944725037, 0.6681497693061829, 0.7973302006721497, 0.3701831102371216, 0.601334273815155, 0.7921093702316284, -0.25758546590805054, -0.0547260120511055, -0.1899932473897934, 0.03347261622548103, -0.08220666646957397, -0.2051389515399933, 0.23824366927146912, 0.2614405155181885, 0.027087131515145302, -0.26752084493637085 ]
http://arxiv.org/abs/2407.01784v1
http://arxiv.org/pdf/2407.01784v1
Analyzing Persuasive Strategies in Meme Texts: A Fusion of Language Models with Paraphrase Enrichment
2024-07-01T20:25:20
2024-07-01T20:25:20
Kota Shamanth Ramanath Nayak, Leila Kosseim
cs.CL
cs.CL, cs.AI, cs.LG
This paper describes our approach to hierarchical multi-label detection of persuasion techniques in meme texts. Our model, developed as a part of the recent SemEval task, is based on fine-tuning individual language models (BERT, XLM-RoBERTa, and mBERT) and leveraging a mean-based ensemble model in addition to dataset augmentation through paraphrase generation from ChatGPT. The scope of the study encompasses enhancing model performance through innovative training techniques and data augmentation strategies. The problem addressed is the effective identification and classification of multiple persuasive techniques in meme texts, a task complicated by the diversity and complexity of such content. The objective of the paper is to improve detection accuracy by refining model training methods and examining the impact of balanced versus unbalanced training datasets. Novelty in the results and discussion lies in the finding that training with paraphrases enhances model performance, yet a balanced training set proves more advantageous than a larger unbalanced one. Additionally, the analysis reveals the potential pitfalls of indiscriminate incorporation of paraphrases from diverse distributions, which can introduce substantial noise. Results with the SemEval 2024 data confirm these insights, demonstrating improved model efficacy with the proposed methods.
[ -0.3512108623981476, -0.8216984868049622, 0.22250792384147644, 0.28502699732780457, -0.39586710929870605, 0.10738784819841385, -0.06500721722841263, 0.15703940391540527, 0.047516483813524246, 0.6518043279647827, -0.43980786204338074, -0.6465141177177429, -0.7032188177108765, 0.17155635356903076, -0.3525589108467102, 1.0636100769042969, 0.14413383603096008, 0.10878732055425644, -0.28760644793510437, -0.2442249059677124, -0.21214723587036133, -0.795022189617157, -0.2950631380081177, -0.2942546308040619, 0.4574114680290222, 0.768375813961029, 0.5336652994155884, 0.38961276412010193, 0.1536797732114792, 0.253837913274765, -0.15003326535224915, -0.05290189012885094, -0.2770049273967743, 0.20202095806598663, -0.3282558023929596, -0.21902237832546234, -0.14919357001781464, 0.2818259000778198, 0.6899791955947876, 0.44012394547462463, 0.0014689320232719183, -0.010424157604575157, 0.49340376257896423, 0.0809142217040062, -0.6929560899734497, -0.21614639461040497, -0.8173159956932068, -0.1633300632238388, -0.37939733266830444, -0.501137375831604, -0.4268922507762909, -0.030537180602550507, 0.19391298294067383, -0.043257225304841995, 0.10765545070171356, -0.10012009739875793, 0.722112238407135, 0.031401894986629486, -0.6210947036743164, -0.45850613713264465, -0.5416954159736633, 1.0567079782485962, -0.9775913953781128, 0.030380045995116234, 0.07483258843421936, 0.07260457426309586, 0.06213356554508209, -0.6966574192047119, -0.4630202353000641, 0.0506698340177536, 0.12557856738567352, 0.10769572108983994, -0.41555848717689514, -0.03905618563294411, 0.1402495950460434, 0.22048147022724152, -0.4584478735923767, 0.142451211810112, -0.048116836696863174, -0.2903035581111908, 0.205782949924469, -0.11349363625049591, 0.3830488622188568, -0.4503426253795624, -0.5715928077697754, -0.4819633364677429, -0.476793110370636, 0.20860739052295685, 0.5983198285102844, 0.09740907698869705, 0.11105893552303314, 0.5694540143013, -0.3622966706752777, 0.4908430874347687, 0.0934552401304245, -0.30097702145576477, 0.10367053747177124, -0.4838730990886688, -0.09711338579654694, 0.05033613368868828, 0.8231053352355957, 0.17414018511772156, -0.05483834072947502, 0.02613433077931404, -0.19762374460697174, 0.08629842847585678, -0.07491593062877655, -0.7407369613647461, -0.5563318133354187, -0.09242628514766693, -0.6905850172042847, -0.6470987200737, -0.11320935189723969, -1.117421269416809, -0.39757972955703735, -0.22635316848754883, 0.5650302171707153, -0.4873763620853424, -0.23440749943256378, 0.1865765005350113, -0.4941254258155823, 0.19558720290660858, -0.006848969962447882, -0.9124338626861572, -0.09906244277954102, 0.7178239822387695, 0.48094046115875244, 0.17384636402130127, -0.28924331068992615, -0.30614975094795227, 0.2577476501464844, -0.1619468331336975, 1.146269679069519, -1.305407166481018, -0.1895221769809723, -0.10455243289470673, -0.024796733632683754, -0.14270487427711487, -0.5781847238540649, 1.0124088525772095, -0.10202575474977493, 0.19163215160369873, -0.4808773696422577, -0.6603134274482727, -0.2026500403881073, 0.29167860746383667, -0.5094979405403137, 0.481235533952713, -0.2508144974708557, -0.7495437860488892, 0.27484673261642456, -0.5941774249076843, -0.331607848405838, -0.15732568502426147, -0.2055954784154892, -0.5169599652290344, -0.026436734944581985, 0.5449526906013489, 0.800514817237854, -0.339096337556839, 0.2838863730430603, -0.20837117731571198, 0.1838473230600357, 0.37207290530204773, -0.7839891910552979, 0.6640394926071167, 0.515713095664978, -0.32487010955810547, 0.09759165346622467, -0.5988790392875671, -0.17510554194450378, -0.12071657180786133, -0.4123533070087433, -0.7117677927017212, 0.061567727476358414, -0.2410849779844284, 0.2543818950653076, 0.3304036259651184, -0.39550814032554626, -0.09876757115125656, -0.05439174547791481, 0.44503799080848694, 0.6550875902175903, 0.37516677379608154, 0.4226127862930298, -0.3514717221260071, 0.5386391878128052, 0.08746553212404251, 0.0916975811123848, -0.4011494219303131, -0.453739196062088, -0.4254641830921173, -0.218598410487175, 0.25493231415748596, 0.4043959677219391, -0.8528912663459778, 0.24108025431632996, -0.1205974891781807, -0.5075873732566833, -0.33900466561317444, 0.286571204662323, 0.26169314980506897, 0.6287082433700562, 0.6468465924263, 0.19960007071495056, -0.5620517730712891, -1.1058179140090942, -0.741399884223938, 0.14302031695842743, 0.1257125437259674, -0.004380404949188232, 0.5055201053619385, -0.05629371106624603, 0.390595942735672, -0.08748417347669601, 0.1722189038991928, -0.3338819444179535, 0.7267870306968689, 0.032637402415275574, 0.5597819685935974, 0.6430650949478149, -0.8526241779327393, -0.5348814129829407, -0.11197559535503387, -0.7175123691558838, -0.4086534082889557, -0.29609227180480957, 0.018516968935728073, -0.41245895624160767, 0.49627256393432617, 0.07719425112009048, 0.19001871347427368, 0.6913892030715942, -0.3367960453033447, 0.6635774374008179, 0.11692355573177338, 0.7337111830711365, -1.1635916233062744, -0.5233261585235596, 0.4017624258995056, 0.2186104655265808, -0.8226180672645569, -0.19745133817195892, 0.11914179474115372, -0.0917004868388176, -0.3507302701473236, 0.13642404973506927, -0.3477388620376587, 0.6477037668228149, -0.4139317274093628, -0.3596794605255127, 0.01609279029071331, 0.25667044520378113, -0.14254344999790192, 0.5847914218902588, 0.6928048729896545, -0.7902432680130005, 0.16782021522521973, 0.20757868885993958, -0.24459868669509888, 0.9042563438415527, -0.6200602650642395, 0.0019083947408944368, -0.25659555196762085, 0.1908467411994934, -1.404853343963623, -0.25933119654655457, 0.4118593633174896, -0.35033664107322693, 0.22904974222183228, -0.0032047261483967304, -0.464692085981369, -0.28355392813682556, -0.4473816752433777, 0.10178572684526443, 0.3539934456348419, -0.7479087710380554, 0.3691258132457733, 0.4325723350048065, -0.3347139060497284, -0.5925012230873108, -0.3566528558731079, 0.4046150743961334, -0.9018969535827637, -0.5857309699058533, 0.2758692800998688, 0.09038181602954865, -0.125558003783226, -0.29853007197380066, -0.13668383657932281, 0.0022656721994280815, 0.039589639753103256, -0.13966739177703857, -0.20101629197597504, -0.15020820498466492, 0.20913854241371155, 0.49868300557136536, -0.0727558508515358, -0.14992620050907135, -0.28052011132240295, 0.5107016563415527, -0.11750101298093796, -0.2090880572795868, -0.45350438356399536, 0.4473828673362732, 0.5035197138786316, -0.2910434305667877, 0.6192593574523926, 0.4976303279399872, -0.07778347283601761, 0.09757594764232635, -0.8767395615577698, -0.3811482787132263, -0.4502798318862915, 0.21683090925216675, -0.5847707986831665, -0.665073573589325, 0.19948235154151917, -0.5044113993644714, 0.11070826649665833, 0.47135111689567566, 0.456989049911499, -0.26071515679359436, 1.2054418325424194, 0.2014208436012268, -0.0032462633680552244, 0.4163455665111542, -0.05972772091627121, 0.09457959234714508, -0.5483502745628357, -0.2514309287071228, -0.8285730481147766, -0.5676725506782532, -0.43606245517730713, -0.500374436378479, 0.26103731989860535, 0.11856460571289062, 0.024437740445137024, 0.4068903625011444, -0.7449710369110107, 0.3934504985809326, 0.5734735727310181, 0.13726508617401123, 0.216718390583992, 0.4106302857398987, -0.09002264589071274, -0.4161064624786377, -0.7133610844612122, -0.9958059787750244, 0.9879469871520996, 0.4158642590045929, 1.0386569499969482, 0.091155506670475, 0.6955521106719971, 0.231285959482193, 0.04567329213023186, -0.23988094925880432, 0.6875831484794617, -0.32809919118881226, -0.4833816587924957, -0.28112590312957764, -0.17402289807796478, -1.177742838859558, 0.3630225360393524, -0.39420968294143677, -0.5844429135322571, 0.413374662399292, 0.09106840193271637, 0.1813219040632248, 0.44594481587409973, -0.6083218455314636, 1.0734602212905884, -0.330248087644577, -0.17703016102313995, -0.39556950330734253, -0.5040276050567627, 0.13765521347522736, -0.03717683628201485, 0.006360442843288183, -0.17081330716609955, -0.1490394026041031, 1.0839569568634033, -0.14500726759433746, 0.8140336871147156, -0.11151926964521408, -0.10953350365161896, 0.4411931037902832, -0.42610105872154236, 0.6518642902374268, -0.44154733419418335, -0.24030862748622894, -0.14988981187343597, -0.057731419801712036, -0.6448199152946472, -0.41947436332702637, 0.7172924876213074, -0.5096994638442993, -0.6080600619316101, 0.08644826710224152, -0.5199751257896423, -0.13110025227069855, -0.08863095939159393, 0.47820767760276794, 0.4468458592891693, -0.27189958095550537, 0.9264835715293884, 0.7717663049697876, -0.3107514977455139, 0.3250077962875366, 0.14085714519023895, 0.4884425401687622, -0.5023322105407715, 1.1717431545257568, 0.2105327844619751, 0.24600064754486084, 0.5388274192810059, 0.6271236538887024, -0.5543587803840637, -0.638128936290741, 0.0783865824341774, 0.03807373344898224, -0.9623530507087708, 0.0033701476640999317, -1.052791953086853, 0.1986730843782425, -0.8375808000564575, 0.05105817690491676, -0.020682239904999733, -0.4691890776157379, -0.23630501329898834, 0.13622121512889862, -0.059172723442316055, 0.4945734143257141, 0.15244635939598083, 0.7727954387664795, -0.5718976855278015, -0.09482841938734055, 0.3868125081062317, -0.4336540699005127, -0.1349489688873291, -0.6506556272506714, 0.03340402618050575, 0.18838432431221008, -0.83909010887146, -1.4272122383117676, 0.26571473479270935, 0.008455692790448666, 0.9628437161445618, 0.642701268196106, 0.13311606645584106, 0.5747002959251404, -0.0527176707983017, 0.6378024220466614, 0.33755946159362793, -0.9055696129798889, 0.6424894332885742, -0.508724570274353, 0.15311028063297272, 0.4713941812515259, 0.7013456225395203, -0.16361579298973083, -0.6612051129341125, -1.0329824686050415, -0.6488845348358154, 0.17862407863140106, 0.16944298148155212, 0.3815920352935791, -0.07673019915819168, 0.1455218493938446, 0.24934318661689758, 0.3997761905193329, -0.9502497315406799, -0.22499586641788483, -0.28507140278816223, -0.2144797295331955, -0.045759864151477814, -0.5928588509559631, -0.07562878727912903, -0.3847467601299286, 0.8874427080154419, 0.049350857734680176, -0.20195312798023224, -0.14774607121944427, -0.12940528988838196, 0.36303603649139404, 0.6361212730407715, 0.4253234267234802, 0.44714832305908203, 0.19012029469013214, 0.3797878921031952, 0.13657382130622864, 0.012395121157169342, 0.3365977108478546, 0.09482695162296295, -0.17290997505187988, 0.15922893583774567, 0.11350417137145996, 0.7895958423614502, 0.32764825224876404, -0.2316877692937851, 0.3164784610271454, 0.30437958240509033, -0.4278493821620941, 0.5266287922859192, -0.11320127546787262, 0.1201174333691597, 0.4643482565879822, 0.3604886829853058, 0.07158350199460983, 0.45062056183815, -0.4359642267227173, 0.35697442293167114, 0.69688481092453, -0.21780532598495483, -0.3195533752441406, 0.6993594169616699, 0.3267512619495392, -0.009396262466907501, -0.02726617641746998, 0.0503111369907856, -0.5061259269714355, 0.5887447595596313, 0.6023446917533875, 0.7346360087394714, -0.6724199652671814, 0.454927533864975, 0.40443155169487, 0.40299761295318604, -0.05018433928489685, -0.21453194320201874, -0.2713029086589813, -0.6828157901763916, -0.143288716673851, -0.4105762243270874, -0.4455937147140503, 0.7136726975440979, -0.281410276889801, 0.4535270035266876, -0.1792653650045395, -0.09348927438259125, 0.5223056674003601, -0.278125137090683, -0.19667106866836548, 0.15360957384109497, 0.15809644758701324, 0.46813616156578064, -1.278113842010498, 0.551738440990448, 1.0527423620224, -0.32757899165153503, -0.7225772142410278, 0.38119837641716003, 0.059590235352516174, -0.4512646198272705, 0.0338849239051342, 0.14129655063152313, 0.07353188097476959, 0.13974569737911224, -0.9523434042930603, -0.4428131580352783, 0.7652032971382141, 0.20764650404453278, -0.19601735472679138, 0.289825439453125, -0.03297194093465805, 0.29568561911582947, -0.6377900242805481, 0.028547124937176704, 0.6073916554450989, 0.5343467593193054, 0.3417636454105377, -0.4225198030471802, -0.02286847122013569, -0.005850168410688639, -0.17466117441654205, -0.02999180741608143, -0.3667067289352417, 0.9638595581054688, 0.12774887681007385, -0.002794721396639943, 0.07146410644054413, 0.7498838901519775, 0.1568707525730133, 0.4243279695510864, 0.6624563336372375, 0.24617743492126465, 0.8275046944618225, 0.11796770989894867, 0.8585200309753418, -0.11625986546278, 0.15930430591106415, 0.9334272742271423, 0.07819938659667969, 0.5227056741714478, 0.47422176599502563, 0.12121715396642685, 0.5164255499839783, 0.7382020950317383, -0.10677814483642578, 0.6616449952125549, 0.03452911227941513, -0.558553159236908, -0.5092329978942871, -0.24779385328292847, -0.3456103503704071, 0.36652204394340515, 0.46774736046791077, -0.5297873020172119, -0.614225447177887, 0.3778657615184784, 0.14143496751785278, 0.3960166871547699, -0.09004800766706467, 0.7520444393157959, -0.14616802334785461, -0.8576079607009888, 0.5419802665710449, -0.002355702454224229, 0.7394102811813354, -0.43926942348480225, -0.003074723295867443, 0.13632963597774506, 0.1872311681509018, -0.16329887509346008, -0.6672219634056091, 0.09127786010503769, -0.1731879860162735, -0.030189266428351402, -0.3158760964870453, 1.098631739616394, -0.6974525451660156, -0.40038561820983887, -0.01071834284812212, 0.547315239906311, 0.3939572274684906, -0.2083159238100052, -1.1306949853897095, -0.18443985283374786, 0.4683181345462799, 0.01513671875, 0.3548371493816376, 0.670963704586029, -0.11414936929941177, 0.41280579566955566, 0.7660529017448425, -0.23902899026870728, -0.0621720589697361, 0.17891500890254974, 0.7927127480506897, -0.4117106795310974, -0.43811964988708496, -1.2585430145263672, 0.42097365856170654, -0.4719032347202301, -0.05635790526866913, 1.1843245029449463, 0.5080727934837341, 0.33800366520881653, -0.1994401067495346, 0.8790395855903625, 0.16250696778297424, 0.57237309217453, -0.26735052466392517, 0.2970845401287079, -0.5885980129241943, 0.38565051555633545, -0.6867538690567017, -0.8148120045661926, -0.03837372735142708, 0.5639060735702515, -0.5465531945228577, -0.19803769886493683, 0.5884009599685669, 0.9626840353012085, -0.08706321567296982, 0.19957248866558075, 0.4601183533668518, 0.15753918886184692, 0.607488751411438, 0.2714296281337738, 1.1807284355163574, -0.24070076644420624, 0.9584514498710632, -0.32984891533851624, -0.5099031925201416, -0.1597752869129181, -0.8721839189529419, -1.0311280488967896, -0.648136556148529, -0.713077187538147, -0.43071621656417847, 0.01607508398592472, 0.5795947909355164, 0.47870171070098877, -0.8043254613876343, -0.22318097949028015, 0.011378505267202854, 0.2040620893239975, -0.17255432903766632, -0.19045878946781158, 0.020138783380389214, -0.5985309481620789, -1.0415526628494263, 0.41015535593032837, 0.3621702492237091, 0.2217322587966919, 0.09342938661575317, 0.06269069761037827, -0.7836827039718628, 0.33631837368011475, 0.4432472586631775, 0.24634116888046265, -0.4977680444717407, 0.04723786935210228, -0.1488812118768692, -0.0422435998916626, -0.02914414182305336, 0.7264816761016846, -0.3194167912006378, 0.5551074743270874, 0.628609836101532, 0.53668612241745, 0.1825818419456482, 0.49154385924339294, 0.41337043046951294, -0.7087875008583069, 0.14611321687698364, 0.25599348545074463, 0.2366596907377243, 0.4274502992630005, -0.1581040769815445, 0.3820192813873291, 0.2839326858520508, -0.5874503254890442, -0.6458051800727844, -0.05392260476946831, -0.5177472233772278, -0.5463259816169739, 1.3473752737045288, 0.09138152748346329, -0.026336876675486565, -0.350643515586853, -0.2894406020641327, 0.07110513001680374, -0.422436386346817, 0.3567620515823364, 0.9892128705978394, -0.0012302275281399488, 0.02668686956167221, -0.40937745571136475, 0.4668988585472107, 0.8578025102615356, -0.6191228032112122, -0.16421553492546082, 0.3876500129699707, 0.3341338634490967, 0.3089849352836609, 0.4770641326904297, -0.039436325430870056, 0.1232994869351387, -0.005561720114201307, -0.08626582473516464, 0.444557785987854, -0.24138271808624268, -0.22081191837787628, 0.3036804795265198, -0.1716451197862625, -0.4556225538253784 ]
http://arxiv.org/abs/2407.01725v1
http://arxiv.org/pdf/2407.01725v1
DiscoveryBench: Towards Data-Driven Discovery with Large Language Models
2024-07-01T18:58:22
2024-07-01T18:58:22
Bodhisattwa Prasad Majumder, Harshit Surana, Dhruv Agarwal, Bhavana Dalvi Mishra, Abhijeetsingh Meena, Aryan Prakhar, Tirth Vora, Tushar Khot, Ashish Sabharwal, Peter Clark
cs.CL
cs.CL, cs.AI, cs.LG
Can the rapid advances in code generation, function calling, and data analysis using large language models (LLMs) help automate the search and verification of hypotheses purely from a set of provided datasets? To evaluate this question, we present DiscoveryBench, the first comprehensive benchmark that formalizes the multi-step process of data-driven discovery. The benchmark is designed to systematically assess current model capabilities in discovery tasks and provide a useful resource for improving them. Our benchmark contains 264 tasks collected across 6 diverse domains, such as sociology and engineering, by manually deriving discovery workflows from published papers to approximate the real-world challenges faced by researchers, where each task is defined by a dataset, its metadata, and a discovery goal in natural language. We additionally provide 903 synthetic tasks to conduct controlled evaluations across task complexity. Furthermore, our structured formalism of data-driven discovery enables a facet-based evaluation that provides useful insights into different failure modes. We evaluate several popular LLM-based reasoning frameworks using both open and closed LLMs as baselines on DiscoveryBench and find that even the best system scores only 25%. Our benchmark, thus, illustrates the challenges in autonomous data-driven discovery and serves as a valuable resource for the community to make progress.
[ -0.2635059654712677, -0.6996192336082458, 0.8737143278121948, 0.2250177264213562, 0.22994856536388397, 0.28749880194664, -0.3490622937679291, -0.1674158275127411, -0.235825315117836, 0.27207109332084656, -0.7572829723358154, -0.8737843632698059, -0.4666304886341095, 0.024119805544614792, -0.6734517216682434, 0.4007408916950226, -0.24840794503688812, -0.0427890382707119, -0.4233342707157135, 0.12121488898992538, -0.26243123412132263, -0.39897826313972473, -0.3876069188117981, -0.33556345105171204, 0.514422595500946, 0.37262797355651855, 0.3912551701068878, 0.8283244967460632, 0.6445990204811096, 0.22289730608463287, 0.04658038914203644, 0.11313496530056, -0.528460681438446, 0.18161743879318237, -0.39034900069236755, -0.4540429711341858, -0.30877915024757385, 0.007181925233453512, 0.42153504490852356, 1.1859160661697388, -0.22845126688480377, 0.2206687033176422, -0.08991095423698425, 0.7228929996490479, -0.48524680733680725, 0.5597501993179321, -0.4987087845802307, 0.020294491201639175, -0.3932982087135315, 0.0004201865231152624, -0.38483452796936035, -0.3462544083595276, 0.002143952762708068, -0.3830767571926117, 0.43641942739486694, 0.1253679245710373, 0.39488422870635986, 0.2919318974018097, -0.3886539041996002, -0.230119526386261, -0.6818758845329285, 0.9100478291511536, -0.5273034572601318, 0.46974360942840576, 0.08540365099906921, 0.4977196753025055, -0.6059060096740723, -0.7274294495582581, -0.3942975103855133, -0.3534466028213501, 0.14424504339694977, -0.3027864992618561, -0.13444927334785461, -0.143822580575943, 0.551989734172821, 0.6671916842460632, -0.9192267060279846, 0.10479461401700974, -0.022662706673145294, -0.2783818542957306, 0.6647787690162659, 0.22778509557247162, 0.08873945474624634, -0.10403377562761307, -0.09041541814804077, -0.3112770915031433, -0.7409632205963135, -0.21900273859500885, 0.2693227231502533, 0.4585784375667572, 0.042524270713329315, 0.5284799337387085, -0.738252580165863, 0.5016464591026306, -0.40425848960876465, 0.016450583934783936, 0.44634878635406494, -0.4868353009223938, -0.07429112493991852, -0.20678286254405975, 0.7153405547142029, 0.1727437973022461, 0.06099109724164009, -0.4109772741794586, -0.29236897826194763, 0.15252576768398285, 0.021480636671185493, -0.8621866703033447, -0.31936684250831604, 0.24669504165649414, -0.3920391798019409, -0.3034685552120209, 0.03561989963054657, -0.735111653804779, -0.7811630964279175, -0.3411514461040497, 0.2657761871814728, -0.09304307401180267, -0.289106160402298, 0.21354418992996216, -0.01970096118748188, 0.059352319687604904, 0.319624125957489, -0.39409416913986206, 0.5309364199638367, 0.6768481731414795, 0.696225106716156, -0.4225550591945648, -0.17087295651435852, -0.4999062418937683, -0.13225123286247253, -0.6253980994224548, 0.7501498460769653, -0.2179107367992401, -0.28297585248947144, -0.17463164031505585, 0.09790166467428207, 0.1343459039926529, -0.7757635116577148, 0.7882224917411804, -0.3709193766117096, -0.2582235038280487, -0.5547916293144226, -0.6198461055755615, -0.17080901563167572, 0.14247585833072662, -0.855904221534729, 1.284099817276001, 0.09731623530387878, -0.5682871341705322, 0.47143256664276123, -0.7094059586524963, -0.49346983432769775, 0.05929248780012131, -0.24069741368293762, -0.1359940767288208, 0.10105352103710175, 0.062312766909599304, 0.3503310978412628, -0.8680912256240845, 0.6637875437736511, -0.5474861860275269, -0.36399295926094055, 0.18913981318473816, -0.21667660772800446, 0.6105971932411194, -0.003947235178202391, -0.6828488707542419, 0.03405556082725525, -0.9860254526138306, 0.14959096908569336, 0.3398934602737427, -0.4343533515930176, -0.060010313987731934, 0.3274533450603485, 0.039226021617650986, 0.2156999558210373, 0.24838024377822876, -0.6903349161148071, 0.20682558417320251, -0.2038865089416504, 0.22361722588539124, 0.6868584752082825, -0.27941372990608215, -0.04201383516192436, -0.26942938566207886, 0.27902209758758545, -0.1544719934463501, 0.011652631685137749, -0.33113864064216614, 0.026663364842534065, -0.8097015023231506, -0.19603809714317322, 0.3582403063774109, 0.4517280161380768, -0.30456218123435974, 0.5469775795936584, -0.3332396149635315, -0.721646249294281, -0.31796443462371826, 0.27329427003860474, 0.2549075186252594, 0.5263211727142334, 0.33880341053009033, -0.30723774433135986, -0.7406396269798279, -0.996933102607727, -0.12503722310066223, 0.03920014202594757, -0.05549142137169838, 0.4318658113479614, 0.49986690282821655, -0.4660767912864685, 0.8006782531738281, -0.3658025860786438, -0.11369355022907257, -0.2528465986251831, 0.19391551613807678, 0.5345428586006165, 0.27127039432525635, 0.21994754672050476, -0.5888049006462097, -0.23765450716018677, 0.0307806134223938, -0.9829826354980469, -0.334567129611969, 0.22113166749477386, 0.05101574584841728, 0.14456357061862946, 0.6095921397209167, -0.47898831963539124, 0.42520490288734436, 0.3790723979473114, -0.005177373066544533, 0.4909156560897827, 0.0834721103310585, 0.10842077434062958, -0.4255262017250061, 0.5246638059616089, -0.21638549864292145, -0.12900657951831818, -0.3971071243286133, 0.16454076766967773, 0.05288228765130043, -0.1138627901673317, 0.014370188117027283, 0.5961539149284363, -0.3659225404262543, -0.3995822072029114, -0.37321189045906067, 0.03351041302084923, -0.1428598016500473, 0.1815047711133957, -0.09111669659614563, 0.694166362285614, 0.8748496174812317, -0.5349513292312622, 0.6168266534805298, 0.14650455117225647, -0.6108987331390381, 0.24780933558940887, -0.660846471786499, 0.32136255502700806, 0.010129242204129696, 0.37911996245384216, -0.7932536005973816, -0.3399663269519806, -0.23110172152519226, -0.10047841817140579, -0.033194176852703094, -0.1191869005560875, -1.1211767196655273, -0.551694929599762, -0.10642093420028687, 0.13559292256832123, 0.1464393436908722, -0.6986028552055359, 0.5081208944320679, 0.21492180228233337, -0.2946106791496277, -0.34725385904312134, -0.3907504677772522, 0.35919100046157837, 0.06215476244688034, -0.7297728657722473, 0.40134096145629883, -0.3857031464576721, -0.35520151257514954, -0.263170450925827, -0.40495020151138306, 0.12605412304401398, 0.31618398427963257, 0.46166667342185974, -0.005650911945849657, -0.01802206039428711, 0.31707730889320374, -0.285288542509079, -0.17675665020942688, 0.22627988457679749, -0.2758093774318695, 0.7511110305786133, -0.2568005621433258, -0.5781681537628174, -0.050458889454603195, 0.32952427864074707, 0.4746723175048828, -0.31929320096969604, 0.23646309971809387, 0.21852204203605652, -0.41145092248916626, -0.41071417927742004, -0.5803037285804749, -0.15773767232894897, -0.4427591860294342, 0.21754738688468933, -0.42515915632247925, -0.6507078409194946, 0.5076699256896973, -0.40756338834762573, 0.1798088699579239, 0.43773555755615234, 0.5193893313407898, 0.2050226777791977, 1.0194015502929688, 0.6721978187561035, -0.12811022996902466, -0.026359528303146362, -0.0727802962064743, 0.34009477496147156, -0.27507907152175903, -0.14655818045139313, -0.5766671895980835, -0.20369407534599304, -0.5543107390403748, -0.42983630299568176, 0.4693313539028168, -0.12588626146316528, -0.13407248258590698, 0.22858989238739014, -0.15413667261600494, 0.27386295795440674, 0.6782602071762085, -0.015480920672416687, 0.5091924667358398, -0.3228745758533478, -0.21198570728302002, 0.13846507668495178, -0.46960341930389404, -0.5502234697341919, 1.3706202507019043, 0.21112346649169922, 0.7600579857826233, -0.0726052075624466, 0.8905648589134216, 0.3677370548248291, 0.2677180767059326, -0.7651183009147644, 0.8085635900497437, 0.11643645167350769, -0.7400854229927063, -0.11651082336902618, -0.5596100687980652, -0.7949923276901245, -0.1598670929670334, 0.1386997550725937, -0.5348379611968994, 0.0995979830622673, -0.10987989604473114, -0.025696970522403717, 0.03524785116314888, -0.3115834891796112, 0.8635798692703247, -0.4192318618297577, -0.5589045286178589, -0.3454010784626007, -0.4275625944137573, 0.34873467683792114, -0.2966391444206238, 0.4465605318546295, -0.26551195979118347, 0.30969810485839844, 0.6877757906913757, -0.2982631027698517, 0.5714409351348877, -0.2638837695121765, -0.1986536830663681, 0.1500544399023056, 0.4230749011039734, 0.6309518218040466, -0.06680400669574738, -0.3486821949481964, -0.020511822775006294, -0.014870782382786274, -0.27263325452804565, -0.5284885168075562, 0.8073822259902954, -0.20722346007823944, -0.5280368328094482, -0.27949562668800354, -0.6149430871009827, -0.27509257197380066, 0.4940786063671112, -0.24824561178684235, 0.3641701638698578, -0.38467326760292053, 0.37405169010162354, 0.7628670930862427, -0.17359526455402374, 0.2915714681148529, 0.7678138613700867, -0.41096416115760803, 0.057191938161849976, 0.7925965785980225, -0.1933838278055191, -0.002543986774981022, 0.2693038284778595, 0.12955056130886078, -0.24055629968643188, -0.8110170960426331, -0.22084613144397736, 0.05924047529697418, -0.8769394159317017, -0.10874786227941513, -0.5156206488609314, 0.09252133965492249, -0.16428081691265106, 0.20903006196022034, -0.5964277982711792, -0.17195935547351837, 0.15837325155735016, -0.2420523315668106, 0.12245063483715057, 0.7076999545097351, -0.16627207398414612, -0.15233364701271057, -0.5345454812049866, 0.4181491434574127, 0.07437682151794434, 0.5915071368217468, -0.24462847411632538, 0.008385974913835526, -0.30090564489364624, -0.24709869921207428, -0.06830987334251404, -0.5260438919067383, 0.12005972117185593, -0.14333181083202362, 0.7187467813491821, 0.19461390376091003, 0.1656409502029419, 0.21439172327518463, -0.3668213188648224, 0.4066561162471771, -0.2843121886253357, -0.8703023195266724, 0.6204604506492615, -0.4570969343185425, 0.09414106607437134, 0.5759044885635376, 0.2343265414237976, -0.2773786187171936, 0.005235029384493828, -0.5943940281867981, -0.7940333485603333, 0.27732232213020325, -0.0706486627459526, -0.29512178897857666, 0.1770164966583252, 0.15726517140865326, 0.30833402276039124, 0.34570637345314026, -0.4928213357925415, -0.26480796933174133, 0.10823867470026016, -0.20575816929340363, -0.08184580504894257, 0.11470407992601395, -0.41092056035995483, -0.08800004422664642, 0.5718211531639099, -0.5332146883010864, 0.015205111354589462, 0.059274036437273026, -0.1995960921049118, -0.10972457379102707, 0.24266891181468964, 0.08644277602434158, 0.7838814854621887, -0.3078870177268982, 0.14718154072761536, -0.0787469819188118, -0.08781356364488602, 0.10585691779851913, 0.6108275055885315, -0.07785294950008392, -0.015943991020321846, 0.3125755488872528, 0.5443756580352783, 0.2341526448726654, -1.2657849788665771, 0.4246150851249695, -0.1110280454158783, -0.16636371612548828, -0.2552798092365265, 0.27881959080696106, 0.09495944529771805, 0.3047632575035095, 0.6183189749717712, -0.28374406695365906, 0.4433252215385437, -0.5846650004386902, 0.38349130749702454, 0.5478976368904114, 0.020640840753912926, -0.08824247866868973, 0.4322813153266907, -0.06065629795193672, 0.09865880757570267, 0.44248053431510925, -0.22490105032920837, -0.35364803671836853, 0.5182892084121704, 0.03130919486284256, 0.7699697613716125, 0.09041561931371689, 0.032908257097005844, 0.3584579825401306, 0.3180830776691437, -0.2697218358516693, 0.43567150831222534, -0.09661925584077835, -0.5172351002693176, -0.3967932164669037, -0.7035120725631714, -0.6478533148765564, 0.1961309313774109, -0.5727250576019287, 0.28480979800224304, -0.4058274030685425, 0.1653267741203308, 0.21869242191314697, 0.28887203335762024, -0.7818024754524231, 0.21424652636051178, 0.12155330926179886, 1.0588024854660034, -0.6535605788230896, 0.5653356313705444, 0.41881176829338074, 0.028436126187443733, -0.4930184483528137, -0.23453927040100098, 0.25159838795661926, -0.5785629153251648, 0.6980393528938293, 0.3630225956439972, -0.08010221272706985, -0.002966309664770961, -0.7329321503639221, -1.0507559776306152, 1.147694706916809, 0.3452921211719513, -0.7008613348007202, 0.11502045392990112, 0.1315428614616394, 0.42956480383872986, -0.3932850956916809, 0.08251285552978516, 0.8651612401008606, 0.7193148732185364, -0.00833438616245985, -1.0423916578292847, 0.24018746614456177, -0.34046363830566406, -0.256786048412323, 0.08849077671766281, -0.26120105385780334, 0.8373827934265137, -0.299148827791214, -0.347869336605072, 0.16151918470859528, 0.3952828347682953, 0.31887713074684143, 0.3971443474292755, 0.4249333441257477, 0.6803160309791565, 0.8970499038696289, -0.22616291046142578, 1.1410610675811768, -0.16773858666419983, 0.3468019664287567, 1.1170295476913452, -0.7282216548919678, 0.6401125192642212, 0.22860436141490936, -0.4109930098056793, 0.6588342785835266, 0.5699774026870728, -0.26748377084732056, 0.4053838551044464, 0.6980769038200378, -0.17601802945137024, -0.28657349944114685, -0.24527718126773834, -0.08169019967317581, 0.36338070034980774, 0.2674700915813446, -0.30270418524742126, -0.43024978041648865, -0.19278591871261597, -0.19780316948890686, 0.05696900561451912, -0.10460592806339264, 0.6608889698982239, -0.23800575733184814, -0.5912246704101562, 0.6013135313987732, 0.10135690122842789, 0.2697972357273102, -0.47456544637680054, 0.002765231067314744, -0.2971534729003906, 0.32679709792137146, -0.18332722783088684, -0.6237121224403381, 0.03713969141244888, -0.09280605614185333, -0.36055222153663635, -0.14966101944446564, 0.5726462602615356, -0.056735605001449585, -0.42824825644493103, 0.4684903919696808, 0.7020323276519775, 0.07814516127109528, -0.3344569206237793, -0.4865875244140625, 0.4061602056026459, -0.15825635194778442, -0.34367361664772034, 0.26360100507736206, 0.21356135606765747, -0.017019588500261307, 0.8959330320358276, 0.7743198871612549, -0.1599743664264679, 0.10663390159606934, 0.24476882815361023, 0.9550572633743286, -0.7957537770271301, -0.1051797941327095, -0.5442703366279602, 0.18239744007587433, -0.07666954398155212, 0.21197117865085602, 0.6887798309326172, 0.830572783946991, 0.8559940457344055, 0.04164992645382881, 1.2339537143707275, -0.30890393257141113, 1.051202416419983, -0.4398740530014038, 0.36204993724823, -0.3269863426685333, 0.30652520060539246, -0.10026846081018448, -0.8272383213043213, -0.20723822712898254, 0.3724938631057739, -0.20395013689994812, 0.04921291023492813, 0.6922515034675598, 1.0692193508148193, 0.013972226530313492, -0.047956325113773346, -0.018712405115365982, 0.2770848870277405, 0.5984634757041931, 0.5529646277427673, 0.7139312624931335, -0.2770266830921173, 0.40870925784111023, -0.3428312838077545, -0.38134077191352844, -0.106179378926754, -1.0140814781188965, -0.8143448829650879, -0.46274375915527344, -0.3992759883403778, -0.16705885529518127, -0.07747403532266617, 0.7746245861053467, 0.597088098526001, -0.8217440843582153, -0.46955618262290955, -0.6652167439460754, 0.04342884570360184, -0.24785089492797852, -0.26059243083000183, 0.2787075340747833, -0.2939562499523163, -0.6732280850410461, 1.1120496988296509, 0.27958038449287415, -0.1700601428747177, -0.5548450946807861, 0.08949767053127289, -0.015629729256033897, -0.07068116217851639, 0.3935628831386566, 0.3176948130130768, -0.4751933217048645, 0.08517239987850189, 0.12494415789842606, -0.046445805579423904, -0.09498828649520874, 0.8872846364974976, -0.9271392822265625, 0.4686327576637268, 0.42297354340553284, 0.7034645676612854, 0.6692637205123901, -0.2433566153049469, 0.6341109275817871, -0.5127911567687988, -0.2533421218395233, 0.16259682178497314, 0.37135568261146545, 0.5084599256515503, 0.011703605763614178, 0.8504291772842407, 0.31915342807769775, -0.4379940927028656, -1.1106212139129639, 0.20914919674396515, -0.8232342600822449, -0.09453181177377701, 1.0224016904830933, -0.09038086235523224, 0.090208500623703, -0.09337794780731201, -0.015774855390191078, -0.024731606245040894, -0.18078796565532684, 0.7756728529930115, 0.6798465251922607, -0.13911141455173492, -0.13643096387386322, -0.8441722393035889, 0.48339366912841797, 0.3297193646430969, -1.1533000469207764, 0.6258155703544617, 0.5687111616134644, 0.32832270860671997, 0.19884654879570007, 0.1249711737036705, -0.1554594486951828, 0.22657868266105652, -0.20445244014263153, 0.24129389226436615, -0.050604447722435, -0.4191111922264099, -0.070341557264328, 0.22922883927822113, 0.15107294917106628, 0.3803468346595764 ]
http://arxiv.org/abs/2407.01697v1
http://arxiv.org/pdf/2407.01697v1
NLPGuard: A Framework for Mitigating the Use of Protected Attributes by NLP Classifiers
2024-07-01T18:08:17
2024-07-01T18:08:17
Salvatore Greco, Ke Zhou, Licia Capra, Tania Cerquitelli, Daniele Quercia
cs.CL
cs.CL, cs.AI, cs.HC
AI regulations are expected to prohibit machine learning models from using sensitive attributes during training. However, the latest Natural Language Processing (NLP) classifiers, which rely on deep learning, operate as black-box systems, complicating the detection and remediation of such misuse. Traditional bias mitigation methods in NLP aim for comparable performance across different groups based on attributes like gender or race but fail to address the underlying issue of reliance on protected attributes. To partly fix that, we introduce NLPGuard, a framework for mitigating the reliance on protected attributes in NLP classifiers. NLPGuard takes an unlabeled dataset, an existing NLP classifier, and its training data as input, producing a modified training dataset that significantly reduces dependence on protected attributes without compromising accuracy. NLPGuard is applied to three classification tasks: identifying toxic language, sentiment analysis, and occupation classification. Our evaluation shows that current NLP classifiers heavily depend on protected attributes, with up to $23\%$ of the most predictive words associated with these attributes. However, NLPGuard effectively reduces this reliance by up to $79\%$, while slightly improving accuracy.
[ -0.33033567667007446, -0.7443772554397583, -0.1182553768157959, 0.17524197697639465, 0.07491464167833328, 0.16757573187351227, -0.07031310349702835, -0.6797390580177307, -0.2991718649864197, 0.7543926239013672, -0.3638576865196228, -0.45473748445510864, -0.6003175377845764, -0.14672428369522095, -0.06814480572938919, 1.4479126930236816, 0.3077071011066437, -0.35950779914855957, -0.3684537708759308, -0.12726226449012756, -0.5585751533508301, -0.6587777137756348, -0.8710632920265198, -0.6842227578163147, 0.4508790373802185, 0.08921333402395248, 0.9350937604904175, 0.42191562056541443, 0.5574900507926941, 0.1996879130601883, -0.13652312755584717, -0.0613897331058979, -0.29195913672447205, 0.10283613204956055, -0.14252956211566925, -0.5038502812385559, -0.6155102252960205, 0.041860975325107574, 0.308774471282959, 0.5356333255767822, -0.03531207889318466, 0.048007428646087646, 0.2867858409881592, 0.5595850348472595, -0.9748392701148987, 0.29464349150657654, -0.6978905200958252, 0.6438590884208679, -0.3174288272857666, -0.2725656032562256, -0.4874875545501709, -0.1805354356765747, 0.1572512984275818, -0.37938112020492554, 0.39290615916252136, -0.026447663083672523, 0.777668833732605, 0.41886138916015625, -0.18483245372772217, 0.2487739622592926, -0.6817596554756165, 0.9429764747619629, -0.8139577507972717, -0.07148679345846176, 0.9270699620246887, 0.09526955336332321, 0.13354846835136414, -0.5070266723632812, -0.4920656085014343, -0.11219601333141327, -0.4286271035671234, -0.1092667356133461, -0.5170460939407349, 0.4795740246772766, 0.5390105247497559, 0.3196125328540802, -0.6685614585876465, 0.46246546506881714, -0.4091778099536896, -0.37420904636383057, 0.8642538189888, -0.0371464379131794, 0.4222881495952606, -0.22945840656757355, -0.27196213603019714, 0.005707011558115482, -0.7134799361228943, 0.08332511782646179, 0.4594447910785675, 0.40869930386543274, 0.20917540788650513, 0.32893937826156616, -0.02859403006732464, 0.546734094619751, -0.07989675551652908, -0.33196568489074707, 0.5678439140319824, 0.23365183174610138, -0.45466694235801697, 0.22495001554489136, 0.904047429561615, 0.3832376003265381, 0.09086630493402481, -0.31851115822792053, -0.14308544993400574, 0.3637765944004059, 0.3907780945301056, -0.850469708442688, -0.42931798100471497, 0.23621051013469696, -0.369045227766037, -0.7211750745773315, -0.2941662073135376, -0.9381445050239563, -0.6038379073143005, -0.05702381208539009, 0.2289426326751709, -0.10710983723402023, -0.27129101753234863, 0.15647538006305695, -0.12750652432441711, 0.29401078820228577, 0.005296718329191208, -1.049846887588501, 0.2063300758600235, 0.9430649876594543, 0.8018432259559631, -0.21190060675144196, -0.12187190353870392, -0.41616180539131165, 0.16711381077766418, 0.10583525896072388, 0.5496135950088501, -0.7255954146385193, -0.34120360016822815, 0.026435017585754395, -0.05325473099946976, 0.2358352690935135, -0.4546775817871094, 0.8984144330024719, -0.3348684310913086, 0.3503114581108093, -0.0334341861307621, -0.37088441848754883, -0.23722928762435913, 0.24546149373054504, -0.7972254157066345, 1.090227484703064, 0.04100915044546127, -1.0828770399093628, 0.5088770985603333, -0.7399239540100098, -0.605011522769928, 0.3027639091014862, 0.06313546746969223, -0.935146152973175, -0.1664172261953354, 0.30365628004074097, 0.3663367033004761, -0.13494336605072021, 0.22147051990032196, -0.426436185836792, -0.25464850664138794, 0.08997876942157745, -0.6355559229850769, 1.0338224172592163, 0.11769706010818481, -0.41759058833122253, 0.11359048634767532, -0.7148346900939941, 0.06566748768091202, -0.03789390251040459, -0.2257544994354248, -0.5796151161193848, 0.06978534907102585, 0.09711772203445435, 0.18577873706817627, -0.05213214457035065, -0.6052439212799072, 0.061425987631082535, -0.3638138771057129, 0.35867658257484436, 1.04132080078125, -0.22530020773410797, 0.5782783031463623, -0.29964980483055115, 0.887080729007721, -0.44671493768692017, 0.1987694501876831, 0.18270333111286163, -0.5700787305831909, -0.7454182505607605, -0.355478435754776, 0.25500133633613586, 0.7639198899269104, -0.712112307548523, 0.7976173162460327, 0.10704472661018372, -0.4858686923980713, -0.6892114281654358, 0.15357227623462677, 0.6578395962715149, 0.6176276206970215, 0.4535943269729614, -0.4555516839027405, -0.4255917966365814, -0.8083810210227966, -0.3003431260585785, -0.20132039487361908, -0.37021031975746155, 0.10496407747268677, 0.2789323329925537, -0.2242291122674942, 0.9029378294944763, -0.5101904273033142, -0.664718508720398, -0.2687508463859558, 0.2562403976917267, -0.18425950407981873, 0.6626208424568176, 0.7932919859886169, -0.6875917911529541, -0.1698337346315384, -0.10398995876312256, -0.7078785300254822, -0.5516705513000488, -0.19041216373443604, -0.15907838940620422, 0.05273326858878136, 0.42241156101226807, -0.5444687604904175, 0.6097255945205688, 0.4839961528778076, -0.31590309739112854, 0.5179594159126282, 0.10214649140834808, -0.5050143003463745, -0.48014113306999207, 0.3361990451812744, -0.0840563178062439, -0.2143935114145279, -0.8139314651489258, 0.278804749250412, -0.21956613659858704, -0.219131737947464, -0.3156495988368988, 0.5004802346229553, -0.040963415056467056, 0.24978935718536377, -0.4438669979572296, -0.18743880093097687, 0.3074558973312378, 0.44924142956733704, 0.08599679917097092, 0.6623272895812988, 0.5448451638221741, -0.6794013977050781, 0.2452600747346878, 0.40738531947135925, -0.09017109125852585, 0.9163690209388733, -0.8008244037628174, 0.3335517644882202, -0.3750682771205902, 0.1367003470659256, -0.32070788741111755, 0.10496014356613159, 0.2638837695121765, -0.37782493233680725, 0.34867554903030396, -0.25411257147789, -0.035910218954086304, -0.29776835441589355, -0.441617488861084, 0.24268639087677002, 0.30087053775787354, -0.505516529083252, 0.6834414005279541, 0.698858380317688, -0.15929119288921356, -1.0927757024765015, -1.0411919355392456, 0.08818010985851288, -0.4434666335582733, -0.21589018404483795, 0.5622335076332092, -0.008006729185581207, 0.05541011318564415, 0.1749449074268341, 0.052335914224386215, -0.1889999508857727, 0.583009660243988, 0.38436561822891235, 0.17890681326389313, 0.09045498818159103, 0.39607444405555725, 0.04539322108030319, -0.3853755593299866, 0.42501819133758545, 0.05861484259366989, 0.5669869184494019, -0.13117611408233643, -0.2100316733121872, -0.22539487481117249, 0.36632585525512695, 0.044297754764556885, -0.6466556787490845, 0.8085689544677734, 0.8846096992492676, -0.3738532066345215, -0.5574851036071777, -0.13291077315807343, -0.0187066663056612, -0.5662532448768616, 0.42179661989212036, 0.05119245871901512, -0.9885854125022888, 0.24432291090488434, 0.3311038315296173, 0.2709495723247528, 0.42024099826812744, 0.20286022126674652, -0.0033318300265818834, 0.8076086044311523, 0.7367120981216431, -0.5323854684829712, 0.5219194293022156, -0.1655692756175995, 0.5825281739234924, -0.8930434584617615, -0.2535551190376282, -0.6829257011413574, -0.5285443067550659, -0.8453692197799683, -0.22290648519992828, 0.028901098296046257, -0.19465915858745575, -0.23615770041942596, 0.23858791589736938, -0.8142204284667969, 0.7304793000221252, 0.7043433785438538, 0.23255431652069092, 0.1655687391757965, -0.056958869099617004, 0.3228951096534729, -0.13165178894996643, -0.5303744077682495, -0.4783761501312256, 1.2270467281341553, 0.4827575087547302, 0.8638554811477661, -0.00048123387387022376, 0.5925334095954895, 0.6635552048683167, 0.4556938111782074, -0.8610666394233704, 0.6732336282730103, -0.22616751492023468, -0.6749035716056824, -0.12968838214874268, -0.5326220989227295, -1.026241421699524, 0.1949433535337448, -0.5015963315963745, -0.571033239364624, 0.17894349992275238, 0.29702702164649963, -0.17292124032974243, 0.513714611530304, -0.4443177580833435, 0.7818660736083984, -0.3718113601207733, -0.45840558409690857, 0.010020637884736061, -0.47864073514938354, 0.33515381813049316, -0.009130779653787613, -0.12579850852489471, -0.3118208050727844, 0.3227258324623108, 0.7262971997261047, -0.2316288948059082, 1.0305951833724976, -0.4169265627861023, 0.05651563033461571, -0.06214621663093567, -0.09553541988134384, 0.2284274399280548, -0.05339463800191879, -0.0916733518242836, 0.24984794855117798, -0.34586432576179504, -0.40699294209480286, -0.36024412512779236, 0.5214343667030334, -0.639131486415863, -0.49099013209342957, -0.7607462406158447, -0.5436171889305115, -0.21457640826702118, 0.27406665682792664, 0.13705964386463165, -0.05889816954731941, -0.3061928153038025, 0.3348504602909088, 0.7987922430038452, -0.5824065208435059, 0.30624648928642273, 0.18884046375751495, -0.23040184378623962, -0.1715637445449829, 0.9257879257202148, -0.09457346051931381, 0.29106178879737854, 0.34330302476882935, 0.2689222991466522, 0.10442735254764557, -0.5510038137435913, 0.05029373988509178, -0.2277214080095291, -0.6496894359588623, -0.5649198293685913, -0.6498279571533203, -0.5880476236343384, -0.17641566693782806, -0.06146492063999176, 0.10573539137840271, -0.463387668132782, -0.3078767955303192, -0.5725783109664917, 0.4337193965911865, 0.30406105518341064, 0.03834786266088486, 0.504598081111908, -0.44021862745285034, 0.37073370814323425, 0.5412505269050598, 0.5122537016868591, -0.14335846900939941, -0.2337673157453537, 0.12172074615955353, -0.08481262624263763, -0.5003865361213684, -0.46835511922836304, 0.62589430809021, 0.5320168733596802, 0.6673574447631836, 0.4531233608722687, 0.38161757588386536, 0.26292380690574646, -0.35092541575431824, 0.6468214988708496, -0.005875640083104372, -0.9170728921890259, 0.4537505805492401, -0.03370577096939087, 0.11484797298908234, 0.6631824970245361, 0.24348042905330658, -0.5641181468963623, -0.5538919568061829, -0.5555814504623413, -1.1046411991119385, 0.4121573567390442, 0.19400319457054138, 0.3129338324069977, 0.2098563313484192, 0.08736888319253922, 0.04052198678255081, 0.47165271639823914, -1.0019477605819702, -0.12405193597078323, -0.34039902687072754, -0.16623154282569885, 0.11975588649511337, -0.2653871178627014, -0.18374328315258026, -0.13054373860359192, 0.6997817754745483, -0.18176236748695374, 0.27519354224205017, -0.14951087534427643, -0.1819375455379486, 0.31926533579826355, 0.4539960026741028, 0.030610764399170876, 0.1259114295244217, -0.2296333611011505, 0.20502722263336182, 0.035208966583013535, -0.7592915892601013, -0.08862105756998062, 0.2973393201828003, -0.8608976006507874, -0.10676763951778412, 0.3378960192203522, 1.0195074081420898, -0.22808118164539337, -0.44833269715309143, 0.5221506953239441, -0.010081679560244083, -0.0819258987903595, -0.2176521122455597, 0.2916198670864105, -0.3059089183807373, -0.0390794612467289, 0.13305498659610748, 0.2567296028137207, 0.3476274609565735, -0.23708447813987732, 0.2677883505821228, 0.7116456031799316, -0.3727246820926666, -0.02328990399837494, 0.6581845283508301, 0.3494115471839905, -0.2742745578289032, 0.4762382507324219, -0.1534351110458374, -0.6652666926383972, 0.47154852747917175, 0.4730769991874695, 1.144869327545166, -0.37746766209602356, 0.34282150864601135, 0.19992490112781525, 0.6331973075866699, 0.058639951050281525, 0.1401756852865219, 0.043315887451171875, -0.8117195963859558, -0.3291296064853668, -0.7116495370864868, -0.5038670301437378, 0.30953896045684814, -0.7408689260482788, -0.010247588157653809, -0.9613605737686157, -0.3997785747051239, -0.007229777984321117, -0.2334713637828827, -0.7157882452011108, 0.15808458626270294, 0.10815809667110443, 0.5582597851753235, -1.188918113708496, 0.5265424251556396, 0.1465403288602829, -0.33406534790992737, -0.3676757216453552, -0.035467036068439484, 0.11078435927629471, -0.5644410252571106, 0.3077619671821594, 0.42281386256217957, -0.051330357789993286, -0.3867177367210388, -0.6183100342750549, -0.3607836365699768, 0.7429822087287903, 0.47631022334098816, -0.23362836241722107, 0.0005099194822832942, 0.3751780688762665, 0.6855695247650146, 0.07345183193683624, 0.13124437630176544, 0.7829110622406006, 0.400993287563324, -0.3757738769054413, -0.8339123129844666, -0.07661032676696777, -0.5527495741844177, 0.023084085434675217, 0.12863683700561523, -0.3733610212802887, 0.6054144501686096, 0.031133368611335754, -0.059310007840394974, -0.39408424496650696, 0.494621604681015, 0.16531546413898468, 0.2997620403766632, 0.4486829936504364, 0.663147509098053, 1.115465521812439, -0.35471802949905396, 0.9143761396408081, 0.19480577111244202, 0.28031831979751587, 1.250658631324768, -0.3143540322780609, 0.7825487852096558, 0.1681668609380722, -0.2735864818096161, 0.48285630345344543, 0.18858779966831207, -0.3352572023868561, 0.5945495963096619, 0.285093754529953, -0.5788118243217468, 0.0863795354962349, -0.5224709510803223, -0.30294400453567505, 0.6420058012008667, 0.4329051971435547, -0.4420870542526245, 0.1000613421201706, 0.25827130675315857, 0.42096400260925293, 0.11327844858169556, -0.30736851692199707, 0.7350267171859741, 0.04716893658041954, -0.3563051223754883, 0.3824431300163269, -0.027835963293910027, 1.005819320678711, -0.6623072028160095, -0.011330417357385159, -0.13880202174186707, 0.354441374540329, -0.5911421775817871, -0.9222760200500488, 0.4555017054080963, 0.17131006717681885, -0.07202810049057007, -0.5385246872901917, 1.0411657094955444, -0.5470001101493835, -0.632826566696167, 0.29487892985343933, -0.16056956350803375, -0.3615427613258362, 0.010554041713476181, -0.8546876907348633, -0.19270625710487366, -0.11936068534851074, -0.06035954877734184, 0.4293520450592041, 0.18200363218784332, 0.0440346784889698, 0.7512707710266113, 0.7819087505340576, 0.32339218258857727, -0.1532278209924698, 0.05593599006533623, 0.7967406511306763, -0.3898658752441406, -0.6390647888183594, -0.7001273036003113, 0.39842405915260315, -0.4064314663410187, -0.15420177578926086, 0.7204456925392151, 0.25784245133399963, 0.9863073825836182, 0.11791927367448807, 1.1634515523910522, -0.1092461496591568, 0.3551453948020935, -0.5414224863052368, 1.0705933570861816, -0.16194520890712738, 0.43503421545028687, -0.5640780925750732, -0.7030470371246338, -0.7233967781066895, 1.0495941638946533, -0.18791092932224274, 0.09383215010166168, 0.30583375692367554, 0.8523491024971008, 0.1375487893819809, 0.014233501628041267, 0.03045952320098877, -0.1663694977760315, 0.7607243657112122, 0.6186758875846863, 0.49355024099349976, -0.20302477478981018, 0.3308495879173279, -0.522576630115509, -0.19071519374847412, -0.0016668334137648344, -1.2261650562286377, -1.025748372077942, -0.021493790671229362, -0.4189404249191284, -0.3889848589897156, 0.04156005382537842, 0.6226394176483154, 0.48625367879867554, -0.8981817960739136, 0.06406552344560623, -0.019722560420632362, 0.21969756484031677, -0.377949059009552, -0.29553160071372986, 0.3422933518886566, -0.08686228096485138, -0.4256850481033325, 0.06246933341026306, 0.18845760822296143, -0.15961605310440063, -0.4455280601978302, 0.02611934393644333, 0.04339412972331047, -0.19723807275295258, 0.6023434996604919, 0.5613340139389038, -0.3656025230884552, -0.42103588581085205, -0.3330737352371216, 0.0035079577937722206, 0.03108363226056099, 0.6592678427696228, -0.8693272471427917, 0.519089937210083, 0.5987944602966309, 0.9304331541061401, 0.24168920516967773, -0.18558160960674286, 0.5904644727706909, -1.0308109521865845, 0.5043368339538574, 0.6434097290039062, 0.2634899318218231, 0.5626540184020996, -0.4611389636993408, 0.595605194568634, -0.0034706995356827974, -0.5730857253074646, -0.9103540182113647, 0.22247734665870667, -0.8126556277275085, -0.12178761512041092, 0.8414879441261292, -0.23986946046352386, -0.06167224049568176, -0.2992735803127289, -0.35069456696510315, -0.07644900679588318, -0.41874098777770996, 1.0240836143493652, 0.4389103353023529, 0.19077351689338684, -0.43839526176452637, -0.6915281414985657, 0.8765570521354675, 0.46689116954803467, -1.1457653045654297, 0.2792322337627411, 0.4208814799785614, 0.0253120306879282, 0.15563271939754486, 0.496861070394516, -0.08269244432449341, 0.17391884326934814, -0.42720848321914673, 0.24923528730869293, -0.04540678858757019, -0.26084282994270325, -0.3874572813510895, 0.22776827216148376, 0.10259923338890076, -0.030176369473338127 ]
http://arxiv.org/abs/2407.01687v1
http://arxiv.org/pdf/2407.01687v1
Deciphering the Factors Influencing the Efficacy of Chain-of-Thought: Probability, Memorization, and Noisy Reasoning
2024-07-01T18:01:07
2024-07-01T18:01:07
Akshara Prabhakar, Thomas L. Griffiths, R. Thomas McCoy
cs.CL
cs.CL, cs.AI
Chain-of-Thought (CoT) prompting has been shown to enhance the multi-step reasoning capabilities of Large Language Models (LLMs). However, debates persist about whether LLMs exhibit abstract generalization or rely on shallow heuristics when given CoT prompts. To understand the factors influencing CoT reasoning we provide a detailed case study of the symbolic reasoning task of decoding shift ciphers, where letters are shifted forward some number of steps in the alphabet. GPT-4 achieves zero accuracy on most shift ciphers with standard prompting, but with CoT its accuracy improves to an average of 32%. By focusing on a single relatively simple task, we are able to identify three factors that systematically affect CoT performance: the probability of the task's expected output (probability), what the model has implicitly learned during pre-training (memorization), and the number of intermediate operations involved in reasoning (noisy reasoning). We show that these factors can drastically influence the task accuracy; e.g., varying the output's probability of occurrence can shift accuracy from 26% to 70%. We also demonstrate that it is essential for the model to explicitly produce intermediate steps as output that can be conditioned on to increase the probability of the correct answer. Our experiments indicate that as long as the model does so, the validity of the demonstrations in the prompt does not matter. Overall, we conclude that CoT prompting performance reflects both memorization and a probabilistic version of genuine reasoning.
[ -0.23773622512817383, -0.9373814463615417, 1.0946969985961914, 0.15034356713294983, -0.4050060212612152, 0.2224678248167038, -0.1481393426656723, -0.5315983891487122, -0.13461993634700775, 0.2683548629283905, -0.5497817397117615, -0.43634381890296936, -0.8305355310440063, 0.27874213457107544, -0.5095121264457703, 0.917587399482727, -0.23120646178722382, -0.047574784606695175, 0.3102657198905945, 0.29790663719177246, -0.45005542039871216, -0.8492704033851624, -0.638620913028717, -0.36530813574790955, 0.4864378273487091, 0.16331902146339417, 0.7636979818344116, 0.3990929424762726, 0.47921761870384216, 0.25990983843803406, -0.15332232415676117, 0.0417940579354763, -0.4744493067264557, 0.2036820352077484, -0.27481162548065186, -0.8810818791389465, -0.23185394704341888, 0.0005752843571826816, 0.5503260493278503, 0.44780850410461426, -0.17491400241851807, -0.08451610803604126, 0.032150447368621826, 0.7408069372177124, -0.6779102683067322, 0.06756050139665604, -0.8448885083198547, -0.17050518095493317, -0.02599954791367054, -0.2982696294784546, -0.5406478643417358, -0.29643383622169495, 0.16582190990447998, -0.704664945602417, 0.27050846815109253, 0.027624206617474556, 0.3909212648868561, 0.0983085185289383, -0.40613824129104614, -0.7321996092796326, -0.8987184166908264, 0.7645275592803955, -0.3773845136165619, 0.4625180661678314, 0.620691180229187, -0.2264084666967392, -0.4231199622154236, -0.6388959288597107, -0.533559262752533, -0.22111795842647552, 0.2050938904285431, -0.046137094497680664, 0.027177594602108, 0.3225451111793518, 0.6775656342506409, 0.3210660219192505, -0.050318751484155655, -0.4264257550239563, -0.558158278465271, -0.21252499520778656, 0.35382112860679626, 0.2369946390390396, 0.2785833179950714, 0.27988094091415405, -0.2448415756225586, -0.2747141122817993, -0.666401743888855, 0.14995510876178741, 0.5007028579711914, 0.13439132273197174, 0.01588992029428482, 0.3724325895309448, 0.030254043638706207, 0.7007933259010315, 0.3238249719142914, -0.08680764585733414, -0.04988120123744011, -0.5823856592178345, -0.16951575875282288, 0.2658310830593109, 0.5362958312034607, -0.022091498598456383, 0.43973320722579956, -0.032130759209394455, -0.2757948338985443, 0.28232139348983765, 0.5307164788246155, -0.5464627742767334, -0.3814767599105835, 0.10267747938632965, -0.17215405404567719, -0.26698005199432373, 0.13915260136127472, -0.40635910630226135, -0.0971832424402237, -0.4109288454055786, 0.35685864090919495, -0.594506025314331, -0.14372971653938293, 0.26710617542266846, -0.3090876638889313, 0.030330194160342216, 0.3844955861568451, -0.8362606167793274, 0.4475434422492981, 0.6990457773208618, 0.7530122995376587, -0.09444144368171692, -0.3009199798107147, -0.3821122348308563, 0.11435558646917343, -0.7508886456489563, 0.6785266995429993, -0.7340223789215088, -0.17813506722450256, -0.06418796628713608, -0.10973171144723892, -0.36238425970077515, -0.18310017883777618, 0.35787656903266907, -0.553139865398407, -0.010076899081468582, -0.7362002730369568, -0.5048884153366089, -0.034333840012550354, 0.114400714635849, -0.665515124797821, 0.8795809149742126, 0.016495579853653908, -0.6038462519645691, 0.44518786668777466, -0.3044726252555847, -0.48245084285736084, -0.2805982232093811, -0.3864021897315979, -0.016639554873108864, 0.3500320017337799, 0.25874921679496765, 0.06721977144479752, -0.34462490677833557, 0.07911931723356247, 0.06449075788259506, -0.6100965738296509, 0.7554437518119812, -0.5533479452133179, 0.5794767141342163, 0.17819476127624512, -0.6072319746017456, -0.1567273736000061, -0.47771674394607544, 0.09825490415096283, -0.13851968944072723, -0.1779792606830597, -0.20210112631320953, -0.0002959737030323595, -0.5685417652130127, 0.378449946641922, -0.11904197931289673, -0.2848147749900818, 0.20745795965194702, -0.25885719060897827, 0.2877131700515747, 0.8405560255050659, 0.43457821011543274, 0.36241841316223145, -0.30575695633888245, 0.7573105096817017, 0.1801147162914276, 0.27412790060043335, -0.06531931459903717, -0.8350107669830322, -0.399876207113266, -0.0945405662059784, 0.25783878564834595, 0.29579758644104004, -0.8166513442993164, -0.1157865822315216, 0.20978780090808868, -0.19461050629615784, -0.4537732005119324, 0.18497450649738312, 0.546347439289093, 0.3213299810886383, 0.3288908004760742, -0.3268110454082489, -0.2775219976902008, -0.4519847333431244, -0.3423439860343933, -0.4119105041027069, 0.22272203862667084, -0.18103577196598053, 0.41780832409858704, 0.12630915641784668, 0.3590308725833893, -0.4872930347919464, 0.009676551446318626, -0.3113017976284027, 0.3947716951370239, 0.4270194172859192, 0.2484595626592636, 0.1149638444185257, -0.49472489953041077, -0.13883596658706665, -0.334656685590744, -0.4779813885688782, 0.029675854369997978, -0.37670958042144775, -0.3768146336078644, 0.2876904010772705, 0.6052169799804688, -0.6363528966903687, 0.7637714743614197, 0.29314330220222473, -0.36722806096076965, 0.8975529670715332, -0.38182324171066284, 0.3940028250217438, -0.5788127183914185, -0.22201110422611237, -0.25938886404037476, 0.2023225873708725, -0.6302569508552551, 0.24403488636016846, -0.016648245975375175, 0.19187979400157928, -0.3540003299713135, 0.013819609768688679, -0.5842026472091675, -0.03432561829686165, -0.19066718220710754, 0.18809621036052704, -0.041686151176691055, 0.5160861611366272, 0.13690437376499176, 0.9441202878952026, 0.4777944087982178, -0.8319281935691833, -0.06662492454051971, -0.08325760066509247, -0.3565966784954071, 0.17458681762218475, -0.5974728465080261, 0.42042288184165955, 0.19037851691246033, 0.2554357349872589, -1.0524832010269165, 0.22879432141780853, 0.17764347791671753, -0.20035074651241302, -0.03074697032570839, 0.06999771296977997, -0.4734537601470947, -0.4465769827365875, -0.24260002374649048, 0.5563160181045532, 0.5507787466049194, -0.27947792410850525, 0.5075845718383789, -0.10259193181991577, 0.21924754977226257, -0.6819940209388733, -0.4939965307712555, -0.10877759754657745, 0.13314877450466156, -0.18080724775791168, 0.24327495694160461, -0.06693913042545319, -0.38602402806282043, -0.22899731993675232, -0.6571865081787109, -0.008019658736884594, -0.04832129925489426, 0.13320501148700714, 0.29500436782836914, 0.09522100538015366, 0.19453610479831696, 0.027148695662617683, -0.0629882961511612, 0.5109072923660278, -0.4705468416213989, 0.6873130798339844, -0.24252396821975708, -0.4073773920536041, -0.4233047068119049, 0.025705112144351006, 0.6382225155830383, 0.019897112622857094, 0.7216064929962158, 0.4071345329284668, -0.11925968527793884, -0.24255067110061646, -0.4939233064651489, -0.4120121896266937, -0.46225932240486145, 0.11810916662216187, -0.7914616465568542, -0.4081689119338989, 0.5369221568107605, -0.05453469604253769, -0.15849484503269196, 0.23064546287059784, 0.5265836119651794, -0.18958570063114166, 1.1031855344772339, 0.2658367455005646, 0.08718747645616531, 0.4643336236476898, -0.3795260190963745, 0.4203004539012909, -1.0243724584579468, -0.17827779054641724, -0.36074304580688477, -0.3365495204925537, -0.6108548045158386, -0.5522500276565552, 0.33658912777900696, 0.29869547486305237, -0.23924338817596436, 0.20890283584594727, -0.6128287315368652, 0.5511035323143005, 0.45090949535369873, 0.41382691264152527, 0.3638533055782318, -0.06229538470506668, -0.4780825078487396, 0.4068796634674072, -0.7396849989891052, -0.3868290185928345, 1.189222812652588, 0.17149850726127625, 1.0991002321243286, 0.03235644847154617, 0.7822422981262207, 0.23414954543113708, -0.2968847453594208, -0.4823191165924072, 0.6440104246139526, 0.20579509437084198, -0.5298075675964355, -0.3546615242958069, -0.23994317650794983, -1.0538864135742188, -0.01570604182779789, -0.10608988255262375, -0.8310877084732056, 0.3010237216949463, 0.24218623340129852, -0.25591379404067993, 0.29968732595443726, -0.6155972480773926, 0.29095935821533203, -0.17601722478866577, -0.3369285464286804, -0.4857190251350403, -0.48769786953926086, 0.3310638666152954, -0.045567236840724945, 0.12033244222402573, 0.17216284573078156, -0.05474293604493141, 0.8450502157211304, -0.3300183415412903, 0.7890316843986511, 0.03031318262219429, -0.26006874442100525, 0.6579420566558838, 0.423562616109848, 0.8774513006210327, -0.07524184882640839, -0.006861666217446327, 0.21437576413154602, 0.07485849410295486, -0.24535633623600006, -0.8548551201820374, 0.4124874770641327, -0.8025408387184143, -0.9575282335281372, -0.5939714908599854, -0.7030119895935059, -0.1905030608177185, -0.18228833377361298, 0.43750810623168945, 0.5282825827598572, 0.053853411227464676, 0.012901125475764275, 0.8468888998031616, 0.07733241468667984, 0.26332738995552063, 0.05855396389961243, -0.2939036786556244, -0.21186427772045135, 0.6130786538124084, 0.19749899208545685, 0.8408415913581848, 0.2864692211151123, 0.19201460480690002, -0.40350061655044556, -0.5332783460617065, -0.19598668813705444, 0.08379193395376205, -1.0562838315963745, 0.09049200266599655, -0.5527750849723816, -0.17377810180187225, -0.14481885731220245, -0.27378177642822266, -0.12742601335048676, -0.5124427676200867, -0.07755690813064575, -0.281180202960968, 0.35080304741859436, 0.9449723362922668, 0.1617186963558197, 0.11232613027095795, -0.2756447494029999, 0.45234474539756775, 0.3707782030105591, 0.07536476105451584, 0.2490563988685608, -0.4472270905971527, -0.04302368685603142, 0.11849138885736465, -0.4032316207885742, -0.9911816120147705, -0.14240103960037231, -0.28177380561828613, 0.5296449661254883, 0.40982210636138916, 0.06955793499946594, 0.7679062485694885, -0.2128031998872757, 0.9181358218193054, 0.3365863859653473, -1.1807974576950073, 0.5241400599479675, -0.12525629997253418, 0.5347534418106079, 0.3823072612285614, 0.35121235251426697, -0.09016714990139008, -0.9248071908950806, -0.8211458921432495, -0.5814324021339417, 0.6391529440879822, 0.47257137298583984, -0.2849714756011963, -0.38493964076042175, 0.2788260281085968, -0.018621135503053665, 0.040180504322052, -0.5277777910232544, -0.044093526899814606, -0.003256815252825618, 0.005878903437405825, 0.16245640814304352, -0.1112397089600563, -0.0164560005068779, -0.3460996448993683, 0.5416703224182129, 0.045933276414871216, 0.5712767243385315, 0.5234208703041077, -0.21605825424194336, -0.18331246078014374, 0.36691734194755554, 0.8900070786476135, 1.094708800315857, -0.1132676973938942, 0.3389948904514313, 0.42316946387290955, -0.8152313828468323, 0.34873923659324646, -0.5605267882347107, -0.10158971697092056, -0.04886975511908531, 0.7262924909591675, 0.7681713104248047, 0.17000427842140198, -0.28211793303489685, 0.28015029430389404, -0.017966926097869873, -0.3509785830974579, -0.03490722179412842, 0.4797757565975189, -0.1723356992006302, 0.08469629287719727, 0.41925010085105896, 0.1976224035024643, 0.14179517328739166, -0.8947781920433044, -0.01359719131141901, 0.22866947948932648, -0.18561974167823792, -0.3949262499809265, 0.5576376914978027, -0.08728265017271042, -0.4558728337287903, 0.7977131605148315, -0.2196260690689087, -0.8049895167350769, 0.7962160110473633, 0.8622629642486572, 0.8541355133056641, -0.30947163701057434, 0.21860124170780182, 0.36513954401016235, 0.5946044325828552, -0.35169801115989685, 0.5852187871932983, -0.3185766339302063, -0.6045677065849304, -0.4742928147315979, -0.20863643288612366, -0.3167557716369629, -0.10133359581232071, -0.75206458568573, 0.11656151711940765, -0.5197950601577759, -0.4437849521636963, -0.28758934140205383, -0.0725746899843216, -0.9386735558509827, 0.24220415949821472, 0.04924724996089935, 0.9407833814620972, -0.6656540632247925, 0.783251166343689, 0.18867227435112, -0.3862791955471039, -1.0754051208496094, 0.3078872859477997, -0.17672209441661835, -0.9592024683952332, 0.7412654161453247, -0.1184813380241394, -0.47531595826148987, -0.18713660538196564, -0.4095536470413208, -0.974632978439331, 0.9203987717628479, 0.2199828326702118, -0.9404523372650146, -0.16407959163188934, 0.12103960663080215, 0.580815851688385, -0.44406071305274963, 0.4669395685195923, 0.6706050038337708, 0.4281579256057739, 0.244195356965065, -0.8623748421669006, 0.36173301935195923, 0.2157849669456482, 0.13449233770370483, 0.4342043399810791, -0.24980005621910095, 0.8672335147857666, -0.6711994409561157, -0.1249704509973526, -0.231846421957016, 0.3531584143638611, 0.5771798491477966, 0.29415595531463623, 0.4923209547996521, 0.3450244963169098, 0.97321617603302, -0.02475176565349102, 1.243443250656128, -0.412612646818161, -0.14093482494354248, 1.0151036977767944, -0.24041034281253815, 0.8014184832572937, 0.6827625632286072, -0.275973916053772, 0.9885270595550537, 0.3167474865913391, 0.27789953351020813, 0.6704824566841125, 0.37648725509643555, -0.2166619896888733, -0.16156895458698273, 0.3559849262237549, -0.3806048631668091, 0.19151459634304047, 0.5264241099357605, -0.6099886298179626, 0.14892108738422394, -0.09684192389249802, -0.16325698792934418, -0.17987069487571716, -0.5242407321929932, 0.6927322149276733, 0.1464376002550125, -1.033116102218628, 0.7149850130081177, -0.34307780861854553, 0.10443954169750214, -0.6143330931663513, -0.12416155636310577, 0.21949388086795807, 0.12137782573699951, -0.07605484127998352, -0.955403208732605, 0.1627282351255417, -0.16329823434352875, -0.26071280241012573, -0.09096626192331314, 0.6344711780548096, -0.27615392208099365, -0.5313470363616943, 0.22243870794773102, 0.4655744135379791, 0.27113327383995056, -0.11514710634946823, -0.5985510349273682, 0.4244688153266907, 0.011088117957115173, -0.2880583703517914, 0.2266836315393448, 0.7154656052589417, -0.3363337814807892, 0.5300790667533875, 0.817569375038147, 0.23975276947021484, 0.0878530740737915, 0.278193861246109, 0.8159758448600769, -0.8126798272132874, -0.5626296997070312, -1.0418275594711304, 0.2262430042028427, 0.012481164187192917, -0.35507217049598694, 0.5735241174697876, 0.1920040398836136, 0.6220245361328125, -0.09597545117139816, 0.599253237247467, 0.2170586735010147, -0.2781386077404022, -0.7709420919418335, 0.22728416323661804, 0.21951664984226227, 0.38512662053108215, -0.47660985589027405, -0.941999077796936, 0.22739219665527344, 0.5879132151603699, -0.6356241106987, 0.1810085028409958, 1.5075984001159668, 0.6991536021232605, 0.3116095960140228, 0.43746817111968994, 0.3498364984989166, 0.21645498275756836, 0.28708353638648987, 0.8683634996414185, 0.9742738604545593, -0.4485108256340027, 0.6236072182655334, -0.19452053308486938, -0.24221208691596985, 0.17227473855018616, -0.8563875555992126, -1.0690248012542725, -0.7067611217498779, -0.44364118576049805, -0.45664912462234497, 0.4060620963573456, 0.918627917766571, 0.4365501403808594, -0.6707740426063538, -0.1578998863697052, -0.699662446975708, 0.3328114449977875, -0.7273975610733032, -0.16204191744327545, 0.3559315502643585, -0.6299435496330261, -0.24542129039764404, 0.12456799298524857, 0.19127947092056274, -0.02403537556529045, 0.06444376707077026, -0.027761584147810936, -0.21438397467136383, 0.40154561400413513, 0.6115121841430664, -0.11206923425197601, -1.0803782939910889, -0.19740575551986694, 0.0925988107919693, 0.008977586403489113, -0.08131518214941025, 1.0678657293319702, -0.8474459648132324, 0.3921357989311218, 0.3338563144207001, 0.16466893255710602, 0.6175570487976074, 0.053362421691417694, 0.7965793609619141, -0.49223119020462036, -0.08786536008119583, 0.09000873565673828, 0.21732346713542938, -0.18632881343364716, -0.7310001254081726, 0.5459726452827454, 0.23870952427387238, -0.6817347407341003, -0.5589946508407593, 0.1967320591211319, -0.7100198268890381, -0.43624210357666016, 1.2653944492340088, 0.016836930066347122, -0.377385675907135, -0.30295270681381226, -0.35263705253601074, 0.15033692121505737, -0.47245633602142334, 0.9686074256896973, 1.1495604515075684, -0.41175469756126404, -0.21582098305225372, -0.26699575781822205, 0.5981578826904297, 0.304417222738266, -0.3164631426334381, 0.18345901370048523, 0.22686603665351868, 0.12690187990665436, 0.2438945174217224, 0.7663450837135315, -0.07082313299179077, 0.5590133666992188, 0.2972606122493744, -0.22677509486675262, 0.03855019435286522, -0.5618923306465149, -0.1976521611213684, 0.1981942355632782, 0.15127867460250854, -0.121149443089962 ]
http://arxiv.org/abs/2407.01527v1
http://arxiv.org/pdf/2407.01527v1
KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches
2024-07-01T17:59:47
2024-07-01T17:59:47
Jiayi Yuan, Hongyi Liu, Shaochen, Zhong, Yu-Neng Chuang, Songchen Li, Guanchu Wang, Duy Le, Hongye Jin, Vipin Chaudhary, Zhaozhuo Xu, Zirui Liu, Xia Hu
cs.CL
cs.CL
Long context capability is a crucial competency for large language models (LLMs) as it mitigates the human struggle to digest long-form texts. This capability enables complex task-solving scenarios such as book summarization, code assistance, and many more tasks that are traditionally manpower-intensive. However, transformer-based LLMs face significant challenges with long context input due to the growing size of the KV cache and the intrinsic complexity of attending to extended inputs; where multiple schools of efficiency-driven approaches -- such as KV cache quantization, token dropping, prompt compression, linear-time sequence models, and hybrid architectures -- have been proposed to produce efficient yet long context-capable models. Despite these advancements, no existing work has comprehensively benchmarked these methods in a reasonably aligned environment. In this work, we fill this gap by providing a taxonomy of current methods and evaluating 10+ state-of-the-art approaches across seven categories of long context tasks. Our work reveals numerous previously unknown phenomena and offers insights -- as well as a friendly workbench -- for the future development of long context-capable LLMs. The source code will be available at https://github.com/henryzhongsc/longctx_bench
[ -0.38154473900794983, -0.28161269426345825, 0.6299436688423157, 0.5921337604522705, -0.2524298131465912, -0.020848888903856277, -0.594892144203186, -0.4863611161708832, -0.024591058492660522, 0.4302581548690796, -0.4333750605583191, -0.2933328151702881, -0.49502918124198914, 0.15435995161533356, -0.6312612891197205, 0.5458239316940308, -0.2752271592617035, -0.1527663618326187, -0.6310399770736694, -0.17396670579910278, -0.8063828349113464, -0.6442215442657471, -0.25458285212516785, -0.2741531729698181, 0.4093123972415924, 0.30971917510032654, 0.031190019100904465, 0.3608822524547577, 0.3575960397720337, 0.2182169258594513, -0.16582587361335754, -0.07697460055351257, -0.5822272300720215, 0.5170539617538452, -0.03789890184998512, -0.2803671956062317, -0.49191927909851074, -0.4338418245315552, 0.8185392618179321, 0.5401456356048584, -0.08489765226840973, 0.26952770352363586, 0.27951595187187195, 0.8668667674064636, -1.0288761854171753, 0.22597570717334747, -0.4078506529331207, -0.1664360910654068, -0.4136928617954254, 0.005874933209270239, -0.6441943049430847, -0.05197684094309807, -0.0803721621632576, -0.32910946011543274, -0.10058106482028961, -0.2685537338256836, 0.4183363914489746, 0.5518317818641663, -0.6574435830116272, -0.06087777763605118, -0.8948692679405212, 0.8909072875976562, -0.4901074767112732, 0.6209544539451599, 0.2891814112663269, 0.601298451423645, -0.2540242373943329, -1.1348602771759033, -0.5486399531364441, -0.038404304534196854, 0.06290294229984283, 0.26999297738075256, -0.09663683921098709, -0.00024168951495084912, 0.1741492599248886, 0.3942195475101471, -0.2660521864891052, 0.2006799727678299, -0.10964144766330719, -0.20359940826892853, 0.2095138132572174, 0.10979354381561279, -0.17739591002464294, -0.2437228560447693, -0.5876598954200745, -0.32884037494659424, -0.7722585201263428, 0.3226451277732849, 0.03785460442304611, 0.052966002374887466, -0.10592241585254669, 0.36192256212234497, -0.6178465485572815, 0.6732453107833862, -0.32295292615890503, 0.15831561386585236, 0.01122565008699894, -0.2809065878391266, -0.2154279351234436, -0.11636391282081604, 0.49933290481567383, 0.3598891496658325, 0.05108386278152466, -0.404714971780777, -0.3966016173362732, 0.048188403248786926, 0.38718628883361816, -0.8593923449516296, 0.18518410623073578, 0.23576796054840088, -0.33080217242240906, -0.15273575484752655, -0.1289757639169693, -0.9649608731269836, -0.24754813313484192, -0.2781822085380554, 0.37310147285461426, 0.04085656255483627, -0.019154753535985947, 0.22477960586547852, -0.15032124519348145, 0.41445547342300415, 0.19908159971237183, -0.6800493001937866, 0.5462237596511841, 0.9105269312858582, 0.7301520109176636, -0.6182416677474976, -0.10717408359050751, -0.623293936252594, 0.07284864783287048, -0.04658105596899986, 0.7339574694633484, -0.434916228055954, -0.5504833459854126, 0.24627810716629028, 0.18569932878017426, 0.26305684447288513, -0.49264654517173767, 1.000906229019165, -0.5866222977638245, -0.15292437374591827, -0.6749114394187927, -0.4899400770664215, 0.0544050857424736, 0.3118526041507721, -0.8666532039642334, 1.239357590675354, 0.3614296019077301, -0.4889857769012451, 0.22510451078414917, -0.38505327701568604, -0.4162079691886902, 0.11466707289218903, -0.063213050365448, -0.1556873321533203, 0.3304089903831482, 0.13801893591880798, 0.6066734790802002, -0.5820099115371704, 0.4012482762336731, -0.17834454774856567, -0.29470911622047424, 0.19437895715236664, -0.5163175463676453, 0.2823277711868286, 0.018307814374566078, -0.4306011497974396, 0.13984790444374084, -0.8106494545936584, 0.09825388342142105, 0.09158322215080261, -0.41500845551490784, -0.27064943313598633, 0.12134810537099838, 0.22503399848937988, 0.31945788860321045, 0.3412739038467407, -0.42828884720802307, 0.33520954847335815, -0.056711163371801376, 0.6070873141288757, 0.8058904409408569, -0.39847561717033386, 0.3029044270515442, -0.10578639060258865, 0.3566845655441284, -0.13147780299186707, 0.056826576590538025, -0.2724159359931946, 0.0312428530305624, -0.925243079662323, -0.14609195291996002, 0.3577161729335785, 0.23917359113693237, -0.7530069947242737, 0.2853192389011383, -0.970184862613678, -0.503695011138916, -0.11988360434770584, -0.03593326359987259, 0.384016752243042, 0.6611360311508179, 0.4609195590019226, -0.5000882148742676, -0.4357343912124634, -0.9929249286651611, -0.09432381391525269, 0.020124267786741257, -0.028945354744791985, 0.45495739579200745, 0.5290712118148804, -0.053304754197597504, 1.078037142753601, -0.29858019948005676, 0.05696415156126022, 0.08720006793737411, 0.016061702743172646, 0.09771737456321716, 0.3497181832790375, 0.34896793961524963, -0.7861075401306152, -0.23553839325904846, -0.20113013684749603, -0.5909021496772766, -0.15212328732013702, 0.05966959521174431, 0.039032042026519775, 0.28377386927604675, 0.6327245235443115, -0.7927919626235962, 0.42079633474349976, 0.624875009059906, 0.10130830854177475, 0.8115089535713196, -0.08871059119701385, 0.017820170149207115, -1.0497775077819824, 0.4302106499671936, -0.2257210910320282, -0.4206407368183136, -0.5160589218139648, 0.27131760120391846, 0.4665493071079254, 0.03623172640800476, -0.5093003511428833, 0.7164446711540222, -0.381897896528244, -0.22835543751716614, -0.3949010968208313, -0.1537889689207077, -0.13155575096607208, 0.47887423634529114, 0.11103541404008865, 0.8605496883392334, 0.17276515066623688, -0.6055203676223755, 0.42361772060394287, -0.14961673319339752, -0.4462305009365082, 0.35809850692749023, -0.869361162185669, 0.23480679094791412, 0.007030023727566004, 0.8606192469596863, -0.8972210884094238, -0.1954239159822464, -0.09634317457675934, -0.14914126694202423, 0.5503906011581421, -0.1120048314332962, -0.7274935841560364, -0.5538367033004761, -0.3156116306781769, 0.874628484249115, 0.6414116024971008, -0.719970166683197, 0.5178019404411316, 0.041388776153326035, -0.001826789928600192, -0.8009560108184814, -0.48118409514427185, 0.29833951592445374, -0.17764219641685486, -0.5431715846061707, 0.6739850640296936, -0.21131454408168793, 0.053441084921360016, -0.31575337052345276, -0.4481542408466339, 0.04234683886170387, 0.1287102997303009, 0.2850351333618164, -0.03680609166622162, -0.1913578063249588, 0.2831505239009857, -0.1329669952392578, -0.3058578372001648, 0.16905008256435394, -0.2924283742904663, 0.70973801612854, -0.23022033274173737, -0.3530307114124298, -0.12730008363723755, 0.4231269359588623, 0.7737830281257629, -0.03512032330036163, 0.44359147548675537, 0.5663611888885498, -0.3869890570640564, -0.172099307179451, -0.717460572719574, -0.06325129419565201, -0.4532494843006134, 0.3795887231826782, -0.13214367628097534, -1.0872398614883423, 0.620348334312439, -0.30757102370262146, 0.03783983737230301, 0.4723312556743622, 0.6753638982772827, 0.2793046236038208, 0.5023759007453918, 0.5961124897003174, -0.43800604343414307, 0.12689432501792908, -0.00953941885381937, 0.048764824867248535, -0.8486732840538025, -0.18910843133926392, -0.7442594766616821, -0.3055786192417145, -0.498912513256073, -0.5757884979248047, 0.3253365755081177, 0.045399151742458344, -0.05490977689623833, 0.37943947315216064, -0.45960554480552673, 0.3993108868598938, 0.4175611138343811, -0.2056414633989334, 0.11627370119094849, -0.3324163258075714, 0.05448232963681221, 0.11263696849346161, -0.4095980226993561, -0.19915299117565155, 0.9018905758857727, 0.3469788730144501, 0.6573376059532166, 0.09892188012599945, 0.5462836623191833, 0.26677414774894714, 0.16314436495304108, -1.0082306861877441, 0.5582613348960876, 0.12584702670574188, -0.33203622698783875, -0.19617213308811188, -0.24952416121959686, -0.9934667944908142, -0.06428886204957962, 0.05173333361744881, -0.7790878415107727, 0.009171465411782265, -0.03020358830690384, -0.011498215608298779, 0.05409492179751396, -0.38207924365997314, 0.7497608065605164, -0.05563740059733391, -0.5828226804733276, -0.2249918282032013, -0.8878161311149597, 0.18299905955791473, -0.09920168668031693, -0.0031561872456222773, 0.21519075334072113, -0.1788836121559143, 0.6491963267326355, -0.28025415539741516, 0.8039615750312805, 0.03227798640727997, -0.21560540795326233, 0.05873089283704758, -0.03043479286134243, 0.78221195936203, -0.08645247668027878, 0.142058864235878, 0.08046866953372955, 0.015048614703118801, -0.5904783010482788, -0.6380050778388977, 0.8737772107124329, -0.46380844712257385, -0.4484848380088806, -0.2520723342895508, -0.4295736849308014, -0.40495428442955017, 0.3498685657978058, 0.25415414571762085, 0.5470010042190552, -0.19510102272033691, 0.503073513507843, 0.5975269079208374, 0.017268341034650803, 0.8311430215835571, 0.20839683711528778, -0.016907693818211555, -0.3660971522331238, 0.7609105706214905, -0.08611293137073517, 0.1407000720500946, 0.5016695857048035, -0.03432073816657066, -0.2134762406349182, -0.6172680854797363, -0.17710159718990326, 0.05219161882996559, -0.9427239894866943, -0.47968530654907227, -0.44579941034317017, -0.23407459259033203, -0.3773326277732849, -0.11675556749105453, -0.6243270635604858, -0.38115519285202026, -0.1335626095533371, 0.25616830587387085, -0.03877922147512436, 0.5881967544555664, 0.477803498506546, 0.24720993638038635, -0.8612270355224609, 0.06958010047674179, 0.36622264981269836, 0.5420731902122498, 0.3104982376098633, -0.06421341747045517, -0.37960270047187805, -0.14326788485050201, -0.35523921251296997, -0.45904111862182617, 0.17462530732154846, -0.10602497309446335, 0.39444851875305176, 0.08374707400798798, 0.2989112138748169, 0.7290910482406616, -0.49472296237945557, 1.0336925983428955, -0.0071715423837304115, -0.9305552840232849, 0.12364058941602707, -0.1494174599647522, 0.5167381763458252, 0.5195426940917969, 0.2771313488483429, -0.6866816878318787, 0.1608889102935791, -0.39149898290634155, -1.1711294651031494, 0.17518840730190277, 0.36923936009407043, 0.13663969933986664, -0.14355488121509552, 0.3747766315937042, 0.1722833663225174, 0.20881761610507965, -0.6165391206741333, -0.036521248519420624, 0.007619488053023815, -0.0811750739812851, -0.13350525498390198, -0.4218975007534027, -0.07712660729885101, -0.04796088486909866, 0.4320259094238281, -0.1850825548171997, 0.27923375368118286, 0.24231305718421936, -0.3376421332359314, 0.17796115577220917, 0.5882616639137268, 0.9583227038383484, 0.546954870223999, -0.1355888694524765, 0.13962815701961517, 0.22825488448143005, -0.4391123354434967, -0.005068154539912939, 0.06849731504917145, 0.27956315875053406, -0.19732071459293365, 0.3484251797199249, 0.52777099609375, 0.4362759292125702, -0.6622155904769897, 0.6611757874488831, -0.3815461993217468, 0.014567683450877666, -0.4565865993499756, -0.2217392772436142, 0.05959591269493103, 0.11811304092407227, 0.5599492788314819, -0.2536240816116333, 0.06890862435102463, -0.23540742695331573, -0.022350171580910683, 0.4022371172904968, -0.3745224177837372, -0.4172707498073578, 0.2874804735183716, 0.36000093817710876, -0.09298068284988403, 0.6485097408294678, 0.17755858600139618, -0.5626969933509827, 0.37516921758651733, 0.6029976010322571, 0.9051654934883118, 0.21014495193958282, -0.48351460695266724, 0.13382352888584137, 0.04370991513133049, -0.340332567691803, -0.139534592628479, -0.6634876728057861, -0.20415036380290985, -0.7729017734527588, -0.710298478603363, -0.2390296757221222, 0.29426246881484985, -0.8335826396942139, 0.26516294479370117, 0.09963005036115646, -0.08450110256671906, -0.17301033437252045, 0.06831743568181992, -0.7243906855583191, -0.09873530268669128, 0.06715112924575806, 1.3733770847320557, -0.47320690751075745, 0.821897566318512, 0.31322845816612244, 0.2052570879459381, -0.3994283974170685, -0.027084296569228172, -0.2073519080877304, -0.6319743394851685, 0.6631777286529541, 0.41166990995407104, -0.18144074082374573, -0.14427268505096436, -0.5248793363571167, -0.7582105398178101, 1.2723852396011353, 0.24391299486160278, -0.6214069128036499, -0.27116626501083374, 0.08608034253120422, 0.38444793224334717, -0.10131514072418213, 0.034254953265190125, 0.5088124871253967, 0.5142210721969604, -0.0512496680021286, -1.0427249670028687, 0.1873256415128708, -0.2469014823436737, 0.15722115337848663, 0.5950236916542053, -0.6348492503166199, 0.3230542242527008, 0.2971828579902649, -0.18425308167934418, 0.45076680183410645, 0.8311149477958679, -0.04248042032122612, 0.2860583961009979, 0.5217077136039734, 0.7016369104385376, 0.35473987460136414, -0.010841552168130875, 1.1435580253601074, -0.47397738695144653, 0.37478041648864746, 0.9784027338027954, -0.2712632119655609, 1.046747088432312, 0.7615372538566589, -0.14506615698337555, 0.33132699131965637, 0.5168558955192566, 0.21389709413051605, 0.45602551102638245, 0.34907662868499756, -0.4667126536369324, -0.26650765538215637, -0.2727203071117401, -0.4974064826965332, 0.36971449851989746, 0.30151039361953735, -0.05698571354150772, -0.23809297382831573, -0.18702790141105652, -0.1465027928352356, -0.23075850307941437, -0.1403246819972992, 0.6072098016738892, 0.1755560338497162, -1.0059385299682617, 0.6373134255409241, -0.11844512075185776, 0.7102141380310059, -0.6064175367355347, 0.07324636727571487, -0.022216279059648514, -0.01872052066028118, 0.04908362776041031, -0.6807148456573486, 0.04828619584441185, -0.20178982615470886, -0.32185205817222595, -0.3050277829170227, 0.8223409056663513, -0.08731008321046829, -0.04104083031415939, 0.2468605488538742, 0.4280850291252136, -0.05671578273177147, -0.016220197081565857, -0.00723665114492178, 0.28686171770095825, -0.468133807182312, -0.30640584230422974, 0.6141079068183899, 0.1683618277311325, -0.23583872616291046, 0.6273661851882935, 0.49552035331726074, -0.027230527251958847, -0.1656348705291748, 0.04276076704263687, 1.0410972833633423, -0.7361952662467957, -0.29116109013557434, -0.8360626101493835, 0.5458520650863647, -0.08171652257442474, -0.2832624912261963, 0.4817066788673401, 0.5172231197357178, 0.7678550481796265, 0.12188391387462616, 0.4658834934234619, 0.1323302686214447, -0.07837027311325073, -0.5927020311355591, 0.5003675818443298, -0.555351197719574, 0.11724747717380524, -0.15626126527786255, -0.959077000617981, -0.14916357398033142, -0.05756150558590889, 0.13387738168239594, 0.10432597994804382, 0.6910131573677063, 0.4049535393714905, -0.19759272038936615, -0.13101008534431458, 0.21250692009925842, 0.04313766583800316, 0.48574861884117126, 0.6928457617759705, 0.7408174276351929, -0.3368987441062927, 0.5604456067085266, -0.3227013349533081, -0.03313340246677399, -0.42645394802093506, -1.387575626373291, -0.5164803862571716, -0.9120378494262695, 0.047757767140865326, -0.37844324111938477, 0.007231787778437138, 0.7233932614326477, 0.8706062436103821, -0.28668490052223206, -0.18977375328540802, -0.11145156621932983, -0.0494411326944828, -0.1385677456855774, -0.1631738543510437, 0.4196792542934418, -0.21385367214679718, -0.520400881767273, 0.3657454252243042, 0.35024333000183105, 0.0640743300318718, -0.28718534111976624, -0.09861435741186142, 0.4263383150100708, -0.19709575176239014, 0.8442533612251282, 0.4164506196975708, -0.7401641011238098, -0.41229575872421265, 0.21908704936504364, -0.10255077481269836, 0.0793614536523819, 1.0781363248825073, -1.073327898979187, 0.5169929265975952, 0.5908963680267334, 0.9519029259681702, 0.677105188369751, -0.171162411570549, 0.5851952433586121, -0.9376751780509949, 0.004781276453286409, 0.40645286440849304, 0.4672657251358032, 0.25505179166793823, -0.1051999032497406, 0.49459126591682434, 0.0442788265645504, -0.9117075204849243, -1.1440770626068115, 0.23363104462623596, -1.5493766069412231, -0.0997336134314537, 1.1356310844421387, -0.05415475368499756, -0.5516071319580078, 0.1781269609928131, 0.12206882983446121, 0.35428425669670105, -0.36996135115623474, 0.8081880211830139, 1.0336902141571045, 0.16830477118492126, -0.06023533642292023, -0.5820691585540771, 0.38869407773017883, 0.4628070890903473, -0.8211157917976379, 0.47611796855926514, 0.39316290616989136, 0.032894108444452286, 0.13955922424793243, 0.4432803988456726, -0.06824740767478943, 0.4518890976905823, -0.3378746807575226, 0.05819685384631157, -0.04793010652065277, -0.278105229139328, -0.5824360847473145, 0.10093954205513, 0.08371874690055847, 0.1665199100971222 ]
http://arxiv.org/abs/2407.01525v2
http://arxiv.org/pdf/2407.01525v2
Empowering 3D Visual Grounding with Reasoning Capabilities
2024-07-01T17:59:35
2024-07-02T07:37:56
Chenming Zhu, Tai Wang, Wenwei Zhang, Kai Chen, Xihui Liu
cs.CV
cs.CV, cs.AI, cs.CL
Although great progress has been made in 3D visual grounding, current models still rely on explicit textual descriptions for grounding and lack the ability to reason human intentions from implicit instructions. We propose a new task called 3D reasoning grounding and introduce a new benchmark ScanReason which provides over 10K question-answer-location pairs from five reasoning types that require the synerization of reasoning and grounding. We further design our approach, ReGround3D, composed of the visual-centric reasoning module empowered by Multi-modal Large Language Model (MLLM) and the 3D grounding module to obtain accurate object locations by looking back to the enhanced geometry and fine-grained details from the 3D scenes. A chain-of-grounding mechanism is proposed to further boost the performance with interleaved reasoning and grounding steps during inference. Extensive experiments on the proposed benchmark validate the effectiveness of our proposed approach.
[ -0.7165826559066772, -0.7675870656967163, 0.9318073391914368, 0.34799230098724365, -0.27381739020347595, -0.38465893268585205, 0.1585984230041504, -0.44778743386268616, -0.30781349539756775, 0.4732712507247925, -0.3806362748146057, -0.6161616444587708, -0.23866835236549377, 0.1056915745139122, -0.19678203761577606, 0.1798589825630188, -0.27547770738601685, 0.09710289537906647, -0.7115278244018555, -0.2582820653915405, -0.6063494682312012, -0.7946932315826416, -0.2848748564720154, 0.014838352799415588, 0.36115026473999023, 0.5097758173942566, 0.6928631067276001, 0.7328150868415833, 0.49329888820648193, 0.24952073395252228, -0.2013261318206787, 0.42272892594337463, -0.22085610032081604, 0.06051413342356682, -0.41655781865119934, -0.5320776700973511, -0.2837084233760834, 0.007380231283605099, 0.4054422974586487, 0.6451777219772339, 0.13514932990074158, -0.14357706904411316, -0.22382478415966034, 0.9165976643562317, -0.8479816317558289, 0.010385422967374325, -0.10245359688997269, 0.11471021920442581, 0.15612445771694183, -0.30752789974212646, -0.1761036068201065, -0.15876807272434235, -0.021942706778645515, -0.7200840711593628, 0.4123947024345398, 0.1775570511817932, 0.6720219850540161, 0.4434252679347992, -0.1555841565132141, 0.2722102999687195, -0.42864808440208435, 0.4755480885505676, -0.5068589448928833, 0.7664743065834045, 0.37887319922447205, 0.6243898272514343, 0.07260862737894058, -0.47586166858673096, -0.3396768271923065, -0.23311370611190796, 0.05275280401110649, 0.31269529461860657, 0.28147199749946594, 0.18862830102443695, 0.6496126055717468, 0.33513063192367554, -0.3423060476779938, -0.24164162576198578, -0.07928306609392166, -0.018841970711946487, 0.3596602976322174, -0.050140541046857834, 0.17044539749622345, -0.11138028651475906, -0.5442313551902771, -0.32810238003730774, -0.4677179157733917, 0.24569162726402283, 0.16084185242652893, 0.04554421454668045, -0.11982692033052444, 0.9447686672210693, -0.698447585105896, 0.8498139977455139, 0.057470206171274185, 0.16395258903503418, 0.01987738162279129, -0.2527727782726288, -0.3171619176864624, -0.005556631367653608, 0.3411330282688141, 0.9812402725219727, 0.1442168653011322, -0.08749803155660629, -0.08837161213159561, -0.0037468578666448593, 0.3227619528770447, -0.7149379849433899, -0.10873101651668549, 0.3929069936275482, -0.5873628258705139, 0.11469606310129166, 0.2060718685388565, -0.6822168231010437, -0.7033516764640808, -0.42158758640289307, 0.17630676925182343, -0.627385675907135, -0.4144399166107178, 0.5602734684944153, -0.44025951623916626, 0.3268938660621643, 0.8034346699714661, -0.6267828941345215, 0.02568889781832695, 0.7249162197113037, 0.8438175916671753, 0.054943978786468506, -0.4405505359172821, -0.30359765887260437, 0.3873506486415863, -0.3418721556663513, 1.0610672235488892, -0.33000198006629944, -0.20384898781776428, -0.23630838096141815, -0.0072258333675563335, 0.2181822657585144, -0.5313737392425537, 0.44288170337677, -0.3764181137084961, 0.23781050741672516, -0.5453786849975586, -0.20382238924503326, -0.618719756603241, 0.7933660745620728, -0.728901743888855, 0.8094085454940796, 0.038990288972854614, -0.8902685642242432, 0.3874138295650482, -0.19363640248775482, -0.25139740109443665, 0.0004834050196222961, -0.6274608373641968, -0.06372120976448059, 0.20106028020381927, 0.6377242207527161, 0.4694007635116577, -0.46877220273017883, 0.3663557469844818, -0.4804222285747528, -0.5595528483390808, -0.28665974736213684, -0.376220703125, 0.6528623700141907, -0.043250229209661484, -0.4155903160572052, 0.17680880427360535, -0.7657579183578491, -0.049622636288404465, 0.10273250192403793, -0.1515483409166336, -0.24348938465118408, 0.04727498069405556, -0.3222752511501312, 0.37199702858924866, 0.17192815244197845, -0.20613031089305878, -0.008531290106475353, -0.20435400307178497, -0.09755177795886993, 0.39654794335365295, -0.021328002214431763, 0.4778151512145996, -0.33353447914123535, 0.3477858603000641, 0.10075339674949646, 0.10168442875146866, -0.2820587456226349, -0.7178044319152832, -0.5445146560668945, -0.13105984032154083, -0.3870480954647064, 0.6420297622680664, -0.5646080374717712, 0.3027523159980774, -0.22906841337680817, -0.4286588430404663, -0.24610598385334015, -0.21924525499343872, 0.4187870919704437, 0.7177362442016602, 0.6498247981071472, 0.4023944139480591, -0.6168665885925293, -1.1311588287353516, -0.13122360408306122, -0.21777257323265076, -0.21639151871204376, 0.14986170828342438, 0.09049669653177261, -0.01742379553616047, 0.9067548513412476, -0.20960836112499237, -0.09875714778900146, -0.0837344229221344, -0.19012106955051422, 0.08516427874565125, 0.6085861921310425, 0.49475786089897156, -1.1722350120544434, 0.056843869388103485, 0.10229846090078354, -1.2008638381958008, -0.03905026614665985, -0.021210385486483574, -0.3726827800273895, -0.11039910465478897, 1.0461201667785645, -0.6766567826271057, 0.3848428428173065, 0.30190548300743103, -0.4136459529399872, 0.29573461413383484, -0.09725390374660492, 0.4798051118850708, -0.740724503993988, 0.051329776644706726, 0.0276255514472723, -0.08296336233615875, -0.22761480510234833, 0.19687817990779877, -0.04235079139471054, -0.25509655475616455, -0.4777675271034241, 0.48561811447143555, -0.5911560654640198, -0.12044965475797653, -0.03188446909189224, 0.34107211232185364, 0.5415928959846497, 0.48324570059776306, 0.503153920173645, 0.4994172751903534, 0.6078779697418213, -0.5748012661933899, 0.4492936432361603, 0.251634418964386, -0.36929941177368164, 0.7032744288444519, -0.548244059085846, -0.13418221473693848, -0.3201552629470825, 0.3602255582809448, -1.030983805656433, -0.0912654772400856, -0.05751959979534149, -0.30248433351516724, -0.3170088827610016, -0.47783714532852173, -0.5015130639076233, -0.33447057008743286, 0.004404999315738678, 0.607774555683136, 0.23775219917297363, -0.7952155470848083, 0.910408616065979, 0.12168664485216141, 0.36587896943092346, -0.3222111761569977, -0.5417003631591797, 0.10337549448013306, -0.3534717261791229, -1.0017961263656616, 0.19799819588661194, 0.11611223965883255, -0.5398462414741516, -0.17352519929409027, -0.4106796681880951, 0.16998229920864105, 0.19417636096477509, 0.4009242653846741, -0.0022415632847696543, -0.3066147267818451, -0.1631310135126114, -0.17461761832237244, -0.49587684869766235, 0.24918067455291748, -0.2798248529434204, 0.29333510994911194, -0.33509087562561035, -0.6984382271766663, -0.3126964271068573, 0.5406833291053772, 0.8348233103752136, -0.1876114159822464, 0.3947627544403076, 0.5758882164955139, -0.6895973682403564, 0.15394844114780426, -0.8926692008972168, -0.13254158198833466, -0.44467148184776306, 0.2626427412033081, -0.8029204607009888, -0.7363836169242859, 0.34356680512428284, -0.38323214650154114, -0.0030863138381391764, 0.20556364953517914, 0.24356675148010254, -0.11917214095592499, 1.6365045309066772, 0.33334556221961975, 0.5211846828460693, 0.07655114680528641, -0.2603999376296997, 0.10468390583992004, -0.91681969165802, -0.6411657333374023, -0.2807080149650574, -0.15043020248413086, -0.1002051830291748, -0.7733801603317261, 0.2567993998527527, 0.9653393626213074, -0.3169073760509491, 0.005692539736628532, -0.4880685806274414, 0.45095089077949524, 0.5930928587913513, 0.21966567635536194, 0.17793501913547516, 0.04844678193330765, -0.3439210057258606, 0.11805211752653122, -0.6976333260536194, -0.4594905376434326, 0.25614768266677856, 0.17053115367889404, 0.44050133228302, 0.11531920731067657, 0.14704278111457825, -0.06780171394348145, 0.1202445849776268, -0.4067954123020172, 0.7167319059371948, 0.04859308898448944, -0.4202152192592621, -0.21948766708374023, -0.20492124557495117, -0.23576922714710236, 0.749015748500824, -0.22678349912166595, -0.49777835607528687, 0.35998430848121643, 0.1766573041677475, -0.3406446576118469, 0.4767111539840698, -0.7274425029754639, 0.9789683818817139, -0.22501924633979797, -0.6885420083999634, -0.08008262515068054, -0.6177853941917419, 0.4450798034667969, 0.6364789009094238, 0.20782260596752167, -0.37414786219596863, 0.23746410012245178, 0.34346091747283936, -0.4197937846183777, 0.5934146642684937, -0.6152530312538147, -0.3215787410736084, 0.24248914420604706, 0.1695919781923294, 0.3739200234413147, 0.5504456162452698, -0.16170696914196014, 0.29970940947532654, -0.26702168583869934, -0.3192005455493927, -0.8181678652763367, 0.7414661049842834, -0.3695134222507477, -0.9538374543190002, -0.10062582045793533, -0.5325958132743835, -0.5865586996078491, 0.47109660506248474, 0.3030684292316437, 0.36194753646850586, -0.10797637701034546, 0.37678763270378113, 0.6191766262054443, -0.12004879862070084, 0.05281713232398033, 0.18687905371189117, -0.41661766171455383, -0.5295585989952087, 0.5632418394088745, -0.4337288737297058, 0.03598485514521599, 0.7713393568992615, 0.19136519730091095, -0.513482391834259, -0.5762133598327637, -0.6000162363052368, -0.0732671394944191, -0.9032513499259949, -0.1636071503162384, -0.880057692527771, 0.048772890120744705, -0.2872178554534912, -0.7814114689826965, -0.4759924113750458, -0.37444525957107544, -0.07777544111013412, -0.40190595388412476, 0.2189360111951828, 0.3282425105571747, -0.16857409477233887, -0.04001150280237198, -0.6211686134338379, 0.900876522064209, 0.5377410650253296, 0.5305007696151733, -0.1124710887670517, -0.09181816130876541, -0.14117880165576935, 0.3072611391544342, 0.3526139259338379, -0.33091819286346436, -0.12147468328475952, -0.5938352942466736, 0.6649954915046692, 0.3301065266132355, -0.18716007471084595, 1.1179161071777344, -0.4443400502204895, 0.6410168409347534, 0.32696348428726196, -0.6173379421234131, 0.8874296545982361, -0.42179161310195923, 0.496109277009964, 0.5490548610687256, -0.0033734370954334736, -0.2810317277908325, -0.2577110528945923, -0.33705493807792664, -0.6252449750900269, 0.6217210292816162, 0.10886555165052414, -0.4019148051738739, -0.26536765694618225, 0.3803640305995941, -0.20701807737350464, -0.25021910667419434, -0.2971024811267853, 0.08602968603372574, -0.5627194046974182, 0.2148483395576477, -0.0016320212744176388, -0.30245906114578247, -0.4055810868740082, -0.3808179795742035, 0.15580296516418457, -0.342804878950119, 0.023023320361971855, 0.5316426157951355, -0.15155400335788727, 0.11803315579891205, -0.2661556005477905, 0.5966174006462097, 0.6984336972236633, -0.42989376187324524, 0.46995291113853455, 0.2047128528356552, -0.13087508082389832, 0.18292349576950073, 0.2007356435060501, 0.024351146072149277, -0.17547725141048431, 0.4045206308364868, 0.773945152759552, 0.1920388787984848, -0.7038931250572205, 0.6439171433448792, -0.18942569196224213, -0.3563055992126465, -0.270781010389328, 0.08189374953508377, 0.09730111807584763, 0.47647303342819214, 0.1362198293209076, 0.3127535581588745, 0.04813142120838165, 0.0770740956068039, 0.21716803312301636, 0.20899981260299683, -0.4550146162509918, -0.045993536710739136, 1.000095009803772, 0.14256472885608673, 0.016850123181939125, 0.5948171615600586, 0.16473416984081268, -0.24106360971927643, 0.7028297781944275, 0.5759057998657227, 0.7856146097183228, -0.04827404022216797, 0.02746339701116085, 0.6525611281394958, 0.3100813329219818, -0.5470723509788513, 0.38962024450302124, -0.16342996060848236, -0.8732328414916992, -0.32799503207206726, -0.14374566078186035, -0.32777655124664307, -0.09789306670427322, -0.7335618138313293, 0.4609537124633789, -0.636759340763092, 0.16549848020076752, -0.5221133232116699, -0.42533019185066223, -0.620993435382843, 0.6009086966514587, 0.5371317267417908, 1.1210715770721436, -0.5052252411842346, 0.2969665229320526, 0.9571423530578613, -0.2738024890422821, -0.20490799844264984, -0.15301229059696198, -0.008212798275053501, -0.7553955316543579, 0.6285383701324463, 0.6922801733016968, -0.6966068744659424, 0.005597073119133711, -0.5588580369949341, -0.8481324315071106, 1.2719604969024658, 0.26650938391685486, -0.4783724844455719, -0.01007064525038004, -0.06552399694919586, 0.22926731407642365, -0.32539093494415283, 0.23210957646369934, 0.3102405369281769, 0.5364091992378235, 0.1635071337223053, -0.2785049080848694, 0.20216555893421173, -0.551289439201355, 0.1393783539533615, -0.14122654497623444, -0.5700793862342834, 0.7270933985710144, -0.29392099380493164, -0.39805901050567627, -0.15675385296344757, 0.764795184135437, 0.878868043422699, 0.11910901963710785, 0.7965101599693298, 0.9835412502288818, 0.48094943165779114, -0.023227689787745476, 1.122607946395874, -0.20879589021205902, -0.18387530744075775, 1.0955288410186768, -0.3323252499103546, 0.4295582175254822, 0.4448268711566925, 0.27161914110183716, 0.43283596634864807, 0.3247959315776825, 0.1810167282819748, 0.5920156240463257, 0.10978113114833832, -0.10355735570192337, -0.7128079533576965, 0.028648385778069496, -0.5667791962623596, 0.36265072226524353, 0.49911946058273315, 0.060895901173353195, -0.3958491384983063, 0.11993210762739182, -0.3054027557373047, 0.19910567998886108, -0.23590315878391266, 0.5313971042633057, -0.11862258613109589, -0.6293624639511108, 0.5786892771720886, -0.0591319315135479, 0.20218820869922638, -0.2993823289871216, -0.5415015816688538, -0.33824607729911804, 0.1357625126838684, -0.10359573364257812, -0.9298913478851318, 0.031739864498376846, -0.3511255383491516, -0.35631063580513, -0.6691585779190063, 0.5220590829849243, -0.13495242595672607, -0.3120843172073364, 0.48459479212760925, 0.5083832144737244, -0.09180627018213272, -0.48323965072631836, -0.49426698684692383, 0.08912047743797302, -0.11795875430107117, -0.20041051506996155, 0.02622200921177864, 0.9923390746116638, -0.31056031584739685, 0.67621910572052, 0.8496643304824829, -0.30355751514434814, -0.10777030140161514, 0.4606838822364807, 0.8463766574859619, -0.8472920656204224, -0.6563525199890137, -0.6508805751800537, 0.6236253380775452, -0.3430386185646057, -0.34025898575782776, 0.9406540393829346, 0.8170429468154907, 0.8025868535041809, -0.012212462723255157, 0.6932026147842407, 0.07960037887096405, 0.35518380999565125, -0.8502833247184753, 0.1070239394903183, -0.6019811630249023, 0.3038835823535919, -0.09721506386995316, -1.054039716720581, -0.7038084864616394, 0.8611276149749756, -0.19777198135852814, -0.0689619928598404, 0.7511451244354248, 0.6131996512413025, -0.35339680314064026, 0.10615066438913345, 0.5464351177215576, 0.023314218968153, 0.5306265354156494, 0.3181256651878357, 1.2158136367797852, -0.23124785721302032, 0.27576717734336853, -0.581457793712616, -0.3490673899650574, -0.234941765666008, -0.8573818802833557, -1.004462718963623, -0.4062860906124115, -0.11699942499399185, -0.4544907510280609, -0.11821009963750839, 0.3879462778568268, 0.7419533729553223, -0.6527636647224426, 0.05001651868224144, -0.7596679925918579, 0.12783849239349365, -0.4623929560184479, -0.22396187484264374, 0.39676403999328613, -0.11206988990306854, -0.36388906836509705, 0.6957263350486755, 0.6090785264968872, 0.15038999915122986, -0.2791050374507904, 0.059102337807416916, -0.2987092435359955, -0.39663705229759216, 0.70383220911026, 0.13384293019771576, -0.8021608591079712, -0.4772212505340576, 0.041206277906894684, -0.08248111605644226, 0.07778237760066986, 1.0548763275146484, -0.9503592848777771, 0.4994586110115051, 0.7157219648361206, 0.4195069968700409, 0.38346248865127563, 0.5906095504760742, 0.8361330032348633, -0.4603620171546936, 0.5306829214096069, 0.2784174084663391, 0.5993337035179138, 0.477538526058197, -0.27563464641571045, 0.6701191663742065, 0.22083567082881927, -0.21588101983070374, -0.5093571543693542, 0.19153520464897156, -0.8767531514167786, -0.24022266268730164, 1.1751842498779297, -0.026356399059295654, -0.16762220859527588, -0.3232372999191284, -0.5096083879470825, 0.0074601247906684875, 0.1511712223291397, 0.531424880027771, 0.5697177052497864, -0.13844281435012817, -0.5636464357376099, -0.3927347958087921, 0.5574739575386047, 0.4296153783798218, -0.9115787744522095, 0.24547381699085236, 0.8696386814117432, -0.20233653485774994, 0.3344126343727112, 0.5556811094284058, -0.33115193247795105, 0.40647992491722107, 0.2874208390712738, 0.09127180278301239, -0.2816653549671173, -0.6230694651603699, -0.13504736125469208, 0.36830875277519226, -0.32567718625068665, -0.13034121692180634 ]
http://arxiv.org/abs/2407.01523v1
http://arxiv.org/pdf/2407.01523v1
MMLongBench-Doc: Benchmarking Long-context Document Understanding with Visualizations
2024-07-01T17:59:26
2024-07-01T17:59:26
Yubo Ma, Yuhang Zang, Liangyu Chen, Meiqi Chen, Yizhu Jiao, Xinze Li, Xinyuan Lu, Ziyu Liu, Yan Ma, Xiaoyi Dong, Pan Zhang, Liangming Pan, Yu-Gang Jiang, Jiaqi Wang, Yixin Cao, Aixin Sun
cs.CV
cs.CV, cs.CL
Understanding documents with rich layouts and multi-modal components is a long-standing and practical task. Recent Large Vision-Language Models (LVLMs) have made remarkable strides in various tasks, particularly in single-page document understanding (DU). However, their abilities on long-context DU remain an open problem. This work presents MMLongBench-Doc, a long-context, multi-modal benchmark comprising 1,062 expert-annotated questions. Distinct from previous datasets, it is constructed upon 130 lengthy PDF-formatted documents with an average of 49.4 pages and 20,971 textual tokens. Towards comprehensive evaluation, answers to these questions rely on pieces of evidence from (1) different sources (text, image, chart, table, and layout structure) and (2) various locations (i.e. page number). Moreover, 33.2% of the questions are cross-page questions requiring evidence across multiple pages. 22.8% of the questions are designed to be unanswerable for detecting potential hallucinations. Experiments on 14 LVLMs demonstrate that long-context DU greatly challenges current models. Notably, the best-performing model, GPT-4o, achieves an F1 score of only 42.7%, while the second-best, GPT-4V, scores 31.4%. Furthermore, 12 LVLMs (all except GPT-4o and GPT-4V) even present worse performance than their LLM counterparts which are fed with lossy-parsed OCR documents. These results validate the necessity of future research toward more capable long-context LVLMs. Project Page: https://mayubo2333.github.io/MMLongBench-Doc
[ -0.6121030449867249, -0.7030704617500305, 0.9369603395462036, 0.2208200991153717, -0.4336342215538025, -0.24026288092136383, -0.3479480743408203, -0.5138707756996155, -0.06880462914705276, 0.5495509505271912, -0.4988444149494171, -0.6962695121765137, -0.47677546739578247, 0.22447197139263153, -0.33789271116256714, 0.6368950009346008, -0.23133620619773865, 0.12686967849731445, -0.42147988080978394, -0.4557539224624634, -0.38857507705688477, -0.39520263671875, -0.3777073621749878, -0.04020145907998085, 0.7104601263999939, 0.05171431601047516, 0.3590599298477173, 0.4699363112449646, 0.3832913637161255, 0.2892749309539795, -0.007599441334605217, 0.28081610798835754, -0.49263304471969604, 0.11916520446538925, -0.114668108522892, -0.18240271508693695, -0.5134232044219971, 0.027652112767100334, 0.7069332599639893, 0.7850563526153564, 0.10055314004421234, -0.12061240524053574, 0.07512787729501724, 0.6832392811775208, -0.6896258592605591, 0.25460541248321533, -0.22654885053634644, 0.08192633837461472, -0.1747361570596695, -0.3289434611797333, -0.6829062700271606, 0.019907137379050255, 0.004551082383841276, -0.9011092185974121, 0.1547548770904541, 0.13918879628181458, 0.6093139052391052, 0.20399948954582214, -0.8513720035552979, -0.24842143058776855, -0.27827340364456177, 0.7336260676383972, -0.5320882797241211, 0.7433578372001648, 0.48234662413597107, 0.49644193053245544, -0.18117401003837585, -0.8414306640625, -0.6929913759231567, -0.3231262266635895, -0.13748575747013092, 0.4484100341796875, -0.14529886841773987, 0.04145872965455055, 0.6109725832939148, 0.26718223094940186, -0.6936801671981812, 0.2495347410440445, -0.516032874584198, -0.2001320719718933, 0.33576682209968567, 0.28485435247421265, -0.14755965769290924, -0.4372386932373047, -0.5151106715202332, -0.28613728284835815, -0.1889362633228302, 0.15319979190826416, 0.14908050000667572, -0.09180516749620438, -0.08666802197694778, 0.4943515956401825, -0.25767213106155396, 0.9438662528991699, -0.21624423563480377, -0.3490687906742096, 0.4864463806152344, -0.3395684063434601, -0.32036924362182617, -0.30833399295806885, 0.632113516330719, 0.8244707584381104, 0.1500319093465805, -0.11666153371334076, -0.16434074938297272, -0.21071135997772217, 0.3515418767929077, -1.0938125848770142, 0.10188260674476624, 0.17644727230072021, -0.5321602821350098, 0.09058105200529099, -0.04569069668650627, -1.034178614616394, -0.8274414539337158, -0.5640780925750732, 0.2848273515701294, -0.5852130651473999, 0.10001304000616074, 0.27240175008773804, -0.29846101999282837, 0.18772536516189575, 0.7652343511581421, -0.5680356621742249, 0.11025253683328629, 0.7999381422996521, 0.8905160427093506, -0.44043949246406555, -0.6840317249298096, -0.8170385956764221, 0.11216862499713898, -0.3540894389152527, 0.831432580947876, -0.4634826183319092, -0.7013856768608093, -0.06565132737159729, 0.19801194965839386, -0.1855156272649765, -0.40470364689826965, 0.8514698147773743, -0.19063207507133484, 0.4678746461868286, -0.4411237835884094, -0.6117655038833618, -0.14966519176959991, 0.7247942090034485, -0.7424357533454895, 0.7992609143257141, 0.15983006358146667, -0.8371585607528687, 0.4894048869609833, -0.6592473387718201, -0.2443779706954956, -0.24558499455451965, -0.49281489849090576, -0.025400297716259956, 0.20383921265602112, 0.335543155670166, 0.481882244348526, -0.3411793112754822, 0.10457096993923187, -0.3160976767539978, -0.4043366611003876, 0.1450616717338562, -0.6908115744590759, 0.492186576128006, 0.02544899471104145, -0.3307896554470062, 0.3423434793949127, -1.0150244235992432, -0.12502461671829224, 0.06955191493034363, -0.5258519649505615, -0.36203262209892273, -0.09509271383285522, 0.30077290534973145, 0.2892981469631195, -0.021633757278323174, -0.5005592703819275, 0.3870081901550293, -0.117706798017025, 0.15361900627613068, 0.730440616607666, -0.1730012148618698, 0.15078292787075043, -0.13460084795951843, 0.45918524265289307, 0.04518429562449455, 0.09900245070457458, -0.6333717703819275, -0.2362501472234726, -0.6777786612510681, -0.41289222240448, -0.020779510959982872, 0.15628543496131897, -0.6780014038085938, 0.17589029669761658, -0.6627724170684814, -0.3072883188724518, -0.2371675670146942, -0.022021744400262833, 0.3925592601299286, 0.8976925611495972, 0.5610499382019043, -0.3950289487838745, -0.05602129548788071, -1.0010275840759277, -0.06760236620903015, 0.13574343919754028, -0.23278866708278656, 0.5427885055541992, 0.7070390582084656, -0.2859364449977875, 0.6278584003448486, -0.568051815032959, -0.34059739112854004, 0.1105218306183815, 0.36912301182746887, 0.14804454147815704, 0.1917431801557541, 0.5781805515289307, -0.8632112741470337, -0.3865819275379181, -0.0482201874256134, -0.9082111120223999, -0.014925331808626652, -0.22387073934078217, 0.09370891004800797, 0.45703357458114624, 0.6882786750793457, -0.6423365473747253, 0.5167572498321533, 0.43503904342651367, -0.5602278113365173, 0.6734621524810791, -0.5441780686378479, 0.3765186071395874, -1.0108646154403687, 0.30095598101615906, 0.011877963319420815, -0.1852562576532364, -0.4346924126148224, 0.20369772613048553, 0.4979093074798584, -0.19022440910339355, -0.40523311495780945, 0.7009297609329224, -0.6037713289260864, -0.16665993630886078, -0.23516693711280823, 0.36014214158058167, 0.34929361939430237, 0.5235879421234131, -0.07181637734174728, 0.9174652695655823, 0.25157463550567627, -0.04933885857462883, 0.1568811982870102, -0.047955844551324844, -0.5147282481193542, 0.8508143424987793, -0.4770190417766571, 0.11664809286594391, -0.18387451767921448, 0.643826425075531, -0.8554175496101379, -0.1837310642004013, -0.09141311049461365, -0.09175457805395126, 0.46520379185676575, -0.15542183816432953, -0.7385619878768921, -0.41077011823654175, -0.5113587379455566, 0.40304744243621826, 0.13093923032283783, -0.6226814985275269, 0.9926848411560059, 0.0047564879059791565, 0.20788902044296265, -0.6415334343910217, -0.4047694802284241, 0.23061122000217438, -0.0834616869688034, -0.8988141417503357, 0.30485570430755615, -0.3418978452682495, -0.26414257287979126, -0.45809489488601685, -0.27074089646339417, 0.13507506251335144, -0.06039942800998688, 0.5826231241226196, -0.11845103651285172, -0.2731570899486542, 0.23035666346549988, -0.1872524619102478, -0.2772236466407776, 0.07362023741006851, -0.022465582937002182, 0.6789398789405823, -0.3430975377559662, -0.7239188551902771, -0.08858464658260345, 0.5784638524055481, 1.0121448040008545, -0.39743709564208984, 0.4611898362636566, 0.7549224495887756, -0.18919120728969574, -0.1467324048280716, -0.8128455281257629, 0.13988767564296722, -0.42930683493614197, 0.3378792405128479, -0.691417396068573, -0.6805537343025208, 0.5055456757545471, -0.11645905673503876, -0.03755432739853859, 0.5220186114311218, 0.4480070173740387, -0.0891881212592125, 0.7494436502456665, 0.6322044134140015, -0.15474027395248413, 0.2733430564403534, -0.3218061327934265, -0.08046712726354599, -0.7539425492286682, -0.335236519575119, -0.3129274249076843, -0.1536007821559906, -0.32728877663612366, -0.9058661460876465, 0.4988013505935669, 0.11743393540382385, 0.2002238929271698, -0.002542380942031741, -0.2308456003665924, 0.5228720903396606, 0.45445889234542847, -0.07229698449373245, 0.38505420088768005, -0.2641991674900055, -0.3014294505119324, 0.03302308917045593, -0.17337974905967712, -0.3668568730354309, 1.1331156492233276, 0.299381285905838, 0.6061596274375916, -0.0885571613907814, 0.5496667623519897, 0.13562476634979248, 0.0993320643901825, -0.7608603835105896, 0.6006560325622559, -0.014219303615391254, -0.4599197506904602, -0.3352375328540802, -0.18860183656215668, -0.9914978742599487, 0.7747408747673035, -0.016078747808933258, -0.7688797116279602, 0.24404235184192657, -0.230454221367836, -0.03747982531785965, 0.1725233644247055, -0.6749159693717957, 1.1690350770950317, -0.5034512877464294, -0.5565834641456604, -0.376054584980011, -0.5481134057044983, 0.203110009431839, -0.3070639669895172, 0.32703694701194763, -0.07021801918745041, -0.14341671764850616, 0.7078453898429871, -0.31841886043548584, 0.5658167004585266, -0.2181147336959839, -0.17240650951862335, -0.06643850356340408, -0.04477180913090706, 0.3921259939670563, -0.006682620383799076, -0.32020723819732666, 0.07212189584970474, 0.1965138167142868, -0.39020848274230957, -0.619221568107605, 0.8170405626296997, -0.45074790716171265, -0.5476034879684448, -0.48433247208595276, -0.6187594532966614, -0.14796632528305054, 0.6031630039215088, 0.10509950667619705, 0.6774556040763855, -0.34991636872291565, 0.5461968779563904, 0.5122069716453552, -0.21181944012641907, 0.3850499391555786, 0.7164590358734131, -0.38909223675727844, -0.1630604863166809, 0.6931149363517761, 0.0280395969748497, -0.06711579114198685, 0.3037979006767273, 0.24854247272014618, -0.16681206226348877, -0.7546761631965637, -0.5303558111190796, 0.082480788230896, -1.1154907941818237, 0.1073104739189148, -0.8407440781593323, 0.1755104959011078, -0.20747779309749603, -0.13745933771133423, -0.22799676656723022, -0.13717573881149292, -0.1703742891550064, -0.09044095128774643, -0.04927310347557068, 0.47790056467056274, 0.08720044791698456, 0.005838683806359768, -0.5951234698295593, 0.578385591506958, 0.25279462337493896, 0.4624641537666321, -0.03659845143556595, -0.3209209442138672, -0.11943241208791733, -0.2053958922624588, -0.29019078612327576, -0.7993454337120056, 0.21816527843475342, -0.13158324360847473, 0.6357048153877258, 0.6359405517578125, -0.024575887247920036, 0.812407910823822, -0.4539645314216614, 0.6585481762886047, 0.200154647231102, -0.6810646653175354, 0.28746330738067627, -0.6189150810241699, 0.3785291016101837, 0.8787638545036316, 0.3804478943347931, -0.5028913021087646, -0.06686365604400635, -0.18346184492111206, -0.8366365432739258, 0.5096351504325867, 0.020070575177669525, -0.12297520041465759, 0.09625354409217834, 0.013274479657411575, 0.3761110305786133, 0.16811996698379517, -0.5997754335403442, 0.08477676659822464, -0.2818430960178375, -0.035134207457304, -0.43352341651916504, -0.22223101556301117, -0.25740936398506165, -0.3488657474517822, 0.08315246552228928, -0.4005981385707855, -0.12442192435264587, 0.18182986974716187, -0.31310445070266724, 0.21449866890907288, 0.32372015714645386, 0.9778127074241638, 1.2218674421310425, -0.5280675888061523, 0.21949316561222076, 0.16076941788196564, -0.3729070723056793, -0.34199297428131104, 0.4939924478530884, 0.18054848909378052, -0.009709232486784458, 0.5559430718421936, 0.7128806710243225, 0.20858490467071533, -0.9621185660362244, 0.8432852029800415, -0.2953590154647827, -0.3374718129634857, -0.435577392578125, -0.23023301362991333, 0.11775873601436615, 0.25086119771003723, 0.3804146647453308, -0.30234289169311523, 0.15717551112174988, -0.5816183686256409, -0.029928434640169144, 0.3245728015899658, -0.31143343448638916, -0.022833747789263725, 0.4548799395561218, 0.22228959202766418, -0.1775747686624527, 0.6206295490264893, 0.05601320415735245, -0.37291815876960754, 0.4805294871330261, 0.23452156782150269, 0.5240572690963745, 0.3404836058616638, -0.2845174968242645, 0.1949409544467926, 0.10913972556591034, -0.0069190156646072865, 0.12947344779968262, -0.48073601722717285, -0.10137423872947693, -0.16735930740833282, -0.6163778901100159, -0.44220441579818726, 0.2613009214401245, -0.6149168610572815, 0.16607244312763214, -0.15279236435890198, -0.018943723291158676, 0.3304574191570282, 0.06107838451862335, -0.8883151412010193, 0.21966443955898285, 0.16376671195030212, 1.1800156831741333, -0.4695790112018585, 0.9109829068183899, 0.14327234029769897, -0.49001654982566833, -0.28733736276626587, 0.021113088354468346, 0.2146541327238083, -0.6868031024932861, 0.4712906777858734, 0.6222558617591858, -0.16738736629486084, -0.4194408059120178, -0.26022690534591675, -0.5003585815429688, 1.358263373374939, 0.03377918899059296, -0.6880067586898804, -0.11232544481754303, 0.078398197889328, 0.7038877606391907, -0.19062937796115875, 0.3702031075954437, 0.48553529381752014, 0.8037282228469849, -0.2508241534233093, -0.9006772041320801, 0.0650615468621254, -0.4297611713409424, -0.41779136657714844, 0.2536604106426239, -0.5811399817466736, 0.8579092025756836, -0.07479425519704819, -0.07645624876022339, 0.09581857919692993, 0.4371606707572937, 0.2148951292037964, 0.8444187641143799, 0.6664726734161377, 0.610819399356842, 0.7585506439208984, 0.06369229406118393, 1.312780737876892, -0.410845011472702, 0.08847404271364212, 1.3544750213623047, -0.21805447340011597, 0.9813150763511658, 0.8178699612617493, 0.11165797710418701, 0.34593644738197327, 0.4181371331214905, -0.30310171842575073, 0.26987749338150024, 0.30627521872520447, 0.014050309546291828, -0.2677422761917114, 0.022643551230430603, -0.631428599357605, 0.4442364275455475, 0.2389635145664215, -0.46714070439338684, -0.35968783497810364, 0.17338694632053375, -0.19482247531414032, -0.041551604866981506, 0.024120770394802094, 0.6347652673721313, 0.12998996675014496, -0.7623116374015808, 0.5917048454284668, -0.02487371675670147, 0.6939869523048401, -0.7691134810447693, 0.15454669296741486, -0.357867032289505, 0.3225286304950714, 0.006471958477050066, -0.8144033551216125, -0.13312232494354248, 0.0014579652342945337, -0.3669447600841522, -0.3046828508377075, 0.4873948395252228, -0.16734491288661957, -0.5245690941810608, 0.6413344740867615, 0.6182538866996765, 0.29093092679977417, -0.43353191018104553, -0.39416974782943726, 0.22388993203639984, -0.18216602504253387, -0.49401044845581055, 0.5405017733573914, 0.4397822618484497, -0.14404165744781494, 0.6392788290977478, 0.6351029276847839, -0.331221342086792, 0.038154974579811096, 0.3498004376888275, 0.971330463886261, -0.7112919688224792, -0.514334499835968, -0.7064725756645203, 0.53257155418396, -0.35080382227897644, -0.4936973750591278, 0.8743978142738342, 0.9484612941741943, 0.8459076881408691, -0.047388073056936264, 0.4387113153934479, 0.380418598651886, 0.24802710115909576, -0.5170499682426453, 0.895334005355835, -1.0812616348266602, -0.05146824195981026, -0.2090553641319275, -0.8422000408172607, -0.11388739943504333, 0.2774742841720581, -0.3203774094581604, -0.1072985976934433, 0.9047455191612244, 0.6320206522941589, -0.418378621339798, -0.10011936724185944, 0.43335360288619995, 0.10926339030265808, 0.5671653747558594, 0.5497359037399292, 0.779130756855011, -0.18210653960704803, 0.6622096300125122, -0.3619595766067505, -0.09213019907474518, -0.3393348753452301, -0.9475675821304321, -1.0809621810913086, -0.6820076107978821, 0.11003700643777847, -0.18217645585536957, -0.033759769052267075, 0.49497663974761963, 0.6615344882011414, -0.3671139180660248, -0.1410737782716751, 0.326365202665329, -0.11480536311864853, 0.10383138805627823, -0.13021887838840485, 0.7009913921356201, -0.018756872043013573, -0.5557161569595337, 0.7010310292243958, 0.48007673025131226, 0.050136007368564606, -0.24344079196453094, -0.11213697493076324, 0.08996587991714478, -0.10368303954601288, 0.9059200286865234, 0.12310914695262909, -0.9539611339569092, -0.2543553113937378, -0.13355933129787445, -0.31651169061660767, 0.30387139320373535, 0.8853590488433838, -0.6529841423034668, 0.9347435235977173, 0.6772454977035522, 0.5152567625045776, 1.0095278024673462, 0.06525598466396332, 0.34936708211898804, -0.36077946424484253, 0.22845421731472015, 0.1938282996416092, 0.6879467964172363, 0.27906879782676697, 0.09394439309835434, 0.6595520973205566, 0.02945823222398758, -0.3838198781013489, -0.967056930065155, -0.05914001911878586, -1.5452327728271484, -0.6546853184700012, 1.0153926610946655, -0.16006337106227875, -0.22777119278907776, 0.08181833475828171, -0.4559778571128845, 0.05862206593155861, -0.29959046840667725, 0.8047693967819214, 0.6733047962188721, -0.07870057225227356, -0.0829201489686966, -0.8121013641357422, 0.15147921442985535, 0.3894079923629761, -0.9856706261634827, 0.14922088384628296, 0.8880323171615601, 0.1791304051876068, 0.36775052547454834, 0.7760149836540222, 0.08474858105182648, 0.2998504638671875, 0.12316057831048965, -0.2750980854034424, -0.5988143682479858, -0.39417850971221924, -0.41506871581077576, 0.5309147834777832, -0.22699163854122162, 0.01643509976565838 ]
http://arxiv.org/abs/2407.01509v1
http://arxiv.org/pdf/2407.01509v1
MIA-Bench: Towards Better Instruction Following Evaluation of Multimodal LLMs
2024-07-01T17:53:35
2024-07-01T17:53:35
Yusu Qian, Hanrong Ye, Jean-Philippe Fauconnier, Peter Grasch, Yinfei Yang, Zhe Gan
cs.CV
cs.CV, cs.CL
We introduce MIA-Bench, a new benchmark designed to evaluate multimodal large language models (MLLMs) on their ability to strictly adhere to complex instructions. Our benchmark comprises a diverse set of 400 image-prompt pairs, each crafted to challenge the models' compliance with layered instructions in generating accurate responses that satisfy specific requested patterns. Evaluation results from a wide array of state-of-the-art MLLMs reveal significant variations in performance, highlighting areas for improvement in instruction fidelity. Additionally, we create extra training data and explore supervised fine-tuning to enhance the models' ability to strictly follow instructions without compromising performance on other tasks. We hope this benchmark not only serves as a tool for measuring MLLM adherence to instructions, but also guides future developments in MLLM training methods.
[ -0.23514942824840546, -0.7921776175498962, 0.6043781638145447, 0.3843908905982971, -0.22887904942035675, 0.04255368933081627, -0.28846505284309387, -0.14126749336719513, -0.27065277099609375, 0.35802462697029114, -0.9857847690582275, -0.7737044095993042, -0.6068925261497498, -0.00945428665727377, -0.4267444610595703, 0.5493187308311462, -0.1867426633834839, 0.6695141792297363, -0.5719862580299377, -0.3007492125034332, -0.8369867205619812, -0.45529013872146606, -0.3045346736907959, -0.09075414389371872, 0.5952324271202087, 0.28125596046447754, 0.39461299777030945, 0.7758121490478516, 0.6600073575973511, 0.31501322984695435, 0.21834664046764374, 0.4750024378299713, -0.3611457943916321, 0.22088158130645752, -0.1404677927494049, -0.5178375840187073, -0.5571408867835999, -0.10668402165174484, 0.7597753405570984, 0.858342170715332, -0.07612408697605133, 0.25934815406799316, 0.1222175732254982, 0.735817015171051, -0.7734686732292175, 0.29370787739753723, -0.26134949922561646, 0.0885116457939148, -0.09775751084089279, -0.23728784918785095, -0.7971689105033875, -0.48860296607017517, -0.09275278449058533, -0.5364274382591248, -0.07661779969930649, -0.009679525159299374, 0.7219281792640686, 0.430404394865036, -0.5937193036079407, -0.14229907095432281, -0.3812093138694763, 0.8548548221588135, -0.6374287605285645, 0.6582778692245483, 0.544740617275238, 0.5239531397819519, -0.18662533164024353, -0.6655935049057007, -0.10146567970514297, -0.5953735113143921, 0.17606280744075775, -0.00761799979954958, -0.07891823351383209, 0.04027071222662926, 0.2578546404838562, -0.08569338917732239, -0.39439648389816284, 0.007943126372992992, 0.030733052641153336, -0.10750973224639893, 0.451391339302063, 0.5322741866111755, 0.1430489867925644, 0.29376980662345886, -0.7324602603912354, -0.20842494070529938, -0.800100564956665, -0.009871752001345158, 0.11333262920379639, 0.1726282835006714, -0.33076614141464233, 0.656324565410614, -0.23506580293178558, 0.7965256571769714, 0.04470032826066017, -0.18881714344024658, 0.34557023644447327, -0.4184095859527588, -0.0697508379817009, -0.23187825083732605, 0.42420288920402527, 0.6819384694099426, 0.30053094029426575, -0.15158714354038239, -0.4597623646259308, -0.1922665387392044, 0.25235679745674133, -0.7568746209144592, -0.1012200191617012, -0.1871330887079239, -0.6613801717758179, 0.15112406015396118, -0.13539308309555054, -0.7446146011352539, -0.6277197003364563, -0.8604996204376221, 0.8669732213020325, -0.5169678330421448, 0.052881255745887756, 0.030214574187994003, 0.1370234489440918, 0.25219660997390747, 0.6329588294029236, -0.7311290502548218, 0.31374406814575195, 0.7897434234619141, 0.8185466527938843, -0.08997932821512222, -0.5911316275596619, -0.9917417764663696, 0.1682928502559662, -0.49317246675491333, 0.8135638236999512, -0.734147310256958, -0.25462043285369873, 0.12582983076572418, 0.025532294064760208, -0.3405815064907074, -0.5123357772827148, 0.5590079426765442, -0.2092047780752182, 0.0595950111746788, -0.4173315167427063, -0.6935851573944092, -0.18598349392414093, 0.45245686173439026, -0.5510054230690002, 0.9302332997322083, 0.3706539273262024, -0.16913634538650513, 0.3713100254535675, -0.6135302782058716, -0.3400239646434784, -0.43853530287742615, -0.059790607541799545, -0.13223814964294434, 0.1817319244146347, 0.2525955140590668, 0.4299854636192322, -0.3290099799633026, 0.07960183173418045, -0.6282339096069336, -0.5695900917053223, 0.43592801690101624, -0.7703002691268921, 0.5366228222846985, -0.007887016050517559, -0.4648898243904114, 0.6231268048286438, -0.9259102940559387, 0.23918507993221283, -0.10747864842414856, -0.4198029637336731, -0.12274665385484695, 0.033991243690252304, 0.16267172992229462, 0.18530787527561188, 0.18754440546035767, -0.24075019359588623, 0.3430823087692261, 0.021408110857009888, 0.1016225665807724, 1.244613528251648, -0.2770158052444458, 0.2425832897424698, -0.48464691638946533, 0.5980449914932251, -0.2821793556213379, 0.4803377389907837, -0.4557829201221466, -0.15592895448207855, -0.9245229363441467, -0.66202712059021, 0.4804218113422394, 0.25549307465553284, -0.3443681299686432, 0.27218735218048096, -0.2618582844734192, -0.4064743220806122, -0.7821051478385925, 0.3825729489326477, 0.8067169785499573, 0.3108457922935486, 0.42638614773750305, -0.43088898062705994, -0.6098386645317078, -1.0650416612625122, 0.03768410161137581, 0.22900040447711945, 0.04257235676050186, 0.3548297882080078, 0.4292619228363037, -0.12079910188913345, 0.4179297089576721, -0.06812530755996704, -0.16373281180858612, 0.047536700963974, 0.2864518463611603, 0.043639346957206726, 0.5439793467521667, 0.6850740313529968, -0.29942917823791504, -0.7202980518341064, -0.2504507601261139, -0.7615990042686462, -0.1602877378463745, -0.12850280106067657, -0.23209747672080994, 0.4386724531650543, 0.48865973949432373, -0.6104065179824829, 0.14418432116508484, 0.5351729989051819, -0.33285796642303467, 0.5555135011672974, -0.18089322745800018, 0.4564652740955353, -0.8471128344535828, 0.09761936217546463, -0.25807860493659973, -0.2507163882255554, -0.5392218232154846, 0.2173917591571808, 0.3650234341621399, 0.1804993748664856, -0.6414865851402283, 0.4875413179397583, -0.7962670922279358, -0.30607283115386963, -0.06735425442457199, -0.13067588210105896, 0.09931376576423645, 0.5028292536735535, -0.25687292218208313, 0.931125819683075, 0.7419158816337585, -0.3646351993083954, 0.3740816116333008, 0.14297935366630554, -0.77190762758255, 0.783475399017334, -0.5188822746276855, 0.37133559584617615, -0.05203249305486679, 0.20688781142234802, -1.2437382936477661, -0.1784997284412384, 0.025340784341096878, -0.00471308222040534, 0.5017156600952148, -0.23922021687030792, -0.7424459457397461, -0.028813201934099197, -0.6114327907562256, 0.12475214898586273, 0.43272578716278076, -0.5918171405792236, 0.8102532029151917, -0.09681251645088196, 0.1184055283665657, -0.7552362084388733, -0.5538986325263977, 0.04183672368526459, -0.03445640951395035, -0.5474050641059875, 0.13021354377269745, -0.5345764756202698, -0.11721239984035492, -0.13869152963161469, -0.16509495675563812, -0.19801893830299377, 0.2987518310546875, 0.40304890275001526, 0.3036250174045563, -0.5455965995788574, 0.07527681440114975, -0.21720929443836212, 0.10873918235301971, 0.2472122609615326, 0.2343766987323761, 0.9255315065383911, -0.14786332845687866, -0.8235695958137512, -0.865285336971283, 0.33179768919944763, 0.8942428827285767, -0.19294363260269165, 0.5856456160545349, 0.8540781736373901, -0.1559351533651352, -0.039461929351091385, -0.5914291739463806, -0.1499291956424713, -0.4998115301132202, 0.4376232922077179, -0.5374967455863953, -0.38387298583984375, 0.24018725752830505, -0.012586918659508228, 0.08320329338312149, -0.06731077283620834, 0.6401500105857849, -0.3801862299442291, 1.367069125175476, 0.567035973072052, 0.03126058727502823, 0.45135796070098877, -0.04358213394880295, -0.30978211760520935, -0.8405646681785583, -0.4361056983470917, -0.37277764081954956, -0.6387293934822083, 0.007553926203399897, -0.6234267354011536, 0.1517949402332306, 0.2266167551279068, -0.24267098307609558, 0.05520752817392349, -0.08522333949804306, 0.4117032289505005, 0.5918599963188171, 0.2398476004600525, -0.0003733753110282123, -0.2390090674161911, -0.21953092515468597, -0.0015072026289999485, -0.5470291972160339, -0.48463332653045654, 1.2691218852996826, 0.3551798462867737, 1.0489835739135742, 0.2632488012313843, 0.4767199754714966, 0.3476907014846802, 0.5500370860099792, -0.5879767537117004, 0.6918514966964722, -0.037110839039087296, -0.5600281357765198, 0.046252861618995667, -0.19673065841197968, -0.8905158042907715, 0.29449349641799927, -0.3023286461830139, -0.5682616233825684, -0.1719227135181427, 0.09486111998558044, -0.29378798604011536, -0.04524283856153488, -0.9636907577514648, 0.9984096884727478, -0.6900569796562195, -0.6671602725982666, -0.2893294095993042, -0.6318908333778381, 0.2666148245334625, 0.12993460893630981, 0.15041352808475494, -0.5199775695800781, -0.4549330472946167, 0.39381033182144165, -0.1117350310087204, 1.110583782196045, -0.2527754306793213, -0.06533241271972656, -0.06783974170684814, 0.09188740700483322, 0.3296397626399994, -0.32223808765411377, -0.00335415150038898, -0.3376118242740631, 0.033294640481472015, -0.465963751077652, -0.557037353515625, 0.8337331414222717, -0.6472861766815186, -0.7096072435379028, -0.016573814675211906, -1.0076322555541992, -0.5892273783683777, 0.12226608395576477, -0.24665941298007965, 0.6799401640892029, -0.2675064206123352, 0.4425812065601349, 0.8491278886795044, -0.1286713182926178, 0.4451974630355835, 0.738250732421875, -0.2947710454463959, -0.3728869557380676, 0.617946982383728, -0.05341414362192154, 0.2522295117378235, 0.634661853313446, 0.019162969663739204, -0.5857183933258057, -0.678177535533905, -0.8432136178016663, 0.03520571440458298, -0.9097967743873596, -0.331562340259552, -0.4152473211288452, 0.03968029469251633, -0.24201107025146484, -0.08932135254144669, -0.3112002909183502, -0.3088124990463257, -0.3262096643447876, 0.16292305290699005, 0.09324205666780472, 0.7519774436950684, 0.22682403028011322, 0.14139091968536377, -1.0906449556350708, -0.037973880767822266, 0.33419927954673767, 0.4731218218803406, -0.09668334573507309, -0.6977885961532593, -0.20432735979557037, 0.028035659343004227, -0.24677836894989014, -0.8189310431480408, -0.07584147900342941, 0.4002470374107361, 1.0595474243164062, 0.4547406733036041, -0.16343219578266144, 0.8213697075843811, -0.6639970541000366, 0.52349454164505, 0.23697619140148163, -1.025091290473938, 0.5915019512176514, -0.4193081259727478, 0.5392239689826965, 0.49025535583496094, 0.31718575954437256, -0.20555461943149567, -0.15112806856632233, -0.16414213180541992, -0.5443537831306458, 0.7002937197685242, -0.15671291947364807, 0.3664313852787018, 0.22067251801490784, -0.0392383448779583, 0.16539692878723145, 0.24953047931194305, -0.5077996850013733, -0.20083275437355042, 0.03491370379924774, -0.4189353883266449, 0.09114299714565277, -0.4139808714389801, -0.4892738461494446, -0.21753762662410736, 0.35681331157684326, -0.09570607542991638, 0.21303100883960724, -0.2521510720252991, -0.3620246946811676, -0.2667275667190552, 0.2658936083316803, 1.0899231433868408, 0.9414726495742798, -0.3962497413158417, 0.18683330714702606, 0.3543812930583954, -0.10278989374637604, 0.08343009650707245, 0.16752703487873077, 0.05665138363838196, 0.19379296898841858, 0.7029825448989868, 0.8462732434272766, 0.5769359469413757, -1.0993988513946533, 0.6620805859565735, -0.05264813452959061, -0.28187429904937744, -0.06148380786180496, 0.31553325057029724, 0.18822436034679413, 0.3990676701068878, 0.08513882756233215, 0.2892759144306183, 0.049806371331214905, -0.8085894584655762, 0.31163260340690613, 0.5271937251091003, -0.46406275033950806, -0.26061108708381653, 0.5775818228721619, 0.2826322019100189, -0.30486342310905457, 0.3945620656013489, 0.2540856599807739, -0.40023261308670044, 0.609198272228241, 0.565838098526001, 0.543397068977356, -0.36835145950317383, 0.05002996698021889, 0.32615622878074646, 0.3521531820297241, -0.027175914496183395, 0.3928094506263733, -0.16363947093486786, -0.272745817899704, -0.3111753761768341, -0.31714117527008057, -0.4088670015335083, 0.004289831966161728, -0.8675473928451538, 0.30393096804618835, -0.7175122499465942, -0.1496284455060959, 0.00943551491945982, -0.17203649878501892, -0.6578163504600525, -0.07608658075332642, 0.2506900131702423, 1.1828581094741821, -0.5665947794914246, 1.0135290622711182, 0.6991140842437744, -0.44988277554512024, -0.4682905375957489, -0.29784372448921204, 0.480670303106308, -0.9240673780441284, 0.6153234839439392, 0.5495604872703552, -0.2617461383342743, -0.26872700452804565, -0.4189457297325134, -0.882742166519165, 1.239791750907898, 0.7464762330055237, -0.7688818573951721, 0.21946899592876434, -0.11953824013471603, 0.4919752776622772, -0.5273715853691101, 0.34390658140182495, 0.5688280463218689, 0.6662200689315796, -0.1701255440711975, -0.7799357175827026, -0.0571126826107502, -0.417587548494339, -0.1793210357427597, 0.19990573823451996, -0.6840555667877197, 0.7523563504219055, -0.2562800645828247, -0.06620747596025467, 0.6151840686798096, 0.42253726720809937, 0.2816084623336792, 0.4976811707019806, 0.5372834205627441, 0.4844432473182678, 0.661647379398346, -0.227091982960701, 1.0808639526367188, -0.18756668269634247, 0.052839912474155426, 1.5744893550872803, -0.43608230352401733, 1.1453403234481812, 0.4793887734413147, -0.1320318579673767, 0.4073255658149719, 0.5404651761054993, -0.29777365922927856, 0.7258663773536682, 0.22897788882255554, -0.23470444977283478, -0.36122679710388184, -0.33421891927719116, -0.5240522623062134, 0.36603760719299316, 0.22839023172855377, -0.5331369042396545, -0.12002293765544891, 0.10722361505031586, -0.0980013981461525, 0.38141822814941406, -0.4011932909488678, 0.6421682238578796, -0.23824933171272278, -0.6509751677513123, 0.8635663986206055, -0.16899867355823517, 0.4608640670776367, -0.7116682529449463, -0.24246878921985626, -0.38906463980674744, 0.38689619302749634, 0.006300007924437523, -0.7290548086166382, -0.10108855366706848, 0.11165443807840347, -0.18600638210773468, -0.26932790875434875, 0.36389926075935364, -0.5785595178604126, -0.3934117257595062, 0.38759374618530273, 0.5169692635536194, 0.15467210114002228, 0.33154624700546265, -0.9363396763801575, 0.38179898262023926, -0.04913197457790375, -0.20699071884155273, 0.5012115240097046, 0.3219730257987976, 0.19113586843013763, 0.887355625629425, 0.5073032379150391, -0.42401793599128723, 0.40794458985328674, 0.6091775894165039, 0.9353893399238586, -0.3365543484687805, 0.26699966192245483, -0.8333876729011536, 0.5812476277351379, 0.033110857009887695, -0.5981284976005554, 0.8665586709976196, 0.6603260636329651, 0.791231632232666, -0.3871346116065979, 0.33987516164779663, 0.1737542450428009, 0.30145588517189026, -0.9932810068130493, 0.5788679718971252, -0.7635914087295532, 0.3566465377807617, 0.0591091513633728, -0.9545662999153137, -0.2282407581806183, 0.4869343340396881, -0.08235330134630203, 0.13045670092105865, 0.8114982843399048, 1.0716286897659302, -0.18588116765022278, -0.1970646232366562, 0.581614077091217, 0.08175867795944214, -0.03596065193414688, 0.6822131276130676, 1.3690063953399658, -0.2362598478794098, 0.6618993878364563, -0.3639823794364929, 0.029455512762069702, -0.5006787180900574, -0.7513554692268372, -1.193755030632019, -0.48842528462409973, -0.14101611077785492, -0.08784141391515732, 0.39874815940856934, 1.2939119338989258, 0.9494253993034363, -0.8133401870727539, -0.23912668228149414, 0.20190078020095825, -0.09553344547748566, -0.5851554870605469, -0.10746295005083084, 0.39023512601852417, -0.6566987037658691, -0.8947857022285461, 0.6578929424285889, 0.26484405994415283, 0.03907034546136856, -0.30278801918029785, -0.2483382672071457, -0.5169968008995056, 0.19162125885486603, 0.728344738483429, -0.331757128238678, -0.8658966422080994, -0.2900579869747162, 0.16845129430294037, -0.579454779624939, 0.1915961354970932, 0.6763050556182861, -0.30918100476264954, 0.605063259601593, 0.18714860081672668, 0.7473105192184448, 0.3202493190765381, -0.026816481724381447, 0.5824817419052124, -0.7658195495605469, -0.0421224907040596, 0.24478118121623993, 0.5402255058288574, 0.40800949931144714, 0.09755837917327881, 0.7233452200889587, -0.2273344099521637, -0.2878859341144562, -0.9704188108444214, -0.04062912240624428, -1.1833817958831787, -0.3719564378261566, 1.045932412147522, -0.5221177339553833, -0.32865551114082336, -0.03356025367975235, -0.3488076329231262, -0.00885025504976511, -0.34307387471199036, 0.8503899574279785, 0.8825672268867493, -0.04432329908013344, -0.6141155958175659, -0.6255022287368774, 0.1403706967830658, 0.8130815625190735, -0.9251887202262878, 0.13026557862758636, 0.869561493396759, 0.23527076840400696, -0.1695491075515747, 0.3994005024433136, -0.021613752469420433, 0.6839855909347534, 0.10925338417291641, 0.036080896854400635, -0.31271228194236755, -0.47740092873573303, -0.42372894287109375, 0.14378401637077332, 0.24234548211097717, -0.46635717153549194 ]
http://arxiv.org/abs/2407.01505v1
http://arxiv.org/pdf/2407.01505v1
Self-Cognition in Large Language Models: An Exploratory Study
2024-07-01T17:52:05
2024-07-01T17:52:05
Dongping Chen, Jiawen Shi, Yao Wan, Pan Zhou, Neil Zhenqiang Gong, Lichao Sun
cs.CL
cs.CL, cs.AI
While Large Language Models (LLMs) have achieved remarkable success across various applications, they also raise concerns regarding self-cognition. In this paper, we perform a pioneering study to explore self-cognition in LLMs. Specifically, we first construct a pool of self-cognition instruction prompts to evaluate where an LLM exhibits self-cognition and four well-designed principles to quantify LLMs' self-cognition. Our study reveals that 4 of the 48 models on Chatbot Arena--specifically Command R, Claude3-Opus, Llama-3-70b-Instruct, and Reka-core--demonstrate some level of detectable self-cognition. We observe a positive correlation between model size, training data quality, and self-cognition level. Additionally, we also explore the utility and trustworthiness of LLM in the self-cognition state, revealing that the self-cognition state enhances some specific tasks such as creative writing and exaggeration. We believe that our work can serve as an inspiration for further research to study the self-cognition in LLMs.
[ -0.34734153747558594, -0.8885627388954163, 0.786024272441864, 0.17394313216209412, 0.09884920716285706, -0.09584060311317444, -0.378982812166214, -0.4242347776889801, 0.28113362193107605, 0.6842885613441467, -0.4419754147529602, -0.35228341817855835, -0.476499080657959, 0.030706267803907394, -0.5748663544654846, 0.7400268316268921, 0.07755718380212784, -0.10931618511676788, -0.3497108221054077, 0.0886552557349205, -0.6382879018783569, -0.76351398229599, -0.5994212627410889, -0.4325183629989624, 0.5578644871711731, 0.45250821113586426, 0.43180763721466064, 0.6316560506820679, 0.430996298789978, 0.28340622782707214, 0.2305537462234497, -0.09705545008182526, -0.717384397983551, 0.43043550848960876, -0.29369398951530457, -0.7126185894012451, -0.5691138505935669, 0.2998940050601959, 0.685659646987915, 0.3546343147754669, -0.2082093060016632, 0.40630412101745605, 0.21266357600688934, 0.7285959124565125, -0.44730982184410095, 0.3713900148868561, -0.5528375506401062, 0.09965391457080841, -0.10492075234651566, -0.12846258282661438, -0.6892896890640259, 0.2490258514881134, 0.0256310123950243, -0.45571672916412354, 0.06905969232320786, 0.2631048858165741, 0.10252449661493301, 0.33611512184143066, -0.47613266110420227, -0.46141737699508667, -0.8502293825149536, 0.7081891894340515, -0.6323829293251038, 0.25288647413253784, 0.49207279086112976, 0.1724330484867096, -0.19846530258655548, -0.5536039471626282, -0.659735381603241, -0.34329116344451904, 0.08058410882949829, 0.18152454495429993, -0.14871293306350708, -0.14127936959266663, 0.14738033711910248, 0.478096604347229, -0.5353994965553284, 0.5708804726600647, -0.2420915812253952, -0.24104849994182587, 0.6846089959144592, 0.31470543146133423, 0.16409774124622345, -0.08511564135551453, -0.27227815985679626, -0.08342352509498596, -0.6895961165428162, -0.277650386095047, 0.18241246044635773, 0.16202379763126373, -0.08823787420988083, 0.660946786403656, -0.30297091603279114, 0.33464187383651733, -0.16179530322551727, -0.006991083268076181, 0.20074787735939026, -0.2778407037258148, -0.2872796356678009, -0.09491250663995743, 1.0375185012817383, 0.13750508427619934, 0.5321877002716064, 0.0166912954300642, -0.20152200758457184, -0.09393508732318878, 0.5019576549530029, -0.5627728700637817, -0.3004796802997589, 0.17220920324325562, -0.5469055771827698, -0.37480881810188293, -0.43644624948501587, -0.1489693522453308, -0.4101596176624298, -0.1456441879272461, 0.6348176002502441, -0.2808498740196228, -0.405940979719162, -0.014334458857774734, 0.30235931277275085, 0.30162307620048523, 0.3625756502151489, -1.0355342626571655, 0.18256990611553192, 0.6676399111747742, 0.49392977356910706, -0.30619338154792786, -0.6371257305145264, -0.0240542721003294, 0.012799026444554329, -0.4266766905784607, 0.6864134669303894, -0.45752379298210144, -0.4571140706539154, -0.12643034756183624, -0.20143647491931915, -0.07180993258953094, -0.3305484354496002, 0.4227820634841919, -0.266716867685318, 0.27180367708206177, -0.018005309626460075, -0.975806713104248, 0.03246447071433067, 0.43693089485168457, -0.6587272882461548, 0.9236140847206116, -0.18873246014118195, -0.5514305233955383, 0.06847630441188812, -0.24966828525066376, -0.4220646321773529, 0.07813912630081177, -0.46268564462661743, -0.2388351708650589, 0.4051121771335602, 0.07417537271976471, 0.856776237487793, -0.23232842981815338, 0.15251196920871735, -0.3657536804676056, -0.2328566461801529, 0.7518841624259949, -0.5475319027900696, 0.38892313838005066, 0.13290919363498688, -0.21310418844223022, -0.15517841279506683, -0.35915181040763855, 0.15918897092342377, 0.3405497968196869, -0.1743021309375763, -0.30465009808540344, -0.17559540271759033, -0.5091758966445923, 0.29173964262008667, 0.5115479826927185, -0.3323151469230652, 0.32351022958755493, -0.22428901493549347, 0.44236284494400024, 0.6736131906509399, -0.1243843212723732, 0.49420365691185, -0.1913735717535019, 0.4177130460739136, -0.27867040038108826, 0.2427036464214325, -0.3104116916656494, -0.4036124050617218, -0.919099748134613, -0.20109403133392334, 0.12698249518871307, 0.20769314467906952, -0.34354233741760254, 0.3663594126701355, 0.016939911991357803, -0.48355942964553833, -0.3516479730606079, 0.2977100610733032, 0.48779231309890747, 0.34753355383872986, 0.24227260053157806, -0.15985645353794098, -0.15450215339660645, -1.1487842798233032, -0.20912891626358032, -0.22145026922225952, 0.3005305230617523, 0.44223901629447937, 0.7167014479637146, -0.16216804087162018, 0.5703347325325012, -0.497277170419693, -0.36443647742271423, -0.3481501042842865, 0.02342485450208187, 0.10838396102190018, 0.4630751609802246, 0.3837070167064667, -0.1909979283809662, -0.4635113775730133, -0.46170997619628906, -0.8786931037902832, 0.05772766098380089, -0.16812549531459808, -0.1429070383310318, 0.4150696098804474, 0.7544484734535217, -0.6628249287605286, 0.20105738937854767, 0.7277449369430542, -0.2681332528591156, 0.5112074613571167, -0.6221307516098022, -0.09189725667238235, -0.876445472240448, -0.19912225008010864, -0.13485440611839294, -0.0672624260187149, -0.6129770278930664, -0.05995398387312889, 0.05925456061959267, 0.22937734425067902, -0.023354653269052505, 0.6411933302879333, -0.7187740802764893, -0.10943067073822021, -0.5155088305473328, 0.28157612681388855, -0.10908862203359604, 0.4710337221622467, 0.003999553620815277, 0.6254559755325317, 0.7781435251235962, -0.5585339665412903, 0.045787762850522995, 0.11176689714193344, -0.586781919002533, 0.3396380841732025, -0.46937522292137146, 0.39877989888191223, -0.052284035831689835, 0.3030930161476135, -1.2193423509597778, -0.002525355899706483, 0.17828860878944397, -0.5020660161972046, 0.42310720682144165, 0.23327942192554474, -0.6350874304771423, -0.4674851894378662, -0.015952283516526222, 0.24401429295539856, 0.5420010089874268, -0.47928550839424133, 0.6234007477760315, 0.5383877754211426, -0.0204346664249897, -0.31856009364128113, -0.7712416648864746, 0.03865944966673851, -0.30021628737449646, -0.25286805629730225, -0.05940909683704376, -0.21635395288467407, -0.07015273720026016, -0.3437930643558502, -0.07607171684503555, 0.12194108963012695, 0.3065427243709564, 0.4175912141799927, 0.24603112041950226, -0.02867314964532852, 0.4213772118091583, -0.1253434270620346, -0.0028756922110915184, 0.43796399235725403, -0.2119525521993637, 0.6372979879379272, -0.2686980664730072, -0.5001009106636047, -0.5483054518699646, -0.09573158621788025, 0.46555060148239136, -0.31345513463020325, 0.7365449070930481, 0.3688458800315857, -0.001412800862453878, -0.4071770906448364, -0.8832412362098694, -0.29281705617904663, -0.431232213973999, 0.20269373059272766, -0.3967231512069702, -1.2695749998092651, 0.4884629249572754, -0.012491620145738125, -0.09056434035301208, 0.5136603713035583, 0.7716795802116394, -0.5976276993751526, 0.8137614727020264, 0.5913683176040649, -0.2791374623775482, 0.38970717787742615, -0.3051273226737976, 0.10043621808290482, -1.0608080625534058, -0.2534644901752472, -0.1852465718984604, -0.27754467725753784, -0.6739387512207031, -0.6542802453041077, 0.20489001274108887, -0.24254077672958374, -0.31783270835876465, 0.07051681727170944, -0.26721879839897156, 0.3527759611606598, 0.44897496700286865, 0.06557111442089081, 0.340753436088562, -0.25377315282821655, 0.021594932302832603, 0.08123477548360825, -0.769533634185791, -0.5065037608146667, 1.2382678985595703, 0.5547996163368225, 1.0651978254318237, 0.0696955993771553, 0.9299843907356262, 0.35783857107162476, 0.2674713730812073, -0.6692854166030884, 0.6558207869529724, 0.12128400057554245, -0.8835089802742004, -0.6772521734237671, -0.446689635515213, -1.0803430080413818, 0.28706544637680054, -0.3544715344905853, -0.6710191965103149, -0.24326972663402557, 0.4512922465801239, -0.19367615878582, 0.006057374645024538, -0.6045324802398682, 0.976643443107605, -0.6945805549621582, -0.2676924765110016, -0.7040502429008484, -0.5012889504432678, 0.5269964933395386, -0.23284085094928741, 0.24923935532569885, -0.33079564571380615, -0.04373330622911453, 0.6103159189224243, 0.12040100246667862, 1.2045660018920898, 0.22896456718444824, -0.31239408254623413, 0.6171043515205383, 0.411471962928772, 0.4606427252292633, -0.04495098814368248, 0.16665136814117432, 0.18305952847003937, -0.08339187502861023, -0.043998681008815765, -0.7888562083244324, 0.8603609204292297, -0.7729584574699402, -0.9001484513282776, -0.3747086822986603, -0.5223520994186401, -0.1990780234336853, 0.22827741503715515, -0.10784371942281723, 0.33151575922966003, -0.5862317085266113, 0.3730500638484955, 0.7801687121391296, -0.20242302119731903, 0.26213884353637695, 0.7345759272575378, -0.5866201519966125, -0.09935300052165985, 0.7724403142929077, 0.21880997717380524, 0.5336183309555054, 0.3842267096042633, 0.39713358879089355, -0.3394322693347931, -0.5068106055259705, -0.1192251592874527, 0.4541857838630676, -0.7260443568229675, -0.0751560777425766, -0.5293005108833313, -0.18095505237579346, -0.3891580104827881, 0.26674360036849976, -0.7148533463478088, -0.5240668654441833, -0.32831379771232605, 0.04342488944530487, 0.09848666936159134, 1.043488621711731, 0.09905288368463516, 0.2613826096057892, -0.4387071132659912, -0.0017783947987481952, 0.34933578968048096, 0.33273768424987793, 0.263088196516037, -0.8329327702522278, -0.3301404118537903, -0.0692613497376442, -0.06615883111953735, -0.46543875336647034, 0.3439593017101288, 0.0892694890499115, 0.9149227738380432, 0.36564382910728455, -0.051884595304727554, 0.1825857311487198, -0.5138180255889893, 0.5769591927528381, 0.12728121876716614, -0.8768633604049683, 0.38735541701316833, -0.2750902473926544, 0.43355080485343933, 0.3960142433643341, 0.28331780433654785, -0.47488588094711304, -0.5935548543930054, -0.7799801826477051, -0.2841327488422394, 0.4743313491344452, 0.4216594994068146, 0.4901704490184784, -0.1786910444498062, 0.5989590883255005, -0.0071561867371201515, 0.15052306652069092, -0.7340888977050781, -0.43283966183662415, -0.12258554995059967, 0.05308779701590538, -0.44900843501091003, -0.6138426065444946, 0.06331437826156616, -0.10547851026058197, 0.524729311466217, -0.2595537006855011, 0.2670288383960724, 0.049236565828323364, -0.023834489285945892, 0.2282918095588684, 0.24572914838790894, 0.39549723267555237, 0.4405491054058075, 0.17009906470775604, 0.315165638923645, 0.3673149347305298, -0.23160025477409363, -0.15651844441890717, -0.5109463930130005, 0.12550359964370728, -0.6526051759719849, 0.4761863350868225, 0.6286726593971252, 0.3390742540359497, -0.6172987222671509, 0.5542921423912048, -0.14384935796260834, -0.04223291575908661, -0.52968430519104, 0.31869909167289734, 0.5635432004928589, 0.42696547508239746, -0.03788997605443001, -0.5424729585647583, 0.11376360058784485, -0.8463782072067261, -0.1459391862154007, 0.7172734141349792, -0.1637154072523117, -0.23078446090221405, 0.3613833487033844, 0.22925302386283875, -0.16026651859283447, 0.8587294816970825, -0.05280475318431854, -0.38890495896339417, 0.38750559091567993, 0.7884339094161987, 0.762275755405426, -0.2945297062397003, 0.05627346411347389, 0.36731866002082825, 0.4993242025375366, -0.20976269245147705, 0.10194453597068787, -0.30574458837509155, -1.015268325805664, -0.4173908829689026, -0.3600693941116333, -0.4992748498916626, 0.13208423554897308, -0.6284489631652832, -0.021654300391674042, -0.33110934495925903, -0.3104906380176544, -0.15683229267597198, 0.01323068980127573, -0.6373074054718018, 0.2468450516462326, 0.5139741897583008, 0.8205173015594482, -0.5540323257446289, 1.0527377128601074, 0.24445396661758423, -0.1619476079940796, -0.8014009594917297, -0.31158873438835144, -0.21430398523807526, -1.2392131090164185, 0.6792669892311096, 0.14736412465572357, -0.31072309613227844, 0.07024352252483368, -0.7525914907455444, -1.0746948719024658, 1.317410945892334, 0.16100342571735382, -0.6308051943778992, 0.0008792038424871862, 0.05437975376844406, 0.7014117240905762, -0.6734253168106079, 0.12895174324512482, 0.5689312815666199, 0.052676405757665634, 0.09322835505008698, -1.0094273090362549, -0.02867029793560505, -0.030271602794528008, -0.1125626191496849, -0.009502877481281757, -1.1011379957199097, 0.763175368309021, -0.3618296980857849, -0.04166628047823906, 0.042876388877630234, 0.8905686736106873, 0.19446486234664917, -0.006146556232124567, 0.37587541341781616, 0.5123217105865479, 0.8308854103088379, 0.2966996431350708, 1.0249377489089966, -0.5250987410545349, 0.33681878447532654, 1.465716004371643, -0.27201715111732483, 0.8849854469299316, 0.2966587245464325, 0.1677626371383667, 0.4402553141117096, 0.21134497225284576, -0.03695840761065483, 0.11612576246261597, 0.2883681654930115, 0.0591890811920166, -0.5983895659446716, 0.10774195939302444, -0.14522327482700348, 0.83326655626297, 0.5707275867462158, -0.6403613090515137, 0.23048701882362366, -0.03819858282804489, 0.09056323021650314, -0.08617362380027771, -0.37115341424942017, 0.7340711355209351, 0.36348116397857666, -0.7078279256820679, 0.13942398130893707, -0.3116297423839569, 0.3222760856151581, -0.4564878046512604, 0.11005045473575592, -0.18946844339370728, 0.2024311125278473, 0.11534856259822845, -1.3170084953308105, -0.01950218714773655, -0.16996310651302338, 0.0837562307715416, -0.4537366032600403, 0.8407328724861145, -0.2265709489583969, -0.3008599579334259, 0.26072388887405396, 0.9899167418479919, 0.5819745659828186, -0.26478731632232666, -0.6249985098838806, 0.22070744633674622, -0.06186577305197716, -0.438580721616745, 0.4762974679470062, 0.5951672792434692, 0.09836067259311676, 1.0530859231948853, 0.32079073786735535, -0.1348591148853302, 0.006858178414404392, 0.243312269449234, 0.6707421541213989, -0.85279381275177, -0.3155038356781006, -0.9431452751159668, 0.011886651627719402, 0.03546849638223648, -0.2625594139099121, 1.192194938659668, 0.6177491545677185, 0.8556110858917236, -0.026976875960826874, 0.7751120924949646, 0.1706497222185135, 0.26169225573539734, -0.514254093170166, 0.7097094655036926, -0.3925156593322754, 0.13475118577480316, -0.04469699412584305, -0.769126832485199, 0.06085709109902382, 0.676713764667511, -0.5593565702438354, 0.1406189352273941, 0.6298443675041199, 0.5876052379608154, 0.2702235281467438, 0.07770863175392151, 0.7273953557014465, 0.34704554080963135, 0.1519646793603897, 0.4133395552635193, 1.1751110553741455, 0.061800602823495865, 0.45580607652664185, -0.28791314363479614, -0.058318641036748886, -0.16344138979911804, -0.7691268920898438, -1.3249216079711914, -0.5978233218193054, -0.20978905260562897, -0.20232166349887848, -0.3394281566143036, 0.8341391086578369, 0.43319982290267944, -0.3020874857902527, -0.4518410861492157, 0.06326954811811447, -0.02710721641778946, 0.1631094068288803, -0.0805489793419838, 0.13658258318901062, -0.4906175434589386, -0.5074795484542847, 0.44980084896087646, 0.3127959072589874, 0.2748147249221802, -1.009932041168213, -0.045753076672554016, -0.06650697439908981, 0.19993990659713745, 0.6668314337730408, 0.15488828718662262, -0.7472962141036987, -0.3417626619338989, 0.17114217579364777, -0.4113558828830719, 0.023201724514365196, 0.7573340535163879, -0.6123109459877014, 0.618986964225769, 0.24598576128482819, 0.2770909070968628, 0.7675589919090271, -0.2013179510831833, 0.5279765725135803, -0.22990499436855316, -0.2954607605934143, 0.0633259043097496, 0.4227275848388672, 0.3625113368034363, -0.34551140666007996, 0.5072905421257019, -0.060333844274282455, -0.9168092012405396, -0.5268750786781311, 0.25612977147102356, -0.862060010433197, -0.20807704329490662, 1.0948480367660522, 0.05855943262577057, -0.3251659572124481, 0.3027728199958801, -0.09532526135444641, 0.12447112053632736, -0.2065291702747345, 0.8492944836616516, 0.8076698780059814, -0.5903726816177368, -0.1814655065536499, -0.6067255735397339, 0.15204589068889618, 0.3646063208580017, -0.7092424631118774, 0.3091284930706024, 0.45298701524734497, 0.35095474123954773, 0.21850739419460297, 0.8789529204368591, 0.20950959622859955, -0.1578744500875473, 0.09228115528821945, 0.2455071657896042, -0.0002671965048648417, -0.5331675410270691, -0.34042495489120483, -0.08768077939748764, 0.376441091299057, 0.06844017654657364 ]
http://arxiv.org/abs/2407.01492v1
http://arxiv.org/pdf/2407.01492v1
RegMix: Data Mixture as Regression for Language Model Pre-training
2024-07-01T17:31:03
2024-07-01T17:31:03
Qian Liu, Xiaosen Zheng, Niklas Muennighoff, Guangtao Zeng, Longxu Dou, Tianyu Pang, Jing Jiang, Min Lin
cs.CL
cs.CL, cs.AI
The data mixture for large language model pre-training significantly impacts performance, yet how to determine an effective mixture remains unclear. We propose RegMix to automatically identify a high-performing data mixture by formulating it as a regression task. RegMix involves training a set of small models with diverse data mixtures and fitting a regression model to predict their performance given their respective mixtures. With the fitted regression model, we simulate the top-ranked mixture and use it to train a large-scale model with orders of magnitude more compute. To empirically validate RegMix, we train 512 models with 1M parameters for 1B tokens of different mixtures to fit the regression model and find the optimal mixture. Using this mixture we train a 1B parameter model for 25B tokens (i.e. 1000x larger and 25x longer) which we find performs best among 64 candidate 1B parameter models with other mixtures. Further, our method demonstrates superior performance compared to human selection and achieves results that match or surpass DoReMi, while utilizing only 10% of the compute budget. Our experiments also show that (1) Data mixtures significantly impact performance with single-task performance variations of up to 14.6%; (2) Web corpora rather than data perceived as high-quality like Wikipedia have the strongest positive correlation with downstream performance; (3) Domains interact in complex ways often contradicting common sense, thus automatic approaches like RegMix are needed; (4) Data mixture effects transcend scaling laws, and our approach captures the complexity by considering all domains together. Our code is available at https://github.com/sail-sg/regmix.
[ -0.4108628034591675, -0.7276182174682617, 0.28460168838500977, 0.5078859925270081, -0.18944253027439117, 0.40760499238967896, -0.3749935030937195, -0.32312530279159546, 0.1990528404712677, 0.540224552154541, -0.49505940079689026, -0.2564161717891693, -0.6333510875701904, 0.07018034905195236, -0.567961573600769, 0.6023794412612915, 0.11823461949825287, 0.20931516587734222, -0.3988047242164612, 0.06376641243696213, -0.6721421480178833, -0.4970613420009613, -0.5108567476272583, -0.2818048298358917, 0.4884827435016632, 0.33303752541542053, 0.4178430140018463, 0.7607969641685486, 0.3641633093357086, 0.3119451105594635, 0.3081033229827881, 0.20782935619354248, -0.762886106967926, 0.30687618255615234, 0.009569855406880379, -0.6367435455322266, -0.21931767463684082, 0.24319110810756683, 0.6416071653366089, 0.6588714718818665, -0.36854061484336853, 0.22720180451869965, 0.16400976479053497, 0.4883303940296173, -0.7016324996948242, 0.08904702961444855, -0.6866406202316284, -0.29738518595695496, -0.23509959876537323, -0.05885525792837143, -0.42856723070144653, -0.27150291204452515, -0.27069830894470215, -0.6578189730644226, 0.11454123258590698, 0.44420576095581055, 0.9920704960823059, 0.4229855239391327, -0.19609695672988892, 0.19810162484645844, -0.9697229862213135, 1.0523638725280762, -0.5438631176948547, 0.7211101055145264, 0.33728089928627014, 0.46201732754707336, -0.2687983512878418, -0.7438340187072754, -0.610022783279419, -0.14996829628944397, 0.05911744758486748, 0.15920761227607727, -0.1323002427816391, -0.09856964647769928, 0.18244166672229767, 0.3397304117679596, -0.8719673752784729, 0.05787993595004082, -0.1173558309674263, -0.14251980185508728, 0.540658712387085, 0.3704991340637207, 0.26354336738586426, 0.48058533668518066, -0.270668089389801, -0.25868406891822815, -0.5332306027412415, -0.12746915221214294, 0.27998971939086914, 0.5732342600822449, 0.061757802963256836, 0.34797003865242004, -0.20418311655521393, 1.0285223722457886, -0.1403733193874359, -0.40282028913497925, 0.2316335141658783, -0.3026522397994995, -0.36004629731178284, -0.24026307463645935, 0.6785247921943665, -0.04928135126829147, 0.3520576059818268, -0.19709710776805878, -0.5052635669708252, 0.1305713802576065, 0.336601585149765, -0.8842925429344177, -0.21657699346542358, 0.08760662376880646, -0.3647560775279999, -0.03949397802352905, 0.1370597928762436, -0.7086291909217834, -0.3479749858379364, -0.8598058223724365, 0.6596415638923645, -0.3290620744228363, -0.26515644788742065, 0.42719918489456177, -0.21058113873004913, -0.11777599900960922, 0.48589494824409485, -0.5515108704566956, 0.664943277835846, 0.8388505578041077, 0.5553253889083862, -0.20508074760437012, -0.3340522348880768, -0.739148736000061, -0.14454768598079681, -0.2744366526603699, 0.6938076615333557, -0.7742635607719421, -0.3696453869342804, -0.15048862993717194, -0.3407452404499054, -0.394233763217926, -0.9810669422149658, -0.021488182246685028, -0.3362770676612854, 0.25459232926368713, 0.12003330886363983, -0.7939704060554504, -0.00818372517824173, -0.12357454001903534, -0.7759815454483032, 1.1605485677719116, 0.5000700950622559, -0.6569511294364929, 0.7366545796394348, -0.25496768951416016, -0.5786629915237427, 0.22854913771152496, -0.12254723161458969, -0.2876701354980469, 0.042792562395334244, -0.11880391836166382, 0.45643192529678345, -0.6753184795379639, 0.406877726316452, -0.3979696035385132, -0.35781019926071167, 0.24896809458732605, -0.11377927660942078, 0.7176229357719421, 0.4286958873271942, -0.12729790806770325, 0.14562062919139862, -1.0028260946273804, -0.10064438730478287, -0.010131471790373325, -0.1998026818037033, -0.527150571346283, -0.06281822919845581, 0.3848176896572113, 0.23780177533626556, 0.21117103099822998, -0.5156295895576477, -0.05075569823384285, -0.00856870599091053, -0.00048507415340282023, 0.5632516741752625, -0.20592573285102844, 0.408631294965744, -0.30765387415885925, 0.8411028385162354, -0.02390204183757305, 0.25244829058647156, 0.16651958227157593, -0.5261181592941284, -0.707105278968811, -0.6923474073410034, 0.6308175325393677, 0.5626134276390076, -0.5241807699203491, 0.6540773510932922, -0.20032934844493866, -0.6513015031814575, -0.7302432060241699, 0.34983837604522705, 0.10496854037046432, 0.545824408531189, 0.30655181407928467, -0.26589247584342957, -0.853157103061676, -0.9097528457641602, -0.17686203122138977, -0.19124405086040497, 0.010170986875891685, 0.20015849173069, 0.3739699721336365, -0.30238401889801025, 1.3582344055175781, -0.7480279207229614, -0.09613902866840363, -0.37279462814331055, 0.35312092304229736, 0.14888310432434082, 0.5674468874931335, 0.5065163969993591, -0.7847017645835876, -0.5673545598983765, -0.07013121992349625, -0.33297860622406006, -0.18774206936359406, -0.12984047830104828, -0.10574832558631897, -0.17275437712669373, 0.2934637665748596, -0.17866581678390503, 0.13680914044380188, 0.6232293844223022, -0.15273703634738922, 0.43903878331184387, -0.16075094044208527, 0.06486688554286957, -1.1516231298446655, 0.33233195543289185, 0.4037114679813385, -0.2951301634311676, -0.6081821322441101, -0.04391666501760483, 0.02912566252052784, 0.028605971485376358, -0.20852792263031006, 0.6540171504020691, -0.05626184865832329, 0.21714892983436584, -0.29418784379959106, -0.3994213044643402, -0.11152470111846924, 0.09527194499969482, 0.14376424252986908, 1.0735098123550415, 0.5436542630195618, -0.5055480003356934, 0.2546514570713043, -0.10130222141742706, -0.5113778710365295, 0.16498929262161255, -0.3753925859928131, -0.20219245553016663, -0.06895000487565994, 0.31234055757522583, -1.1821489334106445, -0.15187259018421173, -0.15375679731369019, -0.44538062810897827, 0.2490168809890747, -0.020821165293455124, -0.6109732985496521, -0.28199344873428345, 0.08351895958185196, 0.2595379650592804, 0.7179729342460632, -0.20888416469097137, 0.7908620834350586, 0.5314440727233887, -0.17772407829761505, -0.5244973301887512, -0.5165560841560364, 0.04133483022451401, -0.43292248249053955, -0.6998875737190247, 0.17081010341644287, -0.11300737410783768, -0.33052247762680054, -0.28703784942626953, -0.12561774253845215, -0.6099709272384644, 0.40029728412628174, 0.20572663843631744, 0.33169859647750854, -0.205934077501297, -0.1767769753932953, -0.2595444917678833, -0.18325629830360413, -0.11168379336595535, -0.2597666084766388, 0.8144373893737793, 0.1894875317811966, 0.16147693991661072, -0.2675504982471466, 0.3711400330066681, 0.4902305006980896, -0.35290151834487915, 0.8270784616470337, 0.7792305946350098, -0.32727789878845215, -0.37175390124320984, -0.6890941858291626, -0.2782018482685089, -0.4373887777328491, 0.33093515038490295, -0.3463107645511627, -0.9660003185272217, 0.5719730257987976, -0.060609009116888046, -0.0575752928853035, 0.24846896529197693, 0.48256948590278625, 0.07090143114328384, 1.0531328916549683, 0.7083796262741089, -0.5145220160484314, 0.6256328225135803, -0.15136821568012238, 0.2478337585926056, -0.17930801212787628, -0.17561161518096924, -0.8097152709960938, -0.26208266615867615, -0.4592270851135254, -0.36397942900657654, 0.13246402144432068, -0.09206650406122208, -0.22133731842041016, 0.4111330211162567, -0.0028880322352051735, 0.3539264500141144, 0.6744616031646729, -0.1018436849117279, 0.19917196035385132, 0.06549320369958878, 0.166428342461586, 0.10839252173900604, -0.8340068459510803, -0.20491796731948853, 0.9924490451812744, 0.25032904744148254, 1.1956034898757935, -0.32661134004592896, 0.9110569953918457, 0.14083310961723328, 0.45314350724220276, -0.6291311383247375, 0.5234514474868774, -0.39972618222236633, -0.5964723229408264, -0.04943089559674263, -0.8062790036201477, -1.1541246175765991, 0.1025337353348732, -0.39752012491226196, -0.48627132177352905, 0.17750075459480286, 0.18348078429698944, -0.43109840154647827, -0.03836522251367569, -0.8251270055770874, 0.8260366320610046, -0.038291335105895996, -0.2377474009990692, -0.27721452713012695, -0.7112028002738953, 0.2736290693283081, -0.45897921919822693, 0.3625243008136749, 0.048578694462776184, 0.05543629080057144, 0.7757887840270996, -0.3205530047416687, 0.689457356929779, -0.17869743704795837, -0.04400930553674698, 0.11700151115655899, 0.15433277189731598, 0.2817027270793915, -0.20200124382972717, 0.146592378616333, 0.10925383865833282, -0.20887434482574463, -0.3478122055530548, -0.672637403011322, 0.47687000036239624, -0.7645424008369446, -0.42719796299934387, -0.09451491385698318, -0.572152853012085, -0.49024316668510437, 0.10794557631015778, 0.17630384862422943, 0.32716792821884155, -0.04276721924543381, 0.35781243443489075, 0.5748828053474426, 0.0013541686348617077, 0.10447932034730911, 0.46746936440467834, -0.4253472685813904, -0.3268926441669464, 1.4142500162124634, 0.08773432672023773, 0.16586701571941376, 0.4250509738922119, 0.2976779341697693, -0.23168885707855225, -0.5160120725631714, -0.22571584582328796, 0.1636863797903061, -0.18083801865577698, -0.20580434799194336, -0.5619034171104431, -0.13725368678569794, -0.4107312560081482, 0.1621810793876648, -0.5494464039802551, -0.3410086929798126, -0.16625939309597015, 0.235385462641716, 0.07772154361009598, 0.5702237486839294, 0.0019746816251426935, 0.5222293734550476, -0.8019565343856812, 0.2657390832901001, 0.27630648016929626, 0.35497933626174927, -0.1919611245393753, -0.41539469361305237, -0.5243028402328491, 0.025882959365844727, 0.29545846581459045, -0.46207067370414734, 0.5968250036239624, 0.1003267914056778, 0.6308588981628418, 0.4648851752281189, -0.33189329504966736, 0.7696367502212524, -0.4091838300228119, 0.6165715456008911, 0.15089690685272217, -0.694191038608551, 0.3314214050769806, -0.2555027902126312, -0.17591246962547302, 0.7142940163612366, 0.41491615772247314, -0.4334798753261566, -0.6079827547073364, -0.6269863247871399, -0.8890597820281982, 0.646418035030365, 0.2068583369255066, -0.1983625292778015, 0.12574663758277893, 0.1570119857788086, 0.3291550576686859, 0.366739422082901, -0.39353668689727783, -0.4404953718185425, 0.13152968883514404, -0.45039528608322144, -0.3514356315135956, 0.008348705247044563, -0.038090284913778305, -0.44371652603149414, 0.568670392036438, 0.09225362539291382, 0.07140765339136124, -0.39384764432907104, -0.1214902475476265, -0.04120125249028206, -0.23182033002376556, 0.4900486469268799, 0.7246729731559753, -0.43343865871429443, 0.023560935631394386, -0.3753925561904907, -0.7294561862945557, 0.2821091115474701, 0.23780854046344757, 0.0496523417532444, -0.06693832576274872, 0.27511677145957947, 0.5993025302886963, -0.19979828596115112, -0.938451886177063, 0.43512994050979614, -0.2610982060432434, -0.2033078372478485, 0.041138656437397, 0.4514971673488617, -0.12288223206996918, -0.005808721762150526, 0.3969230353832245, 0.15913917124271393, 0.06496254354715347, -0.3662557899951935, 0.421184241771698, 0.21422748267650604, -0.1414235234260559, -0.09560634940862656, 0.6430425643920898, 0.18050526082515717, -0.01751595176756382, 0.5247806310653687, 0.0443168543279171, -0.3890206813812256, 0.7904374003410339, 0.6221358776092529, 0.8352956771850586, -0.5769719481468201, 0.1209603026509285, 0.1651875078678131, 0.16641192138195038, -0.3143361210823059, 0.36579468846321106, 0.20851576328277588, -0.8045727610588074, -0.6507824063301086, -0.7011595368385315, -0.1464792937040329, 0.22783423960208893, -0.6387431025505066, 0.17581401765346527, -0.25451576709747314, -0.07156669348478317, 0.04322793334722519, -0.007736850529909134, -0.687595546245575, 0.6914674043655396, 0.28323128819465637, 1.0003496408462524, -1.336543321609497, 0.9591476917266846, 0.7224250435829163, -0.28689393401145935, -0.8776726126670837, 0.01619401015341282, -0.11847083270549774, -0.797241747379303, 0.8715306520462036, -0.006691599730402231, -0.05856732651591301, 0.05266861245036125, -0.48144441843032837, -0.8315203785896301, 0.6650722026824951, 0.5103622674942017, -0.5749927163124084, 0.296716570854187, 0.2808464765548706, 0.3401969075202942, -0.609534740447998, 0.18095892667770386, 0.6143808364868164, 0.5108445882797241, 0.058798648416996, -0.8619176745414734, -0.11288899928331375, -0.1363086700439453, -0.00039046755409799516, 0.22529879212379456, -0.4966897666454315, 0.9459265470504761, 0.34300699830055237, -0.11790072172880173, -0.05073216184973717, 0.5900711417198181, 0.13350747525691986, 0.24693036079406738, 0.7706065773963928, 0.6812301874160767, 0.7933818101882935, -0.020531650632619858, 1.0832198858261108, -0.512567400932312, 0.32559216022491455, 1.1354461908340454, -0.4096604585647583, 0.8541653752326965, 0.37123727798461914, -0.3951742351055145, 0.32466354966163635, 0.8039858341217041, 0.18571123480796814, 0.5038609504699707, 0.37386611104011536, -0.350828617811203, -0.6398066878318787, -0.02252984419465065, -0.2649202346801758, 0.42315518856048584, 0.3068610429763794, -0.10537154227495193, -0.23762091994285583, 0.16810497641563416, -0.030674023553729057, 0.07025403529405594, -0.0666227713227272, 0.6394683122634888, -0.14840173721313477, -0.6892460584640503, 0.5294172167778015, -0.027436863631010056, 0.5182706713676453, -0.747158408164978, 0.018463097512722015, -0.3821272850036621, 0.13536100089550018, -0.03660835325717926, -0.57110995054245, 0.07051267474889755, -0.1699376404285431, -0.08730269968509674, -0.14715160429477692, 0.6045627593994141, -0.719187319278717, -0.45722702145576477, 0.1864999383687973, 0.7168238162994385, -0.10830008238554001, -0.32696056365966797, -0.5626260638237, 0.12389888614416122, 0.15762367844581604, -0.11253246665000916, 0.5819175839424133, 0.2629125714302063, 0.09285827726125717, 0.7656503319740295, 0.6044299602508545, 0.2394035905599594, 0.033781252801418304, 0.18582254648208618, 0.9640234708786011, -0.4597247540950775, -0.46686848998069763, -0.764175295829773, 0.39879241585731506, -0.10657372325658798, -0.2739087641239166, 0.5723096132278442, 1.2212380170822144, 0.7677653431892395, -0.06132116913795471, 0.8327107429504395, 0.08611661940813065, 0.4974954426288605, -0.3360385298728943, 0.5111436247825623, -0.7903870344161987, 0.011833563446998596, -0.08673322945833206, -1.1483631134033203, -0.45678597688674927, 0.5289395451545715, -0.11179443448781967, 0.09041575342416763, 0.47576236724853516, 0.9202173948287964, -0.2294822484254837, 0.12262874096632004, 0.25501054525375366, 0.1995014250278473, 0.2254546731710434, 0.2188110202550888, 0.7542847990989685, 0.018241029232740402, 0.19929762184619904, -0.2819161117076874, -0.42995572090148926, -0.2809496521949768, -0.5952832102775574, -0.5655423402786255, -0.7097123861312866, -0.40624940395355225, -0.39193665981292725, -0.016784271225333214, 1.0398361682891846, 0.9931997656822205, -0.6663573384284973, -0.751585066318512, -0.10486271977424622, -0.12703943252563477, -0.35465824604034424, -0.27101799845695496, -0.018067505210638046, -0.6668579578399658, -0.7331390976905823, 0.45275309681892395, 0.2066497802734375, -0.0009577901801094413, -0.18016992509365082, 0.06023630499839783, -0.1349358856678009, 0.14591488242149353, 0.42474180459976196, 0.024844089522957802, -0.3412424325942993, 0.07821213454008102, -0.049366191029548645, -0.24293792247772217, 0.08662613481283188, 1.1700481176376343, -0.8598608374595642, 0.523192286491394, 0.496914267539978, 0.880580723285675, 0.5307832956314087, 0.21408617496490479, 0.8127211332321167, -0.751982569694519, 0.10381428897380829, 0.3407945930957794, 0.29879263043403625, 0.003522529499605298, -0.20272856950759888, 0.48925942182540894, 0.42450544238090515, -0.36532554030418396, -0.7119377255439758, -0.005442682188004255, -1.10264253616333, -0.442550390958786, 1.2285072803497314, 0.027165768668055534, -0.2977323532104492, -0.2279336154460907, -0.21420849859714508, 0.025958649814128876, -0.45390865206718445, 0.6032708287239075, 0.6809722781181335, -0.069696806371212, 0.09246811270713806, -0.5982447266578674, 0.46941378712654114, 0.3966711163520813, -0.7191510200500488, 0.19259633123874664, 0.54681795835495, 0.384711354970932, -0.16371269524097443, 0.3664962947368622, 0.204542338848114, -0.05392027646303177, 0.10847505927085876, 0.12865447998046875, 0.05336170271039009, -0.4892679452896118, -0.15494132041931152, 0.10507284849882126, -0.06981385499238968, -0.15340659022331238 ]
http://arxiv.org/abs/2407.01491v1
http://arxiv.org/pdf/2407.01491v1
Expressive and Generalizable Low-rank Adaptation for Large Models via Slow Cascaded Learning
2024-07-01T17:28:59
2024-07-01T17:28:59
Siwei Li, Yifan Yang, Yifei Shen, Fangyun Wei, Zongqing Lu, Lili Qiu, Yuqing Yang
cs.CL
cs.CL, cs.CV
Efficient fine-tuning plays a fundamental role in modern large models, with low-rank adaptation emerging as a particularly promising approach. However, the existing variants of LoRA are hampered by limited expressiveness, a tendency to overfit, and sensitivity to hyperparameter settings. This paper presents LoRA Slow Cascade Learning (LoRASC), an innovative technique designed to enhance LoRA's expressiveness and generalization capabilities while preserving its training efficiency. Our approach augments expressiveness through a cascaded learning strategy that enables a mixture-of-low-rank adaptation, thereby increasing the model's ability to capture complex patterns. Additionally, we introduce a slow-fast update mechanism and cascading noisy tuning to bolster generalization. The extensive experiments on various language and vision datasets, as well as robustness benchmarks, demonstrate that the proposed method not only significantly outperforms existing baselines, but also mitigates overfitting, enhances model stability, and improves OOD robustness. Code will be release in https://github.com/microsoft/LoRASC very soon.
[ -0.17069777846336365, -0.8197929263114929, 0.18150340020656586, 0.1429794281721115, -0.3728320002555847, -0.0009654985624365509, -0.4207240045070648, -0.6413177847862244, 0.21084684133529663, 0.171030655503273, -0.42066457867622375, -0.6552929282188416, -0.6290420293807983, -0.27619874477386475, -0.36306944489479065, 1.1131374835968018, 0.05541441962122917, -0.27311357855796814, 0.22775039076805115, -0.5212027430534363, -0.25857990980148315, -0.20043790340423584, -0.889992356300354, -0.32098522782325745, 1.1813503503799438, 0.3554908037185669, 0.5961409211158752, 0.5920721292495728, 0.5666545629501343, 0.2644157409667969, -0.2671610116958618, 0.31421178579330444, -0.8045523762702942, 0.1862955093383789, -0.3738948702812195, -0.4839590787887573, -0.8661341071128845, -0.1947350800037384, 0.6784611940383911, 0.8599606156349182, -0.3304077684879303, 0.3166753649711609, 0.47831687331199646, 0.7938811182975769, -1.3232147693634033, 0.21207143366336823, -0.7511412501335144, 0.05989151820540428, -0.25975358486175537, -0.13521072268486023, -0.358515202999115, -0.18395903706550598, 0.05050649121403694, -0.786068856716156, -0.20882634818553925, -0.1864626705646515, 0.6168168187141418, 0.5847426652908325, -0.13808399438858032, 0.013330044224858284, -0.8092139363288879, 0.863620400428772, -0.601694643497467, 0.01897485740482807, 0.2229768931865692, 0.66361004114151, -0.026974502950906754, -0.7079386711120605, -0.0442713126540184, -0.09522592276334763, 0.29770204424858093, 0.22062861919403076, -0.30359381437301636, -0.11882518976926804, 0.40856608748435974, 0.29007434844970703, -0.11621540039777756, 0.6516382694244385, 0.04904696345329285, -0.004061336163431406, 0.27685999870300293, 0.10585109889507294, -0.171073317527771, 0.28255462646484375, -0.24141505360603333, 0.015379419550299644, -0.6595388650894165, 0.2301296889781952, 0.06843890249729156, 0.6906543970108032, -0.3636402487754822, 0.3586035370826721, -0.49659913778305054, 0.8764671683311462, 0.31313419342041016, -0.04947376251220703, 0.20624935626983643, 0.11164744943380356, -0.2753007411956787, -0.15282781422138214, 0.3460804522037506, -0.012177595868706703, 0.032795630395412445, -0.0689922422170639, -0.3617497980594635, 0.06812901794910431, -0.13735027611255646, -0.8735156655311584, 0.14496351778507233, 0.09195248037576675, -0.6391004323959351, -0.646704912185669, -0.20033758878707886, -0.6151100397109985, -0.45039603114128113, -0.45310601592063904, 0.5559080839157104, -0.06091783195734024, 0.20418769121170044, 0.1188618466258049, 0.30925247073173523, 0.467749685049057, 0.9109645485877991, -0.8170362710952759, 0.4200524687767029, 0.6032536029815674, 0.9176148772239685, -0.282889187335968, -0.4660094380378723, -1.3918858766555786, 0.12547899782657623, -0.5101279616355896, 0.6786021590232849, -0.3847930133342743, 0.1325673609972, -0.13641424477100372, -0.1803886741399765, 0.05817658454179764, -0.6081162691116333, 0.42754408717155457, -0.5123226642608643, -0.10031866282224655, -0.12239184230566025, 0.2251594513654709, 0.19887754321098328, 0.03374315798282623, -0.7433784008026123, 0.9526354670524597, 0.19819451868534088, -0.7614359259605408, 0.34983035922050476, -0.8448386788368225, -0.5761364102363586, -0.15862755477428436, -0.03022388555109501, -0.46832528710365295, 0.40719565749168396, 0.26260772347450256, 0.32832834124565125, -0.167046457529068, -0.18235954642295837, -0.4168538451194763, -0.6519608497619629, 0.12026794999837875, -0.10465651005506516, 0.5641729235649109, 0.2625844478607178, -0.09882916510105133, 0.20096810162067413, -0.7839959263801575, 0.02841951884329319, 0.04542090371251106, -0.6505177617073059, -0.30250105261802673, 0.20671717822551727, -0.04995173588395119, 0.22147223353385925, 0.10895217955112457, -0.22541411221027374, 0.594094455242157, -0.32589149475097656, 0.6570951342582703, 0.8394766449928284, -0.2204154133796692, 0.46381035447120667, -0.2620536983013153, 0.28772395849227905, 0.37974995374679565, 0.19101323187351227, 0.026436684653162956, -0.3009304404258728, -0.9061466455459595, -0.5684851408004761, 0.7547200918197632, 0.5244261622428894, -0.8928890228271484, 0.455562561750412, -0.43594637513160706, -0.3085532486438751, -0.4650656282901764, 0.4031864404678345, 0.3170776963233948, 0.46233421564102173, 0.4322662353515625, -0.6163131594657898, -0.2730534076690674, -0.6907839775085449, -0.4470100998878479, 0.1547580063343048, -0.016592908650636673, 0.18876929581165314, 0.46586793661117554, -0.19788406789302826, 0.8979772925376892, -0.533374011516571, -0.7052630186080933, -0.39754024147987366, 0.3451760411262512, 0.1672196090221405, 0.5907847285270691, 0.7065277695655823, -0.48347851634025574, -0.4128004312515259, 0.1637621819972992, -0.5748399496078491, 0.08606428653001785, 0.19866310060024261, -0.3448978066444397, -0.022182010114192963, 0.6044356822967529, -0.5320039987564087, 0.5629183053970337, 0.5659255981445312, 0.07613083720207214, 0.059116363525390625, -0.12664727866649628, -0.11218972504138947, -1.041455626487732, 0.24501031637191772, -0.10193564742803574, -0.38024985790252686, -0.49497994780540466, 0.22112970054149628, -0.15530259907245636, -0.32852524518966675, -0.6535126566886902, 0.4792947471141815, -0.32028767466545105, -0.1351252943277359, -0.21726839244365692, 0.08499764651060104, -0.2113654762506485, 0.6016327142715454, -0.06926410645246506, 0.38637199997901917, 0.9539497494697571, -0.5313318967819214, 0.04607320576906204, 0.11494240909814835, -0.6444610953330994, 0.62009197473526, -0.49216827750205994, 0.2670113444328308, -0.2591550052165985, 0.6270298361778259, -0.4102419316768646, -0.4672430157661438, 0.12303296476602554, -0.01180736068636179, 0.2920348644256592, -0.48713600635528564, -0.19069278240203857, -0.03350336477160454, -0.4120020270347595, 0.5134309530258179, 0.7600080370903015, -0.6980863213539124, 1.0586822032928467, -0.1064697802066803, 0.06563830375671387, -0.7257890105247498, -1.0333861112594604, -0.14091412723064423, -0.2605954110622406, -0.26252487301826477, 0.27589836716651917, -0.020850224420428276, -0.09041562676429749, -0.3479413092136383, -0.06767898797988892, 0.03960258141160011, 0.4001210033893585, 0.1381591111421585, 0.1323561668395996, -0.4390312731266022, -0.047020941972732544, 0.006957868114113808, -0.0649024173617363, -0.6357162594795227, -0.2449713945388794, 0.40903833508491516, -0.07366303354501724, -0.29598695039749146, -0.6036543250083923, 0.21317905187606812, 0.7124084830284119, -0.25792261958122253, 0.6644681692123413, 0.6884860992431641, -0.4261014461517334, -0.7704339027404785, -0.14517289400100708, -0.11747163534164429, -0.44463393092155457, 0.47375214099884033, -0.5239765048027039, -0.6902962327003479, 0.7728756666183472, -0.3847694396972656, -0.08786077797412872, 0.3743862211704254, 0.6536259055137634, -0.0720338448882103, 0.931402325630188, 0.8332038521766663, -0.41793501377105713, 0.8845603466033936, -0.33312490582466125, 0.018629709258675575, -0.9087870717048645, 0.029714923352003098, -0.662962794303894, -0.8485462665557861, -0.6584941744804382, -0.5290659666061401, 0.31330373883247375, 0.3361000716686249, -0.15600961446762085, 0.09330322593450546, -0.0819988027215004, 0.5820453763008118, 0.2737351059913635, 0.43461596965789795, 0.4969954788684845, 0.23134765028953552, 0.33802634477615356, 0.3087652623653412, -0.5442253947257996, -0.017980236560106277, 0.7899302840232849, 0.3822733759880066, 1.3391733169555664, 0.30039405822753906, 0.6374562382698059, 0.4276438057422638, 0.28681713342666626, -1.0508891344070435, 0.35692858695983887, -0.647698163986206, -0.1134282797574997, -0.2905418574810028, -0.5736387968063354, -0.7691187262535095, 0.13481658697128296, -0.280640572309494, -0.6900427341461182, 0.6734350323677063, 0.5257682800292969, -0.6025195121765137, 0.20217037200927734, -0.4546873867511749, 0.6454532742500305, -0.0698002353310585, -0.6160337328910828, -0.25263741612434387, -0.6279672980308533, 0.24784629046916962, -0.31175294518470764, 0.116043820977211, -0.0599193274974823, -0.20118682086467743, 0.5806025266647339, -0.35061049461364746, 1.060533046722412, -0.3624729812145233, -0.3019387722015381, 0.12898604571819305, 0.10816745460033417, 0.8848527073860168, -0.3094768524169922, -0.1566053330898285, 0.07859779894351959, -0.469684362411499, -0.7075536847114563, -0.906252384185791, 0.8495250344276428, -0.6755657196044922, -0.13861973583698273, -0.2369602769613266, -0.43406954407691956, -0.4751090407371521, -0.016745533794164658, 0.1525297909975052, 0.45808857679367065, -0.3143567442893982, 0.125952810049057, 0.5182197093963623, 0.00012033072562189773, 0.3754771947860718, 0.3383716344833374, -0.23747257888317108, -0.030848268419504166, 1.0903445482254028, -0.0072685652412474155, 0.5351875424385071, 0.3087451756000519, 0.3540414273738861, 0.3067071735858917, -0.6297492980957031, -0.33005037903785706, -0.04160873219370842, -0.8473089933395386, -0.23010462522506714, -0.16576744616031647, -0.21387328207492828, -0.09745512902736664, -0.17776881158351898, -0.3618723750114441, -0.6760640144348145, -0.4406198561191559, 0.37552446126937866, 0.19692417979240417, 0.7454262971878052, -0.00879912544041872, 0.4611378312110901, -0.12970535457134247, 0.6227912902832031, 0.5981733798980713, 0.35871079564094543, 0.1472581923007965, -0.7660125494003296, -0.4421125650405884, -0.04807459935545921, -0.253522127866745, -0.005554645787924528, 0.06540360301733017, 0.8538432121276855, 0.14686232805252075, 0.5592483282089233, -0.1205364242196083, 0.8871257901191711, -0.35941311717033386, 0.5017849206924438, 0.2571357190608978, -1.010450839996338, 0.6076037287712097, -0.3578779697418213, 0.5163249969482422, 0.68682861328125, 0.1703244149684906, -0.14876215159893036, -0.05057235062122345, -0.15817797183990479, -0.6347264647483826, 0.5885066390037537, -0.08210309594869614, 0.02848845161497593, 0.4699731469154358, 0.3274528980255127, 0.034990113228559494, 0.030800608918070793, -0.6130193471908569, 0.16185562312602997, -0.2918069064617157, -0.23196259140968323, -0.09840632230043411, 0.09376879781484604, -0.3469717502593994, -0.37499967217445374, 0.48800092935562134, -0.6499324440956116, -0.021327028051018715, -0.09848401695489883, -0.35251152515411377, -0.1932433843612671, 0.35618072748184204, 0.5775340795516968, 0.4391670525074005, -0.23564141988754272, 0.11171486228704453, 0.2192162424325943, -0.4683527648448944, -0.11402907222509384, -0.10873090475797653, -0.16610200703144073, -0.5157434940338135, 0.5788801908493042, 0.8768054246902466, 0.42993178963661194, -0.41968968510627747, 0.5699214339256287, 0.1438731700181961, 0.020514370873570442, 0.33380645513534546, 0.14292526245117188, -0.19897028803825378, 0.18213409185409546, 0.45803582668304443, 0.5782036781311035, 0.06022324785590172, -0.8403013348579407, -0.33808037638664246, 0.3949527442455292, -0.3726557195186615, -0.3907933831214905, 0.5113754868507385, 0.1804196983575821, 0.10594580322504044, 0.3143429458141327, 0.09620459377765656, -0.2011755257844925, 0.24389944970607758, 0.3673076331615448, 0.9679571986198425, -0.08447372168302536, 0.012315343134105206, 0.04177694395184517, -0.025277670472860336, -0.2351667284965515, 0.18885184824466705, -0.20187167823314667, -0.5315597057342529, -0.5869625210762024, -0.7189800143241882, -0.3834061920642853, -0.054436516016721725, -0.7838574647903442, 0.501060426235199, -0.6243035197257996, -0.27809229493141174, 0.17925648391246796, -0.24080979824066162, -0.5647097229957581, -0.01087633054703474, 0.17302876710891724, 1.0204384326934814, -1.0026934146881104, 0.9548303484916687, 0.4646466076374054, -0.34603041410446167, -0.47101733088493347, 0.2785201966762543, -0.1691688448190689, -0.7622296810150146, 0.8905444145202637, -0.17055818438529968, -0.6440607905387878, 0.15310214459896088, -0.9814977049827576, -0.9128037691116333, 1.1373074054718018, 0.6588771343231201, -0.5276570916175842, -0.2837337851524353, -0.045177146792411804, 0.6684359908103943, -0.5531740784645081, 0.007689178455621004, 0.44733676314353943, 0.31771308183670044, 0.17775262892246246, -0.8729313611984253, -0.14862839877605438, -0.03561067581176758, 0.1599915623664856, -0.11348894983530045, -0.8168027400970459, 1.0191932916641235, -0.3389727771282196, -0.06412803381681442, 0.5068730711936951, 0.6793032288551331, -0.014419169165194035, 0.06937672942876816, 0.5113540291786194, 0.7026531100273132, 0.6616474986076355, -0.10593095421791077, 0.8246022462844849, -0.008689659647643566, 0.37977832555770874, 1.3455063104629517, -0.6058211922645569, 1.1585792303085327, 0.41149264574050903, 0.13776880502700806, 0.9230606555938721, 0.41283726692199707, 0.25814616680145264, 0.8044888377189636, 0.27325376868247986, -0.13652510941028595, -0.41583898663520813, -0.22775867581367493, -0.20493827760219574, 0.6788869500160217, 0.2604331970214844, -0.2769589126110077, -0.41662752628326416, 0.2927274703979492, -0.4231003224849701, -0.24052657186985016, -0.822160005569458, 0.7656088471412659, 0.12596182525157928, -0.3994966447353363, 0.8817133903503418, -0.16431988775730133, 0.650155246257782, -0.6491025686264038, -0.09423299878835678, -0.19728313386440277, 0.47485920786857605, -0.5430397391319275, -0.2712463438510895, -0.21625520288944244, -0.1381673961877823, -0.24537834525108337, 0.06393574178218842, 0.5885823369026184, -0.24204394221305847, -0.3896360397338867, 0.3163701593875885, 0.5375257730484009, -0.04174785315990448, -0.0007761625456623733, -0.5876715183258057, 0.43689554929733276, -0.4431665539741516, -0.10694030672311783, 0.5978903770446777, 0.3875046372413635, -0.48472344875335693, 0.7256066799163818, 0.541377604007721, 0.32619184255599976, -0.1239345595240593, 0.4911339282989502, 1.1352862119674683, -0.4204446077346802, -0.4094986021518707, -0.46509212255477905, 0.45231449604034424, 0.16401702165603638, -0.260293185710907, 0.3614473342895508, 0.4970470070838928, 0.5167840123176575, -0.19457808136940002, 0.6655948162078857, 0.01593651808798313, 0.5676494240760803, -0.8603479266166687, 0.6201159954071045, -0.5866411328315735, 0.25782981514930725, -0.3283987045288086, -1.0504813194274902, -0.3393058180809021, 0.4899565577507019, -0.33937811851501465, 0.2245682328939438, 0.626433789730072, 0.5444343686103821, -0.6604062914848328, -0.4753402769565582, 0.4264107048511505, 0.6052184700965881, -0.06831349432468414, 0.7092614769935608, 1.0095200538635254, -0.42956608533859253, 0.17220930755138397, -0.12705154716968536, -0.4901057183742523, -0.43319371342658997, -1.0642212629318237, -0.8862640261650085, -0.30593341588974, -0.47023293375968933, -0.44482871890068054, 0.097652368247509, 0.8103976249694824, 0.9596210718154907, -0.8691168427467346, -0.15448294579982758, 0.1763029247522354, -0.08115579187870026, -0.5513518452644348, -0.12396590411663055, 0.48236072063446045, -0.1980147510766983, -0.630961000919342, 0.4843967854976654, 0.20031537115573883, -0.013903310522437096, -0.23754137754440308, -0.06861650198698044, 0.06952270120382309, 0.1757402867078781, 0.9453921914100647, 0.5719655156135559, -0.6169567108154297, -0.23763735592365265, -0.4878090023994446, -0.05330587178468704, 0.20408542454242706, 0.9711440205574036, -1.0530097484588623, 0.05289717763662338, 0.2756633162498474, 0.44392094016075134, 0.5867477655410767, 0.388870507478714, 0.005981958005577326, -0.6697279214859009, 0.45945248007774353, 0.19947990775108337, 0.20529747009277344, 0.20754416286945343, -0.10242274403572083, 0.33477383852005005, 0.057552799582481384, -0.2761300504207611, -0.9021216034889221, 0.4219132959842682, -1.493811011314392, -0.14986568689346313, 0.8275424838066101, -0.0842016339302063, -0.5442276000976562, 0.10759805887937546, -0.14726214110851288, -0.06952641904354095, -0.47359755635261536, 0.733574628829956, 0.1840006411075592, -0.12304820120334625, 0.15844328701496124, -0.3270777463912964, 0.6016222238540649, 0.23980706930160522, -0.9712181091308594, 0.30715376138687134, 0.3217657804489136, 0.2350413054227829, 0.15199661254882812, 0.4661101698875427, 0.04133927449584007, 0.44792479276657104, -0.4382687211036682, -0.2073362171649933, 0.19202430546283722, -0.4367202818393707, -0.7958133220672607, 0.1837112456560135, 0.4945201277732849, 0.05645027384161949 ]
http://arxiv.org/abs/2407.01490v1
http://arxiv.org/pdf/2407.01490v1
LLM See, LLM Do: Guiding Data Generation to Target Non-Differentiable Objectives
2024-07-01T17:26:21
2024-07-01T17:26:21
Luísa Shimabucoro, Sebastian Ruder, Julia Kreutzer, Marzieh Fadaee, Sara Hooker
cs.CL
cs.CL, cs.AI, cs.LG
The widespread adoption of synthetic data raises new questions about how models generating the data can influence other large language models (LLMs) via distilled data. To start, our work exhaustively characterizes the impact of passive inheritance of model properties by systematically studying the consequences of synthetic data integration. We provide one of the most comprehensive studies to-date of how the source of synthetic data shapes models' internal biases, calibration and generations' textual attributes and preferences. We find that models are surprisingly sensitive towards certain attributes even when the synthetic data prompts appear "neutral". which invites the question whether this sensitivity can be exploited for good. Our findings invite the question can we explicitly steer the models towards the properties we want at test time by exploiting the data generation process? This would have historically been considered infeasible due to the cost of collecting data with a specific characteristic or objective in mind. However, improvement in the quality of synthetic data, as well as a shift towards general-purpose models designed to follow a diverse way of instructions, means this question is timely. We propose active inheritance as a term to describe intentionally constraining synthetic data according to a non-differentiable objective. We demonstrate how active inheritance can steer the generation profiles of models towards desirable non-differentiable attributes, e.g. high lexical diversity or low toxicity.
[ -0.09739582240581512, -0.712636411190033, 0.42396634817123413, 0.12807680666446686, -0.007236948702484369, 0.07986725121736526, -0.08632411062717438, -0.5094313621520996, -0.14815093576908112, 0.5849985480308533, -0.5965240597724915, -0.14742043614387512, -0.5971769690513611, 0.05627545714378357, -0.45199066400527954, 0.9469630718231201, -0.22801540791988373, 0.06330127269029617, -0.1098695769906044, -0.08086052536964417, 0.018930833786725998, -0.5686480402946472, -0.15306007862091064, -0.28187018632888794, 0.6890693306922913, 0.3431335389614105, 0.9383261799812317, 0.8216686844825745, 0.07690836489200592, 0.18980272114276886, -0.2957994043827057, 0.19350281357765198, -0.8054018020629883, 0.4446642994880676, -0.3491400480270386, -0.7550104856491089, -0.5393223166465759, 0.42948150634765625, 0.5711942315101624, 1.0480672121047974, 0.199824720621109, 0.040683187544345856, 0.029145734384655952, 0.6082944869995117, -0.7388963103294373, -0.03618074953556061, -0.7638684511184692, -0.04963945597410202, -0.15328629314899445, -0.06144975125789642, -0.4095529019832611, -0.19411663711071014, 0.05001569539308548, -0.2762759327888489, 0.5519648194313049, -0.07101628929376602, 0.6228388547897339, 0.2678983509540558, -0.8955894112586975, -0.26324906945228577, -1.0802602767944336, 1.0576069355010986, -0.6943729519844055, 0.3347771465778351, 0.3375658094882965, -0.06207367405295372, -0.33262449502944946, -0.6279276609420776, -0.7324044108390808, -0.4574328660964966, 0.14663757383823395, 0.1687990128993988, -0.2834845185279846, 0.03176434338092804, 0.2637234330177307, 0.601505696773529, -0.10351692140102386, 0.022866200655698776, -0.6537935137748718, 0.027388831600546837, 0.8501886129379272, 0.029533565044403076, 0.3436841666698456, 0.08132044225931168, -0.1748894304037094, 0.0424361489713192, -1.0988749265670776, -0.22602123022079468, 0.8938419818878174, 0.6250045895576477, -0.07171101123094559, 1.0479687452316284, -0.3110063374042511, 0.4574756324291229, 0.1913592368364334, 0.17948168516159058, 0.23238347470760345, -0.6701931357383728, 0.08587443083524704, 0.2826174199581146, 0.3423057794570923, 0.018567368388175964, 0.2594974935054779, -0.15534751117229462, -0.42167648673057556, 0.27376997470855713, 0.28961822390556335, -0.5668666958808899, -0.20660488307476044, 0.12610946595668793, -0.2519632577896118, -0.5801783800125122, 0.0716439038515091, -0.5432879328727722, -0.15052464604377747, -0.8027045130729675, 0.27120354771614075, -0.03392394259572029, -0.3718307316303253, 0.09120871871709824, -0.1255532205104828, 0.2731601893901825, 0.1579696238040924, -0.9845390319824219, 0.22754326462745667, 0.46732622385025024, 0.533840000629425, -0.4168054461479187, 0.005851276684552431, -0.46447837352752686, 0.3638451397418976, -0.342936247587204, 0.6237798929214478, -0.849135160446167, -0.7292806506156921, -0.27351897954940796, 0.21268808841705322, 0.11342136561870575, -0.6480589509010315, 0.3850648105144501, -0.33793288469314575, 0.3588894307613373, -0.14911283552646637, -0.08519890159368515, -0.04224620759487152, -0.11462274193763733, -0.77338707447052, 0.9805585145950317, 0.29207777976989746, -0.4995395243167877, 0.5490186810493469, -0.4948749244213104, -0.6820169687271118, -0.19542096555233002, -0.03876757621765137, -0.42199254035949707, 0.5034614205360413, -0.08444710820913315, 0.19240520894527435, -0.42662402987480164, 0.17139320075511932, -0.4975958466529846, 0.07266274839639664, 0.24929368495941162, -0.6096015572547913, 0.7273262143135071, 0.27619659900665283, -0.5963241457939148, 0.08317490667104721, -0.8788812160491943, 0.03706252947449684, 0.042101629078388214, -0.23631899058818817, -0.4526923596858978, 0.20606842637062073, -0.03648946061730385, 0.2567487359046936, 0.3040977120399475, -0.43107330799102783, 0.4053768515586853, -0.12204021215438843, 0.20187251269817352, 0.8274609446525574, 0.24986371397972107, 0.7474881410598755, -0.5224087238311768, 0.5319070816040039, 0.2295343279838562, 0.330494225025177, 0.3247159719467163, -0.47946083545684814, -0.718969464302063, -0.07874739170074463, 0.35175856947898865, 0.21540957689285278, -0.4289984703063965, 0.25959303975105286, 0.13574104011058807, -0.5349138379096985, -0.6094456315040588, 0.38949206471443176, 0.29477551579475403, 0.33972805738449097, 0.22580669820308685, -0.1412404179573059, -0.5027649402618408, -1.191616177558899, 0.12828785181045532, -0.2424733191728592, 0.08454962074756622, 0.3710062801837921, 0.31417930126190186, -0.4392106831073761, 0.660987138748169, -0.4429287612438202, 0.2487764209508896, -0.6193352341651917, 0.04526596888899803, 0.05552482604980469, 0.42951151728630066, 0.3717566132545471, -1.0278517007827759, -0.4386661648750305, -0.05142734944820404, -0.6430255770683289, -0.5928722620010376, -0.03885122388601303, -0.362632155418396, -0.12983295321464539, -0.0015010557835921645, -0.47546640038490295, 0.28094854950904846, 0.6247547268867493, -0.27128785848617554, 0.3691850006580353, -0.13294535875320435, -0.07432349026203156, -0.9028817415237427, 0.027942443266510963, 0.019076194614171982, 0.08938600867986679, -0.926412045955658, -0.1352158933877945, -0.019013499841094017, 0.059146616607904434, -0.6543562412261963, 0.7151776552200317, -0.6514216661453247, 0.0753873884677887, -0.31528589129447937, -0.1394210159778595, 0.15326131880283356, 0.15541388094425201, 0.09904607385396957, 0.6922661066055298, 0.5946258902549744, -0.8669400811195374, 0.3087986409664154, 0.1613849699497223, 0.0666552260518074, 0.48612359166145325, -0.4935620427131653, 0.1283027082681656, -0.2911251485347748, -0.0014924508286640048, -0.6005702614784241, -0.21134591102600098, 0.0794878825545311, -0.2625199854373932, 0.4601128399372101, -0.15127570927143097, -0.35655707120895386, 0.22177599370479584, -0.19901342689990997, 0.30692407488822937, 0.5347323417663574, -0.40966343879699707, 0.5064688324928284, 0.3811531364917755, -0.11275728791952133, -0.28038954734802246, -0.7621164917945862, -0.01968420296907425, -0.2912083864212036, -0.7152182459831238, 0.4898671805858612, -0.03808034956455231, -0.7606722116470337, 0.23477719724178314, -0.2687591314315796, 0.023517770692706108, 0.11535871773958206, 0.25146862864494324, 0.37020647525787354, -0.26486846804618835, -0.07595483213663101, 0.2738788425922394, -0.05707997828722, -0.16119980812072754, -0.08643047511577606, 0.14815972745418549, 0.4433731734752655, -0.31517013907432556, -0.19491079449653625, 0.34276247024536133, 0.6309119462966919, -0.11200868338346481, 0.8366775512695312, -0.20066754519939423, -0.09425805509090424, -0.8986634612083435, -0.05592665448784828, -0.29088568687438965, -0.4709268808364868, 0.15181243419647217, -0.18452446162700653, -0.32308024168014526, 0.31712087988853455, -0.0817507803440094, 0.2413371056318283, 0.5588394403457642, 0.7801663875579834, 0.03724360093474388, 1.1946271657943726, 0.6728527545928955, 0.30096566677093506, 0.5776570439338684, -0.3295258581638336, 0.1516902893781662, -0.7976763248443604, -0.23032960295677185, -0.3170177638530731, -0.6358075737953186, -0.7055008411407471, -0.36878228187561035, 0.0607333742082119, 0.1578907072544098, 0.09374900162220001, 0.16903984546661377, -0.5238869786262512, 0.20722824335098267, 0.4055652618408203, 0.02580951526761055, 0.31170913577079773, -0.186112642288208, 0.18495354056358337, 0.05563583970069885, -0.5072490572929382, -0.7805101871490479, 1.3929029703140259, 0.18786807358264923, 1.171760082244873, 0.20323827862739563, 0.5640246272087097, 0.3724885880947113, 0.5110284686088562, -0.5735234022140503, 0.49232572317123413, -0.2779568135738373, -0.9176743626594543, 0.029165105894207954, -0.44346722960472107, -0.9379374980926514, -0.0032292581163346767, 0.027009176090359688, -0.21749697625637054, 0.5679382681846619, 0.17753776907920837, 0.15678490698337555, 0.21404637396335602, -0.9690262079238892, 0.5541270971298218, -0.7439422011375427, -0.8035928010940552, 0.03369836509227753, -0.3720441460609436, 0.487545907497406, -0.370650976896286, -0.10988162457942963, -0.3808346688747406, -0.24836745858192444, 0.4645293354988098, -0.24858233332633972, 1.0349068641662598, -0.3705679476261139, -0.14481504261493683, 0.42281854152679443, 0.14794142544269562, 0.6629377007484436, -0.22967080771923065, -0.48833170533180237, 0.06613703817129135, 0.03505191206932068, -0.47804591059684753, -0.4628656506538391, 0.72383713722229, -0.8754754066467285, -0.7357701063156128, -0.3339199721813202, -0.42389482259750366, -0.3506546914577484, 0.0915689691901207, -0.04358203336596489, 0.13575197756290436, -0.10639964789152145, 0.39099451899528503, 0.590924084186554, -0.23359914124011993, -0.052042923867702484, 0.6611432433128357, -0.023043638095259666, 0.1429188847541809, 0.9339377284049988, 0.270805686712265, 0.8801167011260986, 0.1325628161430359, 0.35013213753700256, -0.43093058466911316, -0.8257057070732117, -0.24204936623573303, 0.1960994303226471, -0.5831688046455383, 0.11761458963155746, -0.3853108286857605, -0.2731040418148041, -0.26221075654029846, -0.0925707295536995, -0.35649922490119934, -0.5892600417137146, -0.6172880530357361, -0.4193134307861328, 0.337319552898407, 0.9363741874694824, -0.0704006478190422, 0.11929305642843246, -0.43698713183403015, 0.5054332613945007, 0.18250109255313873, 0.00640486553311348, -0.33220699429512024, -0.596724808216095, 0.23704172670841217, 0.3115600347518921, -0.5032603144645691, -0.8684002757072449, 0.3746762275695801, 0.3217323422431946, 1.0611375570297241, 0.30194908380508423, 0.29097145795822144, 0.19406796991825104, -0.1273442953824997, 0.5411387085914612, -0.2610683739185333, -0.6908215284347534, 0.5399606227874756, -0.4799886643886566, 0.1253393441438675, 0.5657124519348145, 0.36750566959381104, -0.20913681387901306, -0.5827875733375549, -0.6756592988967896, -0.9113191366195679, 0.67806077003479, 0.33237767219543457, 0.547619640827179, 0.12644806504249573, 0.4667608141899109, 0.48528045415878296, 0.24091938138008118, -0.8822746872901917, -0.1527366191148758, -0.15382742881774902, -0.27627936005592346, 0.16976076364517212, -0.0992094874382019, -0.10117120295763016, -0.012756535783410072, 0.6614766120910645, 0.045412562787532806, -0.005913325119763613, -0.04961475357413292, -0.08554012328386307, -0.16177666187286377, 0.41382458806037903, 0.3972162902355194, 0.48787856101989746, -0.01492565218359232, 0.4105421304702759, 0.0032452624291181564, -0.4042704701423645, 0.336342453956604, -0.09569642692804337, -0.48143118619918823, -0.19384950399398804, 0.27743375301361084, 0.6987872123718262, 0.005760170053690672, -0.5418993830680847, 0.21486899256706238, 0.2588021755218506, -0.43451955914497375, 0.022571856155991554, 0.5185862183570862, -0.0872083231806755, 0.10371308773756027, 0.3058728277683258, -0.08710934221744537, -0.23686693608760834, -1.013662338256836, 0.3308577537536621, 0.41594529151916504, -0.20817089080810547, -0.7835354208946228, 0.7075591683387756, 0.25904715061187744, -0.12074536830186844, 0.5369842648506165, -0.14314226806163788, -0.27289363741874695, 0.5377597212791443, 0.6383432745933533, 0.9036955833435059, -0.3421363830566406, 0.042477529495954514, -0.0019831997342407703, 0.2416805624961853, -0.07569576799869537, 0.49656060338020325, 0.03676703944802284, -0.807666003704071, -0.12450151890516281, -0.6948502659797668, -0.46175873279571533, 0.1064215824007988, -0.36544865369796753, 0.45098966360092163, -0.5198787450790405, -0.14387208223342896, 0.15081322193145752, -0.35798272490501404, -0.38503527641296387, 0.16635841131210327, 0.16252285242080688, 0.35910528898239136, -0.8429478406906128, 0.8627047538757324, 0.43567579984664917, -0.40252214670181274, -0.4533635377883911, 0.1322033554315567, 0.11109184473752975, -0.7550957202911377, 1.0081015825271606, -0.14030514657497406, -0.06867793202400208, -0.0015312230680137873, -0.5553299784660339, -0.7116451263427734, 0.7899938225746155, 0.43948623538017273, -0.4463437795639038, -0.19066356122493744, 0.1611955314874649, 0.6043439507484436, -0.28848862648010254, -0.21118931472301483, 0.38104358315467834, 0.6487060189247131, 0.44877469539642334, -0.5455722808837891, -0.07620470225811005, -0.2914450466632843, -0.5117935538291931, 0.4303252696990967, -0.551845133304596, 0.8651776909828186, -0.32381168007850647, -0.404638409614563, -0.30120378732681274, 0.23183055222034454, 0.14824172854423523, 0.3437976837158203, 0.33813104033470154, 0.22661730647087097, 0.3884509801864624, -0.08973536640405655, 1.0862680673599243, -0.37898385524749756, -0.18029208481311798, 0.8352277874946594, -0.6791768074035645, 0.6118954420089722, 0.6460416316986084, -0.3117600679397583, 0.2204192876815796, 0.6334776282310486, -0.2126748263835907, 0.7044845223426819, 0.5040619969367981, -0.6301923394203186, 0.024961838498711586, -0.3229132890701294, -0.04311510547995567, 0.49287647008895874, 0.2661328613758087, -0.5308545231819153, -0.12601415812969208, -0.21434666216373444, -0.1855425089597702, -0.05814610794186592, -0.062453802675008774, 0.7202162742614746, 0.07036273926496506, -0.6093101501464844, 0.38521885871887207, 0.043586064130067825, 0.4564720690250397, -0.8889934420585632, 0.031249968335032463, -0.3179932236671448, 0.21755754947662354, -0.35959362983703613, -0.5858287811279297, 0.4525516629219055, 0.11282797902822495, -0.41694900393486023, -0.6067819595336914, 0.4839296340942383, -0.2918807566165924, -0.7445977926254272, 0.27244919538497925, 0.6695091128349304, 0.009781786240637302, 0.2414679229259491, -0.5523896217346191, -0.10278759896755219, 0.2615921199321747, -0.4766567647457123, 0.31918278336524963, 0.4776557385921478, -0.3422224223613739, 0.4110826253890991, 0.9686345458030701, 0.5204049944877625, 0.3088347315788269, -0.027441401034593582, 0.9410923719406128, -0.7150428295135498, -0.08665121346712112, -0.6617493629455566, 0.6332193613052368, 0.20197941362857819, -0.32907554507255554, 0.8538739085197449, 0.7158269286155701, 0.764726459980011, 0.2678682208061218, 0.9912829995155334, -0.120939239859581, 0.26191142201423645, -0.4761587679386139, 0.4635592997074127, -0.6879884600639343, 0.4175693690776825, -0.008989074267446995, -1.2964107990264893, -0.1471376270055771, 0.29017874598503113, -0.5747132301330566, 0.33643922209739685, 0.46356573700904846, 0.9623589515686035, -0.23364384472370148, -0.21151961386203766, 0.31060853600502014, 0.16240355372428894, 0.42711931467056274, 0.26538294553756714, 1.1700881719589233, 0.1079990491271019, 0.1255684345960617, -0.28149187564849854, -0.2935255765914917, 0.09517243504524231, -0.7604891061782837, -0.5569676756858826, -0.4438616633415222, -0.3500632047653198, -0.1631869673728943, -0.07478343695402145, 0.6177254319190979, 0.5640649199485779, -0.8323954343795776, -0.0991600751876831, -0.36653175950050354, 0.06373152136802673, 0.06932735443115234, -0.1986495554447174, 0.12851619720458984, -0.12492384761571884, -1.0400865077972412, 0.5611023902893066, 0.34021827578544617, 0.5119588971138, -0.6156796813011169, -0.13211967051029205, -0.17987579107284546, 0.4005182385444641, 0.402591347694397, 0.30690059065818787, -0.49092137813568115, 0.09237196296453476, 0.13038446009159088, -0.18450334668159485, -0.034364260733127594, 0.9632732272148132, -0.4194164276123047, 0.6148459911346436, 0.57403963804245, 0.33938172459602356, 0.5221219658851624, 0.04824131727218628, 0.9480200409889221, -0.6518552303314209, 0.2021005004644394, 0.4643864929676056, 0.17588923871517181, 0.31774571537971497, -0.477816104888916, 0.4401595890522003, 0.34707751870155334, -0.32327893376350403, -1.1724522113800049, 0.3427637219429016, -0.8168011903762817, -0.4112820625305176, 1.5167236328125, 0.3014906346797943, -0.2372637391090393, -0.25865375995635986, -0.2440824657678604, 0.2335483580827713, -0.21548445522785187, 0.917630136013031, 0.4845837950706482, -0.38928040862083435, -0.1452370584011078, -0.7826344966888428, 0.3334202468395233, 0.3717130422592163, -0.9587182402610779, 0.4703119099140167, 0.6156076192855835, 0.21403126418590546, -0.26681917905807495, 0.033327966928482056, -0.36808833479881287, -0.05225864052772522, 0.15127789974212646, -0.06370849162340164, -0.17418654263019562, -0.17455005645751953, -0.16494141519069672, 0.013142436742782593, 0.24117013812065125, 0.10934336483478546 ]
http://arxiv.org/abs/2407.01489v1
http://arxiv.org/pdf/2407.01489v1
Agentless: Demystifying LLM-based Software Engineering Agents
2024-07-01T17:24:45
2024-07-01T17:24:45
Chunqiu Steven Xia, Yinlin Deng, Soren Dunn, Lingming Zhang
cs.SE
cs.SE, cs.AI, cs.CL, cs.LG
Recent advancements in large language models (LLMs) have significantly advanced the automation of software development tasks, including code synthesis, program repair, and test generation. More recently, researchers and industry practitioners have developed various autonomous LLM agents to perform end-to-end software development tasks. These agents are equipped with the ability to use tools, run commands, observe feedback from the environment, and plan for future actions. However, the complexity of these agent-based approaches, together with the limited abilities of current LLMs, raises the following question: Do we really have to employ complex autonomous software agents? To attempt to answer this question, we build Agentless -- an agentless approach to automatically solve software development problems. Compared to the verbose and complex setup of agent-based approaches, Agentless employs a simplistic two-phase process of localization followed by repair, without letting the LLM decide future actions or operate with complex tools. Our results on the popular SWE-bench Lite benchmark show that surprisingly the simplistic Agentless is able to achieve both the highest performance (27.33%) and lowest cost (\$0.34) compared with all existing open-source software agents! Furthermore, we manually classified the problems in SWE-bench Lite and found problems with exact ground truth patch or insufficient/misleading issue descriptions. As such, we construct SWE-bench Lite-S by excluding such problematic issues to perform more rigorous evaluation and comparison. Our work highlights the current overlooked potential of a simple, interpretable technique in autonomous software development. We hope Agentless will help reset the baseline, starting point, and horizon for autonomous software agents, and inspire future work along this crucial direction.
[ -0.47787240147590637, -0.5416420698165894, 0.764806866645813, 0.19610659778118134, 0.1559293270111084, 0.36530742049217224, 0.027666183188557625, -0.7106325030326843, 0.2227066308259964, 0.5750022530555725, -0.6759665012359619, -0.43491828441619873, -0.16731730103492737, -0.026929887011647224, -0.44356203079223633, 0.8248605132102966, -0.29798072576522827, -0.11382611095905304, -0.23909775912761688, -0.2442621886730194, -0.30413544178009033, 0.09045243263244629, -0.3510300815105438, -0.4016996920108795, 0.3431881070137024, 0.3960561752319336, 0.7239612936973572, 0.890070915222168, 0.10959117114543915, 0.3983847498893738, 0.33466777205467224, 0.047572847455739975, -0.1278623640537262, 0.35017386078834534, -0.02098141238093376, -0.5672125816345215, -0.7632451057434082, 0.06772202998399734, -0.07051260769367218, 0.7461191415786743, 0.12215011566877365, 0.3439478278160095, -0.22663114964962006, 0.7830976247787476, -0.4964349567890167, 0.29057955741882324, -0.6075403094291687, 0.13353951275348663, 0.1487724334001541, -0.17200268805027008, -0.41347238421440125, -0.22926968336105347, -0.30632928013801575, -0.6109951734542847, 0.396696001291275, -0.1638997495174408, 0.43123143911361694, 0.7035863399505615, -0.64741450548172, -0.2020091712474823, -1.112503170967102, 0.5792921781539917, -0.48523715138435364, 0.11306677758693695, -0.018115639686584473, 0.4154449999332428, -0.4438444674015045, -0.2731679379940033, -0.3622529208660126, -0.4368390738964081, 0.26489901542663574, 0.17567776143550873, 0.03639255836606026, 0.4234537184238434, 0.18921993672847748, 0.20648711919784546, -0.7515754699707031, 0.18776598572731018, -0.12596936523914337, -0.17400161921977997, 0.893395721912384, 0.04728470742702484, 0.38226383924484253, 0.32419803738594055, -0.4511595070362091, 0.1742212027311325, -0.7697656154632568, -0.017807401716709137, 0.04887324199080467, 0.19138139486312866, 0.023637233301997185, 0.6045838594436646, -0.26510322093963623, 0.22440941631793976, -0.08031225204467773, -0.07116463035345078, 0.06620816141366959, 0.15637044608592987, -0.27155670523643494, -0.05630485713481903, 0.4471524953842163, 0.024623792618513107, 0.14650662243366241, -0.5518203377723694, -0.7671656012535095, 0.26115623116493225, 0.23947127163410187, -0.39961615204811096, 0.1813325434923172, 0.8828997611999512, -0.08606589585542679, -0.42275843024253845, -0.19905319809913635, -0.12230382114648819, -0.8047114014625549, -0.4280433654785156, 0.5451681613922119, 0.023261627182364464, -0.30159804224967957, -0.21554036438465118, -0.06435801088809967, 0.6237137317657471, 0.49970921874046326, -0.3311142921447754, 0.19297820329666138, 0.6968240737915039, 0.5443956255912781, -0.006430431269109249, -0.45239681005477905, -0.48113611340522766, 0.2737922966480255, -0.9254044890403748, 0.8771283626556396, -0.04756082966923714, -0.38643160462379456, -0.15426234900951385, 0.08704083412885666, 0.39690592885017395, -0.6442522406578064, 0.01036923285573721, -0.2236912101507187, -0.26740071177482605, -0.1366041600704193, -0.5582325458526611, -0.03627895936369896, 0.24551525712013245, -0.622315526008606, 0.867124617099762, 0.18978452682495117, -0.004796172026544809, 0.1898289918899536, -0.7585307955741882, -0.2594996690750122, 0.3701542615890503, -0.3045080900192261, -0.11662963777780533, 0.20566238462924957, -0.28291940689086914, 0.17574889957904816, -0.29790353775024414, 0.20773792266845703, -0.25904425978660583, -0.5332366228103638, -0.02366161346435547, -0.23638282716274261, 0.6351280808448792, 0.14975792169570923, -0.8733705878257751, 0.3541830778121948, -0.768743634223938, 0.18822038173675537, 0.04661707952618599, 0.07270534336566925, 0.0031874331180006266, -0.031670279800891876, -0.2017989307641983, 0.18234938383102417, 0.45117995142936707, -0.5862005949020386, 0.24948261678218842, -0.5191925764083862, -0.0024755040649324656, 0.9736869931221008, -0.12422414124011993, 0.8294057250022888, -0.4961918592453003, 0.7681805491447449, -0.3049195110797882, 0.5177444815635681, -0.10917038470506668, -0.24572297930717468, -0.7650513648986816, -0.3400914967060089, -0.001132603851146996, 0.7103333473205566, -0.7310202121734619, 0.15313929319381714, 0.08604947477579117, -0.7014757990837097, -0.5641874074935913, 0.3324245512485504, 0.22732657194137573, 0.14980386197566986, 0.22172951698303223, -0.15791502594947815, -0.30193477869033813, -0.7898629903793335, -0.10349094867706299, -0.17866633832454681, -0.03504547104239464, 0.14549678564071655, 0.4121931493282318, -0.4227769076824188, 1.012902855873108, -0.25064194202423096, -0.32624074816703796, -0.4231681823730469, 0.11320310831069946, -0.041229795664548874, 0.2785690426826477, 0.4101645350456238, -0.5485872626304626, -0.49469467997550964, 0.19084550440311432, -1.0868356227874756, -0.25293615460395813, -0.30238035321235657, 0.09598767012357712, 0.5741118788719177, 0.5326490998268127, -0.9497921466827393, 0.414917916059494, 0.19529764354228973, -0.261944442987442, 0.47166186571121216, -0.471876323223114, -0.2966274619102478, -0.5212699174880981, 0.07322842627763748, -0.17075921595096588, -0.22235728800296783, -0.6943403482437134, 0.4901924133300781, -0.028021715581417084, -0.3181324303150177, -0.4638260006904602, 0.9080916047096252, -0.8777504563331604, -0.45633918046951294, -0.6500733494758606, 0.22463127970695496, -0.07992640137672424, 0.38936641812324524, -0.288119375705719, 0.807504415512085, 0.5262622833251953, -0.47190728783607483, 0.5230336785316467, -0.250169962644577, 0.2604180872440338, 0.19381770491600037, -0.6857108473777771, 0.09459925442934036, -0.4005231559276581, 0.2074124962091446, -0.6886835098266602, -0.08712977916002274, 0.11478883773088455, -0.3650774359703064, 0.1084122359752655, -0.019490834325551987, -0.43323785066604614, -0.170303612947464, -0.5292171239852905, 0.2310556024312973, 0.41733700037002563, -0.18011637032032013, 0.8044344186782837, 0.3023572862148285, -0.18199753761291504, -0.5928620100021362, -0.48511335253715515, 0.09671595692634583, 0.2754089832305908, -0.592502772808075, 0.049620699137449265, -0.19929161667823792, -0.5304713249206543, 0.057068243622779846, -0.5871804356575012, -0.21622468531131744, 0.3887406587600708, 0.5067778825759888, 0.2411111742258072, -0.2724451422691345, 0.24905425310134888, -0.005473298020660877, -0.48249149322509766, 0.03155158832669258, -0.031040333211421967, 0.21064162254333496, -0.2180689126253128, -0.5823349952697754, -0.08088284730911255, 0.3970211148262024, 0.9920894503593445, -0.35736584663391113, 0.30691099166870117, 0.2967850863933563, -0.31752267479896545, -0.7406534552574158, -0.4620361328125, -0.10214072465896606, -0.4917197823524475, 0.17562857270240784, -0.2836866080760956, -0.5302287936210632, 0.5885972380638123, -0.2947820723056793, 0.34329742193222046, 0.1562523990869522, 0.1990746110677719, 0.016123110428452492, 0.9482684135437012, 0.9102907180786133, 0.058686383068561554, 0.12022368609905243, -0.20359356701374054, 0.3899335563182831, -0.21243441104888916, -0.1200869083404541, -0.29088881611824036, -0.16801975667476654, -0.5489351749420166, -0.37858033180236816, 0.4000963568687439, -0.06495759636163712, -0.3214420676231384, 0.23845089972019196, -0.5927536487579346, 0.7212451696395874, 0.21714746952056885, -0.3504723012447357, 0.36062219738960266, -0.5299304127693176, 0.17419806122779846, 0.38229435682296753, -0.4086490273475647, -0.44603991508483887, 0.9646064639091492, 0.2200755923986435, 0.6616919636726379, -0.08240538090467453, 0.9254978895187378, 0.5816692113876343, 0.41691818833351135, -0.8609644174575806, 0.8213357329368591, 0.3960024118423462, -0.48960059881210327, -0.6297109127044678, -0.20135748386383057, -1.0671635866165161, 0.3286817967891693, -0.06564577668905258, -0.2288278043270111, -0.03566485270857811, -0.14760832488536835, -0.23093968629837036, 0.1129445731639862, -0.850310206413269, 0.825546145439148, -0.4811455011367798, -0.13005249202251434, -0.06863913685083389, -0.5398286581039429, 0.13419535756111145, -0.193097785115242, 0.5234416127204895, -0.3534817099571228, -0.3748181164264679, 0.1330484300851822, -0.7500455379486084, 0.7123377919197083, -0.35885515809059143, -0.3598777949810028, 0.2870769500732422, 0.4509095847606659, 0.7686209678649902, -0.11654709279537201, 0.05038836598396301, -0.4185165762901306, 0.1026688739657402, -0.7236246466636658, -0.8318098783493042, 0.6760561466217041, -0.7798547148704529, -0.7264496088027954, -0.5949570536613464, -0.6485702991485596, -0.23333154618740082, 0.3040306270122528, -0.2740195393562317, 0.4103489816188812, -0.1631588339805603, -0.22724993526935577, 0.5549240112304688, -0.20114214718341827, 0.7510784268379211, 0.9819396138191223, -0.3088921010494232, -0.06962375342845917, 1.072286605834961, 0.23301127552986145, 0.08884496986865997, 0.1469142735004425, -0.24552252888679504, 0.028013819828629494, -0.49820026755332947, -0.4363582134246826, 0.26750674843788147, -0.5847458243370056, -0.2103354036808014, -0.33624061942100525, -0.2067336142063141, -0.11658114939928055, -0.5727136731147766, -0.8193228244781494, -0.31489118933677673, 0.07722488790750504, -0.2016809731721878, 0.1616959124803543, 1.0930241346359253, 0.009124873206019402, -0.13294026255607605, -0.5919880270957947, 0.4859268069267273, -0.004805212840437889, 0.24945172667503357, -0.06147067993879318, 0.24999065697193146, -0.2196730524301529, 0.017185673117637634, -0.23334850370883942, -0.7777161598205566, 0.20418459177017212, -0.04894590377807617, 0.7204813957214355, 0.11253798007965088, 0.5910754203796387, 0.3540085554122925, -0.12016507238149643, 0.6545867323875427, -0.21949297189712524, -1.0119575262069702, 0.5971068739891052, -0.30693191289901733, 0.21176782250404358, 0.3920704424381256, 0.02786632999777794, -0.30501922965049744, -0.869709849357605, -0.5403573513031006, -1.1013672351837158, 0.34937313199043274, 0.1760263592004776, -0.1626308262348175, 0.3100246489048004, 0.3655122220516205, 0.15501777827739716, 0.32371681928634644, -0.7710679769515991, -0.593480110168457, 0.07420859485864639, -0.013215807266533375, -0.058979809284210205, 0.11998366564512253, -0.09296788275241852, -0.12226934731006622, 0.7245471477508545, -0.3007766902446747, 0.2444571703672409, 0.2605435252189636, -0.4245332181453705, -0.1947963386774063, 0.42109760642051697, 0.5642088055610657, 0.6252992153167725, -0.1294846534729004, 0.14135201275348663, 0.0821470320224762, -0.11873237788677216, 0.6085948944091797, -0.014929434284567833, -0.3417327105998993, -0.009473185054957867, 0.3789420425891876, 0.2906476557254791, -0.13250020146369934, -0.8886340856552124, 0.6725562810897827, 0.2912822663784027, -0.23464913666248322, -0.5808756947517395, 0.11868727207183838, -0.0646534189581871, 0.49953871965408325, 0.5600374937057495, 0.20369698107242584, 0.11703769117593765, -0.7194984555244446, 0.18292979896068573, 0.5607064366340637, -0.535062849521637, -0.29235297441482544, 0.6175176501274109, 0.415103554725647, -0.33672013878822327, 0.05742964893579483, -0.4838583469390869, -0.1011514961719513, 1.121801733970642, 0.38431689143180847, 1.3157808780670166, -0.028291044756770134, 0.6457729339599609, -0.2851991355419159, 0.5638781189918518, 0.018674222752451897, 0.3158459961414337, -0.08779582381248474, -0.34276482462882996, -0.5953527688980103, -0.2616322636604309, -0.5956819653511047, 0.002004725392907858, -0.1720401495695114, 0.10358725488185883, -0.6153340339660645, 0.3284546732902527, -0.2329263538122177, 0.299413800239563, -0.10910667479038239, 0.28329718112945557, -0.009164211340248585, 0.8315273523330688, -0.6996572017669678, 0.7317584156990051, 0.8416849374771118, -0.45889943838119507, -0.7638981938362122, -0.010139149613678455, 0.05702611804008484, -0.5765804052352905, 0.1438695788383484, 0.12868532538414001, -0.3977546989917755, -0.06771639734506607, -0.6469408273696899, -0.6249598860740662, 1.4500936269760132, 0.6707236766815186, -0.09260358661413193, 0.05746040865778923, 0.31960389018058777, 0.7482823133468628, -0.3079676926136017, 0.5011336803436279, 0.044959913939237595, 0.5047021508216858, 0.06635173410177231, -0.9244482517242432, 0.2538336217403412, -0.37569570541381836, -0.0351472944021225, 0.33173808455467224, -0.665416419506073, 0.7230498194694519, -0.3601889908313751, -0.11888805776834488, 0.10470490157604218, 0.21836309134960175, 0.07101941853761673, 0.6300873160362244, 0.2897234857082367, 0.0058647748082876205, 0.7272862195968628, 0.13909503817558289, 0.8729380965232849, -0.7116385102272034, 0.2679343521595001, 0.8520967960357666, -0.6190140247344971, 0.4894757866859436, 0.27707305550575256, 0.020824924111366272, 0.2648843824863434, 0.4142189621925354, 0.06042010709643364, 0.11415071785449982, 0.027355629950761795, -0.5054994225502014, -0.33448725938796997, -0.05545470863580704, -0.42563655972480774, 0.29641059041023254, -0.3130730092525482, 0.22207370400428772, -0.5216904878616333, 0.026081537827849388, -0.05056477338075638, -0.018535379320383072, -0.34464749693870544, 0.7050973773002625, 0.10917504876852036, -0.3908277451992035, 0.48465898633003235, -0.025926103815436363, 0.26256340742111206, -0.5986679196357727, 0.056501999497413635, -0.6381555795669556, 0.2889479994773865, -0.39317697286605835, -0.5354722142219543, 0.45020249485969543, -0.062473271042108536, -0.2183600813150406, -0.3886878490447998, 0.7634026408195496, -0.14331351220607758, -0.12820184230804443, 0.5047153234481812, 1.012510895729065, 0.19426675140857697, -0.34402817487716675, -0.46957191824913025, -0.20380672812461853, -0.1491566002368927, -0.25296568870544434, 0.4851858615875244, 0.6611166000366211, -0.14801961183547974, 1.2609941959381104, 0.3869740962982178, 0.06882365792989731, -0.12556716799736023, -0.23712538182735443, 0.6099616885185242, -0.8763821721076965, -0.22168172895908356, -0.5890889167785645, 0.46364453434944153, 0.29776880145072937, 0.15441426634788513, 0.7944392561912537, 0.6654247641563416, 0.5490962862968445, -0.07061288505792618, 0.8845742344856262, 0.03673090413212776, 0.28437474370002747, -0.0720311775803566, 0.923039436340332, -0.7937900424003601, 0.5228708982467651, -0.21847398579120636, -0.839455783367157, -0.27748510241508484, 0.20910747349262238, 0.0917801707983017, -0.04698074609041214, 0.5674400925636292, 1.0224409103393555, 0.28137198090553284, -0.2450193613767624, 0.4679681956768036, 0.3244856595993042, 0.2655865252017975, 0.3995351195335388, 0.6200531721115112, -0.3552302122116089, 0.6759926080703735, -0.02546093240380287, -0.303295761346817, 0.08512108027935028, -0.5523284673690796, -0.5364649891853333, -0.3417712450027466, -0.3913353383541107, -0.22222481667995453, 0.011386930011212826, 1.1467335224151611, 0.407340943813324, -0.5976765155792236, -0.4250231683254242, -0.48647934198379517, 0.522205114364624, -0.3635604679584503, -0.15787917375564575, -0.2036985605955124, -0.5198867917060852, -0.3774082064628601, 0.7541480660438538, 0.5443010926246643, 0.1494971662759781, -0.4508274793624878, -0.3661348819732666, 0.2929096817970276, 0.25281086564064026, 0.5765561461448669, 0.6079305410385132, -0.5793417096138, -0.07191925495862961, 0.14579342305660248, -0.4580443799495697, 0.06585090607404709, 0.5184756517410278, -0.82439124584198, 0.17328406870365143, 0.141165629029274, 0.5033850073814392, 0.26848629117012024, -0.1918015331029892, 0.6885553598403931, -0.5460248589515686, 0.24265077710151672, 0.23140907287597656, -0.061503127217292786, -0.06081807240843773, -0.3567568361759186, 0.6233999729156494, 0.20644016563892365, -0.6256762146949768, -1.0034410953521729, 0.3465351164340973, -0.9991336464881897, -0.4662157893180847, 0.9677631258964539, 0.1357840597629547, -0.24590076506137848, -0.41118356585502625, -0.2178218513727188, 0.10757213085889816, -0.26170673966407776, 0.6502348780632019, 0.17684395611286163, -0.44382140040397644, -0.20744872093200684, -0.6102656126022339, 0.3942594826221466, 0.2918398380279541, -0.9516893625259399, -0.023769477382302284, 0.4440065026283264, 0.3586641550064087, 0.00898931734263897, 0.9216200113296509, 0.268894225358963, 0.3364332318305969, 0.3350220024585724, 0.6373751759529114, -0.315206378698349, -0.4382304251194, -0.2625170946121216, 0.35148993134498596, 0.481932133436203, -0.03417443484067917 ]
http://arxiv.org/abs/2407.01476v1
http://arxiv.org/pdf/2407.01476v1
Tree Search for Language Model Agents
2024-07-01T17:07:55
2024-07-01T17:07:55
Jing Yu Koh, Stephen McAleer, Daniel Fried, Ruslan Salakhutdinov
cs.AI
cs.AI, cs.CL, cs.LG
Autonomous agents powered by language models (LMs) have demonstrated promise in their ability to perform decision-making tasks such as web automation. However, a key limitation remains: LMs, primarily optimized for natural language understanding and generation, struggle with multi-step reasoning, planning, and using environmental feedback when attempting to solve realistic computer tasks. Towards addressing this, we propose an inference-time search algorithm for LM agents to explicitly perform exploration and multi-step planning in interactive web environments. Our approach is a form of best-first tree search that operates within the actual environment space, and is complementary with most existing state-of-the-art agents. It is the first tree search algorithm for LM agents that shows effectiveness on realistic web tasks. On the challenging VisualWebArena benchmark, applying our search algorithm on top of a GPT-4o agent yields a 39.7% relative increase in success rate compared to the same baseline without search, setting a state-of-the-art success rate of 26.4%. On WebArena, search also yields a 28.0% relative improvement over a baseline agent, setting a competitive success rate of 19.2%. Our experiments highlight the effectiveness of search for web agents, and we demonstrate that performance scales with increased test-time compute. We conduct a thorough analysis of our results to highlight improvements from search, limitations, and promising directions for future work. Our code and models are publicly released at https://jykoh.com/search-agents.
[ -0.5319473147392273, -0.7240755558013916, 0.8950980305671692, 0.19903618097305298, 0.037122998386621475, 0.3056612014770508, -0.02131996490061283, -0.6503625512123108, -0.004418291617184877, 0.027845965698361397, -0.8570379614830017, -0.5811651349067688, -0.3744001090526581, 0.1628093421459198, -0.25481218099594116, 0.14164407551288605, -0.05914594978094101, -0.4047422707080841, -0.017191767692565918, 0.05199821665883064, -0.06752366572618484, -0.130655899643898, -0.8021546602249146, -0.2505848705768585, 0.750545084476471, 0.13912296295166016, 1.0174529552459717, 0.7642364501953125, 0.23799723386764526, 0.42434564232826233, -0.28668609261512756, 0.3360966444015503, -0.18937288224697113, 0.29149430990219116, -0.3942420184612274, -0.22920659184455872, -0.341656357049942, 0.019544025883078575, 0.3290866017341614, 0.28662800788879395, -0.37003326416015625, -0.0625409185886383, -0.2646287679672241, 0.46623244881629944, -0.7071592807769775, 0.5044164061546326, -0.7607395052909851, 0.19579936563968658, -0.07601024210453033, -0.5620648860931396, -0.5314434766769409, -0.35225623846054077, 0.32659849524497986, -0.9881938099861145, 0.22789186239242554, 0.10257427394390106, 0.7883229851722717, 0.22948208451271057, -0.5018677711486816, -0.32542330026626587, -0.6432749629020691, 0.653007984161377, -0.7123774290084839, 0.5507118701934814, 0.43441474437713623, 0.4435439109802246, -0.4259226322174072, -0.6683961153030396, -0.5551652312278748, -0.3586816191673279, 0.018209759145975113, -0.05301198735833168, -0.5760142207145691, 0.2804575264453888, 0.20887330174446106, -0.1157619059085846, -0.8561562895774841, 0.22545847296714783, 0.14938481152057648, -0.19783422350883484, 0.5617749691009521, 0.09744146466255188, 0.282298743724823, 0.013422251679003239, 0.10591467469930649, -0.5002535581588745, -0.21918822824954987, 0.3261297047138214, 0.16662155091762543, 0.5100499987602234, 0.38622862100601196, 0.35460594296455383, -0.6207727193832397, 0.6923409104347229, -0.3950303792953491, -0.18519161641597748, -0.07603844255208969, -0.4683748483657837, -0.0881478562951088, -0.2887085974216461, 0.5065813064575195, 0.2560955882072449, 0.33070263266563416, -0.12915098667144775, -0.523910403251648, 0.27346453070640564, 0.2527883052825928, -0.8819760680198669, -0.1826891154050827, 0.3471428155899048, -0.3595234155654907, -0.16858190298080444, -0.22844751179218292, -0.5638716816902161, -0.2717234194278717, -0.10543058812618256, 0.31166455149650574, -0.4444454610347748, -0.3075357973575592, -0.13768650591373444, -0.22845558822155, 0.19965124130249023, 0.504243016242981, -0.3754076063632965, 0.5193282961845398, 0.3333422839641571, 0.9026523232460022, -0.024171873927116394, -0.32331353425979614, -0.7348760962486267, -0.0575253926217556, -0.7143046259880066, 0.746080219745636, -0.6426824927330017, -0.27389025688171387, 0.1258673369884491, -0.19472791254520416, -0.019446246325969696, -0.3048463761806488, 0.4205250144004822, -0.9549705982208252, 0.011346327140927315, 0.09201516211032867, -0.4142979085445404, -0.3803822994232178, 0.37127232551574707, -0.8833975791931152, 0.9750281572341919, -0.025331346318125725, -0.3896822929382324, 0.38847437500953674, -0.9685956239700317, -0.361215740442276, 0.017652301117777824, 0.018834467977285385, -0.3147498369216919, -0.2160741090774536, 0.6062597632408142, 0.29301753640174866, -0.1665804386138916, 0.007289131637662649, -0.36464592814445496, -0.40087780356407166, -0.03421515226364136, -0.20947740972042084, 0.7207887172698975, 0.14655806124210358, -0.5634250640869141, 0.2878817319869995, -0.5037244558334351, 0.5438949465751648, 0.6106096506118774, -0.40909507870674133, -0.40028589963912964, 0.5521637201309204, -0.005319051444530487, 0.13230666518211365, 0.2632131576538086, -0.44130223989486694, 0.5337053537368774, -0.2906666696071625, 0.15150514245033264, 0.8307664394378662, -0.1640782356262207, 0.3024512231349945, -0.13586977124214172, 0.7904532551765442, -0.34328219294548035, 0.422273725271225, -0.16271063685417175, -0.3374561071395874, -0.6533026695251465, 0.08893152326345444, 0.13945463299751282, 0.48733407258987427, -0.7699324488639832, 0.29896798729896545, -0.19581755995750427, -0.6476378440856934, -0.36922577023506165, -0.028003152459859848, 0.3899630606174469, -0.09075752645730972, 0.5141422152519226, -0.18228058516979218, -0.4987197816371918, -0.8281111121177673, -0.2049504518508911, -0.28441479802131653, 0.19573019444942474, 0.33131951093673706, 0.3454398214817047, -0.599011242389679, 1.2051199674606323, -0.3099443316459656, -0.23357440531253815, -0.2443978190422058, 0.25886401534080505, 0.1752472072839737, 0.05334579199552536, 0.4429272413253784, -0.9882660508155823, -0.5367934107780457, 0.25878697633743286, -0.5311090350151062, -0.07942177355289459, 0.08866771310567856, 0.17507542669773102, 0.346855491399765, 0.21404299139976501, -0.7398905754089355, 0.5625705718994141, 0.5674263834953308, -0.17085708677768707, 0.19953951239585876, -0.18352919816970825, -0.1458319127559662, -0.6409602761268616, 0.10609502345323563, 0.105527862906456, -0.4459571838378906, -0.4454084634780884, 0.5274593830108643, 0.10880730301141739, 0.11771174520254135, -0.32171928882598877, 0.6893194317817688, -0.8449506163597107, -0.30620077252388, -0.2961949110031128, 0.43456849455833435, -0.21130967140197754, 0.7431273460388184, -0.03824806213378906, 0.8848691582679749, 0.5586142539978027, -0.9347089529037476, -0.0036694149021059275, 0.01752617582678795, -0.11676081269979477, -0.03394482284784317, -0.2734580338001251, 0.47387751936912537, 0.00468308012932539, 0.42462655901908875, -0.6376855969429016, -0.03319532051682472, -0.16801533102989197, -0.3717211186885834, -0.04819198697805405, -0.13882270455360413, -0.6055077314376831, -0.49723687767982483, -0.3953106999397278, 0.20351094007492065, 0.29081088304519653, -0.5958584547042847, 0.7864202857017517, 0.2816680073738098, -0.14862407743930817, -0.5523440837860107, -0.07136634737253189, 0.15278851985931396, 0.2043284773826599, -0.5138305425643921, 0.39381465315818787, -0.22215594351291656, -0.2041635662317276, 0.09345261007547379, -0.3882046937942505, -0.14784936606884003, 0.3560401201248169, -0.13913168013095856, -0.15167202055454254, -0.08882877975702286, -0.1973818689584732, -0.07719895988702774, -0.05893377959728241, 0.004645799286663532, -0.2791205048561096, 0.7610999345779419, -0.18393762409687042, -0.5162544846534729, -0.5256203413009644, 0.2715283930301666, 0.46729332208633423, -0.5583829879760742, 0.2275332659482956, 0.24219577014446259, -0.47638481855392456, -0.4949474334716797, -0.36167338490486145, -0.15853121876716614, -0.5047770142555237, 0.3647351562976837, -0.4932675063610077, -0.600612461566925, 0.2812509834766388, -0.19081446528434753, 0.2966190576553345, 0.32276836037635803, 0.11264701187610626, -0.09022032469511032, 1.7214899063110352, 0.7437469363212585, 0.04002511501312256, 0.6413565874099731, -0.42904049158096313, 0.06314264237880707, -0.43179044127464294, -0.12254460901021957, -0.5915181040763855, -0.2711544334888458, -0.8331471085548401, -0.4528329372406006, 0.5209490060806274, -0.0351179838180542, -0.07563857734203339, 0.3504616916179657, -0.4774884283542633, 0.4987424612045288, 0.907486081123352, 0.021319882944226265, 0.42770928144454956, -0.12535054981708527, -0.3741970360279083, 0.18843968212604523, -0.7818107008934021, -0.37958651781082153, 0.8311489820480347, 0.13841235637664795, 0.6523563861846924, 0.32399678230285645, 0.7031651735305786, 0.3222450613975525, 0.14729364216327667, -0.7613533735275269, 0.7211058735847473, 0.33773699402809143, -0.5062127113342285, -0.8685015439987183, -0.35702723264694214, -1.4639233350753784, 0.4951644837856293, 0.25297749042510986, -0.833468496799469, -0.021959327161312103, 0.16981936991214752, -0.008544976823031902, 0.23763519525527954, -0.44417887926101685, 0.8020367622375488, -0.5408681035041809, -0.3532533645629883, -0.502751886844635, -0.558708906173706, 0.022052636370062828, 0.019285032525658607, 0.27749955654144287, -0.12942901253700256, -0.15268978476524353, 0.2894774079322815, -0.4479357898235321, 0.5200209617614746, -0.4270733594894409, 0.13913612067699432, 0.2436697632074356, 0.6302505135536194, 1.1324318647384644, -0.4346785545349121, 0.04321550950407982, -0.24755360186100006, 0.06289311498403549, -0.39685291051864624, -0.6362395882606506, 0.25874656438827515, -0.5568403005599976, -0.6365117430686951, -0.7572691440582275, -0.26065218448638916, -0.20826518535614014, 0.45277756452560425, -0.26840201020240784, 0.060073282569646835, -0.38665005564689636, 0.04657400771975517, 0.28115326166152954, -0.16224440932273865, 0.878931999206543, 0.8791272044181824, -0.834080696105957, 0.12321538478136063, 0.7357317209243774, -0.029907315969467163, 0.05456411838531494, 0.6147511005401611, 0.40463685989379883, -0.48374173045158386, -0.7469722628593445, -0.5336345434188843, -0.12820643186569214, -0.62228924036026, -0.16504396498203278, -0.6313121318817139, -0.1625029593706131, -0.1756010353565216, 0.17138756811618805, -0.34449392557144165, -0.06471739709377289, 0.06824193894863129, -0.018321074545383453, 0.2872976064682007, 0.8867676258087158, 0.11060582846403122, 0.22357185184955597, -0.5783443450927734, 0.13645729422569275, 0.38406941294670105, 0.2611461281776428, 0.10986124724149704, 0.1509329229593277, -0.23737290501594543, -0.08349207788705826, -0.42526188492774963, -1.006514072418213, 0.4647258520126343, 0.11404456943273544, 0.807633638381958, 0.2773859202861786, -0.10373469442129135, 0.8227837681770325, -0.32169783115386963, 0.3593710660934448, -0.30666306614875793, -0.8427602052688599, 0.719443142414093, -0.41313061118125916, 0.5288397669792175, 0.42633646726608276, 0.37060075998306274, -0.5831172466278076, -0.25751104950904846, -0.47136619687080383, -0.7854007482528687, 0.9088844656944275, 0.6134904026985168, -0.43834203481674194, 0.2848252058029175, -0.18427076935768127, -0.18103446066379547, 0.06472894549369812, -0.7719907760620117, -0.1278860867023468, 0.12827569246292114, 0.3119581937789917, -0.012416978366672993, 0.13753493130207062, 0.17400027811527252, -0.2346150279045105, 0.7353763580322266, -0.5424067974090576, 0.2341676503419876, 0.3658812344074249, -0.23654738068580627, -0.41345542669296265, 0.21599794924259186, 0.27865123748779297, 0.8508754372596741, -0.17316800355911255, 0.16805438697338104, 0.1471085101366043, -0.020179150626063347, 0.10110452026128769, 0.5688984394073486, -0.159628763794899, 0.0546640008687973, 0.4363887310028076, 0.621695339679718, 0.06494516134262085, -0.8813709616661072, 0.39605966210365295, -0.30121079087257385, 0.17274004220962524, -0.45025405287742615, 0.20004123449325562, 0.18526668846607208, 0.3835427165031433, 0.5380712151527405, -0.15629051625728607, 0.48437339067459106, -0.6326238512992859, 0.1921374648809433, 0.7129250764846802, -0.00438074953854084, -0.12130725383758545, 0.46221452951431274, 0.12794555723667145, -0.7981830835342407, 0.5609490871429443, -0.5863653421401978, -0.6628738641738892, 0.8314806222915649, 0.3383862376213074, 0.9742599725723267, -0.5192288160324097, 0.3033391833305359, 0.11047448962926865, 0.41359665989875793, -0.01989847607910633, 0.3791995644569397, -0.1496429592370987, -0.6252794861793518, -0.36441534757614136, -0.6691945195198059, -0.5682226419448853, 0.0489046573638916, -0.08334658294916153, 0.1514504998922348, -0.28427278995513916, -0.1263793706893921, -0.2699909508228302, 0.1886959820985794, -0.9515673518180847, 0.18764105439186096, 0.00034345188760198653, 1.104217290878296, -0.21020099520683289, 0.8204571008682251, 0.5486326813697815, -0.37211671471595764, -0.9319376349449158, 0.12350250035524368, 0.16610150039196014, -0.7388075590133667, 0.2598654329776764, 0.39488136768341064, -0.5057324767112732, 0.17602670192718506, -0.3864397704601288, -1.226253867149353, 1.4080536365509033, 0.23500972986221313, -0.802622377872467, -0.3382800817489624, -0.03552139177918434, 0.6795439720153809, -0.19370609521865845, 0.7215445041656494, 0.42492762207984924, 0.6841542720794678, -0.14870472252368927, -1.1814382076263428, -0.06754906475543976, -0.40613695979118347, 0.1912713348865509, 0.2338234931230545, -0.5784321427345276, 0.795608639717102, -0.07030191272497177, -0.49749433994293213, 0.08202709257602692, 0.362878680229187, 0.4062570333480835, 0.49780353903770447, 0.9285283088684082, 0.38796156644821167, 0.8400158286094666, 0.16320385038852692, 1.2702651023864746, -0.3475832939147949, 0.3323777914047241, 0.9873106479644775, -0.33015596866607666, 0.7917436361312866, 0.16329741477966309, -0.3361474573612213, 0.501685380935669, 1.0947773456573486, 0.5166852474212646, 0.5007436275482178, 0.23724320530891418, -0.16922323405742645, -0.348966121673584, -0.14039959013462067, 0.05633492022752762, 0.3494228422641754, 0.04182703420519829, -0.14050285518169403, -0.3427915573120117, -0.40605586767196655, 0.001678544096648693, 0.1478167027235031, -0.15702229738235474, 0.7318434119224548, -0.21490362286567688, -0.974137544631958, 0.3022758364677429, 0.20090681314468384, 0.31677040457725525, -0.8125717639923096, -0.28149524331092834, -0.2636891305446625, 0.10974480211734772, -0.03306025639176369, -0.4838036298751831, -0.1836882084608078, -0.08406783640384674, 0.19172652065753937, -0.4386637210845947, 0.6279632449150085, -0.10170736163854599, -0.28509098291397095, 0.9648236632347107, 0.8987125158309937, 0.10722270607948303, -0.42273253202438354, -0.7056597471237183, 0.10406120121479034, -0.015066931024193764, -0.6479869484901428, 0.10464132577180862, 0.2651982307434082, -0.4061051607131958, 1.0997406244277954, 0.7945466041564941, -0.02705296501517296, 0.25760889053344727, -0.10548435151576996, 0.87485271692276, -0.7342458367347717, -0.6833443641662598, -0.7317306995391846, 0.21476605534553528, -0.06573516875505447, -0.04840962961316109, 0.34084394574165344, 0.8789927363395691, 0.8802657723426819, 0.29636716842651367, 0.8753654360771179, -0.03978566825389862, 0.401934951543808, -0.6523145437240601, 0.4458705186843872, -0.7899090051651001, 0.030863648280501366, -0.2355218082666397, -1.2409242391586304, -0.008362042717635632, 0.6371220350265503, 0.11992549896240234, 0.2380661517381668, 0.8615236878395081, 0.8989153504371643, -0.26757171750068665, -0.05235295370221138, 0.29734259843826294, 0.19515210390090942, 0.7066985368728638, 0.48275718092918396, 0.7879698276519775, 0.0023845303803682327, 0.8096880912780762, -0.35386762022972107, -0.16857251524925232, -0.2891143262386322, -0.9083898663520813, -0.6656420230865479, -0.5560228824615479, 0.15716448426246643, 0.09335093200206757, 0.22153228521347046, 1.092140793800354, 0.959402322769165, -0.4814111292362213, -0.3192412257194519, -0.4754478335380554, 0.19058473408222198, -0.48873957991600037, -0.20459255576133728, 0.0004026689275633544, -0.3530769646167755, -0.8586254715919495, 1.1038888692855835, 0.1061057448387146, -0.10759863257408142, -0.6062914729118347, -0.3825114965438843, -0.5403826236724854, 0.09182429313659668, 0.42000558972358704, 0.2629629373550415, -1.0319488048553467, -0.31509605050086975, 0.21022561192512512, -0.1868031769990921, 0.14219516515731812, 0.7622504234313965, -0.906309962272644, 0.7513604760169983, 0.2583276331424713, 0.6883161067962646, 1.0097932815551758, -0.13623502850532532, 0.5175604820251465, -0.5451944470405579, -0.13442492485046387, 0.5776110291481018, 0.3394513726234436, 0.08177967369556427, -0.11302074790000916, 0.9290164709091187, 0.01723339781165123, -0.4195495843887329, -0.5591956377029419, 0.25655168294906616, -0.8994143605232239, -0.4202331304550171, 0.9362748265266418, 0.14010898768901825, -0.17486439645290375, 0.12403080612421036, -0.3296692371368408, 0.36610469222068787, -0.7453709840774536, 0.5665137767791748, 0.615230143070221, -0.5616410970687866, -0.21412226557731628, -0.5371835231781006, 0.45834192633628845, 0.3246578872203827, -0.8841874003410339, -0.07996775954961777, 0.531460702419281, -0.06621766090393066, 0.35358163714408875, 0.7428416013717651, 0.46196049451828003, 0.2679513692855835, -0.11537782102823257, 0.2800208628177643, -0.06793632358312607, -0.5875296592712402, -0.10263123363256454, 0.15070036053657532, 0.39911070466041565, -0.02391587384045124 ]
http://arxiv.org/abs/2407.01470v1
http://arxiv.org/pdf/2407.01470v1
DogeRM: Equipping Reward Models with Domain Knowledge through Model Merging
2024-07-01T17:01:54
2024-07-01T17:01:54
Tzu-Han Lin, Chen-An Li, Hung-yi Lee, Yun-Nung Chen
cs.CL
cs.CL
Reinforcement learning from human feedback (RLHF) is a popular strategy for aligning large language models (LLMs) with desired behaviors. Reward modeling is a crucial step in RLHF. However, collecting paired preference data for training reward models is often costly and time-consuming, especially for domain-specific preferences requiring expert annotation. To address this challenge, we propose the \textbf{Do}main knowled\textbf{ge} merged \textbf{R}eward \textbf{M}odel (DogeRM), a novel framework that integrates domain-specific knowledge into a general reward model by model merging. The experiments demonstrate that DogeRM enhances performance across different benchmarks and provide a detailed analysis showcasing the effects of model merging, showing the great potential of facilitating model alignment.
[ -0.6971460580825806, -0.3942166566848755, 0.39997974038124084, -0.16248846054077148, -0.02994922548532486, 0.007728002034127712, -0.3458930253982544, -0.5789994597434998, -0.011660999618470669, 0.6221413612365723, -0.5625326633453369, -0.40158435702323914, -0.7051072716712952, -0.504517674446106, -0.0030838497914373875, 1.244799017906189, -0.24391056597232819, 0.11320982873439789, -0.6584264039993286, -0.30318474769592285, -0.263649582862854, -0.867003321647644, -0.6541959047317505, -0.934700608253479, 0.754570722579956, 0.3404527008533478, 0.5079914331436157, 0.49490785598754883, 0.5298827290534973, 0.19988678395748138, 0.22915662825107574, 0.4810357987880707, -0.4026232063770294, 0.12342267483472824, -0.46979713439941406, -0.4142500162124634, -0.7424724698066711, 0.3778725266456604, 0.18232478201389313, 0.6897756457328796, -0.5160372853279114, -0.15322864055633545, 0.08782525360584259, 0.5868073105812073, -0.6898906230926514, 0.174636572599411, -0.06393589824438095, 0.09261055290699005, 0.206318661570549, -0.31647467613220215, -0.3391832113265991, -0.4098847508430481, 0.34257930517196655, -0.4407425820827484, 0.10527988523244858, 0.2105109989643097, 1.0185500383377075, 0.44917091727256775, -0.4483042061328888, -0.05982689559459686, -0.917222261428833, 0.9296208024024963, -0.6198760271072388, 0.25718140602111816, 0.32681524753570557, 0.36770516633987427, -0.29561588168144226, -0.552691638469696, -0.5046301484107971, -0.1759149730205536, -0.2700405418872833, 0.08763889223337173, -0.10304959863424301, 0.08754678070545197, -0.05518690124154091, 0.31709519028663635, -0.39940258860588074, 0.13675963878631592, -0.22714684903621674, 0.043212562799453735, 0.9611430764198303, 0.3035953938961029, 0.3863585889339447, 0.2739852964878082, -0.7453793883323669, -0.6890891790390015, -0.6488529443740845, 0.2750067114830017, 0.25664928555488586, 0.23583419620990753, -0.0928085595369339, 0.408172607421875, -0.04758385568857193, 0.8653765320777893, 0.17711493372917175, -0.013701047748327255, 0.13572324812412262, 0.14199873805046082, -0.33635127544403076, 0.05719057843089104, 0.747198760509491, 0.5455878376960754, 0.22055788338184357, -0.3720155358314514, -0.3363363742828369, 0.10402180999517441, 0.45099154114723206, -0.6776783466339111, -0.3380805552005768, 0.40583422780036926, -0.3628632426261902, -0.5263382196426392, 0.23243814706802368, -0.4471195638179779, -0.37685465812683105, -0.5707247853279114, 0.5208115577697754, -0.21971744298934937, -0.48439154028892517, 0.5190898776054382, -0.3210442066192627, 0.544015645980835, 0.4596826732158661, -0.9945875406265259, 0.3541843593120575, 1.0360229015350342, 0.33573654294013977, -0.4259759485721588, -0.6459379196166992, -0.8395674824714661, 0.32157883048057556, -0.1881946623325348, 0.8088142275810242, -0.5044841766357422, -0.5049479603767395, -0.030136985704302788, 0.029881123453378677, -0.13105888664722443, -0.7526372075080872, 0.4479016959667206, -0.9240787029266357, 0.5190622806549072, -0.12571148574352264, -0.8361467719078064, -0.364745557308197, 0.2845819890499115, -0.5991318821907043, 0.9635526537895203, 0.1522471159696579, -0.5887904763221741, 0.4905305504798889, -0.6666404008865356, -0.40749940276145935, 0.17561322450637817, -0.17678546905517578, -0.21209771931171417, -0.016344839707016945, 0.18138965964317322, 0.5592895746231079, -0.3773484528064728, 0.5580071210861206, -0.43281373381614685, -0.26398664712905884, 0.2731977105140686, 0.10571397095918655, 0.1294127106666565, 0.17027483880519867, -0.2965373992919922, 0.40640631318092346, -0.3453108072280884, 0.06413574516773224, 0.12639348208904266, -0.4635280966758728, -0.660876989364624, -0.08185700327157974, 0.2789400517940521, 0.34028545022010803, 0.3304997682571411, -0.021709702908992767, 0.5384336709976196, -0.08443975448608398, 0.18244506418704987, 0.6306268572807312, -0.13485534489154816, 0.6150690317153931, -0.7134429812431335, 0.6281424760818481, 0.052595414221286774, -0.038477420806884766, 0.24264109134674072, -0.2543688714504242, -0.8042251467704773, -0.26901936531066895, 0.6385922431945801, 0.4683842658996582, -0.06282851845026016, 0.5598350167274475, -0.16190746426582336, -0.38931819796562195, -0.6318081617355347, -0.09976520389318466, 0.3910403847694397, 0.29321080446243286, 0.4275003671646118, -0.3855116367340088, -0.35929930210113525, -1.004762053489685, -0.2707102596759796, -0.15909820795059204, -0.03879861906170845, 0.5678677558898926, 0.25410258769989014, -0.3653006851673126, 0.9995959997177124, -0.5938057899475098, -0.07692737877368927, -0.2238258272409439, 0.5232737064361572, -0.027860820293426514, 0.5920185446739197, 0.2131050080060959, -0.7362313866615295, -0.36595267057418823, 0.08378981798887253, -0.7710574269294739, 0.005557188298553228, 0.23708629608154297, -0.3672541379928589, -0.1521761417388916, 0.32640472054481506, -0.47627177834510803, 0.1142628863453865, 0.5132433772087097, -0.09099914133548737, 0.3164439797401428, -0.4333575665950775, 0.7118892073631287, -0.9018041491508484, 0.00916165392845869, 0.13336287438869476, -0.3946097195148468, -0.5527958273887634, 0.04656524211168289, 0.15333089232444763, 0.019396435469388962, -0.3995242118835449, 0.8251606822013855, -0.33666467666625977, 0.022734662517905235, -0.6881290078163147, 0.16248837113380432, -0.24778291583061218, 0.6357581615447998, 0.4592718780040741, 0.5463014841079712, 0.2073584645986557, -0.8508098125457764, 0.3552280068397522, 0.2568959891796112, 0.09186097979545593, 0.7991356253623962, -0.5639500617980957, 0.23114202916622162, 0.04329506680369377, 0.048698313534259796, -0.7612652778625488, -0.5636430382728577, 0.23102229833602905, -0.40678003430366516, 0.5101878046989441, -0.3382366895675659, 0.040176551789045334, -0.0842827707529068, -0.15683341026306152, 0.3780375123023987, 0.6448763608932495, -0.9440464973449707, 0.725273847579956, 0.5462430715560913, -0.22347751259803772, -0.6283252835273743, -0.27543944120407104, -0.07850626111030579, -0.3512238562107086, -0.7618376612663269, 0.8876309394836426, 0.06273947656154633, -0.08302637934684753, 0.36477524042129517, 0.08221467584371567, 0.20467644929885864, -0.0836171880364418, 0.22433346509933472, 0.5730631351470947, -0.01758413389325142, 0.11458372324705124, -0.11725504696369171, -0.2369166612625122, -0.06512659788131714, -0.2767910361289978, 0.441697895526886, -0.12691830098628998, -0.4480937123298645, -0.10896363854408264, 0.38000285625457764, 0.6021521091461182, -0.2739690840244293, 0.6258184313774109, 0.38961371779441833, -0.34047549962997437, -0.41816240549087524, -0.5793246626853943, -0.3441355526447296, -0.33579620718955994, 0.1784536987543106, -0.32575899362564087, -1.151526689529419, 0.21075758337974548, -0.4404817223548889, -0.05208546295762062, 0.2138833999633789, 0.4313304126262665, -0.09166974574327469, 1.172918438911438, 0.8625157475471497, -0.3225614130496979, 0.30966320633888245, -0.059092335402965546, 0.10363072901964188, -0.8186734318733215, -0.4772372841835022, -0.31350386142730713, -0.49796685576438904, -0.30258041620254517, -0.41109317541122437, -0.05369684472680092, 0.382374107837677, -0.33564215898513794, 0.14292503893375397, -0.3191491365432739, 0.3463710844516754, 0.6771023273468018, 0.0508519671857357, 0.2801065146923065, -0.008210054598748684, -0.1493995636701584, -0.05333220213651657, -0.7856055498123169, -0.5070328712463379, 1.0664334297180176, 0.20163477957248688, 1.074763536453247, -0.035974156111478806, 0.9258888959884644, 0.43532121181488037, 0.35755613446235657, -0.9513124227523804, 0.42744070291519165, -0.027733691036701202, -0.0667782872915268, -0.1741403192281723, -0.17712470889091492, -0.8508955240249634, 0.3372070789337158, -0.15512077510356903, -0.5573301911354065, 0.19854459166526794, 0.3076116144657135, -0.35686177015304565, 0.13426576554775238, -0.44454512000083923, 0.8398595452308655, -0.45199063420295715, -0.5040600299835205, -0.44853368401527405, -0.4818148612976074, 0.6029690504074097, 0.21477581560611725, 0.07569777220487595, -0.023923225700855255, 0.060367826372385025, 0.8546066880226135, -0.5844539999961853, 0.5243402123451233, -0.10948815941810608, -0.13357490301132202, -0.21130341291427612, -0.04553228244185448, 0.7722996473312378, -0.3239598870277405, 0.5170043110847473, -0.1217215284705162, -0.22030328214168549, -0.2591227889060974, -0.7470340728759766, 0.7857460975646973, -0.8786317706108093, -0.6980939507484436, -0.547265350818634, -0.6025443077087402, -0.5938698053359985, -0.23471564054489136, -0.2071516215801239, 0.19441206753253937, -0.16906651854515076, -0.10819040238857269, 0.8133330345153809, -0.044958144426345825, 0.014033748768270016, 0.714646577835083, -0.428972989320755, -0.6654286980628967, 0.6744096875190735, -0.5378589034080505, 0.04548812657594681, 0.2982763350009918, 0.015393057838082314, -0.5307311415672302, 0.028557373210787773, -0.26693055033683777, 0.3827790319919586, -0.6199455857276917, 0.02549997717142105, -0.6087486743927002, -0.2654557228088379, -0.09909562021493912, -0.3289032280445099, -0.3607798218727112, -0.17839042842388153, 0.15411803126335144, -0.04384363442659378, 0.4574776291847229, 0.9062975645065308, -0.25821027159690857, 0.29890361428260803, -0.9694649577140808, 0.019642777740955353, 0.5399335026741028, 0.2798142731189728, 0.21635442972183228, -0.34044918417930603, -0.44108355045318604, -0.15317869186401367, -0.021731851622462273, -0.836739182472229, 0.4105536639690399, -0.3136123716831207, 0.9529617428779602, 0.22249558568000793, -0.01652933843433857, 0.604580819606781, -0.1446029245853424, 0.6070652008056641, 0.46212533116340637, -0.7110106348991394, 0.5329374074935913, -0.2601308524608612, -0.13051196932792664, 0.19032564759254456, 0.6702567338943481, -0.8706501722335815, -0.14492566883563995, -0.7038881778717041, -0.8935202360153198, 1.0759220123291016, -0.46070942282676697, -0.30853569507598877, 0.23896412551403046, 0.14292562007904053, 0.010128705762326717, 0.3219553828239441, -0.4608854651451111, -0.29936015605926514, 0.1685793697834015, -0.3282412886619568, -0.12658248841762543, -0.12343864142894745, -0.7126339673995972, -0.25155308842658997, 0.8439763188362122, 0.07946521043777466, 0.17218855023384094, -0.07921840250492096, -0.21746119856834412, -0.21928167343139648, 0.3367445766925812, 0.41504520177841187, 0.3315850794315338, -0.36955878138542175, 0.27338194847106934, -0.2155304104089737, 0.0431867390871048, 0.4606880247592926, 0.05012059956789017, 0.15294674038887024, -0.5716444253921509, 0.05000985786318779, 0.9268335700035095, 0.34533417224884033, -0.6039089560508728, 0.39673489332199097, -0.09264737367630005, -0.61837238073349, 0.2425231784582138, 0.47743409872055054, 0.3937508761882782, 0.5127544403076172, 0.12046553939580917, 0.0025674691423773766, -0.09266002476215363, -0.314812034368515, 0.4805132746696472, 0.49095600843429565, -0.45979517698287964, -0.08897553384304047, 0.7828425765037537, 0.22786802053451538, -0.20374852418899536, 0.596149742603302, -0.011242575943470001, -0.7886565923690796, 0.41823363304138184, 0.5195462703704834, 0.9739245176315308, -0.2098490446805954, 0.16792529821395874, 0.35237038135528564, -0.20153166353702545, -0.34221115708351135, 0.006221993360668421, -0.21215790510177612, -0.8327196836471558, -0.39710620045661926, -0.42802783846855164, -0.589557945728302, 0.27496078610420227, -0.877173125743866, 0.4087393879890442, -0.06523289531469345, -0.23651109635829926, -0.0761088952422142, -0.1849316954612732, -0.7493718862533569, 0.20752312242984772, 0.071312315762043, 0.5016282796859741, -0.9518103003501892, 0.8435736894607544, 1.1243449449539185, -0.6507117748260498, -0.9941539168357849, -0.07721219211816788, -0.17814607918262482, -0.7372352480888367, 1.0589076280593872, -0.13098695874214172, -0.28397491574287415, 0.02027834579348564, -0.4714617133140564, -0.4306655526161194, 1.1033248901367188, 0.006786477752029896, -0.4947727620601654, 0.10744555294513702, -0.0835428461432457, 0.19802013039588928, -0.8389725685119629, 0.13845650851726532, 0.685852587223053, 0.5208157896995544, 0.31298068165779114, -0.7330197691917419, 0.10610280930995941, -0.31446588039398193, 0.00706110056489706, 0.4737350344657898, -0.5992006063461304, 0.7194366455078125, -0.14553584158420563, -0.054345253854990005, -0.34317827224731445, 0.530358076095581, 0.4956241548061371, 0.12874136865139008, 0.5303797125816345, 0.9124332666397095, 0.9265924096107483, -0.006614818703383207, 0.761604905128479, -0.4816025495529175, 0.6131656169891357, 1.1656087636947632, -0.4676140546798706, 0.971688985824585, 0.5294513702392578, -0.31667855381965637, 0.38090261816978455, 0.8869338035583496, 0.08372608572244644, 0.8610154390335083, 0.16641728579998016, -0.32755720615386963, -0.7696805000305176, -0.002843673573806882, -0.6302634477615356, 0.08164847642183304, -0.013323496095836163, -0.20859494805335999, -0.17232868075370789, -0.08228122442960739, -0.05649163946509361, -0.04307634383440018, -0.1142667606472969, 0.8783428072929382, 0.001660152687691152, -1.1723806858062744, 0.45589154958724976, 0.1922384351491928, 0.9570176005363464, -0.5996317267417908, -0.13797396421432495, -0.35402318835258484, 0.3161804676055908, -0.15989653766155243, -0.586094856262207, 0.0477435439825058, -0.21459271013736725, -0.5057486295700073, -0.055727243423461914, 0.9052654504776001, -0.9159860014915466, 0.19154544174671173, 0.6382231116294861, 0.6976425051689148, 0.05391495302319527, 0.07663091272115707, -0.655517041683197, -0.24189957976341248, -0.0559304840862751, -0.044437650591135025, 0.666569173336029, -0.12554128468036652, -0.002421300858259201, 0.5772040486335754, 0.6455138921737671, 0.09742660820484161, -0.20957498252391815, 0.10538389533758163, 0.6931281685829163, -0.7841642498970032, -0.5121526122093201, -0.741736650466919, 0.5771860480308533, -0.06202321872115135, 0.14263615012168884, 0.4447263777256012, 0.4438498318195343, 0.9047773480415344, -0.2684183716773987, 1.173295497894287, 0.12009155750274658, 0.3159184455871582, -0.4377000331878662, 0.5558282136917114, -0.9476423859596252, 0.16371825337409973, 0.148579403758049, -0.7666719555854797, 0.12422548234462738, 0.4478504955768585, -0.4916088879108429, 0.1214740201830864, 0.5938307046890259, 0.8181232810020447, -0.2843432128429413, -0.05487603321671486, 0.3718453049659729, -0.45533835887908936, 0.2035474181175232, 0.8450031876564026, 1.1559802293777466, -0.16535186767578125, 0.17843641340732574, -0.11309726536273956, -0.3192700445652008, -0.4899384081363678, -0.8603749871253967, -0.7097936272621155, -0.49324706196784973, -0.49998739361763, -0.29996296763420105, 0.09814219176769257, 1.239808201789856, 0.8856081962585449, -0.7739497423171997, -0.44306033849716187, 0.019614500924944878, -0.004825653973966837, -0.43001866340637207, -0.2149185836315155, 0.3886561393737793, -0.5833220481872559, -0.8523105978965759, 0.2700246274471283, 0.40637028217315674, 0.12857908010482788, -0.17426279187202454, -0.7640748023986816, 0.02114124223589897, 0.2611011266708374, 0.27454838156700134, 0.3197603225708008, -0.7278151512145996, -0.03454657644033432, -0.08239169418811798, -0.36052507162094116, 0.015413259156048298, 1.019000768661499, -0.6892918348312378, 0.37845462560653687, 0.43526268005371094, 0.9165143966674805, 0.6661757826805115, 0.26891905069351196, 1.1709949970245361, -0.4385755956172943, -0.06038988381624222, -0.15727004408836365, 0.4490172266960144, 0.2655281722545624, -0.24827535450458527, 0.6129931807518005, 0.16114532947540283, -0.715809166431427, -0.6590089201927185, 0.2135164588689804, -1.0238139629364014, -0.20477694272994995, 1.0268241167068481, -0.16969098150730133, -0.07119687646627426, 0.24405670166015625, -0.1531120389699936, 0.32481348514556885, -0.3159776031970978, 0.6000229716300964, 1.0010132789611816, -0.38388070464134216, -0.10020159184932709, -0.2486657202243805, 0.7609155774116516, 0.48496416211128235, -0.9330161809921265, -0.00512713473290205, 0.4290926456451416, 0.4233303964138031, -0.2191658467054367, 0.61722731590271, -0.03236553072929382, 0.3765704929828644, -0.23649761080741882, 0.5840707421302795, -0.30900469422340393, -0.2783988416194916, -0.4772563576698303, 0.19876599311828613, 0.5789506435394287, -0.2988598048686981 ]
http://arxiv.org/abs/2407.01463v1
http://arxiv.org/pdf/2407.01463v1
Retrieval-augmented generation in multilingual settings
2024-07-01T16:56:50
2024-07-01T16:56:50
Nadezhda Chirkova, David Rau, Hervé Déjean, Thibault Formal, Stéphane Clinchant, Vassilina Nikoulina
cs.CL
cs.CL, cs.AI
Retrieval-augmented generation (RAG) has recently emerged as a promising solution for incorporating up-to-date or domain-specific knowledge into large language models (LLMs) and improving LLM factuality, but is predominantly studied in English-only settings. In this work, we consider RAG in the multilingual setting (mRAG), i.e. with user queries and the datastore in 13 languages, and investigate which components and with which adjustments are needed to build a well-performing mRAG pipeline, that can be used as a strong baseline in future works. Our findings highlight that despite the availability of high-quality off-the-shelf multilingual retrievers and generators, task-specific prompt engineering is needed to enable generation in user languages. Moreover, current evaluation metrics need adjustments for multilingual setting, to account for variations in spelling named entities. The main limitations to be addressed in future works include frequent code-switching in non-Latin alphabet languages, occasional fluency errors, wrong reading of the provided documents, or irrelevant retrieval. We release the code for the resulting mRAG baseline pipeline at https://github.com/naver/bergen.
[ -0.45577892661094666, -0.36205849051475525, 0.23452994227409363, 0.21991318464279175, 0.12960976362228394, 0.4119105935096741, -0.1767813116312027, -0.44791117310523987, 0.21537408232688904, 0.3854685425758362, -0.4573131799697876, -0.321094274520874, -0.2960412800312042, 0.5178946256637573, 0.07149872928857803, 1.0957257747650146, -0.12382812052965164, -0.08277259021997452, -0.23182514309883118, -0.3112390339374542, -0.8755650520324707, -0.6334818005561829, -0.4656250774860382, -0.2611737549304962, 0.8076069355010986, 0.6596300601959229, 0.3958163261413574, 0.2915859520435333, 0.10687582194805145, 0.17881980538368225, -0.15759651362895966, 0.6609414219856262, -0.5096582770347595, 0.6106411218643188, -0.33310380578041077, -0.25093597173690796, -0.26228806376457214, -0.31435948610305786, 0.7660724520683289, 0.5492451786994934, -0.1306159794330597, 0.4026329815387726, 0.13954845070838928, 0.6599127650260925, -0.9410589933395386, -0.07689226418733597, -0.6836634874343872, -0.08337802439928055, -0.34663477540016174, -0.24956779181957245, -0.62847900390625, 0.19097690284252167, -0.2454025149345398, -0.5624097585678101, 0.39573901891708374, 0.3621266782283783, 0.9259358644485474, 0.04287195950746536, -0.5951611995697021, -0.40990155935287476, -0.4076266586780548, 0.862666130065918, -0.3470919728279114, 0.7180988788604736, 0.4685543179512024, 0.27041104435920715, -0.20523042976856232, -0.7033680081367493, -0.41366687417030334, -0.16493229568004608, -0.39087846875190735, 0.19652462005615234, 0.20454975962638855, -0.40079647302627563, 0.32134610414505005, 0.16778449714183807, -0.6823362112045288, -0.014069327153265476, -0.24194541573524475, -0.31796687841415405, 0.4439578652381897, 0.07238585501909256, 0.037733469158411026, -0.6669954061508179, -0.3868218958377838, 0.04049209877848625, -0.855330765247345, -0.07751373946666718, 0.5738928914070129, 0.7641576528549194, 0.00045834522461518645, 0.4771198630332947, -0.10919678211212158, 0.7483007311820984, 0.07282719016075134, -0.1678159385919571, 0.3848515748977661, -0.540148913860321, 0.15555314719676971, -0.20273028314113617, 0.5102810263633728, -0.04756263643503189, -0.05566778406500816, -0.062289975583553314, -0.47925084829330444, -0.35413965582847595, 0.26626381278038025, -0.5833092927932739, -0.041865576058626175, 0.1304861307144165, -0.1730360984802246, 0.04190460592508316, -0.257081001996994, -0.8057764172554016, -0.5812316536903381, -0.3642726540565491, 0.19195939600467682, -0.2530165910720825, -0.36923953890800476, -0.30748918652534485, -0.13865552842617035, 0.1005324050784111, 0.014108676463365555, -0.7035624384880066, -0.35117480158805847, 0.3617216944694519, 0.5514326691627502, -0.18429574370384216, -0.5595481395721436, -0.6789101362228394, 0.185215026140213, -0.4662231206893921, 0.9254535436630249, -0.4324735105037689, -0.698424220085144, 0.2574514150619507, -0.003286073449999094, -0.2080645114183426, -0.5099138021469116, 0.7672919034957886, -0.7246348857879639, 0.6305736303329468, -0.5886457562446594, -0.17754685878753662, 0.16092649102210999, 0.42012274265289307, -0.5251491069793701, 1.129969596862793, 0.14570534229278564, -0.7450477480888367, 0.5871434807777405, -0.46938785910606384, -0.5157721638679504, 0.2564775049686432, -0.2565499544143677, -0.12659168243408203, 0.1390881985425949, 0.31950899958610535, 0.18595273792743683, -0.30919384956359863, 0.3308897316455841, 0.3203105926513672, -0.162413090467453, -0.04885393753647804, -0.43382149934768677, 0.6946167945861816, 0.6205906867980957, 0.07997876405715942, -0.2212064564228058, -0.8905150294303894, 0.027099134400486946, -0.047605570405721664, -0.5807591080665588, -0.2841458320617676, -0.014810063876211643, 0.1863342970609665, 0.3079319894313812, 0.40963155031204224, -0.3258979320526123, 0.21003518998622894, -0.12728966772556305, -0.20497161149978638, 0.6631567478179932, 0.05212324857711792, 0.21152591705322266, -0.2733953893184662, 0.9224281907081604, -0.03179843723773956, -0.23323777318000793, -0.6133712530136108, -0.3581675589084625, -0.6133533716201782, -0.5291414856910706, 0.45224785804748535, 0.7137895822525024, -1.335401177406311, -0.09569600224494934, -0.1579321324825287, -0.12423128634691238, -0.6266518235206604, 0.23173531889915466, 0.6781046390533447, 0.8524171113967896, 0.29606908559799194, 0.04906503111124039, -0.6260016560554504, -0.8319588899612427, -0.4159168004989624, -0.25834569334983826, -0.002004799200221896, 0.5938829779624939, 0.12704691290855408, -0.3465716242790222, 0.9154888391494751, -0.33906421065330505, -0.1820010095834732, -0.3506813943386078, 0.22230958938598633, 0.46021586656570435, 0.21424071490764618, 0.5414881706237793, -0.9012618660926819, -0.5772406458854675, 0.23577558994293213, -0.8323900699615479, -0.40314584970474243, -0.1561523675918579, -0.2246255725622177, 0.5995936989784241, 0.3664218485355377, -0.5055534243583679, -0.011654958128929138, 0.6613815426826477, -0.4948790669441223, 0.889831006526947, -0.3199644088745117, 0.6581476330757141, -1.2965983152389526, 0.3824147880077362, -0.10101164877414703, -0.22006694972515106, -0.6839032173156738, 0.39631107449531555, 0.241225928068161, -0.36146947741508484, -0.5480351448059082, 0.9702836871147156, -0.7484232187271118, -0.0014203343307599425, -0.16426686942577362, 0.1660405546426773, 0.38753408193588257, 0.20310929417610168, -0.212794229388237, 1.4400990009307861, 0.31889545917510986, -0.6929976940155029, -0.011732436716556549, 0.3353269696235657, -0.2355250120162964, 0.8841986060142517, -0.3190246522426605, 0.09289392083883286, -0.24010753631591797, 0.023738892748951912, -0.7832927703857422, -0.4514058232307434, -0.060721855610609055, -0.6258793473243713, 0.7698865532875061, -0.26941585540771484, -0.5982288122177124, -0.17305947840213776, -0.10221204906702042, 0.2667354941368103, 0.29958850145339966, -0.8094829320907593, 0.6864333748817444, 0.3037945628166199, -0.2466152161359787, -0.9540619850158691, -0.44252198934555054, 0.3713648319244385, -0.2777346670627594, -0.7437033653259277, 0.15778127312660217, 0.056876715272665024, -0.20065923035144806, -0.406183660030365, 0.05648037791252136, -0.12366881221532822, -0.055327486246824265, -0.27297598123550415, 0.310273140668869, -0.058740854263305664, 0.34394434094429016, 0.15184615552425385, -0.04993877187371254, -0.22286885976791382, -0.028822055086493492, 0.36799731850624084, 0.09171485155820847, -0.21863681077957153, 0.23866717517375946, 0.5948836207389832, 0.2664327025413513, -0.48283758759498596, 0.8009585738182068, 0.6694900393486023, -0.14228495955467224, -0.29663851857185364, -0.5442982316017151, 0.059903934597969055, -0.4919678270816803, 0.24429550766944885, -0.9036361575126648, -0.8688100576400757, 0.7697193622589111, 0.03910115361213684, 0.31382906436920166, 0.49294188618659973, 0.6429323554039001, -0.1383114904165268, 0.8795893788337708, 0.5431112051010132, 0.3517799973487854, 0.2841672897338867, 0.10539664328098297, 0.1224406436085701, -0.9584804773330688, -0.16745474934577942, -0.7662093639373779, -0.010045638307929039, -0.6773289442062378, -0.3900226950645447, 0.63511723279953, 0.219047412276268, -0.015892941504716873, 0.2819175124168396, -0.2948019802570343, 0.40406960248947144, 0.4020826816558838, -0.2590402066707611, 0.33649009466171265, 0.190604567527771, -0.33675089478492737, -0.24416226148605347, -1.021288514137268, -0.5419338345527649, 0.8938661813735962, -0.06980942189693451, 0.5626237988471985, 0.29728934168815613, 0.7050692439079285, 0.3664243519306183, 0.2268245667219162, -0.45232653617858887, 0.30856600403785706, -0.16133959591388702, -0.8708767890930176, -0.020220709964632988, -0.5183374881744385, -1.2592158317565918, 0.5813615322113037, -0.13229814171791077, -0.3623811900615692, 0.28516438603401184, 0.34289881587028503, -0.028088843449950218, -0.08217082917690277, -0.8979834914207458, 0.8305045366287231, -0.12928928434848785, -0.4043703079223633, -0.01886974461376667, -0.5514211654663086, 0.28087687492370605, -0.28277429938316345, 0.5006771683692932, 0.12142582982778549, -0.030541369691491127, 0.2768324315547943, -0.0733482614159584, 0.46707212924957275, -0.35480058193206787, -0.34328290820121765, 0.2970784604549408, 0.05674506351351738, 0.6237614154815674, 0.2010832577943802, -0.27117666602134705, 0.028154319152235985, -0.10725106298923492, -0.4500671625137329, -0.3528234362602234, 0.7843207120895386, -0.4363328516483307, -0.6185880899429321, -0.4663624167442322, -0.8107522130012512, -0.5057163834571838, 0.15765410661697388, 0.343011736869812, 0.5155020356178284, -0.05537858605384827, -0.08716132491827011, 0.629658579826355, -0.5374213457107544, 0.26138144731521606, 0.5714371800422668, -0.38828757405281067, -0.43356508016586304, 1.144178032875061, 0.24681255221366882, 0.2096392810344696, 0.23899628221988678, 0.0020727624651044607, -0.31453534960746765, -0.2871720790863037, -0.9714886546134949, 0.41886720061302185, -0.7659370303153992, -0.31975463032722473, -0.49733954668045044, 0.25209540128707886, -0.5588955879211426, -0.08748234063386917, -0.15334588289260864, -0.43662029504776, -0.4094201624393463, 0.061710841953754425, 0.28280505537986755, 0.41496720910072327, -0.145069882273674, -0.045303527265787125, -0.9063712954521179, 0.4892553687095642, 0.04192718118429184, 0.29147884249687195, -0.3092256486415863, -0.7795513272285461, -0.5955432057380676, -0.13107097148895264, -0.19504235684871674, -0.7576547861099243, 0.33675870299339294, 0.41565704345703125, 0.6816672682762146, -0.21091938018798828, 0.0443568117916584, 0.7915962338447571, -0.8189750909805298, 0.9259822368621826, -0.11660734564065933, -0.5668962597846985, 0.440398633480072, -0.47933265566825867, 0.5376338362693787, 0.6216824650764465, 0.32097867131233215, -0.7928028702735901, -0.3002420961856842, -0.3390999436378479, -1.0217747688293457, 0.5895829796791077, -0.08876680582761765, 0.2684706151485443, -0.32718604803085327, 0.28306522965431213, 0.1947987824678421, 0.357905775308609, -0.30120307207107544, -0.3641902506351471, -0.028830740600824356, -0.008119801990687847, -0.0659051313996315, -0.4130532443523407, -0.1440795511007309, 0.29942432045936584, 0.90191650390625, -0.27352121472358704, 0.03270374983549118, 0.10288682579994202, -0.306286484003067, 0.032108038663864136, 0.49501121044158936, 0.4859474301338196, 1.0688140392303467, 0.08574840426445007, -0.09505606442689896, 0.2367285043001175, -0.310496062040329, 0.21908675134181976, 0.2547543942928314, -0.365622878074646, 0.32482197880744934, 0.2652343213558197, 0.7572295665740967, -0.02707054279744625, -0.8020934462547302, 0.08966676145792007, 0.0009817668469622731, 0.1317116767168045, -0.12191656976938248, -0.22886061668395996, -0.24560941755771637, 0.08300089836120605, 0.6829156279563904, -0.11800140887498856, 0.13554775714874268, -0.3627929389476776, 0.24739372730255127, 0.398512065410614, 0.029762348160147667, -0.1946161687374115, 0.556422770023346, 0.22542543709278107, -0.24738511443138123, 0.48737195134162903, -0.5319204926490784, -0.22388221323490143, 0.19059419631958008, 0.5185410380363464, 0.7272843718528748, -0.24035683274269104, 0.18010245263576508, 0.34845709800720215, 0.30364689230918884, 0.07508012652397156, 0.38393622636795044, 0.1301218420267105, -0.6075025200843811, -0.8459497690200806, -0.6895824670791626, -0.35783645510673523, -0.30833351612091064, -0.6784026026725769, 0.4030936062335968, 0.07881035655736923, -0.2091868668794632, -0.30073782801628113, -0.10383516550064087, -0.6337152719497681, 0.08331383019685745, 0.07238694280385971, 0.8261792063713074, -0.5298296809196472, 0.5728503465652466, 1.0089949369430542, -0.21247194707393646, -0.5717445611953735, -0.1457531750202179, -0.02315937727689743, -0.6105484962463379, 0.5994675159454346, -0.05524083226919174, -0.17085514962673187, 0.019677074626088142, -0.1864621639251709, -0.8274458646774292, 0.9325992465019226, 0.5542516708374023, -0.25447186827659607, 0.019377252086997032, -0.16437643766403198, 0.6044850945472717, -0.1870025098323822, 0.09939920902252197, 0.37762829661369324, 0.401719868183136, 0.06536649167537689, -1.0609217882156372, -0.3543829023838043, -0.18599112331867218, 0.13512201607227325, 0.4268184304237366, -0.5277804732322693, 0.7382532358169556, -0.09898418933153152, -0.4463365077972412, -0.03323488309979439, 0.7005031108856201, 0.6854555606842041, 0.255424439907074, 0.25910744071006775, 0.6087063550949097, 0.834822952747345, -0.020325230434536934, 1.309540867805481, -0.517821729183197, 0.23687219619750977, 1.1767643690109253, -0.48056137561798096, 0.6710232496261597, 0.6654512286186218, -0.04348529502749443, 0.36833444237709045, 0.4363984763622284, 0.3944113552570343, 0.2946688234806061, -0.18175357580184937, -0.44811689853668213, -0.03205646574497223, -0.5904039740562439, -0.4131802022457123, 0.2868131995201111, 0.3256337344646454, -0.20590190589427948, -0.19651314616203308, 0.22899861633777618, 0.17294317483901978, 0.28060707449913025, -0.17754098773002625, 0.614791989326477, -0.13951115310192108, -0.872938871383667, 0.8464199304580688, 0.018590377643704414, 0.6557730436325073, -0.5188742876052856, -0.12246693670749664, -0.5432344079017639, -0.13231319189071655, -0.1878175139427185, -0.729342520236969, 0.33849605917930603, 0.4630089998245239, -0.4736378788948059, -0.5820558071136475, 0.7106241583824158, -0.5124273300170898, -0.5737552642822266, 0.09871285408735275, 0.8907362222671509, 0.16877850890159607, 0.2504420578479767, -0.6208850741386414, 0.13150957226753235, 0.05524604022502899, -0.49420034885406494, 0.47342658042907715, 0.6731299757957458, -0.09400585293769836, 0.47307300567626953, 0.6168912649154663, 0.2129410356283188, 0.292898029088974, 0.4049051105976105, 0.6914669871330261, -0.40099579095840454, -0.20479433238506317, -0.3662777543067932, 0.849658191204071, 0.11987467110157013, -0.3732640743255615, 1.0114704370498657, 0.5664145946502686, 0.7737743854522705, -0.09777291864156723, 0.7201234102249146, -0.35526716709136963, 0.9525224566459656, -0.43038448691368103, 0.5331804156303406, -0.7149938941001892, 0.18978197872638702, -0.09601777791976929, -0.9626968502998352, -0.22228848934173584, 0.23749150335788727, 0.22615280747413635, -0.0007739450666122139, 0.5488603115081787, 0.8603805899620056, 0.13998936116695404, -0.5878976583480835, 0.44220247864723206, -0.10971002280712128, 0.44184643030166626, 0.1472962200641632, 0.6237544417381287, -0.36676904559135437, 0.5525261759757996, 0.1778392493724823, -0.0914091095328331, 0.23299694061279297, -0.8783044219017029, -0.6282207369804382, -0.5508856177330017, -0.09266030788421631, -0.36250850558280945, 0.16963601112365723, 0.8088846206665039, 0.32839295268058777, -0.7100957632064819, -0.3859216868877411, 0.3817560076713562, 0.22045594453811646, 0.07623764872550964, -0.19222010672092438, 0.016200879588723183, -0.986199140548706, -0.8311609029769897, 0.7045824527740479, 0.054017115384340286, -0.33242008090019226, -0.36376091837882996, -0.13570868968963623, -0.5189016461372375, -0.09883306175470352, 0.7470877170562744, 0.44813570380210876, -0.5805502533912659, -0.31782540678977966, 0.20365746319293976, -0.10129713267087936, 0.045051634311676025, 0.6520861387252808, -0.914239764213562, 0.8241525292396545, 0.6961772441864014, 0.7753109931945801, 0.19792944192886353, 0.21788272261619568, 0.5904757380485535, -1.4231460094451904, 0.24581998586654663, 0.17473842203617096, 0.407177209854126, 0.5562716722488403, -0.3268565535545349, 0.5422717332839966, 0.16210898756980896, -0.8478725552558899, -0.9920827746391296, 0.40754204988479614, -0.30652812123298645, -0.11053518205881119, 1.2136403322219849, -0.02596500888466835, 0.16916339099407196, -0.18074136972427368, -0.2956539988517761, 0.0883370041847229, -0.44647568464279175, 0.5687606930732727, 0.8576253056526184, -0.09785016626119614, -0.24004164338111877, -0.7699804902076721, 0.43759000301361084, 0.4428107440471649, -0.7416836619377136, 0.13063769042491913, 0.9051664471626282, -0.19936835765838623, 0.5122714042663574, 0.49024975299835205, 0.037117473781108856, 0.2253067046403885, -0.13967467844486237, 0.19182029366493225, -0.037201281636953354, -0.6196040511131287, -0.3416381776332855, 0.11374492943286896, 0.3130749762058258, 0.1718851923942566 ]
http://arxiv.org/abs/2407.01461v1
http://arxiv.org/pdf/2407.01461v1
Enhancing the Capability and Robustness of Large Language Models through Reinforcement Learning-Driven Query Refinement
2024-07-01T16:55:28
2024-07-01T16:55:28
Zisu Huang, Xiaohua Wang, Feiran Zhang, Zhibo Xu, Cenyuan Zhang, Xiaoqing Zheng, Xuanjing Huang
cs.CL
cs.CL
The capacity of large language models (LLMs) to generate honest, harmless, and helpful responses heavily relies on the quality of user prompts. However, these prompts often tend to be brief and vague, thereby significantly limiting the full potential of LLMs. Moreover, harmful prompts can be meticulously crafted and manipulated by adversaries to jailbreak LLMs, inducing them to produce potentially toxic content. To enhance the capabilities of LLMs while maintaining strong robustness against harmful jailbreak inputs, this study proposes a transferable and pluggable framework that refines user prompts before they are input into LLMs. This strategy improves the quality of the queries, empowering LLMs to generate more truthful, benign and useful responses. Specifically, a lightweight query refinement model is introduced and trained using a specially designed reinforcement learning approach that incorporates multiple objectives to enhance particular capabilities of LLMs. Extensive experiments demonstrate that the refinement model not only improves the quality of responses but also strengthens their robustness against jailbreak attacks. Code is available at: https://github.com/Huangzisu/query-refinement .
[ -0.32366669178009033, -0.9280035495758057, 0.5825441479682922, 0.02580794133245945, -0.1516442596912384, 0.26189562678337097, -0.5241534113883972, -0.2619458734989166, 0.06150564178824425, 0.7232453227043152, -0.5930832624435425, -0.4722506105899811, -0.28013861179351807, 0.14872369170188904, -0.1653842031955719, 1.053577184677124, 0.14859876036643982, -0.2770293056964874, -0.05355367809534073, -0.14829908311367035, -0.6091064214706421, -0.26302093267440796, -0.8619071245193481, 0.02203924022614956, 0.6228229403495789, 0.5045298933982849, 0.6072900891304016, 0.21509775519371033, 0.15614528954029083, 0.3536732792854309, -0.08557091653347015, 0.41179656982421875, -0.768132209777832, 0.6667233109474182, -0.5217775702476501, -0.5548360347747803, -0.08841344714164734, -0.34935832023620605, 0.3879002332687378, 0.42848360538482666, -0.2596244513988495, -0.07065743952989578, 0.05516090989112854, 0.5691966414451599, -0.58348149061203, 0.05994013324379921, -1.0115785598754883, -0.2841275632381439, 0.020147860050201416, -0.2367440015077591, -0.654223620891571, -0.4397890865802765, -0.006645823363214731, -0.5420644879341125, 0.013730037026107311, 0.22545337677001953, 0.7121113538742065, 0.20043034851551056, -0.3255707323551178, -0.1456228643655777, -0.48934075236320496, 0.6117117404937744, -0.9152536988258362, 0.2381352037191391, 0.3711409866809845, 0.43678170442581177, -0.7365500926971436, -0.6748438477516174, -0.33266884088516235, -0.7135054469108582, -0.046726856380701065, -0.36234742403030396, -0.1310841292142868, 0.07563552260398865, 0.4489820897579193, 0.05874933302402496, -0.6028257608413696, 0.43750327825546265, -0.29976144433021545, -0.30231955647468567, 0.6512864828109741, 0.29404380917549133, 0.3241592347621918, -0.10322237014770508, -0.20540757477283478, 0.031722284853458405, -0.9046888947486877, 0.28673115372657776, 0.46416059136390686, 0.5671383142471313, 0.19452369213104248, 0.36751994490623474, -0.4935266673564911, 0.7648631930351257, 0.2879347503185272, -0.2056073248386383, 0.033895816653966904, -0.24624843895435333, 0.09961242228746414, -0.18713776767253876, 0.9965735077857971, 0.10558652877807617, 0.129217728972435, -0.26559561491012573, -0.43850210309028625, -0.4259997010231018, 0.5663281679153442, -1.0163267850875854, -0.11443613469600677, 0.3503713011741638, -0.30490854382514954, -0.5359989404678345, 0.06813175231218338, -0.6379762291908264, -0.6106985211372375, -0.04581156000494957, 0.14386066794395447, -0.552290678024292, -0.1514904648065567, 0.1414666473865509, 0.26332026720046997, -0.008566094562411308, 0.4187075197696686, -1.0833582878112793, 0.21144872903823853, 0.5110928416252136, 0.4351678192615509, -0.12213706970214844, -0.010636603459715843, -0.8020156025886536, 0.07439691573381424, -0.25088974833488464, 0.5741418600082397, -0.5598108172416687, -0.5344294905662537, 0.015210955403745174, 0.11835794150829315, 0.17038841545581818, -0.6881445646286011, 0.5741572380065918, -1.0375275611877441, 0.07306915521621704, -0.2734792232513428, -0.3092802166938782, -0.16320066154003143, 0.46351945400238037, -0.739096999168396, 0.8138543963432312, 0.07847829908132553, -0.5908970832824707, 0.21646720170974731, -0.35445457696914673, -0.6284011006355286, 0.058023907244205475, -0.030785230919718742, -0.3671196699142456, 0.09726723283529282, 0.4589902460575104, 0.261706680059433, -0.17143499851226807, 0.39028361439704895, -0.5490217208862305, -0.37041157484054565, 0.4404790997505188, -0.246634379029274, 0.5490278601646423, 0.3119543790817261, -0.2034294307231903, 0.5123749375343323, -0.8001070022583008, 0.18807168304920197, 0.19399942457675934, -0.5860878825187683, -0.27973082661628723, 0.11305595934391022, -0.27315419912338257, 0.22234100103378296, 0.22865022718906403, -0.39953896403312683, 0.3608793616294861, -0.6766932010650635, 0.549521803855896, 0.8163069486618042, 0.07771598547697067, 0.3004276752471924, -0.1883065551519394, 0.6256484389305115, -0.13080745935440063, 0.10090171545743942, -0.29718393087387085, -0.18769022822380066, -0.3216525614261627, -0.10378897190093994, 0.23772364854812622, 0.627397894859314, -1.036277413368225, 0.4094594419002533, -0.00042727438267320395, -0.5173124670982361, -0.33942538499832153, 0.36841121315956116, 0.1992466151714325, 0.6738165020942688, 0.33903348445892334, -0.2322341650724411, -0.5951074957847595, -0.578854501247406, -0.4119459390640259, -0.5105305910110474, -0.03600793704390526, 0.4940439760684967, 0.3519059717655182, -0.15542267262935638, 0.7313674688339233, -0.4399026930332184, 0.13033154606819153, -0.42363351583480835, -0.06154899671673775, 0.21316325664520264, 0.4736746847629547, 0.40909701585769653, -0.617103099822998, -0.2299535721540451, -0.18878237903118134, -0.5100892186164856, -0.30009642243385315, -0.21126969158649445, -0.012846068479120731, -0.041123244911432266, 0.8092139959335327, -0.4919740557670593, 0.14461344480514526, 0.248208686709404, -0.4404175281524658, 1.0555764436721802, -0.13615481555461884, 0.16178996860980988, -0.967607855796814, -0.018001871183514595, -0.08865249902009964, -0.46142974495887756, -0.41411876678466797, 0.34519773721694946, 0.0721517875790596, -0.1698043942451477, -0.4756031036376953, 0.635672390460968, -0.19127383828163147, 0.10600196570158005, -0.4151170253753662, 0.13591594994068146, 0.06870559602975845, 0.32965266704559326, -0.22790691256523132, 0.9452747702598572, 0.42801767587661743, -0.6216230988502502, 0.6569416522979736, 0.04785840958356857, -0.32633668184280396, 0.3942594826221466, -0.8958774209022522, -0.08836925774812698, -0.02482146956026554, 0.21072961390018463, -1.0818450450897217, -0.14774110913276672, 0.20578663051128387, -0.46174880862236023, 0.3303447663784027, -0.30212780833244324, -0.547092854976654, -0.17683832347393036, -0.35972175002098083, 0.30715858936309814, 0.47200679779052734, -0.6499580144882202, 0.4062129259109497, 0.04007016867399216, -0.3355049192905426, -0.43058866262435913, -0.354073166847229, -0.0030269070994108915, -0.2612680494785309, -0.6212385296821594, 0.3496945798397064, -0.10162000358104706, -0.1085178479552269, -0.13774113357067108, -0.016233393922448158, 0.09928278625011444, 0.3498123586177826, 0.13762453198432922, 0.3526974022388458, -0.13205432891845703, 0.2032262086868286, 0.10602555423974991, 0.0025109746493399143, 0.20384842157363892, -0.3648287057876587, 0.5287883281707764, -0.10036679357290268, -0.4143177270889282, -0.32170602679252625, -0.028343744575977325, 0.4915791153907776, -0.49083414673805237, 0.7693428993225098, 0.5914286971092224, 0.026307325810194016, -0.4590485394001007, -0.5335149168968201, -0.5424804091453552, -0.5712953805923462, 0.35522782802581787, -0.3629961609840393, -1.4860080480575562, 0.5243311524391174, -0.3735290765762329, -0.03991815820336342, 0.08745276927947998, 0.5083953738212585, 0.07294443994760513, 1.108458399772644, 0.5599285364151001, -0.17146271467208862, 0.7116656303405762, 0.18311060965061188, 0.016648689284920692, -0.7685877084732056, -0.299468994140625, -0.5685431957244873, -0.11491041630506516, -0.7528178691864014, -0.24581004679203033, 0.07344315946102142, 0.13642823696136475, -0.3697822690010071, 0.2317182868719101, -0.27531230449676514, 0.5278155207633972, 0.3282094895839691, 0.260764479637146, 0.13416269421577454, -0.03313041478395462, -0.3957129716873169, -0.06095598265528679, -0.45548200607299805, -0.4313915967941284, 1.047864556312561, 0.28823813796043396, 1.1041626930236816, 0.375846803188324, 0.6157885193824768, 0.16784176230430603, 0.09406457096338272, -0.671398401260376, 0.5813239216804504, 0.24215221405029297, -0.4467189311981201, -0.25389695167541504, -0.7591437101364136, -0.9218384623527527, 0.36903923749923706, -0.23822356760501862, -0.9324353337287903, -0.049091074615716934, -0.012861521914601326, -0.49028971791267395, 0.3072206377983093, -0.5338646173477173, 0.7416300773620605, -0.4048393666744232, -0.7190949320793152, -0.1736239343881607, -0.43095868825912476, 0.5736996531486511, -0.026389190927147865, 0.08623208105564117, -0.12743119895458221, -0.0920247733592987, 0.48410671949386597, -0.5766860246658325, 0.9011977314949036, -0.2651117444038391, -0.11548229306936264, 0.2402247041463852, 0.3500957787036896, 0.7676575779914856, 0.5343080163002014, -0.17007087171077728, -0.5375056862831116, -0.21978968381881714, -0.3966042101383209, -0.8535408973693848, 0.7808329463005066, -0.4724893271923065, -1.0114113092422485, -0.03950730338692665, -0.43289655447006226, -0.47883856296539307, 0.41553252935409546, -0.11955436319112778, 0.25998806953430176, -0.16928371787071228, 0.12394389510154724, 1.0431493520736694, -0.632908284664154, 0.18498845398426056, 0.8345854878425598, -0.5744966864585876, -0.2701605558395386, 0.7481940388679504, -0.3282431662082672, 0.21168705821037292, 0.1571679711341858, 0.13171647489070892, -0.4096054136753082, -0.8136395812034607, -0.32850468158721924, 0.15545201301574707, -0.535696268081665, -0.2833554744720459, -0.24627016484737396, -0.06494049727916718, -0.4865244925022125, 0.038461215794086456, -0.21737052500247955, -0.21140342950820923, -0.274105042219162, -0.32447105646133423, 0.5321992039680481, 0.32798323035240173, 0.13203898072242737, 0.27074989676475525, -0.7592687010765076, 0.2884659171104431, 0.39370134472846985, 0.3909556269645691, 0.001612114254385233, -0.7994967103004456, -0.09581439197063446, -0.19798390567302704, -0.33179375529289246, -0.878205418586731, 0.4051932692527771, -0.009050726890563965, 0.6068562269210815, 0.5277151465415955, 0.35705462098121643, 0.46273037791252136, -0.40974342823028564, 0.7526565194129944, 0.05889730527997017, -0.6563092470169067, 0.8709434866905212, -0.4208321273326874, 0.2870485186576843, 0.925102174282074, 0.28189054131507874, -0.2860349714756012, -0.4222185015678406, -0.4887811839580536, -0.9990370273590088, 0.5850865840911865, -0.20852942764759064, 0.3786637485027313, -0.023431668058037758, 0.5365895628929138, 0.11170092225074768, 0.16441485285758972, -0.600782573223114, -0.024934878572821617, -0.04144441336393356, 0.05993090942502022, 0.2575608193874359, -0.3434409499168396, -0.034094274044036865, -0.22455143928527832, 0.7600662112236023, -0.17973525822162628, -0.26231202483177185, -0.19163517653942108, -0.167215958237648, 0.08065148442983627, 0.5981245636940002, 0.4247763156890869, 0.554111897945404, -0.11916426569223404, -0.008660131134092808, 0.2403039187192917, -0.28695401549339294, 0.23731094598770142, 0.21015360951423645, -0.27111542224884033, -0.3206914961338043, 0.1944343000650406, 0.9435274600982666, 0.245550274848938, -1.0988905429840088, 0.4018402695655823, -0.396676242351532, 0.11252366006374359, 0.06829372048377991, 0.39733874797821045, -0.04472964257001877, 0.3362361788749695, 0.12349409610033035, -0.16264691948890686, 0.15294596552848816, -0.47137853503227234, 0.28694581985473633, 0.4354877471923828, -0.3150438368320465, -0.17797094583511353, 0.7059550285339355, 0.16681015491485596, -0.06155142933130264, 0.8355639576911926, -0.3120056986808777, -0.48583200573921204, 0.2852329611778259, 0.8120249509811401, 0.5290104150772095, -0.2703583836555481, 0.2550104260444641, 0.559105634689331, 0.3378516733646393, 0.03600776195526123, 0.2686101496219635, -0.14282427728176117, -0.6108061075210571, -0.4927576780319214, -0.48642829060554504, -0.32263681292533875, 0.28117766976356506, -0.6820177435874939, 0.17023329436779022, -0.8247247338294983, -0.17367660999298096, -0.4274466335773468, 0.10377653688192368, -0.33227285742759705, 0.13936156034469604, -0.024372657760977745, 0.9675837159156799, -0.46567708253860474, 0.8076355457305908, 0.6091978549957275, -0.6284348368644714, -0.9633704423904419, -0.11173389106988907, 0.0053285942412912846, -0.7338079214096069, 0.5526381731033325, 0.10104601830244064, -0.05724990367889404, -0.19817394018173218, -0.7730152606964111, -0.7582640647888184, 0.8612476587295532, 0.44735291600227356, -0.6618972420692444, 0.006137934047728777, -0.05102114751935005, 0.4486640393733978, -0.1640079915523529, 0.30230283737182617, 0.6463844776153564, 0.2578115463256836, 0.1487622708082199, -0.7001679539680481, 0.47217294573783875, -0.15567593276500702, 0.18426698446273804, 0.093535877764225, -0.3399392366409302, 0.5958455204963684, -0.5702471137046814, -0.06322775781154633, 0.2220677137374878, 0.7888631224632263, 0.6752628087997437, -0.13019631803035736, 0.42683908343315125, 0.5604798793792725, 0.912861704826355, -0.07803204655647278, 1.0457566976547241, -0.2222365140914917, 0.008844947442412376, 1.2632352113723755, -0.3232896625995636, 0.9055290222167969, 0.4188561737537384, -0.048059094697237015, 0.7586812376976013, 0.5289262533187866, -0.07374587655067444, 0.6173405647277832, 0.5937004685401917, -0.4695529639720917, -0.28850871324539185, -0.03201482445001602, -0.21809321641921997, 0.1735820472240448, 0.541594386100769, -0.36782121658325195, -0.22674532234668732, 0.08533930778503418, 0.21656599640846252, 0.2892525792121887, -0.3369981646537781, 0.893512487411499, 0.016690146178007126, -0.7062070965766907, 0.685003936290741, 0.30909350514411926, 0.8345488905906677, -0.7377244234085083, 0.09452062845230103, -0.31367602944374084, -0.0904344692826271, -0.37064239382743835, -0.6959306597709656, 0.02809077315032482, 0.17364969849586487, -0.13226662576198578, 0.03013400174677372, 0.977263867855072, -0.31691327691078186, -0.1073540598154068, 0.28051936626434326, 0.35671094059944153, -0.07508336752653122, -0.08516420423984528, -0.9100258350372314, 0.27267757058143616, 0.12947753071784973, -0.3417319655418396, 0.5177659392356873, 0.4708419740200043, -0.05483254790306091, 0.869308590888977, 0.8808767199516296, 0.34623777866363525, -0.017758339643478394, 0.23461498320102692, 1.1268996000289917, -0.5918888449668884, -0.5752540826797485, -0.8640197515487671, 0.517548143863678, -0.06860983371734619, 0.09697846323251724, 0.7573588490486145, 0.32494887709617615, 0.8433610796928406, 0.10515616834163666, 0.8587920069694519, 0.011516719125211239, 0.36012089252471924, -0.6101280450820923, 0.7305628657341003, -0.43879279494285583, 0.7703481316566467, -0.04104633256793022, -0.6135412454605103, -0.15921267867088318, 0.4820096492767334, -0.6663625836372375, 0.317889004945755, 0.30688467621803284, 1.0707859992980957, 0.1101459339261055, -0.229299858212471, 0.2797915041446686, 0.18622340261936188, 0.612327516078949, 0.5541332364082336, 0.9188224077224731, -0.1038951426744461, 0.7024150490760803, -0.036243148148059845, -0.0667114332318306, -0.34389978647232056, -0.7345542907714844, -0.8348482847213745, -0.27168941497802734, -0.15491123497486115, -0.5959117412567139, 0.25670039653778076, 0.8848991394042969, 0.6599496006965637, -0.8234544992446899, -0.12886065244674683, -0.013741159811615944, 0.32437825202941895, 0.019781405106186867, -0.29546019434928894, 0.11747202277183533, -0.8086645007133484, -0.24597829580307007, 0.761481523513794, 0.09471890330314636, -0.23674805462360382, -0.2748548686504364, -0.13427792489528656, 0.04152582213282585, 0.11683598905801773, 0.5911034345626831, 0.6489881873130798, -0.6992253065109253, -0.2633763253688812, -0.1810520589351654, -0.22632832825183868, -0.07198872417211533, 0.7455304861068726, -1.0992003679275513, 0.5265102386474609, 0.4247570037841797, 0.8587504029273987, 0.2388802468776703, 0.14125296473503113, 0.5591892600059509, -0.9537216424942017, 0.058129094541072845, 0.292178213596344, 0.4075320363044739, 0.35502564907073975, -0.44514399766921997, 0.07017810642719269, -0.0823565348982811, -0.5295941233634949, -0.7736244201660156, 0.5313080549240112, -0.7609707713127136, -0.6046417951583862, 1.141839861869812, -0.31451183557510376, -0.2725813388824463, -0.12242972105741501, -0.47703129053115845, -0.02030351012945175, -0.6381886601448059, 0.7881696820259094, 0.42208704352378845, -0.060302965342998505, -0.4090321660041809, -0.38659560680389404, 0.6437073945999146, 0.31766068935394287, -0.9463309645652771, 0.2653607726097107, 0.6764413714408875, 0.6118337512016296, -0.23660098016262054, 0.4181100130081177, -0.345712810754776, 0.33528220653533936, -0.30159035325050354, -0.2210269421339035, -0.3652898669242859, -0.20574091374874115, -0.3889232873916626, 0.3658920228481293, 0.6164581775665283, 0.23535823822021484 ]
http://arxiv.org/abs/2407.01455v1
http://arxiv.org/pdf/2407.01455v1
TimeToM: Temporal Space is the Key to Unlocking the Door of Large Language Models' Theory-of-Mind
2024-07-01T16:50:49
2024-07-01T16:50:49
Guiyang Hou, Wenqi Zhang, Yongliang Shen, Linjuan Wu, Weiming Lu
cs.CL
cs.CL
Theory of Mind (ToM)-the cognitive ability to reason about mental states of ourselves and others, is the foundation of social interaction. Although ToM comes naturally to humans, it poses a significant challenge to even the most advanced Large Language Models (LLMs). Due to the complex logical chains in ToM reasoning, especially in higher-order ToM questions, simply utilizing reasoning methods like Chain of Thought (CoT) will not improve the ToM capabilities of LLMs. We present TimeToM, which constructs a temporal space and uses it as the foundation to improve the ToM capabilities of LLMs in multiple scenarios. Specifically, within the temporal space, we construct Temporal Belief State Chain (TBSC) for each character and inspired by the cognition perspective of the social world model, we divide TBSC into self-world beliefs and social world beliefs, aligning with first-order ToM (first-order beliefs) and higher-order ToM (higher-order beliefs) questions, respectively. Moreover, we design a novel tool-belief solver that, by considering belief communication between characters in temporal space, can transform a character's higher-order beliefs into another character's first-order beliefs under belief communication period. Experimental results indicate that TimeToM can dramatically improve the reasoning performance of LLMs on ToM questions while taking a big step towards coherent and robust ToM reasoning.
[ -0.3465942144393921, -0.922764003276825, 1.130235195159912, 0.1301463544368744, -0.2846291661262512, 0.4268327057361603, -0.1809462159872055, -0.5162225365638733, 0.17684154212474823, 0.00594451604411006, -0.6863124966621399, -0.3387024700641632, -0.4351089894771576, -0.14466993510723114, 0.10636404901742935, 0.48170626163482666, -0.0954534113407135, -0.019802451133728027, 0.2653396427631378, -0.09937459230422974, -0.2073708027601242, -0.6350181698799133, -0.7786528468132019, -0.47250664234161377, 0.7058590650558472, -0.15431268513202667, 0.7654178738594055, 0.457221657037735, 0.3550138473510742, 0.247983917593956, -0.16960738599300385, 0.30797240138053894, -0.23822781443595886, 0.30330976843833923, -0.6900656819343567, -0.7262217998504639, -0.8606487512588501, -0.06543449312448502, 0.46220099925994873, 0.5338255763053894, -0.2543483078479767, -0.10577871650457382, -0.12585999071598053, 0.26048943400382996, -0.4822115898132324, 0.23763211071491241, -0.7160544395446777, 0.18725138902664185, -0.18492580950260162, -0.5699692964553833, -0.29588666558265686, -0.4173923432826996, 0.17586159706115723, -0.7870140671730042, 0.15723325312137604, 0.5419905185699463, 0.7573619484901428, 0.28802335262298584, -0.45868465304374695, 0.011788388714194298, -0.9008083343505859, 0.9167125821113586, -0.6758333444595337, 0.46403127908706665, 0.18622414767742157, 0.6459190845489502, -0.3789723217487335, -0.15558357536792755, -0.9713786244392395, 0.11703606694936752, 0.31674161553382874, -0.09307795017957687, 0.12312169373035431, 0.10766538977622986, 0.2917969524860382, 0.31717565655708313, -0.462100625038147, -0.22189000248908997, -0.038745298981666565, -0.021695945411920547, 0.36443841457366943, 0.43990015983581543, 0.23250505328178406, 0.03897103667259216, -0.13917143642902374, -0.31732651591300964, -0.5318402051925659, -0.32012853026390076, -0.28999602794647217, 0.04789188504219055, 0.08091361075639725, 0.38568615913391113, 0.005421140696853399, 0.4602764844894409, -0.0882374569773674, -0.3471621572971344, -0.04720206931233406, -0.13937869668006897, -0.24391649663448334, -0.0803331583738327, 0.3353854715824127, 0.3282656669616699, 0.2747863233089447, -0.047765351831912994, -0.04337524622678757, 0.5680448412895203, 0.21705734729766846, -0.4636853039264679, 0.15208765864372253, 0.3674851357936859, -0.31301164627075195, -0.18493209779262543, -0.17602302134037018, -0.7487895488739014, -0.5396311283111572, -0.1263073980808258, 0.300408273935318, -0.7690883874893188, -0.5026512145996094, 0.24998895823955536, -0.04045308381319046, 0.2933061420917511, 0.6668229103088379, -0.6024345755577087, 0.24391479790210724, 0.6795483827590942, 0.9032096266746521, 0.010174616239964962, -0.47654539346694946, 0.022565742954611778, 0.8594376444816589, -0.5529534816741943, 0.6504222750663757, -0.785870373249054, -0.34681686758995056, -0.24520114064216614, -0.0601409450173378, 0.037602074444293976, -0.005243275780230761, -0.003691689344123006, -0.4809073507785797, 0.4661678671836853, -0.4167296588420868, -0.6283866167068481, -0.019234711304306984, 0.35554778575897217, -0.3361942768096924, 0.5076513290405273, 0.07155348360538483, -0.350215345621109, 0.4868572950363159, -0.9895914793014526, -0.43776991963386536, 0.11915678530931473, -0.40793561935424805, 0.06455531716346741, 0.2654883861541748, 0.37505921721458435, 0.48225700855255127, -0.5148533582687378, 0.6223154664039612, -0.8140647411346436, -0.09658072143793106, 0.4596964418888092, -0.3129502236843109, 0.7048432230949402, 0.5935356020927429, -0.3765751123428345, -0.1773747205734253, -0.4406534731388092, 0.19922126829624176, 0.4775034487247467, -0.21151773631572723, -0.6452802419662476, 0.3615768849849701, -0.3755704164505005, 0.3153812289237976, 0.26953208446502686, -0.6969272494316101, 0.4618905186653137, -0.3801678717136383, 0.7400082945823669, 0.8427285552024841, 0.2702398896217346, 0.4138752520084381, -0.4578779935836792, 0.3534342050552368, 0.14296801388263702, 0.30466797947883606, -0.00009410710481461138, -0.3630167841911316, -0.7712208032608032, 0.12249372154474258, -0.25462403893470764, 0.3381778299808502, -0.8652995228767395, 0.49430930614471436, -0.2953644096851349, -0.5064122080802917, -0.37250325083732605, -0.2528892159461975, 0.4850831627845764, 0.0921182855963707, 0.28709542751312256, 0.08227404952049255, -0.3750491142272949, -0.5801553130149841, -0.2530701458454132, -0.564005434513092, -0.11213714629411697, 0.11046841740608215, 0.5043814182281494, -0.23599907755851746, 0.8603007197380066, -0.9124924540519714, -0.14871565997600555, -0.1916961520910263, -0.20786264538764954, 0.2195625752210617, 0.4465625286102295, 0.42033159732818604, -0.5655624866485596, 0.2183075249195099, 0.003137205494567752, -0.8313446640968323, 0.2737218737602234, -0.14392004907131195, -0.22028765082359314, 0.3294026553630829, 0.26781538128852844, -0.6926308274269104, 0.5432694554328918, 0.27630606293678284, -0.6129870414733887, 0.0878555029630661, -0.23667237162590027, 0.3541790544986725, -1.523797869682312, -0.21380850672721863, -0.06481078267097473, 0.04913676157593727, -0.26721927523612976, 0.3380148410797119, -0.09693469852209091, -0.3475213050842285, -0.021315760910511017, 0.9166387915611267, -0.31716233491897583, 0.05043572559952736, 0.09028483182191849, 0.38442984223365784, 0.06066885590553284, 0.9044280052185059, 0.13041961193084717, 0.5914823412895203, 0.12402629107236862, -0.8072367310523987, 0.08057907223701477, 0.2089082896709442, -0.3606589436531067, 0.7026390433311462, -0.5535610914230347, 0.35689646005630493, 0.020435180515050888, 0.3739459216594696, -1.0790927410125732, -0.2960030138492584, 0.0813959613442421, -0.46688205003738403, 0.1875184327363968, 0.16372716426849365, -0.6693843007087708, -0.3765105605125427, 0.18059121072292328, 0.44736406207084656, 0.48569610714912415, -0.503746747970581, 0.712049663066864, 0.5802099704742432, 0.016159409657120705, -0.2206975519657135, -0.6951003670692444, 0.015612724237143993, -0.1467972993850708, -0.6211070418357849, 0.41352447867393494, -0.25497591495513916, -0.6474321484565735, -0.042707059532403946, -0.36506152153015137, -0.19683825969696045, 0.07701113075017929, -0.014039129950106144, 0.2626034915447235, -0.10090959072113037, 0.47141778469085693, 0.3815682530403137, -0.0877327173948288, -0.0007239158730953932, -0.7560164928436279, 0.7133562564849854, -0.2699417471885681, -0.41715991497039795, -0.11112760007381439, 0.24773892760276794, 0.8314959406852722, -0.047130655497312546, 0.7107996344566345, 0.07216379046440125, -0.6338987946510315, -0.409527450799942, -0.735181450843811, -0.04955214634537697, -0.4668487012386322, 0.2683488130569458, -0.5668647289276123, -0.9945334196090698, 0.2916661500930786, -0.0643981546163559, 0.29257458448410034, 0.08399663865566254, 0.48334962129592896, -0.2916519343852997, 0.9490220546722412, 0.5313937664031982, -0.12901194393634796, 0.42022624611854553, -0.02819773554801941, 0.3808201551437378, -0.7053641080856323, -0.27140432596206665, -0.1782955676317215, -0.36543670296669006, -0.1934082955121994, -0.7086255550384521, 0.5557427406311035, -0.15845057368278503, -0.2903710603713989, 0.429130882024765, -0.38410845398902893, 0.33932504057884216, 0.18300363421440125, 0.16644108295440674, 0.2817329168319702, -0.021134700626134872, -0.4842706620693207, -0.010037768632173538, -0.6037530899047852, -0.5378789305686951, 0.7471784353256226, 0.4682450592517853, 0.80150306224823, 0.43813207745552063, 0.5035699009895325, 0.20985491573810577, -0.14788417518138885, -0.599967360496521, 0.8920236825942993, 0.0954211875796318, -1.0786811113357544, -0.46684789657592773, -0.2398601472377777, -0.7646257281303406, 0.3363998234272003, -0.08334285765886307, -0.8898293972015381, 0.16160136461257935, 0.18182934820652008, -0.4891357421875, 0.5936200618743896, -0.5655198097229004, 0.39540717005729675, -0.32671356201171875, -0.27913394570350647, -0.7684568762779236, -0.5752257108688354, 0.07961573451757431, 0.07531344145536423, 0.04944451153278351, -0.13858744502067566, -0.027128737419843674, 0.699188768863678, -0.49581682682037354, 0.7666142582893372, -0.20387910306453705, -0.45048367977142334, 0.1939316689968109, 0.6095322370529175, 0.31410425901412964, 0.14002157747745514, 0.1718776524066925, 0.13135561347007751, 0.37111392617225647, -0.36335545778274536, -1.0013993978500366, 0.41580986976623535, -0.7443943023681641, -0.8339546918869019, -0.4768826365470886, -0.7470870018005371, -0.556712806224823, 0.13860271871089935, -0.04104171320796013, 0.5791052579879761, -0.18396903574466705, 0.028965936973690987, 0.8454720377922058, -0.3676978349685669, 0.36648058891296387, 0.5363149046897888, -0.46766769886016846, -0.4467165172100067, 0.6152776479721069, -0.07602716237306595, 0.26376107335090637, 0.8820445537567139, 0.25571301579475403, -0.2487500160932541, -0.11240598559379578, 0.3213036060333252, 0.4135158956050873, -0.7114907503128052, 0.06785468012094498, -0.594977617263794, -0.20283809304237366, -0.35729193687438965, -0.3007729649543762, -0.3150004744529724, -0.6339505910873413, 0.26571372151374817, -0.014906576834619045, 0.15199457108974457, 0.6507489681243896, 0.204074889421463, 0.37061354517936707, -0.6427582502365112, 0.31992459297180176, 0.3539215326309204, 0.35119199752807617, 0.09465382993221283, -0.16165146231651306, 0.065045066177845, 0.04444435238838196, -0.2355816811323166, -0.7352245450019836, 0.2699447572231293, -0.3162703514099121, 0.4434170722961426, 0.47480541467666626, -0.15227864682674408, 1.1285593509674072, -0.5094826817512512, 0.5865011811256409, 0.14295800030231476, -1.10347318649292, 0.8115478157997131, -0.614871621131897, 0.423518568277359, 0.0650474950671196, 0.059330325573682785, -0.7975865006446838, -0.5780450105667114, -0.7620172500610352, -0.3884781301021576, 0.44156238436698914, 0.29664501547813416, -0.4407496154308319, -0.06481163203716278, 0.35575759410858154, 0.027266360819339752, 0.2882893979549408, -0.5344096422195435, 0.09210255742073059, -0.11524485796689987, -0.15627801418304443, -0.20814312994480133, -0.14064069092273712, -0.21533648669719696, -0.33760616183280945, 0.4683874249458313, -0.1344010829925537, 0.653617262840271, 0.3631901144981384, 0.038122933357954025, -0.3770206868648529, 0.6628242135047913, 0.5123376846313477, 1.1152141094207764, -0.2693016231060028, 0.14260199666023254, 0.24218519032001495, -0.2669455409049988, 0.28673243522644043, -0.32765188813209534, 0.1779547482728958, -0.356954425573349, 0.5287676453590393, 0.5948353409767151, 0.20663364231586456, -0.14785385131835938, 0.1573740392923355, -0.09490864723920822, -0.05536564439535141, -0.5917596220970154, 0.3027801513671875, -0.04021184518933296, 0.7212544679641724, 0.4770818054676056, 0.05294479802250862, -0.46636509895324707, -0.7429858446121216, 0.04702167212963104, 0.24364358186721802, -0.08856050670146942, -0.463149756193161, 0.814789354801178, 0.2573625445365906, -0.4643533229827881, 0.3198481500148773, -0.1345209926366806, -0.5441861748695374, 0.42636504769325256, 0.6277048587799072, 1.0039130449295044, -0.2831410765647888, 0.12614545226097107, 0.148295596241951, 0.49318578839302063, 0.06144805625081062, 0.5841180682182312, -0.10364335775375366, -1.1077208518981934, -0.4433780908584595, -0.5624186396598816, -0.33562231063842773, 0.24123911559581757, -0.48378631472587585, -0.07872238755226135, -1.0653332471847534, -0.35640856623649597, -0.25799494981765747, 0.26882204413414, -0.5428041219711304, 0.18852177262306213, 0.1489238440990448, 0.9610865116119385, -0.35976696014404297, 1.2146140336990356, 0.6124128103256226, -0.09650813043117523, -0.762305498123169, 0.36101189255714417, 0.28726062178611755, -0.9173856377601624, 0.5912522673606873, -0.08742869645357132, -0.4555397033691406, -0.15250703692436218, -0.7233957052230835, -0.9610733389854431, 1.4150700569152832, 0.18201115727424622, -0.8683238625526428, -0.4732271432876587, -0.34845882654190063, 0.6844474077224731, -0.5384523868560791, -0.22514577209949493, 0.32950660586357117, 0.31115758419036865, 0.046921923756599426, -0.7458211183547974, 0.30970636010169983, -0.3331899344921112, 0.30825453996658325, 0.46821773052215576, -0.8624457716941833, 0.7428317070007324, -0.35943305492401123, -0.4637490212917328, 0.07510059326887131, 0.7285755276679993, 0.730674684047699, 0.2664186656475067, 0.6814695000648499, 0.4479573667049408, 0.9098977446556091, -0.1813385784626007, 1.0130292177200317, -0.3004511594772339, 0.2640342712402344, 1.04208505153656, -0.5120874047279358, 0.5164808034896851, 0.5745770931243896, -0.3176732063293457, 0.550177812576294, 0.46906524896621704, 0.15905329585075378, 0.39543581008911133, -0.10268627107143402, 0.0340312123298645, -0.5641161203384399, 0.04335248842835426, -0.40070363879203796, 0.17288579046726227, 0.7805906534194946, 0.15245498716831207, 0.03963268920779228, -0.16106703877449036, 0.2459658980369568, -0.033425189554691315, -0.08473477512598038, 0.35790494084358215, 0.22776687145233154, -0.6155237555503845, 0.2824581563472748, -0.1725207269191742, 0.3257438540458679, -0.8407723307609558, -0.10417052358388901, -0.12116812914609909, 0.5629551410675049, 0.2831301987171173, -0.8223921060562134, 0.037800196558237076, -0.26165851950645447, 0.059242408722639084, -0.1782742589712143, 0.5519536733627319, -0.34443655610084534, -0.29681596159935, 0.4930446147918701, 0.5341395139694214, 0.003576330142095685, 0.2849198281764984, -0.6349611282348633, -0.009753190912306309, -0.19545307755470276, -0.17599910497665405, -0.003004138357937336, 0.7743856310844421, -0.01243828609585762, 1.1101523637771606, 0.3643703758716583, 0.377734512090683, -0.27785202860832214, -0.024492910131812096, 0.7541555762290955, -1.1949471235275269, -0.7604178786277771, -0.954581081867218, 0.006898228079080582, -0.2322423905134201, -0.3649446368217468, 0.5769007802009583, -0.048622556030750275, 0.8681921362876892, 0.08229836821556091, 0.8085796236991882, -0.3471117615699768, 0.5250144600868225, -0.8002937436103821, 0.7078660130500793, -0.813230574131012, 0.29107892513275146, -0.6534594893455505, -0.9347971677780151, -0.1191231831908226, 0.7059223651885986, -0.3833777606487274, 0.07363881170749664, 1.3511158227920532, 0.5399394035339355, 0.17615805566310883, 0.1815168708562851, 0.49757882952690125, 0.48236843943595886, 0.6445584893226624, 1.1542198657989502, 1.0245009660720825, -0.12033595889806747, 0.4290989935398102, -0.09650985151529312, -0.22550234198570251, 0.16082075238227844, -0.6856390833854675, -1.3173352479934692, -0.8850044012069702, -0.04291990399360657, -0.4059368968009949, 0.11916793137788773, 1.3016124963760376, 0.581032395362854, -0.5637098550796509, -0.416094034910202, 0.07351072132587433, 0.11351937800645828, -0.2020571529865265, -0.24972125887870789, 0.00807681493461132, -0.16779829561710358, -0.5267166495323181, 0.46542033553123474, 0.6538647413253784, 0.1887146532535553, -0.40839883685112, -0.08283108472824097, -0.29427728056907654, 0.22445553541183472, 0.7244361042976379, 0.014819331467151642, -1.0678759813308716, -0.6802034974098206, 0.06467120349407196, 0.1040683165192604, -0.05102495849132538, 1.193899393081665, -0.5422232747077942, 0.32900115847587585, 0.27184638381004333, 0.45171570777893066, 0.3850157856941223, -0.33451399207115173, 0.9723286628723145, -0.5746840834617615, 0.1953926682472229, 0.16926835477352142, 0.6280762553215027, -0.03892753645777702, -0.44447264075279236, 0.7496431469917297, 0.4740864038467407, -0.36113137006759644, -0.6918588280677795, 0.6775861382484436, -0.8897910714149475, -0.8134974837303162, 0.999670147895813, 0.12299435585737228, -0.5116356611251831, -0.1496836394071579, -0.046136658638715744, 0.4243113398551941, -0.564728319644928, 1.0093456506729126, 0.9473584294319153, -0.037624865770339966, -0.00017459946684539318, -0.15434864163398743, 0.3012533485889435, 0.47223392128944397, -0.9109886288642883, 0.09621960669755936, 0.38141191005706787, 0.192085400223732, 0.5726446509361267, 0.7658801674842834, -0.331530898809433, -0.015695111826062202, -0.05338228493928909, -0.21916982531547546, -0.020116224884986877, -0.6847299933433533, -0.10145310312509537, 0.15568336844444275, -0.18205121159553528, 0.04215603321790695 ]
http://arxiv.org/abs/2407.01437v1
http://arxiv.org/pdf/2407.01437v1
Needle in the Haystack for Memory Based Large Language Models
2024-07-01T16:32:16
2024-07-01T16:32:16
Subhajit Chaudhury, Soham Dan, Payel Das, Georgios Kollias, Elliot Nelson
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we demonstrate the benefits of using memory augmented Large Language Model (LLM) architecture in improving the recall abilities of facts from a potentially long context. As a case study we test LARIMAR, a recently proposed LLM architecture which augments a LLM decoder with an external associative memory, on several long-context recall tasks, including passkey and needle-in-the-haystack tests. We demonstrate that the external memory can be adapted at test time to handle contexts much longer than those seen during training, while keeping readouts from the memory recognizable to the trained decoder and without increasing GPU memory footprint. Compared to alternative architectures for long-context recall tasks with models of a comparable parameter count, LARIMAR is able to maintain strong performance without any task-specific training.
[ -0.03297700732946396, -0.7350555658340454, 0.7707379460334778, -0.18350620567798615, -0.2044103443622589, -0.11097704619169235, -0.3390059769153595, -0.787250816822052, 0.2644641399383545, 0.4374839961528778, 0.12770991027355194, -0.14392291009426117, -0.37781912088394165, -0.10167902708053589, -0.6406108140945435, 0.7670639753341675, -0.30246275663375854, -0.09946585446596146, -0.2058412879705429, -0.3224012553691864, -0.5628650188446045, -0.9398916959762573, -0.8385264277458191, -0.18139417469501495, 0.522045910358429, 0.06840882450342178, 0.2276887148618698, 0.6604803800582886, 0.33203330636024475, 0.28547340631484985, -0.3433045446872711, 0.2999182343482971, -0.4776035249233246, 0.024792272597551346, -0.22425539791584015, -0.5051748752593994, -0.4858608841896057, -0.38869184255599976, 0.882451057434082, 0.47812676429748535, -0.37046942114830017, 0.017985118553042412, -0.08239332586526871, 0.5670440196990967, -0.741729736328125, 0.13253635168075562, -0.7772608399391174, -0.2651761472225189, -0.12312531471252441, -0.2211950719356537, -0.5661486387252808, -0.013754365034401417, -0.029274053871631622, -0.23733903467655182, -0.009348399937152863, 0.13071687519550323, 0.4684259295463562, 0.14278748631477356, -0.3766011595726013, -0.47002682089805603, -0.6929500699043274, 0.6571894288063049, -0.6981183886528015, 0.44519901275634766, 0.47560152411460876, 0.25015443563461304, -0.186356782913208, -0.5173322558403015, -0.46265116333961487, -0.19968104362487793, -0.11729644984006882, -0.09556378424167633, 0.11314209550619125, -0.04064467176795006, 0.2687786817550659, 0.41232940554618835, -0.16111259162425995, -0.016223320737481117, -0.3992752730846405, -0.16396403312683105, 0.27262428402900696, 0.28791534900665283, 0.1823589950799942, 0.12145601212978363, -0.34246817231178284, 0.16698653995990753, -0.9384351372718811, 0.17705942690372467, -0.108368419110775, 0.3667692542076111, 0.05233345553278923, 0.5857924818992615, -0.04887695610523224, 0.7999148368835449, 0.07153471559286118, -0.1442870944738388, 0.18242698907852173, -0.2835935950279236, -0.18496939539909363, 0.4650123417377472, 0.19289083778858185, -0.07730672508478165, -0.001887079793959856, -0.2259022444486618, -0.444892555475235, -0.03789948672056198, 0.25857728719711304, -0.9141095280647278, -0.036215268075466156, 0.12188404053449631, -0.31436800956726074, 0.4203746020793915, -0.17468659579753876, -0.3846815228462219, -0.41838765144348145, -0.06412745267152786, 0.6327415704727173, -0.585154116153717, 0.08476173132658005, 0.35294395685195923, 0.004068868700414896, 0.3119233548641205, 0.47422873973846436, -0.8417233228683472, 0.3419840931892395, 0.8749099373817444, 0.9850142002105713, -0.311281681060791, -0.25660577416419983, -0.9358863234519958, 0.46617797017097473, -0.40241149067878723, 0.9202220439910889, -0.6211042404174805, -0.25806528329849243, 0.13243412971496582, 0.16464342176914215, -0.03395738825201988, -0.7326927781105042, 0.26501917839050293, -0.8815094232559204, 0.03152129799127579, -0.37457525730133057, -0.7454146146774292, -0.4223290979862213, 0.2794918715953827, -0.8636215925216675, 1.0115165710449219, 0.12957511842250824, -0.5837680697441101, 0.21450161933898926, -0.5465611219406128, -0.6014851927757263, -0.10096382349729538, -0.13505861163139343, -0.18826597929000854, 0.3337121903896332, 0.1690659075975418, 0.4835640788078308, -0.13764245808124542, 0.06487814337015152, -0.15581218898296356, -1.0375877618789673, 0.2777560353279114, -0.28771910071372986, 0.49671295285224915, -0.16518504917621613, -0.1474500298500061, 0.046090658754110336, -0.7577617764472961, -0.3483095169067383, 0.03198845311999321, -0.9398788809776306, -0.659138023853302, 0.03840611129999161, -0.14156749844551086, -0.02674475871026516, 0.47601890563964844, -0.4891092777252197, 0.17360855638980865, -0.42235007882118225, 0.18333564698696136, 0.8433035612106323, -0.09866710007190704, 0.334602415561676, -0.37734225392341614, 0.13858230412006378, 0.17664095759391785, -0.42736315727233887, -0.5594265460968018, -0.027660584077239037, -1.0788580179214478, -0.5464519262313843, 0.07160639762878418, 0.5451592803001404, -0.5987758040428162, 0.1814173310995102, -0.20921732485294342, 0.01699526235461235, -0.32754382491111755, 0.254874587059021, 0.23661810159683228, 0.46694663166999817, 0.2115873396396637, -0.23772890865802765, -0.6909005045890808, -0.7037867307662964, -0.049120496958494186, -0.19598858058452606, 0.013298442587256432, 0.4601835608482361, 0.4644835293292999, -0.25020477175712585, 0.539595901966095, -0.359139621257782, -0.33548858761787415, -0.21443495154380798, -0.30537524819374084, 0.5709040760993958, 0.038504794239997864, 0.2965783178806305, -0.47789064049720764, -0.2239563912153244, 0.0052408636547625065, -0.617292582988739, 0.32632365822792053, -0.17961673438549042, 0.09910213202238083, 0.683469831943512, 0.70948725938797, -0.9118223190307617, 0.22523199021816254, 0.42266127467155457, -0.5552905797958374, 0.2962569296360016, -0.520502507686615, 0.23819926381111145, -0.9620123505592346, 0.27259913086891174, -0.44686388969421387, -0.2581801414489746, -0.5609666109085083, 0.1185629665851593, 0.33964985609054565, 0.23950818181037903, -0.6969581246376038, 0.9490043520927429, -0.5533994436264038, -0.22877420485019684, -0.451433390378952, -0.11313088238239288, -0.09677497297525406, 0.34766143560409546, 0.22565220296382904, 1.354935884475708, 0.41915538907051086, -0.7765412330627441, 0.3218275308609009, 0.1466628611087799, -0.7429473400115967, 0.4274689853191376, -0.4011543095111847, 0.2772981822490692, -0.26745012402534485, 0.33394938707351685, -0.8001996874809265, -0.19296269118785858, -0.12143057584762573, -0.08025702834129333, 0.4213787019252777, 0.1579626053571701, -0.5013012886047363, -0.13596412539482117, -0.22614507377147675, 0.5923638939857483, 0.6226620078086853, -1.0824517011642456, 0.7564952373504639, 0.3384954631328583, 0.018750658258795738, -0.44296368956565857, -0.5479291081428528, 0.12982840836048126, -0.5428035855293274, -0.2537314295768738, 0.1924811750650406, -0.1609361320734024, -0.3016960620880127, -0.26388418674468994, 0.1196630522608757, -0.13648244738578796, 0.010784180834889412, 0.22277982532978058, 0.2729854881763458, -0.4326680898666382, 0.5945551991462708, -0.5161788463592529, 0.09357337653636932, -0.08109454065561295, 0.10629049688577652, 0.6549562215805054, -0.3555585443973541, -0.2318415343761444, -0.09653697162866592, 0.4129340648651123, 0.4503609836101532, -0.07413147389888763, 0.9908056259155273, 0.20414546132087708, -0.326292484998703, -0.12811122834682465, -0.7705692648887634, -0.028855063021183014, -0.4858727753162384, 0.7504916191101074, -0.40447792410850525, -1.0667554140090942, 0.7563232183456421, 0.005032205022871494, -0.1301717758178711, 0.1524326503276825, 0.6814589500427246, -0.019173303619027138, 0.6273818016052246, 0.4279593527317047, -0.398693323135376, 0.5177930593490601, 0.04454875737428665, 0.08420321345329285, -1.207869291305542, 0.02590378001332283, -0.023376889526844025, -0.1380394548177719, -0.006744162179529667, -0.7450621724128723, 0.354024201631546, 0.15673202276229858, -0.4327622354030609, 0.13851423561573029, -0.14906354248523712, 0.5566468834877014, 0.46031084656715393, 0.1551956683397293, 0.3873230516910553, -0.09037662297487259, 0.02617688477039337, 0.2835313677787781, -0.6885982155799866, -0.1848451793193817, 1.0050792694091797, 0.4402633011341095, 0.8018227815628052, 0.10468345135450363, 0.5644087791442871, -0.0021605927031487226, 0.25792643427848816, -0.9414006471633911, 0.744515061378479, -0.24342556297779083, -0.5136573314666748, -0.19250868260860443, -0.10309401899576187, -0.8045204877853394, 0.24222825467586517, 0.03193369507789612, -0.713417112827301, -0.041305817663669586, 0.25393855571746826, -0.5503247976303101, 0.5262661576271057, -0.4749409854412079, 0.3297235369682312, -0.4422626197338104, -0.5078498721122742, -0.3105872869491577, 0.00563610065728426, 0.5335230827331543, -0.3081842362880707, 0.07540822774171829, 0.16118496656417847, -0.3393939137458801, 0.6838555335998535, -0.14982935786247253, 0.871222972869873, -0.05908166244626045, -0.2383510172367096, 0.4225192964076996, 0.07032840698957443, 0.9339927434921265, -0.18762367963790894, -0.38759300112724304, 0.16383925080299377, 0.04896752908825874, -0.17508678138256073, -0.43884027004241943, 0.8170304298400879, -0.45008036494255066, -0.7978894114494324, -0.4773150682449341, -0.8702669143676758, -0.2669923007488251, -0.06197360157966614, -0.36277011036872864, 0.43547430634498596, -0.13302618265151978, 0.3843793272972107, 0.759236752986908, -0.36930719017982483, 0.557744026184082, 0.49468109011650085, -0.15160250663757324, -0.234251007437706, 0.6700296401977539, -0.06645338982343674, 0.20636241137981415, 0.4584415555000305, 0.16196416318416595, -0.17356161773204803, -0.7415714859962463, -0.22884121537208557, 0.20859988033771515, -0.9034281373023987, -0.24173620343208313, -0.619530200958252, -0.40946629643440247, -0.0208396315574646, -0.07374338805675507, -0.3835389316082001, -0.15663132071495056, -0.32424500584602356, 0.01994924061000347, 0.84124755859375, 0.632209300994873, 0.06758230924606323, 0.4079205393791199, -0.7280958890914917, 0.3512040972709656, 0.2861206531524658, 0.5541771054267883, 0.21771502494812012, -0.6957959532737732, -0.5433657169342041, -0.15393713116645813, 0.35273051261901855, -0.2942447066307068, 0.2594035565853119, 0.21173596382141113, 0.3782726228237152, 0.2740331292152405, -0.27153122425079346, 0.9861059188842773, -0.9074320197105408, 0.5860987901687622, -0.019037626683712006, -0.6552493572235107, 0.19078214466571808, -0.357845664024353, 0.6641364693641663, 0.43229302763938904, 0.004809712991118431, -0.47622358798980713, -0.13906334340572357, -0.05124477669596672, -0.7863284349441528, 0.4915573000907898, -0.4604799151420593, 0.3028697371482849, -0.2990618944168091, 0.6174864768981934, 0.10717392712831497, -0.06948567181825638, -0.5135450959205627, 0.23312905430793762, 0.20775346457958221, -0.22688087821006775, -0.32063809037208557, -0.6545226573944092, -0.03481854870915413, -0.30704161524772644, 0.5202888250350952, -0.06334991008043289, 0.33475345373153687, 0.02287204936146736, -0.21178829669952393, 0.1261974424123764, 0.3756796419620514, 0.7099452614784241, 0.7489415407180786, -0.4239586889743805, 0.4134020507335663, 0.6387544870376587, -0.48815205693244934, -0.009590311907231808, -0.14810428023338318, -0.06050536781549454, -0.20053425431251526, 0.48043105006217957, 0.7855454683303833, 0.5356670618057251, -1.089375615119934, 0.33802369236946106, 0.11226735264062881, 0.07719039171934128, -0.5496023893356323, 0.2754118740558624, 0.47036129236221313, 0.5330318808555603, 0.3763747811317444, -0.44422006607055664, 0.09530531615018845, -0.8035300970077515, 0.3482908308506012, 0.7730029225349426, -0.2934608459472656, -0.176099494099617, 0.27275019884109497, -0.04893835633993149, -0.26254481077194214, 0.5027219653129578, 0.0883275642991066, -0.4336857199668884, 0.421081006526947, 0.9640398621559143, 0.3683827221393585, -0.2593134939670563, -0.3655654788017273, 0.3580181896686554, 0.08676494657993317, -0.4401756227016449, 0.22229664027690887, -0.06504594534635544, -0.5865498185157776, -0.5154043436050415, -0.7690865993499756, -0.08082420378923416, 0.3318157196044922, -0.31231454014778137, 0.03771631419658661, -0.4282653033733368, 0.1204732358455658, -0.5253312587738037, -0.006332069169729948, -0.5368325710296631, 0.07545623183250427, 0.004651954863220453, 1.0313748121261597, -0.3755688965320587, 1.2162643671035767, 0.3359610438346863, 0.045852188020944595, -0.46224111318588257, -0.209453746676445, -0.24724222719669342, -1.1156589984893799, 0.8626260161399841, 0.27219146490097046, -0.29564031958580017, -0.34580376744270325, -0.09984613955020905, -1.204842209815979, 1.1400740146636963, 0.23178909718990326, -0.6874576807022095, -0.11784360557794571, -0.13900651037693024, 0.5085933804512024, -0.47125473618507385, 0.05369040369987488, 0.585630476474762, 0.16264823079109192, 0.4216274321079254, -0.8896449208259583, 0.23634281754493713, -0.035209767520427704, -0.08164448291063309, 0.3868781328201294, -0.5676459074020386, 0.9958029389381409, -0.3689901530742645, -0.3062327802181244, 0.39568713307380676, 0.7762060761451721, 0.5332074761390686, 0.10469003766775131, 0.4305979013442993, 0.4658506512641907, 0.6986077427864075, 0.40339910984039307, 1.207027792930603, -0.15407459437847137, -0.09318600594997406, 1.5365601778030396, -0.45412829518318176, 1.5269094705581665, 0.7799387574195862, -0.03418269380927086, 0.45689892768859863, 0.38609975576400757, 0.22791677713394165, 0.5909398198127747, 0.06683851778507233, -0.45313939452171326, -0.36425215005874634, -0.12106728553771973, -0.33054113388061523, 0.6880801916122437, 0.42745447158813477, -0.46285146474838257, -0.13317832350730896, -0.05849020183086395, -0.11272156983613968, 0.005971280392259359, -0.5573320984840393, 0.7385224103927612, 0.22086432576179504, -0.5258051753044128, 0.739576518535614, -0.1383858174085617, 0.8696438074111938, -0.5842253565788269, -0.2668040692806244, -0.060181159526109695, 0.7719799876213074, 0.18519285321235657, -0.5969672799110413, 0.41534528136253357, -0.29588067531585693, -0.18464137613773346, 0.009492850862443447, 0.7364242672920227, -0.6367886066436768, -0.6836403608322144, 0.4232006072998047, 0.21230952441692352, 0.06444470584392548, 0.02076319418847561, -0.21933355927467346, 0.2927650213241577, -0.3652660548686981, -0.33388447761535645, 0.4578779935836792, 0.1489858776330948, -0.12556929886341095, 0.6110475659370422, 0.5363528728485107, 0.28020960092544556, -0.06906217336654663, -0.18603336811065674, 0.7284637689590454, -1.0020835399627686, -0.42426496744155884, -1.0781238079071045, 0.1461922973394394, 0.15703029930591583, 0.1840549260377884, 0.7759257555007935, 0.7848934531211853, 0.5776746869087219, -0.05927435681223869, 0.44426536560058594, 0.32523033022880554, 0.7985162138938904, -0.8548703789710999, 0.6679048538208008, -0.47585251927375793, 0.3264979124069214, 0.22678546607494354, -0.6750625967979431, -0.2170172929763794, 0.5871809124946594, -0.24136096239089966, 0.07405092567205429, 0.7420282959938049, 0.7158641815185547, -0.23825986683368683, -0.34025147557258606, 0.41230645775794983, 0.4640271067619324, 0.17636117339134216, 1.154451608657837, 0.9007700085639954, -0.3938118815422058, 0.2627292573451996, 0.22762909531593323, -0.01418492291122675, -0.3464123606681824, -0.8508400917053223, -1.2943663597106934, -0.5451377630233765, 0.1374787539243698, -0.3418131470680237, 0.2065431922674179, 0.7027683854103088, 0.5022246837615967, -0.7390726208686829, -0.4820297658443451, 0.2718522846698761, 0.012399764731526375, 0.049341846257448196, -0.15670771896839142, 0.7138811349868774, -0.11862300336360931, -0.42106160521507263, 0.5560132265090942, 0.5339980721473694, 0.0018767529400065541, -0.19601775705814362, -0.16956213116645813, -0.44265368580818176, 0.28193190693855286, 0.9218555688858032, 0.2954357862472534, -0.7382329106330872, -0.7627326846122742, 0.04610297828912735, 0.05380532890558243, 0.28591445088386536, 0.7123854756355286, -1.174014687538147, 0.31755346059799194, 0.36214935779571533, 0.9098498821258545, 0.5737739205360413, -0.0700325071811676, 0.49583423137664795, -0.2990177869796753, 0.42457666993141174, -0.0319509282708168, 0.5242424607276917, 0.47531214356422424, -0.5659641623497009, 0.27693653106689453, -0.33913418650627136, -0.2836645841598511, -0.80914705991745, 0.025621596723794937, -0.8570439219474792, -0.46221891045570374, 1.2978441715240479, 0.0277099609375, -0.6049681901931763, -0.08990617841482162, -0.20611639320850372, -0.016277890652418137, -0.2403605878353119, 0.9562274813652039, 0.7257752418518066, -0.18418817222118378, -0.2775808572769165, -0.6419881582260132, 0.4749833047389984, 0.28171810507774353, -0.9706857204437256, 0.27028658986091614, 0.5647653341293335, 0.342019259929657, 0.06888850778341293, 0.7897157669067383, 0.03522396460175514, 0.3644665479660034, -0.14980120956897736, -0.1849144846200943, -0.16099010407924652, -0.3864087462425232, -0.43845871090888977, 0.122672900557518, 0.08539927005767822, -0.10628215968608856 ]
http://arxiv.org/abs/2407.01424v1
http://arxiv.org/pdf/2407.01424v1
A Global-Local Attention Mechanism for Relation Classification
2024-07-01T16:14:25
2024-07-01T16:14:25
Yiping Sun
cs.CL
cs.CL, cs.IR
Relation classification, a crucial component of relation extraction, involves identifying connections between two entities. Previous studies have predominantly focused on integrating the attention mechanism into relation classification at a global scale, overlooking the importance of the local context. To address this gap, this paper introduces a novel global-local attention mechanism for relation classification, which enhances global attention with a localized focus. Additionally, we propose innovative hard and soft localization mechanisms to identify potential keywords for local attention. By incorporating both hard and soft localization strategies, our approach offers a more nuanced and comprehensive understanding of the contextual cues that contribute to effective relation classification. Our experimental results on the SemEval-2010 Task 8 dataset highlight the superior performance of our method compared to previous attention-based approaches in relation classification.
[ -0.42467138171195984, -0.6327869296073914, 0.5221914649009705, -0.06454114615917206, -0.2666911482810974, -0.3768158555030823, -0.33943191170692444, -0.5918784737586975, 0.08903780579566956, 0.44127488136291504, -0.6538873910903931, -0.21951937675476074, -0.14152057468891144, 0.07508311420679092, 0.23560240864753723, 1.3374727964401245, -0.15514063835144043, -0.24109207093715668, -0.4337298572063446, -0.32934466004371643, -0.2614600360393524, -0.8714258074760437, -0.6449880599975586, -0.2475961595773697, 1.0291494131088257, 0.26009494066238403, 0.6831120848655701, 0.536239743232727, 0.8496482968330383, 0.25052955746650696, -0.2568393647670746, 0.21445444226264954, -0.3940337896347046, 0.2655389606952667, -0.4379003345966339, -0.6389440298080444, -0.6506316065788269, -0.0685846209526062, 0.4386448562145233, 0.8141228556632996, 0.07714468240737915, 0.37656593322753906, 0.06797902286052704, 0.4999445080757141, -0.902645468711853, 0.4341770112514496, -0.6088244915008545, 0.04689338058233261, -0.39659348130226135, -0.1650627851486206, -0.16078588366508484, -0.03204750269651413, 0.2615683674812317, -0.31244322657585144, 0.8319814205169678, -0.3561840057373047, 1.0157744884490967, 0.034627869725227356, -0.8855859637260437, 0.05362097546458244, -0.8381471633911133, 0.3985442519187927, -0.02472754567861557, 0.4265434145927429, 0.11379799246788025, 0.29058656096458435, 0.0729086846113205, -0.5205497145652771, -0.09809292107820511, 0.12326692044734955, -0.2390839159488678, 0.10231099277734756, 0.25778916478157043, 0.06591297686100006, 0.24885335564613342, 0.6620733737945557, -0.08779924362897873, -0.4568977653980255, -0.35015690326690674, -0.10866884142160416, 0.2995835840702057, -0.0662078857421875, 0.3259584903717041, -0.21081489324569702, -0.46825066208839417, 0.5837938189506531, -0.7952473759651184, 0.1518014818429947, -0.2336217612028122, 0.7590498924255371, -0.286105215549469, 0.07125861942768097, -0.255201131105423, 0.43621817231178284, 0.11516319215297699, -0.13297343254089355, 0.28684911131858826, -0.3632315695285797, -0.12427017092704773, 0.31340599060058594, 0.6690763235092163, 0.20768983662128448, 0.3199250400066376, -0.555977463722229, 0.12378162145614624, 0.374199241399765, 0.0428265780210495, -0.5137014389038086, 0.15432626008987427, -0.0401405431330204, -0.2932824194431305, -0.467516154050827, 0.07120651751756668, -0.4434312880039215, -0.08883433789014816, -0.33372119069099426, 0.1542103886604309, 0.13046786189079285, -0.6008630394935608, -0.398960143327713, 0.263843297958374, 0.3833109438419342, 0.16668947041034698, -1.01813542842865, 0.4389130175113678, 0.8022597432136536, 0.8847694993019104, -0.14569930732250214, 0.007433540187776089, -0.8579920530319214, 0.5055903196334839, -0.05499465763568878, 1.044571876525879, -0.4498165547847748, 0.1119038313627243, 0.04909104108810425, 0.23054328560829163, -0.029622051864862442, -0.4767185151576996, 0.5626093745231628, -0.7119907736778259, 0.28418466448783875, -0.3136332929134369, -0.04932017996907234, -0.3110195994377136, 0.21221064031124115, -0.8202998638153076, 0.8305486440658569, 0.2561040222644806, -1.0177844762802124, 0.353971004486084, -0.5073202252388, -0.7610975503921509, 0.10078583657741547, -0.2150947004556656, -0.42494791746139526, 0.1172628253698349, 0.460766077041626, 0.751221239566803, -0.40198376774787903, 0.22521276772022247, -0.5887529253959656, -0.2104281634092331, 0.14563092589378357, -0.12539809942245483, 0.5398430228233337, 0.17371761798858643, -0.32401877641677856, 0.08481564372777939, -0.5439358949661255, -0.4817647933959961, 0.1300319880247116, -0.019513756036758423, -0.7150368094444275, -0.23236645758152008, -0.30445531010627747, 0.3759245276451111, 0.2508537173271179, -0.22419914603233337, 0.39365026354789734, -1.0305092334747314, 0.4209977686405182, 0.25543859601020813, 0.5205813050270081, 1.09859299659729, 0.22381794452667236, 0.44043371081352234, 0.2007211595773697, 0.14014509320259094, -0.27494117617607117, -0.28938838839530945, -0.6500438451766968, -0.030852023512125015, 0.5518820881843567, 0.4951229691505432, -0.336050808429718, 0.11865013092756271, -0.5537101626396179, -0.20451557636260986, -0.24057528376579285, 0.4620870053768158, 0.41504114866256714, 0.5359851717948914, -0.12732471525669098, -0.3178274929523468, -0.22293981909751892, -0.8994826674461365, -0.15166069567203522, 0.1943952590227127, -0.12895852327346802, 0.5384376049041748, 0.15566162765026093, -0.13102398812770844, 0.8193193078041077, -0.5564808249473572, -0.8484613299369812, -0.17232848703861237, 0.07990965992212296, 0.3914334774017334, -0.0074373758397996426, 0.47956398129463196, -1.148733139038086, -0.4073140621185303, 0.3801431655883789, -0.8824719190597534, 0.20739412307739258, -0.1455201804637909, -0.4583265781402588, -0.07356803119182587, 0.6166154146194458, -0.8664577603340149, 0.3524499237537384, -0.31538140773773193, -0.11431983858346939, -0.06888606399297714, 0.05097435042262077, -0.042563021183013916, -0.8900315165519714, -0.07373318821191788, 0.1361197829246521, -0.23000264167785645, -0.6418802738189697, 0.40039756894111633, 0.2904559373855591, -0.1705792397260666, -0.6559499502182007, 0.594633162021637, -0.9175007939338684, -0.1013479083776474, 0.0869380533695221, 0.39159947633743286, -0.025071680545806885, 0.9161568284034729, 0.10782796889543533, 0.3527787923812866, 0.5573619604110718, -0.566840410232544, 0.5270605683326721, 0.22066856920719147, 0.12595975399017334, 0.6857792735099792, -0.10781921446323395, 0.42026403546333313, -0.22476188838481903, 0.025713060051202774, -0.9720090627670288, -0.32423242926597595, 0.39921629428863525, -0.4393443763256073, 0.6771700978279114, -0.5654397010803223, -0.2746192514896393, -0.24054336547851562, -0.4427556097507477, 0.4684687554836273, -0.017901238054037094, -0.5635048747062683, 0.7874473929405212, 0.48369157314300537, -0.281479150056839, -0.17456693947315216, -0.24372556805610657, -0.228239506483078, -0.4729086458683014, -0.6008426547050476, 0.40836843848228455, 0.6324207186698914, -0.2243550568819046, 0.1276361346244812, -0.5305072069168091, -0.32620078325271606, 0.06979377567768097, 0.31628113985061646, 0.09909450262784958, -0.20836535096168518, 0.3917849063873291, -0.19564972817897797, -0.4577085077762604, 0.23109419643878937, 0.12944886088371277, 0.031989745795726776, -0.03231692314147949, 0.2719810903072357, -0.14491377770900726, 0.4434625804424286, 0.7719386219978333, -0.7190836668014526, 0.4631401002407074, 0.6981762647628784, -0.55129075050354, -0.02507026121020317, -0.6181272864341736, -0.3180900812149048, -0.4949454665184021, 0.28376689553260803, -0.5878269076347351, -0.7044273614883423, 0.5713205933570862, -0.3401056230068207, -0.38084498047828674, 0.1451479196548462, 0.22027219831943512, 0.1177394688129425, 1.1137685775756836, 0.6140235066413879, -0.5246394872665405, 0.3202669024467468, -0.18562406301498413, 0.4902888536453247, -1.203338384628296, -0.24315331876277924, -0.5776565670967102, -0.26606595516204834, -0.43886375427246094, -0.2737048864364624, 0.2836175858974457, 0.4831390380859375, -0.04573017731308937, 0.17829400300979614, -0.8736134171485901, 0.5639969706535339, 0.4050690829753876, 0.09258528798818588, 0.18045516312122345, 0.22932174801826477, 0.006346056237816811, -0.47914615273475647, -0.550520122051239, -0.08968670666217804, 0.6778874397277832, 0.25984326004981995, 0.5981948375701904, 0.06713132560253143, 0.7204812169075012, -0.06790590286254883, 0.7525418996810913, -0.8626092076301575, 0.5135108828544617, 0.06380187720060349, -0.5861279368400574, -0.011837881989777088, -0.524969220161438, -1.2276266813278198, 0.28888189792633057, 0.14373049139976501, -0.9993466734886169, 0.2381874918937683, 0.033544186502695084, -0.3889630138874054, 0.004882267210632563, -0.9254069924354553, 1.0870839357376099, -0.22700504958629608, -0.5327843427658081, 0.16100862622261047, -0.6895285248756409, 0.3392618000507355, 0.12720337510108948, 0.629320502281189, -0.2817188799381256, -0.1774739772081375, 0.4928494989871979, -0.06133011728525162, 0.6307839751243591, -0.33527931571006775, -0.21131978929042816, 0.15635190904140472, 0.05637601017951965, 0.5137438178062439, 0.2219552993774414, 0.34540873765945435, 0.008873362094163895, -0.6872897744178772, 0.09156724810600281, -0.9296876788139343, 0.8414467573165894, -0.41338276863098145, -0.5538835525512695, -0.41998881101608276, -0.2763485610485077, -0.3697216212749481, 0.2010420858860016, 0.14010028541088104, 0.6600095629692078, 0.1383279263973236, 0.04971321299672127, 0.5460007190704346, 0.31535762548446655, 0.16831918060779572, 0.413455992937088, -0.17160089313983917, -0.5247086882591248, 0.9804626107215881, 0.20122139155864716, -0.10300514101982117, 0.6554628014564514, 0.0009952635737136006, -0.4527035355567932, 0.029965423047542572, 0.1579512357711792, 0.5908558964729309, -0.6742478609085083, -0.5076826214790344, -0.4770740866661072, -0.27109280228614807, -0.6315381526947021, -0.04432645067572594, -0.03055226244032383, -0.10096826404333115, -0.17999811470508575, -0.058870576322078705, 0.2422337681055069, 0.3696747422218323, 0.08258870989084244, -0.025212116539478302, -0.8012839555740356, 0.6693177819252014, 0.5357730388641357, 0.2802294194698334, 0.10336830466985703, -0.31778478622436523, -0.06053159385919571, -0.6080427169799805, -0.29065224528312683, -1.2928029298782349, 0.17009729146957397, 0.3211406469345093, 0.4403582215309143, 0.7625715136528015, 0.1910172402858734, 0.5774304866790771, -0.565567135810852, 0.21959027647972107, 0.12261568009853363, -0.6775543689727783, 1.22726309299469, -0.6007998585700989, 0.596976637840271, 0.5250548124313354, 0.6414886116981506, -0.3890641927719116, -0.4048011302947998, -0.8006000518798828, -1.2180860042572021, 0.948011577129364, 0.21442857384681702, 0.19261860847473145, -0.059403564780950546, 0.9002608060836792, -0.3899916708469391, 0.09693118929862976, -0.8749075531959534, -0.2677297294139862, 0.7076243758201599, -0.021054070442914963, 0.3173375427722931, -0.3291356563568115, -0.008647667244076729, -0.36091095209121704, 0.4510897099971771, -0.07126297801733017, 0.3517536520957947, 0.6239453554153442, -0.1456584632396698, -0.2745969593524933, 0.19707730412483215, 0.1411532759666443, 0.46282535791397095, -0.27949947118759155, 0.2242727279663086, 0.3140510320663452, -0.3047081232070923, 0.08532727509737015, 0.10789544880390167, -0.3447650671005249, 0.026044383645057678, 0.4444724917411804, 0.5535578727722168, 0.6950111389160156, 0.2576310336589813, 0.6178293824195862, -0.09035086631774902, -0.09291303902864456, 0.03609498590230942, 0.07939597219228745, 0.3283570408821106, 0.11740903556346893, 0.2510170042514801, 0.10155162960290909, 0.4711166024208069, -0.6280216574668884, 0.24623218178749084, 0.29550862312316895, -0.6936267018318176, -0.34780821204185486, 0.7057070732116699, 0.5186276435852051, -0.50356125831604, 0.283292293548584, -0.43243998289108276, -0.795716404914856, 0.4553493857383728, 0.24965760111808777, 0.7744050621986389, -0.5491816401481628, 0.030662719160318375, 0.5388176441192627, 0.0032490380108356476, 0.3151707351207733, 0.03756938874721527, -0.7387897372245789, -0.63045734167099, -0.5782925486564636, -0.4017525017261505, -0.34469082951545715, 0.4107906222343445, -0.9946241974830627, 0.3202376663684845, -0.23735786974430084, -0.23313628137111664, 0.17349687218666077, 0.03475632891058922, -0.6621020436286926, 0.1967855989933014, 0.49336275458335876, 0.42986157536506653, -0.6403632760047913, 0.649505078792572, 1.0417951345443726, -0.2033936083316803, -0.6549716591835022, 0.00226651132106781, -0.12970684468746185, -0.18131166696548462, 0.7483336925506592, 0.8674044609069824, -0.18046627938747406, -0.36144599318504333, -0.4397105276584625, -0.8466532230377197, 0.5558658838272095, 0.4920419454574585, -0.5264148712158203, -0.1530393362045288, -0.050155363976955414, 0.2152939736843109, -0.2228439450263977, 0.07628820836544037, 0.6078978776931763, 0.04148995131254196, -0.16473090648651123, -0.7305058240890503, 0.28762227296829224, -0.40177398920059204, 0.09196638315916061, 0.6470091938972473, -0.8257312774658203, 0.30485427379608154, -0.2649490237236023, -0.47758281230926514, -0.6231982111930847, 0.8911644816398621, -0.09803511202335358, 0.21331198513507843, 0.5714642405509949, 0.3530549705028534, 0.5844051241874695, -0.3090616464614868, 0.7783187031745911, -0.10101384669542313, 0.4554235637187958, 1.4078831672668457, -0.6328823566436768, 0.8461719155311584, 0.3731198310852051, -0.34074220061302185, 0.44956836104393005, 0.6344528198242188, 0.09592238813638687, 0.8989924788475037, -0.16153736412525177, -0.595600426197052, -0.37904077768325806, -0.1466829478740692, -0.3240998089313507, 0.22325773537158966, 0.32126760482788086, -0.10702620446681976, -0.3292851448059082, 0.13476131856441498, 0.0028624662663787603, 0.023244863376021385, -0.547455906867981, 0.9252970218658447, 0.2281149923801422, -0.7506755590438843, 0.251446396112442, -0.37432432174682617, 0.5469598770141602, -0.41223976016044617, -0.03421759977936745, -0.2635308504104614, 0.5515397191047668, -0.19057022035121918, -0.3264967203140259, 0.2240280956029892, -0.15568998456001282, -0.34600892663002014, 0.05909904092550278, 1.209207534790039, -0.5114315748214722, -0.256269633769989, 0.550256073474884, 0.10076244175434113, -0.1468099057674408, -0.5690618753433228, -0.5321743488311768, -0.15664158761501312, -0.1035875752568245, -0.3402678668498993, 0.33219829201698303, 1.0736240148544312, -0.09061452001333237, 0.4412641227245331, 0.5585603713989258, 0.029701149091124535, -0.3768191635608673, 0.22336389124393463, 0.6207888126373291, -0.7823453545570374, -0.7475277781486511, -0.8425740003585815, 0.32773929834365845, -0.25728318095207214, -0.38588252663612366, 0.667817234992981, 0.3313392996788025, 0.7165998220443726, 0.048178113996982574, 0.3912797272205353, 0.3179127275943756, 0.4321335554122925, -0.012942601926624775, 0.3761911392211914, -0.45916512608528137, 0.0070710196159780025, -0.2250533401966095, -1.0525141954421997, -0.6923742294311523, 0.7905664443969727, -0.6715232133865356, 0.02444528602063656, 0.8399447798728943, 0.5196247100830078, -0.24735943973064423, -0.2951987087726593, -0.01924951747059822, 0.16772329807281494, 0.025779252871870995, 0.820364236831665, 0.6465553641319275, -0.5159167051315308, 1.0721768140792847, -0.38522419333457947, -0.20771749317646027, -0.05975852906703949, -0.7022465467453003, -1.0470662117004395, -0.4599898159503937, -0.6151886582374573, -0.18570612370967865, -0.08423871546983719, 0.5663868188858032, 0.765620768070221, -0.717107355594635, 0.11927034705877304, -0.08331918716430664, 0.22758843004703522, -0.07927490770816803, -0.37999847531318665, 0.4751972556114197, -0.6667436957359314, -0.35546189546585083, -0.020371096208691597, 0.7146797180175781, -0.2184256762266159, 0.005267744418233633, 0.1730843484401703, -0.09282664954662323, -0.5335294604301453, 0.48571839928627014, 0.16565349698066711, -0.6029651165008545, 0.06454740464687347, -0.22528764605522156, -0.16456188261508942, 0.36326074600219727, 0.9249811172485352, -0.7099236249923706, 0.2506498694419861, 0.36920809745788574, 0.27594515681266785, 0.7579624652862549, -0.04169496148824692, 0.6786260604858398, -1.1611322164535522, 0.3651479184627533, 0.12252987176179886, 0.28046196699142456, 0.5405693650245667, -0.8524490594863892, 0.8803924918174744, 0.2760961949825287, -0.5965257287025452, -0.9482227563858032, 0.045279182493686676, -0.8787615299224854, 0.1701592057943344, 1.0512205362319946, -0.10976456105709076, -0.7122499942779541, -0.300564706325531, -0.4266555607318878, 0.42778241634368896, -0.2993575930595398, 0.5381706953048706, 0.46229463815689087, -0.10353533178567886, -0.24492308497428894, -0.47815564274787903, 0.5243711471557617, 0.23454517126083374, -0.8986539840698242, 0.26961323618888855, 0.12263594567775726, 0.14889512956142426, 0.6936542391777039, 0.7655913233757019, -0.13917577266693115, 0.579054594039917, -0.3567851185798645, -0.15580493211746216, 0.44757550954818726, -0.4181717336177826, -0.4070940315723419, 0.5470702648162842, -0.18596312403678894, -0.0436682291328907 ]
http://arxiv.org/abs/2407.01411v2
http://arxiv.org/pdf/2407.01411v2
HyperLoader: Integrating Hypernetwork-Based LoRA and Adapter Layers into Multi-Task Transformers for Sequence Labelling
2024-07-01T16:00:53
2024-07-02T06:21:41
Jesus-German Ortiz-Barajas, Helena Gomez-Adorno, Thamar Solorio
cs.CL
cs.CL
We present HyperLoader, a simple approach that combines different parameter-efficient fine-tuning methods in a multi-task setting. To achieve this goal, our model uses a hypernetwork to generate the weights of these modules based on the task, the transformer layer, and its position within this layer. Our method combines the benefits of multi-task learning by capturing the structure of all tasks while reducing the task interference problem by encapsulating the task-specific knowledge in the generated weights and the benefits of combining different parameter-efficient methods to outperform full-fine tuning. We provide empirical evidence that HyperLoader outperforms previous approaches in most datasets and obtains the best average performance across tasks in high-resource and low-resource scenarios.
[ -0.4653911590576172, -0.5342531204223633, 0.10761140286922455, 0.20528970658779144, -0.22921527922153473, -0.41464492678642273, -0.0935814157128334, -0.5426831841468811, 0.16210971772670746, 0.6648022532463074, -0.4513343572616577, -0.2098432183265686, -0.7422493100166321, -0.008600303903222084, -0.4933634400367737, 1.1722354888916016, 0.10950704663991928, -0.3872276246547699, -0.14755934476852417, -0.3288349211215973, -0.4605786204338074, -0.37100750207901, -0.524736762046814, -0.8302220702171326, 1.0226715803146362, 0.6420303583145142, 0.7089065909385681, 1.1295499801635742, 0.6717436909675598, 0.3809119760990143, -0.11163585633039474, 0.4915209114551544, -0.3562901020050049, 0.17788423597812653, -0.2784862816333771, -0.4274819493293762, -0.5321080684661865, -0.11211834847927094, 0.45345965027809143, 0.5370292663574219, 0.009513271041214466, 0.8136996030807495, 0.25422096252441406, 0.8119395971298218, -1.1119530200958252, 0.1769140511751175, -0.30724862217903137, 0.28440457582473755, -0.34294089674949646, -0.27187010645866394, -0.5769320130348206, 0.018231555819511414, 0.11179301887750626, -0.8577339053153992, 0.20459899306297302, 0.24198821187019348, 0.6958197355270386, 0.7704249024391174, -0.4455181062221527, 0.23120416700839996, -1.098233699798584, 0.9061837792396545, -0.4586457908153534, 0.1800699681043625, 0.2989547848701477, 0.4088493287563324, 0.19485096633434296, -0.7858213186264038, -0.4139796495437622, 0.4945496916770935, -0.1616847813129425, 0.19961045682430267, -0.2107088267803192, 0.03493081033229828, 0.4722549319267273, 0.32265371084213257, -0.3244708180427551, 0.3096338212490082, -0.31183522939682007, -0.05264490842819214, 0.3351130783557892, 0.16861070692539215, -0.09408644586801529, -0.06081117317080498, -0.5280091166496277, -0.05287545546889305, -0.39323532581329346, -0.12878116965293884, 0.2590925395488739, 0.4228368401527405, 0.1285650134086609, 0.4797230362892151, -0.23050764203071594, 1.1480785608291626, 0.3606468141078949, -0.19006897509098053, 0.4431253969669342, 0.014646529220044613, -0.5908260941505432, 0.15296080708503723, 0.6743230223655701, 0.15795764327049255, -0.20482081174850464, -0.13280698657035828, -0.1307242065668106, -0.135561004281044, 0.5077807903289795, -0.8409260511398315, 0.06300286948680878, 0.18981729447841644, -0.4373422861099243, -0.24809369444847107, -0.054383307695388794, -0.6056566834449768, -0.3997100293636322, -0.5563040375709534, 0.7806598544120789, -0.1591920107603073, 0.18159452080726624, 0.07381757348775864, -0.37080466747283936, 0.13548347353935242, 0.1773902326822281, -0.7234657406806946, 0.17225094139575958, 0.5467485189437866, 0.6563429832458496, -0.30821889638900757, -0.4742145538330078, -0.9436208009719849, 0.5542352199554443, 0.14630553126335144, 0.8199664950370789, -0.20544740557670593, -0.10563280433416367, -0.11693000793457031, 0.3253093361854553, -0.140908345580101, -0.7936092019081116, 0.5327422618865967, -0.5944722890853882, -0.10335084050893784, -0.30298861861228943, -0.4043218791484833, -0.39486536383628845, 0.18054722249507904, -1.0364351272583008, 1.1459022760391235, 0.13626861572265625, -0.6268786787986755, 0.24327966570854187, -0.736824095249176, -0.6532506346702576, 0.2670382857322693, 0.2896096408367157, -0.6706929802894592, 0.02175937406718731, 0.0023837911430746317, 0.6642870306968689, -0.616628110408783, 0.14576324820518494, 0.1586609035730362, -0.48467543721199036, 0.06773177534341812, -0.1993948519229889, 0.33502545952796936, 0.17674709856510162, -0.5675257444381714, 0.3570880889892578, -0.879520833492279, 0.11220306903123856, -0.19632892310619354, -0.7360594868659973, -0.22087745368480682, 0.003505065804347396, 0.5250300168991089, 0.35376083850860596, 0.2624329924583435, -0.5498964190483093, 0.0762140154838562, -0.06635431200265884, 0.3966268002986908, 0.4381658136844635, -0.29947036504745483, 0.08569221198558807, -0.6241060495376587, 0.25642600655555725, 0.46361371874809265, 0.26567190885543823, -0.012858251109719276, -0.5377138257026672, -0.8235310912132263, -0.13786941766738892, 0.2023923695087433, 0.6831866502761841, -0.7562904357910156, 0.5708784461021423, -0.07688569277524948, -0.700602114200592, -0.4814845323562622, 0.45280036330223083, 0.7803553938865662, 0.5650110244750977, 0.9352582097053528, -0.34154894948005676, -0.5782144069671631, -1.0242878198623657, -0.21034936606884003, 0.39938539266586304, 0.28450390696525574, 0.15516002476215363, 0.3560347557067871, -0.354909747838974, 0.6166371703147888, -0.6834805011749268, -0.5588432550430298, -0.29221203923225403, 0.33527547121047974, 0.503582239151001, 0.8795573115348816, 0.2703644931316376, -0.8105514645576477, -0.46366336941719055, 0.2963758707046509, -0.5705954432487488, 0.24847716093063354, 0.014989747665822506, -0.25524112582206726, -0.16082905232906342, 0.41348955035209656, -0.4874251186847687, 0.2937150001525879, 0.6108246445655823, -0.09493491053581238, 0.556352436542511, -0.3256067931652069, 0.028187008574604988, -1.2140122652053833, 0.24828718602657318, 0.38504913449287415, -0.19743335247039795, -0.9403544664382935, 0.054334599524736404, 0.07455186545848846, -0.14644399285316467, -0.7185683846473694, 0.22472579777240753, -0.27629488706588745, 0.015034502372145653, -0.5246759653091431, -0.33009326457977295, 0.11356789618730545, 0.666102945804596, -0.4157851040363312, 0.5895383954048157, 0.6109328269958496, -0.6794599890708923, 0.5510613918304443, 0.33082646131515503, -0.45180460810661316, 0.5541391968727112, -0.8089670538902283, 0.2733864188194275, -0.24923226237297058, 0.2323504239320755, -0.7711637020111084, -0.322359561920166, 0.14757615327835083, 0.15911252796649933, 0.1438857913017273, -0.458125501871109, -0.5035189986228943, -0.628151535987854, 0.1084531769156456, 0.7070634961128235, 0.43642887473106384, -0.5491781234741211, 0.8522871136665344, 0.22030606865882874, 0.4425506293773651, -0.8198564648628235, -0.9289935231208801, -0.3127841651439667, -0.43568116426467896, -0.2549861669540405, 0.7151435613632202, -0.019671589136123657, 0.3525552749633789, -0.08326458185911179, -0.3425459861755371, -0.3597869873046875, -0.045515645295381546, 0.6333531737327576, 0.15373215079307556, -0.47120726108551025, 0.02752012014389038, 0.11657331138849258, -0.36853882670402527, -0.22396425902843475, -0.7346251606941223, 0.35147035121917725, 0.19091850519180298, -0.47367653250694275, -0.7626033425331116, 0.385296106338501, 0.7215498089790344, -0.4328455328941345, 0.7821227312088013, 1.024524450302124, -0.34350094199180603, -0.27699214220046997, -0.5808347463607788, 0.24235033988952637, -0.5373165011405945, 0.4064117968082428, -0.3990819454193115, -0.7236141562461853, 0.29933711886405945, -0.43332162499427795, 0.15320894122123718, 0.4377276301383972, 0.49519261717796326, -0.17229799926280975, 0.8630991578102112, 0.662268340587616, -0.3238396644592285, 0.5690171122550964, -0.5040321946144104, 0.0846245065331459, -0.9659306406974792, -0.044974587857723236, -0.588616132736206, -1.0344023704528809, -0.3403341472148895, -0.5274299383163452, 0.569258987903595, -0.03158918395638466, -0.42569395899772644, 0.761232316493988, -0.736530601978302, 0.6607890129089355, 0.9305641055107117, 0.5373861789703369, 0.24817486107349396, -0.27435097098350525, 0.38045191764831543, 0.39915478229522705, -0.783534824848175, -0.1204829066991806, 0.8908448219299316, -0.2196546494960785, 0.4777052104473114, 0.0493660643696785, 0.6872729659080505, 0.388467013835907, -0.05325145274400711, -1.0158531665802002, 0.2995353937149048, -0.5326031446456909, -0.6535699963569641, -0.560835063457489, -0.1524650603532791, -1.2773600816726685, 0.304243803024292, -0.3226639926433563, -0.733380913734436, 0.41237789392471313, 0.637370228767395, -0.6588248610496521, 0.3887510597705841, -0.6317074298858643, 0.9039291739463806, 0.15188364684581757, -0.48969417810440063, -0.32267874479293823, -0.7451154589653015, 0.14778462052345276, -0.045194949954748154, 0.11476900428533554, -0.12039715051651001, 0.17968837916851044, 0.9661270976066589, -0.18101099133491516, 1.0206397771835327, -0.2691679000854492, -0.07793328911066055, 0.3923036456108093, -0.1805558055639267, 0.5357429385185242, -0.34465914964675903, -0.3133693337440491, -0.259867787361145, -0.07530543208122253, -0.6358378529548645, -0.5814163684844971, 0.7192152738571167, -0.8736198544502258, -0.5037639737129211, 0.12845994532108307, -1.1108075380325317, -0.22872495651245117, 0.4086392819881439, 0.17413286864757538, 0.8175278902053833, 0.11305751651525497, 0.2590245008468628, 0.8669925332069397, -0.0680566355586052, 0.49607378244400024, 0.22024624049663544, 0.3268815875053406, -0.21254388988018036, 1.1999741792678833, 0.10528472810983658, 0.17120946943759918, 0.700484037399292, 0.2806580066680908, 0.2238815873861313, -0.3255898654460907, -0.4402550160884857, -0.07277277857065201, -0.6754043698310852, -0.5669876933097839, -0.46964702010154724, -0.1586461365222931, 0.09988852590322495, -0.02063831128180027, -0.4761051833629608, -0.29682913422584534, -0.18184740841388702, 0.18864446878433228, 0.35367855429649353, 0.8474521040916443, 0.10427744686603546, 0.9373946785926819, -0.9767258167266846, 0.6008512377738953, 0.47761428356170654, 0.34507980942726135, 0.040666837245225906, -0.3100767731666565, -0.9271845817565918, -0.2628585994243622, -0.6843966841697693, -0.768037736415863, 0.02803323045372963, 0.28060683608055115, 0.4443284273147583, 0.42280012369155884, -0.14800888299942017, 0.7257452607154846, -0.5473755598068237, 0.46764907240867615, 0.24567778408527374, -0.9902763962745667, 0.49773597717285156, -0.15220627188682556, 0.5854266881942749, 0.32150334119796753, 0.6285732388496399, -0.2865895628929138, 0.140923872590065, -0.19867049157619476, -1.0437883138656616, 0.729582667350769, -0.06243586912751198, -0.21459950506687164, 0.2665337026119232, 0.28606611490249634, 0.11600271612405777, -0.01039885450154543, -0.30949798226356506, -0.6225268244743347, -0.12308616936206818, -0.31318631768226624, -0.2938811779022217, 0.06237795203924179, -0.3666176199913025, -0.42429956793785095, 0.5599862337112427, -0.5150859355926514, 0.3107960522174835, 0.09818920493125916, -0.41129282116889954, -0.26954764127731323, 0.2931756377220154, 0.42513298988342285, 0.5224143862724304, 0.06239032372832298, 0.22637678682804108, 0.2406739592552185, -0.45779067277908325, 0.3231150209903717, 0.2525242269039154, 0.07861769199371338, -0.2127477079629898, 0.30601075291633606, 1.070774793624878, 0.4094763994216919, -0.2389012575149536, 0.21339145302772522, 0.4828624725341797, -0.21465180814266205, 0.35213059186935425, 0.3208860754966736, 0.24451372027397156, 0.4460935890674591, 0.29828381538391113, 0.5012992024421692, 0.29335904121398926, -0.281951367855072, 0.18822483718395233, -0.013486793264746666, -0.6215309500694275, -0.31135794520378113, 0.724292516708374, 0.22013317048549652, -0.22002197802066803, 0.27310827374458313, 0.15472494065761566, -0.19576799869537354, 0.8634124994277954, 0.7923426628112793, 0.7065383195877075, -0.26441705226898193, 0.0568971112370491, 0.2490484118461609, -0.015460413880646229, -0.30702295899391174, 0.34893128275871277, -0.16692204773426056, -0.5983453989028931, -0.9008172154426575, -0.5428613424301147, -0.337289035320282, 0.0511108823120594, -1.017763614654541, 0.10869191586971283, -0.2571342885494232, -0.470523864030838, 0.5807600021362305, -0.38916245102882385, -0.9482575058937073, 0.265604168176651, 0.1848052740097046, 0.8185708522796631, -0.7946664094924927, 0.946303129196167, 1.0154807567596436, -0.12821200489997864, -0.5744748711585999, -0.15777860581874847, 0.08120473474264145, -0.6579601764678955, 0.7909418940544128, 0.1766921728849411, -0.24668875336647034, 0.37397727370262146, -0.17949213087558746, -1.0841866731643677, 1.2339459657669067, 0.10293728858232498, -0.7103152275085449, -0.1909446269273758, 0.21504022181034088, 0.2401290088891983, -0.04423747956752777, 0.1409764140844345, 0.5310645699501038, 0.7024281024932861, -0.07641191780567169, -1.0159473419189453, 0.16486385464668274, -0.14689458906650543, 0.01858828030526638, 0.4817385673522949, -0.7658450603485107, 0.5719579458236694, -0.11773310601711273, 0.10429861396551132, -0.014286949299275875, 0.7937829494476318, -0.0734030231833458, 0.1239883229136467, 0.67701655626297, 0.6705839037895203, 0.6376786828041077, -0.03464698791503906, 0.7552005648612976, -0.5296952724456787, 0.2877238988876343, 1.2131545543670654, -0.10978155583143234, 0.5642444491386414, 0.5022132992744446, -0.008175301365554333, 0.4310317635536194, 0.010763095691800117, -0.09025047719478607, 0.3116225302219391, 0.43478330969810486, 0.02810206264257431, -0.30557265877723694, -0.35855382680892944, -0.2248440682888031, 0.46773776412010193, 0.19851244986057281, -0.21128438413143158, -0.08922234177589417, 0.1995375156402588, -0.3183121681213379, -0.35495421290397644, -0.3429394066333771, 0.731542706489563, -0.1580887734889984, -0.6842091679573059, 0.640385091304779, -0.06503605097532272, 0.8351814150810242, -0.427302747964859, 0.08751526474952698, 0.11998408287763596, 0.4761863648891449, -0.524344265460968, -0.7059788107872009, 0.3312072455883026, -0.25471198558807373, -0.5245397686958313, -0.1969149261713028, 0.6353120803833008, -0.2652471661567688, -0.21561184525489807, 0.20946596562862396, 0.7402843236923218, -0.24282966554164886, -0.052234143018722534, -0.4759288728237152, -0.010846084915101528, -0.35752809047698975, -0.3342553973197937, 0.4746677875518799, 0.4323023855686188, 0.07365655899047852, 0.6825254559516907, 0.5931116938591003, -0.13233867287635803, 0.1636843979358673, 0.17118869721889496, 0.8569689393043518, -0.8667992949485779, -0.24513985216617584, -0.5732043385505676, 0.6081295609474182, 0.15585793554782867, -0.5557165741920471, 0.5107503533363342, 0.7383976578712463, 0.7003353834152222, -0.308694988489151, 0.616616427898407, -0.11774875968694687, 0.08994776010513306, -0.2192208617925644, 0.47491055727005005, -0.5601351261138916, -0.23749014735221863, -0.3405780792236328, -0.9719058275222778, -0.2609502673149109, 0.003943420480936766, 0.1875878870487213, -0.3500215411186218, 0.7123674750328064, 0.5686253309249878, -0.4861893057823181, -0.004806526470929384, 0.32486721873283386, -0.04961207136511803, -0.08969340473413467, 0.7153629064559937, 0.6258232593536377, -0.7565147280693054, 0.5008198022842407, -0.45716074109077454, -0.18191072344779968, -0.07141947001218796, -0.7082650661468506, -0.8073646426200867, -0.7749200463294983, -0.531215250492096, -0.06356275081634521, 0.17860931158065796, 0.9861520528793335, 1.2104017734527588, -0.8712360858917236, -0.544020414352417, 0.33902478218078613, -0.02128903940320015, -0.9592557549476624, -0.16878356039524078, 0.21037031710147858, -0.403628945350647, -0.8221765160560608, 0.47606968879699707, 0.09731387346982956, -0.14026983082294464, 0.058078326284885406, 0.15206444263458252, -0.16987091302871704, -0.09010476619005203, 0.8777527809143066, 0.22487038373947144, -0.4970870614051819, -0.052782099694013596, -0.29926297068595886, 0.03692898154258728, 0.176286980509758, 1.0134153366088867, -0.808803141117096, 0.06446464359760284, 0.5808151960372925, 0.8907732367515564, 0.7130129337310791, 0.11015693098306656, 0.3967263996601105, -0.7654762268066406, 0.12287437170743942, -0.18346431851387024, 0.4142426550388336, -0.03791384771466255, -0.5169517397880554, 0.30847930908203125, 0.07153832912445068, -0.653701901435852, -0.5311903953552246, 0.21018414199352264, -1.261933445930481, -0.1337442398071289, 0.8465218544006348, -0.034892406314611435, -0.31660088896751404, -0.21976955235004425, -0.011219587177038193, 0.5217393636703491, -0.1392931342124939, 0.5744257569313049, 0.23740045726299286, -0.2560079097747803, 0.20885451138019562, -0.5831083655357361, 0.34674498438835144, 0.47897037863731384, -0.9481025338172913, -0.10084719955921173, 0.17847399413585663, 0.030032308772206306, 0.4531196355819702, -0.1303768754005432, 0.3111829459667206, 0.21307478845119476, -0.543729841709137, 0.17707030475139618, -0.33052703738212585, -0.548720121383667, -0.007541283033788204, 0.3633005917072296, -0.16869927942752838, -0.4174187183380127 ]
http://arxiv.org/abs/2407.01409v1
http://arxiv.org/pdf/2407.01409v1
Dynamic Few-Shot Learning for Knowledge Graph Question Answering
2024-07-01T15:59:17
2024-07-01T15:59:17
Jacopo D'Abramo, Andrea Zugarini, Paolo Torroni
cs.CL
cs.CL, cs.AI
Large language models present opportunities for innovative Question Answering over Knowledge Graphs (KGQA). However, they are not inherently designed for query generation. To bridge this gap, solutions have been proposed that rely on fine-tuning or ad-hoc architectures, achieving good results but limited out-of-domain distribution generalization. In this study, we introduce a novel approach called Dynamic Few-Shot Learning (DFSL). DFSL integrates the efficiency of in-context learning and semantic similarity and provides a generally applicable solution for KGQA with state-of-the-art performance. We run an extensive evaluation across multiple benchmark datasets and architecture configurations.
[ -0.414493590593338, -1.137446403503418, 0.6136292815208435, -0.5309669375419617, -0.2539016306400299, 0.5016863942146301, 0.24290473759174347, -0.263651967048645, -0.1393696665763855, 0.16105636954307556, -0.995549201965332, -0.660049319267273, -0.42833632230758667, 0.07914874702692032, -0.08373656123876572, 0.5514005422592163, -0.16730265319347382, -0.30099400877952576, -0.30236899852752686, -0.34544655680656433, -0.20100632309913635, 0.05860525742173195, -0.74440598487854, -0.3095143139362335, 0.5927610397338867, 0.4551781713962555, 0.5560191869735718, 0.37426596879959106, 0.25816431641578674, 0.2685825824737549, -0.22199836373329163, 0.6303399205207825, -0.9093759655952454, 0.18640664219856262, 0.05200423300266266, -0.3761628270149231, -0.034896109253168106, -0.267545610666275, 0.9238269925117493, 0.9133357405662537, 0.11576426774263382, 0.19854311645030975, -0.0117000387981534, 0.824981153011322, -0.68785160779953, 0.36023420095443726, -0.8760808706283569, 0.13523375988006592, -0.08857142925262451, -0.08591874688863754, -0.2935720980167389, -0.45913323760032654, 0.2897793650627136, -0.875540554523468, -0.22487959265708923, 0.12914608418941498, 0.6252328753471375, 0.36081355810165405, -0.8133540749549866, -0.2608720064163208, -0.37472453713417053, 0.5679601430892944, -0.5326341986656189, 0.41751623153686523, 0.24089238047599792, 0.920756459236145, -0.48196345567703247, -0.9160070419311523, -0.7064611315727234, 0.19265073537826538, -0.04803220182657242, 0.05049067735671997, -0.17778313159942627, -0.04599794000387192, 0.23281638324260712, -0.14090926945209503, -0.5686295628547668, -0.03004440665245056, -0.2093050181865692, 0.016217060387134552, 0.5252522826194763, 0.5397666692733765, -0.17929129302501678, -0.15082602202892303, -0.3664180040359497, -0.2042074352502823, -0.6478068828582764, 0.21661129593849182, 0.30242282152175903, 0.4187702238559723, 0.1043773666024208, 0.18996858596801758, -0.7363214492797852, 1.058260440826416, 0.03706278279423714, -0.34176573157310486, 0.2162008285522461, -0.02372949942946434, -0.19657489657402039, -0.21732361614704132, 0.5500054955482483, 0.05014338344335556, 0.1700362265110016, -0.2638052999973297, 0.05733935907483101, -0.5889226198196411, -0.03427327796816826, -0.8175371289253235, -0.3140198588371277, 0.17330308258533478, -0.12565019726753235, -0.4223245680332184, -0.1637069135904312, -0.6794600486755371, -0.38766831159591675, 0.08816680312156677, 0.6724103689193726, -0.5517146587371826, -0.07807085663080215, -0.0776204913854599, -0.14477315545082092, 0.19636106491088867, 0.3313697278499603, -0.6236184239387512, 0.21188436448574066, 0.45047590136528015, 0.50552898645401, -0.21799804270267487, -0.3047230541706085, -0.6727065443992615, 0.28843554854393005, -0.3873545825481415, 0.7686052918434143, -0.5140509009361267, -0.13737817108631134, -0.04211362823843956, -0.2758771777153015, -0.15845170617103577, -0.5283506512641907, -0.21387213468551636, -1.3711724281311035, -0.08222585916519165, -0.4517136216163635, -0.7075110673904419, -0.3784911036491394, 0.616605818271637, -0.2583741843700409, 1.0685052871704102, 0.43539589643478394, -0.8982758522033691, 0.517493724822998, -0.5364679098129272, -0.29705893993377686, 0.3556435704231262, -0.2790735363960266, -0.31225189566612244, -0.34884002804756165, 0.06953107565641403, 0.3169936239719391, 0.00825642328709364, -0.02203010581433773, -0.3886035978794098, -0.4533599615097046, 0.22725532948970795, -0.2079707533121109, 0.4558117985725403, 0.29975494742393494, -0.002677317475900054, -0.13097234070301056, -0.8174607753753662, 0.31794488430023193, 0.2501632571220398, -0.42354387044906616, -0.29365357756614685, -0.15563149750232697, -0.6375478506088257, 0.2756159007549286, 0.050629086792469025, -0.519717276096344, 0.35789456963539124, -0.7139184474945068, 0.2958674430847168, 0.4014051556587219, 0.37479913234710693, 0.4381767511367798, -0.11779062449932098, 0.6828900575637817, 0.2058420479297638, -0.012749784626066685, 0.03427021950483322, -0.3218998312950134, -0.3558124005794525, -0.22846801578998566, 0.26351290941238403, 0.4447466731071472, -1.34735107421875, -0.2571358382701874, -0.2995893955230713, -0.4856953024864197, -0.21980249881744385, 0.376374214887619, 0.39180630445480347, 0.9084800481796265, 0.36479058861732483, 0.06129938364028931, -0.08551890403032303, -0.59279465675354, -0.11754083633422852, -0.2768513560295105, 0.13698366284370422, 0.7904372215270996, 0.5184332132339478, 0.09110869467258453, 1.2700610160827637, -1.169290542602539, -0.21873855590820312, -0.3438517451286316, 0.16564202308654785, 0.13021251559257507, -0.06183133274316788, 0.8150936961174011, -0.7402629256248474, -0.8072137832641602, -0.09214766323566437, -0.7498295903205872, 0.3298177421092987, 0.46707484126091003, -0.32449477910995483, -0.04154498875141144, 0.5202139019966125, -0.6027863621711731, 0.09504289925098419, 0.21874423325061798, -0.09652842581272125, 0.11619304865598679, 0.1395786702632904, 0.08811118453741074, -1.061663269996643, -0.10272137075662613, -0.4994446933269501, -0.3412930369377136, -0.502004861831665, 0.07099573314189911, -0.025228386744856834, -0.2846503257751465, -0.9487215876579285, 0.8298181891441345, -0.02161007560789585, -0.03682119399309158, -0.2658771574497223, 0.36517998576164246, 0.04810575768351555, 0.530777633190155, -0.24085338413715363, 0.48609593510627747, 0.6310663223266602, -0.6591958403587341, 0.6565449237823486, 0.592678964138031, -0.434734046459198, 0.2207091748714447, -0.37644121050834656, 0.31870153546333313, -0.5692633986473083, 0.47245490550994873, -1.3016901016235352, -0.5115163922309875, 0.13810089230537415, -0.3780529499053955, 0.356610506772995, -0.4440748393535614, -0.48218196630477905, -0.6070126295089722, -0.29494068026542664, 0.5256538391113281, 0.46438854932785034, -0.5112886428833008, 0.3691895604133606, 0.11237594485282898, 0.13523997366428375, -0.7607192993164062, -0.5479680299758911, -0.49259963631629944, -0.22593608498573303, -0.611565113067627, 0.16062474250793457, 0.08568594604730606, -0.04561792314052582, 0.12303732335567474, -0.14991813898086548, -0.35349297523498535, 0.2359626144170761, -0.15639595687389374, -0.18077488243579865, -0.35716512799263, 0.542041540145874, 0.2757609486579895, 0.017253290861845016, -0.3168140649795532, -0.493443101644516, 0.4652557373046875, 0.03664693236351013, -0.3167526423931122, -0.21405740082263947, 0.2901645004749298, 0.42288511991500854, -0.10117242485284805, 0.8148826956748962, 0.4524819552898407, -0.24481940269470215, -0.4445951282978058, -0.14248518645763397, -0.3232537508010864, -0.5382623672485352, 0.421048641204834, -0.6457147002220154, -1.0769596099853516, 0.498485267162323, -0.3549715578556061, -0.15606184303760529, 0.1963019073009491, 0.40510469675064087, -0.45280909538269043, 0.8251673579216003, 0.5060869455337524, 0.21301932632923126, 0.35201042890548706, -0.43730688095092773, 0.15685728192329407, -0.2928115129470825, -0.20368732511997223, -0.04663388803601265, -0.4850934147834778, -0.5266649127006531, -0.16918587684631348, 0.8491106033325195, 0.2373856008052826, -0.3946003317832947, 0.1683616191148758, -0.038099754601716995, 0.7401173710823059, 0.5087373852729797, 0.21736034750938416, 0.2686532139778137, -0.08147065341472626, -0.5516595840454102, 0.30721867084503174, -1.1560924053192139, -0.138345405459404, 0.9488160610198975, 0.03568695858120918, 0.6830697059631348, 0.35801857709884644, 0.8306785821914673, -0.1328265517950058, -0.07118791341781616, -0.8088452219963074, 0.5961785316467285, -0.18572986125946045, -0.6132352948188782, -0.7429501414299011, -0.5718404650688171, -0.9107085466384888, 0.2575763761997223, -0.2910771667957306, -0.644143283367157, -0.047287244349718094, 0.3204841911792755, -0.7497321963310242, 0.2313375025987625, -0.48424792289733887, 0.868440568447113, 0.03577079251408577, -0.4256812632083893, -0.0465017668902874, -0.8176103830337524, 0.3996063470840454, -0.21942389011383057, -0.11673491448163986, -0.23287749290466309, 0.14330872893333435, 0.5880197286605835, -0.23914439976215363, 0.8505125641822815, -0.45109114050865173, 0.24207863211631775, 0.6753085255622864, 0.16365036368370056, 0.5941680669784546, 0.13001543283462524, -0.2663384675979614, -0.40388748049736023, 0.2681775987148285, -0.45566093921661377, -0.9831571578979492, 0.6214789748191833, -0.6593860983848572, -0.4954872131347656, -0.0873778760433197, -0.7149592638015747, -0.7205687761306763, 0.3963768780231476, 0.08180584013462067, 0.6145082116127014, -0.08099744468927383, 0.056826282292604446, 0.5612120032310486, -0.22422242164611816, 0.46211695671081543, 0.7352638840675354, -0.012340150773525238, -0.21233157813549042, 0.6323444843292236, 0.31304505467414856, 0.3619964122772217, 0.6003068685531616, 0.3441956639289856, -0.5384591817855835, -0.5345296263694763, -0.6458718180656433, 0.193621426820755, -1.0735160112380981, -0.467387318611145, -0.7222196459770203, -0.11873268336057663, -0.4978381395339966, -0.08559729903936386, -0.26973533630371094, -0.3211672902107239, -0.1663549244403839, -0.07918176800012589, 0.637690544128418, 0.5535887479782104, 0.45663705468177795, 0.34063655138015747, -0.8991182446479797, 0.3574714958667755, 0.8002321720123291, 0.34995418787002563, 0.15462622046470642, -0.4235837459564209, -0.11236671358346939, -0.05493573844432831, -0.5341379642486572, -0.7972290515899658, 0.07686746120452881, 0.46989017724990845, 0.6469278335571289, 0.33072930574417114, 0.6182405948638916, 0.6462967991828918, -0.5586158633232117, 0.6728757619857788, -0.07749014347791672, -0.4739830493927002, 0.5867869257926941, -0.3929101824760437, 0.6690364480018616, 1.0074901580810547, 0.7876157164573669, -0.23908086121082306, -0.1204238161444664, -0.4441509246826172, -0.6582869291305542, 0.6782494187355042, -0.03526507318019867, 0.2996843457221985, -0.22126388549804688, 0.5689181685447693, 0.12298984825611115, 0.24504965543746948, -0.16086474061012268, -0.2389523983001709, 0.03438698872923851, -0.37038177251815796, 0.28855982422828674, -0.054994240403175354, -0.1919069141149521, -0.29084259271621704, 0.4949299991130829, -0.7153123617172241, 0.11297740042209625, -0.13811857998371124, -0.11554233729839325, -0.14197954535484314, 0.0853680744767189, 0.27026745676994324, 0.7750635147094727, -0.0987866148352623, 0.16075259447097778, 0.6267294883728027, -0.11794226616621017, 0.13617777824401855, 0.09164929389953613, -0.22653250396251678, -0.3368743360042572, 0.2602767050266266, 0.8219887018203735, 0.25710272789001465, -0.6981643438339233, 0.7230483293533325, 0.2704588770866394, -0.34985870122909546, 0.019553225487470627, 0.20116771757602692, 0.15512387454509735, 0.6378167867660522, 0.42379528284072876, -0.4210253059864044, -0.0696483924984932, -0.5501886606216431, 0.42132648825645447, 0.6160656213760376, -0.40665048360824585, -0.1486692875623703, 0.6148646473884583, 0.19409231841564178, 0.07572486251592636, 0.8772854208946228, -0.5211971402168274, -0.5494211316108704, 0.5152208209037781, 0.37366098165512085, 0.5349521636962891, 0.1300836056470871, 0.3918110132217407, 0.2631269693374634, -0.223724827170372, 0.30115193128585815, 0.34773358702659607, -0.4249681532382965, -0.8382813334465027, -0.2613760828971863, -0.6827868223190308, -0.4215315878391266, -0.12174607813358307, -0.24498189985752106, 0.46126535534858704, -0.2200665920972824, 0.0794064849615097, -0.06827530264854431, 0.19326511025428772, -0.5637140870094299, 0.19498029351234436, 0.04072492942214012, 0.9545409679412842, -0.8279945254325867, 1.1383193731307983, 0.829801619052887, -0.3139614760875702, -0.7830461263656616, 0.0972728356719017, 0.17062512040138245, -0.8107103109359741, 0.9632684588432312, -0.18931131064891815, -0.2864346504211426, 0.5162609815597534, -0.3778466284275055, -0.8889961242675781, 1.6347870826721191, 0.3601859211921692, -0.07991699129343033, -0.07648158818483353, 0.2875811457633972, 0.4791843295097351, -0.21565774083137512, 0.049521367996931076, 0.48380938172340393, 0.17776598036289215, 0.7414629459381104, -0.5622743964195251, -0.270510733127594, 0.2728867530822754, -0.3515695333480835, 0.19391150772571564, -0.9628037214279175, 0.3961855471134186, -0.2803787887096405, -0.11176130920648575, -0.18220333755016327, 0.6216441988945007, 0.28747645020484924, 0.509619951248169, 0.4831660985946655, 0.34064483642578125, 0.8894073963165283, 0.09331034868955612, 0.9419692754745483, -0.19238433241844177, 0.5054537057876587, 1.0956131219863892, -0.3632846474647522, 0.8622502088546753, 0.25676023960113525, -0.25177887082099915, 0.26484745740890503, 0.590833842754364, 0.3045889437198639, 0.8969444036483765, 0.16270728409290314, -0.35689762234687805, -0.45838630199432373, 0.03514678403735161, -0.012699786573648453, 0.627040684223175, 0.14665855467319489, -0.1771237701177597, -0.6842179894447327, 0.032802384346723557, -0.2232847660779953, -0.017833339050412178, -0.07809717953205109, 0.9989987015724182, 0.08697062730789185, -0.44186607003211975, 0.7279466986656189, -0.30193817615509033, 0.27654099464416504, -0.847232460975647, -0.0707087367773056, -0.34374645352363586, 0.04341669753193855, -0.053770944476127625, -0.8581605553627014, 0.34998539090156555, -0.17567044496536255, -0.028258997946977615, 0.020770909264683723, 0.6932186484336853, -0.3356013596057892, -0.2439410537481308, 0.12219610810279846, 0.6805315017700195, 0.006269307341426611, 0.21923871338367462, -0.6471657156944275, -0.37837353348731995, -0.2820735275745392, -0.3481582999229431, 0.5121534466743469, 0.5223169326782227, -0.03077520802617073, 0.9172934293746948, 0.12157183885574341, -0.404395192861557, 0.2757715582847595, -0.07828426361083984, 1.0130077600479126, -0.35041099786758423, -0.44327419996261597, -0.5670180320739746, 0.3170018196105957, 0.11530695855617523, -0.3094988763332367, 0.6025988459587097, 0.4253796339035034, 0.8156812787055969, -0.003383158938959241, 0.5591357350349426, 0.07734107971191406, 0.5337230563163757, -0.5335206985473633, 0.6379088163375854, -0.7451819181442261, -0.008958970196545124, -0.2850392460823059, -0.6648761630058289, -0.448344886302948, 0.18981477618217468, -0.38328078389167786, -0.07006850093603134, 0.6654614806175232, 0.8188152313232422, -0.2189665138721466, -0.21174201369285583, 0.632725715637207, 0.13027796149253845, 0.12570469081401825, 0.7074626684188843, 0.9048382639884949, -0.3723805546760559, 0.8602997660636902, -0.2603941857814789, -0.05767734721302986, -0.11182709038257599, -0.8071250319480896, -0.7771708965301514, -0.44694817066192627, -0.4475467801094055, -0.15232814848423004, 0.2503353953361511, 0.8224965929985046, 0.645481526851654, -0.647453784942627, 0.29449915885925293, 0.10107990354299545, 0.2372654378414154, -0.19007159769535065, -0.1925368309020996, 0.6707333326339722, -0.43110474944114685, -0.6094481945037842, 0.547694981098175, 0.17789871990680695, -0.021002260968089104, -0.0239585991948843, 0.14177291095256805, -0.2587943375110626, 0.10365018993616104, 0.778653085231781, 0.24872761964797974, -0.4376147389411926, -0.5737949013710022, 0.14156174659729004, 0.03907690942287445, -0.045716725289821625, 0.571385383605957, -1.1336606740951538, 0.46263495087623596, 0.8898499011993408, 0.9417432546615601, 0.8314832448959351, 0.15481950342655182, 0.10541412979364395, -1.2003164291381836, 0.10404311120510101, 0.2154286503791809, -0.16241449117660522, 0.046720393002033234, -0.21656057238578796, 0.212189182639122, 0.3526706397533417, -0.2597358226776123, -0.547804594039917, 0.6387288570404053, -0.7778348922729492, -0.38417792320251465, 1.2586085796356201, -0.23808881640434265, -0.149688720703125, -0.31339776515960693, 0.0805697962641716, 0.24465955793857574, -0.09452775120735168, 0.4988929033279419, 0.523076057434082, -0.574275016784668, -0.06852240860462189, -0.452486127614975, 0.5079280734062195, 0.07707881927490234, -0.5706661343574524, -0.09656848013401031, 0.36915266513824463, 0.5586084127426147, -0.2964482009410858, 0.7132078409194946, 0.01226701308041811, 0.18352098762989044, -0.002060471335425973, -0.5623227953910828, -0.23355364799499512, -0.28354647755622864, -0.04938657209277153, 0.6111892461776733, 0.29160183668136597, -0.2911255955696106 ]
http://arxiv.org/abs/2407.01406v1
http://arxiv.org/pdf/2407.01406v1
Adapting Multilingual LLMs to Low-Resource Languages with Knowledge Graphs via Adapters
2024-07-01T15:56:24
2024-07-01T15:56:24
Daniil Gurgurov, Mareike Hartmann, Simon Ostermann
cs.CL
cs.CL, cs.AI
This paper explores the integration of graph knowledge from linguistic ontologies into multilingual Large Language Models (LLMs) using adapters to improve performance for low-resource languages (LRLs) in sentiment analysis (SA) and named entity recognition (NER). Building upon successful parameter-efficient fine-tuning techniques, such as K-ADAPTER and MAD-X, we propose a similar approach for incorporating knowledge from multilingual graphs, connecting concepts in various languages with each other through linguistic relationships, into multilingual LLMs for LRLs. Specifically, we focus on eight LRLs -- Maltese, Bulgarian, Indonesian, Nepali, Javanese, Uyghur, Tibetan, and Sinhala -- and employ language-specific adapters fine-tuned on data extracted from the language-specific section of ConceptNet, aiming to enable knowledge transfer across the languages covered by the knowledge graph. We compare various fine-tuning objectives, including standard Masked Language Modeling (MLM), MLM with full-word masking, and MLM with targeted masking, to analyse their effectiveness in learning and integrating the extracted graph data. Through empirical evaluation on language-specific tasks, we assess how structured graph knowledge affects the performance of multilingual LLMs for LRLs in SA and NER, providing insights into the potential benefits of adapting language models for low-resource scenarios.
[ -0.39596039056777954, -0.4570170044898987, 0.3867287337779999, 0.10564956068992615, -0.2228865772485733, 0.4056077301502228, -0.520037055015564, -0.43269023299217224, 0.29146069288253784, 0.701837420463562, -0.32958024740219116, -0.5610864162445068, -0.5381476283073425, 0.2951846718788147, 0.22100253403186798, 1.0232408046722412, -0.25776392221450806, 0.011703548021614552, 0.10759496688842773, -0.3533199429512024, -0.2721274197101593, -0.511056661605835, -0.8524172902107239, -0.31066763401031494, 0.7248567342758179, 0.39066269993782043, 0.4324452877044678, 0.3416871130466461, 0.366850882768631, 0.28684762120246887, -0.18861477077007294, 0.5394913554191589, -0.5548226833343506, -0.23047441244125366, -0.4427056312561035, -0.5159893035888672, -0.47458720207214355, -0.32366812229156494, 0.7287877202033997, 0.783615231513977, 0.05197985842823982, 0.30056461691856384, 0.2774267792701721, 0.7396363019943237, -0.5265665650367737, 0.5528372526168823, -0.704988420009613, 0.08677788078784943, -0.0309284720569849, -0.13183963298797607, -0.30079764127731323, -0.2860884368419647, -0.09618881344795227, -0.6463792324066162, -0.21705587208271027, 0.16409672796726227, 0.5974763035774231, 0.3943222463130951, -0.16420269012451172, -0.3745661973953247, -0.48961684107780457, 0.7342315316200256, -0.6183981895446777, 0.4547347128391266, 0.18494553864002228, 0.2637927234172821, -0.09095213562250137, -0.5389219522476196, -0.5695644021034241, 0.1412036269903183, -0.31174203753471375, 0.06588420271873474, -0.23787610232830048, 0.12666063010692596, 0.08040137588977814, 0.10436204820871353, -0.21141156554222107, 0.39834874868392944, -0.1990763396024704, -0.19223634898662567, 0.5258799195289612, 0.06630801409482956, 0.2731241285800934, -0.32561036944389343, -0.08778207749128342, 0.05972585082054138, -0.5915758013725281, 0.14148768782615662, 0.3400527834892273, 0.9516791701316833, -0.293881893157959, 0.5327568054199219, -0.2482573390007019, 0.9594034552574158, 0.02224309742450714, -0.4204378128051758, 0.2185364067554474, -0.5378867387771606, -0.020792188122868538, 0.1524447202682495, 0.7331717014312744, 0.1978592872619629, 0.5885142683982849, -0.29943305253982544, -0.16828812658786774, -0.0075916689820587635, -0.21589064598083496, -0.7562935948371887, -0.22502605617046356, -0.25734251737594604, -0.4040769040584564, -0.14217646420001984, -0.490583598613739, -0.7616908550262451, -0.546200156211853, -0.18953509628772736, 0.1727416068315506, -0.3572181761264801, -0.3647398054599762, 0.14527635276317596, -0.11739463359117508, 0.1389417052268982, 0.28733882308006287, -0.6395601034164429, 0.30497270822525024, 0.49951601028442383, 1.0174047946929932, -0.11325865238904953, -0.25100553035736084, -0.3983066976070404, 0.26322758197784424, -0.21158644556999207, 0.7924832701683044, -0.5566275119781494, -0.2565264105796814, 0.06277214735746384, 0.31975677609443665, -0.34742271900177, -0.4716126024723053, 0.3277769386768341, -0.7120165824890137, 0.013316255994141102, -0.3580378592014313, -0.430169016122818, -0.36016228795051575, 0.6370294690132141, -0.6336603164672852, 0.8414518237113953, 0.16544686257839203, -0.7711260318756104, 0.16336257755756378, -0.9610743522644043, -0.5544072389602661, -0.019744038581848145, 0.005125558935105801, 0.013488687574863434, -0.0017458547372370958, 0.12192964553833008, 0.5213281512260437, -0.1869852989912033, -0.25376492738723755, -0.2545701265335083, -0.016410373151302338, 0.21212758123874664, -0.1882346123456955, 0.7001752257347107, 0.15387924015522003, 0.11308855563402176, 0.13868162035942078, -0.8776066303253174, 0.10869614779949188, 0.1327221542596817, -0.5163329243659973, -0.42415326833724976, -0.05797714740037918, 0.09855243563652039, 0.5554972887039185, 0.22659048438072205, -0.41885635256767273, 0.03222500905394554, -0.6036163568496704, 0.5862728953361511, 0.5863238573074341, -0.0777926817536354, 0.4233732521533966, -0.05192805826663971, 0.6346055865287781, 0.27250775694847107, -0.23358993232250214, 0.12747597694396973, -0.37454307079315186, -1.002833366394043, -0.11174651980400085, 0.4951174855232239, 0.6793974041938782, -1.1622589826583862, 0.18039000034332275, -0.5336361527442932, -0.34448543190956116, -0.7557505369186401, 0.581901490688324, 0.3579176962375641, 0.46635961532592773, 0.28188133239746094, -0.40089476108551025, -0.46176576614379883, -0.689081072807312, -0.25803467631340027, -0.21231405436992645, 0.2809976637363434, 0.5232368111610413, 0.28151020407676697, -0.22167301177978516, 0.6073688864707947, -0.5453888773918152, -0.5160012245178223, -0.5444532632827759, -0.35478559136390686, 0.32021579146385193, 0.022186903282999992, 0.6900390386581421, -0.5070199370384216, -0.7658863067626953, 0.4277401864528656, -0.6384655237197876, 0.11453763395547867, 0.3149392902851105, -0.10708872228860855, 0.37536367774009705, 0.4808678925037384, -0.2912333309650421, -0.17400506138801575, 0.7563270330429077, -0.273403525352478, 0.36088621616363525, -0.19444328546524048, -0.14305786788463593, -1.330186367034912, -0.086346335709095, 0.10037700831890106, -0.4102712869644165, -0.7105971574783325, -0.006718273274600506, -0.22805285453796387, -0.07081633061170578, -0.6079381704330444, 0.8201591968536377, -0.44510984420776367, -0.028590289875864983, -0.25198689103126526, 0.5829727053642273, 0.019470468163490295, 0.5622461438179016, 0.023844778537750244, 0.688957691192627, 0.3693302571773529, -0.5359880328178406, 0.26749932765960693, 0.1754617989063263, -0.5241090655326843, 0.6356024146080017, -0.29824817180633545, 0.15899251401424408, -0.19134072959423065, -0.10877510905265808, -0.7486956119537354, -0.00016207450244110078, 0.4253033399581909, -0.12013570219278336, 0.2989305257797241, -0.5987864136695862, -0.4039932191371918, -0.08819951117038727, -0.12980620563030243, 0.2990536093711853, 0.2517401874065399, -0.465679794549942, 0.7863920331001282, 0.5397440195083618, -0.28041112422943115, -0.5900588631629944, -0.7641454935073853, 0.10471980273723602, -0.3599981963634491, -0.43757396936416626, 0.05341145768761635, 0.08168084174394608, -0.26566267013549805, 0.2077419012784958, 0.2576659917831421, -0.037230439484119415, 0.1145462766289711, -0.013187171891331673, -0.037042275071144104, -0.43116387724876404, 0.13721640408039093, 0.02412101998925209, -0.20314015448093414, -0.20570877194404602, -0.563094437122345, 0.6423135995864868, -0.2243315875530243, -0.1786583960056305, -0.12009653449058533, 0.024096276611089706, 0.36684754490852356, -0.13152605295181274, 0.8989304304122925, 0.7828835248947144, -0.3883376717567444, -0.169651597738266, -0.4058058261871338, 0.12657831609249115, -0.42775624990463257, 0.5728709697723389, -0.6783285737037659, -1.133175015449524, 0.6836215257644653, -0.4717790186405182, -0.20379236340522766, 0.3511098623275757, 0.641116738319397, -0.04255946725606918, 0.8126606941223145, 0.8752214312553406, -0.4797813892364502, 0.5119512677192688, -0.2202673852443695, 0.45231547951698303, -0.9559387564659119, 0.09165571630001068, -0.3939271867275238, -0.3653116822242737, -1.0758607387542725, -0.4925641119480133, 0.2095060646533966, 0.2646822929382324, -0.09597834944725037, 0.19001434743404388, -0.11665945500135422, 0.4497182369232178, 0.2574590742588043, -0.014860326424241066, 0.4522460103034973, 0.1951272189617157, -0.09209316223859787, 0.0939171239733696, -1.0983220338821411, -0.4883367717266083, 0.8435187339782715, 0.10862234234809875, 0.6529926657676697, 0.25394901633262634, 0.576321005821228, 0.06499230116605759, 0.20090998709201813, -0.9180459380149841, 0.36677005887031555, -0.61391282081604, -0.20904864370822906, -0.30505621433258057, -0.37076327204704285, -0.8107370734214783, 0.3119623064994812, -0.15747593343257904, -0.7482118010520935, 0.26761388778686523, 0.0923447236418724, -0.21548967063426971, 0.37827780842781067, -0.618696391582489, 0.7970442771911621, -0.2503458857536316, -0.020611146464943886, -0.24727053940296173, -0.2691836357116699, 0.09637745469808578, -0.35519933700561523, 0.7025734186172485, -0.2509193420410156, -0.038949403911828995, 0.8271128535270691, -0.06464897841215134, 1.1245943307876587, -0.21416215598583221, -0.25154954195022583, 0.27850499749183655, -0.07190321385860443, 0.6570959091186523, -0.018544059246778488, -0.36182811856269836, 0.4250718653202057, 0.047773558646440506, -0.3606778085231781, -0.6417222619056702, 0.8047273755073547, -0.9900898933410645, -0.44213706254959106, 0.052713315933942795, -0.7840280532836914, -0.3321356475353241, 0.4917311370372772, -0.06568022817373276, -0.06557947397232056, -0.14297793805599213, -0.2099209427833557, 0.37710511684417725, -0.31362929940223694, 0.25500842928886414, 0.7139609456062317, -0.4123687148094177, -0.4106222689151764, 1.2672655582427979, 0.5019146800041199, 0.2896904945373535, 0.41793033480644226, 0.2840597629547119, -0.1022343635559082, -0.43814724683761597, -0.6408975720405579, 0.3414499759674072, -0.9245951175689697, -0.28745150566101074, -0.6249836087226868, -0.1955660730600357, -0.2545623779296875, 0.019984012469649315, -0.31948667764663696, -0.5831268429756165, -0.22464489936828613, -0.006433859467506409, 0.6628581881523132, 0.5146212577819824, 0.09102234989404678, 0.3741661608219147, -0.6878048181533813, 0.14844460785388947, 0.025227630510926247, 0.5616198182106018, -0.019694488495588303, -0.5121259093284607, -0.5237018465995789, 0.06899259984493256, 0.032079339027404785, -0.6293210387229919, 0.18965037167072296, 0.5565589666366577, 0.4827362596988678, 0.2559584081172943, -0.021863102912902832, 0.801823079586029, -0.49834397435188293, 0.48279476165771484, 0.10891512781381607, -0.8531786203384399, 0.36081090569496155, -0.13774053752422333, 0.05874716490507126, 0.471439391374588, 0.3929924964904785, -0.7664758563041687, -0.1878596395254135, -0.07889791578054428, -0.6324923038482666, 0.8422057628631592, -0.18818846344947815, 0.2748382091522217, 0.10614033788442612, 0.600700855255127, -0.09114405512809753, 0.2303754985332489, -0.7402595281600952, -0.3140855133533478, -0.19343328475952148, -0.4074229896068573, -0.3829338252544403, -0.23135504126548767, -0.19957689940929413, -0.17317083477973938, 0.5953393578529358, -0.7173104286193848, -0.051124610006809235, -0.19717010855674744, -0.43645280599594116, -0.020578721538186073, 0.38957056403160095, 0.2767093777656555, 0.45047998428344727, 0.1684538871049881, 0.24930979311466217, 0.6601780652999878, -0.15259046852588654, 0.05713455379009247, 0.1592959761619568, -0.261662095785141, -0.1441981941461563, 0.34646233916282654, 1.088362693786621, 0.3234536349773407, -0.46957921981811523, 0.02851146087050438, 0.03166365996003151, 0.11890533566474915, 0.1097465306520462, 0.1990462839603424, 0.36844155192375183, 0.4413244128227234, -0.2317427545785904, -0.11846891045570374, -0.07640775293111801, -0.438163697719574, -0.30034831166267395, 0.5335527062416077, -0.6054564714431763, -0.4539509415626526, 0.18422986567020416, 0.032291773706674576, -0.29209181666374207, 0.36833205819129944, -0.18462243676185608, -0.58998703956604, 0.28044435381889343, 0.7024314999580383, 0.5115135908126831, -0.2048856019973755, 0.17203162610530853, 0.23675191402435303, 0.41749143600463867, 0.13173523545265198, 0.4741083085536957, 0.05966449901461601, -1.1888437271118164, -0.5719819664955139, -0.8030608892440796, -0.2980843484401703, -0.20751559734344482, -0.5630936026573181, 0.2980894148349762, -0.4410167336463928, -0.2080368846654892, 0.13580459356307983, 0.16188600659370422, -1.0449732542037964, 0.02789114974439144, 0.11024343967437744, 0.9866572618484497, -0.9108410477638245, 0.9159554839134216, 1.0484237670898438, -0.35902878642082214, -0.8252145051956177, -0.20572835206985474, -0.2613125443458557, -1.2794934511184692, 0.7270703911781311, -0.24182887375354767, -0.28523874282836914, 0.3507693409919739, 0.02400011010468006, -0.9839712977409363, 0.8104357719421387, 0.5114091038703918, -0.5591714382171631, 0.1338375359773636, 0.5543221831321716, 0.7191117405891418, -0.3616813123226166, 0.037293124943971634, 0.6034850478172302, 0.5970965027809143, -0.11838354915380478, -0.8319387435913086, 0.039810020476579666, -0.1598406732082367, 0.13135462999343872, 0.25760316848754883, -0.8406655192375183, 0.4655438959598541, -0.1823364496231079, -0.07832980901002884, -0.22840166091918945, 0.5655052661895752, 0.04551936686038971, 0.11254512518644333, 0.4925220310688019, 0.5071572065353394, 0.9262768030166626, -0.04803851991891861, 0.8459842801094055, -0.8422565460205078, 0.2890021502971649, 1.0240288972854614, -0.44213584065437317, 0.8211423754692078, 0.5662581324577332, -0.3366243541240692, 0.7101254463195801, 0.48136115074157715, 0.1323702186346054, 0.5273258090019226, 0.24371464550495148, -0.023365439847111702, -0.2488226443529129, -0.5871225595474243, -0.22118476033210754, 0.5551314353942871, 0.5907886028289795, -0.22851325571537018, -0.2239295244216919, -0.009451989084482193, 0.1455851048231125, -0.18014702200889587, -0.5185363292694092, 1.1308645009994507, 0.23045599460601807, -0.32400721311569214, 0.5638133883476257, 0.20027539134025574, 0.6589546799659729, -0.45019349455833435, 0.23412783443927765, -0.2089284360408783, 0.25284552574157715, -0.3575120270252228, -0.8158666491508484, 0.3551640212535858, 0.03961819410324097, -0.43825989961624146, 0.0013702685246244073, 0.9852146506309509, -0.5311951041221619, -0.9211844205856323, 0.6887163519859314, 0.8549309372901917, 0.1401439905166626, 0.2054336965084076, -0.7102746367454529, 0.012749632820487022, -0.1645023077726364, -0.10939260572195053, 0.5793567895889282, 0.6883403062820435, -0.11406941711902618, 0.634639322757721, 0.6042553186416626, 0.3847385048866272, -0.03194338455796242, 0.33531463146209717, 0.9220495223999023, -0.5362799167633057, -0.4697312116622925, -0.8678006529808044, 0.23324185609817505, 0.12159519642591476, -0.05063844099640846, 0.8745042681694031, 0.4114520251750946, 1.0434907674789429, 0.052181098610162735, 0.9462037682533264, 0.20960618555545807, 0.28338882327079773, -0.5459722876548767, 0.8119114637374878, -0.6442530155181885, 0.045655831694602966, -0.3242529630661011, -0.8245247602462769, -0.3155827820301056, 0.46482959389686584, -0.4043445587158203, -0.0729036033153534, 0.24312490224838257, 0.7066154479980469, -0.020262645557522774, -0.3542546033859253, 0.33558350801467896, 0.42105984687805176, 0.18438206613063812, 0.40725207328796387, 0.6171809434890747, -0.31002146005630493, 0.4757233262062073, -0.3028036952018738, -0.07212987542152405, -0.029031645506620407, -0.9536789655685425, -0.9429833889007568, -0.3383043110370636, -0.37604695558547974, -0.38027647137641907, 0.0450640432536602, 0.8090233206748962, 0.48986852169036865, -0.9866747260093689, -0.33560654520988464, 0.26864516735076904, 0.5750703811645508, -0.08455497771501541, -0.20428332686424255, 0.453472375869751, -0.4895338714122772, -0.6094053983688354, 0.3834093511104584, 0.4001641571521759, -0.18723005056381226, -0.23376302421092987, -0.205022931098938, -0.014812128618359566, -0.020899144932627678, 0.9707627296447754, 0.18398207426071167, -0.6556106209754944, -0.3960290253162384, -0.06473850458860397, 0.18206395208835602, 0.08809953927993774, 0.7425923347473145, -0.7254155874252319, 0.4643958806991577, 0.28975921869277954, 0.6178555488586426, 0.22526761889457703, -0.3949175179004669, 0.22698290646076202, -0.7759273052215576, 0.30858826637268066, -0.14251139760017395, 0.5712732076644897, 0.4974710941314697, -0.1767445057630539, 0.3923696279525757, 0.20064309239387512, -0.19400499761104584, -0.9195619225502014, 0.3221193253993988, -0.6993524432182312, -0.11420758813619614, 1.2520581483840942, -0.28977397084236145, -0.21476894617080688, -0.3047463297843933, -0.05636351555585861, 0.4493984282016754, -0.03387075290083885, 0.7116279602050781, 0.5988537073135376, -0.13279038667678833, -0.252749502658844, -0.2975054383277893, 0.4911578893661499, 0.029132425785064697, -0.7304267287254333, 0.048037782311439514, 0.06947740912437439, 0.5079095363616943, 0.31392180919647217, 0.62120521068573, 0.11670111119747162, -0.17354801297187805, -0.37393224239349365, 0.04317894205451012, -0.0004482869408093393, 0.004997050855308771, -0.3586980700492859, 0.04802925884723663, 0.38644179701805115, 0.13501416146755219 ]
http://arxiv.org/abs/2407.01403v1
http://arxiv.org/pdf/2407.01403v1
Optimization of Retrieval-Augmented Generation Context with Outlier Detection
2024-07-01T15:53:29
2024-07-01T15:53:29
Vitaly Bulgakov
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
In this paper, we focus on methods to reduce the size and improve the quality of the prompt context required for question-answering systems. Attempts to increase the number of retrieved chunked documents and thereby enlarge the context related to the query can significantly complicate the processing and decrease the performance of a Large Language Model (LLM) when generating responses to queries. It is well known that a large set of documents retrieved from a database in response to a query may contain irrelevant information, which often leads to hallucinations in the resulting answers. Our goal is to select the most semantically relevant documents, treating the discarded ones as outliers. We propose and evaluate several methods for identifying outliers by creating features that utilize the distances of embedding vectors, retrieved from the vector database, to both the centroid and the query vectors. The methods were evaluated by comparing the similarities of the retrieved LLM responses to ground-truth answers obtained using the OpenAI GPT-4o model. It was found that the greatest improvements were achieved with increasing complexity of the questions and answers.
[ -0.7797973155975342, -1.0936311483383179, 0.7274568676948547, -0.11022613197565079, -0.3567999601364136, -0.32271307706832886, -0.03242126479744911, -0.13821916282176971, 0.1198987141251564, 0.6105574369430542, -0.5085176229476929, -0.33225879073143005, -0.29525959491729736, 0.14655257761478424, -0.44844189286231995, 0.7236967086791992, 0.15074650943279266, -0.11657688766717911, -0.6795337200164795, -0.11896327137947083, -0.7258608937263489, -0.32050228118896484, -0.6244667768478394, 0.026892859488725662, 0.02816956676542759, 0.5973098278045654, 0.4285790026187897, 0.619140088558197, 0.38326555490493774, 0.26361405849456787, -0.19186751544475555, 0.45488351583480835, -0.46271052956581116, 0.49346646666526794, -0.043628644198179245, -0.33005639910697937, 0.06832744181156158, -0.3482339084148407, 0.7670671343803406, 0.4679206609725952, 0.0812055692076683, 0.16500505805015564, 0.20110052824020386, 0.42762574553489685, -0.5025061964988708, -0.13351225852966309, -0.618732213973999, -0.10060984641313553, -0.19226515293121338, -0.6608355641365051, -0.3164444863796234, -0.610931932926178, 0.056492023169994354, -0.6449201107025146, 0.5662820935249329, 0.3023216724395752, 0.7221543192863464, 0.2527467906475067, -0.30078306794166565, -0.6354190707206726, -0.4016527235507965, 0.8730602264404297, -0.49948713183403015, 0.18981702625751495, 0.24406661093235016, 0.372163325548172, -0.5229955315589905, -0.35065901279449463, -0.6546730399131775, 0.01989285834133625, -0.05487227812409401, -0.003348845522850752, 0.035040050745010376, -0.14539632201194763, 0.3477368652820587, 0.17113156616687775, -0.7962986826896667, -0.04248814284801483, -0.12490566074848175, -0.2309163510799408, 0.49902814626693726, 0.1823389083147049, 0.3115459084510803, -0.42814886569976807, -0.18065661191940308, -0.2784993648529053, -0.8450488448143005, 0.0207991823554039, 0.5075933933258057, 0.20761381089687347, 0.42918628454208374, 0.5870447754859924, -0.14679844677448273, 0.7515106797218323, 0.028096698224544525, 0.09597813338041306, 0.16858559846878052, -0.660682201385498, -0.042207859456539154, -0.12115249037742615, 0.361405611038208, 0.46538424491882324, -0.008579421788454056, -0.03119163028895855, -0.19763323664665222, -0.4341757893562317, 0.23028986155986786, -0.9934770464897156, 0.2581281065940857, 0.39777934551239014, -0.5093919634819031, -0.02998289093375206, -0.023000411689281464, -0.8586362600326538, -0.3320755362510681, -0.29385682940483093, 0.44699057936668396, -0.6430108547210693, -0.06662409007549286, -0.35460397601127625, -0.413123220205307, 0.39472416043281555, 0.36092445254325867, -0.7126678228378296, -0.06986794620752335, 0.5498721599578857, 0.7040169835090637, 0.014659218490123749, 0.1282036304473877, -0.8364598155021667, 0.05043903738260269, -0.40450021624565125, 0.8833507299423218, -0.7264883518218994, -0.7707385420799255, 0.11296438425779343, -0.10992661118507385, -0.020095989108085632, -0.8461816906929016, 0.7225223183631897, -0.7988438606262207, 0.47927126288414, -0.9004480838775635, -0.7475525736808777, -0.1482224017381668, 0.4338136613368988, -0.406904399394989, 1.2456027269363403, 0.47198280692100525, -0.7360703945159912, 0.26229116320610046, -0.6226319074630737, -0.19496025145053864, 0.27828559279441833, -0.32396695017814636, -0.20934028923511505, 0.18542788922786713, 0.506593644618988, 0.25927144289016724, -0.5540224313735962, 0.09134301543235779, 0.11915390938520432, -0.5710941553115845, 0.22750037908554077, -0.0429251566529274, 0.6428156495094299, 0.34800398349761963, -0.015410611405968666, 0.09872595965862274, -0.7060112953186035, 0.29052087664604187, 0.03321867063641548, -0.4350510239601135, -0.5976229310035706, -0.12359045445919037, -0.20600084960460663, 0.19685666263103485, 0.1916636824607849, -0.7954660058021545, -0.10568294674158096, -0.505285918712616, 0.2769601345062256, 0.5854741930961609, 0.5404905676841736, 0.39218670129776, -0.2857908606529236, 0.5749971270561218, 0.3833341598510742, 0.1472143679857254, -0.34308922290802, -0.5450105667114258, -0.5242874026298523, -0.05033576488494873, 0.014640934765338898, 0.4234744906425476, -1.2243274450302124, 0.6268079876899719, -0.27677178382873535, -0.12023817747831345, -0.34221234917640686, 0.22894354164600372, 0.3760424256324768, 1.2071824073791504, 0.5220596790313721, 0.024374954402446747, -0.4216773211956024, -0.8369249105453491, -0.33881717920303345, -0.03741397336125374, -0.18735601007938385, 0.5203226208686829, 0.4779295325279236, -0.1715284138917923, 1.233924388885498, -0.4562820792198181, -0.12353025376796722, 0.0176028273999691, -0.12745581567287445, 0.14577484130859375, 0.4442541003227234, 0.7059730291366577, -0.8886459469795227, -0.31323617696762085, -0.10845199972391129, -0.8080499172210693, -0.12347973883152008, 0.2240586280822754, -0.24969317018985748, 0.1695268154144287, 0.6459832787513733, -0.3955324590206146, 0.37858906388282776, -0.00034490088000893593, -0.22200137376785278, 0.1897178292274475, -0.22442877292633057, 0.27017492055892944, -1.252875566482544, -0.10343574732542038, -0.12667767703533173, 0.08267106860876083, -0.5738523006439209, 0.0656188577413559, 0.1828693300485611, -0.1820461004972458, -0.2504595220088959, 0.49327725172042847, -0.4365082383155823, -0.14638379216194153, -0.10529548674821854, 0.49850720167160034, 0.08636002242565155, 0.3121173679828644, -0.33507025241851807, 1.0800328254699707, 0.20601098239421844, -0.6568799614906311, 0.3311583697795868, 0.5128980875015259, -0.312631219625473, 0.7329329252243042, -0.5586887001991272, 0.22040104866027832, -0.7498224973678589, -0.011575723066926003, -1.2196016311645508, -0.312355101108551, 0.09504157304763794, -0.6191608905792236, 0.2171565294265747, 0.017091425135731697, -0.4068557322025299, -0.30454885959625244, -0.6854429244995117, 0.4949502646923065, 0.402357816696167, -0.7182855010032654, 0.4911710321903229, 0.19063803553581238, -0.22138668596744537, -0.5190497040748596, -0.4676818549633026, -0.21949942409992218, -0.3929939866065979, -0.8577698469161987, 0.18360082805156708, -0.10286670923233032, -0.037380971014499664, 0.09593048691749573, 0.1855212152004242, 0.2507951557636261, -0.06417107582092285, -0.01746535487473011, -0.006615168415009975, -0.23945821821689606, 0.5423336029052734, 0.3961240351200104, 0.14553755521774292, 0.003828621469438076, -0.13542824983596802, 0.5220642685890198, 0.009835459291934967, -0.27080392837524414, 0.1355750411748886, 0.7089625000953674, 0.2961258292198181, -0.22153306007385254, 0.6903752088546753, 0.4060235619544983, -0.3973919451236725, -0.16476355493068695, -0.5395045876502991, -0.2181592583656311, -0.4585805833339691, 0.3381640315055847, -0.41503867506980896, -1.0212594270706177, 0.7792786955833435, 0.12645412981510162, -0.10797333717346191, 0.5094327926635742, 0.3779032230377197, 0.23375080525875092, 1.0902258157730103, 0.22537115216255188, 0.24279771745204926, 0.58064866065979, -0.2712302803993225, 0.17485803365707397, -1.2956598997116089, -0.3832765519618988, -0.8311179876327515, 0.06766762584447861, -0.5960665345191956, -0.4751552939414978, 0.7041594982147217, 0.1519693285226822, -0.31390246748924255, 0.02860741689801216, -0.7740697264671326, 0.3285929560661316, 0.6779637932777405, 0.03793732821941376, 0.04165225848555565, 0.22668547928333282, -0.18656285107135773, 0.1008230447769165, -0.7059803009033203, -0.4319533407688141, 1.1118406057357788, -0.022468682378530502, 0.2685513496398926, 0.4154914915561676, 0.6788598895072937, 0.11437857151031494, 0.13963419198989868, -0.4902181029319763, 0.5547170639038086, 0.21887138485908508, -0.45727211236953735, -0.6541404128074646, -0.6252177357673645, -1.0051063299179077, 0.39138174057006836, -0.07962008565664291, -0.6793802380561829, 0.3593052327632904, -0.08921279013156891, -0.4989585280418396, -0.060021042823791504, -0.7293938994407654, 0.6739467978477478, 0.08699487149715424, -0.22002044320106506, 0.17214220762252808, -0.5652535557746887, 0.22082944214344025, -0.109132781624794, 0.17334449291229248, 0.09928286820650101, -0.065273717045784, 0.5727024078369141, -0.660957932472229, 0.15493568778038025, -0.421024352312088, -0.014755920507013798, 0.6986730098724365, -0.09619839489459991, 0.5835641026496887, 0.16350749135017395, -0.2363848239183426, -0.335835725069046, 0.10944820940494537, -0.4464138150215149, -0.8110566735267639, 0.9246037006378174, -0.7533223628997803, -0.6986660361289978, -0.0968199074268341, -0.3685949742794037, -0.29072317481040955, 0.19602587819099426, 0.7357128262519836, 0.749884307384491, -0.1484716236591339, 0.37513163685798645, 0.9106099009513855, -0.5676994323730469, 0.5776416659355164, 0.18728962540626526, -0.065142922103405, -0.24398082494735718, 0.7668370604515076, 0.38767802715301514, -0.09401494264602661, 0.36031126976013184, 0.07303594797849655, -0.6952692270278931, -0.7231045365333557, -0.5474633574485779, 0.15056388080120087, -0.9559609889984131, -0.37519168853759766, -0.6066251993179321, -0.10984073579311371, -0.6916356086730957, 0.08073165267705917, 0.24293437600135803, -0.0821090042591095, -0.47985562682151794, 0.11048179864883423, 0.37012383341789246, 0.37843653559684753, 0.2876621186733246, 0.33543530106544495, -0.7927708625793457, 0.06766216456890106, 0.3750293552875519, 0.046918537467718124, 0.07594366371631622, -0.6750562191009521, -0.10894646495580673, 0.018776126205921173, -0.33273613452911377, -0.8679195046424866, 0.37891215085983276, 0.25742870569229126, 0.6578691601753235, 0.20000429451465607, 0.19002537429332733, 0.549513578414917, -0.27837127447128296, 0.8066173195838928, -0.18189936876296997, -0.6085960268974304, 0.913244903087616, -0.3983427882194519, 0.28210189938545227, 0.4328937232494354, 0.2118149846792221, -0.3482111692428589, -0.06838355958461761, -0.5205816626548767, -0.9524679780006409, 0.479988694190979, 0.17303664982318878, 0.12286330759525299, -0.5093098878860474, 0.7552098035812378, -0.06495999544858932, 0.31268009543418884, 0.14828340709209442, 0.06564509868621826, -0.14633288979530334, -0.20799706876277924, 0.08220802247524261, -0.5200490355491638, -0.05022996664047241, -0.001648931298404932, 0.6965630054473877, -0.5028159618377686, 0.3532674014568329, 0.4097553789615631, -0.14588721096515656, -0.23666693270206451, 0.28013259172439575, 0.7623863816261292, 0.7424428462982178, -0.26835525035858154, -0.10151985287666321, 0.2756424844264984, -0.43816885352134705, -0.04140486195683479, 0.07208499312400818, -0.42420172691345215, -0.01856248266994953, 0.11084049940109253, 0.5152549743652344, -0.21647173166275024, -0.7477566599845886, 0.6258620023727417, -0.21565474569797516, 0.09206662327051163, -0.40947380661964417, -0.010912273079156876, -0.23334568738937378, 0.19376377761363983, 0.5680806636810303, -0.23406362533569336, 0.4346697926521301, -0.5378415584564209, -0.058754537254571915, 0.636752724647522, -0.20190992951393127, 0.042295292019844055, 0.4688480794429779, 0.13054291903972626, -0.23615320026874542, 0.8923163414001465, -0.19129733741283417, -0.387986421585083, 0.5905985236167908, 0.37702733278274536, 0.681384801864624, -0.13938377797603607, 0.10941953212022781, 0.39977988600730896, 0.13869410753250122, 0.0027600477915257215, 0.40491801500320435, -0.08953313529491425, -0.8360251188278198, -0.3112609088420868, -0.6086783409118652, -0.18878647685050964, 0.15582561492919922, -0.7400525808334351, 0.047063589096069336, -0.3086993992328644, -0.08820738643407822, -0.19251243770122528, 0.14050202071666718, -0.6134120225906372, 0.28096362948417664, -0.4562801420688629, 0.7296323180198669, -0.5895612835884094, 0.5359455943107605, 0.6776837110519409, -0.5810464024543762, -0.6253899931907654, -0.03047482669353485, -0.21516691148281097, -0.5950334668159485, 0.4837820827960968, 0.14832136034965515, -0.008091024123132229, 0.1327732801437378, -0.47034168243408203, -0.9421068429946899, 1.1234291791915894, 0.30924221873283386, -0.25350630283355713, 0.09581414610147476, -0.03349148482084274, 0.5258258581161499, -0.40189439058303833, 0.3719642162322998, 0.7089947462081909, 0.19574031233787537, 0.27919167280197144, -0.44815173745155334, 0.27673402428627014, -0.16488628089427948, 0.5159628391265869, 0.38314515352249146, -0.5034454464912415, 0.919645369052887, 0.06565776467323303, -0.19159212708473206, 0.262488454580307, 0.5009742975234985, 0.38315823674201965, 0.273831307888031, 0.36530962586402893, 0.5343498587608337, 0.9801213145256042, -0.25036314129829407, 1.1738557815551758, -0.11881670355796814, 0.16280615329742432, 0.7193275690078735, -0.146678626537323, 0.6572092175483704, 0.5596545934677124, 0.20878121256828308, 0.35315635800361633, 0.7689896821975708, 0.3079119026660919, 0.4699830710887909, 0.272875040769577, -0.25008732080459595, -0.13589386641979218, -0.19793999195098877, -0.5598927736282349, 0.10876436531543732, 0.5266383290290833, -0.3572167456150055, -0.3381546437740326, 0.24209965765476227, -0.12156294286251068, 0.23230965435504913, -0.3382098972797394, 0.750996470451355, -0.23816856741905212, -0.8523009419441223, 0.5359858274459839, -0.054300110787153244, 0.49028754234313965, -0.15666791796684265, -0.10984550416469574, -0.6042008996009827, -0.041926585137844086, -0.17637136578559875, -0.6510382294654846, 0.29627084732055664, -0.21811972558498383, -0.22778403759002686, -0.020545117557048798, 0.7905672788619995, -0.3396865129470825, -0.19545821845531464, 0.02098015509545803, 0.6120861172676086, 0.27765631675720215, -0.2663033902645111, -0.41909563541412354, -0.09380164742469788, -0.11525390297174454, -0.2964475452899933, 0.41995298862457275, 0.7725308537483215, -0.4254261553287506, 0.4231526851654053, 0.7336695790290833, -0.1643349826335907, 0.07012950628995895, -0.02059541828930378, 1.0655626058578491, -0.5529550313949585, -0.6666256785392761, -0.5453404784202576, 0.09076252579689026, -0.3666987121105194, -0.3701370060443878, 0.8621411323547363, 0.6732061505317688, 0.6982646584510803, 0.06370608508586884, 0.7399246096611023, -0.0344277024269104, 0.8860925436019897, -0.5673696398735046, 0.3015435039997101, -0.5336697697639465, 0.5293409824371338, -0.17860344052314758, -1.200024127960205, -0.12511643767356873, 0.322505921125412, -0.28377461433410645, 0.2626229226589203, 0.4999074339866638, 1.064972996711731, 0.2925247251987457, -0.002213245490565896, 0.4128359258174896, -0.09496255964040756, 0.45308318734169006, 0.4137537479400635, 0.9356078505516052, -0.5474756956100464, 0.6353328824043274, 0.25420647859573364, -0.23151229321956635, -0.47774678468704224, -0.6970669627189636, -0.7789461612701416, -0.704221248626709, -0.09567242860794067, -0.43801191449165344, -0.047092266380786896, 0.7615727186203003, 0.3848887085914612, -0.8411455154418945, 0.1732776165008545, -0.07157835364341736, 0.3253338932991028, 0.14879420399665833, -0.30011671781539917, 0.5181883573532104, -0.5794463753700256, -0.5711265802383423, 0.43350210785865784, 0.26603156328201294, 0.12060444056987762, -0.08143661916255951, 0.045681219547986984, -0.181852325797081, 0.22755184769630432, 0.7161591053009033, 0.2844654619693756, -0.5501273274421692, -0.8001682758331299, 0.24759235978126526, 0.18511371314525604, 0.09393980354070663, 0.74751216173172, -0.7893350720405579, 0.5895253419876099, 0.7931382060050964, 0.7147917151451111, 0.46396419405937195, 0.5046181082725525, 0.34741485118865967, -1.2084859609603882, 0.11739997565746307, 0.18006445467472076, 0.17448130249977112, 0.5617172122001648, -0.6448799967765808, 0.40980517864227295, 0.09951147437095642, -0.636469841003418, -0.7986779808998108, 0.20347249507904053, -0.5691471099853516, -0.3767234981060028, 1.1495954990386963, 0.0979401096701622, -0.24187134206295013, -0.28564170002937317, -0.2984701097011566, 0.08784186840057373, -0.4154820442199707, 0.44582080841064453, 0.6320293545722961, -0.4705207943916321, -0.2179446965456009, -0.5347772836685181, 0.6857374906539917, 0.2955407202243805, -0.6847906112670898, -0.2831277549266815, 0.6387543082237244, 0.23372559249401093, 0.3731176555156708, 0.4681723713874817, -0.2514913082122803, 0.23182280361652374, -0.10793046653270721, -0.2628610134124756, -0.03803257644176483, -0.06069996953010559, -0.41894376277923584, 0.41696566343307495, 0.13972096145153046, -0.39612606167793274 ]
http://arxiv.org/abs/2407.01394v1
http://arxiv.org/pdf/2407.01394v1
Gloss2Text: Sign Language Gloss translation using LLMs and Semantically Aware Label Smoothing
2024-07-01T15:46:45
2024-07-01T15:46:45
Pooya Fayyazsanavi, Antonios Anastasopoulos, Jana Košecká
cs.CV
cs.CV, cs.CL, cs.LG
Sign language translation from video to spoken text presents unique challenges owing to the distinct grammar, expression nuances, and high variation of visual appearance across different speakers and contexts. The intermediate gloss annotations of videos aim to guide the translation process. In our work, we focus on {\em Gloss2Text} translation stage and propose several advances by leveraging pre-trained large language models (LLMs), data augmentation, and novel label-smoothing loss function exploiting gloss translation ambiguities improving significantly the performance of state-of-the-art approaches. Through extensive experiments and ablation studies on the PHOENIX Weather 2014T dataset, our approach surpasses state-of-the-art performance in {\em Gloss2Text} translation, indicating its efficacy in addressing sign language translation and suggesting promising avenues for future research and development.
[ -0.19276900589466095, -0.667280375957489, 0.600115180015564, 0.3017943203449249, -0.48996055126190186, 0.026942819356918335, -0.07572843879461288, -0.7422251105308533, 0.0582067109644413, 0.7608228325843811, -0.6617175936698914, -0.6448099613189697, -1.1904875040054321, -0.03582540899515152, -0.6306007504463196, 0.966059148311615, -0.3101179003715515, 0.04570450633764267, 0.023278241977095604, 0.16418394446372986, 0.07494322210550308, -0.30275580286979675, -0.9044177532196045, -0.39661720395088196, 0.16773338615894318, 0.5185590386390686, 1.1226922273635864, 0.47922855615615845, 0.7541738748550415, 0.21140602231025696, 0.01867864467203617, 0.30154475569725037, -0.355772465467453, 0.1850767731666565, 0.1789751797914505, -0.09482671320438385, -0.7186190485954285, -0.17690172791481018, 0.6675384044647217, 0.48826056718826294, 0.10888855904340744, 0.06089843437075615, -0.30335041880607605, 0.395694762468338, -0.38175925612449646, 0.18422172963619232, -0.42144301533699036, -0.00043335973168723285, -0.45040228962898254, 0.001891745487228036, -0.22844570875167847, -0.07312343269586563, -0.07639718800783157, -0.8641645908355713, -0.01966448687016964, 0.20357517898082733, 0.8103320002555847, 0.7112526297569275, -0.8640109896659851, -0.17996276915073395, -0.9034102559089661, 0.4552849233150482, -0.8928758502006531, 0.5920538902282715, 0.6008954644203186, 0.35818904638290405, -0.22317306697368622, -1.0156229734420776, -0.6162831783294678, 0.14328797161579132, 0.116620734333992, 0.3664608597755432, 0.2017485499382019, 0.24612513184547424, 0.11710844933986664, 0.48217740654945374, -0.42519640922546387, 0.3244047164916992, -0.19974711537361145, -0.38697463274002075, 0.6801955699920654, -0.09661772102117538, 0.39896297454833984, 0.13130493462085724, -0.44863662123680115, -0.2598021626472473, -0.434280127286911, -0.25903773307800293, 0.033863067626953125, 0.3250289559364319, -0.3851335644721985, 0.5637969374656677, -0.12793678045272827, 0.6720348000526428, -0.468657523393631, -0.31514883041381836, 0.2890801429748535, -0.3313765823841095, -0.2415652871131897, -0.07780197262763977, 0.7236565351486206, 0.5824083089828491, 0.24867701530456543, -0.022728851065039635, -0.40665045380592346, -0.2634775638580322, -0.3387214243412018, -0.7123180031776428, -0.19081811606884003, 0.14082787930965424, -0.04244798794388771, 0.09447658061981201, -0.17945173382759094, -0.5154305696487427, -0.723106324672699, -0.34261664748191833, 0.38386404514312744, -0.18022488057613373, -0.29805687069892883, 0.2413409948348999, -0.03887752816081047, 0.19986627995967865, 0.5932807922363281, -0.9706246852874756, 0.4754059910774231, 0.665042519569397, 0.7756327986717224, -0.17219489812850952, 0.02355443313717842, -0.34219634532928467, 0.4098970592021942, -0.29999393224716187, 0.4928290545940399, -0.3843744397163391, -0.21927450597286224, 0.21096226572990417, -0.1749924123287201, 0.13223320245742798, -0.30682846903800964, 0.5480560064315796, -0.5643624067306519, 0.14725413918495178, 0.07931474596261978, -0.43372538685798645, -0.1709764301776886, -0.01339735183864832, -0.41145262122154236, 1.2773768901824951, 0.1597880870103836, -0.09763595461845398, 0.4175102412700653, -0.4430133104324341, -0.508814811706543, -0.0015176761662587523, 0.15572446584701538, -0.576030969619751, 0.011943189427256584, 0.1390964686870575, 0.15354526042938232, -0.3520415425300598, -0.05154719203710556, 0.1196974515914917, 0.02537255547940731, 0.3916229009628296, -0.14903554320335388, 0.11636625230312347, 0.20652088522911072, -0.3918362855911255, 0.12667334079742432, -0.5183320045471191, -0.10007376223802567, -0.11204677075147629, -0.03561631962656975, -0.346707284450531, -0.12000256776809692, 0.3798576295375824, 0.4914819896221161, 0.46447956562042236, -0.33334410190582275, 0.081709124147892, -0.4865349233150482, 0.09150514006614685, 0.4536062180995941, -0.027451107278466225, 0.46741846203804016, 0.3258005380630493, 0.35315611958503723, 0.03598729521036148, 0.527934730052948, 0.08021388202905655, -0.9657444357872009, -0.8992854952812195, 0.014599372632801533, 0.005042691715061665, 0.6497845649719238, -0.6982255578041077, 0.030112631618976593, -0.1777653843164444, -0.1705361157655716, -0.514266848564148, 0.5270707011222839, 0.6763114929199219, 0.48508334159851074, 0.7408847808837891, -0.45341283082962036, -0.45529454946517944, -0.7739712595939636, 0.02065885439515114, -0.177090123295784, -0.030061542987823486, 0.04907803237438202, 0.3261706829071045, -0.2364678829908371, 0.5117800831794739, -0.4478510022163391, -0.5906941294670105, 0.05999520793557167, 0.06470376253128052, 0.14226427674293518, 0.15533609688282013, 0.2996988296508789, -1.2078816890716553, -0.6791400909423828, 0.0766381099820137, -0.49868446588516235, -0.34235596656799316, -0.12662017345428467, -0.06684646010398865, 0.2984883785247803, 0.8302028775215149, -0.15075358748435974, 0.42672568559646606, 0.9703022241592407, -0.6587736010551453, 0.16948071122169495, -0.16334247589111328, 0.25865769386291504, -0.9492802023887634, -0.29715657234191895, -0.08792831003665924, -0.4431903064250946, -0.8365193009376526, -0.2385440468788147, -0.05029124766588211, 0.14971238374710083, -0.5627356171607971, 0.6730855107307434, -0.5774478316307068, -0.28086617588996887, -0.6127299666404724, 0.5683236122131348, -0.14938321709632874, 0.021877191960811615, 0.20144374668598175, 0.8789217472076416, 0.6538358330726624, -0.8390577435493469, 0.3916308879852295, 0.568856418132782, -0.13440309464931488, 0.3022197484970093, -0.30700182914733887, -0.006944552529603243, 0.004412555601447821, 0.09083956480026245, -1.215145230293274, -0.35760581493377686, 0.6994818449020386, -0.38303688168525696, 0.5906148552894592, 0.00007123858813429251, -0.48766401410102844, -0.25389012694358826, 0.09215178340673447, 0.30340367555618286, 0.7838979959487915, -0.35082072019577026, 0.36238303780555725, 0.5066649913787842, -0.28257936239242554, -0.2846294343471527, -0.9239498972892761, 0.5864228010177612, -0.07668262720108032, -0.648905873298645, 0.5399879217147827, 0.038507238030433655, -0.28322833776474, -0.2700689136981964, -0.19154804944992065, -0.0716123953461647, 0.059421688318252563, 0.29325640201568604, -0.07562354952096939, 0.045826081186532974, 0.1398521214723587, 0.08049602806568146, -0.3410508632659912, 0.0216100811958313, -0.35234472155570984, 0.22679638862609863, 0.09207481145858765, -0.16599492728710175, -0.34806016087532043, 0.20552250742912292, 0.31719905138015747, 0.07690421491861343, 0.7349107265472412, 0.6917547583580017, -0.23182830214500427, -0.04247039183974266, -0.3085522949695587, -0.2686714231967926, -0.49367308616638184, 0.4039931893348694, -0.4131782352924347, -0.7648559212684631, 0.4402930736541748, -0.35152262449264526, 0.017520897090435028, 0.3395363688468933, 0.43298858404159546, -0.15956230461597443, 0.9436149597167969, 0.6345551609992981, 0.4670225977897644, 0.6412384510040283, 0.07224991917610168, 0.21483522653579712, -0.8310360312461853, -0.5211696624755859, -0.1683088093996048, -0.17573700845241547, -0.369032084941864, -0.7486702799797058, 0.4392879605293274, 0.21393276751041412, -0.03409528359770775, 0.4757063090801239, -0.3568890392780304, 0.093663290143013, 0.2797251343727112, -0.04235057532787323, 0.4590746760368347, 0.13171444833278656, 0.21129333972930908, -0.26910051703453064, -0.1617783159017563, -0.5367695093154907, 0.8900151252746582, 0.5029004216194153, 0.48132482171058655, 0.6145279407501221, 0.32793673872947693, 0.3960300087928772, 0.3965851366519928, -0.7422141432762146, 0.6818609833717346, -0.39139899611473083, -0.5870788097381592, -0.5326332449913025, -0.1508985012769699, -0.6323835253715515, 0.1821870505809784, -0.3329946994781494, -0.6106707453727722, -0.21316154301166534, 0.33820298314094543, 0.3577142059803009, 0.041065700352191925, -0.5456798076629639, 0.7448948621749878, -0.5281668305397034, -0.29561540484428406, 0.05902256816625595, -0.9265461564064026, 0.2960589528083801, -0.19369809329509735, 0.5925893187522888, -0.3197639286518097, -0.6086500287055969, 0.7159236669540405, -0.5702950954437256, 0.8678101897239685, -0.1284438669681549, -0.6546534299850464, 0.15805229544639587, -0.10672643035650253, 0.5639680027961731, -0.09410300105810165, 0.09042007476091385, 0.08276772499084473, -0.3068723976612091, -0.3494681715965271, -0.6305485963821411, 0.36512187123298645, -0.6333303451538086, -0.5037640929222107, -0.39024123549461365, -0.46987470984458923, -0.4307066798210144, 0.22973966598510742, 0.20390890538692474, 0.08780506998300552, -0.08563181012868881, -0.6095442771911621, 0.6083744168281555, 0.05980764329433441, 0.3790751099586487, 0.6262733936309814, -0.5678595304489136, -0.6360178589820862, 0.8328752517700195, -0.12369938939809799, 0.5357027649879456, 0.4420730471611023, -0.10420136153697968, -0.5824680328369141, -0.8742425441741943, -0.42189085483551025, 0.4825705885887146, -0.860845148563385, -0.06336550414562225, -0.2596459686756134, 0.011875110678374767, -0.8825446367263794, -0.08279649913311005, -0.4332112669944763, -0.7654913663864136, -0.07891418039798737, -0.1742924153804779, 0.7088809609413147, 0.7052430510520935, -0.1290588527917862, 0.8938083648681641, -0.48096123337745667, 0.5083916783332825, 0.10803195089101791, 0.33321961760520935, -0.5879607200622559, -0.8541634678840637, -0.391268253326416, 0.016052795574069023, -0.11717554926872253, -0.8366966247558594, 0.28440061211586, 0.5859191417694092, 0.30644410848617554, 0.388373464345932, -0.08395016193389893, 0.572435200214386, -0.32226890325546265, 0.865279495716095, 0.4525831937789917, -0.9052633047103882, 0.5670527815818787, -0.27279606461524963, 0.4052501916885376, 0.4556352198123932, 0.2543773055076599, -0.8489254713058472, -0.4910632073879242, -0.3394327759742737, -1.318604588508606, 0.5833610892295837, 0.44153621792793274, -0.05679519101977348, 0.22527047991752625, 0.48810893297195435, -0.15222838521003723, 0.12758849561214447, -0.6044356226921082, -0.6256552338600159, -0.26055777072906494, -0.19448430836200714, -0.5036084651947021, -0.2774619162082672, -0.15680871903896332, -0.05915253236889839, 0.9807896614074707, -0.03198869153857231, -0.0538153238594532, 0.10759037733078003, -0.19348160922527313, -0.06687072664499283, 0.1768082082271576, 0.8884789943695068, 0.12791426479816437, -0.14040280878543854, 0.30766773223876953, 0.18569189310073853, -0.7837631702423096, 0.13008898496627808, 0.07948898524045944, -0.5012588500976562, 0.06637226045131683, 0.2916371524333954, 1.0110552310943604, 0.30986183881759644, -0.46045103669166565, 0.41375452280044556, 0.21188519895076752, -0.1693529188632965, -0.6279529929161072, -0.14439484477043152, -0.05207660049200058, -0.015002535656094551, 0.28133609890937805, -0.08931713551282883, 0.3665129840373993, -0.40974223613739014, 0.276832640171051, 0.11607146263122559, -0.6309998631477356, -0.25960683822631836, 0.9990302324295044, 0.3460639715194702, -0.2527157664299011, 0.3989674150943756, 0.08024632930755615, -0.5014144778251648, 0.4438912272453308, 0.6544555425643921, 0.7920199632644653, -0.45197921991348267, 0.25903555750846863, 0.32509198784828186, 0.34456077218055725, -0.15546025335788727, 0.24164609611034393, -0.05081562697887421, -0.45534002780914307, -0.49918439984321594, -0.6463615298271179, -0.6589034199714661, -0.16155876219272614, -0.4251401126384735, 0.3057069778442383, -0.1537484973669052, -0.46451523900032043, -0.2975423038005829, -0.2813461124897003, -0.2970253527164459, 0.7170724272727966, 0.8230270743370056, 0.9460875988006592, -1.1807366609573364, 0.7198506593704224, 0.7704126834869385, -0.32046979665756226, -0.35584577918052673, -0.18338248133659363, 0.2320290207862854, -0.7665761709213257, 0.5955076217651367, -0.0730641558766365, -0.4505152404308319, 0.3235397934913635, -0.3886699080467224, -1.1382217407226562, 0.8272221088409424, 0.05177777633070946, -0.3612392544746399, 0.04468346759676933, 0.6348980665206909, 0.5445372462272644, -0.27185168862342834, 0.2521163523197174, 0.728801965713501, 0.9825177788734436, 0.600414514541626, -1.0358765125274658, 0.09050339460372925, -0.21435952186584473, 0.1252998411655426, 0.3700418472290039, -0.5016483664512634, 0.2576291263103485, -0.21983125805854797, -0.33832141757011414, 0.13131198287010193, 1.047145128250122, -0.17809882760047913, 0.6450814008712769, 0.18057291209697723, 0.3976616859436035, 0.6207772493362427, -0.4558277428150177, 0.9630311727523804, -0.1386496126651764, 0.08428549021482468, 1.1168456077575684, 0.0032996409572660923, 0.7486850619316101, 0.7644413113594055, -0.13420839607715607, 0.34219855070114136, 0.7153651714324951, 0.11456995457410812, 0.6304963827133179, 0.18455146253108978, -0.4680531620979309, -0.5093680620193481, -0.34584346413612366, -0.31352296471595764, 0.23646260797977448, 0.8308904767036438, -0.26260167360305786, -0.16481420397758484, 0.2819303870201111, 0.26697131991386414, 0.4807727336883545, -0.4192478656768799, 0.8316864371299744, 0.4523741602897644, -0.5572287440299988, 0.549219012260437, 0.1095818504691124, 0.6153439283370972, -0.7952190637588501, 0.013317720964550972, -0.0977875292301178, 0.11043854057788849, -0.43867936730384827, -0.9324584603309631, 0.268250048160553, -0.3395170271396637, 0.19346937537193298, -0.557251513004303, 0.2952052056789398, -0.6840415596961975, -0.32082661986351013, 0.470783531665802, 0.10409752279520035, 0.6480434536933899, 0.1620635688304901, -0.6634390354156494, 0.24459686875343323, -0.1063481941819191, -0.3261139690876007, 0.10959240049123764, 0.21919649839401245, -0.22455474734306335, 0.6786471605300903, 0.4312005043029785, 0.10860822349786758, 0.27777624130249023, 0.37983283400535583, 0.5520690083503723, -0.5280784368515015, -0.1741495430469513, -0.5367695093154907, 0.6165754199028015, -0.16354520618915558, -0.4899630844593048, 1.0395623445510864, 0.7895869016647339, 0.5760993361473083, -0.09498732537031174, 0.7558586597442627, -0.04087124392390251, 0.20983903110027313, -0.8843512535095215, 0.3000315725803375, -0.5223108530044556, 0.11698266118764877, -0.36825671792030334, -0.8791218400001526, -0.75001060962677, 0.20333518087863922, -0.38756030797958374, -0.017189662903547287, 0.6759347319602966, 0.7618948221206665, 0.1570785641670227, -0.3211326003074646, 0.5126343369483948, 0.2678772509098053, 0.38587358593940735, 0.5400702357292175, 0.34485042095184326, -1.0897603034973145, 0.6351826190948486, -0.03821326792240143, -0.28779277205467224, -0.36447474360466003, -0.8233623504638672, -0.5858023166656494, -0.9203171133995056, -0.8151211738586426, -0.5145499110221863, 0.11611165851354599, 0.29309770464897156, 0.6330522298812866, -0.8030624985694885, -0.22636492550373077, -0.12862342596054077, -0.05799983814358711, -0.2648082673549652, -0.14898906648159027, 0.35997575521469116, -0.1388453096151352, -0.9169043302536011, 0.6144738793373108, 0.2440485954284668, 0.6841390132904053, -0.03047795593738556, -0.4589609205722809, -0.025914425030350685, 0.13705606758594513, 0.5629832744598389, 0.4727133810520172, -0.750299334526062, -0.22102031111717224, -0.1898050606250763, -0.3422172963619232, -0.09234646707773209, 0.5265587568283081, -0.43010708689689636, 0.41204023361206055, 0.36208575963974, 0.047624167054891586, 1.0312570333480835, 0.21210730075836182, 0.5440683364868164, -0.7829339504241943, 0.2682052254676819, -0.08263092488050461, 0.03947657719254494, 0.7064974904060364, -0.21147051453590393, 0.6723734736442566, 0.1265539675951004, -0.3491077721118927, -0.5282784104347229, 0.5497505068778992, -1.3014661073684692, -0.13128121197223663, 1.3344082832336426, 0.2574860453605652, -0.1735297441482544, -0.2960391938686371, -0.11826364696025848, 0.38619181513786316, -0.2677728831768036, 0.44678112864494324, 0.5436432957649231, -0.25788185000419617, -0.5202861428260803, -0.6677020192146301, 0.9515997767448425, 0.31690627336502075, -0.5976952910423279, 0.014835773035883904, 0.4732562005519867, 0.09215015172958374, 0.15097855031490326, 0.7730851769447327, -0.13485826551914215, 0.22351540625095367, -0.01806521601974964, 0.2576395869255066, -0.23239050805568695, -0.28273969888687134, -0.15408723056316376, -0.25141218304634094, 0.3733571767807007, 0.030476469546556473 ]
http://arxiv.org/abs/2407.01393v1
http://arxiv.org/pdf/2407.01393v1
POLygraph: Polish Fake News Dataset
2024-07-01T15:45:21
2024-07-01T15:45:21
Daniel Dzienisiewicz, Filip Graliński, Piotr Jabłoński, Marek Kubis, Paweł Skórzewski, Piotr Wierzchoń
cs.CL
cs.CL
This paper presents the POLygraph dataset, a unique resource for fake news detection in Polish. The dataset, created by an interdisciplinary team, is composed of two parts: the "fake-or-not" dataset with 11,360 pairs of news articles (identified by their URLs) and corresponding labels, and the "fake-they-say" dataset with 5,082 news articles (identified by their URLs) and tweets commenting on them. Unlike existing datasets, POLygraph encompasses a variety of approaches from source literature, providing a comprehensive resource for fake news detection. The data was collected through manual annotation by expert and non-expert annotators. The project also developed a software tool that uses advanced machine learning techniques to analyze the data and determine content authenticity. The tool and dataset are expected to benefit various entities, from public sector institutions to publishers and fact-checking organizations. Further dataset exploration will foster fake news detection and potentially stimulate the implementation of similar models in other languages. The paper focuses on the creation and composition of the dataset, so it does not include a detailed evaluation of the software tool for content authenticity analysis, which is planned at a later stage of the project.
[ -0.2598390579223633, -0.9843027591705322, 0.7033450603485107, 0.3081495761871338, -0.4788781404495239, 0.45421940088272095, 0.03240549564361572, -0.5240340828895569, 0.5774463415145874, 0.6341708898544312, -0.48080140352249146, -0.7373672723770142, -0.6027026176452637, 0.13821659982204437, -0.7084664106369019, 0.9524182081222534, -0.040220290422439575, 0.29202961921691895, -0.17181040346622467, 0.028079818934202194, -0.01950296200811863, -0.40793952345848083, -0.012263108976185322, -0.1516040861606598, 0.19569511711597443, 0.3218490183353424, 0.5901656150817871, 0.41222885251045227, 0.2723104655742645, 0.1635926216840744, 0.26931554079055786, 0.5397013425827026, -0.548302173614502, -0.4092997908592224, -0.27527207136154175, -0.14018145203590393, -0.2898176908493042, 0.19245333969593048, 0.5863606333732605, 0.40620678663253784, 0.102834053337574, 0.5602179765701294, -0.36720922589302063, 0.7649377584457397, -0.47016698122024536, 0.35445961356163025, -0.5187029242515564, 0.1171906590461731, -0.8087639808654785, 0.18307094275951385, -0.5940494537353516, -0.5453878045082092, -0.44837555289268494, -0.7608248591423035, 0.23040233552455902, 0.18995364010334015, 0.9603691697120667, -0.2694684565067291, -0.39309456944465637, -0.2763358950614929, -0.7614757418632507, 0.5440570712089539, -0.43267643451690674, 0.16049131751060486, 0.25713998079299927, 0.364660382270813, -0.20137855410575867, -0.7450525760650635, -0.8936281800270081, 0.22485777735710144, 0.05401851236820221, 0.21386457979679108, -0.16545075178146362, -0.555320680141449, 0.1073487401008606, 0.5300337672233582, -0.7480778098106384, -0.20054936408996582, -0.6278907060623169, -0.6067076921463013, 0.7798299193382263, 0.11610431224107742, 0.625766932964325, -0.23354555666446686, -0.30193620920181274, 0.026239950209856033, -0.597343921661377, -0.20931164920330048, 1.0318816900253296, 0.35437533259391785, -0.21118348836898804, 0.5788774490356445, -0.5615986585617065, 0.8285898566246033, -0.31247350573539734, -0.2903611361980438, 0.9276171326637268, -0.5015851855278015, 0.0001785197964636609, 0.25013187527656555, 1.033707618713379, 0.21500436961650848, 0.4522080719470978, -0.0012160069309175014, -0.13169479370117188, 0.29574039578437805, 0.24559146165847778, -0.1256486475467682, -0.3237011730670929, 0.13312815129756927, -0.6897897124290466, -0.7839120626449585, 0.8833397030830383, -0.5684075355529785, -0.38659361004829407, -0.2676926255226135, 0.3819989860057831, -0.30393093824386597, -0.5563007593154907, 0.3718162477016449, -0.31689193844795227, -0.1658380776643753, 0.2411140650510788, -0.1324862390756607, 0.4042752981185913, 0.5578057765960693, 0.6286939978599548, -0.07833277434110641, -0.17139817774295807, -0.3019402325153351, -0.04757677763700485, -0.6097533702850342, 0.8863067626953125, -0.36637258529663086, 0.1320803016424179, -0.05158231034874916, 0.27776944637298584, 0.2851718068122864, -0.29831817746162415, 0.733344554901123, -0.5658712387084961, 0.5439522862434387, -0.31686046719551086, -0.5904093384742737, -0.35396283864974976, 0.14510837197303772, -1.0758470296859741, 1.2571799755096436, 0.2964504361152649, -0.9836515784263611, 0.42447710037231445, -0.3943862020969391, -0.530624508857727, 0.2965540289878845, 0.07754583656787872, -0.5030399560928345, 0.10462751984596252, 0.21412520110607147, -0.1094413697719574, 0.051073864102363586, 0.17607425153255463, -0.2628055214881897, -0.2847476303577423, 0.17590422928333282, -0.2412302941083908, 1.276082992553711, -0.03196195513010025, -0.19185124337673187, -0.2325081080198288, -0.8638401627540588, -0.109334796667099, 0.4220622777938843, -0.07231946289539337, -0.2694300413131714, -0.0006148716784082353, 0.2837204933166504, 0.5355519652366638, 0.46988192200660706, -1.2016475200653076, 0.15436741709709167, -0.10405302047729492, -0.15397591888904572, 0.29926639795303345, 0.13247160613536835, -0.12222861498594284, -0.40334415435791016, 0.383179634809494, 0.09537045657634735, 0.5491555333137512, -0.013619652949273586, -0.6646263599395752, -0.45188140869140625, 0.029754074290394783, 0.5451583862304688, 0.728320837020874, -0.8857387900352478, 0.4017232358455658, -0.2832726538181305, -0.628622829914093, -0.5167100429534912, 0.023730799555778503, 0.27584490180015564, 0.6661216616630554, 0.22811034321784973, -0.02418353594839573, -0.7501827478408813, -1.036916971206665, -0.3896764814853668, -0.16792894899845123, 0.18895287811756134, 0.04396199807524681, 0.5865824818611145, 0.5477096438407898, 0.9190219640731812, -0.17648914456367493, -0.485861599445343, -0.24239715933799744, 0.1786457747220993, 0.5980451107025146, 0.08257737755775452, 0.6955764889717102, -1.1991132497787476, -0.9555391073226929, -0.4239404499530792, -1.020721673965454, -0.15992215275764465, -0.028524553403258324, 0.17391151189804077, 0.4209241271018982, 0.24666817486286163, -0.3278815448284149, 0.4262404441833496, 0.812878429889679, -0.5356125235557556, 0.9229459166526794, -0.0018612344283610582, 0.2909276783466339, -0.7794021368026733, -0.07196325063705444, -0.1456087976694107, -0.6220112442970276, -0.6023550629615784, -0.12491870671510696, 0.043819114565849304, -0.13599681854248047, -0.8216939568519592, 0.4021743834018707, -0.26992300152778625, -0.24716581404209137, -0.1059722900390625, 0.01396619901061058, 0.18755695223808289, -0.03939118608832359, -0.01587146334350109, 0.69229656457901, 0.7016800045967102, 0.07633781433105469, 0.90641188621521, 0.30121326446533203, -0.7692107558250427, 0.2539340555667877, -0.4651139974594116, 0.21761196851730347, -0.1436896175146103, 0.40372902154922485, -0.7698521614074707, -0.34098199009895325, 0.6768862009048462, -0.7148330807685852, -0.4483684301376343, -0.17455023527145386, -1.230912685394287, -0.605833113193512, -0.2848227918148041, -0.05592663213610649, 0.4091564118862152, -0.37673529982566833, 0.3740614652633667, 0.5494053363800049, 0.05976198613643646, -0.4413210153579712, -0.6054803729057312, 0.3149908185005188, 0.2437189221382141, -0.7704579830169678, 0.240544393658638, 0.1469581574201584, -0.30868062376976013, 0.5684983730316162, 0.12880028784275055, -0.23647606372833252, -0.24923276901245117, 0.1996188908815384, 0.3104190528392792, -0.22679665684700012, 0.03771352395415306, -0.17422790825366974, 0.04374237358570099, -0.09014124423265457, -0.23396354913711548, 0.6233673691749573, -0.1816605031490326, -0.34872326254844666, -0.6971114873886108, 0.2650093734264374, 0.7861191034317017, -0.12113039195537567, 1.0842176675796509, 0.7806979417800903, -0.30981966853141785, -0.20156078040599823, -0.39573943614959717, 0.21046729385852814, -0.35287582874298096, -0.10784710943698883, -0.11090245097875595, -0.1266978681087494, 0.5576146841049194, 0.18592871725559235, -0.33188825845718384, 0.556738555431366, 0.6957312822341919, -0.03554379940032959, 0.8844063878059387, 0.39236757159233093, -0.35060152411460876, 0.2770971655845642, -0.11705353111028671, 0.21205750107765198, -0.1034269854426384, -0.5191251635551453, -0.12160065025091171, -0.15971185266971588, -0.3879014253616333, -0.3119780123233795, 0.28352072834968567, -0.3379124402999878, 0.1641126573085785, 0.19750924408435822, -0.4145483076572418, 0.7219417691230774, 0.6134275794029236, 0.4338819086551666, 0.6262329816818237, 0.32548823952674866, 0.1342950016260147, 0.030039697885513306, -0.5841366052627563, -0.5943244695663452, 1.1210908889770508, 0.04927917569875717, 0.3307892084121704, 0.057152677327394485, 0.37656351923942566, 0.8309182524681091, -0.010241542011499405, -0.5122725367546082, 0.4638803005218506, -0.46946197748184204, -0.8473039269447327, -0.3699723184108734, -0.303032249212265, -0.45231643319129944, -0.06600624322891235, -0.4412732720375061, -0.27815142273902893, 0.12560848891735077, 0.04730002582073212, 0.07515400648117065, 0.673743724822998, -0.411277174949646, 0.6439374089241028, -0.12237238883972168, -0.05823620781302452, -0.2615763247013092, -0.40200385451316833, 0.290920227766037, -0.3553647994995117, 0.5805202126502991, -0.4418674111366272, 0.006372304167598486, 0.3699823319911957, -0.3176104724407196, 0.7386548519134521, -0.27773886919021606, 0.2812005281448364, 0.3271947503089905, 0.1707531213760376, 0.48263391852378845, -0.03634776175022125, -0.2699440121650696, 0.4052234888076782, -0.31978023052215576, -0.6487767100334167, -0.10153641551733017, 0.31411001086235046, -0.49323806166648865, -0.05375371873378754, -0.5263790488243103, -0.5921290516853333, 0.0036468880716711283, 0.6303518414497375, 0.4600676894187927, 0.6073541641235352, -0.3251575529575348, 0.19913546741008759, 0.541183352470398, -0.16534295678138733, 0.19908642768859863, 0.771598219871521, -0.2622293531894684, -0.28092315793037415, 1.0245205163955688, 0.28066906332969666, -0.09658355265855789, -0.08115092664957047, 0.06210947409272194, -0.10868943482637405, -0.38431939482688904, -0.5058653950691223, 0.40325823426246643, -0.3173693120479584, -0.07563421875238419, -0.2524583637714386, -0.3395516276359558, -0.42724594473838806, 0.26152533292770386, -0.6436569094657898, -0.5565820336341858, -0.04045756906270981, -0.03589845076203346, 0.23231366276741028, 0.881740927696228, -0.17685763537883759, 0.020495068281888962, -0.5149734616279602, 0.7286627888679504, -0.07239614427089691, 0.44511231780052185, -0.5968122482299805, -0.17408037185668945, -0.23543992638587952, 0.20701681077480316, 0.001659627421759069, -1.0192997455596924, 0.39884597063064575, 0.007433746010065079, 0.5033778548240662, 0.2124439924955368, 0.5056176781654358, -0.1532212495803833, -0.36505964398384094, 0.8885829448699951, -0.130466490983963, -0.9120102524757385, 0.6604506969451904, -0.791552722454071, -0.13178905844688416, 0.4823329448699951, 0.651245653629303, -0.2979971170425415, -0.6344214677810669, -0.9184300899505615, -0.5393357276916504, 0.6128889918327332, 0.3423365652561188, 0.305935800075531, 0.00309775467030704, 0.062414251267910004, 0.20206138491630554, 0.31277644634246826, -0.9391278028488159, -0.30014699697494507, -0.29690298438072205, -0.3800863027572632, 0.4520086944103241, -0.41984209418296814, -0.28931373357772827, -0.17117317020893097, 0.9210558533668518, 0.0854053869843483, -0.02216484025120735, 0.2013658881187439, -0.3605383336544037, -0.060634154826402664, -0.3175926208496094, 0.5878320336341858, 1.2900923490524292, -0.16466939449310303, -0.026116006076335907, -0.24295225739479065, -0.5293455719947815, -0.049668021500110626, -0.3558238744735718, -0.4023726284503937, 0.63286954164505, 0.47792309522628784, 0.5925535559654236, -0.29926353693008423, -0.6114705204963684, 1.0450499057769775, 0.03319615498185158, -0.38171228766441345, -1.0575134754180908, -0.24997982382774353, -0.17535652220249176, -0.09619370847940445, 0.5425935387611389, -0.28963983058929443, 0.16933053731918335, -0.5360156893730164, 0.4890395402908325, -0.029392732307314873, -0.44292017817497253, -0.3824309706687927, 0.28886735439300537, 0.08437598496675491, -0.30837225914001465, 0.9090282917022705, -0.27086254954338074, -0.6848800778388977, 0.6331267356872559, 0.5576555728912354, 0.08390653878450394, -0.020515678450465202, 0.8362219929695129, 0.2115333378314972, 0.5579280853271484, -0.2538122832775116, 0.41554024815559387, 0.4289749264717102, -1.1116092205047607, -0.4584420919418335, -0.3228644132614136, -0.22329135239124298, 0.4084243178367615, -0.6835834383964539, 0.4745177626609802, -0.3751389682292938, 0.0003136873710900545, 0.02718903310596943, 0.10770270228385925, -0.11597990989685059, 0.06848883628845215, 0.4537986218929291, 1.2206053733825684, -1.6794568300247192, 0.9190082550048828, 0.6471129655838013, -0.3536324203014374, -0.37412187457084656, -0.1472988724708557, 0.4419640600681305, -0.7854538559913635, 0.5175530910491943, -0.1588064432144165, 0.054893966764211655, -0.2444697469472885, -0.6367071866989136, -0.6083022952079773, 0.5491562485694885, 0.5434743165969849, -0.4095683991909027, 0.11203451454639435, 0.4875335693359375, 0.4144635498523712, -0.31157851219177246, -0.4685709476470947, 0.25576117634773254, 0.7178258299827576, -0.32218554615974426, -0.7308077812194824, -0.15987636148929596, -0.3359849750995636, -0.46148744225502014, 0.24356162548065186, -0.8330115675926208, 0.9058751463890076, 0.38300320506095886, -0.056638091802597046, -0.20219218730926514, 0.3502030074596405, 0.05924108251929283, 0.4225383698940277, 0.585022509098053, 0.6366081237792969, 0.6071053147315979, -0.16193580627441406, 1.1326957941055298, -0.40113359689712524, 0.6631820797920227, 1.0498138666152954, 0.06964550912380219, 0.32144230604171753, 0.21237389743328094, 0.0449080616235733, 1.0257258415222168, 0.5507925152778625, -0.7012754082679749, 0.4355790615081787, -0.2268751710653305, -0.22701425850391388, -0.46014052629470825, -0.3426937162876129, -0.09013046324253082, 0.5651495456695557, 0.33716562390327454, -0.47638025879859924, -0.398654043674469, 0.18406035006046295, 0.12403887510299683, 0.2693774402141571, -0.26703038811683655, 0.5280566811561584, -0.3283109962940216, 0.11865279823541641, -0.1024707555770874, -0.13047903776168823, 0.04766184464097023, -0.41142991185188293, -0.07904188334941864, -0.043738462030887604, -0.19830197095870972, -0.39646008610725403, -1.145277738571167, 0.44792306423187256, -0.05362690985202789, -0.5048500299453735, -0.3501754701137543, 0.9581418037414551, -0.29767996072769165, -0.8461740016937256, 0.18401716649532318, 0.5710878372192383, 0.3368089199066162, -0.26280272006988525, -0.8147015571594238, 0.20288687944412231, -0.1264706403017044, -0.13319242000579834, -0.026998260989785194, 0.3872241675853729, -0.1789938062429428, 0.4247129261493683, 0.8023398518562317, 0.7314375638961792, -0.029846394434571266, 0.07737043499946594, 0.558232843875885, -0.18710002303123474, -0.7116124629974365, -0.6151387095451355, 0.3457609713077545, -0.6980431079864502, -0.11007580161094666, 1.0278352499008179, 1.039472222328186, 0.8995095491409302, -0.15241949260234833, 0.8194634318351746, -0.30811458826065063, 0.876380980014801, -0.4188061058521271, 0.8255868554115295, -0.26896435022354126, -0.08701035380363464, -0.09824328124523163, -0.7879437208175659, -0.29452353715896606, 0.22335873544216156, -0.1757684350013733, -0.44215622544288635, 0.46113651990890503, 0.6113713979721069, -0.38360705971717834, -0.12207240611314774, 0.27814963459968567, 0.26912614703178406, -0.09271330386400223, 0.11876793950796127, 0.7257712483406067, -0.5346054434776306, 0.455022394657135, -0.5075088739395142, -0.014287549071013927, -0.27438801527023315, -0.8425266742706299, -0.5996090173721313, -0.5662895441055298, -0.3540172576904297, -0.561917245388031, 0.15892662107944489, 0.4405973255634308, 0.9131306409835815, -0.9025064706802368, 0.046997908502817154, 0.04748544469475746, 0.3448486924171448, -0.04212740436196327, -0.3301810920238495, 0.38179507851600647, -0.03450952470302582, -0.5308536291122437, 0.29436352849006653, 0.13824039697647095, -0.041740335524082184, -0.18617726862430573, 0.4305359423160553, -0.12912258505821228, 0.11188849061727524, 0.3965153992176056, 0.2793477773666382, -0.42128729820251465, -0.4034830331802368, -0.19243136048316956, 0.021683407947421074, 0.13479730486869812, 0.788535475730896, -0.8840484023094177, 0.5606398582458496, 0.6569675803184509, -0.0444645993411541, 0.6529121994972229, 0.2008632868528366, 0.4558178782463074, -1.0424803495407104, 0.6461316347122192, 0.10295085608959198, 0.2056073248386383, 0.2719275951385498, -0.5416091084480286, 0.4846937358379364, 0.7212117910385132, -0.0777500793337822, -0.986169695854187, 0.09981627017259598, -0.9020946025848389, -0.43429821729660034, 0.8242064714431763, -0.03476067632436752, -0.49797946214675903, -0.6315801739692688, 0.14436966180801392, 0.13057368993759155, -0.27227330207824707, 0.8713209629058838, 1.0160555839538574, -0.23765765130519867, 0.09197163581848145, -0.6983655095100403, 0.38803231716156006, -0.25939202308654785, -0.8885543942451477, -0.09084555506706238, 0.4857112169265747, 0.6784271001815796, 0.2817833423614502, 0.5611945390701294, -0.6647588014602661, 0.482837051153183, 0.16751666367053986, 0.09358448535203934, -0.5431689620018005, -0.6647297143936157, 0.04482310637831688, 0.26660972833633423, -0.6010370254516602, -0.14547109603881836 ]
http://arxiv.org/abs/2407.01384v1
http://arxiv.org/pdf/2407.01384v1
Free-text Rationale Generation under Readability Level Control
2024-07-01T15:34:17
2024-07-01T15:34:17
Yi-Sheng Hsu, Nils Feldhus, Sherzod Hakimov
cs.CL
cs.CL
Free-text rationales justify model decisions in natural language and thus become likable and accessible among approaches to explanation across many tasks. However, their effectiveness can be hindered by misinterpretation and hallucination. As a perturbation test, we investigate how large language models (LLMs) perform the task of natural language explanation (NLE) under the effects of readability level control, i.e., being prompted for a rationale targeting a specific expertise level, such as sixth grade or college. We find that explanations are adaptable to such instruction, but the requested readability is often misaligned with the measured text complexity according to traditional readability metrics. Furthermore, the quality assessment shows that LLMs' ratings of rationales across text complexity exhibit a similar pattern of preference as observed in natural language generation (NLG). Finally, our human evaluation suggests a generally satisfactory impression on rationales at all readability levels, with high-school-level readability being most commonly perceived and favored.
[ -0.2897709310054779, -0.8443558812141418, 0.7955361008644104, 0.36551433801651, -0.3170766234397888, -0.3778846263885498, -0.194454625248909, -0.32037562131881714, -0.1937488615512848, 0.42411744594573975, -0.5778788328170776, -0.41942712664604187, -0.43317559361457825, 0.41779229044914246, -0.4461488127708435, 0.9164835214614868, -0.263824462890625, -0.25524476170539856, -0.4626319110393524, 0.1652299463748932, -0.46128150820732117, -0.49682193994522095, -0.519929051399231, -0.5437710881233215, 0.9187211394309998, 0.34512218832969666, 0.9738847613334656, 0.8320508599281311, 0.2435801923274994, 0.2427462637424469, -0.22501936554908752, -0.05097394436597824, -0.4701247215270996, 0.2643190026283264, -0.38348421454429626, -0.5721706748008728, -0.44387033581733704, 0.16568344831466675, 0.49037429690361023, 0.7589945197105408, 0.14138063788414001, -0.26345404982566833, 0.0672011598944664, 0.7399996519088745, -0.5823714733123779, -0.12807230651378632, -0.6613893508911133, -0.1471986323595047, 0.18871378898620605, -0.29095083475112915, -0.8150449395179749, -0.26451992988586426, 0.4347119629383087, -0.7887535095214844, 0.27012407779693604, 0.17164158821105957, 0.8575975298881531, 0.3553536832332611, -0.5135674476623535, -0.5552592277526855, -0.7442445755004883, 0.9054007530212402, -0.850219190120697, 0.39210793375968933, 0.4887898862361908, 0.0782076045870781, -0.2895556092262268, -0.3221060037612915, -0.7981192469596863, -0.4935038685798645, -0.16900072991847992, -0.047014784067869186, -0.26080435514450073, 0.20081137120723724, 0.4985859990119934, 0.3893028497695923, -0.5422664284706116, 0.13248948752880096, -0.06975797563791275, -0.08228572458028793, 0.5486997961997986, 0.03259870782494545, 0.41332870721817017, -0.4207518696784973, -0.3117615878582001, -0.012836266309022903, -0.44996190071105957, 0.2032751739025116, 0.44739946722984314, 0.23785988986492157, 0.08524727076292038, 0.7853253483772278, -0.2804190218448639, 0.5130249857902527, 0.11118913441896439, -0.05670538172125816, -0.1485862284898758, -0.37900570034980774, -0.4276621639728546, -0.054527755826711655, 0.5800146460533142, 0.44852033257484436, 0.44876426458358765, -0.21988345682621002, -0.45508137345314026, 0.09420748054981232, 0.34554505348205566, -0.8572779893875122, 0.061707206070423126, 0.3869000971317291, -0.43951547145843506, -0.38747379183769226, -0.1295212358236313, -0.6907615661621094, -0.5206034779548645, -0.7134063839912415, 0.45694851875305176, -0.5150750875473022, -0.05920372158288956, 0.39851146936416626, -0.01689237728714943, 0.20596151053905487, 0.49663418531417847, -1.1385575532913208, 0.011566673405468464, 0.5186272859573364, 0.6398739218711853, -0.26123759150505066, -0.1518828272819519, -0.29159337282180786, 0.1404854953289032, -0.36414822936058044, 0.8468716740608215, -0.6008356213569641, -0.22188150882720947, -0.13237811625003815, -0.14897875487804413, -0.34163567423820496, -0.4020824432373047, 0.5728645920753479, -0.4075547754764557, 0.44656693935394287, -0.15039925277233124, -0.651448667049408, -0.30421191453933716, 0.12417799234390259, -0.5733782649040222, 0.5951557159423828, -0.02176407352089882, -0.8455518484115601, 0.6390177011489868, -0.6015830039978027, -0.2522728145122528, -0.14417679607868195, 0.07931996136903763, -0.033247917890548706, 0.279552161693573, 0.31614062190055847, 0.36164143681526184, -0.21638311445713043, 0.19719336926937103, -0.17007920145988464, -0.1739751696586609, 0.48562800884246826, -0.7603549957275391, 0.6791685819625854, 0.07664624601602554, -0.48061931133270264, 0.6013607382774353, -0.8731181621551514, 0.0406607910990715, 0.014519954100251198, -0.4641247093677521, -0.46971091628074646, 0.24518416821956635, -0.2928076386451721, 0.15092915296554565, 0.14597827196121216, -0.2763334810733795, 0.0878216102719307, -0.5314199924468994, 0.3398419916629791, 0.6232572793960571, 0.1808663159608841, 0.6827333569526672, -0.4466301202774048, 0.5770017504692078, 0.007603247184306383, 0.06868289411067963, -0.08243728429079056, -0.281529039144516, -0.8090923428535461, -0.15678392350673676, -0.03670930117368698, 0.6238052845001221, -0.4719817042350769, 0.3086540997028351, 0.17480900883674622, -0.3947850465774536, -0.31085294485092163, 0.12189479917287827, 0.29611074924468994, 0.552794873714447, 0.4201463758945465, 0.3327266275882721, -0.22255706787109375, -0.8834359645843506, -0.5463237762451172, -0.08248215913772583, -0.3130839467048645, 0.09533680975437164, 0.4842837452888489, -0.39142554998397827, 0.7912554740905762, -0.14735370874404907, 0.2094116508960724, -0.391914039850235, 0.11018161475658417, 0.20869064331054688, 0.39049121737480164, 0.3049963116645813, -0.5487896203994751, -0.09683310240507126, -0.1914493441581726, -0.5361555218696594, -0.3617384135723114, -0.358175128698349, -0.3011052906513214, 0.4601547122001648, 0.45037004351615906, -0.4588548243045807, 0.6018332839012146, 0.29100143909454346, -0.5816131234169006, 0.6318005323410034, -0.36854276061058044, 0.013904999941587448, -0.7762952446937561, -0.05790451541543007, 0.13233056664466858, 0.0013971136650070548, -0.7137414813041687, 0.05277244374155998, 0.021550819277763367, 0.14276878535747528, -0.034640390425920486, 0.48392853140830994, -0.2833956182003021, 0.1353788524866104, -0.19841153919696808, 0.4182555675506592, 0.14878711104393005, 0.16516147553920746, -0.12324614822864532, 0.669679582118988, 0.2187810242176056, -0.6542132496833801, -0.03448706120252609, 0.00865991786122322, -0.2661980986595154, 0.3119879364967346, -0.8012180924415588, -0.04759008437395096, -0.4358076751232147, 0.22883504629135132, -1.0381830930709839, -0.5801165699958801, -0.0010649410542100668, -0.3244926929473877, -0.17898929119110107, 0.2678166627883911, -0.23021486401557922, -0.12366131693124771, -0.17021691799163818, 0.19995683431625366, 0.17055465281009674, -0.5728734731674194, 0.6061868071556091, -0.17249314486980438, -0.0011117805261164904, -0.507709264755249, -0.5180065631866455, -0.2639719247817993, -0.15966497361660004, -0.7084951400756836, -0.08668427169322968, -0.4091060757637024, -0.5789975523948669, -0.36044421792030334, -0.30721384286880493, -0.15196172893047333, 0.18387900292873383, 0.23758798837661743, 0.41375312209129333, -0.30857667326927185, 0.10520049184560776, 0.39261671900749207, 0.02463994361460209, 0.24726082384586334, -0.07708542793989182, 0.4887985289096832, 0.026139896363019943, -0.06342673301696777, -0.6186494827270508, 0.27379482984542847, 0.69181889295578, -0.03330453857779503, 0.698318362236023, 0.07302065938711166, -0.49011048674583435, -0.4349760413169861, -0.3214915990829468, -0.26195257902145386, -0.45505839586257935, 0.07961155474185944, -0.4493609368801117, -0.9062680602073669, 0.44270727038383484, 0.3926035165786743, 0.35596880316734314, 0.6641308069229126, 0.5498669743537903, 0.08479136228561401, 1.3123477697372437, 0.3165232837200165, 0.5480207800865173, 0.35419532656669617, 0.16697445511817932, 0.3802794814109802, -0.3440225422382355, -0.2581695318222046, -0.7442272901535034, -0.2310556322336197, -0.5640014410018921, -0.23003605008125305, -0.2540114223957062, 0.7263533473014832, -0.2490261197090149, -0.009609963744878769, -0.5357472896575928, 0.8885214924812317, 0.24236582219600677, -0.22347627580165863, 0.5514365434646606, 0.06441027671098709, -0.35882675647735596, -0.2119189202785492, -0.4886721968650818, -0.9074967503547668, 0.7135133743286133, 0.5105856657028198, 0.5532540678977966, 0.1175115555524826, 0.6377766728401184, -0.08702470362186432, 0.4993123412132263, -1.0358712673187256, 0.5335525870323181, -0.276389479637146, -0.6824052929878235, -0.55753493309021, -0.5082259178161621, -0.872605562210083, 0.35798928141593933, -0.3974792957305908, -0.774138867855072, 0.2540868818759918, 0.2811935544013977, -0.20131172239780426, 0.18958058953285217, -0.8351240158081055, 0.797444760799408, -0.027182389050722122, -0.2561438977718353, -0.28134897351264954, -0.3747958242893219, 0.4396958649158478, -0.11480145901441574, 0.3474634289741516, -0.11982332915067673, -0.11100860685110092, 0.526271641254425, -0.2969408929347992, 0.6328412294387817, -0.04436183720827103, -0.4776354432106018, 0.135055810213089, 0.4260506331920624, 0.2532878816127777, 0.27959489822387695, -0.2756367325782776, -0.23054377734661102, -0.060954779386520386, -0.4806348383426666, -0.7502469420433044, 0.6667227149009705, -0.7966920137405396, -0.7983615398406982, -0.2461479753255844, -0.9161205887794495, -0.2543088495731354, 0.47951698303222656, 0.275287389755249, 0.4417019784450531, 0.09926838427782059, 0.31828755140304565, 0.8454465270042419, -0.3557421565055847, 0.25667038559913635, 0.3383994996547699, -0.4993378221988678, -0.3938611149787903, 0.7795239686965942, 0.1117740049958229, 0.5194768905639648, 0.3171992301940918, 0.5544998645782471, -0.428943932056427, -0.6857521533966064, -0.38036808371543884, 0.20960967242717743, -0.5908935070037842, 0.3122005760669708, -0.4643014073371887, -0.15127681195735931, -0.2850097119808197, -0.530521810054779, 0.2429133504629135, -0.5160529613494873, -0.6147701740264893, -0.2909972071647644, 0.09773001074790955, 1.0805466175079346, 0.12444581836462021, 0.38851726055145264, -0.5102315545082092, 0.2839812636375427, 0.2955086827278137, 0.43290194869041443, 0.11050086468458176, -0.641822874546051, 0.12637080252170563, -0.030926240608096123, -0.30401611328125, -0.9345318675041199, 0.17520172894001007, -0.23872089385986328, 0.35460034012794495, 0.5685052871704102, 0.09138846397399902, 0.23401565849781036, -0.2251463085412979, 0.7217533588409424, 0.1917911171913147, -1.1459784507751465, 0.3678341209888458, -0.6162033677101135, 0.4733530879020691, 0.4450264275074005, 0.49281564354896545, -0.38772720098495483, -0.6588848829269409, -0.48308441042900085, -0.8368874192237854, 0.4832649528980255, 0.12707500159740448, 0.16735944151878357, -0.09576624631881714, 0.7157495617866516, 0.22318218648433685, 0.0010160972597077489, -0.8524318933486938, 0.1268986463546753, -0.4318641126155853, -0.13851098716259003, -0.030230697244405746, -0.48237743973731995, 0.04624852538108826, -0.04723985120654106, 0.48888760805130005, -0.02116556465625763, -0.054944127798080444, 0.47003570199012756, -0.04763675108551979, -0.36731016635894775, 0.7577205896377563, 1.0054007768630981, 0.9468874931335449, -0.23814775049686432, 0.2034417688846588, -0.029507145285606384, -0.32319873571395874, 0.13113872706890106, -0.10447598993778229, -0.5131060481071472, -0.09688341617584229, 0.5361283421516418, 0.9335570335388184, -0.04747416824102402, -0.5289683938026428, 0.31778213381767273, -0.09566493332386017, -0.7984678745269775, 0.0786919891834259, 0.3855822682380676, 0.09927568584680557, 0.17012174427509308, 0.2792198359966278, -0.1020524650812149, -0.1765495240688324, -0.25376805663108826, 0.03710611164569855, 0.254387229681015, -0.2742549777030945, -0.18438605964183807, 0.8547090888023376, 0.09792923182249069, -0.35892587900161743, 0.4474445581436157, -0.06360567361116409, -0.24658767879009247, 0.5274680256843567, 0.7922251224517822, 0.7021938562393188, -0.059519339352846146, 0.2107168585062027, 0.53534996509552, 0.5919077396392822, -0.11685964465141296, 0.3489514887332916, 0.22975286841392517, -0.7693108916282654, -0.7506714463233948, -0.637351930141449, -0.46775442361831665, 0.35131537914276123, -0.45260000228881836, 0.000646477856207639, -0.777474582195282, 0.008855477906763554, 0.2570587694644928, -0.1735878884792328, -0.1844545155763626, 0.5193700194358826, -0.17371556162834167, 1.0601650476455688, -0.564441978931427, 0.5104584693908691, 0.41078343987464905, -0.54292893409729, -1.0873562097549438, 0.2719845175743103, -0.11415186524391174, -0.3892476260662079, 0.5275502800941467, 0.34963351488113403, -0.11468061059713364, -0.03721276670694351, -0.6120232343673706, -0.6322962045669556, 0.8144477009773254, 0.32601791620254517, -0.7446644902229309, -0.38137680292129517, 0.03282664716243744, 0.6868689656257629, -0.24381105601787567, 0.13779562711715698, 0.7265808582305908, 0.7644284963607788, 0.05237190052866936, -0.6340809464454651, 0.16834349930286407, 0.017521630972623825, -0.08883168548345566, 0.2941168546676636, -0.17040811479091644, 0.6775392293930054, -0.39375510811805725, -0.1361967921257019, 0.007854076102375984, 0.767539381980896, 0.18105073273181915, 0.39353397488594055, 0.8648054599761963, 0.43162795901298523, 0.879322350025177, -0.05003151297569275, 1.1822060346603394, -0.008679970167577267, 0.00873681902885437, 0.7825315594673157, 0.0030412545893341303, 0.9049763083457947, 0.5816881060600281, 0.11764496564865112, 0.6093459129333496, 0.444170206785202, 0.32418715953826904, 0.011217419058084488, 0.4517131745815277, -0.26293814182281494, -0.43412911891937256, -0.05238329991698265, 0.03184768930077553, 0.19729843735694885, 0.24833840131759644, -0.420695424079895, -0.10641668736934662, -0.09203758090734482, 0.09013362973928452, 0.29947134852409363, -0.48517608642578125, 0.6638501286506653, -0.014581115916371346, -0.8130689263343811, 0.8284782767295837, -0.007573546841740608, 0.4469168186187744, -0.46239572763442993, 0.21933577954769135, -0.27152907848358154, 0.09804749488830566, -0.4309995472431183, -0.7647109627723694, 0.3834565579891205, 0.21029941737651825, -0.7277693748474121, -0.27892711758613586, 0.7127670049667358, -0.40079376101493835, -0.16512203216552734, 0.31127405166625977, 0.45796525478363037, 0.10031920671463013, 0.09840593487024307, -0.3551238179206848, -0.1936444789171219, 0.2927825450897217, -0.6049051284790039, 0.29399293661117554, 0.6581127643585205, -0.23709125816822052, 0.5914214253425598, 0.8361155390739441, -0.032500606030225754, 0.1865621954202652, 0.26991531252861023, 0.5730117559432983, -0.5980583429336548, -0.2059774547815323, -0.765104353427887, 0.4941447377204895, 0.05775163695216179, -0.5067475438117981, 0.6245917081832886, 0.34733155369758606, 0.7505371570587158, 0.0294417142868042, 0.7378795742988586, 0.30189764499664307, 0.5104442238807678, -0.5893017649650574, 0.6569401621818542, -0.6885449290275574, 0.18689650297164917, -0.19695758819580078, -1.000519871711731, -0.5779951810836792, 0.68159419298172, -0.6298689842224121, -0.09188701957464218, 0.9634326100349426, 0.611987292766571, 0.18930929899215698, 0.388144314289093, 0.353773832321167, 0.30806708335876465, 0.3108743131160736, 0.26812830567359924, 0.8288506269454956, 0.1853991448879242, 0.529891312122345, -0.06893112510442734, -0.4083745777606964, -0.004087099805474281, -1.0197585821151733, -1.1005314588546753, -0.20824699103832245, 0.0027189820539206266, -0.6525938510894775, -0.22280701994895935, 0.9449434876441956, 0.035722095519304276, -0.774042010307312, -0.19099439680576324, -0.44104158878326416, 0.3249562084674835, 0.10905739665031433, -0.29069337248802185, 0.093068927526474, -0.537969708442688, -0.6961619257926941, 0.3974665105342865, 0.15399044752120972, 0.1975441873073578, -0.25571104884147644, 0.016183478757739067, -0.038435954600572586, 0.6666732430458069, 0.6686787009239197, 0.05779159441590309, -0.8274115324020386, -0.40965723991394043, 0.24977777898311615, -0.397804856300354, -0.10798782110214233, 1.1400026082992554, -0.3313649296760559, 0.3295060694217682, 0.8788244128227234, 0.579398512840271, -0.13255071640014648, 0.10998016595840454, 0.5633742809295654, -0.2718798816204071, -0.06349062919616699, 0.15779612958431244, 0.1581176072359085, 0.03884901478886604, -0.2825435698032379, 0.18505293130874634, 0.17033936083316803, -0.8359200358390808, -0.7528136372566223, 0.19028693437576294, -0.9993112087249756, -0.4454087018966675, 1.2728967666625977, 0.03124309331178665, -0.16426798701286316, -0.12197650223970413, -0.42552030086517334, 0.24036529660224915, -0.5201038122177124, 0.8072524070739746, 1.0326344966888428, -0.08530952036380768, -0.15586301684379578, -0.5628306865692139, 0.5689390301704407, 0.6431547403335571, -1.0051127672195435, 0.5054634213447571, 0.761268675327301, 0.13664136826992035, 0.034545205533504486, 0.34524327516555786, 0.004718491807579994, 0.18338125944137573, -0.29186639189720154, -0.18199113011360168, 0.13624107837677002, -0.39384254813194275, -0.32524749636650085, 0.09841997921466827, 0.31177282333374023, 0.5275875926017761 ]
http://arxiv.org/abs/2407.01376v1
http://arxiv.org/pdf/2407.01376v1
Badllama 3: removing safety finetuning from Llama 3 in minutes
2024-07-01T15:29:45
2024-07-01T15:29:45
Dmitrii Volkov
cs.LG
cs.LG, cs.AI, cs.CL, cs.CR
We show that extensive LLM safety fine-tuning is easily subverted when an attacker has access to model weights. We evaluate three state-of-the-art fine-tuning methods-QLoRA, ReFT, and Ortho-and show how algorithmic advances enable constant jailbreaking performance with cuts in FLOPs and optimisation power. We strip safety fine-tuning from Llama 3 8B in one minute and Llama 3 70B in 30 minutes on a single GPU, and sketch ways to reduce this further.
[ -0.5028182864189148, -1.0662553310394287, 0.49771735072135925, 0.276467502117157, -0.9217205047607422, 0.07172402739524841, 0.2090248167514801, -0.9518253207206726, -0.12568746507167816, 0.7544649839401245, -0.3905523717403412, -0.33084455132484436, -0.5200106501579285, -0.2159958928823471, -0.3869019150733948, 1.1272845268249512, -0.2593449354171753, -0.12807266414165497, 0.5630336403846741, 0.0037436834536492825, -0.770389974117279, -0.3729986250400543, -0.8801003098487854, -0.43904706835746765, 0.35517454147338867, 0.8036073446273804, 0.953571617603302, 0.878922164440155, 0.7303182482719421, 0.18699994683265686, -0.3101443648338318, 0.12279363721609116, -0.8335267901420593, -0.17749254405498505, -0.10326457023620605, -0.6310662627220154, -0.645710289478302, 0.006865017116069794, 0.09286501258611679, -0.1445479393005371, -0.22127076983451843, 0.3271242082118988, -0.2547527849674225, 0.8544281125068665, -1.1213315725326538, -0.018179552629590034, -0.7558830976486206, 0.02401350438594818, -0.6562454700469971, -0.28782767057418823, -0.2137458175420761, -0.7782271504402161, -0.47775691747665405, -0.7724912166595459, 0.14207011461257935, 0.18623819947242737, 0.9436895251274109, 0.6968418955802917, -0.006021017674356699, -0.09828998148441315, -0.6815594434738159, 0.6656681299209595, -0.5605292916297913, -0.2680227756500244, 0.7996833324432373, 0.2791009843349457, -0.20236997306346893, -0.3586817681789398, -0.4504942297935486, 0.1257535070180893, 0.23933397233486176, -0.18706770241260529, -0.412638396024704, 0.3139803409576416, 0.44833552837371826, 0.35472869873046875, -0.15727856755256653, 0.6583107113838196, -1.0329139232635498, -0.16630005836486816, 0.8495747447013855, 0.27418333292007446, 0.19751055538654327, -0.039142269641160965, -0.2853410840034485, 0.09631539136171341, -1.5329478979110718, -0.12394534051418304, 0.6198251843452454, -0.010288787074387074, -0.17087505757808685, 0.4557565450668335, 0.025821905583143234, 0.7064329981803894, 0.018207920715212822, -0.41829314827919006, 0.07264971733093262, -0.07998144626617432, -0.466074675321579, 0.145594522356987, 0.5696887969970703, 0.8679154515266418, 0.29341673851013184, -0.14385519921779633, -0.04973380267620087, 0.1620229333639145, 0.4463837146759033, -0.9207943677902222, -0.3614274263381958, 0.2608494758605957, -0.4197837710380554, -0.6088301539421082, -0.15109917521476746, -0.7148940563201904, -0.5639994740486145, 0.03459182009100914, 0.5011084675788879, -0.4181630611419678, 0.08354675024747849, 0.4458915591239929, -0.006545346695929766, 0.4672016501426697, 0.28871065378189087, -0.9328573346138, 0.3858308792114258, 0.9031248092651367, 0.8137551546096802, -0.008187510073184967, -0.15019157528877258, -0.6742538809776306, 0.2699262499809265, -0.5285122990608215, 0.4680604636669159, -0.0034164281096309423, -0.5813724398612976, -0.43326568603515625, -0.21571485698223114, 0.2987573742866516, -0.831648051738739, 0.38847559690475464, -0.7569257020950317, -0.5368442535400391, -0.21264712512493134, -0.14989298582077026, -0.6145870685577393, 0.009725035168230534, -0.7705014944076538, 0.5333893895149231, -0.12063788622617722, -0.4004720151424408, 0.45644712448120117, -0.6334017515182495, -0.741323709487915, -0.1782328486442566, 0.4499495029449463, -0.7963755130767822, 0.2304750382900238, 0.38328179717063904, 0.5453131794929504, -0.35649558901786804, -0.015085411258041859, -0.5099591016769409, -1.0259590148925781, -0.062413290143013, -0.1308700144290924, 0.7589672803878784, 0.7455695271492004, -0.4127998948097229, -0.1792082041501999, -0.7522247433662415, -0.1995367854833603, 0.051925938576459885, -0.18906612694263458, -0.18949207663536072, 0.10086560249328613, -0.009578284807503223, 0.13552196323871613, 0.21390371024608612, -0.6463759541511536, 0.18265850841999054, -0.6514377593994141, 0.8411564230918884, 0.9798992276191711, 0.14263072609901428, 0.08835675567388535, -0.3922930955886841, 0.22044548392295837, -0.06386902928352356, 0.5931990742683411, 0.4411579370498657, -0.3590736389160156, -0.8202273845672607, -0.20313142240047455, -0.11751893907785416, 0.48239025473594666, -0.47504696249961853, -0.08763179183006287, 0.3564547896385193, -0.7145109176635742, -0.5739799737930298, 0.7225679159164429, 0.7531490325927734, 0.18829186260700226, 0.7330033779144287, -0.21353459358215332, -0.49207422137260437, -1.0973796844482422, -0.2956385910511017, -0.22303608059883118, 0.21484363079071045, -0.11949163675308228, 0.3625492453575134, -0.05963078513741493, 0.2578926980495453, -0.5087786316871643, -0.321279376745224, -0.16054847836494446, -0.09501700848340988, 0.16930405795574188, 0.9122670292854309, 0.6820734739303589, -0.38782012462615967, 0.10026000440120697, -0.12679558992385864, -0.7737416625022888, 0.052168913185596466, 0.06237855926156044, 0.21099625527858734, 0.1395094394683838, 0.829820454120636, -0.5484542846679688, 0.6426342129707336, 0.19942137598991394, -0.15989387035369873, 0.43910282850265503, -0.26843738555908203, 0.12220951169729233, -0.6289497017860413, -0.1917109340429306, -0.04366033524274826, -0.1729738712310791, -0.5910739898681641, 0.8180147409439087, 0.2601436674594879, -0.0831570252776146, -1.0188840627670288, 0.36394381523132324, -0.2263321876525879, 0.06054428964853287, -0.34227901697158813, 0.06160600483417511, -0.2118036299943924, 0.344221830368042, -0.5054860711097717, 0.9318106174468994, 0.2796406149864197, -0.6968293190002441, 0.062229640781879425, -0.016193201765418053, -0.43751901388168335, 0.137235626578331, -0.8351017832756042, 0.30939963459968567, 0.10485641658306122, 0.04723875969648361, -0.7183969616889954, -0.3827666640281677, 0.37128716707229614, 0.24188219010829926, 0.08567862212657928, -0.2033492624759674, -0.6339149475097656, -0.36776840686798096, -0.563808262348175, 0.7084400653839111, 0.4878504276275635, -0.7393783926963806, 0.06749951839447021, 0.5152016282081604, 0.2696067988872528, -0.47523170709609985, -0.6794378161430359, 0.027918849140405655, -0.7046995759010315, -0.38097307085990906, 0.5168371200561523, 0.06956552714109421, -0.5638226270675659, -0.5482231378555298, -0.25557616353034973, -0.12151861190795898, 0.8092467784881592, 0.6429157257080078, 0.2437845915555954, 0.20782606303691864, -0.22258198261260986, 0.15355034172534943, -0.3117826581001282, 0.01643277332186699, 0.43465539813041687, 0.43190905451774597, -0.5227652788162231, -0.3142662048339844, -0.9371522068977356, -0.10080205649137497, 0.6176477670669556, 0.0258060023188591, 0.31493043899536133, 0.3260246515274048, -0.4871307611465454, 0.24920475482940674, -0.7070059776306152, 0.16484782099723816, -0.5440137982368469, -0.07768182456493378, -0.3945101499557495, -0.8424898386001587, 0.6205893754959106, 0.12152380496263504, 0.2167956531047821, 0.4558439254760742, 0.4582999050617218, -0.1368187963962555, 0.7755781412124634, 0.760353684425354, -0.3488949239253998, 0.4180220663547516, -0.24721987545490265, 0.20223578810691833, -0.4843280017375946, -0.21264530718326569, -0.5110820531845093, -0.5187846422195435, -0.5650575757026672, -0.21642662584781647, 0.17957350611686707, 0.6839550733566284, -0.5264132618904114, 0.5506997108459473, -0.3359377980232239, 1.1172810792922974, 0.26447975635528564, 0.6168777942657471, 0.18788284063339233, -0.518711507320404, 0.4084070026874542, 0.2537996172904968, -0.29962587356567383, -0.4311371147632599, 1.2787364721298218, 0.44586610794067383, 1.0904561281204224, 0.22917774319648743, 0.8461325168609619, 0.14106738567352295, 0.3899821639060974, -0.45726361870765686, 0.5457091331481934, -0.0403701588511467, -0.6830008029937744, 0.06026970222592354, 0.017112769186496735, -0.5143508911132812, -0.03402746096253395, -0.034086182713508606, -0.8790459632873535, -0.031764447689056396, 0.3293422758579254, -0.9923081398010254, 0.6273510456085205, -0.9772632718086243, 0.458813339471817, -0.03330045938491821, -0.5562788248062134, -0.7942190766334534, -0.5449342727661133, 0.841431736946106, -0.235049769282341, 0.1598166972398758, -0.5156553983688354, 0.1762896478176117, 0.885408878326416, -0.7076134085655212, 0.7442466616630554, -0.35382673144340515, -0.28504326939582825, 0.35497742891311646, 0.39743074774742126, 0.4539523124694824, 0.43729791045188904, 0.02383137308061123, 0.30279070138931274, 0.06607766449451447, -0.5450941920280457, -0.2754342555999756, 0.7388257384300232, -0.9281455874443054, -0.7922983169555664, -0.2104198932647705, -0.3265739381313324, -0.11110066622495651, -0.16155563294887543, 0.2661619782447815, 0.08536209166049957, 0.03360367566347122, -0.018407126888632774, 0.5084389448165894, -0.08798021823167801, 0.8580611944198608, 0.3507213592529297, -0.07165995240211487, -0.1934596747159958, 0.9174290895462036, 0.08059704303741455, 0.02063596062362194, 0.003251682734116912, 0.011018376797437668, 0.045921023935079575, -1.0567632913589478, -0.2077745646238327, 0.07589627057313919, -0.3855290710926056, -0.5583351850509644, 0.08999578654766083, -0.1323646754026413, 0.23572136461734772, -0.5289908647537231, -0.6090574860572815, -0.6804017424583435, -0.6158748269081116, -0.3293028175830841, 0.5025092363357544, 1.0541391372680664, -0.43579423427581787, 0.9602705240249634, -0.46267056465148926, 0.6246395111083984, 0.31538188457489014, 0.550345242023468, -0.1323470175266266, -0.3421905040740967, -0.22045159339904785, -0.23227347433567047, -0.7711019515991211, -0.6364456415176392, 0.09813276678323746, -0.1396080106496811, 0.20160134136676788, 0.8424108028411865, -0.21699567139148712, 1.0798941850662231, -0.1680009812116623, 0.7608777284622192, 0.397408127784729, -0.9550561308860779, 0.7967395782470703, -0.2827960252761841, 0.02778448909521103, 0.7358493208885193, 0.1289786696434021, 0.1932205706834793, -0.2882927656173706, -0.4654015004634857, -0.7345281839370728, 0.5527135133743286, 0.2198449969291687, -0.20254550874233246, -0.02339726686477661, 0.6681525707244873, 0.24891290068626404, -0.18389561772346497, -0.6147043704986572, -0.29403769969940186, -0.20176251232624054, 0.41180840134620667, -0.42616134881973267, -0.41165393590927124, -0.36640506982803345, -0.4471399486064911, 0.6861412525177002, 0.18342293798923492, -0.08527987450361252, -0.15903784334659576, -0.4562942087650299, -0.18779803812503815, 0.36166703701019287, 1.0014365911483765, 0.8905990123748779, -0.6415376663208008, -0.03914487734436989, 0.5327909588813782, -0.6916763782501221, 0.5111390948295593, -0.047722674906253815, 0.05259941145777702, -0.6819621324539185, -0.025708582252264023, 0.4982154369354248, 0.32668569684028625, -0.4498039186000824, 0.10685323178768158, -0.14111891388893127, -0.2409891039133072, 0.18032756447792053, 0.7289837598800659, -0.3166760206222534, 0.271881639957428, 0.28171297907829285, 0.32021254301071167, 0.014534357003867626, -0.3593516945838928, 0.043680641800165176, 0.1532360017299652, -0.24678760766983032, -0.22379013895988464, 0.9242348074913025, 0.09855260699987411, -0.23363137245178223, 0.29452022910118103, 0.12069274485111237, -0.0797356441617012, 0.7236456274986267, 0.5215157270431519, 0.7160730957984924, -0.09596429020166397, -0.17412781715393066, 0.32690271735191345, 0.7662476301193237, -0.2482294887304306, 0.1943838745355606, 0.11844605952501297, -0.43632808327674866, -0.3241172730922699, -0.4706042408943176, -0.5222263932228088, 0.5221691131591797, -0.8432387113571167, 0.19701184332370758, -1.2092560529708862, -0.08429144322872162, -0.08169370889663696, 0.03266417980194092, -0.5867947936058044, 0.1871834397315979, 0.09859967231750488, 1.0856153964996338, -0.5301192402839661, 0.7380188703536987, 0.17059557139873505, -0.20641756057739258, -0.8035934567451477, -0.3374483585357666, 0.24822483956813812, -0.8580334782600403, 0.34322333335876465, 0.27309471368789673, -0.17066529393196106, -0.26000964641571045, -0.823856770992279, -0.7316375970840454, 1.0304994583129883, 0.6341221928596497, -0.9951191544532776, -0.008584477007389069, -0.2968928813934326, 0.28138092160224915, 0.2692737579345703, -0.1860959529876709, 1.3513271808624268, 0.43497133255004883, -0.5158197283744812, -0.8090055584907532, 0.02724453993141651, -0.21218426525592804, -0.1896708756685257, 0.3494642674922943, -0.9070297479629517, 0.8224380016326904, -0.5928144454956055, -0.07658522576093674, 0.22718431055545807, 0.48640701174736023, 0.44464945793151855, 0.055145323276519775, 0.44767147302627563, 0.9430166482925415, 0.9165315628051758, -0.20314744114875793, 0.8907214999198914, -0.4024698734283447, 0.17343290150165558, 0.9772977828979492, -0.09808505326509476, 0.7635522484779358, 0.8549174666404724, -0.06276404857635498, 0.11750432848930359, 0.9425154328346252, 0.13647575676441193, 0.8502124547958374, 0.32542720437049866, -0.14529207348823547, -0.30328917503356934, 0.5576519966125488, -0.518744707107544, 0.7017003893852234, 0.4035980999469757, 0.12791122496128082, -0.49673789739608765, 0.10705845803022385, 0.5236803889274597, -0.3820333182811737, -0.7547059059143066, 0.6773464679718018, 0.12181723862886429, -0.6430829763412476, 1.0002562999725342, 0.4156920611858368, 0.6268787384033203, -0.32605186104774475, 0.0731685608625412, -0.40172046422958374, 0.25765445828437805, -0.2759258449077606, -0.6759164333343506, 0.2803337275981903, 0.1656399369239807, 0.12466276437044144, -0.08500678837299347, 0.6600416898727417, 0.47074487805366516, -0.05821633338928223, 0.3029782474040985, 0.09537031501531601, 0.07195257395505905, 0.02297697216272354, -0.4570133090019226, 0.2772502303123474, -0.09556671231985092, -0.22452892363071442, 0.42159348726272583, -0.2635906934738159, -0.09548159688711166, 1.0748624801635742, 0.653116762638092, -0.05718272179365158, -0.00466929143294692, -0.23398275673389435, 1.156334638595581, -0.8570238947868347, -0.3712151348590851, -1.308122158050537, -0.036818645894527435, 0.30561116337776184, -0.5750516057014465, 0.6016831994056702, 0.621671736240387, 0.9317057728767395, 0.13423247635364532, 0.49732112884521484, 0.056729841977357864, -0.060480207204818726, -0.9683632254600525, 1.0689115524291992, -0.4330556392669678, 0.5421897172927856, -0.46293994784355164, -0.5468970537185669, -0.47701072692871094, 0.5776189565658569, -0.34051594138145447, -0.5830440521240234, 0.3858379125595093, 0.9814891815185547, -0.04794186353683472, 0.2784709930419922, 0.189604252576828, 0.21664494276046753, 0.4675985276699066, 0.8737275004386902, 0.7551741003990173, -0.7032395601272583, 0.514022707939148, -0.41943371295928955, -0.056667640805244446, -0.3801589608192444, -0.8648231625556946, -0.8483700156211853, 0.01695411093533039, -0.10526899248361588, -0.29903337359428406, 0.4996415972709656, 0.5836966633796692, 0.6035245060920715, -0.8025932908058167, -0.2049982249736786, -0.05496680736541748, 0.47029435634613037, -0.2222762405872345, -0.06795261055231094, 0.20073942840099335, -0.1284233033657074, -0.15638084709644318, 0.7278974056243896, 0.4444568157196045, 0.0663139820098877, -0.10196787118911743, -0.08985022455453873, -0.02484750561416149, 0.03422977775335312, 0.5277925729751587, 0.5701920390129089, -0.7450265884399414, -0.6248483061790466, -0.8882429599761963, -0.06788472086191177, 0.23558500409126282, 0.6220998764038086, -0.5550949573516846, 0.20332005620002747, 0.026309611275792122, 0.26770684123039246, 0.826453685760498, 0.03814181685447693, 0.48517045378685, -0.30218350887298584, 0.4982323944568634, -0.034568846225738525, 0.3687354326248169, -0.17105640470981598, -0.2714194655418396, 0.6643125414848328, -0.08958055824041367, -0.5038900375366211, -0.9616928100585938, 0.0542389452457428, -0.8206523656845093, -0.3882557451725006, 0.8244128823280334, -0.021152332425117493, -0.45444154739379883, -0.2978658378124237, -0.2529708743095398, -0.030118167400360107, -0.2089235484600067, 1.0374246835708618, 0.4572388529777527, -0.16022992134094238, 0.06387928128242493, -0.6777632832527161, 0.8307090997695923, 0.1351402997970581, -0.9720958471298218, -0.0070329150184988976, 0.3280896842479706, 0.4677230715751648, -0.05018329992890358, 0.6487763524055481, -0.3359276056289673, 0.8610977530479431, -0.1884741187095642, -0.2315572053194046, -0.3175085186958313, -0.6190500855445862, -0.36659306287765503, 0.4971884489059448, 0.12079080194234848, -0.08372040838003159 ]
http://arxiv.org/abs/2407.01374v1
http://arxiv.org/pdf/2407.01374v1
Bridging the Gap: Transfer Learning from English PLMs to Malaysian English
2024-07-01T15:26:03
2024-07-01T15:26:03
Mohan Raj Chanthran, Lay-Ki Soon, Huey Fang Ong, Bhawani Selvaretnam
cs.CL
cs.CL
Malaysian English is a low resource creole language, where it carries the elements of Malay, Chinese, and Tamil languages, in addition to Standard English. Named Entity Recognition (NER) models underperform when capturing entities from Malaysian English text due to its distinctive morphosyntactic adaptations, semantic features and code-switching (mixing English and Malay). Considering these gaps, we introduce MENmBERT and MENBERT, a pre-trained language model with contextual understanding, specifically tailored for Malaysian English. We have fine-tuned MENmBERT and MENBERT using manually annotated entities and relations from the Malaysian English News Article (MEN) Dataset. This fine-tuning process allows the PLM to learn representations that capture the nuances of Malaysian English relevant for NER and RE tasks. MENmBERT achieved a 1.52\% and 26.27\% improvement on NER and RE tasks respectively compared to the bert-base-multilingual-cased model. Although the overall performance of NER does not have a significant improvement, our further analysis shows that there is a significant improvement when evaluated by the 12 entity labels. These findings suggest that pre-training language models on language-specific and geographically-focused corpora can be a promising approach for improving NER performance in low-resource settings. The dataset and code published in this paper provide valuable resources for NLP research work focusing on Malaysian English.
[ -0.5578401684761047, -0.1962967962026596, 0.29591453075408936, 0.4325767755508423, -0.2321205586194992, 0.30638736486434937, -0.2852459251880646, -0.5361506938934326, 0.18361887335777283, 0.538756251335144, -0.38967421650886536, -0.31699955463409424, -0.6934168934822083, 0.5315871238708496, -0.10472570359706879, 0.5784188508987427, -0.32942986488342285, -0.11099420487880707, -0.05176788568496704, -0.3454219400882721, -0.7105986475944519, -0.6319867372512817, -0.8648502826690674, -0.2607269585132599, 0.2984755337238312, 0.41086074709892273, 0.4208621680736542, 0.279769629240036, 0.7146003246307373, 0.2009139209985733, 0.026867011561989784, 0.10472643375396729, -0.0779549852013588, -0.11417753994464874, -0.519321084022522, -0.3662559986114502, -0.34732407331466675, -0.06758437305688858, 0.46513938903808594, 0.9665993452072144, -0.26418671011924744, 0.12194156646728516, 0.3498311936855316, 0.7181463837623596, -0.5986747741699219, 0.303766131401062, -0.5776042938232422, 0.053179752081632614, -0.204318568110466, -0.24285735189914703, -0.47771868109703064, 0.023572225123643875, 0.5178669095039368, -0.6471741795539856, -0.00881775002926588, -0.023589588701725006, 1.2308785915374756, 0.3464212119579315, -0.6343217492103577, -0.46446892619132996, -0.6462592482566833, 0.9090890288352966, -0.5708975791931152, 0.7227746844291687, 0.6059592962265015, 0.2727038264274597, 0.10940226167440414, -0.6131997108459473, -0.282828152179718, -0.21465609967708588, -0.2638985216617584, 0.159941166639328, -0.09063763916492462, -0.08879527449607849, -0.011558893136680126, 0.24708755314350128, -0.27714279294013977, 0.02537587843835354, -0.4893818795681, -0.21234726905822754, 0.621050238609314, -0.02998335286974907, 0.21260471642017365, -0.48025429248809814, -0.2908523678779602, 0.09053786844015121, -0.8423104286193848, 0.1805475354194641, -0.03885563090443611, 0.36095425486564636, -0.23553143441677094, 0.4443310797214508, 0.17992591857910156, 0.7222921848297119, 0.08581061661243439, -0.35239940881729126, 0.11171138286590576, -0.3545701503753662, -0.2681521773338318, 0.16701942682266235, 0.4051363170146942, 0.0837407186627388, 0.2732136845588684, -0.05500134825706482, -0.3363620340824127, -0.03162730112671852, -0.06361237913370132, -0.7725825309753418, -0.4817495048046112, -0.2090541571378708, -0.5844162106513977, 0.20847682654857635, 0.24547146260738373, -0.4442940950393677, -0.05441631004214287, -0.6292521357536316, 0.3037847578525543, -0.44428321719169617, -0.547776460647583, 0.3095027208328247, 0.28066346049308777, 0.32737186551094055, 0.25570106506347656, -0.7593685388565063, 0.26413634419441223, 0.3610360324382782, 0.8133249878883362, -0.1714506298303604, -0.27852699160575867, -0.24475730955600739, 0.3334119915962219, -0.14470282196998596, 0.6519138216972351, -0.6845609545707703, -0.3729315996170044, -0.05474267154932022, 0.3698635399341583, -0.361088365316391, -0.7957773804664612, 0.39832043647766113, -0.4799891710281372, 0.6563005447387695, -0.17424476146697998, -0.6574203968048096, -0.3270871937274933, -0.05637458339333534, -0.8208667039871216, 0.7157846093177795, 0.309823602437973, -0.7911573052406311, 0.3285379111766815, -0.8281433582305908, -0.7698447704315186, -0.07798460125923157, -0.09686340391635895, -0.3255652189254761, 0.052021875977516174, 0.3774896562099457, 0.6649748682975769, -0.056487713009119034, 0.12481473386287689, 0.2361590415239334, -0.1666785627603531, -0.053367458283901215, -0.23595979809761047, 0.7734400629997253, 0.28598523139953613, -0.18332500755786896, -0.18760930001735687, -0.8076631426811218, -0.3931264579296112, 0.08303437381982803, -0.7804560661315918, -0.6558598279953003, -0.21136265993118286, -0.0037045152857899666, 0.2676609456539154, 0.12500177323818207, -0.1650030016899109, 0.006325732450932264, -0.18508289754390717, 0.5757643580436707, 0.41172653436660767, -0.0054938895627856255, 0.9324465990066528, -0.1952480673789978, 0.7868124842643738, 0.2666221261024475, -0.34856995940208435, -0.3399454653263092, -0.35885530710220337, -0.868714451789856, -0.14527229964733124, 0.7823576331138611, 0.6481379866600037, -0.9684369564056396, 0.32024478912353516, -0.10460727661848068, -0.16222210228443146, -0.9703707098960876, 0.0647667944431305, 0.01268733199685812, 0.5174648761749268, 0.6134540438652039, -0.5141854882240295, -0.9842079877853394, -0.8586356043815613, -0.03980346396565437, -0.0747515931725502, -0.1234738826751709, 0.4981461763381958, 0.28429344296455383, -0.3719436526298523, 0.9138768315315247, -0.10159633308649063, -0.5790180563926697, -0.5502228140830994, 0.15671835839748383, 0.20759542286396027, 0.4093998670578003, 0.4186493754386902, -0.6868125796318054, -0.7022239565849304, -0.020517323166131973, -0.49191248416900635, -0.3949333429336548, -0.2804570496082306, -0.025207925587892532, 0.4483875632286072, 0.7899652123451233, -0.5063638687133789, 0.1414521336555481, 0.7144894599914551, -0.29948046803474426, 0.5404371619224548, -0.03220566734671593, 0.1170419305562973, -1.5203537940979004, -0.03415268287062645, -0.14714734256267548, -0.36988669633865356, -0.3419565260410309, -0.1840985268354416, 0.0988830178976059, -0.03201517462730408, -0.5674639940261841, 0.6335474252700806, -0.9245197176933289, -0.020538505166769028, -0.29024311900138855, 0.0869799554347992, 0.043463096022605896, 0.12432863563299179, 0.37102964520454407, 0.8912419080734253, 0.36280515789985657, -0.833534836769104, -0.09415411204099655, 0.2470448613166809, -0.40771013498306274, 0.7641295194625854, -0.2972656190395355, 0.010522335767745972, -0.18850217759609222, 0.0549176000058651, -0.5301365852355957, -0.04271199554204941, 0.12300463765859604, -0.24597874283790588, 0.5381549596786499, -0.18870480358600616, 0.008128603920340538, -0.15836215019226074, 0.10628589987754822, 0.3155501186847687, 0.4069308936595917, -0.38198432326316833, 0.8066129088401794, 0.4710610806941986, -0.33558565378189087, -0.8327392935752869, -0.6162243485450745, 0.13990238308906555, -0.3242030441761017, -0.3753383457660675, 0.6035347580909729, 0.38724634051322937, -0.29220250248908997, 0.31959211826324463, -0.16652698814868927, -0.3365177512168884, 0.21969515085220337, 0.1348894089460373, 0.10210151225328445, -0.6214016675949097, 0.022215569391846657, 0.06835481524467468, -0.2915118634700775, 0.0007101704832166433, -0.22258178889751434, 0.5752398371696472, -0.09195646643638611, -0.19651910662651062, -0.43125399947166443, 0.1874992549419403, 0.25982701778411865, -0.4662978947162628, 0.8140669465065002, 0.7117841243743896, -0.5869754552841187, 0.06943270564079285, -0.34742656350135803, -0.38194340467453003, -0.4097799062728882, 0.4742136299610138, -0.8829898238182068, -1.1209570169448853, 0.33676648139953613, -0.2085205465555191, 0.059325288981199265, 0.5622607469558716, 0.31537699699401855, -0.21528208255767822, 0.5014093518257141, 1.0400464534759521, -0.3652329742908478, 0.3435306251049042, -0.12051575630903244, 0.3169086277484894, -0.6482231616973877, -0.1337835043668747, -0.28600946068763733, -0.3276708722114563, -0.5626554489135742, -0.3733378052711487, -0.16556060314178467, 0.47631582617759705, 0.07468148320913315, 0.8701926469802856, -0.02127057872712612, 0.6903641819953918, 0.39587968587875366, -0.24209117889404297, 0.4494503140449524, -0.0014709277311339974, -0.14019590616226196, -0.49966391921043396, -0.7514098882675171, -0.7192942500114441, 0.8872278928756714, 0.379849910736084, 0.6462873816490173, 0.3284565210342407, 0.7489804625511169, 0.268108069896698, 0.4907134473323822, -0.39267438650131226, 0.5369551181793213, -0.24128320813179016, -0.23639309406280518, -0.019573699682950974, -0.379448264837265, -1.3504433631896973, 0.3143724203109741, -0.17904973030090332, -0.28453925251960754, 0.08172459900379181, -0.2152578979730606, -0.42405304312705994, 0.287086546421051, -0.7830223441123962, 0.5444650053977966, -0.09333371371030807, -0.1600334644317627, -0.256293386220932, -0.5094728469848633, 0.34383854269981384, -0.15438321232795715, 0.1004585400223732, -0.14791087806224823, -0.05747972056269646, 0.9367153644561768, -0.018256863579154015, 0.5073809027671814, -0.1449953019618988, -0.14178772270679474, 0.2602466642856598, 0.18879546225070953, 0.15783479809761047, 0.02210228517651558, 0.22427970170974731, 0.32526475191116333, -0.15964274108409882, -0.5573168992996216, -0.17867276072502136, 0.38567492365837097, -0.7178992033004761, -0.4631717801094055, -0.3300071358680725, -0.47482919692993164, -0.06512746959924698, 0.007869167253375053, 0.169193834066391, -0.06231752783060074, 0.005302552133798599, 0.0636347308754921, 0.44206833839416504, -0.46389690041542053, 0.5851176977157593, 0.7990024089813232, -0.34656697511672974, -0.11569137871265411, 0.8099600672721863, 0.15118664503097534, 0.1772267073392868, 0.6854575276374817, -0.31293603777885437, -0.35702213644981384, -0.25993406772613525, -0.27728721499443054, 0.45424893498420715, -0.49527016282081604, -0.24382919073104858, -0.7132077217102051, -0.4730629324913025, -0.24401989579200745, -0.2589835524559021, -0.4470483660697937, -0.39650365710258484, -0.47308939695358276, -0.16825556755065918, -0.12647153437137604, 0.7283227443695068, -0.21598117053508759, 0.47046977281570435, -0.8628346920013428, -0.04965495690703392, 0.19888299703598022, 0.05875226482748985, -0.08629614114761353, -0.7795570492744446, -0.2754623591899872, -0.2844431400299072, -0.1132282167673111, -1.0747928619384766, 0.536302387714386, 0.2502649426460266, 0.4802992641925812, 0.4399056136608124, -0.22633041441440582, 0.6889433860778809, -0.43178993463516235, 0.5124426484107971, -0.06520892679691315, -1.073081374168396, 0.44864916801452637, 0.03951016813516617, 0.06119370087981224, 0.5846580266952515, 0.7948970198631287, -0.7602857947349548, -0.022286998108029366, -0.6467122435569763, -0.9793744087219238, 0.5675552487373352, 0.11296427249908447, -0.07955983281135559, 0.20395860075950623, 0.3150078058242798, 0.24041539430618286, 0.2939930856227875, -0.8268188238143921, -0.17988574504852295, 0.12552125751972198, -0.15721584856510162, -0.061913374811410904, -0.3464109003543854, 0.5204553008079529, -0.31535980105400085, 0.7409104108810425, 0.13727951049804688, 0.18523865938186646, 0.16650556027889252, -0.8227924704551697, 0.14259746670722961, 0.47814077138900757, 0.5517587661743164, 0.7715162634849548, -0.3070267140865326, 0.3891482353210449, 0.28084737062454224, -0.4249536395072937, 0.33281946182250977, 0.32040637731552124, 0.05015217512845993, 0.2448575347661972, 0.4001607596874237, 0.6093577742576599, 0.27317094802856445, -0.5803360342979431, 0.36958929896354675, -0.08855384588241577, -0.06457266211509705, -0.17932486534118652, -0.2542940676212311, 0.4490428566932678, 0.16624264419078827, 0.30340585112571716, 0.09086320549249649, -0.206743985414505, -0.20288066565990448, 0.5421112775802612, 0.07118730992078781, -0.27095597982406616, -0.5661537647247314, 0.7768092155456543, 0.5560768246650696, -0.3385152816772461, 0.6064594984054565, -0.5437788367271423, -0.6153709292411804, 0.3258956968784332, 0.7149612307548523, 0.5077880024909973, -0.6794453263282776, 0.29113155603408813, 0.5038357973098755, 0.6931676864624023, -0.0034865897614508867, 0.31706395745277405, 0.005898360628634691, -0.8401132225990295, -0.7056283950805664, -0.6010156869888306, -0.442937433719635, 0.5158625245094299, -0.6035109758377075, 0.412887305021286, -0.37325578927993774, 0.06392700970172882, -0.24198251962661743, 0.03921232372522354, -0.8969448208808899, -0.15200670063495636, 0.3324111998081207, 1.0145665407180786, -1.0612125396728516, 0.7870233654975891, 0.9978170394897461, -0.5183480978012085, -0.8401020169258118, -0.07604167610406876, -0.3307279348373413, -0.7813410758972168, 0.718305230140686, 0.3496610224246979, 0.2073441743850708, 0.29396170377731323, -0.011548318900167942, -0.9653089642524719, 1.1458269357681274, 0.4695538580417633, -0.8786707520484924, 0.18263188004493713, 0.28416791558265686, 0.2934328317642212, -0.6153129935264587, 0.28443437814712524, 0.7807153463363647, 0.3972969949245453, -0.5203601717948914, -1.2364882230758667, -0.17647205293178558, 0.054963190108537674, -0.09085655957460403, 0.20642909407615662, -0.38662058115005493, 1.031118631362915, -0.337145060300827, -0.5938281416893005, -0.12152501195669174, 0.941806435585022, 0.24260373413562775, 0.26013490557670593, 0.45164281129837036, 0.6931511163711548, 0.9975013136863708, 0.00751419086009264, 0.6808722019195557, -0.38271477818489075, 0.23765335977077484, 1.1882596015930176, -0.531472384929657, 1.0433380603790283, 0.5667417645454407, -0.47104203701019287, 0.7393496632575989, 0.8240014314651489, 0.2630276679992676, 0.6516236662864685, 0.08429870009422302, -0.3757878541946411, 0.01937960274517536, -0.3840424120426178, -0.4247007668018341, 0.42634209990501404, 0.4109663665294647, -0.41411706805229187, -0.3468448519706726, 0.24057483673095703, 0.17440475523471832, 0.0032838478218764067, -0.374886691570282, 0.693539023399353, 0.3667032718658447, -0.4640054702758789, 0.3822583258152008, 0.284685343503952, 1.0544991493225098, -0.3137882947921753, -0.0049813250079751015, -0.387175053358078, 0.13905569911003113, -0.28084829449653625, -0.5863038897514343, 0.41356804966926575, -0.2620369791984558, -0.1465490162372589, -0.24750131368637085, 1.059937834739685, -0.8013096451759338, -0.3001208007335663, 0.3996427357196808, 1.0450822114944458, 0.33559808135032654, -0.13896538317203522, -0.7238901853561401, -0.4503880739212036, 0.16953887045383453, 0.03120221383869648, 0.2959017753601074, 0.28768059611320496, -0.12519648671150208, 0.4450100064277649, 0.5332732200622559, 0.2100052684545517, 0.09296927601099014, 0.19319286942481995, 0.26497766375541687, -0.7929998636245728, -0.48206818103790283, -0.9425626397132874, 0.2678515911102295, 0.11365596950054169, -0.1114707961678505, 0.5566158890724182, 0.5716049075126648, 1.2681739330291748, -0.2579449415206909, 0.7966727614402771, 0.03699822723865509, 0.5923783779144287, -0.5332861542701721, 0.7691044807434082, -0.29830753803253174, 0.28653067350387573, -0.00979355163872242, -1.209619402885437, -0.15867112576961517, 0.8947895765304565, -0.21191231906414032, -0.12991534173488617, 0.7867475152015686, 0.6242608428001404, -0.3187868893146515, -0.19727671146392822, 0.26755020022392273, 0.16924341022968292, 0.24443203210830688, 0.8201777935028076, 1.0507698059082031, -0.4129394292831421, 0.4588587284088135, -0.2903943955898285, 0.009134787134826183, -0.11788691580295563, -0.8879826664924622, -0.8587713837623596, -0.7830455303192139, -0.3502119183540344, -0.3099384009838104, 0.00731617771089077, 1.154288411140442, 0.7030810713768005, -0.990871250629425, -0.30612748861312866, 0.0324879065155983, 0.09554857015609741, -0.026039185002446175, -0.29765522480010986, 0.46862733364105225, -0.2815829813480377, -0.619744062423706, 0.3891907334327698, 0.37005728483200073, 0.30564290285110474, -0.2344186156988144, -0.3106139302253723, -0.2994399666786194, -0.10676475614309311, 0.8099988698959351, 0.24633930623531342, -0.6223629713058472, 0.10715807974338531, 0.05784284323453903, -0.16105230152606964, 0.12817756831645966, 0.9030038118362427, -0.9949222803115845, -0.07312221080064774, 0.1881926953792572, 1.2220816612243652, 0.12374057620763779, -0.12813690304756165, 0.48813432455062866, -1.0083222389221191, 0.2280757576227188, 0.12603148818016052, 0.6332342028617859, 0.7220206260681152, -0.0035494857002049685, 0.8063247203826904, 0.4239114820957184, -0.3480904996395111, -0.6668474078178406, 0.07662001252174377, -0.6774337291717529, -0.2093159407377243, 1.0635597705841064, -0.11184640228748322, -0.021617330610752106, -0.485694020986557, -0.2945312559604645, 0.14338062703609467, -0.34781602025032043, 0.6790189743041992, 0.8629269599914551, -0.06612962484359741, -0.4888053238391876, -0.5836582779884338, 0.4736314117908478, 0.7744677662849426, -0.8867768049240112, -0.3042752146720886, 0.059763334691524506, 0.28367847204208374, 0.11631014198064804, 0.8608489036560059, 0.12347880750894547, 0.16495682299137115, -0.4058370888233185, 0.07722678035497665, 0.1812029927968979, -0.38496309518814087, -0.3688091039657593, 0.045849572867155075, 0.17559027671813965, -0.27546966075897217 ]
http://arxiv.org/abs/2407.01370v1
http://arxiv.org/pdf/2407.01370v1
Summary of a Haystack: A Challenge to Long-Context LLMs and RAG Systems
2024-07-01T15:23:42
2024-07-01T15:23:42
Philippe Laban, Alexander R. Fabbri, Caiming Xiong, Chien-Sheng Wu
cs.CL
cs.CL
LLMs and RAG systems are now capable of handling millions of input tokens or more. However, evaluating the output quality of such systems on long-context tasks remains challenging, as tasks like Needle-in-a-Haystack lack complexity. In this work, we argue that summarization can play a central role in such evaluation. We design a procedure to synthesize Haystacks of documents, ensuring that specific \textit{insights} repeat across documents. The "Summary of a Haystack" (SummHay) task then requires a system to process the Haystack and generate, given a query, a summary that identifies the relevant insights and precisely cites the source documents. Since we have precise knowledge of what insights should appear in a haystack summary and what documents should be cited, we implement a highly reproducible automatic evaluation that can score summaries on two aspects - Coverage and Citation. We generate Haystacks in two domains (conversation, news), and perform a large-scale evaluation of 10 LLMs and corresponding 50 RAG systems. Our findings indicate that SummHay is an open challenge for current systems, as even systems provided with an Oracle signal of document relevance lag our estimate of human performance (56\%) by 10+ points on a Joint Score. Without a retriever, long-context LLMs like GPT-4o and Claude 3 Opus score below 20% on SummHay. We show SummHay can also be used to study enterprise RAG systems and position bias in long-context models. We hope future systems can equal and surpass human performance on SummHay.
[ -0.19392959773540497, -0.1423071175813675, 0.651984453201294, 0.20343701541423798, -0.39970287680625916, 0.20667101442813873, -0.0020581271965056658, -0.5289374589920044, 0.9382827281951904, 0.5283137559890747, -0.5082815885543823, -0.3933807909488678, -0.4509236812591553, 0.4189227819442749, -0.6968570351600647, 1.29043710231781, -0.05741267651319504, -0.31107091903686523, -0.33886560797691345, -0.21287061274051666, -0.47281941771507263, -0.5038430690765381, -0.28681644797325134, -0.3000214099884033, 0.3228130638599396, 0.3369922339916229, 0.3503778874874115, 0.18460917472839355, 0.6534566283226013, 0.34559550881385803, -0.26820868253707886, 0.4528295397758484, -0.7661323547363281, 0.6568936109542847, -0.33010441064834595, -0.3088008463382721, -0.6055571436882019, -0.08987343311309814, 0.6779912710189819, 0.6664537787437439, -0.1894432157278061, 0.40255895256996155, 0.31065672636032104, 0.8892964720726013, -0.7272710800170898, -0.21486148238182068, -0.5005226731300354, -0.25018346309661865, -0.17860500514507294, -0.2489725649356842, -0.3066369295120239, -0.2467324435710907, -0.0498625785112381, -0.5907425284385681, 0.09607133269309998, 0.019786538556218147, 0.7863301634788513, 0.24704542756080627, -0.47101372480392456, -0.44436880946159363, -0.4688425064086914, 0.9150618314743042, -0.5000625252723694, -0.14415906369686127, 0.36686307191848755, 0.4432145953178406, -0.08260121196508408, -0.5962602496147156, -0.0864068865776062, 0.1807357519865036, -0.42123740911483765, 0.6323634386062622, 0.00041133182821795344, -0.35458025336265564, -0.08715959638357162, 0.3779451549053192, -0.3681309223175049, -0.1283053606748581, -0.6237761378288269, -0.18500369787216187, 0.6410375833511353, 0.5933646559715271, -0.2796884775161743, -0.452427476644516, -0.28800150752067566, -0.008604311384260654, -0.4683273136615753, -0.014504053629934788, 0.14197547733783722, 0.03609313443303108, 0.14509296417236328, 0.6250054240226746, -0.3527866005897522, 0.4913257360458374, 0.05553794279694557, -0.18719297647476196, 0.06841984391212463, -0.5360329747200012, -0.2422228306531906, -0.0974753350019455, 0.4873982071876526, 0.6660987734794617, -0.2764645516872406, -0.19802021980285645, -0.6340337991714478, -0.09882976114749908, 0.3827712833881378, -0.7447832822799683, 0.2876943051815033, 0.3644639551639557, -0.4128156304359436, -0.4266573488712311, 0.17823661863803864, -0.5883193612098694, -0.39060524106025696, -0.1454366147518158, 0.5455214977264404, -0.1984003633260727, 0.005043221637606621, -0.10416103154420853, -0.5038912296295166, 0.41493022441864014, 0.5626981258392334, -0.7739036083221436, 0.4661352038383484, 0.8936549425125122, 1.1843422651290894, -0.3573598563671112, -0.3756119906902313, -0.6143197417259216, 0.46630823612213135, -0.5617983937263489, 1.0195425748825073, -0.2451247125864029, -0.7235832214355469, -0.3074951767921448, 0.03950953856110573, 0.14444276690483093, -0.675772488117218, 0.31930699944496155, -0.4822641611099243, 0.3073931336402893, -0.380411297082901, -0.6145050525665283, 0.058997735381126404, 0.17522430419921875, -0.6661686301231384, 0.7986829876899719, 0.3746618628501892, -0.8019862174987793, 0.25078415870666504, -0.6379017233848572, -0.5771684646606445, 0.024199655279517174, -0.05028628557920456, -0.15905551612377167, 0.3019905984401703, 0.09695443511009216, 0.4318181574344635, -0.30883359909057617, 0.11704875528812408, 0.0757012814283371, -0.8573175072669983, 0.22447320818901062, 0.16521163284778595, 0.7853646874427795, 0.08201351016759872, -0.29348552227020264, 0.21173779666423798, -0.5830246806144714, -0.051864612847566605, -0.13501004874706268, -0.45660868287086487, -0.48414263129234314, -0.08736938238143921, -0.06195962429046631, -0.3095557689666748, 0.42437854409217834, -0.20975232124328613, -0.08671566098928452, -0.4478817284107208, 0.2389022409915924, 0.83823162317276, 0.04425985738635063, 0.36641958355903625, -0.6461092829704285, 0.4924384355545044, -0.23950250446796417, -0.1521414965391159, -0.7233789563179016, 0.010594024322926998, -0.6908074021339417, -0.31370899081230164, 0.1741199493408203, 0.5129390358924866, -0.38820680975914, 0.46695780754089355, -0.4005700647830963, -0.35925859212875366, -0.240334615111351, 0.05324726551771164, 0.37450096011161804, 0.4411836564540863, 0.2728904187679291, -0.3681488335132599, -0.5974855422973633, -1.094446063041687, -0.41162800788879395, -0.007164767012000084, -0.5634816288948059, 0.17437264323234558, 0.6548658013343811, -0.09905140846967697, 0.8438736200332642, -0.43675464391708374, -0.513556182384491, 0.0016134772449731827, 0.1419522613286972, 0.5228471755981445, 0.1549672931432724, 0.2694559097290039, -0.5845627188682556, -0.17244993150234222, -0.08454174548387527, -0.9205513000488281, -0.16654454171657562, 0.00397071847692132, -0.20973394811153412, 0.37967392802238464, 0.5587884187698364, -0.44550395011901855, 0.21746499836444855, 0.33477818965911865, -0.39077135920524597, 0.7560874223709106, -0.03417999669909477, 0.33747678995132446, -1.1770720481872559, 0.5137528777122498, -0.4799822270870209, -0.41051343083381653, -0.14893463253974915, 0.21988725662231445, 0.06950998306274414, -0.09658373147249222, -0.11139674484729767, 0.45648157596588135, -0.47062042355537415, -0.42914748191833496, -0.3166911005973816, 0.3101886212825775, 0.350475937128067, 0.24160422384738922, -0.3232012093067169, 0.9549505710601807, 0.013133510947227478, -0.6619398593902588, 0.3576388359069824, 0.08167208731174469, -0.4466351866722107, 0.7868914604187012, -0.9151793718338013, -0.10427810996770859, -0.18690267205238342, 0.5500966906547546, -0.9316576719284058, -0.5135121941566467, -0.2692420780658722, -0.5887611508369446, 0.21640868484973907, 0.22612205147743225, -0.3052270710468292, 0.05920405313372612, -0.7662602663040161, 0.12659567594528198, 0.562632143497467, -0.22235116362571716, 0.6610888242721558, 0.6417909264564514, -0.1422891914844513, -0.6169127821922302, -0.6109809279441833, 0.3024173676967621, -0.3277937173843384, -0.5619091391563416, 0.3139961063861847, 0.26873981952667236, -0.3910408616065979, 0.11159566044807434, -0.34604018926620483, 0.19199779629707336, 0.23344923555850983, 0.22333435714244843, 0.13308697938919067, -0.0462910458445549, 0.29110243916511536, 0.14222297072410583, -0.28635817766189575, 0.15734592080116272, -0.3291034400463104, 0.0116839949041605, -0.3217841386795044, -0.27800074219703674, 0.10351419448852539, 0.7487487196922302, 0.5986530780792236, -0.06472525745630264, 0.35356590151786804, 0.31288236379623413, -0.322218656539917, -0.06541825085878372, -0.4991954565048218, -0.21166282892227173, -0.4252799153327942, 0.39818403124809265, -0.24320705235004425, -0.7873906493186951, 0.5443602800369263, -0.17420309782028198, 0.4573100209236145, 0.8201976418495178, 0.624196469783783, -0.5303404331207275, 0.5263253450393677, 0.6602517366409302, 0.03387321159243584, 0.18043193221092224, -0.25736746191978455, -0.29059112071990967, -1.0570874214172363, -0.018409356474876404, -0.41624191403388977, -0.35386142134666443, -0.31901440024375916, -0.2996159493923187, 0.8215870261192322, 0.10448204725980759, 0.07636450976133347, 0.1329982876777649, -0.42991843819618225, 0.7525327801704407, 0.5701191425323486, 0.031455229967832565, 0.43607985973358154, -0.14075401425361633, -0.021274074912071228, 0.2250043898820877, -0.373311311006546, -0.7321953773498535, 0.9031084775924683, -0.03309280052781105, 0.7659453749656677, 0.38676509261131287, 1.1639925241470337, 0.4058200418949127, 0.3864460289478302, -0.8616299629211426, 0.49812161922454834, -0.14458014070987701, -0.41815468668937683, -0.6837508678436279, -0.2737048864364624, -1.0546295642852783, 0.44886672496795654, 0.0038815727457404137, -0.6170748472213745, -0.11019807308912277, 0.0452520027756691, -0.3587179183959961, -0.06996685266494751, -0.525139331817627, 0.36557579040527344, 0.15687987208366394, -0.46900513768196106, -0.39384889602661133, -0.7262524962425232, 0.6471152901649475, -0.2403821498155594, 0.4598355293273926, 0.037715110927820206, -0.2989720106124878, 1.0206449031829834, -0.5568927526473999, 0.705531895160675, 0.14486858248710632, -0.08554935455322266, 0.3633827865123749, 0.225706547498703, 0.4840191900730133, -0.06993768364191055, -0.08978088200092316, -0.0320638082921505, 0.39525431394577026, -0.40630966424942017, -0.550527036190033, 0.5886918902397156, -0.37932875752449036, -0.696722686290741, -0.46254801750183105, -0.3110625445842743, -0.10070165991783142, 0.3325877785682678, 0.2654222548007965, 0.45956072211265564, -0.2396114319562912, 0.33023691177368164, 0.36634883284568787, 0.035373933613300323, 0.3297697603702545, 0.2726348340511322, -0.3208254277706146, -0.465688556432724, 0.8905036449432373, 0.10441064834594727, 0.07733875513076782, 0.5198614001274109, 0.3096638023853302, -0.17422863841056824, -0.09862710535526276, -0.43024224042892456, 0.2581223249435425, -0.9273038506507874, -0.506751537322998, -0.461402952671051, -0.08586134016513824, -0.2105899453163147, -0.27797171473503113, -0.21793495118618011, -0.5717552900314331, -0.16001208126544952, 0.188992440700531, 0.14072610437870026, 1.0886098146438599, -0.1170327439904213, 0.07462668418884277, -0.8945733904838562, 0.28253695368766785, 0.36086246371269226, 0.3924785852432251, 0.13436126708984375, -0.5356429815292358, -0.6688176393508911, -0.12657871842384338, -0.33046647906303406, -0.9678529500961304, 0.06657981127500534, 0.03304194286465645, 0.3760339319705963, 0.022584786638617516, 0.04757596552371979, 0.6585486531257629, -0.42331594228744507, 0.772037148475647, 0.05054892972111702, -0.9669733643531799, 0.550417423248291, -0.4399421811103821, 0.571025013923645, 0.6620126366615295, 0.08538692444562912, -0.5268288850784302, -0.6300678849220276, -0.3791451156139374, -1.0942171812057495, 0.529693067073822, 0.26186224818229675, -0.20647649466991425, 0.026937369257211685, 0.10057488083839417, 0.0887228474020958, 0.11566106230020523, -0.1491878628730774, 0.15709786117076874, -0.16835692524909973, -0.1116042211651802, -0.0012895168038085103, -0.4069162607192993, -0.21900570392608643, 0.2060641050338745, 0.6067394614219666, -0.04720138758420944, -0.10320445150136948, 0.421174556016922, -0.3270183503627777, 0.11183387041091919, 0.23115713894367218, 0.7946302890777588, 1.175145149230957, -0.4222930073738098, 0.15249496698379517, 0.18003688752651215, -0.41132959723472595, 0.045704592019319534, -0.39276960492134094, -0.18647035956382751, 0.30297812819480896, 0.6693871021270752, 0.2623846232891083, 0.5505666136741638, -0.7551206946372986, 0.47104406356811523, -0.10981422662734985, -0.17662020027637482, -0.40537402033805847, -0.020053133368492126, 0.3025769293308258, 0.24490216374397278, 0.8561500310897827, -0.2522889971733093, 0.41602611541748047, -0.3747568428516388, 0.16921073198318481, 0.4029155969619751, 0.10426259785890579, -0.10071063786745071, 0.3554999828338623, 0.35714393854141235, -0.2098560333251953, 0.15277624130249023, -0.1349894106388092, -0.4200899004936218, 0.6531784534454346, 0.33709654211997986, 0.7981109023094177, -0.10100594907999039, -0.1849897801876068, 0.4243334233760834, 0.3146136999130249, -0.06361420452594757, -0.006335642654448748, -0.33720648288726807, -0.03341140225529671, -0.587554395198822, -0.7638477683067322, -0.6738654971122742, -0.0867467150092125, -0.7777373194694519, 0.3691018521785736, -0.09641923755407333, -0.02895258739590645, -0.08311481773853302, -0.024219738319516182, -0.3249431252479553, -0.10371598601341248, -0.45824700593948364, 0.666541576385498, -0.536648154258728, 0.19978594779968262, 0.5926666855812073, -0.04024500772356987, -0.35809290409088135, -0.16831514239311218, -0.028754794970154762, -0.5654975771903992, 0.5401538014411926, 0.2310691773891449, -0.6260349154472351, -0.26336750388145447, -0.2838006317615509, -0.9873777627944946, 1.3791825771331787, 0.0319766029715538, -0.46561622619628906, -0.021261340007185936, -0.5627639889717102, 0.42383629083633423, -0.1575479954481125, 0.28603029251098633, 0.4696780741214752, 0.31405386328697205, 0.17602047324180603, -1.1385769844055176, 0.10081987828016281, -0.16391505300998688, -0.22805961966514587, 0.37068456411361694, -0.6715071797370911, 0.8629356622695923, -0.36066314578056335, -0.6953040957450867, 0.044159285724163055, 0.6278958320617676, 0.40595874190330505, 0.44391658902168274, 0.37433746457099915, 0.28064560890197754, 0.8056697249412537, 0.32806092500686646, 0.9027702808380127, -0.07472527027130127, 0.387533038854599, 1.329506516456604, -0.1259949654340744, 0.9358823299407959, 0.5977916717529297, -0.4265594780445099, 0.33714559674263, 0.520049512386322, 0.18789871037006378, 0.30763325095176697, 0.3560316562652588, -0.0466683954000473, -0.046226903796195984, 0.053778935223817825, -0.3746654987335205, 0.5477095246315002, 0.3707871437072754, -0.10978178679943085, -0.5943358540534973, -0.38740459084510803, -0.16903550922870636, 0.11009623855352402, -0.24824932217597961, 0.9810754656791687, 0.16209286451339722, -0.7465248703956604, 0.6736415028572083, 0.10865429788827896, 0.7714044451713562, -0.5813937783241272, -0.1767105907201767, -0.563176691532135, -0.09589072316884995, -0.2980189323425293, -0.695098340511322, 0.8015521168708801, 0.05841705948114395, -0.3512195348739624, -0.08428659290075302, 0.6901271343231201, -0.051144152879714966, -0.5589038133621216, -0.020482899621129036, 0.5608135461807251, 0.541320264339447, 0.06890750676393509, 0.1163923591375351, 0.004710259381681681, -0.3062739670276642, -0.417229026556015, 0.45645880699157715, 0.5327677130699158, -0.30400192737579346, 0.46279528737068176, 0.5347208976745605, 0.07226613163948059, -0.34429579973220825, -0.1545739471912384, 0.8464654684066772, -0.9244658946990967, -0.7914899587631226, -0.9886664748191833, 0.2758248448371887, -0.29868483543395996, -0.20790985226631165, 0.6694126129150391, 0.6586586833000183, 0.5304736495018005, 0.15663500130176544, 0.7241755127906799, 0.09160654991865158, 0.8489362597465515, -0.5578702092170715, 0.839130163192749, -0.7142619490623474, 0.30913347005844116, -0.11555604636669159, -0.679256021976471, 0.1288357377052307, 0.4734653830528259, 0.35860955715179443, -0.13307662308216095, 0.8463029861450195, 0.3607020378112793, -0.02695847675204277, -0.1094532385468483, 0.28578853607177734, 0.06089862063527107, 0.2868495285511017, 0.6171910762786865, 0.7184193134307861, -0.38113394379615784, 0.5497572422027588, -0.007159319240599871, -0.43009135127067566, -0.529400110244751, -1.0294251441955566, -0.6844595074653625, -0.8218539953231812, 0.22076880931854248, -0.36397477984428406, 0.005034478846937418, 0.4056759774684906, 0.5127550363540649, -0.5367220640182495, -0.5983006358146667, 0.39424052834510803, 0.4023479223251343, -0.1677781343460083, -0.26871731877326965, 0.536540150642395, -0.5858988761901855, -0.39593419432640076, 0.2515789270401001, 0.56386798620224, -0.10427941381931305, -0.3698272407054901, 0.12206299602985382, 0.18148142099380493, -0.06457279622554779, 0.8427273631095886, 0.01143086887896061, -0.7521432042121887, -0.10748854279518127, 0.15989378094673157, -0.17073558270931244, -0.319416344165802, 0.9583167433738708, -0.9568862318992615, 0.16887345910072327, 0.39202290773391724, 0.7143405079841614, 0.641078770160675, 0.2734687030315399, 0.47455739974975586, -0.7574414610862732, -0.16489900648593903, 0.4240904152393341, 0.2446494698524475, 0.2803151607513428, -0.4026641547679901, 0.6982852816581726, -0.09465719014406204, -0.5388367772102356, -0.9841683506965637, 0.12875059247016907, -0.8256101608276367, -0.43125197291374207, 0.9191600680351257, 0.002371616195887327, -0.4925226867198944, 0.023522837087512016, -0.09806672483682632, -0.016163868829607964, -0.30653825402259827, 0.9123607277870178, 0.8726637959480286, -0.20998528599739075, 0.3269062936306, -0.4464156925678253, 0.2526445984840393, 0.3596663475036621, -0.77961665391922, 0.1307331621646881, 0.5582802295684814, 0.18668344616889954, 0.3189186155796051, 0.9775874614715576, -0.1093674749135971, 0.44760775566101074, 0.0074235377833247185, -0.2691665291786194, -0.1641978621482849, -0.1754050850868225, -0.3285832405090332, 0.04566580057144165, -0.1398959457874298, -0.20475268363952637 ]
http://arxiv.org/abs/2407.01360v1
http://arxiv.org/pdf/2407.01360v1
Nullpointer at ArAIEval Shared Task: Arabic Propagandist Technique Detection with Token-to-Word Mapping in Sequence Tagging
2024-07-01T15:15:24
2024-07-01T15:15:24
Abrar Abir, Kemal Oflazer
cs.CL
cs.CL
This paper investigates the optimization of propaganda technique detection in Arabic text, including tweets \& news paragraphs, from ArAIEval shared task 1. Our approach involves fine-tuning the AraBERT v2 model with a neural network classifier for sequence tagging. Experimental results show relying on the first token of the word for technique prediction produces the best performance. In addition, incorporating genre information as a feature further enhances the model's performance. Our system achieved a score of 25.41, placing us 4$^{th}$ on the leaderboard. Subsequent post-submission improvements further raised our score to 26.68.
[ -0.46723872423171997, -0.7403637766838074, 0.1277894675731659, 0.34461653232574463, -0.6734787225723267, 0.20521731674671173, -0.06609585136175156, -0.4747641980648041, 0.32304272055625916, 0.4215264916419983, -0.08733843266963959, -0.9938379526138306, -1.2082926034927368, -0.028302621096372604, -0.7179001569747925, 1.1969940662384033, -0.13531902432441711, -0.21481077373027802, 0.3536612391471863, -0.3615616261959076, -0.441997230052948, -0.3768937587738037, -0.8606826663017273, -0.03866686671972275, 0.5982561111450195, 0.779335618019104, 0.8939317464828491, 0.6438323259353638, 0.4442873001098633, 0.2763674259185791, 0.03227890282869339, 0.31388503313064575, -0.18173760175704956, 0.19434601068496704, -0.23685164749622345, -0.30619239807128906, -0.07996229827404022, -0.021470192819833755, 0.6115298271179199, 0.24506644904613495, 0.06296507269144058, 0.5006107091903687, -0.08247533440589905, 0.33472877740859985, -0.7140097618103027, -0.14853283762931824, -0.49901241064071655, -0.17140606045722961, -0.3809203505516052, -0.3501940965652466, -0.29606544971466064, -0.5218151807785034, -0.1902831345796585, -0.4278237819671631, 0.24013955891132355, 0.34257110953330994, 0.7936846017837524, 0.39358073472976685, -0.6837621331214905, -0.34886276721954346, -0.7390721440315247, 0.7978480458259583, -0.41402822732925415, -0.06429632008075714, 0.3867769241333008, 0.10191299766302109, -0.038353368639945984, -0.6587322354316711, -0.657699704170227, -0.07294993102550507, 0.14524047076702118, -0.015225487761199474, -0.3139461576938629, -0.06822763383388519, -0.011436385102570057, 0.08999726176261902, -0.6393822431564331, 0.0368620827794075, -0.43579667806625366, -0.4558829367160797, 0.6725780963897705, -0.33870917558670044, 0.23898541927337646, -0.34198951721191406, -0.45224207639694214, -0.019367191940546036, -0.5044697523117065, -0.2623516321182251, 0.3983882963657379, -0.028812428936362267, 0.0369657464325428, 0.644154965877533, -0.10262732207775116, 0.6734075546264648, -0.10223764181137085, -0.3760860860347748, 0.13592053949832916, -0.1480257362127304, 0.162166029214859, 0.3810116946697235, 0.5669531226158142, 0.4499567449092865, 0.24767298996448517, 0.02122703194618225, -0.24725839495658875, 0.5672977566719055, 0.3531816005706787, -0.6767141819000244, -0.05213557556271553, -0.014093291945755482, -0.4068732261657715, -0.5467069745063782, -0.013117508962750435, -0.45795226097106934, -0.2862725853919983, 0.0907452255487442, 0.7351938486099243, -0.5050947070121765, -0.25622305274009705, -0.026378553360700607, -0.355449378490448, 0.1456480622291565, 0.3955908715724945, -0.3716103136539459, 0.19534295797348022, 0.7542952299118042, 1.1969776153564453, -0.26257947087287903, -0.09298031032085419, -0.5449197888374329, 0.018682684749364853, -0.6246212720870972, 1.1480638980865479, -0.5238873958587646, -0.5107169151306152, 0.26919496059417725, -0.388558954000473, 0.0426432229578495, -0.44889456033706665, 1.2154982089996338, -0.8803192377090454, -0.05672307685017586, -0.15064123272895813, -0.7562295198440552, -0.5158212780952454, 0.2081291228532791, -0.7058171629905701, 1.1643502712249756, 0.1652010828256607, -0.8202404975891113, 0.49480852484703064, -0.7504324913024902, -0.5188957452774048, 0.1060733050107956, -0.04627493396401405, -0.4867243766784668, -0.06946076452732086, 0.06244249269366264, 0.29275843501091003, -0.029111186042428017, 0.10286124050617218, 0.24922049045562744, -0.879925549030304, 0.18386945128440857, -0.32732734084129333, 0.3039877116680145, 0.28779491782188416, -0.5814582705497742, 0.24459055066108704, -0.8333914875984192, -0.07273650169372559, -0.16051355004310608, -0.257403701543808, -0.5064908266067505, -0.023059671744704247, 0.26569050550460815, 0.28366369009017944, -0.07821457087993622, -0.4427807927131653, 0.3365213871002197, -0.4981520175933838, -0.07300221174955368, 0.5744872093200684, 0.41434383392333984, 0.2626788914203644, -0.6408771276473999, 0.671233057975769, 0.15059173107147217, -0.1271626353263855, 0.09749004989862442, -0.7247220277786255, -0.8941637873649597, -0.10507726669311523, 0.4624084532260895, 0.7055968642234802, -0.919175922870636, 0.20550677180290222, -0.1893462836742401, -0.6782826781272888, -0.5576013326644897, -0.07856251299381256, 0.5542178153991699, 0.2747757136821747, 0.3173976540565491, -0.31551393866539, -0.5699926614761353, -0.9682523012161255, -0.5946539044380188, -0.11849216371774673, 0.2599339485168457, -0.24825522303581238, 0.9190940856933594, 0.0994156152009964, 0.5057488679885864, -0.3157047629356384, -0.36585232615470886, -0.12249962985515594, 0.8073016405105591, 0.1498875617980957, 0.5637490153312683, 0.5205694437026978, -1.1853097677230835, -0.6152411699295044, -0.1984642595052719, -0.3745481073856354, -0.11136392503976822, 0.20616646111011505, -0.07359037548303604, 0.5748721361160278, 0.45033732056617737, -0.36560767889022827, 0.9080295562744141, 0.4400671124458313, -0.5510948300361633, 0.536616861820221, 0.3028567433357239, 0.5410401225090027, -1.3496183156967163, 0.08423219621181488, 0.2119816541671753, -0.29545876383781433, -0.7809591889381409, 0.06598451733589172, -0.2002830058336258, 0.12107249349355698, -0.5860977172851562, 0.49895182251930237, -0.3433739244937897, 0.07573043555021286, -0.7268967032432556, 0.015643617138266563, -0.2201525866985321, 0.23880548775196075, -0.10678861290216446, 1.172614336013794, 0.366018146276474, -0.5044050812721252, 0.10882564634084702, 0.2856050133705139, -0.4620636999607086, 0.25936853885650635, -0.600646436214447, 0.2759060263633728, -0.1755848079919815, 0.07810419797897339, -1.2306227684020996, -0.05648389458656311, 0.7239943146705627, -0.7014152407646179, 0.1700991690158844, -0.2721719741821289, -0.6417409181594849, -0.041176121681928635, -0.34667855501174927, 0.6330799460411072, 0.5862092971801758, -0.21068695187568665, 0.24503381550312042, 0.31111112236976624, 0.0814444050192833, -0.8360381126403809, -0.3130650520324707, 0.16745801270008087, -0.3637121915817261, -0.6353070139884949, 0.5653691291809082, 0.2596062421798706, -0.22170594334602356, -0.03361649066209793, -0.26576128602027893, 0.05740685015916824, 0.0799388438463211, 0.36628586053848267, 0.0789412185549736, -0.23848411440849304, 0.14227013289928436, 0.0708589032292366, -0.2839757800102234, 0.03466571122407913, -0.4347303509712219, 0.6136349439620972, 0.07634173333644867, -0.3655450940132141, -0.38841724395751953, 0.7710984945297241, 0.29985061287879944, -0.20532500743865967, 1.2127629518508911, 0.9725216627120972, -0.3793140947818756, -0.08978178352117538, -0.589982807636261, 0.053482867777347565, -0.4778129458427429, 0.26555541157722473, -0.1844717264175415, -0.908926784992218, 0.3630612790584564, -0.3314245045185089, -0.19846990704536438, 0.7194555997848511, 0.47283968329429626, 0.2278817892074585, 1.1239254474639893, 0.7722697257995605, -0.2662751078605652, 0.18394561111927032, -0.34956175088882446, 0.33191245794296265, -0.47806310653686523, -0.08145840466022491, -0.7497052550315857, -0.45539623498916626, -0.8166772127151489, -0.6957471966743469, 0.5573467016220093, 0.27055037021636963, -0.19048736989498138, 0.013088610954582691, -0.6694518327713013, 0.3572646379470825, 0.7414816617965698, -0.14453576505184174, 0.3121446669101715, 0.20244407653808594, 0.08698876947164536, 0.031601548194885254, -0.567225456237793, -0.7084890604019165, 0.9027802348136902, 0.059498272836208344, 0.32441699504852295, 0.29089194536209106, 0.7579609751701355, 0.7941707372665405, 0.4772129952907562, -0.850178062915802, 0.6239235997200012, 0.04179145395755768, -0.4735282063484192, -0.11111108213663101, 0.21775665879249573, -0.8209881782531738, 0.19749246537685394, 0.03452088683843613, -0.794984757900238, 0.10037313401699066, 0.10263492166996002, -0.18399330973625183, 0.06987173855304718, -0.38128238916397095, 0.6932504177093506, 0.3967110216617584, -0.2006518840789795, -0.40992456674575806, -0.720619797706604, 0.2140878438949585, -0.04926363751292229, 0.28890833258628845, -0.14807036519050598, -0.4565075933933258, 1.1603327989578247, -0.23227627575397491, 0.7348347306251526, -0.13582023978233337, 0.004084301181137562, 0.3583396375179291, 0.09583832323551178, 0.471257746219635, -0.09794647991657257, -0.11384572088718414, 0.220872163772583, -0.2539515793323517, -0.5978889465332031, -0.3296925127506256, 0.6549506187438965, -0.8972355127334595, -0.7072002291679382, -0.9520694613456726, -0.2908945679664612, 0.11399233341217041, 0.08481083810329437, 0.5785267949104309, 0.42818570137023926, -0.13971592485904694, -0.028035026043653488, 0.416623055934906, 0.12287652492523193, 0.4834413528442383, 0.4032314717769623, -0.009418316185474396, -0.2686494290828705, 0.8883172273635864, 0.1178356185555458, -0.04886054992675781, 0.24014773964881897, -0.13531115651130676, -0.14592404663562775, -0.7923333048820496, -0.424849271774292, 0.18852798640727997, -0.9670332074165344, -0.40931838750839233, -0.3659103512763977, -0.43234023451805115, -0.3068081736564636, -0.16325262188911438, -0.16695480048656464, -0.46122750639915466, -0.37329792976379395, -0.026409048587083817, 0.40327128767967224, 0.6445770263671875, -0.08756124973297119, 0.6921532154083252, -0.7813800573348999, 0.2098640501499176, -0.33377406001091003, -0.0535283200442791, -0.3733389675617218, -0.8410736322402954, -0.41533225774765015, -0.052421439439058304, -0.5383759140968323, -1.2966350317001343, 0.539889931678772, 0.21121783554553986, 0.25444501638412476, 0.5828081369400024, 0.0263817198574543, 0.5418754816055298, -0.40436530113220215, 0.9217734336853027, -0.2020864188671112, -1.0025975704193115, 0.7883499264717102, -0.20581786334514618, 0.30113720893859863, 0.3774762451648712, 0.9898329973220825, -0.7024974822998047, -0.49878740310668945, -0.573760449886322, -0.7998719811439514, 0.4982324540615082, 0.5205446481704712, -0.048931658267974854, -0.19741906225681305, 0.37223169207572937, 0.043568551540374756, 0.3415004312992096, -0.4088018536567688, -0.6631680130958557, -0.17393921315670013, -0.13593024015426636, -0.07846008241176605, -0.6326407194137573, -0.11833260208368301, -0.2829609811306, 0.9256722331047058, -0.10348683595657349, 0.36576637625694275, 0.3498077094554901, -0.29379940032958984, -0.2840048670768738, 0.2739441990852356, 0.980887770652771, 0.823684811592102, 0.11730273067951202, 0.17135466635227203, -0.15433943271636963, -0.6299258470535278, 0.36378127336502075, 0.24578699469566345, -0.27874577045440674, 0.4810611605644226, 0.5503048896789551, 0.7602322697639465, 0.15249305963516235, -0.32568269968032837, 0.622620701789856, 0.25323963165283203, -0.29566624760627747, -0.7063291668891907, 0.09787249565124512, -0.2497730702161789, 0.3843041956424713, 0.6872115731239319, 0.44668203592300415, 0.4863329827785492, -0.2738519012928009, 0.2874677777290344, 0.2207144945859909, -0.1164388656616211, -0.2284466028213501, 0.6114014387130737, -0.06538083404302597, -0.7042719721794128, 0.2565251290798187, -0.46873682737350464, -1.0116478204727173, 0.5240108370780945, 0.5550471544265747, 0.5393433570861816, -0.6684210896492004, 0.486524760723114, 0.4024048447608948, 0.20497091114521027, 0.01276085339486599, 0.5552541017532349, -0.031461913138628006, -0.8008462190628052, -0.5531882643699646, -0.5243207216262817, -0.034898437559604645, 0.05070697143673897, -0.4622143805027008, 0.29832735657691956, -0.08404334634542465, -0.1838017702102661, 0.2828346788883209, 0.23702338337898254, -0.4428061842918396, 0.17249281704425812, 0.0826646238565445, 0.9560871124267578, -0.97777259349823, 0.8440133929252625, 0.8159936666488647, -0.3642924427986145, -0.9183254241943359, 0.1556050330400467, 0.15649236738681793, -0.9010568857192993, 0.7630184292793274, 0.3021914064884186, -0.23011700809001923, 0.2756721079349518, -0.541122555732727, -1.1464693546295166, 0.8295949697494507, -0.005950853228569031, -0.20746903121471405, 0.15131494402885437, 0.12135238945484161, 0.28487032651901245, -0.18845465779304504, 0.23116807639598846, 0.5513606071472168, 0.4828990399837494, 0.28565412759780884, -0.9062566757202148, 0.037157051265239716, -0.46221867203712463, 0.0018499562283977866, 0.5095191597938538, -0.6679157614707947, 0.6201452016830444, 0.25400975346565247, -0.25914400815963745, 0.24406930804252625, 0.8964350819587708, 0.07824312150478363, 0.4640592634677887, 0.5060040354728699, 0.499610960483551, 0.303996741771698, 0.03281686455011368, 0.8019760847091675, -0.2863619923591614, 0.15340489149093628, 0.7086905241012573, 0.0836118683218956, 0.8215300440788269, 0.5779088735580444, 0.2254272699356079, 0.8012322187423706, 0.5184406042098999, 0.0432533398270607, 0.6756383776664734, 0.29156678915023804, -0.6154373288154602, 0.022803300991654396, -0.5764549970626831, -0.3318083584308624, 0.7749419808387756, 0.4085226058959961, -0.35149168968200684, -0.20915469527244568, 0.26360028982162476, 0.39876604080200195, 0.23797202110290527, -0.368228018283844, 0.7570735216140747, -0.024168964475393295, -0.937928318977356, 0.7111665606498718, 0.5448609590530396, 0.5960694551467896, -0.36142081022262573, -0.4687827229499817, 0.0331222340464592, 0.08331698924303055, 0.028060048818588257, -0.5017989873886108, 0.4504922032356262, -0.17070133984088898, 0.0520392544567585, 0.050308387726545334, 1.1704660654067993, -0.37544718384742737, -0.508533239364624, -0.0020886510610580444, 0.48260316252708435, 0.21263042092323303, -0.22348639369010925, -0.41357946395874023, 0.3455050587654114, -0.241370290517807, -0.2605658769607544, 0.03477899357676506, 0.36333152651786804, -0.37295767664909363, 0.48171982169151306, 0.557098925113678, 0.10721494257450104, -0.04983854666352272, -0.009181862697005272, 0.7892665266990662, -0.5958293676376343, -0.5089706182479858, -0.9920096397399902, 0.2692292332649231, -0.2961137890815735, -0.4892643988132477, 0.9808914065361023, 0.6305977702140808, 0.8216670751571655, 0.028388887643814087, 0.6368772387504578, 0.10061043500900269, 0.6238475441932678, -0.2563496232032776, 0.6952393054962158, -0.4195074141025543, -0.026067504659295082, -0.22958166897296906, -0.8264924883842468, -0.30892935395240784, 0.6943230032920837, -0.23447969555854797, -0.11125141382217407, 0.8948246836662292, 0.9297780990600586, 0.12212033569812775, 0.09824654459953308, 0.25617071986198425, -0.060210008174180984, 0.03488924354314804, 0.2701285779476166, 0.8875210881233215, -0.6517585515975952, 0.3986471891403198, -0.2714863419532776, -0.13937421143054962, -0.39031046628952026, -0.8634198904037476, -0.8889277577400208, -0.8028514981269836, -0.415446937084198, -0.4534769058227539, 0.42027145624160767, 0.9651428461074829, 0.6030828952789307, -0.656582236289978, -0.0984482616186142, 0.03596033900976181, 0.21095426380634308, -0.18859906494617462, -0.20180264115333557, 0.5546873807907104, -0.06685987859964371, -0.5946077108383179, 0.016062263399362564, 0.169908806681633, -0.1458853781223297, -0.09726378321647644, 0.11608092486858368, -0.5904971361160278, 0.11795683950185776, 0.33454376459121704, 0.0490184985101223, -0.6987839341163635, -0.6938849091529846, -0.3020666241645813, 0.05527190491557121, 0.04578474164009094, 0.779525876045227, -0.8177415728569031, -0.0988105982542038, 0.13141506910324097, 0.4667357802391052, 0.412625253200531, 0.23520898818969727, 0.20551535487174988, -1.0077712535858154, 0.5455581545829773, 0.5826564431190491, -0.016331935301423073, 0.2408646047115326, -0.4652738571166992, 0.3547511696815491, 0.32859551906585693, -0.76125168800354, -0.6769506335258484, 0.0867668017745018, -0.85533607006073, -0.1462486982345581, 1.1953191757202148, 0.05224183201789856, -0.46078768372535706, -0.32530948519706726, -0.45939335227012634, 0.7159832715988159, -0.5447413325309753, 0.8699809312820435, 0.7840811014175415, 0.32403773069381714, -0.13638830184936523, -0.5640133023262024, 0.6898931860923767, 0.5367117524147034, -0.44214290380477905, -1.0003020763397217, 0.3328182101249695, 0.1847052127122879, 0.33428454399108887, 0.7726007699966431, 0.35196974873542786, 0.5413998961448669, 0.012572732754051685, -0.20203657448291779, 0.07582293450832367, -0.45160919427871704, -0.10654624551534653, 0.32977205514907837, 0.2744995355606079, -0.5461991429328918 ]
http://arxiv.org/abs/2407.01358v1
http://arxiv.org/pdf/2407.01358v1
Evaluating Knowledge-based Cross-lingual Inconsistency in Large Language Models
2024-07-01T15:11:37
2024-07-01T15:11:37
Xiaolin Xing, Zhiwei He, Haoyu Xu, Xing Wang, Rui Wang, Yu Hong
cs.CL
cs.CL
This paper investigates the cross-lingual inconsistencies observed in Large Language Models (LLMs), such as ChatGPT, Llama, and Baichuan, which have shown exceptional performance in various Natural Language Processing (NLP) tasks. Despite their successes, these models often exhibit significant inconsistencies when processing the same concepts across different languages. This study focuses on three primary questions: the existence of cross-lingual inconsistencies in LLMs, the specific aspects in which these inconsistencies manifest, and the correlation between cross-lingual consistency and multilingual capabilities of LLMs.To address these questions, we propose an innovative evaluation method for Cross-lingual Semantic Consistency (xSC) using the LaBSE model. We further introduce metrics for Cross-lingual Accuracy Consistency (xAC) and Cross-lingual Timeliness Consistency (xTC) to comprehensively assess the models' performance regarding semantic, accuracy, and timeliness inconsistencies. By harmonizing these metrics, we provide a holistic measurement of LLMs' cross-lingual consistency. Our findings aim to enhance the understanding and improvement of multilingual capabilities and interpretability in LLMs, contributing to the development of more robust and reliable multilingual language models.
[ -0.11455424875020981, -0.7611598968505859, 0.4686140716075897, 0.47630879282951355, 0.07348192483186722, 0.3260442912578583, -0.37492528557777405, -0.6455176472663879, 0.15739421546459198, 0.19578680396080017, -0.42331624031066895, -0.46003034710884094, -0.7283097505569458, 0.15079514682292938, -0.33018186688423157, 0.5609069466590881, -0.32796579599380493, 0.2901563048362732, -0.0897037461400032, -0.4279612600803375, -0.6589285135269165, -0.39638590812683105, -0.6461350321769714, -0.3550051748752594, 0.30521583557128906, 0.22934553027153015, 0.8530585169792175, 0.3870733976364136, 0.306835412979126, 0.2507655620574951, -0.16584515571594238, 0.37187445163726807, -0.4160553812980652, -0.20570382475852966, -0.3763262629508972, -0.4041692912578583, -0.4731912910938263, -0.23466269671916962, 0.8309317231178284, 0.8712586760520935, -0.01990300975739956, -0.13496211171150208, 0.13857907056808472, 0.30810561776161194, -0.39713212847709656, 0.2837153375148773, -0.6790422201156616, 0.21939672529697418, -0.19624747335910797, -0.0863979309797287, -0.3329251706600189, -0.21154893934726715, 0.28335142135620117, -0.5946335196495056, 0.05387309566140175, 0.21095016598701477, 0.9781507253646851, -0.07958854734897614, -0.41622069478034973, -0.3679323196411133, -0.5108360648155212, 0.8601388335227966, -1.0697907209396362, 0.9380936622619629, 0.11392384767532349, 0.0779053121805191, -0.15240144729614258, -0.45505112409591675, -0.6132665872573853, -0.4431438148021698, -0.1361025720834732, 0.030583929270505905, -0.10650435835123062, -0.36016812920570374, 0.10504009574651718, 0.24271230399608612, -0.7389753460884094, 0.4000811278820038, 0.17189829051494598, -0.2967880368232727, 0.538998544216156, 0.14177808165550232, 0.48661911487579346, -0.2716972827911377, -0.5513731241226196, -0.02955160103738308, -0.8582727313041687, 0.09496297687292099, 0.2775810956954956, 0.14936351776123047, -0.3153981864452362, 0.6729139089584351, -0.15220090746879578, 0.3981008231639862, -0.06299103051424026, -0.277951717376709, 0.26886293292045593, -0.5326011180877686, -0.2412811666727066, 0.05405222624540329, 0.7426308393478394, 0.16865214705467224, 0.21198898553848267, -0.48644235730171204, -0.040544845163822174, -0.07028878480195999, -0.24997594952583313, -0.2713610529899597, 0.005667568184435368, 0.20805391669273376, -0.16705483198165894, 0.036524008959531784, -0.14392276108264923, -0.4018104672431946, -0.3500436544418335, -0.3851557672023773, 0.4179950952529907, -0.5420775413513184, -0.4420156478881836, 0.08380351215600967, 0.18750718235969543, 0.15279491245746613, 0.283113956451416, -0.8058152198791504, 0.1491064876317978, 0.7138956189155579, 0.6544898152351379, -0.31040385365486145, -0.8167982697486877, -0.3232458531856537, 0.159894660115242, -0.5111873149871826, 0.5761299133300781, -0.21778886020183563, -0.17449648678302765, -0.038140617311000824, 0.2357640415430069, -0.329547643661499, -0.5261883735656738, 0.3679831624031067, -0.5862294435501099, -0.10694774240255356, -0.4387166500091553, -0.8802255392074585, -0.1719760298728943, 0.6540305018424988, -0.5930140018463135, 1.1075190305709839, 0.08242897689342499, -0.9133984446525574, 0.5567439198493958, -0.4006809890270233, -0.23976072669029236, 0.06058841571211815, -0.33305397629737854, -0.1600954532623291, -0.06096963584423065, 0.10066404193639755, 0.3585945963859558, -0.39948007464408875, 0.6174700260162354, -0.19094794988632202, -0.26024335622787476, 0.415455162525177, -0.504810094833374, 0.9487523436546326, -0.26755836606025696, -0.4118238389492035, 0.23494888842105865, -0.8743155598640442, 0.21122810244560242, 0.1518879234790802, -0.2598569393157959, -0.42489615082740784, -0.16091758012771606, -0.10270945727825165, 0.38907837867736816, 0.4587554335594177, -0.6578558683395386, -0.09187836945056915, -0.2637304663658142, 0.3083140552043915, 0.6922716498374939, -0.4087369441986084, 0.17548207938671112, -0.3473958373069763, 0.3006780445575714, 0.17847667634487152, 0.14252963662147522, 0.06509167701005936, -0.5529230833053589, -0.716813862323761, 0.04337397217750549, 0.41389089822769165, 0.6685735583305359, -0.8199505805969238, 0.21402312815189362, -0.5922556519508362, -0.553378701210022, -0.26612910628318787, 0.3706474304199219, 0.4065428078174591, 0.45171937346458435, 0.26343339681625366, -0.14365966618061066, -0.5822374224662781, -0.8207049369812012, -0.3038051128387451, -0.33790528774261475, 0.163870707154274, 0.06761333346366882, 0.5368778705596924, -0.4035150110721588, 0.8158035278320312, -0.018541522324085236, 0.09533124417066574, -0.27246493101119995, 0.24265313148498535, -0.2611066997051239, 0.3363563120365143, 0.3950064778327942, -0.5988934636116028, -0.5366435647010803, 0.4501955807209015, -0.8319719433784485, -0.11087089031934738, 0.1531316041946411, 0.049015503376722336, 0.6654208898544312, 0.4513304829597473, -0.45021408796310425, 0.23134121298789978, 0.9787402749061584, -0.23308676481246948, 0.8390064835548401, -0.2609686851501465, 0.32518136501312256, -0.605635941028595, 0.008866947144269943, 0.057671837508678436, -0.12188629060983658, -0.5638269782066345, 0.05763651803135872, 0.4059763252735138, 0.4011085331439972, -0.6465396881103516, 0.8958343863487244, -0.42115387320518494, -0.18611784279346466, 0.09158905595541, 0.5647436380386353, 0.19869719445705414, 0.48999229073524475, 0.20920151472091675, 0.6323312520980835, 0.4566211998462677, -0.43229132890701294, 0.45359474420547485, 0.11968043446540833, -0.5807233452796936, 0.6631781458854675, -0.6115220785140991, -0.15086768567562103, 0.22233182191848755, 0.03194302320480347, -0.9595224261283875, -0.037954505532979965, 0.09399959444999695, -0.28006553649902344, 0.24496552348136902, 0.04789154231548309, -0.766247570514679, 0.02628851868212223, -0.0895446240901947, 0.5952793955802917, 0.148420050740242, -0.6124795079231262, 0.49735936522483826, 0.2191343903541565, -0.1998671144247055, -0.7761960029602051, -0.6131086945533752, 0.1373877376317978, 0.04323282837867737, -1.1513607501983643, 0.09412506967782974, 0.04091785103082657, -0.33020827174186707, 0.04732714593410492, -0.09356218576431274, 0.021645566448569298, -0.12399421632289886, -0.07567501813173294, 0.3697715699672699, -0.39260542392730713, 0.11925982683897018, -0.08833303302526474, 0.21268965303897858, 0.04761160910129547, -0.17214266955852509, 0.5354881286621094, -0.23019005358219147, -0.6554386019706726, -0.11232009530067444, 0.17830997705459595, 0.44643938541412354, -0.008674856275320053, 0.7740924954414368, 0.5656397342681885, -0.3601108491420746, -0.04277056083083153, -0.7981670498847961, 0.23157358169555664, -0.3360898196697235, 0.5011138319969177, -0.3807462751865387, -1.0100690126419067, 0.9565011858940125, 0.17623735964298248, 0.10547467321157455, 0.4175598621368408, 0.49499672651290894, 0.21228453516960144, 0.9911491274833679, 0.7644298076629639, 0.212830051779747, 0.13640162348747253, -0.026215411722660065, 0.2521180808544159, -0.9596362709999084, -0.49557018280029297, -0.36261266469955444, 0.10031162202358246, -0.6701780557632446, -0.4611876904964447, 0.25541481375694275, -0.08099840581417084, -0.41476649045944214, 0.3635413944721222, 0.38184693455696106, 0.10869200527667999, 0.2319643348455429, -0.33970895409584045, 0.7072680592536926, -0.061853159219026566, -0.515393078327179, -0.12387597560882568, -1.0221617221832275, -0.501814067363739, 0.745521605014801, 0.448623925447464, 0.7503921389579773, 0.15887309610843658, 0.16277194023132324, 0.03578987717628479, 0.2157154381275177, -0.5498260855674744, 0.47056567668914795, -0.21555167436599731, -0.6311987042427063, -0.558621346950531, -0.6353651285171509, -0.8694692254066467, 0.4351590871810913, -0.19391147792339325, -0.9153640270233154, 0.1788317710161209, -0.22977806627750397, -0.06126167252659798, 0.5347982048988342, -0.561126708984375, 1.112548589706421, -0.5346774458885193, -0.41925325989723206, -0.07947389781475067, -0.6435492634773254, 0.6544792056083679, -0.3044026494026184, 0.3573416769504547, -0.20924441516399384, -0.016219278797507286, 0.6990470886230469, -0.39512258768081665, 0.7324523329734802, 0.27016738057136536, -0.7004144787788391, 0.03433569148182869, 0.061033446341753006, 0.46180248260498047, 0.0716315358877182, -0.06070578843355179, 0.7103191018104553, 0.2590390741825104, -0.3740164339542389, -0.7016093134880066, 0.7566325664520264, -0.9398148059844971, -0.5559407472610474, -0.23066292703151703, -0.9779056906700134, -0.575025737285614, 0.1601998507976532, 0.23494143784046173, 0.35520538687705994, -0.41198572516441345, -0.14784075319766998, 0.6602962017059326, -0.4511985778808594, 0.20323219895362854, 0.816216766834259, -0.49016597867012024, -0.16616031527519226, 0.7642782330513, 0.3950949013233185, 0.6933211088180542, 0.4864887297153473, 0.0682150200009346, -0.4041394889354706, -0.3337966799736023, -0.6819677948951721, 0.4170466959476471, -0.9351516366004944, 0.08942718058824539, -0.6288524866104126, -0.365186482667923, -0.6257736682891846, 0.03675203025341034, -0.5327656865119934, -0.2887762188911438, 0.08722331374883652, 0.20435458421707153, 0.10700837522745132, 0.6705892086029053, -0.1520029902458191, 0.18826594948768616, -1.0277329683303833, 0.15224206447601318, -0.032981209456920624, 0.39321839809417725, 0.21431401371955872, -0.6758580803871155, -0.4629145860671997, 0.3132326304912567, 0.010523022152483463, -0.6094066500663757, 0.18969455361366272, -0.22999118268489838, 0.7930222749710083, 0.17550793290138245, -0.2597273886203766, 0.6595731973648071, -0.33005157113075256, 0.7132284641265869, 0.238744854927063, -1.3376023769378662, 0.17464466392993927, -0.11681440472602844, 0.24311645328998566, 0.09990871697664261, 0.25710204243659973, -0.9242597818374634, -0.528236985206604, -0.6088503003120422, -0.7300091981887817, 0.5377256274223328, 0.12858831882476807, -0.28842416405677795, 0.013749662786722183, -0.06917185336351395, 0.24305987358093262, -0.023644236847758293, -0.7681090831756592, -0.12635096907615662, -0.024198897182941437, 0.1954774707555771, 0.007660889532417059, -0.23599594831466675, -0.08905722200870514, 0.018001407384872437, 0.9504998326301575, -0.10696259140968323, -0.3698684275150299, 0.0754660815000534, -0.28096315264701843, -0.09644065797328949, 0.4710942208766937, 0.5453104376792908, 1.0490577220916748, -0.011538109742105007, 0.11061651259660721, 0.6204783320426941, -0.27381306886672974, 0.23348067700862885, -0.10999056696891785, -0.03205931931734085, 0.12062331289052963, 0.5772020816802979, 0.7815108299255371, 0.49927785992622375, -0.8662810921669006, 0.45226460695266724, -0.22328035533428192, 0.12783542275428772, -0.19670520722866058, -0.15549755096435547, 0.2899857759475708, 0.2017693817615509, -0.0003453324025031179, -0.04554342105984688, -0.29138433933258057, -0.7330642938613892, -0.14111042022705078, 0.4899601638317108, -0.1964160054922104, -0.11329413205385208, 0.410957396030426, -0.17457331717014313, 0.10999166965484619, 0.5356524586677551, -0.14015868306159973, -0.5018507838249207, 0.6212828159332275, 0.4766899347305298, 0.5576045513153076, -0.2224375307559967, 0.15858712792396545, 0.03679859638214111, 0.600509524345398, -0.25970375537872314, 0.12481759488582611, 0.21649110317230225, -1.0443307161331177, -0.7112994194030762, -0.33705806732177734, -0.6560595631599426, -0.03478740155696869, -0.5199687480926514, 0.4291418492794037, -0.16379711031913757, 0.01083108875900507, -0.1767919808626175, 0.13118456304073334, -0.6393366456031799, 0.28808608651161194, 0.046414103358983994, 1.0849872827529907, -0.8831319212913513, 0.8968725800514221, 0.613854169845581, -0.21663574874401093, -1.1268240213394165, -0.12153023481369019, -0.06620632857084274, -0.9323170185089111, 0.9002758860588074, -0.2676312029361725, -0.3026731014251709, -0.3939577043056488, -0.14694646000862122, -0.9776931405067444, 1.1040070056915283, 0.435150682926178, -0.7542985677719116, 0.009183142334222794, 0.48229435086250305, 0.6010437607765198, -0.25355371832847595, 0.2144496738910675, 0.709321916103363, 0.6043803095817566, 0.11228141188621521, -1.3783034086227417, 0.10567889362573624, -0.2228619009256363, 0.14803040027618408, 0.024803537875413895, -0.7353962063789368, 0.8360874056816101, -0.10135816037654877, -0.28044062852859497, 0.06274140626192093, 0.5626882314682007, 0.5667275786399841, 0.3144318163394928, 0.40217113494873047, 0.6066394448280334, 0.8896285891532898, -0.1500198394060135, 0.9635239243507385, -0.3147995173931122, 0.32181406021118164, 1.2165956497192383, -0.7266393899917603, 0.7629046440124512, 0.4558693766593933, -0.1993420422077179, 0.383231520652771, 0.42957979440689087, 0.05047132447361946, 0.11317886412143707, 0.017027873545885086, -0.08533406257629395, -0.23616167902946472, -0.028624767437577248, -0.48599058389663696, 0.3987222909927368, 0.30139970779418945, -0.006027240306138992, -0.39130276441574097, -0.014049419201910496, 0.16420942544937134, -0.2490217536687851, -0.13543879985809326, 0.4315904378890991, 0.09741532802581787, -0.6837624907493591, 0.6411066651344299, 0.274077445268631, 0.6850643754005432, -0.6937099099159241, 0.18220928311347961, -0.2626517415046692, 0.2544824481010437, -0.3458215892314911, -0.8911820650100708, 0.39382845163345337, 0.010943046770989895, -0.09914346039295197, 0.17237363755702972, 0.45848116278648376, -0.5432084798812866, -0.5484063625335693, 0.6936153173446655, 0.8422855138778687, 0.16843846440315247, 0.2936202883720398, -0.6370189785957336, 0.46573686599731445, -0.11476118862628937, 0.09664929658174515, 0.3617805242538452, 0.8403735160827637, -0.3068394660949707, 0.7858805060386658, 0.4850143492221832, 0.19906440377235413, 0.3094429671764374, 0.2826169729232788, 0.3921406865119934, -0.4951731264591217, -0.2660432755947113, -0.8449814915657043, 0.3057920038700104, 0.12734748423099518, -0.34082677960395813, 1.184067726135254, 0.4586431086063385, 1.2044230699539185, 0.15008631348609924, 0.8410671353340149, -0.008692595176398754, 0.45931383967399597, -0.6342735290527344, 0.6216955780982971, -0.6680120229721069, 0.6331723928451538, -0.33829382061958313, -0.7439740300178528, -0.20767022669315338, 0.427243173122406, -0.4515898823738098, 0.051762230694293976, 0.9146419167518616, 0.7859300971031189, -0.05352767929434776, 0.3580147624015808, 0.5904254913330078, 0.36488449573516846, 0.2429790049791336, 0.6293563842773438, 1.088361144065857, -0.544998824596405, 0.47333982586860657, -0.2443419098854065, -0.09263048321008682, -0.09217824786901474, -0.996873140335083, -0.7099637389183044, -0.44084426760673523, -0.5650402903556824, -0.32859304547309875, 0.14412006735801697, 0.6942337155342102, 0.5447863340377808, -0.8554748892784119, -0.5648917555809021, 0.12960989773273468, 0.4052000343799591, -0.2512568533420563, -0.23471122980117798, 0.3935360908508301, -0.38461288809776306, -0.6556733250617981, 0.26326391100883484, 0.3806222975254059, -0.01959063857793808, -0.602835476398468, -0.22000494599342346, -0.3478461802005768, 0.19670799374580383, 0.7625337839126587, 0.21783384680747986, -0.9603239297866821, -0.2855287194252014, 0.2462698519229889, -0.308959424495697, 0.14853189885616302, 0.5859753489494324, -0.4521051049232483, 0.18719150125980377, 0.5358699560165405, 0.6395940184593201, 0.22112064063549042, -0.3883199095726013, 0.42627018690109253, -0.5500426292419434, -0.18001441657543182, -0.15036968886852264, 0.811337411403656, 0.6860842704772949, -0.17305327951908112, 0.528516411781311, 0.14591708779335022, -0.590709388256073, -0.6671760678291321, 0.15699048340320587, -0.9614052176475525, -0.20350223779678345, 1.083655834197998, -0.5586261749267578, -0.06959251314401627, -0.229182630777359, -0.05639893561601639, 0.3468637764453888, 0.09675168991088867, 0.6681345701217651, 1.1023272275924683, -0.1606953740119934, -0.05413822829723358, -0.6336761116981506, 0.050384849309921265, 0.6130218505859375, -0.761898398399353, 0.1783149689435959, 0.3770654797554016, 0.651465892791748, 0.37730810046195984, 0.34336137771606445, -0.35586416721343994, 0.2343652844429016, 0.050211917608976364, -0.06504768133163452, 0.3601958155632019, -0.22910873591899872, -0.10693483799695969, 0.002151121385395527, 0.014792831614613533, 0.3632029891014099 ]
http://arxiv.org/abs/2407.01334v2
http://arxiv.org/pdf/2407.01334v2
Protecting Privacy in Classifiers by Token Manipulation
2024-07-01T14:41:59
2024-07-03T16:31:52
Re'em Harel, Yair Elboher, Yuval Pinter
cs.CL
cs.CL, cs.CR
Using language models as a remote service entails sending private information to an untrusted provider. In addition, potential eavesdroppers can intercept the messages, thereby exposing the information. In this work, we explore the prospects of avoiding such data exposure at the level of text manipulation. We focus on text classification models, examining various token mapping and contextualized manipulation functions in order to see whether classifier accuracy may be maintained while keeping the original text unrecoverable. We find that although some token mapping functions are easy and straightforward to implement, they heavily influence performance on the downstream task, and via a sophisticated attacker can be reconstructed. In comparison, the contextualized manipulation provides an improvement in performance.
[ 0.06571542471647263, -0.6534523963928223, 0.3000991642475128, -0.21159321069717407, -0.10083924233913422, 0.11252192407846451, -0.1151258572936058, -0.8995336294174194, -0.2987403869628906, 1.0661439895629883, -0.019857987761497498, -0.6362559199333191, -0.9071773290634155, -0.26226621866226196, -0.7731519341468811, 1.1714940071105957, 0.13515235483646393, -0.1702185422182083, 0.11086218804121017, -0.09234989434480667, -0.2774088978767395, -1.1677625179290771, -0.5563571453094482, 0.005802254192531109, 0.5038465857505798, 0.21036997437477112, 0.8938984870910645, 0.9298149943351746, 0.8271875977516174, 0.41042932868003845, -0.11805878579616547, -0.05869646742939949, -0.31004080176353455, 0.2416197508573532, -0.32317492365837097, -0.8649702072143555, -0.3568306267261505, -0.028971867635846138, 0.5471888184547424, 0.7296813130378723, 0.15918771922588348, 0.15212145447731018, 0.03049519844353199, 0.4985770583152771, -0.8712571263313293, 0.21661324799060822, -0.83250892162323, 0.09394411742687225, -0.31870028376579285, -0.32487696409225464, -0.8535322546958923, -0.10632211714982986, 0.1763865053653717, -0.4373134672641754, 0.39615753293037415, 0.31879833340644836, 0.8161676526069641, 0.26014643907546997, -0.49511000514030457, 0.07410251349210739, -0.8114641308784485, 0.6407678127288818, -0.2991606593132019, 0.19461137056350708, 0.8086704611778259, 0.3360675871372223, -0.08330696821212769, -0.8401892781257629, -0.19161736965179443, -0.02339841239154339, -0.6280670166015625, -0.1709156334400177, -0.2717211842536926, 0.4713338315486908, 0.4185994565486908, 0.2753359079360962, -0.14167042076587677, 0.18765607476234436, -0.4855547845363617, -0.46824944019317627, 0.5745449066162109, 0.05713355168700218, 0.5115794539451599, -0.20381475985050201, -0.4954107105731964, -0.03380696848034859, -0.5670616030693054, 0.359801709651947, 0.3644065856933594, 0.4842177629470825, 0.22018977999687195, 0.7758060097694397, 0.06877466291189194, 0.7609524130821228, -0.044175248593091965, -0.05020464211702347, -0.09845360368490219, -0.2826427221298218, -0.547845184803009, 0.2112797647714615, 0.5008451342582703, 0.24252364039421082, -0.001505269668996334, -0.563674807548523, -0.2770672142505646, 0.006815189495682716, 0.36984679102897644, -0.6888160109519958, -0.09888190031051636, 0.28315266966819763, -0.800118625164032, -0.7289262413978577, 0.44538888335227966, -0.6366934180259705, -0.2729305326938629, -0.19787873327732086, 0.43135663866996765, -0.2908715605735779, -0.03945855796337128, 0.02431546524167061, -0.29581573605537415, -0.14164996147155762, 0.08206278085708618, -0.9890711307525635, 0.6713445782661438, 1.0762009620666504, 0.8592528104782104, -0.25061407685279846, -0.29429298639297485, -0.760280191898346, 0.5414829254150391, -0.302807092666626, 0.23084917664527893, -0.6584368348121643, -0.5338157415390015, 0.07548275589942932, 0.1755625456571579, -0.02213282324373722, -0.38895562291145325, 0.1977664679288864, -0.8084145784378052, 0.3935350477695465, -0.008112194016575813, -0.6523683071136475, -0.1514754593372345, 0.15003564953804016, -0.7531908750534058, 0.7168983817100525, 0.1079755648970604, -1.0548354387283325, 0.30152028799057007, -0.8624675869941711, -0.5286396741867065, -0.07870716601610184, 0.15501494705677032, -0.3013669550418854, 0.16890659928321838, 0.05323890596628189, 0.4994601011276245, 0.3396569788455963, 0.21195277571678162, 0.176433727145195, -0.6789872050285339, 0.45544230937957764, -0.4246307611465454, 0.7984402179718018, 0.26744017004966736, -0.5354915857315063, 0.2738268971443176, -0.7608231902122498, -0.3234104812145233, -0.29502567648887634, -0.33864590525627136, -0.878638505935669, -0.13053260743618011, 0.1690305918455124, -0.0009112149127759039, 0.21506710350513458, -0.5059499144554138, 0.16245850920677185, -0.5862606167793274, 0.30933520197868347, 0.956386923789978, -0.10692349821329117, 1.0339303016662598, -0.2877737879753113, 0.6029040813446045, 0.29749277234077454, 0.2905896008014679, -0.407219797372818, -0.35549622774124146, -0.47861915826797485, -0.6408186554908752, 0.7923394441604614, 0.5261776447296143, -0.6722148060798645, 0.4129593074321747, -0.47753092646598816, -0.5644909739494324, -0.40286266803741455, -0.09245630353689194, 0.35841989517211914, 0.5445030927658081, 0.1777123361825943, -0.10882993042469025, -0.30102649331092834, -0.6577880382537842, -0.7512471675872803, -0.14206543564796448, -0.05832203850150108, 0.180457204580307, 0.0439581535756588, -0.2859841585159302, 0.9828905463218689, -0.5004217028617859, -0.3781585097312927, 0.06861135363578796, 0.12454622238874435, -0.3487106263637543, 0.8237805962562561, 0.5761725306510925, -1.0797232389450073, -0.13343419134616852, 0.17652910947799683, -0.5233104228973389, 0.057807233184576035, -0.24426116049289703, -0.2608044743537903, 0.2804069519042969, 0.6486114859580994, -0.3813084065914154, 0.9753615856170654, 0.3163164556026459, -0.5811455249786377, -0.00644517270848155, -0.19819776713848114, 0.12242380529642105, -0.890836238861084, 0.20939549803733826, -0.3366708755493164, -0.7264789938926697, -1.0482310056686401, 0.4831666946411133, 0.209347665309906, -0.29574552178382874, -0.6174702644348145, 0.5557047128677368, -0.4361359775066376, 0.014557620510458946, -0.34388431906700134, -0.09111808240413666, -0.2783986032009125, 0.13477526605129242, 0.11187414824962616, 0.7393863797187805, 0.5837580561637878, -0.5146475434303284, -0.061201635748147964, 0.24036115407943726, -0.10617164522409439, 0.09026926755905151, -0.3198713958263397, 0.21524770557880402, -0.25069212913513184, -0.02244717814028263, -0.8112503886222839, -0.13437189161777496, 0.4789363443851471, -0.5120362043380737, 0.44869276881217957, -0.3098793029785156, -0.5504478812217712, 0.31589072942733765, -0.324805349111557, 0.35251107811927795, 0.45735788345336914, -0.7692626118659973, 0.7672165632247925, 0.41923433542251587, 0.15279391407966614, -0.8070539236068726, -1.0073539018630981, 0.18055382370948792, -0.3931964337825775, -0.18564356863498688, 0.551397979259491, 0.31226620078086853, -0.26442134380340576, 0.1695142686367035, 0.007123440969735384, -0.10141714662313461, 0.5401536226272583, 0.6953757405281067, 0.4374404549598694, 0.37304195761680603, 0.1429990977048874, 0.19365869462490082, -0.29154157638549805, 0.12235232442617416, -0.09100794792175293, 0.44393014907836914, 0.39306461811065674, -0.4123935103416443, -0.631824254989624, 0.45761364698410034, 0.4210638701915741, -0.3391296863555908, 0.9382689595222473, 0.27336201071739197, -0.5931693911552429, 0.08634072542190552, -0.1985820233821869, -0.24840429425239563, -0.5526458621025085, 0.15419651567935944, -0.46160221099853516, -1.0177326202392578, 0.4887179732322693, -0.007150718010962009, 0.06609045714139938, -0.022928250953555107, 0.15948298573493958, 0.36632412672042847, 1.0553582906723022, 0.9953594207763672, -0.29818224906921387, 0.7130364179611206, 0.06514044851064682, 0.4696368873119354, -0.5686600804328918, -0.29087740182876587, -0.7577314972877502, -0.23235739767551422, -1.0918653011322021, -0.2549292743206024, 0.19126586616039276, -0.02163986675441265, 0.052826955914497375, 0.41767793893814087, -0.7409512400627136, 0.5972740054130554, 0.5628589391708374, 0.15890543162822723, 0.28508853912353516, 0.23019222915172577, 0.18267232179641724, 0.022230694070458412, -0.44145622849464417, -0.7433710098266602, 1.2615176439285278, 0.4882045090198517, 0.6275386214256287, 0.08377773314714432, 0.842111349105835, 0.1209942176938057, 0.5083631277084351, -0.5989296436309814, 0.6050215363502502, -0.10492295026779175, -0.7818774580955505, -0.3824755549430847, -0.47962239384651184, -1.0612729787826538, 0.40777793526649475, 0.07905479520559311, -1.0572181940078735, 0.17579440772533417, 0.11537639796733856, -0.03695156052708626, 0.5823063254356384, -0.7706737518310547, 0.40831080079078674, 0.04262267425656319, -0.29916855692863464, 0.03790460154414177, -0.8275024890899658, 0.20563924312591553, -0.24737365543842316, 0.43515387177467346, 0.2569742500782013, -0.1522119641304016, 0.6282863616943359, -0.6213136315345764, 1.0159249305725098, -0.35188859701156616, 0.05568496882915497, -0.042926814407110214, 0.4938896596431732, 0.3192955255508423, -0.044569648802280426, 0.031069330871105194, 0.29172658920288086, 0.3179776966571808, -0.576675534248352, -0.7019960880279541, 0.696763277053833, -0.5859041213989258, -0.8149213194847107, -0.6149817109107971, -0.3871738910675049, -0.05860251188278198, 0.32066768407821655, 0.11480486392974854, 0.252092570066452, 0.11864664405584335, 0.1405756026506424, 0.36821886897087097, -0.05727064609527588, 0.7643168568611145, 0.16332629323005676, -0.37157878279685974, -0.09977811574935913, 0.7953588962554932, 0.14148373901844025, 0.38554394245147705, 0.6857887506484985, 0.2957940101623535, -0.2252466082572937, -0.38768184185028076, -0.2656036615371704, -0.26923203468322754, -0.878466010093689, -0.26718318462371826, -0.7226065397262573, -0.13459983468055725, -0.49839019775390625, -0.17492027580738068, 0.020974332466721535, -0.8679434061050415, -0.4638015031814575, -0.4381558895111084, 0.27015915513038635, 0.41262295842170715, -0.11060454696416855, 0.5098330974578857, -0.8034928441047668, 0.039789654314517975, 0.11893904209136963, 0.2078956812620163, -0.07503858208656311, -0.3692135214805603, -0.0012677876511588693, -0.13280734419822693, -0.004234446212649345, -0.9224419593811035, 0.3723272681236267, -0.08714454621076584, 0.2409854233264923, 0.4509555399417877, 0.10747569054365158, 0.6003501415252686, -0.5303703546524048, 1.0331618785858154, -0.058319054543972015, -1.5171154737472534, 0.5685627460479736, 0.027037670835852623, -0.036219898611307144, 0.4618729054927826, 0.3509484529495239, -0.5795688629150391, -0.5657438039779663, -0.5801206231117249, -0.7590809464454651, 0.7628639340400696, 0.24180516600608826, 0.499698281288147, 0.1919066607952118, 0.6256921887397766, 0.19041666388511658, 0.43813347816467285, -0.6687252521514893, -0.4061223566532135, -0.2963593304157257, -0.3147026300430298, -0.06230827420949936, -0.2511139512062073, -0.20246046781539917, -0.2741577625274658, 0.2633270025253296, 0.07386361807584763, 0.25068140029907227, 0.0758928507566452, 0.0030287783592939377, 0.017424726858735085, 0.06003042310476303, 0.4164220094680786, 0.44061803817749023, 0.15985465049743652, 0.5248716473579407, -0.06520937383174896, -0.673689067363739, 0.1541552096605301, 0.016715414822101593, -0.5773839354515076, 0.14787086844444275, 0.49610474705696106, 0.4876784682273865, 0.28202691674232483, -0.6023780703544617, 0.7697838544845581, -0.13394246995449066, 0.05862847715616226, -0.05192352831363678, 0.2568666636943817, -0.4741472601890564, -0.22290004789829254, 0.25520455837249756, 0.3573271334171295, 0.4429451525211334, -0.4532022774219513, 0.08614277094602585, 0.3485031723976135, -0.34295037388801575, -0.3260895013809204, 0.8935533165931702, -0.1586439460515976, -0.7784079313278198, 0.19260582327842712, 0.17499028146266937, -0.7287842035293579, 0.31698864698410034, 0.6895381808280945, 0.5365244746208191, -0.5258045792579651, 0.19090507924556732, -0.043284956365823746, 0.35980224609375, -0.04464857280254364, 0.05622949078679085, -0.36249881982803345, -0.5804851055145264, -0.1981179118156433, -0.08246384561061859, -0.3665757477283478, -0.17037136852741241, -1.0495023727416992, 0.1964622288942337, -0.5898219347000122, -0.1747848093509674, 0.18521305918693542, -0.45941707491874695, -0.7049644589424133, 0.3586174249649048, -0.3302123248577118, 0.8837103843688965, -0.5670761466026306, 0.8559620976448059, 0.6537735462188721, -0.16009147465229034, -0.5787171721458435, 0.07576623558998108, -0.2586824893951416, -0.5807726383209229, 0.7826289534568787, 0.28243935108184814, -0.18001635372638702, -0.24100011587142944, -0.7261698246002197, -0.5753495693206787, 0.6730877161026001, 0.15852969884872437, -0.525378406047821, -0.08549261838197708, 0.4194297194480896, 0.5951863527297974, 0.13334974646568298, -0.13737036287784576, 0.543251097202301, 0.4172489047050476, -0.36967357993125916, -0.8471454977989197, 0.2508693039417267, 0.020593784749507904, 0.15934999287128448, 0.13768203556537628, -0.5746998190879822, 0.5123427510261536, 0.23744836449623108, -0.29792582988739014, -0.08952203392982483, 0.33461490273475647, -0.23193968832492828, 0.3333258628845215, 0.5053102374076843, -0.002746444195508957, 0.9608479142189026, -0.127033531665802, 1.1067090034484863, -0.37570711970329285, 0.26546671986579895, 0.892369270324707, -0.228156179189682, 0.841116189956665, 0.7862687110900879, 0.20149579644203186, 0.18945832550525665, 0.29903361201286316, 0.20697583258152008, 0.8837240934371948, 0.19432851672172546, -0.36105743050575256, 0.09573792666196823, -0.0036693254951387644, -0.1117173582315445, 0.812770426273346, 0.07737374305725098, -0.6290997266769409, 0.18645840883255005, 0.40556803345680237, 0.2989054322242737, 0.3712101876735687, -0.17288434505462646, 0.8873279094696045, -0.18516330420970917, -0.4622674882411957, 0.15254923701286316, 0.6370337009429932, 0.6310982704162598, -0.16811873018741608, 0.18625394999980927, 0.1679592728614807, 0.1649237424135208, -0.2588389813899994, -0.32472267746925354, 0.602263867855072, 0.00665987329557538, 0.017417391762137413, -0.49128732085227966, 1.0385829210281372, -0.26777365803718567, -0.4078071117401123, 0.19819241762161255, 0.15680360794067383, 0.0260681863874197, 0.055396322160959244, -0.34798285365104675, 0.1357431709766388, -0.10177401453256607, -0.12419289350509644, 0.4944586753845215, 0.40495842695236206, 0.021729495376348495, 0.6089282035827637, 0.8816328048706055, 0.28847143054008484, 0.15584690868854523, -0.26006433367729187, 0.8594359159469604, -0.7187744975090027, -0.7667971253395081, -1.0319206714630127, 0.29499414563179016, -0.2684854567050934, -0.0711219310760498, 0.8936784267425537, 0.7270145416259766, 1.0541017055511475, -0.028504064306616783, 0.8445460200309753, 0.3921360969543457, 0.5625447034835815, -0.5423822402954102, 0.9173449277877808, -0.17058353126049042, 0.3303256034851074, -0.2599663734436035, -0.3842439651489258, -0.787321925163269, 0.5147244334220886, -0.4354311525821686, -0.26038816571235657, 0.4845241606235504, 0.7025056481361389, 0.03862330690026283, 0.3013518750667572, 0.4787231683731079, -0.24926432967185974, 0.745559573173523, 0.026295194402337074, 0.7450844645500183, -0.6167052984237671, 0.1883508563041687, -0.5564635396003723, -0.26928651332855225, -0.09026136994361877, -0.8787277936935425, -1.2205774784088135, -0.524608850479126, -0.3166620433330536, -0.4036777913570404, -0.05752774700522423, 0.5926045775413513, 0.9150415658950806, -0.7829574942588806, 0.106437548995018, -0.0330565981566906, 0.18983802199363708, -0.19002462923526764, -0.23198509216308594, 0.5171966552734375, -0.15358243882656097, -0.9298588037490845, 0.18961794674396515, 0.29804834723472595, 0.3831897974014282, -0.29406049847602844, 0.4996758997440338, 0.3790501654148102, 0.08017703890800476, 0.4552426040172577, -0.023713048547506332, -0.640536904335022, -0.6280571222305298, 0.08895513415336609, -0.11107831448316574, -0.045206520706415176, 1.174440860748291, -0.644892156124115, 0.46878740191459656, 0.25325846672058105, 0.9198105931282043, 0.3305678963661194, 0.35905128717422485, 0.21008117496967316, -0.9543238282203674, 0.5469925999641418, 0.1496308594942093, 0.10642372816801071, 0.37703007459640503, -1.04020357131958, 0.24375563859939575, 0.05183032527565956, -0.4562762379646301, -1.2434805631637573, 0.0557667501270771, -0.7131502032279968, -0.5315743684768677, 0.9508536458015442, -0.3073078691959381, -0.4973224401473999, -0.21632875502109528, -0.44024211168289185, 0.11276641488075256, -0.048941273242235184, 0.9467880725860596, 0.6775334477424622, 0.14289440214633942, -0.016421934589743614, -0.2632381021976471, 0.5914064645767212, 0.3725617527961731, -0.750848650932312, 0.057141516357660294, 0.17220288515090942, 0.414550244808197, 0.1624390035867691, 0.5452307462692261, -0.5064151883125305, -0.07208169251680374, -0.2912275791168213, -0.33093592524528503, -0.05649577081203461, -0.40023526549339294, -0.6460636854171753, 0.4996647536754608, -0.018204856663942337, -0.6730104684829712 ]
http://arxiv.org/abs/2407.01320v1
http://arxiv.org/pdf/2407.01320v1
Increasing Model Capacity for Free: A Simple Strategy for Parameter Efficient Fine-tuning
2024-07-01T14:26:48
2024-07-01T14:26:48
Haobo Song, Hao Zhao, Soumajit Majumder, Tao Lin
cs.LG
cs.LG, cs.AI, cs.CL
Fine-tuning large pre-trained foundation models, such as the 175B GPT-3, has attracted more attention for downstream tasks recently. While parameter-efficient fine-tuning methods have been proposed and proven effective without retraining all model parameters, their performance is limited by the capacity of incremental modules, especially under constrained parameter budgets. \\ To overcome this challenge, we propose CapaBoost, a simple yet effective strategy that enhances model capacity by leveraging low-rank updates through parallel weight modules in target layers. By applying static random masks to the shared weight matrix, CapaBoost constructs a diverse set of weight matrices, effectively increasing the rank of incremental weights without adding parameters. Notably, our approach can be seamlessly integrated into various existing parameter-efficient fine-tuning methods. We extensively validate the efficacy of CapaBoost through experiments on diverse downstream tasks, including natural language understanding, question answering, and image classification. Our results demonstrate significant improvements over baselines, without incurring additional computation or storage costs. Our code is available at \url{https://github.com/LINs-lab/CapaBoost}.
[ -0.7983383536338806, -0.6403474807739258, 0.2533223628997803, 0.18429578840732574, -0.45330530405044556, 0.007786820642650127, -0.38901203870773315, -0.2877640724182129, -0.18327666819095612, 0.7358041405677795, -0.5610756278038025, -0.32741907238960266, -0.5689781308174133, -0.42943212389945984, -0.08170319348573685, 1.2809120416641235, -0.2681296765804291, -0.025755949318408966, -0.26447978615760803, -0.3580780625343323, -0.8630374670028687, 0.10932162404060364, -0.9316707253456116, -0.16284894943237305, 0.6433181762695312, 1.061094880104065, 0.6016477942466736, 0.6896107792854309, 0.6930916905403137, 0.13176748156547546, 0.14219336211681366, 0.41197460889816284, -0.6162017583847046, -0.02410152368247509, -0.009951082058250904, -0.21336814761161804, -0.5148295760154724, 0.0171329565346241, 0.6612530946731567, 0.8063536286354065, -0.26914507150650024, 0.4157574474811554, 0.3427927792072296, 0.8075276017189026, -0.8736964464187622, 0.20124584436416626, -0.8421481847763062, -0.41532811522483826, -0.18659935891628265, 0.05127124860882759, -0.07785836607217789, -0.09580230712890625, -0.04653732851147652, -0.5490676760673523, 0.5403757691383362, 0.2810618579387665, 1.182583212852478, 0.5126206874847412, -0.17206348478794098, 0.14146201312541962, -0.2599799931049347, 0.946811318397522, -0.4035356044769287, 0.32285505533218384, 0.4884452223777771, 0.5939537286758423, 0.027799349278211594, -0.6948785781860352, -0.18240292370319366, -0.4671933948993683, -0.0029206108301877975, -0.08439323306083679, -0.019752413034439087, 0.4524126648902893, 0.45182278752326965, 0.6490600109100342, -0.4795822501182556, -0.1118674948811531, -0.46962833404541016, -0.2012353092432022, 0.38633471727371216, 0.005643115378916264, 0.14884403347969055, 0.11959824711084366, -0.3275803327560425, -0.25013768672943115, -0.597175121307373, 0.07502509653568268, 0.3870392441749573, 0.3717660903930664, -0.06254203617572784, 0.39464354515075684, -0.714238166809082, 0.882203996181488, 0.09084424376487732, 0.3995569944381714, -0.08791554719209671, -0.18322716653347015, -0.4081023037433624, -0.2678357660770416, 0.3065539598464966, 0.14061573147773743, 0.16855372488498688, -0.13323551416397095, -0.2339768409729004, -0.18890777230262756, 0.4686839282512665, -1.183529257774353, -0.4735475480556488, 0.1892526000738144, -0.36746910214424133, -0.24532602727413177, -0.08222570270299911, -0.42543676495552063, -0.09227297455072403, -0.4348788857460022, 0.7018247246742249, -0.5246372222900391, 0.0791892260313034, 0.3677324056625366, -0.2124730497598648, -0.04876287654042244, 0.5558448433876038, -1.015062928199768, 0.5913504958152771, 0.6429353356361389, 1.0307120084762573, -0.038832563906908035, -0.14559166133403778, -0.7807410955429077, 0.27148890495300293, -0.34328174591064453, 0.7146263718605042, -0.27652639150619507, 0.11990237236022949, -0.41123563051223755, 0.016833802685141563, 0.09341593086719513, -0.5095677375793457, 0.2857459485530853, -0.4689957797527313, -0.32668450474739075, -0.5169035792350769, -0.28909289836883545, -0.2563925087451935, 0.2895720303058624, -0.7286413311958313, 0.8846463561058044, 0.2879968583583832, -0.48937588930130005, 0.427250474691391, -0.9294725656509399, -0.3242160379886627, 0.009584593586623669, -0.005705612245947123, -0.6041868925094604, 0.15246394276618958, 0.5784568190574646, 0.637520432472229, -0.5565131306648254, 0.12699487805366516, -0.27914831042289734, -0.523439884185791, -0.35459789633750916, -0.15337267518043518, 0.5614975094795227, 0.43042922019958496, -0.1402636468410492, 0.2503789961338043, -0.7122008204460144, 0.028959082439541817, -0.09447840601205826, -0.12818124890327454, -0.1402725875377655, -0.3119308054447174, -0.08491840958595276, -0.36788177490234375, 0.27813994884490967, -0.5505903959274292, 0.4846225380897522, -0.12566633522510529, 0.4064734876155853, 0.7317126393318176, 0.08030223846435547, 0.5565996766090393, -0.7179816961288452, 0.4153405725955963, -0.30770638585090637, 0.32088080048561096, -0.1705687940120697, -0.40953537821769714, -0.9032108187675476, -0.9591098427772522, 0.4554500877857208, 0.2421473115682602, -0.33466383814811707, -0.022041145712137222, -0.12635885179042816, -0.6329996585845947, -0.4279921352863312, 0.4584667384624481, 0.22491587698459625, 0.4512045681476593, 0.6589515209197998, -0.36194849014282227, -0.4289945662021637, -1.2831896543502808, -0.2805202901363373, 0.2715528607368469, -0.2530119717121124, 0.5475337505340576, 0.43019914627075195, 0.049881141632795334, 0.8372501134872437, -0.9046491980552673, -0.38549402356147766, -0.09865909814834595, 0.39564308524131775, 0.31938475370407104, 0.8772985339164734, 0.6807332038879395, -0.5224599242210388, -0.5182397365570068, 0.03216700628399849, -0.32630297541618347, -0.11699488759040833, 0.0537254698574543, -0.2796664237976074, -0.3605833351612091, 0.5356512665748596, -0.8050836324691772, 0.10504359751939774, 0.4371355473995209, 0.21885064244270325, 0.2800101339817047, -0.26868364214897156, 0.28095686435699463, -0.783424973487854, 0.08137787878513336, -0.4884856343269348, -0.3587735593318939, -0.32289940118789673, 0.45168691873550415, 0.21891441941261292, -0.43040749430656433, -0.24199482798576355, 0.6885548233985901, -0.7441623210906982, 0.1268148124217987, -0.32195836305618286, -0.27661246061325073, -0.15811613202095032, 0.5125768184661865, -0.4064543545246124, 0.8086432814598083, 0.5386644005775452, -0.698935329914093, 0.17148134112358093, -0.05276716873049736, -0.45317038893699646, 0.36006060242652893, -0.5900796055793762, 0.1366361379623413, -0.11177267134189606, 0.23236587643623352, -1.1897038221359253, -0.6555816531181335, 0.13828043639659882, -0.14940407872200012, 0.41155701875686646, -0.39181774854660034, -0.46503180265426636, -0.4491574466228485, -0.4098498821258545, 0.5773121118545532, 0.5531114339828491, -0.6316028237342834, 0.5178441405296326, 0.2487359642982483, 0.0538879856467247, -0.4601821303367615, -0.7047571539878845, -0.17518411576747894, -0.09402354061603546, -0.7657877802848816, 0.29720205068588257, -0.16563104093074799, 0.24301762878894806, -0.12461304664611816, -0.2939949333667755, -0.2326297014951706, 0.25609341263771057, 0.18392272293567657, -0.018582379445433617, -0.11357185989618301, 0.28729701042175293, 0.5227565169334412, -0.025294935330748558, -0.4601132869720459, -0.5256892442703247, 0.6785203218460083, -0.4194062054157257, -0.19168490171432495, -0.34258997440338135, 0.20939451456069946, 0.441941499710083, -0.17253246903419495, 0.758529782295227, 0.7317433953285217, -0.5275962352752686, -0.40020817518234253, -0.9157564043998718, -0.4546268880367279, -0.49984458088874817, 0.3210528790950775, -0.4839480519294739, -1.1870917081832886, 0.6150642037391663, -0.16058333218097687, -0.02690102532505989, 0.2661285400390625, 0.32595592737197876, -0.029189079999923706, 0.8995688557624817, 0.6792238354682922, 0.009535910561680794, 0.5322697758674622, -0.43760284781455994, -0.019148632884025574, -0.8828160762786865, 0.26041916012763977, -0.4280475080013275, -0.5140480995178223, -0.41919341683387756, -0.6077365875244141, 0.1962321400642395, 0.5477504730224609, -0.5775253176689148, 0.6976467370986938, -0.6780097484588623, 0.6797563433647156, 0.6354256272315979, 0.36905646324157715, 0.17594169080257416, 0.24787648022174835, 0.05949636548757553, 0.13613399863243103, -0.733898937702179, -0.1941291093826294, 1.1287510395050049, 0.10560206323862076, 0.6039872765541077, -0.03464118018746376, 0.6813874244689941, 0.24152784049510956, 0.558452844619751, -0.552180826663971, 0.5419599413871765, -0.32089945673942566, -0.798027515411377, -0.4165821373462677, -0.33021774888038635, -0.7948751449584961, 0.1531669795513153, 0.0676669180393219, -0.7947949171066284, 0.17489595711231232, 0.5381606221199036, -0.5510297417640686, 0.4088916778564453, -0.6925495266914368, 0.835626482963562, 0.22896045446395874, -0.4882488250732422, -0.7368194460868835, -0.3502296209335327, 0.4282384514808655, -0.06139890104532242, -0.19891488552093506, -0.4294070899486542, -0.3269530236721039, 0.6896887421607971, -0.7545421123504639, 0.6534819006919861, -0.3807554244995117, 0.2074851393699646, 0.46545204520225525, -0.047324225306510925, 0.6004300713539124, 0.3973967134952545, -0.08985015004873276, 0.3952305316925049, -0.15382824838161469, -0.9720506072044373, -0.5896874666213989, 0.8927463889122009, -0.7711139917373657, -0.6862006783485413, -0.11761291325092316, -1.0800973176956177, -0.477083683013916, 0.33707278966903687, 0.021046217530965805, 0.16191785037517548, 0.051183588802814484, 0.6434097290039062, 0.5222360491752625, -0.08273440599441528, 0.30613216757774353, 0.374030739068985, 0.20642973482608795, -0.6231765151023865, 0.869788408279419, 0.26858049631118774, 0.4074041545391083, 0.44604021310806274, 0.35017129778862, 0.2060476541519165, -0.6780538558959961, -0.4882856607437134, 0.1561785787343979, -0.3387770354747772, -0.5599669814109802, -0.6789842844009399, -0.1065906435251236, -0.2335280478000641, -0.3868131935596466, -0.5215328931808472, -0.6024933457374573, 0.0011802857043221593, 0.13639140129089355, 0.6192519068717957, 0.16479654610157013, -0.2922804653644562, 0.8757723569869995, -0.6097754240036011, 0.5632036328315735, 0.5532435774803162, 0.5540958642959595, 0.12077286094427109, -0.3405393660068512, -0.40123146772384644, 0.18214990198612213, -0.4172080159187317, -0.3956036865711212, -0.06802371144294739, 0.21996237337589264, 0.3668367564678192, 0.2533549964427948, 0.046613022685050964, 1.0447953939437866, -0.25911208987236023, 0.47340571880340576, -0.002358851721510291, -0.9446778893470764, 0.5925447344779968, -0.809675931930542, 0.4289020001888275, 0.9199804663658142, 0.3131481111049652, -0.051364701241254807, -0.3373720049858093, -0.5339193344116211, -0.7845304608345032, 0.7497701644897461, 0.17236681282520294, 0.25340691208839417, 0.2536167800426483, 0.6725581884384155, 0.18895576894283295, 0.40572887659072876, -0.33952629566192627, 0.33991119265556335, -0.1243588849902153, -0.19903795421123505, 0.1344897300004959, -0.17231830954551697, -0.11585889011621475, -0.48646676540374756, 0.7234757542610168, -0.36000996828079224, 0.07956770807504654, 0.0295354463160038, -0.1598479449748993, -0.07895782589912415, -0.04080670699477196, 0.5156688690185547, 0.6071829199790955, -0.701967179775238, -0.16049690544605255, 0.5060775279998779, -0.6451361775398254, -0.09574894607067108, 0.18939349055290222, -0.18389441072940826, -0.4753655791282654, 0.061511311680078506, 0.949633002281189, 0.39308714866638184, -0.3996811807155609, 0.4478215277194977, 0.0757007971405983, -0.28132888674736023, 0.18579405546188354, 0.264103502035141, -0.045112304389476776, 0.2311939299106598, 0.3250282406806946, 0.3713340759277344, 0.11181144416332245, -0.23712611198425293, 0.3705640137195587, 0.5714895725250244, -0.396448016166687, 0.16743025183677673, 0.7529833912849426, 0.0239254143089056, 0.15286874771118164, 0.549937903881073, -0.07878219336271286, 0.07245830446481705, 0.6711037158966064, 0.1257130354642868, 0.8540506958961487, -0.23217356204986572, 0.06390830129384995, 0.5914531946182251, 0.49012842774391174, -0.4150897264480591, 0.1544792652130127, -0.3825289309024811, -0.6334145665168762, -0.4236691892147064, -0.7519106268882751, -0.4217093288898468, 0.397256463766098, -0.6343939900398254, 0.6693858504295349, -0.9551405310630798, 0.006010576616972685, -0.26879212260246277, 0.12822559475898743, -0.6784957647323608, 0.30305927991867065, -0.3018028438091278, 0.9278663992881775, -0.4671623408794403, 0.7631919980049133, 0.5916149616241455, -0.5931922197341919, -0.8222988843917847, 0.012052610516548157, -0.36705681681632996, -0.8769550323486328, 0.4111083149909973, 0.411262184381485, -0.05101875960826874, 0.2937294840812683, -0.7757778167724609, -1.0823171138763428, 1.141970157623291, 0.6578980684280396, -0.6408427357673645, 0.08541320264339447, 0.06653328984975815, 0.2307678461074829, -0.3828868865966797, 0.31709402799606323, 0.13543449342250824, 0.49664852023124695, -0.010979410260915756, -0.7291365265846252, 0.29949286580085754, 0.08685304969549179, 0.12411373108625412, 0.1947290152311325, -1.000832438468933, 1.0971007347106934, -0.2791159451007843, -0.09047666937112808, 0.4736940860748291, 0.658932626247406, 0.2587176561355591, 0.015666533261537552, 0.7929984331130981, 0.6790353655815125, 0.8568838238716125, -0.06414700299501419, 1.1801947355270386, -0.2464842051267624, 0.4961620271205902, 1.1715772151947021, 0.042456917464733124, 0.6970176696777344, 0.23729248344898224, 0.13149796426296234, 0.34599143266677856, 0.6878449320793152, -0.3606022894382477, 0.7141492366790771, 0.4103979766368866, -0.13610292971134186, -0.5393583178520203, -0.07436489313840866, -0.38855549693107605, 0.33696267008781433, 0.02762688137590885, 0.10000166296958923, -0.24559012055397034, 0.30150797963142395, 0.01831788197159767, -0.3399370312690735, -0.4608865976333618, 0.2937091886997223, 0.07220897823572159, -0.7294805645942688, 0.846132218837738, -0.0520830899477005, 0.39780715107917786, -0.6570309400558472, -0.03707384690642357, -0.2617312967777252, 0.5247724652290344, -0.011589078232645988, -0.3423793911933899, 0.20437602698802948, -0.2876492738723755, -0.22955292463302612, -0.11438453197479248, 0.7352306246757507, -0.33408164978027344, -0.4070907533168793, 0.24447347223758698, 0.21588639914989471, -0.04705437645316124, -0.5230737328529358, -0.5477558374404907, 0.08469913899898529, -0.25413307547569275, -0.1469716727733612, 0.3701445460319519, -0.014027824625372887, -0.3956252932548523, 0.7251375317573547, 0.9380294680595398, 0.024349162355065346, -0.22736802697181702, 0.0798347070813179, 1.0655183792114258, -0.3757670223712921, -0.4889560639858246, -0.5564272403717041, 0.5032429695129395, -0.24005712568759918, -0.2440597116947174, 0.5223181247711182, 0.6920278072357178, 1.0051311254501343, -0.2564195394515991, 0.5283936858177185, -0.031186670064926147, 0.40797528624534607, -0.4118522107601166, 0.9491303563117981, -0.884992778301239, 0.09613639116287231, -0.3179025650024414, -0.9984183311462402, -0.4416263699531555, 0.505713164806366, -0.235188290476799, 0.04422295466065407, 0.7154039740562439, 0.9346237182617188, -0.4600377678871155, 0.018256887793540955, 0.20721767842769623, 0.2059045135974884, 0.2569439709186554, 0.3949875831604004, 0.43037593364715576, -0.7350047826766968, 0.7057561278343201, -0.2668624520301819, -0.5502843260765076, -0.2630766034126282, -0.809207558631897, -0.9325109124183655, -0.347364604473114, -0.3888240158557892, -0.045663464814424515, 0.44341349601745605, 0.5092931985855103, 1.2192065715789795, -0.9437544941902161, -0.3213902413845062, -0.5183327794075012, -0.08989543467760086, -0.49582821130752563, -0.20156694948673248, 0.2879699766635895, -0.6954261660575867, -0.565966010093689, 0.20105662941932678, 0.13855740427970886, -0.3563799560070038, 0.15799343585968018, -0.007666685618460178, -0.22225774824619293, 0.2357936054468155, 0.33533206582069397, 0.20343294739723206, -0.534305214881897, -0.599188506603241, -0.2704407572746277, 0.22608667612075806, -0.05740034207701683, 0.907767117023468, -0.748344361782074, 0.23182325065135956, 0.5658324956893921, 0.8411051034927368, 0.9691827893257141, 0.05497380718588829, 0.4728025794029236, -0.7852039933204651, 0.3529372811317444, -0.018395407125353813, 0.29959145188331604, 0.2629926800727844, -0.2758168876171112, 0.7445635199546814, 0.22464102506637573, -0.5588188171386719, -0.8638192415237427, 0.17580556869506836, -1.2866394519805908, -0.2878541052341461, 0.6697140336036682, 0.20063698291778564, -0.018620310351252556, 0.18452367186546326, -0.47470569610595703, 0.33332324028015137, -0.5311007499694824, 0.645486056804657, 0.7089491486549377, -0.10764773190021515, -0.3155965209007263, -0.8289697766304016, 0.5660496950149536, 0.703874409198761, -0.7281507849693298, 0.1275450587272644, 0.20579956471920013, 0.4532495439052582, 0.007082827854901552, 0.48046132922172546, 0.056155674159526825, 0.3957075774669647, -0.10596577823162079, -0.03648979961872101, -0.3803698420524597, -0.3165077865123749, 0.15610715746879578, 0.3163512051105499, -0.030185729265213013, -0.4825196862220764 ]
http://arxiv.org/abs/2407.01315v1
http://arxiv.org/pdf/2407.01315v1
Language Portability Strategies for Open-domain Dialogue with Pre-trained Language Models from High to Low Resource Languages
2024-07-01T14:20:54
2024-07-01T14:20:54
Ahmed Njifenjou, Virgile Sucal, Bassam Jabaian, Fabrice Lefèvre
cs.CL
cs.CL
In this paper we propose a study of linguistic portability strategies of large pre-trained language models (PLMs) used for open-domain dialogue systems in a high-resource language for this task. In particular the target low-resource language (L_T) will be simulated with French, as it lacks of task-specific resources and allows our human evaluation, when the source language (L_S) is English. For obvious reasons, recent works using such models for open-domain dialogue are mostly developed in English. Yet building specific PLMs for each possible target language supposes collecting new datasets and is costly. For this reason, trying to leverage all existing resources (PLMs and data) in both L_S and L_T , we wish to assess the performance achievable in L_T with different approaches. The first two approaches evaluate the usage of Neural Machine Translation (NMT) at different levels: TrainOnTarget where a L_S dataset is translated before fine-tuning in L_T and TestOnSource where a L_S model is coupled with NMT modules during inference. Then, the advent of BLOOM [2], the world first open-access multilingual large PLM, allow researchers to develop new approaches aiming to leverage not only the model's full accessibility but also its multilingualism and translation abilities. In this context the task is learned in L_S first and adapted to L_T using the MAD-X Adapter architecture [16]. In the two sets of experiments models are evaluated in spoken dialogue conditions with human and the strategies can be compared in terms of perceived interaction quality.
[ -0.574804425239563, -0.6541761755943298, 0.5100009441375732, 0.24494650959968567, -0.18880443274974823, -0.003412043210119009, -0.7222022414207458, -0.24112051725387573, 0.009402171708643436, 0.646151602268219, -0.4913707673549652, -0.34313181042671204, -0.4790952503681183, 0.2099020928144455, -0.04409485310316086, 0.6503041386604309, -0.2657395601272583, 0.042729154229164124, -0.16339915990829468, -0.2571517825126648, -0.45495593547821045, -0.8422749638557434, -0.6103668808937073, -0.0331619568169117, 0.2897692620754242, 0.3883668780326843, 0.7736811637878418, 0.3797686994075775, 0.3926730453968048, 0.30625101923942566, -0.230990469455719, -0.08858082443475723, -0.6246217489242554, -0.05254872143268585, -0.4358035922050476, -0.47223523259162903, -0.488831102848053, -0.10617442429065704, 0.7480723261833191, 0.6476073265075684, 0.05897149816155434, -0.017693234607577324, 0.31561970710754395, 0.41288453340530396, -0.5087758302688599, 0.40536946058273315, -0.5549291372299194, 0.011569750495254993, -0.21160969138145447, -0.26008984446525574, -0.5526000261306763, -0.0954011008143425, 0.4148561656475067, -0.5190046429634094, 0.08384355157613754, -0.0402253232896328, 0.6649263501167297, 0.00455875089392066, -0.2087407410144806, 0.011418174020946026, -1.0970035791397095, 0.9675133228302002, -0.8950340151786804, 0.35526877641677856, 0.38010373711586, 0.4713487923145294, -0.01545233465731144, -0.44894206523895264, -0.5522394776344299, -0.36918652057647705, -0.06823097169399261, 0.014880976639688015, -0.2139662206172943, 0.22301754355430603, 0.3126348555088043, 0.36314985156059265, -0.486943781375885, 0.18559207022190094, -0.24240276217460632, -0.16026803851127625, 0.4310915172100067, -0.09405896812677383, 0.21108318865299225, 0.047668781131505966, -0.2670048475265503, 0.010327829048037529, -0.6889944076538086, 0.006446139421314001, 0.20942389965057373, 0.761508584022522, -0.1631794571876526, 0.5981736779212952, -0.23942267894744873, 0.6165892481803894, -0.2891395390033722, -0.001462114043533802, 0.1278010755777359, -0.7468762993812561, -0.04597984999418259, -0.2280537188053131, 0.9349129796028137, 0.2372138500213623, 0.3814498782157898, -0.06716781854629517, -0.41194623708724976, -0.37690478563308716, 0.3039259910583496, -0.7564203143119812, 0.1445951908826828, 0.04362795501947403, -0.6766923666000366, -0.12856553494930267, -0.3869239091873169, -0.9226531386375427, -0.04574652388691902, -0.1109105572104454, 0.843090295791626, -0.40259677171707153, -0.5035818815231323, 0.13963016867637634, 0.45118293166160583, 0.0017856251215562224, 0.4494006931781769, -0.575867772102356, 0.3750748336315155, 0.26523450016975403, 1.1143320798873901, -0.36858314275741577, -0.277528315782547, -0.5152139067649841, -0.10801418125629425, -0.03551327809691429, 0.43770816922187805, -0.2362395077943802, -0.6696280837059021, 0.2380734235048294, 0.0013604912674054503, -0.4395082890987396, -0.582617461681366, 0.5971108675003052, -0.46655163168907166, 0.22343327105045319, -0.10711352527141571, -0.17162275314331055, -0.25463926792144775, 0.30567026138305664, -0.7666151523590088, 0.45628803968429565, 0.23951715230941772, -0.5966277122497559, -0.24943900108337402, -0.9222279191017151, -0.5240000486373901, -0.028598632663488388, 0.057538215070962906, -0.12322427332401276, -0.07776492089033127, -0.09035944193601608, 0.2628803849220276, -0.45544883608818054, 0.09558169543743134, -0.1414642184972763, -0.22581952810287476, 0.20479974150657654, -0.6640592813491821, 0.5774530172348022, 0.39505332708358765, -0.45143792033195496, 0.12952527403831482, -0.5800050497055054, 0.014055457897484303, 0.2545112073421478, -0.3603958189487457, -0.3137744665145874, 0.13805723190307617, 0.009937446564435959, 0.37701907753944397, 0.15565457940101624, -0.5553247928619385, 0.07472533732652664, -0.6130468845367432, 0.5607283115386963, 0.44579020142555237, -0.16265158355236053, 0.5367664694786072, -0.24828386306762695, 0.751934826374054, 0.2542087435722351, 0.14635016024112701, -0.23357734084129333, -0.41153135895729065, -0.7630352973937988, -0.024094436317682266, 0.3218570053577423, 0.8080796003341675, -0.8465098738670349, 0.20638629794120789, -0.22079412639141083, -0.26321354508399963, -0.4591096341609955, -0.09469783306121826, 0.5988470315933228, 0.17826153337955475, 0.3587823510169983, -0.5955033898353577, -0.38654935359954834, -0.8149973750114441, -0.15113890171051025, -0.1844322234392166, 0.2564541697502136, 0.5232939124107361, 0.22225576639175415, -0.0079188859090209, 0.7517384886741638, -0.30013835430145264, -0.14495830237865448, -0.6476171612739563, 0.04256552457809448, 0.2044060230255127, 0.5844538807868958, 0.5745891332626343, -0.6346820592880249, -0.46215295791625977, 0.15391956269741058, -0.46259617805480957, 0.047661006450653076, 0.09155276417732239, -0.21704238653182983, 0.3139708638191223, 0.36367160081863403, -0.7925167679786682, 0.7411611676216125, 0.5209037661552429, 0.03947007283568382, 0.5966532230377197, -0.322570264339447, 0.29022216796875, -1.2140346765518188, 0.040438637137413025, -0.06038399785757065, -0.17263436317443848, -0.9761839509010315, -0.022537672892212868, -0.3039659559726715, -0.35770225524902344, -0.8398507833480835, 0.6745097041130066, -0.4292507469654083, -0.034650593996047974, -0.18952833116054535, 0.22858628630638123, -0.22286204993724823, 0.6127792000770569, 0.2944340407848358, 1.0371471643447876, 0.47227901220321655, -0.7396814227104187, -0.034339141100645065, 0.3980308473110199, -0.3509698510169983, 0.36249905824661255, -0.645962655544281, -0.04129250720143318, 0.03475020453333855, 0.11225220561027527, -0.9780293703079224, 0.2322096824645996, 0.23737508058547974, -0.3678191602230072, 0.17659713327884674, -0.18826799094676971, -0.40156659483909607, -0.2394954115152359, 0.1574847400188446, 0.7798322439193726, 0.4831773042678833, -0.34230637550354004, 0.5571801662445068, 0.14874638617038727, -0.4331577718257904, -0.4278906285762787, -0.4232608675956726, -0.08485015481710434, -0.15930452942848206, -0.7713000774383545, 0.19430050253868103, -0.23210032284259796, -0.22657422721385956, -0.23702372610569, 0.1002514660358429, -0.2995828688144684, 0.02743360586464405, 0.07598359137773514, 0.23417600989341736, -0.5790477395057678, -0.1418575793504715, -0.21674787998199463, -0.029566021636128426, -0.16049112379550934, -0.36885520815849304, 0.7513163685798645, -0.16473126411437988, -0.4430572986602783, -0.38487306237220764, 0.4803318977355957, 0.6823185086250305, -0.5162873864173889, 0.9811594486236572, 0.46522068977355957, -0.21059741079807281, -0.08605200797319412, -0.41824400424957275, -0.12241727858781815, -0.4131990671157837, 0.30377617478370667, -0.6526074409484863, -0.9213351607322693, 0.5495872497558594, -0.19455216825008392, 0.11400248110294342, 0.23341621458530426, 0.6831115484237671, 0.13434143364429474, 0.9649873971939087, 0.6194724440574646, 0.0013596084900200367, 0.4157533347606659, -0.28542008996009827, 0.48980745673179626, -0.5092750787734985, 0.21753904223442078, -0.7410174012184143, -0.23150433599948883, -0.6437608599662781, -0.7068896889686584, 0.3219470679759979, 0.25819242000579834, -0.06786563992500305, 0.6236131191253662, -0.006894404534250498, 0.33388280868530273, 0.81429523229599, -0.10818824917078018, 0.42741724848747253, 0.00007083461969159544, -0.2514362335205078, -0.06068159267306328, -0.8908919095993042, -0.5408398509025574, 0.9201734066009521, 0.40957775712013245, 0.5748918652534485, 0.3103438913822174, 0.5731149911880493, -0.09803597629070282, 0.16486595571041107, -0.8681970238685608, 0.7635594010353088, -0.25303125381469727, -0.4825296103954315, -0.3143676817417145, -0.5575621128082275, -1.0081970691680908, 0.35650140047073364, -0.15297062695026398, -0.8252659440040588, 0.09314151853322983, 0.10053906589746475, -0.3837592601776123, 0.5662707090377808, -0.7837281227111816, 1.1738232374191284, -0.20672447979450226, -0.3995296061038971, -0.3585945665836334, -0.6727771759033203, 0.2577146887779236, -0.1400754153728485, 0.32810690999031067, 0.17887206375598907, 0.185000941157341, 0.5838989615440369, -0.33191075921058655, 0.7572212219238281, -0.20854544639587402, -0.16326455771923065, 0.33937156200408936, 0.3592642843723297, 0.378306120634079, -0.27841150760650635, -0.015188939869403839, 0.2931465804576874, 0.18681329488754272, -0.3561374843120575, -0.5759009122848511, 0.49291789531707764, -0.8831072449684143, -0.6866536736488342, -0.29289811849594116, -0.7864512801170349, -0.4957221448421478, 0.36135318875312805, 0.24852687120437622, 0.4720979928970337, -0.40475884079933167, 0.0485127754509449, 0.6772216558456421, -0.580748438835144, 0.4823451638221741, 0.8904834389686584, -0.3267119824886322, -0.28498369455337524, 1.0239548683166504, 0.2058202177286148, 0.6707432866096497, 0.4722946286201477, 0.058297306299209595, -0.23631097376346588, -0.7999943494796753, -0.4029839038848877, 0.3589128255844116, -0.3605257272720337, 0.10565809905529022, -0.44987818598747253, -0.4484189748764038, -0.35122203826904297, 0.15640592575073242, -0.5409446954727173, -0.4000524878501892, -0.18857601284980774, 0.25945335626602173, 0.07077732682228088, 0.6379479765892029, -0.05562533810734749, 0.46954143047332764, -1.121625542640686, 0.05014502629637718, -0.12104251235723495, 0.5882052779197693, -0.0035529634915292263, -0.658265233039856, -0.4605239927768707, 0.18107613921165466, -0.29533323645591736, -0.7524844408035278, 0.40048420429229736, -0.010457913391292095, 0.6261745691299438, 0.22796942293643951, 0.22236575186252594, 0.3196379542350769, -0.5962936282157898, 0.7938154935836792, 0.023091059178113937, -0.762365996837616, 0.5372101068496704, -0.5257787108421326, 0.2514095604419708, 0.6371716856956482, 0.5035037398338318, -0.44060981273651123, -0.22072313725948334, -0.5038133263587952, -0.6806071400642395, 0.957468569278717, 0.3195517063140869, 0.13791051506996155, 0.09072539955377579, 0.049292560666799545, 0.1308836042881012, 0.3649556338787079, -0.5155022740364075, -0.08825304359197617, 0.032115090638399124, -0.02104286290705204, -0.4814313054084778, -0.15396541357040405, -0.19519171118736267, -0.052981629967689514, 0.7086273431777954, -0.029369816184043884, 0.4876624345779419, 0.05598703399300575, -0.2014651596546173, -0.05800052732229233, 0.5332740545272827, 0.7771584391593933, 0.5553066730499268, -0.33061718940734863, -0.019162585958838463, -0.09096836298704147, -0.37894055247306824, 0.3016881048679352, 0.22872479259967804, -0.3231351971626282, 0.1834726631641388, -0.07962293177843094, 1.1175744533538818, 0.1599743664264679, -0.8559572100639343, 0.7322190999984741, -0.10899922251701355, -0.20229370892047882, -0.07217200845479965, -0.27001330256462097, -0.12574362754821777, 0.3415725827217102, -0.20767787098884583, 0.25882115960121155, -0.2110365331172943, -0.46717944741249084, 0.14665018022060394, 0.4759204685688019, -0.3022227883338928, -0.3750220537185669, 0.5585362315177917, 0.40994536876678467, -0.4296930134296417, 0.3859105408191681, -0.2250371277332306, -0.4569587707519531, 0.15614953637123108, 0.5520516633987427, 0.9999211430549622, -0.3701888918876648, 0.2454124242067337, 0.43027767539024353, 0.38852617144584656, -0.20254258811473846, 0.16041763126850128, -0.10508815944194794, -0.8573242425918579, -0.7760423421859741, -0.5442323088645935, -0.5445923209190369, 0.27613019943237305, -0.6140037775039673, 0.11238909512758255, -0.21187551319599152, -0.25403115153312683, -0.48615825176239014, -0.2778454124927521, -0.6354498863220215, -0.10812478512525558, -0.02548828534781933, 1.2580616474151611, -0.6468203067779541, 0.8575107455253601, 0.5175701379776001, -0.47939005494117737, -0.7785263061523438, 0.12564483284950256, -0.08917005360126495, -0.6862546801567078, 0.6599542498588562, -0.11747657507658005, -0.05292467027902603, 0.0928485319018364, 0.01289453823119402, -0.8850142359733582, 0.8104223012924194, 0.46631506085395813, -0.5276581645011902, -0.22625583410263062, 0.2588246166706085, 0.41630634665489197, -0.2779614329338074, 0.32848238945007324, 0.5616150498390198, 0.3431992530822754, 0.0690808892250061, -1.5633244514465332, -0.21627959609031677, -0.22330430150032043, 0.11727684736251831, 0.18780209124088287, -0.6336794495582581, 0.7598414421081543, -0.19670003652572632, -0.17502130568027496, 0.4327912926673889, 0.6742468476295471, -0.03181609511375427, 0.17050953209400177, 0.6664154529571533, 0.4684308171272278, 0.3076085150241852, -0.19139313697814941, 1.0400488376617432, -0.4594833254814148, 0.3723607659339905, 1.0322436094284058, -0.34821817278862, 1.123514175415039, 0.4002854824066162, -0.25776541233062744, 0.14798492193222046, 0.32480713725090027, 0.5048372745513916, 0.538372814655304, 0.33229780197143555, -0.5812525749206543, -0.044422294944524765, -0.24779640138149261, -0.3166291117668152, 0.30922994017601013, 0.1685965657234192, -0.20334480702877045, -0.24221843481063843, 0.40160149335861206, -0.033660877496004105, 0.1248016282916069, -0.37979114055633545, 0.796069324016571, 0.03136413171887398, -0.8599191904067993, 0.8398340940475464, 0.011694616638123989, 0.6721702814102173, -0.6484000086784363, 0.16113880276679993, -0.17555904388427734, 0.16425591707229614, 0.009421059861779213, -0.737955629825592, 0.22595180571079254, -0.03294670581817627, -0.19857458770275116, -0.3664945363998413, 0.6281390190124512, -0.7712227702140808, -0.1396421641111374, 0.4087631106376648, 0.9652308225631714, 0.43259915709495544, -0.052757058292627335, -0.5024304986000061, 0.1542891561985016, -0.005795993842184544, -0.20967930555343628, 0.6170353889465332, 0.2840205729007721, 0.031285446137189865, 0.5842648148536682, 0.3662891089916229, 0.33814892172813416, 0.11456353217363358, 0.0905412808060646, 0.7104437351226807, -0.39101937413215637, -0.4562615752220154, -0.5289353728294373, 0.44109728932380676, 0.2849481403827667, -0.013265296816825867, 0.6280584931373596, 0.4140840172767639, 0.9612281918525696, -0.21545693278312683, 0.9811640381813049, 0.038323309272527695, 0.7092424631118774, -0.5131028294563293, 0.5369856357574463, -0.383514404296875, 0.2272721230983734, -0.26380595564842224, -1.1123721599578857, 0.009102476760745049, 0.6228230595588684, -0.5558944940567017, 0.10440705716609955, 0.7706320881843567, 0.8536630868911743, -0.18759964406490326, 0.15850840508937836, 0.5160738229751587, 0.4311692416667938, 0.22804126143455505, 0.7953392267227173, 0.7372903823852539, -0.22669146955013275, 0.7722006440162659, -0.2762776017189026, -0.3698618710041046, -0.16917486488819122, -0.6818392872810364, -0.7394464612007141, -0.6390166282653809, -0.3197896182537079, -0.7272789478302002, 0.008902644738554955, 0.9465532898902893, 0.6303256750106812, -0.8985038995742798, -0.6114000678062439, 0.06876245886087418, -0.10300604999065399, -0.22423721849918365, -0.22407233715057373, 0.022903960198163986, -0.38421228528022766, -0.8027229309082031, 0.6227676868438721, 0.19112540781497955, 0.23380683362483978, -0.306025892496109, -0.29122433066368103, -0.17010104656219482, 0.08085215836763382, 0.7834771871566772, 0.5343058109283447, -0.5581761598587036, -0.2913587689399719, 0.012576289474964142, -0.015403584577143192, 0.1042059138417244, 1.0145646333694458, -0.4975726306438446, 0.6362143754959106, 0.5466881394386292, 0.8206215500831604, 0.23213103413581848, -0.09666681289672852, 0.9762937426567078, -0.6401365995407104, 0.26425597071647644, 0.21688972413539886, 0.3422728478908539, 0.07208285480737686, 0.06514590978622437, 0.4002358615398407, 0.24861043691635132, -0.6288096308708191, -0.8229008316993713, 0.40773627161979675, -1.1215094327926636, 0.021844420582056046, 1.1727744340896606, -0.38031551241874695, -0.038445789366960526, -0.09383592009544373, -0.4894734025001526, 0.20372997224330902, -0.1908491849899292, 0.27199867367744446, 0.8166977167129517, 0.030547844246029854, -0.24936887621879578, -0.9398240447044373, 0.4223799407482147, 0.424215704202652, -0.6322488784790039, 0.13953179121017456, 0.18318018317222595, 0.10835278034210205, 0.35093799233436584, 0.8353895545005798, -0.17866413295269012, 0.1574769914150238, -0.35219666361808777, 0.030912866815924644, 0.1583937555551529, -0.14268456399440765, -0.3048911690711975, 0.09706448763608932, 0.32846158742904663, -0.30142223834991455 ]