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/2406.17534v2
http://arxiv.org/pdf/2406.17534v2
Retrieval-style In-Context Learning for Few-shot Hierarchical Text Classification
2024-06-25T13:19:41
2024-06-29T09:24:33
Huiyao Chen, Yu Zhao, Zulong Chen, Mengjia Wang, Liangyue Li, Meishan Zhang, Min Zhang
cs.CL
cs.CL
Hierarchical text classification (HTC) is an important task with broad applications, while few-shot HTC has gained increasing interest recently. While in-context learning (ICL) with large language models (LLMs) has achieved significant success in few-shot learning, it is not as effective for HTC because of the expansive hierarchical label sets and extremely-ambiguous labels. In this work, we introduce the first ICL-based framework with LLM for few-shot HTC. We exploit a retrieval database to identify relevant demonstrations, and an iterative policy to manage multi-layer hierarchical labels. Particularly, we equip the retrieval database with HTC label-aware representations for the input texts, which is achieved by continual training on a pretrained language model with masked language modeling (MLM), layer-wise classification (CLS, specifically for HTC), and a novel divergent contrastive learning (DCL, mainly for adjacent semantically-similar labels) objective. Experimental results on three benchmark datasets demonstrate superior performance of our method, and we can achieve state-of-the-art results in few-shot HTC.
[ -0.10176407545804977, -0.7027395367622375, 0.3446475863456726, 0.018375473096966743, -0.24530267715454102, 0.33549487590789795, -0.04147060588002205, -0.4164979159832001, -0.1877732276916504, 0.19440658390522003, -0.4752039313316345, -0.9088472127914429, -0.4681905210018158, 0.07020767778158188, -0.26577016711235046, 1.0394511222839355, -0.007486242335289717, -0.29064491391181946, 0.07538849860429764, -0.2331629991531372, -0.019472366198897362, -0.5585542321205139, -0.3831336498260498, -0.6206298470497131, 0.5523210167884827, 0.7776365280151367, 0.2600441575050354, 0.603855550289154, 0.4660108983516693, 0.16514544188976288, -0.2934105694293976, 0.11857452988624573, -0.6724774241447449, -0.11219105124473572, 0.06473061442375183, -0.1305074542760849, -0.05233019217848778, -0.19683058559894562, 0.8101162314414978, 0.5190103650093079, 0.018932722508907318, -0.013231483288109303, 0.40822964906692505, 0.3553587794303894, -0.9622533321380615, 0.06209111213684082, -0.8242038488388062, 0.2999515235424042, -0.43614012002944946, -0.47998836636543274, -0.7350974678993225, -0.0038974888157099485, 0.43987616896629333, -0.5142768025398254, -0.3126791715621948, 0.30865803360939026, 0.8420254588127136, 0.10857842117547989, -0.5349319577217102, -0.16315917670726776, -0.48245126008987427, 0.9212972521781921, -0.5850265026092529, 0.3639834225177765, 0.6048583388328552, 0.526726245880127, 0.0729861781001091, -0.8272322416305542, -0.3607754707336426, -0.15614189207553864, -0.2820322811603546, 0.13131704926490784, -0.09315823763608932, 0.059956952929496765, 0.01511349342763424, 0.03831767663359642, -0.4637531340122223, 0.5044491291046143, 0.09842626005411148, -0.048643458634614944, 0.07497696578502655, 0.2104998081922531, -0.06670498847961426, -0.31142887473106384, -0.7579644918441772, 0.06004584580659866, -0.9288845658302307, -0.09695053100585938, -0.24314136803150177, 0.5152328014373779, -0.28967273235321045, 0.29524755477905273, -0.18089070916175842, 0.5808002948760986, 0.20284366607666016, -0.5841789841651917, 0.19246906042099, -0.23920154571533203, -0.45285889506340027, 0.3173038363456726, 0.656207799911499, -0.06360305845737457, -0.3605327308177948, -0.13172394037246704, -0.2743411362171173, -0.5545809268951416, -0.061403144150972366, -1.0797468423843384, 0.021986614912748337, -0.1321994662284851, -0.4337688982486725, -0.2716900110244751, -0.058181680738925934, -0.5338438749313354, -0.32872045040130615, -0.04369187727570534, 0.7070525288581848, -0.3080776035785675, 0.18295183777809143, -0.10308180749416351, 0.18311558663845062, 0.3025299310684204, 0.2063552737236023, -0.8569491505622864, 0.33040928840637207, 0.4379218816757202, 0.9378288984298706, -0.4400155246257782, -0.3128840923309326, -0.6321132779121399, 0.37861937284469604, -0.25069934129714966, 0.6369378566741943, -0.5748355388641357, -0.2638404667377472, 0.22108197212219238, -0.28078049421310425, 0.08888332545757294, -0.6541541814804077, 0.22396960854530334, -0.7116998434066772, 0.15812794864177704, 0.05475231260061264, -0.5072554349899292, 0.08428797125816345, 0.8146674036979675, -0.23014411330223083, 1.093214511871338, -0.005868448875844479, -1.0747861862182617, 0.5194790959358215, -0.305488258600235, -0.3449285626411438, 0.3149770200252533, -0.4149756133556366, -0.726349413394928, -0.4860492944717407, 0.0307709239423275, 0.5739697813987732, -0.07722683250904083, -0.0307416133582592, -0.18144665658473969, -0.7987499237060547, -0.20781904458999634, -0.4085196852684021, 0.6731558442115784, 0.04324911907315254, -0.3753657937049866, -0.03441276028752327, -0.6980094909667969, -0.04396849125623703, -0.2855481803417206, -0.6246110200881958, -0.47935235500335693, -0.2798672020435333, 0.2487362027168274, 0.40455153584480286, 0.12564361095428467, -0.5201526880264282, 0.26587560772895813, -0.414572536945343, 0.07317602634429932, 0.4264914393424988, 0.19856412708759308, 0.6498845815658569, -0.28244560956954956, 0.32113879919052124, 0.36284130811691284, -0.003024145495146513, -0.3599740266799927, -0.11928915977478027, -0.48909589648246765, -0.5134795904159546, 0.1410132199525833, 0.6024389266967773, -1.0869508981704712, 0.31280088424682617, -0.055800508707761765, -0.33073291182518005, -0.1692526489496231, 0.25464633107185364, 0.5484548211097717, 0.7735987901687622, 0.5705543756484985, 0.027758531272411346, -0.42674797773361206, -0.8899977803230286, 0.010554266162216663, -0.26711732149124146, 0.11279702186584473, 0.6175693273544312, 0.7126824259757996, -0.4784320294857025, 0.9227496385574341, -0.3224315941333771, -0.6776189208030701, -0.32484135031700134, 0.4275742471218109, 0.04683418944478035, 0.43020063638687134, 0.4216318130493164, -0.610171914100647, -0.7172949314117432, 0.212050661444664, -0.7602460980415344, 0.046968232840299606, -0.0708293467760086, -0.2425813376903534, 0.28111013770103455, 0.6356250047683716, -0.16784904897212982, 0.411091148853302, 0.1703805923461914, 0.24607114493846893, 0.41097787022590637, -0.022801928222179413, -0.004637569189071655, -1.018564224243164, -0.17095471918582916, 0.21463704109191895, -0.312034547328949, -0.5174727439880371, -0.0038325306959450245, 0.2934652864933014, 0.2849062383174896, -0.8895584940910339, 0.8158153295516968, -0.2397514432668686, 0.006617987062782049, -0.3824373483657837, 0.21452532708644867, -0.03595123812556267, 0.5405411720275879, 0.21449606120586395, 0.4581214189529419, 0.7371906638145447, -0.683087170124054, -0.19649985432624817, 0.17295055091381073, -0.5230038166046143, 0.5845104455947876, -0.16134867072105408, 0.17686383426189423, -0.3429049551486969, 0.44566547870635986, -0.8401517271995544, -0.2108839899301529, 0.22003096342086792, -0.012391417287290096, 0.4895175099372864, -0.36067619919776917, -0.7285687327384949, -0.11162994056940079, -0.29382002353668213, 0.578924298286438, 0.4246194660663605, -1.037404179573059, 0.30650803446769714, 0.03718896210193634, 0.15955249965190887, -0.8503894209861755, -0.8537977337837219, 0.038867633789777756, -0.3599620461463928, -0.07510798424482346, 0.8161368370056152, -0.05957532301545143, -0.05651051178574562, -0.30467358231544495, -0.24449847638607025, -0.521552562713623, -0.04579794406890869, 0.027138125151395798, 0.10312218219041824, -0.20478379726409912, 0.3093615174293518, 0.2247491180896759, 0.06311190873384476, -0.5213342308998108, -0.34683576226234436, 0.2268446534872055, -0.22227221727371216, -0.10592338442802429, -0.6862960457801819, 0.21597693860530853, 0.1361619532108307, 0.15587882697582245, 0.5374445915222168, 0.5289314985275269, -0.5275870561599731, -0.33447614312171936, -0.2046971470117569, -0.18709033727645874, -0.46708786487579346, 0.3439399003982544, -0.5461000800132751, -1.0915740728378296, 0.1563410758972168, -0.13402390480041504, -0.02250540256500244, 0.09091171622276306, 0.5092185735702515, -0.402151495218277, 0.8447052240371704, 0.8349617719650269, -0.21628883481025696, 0.7688353657722473, -0.33305689692497253, -0.257205605506897, -0.6070072650909424, -0.3348890542984009, -0.44547247886657715, -0.23812688887119293, -0.6209063529968262, -0.06867190450429916, 0.5646296143531799, 0.24027450382709503, -0.6365047693252563, 0.22473639249801636, -0.15737541019916534, 0.7965801358222961, 0.33334192633628845, 0.41883930563926697, 0.5679218769073486, 0.13232024013996124, -0.3058684766292572, -0.0594034381210804, -0.8114978671073914, -0.40521377325057983, 0.5746326446533203, 0.398184597492218, 1.0391274690628052, 0.13737249374389648, 1.1795859336853027, -0.06416438519954681, 0.5226808786392212, -0.9749955534934998, 0.26934534311294556, -0.20096564292907715, -0.4913425147533417, -0.114298515021801, -0.41461312770843506, -0.6952683925628662, 0.4309176206588745, -0.16547083854675293, -0.8280525803565979, 0.32066747546195984, 0.07870535552501678, -0.41437920928001404, 0.2591363489627838, -0.3975936472415924, 0.6444758176803589, -0.14758649468421936, -0.617101788520813, 0.0927133858203888, -0.9494335651397705, 0.37072643637657166, -0.08786383271217346, -0.03558184579014778, 0.21644887328147888, -0.2397371530532837, 0.4613218307495117, -0.18384073674678802, 1.0438116788864136, 0.015032922849059105, 0.04224903881549835, 0.3124721944332123, 0.1897263526916504, 0.45943328738212585, -0.13151134550571442, -0.1700771152973175, -0.1602010279893875, -0.023897791281342506, -0.3723592758178711, -0.5061303377151489, 0.6137968301773071, -0.5150270462036133, -0.27286842465400696, -0.4027725160121918, -0.2554120719432831, -0.2365800440311432, 0.3802279233932495, 0.5544113516807556, 0.559890627861023, -0.1639963984489441, 0.47107449173927307, 0.6513490080833435, -0.1596076339483261, 0.6197635531425476, 0.4873967170715332, -0.21379593014717102, -0.0917973741889, 0.7758534550666809, -0.019161056727170944, 0.15996494889259338, 0.9226223230361938, 0.3672564625740051, -0.24995367228984833, -0.4815184473991394, -0.44895318150520325, -0.17021748423576355, -0.9294924736022949, -0.5106487274169922, -0.5828407406806946, -0.33216947317123413, 0.0367603674530983, -0.2095046192407608, -0.14635637402534485, -0.03286493569612503, -0.5624433159828186, 0.008979939855635166, 0.009021962992846966, 0.6467347145080566, 0.3304079473018646, 0.6680400371551514, -0.5931425094604492, 0.3346233665943146, 0.25577637553215027, 0.4352799355983734, 0.0007651978521607816, -0.7795796990394592, -0.38415130972862244, -0.32903945446014404, -0.4352351427078247, -0.6955311894416809, 0.3165438771247864, 0.46748441457748413, 0.4165503978729248, 0.3740016222000122, 0.030589722096920013, 0.7346851825714111, -0.5653297305107117, 0.48631832003593445, 0.10020474344491959, -0.7162110805511475, 0.48141637444496155, -0.18650972843170166, 0.6112770438194275, 0.8746375441551208, 0.7257503867149353, -0.3722206652164459, -0.17873622477054596, -0.2421071082353592, -0.6848428249359131, 0.8022013306617737, 0.09622630476951599, 0.06327361613512039, -0.07823895663022995, 0.3775770366191864, 0.20800362527370453, 0.15253953635692596, -0.8765974044799805, -0.34318241477012634, -0.13280369341373444, -0.3181551694869995, 0.42146944999694824, -0.06973627209663391, 0.1262751966714859, -0.255608469247818, 0.5144314169883728, -0.47375380992889404, -0.1462145745754242, 0.12148753553628922, -0.4821702837944031, 0.11024754494428635, 0.5720032453536987, 0.2675854563713074, 0.5015991926193237, -0.3903249204158783, 0.37754684686660767, 0.18225885927677155, -0.18399477005004883, 0.2919151782989502, -0.054573625326156616, -0.34300991892814636, -0.15813258290290833, 0.34303146600723267, 0.664374589920044, 0.6520267724990845, -0.5912616848945618, 0.6247465014457703, 0.2559739649295807, -0.0904407724738121, 0.0899830088019371, -0.29767999053001404, -0.35377776622772217, 0.22955556213855743, 0.5745530128479004, -0.2315637320280075, 0.4375349283218384, -0.6526781916618347, 0.47567689418792725, 0.30664053559303284, -0.6429793238639832, 0.06630314886569977, 0.2525515556335449, -0.06895653158426285, -0.05499045550823212, 0.5422942638397217, -0.4226061701774597, -0.45561838150024414, 0.3581484854221344, 0.8555746078491211, 0.7692716717720032, 0.12865762412548065, 0.32800307869911194, 0.3929368555545807, 0.13976246118545532, -0.11728033423423767, -0.12430386990308762, -0.47720471024513245, -0.630988359451294, -0.15833254158496857, -0.39237889647483826, -0.6032951474189758, 0.018915070220828056, -0.4239775240421295, 0.38005104660987854, -0.5853210091590881, -0.00744739780202508, -0.2113151252269745, 0.09213569760322571, -0.5120582580566406, 0.08391579985618591, 0.2526945471763611, 0.9348853826522827, -0.5139899253845215, 1.1071306467056274, 0.5629835724830627, -0.4043990671634674, -0.37552809715270996, 0.3361288011074066, 0.3280879259109497, -0.4353427290916443, 1.142836332321167, 0.3527221083641052, -0.4692094027996063, 0.23974597454071045, -0.8237143754959106, -0.6168394088745117, 1.1934077739715576, 0.06339923292398453, -0.6518243551254272, -0.07085990160703659, -0.09152378141880035, 0.6304485201835632, -0.6645549535751343, 0.30733031034469604, 0.5900179743766785, 0.2119741290807724, 0.43405547738075256, -0.7568405866622925, -0.33279502391815186, 0.14120155572891235, 0.09122630953788757, -0.19830237329006195, -0.578682005405426, 0.4437343180179596, -0.192683607339859, -0.37905585765838623, 0.17656733095645905, 0.6156659126281738, 0.6173962950706482, 0.6348209977149963, 0.28760388493537903, 0.19523528218269348, 0.6409828066825867, 0.12482623010873795, 1.131528615951538, 0.07707066833972931, 0.48008352518081665, 1.3851404190063477, -0.38391900062561035, 1.1182291507720947, 0.3549114167690277, 0.17210209369659424, 0.6857059597969055, 0.8176725506782532, 0.39429396390914917, 0.7407699823379517, 0.14146111905574799, -0.4067796468734741, -0.25882813334465027, -0.37091875076293945, 0.02730480581521988, 0.4303153157234192, 0.31234386563301086, -0.17251361906528473, -0.5425412058830261, 0.185339093208313, -0.0583866722881794, -0.05124574154615402, -0.3541652262210846, 1.0067596435546875, 0.3219205439090729, -0.011338596232235432, 0.6819754838943481, 0.09641832113265991, 1.1421679258346558, -0.3695298433303833, -0.05477983504533768, -0.2729479968547821, 0.1256157010793686, -0.29207974672317505, -0.7157453894615173, -0.12658432126045227, -0.03645721822977066, -0.1678275167942047, -0.2372073084115982, 0.6616027355194092, -0.7398979067802429, -0.17709487676620483, 0.23480628430843353, 0.3751073479652405, 0.03379492461681366, 0.13018354773521423, -0.7385812401771545, -0.07748942822217941, -0.4704493582248688, -0.09671030938625336, 0.5055612325668335, 0.36185216903686523, -0.21882615983486176, 0.6777577996253967, -0.07977230101823807, -0.36192914843559265, 0.0653710663318634, 0.3172266185283661, 0.6604222655296326, -0.6456860899925232, -0.49084195494651794, -0.889115571975708, 0.2195180058479309, 0.12020225822925568, -0.29960939288139343, 0.5866923332214355, 0.6683656573295593, 0.9270569086074829, 0.15616042912006378, 0.5761666893959045, 0.2564955949783325, 0.17621555924415588, -0.6077529191970825, 0.5544103980064392, -0.7372541427612305, 0.33556637167930603, -0.3339661955833435, -0.763558030128479, -0.6774842143058777, 0.46943655610084534, -0.036711517721414566, 0.22403933107852936, 0.8328432440757751, 0.7235106229782104, -0.23875996470451355, -0.26846298575401306, 0.4685363471508026, 0.29596057534217834, 0.229238823056221, 0.6685303449630737, 0.931972086429596, -0.6223644018173218, 0.7078136205673218, -0.4740602970123291, -0.18515853583812714, -0.42912450432777405, -0.9316903352737427, -0.9159234166145325, -0.45345595479011536, -0.42522138357162476, -0.11746009439229965, 0.12714457511901855, 1.2099741697311401, 0.9805042147636414, -0.5945830345153809, -0.2552691102027893, 0.2448507696390152, 0.3242354989051819, -0.07874934375286102, -0.2018139362335205, 0.4538407325744629, -0.398740291595459, -0.6924217939376831, 0.46241527795791626, 0.5524570345878601, 0.22391678392887115, -0.051622532308101654, -0.12373214960098267, -0.37514832615852356, -0.353760689496994, 1.0720546245574951, 0.33747515082359314, -0.5824044942855835, -0.26223841309547424, -0.1301155537366867, -0.6546518206596375, 0.3831474483013153, 0.7410411238670349, -0.9821394681930542, 0.34598803520202637, 0.5238564014434814, 0.9032993912696838, 0.8159562945365906, -0.01278787013143301, -0.14626926183700562, -1.3564356565475464, 0.21358579397201538, 0.41117966175079346, 0.12241681665182114, 0.28496062755584717, -0.20306245982646942, 0.1099134311079979, -0.04826739430427551, -0.2534014880657196, -0.6361061334609985, 0.21758855879306793, -0.8615849018096924, -0.23767299950122833, 1.1207363605499268, -0.01697937771677971, -0.09590601176023483, -0.18305781483650208, -0.24669493734836578, -0.10654867440462112, -0.4278024137020111, 0.5986155867576599, 0.4673776626586914, -0.24035920202732086, -0.532615602016449, -0.2210479974746704, 0.5272886157035828, 0.11408881843090057, -0.9098926186561584, -0.18081854283809662, 0.42061156034469604, 0.0790235623717308, -0.08557551354169846, 0.7562655210494995, -0.18447676301002502, 0.15029701590538025, -0.26493197679519653, -0.30093175172805786, 0.15989528596401215, -0.819707989692688, -0.4136286973953247, 0.2130933552980423, 0.09320531040430069, 0.012744027189910412 ]
http://arxiv.org/abs/2406.17532v1
http://arxiv.org/pdf/2406.17532v1
Can Large Language Models Understand DL-Lite Ontologies? An Empirical Study
2024-06-25T13:16:34
2024-06-25T13:16:34
Keyu Wang, Guilin Qi, Jiaqi Li, Songlin Zhai
cs.AI
cs.AI, cs.CL, cs.LO
Large language models (LLMs) have shown significant achievements in solving a wide range of tasks. Recently, LLMs' capability to store, retrieve and infer with symbolic knowledge has drawn a great deal of attention, showing their potential to understand structured information. However, it is not yet known whether LLMs can understand Description Logic (DL) ontologies. In this work, we empirically analyze the LLMs' capability of understanding DL-Lite ontologies covering 6 representative tasks from syntactic and semantic aspects. With extensive experiments, we demonstrate both the effectiveness and limitations of LLMs in understanding DL-Lite ontologies. We find that LLMs can understand formal syntax and model-theoretic semantics of concepts and roles. However, LLMs struggle with understanding TBox NI transitivity and handling ontologies with large ABoxes. We hope that our experiments and analyses provide more insights into LLMs and inspire to build more faithful knowledge engineering solutions.
[ -0.062141481786966324, -0.5917667746543884, 1.3321583271026611, -0.05857505649328232, -0.010635681450366974, 0.06552326679229736, -0.31561487913131714, -0.7326476573944092, -0.10939957201480865, 0.914659857749939, -0.7496602535247803, -0.5011628270149231, -0.7076802849769592, 0.364554226398468, -0.5615764260292053, 0.5911509990692139, 0.002056568395346403, 0.004740460775792599, 0.006784359458833933, 0.004856012295931578, -0.3701624572277069, -0.3836327791213989, -0.39524996280670166, -0.39548197388648987, 0.5578942894935608, -0.009228941984474659, 0.6555225253105164, 0.5818917751312256, 0.39431512355804443, 0.3000509738922119, -0.3901168406009674, 0.057797871530056, -0.4628189504146576, 0.0092034712433815, -0.3935829997062683, -0.8531662821769714, -0.40519845485687256, -0.13098111748695374, 0.7133691906929016, 0.9830829501152039, -0.044951289892196655, 0.04248642176389694, -0.06367690861225128, 0.35250645875930786, -0.48983410000801086, 0.47391805052757263, -0.9734743237495422, 0.09361778944730759, 0.07477430254220963, -0.11006992310285568, -0.6266605257987976, 0.11287768930196762, 0.3441670536994934, -0.7840757966041565, -0.22217567265033722, 0.33362695574760437, 0.6933803558349609, 0.14573858678340912, -0.6423627734184265, -0.3945799469947815, -0.7288792133331299, 0.9901373982429504, -0.8877018690109253, 0.5424481630325317, 0.07279179245233536, 0.32174327969551086, -0.2384931445121765, -0.6744102239608765, -0.7543355226516724, -0.1334705948829651, -0.32700806856155396, -0.017856674268841743, 0.05159316584467888, 0.2377263456583023, 0.5362403988838196, 0.2439664900302887, -0.39920178055763245, 0.4392071068286896, -0.13569597899913788, -0.17387154698371887, 0.5411686897277832, 0.36167484521865845, 0.36139222979545593, -0.42378732562065125, -0.6980210542678833, 0.19128797948360443, -0.7298866510391235, -0.14141666889190674, -0.10716332495212555, 0.21748299896717072, -0.0309725534170866, 0.7443288564682007, -0.024151809513568878, 0.7117472290992737, -0.6098449230194092, -0.2552720606327057, -0.04586518183350563, -0.5080813765525818, -0.37594467401504517, -0.14620144665241241, 0.6244964003562927, -0.0014609541976824403, 0.37575414776802063, -0.698381245136261, -0.47964906692504883, -0.1643734574317932, 0.012105773203074932, -0.5551749467849731, 0.3243773877620697, 0.3134118616580963, -0.512515664100647, 0.04666534811258316, -0.05326014757156372, -0.2616344094276428, -0.6350259780883789, -0.36273521184921265, 0.729072630405426, -0.38694456219673157, -0.26768532395362854, 0.4200695753097534, -0.29327818751335144, 0.4657242000102997, 0.446219265460968, -0.7273663878440857, 0.32649821043014526, 0.8338576555252075, 0.6309051513671875, -0.08164584636688232, -0.17647355794906616, -0.19114463031291962, 0.31596794724464417, -0.08789628744125366, 0.5846008658409119, -0.4930081069469452, -0.045945413410663605, 0.05034972354769707, -0.022171230986714363, -0.3118336796760559, -0.6052218079566956, 0.381709486246109, -0.8360106348991394, -0.1733250916004181, -0.35559630393981934, -0.9646051526069641, -0.3067679703235626, 0.3967387080192566, -0.7181888818740845, 0.3245982527732849, 0.071111299097538, -0.6551336050033569, 0.2176319658756256, -0.5245581269264221, -0.05476253107190132, -0.024401886388659477, -0.38667768239974976, 0.17383959889411926, 0.4928363263607025, -0.25824174284935, 0.6026570200920105, -0.6460385918617249, 0.11873836070299149, -0.2682015001773834, -0.23749108612537384, 0.7372989654541016, -0.16559578478336334, 0.9532883763313293, 0.035051167011260986, -0.11037904024124146, -0.008565817959606647, -0.7711519598960876, 0.008192440494894981, 0.23291441798210144, -0.06611473858356476, -0.3420703113079071, 0.08847393095493317, -0.016002532094717026, 0.45653635263442993, 0.23621681332588196, -0.6320030689239502, 0.35856136679649353, -0.5232354402542114, 0.654224693775177, 0.7636935710906982, -0.39488136768341064, 0.3430984616279602, 0.009505738504230976, 0.5511197447776794, -0.12532542645931244, -0.09566710889339447, -0.05625031143426895, -0.20563103258609772, -0.5814262628555298, -0.08683239668607712, 0.38584813475608826, 0.5243969559669495, -0.9020878076553345, 0.48783794045448303, -0.3901570737361908, -0.03366720676422119, -0.1926800161600113, 0.26986825466156006, 0.3261166214942932, 0.25381648540496826, 0.2335786372423172, 0.06472446024417877, -0.283743292093277, -0.8669254183769226, -0.0912935808300972, -0.14277946949005127, -0.050069328397512436, 0.3716590106487274, 0.7311391234397888, -0.32723772525787354, 0.964503288269043, -0.4824300706386566, -0.38706839084625244, -0.6084584593772888, -0.13150306046009064, 0.2389087975025177, -0.19779036939144135, 0.4873620569705963, -0.7781995534896851, -0.08101801574230194, 0.05515868216753006, -0.9854341745376587, -0.3609183430671692, -0.04591164365410805, 0.1377120465040207, 0.1305321305990219, 0.49180179834365845, -0.7383224964141846, 0.3191105127334595, 0.583108127117157, -0.5343590974807739, 0.47327762842178345, -0.20762912929058075, -0.21049009263515472, -0.8250740170478821, -0.053259462118148804, -0.21490326523780823, -0.2808360755443573, -0.6686681509017944, 0.14306336641311646, 0.045171335339546204, 0.3097299635410309, -0.4154372811317444, 0.794403076171875, -0.43109601736068726, -0.6194474101066589, -0.3289058804512024, 0.6153350472450256, 0.19411471486091614, 0.14666545391082764, 0.26085931062698364, 0.3890379071235657, 0.5237762928009033, -0.46281853318214417, 0.36187639832496643, 0.18241965770721436, -0.6539314389228821, 0.017215583473443985, -0.6131652593612671, -0.27256882190704346, -0.013707793317735195, 0.2741462290287018, -0.9576230645179749, -0.1320655792951584, -0.14258356392383575, -0.0001284982863580808, 0.05774829909205437, -0.07870660722255707, -1.063797116279602, -0.05177726224064827, -0.03904968127608299, 0.22893385589122772, 0.4650161564350128, -0.4799843728542328, 0.9271615743637085, 0.1957191377878189, 0.11768040806055069, -0.34622037410736084, -0.6741939783096313, 0.0383063443005085, -0.24065595865249634, -0.7407033443450928, 0.22454862296581268, 0.11857402324676514, -0.6946336030960083, 0.07234260439872742, -0.13308806717395782, -0.1011105552315712, 0.25805342197418213, 0.0011416217312216759, 0.22631923854351044, -0.15794309973716736, 0.45387810468673706, -0.25080233812332153, -0.021976012736558914, 0.40538129210472107, -0.26140064001083374, 0.6971092820167542, 0.11740366369485855, -0.1704292893409729, -0.2553914785385132, 0.004192772787064314, 0.5352191925048828, -0.16486333310604095, 1.1751351356506348, 0.3573005199432373, -0.29502594470977783, -0.5482480525970459, -0.441135048866272, -0.36001789569854736, -0.44760194420814514, 0.44567346572875977, -0.35960525274276733, -0.9291930198669434, 0.7526973485946655, -0.14253360033035278, 0.1375081092119217, 0.6162551045417786, 0.2607867419719696, -0.15504398941993713, 0.8195827603340149, 0.6778902411460876, 0.2512909173965454, 0.1203768327832222, -0.3443529009819031, 0.16971752047538757, -0.8196506500244141, -0.21650533378124237, -0.42105284333229065, -0.14515374600887299, -0.48475781083106995, -0.14433304965496063, 0.38728249073028564, 0.08347725868225098, -0.06145347282290459, 0.03453102707862854, 0.1411440670490265, 0.32519254088401794, -0.2088363766670227, -0.01117781363427639, 0.700860857963562, -0.006104873958975077, 0.07996219396591187, 0.08502423018217087, -0.6646564602851868, -0.6426499485969543, 0.8566733002662659, 0.484120637178421, 0.9786151051521301, 0.29520416259765625, 0.4569367468357086, -0.012690197676420212, -0.042062122374773026, -0.7988375425338745, 0.8082031607627869, -0.4458736777305603, -0.6916459798812866, -0.1969185471534729, -0.6472614407539368, -0.8198094367980957, 0.23042795062065125, -0.3704696297645569, -0.8560184240341187, -0.10552974790334702, -0.012571781873703003, -0.16304881870746613, 0.41283124685287476, -0.5984982848167419, 0.877672016620636, -0.39428067207336426, -0.10244375467300415, -0.3103469908237457, -0.7517784833908081, 0.454406201839447, -0.29547932744026184, 0.5800579786300659, -0.2632655203342438, -0.2751029431819916, 0.7241087555885315, -0.4516417384147644, 0.8593509197235107, 0.031440649181604385, -0.6989482045173645, 0.07947119325399399, 0.021951984614133835, 0.357930451631546, -0.049491818994283676, -0.3159632682800293, 0.060700833797454834, 0.13241690397262573, -0.29979923367500305, -1.0084532499313354, 0.5620004534721375, -0.7129461169242859, -0.6707712411880493, -0.3076275587081909, -0.7040340900421143, -0.238236665725708, 0.12084795534610748, 0.033160414546728134, 0.4445223808288574, 0.2078593671321869, 0.11050731688737869, 0.8457174897193909, -0.38030925393104553, 0.3484903872013092, 0.7577943205833435, -0.6182600855827332, 0.3770178258419037, 0.5323418974876404, 0.32560786604881287, 0.8084895610809326, 0.5919663310050964, 0.3844147026538849, -0.43433380126953125, -0.6062549948692322, -0.20484362542629242, 0.36107137799263, -0.9481594562530518, 0.07792296260595322, -0.7435010671615601, -0.40024858713150024, -0.15263797342777252, -0.002229571808129549, -0.16708363592624664, -0.5767872333526611, -0.03566742688417435, 0.027964932844042778, 0.5174052715301514, 1.1000839471817017, 0.45739105343818665, 0.4730682075023651, -0.8941833972930908, 0.264291912317276, 0.10489293187856674, 0.29428771138191223, 0.07632189244031906, -0.8475375175476074, -0.11778213083744049, -0.009846717119216919, 0.1836933046579361, -0.7951910495758057, 0.11472342163324356, -0.03728124499320984, 0.49162161350250244, 0.36594218015670776, 0.06574292480945587, 0.34522926807403564, -0.346676766872406, 0.6916496157646179, -0.17321394383907318, -1.0185213088989258, 0.40040555596351624, -0.20992708206176758, 0.09213080257177353, 0.09114189445972443, 0.27565914392471313, -0.10981151461601257, -0.36608126759529114, -0.44281819462776184, -0.6209568381309509, 0.8232471346855164, 0.22008536756038666, 0.08937754482030869, 0.24726536870002747, 0.7853510975837708, 0.18681590259075165, 0.17701447010040283, -1.036687970161438, -0.18868227303028107, 0.3806963264942169, -0.1488199234008789, 0.0007588253356516361, -0.3321070671081543, 0.012497211806476116, 0.27093878388404846, 0.411030113697052, 0.15220122039318085, 0.03822823986411095, -0.12432576715946198, -0.2555766701698303, 0.26235559582710266, 0.6888211369514465, 0.28342655301094055, 0.8177134394645691, -0.2308853715658188, 0.44464075565338135, 0.22922736406326294, -0.19289039075374603, -0.023813843727111816, -0.05396560579538345, -0.05834704264998436, -0.2973996698856354, 0.8812357783317566, 0.6667996644973755, 0.0657503604888916, -1.0569534301757812, 0.3752788305282593, -0.004895538091659546, -0.10420583188533783, -0.4060436189174652, 0.3159639537334442, 0.11052192002534866, 0.32064008712768555, 0.219324991106987, -0.4631330370903015, 0.10519569367170334, -0.9165033102035522, -0.16688112914562225, 0.6111876964569092, -0.05309288576245308, -0.37137481570243835, 0.3978225588798523, -0.0627930536866188, 0.102757528424263, 0.44554728269577026, -0.2370726764202118, -0.6072589755058289, 0.7240661978721619, 0.7048718929290771, 0.5194858908653259, 0.1838260143995285, -0.07420435547828674, -0.20797324180603027, 0.36743345856666565, -0.08856237679719925, 0.401309996843338, 0.31277331709861755, -1.1144145727157593, -0.7184779644012451, -0.7485396265983582, -0.3576115667819977, 0.09529725462198257, -0.3625468313694, 0.04662364721298218, -0.3449137806892395, 0.04750635474920273, 0.21686944365501404, 0.052958957850933075, -0.6970916986465454, 0.1529702991247177, 0.026591205969452858, 0.8956252336502075, -0.9495912790298462, 0.8555969595909119, 0.724605917930603, -0.4310652017593384, -1.0220718383789062, -0.008419795893132687, -0.03994821384549141, -0.9281215071678162, 1.3583502769470215, 0.13193798065185547, -0.2107156366109848, 0.03253479301929474, -0.41318371891975403, -0.6922460794448853, 1.2273157835006714, 0.41945111751556396, -0.5459668040275574, -0.15438106656074524, 0.37536588311195374, 0.5999364852905273, -0.4037425220012665, 0.37569552659988403, 0.5455957055091858, 0.6936488747596741, 0.012745597399771214, -1.0307196378707886, 0.08411028981208801, 0.1857755184173584, -0.02132849209010601, 0.07914097607135773, -0.591517984867096, 0.79853755235672, -0.1599394679069519, -0.1930435299873352, 0.11039383709430695, 0.4292774796485901, 0.10251912474632263, 0.09295210242271423, 0.7215549349784851, 0.37975138425827026, 0.41030392050743103, -0.06720942258834839, 1.2913841009140015, -0.18423473834991455, 0.2649426758289337, 0.8014139533042908, -0.7594281435012817, 0.8073927164077759, 0.3088502883911133, -0.21423090994358063, 0.4993530213832855, 0.21404273808002472, 0.19265586137771606, 0.1695573329925537, 0.1820676475763321, -0.2737090587615967, -0.5172783136367798, -0.40432342886924744, -0.0032044718973338604, 0.6943180561065674, 0.6087838411331177, -0.47133538126945496, -0.1096382886171341, 0.08711142092943192, -0.1749388873577118, 0.041453804820775986, -0.5124064683914185, 0.7853642106056213, 0.32890740036964417, -0.2568792402744293, 0.274282306432724, -0.008127589710056782, 0.3259827196598053, -0.6717653870582581, 0.04677276313304901, 0.2096329778432846, 0.2868431806564331, -0.3864470422267914, -1.0842809677124023, 0.378493070602417, -0.17697471380233765, -0.15168939530849457, -0.2505969703197479, 0.7537359595298767, -0.28599628806114197, -0.4842718541622162, 0.7356496453285217, 0.7109097242355347, 0.06571640074253082, 0.09719649702310562, -0.2698987126350403, 0.3213624060153961, -0.14719842374324799, -0.21834751963615417, 0.3837732672691345, 0.8217020630836487, 0.0313011072576046, 0.7915337085723877, 0.10899967700242996, 0.19876457750797272, 0.06257814913988113, 0.03718002513051033, 0.6482635736465454, -0.7880414724349976, -0.14095404744148254, -0.9247933626174927, 0.1634199470281601, 0.09435175359249115, 0.14113907516002655, 0.796019434928894, 0.38849472999572754, 0.7635295391082764, -0.12768739461898804, 0.8057330250740051, -0.039838433265686035, 0.3975867033004761, -1.0834710597991943, 0.4669933617115021, -0.8242603540420532, 0.7236385345458984, -0.009497927501797676, -0.9157876968383789, -0.3049074113368988, 0.5085766315460205, -0.44514819979667664, 0.1091928780078888, 0.6789485812187195, 0.585946261882782, -0.05423701927065849, 0.028958164155483246, 0.4703828692436218, 0.6565253734588623, 0.2826918065547943, 0.5925790071487427, 1.1039601564407349, -0.11818423122167587, 0.5433515906333923, 0.13779650628566742, -0.09047283232212067, 0.06396181136369705, -0.7828498482704163, -1.1039680242538452, -0.26702868938446045, -0.07332687824964523, -0.20002779364585876, -0.06477773189544678, 0.9317192435264587, 0.2951633632183075, -0.5270481109619141, -0.3238135278224945, 0.018083177506923676, 0.32151278853416443, 0.17211408913135529, -0.20337043702602386, 0.3895549774169922, -0.4202782213687897, -0.4515312612056732, 0.22332815825939178, 0.42192378640174866, -0.11621524393558502, -0.4056810736656189, -0.0028921645134687424, -0.06228167563676834, 0.13528001308441162, 0.8585247993469238, -0.0771915391087532, -1.1544444561004639, -0.4073599576950073, 0.12900105118751526, -0.08532430976629257, -0.27916577458381653, 0.8366575837135315, -0.7234508395195007, 0.1588328778743744, 0.5917096138000488, 0.6600816249847412, 0.17190447449684143, -0.3401210606098175, 0.4468483328819275, -0.5167593955993652, -0.10336790978908539, -0.17711274325847626, 0.7722084522247314, -0.08593685179948807, -0.10066007822751999, 0.5775806307792664, 0.09493191540241241, -0.5378104448318481, -0.5591382384300232, 0.41259461641311646, -1.1740691661834717, -0.4613197147846222, 1.4622516632080078, -0.2643977105617523, -0.13197609782218933, -0.2291647344827652, -0.0636487677693367, -0.030041225254535675, 0.10246162861585617, 0.4854156970977783, 0.6715283393859863, -0.19928696751594543, -0.36773568391799927, -0.9260451197624207, 0.11813515424728394, 0.39090555906295776, -0.902414858341217, 0.3288596272468567, 0.39535537362098694, 0.31889185309410095, 0.15346983075141907, 0.46612441539764404, 0.0459258109331131, -0.03550161048769951, -0.39656445384025574, -0.19260816276073456, 0.11306776851415634, -0.15312518179416656, -0.21915386617183685, 0.09783974289894104, 0.3819800615310669, 0.4647766351699829 ]
http://arxiv.org/abs/2406.17526v1
http://arxiv.org/pdf/2406.17526v1
LumberChunker: Long-Form Narrative Document Segmentation
2024-06-25T13:08:35
2024-06-25T13:08:35
André V. Duarte, João Marques, Miguel Graça, Miguel Freire, Lei Li, Arlindo L. Oliveira
cs.CL
cs.CL, cs.IR, I.2
Modern NLP tasks increasingly rely on dense retrieval methods to access up-to-date and relevant contextual information. We are motivated by the premise that retrieval benefits from segments that can vary in size such that a content's semantic independence is better captured. We propose LumberChunker, a method leveraging an LLM to dynamically segment documents, which iteratively prompts the LLM to identify the point within a group of sequential passages where the content begins to shift. To evaluate our method, we introduce GutenQA, a benchmark with 3000 "needle in a haystack" type of question-answer pairs derived from 100 public domain narrative books available on Project Gutenberg. Our experiments show that LumberChunker not only outperforms the most competitive baseline by 7.37% in retrieval performance (DCG@20) but also that, when integrated into a RAG pipeline, LumberChunker proves to be more effective than other chunking methods and competitive baselines, such as the Gemini 1.5M Pro. Our Code and Data are available at https://github.com/joaodsmarques/LumberChunker
[ 0.09808225184679031, -0.8896210193634033, 0.6774218678474426, 0.4624839425086975, -0.6381547451019287, 0.6339852809906006, 0.16044558584690094, -0.6818853616714478, 0.4094943106174469, 0.4584082365036011, -0.4707193970680237, -0.4669759273529053, -0.6088883280754089, -0.035038623958826065, -0.7970273494720459, 0.7380573749542236, -0.1488366574048996, -0.3009755611419678, -0.1817328929901123, -0.10640911757946014, -0.5869846940040588, -0.22016586363315582, -0.47580334544181824, -0.22799783945083618, 0.8613640069961548, 0.15855129063129425, 0.4508029818534851, 1.1065382957458496, 0.5556480884552002, 0.31769582629203796, -0.3178755044937134, -0.15360786020755768, -0.4189695715904236, 0.5745967626571655, -0.19508327543735504, -0.6198140382766724, -0.08678831160068512, -0.16238844394683838, 0.739975094795227, 0.513721227645874, -0.13720975816249847, 0.11157285422086716, -0.07879840582609177, 0.652582585811615, -0.4251181483268738, -0.19478023052215576, -0.7410088777542114, -0.053776394575834274, -0.7703088521957397, -0.25188493728637695, -0.31884050369262695, -0.4756152033805847, 0.2805343568325043, -0.48878586292266846, 0.39071211218833923, 0.3035937547683716, 0.9704133868217468, 0.17583176493644714, -0.43135562539100647, -0.5350911021232605, -0.31729942560195923, 0.8351964950561523, -0.4440332353115082, 0.3648328185081482, 0.337213397026062, 0.11680067330598831, 0.00710275350138545, -0.9884016513824463, -0.21540123224258423, 0.0835387334227562, -0.06952131539583206, 0.07792443782091141, -0.22203512489795685, -0.23123475909233093, 0.13819603621959686, 0.5332697033882141, -0.7718515992164612, 0.22925859689712524, -0.5139230489730835, -0.045044492930173874, 0.630176305770874, 0.2251528799533844, 0.11854735016822815, -0.8639669418334961, -0.5061793923377991, -0.15474118292331696, -0.2738562226295471, 0.23744350671768188, 0.4485014081001282, -0.1698218435049057, 0.27107512950897217, 0.5560149550437927, 0.23636169731616974, 0.5287250280380249, 0.3495209217071533, -0.5516406297683716, 0.18143916130065918, 0.028288723900914192, -0.19706501066684723, 0.29072245955467224, 0.5152922868728638, 0.44191840291023254, -0.31316038966178894, -0.03168393671512604, -0.28899022936820984, -0.3987613022327423, 0.46717724204063416, -0.7855893969535828, -0.2662796378135681, 0.33358877897262573, -0.5880861282348633, -0.17256762087345123, -0.0526689812541008, -0.7911880612373352, -0.5102380514144897, -0.22368666529655457, 0.001098406733945012, -0.7267926931381226, 0.13153114914894104, 0.041775792837142944, -0.771535336971283, 0.5107443928718567, 0.5145887732505798, -0.9765015840530396, 0.07009588181972504, 1.0533055067062378, 1.218113899230957, -0.6442631483078003, 0.027277935296297073, -0.5115745067596436, 0.326423317193985, -0.29195815324783325, 1.1917588710784912, -0.41782811284065247, -0.5427031517028809, -0.23200540244579315, 0.14114271104335785, -0.033420901745557785, -0.7853354811668396, 0.5760132074356079, -0.388541579246521, 0.3266473710536957, 0.03700782358646393, -0.4330832064151764, -0.05120784416794777, 0.5989240407943726, -0.8137262463569641, 1.3973017930984497, 0.3036203980445862, -0.7368932366371155, 0.32098478078842163, -0.027312595397233963, -0.3055656850337982, 0.30038338899612427, -0.17152273654937744, -0.2501758337020874, 0.3633563816547394, 0.20732320845127106, 0.1959466189146042, -0.19930674135684967, 0.4620247781276703, 0.00832473486661911, -0.09102889895439148, 0.06627925485372543, -0.5449727773666382, 0.6675475239753723, -0.11932957172393799, -0.08781830221414566, 0.2196601927280426, -0.793839156627655, -0.029216062277555466, 0.071701779961586, -0.5892715454101562, -0.59820955991745, 0.06742459535598755, 0.2781963050365448, -0.1648150235414505, 0.16464126110076904, -0.5601091980934143, 0.2661309242248535, -0.45746418833732605, -0.04102550819516182, 0.8335831761360168, 0.11133269965648651, 0.347809374332428, -0.5616837739944458, 0.6176562905311584, -0.3982418179512024, -0.07916189730167389, -0.4937288761138916, -0.171658456325531, -0.6560311913490295, -0.535481870174408, 0.49415552616119385, 0.4928172826766968, -0.4585375189781189, 0.6312679648399353, -0.17762714624404907, -0.5896292924880981, -0.28843703866004944, -0.12500666081905365, -0.03669033944606781, 0.500461757183075, 0.3593316674232483, -0.5056242346763611, -0.5345509648323059, -0.9118660688400269, -0.16454476118087769, -0.13974274694919586, -0.5811830163002014, -0.06389481574296951, 0.27412766218185425, 0.09737188369035721, 0.9716287851333618, -0.8030471205711365, -0.2701897621154785, -0.048570383340120316, 0.33173826336860657, 0.46504682302474976, 0.30661070346832275, 0.35319793224334717, -0.9352746605873108, -0.6873371005058289, -0.15554417669773102, -0.527216374874115, -0.09053471684455872, -0.45056501030921936, -0.21339334547519684, -0.06576517224311829, 0.6026389598846436, -0.5187138915061951, 0.43629133701324463, 0.4254903197288513, -0.312578409910202, 0.7493429183959961, -0.1482849270105362, -0.2461121529340744, -0.9494590163230896, 0.18422599136829376, -0.172514870762825, -0.2700824439525604, -0.15230318903923035, -0.07638829946517944, 0.059835873544216156, 0.20870813727378845, -0.17711219191551208, 0.6504850387573242, -0.5932794809341431, 0.09825499355792999, -0.22611744701862335, 0.4747106730937958, 0.2569096088409424, 0.3275284469127655, 0.0971306562423706, 0.29847586154937744, 0.1538364440202713, -0.09242315590381622, 0.29546651244163513, 0.4186972379684448, -0.5878239870071411, 0.9536103010177612, -0.670608639717102, 0.09582747519016266, -0.27897965908050537, 0.5632466077804565, -0.8175429701805115, -0.1606486737728119, 0.14169536530971527, -0.0598510205745697, 0.3852965533733368, -0.19750268757343292, -0.36817851662635803, -0.20937266945838928, -0.7112547755241394, 0.26369404792785645, 0.20581656694412231, -0.47719648480415344, 0.7629856467247009, 0.5084559321403503, -0.452156662940979, -0.5272128582000732, -0.4352667033672333, 0.17987528443336487, -0.3968978822231293, -0.7233622670173645, 0.7328370213508606, -0.24491924047470093, -0.29875287413597107, -0.15465420484542847, -0.6831839084625244, -0.14778001606464386, -0.057051897048950195, 0.3575303256511688, 0.22530469298362732, -0.22280798852443695, 0.21242813766002655, 0.15315976738929749, -0.29609811305999756, -0.0028376332484185696, -0.3737221658229828, 0.38465335965156555, 0.21645259857177734, -0.24738162755966187, 0.3944728672504425, 0.5355677008628845, 0.12985670566558838, -0.35578814148902893, 0.2856384813785553, 0.5033084154129028, -0.27066272497177124, -0.31744033098220825, -0.7053461074829102, 0.2923688292503357, -0.4816072881221771, 0.34942036867141724, -0.19343313574790955, -1.0335038900375366, 0.20312048494815826, -0.20640337467193604, 0.1913488209247589, 0.48830798268318176, 0.269387423992157, -0.3335675895214081, 0.5891822576522827, 0.47566843032836914, 0.04562390595674515, 0.5462539196014404, -0.15162383019924164, 0.0574883297085762, -0.9711803793907166, -0.5761375427246094, -0.6320278644561768, -0.7932407855987549, -0.2862968444824219, -0.8768861889839172, 0.24895036220550537, 0.4707373082637787, 0.3093055784702301, 0.3188546299934387, -0.6471801400184631, 0.8338785767555237, 0.434221088886261, -0.16479206085205078, 0.4372361898422241, -0.10551658272743225, -0.3366565406322479, -0.10295874625444412, -0.5833296179771423, -0.5247703194618225, 0.4952690005302429, 0.43545621633529663, 0.7692351937294006, -0.0906141921877861, 0.7460330724716187, 0.0783102884888649, 0.3510397672653198, -1.1766273975372314, 0.447208046913147, -0.15681962668895721, -0.6696023941040039, -0.5638905763626099, 0.036328982561826706, -1.3883856534957886, 0.40013134479522705, 0.0004395867872517556, -1.0873053073883057, 0.3074182868003845, -0.3037298619747162, -0.17566898465156555, 0.2390095442533493, -0.20912839472293854, 0.6707712411880493, -0.7441431283950806, -0.25773707032203674, -0.1567152887582779, -0.7267147302627563, 0.0010060271015390754, -0.5599619150161743, 0.023530369624495506, -0.4840308725833893, -0.23721732199192047, 0.9477395415306091, -0.09958971291780472, 0.5765731930732727, 0.02754969149827957, -0.0686885342001915, 0.30576658248901367, 0.19720104336738586, 0.4524919092655182, 0.090467169880867, -0.18802671134471893, 0.03589179739356041, 0.2924811542034149, -0.2759348452091217, -0.5675528645515442, 0.4225943982601166, -0.2891194522380829, -0.6728663444519043, -0.6158658862113953, -0.4213615953922272, 0.05874603986740112, 0.5921515226364136, 0.11242633312940598, 0.4889179766178131, -0.4755961000919342, 0.952694833278656, 0.43276581168174744, -0.022352049127221107, 0.5647923350334167, 0.39554837346076965, -0.43420282006263733, -0.40879207849502563, 0.4915447533130646, 0.1480294167995453, -0.3912329375743866, 0.8196179270744324, 0.331206351518631, -0.3721145987510681, -1.0035768747329712, -0.263146311044693, 0.3525065779685974, -0.6280367970466614, -0.3371414542198181, -0.5956869721412659, -0.2023063451051712, 0.2131451964378357, -0.5519641637802124, -0.2447964996099472, -0.35171443223953247, -0.11188565194606781, -0.3324234187602997, -0.061772432178258896, 0.6386772394180298, 0.34657934308052063, 0.36527734994888306, -0.9689462184906006, 0.22703240811824799, 0.16114696860313416, 0.34133630990982056, -0.042121075093746185, -0.32866379618644714, -0.36276307702064514, -0.5924351811408997, -0.49421536922454834, -0.7805473208427429, 0.47675150632858276, -0.11187185347080231, 0.7561628222465515, 0.21865253150463104, 0.04518764093518257, 0.7103094458580017, -0.6057721972465515, 0.5937055945396423, 0.31404784321784973, -0.7793461084365845, 0.39072751998901367, -0.5604650974273682, 0.8563481569290161, 0.7789653539657593, 0.7630223035812378, -0.9514164328575134, -0.42055097222328186, -0.5883647799491882, -1.2079769372940063, 0.5558323264122009, 0.027687134221196175, -0.08407854288816452, -0.10646186023950577, 0.03332255035638809, 0.30429184436798096, 0.02988980896770954, -0.5069032311439514, 0.3231089413166046, -0.10387420654296875, -0.21067854762077332, 0.2756928503513336, -0.3775559961795807, -0.050547994673252106, -0.03135346621274948, 0.38206711411476135, -0.32299181818962097, -0.18116621673107147, 0.24546638131141663, -0.2635418772697449, -0.11363199353218079, 0.13904376327991486, 0.05789294093847275, 1.1199432611465454, -0.41614580154418945, 0.1414652168750763, 0.07969429343938828, -0.5731121301651001, 0.08368305116891861, 0.23591910302639008, -0.19822463393211365, 0.30609196424484253, 0.7709096670150757, 0.682518482208252, 0.4829739034175873, -0.7158907055854797, 0.3462306559085846, 0.008782882243394852, -0.47260332107543945, -0.2742963433265686, -0.07743772864341736, 0.347718745470047, 0.579545259475708, 0.8243646621704102, -0.15570949018001556, -0.038021739572286606, -0.35025814175605774, 0.31717780232429504, 0.2848503589630127, -0.4309362471103668, -0.14962683618068695, 0.3156280219554901, 0.2880399227142334, -0.6973261833190918, 0.8247545957565308, 0.25039005279541016, -0.4261062443256378, 0.47948700189590454, 0.3827587068080902, 0.919377326965332, -0.11280499398708344, 0.32522323727607727, 0.22834132611751556, 0.14654722809791565, -0.10349307954311371, -0.24490739405155182, -0.21783243119716644, -0.32757940888404846, -0.3312259018421173, -0.9057461619377136, -0.319947749376297, 0.059688717126846313, -0.4541909992694855, 0.45036837458610535, -0.41684490442276, -0.09463703632354736, -0.007438821718096733, -0.0736258253455162, -0.25220707058906555, 0.15558567643165588, 0.1449602246284485, 1.129543662071228, -0.06071004644036293, 0.7935932874679565, 0.24949172139167786, 0.0890422835946083, -0.693468451499939, 0.3503708243370056, 0.2120949923992157, -0.5189099311828613, 0.3697952926158905, 0.3896643817424774, 0.028123924508690834, -0.24124078452587128, -0.26825636625289917, -0.9942169189453125, 1.447575569152832, 0.1295670121908188, -0.7400839924812317, -0.627517819404602, -0.11144624650478363, 0.5362938642501831, -0.06338215619325638, 0.35013440251350403, 0.5146917700767517, 0.6006261706352234, 0.46800658106803894, -0.7945467829704285, -0.20195619761943817, -0.10998333990573883, -0.08056128025054932, 0.5647523999214172, -0.6225171685218811, 0.530186116695404, 0.3515218198299408, -0.38274946808815, 0.13701856136322021, 0.569288432598114, 0.32585349678993225, 0.4651142954826355, 0.7578426599502563, 0.20515744388103485, 1.1477471590042114, 0.0038090951275080442, 0.7907496094703674, -0.08683156967163086, 0.17368103563785553, 1.202194094657898, -0.05995214357972145, 1.054707407951355, 0.5865233540534973, -0.11743170022964478, 0.8549816608428955, 0.5230107307434082, -0.2675006091594696, 0.26235565543174744, 0.39969953894615173, -0.08972262591123581, 0.004414836410433054, -0.08589134365320206, -0.08868706226348877, 0.6890158653259277, 0.1731218844652176, -0.33461031317710876, -0.46848565340042114, -0.2887097895145416, 0.07025308161973953, -0.015647873282432556, 0.03070330061018467, 0.6591049432754517, 0.26786094903945923, -0.8103843927383423, 0.3898913860321045, 0.20804597437381744, 0.6358326077461243, -1.1934659481048584, 0.08127850294113159, -0.28429365158081055, 0.11191335320472717, -0.1855347752571106, -0.8780591487884521, 0.567815899848938, -0.022934557870030403, -0.1862725466489792, -0.6177759766578674, 0.9935736656188965, -0.3436209559440613, -0.48295265436172485, 0.29975491762161255, 0.4585511088371277, -0.03343598172068596, -0.1864699125289917, -0.7004002928733826, 0.26422449946403503, 0.07901973277330399, -0.4156060516834259, 0.39677363634109497, 0.6356788873672485, -0.2649310529232025, 0.40310969948768616, 0.6757850646972656, -0.1454940289258957, -0.1475437730550766, -0.29895010590553284, 0.8349122405052185, -0.8137677907943726, -0.6579671502113342, -0.8015084862709045, 0.746222734451294, -0.4084405303001404, -0.39621543884277344, 1.0802226066589355, 1.0427414178848267, 0.6594382524490356, 0.05065983906388283, 0.3855653703212738, -0.08017409592866898, 0.5254631042480469, -0.501200258731842, 0.4260534942150116, -0.3564377725124359, 0.14724096655845642, -0.13715243339538574, -1.1999201774597168, -0.2768349051475525, 0.4463292956352234, -0.29468414187431335, -0.4982309937477112, 1.1502505540847778, 0.486723393201828, -0.038457177579402924, 0.051214247941970825, 0.10690656304359436, -0.024672051891684532, 0.46525686979293823, 0.19983023405075073, 0.9045002460479736, -0.025033967569470406, 0.769003689289093, -0.0018615692388266325, -0.11074862629175186, -0.05458225682377815, -1.1091126203536987, -0.7657132744789124, -0.5267170667648315, -0.18862150609493256, -0.030302077531814575, 0.028532788157463074, 0.649181604385376, 0.7994853258132935, -0.32676881551742554, -0.6438586115837097, 0.3786965608596802, 0.32285723090171814, -0.01597248949110508, -0.21009963750839233, 0.434573233127594, -0.0995275229215622, -0.6055518388748169, 0.7089918255805969, 0.7245978713035583, -0.2784847021102905, -0.10983540862798691, 0.09375954419374466, -0.4309288561344147, 0.17348866164684296, 0.5723170638084412, -0.007168887183070183, -0.4746110737323761, -0.29504844546318054, 0.1317492127418518, 0.05192941054701805, 0.5241937637329102, 1.2120082378387451, -0.8214386105537415, 0.39928677678108215, 0.713485836982727, 0.6363151669502258, 1.2469667196273804, 0.32344329357147217, 0.38026854395866394, -0.9159761667251587, -0.05792425200343132, 0.5909941792488098, 0.06559942662715912, 0.3065378665924072, -0.2383774071931839, 0.6213232278823853, 0.32634758949279785, -0.5628816485404968, -0.5692960619926453, -0.09171902388334274, -1.1363734006881714, -0.5384984016418457, 0.8739136457443237, 0.026710880920290947, -0.5575764179229736, -0.21431390941143036, -0.559990406036377, -0.19172228872776031, -0.3128422498703003, 0.6362327933311462, 0.8208809494972229, -0.18085771799087524, -0.27641719579696655, -0.19789618253707886, 0.15339143574237823, 0.0315135195851326, -0.9276124238967896, -0.03445761650800705, 0.7460569739341736, 0.14366796612739563, 0.3657168447971344, 0.8542132377624512, -0.03205984830856323, -0.1644030064344406, 0.22374366223812103, -0.4491560459136963, 0.082478366792202, -0.27136000990867615, -0.1587507575750351, 0.6266415119171143, -0.06967594474554062, 0.2342197746038437 ]
http://arxiv.org/abs/2406.17519v1
http://arxiv.org/pdf/2406.17519v1
Entropy-Based Decoding for Retrieval-Augmented Large Language Models
2024-06-25T12:59:38
2024-06-25T12:59:38
Zexuan Qiu, Zijing Ou, Bin Wu, Jingjing Li, Aiwei Liu, Irwin King
cs.CL
cs.CL
Augmenting Large Language Models (LLMs) with retrieved external knowledge has proven effective for improving the factual accuracy of generated responses. Despite their success, retrieval-augmented LLMs still face the distractibility issue, where the generated responses are negatively influenced by noise from both external and internal knowledge sources. In this paper, we introduce a novel, training-free decoding method guided by entropy considerations to mitigate this issue. Our approach utilizes entropy-based document-parallel ensemble decoding to prioritize low-entropy distributions from retrieved documents, thereby enhancing the extraction of relevant information of context. Additionally, it incorporates a contrastive decoding mechanism that contrasts the obtained low-entropy ensemble distribution with the high-entropy distribution derived from the model's internal knowledge across layers, which ensures a greater emphasis on reliable external information. Extensive experiments on open-domain question answering datasets demonstrate the superiority of our method.
[ -0.07743330299854279, -0.35657182335853577, 0.6133309006690979, 0.15285813808441162, -0.441909521818161, -0.04970574751496315, -0.4794231653213501, -0.46075648069381714, 0.22801466286182404, 0.3807986080646515, -0.29858970642089844, -0.3606177270412445, -0.578428328037262, 0.07496682554483414, -0.3028319776058197, 0.7806089520454407, 0.009374625980854034, 0.1691698431968689, -0.6278506517410278, 0.14540790021419525, -0.026816193014383316, -0.4469229578971863, -0.6420032978057861, -0.36350345611572266, 0.4554682672023773, 0.13597799837589264, 0.14672845602035522, 0.48241037130355835, 0.5222252607345581, 0.2729610204696655, -0.15101327002048492, 0.32352736592292786, -0.6432292461395264, 0.3740483522415161, -0.2543777823448181, -0.5873926281929016, 0.04001934453845024, -0.43178650736808777, 0.6863254308700562, 0.4074709713459015, -0.14345872402191162, -0.005819524172693491, 0.3182397484779358, 0.5046699047088623, -1.1047730445861816, 0.33523884415626526, -0.8752316832542419, -0.24744831025600433, -0.043564993888139725, -0.6019752025604248, -0.6561814546585083, -0.04513904079794884, -0.10164137929677963, -0.5922536849975586, 0.2179962396621704, 0.03293076530098915, 0.47646215558052063, 0.30238643288612366, -0.14383159577846527, -0.40508267283439636, -0.5545448064804077, 0.8702843189239502, -0.5634905695915222, 0.49904343485832214, 0.8711335062980652, -0.2205028384923935, 0.18969778716564178, -0.41212791204452515, -0.337881475687027, 0.091734379529953, -0.04530458524823189, 0.16688326001167297, 0.03102828562259674, 0.00510982982814312, -0.09702067077159882, 0.4057565927505493, -0.42743802070617676, 0.06137903407216072, -0.30169180035591125, -0.24358874559402466, 0.42241010069847107, 0.037551842629909515, 0.14053188264369965, 0.037348199635744095, -0.20590198040008545, -0.24665692448616028, -0.40186765789985657, -0.1432129591703415, 0.26029953360557556, 0.39943328499794006, -0.12680232524871826, 0.35438433289527893, -0.43355369567871094, 0.46172139048576355, 0.22008371353149414, -0.08985214680433273, 0.402223140001297, -0.18025875091552734, -0.4078918397426605, 0.18817511200904846, 0.5251576900482178, 0.15046021342277527, -0.20573069155216217, -0.6497586369514465, -0.34986889362335205, -0.38952675461769104, 0.17786696553230286, -0.8614429235458374, -0.1186550185084343, 0.3866005837917328, -0.3881542682647705, -0.2696962058544159, -0.0023298405576497316, -0.622413694858551, -0.5192096829414368, -0.2461487203836441, 0.4068060517311096, -0.6563946604728699, -0.1693381369113922, 0.0707520991563797, -0.35902729630470276, 0.20867814123630524, 0.48518162965774536, -1.0087659358978271, 0.029906585812568665, 0.6308808922767639, 0.692352831363678, -0.10418213903903961, -0.09974388778209686, -0.7283922433853149, 0.4538792371749878, -0.30653461813926697, 0.7197410464286804, -0.6031192541122437, -0.15988273918628693, -0.026631848886609077, -0.2102748602628708, -0.16651830077171326, -0.6660047769546509, 0.5230194330215454, -0.9826189875602722, 0.09667979180812836, -0.35085758566856384, -0.6396007537841797, 0.03453170880675316, 0.4117852747440338, -0.4791933000087738, 0.6520876288414001, -0.07503020018339157, -1.1305522918701172, 0.06254131346940994, -0.2947651743888855, -0.2920525372028351, 0.11881329864263535, -0.011358912102878094, -0.04519155994057655, 0.17504218220710754, 0.4164201319217682, 0.23283037543296814, -0.42999371886253357, -0.019291458651423454, -0.27637359499931335, -0.4258134067058563, -0.02184693142771721, -0.5760157108306885, 0.6414992213249207, 0.36743876338005066, 0.1183224767446518, -0.03135169297456741, -0.8690623044967651, 0.17814598977565765, 0.036570992320775986, -0.7430334687232971, -0.7751415967941284, -0.0538916140794754, -0.2731121778488159, -0.051073428243398666, 0.36669376492500305, -0.4916161894798279, -0.13273946940898895, -0.4867396950721741, 0.0649934634566307, 0.7586303353309631, 0.20739689469337463, 0.5705763697624207, -0.37198665738105774, 0.2108008861541748, 0.3774190843105316, -0.4282648265361786, -0.1281796395778656, -0.08409778028726578, -0.6255577206611633, -0.7434443831443787, 0.06851886957883835, 0.7915921807289124, -1.112025499343872, 0.4631560742855072, -0.34135425090789795, -0.22690284252166748, -0.6153952479362488, 0.43546026945114136, 0.3978472352027893, 0.637932300567627, 0.4943324327468872, -0.13785876333713531, -0.5458944439888, -0.45939114689826965, -0.1676831841468811, -0.17172740399837494, -0.26762983202934265, 0.25818124413490295, 0.356671005487442, -0.1140434518456459, 0.44081759452819824, -0.4757062792778015, -0.0318061038851738, -0.029789745807647705, 0.13319732248783112, 0.049670085310935974, 0.5786914229393005, 0.04437883570790291, -0.5488336086273193, -0.3753693401813507, -0.04646630585193634, -0.8575547337532043, 0.11923643946647644, -0.028476126492023468, -0.37522655725479126, 0.21388058364391327, 0.7246461510658264, -0.7942644357681274, 0.14185158908367157, -0.008025132119655609, -0.040691714733839035, 0.3740101158618927, -0.3144936263561249, 0.140811488032341, -1.0063974857330322, 0.15282370150089264, -0.1055973619222641, 0.06237078085541725, -0.41318368911743164, 0.31982648372650146, 0.2265862077474594, 0.15653876960277557, -0.3114160895347595, 0.6604042649269104, -0.5295366644859314, 0.2928048074245453, -0.21272020041942596, -0.1024685651063919, 0.08055031299591064, 0.3850882649421692, 0.2897198796272278, 0.7635146975517273, 0.5196938514709473, -0.6214401721954346, 0.21140669286251068, 0.220937117934227, -0.6135400533676147, 0.6106487512588501, -0.18916012346744537, 0.3630259931087494, -0.6612468957901001, 0.07224429398775101, -0.7947812676429749, -0.4873935282230377, 0.21433718502521515, -0.29738715291023254, 0.48500147461891174, -0.19518546760082245, -0.569835901260376, -0.15276731550693512, -0.4624966084957123, 0.4685337543487549, 0.365314781665802, -0.6701539158821106, 0.2648189663887024, 0.060432154685258865, -0.2105346918106079, -0.7299854159355164, -0.8067668676376343, -0.0746605396270752, -0.307153582572937, -0.5457924008369446, 0.17454296350479126, -0.25952422618865967, -0.4430980086326599, -0.12571465969085693, -0.14922435581684113, -0.28715991973876953, 0.07142555713653564, -0.1680271178483963, -0.015277376398444176, -0.23446150124073029, 0.3871214687824249, -0.06583156436681747, 0.3285644054412842, 0.013047631829977036, -0.43914949893951416, 0.4763185381889343, 0.2067682147026062, -0.2645331919193268, -0.23444610834121704, 0.3955546021461487, 0.46152132749557495, -0.3632350564002991, 1.1367076635360718, 0.6361736059188843, -0.3599366247653961, -0.27156224846839905, -0.5451236963272095, -0.3084256649017334, -0.5125488638877869, 0.28530505299568176, -0.38466519117355347, -0.7338179349899292, 0.6596147418022156, 0.2970534861087799, -0.24411903321743011, 0.26778504252433777, 0.5681045651435852, -0.09057006984949112, 0.5351264476776123, 0.4508061707019806, -0.22290001809597015, 0.6072193384170532, -0.01861684024333954, 0.042033422738313675, -0.8713931441307068, -0.44148677587509155, -0.49533531069755554, -0.03521936759352684, -0.14796596765518188, -0.6479000449180603, 0.18192020058631897, 0.26913902163505554, -0.30923447012901306, -0.14203821122646332, -0.453882098197937, 0.48312392830848694, 0.8139925599098206, 0.4405446946620941, 0.25533440709114075, 0.4304679036140442, -0.23780164122581482, 0.20346228778362274, -0.6003850102424622, 0.02275506779551506, 1.0573389530181885, 0.07626217603683472, 1.0761324167251587, 0.14107759296894073, 1.0916475057601929, 0.16784918308258057, 0.07542377710342407, -0.5755192637443542, 0.35467880964279175, 0.03333453834056854, -0.44431594014167786, -0.47968190908432007, -0.7727105617523193, -0.9240560531616211, 0.46557721495628357, -0.035916753113269806, -0.9198833107948303, 0.3995358347892761, -0.04388308525085449, -0.27683117985725403, 0.4206623435020447, -0.7600387334823608, 0.3675086200237274, 0.06832868605852127, -0.6105822324752808, -0.09211374819278717, -0.5624322295188904, 0.4899299740791321, -0.11492800712585449, 0.15967531502246857, 0.20247158408164978, 0.0341644249856472, 0.5350992679595947, -0.27162763476371765, 0.7521331310272217, -0.1566149890422821, -0.38389483094215393, 0.43791911005973816, 0.04702668637037277, 0.7955683469772339, -0.004740837030112743, -0.5932809114456177, -0.24027511477470398, 0.043999139219522476, -0.39395591616630554, -0.4615161418914795, 0.7995685935020447, -0.7470079660415649, -0.6893270015716553, -0.21935467422008514, -0.9631327390670776, -0.3787371516227722, 0.2360360026359558, 0.40794795751571655, 0.35423946380615234, 0.01641303114593029, 0.4879049062728882, 0.925102710723877, -0.2727220356464386, 0.45680713653564453, 0.5501073598861694, 0.41155296564102173, -0.6649082899093628, 1.133525013923645, 0.028830885887145996, 0.08301207423210144, 0.8345993161201477, -0.05924490466713905, -0.34459298849105835, -0.6381909251213074, -0.08510562777519226, 0.10013658553361893, -0.9387893080711365, -0.39289698004722595, -0.6072207093238831, -0.29469335079193115, -0.6943010091781616, 0.038835082203149796, 0.06402066349983215, -0.1490754634141922, -0.6786827445030212, -0.10081486403942108, 0.15747566521167755, 0.31623318791389465, -0.11404267698526382, 0.11836539953947067, -0.864178478717804, 0.2526131570339203, 0.2441246658563614, 0.4926152229309082, 0.19624537229537964, -0.6502659320831299, -0.5830522179603577, -0.02465691603720188, -0.060715533792972565, -0.6820414662361145, 0.46144288778305054, 0.055869296193122864, 0.5892637968063354, 0.2846032679080963, 0.5204722285270691, 0.5443627238273621, -0.36583247780799866, 0.5165030360221863, 0.03980683162808418, -0.6726346015930176, 0.3751399517059326, -0.40818580985069275, 0.4882940351963043, 0.5656309127807617, 0.1860089898109436, -0.12750256061553955, -0.505057156085968, -0.3835385739803314, -1.0566924810409546, 0.9064242243766785, 0.061021529138088226, 0.1666257083415985, -0.3418571352958679, 0.21660642325878143, 0.011248971335589886, 0.2958429157733917, -0.6044163107872009, 0.21177123486995697, -0.05013404041528702, -0.5405038595199585, -0.029814183712005615, -0.3997437655925751, -0.1940082609653473, -0.07339908182621002, 0.7966896295547485, -0.04447295889258385, 0.4318273067474365, 0.34104660153388977, -0.42848384380340576, -0.19637039303779602, 0.4862399101257324, 0.57596755027771, 0.3654125928878784, -0.5904787182807922, 0.42522913217544556, 0.1392984688282013, -0.40942463278770447, 0.03527110069990158, 0.14742426574230194, -0.20721331238746643, -0.19638772308826447, 0.4323495030403137, 0.7413453459739685, -0.14429612457752228, -0.5949234366416931, 0.28530749678611755, 0.16645547747612, -0.16247016191482544, 0.0005771000287495553, -0.038024112582206726, 0.1312570571899414, 0.3975713849067688, 0.5985530018806458, 0.050353359431028366, 0.17860278487205505, -0.3425203263759613, 0.22815096378326416, 0.6045010089874268, -0.09772640466690063, -0.13671556115150452, 0.4697244465351105, 0.14030735194683075, 0.02236606925725937, 0.6369210481643677, -0.176723912358284, -0.00004651643394026905, 0.5053791999816895, 0.7127627730369568, 0.7724665999412537, -0.08080647885799408, -0.06373149156570435, 0.4137253761291504, 0.39032813906669617, -0.3230161964893341, 0.3346315622329712, -0.3397614061832428, -0.7023048400878906, -0.2937721908092499, -0.7155314683914185, -0.2181587666273117, 0.38016238808631897, -0.7497904896736145, -0.17267732322216034, -0.2843002676963806, 0.2557249069213867, -0.4260368049144745, -0.16356347501277924, -0.5700708627700806, 0.29633668065071106, 0.3664033114910126, 0.978082001209259, -0.33045023679733276, 1.0231910943984985, 0.30814558267593384, -0.3945974111557007, -0.393914133310318, 0.5430362820625305, -0.23981203138828278, -0.8613394498825073, 0.556925356388092, 0.029575342312455177, -0.26553741097450256, 0.09454983472824097, -0.5999479293823242, -1.057508945465088, 1.0437742471694946, 0.7475507855415344, -0.2757173478603363, -0.13533160090446472, -0.2111331671476364, 0.4895355999469757, -0.12547919154167175, 0.28234297037124634, 0.15586431324481964, 0.17672960460186005, 0.16735398769378662, -0.6558325290679932, 0.1652136743068695, -0.3098803460597992, -0.17071741819381714, -0.060543786734342575, -0.5760805606842041, 0.5814110040664673, -0.15996809303760529, -0.26626795530319214, 0.21931374073028564, 0.6324983239173889, 0.16492176055908203, 0.3604680895805359, 0.21188807487487793, 0.6290495991706848, 1.146451473236084, 0.3165367543697357, 1.2094610929489136, -0.607010543346405, 0.2019130438566208, 1.2993905544281006, -0.22206982970237732, 1.1566979885101318, 0.6316100358963013, 0.07395239919424057, 0.40355968475341797, 0.43939104676246643, 0.2839221954345703, 1.0393686294555664, 0.22348076105117798, -0.6358676552772522, -0.35060057044029236, -0.08219596743583679, -0.44925469160079956, 0.131705179810524, 0.5070172548294067, -0.5864943861961365, -0.28091803193092346, -0.08521894365549088, -0.3036528527736664, -0.0925569012761116, -0.5237434506416321, 0.9167478084564209, 0.08114658296108246, -0.7081301808357239, 0.9114311933517456, 0.13396891951560974, 0.7787848114967346, -0.5689524412155151, 0.3629634380340576, -0.30204281210899353, 0.219695582985878, -0.1609984040260315, -0.7208554744720459, 0.2114361971616745, -0.14456723630428314, -0.5063072443008423, -0.1839665323495865, 0.9027764201164246, -0.817345142364502, -0.3950203061103821, 0.2313893735408783, 0.5174845457077026, 0.19028526544570923, -0.2431795299053192, -0.27926334738731384, 0.01333387941122055, -0.07976961880922318, -0.16518546640872955, 0.5394598841667175, 0.547097384929657, 0.22213460505008698, 0.5707531571388245, 0.5037781000137329, -0.13229505717754364, 0.04052920266985893, -0.00985025241971016, 0.8280197381973267, -0.3627074956893921, -0.6777382493019104, -0.7923534512519836, 0.291260302066803, 0.012415348552167416, 0.23621658980846405, 0.6881667971611023, 0.509636640548706, 0.6694579720497131, -0.29705676436424255, 0.8309332132339478, 0.2532239854335785, 0.4356733560562134, -0.7566747665405273, 0.6883925795555115, -0.5769097208976746, 0.5055775046348572, -0.0077080619521439075, -0.5848510265350342, -0.20125630497932434, 0.3416846692562103, -0.42218446731567383, 0.02532263845205307, 0.5777803659439087, 0.9504947066307068, -0.17398318648338318, -0.28076496720314026, 0.3799431025981903, 0.09967701137065887, -0.13697102665901184, 0.5821905136108398, 0.7195282578468323, -0.19106228649616241, 0.8401578068733215, -0.10602202266454697, 0.06329790502786636, -0.1991778165102005, -0.526332676410675, -0.853869616985321, -0.4727630615234375, -0.1801494061946869, -0.45768195390701294, 0.22205348312854767, 0.8448461294174194, 0.5973965525627136, -0.7970609068870544, -0.04481978341937065, -0.042587921023368835, 0.3125652074813843, -0.0792754516005516, -0.2281457930803299, 0.4261857569217682, -0.8263652324676514, -0.5837836265563965, 0.6750943660736084, 0.05288964882493019, -0.03565039858222008, 0.2174203097820282, -0.1608836054801941, -0.2763667702674866, 0.4042317271232605, 0.6382705569267273, 0.24942843616008759, -0.4949199855327606, -0.20360146462917328, -0.09394145011901855, -0.3173782527446747, 0.3038557171821594, 0.5717926621437073, -0.6602710485458374, 0.37775716185569763, 0.9150168895721436, 0.8860112428665161, 0.45852962136268616, 0.07650487869977951, 0.48060840368270874, -1.091850757598877, 0.3234908878803253, 0.07558330148458481, 0.2414182722568512, 0.5012255907058716, -0.7192226648330688, 0.32697823643684387, 0.2786714434623718, -0.2448892891407013, -0.9134723544120789, -0.05071123316884041, -0.6843129396438599, -0.47594454884529114, 1.2761287689208984, -0.28222936391830444, -0.2309027910232544, -0.02049589715898037, 0.06067540869116783, 0.13274824619293213, -0.5322154760360718, 0.8628877997398376, 0.7743597030639648, 0.18083053827285767, -0.4415731728076935, -0.22099217772483826, 0.49508264660835266, 0.4637930989265442, -0.7924739718437195, 0.19322355091571808, 0.47344401478767395, 0.37733733654022217, 0.18028447031974792, 0.6945907473564148, 0.02980838343501091, 0.14156542718410492, 0.20538634061813354, 0.0006956422002986073, -0.01041643787175417, -0.1671532243490219, -0.46946457028388977, 0.4808553457260132, 0.11013204604387283, -0.2541073262691498 ]
http://arxiv.org/abs/2406.17513v2
http://arxiv.org/pdf/2406.17513v2
Benchmarking Mental State Representations in Language Models
2024-06-25T12:51:06
2024-07-01T06:48:34
Matteo Bortoletto, Constantin Ruhdorfer, Lei Shi, Andreas Bulling
cs.CL
cs.CL, cs.AI
While numerous works have assessed the generative performance of language models (LMs) on tasks requiring Theory of Mind reasoning, research into the models' internal representation of mental states remains limited. Recent work has used probing to demonstrate that LMs can represent beliefs of themselves and others. However, these claims are accompanied by limited evaluation, making it difficult to assess how mental state representations are affected by model design and training choices. We report an extensive benchmark with various LM types with different model sizes, fine-tuning approaches, and prompt designs to study the robustness of mental state representations and memorisation issues within the probes. Our results show that the quality of models' internal representations of the beliefs of others increases with model size and, more crucially, with fine-tuning. We are the first to study how prompt variations impact probing performance on theory of mind tasks. We demonstrate that models' representations are sensitive to prompt variations, even when such variations should be beneficial. Finally, we complement previous activation editing experiments on Theory of Mind tasks and show that it is possible to improve models' reasoning performance by steering their activations without the need to train any probe.
[ -0.6371397972106934, -0.5667369365692139, 0.8887413144111633, -0.011495116166770458, -0.14541348814964294, -0.19379737973213196, -0.48741066455841064, -0.33102595806121826, 0.08053083717823029, 0.17809723317623138, -0.5050364136695862, -0.07567717880010605, -0.5661301612854004, 0.25266313552856445, -0.12773233652114868, 0.5045832395553589, -0.201781764626503, 0.20288611948490143, -0.30377939343452454, -0.3243076205253601, -0.5630858540534973, -0.5892975330352783, -0.610173761844635, -0.5689939260482788, 0.4546632468700409, 0.003738311817869544, 0.6814754009246826, 0.4451577365398407, 0.42471057176589966, 0.19179081916809082, -0.1638309806585312, 0.2547432780265808, -0.48768576979637146, 0.34313613176345825, -0.4253939986228943, -0.7411904335021973, -0.16191938519477844, 0.24715138971805573, 0.9104869961738586, 0.6136860251426697, -0.16112126410007477, 0.22874067723751068, 0.11938827484846115, 0.4225093722343445, -0.7756178379058838, 0.30520159006118774, -0.7634723782539368, -0.07888452708721161, -0.08722938597202301, -0.000031107785616768524, -0.6332943439483643, -0.275960236787796, 0.10581117123365402, -0.39733779430389404, 0.27844443917274475, 0.2305297553539276, 0.7345035672187805, 0.2877092957496643, -0.37887638807296753, -0.0072455327026546, -0.7083547711372375, 0.7147375345230103, -0.8678610324859619, 0.5461335182189941, 0.4303499460220337, 0.20922242105007172, -0.1770360916852951, -0.4144741892814636, -0.5022673606872559, -0.5237904191017151, -0.17926809191703796, -0.10639888793230057, -0.16882546246051788, 0.16695985198020935, 0.8352310061454773, 0.4477488696575165, -0.24292370676994324, -0.045090481638908386, 0.08407216519117355, -0.19730034470558167, 0.4307618737220764, 0.4826805293560028, 0.08829893171787262, 0.10997264832258224, 0.09259714931249619, -0.5055521130561829, -0.6153330206871033, 0.1739916056394577, 0.10151108354330063, 0.32395046949386597, 0.11559045314788818, 0.6237232089042664, -0.3366011679172516, 0.6158245205879211, 0.24905717372894287, 0.17628473043441772, -0.1514723002910614, -0.042265795171260834, -0.3714297115802765, -0.34729477763175964, 0.610949695110321, 0.48531702160835266, 0.20338940620422363, -0.025699350982904434, -0.4109456539154053, 0.42240825295448303, 0.3503839671611786, -0.7667373418807983, -0.23827297985553741, -0.0644657090306282, -0.3447611927986145, 0.22549988329410553, -0.08758295327425003, -0.350159615278244, -0.6578161716461182, -0.2897944748401642, 0.564768373966217, -0.6487241387367249, -0.38181832432746887, 0.25821733474731445, -0.11748243868350983, 0.10949620604515076, 0.3591385781764984, -1.0327528715133667, 0.49014225602149963, 0.6058762669563293, 0.6410037279129028, -0.04416881874203682, -0.3566342294216156, -0.2888389229774475, -0.044538140296936035, -0.7707364559173584, 0.7872447371482849, -0.6252937912940979, -0.49998968839645386, -0.047976817935705185, -0.13669566810131073, -0.24941304326057434, -0.5753964185714722, 0.3528541326522827, -0.3889910578727722, 0.07996080070734024, -0.9415306448936462, -1.123721957206726, -0.19304272532463074, 0.2598007917404175, -0.7650651335716248, 1.0225690603256226, 0.0694756954908371, -0.7188268899917603, 0.4124968945980072, -0.401199609041214, -0.15214954316616058, -0.14881710708141327, -0.5008803009986877, -0.04036075621843338, 0.6615396738052368, 0.1532997339963913, 0.5056357383728027, -0.4932858645915985, 0.1127738505601883, -0.34285974502563477, -0.5032884478569031, 0.6293460726737976, -0.23951999843120575, 0.565916121006012, 0.07378342002630234, -0.25019267201423645, 0.15213364362716675, -0.47076573967933655, 0.15051424503326416, 0.2982461154460907, -0.18930326402187347, -0.40171128511428833, 0.17959852516651154, -0.41815313696861267, -0.009571016766130924, 0.1550971269607544, -0.4961756765842438, 0.30101802945137024, -0.32180675864219666, 0.15049639344215393, 0.5287957191467285, 0.1544927954673767, 0.3882955312728882, -0.452203631401062, 0.43610626459121704, 0.13322868943214417, -0.09204200655221939, -0.28238028287887573, -0.4691362977027893, -0.9227809309959412, -0.007379496935755014, 0.2564784586429596, 0.2306223064661026, -0.30943024158477783, 0.11885001510381699, -0.08087465912103653, -0.5172264575958252, -0.685896098613739, -0.08125752955675125, 0.33576348423957825, 0.32026785612106323, 0.2913109064102173, -0.31094127893447876, -0.17184355854988098, -1.1293121576309204, -0.6965964436531067, -0.20720428228378296, -0.056241583079099655, 0.1683381050825119, 0.5237852334976196, 0.05416056886315346, 0.9032303690910339, -0.5620495676994324, 0.10460200905799866, -0.17608609795570374, 0.2549576759338379, 0.09907899796962738, 0.3876940608024597, 0.5858363509178162, -0.31142985820770264, -0.22322571277618408, -0.2628287374973297, -0.574319064617157, 0.19463910162448883, -0.13412617146968842, 0.018617093563079834, 0.10301750153303146, 0.45233407616615295, -0.8140951991081238, 0.34162676334381104, 0.2425292730331421, -0.35402119159698486, 0.5239774584770203, -0.280774861574173, 0.30963826179504395, -0.7572973966598511, -0.02012547478079796, 0.2541053295135498, -0.19274553656578064, -0.6321190595626831, 0.34721675515174866, 0.6312437057495117, -0.08947383612394333, -0.07216686010360718, 0.6038745045661926, -0.5587006211280823, 0.11472130566835403, -0.27279844880104065, -0.05833197757601738, -0.09784621745347977, 0.5418119430541992, -0.001723627676256001, 0.8585653305053711, 0.5319797992706299, -0.6190195083618164, 0.03343905881047249, -0.16040268540382385, -0.6714631915092468, 0.4851367771625519, -0.5874375700950623, 0.4473647475242615, -0.1758139282464981, 0.059166036546230316, -0.8734049797058105, -0.06466981023550034, 0.04232053458690643, -0.2402089238166809, 0.3226199448108673, 0.003511667251586914, -0.7651901841163635, -0.15906110405921936, -0.07732249051332474, 0.281245619058609, 0.5734711289405823, -0.2772572338581085, 0.5692489147186279, 0.19441534578800201, 0.19811493158340454, -0.13434450328350067, -0.4108434021472931, -0.134015291929245, -0.4052025377750397, -0.2100428342819214, 0.34773367643356323, -0.20461103320121765, -0.5350884199142456, -0.09616990387439728, -0.35270392894744873, 0.0651557520031929, 0.17773696780204773, 0.14390434324741364, 0.09540030360221863, -0.30185678601264954, 0.17495080828666687, 0.08919525891542435, 0.04592134431004524, 0.46502622961997986, -0.08932559192180634, 0.48752233386039734, -0.2314731627702713, -0.468265175819397, -0.3541076183319092, 0.47238314151763916, 0.4723743796348572, -0.44001448154449463, 0.778265118598938, 0.2074209302663803, -0.7583850622177124, -0.42699742317199707, -0.7398662567138672, -0.4905397295951843, -0.48717981576919556, 0.1896074265241623, -0.6880508661270142, -0.9449646472930908, 0.5805733799934387, -0.09267067164182663, -0.00622840691357851, 0.47709694504737854, 0.44464200735092163, -0.14733049273490906, 1.3051618337631226, 0.6706726551055908, -0.13617317378520966, 0.42026928067207336, -0.04896086826920509, -0.008813902735710144, -0.8711535334587097, 0.06959612667560577, -0.4545949697494507, -0.20828761160373688, -0.3643514811992645, -0.5439398884773254, 0.2223595827817917, 0.22103473544120789, -0.2762567400932312, 0.21730153262615204, -0.3180694580078125, 0.5318019390106201, 0.5234798789024353, 0.16994382441043854, 0.12065868824720383, -0.22779430449008942, -0.5304677486419678, -0.297444224357605, -0.5714331269264221, -0.6276624798774719, 1.0248620510101318, 0.3316471576690674, 0.7915533781051636, 0.036881670355796814, 0.49507027864456177, 0.16067379713058472, 0.2770175635814667, -0.6868411302566528, 0.7892848253250122, 0.10554255545139313, -0.8029854893684387, -0.17191916704177856, -0.2562529146671295, -0.6237310171127319, 0.34165847301483154, -0.15165939927101135, -0.9416720271110535, 0.21193863451480865, 0.22123143076896667, -0.3772328197956085, 0.34068596363067627, -0.6510132551193237, 0.7380552887916565, 0.009853754192590714, -0.060077767819166183, -0.6002418994903564, -0.17826908826828003, 0.15361851453781128, 0.15973664820194244, -0.3072282671928406, -0.273342490196228, 0.12548576295375824, 0.6448625922203064, -0.07950475066900253, 0.8974984288215637, -0.24185143411159515, -0.3577979505062103, 0.21884828805923462, 0.5402439832687378, 0.605972409248352, 0.061246708035469055, -0.20587246119976044, -0.11788424849510193, 0.14675766229629517, -0.27690431475639343, -0.8887676000595093, 0.5094549059867859, -0.5359084606170654, -0.9398022890090942, -0.28316763043403625, -0.7339032292366028, -0.6597171425819397, 0.18986669182777405, 0.17153730988502502, 0.49126577377319336, -0.36140120029449463, -0.016517797484993935, 0.969072699546814, 0.08605457842350006, 0.1945173591375351, 0.4796591103076935, -0.2845923602581024, -0.023796867579221725, 0.6258541941642761, 0.16332882642745972, 0.3914303779602051, 0.35762232542037964, -0.03478822484612465, -0.23781374096870422, -0.5318257212638855, -0.27513059973716736, 0.3180110454559326, -1.0163037776947021, 0.04153282567858696, -0.3396611511707306, 0.027314001694321632, -0.336352676153183, 0.31940749287605286, -0.559680163860321, -0.2381216287612915, -0.35235872864723206, -0.0454181432723999, 0.3973832130432129, 0.8368861675262451, 0.1832372099161148, 0.04603785648941994, -0.18101127445697784, 0.2408871054649353, 0.378025621175766, 0.6028604507446289, 0.11540326476097107, -0.5167720317840576, -0.4775128662586212, 0.04556803032755852, -0.15977847576141357, -1.1043914556503296, -0.06754699349403381, -0.0074357278645038605, 0.8055633306503296, 0.46473222970962524, 0.03290629759430885, 0.7279165983200073, -0.4993557929992676, 0.7094144821166992, -0.09651215374469757, -1.0362910032272339, 0.6193771958351135, -0.41940250992774963, 0.4479146897792816, 0.5502378344535828, 0.45075809955596924, -0.6089391112327576, -0.5671602487564087, -0.40366843342781067, -0.1747811883687973, 0.5343451499938965, -0.07793696224689484, 0.10363566130399704, -0.17198120057582855, 0.5908673405647278, 0.0738869160413742, -0.027146682143211365, -0.4627442955970764, -0.3917846083641052, -0.06505706906318665, -0.027275634929537773, -0.2751075029373169, -0.33258962631225586, -0.2819715440273285, -0.41898059844970703, 0.4184638261795044, -0.26641371846199036, 0.5168048739433289, 0.27207791805267334, -0.18231579661369324, -0.07308769226074219, 0.2247452735900879, 0.6702105402946472, 0.6916735172271729, -0.19540564715862274, 0.2104363888502121, 0.43694862723350525, -0.08987250924110413, 0.1315244734287262, 0.06506712734699249, -0.129986971616745, 0.03732774779200554, 0.23255334794521332, 1.0073482990264893, 0.24556031823158264, -0.5245610475540161, 0.017801200971007347, -0.17552067339420319, 0.013093490153551102, 0.020037580281496048, 0.5216538310050964, 0.20365719497203827, 0.4352448880672455, 0.21851907670497894, 0.09779532998800278, 0.012334764003753662, -0.5021031498908997, -0.23850002884864807, 0.49854859709739685, -0.3190857768058777, -0.448514848947525, 0.6670634150505066, -0.28401681780815125, -0.33775120973587036, 0.5058101415634155, -0.37480154633522034, -0.3099788427352905, 0.43782585859298706, 0.6122903227806091, 0.7783110737800598, -0.35184869170188904, -0.027130644768476486, 0.49098557233810425, 0.4703441262245178, -0.4300088584423065, 0.43855488300323486, -0.08331389725208282, -1.0432995557785034, -0.19342495501041412, -0.0813174843788147, -0.6693428754806519, 0.3355104625225067, -1.0120781660079956, -0.04895278438925743, -0.5294348001480103, -0.5934123992919922, -0.1926078349351883, 0.05881216749548912, -0.9357991814613342, 0.2923021614551544, 0.3595234453678131, 1.086103916168213, -0.7038381695747375, 0.9345259070396423, 0.976989209651947, -0.2676246166229248, -0.8661805391311646, 0.13508528470993042, -0.017060009762644768, -0.5417366027832031, 0.25400805473327637, 0.169484943151474, -0.28638312220573425, -0.0034272647462785244, -0.3674718737602234, -0.9832862019538879, 0.8121764659881592, 0.7003699541091919, -0.5602989792823792, 0.05682060122489929, -0.036784589290618896, 0.6145985126495361, -0.405114084482193, 0.2915935814380646, 0.6899347901344299, 0.32930052280426025, -0.6537025570869446, -0.9354223012924194, 0.32559528946876526, -0.3245619833469391, 0.1988571137189865, 0.07295967638492584, -0.5277156829833984, 0.9781349301338196, -0.16330471634864807, -0.5516849160194397, 0.16140425205230713, 0.7984825968742371, 0.3520083427429199, -0.015344918705523014, 0.5442819595336914, 0.5555550456047058, 1.0231207609176636, -0.200889453291893, 1.2286242246627808, -0.32983916997909546, 0.3909986615180969, 1.2009236812591553, -0.335550457239151, 0.8407754302024841, 0.4447264075279236, -0.2696874439716339, 0.4309863746166229, 0.6917440891265869, -0.015407942235469818, 0.4774218499660492, 0.36181917786598206, -0.16610756516456604, -0.4230360984802246, -0.007799494545906782, -0.3607279360294342, 0.16783738136291504, 0.6111308336257935, -0.2863607406616211, 0.048394929617643356, -0.03995129093527794, -0.13713571429252625, 0.12107401341199875, -0.24762384593486786, 0.5661765336990356, 0.10056672245264053, -0.9720733761787415, 0.6391942501068115, 0.06589669734239578, 0.5215004086494446, -0.5261055827140808, 0.16963033378124237, -0.4688794016838074, 0.18190152943134308, 0.33940058946609497, -0.7266825437545776, -0.10326773673295975, -0.06448472291231155, -0.2852793037891388, -0.2546934485435486, 0.6777995228767395, -0.21581968665122986, -0.3290853500366211, 0.3232839107513428, 0.5007126331329346, 0.1015620306134224, -0.24992704391479492, -0.47634008526802063, 0.2759488523006439, -0.16146032512187958, -0.47047990560531616, 0.3602139949798584, 0.48460566997528076, -0.06794220209121704, 0.757979154586792, 0.15211789309978485, 0.2529698312282562, 0.16244763135910034, 0.22050489485263824, 0.8198494911193848, -1.0015614032745361, -0.2696512043476105, -0.9079256653785706, 0.28433603048324585, 0.011877941899001598, -0.4963873326778412, 0.8478198647499084, 0.40309858322143555, 0.9654082655906677, -0.17001092433929443, 0.5733248591423035, 0.2547248899936676, 0.42493849992752075, -0.5967791676521301, 0.7349743247032166, -0.4073183834552765, -0.013179352506995201, -0.23247067630290985, -0.8725689649581909, 0.0463891327381134, 0.7142216563224792, -0.2717569172382355, 0.024908188730478287, 0.8653749227523804, 0.7822978496551514, -0.08807934820652008, 0.26500725746154785, 0.3561117947101593, 0.2983675003051758, 0.1978830248117447, 0.4397011399269104, 1.1367182731628418, -0.26187384128570557, -0.016441473737359047, -0.47098761796951294, 0.018168648704886436, -0.05573015660047531, -0.8005026578903198, -1.1735472679138184, -0.8787269592285156, -0.3458347022533417, -0.12523727118968964, -0.11876551061868668, 0.9282029867172241, 0.744769275188446, -0.7040172815322876, -0.3558371067047119, 0.12340282648801804, -0.15125006437301636, -0.5090035796165466, -0.16616341471672058, 0.20261695981025696, -0.40080294013023376, -0.562825620174408, 0.7564736604690552, 0.10239469259977341, 0.04406890273094177, -0.5183743238449097, 0.10961762815713882, 0.1071741133928299, 0.2955186367034912, 0.46810340881347656, 0.1930144727230072, -1.0196638107299805, -0.48504161834716797, 0.10345141589641571, -0.161164328455925, 0.05055046081542969, 1.1361497640609741, -0.8424783945083618, 0.47785240411758423, 0.3267380893230438, 0.5475088357925415, 0.5165548324584961, -0.33319327235221863, 0.7282606959342957, -0.5177904963493347, -0.10608698427677155, 0.22123296558856964, 0.6796750426292419, 0.2941563129425049, -0.19265606999397278, 0.24293109774589539, -0.04940900579094887, -0.4065294861793518, -0.9259980320930481, 0.35221511125564575, -0.7874650955200195, -0.24513673782348633, 0.8814262747764587, -0.20547863841056824, 0.021033039316534996, 0.2623291611671448, -0.11592153459787369, 0.34308454394340515, -0.36217954754829407, 0.8490946888923645, 1.144501805305481, -0.26646772027015686, -0.29220718145370483, -0.65909343957901, 0.4699461758136749, 0.8917874097824097, -0.5309948325157166, 0.2754347622394562, 0.3892614245414734, 0.37115585803985596, 0.05724627897143364, 0.6442541480064392, 0.13771472871303558, 0.20749372243881226, 0.0789136067032814, -0.15342523157596588, 0.11497318744659424, -0.20501022040843964, -0.48302116990089417, -0.04406103491783142, 0.35427868366241455, 0.08737096935510635 ]
http://arxiv.org/abs/2406.17825v1
http://arxiv.org/pdf/2406.17825v1
Automatic speech recognition for the Nepali language using CNN, bidirectional LSTM and ResNet
2024-06-25T12:14:01
2024-06-25T12:14:01
Manish Dhakal, Arman Chhetri, Aman Kumar Gupta, Prabin Lamichhane, Suraj Pandey, Subarna Shakya
cs.CL
cs.CL, cs.SD, eess.AS
This paper presents an end-to-end deep learning model for Automatic Speech Recognition (ASR) that transcribes Nepali speech to text. The model was trained and tested on the OpenSLR (audio, text) dataset. The majority of the audio dataset have silent gaps at both ends which are clipped during dataset preprocessing for a more uniform mapping of audio frames and their corresponding texts. Mel Frequency Cepstral Coefficients (MFCCs) are used as audio features to feed into the model. The model having Bidirectional LSTM paired with ResNet and one-dimensional CNN produces the best results for this dataset out of all the models (neural networks with variations of LSTM, GRU, CNN, and ResNet) that have been trained so far. This novel model uses Connectionist Temporal Classification (CTC) function for loss calculation during training and CTC beam search decoding for predicting characters as the most likely sequence of Nepali text. On the test dataset, the character error rate (CER) of 17.06 percent has been achieved. The source code is available at: https://github.com/manishdhakal/ASR-Nepali-using-CNN-BiLSTM-ResNet.
[ 0.16912882030010223, -0.5059069991111755, -0.16084995865821838, 0.44139304757118225, -0.5537583231925964, 0.3359057903289795, -0.3142617642879486, -0.43274691700935364, -0.14023910462856293, 0.45045745372772217, -0.06021520867943764, -0.45618394017219543, -0.5776647329330444, 0.5657002925872803, -0.8797401785850525, 0.5855808258056641, 0.023038826882839203, 0.30383551120758057, 0.2610510587692261, -0.1645864099264145, -0.4429243206977844, -0.6397853493690491, -0.7888893485069275, -0.1924125850200653, 0.23254351317882538, 0.37917304039001465, 0.1651596575975418, 0.4993973672389984, 0.3789052665233612, 0.35446006059646606, -0.4041403830051422, 0.12999822199344635, -0.10101916640996933, 0.04205054044723511, 0.26616331934928894, -0.2949473261833191, -0.19336572289466858, -0.17118164896965027, 1.1037888526916504, 0.3690715432167053, -0.563510000705719, 0.07165572047233582, 0.12794041633605957, 0.6917681694030762, -0.20873886346817017, 0.16359148919582367, -0.5406896471977234, 0.21857020258903503, -0.2398391216993332, -0.27910685539245605, -0.47228965163230896, -0.41132262349128723, 0.02657298371195793, -0.21053446829319, 0.11788202822208405, 0.07202588766813278, 0.7203070521354675, 0.5055106282234192, -0.5821818709373474, -0.3269543945789337, -0.6859316229820251, 0.47365713119506836, -0.7074711322784424, 0.6375025510787964, 0.7418741583824158, 0.64703768491745, 0.19161954522132874, -0.580084502696991, -0.6801971793174744, -0.2885889410972595, -0.055815018713474274, 0.10813882201910019, 0.08804021775722504, -0.10877522826194763, -0.10982226580381393, 0.46951261162757874, -0.8048549890518188, 0.2484368532896042, -0.8889510035514832, -0.159568190574646, 0.5081467032432556, 0.28973180055618286, 0.09994490444660187, -0.012639863416552544, -0.28424036502838135, 0.18259383738040924, -0.5366342067718506, 0.24057649075984955, 0.46577978134155273, 0.4786839485168457, -0.4875711500644684, 0.732235312461853, -0.3068869113922119, 1.0663846731185913, -0.13224664330482483, 0.21662184596061707, 0.30202004313468933, -0.36659112572669983, -0.2903839647769928, 0.7840988039970398, 0.8351985216140747, -0.07620766758918762, 0.6251714825630188, 0.09900588542222977, -0.05586808919906616, -0.07394061237573624, 0.038346100598573685, -0.6951148509979248, -0.2373359501361847, -0.11355824023485184, -0.47572851181030273, -0.29687702655792236, -0.3433326482772827, -0.2851293087005615, -0.32160821557044983, -0.6344409584999084, -0.13603220880031586, -0.31472644209861755, -0.22796408832073212, 0.16574062407016754, 0.31189581751823425, 0.2819385826587677, 0.36582380533218384, -0.4390394687652588, 0.5430740714073181, 0.19782060384750366, 1.0119638442993164, -0.20252880454063416, -0.2889603078365326, -0.6722855567932129, 0.08197186142206192, -0.2026560753583908, 0.8835338950157166, -0.3241051733493805, -0.40674206614494324, -0.1243823915719986, 0.05010189861059189, -0.1569662243127823, -0.34408602118492126, 0.4311843812465668, -0.7202247977256775, 0.19638372957706451, 0.41902947425842285, -0.2845662832260132, -0.3139611780643463, 0.18389859795570374, -0.7867711782455444, 0.6911563873291016, -0.13447406888008118, -0.6357166767120361, -0.07830873131752014, -0.5090382099151611, -0.8872859477996826, 0.06378669291734695, 0.010239590890705585, -0.41840824484825134, -0.1746632158756256, -0.0832117572426796, 0.4003394544124603, -0.5340690612792969, 0.41511303186416626, 0.1767655462026596, -0.37724000215530396, 0.48133304715156555, -0.9085204005241394, 1.1363617181777954, 0.26400840282440186, 0.022917797788977623, 0.2906076908111572, -1.1726022958755493, -0.08533891290426254, 0.055353038012981415, -1.058796763420105, 0.24082058668136597, -0.03040059469640255, 0.6205722689628601, 0.20504377782344818, 0.10759784281253815, -0.6468007564544678, -0.3075058162212372, -0.5710964202880859, 0.6455746293067932, 0.703803300857544, -0.3468523323535919, 0.16403943300247192, 0.11637420952320099, 0.13453446328639984, 0.12206609547138214, -0.0320240817964077, 0.09223228693008423, -0.4550390839576721, -0.6161782145500183, -0.07155358791351318, 0.7830747365951538, 0.8538073897361755, -0.3506421446800232, 0.6261880397796631, -0.13746781647205353, -0.3206610679626465, -0.6558211445808411, -0.12754836678504944, 0.4344273507595062, 0.6819387078285217, 0.384381502866745, -0.4300541877746582, -0.7572399377822876, -0.7038272023200989, 0.05651206150650978, -0.30632326006889343, 0.21357601881027222, 0.028217198327183723, 0.045174550265073776, -0.06506265699863434, 0.6838375926017761, -0.3266479969024658, -0.555129885673523, -0.11266133934259415, 0.08930669724941254, 0.24724841117858887, 0.6033400893211365, -0.1010034829378128, -1.1200006008148193, -0.9426348805427551, 0.22346290946006775, -0.4524238407611847, 0.0902835801243782, 0.2877790033817291, 0.41235363483428955, 0.5446769595146179, 0.5759202837944031, -0.18527235090732574, 0.7157205939292908, 0.42580047249794006, -0.2209702581167221, 0.6657102108001709, -0.21411563456058502, 0.07328353822231293, -0.9993035793304443, 0.2845277786254883, -0.12114734202623367, -0.4382743537425995, -0.6209436655044556, -0.4864456355571747, -0.03292200341820717, -0.294567346572876, -0.39257341623306274, 0.437595397233963, -0.543495237827301, -0.0528278686106205, -0.2999449074268341, -0.07145804166793823, -0.2936383783817291, 0.30986660718917847, 0.3698793053627014, 0.8033384084701538, 0.4028238356113434, -0.49262145161628723, 0.6180159449577332, 0.46786150336265564, -0.44444751739501953, 0.3825633227825165, -0.8931109309196472, 0.07545691728591919, 0.08615473657846451, 0.10794882476329803, -1.0501083135604858, 0.11312165856361389, 0.25626713037490845, -0.6428931951522827, 0.7575196623802185, 0.023110458627343178, -0.6526244878768921, -0.22656482458114624, 0.3299074172973633, 0.5103078484535217, 0.43379688262939453, -0.34654542803764343, 0.2554994821548462, 0.39706048369407654, -0.1768171638250351, -0.5061593651771545, -0.9199272394180298, 0.41200658679008484, -0.03403113782405853, -0.23077909648418427, 0.09252247959375381, -0.188970685005188, 0.3089577257633209, -0.09482415020465851, 0.26235097646713257, -0.4014141857624054, -0.16623535752296448, 0.15195830166339874, -0.04780936241149902, -0.18293020129203796, -0.04842235893011093, -0.14424148201942444, -0.48010340332984924, -0.24558119475841522, -0.061590541154146194, 0.6631117463111877, -0.46943894028663635, -0.20134705305099487, -0.9034460186958313, 0.5278140306472778, 0.43506526947021484, -0.4582287073135376, 0.4096633195877075, 0.705116331577301, -0.5120503902435303, 0.18098516762256622, -0.47858136892318726, 0.12279574573040009, -0.39228013157844543, 0.5005111694335938, -0.2646780014038086, -0.6824612617492676, 0.4271402657032013, 0.09416873008012772, -0.39542555809020996, 0.27929621934890747, 0.39517197012901306, 0.0605505146086216, 0.9143818020820618, 0.658329427242279, -0.15313665568828583, 0.35046878457069397, -0.22009220719337463, 0.14589175581932068, -1.1717931032180786, -0.3036171495914459, -0.7163669466972351, -0.05874431133270264, -0.41546446084976196, -0.2360965609550476, 0.17775274813175201, -0.07613313943147659, -0.4583919048309326, 0.4722497761249542, -0.7969567179679871, 0.14384648203849792, 0.576793909072876, 0.09151618927717209, 0.4358501732349396, 0.11532841622829437, -0.11093780398368835, 0.18605758249759674, -0.6677536368370056, -0.2827187180519104, 0.7671990394592285, 0.14307089149951935, 0.6808202862739563, -0.030207496136426926, 0.2586556077003479, 0.39831608533859253, 0.08105636388063431, -0.7066424489021301, 0.4528801143169403, -0.42951056361198425, -0.4308546185493469, -0.46379581093788147, -0.28012633323669434, -0.6858897805213928, -0.07576636970043182, 0.19291524589061737, -0.38062185049057007, 0.3585968613624573, -0.05341548100113869, -0.27317747473716736, 0.21352587640285492, -0.45950499176979065, 0.4953038692474365, -0.28966596722602844, 0.14168551564216614, -0.3169652819633484, -1.338679552078247, 0.10818380862474442, 0.039783328771591187, -0.28436464071273804, -0.011558658443391323, 0.057366881519556046, 0.8785799145698547, -0.18181486427783966, 1.108098030090332, 0.08542810380458832, 0.20317216217517853, 0.41504934430122375, -0.1220281794667244, 0.35932645201683044, -0.32033446431159973, -0.50948166847229, 0.4414936304092407, -0.17288832366466522, -0.08602933585643768, -0.04805487021803856, 0.373320609331131, -0.7691314220428467, -0.12728281319141388, -0.6395577192306519, -0.2084154635667801, 0.11633801460266113, 0.2389240264892578, 0.25026389956474304, 0.6249631643295288, -0.2874406576156616, 0.4525817334651947, 0.35674139857292175, -0.11373762041330338, 0.5400221943855286, 0.6401629447937012, 0.2069377899169922, -0.8267523050308228, 0.8855025172233582, 0.39188772439956665, 0.0758184865117073, 0.33921417593955994, 0.24206724762916565, -0.48585858941078186, -0.713013768196106, -0.7847456336021423, 0.10103567689657211, -0.7452136278152466, -0.5526842474937439, -0.5361542701721191, -0.8460659384727478, -0.20689646899700165, 0.020311003550887108, -0.2691086530685425, -0.3916513919830322, -0.8723470568656921, -0.0010375144192948937, 0.5310171842575073, 0.6115574836730957, -0.009744795970618725, 0.5546178221702576, -0.6347731947898865, 0.31350767612457275, 0.14013797044754028, 0.28720954060554504, 0.16603367030620575, -0.7095206379890442, -0.4241398870944977, 0.028074966743588448, -0.13429543375968933, -0.8097768425941467, 0.6499179601669312, 0.5354768633842468, 0.16786181926727295, 0.18390709161758423, -0.04623141512274742, 0.4834590554237366, -0.8551607728004456, 0.6006523966789246, 0.5460123419761658, -0.8311043977737427, 0.45444485545158386, -0.1343824714422226, 0.21367311477661133, 0.4350804388523102, 0.1960894912481308, -0.6522465944290161, 0.04589129611849785, -0.25210756063461304, -0.4870296120643616, 0.6735461950302124, 0.07943905144929886, -0.2995162606239319, 0.14107605814933777, 0.14132487773895264, 0.07699330151081085, 0.4454152286052704, -0.5939390063285828, -0.06929168850183487, -0.32676783204078674, -0.5322269797325134, -0.1829313039779663, -0.27046242356300354, 0.1244375929236412, -0.5232695937156677, 0.6335306167602539, -0.18888935446739197, 0.19890610873699188, 0.337904691696167, -0.02404959499835968, -0.26666441559791565, 0.20587772130966187, 0.8114245533943176, 0.21763403713703156, 0.003872309345752001, 0.26401978731155396, 0.3461184501647949, -0.527353823184967, 0.37521299719810486, 0.36018699407577515, -0.04259681701660156, -0.027069561183452606, 0.13283102214336395, 0.7672681212425232, 0.01763622649013996, -0.4718255400657654, 0.45013856887817383, -0.2164284735918045, 0.11205654591321945, -0.5993398427963257, -0.29591676592826843, 0.06300291419029236, 0.19368790090084076, 0.3303055465221405, 0.28557050228118896, 0.316056489944458, -0.2840963900089264, 0.0760817602276802, 0.1719488799571991, -0.7209043502807617, -0.394547700881958, 0.6623104214668274, 0.1411079615354538, -0.8595232963562012, 1.0478744506835938, 0.08562256395816803, -0.8107309937477112, 0.7407649755477905, 0.836635410785675, 1.0184768438339233, -0.731499433517456, 0.0682259052991867, 0.3289916217327118, 0.1692408174276352, 0.04218414053320885, 0.30444204807281494, -0.3151130676269531, -0.2545315623283386, -0.31873610615730286, -0.9462910890579224, -0.13765601813793182, -0.12600325047969818, -0.4629427194595337, 0.5560797452926636, -0.29194480180740356, 0.14521284401416779, -0.3702425956726074, -0.005434014368802309, -0.5516059994697571, 0.4795398414134979, -0.15052711963653564, 0.8350780010223389, -0.6365396976470947, 1.0243462324142456, 0.34911462664604187, -0.4441533088684082, -0.5197158455848694, -0.18199148774147034, -0.2039153128862381, -0.9283167719841003, 0.9713477492332458, 0.16358071565628052, -0.29800185561180115, 0.28787440061569214, -0.3261902630329132, -0.7611343264579773, 0.878889262676239, 0.10280241072177887, -0.5927847027778625, -0.011758636683225632, 0.2508707046508789, 0.6940532326698303, -0.41096335649490356, -0.0002151087683159858, 0.2215726524591446, 0.40674835443496704, 0.19377774000167847, -1.1545575857162476, 0.03852146118879318, -0.4814215302467346, -0.022710217162966728, 0.011590869165956974, -0.762022852897644, 0.5369321703910828, -0.23288649320602417, -0.23647405207157135, 0.2575855851173401, 0.76304030418396, 0.11085747182369232, 0.32554903626441956, 0.4633435606956482, 0.4438021779060364, 0.46212098002433777, 0.24615764617919922, 0.6234912276268005, -0.09057022631168365, -0.06156393885612488, 1.0722582340240479, -0.36319687962532043, 1.1887807846069336, 0.3166108727455139, -0.21167011559009552, 0.3142412006855011, 0.8544989228248596, 0.09348886460065842, 0.7281400561332703, 0.48358234763145447, -0.2432464063167572, 0.003646208206191659, -0.2928209900856018, -0.4773118495941162, 0.6181689500808716, 0.3609791696071625, -0.24754951894283295, -0.12549711763858795, 0.1562289297580719, -0.5356111526489258, 0.07270269840955734, -0.06619575619697571, 0.9244948029518127, 0.3290145993232727, -0.09445656836032867, 0.8489978313446045, -0.01749986596405506, 0.5727712512016296, -0.5599108934402466, -0.18626202642917633, 0.31800466775894165, 0.08821885287761688, -0.2449740171432495, -0.7257305979728699, 0.6235765814781189, 0.018946373835206032, -0.38235169649124146, -0.006307872012257576, 0.7130494117736816, -0.7858617305755615, -0.6142194271087646, 0.23137423396110535, -0.06979761272668839, 0.42519083619117737, -0.024249857291579247, -0.5878381133079529, 0.06673184782266617, -0.1673455834388733, -0.002609489718452096, 0.11109685897827148, 0.1951751857995987, -0.019995877519249916, 0.6954400539398193, 0.7919571995735168, 0.4235965311527252, 0.14325128495693207, 0.18075060844421387, 0.7075156569480896, -0.5577048659324646, -0.8521666526794434, -0.6326569318771362, 0.5798551440238953, -0.026548778638243675, -0.304557740688324, 0.32365840673446655, 0.7150492072105408, 0.48083677887916565, 0.03507184982299805, 0.5633823871612549, 0.2869289517402649, 0.5366612672805786, -0.3335036635398865, 1.1162312030792236, -0.5131847858428955, 0.06134176254272461, 0.22392283380031586, -0.5375500917434692, -0.462488055229187, 0.6066471338272095, 0.025543179363012314, 0.006244555115699768, 0.5708005428314209, 0.5154114365577698, -0.09936518967151642, 0.32500147819519043, 0.31142979860305786, 0.18236829340457916, 0.20378193259239197, 0.34906408190727234, 0.7919265627861023, -0.7670669555664062, 0.5713173151016235, -0.09193721413612366, -0.09229575842618942, -0.4018900394439697, -0.6959848403930664, -0.685483992099762, -1.1241295337677002, -0.34601953625679016, -0.2800788879394531, 0.23698747158050537, 0.62309330701828, 0.7364266514778137, -0.7839595079421997, -0.5088216066360474, -0.26191645860671997, 0.04746777564287186, -0.16027510166168213, -0.1717081069946289, 0.7968131899833679, 0.04520628601312637, -0.49923059344291687, 0.5487328767776489, 0.1691552698612213, 0.2173735648393631, -0.15803980827331543, -0.27993160486221313, -0.6605983972549438, -0.2570488452911377, 0.46696510910987854, 0.4125640094280243, -0.63552325963974, -0.07398747652769089, -0.04322155565023422, -0.10177963227033615, 0.3169623613357544, 0.5339135527610779, -0.7477583289146423, 0.48161908984184265, 0.5750245451927185, 0.5811172127723694, 0.5657120943069458, -0.12243858724832535, 0.49867013096809387, -0.5395123958587646, 0.04668504744768143, 0.4471350908279419, 0.20813506841659546, 0.7954373359680176, -0.5508911609649658, 0.43774667382240295, 0.17949648201465607, -0.7098857760429382, -1.124781608581543, 0.09077117592096329, -0.9994233846664429, 0.03640107437968254, 0.9199476838111877, 0.1099846288561821, -0.3157285749912262, -0.30874747037887573, -0.4266282916069031, 0.7479615211486816, -0.3066481053829193, 0.5455795526504517, 0.32788535952568054, -0.035001110285520554, -0.2612454295158386, -0.3909153938293457, 0.3186233341693878, 0.09981109946966171, -0.510909378528595, 0.23667195439338684, 0.21433937549591064, 0.2871127426624298, 0.05747980996966362, 0.563728392124176, -0.1726686805486679, 0.3177452087402344, -0.095904141664505, 0.08607487380504608, -0.43867918848991394, -0.6505409479141235, -0.8922721147537231, 0.10985533893108368, -0.13401103019714355, -0.4011249244213104 ]
http://arxiv.org/abs/2406.17484v1
http://arxiv.org/pdf/2406.17484v1
MedCare: Advancing Medical LLMs through Decoupling Clinical Alignment and Knowledge Aggregation
2024-06-25T12:05:56
2024-06-25T12:05:56
Yusheng Liao, Shuyang Jiang, Yanfeng Wang, Yu Wang
cs.CL
cs.CL
Large language models (LLMs) have shown substantial progress in natural language understanding and generation, proving valuable especially in the medical field. Despite advancements, challenges persist due to the complexity and diversity inherent in medical tasks, which can be categorized as knowledge-intensive tasks and alignment-required tasks. Previous approaches either ignore the latter task or focus on a minority of tasks and hence lose generalization. To address these drawbacks, we propose a progressive fine-tuning pipeline. This pipeline employs a Knowledge Aggregator and a Noise aggregator to encode diverse knowledge in the first stage and filter out detrimental information. In the second stage, we drop the Noise Aggregator to avoid the interference of suboptimal representation and leverage an additional alignment module optimized towards an orthogonal direction to the knowledge space to mitigate knowledge forgetting. Based on this two-stage paradigm, we proposed a Medical LLM through decoupling Clinical Alignment and Knowledge Aggregation (MedCare), which is designed to achieve state-of-the-art (SOTA) performance on over 20 medical tasks, as well as SOTA results on specific medical alignment tasks. Various model sizes of MedCare (1.8B, 7B, 14B) all demonstrate significant improvements over existing models with similar model sizes.
[ -0.016591867431998253, -0.5601757764816284, 0.7401204109191895, -0.2885434627532959, -0.24055445194244385, 0.04998503997921944, -0.07781121879816055, -0.3828034996986389, 0.09443081170320511, 0.5857364535331726, -0.9291052222251892, -0.7027906179428101, -0.7947977781295776, 0.00713725620880723, -0.22331731021404266, 1.0208195447921753, 0.00705906143411994, 0.2185276746749878, -0.3436053395271301, -0.25380027294158936, -0.45920437574386597, -0.040092285722494125, -0.9840402007102966, -0.4813152551651001, 0.5900111794471741, 0.16145142912864685, 0.7026546597480774, 0.9951081275939941, 0.7565363049507141, 0.31644901633262634, -0.2052335888147354, 0.7101383805274963, -0.4880983233451843, 0.197211354970932, -0.22264160215854645, -0.46819406747817993, -0.9345008134841919, -0.3035121262073517, 0.664706826210022, 0.9304584860801697, -0.5663032531738281, 0.02027769759297371, 0.009100639261305332, 0.908439576625824, -0.42224639654159546, 0.2433798909187317, -0.4969993829727173, -0.03826012462377548, -0.04169900342822075, -0.13810676336288452, 0.02528073638677597, -0.2539291977882385, 0.0014123305445536971, -0.6455564498901367, -0.030960286036133766, -0.05454735830426216, 0.7967390418052673, 0.7722017168998718, -0.26937922835350037, -0.2710210978984833, -0.5513063073158264, 0.8402665257453918, -0.8978434205055237, 0.37603822350502014, 0.21262948215007782, 0.2100406289100647, -0.2729147970676422, -0.9669360518455505, -0.22504441440105438, 0.2441737949848175, 0.12614765763282776, 0.4105783700942993, -0.34666723012924194, 0.2734176218509674, -0.15318900346755981, 0.5375583171844482, -0.3913670778274536, 0.6589819192886353, -0.5392098426818848, -0.07014524936676025, 0.4559212625026703, 0.6430420279502869, 0.37309974431991577, 0.23626655340194702, -0.27052438259124756, 0.5278934836387634, -0.8681743741035461, -0.3278943598270416, -0.27683424949645996, 0.18411460518836975, -0.22144019603729248, 0.519323468208313, -0.22771963477134705, 0.804684042930603, -0.027686433866620064, -0.5961843132972717, 0.2448519468307495, -0.29396361112594604, -0.5795418620109558, 0.039170198142528534, 0.671348512172699, 0.4885905086994171, -0.02846948802471161, -0.22401900589466095, -0.06088536977767944, 0.527370810508728, 0.3595612645149231, -0.5426505208015442, -0.08578675985336304, 0.5622841119766235, -0.7215004563331604, -0.4013880491256714, -0.4991879165172577, -0.3256199359893799, -0.641198992729187, -0.7213944792747498, 0.15949329733848572, -0.5644329786300659, -0.19430209696292877, 0.5948812365531921, 0.3165164291858673, 0.04374712333083153, 0.39240407943725586, -0.7275416851043701, 0.3490641415119171, 1.0280424356460571, 0.7333391308784485, -0.27685385942459106, -0.01429854054003954, -0.4713040888309479, 0.22603178024291992, -0.15697601437568665, 0.8108713626861572, -0.3526056408882141, -0.10081122070550919, 0.03358428180217743, 0.01117150578647852, -0.2599536180496216, -0.8318758606910706, 0.4677104353904724, -0.34114232659339905, 0.3262571096420288, 0.11671999841928482, -0.8923813700675964, -0.07671402394771576, 0.3933389186859131, -0.38719743490219116, 0.6346392631530762, 0.3537410497665405, -0.6083769798278809, 0.4665966033935547, -0.6099653244018555, -0.31181371212005615, 0.18284159898757935, -0.3813594579696655, -0.568157434463501, 0.25869232416152954, 0.2832629084587097, 0.3969973921775818, -0.6017183661460876, 0.6174505949020386, 0.04216255247592926, -0.30778712034225464, -0.05241826921701431, -0.15199986100196838, 0.5157088041305542, 0.3126177191734314, 0.03523806482553482, 0.2280901074409485, -0.8720169067382812, -0.2577625811100006, -0.13573504984378815, -0.5292852520942688, -0.26302680373191833, 0.14032521843910217, -0.3944554626941681, 0.305400013923645, 0.2738606333732605, -0.4052188992500305, 0.31114625930786133, -0.7151248455047607, 0.5265293717384338, 0.4771849811077118, 0.08710947632789612, 0.37027600407600403, -0.7738608717918396, 0.6551019549369812, 0.3848332464694977, 0.40609660744667053, -0.03467278182506561, -0.5512794852256775, -0.5471792817115784, -0.6716893315315247, 0.1574321687221527, 0.5249408483505249, -0.45938724279403687, 0.37750890851020813, -0.4565400183200836, -0.2830594778060913, -1.1917603015899658, 0.31315693259239197, 0.33634868264198303, 0.9622341990470886, 0.5614492893218994, -0.3840157091617584, -0.488162636756897, -0.8771474361419678, -0.29217997193336487, 0.07142472267150879, -0.11561083048582077, 0.2625080943107605, -0.07319114357233047, -0.9097511768341064, 0.7048882842063904, -0.4213356077671051, -0.7825843691825867, -0.2857540249824524, -0.22764764726161957, 0.519487738609314, 0.44983863830566406, 0.07705752551555634, -0.45926761627197266, -0.01231348980218172, 0.11023753881454468, -0.7162303924560547, -0.18976546823978424, 0.15371501445770264, -0.09068790078163147, 0.057379286736249924, 0.6585372686386108, -0.5620891451835632, 0.12309008091688156, 0.8695793747901917, -0.45352163910865784, 0.18496087193489075, -0.34689217805862427, -0.17304128408432007, -1.4520759582519531, 0.0029299433808773756, -0.24564917385578156, -0.296191543340683, -0.6428980827331543, -0.05865954980254173, 0.004346526227891445, 0.23042340576648712, -0.37767067551612854, 0.45431461930274963, -0.3591066300868988, 0.45011723041534424, -0.275147944688797, 0.05085065960884094, 0.027090150862932205, 0.10855989903211594, -0.20197845995426178, 0.33102402091026306, 0.5906865000724792, -0.6974431276321411, 0.09112272411584854, 0.32353585958480835, -0.2919606566429138, 0.5911473035812378, -0.38269588351249695, -0.2560141384601593, -0.28295472264289856, 0.0455114021897316, -0.6576683521270752, -0.29168975353240967, 0.03126680478453636, -0.1797470897436142, 0.49755042791366577, -0.1629323661327362, -0.2703653573989868, -0.11828037351369858, 0.06204734370112419, 0.4823271334171295, 0.6478556990623474, -0.17567318677902222, 0.6777782440185547, 0.6182300448417664, -0.38608458638191223, -0.4084543287754059, -0.6847600340843201, -0.0036528268828988075, -0.2125181257724762, -0.5899252891540527, 0.350507915019989, 0.2656107544898987, -0.20896248519420624, -0.0005994969396851957, -0.19233247637748718, 0.008129304274916649, -0.13875658810138702, 0.20902298390865326, 0.44098347425460815, -0.36901232600212097, 0.42634594440460205, 0.4983997941017151, -0.33394575119018555, -0.01115484070032835, -0.5954130291938782, 0.4490063190460205, 0.31578296422958374, -0.4282379746437073, -0.4695907533168793, 0.3597147464752197, 0.771062970161438, -0.21587955951690674, 0.8979130387306213, 0.5802420377731323, -0.5383555889129639, 0.13529205322265625, -0.7833957672119141, -0.1322508305311203, -0.4188934862613678, 0.5969828367233276, 0.17525440454483032, -1.2674986124038696, 0.4557516276836395, -0.6372014284133911, 0.4368036985397339, 0.5254467725753784, 0.757007360458374, -0.27972137928009033, 0.9922446012496948, 0.5234817862510681, -0.11967071145772934, 0.06200239807367325, -0.16290317475795746, 0.11426052451133728, -0.9370220303535461, -0.40776297450065613, -0.20172467827796936, -0.4850034713745117, -0.42429935932159424, -0.5299022197723389, 0.5425254106521606, 0.020776987075805664, -0.36686721444129944, -0.15868468582630157, -0.560288667678833, 0.10389761626720428, 0.4130210876464844, 0.4432685375213623, 0.6078269481658936, 0.04369413107633591, -0.2149515450000763, -0.03855856508016586, -0.9607909321784973, -0.22409716248512268, 1.0839985609054565, 0.5174724459648132, 0.7506705522537231, 0.0960782915353775, 0.8295650482177734, -0.15635797381401062, 0.4915864169597626, -0.8678480386734009, 0.2583256959915161, -0.710622251033783, -0.26220595836639404, -0.15501314401626587, -0.44285979866981506, -1.146000623703003, 0.06591587513685226, -0.16368676722049713, -0.509096086025238, 0.034718986600637436, 0.35075804591178894, -0.6760252714157104, 0.21047133207321167, -0.2912781834602356, 0.6761190891265869, 0.04275010526180267, -0.19744044542312622, -0.24429672956466675, -0.7879909873008728, 0.4063100218772888, -0.10885778069496155, 0.6220359802246094, -0.26843464374542236, -0.3596089780330658, 0.5738486051559448, -0.48724889755249023, 0.91911381483078, -0.10553144663572311, -0.29544922709465027, 0.01852979138493538, -0.022714193910360336, 0.37086865305900574, -0.1296367645263672, 0.08679059147834778, 0.11890464276075363, -0.009677783586084843, -0.24131464958190918, -0.36428502202033997, 0.6110349893569946, -0.5525938868522644, -0.3882574439048767, -0.03298645466566086, -1.0045166015625, -0.48238393664360046, 0.35844725370407104, 0.2729589343070984, 0.5742779970169067, 0.07551181316375732, 0.02193603850901127, 0.7443995475769043, -0.19352790713310242, 0.037993963807821274, 0.6878483891487122, -0.058068521320819855, -0.411188006401062, 0.6964312195777893, -0.07098431885242462, 0.359291672706604, 0.35792839527130127, 0.2166191190481186, -0.3377628028392792, -0.8323637843132019, -0.08197035640478134, 0.4056352376937866, -0.4789641797542572, -0.5239831805229187, -0.7151303887367249, -0.33879920840263367, -0.2932579219341278, -0.06110734865069389, -0.49224820733070374, -0.2578509449958801, -0.4856278896331787, 0.11980235576629639, 0.27367058396339417, 0.6929178833961487, 0.1721469610929489, 0.3168379068374634, -1.0795104503631592, 0.45250311493873596, 0.07376796007156372, 0.4525013566017151, -0.2566147744655609, -0.4842884838581085, -0.3408629596233368, -0.09153148531913757, -0.21918267011642456, -0.41977518796920776, 0.4300273656845093, 0.20801186561584473, 0.34460413455963135, 0.6767840385437012, -0.10117883235216141, 0.9329434633255005, -0.6742632389068604, 0.5085069537162781, 0.5395507216453552, -0.4292707145214081, 0.49096813797950745, -0.3506137728691101, 0.6104443073272705, 0.6039701700210571, -0.01609937846660614, -0.463256299495697, -0.7382691502571106, -0.5535954236984253, -0.903954029083252, 0.29891833662986755, -0.15136666595935822, -0.11693139374256134, 0.009586541913449764, 0.4038660526275635, 0.05371876060962677, 0.2541752755641937, -0.1446821391582489, -0.07213417440652847, 0.5188659429550171, -0.8889972567558289, -0.015794476494193077, -0.19054019451141357, -0.6463390588760376, -0.3709663152694702, 0.36110028624534607, -0.15644171833992004, 0.12248922884464264, 0.27544236183166504, 0.02614172361791134, -0.20188212394714355, 0.3648851811885834, 0.531650960445404, 0.6088609099388123, 0.11039263010025024, -0.0749799981713295, 0.08676410466432571, -0.7946695685386658, -0.06032104790210724, 0.21184831857681274, -0.06346781551837921, -0.1597042679786682, 0.5064191818237305, 0.6610047221183777, 0.5103200078010559, -0.7845585346221924, 0.35955220460891724, 0.05951637402176857, -0.3920424282550812, -0.007363373413681984, 0.22223319113254547, 0.488955557346344, 0.4107893407344818, -0.07200825959444046, 0.3418995440006256, 0.1618427336215973, -0.33103683590888977, 0.2411104142665863, 0.32284775376319885, -0.5832622647285461, 0.04997244477272034, 0.8091298937797546, 0.08677775412797928, -0.07636088877916336, 0.628199577331543, 0.26129648089408875, -0.09739511460065842, 0.3825626075267792, 0.5146027207374573, 0.625618040561676, -0.2633267939090729, -0.24359972774982452, 0.089195616543293, 0.17558568716049194, -0.3265842795372009, 0.5333603620529175, 0.2520523965358734, -0.6868063807487488, -0.7246761322021484, -0.7633563280105591, -0.11412150412797928, 0.059924375265836716, -0.7484465837478638, 0.1519111692905426, -0.19833026826381683, -0.2591831386089325, -0.28045856952667236, -0.16113947331905365, -0.807674765586853, 0.3859046995639801, -0.04183250293135643, 0.9197115898132324, -0.5904878973960876, 0.7987410426139832, 0.8668908476829529, -0.029669493436813354, -0.9010288119316101, -0.2781051993370056, 0.2135399580001831, -1.0861525535583496, 0.1293552666902542, -0.10152889043092728, 0.013097230345010757, 0.08715538680553436, -0.2677503526210785, -0.711290717124939, 1.4490348100662231, 0.42860859632492065, -1.047162413597107, -0.2891483008861542, 0.05695480480790138, 0.5277416110038757, -0.5737879276275635, -0.291767954826355, 0.9176539778709412, 0.16995356976985931, 0.07545667141675949, -1.007755994796753, 0.14538943767547607, 0.06218421831727028, -0.23595485091209412, 0.2950355112552643, -0.47956204414367676, 0.7008959650993347, -0.3083954155445099, -0.14244605600833893, 0.2430962324142456, 0.15741021931171417, 0.4815160036087036, 0.372836709022522, 0.31111302971839905, 0.9984963536262512, 0.9284034967422485, -0.1664215475320816, 0.9735527634620667, -0.44811782240867615, 0.2703629732131958, 1.1122668981552124, -0.11164749413728714, 0.5845734477043152, 0.6289255619049072, -0.22436897456645966, 0.40712836384773254, 0.4159946143627167, 0.24929837882518768, 0.435639888048172, -0.007634333334863186, -0.46221858263015747, -0.38315823674201965, -0.1602761298418045, -0.39398300647735596, 0.43036627769470215, 0.632668137550354, -0.8428612351417542, -0.28125616908073425, -0.19783245027065277, 0.16912467777729034, 0.02913576364517212, -0.6364603042602539, 1.2806862592697144, 0.37896692752838135, -0.7051035761833191, 0.5244483947753906, -0.19943176209926605, 0.45513078570365906, -0.7216584086418152, -0.05621218681335449, -0.31432509422302246, 0.5248643159866333, -0.3973267078399658, -0.41322702169418335, 0.298247754573822, -0.2736414074897766, -0.2512402832508087, -0.07042457163333893, 0.760214626789093, -0.6283296346664429, -0.6654286980628967, 0.15247610211372375, 0.6111552715301514, 0.014651506207883358, 0.2353612333536148, -0.6107566356658936, 0.12039469927549362, -0.10140124708414078, 0.15325602889060974, 0.40379098057746887, 0.48398056626319885, 0.24009397625923157, 0.8339000344276428, 0.5498088598251343, 0.6637389063835144, 0.022275123745203018, 0.389618843793869, 1.126242995262146, -0.40450841188430786, -0.42577025294303894, -0.8943695425987244, 0.632535457611084, 0.008624952286481857, -0.28384312987327576, 0.18672436475753784, 0.47013917565345764, 0.23265551030635834, 0.024412330240011215, 0.6635458469390869, 0.312686562538147, 0.7865856289863586, -0.6482108235359192, 0.8324941992759705, -0.7350326180458069, 0.37620285153388977, -0.07901810109615326, -0.43568873405456543, -0.7319524884223938, 0.3157346248626709, 0.06259451806545258, -0.2742707431316376, 0.5614951848983765, 0.695956289768219, -0.10793188214302063, -0.12603719532489777, 0.4250560998916626, 0.4404527544975281, 0.3407432734966278, 0.7767297029495239, 0.5009649395942688, -0.3143196403980255, 0.2878798842430115, 0.10775298625230789, -0.5352250337600708, -0.036606334149837494, -0.6991356611251831, -0.608239471912384, -0.15829798579216003, -0.475111186504364, -0.3331410884857178, 0.10520699620246887, 0.8033151030540466, 0.7173557281494141, -0.7763938307762146, 0.12731273472309113, -0.2940084636211395, -0.10210374742746353, -0.4602523148059845, -0.12549230456352234, 0.42613914608955383, -0.6311773061752319, -0.5127698183059692, 0.44555020332336426, 0.8406378626823425, -0.25479137897491455, -0.18111571669578552, -0.14118412137031555, 0.06443621963262558, -0.09711305052042007, 0.5334306359291077, 0.12886850535869598, -0.8021906614303589, 0.1347426027059555, -0.11112937331199646, -0.12122512608766556, 0.08080001920461655, 0.7782440185546875, -0.8036882281303406, 0.4777708947658539, 0.020496532320976257, 0.7650412917137146, 0.12130662053823471, 0.09919363260269165, 0.6851006150245667, -0.4672870337963104, 0.05276228487491608, 0.49144747853279114, 0.4735366106033325, 0.07584282755851746, -0.31873568892478943, 0.3985823094844818, 0.04143428057432175, -0.6463986039161682, -0.6924574971199036, 0.33155110478401184, -0.942060112953186, -0.19786590337753296, 0.969536304473877, -0.14314840734004974, 0.09460017085075378, -0.28269994258880615, -0.21648432314395905, 0.4543226957321167, -0.04344504326581955, 0.9348370432853699, 0.3136569559574127, -0.3374260365962982, -0.16640456020832062, -0.46140924096107483, 0.5915798544883728, 0.4909251630306244, -0.7857093214988708, -0.13992518186569214, 0.37056881189346313, 0.4509456157684326, -0.14900724589824677, 0.8951817154884338, -0.7112252712249756, 0.24525544047355652, -0.428762286901474, -0.2298652082681656, -0.053109683096408844, -0.11249378323554993, -0.37857794761657715, 0.11408881098031998, 0.038105711340904236, -0.2927052974700928 ]
http://arxiv.org/abs/2406.17474v1
http://arxiv.org/pdf/2406.17474v1
Transformer-based Named Entity Recognition with Combined Data Representation
2024-06-25T11:41:16
2024-06-25T11:41:16
Michał Marcińczuk
cs.CL
cs.CL, cs.AI
This study examines transformer-based models and their effectiveness in named entity recognition tasks. The study investigates data representation strategies, including single, merged, and context, which respectively use one sentence, multiple sentences, and sentences joined with attention to context per vector. Analysis shows that training models with a single strategy may lead to poor performance on different data representations. To address this limitation, the study proposes a combined training procedure that utilizes all three strategies to improve model stability and adaptability. The results of this approach are presented and discussed for four languages (English, Polish, Czech, and German) across various datasets, demonstrating the effectiveness of the combined strategy.
[ -0.5203962922096252, -0.1981223076581955, 0.510829508304596, 0.1414627730846405, -0.3839021623134613, 0.0461881123483181, -0.3861651122570038, -0.515902578830719, 0.3001936972141266, 0.5775629878044128, -0.4574242830276489, -0.28947535157203674, -0.7184625267982483, 0.47613731026649475, -0.44136643409729004, 0.952319860458374, -0.3595529794692993, 0.589683473110199, -0.21996670961380005, -0.5511636734008789, -0.8830851316452026, -0.6870537400245667, -0.6664431095123291, -0.4861550033092499, 0.5280357599258423, 0.3352334499359131, 0.4136338531970978, 0.5760312080383301, 0.8376421332359314, 0.19792440533638, 0.17213034629821777, 0.041490279138088226, -0.42501649260520935, 0.20471903681755066, -0.15579882264137268, -0.5276570916175842, -0.035362470895051956, -0.06884370744228363, 0.8115928173065186, 0.7595750689506531, 0.014230417087674141, -0.06623408943414688, -0.1368492692708969, 0.32718417048454285, -0.4560786187648773, 0.2057182937860489, -0.617760181427002, 0.22128571569919586, -0.26533302664756775, -0.18669138848781586, -0.6793949007987976, 0.04105581343173981, 0.27625951170921326, -0.569705069065094, 0.35536983609199524, 0.028828324750065804, 0.8723239898681641, 0.3265884816646576, -0.610714852809906, -0.29292821884155273, -1.2944165468215942, 0.834476113319397, -0.3198438584804535, 0.7951104044914246, -0.06425216048955917, 0.45511317253112793, -0.04111066460609436, -0.7911840677261353, -0.6131612658500671, 0.0816139280796051, -0.42616140842437744, 0.0850479006767273, -0.28286904096603394, -0.15925820171833038, 0.4420044422149658, 0.16448581218719482, -0.2785812318325043, 0.12362753599882126, -0.42039754986763, -0.1458008885383606, 0.5784806609153748, 0.013208989053964615, 0.31268900632858276, -0.06456837803125381, -0.6933587193489075, -0.2721497416496277, -0.6954529285430908, 0.16679659485816956, 0.11330579221248627, 0.6949119567871094, 0.14398296177387238, 0.5375229120254517, 0.028459759429097176, 0.5777950882911682, 0.14508475363254547, -0.17325465381145477, 0.27364495396614075, 0.013588604517281055, -0.3193684220314026, 0.22030586004257202, 0.5854538679122925, 0.10722995549440384, 0.10037887841463089, -0.8151198029518127, -0.33389654755592346, 0.16770604252815247, 0.5898508429527283, -0.46603289246559143, -0.21484404802322388, 0.11885029077529907, -0.46639057993888855, -0.17137427628040314, 0.45597466826438904, -0.7741872668266296, -0.17428120970726013, -0.49319806694984436, 0.5308576226234436, -0.472553014755249, -0.22142520546913147, 0.07519949227571487, -0.36061176657676697, 0.3140168786048889, 0.19906798005104065, -0.8818386793136597, 0.5638250112533569, 0.3483799397945404, 0.4833618104457855, -0.4872276484966278, -0.2205396443605423, -0.3658261299133301, 0.3239000737667084, -0.02070663869380951, 1.00583016872406, -0.565737783908844, -0.4280318319797516, -0.3385585844516754, 0.3045954406261444, -0.45712870359420776, -0.4945526123046875, 0.7185882329940796, -0.6765162944793701, 0.36029356718063354, -0.1315322369337082, -0.7800998687744141, -0.4456535577774048, 0.08614510297775269, -1.3926337957382202, 0.9302002787590027, 0.030006177723407745, -1.1448456048965454, 0.6110227704048157, -0.7917855978012085, -0.4336860477924347, 0.2538681924343109, -0.3194146454334259, -0.6564618349075317, 0.068088598549366, 0.3334718644618988, 0.6642720699310303, -0.08077162504196167, 0.31580257415771484, 0.1964476853609085, -0.33294686675071716, 0.061026107519865036, -0.33923375606536865, 0.5688340663909912, -0.2657228410243988, -0.1844981610774994, -0.03901633247733116, -0.9832352995872498, -0.10540895909070969, 0.5740506052970886, -0.5947303175926208, -0.515826404094696, 0.1512015163898468, 0.43018651008605957, -0.003962669521570206, -0.19017797708511353, -0.490326464176178, 0.39868342876434326, -0.24159882962703705, 0.26326045393943787, 0.14449454843997955, 0.053753163665533066, 0.5260496139526367, 0.008536772802472115, 0.48082679510116577, 0.38605937361717224, -0.3674752116203308, -0.050792284309864044, -0.30620163679122925, -1.033232569694519, -0.10010300576686859, 0.8177247047424316, 0.6784293055534363, -1.0080125331878662, 0.15903456509113312, -0.6560313701629639, -0.4768833518028259, -0.36904600262641907, -0.3108656108379364, -0.028303366154432297, 0.410525918006897, 0.7112573385238647, -0.12498891353607178, -0.8888986706733704, -1.0413647890090942, -0.2529076039791107, 0.13382749259471893, 0.12540467083454132, 0.1813712865114212, 0.6964277625083923, -0.28035616874694824, 1.0069358348846436, -0.28042128682136536, -0.10913359373807907, -0.5338101387023926, 0.11099424958229065, 0.1786523163318634, 0.3443911075592041, 0.555560827255249, -1.268775463104248, -0.19638021290302277, -0.09838151931762695, -0.4948996305465698, 0.6415178775787354, -0.17363852262496948, 0.17624381184577942, -0.0773533433675766, 0.2318454086780548, -0.5644469261169434, 0.42606422305107117, 0.33515867590904236, -0.07079648226499557, 0.18699178099632263, -0.01124558411538601, 0.10657507926225662, -1.1999346017837524, -0.08329284936189651, 0.10782846063375473, -0.3648994565010071, -1.007966160774231, -0.1233704686164856, 0.34238162636756897, -0.2558821439743042, -0.49660229682922363, 0.4195554256439209, -0.6889505982398987, 0.08444336801767349, -0.14834196865558624, -0.13455615937709808, -0.17885760962963104, 0.45863863825798035, 0.4602620005607605, 0.7220958471298218, 0.7378488183021545, -0.6689499020576477, 0.6419926285743713, 0.34287163615226746, -0.08403398096561432, 0.6505799889564514, -0.5646941065788269, 0.22238007187843323, -0.49115025997161865, 0.2767149806022644, -0.7337385416030884, -0.4058203399181366, 0.16944006085395813, -0.26460975408554077, 0.725848376750946, -0.0022140571381896734, -0.3760988414287567, -0.6414925456047058, 0.047353729605674744, 0.37878307700157166, -0.05289402976632118, -0.865976870059967, 1.0538971424102783, 0.44842296838760376, 0.1855889856815338, -0.5077974796295166, -0.8521376252174377, 0.18510694801807404, -0.770696222782135, -0.4388713538646698, 0.8604065179824829, 0.332304447889328, 0.22516515851020813, -0.015230189077556133, -0.1357310712337494, -0.26233747601509094, -0.0496659129858017, 0.16849198937416077, 0.4098491966724396, -0.15553034842014313, 0.4151632785797119, -0.22967752814292908, -0.28536567091941833, -0.2596323490142822, -0.07634098082780838, 0.4648059606552124, 0.22190149128437042, -0.08785925060510635, -0.42968904972076416, 0.5686043500900269, 0.5178914070129395, -0.3269992768764496, 1.0087817907333374, 0.4394478499889374, -0.7275766134262085, -0.2238570898771286, -0.37953129410743713, -0.059741683304309845, -0.3189813792705536, 0.06469704210758209, -0.6534901261329651, -0.676605761051178, 0.5883319973945618, -0.33610212802886963, -0.1092769131064415, 0.5329884886741638, 0.33139628171920776, -0.06046314910054207, 0.8003929853439331, 0.8721442818641663, -0.1945543885231018, 0.2600630819797516, -0.21808010339736938, 0.6740913987159729, -0.8264116644859314, -0.4376640319824219, -0.5544172525405884, -0.4277219772338867, -0.6106578707695007, -0.23580782115459442, 0.10452215373516083, 0.07846026867628098, 0.09833908081054688, 1.1302891969680786, -0.623070478439331, 0.23525795340538025, 0.4931235611438751, 0.21614935994148254, 0.30812546610832214, 0.028919745236635208, -0.12260615825653076, -0.15491867065429688, -0.6614312529563904, -0.7237815260887146, 1.1034774780273438, 0.4590119421482086, 0.6111887693405151, 0.001271948218345642, 0.8150124549865723, -0.060044459998607635, 0.07654308527708054, -0.9270184636116028, 0.3646408021450043, -0.06040450185537338, -0.5018327236175537, -0.22710704803466797, -0.3636869192123413, -1.053045630455017, 0.1758662313222885, -0.3863018751144409, -0.7470388412475586, 0.31350138783454895, -0.147307887673378, -0.2261246293783188, 0.2595846354961395, -0.7360022664070129, 0.8053021430969238, -0.30534178018569946, 0.3688676655292511, 0.2416914850473404, -0.5230419039726257, -0.02942880429327488, -0.19435326755046844, -0.047321613878011703, 0.22610773146152496, 0.025779636576771736, 1.058472990989685, 0.13421858847141266, 0.3891262710094452, -0.11478888243436813, 0.15175022184848785, -0.0572129487991333, -0.45969074964523315, 0.6343640089035034, 0.07647246867418289, 0.2054944783449173, 0.36801236867904663, -0.08793085813522339, -0.08353595435619354, -0.5966237187385559, 0.4056348204612732, -0.578965961933136, -0.25733765959739685, -0.26229536533355713, -0.5920777320861816, -0.29473358392715454, 0.44808870553970337, 0.50389564037323, 0.3003341555595398, -0.4045560657978058, 0.3232927918434143, 0.8212215304374695, 0.11612799763679504, 0.5479176044464111, 0.45003777742385864, 0.011270498856902122, -0.44755733013153076, 0.49182844161987305, 0.27336615324020386, -0.18722862005233765, 0.5409910082817078, -0.35069769620895386, -0.11076289415359497, -0.471748411655426, -0.40755388140678406, 0.17406591773033142, -0.7366667985916138, -0.4856930375099182, -0.8352311253547668, -0.38751015067100525, -0.20180809497833252, 0.28401046991348267, -0.3907625079154968, -0.4436783790588379, -0.31391021609306335, -0.09721753001213074, 0.2879991829395294, 0.6440338492393494, 0.48080939054489136, 0.29878348112106323, -0.6071155667304993, 0.41781070828437805, 0.17720289528369904, 0.5276956558227539, -0.19822871685028076, -0.1004306823015213, -0.23098325729370117, -0.16359679400920868, -0.16711828112602234, -1.3824489116668701, 0.13828451931476593, 0.0428064726293087, 0.9023109078407288, 0.14130014181137085, -0.14384037256240845, 0.44866943359375, -0.7531481385231018, 0.4998287260532379, 0.1110110729932785, -0.7818516492843628, 0.6958355903625488, -0.02680014818906784, -0.04404692351818085, 0.47638559341430664, 0.6802484393119812, -0.48106124997138977, -0.10319209843873978, -0.5933305025100708, -0.6845471858978271, 0.9555270671844482, 0.43563589453697205, 0.13187438249588013, 0.14162686467170715, 0.19218429923057556, 0.08191297948360443, -0.01570940762758255, -1.0034551620483398, -0.5788060426712036, -0.03205637261271477, -0.32092759013175964, 0.26350539922714233, 0.007341642864048481, -0.10944189876317978, -0.2736397981643677, 0.7217257022857666, -0.006083718501031399, 0.6320611834526062, 0.028596676886081696, -0.20192736387252808, 0.06327400356531143, 0.2783412039279938, 0.23008565604686737, 0.2697337567806244, 0.04575240984559059, 0.04142557457089424, 0.3551104962825775, -0.5265231132507324, 0.19198215007781982, 0.4422927796840668, -0.2173389494419098, 0.3998190760612488, 0.4058566391468048, 1.1460189819335938, 0.5521593689918518, -0.29318371415138245, 0.38199785351753235, -0.379692405462265, 0.0545000322163105, -0.2175375074148178, 0.13570517301559448, 0.19393110275268555, 0.2934304475784302, 0.4392675757408142, 0.19191448390483856, 0.10996690392494202, -0.21709975600242615, 0.2640180289745331, 0.4296438694000244, -0.20513077080249786, -0.07079256325960159, 0.5849674344062805, -0.08834944665431976, -0.3206770420074463, 0.5433248281478882, 0.07773050665855408, -0.6465400457382202, 0.7122560739517212, 0.6192519068717957, 0.6908106803894043, -0.5243978500366211, 0.08566365391016006, 0.4768013656139374, 0.12748980522155762, -0.5238162875175476, 0.10175818204879761, -0.08364685624837875, -1.0584142208099365, 0.034615907818078995, -0.3727210760116577, -0.3890761733055115, 0.1400071531534195, -0.9610719680786133, 0.8879958391189575, 0.055690567940473557, -0.4343196153640747, 0.5279025435447693, -0.092417411506176, -1.1572339534759521, 0.3744449019432068, 0.34064972400665283, 0.8604159951210022, -0.8207805156707764, 0.7805095911026001, 1.211847186088562, -0.5950301885604858, -1.0707648992538452, -0.020610958337783813, -0.3952677547931671, -0.43534842133522034, 0.59035724401474, 0.4522000551223755, 0.18086011707782745, 0.09638412296772003, -0.26927605271339417, -1.3148837089538574, 1.3390811681747437, 0.3097783625125885, -0.7093336582183838, -0.3463330566883087, 0.12671653926372528, 0.5125613212585449, -0.6870884895324707, -0.03939029201865196, 0.6479595899581909, 0.49317264556884766, 0.1650659143924713, -0.998447060585022, -0.1940051168203354, -0.08608512580394745, 0.24860668182373047, 0.3395887017250061, -0.3527160584926605, 0.5666162967681885, -0.008223747834563255, -0.954258382320404, -0.21265123784542084, 0.7381467819213867, 0.029910791665315628, 0.23343788087368011, 0.5257870554924011, 0.7907595634460449, 0.9111343622207642, -0.4075450599193573, 0.8710609078407288, -0.3590623140335083, 0.8461170792579651, 1.088985800743103, -0.2598586976528168, 0.8488134145736694, 0.5649676322937012, -0.2343287169933319, 0.476085364818573, 0.39294466376304626, -0.5097724199295044, 0.7898270487785339, -0.12636534869670868, -0.022435899823904037, 0.05434447526931763, 0.0381508506834507, -0.16956587135791779, 0.7593090534210205, 0.13835646212100983, -0.5900693535804749, -0.4924757480621338, 0.5967581868171692, -0.09028467535972595, -0.2542860507965088, -0.23196305334568024, 0.8497452735900879, -0.18617096543312073, -0.4901072084903717, 0.25998690724372864, 0.1181316077709198, 0.5682972073554993, -0.23954229056835175, -0.07811722904443741, 0.16393107175827026, 0.057663384824991226, -0.2672072947025299, -0.6662980914115906, 0.33374089002609253, 0.05094209313392639, -0.5845020413398743, -0.12402486056089401, 0.9187872409820557, -0.6460497379302979, -0.8108291029930115, 0.4187459349632263, 0.2995305061340332, 0.014940406195819378, 0.08898492902517319, -0.3961133360862732, 0.12128439545631409, -0.0902310237288475, -0.16048379242420197, -0.08637075126171112, 0.28960487246513367, -0.029753681272268295, 0.49282369017601013, 0.15707463026046753, 0.05420401319861412, 0.061549145728349686, 0.23003774881362915, 1.0152130126953125, -0.7587511539459229, -0.3507498502731323, -0.6205498576164246, 0.5621035099029541, -0.07316091656684875, 0.07798776775598526, 0.6030649542808533, 0.547936201095581, 1.0126733779907227, -0.16337372362613678, 0.7347551584243774, 0.08707302808761597, 0.7083224654197693, -0.48961564898490906, 0.4575887620449066, -0.22540658712387085, 0.05244261398911476, -0.06363719701766968, -1.2435144186019897, -0.44898930191993713, 0.5527116060256958, -0.1858224868774414, 0.04809599369764328, 0.7506417036056519, 0.30935126543045044, -0.3389904499053955, 0.13627438247203827, 0.18153899908065796, -0.20792338252067566, 0.21529579162597656, 0.7075455784797668, 0.5244174003601074, -0.8585144281387329, 0.2779930531978607, -0.27794212102890015, 0.1620563417673111, -0.02188297174870968, -0.6967140436172485, -0.9620797038078308, -0.6797269582748413, -0.3568623661994934, 0.017574282363057137, -0.27285271883010864, 0.7383999824523926, 0.7130500674247742, -0.96934974193573, 0.38005998730659485, -0.052098002284765244, -0.13506539165973663, -0.15373985469341278, -0.24613963067531586, 0.4032854735851288, -0.17224591970443726, -0.7683783173561096, 0.49914324283599854, 0.32372552156448364, 0.20691582560539246, -0.21801583468914032, 0.27621719241142273, -0.03553976118564606, 0.016269125044345856, 0.40365365147590637, 0.07434450089931488, -0.7438033819198608, -0.2457810789346695, 0.061920542269945145, -0.17992612719535828, 0.38746193051338196, 1.0877677202224731, -0.9624040126800537, 0.6215338110923767, 0.23688265681266785, 0.746882438659668, 0.394130140542984, 0.11968094110488892, 0.4246933162212372, -0.6682594418525696, 0.1193455383181572, 0.2725566327571869, 0.5803348422050476, 0.7610841989517212, -0.7345789670944214, 0.5248580574989319, 0.1663362979888916, -0.318464457988739, -0.5727118849754333, -0.0038254638202488422, -1.0998775959014893, -0.023462504148483276, 0.8744495511054993, -0.11913024634122849, 0.04978935047984123, 0.0011250762036070228, -0.1219935193657875, 0.4544272720813751, -0.22356854379177094, 0.48537254333496094, 1.0082237720489502, -0.31940674781799316, -0.29876112937927246, -0.462575763463974, 0.21038173139095306, -0.12019394338130951, -0.7265399694442749, -0.2141508013010025, 0.17387619614601135, 0.33633488416671753, 0.4777028560638428, 0.12915067374706268, -0.029740840196609497, 0.017317282035946846, -0.12485527992248535, 0.059837356209754944, 0.1429457813501358, -0.6458082795143127, -0.5784563422203064, 0.16740822792053223, -0.35653749108314514, -0.1640787124633789 ]
http://arxiv.org/abs/2406.17465v1
http://arxiv.org/pdf/2406.17465v1
Enhancing Tool Retrieval with Iterative Feedback from Large Language Models
2024-06-25T11:12:01
2024-06-25T11:12:01
Qiancheng Xu, Yongqi Li, Heming Xia, Wenjie Li
cs.CL
cs.CL, cs.AI
Tool learning aims to enhance and expand large language models' (LLMs) capabilities with external tools, which has gained significant attention recently. Current methods have shown that LLMs can effectively handle a certain amount of tools through in-context learning or fine-tuning. However, in real-world scenarios, the number of tools is typically extensive and irregularly updated, emphasizing the necessity for a dedicated tool retrieval component. Tool retrieval is nontrivial due to the following challenges: 1) complex user instructions and tool descriptions; 2) misalignment between tool retrieval and tool usage models. To address the above issues, we propose to enhance tool retrieval with iterative feedback from the large language model. Specifically, we prompt the tool usage model, i.e., the LLM, to provide feedback for the tool retriever model in multi-round, which could progressively improve the tool retriever's understanding of instructions and tools and reduce the gap between the two standalone components. We build a unified and comprehensive benchmark to evaluate tool retrieval models. The extensive experiments indicate that our proposed approach achieves advanced performance in both in-domain evaluation and out-of-domain evaluation.
[ -0.1824498027563095, -0.726473867893219, 0.6172844767570496, 0.0658593401312828, -0.482021301984787, 0.21758486330509186, -0.47561997175216675, -0.4444059133529663, 0.009024964645504951, 0.4146605134010315, -0.46236667037010193, -0.6140264272689819, -0.5537362694740295, 0.0060224514454603195, -0.534633219242096, 0.7010889649391174, 0.06526488065719604, 0.2477361559867859, -0.17060202360153198, -0.10524272173643112, -0.7084801197052002, -0.6380020976066589, -0.5122092962265015, -0.5035207867622375, 0.4676816463470459, 0.46563521027565, 0.39097025990486145, 0.3312397301197052, 0.5136839747428894, 0.35045427083969116, -0.09144194424152374, 0.11518064141273499, -0.5606995820999146, 0.10552769154310226, -0.2953375577926636, -0.32072144746780396, -0.22903548181056976, -0.21577119827270508, 0.6316706538200378, 0.8037766814231873, -0.3895057737827301, 0.26455867290496826, 0.18374699354171753, 0.2124553918838501, -0.5664021372795105, 0.08089303225278854, -0.8402643203735352, -0.22267700731754303, -0.20550961792469025, -0.3273434638977051, -0.7900397181510925, -0.3405645489692688, 0.19743038713932037, -0.6294220685958862, 0.26538631319999695, 0.06406351178884506, 0.44894275069236755, 0.023086221888661385, -0.3235227167606354, -0.24749253690242767, -0.7167165279388428, 0.8705065250396729, -0.8528692722320557, 0.656551718711853, 0.44323480129241943, 0.44521376490592957, -0.33857619762420654, -0.7561225295066833, -0.2455815225839615, -0.6407794952392578, 0.09957341849803925, -0.12935465574264526, 0.2208600789308548, -0.30961647629737854, 0.3759978115558624, 0.26535165309906006, -0.08520779758691788, 0.3288450837135315, -0.45631036162376404, -0.2654746174812317, 0.664430558681488, 0.23610876500606537, -0.11268117278814316, 0.13197851181030273, -0.3106623888015747, -0.19821050763130188, -0.848263680934906, -0.12171871215105057, 0.31247594952583313, 0.5203984379768372, 0.1315675526857376, 0.6470919847488403, -0.06490948051214218, 0.678654134273529, -0.005367042031139135, -0.20263423025608063, 0.4149172902107239, -0.366070955991745, -0.047853734344244, -0.31706181168556213, 0.4938155710697174, 0.316905677318573, -0.08785095065832138, -0.5200384855270386, -0.5333729386329651, -0.4666749835014343, 0.5556163191795349, -0.9541835784912109, -0.0864250510931015, -0.11249040067195892, -0.376524955034256, 0.012291714549064636, 0.20547522604465485, -0.5638954043388367, -0.7054310441017151, -0.3674035370349884, 0.6014325618743896, -0.3035791516304016, -0.3730413317680359, 0.07845013588666916, -0.13135184347629547, 0.18429914116859436, 0.6699879169464111, -0.3504333198070526, 0.15436416864395142, 0.6005571484565735, 0.9788743853569031, -0.2818205952644348, -0.150438591837883, -1.0741263628005981, 0.07075291126966476, -0.14544276893138885, 0.7547245621681213, -0.9339125752449036, -0.7370266914367676, 0.03755684569478035, 0.21825018525123596, 0.17620381712913513, -0.8332446217536926, 0.20748917758464813, -0.766157329082489, 0.15895015001296997, -0.2850598096847534, -0.5636230707168579, -0.45664218068122864, 0.2276257425546646, -0.6825589537620544, 1.2968018054962158, 0.1250564157962799, -0.536361575126648, 0.34542614221572876, -0.5653588175773621, -0.36981338262557983, 0.19166715443134308, -0.12007521092891693, -0.4583800435066223, 0.36112353205680847, 0.11110909283161163, 0.3545290529727936, -0.5387834906578064, 0.3238333463668823, -0.8686060905456543, -0.6052790284156799, 0.01904633268713951, -0.3025418817996979, 0.47434696555137634, 0.01381414383649826, -0.25034359097480774, 0.46355897188186646, -0.5585740208625793, -0.0638924315571785, 0.08697756379842758, -0.5232507586479187, -0.21193204820156097, -0.12348292022943497, 0.10947834700345993, 0.2762763798236847, 0.20942504703998566, -0.6497167944908142, 0.4861840605735779, -0.4974968433380127, 0.21749256551265717, 0.8353801369667053, 0.05133093148469925, 0.41065552830696106, -0.09755478799343109, 0.4672597348690033, 0.007181891240179539, -0.017021216452121735, -0.12413132935762405, 0.007179907988756895, -0.6021293997764587, -0.08478087931871414, 0.41277050971984863, 0.2992677688598633, -0.8554772734642029, 0.3112167418003082, -0.15724678337574005, -0.455973744392395, -0.5328534841537476, 0.5190527439117432, 0.33733078837394714, 0.2996174097061157, 0.43005913496017456, -0.7936801910400391, -0.3259830176830292, -0.5621215105056763, -0.11652051657438278, 0.012565848417580128, -0.32007938623428345, 0.46383562684059143, 0.43265634775161743, -0.13824984431266785, 0.5905532836914062, -0.2513425648212433, -0.34116625785827637, -0.32887908816337585, 0.13077959418296814, 0.09841552376747131, 0.22654053568840027, 0.05877399817109108, -0.5097858905792236, -0.39436495304107666, 0.055187616497278214, -0.4080924093723297, -0.061671141535043716, 0.18238137662410736, 0.031897589564323425, 0.049588676542043686, 0.7470493316650391, -0.36971521377563477, 0.4148910939693451, 0.10023988783359528, -0.07879472523927689, 0.5696761012077332, -0.29597318172454834, -0.17508377134799957, -0.9330776929855347, 0.42866671085357666, -0.07808692008256912, -0.3497745394706726, -0.2509818375110626, 0.1991020143032074, 0.20404678583145142, 0.14953431487083435, -0.5532941222190857, 0.8872982859611511, -0.5669956803321838, -0.2511915862560272, -0.39176371693611145, 0.39949458837509155, -0.15530945360660553, 0.30945947766304016, -0.14818145334720612, 0.9271351099014282, 0.484772264957428, -0.6478186845779419, 0.3746810853481293, -0.04495537653565407, -0.2975395917892456, 0.5147022008895874, -0.6764200329780579, 0.504125714302063, -0.003960351925343275, 0.21707607805728912, -0.7783612608909607, -0.0727788507938385, -0.12912514805793762, -0.14113155007362366, 0.4531944990158081, -0.21363714337348938, -0.9939538240432739, -0.37234359979629517, -0.5413956642150879, 0.0161840058863163, 0.2051904797554016, -0.7512176036834717, 0.7727392315864563, 0.3943881094455719, -0.12114161252975464, -0.5592477917671204, 0.1500377357006073, -0.04174332320690155, -0.1669485718011856, -0.22647470235824585, -0.00043378924601711333, -0.30574730038642883, -0.10252557694911957, -0.3466484248638153, -0.49213212728500366, 0.05747126042842865, 0.26621177792549133, 0.09170281141996384, 0.20015302300453186, 0.08790615200996399, 0.5031528472900391, -0.2871992588043213, -0.07566321641206741, -0.02895088866353035, -0.17836546897888184, 0.6413238644599915, -0.01619761437177658, -0.6897402405738831, -0.031236587092280388, 0.2846687138080597, 0.3678624927997589, -0.43653470277786255, 0.4272208511829376, 0.8584451079368591, -0.16838370263576508, -0.2047380656003952, -0.9141384363174438, -0.5962464213371277, -0.5215398073196411, 0.523554265499115, -0.5270191431045532, -0.9507412314414978, 0.38358011841773987, -0.5956737399101257, 0.32536423206329346, 0.20121897757053375, 0.7908027768135071, 0.13054241240024567, 1.3799253702163696, 0.9767541289329529, -0.25360843539237976, 0.5697048306465149, -0.36692649126052856, -0.01601950265467167, -1.105776309967041, -0.35791653394699097, -0.5918282270431519, -0.186719611287117, -0.13038472831249237, -0.4078318774700165, 0.25379496812820435, 0.3017987906932831, -0.1485765129327774, 0.3714550733566284, -0.30268144607543945, 0.47289735078811646, 0.616989254951477, 0.2412407100200653, 0.49149027466773987, 0.052543506026268005, -0.5435584783554077, 0.13343381881713867, -0.6982450485229492, -0.5140711069107056, 1.1390626430511475, 0.30846986174583435, 0.8427520394325256, 0.2861454486846924, 0.5729601979255676, 0.09744686633348465, 0.5822656750679016, -0.9485899209976196, 0.49744221568107605, -0.07762741297483444, -0.4129408895969391, -0.1257227063179016, -0.3923516273498535, -0.930270791053772, 0.41721054911613464, 0.09682709723711014, -1.1086759567260742, -0.1490493267774582, 0.01728864200413227, -0.31227847933769226, 0.17652925848960876, -0.6808225512504578, 0.6883083581924438, -0.13789740204811096, -0.5203571319580078, -0.429164856672287, -0.6083241105079651, -0.010817726142704487, -0.2010725438594818, 0.20422343909740448, -0.04334723576903343, 0.04790542647242546, 0.44787395000457764, -0.379608690738678, 0.9724910259246826, -0.36136114597320557, -0.4243256747722626, 0.02276531234383583, 0.2690960764884949, 0.7945226430892944, 0.1646694391965866, -0.43966972827911377, -0.2193734049797058, -0.049229539930820465, -0.09102323651313782, -0.6596150398254395, 0.7998712062835693, -0.6161956787109375, -0.8410581946372986, -0.022819381207227707, -0.602485179901123, -0.35082167387008667, 0.43402233719825745, -0.08541352301836014, 0.644346296787262, 0.04003968462347984, 0.42610880732536316, 0.4785570204257965, -0.26747119426727295, 0.39519861340522766, 0.7618807554244995, -0.46464622020721436, 0.04457811266183853, 0.8193144798278809, 0.0361395962536335, 0.2012261301279068, 0.18841879069805145, 0.03841785714030266, -0.5629979968070984, -0.5320913791656494, -0.5515215396881104, 0.330276757478714, -0.9644811153411865, -0.4017171263694763, -0.513540506362915, 0.13491716980934143, -0.00973586831241846, 0.1388731449842453, -0.33901911973953247, -0.18831297755241394, -0.3304615914821625, -0.020925533026456833, 0.44227197766304016, 0.9176529049873352, 0.2898994982242584, 0.3222644031047821, -0.8076473474502563, 0.02909708209335804, -0.016191188246011734, 0.7835974097251892, 0.3667234182357788, -0.8148506879806519, -0.28849324584007263, -0.11078771203756332, -0.49165046215057373, -0.7036252021789551, 0.14121653139591217, 0.08388286828994751, 0.6441325545310974, 0.1650976836681366, 0.08611611276865005, 0.7965872287750244, -0.6176332235336304, 0.591686487197876, -0.12088093161582947, -0.8371016383171082, 0.32139134407043457, -0.01329804863780737, 0.5942450165748596, 0.4780011475086212, 0.23974236845970154, -0.3556157052516937, -0.5035485625267029, -0.4415052533149719, -1.0641356706619263, 0.8011268973350525, -0.18888351321220398, 0.21016737818717957, 0.2157842069864273, 0.35144609212875366, 0.37883460521698, 0.29685306549072266, -0.6466217041015625, 0.1498526930809021, 0.06324899941682816, 0.05058122053742409, 0.053008150309324265, -0.001349269412457943, -0.1759016513824463, -0.17157110571861267, 0.8135225176811218, -0.41139858961105347, 0.17161035537719727, -0.17702846229076385, -0.4851313531398773, -0.247085839509964, 0.37225019931793213, 0.3210236430168152, 1.023067831993103, -0.10231060534715652, 0.10669741034507751, 0.5766342282295227, -0.20675192773342133, 0.0018111285753548145, 0.20616541802883148, 0.10210812836885452, 0.10860183835029602, 0.21563208103179932, 0.6000962257385254, 0.3208617866039276, -0.787303626537323, 0.47739511728286743, 0.025742998346686363, 0.13089969754219055, -0.26951897144317627, 0.028970126062631607, 0.25422561168670654, 0.5123776793479919, 0.42584505677223206, -0.3886948227882385, 0.34750446677207947, -0.3994450271129608, 0.36833250522613525, 0.7100210785865784, -0.5100113153457642, -0.3036007881164551, 0.42701590061187744, 0.16655561327934265, -0.3941907286643982, 0.6150651574134827, -0.27614477276802063, -0.4008495807647705, 0.3111412525177002, 0.6040915250778198, 0.6752253174781799, -0.03328976407647133, 0.01743919402360916, 0.4638254940509796, 0.21032287180423737, -0.23983874917030334, 0.2701619863510132, -0.20992353558540344, -0.242157980799675, -0.6505248546600342, -0.4844767153263092, -0.32525116205215454, 0.2506370544433594, -0.6027419567108154, 0.5197548270225525, -0.36765244603157043, -0.22873495519161224, -0.24267688393592834, 0.07516363263130188, -0.7903605699539185, -0.20751804113388062, -0.20044328272342682, 1.060826063156128, -0.25992029905319214, 1.032351016998291, 0.749558687210083, -0.48020821809768677, -0.977348804473877, -0.030134545639157295, 0.1363844871520996, -0.7052915692329407, 0.6408655643463135, 0.5122169852256775, -0.38203656673431396, 0.07223711907863617, -0.5392123460769653, -0.8930737376213074, 1.1256262063980103, 0.4000614285469055, -0.7428833246231079, 0.017956947907805443, -0.2720971405506134, 0.49887970089912415, -0.19612650573253632, 0.5893877744674683, 0.34381288290023804, 0.2581516206264496, 0.3638097643852234, -1.409128189086914, 0.1990414708852768, -0.2644788324832916, 0.2914857864379883, 0.4463743567466736, -0.41724881529808044, 0.4610711634159088, -0.3174481987953186, -0.30194076895713806, 0.15791559219360352, 0.391385942697525, 0.3023921251296997, -0.019592242315411568, 0.5149272680282593, 0.44188863039016724, 0.48318392038345337, 0.1530659794807434, 1.077362060546875, -0.07056315243244171, 0.4510546028614044, 1.3881161212921143, -0.49873045086860657, 1.0340725183486938, 0.4656537175178528, 0.028379619121551514, 0.2997111976146698, 0.5200077891349792, 0.0036702752113342285, 0.4123442471027374, 0.3724268674850464, -0.20581303536891937, -0.3907172381877899, -0.26960185170173645, -0.3480682373046875, 0.3547767698764801, 0.2854021489620209, -0.3622928857803345, -0.49556705355644226, 0.09859182685613632, -0.059533149003982544, -0.15340711176395416, -0.23115332424640656, 1.147983193397522, 0.16355063021183014, -0.519614577293396, 0.5187825560569763, 0.20993727445602417, 0.6417627334594727, -0.5629953145980835, -0.35835981369018555, -0.001169025432318449, 0.4788793921470642, 0.026543591171503067, -0.5290332436561584, 0.15929296612739563, -0.12248345464468002, 0.062183678150177, -0.0004446611274033785, 0.6600067019462585, -0.47583290934562683, -0.4588274359703064, 0.6385149359703064, 0.45669686794281006, 0.0070859878323972225, -0.1262800097465515, -0.7443826198577881, 0.27214935421943665, -0.1530553549528122, -0.21167539060115814, 0.4027952253818512, 0.2924056649208069, -0.1708528995513916, 0.8933621644973755, 0.6050985455513, -0.02092805877327919, -0.014846635051071644, 0.5209865570068359, 1.0338783264160156, -0.5219905376434326, -0.22235572338104248, -0.7830309867858887, 0.4339333474636078, -0.20147587358951569, 0.02422371320426464, 0.9175782203674316, 0.43560856580734253, 1.1798303127288818, 0.047480955719947815, 0.5613160133361816, 0.04015364870429039, 0.8057927489280701, -0.3910810649394989, 0.3064470589160919, -0.74057936668396, 0.7444995641708374, -0.24882002174854279, -1.0486541986465454, -0.2550869882106781, 0.5480325818061829, -0.3362744152545929, 0.3023715019226074, 0.48183685541152954, 0.8360563516616821, -0.32665812969207764, -0.1483190804719925, 0.14459487795829773, 0.2002653181552887, 0.3660982847213745, 0.22567534446716309, 0.720371425151825, -0.14587488770484924, 0.5959232449531555, -0.15983374416828156, -0.019129229709506035, -0.4241788983345032, -0.8038822412490845, -0.8677689433097839, -0.5071244239807129, -0.1437087208032608, -0.31940758228302, -0.07622355222702026, 1.2719472646713257, 0.843562126159668, -0.6738804578781128, -0.5927345156669617, 0.2908565104007721, 0.04554804414510727, -0.10976008325815201, -0.22062690556049347, 0.14610323309898376, -0.5183047652244568, -0.5832078456878662, 0.4887636601924896, 0.36327117681503296, -0.3344082832336426, -0.4512587785720825, -0.06718512624502182, -0.24227331578731537, -0.17647790908813477, 0.9068220853805542, -0.0111997090280056, -0.8764818906784058, -0.4459552466869354, 0.2538694143295288, 0.24647726118564606, 0.07944581657648087, 0.9886146187782288, -0.8504400849342346, 0.7458552122116089, 0.23498164117336273, 0.7624439001083374, 0.611555278301239, -0.17726989090442657, 0.7829581499099731, -1.1411068439483643, -0.026456458494067192, 0.1258295774459839, 0.3692627251148224, 0.6169484257698059, -0.21024523675441742, 0.5345454812049866, -0.09337860345840454, -0.281978964805603, -0.9575344324111938, 0.3102230131626129, -0.4463289678096771, -0.2778576910495758, 1.1498380899429321, -0.16905918717384338, 0.26279792189598083, -0.34092772006988525, -0.4987712800502777, 0.32908785343170166, -0.6075083017349243, 1.0299288034439087, 0.7170087099075317, 0.08249638974666595, -0.276498407125473, -0.6668345928192139, 0.08232297003269196, 0.3398088216781616, -0.7062562108039856, 0.319460391998291, 0.5058931708335876, 0.40761855244636536, 0.1436048299074173, 0.47651341557502747, -0.32882159948349, 0.29452764987945557, -0.5262534022331238, 0.004707615356892347, -0.03581356257200241, -0.453902930021286, -0.4127039313316345, 0.10471061617136002, 0.561511218547821, 0.2569441795349121 ]
http://arxiv.org/abs/2407.00875v1
http://arxiv.org/pdf/2407.00875v1
MoE-CT: A Novel Approach For Large Language Models Training With Resistance To Catastrophic Forgetting
2024-06-25T11:03:45
2024-06-25T11:03:45
Tianhao Li, Shangjie Li, Binbin Xie, Deyi Xiong, Baosong Yang
cs.CL
cs.CL, cs.AI
The advent of large language models (LLMs) has predominantly catered to high-resource languages, leaving a disparity in performance for low-resource languages. Conventional Continual Training (CT) approaches to bridge this gap often undermine a model's original linguistic proficiency when expanding to multilingual contexts. Addressing this issue, we introduce a novel MoE-CT architecture, a paradigm that innovatively separates the base model's learning from the multilingual expansion process. Our design freezes the original LLM parameters, thus safeguarding its performance in high-resource languages, while an appended MoE module, trained on diverse language datasets, augments low-resource language proficiency. Our approach significantly outperforms conventional CT methods, as evidenced by our experiments, which show marked improvements in multilingual benchmarks without sacrificing the model's original language performance. Moreover, our MoE-CT framework demonstrates enhanced resistance to forgetting and superior transfer learning capabilities. By preserving the base model's integrity and focusing on strategic parameter expansion, our methodology advances multilingual language modeling and represents a significant step forward for low-resource language inclusion in LLMs, indicating a fruitful direction for future research in language technologies.
[ -0.314682275056839, -0.7534753680229187, 0.341305673122406, 0.14343909919261932, -0.17955783009529114, 0.24383755028247833, -0.5699663162231445, -0.15717212855815887, -0.12873657047748566, 0.3494778573513031, -0.5345331430435181, -0.3670361340045929, -0.6721271276473999, -0.006599336862564087, 0.1316411793231964, 0.6914941668510437, -0.06463614851236343, 0.22681915760040283, -0.11777139455080032, -0.4772730767726898, -0.8408304452896118, -0.6871557235717773, -0.790949285030365, -0.39988207817077637, 0.6185872554779053, 0.33257514238357544, 0.3997209072113037, 0.592115044593811, 0.3081044852733612, 0.21712476015090942, 0.042365215718746185, 0.09558431804180145, -0.7762961387634277, 0.0986323207616806, -0.18365360796451569, -0.5662593841552734, -0.6226828098297119, -0.3777307868003845, 0.9991785287857056, 0.8050909042358398, -0.28773263096809387, -0.13007764518260956, 0.2877190113067627, 0.7202773690223694, -0.8723302483558655, 0.2150307148694992, -0.9574964046478271, 0.010392262600362301, -0.36786678433418274, -0.07162940502166748, -0.8072989583015442, 0.033957209438085556, 0.023904379457235336, -0.46832841634750366, -0.04574306681752205, -0.265837699174881, 0.6092655062675476, 0.020276114344596863, -0.3987739682197571, -0.20763252675533295, -0.7349995374679565, 1.0560917854309082, -0.3015162944793701, 0.6224150657653809, 0.24072551727294922, 0.15916377305984497, 0.10922165215015411, -0.2762106657028198, -0.14554591476917267, -0.44872698187828064, 0.39826035499572754, 0.20498336851596832, 0.05562913045287132, -0.19305433332920074, -0.07755618542432785, 0.2093057930469513, -0.6237987279891968, 0.28310608863830566, -0.4682098627090454, -0.21782487630844116, 0.3381922245025635, 0.15056781470775604, 0.29765912890434265, 0.3461366593837738, -0.6838973760604858, 0.05856771394610405, -1.1537429094314575, -0.22947952151298523, 0.10905001312494278, 0.4543083608150482, -0.17885231971740723, 0.1740468144416809, 0.09161664545536041, 0.28806668519973755, -0.15400856733322144, -0.04784155264496803, 0.1801002323627472, 0.058605797588825226, 0.012642552144825459, 0.08234027773141861, 0.7199315428733826, -0.09340778738260269, 0.30521655082702637, -0.28501516580581665, -0.2585518956184387, -0.13270622491836548, 0.19850358366966248, -0.5234892964363098, -0.17429004609584808, -0.18658116459846497, -0.2712966799736023, 0.014309130609035492, -0.2632518410682678, -0.5532779097557068, -0.09159353375434875, -0.08700985461473465, 0.41602542996406555, -0.9433037042617798, -0.5275340676307678, -0.05239768698811531, 0.21198596060276031, -0.11311118304729462, 0.28084149956703186, -0.9593170881271362, 0.08132583647966385, 0.5860790610313416, 1.068199634552002, -0.32282012701034546, -0.6029334664344788, -0.39332637190818787, 0.5720728635787964, -0.4719941020011902, 0.5505973100662231, -0.716175377368927, -0.6021552085876465, 0.10578489303588867, -0.21777474880218506, -0.1460588574409485, -0.6569039225578308, 0.1810368299484253, -0.7442200183868408, -0.03319850564002991, -0.12520761787891388, -0.37120547890663147, -0.2404126226902008, 0.5990907549858093, -0.6996483206748962, 0.8900001049041748, 0.11069543659687042, -0.33639153838157654, 0.1861584484577179, -0.7485580444335938, -0.3044258952140808, 0.04685908928513527, 0.08808808773756027, -0.33484166860580444, 0.23493152856826782, 0.11551827937364578, 0.3313141167163849, -0.27577751874923706, 0.307843953371048, -0.5624969005584717, -0.29111555218696594, 0.10725205391645432, -1.000447392463684, 0.8332099318504333, 0.15526098012924194, 0.10954909771680832, -0.09944287687540054, -0.688950777053833, -0.04148899391293526, 0.37835484743118286, -0.7817074656486511, -0.5221508741378784, -0.2799395024776459, 0.0025080470368266106, 0.3009403645992279, 0.4982271194458008, -0.3605777621269226, 0.37129464745521545, -0.4265647530555725, 0.4265652596950531, 0.9999679923057556, -0.27683883905410767, 0.6095544099807739, -0.43650680780410767, 0.5332604646682739, 0.26009446382522583, 0.11255183070898056, -0.6667495369911194, -0.24026450514793396, -0.8532215356826782, -0.3054370880126953, 0.1872975081205368, 0.49050793051719666, -0.8517864346504211, 0.008409234695136547, -0.7117536664009094, -0.4652778208255768, -0.3111494779586792, 0.46422505378723145, 0.6118867993354797, 0.22796662151813507, 0.4096251428127289, -0.45763757824897766, -0.44583192467689514, -0.7795822024345398, -0.05508903041481972, -0.24245139956474304, 0.0918252021074295, -0.050624676048755646, 0.32194358110427856, -0.07605460286140442, 0.6461015343666077, -0.08516121655702591, -0.2528834044933319, -0.5145515203475952, 0.006207877304404974, 0.033441439270973206, 0.6870020627975464, 0.5228704810142517, -0.635046660900116, -0.5346530079841614, 0.11861463636159897, -0.7227411270141602, 0.264717698097229, -0.17520220577716827, -0.11371997743844986, 0.4248955547809601, 0.4435354769229889, -0.4462294578552246, 0.008270397782325745, 0.630388081073761, 0.2676980495452881, 0.49321070313453674, -0.33842724561691284, -0.18886367976665497, -1.2522796392440796, 0.0574084147810936, -0.3584277033805847, 0.1383167803287506, -0.5427119135856628, 0.20569488406181335, 0.22984127700328827, -0.13625605404376984, -0.5478395223617554, 0.8982132077217102, -0.7036662101745605, 0.3043394684791565, -0.22358959913253784, -0.13031399250030518, -0.2724974751472473, 0.640591025352478, 0.05082456395030022, 0.7410460710525513, 0.6810756325721741, -0.7645999193191528, 0.2512768805027008, 0.07414387911558151, -0.040702469646930695, 0.6145675182342529, -0.22275733947753906, 0.24404777586460114, -0.06653665006160736, 0.18319793045520782, -0.8449243307113647, -0.035247452557086945, 0.1551511287689209, -0.2994987666606903, 0.6178591847419739, -0.39791592955589294, -0.33144044876098633, -0.22272710502147675, -0.10074857622385025, 0.6893484592437744, 0.44090303778648376, -0.3424384593963623, 0.8494959473609924, 0.15551847219467163, -0.44171255826950073, -0.5161599516868591, -0.8218152523040771, 0.409894734621048, -0.3032863438129425, -0.45655572414398193, 0.18175368010997772, -0.27131158113479614, -0.05211644992232323, -0.21610470116138458, 0.11953391879796982, -0.5051550269126892, 0.23732593655586243, 0.0114746680483222, 0.22643880546092987, -0.656576931476593, 0.38575589656829834, 0.019339339807629585, -0.33690598607063293, -0.08091939985752106, -0.5272387862205505, 0.8836060166358948, -0.11978649348020554, -0.4728050231933594, -0.5326758027076721, 0.567221462726593, 0.7990057468414307, -0.34587806463241577, 0.8075852394104004, 0.44388794898986816, -0.3945862352848053, -0.18267664313316345, -0.6568247675895691, -0.09154948592185974, -0.46448367834091187, 0.6875901818275452, -0.4981010854244232, -0.6834875345230103, 0.4333384931087494, -0.16086386144161224, 0.22866389155387878, 0.2533615231513977, 0.7613993287086487, 0.08275198191404343, 0.6948021650314331, 0.8811488151550293, -0.3258206248283386, 0.7231425046920776, 0.004746191203594208, 0.016505166888237, -0.8418136835098267, -0.05318941920995712, -0.06711282581090927, -0.20394231379032135, -0.22967314720153809, -0.29678457975387573, 0.29929742217063904, 0.10852369666099548, -0.36044082045555115, 0.18988652527332306, 0.09216534346342087, 0.3168824017047882, 0.5899745225906372, 0.06957101821899414, 0.31459948420524597, 0.02161327935755253, -0.3324146270751953, -0.03184392303228378, -1.0904603004455566, -0.4667345881462097, 1.3950793743133545, 0.3178751468658447, 0.629753828048706, 0.2383587658405304, 0.7704639434814453, 0.12647750973701477, 0.7072830200195312, -0.6678356528282166, 0.4919531047344208, -0.07289869338274002, -0.676609456539154, -0.32549309730529785, -0.412452757358551, -0.7980659008026123, 0.2617197632789612, 0.07224215567111969, -0.5536306500434875, -0.15340575575828552, 0.40879377722740173, -0.41801849007606506, 0.5969005227088928, -0.8164798021316528, 0.6250452995300293, -0.4352608323097229, -0.5659030079841614, -0.3475812077522278, -0.28284844756126404, 0.4111117124557495, -0.39363157749176025, 0.24609504640102386, -0.054565656930208206, -0.11720120161771774, 0.4220111668109894, -0.07964334636926651, 0.9644228219985962, -0.017434624955058098, -0.3299500048160553, 0.22981509566307068, 0.3545389771461487, 0.476741224527359, 0.029252560809254646, -0.2656141519546509, 0.4259319007396698, -0.46484652161598206, -0.6661079525947571, -0.256475031375885, 0.7251625061035156, -0.3993210792541504, -0.6525312066078186, -0.16817784309387207, -0.7777553200721741, -0.49874159693717957, 0.418573796749115, 0.23636670410633087, 0.30590102076530457, -0.4278999865055084, 0.3923121690750122, 0.7883358597755432, -0.1951020061969757, 0.5517939925193787, 0.4666563868522644, 0.10899326205253601, -0.515893280506134, 1.0209859609603882, 0.32802870869636536, 0.6459521055221558, 0.5575768947601318, 0.22255058586597443, -0.057171400636434555, -0.599161684513092, -0.4017566740512848, 0.1460370421409607, -0.5506119132041931, -0.07158201932907104, -0.5923362374305725, -0.19804950058460236, -0.20747730135917664, -0.30271992087364197, -0.8562711477279663, -0.06076617166399956, -0.083554707467556, 0.1962410807609558, -0.056185267865657806, 0.5224493145942688, -0.04299897328019142, 0.30344417691230774, -1.1048310995101929, 0.00050074711907655, 0.2315131276845932, 0.43051373958587646, 0.4311455190181732, -0.6026899814605713, -0.5350468158721924, 0.2353125959634781, -0.682252824306488, -0.45957380533218384, 0.332531213760376, 0.4044985771179199, 0.6054232120513916, 0.5702102184295654, 0.005821483209729195, 0.7618598341941833, -0.7680209279060364, 0.6941235065460205, 0.4610805809497833, -0.8021193742752075, 0.3929857313632965, -0.5059903860092163, 0.5824468731880188, 0.2689400613307953, 0.2436254471540451, -0.5498116612434387, -0.45157402753829956, -0.45499125123023987, -0.8849220275878906, 0.6213992238044739, -0.022182166576385498, 0.4816899001598358, -0.16044944524765015, 0.1936611384153366, 0.31807947158813477, -0.0008394771721214056, -0.9399736523628235, 0.029440101236104965, 0.009255994111299515, -0.10917460918426514, 0.0035289637744426727, -0.48214974999427795, -0.07343851029872894, 0.19391897320747375, 0.71332186460495, -0.15876787900924683, 0.24276652932167053, -0.2539081275463104, -0.4580276310443878, 0.10544095188379288, 0.2394280582666397, 0.6268255710601807, 0.7136348485946655, 0.07963167130947113, 0.04436975345015526, 0.5871104598045349, -0.4627286493778229, 0.101654052734375, -0.47403135895729065, 0.08651532232761383, -0.10598304867744446, 0.6758604645729065, 0.5361284613609314, 0.5442460775375366, -0.6308462619781494, 0.21897827088832855, 0.2673034965991974, -0.13223977386951447, -0.3777238130569458, 0.08015946298837662, 0.27406883239746094, 0.07020941376686096, 0.2963823676109314, 0.15736407041549683, -0.3639300763607025, -0.661902904510498, 0.2704261839389801, 0.3398410677909851, -0.5214572548866272, -0.42499297857284546, 0.7008055448532104, 0.28715014457702637, -0.20381107926368713, 0.7371877431869507, 0.14199699461460114, -0.40168529748916626, 0.4593859910964966, 0.6486431360244751, 0.8846656084060669, -0.6337836384773254, -0.16940882802009583, 0.42669329047203064, 0.48429757356643677, -0.2867611348628998, 0.02620667591691017, -0.040459826588630676, -0.6120604872703552, -0.14870966970920563, -0.37770771980285645, -0.15248224139213562, 0.09884563833475113, -0.7977662086486816, 0.33336496353149414, -0.681296706199646, 0.046550117433071136, -0.671842098236084, -0.44480782747268677, -0.5332919359207153, -0.00535947922617197, 0.3737923800945282, 1.0274379253387451, -0.6073616743087769, 1.156401515007019, 0.4936050772666931, -0.3365638852119446, -0.3302249610424042, 0.20393867790699005, 0.16950291395187378, -1.032734990119934, 0.6418420672416687, 0.2449619621038437, -0.18232488632202148, -0.04290127754211426, -0.20153357088565826, -0.9354088306427002, 1.0413762331008911, 0.7360209822654724, -0.6357670426368713, -0.0047602104023098946, 0.06328601390123367, 0.28312259912490845, -0.2338505983352661, -0.11986089497804642, 0.1927746832370758, 0.22167491912841797, 0.08379481732845306, -0.8905971646308899, -0.20244503021240234, -0.12040189653635025, 0.2218141257762909, 0.18900330364704132, -0.896699070930481, 0.7922520041465759, -0.21287190914154053, -0.27769526839256287, 0.39947009086608887, 0.6159325242042542, 0.2580134868621826, 0.1579248160123825, 0.33007001876831055, 0.4035452902317047, 0.652410626411438, -0.1628831923007965, 0.8403570055961609, -0.3246738314628601, 0.465375691652298, 1.2712390422821045, -0.41879984736442566, 1.051893711090088, 0.518598735332489, 0.11227233707904816, 0.2342132180929184, 0.4231753647327423, 0.2480609267950058, 0.5596712231636047, -0.0325782373547554, -0.39550650119781494, -0.556816816329956, -0.023691346868872643, -0.49465203285217285, 0.4287096858024597, 0.48727455735206604, -0.1322426050901413, -0.351969450712204, 0.3109823763370514, 0.20257627964019775, 0.14165858924388885, -0.36798128485679626, 0.6490108370780945, 0.18635939061641693, -0.35420548915863037, 0.8096885085105896, -0.12375781685113907, 0.6923488974571228, -0.9346718788146973, 0.06943321973085403, -0.39053237438201904, 0.378518283367157, 0.4246504008769989, -0.5113906264305115, 0.36689016222953796, -0.09398982673883438, -0.28758305311203003, -0.4746197760105133, 0.03830482065677643, -0.5266978740692139, -0.5499193668365479, 0.4795554578304291, 0.3982705771923065, -0.2758978605270386, -0.0006149413529783487, -0.6805208325386047, 0.21104483306407928, -0.2095908671617508, -0.21917980909347534, 0.32852286100387573, 0.7443304657936096, -0.25096747279167175, 1.0895262956619263, 0.6162902116775513, 0.02541554719209671, 0.19413022696971893, -0.061655666679143906, 0.7958709597587585, -0.5556852221488953, -0.7082811594009399, -1.0056498050689697, 0.4355088472366333, 0.09799163043498993, -0.4851292669773102, 0.42587077617645264, 0.6183652877807617, 1.175213098526001, -0.19815494120121002, 0.9085594415664673, 0.27505314350128174, 0.13098710775375366, -0.8846811652183533, 0.983828067779541, -0.7493056654930115, 0.34312552213668823, -0.05117679759860039, -0.8024225234985352, -0.4763268828392029, 0.2438449114561081, -0.25696349143981934, 0.2748217284679413, 0.7645463943481445, 0.700356125831604, -0.16156534850597382, -0.518977701663971, 0.6234686970710754, 0.4595851004123688, 0.3839503228664398, 1.0888190269470215, 0.886396586894989, -0.19579999148845673, 0.8377636671066284, -0.00018693339370656759, -0.17075395584106445, -0.42900925874710083, -0.6614487171173096, -0.9593744277954102, -0.5284905433654785, -0.17036688327789307, -0.03476369380950928, 0.21634462475776672, 0.8960901498794556, 0.7688630819320679, -0.7850959897041321, -0.32143667340278625, -0.013876746408641338, 0.13790078461170197, -0.37991786003112793, -0.14835907518863678, 0.20907706022262573, -0.5294190049171448, -0.9231215715408325, 0.4947483241558075, 0.6807352900505066, -0.03876063972711563, -0.2982499599456787, -0.2969253361225128, -0.19382750988006592, 0.04471801221370697, 0.5498199462890625, 0.40938469767570496, -0.8742424249649048, -0.08573005348443985, -0.15790317952632904, -0.1295659840106964, 0.3040107488632202, 0.762738823890686, -0.504777729511261, 0.6726307272911072, 0.09464893490076065, 0.8763027191162109, -0.11970706284046173, -0.5831106901168823, 0.9054548144340515, -0.6885247826576233, 0.46583741903305054, 0.21904194355010986, 0.49891313910484314, 0.22147031128406525, -0.27136266231536865, 0.1831185221672058, 0.40358367562294006, 0.06743397563695908, -0.8129217624664307, 0.42441293597221375, -0.8081847429275513, -0.28113478422164917, 0.9524151086807251, -0.2559434771537781, -0.037970054894685745, -0.17610369622707367, -0.19338057935237885, 0.04323068633675575, -0.3089313805103302, 1.1191834211349487, 1.0266379117965698, 0.3863765597343445, -0.31681007146835327, -0.47668731212615967, -0.10863387584686279, 0.4213921129703522, -0.37663453817367554, 0.32112395763397217, 0.23952777683734894, 0.4053741693496704, 0.10038326680660248, 0.5778710246086121, -0.30008664727211, 0.3993656635284424, -0.010965319350361824, 0.1143796369433403, -0.32412129640579224, -0.629276692867279, -0.41381680965423584, 0.39285025000572205, 0.10502062737941742, -0.20093098282814026 ]
http://arxiv.org/abs/2406.17456v1
http://arxiv.org/pdf/2406.17456v1
Improving Grammatical Error Correction via Contextual Data Augmentation
2024-06-25T10:49:56
2024-06-25T10:49:56
Yixuan Wang, Baoxin Wang, Yijun Liu, Qingfu Zhu, Dayong Wu, Wanxiang Che
cs.CL
cs.CL, cs.AI
Nowadays, data augmentation through synthetic data has been widely used in the field of Grammatical Error Correction (GEC) to alleviate the problem of data scarcity. However, these synthetic data are mainly used in the pre-training phase rather than the data-limited fine-tuning phase due to inconsistent error distribution and noisy labels. In this paper, we propose a synthetic data construction method based on contextual augmentation, which can ensure an efficient augmentation of the original data with a more consistent error distribution. Specifically, we combine rule-based substitution with model-based generation, using the generative model to generate a richer context for the extracted error patterns. Besides, we also propose a relabeling-based data cleaning method to mitigate the effects of noisy labels in synthetic data. Experiments on CoNLL14 and BEA19-Test show that our proposed augmentation method consistently and substantially outperforms strong baselines and achieves the state-of-the-art level with only a few synthetic data.
[ -0.18807655572891235, -1.2080068588256836, 0.41304710507392883, 0.1523228883743286, -0.1383242905139923, -0.12726950645446777, -0.3532697856426239, -0.3022788166999817, 0.2049841433763504, 0.22826288640499115, -0.8688497543334961, -0.6411323547363281, -0.21241728961467743, 0.34817251563072205, -0.3929811120033264, 0.7458353638648987, -0.08544862270355225, 0.2666895389556885, -0.40576887130737305, 0.11653541028499603, -0.8116006255149841, -0.6344913244247437, -0.4175446331501007, 0.10469155013561249, 0.2475465089082718, 0.5125047564506531, 0.5694308876991272, 0.7212076783180237, 0.052140481770038605, 0.35309597849845886, -0.20011988282203674, 1.0053751468658447, -0.34994590282440186, 0.11028509587049484, -0.33122310042381287, -0.17490193247795105, -0.7519795894622803, -0.14747892320156097, 0.7552430629730225, 0.9061384797096252, -0.11751134693622589, -0.21723710000514984, 0.1385771483182907, 0.3892628252506256, -0.550581693649292, 0.2429497092962265, -0.6192464232444763, 0.022483589127659798, -0.190721333026886, -0.25336992740631104, -0.498928040266037, -0.44352129101753235, -0.3310416340827942, -0.9821436405181885, 0.5598962306976318, -0.10522889345884323, 0.7066521048545837, 0.25673457980155945, -0.24263674020767212, -0.05188135430216789, -0.659392774105072, 0.5997874140739441, -1.0312248468399048, 0.32250192761421204, 0.2779919505119324, -0.11608251184225082, -0.4985111355781555, -0.5645703673362732, -0.7894535064697266, -0.05330298840999603, -0.2308950126171112, 0.0880039632320404, 0.023094244301319122, -0.02788703329861164, 0.2586582899093628, 0.4317730963230133, -0.3272727429866791, -0.10481832176446915, -0.34716060757637024, -0.20491334795951843, 0.6966827511787415, 0.026110390201210976, 0.4339558482170105, -0.2176305651664734, 0.0719657838344574, -0.2593311369419098, -0.7370822429656982, -0.2477159947156906, 0.457353413105011, 0.6063485145568848, 0.14017221331596375, 0.5023465752601624, -0.45057544112205505, 0.8243566155433655, 0.21744801104068756, 0.1048005074262619, 0.6877954602241516, -0.7111257910728455, -0.30707427859306335, 0.10745161026716232, 0.4405244290828705, 0.41207197308540344, 0.174261212348938, -0.09649322181940079, -0.24741463363170624, 0.2707759141921997, 0.31592369079589844, -0.36573371291160583, -0.20670343935489655, -0.1119687408208847, 0.0890008807182312, -0.36778178811073303, 0.3430822789669037, -0.89191734790802, -0.04140245541930199, -0.8444918990135193, 0.31733134388923645, -0.4857715368270874, 0.11810623854398727, 0.013099931180477142, 0.22380220890045166, -0.1953023374080658, 0.4400634169578552, -0.8793249130249023, 0.12638409435749054, 0.5213013291358948, 0.5230963826179504, 0.11763342469930649, -0.16387178003787994, -0.6539316773414612, 0.0963062196969986, -0.6172845363616943, 0.6935699582099915, -0.38287243247032166, -0.5936040878295898, 0.07012199610471725, 0.1970592588186264, -0.11759321391582489, -0.6903345584869385, 0.8071942329406738, -0.18701337277889252, 0.4195480942726135, -0.18235796689987183, -0.640421986579895, 0.07542132586240768, 0.17678728699684143, -0.5920164585113525, 1.2618484497070312, 0.2604702115058899, -0.34264281392097473, 0.43619126081466675, -0.4788869321346283, -0.7427853941917419, -0.01996142603456974, 0.042341262102127075, -0.4587215483188629, 0.10110145062208176, 0.7050779461860657, 0.21113424003124237, 0.08050898462533951, 0.5756839513778687, -0.07882752269506454, -0.3681895434856415, 0.1729099005460739, -0.4729436933994293, 0.4675118625164032, 0.06923316419124603, -0.24151089787483215, 0.00038137100636959076, -1.0874910354614258, 0.20659585297107697, -0.2316245585680008, -0.4621083438396454, -0.33167821168899536, 0.03762884438037872, 0.03666999191045761, 0.020537657663226128, -0.09150727838277817, -0.5432115793228149, 0.33950477838516235, -0.6110379099845886, 0.19485963881015778, 0.780036449432373, 0.001055197324603796, 0.5500985980033875, -0.2999633550643921, 0.39433589577674866, -0.055716075003147125, -0.0203325804322958, -0.3023875057697296, -0.1978256106376648, -0.8227019906044006, -0.09741368144750595, 0.48359739780426025, 0.632986307144165, -0.8694924712181091, 0.7466793656349182, -0.5190379023551941, -0.2603495717048645, -0.40727734565734863, 0.3946962356567383, 0.3444400727748871, 0.8751262426376343, 0.6082932353019714, 0.048474907875061035, -1.1712357997894287, -0.6210915446281433, -0.09618605673313141, 0.05955703184008598, 0.15525422990322113, 0.19469845294952393, 0.11691240966320038, -0.5852024555206299, 1.014679193496704, -0.5669471025466919, -0.21910080313682556, -0.16070088744163513, 0.016328465193510056, 0.1215406283736229, 0.962921142578125, 0.2109043002128601, -0.5525680780410767, -0.26975753903388977, 0.057557396590709686, -0.6260392665863037, -0.5300490856170654, -0.20591039955615997, -0.26817065477371216, 0.24723052978515625, 0.7150017023086548, -0.49039027094841003, 0.25923630595207214, 0.2985630929470062, -0.3140457272529602, 0.5992913842201233, -0.39930349588394165, 0.1416608840227127, -1.1520097255706787, -0.16610737144947052, -0.017316965386271477, -0.34457847476005554, -0.7400121092796326, -0.010062672197818756, 0.18129950761795044, 0.0906125083565712, -0.34405937790870667, 0.2738829553127289, -0.26937052607536316, 0.39513251185417175, -0.11815401911735535, -0.0996374562382698, 0.05073835328221321, 0.19770871102809906, -0.2162834107875824, 0.8763692378997803, 0.3104884624481201, -0.4936494827270508, 0.466389000415802, 0.41215741634368896, -0.14899247884750366, 0.5502458810806274, -0.41887223720550537, 0.025830386206507683, -0.2866213321685791, 0.42656558752059937, -0.7994537949562073, -0.7217075824737549, 0.4169285297393799, -0.30804407596588135, 0.34309443831443787, 0.10407930612564087, -0.4879153072834015, 0.00396498991176486, -0.046554479748010635, 0.3878743052482605, 0.5593423843383789, -0.8305432200431824, 0.5176950097084045, 0.053470198065042496, -0.238211527466774, -0.3693881928920746, -0.7821738123893738, 0.15170450508594513, -0.22211694717407227, -0.8180277347564697, 0.6986145377159119, 0.09882674366235733, -0.19340719282627106, -0.1265590637922287, -0.06793064624071121, 0.14636434614658356, -0.15829969942569733, 0.04735434055328369, 0.38430255651474, -0.12047205120325089, 0.3856455385684967, 0.2539881467819214, 0.011636963114142418, -0.009451785124838352, -0.1426621824502945, 0.3029315173625946, 0.2058330625295639, -0.199478879570961, -0.2781291902065277, 0.2502141296863556, 0.27586743235588074, 0.20430916547775269, 0.5313078165054321, 0.2797129154205322, -0.5316620469093323, -0.5115196108818054, -0.5613705515861511, -0.17655237019062042, -0.4704102873802185, 0.15765191614627838, -0.2220919132232666, -0.38173237442970276, 0.3545176088809967, -0.021770652383565903, -0.316386342048645, 0.34399375319480896, 0.1327521800994873, -0.21733525395393372, 0.7915899157524109, 0.15709444880485535, 0.15479083359241486, 0.5704813599586487, -0.16506101191043854, 0.1756218820810318, -0.6667519807815552, -0.23680198192596436, -0.2031441181898117, -0.09091304242610931, -0.4419996738433838, -0.47192299365997314, 0.34257224202156067, 0.10856373608112335, 0.030096951872110367, 0.3451274335384369, -0.2221066951751709, 0.3761519491672516, 0.6791653633117676, 0.38370731472969055, 0.27885228395462036, 0.4118128716945648, -0.08656033873558044, -0.3315674662590027, -0.639549195766449, -0.3434368968009949, 0.9528230428695679, -0.16532373428344727, 0.6568346619606018, 0.05166403576731682, 0.5398581027984619, 0.27234509587287903, 0.1013687252998352, -0.31808164715766907, 0.43823540210723877, -0.34586969017982483, -0.30129390954971313, -0.2741161286830902, -0.4074811041355133, -0.5088523030281067, 0.2886027991771698, -0.5098022818565369, -0.40253791213035583, 0.4196130335330963, 0.4986323118209839, -0.31282827258110046, 0.05584839731454849, -0.9736389517784119, 0.8126549124717712, 0.1516517847776413, -0.5969355702400208, 0.17844492197036743, -0.40852099657058716, 0.28084027767181396, -0.297471821308136, 0.2832579016685486, 0.34492623805999756, 0.30439549684524536, 0.36013320088386536, -1.038111686706543, 0.8195832967758179, -0.15699656307697296, -0.24071376025676727, 0.36472564935684204, -0.2539912164211273, 0.9756426811218262, 0.104859359562397, -0.024894677102565765, -0.16335900127887726, -0.5197799801826477, -0.24657680094242096, -0.8460401892662048, 0.617159903049469, -0.3758993148803711, -0.5201023817062378, -0.22122910618782043, -0.6503326892852783, -0.4509013891220093, -0.20354099571704865, 0.3351501524448395, 0.5966491103172302, -0.2104531079530716, 0.34677666425704956, 0.32042062282562256, -0.09012409299612045, 0.23992757499217987, 0.1835765391588211, 0.18522195518016815, -0.4823938310146332, 0.81829434633255, 0.1107262670993805, 0.17352421581745148, 0.1560516506433487, -0.05852232873439789, -0.46255695819854736, -0.42260441184043884, -0.6279802918434143, -0.06133722513914108, -0.6225550174713135, -0.3000866770744324, -0.6576648354530334, -0.12078995257616043, -0.7535859942436218, -0.30057546496391296, -0.24569757282733917, -0.435992568731308, -0.4277144968509674, -0.3954732418060303, 0.4551507532596588, 0.14384408295154572, -0.3438664376735687, 0.6089980602264404, -0.5983530282974243, 0.09176849573850632, 0.1209825649857521, 0.03834347426891327, -0.28792285919189453, -0.5273802876472473, -0.1489427536725998, 0.41947492957115173, -0.15747930109500885, -0.7477257251739502, 0.7373740077018738, 0.43272900581359863, 0.3182087540626526, 0.011611558496952057, -0.24698226153850555, 1.2100237607955933, -0.5084964632987976, 0.6772281527519226, -0.11194741725921631, -1.1704505681991577, 0.7303662896156311, -0.5894722938537598, 0.07464123517274857, 0.4949935972690582, -0.46459004282951355, -0.5677481889724731, -0.2655770778656006, -0.8227015137672424, -1.0156861543655396, 0.5770467519760132, 0.36532026529312134, 0.37463220953941345, -0.014430259354412556, 0.5956425666809082, 0.06936261057853699, 0.10017726570367813, -0.6843523383140564, -0.04207857325673103, -0.22808997333049774, -0.45156559348106384, -0.22325998544692993, -0.21053364872932434, 0.12435607612133026, -0.4791482388973236, 1.1066374778747559, -0.1544223576784134, -0.23177802562713623, 0.4204070270061493, -0.22469066083431244, -0.09989243000745773, 0.46951138973236084, 0.5114846229553223, 0.5028170943260193, -0.05600791051983833, 0.10804792493581772, 0.5838473439216614, -0.42670178413391113, 0.3768552243709564, 0.24192273616790771, -0.5946558713912964, 0.2341071367263794, 0.33428919315338135, 0.6355202198028564, 0.23859930038452148, -0.7223719954490662, 0.17883944511413574, 0.4729432761669159, -0.09499777108430862, -0.3652697801589966, 0.24603678286075592, -0.11871383339166641, -0.11242637038230896, 0.27182382345199585, 0.24041005969047546, 0.12430957704782486, -0.44499635696411133, 0.3874191641807556, 0.19984041154384613, 0.13110528886318207, -0.17542517185211182, 0.5838185548782349, 0.1377081573009491, -0.0001331594685325399, 0.5507349967956543, -0.40408021211624146, -0.2763771414756775, 0.5362772345542908, 0.7452753782272339, 0.4291447103023529, -0.4326176941394806, 0.2931668758392334, 0.5957444310188293, 0.06732793897390366, -0.27226850390434265, 0.26062318682670593, 0.2341300994157791, -0.8309610486030579, -0.7523142695426941, -0.3952297568321228, -0.03969154506921768, 0.1978985071182251, -0.45688119530677795, 0.32753312587738037, -0.3427309989929199, 0.05509345605969429, -0.08195792138576508, -0.3459615111351013, -0.3196147084236145, 0.7014997005462646, -0.16012650728225708, 0.46681228280067444, -0.9053585529327393, 0.5718705654144287, 0.7011436820030212, -0.3375414311885834, -0.7696294188499451, -0.20220030844211578, 0.06586187332868576, -0.323954313993454, 0.5879367589950562, -0.05522546544671059, 0.136274516582489, -0.055928755551576614, -0.41311249136924744, -0.742733359336853, 0.833630383014679, 0.3776070475578308, -0.7566114664077759, -0.040943145751953125, 0.25930026173591614, 0.7601986527442932, -0.45254358649253845, -0.20982232689857483, 0.6262802481651306, 0.5603213906288147, 0.2336675226688385, -0.4579767882823944, 0.14237532019615173, -0.6176644563674927, 0.1842459887266159, -0.03458987921476364, 0.029937738552689552, 0.8379390239715576, 0.06295964866876602, -0.3980133533477783, 0.1963730752468109, 0.6218166351318359, 0.19523541629314423, 0.20071883499622345, 0.43201202154159546, 0.7085400819778442, 0.8147791028022766, -0.34551844000816345, 0.8742727637290955, 0.059316765516996384, 0.3034055233001709, 1.3794763088226318, -0.09415316581726074, 0.5302671790122986, 0.5312404036521912, -0.06915006786584854, 0.545775830745697, 0.5702729821205139, -0.17254072427749634, 0.46731650829315186, 0.16621659696102142, -0.4258745312690735, -0.1337759792804718, -0.07327068597078323, -0.3933102786540985, 0.30697280168533325, 0.3736821413040161, -0.49224740266799927, -0.15178892016410828, 0.011648548766970634, 0.10359125584363937, 0.4042823016643524, -0.21985219419002533, 0.6802567839622498, -0.349641352891922, -0.7186439037322998, 0.6131041049957275, 0.15298393368721008, 0.6390469074249268, -0.08862725645303726, -0.1747162640094757, -0.46230730414390564, 0.39320987462997437, -0.37997934222221375, -0.2651573717594147, 0.38028132915496826, 0.167650505900383, -0.31384700536727905, -0.24500347673892975, 0.6620954871177673, -0.7903982400894165, -0.7752300500869751, -0.17484131455421448, 0.4017559885978699, -0.22139482200145721, 0.0312282033264637, -0.16387630999088287, 0.01307067833840847, 0.05894167721271515, 0.2427045702934265, -0.17277731001377106, 0.16431985795497894, -0.11559415608644485, 0.2447095811367035, 1.0237725973129272, 0.22816284000873566, 0.27250149846076965, 0.22526110708713531, 0.7857651114463806, -0.4738624095916748, -0.6261248588562012, -0.7896310687065125, 0.7543715834617615, -0.39863207936286926, -0.21359369158744812, 0.9017967581748962, 0.491310715675354, 1.1280810832977295, -0.4403029680252075, 0.8569270372390747, -0.02944357320666313, 0.5243865847587585, -0.8109681010246277, 0.25615960359573364, -0.3390491306781769, 0.33585140109062195, -0.4345901906490326, -1.045007348060608, -0.5555595755577087, 0.6512194275856018, -0.32218611240386963, 0.10991814732551575, 0.4939188063144684, 1.2873241901397705, -0.3378311097621918, 0.07144919037818909, 0.09758621454238892, 0.12449812889099121, 0.17616596817970276, 0.24671770632266998, 0.7359421253204346, -0.722057580947876, 0.09577085077762604, -0.3036949634552002, 0.048386842012405396, -0.28497204184532166, -0.6309946179389954, -0.38108429312705994, -0.5010876059532166, -0.4886043667793274, -0.4969717264175415, 0.45401903986930847, 1.1620676517486572, 0.6662108898162842, -1.0360522270202637, 0.29821401834487915, -0.6528880000114441, -0.11315009742975235, -0.24501022696495056, -0.28847599029541016, 0.38070279359817505, -0.6460932493209839, -1.1436408758163452, 0.8614866733551025, -0.2745588421821594, 0.4662989675998688, 0.19196100533008575, -0.12615111470222473, -0.14683251082897186, -0.07084184885025024, 0.5836628079414368, 0.1398162990808487, -0.6677877902984619, -0.29202887415885925, 0.005637120455503464, 0.012766484171152115, 0.20050804316997528, 0.7081415057182312, -0.7287676334381104, 0.713476836681366, 0.5790227055549622, 0.5829538106918335, 0.15359914302825928, 0.5916702747344971, 0.8284422159194946, -1.3186582326889038, 0.20527900755405426, -0.1709064096212387, 0.5032715201377869, 0.63949054479599, -0.5527153611183167, 0.6743919253349304, 0.5285893082618713, -0.08701854199171066, -0.8477733731269836, -0.14595842361450195, -0.8019971251487732, -0.19852715730667114, 1.2419536113739014, 0.07512471824884415, -0.09806036949157715, 0.14353054761886597, -0.4533165991306305, 0.32593074440956116, -0.3284500241279602, 0.7978259325027466, 0.7962110042572021, 0.16691498458385468, 0.14241525530815125, -0.28354179859161377, 0.6938678622245789, 0.614154040813446, -1.140995740890503, 0.02468191459774971, 1.0909900665283203, 0.26618003845214844, 0.1382511854171753, 0.16204601526260376, -0.12816685438156128, 0.2966420352458954, 0.06641913205385208, -0.03705038130283356, -0.183439701795578, -0.27008816599845886, -0.348710834980011, -0.03099159337580204, -0.5789822340011597, -0.11573495715856552 ]
http://arxiv.org/abs/2406.17453v1
http://arxiv.org/pdf/2406.17453v1
Learning to Ask Informative Questions: Enhancing LLMs with Preference Optimization and Expected Information Gain
2024-06-25T10:44:01
2024-06-25T10:44:01
Davide Mazzaccara, Alberto Testoni, Raffaella Bernardi
cs.CL
cs.CL
Questions are essential tools for acquiring the necessary information to complete information-seeking tasks. However, large language models (LLMs), especially open-source models, often perform poorly in generating informative questions, as measured by expected information gain (EIG). In this paper, we propose a method to enhance the informativeness of LLM-generated questions in 20-question game dialogues. We sample multiple questions from the same model (LLAMA 2-CHAT 7B) for each game and create pairs of low-EIG and high-EIG questions to apply a Direct Preference Optimization (DPO) algorithm. Our results show that this method produces more effective questions (in terms of EIG), even in domains different from those used to train the DPO model.
[ -0.5069375038146973, -0.9007973670959473, 0.6752732992172241, -0.04948267340660095, -0.3142211139202118, -0.17300160229206085, -0.45464903116226196, -0.3906770348548889, 0.08963644504547119, 0.6250287294387817, -0.6057896018028259, -0.4528299570083618, -0.3740963339805603, 0.11351187527179718, 0.2313752919435501, 0.8205345869064331, -0.01574820652604103, 0.14050190150737762, -0.4347626566886902, 0.17929008603096008, -0.2088545262813568, -0.3881061375141144, -0.9004262089729309, -0.07461054623126984, 0.5015588998794556, 0.6895833611488342, 0.4196287989616394, 0.4616438150405884, 0.5358576774597168, 0.25461721420288086, -0.12049660086631775, 0.6630541086196899, -0.9994097948074341, 0.5324589014053345, -0.0132773881778121, -1.023998498916626, 0.033606406301259995, -0.13539662957191467, 0.4227195382118225, 0.5042697191238403, -0.07596184313297272, 0.22783152759075165, 0.018975289538502693, 0.5642861127853394, -0.5076779723167419, 0.2967376112937927, -0.77911376953125, 0.013690409250557423, 0.16975870728492737, -0.7792895436286926, -0.45997926592826843, -0.511881947517395, 0.15426793694496155, -0.876264214515686, -0.4365725815296173, 0.09110412001609802, 0.8012795448303223, 0.20505864918231964, -0.07132024317979813, -0.5645225048065186, -0.8890973329544067, 0.7744771838188171, -0.6818640232086182, 0.16498546302318573, 0.26922664046287537, 0.04752884432673454, -0.3762708306312561, -0.20650389790534973, -0.4532359540462494, -0.24644339084625244, 0.2259865403175354, 0.23691263794898987, -0.5181235671043396, 0.010891038924455643, 0.36269164085388184, 0.10245869308710098, -0.25598376989364624, 0.005298919044435024, -0.29137301445007324, 0.23437650501728058, 0.6758246421813965, 0.19488279521465302, 0.0839342325925827, -0.12068437784910202, -0.2641003429889679, -0.24560001492500305, -0.807077169418335, 0.3731040358543396, 0.9346577525138855, -0.04116875305771828, 0.1914282590150833, 0.6217304468154907, -0.25525808334350586, 0.8605217337608337, 0.41650187969207764, -0.3086746037006378, 0.04053843393921852, -0.3525397479534149, 0.22503025829792023, -0.2377626597881317, 0.46853509545326233, 0.9201329350471497, 0.2877572178840637, -0.0196321252733469, -0.05806946009397507, -0.3448745310306549, 0.05853381007909775, -0.9619309306144714, -0.15421728789806366, 0.4916149973869324, -0.40493205189704895, -0.5528859496116638, 0.05955060198903084, -0.7564888596534729, -0.24910391867160797, -0.25128161907196045, 0.3715098202228546, -0.3636743724346161, -0.2762567102909088, 0.19251856207847595, -0.34054479002952576, 0.47356143593788147, 0.5801887512207031, -0.8232048749923706, -0.0394948348402977, 0.34069642424583435, 0.2808937728404999, -0.19932812452316284, 0.23086702823638916, -0.6177098155021667, 0.2778749167919159, -0.47729089856147766, 0.7222704291343689, -0.6591864228248596, -0.43980443477630615, -0.011693121865391731, -0.30222320556640625, 0.2606687843799591, -0.7544094324111938, 0.33890584111213684, -0.5802813768386841, 0.3966675102710724, -0.4757952094078064, -0.6542016267776489, 0.07399403303861618, 0.6306201219558716, -0.3066474497318268, 0.8691815733909607, -0.27658528089523315, -0.7289525866508484, 0.42074283957481384, -0.7123974561691284, 0.0029140913393348455, 0.21903961896896362, -0.3265730142593384, -0.03979337587952614, 0.12384180724620819, 0.5123295187950134, 0.3958960175514221, -0.3273453712463379, 0.2945324182510376, -0.09788424521684647, -0.33244195580482483, 0.2655511498451233, -0.22270959615707397, 0.31496089696884155, 0.18059347569942474, -0.3094053268432617, 0.019206292927265167, -0.5862979292869568, 0.3771415650844574, 0.38500475883483887, -0.7361531257629395, -0.5551305413246155, 0.17973637580871582, -0.6887558698654175, -0.09156227111816406, 0.4194890260696411, -0.6012141108512878, 0.15491053462028503, -0.48911336064338684, 0.0019441164331510663, 0.795177161693573, 0.28913813829421997, 0.2971336543560028, -0.5192760825157166, 0.4764440953731537, 0.24721942842006683, 0.3464025855064392, 0.021404124796390533, -0.5912923216819763, -0.9376083016395569, 0.19223356246948242, -0.043241437524557114, 0.5424581170082092, -1.0147079229354858, 0.3575010895729065, -0.030261201784014702, -0.5457281470298767, -0.5149747729301453, 0.12875965237617493, 0.07819613814353943, 0.5456504225730896, 0.19364428520202637, 0.0597621314227581, -0.6167328953742981, -0.7240683436393738, -0.15291830897331238, -0.5404808521270752, 0.057337503880262375, 1.170141577720642, 0.11883126944303513, 0.16838130354881287, 0.7211718559265137, -0.8108153939247131, 0.28906625509262085, -0.44212624430656433, -0.010864357464015484, 0.28127264976501465, 0.09451606124639511, 0.39892280101776123, -0.9424034357070923, -0.4285065829753876, -0.27021247148513794, -0.6343365907669067, -0.07920489460229874, 0.024655986577272415, -0.33483800292015076, -0.2376568466424942, 0.16839317977428436, -0.45032522082328796, 0.07041682302951813, 0.35893628001213074, 0.14355143904685974, 0.2763175070285797, -0.2236439287662506, 0.44677895307540894, -1.0914678573608398, -0.045020073652267456, -0.15049099922180176, -0.04051000997424126, -0.8522178530693054, 0.08680068701505661, -0.26432323455810547, -0.10630455613136292, -0.4394695460796356, 0.6845303177833557, -0.4706195592880249, 0.22748887538909912, -0.19755332171916962, 0.43361905217170715, 0.10582723468542099, 0.5169191956520081, 0.06615711003541946, 0.8988919854164124, 0.38750794529914856, -0.9957489371299744, 0.3965863287448883, 0.3261428475379944, -0.5453033447265625, 0.3165145814418793, -0.6381967067718506, 0.40819770097732544, -0.6523488759994507, -0.09244196861982346, -1.1589645147323608, -0.29080730676651, 0.22436368465423584, -0.46535131335258484, 0.14980310201644897, -0.023742349818348885, -0.2587985098361969, -0.30786821246147156, -0.5196965336799622, 0.32848119735717773, 0.5422110557556152, -0.7544525265693665, 0.09382963180541992, 0.5845063924789429, -0.2101006656885147, -0.7363053560256958, -0.20564313232898712, -0.16134652495384216, -0.25139638781547546, -0.6912286877632141, 0.08019546419382095, -0.39429664611816406, -0.4600125253200531, -0.2084372341632843, 0.11685734242200851, 0.14266915619373322, 0.20092107355594635, 0.07356438040733337, 0.25277963280677795, -0.20524944365024567, 0.42212438583374023, 0.06429001688957214, 0.4043636918067932, 0.07417573779821396, -0.27590277791023254, 0.861048698425293, 0.06738857179880142, -0.17165832221508026, 0.005223539192229509, 0.49746403098106384, -0.14671950042247772, -0.29217976331710815, 0.4506657123565674, 0.0602983757853508, 0.031003549695014954, -0.396450400352478, -0.6750391125679016, -0.3499942123889923, -0.49441152811050415, 0.40026527643203735, -0.5333165526390076, -1.084820032119751, 0.3104204535484314, -0.2885621190071106, 0.011746120639145374, 0.3343067169189453, 0.48854711651802063, -0.1342684030532837, 1.3259912729263306, 0.41565048694610596, 0.21601328253746033, 0.5441789031028748, -0.20971958339214325, -0.09061428904533386, -0.6601663827896118, -0.3727094233036041, -0.40911903977394104, -0.22425372898578644, -0.2988385260105133, -0.6475090980529785, 0.5143081545829773, 0.21572983264923096, -0.03855397179722786, 0.13145136833190918, -0.5619232058525085, 0.524573802947998, 0.6704111099243164, 0.39287567138671875, 0.2938027083873749, 0.13234995305538177, -0.18085214495658875, -0.08003143221139908, -0.8033605813980103, -0.5499991178512573, 1.2375974655151367, 0.27567505836486816, 0.9948570132255554, 0.16670088469982147, 1.0793081521987915, -0.2563227713108063, 0.03285543993115425, -0.8792309761047363, 0.5534784197807312, 0.19891196489334106, -0.6245356202125549, -0.4744895100593567, -0.6716276407241821, -0.8356539607048035, -0.01892356388270855, -0.20529071986675262, -0.6755610108375549, 0.35881170630455017, 0.1216854602098465, -0.5041894912719727, 0.32705509662628174, -0.46694356203079224, 0.2889041602611542, -0.47294682264328003, -0.36566606163978577, 0.1005006805062294, -0.4300512671470642, 0.3061513900756836, 0.16163355112075806, -0.033297210931777954, -0.11594192683696747, -0.19720250368118286, 0.715979814529419, -0.08937685936689377, 0.3445329964160919, -0.3009885549545288, -0.13674387335777283, 0.6272584795951843, -0.11118590086698532, 0.6502619981765747, 0.1453017145395279, -0.23919297754764557, -0.174722358584404, -0.24849702417850494, -0.0952409952878952, -0.8713270425796509, 0.4529320299625397, -0.9197648763656616, -1.1096162796020508, 0.12624146044254303, -0.48889246582984924, -0.3993634283542633, -0.008091306313872337, 0.16415497660636902, 0.2852995693683624, -0.22789844870567322, 0.15399760007858276, 0.8913173079490662, -0.5425649285316467, 0.11178548634052277, 0.376229852437973, -0.14823591709136963, -0.3138597309589386, 0.5916298031806946, -0.2264421284198761, 0.5997499227523804, 0.644238293170929, 0.485272079706192, -0.26237162947654724, -0.6607191562652588, -0.46566277742385864, 0.3058280646800995, -0.7427862286567688, -0.2239614725112915, -0.7516394257545471, -0.10248681157827377, -0.2249757945537567, 0.37754935026168823, 0.0037234772462397814, -0.2631562352180481, -0.4426113963127136, -0.24489936232566833, 0.4083770513534546, 0.7543547749519348, 0.00306162447668612, 0.1548013538122177, -0.6724736094474792, -0.12511737644672394, 0.44482100009918213, 0.09217768907546997, -0.18308234214782715, -0.48615971207618713, -0.022847875952720642, 0.31190353631973267, -0.29161494970321655, -0.8683968186378479, 0.22211094200611115, 0.0867132768034935, 0.8313934206962585, 0.5244817137718201, 0.15863974392414093, 0.5872063040733337, -0.36548733711242676, 0.7087088227272034, 0.14528316259384155, -0.378214031457901, 0.9136296510696411, -0.3823367953300476, 0.19370800256729126, 0.6370435357093811, 0.7667578458786011, -0.16318421065807343, -0.214261993765831, -0.459894597530365, -0.625557005405426, 0.7238906025886536, 0.0241526048630476, 0.495126336812973, -0.48378559947013855, 0.47050708532333374, 0.17052699625492096, 0.4844691753387451, -0.5772100687026978, -0.2980884611606598, 0.29162904620170593, 0.01973961479961872, 0.16674447059631348, -0.46976006031036377, -0.3172708749771118, -0.016419723629951477, 0.7067314386367798, -0.1983983814716339, 0.4285520911216736, 0.27927079796791077, 0.2783375382423401, -0.29289117455482483, 0.30340060591697693, 0.5617530941963196, 0.5887821912765503, -0.4259278178215027, -0.005591473542153835, 0.10795345157384872, -0.22160695493221283, 0.20432768762111664, -0.15908806025981903, -0.38711681962013245, -0.10196270048618317, -0.13854600489139557, 1.1350082159042358, -0.09966517239809036, -0.8098401427268982, 0.5496529936790466, -0.19712862372398376, -0.3292666971683502, 0.0377638041973114, 0.33600857853889465, 0.15653318166732788, 0.3321897089481354, 0.2051851898431778, -0.3364127278327942, 0.08418592810630798, -0.8213649392127991, 0.16399626433849335, 0.6177177429199219, -0.3869364559650421, 0.15712736546993256, 0.5697923898696899, 0.25510290265083313, -0.24161380529403687, 0.28538867831230164, -0.10605121403932571, -0.47465479373931885, 0.42131033539772034, 0.5152296423912048, 0.33568906784057617, -0.19993768632411957, 0.4383070468902588, 0.5301269292831421, 0.11568482220172882, -0.019641496241092682, 0.7463003993034363, -0.21493485569953918, -0.8165323138237, -0.31079360842704773, -0.35074323415756226, -0.7341136932373047, 0.28243085741996765, -0.3157115578651428, 0.4019262492656708, -0.41245079040527344, -0.36176958680152893, -0.18434089422225952, 0.1547372043132782, -0.6240704655647278, 0.22335486114025116, -0.07688304036855698, 0.5367305278778076, -0.10012006759643555, 0.2849232852458954, 0.6495833396911621, -0.5489314794540405, -1.0795096158981323, -0.08923312276601791, -0.6521972417831421, -0.9983029365539551, 0.9054140448570251, -0.008299174718558788, 0.018728401511907578, 0.04672824218869209, -0.9243085384368896, -1.0802769660949707, 1.0360937118530273, 0.4045393764972687, -0.589381217956543, -0.2764360010623932, 0.2122570127248764, 0.2818874716758728, -0.6128773093223572, 0.5769690275192261, 0.05732588469982147, 0.48395034670829773, 0.34459152817726135, -0.5081189274787903, -0.14744991064071655, -0.28966882824897766, -0.30173182487487793, 0.16207793354988098, -0.6310059428215027, 0.7123167514801025, -0.5907456278800964, -0.1239842027425766, -0.016212986782193184, 0.4790400564670563, 0.37053999304771423, 0.061915624886751175, 0.6902730464935303, 0.24496321380138397, 0.9799383878707886, -0.13096289336681366, 1.145047903060913, -0.5251089930534363, 0.08257021754980087, 1.0011870861053467, -0.13660387694835663, 0.8136013150215149, 0.5412342548370361, 0.05124824866652489, 0.20668140053749084, 0.7284483909606934, -0.10556895285844803, 0.6175129413604736, 0.8232135772705078, -0.15558835864067078, -0.5363596081733704, -0.2666190266609192, -0.2613442540168762, 0.538320779800415, 0.12409988045692444, -0.4969998300075531, 0.02908170223236084, -0.12340546399354935, 0.10099487751722336, 0.02919975109398365, -0.16246727108955383, 1.1265901327133179, -0.10650733858346939, -1.0103079080581665, 0.3817392587661743, -0.09868380427360535, 0.6114351749420166, -0.6716993451118469, -0.24868078529834747, -0.36883237957954407, -0.0071662478148937225, 0.048461176455020905, -0.6030967831611633, -0.2907524108886719, 0.22016698122024536, -0.09169968962669373, 0.18179793655872345, 0.8003790974617004, -0.6252776384353638, -0.34532836079597473, 0.2423309087753296, 0.853905975818634, 0.5407410264015198, -0.04789069667458534, -0.5832447409629822, -0.13844221830368042, 0.1748363971710205, -0.3321281671524048, 0.18320883810520172, 0.3695893883705139, 0.2798437774181366, 0.6447575688362122, 0.6739198565483093, 0.316363662481308, 0.10195571184158325, -0.10040842741727829, 1.025417447090149, -0.3001841902732849, -0.2642686367034912, -0.7291197776794434, 0.3832632899284363, -0.4876921474933624, -0.2741982936859131, 0.7969986796379089, 0.7032092213630676, 0.8937757015228271, -0.11019358783960342, 0.8543071150779724, 0.20793373882770538, 0.5359222888946533, -0.4914364516735077, 0.4592651128768921, -0.6582015752792358, 0.3405596911907196, -0.22882795333862305, -1.0545235872268677, 0.22870154678821564, 0.5236569046974182, -0.3144056797027588, 0.03173323720693588, 0.33797332644462585, 0.8447445034980774, 0.26066574454307556, 0.017107022926211357, 0.6084603071212769, -0.1155078187584877, 0.313083291053772, 0.8221532702445984, 1.2232489585876465, -0.33123844861984253, 0.7023607492446899, -0.21310767531394958, -0.36090999841690063, -0.027888093143701553, -0.7500472664833069, -1.1645667552947998, -0.41417258977890015, -0.12786421179771423, -0.18417339026927948, 0.19592520594596863, 1.1690263748168945, 0.5982548594474792, -0.4458438754081726, -0.3696316182613373, 0.17886397242546082, 0.06363119184970856, 0.31212207674980164, -0.16707971692085266, 0.06238057091832161, -0.36767256259918213, -0.9358678460121155, 0.5562583804130554, 0.19911183416843414, 0.11517413705587387, -0.2603868246078491, -0.008929328992962837, -0.2608998119831085, 0.5562631487846375, 0.3660734295845032, -0.15166139602661133, -0.3779149353504181, -0.4541974365711212, 0.4829491078853607, 0.05019735172390938, 0.2623465061187744, 0.6686606407165527, -0.27359914779663086, 0.688159167766571, 0.564506471157074, 0.6696231365203857, 0.5694057941436768, 0.37098512053489685, 0.8117231130599976, -0.6186889410018921, -0.13490788638591766, 0.3467811942100525, -0.010504762642085552, 0.38517364859580994, -0.68349289894104, 0.5009240508079529, -0.12722785770893097, -0.4309083819389343, -0.5929722785949707, 0.3097410500049591, -0.6025401949882507, -0.10111556947231293, 1.5981525182724, -0.17317411303520203, -0.05469038709998131, 0.269767701625824, -0.4188635051250458, 0.1739809811115265, -0.5122866630554199, 0.42991021275520325, 0.8752925992012024, -0.35755789279937744, -0.11868689954280853, -0.45115312933921814, 0.7159759998321533, 0.3912501931190491, -1.1393686532974243, -0.18936105072498322, 0.37359070777893066, 0.11511501669883728, 0.11762997508049011, 0.6185764670372009, -0.0889541357755661, 0.12260216474533081, -0.06933946907520294, -0.08623722940683365, -0.271952748298645, -0.25377437472343445, 0.09226594120264053, 0.19015216827392578, 0.2961331605911255, -0.19692012667655945 ]
http://arxiv.org/abs/2406.17430v1
http://arxiv.org/pdf/2406.17430v1
Towards Probing Speech-Specific Risks in Large Multimodal Models: A Taxonomy, Benchmark, and Insights
2024-06-25T10:08:45
2024-06-25T10:08:45
Hao Yang, Lizhen Qu, Ehsan Shareghi, Gholamreza Haffari
cs.CL
cs.CL, cs.SD, eess.AS
Large Multimodal Models (LMMs) have achieved great success recently, demonstrating a strong capability to understand multimodal information and to interact with human users. Despite the progress made, the challenge of detecting high-risk interactions in multimodal settings, and in particular in speech modality, remains largely unexplored. Conventional research on risk for speech modality primarily emphasises the content (e.g., what is captured as transcription). However, in speech-based interactions, paralinguistic cues in audio can significantly alter the intended meaning behind utterances. In this work, we propose a speech-specific risk taxonomy, covering 8 risk categories under hostility (malicious sarcasm and threats), malicious imitation (age, gender, ethnicity), and stereotypical biases (age, gender, ethnicity). Based on the taxonomy, we create a small-scale dataset for evaluating current LMMs capability in detecting these categories of risk. We observe even the latest models remain ineffective to detect various paralinguistic-specific risks in speech (e.g., Gemini 1.5 Pro is performing only slightly above random baseline). Warning: this paper contains biased and offensive examples.
[ -0.25214684009552, -0.8280624747276306, 0.3340564966201782, 0.05768387392163277, 0.13908758759498596, -0.3457249402999878, -0.1840122938156128, -0.41738632321357727, 0.13450098037719727, 0.5306857228279114, -0.5178518891334534, -0.339708536863327, -0.7462772727012634, -0.33243197202682495, -0.27298861742019653, 1.0233478546142578, 0.3041207492351532, -0.06254883855581284, -0.14333802461624146, -0.2630802392959595, -0.43521252274513245, -0.7404615879058838, -0.5065621733665466, 0.200839564204216, 1.0436787605285645, 0.12657925486564636, 0.7647422552108765, 0.16200441122055054, 0.6218209862709045, 0.27124249935150146, -0.21696989238262177, -0.1556650549173355, -0.2889403700828552, 0.42513659596443176, -0.23915472626686096, -0.231049582362175, -0.5839198231697083, 0.1591363549232483, 0.7716599702835083, 0.7791449427604675, -0.2785130739212036, 0.39868003129959106, -0.03054826706647873, 0.024269742891192436, -0.8767176270484924, 0.20675323903560638, -0.763136625289917, -0.03682231903076172, -0.6848159432411194, -0.31717804074287415, -0.547917902469635, 0.04758261889219284, 0.20548716187477112, -0.2028186023235321, -0.34924033284187317, -0.07080192118883133, 0.3180597126483917, 0.18754267692565918, -0.949074387550354, -0.2548495829105377, -0.7535231709480286, 0.7042188048362732, -0.6567575335502625, 0.4557522237300873, 0.40726977586746216, 0.6058716773986816, 0.05249512940645218, -0.6569235324859619, -0.4427657127380371, -0.31048503518104553, 0.13235917687416077, -0.11486294865608215, -0.5678443908691406, 0.19033381342887878, 0.26407507061958313, 0.0049004945904016495, -0.5735619068145752, 0.1701233834028244, -0.2205737978219986, -0.6028256416320801, 0.4894506633281708, 0.20275139808654785, 0.3497249186038971, -0.3826969265937805, -0.35239964723587036, -0.19299526512622833, -0.5696820020675659, 0.3681682050228119, 0.6788841485977173, 0.46495378017425537, -0.14894743263721466, 0.5398228168487549, -0.023150315508246422, 0.5194575786590576, -0.321770042181015, -0.39907726645469666, 0.4858943819999695, -0.44442716240882874, -0.0486643984913826, 0.029532140120863914, 0.8165653347969055, 0.32961568236351013, 0.13543635606765747, -0.022778503596782684, -0.08047585189342499, -0.0432031974196434, 0.06623054295778275, -0.3632275462150574, 0.14131246507167816, 0.07065097242593765, -0.38704365491867065, -0.4022611975669861, -0.23133738338947296, -0.8702368140220642, -0.7265406250953674, -0.062483660876750946, 0.7373606562614441, -0.5323969125747681, -0.4968560039997101, 0.07003570348024368, -0.09602568298578262, 0.22054128348827362, 0.023504843935370445, -0.45216646790504456, -0.1741134375333786, 0.4305039942264557, 0.5317350625991821, 0.02335771918296814, -0.18153338134288788, -0.7410182952880859, 0.31356385350227356, -0.09484444558620453, 0.551800012588501, -0.6984020471572876, -0.37152716517448425, 0.007485545240342617, -0.251550555229187, -0.15558072924613953, -0.3681851029396057, 1.0337492227554321, -0.0788809061050415, 0.07575353235006332, -0.11625227332115173, -0.09101632982492447, -0.27586016058921814, 0.2982308864593506, -0.6049789786338806, 0.752056360244751, -0.17834097146987915, -0.9758408069610596, 0.26976248621940613, -0.31039464473724365, -0.36485040187835693, -0.12576302886009216, -0.3214510977268219, -0.3843749463558197, 0.06843842566013336, -0.010584399104118347, 0.5057815909385681, -0.2678074538707733, 0.5831416249275208, -0.4288727641105652, 0.09291647374629974, 0.595826268196106, -0.9553470611572266, 0.5062311887741089, 0.18003423511981964, -0.23247815668582916, 0.4949330687522888, -0.7199414372444153, -0.09718877822160721, -0.17275622487068176, -0.051003456115722656, -0.537257194519043, 0.0257926806807518, 0.26571813225746155, 0.6538428664207458, 0.0308237187564373, -0.4268573224544525, -0.29789695143699646, 0.1280028373003006, 0.6186156868934631, 0.7191649675369263, 0.050639715045690536, 0.13687686622142792, -0.4769173264503479, 0.6151846051216125, 0.2620384097099304, 0.44383129477500916, -0.3916431963443756, -0.5630962252616882, -0.3075058162212372, -0.5736024975776672, 0.27131563425064087, 0.5709550976753235, -0.7875528335571289, 0.1573270857334137, -0.38606488704681396, -0.7527468204498291, -0.4268735647201538, -0.2667117118835449, 0.5372393131256104, 0.4400446116924286, 0.14288003742694855, -0.2806972563266754, -0.4530235826969147, -1.1018669605255127, -0.4848964214324951, -0.327560693025589, 0.0913432389497757, 0.5179426074028015, 0.18860244750976562, -0.4289938509464264, 0.6808291077613831, -0.14227767288684845, -0.36143016815185547, 0.03573654219508171, 0.38811758160591125, -0.07386824488639832, 0.43562960624694824, 0.4984672963619232, -0.9807147979736328, -0.07107573747634888, -0.20896852016448975, -0.4433034658432007, -0.14557385444641113, -0.1827528029680252, 0.30373600125312805, -0.16945874691009521, 0.5773851275444031, -0.7052759528160095, 0.19446583092212677, 0.8462734222412109, -0.1765284389257431, 0.6785447001457214, 0.1864437460899353, 0.12454725801944733, -0.8490506410598755, 0.11705944687128067, 0.25813397765159607, -0.033094167709350586, -0.955211877822876, 0.014669960364699364, -0.05004710704088211, -0.30110594630241394, -0.8418977856636047, 0.30141720175743103, -0.12471538037061691, 0.016663163900375366, 0.17056672275066376, 0.0016949328128248453, -0.37064066529273987, 0.2669340670108795, -0.218253955245018, 0.6710244417190552, 0.7205156683921814, -0.49384695291519165, 0.19724729657173157, -0.02499370649456978, -0.467290461063385, 0.6155650615692139, -0.5143883228302002, 0.1829473227262497, -0.2224298119544983, 0.34483715891838074, -1.1079416275024414, -0.21465200185775757, 0.20391924679279327, -0.5833103656768799, 0.2578693926334381, 0.048281703144311905, -0.4073250889778137, -0.14738066494464874, -0.4100929796695709, 0.8238847851753235, 0.25987887382507324, -0.02919517457485199, 0.9955044388771057, 0.6566805243492126, -0.6368501782417297, -0.6286173462867737, -0.5736786723136902, 0.33861351013183594, -0.6961447596549988, -0.8191226720809937, 0.23987500369548798, -0.039774976670742035, -0.4092405438423157, -0.33962783217430115, -0.14452990889549255, 0.10229207575321198, 0.001430761069059372, 0.46445003151893616, -0.015426473692059517, -0.04217616096138954, 0.1321520209312439, -0.052793122828006744, 0.0033334209583699703, 0.14015810191631317, 0.14277531206607819, 0.6517231464385986, -0.03672835975885391, -0.3201906979084015, -0.5200099945068359, 0.4345318377017975, 0.8462160229682922, -0.4742374122142792, 0.5481266975402832, 0.9303646683692932, -0.30974453687667847, 0.17674046754837036, -0.6122469902038574, -0.17953623831272125, -0.476358026266098, 0.4392906129360199, -0.48722031712532043, -0.782900333404541, 0.6073750257492065, 0.07236075401306152, -0.24782852828502655, 0.3824150562286377, 0.6803786754608154, -0.045941635966300964, 1.021583080291748, 0.3451964855194092, -0.20066778361797333, 0.392578125, 0.18911343812942505, 0.041531410068273544, -0.633225679397583, -0.4961738586425781, -0.6511370539665222, -0.12458866834640503, -0.6611739993095398, -0.7126349806785583, 0.716454803943634, -0.6488553881645203, -0.18471738696098328, 0.30792611837387085, 0.07222966104745865, -0.04715253412723541, 0.5686591267585754, -0.0004639394173864275, 0.17447373270988464, -0.41699516773223877, 0.06992079317569733, -0.03173770383000374, -0.5946184396743774, -0.2994821071624756, 1.149753212928772, 0.7749142050743103, 0.9307088255882263, 0.42463648319244385, 0.3429296612739563, 0.4017181098461151, -0.06042279675602913, -0.602027952671051, 0.5154199004173279, -0.038680944591760635, -0.9451057314872742, -0.2711275815963745, -0.7482584118843079, -0.7614414095878601, 0.21829788386821747, -0.2935444414615631, -0.7137507796287537, 0.38756436109542847, 0.1725894957780838, -0.44421473145484924, 0.1796995848417282, -0.48845523595809937, 0.7916573882102966, -0.24286417663097382, -0.23196154832839966, -0.11479522287845612, -0.9093776345252991, 0.594968318939209, -0.20174908638000488, 0.7582415342330933, -0.33197999000549316, -0.039706215262413025, 0.6880214810371399, 0.42994800209999084, 1.073176383972168, -0.1781514286994934, -0.5306738018989563, 0.13425932824611664, 0.23422811925411224, 0.3880215287208557, -0.020034879446029663, -0.017173614352941513, 0.1917169839143753, 0.18522676825523376, -0.21763400733470917, -0.22449250519275665, 0.6090971231460571, -0.514764666557312, -0.4532693326473236, -0.5588883757591248, -0.9877215623855591, -0.6161278486251831, -0.06315668672323227, 0.18245074152946472, 0.5857945680618286, -0.25160127878189087, 0.4211976230144501, 0.7145446538925171, -0.5041126012802124, 0.2806472182273865, 0.4020081162452698, 0.012779534794390202, -0.4111480116844177, 1.0019199848175049, 0.03094843216240406, 0.4682663679122925, 0.26223254203796387, 0.2986166477203369, -0.3202064037322998, -0.48219868540763855, -0.034221965819597244, -0.022784249857068062, -0.8149633407592773, -0.04996950179338455, -0.45152994990348816, 0.008000504225492477, -0.6253673434257507, 0.4275169372558594, -0.14933335781097412, -0.33848026394844055, -0.08381174504756927, 0.03628724440932274, -0.03234158828854561, 0.13115505874156952, -0.09652382135391235, 0.16983242332935333, -0.8061605095863342, 0.15814410150051117, 0.5263777375221252, 0.0778331533074379, -0.18206621706485748, -0.6743488311767578, 0.1756298691034317, 0.021345481276512146, -0.23979824781417847, -0.890646755695343, 0.2841789722442627, 0.5054978132247925, 0.8803035020828247, 0.7141976356506348, 0.09424743056297302, 0.4040141999721527, -0.6319303512573242, 0.8679912686347961, 0.40738674998283386, -0.9567506909370422, 0.38842231035232544, -0.8110923171043396, 0.01573285274207592, 0.4227577745914459, 0.666315495967865, -1.0317277908325195, -0.2372017800807953, -0.6161749362945557, -0.8558701276779175, 0.26866260170936584, 0.18435971438884735, 0.5132922530174255, 0.00971879344433546, 0.013441032730042934, 0.0712418258190155, 0.2958970069885254, -0.7407083511352539, -0.12111754715442657, -0.06428369134664536, -0.18342891335487366, -0.34220075607299805, -0.3086898922920227, -0.5937338471412659, -0.08285079896450043, 0.3879282474517822, -0.08643751591444016, 0.21701839566230774, -0.09408827871084213, -0.15981365740299225, -0.01846575178205967, 0.5227804183959961, 0.8330609798431396, 0.33234408497810364, -0.2554807960987091, 0.5905323028564453, 0.04564960300922394, -0.2872649133205414, 0.20747950673103333, 0.1804099828004837, 0.1857166886329651, -0.11005187034606934, 0.684911847114563, 0.8719998598098755, 0.4687628746032715, -1.1890772581100464, 0.6999340057373047, 0.22386367619037628, -0.022717252373695374, -0.08540093153715134, -0.1625954508781433, -0.0810294970870018, 0.16818219423294067, 0.2076582908630371, 0.039765115827322006, 0.35996749997138977, -1.0285776853561401, 0.36527031660079956, 0.5458081960678101, -0.5924854278564453, -0.3586418032646179, 0.5056373476982117, 0.3391401171684265, -0.00608776556327939, 0.004259852226823568, -0.050667401403188705, -0.37275949120521545, 0.4672355651855469, 0.26709720492362976, 0.6555472016334534, -0.4822622239589691, 0.17947199940681458, -0.06424321979284286, 0.45534855127334595, 0.2535456418991089, 0.2840758264064789, 0.30620431900024414, -0.6675699353218079, -0.2244693487882614, -0.31315723061561584, -0.5045819878578186, 0.15728288888931274, -0.8351650238037109, 0.23362353444099426, -0.27112525701522827, -0.5649811029434204, 0.4583435356616974, -0.6980313062667847, -0.34618398547172546, 0.06304030120372772, 0.5989022850990295, 0.8051175475120544, -0.9234734177589417, 0.6831790804862976, 0.5717830657958984, -0.2848037779331207, -0.5289503931999207, 0.10419218242168427, 0.5412719249725342, -0.6537435054779053, 0.638465166091919, 0.1509624421596527, -0.2204807847738266, -0.28901204466819763, -0.06871237605810165, -0.8079527616500854, 0.9461142420768738, 0.4366370737552643, -0.6069424152374268, -0.3180842399597168, 0.43470239639282227, 0.24886997044086456, -0.16034743189811707, 0.12090828269720078, 0.5598392486572266, 0.5134755373001099, -0.04514378309249878, -1.3115952014923096, -0.17001104354858398, 0.006611061282455921, -0.01535889133810997, 0.20662258565425873, -0.456594318151474, 1.0958584547042847, 0.1051720455288887, 0.00559254502877593, -0.030024785548448563, 0.3691645562648773, -0.002014353172853589, 0.6028779149055481, 0.7412288188934326, 0.5280282497406006, 0.5591457486152649, -0.03396885469555855, 0.9601966738700867, -0.08298920094966888, 0.1807761788368225, 1.0796451568603516, -0.31637856364250183, 0.8422605991363525, 0.46964433789253235, -0.0557858981192112, 0.1505635380744934, 0.5164432525634766, 0.32982274889945984, 0.45088815689086914, 0.2878980040550232, -0.5143912434577942, -0.3583802878856659, -0.33672481775283813, -0.36783567070961, 0.9256165027618408, 0.5792279839515686, -0.4550761878490448, -0.1520916223526001, 0.648490309715271, 0.15089568495750427, -0.061724867671728134, -0.5042133331298828, 0.6335300207138062, 0.0799781009554863, -0.2830515503883362, 0.33042705059051514, -0.04590284824371338, 0.9084163308143616, -0.7696400284767151, 0.390491247177124, 0.13322608172893524, 0.07314710319042206, 0.021915823221206665, -0.6464008688926697, 0.28323620557785034, -0.2043793499469757, 0.10104802995920181, 0.025747688487172127, 0.5734424591064453, -0.47429078817367554, -0.4255654215812683, 0.26938697695732117, 0.419294536113739, -0.055672526359558105, -0.2974857687950134, -0.529506266117096, 0.2801114618778229, -0.30744436383247375, -0.10776462405920029, 0.5621881484985352, 0.44566670060157776, -0.11225654184818268, 0.828545868396759, 0.47361451387405396, -0.047674763947725296, 0.18232135474681854, 0.08711212128400803, 0.7579126358032227, -0.579101026058197, -0.3081062436103821, -0.6898297071456909, 0.5245500206947327, 0.2243286669254303, -0.5173244476318359, 0.8744547367095947, 0.403397798538208, 0.5166531801223755, 0.060870904475450516, 0.5799282789230347, -0.03168054297566414, 0.2629460096359253, -0.5742515325546265, 0.7371605038642883, -0.5040889382362366, -0.006615737918764353, -0.6436635851860046, -0.47091391682624817, -0.28443431854248047, 0.25788912177085876, -0.36293697357177734, -0.0799776017665863, 0.4548066258430481, 0.8456876277923584, 0.07454416900873184, -0.1083587184548378, 0.5887963771820068, 0.17352229356765747, 0.3804945647716522, 0.47658565640449524, 1.0351829528808594, -0.046036750078201294, 0.8319538235664368, -0.15287180244922638, -0.33698344230651855, -0.11724929511547089, -1.0582501888275146, -0.6890828609466553, -0.89522385597229, -0.3720843195915222, -0.32225194573402405, -0.08357027918100357, 0.743637204170227, 0.7202385663986206, -0.526353657245636, -0.012286590412259102, 0.47873449325561523, -0.33369284868240356, -0.25568336248397827, -0.15520694851875305, 0.13214340806007385, 0.01716909185051918, -0.5387614369392395, 0.462581068277359, 0.13291260600090027, -0.08043590933084488, -0.311210572719574, 0.1627287119626999, -0.147442027926445, 0.40098053216934204, 0.7741749882698059, 0.16333448886871338, -0.8244884610176086, -0.6702876687049866, -0.11959338933229446, 0.03912966325879097, -0.3592376410961151, 0.917252242565155, -0.27331432700157166, 0.2893037796020508, 0.35054779052734375, 0.5532349348068237, 0.18063853681087494, -0.4039326310157776, 0.2521516978740692, -0.9419329166412354, 0.3205851912498474, 0.5473020672798157, 0.39607927203178406, 0.23085327446460724, -0.24194157123565674, 0.1714312583208084, 0.24840116500854492, -0.3883652687072754, -1.0633405447006226, 0.5881703495979309, -1.433173656463623, -0.21059207618236542, 1.3896547555923462, -0.11365380883216858, 0.24507072567939758, -0.01640699803829193, -0.3918401300907135, 0.15300513803958893, -0.2868540585041046, 0.7453719973564148, 0.6642341613769531, -0.01504733320325613, -0.2900375723838806, -0.8285694718360901, 0.5203956961631775, 0.3478161692619324, -0.742102324962616, 0.27639925479888916, 0.5150739550590515, 0.2133740782737732, 0.4121251702308655, 0.19057540595531464, -0.28881195187568665, 0.4313279688358307, -0.016143230721354485, -0.06529168784618378, -0.07963912189006805, -0.48905274271965027, -0.5698720216751099, 0.42616069316864014, -0.06846509873867035, -0.09749076515436172 ]
http://arxiv.org/abs/2406.17419v1
http://arxiv.org/pdf/2406.17419v1
Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QA
2024-06-25T09:42:56
2024-06-25T09:42:56
Minzheng Wang, Longze Chen, Cheng Fu, Shengyi Liao, Xinghua Zhang, Bingli Wu, Haiyang Yu, Nan Xu, Lei Zhang, Run Luo, Yunshui Li, Min Yang, Fei Huang, Yongbin Li
cs.CL
cs.CL, cs.AI
Long-context modeling capabilities have garnered widespread attention, leading to the emergence of Large Language Models (LLMs) with ultra-context windows. Meanwhile, benchmarks for evaluating long-context LLMs are gradually catching up. However, existing benchmarks employ irrelevant noise texts to artificially extend the length of test cases, diverging from the real-world scenarios of long-context applications. To bridge this gap, we propose a novel long-context benchmark, Loong, aligning with realistic scenarios through extended multi-document question answering (QA). Unlike typical document QA, in Loong's test cases, each document is relevant to the final answer, ignoring any document will lead to the failure of the answer. Furthermore, Loong introduces four types of tasks with a range of context lengths: Spotlight Locating, Comparison, Clustering, and Chain of Reasoning, to facilitate a more realistic and comprehensive evaluation of long-context understanding. Extensive experiments indicate that existing long-context language models still exhibit considerable potential for enhancement. Retrieval augmented generation (RAG) achieves poor performance, demonstrating that Loong can reliably assess the model's long-context modeling capabilities.
[ -0.4958092272281647, -0.9656378030776978, 0.8033941984176636, 0.23403315246105194, -0.3401069939136505, 0.025845644995570183, -0.39779824018478394, -0.6474803686141968, 0.03613768145442009, 0.7577371001243591, -0.5414946675300598, -0.48911333084106445, -0.36127030849456787, 0.0444975420832634, -0.7175783514976501, 0.7869351506233215, -0.25750991702079773, -0.4032166600227356, -0.5387116074562073, -0.46918797492980957, -0.30045920610427856, -0.3676091730594635, -0.580008327960968, -0.17047497630119324, 0.6082329154014587, 0.1534273773431778, 0.32505980134010315, 0.4291810989379883, 0.2584853768348694, 0.22507375478744507, -0.23116610944271088, 0.24022817611694336, -0.47942230105400085, 0.2575339674949646, 0.09609706699848175, -0.22643612325191498, -0.5489788055419922, 0.08785323798656464, 0.8142176270484924, 0.6789782643318176, -0.11776423454284668, 0.23978467285633087, -0.012959188781678677, 0.5758763551712036, -0.6013016700744629, 0.13479703664779663, -0.5854912996292114, -0.1352270245552063, -0.04297046735882759, -0.222046360373497, -0.27743104100227356, -0.38757964968681335, -0.025107618421316147, -0.6511742472648621, 0.14133848249912262, -0.18879814445972443, 0.6846621036529541, 0.26876166462898254, -0.6807749271392822, -0.27471956610679626, -0.4503251016139984, 0.7393777370452881, -0.7529048323631287, 0.4253003001213074, 0.43729859590530396, 0.3858322203159332, -0.10503189265727997, -0.7255457043647766, -0.6379330158233643, -0.2558750510215759, 0.22945177555084229, 0.4842822253704071, 0.26771023869514465, -0.15749336779117584, 0.2624337375164032, 0.3116563856601715, -0.23976558446884155, 0.054642174392938614, -0.34364739060401917, 0.09597256034612656, 0.3884589672088623, -0.24035994708538055, -0.03094983845949173, 0.014718743041157722, -0.6239889860153198, 0.0007522156811319292, -0.770117998123169, 0.095040462911129, 0.12839698791503906, 0.11376078426837921, 0.03174454718828201, 0.4732937812805176, -0.18295401334762573, 0.5856209397315979, -0.18357758224010468, -0.19425103068351746, 0.33353284001350403, -0.31016916036605835, -0.25063812732696533, -0.14522987604141235, 0.5466728806495667, 0.4327749013900757, -0.058337338268756866, -0.3275432586669922, -0.31985732913017273, -0.10954642295837402, 0.1774439811706543, -0.7551576495170593, 0.4813905358314514, 0.3603646159172058, -0.2589215636253357, -0.21440264582633972, -0.45300596952438354, -0.7805913686752319, -0.5309810042381287, -0.10966936498880386, 0.34601110219955444, -0.45612195134162903, -0.14878788590431213, -0.10967472195625305, -0.18636001646518707, 0.5190837979316711, 0.4197498559951782, -0.48116323351860046, 0.5382332801818848, 0.9876184463500977, 0.6770778298377991, -0.3084789514541626, -0.6550549864768982, -0.9938199520111084, 0.24160994589328766, -0.4833013713359833, 0.8240075707435608, -0.5007367134094238, -0.5330837965011597, 0.11533038318157196, 0.09094259887933731, -0.11245660483837128, -0.6256090998649597, 0.8782640099525452, -0.5614038109779358, 0.5256969928741455, -0.28403422236442566, -0.7186354398727417, -0.045151595026254654, 0.5742073059082031, -0.6210452914237976, 1.3737890720367432, 0.4887774586677551, -0.4650120139122009, 0.15391959249973297, -0.6347075700759888, -0.5122897624969482, -0.11015273630619049, -0.2851662337779999, -0.32402658462524414, 0.14192324876785278, 0.08969135582447052, 0.11517874896526337, -0.5129801630973816, 0.16835036873817444, -0.38862845301628113, -0.7842461466789246, 0.0004392437112983316, -0.47953328490257263, 0.42343756556510925, 0.0028621861711144447, -0.47410085797309875, -0.00914002675563097, -0.9275005459785461, 0.30415472388267517, 0.045927658677101135, -0.6133202910423279, -0.3307725191116333, -0.1827383190393448, 0.18889962136745453, 0.3683732748031616, 0.3674257695674896, -0.6720009446144104, 0.09587620943784714, -0.23480111360549927, 0.37091535329818726, 0.6432546973228455, -0.12048853933811188, 0.3452623784542084, -0.5296619534492493, 0.6963568925857544, -0.12428753077983856, 0.07359088212251663, -0.31934428215026855, -0.36821386218070984, -0.5488672852516174, -0.3233342170715332, 0.23398970067501068, 0.34695062041282654, -0.510148823261261, 0.148514062166214, -0.47567108273506165, -0.3262036144733429, -0.5996426939964294, 0.2733311653137207, 0.5072965621948242, 0.6043338775634766, 0.3915163278579712, -0.161505326628685, -0.24821732938289642, -0.6489941477775574, -0.27270641922950745, -0.14694862067699432, 0.02460385300219059, 0.520384669303894, 0.34398484230041504, -0.300988107919693, 0.7783838510513306, -0.31450021266937256, -0.2780778706073761, -0.037966854870319366, -0.05910823866724968, 0.28065943717956543, 0.10526728630065918, 0.37182533740997314, -0.8508161306381226, -0.36328792572021484, -0.1273234337568283, -0.7064293026924133, -0.21981972455978394, -0.014934547245502472, -0.005567452870309353, 0.49927273392677307, 0.7448524832725525, -0.9553239941596985, 0.26129910349845886, 0.717284619808197, -0.08474858105182648, 0.6867974996566772, -0.31499430537223816, 0.1651972383260727, -1.0973422527313232, 0.2590060830116272, -0.2958376705646515, -0.14258432388305664, -0.40308234095573425, 0.4632403552532196, 0.3962101340293884, -0.5014033913612366, -0.4080955982208252, 1.1441516876220703, -0.5721526145935059, -0.3414216637611389, -0.35164332389831543, 0.5825870633125305, 0.6009548306465149, 0.3221910893917084, -0.14555051922798157, 0.9956920742988586, 0.1986013650894165, -0.3556864857673645, 0.13733355700969696, 0.18243983387947083, -0.28424495458602905, 0.6980083584785461, -0.6632784605026245, 0.13624611496925354, -0.04229772090911865, 0.5557020902633667, -0.8610510230064392, 0.02699560672044754, -0.24570232629776, -0.30043235421180725, 0.2958025336265564, -0.15962304174900055, -0.6188112497329712, -0.4862643778324127, -0.49737682938575745, 0.3605841100215912, 0.530460000038147, -0.6257417798042297, 0.65167236328125, 0.07854188233613968, -0.04390008747577667, -0.6896489858627319, -0.4366925060749054, 0.17900998890399933, -0.453913152217865, -0.5046290755271912, 0.47926774621009827, -0.33813366293907166, -0.18958419561386108, -0.26202869415283203, -0.2905241847038269, -0.33576059341430664, 0.16402804851531982, 0.36592110991477966, -0.10571986436843872, -0.30201274156570435, 0.39234659075737, -0.042592521756887436, 0.03611002489924431, 0.07346731424331665, -0.04840051755309105, 0.46805018186569214, -0.15411192178726196, -0.45765843987464905, 0.02826901711523533, 0.7764942049980164, 0.844109058380127, -0.48141998052597046, 0.4384700357913971, 0.7206137776374817, -0.23503051698207855, -0.2407834380865097, -0.7127388715744019, 0.1242862269282341, -0.5128618478775024, 0.336935818195343, -0.6495705842971802, -0.6773359775543213, 0.5952106714248657, -0.2136227786540985, 0.19480319321155548, 0.11314135789871216, 0.13869765400886536, -0.17265662550926208, 0.47385990619659424, 0.5185359716415405, -0.10850418359041214, 0.32494983077049255, 0.03731664642691612, 0.16125059127807617, -1.105186939239502, 0.1530972719192505, -0.4477699100971222, 0.2241378277540207, -0.5278534293174744, -0.6343931555747986, 0.41181468963623047, 0.4640679955482483, -0.17057955265045166, 0.31487905979156494, -0.19941389560699463, 0.48998382687568665, 0.6354895234107971, -0.005100306123495102, 0.2739091217517853, -0.3746909201145172, -0.0576261542737484, 0.3902551233768463, -0.36466750502586365, -0.32074716687202454, 1.1407272815704346, 0.17525555193424225, 0.5048906207084656, 0.15363037586212158, 1.0883299112319946, 0.11595474183559418, 0.3012503981590271, -0.651555061340332, 0.7023589015007019, -0.03855065628886223, -0.47276437282562256, -0.5837934017181396, -0.41096946597099304, -1.0798780918121338, 0.4075808525085449, 0.22804634273052216, -0.6111756563186646, -0.2558715045452118, -0.23759543895721436, -0.2760150730609894, 0.16310252249240875, -0.5868249535560608, 0.8111567497253418, -0.16616037487983704, -0.4376077651977539, -0.03289056569337845, -0.4651886522769928, 0.2993435263633728, -0.43014079332351685, 0.38971179723739624, -0.232323557138443, -0.20200969278812408, 0.5071503520011902, -0.25164172053337097, 0.6007653474807739, -0.070623017847538, -0.5540031790733337, 0.4336523413658142, -0.04430503025650978, 0.731925904750824, -0.10384824126958847, -0.41777148842811584, -0.14703302085399628, 0.3443657457828522, -0.51509690284729, -0.5635036826133728, 1.1609364748001099, -0.4888976812362671, -0.7529420852661133, -0.19504132866859436, -0.5562401413917542, -0.5465400218963623, 0.620448648929596, 0.05991436168551445, 0.4875379204750061, -0.2559959292411804, 0.14204660058021545, 0.6911096572875977, -0.37074926495552063, 0.5464240908622742, 0.6069302558898926, -0.2530452311038971, -0.2787569463253021, 0.660010039806366, 0.1069013848900795, 0.3055231273174286, 0.30053070187568665, 0.18174730241298676, -0.5547350645065308, -0.5100181102752686, -0.41258513927459717, 0.20654337108135223, -0.9231875538825989, 0.13641570508480072, -0.7213264107704163, -0.0911559984087944, -0.5585541725158691, -0.09210502356290817, -0.32645049691200256, -0.2775803506374359, -0.0732259452342987, 0.10205700248479843, 0.007213423028588295, 0.36132314801216125, 0.3330267369747162, 0.08011966198682785, -0.8663008809089661, 0.5981882810592651, 0.41874054074287415, 0.6587327718734741, -0.07701443880796432, -0.49154824018478394, -0.14987194538116455, -0.1829724758863449, -0.2028171867132187, -0.5254935622215271, -0.026295363903045654, 0.18076366186141968, 0.6182119250297546, 0.1203291118144989, 0.31359925866127014, 0.6751500964164734, -0.6223741173744202, 0.7249289751052856, 0.025836968794465065, -0.7999468445777893, 0.2632407248020172, -0.7620860934257507, 0.6596617102622986, 0.7094290256500244, 0.02336573414504528, -0.6057741045951843, -0.34878820180892944, -0.518279492855072, -1.0155012607574463, 0.17134162783622742, -0.043775524944067, 0.1587972193956375, -0.31584814190864563, 0.2512591481208801, 0.17848916351795197, 0.2929920256137848, -0.7177687287330627, 0.03259687498211861, -0.07662367820739746, 0.09128306061029434, -0.19222599267959595, -0.2479327917098999, -0.3520534038543701, 0.13700860738754272, 0.5260853171348572, -0.43283265829086304, 0.17217297852039337, 0.25518059730529785, -0.12037340551614761, 0.031173067167401314, 0.6666844487190247, 0.6494188904762268, 0.8947571516036987, -0.5357544422149658, 0.04239340126514435, 0.2482253462076187, -0.0581195205450058, 0.012187979184091091, 0.4180905222892761, 0.0120112719014287, 0.10568889230489731, 0.4209936559200287, 0.2883264720439911, 0.35320845246315, -0.9079089164733887, 0.6443807482719421, -0.07662387937307358, -0.14086128771305084, -0.6523083448410034, -0.10835444182157516, 0.3468407690525055, 0.09354715794324875, 0.5825254917144775, -0.37245413661003113, -0.09786339849233627, -0.7834882140159607, 0.25608953833580017, 0.4122623801231384, -0.535886287689209, 0.024393077939748764, 0.6385022401809692, 0.25726041197776794, -0.13414005935192108, 0.43791666626930237, -0.0064804768189787865, -0.23575502634048462, 0.8140569925308228, 0.5627992153167725, 0.7290993332862854, 0.2277628779411316, 0.15575851500034332, 0.03356786072254181, 0.15247689187526703, -0.033175449818372726, 0.2520942986011505, -0.23497918248176575, -0.2656274735927582, -0.3870232403278351, -0.5512083172798157, -0.5411089658737183, 0.43711942434310913, -0.8501846790313721, -0.011738932691514492, -0.3407137989997864, -0.05664949119091034, 0.05393243208527565, 0.3788239359855652, -0.5599073767662048, 0.38306373357772827, 0.21419399976730347, 1.1784943342208862, -0.32691389322280884, 1.0378555059432983, 0.3950985074043274, -0.08474665135145187, -0.2867642045021057, 0.13727454841136932, -0.10858498513698578, -0.6438668370246887, 0.29564350843429565, 0.6319080591201782, -0.11416707187891006, -0.19630853831768036, -0.27047714591026306, -0.835623025894165, 1.226172924041748, 0.22535571455955505, -0.5265897512435913, -0.09010287374258041, -0.07476108521223068, 0.6902986764907837, -0.24409514665603638, 0.23198623955249786, 0.48188427090644836, 0.46318191289901733, -0.10226844996213913, -0.9514615535736084, 0.19475391507148743, -0.25318142771720886, -0.2612125873565674, 0.22255633771419525, -1.017578363418579, 0.7950055599212646, -0.18891866505146027, -0.20867711305618286, 0.4577163755893707, 0.3984829783439636, 0.4271582067012787, 0.6381142139434814, 0.5281607508659363, 0.5059363842010498, 0.765699565410614, 0.06068781018257141, 1.2703924179077148, -0.4683668315410614, 0.18148909509181976, 1.6942754983901978, -0.9010134339332581, 0.9852162003517151, 0.637004017829895, 0.013463304378092289, 0.28619539737701416, 0.4821408689022064, 0.23043392598628998, 0.4005531072616577, 0.24965767562389374, -0.46528807282447815, -0.08864796161651611, -0.17082525789737701, -0.7056354880332947, 0.3834210932254791, 0.004173578694462776, -0.2098711133003235, -0.3004814088344574, -0.2351451963186264, -0.07309523969888687, 0.27388519048690796, -0.08734425902366638, 0.6101987957954407, 0.19540920853614807, -1.0718892812728882, 0.842606782913208, -0.04186427220702171, 0.4615907073020935, -0.7335308194160461, 0.10588904470205307, -0.6705589890480042, 0.1268981397151947, 0.21770335733890533, -0.6834366917610168, 0.08070201426744461, -0.31199124455451965, -0.3154098391532898, -0.1602998524904251, 0.5304214358329773, -0.4067213237285614, -0.2512901723384857, 0.690589189529419, 0.6954465508460999, 0.08453954756259918, -0.28794586658477783, -0.5309996008872986, -0.09836000949144363, -0.34710150957107544, -0.42010435461997986, 0.5973716974258423, 0.6308284401893616, -0.1839102953672409, 0.8379316926002502, 0.6778274774551392, -0.09817284345626831, -0.0005771847791038454, 0.35130250453948975, 0.9132084846496582, -0.9246771931648254, -0.45043525099754333, -0.410045862197876, -0.17848587036132812, -0.20429587364196777, -0.5103356242179871, 0.9004275798797607, 0.6778690814971924, 0.5378011465072632, 0.17145489156246185, 0.6879549026489258, 0.2640072703361511, 0.7954618334770203, -0.3964751660823822, 0.5815964341163635, -0.7181491255760193, 0.34185996651649475, -0.31360965967178345, -0.9519297480583191, 0.09692655503749847, -0.21075302362442017, -0.21447217464447021, 0.0789254680275917, 0.8253790140151978, 0.5439149737358093, -0.08202420920133591, -0.11309625208377838, 0.6332245469093323, 0.022143635898828506, 0.4162988066673279, 0.6281436085700989, 0.8435539603233337, -0.6406257748603821, 0.7585864067077637, -0.056640882045030594, -0.08018169552087784, -0.14467427134513855, -0.8943718075752258, -0.8458852171897888, -0.39483943581581116, -0.13405628502368927, -0.38919156789779663, 0.07847857475280762, 0.45749425888061523, 0.7312219738960266, -0.4142240881919861, -0.05865250155329704, 0.2387477457523346, 0.1388566941022873, -0.3545702397823334, -0.23245729506015778, 0.582679808139801, -0.3195453882217407, -0.6479266285896301, 0.8603014945983887, 0.2653232514858246, 0.07635705918073654, -0.06116841733455658, -0.023048823699355125, -0.1925024539232254, 0.29938220977783203, 0.732306718826294, 0.44371193647384644, -0.6517878770828247, -0.32038208842277527, -0.028105225414037704, -0.26393258571624756, 0.09974993765354156, 0.6669397354125977, -0.8077479600906372, 0.3306003212928772, 0.1763235330581665, 0.8046228289604187, 0.6483867764472961, 0.23764467239379883, 0.4478994607925415, -0.8324528932571411, 0.07695706188678741, 0.10805997252464294, 0.2627120614051819, 0.29785048961639404, -0.17122292518615723, 0.7519269585609436, -0.13875457644462585, -0.5435422658920288, -0.9880172610282898, 0.08856823295354843, -0.9874345064163208, -0.4847085475921631, 1.3561145067214966, -0.4663154184818268, -0.4325084388256073, 0.020436495542526245, 0.03557959944009781, 0.0038902948144823313, -0.2550843060016632, 0.9071719646453857, 0.678253710269928, 0.13479870557785034, -0.3519400358200073, -0.7058899998664856, 0.3539842665195465, 0.587481677532196, -1.0646116733551025, 0.281612753868103, 0.5294057726860046, 0.3046824336051941, 0.22237667441368103, 0.9084576964378357, -0.20939403772354126, 0.39139044284820557, 0.018114730715751648, -0.3001158833503723, -0.09603101015090942, -0.27456045150756836, -0.2316340059041977, 0.3651304244995117, 0.0020890028681606054, -0.18206365406513214 ]
http://arxiv.org/abs/2406.17415v2
http://arxiv.org/pdf/2406.17415v2
Layer-Wise Quantization: A Pragmatic and Effective Method for Quantizing LLMs Beyond Integer Bit-Levels
2024-06-25T09:37:15
2024-06-26T08:00:18
Razvan-Gabriel Dumitru, Vikas Yadav, Rishabh Maheshwary, Paul-Ioan Clotan, Sathwik Tejaswi Madhusudhan, Mihai Surdeanu
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7; I.2.0
We present a simple variable quantization approach that quantizes different layers of a large language model (LLM) at different bit levels. Specifically, we quantize the most important layers to higher bit precision and less important layers to lower bits to achieve floating point quantization levels. We propose two effective strategies to measure the importance of layers within LLMs: the first measures the importance of a layer based on how different its output embeddings are from the input embeddings (the higher the better); the second estimates the importance of a layer using the number of layer weights that are much larger than average (the smaller the better). We show that quantizing different layers at varying bits according to our importance scores results in minimal performance drop with a far more compressed model size. Finally, we present several practical key takeaways from our variable layer-wise quantization experiments: (a) LLM performance under variable quantization remains close to the original model until 25-50% of layers are moved in lower quantization using our proposed ordering but only until 5-10% if moved using no specific ordering; (b) Quantizing LLMs to lower bits performs substantially better than pruning unless extreme quantization (2-bit) is used; and (c) Layer-wise quantization to lower bits works better in the case of larger LLMs with more layers compared to smaller LLMs with fewer layers. The code used to run the experiments is available at: https://github.com/RazvanDu/LayerwiseQuant.
[ -0.3291793763637543, -0.8789077997207642, 0.6312847137451172, 0.28834450244903564, -0.3883216977119446, 0.14035198092460632, -0.19026783108711243, -0.3128812909126282, -0.05369417369365692, 0.34639790654182434, -0.1496923267841339, -0.5059936046600342, -0.3622950613498688, -0.38171905279159546, -0.3046635091304779, 0.7455751895904541, 0.19925203919410706, 0.16867120563983917, -0.36763957142829895, 0.06335119903087616, -0.0050065405666828156, -0.6307973265647888, -0.7216792702674866, -0.32505643367767334, 0.5780287384986877, 0.2645322382450104, 0.7736256718635559, 0.8381414413452148, 0.772255539894104, 0.26530635356903076, -0.2767305076122284, -0.0636707991361618, -0.2436417043209076, -0.11245577037334442, 0.07611551880836487, -0.5127094388008118, -0.7396320700645447, 0.04732485115528107, 0.7915210127830505, 0.6871234774589539, -0.25732970237731934, 0.3854873478412628, -0.3398241698741913, 0.8957832455635071, -0.6804136037826538, -0.12715521454811096, -0.25480759143829346, 0.23041437566280365, -0.20068930089473724, -0.2685701549053192, -0.24150758981704712, -0.4842669367790222, -0.08975207805633545, -0.2647820711135864, 0.06570245325565338, -0.027378443628549576, 0.6189496517181396, 0.25940486788749695, -0.5129272937774658, 0.24108122289180756, -0.894035816192627, 0.9614086747169495, -1.034051775932312, 0.4377746284008026, 0.36194753646850586, 0.19506467878818512, 0.3948177397251129, -0.7388805150985718, -0.3504202663898468, -0.241029754281044, 0.2718404233455658, 0.16296619176864624, 0.009012671187520027, 0.3721410930156708, 0.2273188829421997, 0.7075189352035522, -0.2745991349220276, 0.0310067068785429, -0.2052042931318283, -0.27761396765708923, 0.44368603825569153, 0.07387226074934006, 0.18893171846866608, -0.04939290136098862, -0.5401074290275574, -0.24609892070293427, -0.8319753408432007, 0.4208011031150818, 0.552781879901886, 0.08790069073438644, 0.09905330836772919, 0.5011782050132751, -0.09936744719743729, 0.6043023467063904, 0.035337887704372406, -0.3206599950790405, 0.12225667387247086, -0.3615967035293579, -0.27362969517707825, -0.040868744254112244, 0.5977767109870911, 0.006140492390841246, 0.07957124710083008, -0.05579201877117157, -0.6484572291374207, -0.1954580843448639, 0.3165610730648041, -0.9562857747077942, -0.229831263422966, 0.48436635732650757, -0.43048930168151855, -0.4960627257823944, -0.0339726023375988, -0.14296717941761017, -0.16363023221492767, -0.28551894426345825, 0.7153190970420837, -0.5693988800048828, -0.30242040753364563, 0.2015036642551422, 0.11599180102348328, 0.27080678939819336, 0.3521145284175873, -0.8032175302505493, 0.4383879601955414, 0.9184581637382507, 0.8290205001831055, 0.07402124255895615, -0.0140061154961586, -0.5778385996818542, 0.09837179630994797, -0.7502983212471008, 0.4576605260372162, -0.49031540751457214, -0.060969334095716476, -0.1911696344614029, -0.5445920825004578, 0.25457245111465454, -0.568156361579895, 0.4291902780532837, -0.701853334903717, 0.04823416471481323, -0.18078599870204926, -0.5695371031761169, -0.07054554671049118, 0.10919482260942459, -0.7359270453453064, 0.9818049669265747, 0.11283125728368759, -0.6635385751724243, -0.04368450865149498, -0.1928219050168991, -0.32209110260009766, 0.14990055561065674, -0.09824779629707336, -0.5917108654975891, 0.6748319864273071, 0.042097337543964386, 0.44268718361854553, -0.35764890909194946, 0.27422136068344116, -0.20087704062461853, -0.49144402146339417, 0.42537298798561096, -0.4886266887187958, 0.8774735331535339, 0.07674062252044678, -0.17499586939811707, 0.10278858989477158, -0.8502774238586426, 0.6530210971832275, -0.023808764293789864, -0.6081028580665588, -0.30117321014404297, -0.0006532181287184358, -0.059597503393888474, 0.10493849962949753, 0.31785815954208374, -0.32507196068763733, 0.13856281340122223, -0.36306318640708923, 0.9740825295448303, 0.7615392208099365, 0.19752848148345947, 0.5580592751502991, -0.09154824912548065, 0.6264950037002563, 0.0774323046207428, 0.39129793643951416, 0.2471638321876526, -0.2332594394683838, -0.868256151676178, -0.4740740656852722, 0.6712660789489746, 0.5090533494949341, -0.6966843605041504, 0.5017805099487305, -0.2017965465784073, -0.19925443828105927, -0.4443764090538025, -0.1349021941423416, 0.60478276014328, 0.13201558589935303, 0.0927267000079155, -0.5588492155075073, -0.10589490830898285, -1.005391001701355, -0.07900484651327133, -0.4257221817970276, -0.13468140363693237, -0.04362168163061142, 0.2308480143547058, 0.18627893924713135, 0.7493801712989807, -0.3100056052207947, -0.04959387332201004, 0.05366259813308716, 0.09274189174175262, 0.08198212087154388, 0.5379099249839783, 0.26049864292144775, -0.8193666934967041, -0.3348815441131592, 0.19554153084754944, -0.3127957880496979, -0.0430128313601017, 0.07794123888015747, -0.19470897316932678, 0.06918279081583023, 0.4779364764690399, -0.6617666482925415, 0.18497401475906372, 0.5424399375915527, 0.04436366260051727, 0.36662715673446655, -0.1612064093351364, -0.06441349536180496, -0.7853561043739319, -0.18418653309345245, 0.10548394173383713, -0.6378722190856934, -0.9437273740768433, 0.2241288721561432, 0.4487486779689789, 0.03576967120170593, -0.5262323617935181, 0.08707231283187866, -0.4297672212123871, -0.20897245407104492, -0.050820667296648026, -0.023102127015590668, 0.26070547103881836, 0.5934123992919922, -0.12356864660978317, 0.6837337017059326, 0.4784262180328369, -0.39255058765411377, 0.2684919834136963, -0.46962612867355347, -0.6337600946426392, 0.5983699560165405, -0.7792760133743286, 0.4038372337818146, -0.0008919232641346753, 0.0024331463500857353, -0.8306097388267517, 0.17307642102241516, 0.06537861377000809, -0.31973832845687866, 0.4044119715690613, -0.2582961618900299, -0.5994386672973633, -0.01603039912879467, -0.6429465413093567, 0.6224548816680908, 0.42343658208847046, -0.1314210444688797, 0.5408351421356201, 0.38445815443992615, 0.038873158395290375, -0.36079975962638855, -0.875411868095398, -0.09117958694696426, -0.5724583268165588, -0.7879742980003357, 0.5651320219039917, -0.37186890840530396, -0.25290849804878235, -0.09724723547697067, -0.4767152667045593, -0.2573411464691162, 0.14991424977779388, -0.05447186902165413, -0.07521812617778778, -0.4355890154838562, 0.21724525094032288, -0.06541359424591064, -0.11933943629264832, 0.23649601638317108, -0.7631198167800903, 0.42898744344711304, -0.48904263973236084, -0.19493281841278076, -0.20205965638160706, 0.2957586348056793, 0.17769663035869598, -0.386569082736969, 0.6643204689025879, 0.9653756022453308, -0.45059964060783386, -0.34871774911880493, -0.5078477263450623, 0.12429681420326233, -0.5262109041213989, 0.3523685336112976, -0.47814813256263733, -1.0423167943954468, 0.7184089422225952, -0.009863252751529217, -0.2997843325138092, 0.22615833580493927, 0.44837281107902527, -0.22737209498882294, 1.0937581062316895, 0.8111241459846497, 0.01721058040857315, 0.7062305808067322, -0.45075222849845886, 0.49409985542297363, -0.9101194739341736, 0.145303413271904, -0.26452717185020447, -0.2624816596508026, -0.7586910724639893, -0.6484548449516296, 0.4749852120876312, 0.7107744812965393, -0.39322975277900696, 0.053803130984306335, -0.41392794251441956, 0.8376523852348328, 0.5529618263244629, 0.33632925152778625, 0.23377105593681335, 0.13946330547332764, 0.09049314260482788, -0.009868375957012177, -0.7089928388595581, -0.3698645532131195, 0.6708208322525024, 0.5733899474143982, 0.6135760545730591, 0.4726266860961914, 0.8142713904380798, 0.2314920276403427, -0.14097045361995697, -0.9343171119689941, 0.48003941774368286, -0.24980837106704712, -0.3407435119152069, -0.5224392414093018, -0.6818301677703857, -0.4825885593891144, 0.3104378581047058, 0.16187885403633118, -0.638055682182312, 0.257987916469574, 0.11753138154745102, -0.6400156021118164, 0.17519837617874146, -0.9725551009178162, 0.6579557061195374, -0.21233657002449036, -0.18291522562503815, -0.18807780742645264, -0.7196664810180664, 0.30038824677467346, -0.03992639109492302, 0.244862899184227, -0.012990646995604038, -0.488658607006073, 0.5756859183311462, -0.5487814545631409, 0.8490580320358276, -0.011885492131114006, -0.4321792423725128, 0.3388500511646271, 0.3414509892463684, 0.5121700167655945, 0.1535387933254242, 0.07584995776414871, 0.26534155011177063, 0.09573665261268616, -0.5594564080238342, -0.6886627674102783, 0.8391002416610718, -0.9923771619796753, -0.7822906970977783, -0.0358160063624382, -0.5979938507080078, -0.1471821367740631, 0.06233622878789902, 0.026504579931497574, 0.6856883764266968, 0.2815302908420563, 0.2837105989456177, 0.9065024256706238, -0.119426429271698, 0.350674569606781, 0.30132538080215454, -0.03505389764904976, -0.5277434587478638, 1.4469751119613647, 0.3289420008659363, 0.7046201229095459, 0.9370743036270142, 0.6389689445495605, 0.0986269861459732, -0.7939514517784119, -0.04816487058997154, -0.05577928200364113, -0.9485838413238525, -0.3514399528503418, -0.4271935522556305, -0.5261905193328857, -0.308020681142807, 0.10116315633058548, -0.5674574971199036, -0.9074360132217407, -0.0696185976266861, -0.17536459863185883, 0.2256188839673996, 0.44896888732910156, -0.23216170072555542, 0.31420812010765076, -0.5669252276420593, 0.24067559838294983, 0.5655637979507446, 0.4172540307044983, 0.054099373519420624, -0.5166463851928711, -0.6378481984138489, -0.17618517577648163, -0.12547360360622406, -0.5744431614875793, 0.36238205432891846, 0.28789764642715454, 0.396183043718338, 0.2799340486526489, -0.1015816256403923, 0.7018865346908569, -0.3754080832004547, 0.7191295623779297, 0.11426495015621185, -1.373958945274353, 0.5509184002876282, -0.23420925438404083, 0.4116356372833252, 0.37650689482688904, 0.23836582899093628, -0.3725692331790924, -0.26547175645828247, -0.584496021270752, -1.312584638595581, 0.7476515173912048, 0.3594239354133606, 0.038255032151937485, 0.1803102046251297, 0.39890167117118835, -0.23758092522621155, 0.47569313645362854, -0.9315298199653625, -0.42365989089012146, -0.010531539097428322, -0.12118490785360336, 0.08872941136360168, -0.40737384557724, -0.2019479125738144, -0.11039884388446808, 0.4382305443286896, -0.020679231733083725, 0.3762328326702118, 0.051132190972566605, -0.19839781522750854, -0.2795778512954712, 0.1186804249882698, 0.5243142247200012, 0.9695129990577698, -0.48378077149391174, 0.6384689211845398, -0.008292168378829956, -0.5379988551139832, 0.07649952918291092, -0.29782024025917053, -0.27387866377830505, -0.27592962980270386, 0.5045772790908813, 0.9376091361045837, 0.07550042122602463, -0.16968196630477905, 0.5557472109794617, 0.02328401431441307, -0.09692919254302979, -0.2042776644229889, 0.09858036786317825, 0.16870853304862976, 0.5835350155830383, 0.1949324607849121, -0.0993550717830658, 0.1322283297777176, -0.4530926048755646, -0.10190830379724503, 0.41424626111984253, -0.2823808491230011, -0.4181070923805237, 0.2676224112510681, 0.05488842725753784, -0.5369617342948914, 0.30225375294685364, -0.042939748615026474, -0.4891696274280548, 0.8518358469009399, 0.33808600902557373, 0.8183987736701965, -0.19686932861804962, 0.35989508032798767, 0.1307668536901474, 0.518539547920227, -0.131343275308609, 0.11936464160680771, -0.2563769519329071, -0.6614938378334045, -0.6995540857315063, -0.44816917181015015, -0.41910871863365173, 0.09275214374065399, -0.768197774887085, -0.005506080109626055, -0.7090545296669006, -0.2556658387184143, 0.1291252225637436, 0.3673638105392456, -0.6026850342750549, 0.22200140357017517, 0.27653947472572327, 0.6690371036529541, -0.6067036390304565, 1.0581640005111694, 0.6268101334571838, -0.40690964460372925, -0.7585632801055908, 0.021019773557782173, -0.2357245534658432, -0.8476846218109131, 0.509607195854187, -0.1010783240199089, -0.09034515172243118, 0.29653653502464294, -0.7710700631141663, -1.1789482831954956, 1.3229764699935913, 0.4736592173576355, -0.638759434223175, 0.22264821827411652, 0.31676629185676575, 0.6020169258117676, -0.24921831488609314, 0.45132821798324585, 0.5163834095001221, 0.202610045671463, -0.02276652492582798, -0.5277062654495239, -0.05893006920814514, -0.09909944236278534, 0.6893986463546753, 0.43935441970825195, -0.9059241414070129, 0.9682125449180603, -0.10477393865585327, -0.33586108684539795, -0.11630937457084656, 0.5923934578895569, 0.19681872427463531, 0.0410115122795105, 0.5674190521240234, 0.507756233215332, 0.6548094749450684, 0.08410611748695374, 1.1425511837005615, -0.26385200023651123, 0.5324525833129883, 0.7489506006240845, 0.07631030678749084, 0.8330296874046326, 0.7111254930496216, -0.4585171639919281, 0.13747729361057281, 0.6742404103279114, 0.5355766415596008, 0.6817793846130371, 0.5835157632827759, -0.21170826256275177, -0.5299516916275024, -0.08335839956998825, -0.265142560005188, -0.10083084553480148, 0.24645572900772095, -0.038815248757600784, 0.2246415615081787, -0.13762295246124268, -0.18359462916851044, -0.24825625121593475, -0.2874195873737335, 0.6161221265792847, 0.31529906392097473, -0.1649189591407776, 0.6516636610031128, 0.2864076495170593, 0.4562446177005768, -0.6644648909568787, 0.12268688529729843, -0.5828465819358826, 0.12511540949344635, -0.22639550268650055, -0.720375657081604, -0.016709083691239357, -0.09714965522289276, -0.4026268422603607, -0.4844568073749542, 0.6408420205116272, -0.5457268357276917, -0.7943875193595886, 0.05266893655061722, 0.5326624512672424, 0.1357031911611557, -0.16647061705589294, -0.5767001509666443, 0.3503459692001343, -0.05830676108598709, -0.6833388209342957, 0.5801733136177063, 1.016175389289856, -0.24653153121471405, 0.6030673384666443, 0.44983747601509094, 0.3049798607826233, 0.17148245871067047, 0.5695260167121887, 0.8899004459381104, -0.9102272987365723, -0.345951646566391, -0.7604665756225586, 0.4256848990917206, 0.2708047926425934, -0.14017073810100555, 0.5205754041671753, 0.2532077729701996, 1.036643147468567, 0.20623202621936798, 0.3666051924228668, 0.11022470146417618, 0.0064070019870996475, -0.7730336785316467, 0.15036049485206604, -0.5128746032714844, 0.7025233507156372, -0.11510410159826279, -1.29112708568573, -0.4091630280017853, 0.8377814888954163, -0.16312073171138763, 0.19612672924995422, 0.7331562638282776, 0.6128033399581909, 0.06887101382017136, -0.31304821372032166, 0.5996275544166565, 0.24431926012039185, 0.42525920271873474, 0.6459384560585022, 1.0467358827590942, -0.546043336391449, 0.46282389760017395, -0.8582190275192261, -0.16767171025276184, 0.15457786619663239, -1.0089508295059204, -0.6764981746673584, -0.45998328924179077, -0.7748015522956848, -0.060895055532455444, -0.006387705449014902, 0.64760822057724, 0.8459348678588867, -0.5590863227844238, -0.3302951753139496, -0.06007891893386841, 0.1769549697637558, -0.3622053563594818, -0.3103823661804199, 0.4687213599681854, -0.06830652058124542, -0.534622848033905, 0.17407289147377014, 0.44874945282936096, -0.05842975527048111, -0.652928352355957, -0.052322868257761, 0.01775994896888733, 0.1915072649717331, 0.795712411403656, -0.23808583617210388, -0.7051678895950317, -0.4465101957321167, -0.11616260558366776, -0.3935621380805969, 0.020504774525761604, 0.9804789423942566, -0.6159325838088989, 0.2499217391014099, 0.7443698644638062, 0.4553440511226654, 0.675082266330719, 0.10351500660181046, 0.3469296097755432, -1.2109627723693848, 0.044341977685689926, 0.35911276936531067, -0.053323894739151, 0.47704851627349854, -0.48474979400634766, 0.5709553956985474, -0.01971251890063286, -0.6118911504745483, -0.8038021326065063, 0.1698068529367447, -1.130630373954773, -0.24640075862407684, 1.140868067741394, -0.25960439443588257, -0.48049280047416687, 0.47731244564056396, 0.1843833029270172, 0.0028227651491761208, -0.2879999279975891, 0.6207153797149658, 0.6533977389335632, 0.011254689656198025, -0.47230979800224304, -0.6703323721885681, 0.35134267807006836, 0.4382024109363556, -0.6110350489616394, -0.09540971368551254, 0.3013768196105957, 0.09986493736505508, 0.20016413927078247, 0.7124535441398621, -0.0935024693608284, -0.06776534765958786, -0.24461901187896729, 0.0659959614276886, -0.007035124581307173, -0.3736581802368164, -0.5672807097434998, 0.13601569831371307, 0.2280169576406479, -0.1524854600429535 ]
http://arxiv.org/abs/2406.17404v1
http://arxiv.org/pdf/2406.17404v1
Make Some Noise: Unlocking Language Model Parallel Inference Capability through Noisy Training
2024-06-25T09:25:39
2024-06-25T09:25:39
Yixuan Wang, Xianzhen Luo, Fuxuan Wei, Yijun Liu, Qingfu Zhu, Xuanyu Zhang, Qing Yang, Dongliang Xu, Wanxiang Che
cs.CL
cs.CL, cs.LG
Existing speculative decoding methods typically require additional model structure and training processes to assist the model for draft token generation. This makes the migration of acceleration methods to the new model more costly and more demanding on device memory. To address this problem, we propose the Make Some Noise (MSN) training framework as a replacement for the supervised fine-tuning stage of the large language model. The training method simply introduces some noise at the input for the model to learn the denoising task. It significantly enhances the parallel decoding capability of the model without affecting the original task capability. In addition, we propose a tree-based retrieval-augmented Jacobi (TR-Jacobi) decoding strategy to further improve the inference speed of MSN models. Experiments in both the general and code domains have shown that MSN can improve inference speed by 2.3-2.7x times without compromising model performance. The MSN model also achieves comparable acceleration ratios to the SOTA model with additional model structure on Spec-Bench.
[ -0.2866462767124176, -0.734490692615509, 0.4528977572917938, 0.08809798210859299, -0.046074386686086655, 0.07015322148799896, -0.201389878988266, -0.6112003922462463, 0.2526443600654602, 0.4970187842845917, -0.6157690286636353, -0.2812085747718811, -0.6522809863090515, -0.008007939904928207, -0.44216299057006836, 0.7841026186943054, 0.2903655767440796, 0.286124587059021, 0.1772739440202713, 0.26314789056777954, -0.1152535229921341, -0.5145214796066284, -1.0465164184570312, 0.0033998810686171055, 0.4042530059814453, 0.12653186917304993, 0.678062379360199, 0.8458109498023987, 0.2814747393131256, 0.31475210189819336, -0.4147695004940033, 0.20730812847614288, -0.5070821046829224, 0.1371275931596756, 0.08615648001432419, -0.738403856754303, -0.4806627929210663, -0.2331882119178772, 0.6604629158973694, 0.6609376668930054, 0.013923580758273602, 0.025935109704732895, -0.14302250742912292, 0.674315869808197, -0.7705417275428772, 0.3714517056941986, -0.6964218020439148, -0.0609956756234169, -0.27762219309806824, 0.044063422828912735, -0.5684980154037476, -0.09465496987104416, -0.04362143203616142, -0.575543999671936, 0.28863200545310974, 0.22495467960834503, 0.9277037382125854, 0.2678374648094177, 0.03851788863539696, -0.00021513695537578315, -0.8371868133544922, 0.9360896348953247, -1.0297709703445435, 0.4411751329898834, 0.5210602879524231, 0.23384709656238556, -0.03320593014359474, -0.7978534698486328, -0.46066609025001526, -0.12130796909332275, -0.011197799816727638, 0.05268435552716255, -0.2902078330516815, 0.2642894685268402, 0.5639785528182983, 0.22803044319152832, -0.39069029688835144, -0.0037856558337807655, -0.4980716109275818, -0.13231903314590454, 0.41676419973373413, 0.11433883011341095, 0.19557112455368042, 0.05596499517560005, 0.31105825304985046, -0.016409020870923996, -0.5803811550140381, -0.07371124625205994, 0.4978666305541992, 0.6552670001983643, 0.007475352380424738, 0.191701278090477, -0.36112114787101746, 0.663542628288269, -0.07488096505403519, -0.07563444972038269, 0.24541634321212769, -0.2823657989501953, -0.32528865337371826, 0.24045850336551666, 0.5067830681800842, 0.2328476458787918, 0.15871693193912506, -0.1841256022453308, -0.3650721609592438, 0.24708744883537292, 0.21048559248447418, -1.1754459142684937, -0.35654938220977783, 0.06633563339710236, -0.7683889865875244, -0.4128633439540863, -0.24509687721729279, -0.4856284558773041, -0.24861282110214233, -0.635208785533905, 0.13317559659481049, -0.45180097222328186, -0.6473464369773865, 0.29529044032096863, -0.11433342099189758, -0.16636043787002563, 0.1666330099105835, -1.1308865547180176, 0.44477352499961853, 0.6194377541542053, 0.921888530254364, 0.004215207416564226, -0.2786148488521576, -0.5804384350776672, -0.08329014480113983, -0.6100960373878479, 0.7506182789802551, -0.7952486872673035, -0.19009889662265778, -0.15467555820941925, 0.08279923349618912, -0.3601745367050171, -0.5371052026748657, 0.20824049413204193, -0.4981893301010132, -0.31013351678848267, -0.41859543323516846, -0.3464900255203247, -0.18574661016464233, 0.12061125785112381, -0.49485477805137634, 1.0293171405792236, 0.1514638513326645, -0.8092800378799438, 0.29466649889945984, -0.634951114654541, -0.37837332487106323, -0.31897106766700745, -0.08041371405124664, -0.493425577878952, 0.28711676597595215, 0.3443044126033783, 0.252750426530838, -0.25919950008392334, 0.2768498659133911, -0.33138614892959595, -0.5716290473937988, -0.032854802906513214, -0.41836363077163696, 0.8304699063301086, 0.6008771657943726, -0.18743932247161865, 0.14635759592056274, -0.8482837080955505, -0.12923814356327057, -0.12582837045192719, -0.10402967035770416, -0.29994162917137146, 0.045625511556863785, -0.16098922491073608, 0.09834840148687363, -0.21182100474834442, -0.5514559745788574, 0.03294987604022026, -0.7239189147949219, 0.47558608651161194, 0.40606117248535156, 0.03511013463139534, 0.43221592903137207, -0.5233721137046814, 0.5052143931388855, 0.35725632309913635, 0.0026464920956641436, -0.21535201370716095, -0.48747220635414124, -0.8715943694114685, -0.2978954017162323, 0.6115952730178833, 0.2269074022769928, -0.7264332175254822, -0.11592061817646027, -0.2731938064098358, -0.26795899868011475, -0.8091909885406494, 0.15748362243175507, 0.3387893736362457, 0.2786753177642822, 0.12444943189620972, -0.22222387790679932, -1.1069526672363281, -0.6949084997177124, -0.23594467341899872, -0.2079216092824936, -0.1579706221818924, 0.13497881591320038, 0.32918885350227356, 0.19681687653064728, 0.711996853351593, -0.09919801354408264, -0.054054394364356995, -0.3082340657711029, 0.33312395215034485, 0.12356910854578018, 0.710563600063324, 0.6375657916069031, -0.5242248177528381, -0.45181363821029663, -0.0499119907617569, -0.67833012342453, -0.08100557327270508, -0.18882210552692413, -0.0598696768283844, 0.04444330930709839, 0.9334141612052917, -0.4123796224594116, 0.3722324073314667, 0.43616437911987305, 0.02471120096743107, 0.36265426874160767, -0.08643628656864166, 0.110966257750988, -1.1816973686218262, -0.22768738865852356, -0.36255937814712524, -0.15801797807216644, -0.602445662021637, -0.018963968381285667, -0.1694500744342804, -0.14754410088062286, -0.436532199382782, 0.10681198537349701, -0.5483977198600769, -0.11028541624546051, -0.4309449791908264, -0.11945660412311554, -0.10954007506370544, 0.39080527424812317, 0.09439004212617874, 1.0746040344238281, 1.1274305582046509, -0.5912021994590759, -0.2799166440963745, -0.02685697376728058, -0.24791091680526733, 0.038381192833185196, -0.43401622772216797, -0.004832599312067032, -0.3655630648136139, -0.005764518398791552, -0.7800463438034058, -0.008666041307151318, 0.04180742800235748, -0.22415833175182343, 0.40782463550567627, -0.45462659001350403, -0.5853996872901917, -0.2504015266895294, -0.09672373533248901, 0.36076223850250244, 0.6305538415908813, -0.48638346791267395, 0.5196263790130615, 0.45440196990966797, 0.01708325184881687, -0.3270244598388672, -1.050420880317688, 0.23745912313461304, 0.19067667424678802, -0.587760329246521, 0.2975420653820038, 0.03442846238613129, -0.10812227427959442, 0.01784907653927803, -0.16180792450904846, -0.14767035841941833, 0.056835900992155075, 0.3554171621799469, -0.01992819458246231, -0.7556824684143066, -0.0012339347740635276, 0.23111972212791443, -0.31158387660980225, 0.0724489763379097, -0.44512179493904114, 0.23070548474788666, -0.3492079973220825, -0.1999133825302124, -0.5145753026008606, 0.22825436294078827, 0.6634179949760437, -0.21961292624473572, 0.8255398869514465, 0.5981228351593018, -0.2637268006801605, -0.33188357949256897, -0.45245829224586487, -0.5548505187034607, -0.48235994577407837, 0.48213329911231995, -0.6559494137763977, -0.9060196280479431, 0.44117435812950134, -0.48359495401382446, 0.021603964269161224, 0.03950963169336319, 0.5182443857192993, 0.22113190591335297, 1.2850033044815063, 0.5966339111328125, -0.021077636629343033, 0.6663451790809631, -0.28518369793891907, 0.2490769624710083, -0.5371145009994507, 0.10054727643728256, -0.6528221368789673, -0.4754696488380432, -0.5490787029266357, -0.44963282346725464, -0.09700600802898407, 0.2029571235179901, -0.22944097220897675, 0.49957209825515747, -0.46231457591056824, 0.66673344373703, 0.6685656905174255, 0.15131822228431702, 0.2822269797325134, 0.30594488978385925, -0.17374730110168457, -0.13452771306037903, -0.9463698267936707, -0.1442623734474182, 1.0192323923110962, 0.31820327043533325, 0.6832322478294373, -0.00609164172783494, 0.6275100111961365, -0.05632300302386284, 0.311993271112442, -0.5295359492301941, 0.4184125065803528, -0.36248067021369934, -0.6100704073905945, -0.1840192824602127, -0.4722815454006195, -0.7122575640678406, 0.18844804167747498, -0.22033289074897766, -1.030451774597168, 0.43142783641815186, 0.14746974408626556, -0.3561805188655853, 0.6880545616149902, -0.7820302248001099, 0.6338047981262207, 0.49338871240615845, -0.19385896623134613, -0.2472001165151596, -0.43162134289741516, 0.6095007061958313, 0.0666201114654541, 0.14029404520988464, -0.09944158047437668, 0.4017706513404846, 0.7782224416732788, -0.448650062084198, 1.1698315143585205, -0.20025765895843506, 0.1996650993824005, 0.542182981967926, 0.32908228039741516, 0.8190904855728149, -0.23828795552253723, -0.5343738794326782, 0.363894522190094, 0.12331041693687439, -0.41961538791656494, -0.6139069199562073, 0.5492106676101685, -0.5985759496688843, -0.4647405743598938, 0.024563465267419815, -0.9559155106544495, -0.1835474669933319, 0.0667099580168724, 0.175013467669487, 0.20403726398944855, 0.055472876876592636, 0.16787566244602203, 0.4324982762336731, 0.23555612564086914, 0.7913990020751953, 0.5294787287712097, -0.19144558906555176, -0.061716992408037186, 1.1422699689865112, 0.27753588557243347, 0.10796371847391129, 0.20158633589744568, 0.16997583210468292, -0.05623332038521767, -0.7975684404373169, -0.4539608657360077, -0.04527653753757477, -0.3688358962535858, -0.07446322590112686, -0.8309256434440613, -0.5245104432106018, -0.329926073551178, 0.08205007761716843, -0.690357506275177, -0.5698204636573792, 0.03461635112762451, -0.10432091355323792, 0.4124032258987427, 0.7526485919952393, -0.12140568345785141, 0.9260047674179077, -0.7508512139320374, 0.2931545674800873, 0.08365071564912796, 0.3002666234970093, 0.1843252182006836, -0.7513144016265869, -0.42806679010391235, 0.009934752248227596, -0.04689417779445648, -0.5675719380378723, 0.34588387608528137, 0.19135010242462158, 0.295342355966568, 0.5488891005516052, 0.3132352828979492, 0.8238974213600159, -0.3500420153141022, 0.505618691444397, 0.1132240742444992, -0.8743979930877686, 0.33172309398651123, -0.21541596949100494, 0.2632811963558197, 0.5304108262062073, -0.0146120460703969, -0.03915278613567352, -0.8135194182395935, -0.6183582544326782, -0.38626518845558167, 1.1569899320602417, 0.4999810457229614, 0.1804644763469696, -0.0045533981174230576, 0.20048795640468597, -0.12131741642951965, 0.21961107850074768, -0.6101404428482056, -0.28755465149879456, -0.06719079613685608, -0.12087155133485794, 0.32939839363098145, -0.5668123960494995, 0.0415007509291172, -0.40156090259552, 0.6348274946212769, -0.03386465460062027, 0.12631650269031525, 0.028553515672683716, -0.030385367572307587, -0.2941761910915375, 0.19385093450546265, 0.5095750689506531, 0.5719568133354187, -0.2848481237888336, 0.2851864695549011, 0.29995208978652954, -0.3910507261753082, -0.11574593931436539, 0.002793142106384039, -0.5971702933311462, 0.2570512294769287, 0.17900069057941437, 1.0938767194747925, 0.24573849141597748, -0.3569619953632355, 0.3811319172382355, -0.10701747238636017, -0.5528243780136108, 0.2289879471063614, 0.19386568665504456, 0.2143966257572174, 0.2700340151786804, -0.07727939635515213, 0.7781733274459839, 0.24097542464733124, -0.13841353356838226, 0.33989328145980835, 0.12180472165346146, -0.5428835153579712, -0.4453064501285553, 0.7298657894134521, -0.07283160090446472, -0.22559908032417297, 0.268928587436676, -0.5036130547523499, -0.3183242082595825, 0.5003395676612854, 0.8550116419792175, 0.9069797992706299, -0.13050630688667297, 0.11114439368247986, 0.6164186596870422, 0.5345534086227417, -0.4357937276363373, 0.5515275001525879, -0.0696108266711235, -0.7618409395217896, -0.8771402835845947, -0.7827609181404114, -0.15458843111991882, 0.20807543396949768, -0.5721033811569214, -0.019573930650949478, -0.6943610906600952, -0.10329782217741013, 0.08410812169313431, -0.4393554627895355, -0.3475130796432495, 0.12209691852331161, 0.08609947562217712, 0.6679860353469849, -0.8530943393707275, 1.0506844520568848, 0.43339982628822327, -0.3017510771751404, -0.7847837209701538, -0.03397735580801964, 0.011104568839073181, -0.7308929562568665, 0.8828251361846924, 0.1802091747522354, -0.1537971943616867, 0.1378972977399826, -0.5641034841537476, -0.7774518728256226, 0.4563930928707123, 0.8016899824142456, -0.9131476283073425, 0.031557608395814896, 0.10809008032083511, 0.4171568751335144, -0.5429477691650391, 0.44600892066955566, 0.6956804990768433, 0.42590904235839844, 0.13161517679691315, -0.6866362690925598, 0.225251704454422, -0.1100415363907814, 0.21822814643383026, -0.017814254388213158, -0.4291023313999176, 0.9586756229400635, -0.3182827830314636, -0.2699337899684906, 0.11430630087852478, 0.66874098777771, 0.168672576546669, 0.32598596811294556, 0.7088701128959656, 0.45024967193603516, 0.8504207730293274, 0.0745745375752449, 0.8534919619560242, -0.6542562246322632, 0.10567734390497208, 1.2463685274124146, -0.09495750069618225, 0.8523054718971252, 0.4709728956222534, -0.22669795155525208, 0.31764495372772217, 0.5577016472816467, -0.014730098657310009, 0.40294137597084045, 0.38636550307273865, -0.3145236372947693, -0.6909251809120178, -0.28305935859680176, -0.40872183442115784, 0.237186998128891, 0.35172003507614136, -0.40938737988471985, -0.4921267032623291, 0.06747446954250336, -0.1369992196559906, 0.03836735710501671, -0.17758210003376007, 0.6553441882133484, 0.24785679578781128, -0.27781611680984497, 0.7894106507301331, 0.013150093145668507, 0.5545547008514404, -0.587167501449585, -0.09986609220504761, -0.12544390559196472, 0.13455259799957275, -0.06918089836835861, -0.07946770638227463, 0.6669201254844666, -0.20422396063804626, -0.4506998360157013, -0.1781148463487625, 0.5105301141738892, -0.4753682017326355, -0.7919789552688599, 0.40870732069015503, 0.5118431448936462, 0.5875886678695679, -0.38014042377471924, -0.732384443283081, 0.18726390600204468, 0.0833706185221672, -0.2208849936723709, 0.4809828996658325, 0.5314440727233887, -0.07900267839431763, 0.6389197111129761, 1.0167666673660278, 0.22446298599243164, 0.12594354152679443, 0.5136770009994507, 0.9626957774162292, -0.4877510666847229, -0.5079479813575745, -0.7440088987350464, 0.1993902623653412, 0.010670939460396767, -0.14431452751159668, 0.5925330519676208, 0.5858954787254333, 0.7361499667167664, -0.18398259580135345, 0.6721789240837097, -0.08442746847867966, 0.3871783912181854, -0.6630995273590088, 0.9033011794090271, -0.47496652603149414, 0.6639449000358582, -0.06644131243228912, -0.6819692254066467, -0.33768942952156067, 0.2954537868499756, -0.27323466539382935, 0.00684455968439579, 0.7918395400047302, 1.5410486459732056, -0.30077287554740906, 0.2465023547410965, 0.8116828799247742, 0.6209182143211365, -0.021527228876948357, 0.32037657499313354, 0.6398073434829712, -0.8300082087516785, 0.8439448475837708, -0.3743334710597992, 0.03228020295500755, 0.03186086192727089, -0.657708466053009, -1.0516036748886108, -0.22943033277988434, -0.47847986221313477, -0.6847859025001526, 0.38778358697891235, 0.5649043321609497, 1.23031485080719, -1.3638148307800293, -0.2569712698459625, -0.6068696975708008, 0.18977750837802887, -0.5721138715744019, -0.21299655735492706, 0.4692983031272888, -0.8507320880889893, -1.063718557357788, 0.7804173827171326, 0.15001341700553894, 0.0059754569083452225, 0.27987736463546753, -0.15124674141407013, -0.09091823548078537, -0.010422389954328537, 0.3915769159793854, 0.34962040185928345, -0.6230087876319885, -0.013288374058902264, -0.08831977844238281, 0.011625576764345169, 0.037913303822278976, 1.0158179998397827, -0.6828674674034119, 0.6441417932510376, 0.5205700397491455, 0.8647794723510742, 0.8642998337745667, -0.22651706635951996, 0.7298232316970825, -0.8925442695617676, 0.6328182220458984, -0.17220211029052734, 0.3800431787967682, -0.033216074109077454, -0.28091976046562195, 0.3276069462299347, 0.36798784136772156, -0.18377220630645752, -0.9297060966491699, 0.05125560611486435, -0.709793746471405, -0.5564879179000854, 1.0259573459625244, -0.16115427017211914, -0.48620009422302246, -0.4751346707344055, -0.23777785897254944, 0.26920026540756226, -0.5078365802764893, 0.6279372572898865, 0.3509518504142761, 0.14925837516784668, -0.4141417443752289, -0.7042069435119629, 0.6657653450965881, 0.7441858649253845, -0.312166303396225, 0.2574395537376404, 0.008850349113345146, 0.0964801013469696, 0.14838425815105438, 0.5014280080795288, -0.06456881761550903, 0.23912449181079865, 0.8427025079727173, 0.17108744382858276, -0.45313140749931335, -0.316158264875412, -0.1397830694913864, 0.15767696499824524, 0.06583762913942337, -0.4162677228450775 ]
http://arxiv.org/abs/2406.17385v1
http://arxiv.org/pdf/2406.17385v1
Native Design Bias: Studying the Impact of English Nativeness on Language Model Performance
2024-06-25T09:04:21
2024-06-25T09:04:21
Manon Reusens, Philipp Borchert, Jochen De Weerdt, Bart Baesens
cs.CL
cs.CL
Large Language Models (LLMs) excel at providing information acquired during pretraining on large-scale corpora and following instructions through user prompts. This study investigates whether the quality of LLM responses varies depending on the demographic profile of users. Considering English as the global lingua franca, along with the diversity of its dialects among speakers of different native languages, we explore whether non-native English speakers receive lower-quality or even factually incorrect responses from LLMs more frequently. Our results show that performance discrepancies occur when LLMs are prompted by native versus non-native English speakers and persist when comparing native speakers from Western countries with others. Additionally, we find a strong anchoring effect when the model recognizes or is made aware of the user's nativeness, which further degrades the response quality when interacting with non-native speakers. Our analysis is based on a newly collected dataset with over 12,000 unique annotations from 124 annotators, including information on their native language and English proficiency.
[ -0.40845388174057007, -0.6137173175811768, 0.21729736030101776, 0.24847351014614105, -0.049603044986724854, 0.32079386711120605, -0.3693421185016632, -0.9635783433914185, 0.1660332977771759, 0.20331119000911713, -0.26159214973449707, -0.4420207440853119, -0.4328593909740448, 0.4070047438144684, -0.011526218615472317, 0.6280292272567749, 0.03856103867292404, 0.17169848084449768, -0.5905122756958008, -0.11117298156023026, -0.6888557076454163, -0.679635226726532, -0.5121893286705017, -0.3004583418369293, 0.4538376033306122, 0.3900625705718994, 0.6992518901824951, 0.281242311000824, 0.36235976219177246, 0.23399291932582855, -0.2630913555622101, -0.011253290809690952, -0.6273261308670044, 0.0912117063999176, -0.3376176357269287, -0.728710412979126, -0.5719915628433228, 0.10922300815582275, 0.38036423921585083, 0.7107105255126953, 0.18481895327568054, 0.31667426228523254, 0.2644582986831665, 0.40531623363494873, -0.5747067332267761, 0.08220241218805313, -0.5676376223564148, -0.07020571082830429, -0.3189097046852112, -0.1961134523153305, -0.6309013962745667, -0.2902911305427551, 0.19422832131385803, -0.6746704578399658, 0.37357574701309204, 0.17995986342430115, 0.8076509237289429, 0.07122921943664551, -0.6632775068283081, -0.07378916442394257, -0.7640441060066223, 0.8038284182548523, -0.9633321166038513, 0.5413471460342407, 0.4708593189716339, -0.0904456302523613, -0.16044798493385315, -0.035921551287174225, -0.3019407391548157, -0.4645090103149414, -0.2999570369720459, -0.031904932111501694, -0.07821626216173172, 0.018558690324425697, 0.43323782086372375, 0.4395431578159332, -0.7883168458938599, 0.7343527674674988, -0.5384238362312317, -0.32591021060943604, 0.9057893753051758, 0.08094441890716553, 0.2140580713748932, -0.09051865339279175, -0.05188370123505592, 0.156625896692276, -0.8722474575042725, 0.3413696587085724, 0.6058217883110046, 0.46656906604766846, -0.42639490962028503, 0.37131720781326294, -0.07352887094020844, 0.7628222703933716, -0.15072257816791534, -0.4983798563480377, 0.5585117936134338, -0.11357107758522034, 0.12157898396253586, -0.13132432103157043, 0.7531201243400574, 0.5483132600784302, 0.7756968140602112, -0.16045880317687988, -0.4395221471786499, 0.13296787440776825, -0.0405748151242733, -0.6264491677284241, 0.022317711263895035, -0.1035216748714447, -0.544367253780365, -0.022086890414357185, 0.05270656198263168, -0.7204364538192749, -0.32877087593078613, -0.37489059567451477, 0.2035394310951233, 0.17661415040493011, -0.4179335832595825, 0.09385260194540024, 0.15093331038951874, 0.03459055721759796, 0.10088768601417542, -0.9499168992042542, 0.3366050124168396, 0.4065535068511963, 0.6026250720024109, -0.5837833285331726, -0.11333338916301727, -0.26213574409484863, -0.11971437186002731, -0.3794333338737488, 0.6041359305381775, -0.6129618287086487, -0.804912269115448, 0.17261356115341187, -0.01863911747932434, 0.007515034172683954, -0.7736092805862427, 0.4966268837451935, -0.605043888092041, 0.2282503843307495, -0.507548451423645, -0.21746008098125458, 0.010136375203728676, -0.051081519573926926, -0.7458943128585815, 0.8761233687400818, -0.2559129595756531, -0.8280348777770996, 0.6353975534439087, -0.45475849509239197, -0.6989439725875854, 0.05591120943427086, -0.32451575994491577, -0.019130434840917587, 0.49989384412765503, 0.2849404811859131, 0.29220345616340637, -0.15846750140190125, 0.010894039645791054, -0.31627893447875977, -0.49434441328048706, 0.11365417391061783, -0.33717676997184753, 0.43426164984703064, 0.30480197072029114, -0.27649012207984924, -0.07864772528409958, -0.8855844736099243, -0.3893163204193115, 0.39519378542900085, -0.6033827662467957, -0.5748425126075745, 0.09182503819465637, 0.14148129522800446, 0.373744934797287, 0.264703631401062, -0.7517750859260559, 0.06314209848642349, -0.45446300506591797, 0.24736936390399933, 0.8093758821487427, -0.05539215728640556, 0.37698057293891907, -0.37311023473739624, 0.7004103064537048, -0.14418844878673553, -0.05439271032810211, -0.23255737125873566, -0.6474624872207642, -0.42748719453811646, 0.08805243670940399, 0.16478323936462402, 0.3749562203884125, -0.22736607491970062, -0.029392851516604424, -0.23167115449905396, -0.20975400507450104, -0.5240312218666077, 0.4637695550918579, 0.299381822347641, 0.4832192063331604, 0.08235758543014526, -0.41235488653182983, -0.5220741033554077, -1.2099641561508179, -0.2506890594959259, -0.44579797983169556, -0.3383312523365021, 0.44140657782554626, 0.305974543094635, 0.07368533313274384, 0.9878572225570679, -0.23802438378334045, -0.06996884196996689, -0.2803247570991516, -0.021923024207353592, 0.12438435852527618, 0.13035687804222107, 0.6776663661003113, -0.5338149070739746, -0.3392936885356903, -0.08663202077150345, -0.511803388595581, -0.33634474873542786, -0.04129382222890854, 0.05600399523973465, 0.5597431659698486, 0.37769776582717896, -0.43622636795043945, 0.27475807070732117, 0.82524573802948, -0.15596231818199158, 0.5725050568580627, -0.08879433572292328, 0.12595902383327484, -1.1353356838226318, 0.1252838522195816, 0.34449535608291626, 0.18252934515476227, -0.31486234068870544, -0.1522182822227478, 0.10538545995950699, 0.12230891734361649, -0.38124001026153564, 0.685319185256958, -0.5977147221565247, -0.13139882683753967, -0.2330557107925415, 0.11477086693048477, 0.19074469804763794, 0.1558462381362915, 0.2579523026943207, 1.0686184167861938, 0.02915898896753788, -0.5180924534797668, -0.08421473205089569, 0.1951141655445099, -0.4654685854911804, 0.49314406514167786, -0.9426087737083435, 0.1913043111562729, -0.3597676157951355, 0.1590988039970398, -1.2847775220870972, -0.12495644390583038, -0.41617879271507263, -0.5817204117774963, 0.3894391357898712, -0.03441636636853218, -0.4971906840801239, -0.5766453742980957, -0.08236652612686157, 0.3757772147655487, 0.40948158502578735, -0.40547844767570496, 0.39165258407592773, 0.2888384461402893, -0.3003811836242676, -0.37844741344451904, -0.7411709427833557, 0.08442844450473785, -0.054973043501377106, -0.8638863563537598, 0.1988813728094101, -0.18640531599521637, -0.5785844326019287, -0.3141856789588928, 0.05891396105289459, 0.22940067946910858, 0.3415500223636627, 0.19001753628253937, 0.3046548366546631, -0.37559041380882263, 0.20679990947246552, -0.38438647985458374, 0.22623510658740997, 0.4628290832042694, -0.03246919438242912, 0.4194093644618988, 0.24759995937347412, -0.3947136104106903, -0.33872371912002563, 0.30245739221572876, 0.6381932497024536, -0.6305052638053894, 0.7923233509063721, 0.08142349123954773, -0.34719935059547424, -0.06674252450466156, -0.7831733226776123, -0.21123330295085907, -0.4767402410507202, 0.4769899845123291, -0.47591105103492737, -0.9708419442176819, 0.7537508010864258, 0.47523006796836853, 0.4969675838947296, 0.32579973340034485, 0.5469382405281067, -0.14401701092720032, 1.0674080848693848, 0.7429898977279663, -0.24736130237579346, 0.3831980228424072, 0.045515276491642, 0.13877885043621063, -0.4912465214729309, -0.3959113359451294, -0.565930962562561, -0.5494300127029419, -0.7223566770553589, -0.02993938699364662, -0.04700437933206558, -0.3521427810192108, -0.14792221784591675, -0.011969849467277527, -0.20119412243366241, 0.306632936000824, 0.5392410755157471, -0.15628784894943237, 0.401163786649704, 0.15647712349891663, -0.20146304368972778, -0.4413963556289673, -0.4880845546722412, -0.6484000086784363, 1.1459938287734985, 0.581870436668396, 1.190697193145752, 0.2528977394104004, 0.4081830084323883, 0.21431320905685425, 0.27234241366386414, -0.5980859398841858, 0.2965971827507019, 0.10322736203670502, -0.8247426152229309, 0.12786632776260376, -0.4910777509212494, -0.9547017216682434, 0.04765291139483452, -0.32344770431518555, -0.7383342981338501, 0.10028105229139328, 0.26572608947753906, -0.33047109842300415, 0.34056055545806885, -0.8561442494392395, 0.5586608052253723, -0.5558251738548279, -0.5438055992126465, 0.0712461993098259, -0.45901358127593994, 0.4588102400302887, -0.31537550687789917, 0.5059802532196045, -0.11593812704086304, -0.008277916349470615, 0.8357433676719666, 0.015886303037405014, 1.0033199787139893, -0.1483587771654129, -0.38270118832588196, -0.03143724054098129, 0.12121906876564026, 0.5089675784111023, 0.03544486314058304, -0.24945268034934998, 0.15854863822460175, -0.32402729988098145, -0.523676335811615, -0.26654794812202454, 0.8498337268829346, -1.0644906759262085, -0.9308359622955322, -0.12519049644470215, -0.6193453073501587, -0.5049887299537659, -0.12357301265001297, 0.446359783411026, 0.32932209968566895, -0.12922659516334534, 0.04954569786787033, 0.5860663652420044, -0.5063724517822266, 0.3276035487651825, 0.8157487511634827, -0.18720878660678864, -0.035253457725048065, 0.5416523814201355, 0.4160567820072174, 0.5353922843933105, 0.36660340428352356, 0.1824706494808197, -0.3741396367549896, -0.5793992877006531, -0.2960943281650543, 0.39583098888397217, -0.5375955700874329, 0.1501777321100235, -0.44878554344177246, 0.02664218842983246, -0.4509972035884857, -0.05036639794707298, -0.34005579352378845, -0.0608375109732151, -0.13597117364406586, -0.3665944039821625, 0.2654634118080139, 1.110486388206482, 0.1755276769399643, 0.1637498289346695, -0.43370702862739563, -0.07385783642530441, 0.24064521491527557, 0.29892048239707947, 0.156496062874794, -0.9634653329849243, -0.3360711932182312, -0.015334103256464005, -0.15602853894233704, -0.6875197887420654, 0.08485737442970276, 0.07682736963033676, 0.9689788818359375, 0.5380883812904358, -0.03125810995697975, 0.2380397468805313, -0.37285494804382324, 0.9701847434043884, -0.09625090658664703, -0.4649266302585602, 0.4886492192745209, -0.467642217874527, 0.5558950901031494, 0.5454114675521851, 0.4674469828605652, -0.6563957929611206, -0.35759276151657104, -0.2553795576095581, -0.8440937399864197, 0.3293464779853821, -0.2478017657995224, 0.5367094874382019, -0.13182593882083893, 0.21081973612308502, 0.20487408339977264, 0.12930041551589966, -0.787128746509552, -0.38535255193710327, 0.17873750627040863, 0.20797047019004822, -0.23640693724155426, -0.6633331179618835, 0.13086555898189545, -0.0349467471241951, 0.4444223642349243, -0.01838451810181141, -0.07422720640897751, -0.08145677298307419, -0.27996301651000977, -0.2676815986633301, 0.13844545185565948, 0.8937179446220398, 1.0314886569976807, -0.2008843868970871, 0.17015472054481506, 0.3266754746437073, -0.37218278646469116, 0.21930678188800812, -0.2547810673713684, -0.15429852902889252, 0.2434019297361374, 0.621912956237793, 0.5993112921714783, 0.30398720502853394, -0.45359116792678833, 0.4800410866737366, -0.18619966506958008, -0.09330005198717117, -0.11278308928012848, -0.14356528222560883, 0.21749523282051086, -0.3770214319229126, 0.5897948741912842, 0.004726011771708727, -0.1780232936143875, -0.3805742561817169, 0.07832132279872894, 0.5204501748085022, 0.00010685299639590085, -0.6124533414840698, 0.979289710521698, 0.5891823172569275, -0.5649896860122681, 0.4511008858680725, -0.02884969674050808, -0.37009891867637634, 0.34773120284080505, 0.5563662648200989, 0.44654399156570435, -0.40584319829940796, -0.10848932713270187, 0.5432655811309814, 0.5142143964767456, 0.22821800410747528, 0.14478527009487152, 0.2938968241214752, -0.6771917343139648, -0.9104783535003662, -0.5164633989334106, -0.31724071502685547, 0.3255821466445923, -0.5925793051719666, 0.25146278738975525, -0.44773921370506287, -0.3611106276512146, -0.33957281708717346, -0.06468700617551804, -0.941013753414154, 0.20663809776306152, 0.5644491910934448, 1.142473578453064, -1.1553120613098145, 0.4297439754009247, 0.9113165140151978, -0.45084547996520996, -0.7278366684913635, -0.0016764589818194509, 0.2599693238735199, -0.7873737812042236, 0.9364222288131714, 0.19170887768268585, 0.017186563462018967, -0.38294482231140137, -0.14863868057727814, -1.0113061666488647, 0.632735550403595, 0.55496746301651, -0.6228463649749756, 0.00006511253741336986, 0.5300316214561462, 0.5898048877716064, -0.1255611926317215, 0.5323205590248108, 0.4256928265094757, 0.11812055855989456, -0.025363050401210785, -1.3442403078079224, -0.24289648234844208, -0.35410693287849426, 0.22028855979442596, -0.09135177731513977, -0.7527881860733032, 0.7480692863464355, -0.23088620603084564, -0.16670146584510803, -0.2454233467578888, 0.6938406229019165, 0.34562793374061584, 0.030454711988568306, 0.3676246404647827, 0.42125463485717773, 0.7869594693183899, 0.030944980680942535, 0.8674353361129761, -0.5108493566513062, -0.13863004744052887, 1.0223782062530518, -0.24774625897407532, 1.0686827898025513, 0.518276572227478, -0.33584466576576233, 0.5155882835388184, 0.8493165969848633, 0.4076915383338928, 0.144473597407341, 0.41377028822898865, -0.3283405601978302, -0.11478672921657562, -0.26000282168388367, -0.5417987108230591, 0.4637734889984131, 0.09303046017885208, -0.45046308636665344, 0.017512978985905647, -0.029293473809957504, 0.21351410448551178, 0.3396150469779968, -0.233317568898201, 0.4853362739086151, 0.12392017990350723, -0.6143162846565247, 0.7003141641616821, -0.0013769243378192186, 1.3264237642288208, -0.4490234851837158, 0.20686174929141998, -0.7585761547088623, -0.059775158762931824, -0.5356233716011047, -0.6419501900672913, 0.0003452860109973699, 0.06738334149122238, -0.5243651866912842, -0.08403480052947998, 0.2959659993648529, -0.03881645202636719, -0.6076483726501465, 0.5707291960716248, 0.5894774794578552, 0.10397014021873474, 0.11891338974237442, -0.2654534876346588, 0.3069632947444916, -0.110956110060215, -0.5197572708129883, 0.3659890294075012, 0.030013296753168106, -0.3092106878757477, 0.6270634531974792, 0.6328070163726807, 0.152632936835289, 0.21655994653701782, 0.1535460650920868, 0.5202422738075256, -0.274057537317276, -0.37106746435165405, -0.8535813093185425, 0.5500925183296204, -0.10029322654008865, -0.5149757862091064, 0.9550287127494812, 0.8492028713226318, 1.2703570127487183, -0.019747210666537285, 0.8625988960266113, 0.4585709273815155, 0.49715933203697205, -0.31228914856910706, 0.6300323605537415, -0.5523301959037781, 0.43830054998397827, -0.3532574772834778, -1.0638997554779053, -0.13514570891857147, 0.5832441449165344, -0.6543305516242981, 0.32974591851234436, 0.2857693135738373, 0.8839662075042725, -0.008504042401909828, -0.12254626303911209, 0.5310071110725403, 0.06286760419607162, 0.5003374814987183, 0.4560633599758148, 0.8166890144348145, 0.009267469868063927, 0.40975919365882874, -0.029925208538770676, -0.14333462715148926, -0.1474538892507553, -0.6914356350898743, -0.9470518827438354, -0.26081177592277527, -0.20702071487903595, -0.21608203649520874, -0.15925432741641998, 1.0970807075500488, 0.7603527307510376, -0.8482298254966736, -0.4812738299369812, 0.49750638008117676, -0.0943511351943016, 0.3733592629432678, -0.23991292715072632, 0.04655155539512634, -0.28657886385917664, -0.719077467918396, 0.3416200876235962, -0.10247240960597992, 0.04497572407126427, -0.5532423257827759, -0.21724346280097961, 0.06994695216417313, 0.057769160717725754, 0.6095179915428162, 0.3554263710975647, -0.7689083218574524, -0.17972664535045624, 0.3977700173854828, -0.25219741463661194, 0.22155651450157166, 0.5602944493293762, -0.723658561706543, 0.4549148976802826, 0.40291064977645874, 0.5416878461837769, 0.21545559167861938, -0.06360125541687012, 0.7979639172554016, -0.8324760794639587, 0.2754744291305542, 0.0769607275724411, 0.42131951451301575, 0.6370254158973694, -0.26822686195373535, 0.1835247427225113, 0.33374133706092834, -0.5399222373962402, -0.7192258834838867, 0.11227945238351822, -0.3992787301540375, -0.06937973201274872, 1.4486258029937744, -0.04958565905690193, -0.16393215954303741, -0.10932125151157379, -0.20850931107997894, -0.331516295671463, -0.4522101581096649, 0.612516462802887, 0.911258339881897, 0.003144897287711501, -0.20112471282482147, -0.9506640434265137, 0.4539015293121338, 0.45136573910713196, -0.5119116306304932, -0.056344710290431976, 0.5155372023582458, 0.6367701888084412, 0.12667430937290192, 0.5088096261024475, 0.10740115493535995, 0.1810794472694397, -0.2656886577606201, 0.2529103457927704, 0.012297548353672028, -0.0020132013596594334, -0.3066018223762512, -0.012930402532219887, 0.8566232323646545, -0.12569448351860046 ]
http://arxiv.org/abs/2406.17378v1
http://arxiv.org/pdf/2406.17378v1
A Text is Worth Several Tokens: Text Embedding from LLMs Secretly Aligns Well with The Key Tokens
2024-06-25T08:55:12
2024-06-25T08:55:12
Zhijie Nie, Richong Zhang, Zhanyu Wu
cs.CL
cs.CL, cs.IR
Text embeddings from large language models (LLMs) have achieved excellent results in tasks such as information retrieval, semantic textual similarity, etc. In this work, we show an interesting finding: when feeding a text into the embedding LLMs, the obtained text embedding will be able to be aligned with the key tokens in the input text. We first fully analyze this phenomenon on eight embedding LLMs and show that this phenomenon is universal and is not affected by model architecture, training strategy, and embedding method. With a deeper analysis, we then find that the main change in embedding space between the embedding LLMs and their original generative LLMs is in the first principal component. By adjusting the first principal component, we can align text embedding with the key tokens. Finally, we give several examples to demonstrate the vast application potential of this finding: (1) we propose a simple and practical sparse retrieval method based on the aligned tokens, which can achieve 80\% of the dense retrieval effect of the same model while reducing the computation significantly; (2) we show that our findings provide a fresh perspective to help understand fuzzy concepts (e.g., semantic relatedness vs. semantic similarity) and emerging technologies (e.g., instruction-following embedding) in this field.
[ 0.06268256157636642, -0.7668725252151489, 1.0247539281845093, -0.07274467498064041, -0.5462211966514587, 0.12168451398611069, -0.19242194294929504, -0.22833693027496338, 0.4066962003707886, 0.3084907829761505, -0.3076344132423401, -0.4986140727996826, -0.6779910326004028, -0.10906856507062912, -0.5878957509994507, 0.7118815183639526, 0.043667543679475784, 0.2643280029296875, -0.4450436234474182, -0.227065309882164, -0.5386908650398254, -0.6555253267288208, -0.28385624289512634, -0.1973113715648651, 0.41820549964904785, 0.2801305651664734, 0.9427398443222046, 1.1553226709365845, 0.7538551092147827, 0.3190782368183136, -0.1917295753955841, -0.0776081532239914, -0.5546061992645264, 0.21284382045269012, 0.0037921422626823187, -0.6659272909164429, -0.1603906899690628, -0.05774359405040741, 0.9922513365745544, 0.6166755557060242, 0.12596945464611053, -0.1265871226787567, 0.4856395125389099, 0.5308570265769958, -0.42800188064575195, 0.0034745424054563046, -0.8491274118423462, 0.030410416424274445, -0.3030623495578766, -0.02759828045964241, -0.34311845898628235, -0.04405149817466736, -0.055565472692251205, -0.6002734303474426, 0.0450613759458065, 0.2775825262069702, 1.0695685148239136, 0.3729245662689209, -0.3887510597705841, -0.29453641176223755, -0.18082423508167267, 0.764801561832428, -0.6720749139785767, 0.37328651547431946, -0.028113575652241707, -0.05319816991686821, -0.13813000917434692, -0.578037679195404, -0.7869237661361694, 0.06209013983607292, -0.16602101922035217, -0.25569257140159607, 0.1241251602768898, 0.19355271756649017, -0.05409073457121849, 0.3512097895145416, -0.32549285888671875, 0.27549588680267334, 0.10273787379264832, -0.13079676032066345, 0.3583761751651764, 0.08196771889925003, 0.4031142294406891, -0.3360256552696228, -0.7669918537139893, -0.16412249207496643, -0.8044991493225098, -0.336568683385849, 0.1996060460805893, 0.5396469235420227, -0.05540217086672783, 0.9194690585136414, 0.44038689136505127, 0.5888726115226746, 0.03296802565455437, -0.15795278549194336, 0.22172948718070984, -0.7326204180717468, -0.22534368932247162, 0.15631316602230072, 0.680837094783783, 0.32209742069244385, 0.3756328225135803, -0.2170676589012146, -0.20061935484409332, -0.07702910155057907, 0.24391068518161774, -0.5117539167404175, 0.16961263120174408, -0.09610947966575623, -0.6211628317832947, -0.3590329885482788, 0.37291428446769714, -0.3941628336906433, -0.4602985084056854, -0.23817242681980133, 0.698704719543457, -0.4336790144443512, 0.0201133880764246, 0.040794555097818375, -0.25636494159698486, 0.5183771252632141, 0.17080490291118622, -1.0707275867462158, 0.38997960090637207, 1.3552005290985107, 1.0353217124938965, -0.22998109459877014, -0.12149082124233246, -0.23995372653007507, 0.19327284395694733, -0.3743201196193695, 0.7314993739128113, -0.822339653968811, -0.13841600716114044, 0.26751193404197693, -0.18142735958099365, 0.0009925710037350655, -0.44737112522125244, 0.4024171233177185, -0.541583776473999, -0.05970783159136772, -0.3868356943130493, -0.9439997673034668, 0.05037800222635269, 0.15929311513900757, -0.6521328091621399, 1.037307858467102, -0.27233588695526123, -0.7244066596031189, 0.3536626100540161, -0.022496633231639862, -0.19384396076202393, -0.09867651015520096, -0.4661238193511963, -0.41682398319244385, 0.376444548368454, 0.01673489436507225, 0.5048797130584717, -0.22284483909606934, 0.20592954754829407, -0.40050554275512695, -0.6197410821914673, 0.6122983694076538, -0.45566824078559875, 0.47939348220825195, 0.067656010389328, -0.21726351976394653, -0.10943485051393509, -0.3809804618358612, -0.06057851389050484, 0.012636462226510048, -0.2476392388343811, -0.7063515782356262, 0.0822407677769661, -0.02929581142961979, -0.05562359839677811, 0.40376603603363037, -0.6845114231109619, 0.46967369318008423, -0.48177245259284973, 0.483973890542984, 0.9527096152305603, -0.03508904203772545, 0.734337329864502, -0.4289080500602722, 0.15485930442810059, 0.01724102348089218, -0.2023848593235016, -0.32154613733291626, -0.45373624563217163, -0.6340829730033875, -0.49922043085098267, 0.6550377607345581, 0.3360014855861664, -0.29859456419944763, 0.5488878488540649, -0.4920794665813446, -0.007378159556537867, -0.6956369876861572, 0.28523385524749756, 0.24699024856090546, 0.12331318855285645, -0.018236976116895676, -0.09815895557403564, -0.2697353959083557, -0.891377866268158, -0.5549067258834839, -0.024412844330072403, 0.1171635165810585, 0.13506737351417542, 0.2997325360774994, 0.0034591194707900286, 0.9804714918136597, -0.6421334147453308, -0.4319595992565155, 0.05668773129582405, -0.21363778412342072, 0.07813037186861038, 0.6634612083435059, 0.43363383412361145, -0.7693791389465332, -0.5428194999694824, -0.06553667038679123, -0.5844553112983704, 0.09088322520256042, -0.2282056361436844, -0.3729073703289032, 0.016196124255657196, 0.7836650013923645, -0.5918081402778625, 0.12909987568855286, 0.4034436345100403, -0.4587785005569458, -0.20408686995506287, -0.1814156472682953, -0.04412747547030449, -1.3013098239898682, -0.11892696470022202, -0.2042631208896637, -0.3193780779838562, -0.3746037185192108, 0.1686779111623764, 0.23279891908168793, -0.037909768521785736, -0.24344849586486816, 0.6236405968666077, -0.4939562678337097, -0.10519155114889145, -0.31707873940467834, 0.6544097661972046, 0.07272771745920181, 0.31034642457962036, -0.40732401609420776, 0.8137526512145996, 0.2734878957271576, -0.25550875067710876, 0.10986088961362839, 0.3073233962059021, -0.40746602416038513, 0.4611055850982666, -0.38783395290374756, 0.17393378913402557, -0.29687386751174927, -0.009207778610289097, -1.4393391609191895, 0.08003192394971848, 0.11278172582387924, -0.48205143213272095, 0.5962552428245544, 0.08815998584032059, -0.8492569327354431, 0.09167981892824173, -0.7195863723754883, 0.5020993947982788, 0.4480551481246948, -0.6162825226783752, 0.4586153030395508, 0.44958561658859253, -0.18099351227283478, -0.5863544940948486, -0.7398619055747986, 0.21896140277385712, -0.24121013283729553, -0.37423932552337646, 0.6580631136894226, 0.13868717849254608, -0.23985667526721954, 0.5366771221160889, -0.1633034646511078, 0.029592998325824738, 0.34720996022224426, 0.1406911462545395, 0.2833627760410309, -0.32909807562828064, 0.6047400832176208, 0.07625492662191391, -0.10226163268089294, -0.14183682203292847, -0.4481849670410156, 0.5275510549545288, 0.13478505611419678, -0.6355620622634888, -0.32960274815559387, 0.3559972047805786, 0.4147127866744995, -0.009286773391067982, 1.0109188556671143, 0.3939734995365143, -0.6014854311943054, 0.05598829314112663, -0.5875612497329712, -0.05446165055036545, -0.5337573885917664, 0.5087711215019226, -0.2410580962896347, -1.1039760112762451, 0.31728342175483704, 0.0010933467419818044, -0.010470066219568253, 0.6132057905197144, 0.3566093444824219, -0.1745818555355072, 1.2266607284545898, 0.8765224814414978, -0.18619617819786072, 0.582088828086853, 0.01923312060534954, 0.44766244292259216, -0.8936604261398315, -0.5027045607566833, -0.6996561884880066, -0.5433191657066345, -0.7755183577537537, -0.5639409422874451, 0.12412244081497192, 0.26436150074005127, -0.32634323835372925, 0.001050669001415372, -0.4270801246166229, 0.5253670811653137, 0.33571305871009827, 0.041105691343545914, 0.21946726739406586, 0.16321030259132385, -0.4964693784713745, -0.3052692115306854, -0.5910707712173462, -0.6216278672218323, 0.9532414078712463, 0.39246246218681335, 0.8748132586479187, 0.2589658498764038, 0.8658369779586792, 0.21051611006259918, 0.19852297008037567, -0.9814644455909729, 0.3494167625904083, -0.36629000306129456, -0.32039931416511536, -0.17874953150749207, -0.1650475561618805, -0.8269465565681458, 0.19500458240509033, -0.36041274666786194, -0.741524338722229, 0.011829149909317493, -0.1637434959411621, -0.2882384955883026, 0.26470309495925903, -0.6467266082763672, 0.7030707597732544, -0.3473581075668335, -0.2810062766075134, -0.2776913642883301, -0.36197584867477417, -0.010241773910820484, -0.1666577309370041, 0.09179437905550003, -0.03685838729143143, -0.6363053917884827, 0.8318556547164917, -0.46884211897850037, 0.9186751842498779, 0.09451422840356827, -0.2644350230693817, 0.2063336968421936, -0.21197247505187988, 0.40981000661849976, -0.0983729436993599, -0.06821374595165253, -0.0862477496266365, -0.09630199521780014, -0.49925127625465393, -0.9424887895584106, 1.1184426546096802, -0.742802083492279, -1.0173728466033936, -0.5832748413085938, -0.3504093885421753, -0.13023529946804047, 0.35164740681648254, -0.07266337424516678, 0.3896086812019348, -0.1677510291337967, 0.4022747278213501, 0.8207224607467651, -0.10622827708721161, 0.3540204167366028, 0.07960774004459381, -0.1881738305091858, -0.38025182485580444, 0.7850375175476074, 0.0737202987074852, 0.21000711619853973, 0.8763522505760193, 0.16406749188899994, -0.4174121618270874, -0.21813037991523743, -0.30625078082084656, 0.5601525902748108, -0.712080180644989, -0.4916529953479767, -0.5750276446342468, -0.1797749251127243, -0.40330660343170166, -0.4465728998184204, -0.22162072360515594, -0.5864486694335938, -0.6403495073318481, -0.2852918803691864, 0.40535035729408264, 1.0486419200897217, 0.053599122911691666, 0.46023207902908325, -0.9397269487380981, -0.04560046270489693, 0.3022521734237671, 0.5123302340507507, 0.3091731071472168, -0.4452694058418274, -0.2804446220397949, 0.03341608867049217, -0.3470381796360016, -0.8712206482887268, 0.08578497171401978, 0.23968495428562164, 0.5784871578216553, 0.7302945852279663, -0.1768517643213272, 0.7332069277763367, -0.6902633309364319, 0.9180474877357483, 0.0837249755859375, -1.1844185590744019, -0.028598293662071228, -0.08892383426427841, 0.15693733096122742, 0.6142534017562866, 0.31582510471343994, -0.4959072768688202, -0.2387622594833374, -0.5205531716346741, -0.6771956086158752, 0.5317829847335815, 0.020569227635860443, 0.7988780736923218, -0.2294493317604065, 0.650174617767334, -0.03967894986271858, 0.24376419186592102, -0.5952648520469666, -0.3311643898487091, 0.07527653127908707, -0.7753573656082153, -0.1089387908577919, -0.6089405417442322, 0.04764446243643761, -0.015093785710632801, 0.4462302029132843, 0.04520249366760254, 0.736721932888031, 0.08803398907184601, -0.11597340553998947, 0.08454273641109467, 0.1353200525045395, 0.44615480303764343, 0.2305767685174942, 0.10066933184862137, 0.4347764849662781, 0.07202981412410736, -0.35452505946159363, 0.22912105917930603, -0.09067515283823013, 0.02764580398797989, -0.006355850026011467, 0.4267207086086273, 0.5438336730003357, 0.6858465075492859, -0.5350930094718933, 0.7974978089332581, 0.1380188912153244, 0.01044456847012043, 0.06669493019580841, -0.0512414313852787, 0.2671251595020294, 0.26091504096984863, 0.4459758698940277, -0.2493792176246643, -0.10269785672426224, -0.5636433362960815, 0.30081015825271606, 0.8781294226646423, -0.4438543915748596, -0.2235221415758133, 0.48293498158454895, 0.07075842469930649, -0.46398529410362244, 0.5585126876831055, 0.06763671338558197, -0.9242897033691406, 0.42292559146881104, 0.8804513812065125, 0.7430288791656494, 0.16826994717121124, 0.13050618767738342, 0.1326412558555603, 0.27565526962280273, -0.03227194771170616, 0.17339053750038147, -0.17726218700408936, -0.7438125610351562, -0.3285425901412964, -0.5436020493507385, 0.0360497310757637, -0.24952062964439392, -0.4552709460258484, 0.29751765727996826, -0.3495540916919708, -0.12354031950235367, -0.1775793731212616, 0.09690391272306442, -0.5905495882034302, -0.24975243210792542, 0.21169857680797577, 0.9052398800849915, -0.7838960886001587, 0.7236871719360352, 0.5480183362960815, -0.1405157893896103, -0.8289299607276917, 0.2962852120399475, 0.04209963604807854, -1.1252989768981934, 0.6838912963867188, 0.24302615225315094, 0.1476755440235138, 0.06846828013658524, -0.6012542247772217, -1.254889965057373, 0.9481045007705688, 0.29250481724739075, -0.4676690995693207, -0.16918648779392242, 0.3738787770271301, 0.4352515637874603, -0.34034469723701477, -0.1586781144142151, 0.13182929158210754, 0.374813050031662, -0.06743408739566803, -0.6019123196601868, 0.3331899046897888, -0.12310758233070374, 0.1638510525226593, 0.5378999710083008, -0.820271909236908, 0.8141061663627625, -0.05942676588892937, -0.5190212726593018, 0.4364188015460968, 0.6663380861282349, -0.11961159855127335, -0.043251149356365204, 0.2441663146018982, 0.8229576349258423, 0.7378398180007935, -0.059131231158971786, 0.9379734992980957, -0.4042080044746399, 0.41000229120254517, 0.6016554236412048, -0.25556546449661255, 0.9334487318992615, 0.7281625270843506, 0.08933807909488678, 0.45301663875579834, 0.3154653012752533, 0.020057382062077522, 0.7674465179443359, 0.18687419593334198, -0.20229797065258026, -0.2220308482646942, -0.2820398211479187, -0.28718456625938416, 0.31820523738861084, 0.46299153566360474, -0.4898075759410858, -0.10241834819316864, 0.005932040978223085, 0.1995677351951599, 0.24886684119701385, -0.1191692054271698, 0.976277768611908, 0.3346782624721527, -0.5029551386833191, 0.29343876242637634, 0.12110306322574615, 0.7899937629699707, -0.44175171852111816, -0.1358928680419922, 0.04763827472925186, 0.3149644136428833, -0.030394604429602623, -0.7763093709945679, 0.11616256833076477, -0.14515656232833862, 0.008931235410273075, -0.30212053656578064, 0.7023926973342896, -0.456256628036499, -0.4567359387874603, 0.17545312643051147, 0.4275943636894226, -0.18313796818256378, 0.2322189062833786, -0.4847434163093567, 0.28752484917640686, -0.07298307865858078, 0.09853911399841309, 0.6005741357803345, 0.7062366604804993, 0.16044916212558746, 0.29741141200065613, 0.5062049627304077, -0.0015355761861428618, 0.06609945744276047, -0.2006758153438568, 0.8807932138442993, -0.7592189311981201, -0.42498326301574707, -1.1883898973464966, 0.15652188658714294, -0.06661827862262726, -0.11595861613750458, 0.8708584904670715, 0.5924738645553589, 0.7206133008003235, 0.2690938711166382, 0.47913920879364014, 0.2995149791240692, 0.16588205099105835, -0.7674973607063293, 0.5720773935317993, -0.5921410322189331, 0.29263773560523987, -0.343588650226593, -0.9753641486167908, -0.43528833985328674, 0.7139881253242493, -0.030784305185079575, -0.10566380620002747, 0.7474642395973206, 0.7281414866447449, 0.06265366077423096, -0.1342504918575287, 0.24486513435840607, 0.14495086669921875, 0.1218646988272667, 0.25385990738868713, 0.7595956921577454, -0.4474702477455139, 0.25853100419044495, 0.04318792745471001, -0.06774657964706421, -0.21663691103458405, -0.9191341400146484, -0.6541736721992493, -0.7123529314994812, -0.06926004588603973, -0.18090131878852844, 0.22732701897621155, 0.9058643579483032, 0.26188087463378906, -0.4705142378807068, -0.03292149677872658, -0.003930641338229179, 0.4800351560115814, 0.02674883045256138, -0.24112120270729065, 0.541304886341095, -0.4916275143623352, -0.7114958763122559, -0.0761747658252716, 0.29511016607284546, 0.2546274662017822, -0.1738317459821701, 0.05165162310004234, -0.48306944966316223, 0.1692514419555664, 0.4228394329547882, -0.26914969086647034, -0.675943911075592, -0.7252636551856995, 0.31457364559173584, -0.45464301109313965, 0.12534630298614502, 0.9645475149154663, -0.777644693851471, 0.2524205446243286, 0.6320269703865051, 1.0885168313980103, 0.1263754814863205, 0.13038106262683868, 0.581547737121582, -0.7808440327644348, 0.05325711518526077, 0.049278419464826584, 0.4187639057636261, 0.3752782344818115, -0.4781925678253174, 0.012563301250338554, 0.07000807672739029, -0.3870990574359894, -0.8746337890625, -0.025322668254375458, -0.8415074348449707, -0.28855785727500916, 1.1906102895736694, 0.03760380670428276, -0.2545519769191742, 0.2669563591480255, -0.1885884404182434, 0.3326420187950134, -0.25445684790611267, 0.6432249546051025, 0.9943413734436035, 0.15957295894622803, 0.16729560494422913, -0.0851718857884407, 0.27887746691703796, 0.6450221538543701, -0.3238331079483032, -0.17058469355106354, 0.0644240453839302, 0.14399804174900055, 0.1743885576725006, 0.3581131398677826, -0.1998693197965622, -0.1508076786994934, -0.0388592965900898, -0.3982621133327484, 0.10649131238460541, -0.13443513214588165, -0.5205907225608826, 0.04096382111310959, 0.3400217592716217, -0.4349811375141144 ]
http://arxiv.org/abs/2406.17377v1
http://arxiv.org/pdf/2406.17377v1
A Three-Pronged Approach to Cross-Lingual Adaptation with Multilingual LLMs
2024-06-25T08:53:46
2024-06-25T08:53:46
Vaibhav Singh, Amrith Krishna, Karthika NJ, Ganesh Ramakrishnan
cs.CL
cs.CL
Low-resource languages, by its very definition, tend to be under represented in the pre-training corpora of Large Language Models. In this work, we investigate three low-resource cross-lingual approaches that enable an LLM adapt to tasks in previously unseen languages. Llama-2 is an LLM where Indic languages, among many other language families, contribute to less than $0.005\%$ of the total $2$ trillion token pre-training corpora. In this work, we experiment with the English-dominated Llama-2 for cross-lingual transfer to three Indic languages, Bengali, Hindi, and Tamil as target languages. We study three approaches for cross-lingual transfer, under ICL and fine-tuning. One, we find that adding additional supervisory signals via a dominant language in the LLM, leads to improvements, both under in-context learning and fine-tuning. Two, adapting the target languages to word reordering may be beneficial under ICL, but its impact diminishes with fine tuning. Finally, continued pre-training in one low-resource language can improve model performance for other related low-resource languages.
[ -0.25367841124534607, -0.3369271159172058, 0.1889188438653946, 0.5293280482292175, -0.3906203806400299, 0.5343950390815735, -0.530218780040741, -0.677016019821167, 0.1336626410484314, 0.4605657458305359, -0.43398165702819824, -0.07637865841388702, -0.5891413688659668, 0.315216600894928, 0.13494521379470825, 1.0335561037063599, -0.4418257176876068, 0.06512336432933807, 0.29247188568115234, -0.35652464628219604, -0.7061879634857178, -0.3694482743740082, -0.5816515684127808, -0.33532974123954773, 0.6320171356201172, 0.824695348739624, 0.5486913919448853, 0.2841203510761261, 0.34470847249031067, 0.12788860499858856, 0.16178302466869354, 0.26829075813293457, -0.6865139603614807, -0.42624443769454956, -0.476880818605423, -0.9287371635437012, -0.4522879719734192, -0.09533290565013885, 0.7098485827445984, 0.6988762021064758, 0.07584494352340698, 0.27134108543395996, 0.37717461585998535, 0.5150935053825378, -0.8284714818000793, 0.07060449570417404, -0.8825411200523376, 0.2249254584312439, -0.3365117311477661, -0.3913153409957886, -0.38744449615478516, 0.05833948403596878, -0.13589170575141907, -0.9183889031410217, -0.32700973749160767, 0.36751142144203186, 0.4652857482433319, 0.3460333049297333, -0.30976641178131104, -0.3872436583042145, -0.6525291800498962, 1.0237940549850464, -0.5624309778213501, 0.4564191699028015, 0.5116953253746033, -0.016102664172649384, 0.10367950797080994, -0.24495723843574524, -0.38077905774116516, -0.06183326989412308, -0.28479963541030884, 0.15819229185581207, -0.29776033759117126, -0.2375800758600235, -0.04604874923825264, 0.051058415323495865, -0.30407145619392395, 0.7916948795318604, -0.34394577145576477, -0.16136549413204193, 0.3869132101535797, 0.05613451078534126, 0.23822125792503357, 0.10383406281471252, -0.6791922450065613, -0.1649572104215622, -1.122494101524353, 0.045339129865169525, 0.2925484776496887, 0.6057312488555908, -0.5577031970024109, 0.4172613322734833, 0.1867278665304184, 0.5378777384757996, 0.13597926497459412, -0.43156489729881287, 0.06160735338926315, -0.75944983959198, -0.16970384120941162, 0.3461607098579407, 0.4104500710964203, 0.21545402705669403, 0.5024490356445312, -0.171378031373024, -0.03148326650261879, -0.1366369128227234, -0.15012167394161224, -0.538399338722229, 0.18492312729358673, -0.3212977945804596, -0.40020397305488586, 0.18567731976509094, -0.6561555862426758, -0.6524593234062195, -0.40487048029899597, -0.49860459566116333, 0.4251922369003296, -0.33233919739723206, -0.417335569858551, 0.02371937595307827, 0.2570714056491852, 0.4522940516471863, 0.3692314624786377, -1.2167414426803589, 0.44447585940361023, 0.5048765540122986, 0.9746200442314148, -0.4731146991252899, -0.6395518183708191, -0.6618668437004089, 0.5289788842201233, -0.5988810062408447, 0.72081458568573, -0.4554689824581146, -0.3813919723033905, -0.028118714690208435, 0.14199209213256836, -0.35032206773757935, -0.6282286047935486, 0.19898036122322083, -0.5060487389564514, 0.11318108439445496, -0.3709700405597687, 0.12498723715543747, -0.19447728991508484, 0.22797521948814392, -0.4846058785915375, 0.9831230640411377, 0.2576676905155182, -0.6543855667114258, 0.3726818263530731, -0.6696483492851257, -0.7334418892860413, -0.14222250878810883, 0.13336776196956635, 0.17030645906925201, 0.09858482331037521, 0.18607255816459656, 0.3486233949661255, -0.5652685761451721, -0.3666849732398987, -0.19972659647464752, -0.5537735223770142, 0.07039232552051544, -0.3136628270149231, 0.9295998811721802, 0.12753456830978394, -0.25747543573379517, -0.07595627009868622, -0.7255734801292419, -0.09099192917346954, -0.0076223560608923435, -0.6095897555351257, -0.5537205934524536, -0.38611501455307007, 0.17615842819213867, 0.17880304157733917, 0.31020572781562805, -0.24658727645874023, 0.12883742153644562, -0.30562901496887207, 0.23593410849571228, 0.7866171002388, -0.2996829152107239, 0.7417830228805542, -0.19331705570220947, 0.7797248959541321, 0.2595195174217224, 0.005171401426196098, 0.20216155052185059, -0.020806293934583664, -1.1850155591964722, -0.3171433210372925, 0.23127250373363495, 0.9356374740600586, -1.1173391342163086, -0.2446800172328949, -0.14448007941246033, -0.25181248784065247, -0.8356301188468933, 0.6888725757598877, 0.5099012851715088, 0.30005818605422974, 0.4761653244495392, -0.4396773874759674, -0.5298627614974976, -0.9232088923454285, -0.31138062477111816, -0.3746166527271271, 0.08857233077287674, 0.07344039529561996, 0.2687147557735443, -0.21481941640377045, 0.4331929087638855, 0.051550041884183884, -0.4325934052467346, -0.4441887140274048, 0.00891133677214384, 0.1922975331544876, 0.30174803733825684, 0.7976568341255188, -0.4263335168361664, -0.6740255355834961, 0.49186375737190247, -0.44924837350845337, -0.2855236828327179, -0.2927050292491913, -0.24537134170532227, 0.587070882320404, 0.5716089010238647, -0.18424497544765472, 0.08637525141239166, 0.9207028746604919, 0.0007421349291689694, 0.3091229796409607, -0.3187342584133148, -0.18826648592948914, -1.0431039333343506, -0.2210996448993683, -0.2779339849948883, -0.10796666890382767, -0.6588361263275146, -0.17530570924282074, 0.050189316272735596, 0.20803675055503845, -0.6629050374031067, 0.8417585492134094, -0.7929350733757019, -0.5759023427963257, -0.3665069341659546, 0.1125006452202797, -0.2138846516609192, 0.734427809715271, 0.1296415776014328, 0.9521812200546265, 0.5534641742706299, -0.587498664855957, -0.020150763913989067, 0.06716498732566833, -0.3129219710826874, 0.763151228427887, -0.2869253158569336, 0.16088558733463287, -0.018906518816947937, 0.04890413209795952, -0.749934732913971, 0.16833315789699554, 0.5507664680480957, 0.1120726615190506, 0.46935930848121643, -0.15979419648647308, -0.47880035638809204, 0.2606145441532135, -0.2668256461620331, 0.6144676208496094, 0.1240130066871643, -0.6680721044540405, 0.5097184777259827, 0.2733208239078522, -0.4904438853263855, -0.608461320400238, -1.0315498113632202, 0.20295068621635437, -0.3334615230560303, -0.152443990111351, 0.42351192235946655, -0.12512895464897156, -0.38398462533950806, 0.005000374745577574, 0.17215968668460846, 0.1174413338303566, 0.24267326295375824, 0.04558342695236206, 0.338094562292099, -0.38577979803085327, -0.1348637342453003, 0.07559961080551147, -0.10475011169910431, -0.20530715584754944, -0.2200789451599121, 0.37945225834846497, -0.3085305690765381, -0.4740474820137024, -0.1485634595155716, 0.29913628101348877, 0.50175940990448, -0.26560693979263306, 0.5450361371040344, 0.9020974040031433, -0.2633434236049652, -0.20538641512393951, -0.33180850744247437, 0.19915543496608734, -0.4052707254886627, 0.5384212732315063, -0.43004927039146423, -0.9009783864021301, 0.48197177052497864, -0.23275135457515717, 0.008347299881279469, 0.2107241004705429, 0.9224081039428711, 0.17621998488903046, 0.4487324655056, 1.057373285293579, -0.3698221445083618, 0.5831234455108643, 0.001407498144544661, 0.4016645848751068, -1.0521715879440308, -0.17410774528980255, -0.23715119063854218, -0.4051457345485687, -0.8673689961433411, -0.674401044845581, 0.3482346832752228, 0.4026038646697998, -0.19923515617847443, 0.5453693866729736, 0.11324195563793182, 0.24097158014774323, 0.6009638905525208, -0.216570645570755, 0.38904282450675964, 0.2724663019180298, -0.10626470297574997, 0.06558169424533844, -1.0646089315414429, -0.35861846804618835, 0.8397156596183777, 0.29698503017425537, 0.9997378587722778, 0.2999298572540283, 0.5152534246444702, 0.0129845654591918, 0.6183477640151978, -0.6065006256103516, 0.39451080560684204, -0.3522813320159912, -0.33200472593307495, -0.24035845696926117, 0.020054230466485023, -0.7095248103141785, 0.5179520845413208, -0.26219817996025085, -0.6744855642318726, 0.39127835631370544, -0.16757959127426147, -0.3985179662704468, 0.29204973578453064, -0.784127950668335, 0.5957581400871277, -0.8363990187644958, -0.6144051551818848, -0.46136659383773804, -0.48863276839256287, 0.40444415807724, -0.6495062708854675, 0.6028257012367249, -0.18619532883167267, -0.3706878423690796, 0.6838629841804504, 0.1440717577934265, 1.1123369932174683, 0.020996784791350365, -0.36313724517822266, 0.18178977072238922, 0.2485327124595642, 0.4769740104675293, 0.10945340991020203, -0.09193025529384613, 0.3743305802345276, 0.02171056531369686, -0.44049227237701416, -0.25637853145599365, 0.5957979559898376, -1.0696502923965454, -0.7028771638870239, -0.2776915431022644, -0.9883129000663757, -0.4363238513469696, 0.14209598302841187, -0.06061834096908569, -0.1156068742275238, 0.019489116966724396, -0.07594417780637741, 0.15684418380260468, -0.4951228201389313, 0.6797608137130737, 0.8708409070968628, -0.062003906816244125, -0.3164776563644409, 0.7605300545692444, 0.09398848563432693, 0.4377116560935974, 0.5110781788825989, 0.025058001279830933, -0.17253854870796204, -0.47924259305000305, -0.6984089016914368, 0.3706958293914795, -0.739101767539978, -0.07316134124994278, -0.27421486377716064, 0.08527211844921112, -0.3195149004459381, -0.3495798707008362, -0.241653174161911, -0.31108373403549194, -0.6804444193840027, 0.03428932651877403, 0.40516990423202515, 0.5270688533782959, -0.4126816391944885, 0.4246987998485565, -0.6599807143211365, 0.31985509395599365, 0.2277717888355255, 0.2653762698173523, -0.08381696790456772, -0.9146620631217957, -0.5452443957328796, -0.05126055330038071, 0.13048945367336273, -0.46342411637306213, 0.24964341521263123, 0.4491055905818939, 0.5912459492683411, 0.09430991858243942, -0.1267593950033188, 1.0526654720306396, -0.5058342814445496, 0.47853007912635803, 0.3283887803554535, -0.8283206820487976, 0.1341252624988556, 0.06509146839380264, 0.1508229523897171, 0.5808928608894348, 0.48432961106300354, -0.563724935054779, -0.0493689589202404, 0.07699940353631973, -0.6032282114028931, 0.8834002614021301, -0.20506401360034943, 0.12122321128845215, 0.3314703106880188, 0.0752926766872406, 0.28312966227531433, -0.08183053135871887, -0.8870991468429565, 0.09062907844781876, -0.20551681518554688, 0.0810774564743042, -0.2952476441860199, -0.2982786297798157, -0.20537656545639038, -0.09117378294467926, 0.5650278329849243, -0.4680593013763428, -0.15434443950653076, -0.11462859064340591, -0.5414563417434692, -0.22402429580688477, 0.4616931974887848, 0.5326112508773804, 0.6409469246864319, 0.10778969526290894, 0.30610162019729614, 0.8375325202941895, -0.23578684031963348, 0.26894503831863403, 0.08612003922462463, 0.09706157445907593, -0.28596702218055725, 0.8212498426437378, 1.0135186910629272, 0.6272234916687012, -0.5084251761436462, 0.0853218361735344, 0.2734774947166443, 0.13120785355567932, -0.07710737735033035, -0.06623367965221405, 0.24201084673404694, 0.4713766276836395, 0.2917240560054779, -0.13976357877254486, -0.42128562927246094, -0.8749619126319885, -0.30020710825920105, 0.3392712473869324, -0.13537238538265228, -0.5228741765022278, 0.49301204085350037, 0.08884898573160172, -0.16343404352664948, 0.23813071846961975, -0.04319547489285469, -0.4392291307449341, 0.351488322019577, 0.9987433552742004, 0.5374212265014648, -0.13581238687038422, 0.06088174879550934, 0.10991687327623367, 0.6245110034942627, 0.017534026876091957, 0.16952091455459595, -0.027972441166639328, -0.8221104741096497, -0.5492066740989685, -0.6639235019683838, -0.4824029207229614, -0.06121662259101868, -0.552338719367981, 0.3782854974269867, -0.4818522036075592, 0.2462974488735199, -0.23491676151752472, 0.22705551981925964, -0.8949707746505737, -0.1300855427980423, 0.31787246465682983, 0.8421251773834229, -0.9968680739402771, 0.9747703075408936, 0.7319447994232178, -0.2914890944957733, -0.6200399398803711, -0.07794304192066193, -0.10574474930763245, -1.357506275177002, 0.9465347528457642, -0.23388464748859406, -0.39158833026885986, 0.05180402100086212, -0.09072153270244598, -1.1242529153823853, 1.1588215827941895, 0.6736120581626892, -0.7614663243293762, 0.15389521420001984, 0.46056124567985535, 0.6009925007820129, -0.4022444188594818, 0.026772286742925644, 0.6379086971282959, 0.5820358991622925, -0.2857520580291748, -1.234373927116394, 0.10502869635820389, 0.07882804423570633, 0.09984336793422699, -0.17683792114257812, -0.8586643934249878, 0.8888329863548279, -0.40495890378952026, -0.1743980348110199, -0.05787579342722893, 0.5536879897117615, 0.3554759919643402, 0.11176767200231552, 0.7476610541343689, 0.2099863737821579, 0.6869750022888184, 0.41082870960235596, 0.8819125890731812, -0.4489135146141052, -0.151736781001091, 1.119796633720398, -0.7969917058944702, 0.8814138174057007, 0.9139065146446228, -0.21949239075183868, 0.4422335624694824, 0.7690687775611877, 0.24747583270072937, 0.6388320326805115, 0.10115813463926315, -0.12174206227064133, -0.19449448585510254, -0.6902213096618652, -0.35016578435897827, 0.7067376375198364, 0.46399277448654175, 0.11214737594127655, -0.1986355185508728, 0.17991206049919128, 0.075653076171875, -0.20915204286575317, -0.6060240268707275, 0.6552188396453857, 0.3427214026451111, -0.6698216199874878, 0.8687626719474792, 0.037766069173812866, 0.8282217383384705, -0.4909058213233948, 0.013034981675446033, -0.5212253928184509, 0.2838040292263031, -0.2241104543209076, -0.6204764246940613, 0.20928925275802612, 0.20453350245952606, -0.08247344940900803, -0.516022801399231, 0.8552569150924683, -0.7105737924575806, -0.6939367055892944, 0.83237624168396, 0.7151055932044983, 0.17609380185604095, 0.3114356994628906, -0.4759250581264496, 0.2010209709405899, -0.0771482065320015, -0.05986683815717697, 0.6772899031639099, 0.5665379166603088, -0.5368571877479553, 0.5050948858261108, 0.6536742448806763, 0.38709700107574463, 0.10229041427373886, 0.05676957219839096, 0.7878178954124451, -0.38197994232177734, -0.35207492113113403, -0.6608278751373291, -0.025850072503089905, 0.6236263513565063, -0.28071436285972595, 0.6919465661048889, 0.3811253607273102, 1.3334580659866333, -0.10181252658367157, 0.7040009498596191, 0.10666404664516449, 0.2202269285917282, -0.7901872396469116, 0.41465431451797485, -0.819617748260498, 0.20897918939590454, -0.10528887063264847, -0.880750298500061, -0.1622113585472107, 0.3409363031387329, -0.1479158252477646, -0.31860190629959106, 0.586107611656189, 0.8606505990028381, -0.08948198705911636, -0.3688904643058777, 0.2554185092449188, 0.11388599872589111, -0.07344193756580353, 0.8255600333213806, 0.8808209896087646, -0.214122012257576, 0.7426419854164124, -0.25565269589424133, -0.11523845791816711, -0.375446081161499, -0.9898289442062378, -0.7650116086006165, -0.2608347535133362, -0.0676964819431305, 0.05134639889001846, 0.08589138090610504, 0.9098174571990967, 0.6033050417900085, -0.7845094203948975, -0.5472612977027893, 0.43049341440200806, 0.290261447429657, -0.2574423551559448, -0.1031143069267273, 0.2802276015281677, -0.33214765787124634, -0.630024790763855, 0.721284031867981, 0.48079970479011536, 0.0383211113512516, -0.3320271670818329, -0.25871315598487854, -0.32966989278793335, -0.23297365009784698, 0.8354242444038391, 0.3859270513057709, -0.7613311409950256, -0.33755671977996826, -0.012047088705003262, -0.14738352596759796, 0.06516224145889282, 0.8205986022949219, -0.5827972292900085, 0.04095973074436188, 0.18791499733924866, 0.8637110590934753, 0.44775450229644775, -0.3226419687271118, 0.41846537590026855, -0.6739870309829712, 0.6749228835105896, -0.04291005805134773, 0.2958873510360718, 0.46530723571777344, -0.2775452435016632, 0.6371928453445435, 0.16339479386806488, 0.03041275404393673, -0.8022089600563049, 0.14745855331420898, -0.8640851974487305, -0.294721394777298, 1.339231014251709, -0.0587417297065258, -0.1651497483253479, -0.10275580734014511, -0.13581770658493042, 0.380353718996048, 0.1484726071357727, 0.4677264988422394, 0.6921653747558594, -0.0963204950094223, -0.23590338230133057, -0.6365410685539246, 0.2613488435745239, 0.6939325332641602, -0.8577932119369507, 0.08358197659254074, 0.0257756095379591, 0.30386802554130554, 0.14102891087532043, 0.7253141403198242, 0.02172437310218811, 0.146206796169281, -0.20987766981124878, -0.005901019088923931, 0.06648971140384674, -0.4196449816226959, -0.48868098855018616, -0.21985438466072083, 0.3115711510181427, -0.1776304543018341 ]
http://arxiv.org/abs/2406.17375v1
http://arxiv.org/pdf/2406.17375v1
An Empirical Study on the Characteristics of Bias upon Context Length Variation for Bangla
2024-06-25T08:49:11
2024-06-25T08:49:11
Jayanta Sadhu, Ayan Antik Khan, Abhik Bhattacharjee, Rifat Shahriyar
cs.CL
cs.CL
Pretrained language models inherently exhibit various social biases, prompting a crucial examination of their social impact across various linguistic contexts due to their widespread usage. Previous studies have provided numerous methods for intrinsic bias measurements, predominantly focused on high-resource languages. In this work, we aim to extend these investigations to Bangla, a low-resource language. Specifically, in this study, we (1) create a dataset for intrinsic gender bias measurement in Bangla, (2) discuss necessary adaptations to apply existing bias measurement methods for Bangla, and (3) examine the impact of context length variation on bias measurement, a factor that has been overlooked in previous studies. Through our experiments, we demonstrate a clear dependency of bias metrics on context length, highlighting the need for nuanced considerations in Bangla bias analysis. We consider our work as a stepping stone for bias measurement in the Bangla Language and make all of our resources publicly available to support future research.
[ -0.3282510042190552, -0.8651454448699951, 0.3359961211681366, 0.6147141456604004, -0.10354115068912506, -0.12344114482402802, -0.3065735399723053, -0.4738914966583252, 0.06475608050823212, 0.17446263134479523, -0.5294029712677002, 0.048153072595596313, -0.6962636709213257, 0.13227227330207825, -0.17603564262390137, 1.010858416557312, -0.035040613263845444, 0.20122355222702026, 0.11353696137666702, -0.254795104265213, -0.9604206085205078, -0.23062708973884583, 0.17678773403167725, -0.3520796000957489, 0.49997860193252563, 0.2865832448005676, 0.4502969980239868, 0.3774663507938385, 0.1840224713087082, 0.11605549603700638, -0.40296074748039246, -0.09339680522680283, -0.6216861009597778, -0.06675418466329575, -0.46206972002983093, -0.4410950243473053, -0.25089821219444275, 0.14744596183300018, 0.9725515842437744, 1.082053780555725, 0.1900358498096466, 0.519950807094574, 0.1595238894224167, 0.967062771320343, -1.1475590467453003, -0.01734008640050888, -0.4795595109462738, -0.05158485472202301, -0.577360212802887, -0.14984013140201569, -0.16262885928153992, -0.5936263799667358, 0.4142022132873535, -0.014831497333943844, 0.1537640541791916, -0.05399977043271065, 0.8104819059371948, 0.25108909606933594, -0.6483261585235596, -0.3310236930847168, -0.6573274731636047, 1.0306246280670166, -0.6683566570281982, 0.44243523478507996, 0.5299863219261169, 0.312457799911499, 0.19995778799057007, 0.03176990523934364, -0.31813156604766846, -0.08233825117349625, -0.17177307605743408, -0.32463338971138, 0.342924565076828, -0.37513279914855957, 0.38208600878715515, 0.36066198348999023, -0.00722935376688838, -0.2127213031053543, -0.649174690246582, 0.09755801409482956, 0.5955087542533875, 0.09595413506031036, 0.3086593449115753, -0.33104410767555237, 0.09100853651762009, 0.16929861903190613, -1.2019591331481934, 0.19472265243530273, 0.9661669731140137, 0.4987284243106842, -0.5051288604736328, 0.375582218170166, -0.3353675305843353, 0.8669179081916809, 0.05784445255994797, -0.1298760026693344, 0.2017858773469925, -0.7264177799224854, -0.006042017135769129, 0.34535571932792664, 0.3625825047492981, 0.007077401503920555, 0.05049022287130356, 0.07840410619974136, 0.10301902890205383, -0.18733511865139008, 0.12283693999052048, -0.9279489517211914, 0.19334273040294647, -0.29520487785339355, -0.4517867863178253, 0.02391054295003414, -0.15323950350284576, -0.8480290174484253, -0.506106436252594, -0.13658852875232697, 0.13543367385864258, -0.2402331829071045, -0.3335055410861969, -0.13154812157154083, 0.023304380476474762, 0.47724032402038574, 0.1656097173690796, -0.9953639507293701, -0.03855043649673462, 0.33782681822776794, 0.8710601329803467, -0.019824715331196785, -0.17703460156917572, -0.2188083380460739, -0.06135125085711479, -0.5435609221458435, 0.46149376034736633, -0.85450679063797, -0.6534423232078552, 0.01128409057855606, -0.1620102971792221, 0.04895869642496109, -0.2802475392818451, 0.5074958801269531, -0.21334876120090485, 0.05436653271317482, -0.739555299282074, -0.23723268508911133, -0.1487567275762558, -0.17011500895023346, -0.31823641061782837, 0.6715112924575806, 0.2537824213504791, -1.1861809492111206, 0.943168044090271, -0.5807444453239441, -0.5812693238258362, -0.015095970593392849, -0.48380395770072937, -0.17955222725868225, 0.2860994040966034, 0.1094091609120369, 0.08462563902139664, -0.41636741161346436, 0.280020534992218, -0.32659900188446045, -0.7498541474342346, 0.3572928309440613, -0.5491420030593872, 0.9311833381652832, 0.11815746128559113, -0.6553294658660889, 0.01208936795592308, -0.7002437114715576, -0.1559908241033554, -0.013778417371213436, -0.30696722865104675, -0.6117846369743347, 0.023450132459402084, 0.15560351312160492, 0.0616251640021801, 0.3642190098762512, -0.591789960861206, 0.07175260782241821, -0.3949911594390869, 0.09580803662538528, 0.9516173005104065, -0.2561551034450531, 0.6054570078849792, -0.0015039152931421995, 0.417218416929245, -0.2145088165998459, 0.09799698740243912, -0.03778810799121857, -0.15888731181621552, -0.4709542393684387, -0.32140761613845825, 0.5182943940162659, -0.022204525768756866, -0.1317107230424881, 0.3530745208263397, -0.20390287041664124, -0.3154117166996002, -0.7948625683784485, 0.20884288847446442, 0.5906774401664734, 0.31803810596466064, -0.06014115363359451, -0.3902718424797058, -0.5763055682182312, -1.2817554473876953, -0.37306979298591614, -0.10190515220165253, 0.09509649872779846, 0.6846550107002258, 0.5658245086669922, -0.5429706573486328, 1.5080054998397827, -0.4070085287094116, -0.031545430421829224, -0.23348428308963776, 0.0724293440580368, 0.3394277095794678, 0.37298092246055603, 0.7388840913772583, -0.5468803644180298, -0.43220075964927673, -0.007533689960837364, -0.6374281048774719, -0.7271787524223328, 0.3123242259025574, -0.36922499537467957, 0.13710521161556244, 0.0040558744221925735, -0.014294561930000782, 0.7954372763633728, 0.6214344501495361, -0.6232969164848328, 0.8100613951683044, 0.19135361909866333, 0.17062096297740936, -0.6249182224273682, 0.08132396638393402, -0.09870835393667221, 0.06486430764198303, -0.4641191065311432, -0.23665361106395721, 0.0011022049002349377, 0.4404808282852173, -0.5768901705741882, 0.8807111382484436, -0.5082865953445435, -0.43622809648513794, -0.47423142194747925, -0.25404593348503113, -0.21042770147323608, 0.10452127456665039, 0.06908101588487625, 1.0467455387115479, 0.278770387172699, -0.646469235420227, -0.31609541177749634, 0.23874741792678833, -0.5865345597267151, 0.7030013203620911, -0.8151890635490417, 0.09315663576126099, -0.1145525723695755, 0.29406702518463135, -0.7417768836021423, -0.4035547971725464, 0.19922347366809845, -0.2266390472650528, 0.21327729523181915, -0.3495815694332123, -0.16378459334373474, -0.0185173861682415, -0.16958561539649963, 0.7779103517532349, 0.40966829657554626, -0.3429974317550659, 0.09072273969650269, 0.5172587633132935, -0.06748426705598831, -0.9183362722396851, -0.6029725670814514, -0.36900633573532104, -0.3842312693595886, -0.5537082552909851, 0.04569433629512787, -0.24241846799850464, -0.4534938931465149, -0.3631082773208618, -0.1621161252260208, -0.17908139526844025, 0.08050719648599625, 0.523285984992981, -0.05724624916911125, -0.07939580827951431, -0.1755882352590561, 0.3871884346008301, 0.48869559168815613, 0.09897155314683914, 0.1443682163953781, 0.7655467391014099, -0.3949222266674042, -0.29410481452941895, -0.18556100130081177, 0.16507308185100555, 0.30874788761138916, 0.1674458086490631, 0.9097281098365784, 0.5792768001556396, -0.2860729396343231, 0.019107678905129433, -0.6356746554374695, -0.17671442031860352, -0.43835872411727905, 0.3650248348712921, -0.17827729880809784, -0.9411240220069885, 0.6561470031738281, 0.16780897974967957, -0.321532666683197, -0.0399918295443058, 0.774452269077301, 0.26960980892181396, 0.6871436238288879, 0.817428708076477, 0.011226218193769455, 0.5755538940429688, 0.19456517696380615, 0.31051740050315857, -1.2517952919006348, 0.06255635619163513, -0.45080476999282837, -0.20474320650100708, -0.6667987704277039, -0.07034952938556671, 0.14130648970603943, 0.07453151792287827, -0.4376645088195801, -0.1350618451833725, -0.05848710983991623, 0.490882933139801, 0.38754650950431824, 0.15421202778816223, -0.21030297875404358, -0.3327582776546478, 0.2587624788284302, -0.3181779086589813, -0.5007624626159668, -0.637438952922821, 1.2046490907669067, 0.39274081587791443, 0.773210346698761, 0.10689396411180496, 0.45307475328445435, 0.4434262216091156, 0.19521769881248474, -0.17000792920589447, 0.30054113268852234, 0.46866777539253235, -1.1840312480926514, -0.5213744044303894, -0.41235339641571045, -0.8663764595985413, 0.26256415247917175, 0.14731968939304352, -0.7064960598945618, 0.41249802708625793, 0.23370911180973053, -0.09925627708435059, -0.049752652645111084, -0.6816439628601074, 0.7397295236587524, -0.1939036101102829, -0.8981446027755737, 0.13933750987052917, -0.6731582283973694, 0.6340708136558533, -0.31549543142318726, 0.20037448406219482, -0.37090474367141724, 0.3589969873428345, 0.8757674694061279, -0.36014601588249207, 0.9739367365837097, -0.27630043029785156, -0.30034568905830383, 0.22624774277210236, -0.06253770738840103, 0.08474799990653992, 0.2603236138820648, 0.01672709919512272, 0.4606473445892334, -0.12762731313705444, -0.9104712009429932, -0.15408171713352203, 0.5488182902336121, -0.8149449229240417, -0.3907336890697479, -0.48562654852867126, -0.7907202243804932, -0.32569223642349243, 0.23328255116939545, 0.26003602147102356, 0.13559666275978088, -0.30510979890823364, 0.34190723299980164, 0.38986968994140625, -0.6168323755264282, 0.4833354949951172, 0.5590828061103821, -0.2766377329826355, 0.3838181793689728, 0.445882111787796, 0.45172953605651855, 0.18775726854801178, 0.0215691477060318, 0.5364996194839478, -0.270353227853775, -0.10297266393899918, -0.4270428419113159, 0.07409075647592545, -0.5107468366622925, 0.2467954009771347, -0.5613664984703064, 0.018499501049518585, -0.6226271390914917, -0.39310386776924133, -0.5755574107170105, -0.11171284317970276, 0.16410791873931885, -0.09395519644021988, 0.17542003095149994, 0.8619706630706787, -0.05656395107507706, 0.5611799955368042, -0.2799563407897949, -0.07060105353593826, 0.4699958264827728, 0.30483919382095337, 0.18453827500343323, -0.8206971287727356, -0.3355799913406372, 0.1735127568244934, -0.09352883696556091, -1.004551649093628, 0.38146060705184937, 0.039213184267282486, 0.3495177626609802, 0.47366389632225037, -0.027117736637592316, 0.336056113243103, -0.5173649191856384, 0.9110803604125977, 0.03842737525701523, -1.1643586158752441, 0.8815138339996338, -0.6890785098075867, 0.40263837575912476, 0.6682646870613098, 0.2585494816303253, -0.23313024640083313, -0.04811704531311989, -0.3003700077533722, -0.953201174736023, 0.7289068698883057, 0.4106535017490387, 0.24810194969177246, -0.024921374395489693, 0.17250551283359528, 0.5224357843399048, 0.47243884205818176, -0.7730557322502136, -0.48172637820243835, -0.16492867469787598, 0.23942309617996216, 0.1776314079761505, -0.6516477465629578, -0.04882560670375824, -0.3559610843658447, 0.5450783371925354, 0.026437120512127876, 0.27296069264411926, -0.09639476984739304, -0.4939471483230591, 0.12825964391231537, 0.6425006985664368, 0.7630452513694763, 1.3839157819747925, -0.5901203155517578, 0.0017021337989717722, 0.31089022755622864, -0.7015669345855713, 0.34662678837776184, -0.22667618095874786, -0.5425524115562439, 0.055153463035821915, 0.3004131317138672, 0.8870710134506226, 0.04130656644701958, -0.6686346530914307, 0.48235073685646057, 0.12727762758731842, 0.39945927262306213, -0.1705939918756485, -0.1704445779323578, -0.17027994990348816, -0.0077448682859539986, 0.4709855914115906, -0.14959223568439484, 0.24803197383880615, -0.576767086982727, -0.021744750440120697, 0.1612294614315033, -0.7592322826385498, -0.4968899190425873, 0.3149620592594147, 0.3031216561794281, -0.04744207113981247, 0.17987188696861267, -0.44401904940605164, -0.4462147355079651, 0.4221265912055969, 0.620992124080658, 0.6468930244445801, -0.4529950022697449, 0.14835843443870544, 0.29887062311172485, 0.5451613068580627, 0.1677035242319107, 0.14020264148712158, -0.05701003223657608, -0.6004323959350586, -0.41631171107292175, -0.8755459189414978, -0.18597258627414703, -0.09330151975154877, -0.6109009981155396, 0.09853222221136093, -0.35480019450187683, -0.15666046738624573, -0.35176053643226624, -0.0800754576921463, -0.7453653812408447, 0.18436753749847412, -0.08790896087884903, 0.25286608934402466, -0.9795743227005005, 0.514350414276123, 0.5464869737625122, -0.3753921091556549, -0.4161766469478607, 0.0725574642419815, -0.02615908905863762, -0.7153136134147644, 1.2909010648727417, 0.38312771916389465, -0.20511901378631592, -0.6345875263214111, -0.4802806079387665, -0.834360659122467, 0.5879241228103638, 0.4148964285850525, -0.4309805929660797, 0.19570642709732056, 0.2175426036119461, 0.4224770963191986, -0.2799230217933655, 0.5716812014579773, 0.8886150121688843, 0.5119653344154358, -0.45231521129608154, -0.9392510056495667, -0.0009106199722737074, -0.2036382108926773, 0.23992948234081268, -0.059928081929683685, -0.6462488174438477, 0.9118938446044922, 0.06657072901725769, -0.0513172522187233, -0.49077001214027405, 0.6944286227226257, 0.2968480587005615, 0.45427584648132324, 0.3008541762828827, 0.07990337908267975, 0.631660521030426, -0.032789185643196106, 1.0770695209503174, -0.3447844982147217, 0.14552877843379974, 1.161780595779419, -0.6894107460975647, 0.23084351420402527, 0.4770229458808899, -0.4225119650363922, 0.43683791160583496, 0.6548753976821899, 0.6296908855438232, 0.45611119270324707, 0.48642614483833313, -0.23505546152591705, 0.1190004050731659, -0.6768066883087158, -0.8099247217178345, 0.36722245812416077, 0.27992191910743713, -0.236301451921463, 0.29780712723731995, -0.05635442957282066, 0.30708402395248413, 0.09345540404319763, -0.3257215619087219, 0.21148869395256042, 0.07909426838159561, -0.37896010279655457, 0.4204576909542084, -0.18290750682353973, 1.1443519592285156, -0.6058129072189331, 0.2602195739746094, -0.4617244005203247, 0.0634005069732666, -0.18449272215366364, -0.4322807490825653, 0.39258304238319397, 0.1285995990037918, -0.43289557099342346, 0.11044561117887497, 0.6191505789756775, -0.22717814147472382, -0.44893139600753784, 0.25543349981307983, 0.4987516701221466, -0.018537171185016632, 0.03999059647321701, -0.14927975833415985, 0.3867919445037842, -0.050739835947752, -0.012818939983844757, 0.4984572231769562, 0.28840380907058716, -0.14836673438549042, 0.4817214906215668, 0.37010589241981506, 0.29127371311187744, 0.5736286640167236, 0.028302408754825592, 0.41933682560920715, -0.5565506815910339, -0.6623703837394714, -0.9288575053215027, 0.0590067133307457, -0.2336735725402832, -0.5431739687919617, 1.0377358198165894, 0.41455212235450745, 0.908377468585968, -0.08934271335601807, 0.9519006013870239, -0.17385056614875793, 0.4805348217487335, -0.36614611744880676, 0.8734763860702515, -0.42839014530181885, 0.20620661973953247, -0.8255248069763184, -1.3212151527404785, 0.28681203722953796, 0.9153838157653809, -0.7034429907798767, 0.2800861597061157, 0.5849829316139221, 0.465555340051651, 0.020937062799930573, -0.051153916865587234, 0.09842545539140701, 0.0936918631196022, 0.16999046504497528, 0.19205912947654724, 0.9858307838439941, -0.3569369912147522, 0.003546700347214937, -0.03275343030691147, -0.4481278955936432, -0.4111086130142212, -0.9566617012023926, -1.0680700540542603, -0.5009922385215759, -0.27283912897109985, -0.17737215757369995, 0.4390268921852112, 0.8550892472267151, 1.051222801208496, -0.5260029435157776, -0.5425045490264893, 0.2896111309528351, 0.41485831141471863, 0.07466460019350052, -0.23055399954319, 0.3499414622783661, -0.17659860849380493, -0.6510977149009705, 0.20672865211963654, 0.19952450692653656, -0.2692716419696808, -0.34046027064323425, -0.17654135823249817, -0.4585460424423218, 0.4383394122123718, 0.6793215870857239, 0.3105615973472595, -0.6013467907905579, -0.4737500250339508, -0.3013049066066742, -0.07500376552343369, -0.042427849024534225, 0.755614161491394, -0.23739875853061676, 0.4428325891494751, 0.7912405133247375, 0.6499562859535217, 0.3274911344051361, -0.09921321272850037, 0.6835151314735413, -1.1762731075286865, 0.5003723502159119, -0.06749136000871658, 0.4883207082748413, 0.46888110041618347, -0.24651913344860077, 0.7683824896812439, 0.20107388496398926, -0.5922644138336182, -1.1392313241958618, 0.43016940355300903, -0.7016986012458801, -0.2774953544139862, 1.4629864692687988, 0.11127777397632599, -0.21612244844436646, -0.09817950427532196, -0.36368051171302795, 0.17690208554267883, -0.44397348165512085, 0.9693771004676819, 0.8918136954307556, 0.18035905063152313, 0.10732652246952057, -0.5627591013908386, 0.3661161959171295, 0.4658341705799103, -0.4794176518917084, 0.08069860190153122, 0.5372586250305176, 0.10687702149152756, 0.21526099741458893, 0.7952699065208435, -0.07436804473400116, 0.13409878313541412, -0.05910710617899895, 0.14186044037342072, 0.2898230254650116, -0.16956886649131775, -0.18320032954216003, -0.1239590123295784, -0.17488563060760498, 0.19789600372314453 ]
http://arxiv.org/abs/2406.17363v2
http://arxiv.org/pdf/2406.17363v2
Leveraging Synthetic Audio Data for End-to-End Low-Resource Speech Translation
2024-06-25T08:26:41
2024-06-27T09:08:03
Yasmin Moslem
cs.CL
cs.CL, cs.SD, eess.AS
This paper describes our system submission to the International Conference on Spoken Language Translation (IWSLT 2024) for Irish-to-English speech translation. We built end-to-end systems based on Whisper, and employed a number of data augmentation techniques, such as speech back-translation and noise augmentation. We investigate the effect of using synthetic audio data and discuss several methods for enriching signal diversity.
[ -0.30488401651382446, -0.4996746778488159, 0.18807196617126465, 0.3851028084754944, -0.29666975140571594, 0.6604107618331909, -0.12403970211744308, -0.8938571214675903, 0.5228816270828247, 0.45949792861938477, -0.7965093851089478, -0.4415134787559509, -0.5743900537490845, 0.3421913683414459, -0.912458062171936, 0.8055652976036072, 0.21788325905799866, 0.23679476976394653, 0.18136484920978546, -0.2989336848258972, -0.334991991519928, -0.5227074027061462, -0.6001836657524109, -0.22774623334407806, 0.1778331696987152, 0.6165028810501099, 0.5304778814315796, 0.28958413004875183, 0.38599056005477905, 0.18259528279304504, -0.08370660245418549, 0.3347617983818054, -0.5681832432746887, 0.04957643896341324, -0.30484455823898315, -0.3819279670715332, -0.5422161817550659, -0.0034367693588137627, 0.8096600770950317, 0.779202401638031, 0.007891546934843063, 0.37381383776664734, -0.06281814724206924, 0.3940216898918152, -0.31418702006340027, 0.004422416910529137, -0.7926307320594788, 0.16042423248291016, -0.3887960612773895, -0.46515920758247375, -0.39109116792678833, 0.06298161298036575, 0.14894631505012512, -0.6442026495933533, 0.1254018098115921, 0.34691327810287476, 0.4008347690105438, 0.4559921622276306, -0.47311368584632874, -0.2556236684322357, -1.0113743543624878, 0.8265751600265503, -0.8372180461883545, 0.7479633688926697, 0.30223995447158813, 0.13035660982131958, -0.3585985004901886, -0.9746786952018738, -0.7081359624862671, 0.017084287479519844, 0.11110365390777588, 0.5930140018463135, -0.40146714448928833, 0.24945512413978577, 0.0023845508694648743, 0.4396993815898895, -0.5359547138214111, 0.16129037737846375, -1.0425175428390503, -0.2973523437976837, 0.9096888899803162, 0.022489069029688835, 0.40336868166923523, 0.15957601368427277, -0.2778763473033905, -0.16491533815860748, -0.6126560568809509, -0.1011248528957367, 0.8829326033592224, 0.49961569905281067, -0.3321935832500458, 0.7251245975494385, -0.5551366209983826, 0.620686948299408, -0.20568349957466125, -0.31990179419517517, 0.43795016407966614, -0.627946138381958, 0.18752357363700867, 0.7969968318939209, 0.6100503206253052, 0.5291735529899597, -0.07068473845720291, -0.23625555634498596, -0.31963905692100525, 0.0781073048710823, -0.07120691239833832, -0.5587059259414673, 0.20528696477413177, 0.2385508269071579, -0.322182297706604, -0.2513370215892792, -0.24739426374435425, -0.6651350259780884, 0.4062994420528412, -0.4370121955871582, 0.4733373820781708, -0.289345920085907, -0.14649005234241486, 0.286363810300827, -0.44235336780548096, 0.28557127714157104, 0.19030626118183136, -0.6823779344558716, 0.7158549427986145, 0.3528950810432434, 1.0031338930130005, -0.49023693799972534, -0.05030626058578491, -0.7893658876419067, 0.3721763789653778, -0.4761297106742859, 0.6455678343772888, -0.2443404346704483, -0.7776169180870056, -0.14295841753482819, -0.0796467512845993, 0.3219255805015564, -0.7460273504257202, 1.004830241203308, -0.09058421105146408, 0.32570940256118774, 0.1909589022397995, -0.4273901581764221, 0.11592774093151093, -0.26932433247566223, -0.46957799792289734, 0.8855385184288025, 0.11926377564668655, -0.2704117000102997, 0.06803449243307114, -0.6412074565887451, -0.6912063360214233, 0.05536476895213127, 0.07001638412475586, -0.1885441690683365, 0.22148212790489197, 0.20113295316696167, -0.03647475689649582, -0.23459848761558533, -0.016706574708223343, 0.10652391612529755, -0.3505425751209259, 0.334155410528183, -0.7805896997451782, 0.6570438146591187, 0.5908661484718323, -0.05073247104883194, -0.0808127224445343, -0.9286810755729675, -0.04302012920379639, -0.15697693824768066, -0.3131033778190613, -0.01490482036024332, -0.041825585067272186, 0.4259631335735321, 0.08881957083940506, 0.15766200423240662, -1.0160776376724243, -0.15643975138664246, -0.5578013062477112, 0.7721185684204102, 0.3594297766685486, -0.18112164735794067, 0.3703099489212036, -0.3205438256263733, 0.5606266260147095, -0.01564071886241436, 0.06203766539692879, -0.25068992376327515, -0.8890276551246643, -0.3880150020122528, -0.17264357209205627, 0.3269496262073517, 0.8844054937362671, -0.45926883816719055, 0.17678822576999664, -0.22607479989528656, -0.2316817194223404, -1.1256788969039917, -0.003904038807377219, 0.11251838505268097, 0.6191023588180542, 0.6780453324317932, -0.25105249881744385, -0.8919414281845093, -1.0227800607681274, -0.08281596750020981, -0.33566686511039734, -0.016573572531342506, -0.012273507192730904, 0.014782076701521873, -0.3843283951282501, 0.8635861277580261, -0.20430150628089905, -0.3980373740196228, -0.1113431379199028, -0.0019981127697974443, 0.23112383484840393, 0.7657738327980042, 0.3401898741722107, -0.7282397747039795, -0.3524627089500427, 0.22904404997825623, -0.3762645125389099, -0.3827877342700958, -0.03563174605369568, -0.08174554258584976, -0.12290643155574799, 0.6712446808815002, -0.49261316657066345, 0.547717273235321, 0.9353997707366943, -0.09554725140333176, 0.4767199754714966, 0.10011158883571625, 0.34061771631240845, -1.0388598442077637, -0.27552011609077454, -0.3754187822341919, -0.485615074634552, -0.7709597945213318, -0.06965242326259613, -0.26291945576667786, -0.32044029235839844, -0.5344215035438538, 0.6875039339065552, -0.19412612915039062, -0.2932325601577759, -0.15771037340164185, 0.10029053688049316, -0.009787117131054401, 0.1217908039689064, -0.03031027503311634, 1.3145009279251099, 0.1784866452217102, -0.19162105023860931, 0.49571624398231506, 0.5912734866142273, -0.20323961973190308, 0.5475040078163147, -0.5081596970558167, 0.18639709055423737, 0.11772838234901428, 0.309723824262619, -1.1712936162948608, -0.35394737124443054, -0.05797569453716278, -0.975318968296051, 0.17478393018245697, -0.1762523502111435, -0.35134217143058777, -0.1247524693608284, -0.025548646226525307, 0.39166051149368286, 0.7889078855514526, -0.6569823622703552, 0.11746406555175781, 0.46998798847198486, -0.4320753514766693, -0.14188721776008606, -0.992629885673523, 0.6605081558227539, -0.19201788306236267, -0.7599322199821472, 0.8610038161277771, -0.26472795009613037, -0.37175196409225464, -0.02105458825826645, 0.0031244067940860987, -0.009024064987897873, -0.30216217041015625, -0.08660948276519775, 0.014451907016336918, -0.25100255012512207, 0.0004970150766894221, 0.3907489776611328, -0.03738095611333847, -0.03203168883919716, -0.8548058271408081, 0.39224565029144287, 0.15307508409023285, -0.380612850189209, -0.4523124396800995, 1.007557988166809, 0.4840957820415497, 0.05136457830667496, 0.35498538613319397, 0.6193453073501587, -0.22958485782146454, -0.2126784324645996, -0.4692785143852234, -0.2651067078113556, -0.4798513650894165, 0.298359215259552, -0.22922243177890778, -0.8431082963943481, 0.6129311919212341, -0.3565358817577362, 0.05083215609192848, 0.3676369786262512, 0.4106850326061249, -0.5530948638916016, 1.3408726453781128, 0.39513227343559265, 0.1652039736509323, 0.4202018976211548, -0.19723811745643616, 0.3361250162124634, -0.9512767195701599, -0.08473977446556091, -0.35043761134147644, -0.5357279181480408, -0.787216305732727, -0.29440373182296753, 0.47334468364715576, 0.07634792476892471, 0.3021467924118042, 0.3264263868331909, -0.6868183612823486, 0.03650466725230217, 0.6529567241668701, -0.01503690890967846, 0.5702329874038696, 0.22232475876808167, 0.17027093470096588, -0.1796993911266327, -0.5592725276947021, -0.20423763990402222, 0.9056904911994934, 0.3256836235523224, 0.614910900592804, 0.12125027924776077, 0.700566828250885, 0.4467177987098694, -0.18202923238277435, -0.7586783170700073, 0.36087337136268616, -0.3002403974533081, -0.486103892326355, -0.43109309673309326, -0.14648661017417908, -0.7468315362930298, 0.0929853767156601, -0.11321534216403961, -0.4718807339668274, 0.36427217721939087, 0.01846763864159584, 0.0722041204571724, 0.1533624231815338, -0.7064763307571411, 0.017587866634130478, -0.09506383538246155, -0.055133555084466934, -0.2449626624584198, -0.47760945558547974, 0.17540667951107025, -0.2113567441701889, 0.41210275888442993, -0.0010901346104219556, -0.1132940948009491, 0.8389844298362732, -0.4646274149417877, 0.608085036277771, 0.10562426596879959, -0.28017812967300415, 0.45622125267982483, -0.22819747030735016, 0.6537001729011536, 0.0633106529712677, -0.17196495831012726, 0.3832542598247528, 0.06714366376399994, -0.41039353609085083, -0.44962355494499207, 0.4583570659160614, -0.876784086227417, -0.5588787794113159, -0.08630891144275665, -0.5520094633102417, -0.47947198152542114, -0.09333619475364685, 0.6811911463737488, 0.5632579922676086, -0.07662833482027054, 0.32860252261161804, 0.40700429677963257, -0.17375390231609344, 0.3776979148387909, 0.4339185357093811, -0.23672249913215637, -0.7944393754005432, 1.0048530101776123, 0.49562767148017883, 0.6261650323867798, 0.15132968127727509, 0.07561961561441422, -0.38294872641563416, -0.9406829476356506, -0.7157749533653259, -0.05269825458526611, -0.5626877546310425, -0.09953895211219788, -0.7764386534690857, -0.515926718711853, -0.6257284879684448, -0.3538671135902405, -0.5537644028663635, -0.874730110168457, -0.1948937028646469, -0.4181458353996277, 0.5824292898178101, 0.5557276010513306, -0.38364270329475403, 0.8313984274864197, -0.6998487114906311, 0.3449910283088684, 0.10859261453151703, -0.044782813638448715, -0.6392364501953125, -0.794463574886322, -0.45859530568122864, 0.1926560252904892, -0.0032073205802589655, -0.8858744502067566, 0.8117175698280334, 0.5163331627845764, 0.6662143468856812, -0.2247401922941208, 0.2034001499414444, 0.7845354676246643, -0.561751663684845, 0.9247904419898987, 0.44514578580856323, -0.8959271311759949, 0.6700096726417542, -0.41006505489349365, 0.353346049785614, 0.30682992935180664, -0.04574825242161751, -0.5468983054161072, -0.6077847480773926, -0.4947448968887329, -0.9481080770492554, 0.3836997151374817, 0.38895541429519653, 0.3044186234474182, 0.16585777699947357, 0.15380094945430756, 0.24317289888858795, 0.21093973517417908, -0.1484011858701706, -0.14512309432029724, -0.27213403582572937, -0.3094523251056671, 0.0004987490247003734, 0.10778956115245819, -0.05953463166952133, -0.3187454640865326, 0.6128960847854614, -0.2800414264202118, 0.28159821033477783, 0.49366429448127747, 0.050576385110616684, -0.3063722550868988, 0.35778921842575073, 0.5100396871566772, 0.23203955590724945, -0.12809592485427856, -0.13620759546756744, 0.6118796467781067, -0.7747182250022888, 0.25377559661865234, -0.01784771867096424, -0.3670942187309265, 0.22553467750549316, 0.6983712315559387, 0.8864701390266418, 0.11263071745634079, -0.6709730625152588, 0.2515980005264282, 0.034040264785289764, -0.4638553857803345, -0.4596264660358429, -0.03658769279718399, 0.04194527119398117, 0.1622932255268097, 0.6289549469947815, 0.12143246829509735, 0.6081628203392029, -0.7890189290046692, 0.4071819484233856, 0.24111858010292053, -0.5496983528137207, -0.4921233057975769, 0.7886901497840881, 0.365639865398407, -0.4793882966041565, 0.43713152408599854, 0.12075185030698776, -0.1597733497619629, 0.20404306054115295, 0.8633957505226135, 0.9616572260856628, -0.36544498801231384, -0.0845600888133049, 0.17882157862186432, 0.2662901282310486, 0.2833060920238495, 0.6088289022445679, -0.15658679604530334, -0.23237687349319458, -0.9425274729728699, -0.7890717387199402, -0.6752535700798035, 0.08766960352659225, -0.7347439527511597, 0.3490294814109802, -0.03067680075764656, -0.359482079744339, -0.2885780334472656, -0.24204730987548828, -0.6330236196517944, 0.20547321438789368, 0.14513549208641052, 0.9879125356674194, -0.6248410940170288, 0.8492856621742249, 0.3742837607860565, -0.0653689056634903, -0.4345666468143463, -0.1412973254919052, 0.012702341191470623, -0.6443706154823303, 0.6987282037734985, -0.41760966181755066, -0.4961480498313904, 0.40285396575927734, -0.8450961709022522, -1.0979511737823486, 0.849750280380249, 0.4537019431591034, -0.776587724685669, 0.014747312292456627, 0.6499059200286865, 0.4528953433036804, -0.24419869482517242, -0.004770886618643999, 0.5783743262290955, 0.4840608835220337, 0.44362515211105347, -1.35177743434906, -0.6388210654258728, -0.2736963629722595, -0.29576364159584045, -0.16442625224590302, -0.5234923958778381, 0.718329131603241, 0.028511909767985344, -0.23488964140415192, 0.008487213402986526, 0.8293675184249878, 0.0743277370929718, 0.2783931493759155, 0.3574153780937195, 0.31641292572021484, 0.5187997817993164, -0.030320553109049797, 0.6222648620605469, -0.2405821681022644, -0.19782644510269165, 1.068730354309082, -0.12357071787118912, 0.9109558463096619, 0.7280282378196716, -0.28898632526397705, 0.032916635274887085, 0.4458467364311218, 0.5440968871116638, 0.6869062781333923, 0.0035061875823885202, -0.5271464586257935, 0.02251542918384075, -0.550385594367981, -0.4580743908882141, 0.712440550327301, 0.8490390777587891, 0.04111955687403679, -0.02288796752691269, 0.38872432708740234, -0.569173276424408, 0.07431014627218246, -0.05510687083005905, 0.9753334522247314, 0.3389568626880646, -0.4016505777835846, 0.5814779996871948, -0.22820226848125458, 0.8920015692710876, -0.5720869898796082, -0.32136619091033936, -0.19519391655921936, -0.1134413555264473, -0.3592538833618164, -1.111901044845581, 0.5611568689346313, -0.08556850254535675, -0.12188252061605453, -0.35959392786026, 0.5630156397819519, -0.6021875739097595, -0.3799462914466858, 0.6547327637672424, 0.40631625056266785, 0.20241068303585052, 0.31373676657676697, -0.24610154330730438, 0.37877514958381653, 0.16087767481803894, 0.035299427807331085, 0.2779978811740875, 0.32077884674072266, -0.1856250911951065, 0.5051910877227783, 1.1179187297821045, 0.7028197646141052, 0.5317078828811646, 0.037914250046014786, 0.6552027463912964, -0.5031780004501343, -0.8345986008644104, -0.4483771026134491, 0.5319482684135437, -0.13330933451652527, -0.2988068759441376, 0.5836904048919678, 0.7027472853660583, 1.0831607580184937, 0.20074693858623505, 1.112494707107544, 0.3390592038631439, 0.7774770259857178, -0.5870168209075928, 0.25365006923675537, -0.35045289993286133, 0.031380508095026016, -0.04969099909067154, -0.8332692384719849, 0.04296493157744408, 0.20096470415592194, 0.06566155701875687, -0.6353027820587158, 0.19809383153915405, 0.7958343029022217, -0.17881430685520172, 0.32737842202186584, 0.7211576700210571, 0.09774159640073776, 0.47342202067375183, -0.0030674352310597897, 0.8886359333992004, -0.6970342397689819, 0.6391879320144653, -0.19562476873397827, -0.1187266930937767, -0.2547091245651245, -0.5005595088005066, -0.141013965010643, -0.9620600938796997, -0.2618955373764038, -0.3022973835468292, 0.29427585005760193, 0.8902407884597778, 1.002871036529541, -0.9252203702926636, -0.3507213890552521, 0.11115871369838715, -0.36755606532096863, -0.09251052886247635, -0.1516246348619461, 0.015104064717888832, -0.25986072421073914, -1.0120277404785156, 1.207524299621582, 0.515640377998352, 0.2490144670009613, -0.3399251103401184, -0.3535206615924835, 0.025341492146253586, 0.31732064485549927, 0.9001745581626892, 0.23711708188056946, -0.7865695953369141, -0.297902911901474, 0.03479798883199692, 0.24832023680210114, 0.13745024800300598, 0.4848383665084839, -0.9011843204498291, 0.5197558999061584, 0.5517945885658264, 0.5205767154693604, 0.7287571430206299, -0.08683981001377106, 0.8712072968482971, -0.8894554376602173, 0.5706438422203064, 0.3802421987056732, 0.26631098985671997, 0.4317929148674011, -0.5443034172058105, 0.6452541351318359, 0.20246292650699615, -0.4579010605812073, -1.063283085823059, 0.11216223984956741, -1.078856348991394, 0.10206714272499084, 1.0161174535751343, 0.3614042103290558, -0.028271328657865524, -0.3558308780193329, -0.4899347424507141, 0.42496392130851746, -0.5594186186790466, 0.18387572467327118, 0.49410730600357056, -0.360305517911911, -0.1920715719461441, -1.0817433595657349, 0.4669466018676758, 0.09312020987272263, -0.5788642168045044, -0.2266179472208023, 0.2345789074897766, -0.04656825587153435, 0.2885006070137024, 0.562993049621582, -0.21308967471122742, 0.04448230564594269, 0.15751053392887115, -0.28342944383621216, 0.1469038724899292, -0.06600009649991989, -0.0561872161924839, -0.28613895177841187, -0.11876942217350006, -0.36538559198379517 ]
http://arxiv.org/abs/2406.17328v1
http://arxiv.org/pdf/2406.17328v1
Dual-Space Knowledge Distillation for Large Language Models
2024-06-25T07:25:15
2024-06-25T07:25:15
Songming Zhang, Xue Zhang, Zengkui Sun, Yufeng Chen, Jinan Xu
cs.CL
cs.CL, cs.AI
Knowledge distillation (KD) is known as a promising solution to compress large language models (LLMs) via transferring their knowledge to smaller models. During this process, white-box KD methods usually minimize the distance between the output distributions of the two models so that more knowledge can be transferred. However, in the current white-box KD framework, the output distributions are from the respective output spaces of the two models, using their own prediction heads. We argue that the space discrepancy will lead to low similarity between the teacher model and the student model on both representation and distribution levels. Furthermore, this discrepancy also hinders the KD process between models with different vocabularies, which is common for current LLMs. To address these issues, we propose a dual-space knowledge distillation (DSKD) framework that unifies the output spaces of the two models for KD. On the basis of DSKD, we further develop a cross-model attention mechanism, which can automatically align the representations of the two models with different vocabularies. Thus, our framework is not only compatible with various distance functions for KD (e.g., KL divergence) like the current framework, but also supports KD between any two LLMs regardless of their vocabularies. Experiments on task-agnostic instruction-following benchmarks show that DSKD significantly outperforms the current white-box KD framework with various distance functions, and also surpasses existing KD methods for LLMs with different vocabularies.
[ -0.4094465672969818, -0.6288223266601562, 0.8842263221740723, -0.038289207965135574, -0.29953062534332275, 0.28568193316459656, -0.46920448541641235, -0.1387539505958557, -0.0626479834318161, 0.2667279541492462, -0.49304041266441345, -0.556066632270813, -0.8903969526290894, -0.38388967514038086, -0.2961044907569885, 0.7249740958213806, -0.11465510725975037, 0.04114992544054985, -0.6660031080245972, -0.1402435153722763, -0.5743017792701721, -0.5237137079238892, -0.33826744556427, -0.47174450755119324, 0.483690470457077, 0.28622788190841675, 0.5502660274505615, 0.4278270900249481, 0.3549728989601135, 0.24414703249931335, -0.20701850950717926, 0.010138582438230515, -0.37262049317359924, 0.2313879281282425, -0.2804306149482727, -0.376526415348053, 0.07538940012454987, -0.24616558849811554, 0.496808260679245, 0.9522018432617188, -0.22575202584266663, 0.0847877487540245, 0.4642643630504608, 0.8973388671875, -0.7711763381958008, 0.22060483694076538, -0.3052617907524109, 0.23223595321178436, 0.022310925647616386, 0.16310662031173706, -0.213095024228096, -0.23799623548984528, 0.3205493092536926, -0.47869667410850525, 0.13847464323043823, -0.38325297832489014, 0.5142859816551208, 0.6493391394615173, -0.6825041174888611, -0.3484763503074646, -1.0154027938842773, 0.6501303911209106, -0.6859003305435181, 0.660408079624176, 0.11774680763483047, 0.6225651502609253, 0.034700118005275726, -0.5209489464759827, -0.7210079431533813, -0.08242131024599075, -0.13017073273658752, -0.0481758788228035, -0.06751424819231033, -0.08870911598205566, 0.2948703467845917, 0.28931236267089844, -0.34691429138183594, 0.1967242956161499, -0.55405592918396, 0.07313688099384308, 0.3863210678100586, -0.07927227020263672, 0.07048258930444717, 0.11423990875482559, -0.49649709463119507, -0.4330886900424957, -0.6730624437332153, 0.0010608234442770481, 0.27614399790763855, 0.18729224801063538, -0.05717657133936882, 0.3888660967350006, -0.3325050473213196, 0.4877499043941498, 0.2194630652666092, -0.3011189103126526, 0.10467585921287537, -0.19763562083244324, -0.1677306443452835, 0.05858631804585457, 0.6799766421318054, 0.5108966827392578, 0.17058776319026947, -0.2213393598794937, 0.13449470698833466, 0.3157496154308319, 0.11386051774024963, -0.7330623865127563, -0.5515672564506531, -0.006824093870818615, -0.3024507761001587, -0.22728227078914642, -0.16705402731895447, -0.8317786455154419, -0.5026094317436218, -0.526465117931366, 0.34574994444847107, -0.230755016207695, -0.46378445625305176, 0.11430477350950241, -0.05406501144170761, -0.3124748468399048, 0.1654811054468155, -0.9151458144187927, 0.4214307367801666, 0.5168664455413818, 0.7324734330177307, -0.3249572217464447, -0.20016029477119446, -0.18007026612758636, 0.28588518500328064, -0.0824635699391365, 0.5829454064369202, -0.5303409099578857, -0.3142365515232086, -0.09564559161663055, -0.24615271389484406, 0.14455313980579376, -0.645378828048706, 0.09692133963108063, -0.5772587060928345, -0.016665799543261528, -0.481536328792572, -0.6420100927352905, -0.26673558354377747, 0.09246262162923813, -0.5881322622299194, 1.1667829751968384, 0.15915898978710175, -0.7103986144065857, 0.59454745054245, -0.5494386553764343, -0.3680088222026825, -0.038340210914611816, -0.31910422444343567, -0.2166614830493927, 0.09954313933849335, 0.22621497511863708, 0.5709996819496155, -0.24527113139629364, 0.34179994463920593, -0.7061813473701477, -0.0554373525083065, 0.01936429552733898, -0.351947158575058, 0.674010694026947, 0.23277123272418976, -0.18135592341423035, -0.3419870436191559, -0.6767758131027222, 0.01562108937650919, 0.04637400060892105, -0.34375858306884766, -0.9084993004798889, -0.07482206076383591, -0.1850186139345169, 0.46659964323043823, 0.37445351481437683, -0.38057446479797363, 0.36891859769821167, -0.21295307576656342, 0.3228852450847626, 0.720543622970581, -0.011566950008273125, 0.7572540044784546, -0.008767100982367992, 0.5327608585357666, 0.4416762590408325, -0.27134764194488525, 0.17263488471508026, -0.16059954464435577, -0.42806434631347656, -0.2236892580986023, 0.2126908153295517, 0.2399141639471054, -0.7643402218818665, 0.38983649015426636, -0.32603919506073, -0.4948946535587311, -0.5347148776054382, 0.32709380984306335, 0.4035849869251251, 0.43216973543167114, 0.23335975408554077, 0.028240477666258812, -0.33971548080444336, -0.8592559695243835, -0.07327651977539062, -0.10514543205499649, 0.10448211431503296, 0.2057676464319229, 0.3323722183704376, -0.07942802459001541, 0.8796738982200623, -0.9346952438354492, -0.3732781410217285, -0.05441731587052345, -0.1937195360660553, 0.05757954716682434, 0.2594791352748871, 0.7251140475273132, -0.8625759482383728, -1.0110268592834473, 0.1933937668800354, -0.47139063477516174, -0.3075520992279053, 0.28643786907196045, -0.2534027397632599, 0.1819021850824356, 0.6788643002510071, -0.7031815052032471, 0.3629343509674072, 0.5616057515144348, -0.37576720118522644, 0.4630680978298187, -0.18497514724731445, 0.2308981567621231, -1.4352738857269287, -0.03495652973651886, -0.04901989921927452, -0.15456271171569824, -0.44250723719596863, 0.06305203586816788, 0.18968036770820618, 0.11179041117429733, -0.2617103159427643, 0.6128758192062378, -0.36239251494407654, -0.16269175708293915, -0.3825173079967499, 0.3223874568939209, 0.07062217593193054, 0.5811349153518677, 0.254825234413147, 0.3982555568218231, 0.6196456551551819, -0.6102116703987122, 0.6242084503173828, 0.035657864063978195, -0.4480263590812683, 0.6540963649749756, -0.44330644607543945, 0.01598147675395012, -0.07304501533508301, 0.196699321269989, -1.3459223508834839, 0.09192420542240143, 0.05629469081759453, -0.22026211023330688, 0.3481460511684418, -0.19468362629413605, -0.4905543029308319, -0.5605322122573853, -0.12155835330486298, 0.5821967124938965, 0.8143973350524902, -0.703838586807251, 0.20503918826580048, 0.3389948308467865, -0.33749088644981384, -0.705221951007843, -0.7286927103996277, -0.27776432037353516, -0.3799518942832947, -0.6099560260772705, 0.23799538612365723, -0.2281392216682434, -0.21202626824378967, 0.39687538146972656, -0.36805859208106995, -0.12379381060600281, -0.06911591440439224, 0.1404721885919571, 0.2144681066274643, -0.21888534724712372, 0.32155171036720276, 0.39835017919540405, 0.11979483813047409, 0.0017075841315090656, -0.5550078749656677, 0.47545644640922546, 0.48693281412124634, -0.5282476544380188, -0.24506811797618866, 0.36940816044807434, 0.815852701663971, 0.1258695423603058, 0.8735556602478027, 0.4798016846179962, -0.3655053973197937, -0.5261821746826172, -0.5665709376335144, -0.2827099859714508, -0.47250398993492126, 0.6483644247055054, -0.44818440079689026, -0.8970855474472046, 0.48183807730674744, -0.20974472165107727, -0.02962050586938858, 0.21284766495227814, 0.6930637359619141, -0.0368383564054966, 0.8624759316444397, 0.9127512574195862, -0.14377157390117645, 0.32076478004455566, -0.25992172956466675, 0.4662652611732483, -0.829615592956543, -0.18928198516368866, -0.47272294759750366, -0.6641653180122375, -0.16206473112106323, -0.47236332297325134, 0.3631094992160797, 0.357303261756897, 0.1474056839942932, 0.27987250685691833, -0.5638594031333923, 0.6668078303337097, 0.5842378735542297, -0.3746790587902069, 0.3170263171195984, 0.2768597900867462, -0.44136887788772583, -0.32104456424713135, -0.737291693687439, -0.2723897397518158, 1.192065715789795, 0.1537308543920517, 0.77689528465271, 0.16346710920333862, 0.9374528527259827, 0.20902782678604126, 0.09965911507606506, -0.5596489906311035, 0.396371454000473, -0.43824875354766846, -0.2880955636501312, -0.3100898563861847, -0.49362632632255554, -0.6282621622085571, 0.5426612496376038, 0.2653886079788208, -0.8503772020339966, 0.14187172055244446, 0.12484855949878693, -0.4868759512901306, 0.37134620547294617, -1.0983036756515503, 0.8995378613471985, 0.12194007635116577, -0.17082256078720093, -0.3201724588871002, -0.41787225008010864, 0.5915989875793457, -0.2187272012233734, 0.21482054889202118, -0.05397983267903328, 0.19991178810596466, 0.6678285002708435, -0.45817863941192627, 0.7194794416427612, -0.5461060404777527, -0.4664372503757477, 0.10319457203149796, 0.17229299247264862, 0.31048858165740967, 0.06871559470891953, 0.298907607793808, -0.015827935189008713, 0.49546948075294495, -0.11537674814462662, -0.8518934845924377, 1.0060237646102905, -0.8800510764122009, -0.6664829254150391, -0.2019074410200119, -0.7946724891662598, -0.25797536969184875, 0.16184747219085693, 0.09951101243495941, 0.15480363368988037, 0.0373271182179451, 0.18268978595733643, 0.6430683135986328, -0.07936566323041916, 0.301568865776062, 0.620274007320404, -0.2597294747829437, -0.04901912435889244, 0.5809682011604309, 0.3086443543434143, 0.5751575827598572, 0.42159417271614075, 0.101533904671669, -0.7289193868637085, -0.2614805996417999, -0.29005926847457886, 0.03839953988790512, -0.9033642411231995, -0.1898469477891922, -0.6641937494277954, -0.28256386518478394, -0.7248654961585999, -0.16572485864162445, -0.5997518301010132, -0.46828633546829224, -0.06868596374988556, -0.03760949522256851, 0.21118640899658203, 0.6602407693862915, -0.017167257145047188, -0.029583826661109924, -0.6526152491569519, 0.5682467818260193, 0.4314604103565216, 0.28619763255119324, 0.29997414350509644, -0.5496844053268433, -0.27056899666786194, 0.37603071331977844, -0.41605162620544434, -0.6736490726470947, 0.25852811336517334, 0.040271151810884476, 0.321731835603714, 0.3634343445301056, 0.3654150068759918, 0.8359670042991638, -0.5720618963241577, 0.6135179996490479, 0.47009870409965515, -0.642692506313324, 0.3121589124202728, 0.16952082514762878, 0.6520311832427979, 0.366985023021698, 0.327132910490036, -0.8597186803817749, -0.6026602983474731, -0.3800886869430542, -0.6739923357963562, 0.9675078988075256, -0.19798949360847473, 0.0033792140893638134, 0.2684897780418396, 0.14142192900180817, 0.4079989492893219, 0.14069722592830658, -0.6966584324836731, -0.3163778781890869, 0.17628604173660278, -0.4866889715194702, -0.050065308809280396, -0.11168260872364044, -0.03791581466794014, -0.1174648329615593, 0.6610803604125977, -0.0004388674278743565, -0.0044352044351398945, -0.04740000516176224, -0.05731019005179405, -0.1837393045425415, 0.19964556396007538, 0.24165427684783936, 0.5684394836425781, 0.10086392611265182, 0.43441537022590637, 0.08607077598571777, -0.6486495733261108, 0.4988107979297638, 0.13017183542251587, -0.006011458113789558, -0.11328400671482086, 0.12111722677946091, 0.5778918266296387, 0.15020106732845306, -0.4888066351413727, 0.42672863602638245, 0.055837299674749374, -0.310249388217926, -0.027502037584781647, 0.11186382919549942, 0.6002464890480042, 0.685075044631958, 0.2426406443119049, 0.16514606773853302, 0.06924696266651154, -0.3322295546531677, 0.10698271542787552, 0.31666284799575806, -0.0878010243177414, -0.28630760312080383, 0.6625524759292603, -0.018131855875253677, -0.044148363173007965, 0.3874295651912689, -0.36930015683174133, -0.4483594298362732, 0.6690405011177063, 0.4113383889198303, 0.8434319496154785, -0.22880493104457855, 0.23789334297180176, 0.2265615612268448, -0.10380982607603073, -0.16220588982105255, 0.03152007237076759, -0.509551465511322, -0.7491171360015869, -0.4081434905529022, -0.8251649737358093, 0.12778593599796295, 0.3131098449230194, -0.6857010126113892, 0.3445007801055908, -0.23311954736709595, -0.008135845884680748, 0.2350223958492279, 0.1415380984544754, -0.5903164744377136, -0.2233056277036667, 0.3670411705970764, 0.49241188168525696, -0.9039703011512756, 1.1489660739898682, 0.7367075085639954, -0.007888473570346832, -0.7313423752784729, 0.09517783671617508, 0.03741549700498581, -0.4750274419784546, 0.9407133460044861, -0.11384610831737518, -0.09674305468797684, -0.15588049590587616, -0.08089940994977951, -0.9592151045799255, 1.311240315437317, 0.5223502516746521, -1.1411839723587036, -0.08327978104352951, 0.21358731389045715, 0.5728402733802795, -0.25179752707481384, -0.2955547869205475, 0.5296099185943604, 0.21516337990760803, 0.4074017405509949, -0.9431067705154419, 0.03695640340447426, -0.01688498444855213, 0.24463292956352234, 0.43413761258125305, -0.5859858989715576, 0.6585904955863953, -0.2322579026222229, -0.42085692286491394, -0.19636689126491547, 0.4426422715187073, 0.34019050002098083, 0.2879190444946289, 0.49294471740722656, 0.9318615198135376, 0.6073562502861023, 0.017203867435455322, 0.5835062265396118, -0.32357922196388245, 0.551020085811615, 1.221062183380127, -0.6676349639892578, 0.6604700684547424, 0.8514277338981628, -0.6319184303283691, 0.26433107256889343, 0.2259601652622223, 0.06356720626354218, 1.018337607383728, 0.13171197474002838, -0.16859309375286102, 0.06881482899188995, 0.24308568239212036, -0.45253390073776245, -0.014013412408530712, 0.15683197975158691, -0.14334136247634888, -0.4613538682460785, 0.2177298665046692, -0.19268397986888885, 0.4303317368030548, -0.018121279776096344, 0.8056976199150085, 0.20228981971740723, -0.8643874526023865, 0.6438033580780029, 0.03719419986009598, 0.592801034450531, -0.5213758945465088, 0.001978484680876136, -0.14411766827106476, 0.4950059652328491, 0.09238214045763016, -0.7361761331558228, 0.34264299273490906, -0.1030547097325325, -0.5198719501495361, -0.28241488337516785, 0.6882269978523254, -1.0885626077651978, -0.4236220717430115, 0.5475358366966248, 0.3746272027492523, -0.07497605681419373, 0.1120334267616272, -0.48944082856178284, 0.10544383525848389, 0.10044922679662704, -0.10367897152900696, 0.5468485355377197, 0.7038909792900085, 0.04756755754351616, 0.5085389018058777, 0.44208070635795593, 0.22110319137573242, 0.30284714698791504, 0.03699114918708801, 0.8790000677108765, -0.19048050045967102, -0.8562222123146057, -1.0194092988967896, 0.290378212928772, -0.03291619196534157, -0.025556422770023346, 0.6618977189064026, 0.3227079212665558, 1.0431417226791382, -0.30992966890335083, 0.9183756709098816, -0.235725536942482, 0.6043274402618408, -0.5301082730293274, 0.7733628749847412, -0.6442824006080627, 0.34848785400390625, -0.23515602946281433, -1.362830638885498, 0.06453356891870499, 0.41380372643470764, -0.3719046711921692, 0.0388023667037487, 0.8904469609260559, 0.7895027995109558, -0.41352811455726624, -0.314614474773407, 0.4926246404647827, 0.20854631066322327, 0.25831297039985657, 0.9405025243759155, 0.8481452465057373, -0.22007869184017181, 0.5643228888511658, -0.4765174984931946, 0.027974959462881088, -0.17309896647930145, -0.5951540470123291, -1.0274757146835327, -1.0030921697616577, -0.6376467347145081, -0.017809437587857246, -0.07851899415254593, 0.5392187237739563, 0.8746368288993835, -0.5482636094093323, -0.029658224433660507, -0.0963703915476799, 0.15421278774738312, -0.2723590135574341, -0.3018539547920227, 0.5298150181770325, -0.25083276629447937, -0.87388676404953, 0.008170066401362419, 0.29180654883384705, 0.042585209012031555, -0.5186861157417297, -0.27185913920402527, -0.20451156795024872, -0.08898701518774033, 0.39187857508659363, -0.04606705904006958, -0.827932596206665, -0.21629376709461212, -0.23121461272239685, -0.20715349912643433, -0.23628133535385132, 0.6434609889984131, -0.8109210133552551, 0.3554937243461609, 0.4334399998188019, 0.6798559427261353, 0.5694137215614319, -0.3130241334438324, 0.4777688980102539, -1.1373252868652344, 0.33482566475868225, 0.003174120793119073, 0.0949326604604721, 0.21745838224887848, -0.4863421320915222, 0.21422524750232697, 0.1571549028158188, -0.43044930696487427, -0.9597691893577576, 0.2718384861946106, -0.6472862958908081, -0.517196536064148, 1.2621607780456543, -0.32484620809555054, -0.0856861025094986, 0.1166924312710762, -0.24308548867702484, 0.32749441266059875, -0.32216671109199524, 0.9938532114028931, 1.2507591247558594, 0.3151876926422119, -0.04728182405233383, -0.5155738592147827, 0.6021556854248047, 0.41967666149139404, -0.49231815338134766, 0.41859540343284607, 0.47416049242019653, 0.5044968128204346, 0.27492058277130127, 0.5106691718101501, -0.09793112426996231, 0.2907051742076874, 0.020152047276496887, 0.13791880011558533, -0.10122630000114441, -0.3625142276287079, -0.28209516406059265, 0.11552377790212631, -0.08678989112377167, -0.2007656991481781 ]
http://arxiv.org/abs/2407.00087v1
http://arxiv.org/pdf/2407.00087v1
ARES: Alternating Reinforcement Learning and Supervised Fine-Tuning for Enhanced Multi-Modal Chain-of-Thought Reasoning Through Diverse AI Feedback
2024-06-25T07:20:11
2024-06-25T07:20:11
Ju-Seung Byun, Jiyun Chun, Jihyung Kil, Andrew Perrault
cs.AI
cs.AI, cs.CL, cs.LG
Large Multimodal Models (LMMs) excel at comprehending human instructions and demonstrate remarkable results across a broad spectrum of tasks. Reinforcement Learning from Human Feedback (RLHF) and AI Feedback (RLAIF) further refine LLMs by aligning them with specific preferences. These methods primarily use ranking-based feedback for entire generations. With advanced AI models (Teacher), such as GPT-4 and Claude 3 Opus, we can request various types of detailed feedback that are expensive for humans to provide. We propose a two-stage algorithm ARES that Alternates REinforcement Learning (RL) and Supervised Fine-Tuning (SFT). First, we request the Teacher to score how much each sentence contributes to solving the problem in a Chain-of-Thought (CoT). This sentence-level feedback allows us to consider individual valuable segments, providing more granular rewards for the RL procedure. Second, we ask the Teacher to correct the wrong reasoning after the RL stage. The RL procedure requires massive efforts for hyperparameter tuning and often generates errors like repetitive words and incomplete sentences. With the correction feedback, we stabilize the RL fine-tuned model through SFT. We conduct experiments on multi-model dataset ScienceQA and A-OKVQA to demonstrate the effectiveness of our proposal. ARES rationale reasoning achieves around 70% win rate against baseline models judged by GPT-4o. Additionally, we observe that the improved rationale reasoning leads to a 2.5% increase in inference answer accuracy on average for the multi-modal datasets.
[ -0.6942693591117859, -1.1449300050735474, 0.7140749096870422, -0.06770003587007523, -0.17170003056526184, 0.11361140757799149, -0.2944120168685913, -0.3034336268901825, -0.06217603757977486, 0.5495903491973877, -0.872252881526947, -0.296741247177124, -0.5409695506095886, 0.13540096580982208, -0.022703006863594055, 1.0349968671798706, -0.14398568868637085, 0.18286684155464172, 0.20999348163604736, -0.2961246371269226, -0.4685802459716797, -0.2618617117404938, -1.0506324768066406, -0.3123719096183777, 0.651222288608551, 0.770216703414917, 0.5276104211807251, 0.6124544143676758, 0.21966023743152618, 0.3474292755126953, 0.19013257324695587, 0.9539048075675964, -0.191054105758667, 0.36041805148124695, -0.5008555054664612, -0.3532871901988983, -0.41387566924095154, 0.07251417636871338, 0.3721890151500702, 0.314287394285202, -0.2934756875038147, 0.0035860633943229914, 0.038422681391239166, 0.8815643787384033, -0.6989648938179016, 0.0032716391142457724, -0.5496652126312256, 0.013055321760475636, 0.06233504042029381, -0.5023362636566162, -0.697699248790741, -0.2354266196489334, -0.0660599023103714, -0.8554413318634033, -0.11327753216028214, 0.47011464834213257, 0.6535308957099915, 0.6627816557884216, -0.5972469449043274, -0.39380592107772827, -0.9587787985801697, 0.8053084015846252, -0.49812328815460205, 0.5303200483322144, 0.4868329167366028, 0.3334055542945862, -0.11643140017986298, -0.6490466594696045, -0.5774036645889282, -0.4714421033859253, 0.29216837882995605, 0.2732604444026947, -0.09521103650331497, 0.4013183116912842, 0.19099268317222595, 0.17171353101730347, -0.10241511464118958, 0.016837220638990402, -0.38483843207359314, 0.0429132804274559, 0.6140984892845154, 0.20900879800319672, -0.15887244045734406, 0.2091703563928604, -0.4425930678844452, -0.29648876190185547, -0.5168976783752441, 0.27043116092681885, 0.35971614718437195, 0.21749459207057953, 0.19808493554592133, 0.5485886335372925, -0.4498518407344818, 0.6475362181663513, 0.5180628895759583, 0.05139214172959328, -0.028478682041168213, -0.24125780165195465, -0.2978784143924713, -0.2483658641576767, 0.5981723070144653, 0.13496609032154083, 0.07259751111268997, -0.04710335284471512, -0.4236938953399658, 0.1161596029996872, 0.5023868083953857, -0.3595985174179077, -0.2502567768096924, -0.04666073992848396, -0.41398322582244873, -0.20224905014038086, -0.025046534836292267, -0.5413150191307068, -0.44503700733184814, -0.7391244769096375, 0.9164089560508728, -0.531326174736023, 0.20787553489208221, 0.08303739875555038, 0.01801341027021408, -0.23348763585090637, 0.6213632225990295, -0.8165866136550903, 0.4403088688850403, 0.42814892530441284, 0.3505176305770874, 0.10650268197059631, -0.5324448347091675, -0.88177889585495, -0.004213276319205761, -0.3860529959201813, 0.9244346022605896, -0.6416140198707581, 0.13138248026371002, -0.3881063163280487, -0.20084135234355927, -0.14729206264019012, -0.2668831944465637, 0.6610336303710938, -0.6586463451385498, 0.3594399690628052, -0.30593690276145935, -0.5329975485801697, -0.5290652513504028, 0.412154883146286, -0.40248018503189087, 1.004258632659912, -0.16032767295837402, -0.4378533363342285, 0.43402618169784546, -0.6371342539787292, -0.2610275149345398, -0.44485384225845337, -0.136915922164917, -0.36192378401756287, 0.04925891011953354, 0.8024186491966248, 0.33455944061279297, -0.24316400289535522, 0.2510514259338379, -0.43062838912010193, -0.43252307176589966, 0.2662327289581299, -0.784441351890564, 0.03304363787174225, 0.3312074542045593, -0.5690523982048035, 0.7772942781448364, -0.6409198641777039, 0.07773136347532272, -0.3547006845474243, -0.35566362738609314, -0.16961227357387543, 0.25998881459236145, -0.05616180598735809, 0.4210483133792877, -0.17462478578090668, -0.24847646057605743, 0.3783700168132782, -0.22509437799453735, 0.40250715613365173, 1.038543701171875, 0.20149165391921997, 0.3466917872428894, -0.5938432812690735, 0.5663796067237854, -0.12843875586986542, 0.30185651779174805, -0.12119697034358978, -0.3950924575328827, -1.0135647058486938, -0.30111345648765564, 0.24245770275592804, 0.4123368263244629, -0.8222794532775879, 0.2804189920425415, 0.19978436827659607, -0.1656174659729004, -0.7676491737365723, 0.13027018308639526, 0.4392443001270294, 0.4164426624774933, 0.692981481552124, -0.2635825574398041, -0.6130120158195496, -0.9768434762954712, -0.14991070330142975, 0.014415263198316097, 0.26982584595680237, 0.599390983581543, 0.5249226689338684, -0.2211829572916031, 0.6384469270706177, -0.22078287601470947, -0.20644955337047577, -0.22422809898853302, 0.44392263889312744, -0.14738309383392334, 0.28390708565711975, -0.01385511551052332, -0.47268491983413696, -0.19959504902362823, -0.024343792349100113, -0.36098340153694153, 0.03859268128871918, -0.3310849964618683, -0.11161086708307266, 0.06558346003293991, 0.41468021273612976, -0.3659726679325104, 0.152709499001503, 0.37312883138656616, -0.3878338932991028, 0.489761084318161, -0.42439231276512146, 0.5607358813285828, -0.8451181650161743, -0.07622302323579788, -0.07644135504961014, -0.3573884069919586, -0.11028294265270233, 0.23425744473934174, -0.0080639086663723, 0.1370934695005417, -0.14237390458583832, 0.4210249185562134, -0.21875791251659393, -0.06389322131872177, -0.5380970239639282, 0.03865979611873627, -0.09328441321849823, 0.9426817893981934, -0.06573687493801117, 0.9738457202911377, 0.3648710250854492, -0.7695300579071045, 0.45091527700424194, 0.0371890664100647, -0.18470624089241028, 0.42779237031936646, -0.4747537076473236, 0.22775761783123016, -0.1006498709321022, 0.7152953147888184, -0.7453001141548157, -0.2516680061817169, 0.31730929017066956, -0.3164786398410797, 0.01564391702413559, 0.10705040395259857, -0.23301725089550018, -0.21380586922168732, -0.3300451636314392, 0.3293401300907135, 0.20909340679645538, -0.6316254734992981, 0.6400188207626343, 0.13063935935497284, -0.019651219248771667, -0.7643213868141174, -0.1574244648218155, -0.14078928530216217, -0.09631311148405075, -0.41659268736839294, 0.14570002257823944, 0.006291874218732119, -0.112248994410038, 0.21607136726379395, -0.29574495553970337, 0.05288291722536087, 0.07524315267801285, 0.22354474663734436, 0.1011725589632988, -0.0580357126891613, 0.3438263535499573, 0.4217575192451477, -0.14488887786865234, -0.2355925738811493, -0.46201780438423157, 0.4570388197898865, -0.38681337237358093, -0.5631786584854126, -0.623436450958252, 0.23002417385578156, 0.7223724126815796, -0.3645825684070587, 0.5070081353187561, 0.6542544960975647, -0.15349790453910828, -0.4957207441329956, -0.5044821500778198, -0.5551548004150391, -0.41526830196380615, 0.30985891819000244, -0.4284968674182892, -0.929151177406311, 0.30396708846092224, -0.30484554171562195, 0.14468063414096832, 0.45311838388442993, 0.6695200204849243, -0.258352667093277, 1.4446794986724854, 0.4980284571647644, 0.06618162244558334, 0.5477634072303772, -0.36118587851524353, -0.015971669927239418, -0.922339141368866, -0.27490076422691345, -0.12319029867649078, -0.5904280543327332, -0.38050776720046997, -0.3672312796115875, 0.6187974810600281, 0.25077876448631287, -0.5443432331085205, -0.10356171429157257, -0.35354918241500854, 0.4480935037136078, 0.8548734188079834, 0.5107157826423645, 0.34582194685935974, -0.2097494751214981, -0.4379402697086334, 0.2655601501464844, -0.6609582901000977, -0.3296719789505005, 1.2479740381240845, 0.38998785614967346, 0.8353037238121033, -0.005856349132955074, 0.6080875396728516, 0.4958707094192505, 0.23575040698051453, -0.6900936365127563, 0.3425517678260803, 0.0723644271492958, -0.681918203830719, -0.36572396755218506, -0.2970406115055084, -0.7277783751487732, 0.5196312665939331, -0.5100395679473877, -0.44906699657440186, -0.003269163193181157, 0.4006517827510834, -0.6590076088905334, 0.21825525164604187, -0.5047295093536377, 0.5364301800727844, -0.2682580351829529, -0.6083154678344727, -0.9312987327575684, -0.7019615173339844, 0.4991791248321533, 0.22220110893249512, 0.2867263853549957, 0.0667666345834732, 0.0904259979724884, 0.6080718040466309, -0.4218302071094513, 0.6860832571983337, 0.016389600932598114, 0.17942112684249878, 0.12111055105924606, -0.16197235882282257, 0.7709577083587646, 0.378864049911499, 0.17393645644187927, -0.5227171182632446, -0.25205299258232117, -0.28798824548721313, -0.7599601149559021, 0.6857448220252991, -0.9694728851318359, -0.548416793346405, -0.4768792688846588, -0.6933967471122742, -0.5728241205215454, -0.05456353724002838, 0.19212235510349274, 0.5205731987953186, 0.1889522820711136, 0.11322659254074097, 0.694571316242218, -0.01530286855995655, 0.10578915476799011, 0.5163328051567078, -0.1431402862071991, -0.8095139265060425, 0.6816096901893616, -0.3868705928325653, 0.14491534233093262, 0.30494698882102966, 0.03161519020795822, -0.35351184010505676, -0.4312230944633484, -0.756309986114502, -0.062352798879146576, -0.5756894946098328, -0.19098621606826782, -0.5216098427772522, 0.07185599952936172, 0.0888519212603569, -0.15242671966552734, -0.5264790058135986, -0.5577762722969055, 0.10824094712734222, -0.09502553194761276, 0.30587828159332275, 0.766766369342804, -0.2577231228351593, 0.17070068418979645, -0.6504483819007874, 0.516667366027832, 0.5834763050079346, 0.23708032071590424, 0.11754263192415237, -0.44089093804359436, -0.25426504015922546, 0.21133923530578613, -0.7058650255203247, -0.9046438932418823, 0.0592467337846756, 0.20467159152030945, 0.438820481300354, 0.43762823939323425, -0.09559676796197891, 0.8741679787635803, -0.44164031744003296, 0.4734465181827545, 0.03912562131881714, -0.935265839099884, 0.6541239023208618, -0.2402353286743164, 0.0011770387645810843, 0.6600766181945801, 0.007073267828673124, -0.46256211400032043, -0.532863438129425, -0.5502699017524719, -0.9006585478782654, 1.0030858516693115, 0.12591181695461273, -0.2626000940799713, 0.0947057455778122, 0.31016960740089417, 0.23340381681919098, 0.11715620756149292, -0.6273616552352905, -0.2960774302482605, 0.04931433126330376, -0.16235743463039398, -0.04865940287709236, 0.13709813356399536, -0.3712332844734192, -0.48716360330581665, 1.0313318967819214, -0.10075110197067261, 0.0900784358382225, 0.29066118597984314, -0.025122370570898056, -0.35912424325942993, 0.6504489183425903, 0.8148955702781677, 0.43643608689308167, -0.1461976170539856, 0.22201456129550934, 0.3889869153499603, -0.08173442631959915, 0.3504261374473572, 0.2177087664604187, -0.04908629134297371, -0.46745792031288147, 0.3186887502670288, 1.1696962118148804, 0.3921237289905548, -0.6092962622642517, 0.13519501686096191, -0.1108705997467041, -0.2145824432373047, -0.16482661664485931, 0.32377690076828003, -0.21474409103393555, 0.6565187573432922, 0.33905652165412903, 0.8037391304969788, 0.2664991021156311, -0.6437187194824219, 0.4313177168369293, 0.3344291150569916, -0.42590129375457764, -0.1944521963596344, 0.7836230993270874, 0.39785298705101013, -0.10425739735364914, 0.5523015856742859, -0.18564364314079285, -0.419137179851532, 0.4657868444919586, 0.3973020017147064, 0.7832309603691101, -0.05105694383382797, 0.2692314386367798, 0.29483896493911743, 0.2343757301568985, -0.42530927062034607, 0.33141204714775085, -0.4115995764732361, -0.6609784364700317, -0.6271352767944336, -0.38464751839637756, -0.5703215599060059, 0.23395466804504395, -0.6662537455558777, 0.17109398543834686, -0.5608937740325928, -0.19574004411697388, -0.11719091236591339, 0.11464259028434753, -0.4774756133556366, 0.27389001846313477, 0.17845328152179718, 0.6132415533065796, -0.8823773264884949, 0.8953177332878113, 0.9847723245620728, -0.5048164129257202, -1.109290599822998, 0.06714503467082977, 0.033544715493917465, -0.6382953524589539, 0.41565045714378357, -0.0327313132584095, -0.3736362159252167, 0.10293696820735931, -0.3373268246650696, -0.8242511749267578, 1.0498560667037964, 0.10468778759241104, -0.6047595739364624, 0.03138752654194832, -0.5347388386726379, 0.4605380594730377, -0.3132816255092621, 0.5492492318153381, 0.39450687170028687, 0.5089972615242004, 0.013137595728039742, -0.9412883520126343, -0.12877283990383148, -0.20920002460479736, -0.31713902950286865, 0.34389129281044006, -0.600417971611023, 0.8323675394058228, -0.4456995129585266, 0.10896661877632141, -0.04283514246344566, 0.6644025444984436, 0.7040673494338989, 0.5482690334320068, 0.6689820885658264, 0.8264544010162354, 0.8133199214935303, 0.14787793159484863, 0.9265254139900208, -0.2256888747215271, 0.3307071328163147, 1.0611703395843506, 0.08624936640262604, 0.875491201877594, 0.47830259799957275, -0.016081100329756737, 0.5458895564079285, 0.6593922972679138, 0.15105706453323364, 0.7902460098266602, -0.07668221741914749, -0.2459714263677597, -0.6068271398544312, 0.17293578386306763, -0.27894315123558044, 0.38306334614753723, 0.4139874577522278, -0.3398919403553009, -0.1608881801366806, 0.30090421438217163, -0.2929658889770508, 0.16881024837493896, -0.33874648809432983, 0.6715990304946899, -0.04945022985339165, -1.0429434776306152, 0.370932400226593, 0.3859143555164337, 0.632485568523407, -0.47226741909980774, -0.1565100997686386, -0.19033396244049072, 0.5332362055778503, -0.04686722531914711, -0.45411452651023865, 0.02694072760641575, -0.0642768070101738, -0.25529223680496216, -0.21795500814914703, 0.3150915801525116, -0.47724124789237976, -0.27425602078437805, -0.0032982651609927416, 0.46700581908226013, -0.32409340143203735, 0.12113755941390991, -0.787327766418457, -0.07554473727941513, -0.001996966078877449, -0.43892523646354675, 0.15251418948173523, 0.3671274185180664, -0.2799053490161896, 0.906844973564148, 0.6776812672615051, -0.03065286949276924, 0.024857738986611366, 0.06653588265180588, 0.9616223573684692, -0.5048187375068665, -0.5762360095977783, -0.6484384536743164, 0.3755367696285248, 0.08760028332471848, -0.6790136694908142, 0.5120545029640198, 0.44637560844421387, 0.6287445425987244, 0.012814585119485855, 0.6870207786560059, 0.03728977218270302, 0.3780118227005005, -0.8267724514007568, 0.27279722690582275, -0.7219452857971191, 0.437643438577652, -0.06284203380346298, -0.7685698866844177, -0.02429342456161976, 0.7347314357757568, -0.2770286202430725, 0.06555813550949097, 0.8989612460136414, 0.5733668804168701, -0.3154098689556122, 0.1778426170349121, 0.04607398435473442, 0.13054318726062775, 0.24320672452449799, 0.71513831615448, 1.0947576761245728, -0.4360624849796295, 0.3823436200618744, -0.23407596349716187, -0.2432938516139984, -0.2075713574886322, -0.301846981048584, -0.6796796917915344, -0.6353861093521118, -0.10565260052680969, -0.15331195294857025, 0.450492799282074, 1.2654950618743896, 0.823035717010498, -0.8833170533180237, 0.006017641630023718, -0.5336266756057739, 0.13077493011951447, -0.7586076259613037, -0.18696609139442444, 0.2992839813232422, -0.690938413143158, -0.5985228419303894, 0.741592526435852, 0.2349623590707779, -0.5243467688560486, -0.08646456152200699, -0.458956241607666, -0.24325492978096008, 0.44215837121009827, 0.48649463057518005, 0.12927278876304626, -1.1186025142669678, -0.42912909388542175, 0.013130431063473225, -0.07081404328346252, -0.20335586369037628, 0.8279202580451965, -0.9724504947662354, 0.46739357709884644, 0.33323562145233154, 0.4472058117389679, 0.6255712509155273, 0.24918673932552338, 0.5864952206611633, -0.6384166479110718, 0.06591213494539261, 0.3615652322769165, 0.2822207510471344, -0.13252580165863037, -0.14876927435398102, 0.3084334135055542, 0.054324910044670105, -0.8029820322990417, -0.5753092765808105, 0.4742101728916168, -1.0101361274719238, -0.4523490071296692, 1.025610327720642, 0.06328573077917099, 0.2813459038734436, -0.11921367794275284, -0.63739413022995, 0.3609952926635742, -0.6880754232406616, 1.0250952243804932, 0.6454953551292419, -0.6343935132026672, -0.4630257785320282, -0.45780351758003235, 0.5836305022239685, 0.7569807171821594, -0.8190359473228455, -0.17664366960525513, 0.7704037427902222, 0.15880225598812103, -0.18848660588264465, 0.5762238502502441, 0.21006301045417786, 0.588661253452301, -0.1188514307141304, -0.09549430012702942, -0.4611237645149231, -0.7046805024147034, -0.2920055389404297, 0.1937999278306961, 0.19841928780078888, -0.32017308473587036 ]
http://arxiv.org/abs/2406.17324v1
http://arxiv.org/pdf/2406.17324v1
Delving into the Utilisation of ChatGPT in Scientific Publications in Astronomy
2024-06-25T07:15:10
2024-06-25T07:15:10
Simone Astarita, Sandor Kruk, Jan Reerink, Pablo Gómez
cs.CL
cs.CL, astro-ph.IM, cs.DL
Rapid progress in the capabilities of machine learning approaches in natural language processing has culminated in the rise of large language models over the last two years. Recent works have shown unprecedented adoption of these for academic writing, especially in some fields, but their pervasiveness in astronomy has not been studied sufficiently. To remedy this, we extract words that ChatGPT uses more often than humans when generating academic text and search a total of 1 million articles for them. This way, we assess the frequency of word occurrence in published works in astronomy tracked by the NASA Astrophysics Data System since 2000. We then perform a statistical analysis of the occurrences. We identify a list of words favoured by ChatGPT and find a statistically significant increase for these words against a control group in 2024, which matches the trend in other disciplines. These results suggest a widespread adoption of these models in the writing of astronomy papers. We encourage organisations, publishers, and researchers to work together to identify ethical and pragmatic guidelines to maximise the benefits of these systems while maintaining scientific rigour.
[ -0.2780779302120209, -0.5243909358978271, 0.4851318597793579, 0.29932060837745667, -0.3010268211364746, 0.008036782033741474, -0.22619274258613586, -0.7749964594841003, 0.07650832831859589, 0.6579829454421997, -0.2900322675704956, -0.34179753065109253, -0.9611102938652039, 0.4101516306400299, -0.6496400237083435, 1.076338291168213, 0.03278302028775215, 0.021520555019378662, -0.16847680509090424, 0.1944667100906372, -0.15418589115142822, -0.3914264440536499, -0.3919263184070587, -0.20135116577148438, 0.7151440978050232, 0.20412695407867432, 0.645285427570343, 0.4998456835746765, 1.1691203117370605, 0.2288249135017395, -0.28194671869277954, 0.35326316952705383, -0.5467193126678467, -0.12337927520275116, 0.14652390778064728, -0.4065858721733093, -0.15247243642807007, 0.192286878824234, 0.6977224349975586, 0.7824425101280212, -0.23742783069610596, -0.009586705826222897, 0.16848787665367126, 0.5360549092292786, -0.40138280391693115, 0.6669747233390808, -0.6691604256629944, 0.030244266614317894, -0.5389136075973511, -0.25615087151527405, -0.36547231674194336, -0.4046933650970459, 0.3375478684902191, -0.9392848610877991, 0.08707074075937271, 0.2886229455471039, 0.7194592356681824, 0.033716313540935516, -0.06275349110364914, -0.9021059274673462, -0.5583806037902832, 0.7615901827812195, -0.3996050953865051, 0.4067707061767578, 0.3747973144054413, 0.02858615107834339, -0.3720090091228485, -1.0444380044937134, -0.5890477299690247, -0.6270754337310791, -0.12067103385925293, 0.1947467029094696, -0.20850594341754913, 0.03963535651564598, 0.08526510745286942, 0.10967420041561127, -0.6716623306274414, -0.2122335135936737, -0.6546803116798401, 0.011723251082003117, 0.32976680994033813, 0.00016407326620537788, 0.1691271811723709, -0.28227698802948, -0.014783496037125587, -0.13450220227241516, -0.7924548983573914, -0.24222305417060852, 0.3049893081188202, 0.2868574261665344, 0.3931640088558197, 0.9150745868682861, 0.17739903926849365, 0.46129369735717773, -0.2627379894256592, 0.3773649036884308, -0.27078157663345337, -0.43759241700172424, -0.048072993755340576, -0.15144747495651245, 0.9350942373275757, 0.27251121401786804, 0.28229624032974243, -0.29932212829589844, 0.31181058287620544, 0.4418308138847351, 0.36807170510292053, -0.6047690510749817, -0.5182183384895325, -0.1199946254491806, -0.013239963911473751, -0.2832511365413666, 0.059647344052791595, -0.6347184777259827, -0.5041636824607849, -0.1850365698337555, 0.004748919978737831, -0.5611650347709656, 0.020000940188765526, 0.2863016724586487, -0.3293409049510956, 0.1086781844496727, 0.07878678292036057, -0.861885130405426, 0.08167783170938492, 1.0715595483779907, 0.8341432809829712, 0.24054782092571259, -0.3261483907699585, 0.01828785240650177, -0.1058819591999054, -0.5070656538009644, 0.9958873391151428, -0.8412932753562927, -0.9048982262611389, -0.1504071205854416, -0.034405216574668884, -0.22152617573738098, -0.33331769704818726, 0.8481312394142151, -0.5551923513412476, 0.5446749329566956, -0.2518424689769745, -0.6496691703796387, -0.4295775294303894, -0.15539699792861938, -0.3046448230743408, 1.0624289512634277, -0.1260523945093155, -0.6171026825904846, 0.956545889377594, -0.9717194437980652, -0.03872767463326454, 0.3975861072540283, 0.08362898975610733, -0.5939939022064209, -0.014109918847680092, 0.06769481301307678, 0.3260592818260193, 0.012279095128178596, 0.1624642312526703, -0.0924324095249176, -0.1527579128742218, 0.296387255191803, -0.1955070197582245, 0.24709118902683258, 0.6323596239089966, 0.0850888043642044, -0.4004799723625183, -0.44666537642478943, -0.21663594245910645, -0.17722348868846893, -0.22088901698589325, -0.5094766616821289, 0.4836462736129761, 0.3257678151130676, -0.2984255254268646, 0.1398545801639557, -0.6992701888084412, 0.3114856481552124, -0.5001832246780396, 0.5149059891700745, 0.18382181227207184, 0.05881679803133011, 0.32054463028907776, -0.3341376781463623, 0.20836377143859863, -0.2216319739818573, -0.05173657089471817, -0.07509803026914597, -0.7179476022720337, -0.4175029397010803, -0.22354573011398315, 0.06094752252101898, 0.224328875541687, -0.14564982056617737, 0.2344847023487091, -0.050665467977523804, -1.0295510292053223, -0.5451689958572388, 0.04617408290505409, 0.20248982310295105, 0.345944344997406, 0.08645029366016388, -0.20018532872200012, -0.5934382081031799, -0.5092158913612366, -0.656458854675293, -0.15999749302864075, 0.11653511226177216, 0.5579579472541809, 0.6017955541610718, -0.35051268339157104, 0.890426754951477, -0.42010194063186646, 0.0676993578672409, 0.23849432170391083, 0.6556813716888428, 0.20576058328151703, 0.19333074986934662, 0.20123302936553955, -1.0155020952224731, -0.5336052775382996, 0.2754085958003998, -0.8550971150398254, -0.16013723611831665, 0.031618330627679825, -0.18320627510547638, 0.059827011078596115, 0.38496914505958557, -0.5352274775505066, 0.15716196596622467, 0.4284345507621765, -0.5517640709877014, 0.49220630526542664, -0.08389510214328766, 0.22637684643268585, -0.8507893681526184, 0.47974488139152527, 0.2678675353527069, -0.152024045586586, -0.389443576335907, 0.1353464126586914, -0.00033136570709757507, -0.13876095414161682, -0.1474563479423523, 0.25353294610977173, -0.5781608819961548, 0.13876844942569733, -0.3999021649360657, 0.3986583650112152, -0.17817553877830505, -0.32734403014183044, 0.18299557268619537, 0.8866578340530396, 0.4142635464668274, -0.5432237982749939, 0.1902688592672348, 0.5555715560913086, -0.47472697496414185, 0.23493778705596924, -0.5423311591148376, -0.08235762268304825, -0.4996904730796814, 0.2467757910490036, -0.9430829882621765, -0.2590411901473999, 0.12867148220539093, -0.44636860489845276, 0.08740083873271942, -0.21197569370269775, -0.31744110584259033, -0.4171341359615326, 0.19920696318149567, -0.22211523354053497, 0.3979058563709259, -0.24186870455741882, 0.24754928052425385, 0.5661869645118713, -0.3770352602005005, -0.5727717876434326, -0.24541927874088287, 0.4847797155380249, -0.4088762104511261, -0.6779400110244751, 0.06306984275579453, 0.14869479835033417, -0.38924872875213623, 0.04615168645977974, 0.019303031265735626, 0.2842726409435272, 0.09372396022081375, 0.26358234882354736, 0.306233286857605, -0.07237028330564499, 0.1485634744167328, -0.6680744886398315, -0.1712234616279602, 0.035234492272138596, -0.46640297770500183, 0.6426514387130737, -0.17701996862888336, -0.05859199911355972, -0.14368021488189697, 0.3454551100730896, 0.426090806722641, -0.017641017213463783, 0.5779749751091003, 0.6479502320289612, -0.03136756643652916, 0.06651727110147476, -0.4570174813270569, -0.321794331073761, -0.4365572929382324, 0.614270806312561, 0.22546570003032684, -0.7621423006057739, 0.3244965374469757, 0.029347935691475868, 0.4968768060207367, 0.5096192359924316, 0.3798257112503052, -0.34959936141967773, 0.6655914783477783, 0.6818965077400208, -0.006572536658495665, 0.5335585474967957, -0.18966029584407806, 0.2515656352043152, -0.6667982339859009, -0.1628659963607788, -0.8804463744163513, 0.17231212556362152, -0.9475908875465393, -0.47067689895629883, 0.49750590324401855, -0.1943412721157074, 0.07852914929389954, 0.5460377335548401, -0.8352416753768921, 0.5843409299850464, 0.3458021879196167, -0.1801391988992691, 0.41206085681915283, 0.0625695213675499, 0.3224000334739685, -0.17327935993671417, -0.4347824454307556, -0.8176279067993164, 1.150888204574585, 0.0747479796409607, 0.8039872646331787, -0.17606700956821442, 0.590528666973114, 0.15674707293510437, 0.6173929572105408, -0.7775634527206421, 0.4513535499572754, -0.49723389744758606, -0.5694310665130615, -0.10212542861700058, -0.4991954267024994, -1.269030213356018, 0.09036826342344284, -0.081889808177948, -0.6471045017242432, 0.050207655876874924, -0.149762824177742, -0.11056715995073318, 0.053138215094804764, -0.755441427230835, 0.5012121200561523, 0.14582005143165588, -0.21588632464408875, -0.3759061396121979, -0.32042428851127625, 0.16967642307281494, -0.12168305367231369, 0.3011429011821747, -0.12640753388404846, 0.07335866987705231, 1.023282766342163, 0.013221027329564095, 0.7624439001083374, 0.12881246209144592, 0.036627721041440964, 0.46298423409461975, 0.07828807085752487, 0.5323809385299683, 0.03886602073907852, -0.01747792400419712, 0.21607886254787445, 0.41446346044540405, -0.2500876188278198, 0.0361889973282814, 0.6592933535575867, -0.6709272861480713, -0.3721299171447754, -0.8028279542922974, -0.5277508497238159, -0.012715517543256283, 0.037140537053346634, 0.41097360849380493, 0.3678978681564331, -0.42844074964523315, 0.39182060956954956, 0.2510533034801483, -0.027521401643753052, 0.37682610750198364, 0.47483372688293457, -0.4097900390625, -0.043097008019685745, 0.7821922302246094, 0.2340659499168396, 0.05229716747999191, 0.1507224589586258, 0.2850119471549988, -0.40878674387931824, -0.45488402247428894, 0.0008605764014646411, 0.3845984935760498, -0.21040743589401245, 0.29730674624443054, -0.8663768172264099, -0.18631017208099365, -0.32142144441604614, -0.3505682647228241, -0.19151072204113007, -0.3857742249965668, -0.3351776599884033, 0.19769465923309326, 0.4930265545845032, 0.801371693611145, 0.0009402502328157425, 0.681209146976471, -0.7338197827339172, -0.043170906603336334, -0.18411971628665924, 0.3002930283546448, -0.5412236452102661, -0.28631308674812317, -0.2634468376636505, -0.1351614147424698, -0.6076544523239136, -0.6626394987106323, 0.7850954532623291, 0.36791878938674927, 0.4342314600944519, 0.11037338525056839, -0.5128902792930603, 0.39791497588157654, -0.2919413149356842, 0.8642280697822571, 0.01898828148841858, -0.37975260615348816, 0.25379982590675354, -0.8341020345687866, 0.1612847000360489, 0.331977516412735, 0.71974778175354, -1.1697189807891846, -0.6033423542976379, -0.7485023736953735, -0.8712810277938843, 0.38468286395072937, 0.2797263264656067, 0.13253477215766907, -0.06992429494857788, 0.29773691296577454, 0.23017606139183044, 0.3670896589756012, -0.6093662977218628, 0.21564608812332153, 0.1475190967321396, -0.16471825540065765, -0.15501190721988678, -0.0757569745182991, -0.1899697631597519, 0.3072962760925293, 0.7549213171005249, -0.10153798013925552, 0.29132258892059326, 0.3000927269458771, 0.0933494046330452, -0.0694732740521431, 0.22581589221954346, 0.09943509101867676, 0.7360599637031555, -0.25530803203582764, -0.21582624316215515, -0.3114704489707947, -1.185248851776123, -0.6474283337593079, 0.32674694061279297, -0.39592233300209045, 0.0702655166387558, 0.059860531240701675, 0.31562164425849915, 0.2868899703025818, -0.4584627151489258, -0.08482442796230316, 0.10608965903520584, -0.34383368492126465, -0.5402975082397461, 0.08496697247028351, 0.14530038833618164, -0.024608314037322998, 0.30295804142951965, 0.4060286283493042, 0.3786427676677704, -0.573758065700531, 0.16009637713432312, 0.6534233093261719, -0.3397543728351593, -0.22914870083332062, 0.6452897191047668, -0.006342068314552307, -0.06761683523654938, 0.20334692299365997, -0.022490179166197777, -0.4828552305698395, 0.5657262802124023, 0.27136173844337463, 0.6326383948326111, 0.2621423900127411, 0.39378592371940613, 0.3360219895839691, 0.22864818572998047, -0.3286682963371277, 0.39292657375335693, 0.21373026072978973, -0.5414332151412964, -0.5307931303977966, -0.8257483839988708, -0.7619208693504333, -0.27902960777282715, -0.04643126204609871, 0.48893216252326965, -0.26725155115127563, -0.3198089599609375, 0.6259361505508423, 0.25734463334083557, -0.5312700867652893, -0.17152294516563416, 0.3631386160850525, 0.566709041595459, -0.5806427001953125, 0.24918590486049652, 0.6304637789726257, -0.3837628960609436, -0.6191986203193665, -0.45002710819244385, 0.3611316680908203, -0.685331404209137, 0.5120635032653809, 0.011751563288271427, 0.0893569216132164, 0.03358539938926697, -0.785641074180603, -0.7617362141609192, 0.7336996793746948, -0.2632552683353424, -0.6104357838630676, -0.025143863633275032, 0.10604491829872131, 0.7486263513565063, -0.11037462204694748, 0.4574125409126282, 0.5229961276054382, 0.7252687215805054, 0.3663913905620575, -1.042269229888916, -0.5790266990661621, -0.1299433559179306, -0.4509723484516144, 0.6239713430404663, -0.7085896134376526, 0.6186296343803406, 0.1517118662595749, -0.3543683886528015, 0.05079590901732445, 0.39828282594680786, 0.18182983994483948, 0.5621334314346313, 0.0021543269976973534, 0.1430041640996933, 0.9881013035774231, -0.2613457143306732, 0.8067140579223633, -0.26461178064346313, 0.4198635518550873, 0.38388609886169434, -0.24451129138469696, 0.7352948188781738, 0.6073431372642517, -0.5058103799819946, 0.23740693926811218, 0.497372031211853, -0.35823678970336914, 0.23124203085899353, 0.12653429806232452, -0.42747852206230164, 0.08590569347143173, -0.35022157430648804, -0.2151847928762436, 0.8240700364112854, 0.7579278349876404, -0.3590887784957886, -0.21226434409618378, -0.044094834476709366, 0.49484872817993164, 0.11096438765525818, -0.09077418595552444, 0.9229732751846313, 0.35686901211738586, -1.0554144382476807, 0.3023156523704529, -0.3514207899570465, 0.6896925568580627, -0.8503367304801941, 0.15427805483341217, -0.07790710777044296, 0.2010456770658493, -0.24203991889953613, -0.9723567962646484, 0.5980370044708252, 0.2671170234680176, 0.09300196915864944, -0.20554319024085999, 0.5753928422927856, -0.27086320519447327, -0.7649112343788147, -0.10796693712472916, 0.46705126762390137, 0.3717327117919922, -0.056643903255462646, -0.1413765549659729, -0.4745231866836548, 0.058139510452747345, -0.3784012198448181, 0.27378156781196594, 0.4746045470237732, 0.11269434541463852, 0.7130073308944702, 0.9343006610870361, 0.6495998501777649, 0.19894595444202423, -0.31699827313423157, 0.786177396774292, -0.6843210458755493, -0.4791063964366913, -0.6135416626930237, 0.21407175064086914, -0.1615554541349411, -0.5949856042861938, 0.9170835018157959, 0.42618101835250854, 0.2109372317790985, 0.11124364286661148, 0.8866522312164307, -0.31486988067626953, 0.638665497303009, -0.32842156291007996, 0.8537366390228271, -0.2505388557910919, 0.2957472503185272, -0.395633727312088, -0.9391292929649353, -0.47712767124176025, 0.38217097520828247, -0.6893316507339478, -0.11752732843160629, 0.5709168910980225, 0.9503068923950195, -0.008333304896950722, 0.7247452735900879, 0.1645818054676056, 0.12810687720775604, 0.5596318244934082, 0.15076562762260437, 0.7903620004653931, -0.25582194328308105, 0.7507335543632507, 0.05032834783196449, -0.30018359422683716, -0.43464386463165283, -1.0687106847763062, -0.40555253624916077, -0.7212215065956116, -0.23022572696208954, -0.1379385143518448, 0.20358295738697052, 0.7678248882293701, 0.6064937710762024, -0.7280853390693665, -0.0842227041721344, -0.24705475568771362, -0.38952016830444336, -0.09957151114940643, -0.19926294684410095, 0.40267452597618103, -0.5457375049591064, -0.6911688446998596, 0.3646826446056366, 0.12989293038845062, -0.3353128135204315, -0.14407634735107422, 0.27198848128318787, -0.09713761508464813, 0.1785351186990738, 0.4550832509994507, 0.45330026745796204, -0.20325881242752075, -0.16205869615077972, 0.40255802869796753, -0.14726336300373077, -0.009694050997495651, 0.627406656742096, -0.4459470212459564, 0.5959751009941101, 0.4356617033481598, 0.3630049526691437, 0.5485830307006836, -0.05489873141050339, 0.4700322449207306, -0.4225558936595917, 0.005116770509630442, 0.5524253845214844, 0.2929327189922333, 0.3605334460735321, -0.3617640435695648, 0.7586912512779236, 0.42607414722442627, -1.3022737503051758, -0.6189360022544861, -0.16517314314842224, -1.0218714475631714, -0.0313255675137043, 1.0990610122680664, 0.12888547778129578, -0.27532196044921875, -0.1762750744819641, -0.5534096956253052, -0.025702957063913345, -0.6121691465377808, 1.2317994832992554, 1.029692530632019, -0.25565728545188904, -0.059691619127988815, -0.9128312468528748, 0.5730475783348083, 0.34679654240608215, -0.5895684361457825, 0.32041704654693604, 0.5345115661621094, 0.036658428609371185, 0.43534427881240845, 0.24928918480873108, -0.4117808938026428, 0.13625091314315796, 0.32319140434265137, -0.07589951902627945, 0.05647450312972069, 0.0442495197057724, 0.26438015699386597, 0.11928586661815643, 0.1261224001646042, 0.241774320602417 ]
http://arxiv.org/abs/2406.17312v1
http://arxiv.org/pdf/2406.17312v1
Not All Preference Pairs Are Created Equal: A Recipe for Annotation-Efficient Iterative Preference Learning
2024-06-25T06:49:16
2024-06-25T06:49:16
Sen Yang, Leyang Cui, Deng Cai, Xinting Huang, Shuming Shi, Wai Lam
cs.CL
cs.CL
Iterative preference learning, though yielding superior performances, requires online annotated preference labels. In this work, we study strategies to select worth-annotating response pairs for cost-efficient annotation while achieving competitive or even better performances compared with the random selection baseline for iterative preference learning. Built on assumptions regarding uncertainty and distribution shifts, we propose a comparative view to rank the implicit reward margins as predicted by DPO to select the response pairs that yield more benefits. Through extensive experiments, we show that annotating those response pairs with small margins is generally better than large or random, under both single- and multi-iteration scenarios. Besides, our empirical results suggest allocating more annotation budgets in the earlier iterations rather than later across multiple iterations.
[ -0.4896276295185089, 0.21249747276306152, 0.420381098985672, 0.24017366766929626, -0.3638277053833008, -0.003777763107791543, -0.41791868209838867, -0.5660484433174133, 0.3505030572414398, 0.16662448644638062, -0.2566564679145813, -0.09227299690246582, -0.7784227728843689, 0.007506397552788258, 0.35353201627731323, 1.1515312194824219, 0.14883024990558624, -0.03793442249298096, -0.4295872151851654, -0.4960729479789734, -0.20262008905410767, -0.6252636909484863, -0.8779337406158447, -0.3925064206123352, 0.8845087885856628, 0.5955997109413147, 0.5580849647521973, 0.7535189390182495, 0.5916681289672852, 0.21889735758304596, 0.04093214496970177, 0.13277845084667206, -0.5584582090377808, 0.23633451759815216, 0.040025386959314346, -0.1635061800479889, -0.1857631355524063, 0.5094561576843262, 0.11745787411928177, 0.671324610710144, 0.0960579439997673, 0.3875918984413147, -0.10117083042860031, 1.0928332805633545, -0.996673047542572, 0.19891084730625153, -0.5606977343559265, 0.04351988062262535, -0.14845147728919983, -0.3568355143070221, -0.5952163934707642, -0.8065817356109619, 0.47091779112815857, -1.0889577865600586, -0.22719235718250275, 0.2893974483013153, 0.7237001657485962, 0.4161047041416168, 0.06924547255039215, -0.36690637469291687, -0.5039700269699097, 0.6842000484466553, -0.19051288068294525, 0.33175206184387207, 0.5877329111099243, 0.3569148778915405, 0.27438390254974365, -0.5913562178611755, -0.08790207654237747, -0.4285363554954529, -0.0799708291888237, 0.34899210929870605, 0.2878879904747009, 0.11064137518405914, 0.16955822706222534, 0.3732960820198059, 0.045973390340805054, 0.32712844014167786, -0.32551273703575134, 0.05815035104751587, 0.9348105788230896, -0.25872623920440674, -0.31455570459365845, -0.05071739852428436, -0.49902841448783875, -0.44934695959091187, -0.43001195788383484, 0.6368269324302673, 0.5406292676925659, 0.3742651045322418, 0.10702905058860779, 0.5038161873817444, -0.34677788615226746, 0.6846604347229004, 0.33496803045272827, -0.344600111246109, 0.3723069131374359, 0.02984723076224327, 0.013720354065299034, 0.20239831507205963, 0.649476170539856, 0.7022799253463745, 0.5761521458625793, -0.43384435772895813, -0.1680927872657776, -0.16558940708637238, 0.22647446393966675, -0.5755648612976074, -0.4067552089691162, 0.2253088355064392, -0.48976367712020874, -0.4984303116798401, -0.1358325034379959, -0.6940826177597046, -0.4928259253501892, -0.507230281829834, 0.6101438403129578, -0.12670521438121796, -0.15397843718528748, -0.0677410438656807, -0.6903262734413147, -0.1632024198770523, 0.3183833360671997, -1.184789776802063, 0.3120182454586029, 0.5806870460510254, 0.7974379658699036, -0.2659836411476135, 0.005672156810760498, -0.7594645619392395, -0.04998607188463211, -0.3612714111804962, 0.9528098702430725, -0.7470479607582092, -0.5168073177337646, -0.16225065290927887, -0.6651264429092407, 0.1277875453233719, -0.5680227279663086, 0.5051563382148743, -0.6062632203102112, -0.06829299032688141, -0.9126583337783813, -0.6032042503356934, 0.14739400148391724, 0.048409536480903625, -0.9970428943634033, 1.017196536064148, 0.0772651955485344, -1.0983405113220215, 1.0770069360733032, -0.5539407730102539, -0.22359569370746613, 0.04760025814175606, 0.0024129380472004414, -0.3317866921424866, 0.1335698962211609, 0.14194165170192719, 0.3935822546482086, -0.09851822257041931, -0.17136810719966888, -0.7056998610496521, -0.32416918873786926, 0.4762550890445709, 0.1104152575135231, 0.5146910548210144, 0.23443152010440826, -0.5348536372184753, 0.16830630600452423, -0.9178435802459717, 0.04761814326047897, 0.13173270225524902, -0.495708167552948, -0.6679192185401917, -0.015269466675817966, -0.19118615984916687, -0.05793844535946846, -0.08712370693683624, -0.5901670455932617, 0.3763503134250641, -0.08063901215791702, 0.28616753220558167, 1.4131927490234375, -0.2765747606754303, 0.8337594270706177, -0.34941983222961426, -0.007291181478649378, -0.3823457360267639, 0.32935404777526855, 0.43856537342071533, -0.3836653530597687, -0.7330048680305481, -0.6016785502433777, 0.598472535610199, 0.0649615004658699, -0.5644375681877136, 0.008545410819351673, -0.25259557366371155, -0.2650023102760315, -0.8344215750694275, -0.0657326877117157, 0.30121922492980957, 0.6462887525558472, 0.4886591136455536, 0.0027904680464416742, -0.27483081817626953, -0.9591219425201416, -0.22980400919914246, -0.3974969983100891, 0.19810102880001068, 0.5135881900787354, 0.10601447522640228, 0.35548070073127747, 0.8601480722427368, -0.500118613243103, -0.2457202672958374, 0.013822201639413834, 0.06840045005083084, -0.3503493368625641, 0.1643480658531189, 0.824832022190094, -0.9176531434059143, -0.5733941793441772, -0.21659913659095764, -0.3014981150627136, -0.0832877904176712, 0.013035459443926811, -0.20749488472938538, 0.2833758592605591, -0.22123415768146515, 0.10177996754646301, 0.198820561170578, 0.35742896795272827, 0.1480719894170761, -0.12428078800439835, -0.22711972892284393, 0.3316669762134552, -0.6264575719833374, 0.1517767757177353, 0.24804140627384186, -0.1019308939576149, -0.23235593736171722, -0.33187374472618103, 0.05707259103655815, 0.4800294041633606, -0.07688488811254501, 0.5248621702194214, -0.3223364055156708, -0.3316989541053772, -0.023150136694312096, 0.2543001174926758, -0.22812578082084656, 0.44293516874313354, 0.5024527907371521, 0.7482579946517944, 0.13867051899433136, -0.5625975728034973, 0.19574066996574402, 0.28336647152900696, 0.026022573933005333, 0.6392486691474915, -0.45577672123908997, 0.36192214488983154, -0.1991393119096756, 0.20710645616054535, -1.1779710054397583, -0.220472514629364, 0.3546842634677887, -0.4671895205974579, 0.15055066347122192, -0.22999435663223267, -0.22907105088233948, -0.22806289792060852, -0.921538770198822, 0.22244635224342346, 0.5087143182754517, -1.196739673614502, 0.008248570375144482, 0.43796029686927795, 0.1011163741350174, -0.8962629437446594, -0.3936653137207031, -0.43514466285705566, -0.40302979946136475, -0.13216142356395721, 0.12859928607940674, -0.18372251093387604, -0.5295758843421936, -0.11550142616033554, -0.2187550961971283, 0.26074162125587463, 0.37970906496047974, 0.5850486755371094, 0.2042449563741684, 0.30849212408065796, 0.41429489850997925, -0.17366041243076324, -0.6890668272972107, -0.18986257910728455, -0.3819175958633423, 0.1291559785604477, 0.06581149250268936, -0.047390200197696686, 0.03639157488942146, 0.5109223127365112, 0.04949014633893967, -0.3414328694343567, 0.5727185606956482, 0.31712353229522705, -0.10600718855857849, -0.06980719417333603, -0.7255483269691467, -0.11691518872976303, -0.45415937900543213, -0.3925395905971527, -0.6008744239807129, -0.8148455023765564, 0.20346693694591522, 0.051962316036224365, 0.44537389278411865, 0.5585305094718933, 0.263058602809906, -0.2359071522951126, 0.8334259986877441, 0.5050252079963684, -0.049923576414585114, 0.5414409637451172, -0.22784650325775146, -0.0025027082301676273, -0.7177817821502686, -0.30420660972595215, -0.576991617679596, -0.5556495785713196, -0.7002384066581726, 0.04202965646982193, 0.5327970385551453, -0.01333882287144661, -0.29151761531829834, -0.12752878665924072, -0.8894864916801453, 0.35113048553466797, 1.1585506200790405, 0.2791212499141693, 0.36583682894706726, 0.16612066328525543, -0.04360569640994072, -0.21712885797023773, -0.45415380597114563, -0.2931489050388336, 1.4122898578643799, 0.054557692259550095, 0.48070842027664185, -0.04571302980184555, 0.8952662348747253, 0.059366773813962936, 0.4616854786872864, -0.7287753820419312, 0.13787591457366943, -0.09193053096532822, -0.3295848071575165, -0.18228872120380402, -0.25135475397109985, -0.7133110165596008, 0.14432761073112488, -0.5453875660896301, -0.8745216727256775, 0.24698179960250854, 0.5588564276695251, -0.7427123785018921, 0.3212914764881134, -0.6159073114395142, 0.4596139192581177, -0.36218106746673584, -0.5710881948471069, -0.12114247679710388, -0.896493136882782, -0.22599783539772034, 0.2564447522163391, -0.1931564211845398, -0.25074368715286255, -0.13852357864379883, 0.8550140857696533, -0.07255152612924576, 0.26685017347335815, -0.2636445164680481, 0.39202770590782166, 0.026266885921359062, -0.3041081726551056, 0.2445569634437561, 0.3540302515029907, -0.45785611867904663, -0.056714463979005814, -0.32653751969337463, -0.32910099625587463, -0.21550819277763367, 0.7953748106956482, -0.8355730175971985, -0.5692136287689209, -0.5244788527488708, -0.3113085627555847, -0.2464061677455902, -0.17201285064220428, 0.5003367066383362, 0.34348446130752563, 0.31730204820632935, 0.07607825845479965, 0.5986992716789246, 0.05326128378510475, 0.6998822689056396, -0.062192339450120926, 0.1996912956237793, -0.7959240078926086, 0.7010443806648254, 0.4239225387573242, 0.5145772695541382, 0.4761500954627991, 0.4233047366142273, -0.495416522026062, -0.5373703837394714, -0.569932758808136, 0.0390431210398674, -0.7901537418365479, -0.03628041595220566, -0.7271634936332703, 0.40746989846229553, -0.31244030594825745, -0.5310805439949036, -0.5609002113342285, -0.8575649261474609, 0.07439953088760376, -0.5252106189727783, 0.8613163828849792, 0.5197349190711975, -0.7165070176124573, 0.02000710926949978, -0.18198904395103455, 0.2169780731201172, 0.6968972086906433, 0.5519564747810364, -0.07915899157524109, 0.05721908062696457, 0.06745357811450958, -0.11745574325323105, -0.11123476922512054, -0.7869616746902466, -0.08053740113973618, -0.142381489276886, 0.7150300145149231, 0.25808101892471313, 0.47843924164772034, 0.8188573718070984, -0.07370846718549728, 0.5787404775619507, 0.04385164752602577, -0.5959276556968689, 0.4618862569332123, 0.0460549034178257, -0.259491890668869, 1.0366954803466797, 0.8333191871643066, -0.22523576021194458, 0.25597748160362244, -0.70449298620224, -1.2295217514038086, 0.7550275325775146, 0.13018430769443512, -0.23114576935768127, 0.061806436628103256, 0.5994787812232971, 0.5754714608192444, 0.4703485369682312, -0.6919968724250793, -0.6606664061546326, -0.24116282165050507, 0.07956304401159286, -0.25943711400032043, -0.25625118613243103, -0.4670514762401581, -0.1938362568616867, 0.6061989665031433, -0.2917173206806183, 0.3306039273738861, 0.31010201573371887, 0.019979087635874748, -0.151096910238266, 0.046763014048337936, 0.3105064034461975, 0.4883955121040344, -0.5374543070793152, 0.18604537844657898, 0.036522574722766876, 0.12275765091180801, 0.16914385557174683, 0.1672830879688263, -0.0129132941365242, -0.16116857528686523, 0.06732568144798279, 1.173269271850586, 0.06523119658231735, -0.3471762537956238, 0.5716318488121033, -0.09861966222524643, -0.04469478502869606, -0.15794047713279724, -0.16331063210964203, 0.036250922828912735, 0.19681113958358765, 0.29963982105255127, 0.08918029069900513, 0.4742336571216583, -0.4255409240722656, -0.01386828999966383, 0.47070929408073425, -0.37052059173583984, 0.09404465556144714, 0.6500347256660461, 0.40912100672721863, -0.22076542675495148, 0.40224045515060425, -0.19833028316497803, -0.5506286025047302, 0.3883167505264282, 0.19807180762290955, 0.6811267733573914, 0.20306505262851715, 0.4677616059780121, 0.6516354084014893, -0.09165191650390625, -0.34142810106277466, -0.08050128072500229, -0.7248896956443787, -0.3392820358276367, 0.1424560695886612, -0.2672770619392395, -0.6887645721435547, -0.22924384474754333, -0.9732066988945007, 0.15459062159061432, -0.5755296945571899, -0.22924752533435822, 0.2933804392814636, -0.02227257378399372, -0.7113727927207947, 0.2721844017505646, 0.22697938978672028, 0.5443825721740723, -0.6553073525428772, 0.3535838723182678, 0.8529424667358398, -0.5944612622261047, -0.847786545753479, -0.16995683312416077, -0.09977341443300247, -0.9561684131622314, 0.9898511171340942, 0.37445586919784546, -0.019003834575414658, -0.15709306299686432, -0.22625449299812317, -0.7497864365577698, 0.9284093379974365, 0.26189124584198, -0.3946719765663147, 0.13242973387241364, -0.017304066568613052, 0.25611233711242676, -0.257259726524353, 0.8537604808807373, 0.5489975810050964, 0.4742073714733124, 0.33269116282463074, -0.9878215789794922, -0.11384924501180649, -0.10597260296344757, -0.005458313971757889, 0.24853335320949554, -1.0984416007995605, 0.5966797471046448, -0.5089429616928101, 0.04045037552714348, -0.20283132791519165, 0.23544877767562866, 0.2927999496459961, 0.5424644351005554, 0.6737334728240967, 0.5658637285232544, 0.7405073046684265, -0.26773717999458313, 1.0683715343475342, 0.07803502678871155, 0.24639564752578735, 1.0361809730529785, -0.026333831250667572, 0.9465023279190063, 0.6975522637367249, -0.09411083161830902, 0.08872893452644348, 1.2041113376617432, 0.374019593000412, 1.0372446775436401, 0.27880752086639404, -0.043392881751060486, -0.543813943862915, -0.15366072952747345, -0.4675378203392029, -0.07337583601474762, -0.025923840701580048, -0.20392051339149475, 0.020926060155034065, -0.13501104712486267, 0.04851311072707176, 0.1545058786869049, -0.2547053098678589, 1.1362074613571167, -0.01389401126652956, -0.955266535282135, 0.33090052008628845, -0.4931945502758026, 0.8104201555252075, -0.2515206038951874, 0.11241133511066437, -0.33472752571105957, 0.2520582973957062, -0.24276703596115112, -0.7433027029037476, -0.21816469728946686, -0.24475404620170593, -0.08439638465642929, -0.3138478100299835, 0.4741390645503998, -0.15472100675106049, -0.043380625545978546, 0.5132056474685669, -0.12895381450653076, -0.3687328100204468, -0.0010339651489630342, -0.49798503518104553, 0.10750628262758255, -0.05471806973218918, -0.553224503993988, 0.28371596336364746, -0.0015212170546874404, -0.12161393463611603, 0.7103676795959473, 0.5792840123176575, 0.15314215421676636, 0.20058338344097137, -0.14721356332302094, 0.7755001187324524, -0.25139522552490234, -0.6333260536193848, -0.7250139117240906, 0.8384723663330078, -0.7592930197715759, -0.47320929169654846, 0.5359522700309753, 0.3595768213272095, 1.074478268623352, 0.1328909546136856, 0.8616657853126526, 0.15512675046920776, 0.34815770387649536, -0.3343797028064728, 0.031096652150154114, -0.619788646697998, 0.1730787456035614, -0.20420633256435394, -0.7087714672088623, -0.15450261533260345, 0.9135870933532715, -0.4753609895706177, 0.0183469969779253, 0.47912704944610596, 0.04280567914247513, 0.28717106580734253, 0.17770425975322723, -0.08616186678409576, -0.4745766818523407, 0.2862350344657898, 0.6931134462356567, 0.6272793412208557, -0.2672164738178253, 0.20500120520591736, -0.8614815473556519, -0.5054309964179993, -0.3160824179649353, -0.9934848546981812, -0.9642392992973328, -0.7362821698188782, -0.43861836194992065, -0.37716007232666016, 0.38846343755722046, 1.5049861669540405, 0.8838803768157959, -0.5535863041877747, -0.04261857643723488, 0.39117610454559326, -0.1705234795808792, -0.3518185019493103, -0.11897482722997665, 0.29208627343177795, -0.5750585198402405, -0.7395564913749695, -0.21492591500282288, 0.37540364265441895, -0.03675131872296333, 0.09830078482627869, -0.10902157425880432, 0.021019676700234413, -0.011420032009482384, 0.3027641177177429, 0.31127697229385376, -0.5382018685340881, -0.5595144629478455, -0.06860556453466415, -0.060048796236515045, 0.34219419956207275, 0.7411007881164551, -0.7293331027030945, 0.7216094732284546, 0.5432639122009277, 1.0113227367401123, 0.7379375100135803, 0.007951478473842144, 0.4479295611381531, -0.503825306892395, 0.2656739056110382, 0.08490640670061111, 0.23106004297733307, 0.47709110379219055, -0.37964171171188354, 0.9325196146965027, 0.21220189332962036, -0.626781165599823, -0.8154363632202148, 0.034472379833459854, -1.3152194023132324, -0.016245733946561813, 1.5008049011230469, -0.2377040982246399, 0.22046919167041779, 0.3345464766025543, -0.356388658285141, 0.09940015524625778, -0.7190876007080078, 1.1150307655334473, 0.5126239657402039, -0.36306384205818176, 0.14099645614624023, -0.2700672745704651, 0.9099085927009583, 0.5242365002632141, -0.669090211391449, -0.04906085878610611, 0.31812936067581177, 0.1652112752199173, 0.3472349941730499, 0.8194276690483093, 0.326498806476593, 0.26380062103271484, -0.10287709534168243, -0.10601344704627991, -0.25657156109809875, -0.3457315266132355, -0.07914411276578903, 0.3993072509765625, 0.6137421131134033, -0.7260231375694275 ]
http://arxiv.org/abs/2406.17305v1
http://arxiv.org/pdf/2406.17305v1
Retrieval Augmented Instruction Tuning for Open NER with Large Language Models
2024-06-25T06:24:50
2024-06-25T06:24:50
Tingyu Xie, Jian Zhang, Yan Zhang, Yuanyuan Liang, Qi Li, Hongwei Wang
cs.CL
cs.CL
The strong capability of large language models (LLMs) has been applied to information extraction (IE) through either retrieval augmented prompting or instruction tuning (IT). However, the best way to incorporate information with LLMs for IE remains an open question. In this paper, we explore Retrieval Augmented Instruction Tuning (RA-IT) for IE, focusing on the task of open named entity recognition (NER). Specifically, for each training sample, we retrieve semantically similar examples from the training dataset as the context and prepend them to the input of the original instruction. To evaluate our RA-IT approach more thoroughly, we construct a Chinese IT dataset for open NER and evaluate RA-IT in both English and Chinese scenarios. Experimental results verify the effectiveness of RA-IT across various data sizes and in both English and Chinese scenarios. We also conduct thorough studies to explore the impacts of various retrieval strategies in the proposed RA-IT framework. Code and data are available at: https://github.com/Emma1066/Retrieval-Augmented-IT-OpenNER
[ -0.2956942915916443, -0.7168933749198914, 0.26489460468292236, 0.015059079974889755, -0.2323046326637268, -0.23111788928508759, -0.8021825551986694, -0.5874453186988831, 0.2758098840713501, 0.5801878571510315, -0.29071667790412903, -0.5214646458625793, -0.46816807985305786, 0.29872754216194153, -0.29155442118644714, 0.9810969829559326, -0.07313619554042816, 0.2462577223777771, 0.16101956367492676, -0.0012091362150385976, -0.5685566067695618, -0.17750579118728638, -0.8447386622428894, -0.19775845110416412, 0.5208704471588135, 0.7683935761451721, 0.32084426283836365, 0.9632899761199951, 0.6265625357627869, 0.19169601798057556, 0.1289484053850174, 0.43755945563316345, -0.3806565999984741, 0.03577978536486626, -0.3696202337741852, -0.3376023471355438, -0.23769181966781616, -0.11104456335306168, 0.9706717729568481, 0.3675785958766937, -0.19304974377155304, 0.2846514582633972, 0.01968548260629177, 0.4997056722640991, -0.8627018928527832, 0.1482279896736145, -0.8822942972183228, -0.010770310647785664, -0.38975805044174194, -0.5228250026702881, -0.8602056503295898, -0.24417231976985931, 0.14176416397094727, -0.7234436869621277, 0.21748675405979156, 0.4401136338710785, 1.3505065441131592, 0.09307180345058441, -0.15364903211593628, -0.2876757085323334, -0.8468590378761292, 0.8738210201263428, -0.6321035623550415, 0.45702069997787476, 0.532413899898529, 0.24063582718372345, -0.14357705414295197, -0.6150760054588318, -0.4787003993988037, -0.17351000010967255, -0.11932971328496933, 0.06335476785898209, -0.06848033517599106, 0.06092153862118721, 0.43970099091529846, 0.6589396595954895, -0.3561929166316986, 0.414095401763916, -0.33226442337036133, -0.082392118871212, 0.47225165367126465, -0.032392606139183044, 0.5032548904418945, 0.005356904584914446, -0.35837867856025696, -0.15407399833202362, -0.8553791642189026, -0.10427596420049667, 0.18038339912891388, 0.6981983184814453, 0.1844540685415268, 0.7568891644477844, -0.13995441794395447, 0.869602382183075, 0.230636328458786, -0.0006450241198763251, 0.2125101238489151, -0.10244110971689224, -0.21036702394485474, 0.4331214129924774, 0.6130275130271912, 0.0594937726855278, 0.41528868675231934, -0.3046911954879761, -0.5606667399406433, -0.5626656413078308, 0.21687154471874237, -0.9154307842254639, -0.2251073569059372, -0.21625609695911407, -0.28654804825782776, 0.21979832649230957, 0.5319015383720398, -0.7124312520027161, -0.06199532747268677, -0.4786422848701477, 0.6763102412223816, -0.6468331217765808, -0.27887773513793945, 0.13730746507644653, 0.04763811081647873, 0.5949233770370483, 0.3178635239601135, -0.9991562962532043, 0.13153499364852905, 0.6851370930671692, 0.611365020275116, -0.3005443811416626, -0.03885214030742645, -1.1390950679779053, 0.33660027384757996, -0.20174743235111237, 0.7302758693695068, -0.9846670627593994, -0.13833573460578918, -0.11391047388315201, 0.1871277242898941, -0.46511733531951904, -0.7761154770851135, 0.39788302779197693, -1.0292943716049194, 0.27790480852127075, -0.15035924315452576, -0.6955301761627197, -0.1545947790145874, 0.28926098346710205, -0.9798597693443298, 1.0944448709487915, -0.104474738240242, -0.726561963558197, 0.3446377217769623, -0.7450045347213745, -0.5662164688110352, 0.17590589821338654, -0.24083974957466125, -0.33266353607177734, 0.15733855962753296, 0.4609663486480713, 0.2500592768192291, -0.35363343358039856, -0.13619470596313477, -0.018753865733742714, -0.6305409669876099, -0.15515807271003723, -0.3207387328147888, 0.5336824059486389, 0.13390196859836578, -0.27562758326530457, -0.11417010426521301, -0.8244504332542419, 0.3473406732082367, 0.05449870228767395, -0.6015695929527283, -0.7417140007019043, -0.1821502447128296, -0.22375836968421936, -0.2618182897567749, 0.25805777311325073, -0.7121695876121521, 0.4223105013370514, -0.5224315524101257, 0.23803971707820892, 0.7290105819702148, 0.215580552816391, 0.441967248916626, 0.15274348855018616, 0.3987922668457031, -0.0908941999077797, -0.158793643116951, -0.1780604124069214, -0.15597748756408691, -0.7630141377449036, -0.4559996426105499, 0.8568609952926636, 0.6537588238716125, -0.9940184950828552, 0.33393001556396484, -0.41443610191345215, -0.07281163334846497, -0.7921358346939087, -0.029536418616771698, 0.4224582612514496, 0.5334457755088806, 0.4859547019004822, 0.07355896383523941, -0.5716456770896912, -0.7200852632522583, -0.24792850017547607, 0.12814795970916748, -0.07311274111270905, 0.49468427896499634, 0.36406630277633667, 0.05368923768401146, 0.7130730748176575, -0.39018189907073975, -0.3837980628013611, -0.12302179634571075, 0.11940368264913559, 0.2053116410970688, 0.3659224808216095, 0.12314842641353607, -0.7745153903961182, -0.5157825350761414, 0.34827154874801636, -0.6781316995620728, 0.08247719705104828, 0.11163084954023361, -0.1967838555574417, 0.11708027869462967, 0.5032836198806763, -0.35971003770828247, 0.4782992899417877, 0.1306672990322113, 0.15289178490638733, 0.34142088890075684, -0.25036099553108215, 0.3838699460029602, -1.1876955032348633, 0.12909618020057678, 0.08315295726060867, 0.10480660200119019, -0.28327634930610657, 0.2643801271915436, 0.31436172127723694, 0.03557036817073822, -0.25599583983421326, 0.6876403093338013, -1.0171854496002197, -0.1817946434020996, -0.31037837266921997, 0.30024221539497375, -0.06324352324008942, 0.15542452037334442, 0.23084621131420135, 1.1632651090621948, 0.48053422570228577, -0.8566354513168335, 0.09378491342067719, 0.1465771347284317, -0.695220947265625, 0.319619357585907, -0.5467520356178284, 0.3814433217048645, -0.1954255849123001, -0.3019355833530426, -0.45060479640960693, -0.34292346239089966, 0.07999828457832336, -0.29308944940567017, 0.7608979344367981, -0.07476811856031418, -0.635369598865509, -0.22272078692913055, -0.08234833925962448, 0.29444143176078796, 0.16894219815731049, -1.0594518184661865, 0.7307698130607605, 0.22049103677272797, 0.08744848519563675, -0.8503642678260803, -0.4133266806602478, 0.0017517519881948829, -0.2423778474330902, -0.4329993426799774, 0.674949049949646, 0.11077926307916641, -0.1923826038837433, 0.14666934311389923, -0.2189479023218155, -0.1969999521970749, -0.010463484562933445, -0.08292032033205032, 0.3517298102378845, -0.6404991745948792, 0.3484986126422882, 0.031374428421258926, -0.09688431024551392, -0.29871147871017456, -0.1289796680212021, 0.3552355170249939, -0.019426152110099792, -0.31137871742248535, -0.3449551463127136, 0.18598896265029907, 0.0034524884540587664, -0.7370063662528992, 0.8788791298866272, 0.7477115988731384, -0.5108354687690735, -0.39234262704849243, -0.4905877113342285, -0.30861175060272217, -0.4690703749656677, 0.37800782918930054, -0.5866193771362305, -0.8845396637916565, 0.275178998708725, -0.154809832572937, 0.2378564476966858, 0.24571457505226135, 0.18255764245986938, 0.1304856389760971, 1.0707250833511353, 0.8005889654159546, -0.254955530166626, 0.8824012279510498, -0.22047516703605652, 0.2534860372543335, -1.0901883840560913, -0.13117468357086182, -0.643388032913208, -0.25586453080177307, -0.3210884630680084, -0.11201648414134979, 0.3694024085998535, 0.3509484529495239, -0.1109325960278511, 0.41403815150260925, -0.4172472357749939, 0.8125808835029602, 0.6146982908248901, 0.3171060085296631, 0.3667762577533722, 0.33638009428977966, -0.012106640264391899, -0.146364226937294, -0.4934161603450775, -0.3976662755012512, 0.8427961468696594, -0.02728305570781231, 0.7994198203086853, 0.13821102678775787, 0.8184142112731934, 0.002266921103000641, 0.1933799833059311, -0.8447092771530151, 0.5233957767486572, -0.3672598600387573, -0.3729819059371948, -0.20329943299293518, -0.47778263688087463, -1.1102420091629028, -0.097110316157341, -0.256155788898468, -0.8910700082778931, -0.11017738282680511, -0.007728966884315014, -0.32332170009613037, 0.36323732137680054, -0.6718912124633789, 0.5513136386871338, -0.19036591053009033, -0.30654871463775635, -0.09950990974903107, -0.3469972610473633, 0.27406370639801025, 0.145058274269104, -0.14815503358840942, 0.26047876477241516, -0.08398937433958054, 0.633722722530365, -0.147525817155838, 0.29538261890411377, -0.10258126258850098, -0.04863540083169937, 0.1205873191356659, -0.22896920144557953, 0.6753461360931396, 0.0007930637220852077, -0.5069968700408936, 0.10318039357662201, -0.29480352997779846, -0.11945115774869919, -0.7460998296737671, 0.8437393307685852, -0.7707114219665527, -0.6441107392311096, -0.11859778314828873, -0.40420001745224, 0.017753511667251587, 0.48988211154937744, 0.4187253713607788, 0.5256868600845337, -0.016366582363843918, 0.3587726056575775, 1.1274151802062988, -0.3357662260532379, 0.4125930964946747, 0.8998509645462036, -0.14630402624607086, -0.3659525513648987, 1.1863749027252197, 0.22657127678394318, 0.0612458735704422, 0.8257811069488525, 0.00021688755077775568, -0.046288181096315384, -0.5450596809387207, -0.7028490900993347, 0.35357534885406494, -0.5574092268943787, -0.3353695571422577, -0.38585183024406433, -0.5154265761375427, -0.1999989151954651, 0.3960093557834625, -0.2666299343109131, -0.11656494438648224, -0.662194013595581, -0.09591031074523926, 0.5110333561897278, 0.6377720832824707, 0.17268677055835724, 0.11242401599884033, -0.8950484395027161, 0.21853207051753998, -0.19233335554599762, 0.5665627717971802, -0.04587775468826294, -0.6607760787010193, -0.5372136831283569, 0.00032107136212289333, 0.08916909992694855, -0.7797358632087708, 0.2659507393836975, 0.5608397126197815, 0.7147376537322998, 0.42274758219718933, 0.25085869431495667, 0.8525559902191162, -0.6928972005844116, 0.4782383441925049, -0.4326998293399811, -0.5813779234886169, 0.7126786112785339, -0.005036074668169022, 0.08028464764356613, 0.6861458420753479, 0.5228673219680786, -0.05807054042816162, 0.05291839689016342, -0.131118044257164, -0.8935272097587585, 0.9666845202445984, -0.1614764779806137, -0.036063797771930695, -0.3119543492794037, 0.6971824765205383, 0.12461075186729431, -0.038371581584215164, -0.5920909643173218, -0.270058810710907, 0.379556804895401, -0.2531306743621826, 0.27832701802253723, -0.1591869294643402, 0.17376528680324554, -0.13315680623054504, 0.941742479801178, 0.0017607772024348378, 0.2579011917114258, 0.07862141728401184, -0.3468147814273834, -0.2296382039785385, 0.3313203454017639, 0.18365956842899323, 0.3174179792404175, -0.13189390301704407, -0.07636882364749908, 0.012945153750479221, -0.5075522065162659, -0.3084021806716919, 0.23222438991069794, -0.30168822407722473, 0.025998555123806, 0.2306751161813736, 0.9448064565658569, 0.23801444470882416, -0.6309685111045837, 0.2959081530570984, -0.22308553755283356, 0.06707543879747391, -0.3580998182296753, 0.304913192987442, -0.3938904106616974, 0.23667991161346436, 0.32519224286079407, -0.2995915412902832, 0.1266714632511139, -0.3040357828140259, 0.24080054461956024, 0.5884644985198975, -0.27957889437675476, -0.14921869337558746, 0.351767897605896, -0.15092796087265015, -0.5373411178588867, 1.1682331562042236, -0.18329687416553497, -0.20550647377967834, 0.46262630820274353, 0.7947827577590942, 0.8784454464912415, -0.2884712815284729, -0.09055814892053604, 0.803834080696106, 0.44222259521484375, -0.14996148645877838, 0.36000582575798035, -0.1727762520313263, -0.6936129927635193, -0.5757244229316711, -0.5734254121780396, -0.32834309339523315, 0.3192058205604553, -1.2307432889938354, 0.6566089987754822, -0.28986266255378723, 0.12714795768260956, -0.01580071821808815, -0.04561378434300423, -0.6069649457931519, 0.018403327092528343, 0.03874668478965759, 1.079844355583191, -0.3806571662425995, 0.9531261920928955, 0.9354777336120605, -0.4825180470943451, -1.0683284997940063, 0.13665960729122162, -0.33206722140312195, -0.9240188002586365, 0.7849681973457336, 0.35851752758026123, 0.007789980620145798, 0.33570700883865356, -0.523909330368042, -1.091723918914795, 1.1898202896118164, 0.36112311482429504, -0.7657608985900879, -0.2594030201435089, -0.14214590191841125, 0.3129008710384369, -0.3344968259334564, 0.49311521649360657, 0.4791505038738251, 0.4473901093006134, 0.04581557959318161, -0.9686135053634644, -0.19761066138744354, -0.3944862186908722, -0.16136184334754944, 0.5362235903739929, -0.4529803395271301, 0.8030698895454407, -0.4180910885334015, -0.6612194776535034, 0.2039773017168045, 0.6852040886878967, 0.053660403937101364, 0.13255268335342407, 0.4209783971309662, 0.6632711887359619, 0.7609896063804626, -0.04854594171047211, 0.8572816252708435, -0.41924917697906494, 0.021035466343164444, 1.3989808559417725, -0.3673489987850189, 1.1806658506393433, 0.2357134371995926, 0.268954336643219, 0.5123839378356934, 0.5804436802864075, -0.09319615364074707, 0.5266398787498474, 0.02353890985250473, -0.2633867859840393, -0.17106057703495026, -0.2460249364376068, -0.37662747502326965, 0.5967679023742676, 0.487202525138855, -0.5158183574676514, -0.29650434851646423, 0.38403576612472534, -0.12747016549110413, 0.10321322083473206, -0.572891891002655, 1.1585828065872192, -0.04740897938609123, -0.7135663032531738, 0.48998260498046875, 0.1772608906030655, 0.4883403182029724, -0.5762233138084412, -0.5523911714553833, 0.0684947744011879, 0.2367715984582901, -0.20634043216705322, -0.606727659702301, 0.029535531997680664, 0.11185342073440552, -0.412654846906662, -0.05032254755496979, 0.7196311354637146, -0.573765218257904, -0.19678330421447754, 0.29183229804039, 0.16459080576896667, 0.3102319538593292, -0.01667589135468006, -0.5104572772979736, 0.07620682567358017, 0.12529048323631287, -0.43421876430511475, 0.5784511566162109, 0.6373423933982849, -0.07592212408781052, 0.42092621326446533, 0.3607795834541321, 0.18129298090934753, 0.1277826577425003, 0.1410379558801651, 0.8051670789718628, -0.7992962598800659, -0.20559290051460266, -0.8123455047607422, 0.22748593986034393, -0.0873546376824379, -0.17718245089054108, 0.9427127838134766, 0.6061267852783203, 1.0316965579986572, 0.1717473566532135, 0.45640069246292114, -0.052563220262527466, 0.6288038492202759, -0.8936933875083923, 0.37062495946884155, -0.5323816537857056, 0.5572834014892578, -0.14133873581886292, -1.051482081413269, -0.00575464079156518, 0.6031501293182373, -0.5562589168548584, -0.03910406678915024, 0.48793163895606995, 0.9197400212287903, -0.10645245760679245, 0.35889482498168945, 0.07577071338891983, 0.07383763790130615, 0.09799227118492126, 0.5297825932502747, 0.5882450342178345, -0.4913693368434906, 0.42709052562713623, -0.26921263337135315, -0.20753909647464752, -0.08398023247718811, -0.8839277625083923, -0.7940317392349243, -0.33891063928604126, -0.2938348054885864, -0.22117291390895844, 0.08721083402633667, 1.0929008722305298, 0.45093902945518494, -0.8638282418251038, 0.08046422898769379, 0.12737175822257996, 0.09262966364622116, -0.23386991024017334, -0.348402202129364, 0.49252739548683167, -0.32899680733680725, -0.8948037028312683, 0.6440434455871582, 0.2630460560321808, -0.28267401456832886, 0.20882104337215424, 0.11740829795598984, -0.3666846454143524, -0.22914426028728485, 0.44665390253067017, 0.4860275983810425, -0.5994312763214111, -0.5613338351249695, 0.3455416262149811, 0.0060143377631902695, 0.0567738376557827, 0.6683337092399597, -0.6791518330574036, 0.7503234148025513, 0.18133200705051422, 1.0598543882369995, 0.36875954270362854, 0.04065381735563278, 0.5475225448608398, -0.9024370908737183, -0.17178194224834442, 0.12799562513828278, 0.31596699357032776, 0.2643669843673706, -0.5148225426673889, 0.5515242218971252, -0.19100485742092133, -0.5549095273017883, -0.9586642384529114, -0.1094854399561882, -0.7773022055625916, 0.0690191462635994, 1.1081193685531616, -0.25727933645248413, -0.28668901324272156, 0.26387616991996765, -0.2500896751880646, 0.307289183139801, -0.4363105595111847, 0.5815260410308838, 0.5904383063316345, -0.04687345772981644, -0.238900288939476, -0.6150054335594177, 0.1002909243106842, 0.22762329876422882, -0.6039607524871826, -0.022434303537011147, 0.3857482075691223, 0.21060296893119812, 0.06111420691013336, 0.3366575837135315, -0.1115524172782898, 0.3157108426094055, -0.2829534709453583, 0.15973205864429474, -0.27679991722106934, -0.49488380551338196, -0.34025976061820984, -0.047743067145347595, 0.17029273509979248, -0.34623298048973083 ]
http://arxiv.org/abs/2406.17304v1
http://arxiv.org/pdf/2406.17304v1
Leveraging LLMs for Dialogue Quality Measurement
2024-06-25T06:19:47
2024-06-25T06:19:47
Jinghan Jia, Abi Komma, Timothy Leffel, Xujun Peng, Ajay Nagesh, Tamer Soliman, Aram Galstyan, Anoop Kumar
cs.CL
cs.CL
In task-oriented conversational AI evaluation, unsupervised methods poorly correlate with human judgments, and supervised approaches lack generalization. Recent advances in large language models (LLMs) show robust zeroshot and few-shot capabilities across NLP tasks. This paper explores using LLMs for automated dialogue quality evaluation, experimenting with various configurations on public and proprietary datasets. Manipulating factors such as model size, in-context examples, and selection techniques, we examine "chain-of-thought" (CoT) reasoning and label extraction procedures. Our results show that (1) larger models yield more accurate dialogue labels; (2) algorithmic selection of in-context examples outperforms random selection; (3) CoT reasoning where an LLM is asked to provide justifications before outputting final labels improves performance; and (4) fine-tuned LLMs outperform out-of-the-box ones. Our results indicate that LLMs that are suitably fine-tuned and have sufficient reasoning capabilities can be leveraged for automated dialogue evaluation.
[ -0.6022664308547974, -0.7505126595497131, 0.8363733291625977, -0.07924312353134155, -0.35187432169914246, 0.32676172256469727, -0.23815719783306122, -0.4416937232017517, -0.03429020941257477, 0.756767988204956, -0.3822305500507355, -0.6328286528587341, -0.6338348984718323, 0.22864139080047607, -0.45233047008514404, 0.9575241208076477, 0.02069723978638649, 0.1759813129901886, -0.36943596601486206, -0.1652246117591858, -0.35216933488845825, -0.5195367932319641, -0.5557937026023865, -0.5385987758636475, 0.3825131356716156, 0.2874203622341156, 0.91404789686203, 0.48410388827323914, 0.4182322323322296, 0.3750521242618561, -0.14437435567378998, 0.4524655342102051, -0.4001351296901703, 0.14856520295143127, -0.16171452403068542, -0.4473983645439148, -0.5946095585823059, 0.258469820022583, 0.5466495156288147, 0.815797746181488, 0.12393215298652649, 0.3112742602825165, 0.21273577213287354, 0.35406768321990967, -0.6166383028030396, 0.21132217347621918, -0.6870077252388, 0.049892619252204895, 0.3657435476779938, -0.2627606689929962, -0.3637361526489258, -0.34237900376319885, 0.37155017256736755, -0.30288246273994446, -0.14171993732452393, 0.18270637094974518, 0.8597080707550049, 0.46990862488746643, -0.3706403374671936, -0.5058783888816833, -0.8560110330581665, 0.9577187895774841, -1.0616408586502075, 0.14998045563697815, 0.5067228674888611, 0.30962809920310974, -0.26854223012924194, -0.5415909290313721, -0.48197829723358154, -0.5797907114028931, -0.04278984293341637, 0.0809924528002739, -0.26978203654289246, 0.33411791920661926, 0.18088287115097046, 0.491770476102829, -0.21198652684688568, 0.38219740986824036, -0.06431266665458679, -0.24481719732284546, 0.674836277961731, 0.37540289759635925, 0.17095929384231567, -0.2093224674463272, -0.2607628107070923, -0.04114745929837227, -0.5358173251152039, 0.07324546575546265, 0.31290608644485474, 0.13902825117111206, 0.1678560972213745, 0.6041706800460815, -0.09735926985740662, 0.913363516330719, 0.006781110540032387, -0.29875415563583374, -0.12473707646131516, -0.5017332434654236, -0.5291938185691833, -0.21908198297023773, 0.9981471300125122, 0.5202690958976746, 0.1391461342573166, -0.12170346826314926, -0.37016797065734863, -0.07177670300006866, 0.16210462152957916, -0.6005376577377319, -0.07944677025079727, 0.35015302896499634, -0.37181827425956726, -0.2936577796936035, -0.19989097118377686, -0.5365079641342163, -0.20700593292713165, -0.6063297390937805, 0.31196069717407227, -0.16672100126743317, 0.12643346190452576, -0.09234797954559326, -0.05658222362399101, 0.060040105134248734, 0.5344765186309814, -0.5404698252677917, 0.29029151797294617, 0.7864875197410583, 0.6585982441902161, -0.5145567655563354, 0.0788140818476677, -0.7777281999588013, -0.23397432267665863, -0.6339513063430786, 0.8412735462188721, -0.41000908613204956, -0.35397017002105713, -0.0496145598590374, -0.2770807445049286, -0.056924279779195786, -0.7421197891235352, 0.5161078572273254, -0.35171911120414734, 0.28855395317077637, 0.1145140528678894, -0.7276336550712585, -0.0795210674405098, 0.5788316130638123, -0.42946505546569824, 0.8468343615531921, 0.20717179775238037, -0.34186819195747375, 0.33743318915367126, -0.33660244941711426, -0.07707741111516953, 0.13850539922714233, -0.22650909423828125, -0.2178131341934204, 0.1575605720281601, 0.4389629065990448, 0.4921426475048065, -0.5099676251411438, 0.4574076533317566, -0.2696387469768524, -0.47050940990448, 0.6352531909942627, -0.8106657266616821, 0.5425275564193726, 0.31672659516334534, -0.17609915137290955, 0.2901441156864166, -0.6182108521461487, 0.36158502101898193, -0.3499261438846588, -0.2541010081768036, -0.025605039671063423, -0.13002228736877441, -0.3450927734375, 0.18950255215168, 0.04581007361412048, -0.4403972327709198, -0.10100235044956207, -0.6044825911521912, 0.4417894184589386, 0.6039425134658813, 0.21062147617340088, 0.35005369782447815, -0.373185932636261, 0.5059234499931335, -0.15694820880889893, 0.21131767332553864, -0.0951530858874321, -0.46869146823883057, -1.1182600259780884, -0.4900553226470947, 0.3331122398376465, 0.37679389119148254, -0.7158828377723694, 0.8274483680725098, -0.03893977403640747, -0.4123828709125519, -0.5719617605209351, 0.3316701352596283, 0.40074822306632996, 0.31352508068084717, 0.160776749253273, -0.6538197994232178, -0.07610026746988297, -0.7233774065971375, -0.12658242881298065, -0.3825452923774719, -0.3795170187950134, 0.5672626495361328, 0.37031692266464233, -0.31951144337654114, 1.1502561569213867, -0.3693672716617584, -0.22599227726459503, -0.4508783221244812, 0.3891068398952484, 0.3178408145904541, 0.060333430767059326, 0.03650963306427002, -0.1352134495973587, -0.18975791335105896, -0.19638152420520782, -0.7819896936416626, -0.23592537641525269, -0.30658960342407227, -0.05693213269114494, 0.16531571745872498, 0.3523889183998108, -0.4862825572490692, 0.4094865918159485, 0.5562509894371033, -0.044218845665454865, 0.6302409172058105, -0.13377776741981506, 0.19644057750701904, -0.7506715059280396, -0.10886549949645996, 0.18337905406951904, -0.47478005290031433, -0.5552313327789307, -0.1909787654876709, -0.4303775131702423, -0.05293998867273331, -0.5149652361869812, 0.4813224673271179, -0.3695977032184601, -0.4734736680984497, -0.41317057609558105, 0.5037618279457092, 0.25548163056373596, 0.5670233964920044, -0.0030510001815855503, 0.8016002178192139, 0.31586650013923645, -0.5256985425949097, 0.641177773475647, 0.16349954903125763, -0.8576261401176453, 0.6005248427391052, -0.6817372441291809, 0.3803141117095947, 0.08246050775051117, 0.5410934090614319, -1.0673919916152954, -0.15544737875461578, 0.14044266939163208, -0.23375774919986725, 0.03929656744003296, -0.1379331797361374, -0.5834527611732483, -0.25694695115089417, -0.1292889416217804, 0.22929450869560242, 0.3973604440689087, -0.6023386716842651, 0.40821006894111633, 0.45974138379096985, -0.22118110954761505, -0.21871323883533478, -0.4020368158817291, 0.28962042927742004, -0.21509048342704773, -0.38997581601142883, -0.06274199485778809, 0.02298952266573906, -0.41480112075805664, -0.3436654210090637, -0.2436288744211197, -0.15406468510627747, 0.05108004808425903, 0.29745814204216003, 0.3614151179790497, -0.12831440567970276, 0.07796008139848709, -0.04665011167526245, -0.11119281500577927, 0.15251770615577698, -0.11095638573169708, 0.438626766204834, -0.28499266505241394, -0.6519163846969604, -0.7993231415748596, 0.034620366990566254, 0.566955029964447, -0.0671221911907196, 0.26724889874458313, 0.5095546245574951, 0.010869561694562435, -0.17483338713645935, -0.7615696787834167, -0.1810878962278366, -0.4461252689361572, 0.21545277535915375, -0.053615763783454895, -0.9553470611572266, 0.2527740001678467, -0.37477928400039673, 0.040799692273139954, 0.16366975009441376, 0.49335265159606934, -0.3789221942424774, 1.1579012870788574, 0.21223130822181702, -0.14628687500953674, 0.32547813653945923, -0.28363871574401855, 0.5050294399261475, -0.9789657592773438, -0.11833750456571579, -0.460692435503006, -0.0981026440858841, -0.45382121205329895, -0.673772394657135, 0.6001619100570679, 0.19172123074531555, -0.20777203142642975, 0.29557546973228455, -0.4108375012874603, 0.4718160331249237, 0.47589704394340515, 0.08465225249528885, 0.6000549793243408, -0.10154738277196884, 0.07901310920715332, 0.1312331259250641, -0.5935388803482056, -1.0357201099395752, 0.8386227488517761, 0.6089015007019043, 0.8462548851966858, -0.2475017011165619, 0.48397400975227356, 0.23430751264095306, 0.32802507281303406, -0.9811574220657349, 0.7052554488182068, 0.026348812505602837, -0.3695269823074341, -0.5314107537269592, -0.48251429200172424, -0.7735787630081177, 0.34036174416542053, -0.08601824194192886, -1.0007586479187012, -0.05923137441277504, 0.09898462891578674, -0.5138902068138123, 0.1516781896352768, -0.44803112745285034, 0.5682829022407532, -0.4183708429336548, -0.04360513016581535, -0.22109967470169067, -0.4470243453979492, 0.20051002502441406, 0.06404588371515274, 0.0020729757379740477, -0.5463471412658691, 0.24374066293239594, 0.655110239982605, -0.5132760405540466, 0.8650322556495667, 0.24363520741462708, -0.30629199743270874, 0.7204549312591553, 0.1789061278104782, 0.32811346650123596, 0.02340146154165268, -0.08470000326633453, 0.4373117983341217, 0.17103591561317444, -0.15168963372707367, -0.8765788078308105, 0.6491774916648865, -0.8480093479156494, -0.6697861552238464, -0.18075019121170044, -0.5086991786956787, -0.6247329711914062, -0.13950879871845245, 0.0695587769150734, 0.41545289754867554, -0.23573772609233856, 0.24220414459705353, 0.31899088621139526, -0.479302316904068, 0.33673804998397827, 0.3463774025440216, -0.09175670146942139, -0.4528011083602905, 0.8143411874771118, -0.08164810389280319, 0.6136863231658936, 0.24418653547763824, 0.18996363878250122, -0.4256938695907593, -0.40287473797798157, -0.4933514893054962, 0.01093287393450737, -0.7900292277336121, -0.3359738886356354, -0.5122315287590027, -0.3607936501502991, -0.17459836602210999, 0.08395103365182877, -0.40521830320358276, -0.41944536566734314, -0.2944399416446686, -0.12799489498138428, -0.013082844205200672, 0.653087854385376, 0.2103116810321808, 0.33430448174476624, -0.7449584007263184, 0.2738937735557556, 0.4533017873764038, 0.31519579887390137, -0.010001073591411114, -0.6618362665176392, -0.10257454216480255, 0.2571900188922882, -0.5404574871063232, -0.5889327526092529, 0.528484046459198, 0.014708749018609524, 0.5915959477424622, 0.2791014015674591, 0.038868553936481476, 0.5386974215507507, -0.10009302198886871, 0.9936801195144653, 0.23975364863872528, -1.0201616287231445, 0.603924036026001, -0.16637735068798065, 0.49106746912002563, 0.6528169512748718, 0.12564876675605774, -0.27253055572509766, -0.7694370746612549, -0.31705448031425476, -0.6641377806663513, 0.5213505029678345, 0.3449706733226776, 0.026046965271234512, -0.1797255575656891, 0.06795182079076767, 0.02262905053794384, 0.25449538230895996, -0.38652053475379944, -0.07402339577674866, -0.020720014348626137, -0.08754071593284607, -0.21776992082595825, -0.1831289678812027, -0.23048709332942963, -0.23583652079105377, 0.44691020250320435, -0.2913304567337036, 0.22299852967262268, 0.15590441226959229, -0.11817342787981033, -0.0464954748749733, 0.4537704885005951, 0.2751116156578064, 0.8415526151657104, -0.20040112733840942, -0.01881049945950508, 0.3685291111469269, 0.17115017771720886, 0.17500419914722443, -0.30504310131073, 0.08133327960968018, 0.1692313402891159, 0.4394134283065796, 0.940902829170227, 0.12135785073041916, -0.8919224143028259, 0.5202282667160034, -0.08678845316171646, -0.05047601833939552, -0.20268744230270386, 0.28816401958465576, -0.2366231381893158, 0.3249887526035309, 0.14495496451854706, -0.1352844387292862, 0.26111313700675964, -0.7021467089653015, 0.036811068654060364, 0.5638227462768555, -0.5152333974838257, 0.050079282373189926, 0.16772910952568054, 0.5117862224578857, -0.4468086361885071, 0.8422285318374634, 0.011043550446629524, -0.2804986536502838, 0.5465342998504639, 0.23844970762729645, 0.8679556846618652, 0.08784950524568558, 0.3216122090816498, 0.22988927364349365, 0.15189972519874573, 0.001001713564619422, -0.2724760174751282, -0.2619483768939972, -0.8172814249992371, -0.7370802760124207, -0.6046578884124756, -1.0064003467559814, 0.3027026951313019, -0.6980119943618774, 0.15950165688991547, -0.5318124294281006, -0.45868369936943054, -0.11116649955511093, -0.033303290605545044, -0.7814133167266846, 0.29804348945617676, 0.29760104417800903, 0.6639586687088013, -0.568596363067627, 0.532826840877533, 0.18454013764858246, -0.19682934880256653, -0.7256308197975159, -0.044101644307374954, 0.00833396427333355, -0.7600745558738708, 0.533677339553833, 0.12151888012886047, -0.3669617176055908, -0.3249508738517761, -0.5717993378639221, -0.7568607926368713, 0.9533309936523438, 0.339844673871994, -0.7411906719207764, 0.10268866270780563, 0.3019101321697235, 0.9036272168159485, -0.5519501566886902, 0.7167348265647888, 0.9041757583618164, 0.23057518899440765, 0.23979970812797546, -1.1113847494125366, -0.2572609782218933, 0.15447258949279785, 0.08369561284780502, -0.034413501620292664, -0.29772302508354187, 0.23659482598304749, -0.0641990453004837, -0.09208120405673981, 0.2983998954296112, 0.5217550992965698, 0.33854225277900696, 0.4473367929458618, 0.5604018568992615, 0.34318843483924866, 0.6264720559120178, -0.14325129985809326, 1.0113507509231567, -0.24769935011863708, 0.24808968603610992, 1.3419945240020752, -0.42437466979026794, 0.8463314771652222, 0.28965428471565247, -0.09606608748435974, 0.34608909487724304, 0.5184657573699951, -0.03529617562890053, 0.24169768393039703, 0.4569535255432129, -0.2962639331817627, -0.4377305805683136, -0.4213615357875824, 0.128495991230011, 0.7544276118278503, 0.5369603037834167, -0.5119739770889282, -0.19258379936218262, 0.020999234169721603, -0.15513283014297485, -0.002755369758233428, -0.16949091851711273, 1.2201350927352905, 0.27317413687705994, -1.0526132583618164, 0.7482777237892151, -0.19401094317436218, 0.4377606511116028, -0.09645368903875351, -0.05348445102572441, -0.2568685710430145, -0.009744901210069656, -0.05448664724826813, -1.0255389213562012, 0.2654536962509155, 0.2507116496562958, 0.2531557083129883, -0.35437822341918945, 0.5058119297027588, -0.3752950429916382, -0.38782551884651184, 0.3013719916343689, 0.6190809607505798, 0.5891631245613098, -0.015694662928581238, -0.6553488373756409, 0.2711223363876343, -0.12543301284313202, -0.06403941661119461, 0.347248375415802, 0.26918917894363403, 0.03623811900615692, 0.7877965569496155, 0.5414912104606628, 0.06894564628601074, -0.3043356239795685, 0.48390305042266846, 0.8550969958305359, -0.49642691016197205, -0.03988990932703018, -0.7531449198722839, 0.3119480609893799, -0.22534194588661194, -0.30895745754241943, 0.5607292056083679, 0.32540595531463623, 0.8065575361251831, 0.328372985124588, 0.6470440626144409, 0.4911032021045685, 0.4322760999202728, -0.4962402284145355, 0.4784592390060425, -0.21000857651233673, 0.41429245471954346, -0.34304890036582947, -1.1183465719223022, -0.2141529619693756, 0.6896418333053589, -0.43656453490257263, -0.11792095750570297, 0.5639995336532593, 0.829988420009613, 0.15814104676246643, 0.08518814295530319, 0.6742838621139526, 0.11980924010276794, 0.5522356033325195, 0.4331206977367401, 1.1737585067749023, -0.2820110023021698, 0.5464620590209961, -0.01714775152504444, -0.3264959156513214, -0.15778806805610657, -0.9093009233474731, -1.0971466302871704, -0.33011025190353394, -0.5195960402488708, -0.21655303239822388, 0.12062874436378479, 1.1224366426467896, 0.8358851671218872, -0.7169851660728455, -0.37609776854515076, -0.011421610601246357, 0.15745000541210175, 0.042277462780475616, -0.1977400928735733, 0.03311619535088539, -0.5320615172386169, -0.7913080453872681, 0.6102091073989868, 0.4987507462501526, -0.05517292022705078, -0.37212252616882324, -0.07521259039640427, 0.11893583834171295, 0.32100850343704224, 0.742746114730835, -0.04754798486828804, -1.0307402610778809, -0.3313981890678406, -0.38911303877830505, -0.25347742438316345, 0.11141540855169296, 0.6843348145484924, -0.7103222608566284, 0.6210451126098633, 0.4025447368621826, 0.5855312943458557, 0.4252496361732483, 0.3309969902038574, 0.7812632918357849, -0.6246961951255798, -0.19440074265003204, 0.5057847499847412, 0.31425851583480835, 0.38244983553886414, -0.12505047023296356, 0.42783626914024353, -0.34177857637405396, -0.8164218068122864, -0.7771182656288147, 0.09522665292024612, -0.8797988295555115, -0.11968272924423218, 1.3663725852966309, -0.39952850341796875, -0.057131387293338776, -0.14410875737667084, -0.3755083978176117, 0.1167764812707901, -0.39598289132118225, 0.7705432772636414, 0.8038679957389832, -0.4708994925022125, -0.1851295828819275, -0.541340708732605, 0.3572686016559601, 0.40569743514060974, -1.009671688079834, -0.21786868572235107, 0.5742455720901489, 0.09067298471927643, 0.251492977142334, 0.6135581135749817, -0.00014155879034660757, 0.048015348613262177, -0.3195924460887909, -0.25157177448272705, 0.11515197902917862, -0.31318792700767517, -0.3463164269924164, -0.0728134885430336, 0.36657488346099854, -0.19302646815776825 ]
http://arxiv.org/abs/2406.17300v1
http://arxiv.org/pdf/2406.17300v1
CausalScore: An Automatic Reference-Free Metric for Assessing Response Relevance in Open-Domain Dialogue Systems
2024-06-25T06:08:16
2024-06-25T06:08:16
Tao Feng, Lizhen Qu, Xiaoxi Kang, Gholamreza Haffari
cs.CL
cs.CL
Automatically evaluating the quality of responses in open-domain dialogue systems is a challenging but crucial task. Current evaluation metrics often fail to align with human judgments, especially when assessing responses that are grammatically correct. To address this issue, we propose a novel metric, called CausalScore, which assesses the relevance of responses by measuring the causal strength between dialogue histories and responses. The causal strength is estimated by utilizing both unconditional dependence and conditional dependencies from the dialogue history to responses. We compare our metric with the existing competitive metrics in terms of their alignment with human judgements. Our experimental results demonstrate that CausalScore significantly surpasses existing state-of-the-art metrics by aligning better with human judgements. Additionally, we collect a new dialogue dataset CGDIALOG+ with human-annotated causal relations and a set of pairwise human judgements to facilitate the development of future automatic metrics.
[ -0.35506656765937805, -0.424951434135437, 0.6184845566749573, 0.32019880414009094, -0.0582706481218338, -0.10835663974285126, -0.1841222494840622, -0.3199644982814789, 0.07168515771627426, 0.32419437170028687, -0.32396167516708374, -0.20751038193702698, -0.5252573490142822, 0.08327556401491165, -0.07558214664459229, 0.9513453841209412, 0.0921296775341034, 0.2436244934797287, -0.6729477643966675, -0.5972385406494141, -0.8834301829338074, -0.40663254261016846, -0.45380523800849915, -0.15874643623828888, 0.6935659646987915, 0.26780253648757935, 0.7786408066749573, 0.10059529542922974, 0.7156669497489929, 0.3093825876712799, 0.2239101380109787, 0.18700306117534637, -0.4964575171470642, 0.07450729608535767, -0.595902144908905, -0.119717538356781, -0.6132716536521912, 0.279615581035614, 0.5303151607513428, 0.8065422177314758, 0.02498718909919262, 0.4972783029079437, 0.2815071940422058, 0.331966370344162, -0.836355447769165, 0.3099576532840729, -0.35181209444999695, -0.24801136553287506, 0.20209021866321564, -0.6638847589492798, -0.4805663228034973, -0.7192896604537964, 0.4236654043197632, -0.6811721324920654, 0.14431755244731903, 0.30289706587791443, 0.8628756403923035, 0.2827098071575165, -0.7305890917778015, -0.09353780001401901, -0.9081839919090271, 0.6036313772201538, -0.9084773063659668, 0.341295063495636, 0.33906620740890503, 0.6295396089553833, -0.2551122307777405, -0.5555446743965149, -0.4458552300930023, -0.3717808127403259, -0.4865553379058838, 0.36004510521888733, -0.33698606491088867, 0.02977140247821808, 0.13826826214790344, 0.2715277075767517, -0.519629716873169, -0.11795905977487564, -0.2636888027191162, -0.3547767400741577, 0.4937532842159271, 0.5908358097076416, 0.33433565497398376, -0.12379542738199234, -0.3665868639945984, 0.09896594285964966, -0.39080458879470825, 0.24735911190509796, 0.195583775639534, 0.4532910883426666, 0.09914141893386841, 0.3846493363380432, -0.28029656410217285, 0.7138493657112122, 0.2087099552154541, -0.18918004631996155, -0.19741448760032654, -0.6530871391296387, -0.3681730628013611, 0.07682226598262787, 1.1271252632141113, 0.588634192943573, -0.04861026629805565, -0.2868388593196869, 0.3108227252960205, 0.17948544025421143, 0.47423216700553894, -0.7275319695472717, -0.06654056161642075, -0.06316082179546356, -0.23019365966320038, -0.09143369644880295, 0.3212902545928955, -0.6546552181243896, -0.2639429271221161, -0.32681116461753845, 0.5750846862792969, 0.127208411693573, -0.01865445449948311, 0.11465173959732056, -0.08050651103258133, -0.15776808559894562, 0.7274983525276184, -0.47349435091018677, 0.39643222093582153, 0.5921825170516968, 0.6038699150085449, -0.015483560971915722, 0.016109224408864975, -0.8757021427154541, -0.044479984790086746, -0.3972528278827667, 0.7977136373519897, -0.308127760887146, -0.22122056782245636, -0.13107475638389587, 0.039775144308805466, -0.05773355811834335, -0.461844801902771, 1.0752029418945312, -0.5964778661727905, 0.6075627207756042, -0.12829537689685822, -0.42405474185943604, -0.30360645055770874, -0.003962146118283272, -0.5061356425285339, 0.8085470199584961, 0.23220309615135193, -0.8404834270477295, 0.6515910625457764, -0.12054508924484253, -0.21787038445472717, 0.006295861676335335, -0.15030546486377716, -0.2798478603363037, 0.04202652722597122, -0.0905521810054779, 0.0713714063167572, -1.086686611175537, 0.720826268196106, -0.6875889301300049, -0.19791485369205475, 0.256087064743042, -0.5640091896057129, 0.704606831073761, -0.023135848343372345, -0.4216124713420868, 0.2142138034105301, -0.9211508631706238, 0.07878516614437103, -0.25111129879951477, -0.053272344172000885, -0.6141806840896606, 0.1433972865343094, -0.4982709288597107, 0.5165249705314636, 0.05874299630522728, -0.6910638809204102, -0.16757680475711823, -0.25780346989631653, -0.13088370859622955, 0.6904078125953674, 0.23576770722866058, 0.2902369797229767, -0.2318315953016281, 0.2081410437822342, -0.05984142795205116, 0.31830546259880066, -0.03327560797333717, -0.5937977433204651, -0.8070905804634094, -0.29680898785591125, 0.07089608907699585, 0.5856199860572815, -0.12199082225561142, 0.9360935688018799, -0.49402597546577454, -0.4660187363624573, -0.38484829664230347, -0.09913253784179688, 0.5325274467468262, 0.9582147598266602, 0.30088964104652405, -0.9254644513130188, -0.3770498037338257, -0.9046417474746704, -0.47260215878486633, -0.844352662563324, -0.2983463406562805, 0.7152730226516724, 0.05414747819304466, 0.12993425130844116, 1.3511037826538086, -0.6011449098587036, -0.35519981384277344, 0.3233737349510193, 0.4323962926864624, 0.19428750872612, 0.15209679305553436, 0.30781999230384827, -0.3070260286331177, -0.23220035433769226, -0.12509872019290924, -0.9689819812774658, -0.629362165927887, -0.03660355880856514, -0.320812463760376, -0.18228717148303986, 0.19495481252670288, -0.4685457646846771, 0.5269119143486023, 0.26188409328460693, -0.7939708232879639, 0.7137004733085632, 0.03490964323282242, 0.76897794008255, -0.740131139755249, 0.5883835554122925, 0.029811589047312737, -0.12410691380500793, -0.4399968683719635, -0.4195372462272644, 0.011149699799716473, -0.05183485522866249, -0.5254733562469482, 0.7788839340209961, -0.04166097193956375, -0.0095252376049757, 0.22823895514011383, 0.4189629852771759, -0.011385503225028515, 0.6900216341018677, -0.28942936658859253, 0.6825505495071411, -0.06588207930326462, -0.6331497430801392, 0.44414815306663513, 0.5429210066795349, -0.47990885376930237, 1.129503607749939, -0.7255200147628784, -0.014722340740263462, 0.20935234427452087, 0.44255921244621277, -1.3644589185714722, -0.1990494579076767, 0.2700006365776062, -0.6166427731513977, -0.2259497344493866, -0.07327444106340408, -0.3652570843696594, -0.466368168592453, -0.00565263582393527, 0.6520095467567444, 0.10570388287305832, -0.46393442153930664, 0.34843745827674866, 0.1530320942401886, -0.22769398987293243, -0.25265297293663025, -0.07494323700666428, 0.06848778575658798, -0.31130850315093994, -0.7136300206184387, -0.22188697755336761, -0.20081685483455658, -0.34640219807624817, -0.15473368763923645, -0.38398104906082153, -0.023160511627793312, 0.07245183736085892, 0.370988667011261, 0.3785313367843628, -0.30408158898353577, -0.01506009604781866, -0.10787612944841385, -0.2568226456642151, 0.36143019795417786, -0.3075415790081024, 0.029404621571302414, 0.122635118663311, -0.48682671785354614, -0.5612999200820923, 0.15178930759429932, 0.9014036059379578, -0.06823792308568954, 0.40758442878723145, 0.11210913211107254, -0.08948149532079697, 0.4186135530471802, -0.5737848281860352, 0.03606785461306572, -0.40432488918304443, -0.024134935811161995, -0.02406621165573597, -0.9332917332649231, 0.30162233114242554, -0.07102052867412567, -0.08242824673652649, 0.6077660322189331, 0.452807754278183, 0.1496039181947708, 1.3318077325820923, 0.24105995893478394, -0.24401362240314484, 0.14997930824756622, 0.5341558456420898, 0.4996166229248047, -0.7946922183036804, -0.3105787932872772, -0.8560641407966614, -0.022577758878469467, -0.280516117811203, -0.17347709834575653, 0.48966559767723083, 0.22119559347629547, -0.6873067021369934, 0.4661075472831726, -0.060600630939006805, 0.05249198153614998, 0.43050503730773926, -0.11775356531143188, 0.5921517014503479, -0.3969029188156128, -0.25128525495529175, -0.2014191746711731, -0.3893948197364807, -0.5845461487770081, 0.8904309272766113, 0.027624547481536865, 0.7811031341552734, 0.42095983028411865, 0.15825040638446808, 0.4391316771507263, 0.44739481806755066, -0.670229434967041, 0.5574370622634888, 0.26885998249053955, -0.46770933270454407, -0.271123468875885, -0.6448482275009155, -0.8857834339141846, 0.32888534665107727, -0.037759557366371155, -1.044460415840149, 0.1767442524433136, 0.03039293736219406, -0.5382345914840698, -0.03199133276939392, -0.519148588180542, 0.8043231964111328, -0.18800674378871918, -0.5424569249153137, -0.10752757638692856, -0.7290337681770325, 0.35488730669021606, -0.04921232908964157, -0.014990455470979214, -0.3756456673145294, 0.27226147055625916, 0.8060405254364014, -0.6701890230178833, 0.8457123041152954, 0.004675775300711393, -0.21357014775276184, 0.19064192473888397, 0.2642342746257782, 0.1994270533323288, 0.24806278944015503, 0.26512712240219116, 0.1021055206656456, -0.15909071266651154, -0.17710629105567932, -1.0570429563522339, 0.6927089095115662, -0.6140428185462952, -0.8714779615402222, -0.4078389108181, -0.17272919416427612, -0.6006078720092773, 0.25700119137763977, -0.1673748642206192, 0.5438923239707947, -0.8933578133583069, 0.04759427532553673, 0.3148399889469147, -0.2587772309780121, 0.09710028767585754, 1.073257327079773, 0.0035048718564212322, -0.739453911781311, 0.5003070831298828, -0.16981999576091766, 0.3887339234352112, 0.49740275740623474, 0.2358265370130539, -0.1979064643383026, 0.29813408851623535, -0.5085546374320984, 0.07034017145633698, -0.4923384487628937, -0.585506796836853, -0.6845036149024963, -0.012707636691629887, -0.26998114585876465, -0.005367174278944731, -0.05283360183238983, -0.5958635210990906, -0.18351145088672638, 0.01584187150001526, 0.11844208836555481, 0.3505041301250458, -0.054643407464027405, -0.06828678399324417, -0.7478892803192139, 0.2220408320426941, 0.6553629040718079, 0.42968523502349854, 0.11747755855321884, -0.6621811985969543, -0.2884432077407837, -0.025912029668688774, -0.5277656316757202, -0.6076117753982544, 0.13850685954093933, 0.17915940284729004, 0.5482808351516724, 0.5261793732643127, 0.3281385898590088, 0.7017486095428467, -0.5584375858306885, 1.0805784463882446, 0.46764516830444336, -0.8631413578987122, 0.6328645944595337, -0.5344700217247009, 0.37518641352653503, 0.7183479070663452, 0.2578381597995758, -0.6560660600662231, -0.915015697479248, -0.6214333772659302, -0.7513129115104675, 0.7500613927841187, 0.16251079738140106, -0.1444806605577469, -0.049722589552402496, -0.06265516579151154, -0.012728475034236908, 0.16308742761611938, 0.06910575181245804, -0.15340280532836914, 0.025285139679908752, -0.03298524022102356, -0.361673504114151, 0.13092650473117828, -0.45850783586502075, -0.40421998500823975, 0.45762914419174194, -0.10894826799631119, 0.483725905418396, 0.2945365905761719, -0.21188685297966003, -0.40661758184432983, 0.3080277144908905, 0.593562126159668, 0.6501225829124451, -0.42146408557891846, 0.0730389952659607, 0.1623026728630066, -0.2826407849788666, 0.39843428134918213, -0.029258616268634796, 0.09497610479593277, 0.006428695749491453, 0.4329844117164612, 0.7819695472717285, 0.6670396327972412, -0.5385663509368896, 0.857870876789093, -0.40268149971961975, 0.07523389905691147, -0.023929759860038757, 0.06651546061038971, -0.3593652546405792, 0.22121776640415192, 0.2624070346355438, 0.23215745389461517, 0.3861010670661926, -0.35045406222343445, 0.41457894444465637, 0.24592314660549164, -0.8663180470466614, -0.40867379307746887, 0.9163673520088196, 0.4085409641265869, -0.2621718943119049, 0.47384950518608093, 0.12051736563444138, -0.3094725012779236, 0.5266147255897522, 0.4349404573440552, 1.2017821073532104, -0.2601810097694397, 0.2165869027376175, 0.7965248823165894, -0.0019239047542214394, 0.199198380112648, -0.37072518467903137, -0.27465763688087463, -0.5077202916145325, -0.11826933175325394, -0.46381857991218567, -0.5234753489494324, -0.18137820065021515, -0.9199145436286926, 0.17619217932224274, -0.417184978723526, -0.46602097153663635, -0.02588037960231304, -0.08185447007417679, -0.7289053797721863, 0.3183388113975525, -0.3457278311252594, 0.7480208277702332, -0.8242782950401306, 0.3275001049041748, 0.24520276486873627, -0.7140718102455139, -0.7213884592056274, 0.07217775285243988, 0.42770615220069885, -0.4865061342716217, 0.9363458752632141, -0.01846727915108204, -0.5864079594612122, -0.31061381101608276, -0.12246741354465485, -0.7761834859848022, 1.074771523475647, 0.3200264275074005, -0.16825959086418152, 0.2624114155769348, 0.0899849683046341, 0.7430368065834045, -0.2473820596933365, 0.7655203342437744, 0.6844599843025208, 0.3602076768875122, -0.16440314054489136, -1.4079188108444214, 0.28150883316993713, -0.4933088719844818, -0.1576281487941742, 0.49045315384864807, -0.8217652440071106, 0.1526029407978058, -0.02792869322001934, -0.4156833589076996, 0.407264769077301, 0.5850862264633179, -0.2297208607196808, 0.4095814526081085, 0.39053910970687866, 0.6722577810287476, 0.5861966609954834, -0.21675463020801544, 0.7191194891929626, -0.20589299499988556, 0.48941293358802795, 1.2965975999832153, -0.3376215994358063, 0.709030270576477, 0.27702558040618896, -0.12252268195152283, 0.6120296120643616, 0.25270766019821167, 0.2698409855365753, 0.5251567959785461, 0.21617861092090607, -0.5722537040710449, -0.21284104883670807, -0.2980901598930359, -0.12040980905294418, 0.25279170274734497, 0.14109843969345093, -0.12224871665239334, -0.4013817310333252, -0.30227214097976685, 0.13680341839790344, 0.0244583897292614, 0.005124796647578478, 1.0949723720550537, 0.03706216439604759, -1.1129573583602905, 0.6504427790641785, -0.35187357664108276, 0.1820196956396103, -0.6385297179222107, 0.05239478126168251, -0.37213096022605896, 0.22757349908351898, -0.13510525226593018, -0.7036736011505127, 0.15235306322574615, 0.12400046736001968, -0.1335260272026062, 0.07578875869512558, 0.36662203073501587, -0.2982887625694275, 0.006103146355599165, 0.5848706960678101, 0.3836745619773865, -0.18864643573760986, 0.3746166229248047, -0.3247746229171753, -0.3095962703227997, -0.3719390630722046, -0.0012668592389672995, 0.3609265685081482, 0.4309765100479126, -0.2659616470336914, 0.5374727249145508, 0.5572735667228699, -0.2301500290632248, -0.31825393438339233, 0.21944962441921234, 0.749161958694458, -0.6834414601325989, -0.4174075722694397, -0.49513158202171326, 0.5732701420783997, -0.24076317250728607, -0.5684627294540405, 0.9527547955513, 0.5059220790863037, 0.6321474313735962, 0.22525739669799805, 0.5953909158706665, 0.017617622390389442, 0.6396328806877136, -0.16942240297794342, 0.5443697571754456, -0.4962606728076935, 0.0981360599398613, -0.8128240704536438, -0.9567254185676575, -0.4582608640193939, 0.1896113157272339, -0.377631813287735, -0.22900168597698212, 0.920742928981781, 0.8249390721321106, -0.20798498392105103, 0.13935714960098267, 0.3900671601295471, 0.14789751172065735, 0.4172423183917999, 0.5164971947669983, 1.0144439935684204, -0.3876228928565979, 0.5489640235900879, 0.44202446937561035, -0.6583391427993774, -0.3244935870170593, -0.8254823684692383, -0.7093484401702881, -0.6538206934928894, -0.18501447141170502, -0.4115629494190216, 0.20794443786144257, 0.8069158792495728, 0.48239922523498535, -0.8780518174171448, -0.4784581959247589, 0.15856407582759857, -0.09713253378868103, -0.28165289759635925, -0.27217498421669006, 0.3169304132461548, -0.5129146575927734, -0.24956096708774567, 0.30247876048088074, 0.631406307220459, -0.33713334798812866, -0.08755626529455185, -0.20847338438034058, 0.060989297926425934, 0.5598764419555664, 0.7359153628349304, 0.5583757162094116, -0.749034583568573, -0.7623694539070129, -0.2383788377046585, -0.39758580923080444, -0.01478948350995779, 1.27146315574646, -0.756545901298523, 0.7609192132949829, 0.6553933620452881, 0.48206251859664917, 0.09402736276388168, 0.16140516102313995, 1.016310453414917, -0.4925616383552551, -0.0323273167014122, 0.149358332157135, 0.2184564620256424, 0.1220034584403038, -0.16946320235729218, 0.5215024352073669, 0.3412421643733978, -0.7726078033447266, -0.5978360772132874, 0.16616849601268768, -1.1415308713912964, 0.2107144147157669, 0.8722246289253235, -0.3763921558856964, 0.22092008590698242, -0.2973417639732361, -0.3551827371120453, 0.2335297167301178, -0.551821231842041, 0.8076359033584595, 0.6745920181274414, -0.17612436413764954, 0.3484472334384918, -0.3654923141002655, 0.452284574508667, 0.4899843633174896, -0.8277652859687805, 0.19870546460151672, 0.9329128265380859, 0.004850985482335091, 0.29189714789390564, 0.7930299043655396, -0.23734639585018158, 0.4599114656448364, -0.19348284602165222, -0.38921499252319336, 0.4505794942378998, -0.3458496928215027, -0.050918299704790115, -0.007072783540934324, 0.00014317483874037862, 0.03892378881573677 ]
http://arxiv.org/abs/2406.17294v2
http://arxiv.org/pdf/2406.17294v2
Math-LLaVA: Bootstrapping Mathematical Reasoning for Multimodal Large Language Models
2024-06-25T05:43:21
2024-06-26T16:43:27
Wenhao Shi, Zhiqiang Hu, Yi Bin, Junhua Liu, Yang Yang, See-Kiong Ng, Lidong Bing, Roy Ka-Wei Lee
cs.CL
cs.CL
Large language models (LLMs) have demonstrated impressive reasoning capabilities, particularly in textual mathematical problem-solving. However, existing open-source image instruction fine-tuning datasets, containing limited question-answer pairs per image, do not fully exploit visual information to enhance the multimodal mathematical reasoning capabilities of Multimodal LLMs (MLLMs). To bridge this gap, we address the lack of high-quality, diverse multimodal mathematical datasets by collecting 40K high-quality images with question-answer pairs from 24 existing datasets and synthesizing 320K new pairs, creating the MathV360K dataset, which enhances both the breadth and depth of multimodal mathematical questions. We introduce Math-LLaVA, a LLaVA-1.5-based model fine-tuned with MathV360K. This novel approach significantly improves the multimodal mathematical reasoning capabilities of LLaVA-1.5, achieving a 19-point increase and comparable performance to GPT-4V on MathVista's minitest split. Furthermore, Math-LLaVA demonstrates enhanced generalizability, showing substantial improvements on the MMMU benchmark. Our research highlights the importance of dataset diversity and synthesis in advancing MLLMs' mathematical reasoning abilities. The code and data are available at: \url{https://github.com/HZQ950419/Math-LLaVA}.
[ -0.4220002591609955, -0.6951005458831787, 0.533011257648468, 0.3528178036212921, -0.1739012598991394, 0.2850598394870758, -0.23272357881069183, -0.22413180768489838, 0.07353583723306656, 0.27346959710121155, -0.7763643860816956, -0.5039398670196533, -0.3223746120929718, 0.008722522296011448, -0.04454422742128372, 0.7328962683677673, -0.1846553385257721, 0.25010454654693604, -0.8166275024414062, -0.27103105187416077, -0.4877249598503113, -0.18250681459903717, -0.12991245090961456, -0.15969933569431305, 0.6477412581443787, 0.5383721590042114, 0.7049949765205383, 0.31106606125831604, 0.6055307984352112, 0.35685503482818604, 0.32076987624168396, 0.544862687587738, -0.39489036798477173, 0.4938528835773468, 0.03454330936074257, -0.6338143944740295, -0.4154244363307953, -0.23716601729393005, 0.6106966733932495, 0.5037391185760498, -0.10817607492208481, 0.3633763790130615, -0.3567364811897278, 0.7350937724113464, -0.7267189621925354, 0.5223762392997742, -0.670754611492157, -0.14689725637435913, -0.2345748096704483, -0.06067376956343651, -0.3201923668384552, -0.36947277188301086, -0.2540247142314911, -0.9440366625785828, -0.17305433750152588, -0.011308625340461731, 0.6716282963752747, 0.3492790758609772, -0.39202412962913513, -0.09359073638916016, -0.4680372178554535, 1.026021957397461, -0.39882978796958923, 0.48502323031425476, 0.5989892482757568, 0.6421146392822266, 0.14165088534355164, -0.4897441267967224, -0.3495618402957916, 0.04503464326262474, 0.27607986330986023, 0.0023879222571849823, -0.2274746149778366, -0.29472312331199646, 0.35079580545425415, 0.25214096903800964, -0.5457007884979248, -0.11434847116470337, -0.4403875172138214, -0.31426116824150085, 0.6051090359687805, 0.3266820013523102, 0.07023696601390839, -0.033325135707855225, -0.12210714817047119, -0.1014818400144577, -0.8093375563621521, 0.03836885839700699, 0.36382225155830383, -0.007449360564351082, -0.11518429219722748, 0.8102858066558838, -0.05510290339589119, 0.7335862517356873, -0.4364008903503418, -0.51849365234375, 0.3694688081741333, -0.4009092450141907, -0.3798874616622925, -0.41648632287979126, 0.48337677121162415, 0.32187944650650024, 0.4513326585292816, 0.19981630146503448, -0.31779277324676514, 0.3361601233482361, -0.1389099657535553, -0.8369040489196777, -0.15189260244369507, 0.10253333300352097, -0.0740903839468956, -0.27581268548965454, -0.4292645752429962, -0.8724105358123779, -0.22315794229507446, -0.6436740756034851, 0.35335779190063477, -0.46257510781288147, -0.07001976668834686, 0.10224061459302902, 0.2373790591955185, 0.2444228231906891, 0.7936044931411743, -0.8504104614257812, 0.11378120630979538, 0.6624488234519958, 0.5095232129096985, 0.10030348598957062, -0.050657592713832855, -0.7288503646850586, -0.09115902334451675, -0.43125760555267334, 0.7487761378288269, -0.8127583861351013, 0.003441259963437915, -0.015274026431143284, -0.18204733729362488, 0.11831381171941757, -0.4422757625579834, 0.27715635299682617, -0.6494045257568359, 0.23407143354415894, -0.29048219323158264, -0.3942949175834656, -0.10522834211587906, 0.5177143216133118, -0.5436994433403015, 0.9619685411453247, -0.043094784021377563, -0.399421751499176, 0.07849062979221344, -0.4108947515487671, -0.2965388894081116, 0.05646564066410065, -0.3472822308540344, -0.43869075179100037, 0.04074793681502342, 0.7998260855674744, 0.2489338517189026, -0.604233980178833, 0.22056449949741364, -0.4425637125968933, -0.08141902089118958, 0.4369697868824005, -0.5963668823242188, 0.7319088578224182, 0.32310160994529724, 0.15158149600028992, 0.06148919463157654, -0.9377297759056091, 0.09072805941104889, 0.29627081751823425, -0.21117886900901794, -0.2713353931903839, -0.3734886944293976, 0.048805322498083115, 0.20437920093536377, 0.24133245646953583, -0.4199538826942444, 0.3667805790901184, -0.080290786921978, 0.26984670758247375, 0.9521427750587463, -0.32313743233680725, 0.29471707344055176, -0.40927359461784363, 0.8042612075805664, -0.05539395287632942, 0.18724502623081207, -0.615117073059082, -0.8269268274307251, -0.7396249175071716, -0.6517012715339661, 0.43926945328712463, 0.5892317891120911, -1.036963701248169, -0.30851849913597107, -0.2036728709936142, -0.3148212730884552, -0.6576680541038513, 0.42748379707336426, 0.4020184874534607, 0.48811259865760803, 0.31999900937080383, 0.0921487957239151, -0.4993462860584259, -0.9965333342552185, -0.12066101282835007, 0.2092895805835724, -0.09999295324087143, 0.36694255471229553, 0.6190988421440125, -0.05096130445599556, 0.7104108333587646, -0.5757445096969604, -0.22808967530727386, 0.0038719463627785444, -0.09021776169538498, 0.09626196324825287, 0.27250662446022034, 0.44973674416542053, -0.8484678268432617, -0.37286049127578735, -0.12064836919307709, -0.8862001299858093, -0.1123744323849678, -0.11203177273273468, -0.3242269456386566, -0.018471376970410347, 0.23791734874248505, -0.6386892795562744, 0.3896830081939697, 0.5830321907997131, -0.22807754576206207, 0.6282735466957092, -0.029854847118258476, 0.2774905562400818, -1.0911248922348022, -0.21882499754428864, 0.09468071162700653, -0.31991055607795715, -0.3021080493927002, 0.2040402889251709, 0.11634010821580887, -0.12229079753160477, -0.4072535037994385, 0.38340070843696594, -0.37228962779045105, -0.21480529010295868, 0.11075574159622192, 0.08899910748004913, 0.1395529806613922, 0.5854735970497131, -0.404706746339798, 0.8971764445304871, 0.7214192748069763, -0.26179298758506775, 0.8418355584144592, 0.258581280708313, -0.5376496911048889, 0.7745625972747803, -0.544571578502655, 0.05986515060067177, -0.17270003259181976, 0.12317361682653427, -1.116347074508667, -0.40319862961769104, 0.019853776320815086, -0.45304250717163086, 0.12450907379388809, -0.3458433747291565, -0.753873884677887, 0.07771749794483185, -0.24688145518302917, 0.9161741137504578, 0.5083342790603638, -0.4738290011882782, 0.7411437630653381, 0.34561777114868164, -0.30690810084342957, -0.6405928134918213, -0.6527172923088074, 0.07066812366247177, -0.02205612137913704, -0.8967341184616089, -0.005955155938863754, -0.34516751766204834, -0.635986328125, -0.11101450026035309, 0.014132514595985413, -0.09607861191034317, -0.21045927703380585, 0.21214787662029266, 0.6744551658630371, -0.380840003490448, 0.5077798962593079, 0.30470389127731323, -0.17342153191566467, 0.08163421601057053, -0.24397443234920502, 0.4201526343822479, -0.4577398896217346, -0.6403922438621521, -0.17048989236354828, 0.19398976862430573, 0.7079662680625916, -0.514472484588623, 0.5088896751403809, 0.4266209304332733, -0.4347527325153351, 0.03507663309574127, -0.5867671966552734, 0.0209803506731987, -0.46510735154151917, 0.11142748594284058, -0.5438801050186157, -0.8207636475563049, 0.36725008487701416, -0.08831296861171722, 0.29529696702957153, 0.2953159809112549, 0.8398764729499817, -0.24224814772605896, 0.8636078834533691, 0.16801460087299347, 0.30970498919487, 0.16681155562400818, -0.1807066649198532, -0.20613901317119598, -0.512246310710907, -0.43019893765449524, -0.10453726351261139, -0.42938512563705444, -0.2834784686565399, -0.8152558207511902, 0.4701656401157379, -0.3667600750923157, -0.10192421078681946, -0.11775477230548859, -0.17584189772605896, 0.7970216870307922, 0.3501439392566681, 0.12816773355007172, 0.4674034118652344, 0.4577285349369049, -0.3145986497402191, -0.43716511130332947, -0.4256933629512787, -0.11842510104179382, 1.2591776847839355, 0.2635725140571594, 1.025887131690979, 0.28012561798095703, 0.3813951313495636, 0.06519044190645218, 0.30105286836624146, -0.7128309011459351, 0.5725307464599609, 0.10215726494789124, -0.6324807405471802, -0.20447243750095367, -0.6264809966087341, -0.8498885631561279, 0.488425076007843, -0.31484606862068176, -0.39342373609542847, -0.12954488396644592, 0.10863011330366135, -0.15202562510967255, 0.24379920959472656, -0.6454133987426758, 0.6495116949081421, -0.3471745550632477, -0.696027398109436, -0.25890928506851196, -0.40419983863830566, 0.6913817524909973, -0.14610275626182556, 0.6585240364074707, -0.37941157817840576, -0.07939571142196655, 0.4421226382255554, -0.39322134852409363, 0.7784932255744934, 0.019823096692562103, -0.5211426615715027, 0.22894051671028137, 0.35473501682281494, 0.2986857295036316, 0.28692713379859924, 0.27952900528907776, 0.10194770991802216, -0.021731460466980934, -0.5398871302604675, -0.882326602935791, 0.8511183261871338, -0.6138759255409241, -0.49850520491600037, -0.22715485095977783, -1.0869334936141968, -0.43344154953956604, 0.04030938819050789, -0.1733078807592392, 0.7382592558860779, 0.422306090593338, 0.43448784947395325, 0.7414547801017761, -0.15070854127407074, 0.14931465685367584, 0.09638502448797226, -0.6437767148017883, -0.8097074031829834, 0.9682360887527466, -0.08309603482484818, 0.32711556553840637, 0.5621543526649475, 0.1307600736618042, -0.3334610164165497, -0.0891701877117157, -0.6129544973373413, 0.3382723927497864, -1.0935380458831787, -0.4654347598552704, -0.14306733012199402, 0.028562653809785843, -0.21983246505260468, -0.047261543571949005, -0.48991361260414124, -0.7501620650291443, -0.016544118523597717, 0.110710009932518, 0.6143059730529785, 0.4236989915370941, 0.10714250802993774, -0.1327848583459854, -0.5641623139381409, 0.5041207075119019, 0.6550954580307007, 0.2962072193622589, -0.27432477474212646, -0.5017609000205994, -0.03454422205686569, 0.15405964851379395, -0.14384719729423523, -0.647031307220459, 0.27815672755241394, 0.08944125473499298, 0.2200167179107666, 0.15773507952690125, -0.27908211946487427, 0.9143863320350647, -0.49231505393981934, 0.43045851588249207, 0.45418718457221985, -0.8533434867858887, 0.5676117539405823, -0.38683661818504333, 0.4341421127319336, 0.25800421833992004, 0.2316405475139618, -0.12922529876232147, -0.0024694809690117836, -0.27826905250549316, -0.5169103145599365, 0.26250532269477844, 0.553684413433075, 0.04838038980960846, 0.46563172340393066, 0.11681409180164337, 0.2794612646102905, 0.2631121575832367, -0.6135778427124023, -0.27444714307785034, -0.3254474997520447, -0.3948519229888916, -0.01632794179022312, -0.02741861715912819, -0.41230514645576477, -0.6479882597923279, 0.37560558319091797, -0.33513373136520386, 0.09862125664949417, -0.28211554884910583, -0.37046340107917786, -0.03331342712044716, 0.35536545515060425, 0.9227944612503052, 0.9784455299377441, 0.05002831667661667, 0.31344372034072876, 0.14353018999099731, -0.4378148913383484, 0.23723997175693512, 0.21850715577602386, 0.020407164469361305, -0.10513979196548462, 0.4352794885635376, 0.7233567833900452, 0.37815338373184204, -0.9849795699119568, 0.4732334017753601, -0.1640806496143341, -0.537782609462738, -0.2082577347755432, -0.17545989155769348, 0.15688203275203705, 0.39143842458724976, 0.4047917127609253, 0.209627166390419, -0.24523264169692993, -0.2609020471572876, 0.10413280874490738, 0.46352577209472656, 0.17268599569797516, -0.23952794075012207, 0.579089343547821, -0.02764163911342621, -0.12044540792703629, 0.6745081543922424, 0.06438757479190826, -0.12595920264720917, 0.5676559209823608, 0.46956074237823486, 0.33092591166496277, -0.020365850999951363, 0.2326764315366745, 0.2722492814064026, 0.3696431815624237, 0.3072599172592163, 0.41463449597358704, -0.13930295407772064, -0.5817356705665588, -0.7652921676635742, -0.5444582104682922, -0.3790806829929352, 0.019247500225901604, -0.48785117268562317, 0.28631120920181274, -0.5285226106643677, 0.10010553896427155, 0.017731765285134315, -0.2953876256942749, -0.7963996529579163, 0.10296996682882309, 0.3240581452846527, 0.6711806654930115, -0.6167656183242798, 0.7210153341293335, 0.6661927103996277, -0.4989604651927948, -0.4681459963321686, -0.387322336435318, -0.04224170744419098, -1.3086808919906616, 0.8408019542694092, 0.07970944792032242, -0.11551564186811447, -0.18272873759269714, -0.8670440316200256, -0.8284912109375, 1.135346531867981, 0.8132923245429993, -0.7289648056030273, 0.0027999591547995806, 0.2749323546886444, 0.3089445233345032, -0.3300505578517914, 0.26909229159355164, 0.19130250811576843, 0.4499519467353821, 0.609086275100708, -0.8763909935951233, -0.12375568598508835, -0.40609607100486755, -0.026989765465259552, 0.2201765775680542, -0.48625174164772034, 0.8726353049278259, -0.4134743809700012, 0.19233308732509613, -0.016286753118038177, 0.625264048576355, 0.699822187423706, 0.4585234224796295, 0.42760276794433594, 0.766187310218811, 0.6819621920585632, -0.08371100574731827, 0.8458953499794006, 0.02881430648267269, 0.33066239953041077, 0.7676423192024231, -0.013929689303040504, 0.7694135904312134, 0.5838332176208496, -0.3131871819496155, 0.6557729840278625, 0.42688292264938354, -0.05397350341081619, 0.38220834732055664, 0.1976788192987442, -0.26615551114082336, -0.8808438777923584, 0.10757248848676682, -0.4061751067638397, 0.504595160484314, 0.6000295281410217, -0.10339075326919556, -0.42035719752311707, 0.09437503665685654, -0.12704619765281677, 0.04740578308701515, -0.2787894010543823, 0.29179826378822327, 0.06570687144994736, -0.5351659059524536, 0.8213327527046204, -0.12089043110609055, 0.3362332880496979, -0.6184532046318054, -0.36891448497772217, -0.39795175194740295, 0.1758839637041092, -0.19807875156402588, -0.8415278196334839, -0.0511811189353466, 0.06767956167459488, -0.012140010483562946, -0.1955077052116394, 0.5791600942611694, -0.45770421624183655, -0.9233847856521606, -0.2540007531642914, 0.5970365405082703, 0.05620608106255531, 0.06290645897388458, -0.7699780464172363, 0.3374820947647095, -0.09243802726268768, 0.0145677225664258, 0.46272745728492737, 0.5380958914756775, -0.1342848390340805, 0.9602414965629578, 0.9883544445037842, -0.28902682662010193, 0.15857891738414764, 0.21898354589939117, 1.1661014556884766, -0.32956984639167786, -0.20752884447574615, -0.897581934928894, 0.5914394855499268, 0.07291607558727264, -0.35408398509025574, 0.8351033329963684, 0.6008703112602234, 0.6298487186431885, -0.21717631816864014, 0.5539742708206177, 0.3313038945198059, 0.07784191519021988, -0.7549430727958679, 0.21617716550827026, -0.8794260025024414, 0.42273083329200745, -0.2526499927043915, -0.7928623557090759, -0.5979092121124268, 0.6758009195327759, -0.330608993768692, 0.010723245330154896, 0.5355021357536316, 0.7005677819252014, -0.30765488743782043, -0.07404866069555283, 0.43027639389038086, -0.03697342425584793, 0.35961106419563293, 0.7794286012649536, 0.9763650298118591, -0.47896283864974976, 0.9262422919273376, -0.15489274263381958, -0.34729549288749695, -0.030976613983511925, -0.7956580519676208, -0.9439863562583923, -0.4804146885871887, -0.35881879925727844, -0.3041278123855591, -0.18640537559986115, 0.8941386342048645, 0.4630204439163208, -0.6597617268562317, -0.10570812225341797, 0.15127204358577728, 0.28032103180885315, -0.016856178641319275, -0.16856598854064941, 0.08139235526323318, -0.39132359623908997, -0.5729697346687317, 0.31877079606056213, 0.4765300452709198, -0.19658908247947693, -0.5326680541038513, -0.06419619172811508, -0.2200823724269867, 0.09251004457473755, 0.7786144018173218, 0.17070722579956055, -0.7747673988342285, 0.25904181599617004, 0.2487064003944397, 0.10483945906162262, 0.2327202707529068, 0.7906890511512756, -0.7161715030670166, 0.6047399640083313, 0.3660687208175659, 0.8552959561347961, 0.6717278361320496, -0.2878369390964508, 0.33080223202705383, -0.794214129447937, 0.22579830884933472, 0.23678617179393768, 0.5389016270637512, 0.3836219012737274, -0.01182776503264904, 0.3110198974609375, 0.52573162317276, -0.38532528281211853, -0.8863232731819153, 0.37859344482421875, -0.8548716902732849, -0.13370220363140106, 1.187848448753357, -0.026660585775971413, -0.25530537962913513, 0.1868307739496231, -0.27730345726013184, -0.28919553756713867, -0.35769015550613403, 0.5219272375106812, 0.8040582537651062, -0.05846242606639862, -0.6072588562965393, -0.6092843413352966, 0.11459757387638092, 0.43852633237838745, -1.0876402854919434, -0.06528265029191971, 0.75026935338974, 0.25334247946739197, 0.13756710290908813, 0.32681289315223694, -0.24941672384738922, 0.4005982577800751, 0.12283148616552353, -0.1534252166748047, -0.36965030431747437, -0.38544750213623047, -0.08501279354095459, 0.2583561837673187, -0.20795929431915283, -0.28007930517196655 ]
http://arxiv.org/abs/2406.17287v1
http://arxiv.org/pdf/2406.17287v1
Predicting the Big Five Personality Traits in Chinese Counselling Dialogues Using Large Language Models
2024-06-25T05:30:55
2024-06-25T05:30:55
Yang Yan, Lizhi Ma, Anqi Li, Jingsong Ma, Zhenzhong Lan
cs.CL
cs.CL, cs.AI
Accurate assessment of personality traits is crucial for effective psycho-counseling, yet traditional methods like self-report questionnaires are time-consuming and biased. This study exams whether Large Language Models (LLMs) can predict the Big Five personality traits directly from counseling dialogues and introduces an innovative framework to perform the task. Our framework applies role-play and questionnaire-based prompting to condition LLMs on counseling sessions, simulating client responses to the Big Five Inventory. We evaluated our framework on 853 real-world counseling sessions, finding a significant correlation between LLM-predicted and actual Big Five traits, proving the validity of framework. Moreover, ablation studies highlight the importance of role-play simulations and task simplification via questionnaires in enhancing prediction accuracy. Meanwhile, our fine-tuned Llama3-8B model, utilizing Direct Preference Optimization with Supervised Fine-Tuning, achieves a 130.95\% improvement, surpassing the state-of-the-art Qwen1.5-110B by 36.94\% in personality prediction validity. In conclusion, LLMs can predict personality based on counseling dialogues. Our code and model are publicly available at \url{https://github.com/kuri-leo/BigFive-LLM-Predictor}, providing a valuable tool for future research in computational psychometrics.
[ -0.3629539906978607, -0.6000155806541443, 0.7008504867553711, 0.6568459272384644, -0.14119186997413635, -0.11838272213935852, -0.5096471905708313, -0.5927566885948181, 0.11990512907505035, 0.5035409927368164, -0.6697844862937927, -0.5141997933387756, -0.49770230054855347, 0.21368376910686493, 0.057678479701280594, 0.7750695943832397, 0.3400461673736572, 0.7908268570899963, -0.0010878341272473335, 0.14367014169692993, -0.6936332583427429, -0.533183217048645, -0.7947000861167908, -0.4808201193809509, 0.6759235858917236, 0.3794066607952118, 0.4651840031147003, 0.3893439769744873, 0.4106636941432953, 0.28821516036987305, -0.36203891038894653, 0.014782586134970188, -0.4760074317455292, -0.01007948350161314, 0.07363370060920715, -0.36618807911872864, -0.7918156385421753, 0.13134026527404785, 0.48493367433547974, 0.4946649670600891, -0.23529744148254395, 0.26190847158432007, -0.00950517226010561, 0.501160204410553, -0.29089459776878357, 0.3708721697330475, -0.5869240760803223, 0.1643197238445282, -0.004317163024097681, 0.07023012638092041, -0.4527333676815033, -0.36299267411231995, 0.15399396419525146, -0.19056642055511475, 0.12066543847322464, 0.09227155148983002, 0.4729526937007904, 0.1321922391653061, -0.6821800470352173, 0.06798568367958069, -1.0234366655349731, 0.8203909993171692, -0.8727920651435852, 0.09854035824537277, 0.6804463863372803, 0.6165863871574402, -0.2751249372959137, -0.2999735474586487, -0.5298155546188354, -0.42251595854759216, -0.08612329512834549, 0.18238072097301483, 0.26860660314559937, 0.26213857531547546, 0.6219395995140076, 0.5951154828071594, -0.4270571768283844, 0.3732106685638428, -0.41445860266685486, -0.09015680104494095, 1.050947904586792, 0.3497348427772522, 0.06095241382718086, 0.12465256452560425, -0.1512930542230606, 0.14252160489559174, -0.7899394631385803, 0.05116286873817444, 0.308784157037735, 0.0670720636844635, -0.06731458753347397, 0.21656692028045654, -0.02277420088648796, 0.3630937337875366, 0.49452075362205505, -0.6906047463417053, -0.0005304612568579614, -0.1520063281059265, -0.12317048758268356, 0.2758801579475403, 0.7298534512519836, 0.5372530221939087, 0.4218583405017853, 0.12495468556880951, 0.1448121964931488, -0.2237945944070816, 0.10222544521093369, -1.060683012008667, -0.222556933760643, 0.5941727161407471, -0.38754814863204956, -0.36536088585853577, -0.14975081384181976, -0.7163857221603394, -0.774455726146698, -0.11054164171218872, -0.20283940434455872, -0.5370340347290039, -0.3023017644882202, -0.04390193894505501, 0.2755487263202667, 0.4287741184234619, 0.4305993914604187, -0.9981269240379333, -0.03219860792160034, 0.6396819353103638, 0.6537060141563416, -0.1880546659231186, -0.3563218116760254, -0.6022866368293762, 0.09460758417844772, -0.4303324818611145, 0.4684140980243683, -0.5629091858863831, -0.6217209696769714, 0.08087442070245743, -0.013386772014200687, 0.26886871457099915, -0.43319171667099, 0.7724639773368835, -0.12903054058551788, 0.09946327656507492, -0.5534222722053528, -0.5431569218635559, 0.03429616242647171, 0.41954129934310913, -0.6410104036331177, 0.6474565267562866, 0.0073404256254434586, -0.5607852339744568, 0.5102235674858093, -0.5647902488708496, -0.23861558735370636, 0.06505948305130005, 0.06758712977170944, -0.6540902853012085, -0.16279587149620056, 0.28188371658325195, 0.8104897737503052, -0.2701832056045532, 0.5598763227462769, -0.8459827303886414, -0.586482048034668, 0.7235246300697327, -0.0719900131225586, 0.508230984210968, 0.05262827128171921, -0.1230400949716568, 0.27979835867881775, -0.5640912055969238, -0.03634817525744438, 0.07014293223619461, -0.24057993292808533, -0.012383092194795609, -0.009821838699281216, -0.13440141081809998, 0.30455806851387024, 0.22709350287914276, -0.8449267148971558, 0.4974748492240906, -0.41665372252464294, 0.19445189833641052, 0.7364682555198669, -0.009707302786409855, 0.03703834116458893, -0.21236760914325714, 0.5677692890167236, 0.14115753769874573, 0.13848631083965302, -0.052388351410627365, -0.37521353363990784, -0.41979914903640747, -0.5130338072776794, 0.25195637345314026, 0.28821760416030884, -0.24257387220859528, 0.8236549496650696, -0.12602172791957855, -0.9579216241836548, -0.23812223970890045, 0.2155011147260666, 0.4891142249107361, 0.03969649598002434, 0.23996922373771667, -0.08932574093341827, -0.5868726372718811, -0.5875678658485413, -0.1799609214067459, -0.10281204432249069, -0.05335680767893791, 0.3009299635887146, 0.45296749472618103, -0.04065147414803505, 0.5745841264724731, -0.6497848033905029, -0.2673485577106476, -0.652064859867096, -0.13132871687412262, 0.32429128885269165, 0.3406994640827179, 0.7896884679794312, -0.7481478452682495, -0.600380003452301, -0.14615079760551453, -0.37751907110214233, 0.0037829570937901735, 0.1570458561182022, 0.1063629686832428, 0.11802651733160019, 0.32828080654144287, -0.3870234489440918, 0.27665072679519653, 0.7018981575965881, -0.4510941505432129, 0.9160678386688232, -0.07335160672664642, -0.23334822058677673, -1.0297478437423706, 0.17705367505550385, 0.12903079390525818, 0.09819140285253525, -0.5434087514877319, -0.18192245066165924, -0.08276769518852234, -0.0985453873872757, -0.07361140102148056, 0.771468997001648, -0.21141789853572845, -0.1839393526315689, -0.11015300452709198, -0.12703804671764374, -0.26582634449005127, 0.7203163504600525, 0.0031658150255680084, 0.6821937561035156, 0.38412612676620483, -0.4948253631591797, 0.6692667007446289, 0.37033817172050476, -0.3485296368598938, 0.6901195645332336, -0.685016393661499, 0.12116429954767227, 0.11251114308834076, 0.7624222040176392, -1.0745209455490112, -0.5015837550163269, -0.1402871161699295, -0.40422362089157104, 0.12143690884113312, -0.09207754582166672, -0.25434327125549316, -0.5045592188835144, -0.33148157596588135, -0.08404182642698288, 0.44074222445487976, -0.4213767647743225, 0.4876234233379364, -0.09134840965270996, -0.4090147018432617, -0.5908186435699463, -0.35610154271125793, -0.14436520636081696, -0.40504589676856995, -0.36179718375205994, 0.3260895609855652, -0.436549574136734, -0.05463168025016785, -0.5256062746047974, 0.1404818445444107, 0.029321972280740738, 0.22935333847999573, 0.3753298819065094, 0.5603929758071899, -0.0580507330596447, 0.12121100723743439, -0.06974782794713974, -0.18471239507198334, 0.1597585678100586, -0.04117123782634735, 0.5497213006019592, -0.2700589895248413, -0.39616766571998596, -0.2684018313884735, 0.03963936120271683, 0.8002489805221558, -0.4656117856502533, 0.7544978260993958, 1.0089118480682373, 0.010288641788065434, -0.0485832579433918, -0.6872269511222839, -0.23824842274188995, -0.43745890259742737, 0.49949127435684204, -0.3082462549209595, -0.8729838728904724, 0.6729400753974915, -0.021485362201929092, 0.18425258994102478, 0.04796295613050461, 0.7415632009506226, 0.022252732887864113, 1.5639971494674683, 0.6556470990180969, -0.24279919266700745, 0.5333296656608582, -0.16423571109771729, 0.47542425990104675, -0.9290831089019775, 0.05105595290660858, -0.19144216179847717, -0.46529972553253174, -0.7812780737876892, 0.11602125316858292, 0.4761022627353668, -0.09500949084758759, -0.5656241774559021, -0.28107181191444397, -0.248553067445755, 0.327412873506546, 0.2798006236553192, -0.09847941994667053, 0.33710452914237976, -0.27664491534233093, -0.22447535395622253, -0.21064522862434387, -0.06260249763727188, -0.39354467391967773, 1.122357726097107, 0.4834405779838562, 0.53593909740448, 0.21259890496730804, 0.41797924041748047, -0.03864182531833649, 0.5238918662071228, -1.1461608409881592, 0.6483944654464722, -0.02642028033733368, -0.6837171912193298, -0.5211359858512878, -0.23840825259685516, -0.6726242899894714, 0.22060848772525787, -0.28527340292930603, -0.8968931436538696, -0.06222290173172951, 0.2534390091896057, -0.42289549112319946, 0.0652298554778099, -0.5124044418334961, 0.8061497807502747, -0.29065200686454773, -0.3134556710720062, -0.22395794093608856, -0.5863953828811646, 0.600567638874054, -0.1528877466917038, -0.18833358585834503, -0.26047283411026, 0.35677990317344666, 0.363155722618103, -0.17449341714382172, 0.7978976964950562, -0.251426100730896, -0.21577531099319458, -0.22121313214302063, 0.21150678396224976, 0.41026851534843445, -0.0007553951581940055, -0.40063586831092834, -0.031992800533771515, 0.4604025185108185, -0.3609444797039032, -0.9161175489425659, 0.5967371463775635, -0.982128918170929, -0.5172571539878845, -0.31361737847328186, -0.2867415249347687, -0.6793597340583801, 0.20958112180233002, 0.12368886172771454, 0.26650846004486084, -0.5472964644432068, 0.2523631751537323, 0.34847480058670044, -0.24755799770355225, 0.23072300851345062, 0.6459866762161255, -0.6312979459762573, -0.32608264684677124, 0.8656007647514343, 0.047728195786476135, 0.23471754789352417, -0.16967281699180603, 0.5254144668579102, -0.13021333515644073, -0.48462602496147156, -0.18295593559741974, 0.5067209601402283, -0.4398844838142395, 0.06208007410168648, -0.28066810965538025, -0.33217981457710266, -0.6104230880737305, -0.03838863596320152, -0.24811965227127075, 0.17789702117443085, 0.2278738021850586, -0.2852141559123993, 0.21583212912082672, 0.5738815069198608, 0.28352585434913635, 0.3709769546985626, -0.7514771223068237, -0.12022958695888519, 0.3074836730957031, 0.3865705728530884, 0.276139497756958, -0.30925703048706055, -0.22759968042373657, 0.07775817066431046, -0.5946300029754639, -0.5567948818206787, 0.636458694934845, 0.04133369028568268, 0.27804985642433167, 0.9477919340133667, -0.0035271723754704, 0.5750475525856018, -0.08898912370204926, 0.9742637276649475, 0.0665370374917984, -0.6427229642868042, 0.28736740350723267, -0.6121162176132202, 0.16715788841247559, 0.3271065652370453, 0.39601778984069824, -0.7688300013542175, -0.16758908331394196, -0.6680095195770264, -0.41638338565826416, 0.7399227023124695, -0.12907782196998596, 0.017797064036130905, 0.2681882083415985, 0.3610653877258301, -0.061060626059770584, 0.3139553368091583, -0.7193230390548706, -0.06795869022607803, -0.12537482380867004, -0.22822752594947815, -0.272009938955307, -0.44794976711273193, -0.10989897698163986, -0.46312665939331055, 0.7218695282936096, -0.48919421434402466, 0.3924538195133209, 0.018159348517656326, 0.47054243087768555, -0.21889878809452057, 0.36885419487953186, 0.6095777153968811, 0.6486309170722961, -0.440860778093338, -0.29953956604003906, 0.48693355917930603, -0.620622992515564, -0.003398015396669507, -0.14697465300559998, 0.34673061966896057, -0.26053643226623535, 0.44392523169517517, 0.8690645098686218, -0.04758860170841217, -0.6536834836006165, 0.7226030230522156, -0.12380704283714294, -0.2496311217546463, -1.0499006509780884, 0.23000960052013397, 0.2564693093299866, 0.2315351366996765, 0.025061363354325294, -0.5093095302581787, -0.0023474234621971846, -0.6340736150741577, -0.4385233521461487, 0.30442339181900024, -0.5209782123565674, -0.3821237087249756, 0.23917345702648163, 0.36441418528556824, -0.10408218950033188, 0.6196994185447693, -0.12060124427080154, -0.4856540560722351, 0.6193417906761169, 0.5864107608795166, 0.8117546439170837, -0.5462801456451416, 0.15201127529144287, 0.4543050229549408, -0.3814201056957245, -0.13055002689361572, 0.31327930092811584, 0.1230904683470726, -0.9296137094497681, -0.6825522184371948, -0.8119007349014282, -0.6940650939941406, 0.49959796667099, -0.5544975996017456, 0.4394044280052185, -0.6933866739273071, -0.086293064057827, -0.07568485289812088, 0.4952888488769531, -0.3177933990955353, 0.24917784333229065, 0.4369000792503357, 0.5913205146789551, -0.6447324156761169, 0.9394382238388062, 0.802802324295044, -0.21556183695793152, -1.1166493892669678, 0.023420967161655426, 0.27099549770355225, -0.712284505367279, 0.6505903005599976, 0.2910173237323761, 0.010020134970545769, -0.07541994005441666, -0.7806150913238525, -0.771668016910553, 1.1723335981369019, 0.4182637929916382, -0.34571442008018494, -0.29653412103652954, 0.03775494545698166, 0.6907406449317932, -0.45027869939804077, 0.5475581288337708, 0.7105256915092468, 0.7284206748008728, 0.6387638449668884, -1.0980545282363892, 0.005157128907740116, -0.3084668815135956, 0.17771083116531372, -0.07605857402086258, -0.8495926260948181, 0.6281036734580994, -0.33236730098724365, 0.23487748205661774, 0.29839903116226196, 0.5953556895256042, 0.4317466616630554, 0.09315931051969528, 0.479657918214798, 0.09471409767866135, 0.7871356010437012, 0.052009791135787964, 0.8395843505859375, -0.6566367149353027, 0.22718343138694763, 0.8608167767524719, -0.5178012251853943, 0.6595141291618347, 0.09901735931634903, -0.17716912925243378, 0.5947157144546509, 0.6112025380134583, -0.44569480419158936, -0.031286776065826416, 0.18536338210105896, -0.051797982305288315, -0.42186859250068665, -0.2370869517326355, -0.14703139662742615, 0.8780409693717957, 0.5147060751914978, -0.3621276319026947, 0.3651482164859772, -0.021384479478001595, 0.32400181889533997, -0.22338399291038513, -0.2269277125597, 0.6307641863822937, 0.14806808531284332, -0.8588044047355652, 0.44548842310905457, 0.09832689166069031, 0.6170447468757629, -0.6485575437545776, -0.18686333298683167, -0.3130548894405365, 0.44079241156578064, -0.3024453818798065, -0.7874401211738586, -0.004231212195008993, -0.2374589443206787, 0.14752197265625, -0.2752731740474701, 0.7354030609130859, -0.4884243309497833, -0.36426958441734314, 0.10936097055673599, 0.36938995122909546, 0.09717603027820587, -0.1351911425590515, -0.45204368233680725, -0.31586259603500366, -0.16021201014518738, -0.29617083072662354, 0.6350866556167603, 0.23632575571537018, -0.09144613146781921, 0.8633474111557007, 0.7351600527763367, 0.34804078936576843, -0.552375078201294, 0.00847300048917532, 0.6459815502166748, -0.9296372532844543, -0.7152905464172363, -0.8901371359825134, 0.2786272168159485, -0.246336430311203, -0.49647700786590576, 0.6409654021263123, 0.11073791235685349, 0.4775322675704956, 0.03402040898799896, 0.7264921069145203, 0.17988057434558868, 0.7510347962379456, -0.45645397901535034, 0.6627447009086609, -0.26028549671173096, 0.004523386247456074, -0.40990549325942993, -0.9686547517776489, -0.0014752313727512956, 0.4526124596595764, -0.8178597688674927, 0.2613581418991089, 0.6517630815505981, 0.7323449850082397, 0.17035090923309326, 0.11694049835205078, 0.5648753046989441, 0.5559884309768677, 0.4819808602333069, 0.5292372703552246, 0.672360360622406, 0.24612514674663544, 0.38399142026901245, -0.22861140966415405, 0.04705129191279411, -0.565850019454956, -0.6226602792739868, -1.0708911418914795, -0.4412901997566223, 0.04590144380927086, -0.2651185095310211, -0.4249817132949829, 1.0511448383331299, 0.48932042717933655, -0.5695106983184814, -0.31732162833213806, 0.34420400857925415, 0.07391838729381561, -0.3783569931983948, -0.21250396966934204, 0.16919293999671936, 0.08350764214992523, -0.6942417025566101, -0.029365232214331627, 0.1121380478143692, -0.060815420001745224, -0.8188567161560059, -0.0174428541213274, 0.20292514562606812, -0.04008110240101814, 0.6146190166473389, 0.002597598824650049, -0.8556003570556641, -0.5053867697715759, 0.0817924365401268, -0.1898948699235916, 0.06103580445051193, 0.6795544624328613, -0.2887430787086487, 0.1601414978504181, 0.09563512355089188, 0.23191247880458832, 0.4110584259033203, 0.0501934252679348, 0.9287534952163696, -0.3903491497039795, 0.011580085381865501, 0.17790505290031433, 0.45100224018096924, 0.28502893447875977, -0.622006356716156, 0.4811677634716034, -0.02741456963121891, -0.6481801271438599, -0.5872384309768677, 0.295486718416214, -0.9572635889053345, -0.04860465228557587, 1.2634661197662354, -0.4951895773410797, -0.2308194935321808, -0.07313764840364456, -0.7011940479278564, 0.08408913016319275, -0.3691396713256836, 0.8610466718673706, 0.8691865801811218, -0.31800445914268494, -0.20380666851997375, -0.4201350212097168, 0.634564995765686, 0.5005570650100708, -0.47160056233406067, 0.19181367754936218, 0.6079286336898804, 0.3060277998447418, 0.1364661157131195, 0.4289146065711975, 0.047221601009368896, 0.24906384944915771, -0.4007616341114044, 0.20786258578300476, -0.19145725667476654, 0.0011964502045884728, -0.16534452140331268, -0.12825140357017517, 0.39805668592453003, 0.4320560693740845 ]
http://arxiv.org/abs/2406.17283v1
http://arxiv.org/pdf/2406.17283v1
A Recursive Encoding for Cuneiform Signs
2024-06-25T05:18:12
2024-06-25T05:18:12
Daniel M. Stelzer
cs.CL
cs.CL
One of the most significant problems in cuneiform pedagogy is the process of looking up unknown signs, which often involves a tedious page-by-page search through a sign list. This paper proposes a new "recursive encoding" for signs, which represents the arrangement of strokes in a way a computer can process. A series of new algorithms then offers students a new way to look up signs by any distinctive component, as well as providing new ways to render signs and tablets electronically.
[ -0.2514273226261139, -0.274883896112442, 0.679715096950531, 0.030158178880810738, -0.12401074171066284, 0.4395830035209656, 0.08025673776865005, -0.2763133943080902, 0.2746502161026001, 0.2358497828245163, -0.9437735676765442, -0.44681206345558167, -1.0225468873977661, 0.3393046259880066, -0.37884441018104553, 0.342187762260437, -0.2571675777435303, -0.2564805746078491, 0.47898799180984497, -0.01669405773282051, -0.2053728997707367, -0.6078242659568787, -0.8698686957359314, -0.44229161739349365, 0.5378650426864624, 0.4429098963737488, 0.8751868605613708, 0.5831050276756287, 0.4598662853240967, 0.3592693507671356, 0.00902711320668459, 0.3424776792526245, -0.29534175992012024, 0.21853134036064148, 0.00780911510810256, -0.3276130259037018, -0.054198816418647766, 0.22270266711711884, 0.5964610576629639, 0.9768936634063721, 0.03392760828137398, -0.03296634927392006, -0.4646564722061157, 0.8843885064125061, -0.5324190855026245, 0.1887451708316803, -0.18963447213172913, 0.24833820760250092, -0.26519450545310974, -0.36247962713241577, -0.7127594351768494, -0.6019837260246277, -0.0999513491988182, -0.8166248798370361, 0.22317013144493103, 0.07453170418739319, 0.6543878316879272, -0.20795731246471405, -0.20493793487548828, -0.5456253290176392, -0.5831663012504578, 0.5738831162452698, -0.33581215143203735, 0.8657360672950745, 0.17396433651447296, 0.25739938020706177, -0.8026484251022339, -0.968242883682251, -0.6082198023796082, 0.024926744401454926, -0.036280762404203415, -0.03389755263924599, -0.15899154543876648, 0.12307044118642807, 0.5203490257263184, 0.4942888617515564, -0.39874163269996643, -0.05091947689652443, -0.42104771733283997, -0.18078410625457764, 0.5704069137573242, 0.38032329082489014, 0.9085419774055481, 0.159733384847641, 0.07353539019823074, -0.2541961967945099, -0.7544675469398499, 0.3526322841644287, 0.4961550235748291, 0.27265429496765137, 0.13602980971336365, 0.6206639409065247, -0.1833709180355072, 1.000388741493225, 0.675935685634613, 0.011899415403604507, 0.19389060139656067, 0.07351276278495789, -0.0023151771165430546, 0.15497493743896484, 0.39162227511405945, 0.37733137607574463, 0.33546847105026245, -0.03442518785595894, -0.2436407506465912, 0.035039447247982025, 0.053271662443876266, -0.6183095574378967, -0.664962887763977, 0.11084210127592087, -0.5600608587265015, -0.24121159315109253, 0.1164545789361, -0.1727534979581833, -0.7610098123550415, -0.23143252730369568, 0.43459445238113403, -0.48736661672592163, -0.2819814085960388, 0.4268183708190918, -0.3513565957546234, 0.1784895807504654, 0.4670208692550659, -1.304750919342041, 0.3109721541404724, 0.6023274660110474, 0.6970078945159912, 0.1975630223751068, -0.1157432571053505, -0.5683493614196777, -0.18408311903476715, -0.06250419467687607, 0.784397542476654, -1.0311980247497559, -0.3865722119808197, 0.011120550334453583, 0.27836886048316956, -0.19470730423927307, -0.10724388062953949, 0.1531933695077896, -0.3847741186618805, 0.19393257796764374, -0.12417095899581909, -0.6500958800315857, -0.4562034606933594, 0.04612383991479874, -1.2027831077575684, 1.0237798690795898, 0.41626864671707153, -0.6385610103607178, 0.06777193397283554, -0.47402283549308777, -0.7632972598075867, 0.18775704503059387, -0.49936991930007935, -0.2724483609199524, 0.27131614089012146, 0.2975527048110962, 0.34730103611946106, 0.2131405770778656, -0.47771498560905457, 0.3811303973197937, -0.7234621047973633, 0.49694088101387024, -0.14439016580581665, 1.3133395910263062, 0.00637280847877264, -0.646317183971405, -0.1012350395321846, -0.6622710824012756, 0.031264156103134155, 0.20340579748153687, -0.5395134091377258, -0.31673353910446167, 0.056296881288290024, -0.19635646045207977, 0.05152711644768715, 0.3595639169216156, -0.6629225611686707, 0.44077974557876587, -0.6060742139816284, 0.5903291702270508, 0.6261029839515686, 0.11477047950029373, 0.3488830029964447, -0.23005756735801697, 0.3188343346118927, 0.047831159085035324, 0.2190861850976944, -0.3982611298561096, -1.0130022764205933, -0.7762091755867004, 0.5503185987472534, -0.2404794692993164, 0.3125176429748535, -0.6810542941093445, -0.16817207634449005, 0.20879046618938446, -0.4911239445209503, -0.4274303615093231, -0.05257172882556915, 0.3987489640712738, 0.2080049216747284, 0.042811594903469086, -0.3592154383659363, -0.6180986762046814, -0.37667444348335266, -0.10688520967960358, -0.0221603624522686, 0.18183688819408417, -0.0951075553894043, 0.26659682393074036, -0.02423013001680374, -0.0832204669713974, -0.46811097860336304, 0.1550946682691574, -0.1928127557039261, 0.45790213346481323, 0.5789565443992615, 0.3626430928707123, 0.09024312347173691, -0.9421002864837646, -0.5604283809661865, 0.2520790994167328, -0.2158965766429901, 0.11545208841562271, -0.5043044090270996, -0.04925849288702011, 0.2399829626083374, 0.5503254532814026, -0.47644224762916565, 0.5565453767776489, 0.4185739755630493, -0.604102611541748, 0.6547093391418457, -0.2672457695007324, 0.3232530355453491, -0.36458516120910645, -0.29166269302368164, -0.15809443593025208, 0.03376421704888344, -0.7725447416305542, 0.2825150191783905, 0.15194517374038696, -0.230730339884758, -0.46186918020248413, 0.2277456521987915, -1.0719780921936035, 0.04205001890659332, -0.15918251872062683, 0.3607932925224304, 0.06625329703092575, 0.40711021423339844, 0.4019801914691925, 0.7066330313682556, 0.5165756344795227, -0.5624598264694214, 0.6657754778862, 0.0985746681690216, -0.1969180405139923, 0.5087893009185791, -0.03646419942378998, 0.2943934500217438, -0.36896857619285583, -0.17012427747249603, -1.0368764400482178, -0.15029938519001007, 0.5323051810264587, -0.5831802487373352, 0.6080445647239685, 0.03886418044567108, 0.02043144404888153, -0.6762083172798157, -0.3616676926612854, 0.6783158779144287, 0.2867196500301361, -0.6454914212226868, 0.6699126958847046, 0.29259541630744934, 0.2744016945362091, -0.6229333281517029, -0.3235301375389099, -0.12738162279129028, 0.2553919553756714, -0.7243243455886841, 0.3614949584007263, 0.04014947637915611, 0.00037525934749282897, -0.08867146819829941, -0.26536324620246887, -0.013241991400718689, 0.0057651689276099205, 0.49462100863456726, 0.11296255886554718, -0.12434806674718857, -0.15454420447349548, -0.06189345195889473, -0.34139150381088257, 0.1618528515100479, -0.41501688957214355, 0.5367523431777954, -0.12750788033008575, -0.3375854194164276, -0.7394680380821228, 0.5579835772514343, 0.607941210269928, 0.004089435562491417, 0.09195980429649353, 0.2652709484100342, -0.8567301034927368, -0.19931462407112122, -0.3047493100166321, -0.007366444915533066, -0.5891878604888916, 0.16435639560222626, -0.40026822686195374, -0.457859069108963, 0.3516716957092285, -0.3139784038066864, 0.06879425793886185, 0.08712409436702728, 0.4186939299106598, -0.2211177498102188, 1.0531405210494995, 0.5888209342956543, 0.48236924409866333, 0.44438570737838745, -0.3280200958251953, 0.5163553953170776, -0.765062689781189, -0.803117036819458, -0.4268293082714081, -0.42777159810066223, -0.7659160494804382, -0.18667072057724, -0.14201317727565765, -0.3716863691806793, -0.3644562065601349, 0.8542795777320862, -1.3080638647079468, 0.715893030166626, 0.7500250935554504, 0.19661954045295715, 0.3980301320552826, 0.17824435234069824, -0.09930291026830673, -0.06306033581495285, -0.3939739465713501, -0.37101754546165466, 0.9508921504020691, -0.0937730148434639, 0.7844233512878418, 0.005526533350348473, 0.9692718982696533, 0.3300173282623291, 0.3012104332447052, -0.8821061253547668, 0.47918522357940674, -0.4684721529483795, -0.4639805555343628, -0.41342031955718994, -0.014240642078220844, -1.2595856189727783, -0.29084333777427673, -0.3957211971282959, -1.0440857410430908, 0.25158271193504333, 0.01377010252326727, -0.3408886790275574, 0.7600094079971313, -0.621100664138794, 0.6861683130264282, -0.3981482982635498, 0.10288982838392258, 0.13164839148521423, -0.1745404601097107, 0.09435489773750305, 0.4177420735359192, 0.0825442299246788, -0.01594732329249382, 0.3866276741027832, 0.776232898235321, -0.5012747049331665, 0.6122905611991882, -0.2120707631111145, -0.05321090668439865, 0.3687104880809784, 0.4674549996852875, 0.7696963548660278, -0.44953373074531555, 0.11309139430522919, -0.19617190957069397, 0.10903472453355789, -0.24103230237960815, -0.5782861113548279, 0.6972463130950928, -0.7743138670921326, -0.8365285396575928, -0.7156471610069275, -0.42099761962890625, 0.1934284120798111, 0.5966083407402039, 0.5438233017921448, 0.49361103773117065, 0.1563577502965927, -0.5539246797561646, 0.6608772277832031, -0.2504611313343048, 0.3535301089286804, 0.16969481110572815, -0.256065309047699, -0.11331191658973694, 1.1150224208831787, 0.25329259037971497, -0.0962323546409607, 0.4798606336116791, 0.07296331226825714, -0.3500269651412964, -0.8240436315536499, -0.339510440826416, 0.34937193989753723, -0.9390960931777954, 0.04373567923903465, -0.005607000086456537, -0.47433552145957947, -0.1997881382703781, -0.5340080261230469, -0.07284707576036453, -0.7130595445632935, -0.262431800365448, -0.06680060923099518, 0.17372842133045197, 1.0538805723190308, -0.05557656288146973, 0.3985133171081543, -0.45267900824546814, 0.5292271375656128, 0.42954668402671814, 0.6146116256713867, 0.14079229533672333, -0.22494736313819885, -0.0779246985912323, -0.06376154720783234, -0.42565539479255676, -0.9990010857582092, 0.026166314259171486, 0.033954959362745285, 0.45528095960617065, 0.5560348629951477, 0.02703445963561535, 0.53605717420578, -0.44326573610305786, 0.3329111933708191, 0.6757197380065918, -0.7791086435317993, 0.4936472177505493, -0.07886337488889694, 0.15713554620742798, 0.2874985337257385, 0.6067826747894287, -1.1188764572143555, -0.33418598771095276, -0.4244726300239563, -0.7327821254730225, 0.55878084897995, 0.4910725951194763, 0.22242522239685059, -0.30843082070350647, 0.5036783814430237, 0.3452628552913666, -0.2183365523815155, -0.5260441303253174, -0.6462407112121582, -0.571607232093811, -0.22683210670948029, 0.6758043766021729, -0.13292087614536285, 0.24234811961650848, -0.4483858644962311, 0.4927786588668823, 0.5192925930023193, 0.4669307470321655, 0.05210081860423088, -0.09888429939746857, -0.2553021013736725, 0.05377821996808052, 0.5463905930519104, 0.5482205748558044, -0.1651318073272705, 0.48563772439956665, -0.2987002432346344, -1.1916481256484985, 0.43538370728492737, -0.06537085771560669, -0.41850459575653076, 0.13824044167995453, 0.11895325034856796, 0.5937221050262451, 0.23808178305625916, -0.35111135244369507, 0.36983752250671387, -0.12769560515880585, -0.1216360405087471, -0.6641358733177185, 0.29528889060020447, -0.055566295981407166, 0.1720041036605835, 0.47845321893692017, -0.34598150849342346, 0.19406427443027496, -0.4056624174118042, 0.24391527473926544, 0.13173997402191162, -0.09528396278619766, -0.2440667301416397, 0.7135476469993591, 0.5158863663673401, -0.9765090942382812, 1.2386482954025269, -0.3442328870296478, -0.5445479154586792, 0.7081664204597473, 0.7824354767799377, 0.7543478012084961, -0.2786332070827484, 0.5485231876373291, 0.7981511354446411, 0.3955584764480591, -0.11839809268712997, 0.8331025242805481, -0.051411449909210205, -0.4653063118457794, -0.33926746249198914, -0.2596581280231476, -0.8790022134780884, -0.013000310398638248, -0.4548432528972626, 0.27351677417755127, -0.8906353116035461, -0.2562571167945862, 0.45362287759780884, -0.06912150979042053, -0.730290949344635, 0.39237383008003235, 0.7027552127838135, 0.9393332600593567, -0.5607557892799377, 0.515307605266571, 0.6978437304496765, -0.40359634160995483, -0.8565046787261963, -0.590461015701294, -0.0658888891339302, -1.102327585220337, 0.7863268256187439, 0.5857033729553223, -0.4810762107372284, 0.14635995030403137, -0.30109262466430664, -0.915876030921936, 0.9646620750427246, 0.06611596047878265, -0.8380094170570374, -0.4301145672798157, 0.42223718762397766, 0.09579160809516907, -0.4306219816207886, 0.11324377357959747, 0.7542915940284729, 0.7618148922920227, -0.17391905188560486, -0.2974795997142792, 0.6333066821098328, -0.489988774061203, -0.11613325774669647, 0.6860548853874207, -0.09488318860530853, 0.8278411030769348, -0.494343638420105, -0.9779506921768188, 0.07409294694662094, 0.47554200887680054, 0.05532197654247284, 0.6061676144599915, -0.12190283089876175, 0.3910105228424072, 1.0858395099639893, -0.5015595555305481, 0.8770366907119751, -0.2764478325843811, 0.1533612608909607, 0.8951008319854736, 0.4230233132839203, 0.3564804494380951, 0.5344537496566772, -0.3499910235404968, 1.0062357187271118, 0.6849860548973083, -0.2636907696723938, 0.15757325291633606, 0.40970927476882935, -0.37063077092170715, -0.4405757784843445, 0.35977843403816223, -0.05697614699602127, -0.026842599734663963, 0.6434602737426758, -0.4628484547138214, -0.3439532518386841, -0.11530118435621262, -0.03928947076201439, 0.5234534740447998, -0.7392935752868652, 0.08077450841665268, 0.0564308799803257, -0.4120701253414154, 0.5621873736381531, -0.03223555535078049, 0.4083714187145233, -0.25486528873443604, -0.4506571292877197, -0.23467335104942322, -0.24745820462703705, -0.6736206412315369, -1.267180323600769, 0.0726512223482132, -0.41399624943733215, -0.0032478393986821175, -0.07587262243032455, 0.6675262451171875, -0.02392168901860714, -0.7491614818572998, 0.04206196591258049, -0.0062312595546245575, 0.4446251094341278, 0.09984689205884933, -0.4538447856903076, 0.19977417588233948, -0.15400151908397675, -0.17820675671100616, -0.21216638386249542, 0.4942857623100281, -0.301539808511734, 0.6676069498062134, 0.5144487619400024, 0.03110787272453308, 0.42854809761047363, 0.10625697672367096, 0.541621208190918, -1.0997780561447144, -0.33120325207710266, -0.45160111784935, 0.500876247882843, -0.03689024597406387, -0.16845625638961792, 0.6361247897148132, 0.20117585361003876, 1.0138014554977417, -0.10736653953790665, 0.7014126777648926, -0.04578819498419762, -0.16134223341941833, -0.2920764088630676, 0.7646726369857788, -0.020035097375512123, -0.09948942810297012, -0.23137116432189941, -0.7943791747093201, -0.6500062942504883, 0.8618568778038025, -0.25496628880500793, -0.04837428405880928, 0.8015333414077759, 0.5448395013809204, -0.043303679674863815, 0.10541415959596634, 0.32757747173309326, -0.21183526515960693, -0.05492311343550682, 1.1435154676437378, 0.7826617956161499, -0.6894962787628174, 0.582270622253418, -0.6071479916572571, -0.14907099306583405, -0.2212027907371521, -0.695595920085907, -0.9365720152854919, -0.8976821899414062, -0.4860091209411621, -0.42124295234680176, 0.02683141827583313, 0.5636328458786011, 0.10302576422691345, -0.9045459628105164, -0.06364929676055908, -0.2617320120334625, 0.5294227004051208, -0.6103977560997009, -0.07405344396829605, 0.7824907302856445, 0.02845749445259571, -0.807433009147644, -0.004410650581121445, 0.39559313654899597, 0.3309735953807831, -0.1731080859899521, -0.33411234617233276, -0.08687788993120193, 0.05157988518476486, 0.534712553024292, 0.931225597858429, -0.5329986214637756, -0.5204480886459351, 0.1496792435646057, -0.021102825179696083, 0.2807231843471527, 1.186347246170044, -0.6051719188690186, 0.7800101637840271, 0.5949140191078186, 0.3123129904270172, 0.5914263129234314, -0.32202932238578796, 0.15336677432060242, -0.2526928782463074, -0.19285166263580322, -0.05833809822797775, 0.48677781224250793, 0.4295896291732788, -0.6681129336357117, 0.28818807005882263, 0.12836168706417084, -0.07406412065029144, -0.5521835088729858, 0.5835210680961609, -1.0672755241394043, -0.09485621750354767, 0.6829622983932495, -0.07241841405630112, -0.46034368872642517, -0.4629952907562256, -0.4200434982776642, 0.3433799147605896, -0.2993544936180115, 1.0306973457336426, 0.6969570517539978, -0.7375879883766174, -0.4221489429473877, 0.09225451946258545, 0.41276511549949646, -0.22767314314842224, -0.23492461442947388, 0.13738249242305756, 0.4277014434337616, 0.3113357424736023, 0.2755068838596344, 0.6189932823181152, -0.2821711599826813, 0.9502515196800232, 0.39651036262512207, -0.06177210807800293, -0.6729841828346252, -0.36028802394866943, -0.04672333225607872, 0.1508631408214569, 0.3294581472873688, -0.21813420951366425 ]
http://arxiv.org/abs/2406.17282v2
http://arxiv.org/pdf/2406.17282v2
SetBERT: Enhancing Retrieval Performance for Boolean Logic and Set Operation Queries
2024-06-25T05:14:54
2024-06-26T14:38:31
Quan Mai, Susan Gauch, Douglas Adams
cs.CL
cs.CL
We introduce SetBERT, a fine-tuned BERT-based model designed to enhance query embeddings for set operations and Boolean logic queries, such as Intersection (AND), Difference (NOT), and Union (OR). SetBERT significantly improves retrieval performance for logic-structured queries, an area where both traditional and neural retrieval methods typically underperform. We propose an innovative use of inversed-contrastive loss, focusing on identifying the negative sentence, and fine-tuning BERT with a dataset generated via prompt GPT. Furthermore, we demonstrate that, unlike other BERT-based models, fine-tuning with triplet loss actually degrades performance for this specific task. Our experiments reveal that SetBERT-base not only significantly outperforms BERT-base (up to a 63% improvement in Recall) but also achieves performance comparable to the much larger BERT-large model, despite being only one-third the size.
[ -0.2739039659500122, -0.7309306263923645, 0.44605639576911926, 0.24606412649154663, -0.0927940309047699, -0.08182520419359207, -0.16710466146469116, -0.34987884759902954, 0.1963166743516922, 0.8729149699211121, -0.434135764837265, -0.4540976285934448, -0.34575775265693665, -0.30201032757759094, -0.39157480001449585, 0.9951567053794861, 0.25612160563468933, 0.13856510818004608, 0.18895408511161804, -0.38851678371429443, -0.5775010585784912, -0.498321533203125, -0.46167659759521484, -0.36122849583625793, 0.3686453402042389, 0.13491171598434448, 0.9430551528930664, 0.14059361815452576, 0.697803795337677, 0.08187497407197952, -0.15267561376094818, 0.33974650502204895, -0.6940897107124329, 0.18128426373004913, -0.40030601620674133, -0.6031541228294373, 0.049462009221315384, 0.02525910921394825, 0.47166791558265686, 0.8392417430877686, 0.03652835637331009, -0.16640977561473846, -0.1557445228099823, 1.02872896194458, -1.0808087587356567, -0.09562116116285324, -0.8712367415428162, 0.30101820826530457, 0.20152322947978973, -0.2764873802661896, -0.48315244913101196, -0.8975464105606079, 0.17117342352867126, -0.5330937504768372, 0.4722417891025543, 0.19169260561466217, 0.8574181199073792, 0.5060210227966309, -0.459264874458313, -0.12091034650802612, -0.5441948771476746, 0.5871184468269348, -0.6680428385734558, 0.5703524351119995, 0.2797904312610626, 0.07059349864721298, -0.19531208276748657, -0.7363476157188416, -0.6058995127677917, -0.211703822016716, -0.22385695576667786, 0.3351231813430786, -0.011952745728194714, 0.1949206441640854, 0.375082403421402, 0.3251386880874634, -0.5080965161323547, -0.2440284788608551, -0.5565665364265442, -0.03454860299825668, 0.305207759141922, 0.10506477952003479, 0.009005566127598286, 0.03705188259482384, -0.1747443825006485, 0.1907203197479248, -1.0945683717727661, 0.09016585350036621, 0.3829735219478607, 0.5310338735580444, 0.5876582264900208, 0.6060802936553955, -0.290283203125, 1.1543720960617065, -0.058811359107494354, 0.6780465841293335, 0.05431300029158592, -0.13187487423419952, -0.24643093347549438, 0.10325323790311813, 0.2805989682674408, 0.25933948159217834, 0.20414550602436066, -0.1901368945837021, -0.5161134600639343, -0.021338095888495445, 0.2118128389120102, -0.8490752577781677, -1.1224733591079712, 0.017235368490219116, -0.513751745223999, -0.33093175292015076, 0.1362195909023285, -0.02824459969997406, -0.3999145030975342, -0.5314371585845947, 1.141627311706543, -0.9014788866043091, 0.26821526885032654, 0.28235316276550293, -0.4222168028354645, 0.2620842754840851, 0.423126757144928, -0.6621870994567871, 0.3915143609046936, 0.7863808870315552, 0.5591539740562439, 0.2808665633201599, 0.18554311990737915, -1.0787709951400757, -0.048142209649086, -0.7825812697410583, 0.3844161331653595, -1.1239269971847534, -0.04622923210263252, 0.11429376900196075, -0.1435714215040207, 0.018220875412225723, -0.6959750652313232, 0.5854916572570801, -1.003417730331421, 0.2693478465080261, -0.6617525219917297, -0.6330121755599976, -0.1172930970788002, 0.3677998185157776, -0.7232504487037659, 0.9600675106048584, -0.12930701673030853, -0.5434505343437195, 0.49100348353385925, -0.6485341191291809, -0.9331095218658447, -0.049662720412015915, -0.11583510786294937, -0.23315761983394623, 0.29153791069984436, 0.5327095985412598, 0.3337588608264923, 0.05068005248904228, -0.2760254144668579, -0.23916061222553253, -0.9153105020523071, 0.0028608106076717377, 0.16487160325050354, 1.1158714294433594, -0.1656465381383896, -0.11838286370038986, 0.11746526509523392, -0.484073281288147, 0.42949745059013367, -0.2726116180419922, -0.22404874861240387, -0.5193583965301514, 0.35978853702545166, -0.39378708600997925, 0.1918003112077713, 0.20308245718479156, -0.8065441846847534, 0.29931119084358215, -0.5479813814163208, 0.4555805027484894, 0.6400688290596008, -0.07104511559009552, 0.10922589898109436, -0.2781832814216614, -0.016385678201913834, 0.04000107944011688, -0.026019809767603874, 0.15988579392433167, -0.29091763496398926, -0.898698091506958, -0.30216288566589355, 0.5980305671691895, 0.7015756368637085, -0.848189651966095, 0.5581909418106079, 0.07031489163637161, -0.2508388161659241, -0.9954168200492859, -0.2039458006620407, 0.3824482858181, 0.8956232070922852, 0.550713837146759, 0.18279002606868744, -0.4337647557258606, -1.3688592910766602, -0.10695232450962067, 0.056723423302173615, 0.10075826197862625, 0.34155553579330444, 0.39453163743019104, 0.09550061821937561, 0.7404526472091675, -0.9448030591011047, -0.2471827119588852, 0.17589028179645538, 0.1578369140625, 0.5285519361495972, 0.45003390312194824, 0.31861066818237305, -0.932212233543396, -0.3970547914505005, -0.22631238400936127, -0.7204459309577942, -0.026752814650535583, 0.3533821702003479, -0.35968494415283203, 0.29595044255256653, 0.5113464593887329, -0.4120468199253082, 0.8048692345619202, 0.14708246290683746, -0.18811970949172974, 0.6515413522720337, -0.3709927797317505, 0.3666759431362152, -0.5832439064979553, 0.03428717330098152, -0.42516055703163147, -0.24048694968223572, -0.3544120788574219, 0.1053437739610672, 0.6213707327842712, -0.28020551800727844, -0.2760990858078003, 0.02691459469497204, -0.12935325503349304, -0.1723843216896057, -0.026801086962223053, 0.3421204388141632, 0.34304317831993103, 0.3872186839580536, -0.06998247653245926, 1.1323522329330444, 0.4464873969554901, -0.7848828434944153, 0.285164475440979, 0.5657992959022522, -0.2627811133861542, 0.585284411907196, -0.9449861645698547, -0.07207459211349487, -0.1607452630996704, 0.2648504674434662, -0.9648805856704712, 0.3024024963378906, -0.00026695572887547314, -0.4103718400001526, 0.11016813665628433, -0.1467692106962204, -0.7616125345230103, -0.11805730313062668, -0.753131628036499, 0.10754373669624329, 0.644747793674469, -1.1962933540344238, 0.16241969168186188, -0.1681148111820221, 0.2071087807416916, -0.7979639172554016, -0.5925971269607544, -0.13574329018592834, 0.21694433689117432, -0.8505975008010864, 0.5939303040504456, 0.02351219952106476, -0.13978515565395355, 0.058360755443573, -0.18012911081314087, 0.03853021189570427, -0.03845106437802315, -0.1626567840576172, 0.26983705163002014, -0.15874753892421722, 0.9981848001480103, 0.196913480758667, 0.2532649040222168, -0.0894598588347435, -0.48175856471061707, 0.5338656902313232, -0.4176464378833771, -0.08498334139585495, -0.1223907619714737, 0.29414254426956177, -0.03342396765947342, -0.7824968695640564, 0.933443546295166, 0.6871345043182373, -0.5141650438308716, -0.23185524344444275, -0.5861345529556274, -0.48341354727745056, -0.44409239292144775, 0.17964395880699158, -0.5144456028938293, -0.8273709416389465, 0.6409142017364502, 0.3698289096355438, 0.08612103015184402, 0.4441896080970764, 0.38892337679862976, -0.5075997710227966, 0.8263985514640808, 0.35803350806236267, 0.14458245038986206, 0.4582303464412689, -0.18989114463329315, 0.4407466650009155, -1.1394891738891602, -0.17035920917987823, -0.44580602645874023, -0.5011481642723083, -0.6901142001152039, 0.013506930321455002, 0.5343586802482605, 0.17831481993198395, -0.5258869528770447, 0.30862873792648315, -0.7741849422454834, 0.5370661020278931, 1.035013198852539, 0.7375956177711487, 0.41897663474082947, -0.3408007025718689, 0.06724830716848373, -0.15756189823150635, -0.5373393893241882, -0.3458980321884155, 1.251953125, -0.40431779623031616, 0.9287110567092896, 0.523138701915741, 0.8919022083282471, 0.592585563659668, 0.03358951956033707, -0.45235520601272583, 0.540262758731842, -0.42286089062690735, -0.8307722806930542, -0.19571048021316528, -0.5159240365028381, -0.9144489169120789, 0.45954325795173645, -0.2635761499404907, -1.0069959163665771, 0.1828324794769287, 0.43406441807746887, -0.40832042694091797, 0.17705301940441132, -0.911365270614624, 0.6321275234222412, -0.16345436871051788, -0.48968055844306946, -0.29822099208831787, -0.7987487316131592, 0.35213133692741394, 0.0611015148460865, -0.7581162452697754, -0.21232692897319794, -0.20096400380134583, 0.6156284213066101, -0.3900196850299835, 0.3018198609352112, -0.1262430101633072, 0.0887434184551239, 0.06892545521259308, 0.33709150552749634, 0.6126267910003662, 0.33590033650398254, -0.45226916670799255, -0.2574204206466675, 0.18870456516742706, -0.4030435085296631, -0.9273033738136292, 1.035265564918518, -0.6023581624031067, -0.557809591293335, -0.01966123655438423, -0.6021371483802795, -0.34065285325050354, 0.19513261318206787, 0.21719293296337128, 0.6849803328514099, -0.0794636607170105, 0.36495882272720337, 1.0640767812728882, -0.26024848222732544, 0.2526746690273285, 0.4542385935783386, -0.1204952523112297, 0.030893556773662567, 1.085379958152771, 0.07787024229764938, 0.19538594782352448, 0.7541077136993408, -0.023790448904037476, -0.19721223413944244, -0.30134618282318115, -0.04997209832072258, 0.11191611737012863, -0.7763272523880005, -0.3143986165523529, -0.5098426342010498, -0.1460871696472168, -0.48220571875572205, -0.1527186632156372, -0.3036726415157318, -0.9351510405540466, -0.25228410959243774, 0.09566331654787064, 0.2144159972667694, 0.2986027002334595, -0.08976604789495468, 0.17817382514476776, -0.4389747679233551, 0.37884053587913513, 0.22223961353302002, 0.701560378074646, -0.427513062953949, -0.33587387204170227, -0.03935229033231735, -0.06393615901470184, -0.43066224455833435, -0.717343270778656, 0.23663058876991272, 0.3081299066543579, 0.2808738648891449, 0.09669192880392075, 0.38794806599617004, 0.49635976552963257, -0.4289659857749939, 0.45139092206954956, -0.15396538376808167, -0.82798832654953, 0.8026488423347473, -0.4300936162471771, 0.20492024719715118, 0.7264710068702698, 0.09457433223724365, -0.27335625886917114, 0.06727985292673111, -0.703374981880188, -0.7883323431015015, 0.8839603066444397, 0.7845283150672913, -0.12383481115102768, 0.04029420390725136, 0.1535455584526062, 0.010309108532965183, 0.5042693614959717, -0.41300398111343384, -0.07706756889820099, -0.11400061845779419, -0.20470134913921356, 0.306325227022171, -0.014323225244879723, -0.5134463906288147, -0.40636029839515686, 0.8703390955924988, 0.008419022895395756, 0.7106518149375916, 0.3134981691837311, -0.21452830731868744, 0.2141810655593872, 0.20188495516777039, 0.2756171226501465, 0.7290158867835999, -0.9415168166160583, -0.03016449324786663, 0.08027976006269455, 0.07195413112640381, -0.3911891281604767, 0.6803397536277771, -0.07453794032335281, -0.05910058692097664, 0.2873903214931488, 0.5115942358970642, -0.13001306354999542, -0.836927056312561, 0.38537514209747314, 0.03224494680762291, -0.23624862730503082, -0.26974955201148987, 0.35283195972442627, -0.12331092357635498, 0.45536303520202637, 0.20784400403499603, -0.15138308703899384, 0.6388864517211914, -0.5742888450622559, 0.18080174922943115, 0.5850099921226501, -0.5567246675491333, 0.27109599113464355, 0.4421074390411377, 0.28970015048980713, -0.3701022267341614, 1.2203012704849243, -0.1423788219690323, -0.7008254528045654, 0.6743694543838501, 0.49977970123291016, 0.4861648678779602, 0.3705769181251526, -0.128307044506073, 0.07801549136638641, 0.5694419741630554, 0.20659959316253662, 0.7522702217102051, -0.17929309606552124, -0.7992209792137146, -0.014962786808609962, -0.13436201214790344, -0.3931322395801544, 0.01699567213654518, -0.7520565390586853, -0.055111363530159, -0.6378346681594849, 0.005987032316625118, 0.14057719707489014, 0.08330584317445755, -0.6969159841537476, 0.2684408724308014, -0.2896219491958618, 0.9263409376144409, -0.4681154191493988, 0.5349986553192139, 0.6274554133415222, -0.5402927994728088, -0.4610915184020996, 0.04495660960674286, -0.45661500096321106, -0.652811586856842, 0.8460156917572021, 0.23870255053043365, -0.16950160264968872, -0.18022291362285614, -0.7371653318405151, -0.5654861330986023, 0.7509058713912964, 0.24565663933753967, -0.4487990736961365, 0.21488159894943237, -0.4561220705509186, 0.5938519835472107, -0.2450115978717804, 0.06253734230995178, 0.8569405674934387, 0.2759724259376526, -0.2571510076522827, -0.6702806949615479, -0.012437311932444572, -0.02490440011024475, 0.0027491652872413397, 0.9124864935874939, -0.7090092897415161, 0.8550627827644348, -0.2844221889972687, 0.25301608443260193, -0.09463352710008621, 0.5705571174621582, 0.12725497782230377, 0.1376146823167801, 0.11581801623106003, 0.5826833844184875, 0.9550907611846924, -0.4328504800796509, 1.0580207109451294, -0.24103206396102905, 0.35888540744781494, 1.4477880001068115, -0.27390599250793457, 0.9565568566322327, 0.34435799717903137, 0.01364788319915533, 0.17621201276779175, 0.3747462034225464, 0.11118707060813904, 0.8132010102272034, 0.3196399509906769, -0.33782610297203064, -0.4853821396827698, 0.14749255776405334, -0.29963621497154236, 0.07912199944257736, 0.6130194067955017, -0.6237617135047913, -0.06364397704601288, -0.1153283640742302, -0.1745789498090744, 0.1451983004808426, -0.3120080232620239, 0.34283867478370667, -0.2170790731906891, -0.7286526560783386, 0.6212307810783386, -0.11039131879806519, 0.39655157923698425, -0.231443852186203, -0.3558102548122406, -0.22480320930480957, 0.544951856136322, -0.2936766445636749, -1.0025441646575928, 0.1522151380777359, -0.6577520370483398, -0.20302031934261322, 0.3394036889076233, 0.8247608542442322, -0.37396302819252014, -0.5884366631507874, 0.16491037607192993, 0.32307055592536926, -0.0820649117231369, -0.278442919254303, -0.6818761229515076, -0.117791548371315, 0.18397636711597443, -0.07190166413784027, -0.19928158819675446, 0.3969351351261139, -0.05246741324663162, 0.7619497179985046, 0.37759634852409363, -0.24372994899749756, -0.06403966248035431, 0.23576432466506958, 1.1258090734481812, -0.8294416666030884, -0.15558335185050964, -0.5313693881034851, 0.07672704011201859, -0.3319575786590576, -0.15962518751621246, 0.35759034752845764, 0.6781387329101562, 0.6557198166847229, -0.07702656090259552, 0.79060959815979, -0.24014487862586975, 0.5920303463935852, -0.6716276407241821, 0.5179369449615479, -0.6101405024528503, 0.3328127861022949, -0.2078026384115219, -0.9764471054077148, -0.43084728717803955, 0.7216472625732422, -0.5825415253639221, 0.1559472531080246, 0.5140032172203064, 1.0967074632644653, -0.1924957036972046, 0.12243839353322983, 0.31502461433410645, 0.053874384611845016, 0.6564612984657288, 0.6320217251777649, 0.6794720888137817, -0.6431184411048889, 0.7081072926521301, -0.09585562348365784, -0.14495673775672913, -0.5673584342002869, -0.4842183291912079, -1.1629003286361694, -0.44241103529930115, -0.05889745429158211, -0.4264001250267029, 0.712510883808136, 0.7469409704208374, 0.7278668880462646, -0.588902473449707, 0.20532242953777313, 0.06187254562973976, 0.16568832099437714, -0.1823967844247818, -0.20468191802501678, 0.681585967540741, -0.6588714122772217, -0.46207040548324585, 0.35512208938598633, 0.15072402358055115, -0.46290192008018494, 0.2695007026195526, 0.11852189898490906, -0.6673682332038879, 0.14006873965263367, 0.74656081199646, 0.1788674294948578, -0.4566360116004944, -0.6217166185379028, -0.16480818390846252, 0.014553701505064964, 0.01857348531484604, 0.6754425764083862, -1.2104367017745972, 0.5328720808029175, 0.5497218370437622, 0.6635343432426453, 0.7583189010620117, 0.14919809997081757, 0.6900239586830139, -0.9761466383934021, -0.06447780132293701, 0.6809454560279846, 0.3892804682254791, 0.29984214901924133, -0.30950385332107544, 1.0069160461425781, -0.05427943542599678, -0.526411771774292, -0.467513769865036, 0.24350033700466156, -0.9350974559783936, -0.2957979142665863, 0.7242658138275146, 0.15086911618709564, 0.2055797427892685, 0.11882393807172775, -0.37313875555992126, 0.07342878729104996, -0.6489841938018799, 0.7350185513496399, 0.5414961576461792, -0.6435577869415283, -0.04521264135837555, -0.36593079566955566, 0.2197822779417038, 0.761219322681427, -0.5490874648094177, -0.029999420046806335, 0.8037541508674622, 0.21192146837711334, 0.03806354105472565, 0.3088138997554779, -0.04821164906024933, 0.5055806040763855, -0.2973782420158386, -0.020634423941373825, -0.20971760153770447, -0.28392550349235535, 0.05364393815398216, 0.10987934470176697, -0.12406037002801895, -0.5102289915084839 ]
http://arxiv.org/abs/2406.17276v1
http://arxiv.org/pdf/2406.17276v1
OPT-Tree: Speculative Decoding with Adaptive Draft Tree Structure
2024-06-25T04:45:53
2024-06-25T04:45:53
Jikai Wang, Yi Su, Juntao Li, Qinrong Xia, Zi Ye, Xinyu Duan, Zhefeng Wang, Min Zhang
cs.CL
cs.CL
Autoregressive language models demonstrate excellent performance in various scenarios. However, the inference efficiency is limited by its one-step-one-word generation mode, which has become a pressing problem recently as the models become increasingly larger. Speculative decoding employs a "draft and then verify" mechanism to allow multiple tokens to be generated in one step, realizing lossless acceleration. Existing methods mainly adopt fixed heuristic draft structures, which fail to adapt to different situations to maximize the acceptance length during verification. To alleviate this dilemma, we proposed OPT-Tree, an algorithm to construct adaptive and scalable draft trees. It searches the optimal tree structure that maximizes the mathematical expectation of the acceptance length in each decoding step. Experimental results reveal that OPT-Tree outperforms the existing draft structures and achieves a speed-up ratio of up to 3.2 compared with autoregressive decoding. If the draft model is powerful enough and the node budget is sufficient, it can generate more than ten tokens in a single step. Our code is available at https://github.com/Jikai0Wang/OPT-Tree.
[ -0.12146386504173279, -0.8320068717002869, 0.31792378425598145, 0.4210575819015503, -0.5836910605430603, 0.5247699022293091, 0.20994043350219727, -0.503009557723999, 0.36940649151802063, 0.22931508719921112, -0.5679527521133423, -0.23559026420116425, -0.46631744503974915, 0.273887038230896, -0.6354900598526001, 0.5575476288795471, -0.230656236410141, -0.37168148159980774, 0.1435539871454239, 0.0031361940782517195, -0.0008825788390822709, -0.22819170355796814, -0.9012601375579834, 0.20322124660015106, -0.0436251126229763, 0.3235359191894531, 0.7103263139724731, 1.0463244915008545, 0.3417881429195404, 0.32284271717071533, -0.12995438277721405, 0.16913527250289917, -0.35963723063468933, 0.13728313148021698, 0.25809863209724426, -0.44434404373168945, -0.6056542992591858, -0.3478420078754425, 0.9946175813674927, 0.2900351285934448, -0.23550257086753845, 0.09058497101068497, -0.30595076084136963, 0.8053247928619385, -0.6877525448799133, 0.044593002647161484, -1.1240798234939575, -0.005388003308326006, -0.34621116518974304, -0.731277585029602, -0.6085469126701355, -0.4358266592025757, -0.12262608110904694, -0.673427402973175, 0.2868478000164032, 0.29059913754463196, 0.6303799152374268, 0.21765920519828796, -0.22765091061592102, -0.18971695005893707, -0.44813647866249084, 0.23578757047653198, -0.6683806777000427, 0.3654816448688507, 0.4631158113479614, 0.2997564673423767, -0.17770251631736755, -0.568104088306427, -0.3823319375514984, -0.1519230306148529, 0.11797481030225754, 0.20559777319431305, -0.19904731214046478, 0.2252710610628128, 0.20520153641700745, 0.3504470884799957, -0.6943328976631165, 0.009963109157979488, -0.27356576919555664, -0.40113919973373413, 0.4149753153324127, 0.31983017921447754, 0.16364456713199615, -0.1916964203119278, -0.03883243352174759, -0.2295594960451126, -0.3436468541622162, 0.12754306197166443, 0.5985133051872253, 0.18284836411476135, -0.001170561765320599, 0.34317150712013245, -0.5594792366027832, 0.7613376379013062, 0.2013862431049347, 0.09053968638181686, 0.13658049702644348, -0.5218608379364014, -0.23569433391094208, 0.27901721000671387, 0.6043758392333984, 0.08485288918018341, -0.14628946781158447, -0.06648410111665726, -0.22872145473957062, 0.28916215896606445, 0.1867573857307434, -0.925261378288269, -0.2621604800224304, 0.3920973837375641, -0.6445648670196533, -0.48749154806137085, -0.2856144905090332, -0.6191537976264954, 0.0670720636844635, 0.3885464668273926, 0.05715422332286835, -0.8039266467094421, -0.5885147452354431, 0.6387729048728943, -0.25808605551719666, 0.1382494568824768, 0.2900231182575226, -0.8455719947814941, 0.37440499663352966, 0.3278736472129822, 0.8919138312339783, -0.13239198923110962, -0.3372826874256134, -0.532325804233551, -0.06665091961622238, -0.7231574654579163, 0.945123553276062, -0.5299702882766724, -0.28216543793678284, -0.10200729966163635, -0.32037049531936646, -0.14455007016658783, -0.021735504269599915, 0.8983514308929443, -0.737378716468811, -0.05886266008019447, -0.018115337938070297, -0.5091897249221802, -0.008213607594370842, 0.2528943121433258, -0.5122972726821899, 0.7176206707954407, 0.2800380289554596, -1.1202055215835571, 0.5356858372688293, -0.8351002335548401, -0.6102316975593567, 0.26837947964668274, 0.14084216952323914, -0.341280072927475, 0.40676403045654297, 0.3923812210559845, 0.13519084453582764, -0.10236317664384842, 0.025053471326828003, -0.22750265896320343, -0.3306909203529358, -0.09927411377429962, -0.7248626351356506, 0.8906100988388062, 0.5828090310096741, -0.07964911311864853, 0.06962662935256958, -0.8512954115867615, 0.40484383702278137, 0.4331946074962616, -0.4672583043575287, -0.22784017026424408, 0.3699057400226593, -0.04362816363573074, -0.2806808352470398, 0.02853810042142868, -0.5440828800201416, 0.3044797480106354, -0.7326368093490601, 0.6073196530342102, 0.604272723197937, 0.008500618860125542, 0.31181982159614563, -0.15670257806777954, 0.6467074155807495, 0.15269657969474792, 0.16458645462989807, -0.6361008882522583, 0.022154422476887703, -0.6818549633026123, 0.05311570316553116, 0.4059717357158661, 0.19004851579666138, -0.9500380158424377, 0.380415678024292, -0.1559133678674698, -0.3823917806148529, -0.47261303663253784, -0.4919617772102356, 0.06423834711313248, 0.15715831518173218, 0.19568772614002228, -0.16260145604610443, -0.8146207332611084, -0.5717653632164001, -0.3023056983947754, -0.6871140599250793, 0.4828609526157379, 0.10526040941476822, 0.2381039410829544, -0.06413567066192627, 0.7866469621658325, -0.46988579630851746, 0.2946488857269287, -0.028572119772434235, 0.06055480241775513, 0.2230154275894165, 0.5814291834831238, 0.6875199675559998, -0.491997092962265, -0.6052635908126831, 0.22680869698524475, -0.2320445030927658, 0.046639274805784225, -0.3550664484500885, -0.16773492097854614, 0.2930871844291687, 0.41047972440719604, -0.5084217190742493, 0.13625764846801758, 0.6236910223960876, -0.6629095077514648, 0.6263779997825623, -0.38780051469802856, 0.1375313103199005, -1.0292701721191406, -0.02075413428246975, -0.5037594437599182, -0.4204155206680298, -0.2235328108072281, 0.2937038242816925, 0.14097918570041656, 0.2294604778289795, -0.1220138669013977, 0.16376133263111115, -0.5871588587760925, -0.039788346737623215, -0.4498855471611023, -0.16733266413211823, -0.09544999152421951, 0.16366222500801086, -0.0033859864342957735, 0.9317506551742554, 0.8291405439376831, -0.47469019889831543, 0.012045780196785927, -0.08985450118780136, -0.28084826469421387, 0.14396564662456512, -0.2946486175060272, 0.21485339105129242, -0.3350825011730194, 0.45537978410720825, -0.9450245499610901, -0.2733606696128845, 0.23744608461856842, -0.5027914047241211, 0.10079667717218399, -0.12470792979001999, -0.2899622619152069, -0.7122417092323303, -0.26993584632873535, 0.6340389251708984, 0.4376225769519806, -0.6039575338363647, 0.6366015672683716, 0.25532880425453186, 0.18585070967674255, -0.48717963695526123, -0.3098953366279602, 0.22785638272762299, -0.01334073394536972, -0.463981032371521, 0.4351876378059387, -0.26226523518562317, 0.24314665794372559, 0.24908190965652466, -0.39542245864868164, -0.18030132353305817, 0.17092330753803253, -0.08858360350131989, 0.03058624640107155, -0.3809047341346741, -0.2088661789894104, 0.4154244065284729, -0.20420365035533905, 0.13720820844173431, -0.9017825722694397, 0.24341341853141785, -0.14308702945709229, -0.2174319475889206, -0.2902214527130127, 0.37386471033096313, 1.037471055984497, -0.18078185617923737, 0.3051091432571411, 0.3991563022136688, -0.43111303448677063, -0.48420971632003784, -0.4223569333553314, 0.03633702173829079, -0.5051764249801636, 0.5382263660430908, -0.8123383522033691, -0.8165099024772644, 0.44279780983924866, -0.15553344786167145, 0.3633025288581848, 0.5621994733810425, 0.3407287299633026, 0.26604512333869934, 1.2530057430267334, 0.5404238700866699, -0.10000765323638916, 0.46661192178726196, -0.12852562963962555, -0.06035839766263962, -0.5824915170669556, -0.012569705955684185, -0.7936100959777832, 0.11314229667186737, -0.2663537263870239, -0.47335055470466614, 0.0225044097751379, 0.2883560061454773, 0.045547403395175934, 0.4629797637462616, -0.8090327978134155, 0.6489880084991455, 0.2553257942199707, -0.07566820085048676, 0.3532135486602783, 0.3006691038608551, -0.5540663003921509, 0.1746433675289154, -1.106552004814148, -0.19605880975723267, 0.8376867175102234, 0.47652551531791687, 0.6613145470619202, -0.10605983436107635, 0.6665802001953125, 0.2594752311706543, 0.19394654035568237, -0.7867143154144287, 0.529190719127655, -0.16022765636444092, -0.412945955991745, -0.21593323349952698, -0.4664618670940399, -0.7128188610076904, 0.23145344853401184, -0.15685908496379852, -0.5225836634635925, 0.027677737176418304, 0.4891224801540375, -0.30676326155662537, 0.37741994857788086, -0.663523256778717, 0.58420330286026, -0.3086366355419159, -0.11813473701477051, -0.41676005721092224, -0.19090838730335236, 0.4503604471683502, -0.17649856209754944, -0.11802008748054504, 0.03026881255209446, 0.06909657269716263, 0.7397844791412354, -0.5084237456321716, 0.4775836765766144, -0.2681208550930023, 0.21948914229869843, 0.5299095511436462, 0.40720734000205994, 1.0277738571166992, 0.1693667322397232, -0.30781155824661255, -0.27986857295036316, 0.3502751290798187, -0.4535389244556427, -0.33958059549331665, 0.2986050844192505, -0.755031406879425, -0.42428895831108093, -0.38650819659233093, -0.43767452239990234, -0.1853240579366684, 0.4608460068702698, 0.44135209918022156, 0.26330453157424927, -0.30093422532081604, 0.06373123079538345, 0.2202315479516983, 0.14005036652088165, 0.6783243417739868, 0.547256350517273, -0.26439398527145386, -0.4701249301433563, 0.7593087553977966, -0.02822984755039215, 0.18011197447776794, 0.4795466661453247, 0.2932363450527191, -0.47547370195388794, -1.3134950399398804, -0.6639711260795593, -0.20692755281925201, -0.4937724471092224, -0.39260920882225037, -0.9792278409004211, -0.30587446689605713, -0.11061520129442215, -0.2469155639410019, -0.5507986545562744, -0.4255996644496918, 0.04967336356639862, -0.20679211616516113, 0.5451088547706604, 0.4651227295398712, -0.059593554586172104, 0.3440783619880676, -0.7752801179885864, 0.2925914525985718, 0.043662622570991516, 0.5576215982437134, 0.2082849144935608, -0.4485158622264862, -0.20855093002319336, -0.13746033608913422, 0.06971380114555359, -0.8438236713409424, 0.21283207833766937, 0.06596507877111435, 0.40481168031692505, 0.5524019002914429, 0.3045491576194763, 0.9844653606414795, -0.4918210506439209, 0.413108229637146, 0.17609289288520813, -1.0065088272094727, 0.44044917821884155, -0.41975727677345276, 0.5437943935394287, 0.7147452235221863, -0.02915526181459427, -0.31116431951522827, -0.47907692193984985, -0.632840633392334, -0.7493874430656433, 1.0378984212875366, 0.252612829208374, 0.06299414485692978, -0.05678332597017288, 0.5068323016166687, 0.11040976643562317, -0.182830348610878, -0.4581867456436157, -0.048341911286115646, -0.40497976541519165, -0.05546293035149574, 0.3011866509914398, -0.5364391207695007, 0.30747151374816895, -0.09343624860048294, 0.59618079662323, -0.4544183909893036, 0.3210689127445221, 0.29847797751426697, 0.24200323224067688, -0.6612386703491211, 0.20813028514385223, 0.3898659646511078, 0.3679567575454712, -0.36512935161590576, 0.19298593699932098, 0.19443455338478088, -0.5873295068740845, 0.15991055965423584, 0.04677135497331619, -0.38662010431289673, 0.04386674985289574, 0.26083409786224365, 1.0955005884170532, -0.19044651091098785, -0.42048996686935425, 0.09660186618566513, -0.4339396059513092, -0.5338956117630005, 0.00868360884487629, 0.07751685380935669, 0.017264481633901596, 0.004964982625097036, 0.5069635510444641, 0.518619954586029, 0.22271589934825897, -0.205522820353508, 0.2438349574804306, 0.5790318846702576, -0.0051627070643007755, -0.4355090856552124, 0.6779104471206665, 0.2793610095977783, -0.39588072896003723, 0.5642423033714294, -0.5219717025756836, -0.5667210817337036, 0.6065766215324402, 0.9551060199737549, 1.2967445850372314, -0.10803373903036118, 0.39409369230270386, 0.6203177571296692, 0.5643860101699829, -0.21456694602966309, 0.4753663241863251, -0.23014260828495026, -0.7892074584960938, -0.5356538891792297, -0.9396840333938599, -0.23674260079860687, -0.04768235981464386, -0.23195508122444153, -0.10374047607183456, -0.3707444965839386, -0.12798234820365906, -0.19799774885177612, -0.08953908085823059, -0.4282725751399994, 0.017561588436365128, -0.199855238199234, 1.3529366254806519, -0.6693971157073975, 0.8896389603614807, 0.6304263472557068, 0.35158687829971313, -0.9978747367858887, 0.25804296135902405, -0.24985316395759583, -0.6074981689453125, 0.22579213976860046, 0.013869735412299633, -0.2515886425971985, 0.4106673300266266, -0.08314687758684158, -1.0998868942260742, 0.7260070443153381, 0.31159982085227966, -0.542494535446167, -0.20738159120082855, -0.20022107660770416, 0.3924531638622284, -0.5668790340423584, 0.3405073881149292, 0.4438425898551941, 0.40778857469558716, 0.39526113867759705, -0.595798909664154, 0.14317092299461365, -0.25301989912986755, 0.0604189857840538, 0.2629023492336273, -0.3717842698097229, 0.6312758326530457, -0.2774289846420288, -0.6420812606811523, 0.1243397518992424, 0.5666003227233887, 0.10696619749069214, 0.013966697268188, 0.8197160959243774, 0.3489750921726227, 0.7007070779800415, 0.1370953470468521, 0.9192597270011902, -0.7336695790290833, 0.28352969884872437, 0.7476938366889954, -0.062194302678108215, 0.8170347213745117, 0.18727880716323853, -0.40125662088394165, 0.19517841935157776, 0.8227563500404358, 0.39932382106781006, 0.41576871275901794, -0.0033802909310907125, -0.08313483744859695, -0.4872490167617798, -0.006478902418166399, -0.33230823278427124, 0.4799334704875946, 0.4056653380393982, -0.2066986858844757, -0.37256380915641785, -0.271604061126709, -0.334231436252594, -0.1786809116601944, -0.3009962737560272, 0.40347132086753845, -0.2686397433280945, -0.9371120929718018, 0.8417052030563354, 0.28031298518180847, 0.574704647064209, -0.8549063801765442, 0.16393926739692688, 0.03423643857240677, 0.038599926978349686, -0.15962961316108704, -0.4338814616203308, 0.4117121398448944, -0.17252503335475922, -0.1192425787448883, -0.2747010290622711, 0.7635215520858765, -0.2757331430912018, -0.6819329261779785, 0.13639797270298004, 0.5995136499404907, -0.03661833703517914, 0.08008207380771637, -0.8580933213233948, 0.5253213047981262, 0.16600006818771362, -0.26875028014183044, -0.0660300999879837, 0.47174271941185, -0.09984158724546432, 0.39669129252433777, 0.9612831473350525, 0.29708331823349, 0.16562727093696594, -0.1685924381017685, 0.8455618023872375, -0.5105816721916199, -0.9785926342010498, -0.8558876514434814, 0.24980445206165314, 0.07559667527675629, -0.24813230335712433, 0.587541401386261, 0.580308735370636, 0.7025455236434937, 0.051995739340782166, 0.759064793586731, -0.22099345922470093, 0.02681879512965679, -0.604918897151947, 0.4326888918876648, -0.3564244210720062, 0.07479771971702576, -0.2938738167285919, -0.7633035778999329, -0.20370134711265564, 0.5824924111366272, 0.17329441010951996, -0.0944426879286766, 0.9752489328384399, 0.6656733155250549, -0.039216071367263794, 0.2649097144603729, 0.22051706910133362, 0.39694517850875854, 0.22519908845424652, 0.7766199111938477, 0.7182922959327698, -0.4907010793685913, 0.6070992946624756, -0.08598411828279495, -0.2393157035112381, -0.1253613829612732, -0.906464695930481, -0.727067768573761, -0.5707352757453918, -0.35969170928001404, -0.37792322039604187, 0.2445846050977707, 0.8672438859939575, 0.8240794539451599, -0.49839162826538086, -0.1604740470647812, -0.8377751111984253, 0.1370764821767807, -0.46245700120925903, -0.2298804372549057, 0.6014912724494934, -0.4330635368824005, -0.5733145475387573, 0.6203938722610474, 0.5511171817779541, 0.1716288924217224, -0.15915249288082123, -0.1845903843641281, 0.016474781557917595, 0.214020773768425, 0.510317325592041, 0.3053540587425232, -0.5710201859474182, -0.08432312309741974, 0.10191261768341064, 0.06410601735115051, 0.004911139141768217, 1.1026802062988281, -0.9900039434432983, 0.6934686899185181, 0.810645341873169, 0.8673855662345886, 0.4921257495880127, 0.049052055925130844, 0.41789859533309937, -0.29474547505378723, 0.09757716208696365, 0.29659634828567505, 0.3899507522583008, -0.1477845162153244, -0.48361071944236755, 0.24483607709407806, 0.28261426091194153, -0.17226897180080414, -0.8885142803192139, 0.2262539118528366, -0.8549389839172363, -0.3766515254974365, 0.7503523230552673, 0.1135110855102539, -0.35569503903388977, -0.1059025377035141, -0.38374054431915283, -0.03790852054953575, -0.5579283237457275, 0.6520206928253174, 0.4743061661720276, -0.051974907517433167, -0.2356860339641571, -0.05851568654179573, 0.6157213449478149, 0.38260746002197266, -0.7933846712112427, 0.5049563646316528, 0.42127668857574463, 0.1271396428346634, 0.17392311990261078, 1.2183725833892822, -0.13151684403419495, 0.5545663833618164, 0.6796168088912964, -0.5107457041740417, -0.38358914852142334, -0.2964214086532593, -0.21864557266235352, 0.5257683992385864, 0.4926859438419342, -0.18801312148571014 ]
http://arxiv.org/abs/2406.17274v1
http://arxiv.org/pdf/2406.17274v1
Can We Trust the Performance Evaluation of Uncertainty Estimation Methods in Text Summarization?
2024-06-25T04:41:17
2024-06-25T04:41:17
Jianfeng He, Runing Yang, Linlin Yu, Changbin Li, Ruoxi Jia, Feng Chen, Ming Jin, Chang-Tien Lu
cs.CL
cs.CL, cs.LG
Text summarization, a key natural language generation (NLG) task, is vital in various domains. However, the high cost of inaccurate summaries in risk-critical applications, particularly those involving human-in-the-loop decision-making, raises concerns about the reliability of uncertainty estimation on text summarization (UE-TS) evaluation methods. This concern stems from the dependency of uncertainty model metrics on diverse and potentially conflicting NLG metrics. To address this issue, we introduce a comprehensive UE-TS benchmark incorporating 31 NLG metrics across four dimensions. The benchmark evaluates the uncertainty estimation capabilities of two large language models and one pre-trained language model on three datasets, with human-annotation analysis incorporated where applicable. We also assess the performance of 14 common uncertainty estimation methods within this benchmark. Our findings emphasize the importance of considering multiple uncorrelated NLG metrics and diverse uncertainty estimation methods to ensure reliable and efficient evaluation of UE-TS techniques.
[ -0.2286500483751297, -0.3912578225135803, 0.5987804532051086, 0.24135486781597137, -0.40926724672317505, 0.3591955304145813, -0.26392310857772827, -0.4588378667831421, -0.19671471416950226, 0.11438723653554916, -0.14679057896137238, -0.5368814468383789, -0.7999378442764282, 0.30444109439849854, -0.30323949456214905, 0.8320887088775635, -0.03183035925030708, -0.10098394006490707, -0.1816435605287552, -0.04133595526218414, -0.30009451508522034, -0.25245532393455505, -0.3884304165840149, -0.2208280712366104, 0.0619085319340229, 0.1429751068353653, 0.7407848834991455, 0.43957942724227905, 0.6534913182258606, 0.2678835391998291, -0.11093313246965408, 0.21131855249404907, -0.0353790745139122, 0.2611859440803528, -0.05593938007950783, -0.24790838360786438, -0.49812790751457214, 0.014125608839094639, 0.7564642429351807, 0.6309126019477844, -0.33502092957496643, 0.41217130422592163, 0.20806723833084106, 0.6611886620521545, -0.9108384847640991, -0.3300565481185913, -0.6456729173660278, 0.14791017770767212, -0.08703839033842087, 0.1295267641544342, -0.26370155811309814, -0.5379369258880615, 0.6027653217315674, -0.6231548190116882, 0.12852752208709717, 0.10525322705507278, 0.8513345718383789, 0.4315275549888611, -0.4390660226345062, -0.2048351764678955, -0.761864960193634, 1.0347429513931274, -1.0586518049240112, 0.24644054472446442, 0.47367873787879944, 0.3393833041191101, -0.024109505116939545, -0.7277678847312927, -0.11113521456718445, 0.09381375461816788, -0.023090356960892677, 0.4452299177646637, -0.24076567590236664, 0.09914238005876541, -0.08108107000589371, 0.27798885107040405, -0.5456081032752991, 0.15026302635669708, -0.1425335705280304, -0.5560896992683411, 0.6372668743133545, 0.02169313281774521, 0.02969270944595337, -0.3459683954715729, -0.5300351977348328, -0.033878810703754425, -0.07797341793775558, -0.12920527160167694, 0.4607919454574585, 0.140425905585289, -0.15662768483161926, 0.38488200306892395, -0.23793308436870575, 0.6191053986549377, -0.30510208010673523, -0.33029940724372864, 0.11714817583560944, -0.5353575944900513, -0.3316039741039276, -0.11799415946006775, 1.253241777420044, 0.7174545526504517, 0.33238455653190613, -0.5003933906555176, -0.06127160042524338, -0.05631544068455696, 0.4384515583515167, -0.5602263808250427, 0.05876300483942032, 0.30636459589004517, -0.1234363242983818, -0.2939390242099762, 0.27017074823379517, -1.0180320739746094, -0.2953307032585144, 0.16325120627880096, 0.34314966201782227, -0.4527122676372528, -0.11855150014162064, 0.0677526518702507, -0.4020465612411499, -0.23429816961288452, 0.18879717588424683, -0.5708156824111938, 0.3530276119709015, 0.3838856518268585, 0.7354348301887512, -0.3803921341896057, -0.4619249105453491, -0.16901876032352448, 0.10564243793487549, -0.3936495780944824, 0.8233104944229126, -0.16980555653572083, -0.4756408631801605, -0.1365736424922943, -0.7236011624336243, -0.2578074038028717, -0.21250960230827332, 0.9987176060676575, -0.05662969499826431, 0.18843285739421844, -0.2396516054868698, -0.6502714157104492, -0.12993569672107697, 0.09390798956155777, -0.584768533706665, 1.3023419380187988, 0.14632907509803772, -1.0786250829696655, 0.5771405100822449, -0.3018838167190552, -0.2996841073036194, -0.3029930889606476, -0.06025797873735428, -0.7212538123130798, 0.39105960726737976, 0.480072021484375, 0.45278874039649963, -0.567376971244812, 0.3195977210998535, -0.18018250167369843, -0.40841832756996155, 0.45586058497428894, -0.743998646736145, 0.37897220253944397, 0.2264057993888855, -0.21352437138557434, -0.06810706108808517, -0.7565207481384277, 0.26833876967430115, -0.25709837675094604, -0.11325634270906448, -0.3222506046295166, -0.06202095374464989, 0.017436129972338676, -0.0176082793623209, 0.25721824169158936, -0.279914528131485, -0.34287434816360474, -0.1725076586008072, 0.14054477214813232, 0.4246634840965271, 0.2934950888156891, 0.37651118636131287, -0.27808746695518494, 0.6785092949867249, -0.1687740832567215, -0.007042914628982544, -0.023063810542225838, -0.42903459072113037, -0.19351695477962494, -0.019014371559023857, 0.6328856945037842, 0.44562050700187683, -0.3428961932659149, 0.3860248327255249, -0.2966284155845642, -0.821122407913208, -0.17473523318767548, -0.11026052385568619, 0.6976712346076965, 0.36088651418685913, 0.3206009268760681, -0.07600804418325424, -0.6371719837188721, -0.5617362260818481, -0.8956218957901001, -0.4429837465286255, -0.42212367057800293, -0.16617195308208466, 0.45209604501724243, 0.022507891058921814, 1.0434036254882812, -0.25767919421195984, -0.015961911529302597, -0.21756473183631897, 0.9727905988693237, -0.23956282436847687, 0.26216864585876465, 0.6500892043113708, -0.3093596398830414, -0.3721095025539398, -0.2454507201910019, -0.8968045115470886, -0.06456554681062698, -0.2844615578651428, 0.0560525618493557, 0.3331071436405182, 0.20722989737987518, -0.34691348671913147, 0.506756603717804, 0.7087572813034058, -0.08675836771726608, 0.6940913200378418, -0.4899405837059021, 0.4042004346847534, -1.1923103332519531, 0.011512117460370064, 0.28750842809677124, -0.1434127539396286, -0.45071178674697876, -0.029472284018993378, 0.08614330738782883, 0.4032374322414398, -0.07210695743560791, 0.20995180308818817, -0.5992191433906555, -0.3291025161743164, 0.03644680976867676, 0.4908095896244049, 0.15456010401248932, 0.08105991035699844, -0.1152285486459732, 0.8603833317756653, 0.4757356643676758, -0.5312995314598083, -0.22578169405460358, 0.001612303894944489, -0.45885732769966125, 0.6434857845306396, -0.7917802333831787, -0.06797527521848679, 0.2188427746295929, 0.18057826161384583, -0.8830122947692871, -0.345926970243454, -0.24364157021045685, -0.5999007225036621, 0.1713809072971344, 0.34828847646713257, -0.47846758365631104, -0.27976101636886597, -0.5755000114440918, 0.20202049612998962, 0.2081194669008255, -0.0655151754617691, 0.6717997193336487, 0.38067153096199036, -0.09856688976287842, -0.9013127684593201, -0.8280671834945679, 0.25964853167533875, -0.3317926824092865, -0.32238826155662537, 0.046875253319740295, 0.147163525223732, -0.38671186566352844, -0.199739009141922, -0.6478843688964844, -0.30601605772972107, 0.3776475489139557, 0.21669110655784607, -0.11553439497947693, -0.014664556831121445, 0.01909911446273327, 0.3168148696422577, -0.06152498349547386, 0.027322329580783844, -0.08299440145492554, 0.03209344297647476, -0.16707903146743774, -0.26789602637290955, -0.2225736379623413, 0.10583006590604782, 0.45260751247406006, -0.294274240732193, 0.3929225206375122, 0.7302289009094238, -0.5170283317565918, -0.011034444905817509, -0.5975976586341858, 0.07672300934791565, -0.3602803349494934, 0.44920557737350464, -0.05791597440838814, -0.573260486125946, 0.7102431058883667, -0.05708463490009308, 0.11293192952871323, 0.6313358545303345, 0.09537842869758606, -0.4365352392196655, 0.5390419363975525, 0.4998738765716553, -0.07936317473649979, 0.06023929640650749, 0.13271880149841309, -0.09082143008708954, -0.7794269919395447, 0.1480361521244049, -0.7844001054763794, -0.1702272593975067, -0.5746039152145386, -0.27426040172576904, 0.5501919984817505, 0.37263351678848267, 0.05040410906076431, 0.39408934116363525, -0.28074148297309875, 0.34992361068725586, 0.5547123551368713, -0.19962075352668762, 0.5166934728622437, -0.09154228866100311, -0.10829944908618927, -0.2313137799501419, -0.53400719165802, -0.7390803098678589, 1.441664457321167, 0.36253851652145386, 0.5161097645759583, 0.09502873569726944, 0.7372161149978638, 0.29873237013816833, 0.12377049028873444, -0.26861998438835144, 0.21685728430747986, -0.0518544502556324, -0.6948040723800659, -0.7464399337768555, -0.6411016583442688, -0.6940891146659851, 0.3682831823825836, -0.408907413482666, -1.0962120294570923, -0.14516489207744598, 0.035628337413072586, -0.698497474193573, 0.37255364656448364, -0.7232230305671692, 0.6337534785270691, -0.04482635110616684, 0.21149905025959015, 0.06127690523862839, -0.8057264685630798, 0.36510998010635376, -0.22223852574825287, 0.30187973380088806, -0.14347657561302185, -0.2591007351875305, 0.9713715314865112, -0.25010472536087036, 0.5790145993232727, 0.2227732092142105, -0.08904422074556351, 0.4250655770301819, 0.06479732692241669, 0.41596877574920654, 0.2944469451904297, -0.31573039293289185, 0.48344090580940247, -0.12027157098054886, -0.1722639799118042, -0.3984782099723816, 0.23499180376529694, -0.7167260050773621, -0.056416094303131104, -0.6914356350898743, -0.6080886125564575, -0.5959921479225159, 0.25004974007606506, 0.9022844433784485, 0.46341532468795776, -0.38313210010528564, 0.14098341763019562, 0.3884969651699066, -0.06635496020317078, 0.8333264589309692, 0.11417602002620697, 0.0909680500626564, -0.685725748538971, 0.5414586663246155, 0.15956974029541016, 0.5717383027076721, 0.41471919417381287, 0.30197975039482117, -0.26886114478111267, -0.9281847476959229, -0.3969687819480896, -0.08562314510345459, -0.32483479380607605, -0.46086734533309937, -0.639875590801239, -0.04308050498366356, -0.2242034673690796, -0.19649724662303925, -0.6495739221572876, -0.4459311068058014, -0.10924026370048523, -0.38931894302368164, 0.3349286615848541, 0.6622911095619202, -0.022380882874131203, 0.6612288951873779, -0.9076142907142639, 0.2901363968849182, 0.13052169978618622, 0.6185360550880432, -0.35006967186927795, -0.5365778207778931, -0.3180599510669708, 0.18065305054187775, -0.28395795822143555, -0.8579577207565308, 0.0390607975423336, 0.23165245354175568, 0.6018347144126892, 0.24519897997379303, 0.23030826449394226, 0.3710429072380066, -0.12457076460123062, 1.011100172996521, 0.19007547199726105, -1.1352752447128296, 0.3026394546031952, -0.5654792785644531, 0.47280192375183105, 0.9717997312545776, 0.22229567170143127, -0.22379601001739502, -0.8026589155197144, -0.7344455718994141, -0.8380790948867798, 0.4010232388973236, 0.6166818141937256, -0.456598699092865, 0.10625133663415909, 0.21451334655284882, -0.040385276079177856, 0.3888565003871918, -0.3816981017589569, -0.34710878133773804, -0.024014104157686234, -0.1380366086959839, -0.04618261381983757, -0.4787326753139496, 0.11967555433511734, 0.19945783913135529, 0.5517885088920593, -0.07238410413265228, -0.06430307775735855, 0.09610696136951447, -0.08201689273118973, -0.1468161642551422, 0.4097926616668701, 0.6989896893501282, 0.8876933455467224, -0.6313299536705017, -0.019268687814474106, 0.42962372303009033, -0.7435470819473267, -0.01925646699965, 0.0454094335436821, -0.1758260875940323, 0.34272557497024536, 0.5691510438919067, 0.3561374247074127, 0.5242463946342468, -0.48569637537002563, 0.4134083688259125, -0.47465458512306213, -0.2152886986732483, -0.24194186925888062, -0.32126978039741516, -0.06565690040588379, -0.20150704681873322, 0.41149190068244934, 0.46858224272727966, 0.42111778259277344, 0.0016624756390228868, 0.2996046841144562, 0.10983388125896454, -0.4870915114879608, -0.17641295492649078, 0.7495163083076477, 0.14512869715690613, 0.017216043546795845, 0.14795643091201782, -0.26290005445480347, -0.2749759256839752, 0.45753106474876404, 0.12441679835319519, 1.1641948223114014, -0.31914693117141724, 0.5497785806655884, 0.5798370838165283, 0.7537574172019958, -0.4277554452419281, 0.15480567514896393, 0.3089985251426697, -0.5823108553886414, -0.5417520403862, -0.5305259227752686, -0.6851422190666199, -0.29093649983406067, -0.8704088926315308, -0.21637071669101715, -0.14043575525283813, -0.5567293763160706, -0.298489511013031, 0.0004836746375076473, -0.4292431175708771, 0.41384157538414, -0.10475270450115204, 0.7292969226837158, -0.7757219672203064, 0.21629910171031952, 0.5244698524475098, -0.11091362684965134, -0.8428323864936829, 0.3361993730068207, 0.19464550912380219, -0.1509598344564438, -0.11960995197296143, -0.07016870379447937, -0.38895857334136963, -0.42795562744140625, 0.029275789856910706, -0.8993719220161438, 1.2811387777328491, 0.3780358135700226, -0.372433066368103, -0.03465776517987251, 0.30564388632774353, 0.6241467595100403, 0.008817726746201515, 0.6651877760887146, 0.7729852199554443, 0.4798162877559662, -0.16311746835708618, -1.1828784942626953, -0.02938859909772873, 0.17764388024806976, 0.23349805176258087, 0.1358000785112381, -0.4643262028694153, 0.5627329349517822, -0.3311680853366852, -0.38681796193122864, 0.1438804715871811, 0.7852156162261963, 0.19639377295970917, 0.2627166509628296, 0.41814106702804565, 0.4306396543979645, 0.9073651432991028, -0.33130502700805664, 1.0763561725616455, -0.24795116484165192, 0.37256914377212524, 1.4683228731155396, -0.0036932434886693954, 0.7523647546768188, 0.33416256308555603, -0.4853860139846802, 0.08659712225198746, 0.4622047245502472, 0.3540913462638855, 0.12676234543323517, -0.034141603857278824, 0.11679406464099884, -0.07938335090875626, 0.005228017456829548, -0.26953017711639404, 0.4948490858078003, 0.2832165062427521, -0.19208768010139465, -0.4306333363056183, -0.5508597493171692, 0.11467866599559784, 0.4635370671749115, 0.09764055162668228, 0.7520604729652405, 0.09102039039134979, -0.5635728240013123, 0.17972825467586517, -0.11795090138912201, 0.6931192278862, -0.5950137376785278, 0.3623497784137726, -0.08839737623929977, -0.06973302364349365, -0.0016523462254554033, -0.6775442361831665, 0.3486570715904236, 0.16864295303821564, 0.2487783581018448, -0.02948555164039135, 0.44961678981781006, -0.09016615897417068, -0.6373770236968994, 0.04920632019639015, 0.617190957069397, -0.0009615168091841042, -0.2536109685897827, -0.28373798727989197, -0.1272759884595871, -0.08287432044744492, -0.28489187359809875, 0.13256345689296722, 0.6520932912826538, 0.11984724551439285, 0.5612986087799072, 0.18091580271720886, 0.1532716155052185, 0.047329146414995193, 0.04196958243846893, 0.20785610377788544, -0.3571150302886963, -0.3124069571495056, -0.8465937972068787, 0.7886759638786316, -0.3709217607975006, -0.894264817237854, 0.9938903450965881, 0.4927440881729126, 0.6211572289466858, 0.14573021233081818, 1.0350255966186523, 0.22170715034008026, 0.5629280805587769, -0.32007813453674316, 0.7651034593582153, -0.17025011777877808, 0.15349455177783966, -0.8791828751564026, -0.9333305358886719, -0.366802841424942, 0.3319806456565857, -0.008779344148933887, 0.22160756587982178, 0.9159361124038696, 0.23514454066753387, 0.312113493680954, 0.2870683968067169, 0.32318976521492004, -0.13547296822071075, 0.18083077669143677, 0.14629872143268585, 0.41823530197143555, -0.8711310625076294, 0.5966706871986389, -0.4610747694969177, -0.18483847379684448, 0.03815352916717529, -1.278445839881897, -0.8088032007217407, -0.4802725315093994, -0.3588881194591522, 0.005980899091809988, -0.08040913939476013, 0.6627333760261536, 0.47601690888404846, -0.7448456883430481, -0.259068101644516, -0.015202331356704235, 0.1625748574733734, -0.5640773773193359, -0.13210035860538483, 0.39805278182029724, -0.16547197103500366, -0.5931482315063477, 0.030245861038565636, 0.32222527265548706, 0.19640956819057465, -0.1151723638176918, 0.1084144115447998, -0.09444157779216766, 0.20807886123657227, 0.15778706967830658, 0.11399468779563904, -0.6142064332962036, -0.38927724957466125, -0.1197909265756607, -0.1357066035270691, -0.3296545743942261, 0.5579690337181091, -0.2727198600769043, 0.36948415637016296, 0.2746404707431793, 0.6972836852073669, 0.16438046097755432, 0.29480040073394775, 0.9324419498443604, -1.083869457244873, -0.2192610502243042, 0.06944111734628677, 0.45908114314079285, 0.3478001058101654, -0.174754798412323, 0.7053795456886292, -0.25912120938301086, -0.6055551767349243, -0.9143326282501221, 0.004017622675746679, -0.9158956408500671, 0.10558038204908371, 0.9383589029312134, -0.30570292472839355, 0.09604732692241669, -0.08189114928245544, 0.2884083092212677, 0.36467164754867554, -0.5183297395706177, 0.9112655520439148, 0.8218608498573303, 0.08506453782320023, 0.08293182402849197, -0.5302738547325134, 0.5519214868545532, 0.32166439294815063, -0.9406408667564392, 0.2132536619901657, 0.2529343366622925, -0.022374577820301056, 0.43361881375312805, 0.3945777714252472, -0.08053338527679443, 0.23623761534690857, 0.13582348823547363, 0.12677712738513947, 0.13091397285461426, -0.3209494650363922, -0.11306163668632507, -0.033958468586206436, -0.027918320149183273, -0.11249533295631409 ]
http://arxiv.org/abs/2406.17271v1
http://arxiv.org/pdf/2406.17271v1
DARG: Dynamic Evaluation of Large Language Models via Adaptive Reasoning Graph
2024-06-25T04:27:53
2024-06-25T04:27:53
Zhehao Zhang, Jiaao Chen, Diyi Yang
cs.CL
cs.CL
The current paradigm of evaluating Large Language Models (LLMs) through static benchmarks comes with significant limitations, such as vulnerability to data contamination and a lack of adaptability to the evolving capabilities of LLMs. Therefore, evaluation methods that can adapt and generate evaluation data with controlled complexity are urgently needed. In this work, we introduce Dynamic Evaluation of LLMs via Adaptive Reasoning Graph Evolvement (DARG) to dynamically extend current benchmarks with controlled complexity and diversity. Specifically, we first extract the reasoning graphs of data points in current benchmarks and then perturb the reasoning graphs to generate novel testing data. Such newly generated test samples can have different levels of complexity while maintaining linguistic diversity similar to the original benchmarks. We further use a code-augmented LLM to ensure the label correctness of newly generated data. We apply our DARG framework to diverse reasoning tasks in four domains with 15 state-of-the-art LLMs. Experimental results show that almost all LLMs experience a performance decrease with increased complexity and certain LLMs exhibit significant drops. Additionally, we find that LLMs exhibit more biases when being evaluated via the data generated by DARG with higher complexity levels. These observations provide useful insights into how to dynamically and adaptively evaluate LLMs. The code is available at https://github.com/SALT-NLP/DARG.
[ -0.3884395956993103, -1.0992562770843506, 0.40401795506477356, 0.24166327714920044, -0.2018379122018814, 0.6323526501655579, -0.5946469306945801, -0.29903265833854675, -0.2788560688495636, 0.27936190366744995, -0.42248499393463135, -0.7260398864746094, -0.8422751426696777, 0.1886889785528183, -0.14178983867168427, 1.0001299381256104, -0.12298677116632462, -0.12673483788967133, -0.27137964963912964, -0.40331029891967773, -0.5407431721687317, -0.1917068511247635, -0.5457236170768738, -0.4439548850059509, 0.2840301990509033, 0.2135324776172638, 0.8366086483001709, 0.6935663819313049, 0.39814984798431396, 0.4034407436847687, -0.3727065622806549, 0.46631014347076416, -0.6371726989746094, 0.5136948227882385, -0.27695372700691223, -0.29184821248054504, -0.5716696977615356, -0.25447213649749756, 0.8956586122512817, 0.8822028636932373, -0.015362577512860298, 0.15717817842960358, -0.030530771240592003, 0.5320906043052673, -0.5010604858398438, 0.3379017412662506, -0.9552831053733826, -0.1697349101305008, -0.06839723885059357, -0.06553120911121368, -0.3839709758758545, -0.44000574946403503, 0.3262159526348114, -0.36884719133377075, -0.24297623336315155, 0.0013395572314038873, 0.6522517800331116, 0.4579394459724426, -0.3990386426448822, -0.4301716685295105, -0.5586581826210022, 0.7707581520080566, -0.6461577415466309, 0.26552730798721313, -0.10543222725391388, 0.5091906785964966, -0.4888122081756592, -0.9509039521217346, -0.4010908305644989, -0.5884951949119568, 0.15918280184268951, -0.053418006747961044, -0.25533327460289, -0.03355879336595535, 0.43922674655914307, 0.4156179130077362, -0.44396355748176575, 0.2123166024684906, 0.2260611653327942, 0.18604159355163574, 0.6167942881584167, 0.2582557201385498, 0.43693870306015015, -0.06477175652980804, -0.2631373107433319, -0.07435047626495361, -0.39317551255226135, -0.181497722864151, 0.4214553236961365, 0.3270888924598694, -0.14742550253868103, 0.16817936301231384, -0.1605709046125412, 0.8516147136688232, 0.08750265836715698, -0.03820168599486351, 0.6183953881263733, -0.15674357116222382, -0.10538425296545029, -0.2530950903892517, 0.5451703667640686, 0.15602605044841766, 0.30679842829704285, -0.15983416140079498, -0.2740292251110077, -0.2748207151889801, 0.22540055215358734, -0.5736464262008667, -0.28274771571159363, 0.1367701143026352, -0.3706904947757721, -0.3199775218963623, -0.2806864380836487, -1.0892438888549805, -0.767774760723114, -0.22668975591659546, 0.25641393661499023, -0.4390014708042145, -0.27816081047058105, 0.2648294270038605, -0.09213989973068237, -0.09834349155426025, 0.5397946834564209, -0.5674306154251099, 0.44260603189468384, 0.6032141447067261, 0.6604225635528564, -0.5897619128227234, -0.2856729328632355, -0.6769860982894897, 0.04508756846189499, -0.15896040201187134, 0.7577520608901978, -0.8728578686714172, -0.21386562287807465, -0.04980485141277313, -0.17161370813846588, -0.10407420247793198, -0.945091187953949, 0.6036229133605957, -0.5689386129379272, -0.23300041258335114, -0.18575279414653778, -0.5695288777351379, -0.1279456615447998, 0.3745895028114319, -0.572340726852417, 1.1971428394317627, 0.43035921454429626, -0.7261596322059631, 0.30205675959587097, -0.8333302736282349, -0.42769309878349304, 0.3631611466407776, -0.15492664277553558, -0.5154746770858765, -0.0005206019850447774, 0.2972818613052368, 0.044733528047800064, -0.42615294456481934, 0.4039989709854126, -0.6059737205505371, -0.23034021258354187, 0.37100303173065186, -0.35180535912513733, 0.7894204258918762, 0.19539886713027954, -0.513572096824646, 0.311273455619812, -1.1297941207885742, 0.2851334512233734, 0.07209102809429169, -0.5631080865859985, -0.18664725124835968, 0.21226969361305237, -0.4000118374824524, -0.0539250373840332, 0.18090583384037018, -0.24059008061885834, 0.3380354046821594, -0.21158947050571442, 0.31924188137054443, 0.9048063158988953, -0.042252689599990845, 0.30886533856391907, -0.3258105218410492, 0.7087576389312744, -0.14099374413490295, -0.049337394535541534, -0.013288365676999092, -0.3437201976776123, -0.9644510746002197, -0.36194610595703125, 0.39859241247177124, 0.5510558485984802, -0.7990818023681641, 0.501011312007904, -0.5421816110610962, -0.5567573308944702, -0.2759544849395752, 0.16157236695289612, 0.19293808937072754, 0.2036210596561432, 0.23353338241577148, -0.13472849130630493, -0.5253254771232605, -0.6036657094955444, -0.38707733154296875, -0.16542458534240723, 0.013820674270391464, 0.7582367658615112, 0.41603031754493713, -0.4179966151714325, 0.6572708487510681, -0.42581892013549805, 0.3455813527107239, -0.3799269199371338, 0.21720436215400696, 0.3232654333114624, 0.3141360580921173, 0.666705846786499, -0.4482451379299164, -0.4979504942893982, 0.2800210118293762, -0.5728824138641357, -0.7525911927223206, -0.23025211691856384, -0.1397472321987152, 0.029063202440738678, 0.3228369653224945, -0.4527853727340698, 0.06081269681453705, 0.635562539100647, -0.21451744437217712, 0.8806567788124084, -0.16675381362438202, 0.02321852184832096, -0.5456428527832031, -0.09271011501550674, -0.2531147599220276, -0.2936713695526123, -0.5197587609291077, 0.3350258767604828, -0.17398515343666077, 0.02520449459552765, -0.06732109189033508, 0.8190470337867737, -0.5531413555145264, -0.1913267970085144, -0.41255706548690796, 0.27785998582839966, -0.11897214502096176, 0.21277634799480438, -0.3944268226623535, 0.5872507691383362, 0.8150089383125305, -0.6407397985458374, 0.7801726460456848, 0.061887118965387344, -0.7292940020561218, 0.24295316636562347, -0.46947452425956726, 0.19127494096755981, 0.06547563523054123, 0.29263967275619507, -0.8515080213546753, 0.0013471744023263454, 0.08946626633405685, -0.17998309433460236, 0.26023998856544495, -0.20349198579788208, -0.6060540676116943, -0.3715244233608246, -0.06251700222492218, 0.5118153095245361, 0.5271002054214478, -0.827722430229187, 0.7550534009933472, 0.2793672978878021, -0.39959871768951416, -0.4054245352745056, -0.3664300739765167, 0.17883098125457764, -0.34546297788619995, -0.6774881482124329, 0.320318341255188, -0.27775564789772034, -0.4129399359226227, -0.11680405586957932, -0.27156612277030945, 0.15876521170139313, 0.2419360876083374, 0.020688608288764954, -0.06594434380531311, -0.10232817381620407, 0.26597121357917786, 0.12465569376945496, -0.006365182343870401, 0.017470914870500565, -0.33981746435165405, 0.7665619254112244, -0.2729052007198334, -0.27015364170074463, -0.019926294684410095, -0.0630374476313591, 0.5212504863739014, -0.2561100423336029, 0.4075543284416199, 0.6671987771987915, -0.23954741656780243, -0.8960443735122681, -0.32132285833358765, 0.22496148943901062, -0.5451318621635437, 0.6380820274353027, -0.5593835711479187, -0.9113397002220154, 0.7870259881019592, -0.6815882921218872, -0.010341169312596321, 0.118294358253479, 1.001792073249817, 0.30764174461364746, 0.7802100777626038, 0.22296679019927979, 0.3487519919872284, 0.3427804410457611, -0.054447758942842484, 0.2046055644750595, -0.6443111300468445, -0.19992667436599731, -0.37244486808776855, -0.357113778591156, -0.7819689512252808, -0.6601802706718445, 0.2918316423892975, 0.18051370978355408, -0.2888345420360565, 0.0204418133944273, -0.3605063855648041, 0.46214720606803894, 0.21851880848407745, 0.06073945388197899, 0.27577105164527893, -0.11318536102771759, -0.32730457186698914, 0.20787309110164642, -0.6304870247840881, -0.44779688119888306, 1.0216448307037354, 0.38983353972435, 0.9091757535934448, 0.12071551382541656, 0.3707188665866852, 0.5703477263450623, 0.31841787695884705, -0.5907611846923828, 0.7233023047447205, -0.43456125259399414, -0.13291636109352112, -0.21029625833034515, -0.6676231622695923, -0.8687646389007568, 0.3672834038734436, -0.13619457185268402, -0.672054648399353, 0.03928500786423683, -0.027483148500323296, -0.07568532228469849, 0.2960290014743805, -0.535239577293396, 0.5972933769226074, -0.5418547987937927, -0.2957349419593811, -0.17153380811214447, -0.3106999099254608, 0.304031640291214, -0.32215964794158936, 0.2644606828689575, -0.32087472081184387, -0.006684004794806242, 0.5906412601470947, -0.3709559142589569, 0.6673916578292847, -0.1737636923789978, -0.17740154266357422, 0.24590829014778137, 0.16651390492916107, 0.6177091598510742, 0.18156678974628448, -0.5099830627441406, 0.0764535516500473, -0.25965097546577454, -0.436949223279953, -0.9012477993965149, 0.8665863275527954, -0.7432413697242737, -0.8153100609779358, -0.4104100465774536, -1.1035550832748413, -0.38063058257102966, 0.2665291428565979, -0.4364856481552124, 0.10475216060876846, 0.08055960386991501, 0.17780625820159912, 0.32925844192504883, -0.7789151072502136, 0.18810735642910004, 0.41563546657562256, -0.33330532908439636, -0.5731483101844788, 0.6805211901664734, -0.020784303545951843, 0.5260082483291626, 0.03384823724627495, 0.3860264718532562, -0.1647612750530243, -0.9968169331550598, -0.3041872978210449, 0.0832185372710228, -0.862995982170105, -0.1673586070537567, -0.5446446537971497, -0.20393574237823486, -0.31729182600975037, 0.01849220134317875, -0.15850242972373962, -0.43603384494781494, 0.05662631243467331, -0.08693589270114899, 0.4411746561527252, 0.6349669694900513, -0.012137209996581078, 0.32871219515800476, -0.5303128361701965, 0.24407881498336792, 0.32107535004615784, 0.6400802731513977, 0.02673926018178463, -0.568611204624176, -0.14614832401275635, -0.0695943608880043, -0.22706902027130127, -0.5877741575241089, 0.19375964999198914, 0.2790769636631012, 0.9117656946182251, 0.14775903522968292, 0.14571404457092285, 0.7255906462669373, -0.5588203072547913, 0.6364233493804932, -0.17570772767066956, -1.1636422872543335, 0.33661016821861267, -0.5404514074325562, 0.4701732099056244, 0.2923712134361267, -0.005909987725317478, -0.19169753789901733, -0.3610740602016449, -0.41863924264907837, -0.8306606411933899, 0.6224924921989441, 0.08449859917163849, 0.17438288033008575, 0.06256124377250671, 0.6056689620018005, 0.3063715100288391, 0.1001744493842125, -0.7193800806999207, -0.26653987169265747, -0.04222346469759941, -0.1186193972826004, 0.2646183371543884, -0.22003737092018127, -0.18184970319271088, -0.27385973930358887, 0.40183812379837036, -0.22678320109844208, 0.11713442951440811, -0.38727834820747375, -0.07454312592744827, 0.09117023646831512, 0.23204047977924347, 0.311531662940979, 0.8701789975166321, -0.1959100067615509, 0.25959697365760803, 0.5388585329055786, -0.22556380927562714, 0.096200130879879, 0.2585480213165283, -0.15239903330802917, -0.07932644337415695, 0.4206234812736511, 1.2017930746078491, 0.06857282668352127, -1.0366244316101074, 0.2481413334608078, 0.011564038693904877, -0.07786335796117783, -0.02013135887682438, 0.3531232178211212, -0.00845714658498764, 0.39775821566581726, 0.14606109261512756, -0.06737957894802094, -0.13675031065940857, -0.3878447413444519, 0.3786952793598175, 0.426362544298172, 0.09496010094881058, -0.09235239028930664, 0.44659632444381714, 0.22237977385520935, -0.2708665132522583, 0.4643976092338562, -0.4148475229740143, -0.6081908345222473, 0.6500711441040039, 0.7396445274353027, 0.8284966349601746, -0.14037609100341797, 0.2164483368396759, 0.25869664549827576, 0.1770995855331421, 0.2662942111492157, 0.21502570807933807, 0.02779756672680378, -0.7552706003189087, -0.5241789817810059, -0.8456102609634399, -0.4816429913043976, 0.2918075621128082, -0.32270893454551697, 0.44295361638069153, -0.6153880953788757, -0.17353995144367218, -0.023278292268514633, 0.024644024670124054, -0.31482625007629395, 0.29214462637901306, 0.14674527943134308, 0.887565016746521, -0.4974188804626465, 0.7469763159751892, 0.7386681437492371, 0.09670939296483994, -0.32592320442199707, 0.08708609640598297, -0.16340011358261108, -0.921527087688446, 0.7961684465408325, -0.06887708604335785, -0.0372389517724514, -0.07224886119365692, -0.40833574533462524, -1.0370359420776367, 0.9081570506095886, 0.6280479431152344, -0.3314482569694519, 0.20529024302959442, 0.2942722737789154, 0.6657378673553467, -0.4684787094593048, 0.3249397277832031, 0.7546094655990601, 0.6751874685287476, 0.19938915967941284, -0.8320061564445496, 0.1122833788394928, -0.40328508615493774, 0.0345349945127964, 0.03100721538066864, -0.4808539152145386, 0.8318666815757751, -0.1642620712518692, -0.2730056643486023, 0.08534374088048935, 0.43114233016967773, 0.5448411107063293, 0.11910300701856613, 0.7230867743492126, 0.6482430696487427, 0.9106714129447937, -0.3292646110057831, 0.964408814907074, -0.3585571348667145, 0.3335450291633606, 1.2498310804367065, -0.4925094544887543, 0.48331108689308167, -0.027210213243961334, -0.31551024317741394, 0.7736246585845947, 0.5612956881523132, -0.33864888548851013, 0.23831604421138763, 0.8676931262016296, -0.3544754683971405, -0.29692548513412476, -0.07374563813209534, -0.14442627131938934, 0.4991193413734436, 0.35608282685279846, -0.23068569600582123, -0.4071689546108246, -0.012374155223369598, -0.00015685833932366222, 0.16620659828186035, -0.15644384920597076, 0.608112633228302, -0.14599330723285675, -0.6022380590438843, 1.0247305631637573, 0.05188097432255745, 0.4472229480743408, -0.5709887146949768, 0.06658726930618286, -0.16144534945487976, 0.20600715279579163, -0.13756628334522247, -0.7327218651771545, 0.13962477445602417, 0.10485318303108215, -0.031031403690576553, -0.17533446848392487, 0.7583736181259155, -0.34107235074043274, -0.42732366919517517, 0.6072308421134949, 0.5444191098213196, 0.07024747133255005, 0.3686641752719879, -0.8381755948066711, 0.497925728559494, 0.034871138632297516, -0.20206846296787262, 0.33471375703811646, 0.6255210041999817, -0.14437945187091827, 0.9991621971130371, 0.6274757385253906, 0.3150789141654968, 0.43326687812805176, 0.46734723448753357, 1.0386228561401367, -0.3906130790710449, -0.35105979442596436, -0.8671645522117615, 0.3712029755115509, -0.1727733016014099, -0.0847645252943039, 0.6445411443710327, 0.3686456084251404, 0.7023533582687378, 0.044782605022192, 1.0079984664916992, -0.08544954657554626, 0.410789430141449, -0.41845765709877014, 0.6552605628967285, -0.45341765880584717, 0.5687971711158752, -0.39332592487335205, -0.9194379448890686, -0.4364745020866394, 0.4054631292819977, -0.4827786982059479, 0.3360413908958435, 0.6762974262237549, 0.5960961580276489, 0.13275933265686035, -0.15965870022773743, 0.1586718112230301, 0.631941020488739, 0.7033970355987549, 0.48260265588760376, 0.8519359827041626, -0.08159708976745605, 0.5191987156867981, 0.05258767306804657, -0.553169310092926, 0.14339126646518707, -1.185246467590332, -0.8689388036727905, -0.2173905223608017, -0.6988313794136047, -0.4229995608329773, 0.21151557564735413, 0.692956805229187, 0.4524952471256256, -0.7729318737983704, -0.24846571683883667, -0.20965442061424255, 0.3036535680294037, -0.19093580543994904, -0.25304198265075684, 0.5215550661087036, -0.60154128074646, -0.9583013653755188, 0.4088825583457947, 0.4228019416332245, -0.11546535789966583, -0.14660660922527313, -0.2025216966867447, -0.20484121143817902, 0.12679144740104675, 0.664919376373291, -0.021278979256749153, -0.706605076789856, -0.4366361200809479, -0.2900000214576721, 0.2698571979999542, -0.025620970875024796, 0.6166671514511108, -0.7410938739776611, 0.6484693884849548, 0.6022626757621765, 1.046639323234558, 0.28794369101524353, 0.08691727370023727, 0.5443869829177856, -0.5216579437255859, -0.15540193021297455, 0.20308110117912292, 0.25893646478652954, 0.30048978328704834, 0.0352378785610199, 0.44162440299987793, 0.3478720188140869, -0.6852346658706665, -1.1450921297073364, 0.3954547941684723, -1.082521677017212, -0.3314196467399597, 1.4347436428070068, -0.34565311670303345, 0.040433820337057114, -0.03281534090638161, -0.051276568323373795, 0.20975427329540253, -0.1803116798400879, 0.9789703488349915, 0.7993248105049133, -0.2728756070137024, -0.3473392426967621, -0.28062188625335693, 0.4870882034301758, 0.3901631236076355, -1.2012706995010376, 0.3466576039791107, 0.40327367186546326, 0.394321471452713, -0.0009292177855968475, 0.2588031589984894, -0.15556924045085907, 0.10841553658246994, -0.030059490352869034, -0.21039998531341553, -0.014288939535617828, -0.061743322759866714, -0.30064883828163147, 0.18561381101608276, 0.23782764375209808, 0.12688873708248138 ]
http://arxiv.org/abs/2406.17266v1
http://arxiv.org/pdf/2406.17266v1
AG-LSEC: Audio Grounded Lexical Speaker Error Correction
2024-06-25T04:20:49
2024-06-25T04:20:49
Rohit Paturi, Xiang Li, Sundararajan Srinivasan
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG
Speaker Diarization (SD) systems are typically audio-based and operate independently of the ASR system in traditional speech transcription pipelines and can have speaker errors due to SD and/or ASR reconciliation, especially around speaker turns and regions of speech overlap. To reduce these errors, a Lexical Speaker Error Correction (LSEC), in which an external language model provides lexical information to correct the speaker errors, was recently proposed. Though the approach achieves good Word Diarization error rate (WDER) improvements, it does not use any additional acoustic information and is prone to miscorrections. In this paper, we propose to enhance and acoustically ground the LSEC system with speaker scores directly derived from the existing SD pipeline. This approach achieves significant relative WDER reductions in the range of 25-40% over the audio-based SD, ASR system and beats the LSEC system by 15-25% relative on RT03-CTS, Callhome American English and Fisher datasets.
[ -0.35654520988464355, -0.516846239566803, 0.5698302984237671, -0.06807158887386322, -0.05334749072790146, 0.30095112323760986, -0.19782210886478424, -0.22107192873954773, 0.7894968390464783, 0.26457786560058594, -0.34358298778533936, -0.5375871658325195, -0.46679309010505676, 0.11570768803358078, -0.36821112036705017, 0.37292829155921936, 0.3297286033630371, 0.17756734788417816, 0.10457773506641388, -0.10238662362098694, -0.5152172446250916, -0.401065468788147, -0.6603695154190063, -0.13639435172080994, 0.05779765546321869, 0.513649582862854, 0.7306867241859436, 0.5153802633285522, 0.5108228921890259, 0.35687461495399475, -0.6494017243385315, 0.30388450622558594, -0.25614604353904724, 0.004724170546978712, -0.3246322274208069, -0.0654691830277443, -0.9062339067459106, -0.16617687046527863, 0.8376219868659973, 0.9291626811027527, -0.5554084181785583, -0.3538395166397095, 0.061644040048122406, 0.6787207722663879, -0.69732266664505, -0.03702356666326523, -0.701083779335022, -0.12324435263872147, -0.038273297250270844, -0.4143090546131134, -0.6460062265396118, -0.20641028881072998, -0.4264569878578186, -0.1821291595697403, 0.4468781650066376, -0.3127657473087311, 0.6738895177841187, 0.4057503938674927, -0.1180514320731163, -0.15450109541416168, -0.944778561592102, 0.4044947624206543, -0.9009861946105957, 0.8586552739143372, 0.6351433396339417, 0.20355848968029022, 0.008930844254791737, -0.334503173828125, -0.18647761642932892, -0.1980533003807068, 0.06961416453123093, 0.36209097504615784, 0.12540265917778015, 0.33831608295440674, 0.34911730885505676, 0.40408673882484436, -0.06765647977590561, 0.14808017015457153, -0.7241639494895935, -0.412506103515625, 0.5884076356887817, -0.04910435155034065, 0.061976250261068344, 0.023688100278377533, -0.06515523046255112, -0.2381761521100998, -0.8243280649185181, 0.171675905585289, 0.4105291962623596, 0.8235393762588501, 0.002073268871754408, 0.6971799731254578, -0.063624307513237, 0.587826132774353, 0.23321376740932465, -0.10641373693943024, 0.4703986346721649, -0.23586726188659668, -0.02264823578298092, 0.8976812958717346, 0.3991754949092865, 0.6601430177688599, 0.06517831236124039, -0.005166169721633196, -0.5062663555145264, 0.5775690078735352, 0.3473222851753235, -0.49695679545402527, -0.14369814097881317, 0.11297304183244705, -0.10235104709863663, 0.1336950957775116, 0.2905111312866211, -0.5788047909736633, -0.5092744827270508, -0.5660545825958252, 0.2802113890647888, -0.4220101833343506, -0.005642322823405266, 0.08629478514194489, -0.18943741917610168, 0.04633691906929016, 0.4736080467700958, -0.6085018515586853, 0.673077404499054, 0.3604842722415924, 0.9162080883979797, 0.06907345354557037, -0.02142064832150936, -0.9353671073913574, 0.3803853392601013, -0.5746411085128784, 0.6922588348388672, -0.36020469665527344, -0.6619822382926941, -0.17723903059959412, -0.03071555681526661, -0.07308477908372879, -0.4776490330696106, 0.878903329372406, -0.32136642932891846, -0.036927949637174606, -0.4378058612346649, -0.7746538519859314, 0.3695479929447174, -0.21087627112865448, -0.45856404304504395, 0.8359085917472839, -0.06315720826387405, -0.8270324468612671, 0.04338942468166351, -0.31920114159584045, -0.2888554334640503, 0.0758267492055893, -0.2021121233701706, -0.0021922967862337828, 0.02435286156833172, 0.4987153708934784, 0.39453792572021484, 0.19872383773326874, 0.2077767252922058, 0.032198451459407806, -0.9091780781745911, -0.24633921682834625, -0.1244305670261383, 0.2706351578235626, 0.20493735373020172, -0.5277184844017029, 0.0031478460878133774, -1.236027479171753, 0.016735879704356194, -0.15605632960796356, -0.2956458628177643, -0.6797743439674377, 0.28737056255340576, -0.3013809621334076, -0.24040527641773224, -0.22715497016906738, -0.7194581031799316, -0.38698798418045044, -0.6399440765380859, 0.4324524700641632, 0.9276803135871887, -0.19358988106250763, 0.47017136216163635, 0.0874001756310463, 0.07131975889205933, -0.04209654778242111, -0.5457747578620911, -0.4652325510978699, -0.24405591189861298, -0.7787434458732605, -0.3827047049999237, 0.3931868374347687, 0.8447529673576355, -0.5940647125244141, 0.9418392181396484, -0.5006198883056641, -0.5890916585922241, -0.7720144987106323, -0.2661633789539337, 0.3709940016269684, 0.6823083758354187, 0.5482287406921387, -0.487492173910141, -0.6465339660644531, -0.7048206329345703, -0.07623293250799179, -0.3386080861091614, -0.11808931827545166, 0.3929472863674164, -0.28879082202911377, -0.3413795530796051, 1.0710726976394653, -0.30581071972846985, -0.48058435320854187, -0.029965154826641083, -0.2883000671863556, 0.5436359643936157, 0.3617461025714874, 0.20389962196350098, -0.35976776480674744, -0.2761276662349701, 0.07925531268119812, -0.272401362657547, -0.574008584022522, -0.014110039919614792, 0.42023685574531555, -0.03678590804338455, 0.9549340009689331, -0.631166398525238, 0.605773389339447, 0.4296823740005493, -0.49453020095825195, 0.5580525994300842, -0.23783859610557556, 0.3682834804058075, -0.7647009491920471, -0.26288872957229614, -0.08570408076047897, -0.3473808169364929, -0.7135429382324219, -0.06563476473093033, 0.146763414144516, -0.17053845524787903, -0.44269561767578125, 0.2257080078125, -0.19220441579818726, -0.23521189391613007, -0.11119712889194489, 0.4395448863506317, 0.024119053035974503, 0.11472517997026443, -0.005589521024376154, 1.2716068029403687, 0.413499116897583, -0.771420419216156, 0.49745669960975647, 0.5529749393463135, -0.2506181597709656, 0.6665757298469543, -0.8572995066642761, 0.2587406635284424, -0.3314041793346405, 0.37703484296798706, -1.0756816864013672, 0.04882930591702461, -0.03275696188211441, -0.5281612873077393, 0.3519190549850464, 0.13203682005405426, 0.013124078512191772, -0.13581109046936035, -0.2238745391368866, 0.18768802285194397, 0.37874600291252136, -0.660294771194458, 0.45731988549232483, 0.26532846689224243, -0.4736256003379822, -0.2699664533138275, -0.6792802810668945, 0.26945188641548157, 0.00567719666287303, -0.5209256410598755, 0.3994884490966797, 0.03311675414443016, -0.5523316264152527, -0.13662192225456238, -0.2145671397447586, 0.46917256712913513, -0.3405939042568207, 0.09903921186923981, -0.019367951899766922, -0.3694290816783905, 0.17790620028972626, -0.13564260303974152, -0.2967032790184021, -0.16571329534053802, 0.16647903621196747, 0.4799017906188965, -0.2500271201133728, -0.756818413734436, -0.5526766777038574, 0.397110253572464, 0.4208136796951294, 0.039354108273983, 0.6977705955505371, 0.13001683354377747, -0.2979257106781006, 0.19586841762065887, -0.773207426071167, -0.15270894765853882, -0.5011188387870789, 0.3137475550174713, -0.5598548650741577, -0.8205658793449402, 0.5592958331108093, 0.025470368564128876, -0.13712848722934723, 0.595891535282135, 0.307966023683548, -0.1923511028289795, 0.8222799897193909, 0.040545687079429626, -0.15279285609722137, 0.030248934403061867, 0.20503999292850494, 0.41567328572273254, -0.7687250375747681, -0.029389964416623116, -0.7426896095275879, -0.08844102919101715, -0.45594704151153564, -0.42946651577949524, 0.21844486892223358, -0.040102437138557434, -0.3877085745334625, 0.5979142189025879, -0.29004642367362976, 0.4927580654621124, 0.4996449053287506, 0.1372617930173874, 0.11155090481042862, 0.014592139050364494, -0.4795161485671997, -0.4295179843902588, -0.2288408875465393, -0.3635116219520569, 0.4990265965461731, 0.8072364926338196, 0.8884109258651733, 0.05125749856233597, 0.7718757390975952, 0.6405077576637268, -0.518998920917511, -0.6130021810531616, 0.6262063384056091, -0.33738577365875244, 0.009306458756327629, -0.4538038372993469, -0.5312763452529907, -0.21727705001831055, 0.25654473900794983, 0.1602763533592224, -0.7222005128860474, 0.4865875840187073, 0.018792275339365005, -0.43410375714302063, 0.396247535943985, -0.8697293996810913, 0.0988055020570755, -0.0321459099650383, -0.13426461815834045, -0.08808181434869766, -0.6866121888160706, -0.13203540444374084, 0.04852328449487686, 0.6522960662841797, 0.016271838918328285, 0.17061594128608704, 0.7357374429702759, -0.5238084197044373, 0.7535071969032288, -0.6415877342224121, -0.48759591579437256, 0.21356254816055298, 0.020933199673891068, 1.0035679340362549, -0.2375779151916504, -0.28404659032821655, 0.11022969335317612, -0.23948369920253754, 0.10688472539186478, -0.35413894057273865, 0.5287312269210815, -0.8998782634735107, -0.593926191329956, -0.1621626317501068, -0.0871846005320549, -0.7407627105712891, -0.19386467337608337, 0.12990953028202057, 0.4536726176738739, -0.3064386546611786, 0.4634355902671814, 0.6963843703269958, -0.05207517743110657, 0.1733100712299347, 0.26901641488075256, 0.12459354102611542, -0.912965714931488, 0.6259298324584961, -0.13233506679534912, 0.3254685699939728, 0.12345687299966812, 0.003564542392268777, -0.3392709791660309, -0.5111821889877319, -0.20371419191360474, 0.1822785586118698, -1.0186926126480103, -0.26146823167800903, -0.7024660706520081, -0.6162331700325012, -0.8137021064758301, -0.32027122378349304, -0.8325635194778442, -0.5549859404563904, -0.3611590564250946, -0.5967063903808594, 0.2822529673576355, 0.15576070547103882, -0.2315768599510193, 0.9726683497428894, -1.0846136808395386, 0.5623192191123962, 0.0789809599518776, 0.5045982599258423, -0.4941384494304657, -1.0553267002105713, -0.14053508639335632, 0.3340178430080414, 0.04237259179353714, -0.7611452341079712, 0.2655694782733917, 0.7427485585212708, 0.41924819350242615, 0.5432161688804626, -0.09867402911186218, 1.3799515962600708, -1.1201715469360352, 0.9520562887191772, 0.5329285860061646, -1.2995802164077759, 0.7792022824287415, -0.26546066999435425, 0.08683978021144867, 0.6211418509483337, -0.2505078911781311, -0.7768582105636597, -0.4485207200050354, -0.7110319137573242, -1.063470721244812, 0.8302645683288574, 0.47058209776878357, 0.033170875161886215, -0.10719626396894455, 0.19503352046012878, -0.17165519297122955, -0.0677265077829361, -0.32576459646224976, -0.04977931082248688, -0.37184128165245056, 0.06928777694702148, -0.5533536672592163, -0.4884796440601349, -0.20844760537147522, -0.3938067853450775, 1.1682515144348145, -0.10841099172830582, 0.17805840075016022, 0.4371628761291504, 0.07528461515903473, -0.36409124732017517, 0.5192546248435974, 0.6198601722717285, 0.382209450006485, -0.4863905608654022, 0.3692414462566376, 0.47524216771125793, -0.6146467924118042, 0.368951678276062, -0.2053185999393463, -0.047106966376304626, 0.2547265589237213, 0.31631144881248474, 1.1480035781860352, 0.2505001723766327, -0.6640611886978149, 0.40434128046035767, 0.12680606544017792, -0.1521611511707306, -0.4134356677532196, 0.00932321883738041, 0.16241075098514557, 0.14566835761070251, 0.35281240940093994, 0.1680835634469986, 0.02076362445950508, -0.14517533779144287, 0.5197321772575378, 0.2164035141468048, -0.572750449180603, -0.18034903705120087, 0.5075220465660095, 0.3780747056007385, -0.36532917618751526, 0.6166795492172241, -0.06263837963342667, -0.41594046354293823, 0.41940340399742126, 0.6861576437950134, 0.7386507391929626, -0.992345929145813, -0.016219748184084892, 0.5149982571601868, 0.6048578023910522, -0.11301254481077194, 0.17848867177963257, 0.00032082220423035324, -0.9274784922599792, -0.44214972853660583, -0.6162549257278442, -0.5183099508285522, -0.04242590442299843, -0.6976016163825989, 0.6264684796333313, -0.40190720558166504, -0.24251484870910645, -0.3200075924396515, -0.3678448796272278, -0.10336074978113174, 0.46848633885383606, 0.48946481943130493, 0.9883162379264832, -1.2520312070846558, 0.5170798897743225, 0.7071963548660278, 0.29882463812828064, -0.8462888598442078, -0.28928735852241516, -0.07830555737018585, -0.5566236972808838, 0.39005202054977417, 0.11402789503335953, -0.40799078345298767, -0.10460951924324036, -0.17707042396068573, -0.8721839785575867, 0.8688982725143433, 0.2975000739097595, -0.9632136821746826, 0.034718360751867294, 0.41403958201408386, 0.6070089340209961, -0.2832157611846924, 0.42318177223205566, 0.8326535820960999, 0.4132040739059448, 0.6498051881790161, -1.2217553853988647, -0.345734566450119, -0.305968314409256, 0.10550536215305328, 0.1743161976337433, -0.14849905669689178, 0.6345213055610657, -0.0778254047036171, -0.2088600993156433, -0.19514572620391846, 0.845027506351471, 0.4781948924064636, 0.26509812474250793, 0.8154677748680115, 0.917579710483551, 0.7400524616241455, -0.12956011295318604, 0.3385315537452698, -0.03150473162531853, 0.28429436683654785, 1.1927634477615356, -0.7500738501548767, 0.7785319089889526, 0.7819222211837769, -0.5548232197761536, 0.1897466480731964, 0.5229155421257019, 0.17415191233158112, 0.7717719674110413, 0.0719367042183876, -0.057840198278427124, -0.2563531994819641, -0.16279664635658264, -0.7023270130157471, 0.7403085827827454, 0.7034620046615601, -0.14133286476135254, -0.26529452204704285, -0.01668923906981945, -0.3509651720523834, 0.3230897784233093, -0.5568799376487732, 0.7198819518089294, 0.11327647417783737, -0.14820726215839386, 0.6950868964195251, 0.10329041630029678, 0.5621957182884216, -0.5951231718063354, -0.0034851308446377516, -0.24036608636379242, 0.5450719594955444, -0.37076234817504883, -0.37056320905685425, 0.5492973923683167, 0.03903587907552719, -0.004115156829357147, -0.2946855425834656, 0.9082031846046448, -0.3875865340232849, -0.43471473455429077, 0.47237884998321533, 0.3386963903903961, 0.10414764285087585, 0.04124712944030762, -0.09534750878810883, 0.25622013211250305, 0.020886288955807686, 0.08755810558795929, -0.042226552963256836, 0.1805744767189026, 0.050425224006175995, 0.3479088544845581, 0.632899284362793, 0.6415797472000122, 0.07138931006193161, 0.45732149481773376, 0.8032720685005188, -0.8471074104309082, -0.9967377781867981, -0.6655328273773193, 0.4547007977962494, -0.11080477386713028, 0.3800051510334015, 0.5130596160888672, 0.4710804224014282, 0.4783983826637268, -0.11960399150848389, 0.46072763204574585, -0.045741256326436996, 1.1949243545532227, -0.6350407600402832, 0.5645519495010376, -0.35937973856925964, 0.6840410828590393, -0.6520764231681824, -1.250783920288086, -0.1386418342590332, 0.7006584405899048, 0.22783702611923218, -0.09924853593111038, 0.7184486389160156, 0.9016055464744568, -0.17794425785541534, 0.3300493061542511, 0.5420954823493958, 0.2512494921684265, 0.4121758043766022, 0.05830485373735428, 0.822117030620575, -0.5968549251556396, -0.0751689150929451, -0.24967177212238312, -0.35292455554008484, -0.000629610032774508, -0.7579231262207031, -0.42639002203941345, -0.47135359048843384, -0.5146673321723938, -0.4783545136451721, 0.38056087493896484, 0.9943887591362, 0.07063600420951843, -1.2960063219070435, -0.2938103675842285, 0.016067594289779663, -0.3287818133831024, -0.2742130756378174, -0.22013269364833832, 0.5048967003822327, -0.2475086748600006, -0.44725507497787476, 1.157544493675232, 0.2683200240135193, -0.11502686887979507, 0.24622896313667297, -0.3177416920661926, 0.0009826767491176724, 0.17311973869800568, 0.4962071180343628, 0.02891400083899498, -0.7230216264724731, -0.8134431838989258, -0.011419333517551422, -0.044219814240932465, 0.18313759565353394, 0.708230197429657, -0.8994495272636414, 0.2905864715576172, 0.2454746663570404, 0.6307456493377686, -0.052731890231370926, 0.2686096727848053, 0.2813262343406677, -1.1294529438018799, 0.3672369122505188, 0.3394007384777069, 0.6080381274223328, 0.5073238015174866, -0.3506163954734802, 0.6319756507873535, 0.503653883934021, -0.4100508689880371, -0.9035463333129883, -0.15697072446346283, -0.9696252346038818, 0.19554802775382996, 1.485748529434204, 0.04239875078201294, 0.15369197726249695, -0.04948612302541733, -0.3651106655597687, 0.1780618280172348, -0.41122421622276306, 0.4849366545677185, 0.7614017724990845, 0.30036062002182007, -0.15890704095363617, -0.17851604521274567, 0.23233172297477722, 0.4176079034805298, -0.48124027252197266, 0.18520067632198334, 0.6586745381355286, -0.06653586775064468, 0.5387783050537109, 0.7780080437660217, -0.1098470613360405, 0.18029552698135376, -0.11234868317842484, 0.21513023972511292, 0.14479395747184753, -0.4848703145980835, -0.40600642561912537, -0.05531163141131401, -0.12483049184083939, -0.29677045345306396 ]
http://arxiv.org/abs/2406.17262v1
http://arxiv.org/pdf/2406.17262v1
D2LLM: Decomposed and Distilled Large Language Models for Semantic Search
2024-06-25T04:03:04
2024-06-25T04:03:04
Zihan Liao, Hang Yu, Jianguo Li, Jun Wang, Wei Zhang
cs.CL
cs.CL
The key challenge in semantic search is to create models that are both accurate and efficient in pinpointing relevant sentences for queries. While BERT-style bi-encoders excel in efficiency with pre-computed embeddings, they often miss subtle nuances in search tasks. Conversely, GPT-style LLMs with cross-encoder designs capture these nuances but are computationally intensive, hindering real-time applications. In this paper, we present D2LLMs-Decomposed and Distilled LLMs for semantic search-that combines the best of both worlds. We decompose a cross-encoder into an efficient bi-encoder integrated with Pooling by Multihead Attention and an Interaction Emulation Module, achieving nuanced understanding and pre-computability. Knowledge from the LLM is distilled into this model using contrastive, rank, and feature imitation techniques. Our experiments show that D2LLM surpasses five leading baselines in terms of all metrics across three tasks, particularly improving NLI task performance by at least 6.45%. The source code is available at https://github.com/codefuse-ai/D2LLM.
[ -0.2273409217596054, -0.763674795627594, 0.7633328437805176, 0.26218223571777344, -0.2339496910572052, 0.16329431533813477, -0.20199675858020782, -0.349494993686676, -0.08686711639165878, 0.39026975631713867, -0.5730060338973999, -0.40730342268943787, -0.7703462839126587, 0.042873263359069824, -0.41924190521240234, 0.47123661637306213, -0.03864942863583565, 0.07257985323667526, -0.40628382563591003, 0.16488340497016907, -0.49406102299690247, -0.259505033493042, -0.3937278985977173, -0.5254859328269958, 0.6863875985145569, 0.07076322287321091, 0.7348682284355164, 0.5565349459648132, 0.44925424456596375, 0.2977195084095001, -0.3626609444618225, 0.3794732987880707, -0.8294047117233276, 0.32571670413017273, -0.3681655526161194, -0.5433338284492493, -0.3106224536895752, 0.1878163069486618, 0.42664262652397156, 0.7070765495300293, -0.049533694982528687, 0.03830137848854065, 0.18785981833934784, 0.7227168679237366, -0.48257729411125183, 0.5741486549377441, -0.8845968842506409, -0.009245251305401325, 0.015590346418321133, -0.15023273229599, -0.34188443422317505, -0.036069273948669434, 0.2053723782300949, -0.5053458213806152, 0.03601694107055664, 0.016736384481191635, 0.48877543210983276, 0.6123210787773132, -0.2553320825099945, -0.43770623207092285, -0.5860441327095032, 0.9112644195556641, -0.5352649688720703, 0.5644401907920837, 0.2458985298871994, 0.1282910406589508, -0.44338855147361755, -0.7384546995162964, -0.5621306300163269, 0.12389205396175385, -0.2450627088546753, 0.1462995558977127, -0.23513425886631012, 0.030456556007266045, 0.030164161697030067, 0.44738978147506714, -0.7830906510353088, 0.37880533933639526, -0.16391430795192719, 0.191362664103508, 0.5434433221817017, 0.15343917906284332, 0.2714405059814453, 0.18710826337337494, -0.4351710379123688, -0.08086840063333511, -0.6014871001243591, -0.3254356384277344, 0.14036442339420319, 0.05412524566054344, 0.18072444200515747, 0.6684036254882812, -0.21999335289001465, 0.7315053343772888, -0.02458709105849266, -0.0809422954916954, 0.0074578747153282166, -0.5184239745140076, 0.03444967046380043, -0.002498760586604476, 0.33153876662254333, 0.34735918045043945, 0.11657878011465073, -0.5407010912895203, -0.27690479159355164, 0.0671444684267044, 0.16545027494430542, -0.9048154354095459, -0.3363126516342163, 0.41007986664772034, -0.4500635266304016, -0.19341933727264404, -0.15020817518234253, -0.5866135358810425, -0.17064079642295837, -0.42721104621887207, 0.34501540660858154, -0.2944639325141907, -0.2026367336511612, 0.40970849990844727, -0.306296169757843, 0.42534375190734863, 0.2368418425321579, -0.6446022391319275, 0.2838556468486786, 0.7742829322814941, 0.6874322295188904, -0.17701509594917297, -0.1988915055990219, -0.567396342754364, 0.11991012841463089, -0.16888006031513214, 0.505993664264679, -0.5386053323745728, -0.27420711517333984, -0.09685689955949783, -0.21209652721881866, 0.03429924696683884, -0.6553155779838562, 0.20086316764354706, -1.0211881399154663, 0.07179168611764908, -0.13981693983078003, -0.7696619629859924, -0.3615691661834717, 0.3158625662326813, -0.838234007358551, 1.1805460453033447, 0.19940881431102753, -0.6676039695739746, 0.21402005851268768, -0.627349317073822, -0.32600340247154236, 0.1701931655406952, -0.041020069271326065, -0.22537408769130707, 0.27559733390808105, 0.15294618904590607, 0.41274383664131165, -0.5804462432861328, 0.2848134934902191, -0.3968157172203064, -0.6455875039100647, 0.24333450198173523, -0.18206386268138885, 0.7542429566383362, 0.0671302080154419, -0.36097875237464905, -0.37832632660865784, -0.514074981212616, 0.022785842418670654, 0.4495519697666168, -0.5053467154502869, -0.5060040950775146, 0.16155554354190826, -0.03222161903977394, 0.31252557039260864, 0.42340922355651855, -0.5691140294075012, -0.03583775460720062, -0.5349652171134949, 0.5124711990356445, 0.3285580575466156, -0.4797731339931488, 0.49972328543663025, -0.059473492205142975, -0.10330333560705185, 0.09917712211608887, -0.032042305916547775, 0.13129933178424835, -0.3224585950374603, -0.6953861117362976, -0.40967515110969543, 0.25592273473739624, 0.6186665296554565, -0.6006535291671753, 0.8551832437515259, -0.47833412885665894, -0.3236234784126282, -0.7691529393196106, 0.46010148525238037, 0.23289650678634644, 0.24358364939689636, 0.5590250492095947, 0.04065379872918129, -0.3596535325050354, -0.7171400785446167, -0.11275579780340195, -0.04970212280750275, -0.20113225281238556, 0.27936333417892456, 0.31561386585235596, -0.6980593800544739, 1.0275747776031494, -0.5929907560348511, -0.4616261422634125, -0.48633840680122375, 0.04181833937764168, 0.04760868474841118, 0.13826341927051544, 0.307003915309906, -0.9899333119392395, -0.3503113090991974, -0.25713592767715454, -0.7898476719856262, -0.15399493277072906, 0.3053077757358551, -0.11828833073377609, 0.0037440683227032423, 0.3347161114215851, -0.6472294926643372, 0.4058713912963867, 0.3972002863883972, -0.04032403230667114, -0.07879836857318878, -0.3571259081363678, -0.20161375403404236, -0.8149904608726501, 0.2086019366979599, -0.24580344557762146, -0.15251792967319489, -0.4826878607273102, 0.11178398132324219, 0.0447969064116478, -0.03546352684497833, -0.41049379110336304, 0.5520485639572144, -0.6579543352127075, -0.2261791080236435, -0.49480488896369934, 0.6743770837783813, 0.3028963804244995, 0.40759414434432983, 0.22176766395568848, 0.5033751130104065, 0.36433255672454834, -0.6183609962463379, 0.7124670147895813, 0.3362704813480377, -0.391399621963501, 0.06633572280406952, -0.7500530481338501, 0.22744867205619812, -0.2699389159679413, 0.34857290983200073, -0.9809165596961975, 0.09243538975715637, -0.2237294763326645, -0.10633622854948044, 0.47568756341934204, -0.04183337837457657, -0.8314876556396484, -0.3026081919670105, -0.5680869817733765, 0.5956443548202515, 0.6185119152069092, -0.8049486875534058, 0.4723452031612396, 0.404954731464386, -0.12050125747919083, -0.4596293866634369, -0.8295989036560059, 0.13163913786411285, -0.02514103427529335, -0.6677684783935547, 0.6361480951309204, 0.007741900626569986, -0.2237759530544281, 0.16706441342830658, -0.04707736521959305, 0.0004382254555821419, 0.3851820230484009, -0.11036097258329391, 0.2969972789287567, 0.18019670248031616, 0.037450067698955536, -0.0574205219745636, -0.2034006267786026, -0.10788308084011078, -0.36342909932136536, 0.7141504883766174, 0.23042944073677063, -0.39643096923828125, -0.1729261875152588, 0.5603318810462952, 0.45503929257392883, -0.31001293659210205, 0.46874216198921204, 0.7343121767044067, -0.4243697226047516, -0.2584274709224701, -0.6528440713882446, -0.3496212363243103, -0.43516406416893005, 0.6923649907112122, -0.37781813740730286, -0.9790208339691162, 0.22117024660110474, -0.35242506861686707, -0.07526156306266785, 0.2940673530101776, 0.6570513248443604, -0.2007596492767334, 0.9646024703979492, 0.4888134300708771, -0.025586172938346863, 0.19852836430072784, -0.41658082604408264, 0.43839433789253235, -0.8543163537979126, -0.5278505086898804, -0.2757699191570282, -0.6725766062736511, -0.6122663021087646, -0.7611351609230042, 0.23481877148151398, 0.16725122928619385, 0.10955087095499039, 0.19737277925014496, -0.5240994691848755, 0.49774932861328125, 0.5096577405929565, 0.23379746079444885, 0.2305983006954193, -0.004361741244792938, 0.03394677862524986, -0.030023546889424324, -0.7741325497627258, -0.23405484855175018, 0.7633833289146423, 0.3250456750392914, 1.0541549921035767, 0.13857720792293549, 0.732400119304657, 0.10221648961305618, -0.2816155254840851, -0.9465848207473755, 0.501758337020874, -0.416378915309906, -0.5746974945068359, -0.3577463924884796, -0.417955219745636, -0.9173917174339294, 0.3236553966999054, 0.04132268577814102, -0.4219355881214142, 0.07673624157905579, -0.17011363804340363, -0.08550115674734116, 0.17216885089874268, -0.3157258927822113, 0.7804597020149231, -0.48068562150001526, -0.4528592526912689, -0.44050946831703186, -0.6565757989883423, 0.28731879591941833, -0.05383572354912758, 0.058194104582071304, -0.4071164131164551, -0.258266419172287, 0.4103171229362488, -0.16229382157325745, 0.6500946283340454, -0.17644821107387543, -0.09243448078632355, 0.18095867335796356, 0.14616194367408752, 0.6404129266738892, 0.17620447278022766, -0.014046267606317997, 0.2807426452636719, -0.18517591059207916, -0.4152202308177948, -0.6163743138313293, 1.0097553730010986, -0.5671994090080261, -0.5725303292274475, -0.2366880625486374, -0.5284433960914612, 0.0382247194647789, 0.07203688472509384, -0.04619188979268074, 0.3135315775871277, -0.16844098269939423, 0.2653270363807678, 0.9950851202011108, -0.21420344710350037, 0.383549302816391, 0.46289026737213135, -0.1091107651591301, -0.04577215760946274, 0.7148523926734924, -0.06865071505308151, 0.025325162336230278, 0.8452789187431335, 0.04680902883410454, -0.7644943594932556, -0.6004642844200134, -0.3641723394393921, 0.18196582794189453, -0.5846844911575317, -0.21231673657894135, -0.8107150793075562, -0.21991512179374695, -0.3155120313167572, 0.044149644672870636, -0.4837310314178467, -0.1640586107969284, -0.3775426745414734, -0.027631748467683792, 0.372035413980484, 0.5917514562606812, 0.0020337277092039585, -0.17397849261760712, -0.7902808785438538, 0.4157586991786957, 0.4703100919723511, 0.3997536599636078, -0.19598254561424255, -0.30630582571029663, -0.3128354847431183, 0.22098895907402039, 0.07434163242578506, -0.47999247908592224, 0.30395087599754333, 0.1567811518907547, 0.7077541947364807, -0.21373015642166138, 0.1409638375043869, 0.6533695459365845, -0.35608232021331787, 0.6076223254203796, -0.011026579886674881, -0.7340956330299377, 0.4539564251899719, 0.23001444339752197, 0.2798771560192108, 0.5405182838439941, 0.38884055614471436, -0.2776421904563904, -0.12863507866859436, -0.008748345077037811, -0.9784712791442871, 0.8054351806640625, 0.21983693540096283, -0.09982675313949585, -0.0211486853659153, 0.34522637724876404, 0.07544431835412979, -0.043205343186855316, -0.2952882945537567, -0.17984531819820404, -0.09225265681743622, -0.5185619592666626, -0.03047592006623745, -0.6424508690834045, 0.021324921399354935, -0.12657956779003143, 0.4690997302532196, 0.07234594970941544, 0.165113165974617, 0.23130850493907928, -0.6387917995452881, 0.5306345820426941, 0.0013047404354438186, 0.163720041513443, 0.3696795105934143, -0.23850499093532562, 0.5141201019287109, 0.13768158853054047, -0.33403438329696655, 0.10139770060777664, 0.35641759634017944, 0.09628044813871384, 0.10590306669473648, 0.24320311844348907, 0.6790758967399597, 0.41925907135009766, -0.7604590058326721, 0.4141135811805725, -0.11251387745141983, -0.04089275747537613, -0.17816680669784546, -0.12339112162590027, 0.4018211364746094, 0.3510841429233551, 0.27788370847702026, -0.5800171494483948, 0.5818638801574707, -0.5442540645599365, 0.18316425383090973, 0.39940133690834045, -0.1546417474746704, -0.23678326606750488, 0.5962682962417603, 0.35906022787094116, 0.0757669061422348, 0.8263697028160095, -0.13494747877120972, -0.47308415174484253, 0.2187609076499939, 0.3694756329059601, 0.9504451155662537, 0.036407504230737686, -0.15078529715538025, 0.025977717712521553, 0.17621764540672302, -0.09913717210292816, 0.19664376974105835, -0.1729220151901245, -0.6470109224319458, -0.43787944316864014, -0.7606311440467834, -0.17891961336135864, 0.013975432142615318, -0.44633373618125916, 0.22684384882450104, 0.0835537537932396, 0.03710644319653511, -0.02356920763850212, 0.16658492386341095, -0.891189694404602, 0.024722373113036156, 0.2700725495815277, 0.7649928331375122, -0.2833198606967926, 0.8547847867012024, 0.6388853788375854, -0.18641740083694458, -0.37312787771224976, -0.2642178237438202, -0.15247203409671783, -0.8464204668998718, 0.8079956769943237, 0.18862831592559814, -0.20221424102783203, 0.12073566764593124, -0.11245670169591904, -0.8115019202232361, 1.3889031410217285, 0.370525598526001, -0.6662598848342896, -0.24024446308612823, 0.43529942631721497, 0.3072895407676697, -0.2927272915840149, 0.35793760418891907, 0.7069283127784729, 0.46150118112564087, 0.13976062834262848, -0.8300737738609314, 0.023543745279312134, -0.015903355553746223, 0.4471723139286041, 0.0482037290930748, -0.5149499177932739, 0.652766227722168, -0.06898012012243271, -0.1609528511762619, -0.12927916646003723, 0.18260353803634644, 0.20707832276821136, 0.22610363364219666, 0.3336488604545593, 0.6788343191146851, 0.472640722990036, -0.1768997758626938, 0.8295613527297974, -0.4635745584964752, 0.38843971490859985, 1.0079853534698486, -0.689544677734375, 0.7852041125297546, 0.4440120458602905, -0.10742565989494324, 0.17471668124198914, 0.5689465403556824, 0.14082549512386322, 0.8171654939651489, 0.35284683108329773, -0.26126548647880554, -0.32037270069122314, 0.10243471711874008, -0.09860289096832275, 0.7979113459587097, 0.30889585614204407, -0.2873081862926483, -0.5465978980064392, -0.10317835956811905, -0.15829862654209137, 0.209138423204422, -0.03302701190114021, 1.2276742458343506, 0.14499503374099731, -0.28845202922821045, 0.5812244415283203, 0.09630606323480606, 0.7819201946258545, -0.39382439851760864, -0.11333704739809036, -0.38023704290390015, 0.4749319553375244, -0.08676158636808395, -0.8576883673667908, 0.34452658891677856, -0.12986432015895844, -0.40951985120773315, -0.25724563002586365, 0.9066181182861328, -0.8583303093910217, -0.40004366636276245, 0.9240596294403076, 0.5151128768920898, 0.2567627429962158, -0.2255936712026596, -0.7002903819084167, 0.3623296618461609, -0.1571429967880249, -0.264173686504364, 0.48534032702445984, 0.5008928775787354, 0.22651872038841248, 0.4944317042827606, 0.43628278374671936, -0.20315277576446533, 0.10527647286653519, -0.030687961727380753, 0.9985072016716003, -0.6897714734077454, -0.045828916132450104, -1.0244901180267334, 0.3103618025779724, -0.14903141558170319, 0.3612179458141327, 0.48924973607063293, 0.8413020968437195, 0.8656753897666931, 0.0004353894619271159, 0.7095494270324707, 0.13749438524246216, 0.41668176651000977, -0.5652772784233093, 0.7445117831230164, -0.5932808518409729, 0.2544765770435333, 0.31238994002342224, -1.0315321683883667, -0.18944577872753143, 0.46978798508644104, 0.10776780545711517, 0.02093750238418579, 0.3112264573574066, 0.8823808431625366, -0.1406179964542389, -0.272763192653656, 0.4072761833667755, 0.08845070004463196, 0.26938551664352417, 0.7425552606582642, 0.7108466625213623, -0.45518743991851807, 0.5120272040367126, -0.1887955367565155, -0.29127734899520874, -0.5125494003295898, -0.5965251326560974, -0.8387196660041809, -0.3250182867050171, -0.37774062156677246, 0.07563188672065735, 0.04778981953859329, 0.6946752071380615, 0.5735374093055725, -0.38382723927497864, -0.0657062903046608, -0.024732481688261032, 0.21490685641765594, -0.013305403292179108, -0.17415091395378113, 0.24704083800315857, -0.543084979057312, -0.9590341448783875, 0.6439670324325562, 0.5313429832458496, -0.0873890072107315, -0.42869749665260315, -0.1392606496810913, -0.27368709444999695, 0.10287134349346161, 0.9296755790710449, -0.4152665436267853, -0.7948541641235352, -0.0954277366399765, 0.14196690917015076, -0.29530513286590576, -0.23660504817962646, 0.5604709386825562, -0.7779437899589539, 0.5083194971084595, 0.6116398572921753, 0.8366438150405884, 0.8841038346290588, -0.15950827300548553, 0.42160308361053467, -0.6262245178222656, 0.17556841671466827, 0.3302050232887268, 0.33683860301971436, 0.24785122275352478, -0.34412217140197754, 0.6336727738380432, 0.19669978320598602, -0.33989834785461426, -0.7036979794502258, 0.17889748513698578, -1.0712531805038452, -0.4923781156539917, 1.2565257549285889, -0.19359707832336426, -0.22162139415740967, -0.14672717452049255, -0.07939434796571732, 0.30197590589523315, -0.1092221662402153, 0.6667643189430237, 0.4933456778526306, 0.022248469293117523, 0.029406871646642685, -0.3247242569923401, 0.28305041790008545, 0.23972196877002716, -0.37090378999710083, 0.17685723304748535, 0.4006211757659912, 0.33297786116600037, -0.0014379438944160938, 0.11774004995822906, -0.4447212219238281, 0.036818649619817734, 0.14559045433998108, 0.10970193147659302, -0.3337569832801819, -0.12185584753751755, -0.14092855155467987, 0.01034992653876543, 0.0572163350880146, -0.287092924118042 ]
http://arxiv.org/abs/2406.17261v1
http://arxiv.org/pdf/2406.17261v1
TRAWL: Tensor Reduced and Approximated Weights for Large Language Models
2024-06-25T04:01:32
2024-06-25T04:01:32
Yiran Luo, Het Patel, Yu Fu, Dawon Ahn, Jia Chen, Yue Dong, Evangelos E. Papalexakis
cs.CL
cs.CL, 68T50 (Primary), 65F55 (Secondary), I.2.7
Large language models (LLMs) have fundamentally transformed artificial intelligence, catalyzing recent advancements while imposing substantial environmental and computational burdens. We introduce TRAWL (Tensor Reduced and Approximated Weights for Large Language Models), a novel methodology for optimizing LLMs through tensor decomposition. TRAWL leverages diverse strategies to exploit matrices within transformer-based architectures, realizing notable performance enhancements without necessitating retraining. The most significant improvements were observed through a layer-by-layer intervention strategy, particularly when applied to fully connected weights of the final layers, yielding up to 16% enhancement in accuracy without the need for additional data or fine-tuning. These results underscore the importance of targeted and adaptive techniques in increasing the efficiency and effectiveness of large language model optimization, thereby promoting the development of more sustainable and accessible AI systems.
[ -0.26262518763542175, -0.8164451122283936, 0.2836340069770813, 0.16196107864379883, -0.19438761472702026, 0.6352705955505371, -0.4317687451839447, -0.207368865609169, 0.13324373960494995, 0.3170197010040283, -0.5958550572395325, -0.45435279607772827, -0.5606145262718201, -0.20415455102920532, -0.528782308101654, 0.5970229506492615, 0.07118503004312515, 0.03373587131500244, -0.012048753909766674, -0.31929025053977966, -0.35996752977371216, -0.35630980134010315, -0.8768717050552368, -0.5172616243362427, 0.527725100517273, 0.057836420834064484, 0.7902462482452393, 0.9107213020324707, 0.716244101524353, 0.4086548686027527, -0.14432421326637268, 0.2730817496776581, -0.7459517121315002, 0.14943908154964447, 0.038163114339113235, -0.7435824871063232, -0.5372676253318787, -0.04813195765018463, 0.8734843134880066, 0.9213739633560181, -0.18564651906490326, 0.5602923631668091, 0.08792439848184586, 0.8089699149131775, -0.8746934533119202, 0.24581797420978546, -0.31776854395866394, 0.2901148200035095, -0.18800482153892517, -0.3491097688674927, -0.6838050484657288, -0.309987872838974, 0.12632101774215698, -0.4919745624065399, 0.09908030927181244, -0.06448439508676529, 0.3039343059062958, 0.47204092144966125, -0.30905789136886597, 0.01308014988899231, -0.9998675584793091, 1.182860016822815, -0.8333024382591248, 0.5726852416992188, -0.15440383553504944, 0.1939740777015686, -0.21286910772323608, -1.0962671041488647, -0.31669217348098755, -0.2599851191043854, 0.023483477532863617, -0.009720739908516407, -0.5668290257453918, 0.30670177936553955, 0.18907210230827332, 0.031387001276016235, -0.5267156362533569, 0.067874975502491, -0.3929598331451416, -0.004654367454349995, 0.7027800679206848, 0.1648014783859253, 0.37403085827827454, 0.30699747800827026, -0.015666142106056213, -0.4493381977081299, -0.6987394690513611, -0.06490111351013184, 0.1387035846710205, 0.17472988367080688, -0.04995814338326454, 0.5424750447273254, 0.2558889389038086, 0.47835400700569153, -0.24015852808952332, -0.2181190699338913, 0.1850019097328186, 0.2716086506843567, -0.3510671555995941, 0.048190824687480927, 0.5090453028678894, 0.3305550217628479, 0.29184776544570923, -0.21507591009140015, -0.305522620677948, 0.24617385864257812, 0.34104591608047485, -0.5779422521591187, -0.21976859867572784, 0.23895563185214996, -0.5412489771842957, -0.5183734893798828, -0.36412715911865234, -0.6478081345558167, -0.26396554708480835, -0.2111695557832718, 0.39768487215042114, -0.24034178256988525, -0.23181329667568207, 0.026960959658026695, -0.16701780259609222, 0.3830442428588867, 0.23035097122192383, -0.4469161629676819, 0.35033485293388367, 0.8433535099029541, 1.101337194442749, -0.20185261964797974, -0.18113961815834045, -0.6259839534759521, 0.44314977526664734, -0.6273680925369263, 0.39377766847610474, -0.6833443641662598, -0.29063981771469116, -0.06880645453929901, -0.491067498922348, -0.1058977022767067, -0.5043113827705383, 0.4472090005874634, -0.6909599900245667, 0.169425368309021, 0.26568564772605896, -0.3585982918739319, -0.3352082371711731, 0.20777484774589539, -0.9957574009895325, 1.0816385746002197, 0.35397544503211975, -0.5015220642089844, -0.16558559238910675, -1.2017464637756348, -0.6801162958145142, 0.008417179808020592, 0.627655565738678, -0.5133218169212341, 0.4765916168689728, 0.26795825362205505, 0.4214532971382141, -0.4896474778652191, 0.2294108271598816, -0.3918800354003906, -0.48286718130111694, 0.021233398467302322, -0.2863602042198181, 0.6546791195869446, 0.3457811772823334, -0.4000430405139923, 0.2975026071071625, -0.6445338726043701, 0.27896779775619507, 0.1974380761384964, -0.47080451250076294, -0.4078410863876343, 0.2671779990196228, 0.029524540528655052, -0.04070596396923065, 0.1210361197590828, -0.23060794174671173, 0.12054010480642319, -0.5934029817581177, 1.043251872062683, 0.8645181655883789, -0.38433122634887695, 0.5735390782356262, -0.2653571665287018, 0.7023792266845703, -0.1607828289270401, 0.058135174214839935, 0.2533130347728729, 0.08959418535232544, -0.92414391040802, -0.3880898058414459, 0.2541198134422302, 0.30980807542800903, -0.8365868926048279, 0.12239130586385727, -0.7589842081069946, -0.6011451482772827, -0.7615975737571716, -0.019656436517834663, 0.39230674505233765, 0.31459492444992065, 0.42299002408981323, -0.04449994117021561, -0.8519309759140015, -0.8085423707962036, -0.44487935304641724, -0.31334683299064636, -0.14307330548763275, -0.00791875459253788, 0.2528461813926697, -0.18046268820762634, 0.6726300120353699, -0.5081509351730347, -0.13430455327033997, -0.5487470030784607, 0.18072083592414856, 0.05870131030678749, 0.4291927218437195, 0.5527045726776123, -0.6810722947120667, -0.32955172657966614, -0.04827683046460152, -0.6810726523399353, 0.0022025322541594505, -0.014146602712571621, -0.0427040196955204, 0.18078310787677765, 0.5813537836074829, -0.8444137573242188, 0.24707898497581482, 0.593174159526825, 0.08247312903404236, 0.3029950261116028, -0.22295893728733063, -0.3095875680446625, -0.8454726338386536, 0.07174117863178253, 0.02337159775197506, -0.42415282130241394, -0.9545516967773438, 0.5968953371047974, -0.06018751487135887, -0.08482357114553452, -0.43315503001213074, 0.41794252395629883, -0.529991090297699, -0.1830212026834488, -0.12998844683170319, -0.029512599110603333, -0.12394333630800247, 0.5559546947479248, -0.12129723280668259, 0.9776027202606201, 0.40771523118019104, -0.44684508442878723, 0.45226991176605225, 0.06881896406412125, -0.20822584629058838, 0.37130436301231384, -0.7573082447052002, 0.3607078194618225, -0.41511040925979614, 0.24129074811935425, -0.7909498810768127, 0.2057657539844513, -0.03911919519305229, -0.13533079624176025, 0.28701138496398926, 0.007480007596313953, -0.17594550549983978, -0.5504924058914185, -0.8432117700576782, 0.5495108366012573, 0.5910636186599731, -0.5254819989204407, 1.2316961288452148, 0.4909413456916809, 0.061829157173633575, -0.6441468596458435, -0.8514617085456848, 0.3160356879234314, -0.5232712626457214, -0.6033636927604675, 0.35147199034690857, -0.1949750930070877, -0.40795642137527466, -0.11803924292325974, 0.03235310688614845, 0.19450350105762482, 0.27596476674079895, -0.16820688545703888, 0.07138503342866898, -0.6125282645225525, 0.024086058139801025, -0.1455068588256836, -0.05304458364844322, 0.12799538671970367, -0.6760408282279968, 0.9983841180801392, -0.22368137538433075, -0.024772483855485916, -0.25683116912841797, 0.2416340857744217, 0.8221999406814575, -0.4432649314403534, 0.6928675770759583, 0.8368824124336243, -0.20104970037937164, -0.4835038483142853, -0.4559776782989502, 0.11610813438892365, -0.5679553747177124, 0.7805342078208923, -0.3386511206626892, -0.8615031838417053, 0.3989625573158264, -0.1700165569782257, 0.17875750362873077, 0.34079569578170776, 0.6659038662910461, -0.16513067483901978, 1.3365689516067505, 0.6537768244743347, -0.44637733697891235, 0.5277052521705627, -0.49082088470458984, 0.39062628149986267, -0.9627431035041809, -0.12263219803571701, -0.3654252290725708, -0.8437994122505188, -0.6987168788909912, -0.438539057970047, 0.4576575756072998, -0.3430325984954834, -0.41476449370384216, 0.2746289372444153, -0.49620321393013, 0.4459482729434967, 0.7421786785125732, 0.2825383245944977, 0.07845837622880936, -0.04445643350481987, 0.1065981537103653, 0.15317286550998688, -0.7736369967460632, -0.30470725893974304, 1.1256376504898071, 0.47323253750801086, 0.6428149938583374, 0.2220642864704132, 0.49951598048210144, 0.7055147886276245, 0.2694173753261566, -0.9494292140007019, 0.7244612574577332, -0.14597143232822418, -0.1484600454568863, -0.4047495126724243, -0.6861253380775452, -0.9686762094497681, 0.3251464366912842, -0.08972208201885223, -0.48178571462631226, -0.34266233444213867, -0.05898674950003624, 0.04339273273944855, 0.5630000233650208, -0.8751583695411682, 0.36401262879371643, -0.1405736356973648, -0.24626484513282776, -0.6627047657966614, -0.4677475094795227, 0.3089938163757324, -0.16084067523479462, 0.19435065984725952, 0.06867382675409317, -0.2847239375114441, 0.9176203012466431, -0.5691107511520386, 0.5088129639625549, -0.36950185894966125, -0.09518036991357803, -0.030673997476696968, 0.3259061574935913, 0.8374913930892944, -0.27516883611679077, -0.2232225388288498, 0.022361431270837784, -0.10988812893629074, -0.4849584400653839, -0.7749007344245911, 0.5535948276519775, -1.0426212549209595, -0.7405137419700623, -0.031857118010520935, -1.0140867233276367, -0.21746665239334106, 0.20426416397094727, -0.28807851672172546, 0.4879970848560333, -0.14094938337802887, 0.3645688593387604, 0.5321498513221741, -0.2244952917098999, 0.7803220152854919, 0.20777639746665955, 0.1303233653306961, -0.45936319231987, 0.678901731967926, 0.036931946873664856, 0.06510694324970245, 0.6030446290969849, 0.15297050774097443, -0.3781419098377228, -0.856418788433075, -0.031171757727861404, 0.23309731483459473, -0.7108646035194397, -0.29667481780052185, -0.5014147162437439, -0.2543639540672302, -0.23520532250404358, -0.2836821973323822, -0.44475510716438293, -0.5167731046676636, -0.15985628962516785, -0.16513371467590332, 0.12314612418413162, 0.7242031097412109, 0.21582730114459991, 0.6571052074432373, -0.6567500233650208, 0.190423384308815, -0.011238127015531063, 0.37795883417129517, 0.3334909677505493, -0.3819097876548767, -0.2791537344455719, 0.2081533670425415, 0.0515870563685894, -0.18304547667503357, 0.6775349378585815, 0.5485597848892212, 0.4508281648159027, 0.1386488825082779, 0.05862078443169594, 0.9596397876739502, -0.5247872471809387, 0.5551331639289856, 0.055262647569179535, -1.1704167127609253, 0.24626880884170532, -0.11553171277046204, 0.45128899812698364, 0.17900288105010986, 0.13735760748386383, -0.4504150450229645, -0.4700166881084442, -0.4736998975276947, -0.8423050045967102, 0.6018317937850952, 0.18077532947063446, 0.3378956913948059, 0.43747618794441223, 0.2365500032901764, -0.40191295742988586, 0.1379542350769043, -0.6750240325927734, -0.3146035671234131, 0.11973612755537033, -0.5656014084815979, -0.10733772814273834, -0.3274647295475006, -0.006146257743239403, -0.3213448226451874, 0.7844730615615845, -0.22437778115272522, 0.29904472827911377, -0.2421247363090515, -0.6393114924430847, -0.16065020859241486, -0.0636739507317543, 0.8147109150886536, 0.7736650705337524, -0.0029485851991921663, 0.40931975841522217, 0.49656909704208374, -0.7512679100036621, 0.30490878224372864, -0.34082457423210144, -0.09869696199893951, -0.23227398097515106, 0.7571861147880554, 0.6798551082611084, 0.24819545447826385, -0.6284885406494141, 0.16086377203464508, -0.14280956983566284, -0.04792158305644989, -0.28520140051841736, 0.13215689361095428, 0.07733877748250961, 0.621436357498169, 0.5358890891075134, 0.09984546154737473, -0.13161496818065643, -0.18467575311660767, 0.22007282078266144, 0.6254360675811768, -0.24539914727210999, -0.40337708592414856, 0.640562117099762, 0.004164054524153471, -0.41620194911956787, 0.6132074594497681, 0.353861927986145, -0.5983058214187622, 0.3229202926158905, 0.6441273093223572, 0.8897626399993896, -0.41565194725990295, 0.16303159296512604, 0.12128560245037079, 0.4554126560688019, -0.0500296950340271, -0.059683363884687424, 0.11756870895624161, -0.7135844826698303, -0.6225054860115051, -0.6168237328529358, -0.1828901320695877, 0.10026559978723526, -0.43515682220458984, 0.3194412887096405, -0.8368382453918457, -0.10798249393701553, 0.003658382222056389, 0.24094253778457642, -0.501305103302002, 0.021629102528095245, 0.22178952395915985, 0.8740422129631042, -0.5971038341522217, 0.872040331363678, 0.7152788043022156, -0.11831223219633102, -0.9081389307975769, -0.26025599241256714, -0.1356494426727295, -1.0112966299057007, 0.5725398063659668, -0.09001117199659348, -0.36137744784355164, 0.4896329343318939, -0.5713561773300171, -1.0586292743682861, 1.141282081604004, 0.8495011329650879, -0.22706472873687744, -0.3198884129524231, 0.6723264455795288, 0.5293974280357361, -0.31328868865966797, 0.5496169328689575, 0.8140383958816528, 0.5969355702400208, 0.14370951056480408, -0.6974327564239502, -0.04754088446497917, -0.38268300890922546, 0.4964718520641327, 0.45993688702583313, -0.654406726360321, 0.7500697374343872, -0.0332520417869091, -0.1692967414855957, -0.1766040176153183, 0.8501485586166382, 0.019657202064990997, -0.11780404299497604, 0.5476370453834534, 0.467835009098053, 0.9069682955741882, 0.015362709760665894, 0.8103806376457214, -0.2969413101673126, 0.39830872416496277, 0.5594653487205505, -0.36257484555244446, 0.8072410225868225, 0.5299234390258789, -0.29386427998542786, 0.5035139918327332, 0.32286912202835083, -0.03754165396094322, 0.43300026655197144, 0.13931088149547577, -0.2091335505247116, -0.15690045058727264, -0.16354799270629883, -0.017853934317827225, 0.7002393007278442, 0.29058295488357544, -0.14078083634376526, -0.32858821749687195, 0.15605641901493073, 0.11658793687820435, -0.053971562534570694, -0.5633644461631775, 0.6883348822593689, 0.054572366178035736, -0.36554154753685, 0.9010204672813416, 0.3263922929763794, 0.6794829368591309, -0.4927467703819275, 0.07384287565946579, -0.2750857174396515, 0.4677082300186157, -0.21201972663402557, -0.5294035077095032, 0.3528057038784027, -0.05736956372857094, 0.08535170555114746, -0.25836798548698425, 0.8029991388320923, -0.45262041687965393, -0.6179060935974121, 0.40251877903938293, 0.3739665746688843, -0.21317942440509796, -0.004848604556173086, -0.6066034436225891, 0.11070407927036285, -0.021622823551297188, -0.45135465264320374, 0.06855649501085281, 0.12815482914447784, -0.1940443515777588, 1.2600330114364624, 0.8070754408836365, 0.26149776577949524, 0.08430655300617218, -0.11434069275856018, 1.0633950233459473, -0.5865853428840637, -0.38631799817085266, -1.0546234846115112, 0.4249257445335388, 0.11890992522239685, 0.17825917899608612, 0.5020245909690857, 0.6373652219772339, 0.8019927740097046, -0.18018411099910736, 0.6921742558479309, 0.07920755445957184, 0.2873777747154236, -0.6006758809089661, 0.9024855494499207, -0.5202693343162537, 0.4191022515296936, -0.18926644325256348, -1.193292498588562, -0.685581624507904, 0.4377460777759552, -0.20017322897911072, 0.0875018760561943, 0.6812801957130432, 0.8595452308654785, -0.18385174870491028, -0.06214611232280731, 0.4152515232563019, 0.3504030704498291, 0.566577136516571, 0.6504743695259094, 0.8600645661354065, -0.39255857467651367, 0.5344299077987671, -0.18482083082199097, 0.0568573996424675, -0.07004326581954956, -0.8348214626312256, -1.035483479499817, -0.4637283682823181, -0.3234722912311554, -0.07796451449394226, 0.17449083924293518, 1.1998012065887451, 0.686540961265564, -0.8211690783500671, -0.547141969203949, 0.041262444108724594, 0.1258632391691208, -0.22414323687553406, -0.21132045984268188, 0.5147667527198792, -0.2765823304653168, -0.7056854367256165, 0.49425989389419556, 0.3094598352909088, -0.33711203932762146, -0.37695586681365967, -0.19417865574359894, -0.19170789420604706, 0.06962210685014725, 0.9134936928749084, -0.06743723899126053, -0.4451373517513275, -0.5356554985046387, 0.05940205976366997, 0.025948740541934967, 0.19644296169281006, 0.8071136474609375, -0.9268245697021484, 0.011747287586331367, 0.48210304975509644, 0.7407735586166382, 0.680508017539978, -0.11545385420322418, 0.8827563524246216, -0.86107337474823, 0.3377586305141449, 0.4445696771144867, 0.2987162172794342, 0.20827218890190125, -0.1218743547797203, 0.7170801162719727, 0.08726203441619873, -0.0870082825422287, -1.1236120462417603, 0.01135749276727438, -0.7463420033454895, -0.13128811120986938, 0.8996923565864563, -0.07715725153684616, -0.669938862323761, 0.1734662652015686, 0.13296149671077728, 0.3985213339328766, -0.08828893303871155, 0.7392255067825317, 0.3217433989048004, 0.3121412694454193, -0.5970520973205566, -0.3413800001144409, 0.26603788137435913, 0.5472735166549683, -0.6528458595275879, 0.15027496218681335, 0.1744270771741867, 0.07901787012815475, 0.015019417740404606, 0.06498054414987564, 0.07930813729763031, -0.009323081001639366, -0.3815281093120575, 0.08852168917655945, -0.24400638043880463, -0.2460954785346985, -0.29375332593917847, 0.3697953522205353, 0.12598401308059692, 0.12687672674655914 ]
http://arxiv.org/abs/2406.17260v1
http://arxiv.org/pdf/2406.17260v1
Mitigating Hallucination in Fictional Character Role-Play
2024-06-25T03:56:33
2024-06-25T03:56:33
Nafis Sadeq, Zhouhang Xie, Byungkyu Kang, Prarit Lamba, Xiang Gao, Julian McAuley
cs.CL
cs.CL
Role-playing has wide-ranging applications in customer support, embodied agents, computational social science, etc. The influence of parametric world knowledge of large language models (LLMs) often causes role-playing characters to act out of character and hallucinate about things outside the scope of their knowledge. In this work, we focus on the evaluation and mitigation of hallucination in fictional character role-play. We introduce a dataset with more than 2,000 characters and 72,000 interviews, including 18,000 adversarial questions. We propose RoleFact, a role-playing method that mitigates hallucination by modulating the influence of parametric knowledge using a pre-calibrated confidence threshold. Experiments show that the proposed method improves the factual precision of generated responses by 18% for adversarial questions with a 44% reduction in temporal hallucination for time-sensitive interviews. The code and the dataset will be available at https://github.com/NafisSadeq/rolefact.git.
[ -0.4666302502155304, -0.9775478839874268, 0.4490709900856018, 0.32409927248954773, 0.09498147666454315, -0.06280148029327393, -0.0956922248005867, -0.4747755527496338, 0.5067769885063171, 0.8393571972846985, -0.6359066963195801, -0.3412250280380249, -0.27434706687927246, 0.011135673150420189, -0.13939517736434937, 0.8570693135261536, 0.22699587047100067, 0.1357613056898117, -0.4657301604747772, 0.08839471638202667, -0.4477059841156006, -0.7093307375907898, -0.805790364742279, -0.2913810908794403, 0.5856330990791321, 0.1907660961151123, 0.9377129673957825, 0.09878018498420715, 0.2975880205631256, 0.22371511161327362, 0.28303468227386475, 0.39158639311790466, -0.8450878262519836, 0.5866326689720154, -0.03515198826789856, -0.6809672117233276, -0.30933094024658203, 0.010337285697460175, 0.5340173840522766, 0.49923259019851685, -0.054911959916353226, -0.028605032712221146, 0.027246203273534775, 0.2511250376701355, -0.5945565104484558, 0.390421062707901, -0.4780954122543335, 0.2227226048707962, 0.08077652007341385, -0.5460475087165833, -0.4141576290130615, -0.3249659538269043, -0.19443343579769135, -0.821929395198822, 0.5236506462097168, 0.016469452530145645, 0.6280675530433655, 0.4830920994281769, -0.14910945296287537, -0.2307576835155487, -0.8973293900489807, 0.5066887736320496, -0.5735226273536682, 0.09127575159072876, 0.915921151638031, 0.3751782774925232, -0.1548755019903183, -0.07424666732549667, -0.5829162001609802, -0.48838070034980774, -0.1940123438835144, -0.020150909200310707, 0.22338104248046875, 0.055030226707458496, 0.7393542528152466, 0.08124123513698578, -0.6559514999389648, -0.13309644162654877, -0.25063955783843994, -0.3257320523262024, 0.5552319288253784, 0.12273897230625153, 0.26372793316841125, -0.12535777688026428, -0.03689821809530258, -0.22506366670131683, -0.6546019315719604, -0.029480574652552605, 0.46687451004981995, 0.02815086767077446, 0.4524034261703491, 0.6544132232666016, -0.04624057561159134, 0.13217514753341675, 0.15117065608501434, 0.11759161949157715, -0.06683827191591263, 0.08609883487224579, -0.07693523168563843, 0.28753724694252014, 0.35197556018829346, 0.35611647367477417, 0.4448927938938141, -0.3576517105102539, -0.045125361531972885, 0.3837306797504425, 0.5890343189239502, -0.7859399914741516, -0.12395758926868439, 0.15453557670116425, -0.17736203968524933, -0.357437402009964, 0.0689932107925415, -0.8811211585998535, -1.0927127599716187, -0.0977293998003006, 0.7258310914039612, -0.5876857042312622, -0.10997992753982544, -0.010517417453229427, -0.09496337920427322, 0.1828845888376236, 0.2561675012111664, -0.6303241848945618, 0.3766396939754486, 0.5741931200027466, 0.6570255160331726, -0.0057565877214074135, -0.39351552724838257, -0.9629444479942322, 0.18324629962444305, -0.6077137589454651, 0.5666471719741821, -0.40022704005241394, -0.4519491493701935, -0.18801571428775787, 0.08383308351039886, -0.1469413936138153, -0.6631524562835693, 0.411090224981308, -0.46281275153160095, -0.03393522650003433, -0.468061625957489, -0.30969637632369995, -0.03675783425569534, 0.42528364062309265, -0.9281977415084839, 0.769515872001648, -0.1763230413198471, -0.4553263783454895, 0.32654452323913574, -0.42088592052459717, -0.6543765664100647, 0.10221133381128311, -0.37405163049697876, -0.3175993263721466, 0.16188637912273407, 0.34218305349349976, 0.43759456276893616, -0.19744575023651123, 0.26875072717666626, -0.3970741033554077, -0.8229339122772217, 0.5282495021820068, -0.4598548710346222, 0.5176194310188293, -0.04133662208914757, -0.5691631436347961, -0.1388619989156723, -0.4298969805240631, -0.23243273794651031, 0.011415581218898296, 0.34581226110458374, -0.4404125511646271, -0.013019194826483727, -0.12247595191001892, 0.2455880045890808, -0.1494177281856537, -0.24700550734996796, -0.06301511824131012, -0.335983008146286, -0.08372747898101807, 0.5138657689094543, 0.3779006600379944, 0.12396499514579773, -0.7445036768913269, 0.771481454372406, -0.27296438813209534, 0.1744886040687561, 0.1633860468864441, -0.28563791513442993, -0.7126767039299011, -0.2747322618961334, 0.10419860482215881, 0.4321596920490265, -1.1983453035354614, 0.5573633313179016, 0.09181159734725952, -0.4762590229511261, -0.2823435366153717, -0.23478026688098907, 0.4153301417827606, 0.4969296157360077, 0.49764177203178406, -0.07586358487606049, -0.4933990240097046, -0.7479484677314758, -0.34198877215385437, -0.42600685358047485, -0.2493765652179718, 0.33378922939300537, 0.37188154458999634, -0.11231186240911484, 0.6282182335853577, -0.5787718296051025, -0.5633114576339722, -0.06744488328695297, 0.28801894187927246, -0.25671443343162537, 0.5554407238960266, 0.35757285356521606, -0.8582188487052917, -0.1239384338259697, -0.4847128689289093, -0.8224718570709229, -0.12126995623111725, -0.6098008751869202, -0.1158570796251297, 0.29683077335357666, 0.7354128360748291, -0.9929565191268921, 0.6743126511573792, 0.4025545120239258, -0.5850643515586853, 0.7056189775466919, -0.1965835988521576, 0.842388391494751, -0.8173180222511292, 0.3942925035953522, -0.2423332929611206, -0.13255377113819122, -0.5781733989715576, 0.0695340558886528, -0.24488060176372528, -0.14475493133068085, -0.09477559477090836, 0.42062416672706604, -0.3457775413990021, -0.04069886729121208, -0.04548317939043045, 0.17932206392288208, 0.10614881664514542, 0.48178771138191223, 0.13865074515342712, 0.8995048999786377, 0.2233898937702179, -0.7237680554389954, 0.15606914460659027, 0.2963580787181854, -0.44734489917755127, 0.4895826280117035, -0.5202224254608154, 0.05810825526714325, -0.0992388129234314, 0.25534945726394653, -1.0151090621948242, -0.2248743623495102, 0.3567231595516205, -0.40551483631134033, 0.15981531143188477, -0.019673047587275505, -0.6828400492668152, -0.037647489458322525, -0.313972532749176, 0.3971202075481415, 0.3764258623123169, -0.36562445759773254, 0.6299379467964172, 0.29726555943489075, -0.10432599484920502, -0.4464189112186432, -0.7109426856040955, 0.20507416129112244, -0.4004940986633301, -0.5379701852798462, 0.7109798192977905, -0.6103612780570984, -0.27162986993789673, -0.3112824559211731, -0.30866488814353943, 0.00043291234760545194, 0.08704450726509094, 0.19775106012821198, 0.11072610318660736, 0.05473256856203079, 0.1598336100578308, 0.12560279667377472, 0.051281366497278214, 0.20578879117965698, 0.3158445358276367, 0.7818442583084106, 0.003906161757186055, -0.4773760735988617, -0.22601939737796783, 0.34390053153038025, 0.6858077049255371, 0.1423145979642868, 0.7988196611404419, 0.5304474234580994, -0.5518966317176819, -0.25382301211357117, -0.906538724899292, -0.5755664110183716, -0.43358829617500305, 0.3787499964237213, -0.42062556743621826, -0.628921627998352, 0.8583669066429138, 0.289973646402359, -0.34161633253097534, 0.22504033148288727, 0.2946106791496277, 0.12593385577201843, 0.921558141708374, 0.08504142612218857, 0.19835758209228516, 0.23343877494335175, 0.0018844259902834892, 0.16398334503173828, -0.5243768095970154, -0.2831890285015106, -0.30367526412010193, -0.23300965130329132, -0.4245838224887848, -0.8012909293174744, 0.3564087450504303, 0.09308252483606339, -0.03535054251551628, 0.3496035635471344, 0.05301934853196144, 0.5418527126312256, 0.24839189648628235, 0.46966707706451416, 0.25459855794906616, -0.04505840688943863, 0.0865214541554451, -0.23229646682739258, -0.5355568528175354, -0.33920881152153015, 0.8667198419570923, 0.2273564636707306, 0.754780113697052, 0.342393696308136, 0.676239013671875, 0.5710514187812805, -0.15018053352832794, -0.48900702595710754, 0.7497000098228455, 0.07676473259925842, -0.8060708045959473, -0.7797510027885437, -0.5476017594337463, -0.5873486995697021, 0.061317071318626404, -0.3816726505756378, -0.6465930342674255, 0.2997317612171173, 0.1388089805841446, -0.6072278022766113, 0.08968931436538696, -0.46440523862838745, 0.6500614285469055, 0.045532163232564926, -0.5785812735557556, -0.3033037483692169, -0.45821166038513184, 0.38672715425491333, -0.1457599699497223, -0.08883149176836014, 0.21478162705898285, 0.18138249218463898, 0.5378963351249695, -0.12294569611549377, 1.1278685331344604, -0.29035988450050354, -0.09269183874130249, 0.16797280311584473, 0.6891631484031677, 0.7424337863922119, 0.5852043628692627, -0.20820212364196777, 0.141752690076828, 0.29679808020591736, -0.26055338978767395, -0.9103538393974304, 0.7151157259941101, -0.49536460638046265, -0.7780675888061523, -0.5592551827430725, -0.8091100454330444, -0.6248224377632141, -0.18730594217777252, 0.29268017411231995, 0.26573413610458374, -0.7814374566078186, 0.4184260368347168, 1.0868905782699585, -0.41283634305000305, 0.23998114466667175, 0.23623549938201904, -0.2121419608592987, -0.3239588737487793, 0.7911164164543152, 0.2079022079706192, 0.22605495154857635, 0.25462302565574646, 0.12739531695842743, -0.28357958793640137, -0.05102911591529846, -0.10415524989366531, 0.29383912682533264, -0.5798851251602173, -0.12317319959402084, -0.6859596371650696, -0.3692183494567871, -0.7187577486038208, -0.04397573694586754, -0.2370803952217102, -0.6010460257530212, -0.38795119524002075, -0.00462139630690217, 0.1705133616924286, 0.40912002325057983, -0.00953638181090355, 0.073590949177742, -0.2711513340473175, 0.5593680143356323, 0.2607276439666748, 0.26479223370552063, -0.11702283471822739, -0.4147644639015198, -0.04183386266231537, -0.029891058802604675, 0.09459540992975235, -0.6999340653419495, 0.4454207122325897, 0.1286332607269287, 0.7961888313293457, 0.5047981142997742, 0.4903184473514557, 0.9528025984764099, -0.28857094049453735, 0.7658705711364746, -0.07525871694087982, -0.9640936851501465, 0.14932340383529663, -0.29372313618659973, 0.09280088543891907, 0.782135546207428, 0.3189185857772827, -0.726773738861084, -0.43552520871162415, -0.5731316804885864, -0.4192357361316681, 0.6309463381767273, 0.5864124894142151, -0.02609843946993351, -0.01142118964344263, 0.3487955629825592, 0.28045886754989624, 0.31678277254104614, -0.5870499610900879, 0.06070765107870102, -0.16211849451065063, 0.05875126272439957, -0.6197463870048523, -0.3207346796989441, -0.38486096262931824, -0.13778795301914215, 0.6859225630760193, -0.12931567430496216, 0.2607763111591339, 0.40593525767326355, -0.42938846349716187, -0.11858218908309937, -0.08203227072954178, 0.9727822542190552, 0.5721645951271057, -0.24790996313095093, 0.25571125745773315, 0.1781565546989441, -0.4987403452396393, -0.1492394506931305, 0.16646255552768707, -0.1763615608215332, -0.14337019622325897, 0.4316524565219879, 0.43121659755706787, 0.31431615352630615, -0.5958186984062195, 0.37837910652160645, -0.1290741264820099, -0.27858904004096985, -0.39657413959503174, 0.18262021243572235, -0.16324461996555328, 0.4693625271320343, 0.25160887837409973, 0.020791664719581604, 0.21731582283973694, -0.5439878106117249, 0.49169737100601196, 0.3267599940299988, -0.3284657299518585, -0.09286651760339737, 0.5769641995429993, -0.0644536167383194, -0.43716251850128174, 0.39381375908851624, -0.12209776043891907, -0.5019175410270691, 0.8916486501693726, 0.6643936038017273, 0.8408677577972412, -0.4393216669559479, 0.6322794556617737, 0.17139193415641785, 0.5158630013465881, -0.18050843477249146, 0.17550362646579742, 0.10783413052558899, -0.5969725847244263, -0.11771832406520844, -0.3297805190086365, -0.3085760772228241, 0.3650454878807068, -0.44677022099494934, 0.3091130554676056, -0.5281060934066772, -0.0577019602060318, -0.44428786635398865, 0.1544303447008133, -0.5403838753700256, 0.0468115471303463, 0.02654079720377922, 0.38835203647613525, -0.8867545127868652, 0.5595088005065918, 0.09421572089195251, -0.5628430247306824, -0.3073800206184387, 0.763588011264801, -0.18462428450584412, -0.5170804262161255, 0.5082006454467773, 0.2541987895965576, -0.24747219681739807, 0.00010956956975860521, -0.2257910966873169, -0.564862072467804, 1.0724527835845947, 0.38215047121047974, -0.28318604826927185, -0.1898246556520462, 0.3284396529197693, 0.6248847246170044, -0.46189209818840027, 0.25518131256103516, 0.4254016876220703, 0.42521461844444275, 0.16875427961349487, -0.5128628611564636, 0.4255220592021942, -0.27267733216285706, 0.01805817149579525, -0.26521602272987366, -0.48815903067588806, 0.5881887078285217, -0.021262886002659798, -0.008272906765341759, 0.13817709684371948, 0.5524728298187256, 0.5375449061393738, 0.3208148181438446, 0.8866320848464966, -0.0645451694726944, 0.8522790670394897, 0.2889506220817566, 0.602433979511261, -0.34031444787979126, 0.04421190544962883, 1.0480363368988037, -0.4493056535720825, 0.3263067305088043, 0.7216116786003113, 0.3528853952884674, 0.23591092228889465, 0.5123370289802551, -0.12043624371290207, 0.4349740147590637, 0.40842658281326294, -0.2896265685558319, -0.5832877159118652, 0.03821639344096184, -0.3232211470603943, 0.3466210961341858, 0.41198477149009705, -0.08522054553031921, -0.005923173855990171, 0.2134450078010559, -0.036271918565034866, 0.2292560189962387, 0.057927004992961884, 0.36660125851631165, -0.08222363144159317, -0.8754961490631104, 0.45445480942726135, -0.29345476627349854, 0.3080425262451172, -0.6327204704284668, -0.4436987042427063, -0.37202027440071106, 0.13246767222881317, 0.014486275613307953, -0.21890568733215332, 0.2672989070415497, -0.21019107103347778, -0.1539604812860489, -0.10902221500873566, 0.5780275464057922, -0.5289697647094727, -0.5115297436714172, 0.34573090076446533, 0.28077712655067444, 0.23512902855873108, -0.5198324918746948, -0.48824334144592285, -0.029590386897325516, -0.23346750438213348, -0.25353583693504333, 0.20087411999702454, 0.4019671678543091, -0.21166059374809265, 0.4754018783569336, 0.5178123116493225, 0.09540855884552002, -0.2311207801103592, 0.20869918167591095, 0.7227156162261963, -0.6310683488845825, -0.7079600691795349, -0.5936299562454224, 0.2918742597103119, -0.26505765318870544, -0.2254936844110489, 0.7417474985122681, 0.5392389297485352, 0.4847916066646576, -0.2441248893737793, 0.5381408333778381, -0.054514240473508835, 0.23358778655529022, -0.6952670216560364, 1.2449270486831665, -0.4593663215637207, 0.6042112112045288, -0.5496478080749512, -0.8977715969085693, -0.470589816570282, 0.6750064492225647, -0.2561582028865814, 0.1886778473854065, 0.848295271396637, 1.2410569190979004, 0.08097205311059952, 0.055817294865846634, 0.932502806186676, 0.15352720022201538, 0.346807599067688, 0.38541480898857117, 0.8736745715141296, -0.4312286078929901, 0.5446757078170776, -0.2626052796840668, -0.3093859553337097, -0.3424518406391144, -0.7706955075263977, -1.3989391326904297, -0.6479164958000183, -0.34032580256462097, -0.8296668529510498, 0.30604445934295654, 0.8022289872169495, 0.5240169763565063, -0.6898126006126404, -0.23364655673503876, -0.08245930075645447, -0.03970544785261154, -0.5528939962387085, -0.2548273503780365, 0.26434120535850525, -0.3789014518260956, -0.5232638716697693, 0.6270140409469604, -0.22268863022327423, -0.1993282288312912, -0.48820799589157104, -0.21774017810821533, -0.27833640575408936, 0.4847385287284851, 0.48518234491348267, 0.13227605819702148, -0.6298820376396179, -0.40425431728363037, 0.37370139360427856, -0.009705533273518085, -0.0970621258020401, 1.100137710571289, -0.743277907371521, 0.34507089853286743, 0.3619246780872345, 0.41693732142448425, 0.561682403087616, 0.07149684429168701, 0.7072925567626953, -0.7413308024406433, 0.05684344470500946, 0.4336509108543396, -0.04333018511533737, 0.10831011831760406, -1.0588421821594238, 0.546015739440918, 0.39141222834587097, -0.4280613958835602, -0.8106853365898132, 0.16563758254051208, -0.7432107329368591, -0.5346445441246033, 1.1633412837982178, 0.010852097533643246, -0.12069568783044815, -0.1469712108373642, -0.18731583654880524, 0.38689810037612915, -0.2446434497833252, 1.3077526092529297, 0.9352760910987854, -0.17779545485973358, -0.058069877326488495, -0.49610063433647156, 0.8612906336784363, 0.5129843950271606, -0.8173826932907104, 0.4079684913158417, 0.6044803261756897, -0.05645793303847313, 0.14330333471298218, 0.4424667954444885, -0.08098350465297699, 0.17995555698871613, 0.12680067121982574, 0.17426112294197083, -0.0758509635925293, -0.805683970451355, -0.2520903944969177, 0.21906208992004395, -0.3291867971420288, 0.17135728895664215 ]
http://arxiv.org/abs/2406.17257v1
http://arxiv.org/pdf/2406.17257v1
Leveraging Parameter-Efficient Transfer Learning for Multi-Lingual Text-to-Speech Adaptation
2024-06-25T03:50:54
2024-06-25T03:50:54
Yingting Li, Ambuj Mehrish, Bryan Chew, Bo Cheng, Soujanya Poria
cs.CL
cs.CL, cs.SD, eess.AS
Different languages have distinct phonetic systems and vary in their prosodic features making it challenging to develop a Text-to-Speech (TTS) model that can effectively synthesise speech in multilingual settings. Furthermore, TTS architecture needs to be both efficient enough to capture nuances in multiple languages and efficient enough to be practical for deployment. The standard approach is to build transformer based model such as SpeechT5 and train it on large multilingual dataset. As the size of these models grow the conventional fine-tuning for adapting these model becomes impractical due to heavy computational cost. In this paper, we proposes to integrate parameter-efficient transfer learning (PETL) methods such as adapters and hypernetwork with TTS architecture for multilingual speech synthesis. Notably, in our experiments PETL methods able to achieve comparable or even better performance compared to full fine-tuning with only $\sim$2.5\% tunable parameters.The code and samples are available at: https://anonymous.4open.science/r/multilingualTTS-BA4C.
[ -0.3929550051689148, -0.36707332730293274, 0.23586271703243256, 0.4472319185733795, -0.31934747099876404, 0.01907879114151001, -0.39753270149230957, -0.3607715666294098, -0.07934001088142395, 0.25896644592285156, -0.37705713510513306, -0.3150193691253662, -0.33809220790863037, 0.29847294092178345, 0.12845028936862946, 0.9762645363807678, 0.10763012617826462, -0.015299650840461254, 0.5086984634399414, -0.2780027389526367, -0.3622191548347473, -0.5248644351959229, -0.6863729953765869, -0.13792547583580017, 0.5072633624076843, 0.48891204595565796, 0.2670822739601135, 0.46736037731170654, 0.25948041677474976, 0.24111120402812958, -0.11349986493587494, 0.4126569330692291, -0.37085673213005066, 0.06247378885746002, -0.2693038582801819, -0.27368202805519104, -0.4029662609100342, -0.32893502712249756, 0.9286119341850281, 0.5432776212692261, -0.02766535058617592, 0.044821787625551224, 0.13968347012996674, 0.43141692876815796, -0.6181432008743286, 0.20068256556987762, -0.7758893370628357, 0.12243111431598663, -0.07430396229028702, -0.20586900413036346, -0.6714828610420227, -0.24192304909229279, 0.3384036421775818, -0.792000949382782, -0.04597337171435356, -0.07405079156160355, 0.4115349054336548, 0.005049902480095625, -0.4220541715621948, -0.15600889921188354, -0.8975130319595337, 0.8045279383659363, -0.626376211643219, 0.9921404719352722, 0.28071391582489014, 0.2504328489303589, 0.05843507871031761, -0.7307306528091431, -0.3509882390499115, -0.253930926322937, -0.009175333194434643, 0.12660875916481018, -0.003958546556532383, -0.060297440737485886, -0.02987316995859146, -0.10592808574438095, -0.7290530800819397, 0.1287965327501297, -0.33138012886047363, -0.4488363265991211, 0.2699390947818756, -0.21699748933315277, 0.04328998178243637, -0.038209784775972366, -0.43383222818374634, -0.3698045313358307, -0.40895283222198486, -0.02628757432103157, 0.28332021832466125, 0.8079199194908142, -0.31529510021209717, -0.15880616009235382, 0.28303372859954834, 0.6724880337715149, 0.18202947080135345, -0.21788005530834198, 0.3620299696922302, -0.5325354337692261, 0.07317531108856201, 0.2608700096607208, 0.7639445662498474, -0.10750307142734528, 0.4848034679889679, -0.2392403483390808, 0.06718339025974274, -0.4971655011177063, 0.10054299980401993, -1.1034109592437744, -0.06701049953699112, 0.03396939858794212, -0.28007856011390686, 0.04609519615769386, -0.13471074402332306, -0.7415246367454529, -0.06767724454402924, -0.28989899158477783, 0.40962424874305725, -0.559424102306366, -0.39679065346717834, 0.13823841512203217, 0.02291075326502323, 0.209929957985878, 0.08635694533586502, -0.9954460859298706, 0.1236637681722641, 0.30263274908065796, 0.9912470579147339, -0.2608996033668518, -0.7991985082626343, -0.8815505504608154, 0.446015328168869, -0.46471989154815674, 0.5183504223823547, -0.34378692507743835, -0.4528096914291382, -0.1758781373500824, 0.1952696591615677, -0.3495281934738159, -0.46396127343177795, 0.6107676029205322, -0.4184172451496124, 0.06304105371236801, -0.03383046016097069, -0.1791146695613861, -0.17288057506084442, -0.10757358372211456, -0.6712948083877563, 0.9092234969139099, -0.12103357166051865, -0.4811095595359802, 0.058263715356588364, -0.7169662714004517, -0.7149841785430908, -0.08136770874261856, 0.27066144347190857, -0.4713190495967865, 0.024691957980394363, 0.2541990280151367, 0.5495352149009705, -0.2307099997997284, 0.29070836305618286, -0.1251276582479477, -0.253267377614975, 0.2713516652584076, -0.6361055970191956, 0.6309292912483215, 0.37617722153663635, -0.28224319219589233, 0.16600236296653748, -0.9132854342460632, 0.11046893149614334, -0.23829346895217896, -0.5531927347183228, -0.3274962306022644, -0.30320364236831665, 0.6389496326446533, 0.14017148315906525, 0.06872797012329102, -0.3002105951309204, -0.11441598832607269, -0.4448166489601135, 0.5708650946617126, 0.6261468529701233, -0.10419876873493195, 0.46478018164634705, -0.24601447582244873, 0.32335180044174194, 0.07671144604682922, 0.10065861791372299, -0.0029515805654227734, -0.1278710812330246, -0.4126208424568176, -0.4220863878726959, 0.6110005974769592, 0.4190824329853058, -0.7553053498268127, 0.2178288996219635, -0.3148994743824005, -0.6551357507705688, -0.5802863240242004, -0.1415836364030838, 0.42278531193733215, 0.5004338622093201, 0.4705784022808075, -0.1297214925289154, -0.5035951733589172, -0.6366321444511414, -0.29370546340942383, -0.25481584668159485, -0.09005390107631683, 0.12828552722930908, 0.22929835319519043, 0.17147959768772125, 0.49331769347190857, -0.08217833191156387, -0.1318473219871521, -0.12635289132595062, 0.1443158984184265, 0.021246429532766342, 0.503480076789856, 0.7150041460990906, -0.8456219434738159, -0.7306379675865173, 0.42012861371040344, -0.2861619293689728, -0.12884964048862457, -0.23069335520267487, -0.10192342102527618, 0.15242688357830048, 0.553351104259491, -0.19882069528102875, -0.23803944885730743, 0.8052176237106323, -0.12308523803949356, 0.7433449625968933, -0.49583593010902405, 0.15783452987670898, -1.4046144485473633, 0.41097772121429443, -0.05825391039252281, -0.34820330142974854, -1.0728378295898438, -0.1103530153632164, 0.17639809846878052, -0.27449384331703186, -0.8330371975898743, 0.6231411695480347, -0.4300829768180847, -0.1001129001379013, -0.22744490206241608, -0.04320727661252022, -0.13310043513774872, 0.6394190788269043, 0.2292642593383789, 1.097938895225525, 0.631598174571991, -0.6990206837654114, 0.08929209411144257, 0.19372953474521637, 0.07328526675701141, 0.6103213429450989, -0.4404914975166321, 0.2384282499551773, 0.06886463612318039, 0.286085844039917, -0.6658872961997986, 0.10400845110416412, 0.19235412776470184, -0.29488605260849, 0.1459781527519226, -0.18490499258041382, -0.17200206220149994, 0.1845441460609436, -0.30726537108421326, 0.5723336338996887, 0.38440296053886414, -0.6221500039100647, 0.844463050365448, 0.15240933001041412, -0.29288482666015625, -0.41591590642929077, -0.727702260017395, 0.004982662387192249, -0.42219746112823486, -0.23998165130615234, 0.7380965352058411, -0.2990097999572754, 0.32566511631011963, -0.14200271666049957, 0.07204671949148178, -0.27553123235702515, -0.13299062848091125, -0.3063158690929413, -0.08944622427225113, -0.418195903301239, 0.08306163549423218, 0.05413708835840225, -0.22137144207954407, -0.24011313915252686, -0.5058683753013611, 0.44792020320892334, -0.21795721352100372, -0.20088952779769897, -0.5930315852165222, 0.41531872749328613, 1.099642038345337, -0.44523316621780396, 0.5023618340492249, 0.9353543519973755, -0.20000037550926208, -0.27391552925109863, -0.14194631576538086, -0.2742196023464203, -0.47211959958076477, 0.7190648913383484, -0.8331040740013123, -0.66899174451828, 0.6094803810119629, -0.39620640873908997, 0.00537519808858633, 0.168901726603508, 0.7305728197097778, 0.3766198456287384, 0.8025394678115845, 0.5536545515060425, -0.124411940574646, 0.6544919610023499, 0.09740977734327316, 0.09849883615970612, -0.8995315432548523, 0.02118847519159317, -0.6072754859924316, -0.08821647614240646, -0.9530234336853027, -0.44831299781799316, 0.6893881559371948, -0.21252010762691498, -0.2209760993719101, 0.4863647520542145, -0.3749468922615051, 0.2295985221862793, 0.6573357582092285, 0.11332336813211441, 0.23182325065135956, 0.141824409365654, -0.21806712448596954, -0.020111635327339172, -0.8398094773292542, -0.12307489663362503, 0.945184051990509, 0.13953524827957153, 0.445429265499115, 0.22169212996959686, 0.330005943775177, 0.03926894813776016, -0.3031158745288849, -0.7491956949234009, 0.38692501187324524, -0.5642009973526001, -0.23225213587284088, -0.388654887676239, -0.4303169548511505, -0.9388148784637451, 0.5022698640823364, -0.2137838751077652, -0.5227720141410828, 0.4124733507633209, 0.03513844683766365, -0.2680223882198334, 0.25420650839805603, -0.7225975394248962, 0.6647326946258545, -0.25971123576164246, -0.4949493408203125, -0.30238908529281616, -0.793356716632843, -0.23428083956241608, -0.4827544689178467, 0.24444493651390076, 0.10493994504213333, 0.02065948210656643, 0.7391549944877625, -0.030131425708532333, 0.7646564841270447, -0.24347437918186188, -0.08797509223222733, -0.05606257542967796, -0.009240659885108471, 0.40210023522377014, -0.14264482259750366, -0.3756939470767975, 0.12148585170507431, 0.12734687328338623, -0.24929213523864746, -0.5801968574523926, 0.5134935975074768, -0.7947633862495422, -0.12435007095336914, -0.07597147673368454, -0.7645063400268555, -0.6027641296386719, 0.19020913541316986, 0.07436060905456543, 0.5552955269813538, -0.18559855222702026, 0.2908133864402771, 0.6001579165458679, -0.20022399723529816, 0.6453710794448853, 0.6563650965690613, 0.029452666640281677, -0.5291471481323242, 1.1810901165008545, 0.17725753784179688, 0.32086923718452454, 0.5081096291542053, 0.5860888957977295, -0.40651971101760864, -0.6346801519393921, -0.815223217010498, 0.31840094923973083, -0.4522170126438141, -0.04300738126039505, -0.2841816544532776, -0.3219221532344818, -0.2527327239513397, -0.11990378051996231, -0.6520280241966248, -0.200187548995018, -0.37640294432640076, 0.1766507625579834, 0.49424251914024353, 0.24275968968868256, -0.2655295431613922, 0.35898497700691223, -0.8651180267333984, 0.38862255215644836, 0.312855064868927, 0.41930994391441345, -0.008412645198404789, -0.7880187630653381, -0.4260231554508209, -0.09741618484258652, -0.1687743365764618, -0.8125113844871521, 0.2229459136724472, 0.6611696481704712, 0.41114184260368347, 0.04436255991458893, 0.11906691640615463, 0.7471058964729309, -0.6625863313674927, 0.5534725785255432, 0.1823241412639618, -1.0493677854537964, 0.23313918709754944, -0.16695952415466309, 0.4371839165687561, 0.4060061275959015, 0.5707460045814514, -0.6761661767959595, -0.11687128990888596, -0.2494356632232666, -0.7565124034881592, 0.830388069152832, 0.0977795347571373, 0.10230471193790436, 0.5610376000404358, 0.29236745834350586, 0.25854969024658203, -0.16612361371517181, -0.5490877032279968, -0.1197381243109703, -0.13681180775165558, -0.36592257022857666, -0.06953836232423782, 0.02019616961479187, 0.1728268712759018, -0.2635173499584198, 0.8797762989997864, -0.4257120192050934, 0.07124616950750351, 0.0515156090259552, -0.15152806043624878, 0.24560315907001495, 0.39518654346466064, 0.7506946325302124, 0.5046698451042175, -0.005328487139195204, 0.25093236565589905, 0.4046459197998047, -0.5403273105621338, 0.39357441663742065, 0.2790934145450592, 0.10610122978687286, 0.043542057275772095, 0.23245108127593994, 1.1695159673690796, 0.281220018863678, -0.4146624207496643, 0.2369537055492401, -0.00048584010801278055, -0.46166008710861206, 0.21325160562992096, -0.22398917376995087, 0.30591529607772827, 0.21095333993434906, 0.25027722120285034, 0.027740247547626495, 0.14033135771751404, -0.3529070019721985, 0.29458361864089966, 0.057231318205595016, -0.25750261545181274, -0.6433933973312378, 0.6035667061805725, 0.24916264414787292, -0.4336162805557251, 0.3263779580593109, 0.09274541586637497, -0.4378090500831604, 0.23892788589000702, 0.9453287124633789, 0.8971660137176514, -0.8155819177627563, 0.21950440108776093, 0.2466403692960739, 0.034783586859703064, 0.032689712941646576, 0.10980768501758575, -0.04105638340115547, -0.4763435125350952, -0.6529722809791565, -0.664621889591217, -0.6098616123199463, 0.21472914516925812, -0.3459934890270233, 0.42130807042121887, -0.09607560932636261, 0.08424143493175507, 0.11391676217317581, -0.4072919189929962, -0.38988831639289856, 0.1250942498445511, 0.0973561555147171, 0.6037682294845581, -0.9470167756080627, 0.9350605010986328, 0.7780577540397644, 0.006732122972607613, -0.9261365532875061, 0.11393792182207108, -0.3900320827960968, -0.6333188414573669, 0.4302024245262146, -0.22170017659664154, -0.5014415383338928, 0.21537058055400848, 0.2725408375263214, -0.8259485363960266, 0.5748229026794434, 0.8971719145774841, -0.5912739038467407, -0.015650615096092224, 0.4721389412879944, 0.5700510740280151, -0.09791997075080872, 0.32193347811698914, 0.4345879554748535, 0.6211737990379333, 0.10374803841114044, -1.3514373302459717, -0.042240727692842484, 0.008803836070001125, 0.19763734936714172, 0.04177781939506531, -0.7736169099807739, 0.591097354888916, 0.10207847505807877, 0.1793925166130066, -0.3094038665294647, 0.4514142572879791, 0.16817571222782135, -0.04322643205523491, 0.6221812963485718, 0.046555452048778534, 0.6994653940200806, 0.31936848163604736, 0.4522097408771515, -0.5653169751167297, 0.20813682675361633, 0.8433470726013184, -0.10517358779907227, 0.9237042665481567, 0.46963733434677124, -0.09217808395624161, 0.25301599502563477, 0.5234652161598206, 0.33124876022338867, 0.8218705654144287, -0.01870373822748661, -0.26904067397117615, -0.1720244437456131, -0.13297666609287262, -0.33825361728668213, 0.8603512048721313, 0.2763892710208893, -0.18511834740638733, -0.2694453299045563, 0.4068106412887573, -0.07999390363693237, -0.12423627823591232, -0.12741336226463318, 0.9316813349723816, -0.06161890923976898, -0.512143611907959, 0.9847140312194824, 0.029661813750863075, 0.6544573903083801, -0.7591615915298462, -0.02307290770113468, -0.14176547527313232, 0.18819169700145721, 0.0039978655986487865, -0.4634484648704529, 0.3139137625694275, -0.0739055946469307, -0.2408537119626999, -0.2622963786125183, 0.6167100667953491, -0.6122810244560242, -0.39258959889411926, 0.3399411141872406, 0.6750601530075073, 0.18279951810836792, -0.024050066247582436, -0.7087085843086243, -0.016146963462233543, 0.021810976788401604, -0.2217041254043579, 0.3887670934200287, 0.4449717104434967, -0.2174992710351944, 0.5005679130554199, 0.7131471633911133, 0.41089963912963867, 0.002310611540451646, 0.17867955565452576, 0.4748489558696747, -0.36495405435562134, -0.8117644786834717, -0.7795648574829102, 0.3581841289997101, 0.36694973707199097, -0.39298418164253235, 0.45997095108032227, 0.6097050309181213, 0.8449423909187317, -0.28679564595222473, 0.8863711357116699, 0.2559780478477478, 0.37170523405075073, -0.5759099721908569, 0.6372456550598145, -0.612909734249115, -0.07457870244979858, -0.22807426750659943, -0.7821260094642639, -0.29842430353164673, 0.4402955174446106, -0.008830993436276913, 0.0345400832593441, 0.6794642806053162, 0.8426805138587952, -0.35809946060180664, 0.043886762112379074, 0.46050649881362915, 0.024136625230312347, 0.28784996271133423, 0.577029824256897, 0.4472638666629791, -0.33677351474761963, 0.7447092533111572, -0.1505318433046341, -0.1359727680683136, -0.26907479763031006, -0.9261062741279602, -0.4061766564846039, -0.9054193496704102, -0.28933703899383545, -0.05239928513765335, 0.48135387897491455, 0.8539936542510986, 1.0519535541534424, -0.8700709939002991, -0.5422499775886536, -0.08743944764137268, -0.05972665175795555, -0.46637022495269775, -0.15882651507854462, 0.7210956811904907, -0.37554267048835754, -0.9854538440704346, 0.5444340109825134, 0.1049596443772316, -0.0005436556530185044, -0.02743791602551937, -0.15607619285583496, -0.11626870930194855, -0.010621298104524612, 0.6769382357597351, 0.3135225176811218, -0.4232262372970581, -0.3660151958465576, 0.030666697770357132, 0.20324382185935974, 0.22450736165046692, 0.7483111619949341, -0.575482964515686, 0.5425362586975098, 0.4065680205821991, 1.0017578601837158, 0.6385017037391663, -0.21711118519306183, 0.6010372042655945, -0.913023054599762, 0.23054373264312744, 0.13759949803352356, 0.04997140169143677, 0.40616506338119507, -0.11602959036827087, 0.20596066117286682, 0.21834127604961395, -0.5872372388839722, -0.6846686601638794, 0.16352809965610504, -0.9961903095245361, -0.4194839298725128, 1.1347945928573608, -0.07284406572580338, -0.061724357306957245, 0.028519129380583763, -0.3740839958190918, 0.5288821458816528, -0.30794966220855713, 0.4017435312271118, 0.3774600625038147, -0.28881460428237915, -0.17634063959121704, -0.4027741551399231, 0.5084420442581177, 0.525626003742218, -0.7997751832008362, 0.2857014834880829, 0.17962923645973206, 0.345718115568161, -0.01176408026367426, 0.39969202876091003, 0.13024967908859253, 0.37280482053756714, -0.08190976828336716, -0.0026638940908014774, -0.09231646358966827, -0.41219231486320496, -0.4127127528190613, 0.27031293511390686, 0.1804538518190384, -0.4519716501235962 ]
http://arxiv.org/abs/2406.17255v1
http://arxiv.org/pdf/2406.17255v1
MPCODER: Multi-user Personalized Code Generator with Explicit and Implicit Style Representation Learning
2024-06-25T03:45:28
2024-06-25T03:45:28
Zhenlong Dai, Chang Yao, WenKang Han, Ying Yuan, Zhipeng Gao, Jingyuan Chen
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated great potential for assisting developers in their daily development. However, most research focuses on generating correct code, how to use LLMs to generate personalized code has seldom been investigated. To bridge this gap, we proposed MPCoder (Multi-user Personalized Code Generator) to generate personalized code for multiple users. To better learn coding style features, we utilize explicit coding style residual learning to capture the syntax code style standards and implicit style learning to capture the semantic code style conventions. We train a multi-user style adapter to better differentiate the implicit feature representations of different users through contrastive learning, ultimately enabling personalized code generation for multiple users. We further propose a novel evaluation metric for estimating similarities between codes of different coding styles. The experimental results show the effectiveness of our approach for this novel task.
[ -0.5543694496154785, -0.08747077733278275, 0.33757928013801575, 0.36504480242729187, 0.04117820784449577, 0.26248490810394287, -0.3808322846889496, 0.0637139305472374, 0.15163984894752502, 0.2996571362018585, -0.4356288015842438, -0.6342962980270386, -0.467025488615036, 0.3706572353839874, -0.1502629518508911, 0.858333170413971, 0.09564324468374252, 0.030619816854596138, -0.2646405100822449, -0.10990109294652939, -0.4880525767803192, -0.8737305998802185, -0.3444429337978363, -0.11218876391649246, 0.6103324294090271, 0.5385082960128784, 0.1829986572265625, 0.3586629629135132, 0.3687550723552704, 0.34028884768486023, 0.35509395599365234, 0.16540835797786713, -0.45804211497306824, 0.04736046865582466, 0.16876213252544403, -0.050688404589891434, -0.10402587056159973, -0.3823702037334442, 0.29288581013679504, 0.1576596051454544, -0.20909367501735687, 0.4394538402557373, 0.08286461234092712, 0.4177373945713043, -0.5809876918792725, 0.09916723519563675, -0.6120321154594421, 0.21162433922290802, 0.13336260616779327, -0.4586068093776703, -0.42571523785591125, -0.7046782970428467, -0.28640952706336975, -0.21279382705688477, 0.16259843111038208, -0.17064343392848969, 0.47579893469810486, -0.013713478110730648, -0.5601747035980225, -0.4376421272754669, -0.7796964049339294, 0.6742382049560547, -0.6786039471626282, 0.3589736521244049, -0.01569177955389023, 0.49525758624076843, 0.2934643030166626, -0.9045877456665039, -0.7634589076042175, -0.35316476225852966, -0.2792288362979889, -0.10504087060689926, -0.06076551973819733, -0.3213198482990265, 0.16639195382595062, 0.21067838370800018, -0.36957064270973206, -0.08991318941116333, -0.3820571005344391, -0.1075882539153099, 0.5340905785560608, 0.22228668630123138, 0.5091261267662048, -0.08411315083503723, -0.4625276029109955, -0.007899648509919643, -0.5362098813056946, 0.0810290277004242, 0.639091968536377, 0.009871347807347775, -0.192205548286438, 0.257832407951355, -0.16762258112430573, 0.3887019455432892, -0.051915496587753296, -0.45597541332244873, 0.6026882529258728, -0.3072222173213959, 0.1636127531528473, -0.079997219145298, 0.7880327105522156, 0.5097726583480835, 0.41322842240333557, -0.20829175412654877, -0.314776748418808, -0.05876419320702553, 0.3149760663509369, -0.9089753031730652, -0.3546281158924103, -0.11275169998407364, -0.5419057607650757, -0.3623761832714081, 0.3534735143184662, -0.8793375492095947, -0.434535413980484, -0.4166978895664215, 0.016749506816267967, -0.26549336314201355, -0.2352340817451477, -0.04960661754012108, -0.11225231736898422, 0.16622759401798248, 0.08123933523893356, -0.9487025141716003, 0.22993917763233185, 0.2737339437007904, 0.5402688384056091, -0.0708804726600647, -0.5607219338417053, -0.40557602047920227, 0.28433719277381897, -0.052723515778779984, 0.4326971769332886, -0.7426032423973083, -0.4468221366405487, 0.1039653941988945, -0.4001549780368805, 0.2886304557323456, -0.3688768148422241, 0.10384229570627213, -0.3524862229824066, -0.015910854563117027, -0.16674529016017914, -0.24409882724285126, 0.06710077077150345, -0.007854309864342213, -0.43133309483528137, 0.6233744025230408, 0.39791226387023926, -0.6360132694244385, 0.46885553002357483, -0.5378284454345703, -0.1850268691778183, 0.2141837626695633, -0.5230765342712402, -0.7066699862480164, 0.20728261768817902, 0.15539248287677765, 0.6170549988746643, 0.10044648498296738, 0.25370410084724426, -0.48183056712150574, -0.6321622729301453, 0.4480561316013336, -0.13720542192459106, 0.2428172081708908, 0.394513875246048, -0.10684164613485336, 0.4759010374546051, -0.845759391784668, 0.027843592688441277, 0.16858477890491486, -0.7116871476173401, 0.05052124336361885, -0.016021408140659332, 0.29482826590538025, 0.5136245489120483, 0.3800172507762909, -0.468504399061203, 0.32224681973457336, 0.24483388662338257, 0.40304723381996155, 0.9112019538879395, 0.0811433270573616, 0.10301492363214493, -0.2400311827659607, 0.5114167332649231, -0.22842179238796234, -0.15759755671024323, -0.49794813990592957, -0.016288189217448235, -0.6322925686836243, -0.2996651232242584, 0.09781164675951004, 0.30555152893066406, -0.5825759768486023, 0.4990506172180176, -0.35004791617393494, -0.10180958360433578, -0.20156215131282806, 0.6418938040733337, 0.7854288220405579, 0.16009379923343658, 0.2801012098789215, -0.4299614131450653, -0.7036884427070618, -0.6963561177253723, -0.14731049537658691, 0.1595139503479004, -0.2273247241973877, 0.6848840117454529, 0.4010210335254669, -0.7003767490386963, 1.024400234222412, -0.7878432869911194, -0.23442448675632477, -0.412076473236084, 0.05826900899410248, -0.2241404503583908, 0.5896102786064148, 0.6945832371711731, -0.9202415943145752, -0.5611365437507629, 0.13327910006046295, -0.5286778807640076, -0.12226182222366333, -0.1323811560869217, 0.08594649285078049, 0.1524854600429535, 0.547501266002655, 0.14002883434295654, 0.0038427088875323534, 0.6814353466033936, -0.3426535129547119, 0.5648823380470276, -0.37553632259368896, 0.26078611612319946, -1.2070939540863037, 0.27882853150367737, 0.23931817710399628, -0.1423993706703186, -0.3596235513687134, 0.29266127943992615, 0.10708725452423096, -0.4453172981739044, -0.3796112835407257, 0.4107934534549713, -0.4226043224334717, -0.21772952377796173, -0.017922978848218918, -0.4147455394268036, -0.1043330505490303, 0.8972288966178894, 0.034546080976724625, 1.0231646299362183, 0.21469378471374512, -0.41538023948669434, 0.3723624646663666, 0.017652083188295364, -0.37999793887138367, 0.2971589267253876, -0.6559273600578308, 0.6515434384346008, -0.055345308035612106, 0.0671829879283905, -1.0515695810317993, -0.41034552454948425, -0.04689151048660278, -0.327989786863327, 0.22477294504642487, -0.43000540137290955, -0.573057234287262, -0.3033512532711029, -0.3476043939590454, 0.12907692790031433, 0.9534823298454285, -0.7264345288276672, 0.38201531767845154, 0.1621345430612564, -0.17765913903713226, -0.3169666826725006, -0.3926478624343872, -0.0760222002863884, -0.27800053358078003, -0.5283701419830322, 0.2528262436389923, -0.17148955166339874, -0.04108486697077751, -0.11808035522699356, -0.2814141809940338, -0.1834135502576828, 0.04865029454231262, 0.31600111722946167, 0.04156839847564697, -0.2508706748485565, 0.03460492193698883, 0.08895186334848404, -0.24433477222919464, -0.04142247512936592, -0.05405781790614128, 0.7805054783821106, -0.2161104530096054, -0.45512518286705017, -0.15823526680469513, 0.47949686646461487, 0.2802973687648773, -0.6677690148353577, 0.6233016848564148, 0.9295169711112976, 0.011168989352881908, -0.29035377502441406, -0.645513117313385, 0.12370874732732773, -0.5407692193984985, 0.45244792103767395, -0.6799765229225159, -1.1233280897140503, 0.4041702449321747, -0.4103945791721344, -0.20487822592258453, 0.0797753632068634, 0.7089833617210388, 0.07067716866731644, 1.1265922784805298, 1.0686333179473877, 0.08806675672531128, 0.5273458957672119, -0.11200699210166931, -0.08043999969959259, -0.7840047478675842, -0.5439729690551758, -0.5765277743339539, -0.27576419711112976, -0.29813793301582336, -0.10959881544113159, 0.2110583633184433, 0.24539156258106232, -0.45617255568504333, 0.29982852935791016, -0.6693189144134521, 0.7501474022865295, 0.5640581846237183, 0.20337824523448944, 0.1614689975976944, 0.21793122589588165, -0.22452044486999512, -0.11580512672662735, -0.2234048992395401, -0.4818122684955597, 0.9092140793800354, 0.21612805128097534, 1.037500023841858, 0.40670350193977356, 1.0551338195800781, 0.32694390416145325, 0.14216198027133942, -0.4464052617549896, 0.15824829041957855, -0.3061579167842865, 0.1414392590522766, 0.235441192984581, -0.594221830368042, -0.42919039726257324, 0.04811464622616768, -0.09997978061437607, -0.7363649010658264, 0.2499392032623291, 0.3622397482395172, -0.250578373670578, 0.020577462390065193, -1.0626140832901, 0.9849135875701904, -0.20350529253482819, -0.15747906267642975, 0.09463220089673996, -0.5455561280250549, 0.4578263461589813, -0.31157371401786804, 0.014619621448218822, -0.041386928409338, -0.2136121541261673, 0.3681319057941437, -0.18968938291072845, 0.9406563639640808, -0.17808693647384644, 0.10415951162576675, -0.07055839151144028, 0.25519582629203796, 0.26135560870170593, 0.3112933933734894, 0.017420552670955658, -0.027292465791106224, -0.3785565197467804, -0.11585003137588501, -0.5803186893463135, 0.9835888743400574, -0.6494601964950562, -0.3336298167705536, -0.12782317399978638, -0.23353944718837738, -0.0988340899348259, 0.17677180469036102, 0.22106368839740753, 0.5740898251533508, -0.19139403104782104, 0.12487510591745377, 0.5382944941520691, -0.4071328938007355, 0.6759340167045593, 0.30837634205818176, -0.22625376284122467, -0.6121473908424377, 1.194515347480774, -0.455854207277298, 0.004718772601336241, 0.33705660700798035, 0.24266915023326874, -0.04389277100563049, -0.4456120431423187, -0.39499756693840027, -0.05107179656624794, -0.7107336521148682, -0.1969539076089859, -0.6148340106010437, -0.03426118567585945, -0.2956123650074005, -0.5392194390296936, 0.040817517787218094, 0.16978180408477783, -0.14360196888446808, 0.3018604516983032, 0.39094164967536926, 0.7737385630607605, 0.41829514503479004, 0.2889082431793213, -0.9413536190986633, 0.49130380153656006, 0.4941279888153076, 0.4475601017475128, -0.17183439433574677, -0.18746741116046906, -0.06769655644893646, -0.38075125217437744, -0.2772923707962036, -0.8319475650787354, 0.4688280522823334, 0.2714957594871521, 0.6115769743919373, 0.2783032953739166, -0.14365524053573608, 0.5153115391731262, -0.7145016193389893, 0.6470156311988831, 0.5148406028747559, -1.0618542432785034, 0.3859086036682129, 0.03762410953640938, 0.5074711441993713, 0.5921823978424072, 0.5126306414604187, -0.7510274052619934, -0.06308979541063309, -0.21268223226070404, -0.5569578409194946, 0.5236141085624695, 0.05561863258481026, 0.6064391136169434, 0.07642319798469543, 0.36887478828430176, 0.2892795503139496, 0.24824456870555878, -0.7445418834686279, -0.21116439998149872, -0.40168896317481995, -0.3805783987045288, -0.13150213658809662, -0.4044027030467987, 0.05283239856362343, -0.1852085441350937, 0.08607923239469528, -0.6226040124893188, 0.5145322680473328, -0.12320242077112198, -0.08895649760961533, 0.26089370250701904, 0.5891287922859192, 0.6907405257225037, 0.9190061092376709, -0.1162293329834938, 0.08258038014173508, 0.08931862562894821, -0.246231809258461, 0.12018951028585434, 0.16238556802272797, 0.09070675820112228, -0.10715553164482117, 0.1618829220533371, 0.680976927280426, 0.17918425798416138, -0.5853926539421082, 0.7483338713645935, -0.3779541552066803, 0.06883934140205383, -0.4647180140018463, 0.22842203080654144, 0.23069645464420319, -0.04392435774207115, 0.11882900446653366, 0.5905223488807678, 0.12199538201093674, -0.39121508598327637, 0.4062820374965668, 0.14829027652740479, -0.4240957200527191, -0.23847614228725433, 0.5625133514404297, 0.6203833222389221, -0.32283392548561096, 0.4217335879802704, -0.43993186950683594, -0.5388101935386658, 0.5258389711380005, 0.683468759059906, 0.9705298542976379, -0.11146825551986694, 0.07425736635923386, 0.2828449308872223, -0.14278943836688995, 0.3350292146205902, 0.3427399694919586, -0.3243698477745056, -0.5793581604957581, -0.4612840414047241, -0.9368414878845215, -0.10768330842256546, -0.16284239292144775, -0.4963158667087555, 0.589937150478363, -0.6243348717689514, 0.26049113273620605, -0.19902163743972778, -0.268863707780838, -0.5475003719329834, -0.18391303718090057, 0.33589884638786316, 0.6674339771270752, -0.510712742805481, 1.0493422746658325, 0.7169619202613831, -0.6846871376037598, -0.7140164375305176, 0.17736732959747314, 0.23116785287857056, -0.5416808128356934, 0.8128450512886047, 0.23213525116443634, -0.36293816566467285, -0.0188006404787302, -0.42121049761772156, -0.44674673676490784, 0.9557552933692932, 0.5863946080207825, -0.6759005188941956, 0.09354725480079651, -0.22448194026947021, 0.4148392975330353, -0.8057442307472229, 0.18892019987106323, 0.38623929023742676, 0.010383878834545612, 0.11608994752168655, -0.5935330986976624, 0.019655056297779083, -0.48795652389526367, 0.4808885157108307, 0.29966142773628235, -0.5659213662147522, 0.7345190644264221, -0.42716076970100403, -0.07092910259962082, 0.009965643286705017, 0.3937624394893646, 0.3102627098560333, 0.06755927950143814, 0.07966900616884232, 0.18301664292812347, 0.42302021384239197, 0.050757039338350296, 1.3115142583847046, -0.5128368735313416, 0.365925669670105, 1.0877070426940918, -0.2263057827949524, 0.6553963422775269, 0.13096822798252106, -0.05676685646176338, 0.6771716475486755, 0.06232203170657158, -0.26601889729499817, 0.4450396001338959, 0.399873822927475, -0.3508974611759186, -0.08022140711545944, 0.1729183942079544, -0.5331367254257202, 0.3218923509120941, 0.09127038717269897, -0.6114300489425659, 0.08141810446977615, -0.062212247401475906, 0.1630864292383194, 0.3275861442089081, -0.12640270590782166, 1.066646933555603, -0.021138319745659828, -0.16945648193359375, 0.45687630772590637, 0.3232386112213135, 1.1822272539138794, -0.8529534935951233, -0.42869818210601807, -0.41598501801490784, 0.3591368496417999, -0.4496634900569916, -0.6677489280700684, 0.12249549478292465, 0.17089001834392548, -0.11634496599435806, -0.3673218786716461, 0.7673351168632507, -0.42648860812187195, -0.45456162095069885, 0.1403026282787323, 0.19583310186862946, -0.22622160613536835, 0.165113165974617, -0.527048647403717, 0.24558089673519135, 0.19511578977108002, 0.11159668117761612, 0.3862208425998688, 0.17358238995075226, 0.36252662539482117, 0.6886091232299805, 0.6487718820571899, -0.12230881303548813, 0.3591652810573578, 0.2921518385410309, 0.9628887176513672, -0.6176519393920898, -0.37099042534828186, -0.8681097626686096, 0.36838698387145996, -0.08705157041549683, -0.622829020023346, 0.9179368615150452, 0.6852176785469055, 1.091329574584961, -0.6549884676933289, 0.7357094287872314, -0.09136383980512619, 0.09924288839101791, -0.5591790080070496, 0.7291228175163269, -0.2542724907398224, 0.4173610210418701, -0.5196468234062195, -1.1374826431274414, -0.26125338673591614, 0.3646596372127533, 0.1720104068517685, 0.399501770734787, 0.47390100359916687, 0.627329409122467, -0.30050280690193176, -0.39141860604286194, 0.2192380279302597, -0.347730427980423, 0.39154526591300964, 0.7103538513183594, 0.8726199269294739, -0.06626547127962112, 0.7851827144622803, -0.549391508102417, -0.15489961206912994, -0.13015629351139069, -0.8555123209953308, -0.8240763545036316, -0.558263897895813, -0.2993936836719513, -0.2873537838459015, -0.02728436328470707, 1.1551555395126343, 0.8951730132102966, -0.6596428751945496, -0.4494223892688751, 0.09506066888570786, -0.01972954161465168, -0.2018241435289383, -0.193944051861763, 0.08717045933008194, -0.4519056975841522, -0.7339950203895569, 0.07708021253347397, 0.05814160034060478, -0.043774303048849106, -0.38440537452697754, -0.6039103269577026, 0.31917640566825867, -0.24996381998062134, 0.5890127420425415, 0.32002881169319153, -0.5977110862731934, -0.21767745912075043, -0.25175875425338745, -0.3412800133228302, 0.23932810127735138, 1.300087809562683, -0.7661975026130676, 0.407444030046463, 0.6352699995040894, 0.6608467698097229, 0.4067695140838623, 0.07803870737552643, 0.447773814201355, -1.2718628644943237, -0.10993774980306625, -0.06612234562635422, 0.4513958990573883, 0.31378576159477234, -0.4923361539840698, 0.33460673689842224, 0.08241831511259079, -0.36495277285575867, -0.5514823794364929, 0.3398815095424652, -0.9197004437446594, -0.26648038625717163, 1.1692777872085571, -0.370181679725647, 0.12435874342918396, 0.054408010095357895, -0.5329802632331848, -0.17780815064907074, -0.7623520493507385, 0.35635265707969666, 0.21426856517791748, -0.2518604099750519, -0.471413254737854, -0.1776314526796341, 0.486912339925766, -0.1981363296508789, -0.8702141642570496, -0.20734374225139618, 0.5947199463844299, 0.5207871794700623, 0.24970541894435883, 0.594240128993988, -0.04924621805548668, 0.4332713186740875, 0.1875462532043457, 0.5060718655586243, -0.6787001490592957, -0.4032111167907715, -0.7203240990638733, 0.43784376978874207, 0.26372191309928894, 0.11331246048212051 ]
http://arxiv.org/abs/2406.17253v1
http://arxiv.org/pdf/2406.17253v1
How Well Can Knowledge Edit Methods Edit Perplexing Knowledge?
2024-06-25T03:41:02
2024-06-25T03:41:02
Huaizhi Ge, Frank Rudzicz, Zining Zhu
cs.CL
cs.CL
As large language models (LLMs) are widely deployed, targeted editing of their knowledge has become a critical challenge. Recently, advancements in model editing techniques, such as Rank-One Model Editing (ROME), have paved the way for updating LLMs with new knowledge. However, the efficacy of these methods varies across different types of knowledge. This study investigates the capability of knowledge editing methods to incorporate new knowledge with varying degrees of "perplexingness", a term we use to describe the initial difficulty LLMs have in understanding new concepts. We begin by quantifying the "perplexingness" of target knowledge using pre-edit conditional probabilities, and assess the efficacy of edits through post-edit conditional probabilities. Utilizing the widely-used CounterFact dataset, we find significant negative correlations between the "perplexingness" of the new knowledge and the edit efficacy across all 12 scenarios. To dive deeper into this phenomenon, we introduce a novel dataset, HierarchyData, consisting of 99 hyponym-hypernym pairs across diverse categories. Our analysis reveal that more abstract concepts (hypernyms) tend to be more perplexing than their specific counterparts (hyponyms). Further exploration into the influence of knowledge hierarchy on editing outcomes indicates that knowledge positioned at higher hierarchical levels is more challenging to modify in some scenarios. Our research highlights a previously overlooked aspect of LLM editing: the variable efficacy of editing methods in handling perplexing knowledge. By revealing how hierarchical relationships can influence editing outcomes, our findings offer new insights into the challenges of updating LLMs and pave the way for more nuanced approaches to model editing in the future.
[ -0.1234210953116417, -0.8664049506187439, 0.7870481014251709, -0.03892580047249794, 0.005994187202304602, 0.4049104154109955, -0.06480497866868973, -0.31051105260849, 0.04195013269782066, 0.27826565504074097, -0.4892042279243469, -0.6837146282196045, -0.8301149606704712, 0.2040690928697586, -0.40872129797935486, 0.9758648872375488, -0.07714862376451492, -0.27626949548721313, -0.27376535534858704, -0.12289251387119293, -0.36872032284736633, -0.9626888632774353, -0.15675339102745056, -0.295127272605896, 0.7020294666290283, 0.4786585569381714, 1.2478104829788208, 0.692718505859375, 0.7193355560302734, 0.3269786238670349, -0.7554442286491394, 0.04543965309858322, -0.7365924715995789, -0.023331256583333015, -0.32048964500427246, -0.705915629863739, -0.7978318333625793, 0.05003967508673668, 0.6803140044212341, 0.8353213667869568, -0.02411440573632717, 0.04573173075914383, 0.014831207692623138, 0.5143256187438965, -0.8009862303733826, -0.21356938779354095, -0.9574289321899414, 0.2078213393688202, -0.33540189266204834, -0.30251815915107727, -0.007034280803054571, 0.008602386340498924, 0.44698697328567505, -0.9618220925331116, -0.0020463503897190094, -0.05085274577140808, 0.7969944477081299, 0.389970988035202, -0.20337079465389252, -0.43449413776397705, -0.6854047775268555, 0.31789395213127136, -0.849647045135498, 0.2937840521335602, 0.2543102502822876, -0.14772620797157288, -0.2985667288303375, -0.5465731024742126, -0.7578614354133606, 0.11772355437278748, -0.0669589713215828, -0.11513698846101761, -0.35599881410598755, 0.13574808835983276, 0.8317092657089233, 0.2384917140007019, -0.06224694848060608, 0.27875274419784546, -0.01992030069231987, 0.046147625893354416, 0.3542274534702301, 0.27253955602645874, 0.34488973021507263, -0.5915560126304626, -0.2529325485229492, 0.17024081945419312, -0.8688167929649353, 0.031797975301742554, 0.5205941796302795, -0.1289132535457611, 0.18012812733650208, 0.8915771842002869, -0.1921015828847885, 0.47192585468292236, 0.20257164537906647, -0.38965466618537903, 0.13154098391532898, -0.13514389097690582, -0.48146024346351624, -0.09468751400709152, 0.3572351634502411, 0.3615133464336395, 0.014679357409477234, -0.18037238717079163, -0.25323745608329773, -0.3364673852920532, 0.12184865027666092, -0.267559677362442, -0.2500404417514801, 0.13181249797344208, -0.09723906219005585, -0.391423761844635, -0.2811383008956909, -0.356927752494812, -0.8009401559829712, -0.1882113218307495, 0.6088296175003052, -0.40931957960128784, -0.07069003582000732, 0.3034420609474182, -0.11453324556350708, -0.09663726389408112, 0.7127560973167419, -0.5743396282196045, 0.007158363703638315, 0.7488893270492554, 0.5402509570121765, -0.055100277066230774, -0.5019325017929077, -0.0999426394701004, 0.28020209074020386, -0.4253793954849243, 0.6517723202705383, -0.7273356318473816, -0.26668208837509155, -0.16351693868637085, -0.2967555820941925, -0.04696103557944298, -0.5830985307693481, 0.2003457397222519, -0.7868224382400513, -0.045808691531419754, -0.42862585186958313, -0.8455537557601929, 0.1050698533654213, 0.2262652963399887, -0.47303783893585205, 0.635593056678772, 0.07182628661394119, -1.1190623044967651, 0.3614868223667145, -0.5725011229515076, -0.2918875515460968, -0.1318867951631546, 0.13255445659160614, -0.15398791432380676, 0.2659870386123657, 0.0610165037214756, 0.13511571288108826, -0.09684793651103973, 0.26835542917251587, -0.14329861104488373, -0.09364604949951172, 0.5131514072418213, -0.09090352058410645, 0.5587551593780518, -0.030568743124604225, -0.01807643286883831, 0.13673652708530426, -0.626999020576477, -0.43559253215789795, -0.10745186358690262, -0.29745009541511536, -0.6382003426551819, -0.10295552760362625, -0.557930588722229, 0.26879462599754333, 0.3629908561706543, -0.3000074625015259, 0.4929536283016205, -0.057886138558387756, 0.24218174815177917, 0.7520444393157959, 0.20505185425281525, 0.35647451877593994, -0.48154813051223755, 0.7843579053878784, 0.1614343523979187, 0.2223125845193863, -0.0429346077144146, -0.43107226490974426, -0.6354678869247437, 0.11496952921152115, 0.5617726445198059, 0.7517145276069641, -0.8260467648506165, 0.05923861265182495, -0.21351678669452667, -0.29569119215011597, -0.5922293663024902, 0.4646371006965637, 0.5304902195930481, 0.7530810832977295, 0.4136927127838135, -0.1056695431470871, -0.4659467935562134, -0.8654913902282715, -0.5784211754798889, -0.20440955460071564, 0.11441800743341446, 0.1981896460056305, 0.553226888179779, -0.258714497089386, 0.7351980209350586, -0.5362011790275574, -0.024426547810435295, -0.016730323433876038, 0.277534157037735, 0.11369218677282333, 0.47782567143440247, 0.23443561792373657, -0.6387319564819336, -0.15284743905067444, -0.1163376122713089, -0.907073974609375, -0.1860562413930893, -0.23253042995929718, -0.1629110425710678, 0.07916013896465302, 0.6807069778442383, -0.5744683742523193, 0.4389249384403229, 0.3119352161884308, -0.15460804104804993, 0.8617638349533081, -0.22211000323295593, 0.3015594482421875, -0.8872379660606384, -0.27052444219589233, -0.10639654844999313, 0.27766504883766174, -0.6908466815948486, 0.2189333140850067, 0.049537647515535355, 0.33188727498054504, -0.4965948164463043, 0.1813022345304489, -0.4353361427783966, 0.14353036880493164, 0.13005346059799194, 0.1308663785457611, -0.26707327365875244, 0.32468119263648987, -0.21943747997283936, 0.480720192193985, 0.2631213366985321, -0.29178595542907715, 0.2027280181646347, 0.5422211289405823, -0.6242517232894897, 0.4620511829853058, -0.38049694895744324, 0.2699100971221924, -0.26398876309394836, -0.04559076204895973, -0.8892682790756226, -0.26236218214035034, 0.05050553008913994, -0.29957133531570435, 0.10074211657047272, -0.22858203947544098, -0.6458685994148254, -0.03306901082396507, -0.15626655519008636, 0.4296611547470093, 0.23847270011901855, -0.24581892788410187, 0.424201637506485, 0.3652268052101135, -0.4447205662727356, -0.9251461625099182, -0.7339344620704651, 0.5673243999481201, -0.3039640188217163, -0.6471136212348938, 0.4651670753955841, -0.01944582350552082, -0.5119869112968445, 0.27174830436706543, -0.4260847568511963, 0.02356957271695137, 0.23780407011508942, 0.035265251994132996, 0.2270306944847107, -0.07292885333299637, 0.16674396395683289, 0.27199429273605347, -0.04924966022372246, 0.08702756464481354, 0.01630663312971592, 0.01600741595029831, 0.3916517496109009, -0.30115842819213867, -0.5679547190666199, -0.031733736395835876, 0.6677512526512146, -0.14435553550720215, 0.5593801736831665, -0.14701227843761444, -0.49681994318962097, 0.0937599167227745, -0.7581899762153625, 0.166499525308609, -0.4153222441673279, 0.6246644258499146, -0.842114269733429, -1.0069040060043335, 0.6466174721717834, -0.18252195417881012, -0.02758791111409664, 0.443635493516922, 0.24737390875816345, -0.29408490657806396, 0.8482953310012817, 0.6211229562759399, 0.1139800027012825, 0.3735419511795044, -0.22332774102687836, 0.22024714946746826, -1.0846937894821167, -0.23663809895515442, -0.49034249782562256, -0.41002804040908813, -0.7026500105857849, -0.5293963551521301, 0.5308159589767456, 0.3716629147529602, -0.005599283147603273, 0.17123761773109436, 0.06844525039196014, 0.5489814877510071, 0.19565755128860474, 0.16387033462524414, 0.9210665822029114, -0.08920978754758835, -0.14187398552894592, -0.22033102810382843, -0.9763563871383667, -0.529322624206543, 1.2424554824829102, 0.39358752965927124, 0.8613389134407043, 0.3420097827911377, 0.5758061408996582, 0.15560217201709747, 0.31978872418403625, -0.6437312364578247, 0.3528897166252136, -0.3439972996711731, -0.5640007853507996, -0.620459794998169, -0.36658361554145813, -0.6277252435684204, 0.05724521726369858, -0.7039905786514282, -0.6956155300140381, 0.5096617341041565, 0.3499993085861206, -0.4660283029079437, 0.7184698581695557, -0.6162881851196289, 0.6913223266601562, -0.051351889967918396, -0.3164859414100647, -0.16713252663612366, -0.6957864165306091, 0.361541748046875, -0.26062101125717163, 0.5159221887588501, 0.2571113109588623, -0.07583342492580414, 0.7352091670036316, -0.340349406003952, 0.566493809223175, 0.01398990023881197, -0.5090094804763794, -0.1616312861442566, 0.3571333587169647, 0.5392042994499207, 0.0373026542365551, -0.29536131024360657, -0.047158192843198776, -0.03946918621659279, -0.39139819145202637, -1.0828722715377808, 0.5466657280921936, -0.756959855556488, -1.2092654705047607, -0.24044130742549896, -0.9414998292922974, -0.5225114822387695, -0.060192760080099106, 0.258821964263916, 0.3380247950553894, -0.017537560313940048, 0.11733674257993698, 0.8716625571250916, -0.40738388895988464, -0.11280950158834457, 0.44424059987068176, -0.19695048034191132, -0.10520748049020767, 0.7047857046127319, 0.6965606808662415, 0.565517246723175, 0.5588831901550293, 0.19410650432109833, -0.037192363291978836, -0.9962713718414307, -0.18318632245063782, 0.04373744875192642, -0.7144995927810669, 0.07652531564235687, -0.8626952171325684, -0.221841499209404, -0.35224783420562744, -0.29603224992752075, -0.04276478290557861, -0.6323809623718262, -0.010863127186894417, -0.16613692045211792, 0.17309753596782684, 1.0639889240264893, -0.1072903499007225, 0.34926745295524597, -0.43756750226020813, 0.5044218301773071, 0.5364267826080322, 0.16979223489761353, 0.004826640244573355, -0.7499180436134338, -0.13929733633995056, 0.008336516097187996, -0.007332646753638983, -1.0237154960632324, -0.07614261656999588, -0.25202637910842896, 0.4379691183567047, 0.1886979341506958, -0.021845519542694092, 0.9838504195213318, -0.22591529786586761, 0.466208815574646, -0.06306766718626022, -1.1175693273544312, 0.34751659631729126, -0.37299269437789917, 0.3476316034793854, 0.3438507914543152, 0.549134373664856, -0.6877353191375732, -0.6673640608787537, -0.711391806602478, -0.6662210822105408, 0.5628467202186584, 0.08225398510694504, 0.06492938101291656, 0.3598840832710266, 0.7913401126861572, 0.02831871807575226, 0.35984596610069275, -0.4103320837020874, -0.2878864109516144, -0.023673320189118385, 0.20490893721580505, -0.12560923397541046, -0.6500117778778076, -0.11653782427310944, -0.6196522116661072, 0.563389241695404, 0.3680538535118103, -0.22281035780906677, 0.39708179235458374, -0.44809818267822266, -0.3118891716003418, 0.550062894821167, 0.5308917164802551, 1.0122321844100952, -0.21659334003925323, 0.21056100726127625, 0.502213180065155, -0.29034650325775146, 0.11904832720756531, -0.03704452887177467, -0.3273707628250122, -0.3040441870689392, 0.7347526550292969, 0.8550556302070618, 0.4225330948829651, -0.2375812977552414, 0.18504974246025085, 0.1272231936454773, -0.46318379044532776, 0.2404424548149109, 0.1266043782234192, 0.1988714337348938, 0.19553227722644806, 0.4066033959388733, 0.11135721206665039, -0.0072917756624519825, -0.6548011302947998, -0.1277320384979248, 0.17811115086078644, 0.021229462698101997, -0.19674821197986603, 0.42353135347366333, -0.06899488717317581, -0.4259754419326782, 0.3862445056438446, -0.23109634220600128, -0.7076579332351685, 0.4884384572505951, 0.45482224225997925, 0.4932847321033478, -0.27998337149620056, 0.1360704004764557, 0.05058877170085907, 0.4846400320529938, 0.2545214891433716, -0.14963418245315552, 0.22962363064289093, -0.9493222236633301, -0.5003563165664673, -0.41224321722984314, -0.7618179321289062, 0.37852180004119873, -0.44494199752807617, 0.07578401267528534, -0.5012433528900146, -0.14430974423885345, 0.3196708858013153, -0.13602688908576965, -0.5545682907104492, 0.17790862917900085, -0.31484246253967285, 0.9452864527702332, -0.7405747175216675, 0.7343247532844543, 1.077506184577942, -0.12074168026447296, -0.7660292983055115, 0.32916226983070374, 0.34039008617401123, -0.47773048281669617, 0.4480307996273041, -0.5433233976364136, -0.12350604683160782, 0.11909643560647964, -0.6253254413604736, -0.7806549668312073, 0.7615242004394531, 0.46093690395355225, -0.678585946559906, -0.43835529685020447, 0.14761167764663696, 0.5944974422454834, -0.2615349590778351, -0.13292784988880157, 0.8465567827224731, 0.676882266998291, 0.17881636321544647, -0.8928487300872803, 0.014859294518828392, -0.2763051390647888, -0.16241085529327393, -0.063618965446949, -0.25628361105918884, 1.0118588209152222, -0.4646613299846649, -0.0323106124997139, 0.08117806911468506, 0.2858865261077881, -0.022622736170887947, 0.15766887366771698, 0.5750184655189514, 0.8161346316337585, 0.8527002930641174, 0.10315368324518204, 0.8179704546928406, -0.11273710429668427, 0.1215309351682663, 1.2834903001785278, -0.24962863326072693, 0.6257720589637756, 0.4700125753879547, -0.2242880016565323, 0.723478376865387, 0.3223698139190674, 0.23139701783657074, 0.012519177049398422, 0.3930169343948364, -0.2427503913640976, -0.3827364444732666, 0.021406719461083412, -0.3139495551586151, 0.3988368809223175, 0.4411836862564087, -0.018347688019275665, -0.09388832002878189, -0.03853969648480415, 0.38446226716041565, 0.14368614554405212, -0.159817174077034, 0.8345121741294861, -0.14197741448879242, -0.5067691206932068, 0.4967789947986603, 0.04279132932424545, 0.628524899482727, -0.3857473134994507, -0.01816992275416851, -0.13137929141521454, -0.32993370294570923, -0.48785895109176636, -0.969649612903595, 0.13595333695411682, 0.27150771021842957, -0.23964881896972656, -0.062351394444704056, 0.4800858199596405, -0.2299036681652069, -0.31566545367240906, 0.23905979096889496, 0.8890236020088196, -0.07140879333019257, -0.11317720264196396, -0.495737761259079, 0.058928318321704865, -0.08399386703968048, -0.2020338475704193, 0.33469313383102417, 0.886479914188385, -0.1008228287100792, 0.6174666285514832, 0.6231269836425781, 0.30559661984443665, -0.04058489948511124, -0.04002562165260315, 0.8079721331596375, -0.7162843942642212, -0.27510765194892883, -0.732528805732727, 0.5140934586524963, 0.07114860415458679, -0.5772151947021484, 0.7472638487815857, 0.2971336841583252, 0.9169744253158569, 0.1182902529835701, 0.8532254695892334, 0.016758134588599205, 0.3779695928096771, -0.5787257552146912, 0.7419621348381042, -0.5794072151184082, 0.6710809469223022, -0.8355128765106201, -0.6158038973808289, -0.37750548124313354, 0.249578595161438, -0.7816513776779175, -0.2381456047296524, 0.9341395497322083, 0.8430171608924866, 0.16889041662216187, 0.04960157722234726, 0.44702988862991333, 0.97986900806427, -0.03804947808384895, 0.5649440288543701, 1.1308565139770508, -0.1104680746793747, 0.23346951603889465, -0.5863015055656433, -0.3767153322696686, -0.004931147675961256, -0.9041914343833923, -0.7732508778572083, -0.5021778345108032, -0.3251160681247711, -0.2203332632780075, 0.6222510933876038, 0.7760635018348694, 0.3797531723976135, -0.5537625551223755, -0.17520636320114136, 0.14180319011211395, 0.7817278504371643, -0.04215945675969124, -0.13059839606285095, 0.34124496579170227, -0.2323666661977768, -0.47218725085258484, 0.19410470128059387, 0.10727853327989578, 0.03139318898320198, 0.005974593572318554, 0.06887926906347275, -0.4627622961997986, 0.07108346372842789, 0.6619223356246948, 0.07564163953065872, -0.6098944544792175, -0.2915075421333313, -0.08070456236600876, 0.012848097831010818, 0.07951577007770538, 0.7645846009254456, -0.6220316290855408, 0.4579694867134094, 0.35802924633026123, 0.6529813408851624, 0.2684749364852905, 0.19406162202358246, 0.3886590898036957, -0.31490927934646606, -0.2572895288467407, -0.04002247005701065, 0.19050009548664093, 0.3338490128517151, -0.4637013077735901, 0.16362011432647705, 0.4908480942249298, -0.3879498839378357, -0.8256486058235168, 0.07053903490304947, -0.629856526851654, -0.3593316078186035, 1.0107630491256714, -0.2580821216106415, -0.026274286210536957, -0.23952443897724152, -0.23011022806167603, 0.28727346658706665, 0.0024574005510658026, 1.0382195711135864, 1.1175860166549683, -0.2597857117652893, 0.0056775412522256374, -0.5021615624427795, 0.606011152267456, 0.703223466873169, -0.694834291934967, 0.07647351920604706, 0.46822401881217957, 0.4117072522640228, 0.03623555600643158, 0.26004377007484436, -0.13953053951263428, 0.42525219917297363, -0.20110614597797394, -0.14017941057682037, -0.16301551461219788, -0.4662257134914398, -0.4275859594345093, 0.37083202600479126, 0.3217179775238037, 0.5004757642745972 ]
http://arxiv.org/abs/2406.17245v1
http://arxiv.org/pdf/2406.17245v1
Unlocking Continual Learning Abilities in Language Models
2024-06-25T03:24:06
2024-06-25T03:24:06
Wenyu Du, Shuang Cheng, Tongxu Luo, Zihan Qiu, Zeyu Huang, Ka Chun Cheung, Reynold Cheng, Jie Fu
cs.LG
cs.LG, cs.AI, cs.CL
Language models (LMs) exhibit impressive performance and generalization capabilities. However, LMs struggle with the persistent challenge of catastrophic forgetting, which undermines their long-term sustainability in continual learning (CL). Existing approaches usually address the issue by incorporating old task data or task-wise inductive bias into LMs. However, old data and accurate task information are often unavailable or costly to collect, hindering the availability of current CL approaches for LMs. To address this limitation, we introduce $\textbf{MIGU}$ ($\textbf{M}$agn$\textbf{I}$tude-based $\textbf{G}$radient $\textbf{U}$pdating for continual learning), a rehearsal-free and task-label-free method that only updates the model parameters with large magnitudes of output in LMs' linear layers. MIGU is based on our observation that the L1-normalized magnitude distribution of the output in LMs' linear layers is different when the LM models deal with different task data. By imposing this simple constraint on the gradient update process, we can leverage the inherent behaviors of LMs, thereby unlocking their innate CL abilities. Our experiments demonstrate that MIGU is universally applicable to all three LM architectures (T5, RoBERTa, and Llama2), delivering state-of-the-art or on-par performance across continual finetuning and continual pre-training settings on four CL benchmarks. For example, MIGU brings a 15.2% average accuracy improvement over conventional parameter-efficient finetuning baselines in a 15-task CL benchmark. MIGU can also seamlessly integrate with all three existing CL types to further enhance performance. Code is available at \href{https://github.com/wenyudu/MIGU}{this https URL}.
[ -0.08358871191740036, -0.7363947033882141, 0.4055437743663788, 0.27477726340293884, -0.10259601473808289, 0.22098106145858765, -0.6341675519943237, -0.34577661752700806, -0.2482534646987915, 0.2665749192237854, -0.4494223892688751, -0.5022714734077454, -0.3730752170085907, -0.22757212817668915, -0.1343722939491272, 0.8968145251274109, 0.07895826548337936, 0.1749494969844818, -0.16645120084285736, -0.49171239137649536, -0.8171307444572449, -0.3499560058116913, -1.0641164779663086, -0.6595258116722107, 0.8788595199584961, 0.45774200558662415, 0.41283971071243286, 0.45875057578086853, 0.07810518890619278, 0.17617224156856537, -0.05102080851793289, 0.18187391757965088, -0.7231091260910034, 0.05799397453665733, -0.22868987917900085, -0.363881915807724, -0.3013879358768463, -0.10103382915258408, 1.0394994020462036, 0.7355594038963318, -0.24706412851810455, -0.1606348752975464, 0.6048985719680786, 0.8622832894325256, -0.5676330327987671, 0.22149039804935455, -0.9220584630966187, -0.1807769536972046, -0.24429437518119812, 0.06698382645845413, -0.4774944484233856, -0.19831159710884094, 0.05774657800793648, -0.37956634163856506, -0.012867901474237442, -0.2818022668361664, 1.2006477117538452, 0.29589876532554626, -0.059479910880327225, -0.19620493054389954, -0.9880478978157043, 0.9379326701164246, -0.6302234530448914, 0.6073116660118103, 0.19018198549747467, 0.30226579308509827, -0.3110496401786804, -0.5543527603149414, -0.12379182130098343, -0.5885931253433228, 0.05095994099974632, 0.2343239039182663, -0.07376809418201447, 0.1681416630744934, -0.08794618397951126, 0.534652590751648, -0.3817157447338104, 0.3307551443576813, -0.017772145569324493, -0.009320405311882496, 0.27073803544044495, -0.02163916639983654, 0.24783197045326233, 0.20994168519973755, -0.27921926975250244, 0.13137677311897278, -0.698302686214447, 0.045077186077833176, 0.04519028961658478, 0.10808504372835159, -0.07939143478870392, 0.009609850123524666, -0.03516073152422905, 0.7303286790847778, 0.03274962678551674, -0.06231357157230377, 0.14522168040275574, 0.011972172185778618, -0.1543481945991516, -0.48924440145492554, 0.5958860516548157, -0.10833518952131271, 0.26023775339126587, -0.7392726540565491, -0.3932543098926544, 0.01693183183670044, 0.24284058809280396, -0.31879669427871704, -0.30974993109703064, 0.18344449996948242, 0.03678407520055771, -0.07126806676387787, -0.01363635715097189, -0.5508826375007629, 0.09508227556943893, -0.49792352318763733, 0.5656456351280212, -0.6156671047210693, -0.3783031404018402, 0.12315059453248978, 0.1712159812450409, 0.1544979363679886, 0.127099871635437, -0.8092250227928162, 0.2792609930038452, 0.5230727791786194, 0.9676883816719055, -0.5337697863578796, -0.5055897235870361, -0.6424152851104736, 0.3496231734752655, -0.3129023611545563, 0.5652475357055664, -0.45124077796936035, -0.2784256339073181, -0.10459401458501816, 0.14742131531238556, -0.39406901597976685, -0.7398676872253418, 0.3036687970161438, -0.39164939522743225, -0.12833915650844574, -0.1800691932439804, -0.5035691857337952, -0.04382146894931793, 0.1083991676568985, -0.5582042336463928, 1.139265537261963, 0.3057657480239868, -0.3128139078617096, 0.3034403622150421, -0.6535404324531555, -0.2702604830265045, 0.16519680619239807, -0.058132629841566086, -0.6792668700218201, 0.14613252878189087, -0.05601460859179497, 0.4290756583213806, -0.11980711668729782, 0.7214800715446472, -0.2495052069425583, -0.29804661870002747, 0.04565918445587158, -0.4833090305328369, 0.5384405255317688, 0.23499850928783417, -0.3638036549091339, 0.14326584339141846, -0.6631669998168945, -0.2831450402736664, 0.20508000254631042, -0.5198810696601868, -0.2296685427427292, 0.04340379312634468, -0.2048867642879486, 0.04690937325358391, 0.22191007435321808, -0.3741382658481598, 0.22208650410175323, -0.1865585446357727, 0.38873612880706787, 0.9628084301948547, -0.04458232969045639, 0.5159135460853577, -0.7127603888511658, 0.452255517244339, 0.13175366818904877, 0.159882053732872, -0.09346617758274078, -0.24078480899333954, -1.1591438055038452, -0.2007680982351303, 0.2516011595726013, 0.6636349558830261, -0.6121160984039307, 0.19868002831935883, -0.43633320927619934, -0.8148475289344788, -0.20827007293701172, 0.617277204990387, 0.5858854651451111, 0.564563512802124, 0.48418837785720825, -0.16379229724407196, -0.3098357617855072, -0.5956259965896606, -0.3280385136604309, -0.07452179491519928, -0.11815811693668365, 0.4804931879043579, 0.25855329632759094, -0.25975528359413147, 0.7731038331985474, -0.1131429374217987, -0.2643250524997711, -0.41859200596809387, 0.13953779637813568, 0.16816513240337372, 0.92789226770401, 0.5317420959472656, -0.36670950055122375, -0.34226927161216736, 0.1876678466796875, -1.0279356241226196, -0.1230582743883133, -0.649319589138031, -0.28375449776649475, 0.4249555468559265, 0.515137791633606, -0.5012721419334412, 0.12940151989459991, 0.5830839276313782, -0.10993794351816177, 0.664217472076416, -0.19564266502857208, -0.24869254231452942, -0.8137023448944092, 0.25679218769073486, 0.10630926489830017, -0.27106115221977234, -0.6923883557319641, 0.24285265803337097, 0.14437690377235413, -0.07364723086357117, -0.38329312205314636, 0.6716820597648621, -0.625011146068573, 0.18194498121738434, -0.11066476255655289, 0.004524607211351395, -0.07487334311008453, 0.8116137385368347, -0.21855056285858154, 0.6121198534965515, 0.8673484325408936, -1.1081445217132568, -0.04220772162079811, -0.22128665447235107, -0.19528067111968994, 0.34141337871551514, -0.6651430726051331, 0.3309602737426758, -0.24119725823402405, 0.09449956566095352, -0.6111564636230469, -0.029078856110572815, 0.32116955518722534, -0.3110339045524597, 0.6578558683395386, -0.4382728040218353, -0.43749094009399414, -0.1941681057214737, 0.18078382313251495, 0.16697588562965393, 0.5313768982887268, -0.51377934217453, 1.0081205368041992, 0.3287684917449951, -0.052505943924188614, -0.46736693382263184, -0.47839948534965515, 0.29007548093795776, -0.31229153275489807, -0.3554152548313141, 0.3447332978248596, -0.3524799346923828, -0.06798683851957321, -0.01598900370299816, -0.29299139976501465, 0.1564788967370987, 0.35331201553344727, 0.07734907418489456, 0.39394518733024597, -0.1481538861989975, 0.42219990491867065, 0.11141949892044067, -0.1968144029378891, -0.06318704783916473, -0.7889768481254578, 0.715056300163269, -0.3013685941696167, -0.03798062726855278, -0.31978365778923035, 0.12273520231246948, 0.6263114809989929, -0.2751491367816925, 0.8213978409767151, 0.6608977913856506, -0.496472030878067, -0.24664635956287384, -0.8640231490135193, -0.008805293589830399, -0.4757760167121887, 0.23700553178787231, -0.43624699115753174, -0.9048586487770081, 0.6233134269714355, -0.16685982048511505, 0.3718900680541992, 0.31305038928985596, 0.2366572916507721, -0.21619322896003723, 0.558025598526001, 0.6817731261253357, -0.4177672266960144, 0.6900328993797302, -0.4492467939853668, -0.21372194588184357, -0.7662390470504761, -0.4372558295726776, -0.31732138991355896, -0.2297353893518448, -0.09122079610824585, -0.08526041358709335, 0.35843607783317566, 0.6925495266914368, -0.029586322605609894, 0.34048303961753845, -0.27407029271125793, 0.44156453013420105, 0.48574650287628174, 0.3627023994922638, 0.08954209089279175, -0.02812601998448372, -0.37346887588500977, 0.18659472465515137, -0.9597307443618774, -0.17233455181121826, 0.9985554218292236, 0.2963458299636841, 0.6788946986198425, 0.06937514990568161, 0.6929408311843872, 0.29136383533477783, 0.44465333223342896, -0.6157543063163757, 0.5933384895324707, -0.10614846646785736, -0.08875880390405655, -0.2385660707950592, -0.5355067253112793, -1.0128308534622192, -0.08011351525783539, -0.0677729994058609, -0.7186570763587952, -0.02769577130675316, 0.5367478132247925, -0.05601944401860237, 0.5741469860076904, -0.668953537940979, 0.7781606912612915, -0.2503567636013031, -0.6379839181900024, -0.3291204273700714, -0.394970566034317, 0.10007334500551224, -0.16557611525058746, 0.006874272134155035, -0.09478544443845749, 0.1670232117176056, 0.5911262631416321, -0.16161222755908966, 0.822516918182373, -0.39851129055023193, -0.19340717792510986, 0.34649381041526794, 0.2343212068080902, 0.6031602621078491, 0.22137653827667236, 0.06660763919353485, 0.4047318398952484, -0.3385143280029297, -0.7130358815193176, -0.5158933401107788, 1.0768195390701294, -0.5769724249839783, -0.8060752749443054, -0.2790796756744385, -0.6749646067619324, -0.32008883357048035, 0.17405234277248383, 0.07010672986507416, 0.6115778088569641, -0.02992323972284794, 0.10154327005147934, 0.7781078815460205, -0.15631596744060516, 0.5483214855194092, 0.3867688775062561, -0.08070801198482513, -0.3419157862663269, 1.2883927822113037, 0.13622470200061798, 0.5292513370513916, 0.15057937800884247, 0.3873920738697052, -0.11987579613924026, -0.6034405827522278, -0.4226062595844269, 0.42874228954315186, -0.6258069276809692, -0.19858869910240173, -0.7953526973724365, -0.3764081299304962, -0.08913245052099228, -0.20158541202545166, -0.23035123944282532, -0.05832953378558159, -0.4263230562210083, -0.014095889404416084, 0.22354722023010254, 0.5452200174331665, -0.33044394850730896, 0.043612074106931686, -0.7785992622375488, 0.305703729391098, 0.39003437757492065, 0.4633201062679291, 0.28770363330841064, -0.5491049289703369, -0.4639829695224762, 0.0744968131184578, -0.30099475383758545, -0.5570257306098938, 0.125334233045578, 0.5598026514053345, 0.7286803722381592, 0.3614068925380707, -0.2658228278160095, 0.7966407537460327, -0.4668301045894623, 0.7317646741867065, -0.05322038009762764, -0.8078464865684509, 0.699988067150116, -0.5483092665672302, 0.6938955187797546, 0.47013235092163086, 0.37621793150901794, -0.5889348983764648, -0.8583476543426514, -0.49945691227912903, -0.7227889895439148, 0.4164619445800781, 0.1536722630262375, 0.20669107139110565, -0.13276703655719757, 0.49503597617149353, 0.1642751842737198, -0.21056506037712097, -0.8247830867767334, -0.357956200838089, -0.29173439741134644, -0.05085097253322601, 0.014162981882691383, -0.20197069644927979, 0.15785883367061615, -0.39473849534988403, 0.8779535293579102, -0.0032974823843687773, 0.2264096885919571, 0.09749617427587509, -0.4065355360507965, 0.11162447929382324, 0.2314128875732422, 0.5208179950714111, 0.743713915348053, -0.14554718136787415, -0.14779217541217804, 0.3617272973060608, -0.4851383864879608, 0.053230248391628265, -0.04273659735918045, -0.337185800075531, 0.23448088765144348, 0.0376448892056942, 0.6753625273704529, 0.38445886969566345, -0.5852171778678894, -0.021068233996629715, 0.24862416088581085, -0.030290858820080757, -0.6765118837356567, 0.32683295011520386, 0.12516245245933533, -0.011264379136264324, 0.5100794434547424, 0.2515653073787689, -0.2677995562553406, -0.3791387379169464, 0.3745439946651459, 0.3620688319206238, -0.6434276700019836, -0.34485942125320435, 0.8156933188438416, 0.08494850248098373, -0.07392716407775879, 0.530681848526001, -0.3477151095867157, -0.23792000114917755, 0.364879846572876, 0.7098807692527771, 0.9414829015731812, -0.3079325258731842, 0.01316856499761343, 0.5641952157020569, 0.11651419848203659, -0.2000369131565094, 0.08110526204109192, -0.01130696851760149, -0.7126147150993347, -0.39723119139671326, -0.635842502117157, -0.1297180950641632, 0.4711854159832001, -0.6356832981109619, 0.11099676787853241, -0.652795135974884, -0.04497349634766579, -0.48099076747894287, -0.30569055676460266, -0.5844869613647461, 0.14672119915485382, 0.02999540977180004, 0.6742510199546814, -0.5023192167282104, 1.1783853769302368, 0.34324270486831665, -0.3157697319984436, -0.6392935514450073, -0.1222756877541542, 0.10821232199668884, -0.6249744296073914, 0.3874802589416504, 0.1861240416765213, -0.3887101411819458, 0.38799360394477844, -0.47643887996673584, -0.648422360420227, 1.203494906425476, 0.4155445098876953, -0.785141110420227, -0.24835407733917236, -0.0859275832772255, 0.24180416762828827, -0.1526375263929367, -0.24825221300125122, 0.6719823479652405, 0.3082277774810791, -0.05510175973176956, -0.6027379035949707, -0.2061540186405182, -0.3050667643547058, -0.06919171661138535, 0.2569042146205902, -0.6314805150032043, 0.5441988110542297, -0.22137953341007233, -0.5268890261650085, 0.2530541718006134, 0.8443703055381775, 0.3580206334590912, 0.12632451951503754, 0.5491572618484497, 0.864227831363678, 0.7265586853027344, -0.3674708604812622, 0.8883715271949768, -0.49832475185394287, 0.37016838788986206, 1.1738289594650269, 0.13481824100017548, 0.5222083330154419, 0.2526773512363434, 0.16975054144859314, 0.6030868291854858, 0.28612858057022095, -0.10493946075439453, 0.37103885412216187, 0.20272068679332733, -0.5927030444145203, -0.33012649416923523, -0.2777198255062103, -0.14011555910110474, 0.15373824536800385, 0.5055099725723267, 0.007157627958804369, -0.12958994507789612, 0.23684799671173096, 0.4538767635822296, 0.1600235104560852, -0.5926036834716797, 0.7106857299804688, 0.1829836070537567, -0.70139080286026, 0.9689132571220398, -0.11855792254209518, 0.7737691402435303, -0.8616106510162354, -0.05612943693995476, -0.5311476588249207, 0.08349759131669998, 0.03171040117740631, -0.3220292925834656, 0.20144516229629517, 0.003304326208308339, 0.07878420501947403, -0.09020712971687317, 0.6049829125404358, -0.6211548447608948, -0.47324031591415405, 0.4015555679798126, 0.30935725569725037, -0.10902449488639832, 0.07217995822429657, -0.611060619354248, 0.04916141554713249, -0.17523863911628723, 0.07314551621675491, 0.29556214809417725, 0.19536800682544708, 0.10735032707452774, 1.1825463771820068, 0.6352492570877075, 0.21772684156894684, 0.0898049920797348, 0.2677176892757416, 0.8653143644332886, -0.5472116470336914, -0.24807389080524445, -0.7822726964950562, 0.6176241040229797, 0.13733088970184326, -0.3003508448600769, 0.502501368522644, 0.3713255524635315, 1.1047964096069336, -0.23699262738227844, 0.6692606806755066, 0.07159854471683502, 0.20346437394618988, -0.963363766670227, 0.8972710967063904, -0.6242413520812988, 0.24245984852313995, -0.18277400732040405, -0.8963594436645508, -0.3590250313282013, 0.24269643425941467, -0.023018252104520798, 0.05110152065753937, 0.7786210179328918, 0.7208213806152344, -0.08485066890716553, -0.4728185832500458, 0.47151869535446167, 0.2479267120361328, 0.3287048637866974, 0.929894745349884, 0.5849897861480713, -0.2918040454387665, 0.5915141105651855, -0.1835637241601944, -0.12756340205669403, 0.1853400021791458, -0.547903835773468, -1.0064544677734375, -0.6263666749000549, -0.43509599566459656, -0.3623116910457611, 0.3776695728302002, 0.6268168687820435, 0.4761119484901428, -0.8080214858055115, -0.320454478263855, -0.40855711698532104, -0.053619932383298874, -0.4603908956050873, -0.24813705682754517, 0.27263185381889343, -0.7652413249015808, -0.7817142605781555, 0.5370266437530518, 0.38734206557273865, 0.15221063792705536, -0.22757598757743835, -0.4308698773384094, -0.26182135939598083, 0.020010381937026978, 0.39504116773605347, 0.6601507663726807, -0.8291277885437012, -0.564583957195282, -0.006098367739468813, 0.01548156701028347, 0.24374036490917206, 0.5336365103721619, -0.984307050704956, 0.29839858412742615, -0.08938877284526825, 1.0353792905807495, 0.26165810227394104, -0.3604511618614197, 0.5826994180679321, -0.7292126417160034, -0.012831714004278183, 0.19556722044944763, 0.486374169588089, 0.27425050735473633, -0.18949361145496368, 0.513052761554718, 0.3758566379547119, -0.6204593181610107, -0.5270761251449585, 0.43397414684295654, -1.0918129682540894, -0.1226610541343689, 1.100460171699524, -0.40337687730789185, -0.017378831282258034, -0.23335330188274384, 0.10121605545282364, 0.36889973282814026, -0.36163297295570374, 0.8159393668174744, 0.6015056371688843, 0.42914018034935, -0.40436697006225586, -0.4477158188819885, 0.40443453192710876, 0.6393570303916931, -0.6724779009819031, 0.004924717824906111, 0.37721455097198486, 0.5060548782348633, -0.2521030902862549, 0.4071859121322632, -0.25210800766944885, 0.35067152976989746, -0.3843318521976471, -0.013883878476917744, -0.22401432693004608, -0.7742798924446106, -0.4382091164588928, -0.17309880256652832, 0.2685932517051697, -0.05996708199381828 ]
http://arxiv.org/abs/2406.17241v1
http://arxiv.org/pdf/2406.17241v1
What Do the Circuits Mean? A Knowledge Edit View
2024-06-25T03:09:53
2024-06-25T03:09:53
Huaizhi Ge, Frank Rudzicz, Zining Zhu
cs.CL
cs.CL
In the field of language model interpretability, circuit discovery is gaining popularity. Despite this, the true meaning of these circuits remain largely unanswered. We introduce a novel method to learn their meanings as a holistic object through the lens of knowledge editing. We extract circuits in the GPT2-XL model using diverse text classification datasets, and use hierarchical relations datasets to explore knowledge editing in the circuits. Our findings indicate that these circuits contain entity knowledge but resist new knowledge more than complementary circuits during knowledge editing. Additionally, we examine the impact of circuit size, discovering that an ideal "theoretical circuit" where essential knowledge is concentrated likely incorporates more than 5% but less than 50% of the model's parameters. We also assess the overlap between circuits from different datasets, finding moderate similarities. What constitutes these circuits, then? We find that up to 60% of the circuits consist of layer normalization modules rather than attention or MLP modules, adding evidence to the ongoing debates regarding knowledge localization. In summary, our findings offer new insights into the functions of the circuits, and introduce research directions for further interpretability and safety research of language models.
[ -0.24201369285583496, -0.7690326571464539, 0.9707234501838684, -0.41710183024406433, -0.08407888561487198, 0.22033801674842834, -0.06970660388469696, -0.4546315371990204, -0.08751305937767029, 0.48217156529426575, -0.31000733375549316, -0.25193148851394653, -0.6537154912948608, -0.27817338705062866, -0.42203691601753235, 0.9953050017356873, -0.2928890585899353, -0.3490857481956482, -0.03674175962805748, 0.07480613887310028, -0.4069254994392395, -0.3753873109817505, -0.15169045329093933, -0.35169297456741333, 0.7650134563446045, 0.18377329409122467, 0.9380115270614624, 0.8062740564346313, 0.4060765504837036, 0.26856619119644165, -0.4477350115776062, 0.05902552232146263, 0.03325205296278, -0.1788349449634552, -0.4400560259819031, -0.5710270404815674, -0.4994525611400604, 0.036007918417453766, 0.37960705161094666, 1.0161914825439453, 0.1434435248374939, 0.0634126290678978, -0.12343189120292664, 0.7168530821800232, -0.6155388355255127, 0.2987176477909088, -0.9423266649246216, 0.07885762304067612, -0.27521777153015137, -0.0007239718688651919, -0.5481386780738831, -0.064582459628582, 0.2152068316936493, -0.7381102442741394, 0.12660542130470276, 0.20554713904857635, 0.8319798707962036, -0.12290115654468536, -0.7049566507339478, -0.3115357756614685, -0.785182535648346, 0.49942225217819214, -0.32773318886756897, 0.4426787793636322, 0.20157018303871155, 0.2833866775035858, 0.12809336185455322, -1.0006344318389893, -0.7234342694282532, 0.21113692224025726, -0.2808440625667572, -0.018951203674077988, -0.3998875916004181, 0.40856435894966125, 0.48280593752861023, 0.3505187928676605, -0.1993863433599472, -0.314693421125412, -0.6049590110778809, -0.18561215698719025, 0.2749790549278259, -0.013926033861935139, 0.8151708841323853, -0.4461897313594818, 0.0726790651679039, 0.4014418125152588, -0.8568591475486755, -0.08364469558000565, 0.444738507270813, 0.04683917388319969, 0.10713174939155579, 0.5681742429733276, -0.08166447281837463, 0.8220199942588806, -0.058902714401483536, 0.11529680341482162, -0.04252665489912033, -0.16935628652572632, -0.5215780735015869, 0.16409239172935486, 0.5749756097793579, 0.18165497481822968, 0.5932685732841492, -0.46195992827415466, 0.02755068987607956, -0.2895578145980835, 0.40265771746635437, -0.4665549695491791, -0.8098800778388977, -0.10419783741235733, -0.4704979658126831, -0.37238091230392456, 0.08537548780441284, -0.31493839621543884, -0.24061468243598938, -0.6318127512931824, 0.4797350764274597, -0.27787357568740845, -0.3540878891944885, 0.23367655277252197, -0.2827731668949127, -0.047199349850416183, 0.21613278985023499, -1.2578164339065552, 0.534606397151947, 0.43311071395874023, 0.711363673210144, 0.11852211505174637, -0.22026784718036652, -0.013244927860796452, 0.2761602997779846, -0.2968641221523285, 0.8180692791938782, -0.4770973026752472, -0.37375012040138245, -0.4545951187610626, 0.2721382677555084, -0.31226617097854614, -0.36104583740234375, 0.3689296841621399, -1.0303350687026978, 0.1412215679883957, -0.51850426197052, -0.5165519118309021, -0.21421417593955994, -0.14855825901031494, -0.744551420211792, 0.8278027772903442, 0.14321045577526093, -1.1958996057510376, 0.16376589238643646, -0.5704953074455261, -0.7308762073516846, -0.21938443183898926, 0.03284324333071709, 0.050639547407627106, 0.2587701976299286, 0.02876129560172558, 0.07204846292734146, -0.036622755229473114, 0.21930059790611267, -0.20458993315696716, -0.00625503808259964, 0.2858501672744751, -0.26306313276290894, 0.7614638805389404, 0.11520013213157654, -0.35136550664901733, 0.17788751423358917, -0.7378835082054138, -0.0018570980755612254, -0.1621672660112381, 0.15579883754253387, -0.5618129372596741, 0.31357625126838684, 0.006133312359452248, 0.4711892604827881, -0.0997120663523674, -0.6135867834091187, 0.13942821323871613, -0.7705487012863159, 0.980381965637207, 0.8291805386543274, 0.30879244208335876, 0.6899687647819519, 0.030911166220903397, 0.28368881344795227, 0.051851239055395126, 0.28719615936279297, -0.14443357288837433, -0.7371600270271301, -0.7624086141586304, 0.4499230682849884, 0.3106350302696228, 0.49558204412460327, -0.6444037556648254, 0.5560139417648315, -0.09502039104700089, -0.4174782633781433, -0.34243670105934143, 0.1660386025905609, 0.11072266846895218, 0.709006130695343, 0.4884156286716461, -0.05794069543480873, -0.3626399338245392, -1.1066569089889526, -0.530005931854248, -0.2908019423484802, -0.122096948325634, 0.09123915433883667, 0.6105678081512451, -0.03911086916923523, 0.9632284641265869, -0.7125428915023804, 0.019907431676983833, -0.25842341780662537, -0.08670930564403534, -0.05687903240323067, 0.19321660697460175, 0.2111680954694748, -0.5462653040885925, -0.2914488613605499, 0.48892199993133545, -0.8675128221511841, 0.2538393437862396, -0.18660138547420502, -0.26662057638168335, -0.2941703796386719, 0.42355847358703613, -0.568814754486084, 0.4987398684024811, 0.040646400302648544, -0.14913949370384216, 0.30627554655075073, -0.2452123463153839, 0.016704684123396873, -0.90566086769104, -0.18773424625396729, -0.2262801229953766, 0.03935202956199646, -0.7123895287513733, 0.054628606885671616, 0.3592173457145691, 0.184254452586174, -0.37846893072128296, 0.5656562447547913, -0.5767431259155273, -0.13858042657375336, -0.344743013381958, 0.5295053720474243, 0.35656818747520447, 0.3507053852081299, -0.04730600118637085, 0.49562564492225647, 0.44325634837150574, -0.36655983328819275, 0.4318174123764038, 0.29079878330230713, -0.6492180824279785, 0.22828400135040283, -0.6755104660987854, 0.3369496166706085, 0.04478489235043526, -0.2177198827266693, -0.6823808550834656, -0.43127045035362244, 0.01263800635933876, -0.19616200029850006, 0.06558337807655334, -0.024343108758330345, -0.7791194319725037, -0.2418605089187622, 0.04518904164433479, 0.5474970936775208, 0.3890252411365509, -0.5318772196769714, 0.592593252658844, 0.8107835054397583, -0.17324984073638916, -0.12262172251939774, -0.8009855151176453, 0.09654159843921661, 0.054389312863349915, -0.7009081840515137, 0.2981727123260498, 0.25539761781692505, -0.5544133186340332, 0.1912946254014969, -0.09152065962553024, -0.29609614610671997, 0.26553797721862793, 0.28355735540390015, 0.36297908425331116, -0.05803292244672775, 0.7058181762695312, 0.6776496171951294, 0.011284217238426208, 0.44136834144592285, -0.4896499812602997, 0.007043259218335152, -0.007076360285282135, -0.328897088766098, -0.5287303328514099, 0.09937231242656708, 0.4050373136997223, -0.370195209980011, 0.4911363124847412, -0.012214279733598232, -0.6843632459640503, -0.02003568969666958, -0.14785325527191162, 0.13091185688972473, -0.4860793948173523, 0.33740749955177307, -0.4800281226634979, -0.9244623780250549, 0.42082804441452026, -0.047829777002334595, -0.2251620590686798, 0.7669935822486877, 0.4011918008327484, 0.026898596435785294, 1.0059559345245361, 0.5340948700904846, -0.020118210464715958, 0.20115195214748383, 0.0669931173324585, 0.7461752891540527, -1.0295859575271606, -0.3928142488002777, -0.3286648392677307, -0.28520384430885315, -0.5169573426246643, -0.2859291136264801, 0.2858434319496155, 0.24940529465675354, -0.38749393820762634, 0.30026161670684814, -0.5553427338600159, 0.7941844463348389, 0.28900402784347534, 0.324978768825531, 0.5315489172935486, 0.024913517758250237, -0.18594305217266083, -0.1912282109260559, -0.7011772394180298, -0.5210975408554077, 1.1462560892105103, 0.3253355622291565, 0.6062759160995483, -0.0043893479742109776, 0.1873723715543747, 0.13763843476772308, 0.3801115155220032, -0.8157680630683899, 0.18360663950443268, 0.18113674223423004, -0.7901442050933838, -0.08396107703447342, -0.2455013394355774, -0.5966737866401672, -0.10967503488063812, 0.058884162455797195, -0.9815239310264587, 0.20761258900165558, 0.1516031175851822, -0.34850454330444336, 0.8707225918769836, -0.8518089652061462, 0.9607242941856384, -0.3474704325199127, -0.20144402980804443, -0.13189725577831268, -0.7427235245704651, 0.5151093602180481, 0.10069651901721954, 0.6046570539474487, 0.338485985994339, 0.3218717575073242, 0.7415630221366882, -0.29400014877319336, 0.6522396802902222, 0.0367804579436779, -0.15330401062965393, 0.5550048351287842, 0.21733500063419342, 0.32035842537879944, 0.04115522280335426, 0.1387299746274948, -0.07026253640651703, 0.0455818697810173, -0.2879069149494171, -0.839827299118042, 0.7097172141075134, -0.7857987284660339, -0.5402289628982544, -0.1382942646741867, -0.6296689510345459, -0.3014048635959625, 0.42125749588012695, 0.28397852182388306, 0.5489332675933838, -0.09785658121109009, -0.14272929728031158, 0.9852043390274048, -0.29488635063171387, 0.08585295081138611, -0.05226429924368858, -0.4481506049633026, -0.15575507283210754, 0.9267351031303406, 0.20434151589870453, 0.5522421002388, 0.6235899329185486, -0.07830973714590073, -0.2090945988893509, -0.35205358266830444, -0.45989760756492615, 0.02005046047270298, -1.01998770236969, 0.21289053559303284, -0.9689359664916992, -0.416481077671051, -0.1305638998746872, -0.036669645458459854, -0.11439360678195953, -0.8019026517868042, -0.1925635188817978, -0.6646862626075745, 0.25336897373199463, 1.075548529624939, 0.16409330070018768, 0.4183189868927002, -0.6621333956718445, 0.34038275480270386, 0.6557888388633728, 0.47470760345458984, 0.10619045048952103, -0.48514777421951294, -0.4527496099472046, -0.16459862887859344, -0.45065832138061523, -1.1592583656311035, -0.049763623625040054, -0.0937386304140091, 0.3812488913536072, 0.27070093154907227, -0.23193006217479706, 0.5028361678123474, -0.6210466027259827, 0.7256085872650146, 0.06783030927181244, -1.4730596542358398, 0.8566851019859314, -0.17280669510364532, 0.20430895686149597, 0.2569792866706848, -0.006065319757908583, -0.6264819502830505, -0.3911904990673065, -0.8060245513916016, -0.631841242313385, 0.5044434666633606, 0.27535611391067505, 0.3244129717350006, -0.17414461076259613, 0.620188295841217, -0.19070805609226227, 0.19846393167972565, -0.7539106011390686, -0.369672030210495, -0.28155818581581116, -0.20193594694137573, 0.39889034628868103, -0.2789355516433716, -0.16089504957199097, -0.46429577469825745, 0.44993096590042114, 0.07411856204271317, 0.2700559198856354, 0.0577063225209713, -0.31532326340675354, -0.22489438951015472, 0.5405293703079224, 0.2658705413341522, 0.8352681994438171, -0.045689310878515244, 0.6275792121887207, 0.12273146212100983, -0.4599718451499939, 0.025201860815286636, -0.2182031273841858, -0.3336065113544464, -0.032071713358163834, 0.5873935222625732, 0.9401054978370667, 0.34854406118392944, -0.4481680691242218, 0.20147879421710968, 0.05300392955541611, -0.19056333601474762, 0.18274228274822235, 0.19026944041252136, 0.22474908828735352, -0.03863345459103584, -0.06481803208589554, 0.47118523716926575, 0.5400532484054565, -0.6381646394729614, 0.29111674427986145, 0.13075895607471466, -0.782071590423584, -0.7092117071151733, 0.7278308272361755, 0.15347737073898315, -0.1159808337688446, 0.5735334157943726, -0.19022072851657867, -0.6254990100860596, 0.6884662508964539, 0.04576822370290756, 0.9205228090286255, 0.06456353515386581, 0.3154420852661133, 0.39209914207458496, 0.7895987629890442, 0.05097600817680359, -0.15320785343647003, -0.12250678986310959, -0.8488482236862183, -0.41015246510505676, -0.4074666500091553, -0.2822630703449249, 0.01376329455524683, -0.9551705121994019, 0.11004593968391418, -0.5648960471153259, 0.11407952010631561, 0.34761494398117065, -0.37742188572883606, -0.4230959415435791, 0.36711934208869934, -0.2600758969783783, 1.0769612789154053, -0.788574755191803, 1.2415111064910889, 0.6026419401168823, -0.16203060746192932, -1.0428580045700073, 0.09722646325826645, -0.05835719034075737, -0.43021708726882935, 0.7678539156913757, -0.03508738800883293, 0.048562757670879364, 0.03315644711256027, -0.2566174566745758, -0.6175709962844849, 0.8897777199745178, 0.2177775502204895, -0.6086530685424805, -0.3338494896888733, 0.002747109392657876, 0.5169133543968201, -0.19557642936706543, 0.31070074439048767, 0.9076178669929504, 0.4451485574245453, -0.266645610332489, -0.7139060497283936, -0.06505036354064941, -0.3937959671020508, -0.01371325459331274, 0.40327003598213196, -0.19052676856517792, 0.839996337890625, -0.3589041233062744, -0.1871720850467682, -0.16966277360916138, 0.29873794317245483, -0.13239963352680206, 0.2700301706790924, 0.22480829060077667, 0.2912167012691498, 0.8094684481620789, -0.15150655806064606, 1.1387684345245361, -0.45824870467185974, 0.5645937919616699, 1.3335715532302856, -0.19851131737232208, 0.5286741256713867, 0.5529741644859314, -0.38884443044662476, 0.7181077599525452, 0.6520721912384033, 0.25104427337646484, 0.6015214323997498, 0.25475096702575684, -0.29479146003723145, -0.4215810298919678, 0.213640496134758, -0.19943517446517944, -0.05288020148873329, 0.2543139159679413, -0.6432633996009827, -0.1693202257156372, 0.07846864312887192, 0.008003552444279194, 0.15535695850849152, -0.36785873770713806, 0.5786210298538208, 0.17074671387672424, -0.3663145899772644, -0.13970790803432465, 0.12682099640369415, -0.1710650622844696, -0.19485807418823242, 0.012882443144917488, 0.04662128910422325, 0.07240403443574905, -0.2854744493961334, -1.1111077070236206, 0.5999975800514221, 0.009037851355969906, -0.5873515009880066, -0.19694124162197113, 0.8927702307701111, -0.024877028539776802, -0.7180352210998535, 0.41213205456733704, 0.4641048312187195, -0.21887052059173584, -0.2525429129600525, -0.4150649607181549, -0.2332616150379181, 0.03811870515346527, -0.20235876739025116, 0.32009175419807434, 0.7762253284454346, -0.1268957555294037, 0.3720645308494568, 0.190974622964859, 0.14922921359539032, 0.14322495460510254, -0.09430023282766342, 1.0142046213150024, -0.724284827709198, -0.27172794938087463, -0.7662730813026428, 0.6344272494316101, -0.029841231182217598, -0.34562307596206665, 0.5375736355781555, 0.5089918375015259, 0.9539646506309509, 0.03309588134288788, 1.214737892150879, -0.11259093135595322, 0.31086692214012146, -0.6770018339157104, 0.6890331506729126, -0.26225876808166504, 0.6157410740852356, -0.21186980605125427, -0.5870547294616699, -0.2893003523349762, 0.549484133720398, -0.7353119254112244, -0.054141171276569366, 0.9204455614089966, 0.5785491466522217, -0.2542140781879425, 0.41841796040534973, 0.24101772904396057, 0.5157957077026367, 0.2679049074649811, 0.5803577899932861, 0.8364335298538208, -0.7694799304008484, 0.2456285059452057, -0.47191378474235535, -0.16248464584350586, 0.4424169659614563, -0.374612420797348, -0.9828538298606873, -0.5730936527252197, -0.23083318769931793, -0.23073314130306244, 0.08486513793468475, 0.4639360010623932, 0.4285394251346588, -0.8194260001182556, -0.1439405232667923, -0.5894132256507874, 0.7379976511001587, -0.04159022122621536, -0.1917576640844345, 0.6117992401123047, -0.3239884376525879, -0.3836325705051422, 0.0862746462225914, 0.7111716866493225, -0.35000357031822205, -0.053569495677948, 0.11013052612543106, -0.07947801798582077, 0.06129181757569313, 0.8336529731750488, 0.04473792389035225, -0.8725884556770325, -0.62664395570755, 0.26958632469177246, 0.13018950819969177, -0.045546695590019226, 0.9327806830406189, -0.6349764466285706, 0.8256090879440308, 0.26300910115242004, 0.4252401292324066, 0.31474611163139343, -0.4281325042247772, 0.437252402305603, -0.5391159653663635, 0.06345022469758987, -0.23440760374069214, 0.43329524993896484, 0.13988251984119415, -0.3254029154777527, 0.21792596578598022, 0.6279702186584473, -0.5184988975524902, -0.6899258494377136, 0.5101282596588135, -0.9988614320755005, -0.24307888746261597, 0.952392578125, -0.12858445942401886, -0.2154833972454071, -0.3478379547595978, -0.3010671138763428, 0.19282570481300354, 0.19272489845752716, 0.835351824760437, 0.8291404247283936, -0.2634470760822296, -0.3685467541217804, -0.8569015860557556, 0.5110682249069214, -0.030976610258221626, -1.0591011047363281, 0.09080109000205994, 0.28453099727630615, 0.46233317255973816, 0.20346644520759583, 0.2843402624130249, -0.18108727037906647, 0.37421587109565735, -0.16487731039524078, 0.0646791011095047, 0.1334640234708786, -0.42945995926856995, 0.03940056264400482, 0.19905738532543182, 0.15161333978176117, 0.28769955039024353 ]
http://arxiv.org/abs/2406.17233v1
http://arxiv.org/pdf/2406.17233v1
Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement
2024-06-25T02:37:53
2024-06-25T02:37:53
Yunlong Feng, Yang Xu, Dechuan Teng, Honglin Mu, Xiao Xu, Libo Qin, Wanxiang Che, Qingfu Zhu
cs.SE
cs.SE, cs.CL
Decompilation transforms compiled code back into a high-level programming language for analysis when source code is unavailable. Previous work has primarily focused on enhancing decompilation performance by increasing the scale of model parameters or training data for pre-training. Based on the characteristics of the decompilation task, we propose two methods: (1) Without fine-tuning, the Self-Constructed Context Decompilation (sc$^2$dec) method recompiles the LLM's decompilation results to construct pairs for in-context learning, helping the model improve decompilation performance. (2) Fine-grained Alignment Enhancement (FAE), which meticulously aligns assembly code with source code at the statement level by leveraging debugging information, is employed during the fine-tuning phase to achieve further improvements in decompilation. By integrating these two methods, we achieved a Re-Executability performance improvement of approximately 7.35\% on the Decompile-Eval benchmark, establishing a new state-of-the-art performance of 55.03\%.
[ -0.36782822012901306, -0.7489511370658875, 0.30695194005966187, 0.09674529731273651, -0.26214635372161865, 0.13148896396160126, -0.17093457281589508, -0.5284222364425659, 0.035945288836956024, 0.6546638607978821, -0.40602269768714905, -0.4053671956062317, -0.21396572887897491, 0.02964499220252037, -0.43044349551200867, 0.7363247275352478, -0.11486776918172836, -0.24968266487121582, -0.35428041219711304, 0.05758900195360184, -0.37762370705604553, -0.5595210194587708, -0.299689382314682, 0.05192633345723152, -0.07990821450948715, 0.5369929671287537, 0.4401701092720032, 1.2419300079345703, 0.7370902299880981, 0.3889499306678772, 0.027716049924492836, 0.10180194675922394, -0.6963208913803101, 0.09265832602977753, -0.22055482864379883, -0.036559224128723145, -0.8207870125770569, -0.17231981456279755, 0.6322493553161621, 0.3749847114086151, -0.05677790939807892, 0.3714926242828369, 0.41880521178245544, 1.0229191780090332, -0.9893910884857178, 0.07303300499916077, -0.4390498101711273, 0.0004890011623501778, -0.1472572386264801, -0.5255036354064941, -0.4715896546840668, -0.1574586033821106, -0.3967002034187317, -0.4099510610103607, 0.3396620452404022, -0.18311825394630432, 0.7016621828079224, 0.7934113144874573, -0.34243783354759216, -0.02240128070116043, -0.6276673078536987, 0.784338653087616, -0.7722400426864624, 0.5958569049835205, 0.19527213275432587, 0.0645756646990776, -0.263024240732193, -0.8287091255187988, -0.09940691292285919, 0.15367190539836884, -0.17645545303821564, -0.04429943487048149, -0.08607814460992813, 0.3650813102722168, 0.14836424589157104, 0.7226329445838928, -0.4578167498111725, 0.1536610722541809, -0.4530600905418396, -0.44106853008270264, 0.7818354964256287, 0.18331769108772278, 0.2319156676530838, -0.19934186339378357, -0.7061880230903625, -0.019605064764618874, -0.7213699221611023, -0.1636512279510498, 0.21012011170387268, 0.1760663390159607, -0.0033266940154135227, 0.41128966212272644, -0.3767528831958771, 0.5364333391189575, 0.19920675456523895, -0.09099239856004715, 0.4050697088241577, -0.5366724133491516, -0.5648101568222046, 0.21394602954387665, 0.4190940260887146, 0.3774392008781433, -0.2558775246143341, -0.15861879289150238, -0.3992299735546112, -0.06043718010187149, 0.5257115364074707, -1.0785187482833862, -0.3748020529747009, 0.3715192377567291, -0.6912396550178528, -0.18848319351673126, -0.1471138298511505, -0.6303985714912415, 0.15752241015434265, -0.5896821022033691, 0.33942344784736633, -0.36876875162124634, -0.0955195277929306, -0.018151551485061646, -0.03423071652650833, 0.45133528113365173, 0.2406872659921646, -0.8126246333122253, 0.09601898491382599, 0.8193140625953674, 0.5257243514060974, -0.2749811112880707, -0.18775734305381775, -0.7488980293273926, 0.24417418241500854, -0.48610660433769226, 0.7580613493919373, -0.38199788331985474, -0.3680359423160553, -0.32323893904685974, 0.10534588247537613, 0.17647570371627808, -0.7307315468788147, 0.46594369411468506, -0.5164868235588074, -0.09509008377790451, -0.23462361097335815, -0.8046649098396301, -0.09805089235305786, 0.2517101764678955, -0.38296014070510864, 1.0940638780593872, 0.33522000908851624, -0.5407909750938416, 0.0548316091299057, -0.5450479984283447, -0.36231154203414917, -0.1600232869386673, -0.17195920646190643, -0.16689583659172058, 0.30949339270591736, 0.15313884615898132, 0.4261227548122406, 0.009445244446396828, 0.3191300630569458, -0.3177788257598877, -0.546622633934021, -0.26708224415779114, -0.42143678665161133, 0.6709694862365723, 0.569028377532959, -0.3536258041858673, 0.11586035788059235, -0.9887741804122925, 0.23426826298236847, -0.11880475282669067, -0.6176357865333557, -0.2625891864299774, -0.05840050056576729, -0.28034070134162903, 0.18625719845294952, 0.6989154815673828, -0.4282679855823517, 0.17215703427791595, -0.7777021527290344, 0.10411339998245239, 0.7879154086112976, 0.06646576523780823, 0.638594388961792, -0.07335081696510315, 0.40517109632492065, -0.24390816688537598, -0.10762511938810349, -0.19275197386741638, 0.17974840104579926, -0.7526150941848755, -0.32705405354499817, 0.10989689826965332, 0.46623751521110535, -0.3896631598472595, 0.5707058906555176, -0.07886696606874466, -0.19999128580093384, -0.3228110373020172, 0.3559572696685791, 0.9656537175178528, 0.7791987061500549, 0.6244431138038635, -0.2026301473379135, -0.7151404619216919, -1.0900497436523438, -0.11410173028707504, 0.15894073247909546, -0.0708872601389885, 0.009402143768966198, 0.21813185513019562, -0.4613005518913269, 0.8448666930198669, -0.6565275192260742, -0.02915077470242977, -0.015408539213240147, 0.0400116965174675, -0.3892597258090973, 0.9364686012268066, 0.45394009351730347, -0.4799538552761078, -0.3046227991580963, -0.03383396193385124, -0.6022292375564575, -0.36534154415130615, 0.14872382581233978, -0.3666290044784546, 0.4785923659801483, 0.9355246424674988, 0.24385352432727814, 0.5296000242233276, 0.6860980987548828, -0.2763768136501312, 0.7367594242095947, -0.3392001986503601, 0.22897662222385406, -1.2363849878311157, 0.09878844767808914, -0.4457797706127167, -0.21050108969211578, -0.47122663259506226, 0.47811010479927063, 0.3304382264614105, -0.12191611528396606, -0.58669114112854, 0.4685783088207245, -0.6343382596969604, -0.49183544516563416, -0.5557378530502319, 0.08096536248922348, 0.25891393423080444, 0.5595706701278687, 0.04670439660549164, 0.9767085909843445, 0.35867512226104736, -0.641638994216919, -0.10681881755590439, 0.18230976164340973, -0.3072720468044281, 0.2887696325778961, -0.5143078565597534, 0.1873810589313507, -0.1028822809457779, 0.005854063201695681, -1.1297671794891357, -0.3319091498851776, 0.013366681523621082, -0.10856815427541733, 0.6033301949501038, -0.12087549269199371, -0.02877180650830269, 0.06952790170907974, -0.3434574007987976, 0.5978060364723206, 0.26363253593444824, -0.8014019131660461, 0.3871985673904419, 0.21623826026916504, -0.03849715739488602, -0.6385419368743896, -0.8006291389465332, -0.1896185725927353, -0.17761555314064026, -0.5637547373771667, 0.7106140851974487, -0.35710766911506653, -0.1992860734462738, -0.12342717498540878, -0.5045726299285889, -0.1599443554878235, 0.2779598534107208, 0.11244233697652817, 0.20929813385009766, -0.37390652298927307, 0.06777553260326385, 0.46577006578445435, -0.37008902430534363, 0.09945190697908401, 0.16542492806911469, 0.4472072124481201, -0.24164797365665436, -0.2671861946582794, -0.5079230666160583, 0.42113104462623596, 0.40026891231536865, -0.3332425653934479, 0.3565332293510437, 0.5851919054985046, -0.28672289848327637, -0.03803255036473274, -0.49355563521385193, -0.07911672443151474, -0.5735576748847961, 0.31856009364128113, -0.5386638045310974, -0.8395950794219971, 0.5990062952041626, -0.21906359493732452, 0.07434196025133133, 0.2800341248512268, 0.23123103380203247, -0.01887739822268486, 0.8214625716209412, 0.5752202272415161, 0.06361363083124161, 0.5597354173660278, -0.4063558578491211, 0.12506595253944397, -1.2196813821792603, 0.009897212497889996, -0.6169506311416626, -0.41903871297836304, -0.4836953580379486, -0.35692769289016724, 0.05483260378241539, 0.44971051812171936, -0.4158230125904083, 0.5778430700302124, -0.7737805247306824, 0.6424193978309631, 0.34806060791015625, 0.16623567044734955, 0.25208133459091187, -0.15944047272205353, 0.16133922338485718, 0.06664379686117172, -0.4544786512851715, -0.39324355125427246, 0.7029039859771729, 0.21653775870800018, 0.6775106191635132, 0.053005509078502655, 1.302579641342163, 0.22422008216381073, 0.05619340017437935, -0.7738344073295593, 0.47492772340774536, -0.11682810634374619, -0.4246639609336853, -0.3444005846977234, -0.4330120086669922, -0.7844226360321045, 0.27066901326179504, 0.19558578729629517, -0.8207272887229919, 0.43774592876434326, 0.24544857442378998, -0.5019001960754395, -0.1169576495885849, -0.8831486105918884, 1.0958311557769775, -0.08753328025341034, -0.25825342535972595, -0.27038389444351196, -0.6389474272727966, 0.45483219623565674, -0.047758549451828, 0.1762377768754959, -0.08758925646543503, -0.12336213141679764, 0.707728922367096, -0.5213449001312256, 0.6155420541763306, -0.035051725804805756, -0.5529065132141113, 0.30838459730148315, 0.45826584100723267, 0.5963299870491028, -0.07664428651332855, -0.17095941305160522, 0.1621398627758026, 0.2556348145008087, -0.42486605048179626, -0.712860643863678, 0.8139286637306213, -0.4370895326137543, -0.7067497372627258, 0.09726939350366592, -0.45392411947250366, 0.012676315382122993, 0.32347962260246277, 0.2811849117279053, 0.8679404258728027, -0.12362067401409149, 0.42879223823547363, 0.3189334273338318, -0.11035803705453873, 0.7907481789588928, 0.36484116315841675, -0.032568905502557755, -0.4016513526439667, 0.789249837398529, -0.09761805087327957, 0.4456562101840973, 0.5880096554756165, 0.20592255890369415, -0.2746453881263733, -0.4449644982814789, -0.16896982491016388, -0.17893828451633453, -0.7353236079216003, -0.6298002004623413, -0.502103865146637, -0.24355246126651764, -0.490297794342041, -0.7049278616905212, -0.8133525848388672, -0.3101901113986969, -0.3989598751068115, -0.09071763604879379, -0.19290770590305328, 0.31804731488227844, -0.17216867208480835, 0.1979932337999344, -1.0788919925689697, 0.4310413599014282, 0.0481797493994236, 0.2796476185321808, -0.11818082630634308, -0.611885666847229, -0.3188380002975464, 0.1308119297027588, -0.3370125889778137, -0.6548669338226318, 0.3338298499584198, 0.1045612096786499, 0.39937421679496765, 0.49839553236961365, 0.38817280530929565, 1.1147139072418213, -0.2558692693710327, 0.6404225826263428, -0.1849171370267868, -1.1050258874893188, 0.6380682587623596, -0.1630348563194275, 0.3688981831073761, 0.6908246874809265, -0.07657905668020248, 0.21798424422740936, -0.2903840243816376, -0.4416519105434418, -0.896007776260376, 0.7323703765869141, -0.003845078870654106, -0.01095462217926979, -0.22138279676437378, 0.36362725496292114, 0.02537941187620163, -0.0294110756367445, -0.3840191066265106, -0.09400269389152527, 0.08517857640981674, -0.021862894296646118, 0.00028630587621591985, -0.6316198110580444, -0.018044739961624146, -0.4508390426635742, 0.6228770613670349, -0.3253077268600464, 0.40861237049102783, 0.3786531984806061, -0.2351948767900467, -0.04254150390625, 0.28058990836143494, 0.6084064841270447, 0.7185492515563965, -0.36406588554382324, 0.1719776690006256, 0.11487235873937607, -0.24838055670261383, 0.16658811271190643, -0.16549615561962128, 0.12245125323534012, -0.5787034034729004, 0.3389871418476105, 0.4148790240287781, 0.5650782585144043, -0.4966079592704773, 0.2384728193283081, 0.17858383059501648, -0.013536603190004826, -0.09346885979175568, 0.3129417896270752, -0.113151416182518, 0.3123798966407776, 0.21537886559963226, 0.07819165289402008, 0.5030972361564636, -0.4955645203590393, 0.5488668084144592, 0.4005983769893646, -0.03776131942868233, -0.04409993067383766, 0.543852686882019, 0.28703707456588745, -0.17829084396362305, 0.6419447660446167, -0.3328215479850769, -0.2952977418899536, 0.7245217561721802, 0.8665310740470886, 1.020492672920227, -0.3013130724430084, -0.04529237374663353, 0.5623266100883484, 0.04212266951799393, 0.07948537915945053, 0.17094384133815765, -0.5573464632034302, -0.7601228356361389, -0.6386922001838684, -0.820392370223999, 0.008427804335951805, -0.06182580068707466, -0.893062174320221, 0.09580709785223007, -0.2266993671655655, 0.37006452679634094, -0.4289584755897522, 0.030565284192562103, -0.32336217164993286, 0.31421804428100586, -0.20144228637218475, 0.8244762420654297, -0.510883092880249, 0.8310239315032959, 0.40360787510871887, -0.17917245626449585, -0.8123857975006104, 0.24350933730602264, 0.005136244930326939, -0.5120846629142761, 0.4831787943840027, 0.33811506628990173, -0.31082895398139954, 0.27862003445625305, -0.3634466826915741, -1.287177562713623, 1.1464414596557617, 0.6570419669151306, -0.6004448533058167, 0.05648964270949364, -0.2743742763996124, 0.4340408146381378, -0.27951356768608093, -0.028246432542800903, 0.8643535375595093, 0.35552579164505005, 0.15138903260231018, -0.7919579744338989, 0.264042466878891, -0.09112522751092911, 0.08895014971494675, 0.4571954309940338, -0.6437075734138489, 0.4338997006416321, -0.1703791618347168, -0.5741092562675476, 0.045344121754169464, 0.8560134172439575, -0.01669425144791603, 0.29787370562553406, 0.17787839472293854, 0.6123989820480347, 0.5964246988296509, 0.11185396462678909, 0.908408522605896, -0.7823655605316162, 0.47296541929244995, 1.4186062812805176, -0.0093295993283391, 0.9479919672012329, 0.5053277611732483, -0.04471532255411148, 0.5359206199645996, 0.5138596296310425, 0.49401503801345825, 0.5419551730155945, -0.2654179036617279, -0.01110299676656723, -0.26558005809783936, 0.29632315039634705, -0.44320350885391235, 0.830854594707489, 0.29226502776145935, -0.35478323698043823, -0.4761974811553955, -0.1433224081993103, -0.09286471456289291, 0.1543997973203659, -0.16997399926185608, 0.8453624248504639, -0.1730162501335144, -0.5528133511543274, 0.972721517086029, -0.05796699970960617, 0.5012565851211548, -0.2105615884065628, -0.1155955046415329, -0.5017700791358948, 0.23913230001926422, -0.44891291856765747, -0.583134114742279, 0.9829591512680054, -0.2768198251724243, -0.14079676568508148, -0.261227011680603, 0.8632633686065674, -0.37428906559944153, -0.16507188975811005, 0.3263333737850189, 0.120086170732975, 0.2897008955478668, -0.08939828723669052, -0.4836260676383972, 0.34543272852897644, 0.19707052409648895, -0.4212094247341156, 0.5306521058082581, 0.10885985195636749, 0.22391144931316376, 0.5901632905006409, 0.4653832018375397, -0.4360632002353668, -0.05723464488983154, -0.2961248755455017, 0.9452175498008728, -0.6818391680717468, -0.3714374899864197, -0.8035412430763245, 0.6670287251472473, 0.1868389993906021, -0.055437296628952026, 0.814961314201355, 0.9318046569824219, 1.0009390115737915, -0.11270303279161453, 0.3048281967639923, -0.2361668199300766, 0.14707547426223755, -0.7358564138412476, 0.26935768127441406, -0.7720503211021423, 0.3994413912296295, -0.3898416757583618, -1.0596293210983276, -0.17647840082645416, 0.503804624080658, -0.1832927167415619, 0.006341112777590752, 0.6409781575202942, 1.0172317028045654, -0.1515120267868042, -0.33400997519493103, 0.4101405739784241, -0.06574439257383347, 0.20956049859523773, 0.3633282482624054, 0.32650524377822876, -0.45958319306373596, 0.30276960134506226, -0.5537047982215881, -0.20164605975151062, -0.39126721024513245, -1.0040106773376465, -0.4516173303127289, -0.6639230847358704, -0.43981391191482544, -0.3463793694972992, -0.1717691272497177, 0.7462707757949829, 0.6875734925270081, -0.6558335423469543, -0.03546971082687378, -0.2409919798374176, -0.003730522468686104, -0.23944656550884247, -0.3740326762199402, 0.509236752986908, -0.7339866757392883, -0.7136254906654358, 0.9891292452812195, 0.4677788317203522, -0.030708080157637596, -0.2099023163318634, -0.19639082252979279, 0.09370646625757217, -0.05979951098561287, 0.7482906579971313, 0.3635146915912628, -0.5451903343200684, -0.4745349586009979, -0.10847067087888718, -0.12225321680307388, 0.3558005392551422, 0.6547483205795288, -0.6840469837188721, 0.5189870595932007, 0.9017143249511719, 0.7950770258903503, 0.3700941205024719, 0.7406168580055237, 0.48820286989212036, -1.0191600322723389, 0.1955738216638565, 0.013370255939662457, 0.3935548961162567, -0.05235247313976288, -0.8131592869758606, 0.6430562734603882, -0.12099609524011612, -0.7811293005943298, -0.7109645009040833, 0.23265989124774933, -0.9127765893936157, -0.3615114688873291, 1.067816972732544, -0.08739479631185532, -0.5105593800544739, 0.12404073774814606, -0.3451119661331177, 0.3279232084751129, -0.27825841307640076, 0.797420859336853, 0.3543517291545868, -0.47714748978614807, 0.01816311851143837, -0.002339499071240425, 0.49730390310287476, 0.24563808739185333, -0.8282565474510193, 0.37087345123291016, 0.8669958114624023, 0.41907161474227905, 0.2182735949754715, 0.5779340267181396, -0.3439336121082306, 0.22283487021923065, 0.09117509424686432, 0.3280952274799347, -0.2720417082309723, -0.46333497762680054, -0.4784539043903351, 0.15794168412685394, -0.15563717484474182, -0.518144428730011 ]
http://arxiv.org/abs/2406.17232v1
http://arxiv.org/pdf/2406.17232v1
Beyond Demographics: Aligning Role-playing LLM-based Agents Using Human Belief Networks
2024-06-25T02:37:29
2024-06-25T02:37:29
Yun-Shiuan Chuang, Zach Studdiford, Krirk Nirunwiroj, Agam Goyal, Vincent V. Frigo, Sijia Yang, Dhavan Shah, Junjie Hu, Timothy T. Rogers
cs.CL
cs.CL
Creating human-like large language model (LLM) agents is crucial for faithful social simulation. Having LLMs role-play based on demographic information sometimes improves human likeness but often does not. This study assessed whether LLM alignment with human behavior can be improved by integrating information from empirically-derived human belief networks. Using data from a human survey, we estimated a belief network encompassing 18 topics loading on two non-overlapping latent factors. We then seeded LLM-based agents with an opinion on one topic, and assessed the alignment of its expressed opinions on remaining test topics with corresponding human data. Role-playing based on demographic information alone did not align LLM and human opinions, but seeding the agent with a single belief greatly improved alignment for topics related in the belief network, and not for topics outside the network. These results suggest a novel path for human-LLM belief alignment in work seeking to simulate and understand patterns of belief distributions in society.
[ -0.3938157558441162, -0.3638072609901428, 0.5656946897506714, 0.21500171720981598, 0.1138036921620369, 0.41495823860168457, -0.17773903906345367, -0.35352012515068054, 0.48603126406669617, 0.5684916377067566, -0.5135481953620911, -0.3076201379299164, -0.20448152720928192, -0.01945481263101101, 0.24270223081111908, 0.48416009545326233, 0.23860253393650055, 0.14575697481632233, -0.5484699606895447, 0.23057521879673004, -0.3987927734851837, -0.5188642144203186, -0.7641432881355286, -0.8610043525695801, 0.6629579067230225, 0.23447005450725555, 0.9745105504989624, 0.7158580422401428, 0.2395598441362381, 0.3364783823490143, 0.18241457641124725, 0.5922533869743347, -0.6044303178787231, 0.12369846552610397, -0.42649874091148376, -0.6645342707633972, -0.6574317812919617, 0.2817956507205963, 0.695633053779602, 0.7092452049255371, -0.30172091722488403, -0.03148903325200081, 0.2303471863269806, 0.3025633692741394, -0.17523756623268127, 0.12967449426651, -0.4897204041481018, 0.059150733053684235, -0.04123556986451149, -0.4981386065483093, -0.375036358833313, -0.42957931756973267, 0.11357031017541885, -0.6326730251312256, 0.32361531257629395, 0.16596619784832, 0.6428133845329285, 0.06275605410337448, -0.720418393611908, 0.11920049041509628, -0.7737535238265991, 0.7497695088386536, -0.721825122833252, 0.1284782588481903, 0.4561370015144348, 0.14179106056690216, -0.7150153517723083, 0.13504569232463837, -0.6215924024581909, 0.043077535927295685, 0.0646790862083435, 0.009037650190293789, 0.20848263800144196, 0.14174781739711761, 0.1956302523612976, -0.40177103877067566, -0.5267494320869446, 0.3162316679954529, -0.21360689401626587, -0.1655244678258896, 0.9977993965148926, 0.35145625472068787, 0.3702177405357361, -0.08296273648738861, -0.1793622225522995, -0.26872551441192627, -0.8637462258338928, 0.19353772699832916, 0.6429245471954346, 0.5664193034172058, -0.13906075060367584, 0.6656230688095093, 0.005312157329171896, 0.3623502850532532, 0.3249077796936035, -0.3422040343284607, 0.268382728099823, 0.11741313338279724, -0.021206142380833626, 0.35989606380462646, 0.5779742002487183, 0.7114340662956238, 0.6040171980857849, -0.1258181780576706, 0.03325318545103073, 0.3556292653083801, 0.5134117007255554, -0.6014819145202637, 0.1793489158153534, -0.12226229906082153, -0.6513577103614807, -0.5781964063644409, 0.32454052567481995, -0.7088554501533508, -1.0656143426895142, -0.44919654726982117, 0.12418068945407867, -0.28656578063964844, -0.5057860016822815, -0.14254918694496155, -0.16278234124183655, 0.3651617765426636, 0.6806858777999878, -0.9066371321678162, 0.34109559655189514, 0.9373536705970764, 0.6170878410339355, -0.2719789147377014, -0.2389346957206726, -0.1708415448665619, 0.28992995619773865, -0.676611065864563, 0.5223101377487183, -0.7196928262710571, -0.26537224650382996, -0.0027170113753527403, 0.03957490250468254, -0.12524232268333435, -0.5747616291046143, 0.06088685244321823, -0.7381008267402649, -0.04573486000299454, -0.4681413173675537, -0.7535520792007446, 0.2067192792892456, 0.4205896556377411, -0.4443758428096771, 0.8641623258590698, -0.43950754404067993, -0.5213889479637146, 0.5213961601257324, -0.569598376750946, -0.08202608674764633, -0.034655600786209106, -0.5556793212890625, -0.004978442098945379, 0.11894161254167557, -0.10563529282808304, 0.40780070424079895, -0.3282169699668884, 0.33227741718292236, -0.705228865146637, -0.4820381700992584, 0.6374986171722412, -0.5407006144523621, 0.6824802160263062, 0.11281317472457886, -0.3654367923736572, 0.0356171689927578, -0.18392713367938995, -0.1980983018875122, 0.0447344072163105, -0.07353169471025467, -0.2900739312171936, 0.4189387559890747, -0.49878448247909546, 0.30486568808555603, 0.08603580296039581, -0.6228659749031067, 0.5299169421195984, -0.42232808470726013, 0.08715914934873581, 0.9759141206741333, 0.013006629422307014, 0.7974621653556824, -0.8059218525886536, 0.6036232709884644, -0.09624408185482025, 0.04607018828392029, 0.32369375228881836, -0.7027316689491272, -0.3066997230052948, 0.07230785489082336, 0.031222455203533173, 0.5096407532691956, -0.5153892636299133, 0.564091145992279, -0.3791916072368622, -0.3850499391555786, -0.2551794946193695, 0.11762142926454544, 0.10999087244272232, 0.39755022525787354, 0.04621652513742447, -0.2618851661682129, -0.5880329012870789, -0.8154110312461853, -0.14375047385692596, -0.7548379898071289, 0.00031439255690202117, 0.39797377586364746, 0.29765647649765015, -0.2449265569448471, 1.204788327217102, -0.4243963956832886, -0.11524755507707596, 0.023251915350556374, 0.025012854486703873, 0.10909080505371094, 0.43327975273132324, 0.32883620262145996, -0.8171210885047913, -0.43161967396736145, 0.1979903280735016, -0.80229651927948, -0.05348770692944527, -0.10237205028533936, -0.3026415705680847, 0.09241605550050735, 0.3077647387981415, -0.6401132345199585, 0.5303795337677002, 0.4326716363430023, -0.4384506046772003, 0.3831137418746948, -0.20135264098644257, 0.29492008686065674, -1.3636232614517212, -0.27875611186027527, 0.3810359537601471, -0.31574106216430664, -0.4956538677215576, -0.3387364149093628, -0.14269676804542542, 0.08459525555372238, -0.20269089937210083, 0.5800811052322388, -0.42788928747177124, -0.25714313983917236, -0.3309617340564728, 0.19010689854621887, -0.07838499546051025, 0.13247357308864594, 0.09658536314964294, 0.9754547476768494, 0.3096745014190674, -0.3246747553348541, 0.28962403535842896, 0.27439457178115845, -0.12162023037672043, 0.6104251146316528, -0.39453351497650146, 0.1238822489976883, -0.548965334892273, 0.4933927357196808, -0.9521819949150085, -0.43249765038490295, 0.20373965799808502, -0.3463323414325714, 0.23053166270256042, -0.35918086767196655, -0.4051600694656372, -0.11304967850446701, -0.15635797381401062, 0.24819214642047882, 0.7127293348312378, -0.18428517878055573, 0.79958575963974, 0.4056617319583893, -0.1558474451303482, -0.6629773378372192, -0.4437739849090576, 0.3187548816204071, -0.6064366698265076, -0.7994127869606018, 0.6243865489959717, 0.15694575011730194, -0.5283973217010498, -0.029986750334501266, -0.009414700791239738, 0.158143550157547, -0.05597282946109772, 0.40119996666908264, 0.3663652837276459, -0.2703852951526642, 0.4244323670864105, -0.132115438580513, 0.15818795561790466, 0.011252169497311115, -0.3915802240371704, 0.5604382753372192, 0.17094279825687408, -0.4868637025356293, -0.3106530010700226, 0.20569029450416565, 0.3608357310295105, 0.10713611543178558, 0.8834765553474426, 0.1096925213932991, -0.37574175000190735, -0.13888700306415558, -0.7381131052970886, -0.19929125905036926, -0.5199658870697021, 0.155548557639122, 0.09233753383159637, -0.9145383238792419, 0.5129820108413696, -0.245330810546875, 0.02222246117889881, 0.13944850862026215, 0.3924493193626404, -0.7322911024093628, 1.0312811136245728, 0.38724207878112793, 0.20711427927017212, 0.4761943221092224, 0.12659405171871185, -0.17072637379169464, -0.7237681150436401, -0.23743031919002533, -0.18426981568336487, -0.5035744905471802, -0.6022627353668213, -0.9179893136024475, 0.14562766253948212, -0.09721994400024414, -0.5639210343360901, 0.14690425992012024, -0.1324157863855362, 0.27673962712287903, -0.04238620772957802, 0.29729709029197693, -0.1097964197397232, 0.19233623147010803, -0.17848333716392517, -0.1711801141500473, -0.405331015586853, -1.0347992181777954, 1.0183321237564087, 0.3512529730796814, 0.847147524356842, 0.39861932396888733, 0.9696652293205261, 0.6359558701515198, 0.6516846418380737, -0.43134286999702454, 0.5477217435836792, -0.1068134754896164, -0.7660008072853088, -0.5926669836044312, -0.5439067482948303, -0.9738492369651794, 0.39238494634628296, -0.4910356104373932, -1.0594213008880615, 0.5446498394012451, 0.29631510376930237, -0.257416307926178, 0.2341831922531128, -0.4529365003108978, 0.6789249777793884, -0.2662546634674072, -0.2943675220012665, -0.25373587012290955, -0.6408671140670776, 0.09543514996767044, -0.10783198475837708, 0.17649658024311066, -0.3491361141204834, -0.052619803696870804, 0.6391323208808899, -0.5169825553894043, 1.5584759712219238, -0.36742112040519714, -0.39086025953292847, 0.2755115330219269, -0.11328373104333878, 0.6049816012382507, -0.10882844030857086, -0.49923309683799744, -0.12402303516864777, -0.1340344250202179, -0.33839717507362366, -1.0471495389938354, 0.5528436899185181, -1.1895809173583984, -1.0152541399002075, -0.23847158253192902, -0.5035730004310608, -0.3781251311302185, -0.0553743876516819, -0.2782348394393921, 0.2568989098072052, -0.5825100541114807, 0.19646446406841278, 0.8511174917221069, -0.08870749175548553, 0.025699060410261154, 0.12805500626564026, -0.282645046710968, -0.2809467315673828, 0.6487890481948853, 0.11950667947530746, 0.4132314622402191, 0.4098796546459198, 0.28519970178604126, -0.4736310541629791, -0.019368352368474007, -0.12218417972326279, 0.2928680181503296, -0.4625040590763092, -0.07079686969518661, -0.584861159324646, -0.009434913285076618, -0.5188027024269104, -0.10261400043964386, -0.20126627385616302, -0.0807114690542221, -0.2676931321620941, -0.11994987726211548, 0.23425890505313873, 0.6138122081756592, 0.018611636012792587, 0.5619010329246521, -0.5853212475776672, 0.19438263773918152, 0.3911883234977722, 0.1659400463104248, 0.16301557421684265, -0.3875182867050171, 0.017948921769857407, 0.6549164652824402, -0.1429445594549179, -1.1096343994140625, 0.14624559879302979, 0.07149270921945572, 0.6199450492858887, 0.6867477893829346, 0.05229780077934265, 0.9907960891723633, -0.47645503282546997, 0.6347752809524536, 0.3134942352771759, -0.6321821212768555, 0.1835634708404541, -0.43471163511276245, -0.32938945293426514, 0.3688635528087616, 0.17372965812683105, -0.704231858253479, -0.07222326844930649, -0.40227121114730835, -0.27730125188827515, 0.8094354271888733, 0.33314603567123413, 0.34691739082336426, -0.044280484318733215, 0.5205073952674866, -0.09231696277856827, 0.07014710456132889, -0.3074358403682709, -0.18682445585727692, -0.21466031670570374, -0.3881986737251282, -0.31595784425735474, 0.049421120434999466, -0.33893460035324097, -0.10724357515573502, 0.48638322949409485, -0.33100321888923645, 0.190625861287117, 0.114004947245121, 0.16802270710468292, -0.4482840299606323, 0.09297718107700348, 0.5947377681732178, 0.6327594518661499, -0.1621926873922348, 0.27906957268714905, 0.19259096682071686, -0.2995762526988983, 0.7100575566291809, 0.020605776458978653, -0.06370937079191208, -0.6176465153694153, 0.35912254452705383, 0.5352326035499573, -0.012739060446619987, -0.33584174513816833, 0.5203053951263428, -0.13336557149887085, -0.1406375616788864, -0.4027155339717865, 0.40046730637550354, 0.6206901669502258, 0.5685518980026245, 0.3900485038757324, 0.19358548521995544, -0.4184044897556305, -0.7943660020828247, 0.22125345468521118, 0.5581185221672058, -0.3478580415248871, -0.31196680665016174, 0.5269227027893066, 0.20427851378917694, -0.7083150744438171, 0.5650110840797424, -0.08609577268362045, -0.2654297947883606, 0.9635869264602661, 0.7312348484992981, 0.6512337923049927, -0.31392890214920044, 0.6231796145439148, 0.024209657683968544, 0.2971232235431671, -0.30959179997444153, 0.12791049480438232, 0.18492956459522247, -1.452878713607788, -0.6926814317703247, -0.37407946586608887, -0.2278549075126648, -0.48621565103530884, -0.34811148047447205, 0.17471954226493835, -0.1669815331697464, -0.5757241249084473, -0.13821305334568024, 0.12969836592674255, -0.805519163608551, 0.14065536856651306, 0.22878560423851013, 0.6162189245223999, -0.9736700057983398, 0.8543736338615417, 0.9745115041732788, -0.20327891409397125, -1.0146352052688599, 0.3705419600009918, 0.16132961213588715, -0.7892717123031616, 0.6795473694801331, 0.033779531717300415, -0.19507978856563568, -0.1777493953704834, -0.6030440330505371, -1.0734063386917114, 1.3409826755523682, 0.48387590050697327, -0.4080894887447357, -0.2792695462703705, 0.3148168623447418, 0.6786338686943054, -0.9210309386253357, 0.1668216437101364, 0.0698602944612503, 0.4685090482234955, 0.3086109757423401, -0.6263384819030762, 0.2188330441713333, -0.25399401783943176, 0.16308178007602692, 0.10993596911430359, -0.6546967029571533, 0.5587152242660522, -0.06323733180761337, -0.07623304426670074, -0.10068941116333008, 0.9396775364875793, 0.7733525037765503, 0.36975985765457153, 0.9246190786361694, 0.03155388683080673, 1.0011510848999023, 0.36854201555252075, 0.7284286022186279, -0.06915032118558884, 0.11770333349704742, 0.9242722392082214, -0.9369093775749207, 0.3830704092979431, 0.40056312084198, -0.17107506096363068, 0.5131877064704895, 0.7685441970825195, 0.10787218064069748, 0.09432975947856903, 0.32172656059265137, -0.014683006331324577, -0.7586060166358948, -0.3015531301498413, -0.20073926448822021, 0.5470898747444153, 0.36504119634628296, -0.18250857293605804, 0.004983057733625174, -0.48367971181869507, -0.22395573556423187, 0.18065033853054047, 0.01693526841700077, 0.6956672072410583, 0.12520310282707214, -0.6707543134689331, -0.002472481457516551, -0.10073274374008179, 0.6752408146858215, -0.48642274737358093, -0.46212923526763916, -0.03409925103187561, -0.24095889925956726, -0.3286588788032532, -0.7500834465026855, -0.016515588387846947, -0.03642650693655014, -0.21519504487514496, -0.2644486427307129, 0.8135101795196533, -0.4438738524913788, -0.3043803572654724, 0.2762085795402527, 0.6480372548103333, 0.2639041543006897, 0.22487638890743256, -0.42952412366867065, -0.27055060863494873, -0.07856252789497375, -0.14372432231903076, 0.5316774249076843, 0.6412228345870972, -0.5229416489601135, 0.501003086566925, 0.8663780689239502, 0.34863555431365967, -0.18824513256549835, 0.14230281114578247, 0.7682048082351685, -0.6331626176834106, -0.5484444499015808, -0.9350242614746094, 0.4061998724937439, -0.5482385754585266, 0.09733482450246811, 0.5548967123031616, 0.28561854362487793, 0.374457448720932, 0.2611706256866455, 0.6757046580314636, 0.14133064448833466, 0.16166236996650696, -0.186273455619812, 0.7771994471549988, -0.4432511627674103, 0.2647831439971924, -0.4060952961444855, -1.18578040599823, -0.02021130919456482, 0.5999783277511597, -0.24155940115451813, 0.20680218935012817, 0.12053349614143372, 1.0231958627700806, -0.00594613142311573, -0.10797080397605896, 0.47144609689712524, -0.060999300330877304, 0.566032350063324, -0.0401453897356987, 1.1151758432388306, 0.14216099679470062, 0.18668539822101593, 0.1008036658167839, -0.3608989417552948, -0.1349383294582367, -0.9656778573989868, -0.9369579553604126, -0.20350033044815063, -0.23162181675434113, -0.40920472145080566, -0.0195938590914011, 1.5919605493545532, 0.755455732345581, -0.38068604469299316, -0.5344533920288086, 0.16685982048511505, 0.13788746297359467, -0.38672080636024475, -0.2956255376338959, 0.17823851108551025, 0.03524453565478325, -0.4696201682090759, 0.355461984872818, 0.12381134927272797, -0.07269451767206192, -0.3819073736667633, -0.4756808280944824, -0.13825593888759613, 0.4689006507396698, 0.40596500039100647, 0.13544495403766632, -0.8043303489685059, -0.5322359800338745, 0.16037219762802124, -0.2958807349205017, 0.07457536458969116, 0.8347828984260559, -0.504768431186676, 0.3921990990638733, 0.321833997964859, 0.5268773436546326, 0.11482836306095123, 0.6211949586868286, 1.0370839834213257, -0.77774578332901, -0.03617432713508606, 0.18736039102077484, 0.2515462338924408, 0.2892010509967804, -0.7263409495353699, 0.38905632495880127, 0.15406887233257294, -0.5262627005577087, -0.5643699169158936, 0.29983648657798767, -0.7689031362533569, -0.008283376693725586, 1.2565077543258667, -0.05690224841237068, -0.3044583797454834, -0.2537028193473816, -0.1548980474472046, 0.3698274493217468, -0.739739716053009, 0.7093842029571533, 0.5726523995399475, -0.3175120949745178, -0.0864604040980339, -0.20405831933021545, 0.23738792538642883, 0.24449732899665833, -0.7697986960411072, 0.08314942568540573, 0.44188931584358215, 0.1749412566423416, 0.28748029470443726, 0.8154136538505554, 0.08991509675979614, -0.06603816896677017, -0.2296060174703598, 0.2530754804611206, 0.1466650366783142, -0.08919036388397217, 0.019854174926877022, 0.10108783841133118, 0.10420650988817215, 0.20104730129241943 ]
http://arxiv.org/abs/2406.17231v1
http://arxiv.org/pdf/2406.17231v1
CogMG: Collaborative Augmentation Between Large Language Model and Knowledge Graph
2024-06-25T02:37:12
2024-06-25T02:37:12
Tong Zhou, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL
Large language models have become integral to question-answering applications despite their propensity for generating hallucinations and factually inaccurate content. Querying knowledge graphs to reduce hallucinations in LLM meets the challenge of incomplete knowledge coverage in knowledge graphs. On the other hand, updating knowledge graphs by information extraction and knowledge graph completion faces the knowledge update misalignment issue. In this work, we introduce a collaborative augmentation framework, CogMG, leveraging knowledge graphs to address the limitations of LLMs in QA scenarios, explicitly targeting the problems of incomplete knowledge coverage and knowledge update misalignment. The LLMs identify and decompose required knowledge triples that are not present in the KG, enriching them and aligning updates with real-world demands. We demonstrate the efficacy of this approach through a supervised fine-tuned LLM within an agent framework, showing significant improvements in reducing hallucinations and enhancing factual accuracy in QA responses. Our code and video are publicly available.
[ -0.5884658098220825, -1.015371561050415, 0.623916506767273, -0.0404471680521965, 0.03452124074101448, 0.4443216621875763, 0.019905932247638702, -0.6578733921051025, 0.3598178029060364, 0.6370944380760193, -0.7634145617485046, -0.6417132616043091, -0.32240030169487, 0.16889259219169617, -0.009494983591139317, 0.7011370062828064, 0.074821338057518, -0.05816885828971863, -0.7420114874839783, -0.22436729073524475, -0.5439605116844177, -0.43111351132392883, -0.7183530926704407, -0.5958443284034729, 0.31907323002815247, 0.3780002295970917, 1.1743189096450806, 0.26370325684547424, 0.42600202560424805, 0.3015305697917938, 0.06945163756608963, 0.882236659526825, -0.6214807629585266, 0.11958784610033035, -0.05272040516138077, -0.3880354166030884, -0.9029830098152161, -0.18432646989822388, 0.21257781982421875, 1.0427958965301514, -0.1247096136212349, -0.041894733905792236, 0.10904600471258163, 0.4519250988960266, -0.3615967631340027, 0.4286694824695587, -0.34614452719688416, -0.015732083469629288, 0.4513404667377472, -0.17989888787269592, -0.3219298720359802, -0.490739643573761, 0.3209136128425598, -1.0905330181121826, 0.19558662176132202, 0.3706037104129791, 0.746132493019104, 0.6768411993980408, -0.24604691565036774, -0.1917102038860321, -0.4483153820037842, 0.37147945165634155, -0.6160241365432739, 0.34112754464149475, 0.38453593850135803, 0.27491915225982666, -0.563228189945221, -0.7763330936431885, -0.6152291297912598, -0.13319188356399536, -0.2782430350780487, 0.12134984880685806, -0.25122153759002686, 0.5685873031616211, 0.2682616710662842, 0.4308626055717468, -0.5246589183807373, 0.05391532555222511, -0.25105929374694824, -0.5021187663078308, 0.7376312613487244, 0.07674215734004974, 0.5803961753845215, 0.048541050404310226, -0.3329903483390808, -0.08105602115392685, -0.6144310235977173, -0.23098023235797882, 0.1601782590150833, 0.0143238240852952, -0.027211537584662437, 0.5958722233772278, -0.19965291023254395, 0.9277950525283813, 0.3282616138458252, 0.03310809284448624, 0.3601808249950409, -0.29481279850006104, -0.29188665747642517, 0.16018886864185333, 0.5698053240776062, 0.5483896136283875, 0.08490680158138275, -0.6209614276885986, 0.24552299082279205, -0.2576214075088501, 0.2648482620716095, -0.5387463569641113, -0.29277196526527405, 0.3291831612586975, 0.1294979304075241, -0.125643789768219, -0.0859464630484581, -0.5397953391075134, -0.7041155099868774, -0.25133296847343445, 0.521760880947113, -0.2841089963912964, -0.164613738656044, 0.3118184208869934, -0.20661289989948273, -0.005507578607648611, 0.471640020608902, -0.479260116815567, 0.2416384518146515, 0.6019930243492126, 0.4887165427207947, -0.20435407757759094, -0.29360246658325195, -0.5870629549026489, 0.4898287057876587, -0.3990151584148407, 0.6233341097831726, -0.3600104749202728, -0.14476843178272247, -0.08214497566223145, 0.13225452601909637, -0.02811281941831112, -0.6867690086364746, 0.11527343094348907, -0.907417893409729, 0.5901283025741577, -0.3692728877067566, -0.8390526175498962, -0.5739089250564575, 0.6763901710510254, -0.7166321277618408, 0.9145936965942383, 0.6200932860374451, -0.5962756276130676, 0.11810623854398727, -0.5753490328788757, -0.10459903627634048, 0.2727360129356384, -0.22580471634864807, -0.32178550958633423, -0.3417079448699951, 0.5493857860565186, 0.3226487338542938, -0.10609518736600876, 0.3378433585166931, -0.5003238916397095, -0.5240296125411987, -0.01641676388680935, 0.2321024388074875, 0.6441187858581543, -0.010199664160609245, 0.052465543150901794, 0.35392218828201294, -0.7062578201293945, 0.1188586950302124, -0.11407379806041718, -0.16345280408859253, -0.28374335169792175, -0.14493165910243988, -0.6370084881782532, 0.06941062211990356, 0.5048622488975525, -0.1742917150259018, 0.2444077432155609, -0.6209502220153809, -0.0046999151818454266, 0.41527825593948364, 0.3728151321411133, 0.6137633919715881, -0.4977634847164154, 0.744148850440979, -0.06134756654500961, 0.18229621648788452, 0.2734096646308899, -0.4636061489582062, -0.7568274736404419, -0.2888420820236206, 0.019432850182056427, 0.5525553226470947, -1.3223752975463867, 0.6170441508293152, -0.25012892484664917, -0.14129193127155304, -0.6407175064086914, 0.2821798324584961, 0.11648880690336227, 0.5813198685646057, 0.5893158912658691, -0.21763087809085846, -0.7005760669708252, -0.7432945966720581, -0.11347789317369461, -0.37924084067344666, -0.1615920513868332, 0.3348628878593445, -0.06561611592769623, -0.5134187340736389, 1.027097225189209, -0.7194119095802307, -0.45230165123939514, -0.15645287930965424, -0.014488992281258106, -0.07096199691295624, 0.13111039996147156, 0.3061954379081726, -0.5726581811904907, -0.20738735795021057, -0.0032266925554722548, -1.0014411211013794, -0.2739624083042145, 0.16160205006599426, -0.05725317448377609, 0.10241001844406128, 0.6773525476455688, -0.4300430119037628, -0.011555513367056847, 0.8204014301300049, -0.31130450963974, 0.40646225214004517, -0.3213631808757782, 0.2163163423538208, -1.2768522500991821, -0.4608486294746399, -0.3550468981266022, -0.5967651009559631, -0.5399338603019714, 0.39936181902885437, -0.2665521204471588, -0.11892849951982498, -0.14944937825202942, 0.370077520608902, -0.47564733028411865, -0.04151298850774765, -0.29406672716140747, 0.6220818161964417, 0.3307459056377411, 0.6226526498794556, -0.15628287196159363, 0.8314715623855591, 0.4975953698158264, -0.5046936869621277, 0.6722269654273987, 0.355495423078537, -0.07569272071123123, 0.3659111559391022, -0.34488123655319214, 0.4793677031993866, 0.038481201976537704, 0.13918599486351013, -0.7298141121864319, -0.48329415917396545, 0.6157194972038269, -0.4417041540145874, 0.05168135091662407, -0.04210732504725456, -0.628014862537384, -0.31732162833213806, -0.12125761061906815, 0.21990296244621277, 0.42476069927215576, -0.6727687120437622, 0.7625800967216492, 0.49494972825050354, -0.09998136013746262, -0.39023879170417786, -0.5186499357223511, 0.11654236167669296, 0.08815546333789825, -1.005048394203186, 0.27588292956352234, -0.025341834872961044, -0.36589515209198, 0.1807468831539154, -0.05378533527255058, -0.1336178034543991, 0.015652958303689957, 0.12562893331050873, 0.16737323999404907, -0.143362358212471, 0.44372043013572693, 0.11196423321962357, 0.04242495447397232, 0.1314939707517624, -0.35175037384033203, 0.6308911442756653, -0.005974392406642437, -0.4974096715450287, -0.10049663484096527, 0.10503837466239929, 0.28605028986930847, -0.04517291486263275, 0.7184817790985107, 0.7972582578659058, -0.5028881430625916, -0.07399436831474304, -0.7129576802253723, -0.2987560033798218, -0.5294737815856934, 0.4518069326877594, -0.21485351026058197, -1.4072624444961548, 0.6738294363021851, -0.06679238379001617, -0.5182422995567322, 0.2792852222919464, 0.30198290944099426, -0.01677934266626835, 1.0191560983657837, 0.6475547552108765, 0.027635036036372185, 0.16652238368988037, -0.14267806708812714, 0.268200159072876, -0.7867884039878845, -0.4063841998577118, -0.08972889930009842, 0.03190336003899574, -0.4838555157184601, -0.6848337054252625, 0.6770675182342529, 0.33987152576446533, 0.13488437235355377, 0.06929522752761841, -0.6045498251914978, 0.42846012115478516, 0.309684157371521, 0.4017893373966217, 0.5203437209129333, 0.04162149131298065, 0.02453436702489853, 0.18986330926418304, -0.9313264489173889, -0.32877102494239807, 0.722898006439209, 0.17823484539985657, 0.6497983932495117, 0.108014315366745, 0.5811578631401062, 0.34172695875167847, 0.0702829360961914, -0.6011515259742737, 0.6231175065040588, 0.30522575974464417, -0.5053235292434692, -0.5550268292427063, -0.4367906153202057, -0.8069946765899658, 0.27559560537338257, -0.276416152715683, -0.5936119556427002, 0.11868534982204437, 0.19899305701255798, -0.545120358467102, 0.15403492748737335, -0.8184038996696472, 0.7418531179428101, 0.1134142354130745, -0.3393738269805908, -0.3951023817062378, -0.4514009356498718, 0.3292595148086548, -0.0566704161465168, 0.1349838823080063, 0.11455955356359482, 0.0010224601719528437, 0.5012848377227783, -0.6345899701118469, 0.7758721113204956, -0.15588393807411194, -0.35158008337020874, 0.5252736210823059, 0.10153287649154663, 0.8783326148986816, 0.024180090054869652, -0.020481234416365623, -0.12877625226974487, -0.009725065901875496, -0.5279526710510254, -0.8609927892684937, 0.5247862935066223, -0.8201541304588318, -0.9168538451194763, -0.10889114439487457, -1.0653798580169678, -0.63880455493927, 0.08017415553331375, -0.09494494646787643, 0.21517951786518097, -0.09724844992160797, -0.040742918848991394, 0.6525525450706482, -0.32336291670799255, 0.11074556410312653, 0.3831723928451538, -0.45947763323783875, -0.5397052764892578, 0.8272565007209778, 0.04105503484606743, 0.36406686902046204, 0.061910539865493774, 0.07208189368247986, -0.359605997800827, -0.7188642621040344, -0.19957056641578674, 0.15606142580509186, -0.6861819624900818, 0.03392471745610237, -0.7547985911369324, -0.26005837321281433, -0.7700309157371521, -0.10362404584884644, 0.20713894069194794, -0.24171794950962067, -0.3540422022342682, -0.21374653279781342, 0.5360389351844788, 0.6893061995506287, -0.10859383642673492, 0.44731831550598145, -0.9085628986358643, 0.43219098448753357, 0.6405113935470581, 0.18245206773281097, -0.16742728650569916, -0.15074346959590912, -0.4082632064819336, 0.20495153963565826, -0.11209665983915329, -0.9116784930229187, 0.2813950479030609, -0.14040903747081757, 0.4608083963394165, 0.15690040588378906, 0.24522370100021362, 1.0401630401611328, -0.0015780668472871184, 0.8237295150756836, 0.0851106271147728, -0.7918760776519775, 0.2047467678785324, -0.497222363948822, 0.252584308385849, 0.5463414788246155, 0.047857560217380524, -0.539148211479187, -0.7223727107048035, -0.6238211989402771, -0.6416276693344116, 0.6065860986709595, 0.10940218716859818, -0.18762846291065216, 0.07243303954601288, 0.46061307191848755, 0.010930022224783897, 0.3448931574821472, -0.5106549263000488, 0.00429152138531208, 0.04962172359228134, -0.2830943167209625, 0.022675910964608192, -0.07200402766466141, -0.4198819696903229, -0.2608496844768524, 0.7323831915855408, -0.5205477476119995, 0.045264579355716705, 0.4148193299770355, -0.40280860662460327, -0.2907891869544983, 0.11746056377887726, 0.40725117921829224, 0.7715839147567749, -0.3343484103679657, 0.11169327795505524, 0.5917220115661621, -0.28843367099761963, -0.042405664920806885, 0.32402804493904114, -0.11393681168556213, -0.25359830260276794, 0.38932013511657715, 0.7526671886444092, -0.10646935552358627, -0.5221154093742371, 0.52692049741745, 0.04399397224187851, -0.19059690833091736, -0.2940695583820343, 0.2680415213108063, 0.10557915270328522, 0.6274339556694031, 0.33188381791114807, 0.08950165659189224, 0.1099247857928276, -0.3975372314453125, 0.22365814447402954, 0.4123055636882782, -0.7731407880783081, -0.08983118087053299, 0.42879730463027954, 0.18733711540699005, -0.3336604833602905, 0.38608571887016296, -0.6591053009033203, -0.5842571258544922, 0.6173604726791382, 0.3732648193836212, 0.6067651510238647, 0.19607214629650116, 0.39302003383636475, 0.10942953079938889, 0.40257886052131653, -0.06918458640575409, 0.18870794773101807, 0.02888147160410881, -0.9045590758323669, -0.7254378199577332, -0.041874174028635025, -0.6406635046005249, 0.09749489277601242, -0.44497525691986084, 0.14136740565299988, -0.2048986852169037, 0.04178198054432869, -0.5922636389732361, 0.24238286912441254, -0.45998984575271606, 0.2715478241443634, 0.033644724637269974, 0.5050809979438782, -0.5433220267295837, 0.7578505873680115, 0.7242928147315979, -0.5396548509597778, -1.055199384689331, 0.07489300519227982, -0.31585830450057983, -0.8479872941970825, 0.11431849002838135, -0.10565444827079773, -0.2302318662405014, 0.2783617377281189, -0.6878878474235535, -0.7242745161056519, 1.30426025390625, 0.6040318608283997, -0.4143622815608978, -0.2972702383995056, 0.35708558559417725, 0.8356926441192627, -0.3483678102493286, -0.00015794156934134662, 0.3529382646083832, 0.44589000940322876, 0.27778154611587524, -0.7405698895454407, 0.3476710319519043, 0.15815891325473785, -0.43665748834609985, -0.0403834693133831, -0.7239764928817749, 0.37338653206825256, -0.32759931683540344, -0.06474760919809341, -0.13096041977405548, 0.6018478870391846, 0.4190705418586731, 0.45240798592567444, 0.5260713696479797, 0.756066083908081, 1.1842148303985596, -0.14562924206256866, 0.9857841730117798, -0.34934207797050476, 0.25883951783180237, 1.2466658353805542, -0.27191948890686035, 0.2120581567287445, 0.39685484766960144, -0.033830273896455765, 0.47595179080963135, 0.7509053945541382, 0.013260379433631897, 0.2570616602897644, -0.010416976176202297, -0.310404896736145, -0.5606382489204407, -0.2731033265590668, -0.5271023511886597, 0.10698515921831131, 0.25501981377601624, -0.07982048392295837, -0.22398468852043152, -0.03759099170565605, -0.027655232697725296, -0.021638423204421997, -0.36438804864883423, 0.940464437007904, -0.031533382833004, -0.8393797278404236, 0.6219832897186279, -0.2485283464193344, 0.297400563955307, -0.23614007234573364, -0.13332726061344147, -0.19863025844097137, -0.00591370789334178, -0.4482862651348114, -0.559689998626709, 0.33761680126190186, -0.5092359781265259, -0.00203320337459445, -0.0888143926858902, 0.9768331050872803, -0.7458707690238953, -0.23629899322986603, 0.5542876124382019, 0.7965225577354431, -0.07627174258232117, -0.24503740668296814, -0.4161286950111389, -0.2618010342121124, -0.09205570071935654, 0.22622336447238922, -0.04770657792687416, 0.4135645031929016, -0.04143625497817993, 0.7277193665504456, 0.526496410369873, 0.10250923037528992, 0.20494665205478668, 0.3701944649219513, 0.9206703305244446, -0.341016948223114, -0.4028984010219574, -0.6243022680282593, 0.2333742082118988, -0.29454222321510315, 0.4068238139152527, 0.8427950143814087, 0.5978255271911621, 0.8306393027305603, 0.0200494434684515, 0.7607170939445496, 0.09788374602794647, 0.3647204339504242, -0.4397215247154236, 0.7594568133354187, -0.5491048693656921, 0.3188607394695282, -0.20049604773521423, -0.8061495423316956, -0.4535355567932129, 0.3251911997795105, -0.4165830910205841, -0.19455783069133759, 0.719525933265686, 1.1242033243179321, 0.21339252591133118, -0.0475677065551281, 0.5532721877098083, 0.3744407594203949, 0.22082829475402832, 0.5189883708953857, 0.9546549320220947, -0.45833832025527954, 0.6505823731422424, -0.07742771506309509, 0.03566823527216911, -0.1654365062713623, -0.5888749361038208, -1.053542137145996, -0.42282742261886597, -0.6104714274406433, -0.6643846035003662, 0.2144918590784073, 1.111006736755371, 0.6476628184318542, -0.687200129032135, 0.08512846380472183, -0.14226745069026947, 0.560593843460083, -0.22446048259735107, -0.24508802592754364, 0.30225297808647156, -0.3718375265598297, -0.545401930809021, 0.4497782289981842, 0.3068996071815491, 0.14290276169776917, -0.40728482604026794, -0.29979535937309265, -0.14336815476417542, 0.003796954406425357, 0.5038423538208008, 0.04360073432326317, -0.5629772543907166, -0.6559658050537109, 0.26317471265792847, -0.062243346124887466, 0.27304768562316895, 0.41053691506385803, -0.919463574886322, 0.65628981590271, 0.6177977919578552, 0.7202733755111694, 0.47738584876060486, 0.20788320899009705, 0.6813315749168396, -0.9642764925956726, 0.04234927520155907, 0.13237792253494263, 0.14261968433856964, 0.4100077450275421, -0.5351295471191406, 0.5867018103599548, 0.3786374032497406, -0.42368316650390625, -0.7316049933433533, 0.2227204591035843, -1.0576343536376953, -0.14413465559482574, 1.194710373878479, -0.003486116649582982, -0.287428617477417, -0.4857604205608368, -0.41039595007896423, 0.5987517833709717, -0.18265622854232788, 1.0251555442810059, 0.8852441906929016, -0.18139398097991943, -0.30914121866226196, -0.13159459829330444, 0.5598890781402588, 0.23492029309272766, -1.0933902263641357, -0.30777835845947266, 0.820237398147583, 0.1229558065533638, 0.3053312301635742, 0.7406124472618103, 0.03942372649908066, 0.27977320551872253, -0.20991994440555573, 0.33477067947387695, -0.44557487964630127, -0.0010434321593493223, -0.25055378675460815, 0.541739821434021, 0.2918403446674347, -0.2142895609140396 ]
http://arxiv.org/abs/2406.17224v1
http://arxiv.org/pdf/2406.17224v1
Large Language Models are Interpretable Learners
2024-06-25T02:18:15
2024-06-25T02:18:15
Ruochen Wang, Si Si, Felix Yu, Dorothea Wiesmann, Cho-Jui Hsieh, Inderjit Dhillon
cs.AI
cs.AI, cs.CL, cs.CV, cs.LG, cs.SC, 68T05
The trade-off between expressiveness and interpretability remains a core challenge when building human-centric predictive models for classification and decision-making. While symbolic rules offer interpretability, they often lack expressiveness, whereas neural networks excel in performance but are known for being black boxes. In this paper, we show a combination of Large Language Models (LLMs) and symbolic programs can bridge this gap. In the proposed LLM-based Symbolic Programs (LSPs), the pretrained LLM with natural language prompts provides a massive set of interpretable modules that can transform raw input into natural language concepts. Symbolic programs then integrate these modules into an interpretable decision rule. To train LSPs, we develop a divide-and-conquer approach to incrementally build the program from scratch, where the learning process of each step is guided by LLMs. To evaluate the effectiveness of LSPs in extracting interpretable and accurate knowledge from data, we introduce IL-Bench, a collection of diverse tasks, including both synthetic and real-world scenarios across different modalities. Empirical results demonstrate LSP's superior performance compared to traditional neurosymbolic programs and vanilla automatic prompt tuning methods. Moreover, as the knowledge learned by LSP is a combination of natural language descriptions and symbolic rules, it is easily transferable to humans (interpretable), and other LLMs, and generalizes well to out-of-distribution samples.
[ 0.039360638707876205, -0.5057172775268555, 0.76137775182724, 0.32978856563568115, -0.18892733752727509, 0.2062178999185562, -0.5616050362586975, -0.5985450744628906, 0.03127342835068703, 0.40239372849464417, -0.49898597598075867, -0.3983936011791229, -0.7989889979362488, 0.1587754487991333, -0.451596736907959, 0.7127150893211365, -0.03131283074617386, 0.1574065089225769, -0.029472485184669495, -0.0923452377319336, -0.4364367127418518, -0.47782763838768005, -0.7931493520736694, -0.6611114144325256, 0.41668403148651123, -0.027285005897283554, 0.6480616927146912, 0.6008254885673523, 0.24725137650966644, 0.33683931827545166, 0.017323903739452362, 0.1506965309381485, -0.2790105640888214, 0.10428734123706818, -0.3650241494178772, -0.6661557555198669, -0.11365755647420883, -0.1218298152089119, 0.5435552597045898, 0.6765475869178772, -0.2165050059556961, 0.0744977816939354, 0.15346315503120422, 0.39516517519950867, -0.4274523854255676, 0.6983682513237, -0.5693404078483582, 0.03891150653362274, 0.04778561741113663, -0.038699354976415634, -0.6797935366630554, -0.39291101694107056, -0.10129816085100174, -0.42446115612983704, -0.3174317479133606, -0.013819035142660141, 0.542595624923706, 0.43738821148872375, -0.2809029817581177, -0.11289028078317642, -0.6175280809402466, 0.9474374651908875, -0.7987395524978638, 0.43959933519363403, 0.3008940517902374, 0.6311390399932861, -0.3330838680267334, -0.67885422706604, -0.5074305534362793, -0.4280647337436676, -0.2612948715686798, -0.1808466911315918, -0.1733783334493637, 0.05100073665380478, 0.43599849939346313, -0.09055209159851074, -0.4124583601951599, 0.4037992060184479, -0.22928208112716675, -0.010989482514560223, 0.7514795064926147, 0.25124144554138184, 0.41354799270629883, -0.08440997451543808, -0.07194867730140686, -0.15001147985458374, -0.7801780700683594, -0.0029535465873777866, -0.06383095681667328, 0.6251160502433777, -0.16702038049697876, 0.6099093556404114, -0.10371676832437515, 0.9175278544425964, -0.2332593947649002, -0.1853877604007721, -0.061056338250637054, 0.09897696226835251, -0.2518279552459717, 0.1338510513305664, 0.6480088829994202, -0.02470131777226925, 0.6612148284912109, -0.35121607780456543, -0.4044584035873413, 0.12040143460035324, 0.25799599289894104, -0.6169157028198242, -0.002410134067758918, 0.07626792043447495, -0.4342297315597534, -0.17497287690639496, -0.10925374180078506, -0.382671594619751, -0.6006348133087158, -1.124741554260254, 0.5033137798309326, -0.5851417779922485, -0.23062677681446075, 0.15551899373531342, 0.028667693957686424, 0.13033272325992584, 0.5757245421409607, -0.7017939686775208, 0.4534035921096802, 0.91156405210495, 0.8096647262573242, -0.13779433071613312, -0.2427734136581421, -0.5058860778808594, 0.20111499726772308, -0.24189221858978271, 0.397663950920105, -0.5928919911384583, -0.007778703700751066, 0.024715343490242958, -0.1350078284740448, -0.1841006577014923, -0.5089148283004761, 0.34632769227027893, -0.412811815738678, -0.09635180234909058, -0.1225612610578537, -0.44323617219924927, -0.1570124477148056, 0.24057136476039886, -0.6261550784111023, 0.8315101265907288, 0.1576737016439438, -0.45081475377082825, 0.310355544090271, -0.6200900673866272, -0.5544875860214233, -0.011184178292751312, -0.35661783814430237, 0.026107825338840485, 0.2591802179813385, 0.08510272204875946, 0.6938433051109314, -0.42198997735977173, 0.5140941739082336, -0.3108888864517212, -0.4663461446762085, 0.3203634023666382, -0.17861148715019226, 0.6654748916625977, 0.19803941249847412, -0.5437965393066406, 0.30281388759613037, -0.7876755595207214, 0.18133530020713806, 0.21485471725463867, -0.29653409123420715, -0.3938918709754944, 0.23199614882469177, -0.1194567084312439, 0.4941440522670746, -0.04519040882587433, -0.25160306692123413, 0.0605044886469841, -0.5479974746704102, 0.4921517074108124, 1.0627816915512085, -0.5718562602996826, 0.37219780683517456, -0.14832156896591187, 0.46980834007263184, -0.13501234352588654, -0.10302169620990753, 0.06595595926046371, -0.07619374990463257, -0.8154163360595703, -0.3198219835758209, 0.07695544511079788, 0.5072831511497498, -0.8693954348564148, 0.6501067876815796, -0.4199424684047699, -0.43744510412216187, -0.2735661566257477, 0.15731534361839294, 0.22954030334949493, 0.2760027348995209, 0.26935261487960815, 0.010295439511537552, -0.47725364565849304, -0.8841390013694763, -0.4357072412967682, -0.1794469952583313, 0.03757771477103233, 0.047724250704050064, 0.4437083899974823, 0.1521841436624527, 0.723674476146698, -0.39941170811653137, -0.18540798127651215, -0.6921595335006714, 0.05309018865227699, 0.5298061370849609, 0.2646354138851166, 0.2964935004711151, -0.34077656269073486, -0.46880316734313965, -0.03053443878889084, -0.8811125159263611, -0.08870700001716614, -0.2355373352766037, -0.046997085213661194, -0.05351121351122856, 0.5599759817123413, -0.9379589557647705, 0.1934385746717453, 0.16555021703243256, -0.2761754095554352, 0.5928322672843933, -0.04087065905332565, -0.2885332405567169, -0.8609302043914795, 0.04445302113890648, 0.23381824791431427, -0.27615517377853394, -0.47239750623703003, 0.12285711616277695, -0.013685664162039757, -0.09911732375621796, -0.4459569454193115, 0.8343839049339294, -0.38994795083999634, -0.2349514216184616, -0.2440875917673111, -0.10720571130514145, -0.18473400175571442, 0.4606132209300995, 0.1395110785961151, 0.5647764205932617, 0.5667255520820618, -0.49396368861198425, 0.14745837450027466, 0.040073979645967484, -0.5327492356300354, 0.5748618841171265, -0.6317167282104492, -0.13698236644268036, -0.36238980293273926, 0.376459002494812, -0.4831525981426239, -0.16514310240745544, 0.31815990805625916, 0.016901545226573944, 0.4745335876941681, 0.18378262221813202, -0.6393982768058777, -0.20472459495067596, 0.010612895712256432, 0.12692891061306, 0.543232262134552, -0.6966502666473389, 0.8674904704093933, 0.07219575345516205, -0.1735900342464447, -0.6499431133270264, -0.5402684211730957, 0.15318669378757477, -0.11941572278738022, -0.3136214315891266, -0.00976040493696928, 0.23209862411022186, -0.5034828186035156, -0.08837445825338364, -0.008673164062201977, 0.10225234925746918, 0.18321314454078674, 0.4740678369998932, 0.2446976751089096, -0.11358685046434402, 0.40869513154029846, -0.07197603583335876, -0.07415517419576645, 0.3300272226333618, -0.2813900113105774, 0.5335872173309326, -0.1325620859861374, -0.48245468735694885, -0.5817908048629761, 0.15139301121234894, 0.6614237427711487, -0.227584570646286, 0.9266322255134583, 0.3829117715358734, -0.3191121816635132, -0.6140796542167664, -0.2928893566131592, -0.34392279386520386, -0.4124234914779663, 0.35196760296821594, -0.44745421409606934, -0.6674830317497253, 0.08861803263425827, -0.3071812093257904, 0.23999539017677307, 0.29425129294395447, 0.4363834261894226, -0.04302463307976723, 1.2206987142562866, 0.5506987571716309, -0.18726897239685059, 0.4281052350997925, -0.04336434230208397, 0.20990623533725739, -0.4244789779186249, -0.26807984709739685, -0.5101150274276733, -0.6646391749382019, -0.15355557203292847, -0.30950263142585754, 0.14774392545223236, -0.08774972707033157, -0.5781301259994507, 0.2888898551464081, -0.4782008230686188, 0.5856118202209473, 0.4298740327358246, 0.19250652194023132, 0.16723038256168365, 0.10734733939170837, -0.02383713610470295, -0.034295596182346344, -0.5136216878890991, -0.46840333938598633, 1.0245376825332642, 0.3387061357498169, 0.8806602954864502, -0.024594388902187347, 0.6675513982772827, 0.255381315946579, 0.6031752228736877, -0.7884936332702637, 0.748097836971283, -0.34649163484573364, -0.23613345623016357, -0.16725178062915802, -0.533332347869873, -0.7533283829689026, 0.37683242559432983, -0.3285813629627228, -1.0585492849349976, -0.06897672265768051, 0.06280825287103653, -0.13188770413398743, 0.363741934299469, -0.7259498834609985, 0.7252091765403748, -0.7376534342765808, -0.23720066249370575, -0.48127591609954834, -0.6577866673469543, 0.4416693449020386, -0.23807306587696075, 0.2574061453342438, -0.1441517472267151, 0.14452442526817322, 0.5239267945289612, -0.3069761097431183, 1.1398520469665527, -0.1893732100725174, 0.0323258638381958, -0.1316102147102356, 0.17188286781311035, 0.7134101986885071, -0.30522143840789795, -0.3855397403240204, 0.1966833621263504, 0.0666118785738945, -0.21386060118675232, -0.8703309893608093, 0.5686450004577637, -0.8438007831573486, -0.6313318014144897, -0.48374220728874207, -0.7553196549415588, -0.22684794664382935, 0.15360841155052185, -0.27238357067108154, 0.31955498456954956, -0.12651729583740234, 0.08719943463802338, 0.3697514832019806, -0.3153453767299652, 0.24327710270881653, 0.4786834120750427, -0.399293452501297, -0.02913128212094307, 0.8902033567428589, -0.027623450383543968, 0.2299088090658188, 0.45049360394477844, 0.22186094522476196, -0.5011380910873413, -0.49047815799713135, -0.3306482136249542, 0.4158664643764496, -0.8210846185684204, -0.021326344460248947, -0.4642314016819, -0.3241010308265686, -0.1585436314344406, -0.09231892228126526, -0.0798816904425621, -0.47933661937713623, -0.1975831687450409, -0.0336618572473526, 0.17889706790447235, 0.7334380149841309, 0.017866646870970726, 0.40843749046325684, -0.6418642401695251, 0.14663013815879822, 0.018048062920570374, 0.2783740758895874, 0.11596363037824631, -0.40223148465156555, -0.15126049518585205, 0.059736352413892746, 0.03552829474210739, -0.6883618831634521, 0.4690599739551544, 0.17993809282779694, 0.6839878559112549, 0.29857978224754333, -0.005814321804791689, 0.528693675994873, -0.34202930331230164, 0.3306996822357178, 0.49124130606651306, -0.836383044719696, 0.5079604983329773, -0.043866679072380066, 0.35452714562416077, 0.38761672377586365, 0.42122605443000793, -0.4300366938114166, -0.3744095265865326, -0.3390420079231262, -0.5608247518539429, 1.0046638250350952, 0.040282242000103, 0.07809364795684814, 0.21035659313201904, 0.2720804512500763, 0.10766412317752838, 0.27308449149131775, -0.854301929473877, 0.08329497277736664, -0.09360561519861221, -0.6560832858085632, -0.40371420979499817, 0.08687347173690796, -0.2304074466228485, -0.39254605770111084, 0.5010737776756287, -0.2551206052303314, -0.09427835047245026, -0.3419720530509949, -0.3308936655521393, 0.0875304788351059, 0.36800846457481384, 0.22382961213588715, 0.8374909162521362, -0.14557652175426483, 0.40197667479515076, 0.02238243818283081, -0.039638590067625046, 0.1939893364906311, 0.1659051924943924, -0.15718185901641846, -0.2608586847782135, 0.4521481990814209, 0.9518333077430725, 0.21676106750965118, -1.073132872581482, 0.23772260546684265, -0.009508631192147732, 0.02039606124162674, -0.3824774920940399, 0.29207950830459595, 0.18181221187114716, 0.48891913890838623, -0.0034244575072079897, 0.0062539950013160706, -0.20927570760250092, -0.5946062803268433, 0.034233465790748596, 0.43772533535957336, -0.34209999442100525, -0.303898423910141, 0.5285288095474243, 0.04233963042497635, -0.1880456954240799, 0.8124895095825195, 0.03318683058023453, -0.4446505308151245, 0.6212265491485596, 0.6277409791946411, 0.7527989149093628, -0.09147214889526367, 0.30412283539772034, 0.3031938672065735, 0.3760509490966797, -0.2516425848007202, 0.2974075973033905, -0.06327507644891739, -0.6425012350082397, -0.6621862053871155, -0.9379127025604248, -0.12247566878795624, 0.2190970927476883, -0.4027782678604126, 0.23637990653514862, -0.674701452255249, 0.029414812102913857, 0.16828852891921997, -0.35183078050613403, -0.6688485741615295, 0.1757880598306656, 0.08205924928188324, 1.0225526094436646, -0.9439057111740112, 0.9130212068557739, 0.8098710179328918, -0.34553396701812744, -1.1163617372512817, -0.34376028180122375, 0.10923335701227188, -0.9129718542098999, 1.143194317817688, 0.32534316182136536, 0.22387568652629852, -0.13342012465000153, -0.5499701499938965, -0.6412729024887085, 0.7970490455627441, 0.6414821147918701, -0.530225396156311, -0.12073341012001038, 0.38156944513320923, 0.5921066999435425, -0.18385034799575806, 0.314355731010437, 0.8505979180335999, 0.6413462162017822, 0.27056461572647095, -0.795575737953186, 0.27385213971138, -0.16680853068828583, -0.3064934313297272, 0.4198469817638397, -0.1952756941318512, 0.6531925797462463, -0.07875955104827881, -0.1475507766008377, -0.0664779543876648, 0.4789980351924896, 0.44850239157676697, 0.12532706558704376, 0.5981459021568298, 0.6439061164855957, 0.5856010913848877, -0.26250264048576355, 1.1594809293746948, -0.27660948038101196, -0.22448179125785828, 1.1626640558242798, -0.4234732389450073, 0.9357852339744568, 0.45667606592178345, -0.2506985366344452, 0.45861536264419556, 0.5188133120536804, 0.059416864067316055, 0.24101591110229492, 0.5097931623458862, -0.31550344824790955, -0.6748936772346497, -0.34018266201019287, -0.09375368058681488, 0.4745587110519409, 0.5210021734237671, -0.4842560589313507, -0.5038214921951294, -0.18612311780452728, -0.05006396770477295, 0.11854297667741776, -0.2853321135044098, 0.47290048003196716, 0.45050013065338135, -0.7698950171470642, 0.46008360385894775, 0.020351415500044823, 0.46680304408073425, -0.8831002116203308, -0.2401929348707199, 0.11098115891218185, 0.4421843886375427, -0.2339724898338318, -0.8235495090484619, 0.2566899061203003, -0.21872280538082123, 0.05835147202014923, -0.40287184715270996, 0.9158022999763489, -0.33591893315315247, -0.5299379229545593, 0.32697898149490356, 0.6827839016914368, 0.17752094566822052, -0.1227506771683693, -0.8126916885375977, 0.05598687008023262, -0.12969054281711578, -0.11477550119161606, 0.594493567943573, 0.22704604268074036, -0.3664066791534424, 0.9324696660041809, 0.7675691246986389, 0.30390867590904236, -0.17094284296035767, 0.2182733565568924, 0.8356102705001831, -0.5902061462402344, -0.48156049847602844, -0.8573262095451355, 0.3214443624019623, -0.11421468108892441, 0.18151649832725525, 0.4064370095729828, 0.2949598729610443, 0.40507209300994873, -0.026473257690668106, 0.7614908218383789, -0.050086554139852524, 0.3831247091293335, -0.6020033955574036, 0.6480196118354797, -0.5911424160003662, 0.32393500208854675, 0.035623982548713684, -0.9685239195823669, -0.37397295236587524, 0.6003985404968262, -0.4820597469806671, 0.04339555278420448, 0.4684348404407501, 0.6842979192733765, -0.12316358834505081, 0.03312606364488602, 0.24788957834243774, 0.29006803035736084, 0.2827158272266388, 0.7249402403831482, 1.1201658248901367, 0.2343614548444748, 0.2476375550031662, -0.12395636737346649, -0.23704813420772552, -0.03978481888771057, -0.7982276678085327, -0.9062569737434387, -0.24002772569656372, -0.022728780284523964, -0.19108715653419495, 0.13616928458213806, 1.1201577186584473, 0.7394911646842957, -0.6908335089683533, -0.4382489323616028, -0.03312176465988159, 0.20765937864780426, -0.34461456537246704, -0.208461195230484, 0.49899160861968994, -0.4235726594924927, -0.6566506028175354, 0.46655258536338806, 0.1726624220609665, -0.027745574712753296, -0.23039846122264862, -0.3568679094314575, -0.11383436620235443, 0.013879604637622833, 0.8860307931900024, 0.41633450984954834, -0.7831169962882996, -0.27873966097831726, -0.061509374529123306, 0.007836746983230114, -0.26729124784469604, 0.7791017293930054, -0.9190403819084167, 0.309239000082016, 0.41973182559013367, 0.7365820407867432, 0.3262394368648529, -0.14632649719715118, 0.738365650177002, -0.6312853097915649, 0.20900996029376984, 0.22589218616485596, 0.5123496651649475, 0.11642089486122131, -0.11119981110095978, 0.6554784774780273, -0.03417627513408661, -0.22777420282363892, -0.7922398447990417, 0.17310436069965363, -0.9444257020950317, -0.5872544646263123, 1.1580239534378052, -0.08827878534793854, -0.11868488043546677, -0.09349604696035385, -0.12919196486473083, 0.15783794224262238, -0.2927553355693817, 0.8181243538856506, 0.58425372838974, -0.24444054067134857, -0.3115970492362976, -0.5042722225189209, 0.352441668510437, 0.4817592203617096, -1.0250309705734253, 0.04751931130886078, 0.6611985564231873, 0.0517149344086647, 0.07585706561803818, 0.300782710313797, 0.03760668635368347, 0.11039569228887558, -0.3498891592025757, 0.1737312227487564, -0.24965912103652954, -0.33866211771965027, -0.3030858039855957, 0.13700295984745026, 0.3180912137031555, 0.1999710500240326 ]
http://arxiv.org/abs/2406.17213v1
http://arxiv.org/pdf/2406.17213v1
Detecting Frames in News Headlines and Lead Images in U.S. Gun Violence Coverage
2024-06-25T01:56:47
2024-06-25T01:56:47
Isidora Chara Tourni, Lei Guo, Hengchang Hu, Edward Halim, Prakash Ishwar, Taufiq Daryanto, Mona Jalal, Boqi Chen, Margrit Betke, Fabian Zhafransyah, Sha Lai, Derry Tanti Wijaya
cs.CL
cs.CL
News media structure their reporting of events or issues using certain perspectives. When describing an incident involving gun violence, for example, some journalists may focus on mental health or gun regulation, while others may emphasize the discussion of gun rights. Such perspectives are called \say{frames} in communication research. We study, for the first time, the value of combining lead images and their contextual information with text to identify the frame of a given news article. We observe that using multiple modes of information(article- and image-derived features) improves prediction of news frames over any single mode of information when the images are relevant to the frames of the headlines. We also observe that frame image relevance is related to the ease of conveying frames via images, which we call frame concreteness. Additionally, we release the first multimodal news framing dataset related to gun violence in the U.S., curated and annotated by communication researchers. The dataset will allow researchers to further examine the use of multiple information modalities for studying media framing.
[ -0.41105926036834717, -0.958170473575592, 0.5346367955207825, 0.23466525971889496, -0.5422758460044861, 0.049988359212875366, -0.03887217491865158, -0.40251150727272034, 0.20487309992313385, 0.2816697359085083, -0.21789126098155975, -0.4647929072380066, -0.9336809515953064, -0.08202703297138214, -0.574349045753479, 0.9166180491447449, -0.08851727843284607, 0.1848813146352768, 0.2651507258415222, -0.15390729904174805, -0.4090467691421509, -0.3956287205219269, -0.4584878385066986, -0.03470173850655556, 0.43425703048706055, 0.019130781292915344, 1.049773931503296, 0.6546734571456909, 0.9957700371742249, 0.18360264599323273, -0.24895739555358887, -0.23342479765415192, -0.26147353649139404, -0.035436760634183884, -0.0559595562517643, -0.18751153349876404, -0.31394585967063904, 0.43943852186203003, 0.5844013690948486, 0.2965009808540344, 0.6566892266273499, 0.045721013098955154, -0.16771933436393738, 0.6172442436218262, -0.7290931344032288, 0.011128142476081848, -0.3408997058868408, 0.22780627012252808, -0.5494683980941772, -0.5544291734695435, -0.40280041098594666, -0.33367037773132324, -0.08112983405590057, -0.40132829546928406, 0.31673046946525574, -0.06727883219718933, 0.9977041482925415, 0.027378130704164505, -0.6831917762756348, -0.35952332615852356, -0.5242828726768494, 0.16619816422462463, -0.3316808044910431, 0.4175328314304352, 0.5002378821372986, 0.08862962573766708, -0.24671050906181335, -0.162489652633667, -0.4176162779331207, -0.03808140754699707, -0.25432470440864563, 0.02556714601814747, -0.33117401599884033, -0.08286499232053757, 0.4435133635997772, 0.4676666557788849, -0.6582457423210144, -0.3221634328365326, -0.8259248733520508, -0.2984475791454315, 0.7045586109161377, 0.06369194388389587, 0.460678368806839, -0.17035183310508728, -0.4625861346721649, -0.15210358798503876, -0.4230828881263733, 0.3957376182079315, 0.316832035779953, 0.07790052145719528, -0.2116568684577942, 0.8073103427886963, -0.14965608716011047, 0.791594386100769, 0.22609978914260864, -0.38215407729148865, 0.364322692155838, -0.685063362121582, 0.07901202887296677, 0.23787906765937805, 0.619024395942688, 1.024023413658142, 0.04755912348628044, 0.212008997797966, -0.020109757781028748, 0.17040692269802094, 0.16057616472244263, -0.8566110134124756, 0.146744042634964, -0.15566711127758026, -0.799555778503418, -0.21860601007938385, 0.2636086046695709, -0.5665612816810608, -0.5423180460929871, -0.06798355281352997, 0.3151567280292511, -0.0875944271683693, -0.3740859031677246, 0.0011889562010765076, -0.6449919939041138, 0.3340209126472473, 0.004719362128525972, -0.5896317362785339, -0.2442253977060318, 0.47554704546928406, 1.068763017654419, -0.1222013533115387, -0.03645991533994675, -0.3201490640640259, 0.044234730303287506, -0.7067226767539978, 0.8396173119544983, -0.6945085525512695, -0.3120034635066986, -0.15651042759418488, 0.23800194263458252, 0.4003497064113617, -0.2741990089416504, 0.4995088577270508, -0.778174877166748, 0.11875820904970169, -0.1592099368572235, -0.36488911509513855, -0.17746217548847198, 0.29404333233833313, -0.8210763335227966, 0.567176878452301, -0.05125860869884491, -0.8838184475898743, 0.7964560985565186, -0.17629317939281464, -0.594774603843689, -0.4371072053909302, -0.24341586232185364, -0.698868453502655, 0.29773375391960144, 0.19337968528270721, 0.37952062487602234, 0.23326638340950012, 0.3178040683269501, -0.3039045035839081, -0.36259913444519043, 0.10236617177724838, -0.4536714255809784, 0.4235266149044037, 0.2875254154205322, -0.05131838843226433, 0.09485740959644318, -0.5743505954742432, -0.5265806913375854, 0.09944766014814377, -0.30981308221817017, -0.32513055205345154, 0.07525670528411865, 0.05604928731918335, 0.014610057696700096, -0.16600356996059418, -0.6719560027122498, -0.22888192534446716, 0.1523922085762024, 0.055983882397413254, 0.33382245898246765, 0.17000927031040192, 0.631670355796814, -0.5284569263458252, 0.20290370285511017, 0.266591340303421, 0.15238149464130402, -0.7235153317451477, -0.6359301805496216, -0.08081186562776566, -0.06851523369550705, 0.035383112728595734, 0.6046317219734192, -0.28959646821022034, 0.14600680768489838, 0.2168091982603073, -0.18593518435955048, 0.16949190199375153, -0.3826034665107727, 0.09234687685966492, 0.5206916332244873, 0.2671133279800415, -0.6704160571098328, -0.6464226245880127, -0.7745105624198914, -0.40702444314956665, 0.1388755589723587, 0.23425231873989105, -0.26827871799468994, 0.19404864311218262, 0.34996530413627625, 1.1407866477966309, -0.4841693341732025, -0.3656523525714874, 0.01886769011616707, 0.577867329120636, 0.24726064503192902, 0.3180807828903198, 0.6737405061721802, -1.2479548454284668, -0.2924569845199585, -0.49010154604911804, -0.8579181432723999, -0.009699399583041668, -0.2127310335636139, -0.0179631095379591, -0.0736590251326561, 0.7235216498374939, -0.20812326669692993, 0.896088182926178, 0.3730151653289795, -0.47375261783599854, 0.3732176721096039, 0.35500046610832214, 0.6562924981117249, -0.8543520569801331, -0.30815771222114563, 0.33865293860435486, -0.21717622876167297, -0.44940871000289917, -0.4058624804019928, -0.005207652226090431, -0.7137093544006348, -0.2893878221511841, 0.2253103107213974, -0.4520537853240967, -0.3847378194332123, -0.7197350263595581, 0.06444656103849411, 0.259587824344635, 0.10461538285017014, 0.31479042768478394, 0.9330849647521973, 0.608761191368103, -0.14751087129116058, 0.376669317483902, 0.18324685096740723, -0.550584077835083, 0.7160941958427429, -0.34882569313049316, -0.19857317209243774, -0.8461783528327942, 0.6265309453010559, -0.9082978367805481, -0.43919652700424194, 0.29511758685112, -0.5659290552139282, 0.15147875249385834, -0.14620140194892883, -0.07827217876911163, -0.20391564071178436, -0.2523361146450043, 0.09859499335289001, -0.1319856345653534, 0.12077898532152176, 0.14863044023513794, 0.6959516406059265, -0.052969783544540405, -0.554436981678009, -0.8124215006828308, 0.22024691104888916, -0.16047196090221405, -0.6355983018875122, 0.3921527862548828, -0.03074137680232525, -0.287284791469574, 0.42085716128349304, -0.3951825797557831, -0.5422388315200806, 0.09228312224149704, 0.3152235150337219, 0.21644377708435059, -0.4451737701892853, 0.5060123205184937, -0.09938127547502518, -0.35856249928474426, -0.0039511509239673615, 0.4246305227279663, 0.21395081281661987, -0.09153592586517334, -0.14793707430362701, -0.6244449615478516, 0.8984175324440002, 0.632988452911377, -0.42435455322265625, 0.5899128913879395, 0.7229896783828735, -0.29914069175720215, 0.46962490677833557, -0.3403124511241913, -0.4845118522644043, -0.33118870854377747, 0.33042681217193604, -0.2724234461784363, -0.6821599006652832, 0.15682175755500793, 0.174607053399086, 0.017622580751776695, 0.14545197784900665, 0.3968748152256012, -0.02535914070904255, 0.9184189438819885, 0.6036632657051086, -0.11502192169427872, 0.9631988406181335, 0.11991546303033829, 0.21709118783473969, -0.46875157952308655, -0.015202084556221962, -0.1680975705385208, -0.5593866109848022, -0.07146212458610535, -0.30360034108161926, 0.3484785556793213, 0.35050317645072937, -0.1742834597826004, 0.5087195634841919, -0.5700634121894836, 0.7758314609527588, 0.3700495958328247, 0.32468295097351074, 0.7174707651138306, -0.05326884984970093, 0.4596869647502899, 0.14769279956817627, -0.1524200290441513, -0.45041486620903015, 1.2696952819824219, 0.1284172236919403, 0.8217735886573792, -0.031507909297943115, 0.432480126619339, 0.43730926513671875, 0.42896410822868347, -0.9152079224586487, 0.26642513275146484, 0.048157207667827606, -1.0143587589263916, 0.003123783739283681, -0.0790293887257576, -0.9061041474342346, 0.23526126146316528, -0.6350628137588501, -0.39792564511299133, 0.25420135259628296, -0.05856231227517128, -0.5891823172569275, 0.11258361488580704, -0.5487369298934937, 0.5718340873718262, -0.17700353264808655, 0.00862407498061657, -0.2917485535144806, -0.5635097622871399, 0.2583518624305725, -0.04372325539588928, 0.4325975179672241, -0.7787452340126038, 0.03763974457979202, 0.5512636303901672, 0.14170753955841064, 0.4742020070552826, 0.26702794432640076, 0.1946011632680893, 0.257361501455307, -0.4583609998226166, 0.19377855956554413, 0.2772786617279053, 0.2035106122493744, -0.059649452567100525, -0.10841763019561768, -0.22479258477687836, -0.37587451934814453, 0.226124107837677, -0.2876657545566559, -0.6222955584526062, -0.5673311948776245, -0.7617401480674744, 0.012223277240991592, 0.294779509305954, 0.6996393203735352, 0.7760666012763977, -0.019610276445746422, 0.4843326807022095, 0.7104973196983337, 0.33061519265174866, 0.9039943814277649, 0.4557654559612274, -0.24818868935108185, -0.32583004236221313, 0.17769087851047516, 0.4115557372570038, -0.11838497221469879, 0.2785460948944092, 0.05776291340589523, -0.0015383120626211166, -0.4703647792339325, -0.40174537897109985, -0.35686013102531433, -0.4488380253314972, -0.33150312304496765, -0.29938793182373047, -0.21537894010543823, -0.22386489808559418, -0.3403051197528839, -0.40279915928840637, -0.16725242137908936, -0.3489571809768677, -0.1849338412284851, 0.3212929666042328, 0.40469926595687866, -0.1718556135892868, 0.45287179946899414, -1.0079245567321777, 0.6731448173522949, 0.3909331262111664, 0.4379619061946869, -0.5807846784591675, -0.2074618935585022, -0.2540808916091919, -0.13274097442626953, -0.6791319251060486, -1.5105315446853638, 0.04893072694540024, -0.0491521991789341, 0.5935654044151306, 0.45556262135505676, 0.350790411233902, 0.1984635442495346, -0.5998812913894653, 0.605652391910553, 0.4200047552585602, -0.6657561659812927, 0.7904478907585144, -0.41439375281333923, 0.13237136602401733, 0.414914071559906, 0.635230302810669, -0.10969506204128265, -0.39062580466270447, -0.2609941363334656, -0.4260489344596863, 0.3233705163002014, 0.023657459765672684, 0.5029081106185913, -0.18268312513828278, 0.0504692904651165, -0.26488491892814636, 0.14447882771492004, -0.8113073110580444, -0.22889241576194763, -0.13618846237659454, -0.04877929016947746, 0.15094178915023804, -0.3958812952041626, -0.5865733027458191, 0.002886091358959675, 0.28044164180755615, -0.07689210027456284, 0.09512104839086533, 0.4008514881134033, -0.2940097451210022, -0.3268909156322479, 0.34323790669441223, 0.6999643445014954, 0.9301004409790039, -0.2657166123390198, 0.316740483045578, -0.4111020267009735, -0.6163352131843567, 0.38717544078826904, 0.103458471596241, -0.1695149838924408, 0.31222984194755554, 0.21279317140579224, 0.9177631735801697, 0.3653234839439392, -0.45082831382751465, 0.8870905041694641, 0.07197540998458862, 0.031159576028585434, -0.11898137629032135, -0.010770482942461967, -0.2534412443637848, 0.860458493232727, 0.8815134167671204, 0.4663282632827759, 0.4568537175655365, -0.8811784386634827, 0.7457374930381775, 0.5177947282791138, -0.35518595576286316, -0.2045430988073349, 0.6970824003219604, 0.36073604226112366, -0.16877859830856323, 0.1720779985189438, 0.028475642204284668, -0.25109219551086426, 0.6277036070823669, 0.638801634311676, 0.5581596493721008, 0.12554286420345306, 0.3114558458328247, 0.3739538788795471, 0.38037794828414917, -0.2011328488588333, 0.016155697405338287, 0.07087717205286026, -0.9969332218170166, -0.36181914806365967, -0.281532347202301, -0.38005584478378296, -0.08925136178731918, -0.8280225396156311, 0.2421017289161682, -0.42642003297805786, -0.8479003310203552, 0.29746583104133606, -0.10471483319997787, 0.016980886459350586, 0.12368199974298477, 0.842425525188446, 1.026340365409851, -1.1698805093765259, 0.7236179113388062, 0.5384162068367004, -0.37281373143196106, -0.3247055411338806, 0.20863567292690277, 0.5209785103797913, -0.35831788182258606, 0.4774462878704071, 0.5679531693458557, 0.04917509853839874, -0.130091592669487, -0.46187278628349304, -0.8035189509391785, 0.888744056224823, 0.47775477170944214, 0.00974672008305788, 0.054281555116176605, -0.3704998195171356, -0.2074434608221054, -0.6771042346954346, -0.012755303643643856, 0.38659733533859253, 0.5597652196884155, 0.26741930842399597, -0.8239148259162903, -0.32427582144737244, -0.2748352289199829, -0.05506090819835663, 0.49016785621643066, -0.7271661162376404, 0.9217216372489929, -0.2644093632698059, -0.39694565534591675, -0.3605368733406067, 0.7316458821296692, 0.22172817587852478, 0.8979875445365906, 0.18045862019062042, 0.6412864327430725, 0.45541274547576904, -0.28005897998809814, 0.7399993538856506, -0.34812381863594055, 0.3224371075630188, 1.0300836563110352, 0.18616192042827606, 0.749514102935791, 0.2920745015144348, -0.03358776494860649, 0.432409405708313, 0.5811296701431274, -0.16767455637454987, 0.6452394723892212, -0.24532821774482727, -0.21875065565109253, -0.16054877638816833, -0.11760200560092926, -0.5823675394058228, 0.7058022022247314, 0.28842103481292725, -0.5827263593673706, -0.8017376065254211, 0.6100310683250427, 0.3454497754573822, 0.1738886535167694, -0.4378030002117157, 0.5944215059280396, -0.06580936908721924, -0.24641473591327667, 0.02234332449734211, -0.009376682341098785, 0.6685255765914917, -0.4813840687274933, 0.08845648914575577, -0.20211052894592285, -0.2238369584083557, -0.15526174008846283, -1.21370530128479, 1.0486856698989868, -0.1257791966199875, -0.7092428803443909, -0.40520572662353516, 0.8154993653297424, -0.3891236484050751, -0.2089032679796219, 0.04606977477669716, 0.09304242581129074, 0.008670728653669357, -0.42468366026878357, -0.5137324333190918, 0.557081401348114, -0.37179800868034363, -0.5670785903930664, 0.3217390179634094, -0.061822421848773956, -0.09211926907300949, 0.15706691145896912, 0.6271915435791016, -0.1447073221206665, 0.15578795969486237, -0.631737470626831, 0.8364388942718506, -0.6121507287025452, -0.30498114228248596, -0.6125363707542419, 0.5098715424537659, -0.47522738575935364, -0.5636171102523804, 0.5158575177192688, 0.6678188443183899, 0.5023068189620972, 0.10502641648054123, 0.46000435948371887, -0.21104061603546143, 0.13058939576148987, -0.6068561673164368, 0.574559211730957, -0.21741589903831482, -0.2948983907699585, 0.1152302697300911, -0.6907861232757568, -0.5328317880630493, 0.7410613894462585, -0.38322076201438904, -0.5040097236633301, 0.5931259989738464, 0.7800253033638, 0.040163829922676086, 0.29037487506866455, 0.2994343638420105, -0.3760055601596832, -0.2444147765636444, 0.2981966435909271, 0.5400815010070801, -0.37259218096733093, 0.6678980588912964, -0.3220333158969879, -0.49236372113227844, -0.06550593674182892, -0.8424829244613647, -0.8546584844589233, -0.5988452434539795, -0.3532024919986725, -0.16557979583740234, 0.14319536089897156, 0.6378729939460754, 1.0193297863006592, -0.6462735533714294, 0.18541927635669708, 0.15650688111782074, 0.363818883895874, -0.10019388794898987, -0.2292463332414627, 0.3369716703891754, -0.45719173550605774, -0.7414224147796631, 0.5122952461242676, 0.5451494455337524, 0.07674935460090637, 0.1821116954088211, 0.4563435912132263, -0.2014426290988922, 0.06140720099210739, 0.5770196914672852, 0.21638327836990356, -0.29834380745887756, -0.4537777900695801, -0.04027904197573662, -0.4455815851688385, 0.335825115442276, 1.046351671218872, -0.7189161777496338, 0.6135756969451904, 0.6592012643814087, 0.5685927867889404, 0.3536149263381958, 0.1732686460018158, 0.5556322932243347, -0.6714181900024414, 0.6541751623153687, 0.004304787609726191, 0.23239365220069885, 0.11089955270290375, -0.49000051617622375, 0.3607514798641205, 0.4354868531227112, -0.474081814289093, -0.5801933407783508, 0.4024396538734436, -1.059314489364624, -0.3460102379322052, 0.8933669924736023, -0.15317785739898682, -0.14000573754310608, -0.2562353014945984, -0.2339036613702774, 0.2021656334400177, -0.4120854437351227, 0.314226895570755, 0.8490955829620361, -0.1477605551481247, -0.8164414763450623, -0.7530749440193176, 0.3255041241645813, -0.2652503550052643, -0.6148001551628113, -0.35501614212989807, 0.7492762804031372, 0.06630873680114746, 0.26252007484436035, 0.667822003364563, -0.18068251013755798, 0.3713605999946594, 0.10626509040594101, -0.44617128372192383, -0.26573795080184937, -0.39838695526123047, -0.04618930071592331, 0.4640769064426422, -0.6177833676338196, -0.4717091917991638 ]
http://arxiv.org/abs/2406.17186v2
http://arxiv.org/pdf/2406.17186v2
CLERC: A Dataset for Legal Case Retrieval and Retrieval-Augmented Analysis Generation
2024-06-24T23:57:57
2024-06-27T15:55:57
Abe Bohan Hou, Orion Weller, Guanghui Qin, Eugene Yang, Dawn Lawrie, Nils Holzenberger, Andrew Blair-Stanek, Benjamin Van Durme
cs.CL
cs.CL, cs.CY
Legal professionals need to write analyses that rely on citations to relevant precedents, i.e., previous case decisions. Intelligent systems assisting legal professionals in writing such documents provide great benefits but are challenging to design. Such systems need to help locate, summarize, and reason over salient precedents in order to be useful. To enable systems for such tasks, we work with legal professionals to transform a large open-source legal corpus into a dataset supporting two important backbone tasks: information retrieval (IR) and retrieval-augmented generation (RAG). This dataset CLERC (Case Law Evaluation Retrieval Corpus), is constructed for training and evaluating models on their ability to (1) find corresponding citations for a given piece of legal analysis and to (2) compile the text of these citations (as well as previous context) into a cogent analysis that supports a reasoning goal. We benchmark state-of-the-art models on CLERC, showing that current approaches still struggle: GPT-4o generates analyses with the highest ROUGE F-scores but hallucinates the most, while zero-shot IR models only achieve 48.3% recall@1000.
[ -0.4112638533115387, -0.3726232647895813, 0.766163170337677, -0.1644277274608612, -0.2879691421985626, -0.2243240624666214, -0.0946282222867012, -0.37805891036987305, 0.027544766664505005, 0.7375338673591614, -0.23158127069473267, -0.5467833280563354, -0.4359368681907654, -0.05070672184228897, -0.7194599509239197, 1.1398720741271973, 0.15934626758098602, 0.18285925686359406, -0.30745837092399597, -0.5575003623962402, -0.7332771420478821, -0.902361273765564, -0.30663877725601196, -0.13651706278324127, 0.46564874053001404, 0.5284343361854553, 0.4342050850391388, 0.23377445340156555, 0.5754262208938599, 0.13483746349811554, 0.1549454927444458, -0.16406609117984772, -0.7419158220291138, 0.2833525836467743, -0.44146791100502014, -0.13701117038726807, -0.4046548306941986, 0.01647496037185192, 0.15981478989124298, 0.4924609661102295, -0.30258697271347046, 0.3494304120540619, -0.44665947556495667, 0.8431153893470764, -0.9198336601257324, 0.05280173197388649, -0.8841190934181213, 0.026352636516094208, -0.332244873046875, -0.27955538034439087, -0.6856651306152344, -0.3942583203315735, 0.33608919382095337, -0.6262783408164978, 0.5959024429321289, 0.15545594692230225, 0.6765279769897461, 0.2700352370738983, -0.37266796827316284, -0.6578253507614136, -0.5890479683876038, 0.48076337575912476, -0.4816773533821106, 0.40707913041114807, -0.005557497497648001, 0.4054429531097412, -0.29457196593284607, -1.0992475748062134, -0.41372716426849365, -0.38778388500213623, -0.1597200185060501, 0.3415471613407135, -0.07939338684082031, 0.02861698530614376, 0.43340763449668884, 0.15350846946239471, -0.5551232099533081, -0.2457796186208725, -0.5558744668960571, -0.2125028371810913, 0.6208788752555847, 0.04174730181694031, 0.028527697548270226, -0.05011463165283203, -0.18831601738929749, -0.17975911498069763, -0.6288062930107117, -0.1954803466796875, 0.42611163854599, 0.24610447883605957, 0.34404703974723816, 0.5104353427886963, -0.007438047789037228, 0.746606171131134, 0.06651593744754791, 0.24832545220851898, 0.058687977492809296, -0.23623138666152954, -0.09274781495332718, 0.40921342372894287, 0.5352156162261963, 0.2893820106983185, 0.2259356826543808, -0.02650744467973709, -0.31198593974113464, -0.2672499120235443, 0.4756031036376953, -0.7673824429512024, -0.2747383117675781, 0.40064185857772827, -0.4761381149291992, -0.09225471317768097, 0.5282557010650635, -0.7787644267082214, -0.4806007146835327, -0.6267598867416382, 0.006943719461560249, -0.2144894152879715, 0.03713696077466011, 0.18855144083499908, -0.5051500797271729, 0.24147675931453705, 0.25405871868133545, -0.39304137229919434, 0.4273107647895813, 0.5633297562599182, 0.582714855670929, -0.015406567603349686, 0.11006271839141846, -0.8712813854217529, 0.16918572783470154, -0.26100102066993713, 0.8220711350440979, -0.7323875427246094, -0.5488753318786621, 0.12572652101516724, -0.10410249978303909, 0.018763883039355278, -0.6336951851844788, 0.8382692933082581, -0.7444928288459778, -0.058092135936021805, -0.37371355295181274, -0.5601515173912048, -0.005259088706225157, 0.13170161843299866, -0.9280332326889038, 0.684857189655304, 0.17534102499485016, -0.9363200068473816, 0.6791791915893555, -0.7352678775787354, -0.5358045101165771, 0.27354928851127625, -0.33055180311203003, -0.48576146364212036, 0.1598730981349945, 0.0388307087123394, 0.29608967900276184, -0.3341454863548279, 0.5807844400405884, -0.27436766028404236, -0.3554983139038086, -0.05772172287106514, 0.1646391600370407, 0.593288242816925, 0.4817313849925995, -0.20894476771354675, 0.11354906857013702, -0.5841605067253113, -0.0658004879951477, 0.09329032152891159, -0.19487209618091583, -0.34392327070236206, 0.004585200920701027, -0.31184571981430054, 0.2200612872838974, 0.15991796553134918, -0.3359639644622803, -0.0132420863956213, -0.017192741855978966, 0.3268527090549469, 0.5092573761940002, 0.21247628331184387, 0.3131861090660095, -0.26075583696365356, 0.43326690793037415, -0.14761270582675934, 0.016527840867638588, -0.016773881390690804, -0.20805487036705017, -0.6921460628509521, -0.07620299607515335, 0.6345357298851013, 0.5292077660560608, -0.5594574809074402, 0.23473890125751495, -0.5079953074455261, -0.3194322884082794, -0.4067462384700775, -0.1820862740278244, 0.2188335359096527, 0.4701736867427826, 0.5041027665138245, -0.25217247009277344, -0.882611095905304, -0.8928548097610474, -0.5824013948440552, -0.01544563565403223, 0.21335040032863617, 0.42539167404174805, 0.8749563694000244, -0.04468749836087227, 0.9859280586242676, -0.152169331908226, -0.22008028626441956, -0.352201908826828, 0.2628505825996399, 0.3871736526489258, 0.21866843104362488, 0.440749853849411, -0.9361268281936646, -0.46999043226242065, 0.040736231952905655, -0.7457043528556824, -0.16048885881900787, -0.4000682234764099, -0.19066914916038513, 0.020733026787638664, 0.6777321100234985, -0.3246595859527588, 0.7649862766265869, -0.2567789554595947, -0.313752144575119, 0.7824363708496094, -0.23796094954013824, 0.2825653553009033, -0.5305117964744568, 0.6174729466438293, -0.0632292777299881, -0.3281591236591339, -0.6570754647254944, 0.12198331207036972, -0.06970379501581192, 0.01283592451363802, -0.30678310990333557, 0.5859423875808716, -0.49475598335266113, -0.3000591993331909, -0.20905928313732147, 0.25881072878837585, 0.05089688301086426, 0.2507743537425995, 0.027549955993890762, 0.6624248027801514, -0.06087949126958847, -0.5337291359901428, 0.13331668078899384, 0.3236806094646454, -0.3138955235481262, 0.7046962976455688, -0.5592754483222961, 0.31982162594795227, -0.0451793447136879, 0.22740204632282257, 0.009582122787833214, -0.45488661527633667, 0.0755390077829361, -0.12644392251968384, 0.2381000965833664, -0.4633057117462158, -0.6321188807487488, -0.5549609661102295, -0.13060466945171356, 0.3033211827278137, 0.19626396894454956, -0.6055150628089905, 0.5859706997871399, 0.561573326587677, -0.05117373913526535, -0.7729179859161377, -0.31930673122406006, 0.0023822407238185406, -0.1396695077419281, -0.2887805998325348, 0.37348926067352295, 0.06219060346484184, -0.5068125128746033, 0.10628455877304077, -0.0908450186252594, -0.020015941932797432, -0.12949538230895996, 0.31178244948387146, 0.15459729731082916, -0.009412399493157864, 0.2064959555864334, 0.00407760962843895, 0.12104259431362152, 0.029618768021464348, -0.26905548572540283, 0.5225174427032471, -0.2124364823102951, -0.3756959140300751, -0.08844000101089478, 0.3516726493835449, 0.5367245674133301, -0.28742799162864685, 0.27493152022361755, -0.023988882079720497, -0.10073217004537582, -0.1617668718099594, -0.728887140750885, 0.04183083027601242, -0.3629138171672821, 0.01975277252495289, -0.5737447142601013, -0.8543606400489807, 0.47949451208114624, -0.004887176677584648, 0.2438420057296753, 0.5980428457260132, 0.6196036338806152, 0.15379267930984497, 0.5092994570732117, 0.2632283866405487, -0.12352491170167923, 0.4224669337272644, -0.16681750118732452, 0.22729019820690155, -0.5768141150474548, -0.18028727173805237, -0.49116554856300354, -0.019803395494818687, -0.19978396594524384, -0.2169637680053711, 0.48119544982910156, 0.026724424213171005, -0.4494582712650299, 0.2967938780784607, -0.6411646604537964, 0.5451489090919495, 0.7926084995269775, 0.03504033014178276, 0.3719886243343353, -0.08569910377264023, -0.3038162291049957, 0.41734206676483154, -0.6233755350112915, -0.43368586897850037, 1.2662792205810547, -0.0017732555279508233, 0.26672428846359253, -0.031413719058036804, 0.7441511154174805, 0.6122191548347473, 0.26697593927383423, -0.5857858061790466, 0.6346150636672974, -0.3084253966808319, -0.8894334435462952, 0.048794735223054886, -0.25638318061828613, -0.8807975649833679, 0.10485425591468811, -0.26147839426994324, -0.5400879383087158, 0.47850823402404785, 0.07662003487348557, -0.4930281341075897, 0.06974110007286072, -0.5104063153266907, 0.7052265405654907, -0.14369115233421326, -0.7131111025810242, -0.24255558848381042, -0.8120331168174744, 0.4261397421360016, -0.00010703175939852372, 0.17384804785251617, 0.10830028355121613, 0.43303415179252625, 0.5737107396125793, -0.7144483327865601, 0.3972311317920685, -0.3953680694103241, 0.31995800137519836, 0.9563519358634949, 0.20874488353729248, 0.5781925916671753, 0.12436829507350922, -0.29226693511009216, -0.25295355916023254, 0.3272532522678375, -0.20468421280384064, -0.5242550373077393, 0.5533803701400757, -0.2068767547607422, -0.6820980310440063, -0.625958263874054, -0.547333300113678, 0.153975710272789, 0.23913271725177765, 0.0734647661447525, 0.41540655493736267, -0.36295169591903687, 0.20825091004371643, 0.43499523401260376, 0.14822597801685333, 0.12541525065898895, 0.5991408824920654, 0.09950669854879379, -0.34567853808403015, 0.7894560098648071, 0.22596874833106995, -0.3319830298423767, 0.05371420830488205, 0.04686560481786728, -0.2539043724536896, -0.6400337219238281, -0.23035027086734772, 0.1356469690799713, -0.8733136653900146, -0.25153985619544983, -0.46011656522750854, -0.23079520463943481, -0.40655654668807983, -0.08722923696041107, -0.2015480399131775, -0.34275147318840027, -0.17504441738128662, -0.07944686710834503, 0.336349755525589, 0.7159219980239868, -0.07059364020824432, -0.010218683630228043, -0.6693478226661682, 0.17482280731201172, 0.0587056428194046, 0.2857385575771332, -0.26871776580810547, -0.5097626447677612, -0.1400909423828125, -0.2859947681427002, -0.2131885290145874, -0.5883693099021912, 0.3342830538749695, 0.007087827660143375, 0.5348003506660461, 0.08240167051553726, 0.23739054799079895, 0.6707668900489807, -0.6282539963722229, 0.5152674317359924, 0.014817215502262115, -0.74619460105896, 0.697977602481842, -0.2465495616197586, -0.09060947597026825, 1.0673795938491821, 0.22392502427101135, -0.24691878259181976, -0.02299921214580536, -0.8251445293426514, -0.7344977259635925, 0.570087730884552, 0.2690202593803406, -0.32317498326301575, 0.011675137095153332, 0.8879826664924622, 0.26259952783584595, 0.22205409407615662, -0.3806968033313751, 0.2921413481235504, -0.3171864151954651, -0.40536126494407654, 0.48042914271354675, -0.1590227484703064, -0.30585938692092896, -0.2763112783432007, 0.6499828100204468, -0.18444442749023438, 0.0857916995882988, 0.4926326870918274, -0.2786911427974701, 0.362643837928772, 0.23152455687522888, 0.5636271238327026, 0.6215471625328064, -0.3128146231174469, 0.09464019536972046, 0.1131482869386673, -0.4096544086933136, -0.13198761641979218, 0.1963225156068802, -0.08054149150848389, -0.008201400749385357, 0.29003822803497314, 0.6304580569267273, 0.01447542104870081, -0.9409176707267761, 0.5723577737808228, -0.2197616696357727, -0.37954455614089966, -0.7388968467712402, 0.14170999825000763, -0.29109472036361694, 0.26811569929122925, 0.3058657944202423, 0.04826778173446655, 0.4862971305847168, -0.5638229250907898, 0.5802873373031616, 0.33071643114089966, -0.3836926817893982, -0.05205606296658516, 0.6473578810691833, 0.20496398210525513, 0.1106797605752945, 0.6077691912651062, -0.2123006135225296, -0.35317525267601013, 0.5879470705986023, 0.18457108736038208, 0.5821461081504822, 0.3246845304965973, -0.00611046003177762, 0.6424480676651001, -0.10722361505031586, -0.511001706123352, 0.21706388890743256, -0.060674767941236496, -0.36125239729881287, -0.07302660495042801, -0.4198378026485443, -0.39355766773223877, 0.06479714065790176, -0.7528300285339355, 0.49955159425735474, -0.2935842275619507, -0.2502463757991791, -0.17014922201633453, -0.06295816600322723, -0.7185877561569214, 0.020773354917764664, -0.19588756561279297, 0.8684243559837341, -0.419857382774353, 0.7639027833938599, 0.22722728550434113, -0.6380448341369629, -0.41157758235931396, -0.18020574748516083, -0.09624339640140533, -0.3308402895927429, 0.7564031481742859, 0.08354167640209198, -0.14119641482830048, 0.011484313756227493, -0.8039689660072327, -0.4878763258457184, 1.2795095443725586, 0.3000296354293823, -0.7882056832313538, -0.06946294009685516, 0.11874072998762131, 0.6838359236717224, -0.684527575969696, 0.2624521851539612, 1.0967085361480713, 0.49066683650016785, 0.2534855008125305, -0.6160523891448975, 0.040689289569854736, -0.33016684651374817, -0.23374009132385254, 0.05291556939482689, -0.399842768907547, 0.5779304504394531, -0.35406652092933655, -0.4460633099079132, 0.1575220674276352, 0.4372732937335968, 0.5504205226898193, 0.5169163942337036, 0.34895768761634827, 0.5991542935371399, 0.8762819170951843, -0.13848520815372467, 1.2748775482177734, -0.5266574621200562, 0.25782695412635803, 1.664005994796753, -0.4764750003814697, 0.8063479661941528, 0.4988589584827423, 0.2572343349456787, 0.6365576386451721, 0.2677534520626068, -0.3126187324523926, 0.4599558115005493, 0.3532026410102844, -0.2002851516008377, -0.3198598623275757, -0.21780581772327423, -0.043107978999614716, 0.11031468957662582, 0.4817699193954468, -0.4819529950618744, -0.07199849933385849, -0.30379825830459595, -0.13852474093437195, 0.2437109798192978, -0.23188157379627228, 0.8091347813606262, 0.035812776535749435, -0.8252447843551636, 0.19535712897777557, -0.39719563722610474, -0.009829999879002571, -0.23923754692077637, -0.29760125279426575, -0.20110878348350525, 0.1567879617214203, -0.27210715413093567, -0.8635733723640442, 0.26598915457725525, 0.15546995401382446, -0.2660583257675171, 0.10637038946151733, 0.8676851987838745, -0.08730993419885635, -0.296385794878006, 0.40177831053733826, 0.4055551588535309, 0.27374592423439026, 0.041269537061452866, -0.7198938727378845, -0.05252371355891228, -0.11416987329721451, -0.13488811254501343, 0.08524948358535767, 0.3516680598258972, -0.3357716500759125, 0.5613862872123718, 0.5995840430259705, 0.04020162299275398, 0.12050297111272812, 0.4963839054107666, 0.9824544787406921, -0.6333121061325073, -0.10251577943563461, -0.5514660477638245, 0.6502639055252075, -0.5217750072479248, -0.13069336116313934, 0.13080085813999176, 0.732722282409668, 0.6659582853317261, -0.056138429790735245, 0.9476282596588135, -0.32366499304771423, 0.7039696574211121, -0.6281337141990662, 0.45964720845222473, -0.2535913586616516, 0.34933024644851685, 0.12579475343227386, -0.6775016188621521, -0.37773945927619934, 0.3771592080593109, -0.42618528008461, -0.10396036505699158, 0.618635356426239, 0.6730852723121643, -0.0714435949921608, 0.0299529992043972, 0.17968082427978516, 0.013319423422217369, 0.4935236871242523, 0.4123508334159851, 0.7233097553253174, -0.4687740206718445, 0.6480789184570312, 0.02728714793920517, 0.04187725856900215, -0.4798498749732971, -0.7405136227607727, -0.9804132580757141, -0.44510969519615173, -0.09375222772359848, -0.3553812801837921, 0.2908708155155182, 0.7867760062217712, 0.4747152030467987, -1.0717991590499878, -0.22133100032806396, -0.5086946487426758, -0.05826032534241676, 0.15379729866981506, -0.20590505003929138, 0.43589040637016296, -0.5891031622886658, -0.4418925344944, 0.3938259780406952, 0.10359077900648117, -0.23288409411907196, 0.11277773231267929, -0.05118226632475853, -0.391366571187973, 0.06258026510477066, 0.4034698009490967, 0.4941571354866028, -0.599014401435852, -0.5777353048324585, -0.13346955180168152, -0.061291471123695374, 0.22976154088974, 1.3853113651275635, -0.8041432499885559, 0.7198165655136108, 0.519841730594635, 0.4335505962371826, 0.6387593150138855, 0.2439006268978119, 0.7901166081428528, -0.6490299105644226, 0.1508786976337433, 0.4674070477485657, 0.6254522204399109, 0.08954917639493942, -0.1027422845363617, 0.8915241956710815, 0.19346390664577484, -0.7925055027008057, -0.7394382357597351, -0.02201131545007229, -0.8086695075035095, -0.4819510579109192, 0.8657763004302979, -0.0773313120007515, -0.2202288657426834, -0.3493026793003082, -0.23988765478134155, 0.3058031499385834, -0.5267385840415955, 0.5898846387863159, 0.6471508741378784, -0.22523120045661926, 0.03219601511955261, -0.9037377834320068, 0.49561288952827454, 0.06538448482751846, -0.6560643315315247, 0.11038675904273987, 0.7287660837173462, 0.2963917553424835, 0.349153071641922, 0.5478242635726929, -0.3147629201412201, 0.403205007314682, 0.0006048976792953908, 0.358928382396698, 0.04441886395215988, -0.44375115633010864, -0.15235942602157593, 0.4365502893924713, -0.18981817364692688, 0.34166419506073 ]
http://arxiv.org/abs/2406.17185v1
http://arxiv.org/pdf/2406.17185v1
Vaporetto: Efficient Japanese Tokenization Based on Improved Pointwise Linear Classification
2024-06-24T23:47:20
2024-06-24T23:47:20
Koichi Akabe, Shunsuke Kanda, Yusuke Oda, Shinsuke Mori
cs.CL
cs.CL
This paper proposes an approach to improve the runtime efficiency of Japanese tokenization based on the pointwise linear classification (PLC) framework, which formulates the whole tokenization process as a sequence of linear classification problems. Our approach optimizes tokenization by leveraging the characteristics of the PLC framework and the task definition. Our approach involves (1) composing multiple classifications into array-based operations, (2) efficient feature lookup with memory-optimized automata, and (3) three orthogonal pre-processing methods for reducing actual score calculation. Thus, our approach makes the tokenization speed 5.7 times faster than the current approach based on the same model without decreasing tokenization accuracy. Our implementation is available at https://github.com/daac-tools/vaporetto under the MIT or Apache-2.0 license.
[ -0.23160670697689056, -0.37319231033325195, 0.4224419891834259, 0.12881696224212646, -0.5315132737159729, 0.11160673946142197, -0.057678740471601486, -0.4048176407814026, 0.24963442981243134, 0.26946279406547546, -0.12157627940177917, -0.5763509273529053, -0.5781235694885254, -0.35591140389442444, -0.3450413644313812, 0.6105194091796875, -0.2790132164955139, 0.2566761076450348, 0.2476942390203476, -0.082123301923275, -0.43393605947494507, -0.7914244532585144, -0.8912767767906189, -0.011230054311454296, 0.394593745470047, 0.3726017475128174, 0.39763709902763367, 0.8210789561271667, 0.5711376667022705, 0.3779303729534149, 0.019124599173665047, -0.16441553831100464, -0.5450389385223389, 0.05458946153521538, 0.08728206902742386, -0.6199623346328735, -0.49219197034835815, -0.4450128972530365, 0.4318864941596985, 0.3706044554710388, -0.10704454779624939, 0.2269032597541809, 0.0021946884226053953, 0.24929681420326233, -1.0772886276245117, 0.1321980059146881, -0.5174503922462463, 0.19244380295276642, -0.328280508518219, -0.416927307844162, -0.32029467821121216, -0.5944815874099731, -0.252772718667984, -0.7834214568138123, 0.12750522792339325, -0.011557676829397678, 0.6834540367126465, -0.024389570578932762, -0.26715797185897827, -0.07259202003479004, -0.6444461345672607, 0.645307183265686, -0.7375971674919128, 0.18897280097007751, -0.13755002617835999, 0.5761639475822449, 0.047297392040491104, -1.028090238571167, -0.4385688900947571, 0.1170620396733284, 0.17436081171035767, -0.08882274478673935, -0.14574234187602997, 0.49020615220069885, 0.36180579662323, 0.14167657494544983, -0.4262017607688904, 0.46232300996780396, -0.3196645975112915, -0.3552117645740509, 0.31548914313316345, 0.3098892867565155, 0.3284592628479004, -0.5160658359527588, -0.5636516213417053, -0.11401843279600143, -0.586422860622406, 0.40767231583595276, 0.31031307578086853, 0.31433120369911194, 0.3095625638961792, 0.2882348895072937, -0.25907373428344727, 0.677791953086853, -0.02014320343732834, -0.3613348603248596, 0.28303247690200806, -0.39596641063690186, -0.08360695838928223, 0.3132137358188629, 0.7965248227119446, 0.5010745525360107, -0.056841421872377396, 0.19340677559375763, -0.25881707668304443, -0.29463014006614685, 0.184653177857399, -1.290865421295166, -0.26060327887535095, 0.10883063077926636, -0.8984121084213257, -0.40380313992500305, 0.507586658000946, -0.6914432048797607, -0.07801919430494308, -0.1375342309474945, 0.5144767761230469, -0.64525306224823, -0.14156951010227203, -0.11879568547010422, -0.5260410308837891, 0.2392600178718567, 0.4264660179615021, -0.7726629376411438, 0.22919708490371704, 1.2089098691940308, 1.3081856966018677, -0.23222002387046814, -0.13877154886722565, -0.38364148139953613, 0.30514004826545715, -0.2783113121986389, 0.6207428574562073, -0.40118780732154846, -0.7984662652015686, -0.3338387906551361, -0.4548901319503784, 0.07786664366722107, -0.3900979161262512, 0.19416958093643188, -0.022464672103524208, 0.15984952449798584, -0.315738707780838, -0.4746238589286804, -0.2931305170059204, 0.07031378895044327, -0.3687048554420471, 1.088007926940918, 0.1371847242116928, -0.6409043669700623, 0.5445907115936279, -0.7193846702575684, -0.3273378908634186, 0.3661513924598694, -0.015928028151392937, -0.12436407804489136, 0.34696778655052185, 0.2614075839519501, 0.42727363109588623, -0.11253379285335541, 0.515627384185791, -0.24300964176654816, -0.8289119005203247, 0.012625028379261494, -0.582493245601654, 0.8865769505500793, 0.23403489589691162, -0.7104170918464661, 0.26128095388412476, -0.9342635273933411, 0.40159252285957336, -0.38054877519607544, 0.028403598815202713, -0.5252236723899841, 0.018123382702469826, 0.13537786900997162, 0.09938789159059525, 0.557646632194519, -0.319610595703125, 0.40025442838668823, -0.6193174719810486, 0.30348509550094604, 1.011501669883728, 0.17789654433727264, 0.15199130773544312, 0.11878415197134018, 0.7367377281188965, -0.03753954917192459, 0.7682372331619263, -0.19125524163246155, -0.5343055129051208, -1.1734437942504883, -0.48194169998168945, 0.30852773785591125, 0.4811410903930664, -0.9226703643798828, 0.8612284064292908, -0.1691461205482483, -0.8252660632133484, -0.20540151000022888, -0.28593048453330994, 0.541886568069458, 0.6478428244590759, 0.2509469985961914, -0.6760892271995544, -0.7092093825340271, -0.8941123485565186, -0.0986531674861908, -0.3535315990447998, 0.016290193423628807, 0.048826660960912704, 0.2682079076766968, -0.04902796447277069, 0.719498872756958, -0.634341299533844, 0.11824137717485428, 0.03141842037439346, 0.3843681812286377, 0.38763776421546936, 0.7187919020652771, 0.7486075758934021, -0.4402889907360077, -0.6250975131988525, 0.21227148175239563, -0.4480424225330353, -0.12071840465068817, 0.07869941741228104, -0.23544864356517792, -0.0629325807094574, 0.3823740482330322, -0.15202176570892334, 0.780280590057373, -0.004444028250873089, -0.24415522813796997, 0.18927431106567383, -0.19269467890262604, 0.4933808445930481, -1.1279970407485962, 0.4150301516056061, -0.3483484089374542, -0.3475315272808075, -0.7225564122200012, -0.0022443693596869707, -0.016977494582533836, -0.2842673659324646, -0.5248808264732361, 0.11831004172563553, -0.20766760408878326, -0.07609614729881287, -0.4184083342552185, 0.021146759390830994, -0.08073132485151291, 0.5117200613021851, -0.11254360526800156, 0.807752251625061, 0.810429036617279, -0.7263749837875366, 0.4202112555503845, -0.3338630199432373, -0.23232120275497437, 0.83925461769104, -0.5784522891044617, 0.08079145848751068, -0.1877133548259735, 0.13016943633556366, -0.7665644884109497, 0.2810562252998352, 0.43057864904403687, -0.32892730832099915, 0.09717674553394318, 0.026648249477148056, -0.12666745483875275, -0.472621351480484, -0.7495408058166504, 0.36490166187286377, 0.45137715339660645, -0.6785153150558472, 0.571632444858551, 0.3015458881855011, 0.05576328560709953, -0.6612860560417175, -0.4507531523704529, -0.020045777782797813, -0.31162023544311523, 0.03897508233785629, 0.46442994475364685, 0.1986045092344284, 0.11869513988494873, -0.15654553472995758, -0.16584694385528564, -0.19660931825637817, 0.20770446956157684, 0.25739702582359314, 0.25806915760040283, -0.12115848809480667, 0.09766048938035965, 0.19869063794612885, -0.5569189190864563, -0.24939991533756256, -0.6099742650985718, 0.755374550819397, 0.09945613145828247, -0.18600979447364807, -0.9416717290878296, 0.21634449064731598, 0.4240694046020508, 0.0382167249917984, 0.6342930793762207, 0.6305015087127686, -0.3444956839084625, -0.24757854640483856, -0.23513543605804443, 0.1877504289150238, -0.5528953075408936, 0.5487666130065918, -0.6731104254722595, -0.5642611980438232, 0.4811462461948395, -0.0021721827797591686, -0.11366386711597443, 0.5069929361343384, 0.445720911026001, 0.21051234006881714, 1.082948088645935, 0.5054384469985962, -0.2997453808784485, 0.7891286611557007, -0.49810653924942017, 0.4874994456768036, -0.678544282913208, -0.555330216884613, -0.9519206881523132, -0.3730922043323517, -0.5528948903083801, -0.5678532719612122, 0.5323283672332764, 0.34821146726608276, -0.3817141056060791, 0.6031843423843384, -0.8600535988807678, 0.5053492784500122, 0.5736812949180603, -0.012066371738910675, 0.11033472418785095, -0.44810158014297485, -0.08157208561897278, 0.001220227568410337, -0.9073988795280457, -0.26481592655181885, 1.1560336351394653, 0.19273589551448822, 0.466469407081604, 0.09603450447320938, 0.912559986114502, 0.126014843583107, 0.2531565725803375, -0.9236882328987122, 0.6596084833145142, -0.15595471858978271, -0.2223956286907196, -0.08588626235723495, -0.5364523530006409, -0.7582793235778809, 0.3212544620037079, 0.018647657707333565, -0.8654619455337524, 0.34715110063552856, 0.17013907432556152, -0.17100045084953308, 0.345948189496994, -0.5877224802970886, 0.8931165933609009, -0.7877141833305359, 0.06230715289711952, -0.28561124205589294, -0.13936688005924225, 0.31740090250968933, -0.09678895026445389, 0.022083749994635582, 0.008294018916785717, -0.4824308753013611, 1.0623657703399658, -1.2190574407577515, 0.6307178139686584, -0.9640846848487854, 0.1556275635957718, 0.1659894734621048, -0.10703006386756897, 0.28363052010536194, -0.0016492466675117612, -0.13317707180976868, 0.23797260224819183, 0.26447904109954834, -0.3509054481983185, -0.9447102546691895, 0.7364723086357117, -0.8376554250717163, -0.34077513217926025, -0.446499764919281, 0.12758255004882812, -0.026767263188958168, 0.49190443754196167, 0.5926440358161926, 0.5488979816436768, -0.182091623544693, 0.05031273886561394, 0.11869262903928757, 0.08673230558633804, 0.5442372560501099, 0.2422662079334259, -0.5380180478096008, -0.6997706294059753, 0.9958264827728271, 0.329509437084198, -0.14845409989356995, 0.556983470916748, 0.2482302486896515, -0.28605684638023376, -0.9029175043106079, -0.24602775275707245, -0.2644025385379791, -0.8130976557731628, -0.5066778063774109, -0.22231750190258026, 0.012151963077485561, -0.49409323930740356, -0.293565958738327, -0.5192641019821167, -0.79555344581604, -0.4737699329853058, 0.037315160036087036, 0.2658482491970062, 0.6292708516120911, 0.20547537505626678, 0.7161238789558411, -0.529838502407074, 0.3579358160495758, 0.12187553942203522, 0.5395403504371643, 0.30124717950820923, -0.35606881976127625, -0.24700960516929626, -0.18495206534862518, -0.19083064794540405, -0.788054347038269, 0.1627533733844757, 0.17327511310577393, 0.696660578250885, 0.7236694097518921, -0.15994125604629517, 1.332651972770691, -0.2637883126735687, 0.8421926498413086, 0.718058705329895, -1.6257121562957764, 0.7034467458724976, 0.11147402971982956, 0.07502628117799759, 1.0590710639953613, 0.5935653448104858, -0.5548685193061829, -0.09336050599813461, -0.5223746299743652, -1.151939868927002, 0.4965346157550812, -0.12480247020721436, -0.04679091274738312, 0.1643066555261612, 0.563517153263092, 0.14578011631965637, 0.3815212845802307, -0.4525851607322693, -0.20646435022354126, -0.5572270154953003, -0.37151476740837097, -0.05791466683149338, -0.1381974220275879, 0.4448379874229431, -0.6190822720527649, 0.784777820110321, -0.22859744727611542, 0.1542353332042694, -0.039666227996349335, 0.09345641732215881, 0.2019573450088501, -0.23891344666481018, 0.35833683609962463, 0.7551863193511963, -0.008934732526540756, -0.10542591661214828, 0.11910129338502884, -0.45586487650871277, 0.3452470004558563, -0.19206981360912323, -0.4939251244068146, 0.010047409683465958, 0.2869502604007721, 1.2120945453643799, 0.37777015566825867, -0.5104297995567322, 0.7398646473884583, -0.1727655529975891, -0.06934459507465363, -0.29168277978897095, 0.5574498772621155, -0.43738800287246704, -0.017094150185585022, 0.1739627867937088, 0.10156640410423279, 0.5709994435310364, -0.48041167855262756, 0.12655958533287048, 0.4056348204612732, -0.2737206816673279, -0.016244957223534584, 0.584679365158081, 0.43359532952308655, -0.6338059902191162, 0.38884273171424866, 0.005017766263335943, -0.7094693779945374, 0.4893358647823334, 0.44494956731796265, 1.1338289976119995, -0.353203147649765, 0.11074105650186539, 0.579731285572052, -0.045095738023519516, -0.10367467999458313, 0.16905491054058075, -0.4915451407432556, -0.44285261631011963, -0.16755469143390656, -0.5245090126991272, -0.6340247988700867, -0.3644034266471863, -0.7156152129173279, 0.5875232219696045, -1.0666630268096924, -0.2973873019218445, -0.21683751046657562, -0.1061445027589798, -0.24246104061603546, 0.0012861164286732674, -0.09001898765563965, 0.8685349822044373, -0.5313807725906372, 1.0882630348205566, 0.06295935809612274, -0.12284399569034576, -0.9182986617088318, -0.05961902067065239, -0.22256265580654144, -0.590183436870575, 0.534928560256958, 0.4336763918399811, -0.36748605966567993, -0.08979247510433197, -0.06511428952217102, -0.9578806161880493, 1.2666631937026978, 0.15722094476222992, -0.8979073762893677, 0.04148462042212486, -0.00859566405415535, 0.5885616540908813, -0.27931076288223267, 0.4887942671775818, 0.6625070571899414, 0.5567710995674133, 0.06804472208023071, -0.8763087391853333, -0.18060266971588135, -0.4915381669998169, 0.6697117686271667, 0.38165178894996643, -0.7041031122207642, 0.6969976425170898, 0.45507776737213135, -0.041951991617679596, 0.23203888535499573, 0.6042458415031433, 0.07962338626384735, 0.1892009973526001, 0.4487771987915039, 0.48318609595298767, 1.219585657119751, -0.21257284283638, 0.7859939336776733, -0.5625407099723816, 0.5049763917922974, 0.6898003816604614, -0.19249297678470612, 0.9557889699935913, 0.46682658791542053, -0.2905869781970978, 0.7245016694068909, 0.3167668282985687, -0.04899250343441963, 0.29052263498306274, 0.3601083755493164, -0.2024146467447281, 0.15948085486888885, 0.14699555933475494, -0.28953707218170166, 0.9481266736984253, 0.012748598121106625, -0.15000341832637787, 0.0867864340543747, 0.37281709909439087, 0.1988535076379776, -0.0345163457095623, -0.7476232647895813, 0.7110773324966431, -0.3097291886806488, -0.6611053347587585, 0.8035873174667358, 0.45356935262680054, 1.0733236074447632, -0.7986621260643005, 0.2083931416273117, 0.08388001471757889, 0.18031758069992065, -0.19071663916110992, -0.30431702733039856, 0.23153507709503174, 0.2916971445083618, 0.15450435876846313, -0.30571770668029785, 0.6390483379364014, -0.022100700065493584, -0.6503512859344482, 0.12763158977031708, -0.06520745903253555, 0.10425049811601639, 0.21654012799263, -0.7662977576255798, 0.1938301920890808, 0.07260532677173615, -0.22773365676403046, 0.017218617722392082, 0.17717106640338898, -0.030860599130392075, 0.5057163834571838, 0.572480320930481, 0.3474903702735901, 0.089187391102314, 0.11366075277328491, 0.7271518111228943, -0.8933847546577454, -0.9026352167129517, -0.914645254611969, 0.3463504910469055, -0.43769389390945435, -0.4223223924636841, 0.8305178284645081, 0.9463881850242615, 0.6446977257728577, 0.10109066218137741, 0.7907347679138184, -0.2084767371416092, 0.2536289691925049, -0.7325538396835327, 0.5112144351005554, -0.33462581038475037, 0.24665553867816925, -0.28609198331832886, -0.9422877430915833, -0.4891977310180664, 0.6706392168998718, -0.1924504190683365, 0.286795049905777, 0.7173933386802673, 0.7309191226959229, 0.11682727187871933, -0.2499944120645523, 0.13163511455059052, -0.06441586464643478, 0.7244702577590942, 0.928307294845581, 0.519493043422699, -0.49103716015815735, 0.20803283154964447, -0.6356086134910583, -0.34517690539360046, -0.30253124237060547, -0.9330796003341675, -0.5952962040901184, -0.3919471204280853, -0.22793583571910858, -0.12768137454986572, -0.13092337548732758, 0.7570796012878418, 0.7600252032279968, -0.9642065167427063, -0.38273391127586365, -0.3352685570716858, 0.08193143457174301, -0.07521232962608337, -0.28437721729278564, 0.41823506355285645, -0.331768274307251, -0.8659390211105347, 0.2008562535047531, 0.6549689769744873, -0.1555589735507965, -0.40245017409324646, -0.18465092778205872, 0.2597759962081909, -0.08719857782125473, 0.3682081997394562, 0.18598398566246033, -0.3931107223033905, -0.5244898200035095, -0.3959389925003052, 0.1307208240032196, 0.26978328824043274, 1.295150637626648, -0.7996656894683838, 0.607938289642334, 0.7793342471122742, 0.20356090366840363, 0.7662540078163147, 0.17966441810131073, 0.4846949875354767, -0.4067589342594147, 0.6536589860916138, 0.2666707932949066, 0.39616915583610535, 0.08322762697935104, -0.36628708243370056, 0.11971695721149445, 0.5486670136451721, -0.10345885902643204, -0.6921592950820923, 0.04052161052823067, -1.0249186754226685, -0.4594555199146271, 0.5933934450149536, -0.2638454735279083, -0.6005914211273193, -0.038797035813331604, -0.3972357213497162, 0.23111757636070251, -0.10184827446937561, 0.45835527777671814, 0.2406712919473648, -0.28811532258987427, -0.03988390788435936, 0.0611451230943203, 0.335638165473938, 0.04651471599936485, -0.8635126948356628, -0.19033409655094147, 0.33992505073547363, 0.28012412786483765, 0.10748016089200974, 0.9790841937065125, -0.11704494804143906, 0.3938089609146118, 0.06279902905225754, 0.26927703619003296, -0.2642713189125061, -0.43369489908218384, -0.5155499577522278, 0.44110536575317383, 0.37252554297447205, -0.2571466863155365 ]
http://arxiv.org/abs/2406.17169v1
http://arxiv.org/pdf/2406.17169v1
Multi-LogiEval: Towards Evaluating Multi-Step Logical Reasoning Ability of Large Language Models
2024-06-24T23:02:56
2024-06-24T23:02:56
Nisarg Patel, Mohith Kulkarni, Mihir Parmar, Aashna Budhiraja, Mutsumi Nakamura, Neeraj Varshney, Chitta Baral
cs.CL
cs.CL, cs.AI
As Large Language Models (LLMs) continue to exhibit remarkable performance in natural language understanding tasks, there is a crucial need to measure their ability for human-like multi-step logical reasoning. Existing logical reasoning evaluation benchmarks often focus primarily on simplistic single-step or multi-step reasoning with a limited set of inference rules. Furthermore, the lack of datasets for evaluating non-monotonic reasoning represents a crucial gap since it aligns more closely with human-like reasoning. To address these limitations, we propose Multi-LogiEval, a comprehensive evaluation dataset encompassing multi-step logical reasoning with various inference rules and depths. Multi-LogiEval covers three logic types--propositional, first-order, and non-monotonic--consisting of more than 30 inference rules and more than 60 of their combinations with various depths. Leveraging this dataset, we conduct evaluations on a range of LLMs including GPT-4, ChatGPT, Gemini-Pro, Yi, Orca, and Mistral, employing a zero-shot chain-of-thought. Experimental results show that there is a significant drop in the performance of LLMs as the reasoning steps/depth increases (average accuracy of ~68% at depth-1 to ~43% at depth-5). We further conduct a thorough investigation of reasoning chains generated by LLMs which reveals several important findings. We believe that Multi-LogiEval facilitates future research for evaluating and enhancing the logical reasoning ability of LLMs. Data is available at https://github.com/Mihir3009/Multi-LogiEval.
[ -0.34298601746559143, -0.8251214027404785, 0.6384546160697937, 0.27840620279312134, -0.268967866897583, 0.09429048001766205, -0.19013972580432892, -0.39950665831565857, -0.12719246745109558, 0.5381228923797607, -0.5782899856567383, -0.7055988907814026, -0.5995633602142334, 0.12850898504257202, -0.2819342315196991, 0.9094435572624207, 0.1429029405117035, 0.10375463962554932, -0.27726423740386963, -0.3895511031150818, -0.5910329222679138, -0.4281530976295471, -0.6342505216598511, -0.405936062335968, 0.49510952830314636, 0.3811357617378235, 0.5859254598617554, 0.05792741850018501, 0.32954901456832886, 0.26930418610572815, -0.20143529772758484, 0.2739415764808655, -0.3310074508190155, 0.06567300111055374, -0.147896870970726, -0.48973196744918823, -0.5670960545539856, -0.10511891543865204, 0.8975005745887756, 0.4489758014678955, -0.18141694366931915, 0.28134870529174805, -0.19919264316558838, 0.8270066976547241, -0.6522474884986877, 0.23806259036064148, -0.671457052230835, 0.016083993017673492, -0.03245100378990173, -0.04848829284310341, -0.6424732804298401, -0.4043041169643402, -0.011212566867470741, -0.3000940680503845, -0.08370624482631683, 0.07435684651136398, 0.3342146873474121, 0.14157646894454956, -0.7812812924385071, -0.23236441612243652, -0.43650326132774353, 0.884190022945404, -0.7919796705245972, 0.6771788001060486, 0.013668570667505264, 0.22086183726787567, -0.24401777982711792, -0.4661366641521454, -0.47471070289611816, -0.4205489158630371, -0.21691522002220154, 0.013029249384999275, -0.030558478087186813, 0.14877858757972717, 0.40692824125289917, 0.25182631611824036, -0.7009706497192383, -0.07143669575452805, -0.10974444448947906, -0.2275671809911728, 0.7018942832946777, 0.36581510305404663, 0.06976568698883057, -0.11761321872472763, -0.4505177438259125, -0.2152133733034134, -0.5020653009414673, 0.3354637324810028, 0.25871482491493225, 0.26100635528564453, 0.17782071232795715, 0.4846237003803253, -0.22574734687805176, 1.0833181142807007, -0.3422836363315582, -0.7257377505302429, 0.41134458780288696, -0.7536213994026184, -0.33898451924324036, 0.09650307893753052, 0.7172049283981323, 0.21131229400634766, 0.288326233625412, 0.1683749407529831, -0.27340465784072876, 0.18657755851745605, -0.08721020817756653, -0.7806370854377747, -0.11239109188318253, 0.21848081052303314, -0.33887606859207153, -0.07124555110931396, -0.17960479855537415, -0.9118176698684692, -0.4868944585323334, -0.23097021877765656, 0.564953625202179, -0.532401978969574, -0.25875577330589294, 0.6812110543251038, -0.15456122159957886, 0.29533153772354126, 0.6223754286766052, -0.554266631603241, 0.4473818838596344, 0.6303632855415344, 0.5720583200454712, 0.18278585374355316, -0.5902128219604492, -0.7973116636276245, -0.13020721077919006, -0.36337706446647644, 0.9409762620925903, -0.8052151203155518, -0.12429292500019073, -0.34667572379112244, -0.18835535645484924, -0.35241174697875977, -0.4168243110179901, 0.931429386138916, -0.49245914816856384, -0.048979274928569794, 0.02910846844315529, -0.6159417629241943, -0.4069296717643738, 0.4117344617843628, -0.7553000450134277, 0.8341593742370605, -0.332660973072052, -0.7079091668128967, 0.5138880610466003, -0.777751624584198, -0.7522185444831848, -0.06097592040896416, -0.289180725812912, -0.22051715850830078, 0.11710026115179062, 0.38586166501045227, 0.2888963222503662, -0.6154450178146362, 0.18705663084983826, -0.40930941700935364, -0.24753576517105103, 0.08802187442779541, -0.7206697463989258, 0.916713535785675, -0.09247571974992752, -0.24815933406352997, 0.08432518690824509, -0.8700663447380066, 0.20396853983402252, -0.09452059864997864, -0.42147061228752136, -0.3747847378253937, -0.03669087216258049, -0.4155115783214569, 0.4876407980918884, 0.10597828030586243, -0.4712662696838379, 0.27330997586250305, -0.15488451719284058, 0.21927481889724731, 0.6618612408638, 0.1935945451259613, -0.018997300416231155, -0.09487203508615494, 0.4541921615600586, 0.16228456795215607, 0.37281763553619385, -0.45653650164604187, -0.7463728189468384, -0.69645094871521, -0.6064687967300415, 0.2011755406856537, 0.6896200180053711, -0.40131592750549316, 0.2641083598136902, -0.0837896540760994, -0.5041451454162598, -0.529632568359375, 0.30358073115348816, 0.4860982894897461, 0.41138970851898193, 0.48917633295059204, -0.21682286262512207, -0.1308819055557251, -0.9132441282272339, -0.5241483449935913, -0.4024927318096161, 0.062177401036024094, 0.19563233852386475, 0.6005134582519531, -0.19099658727645874, 0.4675156772136688, -0.3252740204334259, 0.059065625071525574, 0.01425501424819231, 0.4238434135913849, 0.6097458600997925, 0.13661175966262817, -0.04712230712175369, -0.5253483653068542, 0.004190994426608086, -0.02324775606393814, -0.7193829417228699, 0.19493751227855682, -0.3057197630405426, -0.18295229971408844, 0.20342569053173065, 0.1334720402956009, -1.0631732940673828, 0.5175918340682983, 0.45160049200057983, -0.6142122149467468, 0.7602021098136902, -0.11948905885219574, 0.46830740571022034, -0.5197773575782776, -0.06559400260448456, 0.21086706221103668, -0.21836839616298676, -0.6599685549736023, 0.10772357881069183, 0.11305833607912064, 0.24540545046329498, -0.27662062644958496, 0.5589148998260498, -0.40492749214172363, -0.1222391277551651, 0.1797684133052826, 0.3025495111942291, 0.31685638427734375, 0.3454225957393646, 0.12346774339675903, 0.39302515983581543, 0.637913703918457, -0.5919008255004883, 0.5803974866867065, 0.177687868475914, -0.8134773969650269, 0.6140538454055786, -0.43926674127578735, 0.2665599584579468, -0.14833514392375946, 0.44955918192863464, -1.0782612562179565, 0.16338178515434265, 0.06603711098432541, -0.2171037793159485, 0.03311096876859665, -0.16339319944381714, -0.8826652765274048, -0.31520527601242065, -0.29922395944595337, 0.47172948718070984, 0.19523319602012634, -0.4586338996887207, 0.732144832611084, 0.06975073367357254, -0.08986537158489227, -0.7182592749595642, -0.4608396589756012, 0.20526054501533508, -0.3055111765861511, -0.9308667182922363, -0.17839716374874115, -0.25610437989234924, -0.4404129087924957, -0.07218005508184433, -0.3272700905799866, -0.005432776641100645, -0.04757346585392952, -0.1417321264743805, 0.3597453832626343, -0.3232302963733673, 0.31458067893981934, 0.0012561992043629289, -0.07277863472700119, 0.135066956281662, -0.5309220552444458, 0.21790985763072968, -0.6386500597000122, -0.6281813383102417, -0.19754326343536377, 0.0636223703622818, 0.8230423331260681, -0.5601687431335449, 0.7187701463699341, 0.5024538040161133, -0.4480943977832794, -0.05626292526721954, -0.7121139168739319, -0.11340546607971191, -0.2787776589393616, 0.16959553956985474, -0.716489315032959, -0.9166012406349182, 0.1843203455209732, -0.08732189238071442, 0.22002878785133362, 0.4246658980846405, 0.6516659259796143, 0.1940614879131317, 0.9059607982635498, 0.09607771784067154, -0.02243344858288765, -0.2266617715358734, 0.0663832426071167, 0.5093764066696167, -0.5323976278305054, -0.4494744837284088, -0.4744536876678467, 0.005023686680942774, -0.5462718605995178, -0.6710533499717712, 0.291795015335083, 0.3913332521915436, -0.21206384897232056, 0.1526867300271988, -0.03486886993050575, 0.4847022593021393, 0.22154758870601654, 0.048775576055049896, 0.8710480332374573, -0.20407095551490784, -0.41272878646850586, 0.3193095922470093, -0.637590229511261, -0.536186933517456, 0.9539551734924316, 0.45160913467407227, 0.9218888878822327, 0.24886660277843475, 0.5672984719276428, 0.24752506613731384, 0.16111882030963898, -0.9133530259132385, 0.6808704137802124, 0.06267507374286652, -0.9345560073852539, -0.7315148711204529, -0.5852200984954834, -0.7044337391853333, 0.6786355972290039, -0.09170187264680862, -0.9325494170188904, 0.08491600304841995, 0.08984202891588211, -0.3091244399547577, 0.31705230474472046, -0.7517040967941284, 1.0724583864212036, -0.506304919719696, -0.27003762125968933, -0.4945701062679291, -0.6617074012756348, 0.8426746726036072, -0.354631632566452, 0.5266646146774292, -0.2733525335788727, 0.03237671032547951, 0.39541327953338623, -0.2900133728981018, 0.6325714588165283, -0.23278500139713287, -0.3234141767024994, 0.5328857898712158, 0.20797966420650482, 0.48704400658607483, 0.34087321162223816, -0.18633611500263214, 0.16681155562400818, 0.29341018199920654, -0.37047168612480164, -0.7654008865356445, 0.541630744934082, -0.2673644721508026, -0.5615240335464478, -0.34609681367874146, -0.3494795858860016, -0.3924103081226349, 0.10138269513845444, -0.29127436876296997, 0.5196388363838196, -0.045603036880493164, 0.13659442961215973, 0.6245601773262024, -0.18834353983402252, 0.2277027666568756, 0.3186036944389343, -0.39032378792762756, -0.40181586146354675, 0.7639195322990417, -0.20252999663352966, 0.37175771594047546, 0.5192281603813171, 0.21688614785671234, -0.6670534610748291, -0.33052924275398254, -0.6448727250099182, 0.19645844399929047, -1.0613727569580078, -0.10865669697523117, -0.46384450793266296, -0.03858243674039841, -0.11438637226819992, 0.3837408423423767, -0.2733641266822815, -0.4501500427722931, 0.2664705216884613, -0.16614417731761932, 0.3469678461551666, 0.7232389450073242, 0.09975293278694153, -0.3644331097602844, -1.0143238306045532, 0.38423293828964233, 0.49005550146102905, 0.3766075074672699, 0.04199964925646782, -0.48463043570518494, -0.03734875097870827, -0.23284590244293213, 0.01837524026632309, -0.701624870300293, -0.07083380222320557, 0.13401275873184204, 0.6892621517181396, 0.31961119174957275, -0.22050897777080536, 0.9016100168228149, -0.5881940722465515, 0.4977680742740631, 0.4100989103317261, -1.0860061645507812, 0.45555397868156433, -0.02712157368659973, 0.39889776706695557, 0.6940392255783081, 0.3091878592967987, -0.5851505994796753, -0.16291764378547668, -0.40727511048316956, -0.6270147562026978, 0.46256375312805176, 0.25537705421447754, -0.20524050295352936, 0.06578274816274643, 0.07901480048894882, 0.19869957864284515, 0.4341789782047272, -0.6983128786087036, -0.15688419342041016, -0.03104826807975769, 0.11505534499883652, -0.26915308833122253, -0.019166355952620506, -0.031101970002055168, -0.4645530879497528, 0.5509160757064819, -0.14226627349853516, 0.12594984471797943, 0.049181658774614334, -0.22743093967437744, 0.12299910187721252, 0.5663403868675232, 0.5780196785926819, 0.943756103515625, -0.2142481803894043, 0.31714126467704773, 0.4128265380859375, -0.08503720909357071, 0.3180191218852997, 0.0629221498966217, 0.24798226356506348, -0.05376783013343811, 0.8321069478988647, 0.826948881149292, 0.1930222362279892, -0.9043153524398804, 0.46351805329322815, -0.24812299013137817, -0.184971421957016, -0.09889455884695053, -0.006373268086463213, 0.23860104382038116, 0.3871687650680542, 0.11218693107366562, 0.08651101589202881, 0.17128098011016846, -0.6995071768760681, 0.31437161564826965, 0.341187447309494, -0.1195894256234169, -0.1345548927783966, 0.17997749149799347, -0.016800440847873688, -0.15235872566699982, 0.7626358866691589, -0.41572076082229614, -0.2268960326910019, 0.37965333461761475, 0.34826526045799255, 0.679918646812439, -0.22670580446720123, 0.19972243905067444, 0.46961653232574463, 0.6953417062759399, 0.04697394371032715, 0.3089730143547058, 0.03411329537630081, -0.8369863033294678, -0.8788650631904602, -0.8072890043258667, -0.24667218327522278, 0.3660222291946411, -0.5338597893714905, 0.31935709714889526, -0.42511847615242004, -0.03780839964747429, 0.03647811710834503, -0.18271435797214508, -0.7738857865333557, 0.24531279504299164, 0.10673141479492188, 1.2341810464859009, -0.8207594752311707, 0.7386369705200195, 0.6821311712265015, -0.22879213094711304, -0.4884054660797119, 0.13253086805343628, 0.13783156871795654, -0.7210294008255005, 0.606815755367279, 0.3438539505004883, -0.6438166499137878, -0.19381077587604523, -0.24844476580619812, -0.510188639163971, 0.9878012537956238, 0.2786223292350769, -0.6888799071311951, 0.191725954413414, -0.014375207014381886, 0.5793291926383972, -0.47949331998825073, 0.5820705890655518, 0.9450125098228455, 0.8340466022491455, 0.15764889121055603, -0.9064918756484985, -0.005219243932515383, -0.15496036410331726, -0.1387072056531906, 0.3874529004096985, -0.6850997805595398, 0.6844449043273926, -0.2595559358596802, -0.04201444238424301, -0.21790829300880432, 0.2327304631471634, 0.6628779768943787, 0.2752310037612915, 0.8690925240516663, 0.8809412717819214, 1.0078957080841064, 0.17826122045516968, 0.9765085577964783, -0.26628509163856506, 0.29972195625305176, 1.095571517944336, -0.5088561773300171, 0.8512462973594666, 0.3051471710205078, -0.21272799372673035, 0.73236083984375, 0.6018615365028381, 0.25976207852363586, 0.21702001988887787, 0.4185371994972229, -0.6313024759292603, -0.6878666281700134, 0.01359228603541851, -0.0047829351387917995, 0.5560034513473511, 0.47401031851768494, -0.011117707937955856, -0.179030179977417, -0.3368285000324249, -0.08048141002655029, -0.29314881563186646, -0.2964898645877838, 0.5840150117874146, 0.10480991005897522, -0.647365391254425, 0.7084582448005676, 0.06039879843592644, 0.25071361660957336, -0.5346255302429199, -0.32197773456573486, -0.1531463861465454, 0.02488281950354576, -0.23822519183158875, -0.9314942359924316, -0.11369122564792633, 0.13097956776618958, 0.13933207094669342, 0.11170386523008347, 0.8531689047813416, -0.13307568430900574, -0.7280503511428833, 0.7617232203483582, 0.6218190789222717, 0.4052808880805969, 0.021161001175642014, -0.7816440463066101, 0.03615289181470871, -0.05763307586312294, -0.36115631461143494, 0.1408882588148117, 0.6196532249450684, -0.10638447105884552, 0.7339025735855103, 0.48953062295913696, -0.10814161598682404, 0.12114712595939636, 0.45216697454452515, 0.718663215637207, -0.8469838500022888, 0.05133083462715149, -1.1918110847473145, 0.7178640365600586, 0.08115022629499435, -0.26835349202156067, 0.6004918217658997, 0.6524879932403564, 0.8534935712814331, 0.03788086399435997, 0.8048147559165955, 0.11191710829734802, 0.1742364764213562, -0.8206937313079834, 0.03643244504928589, -0.5556318163871765, 0.2362929880619049, -0.430637001991272, -0.881194531917572, -0.3110634684562683, 0.6270393133163452, -0.18643787503242493, 0.14060889184474945, 1.0455089807510376, 0.6745561361312866, -0.005418798420578241, 0.2923043966293335, 0.5360537767410278, 0.24516132473945618, 0.09067688137292862, 0.8066962361335754, 1.0906355381011963, -0.17578144371509552, 0.5545040369033813, 0.11676590144634247, -0.4518764019012451, 0.07401685416698456, -1.084681510925293, -1.0487645864486694, -0.2925688922405243, -0.18055905401706696, -0.18739180266857147, 0.0265742726624012, 0.863281786441803, 0.5455297231674194, -0.728674590587616, -0.4691983759403229, -0.012775140814483166, 0.3057822585105896, -0.27594736218452454, -0.16298353672027588, 0.07212194055318832, -0.4223250150680542, -0.3345367908477783, 0.682075023651123, 0.7121610641479492, -0.44050779938697815, -0.3888029158115387, -0.17142118513584137, -0.6187711358070374, 0.14810337126255035, 1.0653297901153564, -0.07219099998474121, -0.8515899777412415, -0.2780435383319855, -0.24026687443256378, 0.3008221387863159, 0.2145589143037796, 0.8199640512466431, -0.6474354863166809, 0.5395798087120056, 0.5022523999214172, 0.7462201118469238, 0.759925127029419, -0.00828506052494049, 0.1554584801197052, -0.39388254284858704, -0.04587715491652489, 0.13867105543613434, 0.43116241693496704, 0.0984242632985115, -0.09950444847345352, 0.45211994647979736, 0.24940335750579834, -0.4615905284881592, -0.5634557604789734, 0.3851105868816376, -0.4713960587978363, -0.23628364503383636, 0.9703781008720398, -0.31460490822792053, 0.05742591992020607, -0.006688952911645174, 0.004534844774752855, -0.05317522957921028, -0.3935679495334625, 0.3205784857273102, 1.070283055305481, -0.6306137442588806, -0.3462177813053131, -0.9434102177619934, 0.07100468128919601, 0.4657890200614929, -1.1154390573501587, 0.15153726935386658, 0.7261554002761841, 0.23015911877155304, 0.23638668656349182, 0.6655667424201965, -0.2115030437707901, 0.026840263977646828, 0.057339392602443695, -0.07118181884288788, 0.4353852868080139, -0.9051625728607178, -0.5439924001693726, 0.029052989557385445, 0.36226680874824524, 0.01790696382522583 ]
http://arxiv.org/abs/2406.17163v1
http://arxiv.org/pdf/2406.17163v1
Paraphrase and Aggregate with Large Language Models for Minimizing Intent Classification Errors
2024-06-24T22:30:26
2024-06-24T22:30:26
Vikas Yadav, Zheng Tang, Vijay Srinivasan
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLM) have achieved remarkable success in natural language generation but lesser focus has been given to their applicability in decision making tasks such as classification. We show that LLMs like LLaMa can achieve high performance on large multi-class classification tasks but still make classification errors and worse, generate out-of-vocabulary class labels. To address these critical issues, we introduce Paraphrase and AGgregate (PAG)-LLM approach wherein an LLM generates multiple paraphrases of the input query (parallel queries), performs multi-class classification for the original query and each paraphrase, and at the end aggregate all the classification labels based on their confidence scores. We evaluate PAG-LLM on two large multi-class classication datasets: CLINC, and Banking and show 22.7% and 15.1% error reduction. We show that PAG-LLM is especially effective for hard examples where LLM is uncertain, and reduces the critical misclassification and hallucinated label generation errors
[ -0.10176325589418411, -0.9892480373382568, 0.7700839042663574, 0.37481990456581116, -0.26975885033607483, -0.02542388252913952, -0.29194653034210205, -0.11253981292247772, -0.01458222046494484, 0.8127090334892273, 0.1127856969833374, -0.666985273361206, -0.758064329624176, 0.10885407775640488, -0.46950563788414, 0.9957820773124695, 0.04087428003549576, -0.09816072881221771, -0.4522530436515808, -0.27607694268226624, -0.13482153415679932, -0.9374629855155945, -0.9372667670249939, -0.10291837155818939, 0.3644852638244629, 0.5348803997039795, 0.7368621826171875, 0.44881337881088257, 0.5905332565307617, 0.2731070816516876, -0.24842305481433868, 0.3964605927467346, -0.4097747504711151, 0.21129679679870605, -0.04576211795210838, -0.44225600361824036, -0.621088445186615, -0.19150422513484955, 0.804903507232666, 0.775498628616333, -0.3727976977825165, 0.0916934460401535, 0.33475232124328613, 0.6263136267662048, -0.7811166048049927, 0.45252129435539246, -0.6305367350578308, -0.3467645049095154, -0.10358358919620514, -0.18814103305339813, -0.59627765417099, -0.45586249232292175, 0.027272384613752365, -0.36155378818511963, 0.06814762949943542, 0.19914168119430542, 0.41988304257392883, 0.22999690473079681, -0.37737998366355896, -0.5437449812889099, -0.49461987614631653, 0.9607951641082764, -0.794248104095459, 0.07933491468429565, 0.4003458619117737, 0.13760635256767273, -0.2003117799758911, -0.8898489475250244, -0.540132999420166, -0.21080908179283142, -0.13359464704990387, -0.1420084685087204, -0.04155311360955238, 0.22118794918060303, -0.027726368978619576, 0.39018791913986206, -0.4333430528640747, 0.11983475089073181, -0.19709017872810364, -0.1009300947189331, 0.5347172021865845, 0.21525536477565765, 0.0011254748096689582, -0.1071435809135437, -0.3563632667064667, -0.11357758194208145, -0.7156190872192383, -0.08770779520273209, 0.10213397443294525, 0.40061014890670776, 0.24616789817810059, 0.6525582671165466, -0.24489140510559082, 0.7161250710487366, -0.20517215132713318, -0.5555594563484192, 0.059055835008621216, -0.3166501224040985, -0.33869174122810364, 0.12987174093723297, 0.8999572396278381, 0.5453450679779053, 0.189452663064003, -0.2864556908607483, -0.1834169328212738, 0.07212717086076736, -0.08759522438049316, -0.587425708770752, 0.0041620791889727116, 0.13310733437538147, -0.5010919570922852, -0.389927476644516, -0.15794825553894043, -0.9739140272140503, -0.34936222434043884, -0.32265999913215637, 0.3617914021015167, -0.23467034101486206, 0.211904838681221, 0.2588809132575989, -0.07879451662302017, 0.4133624732494354, 0.3179858922958374, -0.5659371614456177, 0.5431703925132751, 0.7016059756278992, 0.8948079347610474, -0.2971873879432678, -0.4965497851371765, -0.6781381368637085, 0.5417144298553467, -0.21684326231479645, 0.782586932182312, -0.5243247747421265, -0.38349783420562744, -0.05596844106912613, -0.4199395775794983, -0.3292381763458252, -0.6173608899116516, 0.948702335357666, -0.45041975378990173, 0.11036231368780136, 0.000451945437816903, -0.7900264859199524, -0.308379203081131, 0.2953968644142151, -0.4378981590270996, 0.7947549223899841, -0.18228106200695038, -0.6660864949226379, 0.19096079468727112, -0.4042329490184784, -0.560783326625824, -0.04680726304650307, -0.033759839832782745, -0.3800051212310791, 0.19357268512248993, 0.39544299244880676, 0.6656751036643982, -0.6520931124687195, 0.4444718360900879, -0.37058180570602417, -0.16612353920936584, 0.30272698402404785, -0.6130441427230835, 0.4132547676563263, 0.3112866282463074, -0.13754484057426453, -0.05569023638963699, -0.5738404393196106, -0.1664227545261383, 0.06585978716611862, -0.5159704685211182, -0.5559059977531433, 0.18860988318920135, 0.06020098924636841, 0.2749518156051636, 0.4639126658439636, -0.18772292137145996, 0.14585714042186737, -0.05793095752596855, 0.3117585778236389, 0.7128748297691345, 0.18354204297065735, 0.4268576502799988, -0.5686225295066833, 0.35006481409072876, -0.1439187377691269, 0.11709219217300415, 0.12069827318191528, -0.5551444292068481, -0.7749747037887573, -0.1817995011806488, 0.17606031894683838, 0.5904369354248047, -0.7246308326721191, 0.3861245810985565, -0.4215482175350189, -0.5166822075843811, -0.11854129284620285, 0.38294893503189087, 0.3650921881198883, 0.5106444954872131, 0.5301761627197266, -0.05736648291349411, -0.22304247319698334, -0.8081594109535217, -0.49423640966415405, -0.24320799112319946, 0.13482855260372162, 0.33641722798347473, 0.11558055132627487, -0.0618450827896595, 0.6564285755157471, -0.6948959827423096, -0.3438269793987274, -0.5951635837554932, 0.1813291609287262, 0.21276447176933289, 0.3167738616466522, 0.5904864072799683, -0.8478075265884399, -0.5388875007629395, -0.17745836079120636, -0.7427388429641724, -0.10211523622274399, -0.2081875056028366, -0.052347470074892044, 0.18283838033676147, 0.4888313412666321, -0.7040777206420898, 0.1261271983385086, 0.4480879306793213, 0.003576476126909256, 0.3119145333766937, -0.33032160997390747, 0.17641477286815643, -1.1220608949661255, -0.2526114284992218, 0.03245319798588753, -0.08430436998605728, -0.6365160346031189, 0.12437515705823898, -0.007869573310017586, 0.09996391832828522, -0.4537724256515503, 0.37809649109840393, -0.2576969563961029, 0.11066834628582001, -0.3114912807941437, -0.0447663739323616, -0.17169108986854553, 0.46283817291259766, 0.08182909339666367, 0.6322141885757446, 0.8643707036972046, -1.0518196821212769, 0.2180584818124771, 0.24876277148723602, -0.4027586877346039, 0.4863862693309784, -0.4770842492580414, 0.0743175521492958, -0.23948492109775543, 0.3245265781879425, -1.0903918743133545, -0.5332300066947937, 0.16501004993915558, -0.1750621199607849, 0.24814629554748535, -0.026390690356492996, -0.577792763710022, -0.16779370605945587, -0.3368244767189026, 0.28439733386039734, 0.5696687698364258, -0.6855176687240601, 0.6886326670646667, 0.38905325531959534, -0.49575915932655334, -0.5743708610534668, -0.5590469837188721, 0.34030771255493164, -0.6622293591499329, -0.4892493784427643, 0.05491657927632332, 0.04618418961763382, -0.41006991267204285, -0.3267459571361542, 0.02816842868924141, -0.26044610142707825, 0.09504672139883041, -0.12676937878131866, 0.14555399119853973, -0.05458957329392433, 0.1492134928703308, 0.1756526380777359, 0.23623932898044586, 0.04101507365703583, -0.22285909950733185, 0.662822961807251, -0.1390647292137146, -0.3086344003677368, -0.22942370176315308, 0.376772403717041, 0.9054439067840576, -0.18139909207820892, 0.969545841217041, 0.19330494105815887, -0.07008970528841019, 0.03948590159416199, -0.734856367111206, 0.1149161234498024, -0.4443868100643158, 0.2758113741874695, -0.22789651155471802, -0.5978142619132996, 0.3147134482860565, -0.0858134925365448, 0.24989667534828186, 0.48954859375953674, 0.5234599113464355, 0.07285995036363602, 0.8622085452079773, 0.2546512484550476, -0.22969089448451996, 0.22563469409942627, 0.06338023394346237, 0.12749417126178741, -0.5619163513183594, -0.16701966524124146, -0.5801595449447632, -0.1922190934419632, -0.4932094216346741, -0.5617567300796509, 0.4949909448623657, 0.20326747000217438, 0.1635279357433319, 0.06139209493994713, -0.20104224979877472, 0.46749746799468994, 0.6067015528678894, 0.23119550943374634, 0.4102945923805237, 0.15631930530071259, 0.2320147454738617, 0.1456037163734436, -0.7700172662734985, -0.6963006258010864, 1.4034892320632935, -0.02595958672463894, 0.9009328484535217, 0.21694710850715637, 0.9914103746414185, 0.055060308426618576, 0.39795324206352234, -0.7902424931526184, 0.6922293901443481, -0.40511560440063477, -0.4339316487312317, -0.30060139298439026, -0.6215376257896423, -0.8082568049430847, 0.42287248373031616, -0.015938276425004005, -0.4175129532814026, 0.11612820625305176, 0.270921528339386, -0.17131586372852325, 0.42280104756355286, -0.7121738791465759, 0.7862968444824219, -0.17668218910694122, -0.20771841704845428, -0.14560633897781372, -0.597290575504303, 0.6170978546142578, -0.40498456358909607, 0.5458729863166809, -0.015386827290058136, -0.26578742265701294, 0.8380752801895142, -0.3815518617630005, 0.7754467725753784, -0.052479568868875504, -0.0006240089423954487, 0.7143948674201965, -0.055016253143548965, 0.8485899567604065, -0.09898024797439575, -0.2843683362007141, 0.05071375519037247, -0.327320396900177, -0.415999174118042, -0.4498922526836395, 0.634791910648346, -0.47054919600486755, -0.5968979597091675, -0.2636357843875885, -0.6164149045944214, -0.2654159665107727, -0.130117729306221, 0.38687965273857117, 0.27485430240631104, -0.03520611301064491, 0.6163781881332397, 0.5473052859306335, -0.07616380602121353, 0.5401994585990906, 0.11024110019207001, 0.04047064483165741, -0.4176422655582428, 0.9242653250694275, 0.10403655469417572, 0.489256352186203, 0.36906036734580994, 0.5048994421958923, -0.4499654471874237, -0.8809369802474976, -0.07265238463878632, 0.196285218000412, -0.9409189224243164, -0.20378658175468445, -0.8711668848991394, 0.052809957414865494, -0.7015658617019653, 0.042850062251091, -0.03965817764401436, -0.4522586166858673, -0.1710350513458252, 0.09526123106479645, 0.27122676372528076, 0.6084244847297668, 0.0778350979089737, 0.7154416441917419, -0.9747187495231628, 0.3114851713180542, 0.4786266088485718, -0.008264978416264057, -0.035231366753578186, -0.701319694519043, -0.03297301009297371, -0.2259947508573532, -0.2969248592853546, -0.8654471039772034, 0.5135515332221985, 0.5393084287643433, 0.7662737965583801, 0.20072370767593384, 0.24180878698825836, 0.5840232968330383, -0.3764936923980713, 0.7327220439910889, 0.16930393874645233, -0.8891598582267761, 0.35874664783477783, -0.16669078171253204, -0.030202405527234077, 0.6857656836509705, 0.4694591462612152, -0.497251033782959, -0.7134671807289124, -0.6085536479949951, -1.2489267587661743, 0.5684837102890015, 0.20399342477321625, 0.08275005966424942, -0.24944137036800385, 0.3174920380115509, 0.09883960336446762, 0.32266905903816223, -0.8554577231407166, -0.3704111874103546, 0.18886923789978027, -0.4373849630355835, -0.40150174498558044, -0.4371804893016815, -0.0023704515770077705, -0.05825351923704147, 0.6198950409889221, -0.14590534567832947, -0.13318879902362823, -0.04937744140625, -0.3071618676185608, 0.3237418830394745, 0.4991135895252228, 0.45121780037879944, 0.6994655132293701, -0.02544388175010681, 0.29052597284317017, 0.41983509063720703, -0.3428693413734436, 0.21378789842128754, -0.06662476807832718, -0.07350438088178635, -0.03437929227948189, 0.35914185643196106, 0.4978072941303253, 0.2521243393421173, -0.7075161933898926, 0.49209004640579224, -0.04691488295793533, -0.2892623841762543, -0.13053520023822784, -0.0434422567486763, 0.09315091371536255, 0.1078040823340416, 0.35272839665412903, 0.013465641997754574, 0.39755308628082275, -0.36563166975975037, 0.05902408808469772, 0.20891554653644562, 0.1797173023223877, 0.14609897136688232, 0.4925360679626465, -0.052875764667987823, 0.03818392753601074, 0.4893788993358612, -0.1752629578113556, -0.3647393584251404, 0.44859516620635986, 0.5431532263755798, 0.897803783416748, -0.29544419050216675, -0.017092296853661537, 0.2589406967163086, 0.17820483446121216, -0.6492358446121216, -0.05414114519953728, -0.12433038651943207, -0.6346979141235352, -0.5648479461669922, -0.9227465987205505, -0.7219343185424805, 0.16715572774410248, -0.6632236838340759, 0.18198484182357788, -0.36238375306129456, 0.13114358484745026, -0.06354954093694687, -0.65880286693573, -0.3678065538406372, 0.1320352554321289, 0.06679704785346985, 0.39250385761260986, -0.8710057139396667, 0.759894609451294, 0.8717964887619019, -0.22912168502807617, -0.8298182487487793, 0.13224533200263977, -0.36336350440979004, -0.6792364716529846, 0.6912899613380432, 0.10986039787530899, -0.026662372052669525, -0.042756494134664536, -0.4278353154659271, -0.835345447063446, 0.8505527973175049, 0.24105298519134521, -0.5137885212898254, -0.10828626155853271, 0.10983539372682571, 0.31301194429397583, -0.23068316280841827, -0.08077585697174072, 0.7676807045936584, 0.5143454074859619, 0.3983612358570099, -0.840514600276947, -0.14794737100601196, 0.3335275948047638, -0.1939375102519989, 0.23125560581684113, -0.5741717219352722, 1.1505625247955322, -0.010255816392600536, 0.17732550203800201, 0.008781912736594677, 0.5400935411453247, 0.3735311031341553, 0.5010443925857544, 0.5637461543083191, 0.5569409132003784, 0.80867600440979, 0.009437557309865952, 1.238275408744812, -0.23720407485961914, 0.37563931941986084, 1.2370920181274414, -0.24476122856140137, 0.93976229429245, 0.4699245095252991, -0.2896040678024292, 0.05346060171723366, 0.5345951318740845, 0.37727823853492737, 0.4170609712600708, 0.016790714114904404, -0.5897201299667358, -0.4523454010486603, 0.16162721812725067, -0.1726498156785965, 0.5959552526473999, 0.5442417860031128, -0.5063157677650452, -0.3526574373245239, -0.05850326642394066, 0.020324664190411568, 0.05804795026779175, -0.5904751420021057, 0.9763882756233215, 0.18000859022140503, -0.7758192420005798, 0.546582818031311, 0.050873272120952606, 0.7602500319480896, -0.3918268382549286, 0.14790160953998566, -0.38338232040405273, 0.3588339388370514, -0.08404478430747986, -0.6549220085144043, 0.30495694279670715, 0.060741253197193146, 0.03240005299448967, -0.2531677484512329, 0.629213273525238, -0.48851412534713745, -0.6775431632995605, 0.1491282880306244, 0.429313600063324, 0.5287730097770691, -0.38575854897499084, -0.486733078956604, -0.28069329261779785, -0.09744926542043686, -0.2756343483924866, 0.3618955612182617, 0.5063284635543823, -0.07238775491714478, 0.651347279548645, 0.5716758966445923, 0.06493175774812698, 0.29959672689437866, -0.06394550204277039, 0.6852807998657227, -0.5763525366783142, -0.45041632652282715, -1.196440577507019, -0.05700692534446716, -0.2061721831560135, -0.1333402395248413, 0.9014992117881775, 0.7336766719818115, 0.5454838871955872, -0.13971830904483795, 0.7425788044929504, 0.08397075533866882, 0.41465556621551514, -0.6124873757362366, 0.42007678747177124, -0.5033613443374634, 0.20287950336933136, -0.36793795228004456, -1.1779568195343018, -0.42655110359191895, 0.5205385684967041, -0.3398459255695343, -0.11574213951826096, 0.6891016364097595, 0.6407219767570496, 0.09251746535301208, -0.23678332567214966, 0.3877314329147339, -0.03708026185631752, 0.4261590838432312, 0.6188920736312866, 0.8834259510040283, -0.292712539434433, 1.0460057258605957, -0.29495564103126526, -0.19193381071090698, -0.3467327356338501, -0.712924599647522, -0.824379563331604, -0.09211388975381851, -0.39901337027549744, -0.2659943997859955, -0.19671787321567535, 0.8296209573745728, 0.25606638193130493, -0.7891203165054321, -0.4173703193664551, -0.34171250462532043, 0.3061661720275879, -0.1719050258398056, -0.20818772912025452, 0.4551255404949188, -0.8562018871307373, -0.9447610974311829, 0.3747871220111847, 0.18228615820407867, 0.16089864075183868, 0.2021879404783249, -0.11294083297252655, -0.25927162170410156, 0.07303960621356964, 0.7393214702606201, 0.04451379179954529, -0.6411027908325195, -0.11196102201938629, -0.162017360329628, -0.16995134949684143, 0.025697195902466774, 0.7091473340988159, -0.39120352268218994, 0.04237983748316765, 0.511909008026123, 0.7781810164451599, 0.4394254982471466, 0.17915122210979462, 0.3132055103778839, -0.7117806077003479, 0.1143001839518547, 0.3097919821739197, 0.4814075529575348, 0.2287730723619461, -0.17675666511058807, 0.36075425148010254, 0.1921655684709549, -0.7026102542877197, -0.7634044289588928, 0.033927906304597855, -0.9399691224098206, -0.46302250027656555, 1.4102329015731812, -0.21015167236328125, -0.3296082317829132, -0.23804029822349548, -0.2351333498954773, 0.18501324951648712, -0.27316829562187195, 0.6188750863075256, 0.7192361950874329, -0.15579071640968323, 0.12211000919342041, -0.43836653232574463, 0.36041101813316345, 0.565155029296875, -0.9330570697784424, 0.2933259904384613, 0.6843951344490051, 0.28693726658821106, 0.1482769101858139, 0.4019879400730133, -0.04092837870121002, 0.1954796314239502, -0.02393699623644352, -0.01609032414853573, 0.15649071335792542, -0.22064754366874695, -0.15710966289043427, 0.5553454160690308, 0.46590498089790344, -0.35785651206970215 ]
http://arxiv.org/abs/2406.17158v1
http://arxiv.org/pdf/2406.17158v1
DEXTER: A Benchmark for open-domain Complex Question Answering using LLMs
2024-06-24T22:09:50
2024-06-24T22:09:50
Venktesh V. Deepali Prabhu, Avishek Anand
cs.CL
cs.CL, cs.IR
Open-domain complex Question Answering (QA) is a difficult task with challenges in evidence retrieval and reasoning. The complexity of such questions could stem from questions being compositional, hybrid evidence, or ambiguity in questions. While retrieval performance for classical QA tasks is well explored, their capabilities for heterogeneous complex retrieval tasks, especially in an open-domain setting, and the impact on downstream QA performance, are relatively unexplored. To address this, in this work, we propose a benchmark composing diverse complex QA tasks and provide a toolkit to evaluate state-of-the-art pre-trained dense and sparse retrieval models in an open-domain setting. We observe that late interaction models and surprisingly lexical models like BM25 perform well compared to other pre-trained dense retrieval models. In addition, since context-based reasoning is critical for solving complex QA tasks, we also evaluate the reasoning capabilities of LLMs and the impact of retrieval performance on their reasoning capabilities. Through experiments, we observe that much progress is to be made in retrieval for complex QA to improve downstream QA performance. Our software and related data can be accessed at https://github.com/VenkteshV/DEXTER
[ -0.4097900390625, -1.0215740203857422, 0.7998147010803223, 0.21130937337875366, -0.07777877151966095, 0.2925962209701538, -0.08082686364650726, -0.5318995118141174, 0.1559056043624878, 0.383747398853302, -0.5493820309638977, -0.5289098024368286, -0.24490001797676086, 0.22433072328567505, -0.07170859724283218, 0.4434296488761902, -0.36245325207710266, 0.34948474168777466, -0.4166676700115204, -0.23911398649215698, -0.5024228096008301, -0.39606258273124695, -0.2718556225299835, 0.17419439554214478, 0.4365406036376953, 0.2837066054344177, 0.5857406258583069, 0.45856958627700806, 0.6387951970100403, 0.20822587609291077, -0.025083985179662704, 0.4255836308002472, -0.7452569603919983, 0.5297732353210449, -0.41781002283096313, -0.5034927129745483, -0.6008661985397339, -0.015424494631588459, 0.7632642388343811, 1.0158674716949463, 0.08004263043403625, 0.3982597291469574, -0.2642647325992584, 0.2354370355606079, -1.0797449350357056, -0.20241598784923553, -0.787416934967041, -0.05834316089749336, -0.3470492660999298, -0.3678126037120819, -0.2654915452003479, -0.3867838978767395, 0.3921983540058136, -0.6814029216766357, 0.09337718039751053, 0.3179427683353424, 0.6943947076797485, 0.18873879313468933, -0.40028050541877747, 0.033002447336912155, -0.623757004737854, 0.7201145887374878, -0.7020366191864014, 0.4469263255596161, 0.09191722422838211, 0.5039911270141602, -0.2669776678085327, -0.9565274119377136, -0.5180131196975708, -0.011853067204356194, 0.27617767453193665, 0.41297733783721924, 0.004465797450393438, 0.19419652223587036, 0.48421046137809753, 0.43928807973861694, -0.5878109335899353, -0.04830603301525116, -0.20570401847362518, -0.16256748139858246, 0.4104827046394348, 0.5311661958694458, 0.26527291536331177, 0.30137497186660767, -0.4573557376861572, 0.0591123104095459, -0.7172656059265137, 0.4543076157569885, 0.24319998919963837, 0.06001049652695656, 0.14760816097259521, 0.9523012638092041, -0.4831511378288269, 0.7121933698654175, -0.20262564718723297, 0.08674044162034988, 0.23048390448093414, -0.2939741909503937, -0.2243933230638504, -0.3079453110694885, 0.42961442470550537, 0.28544989228248596, 0.1255774199962616, -0.3717532157897949, -0.39022597670555115, -0.228104367852211, 0.44552475214004517, -0.761384904384613, -0.06625591963529587, 0.36615636944770813, -0.31455475091934204, 0.3463640809059143, 0.2439430207014084, -0.46843162178993225, -0.1474517583847046, -0.2821524441242218, 0.696743905544281, -0.18647398054599762, -0.036220259964466095, 0.36430180072784424, -0.1753993183374405, 0.2998757064342499, 0.595211923122406, -0.4894726872444153, 0.7362356185913086, 0.7289454340934753, 0.6835312247276306, -0.536279022693634, -0.23387768864631653, -1.1957552433013916, 0.005336384288966656, -0.17033712565898895, 0.7027393579483032, -0.39330700039863586, 0.012019899673759937, 0.055664535611867905, 0.14248640835285187, -0.3615932762622833, -0.8686435222625732, 0.5252266526222229, -0.8879284262657166, -0.09885485470294952, -0.30024755001068115, -0.5385836958885193, -0.16084085404872894, 0.6132463812828064, -0.7823418974876404, 0.9065271019935608, 0.33534932136535645, -0.6235414743423462, 0.02995007112622261, -0.27499687671661377, -0.35749727487564087, 0.3204070031642914, -0.033157382160425186, -0.12367133051156998, -0.02786003239452839, 0.013798103667795658, 0.609761655330658, -0.5947220921516418, 0.2634778618812561, -0.6748501658439636, -0.6487164497375488, 0.28463470935821533, -0.1831052005290985, 0.4039815664291382, 0.018566736951470375, -0.17060892283916473, 0.27385884523391724, -0.6172135472297668, 0.22474676370620728, 0.029364779591560364, -0.4519416391849518, -0.4415755569934845, -0.037638451904058456, -0.20318225026130676, 0.10336380451917648, 0.3520064651966095, -0.8793579339981079, 0.20574498176574707, -0.3312170207500458, 0.1958547979593277, 0.546594500541687, -0.047557368874549866, 0.14429374039173126, -0.5941173434257507, 0.5311740636825562, 0.2527788281440735, 0.19963029026985168, 0.13371944427490234, -0.4126991629600525, -0.3442527949810028, -0.5689519643783569, 0.2653621435165405, 0.5467599034309387, -0.78013676404953, -0.0005739227635785937, -0.3405340313911438, -0.34399911761283875, -0.8519638180732727, 0.18503393232822418, 0.46887722611427307, 0.5507976412773132, 0.672227680683136, -0.4768313467502594, -0.23990333080291748, -0.8754237294197083, -0.41165074706077576, 0.17508146166801453, -0.15398621559143066, 0.6328430771827698, 0.33644506335258484, -0.2041846662759781, 0.9404982328414917, -0.6031181812286377, 0.002624094719067216, -0.0646844431757927, -0.13948006927967072, 0.19022049009799957, 0.3124738037586212, 0.30597198009490967, -0.7589151263237, -0.2815462648868561, -0.23412831127643585, -0.6255258321762085, -0.15261037647724152, 0.14055971801280975, -0.4107604920864105, -0.21086090803146362, 0.3680998980998993, -0.7647901773452759, 0.19813886284828186, 0.38405463099479675, -0.3474515974521637, 0.8907456994056702, -0.020367207005620003, 0.19899693131446838, -0.8337215185165405, 0.39448708295822144, -0.07895322889089584, -0.3944076597690582, -0.4516928493976593, 0.1731005162000656, 0.3282040059566498, 0.21573522686958313, -0.6859394907951355, 0.7210413217544556, -0.4295527935028076, -0.4044249355792999, 0.4228036403656006, 0.3904077410697937, 0.1738506555557251, 0.5881243348121643, -0.09816530346870422, 0.9965359568595886, 0.28744107484817505, -0.54981929063797, 0.3674151599407196, 0.1875026524066925, -0.47756579518318176, 0.4322705864906311, -0.8848486542701721, -0.15777409076690674, 0.029276227578520775, -0.022435272112488747, -1.0662612915039062, -0.20363585650920868, 0.0394645631313324, -0.12895368039608002, 0.22227251529693604, -0.0591871403157711, -0.6748033165931702, -0.3411363363265991, -0.5408646464347839, 0.6299575567245483, 0.25061771273612976, -0.4466423988342285, 0.6903477311134338, 0.20002523064613342, -0.18485665321350098, -0.6249182224273682, -0.11248897761106491, -0.30710598826408386, 0.17174650728702545, -0.707584023475647, 0.4642946422100067, -0.3668540120124817, -0.4338774085044861, -0.09254911541938782, -0.4650650918483734, -0.1186300590634346, 0.5184925198554993, 0.07707785815000534, 0.34545645117759705, -0.4640233814716339, -0.0811999961733818, 0.4477604329586029, 0.25472313165664673, 0.2646788954734802, 0.12541763484477997, 0.5082636475563049, -0.19707460701465607, -0.4978535771369934, -0.1168479397892952, 0.3319333493709564, 0.7353200912475586, -0.4566100239753723, 0.5270774960517883, 0.31036046147346497, -0.2413594126701355, -0.3448401689529419, -0.6676071882247925, -0.2659267485141754, -0.396630197763443, 0.12301165610551834, -0.6427134275436401, -1.0931508541107178, 0.7672273516654968, -0.5182781219482422, 0.08490993082523346, 0.28469276428222656, 0.5714863538742065, -0.2876446545124054, 1.0571869611740112, -0.018910467624664307, 0.2721364200115204, 0.15492860972881317, -0.31689542531967163, -0.12197819352149963, -1.133812665939331, -0.3008565604686737, -0.36955082416534424, -0.25027579069137573, 0.0011957114329561591, -0.40198493003845215, 0.5594633221626282, 0.4099489748477936, -0.37502893805503845, 0.06260058283805847, -0.05449643358588219, 0.20498381555080414, 0.7592188715934753, 0.27479639649391174, 0.3692944347858429, -0.5135294198989868, -0.356196790933609, 0.27682384848594666, -0.6370465755462646, -0.43217670917510986, 1.0994607210159302, 0.24644428491592407, 0.6988247036933899, 0.4114667773246765, 0.29136887192726135, 0.2306346297264099, 0.25161200761795044, -0.6503514647483826, 0.5167720317840576, 0.11581676453351974, -0.511098325252533, -0.28523722290992737, -0.5242869853973389, -0.9328557252883911, 0.5090458989143372, -0.24984265863895416, -0.600343644618988, -0.031665049493312836, -0.22178970277309418, -0.503332257270813, 0.31235530972480774, -0.4462416470050812, 0.9759864807128906, -0.04494134336709976, -0.5695422291755676, -0.022128794342279434, -0.9821940660476685, 0.4665829837322235, -0.009418617933988571, -0.22278377413749695, -0.3173980712890625, -0.010223397053778172, 0.5838168859481812, -0.35020655393600464, 0.571283757686615, -0.001959010725840926, 0.0034764930605888367, 0.0512961819767952, 0.3778125047683716, 0.4726477563381195, 0.24031539261341095, -0.15131935477256775, -0.01474806759506464, 0.48117494583129883, -0.48781245946884155, -0.5757551193237305, 0.6356443762779236, -0.8748254776000977, -0.7213271856307983, -0.10155531018972397, -0.8242594003677368, -0.6963057518005371, 0.31863006949424744, -0.07677953690290451, 0.686970591545105, -0.15794245898723602, 0.2550341486930847, 1.0740104913711548, 0.007568130735307932, 0.11256644874811172, 0.5958358645439148, 0.09501872211694717, -0.412433385848999, 0.6097483038902283, 0.03832288458943367, 0.4622442424297333, 0.4986884295940399, -0.09512227773666382, -0.2589991092681885, -0.7370558381080627, -0.6907187700271606, 0.37062573432922363, -0.6475021839141846, -0.3911510407924652, -0.9641309380531311, -0.12421809881925583, -0.3332521915435791, -0.09586240351200104, -0.13658377528190613, -0.4197967052459717, -0.4314882457256317, 0.23712526261806488, -0.06207147240638733, 0.2153489738702774, 0.5132278800010681, -0.05244362726807594, -0.9839721918106079, 0.6538558006286621, 0.4531365931034088, 0.5820339322090149, -0.03673315793275833, -0.3273521363735199, -0.1607884168624878, 0.12386894971132278, -0.2738255560398102, -0.4619384706020355, 0.1161745935678482, -0.04879190772771835, 0.8970931172370911, 0.11238411068916321, 0.5663661360740662, 0.5766913890838623, -0.13315576314926147, 0.6767964959144592, -0.1935485154390335, -0.8536525964736938, 0.2947444021701813, -0.33870798349380493, 0.25599899888038635, 0.7840887904167175, 0.6566247344017029, -0.12417475879192352, -0.3821195363998413, -0.41919466853141785, -0.7556755542755127, 0.6751365661621094, 0.007671985309571028, -0.24573387205600739, -0.05454551801085472, 0.38485145568847656, 0.19072124361991882, 0.42918649315834045, -0.19225504994392395, -0.03314395993947983, 0.026126790791749954, -0.30062833428382874, 0.15243946015834808, -0.2970496118068695, -0.30061179399490356, -0.17566616833209991, 0.5118439197540283, -0.3362528383731842, 0.06359081715345383, 0.4696928858757019, -0.42947474122047424, -0.2266264408826828, 0.18692860007286072, 0.6293601393699646, 0.5598936080932617, -0.5364904999732971, 0.1449449509382248, 0.14769117534160614, -0.5960661768913269, -0.1803259551525116, 0.23308616876602173, -0.1036490723490715, -0.3255508840084076, 0.4728095829486847, 0.5307510495185852, 0.17262545228004456, -1.3160699605941772, 0.830294668674469, -0.15834547579288483, -0.21554093062877655, -0.021448971703648567, 0.1646171659231186, -0.15193885564804077, 0.5472844243049622, 0.4137497842311859, -0.08802933990955353, 0.43068331480026245, -0.595434308052063, -0.053638260811567307, 0.5638267993927002, -0.35675719380378723, -0.29955512285232544, 0.7521771788597107, 0.0723266676068306, -0.028358157724142075, 0.7004801034927368, 0.035891707986593246, -0.49468716979026794, 0.596531093120575, 0.46462613344192505, 0.7425410151481628, 0.11233656108379364, -0.11474263668060303, 0.07871557772159576, 0.05654080957174301, -0.08943162113428116, 0.8874313235282898, -0.24104802310466766, -0.6856438517570496, -0.3826906681060791, -0.498575359582901, -0.7388039231300354, -0.21350838243961334, -0.7201517820358276, -0.18628232181072235, -0.4729764461517334, -0.09456020593643188, -0.13954231142997742, 0.26288270950317383, -0.6889000535011292, 0.18470610678195953, -0.27620357275009155, 1.2318769693374634, -0.272201806306839, 0.5518821477890015, 0.8110305070877075, -0.3369664251804352, -0.7906750440597534, -0.09603631496429443, -0.20441506803035736, -0.6120546460151672, 0.6280654668807983, 0.20638269186019897, -0.3911716938018799, 0.2449968010187149, -0.6154754757881165, -0.6433638334274292, 1.353763222694397, 0.24388305842876434, -0.3537059724330902, 0.1364707052707672, -0.04850811883807182, 0.4974839389324188, -0.38192227482795715, 0.35727423429489136, 0.3430800139904022, 0.358784943819046, 0.09131011366844177, -0.9230586886405945, 0.3223799169063568, -0.47393983602523804, -0.14376166462898254, 0.1213558092713356, -0.4886888563632965, 1.0847105979919434, -0.2458057999610901, -0.2637011408805847, 0.4168686866760254, 0.4159543812274933, 0.4521014988422394, 0.6630598306655884, 0.31106337904930115, 0.4684048593044281, 0.6829550266265869, -0.1338435411453247, 0.8717087507247925, -0.30995050072669983, 0.05386018380522728, 1.0988351106643677, -0.7058194279670715, 0.9485313892364502, 0.3937138617038727, 0.06401929259300232, 0.3444657623767853, 0.5778945088386536, 0.1937464475631714, 0.4536578357219696, 0.5739705562591553, -0.3582657277584076, -0.45107874274253845, -0.1799321174621582, -0.22136683762073517, 0.030114244669675827, 0.4103831350803375, 0.013662255369126797, -0.161871075630188, -0.015310825780034065, -0.30810675024986267, 0.03862691670656204, -0.45130446553230286, 0.8158652782440186, -0.09408003836870193, -0.8171846270561218, 0.5584149956703186, -0.05568826571106911, 0.5258367657661438, -0.5958577394485474, -0.01576336659491062, -0.22812825441360474, 0.145560160279274, -0.09347830712795258, -0.917701005935669, -0.010452239774167538, -0.4466964304447174, -0.1295982003211975, 0.1618163287639618, 0.5614992380142212, -0.4019625186920166, 0.2680693566799164, 0.31616371870040894, 0.909463107585907, 0.03622467443346977, -0.28054553270339966, -0.38268306851387024, 0.05790539085865021, -0.5469934940338135, -0.3482196629047394, 0.2903144061565399, 0.6301621198654175, -0.21919161081314087, 0.9413732290267944, 0.7873273491859436, -0.07410845905542374, 0.20925864577293396, 0.19708795845508575, 1.1686824560165405, -0.6864118576049805, -0.047982655465602875, -0.438680499792099, 0.28989604115486145, -0.022522497922182083, -0.41704604029655457, 0.8196507692337036, 0.7974205017089844, 0.9238393902778625, -0.1560879349708557, 0.44478195905685425, 0.2651008367538452, 0.6815617084503174, -0.5797121524810791, 0.43917492032051086, -0.6065084338188171, 0.22602137923240662, -0.2664943039417267, -0.9164642095565796, -0.4424280524253845, 0.027890758588910103, -0.17735646665096283, -0.19475802779197693, 0.5409951210021973, 0.7065002918243408, -0.2632182836532593, 0.0484762042760849, 0.44384464621543884, 0.23788224160671234, 0.2888108789920807, 0.4921414852142334, 1.0435374975204468, -0.3123454749584198, 0.21110588312149048, -0.0615164190530777, -0.1067899689078331, -0.4660204350948334, -0.4193976819515228, -0.910364031791687, -0.43820831179618835, -0.05952834337949753, -0.44382622838020325, 0.020907830446958542, 1.0250040292739868, 0.47242921590805054, -0.6289191246032715, -0.10253077745437622, 0.22457116842269897, 0.25886592268943787, -0.502365231513977, -0.21124714612960815, 0.24741695821285248, -0.3616391122341156, -0.5347503423690796, 0.49937665462493896, 0.3701809346675873, 0.05921958386898041, -0.234288290143013, -0.027076231315732002, -0.4584413468837738, 0.17869114875793457, 0.8610450029373169, 0.2993621230125427, -0.5899339914321899, -0.29891929030418396, 0.47492411732673645, -0.318845272064209, -0.016885289922356606, 0.9126108288764954, -0.8567348718643188, 0.4497925043106079, 0.6694883704185486, 1.0209931135177612, 0.5018470287322998, 0.21280308067798615, 0.5194841623306274, -0.3763965964317322, -0.6486203074455261, 0.5915877819061279, 0.44151920080184937, -0.08830278366804123, -0.16363243758678436, 0.6756352782249451, 0.34792160987854004, -0.44173774123191833, -1.0102721452713013, 0.06594859808683395, -1.554975986480713, -0.32644444704055786, 0.9822214245796204, -0.4177493453025818, -0.21187877655029297, -0.6092297434806824, -0.16692017018795013, 0.050336312502622604, -0.1879105567932129, 0.46447065472602844, 0.30954602360725403, 0.06452900916337967, 0.08816640079021454, -0.3803328573703766, 0.08482329547405243, 0.31618523597717285, -0.932422935962677, -0.032674942165613174, 0.5472130179405212, 0.3436967730522156, -0.1517476588487625, 0.6988058090209961, -0.12376274168491364, 0.5341310501098633, -0.32282179594039917, -0.007913082838058472, -0.28277164697647095, -0.500839352607727, -0.03184273838996887, 0.5373656749725342, -0.031022697687149048, -0.051595766097307205 ]
http://arxiv.org/abs/2406.17135v1
http://arxiv.org/pdf/2406.17135v1
Testing network clustering algorithms with Natural Language Processing
2024-06-24T20:54:32
2024-06-24T20:54:32
Ixandra Achitouv, David Chavalarias, Bruno Gaume
cs.SI
cs.SI, cs.CL, cs.CY, physics.soc-ph
The advent of online social networks has led to the development of an abundant literature on the study of online social groups and their relationship to individuals' personalities as revealed by their textual productions. Social structures are inferred from a wide range of social interactions. Those interactions form complex -- sometimes multi-layered -- networks, on which community detection algorithms are applied to extract higher order structures. The choice of the community detection algorithm is however hardily questioned in relation with the cultural production of the individual they classify. In this work, we assume the entangled nature of social networks and their cultural production to propose a definition of cultural based online social groups as sets of individuals whose online production can be categorized as social group-related. We take advantage of this apparently self-referential description of online social groups with a hybrid methodology that combines a community detection algorithm and a natural language processing classification algorithm. A key result of this analysis is the possibility to score community detection algorithms using their agreement with the natural language processing classification. A second result is that we can assign the opinion of a random user at >85% accuracy.
[ -0.7342403531074524, -1.0150694847106934, 0.1158066913485527, 0.4264891743659973, -0.1495717614889145, 0.5566374063491821, -0.41468822956085205, -0.7677149772644043, 1.0343393087387085, 0.4329497516155243, -0.4850304424762726, -0.4058614671230316, -0.49243298172950745, 0.4448385238647461, -0.4114645719528198, 0.7405224442481995, 0.04347485676407814, -0.010197649709880352, -0.15627969801425934, -0.319840669631958, -0.08988320082426071, -0.5481075048446655, -0.8748471736907959, -0.30235883593559265, 0.36099377274513245, 0.14496813714504242, 0.42949703335762024, 0.6484583616256714, 0.4502882957458496, 0.4396527409553528, -0.16790935397148132, 0.15980428457260132, -0.3991599380970001, 0.005120051093399525, -0.14329251646995544, -0.46613141894340515, -0.16772978007793427, 0.04750964790582657, 0.4308106005191803, 0.7082955837249756, -0.1160084530711174, 0.4340786039829254, -0.06643816828727722, 0.5402660369873047, -0.49083638191223145, -0.20907196402549744, -0.6078502535820007, 0.3584458529949188, -0.139984130859375, -0.27585840225219727, -0.23067663609981537, -0.7864909172058105, -0.11013907939195633, -0.28130561113357544, 0.501390814781189, 0.23459340631961823, 0.4307215213775635, -0.158868670463562, -0.5898338556289673, -0.30973032116889954, -0.9283803701400757, 0.6397256255149841, -0.48937997221946716, 0.04274475574493408, 0.5807713866233826, 0.5489557981491089, -0.16602887213230133, -0.507072925567627, -0.800123393535614, 0.05068468675017357, -0.09094288945198059, 0.19594812393188477, 0.05944867432117462, 0.06946582347154617, 0.048971593379974365, 0.8847354054450989, -0.6313332319259644, 0.12706713378429413, -0.655283510684967, -0.18215523660182953, 0.6675194501876831, -0.11915002018213272, 0.38341712951660156, -0.11211477220058441, -0.12025876343250275, 0.18780097365379333, -0.35249030590057373, 0.019754622131586075, 0.5885341763496399, 0.28496670722961426, -0.016022974625229836, 0.5860082507133484, -0.554763913154602, 0.35655802488327026, 0.2273242175579071, 0.08521666377782822, 0.41977423429489136, -0.24378257989883423, -0.28972434997558594, 0.1735243797302246, 0.8241145610809326, 0.4036511480808258, 0.6176744103431702, -0.02344413846731186, 0.18387384712696075, 0.5838050246238708, 0.1525774747133255, -0.3837883174419403, -0.15878723561763763, -0.05330141261219978, -0.8751451373100281, -0.5284346342086792, 0.3457070589065552, -0.5499178767204285, -0.4777563512325287, -0.06526952236890793, 0.11134162545204163, 0.12163513898849487, -0.6994828581809998, -0.10253095626831055, -0.2821004092693329, 0.042209457606077194, -0.06524673104286194, -0.5333444476127625, 0.7130399942398071, 0.5574806928634644, 1.0647938251495361, -0.3810163736343384, -0.07510287314653397, -0.3193961977958679, -0.03878341615200043, -0.17368514835834503, 0.8845319747924805, -0.55559241771698, -0.2599758505821228, 0.013479143381118774, 0.11128541827201843, -0.02178741805255413, -0.5134923458099365, 0.23981332778930664, -0.6000514626502991, 0.2514289617538452, -0.317705363035202, -0.7274396419525146, -0.15766410529613495, 0.5587783455848694, -0.6386366486549377, 0.9181506037712097, -0.045134976506233215, -0.63795405626297, 0.38509443402290344, -0.7977863550186157, -0.7065666913986206, 0.22641286253929138, -0.08854478597640991, 0.1400318741798401, -0.0027605248615145683, -0.08403099328279495, 0.48473498225212097, -0.11276548355817795, 0.007881714962422848, -0.7491521239280701, -0.32478538155555725, 0.4912901222705841, -0.020320823416113853, 0.7486153244972229, 0.30795103311538696, -0.4633112847805023, 0.08933014422655106, -0.6453980803489685, 0.16207319498062134, 0.14122788608074188, -0.4264044463634491, -0.5705989003181458, 0.26175379753112793, -0.05797524005174637, 0.1950121521949768, 0.031197499483823776, -0.6835543513298035, -0.11836449056863785, -0.45205503702163696, 0.5339479446411133, 0.7321911454200745, 0.21543170511722565, 0.4577902555465698, 0.03147155046463013, 0.37192076444625854, 0.021989481523633003, 0.27885740995407104, 0.3089011013507843, -0.7129774689674377, -0.9515866637229919, 0.2241431176662445, -0.07315081357955933, 0.49263057112693787, -0.9481035470962524, 0.8116832971572876, -0.04477973282337189, -0.6311130523681641, -0.1800563931465149, 0.08384904265403748, 0.034897107630968094, 0.13125285506248474, 0.22062712907791138, -0.8357572555541992, -0.43518516421318054, -0.9085729122161865, -0.315924733877182, -0.22688229382038116, 0.03174373880028725, 0.002123076468706131, 0.19207492470741272, -0.36334049701690674, 1.0267764329910278, -0.5776543617248535, -0.2826986014842987, -0.3263949155807495, 0.29818159341812134, 0.24616914987564087, 0.33603402972221375, 0.20416763424873352, -0.8791523575782776, -0.7790551781654358, 0.2564654052257538, -0.6914054751396179, 0.0587649792432785, 0.542959988117218, 0.10034635663032532, 0.13755013048648834, 0.3425211012363434, -0.15575191378593445, 0.46623075008392334, 0.49865177273750305, -0.257426917552948, 0.3379751145839691, -0.043584104627370834, 0.26720404624938965, -1.2001581192016602, -0.2629022002220154, 0.29087206721305847, -0.19498543441295624, -0.7830789089202881, 0.21467728912830353, -0.437548965215683, 0.18568255007266998, -0.054252512753009796, 0.14914387464523315, -0.4898524582386017, -0.3149110972881317, -0.5355697274208069, -0.0281086303293705, -0.14819587767124176, 0.40777766704559326, 0.006943450774997473, 0.11009624600410461, 0.4950522482395172, -0.7354565858840942, 0.5747389197349548, -0.14506758749485016, -0.4735826849937439, 0.8443040251731873, -0.5091652870178223, 0.3610858917236328, -0.22138740122318268, 0.4585764408111572, -1.071976900100708, -0.3569861948490143, 0.27306538820266724, -0.3983131945133209, -0.44591960310935974, -0.22972524166107178, -0.6671491265296936, -0.4942619502544403, -0.16871029138565063, 0.575637936592102, 0.27796536684036255, -0.3086665868759155, 0.5263886451721191, 0.7246593832969666, 0.19310443103313446, -0.06367821991443634, -0.799130916595459, -0.06721213459968567, -0.5743264555931091, -0.7718974947929382, 0.14219121634960175, -0.17110177874565125, -0.38509029150009155, 0.10957520455121994, 0.18712174892425537, -0.5660421252250671, 0.24257943034172058, 0.2721748948097229, -0.20132526755332947, -0.32964643836021423, 0.13791094720363617, -0.03085884265601635, 0.1108599603176117, -0.011974492110311985, -0.07042016834020615, 0.6366028189659119, -0.3615264892578125, -0.403341144323349, -0.03969346359372139, 0.4886888265609741, 0.36696457862854004, -0.37641745805740356, 0.8390876054763794, 0.8405560851097107, -0.6706417798995972, -0.30168721079826355, -0.760282576084137, -0.18979895114898682, -0.54709792137146, 0.11912281066179276, 0.01924591325223446, -1.2143563032150269, 0.8078675866127014, 0.06227065622806549, -0.22380955517292023, 0.4130594730377197, 0.4143954813480377, -0.08059242367744446, 0.8515812754631042, 0.5394447445869446, -0.20317411422729492, 0.05636494234204292, -0.03663340210914612, 0.6184909343719482, -0.3864644467830658, 0.21982242166996002, -0.5818364024162292, -0.7164202928543091, -0.9313521981239319, -0.2859640419483185, 0.456357479095459, -0.10088075697422028, -0.016614293679594994, 0.37876781821250916, -0.49787580966949463, 0.8363487720489502, 0.5482287406921387, 0.03991951420903206, 0.558120608329773, 0.2723352015018463, 0.04131881892681122, 0.17780081927776337, -0.423825740814209, -0.339826375246048, 0.5083025097846985, 0.22830505669116974, 0.38345134258270264, 0.2550404369831085, 0.5989105701446533, 0.624903678894043, 0.5393303632736206, -0.8057013154029846, 0.5503412485122681, -0.18576130270957947, -0.7263604402542114, -0.2692745327949524, -0.46499234437942505, -0.8881851434707642, 0.1967720240354538, -0.40435370802879333, -0.8426351547241211, 0.15086933970451355, 0.0786580964922905, -0.17365990579128265, 0.41631463170051575, -0.6552676558494568, 0.7616780400276184, 0.049678269773721695, 0.03540124371647835, -0.4865596294403076, -0.5825281739234924, 0.40306398272514343, 0.0011853353353217244, 0.5350708365440369, -0.17128625512123108, 0.5474942326545715, 0.6628337502479553, -0.21150285005569458, 1.078616738319397, 0.04006945714354515, 0.376352459192276, 0.5295778512954712, 0.31095895171165466, 0.14600585401058197, -0.2509439289569855, -0.012767438776791096, 0.1958027184009552, 0.15847134590148926, -0.09468628466129303, -0.5349652767181396, 0.7849234938621521, -0.6853476166725159, -0.23839084804058075, -0.1669931262731552, 0.08023370802402496, -0.031960561871528625, 0.1330593377351761, 0.27442020177841187, 0.41881176829338074, -0.2409427911043167, 0.09536450356245041, 0.35402175784111023, -0.031062452122569084, 0.33661192655563354, 0.30654820799827576, -0.41378253698349, -0.40865862369537354, 1.1263395547866821, 0.2562980055809021, 0.260008841753006, 0.23258915543556213, 0.4875160753726959, -0.1209762766957283, -0.49670910835266113, -0.11933594197034836, 0.14535211026668549, -0.8560136556625366, 0.18408234417438507, -0.44390684366226196, -0.2303946614265442, -0.4252077043056488, -0.12240960448980331, -0.029956167563796043, -0.1713317483663559, -0.0325561985373497, -0.2430235892534256, -0.004517657682299614, 0.967989444732666, 0.14872297644615173, 0.37958815693855286, -0.7259370684623718, 0.062148161232471466, 0.30994850397109985, 0.6259964108467102, 0.18418630957603455, 0.085787333548069, -0.23687362670898438, -0.13110719621181488, -0.1620444804430008, -1.1682296991348267, 0.12527093291282654, 0.24023449420928955, 0.4615046977996826, 0.5671718120574951, -0.0003002232115250081, 0.6058586835861206, -0.07496096938848495, 0.6878178119659424, 0.06826334446668625, -0.7154760360717773, 0.3766040503978729, -0.3890092372894287, -0.09107993543148041, 0.7607263326644897, 0.4140964448451996, -1.007802963256836, -0.4250575602054596, -0.5679865479469299, -0.6514832973480225, 0.35261663794517517, 0.3122723400592804, -0.060193050652742386, -0.4437178075313568, 0.2867266833782196, -0.03783859685063362, 0.3305220901966095, -1.0661934614181519, -0.3744308650493622, -0.036706965416669846, -0.16016785800457, -0.014733189716935158, 0.05986833944916725, -0.0670173391699791, -0.1807216852903366, 0.41151174902915955, -0.3763388395309448, 0.12029043585062027, 0.21737278997898102, -0.0460776761174202, -0.44581910967826843, 0.015211866237223148, 0.29706433415412903, 0.8739928603172302, 0.055139753967523575, 0.3447606563568115, 0.004997082520276308, -0.26808324456214905, 0.10706012696027756, -0.4470882713794708, -0.11439872533082962, -0.1499311327934265, 0.3069044053554535, 0.45745497941970825, -0.17208309471607208, -0.30901268124580383, 0.5149344801902771, -0.24839167296886444, -0.026098724454641342, -0.7097597718238831, 0.07492633908987045, 0.12256627529859543, 0.01694333367049694, 0.5034814476966858, 0.2497667372226715, 0.3678113520145416, -0.6888248920440674, -0.020760299637913704, 0.344467431306839, -0.6155786514282227, -0.40658992528915405, -0.04889311268925667, 0.3443466126918793, -0.5504501461982727, 0.36903640627861023, -0.5664371848106384, -0.659914493560791, 0.7949051856994629, 0.392659455537796, 1.058980107307434, -0.19453825056552887, 0.5301332473754883, 0.37405040860176086, 0.4816911220550537, -0.04588763415813446, -0.02104630321264267, 0.13077852129936218, -1.3393815755844116, -0.6643174886703491, -0.8967545628547668, -0.10474592447280884, -0.166067972779274, -0.6827878355979919, -0.04119190201163292, -0.6294649243354797, -0.28675010800361633, -0.1398455947637558, -0.27623966336250305, -0.41019344329833984, 0.2478218823671341, 0.10767372697591782, 0.7598944306373596, -1.1691540479660034, 0.4944777190685272, 0.8220733404159546, 0.052144791930913925, -0.5781659483909607, 0.10193618386983871, 0.17561011016368866, -0.4230623245239258, 0.41797274351119995, 0.48477670550346375, -0.010569126345217228, 0.019690915942192078, -0.3801491856575012, -0.8340979814529419, 0.7709354758262634, -0.20436589419841766, 0.015709301456809044, 0.41498109698295593, 0.13948123157024384, 0.843974769115448, -0.4436667263507843, 0.2612304091453552, 0.3864884674549103, 0.4010375738143921, 0.09142835438251495, -0.9315550327301025, 0.007139386609196663, -0.5697346329689026, -0.11824943125247955, 0.2581266462802887, -0.5797439217567444, 0.6340281963348389, 0.4617299437522888, -0.3583340644836426, -0.3606153428554535, 0.7832183241844177, 0.22228258848190308, 0.4632256031036377, 1.1345797777175903, 0.29070374369621277, 0.7835174798965454, 0.05688856914639473, 0.9076114296913147, 0.03257273882627487, 0.25821325182914734, 0.6223331689834595, -0.3023330569267273, 0.6836519241333008, 0.3345967233181, -0.35178858041763306, 0.8666735887527466, 0.961043119430542, 0.010776893235743046, 0.16772420704364777, 0.42429912090301514, -0.2782686948776245, -0.24106420576572418, -0.35678428411483765, -0.18029139935970306, 0.3885793387889862, 0.14648441970348358, -0.29871246218681335, 0.001556736184284091, -0.22505733370780945, -0.3499602973461151, 0.35003188252449036, -0.5945844054222107, 0.7176015377044678, 0.11824754625558853, -0.7290019392967224, -0.0737745389342308, 0.4239821434020996, 0.8637905120849609, -0.4573209583759308, 0.22330507636070251, -0.1095103994011879, 0.02502790279686451, -0.44518518447875977, -0.48499536514282227, 0.5836916565895081, -0.24753476679325104, -0.19214560091495514, 0.1612466275691986, 1.067110538482666, -0.2293594777584076, -0.7495766282081604, 0.5606222748756409, 0.5437636971473694, 0.20714214444160461, -0.17664188146591187, -0.38005805015563965, -0.27285343408584595, -0.14967094361782074, 0.08163980394601822, 0.31188592314720154, 0.07278480380773544, -0.33593764901161194, 0.4045386016368866, 0.810735821723938, 0.13819476962089539, 0.4585711658000946, 0.1284661591053009, 0.5133897662162781, -0.5004176497459412, -0.991027295589447, -0.975861132144928, 0.12524063885211945, -0.4639982283115387, -0.25561901926994324, 0.8885394334793091, 0.3442002832889557, 1.0290701389312744, 0.10593391954898834, 0.8120213747024536, -0.4069920480251312, 0.34556180238723755, -0.19705475866794586, 0.598824143409729, -0.26505419611930847, -0.18177561461925507, -0.3079548478126526, -1.0407766103744507, -0.12435031682252884, 0.5722990036010742, -0.2294619083404541, 0.08834566175937653, 0.7743545770645142, 0.7193889021873474, -0.1975610852241516, 0.6487835645675659, -0.0389249324798584, 0.1954982727766037, 0.22298020124435425, 0.08292747288942337, 0.891081690788269, -0.03359748050570488, 0.20588792860507965, -0.5289211273193359, -0.4587005376815796, 0.0698167011141777, -0.8219724297523499, -1.151548147201538, -0.5941423177719116, -0.27276796102523804, -0.3485506474971771, -0.6050122976303101, 1.1700388193130493, 0.4975820481777191, -0.8846935629844666, -0.6109129786491394, -0.016244128346443176, 0.2068501114845276, -0.485772967338562, -0.35917404294013977, 0.0044038076885044575, 0.23621264100074768, -0.4463026821613312, 0.5436298251152039, 0.3703293800354004, -0.22582729160785675, -0.6932227611541748, -0.023376010358333588, -0.22999617457389832, -0.17173020541667938, 0.6484318971633911, 0.17532965540885925, -0.5743805766105652, -0.364104688167572, 0.0612884983420372, 0.21849273145198822, -0.01376632321625948, 0.8343797922134399, -0.30929121375083923, 0.45808130502700806, 0.6535029411315918, 0.586327075958252, 0.41574567556381226, 0.09991386532783508, 0.5383363366127014, -0.7983747124671936, -0.3058587610721588, 0.024242747575044632, 0.2684016227722168, 0.4205380082130432, -0.4555498957633972, 0.44391030073165894, 0.7716304063796997, -0.4333361089229584, -0.6000869870185852, 0.3454034626483917, -0.8551302552223206, -0.12160217761993408, 0.9696014523506165, 0.09489830583333969, -0.32423877716064453, -0.4257035255432129, 0.08862095326185226, 0.33792659640312195, 0.006638001184910536, 0.894549548625946, 0.6325505375862122, -0.029857296496629715, 0.2031584084033966, -0.28070342540740967, 0.04484604299068451, 0.008221006952226162, -0.8384767174720764, -0.5493203401565552, 0.2007446587085724, 0.36269745230674744, 0.614167332649231, 0.8549198508262634, 0.1999286413192749, -0.04926922172307968, -0.7909689545631409, 0.03454822301864624, 0.1769208312034607, 0.0486077181994915, -0.18848314881324768, 0.7014269232749939, -0.22201067209243774, 0.11389387398958206 ]
http://arxiv.org/abs/2406.17104v1
http://arxiv.org/pdf/2406.17104v1
Automated Adversarial Discovery for Safety Classifiers
2024-06-24T19:45:12
2024-06-24T19:45:12
Yash Kumar Lal, Preethi Lahoti, Aradhana Sinha, Yao Qin, Ananth Balashankar
cs.CL
cs.CL
Safety classifiers are critical in mitigating toxicity on online forums such as social media and in chatbots. Still, they continue to be vulnerable to emergent, and often innumerable, adversarial attacks. Traditional automated adversarial data generation methods, however, tend to produce attacks that are not diverse, but variations of previously observed harm types. We formalize the task of automated adversarial discovery for safety classifiers - to find new attacks along previously unseen harm dimensions that expose new weaknesses in the classifier. We measure progress on this task along two key axes (1) adversarial success: does the attack fool the classifier? and (2) dimensional diversity: does the attack represent a previously unseen harm type? Our evaluation of existing attack generation methods on the CivilComments toxicity task reveals their limitations: Word perturbation attacks fail to fool classifiers, while prompt-based LLM attacks have more adversarial success, but lack dimensional diversity. Even our best-performing prompt-based method finds new successful attacks on unseen harm dimensions of attacks only 5\% of the time. Automatically finding new harmful dimensions of attack is crucial and there is substantial headroom for future research on our new task.
[ -0.40105122327804565, -0.7975342869758606, 0.5069859623908997, 0.04173266515135765, 0.19419044256210327, 0.21651345491409302, 0.16714589297771454, -0.29495128989219666, 0.013892879709601402, 0.242920383810997, -0.4342617988586426, -0.8107262849807739, -1.0221606492996216, -0.09124147891998291, -0.3096238374710083, 1.1126035451889038, 0.21313057839870453, -0.1164076179265976, -0.04889843240380287, -0.029726073145866394, -0.3868463337421417, -0.7450442314147949, -0.8762316107749939, 0.09191469103097916, 0.9741900563240051, 0.4287305474281311, 0.8602350950241089, 0.6286792159080505, 0.8453852534294128, 0.38338133692741394, -0.3853532373905182, -0.008994384668767452, -0.3910735547542572, 0.2180948704481125, -0.06705120205879211, -0.40753939747810364, -0.25011688470840454, 0.11065944284200668, 0.1645960956811905, 0.5982979536056519, 0.1695573776960373, -0.10159450769424438, 0.0646534115076065, 0.7291572093963623, -0.8972523808479309, 0.03852545842528343, -0.7579880952835083, 0.3819882571697235, -0.2006262242794037, -0.22806842625141144, -0.47710689902305603, -0.5660531520843506, 0.10552669316530228, -0.36454474925994873, 0.3790220320224762, -0.0870092436671257, 0.42425537109375, 0.5073793530464172, -0.8602202534675598, -0.4547339081764221, -0.7347977161407471, 0.5924890637397766, -0.24049879610538483, -0.030312880873680115, 0.06484034657478333, 0.5584020018577576, -0.6248776912689209, -0.5301734805107117, -0.1423867642879486, -0.5052490234375, 0.03735344856977463, -0.11764083802700043, -0.2801106572151184, 0.12784934043884277, 0.39319202303886414, 0.17164574563503265, -0.5364950299263, 0.1417282670736313, -0.2572096288204193, -0.36518919467926025, 1.0845218896865845, 0.3495192527770996, 0.4331754148006439, -0.03006703220307827, -0.4350565969944, -0.35854074358940125, -0.5755816102027893, 0.08723823726177216, 0.7494410276412964, 0.2746182978153229, 0.06499158591032028, 0.2676376402378082, 0.02905144914984703, 0.15739552676677704, -0.07371823489665985, 0.00957537442445755, 0.15138360857963562, -0.2852986454963684, 0.08781908452510834, 0.21159155666828156, 1.019270658493042, 0.2192470282316208, -0.197260320186615, -0.07824036478996277, -0.07841817289590836, 0.2989520728588104, 0.5816650986671448, -0.5844416618347168, -0.8493895530700684, 0.01718190312385559, -0.2616955637931824, -1.0127335786819458, 0.000719253090210259, -0.7714191675186157, -1.166345238685608, 0.3370959162712097, 0.6102396845817566, -0.3635372519493103, -0.04677080735564232, -0.12203327566385269, -0.5494100451469421, -0.11612298339605331, 0.2912156879901886, -0.46854498982429504, 0.02437015436589718, 0.32246679067611694, 0.7413008213043213, -0.17324839532375336, -0.11580485850572586, -0.6255960464477539, -0.23578278720378876, -0.4391307234764099, 0.8405081629753113, -0.29368168115615845, -0.634424090385437, -0.14932671189308167, -0.07403187453746796, -0.006179174408316612, -0.534317672252655, 0.8381398320198059, -0.4223179221153259, 0.14506104588508606, -0.5163208246231079, -0.271699994802475, -0.38150256872177124, 0.3244656026363373, -0.7975730895996094, 0.5291733145713806, -0.06836850941181183, -1.0133976936340332, 0.36334577202796936, -0.8960424065589905, -0.604701042175293, -0.14320896565914154, 0.03775017708539963, -0.7857974171638489, -0.02301446534693241, 0.06213292479515076, 0.32017412781715393, -0.14221933484077454, -0.10872281342744827, -0.7113265991210938, -0.232364222407341, 0.2776623070240021, -0.5944381356239319, 1.1187187433242798, 0.24462872743606567, -0.577297568321228, 0.3403347432613373, -0.7521615028381348, -0.03983309864997864, 0.3771562874317169, -0.3768157958984375, -0.20579729974269867, 0.3102266192436218, -0.07426687330007553, 0.1990681290626526, 0.20175181329250336, -0.6363745927810669, -0.10427270829677582, -0.13788439333438873, 0.13278689980506897, 0.9383705854415894, 0.24801713228225708, 0.13663923740386963, -0.45873817801475525, 0.50428706407547, 0.1645122617483139, 0.5539059042930603, 0.10682293772697449, -0.44779065251350403, -0.7203314304351807, -0.07449240982532501, 0.1549665778875351, 0.7152010798454285, -0.6026766300201416, 0.6372650265693665, 0.1112651452422142, -0.9248101115226746, -0.01903783716261387, -0.060110658407211304, 0.4753378629684448, 0.29454877972602844, 0.4254472255706787, -0.27775949239730835, -0.409549355506897, -0.8110281825065613, -0.29811835289001465, -0.3689230680465698, -0.06076089292764664, 0.3176426589488983, 0.39879465103149414, -0.6114604473114014, 0.46578162908554077, -0.5522748231887817, -0.26616400480270386, 0.16636453568935394, 0.261167049407959, -0.48343896865844727, 0.4004785418510437, 0.6889181733131409, -0.7556804418563843, -0.3670644164085388, -0.16474227607250214, -0.9451646208763123, 0.09054211527109146, -0.004748118110001087, 0.06407494097948074, 0.1056947186589241, 0.3437292277812958, -0.187890887260437, 0.20937596261501312, 0.31689366698265076, -0.26520487666130066, 0.34180089831352234, 0.04008212313055992, 0.13595321774482727, -0.7162061929702759, -0.1565026342868805, -0.09102419018745422, 0.1182439997792244, -0.9915636777877808, 0.0815322995185852, 0.038925714790821075, -0.11920894682407379, -0.6097825169563293, 0.09311358630657196, -0.1264062374830246, 0.237611785531044, -0.23486262559890747, -0.03703617677092552, -0.22194965183734894, 0.3203599154949188, -0.5313488841056824, 0.31930598616600037, 0.7585315704345703, -0.6566543579101562, 0.5188112854957581, -0.06478244066238403, 0.2338845431804657, 0.43618130683898926, -0.5083548426628113, 0.16023513674736023, -0.22688515484333038, 0.3586227297782898, -0.8971554040908813, -0.4169308543205261, 0.44101691246032715, -0.522612988948822, 0.3728984594345093, -0.038162268698215485, -0.24761876463890076, -0.45913752913475037, -0.6844716668128967, 0.23788490891456604, 0.23799069225788116, -0.7338502407073975, 0.4107201397418976, 0.6383651494979858, -0.10294236242771149, -0.7403238415718079, -0.3618149757385254, 0.2737411558628082, -0.46756258606910706, -0.6765300631523132, 0.012059571221470833, -0.20304247736930847, -0.3195972740650177, -0.22594696283340454, -0.1918887346982956, 0.09089019149541855, 0.6774638891220093, 0.5587604641914368, 0.008715183474123478, 0.10568847507238388, -0.03346267342567444, -0.19681492447853088, -0.13612942397594452, 0.6887974143028259, -0.04852171614766121, 0.29145070910453796, -0.28225794434547424, -0.4298163056373596, -0.3752043843269348, 0.4024289846420288, 0.5783955454826355, 0.028394076973199844, 0.5169979929924011, 0.5339741110801697, -0.3799266815185547, -0.10144462436437607, -0.23102155327796936, 0.034463755786418915, -0.5541504621505737, 0.4558008313179016, 0.1256362795829773, -0.7278376221656799, 0.393145352602005, 0.042377445846796036, 0.3046431839466095, 0.856614887714386, 0.15234029293060303, 0.022788161411881447, 1.5092945098876953, 0.5385168790817261, -0.21544045209884644, 0.29907312989234924, -0.11046656221151352, 0.21724632382392883, -0.26257985830307007, -0.3648033142089844, -0.506160318851471, -0.35879483819007874, -0.9574962258338928, 0.06667362153530121, 0.7653635144233704, -0.15204408764839172, -0.4684583842754364, 0.22199271619319916, -0.5327776074409485, 0.2825755476951599, 0.7632683515548706, 0.3355496823787689, 0.050454288721084595, -0.1488126814365387, 0.154123917222023, 0.21127887070178986, -0.6119003891944885, -0.3718976080417633, 1.2459114789962769, 0.5110347270965576, 0.7406864762306213, 0.2530435621738434, 1.0258764028549194, 0.35373613238334656, 0.5387822985649109, -0.7255502939224243, 0.6359388828277588, -0.28686919808387756, -0.6572334170341492, -0.3221678137779236, -0.5563201904296875, -0.9815019965171814, -0.014850115403532982, -0.2628836929798126, -0.13073498010635376, -0.06601965427398682, 0.4172738492488861, -0.3598608374595642, 0.45851239562034607, -0.6668726801872253, 0.707781970500946, -0.5049909353256226, 0.011509422212839127, -0.07523834705352783, -0.8201524019241333, 0.46426427364349365, -0.26478976011276245, 0.10213778167963028, 0.16211214661598206, 0.3423045575618744, 0.6926220655441284, -0.31344643235206604, 0.9343699216842651, -0.4997062385082245, -0.2281111627817154, 0.27538952231407166, 0.09281230717897415, 0.6342888474464417, -0.13585913181304932, 0.21094851195812225, 0.001166338799521327, -0.36649900674819946, -0.3328583836555481, -0.39585787057876587, 0.6485329866409302, -0.6003367304801941, -0.7213499546051025, -0.7409942746162415, -0.5622129440307617, -0.06863388419151306, 0.1039963886141777, 0.3979799151420593, 0.021269863471388817, -0.35303041338920593, 0.2366325855255127, 0.9619494676589966, -0.58427494764328, 0.4265434741973877, 0.37610167264938354, 0.41413435339927673, -0.3917328119277954, 1.1932942867279053, 0.14501649141311646, 0.10864434391260147, 0.24864934384822845, 0.25022077560424805, -0.15528884530067444, -0.7017356157302856, -0.14141714572906494, -0.3587219715118408, -0.7360743284225464, -0.308175653219223, -0.6795944571495056, -0.4821161925792694, -0.4296148419380188, -0.18496933579444885, -0.232476145029068, -0.26422038674354553, -0.1234760507941246, -0.1411777287721634, 0.3589761555194855, 0.8625467419624329, -0.22702135145664215, 0.12950117886066437, -0.7986243367195129, 0.11591684818267822, 0.6501954197883606, 0.06315387040376663, -0.34621238708496094, -0.09743884205818176, 0.03382512554526329, 0.20005741715431213, -0.8132779002189636, -0.8794093132019043, 0.2791675925254822, -0.1304442137479782, 0.42645132541656494, 0.5830711722373962, 0.4588847756385803, 0.15721666812896729, -0.289506733417511, 0.7886469960212708, 0.21488940715789795, -0.506409764289856, 0.66286301612854, -0.3752385377883911, -0.09081187099218369, 0.36649057269096375, 0.655998706817627, -0.22194086015224457, -0.55836021900177, -0.936839759349823, -0.7077739834785461, 0.21246139705181122, 0.3164236843585968, -0.08855520933866501, -0.20084209740161896, -0.08742932230234146, -0.04644232615828514, -0.03958890959620476, -0.5568006634712219, -0.5700697898864746, -0.23672528564929962, -0.05782844126224518, -0.09327072650194168, -0.16742147505283356, -0.43789032101631165, 0.24569983780384064, 0.6367908120155334, 0.1250540018081665, 0.16490469872951508, -0.05196721479296684, 0.1521608531475067, -0.2338782548904419, 0.3875359296798706, 0.3619500398635864, -0.0886709988117218, -0.07005413621664047, 0.45588231086730957, 0.40577182173728943, -0.607322096824646, 0.3229306638240814, 0.5837153792381287, -0.15170235931873322, -0.24495434761047363, 0.3677814304828644, 0.439187616109848, -0.15254618227481842, -0.49813157320022583, 0.5939350128173828, -0.30146023631095886, -0.39616209268569946, -0.58110511302948, 0.675690770149231, -0.36965256929397583, 0.33231019973754883, 0.19130977988243103, 0.5145693421363831, 0.5026823282241821, -0.48892760276794434, 0.3836091458797455, 0.8040199875831604, -0.4283682703971863, -0.09404167532920837, 0.8137838840484619, 0.24367325007915497, -0.3317949175834656, 0.11745353788137436, -0.37894514203071594, -0.7000753283500671, 0.8455795049667358, 0.16070163249969482, 1.0116288661956787, -0.5035018920898438, 0.22142474353313446, 0.25486719608306885, 0.4578712284564972, 0.044746093451976776, 0.13031616806983948, 0.18666337430477142, -0.3596534729003906, 0.41083434224128723, -0.3099863827228546, -0.47558921575546265, 0.344007283449173, -0.5584214329719543, 0.028806274756789207, -0.7733533382415771, -0.12433858960866928, 0.18758568167686462, 0.08364538103342056, -0.36504077911376953, 0.5022796988487244, 0.01644868403673172, 0.4588035047054291, -0.9638713002204895, 0.1785791665315628, 0.5588810443878174, -0.18171964585781097, -0.44034042954444885, 0.09902460873126984, 0.6007431149482727, -0.34597012400627136, 0.46362683176994324, 0.33774101734161377, -0.12172740697860718, -0.2839409112930298, -0.5293856859207153, -0.8280049562454224, 0.9779177308082581, 0.2361718863248825, -0.3713643550872803, 0.11156497150659561, 0.17644865810871124, 0.6502701640129089, 0.11070943623781204, -0.09989149123430252, 0.2262289971113205, 0.43919801712036133, -0.019260697066783905, -0.4756168723106384, 0.25030311942100525, -0.4402112066745758, -0.07937481999397278, 0.3445340692996979, -0.5802469253540039, 0.7669327259063721, -0.4022846519947052, -0.3571026623249054, -0.23659583926200867, 0.49592670798301697, 0.10144679248332977, 0.6111339926719666, 0.8467587828636169, 0.6245813965797424, 0.748119592666626, -0.08535759896039963, 0.9106345176696777, -0.07732158154249191, 0.0364728607237339, 0.8564748167991638, -0.034150369465351105, 0.4438321888446808, -0.08888869732618332, -0.04101979732513428, 0.27486634254455566, 0.7143241763114929, -0.27313724160194397, 0.40061330795288086, 0.3309767246246338, -0.5548456311225891, -0.07012751698493958, -0.04738635569810867, -0.3040563762187958, 0.1687776893377304, 0.26158496737480164, -0.5022984147071838, -0.24197569489479065, 0.21411772072315216, 0.1431097835302353, -0.09830745309591293, -0.08709442615509033, 0.7861456274986267, -0.2799551486968994, -0.49460673332214355, 0.5737390518188477, 0.031757596880197525, 0.6344528794288635, -0.30381542444229126, 0.0667392909526825, -0.04655984789133072, 0.23533742129802704, -0.19925357401371002, -0.697291910648346, 0.3146447241306305, -0.05374343320727348, -0.016107646748423576, 0.0928124338388443, 0.6477816104888916, -0.11772564798593521, -0.3134772479534149, 0.36212390661239624, 0.011213219724595547, 0.010464495047926903, -0.19558176398277283, -0.4174180328845978, -0.29300016164779663, -0.03594115749001503, -0.15169157087802887, 0.4473361372947693, 0.33146578073501587, -0.021452410146594048, 0.8017943501472473, 0.5956643223762512, -0.09590234607458115, 0.14497408270835876, -0.0343928337097168, 0.9928606152534485, -0.6080912351608276, -0.34712666273117065, -0.7119001150131226, 0.34704652428627014, -0.1974378526210785, -0.18340067565441132, 0.8201804161071777, 0.4430883824825287, 0.7582600116729736, 0.1186075210571289, 1.08668851852417, -0.14856906235218048, 0.3916472792625427, -0.23643766343593597, 0.8153287768363953, -0.40635788440704346, 0.46555545926094055, -0.3006073534488678, -0.4770042598247528, -0.5595355033874512, 0.2646465599536896, -0.14486607909202576, -0.10050076246261597, 0.706427812576294, 0.9702123999595642, 0.21207717061042786, 0.05814671888947487, -0.0022935683373361826, 0.23669320344924927, 0.7453044652938843, 0.5641470551490784, 0.8969460129737854, -0.5096274614334106, 1.0209406614303589, -0.4185969829559326, -0.5111154317855835, -0.07971975952386856, -0.7482649087905884, -1.1137008666992188, -0.36402732133865356, -0.46586036682128906, -0.46551457047462463, 0.3087041974067688, 0.5859346985816956, 0.2601420283317566, -0.9046792984008789, 0.41791725158691406, -0.3536412715911865, 0.17345716059207916, -0.051813241094350815, -0.28781256079673767, 0.288265585899353, -0.4192868769168854, -0.42482948303222656, 0.4847656786441803, 0.0745898187160492, 0.2009287178516388, -0.33771467208862305, 0.02025606855750084, 0.1726352870464325, 0.04086814075708389, 0.5791573524475098, 0.39556142687797546, -0.39920586347579956, -0.5601209402084351, -0.2145794928073883, -0.29640811681747437, -0.3330616354942322, 0.44303858280181885, -0.2929973602294922, 0.3354330360889435, 0.5543394684791565, 0.7330967783927917, -0.2880653142929077, -0.2532414495944977, 0.4010103642940521, -0.7075467705726624, -0.16339156031608582, 0.332817941904068, 0.24472716450691223, 0.2445179522037506, -0.7864733338356018, 0.517342746257782, 0.30213692784309387, -0.6346104741096497, -0.8308302760124207, 0.4227331578731537, -0.528560996055603, -0.3413715660572052, 0.9476006031036377, -0.12545503675937653, 0.07141177356243134, -0.15348853170871735, -0.21974138915538788, 0.29315972328186035, -0.16661059856414795, 1.3186168670654297, 0.2962820827960968, -0.06180427968502045, 0.3172506093978882, -0.24535101652145386, 0.8157111406326294, 0.20138412714004517, -1.0278023481369019, 0.02006240002810955, 0.5314335823059082, 0.10696527361869812, 0.5808249115943909, 0.1322186291217804, -0.18887822329998016, 0.45635539293289185, 0.2395796775817871, -0.2108127474784851, 0.053001146763563156, -0.7025131583213806, -0.24288931488990784, 0.4142095744609833, -0.20231278240680695, -0.31141871213912964 ]
http://arxiv.org/abs/2406.17095v1
http://arxiv.org/pdf/2406.17095v1
Attention Instruction: Amplifying Attention in the Middle via Prompting
2024-06-24T19:35:11
2024-06-24T19:35:11
Meiru Zhang, Zaiqiao Meng, Nigel Collier
cs.CL
cs.CL
The context window of large language models has been extended to 128k tokens or more. However, language models still suffer from position bias and have difficulty in accessing and using the middle part of the context due to the lack of attention. We examine the relative position awareness of LLMs and the feasibility of mitigating disproportional attention through prompting. We augment the original task instruction with $\texttt{attention instructions}$ that direct language models to allocate more attention towards a selected segment of the context. We conduct a comprehensive investigation on multi-document question answering task with both position-based and index-based instructions. We find that language models do not have relative position awareness of the context. Nevertheless, they demonstrate the capacity to adapt attention to a specific segment using matching indexes. Our analysis contributes to a deeper understanding of position bias in LLMs and provides a pathway to mitigate this bias by instruction, thus benefiting LLMs in locating and utilizing relevant information from retrieved documents in RAG applications.
[ -0.24081799387931824, -0.9147641062736511, 0.9186297059059143, 0.12907259166240692, 0.050945162773132324, -0.11428294330835342, -0.08802615106105804, -0.18450935184955597, -0.1344917118549347, 0.3130466639995575, -0.7421016693115234, -0.3806595802307129, -0.7183950543403625, -0.02255258522927761, -0.38445529341697693, 0.8126444816589355, 0.05922999978065491, 0.056209057569503784, -0.4703470766544342, -0.02279476635158062, -0.8392193913459778, -0.6132413744926453, -0.5902462601661682, -0.09199473261833191, 0.5988207459449768, 0.714733362197876, 0.32060351967811584, 0.5914590954780579, 0.32122495770454407, 0.40428295731544495, -0.18729481101036072, 0.04239906743168831, -0.5914541482925415, 0.21477249264717102, -0.2993488907814026, -0.8431342244148254, -0.28781765699386597, 0.1494896560907364, 0.9563148021697998, 0.7380458116531372, -0.08232002705335617, 0.1501895636320114, 0.053346216678619385, 0.936156690120697, -0.6877542734146118, -0.18406154215335846, -0.6662381291389465, -0.13615907728672028, -0.2878800630569458, -0.408308207988739, -0.5637737512588501, -0.00101550854742527, 0.33346888422966003, -0.3539048731327057, 0.37603452801704407, 0.2869897484779358, 0.6191425919532776, 0.5276681184768677, -0.31483444571495056, -0.3019593060016632, -0.5158768892288208, 0.9681220650672913, -0.2181728184223175, 0.3291613459587097, 0.4348544478416443, 0.1634148806333542, -0.09784006327390671, -0.2794284224510193, -0.42413169145584106, 0.08894741535186768, 0.0028546457178890705, 0.11425460129976273, -0.026624875143170357, 0.12574245035648346, 0.47743669152259827, 0.052584946155548096, -0.388056218624115, 0.01814858987927437, -0.2740403115749359, 0.04449642449617386, 0.09214115887880325, 0.16566377878189087, 0.3219043016433716, 0.0535469725728035, -0.45267927646636963, -0.10912644118070602, -0.6394538283348083, 0.07106585800647736, 0.18634405732154846, 0.04719451069831848, -0.11100765317678452, 0.5223680734634399, 0.06811302900314331, 1.0364887714385986, 0.5023080706596375, -0.21335525810718536, -0.18077200651168823, -0.16743409633636475, -0.3436526954174042, 0.15694445371627808, 0.06520113348960876, 0.41719529032707214, 0.08017835766077042, -0.04236234724521637, 0.007366551551967859, -0.3481128513813019, 0.5368852615356445, -0.3842799961566925, 0.45110636949539185, 0.22159358859062195, -0.33905118703842163, 0.128634512424469, -0.09999172389507294, -0.6503688097000122, -0.3412756621837616, -0.4272470474243164, 0.1910705417394638, -0.11551547795534134, 0.32208967208862305, 0.01250944472849369, -0.14313380420207977, 0.5497068166732788, 0.44514572620391846, -1.246877670288086, 0.1133362278342247, 0.8317055106163025, 0.7146932482719421, -0.17275109887123108, -0.3019670248031616, -0.4445374011993408, 0.5826250910758972, -0.21762414276599884, 0.8773288726806641, -0.7255150079727173, -0.40815600752830505, -0.1319742351770401, 0.21663250029087067, -0.4546282887458801, -0.3409728705883026, 0.34882622957229614, -0.6544167399406433, 0.5483701229095459, -0.463784396648407, -0.5508073568344116, -0.1893792748451233, 0.48701319098472595, -0.5022752285003662, 1.0750064849853516, 0.19040144979953766, -0.8937612771987915, -0.1604291945695877, -0.7755653262138367, -0.39840877056121826, -0.2848183512687683, -0.13255754113197327, -0.0350329652428627, 0.1656913459300995, 0.44442272186279297, 0.40113013982772827, -0.2215401828289032, -0.15270771086215973, -0.02632552944123745, -0.6155266165733337, 0.39524760842323303, -0.499288946390152, 0.5332250595092773, -0.06863845139741898, -0.28963467478752136, 0.13277140259742737, -0.3478187918663025, -0.3603675365447998, 0.06574346870183945, -0.38934728503227234, -0.6680446267127991, -0.25829535722732544, -0.4762832224369049, 0.09656944125890732, 0.3770234286785126, -0.19041575491428375, 0.2537821829319, -0.4957600235939026, 0.17149889469146729, 0.9695258736610413, 0.1335018128156662, 0.9237701296806335, -0.29223811626434326, 0.7717384099960327, -0.0876639112830162, 0.2566682696342468, -0.3163236975669861, -0.2369716763496399, -0.8751516938209534, 0.060510486364364624, 0.05952753871679306, 0.6507197022438049, -0.5641353130340576, 0.01964106410741806, -0.06400839984416962, 0.04511931911110878, -0.5986274480819702, 0.07437870651483536, 0.6303958296775818, 0.8530198931694031, 0.09864497929811478, 0.031077079474925995, -0.39305809140205383, -0.9726188778877258, -0.02813946269452572, 0.06813060492277145, 0.12795184552669525, 0.3665684163570404, -0.0013769951183348894, 0.0022636018693447113, 0.6067542433738708, -0.6131023168563843, -0.13035663962364197, -0.27698418498039246, -0.24366535246372223, 0.23405992984771729, 0.10300377756357193, 0.40427955985069275, -0.7621601819992065, -0.6399236917495728, -0.42176300287246704, -0.4127242863178253, -0.24113090336322784, -0.12542228400707245, -0.5339109897613525, 0.2227541208267212, 0.858768105506897, -0.5515047311782837, 0.1117357462644577, 0.42096513509750366, -0.06458839774131775, 0.41525542736053467, -0.2773517966270447, 0.09783687442541122, -1.206466794013977, 0.08578884601593018, 0.03333151713013649, -0.18328453600406647, -0.7077897787094116, -0.11871392279863358, 0.1210983619093895, 0.028799323365092278, -0.5687516927719116, 0.8352922201156616, -0.8762019872665405, -0.2813960909843445, -0.6161218881607056, 0.48745930194854736, 0.2707139551639557, 0.521337628364563, -0.05231834948062897, 0.9706624746322632, 0.46252337098121643, -0.6173296570777893, -0.052580058574676514, 0.2785218358039856, -0.2117382436990738, 0.8889525532722473, -0.5028021931648254, 0.3766455054283142, -0.44797372817993164, 0.14665694534778595, -1.1381803750991821, -0.18495339155197144, 0.2587762176990509, -0.32310885190963745, 0.7740116715431213, -0.1897265762090683, -0.08332152664661407, -0.355832040309906, -0.4627528786659241, 0.15436378121376038, 0.17072971165180206, -0.3391139507293701, 0.2963515818119049, 0.5853754281997681, -0.41844722628593445, -1.1276507377624512, -0.5540151000022888, -0.17344529926776886, -0.3095526695251465, -0.4437686502933502, 0.33709296584129333, -0.10460105538368225, -0.3789272606372833, -0.11472187936306, -0.2769003212451935, 0.11691753566265106, 0.17803935706615448, 0.19956880807876587, 0.42761459946632385, 0.04333752393722534, 0.3282616436481476, -0.0640917643904686, -0.26759424805641174, 0.02418910339474678, -0.25533097982406616, 0.3700159788131714, 0.1744774878025055, -0.5088820457458496, -0.3833097815513611, 0.5584955811500549, 0.5391760468482971, 0.021001914516091347, 0.6502498388290405, 0.3438067138195038, -0.26249438524246216, -0.17309360206127167, -0.7498891353607178, -0.3857952058315277, -0.5005794763565063, 0.4068712592124939, -0.1644684076309204, -0.9984437823295593, 0.2562870383262634, 0.09225180000066757, -0.012241646647453308, 0.08821593225002289, 0.6751654148101807, -0.29788675904273987, 1.0771191120147705, 0.7934116721153259, -0.3891020119190216, 0.8554017543792725, 0.05027009919285774, 0.21975933015346527, -1.299949049949646, -0.006683412007987499, -0.7452630400657654, -0.520379364490509, -0.15669673681259155, -0.6213529706001282, 0.5148673057556152, -0.05160627141594887, 0.15627671778202057, -0.18672706186771393, -0.7689929604530334, 0.8011738061904907, 0.672566294670105, 0.07970308512449265, -0.14966613054275513, 0.06529497355222702, -0.17541299760341644, -0.057697657495737076, -0.801012396812439, -0.533045768737793, 0.7233180403709412, 0.3330720365047455, 0.6723618507385254, 0.009490802884101868, 0.4506886601448059, 0.029364557936787605, 0.28890499472618103, -0.754913330078125, 0.5488875508308411, -0.09783990681171417, -0.7430872917175293, -0.5143678784370422, -0.008719388395547867, -0.9762313961982727, 0.19873200356960297, 0.310135155916214, -0.9413855075836182, 0.14329177141189575, -0.0022283385042101145, -0.5344287157058716, -0.10465922951698303, -0.9863396883010864, 0.7570310831069946, -0.16665787994861603, -0.6093327403068542, -0.08720286190509796, -0.7337597012519836, 0.2030864953994751, 0.2605801224708557, 0.3336280882358551, -0.1514427810907364, -0.14384546875953674, 0.6818517446517944, -0.23966051638126373, 1.1064434051513672, -0.42979368567466736, -0.17000359296798706, 0.38475415110588074, -0.2660488784313202, 0.6478952169418335, -0.2003786265850067, -0.12910519540309906, -0.4718540906906128, -0.2595171332359314, -0.4104596972465515, -0.6582785248756409, 0.7806069850921631, -0.4971555471420288, -1.2806698083877563, -0.3026701509952545, -0.9883348345756531, -0.40481722354888916, 0.12615959346294403, -0.0162002295255661, 0.21149995923042297, 0.09251973778009415, 0.07675531506538391, 1.093703269958496, -0.14986181259155273, 0.5161207318305969, 0.6477090120315552, 0.2882882356643677, 0.0896131843328476, 0.602568507194519, -0.015893030911684036, 0.14125631749629974, 0.7348595857620239, 0.2869654893875122, -0.7240811586380005, -0.5234387516975403, -0.3726181387901306, 0.2711712718009949, -1.0485371351242065, 0.07571548968553543, -0.7165569067001343, 0.009575985372066498, -0.3787051737308502, -0.4505617320537567, 0.043884556740522385, -0.36237287521362305, -0.25438323616981506, -0.132564976811409, 0.20421303808689117, 0.5448768734931946, 0.3065299987792969, 0.5290870666503906, -0.9013503193855286, 0.1392524242401123, 0.449715256690979, 0.006619303487241268, 0.3133510947227478, -0.6886376738548279, -0.36272990703582764, -0.14742836356163025, -0.2779650092124939, -0.9095704555511475, 0.18829211592674255, -0.09790290147066116, 0.956680417060852, 0.2781006097793579, -0.07116226106882095, 0.6499857306480408, -0.6314581632614136, 0.6919735670089722, -0.05587821826338768, -0.8321319222450256, 0.5656797289848328, -0.1667463332414627, 0.8149293065071106, 0.4941427409648895, 0.4164237678050995, -0.6578576564788818, -0.4159165918827057, -0.4184549152851105, -0.654320478439331, 1.173592209815979, -0.32528528571128845, 0.29200658202171326, -0.07201135903596878, 0.5882036089897156, -0.15747107565402985, 0.05467848852276802, -0.5197098851203918, -0.07104689627885818, 0.306262731552124, -0.43494123220443726, 0.12198814749717712, -0.584255039691925, -0.35166826844215393, -0.014811327680945396, 0.6213622093200684, -0.1275085210800171, 0.3529919683933258, 0.3241460919380188, -0.12754610180854797, -0.06300470978021622, 0.3765321373939514, 0.9393270015716553, 0.7023029923439026, 0.03387708589434624, 0.25744426250457764, 0.2535032033920288, -0.5005695819854736, 0.19821928441524506, -0.03642139956355095, -0.400669127702713, -0.12582147121429443, 0.15863832831382751, 0.8412591218948364, 0.484679639339447, -0.3424510359764099, 0.48399338126182556, -0.03379690274596214, 0.19350384175777435, 0.06967242807149887, 0.12958019971847534, 0.4008672833442688, 0.32270073890686035, 0.410569429397583, -0.4725895822048187, 0.06389697641134262, -0.37235027551651, 0.04738111421465874, 0.5660892128944397, -0.5300345420837402, 0.009473892860114574, 0.6107847094535828, 0.20885083079338074, -0.20841673016548157, 0.338697612285614, 0.23452633619308472, -0.5392081141471863, 0.7301855683326721, 0.6163387298583984, 0.7092796564102173, -0.44337254762649536, 0.0292032640427351, 0.18766970932483673, 0.2823091745376587, -0.03937471657991409, 0.28675028681755066, -0.17429038882255554, -0.6195961833000183, -0.41362133622169495, -0.340972363948822, -0.5574489831924438, -0.14227303862571716, -0.4304923713207245, 0.09480596333742142, -0.34592995047569275, -0.0807485580444336, 0.08183789998292923, -0.12998320162296295, -0.38254690170288086, 0.04416463524103165, 0.10371821373701096, 0.7464456558227539, -0.4821407198905945, 0.8653453588485718, 0.8510144352912903, -0.07191887497901917, -0.6510612368583679, 0.17746570706367493, 0.20707185566425323, -0.9901494383811951, 0.38461288809776306, 0.38958340883255005, -0.22652539610862732, 0.09957926720380783, -0.6516867280006409, -0.840327799320221, 1.038003921508789, 0.2555078864097595, -0.6386660933494568, -0.19824367761611938, -0.06612630933523178, 0.3078766465187073, -0.29939940571784973, 0.20428985357284546, 0.3492421805858612, 0.4829801321029663, 0.10573042929172516, -0.4954797327518463, 0.09725814312696457, 0.056512076407670975, 0.05591397359967232, 0.137063667178154, -0.8091211915016174, 0.6509247422218323, -0.3088013231754303, -0.26291024684906006, -0.361734002828598, 0.29892829060554504, 0.41316860914230347, 0.42809027433395386, 0.5215046405792236, 0.27770376205444336, 0.839698314666748, 0.011833557859063148, 1.3110672235488892, -0.3307040333747864, -0.1051817387342453, 1.2238168716430664, -0.4394964277744293, 0.6343216300010681, 0.8813955187797546, -0.1250017136335373, 0.3197520077228546, 0.6082879304885864, 0.34243905544281006, 0.586618185043335, 0.06087835133075714, -0.29904159903526306, 0.09949988126754761, -0.2711977958679199, -0.14741301536560059, 0.17097468674182892, 0.6225992441177368, -0.36000192165374756, -0.18781864643096924, 0.04684479534626007, -0.08075587451457977, 0.1504410356283188, -0.40626218914985657, 0.8135949373245239, 0.2076662927865982, -0.9422027468681335, 0.5180141925811768, 0.03721600025892258, 0.4337099492549896, -0.5884557366371155, -0.03304588049650192, -0.324677050113678, 0.13105882704257965, 0.046932365745306015, -0.7277190685272217, 0.30199021100997925, -0.05889697000384331, -0.7382856011390686, -0.40679338574409485, 0.8899943828582764, -0.5085930824279785, -0.2216089963912964, 0.08579409867525101, 0.45851629972457886, 0.1563117951154709, 0.0024484111927449703, -0.7874027490615845, 0.03864521533250809, 0.12422613054513931, -0.3522821068763733, 0.4961622357368469, 0.6286007165908813, -0.34391114115715027, 0.6091024875640869, 0.6394690275192261, -0.32807010412216187, 0.1993219405412674, 0.28396105766296387, 0.6587044596672058, -0.5365473628044128, -0.5491718649864197, -0.8337606191635132, 0.4202515184879303, -0.19021843373775482, 0.07351882755756378, 0.9123408794403076, 0.14337319135665894, 0.6690788865089417, -0.19768863916397095, 0.684319794178009, 0.2310495525598526, 0.7170221209526062, -0.6173758506774902, 0.41839954257011414, -0.4703303873538971, 0.37648555636405945, -0.09719844907522202, -0.9560062885284424, -0.17374958097934723, 0.4644853472709656, -0.6868133544921875, 0.03659162297844887, 0.7703891396522522, 0.9108693599700928, 0.05109257251024246, -0.2948985695838928, 0.3584846258163452, 0.11125806719064713, -0.0616169273853302, 0.6854314208030701, 0.8704043030738831, 0.007008069194853306, 0.4511200487613678, -0.07541526854038239, -0.31410524249076843, -0.5093533396720886, -0.728686511516571, -0.7910817265510559, -0.34466853737831116, -0.036886345595121384, -0.045058876276016235, 0.14629079401493073, 0.6272420287132263, 0.6591342091560364, -0.5569851994514465, -0.07512828707695007, 0.09748254716396332, 0.6167839169502258, -0.15225206315517426, -0.2001306563615799, 0.540002167224884, -0.43978235125541687, -1.1316730976104736, 0.6111831665039062, 0.6047844290733337, 0.24519845843315125, -0.3579508066177368, 0.05812979117035866, -0.6753899455070496, 0.18540549278259277, 0.5767341256141663, 0.24832597374916077, -0.6370505094528198, -0.20452068746089935, 0.40946608781814575, -0.5352966785430908, 0.12402725964784622, 0.788928747177124, -0.21264897286891937, 0.40100160241127014, 0.6387945413589478, 0.7048735618591309, 0.32505178451538086, 0.37862375378608704, 0.6076636910438538, -1.2338532209396362, 0.4647815227508545, 0.016777582466602325, 0.2393583506345749, 0.481638103723526, -0.7039785385131836, 0.43247729539871216, -0.05440674349665642, -0.6025978922843933, -0.6068967580795288, 0.0056306952610611916, -0.8373473286628723, -0.424405038356781, 1.1492112874984741, -0.018479926511645317, -0.7118375897407532, -0.2688427269458771, -0.625761866569519, 0.2545681297779083, -0.30130326747894287, 0.8875596523284912, 1.0389978885650635, -0.14691497385501862, -0.4881843626499176, -0.8206624388694763, 0.3073095977306366, 0.8504783511161804, -0.733435332775116, 0.15006548166275024, 0.49754324555397034, 0.09516534209251404, 0.07060215622186661, 0.8125023245811462, -0.16411401331424713, 0.21313872933387756, -0.28614363074302673, -0.016712460666894913, 0.14270459115505219, -0.39399489760398865, -0.45735305547714233, 0.20618057250976562, 0.12406465411186218, -0.3508589565753937 ]
http://arxiv.org/abs/2406.17055v2
http://arxiv.org/pdf/2406.17055v2
Large Language Models Assume People are More Rational than We Really are
2024-06-24T18:15:27
2024-07-01T17:29:54
Ryan Liu, Jiayi Geng, Joshua C. Peterson, Ilia Sucholutsky, Thomas L. Griffiths
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
In order for AI systems to communicate effectively with people, they must understand how we make decisions. However, people's decisions are not always rational, so the implicit internal models of human decision-making in Large Language Models (LLMs) must account for this. Previous empirical evidence seems to suggest that these implicit models are accurate -- LLMs offer believable proxies of human behavior, acting how we expect humans would in everyday interactions. However, by comparing LLM behavior and predictions to a large dataset of human decisions, we find that this is actually not the case: when both simulating and predicting people's choices, a suite of cutting-edge LLMs (GPT-4o & 4-Turbo, Llama-3-8B & 70B, Claude 3 Opus) assume that people are more rational than we really are. Specifically, these models deviate from human behavior and align more closely with a classic model of rational choice -- expected value theory. Interestingly, people also tend to assume that other people are rational when interpreting their behavior. As a consequence, when we compare the inferences that LLMs and people draw from the decisions of others using another psychological dataset, we find that these inferences are highly correlated. Thus, the implicit decision-making models of LLMs appear to be aligned with the human expectation that other people will act rationally, rather than with how people actually act.
[ -0.35009291768074036, -0.7134811878204346, 1.100925087928772, 0.27993887662887573, 0.13620132207870483, 0.01747060939669609, -0.3610477149486542, -0.7395752668380737, -0.030282415449619293, 0.15517649054527283, -0.46569302678108215, -0.1380714476108551, -0.4899776875972748, -0.022842640057206154, -0.18395255506038666, 0.6692602634429932, 0.11117800325155258, 0.3407619893550873, -0.3282110393047333, -0.09634904563426971, -0.2587253451347351, -0.7422493100166321, -0.8964012265205383, -0.7422567009925842, 0.48927587270736694, -0.0011475656647235155, 1.079802393913269, 0.4406030476093292, 0.14107361435890198, 0.25730395317077637, -0.0011226466158404946, -0.11324167996644974, -0.5942255258560181, -0.06938645988702774, -0.29262134432792664, -0.6786914467811584, -0.33329150080680847, 0.36228591203689575, 0.5160453915596008, 0.6500590443611145, 0.00045798099017702043, -0.03827337175607681, -0.15750965476036072, 0.6815879940986633, -0.4296528697013855, 0.23755688965320587, -0.4932160973548889, -0.10834329575300217, 0.13624125719070435, 0.017588749527931213, -0.5673197507858276, -0.2719458341598511, 0.34494027495384216, -0.5187192559242249, -0.07613445073366165, 0.3909446895122528, 0.7021498680114746, 0.38804298639297485, -0.6337419748306274, -0.216070756316185, -0.9801206588745117, 0.848680317401886, -0.6616209149360657, 0.3018712103366852, 0.6290143132209778, 0.1698448210954666, -0.5155190825462341, -0.3981586694717407, -0.7610371708869934, -0.5505415797233582, -0.16347026824951172, 0.026230202987790108, -0.0174495130777359, 0.308867871761322, 0.612064778804779, -0.10594993829727173, -0.30181869864463806, 0.2323688417673111, -0.2907419502735138, 0.10782159119844437, 0.7816397547721863, 0.25073766708374023, 0.21353207528591156, 0.06237420812249184, -0.4017363488674164, -0.03618739917874336, -0.8016507029533386, 0.1470651924610138, 0.2551717758178711, 0.04199523106217384, -0.03624430671334267, 0.626264214515686, -0.009942526929080486, 0.4869939684867859, 0.17876924574375153, -0.19446460902690887, 0.08314516395330429, 0.02399790659546852, -0.3458611071109772, 0.32365965843200684, 0.7433688044548035, 0.5759963989257812, 1.0214229822158813, 0.03766715154051781, -0.16799983382225037, 0.3288081884384155, 0.1611998975276947, -0.5473875999450684, 0.0035838314797729254, 0.44763582944869995, -0.3722318410873413, -0.025353077799081802, 0.010476144962012768, -0.5742871165275574, -0.5155366659164429, -0.6787554621696472, 0.37819886207580566, -0.15427862107753754, -0.23499710857868195, 0.11232168227434158, 0.09063879400491714, 0.2909165322780609, 0.6196277737617493, -0.867117166519165, 0.4336947202682495, 1.0334144830703735, 0.6243225336074829, -0.2793934643268585, -0.7201296091079712, -0.30194342136383057, 0.32296091318130493, -0.7164047360420227, 0.8397716283798218, -0.7216737270355225, -0.3665243983268738, -0.13000726699829102, -0.2244519144296646, -0.09004040062427521, -0.3558761477470398, 0.4942982792854309, -0.4736478328704834, 0.07702124863862991, -0.6377881169319153, -0.6336520910263062, -0.28205594420433044, 0.1619826853275299, -0.5325649380683899, 0.6995028853416443, -0.0069026281125843525, -0.4899800419807434, 0.689802885055542, -0.497134804725647, -0.23670414090156555, -0.0839286595582962, -0.47440680861473083, -0.09304071217775345, 0.2945125699043274, -0.04615577310323715, 0.3936064541339874, -0.651755690574646, 0.515783965587616, -0.6943831443786621, -0.4586637020111084, 0.7786580920219421, -0.5414548516273499, 0.7539321184158325, 0.16588681936264038, -0.35595905780792236, 0.2392185628414154, -0.22232556343078613, -0.021569229662418365, 0.04332314059138298, -0.3062107264995575, -0.5314953923225403, 0.39934271574020386, -0.2180458903312683, 0.5108853578567505, 0.10750839859247208, -0.33886539936065674, 0.40185976028442383, -0.16458185017108917, 0.5319716334342957, 1.1642630100250244, -0.4177420437335968, 0.6894819736480713, -0.6130260825157166, 0.2630043029785156, -0.23958683013916016, 0.19176645576953888, 0.267608106136322, -0.5302118062973022, -0.7424196004867554, -0.4197908639907837, 0.07210370153188705, 0.4421381652355194, 0.021810127422213554, 0.08023322373628616, -0.4440089464187622, -0.23290392756462097, -0.37505364418029785, -0.14368219673633575, 0.17198792099952698, 0.2621896266937256, 0.08460278064012527, 0.1903737485408783, -0.5003800988197327, -0.9419017434120178, -0.4263589680194855, -0.5586870908737183, 0.03689766675233841, 0.35063570737838745, 0.4894154965877533, -0.28519830107688904, 1.0991078615188599, -0.2475845068693161, 0.060797467827796936, -0.215862438082695, 0.2523319125175476, 0.14909407496452332, 0.4708719849586487, 0.3807823061943054, -0.7675489187240601, -0.3263342082500458, -0.04411449655890465, -0.7063328623771667, 0.025443051010370255, -0.27298256754875183, -0.21471305191516876, 0.43830570578575134, 0.3547387719154358, -0.8533705472946167, 0.25246602296829224, 0.4186599850654602, -0.48488304018974304, 0.387437641620636, -0.34266623854637146, 0.09380730986595154, -0.7616558074951172, -0.23816128075122833, 0.17363731563091278, -0.1539027988910675, -0.4488072991371155, -0.30758944153785706, -0.025002261623740196, 0.4915717542171478, -0.3166531026363373, 0.7655104398727417, -0.39896634221076965, -0.5503916144371033, -0.0851505845785141, -0.14560021460056305, -0.1952190399169922, 0.452532559633255, 0.09994928538799286, 0.8827082514762878, 0.4082699716091156, -0.540727436542511, 0.15299296379089355, -0.07767760753631592, -0.48982399702072144, 0.6723220348358154, -0.6714198589324951, -0.010611085221171379, -0.38485899567604065, 0.5121697187423706, -0.839652419090271, -0.5314136743545532, -0.008590130135416985, -0.349857360124588, 0.1869141310453415, -0.1323670595884323, -0.5530677437782288, -0.21542853116989136, -0.13733644783496857, 0.3443993926048279, 0.8216878175735474, -0.5734018087387085, 0.9642783999443054, 0.5214400887489319, -0.22620724141597748, -0.49892348051071167, -0.7786374688148499, 0.0485224686563015, -0.29967552423477173, -0.6644174456596375, 0.018000919371843338, -0.21856987476348877, -0.950665295124054, -0.1071760430932045, 0.09159454703330994, -0.1982264220714569, 0.010439980775117874, 0.3480997681617737, 0.6531352400779724, -0.1632697433233261, 0.08670896291732788, -0.27054306864738464, -0.06779032200574875, 0.3452811539173126, -0.21056292951107025, 0.44642144441604614, -0.2372405230998993, -0.5904825329780579, -0.3730188012123108, 0.15461745858192444, 0.8774895071983337, 0.14376035332679749, 0.7984763979911804, 0.19556330144405365, -0.4087461531162262, -0.015232505276799202, -0.8060532808303833, -0.15175755321979523, -0.4097186326980591, 0.23383396863937378, -0.3462112545967102, -0.8614652156829834, 0.4941122233867645, -0.013461558148264885, 0.016401948407292366, 0.4099406599998474, 0.5716313123703003, -0.3244507908821106, 1.6528712511062622, 0.36713293194770813, 0.013067895546555519, 0.21805934607982635, 0.1195753663778305, 0.09115162491798401, -0.8395225405693054, -0.22323305904865265, -0.4723966419696808, -0.3643568158149719, -0.792239248752594, -0.2589307725429535, 0.11311360448598862, 0.01092562172561884, -0.7077139616012573, -0.17054203152656555, -0.13168492913246155, 0.6989542841911316, 0.44448792934417725, -0.25485920906066895, 0.24971453845500946, 0.02330896258354187, 0.04307670146226883, -0.10543055087327957, -0.5829973816871643, -0.7519630193710327, 0.9708859324455261, 0.3893999457359314, 1.0180991888046265, 0.16326919198036194, 0.20777492225170135, 0.24016784131526947, 0.7764813303947449, -0.8493552207946777, 0.450450599193573, 0.1464194804430008, -0.6963713765144348, -0.2660091519355774, -0.4970964193344116, -0.9153691530227661, 0.40205979347229004, -0.30924615263938904, -0.8917620778083801, 0.24161241948604584, 0.11192819476127625, -0.3940334618091583, 0.1526065319776535, -0.8918919563293457, 0.5370643734931946, -0.508131742477417, -0.4815400540828705, -0.36466699838638306, -0.4680297374725342, 0.6272336840629578, -0.16338185966014862, 0.3376118838787079, -0.4235457181930542, -0.17252418398857117, 0.5743221044540405, -0.18264608085155487, 0.866080641746521, 0.033196598291397095, -0.10251723974943161, 0.20479993522167206, 0.20668873190879822, 0.738489031791687, 0.045364368706941605, -0.32358497381210327, 0.30185097455978394, -0.05882348120212555, -0.38726794719696045, -0.5973193049430847, 0.8292471766471863, -1.0729963779449463, -0.7619696259498596, -0.7025964856147766, -0.5162675976753235, -0.15223060548305511, -0.06200515106320381, 0.12733013927936554, 0.3290591239929199, -0.2960457503795624, -0.08671152591705322, 0.5323726534843445, -0.07417487353086472, 0.17763490974903107, 0.5104656219482422, -0.32748278975486755, -0.24384716153144836, 0.6501103639602661, 0.22992540895938873, 0.3933665156364441, 0.2270149290561676, 0.30235812067985535, -0.47345325350761414, -0.318802148103714, -0.14302928745746613, 0.4818877577781677, -0.7478030323982239, 0.36120349168777466, -0.6039782166481018, 0.14784890413284302, -0.31065231561660767, -0.38211455941200256, -0.22867824137210846, -0.15513058006763458, -0.11989939957857132, -0.24982231855392456, 0.2582748830318451, 1.1674124002456665, -0.026060855016112328, 0.07393153756856918, -0.6050074100494385, 0.07077717781066895, 0.5713760852813721, 0.21129457652568817, 0.1547183245420456, -0.3845418095588684, 0.09776151180267334, 0.24366049468517303, 0.14075030386447906, -0.5640677213668823, 0.38249796628952026, -0.13417202234268188, 0.8186793327331543, 0.32045069336891174, 0.014057834632694721, 0.7205823659896851, -0.4661209285259247, 0.6978151202201843, -0.01801452599465847, -0.8311815857887268, -0.011951436288654804, -0.39154142141342163, 0.01710221916437149, 0.41595712304115295, 0.43213149905204773, -0.5935792922973633, -0.05072682350873947, -0.6105383038520813, -0.5641462206840515, 0.9124110341072083, 0.02997545339167118, 0.10914956778287888, -0.14504262804985046, 0.2326352745294571, 0.011682383716106415, 0.1612696796655655, -0.8450254201889038, -0.2100508213043213, 0.05483910068869591, -0.25438228249549866, -0.24919596314430237, -0.32304999232292175, -0.04031962901353836, -0.1852763593196869, 0.4765697419643402, -0.0778074562549591, 0.40583786368370056, 0.1448807567358017, 0.07034942507743835, -0.4555300772190094, 0.24876566231250763, 0.8672836422920227, 0.876916229724884, -0.26125603914260864, 0.1860148012638092, 0.3213317394256592, -0.12815816700458527, 0.25612667202949524, -0.18354077637195587, 0.016719549894332886, -0.4895128607749939, 0.33827289938926697, 0.8534384965896606, 0.21186816692352295, -0.9468567967414856, 0.5240843892097473, -0.27266648411750793, -0.1166340783238411, -0.7984606027603149, 0.17970256507396698, 0.21933968365192413, 0.41680169105529785, 0.41897112131118774, 0.30002400279045105, -0.12756389379501343, -0.6998001337051392, -0.14992934465408325, 0.6090187430381775, -0.3153384327888489, -0.39212939143180847, 0.5356854796409607, 0.2242671251296997, -0.5553215742111206, 0.7211161851882935, -0.1540111005306244, -0.5721636414527893, 0.7168456315994263, 0.4052199125289917, 1.0002421140670776, -0.019507508724927902, 0.036513183265924454, 0.3592804968357086, 0.42229920625686646, -0.6013335585594177, 0.030497213825583458, 0.1515807956457138, -0.9155967831611633, -0.8304662704467773, -0.3832928240299225, -0.3745066523551941, 0.3153906762599945, -0.41014665365219116, 0.1670285165309906, -0.4014471173286438, -0.09141309559345245, -0.26618701219558716, -0.15695412456989288, -0.557878315448761, 0.07798445969820023, 0.2731197774410248, 0.8637105226516724, -0.7163093090057373, 0.8462188243865967, 0.5053191781044006, -0.28092244267463684, -0.82601398229599, 0.2456798106431961, -0.07952898740768433, -0.8671174645423889, 1.069960355758667, 0.26666978001594543, -0.0591256320476532, -0.10008108615875244, -0.7058500647544861, -1.1007171869277954, 0.8993268013000488, 0.5865472555160522, -0.49644705653190613, -0.1618701070547104, 0.07123807817697525, 0.5292331576347351, -0.595323920249939, 0.48552101850509644, 0.5890037417411804, 0.756749153137207, 0.2033957988023758, -0.8914933204650879, -0.04538523405790329, 0.039957135915756226, -0.02543395385146141, 0.24716027081012726, -0.7388026714324951, 1.168352723121643, -0.4974275827407837, -0.2295851707458496, -0.11257611960172653, 0.44758671522140503, 0.3561265766620636, 0.17828217148780823, 0.5929940938949585, 0.3739713728427887, 0.7635154128074646, -0.10399371385574341, 1.4662518501281738, -0.09668384492397308, 0.17982454597949982, 1.206526756286621, -0.6770224571228027, 0.8504283428192139, 0.3641373813152313, -0.318850040435791, 0.33512797951698303, 0.7830767035484314, 0.21810533106327057, 0.2528035640716553, -0.054955191910266876, -0.20612254738807678, -0.7044582962989807, 0.04885777831077576, -0.07531992346048355, 0.4068354368209839, 0.7227781414985657, -0.3493865430355072, 0.12865440547466278, -0.5498848557472229, 0.023885859176516533, -0.15276247262954712, -0.2787909507751465, 0.8833037614822388, 0.015854623168706894, -1.1187739372253418, 0.5216141939163208, -0.16098016500473022, 0.5983246564865112, -0.44834068417549133, -0.0021647245157510042, 0.07375545799732208, 0.037459950894117355, -0.17301063239574432, -0.9593203663825989, -0.005630443338304758, -0.0388176292181015, -0.25500816106796265, -0.12083223462104797, 0.5142672061920166, -0.22787147760391235, -0.3166431486606598, 0.46443527936935425, 0.5586748123168945, 0.21055665612220764, 0.013396929018199444, -0.8163531422615051, 0.038522183895111084, 0.056317877024412155, -0.5012383460998535, 0.46906813979148865, 0.24181868135929108, -0.31143420934677124, 0.8301538825035095, 0.9298382997512817, 0.16229714453220367, 0.036937110126018524, -0.003771525574848056, 0.45332595705986023, -0.6264263391494751, -0.34863972663879395, -1.1475417613983154, 0.26281067728996277, -0.14186879992485046, -0.17187075316905975, 0.40536177158355713, 0.25511834025382996, 0.8362053036689758, 0.19947251677513123, 1.0561190843582153, 0.4012558162212372, 0.21316075325012207, -0.5689195990562439, 0.3381637930870056, -0.3013993203639984, 0.2913070321083069, -0.1274605095386505, -1.0565221309661865, 0.03763363137841225, 0.9250537157058716, -0.7277061343193054, 0.4179476499557495, 0.6752576231956482, 0.7032923102378845, 0.1634162962436676, 0.14556971192359924, 0.46616771817207336, 0.553796648979187, 0.2848193049430847, 0.5222496390342712, 1.2192796468734741, 0.16615882515907288, 0.21793930232524872, 0.09912332892417908, -0.29242071509361267, -0.3798908591270447, -0.9710078835487366, -0.8903910517692566, -0.4246640205383301, 0.02629324235022068, -0.1545208990573883, -0.10898607969284058, 1.526132583618164, 0.7024136185646057, -0.6159392595291138, -0.4009692072868347, -0.25470706820487976, 0.15701796114444733, -0.03473634272813797, -0.21512146294116974, 0.0403745211660862, -0.15633100271224976, -0.9591237306594849, 0.17625728249549866, 0.3227215111255646, 0.36322927474975586, -0.4409346878528595, -0.4101298451423645, -0.13991418480873108, 0.4792557656764984, 0.6105267405509949, 0.22639523446559906, -0.9814969301223755, -0.32673314213752747, -0.15556766092777252, -0.513837456703186, 0.13524408638477325, 0.6251177787780762, -0.8093211054801941, 0.08734506368637085, 0.4821392595767975, 0.4531107544898987, 0.1898234635591507, -0.07176079601049423, 0.801903486251831, -0.04913675785064697, -0.03825097158551216, 0.08946150541305542, 0.552972137928009, 0.34180161356925964, -0.42276015877723694, 0.47636738419532776, 0.041054967790842056, -0.7957002520561218, -0.6330434083938599, 0.3567262291908264, -0.7921423316001892, -0.4559696316719055, 1.373898983001709, 0.0480520986020565, -0.48451682925224304, -0.17662666738033295, -0.35189104080200195, -0.0021700155921280384, -0.7926092147827148, 0.8381343483924866, 0.8183592557907104, -0.27158787846565247, 0.14987757802009583, -0.7697529792785645, 0.5513709187507629, 0.36526811122894287, -0.7810252904891968, 0.291232705116272, 0.7025853395462036, 0.14193779230117798, 0.09150880575180054, 0.6300328373908997, 0.31514397263526917, 0.2106277197599411, -0.21157482266426086, -0.19649507105350494, 0.16742980480194092, -0.02136966958642006, -0.2364867925643921, -0.04109279811382294, 0.38473498821258545, 0.39771658182144165 ]
http://arxiv.org/abs/2406.17038v1
http://arxiv.org/pdf/2406.17038v1
modeLing: A Novel Dataset for Testing Linguistic Reasoning in Language Models
2024-06-24T18:00:59
2024-06-24T18:00:59
Nathan A. Chi, Teodor Malchev, Riley Kong, Ryan A. Chi, Lucas Huang, Ethan A. Chi, R. Thomas McCoy, Dragomir Radev
cs.CL
cs.CL
We introduce modeLing, a novel benchmark of Linguistics Olympiad-style puzzles which tests few-shot reasoning in AI systems. Solving these puzzles necessitates inferring aspects of a language's grammatical structure from a small number of examples. Such puzzles provide a natural testbed for language models, as they require compositional generalization and few-shot inductive reasoning. Consisting solely of new puzzles written specifically for this work, modeLing has no risk of appearing in the training data of existing AI systems: this ameliorates the risk of data leakage, a potential confounder for many prior evaluations of reasoning. Evaluating several large open source language models and GPT on our benchmark, we observe non-negligible accuracy, demonstrating few-shot emergent reasoning ability which cannot merely be attributed to shallow memorization. However, imperfect model performance suggests that modeLing can be used to measure further progress in linguistic reasoning.
[ -0.06556471437215805, -1.136789321899414, 0.6885881423950195, -0.003741301828995347, -0.039225589483976364, -0.21038618683815002, -0.1454172283411026, -0.20634722709655762, -0.41968390345573425, 0.35409489274024963, -0.5960211157798767, -0.43764451146125793, -0.40692636370658875, 0.03981240466237068, -0.6224343776702881, 0.6802482604980469, 0.06492675840854645, 0.029787516221404076, -0.6263081431388855, 0.08749665319919586, -0.43201735615730286, -0.330865740776062, -0.5363907814025879, -0.6036767959594727, 0.22461414337158203, 0.3374394178390503, 0.779782772064209, 0.7371784448623657, 0.45523717999458313, 0.22693371772766113, -0.04580633342266083, -0.15504655241966248, -0.30408257246017456, 0.06716796010732651, -0.22261136770248413, -0.9316529035568237, -0.14813978970050812, 0.20863527059555054, 0.6337952017784119, 0.8939249515533447, -0.09786827117204666, 0.20633454620838165, -0.34441033005714417, 0.44081732630729675, -0.45983120799064636, 0.36842042207717896, -0.8963689804077148, -0.030382080003619194, -0.4190026819705963, 0.30697622895240784, -0.5106061100959778, -0.26879557967185974, -0.019861768931150436, -0.505826473236084, 0.2126474231481552, 0.08511289209127426, 0.8285159468650818, 0.38257119059562683, -0.28717631101608276, -0.08800243586301804, -0.6862258315086365, 0.5715212225914001, -0.957568347454071, 0.23056310415267944, 0.47341880202293396, 0.7216890454292297, -0.153766930103302, -0.561270534992218, -0.6608904600143433, -0.6766636371612549, -0.013723915442824364, -0.051560454070568085, -0.1155642420053482, -0.18715885281562805, 0.4560787081718445, 0.24974535405635834, -0.9009361267089844, 0.02737140655517578, -0.23309409618377686, 0.150778129696846, 0.7688378095626831, 0.34471437335014343, 0.4542856514453888, -0.008504576981067657, 0.023146485909819603, -0.003731355769559741, -0.9746025204658508, -0.09442923218011856, 0.540830135345459, 0.47401872277259827, -0.10195599496364594, 0.8576974868774414, -0.30126383900642395, 0.8012120723724365, -0.3432958722114563, 0.2492399662733078, 0.09104674309492111, -0.2661047577857971, -0.22866828739643097, -0.31725218892097473, 0.7209683656692505, -0.11940175294876099, 0.4152953624725342, -0.18659737706184387, -0.24235162138938904, 0.38799798488616943, -0.024989033117890358, -0.449174702167511, -0.7039401531219482, -0.06996922194957733, -0.30633115768432617, -0.2871474325656891, -0.12872245907783508, -0.5815471410751343, -0.2287885695695877, -0.20308062434196472, 0.39909690618515015, -0.5559945106506348, -0.4061172604560852, 0.14330774545669556, -0.1147138848900795, 0.07942686229944229, 0.14074967801570892, -0.8838142156600952, 0.41066429018974304, 1.0779205560684204, 0.6564208269119263, -0.11804883927106857, -0.45555222034454346, -0.22745220363140106, -0.3300936222076416, -0.6073883771896362, 0.9325990676879883, -0.7834320664405823, -0.1967429220676422, -0.09986124187707901, -0.267964631319046, -0.1883368045091629, -0.6472405195236206, 0.4449790418148041, -0.31327566504478455, 0.11652347445487976, 0.01855640858411789, -0.9809232950210571, -0.04941499978303909, 0.4325218200683594, -0.637319028377533, 1.1279219388961792, 0.10106765478849411, -0.3929537236690521, 0.21053701639175415, -0.7430930733680725, -0.21320419013500214, 0.20677395164966583, -0.37794408202171326, -0.4146967828273773, 0.2964746057987213, 0.004578621592372656, 0.043156567960977554, -0.41646623611450195, 0.29879024624824524, -0.5451324582099915, -0.36972013115882874, 0.2989861071109772, -0.3023459315299988, 0.9004643559455872, 0.10489978641271591, -0.2279413938522339, -0.25315430760383606, -0.8297111392021179, 0.2846449315547943, 0.35436469316482544, -0.1332777738571167, -0.21745210886001587, 0.14819654822349548, -0.1375715583562851, 0.24363790452480316, 0.035128600895404816, -0.4688401222229004, 0.5143916606903076, -0.5655619502067566, 0.3150394558906555, 0.5181730389595032, -0.18869613111019135, 0.37869104743003845, -0.5468087196350098, 0.5911609530448914, -0.05840998515486717, -0.0016282136784866452, -0.3185902535915375, -0.8848931789398193, -0.8316280841827393, -0.13428081572055817, 0.4696104824542999, 0.5787358283996582, -0.500018835067749, 0.06124553456902504, -0.19580663740634918, -0.6476781368255615, -0.49798059463500977, -0.013911775313317776, 0.365263432264328, 0.35907718539237976, 0.08337559551000595, 0.08072245121002197, -0.38993334770202637, -1.0257974863052368, -0.6374639868736267, -0.39846596121788025, -0.05535483360290527, 0.2859863042831421, 0.9333717226982117, 0.05322927609086037, 1.028077244758606, -0.31254294514656067, 0.10707738995552063, -0.2985413074493408, 0.5815033316612244, 0.34648823738098145, 0.5409588813781738, 0.5162540078163147, -0.538457989692688, -0.34495803713798523, -0.08697717636823654, -0.8190528750419617, -0.22254349291324615, 0.046777546405792236, 0.052054356783628464, -0.02565338835120201, 0.4173353910446167, -0.769808292388916, 0.47702115774154663, 0.30400875210762024, -0.33710771799087524, 0.7710868716239929, 0.022898389026522636, -0.09647805988788605, -0.546838104724884, 0.1264125108718872, -0.24448929727077484, -0.04160010442137718, -0.5594335198402405, 0.38026946783065796, -0.015494713559746742, -0.2580641806125641, -0.47381141781806946, 0.754925549030304, -0.37152931094169617, -0.0647551640868187, -0.26597243547439575, -0.09601258486509323, -0.14700092375278473, 0.22775842249393463, 0.012481454759836197, 0.5967469811439514, 0.6528282165527344, -0.4351139962673187, 0.424432635307312, 0.10756823420524597, -0.6538757085800171, 0.4689599573612213, -0.7600152492523193, 0.45429185032844543, -0.21961255371570587, -0.2504429221153259, -0.729911744594574, -0.27416756749153137, -0.1096067726612091, -0.49539875984191895, 0.049635790288448334, -0.4516182243824005, -0.6650848388671875, -0.3506154716014862, 0.19812986254692078, 0.40571141242980957, 0.5337041020393372, -0.2933695912361145, 0.41682595014572144, 0.1395331770181656, -0.18758663535118103, -0.1669641137123108, -0.7887188792228699, -0.07090073823928833, -0.11967949569225311, -0.733447790145874, 0.008611226454377174, -0.22481675446033478, -0.5662290453910828, 0.252729594707489, 0.11423097550868988, -0.38264092803001404, 0.43583446741104126, 0.08868707716464996, 0.25716733932495117, -0.6616278290748596, 0.3069629371166229, -0.21466098725795746, -0.022106420248746872, 0.16719841957092285, -0.1980944573879242, 0.3358284533023834, -0.2989470660686493, -0.6167435050010681, -0.27877315878868103, 0.5038962960243225, 0.2991756200790405, -0.27040743827819824, 0.5574817061424255, 0.06663087010383606, -0.7261125445365906, -0.531237781047821, -0.4114784896373749, -0.2552906572818756, -0.36392611265182495, 0.42917633056640625, -0.673315703868866, -0.6492605805397034, 0.5116563439369202, 0.004974117502570152, -0.10300794988870621, 0.43561822175979614, 0.5902557373046875, 0.01872692070901394, 1.1648508310317993, 0.512789249420166, -0.06171530485153198, 0.1638336032629013, -0.19592788815498352, 0.24010039865970612, -0.3403569459915161, -0.05593663454055786, -0.7941426038742065, -0.21206486225128174, -0.3271259665489197, -0.3387068510055542, 0.11448147147893906, 0.15822981297969818, -0.41894060373306274, 0.2785436809062958, -0.15659216046333313, 0.9671284556388855, 0.6937966346740723, -0.2518438994884491, 0.46063053607940674, -0.43198785185813904, -0.32309240102767944, -0.09762212634086609, -0.6518097519874573, -0.6605051755905151, 1.176674246788025, 0.026816850528120995, 0.9899935126304626, 0.0332917645573616, 0.5426360368728638, 0.04641100764274597, 0.2901707887649536, -0.6142174601554871, 0.41894394159317017, -0.048117496073246, -1.047767162322998, -0.21946296095848083, -0.5430711507797241, -0.7687607407569885, 0.2997913658618927, -0.21354103088378906, -0.9309409856796265, -0.03274581953883171, 0.29771432280540466, -0.2984529137611389, 0.21433097124099731, -0.621239185333252, 1.1931676864624023, -0.24951818585395813, -0.145331472158432, 0.004957686644047499, -0.4026995003223419, 0.748333215713501, 0.18989136815071106, 0.1321353167295456, -0.4663815498352051, 0.2658596336841583, 0.42685815691947937, -0.3886982798576355, 0.693583071231842, 0.1265527904033661, 0.3242241442203522, 0.2949155569076538, 0.5584277510643005, 0.4911746680736542, 0.06427114456892014, -0.1969178020954132, -0.0651010200381279, 0.031856097280979156, -0.43577006459236145, -0.8573580980300903, 0.5169398188591003, -0.5419290065765381, -0.4876323640346527, -0.5001461505889893, -0.7575313448905945, -0.2675980031490326, 0.18173432350158691, 0.2507242262363434, 0.27368322014808655, -0.4044232964515686, 0.059262603521347046, 0.5081876516342163, 0.1593564748764038, 0.23540432751178741, 0.5583452582359314, -0.17533454298973083, 0.02017854154109955, 0.6942048072814941, -0.08094989508390427, 0.38435038924217224, 0.33295178413391113, 0.3559105694293976, -0.19901619851589203, -0.7888361811637878, -0.3009185194969177, 0.21453510224819183, -0.7030513882637024, -0.02705935575067997, -0.3267081677913666, -0.2556462585926056, -0.41959381103515625, 0.2117639034986496, -0.7112888097763062, -0.6584912538528442, -0.028911184519529343, 0.025831418111920357, 0.052907925099134445, 1.004523515701294, 0.05965286120772362, 0.19957423210144043, -0.4452897310256958, 0.1742488443851471, 0.39469245076179504, 0.27515897154808044, -0.24568720161914825, -0.36891207098960876, -0.10893549770116806, 0.18531395494937897, -0.23016002774238586, -0.8441551327705383, 0.31581705808639526, 0.33858954906463623, 0.7335078120231628, 0.2244359403848648, -0.28794586658477783, 0.4580765664577484, -0.6837024092674255, 0.8798670768737793, -0.24547937512397766, -1.0117661952972412, 0.8027041554450989, -0.5134979486465454, 0.4246601164340973, 0.5779388546943665, 0.20431996881961823, -0.5566140413284302, -0.46277663111686707, -0.7776788473129272, -0.29114431142807007, 0.5553465485572815, 0.22443853318691254, -0.12100563198328018, -0.10944290459156036, 0.3462458550930023, 0.06630097329616547, 0.18533898890018463, -0.7078438401222229, -0.22541503608226776, -0.028282063081860542, -0.3213042914867401, -0.16887420415878296, -0.09983853995800018, -0.11117544025182724, -0.30592259764671326, 0.7338870167732239, -0.2726770043373108, 0.15691542625427246, -0.2081756591796875, -0.3978677988052368, 0.08003894984722137, 0.14267787337303162, 0.6181761622428894, 0.6306394934654236, -0.010634306818246841, 0.24112993478775024, -0.14879067242145538, -0.12177882343530655, 0.17999906837940216, 0.20050634443759918, -0.4480990171432495, 0.04880690947175026, 0.4987792670726776, 0.6944916844367981, 0.2924826443195343, -0.6687663793563843, 0.6126512885093689, 0.06868796050548553, -0.20619522035121918, -0.17710086703300476, 0.057093266397714615, 0.27692657709121704, 0.2737022042274475, 0.06117207556962967, 0.06940193474292755, 0.1881837099790573, -0.6992591619491577, 0.2613948881626129, 0.48879268765449524, -0.14772695302963257, -0.5303426384925842, 0.8184310793876648, -0.11593018472194672, -0.41118323802948, 0.8194148540496826, -0.4276893436908722, -0.39388787746429443, 0.7574829459190369, 0.6267864108085632, 0.776192307472229, -0.18462532758712769, 0.24679389595985413, 0.35661256313323975, 0.5241213440895081, -0.38308146595954895, 0.284485787153244, 0.17840299010276794, -0.726141095161438, -0.281027615070343, -0.2723064422607422, -0.41703370213508606, 0.2946151793003082, -0.35712480545043945, 0.3311551511287689, -0.2653704285621643, 0.0664442852139473, 0.2270650714635849, -0.12742070853710175, -0.6951555609703064, -0.05536678805947304, 0.3660878837108612, 1.1392914056777954, -1.1450854539871216, 0.824313223361969, 0.6226682662963867, -0.5304849743843079, -0.5118205547332764, -0.4513668417930603, 0.46554696559906006, -0.7050766944885254, 0.7469376921653748, 0.046085506677627563, 0.2571268379688263, -0.220598965883255, -0.703097403049469, -0.8966155052185059, 0.718557596206665, 0.716046154499054, -0.39130252599716187, -0.15014906227588654, 0.3335433602333069, 0.47506335377693176, -0.5711554288864136, 0.43321070075035095, 0.8753632307052612, 0.3629639148712158, -0.0451136976480484, -0.9384416937828064, -0.24296359717845917, -0.6346194744110107, 0.08925668150186539, 0.10096101462841034, -0.15406621992588043, 1.2975656986236572, -0.14111173152923584, -0.2416323721408844, 0.5407865047454834, 0.4822951555252075, 0.3127113878726959, 0.2209910750389099, 0.2734210193157196, 0.9652486443519592, 0.7737559676170349, -0.38529202342033386, 1.2238303422927856, 0.18270348012447357, 0.4077244997024536, 1.583616018295288, -0.43148157000541687, 0.8988057374954224, 0.16827985644340515, -0.2204514741897583, 0.513296902179718, 0.4903237521648407, -0.04147949069738388, 0.5199129581451416, 0.6307655572891235, -0.16579584777355194, -0.5217217803001404, 0.13797150552272797, -0.3831652104854584, 0.6055046319961548, 0.30211615562438965, -0.14574746787548065, -0.47447502613067627, -0.09009578078985214, -0.02910965494811535, 0.3547256588935852, -0.02765454538166523, 0.732053816318512, 0.07506211847066879, -0.7455608248710632, 0.4733985364437103, -0.15272614359855652, 0.34028252959251404, -0.3812499940395355, -0.1696430891752243, -0.32102784514427185, 0.27877548336982727, 0.1271628588438034, -0.5568157434463501, 0.3853042423725128, -0.0030803638510406017, -0.07547267526388168, 0.048453282564878464, 0.5497485399246216, -0.579232394695282, -0.7874975800514221, -0.09596511721611023, 0.7317950129508972, 0.41664671897888184, -0.21421097218990326, -0.8134753108024597, 0.00790404248982668, -0.4766826629638672, -0.13061539828777313, 0.05765320733189583, 0.44643455743789673, -0.07696174830198288, 0.8020200729370117, 0.43521881103515625, 0.22204379737377167, 0.5332410335540771, 0.23297706246376038, 0.5591479539871216, -0.6902526617050171, -0.4894239008426666, -1.02202570438385, 0.3712696433067322, -0.07282222807407379, -0.46139463782310486, 0.6026716828346252, 0.8156811594963074, 0.872160792350769, -0.18081215023994446, 0.8130455017089844, 0.11027919501066208, 0.4968145787715912, -0.4882555305957794, 0.8143707513809204, -0.31529268622398376, -0.03430982306599617, -0.04719413444399834, -0.6883978843688965, -0.40300750732421875, 0.6221327781677246, -0.3300485908985138, -0.009794813580811024, 0.8337405920028687, 0.9366323947906494, -0.1393287479877472, 0.2508021593093872, 0.455677330493927, 0.32999226450920105, 0.2730085849761963, 0.8480921983718872, 1.1707321405410767, -0.4322550594806671, 0.3085826337337494, -0.43450257182121277, -0.08118489384651184, -0.10397860407829285, -0.936703622341156, -1.1044652462005615, -0.572744607925415, -0.4766584634780884, 0.06503250449895859, 0.18777985870838165, 0.6852381825447083, 0.9163234829902649, -0.7981308102607727, -0.27263012528419495, -0.4081035256385803, 0.2729414701461792, -0.3544641137123108, -0.2348284274339676, -0.017803402617573738, -0.5485311150550842, -0.7845192551612854, 0.687052309513092, 0.1401166319847107, 0.13782206177711487, -0.28897106647491455, 0.12075283378362656, -0.4547138214111328, 0.09140890836715698, 0.2715587913990021, 0.3518711030483246, -0.8319134712219238, -0.28750506043434143, 0.07082652300596237, 0.09572604298591614, -0.04172385856509209, 0.8955357074737549, -0.8079338073730469, 0.539272129535675, 0.642767608165741, 0.6356499791145325, 0.5823079347610474, -0.25631093978881836, 0.6639475226402283, -0.6369389295578003, 0.22824348509311676, 0.5440376400947571, 0.5073085427284241, 0.2743493318557739, -0.061913859099149704, 0.5506665110588074, 0.4257659912109375, -0.44135522842407227, -1.065499186515808, 0.3069140613079071, -0.4936864972114563, -0.1370983123779297, 0.7669187188148499, -0.2596416771411896, -0.3669916093349457, -0.0006833193474449217, 0.289172887802124, -0.09472827613353729, -0.034501779824495316, 0.7329971194267273, 1.0331392288208008, -0.03853035345673561, -0.3371350169181824, -0.781740128993988, 0.5665152072906494, 0.4281218945980072, -1.0489537715911865, -0.0020025961566716433, 0.3785531222820282, 0.32265177369117737, 0.07893753051757812, 0.5343273282051086, -0.17222626507282257, 0.508148729801178, 0.3674900233745575, -0.18477821350097656, -0.10753510147333145, -0.41722145676612854, -0.34243133664131165, 0.11576076596975327, 0.14755500853061676, -0.05792061612010002 ]
http://arxiv.org/abs/2406.16858v2
http://arxiv.org/pdf/2406.16858v2
EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees
2024-06-24T17:59:11
2024-06-30T15:03:25
Yuhui Li, Fangyun Wei, Chao Zhang, Hongyang Zhang
cs.CL
cs.CL, cs.LG
Inference with modern Large Language Models (LLMs) is expensive and time-consuming, and speculative sampling has proven to be an effective solution. Most speculative sampling methods such as EAGLE use a static draft tree, implicitly assuming that the acceptance rate of draft tokens depends only on their position. Interestingly, we found that the acceptance rate of draft tokens is also context-dependent. In this paper, building upon EAGLE, we propose EAGLE-2, which introduces a new technique of context-aware dynamic draft tree into drafting modeling. This improvement leverages the fact that the draft model of EAGLE is well-calibrated: the confidence scores from the draft model approximate acceptance rates with small errors. We conducted extensive evaluations on three series of LLMs and six tasks, with EAGLE-2 achieving speedup ratios 3.05x-4.26x, which is 20%-40% faster than EAGLE-1. EAGLE-2 also ensures that the distribution of the generated text remains unchanged, making it a lossless acceleration algorithm.
[ -0.20416010916233063, -1.0317809581756592, 0.5349503755569458, 0.6399604678153992, -0.21469004452228546, 0.3140428066253662, -0.000672093708999455, -1.1171047687530518, 0.36444661021232605, 0.3403874933719635, -0.695513129234314, -0.18370352685451508, -0.6378024220466614, 0.0022082270588725805, -0.6486133933067322, 0.21983778476715088, -0.1515146940946579, -0.47618532180786133, 0.3547447919845581, 0.14074094593524933, -0.04494251310825348, -0.06170782819390297, -0.8785963654518127, -0.31148165464401245, 0.26325342059135437, 0.4166088104248047, 0.6671796441078186, 1.0245627164840698, 0.27299603819847107, 0.21376731991767883, -0.3960295617580414, 0.0827409103512764, -0.23185817897319794, 0.32545197010040283, 0.1592174619436264, -0.47578930854797363, -0.6349571347236633, 0.08593808859586716, 0.7950025200843811, 0.48220404982566833, 0.012428191490471363, 0.2575535476207733, -0.23571482300758362, 0.6942880153656006, -0.6807145476341248, 0.1219114437699318, -1.006854772567749, 0.13404050469398499, -0.37306109070777893, -0.38658851385116577, -0.5434568524360657, -0.021842235699295998, 0.3506341874599457, -0.9136174321174622, 0.16946500539779663, 0.15409480035305023, 0.5667725205421448, 0.13205598294734955, -0.5486854314804077, -0.40989431738853455, -0.520344078540802, 0.7803528904914856, -0.6338987350463867, 0.4352841377258301, 0.41102898120880127, 0.5520313382148743, -0.17557668685913086, -1.032969355583191, -0.7511268258094788, -0.0940842553973198, 0.2539059817790985, 0.01555434986948967, 0.10076679289340973, 0.030094509944319725, -0.058913249522447586, 0.21822792291641235, -0.40250152349472046, 0.35152435302734375, -0.08574558049440384, -0.14284875988960266, 0.6484769582748413, -0.08748364448547363, 0.11214497685432434, 0.022821320220828056, -0.20913930237293243, -0.313896119594574, -0.8281735777854919, 0.3240346312522888, 0.4475824236869812, 0.5612875819206238, -0.05202183499932289, 0.45451730489730835, -0.3576088547706604, 0.6780678033828735, 0.4132574796676636, -0.22719359397888184, 0.33300262689590454, -0.2947835326194763, -0.3208954930305481, 0.14533266425132751, 0.3787094056606293, 0.2174272984266281, 0.07509811222553253, -0.05866840481758118, -0.17627890408039093, -0.14688412845134735, -0.15967051684856415, -0.9655612111091614, 0.2018214762210846, 0.5620526671409607, -0.6157508492469788, -0.38976457715034485, -0.09083989262580872, -0.4818583130836487, -0.3959515690803528, -0.09508273750543594, -0.3653873801231384, -0.29302531480789185, -0.6442968845367432, 0.11811280250549316, -0.14598415791988373, 0.27843737602233887, 0.5111986398696899, -0.9848493933677673, 0.2057284563779831, 0.9209688305854797, 0.791082501411438, -0.07119226455688477, -0.3071868419647217, -0.9815844297409058, 0.08284926414489746, -0.7631771564483643, 1.2624670267105103, -0.8503841757774353, -0.23538243770599365, 0.12877222895622253, -0.23188909888267517, 0.1473766714334488, -0.501171350479126, 0.6387747526168823, -0.8448559641838074, -0.20534640550613403, -0.5887243747711182, -0.45610517263412476, -0.1974114328622818, 0.19748812913894653, -0.7703724503517151, 1.2625256776809692, 0.22914224863052368, -0.767192542552948, 0.6934409141540527, -0.5846344232559204, -0.4294146001338959, 0.13441623747348785, -0.18728911876678467, -0.05731218308210373, -0.05191866308450699, 0.1283690184354782, 0.2324112057685852, -0.2578757107257843, 0.07533898204565048, -0.6663231253623962, -0.7731217741966248, -0.23749537765979767, -0.2492828071117401, 0.8907485008239746, 0.6574695706367493, -0.4034877419471741, -0.15962232649326324, -0.37166693806648254, 0.23673909902572632, -0.2094689905643463, -0.7016118764877319, -0.20309077203273773, 0.28301122784614563, 0.29465922713279724, 0.08815906196832657, -0.09174273163080215, -0.41259393095970154, 0.2766028940677643, -0.7952566742897034, 0.1905767321586609, 0.4616100490093231, -0.0799514576792717, 0.4794104993343353, -0.1771783083677292, 0.4321633279323578, -0.17143124341964722, -0.26547929644584656, -0.11340634524822235, -0.2962064743041992, -0.6384851932525635, -0.4739903509616852, 0.1856745183467865, 0.6522441506385803, -0.7499251961708069, 0.39129209518432617, -0.13459670543670654, -0.45026397705078125, -0.1475173383951187, 0.1518782377243042, 0.3293743133544922, 0.13914339244365692, 0.030057502910494804, 0.08832486718893051, -0.6908416152000427, -0.6188475489616394, -0.5947355031967163, -0.728805661201477, 0.12192997336387634, 0.20604068040847778, 0.21913973987102509, 0.010129133239388466, 0.7575234770774841, -0.04430832713842392, 0.0018374334322288632, -0.25754615664482117, 0.5627861022949219, -0.11539355665445328, 0.38000163435935974, 0.9144283533096313, -0.6241961717605591, -0.7359651923179626, -0.17548473179340363, -0.612889289855957, -0.2703081965446472, -0.15249358117580414, -0.18732009828090668, 0.34670642018318176, 0.6342499852180481, -0.6321620941162109, 0.08935243636369705, 0.6694871783256531, -0.5893356204032898, 0.26339051127433777, 0.005664362572133541, -0.006088920868933201, -1.0728994607925415, 0.093685582280159, -0.045058008283376694, -0.10321833193302155, -0.5154619216918945, 0.3958304226398468, 0.1434122622013092, 0.27760082483291626, -0.7504994869232178, 0.9474086761474609, -0.7920743227005005, -0.17337068915367126, -0.44799306988716125, 0.012179577723145485, -0.19639331102371216, -0.015376032330095768, 0.11598018556833267, 1.0981011390686035, 0.574884295463562, -0.3955411911010742, 0.030779628083109856, 0.04709498956799507, -0.541757345199585, 0.19547010958194733, -0.40792083740234375, 0.13749799132347107, -0.15149249136447906, 0.8344230055809021, -0.8864444494247437, -0.18657179176807404, 0.20026786625385284, -0.24686259031295776, 0.2716003954410553, 0.09825577586889267, -0.6358402967453003, -0.27851951122283936, -0.46031996607780457, 0.3923341929912567, 0.3448508083820343, -0.5073947310447693, 0.6860729455947876, 0.3749914765357971, -0.10356700420379639, -0.9419311285018921, -0.9795371294021606, 0.1322658210992813, 0.06761150062084198, -0.5227928757667542, 0.3920850157737732, -0.004652561619877815, -0.4112775921821594, 0.0544099435210228, -0.1272992491722107, -0.2903091013431549, 0.1364089995622635, 0.12227477878332138, -0.30118486285209656, -0.3448406755924225, 0.0364854671061039, 0.41798415780067444, -0.09274094551801682, -0.11963723599910736, -0.44028085470199585, 0.22162729501724243, -0.13874082267284393, -0.37906134128570557, -0.6655025482177734, 0.2678360641002655, 0.8074115514755249, -0.277739942073822, 0.46724435687065125, 0.24607951939105988, -0.471394419670105, -0.32337895035743713, -0.7593486309051514, -0.19367742538452148, -0.453194260597229, 0.4627692699432373, -0.47191452980041504, -0.9111963510513306, 0.3945755958557129, -0.16100700199604034, 0.4920344352722168, 0.37213876843452454, 0.521908700466156, 0.07989722490310669, 0.9783094525337219, 0.6866026520729065, 0.01274549774825573, 0.6841965913772583, -0.2648925185203552, 0.11989667266607285, -0.7273939847946167, -0.01643158309161663, -0.5691818594932556, -0.2964528799057007, -0.31016942858695984, -0.6234548091888428, -0.12557920813560486, 0.2999122440814972, -0.05813983082771301, -0.0020906683057546616, -0.19634974002838135, 0.5017361640930176, 0.4347546696662903, -0.18352161347866058, 0.33317995071411133, 0.28772982954978943, -0.09711513668298721, 0.2526257634162903, -0.5689361691474915, -0.6756996512413025, 1.138922095298767, 0.44323477149009705, 0.22777868807315826, 0.21157771348953247, 0.3432905972003937, 0.16454046964645386, 0.6715703010559082, -0.6419360637664795, 0.5414867997169495, -0.31436628103256226, -0.9851348996162415, -0.3039688766002655, -0.00021423932048492134, -0.6301592588424683, 0.26361915469169617, -0.30208641290664673, -0.8414689898490906, 0.14914041757583618, 0.6255425214767456, -0.5644046068191528, 0.3158433139324188, -0.6373738646507263, 0.4143703281879425, -0.026028642430901527, -0.3361692428588867, -0.3237440288066864, -0.3337949514389038, 0.8150511980056763, -0.49056684970855713, 0.02899887040257454, -0.3577825129032135, -0.1772613674402237, 0.6241942048072815, -0.5709385275840759, 0.6762114763259888, -0.36038315296173096, 0.02202402800321579, 0.8496922254562378, 0.3670926094055176, 0.9759838581085205, 0.09066656976938248, -0.7075885534286499, -0.3131198585033417, 0.22921456396579742, -0.3174915313720703, -0.6943413019180298, 0.7487244606018066, -0.6349841952323914, -0.37132132053375244, -0.48804619908332825, -0.761836588382721, -0.128398135304451, 0.11897831410169601, -0.04256648197770119, 0.2564567029476166, 0.01818152330815792, 0.2649480998516083, 0.18059885501861572, -0.11399880796670914, 0.5376811027526855, 0.7693013548851013, -0.26714950799942017, 0.09088880568742752, 0.38369691371917725, 0.3918021619319916, 0.050121910870075226, 0.43991217017173767, -0.03453686833381653, -0.6474935412406921, -0.6328203678131104, -0.4877067506313324, 0.20162057876586914, -0.5192944407463074, 0.13373880088329315, -0.8525132536888123, 0.04143458977341652, -0.3190050721168518, -0.21696418523788452, -0.5312747359275818, -0.6396834254264832, -0.05755138397216797, -0.31905433535575867, 0.40947824716567993, 0.30454909801483154, 0.11131065338850021, 0.5645425319671631, -0.4372429847717285, 0.12821343541145325, 0.11091269552707672, 0.43956032395362854, 0.2640822231769562, -0.5327799320220947, 0.18376927077770233, -0.005261474289000034, -0.20201173424720764, -0.6360194087028503, 0.0026183302979916334, 0.3084290027618408, 0.5101022124290466, 0.5469818711280823, 0.12813201546669006, 0.795652449131012, -0.35854122042655945, 0.7776567935943604, -0.10462608933448792, -0.7946153879165649, 0.15561217069625854, -0.25842148065567017, 0.3190498650074005, 0.8192750215530396, -0.19306211173534393, -0.3973402976989746, -0.6120913624763489, -0.3998609781265259, -0.697108268737793, 0.826221764087677, 0.15295690298080444, 0.11360438168048859, -0.05358847975730896, 0.6699764728546143, -0.07322349399328232, 0.003055855631828308, -0.24556580185890198, -0.13526593148708344, -0.09832827746868134, -0.16076290607452393, -0.0702066421508789, -0.6332051753997803, 0.39669719338417053, -0.11768168210983276, 0.7367186546325684, -0.1891261339187622, 0.1742398589849472, 0.10724420100450516, 0.0915580466389656, -0.5081751942634583, 0.0030816644430160522, 0.7077745199203491, 0.6228682994842529, -0.4645426571369171, 0.45586708188056946, 0.27456456422805786, -0.4589223563671112, 0.2322472184896469, 0.1645817905664444, -0.45184722542762756, 0.03523765131831169, 0.6661298274993896, 0.6508569717407227, 0.02974758855998516, -0.7890877723693848, 0.28739628195762634, -0.05869724601507187, -0.4863177239894867, -0.3414967656135559, 0.03682272508740425, 0.2851710319519043, 0.38754788041114807, 0.48923763632774353, 0.029020298272371292, 0.20740805566310883, -0.5116068720817566, 0.2969675064086914, 0.6537847518920898, -0.15183311700820923, -0.3258320391178131, 0.7492865920066833, 0.3504857122898102, -0.4871741831302643, 0.501150906085968, -0.38115546107292175, -0.23042529821395874, 0.6587880849838257, 0.6592145562171936, 0.9585103988647461, -0.13295865058898926, 0.1403196156024933, 0.37417036294937134, 0.25494250655174255, -0.3862636983394623, 0.571282684803009, 0.02072988450527191, -0.5907999277114868, -0.6738878488540649, -0.6289443373680115, -0.2644486725330353, 0.39808687567710876, -0.1594105213880539, 0.08145109564065933, -0.4696758985519409, -0.18028931319713593, -0.08830268681049347, 0.33052539825439453, -0.47917136549949646, 0.061927106231451035, -0.026369202882051468, 1.8229402303695679, -0.9516027569770813, 1.0375335216522217, 0.7585133910179138, -0.03483857586979866, -1.1492115259170532, 0.27831944823265076, 0.3807181119918823, -0.6472213864326477, 0.8719719648361206, 0.26423412561416626, -0.38809385895729065, 0.21108275651931763, -0.15964139997959137, -1.0579224824905396, 1.1912951469421387, 0.31339848041534424, -0.47294238209724426, -0.03692847862839699, -0.04767422005534172, 0.4740556478500366, -0.4178682863712311, 0.5767318606376648, 0.536537766456604, 0.7533010244369507, 0.3237732946872711, -0.7444374561309814, 0.04422440007328987, -0.38517308235168457, 0.21027147769927979, -0.12368392944335938, -0.6495468616485596, 0.9364307522773743, 0.08871422708034515, -0.3056076467037201, 0.2134089320898056, 0.9790250062942505, 0.8237351775169373, 0.28828999400138855, 0.895645022392273, 0.25837820768356323, 0.9182257056236267, 0.20364844799041748, 0.9825489521026611, -0.7578724026679993, 0.082976333796978, 0.9316184520721436, -0.6092088222503662, 1.205324649810791, 0.765662431716919, 0.06705418974161148, 0.4109640419483185, 0.9071739912033081, 0.586997926235199, 0.4268794655799866, -0.031820036470890045, -0.45727068185806274, -0.27411043643951416, -0.062207095324993134, -0.4059569239616394, 0.4069967269897461, 0.010661426931619644, -0.29177218675613403, -0.3013901710510254, -0.5151907205581665, 0.15574771165847778, -0.026824595406651497, 0.1661924421787262, 0.26091083884239197, 0.04482128098607063, -1.0577263832092285, 0.600800096988678, 0.408724308013916, 0.5272340178489685, -0.623490571975708, -0.04959055036306381, -0.28958189487457275, 0.2608756721019745, 0.03335818648338318, -0.6255890727043152, 0.3921549618244171, 0.14107652008533478, -0.19827228784561157, -0.268180787563324, 0.36860236525535583, -0.3016282618045807, -0.8892849683761597, 0.2970936894416809, 0.5266819000244141, 0.3066657781600952, -0.13739728927612305, -0.6250101923942566, 0.564538836479187, -0.40746206045150757, -0.740962028503418, 0.12379974871873856, 0.37698185443878174, -0.3204357922077179, 0.6444008350372314, 0.8094195127487183, 0.23365673422813416, 0.03457813709974289, -0.22101318836212158, 0.5229211449623108, -0.17961485683918, -0.6934941411018372, -0.6975580453872681, 0.26104727387428284, 0.04562372714281082, -0.24315574765205383, 0.4420620799064636, 0.7442013025283813, 0.5921211242675781, 0.2339862734079361, 0.8488568663597107, -0.04849356412887573, 0.7829177975654602, -0.6112785935401917, 0.7371135354042053, -0.7072497010231018, 0.4881027340888977, -0.13584858179092407, -0.8884186744689941, -0.35327276587486267, 0.6101833581924438, -0.13411977887153625, 0.0004510429280344397, 0.8162286877632141, 0.9932993054389954, -0.2751185894012451, -0.02951155975461006, -0.25403928756713867, 0.0970751941204071, 0.6137328147888184, 0.5896608233451843, 0.6416440606117249, -0.39916110038757324, 0.435817688703537, -0.18906600773334503, -0.3171732723712921, -0.5061112642288208, -1.3341604471206665, -0.7403137683868408, -0.41937392950057983, -0.025786936283111572, -0.258596807718277, 0.23317603766918182, 1.130515456199646, 1.1564754247665405, -0.6168081164360046, -0.39557573199272156, -0.31957393884658813, -0.17670994997024536, -0.5546116828918457, -0.16876964271068573, 0.4528064429759979, -0.2961977422237396, -0.7388361692428589, 0.6353715658187866, 0.13028959929943085, 0.051421474665403366, -0.07710663974285126, -0.45867452025413513, -0.2681000828742981, 0.3643706738948822, 0.5670565366744995, 0.45924967527389526, -1.2030173540115356, -0.4294108748435974, 0.031674448400735855, -0.16702808439731598, -0.32831668853759766, 0.8435070514678955, -0.8731249570846558, 0.5254709124565125, 0.6350419521331787, 0.8423436880111694, 0.5518413186073303, 0.25987493991851807, 0.39347267150878906, -0.4222860336303711, 0.6954447627067566, -0.1932595670223236, 0.012669992633163929, 0.06599167734384537, -0.2818255126476288, 0.2656356990337372, 0.22893691062927246, -0.02089555934071541, -1.0950413942337036, 0.24933481216430664, -0.7972670197486877, -0.42176055908203125, 1.1229150295257568, 0.08657199144363403, -0.1463930755853653, 0.023350995033979416, -0.27005696296691895, 0.3181951344013214, -0.3269798457622528, 0.6687371730804443, 0.5519862174987793, -0.12039567530155182, -0.2352207452058792, -0.6264054179191589, 0.5747034549713135, 0.4497939348220825, -0.7441006302833557, 0.24707700312137604, 0.2546966075897217, 0.24540916085243225, -0.17088055610656738, 1.2068760395050049, 0.25963693857192993, 0.31065985560417175, 0.23159675300121307, -0.16310885548591614, -0.47401702404022217, -0.39435407519340515, 0.06469357013702393, 0.24723419547080994, 0.6170318126678467, 0.2020915001630783 ]
http://arxiv.org/abs/2406.16851v2
http://arxiv.org/pdf/2406.16851v2
Losing Visual Needles in Image Haystacks: Vision Language Models are Easily Distracted in Short and Long Contexts
2024-06-24T17:58:03
2024-07-03T03:55:59
Aditya Sharma, Michael Saxon, William Yang Wang
cs.CL
cs.CL, cs.AI, cs.CV
We present LoCoVQA, a dynamic benchmark generator for evaluating long-context extractive reasoning in vision language models (VLMs). LoCoVQA augments test examples for mathematical reasoning, VQA, and character recognition tasks with increasingly long visual contexts composed of both in-distribution and out-of-distribution distractor images. Across these tasks, a diverse set of VLMs rapidly lose performance as the visual context length grows, often exhibiting a striking logarithmic decay trend. This test assesses how well VLMs can ignore irrelevant information when answering queries -- a task that is quite easy for language models (LMs) in the text domain -- demonstrating that current state-of-the-art VLMs lack this essential capability for many long-context applications.
[ -0.21648229658603668, -0.7377219796180725, 0.7320031523704529, 0.29766038060188293, -0.5772981643676758, -0.28551995754241943, -0.04251833260059357, -0.6240410208702087, -0.23741452395915985, 0.6560373902320862, -0.4880548119544983, -0.410160094499588, -0.406008243560791, -0.004102453123778105, -0.6308423280715942, 0.42520925402641296, -0.053842946887016296, -0.21237371861934662, -0.7743573188781738, -0.2925795614719391, -0.718268096446991, -0.38369008898735046, -0.44352033734321594, 0.21552148461341858, 0.6379647850990295, -0.012913886457681656, 0.5267931818962097, 0.7876458168029785, 0.7358312010765076, 0.254802942276001, -0.1981571465730667, 0.2121804654598236, -0.4500313103199005, 0.421019971370697, -0.3440850079059601, -0.22500501573085785, 0.012984340079128742, -0.2629720866680145, 0.723493754863739, 0.5622215270996094, -0.022813992574810982, 0.12679460644721985, -0.10788541287183762, 0.5675123333930969, -1.1451740264892578, 0.13949990272521973, -0.7443439364433289, -0.19914880394935608, -0.3691323399543762, 0.02675621397793293, -0.35638222098350525, -0.17978717386722565, 0.1928306370973587, -0.43047067523002625, -0.0252149049192667, 0.05606597661972046, 1.086255431175232, 0.6662689447402954, -0.6084146499633789, -0.1288914680480957, -0.5750862956047058, 0.8566219806671143, -0.25655466318130493, 0.5867065191268921, 0.3933912515640259, 0.6095041632652283, 0.03780199587345123, -0.989253580570221, -0.5089017152786255, -0.15473847091197968, 0.08038561791181564, 0.17001059651374817, -0.09115070849657059, -0.15735095739364624, 0.4444881081581116, -0.04073265567421913, -0.33552539348602295, -0.11893665045499802, -0.42019277811050415, -0.035311028361320496, 0.4534657597541809, 0.5968381762504578, -0.09311112761497498, -0.15268070995807648, -0.5256779789924622, -0.1719401627779007, -0.8129509091377258, 0.22398574650287628, -0.20016679167747498, -0.13936738669872284, 0.25608769059181213, 0.4342304468154907, -0.35424405336380005, 1.074543833732605, -0.27574917674064636, 0.1206984743475914, 0.14220771193504333, -0.43789389729499817, -0.4460504949092865, -0.5474892258644104, 0.6828330755233765, 0.5536146759986877, -0.04036322608590126, 0.039700787514448166, -0.3350365161895752, -0.11739081144332886, 0.20185486972332, -0.7215796113014221, -0.2575033903121948, -0.01160077191889286, -0.3068312704563141, -0.17611436545848846, -0.2612104117870331, -0.9725354909896851, -0.48415741324424744, 0.053458455950021744, 0.533191978931427, -0.29650792479515076, 0.24669688940048218, 0.021794842556118965, -0.3328245282173157, 0.5252317786216736, 0.5372724533081055, -0.5574142336845398, 0.09711893647909164, 0.5341896414756775, 0.663200318813324, -0.3721035420894623, -0.2845768630504608, -1.0651495456695557, -0.23783467710018158, -0.4743400514125824, 0.6781806945800781, -0.473945289850235, -0.3819919526576996, 0.12874041497707367, 0.2958419620990753, 0.01334446482360363, -0.8203984498977661, 0.6086304783821106, -0.4851405918598175, 0.137923464179039, -0.45194166898727417, -0.28860917687416077, -0.020470254123210907, 0.28372958302497864, -0.6818884015083313, 1.2398326396942139, 0.20971165597438812, -0.4499066472053528, 0.5362488031387329, -0.2611813545227051, -0.21179409325122833, 0.41676440834999084, -0.3472329080104828, -0.42297446727752686, 0.056842442601919174, 0.023410286754369736, 0.3977656960487366, -0.5072321891784668, 0.10899614542722702, -0.42142659425735474, -0.6341596245765686, 0.2578312158584595, -0.4769737124443054, 0.7107935547828674, 0.019492678344249725, -0.5694665312767029, 0.07677339017391205, -0.8637205362319946, 0.1357719451189041, 0.11322537064552307, -0.3226032853126526, -0.8962677121162415, 0.4750775396823883, 0.06461112201213837, 0.4751306474208832, 0.15267331898212433, -0.2622549831867218, -0.030306078493595123, -0.126974418759346, 0.3277525305747986, 0.7081080079078674, -0.10952936857938766, 0.003373482497408986, 0.08581528812646866, 0.2961947023868561, 0.2018161118030548, 0.26477789878845215, -0.322917640209198, -0.3852720558643341, -1.144845962524414, -0.5203366875648499, 0.042217228561639786, 0.48416468501091003, -1.253006935119629, 0.11529131978750229, -0.3438124656677246, -0.37809333205223083, -0.27029645442962646, 0.07249061018228531, 0.5244249105453491, 0.6186484694480896, 0.2678168714046478, -0.34976670145988464, -0.33802616596221924, -1.121524691581726, -0.5029413104057312, -0.12602396309375763, -0.0626949593424797, 0.3852575421333313, 0.6798838376998901, -0.2863534390926361, 0.7905336022377014, -0.31616467237472534, -0.04063433036208153, 0.25172680616378784, -0.15803706645965576, -0.04693744331598282, 0.1948632299900055, 0.4592847228050232, -1.082355260848999, -0.2774520814418793, -0.14078263938426971, -0.8691483736038208, -0.07175587117671967, -0.16443310678005219, -0.16278329491615295, 0.30696558952331543, 0.7286396026611328, -0.6913034915924072, 1.0086995363235474, 0.35444697737693787, -0.7076422572135925, 0.7077206373214722, 0.059671755880117416, 0.023883236572146416, -0.5261083841323853, 0.2876403033733368, 0.06291323155164719, -0.4546172320842743, -0.40168246626853943, 0.28518375754356384, 0.43502873182296753, 0.1163458526134491, -0.6591564416885376, 0.8654916286468506, -0.608851969242096, -0.057884763926267624, -0.05103537067770958, 0.1736120879650116, 0.2816983461380005, 0.3036731481552124, 0.3318285346031189, 0.8194474577903748, 0.6473314166069031, -0.817118227481842, 0.4581749141216278, 0.06402706354856491, -0.6567937135696411, 0.38823357224464417, -0.7771669030189514, -0.03684480860829353, -0.14575912058353424, -0.19965723156929016, -0.8596076965332031, -0.1887602061033249, 0.16500718891620636, -0.02069741301238537, -0.11137967556715012, -0.005234885960817337, -0.27469444274902344, -0.515024721622467, -0.1312817931175232, 0.6174946427345276, 0.8719392418861389, -0.6442350149154663, 0.5567656755447388, 0.19946666061878204, 0.09547518938779831, -0.7888991832733154, -0.6365002393722534, 0.1346575915813446, -0.3427128791809082, -0.3252257704734802, 0.08629119396209717, -0.058541323989629745, -0.5378912687301636, -0.030240347608923912, 0.04058530554175377, -0.4214760959148407, 0.09289013594388962, 0.33428993821144104, 0.23689064383506775, -0.11178209632635117, 0.39377403259277344, -0.3006628155708313, 0.30849534273147583, 0.38138583302497864, -0.14722704887390137, 0.2152618020772934, -0.3229910433292389, -0.44862979650497437, -0.09641649574041367, 0.394788920879364, 0.8077719807624817, -0.3504998981952667, 0.6429558992385864, 0.3521369397640228, -0.3095536231994629, -0.18195918202400208, -0.4836362600326538, 0.14757318794727325, -0.48749780654907227, 0.7553349137306213, -0.4733191430568695, -0.5876336693763733, 0.555814802646637, 0.08834433555603027, 0.0307475458830595, 0.48885130882263184, 0.6009908318519592, -0.054305896162986755, 0.7155070304870605, 0.5863556861877441, 0.4727068841457367, 0.5721839070320129, -0.038077399134635925, -0.061168819665908813, -0.7607019543647766, -0.4713291525840759, -0.26658767461776733, 0.20153073966503143, -0.28568050265312195, -0.8072766065597534, 0.28720757365226746, 0.0552273727953434, 0.07381467521190643, 0.23804251849651337, -0.47375479340553284, 0.7001208066940308, 0.5963329672813416, 0.030813638120889664, -0.06821410357952118, -0.3498113751411438, -0.07895107567310333, -0.13435997068881989, -0.605046808719635, -0.27376219630241394, 0.7153841853141785, 0.13846144080162048, 0.6993889808654785, -0.0051984176971018314, 0.4328458905220032, 0.002215767977759242, 0.21128492057323456, -0.9611400961875916, 0.6967419385910034, -0.002358677564188838, -0.45450541377067566, -0.4185582399368286, -0.3802665174007416, -0.9050752520561218, 0.5257683992385864, -0.045608509331941605, -0.6757211089134216, 0.5133510828018188, 0.19523608684539795, -0.2655007541179657, 0.05244975909590721, -0.3632935881614685, 1.0982177257537842, -0.2256791740655899, -0.9771066904067993, 0.2694892883300781, -0.6032069325447083, 0.5477789044380188, -0.26753678917884827, 0.07925280183553696, -0.05921144410967827, -0.25554654002189636, 0.5602966547012329, -0.32760143280029297, 0.5761680603027344, 0.024365276098251343, 0.02924465946853161, 0.4978492259979248, 0.10758940875530243, 0.5738955736160278, -0.12512817978858948, 0.06434231996536255, 0.11785824596881866, 0.18459013104438782, -0.46040046215057373, -0.6328232288360596, 0.402682900428772, -0.10345550626516342, -0.6589125990867615, -0.4206365942955017, -0.311917245388031, -0.10246048867702484, 0.24301141500473022, 0.31481796503067017, 0.45806261897087097, -0.18563848733901978, 0.5398067831993103, 0.8410922288894653, -0.2796347439289093, 0.596565842628479, 0.08457554131746292, -0.2807099521160126, -0.14004245400428772, 0.7360203266143799, -0.10559512674808502, 0.3448682427406311, 0.1408676952123642, -0.04392389953136444, -0.47360679507255554, -0.4031662046909332, -0.46453720331192017, 0.025333063676953316, -1.1609851121902466, -0.03953937441110611, -0.39469143748283386, -0.18239641189575195, -0.14912261068820953, 0.13708041608333588, -0.3848471939563751, -0.1530938297510147, -0.22812114655971527, 0.42351189255714417, -0.02873399667441845, 0.5711306929588318, 0.41544127464294434, -0.15188796818256378, -0.7607271075248718, 0.17082910239696503, 0.7171209454536438, 0.2653602659702301, -0.19612003862857819, -0.5114339590072632, -0.4329792857170105, -0.19960306584835052, -0.16374395787715912, -0.7507835030555725, 0.5050148963928223, 0.15650135278701782, 0.5956396460533142, 0.2959006130695343, 0.02786954492330551, 1.0239510536193848, -0.5803137421607971, 0.9697270393371582, 0.23886415362358093, -0.9483646750450134, 0.3289423882961273, -0.2624070644378662, 0.6787095069885254, 0.4208652675151825, 0.17581382393836975, -0.5398803949356079, -0.2894691228866577, -0.32500529289245605, -0.937445878982544, 0.1812347024679184, 0.26596447825431824, -0.11336109042167664, -0.15235547721385956, 0.3034284710884094, -0.06405910849571228, 0.14441542327404022, -0.7458798885345459, 0.021204873919487, -0.19060641527175903, -0.17786605656147003, -0.04665030911564827, -0.36702844500541687, -0.09897172451019287, -0.3697545528411865, 0.20462621748447418, -0.15724597871303558, 0.19453005492687225, 0.38022539019584656, -0.048164766281843185, 0.19416071474552155, -0.11085923761129379, 0.778066098690033, 0.7982300519943237, -0.045600518584251404, 0.3961794078350067, 0.14809875190258026, -0.44753068685531616, -0.23617278039455414, -0.16097164154052734, -0.18904301524162292, 0.2502598464488983, 0.4035061001777649, 0.8414016366004944, 0.08004212379455566, -1.233626365661621, 0.7361105680465698, -0.31274673342704773, -0.3152817487716675, -0.5093169212341309, 0.010154938325285912, 0.07989013940095901, 0.1828499436378479, 0.41797763109207153, 0.14599604904651642, 0.24299466609954834, -0.5183252096176147, 0.27425017952919006, 0.5825724601745605, -0.652380645275116, -0.097157321870327, 0.8076551556587219, 0.20377403497695923, -0.32215940952301025, 0.5733517408370972, -0.009663205593824387, -0.45657211542129517, 0.8071538209915161, 0.04149151220917702, 0.8167195916175842, 0.0629534125328064, -0.26282814145088196, 0.20535950362682343, 0.3867734670639038, -0.13897664844989777, 0.1326146274805069, -0.11110816895961761, -0.25025758147239685, -0.36215469241142273, -0.41953667998313904, -0.21362707018852234, 0.2628168761730194, -0.6765322089195251, 0.38102009892463684, -0.13817769289016724, -0.01663299836218357, 0.0796809047460556, -0.42431509494781494, -0.7843853831291199, 0.363598108291626, 0.0934242382645607, 0.969409704208374, -0.4692970812320709, 0.9336112141609192, 0.4526478946208954, -0.15123625099658966, -0.2728080451488495, -0.01760793849825859, -0.13476286828517914, -0.5692005753517151, 1.0306373834609985, 0.2967388331890106, -0.32864248752593994, -0.4499819874763489, -0.7209713459014893, -0.8343417644500732, 0.9851626753807068, 0.21158389747142792, -0.617202877998352, 0.013724293559789658, -0.21187151968479156, 0.5492386817932129, -0.25515738129615784, 0.09919825196266174, 0.3315437436103821, 0.20330604910850525, 0.2696492671966553, -0.8429110050201416, 0.07950939238071442, -0.29043957591056824, 0.09549631923437119, 0.3245309293270111, -0.6591036319732666, 1.1269683837890625, -0.1723797619342804, -0.36440569162368774, 0.40041863918304443, 0.5016471743583679, 0.2507060468196869, 0.5918543934822083, 0.5282870531082153, 0.1746574342250824, 0.5159514546394348, -0.15927410125732422, 1.019055724143982, 0.0471840538084507, 0.3165730834007263, 1.1013392210006714, -0.38243308663368225, 1.0925052165985107, 0.8056795597076416, 0.3321661949157715, 0.41108065843582153, 0.654346764087677, 0.1451694667339325, 0.7618494629859924, 0.2188437581062317, -0.27288946509361267, -0.7368028163909912, 0.15256555378437042, -0.1771312952041626, 0.5509375929832458, 0.4052796959877014, -0.4207572042942047, 0.008541652001440525, -0.043591804802417755, -0.35822898149490356, 0.0006271504098549485, -0.15599747002124786, 0.4349115192890167, 0.11149857938289642, -0.9481030702590942, 1.0085139274597168, -0.2942291796207428, 0.30713629722595215, -0.4052906334400177, -0.20794689655303955, -0.1915867179632187, 0.347034215927124, 0.327038437128067, -0.6698683500289917, 0.3860701322555542, -0.15417444705963135, -0.03829934820532799, 0.030470306053757668, 0.7394722700119019, -0.4574957489967346, -0.3926711678504944, 0.2936207950115204, 0.45364755392074585, 0.2687368094921112, -0.030076326802372932, -0.6333454251289368, 0.23180922865867615, -0.1634250283241272, -0.4333544671535492, 0.25387629866600037, 0.656878650188446, -0.4478013217449188, 1.077108383178711, 0.3551308810710907, -0.11333255469799042, 0.19689162075519562, -0.3000109791755676, 0.9791223406791687, -0.9512165784835815, -0.24994561076164246, -0.9895537495613098, 0.445475310087204, -0.40938299894332886, -0.5017526745796204, 0.9235642552375793, 0.4393583834171295, 0.59404057264328, -0.2531663775444031, 0.4643031060695648, 0.043699126690626144, 0.2192564308643341, -0.7062281966209412, 0.5277542471885681, -0.9604967832565308, 0.14403431117534637, -0.09684454649686813, -0.731058657169342, -0.3720960319042206, 0.4403497278690338, -0.23022665083408356, -0.060816481709480286, 0.9155486822128296, 0.5370593667030334, 0.032811328768730164, -0.5774272084236145, 0.8538294434547424, -0.041074395179748535, 0.16012297570705414, 0.853308379650116, 1.2212624549865723, -0.5629718899726868, 0.6784858703613281, -0.12006846070289612, -0.024657633155584335, -0.37601521611213684, -1.0394331216812134, -1.1176475286483765, -0.7551794052124023, -0.32975077629089355, -0.2809877097606659, 0.2969011962413788, 0.3111768662929535, 0.7547622919082642, -0.3044110834598541, -0.03153378516435623, 0.02273382805287838, 0.18837814033031464, -0.36046266555786133, -0.25072845816612244, 0.25274166464805603, -0.14720265567302704, -0.6955347061157227, 0.21858260035514832, 0.48410463333129883, 0.050693314522504807, -0.2966561019420624, -0.024940382689237595, -0.042011383920907974, 0.15048253536224365, 0.8005205392837524, 0.36714011430740356, -0.9276174902915955, -0.437150239944458, 0.22224172949790955, -0.3210746645927429, -0.08562107384204865, 0.4944709539413452, -1.0857619047164917, 0.6519412398338318, 0.5036366581916809, 0.4940900504589081, 0.32954996824264526, 0.008249669335782528, 0.28931164741516113, -0.594811201095581, 0.38714855909347534, 0.4222952723503113, 0.32578033208847046, 0.18101753294467926, -0.25014057755470276, 0.4591897428035736, 0.42942219972610474, -0.5799804925918579, -1.1182490587234497, 0.16152475774288177, -0.9777294993400574, -0.3628799021244049, 1.1942929029464722, -0.1955985426902771, -0.7711635828018188, -0.13436198234558105, -0.04443245008587837, -0.2664881646633148, 0.014131509698927402, 0.7481099963188171, 0.685636043548584, 0.17036761343479156, -0.4847874939441681, -0.5301188826560974, 0.773625373840332, 0.4648975133895874, -0.8385929465293884, 0.31153205037117004, 0.7468702793121338, 0.26096951961517334, 0.19400788843631744, 0.5975086688995361, 0.036786943674087524, 0.6343626976013184, 0.27920645475387573, 0.07587360590696335, 0.029179902747273445, -0.45508918166160583, -0.3252754807472229, 0.1957138478755951, -0.09637158364057541, -0.3716247081756592 ]
http://arxiv.org/abs/2406.16845v1
http://arxiv.org/pdf/2406.16845v1
RaTEScore: A Metric for Radiology Report Generation
2024-06-24T17:49:28
2024-06-24T17:49:28
Weike Zhao, Chaoyi Wu, Xiaoman Zhang, Ya Zhang, Yanfeng Wang, Weidi Xie
cs.CL
cs.CL
This paper introduces a novel, entity-aware metric, termed as Radiological Report (Text) Evaluation (RaTEScore), to assess the quality of medical reports generated by AI models. RaTEScore emphasizes crucial medical entities such as diagnostic outcomes and anatomical details, and is robust against complex medical synonyms and sensitive to negation expressions. Technically, we developed a comprehensive medical NER dataset, RaTE-NER, and trained an NER model specifically for this purpose. This model enables the decomposition of complex radiological reports into constituent medical entities. The metric itself is derived by comparing the similarity of entity embeddings, obtained from a language model, based on their types and relevance to clinical significance. Our evaluations demonstrate that RaTEScore aligns more closely with human preference than existing metrics, validated both on established public benchmarks and our newly proposed RaTE-Eval benchmark.
[ -0.23181505501270294, -0.4188631772994995, 0.5740058422088623, 0.03505510836839676, -0.02923201583325863, -0.002775808097794652, -0.09837938100099564, -0.627543032169342, 0.09779185056686401, 0.24207381904125214, 0.05797990784049034, -0.8213298916816711, -0.6411215662956238, 0.05911867320537567, -0.29421913623809814, 1.270470142364502, 0.0574146993458271, 0.5238882303237915, -0.6352233290672302, -0.20830078423023224, -0.41531968116760254, -0.25774744153022766, -0.897965133190155, -0.5032486915588379, 0.4221773147583008, 0.31570908427238464, 0.8259379267692566, 0.7341176867485046, 1.2157163619995117, 0.09888748079538345, 0.025668809190392494, 0.09561914950609207, -0.09505453705787659, 0.1916445940732956, 0.01274319738149643, -0.14699895679950714, -1.109299898147583, 0.016339708119630814, 0.6509248614311218, 0.565041720867157, -0.23223304748535156, 0.39464306831359863, -0.36779534816741943, 0.8478639721870422, -0.5670846104621887, 0.31347790360450745, -0.18715350329875946, 0.16445450484752655, -0.12199429422616959, -0.47556814551353455, -0.4574979245662689, -0.6061727404594421, 0.08813866972923279, -0.3443033993244171, 0.35836026072502136, 0.0024764889385551214, 0.8944718837738037, 0.02060069888830185, -0.37155601382255554, -0.5512518286705017, -0.5614438652992249, 0.43319186568260193, -0.46973249316215515, 0.2803491950035095, 0.1807657927274704, 0.48208045959472656, 0.21535027027130127, -0.9256399273872375, -0.17474400997161865, -0.5754809379577637, -0.20095133781433105, 0.25717875361442566, -0.5827563405036926, 0.02845541387796402, 0.2302865982055664, 0.5379382371902466, -0.7463952898979187, 0.07984758913516998, -0.3268837034702301, -0.38145992159843445, 0.7309152483940125, 0.5936782956123352, 0.7817572951316833, -0.4755427837371826, -0.34798410534858704, -0.017782635986804962, -0.6137858033180237, -0.10950111597776413, 0.11845797300338745, 0.15520495176315308, -0.1241423711180687, 0.670879065990448, -0.4366990625858307, 0.40094783902168274, -0.08954014629125595, -0.4004867374897003, 0.6034181714057922, -0.16591858863830566, 0.08063021302223206, 0.492130845785141, 0.7846266627311707, 0.8265647292137146, -0.05276436731219292, -0.07787027955055237, -0.38696396350860596, 0.6176204681396484, 0.4672401249408722, -0.9326685070991516, -0.04210950806736946, 0.2366567999124527, -0.8178347945213318, -0.6266176104545593, -0.29442688822746277, -0.2459425926208496, -0.11705905199050903, 0.01370223518460989, 0.39143407344818115, -0.7498849034309387, -0.42000675201416016, 0.13368456065654755, -0.005023025441914797, -0.133926123380661, 0.2004837542772293, -0.2591586112976074, 0.41594037413597107, 0.6071889996528625, 0.7809553146362305, -0.002811399521306157, 0.08246026188135147, -0.5233118534088135, -0.0819745883345604, -0.46300050616264343, 1.22329843044281, -0.42223677039146423, -0.7006403803825378, -0.24315126240253448, -0.3898603618144989, 0.2467065304517746, -0.5517109036445618, 0.7638397812843323, -0.39508846402168274, 0.19881278276443481, 0.19529451429843903, -0.645254909992218, -0.14657847583293915, 0.39995846152305603, -0.7009842395782471, 0.8602695465087891, 0.3344459533691406, -0.8632347583770752, 0.6778331398963928, -0.8357403874397278, -0.5101718306541443, 0.43256375193595886, -0.2481015920639038, -0.49760231375694275, 0.26004430651664734, 0.11790742725133896, 0.26613566279411316, -0.8017904758453369, 0.5820429921150208, 0.11811462044715881, 0.11002262681722641, 0.27240437269210815, -0.24508006870746613, 0.20562843978405, 0.5304490923881531, 0.11567328125238419, 0.056837502866983414, -0.672497034072876, 0.34411168098449707, 0.055695146322250366, -0.05315566062927246, -0.4174673855304718, 0.08245814591646194, 0.08305391669273376, 0.06941942125558853, 0.2194804698228836, -0.7474284768104553, -0.16652552783489227, -0.3044285774230957, 0.25309106707572937, 0.19764256477355957, 0.2776710093021393, 0.38591039180755615, -0.7396140694618225, 0.7862914204597473, 0.19805270433425903, 0.37521088123321533, -0.0994420275092125, -0.35401272773742676, -0.39089617133140564, -0.285201758146286, 0.2502751648426056, 0.15622426569461823, -0.1176195740699768, 0.15916810929775238, -0.6157640218734741, -1.140270709991455, -0.7112699151039124, -0.5272377729415894, 0.7239890098571777, 1.0436702966690063, 0.2571924924850464, -0.9471634030342102, -0.3093876242637634, -1.2762404680252075, -0.3555406332015991, -0.3373931646347046, 0.18352843821048737, 0.40623152256011963, 0.25956061482429504, 0.07631657272577286, 0.7656006813049316, -0.6737454533576965, -0.5344998240470886, -0.2744804918766022, 0.17670859396457672, 0.20850689709186554, 0.4514327347278595, 0.40565648674964905, -0.6469653248786926, -0.45154330134391785, -0.21611922979354858, -0.9017886519432068, -0.03827758505940437, 0.15193791687488556, 0.02748652547597885, 0.06569946557283401, 0.301455020904541, -0.21795181930065155, 0.42646524310112, 0.480940580368042, -0.35221508145332336, 0.3212728798389435, -0.4719490706920624, 0.5257405638694763, -1.0918828248977661, 0.27968913316726685, 0.2592490315437317, -0.35106006264686584, -0.442200630903244, -0.07344366610050201, 0.18935607373714447, -0.4304148852825165, -0.5018367767333984, 0.5538540482521057, -0.6202399134635925, -0.3392789363861084, -0.03870134800672531, 0.03943606838583946, 0.1234850063920021, -0.2748928368091583, 0.1221814826130867, 0.6776523590087891, 0.666701078414917, -0.5942716002464294, 0.009842070750892162, 0.3650524914264679, -0.5871337056159973, 0.8426836133003235, -0.7721287608146667, 0.28483209013938904, -0.32102105021476746, 0.20263053476810455, -0.4645521342754364, 0.02462163008749485, -0.28450509905815125, -0.8436315059661865, 0.2553063929080963, -0.3414160907268524, -0.27559205889701843, -0.31370997428894043, -0.03952169418334961, 0.4323350489139557, 0.6322949528694153, 0.08071320503950119, 0.38002023100852966, 0.7798328399658203, -0.10336517542600632, -0.4791923463344574, -0.612488329410553, 0.06677159667015076, 0.06178566440939903, -0.677767813205719, 0.38294517993927, -0.10006818920373917, -0.3474137783050537, 0.5163818001747131, 0.05793331190943718, -0.219386026263237, 0.1151864230632782, 0.6880936026573181, 0.46427372097969055, -0.6752937436103821, 0.13363097608089447, -0.057900991290807724, -0.5018619298934937, 0.22377745807170868, 0.06099336966872215, 0.5612112879753113, -0.27429109811782837, -0.29029521346092224, -0.5359330773353577, 0.33642709255218506, 0.44845089316368103, -0.3893195688724518, 0.4365598261356354, 0.38461288809776306, -0.6179174780845642, 0.2306586056947708, -0.5057379007339478, 0.017347846180200577, -0.30185359716415405, 0.5322756171226501, -0.3881189823150635, -0.7345700263977051, 0.31279852986335754, 0.1557365506887436, -0.025449151173233986, 0.8655577301979065, 0.7475369572639465, 0.05421742796897888, 1.2562845945358276, 0.30541887879371643, 0.14839209616184235, 0.01371972169727087, -0.14742110669612885, 0.20962746441364288, -1.038308024406433, -0.43619510531425476, -0.6775135397911072, -0.09790553897619247, -0.5428361892700195, -0.26221421360969543, 0.7650461196899414, -0.21503011882305145, -0.027066588401794434, 0.05967859551310539, -0.894308865070343, 0.4491332769393921, 0.05810410901904106, 0.15120717883110046, 0.49543169140815735, 0.01450811792165041, 0.42332640290260315, -0.23860317468643188, -0.6399842500686646, -0.6761932373046875, 1.2432894706726074, 0.26238876581192017, 0.6102508306503296, -0.009336783550679684, 0.6146554946899414, 0.7163825631141663, 0.8748152852058411, -0.9355968832969666, 0.3935389518737793, -0.5596670508384705, -1.013292670249939, 0.034719888120889664, -0.43926355242729187, -0.8521807193756104, -0.17458689212799072, -0.3555348217487335, -0.1618567556142807, -0.24314270913600922, 0.048639923334121704, -0.4047475755214691, 0.11071794480085373, -0.3599707782268524, 0.6504389643669128, -0.2385273575782776, 0.26001954078674316, -0.6442671418190002, -0.21328647434711456, 0.217971071600914, 0.06134560704231262, 0.3160921335220337, -0.7409372329711914, -0.14034992456436157, 0.8673117756843567, -0.17688287794589996, 0.30446532368659973, -0.03500548377633095, 0.5159153938293457, 0.2119019627571106, 0.4666883945465088, -0.049320295453071594, 0.4787449538707733, -0.11777186393737793, 0.35203495621681213, -0.13442333042621613, -0.23923484981060028, -0.1908431202173233, 0.7228474020957947, -0.7782377600669861, -0.06394097954034805, -0.6837515830993652, -0.5926924347877502, -0.08618107438087463, 0.30407556891441345, 0.4910074770450592, 1.2145940065383911, -0.6383659243583679, -0.2661147117614746, 0.2946028411388397, -0.39641833305358887, -0.029884472489356995, 0.7880852222442627, -0.08712369203567505, -0.4815365970134735, 0.8160294890403748, 0.04313559830188751, 0.1433272510766983, 0.4809577465057373, 0.10496918112039566, -0.09475123882293701, -0.7518981099128723, -0.2754407525062561, 0.20440785586833954, -0.7007152438163757, -0.5974178910255432, -0.9215691685676575, -0.5315802693367004, -0.2477373331785202, -0.15776647627353668, -0.7162644863128662, -0.26888352632522583, -0.023647546768188477, 0.0908682718873024, 0.4895716905593872, 0.753432035446167, -0.121656633913517, -0.005925670266151428, -0.9233208298683167, 0.07468068599700928, -0.31915977597236633, 0.3727145195007324, -0.1846970170736313, -0.5280357003211975, -0.2571480870246887, -0.33883926272392273, 0.00637774495407939, -0.6339246034622192, 0.6521835923194885, 0.23883046209812164, 0.4946974515914917, 0.08144961297512054, 0.04709450900554657, 0.4573856294155121, -0.46511998772621155, 0.6845017075538635, 0.6006672978401184, -0.904391348361969, 0.8505551815032959, -0.06975909322500229, 0.07627872377634048, 0.6465805768966675, 0.5475757122039795, -0.7422249913215637, -0.5107281804084778, -0.9461092352867126, -0.8687530159950256, 0.3934657871723175, -0.16254831850528717, 0.17205624282360077, -0.4220258295536041, 0.2944103181362152, 0.08888090401887894, -0.12561292946338654, -0.24971969425678253, -0.26953789591789246, 0.20929968357086182, -0.1820618063211441, -0.0708286240696907, -0.4179506301879883, -0.24023683369159698, 0.0518915057182312, 0.3805592358112335, -0.08691345900297165, 0.35117992758750916, 0.6239104866981506, -0.4935798943042755, -0.19856218993663788, 0.35172322392463684, 0.4612886607646942, 0.9068012237548828, -0.29120194911956787, 0.23764002323150635, 0.0024319046642631292, -0.7043130397796631, 0.23937837779521942, -0.20884154736995697, -0.14156588912010193, 0.32132408022880554, 0.47222864627838135, 0.5721288323402405, 0.03615047410130501, -0.5086560249328613, 0.709169864654541, -0.433650404214859, -0.062146928161382675, -0.5370743870735168, 0.031183086335659027, -0.08774862438440323, -0.23224960267543793, 0.17655645310878754, 0.4074512720108032, 0.38238123059272766, -0.2536493241786957, 0.4372884929180145, 0.08420620113611221, -0.9568215012550354, -0.3830796182155609, 0.6114184856414795, 0.2278221845626831, -0.3023073673248291, 0.9787034392356873, -0.18148815631866455, -0.1822076290845871, 0.8104867339134216, 0.48644521832466125, 0.7478878498077393, -0.10047838091850281, 0.49855101108551025, 0.9340407848358154, 0.26035410165786743, -0.0064771645702421665, 0.36194851994514465, 0.6171675324440002, -0.7187395095825195, -0.3922789990901947, -0.5518091320991516, -0.1823778599500656, -0.1867396980524063, -1.2339130640029907, 0.358439177274704, -0.6268139481544495, -0.6935206055641174, 0.36289724707603455, -0.08826727420091629, -0.775664746761322, 0.5937281847000122, 0.1535855084657669, 1.0616127252578735, -0.649256706237793, 0.6169371008872986, 0.8327956199645996, -0.7600328922271729, -0.9710277915000916, -0.36543917655944824, -0.0628276839852333, -0.8486990928649902, 0.8644170761108398, 0.1304970532655716, 0.0734851285815239, -0.09766342490911484, -0.0328226312994957, -0.7457480430603027, 1.0928095579147339, 0.1470119059085846, -0.3337987959384918, -0.028422554954886436, -0.3164324164390564, 0.6807818412780762, -0.8257150650024414, 0.8161664605140686, 0.4038604497909546, 0.1261991411447525, -0.5687436461448669, -1.0822464227676392, 0.20965731143951416, -0.24840639531612396, 0.05147577449679375, 0.404750257730484, -0.49531295895576477, 0.7650120258331299, -0.4301668703556061, -0.41673681139945984, -0.2052983194589615, 0.490289568901062, -0.03013353794813156, 0.6449657082557678, 0.5623473525047302, 0.6292555928230286, 0.5343100428581238, -0.04646226391196251, 1.5379208326339722, -0.5309072732925415, 0.3221554756164551, 0.8130907416343689, -0.34599778056144714, 0.5913988947868347, 0.016638442873954773, -0.0974491536617279, 0.5459821820259094, 0.40435662865638733, 0.014338858425617218, 0.3808857202529907, -0.00001492599676566897, -0.18156738579273224, -0.3375736176967621, -0.7138851284980774, -0.726887047290802, 0.519221842288971, 0.2584809958934784, -0.4985171854496002, -0.28957322239875793, -0.2542189657688141, 0.17308758199214935, 0.08760467171669006, -0.23345448076725006, 0.8938729166984558, 0.12636934220790863, -0.5390778183937073, 0.27188557386398315, -0.022985881194472313, 0.3649352788925171, -0.662131130695343, 0.17486190795898438, -0.3780849874019623, 0.06836088746786118, -0.5645802617073059, -0.8948696255683899, 0.4836077392101288, 0.28585001826286316, -0.5373022556304932, -0.022737592458724976, 0.5796242356300354, -0.017891190946102142, -0.3894459307193756, 0.14060425758361816, 0.4602362811565399, 0.301042377948761, 0.2173289805650711, -0.6211081743240356, -0.09137498587369919, -0.16350853443145752, -0.14039625227451324, 0.4882284700870514, 0.12691865861415863, -0.10947957634925842, 0.6433339715003967, 0.6057094931602478, 0.6061102747917175, -0.6126638054847717, 0.3032850921154022, 0.7145870327949524, -0.5864314436912537, -0.452038437128067, -0.5550879836082458, 0.4279204308986664, -0.06449819356203079, -0.6838219165802002, 0.30986487865448, 1.0199452638626099, 0.5421822667121887, 0.15074624121189117, 0.5741421580314636, -0.22322137653827667, 0.5685552954673767, -0.31677165627479553, 1.1042495965957642, -0.5919126272201538, 0.11485008150339127, -0.1218029260635376, -0.7064235806465149, -0.2361636608839035, 0.26369133591651917, -0.25566330552101135, -0.24328072369098663, 0.9931252598762512, 0.7939876914024353, 0.11813802272081375, -0.2002527266740799, 0.33479490876197815, 0.007307971362024546, 0.3048988878726959, 0.5852768421173096, 0.8656161427497864, -0.35922732949256897, 0.532616138458252, -0.27901145815849304, -0.2418728619813919, -0.04401956498622894, -0.7273499965667725, -0.27768567204475403, -0.5511103868484497, -0.6521731615066528, -0.6949103474617004, 0.15344877541065216, 0.6281624436378479, 0.7296121716499329, -0.4893236458301544, -0.12438318133354187, 0.43340590596199036, -0.3072986602783203, -0.07854241132736206, -0.25880101323127747, 0.49368420243263245, -0.3696540594100952, -0.39357635378837585, 0.18628722429275513, 0.6067789196968079, -0.24449153244495392, -0.08961018174886703, -0.022729692980647087, 0.4616752862930298, -0.14872340857982635, 0.2750259041786194, -0.10043060779571533, -0.2782493531703949, -0.1565009206533432, -0.01360465120524168, -0.825238049030304, 0.3740842342376709, 1.0097787380218506, -0.6389837265014648, 0.5607114434242249, 0.48842546343803406, 0.3309039771556854, 0.4250452220439911, -0.3833894729614258, 0.5205339193344116, -0.2863977551460266, 0.1311749368906021, 0.7353056073188782, 0.2208261638879776, 0.47025176882743835, -0.43695250153541565, 0.5343996286392212, -0.032538317143917084, -0.4822421073913574, -1.0607231855392456, 0.2832677364349365, -1.0365725755691528, 0.03849882259964943, 0.7797613143920898, -0.07663934677839279, -0.2909244894981384, 0.1362927407026291, 0.18919211626052856, 0.34007322788238525, -0.5943387746810913, 0.5982410907745361, 0.19062276184558868, -0.38311532139778137, 0.18043376505374908, -0.5295590758323669, 0.548316478729248, 0.4228390157222748, -0.9261999130249023, -0.40803420543670654, 0.5824291706085205, 0.6067933440208435, 0.2051721066236496, 1.10124671459198, -0.8127992153167725, 0.7229931354522705, 0.05752556398510933, 0.5760388970375061, -0.20681995153427124, -0.03774483874440193, -0.19031791388988495, 0.19824756681919098, 0.4093017280101776, 0.12307929992675781 ]
http://arxiv.org/abs/2406.16842v1
http://arxiv.org/pdf/2406.16842v1
Exploring Factual Entailment with NLI: A News Media Study
2024-06-24T17:47:55
2024-06-24T17:47:55
Guy Mor-Lan, Effi Levi
cs.CL
cs.CL
We explore the relationship between factuality and Natural Language Inference (NLI) by introducing FactRel -- a novel annotation scheme that models \textit{factual} rather than \textit{textual} entailment, and use it to annotate a dataset of naturally occurring sentences from news articles. Our analysis shows that 84\% of factually supporting pairs and 63\% of factually undermining pairs do not amount to NLI entailment or contradiction, respectively, suggesting that factual relationships are more apt for analyzing media discourse. We experiment with models for pairwise classification on the new dataset, and find that in some cases, generating synthetic data with GPT-4 on the basis of the annotated dataset can improve performance. Surprisingly, few-shot learning with GPT-4 yields strong results on par with medium LMs (DeBERTa) trained on the labelled dataset. We hypothesize that these results indicate the fundamental dependence of this task on both world knowledge and advanced reasoning abilities.
[ -0.4707498848438263, -1.1193915605545044, 0.7609237432479858, 0.06807375699281693, -0.18326298892498016, -0.07862745970487595, -0.1416018307209015, -0.628422737121582, 0.20179012417793274, 0.34078657627105713, -0.45377883315086365, -0.4175565540790558, -0.5067545771598816, 0.22155962884426117, -0.2609747648239136, 1.1904017925262451, 0.1275363713502884, -0.11374859511852264, -0.42434096336364746, -0.3911086618900299, -0.33182987570762634, -0.3538563847541809, -0.5329420566558838, -0.19020597636699677, 0.5679892897605896, 0.31851059198379517, 0.7222549319267273, 0.48350203037261963, 0.6294091939926147, 0.2772068381309509, 0.05864797532558441, 0.32654082775115967, -0.4778568148612976, -0.014911279082298279, -0.1586252599954605, -0.719652533531189, -0.06075511500239372, 0.5026810169219971, 0.5928453803062439, 0.5808311104774475, 0.1734055131673813, 0.36471259593963623, -0.21628394722938538, 0.6887910962104797, -0.6744452714920044, 0.014928076416254044, -0.6593013405799866, 0.13647828996181488, -0.08411114662885666, -0.49331164360046387, -0.32999852299690247, -0.6218701004981995, 0.2775603234767914, -0.8070764541625977, 0.4831527769565582, 0.4701625108718872, 1.1531968116760254, 0.4249783456325531, -0.7002453207969666, -0.3593909442424774, -0.9041785597801208, 0.7162218689918518, -0.723182201385498, 0.4675123989582062, 0.5126287937164307, 0.2997666001319885, 0.039525922387838364, -0.5548795461654663, -0.8328882455825806, -0.1948527842760086, -0.45460233092308044, 0.45152920484542847, -0.16146883368492126, -0.020545300096273422, 0.5271880030632019, 0.3408289849758148, -0.5846899747848511, -0.146888867020607, -0.4955076575279236, -0.11130258440971375, 0.620491087436676, -0.17619994282722473, 0.29761525988578796, -0.35385066270828247, -0.3384030759334564, 0.3494105339050293, -0.8115978240966797, -0.21959912776947021, 0.45411187410354614, 0.11352533847093582, -0.16568422317504883, 0.7185913920402527, -0.19178153574466705, 0.6064569354057312, -0.0899285078048706, -0.26170310378074646, 0.1846168488264084, -0.6365335583686829, -0.18100835382938385, 0.4381343424320221, 0.6486833095550537, 0.3098333179950714, 0.10992021858692169, -0.2978056073188782, 0.06614100933074951, 0.3784421980381012, 0.02543599158525467, -0.608425498008728, -0.09940478205680847, 0.1701512187719345, -0.22194215655326843, -0.3272007405757904, 0.259230375289917, -0.542378842830658, -0.28665608167648315, -0.6904740929603577, 0.5071889162063599, -0.43824541568756104, -0.19969969987869263, 0.15972740948200226, -0.2815086841583252, 0.46964025497436523, 0.1464151293039322, -0.5801668763160706, 0.3475848138332367, 0.8290380835533142, 0.91755610704422, 0.062160674482584, -0.020496856421232224, -0.5834091901779175, 0.2524564266204834, -0.45869630575180054, 0.8553932905197144, -0.5563024282455444, 0.041635673493146896, -0.0403054803609848, -0.2617446780204773, -0.11283602565526962, -0.3125385642051697, 1.0997954607009888, -0.5199034810066223, 0.5485582947731018, -0.3932291865348816, -0.7878088355064392, -0.4935317933559418, 0.605682909488678, -0.8519336581230164, 0.902826726436615, -0.32498374581336975, -1.2404119968414307, 0.5043160319328308, -0.6824792623519897, -0.4932829439640045, -0.22799360752105713, -0.19608758389949799, -0.38823720812797546, 0.08826418220996857, 0.22581742703914642, 0.12348469346761703, -0.2577064633369446, 0.5787404179573059, -0.29405808448791504, -0.4000004827976227, 0.45153310894966125, -0.6649638414382935, 0.5844738483428955, 0.05632747337222099, -0.3346351087093353, -0.23225238919258118, -0.8802212476730347, -0.3243822753429413, -0.08964449167251587, -0.3892250061035156, -0.4356482923030853, 0.011178247630596161, -0.15173648297786713, 0.13868863880634308, -0.1463376134634018, -0.8116800785064697, -0.022924203425645828, -0.4029069244861603, 0.2013186812400818, 0.18611788749694824, 0.3337017893791199, 0.4541218876838684, -0.3738022744655609, -0.026199813932180405, -0.0939493402838707, 0.005875298287719488, 0.06280102580785751, -0.503993034362793, -0.8841276168823242, -0.13357464969158173, 0.6003780961036682, 0.670558512210846, -0.8067691326141357, 0.23157012462615967, -0.2672138512134552, -0.1663312464952469, -0.5174514651298523, -0.035337530076503754, 0.23404622077941895, 0.6572751402854919, 0.2754034698009491, 0.06848863512277603, -0.8617695569992065, -1.0803989171981812, -0.3726852834224701, -0.11806835234165192, 0.12695032358169556, 0.0870104730129242, 0.57048100233078, -0.02411329373717308, 1.2362027168273926, -0.5526412129402161, -0.25373175740242004, -0.22662299871444702, 0.5958157181739807, 0.30437347292900085, 0.28380224108695984, 0.6175915002822876, -1.130596399307251, -0.171725794672966, -0.13391850888729095, -1.1450750827789307, -0.003548800479620695, -0.3446727693080902, -0.1661648005247116, 0.4174812436103821, 0.3518509268760681, -0.7301195859909058, 0.6421954035758972, 0.2551593482494354, -0.2229146808385849, 0.4683068096637726, -0.0543530099093914, 0.3012847602367401, -0.7378750443458557, 0.036596737802028656, 0.479503333568573, -0.1798136830329895, -0.6879646182060242, -0.08585688471794128, -0.2734462022781372, 0.042948491871356964, -0.41634035110473633, 0.2104969322681427, -0.2520572543144226, -0.18097497522830963, -0.2639797627925873, 0.22189070284366608, 0.25477632880210876, 0.3215599060058594, 0.20404542982578278, 0.5062869191169739, 0.46230924129486084, -0.5479889512062073, 0.2967599034309387, 0.26600658893585205, -0.2354758381843567, 0.4807763993740082, -0.6186230778694153, -0.042275551706552505, -0.35370922088623047, 0.48213648796081543, -0.7956445813179016, -0.2560819983482361, 0.283897340297699, -0.4260140359401703, 0.04511551186442375, -0.21187394857406616, -0.6483830809593201, -0.08172966539859772, -0.22462452948093414, 0.09141533821821213, 0.27141231298446655, -0.4680652916431427, 0.595889151096344, 0.17461848258972168, 0.07842306047677994, -0.405635267496109, -0.8037530183792114, 0.163722425699234, -0.44959312677383423, -0.48350876569747925, 0.2271530032157898, 0.13117876648902893, -0.5693771839141846, 0.18550434708595276, -0.21057476103305817, -0.22740952670574188, -0.12909244000911713, 0.126068115234375, 0.30110257863998413, -0.5133646130561829, 0.26244527101516724, -0.07899577915668488, 0.001115681603550911, 0.240278422832489, 0.026743067428469658, -0.0058382791467010975, -0.2914767861366272, -0.32595548033714294, -0.504772961139679, 0.25436416268348694, 0.17558279633522034, -0.30963417887687683, 0.7775983214378357, 0.8076636791229248, -0.36121541261672974, 0.12895315885543823, -0.711901068687439, -0.3132091760635376, -0.37870869040489197, 0.010468586347997189, -0.18625713884830475, -0.6270937323570251, 0.2686178386211395, 0.01632831059396267, 0.11682245135307312, 0.30565595626831055, 0.006118050776422024, -0.13811039924621582, 0.728257954120636, 0.4160992205142975, 0.024931032210588455, 0.07006976008415222, -0.46518802642822266, 0.28564542531967163, -0.4265935719013214, -0.06418270617723465, -0.14715780317783356, -0.3836672902107239, -0.7993896007537842, -0.2321624755859375, 0.3436067998409271, -0.11954160779714584, -0.1713753640651703, 0.03908028081059456, -0.04784326255321503, 0.803288459777832, 0.6569303274154663, 0.17007297277450562, 0.5775116086006165, -0.2085304707288742, 0.386656254529953, -0.12126871943473816, -0.7403443455696106, -0.40033861994743347, 0.9653757214546204, 0.28358471393585205, 0.5496589541435242, 0.39377522468566895, 0.6532240509986877, 0.1487744003534317, 0.3437468111515045, -0.7487936019897461, 0.43820756673812866, -0.06084655597805977, -0.842346727848053, -0.11584558337926865, -0.47973525524139404, -0.547797441482544, 0.21276934444904327, -0.65232253074646, -0.3209588825702667, 0.2213655412197113, 0.04954632744193077, -0.3517134487628937, 0.22241710126399994, -0.7213916182518005, 0.4837086796760559, -0.2770490050315857, -0.581732451915741, -0.19143739342689514, -0.7683244347572327, 0.8065674901008606, -0.0502275750041008, 0.3078770637512207, -0.16563460230827332, 0.1183580830693245, 0.6638755202293396, 0.13180656731128693, 1.0263991355895996, -0.05702567845582962, 0.008311447687447071, 0.5817318558692932, -0.10514038056135178, 0.1941446214914322, 0.476513147354126, -0.11263690143823624, -0.03027411364018917, -0.21878933906555176, -0.30062955617904663, -1.0878872871398926, 0.6063950657844543, -0.5012091994285583, -0.7281175851821899, -0.6586706042289734, -0.542931079864502, -0.22041422128677368, 0.0853954628109932, 0.11359047889709473, 0.8151678442955017, -0.2770402729511261, 0.25788211822509766, 0.8045875430107117, 0.04068811982870102, 0.3962820768356323, 0.5736633539199829, -0.014579536393284798, -0.18841290473937988, 0.9926561713218689, 0.191496804356575, 0.1421118974685669, 0.3949994146823883, 0.44171836972236633, -0.510627031326294, -0.3762522041797638, -0.3289371728897095, 0.45334529876708984, -0.7654854655265808, -0.05411244556307793, -0.5413268208503723, -0.2638615071773529, -0.20005683600902557, 0.08979783952236176, -0.169581338763237, -0.557640552520752, 0.016203472390770912, -0.4193647503852844, 0.41363784670829773, 0.769291341304779, -0.1294294148683548, 0.030489757657051086, -0.6588225364685059, 0.47081127762794495, 0.3443149924278259, 0.0783933624625206, -0.5303937792778015, -0.44041872024536133, -0.09556226432323456, 0.1999090015888214, -0.42552754282951355, -0.861764132976532, 0.06492067128419876, 0.5009598731994629, 0.5141503214836121, 0.40315547585487366, 0.35998794436454773, 0.5237113237380981, -0.5249943733215332, 0.5625025033950806, -0.08841197192668915, -0.7141727209091187, 0.5936112403869629, -0.39874139428138733, -0.04709210619330406, 0.6338953971862793, 0.8097583055496216, -0.2531125545501709, -0.5572803616523743, -0.7875150442123413, -0.3700801134109497, 0.3243161141872406, 0.4128859043121338, 0.0011873530456796288, -0.0298033244907856, 0.32245486974716187, 0.07243429869413376, 0.1846446543931961, -0.6622397303581238, -0.22960521280765533, -0.3155604898929596, -0.2803163528442383, 0.061214786022901535, -0.18444794416427612, -0.4741935133934021, -0.4675014019012451, 0.6318680644035339, -0.24877513945102692, 0.2925671339035034, 0.43180644512176514, -0.1213693767786026, 0.18205615878105164, 0.34813472628593445, 0.637025773525238, 0.7528199553489685, -0.3561181426048279, 0.48147550225257874, 0.28967657685279846, -0.20936478674411774, 0.05244320631027222, 0.21811234951019287, -0.2626665532588959, 0.24164651334285736, 0.5451835989952087, 0.9093664288520813, 0.3864012062549591, -0.34234505891799927, 0.599049985408783, 0.05263351649045944, -0.3782784044742584, -0.3153669834136963, -0.06859507411718369, 0.10392475873231888, 0.10302082449197769, 0.36538615822792053, 0.13650068640708923, 0.5768795609474182, -0.8530532121658325, 0.35892772674560547, 0.2729625701904297, -0.33146244287490845, -0.5070820450782776, 0.4497776925563812, 0.21805542707443237, 0.18420323729515076, 0.416847825050354, -0.35503023862838745, -0.5070798993110657, 0.4864695072174072, 0.7005831599235535, 0.4704185426235199, 0.37632012367248535, 0.462505042552948, 0.4661617875099182, 0.30161941051483154, -0.12251235544681549, 0.08731532096862793, 0.20674295723438263, -0.8623948097229004, -0.822507381439209, -0.3896336853504181, -0.45773056149482727, 0.11170211434364319, -0.5729105472564697, 0.3241735100746155, -0.27493414282798767, 0.042457181960344315, 0.3297085762023926, -0.04394964128732681, -0.5900840163230896, 0.3468291163444519, 0.21859438717365265, 0.7525224685668945, -1.2198309898376465, 0.6352571845054626, 0.6949687600135803, -0.6271440386772156, -0.6391574144363403, 0.3374381959438324, 0.1899813562631607, -0.3198228180408478, 0.7886596918106079, 0.2888791859149933, -0.02609609067440033, 0.05154658481478691, -0.6767776608467102, -0.7935431003570557, 0.9107664227485657, 0.4049709737300873, -0.17337654531002045, 0.07480572164058685, 0.24897845089435577, 0.44579049944877625, -0.24040646851062775, 0.24356546998023987, 0.7845380902290344, 0.593579888343811, 0.23499970138072968, -0.5005850791931152, 0.038086485117673874, -0.10401346534490585, -0.38622304797172546, 0.13347144424915314, -0.5879846811294556, 0.4192068576812744, -0.3333705961704254, -0.4366123080253601, -0.4794343411922455, 0.9537057876586914, 0.2453765571117401, 0.7490271329879761, 0.44603633880615234, 0.6971725225448608, 0.639899492263794, -0.13806408643722534, 0.9297725558280945, -0.0068509806878864765, 0.2241220772266388, 1.0602821111679077, -0.28119394183158875, 0.7451919317245483, 0.37664729356765747, -0.0865904688835144, 0.5941817760467529, 0.47680485248565674, 0.021897561848163605, 0.3088812232017517, -0.10498245805501938, -0.44313809275627136, -0.26269015669822693, -0.32393187284469604, -0.07249751687049866, 0.7430636882781982, 0.34605738520622253, 0.03388456627726555, -0.2914702296257019, -0.029461698606610298, 0.15839459002017975, 0.30079105496406555, -0.04831700772047043, 0.7814279198646545, 0.05556624010205269, -0.6623311042785645, 0.4312002658843994, -0.23063825070858002, 0.7475266456604004, -0.4425464868545532, -0.16267670691013336, -0.1787075400352478, -0.2453020215034485, -0.3986355662345886, -0.8055176734924316, 0.6893823742866516, -0.07488042861223221, -0.17117127776145935, 0.2955550253391266, 0.817064106464386, -0.5756615400314331, -0.586654782295227, -0.21709226071834564, 0.5461013913154602, 0.036823395639657974, 0.13726384937763214, -0.48503828048706055, -0.034170735627412796, -0.1638648808002472, -0.22909022867679596, 0.06256642192602158, 0.5590360164642334, 0.05181987211108208, 0.45821505784988403, 0.7506887912750244, -0.006443347781896591, -0.038858991116285324, 0.04748552292585373, 0.6914425492286682, -0.5033923387527466, -0.2743840515613556, -0.884721577167511, 0.2975015342235565, -0.42065998911857605, -0.2413424402475357, 0.924680769443512, 0.8424643278121948, 0.5391685962677002, 0.0749533399939537, 0.939631998538971, -0.06932055205106735, 0.4986836612224579, -0.8420509099960327, 0.4515995979309082, -0.20412714779376984, -0.042786311358213425, 0.06231313943862915, -0.9439854621887207, -0.5402958393096924, 0.3643466532230377, -0.6343726515769958, -0.3593103289604187, 0.893238365650177, 0.7261475920677185, -0.27503398060798645, 0.5399999022483826, 0.12154107540845871, -0.012073498219251633, 0.22876064479351044, 0.2473921775817871, 0.9019259810447693, -0.359516441822052, 0.3832269310951233, -0.3680955767631531, -0.10002071410417557, 0.08694104105234146, -0.9755883812904358, -0.8723982572555542, -0.36257871985435486, -0.5701281428337097, -0.12946553528308868, 0.2833542823791504, 0.7540094256401062, 0.47833746671676636, -0.704125165939331, 0.1621692031621933, -0.27281028032302856, 0.09645705670118332, -0.07173046469688416, -0.26490458846092224, 0.35030224919319153, -0.44278401136398315, -0.651323139667511, 0.49078086018562317, -0.05137615278363228, 0.11267266422510147, -0.1180991381406784, 0.09577934443950653, -0.618074357509613, 0.2387605756521225, 0.5114398002624512, 0.24186159670352936, -0.6690919995307922, -0.6218656897544861, -0.12742257118225098, 0.1922541707754135, 0.0016500292113050818, 0.8342529535293579, -0.7827208638191223, 0.2315884530544281, 0.4444252550601959, 0.7588396072387695, 0.34481778740882874, 0.3436039388179779, 0.5102664232254028, -1.0651218891143799, 0.3460538387298584, 0.052824411541223526, 0.19781404733657837, 0.5623175501823425, -0.3393939137458801, 0.790378987789154, 0.5169574618339539, -0.5406157374382019, -0.7860679030418396, 0.34723544120788574, -0.8778412342071533, -0.09290587157011032, 1.2875655889511108, 0.08162162452936172, -0.3038482666015625, -0.31324902176856995, -0.1966598480939865, 0.3443438410758972, -0.17966113984584808, 0.5703622102737427, 0.5020872950553894, -0.19707900285720825, -0.20345523953437805, -1.0622292757034302, 0.6082901954650879, 0.18870878219604492, -0.8210858702659607, -0.2869003713130951, 0.45809078216552734, 0.22396057844161987, 0.3704470694065094, 0.33565351366996765, 0.267339289188385, 0.14442066848278046, 0.076871357858181, -0.17917278409004211, -0.04398750141263008, -0.28837019205093384, 0.10228804498910904, -0.1208195760846138, -0.15481038391590118, -0.2651483714580536 ]
http://arxiv.org/abs/2406.16838v1
http://arxiv.org/pdf/2406.16838v1
From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Models
2024-06-24T17:45:59
2024-06-24T17:45:59
Sean Welleck, Amanda Bertsch, Matthew Finlayson, Hailey Schoelkopf, Alex Xie, Graham Neubig, Ilia Kulikov, Zaid Harchaoui
cs.CL
cs.CL, cs.LG
One of the most striking findings in modern research on large language models (LLMs) is that scaling up compute during training leads to better results. However, less attention has been given to the benefits of scaling compute during inference. This survey focuses on these inference-time approaches. We explore three areas under a unified mathematical formalism: token-level generation algorithms, meta-generation algorithms, and efficient generation. Token-level generation algorithms, often called decoding algorithms, operate by sampling a single token at a time or constructing a token-level search space and then selecting an output. These methods typically assume access to a language model's logits, next-token distributions, or probability scores. Meta-generation algorithms work on partial or full sequences, incorporating domain knowledge, enabling backtracking, and integrating external information. Efficient generation methods aim to reduce token costs and improve the speed of generation. Our survey unifies perspectives from three research communities: traditional natural language processing, modern LLMs, and machine learning systems.
[ -0.29935190081596375, -0.7588993310928345, 0.6225367188453674, 0.3947199881076813, -0.08210962265729904, 0.01901520974934101, -0.2743251323699951, -0.4391304850578308, 0.13524553179740906, 0.42342689633369446, -0.569373607635498, -0.12316322326660156, -0.5451884865760803, 0.17625853419303894, -0.4494006633758545, 0.6732478737831116, 0.27050215005874634, 0.1883781999349594, -0.062378428876399994, 0.12037590891122818, -0.28754034638404846, -0.5967980027198792, -0.896876871585846, -0.2548340857028961, 0.2892802953720093, 0.22675006091594696, 0.4978291690349579, 0.9195618629455566, 0.26779261231422424, 0.27693039178848267, -0.12430279701948166, 0.1650974154472351, -0.25784194469451904, 0.12806610763072968, -0.1957039088010788, -0.6305601000785828, -0.38751983642578125, -0.22327718138694763, 0.9104572534561157, 0.973873496055603, -0.13399702310562134, 0.5615351796150208, -0.0832439661026001, 0.5277350544929504, -1.1199992895126343, 0.15791767835617065, -0.7273801565170288, 0.05602499097585678, -0.3660392463207245, -0.292204886674881, -0.7323058247566223, -0.2929520010948181, -0.13220852613449097, -0.3151050806045532, 0.4764477014541626, 0.09414146095514297, 0.2508319914340973, 0.06331256777048111, -0.6309400200843811, -0.3916291296482086, -0.8570613265037537, 1.3133785724639893, -0.9046925902366638, 0.24822589755058289, 0.18970489501953125, 0.21819522976875305, -0.186942920088768, -1.007474422454834, -0.4137812554836273, 0.12069215625524521, -0.17136813700199127, -0.2034761756658554, -0.27898696064949036, 0.3133363127708435, 0.4500754177570343, 0.42260637879371643, -0.17031829059123993, 0.21794413030147552, -0.038897234946489334, -0.20959743857383728, 0.5251733660697937, 0.25172993540763855, 0.21861854195594788, -0.35482561588287354, 0.24605149030685425, -0.06745641678571701, -0.8685735464096069, -0.27170413732528687, 0.21008391678333282, 0.21074384450912476, 0.34581243991851807, 0.529987633228302, -0.035049211233854294, 0.8363261222839355, -0.0007788189686834812, -0.13779112696647644, -0.07110638916492462, -0.7026283144950867, -0.24512942135334015, -0.11962588876485825, 0.7805253267288208, 0.01356737595051527, 0.13370682299137115, -0.22771598398685455, -0.08984901756048203, 0.028319157660007477, -0.10713962465524673, -0.860517144203186, 0.14220823347568512, 0.13934704661369324, -0.5792934894561768, -0.28296053409576416, 0.039265215396881104, -0.9560297131538391, -0.14647234976291656, -0.2690119743347168, 0.022136325016617775, -0.11290203034877777, -0.40091708302497864, 0.11272189766168594, -0.12388499081134796, 0.3351759612560272, 0.049085624516010284, -1.212476134300232, 0.508404552936554, 0.8692082762718201, 0.8075579404830933, 0.0812566876411438, -0.10530729591846466, -0.9130215048789978, 0.20513920485973358, -0.5727974772453308, 0.4441748261451721, -0.4972512125968933, -0.15070824325084686, 0.21723894774913788, -0.26354503631591797, -0.12856316566467285, -0.3069894015789032, 0.5738216042518616, -0.7012059688568115, 0.20890475809574127, -0.2673918604850769, -0.6251227855682373, 0.10207144170999527, -0.06672756373882294, -0.746389627456665, 1.029866099357605, -0.1626761555671692, -0.9704421162605286, 0.3951500952243805, -0.8609153032302856, -0.6770492196083069, -0.10822396725416183, 0.011639096774160862, -0.19941584765911102, 0.6077126264572144, 0.5125857591629028, 0.5492128133773804, -0.5762857794761658, 0.18540869653224945, -0.1278008222579956, -0.12371068447828293, 0.18415462970733643, -0.567431628704071, 0.8508555293083191, 0.6154741048812866, -0.5154368281364441, -0.17907951772212982, -0.813361406326294, 0.22027195990085602, 0.22824513912200928, -0.3782079517841339, -0.19409680366516113, 0.48926472663879395, -0.2095843255519867, -0.08466474711894989, 0.13862036168575287, -0.5602450966835022, 0.15892137587070465, -0.4578154683113098, 0.9759529232978821, 0.5920242667198181, 0.04239939898252487, 0.6268989443778992, 0.10432479530572891, 0.40576404333114624, -0.1580079197883606, -0.002600795589387417, -0.6008638143539429, -0.1618151068687439, -0.7069666385650635, -0.2684415578842163, 0.579814612865448, 0.30052655935287476, -0.6656166911125183, 0.32339295744895935, -0.4474150538444519, -0.13376502692699432, -0.4747447371482849, 0.03057350032031536, 0.31459400057792664, 0.18322709202766418, 0.2638411521911621, 0.18600112199783325, -0.5538126230239868, -0.6610673666000366, -0.5270829200744629, -0.11312884092330933, -0.19909624755382538, 0.32527023553848267, 0.23137818276882172, -0.22777162492275238, 0.8781420588493347, -0.5486729145050049, 0.44512486457824707, -0.37572336196899414, 0.24817198514938354, 0.15745456516742706, 0.3119608759880066, 0.5172387361526489, -0.6390285491943359, -0.2687278687953949, -0.16540248692035675, -0.49189233779907227, -0.19191493093967438, 0.02258884534239769, 0.12775126099586487, 0.4147978723049164, 0.7608525156974792, -0.5403547286987305, 0.24617959558963776, 0.6238396167755127, -0.17306514084339142, 0.43347498774528503, -0.20278553664684296, 0.10468722134828568, -1.152400016784668, -0.00925137847661972, -0.45826032757759094, -0.37819361686706543, -0.818428099155426, 0.3276323080062866, -0.023459898307919502, 0.07916491478681564, -0.16390636563301086, 0.6205231547355652, -0.9016495943069458, -0.4848147928714752, -0.2581603527069092, 0.09761067479848862, -0.12920881807804108, 0.23712337017059326, 0.01602799817919731, 0.5493901968002319, 0.5130226016044617, -0.7110795974731445, 0.13088978826999664, -0.3494642674922943, -0.2900691330432892, 0.10862085968255997, -0.46606409549713135, 0.2468843162059784, -0.0411335751414299, 0.37184515595436096, -0.9879043102264404, -0.2868512272834778, -0.11752413958311081, -0.3160863518714905, 0.22438597679138184, -0.13338670134544373, -0.9041684865951538, -0.4637008607387543, -0.23073306679725647, 0.853248655796051, 0.536620020866394, -0.7037321925163269, 0.714379608631134, 0.19044016301631927, 0.04276140779256821, -0.7812698483467102, -0.8187142610549927, 0.16926416754722595, -0.11919580399990082, -0.5223309397697449, 0.0973559319972992, 0.12063638120889664, -0.5262355804443359, 0.06463281810283661, 0.10699767619371414, 0.059682779014110565, 0.19069387018680573, -0.11337963491678238, -0.13971585035324097, -0.32333824038505554, 0.1237083226442337, 0.11116474866867065, -0.07706721872091293, 0.07792776077985764, -0.6645416617393494, 0.7340766191482544, -0.012671899050474167, -0.4383057653903961, -0.16200949251651764, 0.36390575766563416, 0.5584570169448853, -0.3259194493293762, 0.8607614040374756, 0.5501187443733215, -0.26286211609840393, -0.3488251864910126, -0.6394985914230347, -0.15694327652454376, -0.42282840609550476, 0.1556357592344284, -0.3770073652267456, -0.761436939239502, 0.4975253939628601, -0.2302566021680832, 0.5405541658401489, 0.8205432295799255, 0.7952415943145752, 0.10740736871957779, 1.143593668937683, 0.5517929792404175, -0.11686280369758606, 0.7596656084060669, -0.22337152063846588, 0.15042071044445038, -0.6125199198722839, 0.1646910309791565, -0.7154780030250549, -0.23174497485160828, -0.4554523229598999, -0.6697056889533997, 0.1001136377453804, 0.09981139004230499, -0.1732414811849594, 0.12147464603185654, -0.20835502445697784, 0.5152347087860107, 0.6685727834701538, -0.3309720754623413, 0.4587409198284149, 0.22735272347927094, -0.1148972362279892, 0.19519062340259552, -0.9427709579467773, -0.17186735570430756, 1.3378257751464844, 0.2736845910549164, 0.6556434035301208, 0.11034020781517029, 0.6979419589042664, 0.30359533429145813, 0.29733988642692566, -0.6147028207778931, 0.45907947421073914, -0.14747712016105652, -0.7373065948486328, -0.5502297282218933, -0.7995545268058777, -1.0228400230407715, 0.27151602506637573, -0.1559433788061142, -0.4918425977230072, -0.013323972932994366, 0.28334733843803406, -0.024479810148477554, 0.6593997478485107, -0.6408175826072693, 0.4251517653465271, -0.06901305168867111, -0.2285970151424408, -0.4985118806362152, -0.6514819860458374, 0.5861571431159973, -0.14139267802238464, 0.4309288263320923, 0.28406915068626404, -0.10060816258192062, 0.5745143890380859, -0.5066621899604797, 0.701412558555603, -0.16069531440734863, -0.13968881964683533, 0.4993956685066223, 0.16370366513729095, 0.6368653178215027, -0.018218733370304108, -0.18480904400348663, 0.10941822826862335, 0.1688774973154068, -0.5702164173126221, -0.5633059740066528, 0.32620638608932495, -0.4534370005130768, -0.30475297570228577, -0.0941130593419075, -0.5091166496276855, -0.2189405858516693, 0.2905098497867584, 0.5541599988937378, 0.6032307147979736, -0.2797452509403229, 0.15900833904743195, 0.6770135760307312, -0.22157207131385803, 0.6852824091911316, 0.2899995446205139, -0.27145811915397644, -0.40969517827033997, 0.8799190521240234, 0.14155487716197968, 0.5241841077804565, 0.7658712863922119, 0.25930678844451904, -0.32546788454055786, -0.5340531468391418, -0.41509222984313965, 0.37488749623298645, -0.4965152144432068, -0.1079297885298729, -0.5379610061645508, -0.15112996101379395, -0.6844710111618042, -0.03787193074822426, -0.39839819073677063, -0.6254953742027283, -0.31180834770202637, -0.24707937240600586, 0.01705426163971424, 0.733943521976471, -0.29262861609458923, 0.46366971731185913, -0.792969286441803, 0.3517507016658783, 0.25395017862319946, -0.0018267545383423567, 0.29476141929626465, -0.17803046107292175, -0.31234702467918396, 0.013298427686095238, -0.03448868170380592, -0.6230380535125732, -0.0701051652431488, 0.23823820054531097, 0.506179690361023, 0.5564102530479431, -0.1929742395877838, 0.5185778737068176, -0.6685400009155273, 0.889549195766449, 0.2566671371459961, -1.1310064792633057, 0.27039170265197754, -0.2291477769613266, 0.19099190831184387, 0.21398138999938965, 0.002878733677789569, -0.6436797976493835, -0.16512399911880493, -0.6810725331306458, -0.6263794898986816, 0.4839031398296356, 0.15421779453754425, 0.25489264726638794, -0.18810881674289703, 0.5190806984901428, -0.0342852883040905, 0.21310101449489594, -0.6443943977355957, -0.22667597234249115, -0.056979961693286896, -0.30462533235549927, -0.35382094979286194, -0.41410180926322937, -0.10514650493860245, 0.015898313373327255, 0.2027769237756729, -0.38804998993873596, 0.31289586424827576, -0.10835081338882446, -0.3124335706233978, -0.09080503135919571, 0.49404630064964294, 0.597326397895813, 0.8304718136787415, 0.1108253002166748, 0.29385441541671753, 0.24598556756973267, -0.2602803111076355, 0.19460844993591309, -0.15471628308296204, -0.17179030179977417, -0.013464095070958138, 0.9417757391929626, 0.8700770735740662, 0.1999702751636505, -0.5145819783210754, 0.5137248039245605, -0.10843388736248016, -0.41437387466430664, -0.05828119441866875, 0.012056639418005943, 0.10970116406679153, 0.14925608038902283, 0.43100640177726746, -0.30628710985183716, 0.19928766787052155, -0.6566053628921509, 0.03149593994021416, 0.6410079598426819, 0.11920703202486038, -0.5112356543540955, 0.6058282852172852, 0.08376766741275787, -0.20957033336162567, 0.654220461845398, 0.07035277783870697, -0.21219518780708313, 0.4640231132507324, 0.7408215403556824, 1.061618447303772, -0.10124513506889343, 0.11858798563480377, 0.39432835578918457, 0.21788190305233002, -0.2695496380329132, 0.11097319424152374, -0.38293173909187317, -0.561188280582428, -0.888746440410614, -0.8529604077339172, -0.17387370765209198, -0.046536028385162354, -0.6968694925308228, -0.08161888271570206, -0.41751325130462646, -0.24017809331417084, -0.13140256702899933, 0.014428933151066303, -0.6826556921005249, -0.06067611649632454, 0.13928355276584625, 1.1477948427200317, -0.7875457406044006, 0.36596307158470154, 0.41163671016693115, 0.11630334705114365, -0.7604095339775085, 0.023307915776968002, -0.21458405256271362, -0.6950880289077759, 0.5794759392738342, -0.28061792254447937, -0.27765053510665894, 0.1925741732120514, -0.6225326657295227, -0.8350825309753418, 0.9948047399520874, 0.5471965074539185, -0.45061028003692627, -0.469629168510437, 0.18885605037212372, 0.5426859259605408, -0.36408641934394836, 0.23818758130073547, 0.9926242828369141, 0.3667560815811157, 0.09561936557292938, -0.6073872447013855, -0.017453623935580254, 0.21783941984176636, 0.057045310735702515, 0.5484174489974976, -0.5791104435920715, 0.8732641339302063, -0.19740554690361023, -0.43338197469711304, 0.1399029642343521, 0.8183123469352722, 0.22581839561462402, 0.13305115699768066, 0.605512797832489, 0.6275070905685425, 0.8106567859649658, 0.017409157007932663, 1.1237510442733765, -0.33976051211357117, 0.3815051317214966, 0.8352339863777161, 0.09110242128372192, 0.6418408751487732, 0.44792440533638, -0.3339281976222992, 0.5331557393074036, 0.7000524997711182, 0.19339922070503235, 0.2377832531929016, 0.3442741632461548, -0.31244316697120667, -0.178048774600029, 0.18739883601665497, -0.22251199185848236, 0.14395098388195038, 0.38904523849487305, -0.45357418060302734, -0.40273311734199524, -0.11110755056142807, 0.04244418442249298, -0.3827529847621918, -0.4849855303764343, 0.9293203949928284, 0.08930356055498123, -0.800502359867096, 0.2661742568016052, 0.25321200489997864, 0.4040464460849762, -0.6287769079208374, 0.03637973591685295, -0.32111290097236633, 0.14634594321250916, -0.18366268277168274, -0.46972745656967163, 0.00947554036974907, 0.10891246795654297, -0.3583963215351105, -0.2166239321231842, 0.5848636627197266, -0.20829492807388306, -0.7079697847366333, 0.21298864483833313, 0.531331479549408, 0.24589908123016357, 0.08763182908296585, -0.35967883467674255, -0.07700424641370773, -0.1671231985092163, -0.42185497283935547, 0.1128176748752594, 0.6325516700744629, -0.12613165378570557, 0.602109432220459, 0.6583346128463745, 0.30118995904922485, 0.6660908460617065, 0.16642560064792633, 0.6060410141944885, -0.7095540165901184, -0.3450849652290344, -1.1171629428863525, 0.19183258712291718, 0.21999678015708923, 0.03515623137354851, 0.7679285407066345, 0.41333186626434326, 0.6195526123046875, 0.0611383318901062, 0.7404435276985168, -0.11993998289108276, 0.40883776545524597, -0.8026941418647766, 0.16131465137004852, -0.5235926508903503, 0.020886577665805817, -0.35778382420539856, -0.9779008626937866, -0.35222309827804565, 0.06411612778902054, -0.2010975331068039, 0.09879163652658463, 0.6213381886482239, 0.4623098075389862, -0.04907437041401863, -0.23784908652305603, 0.1340826153755188, 0.0735912173986435, 0.6223577260971069, 0.41280677914619446, 0.7439870834350586, -0.25367236137390137, 0.5503267049789429, 0.15031661093235016, -0.2732371985912323, -0.3196827173233032, -1.0321625471115112, -0.7657808065414429, -0.381268709897995, 0.14314086735248566, -0.20251892507076263, -0.3638443946838379, 0.6749497056007385, 0.7838032841682434, -0.6904950737953186, -0.3292606770992279, -0.4041160047054291, 0.30817583203315735, -0.4283680319786072, -0.20950056612491608, 0.5022110939025879, -0.7963359951972961, -1.0107221603393555, 0.3273271918296814, 0.019229033961892128, -0.2637854218482971, -0.5254440903663635, -0.021612586453557014, 0.027802230790257454, 0.45892396569252014, 0.8325971961021423, 0.43291667103767395, -0.5959964990615845, 0.004838098306208849, 0.12287884205579758, -0.0831739529967308, -0.14873439073562622, 1.4266115427017212, -0.482305645942688, 0.27152323722839355, 0.8086571097373962, 0.9190186262130737, 0.7879244089126587, 0.17378349602222443, 0.8027753233909607, -0.6633518934249878, -0.026623791083693504, 0.029562827199697495, 0.4217749536037445, 0.11013267189264297, -0.19171655178070068, 0.5537042617797852, 0.3360016644001007, -0.5197650790214539, -1.1050583124160767, 0.5109682679176331, -0.4140842854976654, -0.4625961482524872, 1.0366098880767822, 0.1744779795408249, -0.3927203118801117, 0.22277717292308807, 0.17625075578689575, 0.1891045719385147, 0.08370257914066315, 0.2860187590122223, 0.8753790855407715, -0.2118452787399292, -0.04925546422600746, -0.5872218012809753, 0.5031052827835083, 0.434095174074173, -0.7215112447738647, 0.44197627902030945, 0.548427402973175, 0.3911570608615875, 0.284184992313385, 0.7558884620666504, -0.16427066922187805, 0.057780198752880096, 0.15736335515975952, -0.0180838480591774, 0.05861432105302811, -0.47527846693992615, -0.4566493034362793, 0.27542006969451904, 0.07087080180644989, -0.02637222222983837 ]
http://arxiv.org/abs/2406.16833v1
http://arxiv.org/pdf/2406.16833v1
USDC: A Dataset of $\underline{U}$ser $\underline{S}$tance and $\underline{D}$ogmatism in Long $\underline{C}$onversations
2024-06-24T17:41:53
2024-06-24T17:41:53
Mounika Marreddy, Subba Reddy Oota, Venkata Charan Chinni, Manish Gupta, Lucie Flek
cs.CL
cs.CL, cs.AI, cs.LG
Identifying user's opinions and stances in long conversation threads on various topics can be extremely critical for enhanced personalization, market research, political campaigns, customer service, conflict resolution, targeted advertising, and content moderation. Hence, training language models to automate this task is critical. However, to train such models, gathering manual annotations has multiple challenges: 1) It is time-consuming and costly; 2) Conversation threads could be very long, increasing chances of noisy annotations; and 3) Interpreting instances where a user changes their opinion within a conversation is difficult because often such transitions are subtle and not expressed explicitly. Inspired by the recent success of large language models (LLMs) for complex natural language processing (NLP) tasks, we leverage Mistral Large and GPT-4 to automate the human annotation process on the following two tasks while also providing reasoning: i) User Stance classification, which involves labeling a user's stance of a post in a conversation on a five-point scale; ii) User Dogmatism classification, which deals with labeling a user's overall opinion in the conversation on a four-point scale. The majority voting on zero-shot, one-shot, and few-shot annotations from these two LLMs on 764 multi-user Reddit conversations helps us curate the USDC dataset. USDC is then used to finetune and instruction-tune multiple deployable small language models for the 5-class stance and 4-class dogmatism classification tasks. We make the code and dataset publicly available [https://anonymous.4open.science/r/USDC-0F7F].
[ -0.6646655201911926, -0.6826112866401672, 0.6687439680099487, 0.10159315168857574, -0.1797625869512558, -0.09822347015142441, -0.45550185441970825, -0.5564360022544861, -0.1982131004333496, 0.5407214760780334, -0.4206046164035797, -0.7104931473731995, -0.5768114328384399, 0.3794559836387634, -0.11581287533044815, 1.317511796951294, -0.10302399843931198, -0.1447524130344391, -0.056106287986040115, -0.3895585834980011, -0.06881454586982727, -0.694297730922699, -0.7360987067222595, -0.3983360528945923, 0.6919357180595398, 0.4304107129573822, 0.7665514349937439, 0.4642404615879059, 0.20698800683021545, 0.349426805973053, 0.05479401350021362, 0.053537290543317795, -0.25585219264030457, 0.08386197686195374, -0.2932664752006531, -0.43432626128196716, -0.43971237540245056, 0.5520958304405212, 0.35891419649124146, 0.5732670426368713, -0.1294647604227066, 0.30404627323150635, -0.11231448501348495, 0.3111326992511749, -0.28409063816070557, 0.43719482421875, -0.5786430239677429, -0.171201691031456, -0.18769410252571106, 0.20902876555919647, -0.27032941579818726, -0.22879576683044434, 0.10031906515359879, -0.42071154713630676, 0.2013479620218277, -0.04725101217627525, 0.978056788444519, 0.2139090746641159, -0.4022614061832428, -0.21175698935985565, -0.5268197655677795, 0.9629525542259216, -0.7620258927345276, 0.24600648880004883, 0.8170142769813538, 0.1942453384399414, -0.04188898950815201, -0.6254875659942627, -0.757962167263031, -0.399537593126297, -0.14401330053806305, -0.04120423272252083, 0.02585800737142563, 0.14429284632205963, 0.5422433614730835, 0.30741843581199646, -0.12896426022052765, 0.31890472769737244, -0.026008566841483116, -0.13393963873386383, 0.7910171747207642, 0.15243957936763763, 0.04772011190652847, -0.4132327735424042, -0.3488115966320038, 0.018395107239484787, -0.4180251955986023, 0.23858977854251862, 0.47579020261764526, 0.26181554794311523, -0.1753360629081726, 0.4927537739276886, -0.40790706872940063, 0.6439763903617859, 0.20688952505588531, -0.12027539312839508, 0.2148265391588211, -0.3620772659778595, -0.17680220305919647, -0.35218581557273865, 1.0441802740097046, 0.15340401232242584, 0.19363951683044434, 0.0034312340430915356, -0.1632407307624817, 0.14806926250457764, 0.25873956084251404, -0.7680967450141907, -0.11178809404373169, 0.11740735173225403, -0.16034725308418274, -0.4634064733982086, 0.2452048659324646, -0.7757816314697266, -0.48652318120002747, -0.8603858351707458, 0.07827932387590408, 0.0231087114661932, -0.05460568889975548, 0.0347803570330143, 0.13576041162014008, 0.22829405963420868, 0.5106912851333618, -1.032523512840271, 0.3673359155654907, 0.7247715592384338, 0.6602751016616821, 0.018690630793571472, -0.087197445333004, -0.23260557651519775, -0.1440107822418213, -0.12974566221237183, 0.8574734926223755, -0.6860044598579407, -0.19255447387695312, -0.0775258019566536, 0.26512229442596436, -0.026063809171319008, -0.16175706684589386, 0.5622379779815674, -0.4072157144546509, 0.32023146748542786, -0.41070640087127686, -0.4731421172618866, -0.16287967562675476, 0.45679739117622375, -0.4921451807022095, 1.0612883567810059, 0.22364209592342377, -0.9372395873069763, 0.274004727602005, -0.7666283845901489, -0.3246651589870453, -0.10309208184480667, -0.4276205897331238, -0.3852842450141907, -0.04032532125711441, 0.4282325804233551, 0.7523661851882935, -0.5135558843612671, 0.28095743060112, -0.4670259952545166, -0.08684930950403214, 0.4753221273422241, -0.19127148389816284, 0.687261700630188, 0.23052985966205597, -0.7041353583335876, 0.07888340204954147, -0.756191074848175, -0.044212523847818375, 0.10017719864845276, -0.48502427339553833, -0.3813193738460541, -0.1219281330704689, 0.02162444032728672, 0.3689585030078888, 0.13270941376686096, -0.5179842710494995, 0.4152149260044098, -0.4044281542301178, 0.5464068651199341, 0.9607452154159546, 0.015521305613219738, 0.2916319668292999, 0.022776305675506592, 0.3588448464870453, -0.010778180323541164, 0.10218644142150879, -0.14209286868572235, -0.49017518758773804, -0.8901025056838989, -0.18754151463508606, 0.3680332601070404, 0.5162071585655212, -0.5394896268844604, 0.5724207162857056, -0.21718665957450867, -0.4456981122493744, -0.5800529718399048, 0.24663960933685303, 0.3439100384712219, 0.36340615153312683, 0.3167964816093445, -0.23204542696475983, -0.41632184386253357, -0.8586810827255249, -0.08875870704650879, -0.24002639949321747, -0.16381803154945374, 0.3209570050239563, 0.4993552267551422, -0.5227746367454529, 0.9550816416740417, -0.34601616859436035, -0.35930973291397095, -0.15878093242645264, 0.7506069540977478, -0.10433304309844971, 0.20642612874507904, 0.3448445796966553, -0.5453485250473022, -0.42319953441619873, 0.20042307674884796, -0.6786274313926697, -0.2748042643070221, -0.34908467531204224, -0.15017126500606537, 0.48263418674468994, 0.5644069314002991, -0.6101250052452087, 0.4897388815879822, 0.48177191615104675, -0.21010521054267883, 0.34426212310791016, -0.023790935054421425, 0.29886630177497864, -1.1570055484771729, 0.15085193514823914, 0.34440216422080994, -0.25682333111763, -0.35413074493408203, -0.160689115524292, -0.24571435153484344, -0.019035914912819862, -0.12110117077827454, 0.515275776386261, -0.45378342270851135, 0.17364360392093658, -0.24915240705013275, 0.18127314746379852, -0.22221435606479645, 0.706878125667572, 0.04480808600783348, 0.6614200472831726, 0.23729318380355835, -0.3043958842754364, 0.4749579429626465, 0.2409297674894333, -0.0994366854429245, 0.6514801383018494, -0.4810521602630615, 0.40359893441200256, -0.07292941957712173, 0.36031925678253174, -0.8000913858413696, -0.3754698932170868, 0.4261739253997803, -0.2980059087276459, 0.2130340188741684, -0.24948449432849884, -0.6747872829437256, -0.29764798283576965, -0.25004175305366516, 0.06653465330600739, 0.3169128894805908, -0.4523092210292816, 0.5155277848243713, 0.6683078408241272, -0.14598320424556732, -0.45767655968666077, -0.4104406535625458, 0.2835591435432434, -0.025921521708369255, -0.26546525955200195, -0.09431330859661102, 0.11705471575260162, -0.2779465913772583, -0.16862553358078003, 0.09048285335302353, 0.1867758333683014, 0.010156986303627491, 0.5616109371185303, 0.035440120846033096, -0.00005541913924389519, 0.24976341426372528, -0.12845465540885925, -0.3916539251804352, 0.11039542406797409, -0.252378910779953, 0.42690348625183105, -0.49566850066185, -0.40687859058380127, -0.67671799659729, 0.314117431640625, 0.5363807678222656, -0.10238519310951233, 0.47644472122192383, 0.7267871499061584, -0.2865292727947235, -0.19112001359462738, -0.8137950301170349, -0.1323997974395752, -0.4267462193965912, 0.28425052762031555, -0.26309481263160706, -0.8498148918151855, 0.36649206280708313, -0.1101280003786087, 0.3690979778766632, 0.5345466136932373, 0.7078129649162292, -0.2117748111486435, 1.2506498098373413, 0.5455768704414368, -0.6018573045730591, 0.43112504482269287, -0.25511446595191956, 0.03503479063510895, -0.4536290466785431, 0.05716634541749954, -0.6682758927345276, -0.3689391314983368, -0.4787698984146118, -0.49467459321022034, -0.05142999440431595, -0.25526589155197144, -0.28569918870925903, 0.2526104748249054, -0.3875297009944916, 0.37605178356170654, 0.506447970867157, -0.08765226602554321, 0.22251585125923157, 0.17950370907783508, -0.01759955659508705, -0.23165826499462128, -0.2890656590461731, -0.6814042329788208, 1.059080958366394, 0.4397270679473877, 0.8579820990562439, -0.28541529178619385, 0.5480183362960815, 0.33400407433509827, 0.5853300094604492, -0.8147667646408081, 0.7070829272270203, 0.031473904848098755, -0.49968862533569336, -0.2661893665790558, -0.4905167818069458, -0.7963146567344666, -0.025796005502343178, -0.26403865218162537, -0.622273862361908, -0.0816919356584549, 0.15675559639930725, -0.29679903388023376, 0.35309162735939026, -0.4666604995727539, 0.9872434735298157, -0.2430894523859024, -0.0817534476518631, -0.16848447918891907, -0.9129482507705688, 0.14102067053318024, -0.0644882321357727, 0.23938585817813873, -0.21170105040073395, -0.03342710807919502, 0.6306374073028564, -0.38639581203460693, 1.2781370878219604, -0.23833326995372772, -0.04449491202831268, 0.3434077203273773, -0.2835776209831238, 0.5850362181663513, 0.15881867706775665, 0.12168225646018982, 0.42543643712997437, -0.26858654618263245, -0.18601815402507782, -0.5047210454940796, 0.5650345087051392, -0.9764980673789978, -0.5434611439704895, -0.6448830366134644, -0.21552890539169312, -0.24597540497779846, 0.0031499192118644714, 0.06841988116502762, 0.28339073061943054, -0.1743079572916031, 0.11111732572317123, 0.4554835855960846, 0.13134931027889252, 0.23061144351959229, 0.24557536840438843, -0.062300968915224075, -0.4892186224460602, 0.6317573189735413, 0.012302925810217857, 0.1812605857849121, 0.059218477457761765, 0.2170436680316925, -0.28997474908828735, -0.369244247674942, -0.5192989110946655, 0.44707852602005005, -0.7822038531303406, -0.19237740337848663, -0.8290683031082153, -0.15914225578308105, -0.2908114194869995, -0.1222066804766655, -0.30950844287872314, -0.4056585431098938, -0.4605196416378021, -0.2310885190963745, 0.43609151244163513, 0.7119784951210022, 0.08842013031244278, 0.40100395679473877, -0.641607940196991, 0.38116884231567383, 0.5479921102523804, 0.2636290192604065, -0.3290677070617676, -0.4995366334915161, -0.2454364150762558, 0.2255592793226242, -0.3305986821651459, -0.7183573842048645, 0.016936110332608223, 0.220767080783844, 0.503715455532074, 0.5847645401954651, 0.1278466135263443, 0.7592211961746216, -0.3228676915168762, 0.7634117007255554, 0.13264839351177216, -0.9137037396430969, 0.5345491170883179, -0.35651877522468567, 0.2160317748785019, 0.856099009513855, 0.5838935375213623, -0.806175947189331, -0.6696823835372925, -0.6830276250839233, -0.740353524684906, 0.8984755873680115, 0.14222638309001923, 0.1212170273065567, -0.09434660524129868, 0.45916908979415894, 0.13692151010036469, 0.2318587601184845, -0.8207067251205444, -0.10855543613433838, -0.19843615591526031, -0.486057311296463, -0.12320030480623245, -0.24929748475551605, -0.35914576053619385, -0.43800845742225647, 0.70918869972229, -0.41810688376426697, -0.036358542740345, 0.03012966550886631, -0.055988945066928864, -0.09622656553983688, 0.3488466143608093, 0.35927700996398926, 0.5233592391014099, 0.03700326755642891, 0.24426184594631195, 0.24560298025608063, -0.3997449278831482, 0.12615114450454712, 0.3147119879722595, -0.21523599326610565, -0.14566929638385773, 0.06540633738040924, 0.825948178768158, 0.41941994428634644, -0.47433242201805115, 0.5587882995605469, -0.16792063415050507, -0.19416750967502594, -0.45596304535865784, -0.17238229513168335, 0.1520334780216217, 0.11389671266078949, -0.02743677794933319, 0.16930370032787323, -0.12202595174312592, -0.547295093536377, 0.15911529958248138, 0.36565011739730835, -0.43362319469451904, -0.695645272731781, 0.5468923449516296, 0.3019315004348755, 0.02287561073899269, 0.5805971026420593, -0.32997894287109375, -0.595196545124054, 0.185029998421669, 0.0684371367096901, 0.9391224980354309, -0.09284999966621399, 0.28718850016593933, 0.5637540817260742, 0.19371800124645233, -0.2699037194252014, 0.024568814784288406, -0.27767413854599, -0.5262054204940796, -0.30692288279533386, -0.8052229881286621, -0.3480779230594635, 0.07061044871807098, -0.48507383465766907, 0.4227488040924072, -0.7053278088569641, -0.5211876630783081, 0.2504512071609497, 0.08327841013669968, -0.774559497833252, 0.035351093858480453, 0.3153650462627411, 0.35245925188064575, -1.004960536956787, 0.7737879157066345, 0.8017533421516418, -0.6529781818389893, -0.8124881982803345, -0.1407097429037094, 0.2253723293542862, -0.6348041296005249, 0.6374728679656982, 0.2830449044704437, -0.11623450368642807, -0.06946166604757309, -0.8276405334472656, -0.5364582538604736, 0.7921193242073059, 0.033487219363451004, -0.4310990273952484, 0.04288477823138237, 0.3530151844024658, 0.7003580331802368, -0.37833768129348755, 0.06890595704317093, 0.7384592890739441, 0.5881384611129761, -0.02628365159034729, -0.9251762628555298, 0.12658220529556274, -0.09584375470876694, -0.11895978450775146, 0.18422718346118927, -0.48725369572639465, 0.8526474833488464, -0.17889156937599182, -0.3440302312374115, -0.10756164789199829, 0.5544981360435486, -0.022110460326075554, 0.1674148589372635, 0.8660991191864014, 0.771050214767456, 0.504281222820282, -0.20335575938224792, 0.8510395884513855, -0.061121340841054916, 0.5172738432884216, 1.0412472486495972, -0.10405492782592773, 0.8266719579696655, 0.36829474568367004, -0.36501458287239075, 0.4789066016674042, 0.7288520336151123, -0.14644856750965118, 0.06907227635383606, 0.246900737285614, -0.2853202521800995, -0.4487217366695404, 0.1232660561800003, -0.16559191048145294, 0.4782847464084625, 0.3651661276817322, -0.19336988031864166, -0.2987520098686218, -0.0204632431268692, 0.45859625935554504, 0.07187172025442123, -0.11656541377305984, 1.1435078382492065, 0.2197030931711197, -0.6920522451400757, 0.4615555703639984, 0.16152985394001007, 0.6493407487869263, -0.5798470377922058, -0.013010841794312, -0.09107796847820282, 0.19408278167247772, -0.1780289262533188, -0.6022893190383911, 0.10736870765686035, 0.20011554658412933, -0.039836492389440536, -0.19616365432739258, 0.5694662928581238, -0.5273842811584473, -0.6057683229446411, 0.11931054294109344, 0.21269775927066803, 0.19091951847076416, -0.2158864140510559, -0.9254498481750488, -0.13319312036037445, -0.005515897646546364, -0.5551446676254272, 0.2957824170589447, 0.4919258654117584, -0.3354785144329071, 0.430515319108963, 0.9360543489456177, 0.08151516318321228, -0.058949682861566544, 0.3231751322746277, 0.9719358086585999, -0.805382251739502, -0.41336512565612793, -0.7392709851264954, 0.4383485019207001, -0.4160287082195282, -0.2910325229167938, 0.5701307058334351, 0.2439829707145691, 0.914034903049469, 0.0078045520931482315, 0.8700965642929077, -0.12202093005180359, 0.5964819192886353, -0.27071645855903625, 0.7769832015037537, -0.47222670912742615, 0.1735265851020813, -0.15342195332050323, -0.6419695019721985, -0.41519758105278015, 0.7804600596427917, -0.3189474046230316, 0.026649825274944305, 0.554427444934845, 0.5965062379837036, 0.045645516365766525, 0.1962517946958542, 0.015715476125478745, 0.14659617841243744, 0.5318779945373535, 0.23179668188095093, 0.8217158317565918, -0.2932754456996918, 0.5439658761024475, -0.3825833797454834, -0.24564634263515472, -0.2583857774734497, -0.8099241852760315, -1.1232911348342896, -0.5600439310073853, -0.48367226123809814, -0.24668504297733307, -0.2530137300491333, 1.3153661489486694, 0.6934774518013, -0.9504250288009644, -0.17436712980270386, 0.015459501184523106, -0.15966925024986267, -0.049100276082754135, -0.1982596516609192, 0.30957603454589844, -0.6317688822746277, -0.7717078328132629, -0.037914127111434937, 0.2042122781276703, 0.1745195984840393, -0.42419496178627014, 0.06026696413755417, -0.2224402129650116, 0.004253868013620377, 0.5074203610420227, 0.5903671383857727, -1.093525767326355, -0.5870074033737183, -0.19369564950466156, -0.39299267530441284, 0.06654589623212814, 0.9155624508857727, -0.5688580274581909, 0.5972405672073364, 0.18383672833442688, 0.7867012023925781, 0.42851394414901733, 0.3339935839176178, 0.4602285921573639, -0.846380352973938, 0.29951003193855286, 0.27561330795288086, 0.29349496960639954, 0.34328699111938477, -0.16845856606960297, 0.4844335913658142, 0.371949702501297, -0.7792804837226868, -0.6408034563064575, 0.16402728855609894, -1.1775352954864502, -0.08104310184717178, 1.2453405857086182, -0.30610620975494385, -0.17447279393672943, -0.35940244793891907, -0.5806475877761841, 0.14228813350200653, -0.45001980662345886, 0.9115908741950989, 0.8143349885940552, 0.08744048327207565, 0.009812469594180584, -0.6874154806137085, 0.7456985712051392, 0.09264437854290009, -1.0452200174331665, 0.35877102613449097, 0.6851351261138916, 0.3167497217655182, 0.13629932701587677, 0.7453315854072571, -0.06158963218331337, -0.10094615072011948, -0.16304442286491394, 0.2394922971725464, -0.14627324044704437, -0.15734261274337769, -0.29385021328926086, 0.07621779292821884, 0.02177874930202961, -0.15702123939990997 ]
http://arxiv.org/abs/2406.16829v1
http://arxiv.org/pdf/2406.16829v1
Understanding and Mitigating Tokenization Bias in Language Models
2024-06-24T17:38:02
2024-06-24T17:38:02
Buu Phan, Marton Havasi, Matthew Muckley, Karen Ullrich
cs.CL
cs.CL, cs.AI, cs.LG
State-of-the-art language models are autoregressive and operate on subword units known as tokens. Specifically, one must encode the conditioning string into a list of tokens before passing to the language models for next-token prediction. We show that, for encoding schemes such as maximum prefix matching, tokenization induces a sampling bias that cannot be mitigated with more training or data. To counter this universal problem, we propose a novel algorithm to obtain unbiased estimates from a model that was trained on tokenized data. Our method does not require finetuning the model, and its complexity, defined as the number of model runs, scales linearly with the sequence length. As a consequence, we show that one can simulate token-free behavior from a tokenized language model. We empirically verify the correctness of our method through a Markov-chain setup, where it accurately recovers the transition probabilities, as opposed to the conventional method of directly prompting tokens into the language model.
[ -0.13736166059970856, -0.5870600938796997, 0.265785813331604, 0.026539286598563194, -0.4597689211368561, 0.0406140461564064, -0.28156429529190063, -0.1552063673734665, 0.1698439121246338, 0.4918939769268036, -0.3857710361480713, -0.3440156579017639, -0.647152841091156, -0.22757528722286224, -0.4844675660133362, 1.1111112833023071, 0.14380432665348053, 0.5206676721572876, -0.10896121710538864, -0.13885129988193512, -0.5535622239112854, -0.8740131258964539, -0.5773390531539917, -0.4148997664451599, 0.09071407467126846, 0.03355753794312477, 0.6467583775520325, 0.7339087128639221, 0.2988522946834564, 0.13387541472911835, -0.2174069583415985, -0.0779494121670723, -0.31548306345939636, 0.04402755945920944, -0.14986884593963623, -0.6351361274719238, -0.14576637744903564, 0.19363859295845032, 0.5245431661605835, 0.9208621978759766, -0.23113766312599182, 0.3050529658794403, -0.19824935495853424, 0.36522912979125977, -0.6251664161682129, 0.10408555716276169, -1.007668375968933, 0.12986354529857635, -0.31280437111854553, -0.12772509455680847, -0.7824534177780151, 0.030778158456087112, -0.13241779804229736, -0.41573527455329895, 0.27225691080093384, 0.28891846537590027, 0.5271438956260681, 0.10859297960996628, -0.46717923879623413, -0.06467143446207047, -0.6231381297111511, 0.8781489729881287, -0.7916893362998962, 0.5133869647979736, 0.5544204115867615, -0.033542267978191376, -0.24222515523433685, -0.42519187927246094, -0.4960905909538269, -0.20465661585330963, 0.03660326823592186, -0.2541565001010895, -0.24556872248649597, 0.2489486187696457, 0.35865452885627747, 0.2816295325756073, -0.2393503189086914, 0.18856416642665863, -0.28660693764686584, -0.35779309272766113, 0.25750991702079773, -0.03794218227267265, 0.33947309851646423, -0.10602276027202606, -0.40636318922042847, -0.015542203560471535, -0.5426834225654602, -0.028211912140250206, 0.57892906665802, 0.45663076639175415, 0.22546522319316864, 0.5889865756034851, 0.012816524133086205, 0.5591041445732117, 0.24625124037265778, 0.3262803554534912, 0.22119644284248352, -0.45238494873046875, -0.29997843503952026, 0.012594799511134624, 0.5410215854644775, 0.3904118537902832, 0.5020732283592224, -0.392284631729126, -0.342885285615921, 0.15595300495624542, 0.10568088293075562, -0.6518355011940002, -0.11699291318655014, 0.13113465905189514, -0.4856301248073578, -0.2723778188228607, -0.03085477277636528, -0.6185434460639954, -0.2833954989910126, -0.13796289265155792, 0.2722712457180023, -0.16318079829216003, -0.3499229848384857, 0.0727337971329689, -0.2762841582298279, -0.017502130940556526, -0.22103358805179596, -1.0648876428604126, 0.5846648216247559, 0.5237201452255249, 0.7599167227745056, -0.10473935306072235, -0.1268286556005478, -0.6875942349433899, 0.006437399424612522, -0.5987529754638672, 0.4130636155605316, -0.7256764769554138, -0.4116765558719635, -0.005543035920709372, -0.20399998128414154, -0.04014316201210022, -0.367276132106781, 0.3602161705493927, -0.6569363474845886, 0.007365650497376919, -0.22989985346794128, -0.7530280947685242, 0.24888397753238678, -0.01959230564534664, -0.636107861995697, 1.01007878780365, -0.01746983453631401, -1.0524471998214722, 0.5803718566894531, -0.48661819100379944, -0.23523743450641632, -0.33698540925979614, 0.062420304864645004, -0.15896070003509521, 0.6061643362045288, 0.512631893157959, 0.11420489847660065, -0.13447454571723938, 0.4485124945640564, -0.31385499238967896, -0.30821946263313293, 0.3189988136291504, -0.6163873672485352, 0.714937150478363, 0.23535163700580597, -0.32625675201416016, 0.14421026408672333, -0.4707159399986267, -0.1253272145986557, -0.06165415421128273, -0.21302740275859833, -0.6062144637107849, 0.024580929428339005, 0.07899083197116852, 0.07198945432901382, -0.017679309472441673, -0.6812688112258911, 0.2789944112300873, -0.6006023287773132, 0.4147789478302002, 1.096800446510315, -0.07419361174106598, 0.7428738474845886, 0.05716881901025772, 0.5243170261383057, 0.3488900661468506, 0.2602103054523468, -0.39786139130592346, -0.32317569851875305, -0.9109019637107849, -0.04092073068022728, 0.7817568182945251, 0.2951483130455017, -0.5878155827522278, 0.27709993720054626, -0.15357355773448944, -0.09273719042539597, -0.5307576060295105, -0.046015866100788116, 0.5055586099624634, 0.38086679577827454, 0.32321619987487793, -0.6624731421470642, -0.8328260779380798, -0.812652587890625, -0.6624961495399475, -0.26470261812210083, 0.04099704697728157, 0.06881575286388397, 0.43176212906837463, -0.06630377471446991, 1.1029471158981323, -0.1870027482509613, 0.058579444885253906, -0.1676614135503769, 0.20322944223880768, 0.22253377735614777, 0.8337001800537109, 0.3713100552558899, -0.38468509912490845, -0.1419025957584381, -0.20062756538391113, -0.15033189952373505, -0.20607221126556396, -0.034094568341970444, -0.18640470504760742, 0.40934625267982483, 0.6776605248451233, -0.4608669877052307, 0.6833108067512512, 0.43920955061912537, -0.569642186164856, 0.3629607558250427, -0.2718888223171234, -0.26122817397117615, -0.9164451360702515, 0.21943314373493195, -0.08356104791164398, -0.303208589553833, -0.7317458987236023, -0.04099326580762863, -0.13042621314525604, 0.13440698385238647, -0.20263221859931946, 0.8819939494132996, -0.5670725107192993, -0.13902238011360168, -0.39164093136787415, -0.14738430082798004, -0.13439974188804626, 0.4808962643146515, -0.012820414267480373, 0.6847522854804993, 0.5233568549156189, -0.5936935544013977, 0.01666710339486599, 0.025421874597668648, -0.2991234362125397, 0.2021225243806839, -0.5944049954414368, 0.254351943731308, -0.3822438418865204, 0.4511761963367462, -0.8785873055458069, 0.20539365708827972, 0.02668869122862816, -0.6253275871276855, 0.20349346101284027, -0.4338681101799011, -0.4768907427787781, -0.2793056070804596, -0.04704489931464195, 0.773556649684906, 0.654363214969635, -0.4764747619628906, 0.4873657822608948, 0.6280396580696106, 0.3221830427646637, -0.900341808795929, -0.7134026288986206, 0.0382065512239933, -0.06716092675924301, 0.09652417153120041, 0.12198691815137863, -0.09448417276144028, -0.20290923118591309, -0.1008327528834343, -0.28265342116355896, 0.0622909851372242, 0.2632005512714386, 0.007098583970218897, 0.19506089389324188, 0.16892670094966888, 0.17125192284584045, -0.028461406007409096, -0.14899864792823792, 0.12467973679304123, -1.008190393447876, 0.8307223916053772, 0.3431021571159363, -0.5708933472633362, -0.2555494010448456, 0.21685299277305603, 0.5553176999092102, -0.2338394969701767, 0.7375760674476624, 0.5136821269989014, -0.6062784790992737, -0.2842947840690613, -0.6585227251052856, -0.30718496441841125, -0.37972161173820496, 0.44751569628715515, -0.3281525671482086, -0.6016075015068054, 0.698334276676178, 0.2982126772403717, 0.16077862679958344, 0.26746901869773865, 0.6527686715126038, 0.4449431002140045, 1.346169114112854, 0.6662693023681641, -0.4496942460536957, 0.588283121585846, -0.07723255455493927, 0.23412573337554932, -0.8499338030815125, -0.2240612506866455, -0.4926951229572296, -0.10792367905378342, -0.5339665412902832, -0.6248770952224731, 0.019535982981324196, 0.09768140316009521, -0.12077919393777847, 0.20417363941669464, -0.2996716797351837, 0.6758857369422913, 0.8606909513473511, -0.22331050038337708, 0.11825040727853775, 0.08098965883255005, -0.7650116682052612, 0.11522816121578217, -0.7517322301864624, -0.1826947182416916, 1.2441741228103638, 0.3157588839530945, 0.7346003651618958, -0.11414343863725662, 0.40703222155570984, 0.42797642946243286, 0.2801700830459595, -0.6243957877159119, 0.23787249624729156, -0.13567624986171722, -0.8597116470336914, -0.27521854639053345, -0.38835784792900085, -0.8229685425758362, 0.35698992013931274, -0.10183649510145187, -0.9752916693687439, 0.29799342155456543, 0.3610185980796814, -0.07479306310415268, 0.5694668292999268, -0.47275617718696594, 0.6434711217880249, 0.05871552973985672, -0.09482943266630173, -0.10143198817968369, -0.4454037547111511, 0.29452183842658997, -0.056279998272657394, 0.4624156057834625, -0.16633149981498718, 0.05211428925395012, 0.8785598874092102, -0.5458947420120239, 0.8644288778305054, -0.39795389771461487, 0.11020096391439438, 0.13825620710849762, 0.1804291158914566, 0.5676113367080688, -0.08558762073516846, -0.0939374789595604, 0.004279495216906071, 0.06280642002820969, -0.7197068333625793, -0.4990535080432892, 0.419852077960968, -0.6201655268669128, -0.4211989939212799, -0.38506200909614563, -0.5133734941482544, -0.3864924907684326, 0.17931948602199554, 0.3216889500617981, 0.42751172184944153, -0.42113223671913147, -0.20142070949077606, 0.399659126996994, -0.049571774899959564, 0.5414242148399353, 0.2677362263202667, -0.46007415652275085, -0.49052688479423523, 0.5684633255004883, 0.15342041850090027, 0.2820119261741638, 0.12218337506055832, 0.2889308035373688, -0.47074803709983826, -0.5725287795066833, -0.48181167244911194, 0.058753035962581635, -0.7066039443016052, -0.06975466012954712, -0.5959828495979309, 0.06000422313809395, -0.5243439078330994, 0.29142457246780396, -0.29730889201164246, -0.5570507645606995, -0.10835276544094086, -0.34025511145591736, 0.14051391184329987, 0.702498733997345, -0.10488547384738922, 0.30208340287208557, -0.5712089538574219, -0.18166543543338776, 0.12644214928150177, 0.5006863474845886, 0.28357431292533875, -0.7451555132865906, -0.3394943177700043, 0.047650065273046494, 0.27567869424819946, -0.7553028464317322, 0.3498777747154236, 0.10982757061719894, 0.625399649143219, 0.418817937374115, 0.04781556874513626, 0.6743503212928772, -0.716366171836853, 0.7775371670722961, 0.1815974861383438, -1.4165141582489014, 0.343425452709198, -0.18856893479824066, 0.215125173330307, 0.5236076712608337, 0.08552992343902588, -0.8953570127487183, -0.3042193353176117, -0.7442196607589722, -0.8906429409980774, 0.6560425162315369, 0.20581503212451935, 0.48806414008140564, -0.4249529242515564, 0.47526243329048157, -0.01751408353447914, 0.40813347697257996, -0.669387698173523, -0.17640282213687897, -0.18377970159053802, -0.25678902864456177, -0.15662750601768494, -0.4247933030128479, 0.07338272780179977, -0.1950022429227829, 0.8050414323806763, -0.23890022933483124, 0.1425788551568985, -0.016168411821126938, -0.32649755477905273, -0.07371647655963898, 0.10730981826782227, 0.44025278091430664, 0.5172094702720642, 0.006449529435485601, 0.2974470257759094, 0.28398755192756653, -0.4202865958213806, 0.12185973674058914, -0.1852031648159027, -0.39628952741622925, 0.2827843725681305, 0.1426408439874649, 1.0485246181488037, 0.035501185804605484, -0.6356070637702942, 0.7047436833381653, -0.11545460671186447, 0.1552504003047943, -0.1326100379228592, -0.33698004484176636, -0.15058103203773499, -0.08800782263278961, 0.3479453921318054, 0.07327160984277725, 0.033435091376304626, -0.4869457185268402, 0.2673902213573456, 0.7747400999069214, -0.6617428660392761, -0.5426751971244812, 0.8359904885292053, 0.2086574286222458, -0.2034335881471634, 0.6041178703308105, -0.02767857350409031, -0.565588116645813, 0.5981402397155762, 0.7003370523452759, 0.897667407989502, -0.21211788058280945, -0.010520408861339092, 0.4000645577907562, 0.333374559879303, -0.3557572662830353, 0.10490654408931732, -0.08082183450460434, -0.8549396395683289, -0.3887459933757782, -0.8039054870605469, -0.2320813685655594, 0.04216690734028816, -0.7587814927101135, -0.03676149994134903, -0.42008915543556213, -0.5684582591056824, -0.21997834742069244, -0.2796182930469513, -0.6624234318733215, 0.16307146847248077, 0.2197730988264084, 1.0848356485366821, -0.9959048628807068, 0.9146872162818909, 0.39389926195144653, -0.43463101983070374, -0.6897768974304199, 0.0532187782227993, -0.18080365657806396, -0.9318519234657288, 0.6736589670181274, 0.09974432736635208, 0.07089705020189285, 0.0040026092901825905, -0.45740535855293274, -0.9883254170417786, 0.4819417893886566, 0.3610227704048157, -0.3159525990486145, -0.2046261727809906, 0.11444980651140213, 0.3939872086048126, -0.420460969209671, 0.4398081302642822, 0.7326974272727966, 0.29909664392471313, -0.1306399255990982, -0.9803856015205383, 0.024598093703389168, -0.30337831377983093, 0.39666590094566345, 0.17735709249973297, -0.3565145432949066, 0.8563459515571594, -0.0774957686662674, -0.21587441861629486, 0.10665541142225266, 0.706178605556488, -0.032713860273361206, -0.10198044776916504, 0.7009145617485046, 0.5191385746002197, 0.8825336694717407, 0.04513278231024742, 0.7880687713623047, -0.6737282872200012, 0.47351935505867004, 1.046708583831787, -0.04969611391425133, 0.6112050414085388, 0.8441192507743835, -0.05619705840945244, 0.3682596981525421, 0.6118616461753845, 0.09042899310588837, 0.3759024143218994, 0.7761477828025818, -0.11903158575296402, -0.22189657390117645, -0.45825618505477905, -0.04104581102728844, 0.3654308319091797, 0.03339088708162308, -0.6012409925460815, -0.0468057356774807, 0.1159512847661972, 0.19759567081928253, -0.006304403301328421, -0.3589561879634857, 0.7406906485557556, -0.05833382532000542, -0.8409798741340637, 0.4801519811153412, 0.243918314576149, 0.8040604591369629, -0.36925363540649414, 0.25134769082069397, -0.4280828833580017, 0.08291850239038467, 0.016440577805042267, -0.14515092968940735, 0.19797387719154358, 0.14923979341983795, -0.21316885948181152, -0.061638448387384415, 0.32885441184043884, -0.5437137484550476, -0.6370090842247009, 0.14147023856639862, 0.6150268316268921, 0.12262033671140671, 0.1711563766002655, -0.3947325050830841, -0.028848394751548767, -0.11685363203287125, -0.19996324181556702, 0.3643152415752411, 0.23943589627742767, -0.41120514273643494, 0.5774345397949219, 0.7892836332321167, 0.2747170031070709, 0.30074232816696167, 0.38057228922843933, 0.703008770942688, -0.47852009534835815, -0.64447420835495, -1.1094306707382202, 0.2146947681903839, -0.08121485263109207, -0.1384744495153427, 0.5712080597877502, 0.586231529712677, 1.002360463142395, 0.01370704360306263, 0.7702997326850891, 0.3323618471622467, 0.22965700924396515, -0.601963996887207, 0.5430536270141602, -0.22317014634609222, 0.34999915957450867, -0.032483022660017014, -0.6251034736633301, -0.30026674270629883, 0.38548019528388977, -0.10999316722154617, 0.13864769041538239, 0.5515298247337341, 0.757095456123352, -0.045649535953998566, -0.26541563868522644, 0.21110068261623383, -0.03502819687128067, 0.20007164776325226, 0.2589159309864044, 0.5316117405891418, -0.41119256615638733, 0.28259116411209106, -0.062294382601976395, -0.10572037845849991, 0.03188434988260269, -0.8971747159957886, -1.0796986818313599, -0.5424059629440308, -0.04668041318655014, -0.49929454922676086, 0.25827109813690186, 1.2507485151290894, 0.9333396553993225, -0.9322976469993591, -0.3617536723613739, -0.31630438566207886, 0.19110573828220367, -0.16320815682411194, -0.1355687975883484, 0.2846495509147644, -0.6504241824150085, -0.9406099319458008, 0.1498062163591385, -0.06855987012386322, 0.1343572735786438, -0.5115260481834412, 0.0940016508102417, -0.06715811043977737, 0.615175187587738, 0.24023644626140594, 0.03936184570193291, -0.7980765700340271, -0.28824305534362793, -0.03684740886092186, 0.14328575134277344, 0.12724906206130981, 1.1413750648498535, -0.8597918748855591, 0.572658360004425, 0.4613787531852722, 0.6146780848503113, 0.35952964425086975, 0.035847246646881104, 0.8863586783409119, -0.9914451837539673, 0.22887356579303741, 0.009306168183684349, 0.5022183060646057, 0.31873515248298645, -0.237785205245018, 0.38373544812202454, 0.318795382976532, -0.23616719245910645, -1.1496511697769165, 0.5021318793296814, -0.4224071502685547, -0.2945981025695801, 1.1088780164718628, -0.03542109206318855, -0.33956772089004517, -0.13267813622951508, 0.022476674988865852, 0.38655537366867065, -0.41456788778305054, 0.6443057060241699, 0.7755160927772522, 0.18247736990451813, 0.09626022726297379, -0.23085586726665497, 0.7118626832962036, 0.5459644794464111, -0.2571790814399719, 0.37848782539367676, 0.19449810683727264, 0.3862350285053253, -0.11582454293966293, 0.7908335328102112, -0.08113660663366318, -0.0666004866361618, 0.09148664027452469, 0.21004581451416016, -0.03249495476484299, -0.03932921960949898, -0.6081491708755493, -0.08722980320453644, 0.29142406582832336, -0.3105941414833069 ]
http://arxiv.org/abs/2406.16828v1
http://arxiv.org/pdf/2406.16828v1
Ragnarök: A Reusable RAG Framework and Baselines for TREC 2024 Retrieval-Augmented Generation Track
2024-06-24T17:37:52
2024-06-24T17:37:52
Ronak Pradeep, Nandan Thakur, Sahel Sharifymoghaddam, Eric Zhang, Ryan Nguyen, Daniel Campos, Nick Craswell, Jimmy Lin
cs.IR
cs.IR, cs.AI, cs.CL
Did you try out the new Bing Search? Or maybe you fiddled around with Google AI~Overviews? These might sound familiar because the modern-day search stack has recently evolved to include retrieval-augmented generation (RAG) systems. They allow searching and incorporating real-time data into large language models (LLMs) to provide a well-informed, attributed, concise summary in contrast to the traditional search paradigm that relies on displaying a ranked list of documents. Therefore, given these recent advancements, it is crucial to have an arena to build, test, visualize, and systematically evaluate RAG-based search systems. With this in mind, we propose the TREC 2024 RAG Track to foster innovation in evaluating RAG systems. In our work, we lay out the steps we've made towards making this track a reality -- we describe the details of our reusable framework, Ragnar\"ok, explain the curation of the new MS MARCO V2.1 collection choice, release the development topics for the track, and standardize the I/O definitions which assist the end user. Next, using Ragnar\"ok, we identify and provide key industrial baselines such as OpenAI's GPT-4o or Cohere's Command R+. Further, we introduce a web-based user interface for an interactive arena allowing benchmarking pairwise RAG systems by crowdsourcing. We open-source our Ragnar\"ok framework and baselines to achieve a unified standard for future RAG systems.
[ -0.764236330986023, -0.3428736627101898, 0.48610204458236694, 0.0367216058075428, -0.16819113492965698, 0.5373897552490234, 0.10407897084951401, -0.5668847560882568, 0.45883801579475403, 0.741841733455658, -0.4242909848690033, -0.34660831093788147, -0.1681106686592102, 0.10154677927494049, -0.4285639822483063, 1.2519577741622925, -0.2516922950744629, -0.3786201775074005, -0.26430654525756836, -0.3802400529384613, -0.6439626216888428, -0.1939498633146286, -0.6978541016578674, -0.4312126040458679, 0.7726893424987793, 0.5495338439941406, 0.4433101713657379, 0.7134923338890076, 0.6732101440429688, 0.2431049942970276, -0.1897854059934616, 0.1664963960647583, -0.502730667591095, 0.5259292125701904, -0.4474961757659912, -0.28170064091682434, -0.8659682273864746, 0.35855889320373535, 0.604739785194397, 0.33185210824012756, -0.13179774582386017, 0.6058738231658936, -0.06767915189266205, 0.5458769202232361, -0.7062165141105652, -0.23740185797214508, -0.7844666242599487, 0.12082439661026001, -0.49806520342826843, -0.5106432437896729, -0.3716154098510742, -0.04031696543097496, -0.14537763595581055, -0.9282786250114441, 0.43970662355422974, 0.39234548807144165, 1.0171396732330322, 0.18568144738674164, -0.3506128787994385, -0.33371496200561523, -0.669533371925354, 0.9097461700439453, -0.2391280233860016, 0.4916425943374634, 0.24256090819835663, 0.6897807717323303, -0.20193876326084137, -1.3272645473480225, -0.1958189755678177, -0.3421209156513214, 0.18920741975307465, 0.4110875725746155, 0.17901046574115753, -0.1845685839653015, 0.13353948295116425, 0.483318030834198, -0.6739476919174194, -0.05261005833745003, -0.2022649049758911, 0.10851415246725082, 0.41252651810646057, 0.33737948536872864, 0.08000336587429047, -0.08837798982858658, -0.6338809728622437, -0.036973997950553894, -0.8398070931434631, -0.3615059554576874, 0.0944124162197113, 0.1603584736585617, 0.01152144093066454, 0.4833318889141083, -0.1048416942358017, 0.5120277404785156, 0.25884538888931274, 0.08001268655061722, 0.2703755795955658, -0.2781296372413635, -0.07180861383676529, -0.3439942002296448, 0.341982364654541, 0.23704111576080322, -0.280543714761734, -0.39285925030708313, -0.4843705892562866, -0.1546115279197693, 0.8139140009880066, -0.46679046750068665, -0.025898462161421776, 0.22286544740200043, -0.38557231426239014, -0.41343796253204346, -0.12111669778823853, -0.9940231442451477, -0.48476144671440125, -0.4747871458530426, 0.2967764139175415, -0.017451230436563492, -0.2878798842430115, -0.3498886525630951, -0.4388788044452667, 0.4574316740036011, 0.1876215636730194, -0.47162550687789917, 0.3034439980983734, 0.9406229257583618, 0.8238284587860107, -0.33696693181991577, -0.22285710275173187, -0.7892974019050598, 0.26922371983528137, -0.47509685158729553, 1.044248104095459, -0.36991798877716064, -0.5498681664466858, -0.19522620737552643, -0.11248786002397537, 0.274879515171051, -0.7156593799591064, 0.7282771468162537, -0.9273825883865356, 0.2254481315612793, -0.19843322038650513, -0.3595038056373596, 0.1731860488653183, 0.4955136775970459, -0.8128190040588379, 1.0161247253417969, -0.004112109541893005, -0.8070387244224548, 0.4557317793369293, -0.9203836917877197, -0.1725100725889206, 0.45062047243118286, -0.07010576874017715, -0.5786758065223694, 0.2478436827659607, -0.012726698070764542, -0.08104308694601059, -0.5568299293518066, 0.46875983476638794, -0.2652031183242798, -0.5358462333679199, -0.08425760269165039, -0.20622341334819794, 0.7191588878631592, 0.6557602882385254, -0.5531136989593506, -0.034120112657547, -0.531335711479187, 0.3235819339752197, -0.027314921841025352, -0.4097091853618622, -0.12507064640522003, -0.1513788104057312, 0.2287299484014511, -0.14118075370788574, 0.4441942870616913, -0.23471972346305847, 0.04241705313324928, -0.2482117861509323, 0.006780580617487431, 0.6628879308700562, 0.000015710937077528797, 0.44541728496551514, -0.4538566470146179, 0.8826506733894348, -0.49602657556533813, 0.27670150995254517, -0.15853703022003174, -0.15474985539913177, -0.6178481578826904, -0.14676257967948914, 0.641559362411499, 0.4851522147655487, -0.8319767117500305, 0.02473602071404457, -0.18997250497341156, -0.5795963406562805, -0.34400248527526855, -0.1802983582019806, 0.4183730483055115, 0.540007472038269, 0.290616512298584, -0.29479628801345825, -1.0141507387161255, -0.8099191188812256, -0.4818423092365265, -0.03541458770632744, -0.2136441320180893, 0.35869553685188293, 0.2570543587207794, -0.20908628404140472, 0.9912911057472229, -0.1309034526348114, -0.16924194991588593, -0.3875136971473694, 0.31396162509918213, 0.10663624852895737, 0.44718942046165466, 0.3917493522167206, -1.120902180671692, -0.4170546233654022, 0.15765085816383362, -0.9324418306350708, -0.24069425463676453, 0.31605100631713867, -0.2889663875102997, 0.13489943742752075, 0.6839146614074707, -0.2848779261112213, 0.3921372890472412, 0.5257765054702759, -0.2345789670944214, 0.5424390435218811, -0.028538834303617477, 0.3169226050376892, -1.2828482389450073, 0.6680703163146973, -0.36658212542533875, -0.2531983256340027, -0.4017918109893799, 0.5626642107963562, -0.1274559497833252, -0.39004138112068176, -0.16565793752670288, 0.896440327167511, -0.4737350046634674, -0.4849962294101715, -0.3117283880710602, 0.5187353491783142, 0.2915344834327698, 0.0548010990023613, -0.5267067551612854, 1.0129352807998657, -0.0590728223323822, -0.44157445430755615, 0.2111164778470993, 0.0575159452855587, -0.03729475662112236, 0.8523005247116089, -0.6495349407196045, 0.2695331573486328, 0.12108950316905975, 0.4492100477218628, -0.6308812499046326, -0.2304728776216507, 0.0054067689925432205, -0.7542707324028015, 0.4453476369380951, -0.1663530319929123, -0.29867634177207947, -0.3295867145061493, -0.25208669900894165, 0.3644658923149109, 0.38508665561676025, -0.6898680925369263, 0.8634196519851685, 0.8451999425888062, 0.059362784028053284, -0.7946122884750366, -0.42793378233909607, 0.6407180428504944, -0.44440189003944397, -0.38234472274780273, 0.5520329475402832, -0.14523518085479736, -0.29471462965011597, 0.13542428612709045, -0.27763140201568604, -0.1753273904323578, 0.17430177330970764, 0.189886212348938, 0.3584367334842682, -0.2038879096508026, 0.035920120775699615, -0.1676522046327591, -0.46984466910362244, -0.22903840243816376, -0.45991891622543335, 0.38009852170944214, -0.2460157871246338, -0.1505037248134613, -0.06933959573507309, 0.3660232424736023, 0.5369408130645752, -0.49448516964912415, 0.020578620955348015, 0.6640599966049194, -0.32025715708732605, -0.02197577990591526, -0.6545374989509583, 0.10010964423418045, -0.4975655972957611, 0.14669077098369598, -0.4743480682373047, -0.9728440642356873, 0.48580387234687805, -0.49913060665130615, 0.47326862812042236, 0.5567773580551147, 0.3942594826221466, -0.4583180546760559, 0.8529559373855591, 0.8312686085700989, 0.17887310683727264, 0.42877110838890076, -0.4004794657230377, 0.0790143683552742, -1.2309657335281372, -0.1357153058052063, -0.730175256729126, -0.506616473197937, -0.8476665616035461, -0.4661608040332794, 0.651498019695282, 0.012788254767656326, -0.293023020029068, 0.3308880925178528, -0.4512004554271698, 0.6231606602668762, 0.529543399810791, -0.2800299823284149, 0.28581702709198, -0.03182784467935562, -0.2728508412837982, -0.09625167399644852, -0.6478626728057861, -0.43773990869522095, 1.157926082611084, 0.13965491950511932, 0.5469251275062561, -0.2951515018939972, 1.1371188163757324, 0.45124197006225586, 0.7901226878166199, -0.44829076528549194, 0.5472944974899292, -0.37789496779441833, -1.1203497648239136, -0.16531281173229218, -0.31252866983413696, -1.021266222000122, 0.06681324541568756, 0.08792079240083694, -0.3910926580429077, 0.1432369500398636, 0.28171417117118835, 0.07940948754549026, 0.37964165210723877, -0.4814993143081665, 0.8693045973777771, -0.22036941349506378, -0.5511950254440308, -0.17416058480739594, -0.5868412852287292, 0.28403207659721375, 0.025014473125338554, 0.27560633420944214, 0.021098598837852478, -0.3971376121044159, 0.7185289263725281, -0.1225348562002182, 0.38514330983161926, -0.24172110855579376, 0.16103383898735046, 0.5043371915817261, 0.11572998017072678, 0.5170610547065735, 0.01470144372433424, -0.16572940349578857, -0.08719803392887115, -0.30863651633262634, -0.2800443470478058, -0.487196147441864, 0.8049225211143494, -0.3614147901535034, -0.42990508675575256, -0.44474223256111145, -0.473793625831604, -0.27882128953933716, 0.34271159768104553, 0.3329814076423645, 0.48442864418029785, -0.4094904661178589, 0.3796525299549103, 0.5020115375518799, 0.007074420806020498, 0.05223950743675232, 0.35105016827583313, -0.44228845834732056, -0.7107396721839905, 1.0682709217071533, 0.004125137813389301, 0.019144544377923012, 0.3697759807109833, 0.10327407717704773, -0.3253635764122009, -0.4434189200401306, -0.37709152698516846, 0.09863625466823578, -0.4447838068008423, -0.43106746673583984, -0.4467979669570923, -0.11454840749502182, -0.2018900364637375, -0.4080723524093628, -0.47557532787323, -0.3435104489326477, 0.02203880064189434, 0.13366420567035675, 0.17007379233837128, 1.0102310180664062, -0.3713793456554413, 0.03740672394633293, -0.5300642848014832, 0.5428354740142822, 0.12416905164718628, 0.7629141807556152, -0.1946536898612976, -0.5764762163162231, -0.5775937438011169, -0.10741250962018967, -0.5360009074211121, -0.41819149255752563, 0.20873944461345673, -0.057346466928720474, 0.6277133822441101, -0.24496372044086456, -0.01910138502717018, 0.7790812849998474, -0.5492470860481262, 0.6165690422058105, -0.008555063046514988, -0.7312051653862, 0.41934430599212646, -0.5247646570205688, 0.17721682786941528, 0.8382359147071838, 0.15186335146427155, -0.6502078175544739, -0.519538402557373, -0.8181338310241699, -1.0128525495529175, 0.5694211721420288, 0.07210811227560043, -0.3262251317501068, 0.22420698404312134, 0.3263009786605835, -0.019682463258504868, 0.23153069615364075, -0.2884807884693146, -0.015952330082654953, -0.2001417875289917, -0.06776315718889236, -0.00008537360554328188, -0.14164778590202332, -0.1647641956806183, 0.13836579024791718, 0.6309391856193542, -0.0466810017824173, 0.16046293079853058, 0.016787519678473473, 0.12039528787136078, -0.022349869832396507, 0.15125718712806702, 0.2686457335948944, 0.6881980299949646, -0.3177662789821625, 0.10593109577894211, 0.2379264533519745, -0.6899986863136292, 0.08881625533103943, 0.03060002811253071, -0.24714547395706177, 0.12776759266853333, 0.04864775761961937, 0.4844072759151459, 0.3146796226501465, -0.6027761101722717, -0.04343971982598305, -0.03088892064988613, -0.06416799128055573, -0.564275324344635, -0.18751899898052216, 0.12960994243621826, 0.36984461545944214, 0.3683589994907379, 0.026994070038199425, 0.43742144107818604, -0.3744763731956482, 0.5310217142105103, 0.2524101138114929, -0.28712308406829834, -0.03542593494057655, 0.8363063335418701, 0.2566046416759491, -0.45625895261764526, 0.23602497577667236, -0.4753871560096741, -0.473467618227005, 0.5119118094444275, 0.40321385860443115, 1.3095316886901855, -0.18047767877578735, 0.15629148483276367, 0.3253043591976166, 0.3490922451019287, 0.05734594166278839, 0.031521763652563095, -0.0659240260720253, -0.19873876869678497, -0.4694927930831909, -0.7068824172019958, -0.7073529958724976, 0.13777762651443481, -0.6134864091873169, 0.3914914131164551, -0.4145614206790924, -0.3123774528503418, -0.2137027233839035, 0.30277377367019653, -0.625985860824585, 0.17599962651729584, -0.2131299525499344, 1.0165340900421143, -0.320227712392807, 0.30572590231895447, 0.7677422761917114, -0.2655796408653259, -0.6417148113250732, 0.11254560202360153, 0.06461028009653091, -0.6774530410766602, 0.5567901730537415, -0.13228753209114075, -0.1835428923368454, -0.0884031429886818, -0.6665107011795044, -0.9532309174537659, 1.3167091608047485, 0.04788053780794144, -0.2474914938211441, -0.18712098896503448, -0.22109651565551758, 0.5997980833053589, -0.4416276812553406, 0.07373347133398056, 0.4493306279182434, 0.5936784744262695, 0.30643758177757263, -0.7931409478187561, -0.32074034214019775, -0.2533923387527466, 0.09379678219556808, 0.3090076744556427, -0.4132222831249237, 0.7484164834022522, -0.02322522923350334, -0.3596450090408325, 0.3459842801094055, 0.4552176296710968, 0.6329827308654785, 0.8745328187942505, 0.4281206727027893, 0.8601076006889343, 0.5088894367218018, -0.08084142208099365, 1.083302617073059, -0.19811275601387024, 0.32514768838882446, 1.4409066438674927, -0.3470271825790405, 1.022779941558838, 0.3299071490764618, -0.04435642808675766, 0.3668464720249176, 0.3645476996898651, 0.15193504095077515, 0.22797292470932007, 0.0777413621544838, -0.20448221266269684, -0.0832127034664154, -0.2720302939414978, -0.20328684151172638, 0.4940188229084015, 0.32483500242233276, -0.05786142870783806, -0.4840127229690552, -0.07648848742246628, 0.06985766440629959, 0.1358555257320404, -0.12282031029462814, 0.7630102634429932, -0.05551476404070854, -0.7827383279800415, 0.6793911457061768, -0.08725974708795547, 0.5609308481216431, -0.40788114070892334, -0.16048645973205566, -0.5195158123970032, 0.10707193613052368, -0.13814449310302734, -0.791382908821106, 0.41812074184417725, 0.37615877389907837, -0.12852205336093903, -0.37177082896232605, 0.7478662133216858, -0.13889506459236145, -0.3450261652469635, 0.20595629513263702, 0.4966098368167877, 0.26382604241371155, 0.21762855350971222, -0.6978631615638733, 0.37248116731643677, -0.017133820801973343, -0.19517649710178375, 0.384164035320282, 0.5765503644943237, -0.16449546813964844, 0.5786659717559814, 0.5152505040168762, 0.05800813063979149, 0.03017861768603325, -0.00423266738653183, 0.8190364241600037, -0.7204523682594299, -0.28089407086372375, -0.0019818423315882683, 0.5256929397583008, -0.29097187519073486, -0.30011802911758423, 0.5775858163833618, 0.7860403656959534, 0.7456801533699036, 0.22011105716228485, 0.7282626628875732, -0.38653895258903503, 1.1220805644989014, -0.15901771187782288, 0.8059278130531311, -1.0350916385650635, 0.24633200466632843, -0.08324892818927765, -0.9179294109344482, -0.1867452710866928, 0.1701803058385849, 0.09638532251119614, 0.2743620276451111, 0.5342265367507935, 0.7061991095542908, -0.12153441458940506, -0.0754014104604721, 0.21674373745918274, 0.11264362186193466, 0.5669869184494019, 0.20406021177768707, 0.6863796710968018, -0.47799569368362427, 0.8449040055274963, 0.03515475615859032, -0.3662301003932953, -0.40826416015625, -0.8373176455497742, -0.38750651478767395, -0.7514025568962097, 0.01820368506014347, -0.25678640604019165, 0.35081061720848083, 0.4423193335533142, 0.43162670731544495, -0.6075178384780884, -0.48005038499832153, -0.12828651070594788, 0.1859467774629593, -0.04383048787713051, -0.25240981578826904, 0.030613992363214493, -0.7276193499565125, -0.674909234046936, 0.45602118968963623, 0.45281684398651123, -0.1456821709871292, -0.19309261441230774, -0.04054226726293564, -0.25286832451820374, -0.23282088339328766, 0.4796568751335144, 0.6528120040893555, -0.5881264805793762, -0.3174074590206146, 0.3410463035106659, 0.019411951303482056, 0.011477815918624401, 0.9962981343269348, -1.0169036388397217, 0.5402991771697998, 0.48965689539909363, 0.7678853869438171, 0.557013988494873, -0.05162462964653969, 0.670516312122345, -0.6283232569694519, -0.08945130556821823, 0.6334577202796936, 0.08677896857261658, 0.2659134864807129, 0.1387891322374344, 0.8620265126228333, 0.1723077893257141, -0.911666750907898, -1.1221739053726196, 0.1906052529811859, -0.8612044453620911, 0.04174181818962097, 0.6311272978782654, 0.06432298570871353, -0.24703308939933777, -0.31336504220962524, -0.11198442429304123, 0.23839923739433289, -0.1411294788122177, 0.7819762825965881, 0.2885874807834625, -0.07269865274429321, 0.16310720145702362, -0.7670227885246277, 0.45032185316085815, 0.2624698281288147, -0.8579168319702148, 0.152116596698761, 0.45469966530799866, 0.22788003087043762, 0.41717231273651123, 0.5463823080062866, -0.5357045531272888, 0.43696460127830505, 0.23811882734298706, 0.16335748136043549, 0.006829290185123682, -0.617264449596405, -0.09828367829322815, 0.19290795922279358, 0.02466163970530033, -0.14983266592025757 ]
http://arxiv.org/abs/2406.16810v1
http://arxiv.org/pdf/2406.16810v1
PISTOL: Dataset Compilation Pipeline for Structural Unlearning of LLMs
2024-06-24T17:22:36
2024-06-24T17:22:36
Xinchi Qiu, William F. Shen, Yihong Chen, Nicola Cancedda, Pontus Stenetorp, Nicholas D. Lane
cs.LG
cs.LG, cs.AI, cs.CL
Recently, machine unlearning, which seeks to erase specific data stored in the pre-trained or fine-tuned models, has emerged as a crucial protective measure for LLMs. However, unlearning approaches for LLMs that have been considered thus far have focused on the removal of independent data points and have not taken into account that the stored facts are logically connected to one another and form an implicit knowledge graph. To facilitate the development of structural unlearning methods, which are essential for the practical application of unlearning, we propose PISTOL, a pipeline for compiling multi-scenario datasets for benchmarking structural LLM unlearning. Additionally, leveraging sample datasets synthesized using PISTOL, we conducted benchmarks with four distinct unlearning methods on both Llama2-7B and Mistral-7B models. This analysis helps to illustrate the prevailing challenges in effectively and robustly removing highly inter-connected data, batched data, or data skewed towards a specific domain. It also highlights the choice of pre-trained model can impact unlearning performance. This work not only advances our understandings on the limitation of current LLMs unlearning methods and proposes future research directions, but also provides a replicable framework for ongoing exploration and validation in the field.
[ -0.10988949239253998, -0.6269180178642273, 0.17490237951278687, -0.2531363368034363, -0.4070916473865509, 0.48536163568496704, -0.15137416124343872, -0.025554519146680832, -0.43859347701072693, 0.4691934585571289, -0.6935704350471497, -0.9272347092628479, -0.6521691083908081, -0.15643101930618286, -0.5695180892944336, 1.0148712396621704, -0.09482162445783615, 0.3469598889350891, -0.016420677304267883, -0.009048299863934517, -0.4642564058303833, -0.4759964942932129, -0.2293996512889862, -0.5348590016365051, 0.18298174440860748, 0.3500744104385376, 0.31633180379867554, 0.8564138412475586, 0.3157745897769928, 0.3026658296585083, -0.31078627705574036, 0.21551065146923065, -0.7342646718025208, 0.24790947139263153, -0.13641108572483063, -0.4423336684703827, -0.23997700214385986, -0.02672419510781765, 0.7753723859786987, 0.8509560823440552, -0.22520245611667633, 0.34157314896583557, 0.5071421265602112, 0.7479802966117859, -0.713944673538208, 0.49384641647338867, -0.8132262229919434, 0.37867483496665955, -0.4186401963233948, -0.12982900440692902, -0.3614911437034607, 0.04428833723068237, -0.03553198277950287, -0.4640112817287445, 0.40575793385505676, -0.009500477463006973, 0.29647693037986755, 0.42551517486572266, -0.6368528604507446, -0.20685631036758423, -0.5215576887130737, 0.5035127997398376, -0.4638294279575348, 0.39264988899230957, 0.025890551507472992, 0.27996569871902466, -0.6508140563964844, -0.9352983236312866, -0.014947354793548584, 0.41845181584358215, 0.08334700763225555, 0.15145863592624664, 0.031681180000305176, 0.08461674302816391, 0.15748630464076996, 0.23496238887310028, -0.5538448095321655, 0.2281041145324707, -1.021278977394104, -0.3033127188682556, 0.4336571991443634, 0.18050232529640198, -0.13217267394065857, -0.2116047888994217, -0.5935713648796082, -0.026776257902383804, -1.3263607025146484, 0.0657120943069458, 0.510298490524292, 0.49729007482528687, -0.10325919836759567, 0.7571741342544556, -0.16466134786605835, 0.40359818935394287, -0.3192090094089508, -0.15647734701633453, 0.4087658226490021, 0.10510782152414322, -0.20717474818229675, 0.12432835251092911, 0.6645342111587524, 0.29236409068107605, 0.24160856008529663, -0.43579137325286865, -0.17561422288417816, 0.045719247311353683, 0.3382951021194458, -0.6229733824729919, -0.36795464158058167, 0.2207939475774765, -0.575655996799469, -0.2873075008392334, -0.010963530279695988, -0.7293910980224609, -0.5417725443840027, -0.36910367012023926, 0.25679636001586914, -0.2399229109287262, 0.0013150813756510615, -0.05485691875219345, -0.3582790493965149, -0.02983829751610756, 0.020005440339446068, -0.47173044085502625, -0.04158666729927063, 0.5548989176750183, 0.739695131778717, -0.2558393180370331, -0.3712712824344635, -0.6067824959754944, 0.3968648314476013, -0.2910478413105011, 0.6122079491615295, -0.5671706795692444, -0.64463210105896, -0.09741430729627609, 0.03541075065732002, 0.1991005390882492, -0.7730243802070618, 0.43361490964889526, -0.2602297067642212, 0.12283189594745636, -0.17168381810188293, -0.8506489992141724, -0.2423122674226761, -0.016445381566882133, -0.33297601342201233, 1.0814030170440674, 0.05901850759983063, -0.38746321201324463, 0.6846602559089661, -0.3050119876861572, -0.19268593192100525, -0.14377695322036743, -0.26838335394859314, -0.7158986926078796, 0.11501134186983109, 0.06294949352741241, 0.7174975275993347, -0.34308791160583496, 0.7474806904792786, -0.8085551261901855, -0.4990861117839813, -0.18936863541603088, -0.40217918157577515, 0.6446661353111267, 0.39350631833076477, -0.44421687722206116, 0.060143254697322845, -0.844611644744873, 0.01103304699063301, -0.08619886636734009, -0.46730655431747437, 0.1456882208585739, 0.1673794388771057, -0.37263187766075134, 0.23152704536914825, -0.008633921854197979, -0.3871038556098938, 0.3363301455974579, -0.34972894191741943, 0.5139278769493103, 0.9633535742759705, 0.06633322685956955, 0.42240646481513977, -0.2525371015071869, 0.20291811227798462, 0.3942675292491913, 0.10117129236459732, -0.21723555028438568, -0.16708432137966156, -0.6903749108314514, -0.4173624515533447, 0.1528562754392624, 0.4295533299446106, -0.5420422554016113, 0.19990365207195282, 0.14436371624469757, -0.656315267086029, -0.1884477138519287, 0.6722776293754578, 0.8842341303825378, 0.7197065353393555, 0.5319623351097107, -0.39054644107818604, -0.8193354606628418, -0.6481916904449463, -0.3649420440196991, -0.04665464907884598, -0.10548728704452515, -0.30979129672050476, 0.492485910654068, -0.010706773027777672, 0.8182995915412903, -0.5392059683799744, -0.4366259276866913, -0.1866883635520935, 0.21022488176822662, 0.09762251377105713, 0.2709426283836365, 0.20255820453166962, -0.5697819590568542, -0.029168251901865005, -0.39879852533340454, -1.3337968587875366, 0.07285139709711075, 0.10421472042798996, 0.016234993934631348, 0.02512275241315365, 0.6757805347442627, -0.43970784544944763, 0.7940719127655029, 0.21349076926708221, 0.1464957594871521, 0.5360309481620789, -0.0037330922205001116, -0.05684904754161835, -1.0755717754364014, -0.050424348562955856, -0.08132732659578323, 0.17176073789596558, -0.5181358456611633, -0.06216733530163765, -0.022070907056331635, -0.3246350586414337, -0.7961879372596741, 0.547488272190094, -0.8359667062759399, -0.4482656717300415, -0.06683502346277237, -0.010181660763919353, -0.0753026157617569, 0.7636646628379822, 0.10624537616968155, 0.6576535105705261, 0.6951093673706055, -0.5850167274475098, 0.28993120789527893, 0.30129531025886536, -0.4322413504123688, 0.16572466492652893, -0.6332017779350281, -0.09852631390094757, -0.1565037965774536, 0.3195004463195801, -0.8088058829307556, 0.10186177492141724, 0.2386644333600998, -0.09734597057104111, 0.3329192101955414, -0.5817261934280396, -0.42788639664649963, -0.123760886490345, -0.43504905700683594, 0.11732780188322067, 0.343698114156723, -0.5754773020744324, 0.4384925663471222, 0.447623610496521, -0.03380543738603592, -0.9206250309944153, -0.4747428596019745, -0.25335583090782166, -0.5666071176528931, -0.3137379288673401, 0.3091605305671692, -0.030690373852849007, -0.15500646829605103, -0.1443316638469696, -0.5054824948310852, -0.1720162034034729, 0.06421004980802536, 0.7882001996040344, 0.31971392035484314, 0.028953792527318, 0.33471372723579407, 0.15332624316215515, -0.32954269647598267, 0.06141074374318123, -0.031324565410614014, 0.4582703411579132, -0.0026641585864126682, -0.6071252822875977, 0.011556734330952168, 0.07206062972545624, 0.2283618301153183, -0.14416970312595367, 0.6644842028617859, 0.5193160772323608, -0.3394767642021179, -0.4335005283355713, -0.2196919322013855, -0.12140386551618576, -0.5552597641944885, 0.18190306425094604, -0.23272192478179932, -0.80898517370224, 0.6085197925567627, -0.7097259759902954, 0.5347257852554321, 0.1530708223581314, 0.5918788909912109, -0.25224769115448, 0.5378749370574951, 0.44234827160835266, -0.1762651652097702, 0.1884840726852417, -0.4825398921966553, 0.14414767920970917, -0.8786954879760742, -0.5788715481758118, -0.3935120105743408, -0.39106470346450806, -0.2593681514263153, -0.27549004554748535, 0.6473428606987, 0.5225120782852173, -0.5746944546699524, 0.32004693150520325, -0.4300196170806885, 0.6006149053573608, 0.3603549599647522, 0.3955911099910736, 0.46409016847610474, 0.006873869337141514, -0.35911253094673157, 0.17569118738174438, -0.5765905380249023, -0.5982587337493896, 1.8098347187042236, 0.028091054409742355, 0.7041600346565247, -0.000010968079550366383, 0.8292865753173828, 0.34050995111465454, 0.24071519076824188, -0.42481961846351624, 0.4485659599304199, -0.13604974746704102, -0.7322843670845032, -0.19244857132434845, -0.5130817294120789, -0.9116945862770081, 0.18425190448760986, -0.25414907932281494, -0.6216700077056885, -0.024651160463690758, 0.2590372860431671, -0.1170295923948288, 0.6367518901824951, -0.6707443594932556, 0.7845609188079834, -0.04715990275144577, -0.31909433007240295, -0.09619978815317154, -0.8157753348350525, 0.5761337876319885, -0.22010479867458344, 0.10435371100902557, -0.3006034195423126, 0.1778070032596588, 0.4750026762485504, -0.4985845685005188, 1.109086513519287, -0.24679800868034363, -0.03396403789520264, 0.3490631878376007, 0.018970690667629242, 0.40546631813049316, 0.13651204109191895, -0.2080627977848053, 0.47675633430480957, -0.13668714463710785, -0.16666704416275024, -0.4397178590297699, 0.28548628091812134, -0.6228758096694946, -0.34126538038253784, -0.20046685636043549, -0.4747462868690491, -0.37252843379974365, 0.13889797031879425, 0.5993391275405884, 0.7304962873458862, -0.3100854456424713, 0.2968257963657379, 0.5653136968612671, -0.007986362092196941, 0.6345831751823425, 0.5069543719291687, 0.07450828701257706, -0.09068331122398376, 0.7086265087127686, 0.2819013297557831, -0.04624541103839874, 0.27941471338272095, -0.2522478401660919, -0.3513145446777344, -0.9115113019943237, -0.3527510464191437, -0.11231813579797745, -0.7375649809837341, -0.5717899203300476, -0.22445650398731232, -0.26657921075820923, -0.253012478351593, -0.32349294424057007, -0.47444048523902893, -0.37625595927238464, -0.31186845898628235, -0.26928773522377014, 0.21190950274467468, 0.6910558938980103, -0.08534729480743408, 0.4496234655380249, -0.8789040446281433, 0.4117870032787323, -0.014233645051717758, 0.32950711250305176, -0.06789758056402206, -0.5684244632720947, -0.15284445881843567, 0.12500226497650146, -0.6063550710678101, -0.6158046722412109, 0.37436214089393616, 0.262716144323349, 0.7610411047935486, 0.3804423213005066, 0.3189663290977478, 0.7155226469039917, -0.41377875208854675, 0.4070392847061157, 0.11531102657318115, -0.8697010278701782, 0.5804651975631714, -0.44838041067123413, 0.022224755957722664, 0.4817367196083069, 0.567740797996521, -0.06341766566038132, -0.3352314531803131, -0.48434722423553467, -0.8467497229576111, 0.4225625693798065, -0.09569228440523148, -0.3851780295372009, 0.24537909030914307, 0.5798943042755127, 0.1236821711063385, 0.5336786508560181, -0.3492421507835388, -0.34475138783454895, 0.03742559254169464, -0.16889218986034393, -0.14369013905525208, -0.045671530067920685, -0.32311075925827026, -0.14130795001983643, 0.6769230961799622, -0.18016187846660614, 0.007413778454065323, -0.36151736974716187, -0.4434819221496582, 0.12968100607395172, 0.2774982154369354, 0.027058608829975128, 0.6394082307815552, -0.20590825378894806, -0.06472072750329971, 0.4082794487476349, -0.39568501710891724, 0.3724503815174103, -0.25086042284965515, -0.14032195508480072, -0.437461256980896, 0.4344260096549988, 0.3928253948688507, 0.5844214558601379, -0.7667464017868042, 0.2478630542755127, 0.23126152157783508, -0.21150974929332733, -0.3292500972747803, 0.27692151069641113, 0.011778858490288258, 0.4767740070819855, 0.26813867688179016, 0.01940891519188881, 0.1917427033185959, -0.6928042769432068, 0.5158055424690247, 0.4051295518875122, -0.2901530861854553, -0.14830079674720764, 0.49019476771354675, 0.09872763603925705, 0.11421839892864227, 0.8131746053695679, 0.01531864982098341, -0.2937319874763489, 0.4801708459854126, 0.18743236362934113, 0.507165253162384, -0.06379588693380356, 0.13873551785945892, 0.16882067918777466, 0.28052252531051636, -0.17169366776943207, -0.006173304747790098, -0.024073604494333267, -0.6385383009910583, -0.1550387740135193, -0.5798608660697937, -0.38924720883369446, 0.16483789682388306, -0.8393027782440186, 0.3912782073020935, -0.6727285385131836, 0.1523353010416031, -0.2160245180130005, 0.18577279150485992, -0.5599362850189209, 0.17464688420295715, -0.22798499464988708, 0.642155110836029, -0.8006080985069275, 0.7808166146278381, 0.24682928621768951, -0.23878006637096405, -0.8274535536766052, -0.4428838789463043, 1.0728682279586792, -0.9171816110610962, 0.4913767874240875, 0.05782207101583481, -0.15346062183380127, -0.2691039443016052, -0.31744253635406494, -0.5229842662811279, 1.1933706998825073, 0.7874442934989929, -0.5206530690193176, -0.08785534650087357, 0.22576011717319489, 0.22705721855163574, -0.2671240270137787, 0.15957774221897125, 0.5774919390678406, 0.23872704803943634, 0.16167528927326202, -0.5536461472511292, -0.2316407412290573, -0.3743607997894287, -0.4714546501636505, 0.365153968334198, -0.6154500842094421, 0.8636458516120911, -0.2642587125301361, -0.19584788382053375, 0.02468649297952652, 0.5058867931365967, 0.46973422169685364, 0.42947736382484436, 0.19406896829605103, 0.6882597208023071, 0.7330450415611267, -0.20078785717487335, 0.3015017509460449, -0.3107166588306427, 0.237707257270813, 1.4965351819992065, -0.45853111147880554, 0.8193773031234741, 0.15616610646247864, -0.021817805245518684, 0.25836387276649475, 0.7314826250076294, -0.08881478756666183, 0.48606646060943604, 0.21404992043972015, -0.34426450729370117, -0.2001461237668991, 0.30393850803375244, -0.4988671541213989, 0.8986420631408691, 0.27018457651138306, -0.3106244206428528, -0.5859784483909607, -0.14706560969352722, 0.10045437514781952, -0.17538446187973022, -0.19910655915737152, 0.7518505454063416, 0.06591377407312393, -0.22372420132160187, 0.41117116808891296, -0.03543635085225105, 0.5266594886779785, -0.8169358968734741, -0.04973294213414192, -0.4722832143306732, 0.3556033968925476, -0.3182217478752136, -0.685142993927002, 0.45585179328918457, 0.21344873309135437, -0.22338669002056122, -0.36664336919784546, 0.6397334933280945, -0.5150917172431946, -0.12262645363807678, 0.393327534198761, 0.6144374012947083, 0.2989858388900757, 0.03678954020142555, -0.7558644413948059, 0.0785789042711258, -0.09847727417945862, -0.3435089588165283, 0.8272219300270081, 0.4850500226020813, 0.03477601334452629, 1.1098452806472778, 0.8158941268920898, -0.09549909830093384, 0.09640268236398697, -0.05267221853137016, 1.1519523859024048, -0.44377806782722473, 0.066736601293087, -0.6685231328010559, 0.651794970035553, 0.137257382273674, -0.4702478349208832, 0.8056311011314392, 0.9696120023727417, 0.9286413192749023, 0.19482797384262085, 0.5487344264984131, 0.44077056646347046, 0.5186507105827332, -0.8833422660827637, 0.7373724579811096, -0.44304728507995605, 0.7896693348884583, -0.2887129783630371, -1.009042501449585, -0.06960292905569077, 0.2187947928905487, 0.20706035196781158, 0.0972575843334198, 0.5185549259185791, 1.0056133270263672, -0.09886862337589264, 0.08751296252012253, 0.24915939569473267, 0.0350363627076149, 0.18572567403316498, 0.5530440807342529, 0.6787421107292175, -0.4281325936317444, 0.6745564937591553, -0.20924928784370422, 0.016625728458166122, 0.2605721354484558, -0.967689573764801, -0.8993120789527893, -0.5844005346298218, -0.07267189770936966, 0.02199147455394268, 0.2873174548149109, 0.5952415466308594, 0.6522771716117859, -0.5315520167350769, -0.42944541573524475, -0.015709877014160156, 0.1984347701072693, -0.014604720287024975, -0.0904042050242424, 0.37958914041519165, -0.31225594878196716, -0.31009745597839355, 0.9480236172676086, 0.40358060598373413, 0.007561706937849522, -0.20710459351539612, -0.09731073677539825, 0.06729894876480103, -0.3591234087944031, 0.44681304693222046, 0.44291117787361145, -0.38744521141052246, -0.1554488092660904, -0.29333168268203735, 0.36054474115371704, 0.025935180485248566, 1.056262731552124, -1.0344234704971313, 0.24229909479618073, 0.18444348871707916, 0.4178250730037689, 0.6006761193275452, -0.21483732759952545, 0.7040293216705322, -1.2748205661773682, 0.417236864566803, -0.25591734051704407, 0.6376340389251709, 0.03025881201028824, -0.2520836293697357, 0.8653252720832825, 0.23987969756126404, -0.3640061914920807, -1.0831677913665771, 0.12693126499652863, -0.5164780616760254, -0.5478877425193787, 0.6997793316841125, -0.41106560826301575, -0.03763410076498985, -0.47722384333610535, 0.17238368093967438, 0.6471952199935913, -0.21720124781131744, 0.7592757940292358, 0.5317723155021667, 0.020255060866475105, -0.08595550805330276, -0.34402501583099365, 0.4225987195968628, 0.25483113527297974, -1.003191351890564, 0.4416458010673523, 0.676923930644989, 0.4245288074016571, -0.3925020396709442, 0.3734591007232666, -0.38519731163978577, 0.09709586203098297, 0.07343804091215134, 0.08764644712209702, -0.4786530137062073, -0.9275317192077637, -0.2526648938655853, 0.4290727376937866, -0.4531112611293793, 0.04510386660695076 ]
http://arxiv.org/abs/2406.16807v1
http://arxiv.org/pdf/2406.16807v1
Beyond Thumbs Up/Down: Untangling Challenges of Fine-Grained Feedback for Text-to-Image Generation
2024-06-24T17:19:34
2024-06-24T17:19:34
Katherine M. Collins, Najoung Kim, Yonatan Bitton, Verena Rieser, Shayegan Omidshafiei, Yushi Hu, Sherol Chen, Senjuti Dutta, Minsuk Chang, Kimin Lee, Youwei Liang, Georgina Evans, Sahil Singla, Gang Li, Adrian Weller, Junfeng He, Deepak Ramachandran, Krishnamurthy Dj Dvijotham
cs.LG
cs.LG, cs.CL, cs.CV
Human feedback plays a critical role in learning and refining reward models for text-to-image generation, but the optimal form the feedback should take for learning an accurate reward function has not been conclusively established. This paper investigates the effectiveness of fine-grained feedback which captures nuanced distinctions in image quality and prompt-alignment, compared to traditional coarse-grained feedback (for example, thumbs up/down or ranking between a set of options). While fine-grained feedback holds promise, particularly for systems catering to diverse societal preferences, we show that demonstrating its superiority to coarse-grained feedback is not automatic. Through experiments on real and synthetic preference data, we surface the complexities of building effective models due to the interplay of model choice, feedback type, and the alignment between human judgment and computational interpretation. We identify key challenges in eliciting and utilizing fine-grained feedback, prompting a reassessment of its assumed benefits and practicality. Our findings -- e.g., that fine-grained feedback can lead to worse models for a fixed budget, in some settings; however, in controlled settings with known attributes, fine grained rewards can indeed be more helpful -- call for careful consideration of feedback attributes and potentially beckon novel modeling approaches to appropriately unlock the potential value of fine-grained feedback in-the-wild.
[ -0.5468577742576599, -0.5102262496948242, 0.7475862503051758, -0.20905351638793945, -0.16139258444309235, 0.0413387231528759, -0.4219897985458374, -0.5404345989227295, -0.16995318233966827, 0.26602086424827576, -0.5121253728866577, -0.22354349493980408, -0.7560861706733704, -0.03641851246356964, -0.22394458949565887, 1.2503092288970947, 0.03896643966436386, 0.07639086246490479, -0.4288608133792877, 0.18646351993083954, -0.366965115070343, -0.4863230288028717, -0.8568161725997925, -0.6040008068084717, 0.816688597202301, 0.7296991348266602, 0.9984760284423828, 0.5217570662498474, 0.6846596598625183, 0.2338159680366516, 0.061469029635190964, 0.34223297238349915, -0.540762186050415, -0.2820582091808319, -0.3094813823699951, -0.45200908184051514, -0.2400798797607422, 0.17950068414211273, 0.2264152467250824, 0.5539175868034363, 0.15038734674453735, 0.2127925008535385, 0.5040972828865051, 0.9758192896842957, -0.8221818208694458, -0.050923023372888565, -0.39784497022628784, 0.1409561038017273, -0.16724443435668945, -0.4951997399330139, -0.3404276669025421, -0.46365734934806824, 0.06327401846647263, -0.4982336461544037, 0.23511925339698792, -0.2908500134944916, 1.0304763317108154, 0.29969537258148193, -0.1630638837814331, -0.5667002201080322, -0.9223806262016296, 0.8882049322128296, -0.4490678608417511, -0.01905158907175064, 0.31590500473976135, 0.30304911732673645, 0.019263092428445816, -0.6241745352745056, -0.2311864197254181, -0.3830483853816986, 0.0602932907640934, 0.1161506175994873, -0.024807559326291084, 0.003991803154349327, -0.07861321419477463, 0.5110977292060852, 0.28829243779182434, 0.3129264712333679, -0.10916805267333984, -0.08579419553279877, 0.6161696910858154, 0.11797750741243362, 0.17914436757564545, -0.3948783576488495, -0.29087018966674805, -0.396253377199173, -0.4850137531757355, 0.8557206392288208, 0.3658759891986847, 0.5323637127876282, -0.028279969468712807, 0.6266931295394897, -0.28129661083221436, 0.6013172268867493, 0.5533205270767212, 0.03263881057500839, -0.26460498571395874, -0.18583790957927704, 0.09228432178497314, -0.18124543130397797, 0.7051516771316528, 0.9873379468917847, 0.16465623676776886, -0.1426595002412796, -0.543205738067627, 0.31570136547088623, 0.41877007484436035, -0.8413329124450684, -0.16037289798259735, 0.062193647027015686, -0.7043167948722839, -0.8947200179100037, 0.17056968808174133, -0.9038573503494263, -0.6110163927078247, -0.5844588875770569, 0.6563869118690491, -0.14191031455993652, 0.10797777771949768, -0.008128474466502666, -0.36273542046546936, 0.1698567122220993, 0.656851589679718, -1.2197151184082031, 0.15672864019870758, 0.6308180689811707, 0.7781825065612793, -0.10056197643280029, -0.12362366169691086, -0.557045042514801, -0.3511807322502136, -0.34495052695274353, 1.2586746215820312, -0.7810226678848267, -0.4172573387622833, -0.1946762353181839, -0.16262951493263245, 0.3759020268917084, -0.560867965221405, 0.4285595715045929, -0.18167735636234283, -0.01686524786055088, -0.6414399147033691, -0.32534492015838623, 0.19705508649349213, 0.3362816572189331, -0.48517289757728577, 0.8491529226303101, 0.04945981502532959, -0.7037323117256165, 0.5788185000419617, -0.4884933531284332, -0.07864895462989807, -0.02791587822139263, -0.4164682626724243, -0.14826056361198425, 0.5348927974700928, 0.2259417176246643, 0.5548012256622314, -0.47025924921035767, 0.3662862479686737, -0.5469067096710205, -0.1851060539484024, 0.32001757621765137, -0.584235429763794, 0.18447327613830566, 0.28683048486709595, -0.5278986692428589, 0.09301935136318207, -0.7067457437515259, 0.05802489444613457, 0.25672510266304016, -0.37608206272125244, -0.15733171999454498, 0.18101108074188232, 0.22564898431301117, 0.1152060478925705, 0.20620772242546082, -0.5668145418167114, 0.2831658720970154, 0.010726391337811947, 0.6447551846504211, 0.9471368193626404, -0.31619665026664734, 0.6805002093315125, -0.6154106259346008, 0.2728373110294342, -0.141158327460289, 0.155728280544281, -0.2929295599460602, -0.19899410009384155, -0.5499463081359863, 0.18976370990276337, 0.6521890759468079, 0.22686763107776642, -0.631788969039917, -0.06717683374881744, -0.046910692006349564, -0.47547152638435364, -0.5579692721366882, -0.016400665044784546, 0.5238730907440186, 0.4313209056854248, 0.16533313691616058, -0.7483710646629333, 0.08154875040054321, -0.6563523411750793, -0.11961916089057922, -0.030944349244236946, -0.3116550147533417, 0.5283285975456238, 0.24803169071674347, -0.011597711592912674, 0.9803398251533508, -0.6375675201416016, -0.28580185770988464, 0.06534650176763535, 0.5193909406661987, -0.3389468193054199, 0.5495496392250061, 0.4888667166233063, -0.6961436867713928, -0.03685424104332924, 0.25478309392929077, -0.23109546303749084, -0.0327288992702961, -0.39138057827949524, 0.057737015187740326, 0.15778687596321106, 0.22092266380786896, -0.37410029768943787, 0.4208918511867523, 0.4431053102016449, -0.37918946146965027, 0.732293426990509, -0.33795493841171265, 0.6331077814102173, -0.8248010873794556, 0.11383649706840515, 0.1998014599084854, -0.300201416015625, -0.23894314467906952, 0.23828786611557007, -0.008383817039430141, -0.03998618572950363, -0.34669411182403564, 0.3859827518463135, -0.06200076639652252, -0.09841405600309372, -0.4861069917678833, -0.1809050738811493, 0.19840751588344574, 0.5543593764305115, 0.21688547730445862, 0.6570051908493042, 0.3767382502555847, -0.6364871859550476, 0.3135768175125122, -0.0008748089312575758, -0.20106056332588196, 1.0150885581970215, -0.7101348638534546, 0.17901723086833954, -0.12722229957580566, 0.17821455001831055, -0.9997526407241821, -0.6117910146713257, -0.018417568877339363, -0.6704619526863098, 0.4085838496685028, 0.07320192456245422, -0.35193777084350586, -0.3562356233596802, -0.5681974291801453, 0.3491467833518982, 0.4399946928024292, -0.7340151071548462, 0.20426474511623383, 0.45336663722991943, -0.07542580366134644, -0.245848149061203, -0.6012811660766602, 0.11752213537693024, 0.01943441852927208, -0.5617710947990417, 0.4662666916847229, -0.013576395809650421, -0.09394730627536774, -0.12313341349363327, -0.066416434943676, 0.08207089453935623, 0.026337062940001488, 0.1549859642982483, 0.18938830494880676, 0.159963458776474, 0.13111458718776703, -0.03550421819090843, -0.2714122533798218, -0.042681362479925156, -0.2885037064552307, 0.40847527980804443, -0.33684879541397095, -0.31122875213623047, -0.3794132173061371, 0.38231220841407776, 0.4256656765937805, -0.030309991911053658, -0.047763653099536896, 0.5267181992530823, -0.21037612855434418, 0.08376996964216232, -0.2652469873428345, -0.4665217101573944, -0.48127731680870056, 0.1522572785615921, -0.07313138246536255, -1.017991065979004, 0.4480883777141571, -0.3786953091621399, 0.19976194202899933, 0.3636554181575775, 0.5320490598678589, -0.39919692277908325, 1.3981026411056519, 0.5671798586845398, 0.24172721803188324, 0.40488430857658386, -0.29761961102485657, -0.16105417907238007, -0.6272184252738953, -0.37796565890312195, -0.6206757426261902, -0.6174871921539307, -0.6038726568222046, -0.24497142434120178, 0.09581717848777771, 0.07778333127498627, -0.11620688438415527, -0.0527108870446682, -0.8327579498291016, 0.5872002840042114, 0.6476059556007385, 0.4482463300228119, 0.28148341178894043, -0.04455536976456642, 0.07051704823970795, -0.03372586891055107, -0.5068176984786987, -0.7300136685371399, 0.7134024500846863, 0.32362017035484314, 1.1663814783096313, -0.40427568554878235, 0.6823874711990356, 0.4189641773700714, 0.07228279113769531, -1.0131251811981201, 0.3414437174797058, -0.6130786538124084, -0.2971208989620209, -0.15484535694122314, -0.30988961458206177, -0.9005836248397827, -0.21171776950359344, -0.4014926850795746, -0.7245439887046814, 0.3857143521308899, 0.7234310507774353, -0.8966221809387207, 0.40401899814605713, -0.8858851790428162, 0.8352083563804626, -0.32650843262672424, -0.6539923548698425, -0.03340384364128113, -0.8069300651550293, 0.06320472061634064, 0.15999579429626465, 0.23076334595680237, 0.09547263383865356, 0.3599315285682678, 0.4154762327671051, -0.44915589690208435, 1.0395559072494507, -0.09787647426128387, -0.2426655888557434, 0.14493907988071442, 0.047388069331645966, 0.29716476798057556, 0.08591531962156296, 0.2972894012928009, 0.02221817895770073, 0.195252925157547, -0.3743073642253876, -0.6436775922775269, 0.7483793497085571, -0.8630778193473816, -0.41820263862609863, 0.03554214909672737, -0.4338749051094055, -0.14575058221817017, 0.08713403344154358, 0.698265552520752, 0.9529429078102112, 0.006532931700348854, 0.2045764923095703, 0.48135703802108765, -0.13492056727409363, 0.510754406452179, -0.11375502496957779, -0.2746180295944214, -0.4216369092464447, 1.217507243156433, 0.018728656694293022, 0.45689940452575684, 0.34849411249160767, 0.3489971458911896, -0.1788993775844574, -0.31063178181648254, -0.6908661723136902, -0.26848140358924866, -0.6175142526626587, -0.36713308095932007, -0.17469462752342224, 0.03673785924911499, -0.06517274677753448, -0.6741306781768799, -0.8051493763923645, -0.5002046823501587, -0.6101892590522766, 0.18667875230312347, 0.054115358740091324, 0.9913527369499207, -0.06786669045686722, 0.2346210479736328, -0.9684209823608398, 0.24709932506084442, 0.5326383709907532, 0.6896837949752808, 0.3279670178890228, -0.3032481074333191, -0.2297724336385727, 0.30439385771751404, -0.8431298136711121, -0.5627903938293457, 0.152138814330101, -0.08216708153486252, -0.10177266597747803, 0.5261011123657227, 0.10367347300052643, 0.699048638343811, -0.35417771339416504, 0.9948351979255676, 0.36230725049972534, -0.8964823484420776, 0.4965642988681793, -0.3391478657722473, 0.5614706873893738, 0.7024560570716858, 0.12552516162395477, -0.3522968292236328, -0.4238722324371338, -0.5478036403656006, -0.8296656608581543, 0.7773364186286926, 0.08617924153804779, 0.23209425806999207, 0.10300862789154053, 0.48319095373153687, 0.4549322724342346, 0.18055902421474457, -0.7100704312324524, 0.1442771703004837, -0.41940930485725403, 0.08362191915512085, -0.021668195724487305, -0.14843712747097015, -0.11255542188882828, -0.3188576400279999, 0.23908555507659912, -0.2345001995563507, 0.2025335133075714, 0.39498665928840637, 0.19134894013404846, -0.4709303081035614, 0.5395104885101318, 0.4848780333995819, 0.26655682921409607, -0.21702341735363007, 0.3070840835571289, -0.35213884711265564, -0.19960246980190277, 0.26087090373039246, -0.12818065285682678, -0.3054090738296509, -0.2936103343963623, 0.004023781977593899, 1.0595109462738037, 0.45287200808525085, -0.2735067307949066, 0.32559582591056824, -0.05768261104822159, -0.36896687746047974, 0.24594534933567047, 0.09199978411197662, -0.2518770694732666, 0.1052568107843399, 0.23275147378444672, 0.6937536597251892, 0.29870668053627014, -0.5951882600784302, 0.018903156742453575, 0.6744763851165771, -0.666673481464386, -0.45920464396476746, 0.6237816214561462, 0.5132919549942017, -0.3943571150302887, 0.21286363899707794, -0.14447900652885437, -0.24520041048526764, 0.625654399394989, 0.4184810221195221, 0.7169221639633179, 0.23623284697532654, 0.7071582674980164, 0.20006313920021057, -0.03852211683988571, -0.32307156920433044, -0.044586315751075745, -0.33908316493034363, -0.6462230086326599, -0.3214345872402191, -0.4835955798625946, -0.6420918107032776, -0.03973622992634773, -0.923492431640625, 0.2975362539291382, -0.3743305206298828, -0.6883244514465332, 0.45787355303764343, -0.07361093908548355, -0.6048876047134399, 0.28008702397346497, 0.45883259177207947, 0.6620941758155823, -0.6496506929397583, 0.4181135892868042, 0.9376920461654663, -0.4133085608482361, -1.0920681953430176, -0.005610242486000061, 0.05401483550667763, -0.5554960370063782, 0.4006023406982422, 0.5180489420890808, -0.3380974233150482, 0.19820398092269897, -0.9185874462127686, -0.5850160717964172, 0.8205780982971191, 0.3643398880958557, -0.39329758286476135, -0.16359202563762665, 0.16745112836360931, 0.4214572012424469, -0.27363014221191406, 0.45570075511932373, 0.6441054344177246, 0.4935663342475891, 0.48598045110702515, -0.771458089351654, -0.11415503174066544, -0.25093597173690796, 0.3656822741031647, 0.40555739402770996, -0.8049541711807251, 0.5498156547546387, -0.4828318953514099, -0.23360037803649902, 0.19234982132911682, 0.3029191792011261, 0.07976699620485306, 0.6229586601257324, 0.4798075258731842, 0.664244532585144, 0.4708165228366852, -0.22075602412223816, 1.3833355903625488, 0.07542998343706131, 0.4809022545814514, 0.7437612414360046, 0.07383716851472855, 0.7191305160522461, 0.75068199634552, -0.2049974799156189, 0.3795093297958374, 0.9753935933113098, 0.020110992714762688, 0.6917921304702759, -0.06770773231983185, 0.19023779034614563, -0.4545235335826874, -0.3783074915409088, -0.215103879570961, 0.37528878450393677, -0.018327202647924423, -0.16019901633262634, -0.5352078676223755, 0.06888660788536072, -0.3471304774284363, 0.17965936660766602, -0.6810868382453918, 0.825152575969696, -0.010330332443118095, -1.0120625495910645, 0.3666689991950989, -0.14738014340400696, 0.9971861243247986, -0.34222209453582764, -0.08316817879676819, -0.1661500185728073, 0.1697472184896469, -0.4560985863208771, -1.0259543657302856, 0.16056998074054718, 0.18412582576274872, -0.5842102766036987, -0.17310354113578796, 0.7533736228942871, -0.2262597233057022, -0.3522602617740631, -0.048004262149333954, -0.12929783761501312, -0.2580133080482483, -0.11481231451034546, -0.49256670475006104, 0.06188000366091728, 0.05968322232365608, -0.2114529311656952, 0.5706990361213684, 0.34078922867774963, -0.03365738317370415, 0.3756074607372284, 0.6632136702537537, -0.058328188955783844, -0.33128949999809265, 0.018421916291117668, 0.8708471655845642, -0.6486999988555908, -0.5191770195960999, -0.9380505084991455, 0.6739862561225891, 0.010825389996170998, -0.3349558115005493, 0.35342931747436523, 0.07218115776777267, 1.0445172786712646, -0.2835661768913269, 0.6499511003494263, -0.06276968866586685, 0.029892204329371452, -0.5654556155204773, 0.5655173063278198, -0.7565504312515259, 0.13274550437927246, -0.4357914626598358, -0.6462656259536743, -0.20814882218837738, 0.38920244574546814, -0.26746734976768494, 0.05121345818042755, 0.5231254696846008, 0.5550751090049744, 0.06085270643234253, 0.1941804736852646, 0.1357661783695221, -0.24980123341083527, 0.27795377373695374, 0.5220051407814026, 1.1412038803100586, -0.06675015389919281, 0.46061259508132935, -0.5085776448249817, -0.4755263030529022, -0.21011486649513245, -1.049997329711914, -0.4894382059574127, -0.6129171848297119, -0.20478898286819458, -0.2078055441379547, -0.27327120304107666, 1.0609369277954102, 0.7623766660690308, -0.7880317568778992, -0.1541631668806076, -0.416364461183548, -0.10844076424837112, -0.09739410877227783, -0.2846875488758087, 0.1749381721019745, -0.6327187418937683, -0.7561388611793518, -0.3590535521507263, 0.4300484359264374, 0.22480496764183044, -0.10251394659280777, -0.13855314254760742, 0.3860880136489868, 0.27867263555526733, 0.6189346313476562, 0.41611865162849426, -0.7059564590454102, -0.3757821023464203, -0.010294829495251179, -0.3186877369880676, 0.26834824681282043, 1.0345542430877686, -0.6934157609939575, 0.5108205676078796, 0.3717624545097351, 0.7187680006027222, 0.19958914816379547, 0.17031893134117126, 0.6275807619094849, -0.6520785689353943, -0.04216235876083374, -0.0074185822159051895, 0.1013498306274414, 0.5616841316223145, -0.5566810369491577, 0.1131960079073906, 0.03632846102118492, -0.9851592183113098, -0.7140186429023743, 0.2929914593696594, -0.9986684322357178, -0.29199615120887756, 1.0380154848098755, 0.10052463412284851, -0.1745244264602661, 0.45508602261543274, -0.7588860988616943, 0.08784941583871841, -0.5989524126052856, 1.2744126319885254, 0.7935287952423096, -0.1681300848722458, -0.08307112753391266, -0.0724823921918869, 0.7163172960281372, 0.5987386703491211, -0.8923081159591675, 0.08633147180080414, 0.7674289345741272, -0.16353724896907806, 0.30359748005867004, 0.5068215131759644, -0.2937318980693817, 0.5371745228767395, -0.31659772992134094, -0.0004540024674497545, -0.07433081418275833, -0.4203917682170868, -0.5502994060516357, 0.2343771904706955, 0.4245298206806183, -0.1714611053466797 ]
http://arxiv.org/abs/2406.16801v2
http://arxiv.org/pdf/2406.16801v2
RES-Q: Evaluating Code-Editing Large Language Model Systems at the Repository Scale
2024-06-24T17:08:17
2024-06-25T18:04:23
Beck LaBash, August Rosedale, Alex Reents, Lucas Negritto, Colin Wiel
cs.CL
cs.CL
The instruction-following ability of Large Language Models (LLMs) has cultivated a class of LLM-based systems capable of approaching complex tasks such as making edits to large code repositories. Due to the high sensitivity and unpredictability of LLM behavior in response to changes in prompting, robust evaluation tools are needed to drive future iteration of these systems. We propose RES-Q, a natural language instruction-based benchmark for evaluating $\textbf{R}$epository $\textbf{E}$diting $\textbf{S}$ystems, which consists of 100 handcrafted repository editing tasks derived from real GitHub commits. Given an edit instruction and a code repository, RES-Q evaluates an LLM system's ability to interpret the instruction, navigate the repository to gather relevant information, and construct an appropriate edit that satisfies the specified criteria. We argue that evaluating LLMs in this way addresses issues with traditional benchmarks and provides a more holistic assessment of a model's abilities. We evaluate various state-of-the-art LLMs as language agents in a repository-editing system built on Qurrent OS, our language agent development software. Despite their 1% pass@1 performance difference on HumanEval, we find Claude Sonnet 3.5 outperforms GPT-4o by 12% pass@1 on RES-Q, indicating RES-Q's capacity to differentiate model capability as traditional benchmarks approach saturation. We further investigate token efficiency, performance relationships with existing benchmarks, and interesting disparities between closed and open-source LLMs. Code and dataset are available at https://github.com/Qurrent-AI/RES-Q.
[ -0.19487492740154266, -0.5765339732170105, 0.38948214054107666, -0.0675148069858551, 0.1152300089597702, 0.2557182013988495, -0.5971317887306213, -0.2464979737997055, -0.05965188890695572, 0.42140278220176697, -0.2625732719898224, -0.5001474022865295, -0.39670851826667786, 0.4832213521003723, -0.3140442669391632, 0.6648204922676086, -0.12767662107944489, 0.1267126500606537, -0.26966729760169983, -0.27137210965156555, -0.4492914378643036, -0.4072968065738678, -0.3232571482658386, -0.1443505585193634, 0.40037935972213745, 0.3026025593280792, 0.7036582827568054, 0.6055416464805603, 0.6260142922401428, 0.3707966208457947, -0.15196098387241364, 0.08933985978364944, -0.6751042008399963, 0.36984822154045105, -0.3810935914516449, -0.42493489384651184, -0.6090236902236938, -0.15188072621822357, 0.8340725898742676, 0.14126667380332947, -0.012578493915498257, 0.4323822557926178, -0.03226159140467644, 1.0127613544464111, -0.8437100052833557, 0.1007886752486229, -0.5361777544021606, -0.1871446669101715, -0.005827831104397774, -0.07167534530162811, -0.5727968215942383, -0.6391719579696655, -0.0018704556860029697, -0.45354631543159485, -0.209713414311409, -0.016965273767709732, 0.6819514036178589, 0.4167344570159912, -0.018465548753738403, -0.2714035212993622, -0.5754757523536682, 0.7156015038490295, -0.5586591958999634, 0.7318282127380371, 0.20144104957580566, 0.395177960395813, -0.2371959090232849, -0.8882645964622498, -0.3654070794582367, -0.38825833797454834, 0.18089298903942108, -0.02964598499238491, -0.4974226653575897, 0.12461503595113754, 0.43004730343818665, 0.41786885261535645, -0.4064450263977051, -0.04225488007068634, -0.22541239857673645, -0.21766526997089386, 0.2833434045314789, 0.21036460995674133, 0.35028180480003357, -0.14020486176013947, -0.2164091020822525, -0.1774357259273529, -0.7421013712882996, -0.028928350657224655, 0.2537669539451599, 0.25288671255111694, 0.08082669973373413, 0.614159345626831, -0.3555205762386322, 0.7569593787193298, -0.16071286797523499, 0.08910439908504486, 0.11308532953262329, -0.25919756293296814, -0.33994144201278687, -0.23956042528152466, 0.6623944640159607, 0.41118428111076355, 0.3858475983142853, -0.3084692358970642, -0.7649800181388855, -0.09053628146648407, 0.4505092203617096, -0.8800750374794006, -0.18714943528175354, 0.1025296077132225, -0.35826417803764343, -0.09422345459461212, 0.0017429286381229758, -0.612564742565155, -0.561226487159729, -0.34801316261291504, 0.5399337410926819, -0.4652116894721985, 0.006134338676929474, 0.09062150120735168, -0.08321185410022736, 0.2548600137233734, 0.3729963004589081, -0.4448709189891815, 0.37323781847953796, 0.8900817036628723, 0.822101891040802, 0.10255486518144608, -0.4362718164920807, -0.7242543697357178, -0.2084556370973587, -0.275906503200531, 0.8312674164772034, -0.808857262134552, -0.22403490543365479, -0.1278381198644638, 0.018204577267169952, -0.058096759021282196, -0.6272959113121033, 0.46388834714889526, -0.857288658618927, -0.13205409049987793, -0.22251950204372406, -0.7510169148445129, 0.003934467677026987, 0.3897245228290558, -0.7619247436523438, 0.8702301979064941, 0.6271456480026245, -0.6955611109733582, 0.0957648977637291, -0.593148410320282, -0.010471213608980179, 0.06311608105897903, 0.04550546407699585, -0.13632966578006744, 0.028861112892627716, 0.04310321435332298, 0.046387121081352234, -0.5674751400947571, 0.13024912774562836, -0.09021325409412384, -0.8015026450157166, 0.47689658403396606, -0.33533602952957153, 0.5252713561058044, 0.14984478056430817, -0.16939210891723633, 0.2951570451259613, -0.5308294296264648, 0.20425620675086975, -0.035643551498651505, -0.4735017716884613, -0.29890549182891846, -0.2422233670949936, -0.2607308626174927, -0.1973053365945816, 0.3667033910751343, -0.38755229115486145, 0.4272744059562683, -0.1946755200624466, 0.581149697303772, 0.7767127156257629, 0.10112465918064117, 0.3845738172531128, -0.534640908241272, 0.9034776091575623, -0.6213107109069824, 0.2831399142742157, -0.27101659774780273, -0.16284197568893433, -0.6103997230529785, -0.49611911177635193, 0.7674927115440369, 0.4884291887283325, -0.7723304033279419, 0.11955785006284714, -0.47910642623901367, -0.5532407760620117, -0.7566531300544739, 0.0499148927628994, 0.7829235792160034, 0.14605848491191864, 0.3577507734298706, -0.22246940433979034, -0.48100143671035767, -0.9725142121315002, -0.6596890687942505, -0.34443768858909607, -0.021224064752459526, 0.2574561834335327, 0.508017897605896, -0.2735738754272461, 0.7921481132507324, -0.19172896444797516, 0.24811115860939026, -0.02737431600689888, -0.03141859918832779, -0.010832268744707108, 0.2373066544532776, 0.2784474194049835, -0.3426661193370819, -0.29455727338790894, -0.08457250148057938, -0.5210173726081848, -0.3865814208984375, 0.044178348034620285, -0.17167243361473083, 0.2424067258834839, 0.39667776226997375, -0.4235949218273163, 0.239440456032753, 0.4559756815433502, -0.21888123452663422, 0.6872847080230713, -0.322769433259964, 0.5859995484352112, -0.6754809021949768, 0.09468214958906174, -0.04337481036782265, -0.16992732882499695, -0.5456286668777466, 0.5246038436889648, 0.5254127979278564, -0.01843166910111904, -0.4495924413204193, 0.41277214884757996, -0.5752208828926086, -0.5888933539390564, -0.1114429235458374, 0.30408230423927307, 0.21093349158763885, 0.40761038661003113, -0.2692948579788208, 1.0305132865905762, 0.1427128165960312, -0.33498021960258484, 0.4599986970424652, 0.029242070391774178, -0.6131612658500671, 0.36726289987564087, -0.7204049825668335, 0.47288745641708374, 0.3624633550643921, 0.18504151701927185, -0.709777295589447, 0.046888742595911026, 0.2076064646244049, -0.3815361261367798, 0.14887896180152893, -0.3747416138648987, -0.6932331919670105, -0.13272665441036224, -0.44187912344932556, 0.40512654185295105, 0.44365397095680237, -0.3232475817203522, 0.37476786971092224, 0.1779998242855072, -0.15953001379966736, -0.6100884675979614, -0.48191753029823303, 0.3271237313747406, 0.08046439290046692, -0.4946485161781311, 0.16366885602474213, 0.04304943606257439, -0.5297818183898926, 0.1733018308877945, -0.03254326432943344, -0.06756565719842911, 0.13944748044013977, 0.15022771060466766, 0.31114351749420166, -0.3250134289264679, 0.19043375551700592, -0.05533479526638985, -0.05818304792046547, 0.10754568874835968, 0.0199614055454731, 0.33709287643432617, -0.5563833117485046, -0.537559986114502, -0.553808867931366, -0.32970044016838074, 1.0193970203399658, -0.4793369472026825, 0.4401648938655853, 0.017814891412854195, -0.3487948775291443, -0.051018521189689636, -0.4879142642021179, -0.09759719669818878, -0.3845996558666229, 0.4132295846939087, -0.4403884708881378, -0.8313092589378357, 0.5344746112823486, -0.1389402151107788, 0.2297770231962204, 0.19831544160842896, 0.41333696246147156, 0.3819911777973175, 0.5311327576637268, 0.2808424234390259, 0.11631899327039719, 0.5209129452705383, -0.20799049735069275, 0.0015314926858991385, -1.1075223684310913, 0.04111379012465477, -0.8097823858261108, -0.35582950711250305, -0.6733403205871582, -0.8372376561164856, 0.1882859468460083, 0.2482512891292572, -0.5159720778465271, 0.5546547174453735, -0.5320142507553101, 0.5770936608314514, 0.36961352825164795, 0.003213767195120454, 0.515319287776947, -0.3900429904460907, 0.023602258414030075, 0.02690829336643219, -0.6354637742042542, -0.8476225137710571, 1.1080230474472046, 0.6245355606079102, 0.8544790744781494, 0.15451225638389587, 0.6786808371543884, 0.5703180432319641, 0.7207930088043213, -0.7274980545043945, 0.6082941293716431, 0.06531798839569092, -0.2846565246582031, -0.5575941801071167, -0.42360514402389526, -0.6223759651184082, 0.3539726734161377, -0.1543736755847931, -0.4403012990951538, 0.13828834891319275, -0.09218338876962662, -0.24562546610832214, 0.38474637269973755, -0.8901405930519104, 0.9310756325721741, -0.04977314546704292, -0.3993323743343353, -0.2744394540786743, -0.1445833295583725, 0.23368827998638153, -0.0872659757733345, 0.24446693062782288, 0.09436063468456268, -0.41165339946746826, 0.40022358298301697, -0.3417799472808838, 0.4596504867076874, -0.20384903252124786, -0.08153674751520157, 0.41520944237709045, 0.4957413077354431, 0.5798677206039429, 0.021021412685513496, -0.4754932224750519, -0.0529710128903389, 0.2182169407606125, -0.3538212776184082, -0.8230742812156677, 0.6530941724777222, -0.7176572680473328, -0.5885406732559204, -0.13725587725639343, -0.36626797914505005, -0.14228254556655884, -0.0006428916240110993, -0.18336021900177002, 0.7697873115539551, -0.36311134696006775, 0.3993242383003235, 0.44407376646995544, -0.5486946702003479, 0.08633222430944443, 0.7339313626289368, -0.43771862983703613, -0.45859578251838684, 0.8488004803657532, 0.1393161118030548, 0.4669075608253479, 0.349098265171051, 0.2271222025156021, -0.3161832094192505, -0.5708904266357422, -0.7364404201507568, 0.11274022608995438, -0.7330147624015808, -0.4271518290042877, -0.4603685736656189, -0.13521568477153778, -0.18612433969974518, -0.13969483971595764, -0.42429494857788086, -0.24538731575012207, 0.07791999727487564, 0.22449180483818054, 0.43386223912239075, 0.9849507212638855, 0.2788218557834625, -0.2117932140827179, -1.1034713983535767, 0.15085524320602417, 0.2889765799045563, 0.5941256880760193, 0.05192306637763977, -0.9999101161956787, -0.33225423097610474, 0.011161375790834427, -0.11873171478509903, -0.7898626923561096, 0.13869725167751312, -0.016872882843017578, 0.5079730749130249, -0.10398508608341217, 0.38950106501579285, 0.49694639444351196, -0.3958078622817993, 0.5930910110473633, -0.25659748911857605, -1.1406878232955933, 0.41418027877807617, -0.20622794330120087, 0.4977071285247803, 0.6009220480918884, 0.015790289267897606, -0.643913209438324, -0.7295331358909607, -0.3171604871749878, -0.3633687198162079, 0.7028720378875732, 0.0935642346739769, -0.012292178347706795, -0.10089212656021118, 0.4474228620529175, -0.027193617075681686, 0.12015955150127411, -0.4279222786426544, 0.07100743800401688, 0.03497467562556267, 0.19623512029647827, 0.3229631781578064, -0.33580121397972107, 0.19079448282718658, -0.002698069903999567, 0.4839322865009308, 0.00049970782129094, 0.04725836217403412, 0.2560447156429291, -0.3579005002975464, -0.2872660756111145, 0.6913231015205383, 0.6751874089241028, 0.9771355390548706, -0.31603366136550903, -0.07668251544237137, 0.2915658950805664, -0.37869158387184143, 0.026064690202474594, -0.1381131410598755, -0.06405645608901978, -0.2655731737613678, 0.609428346157074, 0.673088788986206, 0.4908458888530731, -1.1283284425735474, 0.4223898649215698, -0.37335342168807983, -0.1076546236872673, 0.05059026926755905, 0.17959752678871155, 0.089754119515419, 0.5188795924186707, 0.19553285837173462, -0.06522362679243088, 0.07608453929424286, -0.530487060546875, 0.11921622604131699, 0.039103180170059204, -0.4833117723464966, -0.2764200270175934, 0.13383105397224426, 0.289737343788147, -0.7741223573684692, 0.736264705657959, -0.29979193210601807, -0.5985507369041443, 0.6992385983467102, 0.25367024540901184, 1.092543601989746, -0.11193876713514328, 0.004033879842609167, 0.3541993498802185, 0.46068185567855835, 0.0068855746649205685, 0.17126469314098358, 0.10216306149959564, -0.5663546919822693, -0.5606538653373718, -0.4326932728290558, -0.7262305617332458, 0.023241903632879257, -0.8312806487083435, 0.2209414839744568, -0.4615686237812042, -0.19052542746067047, -0.22619087994098663, 0.08945433050394058, -0.4832170009613037, -0.18488498032093048, -0.2734670639038086, 1.1632652282714844, -0.49049028754234314, 0.7868978381156921, 0.9980994462966919, -0.17000721395015717, -0.5784542560577393, 0.09886883199214935, -0.10883855819702148, -0.6324115991592407, 0.6375503540039062, 0.045004818588495255, -0.22054368257522583, -0.08217617124319077, -0.3304612338542938, -0.5403223633766174, 1.1645054817199707, 0.5583080649375916, -0.9464828968048096, 0.2455201894044876, -0.30001190304756165, 0.8142071962356567, -0.3201269209384918, 0.5338230729103088, 0.7523406147956848, 0.421737402677536, -0.2877475917339325, -0.9628622531890869, 0.09143508225679398, -0.23043318092823029, 0.0644664540886879, 0.3992885947227478, -0.6719584465026855, 0.7422009706497192, -0.29609817266464233, -0.2676653265953064, 0.1966933161020279, 0.3997173011302948, 0.43222957849502563, 0.08809392899274826, 0.5636399388313293, 0.5754449963569641, 0.6242364048957825, 0.00991599541157484, 1.1423676013946533, -0.7131655812263489, 0.3550834059715271, 1.12563955783844, -0.4359820783138275, 1.0845630168914795, 0.31223514676094055, -0.4388863146305084, 0.4171557128429413, 0.4020993709564209, 0.2218138575553894, 0.15951380133628845, 0.6331465840339661, -0.21363502740859985, -0.0988452360033989, -0.11390381306409836, -0.31477150321006775, 0.28454363346099854, 0.18515409529209137, -0.18959090113639832, -0.06562941521406174, -0.18372038006782532, -0.25745832920074463, 0.4308561384677887, -0.17797178030014038, 0.6239396333694458, -0.11879248917102814, -0.5652868151664734, 0.7039777040481567, 0.07500163465738297, 0.28248143196105957, -0.22833862900733948, -0.26800337433815, -0.34439322352409363, -0.04886603727936745, 0.05556018278002739, -0.9095864295959473, 0.11821435391902924, 0.5643540024757385, -0.14254671335220337, -0.28550419211387634, 0.5916947722434998, -0.04806587100028992, -0.033937543630599976, 0.41409361362457275, 0.5494886040687561, 0.19194728136062622, -0.02755575068295002, -0.8926407694816589, 0.5902836322784424, -0.016112180426716805, -0.5154827833175659, 0.4875348210334778, 0.7335172295570374, -0.0532056950032711, 0.8798273205757141, 0.36403822898864746, 0.11459586769342422, -0.35680967569351196, 0.32033365964889526, 0.914078414440155, -0.6891592144966125, -0.10602502524852753, -0.7228864431381226, 0.1679285764694214, 0.1701982021331787, -0.3208160698413849, 0.4275035262107849, 0.5281753540039062, 0.8683282732963562, 0.08397287875413895, 0.5711916089057922, 0.017467984929680824, 0.6044854521751404, -0.5162094831466675, 0.5363942384719849, -0.3309660851955414, 0.5751450657844543, -0.17112231254577637, -1.1189846992492676, 0.09202537685632706, 0.40332210063934326, -0.5273985862731934, 0.06510244309902191, 0.6066868901252747, 1.0921956300735474, 0.36956289410591125, 0.06515152752399445, 0.4274667799472809, 0.18514509499073029, 0.1367809921503067, 0.4416423738002777, 1.3089134693145752, -0.505426824092865, 0.4368838667869568, -0.14153964817523956, -0.20194366574287415, -0.28615304827690125, -0.7323552370071411, -0.6880526542663574, -0.38548722863197327, -0.26193562150001526, -0.3311263620853424, 0.3681034743785858, 1.1678311824798584, 0.239137202501297, -0.7128626704216003, -0.20783396065235138, 0.10184068977832794, 0.2949373424053192, -0.14223062992095947, -0.20438002049922943, 0.28877899050712585, -0.38399267196655273, -0.7869693636894226, 0.4341451823711395, 0.5046127438545227, -0.24998822808265686, -0.4852979779243469, -0.2673492729663849, 0.00852250400930643, -0.015968572348356247, 0.43492206931114197, 0.2915319800376892, -0.7948874235153198, -0.48714137077331543, 0.27343758940696716, -0.6205655932426453, -0.12437541782855988, 0.8197740912437439, -0.744733989238739, 0.641356885433197, 0.642756998538971, 0.9668920040130615, -0.1608523577451706, 0.1714928299188614, 0.6195906400680542, -0.176976278424263, -0.3190051317214966, 0.35838782787323, 0.24198664724826813, 0.29599228501319885, -0.0618244931101799, 0.5649973154067993, -0.01965993084013462, -0.9336884021759033, -1.0260642766952515, -0.172697976231575, -0.49480733275413513, -0.1894492655992508, 1.031733512878418, -0.43552571535110474, -0.30608469247817993, 0.01759237051010132, -0.1936987340450287, 0.2566297948360443, -0.4608978033065796, 0.6228827834129333, 0.7199100852012634, 0.08056788891553879, -0.30798545479774475, -0.7641676664352417, 0.21175086498260498, 0.22720813751220703, -0.6611891388893127, 0.41709092259407043, 0.6805852651596069, 0.13054543733596802, -0.13556894659996033, 0.48515740036964417, -0.19849808514118195, 0.5648460388183594, -0.015156225301325321, 0.45854198932647705, -0.18405985832214355, -0.288131982088089, -0.6368244290351868, -0.11123020201921463, 0.5640319585800171, 0.03203420713543892 ]
http://arxiv.org/abs/2406.16797v2
http://arxiv.org/pdf/2406.16797v2
Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMs
2024-06-24T16:58:23
2024-06-25T13:46:41
Ashwinee Panda, Berivan Isik, Xiangyu Qi, Sanmi Koyejo, Tsachy Weissman, Prateek Mittal
cs.CL
cs.CL, cs.AI
Existing methods for adapting large language models (LLMs) to new tasks are not suited to multi-task adaptation because they modify all the model weights -- causing destructive interference between tasks. The resulting effects, such as catastrophic forgetting of earlier tasks, make it challenging to obtain good performance on multiple tasks at the same time. To mitigate this, we propose Lottery Ticket Adaptation (LoTA), a sparse adaptation method that identifies and optimizes only a sparse subnetwork of the model. We evaluate LoTA on a wide range of challenging tasks such as instruction following, reasoning, math, and summarization. LoTA obtains better performance than full fine-tuning and low-rank adaptation (LoRA), and maintains good performance even after training on other tasks -- thus, avoiding catastrophic forgetting. By extracting and fine-tuning over lottery tickets (or sparse task vectors), LoTA also enables model merging over highly dissimilar tasks. Our code is made publicly available at https://github.com/kiddyboots216/lottery-ticket-adaptation.
[ -0.11925896257162094, -0.612342894077301, 0.0818958580493927, 0.6122122406959534, -0.4184989333152771, 0.044931571930646896, -0.11355695873498917, -0.44811582565307617, 0.3026961386203766, 0.7938584089279175, -0.5166289210319519, -0.06401383876800537, -0.7088145613670349, -0.08312994986772537, -0.3169139623641968, 1.0765920877456665, -0.009766291826963425, 0.17002806067466736, -0.3736458122730255, 0.037410225719213486, -0.6937344074249268, -0.3909571170806885, -0.9483086466789246, -0.24381355941295624, 0.6135799288749695, 0.31337374448776245, 0.32024073600769043, 0.2518867254257202, 0.6944238543510437, 0.4130397140979767, 0.07471779733896255, 0.35411086678504944, -0.9637643098831177, 0.09430582821369171, -0.4024995267391205, -0.7050395011901855, -0.35388854146003723, -0.23071333765983582, 0.5832076668739319, 0.6606301069259644, -0.08358263224363327, 0.16043005883693695, 0.4740835130214691, 0.6740802526473999, -0.7474282383918762, 0.22453367710113525, -0.9662807583808899, 0.09671282768249512, -0.035588931292295456, -0.7719752788543701, -0.3494199514389038, -0.27502647042274475, -0.2844674289226532, -0.8833049535751343, -0.0226031094789505, -0.0019303953740745783, 0.6728760004043579, 0.5696268677711487, -0.1439979374408722, -0.3558518588542938, -0.9516469836235046, 0.670469343662262, -0.3521387279033661, -0.00848532747477293, 0.41090089082717896, 0.09265653789043427, -0.6278999447822571, -0.013152094557881355, -0.46255677938461304, -0.06701203435659409, 0.4549521505832672, 0.26255959272384644, -0.2912157475948334, 0.11022897064685822, 0.22213789820671082, -0.13058769702911377, -0.40931519865989685, 0.1185474693775177, -0.39540767669677734, -0.09225992858409882, 0.578386127948761, 0.18211457133293152, 0.17721162736415863, -0.11392614990472794, -0.29269519448280334, 0.019890177994966507, -0.7091682553291321, 0.005650196224451065, 0.39294010400772095, 0.35527005791664124, -0.08165130019187927, 0.4335331916809082, -0.1285358965396881, 0.7101831436157227, 0.3196756839752197, -0.3898279070854187, 0.06227736547589302, -0.3609660565853119, -0.18475282192230225, -0.1077263355255127, 0.4186260402202606, 0.21702364087104797, 0.35608142614364624, -0.47799909114837646, -0.24685180187225342, -0.2686551809310913, 0.13425695896148682, -0.5381684899330139, -0.059275079518556595, 0.06774526089429855, -0.48720067739486694, -0.2129472941160202, -0.2285481095314026, -0.6286285519599915, -0.8747439384460449, -0.3404611647129059, 0.9426854252815247, -0.24018149077892303, -0.01574007421731949, 0.20772603154182434, -0.10958829522132874, 0.23237144947052002, 0.49692174792289734, -0.9491754174232483, 0.36503902077674866, 0.769408643245697, 0.7045214176177979, -0.23250579833984375, -0.6940023899078369, -0.8961700201034546, 0.2275114804506302, -0.45650696754455566, 0.913811445236206, -0.01624305173754692, -0.16472157835960388, -0.23506052792072296, 0.04608264937996864, -0.3869357109069824, -0.8642800450325012, 0.34405869245529175, -0.7558647990226746, -0.10126744955778122, -0.04281129315495491, -0.26654380559921265, -0.07020649313926697, 0.0436103530228138, -0.7634738087654114, 0.6926053762435913, 0.21132393181324005, -0.2711374759674072, 0.45539137721061707, -0.5411301255226135, -0.6068214178085327, -0.026546848937869072, 0.30030202865600586, -0.4284707009792328, 0.5014663934707642, -0.0025916139129549265, 0.3386431336402893, -0.21780306100845337, 0.14363889396190643, -0.5327593088150024, -0.7309585809707642, 0.30336257815361023, -0.4480980336666107, 0.7837555408477783, 0.06777853518724442, -0.0893079861998558, 0.16487689316272736, -0.8716254234313965, -0.46986159682273865, 0.03590867668390274, -0.5212692022323608, -0.5210801362991333, 0.29809170961380005, 0.16862493753433228, 0.25023123621940613, 0.28209665417671204, -0.13610327243804932, 0.3141270577907562, -0.4316944479942322, 0.02490980364382267, 1.1508047580718994, -0.11449220776557922, 0.5964031219482422, -0.6247201561927795, 0.4311003088951111, 0.39949291944503784, 0.22666394710540771, 0.2937200963497162, -0.3117815852165222, -0.8249574899673462, 0.056579310446977615, 0.5011300444602966, 0.8272852301597595, -1.0896897315979004, 0.41187727451324463, -0.38849329948425293, -0.1634799838066101, -0.4460722506046295, 0.5836526155471802, -0.04063257575035095, 0.042612962424755096, -0.0852096751332283, -0.6784127950668335, -0.8360303640365601, -0.5026953816413879, -0.1843898743391037, 0.038498975336551666, 0.09906627982854843, 0.3333646059036255, 0.5683456659317017, 0.1918443888425827, 0.7102867364883423, -0.20778588950634003, -0.6765100359916687, -0.1201736330986023, -0.09392933547496796, 0.29840847849845886, 0.6522451639175415, 0.6652663350105286, -0.6442831158638, -0.34062957763671875, 0.09873764961957932, -0.4416925013065338, -0.16396409273147583, -0.6829239130020142, -0.1117616593837738, 0.27550965547561646, 0.1739823818206787, -0.39359429478645325, 0.31386446952819824, 0.8353650569915771, -0.5773123502731323, 0.2537487745285034, -0.3222212493419647, 0.13957206904888153, -1.2655580043792725, -0.2783239185810089, -0.2711983323097229, -0.2119164615869522, -0.41416844725608826, -0.22760027647018433, -0.22831621766090393, -0.02730593830347061, -0.1993778795003891, 0.37017902731895447, -0.4634445905685425, -0.28569716215133667, -0.7758992314338684, 0.22042976319789886, -0.22847424447536469, 0.427609920501709, -0.23573070764541626, 0.8802895545959473, 0.680072546005249, -0.4647074043750763, 0.36286574602127075, 0.04659547656774521, -0.42421191930770874, 0.6846646666526794, -0.06012116000056267, 0.007145597133785486, -0.24912896752357483, 0.037018414586782455, -0.9047204256057739, -0.068234384059906, 0.5296882390975952, -0.2206043154001236, 0.3524896502494812, -0.146088108420372, -0.2959100604057312, -0.017018482089042664, -0.2850705087184906, 0.35115426778793335, 0.3324766159057617, -0.5250305533409119, 0.9310230016708374, 0.42806699872016907, -0.29223769903182983, -0.5520399212837219, -0.3405330181121826, 0.5316938757896423, -0.16244512796401978, -0.3114583194255829, 0.20678648352622986, -0.1821105033159256, -0.03132316470146179, 0.1589212268590927, -0.0032815695740282536, -0.25205281376838684, 0.43114933371543884, 0.32534030079841614, 0.3272441327571869, -0.18691572546958923, 0.027246417477726936, 0.150424987077713, -0.24079100787639618, -0.11532969027757645, -0.34897738695144653, 0.3161308467388153, 0.6077409982681274, -0.26117241382598877, -0.24560298025608063, 0.3081137537956238, 0.6092463135719299, 0.23152348399162292, 0.8052580952644348, 0.5485507845878601, -0.46804994344711304, -0.39972713589668274, -0.6246863603591919, -0.11803653836250305, -0.4422222375869751, 0.8317000269889832, -0.5531465411186218, -0.9124714136123657, 0.6418303847312927, -0.2548033893108368, -0.2367754429578781, 0.07718224078416824, 0.6354333162307739, 0.10013671964406967, 0.4972720146179199, 0.8328580260276794, -0.41424307227134705, 0.7749900817871094, 0.14125671982765198, 0.1990605741739273, -0.6631777286529541, -0.025064704939723015, -0.5742642879486084, -0.3729536831378937, -0.3767710328102112, -0.8501423001289368, 0.16553455591201782, 0.24809740483760834, 0.20130093395709991, 0.20400087535381317, -0.24703660607337952, 0.8111823797225952, 0.5069340467453003, 0.1167180985212326, 0.3127194941043854, 0.02883666567504406, 0.6437209248542786, 0.22885853052139282, -0.9757267236709595, -0.06004171073436737, 1.3131948709487915, 0.05425094813108444, 0.759684145450592, 0.1203366219997406, 0.8432895541191101, 0.14724323153495789, 0.6177033185958862, -0.537269115447998, 0.5373906493186951, -0.39972877502441406, -0.5498507022857666, -0.45596984028816223, -0.7206318378448486, -1.0608038902282715, 0.33470672369003296, -0.40618062019348145, -0.9607245326042175, 0.3908306658267975, -0.06872469186782837, -0.5547183752059937, 0.3019363284111023, -0.6909490823745728, 0.6428813934326172, -0.12139218300580978, -0.5805914402008057, -0.4320957064628601, 0.07478681951761246, 0.5212509036064148, -0.6926767230033875, 0.39158785343170166, -0.13261541724205017, -0.16940076649188995, 0.8934679627418518, -0.0569012276828289, 1.160990834236145, -0.06705029308795929, -0.134579598903656, 0.20764882862567902, 0.03864111378788948, 0.8803900480270386, -0.2618871033191681, -0.12726494669914246, 0.13970503211021423, 0.08188102394342422, -0.554337739944458, -0.5266127586364746, 0.9299306273460388, -0.9327928423881531, -0.6210092306137085, -0.30928316712379456, -1.0555694103240967, -0.17651152610778809, -0.035667743533849716, -0.2070363312959671, 0.1490381956100464, 0.06237014755606651, 0.027712533250451088, 0.5080744624137878, -0.1601133942604065, 0.47878843545913696, 0.4095389246940613, -0.03611476719379425, -0.49349120259284973, 1.2766001224517822, 0.20353996753692627, 0.07884100079536438, 0.47821909189224243, 0.021218296140432358, -0.04809148237109184, -1.0706466436386108, -0.2584351599216461, 0.08315085619688034, -0.6404094099998474, -0.25712355971336365, -0.18854641914367676, -0.04458880424499512, -0.4907389283180237, -0.050190240144729614, -0.11973772197961807, -0.5310830473899841, -0.5769904851913452, 0.33364337682724, 0.2087079882621765, 0.8982176184654236, -0.3207464814186096, 0.25359976291656494, -0.6150435209274292, 0.38565346598625183, 0.32292306423187256, 0.5821741223335266, 0.21307334303855896, -0.8478235006332397, -0.42212191224098206, -0.4931679368019104, -0.3197193741798401, -0.8595936894416809, 0.058061812072992325, 0.22403113543987274, 0.4526558220386505, 0.18610532581806183, -0.09870301187038422, 0.9101366996765137, -0.4765724837779999, 0.4089854657649994, 0.3979398012161255, -0.9777249693870544, 0.002748339669778943, -0.21598079800605774, 0.020478082820773125, 0.31453678011894226, -0.019560683518648148, -0.2512008845806122, -0.2602764666080475, -0.13300934433937073, -0.6451302766799927, 0.9972590804100037, 0.052533622831106186, 0.25100669264793396, 0.424391508102417, 0.41557228565216064, 0.08729355782270432, 0.14291179180145264, -0.9779465198516846, -0.043837327510118484, -0.02466452494263649, -0.2693246006965637, -0.3411742150783539, -0.4721779227256775, -0.2026093751192093, -0.26054006814956665, 0.6737056374549866, -0.3201051354408264, -0.07425687462091446, -0.14181914925575256, -0.04113588482141495, -0.45181798934936523, 0.12227007001638412, 0.8434775471687317, 0.7322161197662354, 0.07452652603387833, -0.07257788628339767, 0.5873152613639832, -0.5686478018760681, 0.15936234593391418, 0.3664015233516693, -0.1523590087890625, -0.34852734208106995, 0.48274096846580505, 0.6995380520820618, 0.6384817361831665, -0.5768102407455444, 0.356622576713562, 0.17758327722549438, -0.399223268032074, -0.04845162853598595, 0.2466684877872467, 0.2115478366613388, 0.5369289517402649, 0.5004612803459167, 0.11482103168964386, -0.05418764799833298, -0.4801601767539978, 0.16902785003185272, 0.5975877642631531, -0.306833952665329, -0.08751930296421051, 0.5554527640342712, 0.3356865346431732, -0.5231266021728516, 0.036507170647382736, -0.32296162843704224, -0.37442663311958313, 0.6303080320358276, 0.7157692313194275, 1.019681453704834, -0.16393786668777466, 0.0744660347700119, 0.1272713840007782, 0.5133579969406128, 0.02929128147661686, 0.4020138382911682, 0.01818765327334404, -0.7914534211158752, -0.9906914830207825, -0.6408326625823975, -0.22413058578968048, 0.10301454365253448, -0.19767872989177704, -0.011516057886183262, -0.2900099754333496, 0.11581848561763763, -0.12160059064626694, 0.05218307301402092, -0.3139566481113434, -0.1880764663219452, 0.24342283606529236, 0.8063779473304749, -0.7407222390174866, 0.8392876386642456, 0.530674397945404, -0.23404254019260406, -0.7089110612869263, -0.18993695080280304, -0.16917195916175842, -0.6167982220649719, 0.640446662902832, -0.5146815180778503, 0.12891444563865662, 0.013037821277976036, -0.24858596920967102, -1.1210219860076904, 0.9528970122337341, 0.3248264789581299, -0.7716588973999023, 0.22601692378520966, 0.2656843960285187, 0.18739546835422516, -0.30800163745880127, -0.047593001276254654, 0.3710007965564728, 0.3284194767475128, 0.19309042394161224, -1.2014654874801636, 0.06504596024751663, 0.15581876039505005, -0.12476292997598648, 0.2713848650455475, -0.5898433327674866, 0.6307227611541748, -0.20326638221740723, 0.15417416393756866, 0.4058372378349304, 0.39673012495040894, 0.2233109027147293, 0.4179841876029968, 0.7157628536224365, 0.23859256505966187, 0.7171822190284729, -0.23590941727161407, 0.6082074046134949, -0.38232508301734924, 0.4809475541114807, 0.9187905192375183, -0.5136885643005371, 0.69521564245224, 0.8691185712814331, -0.34884732961654663, 0.13961154222488403, 0.3935827612876892, 0.08228451013565063, 0.4506469964981079, 0.5926223993301392, -0.16726522147655487, -0.5609687566757202, 0.041205909103155136, -0.13849614560604095, 0.5598672032356262, 0.0643278956413269, 0.1673751324415207, -0.39552655816078186, 0.2918578088283539, -0.4979313313961029, -0.1451679766178131, -0.5001822710037231, 0.8954073786735535, 0.045960649847984314, -0.7166959643363953, 0.5670211911201477, -0.19552047550678253, 0.6808436512947083, -0.6305405497550964, -0.0725560337305069, -0.13934765756130219, 0.480790913105011, -0.025963561609387398, -0.2592187225818634, 0.22202140092849731, -0.256028950214386, -0.34606465697288513, 0.04953069984912872, 0.9841579794883728, -0.3861996531486511, -0.4757924973964691, 0.36669352650642395, 0.5482586622238159, 0.0525098480284214, -0.0050468165427446365, -1.0172163248062134, 0.4703010320663452, 0.08078595250844955, -0.2535119354724884, 0.8288258910179138, 0.5810251832008362, -0.0031660948880016804, 0.7456401586532593, 0.8775749802589417, 0.44007429480552673, 0.044277895241975784, 0.18271145224571228, 0.812827467918396, -0.7444298267364502, -0.4224894642829895, -0.5872406959533691, 0.2267332375049591, 0.0342622771859169, -0.30111947655677795, 0.6867243051528931, 0.6418008208274841, 0.7010518312454224, -0.25892263650894165, 0.5744327902793884, 0.26375216245651245, 0.007800018880516291, -0.6116138100624084, 0.5699888467788696, -0.67116779088974, 0.40174272656440735, -0.3810614049434662, -0.8546063303947449, -0.3703208863735199, 0.4041282534599304, -0.2980405390262604, -0.06364908814430237, 0.5891002416610718, 0.909061849117279, -0.016178585588932037, -0.20119497179985046, 0.5857046842575073, 0.15531207621097565, 0.03680091351270676, 1.1608315706253052, 0.9629229307174683, -0.6067122220993042, 0.9040182828903198, -0.23602914810180664, -0.5011657476425171, -0.3711492717266083, -0.9198086857795715, -0.8281630277633667, -0.5380697250366211, -0.45077449083328247, -0.5606757402420044, 0.36185309290885925, 0.8016188144683838, 0.7506802082061768, -0.9044331908226013, -0.6022499799728394, 0.11782238632440567, 0.6574187278747559, -0.5983871221542358, -0.2052939087152481, 0.3375154435634613, -0.42482414841651917, -0.9212557077407837, 0.2672436237335205, 0.590245246887207, 0.01860806532204151, -0.21583393216133118, -0.15272392332553864, -0.04398106783628464, 0.259486585855484, 0.6452744007110596, 0.11862551420927048, -0.4244244694709778, -0.320060670375824, -0.27373021841049194, 0.01745377667248249, -0.2133193165063858, 0.8952626585960388, -0.603064775466919, 0.1551682949066162, 0.33502933382987976, 0.8108542561531067, 0.13663332164287567, -0.18170048296451569, 0.2868041396141052, -0.22088757157325745, 0.2654793858528137, 0.09096401929855347, 0.2622438073158264, 0.026783430948853493, -0.3805737793445587, 0.3224743902683258, 0.4731030762195587, -0.5417937636375427, -0.9762383103370667, -0.05591272935271263, -1.2670966386795044, -0.5684942603111267, 1.177001714706421, 0.22927071154117584, -0.49500125646591187, -0.5643008947372437, -0.17455053329467773, -0.04025962948799133, -0.056845810264348984, 1.220970630645752, 0.8399412631988525, 0.03244282677769661, -0.047875650227069855, -0.40862327814102173, 0.43900224566459656, 0.48202571272850037, -0.852508008480072, 0.06398585438728333, 0.19645000994205475, 0.4285224378108978, 0.1345156878232956, 0.7383076548576355, 0.21837788820266724, 0.5747169852256775, 0.13882723450660706, 0.06893160939216614, -0.05934898182749748, -0.210971400141716, -0.5757352709770203, 0.5034626722335815, 0.25638750195503235, -0.37645354866981506 ]
http://arxiv.org/abs/2406.16783v2
http://arxiv.org/pdf/2406.16783v2
M2Lingual: Enhancing Multilingual, Multi-Turn Instruction Alignment in Large Language Models
2024-06-24T16:45:13
2024-06-28T10:14:53
Rishabh Maheshwary, Vikas Yadav, Hoang Nguyen, Khyati Mahajan, Sathwik Tejaswi Madhusudhan
cs.CL
cs.CL, cs.AI, cs.LG
Instruction finetuning (IFT) is critical for aligning Large Language Models (LLMs) to follow instructions. While many effective IFT datasets have been introduced recently, they predominantly focus on high-resource languages like English. To better align LLMs across a broad spectrum of languages and tasks, we propose a fully synthetic, novel taxonomy (Evol) guided Multilingual, Multi-turn instruction finetuning dataset, called M2Lingual. It is constructed by first selecting a diverse set of seed examples and then utilizing the proposed Evol taxonomy to convert these seeds into complex and challenging multi-turn instructions. We demonstrate the effectiveness of M2Lingual by training LLMs of varying sizes and showcasing the enhanced performance across a diverse set of languages. We contribute the 2 step Evol taxonomy with the guided generation code: https://github.com/ServiceNow/M2Lingual, as well as the first fully synthetic, general and task-oriented, multi-turn, multilingual dataset built with Evol - M2Lingual: https://huggingface.co/datasets/ServiceNow-AI/ M2Lingual - containing 182K total IFT pairs, covering 70 languages and 17+ NLP tasks.
[ -0.18448008596897125, -0.6191515922546387, 0.1137690320611, 0.28992679715156555, 0.11773626506328583, 0.21278813481330872, -0.5221672058105469, -0.1847667694091797, 0.053923461586236954, 0.3118576407432556, -0.7366571426391602, -0.5509126782417297, -0.4720940887928009, 0.1435399055480957, -0.17756929993629456, 1.0321815013885498, -0.1160108745098114, 0.3502160906791687, -0.22877702116966248, -0.28790947794914246, -0.5484797954559326, -0.41167378425598145, -0.6944392323493958, -0.27590107917785645, 0.5369485020637512, 0.7422297596931458, 0.4537372887134552, 0.7017176747322083, 0.2931159436702728, 0.3438635766506195, 0.33815431594848633, 0.7518343329429626, -0.3591051995754242, -0.04067615792155266, -0.17866697907447815, -0.3734073042869568, -0.516656219959259, -0.2032102644443512, 0.6115609407424927, 0.609462320804596, -0.37454351782798767, 0.21647535264492035, 0.3022395670413971, 0.5928163528442383, -0.24133709073066711, 0.3183031678199768, -0.3585575520992279, -0.03478769212961197, -0.3189055621623993, -0.19457867741584778, -0.6014041304588318, -0.06156594678759575, -0.08443423360586166, -0.8316075205802917, -0.02449515275657177, 0.13204137980937958, 0.47264665365219116, 0.11377369612455368, -0.5263237357139587, -0.39714181423187256, -0.651639997959137, 0.7854812741279602, -0.7233324646949768, 0.7104609608650208, 0.2053125947713852, 0.3190154731273651, 0.11512813717126846, -0.42409154772758484, -0.5389530062675476, -0.11205562204122543, 0.05355268716812134, 0.12359322607517242, -0.03959045186638832, -0.0035529006272554398, -0.031782183796167374, 0.25064313411712646, -0.7438294291496277, 0.6018407344818115, -0.3237854242324829, -0.2553705871105194, 0.6322823762893677, 0.12736696004867554, 0.27089786529541016, 0.12239730358123779, -0.35227763652801514, -0.13019344210624695, -0.8118770122528076, -0.08272293955087662, 0.5266990661621094, 0.6200069785118103, -0.24081258475780487, 0.8328776955604553, 0.03978256508708, 0.825657069683075, 0.1970807909965515, -0.3547798693180084, 0.22303889691829681, -0.34851643443107605, -0.016640370711684227, 0.1881335824728012, 0.7771576642990112, 0.5044187903404236, 0.15845000743865967, -0.06855009496212006, -0.3175262212753296, -0.17332851886749268, 0.10738630592823029, -0.7813678979873657, -0.0661066472530365, 0.15408773720264435, -0.0098646841943264, -0.1021006777882576, -0.15088064968585968, -0.6802865266799927, -0.23497116565704346, -0.8704954385757446, 0.37189048528671265, -0.7031863927841187, -0.19596894085407257, 0.07159774750471115, 0.43907085061073303, 0.4021992087364197, 0.19038225710391998, -1.1888151168823242, 0.13127629458904266, 1.0626786947250366, 0.767047107219696, -0.14230497181415558, -0.601766049861908, -0.6157034039497375, 0.19588829576969147, -0.3423583507537842, 0.5922609567642212, -0.5703337788581848, -0.053199026733636856, 0.23709474503993988, 0.3035764694213867, -0.1513655185699463, -0.355660080909729, 0.30858319997787476, -0.3362980782985687, 0.6149565577507019, 0.10184101015329361, -0.7232672572135925, -0.19817379117012024, 0.48997002840042114, -0.3934938311576843, 0.993439257144928, -0.020915064960718155, -0.39981719851493835, 0.14215798676013947, -0.6145482659339905, -0.6928772926330566, -0.03725912794470787, -0.4251241087913513, -0.3289008140563965, -0.20552398264408112, 0.12585382163524628, 0.3781997859477997, -0.2459268420934677, 0.18327125906944275, 0.1068020835518837, -0.04293771833181381, -0.09685530513525009, -0.5914876461029053, 0.7788782715797424, 0.07033446431159973, -0.4625231921672821, 0.3056456744670868, -0.7158787250518799, 0.12050911039113998, -0.030736282467842102, -0.3993854522705078, -0.27697789669036865, -0.21921905875205994, 0.11205270141363144, 0.22702881693840027, 0.362377792596817, -0.5111618041992188, 0.6377835273742676, -0.29429784417152405, 0.4001658260822296, 0.8479971289634705, -0.42823854088783264, 0.5230814218521118, -0.0919373631477356, 0.6935297846794128, -0.005926568526774645, 0.13359712064266205, -0.17110206186771393, -0.6054472923278809, -0.7067928314208984, -0.2309865951538086, 0.4055255353450775, 0.8203389644622803, -0.9487946629524231, 0.14749585092067719, -0.4926028847694397, -0.3074708580970764, -0.9189968109130859, 0.2659412920475006, 0.771380603313446, 0.25066161155700684, 0.4020814597606659, 0.1388089507818222, -0.5906824469566345, -0.8923075199127197, 0.0738091841340065, 0.38035115599632263, 0.10343282669782639, 0.06282779574394226, 0.1444419026374817, -0.5758508443832397, 0.38298705220222473, -0.35482102632522583, -0.3918989300727844, -0.14236335456371307, 0.09211810678243637, 0.20078690350055695, 0.6825984716415405, 0.2839883863925934, -0.6304240822792053, -0.7053582072257996, 0.5215610265731812, -0.4620826840400696, 0.06422121077775955, -0.11284845322370529, -0.35819679498672485, 0.441987007856369, 0.4521438777446747, -0.6091318726539612, -0.2903155982494354, 0.8332886695861816, -0.23463867604732513, 0.5411797761917114, -0.4329773783683777, 0.04848629608750343, -1.4041227102279663, -0.23230570554733276, -0.004751725122332573, -0.15331481397151947, -0.606956958770752, 0.2597165107727051, 0.24366828799247742, -0.10529829561710358, -0.36915162205696106, 0.6341572403907776, -0.6789858937263489, -0.045534513890743256, -0.1571027636528015, 0.05252200737595558, -0.01691928692162037, 0.43666741251945496, -0.11949474364519119, 0.9920625686645508, 0.4661288857460022, -0.4553670585155487, 0.3689364194869995, 0.3692389726638794, -0.20250703394412994, 0.6663238406181335, -0.17468945682048798, 0.14425796270370483, 0.04830146208405495, -0.0607057549059391, -0.6974140405654907, -0.34291642904281616, 0.08147064596414566, -0.28709644079208374, 1.0243971347808838, -0.2965588867664337, -0.45196202397346497, -0.17079250514507294, -0.13833065330982208, 0.26986950635910034, 0.364383727312088, -0.6711100935935974, 0.6792495250701904, 0.1686549186706543, -0.058710988610982895, -0.7643861174583435, -0.6126405596733093, 0.09005424380302429, -0.15050232410430908, -0.5106548070907593, 0.418285071849823, -0.1737508922815323, -0.08764131367206573, -0.22996598482131958, -0.16542036831378937, 0.10459496825933456, -0.16596101224422455, -0.09866376966238022, 0.32174503803253174, -0.4872283935546875, 0.10151778906583786, 0.2916344702243805, -0.2912876605987549, -0.2158960998058319, -0.7330216765403748, 0.6569814085960388, -0.1610134243965149, -0.4101518392562866, -0.3763793706893921, 0.5131018161773682, 0.6175063848495483, -0.3701559007167816, 0.801916778087616, 0.8098500370979309, -0.21784603595733643, -0.2633100748062134, -0.3576676845550537, -0.1354992538690567, -0.48401015996932983, 0.41703492403030396, -0.412439227104187, -0.8068832159042358, 0.04692043364048004, 0.10418257117271423, 0.5295584201812744, 0.413562148809433, 0.6312946081161499, -0.27359434962272644, 1.1947439908981323, 0.7039386630058289, -0.0609796904027462, 0.30323702096939087, -0.3099654018878937, 0.2416936755180359, -0.7843197584152222, -0.297402024269104, -0.22779537737369537, -0.3870205581188202, -0.8664650917053223, -0.5664046406745911, 0.1300143599510193, -0.07954000681638718, -0.2437622845172882, 0.294795423746109, -0.5644632577896118, 0.45613551139831543, 0.6574757695198059, -0.04424968361854553, 0.015953304246068, 0.1787339597940445, -0.21343868970870972, -0.13922205567359924, -0.838517427444458, -0.6592195630073547, 1.0780036449432373, -0.0017428586725145578, 0.6102962493896484, 0.3894815742969513, 0.7422040700912476, 0.08596116304397583, 0.3596246838569641, -0.854543924331665, 0.3662651777267456, -0.6900616884231567, -0.46753183007240295, -0.2881469130516052, -0.3416106402873993, -0.9270943999290466, 0.19275932013988495, -0.12544257938861847, -0.37644141912460327, -0.224589541554451, 0.2966655194759369, -0.3115518391132355, 0.15447495877742767, -1.0015146732330322, 0.9734160304069519, -0.7514115571975708, -0.5003538727760315, -0.05443352088332176, -0.5135409832000732, 0.23230202496051788, -0.00718475179746747, 0.4186408519744873, 0.01189110241830349, -0.0959419310092926, 0.5634100437164307, -0.4253126382827759, 0.873076319694519, -0.14002320170402527, -0.4293096661567688, 0.053719766438007355, 0.0573328398168087, 0.5027753710746765, -0.2524043023586273, 0.0033936037216335535, 0.008756594732403755, 0.009413315914571285, -0.40594056248664856, -0.4847414195537567, 0.935706377029419, -0.7680320739746094, -0.5702545046806335, -0.20901648700237274, -0.6616382002830505, -0.3326236307621002, 0.33898788690567017, 0.17924490571022034, 0.6436379551887512, -0.00645191827788949, 0.15512916445732117, 0.6764647364616394, -0.1121242418885231, 0.08454687893390656, 0.6115870475769043, -0.37596020102500916, -0.45056504011154175, 1.3607807159423828, 0.3060179650783539, 0.3714980483055115, 0.6900942921638489, 0.22910767793655396, -0.26173481345176697, -0.4824279546737671, -0.8475905060768127, 0.13174742460250854, -0.5329490303993225, -0.3532507121562958, -0.5851774215698242, -0.09311528503894806, -0.4478795528411865, -0.11632684618234634, -0.37173300981521606, -0.46402445435523987, -0.266917884349823, -0.17754220962524414, 0.4245891869068146, 0.5673238635063171, -0.08799802511930466, 0.3931783437728882, -0.7955904006958008, 0.11778423935174942, 0.29982101917266846, 0.2869330644607544, -0.20426522195339203, -0.5389375686645508, -0.4024222791194916, 0.2893178462982178, -0.31739065051078796, -0.5647757053375244, 0.35967886447906494, 0.646711528301239, 0.5029827952384949, 0.42571336030960083, -0.3505249321460724, 0.7423681020736694, -1.0250910520553589, 0.47936704754829407, 0.26437345147132874, -0.6593638062477112, 0.1129610538482666, -0.37423625588417053, 0.24211551249027252, 0.3032641112804413, 0.568257749080658, -0.7076473832130432, -0.13659194111824036, -0.3034926950931549, -0.9313413500785828, 0.6606888771057129, -0.07693894952535629, 0.25615137815475464, 0.08867628872394562, 0.21337071061134338, 0.46978694200515747, 0.16844125092029572, -0.5714582204818726, -0.3154876232147217, -0.1325649470090866, -0.8414010405540466, -0.3097202479839325, -0.32441410422325134, -0.3317653238773346, -0.1586150825023651, 0.9304072856903076, -0.4329395294189453, 0.2564297914505005, -0.3948608934879303, -0.14781856536865234, 0.17098353803157806, 0.25401660799980164, 0.8928893804550171, 0.4862918555736542, 0.17227965593338013, 0.1496124267578125, -0.10029692947864532, -0.372341513633728, 0.22925449907779694, 0.3304470479488373, -0.0665910616517067, -0.2505403459072113, 0.503290593624115, 0.7012240290641785, 0.4842545688152313, -0.5952707529067993, 0.2900982201099396, 0.1762833297252655, -0.10712907463312149, -0.2533704936504364, -0.08947032690048218, 0.30161380767822266, 0.3815481662750244, 0.08116074651479721, -0.08196776360273361, -0.06867625564336777, -0.4650399684906006, 0.2203589230775833, 0.3923431634902954, -0.1860479712486267, -0.441007524728775, 0.5042629241943359, 0.26459965109825134, -0.4574384093284607, 0.7580879330635071, -0.3233564496040344, -0.4657198190689087, 0.3517647087574005, 0.8104647994041443, 0.6977701187133789, -0.4385300278663635, 0.14750483632087708, 0.4868850111961365, 0.5220898985862732, 0.18279869854450226, 0.359086275100708, 0.1457139551639557, -0.7250807285308838, -0.5898044109344482, -0.5580676794052124, -0.33903902769088745, -0.0668637827038765, -0.5011110305786133, 0.2639233469963074, -0.17417562007904053, 0.12420734018087387, 0.019380902871489525, -0.1316898912191391, -0.6149230003356934, 0.0013990419683977962, 0.4323624074459076, 0.7689374685287476, -0.8469879627227783, 0.9383606314659119, 0.8528171181678772, -0.29367876052856445, -0.7972290515899658, -0.2530484199523926, 0.3250097334384918, -0.9319120049476624, 0.4658624529838562, 0.353213906288147, -0.05595248565077782, 0.11228151619434357, -0.2773371636867523, -0.7719273567199707, 1.0424787998199463, 0.3585187792778015, -0.903454601764679, -0.12700213491916656, 0.39389604330062866, 0.4666082262992859, -0.5224140286445618, 0.010353137739002705, 0.4671073257923126, 0.5423039793968201, -0.04201836884021759, -0.6706945300102234, -0.33947041630744934, -0.17526434361934662, -0.1675087958574295, 0.44275927543640137, -0.6581435799598694, 0.5989282131195068, -0.19164258241653442, -0.03262686729431152, 0.02463199384510517, 0.6968345642089844, 0.23915113508701324, 0.3029652535915375, 0.2631884217262268, 0.5960336327552795, 0.8564184308052063, -0.2608478367328644, 0.9018669128417969, -0.3666408658027649, 0.12531280517578125, 1.3788949251174927, -0.19210204482078552, 0.7808724641799927, 0.5145757794380188, -0.0922173485159874, 0.2226959615945816, 0.7328822612762451, 0.12867380678653717, 0.40872716903686523, -0.06292764842510223, -0.14003190398216248, -0.10447096079587936, 0.08513296395540237, -0.22472108900547028, 0.49735385179519653, 0.42188113927841187, -0.055036760866642, 0.05313841253519058, 0.30246126651763916, 0.24585410952568054, 0.057830002158880234, -0.34241190552711487, 0.7617107629776001, -0.06623745709657669, -0.618599534034729, 0.6335744261741638, -0.0025218497030436993, 0.84520024061203, -0.6377677321434021, -0.10887496918439865, -0.39836740493774414, 0.3301667273044586, -0.3660023510456085, -0.7976157069206238, 0.10258352756500244, 0.07620576024055481, -0.11597763746976852, -0.3857335150241852, 0.11722944676876068, -1.03070867061615, -0.6690537929534912, 0.13858066499233246, 0.33079755306243896, -0.03115326352417469, 0.3728680908679962, -0.7921260595321655, -0.15137958526611328, 0.36779141426086426, -0.055482301861047745, 0.3620012700557709, 0.6263749003410339, -0.1323796808719635, 0.6553893089294434, 0.6304914355278015, -0.19488215446472168, 0.44114574790000916, 0.06358036398887634, 0.5278592705726624, -0.2836289405822754, -0.17865049839019775, -0.674384593963623, 0.667087197303772, 0.05843384936451912, -0.3809240758419037, 0.9720377922058105, 0.8529603481292725, 1.1273469924926758, -0.20556651055812836, 0.4763718247413635, -0.07995908707380295, 0.24883514642715454, -0.7639414072036743, 0.49845239520072937, -0.6693599820137024, -0.01080545037984848, 0.10009882599115372, -1.0314339399337769, -0.08593697845935822, 0.3296296298503876, -0.20025920867919922, -0.04811834171414375, 0.43433600664138794, 0.8180983662605286, -0.3674785792827606, -0.14090238511562347, 0.3646666705608368, 0.17657944560050964, 0.362100750207901, 0.211750790476799, 0.6483876705169678, -0.2876943051815033, 0.4058184325695038, -0.4646941125392914, -0.2429831475019455, -0.1986064463853836, -0.75181645154953, -0.5432000756263733, -0.756037175655365, -0.32776719331741333, -0.07814091444015503, 0.0068693263456225395, 1.2454702854156494, 0.6224195957183838, -0.9475589394569397, -0.41203656792640686, 0.09094611555337906, -0.0838666707277298, -0.5276326537132263, -0.19754289090633392, 0.330218642950058, -0.5106195211410522, -0.8222463726997375, 0.5961064696311951, 0.20452235639095306, 0.08548028022050858, -0.275407075881958, -0.2122114598751068, -0.42030736804008484, -0.12725935876369476, 0.9126594662666321, 0.265106201171875, -0.6584571599960327, -0.10961635410785675, 0.1414562314748764, -0.10603936016559601, 0.060637667775154114, 0.6602304577827454, -0.07840517908334732, 0.6600309014320374, 0.10122962296009064, 0.8955378532409668, 0.27356740832328796, -0.26580917835235596, 0.689331591129303, -0.9483230710029602, 0.2291746437549591, 0.13466088473796844, 0.3711177408695221, 0.5079501271247864, -0.31292903423309326, 0.5101271867752075, -0.15211006999015808, -0.5313195586204529, -0.6109949350357056, 0.11540429294109344, -0.7733657360076904, 0.042220354080200195, 1.2680609226226807, 0.013493099249899387, -0.12042141705751419, 0.31901881098747253, -0.43690943717956543, 0.3027174770832062, -0.17156527936458588, 0.5358535051345825, 0.6910156011581421, -0.01527758501470089, -0.1935478299856186, -0.6469732522964478, 0.2870975434780121, 0.31849634647369385, -0.7376067638397217, 0.15202002227306366, 0.6183257102966309, 0.1488402634859085, 0.13282501697540283, 0.04637424647808075, 0.04675043746829033, 0.13506783545017242, -0.2722337543964386, 0.27735862135887146, -0.25093114376068115, -0.43904560804367065, -0.28322792053222656, -0.21708229184150696, 0.09554436057806015, -0.23817674815654755 ]
http://arxiv.org/abs/2406.16779v1
http://arxiv.org/pdf/2406.16779v1
It Is Not About What You Say, It Is About How You Say It: A Surprisingly Simple Approach for Improving Reading Comprehension
2024-06-24T16:43:11
2024-06-24T16:43:11
Sagi Shaier, Lawrence E Hunter, Katharina von der Wense
cs.CL
cs.CL
Natural language processing has seen rapid progress over the past decade. Due to the speed of developments, some practices get established without proper evaluation. Considering one such case and focusing on reading comprehension, we ask our first research question: 1) How does the order of inputs -- i.e., question and context -- affect model performance? Additionally, given recent advancements in input emphasis, we ask a second research question: 2) Does emphasizing either the question, the context, or both enhance performance? Experimenting with 9 large language models across 3 datasets, we find that presenting the context before the question improves model performance, with an accuracy increase of up to $31\%$. Furthermore, emphasizing the context yields superior results compared to question emphasis, and in general, emphasizing parts of the input is particularly effective for addressing questions that models lack the parametric knowledge to answer. Experimenting with both prompt-based and attention-based emphasis methods, we additionally find that the best method is surprisingly simple: it only requires concatenating a few tokens to the input and results in an accuracy improvement of up to $36\%$, allowing smaller models to outperform their significantly larger counterparts.
[ -0.43885597586631775, -1.1004741191864014, 0.7599398493766785, 0.2632659673690796, -0.44334685802459717, -0.12941478192806244, -0.22555822134017944, -0.6099666953086853, -0.37170547246932983, 0.38694220781326294, -0.25486746430397034, -0.16381053626537323, -0.5669057965278625, 0.35205191373825073, -0.3521047532558441, 0.6817713379859924, 0.27261048555374146, 0.24645835161209106, -0.3024044334888458, -0.28616762161254883, -0.5785320997238159, -0.38963207602500916, -0.808688223361969, -0.376768559217453, 0.6255236864089966, 0.477929949760437, 0.6102893352508545, 0.9210389852523804, 0.515805184841156, 0.3337256610393524, -0.5236726999282837, 0.12198604643344879, -0.2813161015510559, 0.21525099873542786, -0.15591491758823395, -0.5340999364852905, 0.08339697122573853, -0.19833840429782867, 0.5482314825057983, 1.0318282842636108, 0.04135556519031525, 0.10831539332866669, 0.21867744624614716, 0.6230184435844421, -0.7030436992645264, 0.006670593749731779, -0.19710320234298706, -0.272390753030777, 0.004164063837379217, -0.5382845997810364, -0.6022889018058777, -0.036400698125362396, 0.5819467902183533, -0.37750333547592163, 0.16186228394508362, 0.1602112054824829, 0.7029401063919067, 0.37625980377197266, -0.5937807559967041, -0.2762903869152069, -0.7021948099136353, 0.7618390917778015, -0.7439276576042175, 0.5111779570579529, 0.6094048619270325, 0.07731367647647858, 0.2777765393257141, -0.6876415014266968, -0.4287835657596588, -0.08687825500965118, -0.23970669507980347, 0.03724648803472519, 0.12303988635540009, 0.20645394921302795, 0.43055203557014465, 0.3379017114639282, -0.5311440825462341, -0.29188868403434753, -0.4729222357273102, 0.0846988707780838, 0.4461863040924072, -0.021928349509835243, 0.38412073254585266, -0.22484764456748962, -0.15082450211048126, -0.13444159924983978, -0.24556848406791687, 0.6155503988265991, 0.03173345699906349, 0.47587278485298157, 0.22422735393047333, 0.7488168478012085, -0.501956045627594, 0.8929356336593628, 0.26735711097717285, -0.07427829504013062, -0.08421265333890915, -0.7029373645782471, -0.31439724564552307, -0.15258485078811646, 0.32588890194892883, 0.5077167749404907, 0.24094730615615845, -0.21514685451984406, -0.007864653132855892, -0.21455898880958557, 0.3315138518810272, -0.603219747543335, -0.08376371115446091, 0.27167850732803345, -0.15136733651161194, -0.05331919342279434, -0.021280638873577118, -0.5704894065856934, -0.3976237177848816, -0.3913155496120453, 0.38892555236816406, -0.32231637835502625, 0.20765972137451172, 0.13758517801761627, -0.23352950811386108, 0.585207998752594, 0.3105754256248474, -1.1687742471694946, 0.4314897358417511, 0.7089592218399048, 0.532627284526825, -0.04377412796020508, -0.18147747218608856, -0.5634357333183289, -0.04965374991297722, -0.29393908381462097, 1.036283016204834, -0.6404256820678711, -0.3310602605342865, -0.08541179448366165, -0.042340170592069626, -0.28692540526390076, -0.4257633686065674, 0.6698275208473206, -0.7946143746376038, 0.42381811141967773, -0.5135827660560608, -0.7533334493637085, -0.26278266310691833, 0.18724416196346283, -0.6268337965011597, 1.2174431085586548, -0.2919650673866272, -0.801998496055603, 0.4290856719017029, -0.5688080191612244, -0.7461274266242981, -0.1878986358642578, 0.19896157085895538, 0.1081971526145935, 0.18677476048469543, 0.6290732026100159, 0.18933571875095367, -0.11393275856971741, 0.04815806448459625, -0.062248487025499344, -0.5979273319244385, 0.4835900068283081, -0.4263606071472168, 0.4951257109642029, -0.07463198155164719, -0.27522188425064087, -0.05459481105208397, -0.48572593927383423, 0.2606232762336731, -0.11328428238630295, -0.47223594784736633, -0.4394163489341736, -0.13196614384651184, -0.04129313305020332, -0.06746157258749008, 0.03471275791525841, -0.440880686044693, -0.0855119377374649, -0.962547242641449, 0.4879569113254547, 0.23072178661823273, 0.2578241229057312, 0.9939541220664978, -0.3122818171977997, 0.5548362135887146, -0.22015538811683655, 0.08725698292255402, -0.4754449427127838, -0.42662864923477173, -0.7447682619094849, 0.24740912020206451, 0.556537926197052, 0.5918810367584229, -0.6668843626976013, 0.03707820177078247, 0.2406005859375, -0.2399560809135437, -0.472517192363739, 0.1086927056312561, 0.43769532442092896, 0.9510217905044556, 0.4923483729362488, -0.17743128538131714, -0.3179647624492645, -0.765495777130127, -0.5376465320587158, -0.3934161067008972, 0.13855282962322235, 0.19246749579906464, 0.10261750966310501, 0.4044469892978668, 0.8239249587059021, -0.6760132312774658, 0.37240248918533325, -0.5750890970230103, 0.2471081167459488, 0.04263025522232056, 0.28084635734558105, 0.18116791546344757, -0.7419956922531128, -0.4784587323665619, -0.200275719165802, -0.299545556306839, -0.08383092284202576, 0.14619648456573486, -0.27837952971458435, 0.13644015789031982, 0.5018121004104614, -0.5487481951713562, 0.28140994906425476, 0.09420160949230194, -0.3532508611679077, 0.4000552296638489, -0.18262389302253723, 0.1537405550479889, -0.7887334823608398, 0.1603468507528305, 0.06629987061023712, -0.1660723239183426, -1.0046802759170532, 0.24306079745292664, 0.230690136551857, -0.04607898369431496, -0.5671809911727905, 0.8487285375595093, -0.29073426127433777, 0.24971206486225128, -0.2782595157623291, 0.10111076384782791, 0.3735796809196472, 0.5096887350082397, -0.05402039363980293, 0.788711428642273, 0.5054507851600647, -0.690413773059845, -0.1836596131324768, 0.18542158603668213, -0.3940093517303467, 0.6400187611579895, -0.8657445907592773, 0.3716316521167755, -0.38595953583717346, 0.07078580558300018, -1.341729998588562, -0.19244028627872467, 0.2550084590911865, -0.5227611064910889, 0.43860217928886414, -0.04453559219837189, -0.3278966248035431, -0.27459806203842163, -0.08554744720458984, 0.380039244890213, 0.39816781878471375, -0.37939876317977905, 0.5212985873222351, 0.07383757084608078, -0.38556259870529175, -0.7117205262184143, -0.9657915830612183, -0.16197167336940765, -0.2660822570323944, -0.6501628756523132, 0.2292351871728897, -0.2687700688838959, -0.4018075466156006, -0.24218840897083282, -0.29721352458000183, -0.699426531791687, 0.3402774930000305, -0.15945273637771606, 0.0776357501745224, -0.3418761193752289, 0.5041428804397583, 0.12766897678375244, -0.005170063115656376, -0.0505121648311615, 0.0435430146753788, 0.3363867402076721, 0.0698566883802414, 0.07969405502080917, -0.5298059582710266, 0.436147004365921, 0.3873915672302246, -0.3943753242492676, 0.621992290019989, 0.1465136557817459, -0.07646685093641281, -0.388801634311676, -0.4678155183792114, -0.5771727561950684, -0.4754878282546997, 0.2814430892467499, -0.24530377984046936, -0.753862202167511, 0.14784003794193268, 0.28972992300987244, 0.16112132370471954, 0.04387884959578514, 0.25028035044670105, -0.616396963596344, 1.2364959716796875, 0.6956868171691895, 0.22309553623199463, 0.6190869808197021, 0.005708919372409582, 0.3606712222099304, -0.8151566982269287, 0.09679525345563889, -0.5674031972885132, -0.2857891023159027, -0.024234017357230186, -0.5132347941398621, 0.07002414762973785, 0.2495986521244049, 0.21268564462661743, 0.14126059412956238, -0.36946436762809753, 0.6797771453857422, 0.4950127601623535, 0.17468658089637756, 0.5661332011222839, -0.07881933450698853, -0.0604727640748024, -0.07051343470811844, -0.595659613609314, -0.7043064832687378, 1.0064860582351685, 0.3345588445663452, 0.4656563401222229, -0.080551877617836, 0.4596235454082489, -0.04311946779489517, 0.18130844831466675, -0.9797242879867554, 0.37027594447135925, 0.23557546734809875, -0.8460811972618103, -0.700984537601471, -0.11915300786495209, -1.1218947172164917, 0.6379420161247253, 0.060354702174663544, -0.6031661629676819, 0.2886006236076355, 0.2918224632740021, -0.883262574672699, -0.3032147288322449, -0.9870873093605042, 0.7643447518348694, -0.1183047741651535, -0.41670793294906616, 0.05721276253461838, -0.6995000839233398, 0.1982627660036087, 0.34314021468162537, 0.15209853649139404, -0.04085201025009155, -0.09897998720407486, 0.6348670125007629, -0.3507287800312042, 0.5779476761817932, -0.09890711307525635, 0.17237664759159088, 0.5083016753196716, -0.24865618348121643, 0.2135826051235199, 0.08943364024162292, -0.26509734988212585, -0.4913078844547272, 0.2546994090080261, -0.46747079491615295, -1.1104077100753784, 0.0950830802321434, -0.4366569221019745, -0.6340503096580505, -0.23481450974941254, -0.667810320854187, -0.521669864654541, 0.19396890699863434, 0.17912815511226654, 0.8198935389518738, -0.23359447717666626, 0.22900564968585968, 0.9478914141654968, 0.1418272852897644, 0.6325175166130066, 0.43968015909194946, 0.03239443898200989, -0.1570804864168167, 0.46688151359558105, 0.2889151871204376, 0.3563495874404907, 0.55605149269104, 0.2855047285556793, -0.6712983250617981, -0.4050788879394531, -0.5670087933540344, 0.5383227467536926, -0.9617108702659607, 0.19940179586410522, -0.9883750677108765, 0.09772161394357681, -0.5573052167892456, -0.1037149652838707, -0.018362492322921753, -0.45938706398010254, -0.34519198536872864, -0.21020996570587158, 0.2170325070619583, 0.5964787006378174, 0.34991928935050964, 0.5051303505897522, -0.363496333360672, 0.22129902243614197, 0.5285665392875671, 0.08722510933876038, 0.1927533894777298, -0.6426747441291809, -0.1553647220134735, -0.12116194516420364, -0.3452913165092468, -0.978945255279541, 0.23906804621219635, -0.02343055233359337, 0.534609317779541, 0.1479724496603012, 0.1448799967765808, 0.65358966588974, -0.42216113209724426, 0.6901425123214722, -0.3079150915145874, -0.9067602157592773, 0.4115361273288727, -0.03845422342419624, 0.7756808996200562, 1.1720001697540283, 0.10110867023468018, -0.5565806031227112, -0.46705201268196106, -0.5324133038520813, -0.7741996049880981, 0.7770699858665466, -0.014879235997796059, 0.2181115746498108, 0.06116824597120285, 0.3679658770561218, -0.1189902052283287, 0.1974320411682129, -0.5022250413894653, -0.3058955669403076, 0.08297812938690186, -0.21667233109474182, -0.20808513462543488, -0.2967536747455597, -0.13032294809818268, -0.46825820207595825, 0.5481262803077698, -0.2442716807126999, 0.24396702647209167, 0.5428257584571838, -0.3837704360485077, 0.16457633674144745, 0.39798256754875183, 0.7083683013916016, 0.8857118487358093, 0.0035210284404456615, 0.3769038915634155, 0.34288349747657776, -0.2624285817146301, -0.07491515576839447, 0.05520452931523323, -0.43151968717575073, -0.003555540693923831, 0.48932793736457825, 0.7447993159294128, 0.5736123919487, -0.6099224090576172, 0.33862754702568054, -0.16777276992797852, -0.11823001503944397, 0.3945469558238983, 0.10540152341127396, 0.3397274315357208, 0.21015521883964539, 0.31502634286880493, -0.1406070739030838, 0.42964404821395874, -0.6786355376243591, 0.1308007836341858, 0.07673133909702301, -0.4374842047691345, -0.15322798490524292, 0.36763888597488403, 0.3177715539932251, -0.3090624213218689, 0.2966941297054291, 0.08677442371845245, -0.5111425518989563, 0.7846575975418091, 0.48030152916908264, 0.6700762510299683, -0.22449252009391785, 0.33754026889801025, 0.48736220598220825, 0.2746690511703491, -0.18180036544799805, 0.6300365924835205, -0.6455069184303284, -0.543864905834198, -0.5773522257804871, -0.4713360667228699, -0.45680633187294006, -0.21067363023757935, -0.7446048259735107, 0.07428131252527237, -0.4203017055988312, -0.24086830019950867, 0.08823157846927643, 0.19148823618888855, -0.44817307591438293, 0.4503135681152344, -0.00970588717609644, 0.9747132658958435, -0.7134233713150024, 0.564663827419281, 0.8469895124435425, -0.3059367537498474, -1.0282758474349976, 0.35523664951324463, -0.4213689863681793, -0.4647243320941925, 0.10885011404752731, 0.33523494005203247, 0.24905304610729218, 0.2902146577835083, -0.5276924967765808, -1.228103756904602, 0.6875689625740051, -0.03896024078130722, -0.2775293290615082, -0.14529433846473694, -0.0403096079826355, 0.7151861190795898, -0.024786513298749924, 0.49753597378730774, 0.7443959712982178, 0.7139783501625061, 0.19933626055717468, -0.6479359269142151, -0.17478597164154053, -0.26057833433151245, -0.007150853984057903, -0.03572101891040802, -0.4879434108734131, 0.4519711136817932, -0.3514351546764374, -0.4862728714942932, 0.09744696319103241, 0.8028776049613953, 0.05412199720740318, 0.5800358057022095, 0.43293753266334534, 0.28707581758499146, 1.0605030059814453, -0.10426825284957886, 1.4820356369018555, -0.06082319840788841, 0.054459016770124435, 1.1577098369598389, -0.12423316389322281, 0.7537364959716797, 0.6237375140190125, -0.0671670213341713, 0.2802574932575226, 0.8636259436607361, 0.33509644865989685, 0.697756290435791, -0.0690155029296875, 0.057977620512247086, -0.10434988886117935, -0.14772875607013702, -0.14928723871707916, 0.1473723202943802, 0.015270669013261795, -0.40478935837745667, -0.1768263727426529, 0.2257273644208908, -0.17257513105869293, 0.30613675713539124, -0.09349500387907028, 0.8986991047859192, 0.11391183733940125, -1.1361688375473022, 0.4911838173866272, 0.08201515674591064, 0.3804195821285248, -0.29492613673210144, 0.2153310626745224, -0.36641743779182434, -0.08740043640136719, 0.11142880469560623, -0.8189228773117065, 0.23721137642860413, -0.00112304522190243, -0.6275331974029541, -0.19651877880096436, 0.37556278705596924, -0.5299112200737, -0.5648155808448792, 0.030167026445269585, 0.47465044260025024, 0.030293932184576988, 0.0134437782689929, -0.6099459528923035, 0.06800893694162369, -0.3148888945579529, -0.35912585258483887, -0.10767752677202225, 0.2907792329788208, 0.036155056208372116, 0.4345567524433136, 0.5173455476760864, -0.1811407208442688, 0.23890598118305206, 0.21113544702529907, 0.518819272518158, -0.6963419318199158, -0.537090539932251, -0.7205644845962524, 0.7000283598899841, -0.14737148582935333, -0.6252579689025879, 0.7520049214363098, 0.1387789398431778, 0.5461187958717346, 0.18346527218818665, 0.4751608073711395, 0.1795041859149933, 0.6412009596824646, -0.36841922998428345, 0.3450210690498352, -0.5068214535713196, -0.04340134561061859, -0.272006094455719, -0.9537628293037415, -0.4558194577693939, 0.4094017446041107, -0.6701589822769165, 0.07536181062459946, 1.1084574460983276, 0.671014130115509, 0.24219487607479095, 0.30291926860809326, 0.4628280699253082, 0.04939541593194008, -0.032488543540239334, 0.24286331236362457, 0.9635799527168274, -0.46160855889320374, 0.3408869206905365, -0.4808179438114166, -0.10134612768888474, -0.16382746398448944, -0.4081740081310272, -0.7916976809501648, -0.2770995497703552, -0.24499119818210602, -0.10379892587661743, 0.11561413109302521, 0.5159279108047485, 0.7479482889175415, -0.616306722164154, -0.17487037181854248, -0.03292027860879898, 0.404742032289505, -0.35403871536254883, -0.1708659529685974, 0.1927819550037384, -0.5415353178977966, -1.0235469341278076, 0.5475279092788696, 0.19867102801799774, -0.11706282198429108, -0.018087133765220642, 0.1153302937746048, -0.41531628370285034, 0.5457838773727417, 0.5592415928840637, 0.32315537333488464, -0.7356624007225037, -0.15474833548069, 0.35689476132392883, -0.5204260349273682, 0.25226953625679016, 0.7391543984413147, -0.5309967994689941, 0.745475709438324, 0.8106414675712585, 0.9206934571266174, 0.36131376028060913, 0.6455148458480835, 0.5960620641708374, -0.4636235535144806, -0.1263975203037262, 0.21132688224315643, 0.12660466134548187, 0.4161253571510315, -0.578188955783844, 0.3765571713447571, -0.10201521962881088, -0.5269365906715393, -0.867642879486084, -0.11206202954053879, -0.9732716083526611, -0.4585682451725006, 0.9309235215187073, 0.302253395318985, -0.4375225901603699, -0.38014376163482666, -0.47200527787208557, 0.1458592563867569, -0.3435811698436737, 0.5276907682418823, 1.0450373888015747, -0.27874040603637695, -0.32135194540023804, -0.5891976356506348, 0.4537756145000458, 1.1802723407745361, -0.5109912157058716, 0.04863997548818588, 0.2526179552078247, 0.09815289825201035, 0.0769212543964386, 0.5972806215286255, 0.04158928990364075, 0.5114460587501526, -0.37412360310554504, -0.3371579647064209, 0.2550909221172333, -0.42674970626831055, -0.6729124188423157, 0.42941761016845703, 0.1707327961921692, 0.03908409923315048 ]
http://arxiv.org/abs/2406.16778v1
http://arxiv.org/pdf/2406.16778v1
Finding Transformer Circuits with Edge Pruning
2024-06-24T16:40:54
2024-06-24T16:40:54
Adithya Bhaskar, Alexander Wettig, Dan Friedman, Danqi Chen
cs.CL
cs.CL
The path to interpreting a language model often proceeds via analysis of circuits -- sparse computational subgraphs of the model that capture specific aspects of its behavior. Recent work has automated the task of discovering circuits. Yet, these methods have practical limitations, as they rely either on inefficient search algorithms or inaccurate approximations. In this paper, we frame automated circuit discovery as an optimization problem and propose *Edge Pruning* as an effective and scalable solution. Edge Pruning leverages gradient-based pruning techniques, but instead of removing neurons or components, it prunes the \emph{edges} between components. Our method finds circuits in GPT-2 that use less than half the number of edges compared to circuits found by previous methods while being equally faithful to the full model predictions on standard circuit-finding tasks. Edge Pruning is efficient even with as many as 100K examples, outperforming previous methods in speed and producing substantially better circuits. It also perfectly recovers the ground-truth circuits in two models compiled with Tracr. Thanks to its efficiency, we scale Edge Pruning to CodeLlama-13B, a model over 100x the scale that prior methods operate on. We use this setting for a case study comparing the mechanisms behind instruction prompting and in-context learning. We find two circuits with more than 99.96% sparsity that match the performance of the full model and reveal that the mechanisms in the two settings overlap substantially. Our case study shows that Edge Pruning is a practical and scalable tool for interpretability and sheds light on behaviors that only emerge in large models.
[ -0.6509225964546204, -0.8984328508377075, 0.7265783548355103, 0.015298551879823208, -0.14540201425552368, -0.11797071993350983, -0.21149319410324097, 0.059550583362579346, -0.06023254618048668, 0.276195764541626, -0.9626246690750122, -0.2506967782974243, -0.45192259550094604, -0.30984166264533997, -0.4830562472343445, 0.6967746615409851, -0.023195717483758926, -0.2693047523498535, 0.0060021295212209225, 0.05888601019978523, -0.444161593914032, -0.26747891306877136, -0.5759016871452332, -0.6340419054031372, 0.23783467710018158, 0.46870189905166626, 0.7953296899795532, 0.7195085287094116, 0.517915666103363, 0.2914566695690155, -0.39644989371299744, 0.15446701645851135, -0.3512350618839264, -0.00852188840508461, 0.024684546515345573, -0.3079076111316681, -0.1518968939781189, -0.09256330132484436, 0.40690529346466064, 0.7543801665306091, -0.12767833471298218, 0.1313941329717636, 0.03924696892499924, 0.7371625900268555, -0.43399083614349365, -0.07687290757894516, -0.5578501224517822, 0.11694701015949249, -0.22466841340065002, -0.30456143617630005, -0.6220197677612305, -0.3116018772125244, -0.07438348233699799, -0.5235048532485962, 0.48951786756515503, -0.22225120663642883, 1.0650635957717896, 0.34163668751716614, -0.42162179946899414, -0.32576143741607666, -1.0287610292434692, 0.5485360622406006, -0.20899055898189545, 0.6121097803115845, 0.1935332715511322, 0.409712016582489, -0.157158762216568, -1.1356807947158813, -0.3756559193134308, -0.13946734368801117, -0.1816214919090271, 0.03415174409747124, -0.49938467144966125, 0.34261348843574524, 0.5900434255599976, 0.3864079415798187, -0.517342746257782, -0.10523217171430588, -0.5226622819900513, -0.38047337532043457, 0.20858268439769745, -0.023865560069680214, 0.5539600253105164, -0.037671662867069244, -0.15671198070049286, -0.33197417855262756, -1.0181429386138916, 0.26932933926582336, 0.6426516771316528, 0.05014936625957489, 0.47780588269233704, 0.26600584387779236, 0.22716976702213287, 0.7460501194000244, -0.03694051504135132, -0.00851047970354557, -0.021358052268624306, -0.2044427990913391, 0.015849675983190536, -0.25115954875946045, 0.47967684268951416, 0.359667032957077, 0.5483613014221191, -0.006644861772656441, -0.3620470464229584, 0.03734489530324936, 0.49973198771476746, -0.7857092618942261, -0.7945343852043152, -0.17181159555912018, -0.49631357192993164, 0.08215700089931488, 0.06456039845943451, -0.6110706329345703, 0.0661381408572197, -0.32633277773857117, 0.43841683864593506, -0.4930030405521393, -0.2336210310459137, -0.2306707203388214, -0.4108096659183502, 0.21921303868293762, -0.02126265875995159, -0.9327111840248108, 0.5914978384971619, 0.6966005563735962, 1.066044569015503, 0.16215915977954865, 0.03139891102910042, -0.6313385367393494, -0.33200690150260925, -0.43782752752304077, 0.6859241127967834, -0.6531146764755249, -0.6062580347061157, -0.17366255819797516, 0.09540409594774246, -0.23323751986026764, -0.6655559539794922, 0.9039915204048157, -0.5872058868408203, -0.2895174026489258, -0.36001285910606384, -0.2975876033306122, -0.1602596789598465, -0.16548354923725128, -0.8637129068374634, 1.0411765575408936, 0.09998985379934311, -0.5417383909225464, 0.06502979248762131, -0.5629124045372009, -0.6928268671035767, -0.09242270886898041, -0.11405551433563232, -0.595051109790802, 0.3499037027359009, 0.47377026081085205, 0.015165246091783047, -0.04006456211209297, 0.3872165381908417, 0.10380325466394424, -0.6482444405555725, -0.1982467770576477, -0.5258241295814514, 0.825404703617096, 0.1130111888051033, -0.4946965277194977, 0.1717834621667862, -0.3723788857460022, 0.08617757260799408, 0.12847380340099335, 0.22856242954730988, -0.234638974070549, 0.10283667594194412, -0.02670346386730671, 0.28912991285324097, -0.1838783323764801, -0.4257223606109619, 0.08913347125053406, -0.5630784034729004, 0.9038198590278625, 0.8822939395904541, 0.15291538834571838, 0.5260012149810791, -0.22035442292690277, 0.47856462001800537, -0.23451274633407593, 0.34551510214805603, -0.4608384668827057, -0.3841151297092438, -0.9953267574310303, 0.130438894033432, 0.113156259059906, 0.31255409121513367, -0.5885865688323975, 0.47132667899131775, -0.1743757128715515, -0.4733778238296509, -0.45411476492881775, -0.09577528387308121, 0.15426495671272278, 0.5697884559631348, 0.6018387675285339, -0.21391336619853973, -0.20382745563983917, -1.1994150876998901, -0.35781484842300415, 0.10073456913232803, -0.3208545744419098, 0.2845691740512848, 0.4276078939437866, -0.18365278840065002, 1.1191867589950562, -0.5855249762535095, -0.2643570601940155, -0.3801754117012024, 0.13322514295578003, 0.1767105609178543, 0.5809226632118225, 0.1751735508441925, -0.9079530239105225, -0.39563801884651184, 0.040215589106082916, -0.3295387327671051, -0.01773379184305668, -0.20628167688846588, 0.1533990502357483, -0.42317280173301697, 0.49236905574798584, -0.4386691749095917, 0.6415531635284424, 0.09844610095024109, 0.2597540318965912, 0.18198277056217194, -0.17614486813545227, -0.2321234494447708, -0.4355737864971161, -0.0427023209631443, 0.24089933931827545, -0.031104065477848053, -0.7989004850387573, 0.06844404339790344, 0.3523179292678833, -0.1942739635705948, -0.14177356660366058, 0.3909778892993927, -0.5510942339897156, -0.06950149685144424, -0.33282241225242615, 0.050915226340293884, 0.055626459419727325, 0.7902514338493347, 0.08062829077243805, 0.8941673040390015, 0.4333912432193756, -0.5260331034660339, 0.0029982971027493477, 0.051542989909648895, -0.08732674270868301, 0.23678867518901825, -0.8047823309898376, 0.31318673491477966, -0.2132219821214676, 0.31538113951683044, -0.6724740266799927, 0.01094758789986372, 0.0948939248919487, -0.31832781434059143, 0.15772207081317902, -0.3895088732242584, -0.23449596762657166, -0.5694686770439148, -0.2085355818271637, 0.3320002853870392, 0.8535770773887634, -0.955082893371582, 0.7772958278656006, 0.4320918321609497, -0.19523343443870544, -0.2337116003036499, -0.36578840017318726, -0.1628960371017456, 0.0032317026052623987, -0.8034564256668091, 0.5657204389572144, 0.1400289237499237, -0.14654627442359924, -0.10109914839267731, -0.6574905514717102, -0.18024416267871857, 0.14542247354984283, 0.39445918798446655, 0.15217170119285583, -0.015202635899186134, 0.17157725989818573, 0.3461531102657318, -0.3793313503265381, 0.3118567168712616, -0.48452451825141907, 0.617598831653595, -0.36345115303993225, -0.6045036315917969, -0.45043036341667175, 0.2111370712518692, 0.39300331473350525, -0.46785062551498413, -0.016370173543691635, 0.5747783184051514, -0.4972672164440155, -0.5627323389053345, -0.4347163438796997, -0.5315245985984802, -0.6123210191726685, 0.21528242528438568, -0.47038453817367554, -0.5412496328353882, 0.3846653997898102, -0.4848572015762329, 0.03315649926662445, 0.5681137442588806, 0.15375329554080963, 0.21383090317249298, 1.1720077991485596, 0.8146277666091919, 0.1790492832660675, 0.537939727306366, -0.5452259182929993, 0.7966911196708679, -0.8313072919845581, -0.38357165455818176, -0.508924126625061, -0.4444236159324646, -0.46476003527641296, -0.06304122507572174, 0.6751636266708374, -0.14377973973751068, -0.08666791766881943, 0.4422297775745392, -1.020995855331421, 0.6894983649253845, 0.8563250303268433, 0.2152594029903412, 0.2305597960948944, 0.1580238938331604, -0.21718934178352356, -0.17245352268218994, -0.9030974507331848, -0.44613784551620483, 0.7543230056762695, 0.4666251242160797, 0.5581073760986328, -0.3684495985507965, 0.5522957444190979, -0.11700143665075302, 0.35986217856407166, -0.8848491907119751, 0.3989357650279999, 0.04079370200634003, -0.36228811740875244, -0.22552257776260376, -0.4968166649341583, -0.7874964475631714, -0.03722703456878662, 0.26023754477500916, -0.8403631448745728, 0.24720028042793274, 0.17746400833129883, -0.2506837546825409, 0.48606643080711365, -0.7442427277565002, 0.9245170950889587, -0.10380734503269196, -0.21741273999214172, -0.09849715232849121, -0.7080912590026855, 0.25081175565719604, 0.2975054681301117, 0.24221976101398468, 0.2817420959472656, 0.3822314739227295, 0.7617086172103882, -0.653738260269165, 0.4040762186050415, -0.2570381164550781, 0.17754487693309784, 0.6041123270988464, 0.2536732256412506, 0.7093122005462646, -0.2259865403175354, 0.3269660770893097, -0.17268294095993042, -0.36086398363113403, -0.16083604097366333, -0.7984450459480286, 0.7409594058990479, -0.6066486835479736, -0.6753366589546204, -0.1498108059167862, -0.37624046206474304, -0.14201568067073822, 0.09175806492567062, 0.5971619486808777, 0.8208568096160889, 0.07411769032478333, 0.03716762363910675, 0.8578689098358154, 0.050089530646800995, 0.6210193634033203, -0.10798689723014832, 0.15690353512763977, -0.04145253077149391, 1.2242653369903564, 0.3242122530937195, 0.09402304142713547, 0.19481122493743896, 0.05973072722554207, -0.19930244982242584, -0.5539539456367493, -0.4235130846500397, 0.05416901037096977, -0.8128960132598877, -0.06833228468894958, -0.7618291974067688, -0.5018653273582458, 0.17338280379772186, -0.27086952328681946, -0.4371488392353058, -0.4876876175403595, 0.06294042617082596, -0.2951722741127014, 0.17269733548164368, 0.6797189712524414, 0.016669267788529396, 0.7386242151260376, -0.6928139925003052, 0.18590041995048523, 0.38964009284973145, 0.3125380575656891, 0.32632583379745483, -0.38249465823173523, -0.03729408606886864, -0.03414931520819664, -0.7005974650382996, -0.8341377377510071, 0.3410169780254364, 0.02733803354203701, 0.5211707949638367, 0.2946973443031311, 0.056795015931129456, 0.675930917263031, -0.5839884281158447, 0.5192949175834656, 0.10293377190828323, -1.2234069108963013, 0.6008935570716858, 0.07711874693632126, 0.16649384796619415, 0.49798721075057983, 0.3934454619884491, -0.5425873398780823, -0.2509790062904358, -0.9623581767082214, -1.2003729343414307, 0.34562909603118896, 0.4438880383968353, 0.027502788230776787, 0.031879596412181854, 0.1831895262002945, -0.07363760471343994, -0.08488752692937851, -0.7353870272636414, -0.29012736678123474, -0.23066499829292297, -0.20254825055599213, 0.360392302274704, 0.03638613596558571, -0.28396710753440857, -0.14096586406230927, 0.555107057094574, -0.07868564873933792, 0.24515672028064728, 0.222628653049469, -0.32129958271980286, -0.1599920690059662, 0.0788678303360939, 0.30639275908470154, 0.8569902181625366, 0.08172980695962906, 0.3342089354991913, 0.1188727468252182, -0.5634647607803345, 0.2511906325817108, 0.11520915478467941, -0.3456326723098755, 0.3408355712890625, 0.4312417507171631, 0.7069767117500305, -0.08577520400285721, -0.6129278540611267, 0.6523476243019104, -0.11329496651887894, -0.0827186331152916, -0.268032044172287, 0.17452874779701233, 0.030869536101818085, 0.02171100117266178, 0.7121677994728088, 0.21882769465446472, 0.3842988610267639, -0.2227354496717453, 0.5992171764373779, 0.5754879713058472, -0.6685949563980103, -0.27559593319892883, 0.46340492367744446, 0.23709306120872498, -0.724677562713623, 1.0734803676605225, -0.23359693586826324, -0.8414471745491028, 0.9733744859695435, 0.2579174339771271, 0.8614036440849304, -0.07952629774808884, 0.2008090317249298, 0.5025126934051514, 0.7109863758087158, -0.20778484642505646, -0.43619275093078613, -0.21465173363685608, -0.3492369055747986, -0.3700951635837555, -0.11447027325630188, -0.3908385932445526, -0.027910009026527405, -0.7603206634521484, 0.2836484909057617, -0.37563347816467285, -0.016896072775125504, 0.04940659552812576, -0.05800841003656387, -0.5334868431091309, 0.18622098863124847, -0.31094256043434143, 1.0336142778396606, -1.1093811988830566, 0.7395910620689392, 0.23069897294044495, -0.16413576900959015, -1.0366313457489014, 0.08814972639083862, -0.07877981662750244, -0.6413795948028564, 0.4593318998813629, 0.5139124393463135, -0.1770118623971939, 0.08169104903936386, -0.23705370724201202, -0.5121474862098694, 1.065064787864685, 0.09572073817253113, -0.7860153317451477, -0.20063981413841248, -0.4512714445590973, 0.30957749485969543, -0.048101723194122314, 0.7471337914466858, 0.8107543587684631, 0.5979979038238525, 0.27834415435791016, -0.726395845413208, 0.11304404586553574, -0.45420488715171814, -0.04616608843207359, 0.6982412934303284, -0.4213689863681793, 0.909850537776947, -0.1978263109922409, -0.5309436321258545, -0.27338162064552307, 0.542320728302002, 0.04248123988509178, 0.49822381138801575, 0.6693831086158752, 0.40598100423812866, 0.7625287175178528, -0.3296256959438324, 0.7403013110160828, -0.38559210300445557, 0.5434028506278992, 0.6698805689811707, 0.039570849388837814, 0.25500819087028503, 0.5304552316665649, -0.12656542658805847, 0.38952285051345825, 0.8016137480735779, -0.02963615208864212, 0.5749756693840027, 0.3896144926548004, 0.049757007509469986, -0.2781883776187897, 0.10049500316381454, -0.26993489265441895, -0.25544118881225586, 0.38623231649398804, -0.15334895253181458, -0.3999270498752594, -0.052282195538282394, 0.0826510563492775, 0.21379712224006653, -0.3106154799461365, 0.5644848942756653, 0.08678590506315231, -0.845212459564209, 0.42244237661361694, 0.06148240342736244, 0.30800336599349976, -0.3878580927848816, -0.33292680978775024, -0.3265065550804138, 0.08147504925727844, -0.26644206047058105, -0.5531923174858093, 0.4802407920360565, -0.29786282777786255, 0.07384148985147476, -0.4228334128856659, 0.9306051135063171, -0.0942564457654953, -0.4703298807144165, 0.28907865285873413, 0.516004204750061, -0.15056420862674713, -0.18059095740318298, -0.18196271359920502, 0.11078017950057983, 0.16592898964881897, -0.39662763476371765, 0.18978895246982574, 0.26972696185112, -0.19646158814430237, 0.7943152785301208, 0.49986153841018677, -0.09637642651796341, -0.12755315005779266, -0.1818859577178955, 1.234201431274414, -0.5536944270133972, -0.33031293749809265, -0.9163054823875427, 0.425142765045166, -0.20254573225975037, -0.27555137872695923, 0.3996969759464264, 0.5538915395736694, 0.8549484610557556, 0.29317981004714966, 0.7430347204208374, 0.1253930777311325, 0.10250639170408249, -0.492995023727417, 0.19900460541248322, -0.25811463594436646, 0.33298489451408386, -0.021572282537817955, -1.0197557210922241, -0.1164049357175827, 0.9133424758911133, -0.5003761053085327, 0.07541166245937347, 0.859342634677887, 1.0135987997055054, -0.4781560003757477, 0.3609209358692169, -0.08367818593978882, -0.08122662454843521, 0.38609686493873596, 0.5626152753829956, 0.7884393930435181, -0.23760680854320526, 0.7625025510787964, -0.45999664068222046, -0.5040639638900757, -0.045399922877550125, -0.6045238971710205, -0.7603321671485901, -0.5937586426734924, -0.05430872365832329, -0.18233337998390198, 0.0595792792737484, 0.7325088977813721, 0.6990169286727905, -0.38007912039756775, -0.16747742891311646, -0.6625888347625732, 0.596967875957489, -0.5334812998771667, -0.2500770092010498, 0.43542054295539856, -0.3384510576725006, -0.5844938158988953, 0.5014210343360901, 0.288220077753067, -0.1897377222776413, -0.14222599565982819, -0.03051880933344364, 0.21400587260723114, -0.05181128904223442, 0.16455160081386566, 0.2650340497493744, -0.5548829436302185, -0.20122112333774567, 0.4083555340766907, 0.1864573210477829, 0.17095744609832764, 1.2149876356124878, -0.7285977005958557, 0.28237971663475037, 0.254211962223053, 0.5799588561058044, 0.9491111636161804, 0.04559556022286415, 0.720369815826416, -0.6458585262298584, -0.015214208513498306, 0.3970112204551697, 0.200866237282753, 0.10522909462451935, -0.17528951168060303, 0.5020545721054077, 0.1701589971780777, -0.6178677678108215, -0.8925032019615173, 0.5455370545387268, -0.6003626585006714, -0.3020297586917877, 0.8128292560577393, -0.06416614353656769, -0.24859198927879333, 0.13159514963626862, -0.2411050647497177, 0.04977622628211975, -0.22993990778923035, 0.37484651803970337, 0.5255740880966187, -0.23734787106513977, -0.2465847134590149, -0.6030738949775696, 0.5618028044700623, 0.25140032172203064, -0.3800790309906006, -0.021694723516702652, 0.19126667082309723, 0.013104332610964775, 0.3587401807308197, 0.3756652772426605, 0.2591104507446289, 0.36712896823883057, 0.043163422495126724, -0.10454414039850235, -0.2943592667579651, -0.8068716526031494, -0.24877916276454926, 0.3162994682788849, -0.05948328226804733, -0.010784785263240337 ]
http://arxiv.org/abs/2406.16777v1
http://arxiv.org/pdf/2406.16777v1
Blending LLMs into Cascaded Speech Translation: KIT's Offline Speech Translation System for IWSLT 2024
2024-06-24T16:38:17
2024-06-24T16:38:17
Sai Koneru, Thai-Binh Nguyen, Ngoc-Quan Pham, Danni Liu, Zhaolin Li, Alexander Waibel, Jan Niehues
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are currently under exploration for various tasks, including Automatic Speech Recognition (ASR), Machine Translation (MT), and even End-to-End Speech Translation (ST). In this paper, we present KIT's offline submission in the constrained + LLM track by incorporating recently proposed techniques that can be added to any cascaded speech translation. Specifically, we integrate Mistral-7B\footnote{mistralai/Mistral-7B-Instruct-v0.1} into our system to enhance it in two ways. Firstly, we refine the ASR outputs by utilizing the N-best lists generated by our system and fine-tuning the LLM to predict the transcript accurately. Secondly, we refine the MT outputs at the document level by fine-tuning the LLM, leveraging both ASR and MT predictions to improve translation quality. We find that integrating the LLM into the ASR and MT systems results in an absolute improvement of $0.3\%$ in Word Error Rate and $0.65\%$ in COMET for tst2019 test set. In challenging test sets with overlapping speakers and background noise, we find that integrating LLM is not beneficial due to poor ASR performance. Here, we use ASR with chunked long-form decoding to improve context usage that may be unavailable when transcribing with Voice Activity Detection segmentation alone.
[ -0.30157727003097534, -0.4933285117149353, 0.27896392345428467, 0.38882532715797424, -0.4451875388622284, 0.6084045171737671, -0.3577304482460022, -0.6347692012786865, 0.17136651277542114, 0.5411079525947571, -0.7472606897354126, -0.2555859386920929, -0.5172070860862732, 0.32266658544540405, -0.6635176539421082, 0.7873883247375488, -0.18066895008087158, 0.41686901450157166, -0.13297578692436218, -0.07804766297340393, -0.6024798154830933, -0.36899861693382263, -0.6094032526016235, -0.6559514403343201, 0.3855315148830414, 0.24793387949466705, 0.34315750002861023, 0.773970901966095, 0.4058551788330078, 0.2839412987232208, -0.2614281475543976, 0.2168852537870407, -0.39147064089775085, 0.33112770318984985, -0.11141946166753769, -0.30824875831604004, -0.7630618810653687, -0.31296104192733765, 0.8833099603652954, 0.6085742712020874, -0.06474777311086655, 0.20663830637931824, 0.2566368281841278, 0.37622150778770447, -0.340122789144516, -0.03660085052251816, -0.6916528344154358, 0.015673436224460602, -0.43757814168930054, -0.4993761479854584, -0.2742435336112976, 0.029444659128785133, 0.028465116396546364, -0.46091973781585693, -0.1471773236989975, 0.09352508932352066, 0.5074486136436462, 0.6223483085632324, -0.5284979939460754, -0.38440895080566406, -0.8897804617881775, 0.8306928277015686, -0.8544660210609436, 0.5101609230041504, 0.2973659932613373, 0.2695561945438385, -0.41413983702659607, -0.8605974316596985, -0.3626319169998169, -0.0628892332315445, 0.2612431049346924, 0.37782302498817444, -0.24810609221458435, 0.3577045500278473, 0.03803979605436325, 0.5006575584411621, -0.4258519113063812, 0.3322600722312927, -0.20587801933288574, -0.2169332504272461, 0.6485491394996643, 0.15182846784591675, 0.07621574401855469, 0.08928927034139633, -0.3162652552127838, 0.025506528094410896, -0.707230269908905, 0.00308349565602839, 0.08888295292854309, 0.5934460759162903, -0.13910788297653198, 0.6130827069282532, -0.16929489374160767, 0.6421605348587036, 0.2301180362701416, -0.406005859375, 0.20805799961090088, -0.5223575234413147, -0.1364506036043167, 0.3887888789176941, 0.7352151870727539, 0.05073584243655205, -0.17792117595672607, -0.1572907418012619, -0.44833695888519287, -0.3789539337158203, 0.08714895695447922, -0.660468578338623, 0.1896241456270218, 0.3594287037849426, -0.25979331135749817, -0.22325310111045837, -0.14417287707328796, -0.36974039673805237, -0.24231722950935364, -0.5119189620018005, 0.6703469157218933, -0.06284507364034653, 0.03373297303915024, -0.09907258301973343, -0.08990287780761719, 0.0630791187286377, 0.5495710372924805, -0.3508217930793762, 0.47993046045303345, 0.523554801940918, 0.8918119668960571, -0.41551733016967773, -0.18406404554843903, -1.112187147140503, 0.17834830284118652, -0.34028691053390503, 0.5439298152923584, -0.14963755011558533, -0.5032635927200317, 0.03995053842663765, -0.07087083905935287, 0.1747465580701828, -0.6440338492393494, 0.5039173364639282, -0.4759417772293091, 0.06881359964609146, -0.2809399664402008, -0.6756188273429871, 0.09196314960718155, 0.23420237004756927, -0.4513499438762665, 1.2956064939498901, -0.08141963183879852, -0.4064955711364746, -0.0051424517296254635, -0.6265974044799805, -0.4729279577732086, 0.24262197315692902, 0.03240686282515526, -0.2501923739910126, 0.10744785517454147, -0.018064770847558975, 0.3571564257144928, -0.36279889941215515, 0.4785042405128479, -0.07892867922782898, -0.29155659675598145, 0.38672852516174316, -0.40968766808509827, 0.5529626607894897, 0.11326859891414642, -0.6142919063568115, 0.38746994733810425, -0.7347433567047119, 0.12279729545116425, -0.3094600737094879, -0.7088309526443481, 0.009696323424577713, 0.07717631012201309, 0.38154685497283936, 0.33691245317459106, 0.15643763542175293, -0.5756925344467163, 0.08352271467447281, -0.39403095841407776, 0.6577792763710022, 0.5816711783409119, -0.31193992495536804, 0.5565136075019836, -0.35419961810112, 0.4880319833755493, -0.1887967437505722, 0.0027007923927158117, 0.047062065452337265, -0.6695425510406494, -0.9155101776123047, -0.3857688307762146, 0.4369284510612488, 0.7480730414390564, -0.8526852130889893, 0.6176514029502869, -0.496284544467926, -0.26140302419662476, -0.5763333439826965, 0.12568332254886627, 0.46977177262306213, 0.43119025230407715, 0.6013948321342468, -0.2900841236114502, -0.6804924011230469, -0.4795476794242859, -0.08767857402563095, -0.0974302738904953, -0.05188198387622833, 0.00596590805798769, 0.2635312080383301, -0.4349896013736725, 0.9763723611831665, -0.0006688204011879861, -0.3795013129711151, -0.4011780023574829, 0.13061490654945374, 0.03036724030971527, 0.39337027072906494, -0.17245642840862274, -0.6271936893463135, -0.5881322622299194, 0.21383658051490784, -0.3381166458129883, -0.5095821619033813, -0.03988677263259888, 0.04757523536682129, 0.1903727799654007, 0.7733007669448853, -0.507542610168457, 0.5411732792854309, 0.6453559994697571, 0.020847711712121964, 0.3919013738632202, -0.2532375454902649, 0.05740918591618538, -1.2363722324371338, -0.09275462478399277, -0.35754895210266113, -0.8545281291007996, -0.8901427984237671, -0.022482456639409065, 0.1493716686964035, -0.007384921424090862, -0.6668487191200256, 0.6153230667114258, -0.5610975623130798, -0.37724947929382324, -0.5477513670921326, 0.39346423745155334, -0.08393651247024536, 0.058399129658937454, -0.15314556658267975, 0.7732424736022949, 0.2986924946308136, -0.4738589823246002, 0.3315134346485138, 0.23787131905555725, -0.14327353239059448, 0.4033556580543518, -0.32587456703186035, 0.07291462272405624, 0.11718202382326126, 0.8303704261779785, -0.8044708371162415, -0.35419902205467224, 0.22231493890285492, -0.40477439761161804, 0.5827493071556091, 0.09461089223623276, -0.5828986167907715, -0.17240481078624725, -0.28414270281791687, 0.399519681930542, 0.49021703004837036, -0.6058314442634583, 0.6759607195854187, 0.29752475023269653, -0.335763543844223, -0.40262943506240845, -1.0061193704605103, 0.4970833957195282, -0.24717748165130615, -0.46358898282051086, 0.942520022392273, -0.36689677834510803, -0.1967826932668686, -0.1801965832710266, -0.1522158533334732, -0.03905867412686348, -0.24301493167877197, 0.17904196679592133, 0.012700021266937256, -0.313345342874527, -0.045382559299468994, 0.241865336894989, -0.03523185849189758, -0.22261251509189606, -0.5297833681106567, 0.5849917531013489, 0.16568614542484283, -0.37551549077033997, -0.5047255754470825, 0.4343763589859009, 0.5810070037841797, 0.029214397072792053, 0.2972045838832855, 0.7516975402832031, -0.4189229905605316, -0.1553143858909607, -0.7778511643409729, 0.038349028676748276, -0.4695456326007843, 0.31830456852912903, -0.4288994073867798, -1.136256456375122, 0.5955312252044678, -0.11847858875989914, 0.05617199093103409, 0.34123316407203674, 0.5629920959472656, -0.23640485107898712, 0.8540804982185364, 0.39281710982322693, -0.10835778713226318, 0.570328414440155, -0.025463439524173737, 0.13224811851978302, -1.1643664836883545, -0.33027520775794983, -0.3569219708442688, -0.44790688157081604, -0.5909054279327393, -0.8282656669616699, 0.38586997985839844, 0.2697966694831848, 0.16785828769207, 0.36375582218170166, -0.3397755026817322, 0.3167778253555298, 0.5894302725791931, 0.07462307065725327, 0.5683726072311401, -0.12464448809623718, 0.12643586099147797, 0.06319887936115265, -0.7296651005744934, -0.2267737090587616, 0.9164221286773682, 0.3393379747867584, 0.5732910633087158, 0.07088853418827057, 0.6667227149009705, 0.2475820928812027, 0.23016971349716187, -0.9795020222663879, 0.5087710618972778, -0.3199949264526367, -0.5423026084899902, -0.2875327467918396, -0.4918791949748993, -0.6726966500282288, 0.24112103879451752, 0.07050510495901108, -0.510974645614624, -0.02063140459358692, 0.13094107806682587, -0.25849005579948425, 0.19139842689037323, -0.15938150882720947, 0.3012280762195587, -0.27281540632247925, -0.054767850786447525, -0.1336136907339096, -0.9110189080238342, 0.20688496530056, -0.41696879267692566, 0.46162623167037964, 0.00938322115689516, -0.22649912536144257, 0.5846198201179504, -0.5949223041534424, 0.8424729108810425, 0.14358103275299072, -0.2969835102558136, 0.18445473909378052, -0.18265539407730103, 0.6425856947898865, -0.19834139943122864, -0.08502940088510513, 0.17567178606987, 0.07264529168605804, -0.1278696358203888, -0.33860185742378235, 0.8226903080940247, -0.6733837723731995, -0.45816779136657715, -0.45246565341949463, -0.7900004386901855, -0.27629896998405457, 0.20436757802963257, 0.5468165874481201, 0.7360857725143433, -0.06344090402126312, 0.3412943184375763, 0.654217541217804, -0.07396160066127777, 0.6512452960014343, 0.4249493181705475, -0.31717634201049805, -0.8398117423057556, 0.8677419424057007, 0.436557799577713, 0.6419367790222168, 0.563336193561554, 0.40233469009399414, -0.4492599666118622, -0.6921463012695312, -0.7449739575386047, -0.0049375807866454124, -0.87261962890625, -0.4137634336948395, -0.6815441250801086, -0.3686912953853607, -0.43327292799949646, -0.2444346398115158, -0.3792206048965454, -0.5845567584037781, -0.5444468855857849, 0.29403215646743774, 0.2138775885105133, 0.8846965432167053, -0.059725407510995865, 0.5905532240867615, -0.8385857939720154, 0.23543207347393036, 0.05478091910481453, -0.18386289477348328, -0.2212429940700531, -0.9918927550315857, -0.2962683439254761, 0.19359444081783295, -0.32221469283103943, -0.592513918876648, 0.4451749324798584, 0.5373973846435547, 0.364477276802063, 0.07940080016851425, 0.1465214192867279, 1.2512873411178589, -0.6919837594032288, 0.7423892021179199, 0.23764988780021667, -1.1811268329620361, 0.416042298078537, -0.469931036233902, 0.6680294275283813, 0.5407665967941284, 0.045080412179231644, -0.4017626941204071, -0.6478984951972961, -0.2230522185564041, -0.9518649578094482, 0.8396880626678467, 0.42511963844299316, 0.07948464155197144, 0.3613983392715454, 0.2552517354488373, 0.02713405340909958, 0.2111412137746811, -0.6340171098709106, -0.1848497837781906, -0.026808280497789383, -0.36062857508659363, -0.13978131115436554, -0.04137624055147171, -0.04147741198539734, -0.3467452824115753, 0.8880524039268494, -0.06872141361236572, 0.02339952066540718, 0.11842448264360428, -0.21366922557353973, -0.3366992473602295, 0.2200518101453781, 0.813610851764679, 0.34095561504364014, -0.12006688863039017, 0.10850729793310165, 0.5297040939331055, -0.5991447567939758, 0.21667435765266418, 0.17229002714157104, -0.05618054047226906, 0.2034415900707245, 0.4340774714946747, 0.7364059090614319, 0.5288161635398865, -0.6248862743377686, 0.43594545125961304, 0.0895330086350441, -0.26006191968917847, -0.2927738428115845, -0.3389397859573364, 0.0810161754488945, 0.33815276622772217, 0.4623526334762573, 0.25988245010375977, 0.21625752747058868, -0.5427648425102234, 0.11350610107183456, 0.3809351623058319, -0.4818262755870819, -0.38995909690856934, 0.6282682418823242, 0.3799615800380707, -0.4852147102355957, 0.16871756315231323, -0.21598578989505768, -0.6106134057044983, 0.21166366338729858, 0.8100667595863342, 0.9969574213027954, -0.38586676120758057, -0.2074984610080719, 0.1314544528722763, 0.2876203656196594, -0.39457014203071594, 0.07301019132137299, -0.16267560422420502, -0.30114924907684326, -0.7644181251525879, -0.7410656213760376, -0.5725149512290955, 0.23876716196537018, -0.6809408664703369, 0.5131795406341553, -0.10172365605831146, -0.2210555523633957, -0.39444661140441895, -0.2106904238462448, -0.3399108648300171, 0.29561492800712585, 0.16021355986595154, 0.8146453499794006, -0.47608882188796997, 1.0634814500808716, 0.5623781085014343, -0.02717256173491478, -0.6776738166809082, 0.363566517829895, 0.22623395919799805, -0.5808439254760742, 0.49495887756347656, 0.13474150002002716, -0.3427034318447113, 0.32353365421295166, -0.13428038358688354, -1.2596538066864014, 1.3135669231414795, 0.3809317350387573, -0.7195412516593933, -0.06888840347528458, 0.3617385923862457, 0.30354973673820496, -0.2600228190422058, 0.05658089369535446, 0.3724604845046997, 0.32352080941200256, 0.49713486433029175, -1.480639934539795, -0.06282217800617218, -0.006320249289274216, 0.08941423892974854, 0.16268318891525269, -0.3510421812534332, 0.5966793298721313, 0.2649971842765808, -0.14788249135017395, 0.3390488624572754, 0.586238443851471, 0.2924734354019165, 0.4012105166912079, 0.43129345774650574, 0.3415507376194, 0.5840121507644653, -0.06513603031635284, 0.8396307826042175, -0.10706823319196701, 0.039180777966976166, 1.3591032028198242, -0.21131546795368195, 1.2186371088027954, 0.6753909587860107, -0.11966992169618607, 0.1772775501012802, 0.7200188636779785, 0.5615719556808472, 0.5990650057792664, 0.34031927585601807, -0.528469443321228, -0.21290209889411926, -0.30161938071250916, -0.45720174908638, 0.4327661395072937, 0.32631081342697144, -0.02765613980591297, -0.08718344569206238, 0.3329944610595703, -0.1161685511469841, -0.22358457744121552, -0.4397602081298828, 0.8479596972465515, 0.45396631956100464, -0.55287766456604, 0.5126709342002869, 0.09714820235967636, 0.8825162053108215, -0.6884427666664124, 0.27055495977401733, -0.07435491681098938, 0.17828160524368286, -0.31883764266967773, -0.5565688610076904, 0.3502254784107208, 0.11834720522165298, -0.10656053572893143, -0.6019007563591003, 0.7640897631645203, -0.7449700236320496, -0.554777979850769, 0.44054266810417175, 0.4003768861293793, 0.22034510970115662, -0.18768653273582458, -0.48142209649086, 0.48081326484680176, -0.002967728301882744, -0.11801663786172867, 0.44125115871429443, 0.43627309799194336, -0.25251537561416626, 0.7072309255599976, 0.6637058854103088, 0.2597518861293793, 0.34142613410949707, 0.29288050532341003, 1.0309393405914307, -0.3885647654533386, -0.4737168252468109, -0.8903169631958008, 0.9145981669425964, 0.08646547794342041, -0.14524516463279724, 0.7597604393959045, 0.6230661869049072, 0.7683245539665222, 0.13719238340854645, 0.7110698819160461, 0.015193705447018147, 0.3914032280445099, -0.5829448699951172, 0.541266143321991, -0.688228964805603, 0.21996371448040009, -0.30466359853744507, -1.0373656749725342, -0.4113973379135132, 0.3186533749103546, 0.03217695280909538, -0.312103807926178, 0.685448944568634, 0.6878901720046997, -0.042199693620204926, -0.1034218892455101, 0.4958505630493164, 0.06389660388231277, 0.384240984916687, 0.01415479090064764, 0.9447287917137146, -0.7322226762771606, 0.8251339197158813, -0.1286795288324356, -0.3176446855068207, -0.3070657551288605, -0.9569927453994751, -0.7557049989700317, -0.6904675364494324, -0.49371078610420227, -0.3009951114654541, -0.03728547692298889, 1.0793964862823486, 0.7486429214477539, -0.8315416574478149, -0.5561721920967102, -0.24079354107379913, -0.310686856508255, 0.08957117795944214, -0.1196267157793045, -0.17089404165744781, -0.24765364825725555, -0.7372919917106628, 1.087156057357788, 0.5060790181159973, 0.07767793536186218, -0.23510265350341797, -0.4259450137615204, -0.14347288012504578, 0.0943416953086853, 0.7891494631767273, -0.11360695958137512, -1.2112220525741577, -0.11404449492692947, 0.05449263006448746, 0.028391677886247635, 0.07814504206180573, 0.7135055661201477, -0.5312029719352722, 0.5875809192657471, 0.5161436796188354, 0.7399922013282776, 0.7705626487731934, 0.07417146861553192, 0.6338835954666138, -0.9158050417900085, -0.08187330514192581, 0.24117159843444824, 0.17852330207824707, 0.47494032979011536, -0.23043015599250793, 0.22637420892715454, 0.04663113132119179, -0.6638185977935791, -1.1046085357666016, 0.09500804543495178, -1.0933798551559448, 0.05591563880443573, 1.217795968055725, -0.015439555048942566, 0.04727655649185181, -0.3068924844264984, -0.1870317906141281, 0.487018883228302, -0.38657259941101074, 0.31396520137786865, 0.6502876281738281, -0.26252567768096924, -0.03041328489780426, -0.7014521956443787, 0.4371444582939148, 0.3027694523334503, -0.8464048504829407, -0.12063372135162354, 0.2897263467311859, 0.1699472814798355, 0.1355462670326233, 0.8476355671882629, -0.0015101464232429862, 0.05149391293525696, -0.3326609432697296, -0.08943603932857513, 0.055678896605968475, -0.10750176012516022, -0.5360215306282043, -0.26548147201538086, 0.08946239948272705, -0.21942371129989624 ]
http://arxiv.org/abs/2406.16772v2
http://arxiv.org/pdf/2406.16772v2
OlympicArena Medal Ranks: Who Is the Most Intelligent AI So Far?
2024-06-24T16:31:12
2024-06-26T15:00:04
Zhen Huang, Zengzhi Wang, Shijie Xia, Pengfei Liu
cs.CL
cs.CL, cs.AI
In this report, we pose the following question: Who is the most intelligent AI model to date, as measured by the OlympicArena (an Olympic-level, multi-discipline, multi-modal benchmark for superintelligent AI)? We specifically focus on the most recently released models: Claude-3.5-Sonnet, Gemini-1.5-Pro, and GPT-4o. For the first time, we propose using an Olympic medal Table approach to rank AI models based on their comprehensive performance across various disciplines. Empirical results reveal: (1) Claude-3.5-Sonnet shows highly competitive overall performance over GPT-4o, even surpassing GPT-4o on a few subjects (i.e., Physics, Chemistry, and Biology). (2) Gemini-1.5-Pro and GPT-4V are ranked consecutively just behind GPT-4o and Claude-3.5-Sonnet, but with a clear performance gap between them. (3) The performance of AI models from the open-source community significantly lags behind these proprietary models. (4) The performance of these models on this benchmark has been less than satisfactory, indicating that we still have a long way to go before achieving superintelligence. We remain committed to continuously tracking and evaluating the performance of the latest powerful models on this benchmark (available at https://github.com/GAIR-NLP/OlympicArena).
[ -0.5716109871864319, -0.24886758625507355, 0.8998620510101318, -0.1307579129934311, -0.12905575335025787, -0.03711801394820213, 0.11271736025810242, -1.0117425918579102, 0.007296104449778795, 0.26677659153938293, -0.21852529048919678, -0.4455051124095917, -1.014255166053772, 0.06621280312538147, -0.713721513748169, 1.1394190788269043, 0.23555366694927216, 0.32786208391189575, -0.3543566167354584, -0.433561235666275, -0.3871518671512604, -0.4326465427875519, -0.7481561899185181, -0.679612398147583, 0.688297688961029, 0.34507665038108826, 0.45191091299057007, 0.7364271283149719, 0.7313475608825684, 0.3529791235923767, 0.020097047090530396, 0.0006539114401675761, -0.2856769859790802, -0.07608406990766525, -0.22128818929195404, -0.6576545834541321, -0.7086882591247559, 0.34556248784065247, 0.1200999841094017, 0.46372655034065247, 0.31163981556892395, 0.46597832441329956, -0.25690171122550964, 0.6255114078521729, -0.18310455977916718, 0.19167301058769226, -0.6058585047721863, -0.10629676282405853, -0.25717225670814514, 0.1603403240442276, -0.11303707212209702, -0.3226427137851715, 0.1245080903172493, -0.6842128038406372, 0.0015661359066143632, 0.3071988523006439, 0.5038548707962036, 0.4689691364765167, -0.2687039077281952, -0.006941409781575203, -0.6813170909881592, 0.7308964729309082, -0.5668722987174988, 0.06849520653486252, 0.2694796621799469, 0.36809206008911133, 0.18739435076713562, -0.9799750447273254, -0.48786234855651855, -0.6570261120796204, 0.6058638095855713, 0.5225073099136353, -0.17468033730983734, -0.30378472805023193, 0.011531173251569271, -0.10640250146389008, -0.7914649248123169, 0.3260824978351593, -0.6253155469894409, 0.2870781123638153, 0.9925519227981567, 0.210383802652359, 0.21605071425437927, 0.41182464361190796, -0.08330444991588593, 0.0702415257692337, -0.47357550263404846, -0.21675574779510498, 0.4044454097747803, -0.05475282669067383, 0.002641164930537343, 0.6078232526779175, -0.21182940900325775, 0.2419525682926178, -0.20695993304252625, 0.4231491684913635, 0.12209517508745193, -0.030543632805347443, 0.21746768057346344, 0.38631200790405273, 0.9669323563575745, 0.3849213421344757, 0.41221699118614197, -0.46786102652549744, -0.2738206386566162, 0.18718011677265167, 0.34395191073417664, -0.5440159440040588, -0.5843586921691895, 0.3512386679649353, -0.4682523012161255, -0.18614234030246735, 0.24868956208229065, -0.34632056951522827, -0.4578680694103241, -0.14347797632217407, 0.7566925883293152, -0.3437201678752899, -0.09721380472183228, -0.2898535430431366, -0.030169527977705002, -0.14378021657466888, 0.40857231616973877, -0.6239330768585205, 0.140407532453537, 1.1194941997528076, 0.8208479881286621, -0.13503554463386536, -0.5811504125595093, -0.23652735352516174, -0.22997517883777618, -0.6213158369064331, 0.8995628952980042, -0.6147391200065613, -0.08544911444187164, -0.43133610486984253, -0.4567854702472687, -0.09769290685653687, -0.5700564384460449, 0.48208361864089966, -0.7352434992790222, 0.059536535292863846, -0.20583824813365936, -0.6678756475448608, -0.2268717885017395, 0.30031245946884155, -0.7433068752288818, 0.723624050617218, -0.20990531146526337, -0.6774224042892456, 0.3439677655696869, -0.9838906526565552, 0.022477656602859497, 0.16909658908843994, -0.06008268520236015, -0.3201862871646881, 0.009143774397671223, 0.09356178343296051, 0.36821940541267395, -0.765354335308075, 0.2232961356639862, -0.5089170336723328, -0.4995628595352173, 0.4459669888019562, -0.18380068242549896, 0.47466662526130676, 0.2524541914463043, -0.582688570022583, 0.26004528999328613, -0.7913805246353149, -0.017017938196659088, -0.0663469061255455, 0.055056795477867126, 0.1251632571220398, 0.04937902092933655, -0.14477866888046265, 0.3514308035373688, 0.36758801341056824, -0.7604471445083618, 0.01795029453933239, -0.11392764002084732, 0.7205307483673096, 0.8577448725700378, -0.13063548505306244, 0.1618996411561966, -0.6318091750144958, 0.37638989090919495, -0.24095983803272247, 0.42206254601478577, 0.3261355757713318, -0.9718811511993408, -0.5466492176055908, -0.3043097257614136, 0.5222243666648865, 0.7182235717773438, -0.37308648228645325, 0.394093781709671, -0.3825800120830536, -0.9799318313598633, -0.5998618006706238, -0.2135467231273651, 0.31127169728279114, 0.5387965440750122, 0.24638192355632782, -0.12180601060390472, -0.01060427539050579, -0.9903271198272705, -0.5023775696754456, -0.3799143433570862, 0.1843993365764618, 0.07802242785692215, 1.078329086303711, 0.02331726998090744, 0.5930184125900269, 0.004692567512392998, -0.04142352566123009, -0.30824780464172363, 0.5533344745635986, 0.34719839692115784, 0.7128080129623413, 0.4589526355266571, -0.8229638934135437, -0.387445867061615, 0.2579371929168701, -1.129266619682312, 0.05379310995340347, 0.24271900951862335, -0.0792769268155098, -0.20632711052894592, 0.24899329245090485, -0.44791191816329956, 0.41237422823905945, 0.32415902614593506, -0.23654957115650177, 0.628882110118866, -0.21390245854854584, 0.4389619827270508, -0.8104590773582458, 0.5382445454597473, -0.05994333699345589, -0.1513407826423645, -0.7038673758506775, -0.026107309386134148, -0.17291736602783203, -0.05573654919862747, -0.23968902230262756, 0.6098381876945496, -0.029278477653861046, -0.07340970635414124, -0.19155432283878326, 0.18633326888084412, -0.41712602972984314, 0.1831684708595276, -0.3048284351825714, 0.5748081207275391, 0.8062036037445068, -0.5113340616226196, 0.6888070106506348, 0.10379079729318619, -0.5038642287254333, 0.43453890085220337, -0.8013454079627991, 0.18870581686496735, -0.2594437301158905, 0.07512184232473373, -0.6780796051025391, -0.10933297872543335, 0.16960717737674713, -0.6771181225776672, -0.07810073345899582, 0.08031939715147018, -0.4254593551158905, -0.48253512382507324, -0.24022912979125977, 0.6560607552528381, 0.3288186192512512, -0.41217637062072754, 0.30191749334335327, 0.4671325087547302, -0.3604366183280945, -0.5245264172554016, -0.8665908575057983, 0.10183048248291016, -0.23730963468551636, -0.5321172475814819, 0.0572691410779953, -0.332187294960022, -0.2862892746925354, 0.15752829611301422, -0.0010778662981465459, -0.02632770501077175, 0.2613120377063751, 0.18242274224758148, 0.2175065279006958, -0.18896420300006866, -0.11225347220897675, -0.4101593792438507, -0.4801827073097229, 0.024708572775125504, -0.3425779342651367, 0.28248831629753113, -0.4979492425918579, -0.4490966796875, -0.8617245554924011, 0.2780650556087494, 0.9871056079864502, -0.5811853408813477, 0.9512760043144226, 0.3404981195926666, -0.2944663166999817, 0.23445670306682587, -0.39550548791885376, -0.041729263961315155, -0.32951876521110535, 0.46321436762809753, -0.14032723009586334, -0.6148192882537842, 0.8720901012420654, 0.07984545826911926, 0.11312637478113174, 0.5737420916557312, 0.2594575881958008, 0.04485059902071953, 1.651444435119629, 0.5619381070137024, -0.43024516105651855, 0.4583317041397095, -0.6364879608154297, 0.22474296391010284, -0.9216930270195007, -0.4427478611469269, -0.6860849857330322, -0.727030873298645, -0.7038450837135315, 0.16169843077659607, 0.8542198538780212, -0.20002830028533936, -0.6887221336364746, 0.003947477322071791, -0.6228482127189636, 0.2823435664176941, 0.9638195633888245, 0.10628072917461395, 0.18437649309635162, -0.4988603889942169, 0.03578067198395729, 0.22202648222446442, -0.9652368426322937, -0.5500327348709106, 1.3949058055877686, 0.13277563452720642, 0.5114463567733765, -0.04486736282706261, 0.8856743574142456, 0.37055036425590515, 0.6015740633010864, -0.27652639150619507, 0.5686395168304443, -0.165594220161438, -0.9065088629722595, -0.18147435784339905, -0.6034337282180786, -1.01569664478302, 0.07038778066635132, -0.241112619638443, -1.0190328359603882, 0.006554180756211281, 0.15631116926670074, -0.4970118999481201, 0.4674251079559326, -0.24056924879550934, 0.9032633900642395, -0.45192262530326843, -0.4316043257713318, -0.324301153421402, -0.7645416855812073, 0.46179237961769104, -0.10536012053489685, 0.2924841046333313, -0.22946472465991974, -0.017161071300506592, 0.9615780711174011, -0.4446393549442291, 0.19548887014389038, 0.036774951964616776, 0.5035106539726257, 0.22161684930324554, -0.2178432196378708, 0.3160221576690674, 0.19090090692043304, -0.4863884150981903, 0.16133072972297668, -0.08954667299985886, -0.5726301670074463, -0.23994973301887512, 0.9331974983215332, -1.2426798343658447, -0.3571702837944031, -0.6363510489463806, -0.2232704907655716, -0.13844415545463562, 0.3898032307624817, 0.7081058621406555, 0.8145090937614441, -0.011615240015089512, 0.12424192577600479, 0.5865818858146667, 0.10956127941608429, 0.32357773184776306, 0.10831905156373978, 0.1163620799779892, -0.5105174779891968, 1.106681227684021, 0.48632583022117615, -0.3010939657688141, 0.4029777944087982, 0.13017043471336365, -0.3146316111087799, -0.8963711857795715, -0.5526604652404785, 0.2877846956253052, -0.5045560598373413, -0.035982828587293625, -0.49085724353790283, -0.19178736209869385, -0.35012081265449524, 0.02348829247057438, -0.7557018399238586, -0.5804318189620972, -0.026396431028842926, 0.09872539341449738, 0.037280116230249405, 1.2780005931854248, 0.0761825367808342, 0.06269753724336624, -0.6244937181472778, 0.1449078619480133, 0.446105033159256, 0.3386286497116089, -0.10058843344449997, -0.38152289390563965, -0.35480883717536926, -0.22314196825027466, -0.1153532862663269, -0.6181702613830566, -0.07627201080322266, -0.060763608664274216, 0.8262912631034851, 0.34542152285575867, 0.02615487016737461, 0.2849064767360687, -0.3354719579219818, 1.1758893728256226, 0.21019339561462402, -0.5876172184944153, 0.3054816424846649, -0.28289994597435, 0.35527488589286804, 0.5978825688362122, 0.19045190513134003, -0.3173013925552368, -0.6495202779769897, -0.8390918970108032, -0.8418673276901245, 0.9222350716590881, 0.018772948533296585, -0.15687313675880432, 0.04161345958709717, 0.3783327043056488, 0.25480785965919495, 0.4342312514781952, -0.6696118116378784, -0.24934126436710358, -0.22579848766326904, -0.41954684257507324, -0.008412101306021214, 0.20642124116420746, -0.14840663969516754, -0.0007649532635696232, 1.0802556276321411, 0.011341678909957409, 0.3782620131969452, 0.1686883568763733, 0.01780635304749012, 0.017962215468287468, -0.18909110128879547, 0.5143721699714661, 1.0816682577133179, 0.13808079063892365, 0.05232805013656616, 0.06131552532315254, -0.2607247233390808, -0.15980558097362518, 0.38452085852622986, -0.3092315196990967, -0.47211015224456787, 0.8683956265449524, 0.657640814781189, -0.192181795835495, -0.6184487342834473, 0.33486953377723694, -0.22479248046875, -0.23048074543476105, -0.3100566864013672, 0.3678019344806671, -0.17321334779262543, 0.7743631601333618, 0.34559959173202515, 0.42850446701049805, 0.2430117279291153, -0.6875978708267212, -0.03405660390853882, 0.3336643576622009, -0.40029385685920715, -0.498382568359375, 1.4140042066574097, 0.2541130483150482, -0.2417445033788681, 0.5370148420333862, -0.10671974718570709, -0.7192460298538208, 0.7349489331245422, 0.11945107579231262, 0.8794819712638855, -0.008307108655571938, 0.18043290078639984, 0.20135678350925446, 0.3083271384239197, -0.4229041635990143, 0.3108324706554413, 0.1088205873966217, -0.35244879126548767, 0.05508565902709961, -0.24705208837985992, -0.4202754497528076, 0.15552109479904175, -0.29899561405181885, -0.2171688973903656, -0.4000663757324219, -0.3514416813850403, 0.03272140026092529, 0.3603295087814331, -0.6632331013679504, 0.27038291096687317, 0.3630295395851135, 0.9678484797477722, -0.7407985329627991, 0.44664230942726135, 1.084514856338501, -0.3366727828979492, -0.5409523248672485, -0.2596453130245209, -0.15360863506793976, -0.47380897402763367, 0.38178545236587524, 0.17913149297237396, -0.17032809555530548, 0.1952589601278305, -0.7461003661155701, -0.8544881939888, 1.2260838747024536, 0.3953663408756256, -0.183882936835289, 0.4885759651660919, 0.052120767533779144, 0.548628032207489, -0.36950817704200745, 0.6488884687423706, 0.4703001379966736, 0.7328281998634338, -0.2579556405544281, -0.7906322479248047, -0.41974323987960815, -0.6106497049331665, -0.15050041675567627, -0.03468649089336395, -1.1711105108261108, 0.801832914352417, 0.0037188981659710407, 0.3144315779209137, 0.7466513514518738, 0.9118096232414246, 0.2598673701286316, 0.8505814671516418, 0.22899289429187775, 0.8105961680412292, 0.8505768179893494, -0.1227559745311737, 1.048363208770752, -0.5671153664588928, -0.009391825646162033, 0.7153620719909668, -0.29973286390304565, 0.62255859375, -0.07066606730222702, 0.1065344512462616, 0.194620743393898, 0.6037954092025757, 0.018088411539793015, 0.4618460237979889, -0.09904763102531433, -0.026746833696961403, -0.3253748416900635, 0.09110482782125473, -0.33436647057533264, 0.43503889441490173, -0.15544633567333221, -0.23072439432144165, 0.05126826465129852, 0.10062767565250397, 0.18656913936138153, 0.04093484580516815, -0.5215262770652771, 0.5487726330757141, -0.11422685533761978, -1.1175329685211182, 0.28502604365348816, -0.002921306760981679, 0.21284407377243042, -0.5879508256912231, 0.09797479212284088, -0.3233617842197418, 0.3522399067878723, 0.09681818634271622, -0.620509147644043, -0.37024667859077454, 0.33932504057884216, -0.03039569780230522, 0.08648911118507385, 0.2546652555465698, -0.11156890541315079, -0.5333505272865295, 0.19090552628040314, 0.4505027234554291, 0.4156101644039154, -0.05791325867176056, -0.9957235455513, 0.012861350551247597, -0.4695582091808319, -0.3497176468372345, 0.2220681607723236, 0.5071133971214294, -0.23886533081531525, 0.953227162361145, 0.4353703558444977, 0.16014838218688965, 0.2929879426956177, 0.10301969945430756, 0.7221671938896179, -0.4670543074607849, -0.6771059632301331, -0.6569911241531372, 0.355684369802475, -0.18378542363643646, -0.9059506058692932, 0.42606908082962036, 0.7673346400260925, 0.49034878611564636, 0.31224021315574646, 0.9034169316291809, -0.024895425885915756, 0.21392206847667694, -0.2918902635574341, 1.0219701528549194, -0.7542416453361511, 0.1730664223432541, -0.20548661053180695, -1.0137660503387451, -0.35169273614883423, 0.3982420265674591, -0.5363528728485107, 0.3287031948566437, 0.527188241481781, 0.545298159122467, 0.03882433846592903, 0.24810394644737244, 0.3631954789161682, 0.4388112425804138, 0.5148348212242126, 0.5148862600326538, 0.9993719458580017, -0.2598777711391449, 0.5148067474365234, -0.17944316565990448, -0.6500642895698547, -0.5002091526985168, -0.5658419728279114, -0.6812996864318848, -0.4629652798175812, -0.3250398635864258, 0.2768711745738983, 0.34949228167533875, 0.7730295658111572, 0.9744564294815063, -0.8279608488082886, -0.011235986836254597, -0.1760368049144745, 0.00878584012389183, -0.47216910123825073, -0.09161397814750671, 0.25823667645454407, -0.08705151081085205, -0.9631960988044739, 0.3840624690055847, 0.3595653474330902, -0.4939054846763611, 0.03919641673564911, -0.09609568864107132, -0.2047942727804184, 0.21837586164474487, 0.2513381242752075, 0.35248076915740967, -0.38802918791770935, -0.5704935193061829, -0.2238164246082306, -0.11377109587192535, -0.19026266038417816, 0.35479849576950073, -0.6796918511390686, 0.36048784852027893, 0.5315945744514465, 0.4348161220550537, 0.5240082144737244, 0.035516999661922455, 0.29836905002593994, 0.18225091695785522, -0.21975766122341156, 0.5302736759185791, 0.37871336936950684, 0.14233653247356415, -0.1358339488506317, 0.782901406288147, 0.2881096303462982, -1.244542121887207, -0.655174195766449, 0.07186815142631531, -0.7683901190757751, -0.29149317741394043, 0.40888896584510803, 0.0016297040274366736, -0.45679032802581787, 0.05814189463853836, 0.048564959317445755, 0.4012630879878998, -0.2959437370300293, 1.1536016464233398, 0.6063215136528015, -0.9394404292106628, 0.03069194220006466, -1.0203921794891357, 0.028642917051911354, 0.5473268628120422, -0.7337810397148132, -0.30290958285331726, 0.09569299966096878, 0.10590075701475143, 0.28593626618385315, 0.3706236779689789, -0.17095428705215454, 0.5707038044929504, 0.16666771471500397, -0.08179277926683426, -0.35028132796287537, -0.8053225874900818, 0.07375463098287582, 0.1733378767967224, 0.1366860568523407, -0.25255271792411804 ]
http://arxiv.org/abs/2406.16767v1
http://arxiv.org/pdf/2406.16767v1
The GPT-WritingPrompts Dataset: A Comparative Analysis of Character Portrayal in Short Stories
2024-06-24T16:24:18
2024-06-24T16:24:18
Xi Yu Huang, Krishnapriya Vishnubhotla, Frank Rudzicz
cs.CL
cs.CL
The improved generative capabilities of large language models have made them a powerful tool for creative writing and storytelling. It is therefore important to quantitatively understand the nature of generated stories, and how they differ from human storytelling. We augment the Reddit WritingPrompts dataset with short stories generated by GPT-3.5, given the same prompts. We quantify and compare the emotional and descriptive features of storytelling from both generative processes, human and machine, along a set of six dimensions. We find that generated stories differ significantly from human stories along all six dimensions, and that human and machine generations display similar biases when grouped according to the narrative point-of-view and gender of the main protagonist. We release our dataset and code at https://github.com/KristinHuangg/gpt-writing-prompts.
[ -0.533628523349762, -0.5992537140846252, 0.8577411770820618, 0.1964491903781891, -0.15841136872768402, 0.12115134298801422, -0.20557662844657898, -0.5170541405677795, 0.3791830241680145, 0.26037171483039856, -0.8914168477058411, -0.4792001247406006, -0.4113571047782898, 0.5689892768859863, -0.19351084530353546, 1.197051763534546, -0.10234726220369339, -0.2607862055301666, -0.40816375613212585, 0.03869418054819107, -0.476152628660202, -0.47822391986846924, -0.5332794189453125, -0.07161273807287216, 0.896854043006897, 0.20415940880775452, 0.6899010539054871, 0.3765547573566437, 0.560295820236206, 0.21694672107696533, 0.28721868991851807, -0.143185555934906, -0.39037153124809265, 0.25864407420158386, 0.04514998570084572, -0.11550157517194748, -0.05995573103427887, 0.33512958884239197, 0.5979999899864197, 0.45613229274749756, 0.16726070642471313, 0.18909165263175964, 0.2074395716190338, 0.6669476628303528, -0.2202053815126419, 0.0270772073417902, 0.078073650598526, 0.14016520977020264, -0.2702096402645111, -0.09769861400127411, -0.04172093793749809, -0.7371721863746643, 0.18944789469242096, -0.5274690985679626, 1.1807492971420288, 0.08840461820363998, 0.7138442397117615, -0.08922094851732254, -0.2143588364124298, -0.48821166157722473, -0.654606819152832, 0.5316253900527954, -0.25607070326805115, -0.1422753632068634, 0.057956960052251816, 0.4493567645549774, 0.29357171058654785, -0.639415442943573, -0.7307548522949219, -0.4420655071735382, -0.4461319148540497, -0.08395542949438095, -0.36693665385246277, -0.22728662192821503, 0.5384880304336548, 0.6064932942390442, -1.2314132452011108, 0.08801554888486862, -0.4683700501918793, -0.27824151515960693, 0.7879287600517273, 0.5170004367828369, 0.5536506175994873, -0.4219377338886261, -0.09829478710889816, -0.2935519218444824, -0.7523444890975952, -0.09274807572364807, 0.8764630556106567, 0.13302405178546906, -0.33015552163124084, 0.5992268323898315, -0.05697778984904289, 0.36776304244995117, -0.05902551859617233, -0.1414172351360321, 0.3912535607814789, -0.21427877247333527, 0.08998085558414459, 0.09660955518484116, 1.1436935663223267, 0.828485369682312, 0.35429075360298157, 0.04183844476938248, -0.0948178842663765, 0.25662103295326233, 0.23485462367534637, -0.7203813791275024, -0.3703833818435669, -0.0387711226940155, -0.6391247510910034, -0.3100009262561798, 0.15723095834255219, -0.7111207842826843, -0.9911029934883118, -0.2788122594356537, 0.1751379519701004, -0.3455932140350342, -0.14214009046554565, -0.10131178796291351, -0.5998325943946838, 0.0055125122889876366, 0.09274490177631378, -1.007957100868225, 0.028971264138817787, 0.6248044967651367, 0.8935036063194275, -0.17243576049804688, -0.43077072501182556, -0.052607081830501556, -0.3246903419494629, -0.14077048003673553, 0.8932062387466431, -0.31930437684059143, -0.3961750566959381, -0.2868686020374298, -0.22372214496135712, 0.04347914829850197, -0.6937018036842346, 0.6343075633049011, 0.056450795382261276, 0.5585914254188538, -0.691962718963623, -0.2889939248561859, 0.002000050386413932, 0.02094324678182602, -0.85545814037323, 0.7913373708724976, 0.39607810974121094, -0.8924123644828796, 0.6746460199356079, -0.7019797563552856, -0.2984985411167145, 0.04482565447688103, -0.265423059463501, -0.38859209418296814, 0.264329731464386, 0.42565974593162537, 0.5694726705551147, -0.4771115183830261, 0.09375268220901489, -0.17459160089492798, -0.4428066611289978, 0.30297186970710754, -0.314389169216156, 0.5235426425933838, 0.2147003561258316, -0.15384332835674286, 0.035185206681489944, -0.6522781848907471, -0.1919647455215454, 0.44617417454719543, 0.0399642251431942, -0.0006403815350495279, -0.1874338686466217, -0.09512129426002502, 0.045026008039712906, -0.060686033219099045, -0.6205163598060608, 0.3520146906375885, -0.04288644716143608, 0.6117609739303589, 0.2868771255016327, 0.41240745782852173, 0.1048702821135521, -0.5683496594429016, 0.8327085971832275, -0.07033830881118774, 0.018221748992800713, -0.10817861557006836, -0.5970999002456665, -0.22447387874126434, -0.33201467990875244, -0.018983839079737663, 0.3529475927352905, -0.6320770978927612, 0.2934432029724121, -0.1444769948720932, -0.5079694390296936, -0.5369743704795837, -0.28964337706565857, 0.40080660581588745, 0.5452795624732971, 0.23398607969284058, -0.12036332488059998, -0.5183279514312744, -1.0182620286941528, -0.5452702641487122, -0.311829537153244, -0.6454952359199524, -0.06063861772418022, 0.37842974066734314, 0.014591267332434654, 0.8841100335121155, -0.7119711637496948, -0.017640691250562668, -0.6288066506385803, 0.5887919664382935, 0.21899822354316711, 0.32894599437713623, 0.8689709305763245, -0.44088828563690186, -0.7596323490142822, -0.25327247381210327, -0.8440881967544556, -0.409649521112442, -0.3050048351287842, 0.08770660310983658, 0.037466470152139664, -0.010686870664358139, -1.028361201286316, 0.4217401146888733, 0.2735237777233124, -0.6666334271430969, 1.0500863790512085, -0.03424214571714401, 0.46281498670578003, -0.8717961311340332, -0.06453443318605423, 0.2964550256729126, -0.015744846314191818, -0.3673252463340759, -0.34150591492652893, -0.17942817509174347, -0.34612688422203064, -0.2006337195634842, 0.36116042733192444, -0.5251343250274658, -0.45687440037727356, 0.051394056528806686, 0.23886778950691223, 0.4095168709754944, 0.3129280209541321, -0.027610329911112785, 0.9591178894042969, 0.34033632278442383, -0.16036058962345123, 0.7154181599617004, 0.20627205073833466, -0.54852694272995, 0.7537858486175537, -0.7514164447784424, 0.21247078478336334, -0.2690216600894928, 0.21746061742305756, -0.695101261138916, -0.37965837121009827, 0.3537566363811493, -0.6611613631248474, 0.0008425461128354073, 0.11024922877550125, -0.7827852964401245, -0.5458256602287292, -0.4496767520904541, 0.12388032674789429, 0.8015540242195129, -0.27544236183166504, 0.3070603311061859, -0.14238746464252472, -0.6757394671440125, 0.011832202784717083, -0.5071150660514832, 0.15097858011722565, -0.7994662523269653, -0.5798923969268799, 0.32117173075675964, -0.10399100184440613, -0.49301058053970337, -0.016809310764074326, 0.35792073607444763, 0.16649183630943298, -0.41873273253440857, 0.24555280804634094, -0.04118071496486664, -0.28506040573120117, 0.06386591494083405, -0.04176460579037666, -0.2877071499824524, 0.3029787838459015, 0.09680227190256119, 0.38173383474349976, -0.07472581416368484, -0.22906143963336945, -0.5787503123283386, 0.6372107267379761, 0.4240284562110901, 0.01663551665842533, 0.5817016363143921, 0.7885429859161377, 0.06572970747947693, 0.00239800987765193, -0.284950852394104, -0.11435168236494064, -0.36292633414268494, 0.1835182011127472, -0.3638957440853119, -0.7938743233680725, 0.6737381815910339, 0.6347039341926575, -0.12555378675460815, 0.8137549161911011, 0.541677713394165, -0.25010448694229126, 1.0943833589553833, 0.5835720896720886, 0.10145039856433868, 0.2541268765926361, -0.05183632671833038, 0.23000551760196686, -0.6080376505851746, -0.03959833085536957, -0.45597678422927856, -0.5335303544998169, -0.47255876660346985, 0.02561551332473755, 0.3831324875354767, -0.019063228741288185, -0.4692894518375397, 0.13465625047683716, -0.5435171723365784, 0.8854715824127197, 0.6338761448860168, -0.07793936878442764, 0.23799863457679749, -0.03277919441461563, 0.1515369713306427, -0.4675452709197998, -0.49926647543907166, -0.754220724105835, 0.7913066744804382, 0.3412516117095947, 0.40642330050468445, 0.04368048161268234, 0.6375226378440857, 0.5876098871231079, 0.16787798702716827, -0.3650049567222595, 0.36509594321250916, -0.30974462628364563, -0.3449915945529938, -0.0766652300953865, -0.6388400793075562, -0.7248312830924988, 0.09453379362821579, -0.09883403033018112, -0.8349338173866272, 0.09900747984647751, 0.00885302759706974, -0.722015917301178, 0.197860985994339, -1.1355048418045044, 0.9538033604621887, -0.14494599401950836, -0.0035144551657140255, 0.10645387321710587, -0.6675788164138794, 0.23687489330768585, 0.14371465146541595, -0.32328444719314575, -0.2874201834201813, 0.40275028347969055, 0.7753667235374451, -0.5589537024497986, 0.9294929504394531, -0.2883061170578003, -0.022448472678661346, 0.7444098591804504, 0.1740090698003769, 0.23269958794116974, 0.21500040590763092, 0.03588137775659561, -0.08430387824773788, -0.07905902713537216, -0.289764940738678, -0.673949122428894, 0.6003704071044922, -0.871451735496521, -0.3744654059410095, -0.4294215738773346, -0.6355511546134949, -0.09656733274459839, -0.1869882047176361, 0.7363190650939941, 0.5268989205360413, -0.4622578024864197, -0.11002496629953384, 0.19617807865142822, -0.40751612186431885, 0.5757660269737244, 0.05131461098790169, -0.11108344793319702, -0.2830229699611664, 0.8998361229896545, -0.03395469859242439, 0.20675700902938843, 0.21132344007492065, 0.3497263193130493, -0.505331814289093, -0.23862919211387634, -0.33856523036956787, 0.3957764804363251, -0.6394011378288269, -0.11208069324493408, -0.4933454394340515, -0.1366613805294037, -0.1959967464208603, -0.37464213371276855, 0.0513136200606823, -0.30903160572052, -0.4486835300922394, -0.4720735549926758, 0.5761882066726685, 0.9789302349090576, -0.11024753749370575, 0.22827351093292236, -0.8006176352500916, 0.477033406496048, 0.37465760111808777, 0.0932152271270752, -0.1862061321735382, -0.24611550569534302, 0.025600815191864967, -0.07121753692626953, -0.42574456334114075, -0.7391137480735779, 0.49473848938941956, 0.13365963101387024, 0.2031189203262329, 0.31758856773376465, 0.016983678564429283, 0.4406488239765167, -0.20794251561164856, 1.2478641271591187, 0.3174412250518799, -0.8079642057418823, 0.4994325041770935, -0.6777118444442749, 0.3676542043685913, 0.42550376057624817, 0.45761626958847046, -0.7076351642608643, -0.22452037036418915, -0.7526180744171143, -0.48936158418655396, 0.38720813393592834, 0.4414176046848297, 0.00850182306021452, -0.06140962615609169, 0.42911216616630554, 0.6417878866195679, 0.12332866340875626, -0.6265106797218323, 0.15689407289028168, -0.3300052285194397, -0.42602139711380005, -0.3328206539154053, -0.3430592119693756, -0.004228092264384031, -0.24152253568172455, 0.12212760746479034, -0.046369001269340515, 0.6105732321739197, 0.09622861444950104, -0.00925609190016985, -0.055379126220941544, 0.06656397134065628, 0.6001895070075989, 0.7418729066848755, -0.09644103795289993, 0.18842250108718872, -0.014271589927375317, -0.6108527779579163, -0.014232865534722805, -0.045483771711587906, 0.00538646150380373, 0.14318230748176575, 0.9764833450317383, 1.1089732646942139, -0.2617254853248596, -0.5559468269348145, 0.37884384393692017, -0.28633642196655273, -0.5041499733924866, -0.05010795593261719, 0.19627273082733154, -0.06269808113574982, 0.49982354044914246, 0.22156694531440735, -0.18942180275917053, 0.07562369853258133, -0.6002678275108337, -0.15399156510829926, -0.21245840191841125, -0.15297912061214447, -0.6868050694465637, 0.4413113296031952, 0.2634458541870117, -0.20135711133480072, 1.0075722932815552, -0.452853262424469, -0.2711482346057892, 0.7869665026664734, 0.4193669259548187, 1.1374962329864502, 0.19078727066516876, 0.6430150270462036, 0.4340745210647583, 0.07278622686862946, 0.13646499812602997, 0.29790592193603516, 0.23051010072231293, -0.48174670338630676, -0.22234298288822174, -0.6233837008476257, -0.14390569925308228, 0.25449737906455994, -0.6237034201622009, 0.2005809098482132, -0.15001295506954193, -0.07584066689014435, 0.12400052696466446, 0.07043687999248505, -0.5820372104644775, 0.1390264928340912, -0.01803651452064514, 0.3001992702484131, -1.045516014099121, 0.2376033067703247, 0.48335930705070496, -0.5068685412406921, -0.576254665851593, 0.28513190150260925, 0.1190321072936058, -0.2983228862285614, 0.5018215179443359, 0.3357846140861511, 0.16612035036087036, -0.07510137557983398, -0.35016822814941406, -0.3560703694820404, 1.1056820154190063, 0.4893501400947571, -0.46475866436958313, -0.10244058817625046, 0.4890698492527008, 0.920068621635437, -0.5444318056106567, 0.02639913745224476, 0.6445813775062561, 0.39789679646492004, -0.17201241850852966, -0.7231281995773315, -0.02899971231818199, -0.25615185499191284, 0.052815038710832596, 0.11940781027078629, -0.30779972672462463, 1.0166964530944824, -0.44043606519699097, -0.5265449285507202, 0.12391318380832672, 0.5224584341049194, 0.5212377309799194, 0.338344544172287, 0.27144426107406616, 0.4161706268787384, 0.5755337476730347, -0.248320072889328, 1.349230170249939, 0.06541988998651505, 0.24925142526626587, 0.8727971315383911, -0.3257429897785187, 0.15999555587768555, 0.14954492449760437, -0.36642739176750183, 0.48242852091789246, 0.9038792252540588, -0.08027814328670502, 0.42848822474479675, 0.27180731296539307, -0.3427465260028839, 0.019223889335989952, 0.18170103430747986, -0.500482439994812, 0.07878424972295761, -0.01869886927306652, -0.5081673860549927, -0.2524336278438568, 0.2497575283050537, -0.007632231805473566, 0.10541535168886185, -0.14777082204818726, 0.8510615825653076, 0.12368174642324448, -0.41096988320350647, 0.30748409032821655, -0.24432392418384552, 0.32430222630500793, -0.36921197175979614, -0.010511528700590134, -0.3503815233707428, -0.1132090762257576, 0.004152962472289801, -1.2036136388778687, 0.5010455846786499, 0.43582677841186523, -0.5499336123466492, -0.4389878511428833, 0.6525077819824219, -0.20953789353370667, -0.40939009189605713, -0.28461337089538574, 0.6027116775512695, 0.22523483633995056, -0.434567928314209, -0.4701518416404724, 0.012786932289600372, -0.16774289309978485, -0.1995019167661667, 0.2158251851797104, 0.8008251786231995, -0.2629794180393219, 0.31153467297554016, 0.3006260097026825, -0.08201660215854645, -0.1616813689470291, 0.44659796357154846, 0.6001201868057251, -0.8956810832023621, -0.837123692035675, -0.8621258735656738, 0.6535400748252869, -0.10275586694478989, -0.6598467230796814, 0.6877237558364868, 0.4932531714439392, 0.4000033140182495, -0.5223504304885864, 0.9364223480224609, -0.32411593198776245, 0.8669235110282898, -0.5950806736946106, 0.806846559047699, -0.07641015201807022, 0.15207090973854065, -0.12477489560842514, -1.1851413249969482, -0.12603019177913666, 0.32940149307250977, -0.41602444648742676, 0.33027252554893494, 0.956628680229187, 0.5757962465286255, 0.09746694564819336, 0.10849304497241974, 0.03367181867361069, -0.03851994499564171, 0.22272075712680817, 0.4165033996105194, 1.235023856163025, 0.07092223316431046, 0.11104179173707962, -0.17277629673480988, 0.005504894070327282, -0.011291750706732273, -0.8698300123214722, -0.940529465675354, -0.778990626335144, -0.35158565640449524, -0.02591950260102749, 0.07756155729293823, 0.42913320660591125, 0.2745065689086914, -0.47630375623703003, 0.0954466313123703, -0.07988345623016357, -0.10266967862844467, -0.21776741743087769, -0.2928646206855774, 0.27826058864593506, 0.010680885054171085, -0.44837111234664917, 0.1143839955329895, 0.013570579700171947, 0.2394205629825592, -0.37110641598701477, -0.0521434023976326, 0.4826776385307312, -0.09313606470823288, 0.5584284067153931, 0.19092510640621185, -0.446505606174469, -0.5568885207176208, -0.22958119213581085, -0.07501388341188431, 0.18140603601932526, 1.2195922136306763, -0.6602068543434143, 0.03499700501561165, 0.706899881362915, -0.003952463623136282, 0.30993494391441345, 0.2128523290157318, 0.6400142908096313, -1.1306791305541992, -0.10139045864343643, 0.25029680132865906, 0.2152082771062851, 0.53528892993927, -0.677726686000824, 0.404262900352478, 0.440358430147171, -0.5768934488296509, -0.4879004657268524, 0.419931560754776, -0.8117830157279968, -0.1585617959499359, 0.942083477973938, -0.05713830888271332, 0.04463309422135353, 0.1082715168595314, -0.47841310501098633, 0.03431152552366257, -0.25792428851127625, 0.8589736223220825, 0.7946294546127319, -0.5639144778251648, -0.40059539675712585, -0.6629126667976379, 0.6670212745666504, -0.10892650485038757, -0.8909710645675659, 0.20265400409698486, 0.7235915660858154, 0.19308023154735565, 0.02526511438190937, 0.5918878316879272, -0.03969796746969223, 0.13388682901859283, 0.35220012068748474, 0.20660634338855743, -0.09386659413576126, -0.40070661902427673, -0.07498915493488312, 0.38077789545059204, -0.24410676956176758, 0.0937768816947937 ]
http://arxiv.org/abs/2406.16758v1
http://arxiv.org/pdf/2406.16758v1
Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters
2024-06-24T16:06:50
2024-06-24T16:06:50
Euiin Yi, Taehyeon Kim, Hongseok Jeung, Du-Seong Chang, Se-Young Yun
cs.CL
cs.CL
Large language models (LLMs) have revolutionized natural language processing and broadened their applicability across diverse commercial applications. However, the deployment of these models is constrained by high inference time in multilingual settings. To mitigate this challenge, this paper explores a training recipe of an assistant model in speculative decoding, which are leveraged to draft and-then its future tokens are verified by the target LLM. We show that language-specific draft models, optimized through a targeted pretrain-and-finetune strategy, substantially brings a speedup of inference time compared to the previous methods. We validate these models across various languages in inference time, out-of-domain speedup, and GPT-4o evaluation.
[ -0.19456544518470764, -0.7260661721229553, 0.6463071703910828, 0.40030544996261597, -0.16479994356632233, 0.22645477950572968, -0.2701803147792816, -0.6289477944374084, 0.23128437995910645, 0.73259037733078, -0.7222996354103088, -0.20004768669605255, -0.5699360966682434, 0.36697688698768616, -0.2908104658126831, 0.7469436526298523, -0.1823786497116089, 0.0029359920881688595, 0.15922875702381134, 0.14811697602272034, 0.053542908281087875, -0.7900108695030212, -0.9014365673065186, -0.1921391785144806, 0.3973099887371063, 0.17857740819454193, 0.5547621250152588, 0.6941502094268799, 0.028361773118376732, 0.29850393533706665, -0.03125670179724693, 0.3308403193950653, -0.4734889268875122, 0.07969720661640167, 0.06954506784677505, -0.7318923473358154, -0.47922661900520325, 0.001558325719088316, 0.5942936539649963, 0.6093704700469971, -0.06289933621883392, 0.061868079006671906, -0.2495793253183365, 0.3408508002758026, -0.8315519094467163, 0.05201910808682442, -0.9734829664230347, 0.015177000313997269, -0.3850610554218292, -0.2469879686832428, -0.8131816983222961, -0.23824410140514374, 0.01673905737698078, -0.9216122031211853, 0.5474280714988708, 0.08651942759752274, 0.6841030716896057, 0.05539074167609215, -0.46535590291023254, -0.16744957864284515, -0.6486502885818481, 0.6395670771598816, -0.8339168429374695, 0.7057502865791321, 0.4279692471027374, 0.34281718730926514, -0.13275398313999176, -0.8462535738945007, -0.6648593544960022, -0.23581606149673462, 0.07805278897285461, 0.011704746633768082, 0.25907957553863525, 0.12048632651567459, 0.14757829904556274, 0.18466445803642273, -0.5490289330482483, 0.24638721346855164, -0.00277545559220016, -0.5005199313163757, 0.6044065952301025, 0.09454513341188431, 0.00012684422836173326, 0.16637438535690308, -0.19915390014648438, 0.09701663255691528, -0.6075258851051331, -0.2524794340133667, 0.7436131238937378, 0.1866876631975174, -0.20605553686618805, 0.43283727765083313, -0.31699907779693604, 0.644177258014679, 0.14452993869781494, -0.2515662908554077, 0.18086402118206024, -0.5235877633094788, -0.1748199462890625, -0.0949382334947586, 0.6838932633399963, 0.03246635943651199, 0.3396758735179901, -0.4145452380180359, -0.20626749098300934, 0.2267262041568756, -0.14631813764572144, -0.7597541213035583, -0.20562663674354553, 0.21084202826023102, -0.25732704997062683, -0.04052101820707321, -0.27971237897872925, -0.5613575577735901, -0.1342644989490509, -0.10818634182214737, -0.052918922156095505, -0.4623546302318573, -0.39798691868782043, 0.48368871212005615, -0.23263035714626312, 0.1789112091064453, 0.3271392285823822, -1.3487017154693604, 0.08237779140472412, 0.5471442341804504, 0.6031330227851868, -0.2458261400461197, -0.6603288650512695, -0.7018754482269287, 0.40196117758750916, -0.7041620016098022, 1.1247230768203735, -0.6328177452087402, -0.3697085380554199, -0.019447702914476395, -0.09276002645492554, -0.27355507016181946, -0.14278897643089294, 0.7194989919662476, -0.8212169408798218, -0.08949340879917145, -0.16997136175632477, -0.6349577903747559, 0.1965656876564026, 0.5975227952003479, -0.7363058924674988, 0.7887623906135559, -0.024829445406794548, -0.7699036598205566, 0.661694347858429, -0.3210817277431488, -0.5371708273887634, -0.044337838888168335, -0.05763925611972809, 0.00899076834321022, 0.030076516792178154, 0.6771656274795532, 0.696291983127594, -0.3926413357257843, 0.15384289622306824, -0.4184924364089966, -0.5512735247612, 0.03860330954194069, -0.768807053565979, 0.4664267599582672, 0.4192914664745331, 0.11042822152376175, 0.14533722400665283, -0.7647085785865784, 0.06774324923753738, 0.16863355040550232, -0.6520689129829407, -0.1667962670326233, -0.29861676692962646, 0.11035823822021484, 0.029903599992394447, 0.03084985539317131, -0.3136497437953949, 0.2531799376010895, -0.553306519985199, 0.4642723500728607, 0.608210027217865, -0.03572242707014084, 0.4967670738697052, 0.0015936625422909856, 0.7723084092140198, -0.023271072655916214, 0.0754648894071579, -0.45364224910736084, -0.06529060006141663, -0.8174040913581848, -0.38164883852005005, 0.5211361050605774, 0.451309472322464, -1.2991911172866821, 0.018963707610964775, -0.21024630963802338, -0.31111180782318115, -0.6441070437431335, 0.10344653576612473, 0.48241108655929565, 0.10659117996692657, 0.19162297248840332, 0.24398677051067352, -0.4407854378223419, -0.7549586892127991, -0.5918020009994507, 0.011438514105975628, 0.21471558511257172, -0.06944604218006134, 0.2425604909658432, -0.32216572761535645, 0.315611332654953, -0.3197699785232544, 0.22129736840724945, -0.848547637462616, 0.3111967444419861, 0.21167755126953125, 0.3621320128440857, 0.6440892815589905, -0.5875543355941772, -0.5186863541603088, -0.028599590063095093, -0.6125989556312561, 0.06361386179924011, -0.35619112849235535, -0.2674897313117981, 0.3054944574832916, 0.8623281717300415, -0.7315487265586853, 0.022071173414587975, 0.6380489468574524, -0.3129770755767822, 0.7273650765419006, -0.47371602058410645, 0.2035515159368515, -1.0375195741653442, -0.09738070517778397, -0.022103043273091316, -0.1629224568605423, -0.6558441519737244, 0.3508627116680145, 0.2152148336172104, -0.02306544780731201, -0.5338541269302368, 0.8992601633071899, -0.8527647256851196, 0.20377254486083984, -0.12996011972427368, -0.09938988834619522, 0.11008494347333908, 0.39224115014076233, 0.38735008239746094, 0.8255494832992554, 0.5434824228286743, -0.5085142254829407, -0.029342127963900566, -0.13315652310848236, -0.28198179602622986, 0.1478903740644455, -0.47532254457473755, 0.3955516815185547, -0.03554894030094147, 0.4957749545574188, -0.7384236454963684, -0.39008674025535583, 0.012167566455900669, -0.0009428969933651388, 0.41026008129119873, -0.2594819962978363, -0.7714905142784119, -0.4375247061252594, -0.21705791354179382, 0.6489142775535583, 0.0206980612128973, -0.5174739956855774, 0.863645613193512, 0.220541313290596, 0.04524403065443039, -0.8052079081535339, -0.7403641939163208, -0.020640084519982338, -0.1227664053440094, -0.5714135766029358, 0.27708950638771057, -0.05180429294705391, -0.22458094358444214, -0.3171965479850769, 0.13050708174705505, -0.21006010472774506, 0.1550271064043045, -0.25348836183547974, 0.14555910229682922, -0.20458675920963287, -0.16223667562007904, 0.4254944324493408, -0.32653284072875977, -0.10051607340574265, -0.3620750606060028, 0.49757638573646545, 0.15077848732471466, -0.4669680595397949, -0.275701642036438, 0.4865683615207672, 0.4770028293132782, -0.3988317549228668, 0.6006447076797485, 0.6864668130874634, -0.06957721710205078, -0.4493420720100403, -0.992620587348938, -0.23400256037712097, -0.4419911503791809, 0.38519957661628723, -0.8076149821281433, -0.7830774188041687, 0.5821539759635925, -0.22439660131931305, 0.11567351222038269, 0.3793932795524597, 0.5021592378616333, 0.5513783097267151, 0.8422501087188721, 0.760488748550415, 0.0334770530462265, 0.26287153363227844, -0.36746299266815186, 0.09230048954486847, -0.59824138879776, -0.09649527072906494, -0.5224438905715942, 0.17209036648273468, -0.346812903881073, -0.7549303770065308, 0.1619122177362442, 0.01638237200677395, 0.14703714847564697, -0.021243223920464516, 0.07471083104610443, 0.8550750613212585, 0.5411857962608337, -0.04543504863977432, 0.3785162568092346, -0.1699310541152954, -0.5391851663589478, 0.1196751594543457, -0.9833154082298279, -0.44450896978378296, 1.1750972270965576, 0.30274340510368347, 0.7804078459739685, -0.060561403632164, 0.585608184337616, -0.1290448158979416, 0.22698651254177094, -0.6234825849533081, 0.48198679089546204, -0.2718622088432312, -0.8355506062507629, -0.23136049509048462, -0.2950354516506195, -0.5798715949058533, 0.3693735599517822, -0.2596963346004486, -0.49133238196372986, 0.05860443040728569, 0.43945246934890747, -0.43949270248413086, 0.2912713289260864, -0.9996012449264526, 0.8483298420906067, -0.21535378694534302, -0.5041903257369995, -0.3405364453792572, -0.4830601215362549, 0.5678634643554688, -0.34556108713150024, 0.1671789139509201, -0.2141929417848587, 0.09515305608510971, 0.3825255036354065, -0.24869370460510254, 0.7044638991355896, -0.0147932143881917, -0.10241905599832535, 0.19792720675468445, 0.2892330288887024, 0.7380613088607788, 0.2508249580860138, -0.6704245209693909, 0.24824237823486328, -0.04502492398023605, -0.462752103805542, -0.41051584482192993, 0.6148548722267151, -0.7028138637542725, -0.5777535438537598, -0.2567865550518036, -0.7745019793510437, -0.5814055800437927, 0.21511410176753998, 0.5415073037147522, 0.34391602873802185, -0.3756886422634125, -0.36029937863349915, 0.5106748342514038, -0.11832381039857864, 0.4151265323162079, 0.6579344868659973, -0.03879345580935478, -0.07454261183738708, 0.6097678542137146, -0.019999278709292412, 0.3836780786514282, 0.5824218988418579, 0.08873976767063141, -0.4597458839416504, -1.0251185894012451, -0.6569811105728149, 0.3460431694984436, -0.8081329464912415, 0.1082482635974884, -0.8089853525161743, -0.002970114117488265, -0.4844619333744049, -0.2372642606496811, -0.48187702894210815, -0.3230389356613159, -0.13595296442508698, -0.22188995778560638, 0.2014935314655304, 0.5258546471595764, 0.18827547132968903, 0.3932119905948639, -0.7581743001937866, 0.45017802715301514, 0.017314523458480835, 0.2070140391588211, 0.10073903203010559, -0.5234503149986267, -0.3880181908607483, -0.08566296100616455, 0.03677497059106827, -0.5161997675895691, 0.2787375748157501, 0.14944934844970703, 0.8479580283164978, 0.4394013583660126, -0.07276711612939835, 0.742595374584198, -0.7615563869476318, 0.7586866021156311, -0.010200726799666882, -0.908882200717926, 0.2427748292684555, -0.36082419753074646, 0.44826218485832214, 0.4900549054145813, 0.4702334403991699, -0.35839909315109253, -0.5726638436317444, -0.3145449757575989, -0.8629233837127686, 0.6231385469436646, -0.11060280352830887, 0.253546804189682, -0.27869918942451477, 0.41283559799194336, 0.49486759305000305, -0.014003416523337364, -0.47750797867774963, -0.02356662042438984, -0.04073986038565636, 0.1226760596036911, -0.31613627076148987, -0.6321067214012146, 0.1875111609697342, -0.11248067021369934, 0.6570725440979004, -0.4706498980522156, 0.08422043919563293, 0.013271514326334, -0.16020755469799042, 0.12964849174022675, 0.3090858459472656, 0.5026661157608032, 0.6461352109909058, -0.032314982265233994, 0.11193834245204926, 0.40906062722206116, -0.30462193489074707, 0.1843983232975006, 0.3586118519306183, 0.16118119657039642, 0.04097751900553703, 0.8146222233772278, 0.8942307829856873, 0.3181355595588684, -0.48967570066452026, 0.12211154401302338, -0.44138815999031067, -0.38923928141593933, -0.058971527963876724, 0.04112448915839195, 0.24891139566898346, 0.24327674508094788, 0.21994517743587494, 0.10468122363090515, 0.09122297167778015, -0.4205070734024048, -0.05427874997258186, 0.32660427689552307, 0.2596280872821808, -0.4794391393661499, 0.8204391598701477, 0.2926538586616516, 0.08131769299507141, 0.48735952377319336, -0.37761190533638, -0.33421632647514343, 0.36787620186805725, 0.6546411514282227, 0.8717222809791565, -0.2020093947649002, 0.03835694119334221, 0.15263590216636658, 0.1987142562866211, -0.405140221118927, 0.39097678661346436, 0.05655759572982788, -0.9448860287666321, -0.7367900609970093, -0.7041200995445251, -0.2777169942855835, 0.1124955415725708, -0.3263312578201294, 0.13558930158615112, -0.2969796061515808, -0.12102984637022018, 0.010602828115224838, -0.1630864441394806, -0.8782700896263123, -0.012648948468267918, 0.08907592296600342, 1.233071208000183, -0.7886485457420349, 1.18601655960083, 0.5229801535606384, 0.09484083950519562, -1.0315402746200562, 0.30481550097465515, -0.03509172797203064, -0.7722728848457336, 0.7174265384674072, 0.07948850840330124, -0.34628117084503174, 0.06641771644353867, 0.0438462570309639, -0.7151141166687012, 0.7090588808059692, 0.9258540868759155, -0.8416739106178284, -0.32056328654289246, -0.01121148094534874, 0.4978654682636261, -0.23190070688724518, 0.4299107491970062, 0.7686783671379089, 0.4036622941493988, 0.14687703549861908, -0.9301663041114807, -0.07219813764095306, -0.27341005206108093, 0.027657652273774147, 0.05595919117331505, -0.5477831363677979, 0.934436559677124, -0.3902139365673065, 0.008825775235891342, 0.1495806872844696, 0.7425308227539062, 0.31499725580215454, 0.10884544253349304, 0.43993112444877625, 0.3734283149242401, 0.8119583129882812, 0.10617227107286453, 1.4862911701202393, -0.5610345602035522, -0.1088603064417839, 1.1031460762023926, -0.4588528871536255, 0.8043779730796814, 0.5147300362586975, 0.14545810222625732, 0.21756118535995483, 0.7960835695266724, 0.37803915143013, 0.5139386057853699, -0.04033620283007622, -0.359355628490448, -0.45534276962280273, -0.1332445591688156, -0.3224605917930603, 0.42723900079727173, 0.42291542887687683, -0.3133056163787842, -0.08092863857746124, -0.0709291622042656, 0.09902285784482956, 0.10363226383924484, -0.289811372756958, 0.5748447775840759, 0.07570625841617584, -0.9173851609230042, 0.6968675851821899, 0.23844242095947266, 0.7481640577316284, -0.8157505393028259, 0.22760264575481415, -0.28378424048423767, 0.4340444505214691, 0.22546909749507904, -0.36366575956344604, 0.18560299277305603, -0.02070525661110878, -0.07029230892658234, -0.30598801374435425, 0.42524638772010803, -0.440678209066391, -0.8216384053230286, 0.45502135157585144, 0.7895269989967346, 0.025445200502872467, -0.13010382652282715, -0.6688091158866882, 0.3220210373401642, -0.18811744451522827, -0.4763157367706299, 0.10903897136449814, 0.9050998091697693, -0.2931824028491974, 0.6163343191146851, 0.8169211745262146, 0.3450264632701874, 0.09033223241567612, 0.48644208908081055, 0.8373327851295471, -0.33342140913009644, -0.7789452075958252, -1.03014075756073, 0.2774648368358612, 0.25327229499816895, -0.37282827496528625, 0.875950276851654, 0.49385061860084534, 0.8732704520225525, -0.33442139625549316, 0.8469910621643066, 0.5159965753555298, 0.25181061029434204, -1.0536248683929443, 0.5931381583213806, -0.298152357339859, 0.3111852705478668, -0.08728329837322235, -0.6517548561096191, -0.20605269074440002, 0.2903178334236145, -0.34987279772758484, 0.04919349402189255, 0.76806640625, 0.8220534920692444, -0.26917704939842224, -0.10504021495580673, 0.31697285175323486, 0.027909237891435623, 0.36724188923835754, 0.6018677353858948, 0.9111166000366211, -0.18511494994163513, 0.4405657649040222, -0.2834569215774536, 0.013702940195798874, -0.12767992913722992, -1.1727848052978516, -1.3589226007461548, -0.32457268238067627, -0.04673793539404869, -0.10594876855611801, 0.22458535432815552, 0.9308345913887024, 1.0688916444778442, -0.6007145643234253, -0.26981812715530396, -0.08740010112524033, -0.006507002282887697, -0.28731420636177063, -0.12215632200241089, 0.27666980028152466, -0.3713294267654419, -0.7842708826065063, 0.6147297024726868, 0.07265227288007736, 0.17566965520381927, -0.21335025131702423, -0.14470280706882477, -0.28905412554740906, 0.32876718044281006, 0.6226557493209839, 0.017574431374669075, -0.7944846153259277, 0.20506106317043304, 0.03817383572459221, -0.005517374724149704, -0.30493485927581787, 1.1661670207977295, -0.6268627047538757, 0.36113137006759644, 0.41989415884017944, 0.6462193131446838, 0.6490252614021301, -0.20909276604652405, 0.9585303664207458, -0.8046417832374573, 0.8862735629081726, 0.1395372748374939, 0.5062590837478638, 0.20445547997951508, -0.567467451095581, 0.34699463844299316, 0.15186510980129242, -0.1751602441072464, -0.7872743010520935, 0.18292294442653656, -0.4156017601490021, -0.39791762828826904, 1.2010424137115479, -0.37646639347076416, -0.17647744715213776, -0.18267902731895447, -0.14119559526443481, 0.23855377733707428, -0.41792744398117065, 0.5934223532676697, 0.6501519083976746, 0.060794565826654434, -0.1402982920408249, -0.5592967867851257, 0.5384942293167114, 0.25205138325691223, -0.904687225818634, 0.2637055814266205, 0.20713169872760773, 0.10457661747932434, -0.041787926107645035, 1.0144096612930298, 0.25261539220809937, 0.21501417458057404, 0.3812110722064972, -0.11634108424186707, -0.28092873096466064, -0.5540720820426941, -0.07393009215593338, 0.07494752109050751, 0.37030476331710815, 0.2723124027252197 ]
http://arxiv.org/abs/2406.16751v2
http://arxiv.org/pdf/2406.16751v2
Towards Zero-Shot Text-To-Speech for Arabic Dialects
2024-06-24T15:58:15
2024-06-25T14:18:21
Khai Duy Doan, Abdul Waheed, Muhammad Abdul-Mageed
cs.CL
cs.CL, cs.SD, eess.AS
Zero-shot multi-speaker text-to-speech (ZS-TTS) systems have advanced for English, however, it still lags behind due to insufficient resources. We address this gap for Arabic, a language of more than 450 million native speakers, by first adapting a sizeable existing dataset to suit the needs of speech synthesis. Additionally, we employ a set of Arabic dialect identification models to explore the impact of pre-defined dialect labels on improving the ZS-TTS model in a multi-dialect setting. Subsequently, we fine-tune the XTTS\footnote{https://docs.coqui.ai/en/latest/models/xtts.html}\footnote{https://medium.com/machine-learns/xtts-v2-new-version-of-the-open-source-text-to-speech-model-af73914db81f}\footnote{https://medium.com/@erogol/xtts-v1-techincal-notes-eb83ff05bdc} model, an open-source architecture. We then evaluate our models on a dataset comprising 31 unseen speakers and an in-house dialectal dataset. Our automated and human evaluation results show convincing performance while capable of generating dialectal speech. Our study highlights significant potential for improvements in this emerging area of research in Arabic.
[ -0.43493014574050903, -0.4882436692714691, 0.4683561623096466, -0.05876971408724785, -0.3519267737865448, 0.297576904296875, -0.2037876695394516, -0.48201727867126465, 0.2720322906970978, 0.40107834339141846, -0.4625682234764099, -0.7772815823554993, -0.4793202877044678, 0.1922086924314499, -0.5744937658309937, 0.9125156402587891, 0.34537601470947266, -0.06590459495782852, 0.44067880511283875, -0.19307713210582733, -0.3593023717403412, -0.5669621229171753, -0.6380445957183838, -0.001552073284983635, 0.4626726508140564, 0.9412093162536621, 0.975346028804779, 0.6819857954978943, -0.3319929540157318, 0.19165869057178497, -0.04882558807730675, -0.07646748423576355, -0.11273674666881561, 0.40089213848114014, 0.03158790245652199, -0.03273159638047218, -0.4583702087402344, -0.4535442888736725, 0.6786940097808838, 0.6579739451408386, -0.09914615750312805, 0.07761593908071518, -0.23472358286380768, 0.5841549634933472, -0.6430029273033142, -0.059662118554115295, -0.6245976686477661, -0.03766210377216339, -0.4731474220752716, 0.1437995284795761, -0.4348220229148865, -0.10723067075014114, 0.28354769945144653, -0.09248936921358109, 0.32304948568344116, -0.1078772023320198, 0.598249077796936, -0.1591203510761261, -0.6566267609596252, -0.13033348321914673, -0.8604020476341248, 0.6774349212646484, -0.7526001930236816, 0.6071428060531616, 0.1285679191350937, 0.4459879994392395, 0.0725427195429802, -0.583450436592102, -0.5584181547164917, -0.42113301157951355, 0.3661280870437622, 0.10073386877775192, -0.19842176139354706, 0.1468556821346283, -0.19629362225532532, 0.205139622092247, -0.5926135182380676, 0.005682326387614012, -0.10821395367383957, -0.22623156011104584, 0.6000221371650696, 0.07840294390916824, 0.3094034194946289, -0.00316910189576447, -0.12711605429649353, 0.03281010687351227, -0.8140318393707275, -0.02976408414542675, 0.21054987609386444, 0.8670153021812439, -0.3524512052536011, 0.4007240831851959, -0.3658957779407501, 0.776095986366272, -0.05263378471136093, 0.11081159859895706, 0.13919775187969208, -0.46244531869888306, -0.0972495749592781, 0.4028701186180115, 0.8015967607498169, -0.12878276407718658, 0.3016766309738159, -0.340626984834671, -0.27720990777015686, -0.20944440364837646, 0.11265149712562561, -0.9361696839332581, -0.02218480594456196, 0.3729649484157562, 0.03158199414610863, -0.13146492838859558, -0.08914516866207123, -0.7391177415847778, -0.25335273146629333, -0.0691545307636261, 0.5833179354667664, -0.5924798250198364, -0.3075532615184784, 0.1236100047826767, -0.18073084950447083, -0.11277846992015839, 0.30811741948127747, -0.9039281606674194, 0.29643404483795166, 0.23292596638202667, 1.1276575326919556, 0.24790920317173004, -0.17073392868041992, -0.3606972396373749, 0.3965281844139099, -0.6279675364494324, 0.5490924715995789, -0.38563811779022217, -0.548653781414032, 0.21717624366283417, -0.5955026149749756, 0.20274917781352997, -0.5540501475334167, 0.4995030164718628, -0.2399802803993225, 0.01692277193069458, -0.17309045791625977, -0.31810325384140015, 0.06115478277206421, -0.11573505401611328, -0.652133047580719, 0.9653337001800537, 0.26788538694381714, -0.2867792844772339, -0.00022533272567670792, -0.6580954790115356, -0.5802852511405945, -0.03207824006676674, -0.2775644361972809, -0.5633761286735535, 0.28328579664230347, 0.28431737422943115, 0.210098534822464, -0.3754623830318451, 0.17088282108306885, 0.00530348252505064, -0.3623570203781128, 0.120822012424469, -0.5921319127082825, 0.7321692109107971, 0.3869931399822235, -0.6287291049957275, 0.15695367753505707, -0.8232527375221252, 0.3027060925960541, -0.033577173948287964, 0.20464348793029785, 0.03100508078932762, 0.09564711153507233, 0.364449143409729, 0.2144400030374527, -0.05537629872560501, -0.6425595283508301, -0.1405630260705948, -0.6862890720367432, 0.41467753052711487, 0.5192741751670837, -0.1587051898241043, 0.1957983523607254, -0.528870165348053, 0.40844860672950745, 0.13265195488929749, -0.14010325074195862, -0.541580319404602, -0.41075897216796875, -1.005530834197998, -0.5542625188827515, 0.4149855971336365, 0.3064809739589691, -0.8795834183692932, 0.4100499153137207, -0.3645625412464142, -0.7199093699455261, -0.4360322952270508, -0.32189521193504333, 0.40692031383514404, 0.3106323778629303, 0.5107815861701965, -0.48865553736686707, -0.5715340971946716, -0.823271632194519, -0.12088587135076523, -0.3330598473548889, -0.18046754598617554, 0.19774314761161804, 0.2676340341567993, 0.13116984069347382, 1.2263214588165283, -0.08647904545068741, -0.23657254874706268, -0.28288644552230835, 0.2256496697664261, -0.14428527653217316, 0.1385936290025711, 0.7298067808151245, -0.3610121011734009, -0.8151640892028809, 0.2527528703212738, -0.2662208378314972, -0.339234858751297, 0.06616294384002686, 0.17568059265613556, 0.528370201587677, 0.2487141638994217, -0.475667268037796, 0.5262722373008728, 0.44260039925575256, -0.4578454792499542, 0.6622211337089539, 0.20786476135253906, 0.10929325222969055, -1.1960965394973755, -0.051999181509017944, -0.025328228250145912, -0.3478653132915497, -0.992438793182373, -0.06830564141273499, -0.26189282536506653, -0.39833638072013855, -0.5541014671325684, 0.7049022912979126, -0.45165976881980896, -0.03478435054421425, -0.26078200340270996, 0.16437330842018127, -0.035006385296583176, 0.33375781774520874, 0.15578655898571014, 1.193750023841858, 0.5440263152122498, -0.37755197286605835, 0.2212103307247162, 0.15792742371559143, -0.4568426012992859, 0.3712044954299927, -0.6315076947212219, 0.3948069214820862, 0.042950183153152466, 0.11091054975986481, -1.1486544609069824, -0.06489913910627365, 0.33119016885757446, -0.7023404836654663, 0.15771271288394928, -0.10036332160234451, -0.2565157115459442, 0.12442364543676376, -0.3406418561935425, 0.5283250212669373, 0.34996941685676575, -0.25441375374794006, 0.48552095890045166, 0.28535568714141846, -0.7108851671218872, -0.3777828812599182, -0.361467570066452, 0.5720067620277405, 0.06128591299057007, -0.6098406314849854, 0.4233510494232178, 0.26749375462532043, -0.25982600450515747, -0.07321249693632126, -0.027713026851415634, -0.4374034106731415, -0.07361651211977005, 0.2089976966381073, -0.010693351738154888, -0.4891088902950287, 0.27737292647361755, 0.24488261342048645, 0.019293541088700294, -0.17107635736465454, -0.5000501275062561, 0.6274604797363281, 0.059653863310813904, -0.3481464684009552, -0.665518581867218, 0.765467643737793, 0.7591012716293335, -0.2031470239162445, 0.6500367522239685, 0.3973456919193268, -0.2213842123746872, -0.2180781066417694, -0.3289962112903595, 0.03449564799666405, -0.46277424693107605, 0.7159214615821838, -0.4583708941936493, -0.784661591053009, 0.2195063978433609, 0.08468521386384964, -0.07105714082717896, 0.3688959777355194, 0.60017991065979, 0.06134000048041344, 0.8905230164527893, 0.6775416731834412, -0.45615115761756897, 0.5646085143089294, 0.04494132846593857, 0.2938414514064789, -0.16036456823349, -0.04169074073433876, -0.9322193264961243, 0.06762896478176117, -0.4273702800273895, -0.2835373282432556, 0.7411243319511414, -0.28942230343818665, -0.5305357575416565, 0.20994272828102112, -0.1198946163058281, 0.2217150777578354, 0.73197340965271, -0.012840572744607925, 0.09735991060733795, 0.36139801144599915, -0.1430020034313202, 0.004636470228433609, -0.7642409801483154, -0.5784627795219421, 1.0755553245544434, 0.05289332568645477, 0.24747242033481598, 0.5140581727027893, 0.764180064201355, 0.6550740003585815, 0.12137014418840408, -0.7904103994369507, 0.48065176606178284, -0.0847526416182518, -0.46112900972366333, -0.538031280040741, -0.2351546734571457, -0.8809762597084045, 0.09790819138288498, -0.011171003803610802, -0.667289137840271, -0.11574636399745941, 0.08027652651071548, -0.6318222284317017, 0.33037230372428894, -0.7485067844390869, 0.5394647717475891, -0.0765325054526329, -0.4074252247810364, -0.3012809455394745, -0.7033570408821106, -0.14078202843666077, -0.11536018550395966, 0.19559788703918457, -0.07748427242040634, 0.06041102483868599, 0.5517793893814087, -0.6679237484931946, 0.8125980496406555, -0.17718487977981567, -0.2062004953622818, 0.5522223114967346, -0.04963401332497597, 0.11476927250623703, -0.24428091943264008, -0.4768679738044739, 0.4989846646785736, 0.19511733949184418, -0.6463087201118469, -0.45855167508125305, 0.32880643010139465, -0.9934938549995422, -0.5579178333282471, -0.5352061986923218, -0.549627959728241, -0.4768666625022888, 0.05399854853749275, 0.17712587118148804, 0.7318029999732971, -0.4346391260623932, 0.025171326473355293, 0.27616214752197266, -0.2168424278497696, 0.5356269478797913, 0.6395036578178406, -0.339494913816452, -0.7478597164154053, 0.8552457690238953, 0.3241996169090271, 0.3644573986530304, 0.2613789737224579, -0.03787272050976753, -0.3932884633541107, -0.698232114315033, -1.1114284992218018, 0.11469969153404236, -0.30563387274742126, -0.2322787046432495, -0.09842311590909958, -0.43755778670310974, -0.7085252404212952, -0.006689332891255617, -0.41450226306915283, -0.5976437330245972, -0.25596383213996887, 0.04352341592311859, 0.30813533067703247, 0.8458937406539917, 0.0477852039039135, 0.6330474615097046, -1.0998461246490479, 0.2679814398288727, 0.10688834637403488, 0.1524648815393448, 0.11636222153902054, -0.961711049079895, -0.6306339502334595, 0.35826268792152405, -0.3816651701927185, -1.1953234672546387, 0.5384423732757568, 0.45399194955825806, 0.0009964810451492667, 0.459394633769989, 0.2811822295188904, 0.6658986806869507, -0.9053338766098022, 0.9481242895126343, 0.16862666606903076, -1.4569454193115234, 0.40815308690071106, -0.3864910900592804, 0.4347139596939087, 0.26694315671920776, 0.1814342439174652, -0.9976240992546082, -0.3913595676422119, -0.2712896466255188, -0.9131250381469727, 0.7462573647499084, 0.4587516188621521, 0.4114301800727844, -0.008315961807966232, 0.35944652557373047, 0.17189337313175201, 0.34138223528862, -0.41323593258857727, -0.5462836623191833, -0.17373119294643402, -0.4654013216495514, -0.15072770416736603, -0.437684029340744, 0.09622111171483994, -0.17442795634269714, 0.8447997570037842, -0.020576059818267822, 0.31007006764411926, 0.1380719095468521, 0.034562911838293076, -0.2537309527397156, 0.6600406765937805, 0.7289153337478638, 0.4661772549152374, -0.16276732087135315, 0.0966259092092514, -0.1033085435628891, -0.289714515209198, 0.5349976420402527, 0.24298334121704102, -0.43185877799987793, 0.5338537693023682, 0.28842470049858093, 0.9167633056640625, -0.08186805993318558, -0.7183238863945007, 0.3590748608112335, 0.23184527456760406, -0.14151185750961304, -0.3869132101535797, -0.04751964285969734, -0.2296631932258606, 0.1854282021522522, 0.527011513710022, 0.08435752987861633, -0.036090970039367676, -0.7445351481437683, 0.3252065181732178, 0.5129903554916382, -0.42878085374832153, -0.5912006497383118, 0.4880782961845398, 0.5244798064231873, -0.7471333146095276, 0.3489821255207062, -0.13030049204826355, -0.5023499727249146, 0.5269177556037903, 0.5293532013893127, 0.9461498856544495, -0.6018640995025635, 0.4596390128135681, 0.18100284039974213, 0.12257353961467743, 0.25881102681159973, 0.3933957815170288, -0.28897374868392944, -0.6720491051673889, -0.28768253326416016, -0.27163273096084595, -0.7705111503601074, 0.06863485276699066, -0.5475155711174011, 0.4414365887641907, -0.30277422070503235, -0.28947845101356506, 0.048898618668317795, -0.11232327669858932, -0.16745205223560333, 0.3578132092952728, 0.33186858892440796, 0.7518391609191895, -0.9837138652801514, 1.1342145204544067, 0.41031864285469055, -0.26637157797813416, -0.5769314765930176, 0.2391791045665741, -0.02860407903790474, -0.6197704672813416, 0.26607686281204224, 0.17039130628108978, -0.5498684048652649, 0.27179795503616333, -0.3409019112586975, -0.9399616718292236, 0.7306263446807861, 0.6348125338554382, -0.7143402695655823, 0.16634534299373627, 0.7031880021095276, 0.46239978075027466, -0.05020425468683243, 0.42198094725608826, 0.3831314742565155, 0.17266498506069183, 0.18457594513893127, -1.1813753843307495, -0.3449974060058594, -0.06043814495205879, -0.13953760266304016, 0.34837573766708374, -0.7078357338905334, 0.9338454008102417, -0.2817261219024658, -0.3221316337585449, 0.6145895719528198, 0.7241841554641724, -0.12154921889305115, 0.48075562715530396, 0.2738494277000427, 0.5324530005455017, 0.5244665741920471, -0.07026834040880203, 0.6915246248245239, -0.42877477407455444, 0.09816514700651169, 1.231638789176941, -0.6832324862480164, 0.9750660061836243, 0.3538423478603363, -0.27983126044273376, 0.5924056172370911, 0.31490370631217957, 0.5245668888092041, 0.64022296667099, 0.09113682806491852, -0.9984727501869202, -0.15975968539714813, -0.4452354311943054, -0.5349932312965393, 0.6262986660003662, 0.2684158682823181, -0.27358758449554443, -0.3548608720302582, -0.21375052630901337, 0.0643492192029953, 0.07964612543582916, -0.2176814079284668, 0.5867109894752502, -0.20614483952522278, -0.48531678318977356, 0.7131670117378235, 0.45950350165367126, 0.2739488482475281, -0.8168572783470154, -0.03652695193886757, -0.2499290108680725, -0.032989807426929474, 0.11494322866201401, -0.46022942662239075, 0.3476818799972534, 0.24603590369224548, -0.14462098479270935, -0.0905442088842392, 0.4324248731136322, -0.6191361546516418, -0.4509393572807312, 0.08072174340486526, 0.9004794955253601, 0.0958285927772522, -0.2691914141178131, -0.2476636916399002, -0.0004534736508503556, 0.18638913333415985, 0.17848257720470428, 0.28961461782455444, 0.5463939905166626, -0.1518835425376892, 0.4669693112373352, 0.3037475049495697, 0.24710498750209808, -0.03975336626172066, 0.18043002486228943, 0.6311749219894409, -0.9102553129196167, -0.4225122928619385, -1.0486823320388794, 0.3851081430912018, 0.2579316794872284, -0.14358067512512207, 0.8259329199790955, 0.6619167327880859, 0.8636501431465149, 0.06594540178775787, 1.1386781930923462, 0.0841200053691864, 0.5831892490386963, -0.3573782742023468, 0.7200564742088318, -0.46591147780418396, 0.02730332687497139, -0.30932626128196716, -0.40876370668411255, -0.2498902976512909, 0.374867707490921, 0.06831091642379761, 0.16145296394824982, 0.4471594989299774, 0.9343242645263672, 0.27534759044647217, 0.1640796959400177, 0.7928122878074646, 0.2806338667869568, 0.18877962231636047, 0.3856319785118103, 0.8356574177742004, -0.4509293735027313, 0.5777861475944519, -0.22932551801204681, 0.04742051288485527, -0.033922504633665085, -0.7367956638336182, -0.517630398273468, -0.5479020476341248, -0.29093921184539795, -0.26570042967796326, 0.5220789909362793, 1.204596996307373, 0.7854306697845459, -1.0696488618850708, -0.7442134618759155, 0.1320422887802124, -0.000835301005281508, -0.2115967720746994, -0.11815454810857773, 0.25162917375564575, -0.11528075486421585, -0.8850427865982056, 0.5151082873344421, 0.5253796577453613, 0.1966799944639206, 0.001391520258039236, -0.06247486546635628, -0.11530973017215729, 0.3702159821987152, 0.6502059698104858, 0.34348633885383606, -0.7523654699325562, -0.42318397760391235, -0.14767791330814362, 0.11233356595039368, 0.33205753564834595, 0.6877005100250244, -0.965241551399231, 0.5255391001701355, -0.09098290652036667, 0.5556572079658508, 0.22059974074363708, -0.14398986101150513, 0.5061293244361877, -1.074429988861084, 0.3313744366168976, 0.31760841608047485, 0.11547697335481644, 0.4039076268672943, 0.20250211656093597, 0.20102539658546448, 0.2279636263847351, -0.2768894135951996, -0.7293995022773743, 0.39590945839881897, -0.7452127933502197, -0.15914005041122437, 1.071574330329895, -0.10465505719184875, 0.20304593443870544, -0.47860297560691833, -0.39905112981796265, 0.522341787815094, -0.6522780060768127, 0.95264732837677, 0.6244953274726868, -0.04178239032626152, -0.10138007998466492, -0.2801729142665863, 0.27916646003723145, 0.7891508340835571, -0.6414508819580078, -0.0013223268324509263, 0.7032589316368103, 0.10997533053159714, -0.005677474662661552, 0.7070091962814331, 0.27859094738960266, 0.3650125563144684, -0.05251696705818176, 0.11771877855062485, -0.07657122611999512, -0.48268479108810425, -0.48954537510871887, 0.24319373071193695, 0.3985239863395691, -0.4644855558872223 ]
http://arxiv.org/abs/2406.16748v1
http://arxiv.org/pdf/2406.16748v1
OCALM: Object-Centric Assessment with Language Models
2024-06-24T15:57:48
2024-06-24T15:57:48
Timo Kaufmann, Jannis Blüml, Antonia Wüst, Quentin Delfosse, Kristian Kersting, Eyke Hüllermeier
cs.LG
cs.LG, cs.CL
Properly defining a reward signal to efficiently train a reinforcement learning (RL) agent is a challenging task. Designing balanced objective functions from which a desired behavior can emerge requires expert knowledge, especially for complex environments. Learning rewards from human feedback or using large language models (LLMs) to directly provide rewards are promising alternatives, allowing non-experts to specify goals for the agent. However, black-box reward models make it difficult to debug the reward. In this work, we propose Object-Centric Assessment with Language Models (OCALM) to derive inherently interpretable reward functions for RL agents from natural language task descriptions. OCALM uses the extensive world-knowledge of LLMs while leveraging the object-centric nature common to many environments to derive reward functions focused on relational concepts, providing RL agents with the ability to derive policies from task descriptions.
[ -0.2770780920982361, -0.8238788843154907, 0.4797637462615967, 0.09283079206943512, 0.1774147003889084, 0.029647309333086014, -0.42764514684677124, -0.6137456893920898, -0.16117699444293976, 0.5053393840789795, -0.5768686532974243, -0.25500595569610596, -0.5665152072906494, -0.04271874576807022, 0.23381192982196808, 0.9813429117202759, -0.23340241611003876, -0.05648253113031387, -0.5136793255805969, -0.12923797965049744, -0.5739237666130066, -0.4138212203979492, -0.7812398672103882, -0.8381821513175964, 0.7263097763061523, 0.5377893447875977, 0.4803296625614166, 0.46615126729011536, 0.3350335657596588, 0.28880444169044495, 0.21953295171260834, 0.16014952957630157, -0.4811311364173889, 0.015560973435640335, -0.736547589302063, -0.39003825187683105, -0.6548478603363037, 0.06844749301671982, 0.20115779340267181, 0.4261731505393982, -0.2809082567691803, 0.1478336602449417, -0.11123312264680862, 0.4819943606853485, -0.8849912881851196, 1.0204241275787354, -0.48643797636032104, 0.3390929400920868, 0.4830324649810791, -0.2299869954586029, -0.6023087501525879, -0.19862687587738037, 0.2524825632572174, -0.5700297951698303, -0.2908951938152313, -0.01026998832821846, 0.7473828792572021, 0.3017076849937439, -0.097557432949543, -0.45906513929367065, -0.6380249857902527, 1.1165595054626465, -0.38240817189216614, 0.023805508390069008, 0.36387160420417786, 0.6137372255325317, 0.028535179793834686, -0.4282847046852112, -0.3908001482486725, -0.7835031747817993, -0.22333842515945435, 0.13387325406074524, 0.29295721650123596, -0.053334351629018784, 0.10987501591444016, 0.2968631684780121, -0.24489223957061768, 0.2208649069070816, -0.06444524228572845, -0.1462765485048294, 0.9469403624534607, 0.5112099647521973, 0.24749407172203064, -0.014939145185053349, -0.745948076248169, -0.45334360003471375, -0.4807121753692627, 0.5961264967918396, 0.25530630350112915, 0.5949200987815857, -0.049649711698293686, 0.6474456787109375, -0.32783934473991394, 0.7879198789596558, -0.22854459285736084, -0.3199023902416229, -0.019096538424491882, -0.08584384620189667, -0.15408071875572205, 0.2318354994058609, 0.7503331303596497, 0.4374847710132599, 0.36878103017807007, -0.41153576970100403, -0.5295458436012268, 0.13770049810409546, 0.6890888214111328, -0.9789674282073975, 0.16336962580680847, 0.361348032951355, -0.25094741582870483, -0.5386056303977966, 0.202140212059021, -0.7624083757400513, -0.5266038775444031, -0.5176447629928589, 0.5650124549865723, -0.19199416041374207, -0.4467408061027527, 0.5060015916824341, -0.045827388763427734, 0.373138427734375, 0.3395724594593048, -0.765163779258728, 0.4751288890838623, 0.6704853773117065, 0.25627174973487854, -0.42851558327674866, -0.5528770685195923, -0.8061425685882568, -0.18241484463214874, -0.0652402713894844, 0.7894673943519592, -0.4751245081424713, -0.40707024931907654, 0.2125450074672699, 0.11530398577451706, -0.27162888646125793, -0.549618661403656, 0.278778612613678, -0.5381022691726685, -0.07394284009933472, -0.05652268975973129, -0.41096031665802, -0.39199593663215637, 0.8429720401763916, -0.3923812806606293, 0.9801233410835266, 0.4494435489177704, -0.29961565136909485, 0.2637014091014862, -1.019500732421875, -0.3963767886161804, 0.06684659421443939, -0.22108067572116852, -0.32730725407600403, -0.050442494451999664, 0.12245424836874008, 0.48324888944625854, -0.3203023672103882, 0.22512035071849823, -0.3515048027038574, -0.14230644702911377, 0.5961182713508606, -0.04435824975371361, 0.21855804324150085, 0.1317257285118103, -0.5437085032463074, 0.26789095997810364, -0.42433297634124756, 0.21478073298931122, 0.3960510194301605, -0.2398701161146164, -0.1361927092075348, 0.29753178358078003, -0.044613905251026154, 0.1139330193400383, 0.5415664911270142, -0.6385328769683838, 0.2788796126842499, -0.2895616590976715, 0.2987592816352844, 0.5074476003646851, -0.09465152025222778, 0.4465000331401825, -0.34184160828590393, 0.7978018522262573, -0.1939495950937271, 0.3067379891872406, -0.0703558698296547, -0.09787816554307938, -0.4704352617263794, -0.24562519788742065, -0.032649531960487366, 0.6183244585990906, -0.5290364623069763, 0.372097373008728, -0.13295553624629974, -0.48935580253601074, -0.3089058995246887, -0.022986462339758873, 0.5273205637931824, 0.5088361501693726, 0.3823142349720001, -0.40729570388793945, -0.05915595218539238, -0.7218528985977173, -0.16680970788002014, -0.34493163228034973, 0.2923794984817505, 0.5947232246398926, 0.521456241607666, -0.12791620194911957, 1.0486559867858887, -0.7212876677513123, -0.6754277348518372, -0.5438144207000732, 0.1477179229259491, -0.12325132638216019, 0.22310706973075867, 0.3005291521549225, -0.7344350814819336, -0.3614409267902374, 0.3443354070186615, -0.8702560663223267, 0.01997075043618679, 0.03978322446346283, 0.04774915799498558, -0.04853788763284683, 0.554164707660675, -0.3478196859359741, 0.3922848701477051, -0.07410089671611786, -0.4250519573688507, 0.5808832049369812, -0.2929757833480835, 0.11341438442468643, -0.3726808726787567, 0.11254772543907166, -0.1332857608795166, -0.4887731969356537, -0.2214229255914688, 0.4328242242336273, 0.004145009443163872, 0.06351163983345032, -0.8213865756988525, 1.053929328918457, -0.24397803843021393, -0.2018931806087494, -0.5662338733673096, 0.3153720498085022, -0.016985664144158363, 0.8403324484825134, 0.44450435042381287, 0.3655184209346771, 0.5442404747009277, -0.6497138738632202, 0.37561869621276855, 0.08553947508335114, -0.048239342868328094, 0.9483522176742554, -0.6973578929901123, 0.0351053886115551, -0.16696420311927795, -0.12872937321662903, -0.5955837965011597, -0.0289753507822752, 0.20442640781402588, -0.3742823004722595, 0.06629724055528641, 0.019857531413435936, -0.23828351497650146, -0.16705898940563202, -0.2079036384820938, 0.42081499099731445, 0.21183058619499207, -0.5338300466537476, 0.7436357140541077, 0.4791746437549591, -0.06853106617927551, -0.6898618340492249, -0.32584986090660095, -0.47344550490379333, -0.12122824788093567, -0.1383618861436844, 0.14866076409816742, 0.003303815145045519, -0.21679948270320892, 0.19197480380535126, -0.013949248939752579, -0.009509013965725899, 0.4220833480358124, 0.4308760464191437, 0.47651633620262146, -0.10586224496364594, 0.20653969049453735, -0.4423268735408783, -0.11820397526025772, 0.44242358207702637, -0.18112888932228088, 0.5187877416610718, -0.43397223949432373, -0.4607952833175659, 0.03701993077993393, 0.06479933857917786, 0.36453351378440857, -0.5524757504463196, 0.5063896775245667, 0.7251118421554565, -0.18769924342632294, -0.5415905714035034, -0.21622158586978912, -0.29000917077064514, -0.380807489156723, 0.7126722931861877, -0.45638933777809143, -0.7168158888816833, 0.26102566719055176, 0.05167645961046219, 0.20265093445777893, 0.2697399854660034, 0.6907288432121277, 0.5025780200958252, 1.0253912210464478, 0.40583503246307373, -0.06831645220518112, 0.45005038380622864, -0.31719550490379333, -0.09847346693277359, -0.725001871585846, -0.6620773673057556, -0.47561216354370117, -0.13893598318099976, 0.028163719922304153, -0.43348196148872375, 0.06128162518143654, -0.0529874786734581, -0.32027482986450195, 0.2636012136936188, -0.5713728666305542, 0.5104451179504395, 0.17660552263259888, 0.12450376152992249, 0.19430875778198242, -0.06954247504472733, 0.026047781109809875, 0.31275832653045654, -0.30143728852272034, -0.5656241774559021, 1.0148794651031494, 0.5095704197883606, 1.0673613548278809, -0.15923680365085602, 0.5378305315971375, 0.42155295610427856, 0.6045102477073669, -1.2894001007080078, 0.5203751921653748, 0.24108931422233582, -0.3006153404712677, -0.46780499815940857, -0.4417990446090698, -1.0808298587799072, 0.42581790685653687, 0.026471078395843506, -0.9244896173477173, -0.1466975063085556, -0.010002678260207176, -0.24501682817935944, 0.02961886301636696, -0.556134819984436, 1.299157738685608, -0.5021920204162598, -0.453054279088974, -0.23129422962665558, -0.27249717712402344, 0.23822183907032013, 0.3053787648677826, 0.2943955361843109, -0.34525275230407715, -0.06396270543336868, 0.6696970462799072, -0.42391109466552734, 0.7554820775985718, -0.45323610305786133, -0.07096105068922043, 0.5246651768684387, 0.37156620621681213, 0.4989320933818817, 0.30763521790504456, -0.10738510638475418, -0.4305332899093628, 0.10887177288532257, -0.4574965238571167, -0.7847992777824402, 0.6037116050720215, -0.8114474415779114, -0.4451141357421875, -0.4271191954612732, -0.8431329131126404, -0.38065335154533386, 0.056643906980752945, -0.39357516169548035, 0.39296355843544006, -0.3356083631515503, -0.2053322046995163, 0.48219865560531616, -0.22201628983020782, 0.277444064617157, 0.8929027318954468, -0.6359288692474365, -0.02874334156513214, 1.1747360229492188, -0.5111402273178101, 0.45105433464050293, 0.4560093879699707, 0.38354524970054626, -0.6292434930801392, -0.20089492201805115, -0.4512857496738434, 0.10156243294477463, -0.6330369710922241, -0.036973822861909866, -0.33185216784477234, -0.11740976572036743, -0.041987888514995575, -0.09142199158668518, -0.6015087962150574, -0.010594462975859642, -0.021800769492983818, -0.21498499810695648, 0.24104447662830353, 0.9863768815994263, 0.26426517963409424, 0.11782469600439072, -0.5354981422424316, 0.17156386375427246, 0.5775787234306335, 0.18998289108276367, 0.20504236221313477, -0.29648131132125854, -0.30510005354881287, 0.0914163589477539, -0.45481202006340027, -0.5389112234115601, 0.500232994556427, -0.08182220906019211, 0.7878888845443726, 0.18356682360172272, 0.24733637273311615, 0.35066404938697815, -0.22491247951984406, 0.6897817254066467, 0.24019688367843628, -0.7402399778366089, 0.3572775721549988, -0.03852975741028786, 0.10846710205078125, 0.40096262097358704, 0.21917001903057098, -0.4307345449924469, -0.3855476677417755, -0.46501368284225464, -0.6911018490791321, 1.1009169816970825, -0.2468164563179016, -0.07588326185941696, -0.05847354233264923, 0.1938590407371521, 0.18410219252109528, 0.27621451020240784, -1.033647894859314, -0.042013052850961685, -0.30455613136291504, -0.33584412932395935, -0.23967766761779785, 0.11079572141170502, -0.20411808788776398, 0.22723926603794098, 0.46888095140457153, -0.44157278537750244, 0.3709214925765991, 0.41674402356147766, -0.5076473951339722, -0.1781407743692398, 0.4308777153491974, 0.6329052448272705, 0.6114892959594727, -0.4006982147693634, 0.3190712034702301, 0.038906194269657135, -0.03025466948747635, 0.3248801529407501, -0.005962682887911797, 0.296722948551178, -0.5403666496276855, 0.29309046268463135, 1.0049264430999756, 0.2843889594078064, -1.2921534776687622, 0.7043128609657288, -0.12528172135353088, -0.13903437554836273, -0.37157705426216125, 0.29835250973701477, 0.1384294182062149, 0.274947851896286, 0.1296720951795578, -0.31803539395332336, -0.072993703186512, -0.8413721919059753, 0.20791159570217133, 0.5157216191291809, -1.0998376607894897, -0.276762455701828, 0.45435839891433716, -0.15787546336650848, -0.42488524317741394, 0.3968064486980438, -0.5705980658531189, -0.6131635308265686, 0.9299657940864563, 0.3253970146179199, 0.820090115070343, -0.12420573830604553, 0.5497355461120605, 0.35622304677963257, 0.07586663961410522, -0.15234994888305664, 0.17532996833324432, -0.032925523817539215, -0.7095781564712524, -0.2619982063770294, -0.6788408160209656, -0.5398976802825928, 0.02084958367049694, -0.9510166645050049, 0.10757220536470413, -0.272073358297348, 0.054935190826654434, -0.09013141691684723, -0.1384931057691574, -0.7360357046127319, 0.23061707615852356, 0.07949782907962799, 0.7034845352172852, -0.7207689881324768, 0.5884320735931396, 1.0416829586029053, -0.7161332964897156, -1.0477511882781982, -0.5082998871803284, -0.4125024378299713, -1.1156206130981445, 1.1787322759628296, 0.1285218447446823, -0.07287724316120148, -0.28841444849967957, -0.14653246104717255, -0.3113592267036438, 1.00276780128479, 0.17807450890541077, -0.0378437377512455, -0.07557491213083267, 0.5310513973236084, 0.5952101349830627, -0.8344936370849609, 0.8166804909706116, 0.35332226753234863, 0.6478002667427063, -0.026126375421881676, -0.7607391476631165, 0.12776552140712738, -0.0049307201988995075, -0.13191990554332733, 0.1816132813692093, -0.3618679344654083, 0.8639568090438843, -0.19716320931911469, 0.13560715317726135, -0.1266682893037796, 0.45645618438720703, 0.375823438167572, 0.32515066862106323, 0.8107466697692871, 0.3158850371837616, 0.23417600989341736, 0.10831841826438904, 1.3028271198272705, -0.07421884685754776, 0.6638292670249939, 1.0882779359817505, -0.3419983983039856, 1.0052069425582886, 0.5203863382339478, -0.17268332839012146, 0.5367854237556458, 0.5298543572425842, 0.15715771913528442, 0.37858501076698303, 0.48474177718162537, 0.07856132835149765, -0.550957441329956, -0.4059410095214844, -0.0687611848115921, 0.40443986654281616, 0.3119920790195465, -0.13190793991088867, -0.5501903295516968, 0.17123965919017792, -0.20871134102344513, 0.3798398971557617, -0.6078758239746094, 0.7483433485031128, 0.13447195291519165, -1.1692992448806763, 0.4999707341194153, 0.08189540356397629, 0.36050310730934143, -0.575704038143158, -0.20250749588012695, 0.0018228675471618772, 0.5672627091407776, -0.14498043060302734, -0.8425357937812805, 0.12691742181777954, -0.25799885392189026, 0.013766905292868614, -0.24627453088760376, 0.5331146717071533, -0.6603867411613464, -0.1959395706653595, 0.6550741791725159, 0.4564439356327057, 0.04949912056326866, -0.3106592297554016, -0.9419702887535095, -0.08972670882940292, -0.23049765825271606, -0.2616339325904846, 0.6079697608947754, 0.14772437512874603, -0.1049681082367897, 0.8342469930648804, 0.2755095660686493, 0.08976613730192184, -0.1389673501253128, -0.19606724381446838, 0.4725843071937561, -0.5991141200065613, -0.5765707492828369, -0.7405291199684143, 0.461700439453125, 0.14094769954681396, 0.07797490805387497, 0.39905259013175964, 0.4441990554332733, 0.8109049797058105, -0.46682846546173096, 0.4993574321269989, -0.16728009283542633, 0.4428103268146515, -0.5039781928062439, 0.40605491399765015, -0.894701361656189, 0.195586696267128, 0.03715506196022034, -0.6847538352012634, 0.23095154762268066, 0.5831369757652283, -0.5107385516166687, -0.019441576674580574, 0.8168890476226807, 0.8723329901695251, -0.003299246309325099, -0.1919306367635727, 0.44121935963630676, -0.17032396793365479, 0.44154831767082214, 0.8517680764198303, 1.2808390855789185, -0.13691987097263336, 0.5818314552307129, -0.3124951124191284, -0.05206645280122757, -0.4361032545566559, -0.7733607888221741, -1.038943886756897, -0.2792893946170807, -0.6342871189117432, -0.11680782586336136, -0.14100486040115356, 1.0196335315704346, 0.8005165457725525, -0.7410855889320374, -0.7129973769187927, -0.10564478486776352, 0.4426700472831726, -0.6570814251899719, -0.32903507351875305, 0.3532916307449341, -0.7532632350921631, -0.884707510471344, 0.38842979073524475, 0.3035085201263428, -0.4725607633590698, -0.5237675905227661, -0.5965169072151184, 0.11238910257816315, 0.055372804403305054, 0.6999853253364563, 0.4826888144016266, -0.7915889620780945, -0.4386260211467743, 0.03332575410604477, -0.3493548333644867, 0.018734443932771683, 0.8436885476112366, -0.8133882880210876, 0.5454964637756348, 0.3271006643772125, 0.7573002576828003, 0.35421109199523926, -0.021315937861800194, 0.6109611392021179, -0.44265851378440857, 0.21758081018924713, 0.2604120373725891, 0.2756677567958832, 0.1579292267560959, -0.29432031512260437, 0.518826425075531, -0.029400072991847992, -0.4803396165370941, -0.9697741866111755, 0.34910455346107483, -1.2804778814315796, -0.26102033257484436, 1.1250360012054443, -0.6316890716552734, -0.6649383306503296, 0.03553815558552742, -0.4277728796005249, -0.08214303106069565, -0.4534648358821869, 0.7060988545417786, 0.3431605398654938, 0.053411565721035004, -0.05610252171754837, -0.43933820724487305, 0.549302339553833, 0.5323674082756042, -1.1519945859909058, 0.08238223940134048, 0.07944557070732117, 0.2539912164211273, 0.17599231004714966, 0.3536562919616699, -0.2772875428199768, 0.42807361483573914, -0.2861984372138977, 0.46881693601608276, -0.6331961154937744, -0.17890167236328125, -0.12172901630401611, 0.4734656512737274, 0.6077665090560913, -0.3316862881183624 ]
http://arxiv.org/abs/2406.16747v1
http://arxiv.org/pdf/2406.16747v1
Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformers
2024-06-24T15:55:59
2024-06-24T15:55:59
Chao Lou, Zixia Jia, Zilong Zheng, Kewei Tu
cs.CL
cs.CL, cs.LG
Accommodating long sequences efficiently in autoregressive Transformers, especially within an extended context window, poses significant challenges due to the quadratic computational complexity and substantial KV memory requirements inherent in self-attention mechanisms. In this work, we introduce SPARSEK Attention, a novel sparse attention mechanism designed to overcome these computational and memory obstacles while maintaining performance. Our approach integrates a scoring network and a differentiable top-k mask operator, SPARSEK, to select a constant number of KV pairs for each query, thereby enabling gradient-based optimization. As a result, SPARSEK Attention offers linear time complexity and constant memory footprint during generation. Experimental results reveal that SPARSEK Attention outperforms previous sparse attention methods and provides significant speed improvements during both training and inference, particularly in language modeling and downstream tasks. Furthermore, our method can be seamlessly integrated into pre-trained Large Language Models (LLMs) with minimal fine-tuning, offering a practical solution for effectively managing long-range dependencies in diverse applications.
[ -0.6320147514343262, -0.5622351765632629, 0.2775728106498718, 0.8088314533233643, -0.295321524143219, -0.117514967918396, -0.48577219247817993, -0.315095454454422, 0.5512614846229553, 0.33929675817489624, -1.0093392133712769, -0.028596194460988045, -0.6579197645187378, 0.013587997294962406, -0.331386536359787, 0.9753071069717407, 0.14268028736114502, -0.5162647366523743, -0.07462283968925476, -0.25297653675079346, -0.5648265480995178, -0.20301321148872375, -0.6551746129989624, -0.0037317981477826834, 0.9639595150947571, 0.15479212999343872, 0.6633037328720093, 0.8653353452682495, 0.3475497364997864, 0.38718530535697937, 0.05618949607014656, -0.0517030730843544, -1.0295801162719727, 0.3896951675415039, 0.0894007459282875, -0.013742068782448769, -0.3947945535182953, -0.09993547201156616, 0.6679866909980774, 0.7573925256729126, 0.04978356137871742, 0.36957505345344543, 0.3762089014053345, 0.8498525619506836, -0.9102935194969177, 0.22791866958141327, -0.626336932182312, 0.08405108749866486, 0.03605687618255615, -0.0992395356297493, -0.32549548149108887, -0.00361218792386353, 0.08763193339109421, -0.8351542353630066, 0.4288410544395447, -0.11716018617153168, 0.7433199882507324, 0.9985373616218567, 0.008582009933888912, 0.20442989468574524, -0.603789210319519, 1.0372248888015747, 0.1462213695049286, 0.785978376865387, 0.45531535148620605, 0.3460543751716614, 0.033475276082754135, -0.6075801849365234, -0.12375108152627945, -0.24936789274215698, -0.18041028082370758, 0.33702725172042847, -0.08972672373056412, 0.253317266702652, 0.4955590069293976, 0.1544640213251114, -0.46473222970962524, -0.08820748329162598, -0.11813613772392273, -0.2601262331008911, 0.2726856768131256, 0.18954050540924072, -0.3171217143535614, -0.16072270274162292, -0.2637224793434143, 0.20598958432674408, -0.41709670424461365, -0.12392978370189667, 0.24260357022285461, 0.14750801026821136, -0.09229835867881775, 0.2658805251121521, -0.471065878868103, 0.6804945468902588, 0.5612446665763855, 0.211953803896904, -0.20211632549762726, -0.3411487638950348, -0.10053928941488266, -0.08861184120178223, 0.6492297053337097, 0.006794581189751625, 0.16543075442314148, -0.44678691029548645, -0.08981957286596298, -0.11889534443616867, 0.5291667580604553, -0.6767520904541016, -0.33206290006637573, -0.0016815843991935253, -0.420136034488678, -0.04884537681937218, -0.5310178995132446, -1.0787783861160278, 0.11859311908483505, -0.3170120418071747, 0.3980025351047516, 0.16803650557994843, 0.028923435136675835, -0.17075864970684052, 0.3129273056983948, 0.22929586470127106, 0.380480021238327, -1.2859638929367065, 0.39960023760795593, 0.5670347809791565, 0.8291481137275696, -0.25143295526504517, -0.20105117559432983, -0.9061110019683838, 0.1421961933374405, -0.3869743049144745, 0.7458012104034424, -0.26354697346687317, -0.05634273588657379, -0.24526427686214447, 0.05969209223985672, -0.12132997810840607, -0.4312953054904938, 0.2554987668991089, -0.5803982615470886, -0.20650553703308105, 0.0030575396958738565, 0.13574020564556122, 0.3477288484573364, 0.08977855741977692, -0.8963616490364075, 1.562783122062683, 0.5809905529022217, -0.5488395690917969, 0.360661119222641, -0.43721213936805725, -0.5454370379447937, 0.36746764183044434, 0.020347852259874344, -0.4618961811065674, 0.05498232692480087, 0.28782397508621216, 0.5341479182243347, -0.2097265124320984, -0.04446276277303696, -0.3337758481502533, -0.4750217795372009, -0.023437829688191414, -0.35985997319221497, 0.2977537214756012, 0.1239008828997612, -0.4399861991405487, 0.11347971856594086, -0.7511050701141357, -0.182414710521698, 0.1384541392326355, -0.4153929650783539, -0.30506667494773865, -0.08812126517295837, 0.1544434130191803, 0.20457780361175537, 0.3110133707523346, -0.5379508137702942, 0.16232334077358246, -0.5881089568138123, 0.3987162709236145, 0.8930913209915161, -0.2160360962152481, 0.654448390007019, -0.0012759184464812279, 0.5746061205863953, -0.47148895263671875, 0.304977685213089, -0.26317232847213745, -0.14390040934085846, -1.0294170379638672, -0.6967607140541077, 0.33496925234794617, 0.199647918343544, -0.3075038194656372, 0.5190646648406982, -0.4934978783130646, 0.07609108835458755, -0.6397784352302551, 0.41247469186782837, 0.05115430802106857, 0.4596855044364929, 0.2608204782009125, -0.22476008534431458, -0.49852830171585083, -0.9136267304420471, -0.028967322781682014, 0.1448955088853836, -0.16059885919094086, 0.6924915909767151, 0.10166046023368835, -0.24225081503391266, 0.7198470830917358, -0.730564534664154, -0.3450024127960205, -0.25761446356773376, -0.17152506113052368, 0.14287421107292175, 0.31079721450805664, 0.24116389453411102, -0.5429863929748535, -0.8603335618972778, -0.06750616431236267, -0.16473233699798584, -0.14193247258663177, -0.3671911060810089, -0.502414345741272, 0.15996535122394562, 0.6030137538909912, -0.8702521324157715, 0.3172406256198883, 0.15162229537963867, 0.17125184834003448, 0.06255009770393372, 0.15364229679107666, -0.05971356853842735, -0.8509430885314941, 0.15427371859550476, -0.06287495046854019, -0.42615142464637756, -0.3561153709888458, -0.16724815964698792, 0.12414052337408066, -0.3185899257659912, -0.1740061193704605, 0.48770132660865784, -0.32343289256095886, -0.04737480357289314, -0.19720257818698883, -0.02703756093978882, -0.04610509052872658, 1.0208706855773926, -0.03761591762304306, 0.6162057518959045, 0.37550562620162964, -0.4101322591304779, 0.5072392821311951, 0.11641905456781387, -0.26167452335357666, 0.3144519329071045, -0.46309414505958557, 0.2075657695531845, -0.23892539739608765, 0.05843980610370636, -1.4089136123657227, -0.258604496717453, 0.2429404854774475, -0.39586856961250305, 0.7213296890258789, -0.3384947180747986, -0.4162275791168213, -0.4135681986808777, -0.30114755034446716, 0.5855926275253296, 0.5774872303009033, -0.6876307725906372, 0.7265858054161072, 0.07506748288869858, -0.4377669394016266, -0.9159754514694214, -0.43735605478286743, 0.03435554355382919, -0.12286026775836945, -0.6029278039932251, 0.09045629948377609, 0.04192797839641571, 0.23879209160804749, -0.0847756415605545, -0.34198349714279175, -0.07034273445606232, 0.21793603897094727, 0.12836602330207825, 0.14305967092514038, -0.2909371852874756, 0.15809878706932068, 0.057309068739414215, -0.5691695213317871, -0.02297843061387539, -0.3356459438800812, 0.4813273549079895, 0.36972686648368835, -0.01806715503334999, -0.299782395362854, 0.8310649991035461, 0.6383405327796936, -0.23718573153018951, 0.4694737195968628, 0.5607187747955322, -0.2689714729785919, -0.5712210536003113, -0.781591534614563, -0.3570561110973358, -0.5408743023872375, 0.855650007724762, -0.23395226895809174, -1.1048988103866577, 0.33844301104545593, -0.045656900852918625, -0.142399400472641, 0.43029627203941345, 0.7620677947998047, -0.08585206419229507, 1.100104808807373, 0.7099685072898865, -0.5144888162612915, 0.4807868003845215, -0.11047127842903137, 0.4555099308490753, -0.7660245895385742, 0.006703319028019905, -0.3575182557106018, -0.3973000645637512, -0.3886125385761261, -0.3460797965526581, 0.2746698558330536, -0.12043716758489609, -0.08971568197011948, 0.3665657639503479, -0.6930652260780334, 0.5847841501235962, 0.1946677714586258, -0.10466285794973373, -0.15072853863239288, 0.1584104746580124, 0.1475314497947693, -0.16370314359664917, -0.8412485718727112, 0.3174304664134979, 0.850908637046814, 0.47324812412261963, 0.9816635251045227, -0.24871474504470825, 0.4174196422100067, 0.20679394900798798, 0.4068288207054138, -0.9455626606941223, 0.5056332349777222, -0.15462402999401093, -0.34748324751853943, -0.4466235041618347, -0.422853946685791, -0.9913398623466492, 0.047309476882219315, 0.30200180411338806, -0.7182528972625732, 0.038597654551267624, 0.2784005105495453, -0.702376663684845, -0.31829968094825745, -0.6588009595870972, 0.9705062508583069, 0.08269115537405014, -0.7087352275848389, -0.3573092520236969, -0.7347968220710754, 0.1594047099351883, -0.29076167941093445, -0.21843194961547852, -0.16508983075618744, -0.24003328382968903, 0.41610538959503174, -0.07382138073444366, 0.8012672662734985, 0.054608434438705444, -0.04467111453413963, 0.1519811600446701, 0.08975894004106522, 0.6392950415611267, 0.09745325893163681, 0.42907652258872986, 0.04765497148036957, -0.5488121509552002, -0.4230792224407196, -0.6597040295600891, 1.0629606246948242, -0.5122950077056885, -0.5210419297218323, -0.14614182710647583, -0.7787511944770813, -0.18883922696113586, -0.03835156187415123, 0.12392935901880264, 0.24144650995731354, 0.15672186017036438, 0.26447412371635437, 0.8795831799507141, -0.1398414671421051, 0.4476546347141266, 0.29133445024490356, 0.436649352312088, -0.37029585242271423, 0.9562107920646667, 0.2429230660200119, 0.30521655082702637, 0.6011679768562317, -0.06510622799396515, -0.4103156328201294, -0.19785168766975403, -0.43103399872779846, 0.28263482451438904, -0.6423602104187012, -0.4013896584510803, -1.073348879814148, -0.3334389925003052, -0.3925136625766754, -0.2544425129890442, -0.5867281556129456, -0.4544166922569275, -0.1196226105093956, 0.11558469384908676, 0.363798052072525, 0.3354344666004181, -0.03302205353975296, 0.2882401943206787, -0.4659208059310913, 0.7872826457023621, 0.6377378702163696, 0.7863842248916626, 0.22974176704883575, -0.4804907441139221, -0.6663442254066467, -0.533371090888977, -0.19011569023132324, -0.3113056719303131, 0.3287515640258789, 0.2913174033164978, 0.5298625230789185, 0.21686998009681702, -0.2073976993560791, 0.7967644929885864, -0.6543130278587341, 0.38863328099250793, 0.00019728936604224145, -0.6677002310752869, 0.30298078060150146, -0.43059247732162476, 0.5233280062675476, 0.3345085680484772, 0.38896995782852173, -0.46281546354293823, -0.40089696645736694, -0.15545447170734406, -1.0299208164215088, 0.9459114670753479, 0.2340508997440338, 0.23613642156124115, -0.07725983113050461, 0.4370626211166382, -0.04737219959497452, -0.023350166156888008, -0.6570033431053162, -0.3753611147403717, -0.37399402260780334, -0.42402923107147217, -0.11063608527183533, -0.4498865306377411, 0.08993063122034073, -0.2237439751625061, 0.47627678513526917, -0.2617661654949188, 0.5364153385162354, 0.19083483517169952, -0.1591397374868393, -0.5800634622573853, 0.011945907026529312, 0.5666481256484985, 0.09495051950216293, -0.13780315220355988, 0.014676838181912899, 0.2982386648654938, -0.737214207649231, 0.035368748009204865, 0.43954145908355713, 0.010722782462835312, -0.18771597743034363, 0.1768009066581726, 0.5257653594017029, 0.5627033710479736, -0.37459027767181396, 0.3936607837677002, -0.16988582909107208, -0.15828967094421387, -0.14781822264194489, -0.1715969741344452, 0.17327159643173218, 0.10207173973321915, 0.35003960132598877, 0.02666032500565052, 0.23192761838436127, 0.2696598768234253, 0.4159129559993744, 0.39868587255477905, -0.4402123689651489, -0.11836265027523041, 0.8355065584182739, 0.1501084417104721, -0.04377100244164467, 0.513692319393158, 0.20997285842895508, -0.4292735755443573, 0.6322211027145386, 0.2285768687725067, 1.0798254013061523, -0.466562420129776, -0.2646768391132355, 0.553510308265686, 0.3040328323841095, 0.12704607844352722, -0.1717211902141571, -0.6821497082710266, -0.11373335868120193, -0.9791079163551331, -0.7709051370620728, 0.24904796481132507, 0.37660902738571167, -0.35150444507598877, 0.08167745918035507, -0.6204331517219543, 0.013672559522092342, 0.15825752913951874, -0.08876834064722061, -0.5488896369934082, -0.02734445221722126, 0.08469820767641068, 0.5180277228355408, -0.48914822936058044, 0.7221320271492004, 0.07204942405223846, 0.04584566503763199, -0.52339768409729, -0.12618061900138855, -0.4008027911186218, -0.731039822101593, 0.9356590509414673, 0.418021023273468, -0.30830103158950806, 0.14261825382709503, -0.5059600472450256, -1.237632393836975, 0.6193322539329529, 0.31043922901153564, -0.6231107115745544, 0.18263618648052216, 0.24548085033893585, 0.37966570258140564, -0.08737314492464066, 0.10510974377393723, 0.46893638372421265, 0.20472578704357147, 0.03498781472444534, -0.7596145272254944, -0.09490596503019333, -0.1361016184091568, -0.016442419961094856, 0.788880467414856, -1.1050206422805786, 0.49875178933143616, 0.08604192733764648, -0.15532276034355164, 0.3098244071006775, 0.8659899234771729, -0.30352869629859924, -0.12471668422222137, 0.5456550717353821, 0.7381473183631897, 0.05253017321228981, 0.017335793003439903, 0.7820562720298767, -0.3274972438812256, 0.3535696268081665, 0.9110010266304016, -0.15338560938835144, 0.32373207807540894, 0.545493483543396, -0.14884327352046967, 0.07531315833330154, 0.5647513270378113, -0.008532145991921425, 0.8540931940078735, 0.3387550413608551, -0.47669127583503723, -0.5089223384857178, -0.13154315948486328, -0.1204933449625969, 0.2361144721508026, 0.45393767952919006, -0.22225305438041687, -0.37153923511505127, -0.024099061265587807, -0.4157527685165405, -0.06597396731376648, -0.4857754409313202, 0.8216617703437805, 0.0425356887280941, -0.8880831599235535, 0.8446651101112366, -0.14868684113025665, 0.5275142788887024, -0.7536444664001465, -0.19239294528961182, -0.21097245812416077, 0.34695279598236084, 0.10788948833942413, -0.2512621283531189, 0.2626730799674988, -0.222246453166008, -0.4559513032436371, -0.2668984532356262, 0.8434571623802185, -0.5505338907241821, -0.2931276559829712, 0.3636992573738098, -0.10325481742620468, -0.1472976952791214, -0.13693444430828094, -0.7175798416137695, 0.021508097648620605, -0.16928166151046753, -0.2541133165359497, 0.5971320867538452, 0.3996855318546295, 0.05494967848062515, 0.7620058059692383, 0.5577161312103271, -0.23030012845993042, 0.4143460988998413, 0.04237058386206627, 1.010534644126892, -0.5295661091804504, -0.7494307160377502, -0.5906738042831421, 0.18164575099945068, 0.11825451999902725, -0.2047111988067627, 0.6355385780334473, 0.5317192077636719, 0.5572497248649597, -0.1649615466594696, 0.4762432277202606, 0.3061966896057129, 0.5311024785041809, -0.19839642941951752, 0.6472818851470947, -0.42450395226478577, -0.09323368966579437, -0.13024231791496277, -1.0536555051803589, -0.2972857356071472, 0.6778856515884399, -0.04800008609890938, 0.2372048944234848, 0.5628237128257751, 0.6956907510757446, -0.344948947429657, -0.46198374032974243, 0.5064288377761841, 0.27333810925483704, -0.12013977020978928, 0.8894892334938049, 0.8541743755340576, -0.3815995752811432, 0.7189044952392578, -0.48935839533805847, -0.0444311760365963, -0.11509980261325836, -0.6269048452377319, -0.9960715174674988, -0.3948338031768799, -0.34416663646698, -0.25953254103660583, 0.0024352394975721836, 0.7325540781021118, 0.8697910308837891, -0.5685482621192932, 0.05174576863646507, 0.04688647761940956, -0.05086539685726166, -0.05004854127764702, -0.2694804072380066, 0.5180975794792175, -0.6945237517356873, -0.6477590203285217, 0.2529680132865906, 0.6615597605705261, -0.17225655913352966, -0.40017399191856384, -0.05163097381591797, -0.03505827486515045, -0.04766147583723068, 0.6732419729232788, 0.2877611517906189, -0.5793787240982056, -0.24958717823028564, 0.36745697259902954, -0.16155660152435303, 0.22439047694206238, 0.8792245388031006, -0.8924862742424011, 0.4509876072406769, 0.3982006907463074, 0.9486286044120789, 0.6333780288696289, -0.03831327706575394, 0.29700323939323425, -0.9636732935905457, 0.4639533460140228, 0.48768624663352966, 0.12519533932209015, 0.2330954521894455, -0.8192694783210754, 0.32396337389945984, 0.30188220739364624, -0.7075371742248535, -0.6567761301994324, 0.13110758364200592, -1.2647680044174194, 0.04357554391026497, 0.9902570843696594, 0.05866951867938042, -0.43689411878585815, -0.46616634726524353, -0.07877790182828903, 0.05586417764425278, -0.5469226241111755, 0.8278657793998718, 0.6866907477378845, 0.1682015210390091, -0.40980595350265503, -0.6017770171165466, 0.7520586848258972, 0.8381094932556152, -0.390696257352829, 0.4877578616142273, 0.2499551922082901, 0.16629892587661743, -0.01929558999836445, 0.5570021271705627, 0.07559540867805481, 0.5741087794303894, -0.09672357887029648, -0.17063270509243011, 0.2102435678243637, -0.48074042797088623, -0.4229831397533417, 0.21068653464317322, -0.22638262808322906, -0.10735679417848587 ]
http://arxiv.org/abs/2406.16746v2
http://arxiv.org/pdf/2406.16746v2
The Responsible Foundation Model Development Cheatsheet: A Review of Tools & Resources
2024-06-24T15:55:49
2024-06-26T02:19:01
Shayne Longpre, Stella Biderman, Alon Albalak, Hailey Schoelkopf, Daniel McDuff, Sayash Kapoor, Kevin Klyman, Kyle Lo, Gabriel Ilharco, Nay San, Maribeth Rauh, Aviya Skowron, Bertie Vidgen, Laura Weidinger, Arvind Narayanan, Victor Sanh, David Adelani, Percy Liang, Rishi Bommasani, Peter Henderson, Sasha Luccioni, Yacine Jernite, Luca Soldaini
cs.LG
cs.LG, cs.AI, cs.CL
Foundation model development attracts a rapidly expanding body of contributors, scientists, and applications. To help shape responsible development practices, we introduce the Foundation Model Development Cheatsheet: a growing collection of 250+ tools and resources spanning text, vision, and speech modalities. We draw on a large body of prior work to survey resources (e.g. software, documentation, frameworks, guides, and practical tools) that support informed data selection, processing, and understanding, precise and limitation-aware artifact documentation, efficient model training, advance awareness of the environmental impact from training, careful model evaluation of capabilities, risks, and claims, as well as responsible model release, licensing and deployment practices. We hope this curated collection of resources helps guide more responsible development. The process of curating this list, enabled us to review the AI development ecosystem, revealing what tools are critically missing, misused, or over-used in existing practices. We find that (i) tools for data sourcing, model evaluation, and monitoring are critically under-serving ethical and real-world needs, (ii) evaluations for model safety, capabilities, and environmental impact all lack reproducibility and transparency, (iii) text and particularly English-centric analyses continue to dominate over multilingual and multi-modal analyses, and (iv) evaluation of systems, rather than just models, is needed so that capabilities and impact are assessed in context.
[ -0.2561676800251007, -0.4291836619377136, 0.19728507101535797, 0.3604349195957184, -0.057834457606077194, -0.07770711928606033, 0.29364925622940063, -0.4868105351924896, -0.27197983860969543, 0.9553797245025635, -0.6729839444160461, -0.10119219869375229, -0.4533243477344513, -0.0718972235918045, -0.5640223622322083, 1.1666697263717651, -0.014488358981907368, 0.18727855384349823, -0.5983350276947021, 0.07358723133802414, -0.6557839512825012, 0.013027193956077099, -0.32174304127693176, -0.19539417326450348, 0.23545974493026733, 0.2950512766838074, 0.7324795126914978, 0.82282555103302, 0.8089733123779297, 0.26413199305534363, -0.1514776200056076, -0.18221813440322876, -0.5942971706390381, -0.1553085744380951, -0.3340207636356354, 0.06383472681045532, -0.748289942741394, 0.5475190877914429, 0.16088566184043884, 0.839879035949707, -0.17831239104270935, 0.6345619559288025, 0.04211375117301941, 0.40351393818855286, -0.8973378539085388, 0.4056813716888428, -0.06866113096475601, -0.10741010308265686, -0.24257829785346985, -0.01095683965831995, -0.3406928479671478, -0.11469605565071106, 0.09125210344791412, -0.6368191838264465, 0.2696547508239746, -0.3327900171279907, 0.3015952706336975, 0.5173598527908325, -0.5527657866477966, -0.41484737396240234, -0.7738924026489258, 0.9154224991798401, -0.48478010296821594, 0.6576792597770691, 0.602992057800293, 0.29649490118026733, -0.20274695754051208, -1.028350591659546, -0.22293338179588318, -0.3609975576400757, 0.11389469355344772, 0.012582074850797653, -0.01851731725037098, -0.00007559661025879905, 0.13641998171806335, 0.18100710213184357, -0.23494817316532135, -0.07207467406988144, -0.8351606726646423, -0.6280175447463989, 0.9749699234962463, 0.022576896473765373, 0.24832327663898468, -0.33227574825286865, -0.323670893907547, -0.26139187812805176, -0.869263768196106, 0.10821054130792618, 0.48207685351371765, 0.1672181934118271, -0.24346789717674255, 0.6636333465576172, 0.16779404878616333, 0.7733966708183289, -0.22214804589748383, -0.09046906232833862, -0.07519159466028214, -0.7705402970314026, -0.1755816638469696, -0.038927625864744186, 0.2464715540409088, 0.33183661103248596, 0.08231942355632782, -0.17341746389865875, -0.36870768666267395, 0.12093693763017654, 0.6722807288169861, -0.8570509552955627, -0.4265994429588318, 0.32763513922691345, -0.4564577043056488, -0.3199065625667572, 0.026214633136987686, -0.7719377279281616, -0.6408220529556274, -0.4684029519557953, -0.020250853151082993, 0.019282767549157143, -0.3463832437992096, -0.057484421879053116, -0.4156453013420105, 0.08390668034553528, 0.29401257634162903, -0.5769982933998108, 0.28083178400993347, 0.6646155714988708, 0.42150092124938965, 0.0700262263417244, -0.21266333758831024, -0.5327896475791931, 0.19044648110866547, -0.540327787399292, 0.47466957569122314, -0.5221743583679199, -0.8280392289161682, -0.20083367824554443, -0.02025231346487999, 0.42163485288619995, -0.3551805913448334, 0.38643965125083923, -0.19955196976661682, -0.07938529551029205, -0.37119603157043457, -0.2997942268848419, -0.2776457965373993, 0.13500523567199707, -1.0486632585525513, 0.7676790356636047, 0.24652506411075592, -0.4364696443080902, 0.5772166848182678, -0.8142598867416382, -0.4547590911388397, 0.0022301715798676014, -0.11881276220083237, -0.2770048975944519, -0.1121176928281784, 0.011538410559296608, 0.47821223735809326, -0.4939507246017456, 0.6447091698646545, -0.2540927827358246, -0.29776138067245483, -0.23111343383789062, -0.2858508825302124, 1.2809969186782837, 0.24307969212532043, -0.5354506373405457, 0.25687292218208313, -0.6965422630310059, 0.09223347902297974, -0.14783412218093872, -0.3169524371623993, 0.011661292985081673, 0.0828605443239212, 0.4990508556365967, 0.11279183626174927, 0.20552104711532593, -0.24745433032512665, -0.25529876351356506, 0.17495602369308472, 0.6405020356178284, 0.9238918423652649, -0.031467486172914505, 0.478682279586792, -0.16537559032440186, 0.8276761174201965, -0.05041547864675522, 0.4915315806865692, -0.32154381275177, -0.3629792332649231, -0.5315431952476501, -0.16385136544704437, 0.10911022871732712, 0.3133443295955658, 0.010925480164587498, 0.28431451320648193, -0.13034039735794067, -0.8652700781822205, -0.595026969909668, 0.2539934813976288, 0.5265695452690125, 0.7039324045181274, 0.33282285928726196, -0.31780362129211426, -0.4449193477630615, -1.0108405351638794, -0.09347929060459137, -0.3385278880596161, 0.4447658360004425, 0.3785851299762726, 0.8500508069992065, -0.4291248619556427, 1.0752050876617432, -0.08553119748830795, -0.24666261672973633, -0.0363229438662529, -0.028349289670586586, -0.40930092334747314, 0.7881081700325012, 0.7716717720031738, -1.3174370527267456, 0.1023387461900711, -0.21623077988624573, -0.5066268444061279, 0.060091350227594376, -0.0184977687895298, -0.11077091842889786, -0.09862755239009857, 0.4951578676700592, -0.6554582118988037, 0.3468605875968933, 0.5175099968910217, -0.5677961707115173, 0.48749104142189026, 0.18734923005104065, 0.01104605570435524, -0.853722095489502, 0.7367857098579407, 0.012999285012483597, -0.14482487738132477, -0.32712680101394653, 0.4932573139667511, 0.31812140345573425, -0.320386677980423, -0.3991047441959381, 0.822634220123291, -0.5779173374176025, -0.2779931426048279, 0.14628270268440247, 0.11089467257261276, 0.26519617438316345, -0.2535417377948761, -0.21579697728157043, 1.0630478858947754, 0.2810761332511902, -0.6647427678108215, 0.46928954124450684, 0.45729902386665344, -0.18408477306365967, 0.5489301681518555, -0.7137466073036194, 0.0036911247298121452, -0.15032656490802765, 0.4247789680957794, -0.0433054082095623, -0.40743234753608704, 0.22324024140834808, -0.27812471985816956, 0.27370429039001465, -0.0366254523396492, -0.3999875783920288, -0.265382319688797, -0.10920881479978561, 0.1993129998445511, 0.26353293657302856, -0.24261385202407837, 0.5504174828529358, 0.8594422340393066, -0.010533129796385765, -0.8584272861480713, -0.9604505300521851, -0.09332646429538727, 0.02568918466567993, -0.5716818571090698, 0.32187843322753906, -0.20580703020095825, -0.5417627692222595, 0.3504824638366699, -0.30949127674102783, -0.45038336515426636, 0.449117511510849, 0.35995903611183167, 0.003212215146049857, -0.02629839815199375, 0.006787119898945093, -0.305418461561203, -0.09982030838727951, 0.4858735501766205, 0.04757613316178322, -0.014346889220178127, -0.10839060693979263, -0.4230363667011261, -0.0031182344537228346, 0.43157869577407837, 0.7062824368476868, -0.6749321222305298, 0.19188649952411652, 0.41179826855659485, -0.6644479632377625, -0.20715557038784027, -0.34032610058784485, -0.415942907333374, -0.4037596881389618, 0.44458216428756714, 0.02744467183947563, -0.6078961491584778, 0.48714712262153625, 0.15912757813930511, 0.27210938930511475, 0.4219595193862915, 0.21871833503246307, 0.22811131179332733, 0.9092363119125366, 1.2202205657958984, -0.06417174637317657, 0.17822369933128357, -0.5064482688903809, 0.4105304777622223, -0.7324928045272827, -0.5424209237098694, -0.5223814249038696, -0.06999561935663223, -0.39321431517601013, -0.33221757411956787, -0.053187187761068344, 0.2931843101978302, -0.27058571577072144, 0.25179508328437805, -0.6206899285316467, 0.4508027136325836, 0.40937602519989014, -0.02994505502283573, 0.1981145441532135, -0.524340033531189, 0.30435797572135925, -0.11180932819843292, -0.557294487953186, -0.7208247780799866, 1.0897976160049438, 0.24197883903980255, 0.6143420934677124, 0.05287518352270126, 0.5735934972763062, 0.47848665714263916, 0.6346726417541504, -0.6401748061180115, 0.41299745440483093, 0.1731763780117035, -1.207599401473999, -0.14740604162216187, -0.22716359794139862, -0.5297818779945374, -0.36531925201416016, 0.22573411464691162, -0.3437963128089905, 0.30742591619491577, 0.19063952565193176, -0.40676581859588623, -0.06886280328035355, -0.6108952760696411, 1.1951490640640259, -0.10353266447782516, -0.2860093414783478, -0.4700681269168854, -0.4367438852787018, 0.4749441146850586, -0.20391757786273956, 0.1986507773399353, 0.09880391508340836, 0.07014574110507965, 0.6577545404434204, -0.3613957166671753, 0.9004596471786499, -0.17176680266857147, 0.020535700023174286, 0.7031922340393066, 0.01207697857171297, 0.3553237020969391, 0.15782512724399567, -0.1801280677318573, -0.16682353615760803, 0.054574061185121536, -0.4470345973968506, -0.18351919949054718, 0.7563140392303467, -0.7059305310249329, -0.5391325354576111, -0.5258339047431946, -0.5199745893478394, -0.07621660083532333, 0.6235808730125427, -0.025393923744559288, 0.2803724706172943, -0.6526725888252258, 0.4138498604297638, 0.5703273415565491, 0.16123536229133606, 0.2895611524581909, 0.3878421187400818, -0.022522933781147003, -0.0591091588139534, 0.5735210180282593, 0.3019126355648041, 0.04228711873292923, -0.2316998690366745, -0.02763931080698967, -0.039264049381017685, -0.40395551919937134, -0.3812701106071472, -0.13518260419368744, -0.8646575212478638, -0.3800220489501953, -0.45857587456703186, -0.27980250120162964, -0.5321135520935059, -0.32267358899116516, -0.5190112590789795, -0.2715945839881897, -0.38565728068351746, -0.4903774857521057, 0.43852612376213074, 0.8205702304840088, -0.21780721843242645, 0.08331655710935593, -0.6725367903709412, 0.21909010410308838, 0.15157662332057953, 0.3221260607242584, -0.1303258091211319, 0.2100033462047577, -0.17800526320934296, 0.2217010259628296, -0.39758434891700745, -0.7489830255508423, 0.1207084134221077, 0.04864857345819473, 0.6839359998703003, 0.25843364000320435, 0.11946877837181091, 0.7119085192680359, -0.16538478434085846, 0.8390184044837952, -0.11649535596370697, -0.9028184413909912, 0.5907458066940308, -0.5274607539176941, -0.0433456227183342, 0.5181899070739746, 0.31863272190093994, -0.18931926786899567, -0.0164998397231102, -0.8199455142021179, -0.7852096557617188, 0.7491937875747681, 0.2567104399204254, 0.2535172998905182, 0.14647802710533142, 0.22866128385066986, 0.025104936212301254, 0.3757009208202362, -0.6576467752456665, 0.06660213321447372, -0.3211519420146942, 0.02231462299823761, -0.035852354019880295, -0.07632361352443695, -0.6530815362930298, -0.016200704500079155, 0.8101145029067993, -0.10991191118955612, 0.007318238727748394, 0.16898378729820251, -0.18411675095558167, -0.20703047513961792, -0.049102336168289185, 0.3927319347858429, 1.069093942642212, -0.1591157466173172, -0.22187671065330505, -0.3593163788318634, -0.8020991683006287, -0.06628219783306122, 0.5291610956192017, -0.378797322511673, -0.38398125767707825, 0.30334946513175964, 0.4492143988609314, 0.3761390745639801, -0.8083601593971252, 0.5104203224182129, 0.2752488851547241, 0.2817037105560303, -0.42033207416534424, 0.13720662891864777, 0.2663741707801819, 0.1700168251991272, 0.1184292733669281, 0.3848330080509186, 0.38460853695869446, -0.48136478662490845, 0.38329699635505676, 0.32666468620300293, -0.5596613883972168, -0.12924493849277496, 0.6522734761238098, 0.6250980496406555, -0.280840665102005, 0.8593953251838684, -0.12848900258541107, -0.15337899327278137, 1.1150870323181152, 0.4071711003780365, 0.7997249960899353, -0.17108093202114105, 0.5187807679176331, 0.11958348006010056, 0.683834969997406, -0.26101502776145935, 0.457738995552063, -0.033816609531641006, -0.41513678431510925, -0.2959801256656647, -0.37037116289138794, -0.39081817865371704, 0.30365389585494995, -0.679173469543457, 0.37672895193099976, -0.6668806672096252, -0.13857242465019226, 0.07007108628749847, 0.2021774798631668, -0.8939927220344543, 0.4609192907810211, -0.2880772352218628, 1.1448948383331299, -0.6486741304397583, 0.3742882311344147, 0.7876940369606018, -0.681049644947052, -0.7867766618728638, -0.2982778549194336, 0.3750438690185547, -0.3901737928390503, 0.3448149561882019, 0.30340635776519775, -0.25526025891304016, 0.14734263718128204, -0.8452188372612, -0.8892552256584167, 1.3099404573440552, 0.5228543877601624, -0.23333817720413208, 0.08480564504861832, -0.146205335855484, 0.35111141204833984, -0.35889339447021484, 0.06808124482631683, 0.5344335436820984, 0.7348809242248535, -0.4727343022823334, -0.8287052512168884, -0.0063334195874631405, -0.44236645102500916, -0.2324337363243103, 0.13987219333648682, -0.5535555481910706, 0.712342381477356, -0.42842012643814087, -0.10139695554971695, 0.08251986652612686, 0.2849932909011841, 0.44640490412712097, 0.3551621437072754, 0.0987442210316658, 0.2717301547527313, 0.5885264873504639, 0.05380775034427643, 1.0694376230239868, -0.45207732915878296, 0.14986392855644226, 0.7681929469108582, -0.11597421765327454, 0.6340172290802002, 0.6626283526420593, 0.19112469255924225, 0.0007944730459712446, 0.7531256675720215, -0.1594725400209427, 0.38410744071006775, 0.061833180487155914, 0.14133039116859436, -0.2574695646762848, -0.5525006055831909, -0.39177054166793823, 0.4733343720436096, 0.30575886368751526, -0.43162497878074646, -0.2912513017654419, -0.15176819264888763, 0.06463325023651123, 0.1032758355140686, -0.2644162178039551, 0.15175679326057434, 0.22537031769752502, -0.5687940716743469, -0.1069512739777565, 0.17077645659446716, -0.052318647503852844, -0.5118083953857422, -0.32234689593315125, -0.14350415766239166, 0.21479634940624237, -0.2550230920314789, -0.8051369786262512, 0.4957953691482544, 0.10284904390573502, -0.38792282342910767, -0.6012179255485535, 0.6045738458633423, 0.09975141286849976, -0.6193733215332031, 0.4479491412639618, 0.5801345109939575, -0.12320718169212341, 0.14427348971366882, -0.7497154474258423, 0.10876264423131943, -0.211747407913208, -0.40335431694984436, -0.02974359318614006, 0.25153690576553345, -0.4520195424556732, 0.916206419467926, 0.7738913297653198, -0.013686208054423332, -0.08255864679813385, -0.1298329383134842, 0.8124452233314514, -0.5773780345916748, -0.49743354320526123, -0.3878719210624695, 0.8554767370223999, -0.08883652091026306, -0.802360475063324, 0.5048497915267944, 0.37069952487945557, 1.00821852684021, 0.054363593459129333, 0.8286781907081604, -0.3291280269622803, 0.009992174804210663, -0.22369502484798431, 1.0256520509719849, -0.33919376134872437, 0.0819573625922203, -0.22180263698101044, -1.0304906368255615, -0.27998086810112, 0.7660014033317566, 0.09681516140699387, 0.37819206714630127, 0.130514457821846, 0.6231495141983032, -0.18655866384506226, 0.09672389179468155, -0.19528819620609283, 0.19706092774868011, 0.47895362973213196, -0.12466688454151154, 0.3491653800010681, -0.47926315665245056, 0.4882993996143341, -0.5084200501441956, -0.29910027980804443, -0.15901601314544678, -1.2318496704101562, -0.5902155041694641, -0.5860813856124878, -0.4066130816936493, -0.16366960108280182, 0.23449403047561646, 0.5764707922935486, 1.0326663255691528, -0.7697672843933105, -0.21335701644420624, -0.44900381565093994, 0.002325512934476137, -0.34304386377334595, -0.23261146247386932, 0.045697394758462906, 0.15811887383460999, -0.35188305377960205, 0.49966955184936523, 0.025656472891569138, -0.03868592530488968, -0.9312147498130798, -0.1467035710811615, -0.009700596332550049, 0.003338978858664632, 0.2891998291015625, 0.44537153840065, -0.6028002500534058, -0.1810922622680664, 0.2429417073726654, -0.18002325296401978, -0.48060494661331177, 0.6770334839820862, -0.6361128091812134, 0.5766093730926514, 0.4373537003993988, 0.5474696159362793, 0.06622036546468735, -0.3338943123817444, 1.009068250656128, -0.3948374092578888, 0.2906765043735504, 0.706213653087616, 0.32941457629203796, 0.6126341223716736, -0.5591720938682556, 0.8482128381729126, -0.17527027428150177, -0.6542759537696838, -1.1328362226486206, 0.33574914932250977, -0.6105534434318542, -0.0824703723192215, 0.7102960348129272, -0.15528163313865662, -0.07207345962524414, 0.06886778026819229, -0.1042296290397644, 0.15771903097629547, -0.3030872344970703, 0.8163092136383057, 0.8472832441329956, 0.0610964410007, -0.1266467422246933, -0.691892147064209, 0.7065329551696777, 0.10889244079589844, -0.9119933843612671, 0.18435291945934296, 0.9114764928817749, 0.11264551430940628, 0.4086061716079712, 0.5081794261932373, -0.2608256936073303, 0.5788270235061646, 0.17509792745113373, 0.13514597713947296, -0.11252999305725098, -0.7168037295341492, -0.17302711308002472, -0.2656760811805725, -0.04711933434009552, 0.29191288352012634 ]
http://arxiv.org/abs/2406.16743v1
http://arxiv.org/pdf/2406.16743v1
Adversarial Contrastive Decoding: Boosting Safety Alignment of Large Language Models via Opposite Prompt Optimization
2024-06-24T15:51:30
2024-06-24T15:51:30
Zhengyue Zhao, Xiaoyun Zhang, Kaidi Xu, Xing Hu, Rui Zhang, Zidong Du, Qi Guo, Yunji Chen
cs.CL
cs.CL
With the widespread application of Large Language Models (LLMs), it has become a significant concern to ensure their safety and prevent harmful responses. While current safe-alignment methods based on instruction fine-tuning and Reinforcement Learning from Human Feedback (RLHF) can effectively reduce harmful responses from LLMs, they often require high-quality datasets and heavy computational overhead during model training. Another way to align language models is to modify the logit of tokens in model outputs without heavy training. Recent studies have shown that contrastive decoding can enhance the performance of language models by reducing the likelihood of confused tokens. However, these methods require the manual selection of contrastive models or instruction templates. To this end, we propose Adversarial Contrastive Decoding (ACD), an optimization-based framework to generate two opposite system prompts for prompt-based contrastive decoding. ACD only needs to apply a lightweight prompt tuning on a rather small anchor dataset (< 3 min for each model) without training the target model. Experiments conducted on extensive models and benchmarks demonstrate that the proposed method achieves much better safety performance than previous model training-free decoding methods without sacrificing its original generation ability.
[ -0.31282520294189453, -0.8159874677658081, 0.10589839518070221, -0.13136185705661774, -0.4710133969783783, -0.19583933055400848, -0.04861483350396156, -0.2835598289966583, -0.03488492965698242, 0.4386301636695862, -0.6339605450630188, -0.43052753806114197, -0.4485244154930115, 0.056783512234687805, -0.28163397312164307, 1.0041568279266357, 0.1329086571931839, 0.47541582584381104, -0.05370604246854782, -0.2586916387081146, -0.4127994775772095, -0.550944983959198, -1.1457867622375488, -0.18655088543891907, 0.4294539988040924, 0.2466956377029419, 0.9807397723197937, 1.138205647468567, 0.3161715865135193, 0.29825010895729065, -0.16121503710746765, 0.18715092539787292, -0.4354649782180786, 0.16733123362064362, -0.1405065655708313, -0.37545645236968994, -0.20029938220977783, -0.17015402019023895, 0.3973623514175415, 0.4887283742427826, 0.032437343150377274, -0.3276074230670929, 0.2584529221057892, 0.5936289429664612, -0.8047975897789001, -0.07714440673589706, -0.3667793273925781, 0.022427402436733246, 0.19200514256954193, -0.49322509765625, -0.4003331661224365, -0.5373955965042114, -0.05947493761777878, -0.6512745022773743, 0.23027735948562622, 0.2701427936553955, 0.7737137675285339, 0.40956559777259827, -0.4190153181552887, -0.31275609135627747, -0.23565255105495453, 0.6884312033653259, -0.7714908719062805, 0.10787595808506012, 0.19203777611255646, 0.08610733598470688, -0.2527325749397278, -0.1600525826215744, -0.504520833492279, -0.04229312017560005, -0.07612242549657822, 0.053152672946453094, -0.22564324736595154, 0.41008883714675903, 0.11294275522232056, 0.088785320520401, -0.7467909455299377, 0.5697691440582275, 0.09524744004011154, -0.27597784996032715, 0.4834916591644287, 0.49272620677948, 0.3938656747341156, 0.176242858171463, -0.39030757546424866, -0.4907851219177246, -1.0585917234420776, 0.11324886977672577, 0.694588840007782, 0.5601838231086731, -0.2054928094148636, 0.3443261981010437, -0.05337024852633476, 0.6241542100906372, 0.2798644006252289, 0.20304512977600098, -0.03968274965882301, -0.16823486983776093, -0.08893981575965881, 0.28108587861061096, 0.8951233625411987, 0.6086286306381226, 0.042643070220947266, -0.20205233991146088, -0.38147836923599243, 0.4567643702030182, 0.21321526169776917, -0.9147937297821045, -0.38771942257881165, 0.13715435564517975, -0.43728604912757874, -0.7493579983711243, -0.2434161901473999, -0.8714436292648315, -0.770369827747345, -0.2692399024963379, 0.4466271996498108, -0.4928171634674072, 0.0726737305521965, -0.029504762962460518, 0.0075555481016635895, 0.1785983294248581, 0.18424533307552338, -0.9938545227050781, 0.1560491919517517, 0.693755030632019, 0.6286958456039429, -0.13789761066436768, -0.2411624938249588, -1.0757633447647095, -0.14503398537635803, -0.644152820110321, 0.5445489287376404, -0.43717044591903687, -0.5102933049201965, 0.09817413240671158, 0.024951282888650894, 0.025830529630184174, -0.2975955605506897, 0.5800343751907349, -0.8151313066482544, 0.2610093653202057, -0.48776882886886597, -0.40523502230644226, -0.15857338905334473, 0.2829749584197998, -0.5752233266830444, 0.4266400635242462, -0.21174262464046478, -0.9584499001502991, 0.0020876138005405664, -0.33259621262550354, -0.7266857028007507, -0.17649008333683014, -0.25143176317214966, -0.5699262022972107, 0.01261345949023962, 0.659440279006958, 0.09461870044469833, -0.41959962248802185, 0.07543320208787918, -0.35451194643974304, -0.5203094482421875, 0.13844475150108337, -0.6527776122093201, 0.9617237448692322, 0.4620017409324646, -0.4854523837566376, 0.4365755021572113, -0.6147722005844116, -0.09164953231811523, 0.2705191969871521, -0.28534233570098877, -0.27503684163093567, -0.08379310369491577, -0.09881330281496048, 0.2204534113407135, 0.173467218875885, -0.3668246865272522, -0.06283780187368393, -0.6368562579154968, 0.17324896156787872, 0.9522629380226135, -0.026207292452454567, 0.5236290097236633, -0.3617856800556183, 0.9085938334465027, 0.08756676316261292, 0.04123550280928612, -0.36434170603752136, -0.21586667001247406, -0.7366392612457275, -0.18378229439258575, 0.2542524039745331, 0.7631322145462036, -0.9862985014915466, 0.6572579741477966, 0.06632814556360245, -0.05234094336628914, -0.784227728843689, 0.02980257198214531, 0.8961219787597656, 0.9313057065010071, 0.46179643273353577, -0.032577335834503174, -0.5227115750312805, -0.7180527448654175, -0.15072019398212433, -0.26374897360801697, 0.18259727954864502, 0.3690105974674225, 0.0441347099840641, -0.12371869385242462, 0.5158435702323914, -0.4725464880466461, -0.03375668451189995, -0.19371506571769714, 0.08790270239114761, 0.043805450201034546, 0.5896149277687073, 0.4657343626022339, -0.7091829180717468, -0.39023444056510925, -0.08139698952436447, -0.6451773047447205, -0.26988673210144043, -0.12149401754140854, -0.1834433227777481, 0.3598032593727112, 0.8486477732658386, -0.3836590051651001, 0.18578143417835236, 0.5697940587997437, -0.42334192991256714, 0.5114974975585938, -0.31853070855140686, 0.23139595985412598, -0.9899826049804688, 0.3301246166229248, -0.23291224241256714, -0.037850767374038696, -0.6020339727401733, 0.3225087523460388, 0.1362852156162262, -0.29633140563964844, -0.32298898696899414, 0.6663619875907898, -0.42992091178894043, 0.2286546677350998, -0.52530837059021, 0.11688537895679474, 0.08762773126363754, 0.45211341977119446, -0.03807121887803078, 0.8597303032875061, 0.6920770406723022, -0.5800167918205261, 0.4894729256629944, 0.18426455557346344, 0.007351597771048546, 0.5554454922676086, -0.5874010920524597, 0.12931306660175323, -0.3401377201080322, 0.24821244180202484, -1.0713435411453247, 0.007135201245546341, 0.4534502327442169, -0.35969793796539307, 0.5402255058288574, -0.16067388653755188, -0.16165319085121155, -0.1515529453754425, -0.3847641944885254, 0.6554552912712097, 0.6137176156044006, -0.8983002305030823, 0.301287442445755, 0.25606825947761536, -0.21650496125221252, -0.9490212202072144, -0.5911420583724976, 0.14208726584911346, -0.44168150424957275, -0.4607292711734772, 0.06456732004880905, -0.09540719538927078, -0.03863554820418358, -0.0333159863948822, -0.0732112005352974, 0.2997322082519531, 0.3922513425350189, 0.07417593151330948, 0.5105654001235962, -0.34520310163497925, -0.06919946521520615, 0.01709907129406929, -0.32748886942863464, 0.09284251928329468, -0.2094855159521103, 0.4325118660926819, 0.01170224230736494, -0.3827247619628906, -0.5904747843742371, 0.4918336570262909, 0.2947615087032318, -0.09667722135782242, 0.826026439666748, 0.48959478735923767, -0.1872473508119583, -0.09906838089227676, -0.2701977491378784, -0.4255220592021942, -0.5208378434181213, 0.3685442805290222, -0.19656206667423248, -0.5797935128211975, 0.4477163851261139, 0.2967863380908966, 0.038722630590200424, 0.2208234965801239, 0.2712804079055786, 0.10693331807851791, 1.5132638216018677, 0.47468870878219604, -0.3663610816001892, 0.6349790692329407, 0.10159208625555038, 0.1766599416732788, -0.5457870960235596, -0.082262322306633, -0.7368800640106201, -0.2492624670267105, -0.44786250591278076, -0.06723511964082718, 0.3079123795032501, 0.2221824824810028, -0.33723777532577515, 0.1752004474401474, -0.423042356967926, 0.6918607354164124, 0.5531843900680542, 0.235955610871315, 0.06467334181070328, -0.08304303139448166, -0.35102584958076477, 0.10207357257604599, -0.8124815225601196, -0.3113103210926056, 0.90478515625, 0.17077668011188507, 1.189922571182251, 0.012636697851121426, 0.6330657005310059, 0.012930403463542461, 0.03073435090482235, -0.6932673454284668, 0.6282562613487244, -0.40663832426071167, -0.18325833976268768, -0.20935028791427612, -0.6965698003768921, -1.009730577468872, 0.26887035369873047, -0.28495118021965027, -0.38179853558540344, 0.2743542194366455, 0.49665072560310364, -0.5347627401351929, 0.19216912984848022, -0.8082581162452698, 0.8603460788726807, -0.30896440148353577, -0.16169783473014832, -0.13804064691066742, -0.918099582195282, 0.2732605040073395, 0.24373778700828552, 0.10198364406824112, 0.36447829008102417, -0.10085376352071762, 0.5155702829360962, -0.3801489770412445, 0.7968254685401917, -0.31190064549446106, -0.30280011892318726, 0.05424469709396362, 0.1841270625591278, 1.0672212839126587, -0.18278652429580688, -0.029000498354434967, -0.3705671727657318, -0.2722645401954651, -0.4090338945388794, -0.5911498069763184, 0.8825744986534119, -0.7088894844055176, -0.6785599589347839, -0.2544392943382263, -0.5857555270195007, -0.2819501757621765, 0.1920463740825653, 0.5829750895500183, 0.6829255819320679, -0.2657882273197174, 0.05580030009150505, 0.9161954522132874, -0.4291939437389374, 0.38085153698921204, 0.424407035112381, 0.17997314035892487, -0.5710260272026062, 1.0063426494598389, -0.39952346682548523, 0.28326019644737244, 0.5408952832221985, 0.1264098882675171, -0.5281533598899841, -0.8023061156272888, -0.5532804727554321, -0.03658878058195114, -0.9238213300704956, -0.4465554356575012, -0.605943500995636, -0.06422434002161026, -0.49843576550483704, -0.43091222643852234, -0.18887737393379211, -0.2953084409236908, -0.6728751063346863, 0.07321538031101227, 0.04498538747429848, 0.3951056897640228, -0.12584257125854492, 0.24586184322834015, -0.708734929561615, 0.4512766897678375, 0.2141016721725464, 0.07019110769033432, 0.06703682243824005, -0.49695518612861633, -0.19077658653259277, 0.1244184598326683, -0.14409366250038147, -0.7083941698074341, 0.3336855471134186, -0.08656339347362518, 0.4798869788646698, 0.6997949481010437, 0.5889945030212402, 0.6207919120788574, -0.40534207224845886, 0.524651825428009, 0.44100427627563477, -0.7187487483024597, 0.3018452525138855, -0.2574165463447571, 0.31390440464019775, 0.4677051901817322, 0.23122932016849518, -0.4296131134033203, -0.20840495824813843, -0.3017561435699463, -0.9127147197723389, 0.9297456741333008, -0.1947086602449417, -0.01828388124704361, -0.19476178288459778, 0.07373273372650146, -0.051283400505781174, -0.03332067281007767, -0.44333165884017944, -0.23560123145580292, -0.3325705826282501, -0.5553545355796814, -0.2161995768547058, -0.17337119579315186, -0.4924214780330658, 0.42717283964157104, 0.9060142040252686, -0.3287806808948517, 0.09164851903915405, -0.050672538578510284, -0.07663538306951523, -0.27501723170280457, 0.3663669228553772, 0.6257758140563965, -0.04179984703660011, 0.005922351963818073, 0.29773229360580444, 0.17182084918022156, -0.1968746930360794, 0.32072943449020386, 0.34149014949798584, -0.12283669412136078, -0.41540277004241943, 0.21390676498413086, 0.7353333234786987, 0.07683145254850388, -0.6851963400840759, 0.7078070044517517, -0.223033607006073, 0.1531578004360199, 0.31768137216567993, 0.3102072775363922, -0.14964553713798523, 0.357041597366333, 0.16415154933929443, 0.14446428418159485, 0.1071256473660469, -0.15283341705799103, 0.14208462834358215, 0.8569081425666809, -0.3669147193431854, -0.15393216907978058, 0.8105378150939941, 0.4291146993637085, -0.21624670922756195, 0.5019084215164185, -0.22503572702407837, -0.4639786183834076, 0.770308792591095, 0.6954362988471985, 1.0341005325317383, -0.27926018834114075, -0.08914196491241455, 0.29175490140914917, 0.20175965130329132, -0.12874209880828857, 0.044526271522045135, 0.08989981561899185, -0.671729326248169, -0.1157987117767334, -0.41646355390548706, -0.3517806828022003, 0.27575260400772095, -0.7730186581611633, 0.3667992353439331, -0.4935261011123657, 0.13682465255260468, -0.3337971568107605, -0.10333216190338135, -0.2360885888338089, 0.4273918569087982, 0.08401428908109665, 0.7031914591789246, -0.8058784008026123, 0.645014762878418, 0.5758630633354187, -0.035452283918857574, -0.5001953840255737, 0.14328929781913757, 0.19346340000629425, -0.8806341290473938, 0.2721491754055023, 0.2660360038280487, -0.4985167980194092, 0.051592081785202026, -0.4021303951740265, -0.5040626525878906, 0.8080002665519714, 0.6524897813796997, -0.6269253492355347, -0.22695589065551758, -0.26768237352371216, 0.4529517590999603, -0.4339958131313324, 0.02919175662100315, 0.32544204592704773, 0.0675634890794754, 0.1267826110124588, -0.4015287160873413, 0.5030385255813599, -0.28396135568618774, 0.06894994527101517, 0.21622389554977417, -0.46780672669410706, 0.6049309968948364, -0.5221959352493286, -0.5663905739784241, 0.4784432053565979, 0.5024257898330688, 0.26288625597953796, 0.026928167790174484, 0.4972870945930481, 0.6735435128211975, 0.5074547529220581, 0.07304590940475464, 1.0665189027786255, -0.4784773886203766, 0.03334587439894676, 1.099281668663025, 0.007538831792771816, 0.5279139280319214, 0.33836016058921814, 0.1818798929452896, 0.11762190610170364, 0.5298866629600525, 0.12104851752519608, 0.8949829339981079, 0.01804339326918125, -0.3125929534435272, -0.30299511551856995, -0.16609317064285278, -0.6234310865402222, 0.054037876427173615, 0.2931406497955322, -0.45713716745376587, -0.3203021287918091, -0.14273399114608765, 0.07639884948730469, 0.22567543387413025, -0.30778416991233826, 0.8152766227722168, -0.08875223994255066, -0.890709400177002, 0.8565649390220642, 0.07327888160943985, 0.7852196097373962, -0.4672197997570038, 0.10818646848201752, -0.3172299861907959, 0.314571350812912, -0.047175586223602295, -0.48259976506233215, 0.06855928152799606, -0.027775244787335396, -0.07688643783330917, -0.05897679552435875, 0.40741297602653503, -0.5758046507835388, -0.055312931537628174, 0.2499750256538391, 0.002540342975407839, -0.2473982870578766, 0.24092887341976166, -0.8178756237030029, -0.011354590766131878, 0.062283359467983246, -0.10596320778131485, 0.5531570911407471, 0.3047221601009369, 0.16252455115318298, 0.6379075050354004, 0.7018464207649231, 0.06655126065015793, -0.21326233446598053, -0.021495327353477478, 1.001813292503357, -0.6575228571891785, -1.0079044103622437, -0.875060498714447, 0.22682012617588043, 0.25307226181030273, -0.15942935645580292, 0.572044849395752, 0.34652528166770935, 0.4837789535522461, 0.06770460307598114, 0.7307072877883911, 0.29331913590431213, 0.21232788264751434, -0.857682466506958, 0.5648856163024902, -0.4400745630264282, 0.45817869901657104, -0.18322430551052094, -0.551555335521698, -0.3275967538356781, 0.42961615324020386, -0.1438894420862198, 0.03902870789170265, 0.525653064250946, 1.2190980911254883, 0.05943543091416359, 0.08728678524494171, 0.2555997967720032, 0.08255312591791153, 0.3810608983039856, 0.6698367595672607, 0.8051859140396118, -0.37227150797843933, 0.902454137802124, -0.04844743385910988, -0.19702045619487762, -0.43858420848846436, -0.9040604829788208, -1.0371036529541016, -0.23367702960968018, -0.29418185353279114, -0.6655703186988831, 0.40543684363365173, 0.9607390761375427, 0.5531117916107178, -1.0938348770141602, 0.15234766900539398, -0.39044690132141113, 0.0801006332039833, -0.15211154520511627, -0.23336456716060638, 0.5249940156936646, -0.6018034815788269, -0.6702892780303955, 0.7119398713111877, 0.1318621039390564, 0.47654712200164795, 0.015569495968520641, -0.4460311233997345, 0.015538912266492844, 0.1343451887369156, 0.04143235459923744, 0.561730146408081, -0.6256828308105469, -0.081378273665905, -0.15878568589687347, -0.44039806723594666, -0.06805826723575592, 0.6822055578231812, -0.7049477100372314, 0.49998652935028076, 0.6357030868530273, 1.0305147171020508, -0.04924002289772034, 0.34941259026527405, 0.8029720783233643, -0.7374628782272339, 0.22412440180778503, 0.228229820728302, 0.3647802472114563, 0.5499988198280334, -0.6749145984649658, 0.11317173391580582, -0.029879255220294, -0.511009156703949, -0.8849011659622192, 0.39686331152915955, -0.5715029835700989, -0.48505347967147827, 1.1612794399261475, -0.37894701957702637, -0.04707341641187668, -0.19151964783668518, -0.33653801679611206, 0.3213920593261719, -0.5902983546257019, 0.8196476697921753, 0.4415193796157837, -0.05452204495668411, -0.09493637830018997, 0.2327021360397339, 0.7923886179924011, 0.6713417768478394, -0.6334502696990967, 0.22228431701660156, 0.5924445986747742, 0.05972597375512123, -0.02694724127650261, 0.24114538729190826, -0.08810193091630936, 0.5408483147621155, 0.21681278944015503, -0.3103482127189636, -0.3483886420726776, -0.29873818159103394, -1.0413308143615723, 0.19063296914100647, 0.01509637851268053, -0.44647711515426636 ]
http://arxiv.org/abs/2406.16732v2
http://arxiv.org/pdf/2406.16732v2
CLIMATELI: Evaluating Entity Linking on Climate Change Data
2024-06-24T15:36:00
2024-06-27T14:44:51
Shijia Zhou, Siyao Peng, Barbara Plank
cs.CL
cs.CL
Climate Change (CC) is a pressing topic of global importance, attracting increasing attention across research fields, from social sciences to Natural Language Processing (NLP). CC is also discussed in various settings and communication platforms, from academic publications to social media forums. Understanding who and what is mentioned in such data is a first critical step to gaining new insights into CC. We present CLIMATELI (CLIMATe Entity LInking), the first manually annotated CC dataset that links 3,087 entity spans to Wikipedia. Using CLIMATELI (CLIMATe Entity LInking), we evaluate existing entity linking (EL) systems on the CC topic across various genres and propose automated filtering methods for CC entities. We find that the performance of EL models notably lags behind humans at both token and entity levels. Testing within the scope of retaining or excluding non-nominal and/or non-CC entities particularly impacts the models' performances.
[ -0.7034519910812378, -0.6554086208343506, 0.2692345976829529, 0.03216330707073212, -0.23382093012332916, 0.08789984881877899, -0.4399213194847107, -0.9445850253105164, -0.003691336140036583, 0.44379177689552307, -0.6146975755691528, -0.5531133413314819, -0.45577752590179443, 0.41919180750846863, -0.5387939214706421, 0.9491565227508545, 0.23586243391036987, -0.20017273724079132, -0.3793899416923523, -0.036194320768117905, -0.14484095573425293, 0.01140299066901207, -0.9563596844673157, -0.27364808320999146, 0.6968027353286743, 0.5295728445053101, 0.9178641438484192, 0.4067971408367157, 0.4172535240650177, 0.29666098952293396, -0.19788368046283722, 0.16615039110183716, -0.622533917427063, 0.30314669013023376, -0.4559178352355957, -0.034894201904535294, -0.11200767010450363, -0.14968709647655487, 0.5627886056900024, 0.43665632605552673, 0.12661898136138916, 0.6177484393119812, 0.047381848096847534, 0.4290318787097931, -0.7524253726005554, 0.27351558208465576, -1.2053258419036865, -0.355389267206192, -0.34860479831695557, 0.0508909672498703, -0.39941248297691345, 0.042911749333143234, 0.20673474669456482, -0.888550877571106, 0.7658198475837708, 0.7182296514511108, 0.6633389592170715, 0.573091983795166, -0.41935375332832336, -0.30615484714508057, -0.6425337195396423, 0.42327141761779785, -0.4092670679092407, 0.647619903087616, 0.22742153704166412, -0.12385570257902145, -0.09805316478013992, -0.5039400458335876, -1.0230457782745361, -0.3779507279396057, -0.17215938866138458, -0.1809510439634323, -0.07684022188186646, -0.21289603412151337, 0.3002888858318329, 0.24537886679172516, -0.42409294843673706, 0.052391111850738525, -0.5500032305717468, -0.25529539585113525, 0.7966534495353699, 0.054116345942020416, 0.40089404582977295, -0.5696922540664673, -0.3920878767967224, -0.16782183945178986, -0.866803765296936, -0.3278851807117462, 0.5612305402755737, 0.44470733404159546, -0.11393465101718903, 0.4741840660572052, 0.025610480457544327, 0.4130929708480835, -0.023830197751522064, 0.2806539535522461, -0.15691855549812317, -0.45695966482162476, -0.23265425860881805, 0.31912294030189514, 0.634285032749176, 0.3519499897956848, 0.027915218845009804, -0.22966241836547852, 0.13946697115898132, -0.22961531579494476, -0.07517494261264801, -0.6988300681114197, -0.6918826699256897, -0.21208670735359192, -0.1349138766527176, -0.11861167848110199, 0.08031467348337173, -1.1628642082214355, -0.6678430438041687, -0.38112637400627136, -0.08601304888725281, 0.1105736717581749, -0.47247225046157837, -0.27337121963500977, 0.1050095483660698, -0.04759756475687027, 0.2888978123664856, -0.6582698822021484, 0.34748855233192444, 0.5776222944259644, 0.639015257358551, -0.3642813265323639, -0.152471125125885, -0.2770751416683197, 0.08505529910326004, -0.18650861084461212, 0.8928169012069702, -0.8498921990394592, -0.6334559917449951, -0.3084963262081146, 0.18793803453445435, 0.032392870634794235, -0.21315769851207733, 0.37699005007743835, -0.76836097240448, 0.014216969721019268, -0.5862996578216553, -0.5969921946525574, 0.15007197856903076, -0.17460380494594574, -1.1683368682861328, 1.2374640703201294, -0.2384951114654541, -1.0570050477981567, 0.8141084909439087, -0.8113536834716797, -0.14459040760993958, 0.13423557579517365, 0.3215651214122772, -0.5330871939659119, -0.3952649235725403, 0.10652764141559601, 0.05472423508763313, -0.7273579835891724, 0.4532127380371094, -0.5778838992118835, -0.13158516585826874, -0.037186842411756516, -0.32427263259887695, 0.7292338609695435, 0.33802416920661926, -0.3558342158794403, 0.18232066929340363, -0.6259280443191528, -0.3341917097568512, -0.08059033006429672, 0.040094487369060516, -0.6230109930038452, 0.20369552075862885, 0.5689535140991211, -0.016428174450993538, 0.19933244585990906, -0.45622342824935913, 0.2695741653442383, -0.046297162771224976, 0.4506606161594391, 0.6829150319099426, 0.2530886232852936, 0.3321551978588104, 0.03130469471216202, 0.1961958408355713, 0.0762331634759903, 0.09159503132104874, 0.10554283112287521, -0.7627983689308167, -0.8498156666755676, 0.21080932021141052, 0.2995178699493408, 0.4665237069129944, -0.9343254566192627, 0.030313553288578987, -0.22833320498466492, -0.8994238376617432, -0.4302905797958374, 0.28936758637428284, 0.025754472240805626, 0.5812200307846069, 0.6297080516815186, 0.22867360711097717, -0.4711676836013794, -0.7311512231826782, -0.40890204906463623, -0.6411141753196716, 0.10130225867033005, 0.2891838550567627, 0.9593446850776672, -0.13768494129180908, 1.0026949644088745, -0.5186356902122498, 0.2593405544757843, 0.13119763135910034, 0.11629882454872131, -0.20451398193836212, 0.31702396273612976, 0.5447850823402405, -1.2226263284683228, -0.36350324749946594, -0.13168877363204956, -0.2344442903995514, -0.21751029789447784, -0.11983535438776016, -0.20886266231536865, 0.14036434888839722, 0.3778846263885498, -0.402726948261261, 0.5839333534240723, 0.4273696839809418, -0.6823461651802063, 0.35487085580825806, -0.08405230194330215, 0.6087551116943359, -0.7808505296707153, 0.27270567417144775, 0.39419645071029663, -0.1476098746061325, -0.5411581993103027, -0.08971909433603287, -0.17603842914104462, -0.10417066514492035, -0.5376933217048645, 0.8070626854896545, -0.5108928680419922, -0.15833210945129395, 0.0172285046428442, 0.28284409642219543, 0.07078009098768234, 0.09756176918745041, 0.011795236729085445, 0.7938040494918823, 0.4741641879081726, -0.6937137246131897, 0.3470766544342041, 0.133774995803833, -0.19611856341362, 0.4321436583995819, -0.3460731506347656, 0.43581798672676086, -0.24431288242340088, 0.2856278419494629, -0.7296644449234009, -0.11189041286706924, 0.31869226694107056, -0.1317089945077896, -0.019122399389743805, -0.06812076270580292, -0.6582925319671631, -0.35555362701416016, -0.0015680019278079271, 0.4661923348903656, -0.004281812813133001, -0.4605685770511627, 0.36466139554977417, 0.41619113087654114, 0.17895808815956116, -0.11770451068878174, -0.3166225552558899, 0.3035968542098999, -0.521996259689331, -0.3450795114040375, 0.419270783662796, -0.39135631918907166, -0.45452168583869934, 0.49843987822532654, -0.17816881835460663, -0.34952694177627563, 0.5253868699073792, 0.3498963713645935, 0.3953815698623657, -0.09930365532636642, 0.44375598430633545, -0.13113175332546234, 0.16574034094810486, 0.2089141309261322, -0.2910133898258209, 0.1637660712003708, -0.037231676280498505, -0.07656224071979523, -0.35599812865257263, 0.11442500352859497, 0.5858979225158691, -0.11039217561483383, 1.1994115114212036, 0.6086885929107666, -0.7600111961364746, 0.14012378454208374, -0.5711133480072021, 0.07022915035486221, -0.36653873324394226, 0.06284092366695404, -0.1495392918586731, -0.8277295827865601, 0.4457356035709381, -0.04182838276028633, 0.01834259368479252, 1.0435426235198975, 0.3414927124977112, 0.30323708057403564, 0.4392307698726654, 0.8560397028923035, -0.36131373047828674, 0.3526688814163208, -0.024776527658104897, 0.3950936496257782, -0.6679032444953918, -0.5981749296188354, -0.8687454462051392, 0.053914882242679596, -0.8997455835342407, -0.4062317907810211, 0.15165214240550995, 0.15193170309066772, -0.359591007232666, 0.6568253040313721, -0.5480343699455261, 0.4726725220680237, 0.15721362829208374, 0.1481788605451584, 0.6112003326416016, -0.28305962681770325, 0.3634485900402069, -0.014403271488845348, -0.41831403970718384, -0.49143171310424805, 0.6667802333831787, -0.07183127850294113, 0.5642200708389282, 0.12067219614982605, 0.1574067622423172, 0.8793332576751709, 0.7304168343544006, -0.26501262187957764, 0.4189760386943817, 0.07836167514324188, -0.7494068145751953, -0.6428907513618469, -0.3211967647075653, -0.7452534437179565, 0.06493372470140457, -0.5218955874443054, -0.49001556634902954, 0.3713715076446533, 0.2520180940628052, 0.11410568654537201, 0.6857373714447021, -0.45078471302986145, 0.7016246318817139, 0.00190162961371243, -0.4882400631904602, -0.35814738273620605, -0.23244576156139374, 0.28024592995643616, -0.2860156297683716, 0.4154563844203949, -0.4523768723011017, -0.1917276531457901, 0.5697471499443054, -0.3080374002456665, 0.663791835308075, -0.20698252320289612, 0.10600864887237549, 0.4224642217159271, -0.1306215077638626, 0.2005729228258133, 0.5114464163780212, -0.4542270600795746, 0.3417596220970154, 0.07165580242872238, -0.4354935586452484, -0.20452506840229034, 1.0458452701568604, -0.6566879153251648, -0.539943277835846, -0.3371800184249878, -0.03889065608382225, 0.021684760227799416, 0.08691748231649399, 0.3008834719657898, -0.023220183327794075, -0.4277523458003998, -0.027652457356452942, 0.6871006488800049, -0.136979341506958, 0.25010043382644653, 0.4699951708316803, -0.05875274911522865, -0.21164025366306305, 0.6029677987098694, 0.07959756255149841, 0.04179475083947182, 0.09409651905298233, 0.046089623123407364, -0.10657547414302826, -0.29864275455474854, -0.5679152011871338, 0.008140183053910732, -0.664595365524292, -0.2984199821949005, -0.547163724899292, -0.02297852747142315, -0.47972825169563293, 0.004667630419135094, -0.1115087941288948, 0.10645364224910736, -0.5563133358955383, -0.053730934858322144, 0.6321945786476135, 0.9315728545188904, 0.16959579288959503, -0.1781386137008667, -0.2662041485309601, 0.20742514729499817, 0.026181096211075783, 0.1500076949596405, -0.017530836164951324, 0.050155751407146454, -0.22813905775547028, 0.07845499366521835, 0.02231048233807087, -1.2172468900680542, 0.2198767513036728, 0.6379972696304321, 0.315032035112381, 0.1477992832660675, 0.3282056450843811, 0.8939339518547058, -0.5074813365936279, 1.022963047027588, -0.03683231770992279, -1.3646037578582764, 0.7795907258987427, 0.08741822838783264, 0.11140093207359314, 0.5534454584121704, 0.46441230177879333, -0.5888121128082275, -0.3119626045227051, -0.5825919508934021, -1.005081295967102, 0.18059267103672028, 0.35062360763549805, -0.05769677087664604, -0.23186443746089935, 0.7220596075057983, 0.023663107305765152, 0.1555638462305069, -0.41296666860580444, -0.5242258310317993, -0.1953289955854416, 0.21885694563388824, -0.10158312320709229, 0.028984514996409416, 0.2377958595752716, -0.3699266016483307, 0.8909415006637573, -0.12634001672267914, -0.040745824575424194, 0.5097230076789856, -0.27340829372406006, -0.3452506363391876, 0.19059932231903076, 0.3899449110031128, 0.528670608997345, 0.28702715039253235, -0.09273886680603027, 0.652190089225769, -0.2670833170413971, -0.1280042827129364, -0.07178805023431778, -0.2673764228820801, 0.2097562551498413, 0.3469725549221039, 0.9556795954704285, 0.7050370573997498, -0.4152553975582123, 0.1276237815618515, -0.12907645106315613, 0.31359344720840454, -0.4334036111831665, 0.13050684332847595, -0.001565993414260447, 0.07394807785749435, 0.390237420797348, 0.09357747435569763, 0.43295592069625854, -0.5171453356742859, 0.21022315323352814, 0.0561077818274498, -0.33469846844673157, -0.42855799198150635, 1.2013027667999268, 0.23974789679050446, 0.041629355400800705, 0.8356665968894958, -0.007771349512040615, -0.464213490486145, 0.6950151324272156, 0.28816595673561096, 0.5845228433609009, -0.2547118365764618, 0.2384633719921112, 0.7607331275939941, 0.4570058584213257, 0.14083845913410187, -0.21822500228881836, -0.43493515253067017, -0.562167227268219, -0.2765622138977051, -0.5833147764205933, -0.6779546141624451, -0.06319467723369598, -0.7526578903198242, 0.5874976515769958, -0.20833852887153625, -0.14077357947826385, 0.12544798851013184, 0.17693355679512024, -1.1032023429870605, 0.2414281964302063, 0.3457382917404175, 1.161303162574768, -1.087431788444519, 0.8638600707054138, 0.6520842909812927, -0.2363366186618805, -0.5630897879600525, 0.06860755383968353, 0.18769441545009613, -0.24797412753105164, 0.6939111351966858, -0.02925826422870159, -0.40609052777290344, 0.05429157614707947, -0.889258086681366, -0.8955856561660767, 1.2425683736801147, 0.2960056662559509, -0.5990578532218933, -0.07045584917068481, -0.13386762142181396, 0.6405203342437744, -0.4125882089138031, 0.2289116233587265, 0.6561943292617798, 0.9586376547813416, 0.047857850790023804, -0.7724650502204895, 0.05199610814452171, -0.3880268335342407, 0.004613830707967281, 0.30983731150627136, -0.737942636013031, 0.3555862605571747, -0.18234504759311676, -0.5223426222801208, 0.004932199604809284, 1.0319360494613647, -0.02056637592613697, 0.7021370530128479, 1.0583311319351196, 0.32283899188041687, 1.1214731931686401, -0.263931542634964, 0.8563035130500793, -0.5776839256286621, 0.7989709377288818, 1.048059105873108, -0.5415074229240417, 0.8821517825126648, 0.15198412537574768, 0.06846432387828827, 0.5817245841026306, 1.0045640468597412, -0.2964268624782562, 0.4171005189418793, 0.24926519393920898, -0.3916556239128113, -0.3850235939025879, -0.38056138157844543, -0.10558032989501953, 0.11392021924257278, 0.5339299440383911, 0.04898472875356674, -0.10398796945810318, 0.050184398889541626, 0.21317830681800842, -0.031640954315662384, -0.3710043132305145, 0.609004557132721, -0.12825840711593628, -0.6008865833282471, -0.07211259752511978, -0.1302703320980072, 0.3565637767314911, -0.03827175498008728, -0.11298157274723053, 0.044871360063552856, -0.5987324118614197, -0.5203272700309753, -0.5799567699432373, 0.5635821223258972, 0.371725469827652, -0.25427329540252686, -0.01949615590274334, 0.5747687816619873, -0.684725821018219, -0.41230490803718567, 0.47133293747901917, 0.028040854260325432, 0.16623616218566895, 0.01350395567715168, -0.8621319532394409, 0.14362157881259918, 0.03335515409708023, -0.33018729090690613, -0.05754164233803749, 0.16836197674274445, -0.24709874391555786, 0.6910708546638489, 0.9200441837310791, 0.0037552702706307173, 0.03387003019452095, -0.16767919063568115, 0.9907432794570923, -0.6039322018623352, -0.16261062026023865, -0.7473065853118896, 0.438583105802536, -0.32792001962661743, -0.5154629945755005, 0.5191876888275146, 0.5734120607376099, 0.8549532294273376, 0.2737175524234772, 0.4732606112957001, -0.24834927916526794, -0.07201952487230301, -0.6455835700035095, 0.6908906102180481, -0.40243494510650635, 0.4621962010860443, -0.18073555827140808, -1.2128965854644775, -0.07984238862991333, 0.06728634238243103, -0.3306283950805664, -0.08278335630893707, 0.6898035407066345, 0.5996606349945068, 0.26809677481651306, 0.13805529475212097, 0.2705903649330139, 0.3364308178424835, 0.2667759954929352, 0.1363265961408615, 0.36952391266822815, -0.28458312153816223, 0.379079133272171, -0.3255648612976074, 0.2977023124694824, 0.0599675215780735, -1.09719979763031, -0.7905648350715637, -0.9230431914329529, -0.7949922680854797, -0.2770358920097351, 0.14998158812522888, 0.846504271030426, 0.6578954458236694, -1.0064945220947266, 0.2896216809749603, 0.08085153251886368, 0.4063795804977417, 0.2849583327770233, -0.26289263367652893, 0.3991420269012451, 0.19543065130710602, -0.8697209358215332, 0.38021817803382874, 0.23737169802188873, -0.4288269877433777, -0.6785590052604675, 0.08203167468309402, -0.13304002583026886, 0.04487326741218567, 0.11779440194368362, 0.22736667096614838, -0.988989531993866, -0.5443540811538696, -0.16064117848873138, 0.06311476230621338, -0.21715953946113586, 0.8903078436851501, -0.8221533298492432, 0.3747093081474304, 0.4417719841003418, 0.538366973400116, 0.45925113558769226, -0.11097431182861328, -0.02635870687663555, -0.15624047815799713, -0.12648628652095795, -0.188706174492836, 0.4398004114627838, 0.6460950374603271, -0.8901486992835999, 0.4854138195514679, 0.4182400703430176, -0.785162091255188, -0.5637352466583252, 0.019519703462719917, -0.6703783869743347, -0.07204856723546982, 0.7499958276748657, -0.21362854540348053, -0.28905367851257324, -0.21467074751853943, 0.10058771073818207, 0.2554458677768707, -0.5845146775245667, 0.718593418598175, 0.9687325954437256, -0.004402633290737867, -0.22089757025241852, -0.610865592956543, 0.5355187058448792, -0.117342509329319, -0.8708464503288269, -0.060931481420993805, 0.5178837180137634, 0.5243385434150696, 0.15959322452545166, 0.3043724000453949, 0.2979816794395447, -0.0305876974016428, -0.233411967754364, 0.14379768073558807, 0.24006302654743195, -0.3737487494945526, -0.0643027275800705, -0.016229627653956413, 0.003935089334845543, 0.47058767080307007 ]
http://arxiv.org/abs/2406.16722v1
http://arxiv.org/pdf/2406.16722v1
Venturing into Uncharted Waters: The Navigation Compass from Transformer to Mamba
2024-06-24T15:27:21
2024-06-24T15:27:21
Yuchen Zou, Yineng Chen, Zuchao Li, Lefei Zhang, Hai Zhao
cs.CL
cs.CL
Transformer, a deep neural network architecture, has long dominated the field of natural language processing and beyond. Nevertheless, the recent introduction of Mamba challenges its supremacy, sparks considerable interest among researchers, and gives rise to a series of Mamba-based models that have exhibited notable potential. This survey paper orchestrates a comprehensive discussion, diving into essential research dimensions, covering: (i) the functioning of the Mamba mechanism and its foundation on the principles of structured state space models; (ii) the proposed improvements and the integration of Mamba with various networks, exploring its potential as a substitute for Transformers; (iii) the combination of Transformers and Mamba to compensate for each other's shortcomings. We have also made efforts to interpret Mamba and Transformer in the framework of kernel functions, allowing for a comparison of their mathematical nature within a unified context. Our paper encompasses the vast majority of improvements related to Mamba to date.
[ -0.5948002934455872, -0.38390305638313293, 0.7858853340148926, 0.08344276249408722, -0.14679650962352753, 0.2723415791988373, -0.23634099960327148, -0.20145262777805328, 0.15078364312648773, 0.44867920875549316, -0.4505821764469147, -0.17999209463596344, -0.7292429208755493, 0.030974475666880608, -0.451242059469223, 0.7052648663520813, 0.27693283557891846, -0.023067129775881767, 0.06374523788690567, -0.19743022322654724, -0.7249544262886047, -0.5136821866035461, -0.4265687167644501, -0.7786186933517456, 0.524097204208374, 0.17737731337547302, 0.964276134967804, 0.2329404056072235, 0.36829036474227905, 0.33239781856536865, -0.3271840512752533, 0.13075266778469086, -0.37948477268218994, 0.2825421392917633, -0.2223643958568573, -0.37739428877830505, -0.2091197520494461, -0.16396135091781616, 0.6995614767074585, 1.199400782585144, -0.0676119476556778, -0.1156635656952858, 0.2831052839756012, 0.8902465105056763, -0.5556715130805969, 0.30810248851776123, -0.4801174998283386, 0.028572268784046173, -0.007207528222352266, 0.0762273371219635, -0.32069945335388184, -0.27466633915901184, 0.4282102584838867, -0.6313280463218689, -0.02469821833074093, -0.043320510536432266, 0.7553441524505615, 0.34795060753822327, -0.9065445065498352, -0.35418251156806946, -1.0493650436401367, 0.7459062933921814, -0.547603964805603, 0.4437732696533203, -0.09151466190814972, 0.562853991985321, -0.45540404319763184, -0.8677445650100708, -0.4650242328643799, -0.17416122555732727, -0.0768437460064888, 0.18047955632209778, -0.4436382055282593, 0.0177354346960783, -0.22691099345684052, 0.5512790083885193, -0.16398335993289948, 0.16751740872859955, -0.6097878217697144, -0.21330660581588745, 0.5143415331840515, 0.3109966516494751, 0.13391505181789398, -0.39502784609794617, -0.16659486293792725, -0.13285622000694275, -0.7302275896072388, 0.32739773392677307, 0.3110424280166626, 0.5152189135551453, 0.08204830437898636, 0.5388109087944031, -0.1482352316379547, 0.8524612188339233, -0.1269340217113495, 0.2769588530063629, 0.05056925117969513, -0.16741669178009033, -0.3847091495990753, 0.1659962385892868, 0.9193738698959351, 0.2534887492656708, 0.15659542381763458, -0.2228136509656906, -0.07310841232538223, -0.09099850803613663, 0.8302538394927979, -0.36623889207839966, -0.382800430059433, -0.0675630122423172, -0.39141175150871277, -0.37337982654571533, 0.0838046744465828, -0.729395866394043, -0.6687325835227966, -0.40494304895401, 0.21616844832897186, -0.3696848452091217, -0.4695837199687958, 0.2386968731880188, 0.1972045600414276, 0.29725706577301025, 0.1656639575958252, -0.8237332701683044, 0.34794825315475464, 0.9827359318733215, 0.9407325387001038, -0.03774328902363777, 0.06300627440214157, 0.14114321768283844, -0.233484148979187, -0.38710278272628784, 0.8350463509559631, -0.813694417476654, -0.9419767260551453, 0.09824215620756149, -0.11740511655807495, -0.10577994585037231, -0.19926324486732483, 0.7199190258979797, -0.4828565716743469, 0.199745774269104, -0.38609519600868225, -0.2677296996116638, -0.8392127156257629, 0.34208187460899353, -0.9361181855201721, 0.8859968185424805, 0.021103041246533394, -0.27211102843284607, 0.06155111640691757, -1.0909403562545776, -0.7527216672897339, -0.30871543288230896, 0.1045810654759407, -0.24365876615047455, 0.18549038469791412, 0.31831419467926025, 0.3669476807117462, -0.6355984807014465, 0.49204280972480774, 0.1149362176656723, -0.47269201278686523, 0.3537465035915375, -0.3368339240550995, 0.8973939418792725, 0.32288452982902527, -0.05289042741060257, -0.08869962394237518, -0.966978132724762, -0.13834232091903687, 0.006764130666851997, -0.4832439422607422, -0.2977697253227234, 0.17327278852462769, -0.31534653902053833, -0.01976608671247959, -0.0376550629734993, -0.47175535559654236, 0.4403429925441742, -0.7312455177307129, 0.8073757290840149, 0.4781321585178375, 0.16366547346115112, 1.265336036682129, 0.2494652271270752, 0.49524617195129395, 0.25979700684547424, 0.21449318528175354, -0.5471421480178833, -0.7179324626922607, -0.9687138795852661, 0.2685614824295044, 0.3450690507888794, 0.4035545885562897, -0.7389346957206726, 0.4272574186325073, -0.3516274690628052, -0.7360926866531372, -0.6040432453155518, -0.35674941539764404, 0.04630715027451515, 0.699128270149231, 0.6991878151893616, 0.011553064920008183, -0.5427545309066772, -0.8876621127128601, -0.33876073360443115, -0.08635473251342773, -0.09847114235162735, 0.24475480616092682, 0.0941309928894043, -0.23175372183322906, 1.0593831539154053, -0.45913398265838623, -0.34719157218933105, -0.34281957149505615, 0.03175947815179825, 0.46135953068733215, 0.4852377474308014, 0.39554721117019653, -0.908148467540741, -0.06143540143966675, 0.047407153993844986, -0.6388174295425415, 0.12435503304004669, -0.29518675804138184, 0.01959722861647606, -0.32277193665504456, 0.457986444234848, -0.5791526436805725, 0.37667638063430786, 0.48275381326675415, -0.01906455121934414, -0.07710851728916168, -0.04913787171244621, -0.03631578013300896, -1.0991445779800415, 0.06524566560983658, -0.07307343930006027, 0.3806014358997345, -1.015454888343811, -0.06691721826791763, -0.0008464429411105812, -0.10004720091819763, -0.2251756340265274, 0.17790460586547852, -0.5844663977622986, -0.028665844351053238, -0.29803526401519775, 0.2685074210166931, 0.05999595299363136, 0.48494359850883484, -0.46188709139823914, 0.5332620739936829, 0.8311563730239868, -1.0305795669555664, 0.379245787858963, 0.30172213912010193, -0.23175594210624695, 0.2944914996623993, -0.6503432393074036, 0.1126859113574028, -0.22234830260276794, 0.22081664204597473, -1.1742808818817139, 0.32604315876960754, 0.4861990213394165, -0.5881115794181824, 0.2708979845046997, -0.247046560049057, -0.14503656327724457, -0.4039907157421112, 0.06007441505789757, 0.39135923981666565, 0.575402557849884, -0.44985121488571167, 1.1411738395690918, 0.4751289486885071, 0.21105439960956573, -0.675087034702301, -0.724602997303009, 0.504453182220459, -0.02246781997382641, -0.44650766253471375, 0.24365843832492828, 0.5269063115119934, -0.25336992740631104, -0.13346219062805176, -0.09706751257181168, -0.06704360991716385, 0.27872300148010254, 0.59285968542099, 0.24995750188827515, -0.5142194628715515, 0.308063268661499, 0.1463136225938797, -0.4754880666732788, 0.3078330457210541, -0.6652398109436035, 0.4725062847137451, -0.4669998288154602, -0.20395976305007935, 0.04970049113035202, 0.10277983546257019, 0.3851870000362396, -0.5255929231643677, 0.6922286748886108, 0.24855709075927734, -0.09784771502017975, -0.03719419613480568, -0.15201257169246674, -0.03932711109519005, -0.5463722944259644, 0.10947926342487335, -0.37269526720046997, -0.9190371632575989, 0.48305636644363403, -0.5071654319763184, 0.15728022158145905, 0.6290311813354492, 0.23258057236671448, -0.07058431208133698, 0.7546464204788208, 0.937760055065155, 0.007661331910640001, 0.08249635249376297, -0.3384171724319458, 0.9788734316825867, -1.116752028465271, -0.6360399127006531, -0.7047173976898193, -0.7419187426567078, -0.744266927242279, -0.11507049947977066, 0.40250280499458313, -0.1609743982553482, -0.23529919981956482, 0.5757944583892822, -0.5959619283676147, 0.2910305857658386, 0.38562142848968506, -0.32504749298095703, 0.25859659910202026, -0.34589383006095886, -0.48691532015800476, -0.08478222787380219, -1.0184552669525146, -0.5627723932266235, 0.9244968295097351, 0.2802295684814453, 0.7483198642730713, 0.04887884855270386, 0.2641145586967468, -0.06494352221488953, 0.328142911195755, -0.9788837432861328, 0.6492698192596436, 0.06930287927389145, -0.5705448389053345, -0.4220364987850189, -0.14702002704143524, -1.1948531866073608, 0.4557892382144928, -0.35530903935432434, -0.6515982747077942, 0.4171801209449768, -0.02593248151242733, -0.5678809285163879, 0.637844979763031, -0.4637010991573334, 0.5498783588409424, -0.15766574442386627, 0.09208475798368454, 0.09882984310388565, -0.899375855922699, 0.44386404752731323, 0.013404101133346558, 0.1806120127439499, 0.029302140697836876, 0.00966341607272625, 0.42952239513397217, -0.20656713843345642, 0.6850900650024414, -0.20229914784431458, -0.27685534954071045, 0.4054778516292572, 0.36241135001182556, -0.0463411919772625, -0.003564528888091445, -0.07830976694822311, 0.4618188738822937, -0.3823366165161133, -0.027640393003821373, -0.8286928534507751, 0.6470184326171875, -0.5777153372764587, -0.47712692618370056, -0.35538727045059204, -0.3962809145450592, -0.28875502943992615, 0.4035321772098541, 0.29093441367149353, 0.4516875743865967, -0.2182207554578781, 0.37215718626976013, 0.5721353888511658, -0.2892579138278961, 0.718486487865448, 0.19183562695980072, -0.3966100513935089, -0.13671977818012238, 0.6040531992912292, 0.0687188133597374, -0.0664902925491333, 0.5415473580360413, 0.04374786838889122, -0.435172438621521, -0.3819122314453125, -0.5020331144332886, -0.06443318724632263, -0.8495272397994995, -0.31004783511161804, -0.6028329730033875, -0.3515220284461975, -0.028259214013814926, -0.21432463824748993, -0.765293538570404, -0.458233505487442, -0.515967071056366, -0.1916206181049347, 0.11039742827415466, 1.1715617179870605, 0.025370487943291664, 0.5469546318054199, -0.801990807056427, 0.030461223796010017, 0.043546997010707855, 0.25343504548072815, 0.46236518025398254, -0.38270461559295654, -0.205336794257164, 0.21677960455417633, -0.3026083707809448, -0.7847802042961121, 0.1246555969119072, -0.10277850925922394, 0.5564627051353455, 0.3718724548816681, -0.01244406495243311, 0.5755794644355774, -0.7343456745147705, 1.0024710893630981, 0.3715824782848358, -0.9886535406112671, 0.41512331366539, -0.0691724345088005, 0.2839687168598175, 0.43804624676704407, 0.40422523021698, -0.6086960434913635, -0.15458881855010986, -0.39059916138648987, -0.7905259728431702, 0.172576442360878, 0.40738922357559204, 0.35759973526000977, 0.4002450704574585, 0.46438345313072205, -0.11016122996807098, 0.13915517926216125, -0.6004114747047424, -0.3871011435985565, -0.6322351694107056, 0.10048901289701462, -0.23043711483478546, 0.06477190554141998, 0.12174487113952637, -0.2934442460536957, 0.3798469305038452, -0.12286499887704849, 0.25499311089515686, 0.1694055199623108, -0.13481198251247406, 0.09847014397382736, 0.31469303369522095, 0.5424448251724243, 0.5635425448417664, 0.4554750621318817, 0.2369893342256546, 0.25557124614715576, -0.44475993514060974, 0.38014039397239685, -0.12932202219963074, -0.2978975474834442, 0.10615017265081406, 0.15373669564723969, 0.7755971550941467, 0.7796855568885803, -0.13190218806266785, 0.2875147759914398, -0.022821463644504547, -0.24135832488536835, -0.15638774633407593, 0.3008382022380829, 0.20013660192489624, 0.38023704290390015, 0.5680632591247559, 0.5578232407569885, 0.30487772822380066, -0.3820156157016754, -0.13157568871974945, 0.39105018973350525, -0.7533380389213562, -0.3089737296104431, 0.7390182018280029, 0.2887253165245056, -0.613453209400177, 0.7084506154060364, 0.0979229211807251, -0.7100229263305664, 0.4662953317165375, 0.14467459917068481, 0.7566881775856018, -0.33626696467399597, 0.234785258769989, 0.34890151023864746, 0.7781110405921936, 0.083567775785923, -0.11176245659589767, -0.24575936794281006, -0.8229607939720154, -0.38626566529273987, -0.5748181939125061, -0.284795343875885, -0.1033274456858635, -0.8100799322128296, -0.041666220873594284, -0.49088186025619507, -0.42664581537246704, -0.01513688638806343, -0.18490415811538696, -0.3802112638950348, 0.2336500585079193, 0.18497557938098907, 0.9046193361282349, -0.5091915130615234, 0.7022509574890137, 0.7097460031509399, -0.3544405400753021, -0.7798810601234436, 0.06486363708972931, -0.02663862705230713, -0.5456741452217102, 0.4801205098628998, 0.16074462234973907, -0.5864551067352295, -0.06734266132116318, -0.4044616222381592, -0.9655082821846008, 1.1750380992889404, -0.12904705107212067, -0.5372759699821472, -0.06023240461945534, 0.28079119324684143, 0.6919060945510864, -0.2670198976993561, -0.127475768327713, 0.8698734641075134, 0.6641842722892761, 0.08118317276239395, -0.665869951248169, -0.06916137784719467, -0.1809983253479004, 0.35092872381210327, 0.41817137598991394, -0.5727956891059875, 0.8358774185180664, -0.33492526412010193, -0.38298389315605164, 0.14600251615047455, 0.93585205078125, -0.3146874010562897, 0.04063970223069191, 0.41830286383628845, 0.23488366603851318, 0.7176958322525024, -0.44698643684387207, 0.8431292772293091, -0.20764583349227905, 0.3409028947353363, 0.7386860847473145, -0.37846046686172485, 0.5323696732521057, 0.43338239192962646, -0.19975091516971588, 0.672691822052002, 0.38507670164108276, -0.2443232238292694, 0.4500271677970886, 0.151494562625885, -0.16800332069396973, -0.1020202562212944, 0.255384624004364, -0.31586015224456787, 0.6196918487548828, 0.41771337389945984, -0.21155968308448792, -0.43262070417404175, 0.21683508157730103, 0.08422685414552689, 0.17534320056438446, -0.453548401594162, 0.6632170677185059, 0.4206273853778839, -0.7574233412742615, 0.33710402250289917, 0.1623021513223648, 0.3924920856952667, -0.4980534017086029, -0.015489531680941582, -0.22186793386936188, 0.17375564575195312, -0.10462743788957596, -1.0117175579071045, 0.3936866521835327, -0.28170332312583923, 0.15405742824077606, -0.10222256928682327, 0.9104339480400085, -0.052285876125097275, -0.40466228127479553, 0.3938908278942108, 0.3951064944267273, -0.1414351612329483, -0.07151201367378235, -0.5595464706420898, 0.06122578680515289, -0.07521232217550278, -0.32664889097213745, -0.070103220641613, 0.4347066283226013, 0.479524701833725, 0.8218863606452942, 0.7770626544952393, -0.26878103613853455, 0.2310173660516739, 0.08816584944725037, 1.0663201808929443, -0.7933756113052368, -0.6678123474121094, -0.8769519329071045, 0.6332038044929504, 0.016216067597270012, -0.3460013270378113, 0.693479061126709, 0.4264828860759735, 0.5348630547523499, 0.11637745052576065, 0.6351189613342285, 0.2196975201368332, 0.28025537729263306, -0.5981805920600891, 1.0085253715515137, -0.43496572971343994, 0.30214598774909973, -0.09203959256410599, -1.0419851541519165, -0.5525263547897339, 0.7297883629798889, -0.26797717809677124, 0.10248996317386627, 0.700344443321228, 0.6290686130523682, -0.2355380803346634, 0.44930270314216614, 0.2373645305633545, 0.1648225486278534, 0.45717471837997437, 0.6050112247467041, 0.9972267746925354, -0.7573015093803406, 0.6847638487815857, -0.102268286049366, 0.1692504584789276, -0.20295068621635437, -0.9068970680236816, -0.7472499012947083, -0.8898647427558899, 0.13064800202846527, -0.2765211760997772, -0.32726383209228516, 0.36259445548057556, 0.5844757556915283, -0.6499733328819275, -0.23749437928199768, -0.12740042805671692, 0.20036505162715912, 0.0031260456889867783, -0.12215905636548996, -0.11301614344120026, -0.17880284786224365, -0.4443374574184418, 0.7418842315673828, 0.68146812915802, 0.00837271474301815, -0.6367944478988647, -0.15007145702838898, -0.10584572702646255, 0.1254255622625351, 0.7319393754005432, 0.37214159965515137, -0.5957514047622681, -0.10079851746559143, 0.2755286693572998, 0.03107302077114582, 0.39458584785461426, 1.1778825521469116, -0.9892639517784119, 0.25970807671546936, 0.17949579656124115, 0.9713283181190491, 0.3809082806110382, -0.2816724181175232, 0.7488970756530762, -0.3856452405452728, 0.0356164313852787, 0.3243696689605713, 0.45339062809944153, 0.5038906335830688, -0.19717563688755035, 0.5113914608955383, -0.05348828434944153, -0.3855687975883484, -0.7068238258361816, 0.3460003137588501, -0.9749974012374878, -0.3235456049442291, 0.8515008687973022, 0.19697386026382446, -0.25478503108024597, -0.14348000288009644, -0.20770025253295898, 0.29213395714759827, -0.15625038743019104, 0.5127007365226746, 0.6865082383155823, -0.005718631204217672, -0.13882087171077728, -0.32618340849876404, 0.2621212601661682, 0.27965715527534485, -0.39409512281417847, -0.2367335706949234, 0.2588585615158081, -0.0425858199596405, 0.5812584757804871, 0.08120445907115936, -0.12262116372585297, -0.09750882536172867, -0.12245449423789978, -0.25042641162872314, -0.1621781438589096, -0.6618046164512634, -0.6782875657081604, 0.231787770986557, -0.34079423546791077, -0.050961531698703766 ]
http://arxiv.org/abs/2406.16714v1
http://arxiv.org/pdf/2406.16714v1
AutoDetect: Towards a Unified Framework for Automated Weakness Detection in Large Language Models
2024-06-24T15:16:45
2024-06-24T15:16:45
Jiale Cheng, Yida Lu, Xiaotao Gu, Pei Ke, Xiao Liu, Yuxiao Dong, Hongning Wang, Jie Tang, Minlie Huang
cs.CL
cs.CL, cs.AI, cs.LG
Although Large Language Models (LLMs) are becoming increasingly powerful, they still exhibit significant but subtle weaknesses, such as mistakes in instruction-following or coding tasks. As these unexpected errors could lead to severe consequences in practical deployments, it is crucial to investigate the limitations within LLMs systematically. Traditional benchmarking approaches cannot thoroughly pinpoint specific model deficiencies, while manual inspections are costly and not scalable. In this paper, we introduce a unified framework, AutoDetect, to automatically expose weaknesses in LLMs across various tasks. Inspired by the educational assessment process that measures students' learning outcomes, AutoDetect consists of three LLM-powered agents: Examiner, Questioner, and Assessor. The collaboration among these three agents is designed to realize comprehensive and in-depth weakness identification. Our framework demonstrates significant success in uncovering flaws, with an identification success rate exceeding 30% in prominent models such as ChatGPT and Claude. More importantly, these identified weaknesses can guide specific model improvements, proving more effective than untargeted data augmentation methods like Self-Instruct. Our approach has led to substantial enhancements in popular LLMs, including the Llama series and Mistral-7b, boosting their performance by over 10% across several benchmarks. Code and data are publicly available at https://github.com/thu-coai/AutoDetect.
[ -0.34415996074676514, -0.5959596037864685, 0.6599908471107483, 0.17373144626617432, 0.24563658237457275, 0.2302655130624771, -0.06298179924488068, -0.3518725335597992, -0.05933268368244171, 0.36855846643447876, -0.45932871103286743, -0.42193901538848877, -0.7144598364830017, 0.07856499403715134, -0.6617556214332581, 0.6746357083320618, -0.33787140250205994, -0.17947986721992493, -0.22481797635555267, -0.012708275578916073, -0.5913709998130798, -0.4169607162475586, -0.3886948525905609, -0.18728768825531006, 0.070455402135849, 0.609329342842102, 0.5274149775505066, 0.6031500697135925, 0.6355789303779602, 0.4591831862926483, 0.4914175570011139, 0.07101711630821228, -0.15627749264240265, 0.33579444885253906, -0.2908867597579956, -0.21043728291988373, -0.6999548077583313, -0.33889439702033997, 0.5589298605918884, 0.51377934217453, 0.08221706748008728, 0.12881919741630554, 0.40597033500671387, 0.4711596965789795, -0.8026678562164307, 0.3517264127731323, -0.7128214240074158, -0.0009234642493538558, -0.3099808692932129, 0.1708276867866516, -0.11051079630851746, -0.004519161302596331, -0.16402676701545715, -0.1332608163356781, 0.2631951868534088, -0.22604329884052277, 0.7735853791236877, 0.8139517307281494, -0.46342140436172485, -0.09593454748392105, -0.4638916850090027, 0.6953452229499817, -0.737838864326477, 0.251559317111969, 0.20823664963245392, 0.408338725566864, -0.30878201127052307, -0.4766247272491455, -0.47955867648124695, -0.32760193943977356, 0.02187265455722809, 0.051745910197496414, -0.3737076222896576, -0.020681072026491165, 0.048315152525901794, 0.42774301767349243, -0.832395076751709, 0.406597375869751, 0.25020337104797363, -0.4276835322380066, 0.678769588470459, 0.371962308883667, 0.5044488310813904, 0.023135244846343994, -0.22290754318237305, -0.26827743649482727, -0.6738137602806091, -0.23403356969356537, 0.4161485731601715, 0.12446696311235428, 0.11765332520008087, 0.39689669013023376, -0.147714763879776, 0.5010793209075928, -0.0842680037021637, 0.08976040035486221, 0.12873199582099915, -0.19736544787883759, -0.18926340341567993, -0.1972365528345108, 0.8439390659332275, -0.03675658628344536, 0.12978753447532654, 0.0743301585316658, -0.7098070979118347, 0.18698856234550476, 0.07384124398231506, -0.6900085806846619, -0.4210645854473114, 0.1500275880098343, -0.12079431861639023, -0.5367844700813293, 0.11173717677593231, -0.705615222454071, -0.5859382748603821, -0.20335160195827484, 0.5320519804954529, -0.2883276045322418, -0.3668525815010071, 0.12446300685405731, 0.23157073557376862, 0.07922004908323288, 0.06977031379938126, -0.9235801100730896, 0.3533363938331604, 0.5913958549499512, 0.5311906337738037, -0.3113180696964264, -0.6242213845252991, -0.3973677456378937, 0.07677005231380463, -0.28201547265052795, 1.0584756135940552, -0.14595408737659454, -0.18284019827842712, -0.2934836745262146, 0.08903706818819046, -0.28450143337249756, -0.5923562049865723, 0.33290013670921326, -0.037530284374952316, -0.29271212220191956, 0.10763084888458252, -0.49521172046661377, 0.21504758298397064, 0.37724214792251587, -0.7004384398460388, 1.1015571355819702, 0.3654918670654297, -0.7350658774375916, -0.000056679164117667824, -0.5335429906845093, -0.31098034977912903, -0.019697610288858414, -0.25887882709503174, -0.6968660354614258, -0.06131810322403908, 0.42040249705314636, 0.5117985010147095, -0.49321237206459045, 0.3061647117137909, -0.5051590800285339, -0.20929822325706482, 0.18452270328998566, -0.7435088753700256, 0.76652592420578, -0.08293364197015762, -0.73946613073349, 0.15731924772262573, -0.9771122336387634, 0.06306541711091995, 0.35816100239753723, -0.14676441252231598, -0.26991787552833557, 0.056568946689367294, 0.007551886141300201, 0.007261489983648062, 0.2871870994567871, -0.35163187980651855, 0.15582233667373657, -0.4331834614276886, 0.12744179368019104, 0.9500206708908081, -0.06648987531661987, 0.20868034660816193, -0.19454504549503326, 0.676188588142395, 0.02522893436253071, 0.41040077805519104, -0.13695186376571655, -0.04809926822781563, -0.9242172837257385, -0.23228295147418976, 0.11054955422878265, 0.6558760404586792, -0.6056841611862183, 0.6938039064407349, -0.04180692136287689, -0.5075786709785461, -0.452298641204834, 0.5526336431503296, 0.5831325650215149, 0.42028650641441345, 0.2034272402524948, -0.46067169308662415, -0.4611486792564392, -0.9264405965805054, -0.2523218095302582, -0.4565400779247284, -0.16232553124427795, 0.0061818817630410194, 0.5995120406150818, -0.6747003793716431, 0.7218106985092163, -0.3450653851032257, -0.4885495603084564, -0.33589884638786316, -0.019854886457324028, -0.1505345106124878, 0.44864422082901, 0.5428038239479065, -0.4660990834236145, -0.5813454389572144, -0.06891513615846634, -0.761722207069397, -0.6010433435440063, 0.02049824222922325, 0.21509742736816406, 0.4460885524749756, 0.47452133893966675, -0.14809569716453552, 0.40817990899086, 0.6976086497306824, -0.4405386745929718, 0.6911917328834534, -0.11472970247268677, -0.22044432163238525, -0.9164496064186096, -0.1691001057624817, -0.14504548907279968, -0.004029134288430214, -0.2828998863697052, 0.0006993436254560947, 0.1580040454864502, 0.17026472091674805, -0.0024839022662490606, 0.5651838779449463, -0.5450594425201416, -0.1919061690568924, -0.30468273162841797, -0.03990430757403374, 0.09526309370994568, 0.1848325878381729, -0.343360960483551, 0.7622721195220947, 0.7341405749320984, -0.34994953870773315, 0.5628233551979065, 0.021495459601283073, -0.10712109506130219, 0.6964795589447021, -0.645191490650177, 0.09578239172697067, 0.216932013630867, 0.11486484855413437, -0.9804314970970154, -0.5247301459312439, 0.23046164214611053, -0.354737251996994, 0.32690510153770447, -0.2482861876487732, -0.615757167339325, -0.38813069462776184, -0.3078250288963318, 0.24416646361351013, -0.0002596572448965162, -0.7916443943977356, 0.6551005840301514, 0.4084468185901642, -0.16486595571041107, -0.7066080570220947, -0.3834581673145294, 0.34491947293281555, -0.20722314715385437, -0.651954174041748, 0.030725330114364624, -0.29649627208709717, -0.29831933975219727, -0.19601072371006012, -0.15110301971435547, -0.2703288793563843, 0.5988735556602478, 0.4765982925891876, 0.3555026948451996, -0.226525217294693, 0.23109276592731476, -0.09357217699289322, -0.3119898736476898, 0.11278127878904343, -0.25791651010513306, 0.4205615520477295, -0.6365838646888733, -0.9464857578277588, -0.2455170899629593, 0.11957713961601257, 0.6870403289794922, -0.3072758913040161, 0.10690541565418243, 0.5261249542236328, -0.1798727661371231, -0.6617245674133301, -0.6092947721481323, -0.23394541442394257, -0.5203461647033691, 0.4983929991722107, -0.43234783411026, -0.5665284991264343, 0.5128253698348999, -0.022165808826684952, -0.10371586680412292, 0.3449397087097168, 0.4218248426914215, 0.21687185764312744, 1.1453310251235962, 0.7950003743171692, -0.6716441512107849, 0.20836268365383148, -0.178953617811203, 0.1013149544596672, -0.5311590433120728, 0.05851482227444649, -0.38806599378585815, 0.13389012217521667, -0.31531772017478943, -0.10262599587440491, 0.3028327226638794, -0.12972798943519592, -0.2074681520462036, 0.548038125038147, -0.448706716299057, 0.6305071711540222, 0.20733489096164703, -0.3183593153953552, 0.35982558131217957, -0.2325020730495453, -0.20172546803951263, 0.0063288831152021885, -0.6390095353126526, -0.5919638276100159, 1.1935418844223022, 0.6277194023132324, 0.9256010055541992, 0.13315317034721375, 0.9842284917831421, 0.15613754093647003, 0.47515520453453064, -0.7070159316062927, 0.4664492607116699, 0.1256324201822281, -0.3813980221748352, -0.47486647963523865, -0.4188946783542633, -0.8443357944488525, 0.16021810472011566, 0.13957542181015015, -0.4673515558242798, 0.3111002743244171, 0.23307213187217712, -0.18040934205055237, 0.36991143226623535, -0.7659525275230408, 1.058627963066101, -0.5392308831214905, -0.3358803391456604, 0.22114932537078857, -0.3619077503681183, 0.40042778849601746, -0.5602340698242188, 0.18640059232711792, -0.14515990018844604, 0.11188845336437225, 0.44972342252731323, -0.5384277701377869, 1.0821856260299683, 0.026390811428427696, -0.5398890972137451, 0.12236770987510681, 0.30094584822654724, 0.6107511520385742, 0.056356050074100494, 0.1005980372428894, -0.08132366091012955, 0.09502509981393814, -0.31085488200187683, -0.5028819441795349, 0.702476978302002, -0.4991350769996643, -0.470814049243927, -0.43879467248916626, -0.5532387495040894, -0.295043021440506, 0.2763606905937195, 0.0935479924082756, 0.31211668252944946, -0.5482956767082214, -0.21345095336437225, 0.5536860227584839, -0.1629628837108612, 0.6805053353309631, 0.9284465312957764, -0.04023876413702965, -0.0687217116355896, 1.133918046951294, 0.030055256560444832, 0.3417225778102875, -0.10113352537155151, -0.0059111882001161575, 0.00210250704549253, -0.7259269952774048, -0.3877200782299042, 0.0055942051112651825, -0.8527154326438904, -0.4831937551498413, -0.37021365761756897, -0.23946796357631683, -0.5834704041481018, 0.011560200713574886, -0.7852051854133606, -0.23555397987365723, -0.05945606902241707, -0.1047770082950592, 0.07171229273080826, 0.8461562395095825, -0.32813817262649536, 0.2955244183540344, -0.59475177526474, 0.1643262654542923, 0.5908228754997253, 0.37210336327552795, 0.027223916724324226, -0.4682490825653076, -0.08663755655288696, -0.4382135272026062, -0.4801754951477051, -0.5645967721939087, 0.6794664263725281, 0.1532803326845169, 0.4787754714488983, 0.48644089698791504, 0.19510672986507416, 0.41745099425315857, -0.3748694062232971, 0.3206789493560791, -0.07067994028329849, -0.96784907579422, 0.504824161529541, -0.19124458730220795, 0.11635662615299225, 0.6277324557304382, 0.030662065371870995, -0.23447668552398682, -0.8895822167396545, -0.7226076126098633, -1.0518269538879395, 0.36078861355781555, 0.07562168687582016, -0.09597570449113846, -0.04865140840411186, 0.02596188522875309, -0.10981681197881699, -0.19046279788017273, -0.8101562857627869, -0.06486144661903381, -0.1791403889656067, -0.35971227288246155, 0.015368073247373104, -0.10436101257801056, -0.15203221142292023, -0.11168475449085236, 0.6876983046531677, -0.38343846797943115, 0.053596433252096176, 0.14650243520736694, -0.6207315921783447, -0.05580643564462662, 0.3237084150314331, 0.1356566846370697, 0.623348593711853, -0.13810506463050842, 0.4026168882846832, 0.2487904280424118, -0.45061683654785156, 0.32071852684020996, 0.30815595388412476, 0.02373572066426277, 0.07441854476928711, 0.6829277276992798, 0.32486721873283386, 0.2427203208208084, -0.8701984286308289, 0.7981228828430176, -0.03555963933467865, 0.14170688390731812, -0.6610427498817444, 0.25072231888771057, -0.14324884116649628, 0.4222555160522461, 0.22970488667488098, -0.3095850646495819, 0.23233191668987274, -0.5192190408706665, 0.45272672176361084, 0.5165548920631409, -0.4927045702934265, -0.2578553557395935, 0.4325159788131714, -0.03213566169142723, -0.1529775857925415, 0.33244583010673523, -0.18210674822330475, -0.7738955616950989, 1.0849934816360474, 0.4760427474975586, 1.091202735900879, -0.7815667390823364, 0.14771777391433716, 0.1276235580444336, 0.5868843197822571, -0.21422018110752106, 0.07187630236148834, 0.141400545835495, -0.8330722451210022, -0.14500722289085388, -0.47246918082237244, -0.4445074200630188, 0.07705733925104141, -0.4670017957687378, 0.18397735059261322, -0.43131864070892334, 0.15348771214485168, -0.016292348504066467, -0.14736153185367584, -0.39189231395721436, 0.08963692933320999, 0.016007503494620323, 0.5068747401237488, -1.005224585533142, 0.9372676014900208, 0.3475700318813324, -0.5328737497329712, -0.8813164234161377, 0.16898371279239655, 0.3433510959148407, -0.852910041809082, 0.743254542350769, 0.10292942821979523, -0.21294954419136047, 0.0553930401802063, -0.44677889347076416, -0.733643651008606, 1.1285700798034668, 0.3881305456161499, -0.6888225078582764, 0.13501529395580292, 0.2757464647293091, 0.44961652159690857, -0.4127287268638611, 0.33973729610443115, 0.841586709022522, 0.6425611972808838, -0.338983952999115, -1.0622453689575195, 0.17704206705093384, -0.20844517648220062, -0.2028351128101349, 0.2620031237602234, -0.5046283006668091, 0.6904314756393433, -0.12448224425315857, -0.15864720940589905, 0.06110009178519249, 0.219904825091362, 0.11059873551130295, 0.38542914390563965, 0.7180014252662659, 0.5544100403785706, 0.615592360496521, 0.02654443494975567, 0.8890355229377747, -0.20374025404453278, 0.29390373826026917, 1.1043540239334106, -0.418560266494751, 0.5631932616233826, 0.20163479447364807, -0.07834938168525696, 0.28471195697784424, 0.3081376552581787, -0.3385448753833771, 0.19773165881633759, 0.34390538930892944, -0.30000582337379456, -0.29274609684944153, 0.220566987991333, -0.2091926485300064, 0.489818811416626, 0.3011183738708496, -0.20629900693893433, -0.46001937985420227, 0.14547644555568695, 0.03179510310292244, 0.06594783812761307, -0.1651063710451126, 0.7078649401664734, 0.12240403145551682, -0.47596973180770874, 0.8748564720153809, -0.03348052501678467, 0.5064680576324463, -0.49268612265586853, -0.0362003892660141, -0.4687785804271698, 0.556951642036438, -0.1643049567937851, -0.5568571090698242, 0.31688591837882996, -0.02398649789392948, 0.07716801762580872, -0.1633887141942978, 0.9823170900344849, -0.17936058342456818, -0.4145001471042633, 0.6948482990264893, 0.4528641700744629, 0.09077100455760956, -0.30732104182243347, -0.7215179800987244, 0.20352239906787872, -0.18498720228672028, -0.174745112657547, 0.4936017096042633, 0.5602762699127197, -0.23077687621116638, 0.8884484171867371, 0.38109099864959717, -0.04842789098620415, -0.17926330864429474, 0.18219146132469177, 0.9393075108528137, -0.47215962409973145, 0.0027316338382661343, -0.9333580732345581, 0.2877497673034668, -0.08773083984851837, -0.05298973619937897, 0.90056973695755, 0.4532819092273712, 0.6723208427429199, 0.05266985297203064, 0.8670908808708191, 0.17394061386585236, 0.5777907371520996, -0.23811782896518707, 0.8056219816207886, -0.442509263753891, 0.7952723503112793, -0.45199301838874817, -0.9639783501625061, -0.38411372900009155, 0.48831093311309814, -0.13972941040992737, -0.18579092621803284, 0.7404947280883789, 1.1306509971618652, -0.1837802529335022, -0.6299063563346863, 0.3622998595237732, 0.3674522042274475, 0.3819912374019623, 0.859937846660614, 0.8971046805381775, -0.4620254337787628, 0.8132018446922302, -0.20076559484004974, -0.32131442427635193, -0.2226555049419403, -0.7197775840759277, -1.0185118913650513, -0.39707523584365845, -0.472010999917984, -0.329446941614151, 0.1687389314174652, 0.6796364784240723, 0.3348030745983124, -0.8785458207130432, -0.2893272638320923, -0.3264950215816498, 0.30537840723991394, -0.05371253564953804, -0.2238406389951706, 0.5075241327285767, -0.5796019434928894, -0.4891243577003479, 0.6987159848213196, 0.3133334219455719, 0.28354448080062866, -0.5328801274299622, -0.010835220105946064, 0.30615150928497314, 0.14938463270664215, 0.3101584017276764, 0.6034634113311768, -0.43992623686790466, -0.35800525546073914, -0.19610576331615448, -0.24040065705776215, -0.18646468222141266, 0.604771077632904, -0.5353409051895142, 0.32935360074043274, 0.2288171797990799, 0.7623836994171143, 0.1455097198486328, -0.38399046659469604, 0.6472876071929932, -0.5458524823188782, 0.06341984122991562, 0.2963067591190338, 0.41895341873168945, 0.35202398896217346, -0.197340726852417, 0.6297652721405029, 0.28243473172187805, -0.596206545829773, -1.1515614986419678, 0.34768930077552795, -0.6398971080780029, -0.4004904329776764, 0.9020556807518005, -0.22513096034526825, -0.15178386867046356, -0.366668164730072, -0.012727892026305199, -0.03972863778471947, 0.10209907591342926, 1.1790385246276855, 0.569275438785553, 0.27571260929107666, -0.059628572314977646, -0.7040510177612305, 0.47038695216178894, 0.5663642287254333, -0.996235191822052, 0.2754282057285309, 0.5119170546531677, 0.5302161574363708, -0.11378185451030731, 0.44341081380844116, -0.21226705610752106, 0.2230524867773056, -0.14159542322158813, 0.37585872411727905, -0.17809300124645233, -0.44705528020858765, -0.6170210838317871, -0.12497729808092117, 0.18943433463573456, 0.10514993220567703 ]
http://arxiv.org/abs/2406.16694v1
http://arxiv.org/pdf/2406.16694v1
Task Oriented In-Domain Data Augmentation
2024-06-24T14:58:11
2024-06-24T14:58:11
Xiao Liang, Xinyu Hu, Simiao Zuo, Yeyun Gong, Qiang Lou, Yi Liu, Shao-Lun Huang, Jian Jiao
cs.CL
cs.CL
Large Language Models (LLMs) have shown superior performance in various applications and fields. To achieve better performance on specialized domains such as law and advertisement, LLMs are often continue pre-trained on in-domain data. However, existing approaches suffer from two major issues. First, in-domain data are scarce compared with general domain-agnostic data. Second, data used for continual pre-training are not task-aware, such that they may not be helpful to downstream applications. We propose TRAIT, a task-oriented in-domain data augmentation framework. Our framework is divided into two parts: in-domain data selection and task-oriented synthetic passage generation. The data selection strategy identifies and selects a large amount of in-domain data from general corpora, and thus significantly enriches domain knowledge in the continual pre-training data. The synthetic passages contain guidance on how to use domain knowledge to answer questions about downstream tasks. By training on such passages, the model aligns with the need of downstream applications. We adapt LLMs to two domains: advertisement and math. On average, TRAIT improves LLM performance by 8% in the advertisement domain and 7.5% in the math domain.
[ -0.17795586585998535, -0.7891323566436768, 0.6187714338302612, 0.3739875853061676, -0.08970881998538971, 0.25698527693748474, -0.3667805790901184, -0.5787867903709412, 0.11357923597097397, 0.6655728816986084, -0.7152909636497498, -0.33879557251930237, -0.5068500638008118, 0.0915021300315857, -0.142670139670372, 0.9047672152519226, 0.017758993431925774, 0.18128257989883423, -0.8234327435493469, -0.12271783500909805, -0.3955228626728058, -0.8901718854904175, -0.727273166179657, -0.3018058240413666, 0.22521619498729706, 0.39007845520973206, 0.4511907398700714, 0.42852771282196045, 0.3219354450702667, 0.30304625630378723, 0.2515657842159271, 0.5270570516586304, -0.6523162722587585, 0.3366566598415375, -0.3492427170276642, -0.35647261142730713, -0.7526407837867737, -0.07310406118631363, 0.551883339881897, 1.0095106363296509, 0.5145869851112366, -0.08249958604574203, 0.215450718998909, 0.6790350079536438, -0.3504316806793213, 0.32110530138015747, -0.5766803622245789, -0.2714717388153076, -0.3624626398086548, -0.32384946942329407, -0.23349225521087646, -0.34161460399627686, 0.25841817259788513, -0.730934202671051, 0.2996285855770111, 0.10827642679214478, 0.708103597164154, 0.09672713279724121, -0.4342136085033417, -0.09758682548999786, -0.5197128057479858, 0.9633968472480774, -0.58382648229599, 0.37556102871894836, 0.6381295323371887, -0.0120297996327281, -0.40019455552101135, -0.5153650045394897, -0.5992534160614014, -0.12840598821640015, -0.13666798174381256, -0.15200009942054749, 0.08054538816213608, -0.005743933841586113, 0.17396186292171478, 0.4873906373977661, -0.6988189816474915, 0.11848480254411697, -0.09106770902872086, -0.20154042541980743, 0.6879152655601501, 0.3192199468612671, 0.08007386326789856, 0.07779932022094727, -0.2782617509365082, -0.23765209317207336, -1.025667667388916, 0.17678596079349518, 0.4112336337566376, 0.49568232893943787, 0.07938385009765625, 0.6110266447067261, -0.22604167461395264, 0.89142906665802, 0.22048988938331604, -0.09562356024980545, 0.3652378022670746, -0.20057730376720428, -0.24978668987751007, -0.3718164265155792, 0.4744582772254944, -0.03429795801639557, 0.03586404025554657, -0.2970430552959442, -0.3799414038658142, 0.19298216700553894, 0.3745206296443939, -0.884333074092865, 0.07456058263778687, 0.40926679968833923, -0.14763958752155304, -0.1697942614555359, -0.15613053739070892, -0.45169544219970703, -0.22037263214588165, -0.6728118658065796, 0.3747420907020569, -0.674909234046936, -0.04866144061088562, 0.0682944729924202, 0.15701837837696075, 0.1248963251709938, 0.34190818667411804, -0.9234347343444824, 0.2909763753414154, 0.8598910570144653, 0.45392853021621704, -0.6128295063972473, -0.10951854288578033, -0.7842381596565247, 0.16740794479846954, -0.14968588948249817, 0.7168875336647034, -0.9248120188713074, -0.41777586936950684, 0.062463805079460144, 0.23271621763706207, -0.31196433305740356, -0.6733917593955994, 0.5798438787460327, -0.7959394454956055, 0.03423263132572174, -0.17726747691631317, -0.9275149703025818, -0.22407548129558563, 0.24212424457073212, -0.6625566482543945, 1.2075576782226562, 0.6807515621185303, -0.31328800320625305, 0.5793176889419556, -0.7109674215316772, -0.8456527590751648, 0.2242063283920288, -0.2200925052165985, -0.47332242131233215, 0.06851238757371902, 0.3956674337387085, 0.526789128780365, -0.3015982508659363, 0.3199285864830017, -0.3242522180080414, -0.36819955706596375, 0.3758698105812073, -0.05502142757177353, 0.5705828666687012, 0.14122535288333893, -0.1693783849477768, -0.04445550963282585, -0.6660717725753784, 0.008824309334158897, -0.05758203566074371, -0.4017854630947113, -0.48052534461021423, 0.053118471056222916, 0.14601898193359375, 0.20595748722553253, 0.31453824043273926, -0.7530596256256104, 0.3290887475013733, -0.39702269434928894, 0.17547230422496796, 0.773463249206543, -0.23476947844028473, 0.5676761865615845, -0.43760135769844055, 0.5835059881210327, 0.08488043397665024, 0.06144918501377106, 0.12750960886478424, -0.3834412097930908, -0.7755007743835449, -0.4175313711166382, 0.10103929042816162, 0.37555167078971863, -0.952754557132721, 0.5356399416923523, -0.5055571794509888, -0.049205321818590164, -0.32382988929748535, 0.3394947648048401, 0.2158244401216507, 0.45018309354782104, 0.33301693201065063, -0.412678986787796, -0.49360525608062744, -0.6074039340019226, -0.1559298038482666, 0.015750087797641754, -0.035438165068626404, 0.4552237093448639, 0.21647454798221588, -0.4060097336769104, 1.0577807426452637, -0.601794958114624, -0.3775368928909302, -0.5348279476165771, 0.04954790323972702, 0.37181252241134644, 0.4791099429130554, 0.6093487739562988, -0.8631748557090759, -0.4892237186431885, 0.02378065511584282, -0.6430266499519348, -0.09856025129556656, -0.0215295497328043, -0.39174792170524597, 0.07275062799453735, 0.18783120810985565, -0.45904913544654846, 0.16995149850845337, 0.47710302472114563, -0.40183302760124207, 0.4792472720146179, -0.03290992230176926, 0.1832643300294876, -0.8532302975654602, -0.07810097932815552, 0.1727454662322998, -0.5304011702537537, -0.8821157813072205, 0.04917645826935768, 0.035396233201026917, -0.2290874719619751, -0.23127245903015137, 0.7660031318664551, -0.2014910876750946, -0.026292115449905396, -0.5337739586830139, -0.24761152267456055, 0.21940164268016815, 0.7013612389564514, 0.28305166959762573, 0.98405921459198, 0.8451035618782043, -0.935030996799469, 0.313558965921402, 0.5056506395339966, -0.34764498472213745, 0.8202009797096252, -0.27891966700553894, 0.27134737372398376, -0.08698435127735138, 0.09737332165241241, -0.5051668286323547, -0.3082572817802429, -0.0045998357236385345, -0.3278183341026306, 0.46968773007392883, -0.01728697121143341, -0.4550185799598694, -0.25169140100479126, -0.1275249421596527, 0.4451354146003723, 0.3592199385166168, -0.7091299295425415, 0.7244313955307007, 0.42548668384552, -0.357295423746109, -0.2772226333618164, -0.5003946423530579, -0.051822010427713394, -0.16057492792606354, -0.7752656936645508, 0.5701366662979126, -0.024487994611263275, 0.04949968308210373, 0.004819904919713736, -0.027940601110458374, -0.21254754066467285, -0.2948964536190033, 0.2004082202911377, 0.5125772356987, -0.09523605555295944, 0.21298538148403168, 0.05293935164809227, 0.16941732168197632, 0.054710082709789276, -0.5999051928520203, 0.29603177309036255, 0.29405638575553894, -0.31890934705734253, -0.049928534775972366, 0.49251335859298706, 0.34542176127433777, -0.1373603641986847, 0.5486106276512146, 0.31670311093330383, -0.005653779488056898, -0.6108822822570801, -0.4497933089733124, -0.18004322052001953, -0.5224841237068176, 0.4122966527938843, -0.4365485906600952, -1.1681421995162964, 0.06595427542924881, -0.18419477343559265, 0.03005591593682766, 0.18699254095554352, 0.33760419487953186, -0.22845378518104553, 0.787555992603302, 0.9767889380455017, -0.2791178822517395, 0.5393004417419434, -0.44295534491539, 0.3176555037498474, -0.8942040801048279, -0.0724940076470375, -0.16746099293231964, -0.2414645105600357, -0.27534693479537964, -0.736936628818512, 0.5473209619522095, -0.26852351427078247, -0.137797549366951, 0.49912500381469727, -0.09041484445333481, -0.03588652238249779, 0.33670809864997864, 0.3426748514175415, 0.1504182666540146, 0.336044043302536, 0.22431382536888123, -0.17118437588214874, -0.5718206167221069, -0.3003353178501129, 1.4129817485809326, 0.1761067807674408, 0.8580402135848999, 0.02724832110106945, 0.3005194067955017, 0.4218973219394684, 0.4179529845714569, -0.738237738609314, 0.6407490372657776, -0.5779199600219727, -0.4252666234970093, -0.3587130606174469, -0.5032134056091309, -0.5577167272567749, 0.09519051015377045, -0.1761355996131897, -0.40821927785873413, 0.32947733998298645, 0.26757311820983887, -0.15668468177318573, 0.08711566030979156, -0.3230132460594177, 0.5645313262939453, -0.32030394673347473, -0.7045691609382629, -0.25591495633125305, -0.23716726899147034, 0.24974919855594635, -0.4765171408653259, 0.03105710633099079, 0.007979887537658215, 0.20855988562107086, 0.40940558910369873, -0.6676493287086487, 0.7848947644233704, -0.17605875432491302, -0.05848386883735657, 0.24406521022319794, -0.1805042177438736, 1.0196337699890137, -0.12437529116868973, -0.28576770424842834, -0.2783318758010864, -0.4908246397972107, -0.451378732919693, -0.7496472001075745, 0.6776129007339478, -0.5143758058547974, -0.5791147351264954, -0.19500499963760376, -0.8032402992248535, -0.9347682595252991, -0.2777312994003296, -0.022258730605244637, 0.6397051811218262, -0.24023154377937317, -0.006557616405189037, 0.7626797556877136, -0.218505859375, 0.1608283370733261, 0.6432916522026062, 0.11633263528347015, -0.09056849777698517, 1.1832693815231323, -0.5134375095367432, 0.39089784026145935, 0.5214410424232483, -0.1533898413181305, -0.6025932431221008, -0.40896841883659363, -0.39767712354660034, 0.17195618152618408, -0.625385582447052, -0.16229303181171417, -0.727453351020813, -0.1754714846611023, -0.49320322275161743, -0.12982355058193207, -0.07586569339036942, -0.299980491399765, -0.26940643787384033, -0.016589095816016197, 0.7056156992912292, 0.4315398633480072, 0.23754461109638214, 0.3331618010997772, -0.6355891227722168, 0.33087390661239624, 0.36013567447662354, 0.26893705129623413, -0.35452619194984436, -0.6157317757606506, -0.514613151550293, 0.07515695691108704, -0.2771835923194885, -0.326834499835968, 0.4762086868286133, 0.5136765241622925, 0.5553364157676697, 0.26038089394569397, -0.17330718040466309, 0.6354305148124695, -0.3368290960788727, 0.5553317666053772, -0.062418948858976364, -0.7445557117462158, 0.25988417863845825, -0.254637211561203, 0.01937856897711754, 0.4734346270561218, 0.3502560555934906, -0.14733663201332092, -0.6897274851799011, -0.21801723539829254, -0.7970730066299438, 0.6842464804649353, 0.20302455127239227, 0.33108627796173096, 0.19529572129249573, 0.27039438486099243, 0.42238518595695496, 0.36614125967025757, -0.46763885021209717, -0.11558936536312103, -0.17470744252204895, -0.11868155747652054, -0.14205819368362427, 0.042712852358818054, 0.05441673472523689, -0.546977698802948, 0.7956043481826782, -0.4803032875061035, 0.2757762372493744, -0.025318609550595284, -0.41941457986831665, -0.021305426955223083, 0.256657212972641, 0.19206532835960388, 0.7897290587425232, -0.13888593018054962, -0.185418039560318, -0.14102527499198914, -0.734370768070221, 0.2509274482727051, 0.27342432737350464, -0.18777363002300262, -0.10160685330629349, 0.21558311581611633, 1.0090274810791016, 0.08297581970691681, -0.7279560565948486, 0.5334879159927368, 0.3843490481376648, -0.21773141622543335, -0.14159956574440002, 0.1321260631084442, -0.2310357242822647, 0.2254236340522766, 0.41218575835227966, -0.04359643906354904, 0.01987643912434578, -0.6417568325996399, 0.2931433320045471, 0.5379996299743652, -0.12883256375789642, -0.3405002951622009, 0.6912527084350586, 0.22095824778079987, 0.40641871094703674, 0.43856966495513916, -0.2563256025314331, -0.5318798422813416, 0.44221052527427673, 0.6548686623573303, 0.8626071810722351, -0.04410626366734505, 0.3028596043586731, 0.1720414012670517, -0.1657671481370926, 0.06998845189809799, 0.6024284958839417, -0.00033507440821267664, -0.7850294709205627, -0.8592405319213867, -0.8473173975944519, -0.27093204855918884, 0.4230618476867676, -0.31172502040863037, 0.04817688465118408, -0.14728230237960815, -0.2564511001110077, -0.17634285986423492, -0.0010882050264626741, -0.9418256878852844, 0.5361294746398926, -0.2328256070613861, 0.723532497882843, -0.7437945008277893, 1.1947860717773438, 0.777938187122345, -0.1955493986606598, -0.5837520360946655, 0.0810408890247345, -0.3290780782699585, -0.6927764415740967, 1.0035582780838013, -0.15070730447769165, -0.05165351554751396, -0.13881945610046387, -0.38316771388053894, -0.7087656259536743, 0.8378955721855164, 0.3531697392463684, -0.43124905228614807, 0.10456819832324982, 0.5723901391029358, 0.4725956618785858, -0.7841135859489441, -0.21872276067733765, 0.588954746723175, 0.47050708532333374, 0.20027661323547363, -0.5287222266197205, 0.06438355147838593, -0.21604999899864197, 0.12187366932630539, -0.0014412618475034833, -0.3232569098472595, 0.848653256893158, 0.005634624045342207, -0.060461703687906265, -0.03466521203517914, 0.7354546785354614, 0.2053816318511963, 0.15125888586044312, 0.5160351991653442, 0.5873244404792786, 0.4879676401615143, -0.10627297312021255, 1.0790894031524658, -0.23401160538196564, 0.02387114241719246, 0.9426374435424805, -0.5895141363143921, 0.5629063844680786, 0.39296478033065796, -0.30997413396835327, 0.4494749903678894, 0.5619433522224426, 0.09886277467012405, 0.610830545425415, 0.04402976855635643, -0.6244968175888062, -0.35507887601852417, -0.1533547192811966, -0.04898057505488396, 0.41454675793647766, 0.5354456901550293, -0.25112679600715637, 0.06413786113262177, 0.21743442118167877, -0.1476902812719345, 0.11520261317491531, -0.38758182525634766, 0.5108967423439026, 0.04944143816828728, -0.7457072138786316, 0.5125067234039307, -0.03608376532793045, 0.5976778268814087, -0.7727236747741699, -0.05554569140076637, -0.3796856999397278, 0.17046695947647095, -0.14532271027565002, -0.6341283321380615, 0.2058369666337967, 0.10221680998802185, -0.2618728280067444, -0.45223236083984375, 0.7371378540992737, -0.573355495929718, -0.49799925088882446, 0.17858533561229706, 0.5596648454666138, -0.06987336277961731, -0.23075459897518158, -0.36732298135757446, 0.06245393678545952, -0.22112540900707245, -0.12354874610900879, 0.5594101548194885, 0.3635714054107666, -0.2926282286643982, 0.6135436296463013, 0.7130719423294067, 0.325531542301178, -0.12974146008491516, 0.229273721575737, 1.3255674839019775, -0.44497036933898926, -0.5857909917831421, -0.3631502687931061, 0.37354397773742676, -0.2132851928472519, -0.030852939933538437, 0.694358229637146, 0.7337470054626465, 0.7242270112037659, -0.26186537742614746, 1.063953161239624, -0.1825585514307022, 0.6985084414482117, -0.6856631636619568, 0.34713470935821533, -0.6080278754234314, 0.218875914812088, -0.160330668091774, -1.0676730871200562, 0.09226386249065399, 0.2403804063796997, -0.44730377197265625, 0.0874994546175003, 0.6820583343505859, 0.9914986491203308, -0.3572881817817688, -0.05643681436777115, 0.3701077997684479, -0.0739714577794075, 0.23789744079113007, 0.7005802392959595, 0.6817806363105774, -0.15408965945243835, 0.09413672983646393, 0.0041898866184055805, -0.23784373700618744, -0.13529497385025024, -0.6807636618614197, -0.9778549671173096, -0.7256866097450256, -0.1982579231262207, -0.16770541667938232, 0.13575685024261475, 0.8129585385322571, 0.8487259745597839, -0.8550431132316589, -0.3172587454319, -0.0390884168446064, -0.23466983437538147, -0.43285703659057617, -0.25449857115745544, 0.38827651739120483, -0.6474606990814209, -0.8845497965812683, 0.8836724758148193, 0.34590664505958557, -0.14585670828819275, -0.28762826323509216, -0.16867803037166595, 0.06488700211048126, 0.13597819209098816, 0.8418315052986145, 0.3115461766719818, -0.27472928166389465, -0.2127816379070282, 0.05482577160000801, -0.12303511798381805, 0.09036633372306824, 1.2864832878112793, -0.8177031874656677, 0.344820111989975, 0.3745821714401245, 0.865516185760498, 0.590783417224884, 0.18945473432540894, 0.9925009608268738, -0.9475489854812622, 0.2758062481880188, 0.3573777377605438, 0.2187635749578476, 0.5534844398498535, -0.6931072473526001, 0.4441487193107605, 0.24306920170783997, -0.42498329281806946, -0.3548622727394104, 0.3582090139389038, -0.8829066157341003, -0.26675233244895935, 1.1813664436340332, -0.21708111464977264, -0.12232787907123566, -0.4146990478038788, 0.1958548128604889, -0.12422996014356613, -0.3398433327674866, 0.4532114267349243, 0.39277979731559753, -0.27438679337501526, 0.18546289205551147, -0.6438676118850708, 0.9190898537635803, 0.32747137546539307, -0.9728711843490601, 0.05786051228642464, 0.6113933324813843, 0.2608790695667267, -0.3477713167667389, 0.7695606350898743, -0.15099003911018372, 0.08866466581821442, -0.4110892713069916, -0.1537317931652069, -0.12973041832447052, -0.2832093834877014, -0.058405499905347824, -0.0721663385629654, 0.05179866775870323, -0.1809764802455902 ]
http://arxiv.org/abs/2406.16690v1
http://arxiv.org/pdf/2406.16690v1
Scaling Laws for Linear Complexity Language Models
2024-06-24T14:51:31
2024-06-24T14:51:31
Xuyang Shen, Dong Li, Ruitao Leng, Zhen Qin, Weigao Sun, Yiran Zhong
cs.CL
cs.CL
The interest in linear complexity models for large language models is on the rise, although their scaling capacity remains uncertain. In this study, we present the scaling laws for linear complexity language models to establish a foundation for their scalability. Specifically, we examine the scaling behaviors of three efficient linear architectures. These include TNL, a linear attention model with data-independent decay; HGRN2, a linear RNN with data-dependent decay; and cosFormer2, a linear attention model without decay. We also include LLaMA as a baseline architecture for softmax attention for comparison. These models were trained with six variants, ranging from 70M to 7B parameters on a 300B-token corpus, and evaluated with a total of 1,376 intermediate checkpoints on various downstream tasks. These tasks include validation loss, commonsense reasoning, and information retrieval and generation. The study reveals that existing linear complexity language models exhibit similar scaling capabilities as conventional transformer-based models while also demonstrating superior linguistic proficiency and knowledge retention.
[ -0.047166574746370316, -0.5154842734336853, 0.6275668740272522, 0.4572972357273102, 0.2477835714817047, -0.3762906789779663, -0.27013352513313293, -0.37974289059638977, -0.24343076348304749, 0.6166868209838867, -0.3036252558231354, 0.1290830820798874, -0.6214447617530823, -0.12021046131849289, -0.34675872325897217, 1.0469590425491333, 0.033999670296907425, 0.07978282123804092, -0.16936101019382477, -0.4713655710220337, -0.32855483889579773, -0.4066000282764435, -0.6997486352920532, -0.3970882296562195, 0.6968807578086853, 0.26607614755630493, 0.8895610570907593, 1.0018168687820435, 0.7558356523513794, 0.28533878922462463, -0.43923038244247437, -0.46554356813430786, -0.867242157459259, -0.042227715253829956, -0.2709919810295105, -0.43131887912750244, -0.730205774307251, -0.27683940529823303, 0.5867908000946045, 0.9226146936416626, -0.055660735815763474, 0.2550652027130127, 0.047255102545022964, 0.5327895283699036, -0.3504565954208374, 0.12798598408699036, -0.5176050066947937, -0.11286650598049164, 0.019440030679106712, 0.2920989394187927, -0.571950376033783, -0.4046679437160492, 0.17440858483314514, -0.395803838968277, -0.03589737415313721, 0.10704737901687622, 0.6421942114830017, 0.20917783677577972, -0.4377615749835968, -0.6797861456871033, -0.7288950681686401, 1.0246760845184326, -0.9830560088157654, 0.3685446083545685, 0.16579467058181763, 0.08503729104995728, 0.22996832430362701, -0.9623762369155884, -0.22140176594257355, -0.45171594619750977, -0.03322800621390343, -0.44314101338386536, -0.5462584495544434, 0.19730889797210693, 0.3908942937850952, 0.5044037103652954, -0.5275633335113525, 0.2061781883239746, -0.5041801929473877, -0.13092370331287384, 0.19549791514873505, 0.31912168860435486, 0.23924502730369568, 0.040961068123579025, -0.38014090061187744, 0.14489123225212097, -0.5309362411499023, -0.04736125096678734, 0.06707757711410522, 0.3637601435184479, -0.08533749729394913, 0.5490816831588745, 0.01395457424223423, 0.5243749022483826, 0.19000035524368286, -0.2898380160331726, 0.10535462200641632, -0.5884085297584534, -0.16228143870830536, -0.4051000475883484, 0.3700118958950043, 0.020550649613142014, 0.24985486268997192, -0.3523542582988739, -0.4326494336128235, -0.408711701631546, 0.4351959824562073, -0.813199520111084, 0.032418519258499146, 0.2625291645526886, -0.5710784196853638, -0.229582741856575, -0.5866561532020569, -0.37869128584861755, -0.3407476842403412, -0.3881045877933502, 0.9306282997131348, -0.24325920641422272, -0.40045952796936035, 0.22448250651359558, 0.22945277392864227, 0.38911211490631104, 0.17146317660808563, -0.9761068224906921, 0.5347959399223328, 0.881803572177887, 0.7662729620933533, -0.07722532004117966, 0.03382386267185211, -0.5081133842468262, -0.35976046323776245, -0.26080551743507385, 0.14600366353988647, -0.37215790152549744, 0.3769116699695587, 0.11829551309347153, -0.22122062742710114, -0.05104667320847511, -0.3986004590988159, 0.6720569729804993, -0.7414352893829346, -0.05877019837498665, -0.23501905798912048, -0.6257966160774231, -0.18461081385612488, 0.10669805854558945, -0.8127148747444153, 0.774276077747345, 0.1665431410074234, -0.6356407999992371, -0.0023361817002296448, -0.49123507738113403, -0.408196359872818, 0.16212709248065948, 0.1818174570798874, -0.4659128785133362, 0.29132017493247986, -0.2035038322210312, 0.5438295602798462, -0.4440682530403137, 0.17390727996826172, -0.35861554741859436, -0.10118681192398071, -0.10961616784334183, -0.335507333278656, 0.7759171724319458, 0.3436022400856018, -0.4075915217399597, 0.09482120722532272, -0.7505495548248291, 0.09188172221183777, 0.14079242944717407, -0.5617868304252625, -0.1951831728219986, 0.025764524936676025, 0.1804380565881729, 0.13670019805431366, 0.49978935718536377, -0.2424241453409195, 0.047553569078445435, -0.3171344995498657, 0.6354202032089233, 0.5134721994400024, -0.07168177515268326, 0.657362699508667, -0.07704215496778488, 0.516253650188446, -0.05180666968226433, 0.2406175285577774, -0.23523028194904327, -0.3358347713947296, -1.0824787616729736, 0.06060514226555824, 0.1294955015182495, 0.36062315106391907, -0.334113210439682, 0.06571956723928452, -0.47549352049827576, -0.3913829028606415, -0.16946618258953094, 0.316840261220932, 0.6022709608078003, 0.345210462808609, 0.22487081587314606, -0.16379977762699127, -0.43819621205329895, -0.8965799808502197, -0.10236939042806625, -0.048471275717020035, -0.05867772176861763, 0.5548270344734192, 0.5128377079963684, -0.14389118552207947, 0.6447670459747314, -0.13888923823833466, -0.010931754484772682, -0.557952880859375, 0.04709947854280472, 0.4879254102706909, 0.26540878415107727, 0.48597830533981323, -0.5697120428085327, -0.23506440222263336, 0.16159288585186005, -0.48109665513038635, -0.151805117726326, -0.012175432406365871, 0.370103120803833, -0.013901219703257084, 0.7097647786140442, -0.3547402620315552, 0.15339438617229462, 0.5102605223655701, -0.2915602922439575, 0.20090945065021515, -0.42694804072380066, -0.4484288692474365, -0.8683792352676392, 0.25685596466064453, -0.16019076108932495, -0.3570931851863861, -1.272385597229004, 0.28973904252052307, 0.2943389117717743, 0.052106864750385284, -0.42915308475494385, 0.34320545196533203, -0.44185683131217957, -0.33963993191719055, -0.2881615161895752, -0.11527680605649948, -0.0558990053832531, 0.7862960696220398, -0.1386430412530899, 0.5386937260627747, 0.29557448625564575, -0.8021711111068726, 0.16325081884860992, -0.34046483039855957, -0.1089954674243927, 0.2537935674190521, -1.1191658973693848, 0.16900941729545593, -0.15245860815048218, -0.01126778218895197, -1.0996605157852173, 0.012100414372980595, -0.23015323281288147, -0.16417844593524933, 0.16096079349517822, -0.14097239077091217, -0.43688493967056274, -0.3301146626472473, -0.030786819756031036, 0.6799463629722595, 0.4268348217010498, -0.3169095814228058, 0.6942948698997498, 0.1976785957813263, -0.15263129770755768, -0.446147620677948, -0.5428627729415894, 0.07559055835008621, -0.22697271406650543, -0.5662466883659363, -0.2143104076385498, -0.205379918217659, -0.4941999018192291, -0.15765343606472015, 0.10897090286016464, -0.17399923503398895, -0.023787209764122963, 0.06050436943769455, -0.11905685812234879, -0.7625259160995483, 0.18822459876537323, -0.3771149814128876, 0.12436378747224808, 0.0776500254869461, -0.7231280207633972, 0.7917491793632507, -0.4980047643184662, 0.010248053818941116, -0.1590757966041565, 0.08569683879613876, 0.975559413433075, -0.32954949140548706, 0.667580246925354, 0.44699230790138245, -0.4214933514595032, 0.23259778320789337, -0.6405143141746521, 0.09788182377815247, -0.4206036627292633, 0.5736133456230164, -0.3337807059288025, -0.7522562146186829, 0.8232088088989258, 0.16629678010940552, 0.3214091956615448, 0.6167526841163635, 1.0038213729858398, 0.11542612314224243, 0.6878334283828735, 0.7285342812538147, -0.23050245642662048, 0.38440290093421936, -0.09784267097711563, -0.09123124182224274, -0.6319899559020996, 0.03613046556711197, -0.5124242901802063, -0.36550018191337585, -0.4704129993915558, -0.790797770023346, 0.16317428648471832, -0.0672672688961029, -0.4475144147872925, 0.6171731352806091, -0.07289036363363266, 0.6065129041671753, 0.19084209203720093, -0.11024821549654007, 0.21022602915763855, 0.02101934142410755, -0.16287507116794586, 0.007575584575533867, -0.6512808203697205, -0.20232106745243073, 1.294041395187378, 0.889622688293457, 0.8388991951942444, 0.43108266592025757, 0.19810913503170013, 0.38509097695350647, 0.211347296833992, -0.8216575384140015, 0.37062931060791016, -0.2759193181991577, -0.7068583965301514, -0.6032339334487915, -0.6447749137878418, -0.9128746390342712, 0.1642124354839325, 0.20355647802352905, -0.4823406934738159, 0.2779948115348816, -0.025463946163654327, -0.25868895649909973, 0.42247459292411804, -0.568271279335022, 0.5419701337814331, -0.23955132067203522, -0.558548092842102, -0.3877083659172058, -0.6655043959617615, 0.2012748420238495, -0.09257535636425018, 0.14406152069568634, 0.17420879006385803, -0.3337048590183258, 0.5844420194625854, -0.4053778648376465, 0.7283799052238464, -0.06974726915359497, -0.40890106558799744, 0.15991762280464172, 0.1294333040714264, 0.6968351006507874, -0.1048029363155365, -0.06058010831475258, -0.0154821015894413, -0.5960066318511963, -0.5887073278427124, -0.31073716282844543, 0.5312944650650024, -0.769131064414978, -0.34428855776786804, -0.006413725670427084, -0.8305209279060364, -0.040769774466753006, 0.4980871081352234, 0.08707018196582794, 0.6769605278968811, 0.05917898938059807, 0.5614137649536133, 1.1657634973526, 0.014663790352642536, 0.5654863119125366, 0.5111793875694275, -0.19498468935489655, -0.26779210567474365, 0.776848554611206, 0.18844819068908691, 0.7960523366928101, 0.47835829854011536, 0.1976763755083084, -0.2482454925775528, -0.6341354250907898, -0.25987526774406433, 0.3037312924861908, -0.7164958715438843, -0.04413457214832306, -0.7449690103530884, -0.4335542917251587, -0.3415679633617401, 0.07612484693527222, -0.605061948299408, -0.6450932025909424, -0.12085145711898804, 0.07150699943304062, 0.28549179434776306, 1.1430344581604004, -0.03423530235886574, 0.02179807983338833, -0.15166398882865906, 0.30785030126571655, 0.4660768210887909, 0.5688826441764832, 0.18556958436965942, -1.1177096366882324, -0.4578028619289398, -0.3235151171684265, 0.013447773642838001, -0.4534446597099304, 0.08991086483001709, 0.40095147490501404, 0.35661083459854126, 0.5108888745307922, -0.2193811684846878, 0.29099178314208984, -0.6789069175720215, 0.3078518211841583, 0.2011416107416153, -0.8233607411384583, 0.17842836678028107, -0.4467153251171112, 0.48648932576179504, 0.23927655816078186, 0.14960727095603943, -0.4222516417503357, -0.44273194670677185, -0.40496575832366943, -0.7410367131233215, 0.6593652367591858, 0.29733848571777344, 0.5997405052185059, 0.4882379472255707, 0.7397403717041016, -0.09417329728603363, -0.193956658244133, -1.1098744869232178, -0.11812469363212585, -0.10177259892225266, -0.2398270070552826, -0.045794159173965454, -0.588833212852478, 0.12507258355617523, 0.06975763291120529, 0.23477239906787872, 0.13355515897274017, 0.05062335729598999, -0.03586068004369736, -0.1971658170223236, -0.04747606813907623, 0.32932326197624207, 1.0339714288711548, 0.6656238436698914, -0.16182853281497955, 0.0614798404276371, 0.3291272521018982, -0.7042661309242249, 0.33929112553596497, -0.25869980454444885, -0.186322882771492, -0.28723058104515076, 0.3931504786014557, 1.000709056854248, 0.47441843152046204, -0.5442420244216919, 0.4047433137893677, -0.21292796730995178, -0.30910608172416687, -0.17529207468032837, -0.046865999698638916, 0.4463214576244354, 0.32010617852211, 0.23392613232135773, 0.006627632305026054, 0.10746878385543823, -0.22134636342525482, 0.21162289381027222, 0.07183399796485901, -0.5757459402084351, -0.31303131580352783, 0.8389002084732056, 0.12716776132583618, -0.2966206967830658, 0.5361484885215759, -0.19548490643501282, -0.286390483379364, 0.6018834710121155, 0.565473735332489, 0.5980728268623352, -0.19402314722537994, -0.14491988718509674, 0.451133131980896, 0.7290199398994446, -0.09216183423995972, -0.045030366629362106, 0.05616390332579613, -0.47260719537734985, -0.3800029754638672, -0.6220727562904358, -0.3439675271511078, 0.3112947344779968, -0.6791196465492249, 0.056666016578674316, -0.6948522925376892, -0.15102456510066986, 0.012374459765851498, 0.1140417605638504, -0.5793461799621582, 0.23323708772659302, 0.28588587045669556, 0.7907349467277527, -0.619015097618103, 0.7560341954231262, 0.3371078073978424, -0.25341662764549255, -0.6652143001556396, -0.16410699486732483, -0.0010292917722836137, -0.9189338684082031, 0.7443727850914001, 0.054155219346284866, -0.07966050505638123, 0.02438126876950264, -0.3051123321056366, -1.2030566930770874, 0.9952600598335266, 0.41783082485198975, -0.6701584458351135, -0.06911985576152802, 0.33001455664634705, 0.8526526093482971, -0.5083140134811401, 0.26146864891052246, 0.4327824115753174, 0.07469504326581955, 0.24406224489212036, -0.9052965044975281, -0.10824071615934372, -0.1409091353416443, 0.22290033102035522, 0.05045788735151291, -0.7494485974311829, 1.2394160032272339, -0.4915068447589874, 0.017454609274864197, 0.014353550039231777, 0.9512118697166443, -0.001247957581654191, 0.09609183669090271, 0.676161527633667, 0.7286537885665894, 0.5974833965301514, 0.18643145263195038, 0.8740429878234863, -0.31946688890457153, 0.4314415156841278, 1.154059886932373, -0.24023503065109253, 0.9731761813163757, 0.2079782336950302, -0.1750086545944214, 0.3627498745918274, 0.14512191712856293, 0.06192997843027115, 0.01003989763557911, 0.4541615843772888, 0.034699004143476486, -0.09720519185066223, -0.21098951995372772, -0.16340646147727966, 0.36368435621261597, 0.4042799770832062, -0.5647950172424316, -0.08162175118923187, -0.034603677690029144, 0.33509400486946106, -0.10528573393821716, -0.5752941966056824, 0.7315738797187805, -0.06264853477478027, -0.5219016075134277, 0.7261533737182617, 0.02825169451534748, 0.33364322781562805, -0.4745219349861145, 0.41582411527633667, -0.5250499844551086, 0.5278943777084351, 0.05586342141032219, -0.6028028130531311, 0.07653602957725525, 0.16901235282421112, -0.5106306076049805, -0.3924834430217743, 0.5793707370758057, -0.3759499192237854, -0.6953139305114746, 0.3714298605918884, 0.1461332142353058, 0.1916460543870926, 0.13700592517852783, -0.5048404335975647, 0.10763798654079437, -0.006715457886457443, -0.3965020179748535, 0.16871587932109833, 0.38295960426330566, -0.024756915867328644, 0.970788300037384, 0.1401209831237793, 0.03825673460960388, 0.6046697497367859, 0.26539456844329834, 0.7364811897277832, -0.3972814083099365, -0.19816607236862183, -0.5624813437461853, 0.1876969188451767, 0.035937681794166565, -0.1189856305718422, 0.618567168712616, 0.5427141189575195, 0.16816595196723938, 0.06859016418457031, 0.374050498008728, 0.028018483892083168, 0.3380758762359619, -0.3020589053630829, 0.5759614706039429, -0.6627805233001709, 0.31442922353744507, 0.14837272465229034, -0.7904848456382751, -0.23123103380203247, 0.11451056599617004, -0.18524345755577087, 0.192473366856575, 0.3481210768222809, 0.7164018154144287, -0.126548632979393, -0.37315601110458374, 0.49076417088508606, 0.5707347393035889, 0.3171597421169281, 0.9792882800102234, 0.12254847586154938, -0.5547803640365601, 1.035662293434143, 0.17023710906505585, -0.24450504779815674, -0.4065578877925873, -0.6310553550720215, -0.8009467720985413, -0.4561338722705841, -0.20360495150089264, -0.46358051896095276, -0.2492763102054596, 0.48198091983795166, 0.7020214200019836, -0.8937065601348877, -0.42049407958984375, -0.22549772262573242, -0.0209202878177166, -0.12834569811820984, -0.18357229232788086, 0.2831532955169678, -0.7362088561058044, -0.4554117023944855, 0.04354899749159813, 0.6319611668586731, 0.02203897200524807, -0.647438108921051, -0.25039780139923096, -0.027268193662166595, 0.6097806096076965, 0.581637978553772, 0.4790634214878082, -0.879679262638092, -0.11664532124996185, 0.24060764908790588, -0.602088987827301, -0.00033108596107922494, 0.9598919749259949, -0.23218269646167755, 0.488353431224823, 0.658370852470398, 0.6337265372276306, 0.3328152596950531, -0.3559182286262512, 0.5524163842201233, -0.6785550713539124, 0.09275005012750626, 0.21215800940990448, 0.3610590696334839, 0.12211339175701141, -0.09816838055849075, 0.3738173246383667, -0.004084945190697908, -0.7263215780258179, -0.6430657505989075, 0.22590626776218414, -0.816387951374054, 0.08823095262050629, 1.2341511249542236, -0.17426496744155884, -0.17667825520038605, -0.1868518888950348, 0.0778241902589798, -0.21989145874977112, 0.012260383926331997, 0.3572399914264679, 0.816652238368988, 0.04656616598367691, -0.40291962027549744, -0.7333564758300781, 0.3057877719402313, 0.6285755634307861, -0.59637051820755, 0.40268734097480774, 0.14270800352096558, 0.2811276912689209, 0.2971176505088806, 0.5551722049713135, -0.16146256029605865, 0.19009338319301605, -0.005350968800485134, -0.01762634702026844, 0.39802104234695435, -0.08864069730043411, -0.5985564589500427, 0.36174339056015015, 0.07120669633150101, 0.44733840227127075 ]
http://arxiv.org/abs/2406.16678v1
http://arxiv.org/pdf/2406.16678v1
Segment Any Text: A Universal Approach for Robust, Efficient and Adaptable Sentence Segmentation
2024-06-24T14:36:11
2024-06-24T14:36:11
Markus Frohmann, Igor Sterner, Ivan Vulić, Benjamin Minixhofer, Markus Schedl
cs.CL
cs.CL, cs.AI, cs.LG
Segmenting text into sentences plays an early and crucial role in many NLP systems. This is commonly achieved by using rule-based or statistical methods relying on lexical features such as punctuation. Although some recent works no longer exclusively rely on punctuation, we find that no prior method achieves all of (i) robustness to missing punctuation, (ii) effective adaptability to new domains, and (iii) high efficiency. We introduce a new model - Segment any Text (SaT) - to solve this problem. To enhance robustness, we propose a new pretraining scheme that ensures less reliance on punctuation. To address adaptability, we introduce an extra stage of parameter-efficient fine-tuning, establishing state-of-the-art performance in distinct domains such as verses from lyrics and legal documents. Along the way, we introduce architectural modifications that result in a threefold gain in speed over the previous state of the art and solve spurious reliance on context far in the future. Finally, we introduce a variant of our model with fine-tuning on a diverse, multilingual mixture of sentence-segmented data, acting as a drop-in replacement and enhancement for existing segmentation tools. Overall, our contributions provide a universal approach for segmenting any text. Our method outperforms all baselines - including strong LLMs - across 8 corpora spanning diverse domains and languages, especially in practically relevant situations where text is poorly formatted. Our models and code, including documentation, are available at https://huggingface.co/segment-any-text under the MIT license.
[ 0.08965952694416046, -0.944600522518158, 0.7707351446151733, 0.47962287068367004, -0.5808874368667603, -0.1694360375404358, -0.047301050275564194, -0.45066606998443604, 0.15883688628673553, 0.6675161719322205, -0.7048758864402771, -0.7005019783973694, -0.4126451909542084, 0.270659863948822, -0.5381875038146973, 0.8743226528167725, 0.24186229705810547, -0.10257554799318314, -0.271262526512146, -0.3598870038986206, -0.48134845495224, -0.7072587609291077, -0.32300612330436707, -0.001739980187267065, 0.24783951044082642, 0.3920746147632599, 0.39931240677833557, 1.1266388893127441, 0.38293346762657166, 0.2815699875354767, -0.27339357137680054, 0.2655990719795227, -0.12021857500076294, 0.4312898814678192, -0.09271670877933502, -0.38342854380607605, -0.02549040876328945, -0.0028407813515514135, 0.7205471992492676, 0.9701772332191467, -0.12370449304580688, -0.3315187990665436, -0.2502893805503845, 0.533480167388916, -0.732272744178772, -0.37562277913093567, -0.9583700299263, 0.010265160351991653, -0.2647431790828705, -0.18341414630413055, -0.5382237434387207, -0.4596445560455322, 0.2416166216135025, -0.8967060446739197, -0.10963395237922668, 0.3966502249240875, 1.1254823207855225, 0.42459988594055176, -0.25482282042503357, -0.27401646971702576, -0.2911037802696228, 0.7649893164634705, -0.26010456681251526, 0.44108590483665466, 0.002806528238579631, -0.18436014652252197, 0.04833341762423515, -0.8826770782470703, -0.08595648407936096, -0.12051355838775635, 0.1431538164615631, -0.016712013632059097, -0.1459624469280243, -0.15221399068832397, 0.10059873759746552, 0.23466219007968903, -0.6095203161239624, 0.06529561430215836, 0.11607835441827774, -0.22200708091259003, 0.238674134016037, 0.2262590080499649, 0.7088006734848022, -0.2860502600669861, -0.6169956922531128, 0.19313347339630127, -0.7174960970878601, 0.08511769026517868, 0.2327536791563034, 0.416721910238266, -0.08340489864349365, 0.447087824344635, 0.21388909220695496, 0.9249327182769775, -0.2347833216190338, -0.2058810293674469, -0.12288541346788406, -0.33941736817359924, -0.3000865876674652, -0.0687902644276619, 0.7504314184188843, -0.08970118314027786, 0.5043832659721375, -0.12982746958732605, 0.13332371413707733, 0.06622924655675888, 0.36852753162384033, -0.6901416778564453, -0.40684670209884644, -0.24122582376003265, -0.34566137194633484, -0.0956946462392807, 0.08762305974960327, -0.5037007331848145, -0.37305137515068054, -0.2977965474128723, 0.04269813746213913, -1.0652565956115723, 0.27082058787345886, 0.40492865443229675, 0.011835510842502117, 0.21771596372127533, 0.20136144757270813, -0.7192519903182983, 0.2579391300678253, 0.6930752992630005, 1.000815987586975, -0.4642902910709381, -0.4435828924179077, -0.6222820281982422, 0.15487965941429138, -0.0892508402466774, 1.2164359092712402, -0.8435981869697571, -0.3333272933959961, 0.1297982633113861, 0.022180764004588127, -0.686668336391449, -0.4709877371788025, 1.072445273399353, -0.2653116285800934, 0.2631485164165497, -0.11442381143569946, -0.8927270174026489, -0.02595442906022072, 0.3096238076686859, -0.4831075668334961, 0.6891043782234192, -0.03311270847916603, -0.8099943995475769, 0.3624465763568878, -0.915848970413208, -0.703393816947937, 0.020459884777665138, 0.024308443069458008, -0.5919331312179565, 0.03105444274842739, 0.5947332978248596, 0.12590236961841583, 0.021566735580563545, -0.026265360414981842, -0.32066842913627625, -0.2213325798511505, 0.29213792085647583, -0.2315630167722702, 1.0776677131652832, 0.14989498257637024, 0.16220428049564362, 0.44664862751960754, -1.1694222688674927, 0.1918926239013672, 0.07109421491622925, -0.2583998739719391, -0.45226046442985535, 0.11051337420940399, 0.6145740747451782, -0.3283717930316925, 0.05065518990159035, -0.5118326544761658, 0.18656954169273376, -0.5047286152839661, 0.6410791873931885, 0.648492693901062, 0.262451171875, 0.6255137324333191, -0.09316498786211014, 0.6188727617263794, -0.20366773009300232, 0.16024579107761383, -0.7550832033157349, -0.13045556843280792, -0.7931944131851196, -0.8048376441001892, 0.5903188586235046, 0.5559267401695251, -0.36692535877227783, 0.8652539849281311, -0.15319231152534485, -0.06898454576730728, -0.37641745805740356, -0.049643661826848984, 0.14082767069339752, 0.37133562564849854, 0.2666631042957306, -0.09200304001569748, -0.9749106764793396, -0.6265267729759216, -0.5054706335067749, -0.12751707434654236, 0.05710744857788086, -0.03651188686490059, 0.35681265592575073, 0.00644207838922739, 1.0506714582443237, -0.7786765694618225, -0.4244658350944519, -0.5231368541717529, -0.1328708976507187, -0.10408198088407516, 0.4751887321472168, 0.3806014060974121, -0.6958640813827515, -0.447460800409317, -0.21814794838428497, -0.5381975173950195, -0.305254727602005, -0.25426429510116577, -0.31495556235313416, -0.12358827888965607, 0.628778338432312, -0.47083672881126404, 0.2614433467388153, 0.13850712776184082, -0.6396003365516663, 0.5203938484191895, -0.15922795236110687, -0.2701748311519623, -1.0341987609863281, 0.12789286673069, -0.04938570410013199, -0.5072760581970215, -0.5968763828277588, 0.17037296295166016, -0.04581586271524429, -0.22491297125816345, -0.3480800986289978, 0.2779371738433838, -0.27767708897590637, 0.13999634981155396, -0.30161336064338684, 0.2470661997795105, 0.2867997884750366, 0.03595002368092537, -0.01293445285409689, 0.8022809624671936, 0.3729588985443115, -0.4709358215332031, -0.2746015787124634, 0.7847638130187988, -0.6041290163993835, 0.8663780689239502, -0.6077640652656555, -0.01270502433180809, 0.04348359629511833, 0.13365621864795685, -0.5443043112754822, -0.19363215565681458, 0.2884921133518219, -0.31349706649780273, -0.15448890626430511, 0.10025034099817276, -0.1600465029478073, 0.28604450821876526, -0.08005423098802567, 0.17786036431789398, 0.31593090295791626, -0.45202451944351196, 0.5083453059196472, 0.38875216245651245, -0.16194526851177216, -0.21486690640449524, -0.4530457854270935, 0.11968844383955002, -0.16701099276542664, -0.7852606773376465, 0.5149489045143127, -0.12473811209201813, -0.1224016472697258, -0.0888691321015358, -0.27578359842300415, -0.5383171439170837, 0.35035577416419983, 0.18331940472126007, 0.18687795102596283, -0.1538081020116806, -0.12744610011577606, -0.015839209780097008, -0.15268461406230927, -0.1817902773618698, -0.48794808983802795, 0.526573657989502, 0.04833759739995003, -0.21713875234127045, -0.3951280415058136, 0.5689699649810791, 0.31410643458366394, -0.3994958698749542, 0.3812220096588135, 0.3430889844894409, -0.19814901053905487, -0.5016824007034302, -0.30100947618484497, 0.29948270320892334, -0.3835006654262543, 0.27771902084350586, -0.3554765284061432, -1.1956818103790283, 0.17691439390182495, -0.022962581366300583, -0.16978298127651215, 0.21033993363380432, 0.16302140057086945, -0.08920791745185852, 0.6476581692695618, 1.2292885780334473, 0.017129097133874893, 0.6574918627738953, 0.3364720940589905, 0.3625844120979309, -0.6875296235084534, -0.11351267993450165, -0.9004378318786621, 0.15534618496894836, -0.25175750255584717, -0.0900416150689125, 0.19235850870609283, 0.1659790724515915, -0.16988584399223328, 0.371037095785141, -0.5455980896949768, 0.8515439629554749, 0.4816964566707611, -0.13531333208084106, 0.3800862431526184, 0.025220796465873718, -0.27958083152770996, -0.1866408884525299, -0.7055720090866089, -0.4494578540325165, 0.6214310526847839, 0.03848147392272949, 0.3673146069049835, -0.5268262028694153, 0.48337316513061523, 0.2598211467266083, 0.048926498740911484, -0.7174394726753235, 0.46256184577941895, -0.46818727254867554, -0.5200979709625244, -0.10537680238485336, -0.38698452711105347, -0.997851550579071, 0.45500287413597107, -0.12808968126773834, -1.029115915298462, 0.043123215436935425, -0.3130103051662445, -0.6222689747810364, 0.36713874340057373, -0.590138852596283, 1.0855809450149536, 0.012013633735477924, 0.22318001091480255, 0.48267292976379395, -0.6699617505073547, 0.07695264369249344, -0.16933053731918335, 0.16641558706760406, -0.400390625, -0.16417726874351501, 0.8016653060913086, -0.47303032875061035, 0.47711238265037537, 0.03582090511918068, 0.1549103558063507, 0.3201278746128082, -0.14067937433719635, 0.12323786318302155, -0.015406059101223946, 0.13851408660411835, -0.20613683760166168, 0.2907136082649231, -0.3899659514427185, -0.3929053246974945, 0.4742478132247925, -0.6263453960418701, -0.13232551515102386, -0.4305717647075653, -0.6904133558273315, -0.2838764488697052, 0.35717931389808655, 0.3282037675380707, 0.11431414633989334, -0.596193790435791, 0.3577615022659302, 0.45889171957969666, -0.08332052081823349, 0.6423991322517395, 0.5449444055557251, -0.08821643888950348, -0.6868844628334045, 0.7182549834251404, -0.3177238404750824, -0.35661303997039795, 0.574207067489624, 0.025673361495137215, -0.4324013888835907, -0.5826619267463684, -0.2308029979467392, 0.06900624930858612, -0.539718747138977, -0.10061214864253998, -0.7827265858650208, -0.1454344540834427, -0.2243015468120575, -0.44709712266921997, -0.32716137170791626, -0.36384594440460205, -0.5153347253799438, -0.006479526869952679, 0.0454661101102829, 0.42031243443489075, 0.17356988787651062, 0.7452623248100281, -0.7412796020507812, 0.17421063780784607, -0.1922437995672226, 0.22358642518520355, -0.6199358701705933, -0.45803597569465637, -0.11137794703245163, -0.5117478966712952, -0.44744738936424255, -0.7187788486480713, 0.2425975203514099, 0.5427199006080627, 0.15148623287677765, 0.5509452223777771, 0.046964388340711594, 0.6091329455375671, -0.6740643978118896, 0.7687112092971802, 0.46371594071388245, -1.2397023439407349, 0.43137314915657043, -0.3553277850151062, 0.3945593535900116, 0.9558558464050293, 0.17761674523353577, -0.685448408126831, -0.09520593285560608, -0.36439192295074463, -0.8723391890525818, 0.6064082980155945, 0.3899368643760681, -0.05523799732327461, 0.008203725330531597, 0.5152955055236816, 0.3202511668205261, -0.029143063351511955, -0.9398003816604614, -0.11995287984609604, -0.07154479622840881, -0.2680862545967102, 0.1524040251970291, -0.09757544100284576, -0.011846357956528664, -0.045756809413433075, 0.5444909334182739, -0.03584009036421776, -0.18731309473514557, 0.22696110606193542, -0.4681323766708374, 0.2665257155895233, 0.5732455849647522, 0.33115917444229126, 0.7662304639816284, -0.10513948649168015, -0.01673293113708496, -0.23298439383506775, -0.5430856943130493, 0.4237430989742279, 0.2384599894285202, -0.7642541527748108, 0.15829947590827942, 0.38668063282966614, 0.7446470856666565, 0.2822991907596588, -0.5551632642745972, 0.5192223787307739, -0.0820004791021347, -0.3446257412433624, -0.12527817487716675, 0.003479225328192115, -0.2720837891101837, 0.0323587991297245, 0.16788487136363983, 0.3456871211528778, -0.11316318809986115, -0.5073674917221069, 0.3919171988964081, 0.14772562682628632, -0.6086678504943848, -0.3000103533267975, 0.753675639629364, 0.3081343173980713, -0.40370795130729675, 0.44852256774902344, -0.09863196313381195, -0.5899721384048462, 0.256511926651001, 0.6339491605758667, 1.073094367980957, -0.07679123431444168, 0.5137040615081787, -0.024251241236925125, 0.3937687575817108, 0.09935294091701508, 0.2406984567642212, 0.07133245468139648, -0.7359517812728882, -0.750215470790863, -0.8268859386444092, -0.29729989171028137, 0.0002778334601316601, -0.5311214923858643, -0.09043451398611069, -0.6677963733673096, 0.03134893998503685, 0.12560905516147614, -0.2719915211200714, -0.3750215470790863, 0.530664324760437, 0.11890850961208344, 0.9843098521232605, -0.9129153490066528, 0.7174020409584045, 0.9961509108543396, -0.39275166392326355, -0.44243380427360535, 0.21075281500816345, -0.3690878450870514, -0.7282278537750244, -0.03228438273072243, 0.3722044825553894, 0.12168606370687485, -0.19643281400203705, -0.759086549282074, -0.7226368188858032, 0.5279990434646606, 0.49980396032333374, -0.33021727204322815, -0.24887028336524963, 0.317401260137558, 0.3994556963443756, -0.7527716159820557, -0.04474331811070442, 0.9438915252685547, 0.4752714931964874, -0.030644813552498817, -0.314618319272995, 0.07415556907653809, -0.14470747113227844, 0.3035058081150055, 0.12705278396606445, -0.3954530656337738, 0.4581190049648285, 0.08334784209728241, -0.35462021827697754, 0.6953098773956299, 0.7081445455551147, 0.02617761678993702, 0.2558031976222992, 0.8133240342140198, 0.736152708530426, 1.012851357460022, -0.47195303440093994, 0.9525690674781799, -0.3755190670490265, -0.059211261570453644, 0.9685814380645752, -0.36409223079681396, 0.6719448566436768, 0.46413061022758484, -0.11228916794061661, 0.5939658284187317, 0.5291063189506531, -0.09551182389259338, 0.5147755146026611, 0.11729003489017487, -0.10113396495580673, -0.6504470705986023, -0.44148215651512146, -0.19524163007736206, 0.7696731090545654, -0.08170092850923538, -0.12476098537445068, -0.10995949059724808, 0.06552664190530777, 0.19568751752376556, 0.542977511882782, -0.10272476822137833, 0.7493312954902649, 0.16621097922325134, -0.7015390396118164, 0.2580951452255249, 0.18251682817935944, 0.605936586856842, -0.8759660720825195, 0.38176798820495605, -0.20650172233581543, 0.09159679710865021, -0.15891329944133759, -0.2662629783153534, 0.35486212372779846, 0.17297004163265228, -0.22557087242603302, -0.013901111669838428, 0.7526066899299622, -0.2719188928604126, -0.45414894819259644, 0.11606106162071228, 0.5992457270622253, -0.08856917917728424, -0.40931618213653564, -0.7617826461791992, 0.4299805164337158, 0.39319565892219543, 0.11618096381425858, 0.28237247467041016, 0.5624681115150452, 0.34633901715278625, 0.5322619080543518, 0.6285219192504883, 0.0667540580034256, -0.020003611221909523, 0.2694128155708313, 0.7982490658760071, -0.8010425567626953, -0.8054448366165161, -0.7484310269355774, 0.5593022704124451, -0.24851736426353455, -0.6913787126541138, 0.6877837181091309, 0.6866375207901001, 0.550263524055481, 0.1683681607246399, 0.7395129799842834, 0.07959722727537155, 0.42460504174232483, -0.49017491936683655, 0.5197400450706482, -0.5296606421470642, 0.08363281190395355, -0.32961466908454895, -1.2112832069396973, -0.7239359617233276, 0.6364669799804688, -0.2533206343650818, -0.29837316274642944, 1.1149952411651611, 0.1761360764503479, -0.048855237662792206, 0.3599596321582794, 0.3690989911556244, 0.011059518903493881, 0.25299715995788574, 0.2058694213628769, 0.819836437702179, -0.2015174925327301, 0.981453537940979, 0.015678679570555687, -0.07203000783920288, 0.18696752190589905, -0.864791989326477, -0.7027247548103333, -0.2787802517414093, -0.40037745237350464, -0.05421316623687744, 0.29502126574516296, 0.7963487505912781, 0.856934130191803, -0.712156355381012, -0.12856820225715637, -0.18200597167015076, 0.18607521057128906, 0.018433229997754097, -0.183420792222023, 0.4439971446990967, -0.8499117493629456, -0.5209303498268127, 0.8661631941795349, 0.640199601650238, -0.17589005827903748, 0.30749449133872986, 0.2294049859046936, -0.4098285138607025, 0.3594614267349243, 0.5566348433494568, 0.33819928765296936, -0.39575624465942383, -0.24388104677200317, 0.07947047799825668, 0.19579535722732544, 0.5073773860931396, 1.0735877752304077, -0.1663791835308075, 0.2227572649717331, 0.050404686480760574, 0.8612324595451355, 0.32545843720436096, 0.35595524311065674, 0.4196680784225464, -0.9248221516609192, 0.18369345366954803, 0.3720386028289795, 0.5845242738723755, 0.5590982437133789, 0.16161216795444489, 0.4596426784992218, 0.4080250859260559, -0.6668311953544617, -0.7236678004264832, 0.4240041971206665, -1.1465262174606323, -0.48931053280830383, 0.9741649627685547, -0.4588201940059662, -0.4154641330242157, -0.13898779451847076, -0.4173160791397095, -0.07322058081626892, -0.31923380494117737, 0.5165343880653381, 0.49409013986587524, 0.061535317450761795, 0.00857385341078043, 0.2738993167877197, 0.43683308362960815, 0.7998093366622925, -1.1641758680343628, -0.009807156398892403, 0.6755552291870117, 0.3588401973247528, 0.00642806151881814, 0.6124374270439148, -0.11615313589572906, -0.00968173984438181, 0.04468020051717758, -0.13891085982322693, 0.07664090394973755, -0.5412759184837341, -0.3603401780128479, 0.6912857890129089, -0.19585026800632477, -0.2068994790315628 ]
http://arxiv.org/abs/2406.16674v1
http://arxiv.org/pdf/2406.16674v1
Computational Approaches to the Detection of Lesser-Known Rhetorical Figures: A Systematic Survey and Research Challenges
2024-06-24T14:31:34
2024-06-24T14:31:34
Ramona Kühn, Jelena Mitrović, Michael Granitzer
cs.CL
cs.CL
Rhetorical figures play a major role in our everyday communication as they make text more interesting, more memorable, or more persuasive. Therefore, it is important to computationally detect rhetorical figures to fully understand the meaning of a text. We provide a comprehensive overview of computational approaches to lesser-known rhetorical figures. We explore the linguistic and computational perspectives on rhetorical figures, emphasizing their significance for the domain of Natural Language Processing. We present different figures in detail, delving into datasets, definitions, rhetorical functions, and detection approaches. We identified challenges such as dataset scarcity, language limitations, and reliance on rule-based methods.
[ -0.7143539190292358, -0.901145875453949, 0.6286747455596924, 0.032573800534009933, -0.3842194080352783, 0.26401087641716003, -0.11488134413957596, -0.7757940888404846, 0.3354048728942871, 0.4146394729614258, -0.6889024972915649, -0.25304561853408813, -0.7638845443725586, 0.33214449882507324, -0.2465457022190094, 0.3083220422267914, 0.26908785104751587, 0.02104811742901802, -0.27617165446281433, -0.08958924561738968, -0.3138009011745453, -0.5873165726661682, -0.7001848816871643, -0.27964890003204346, 0.5147234797477722, 0.27900081872940063, 0.6252048015594482, 0.7006215453147888, 0.6271253824234009, 0.3143473267555237, -0.24822601675987244, -0.008670072071254253, -0.42564302682876587, 0.3804190158843994, -0.2819763422012329, -0.39489638805389404, 0.22061344981193542, -0.05331377312541008, 0.6668369770050049, 0.967594563961029, 0.1547686904668808, -0.11048071086406708, -0.24081160128116608, 0.736427366733551, -0.5509619116783142, 0.2128346860408783, -0.56554114818573, 0.11868076771497726, -0.7807626128196716, -0.27814579010009766, -0.5737969875335693, -0.6489121913909912, 0.0917452722787857, -0.5555095076560974, 0.28704318404197693, 0.14069944620132446, 0.5375131964683533, 0.08114540576934814, -0.48493248224258423, -0.5255529880523682, -0.7204961180686951, 0.8933188915252686, -0.42875975370407104, 0.06164058670401573, 0.3773461580276489, 0.48034265637397766, -0.2673480808734894, -0.762127161026001, -0.3624010682106018, -0.1772296279668808, -0.36372309923171997, -0.2273711860179901, -0.8045808672904968, -0.007540115155279636, 0.4471651017665863, 0.2939265966415405, -0.7150890827178955, 0.06474807858467102, -0.26160481572151184, -0.396548330783844, 0.5039483308792114, 0.14464904367923737, 0.5413224101066589, -0.4414670467376709, 0.09244485199451447, -0.10285750776529312, -0.77744460105896, -0.1471536010503769, 0.3350616991519928, 0.2700498402118683, -0.07895789295434952, 0.5027117133140564, -0.22082006931304932, 0.7909538745880127, -0.02526148594915867, 0.2584535479545593, -0.21010498702526093, -0.1776055544614792, 0.08985985070466995, 0.09757594764232635, 0.670151948928833, -0.30113932490348816, 0.523262083530426, 0.327099472284317, 0.12483412027359009, 0.02392026223242283, 0.11764989048242569, -0.6408339142799377, -0.39792200922966003, -0.236395463347435, -0.5411093235015869, -0.1784387081861496, -0.27860039472579956, -0.6540822386741638, -0.981752872467041, -0.38794630765914917, -0.28931140899658203, -0.41076144576072693, -0.20412752032279968, -0.23670004308223724, -0.26280760765075684, 0.1732652634382248, 0.4302554130554199, -0.6203490495681763, 0.35787609219551086, 0.8853310942649841, 0.6975953578948975, -0.025965586304664612, 0.10474273562431335, -0.3466726839542389, -0.07833059132099152, -0.5357182621955872, 1.5125662088394165, -1.1288912296295166, -0.29013699293136597, 0.15499669313430786, -0.10452244430780411, -0.13551995158195496, -0.5691696405410767, 0.9711344838142395, -0.3623853027820587, 0.2078486531972885, -0.6320359706878662, -0.7026432156562805, -0.27561867237091064, 0.260665625333786, -1.0113815069198608, 0.8207699060440063, 0.13170099258422852, -1.0113831758499146, -0.0675746500492096, -0.7023108601570129, -0.5939452648162842, 0.2737285792827606, -0.48395800590515137, 0.014588039368391037, 0.5360578298568726, 0.10313721746206284, 0.38234829902648926, -0.6018234491348267, 0.07461997866630554, -0.05279967561364174, -0.26616546511650085, 0.5518691539764404, -0.49586623907089233, 0.769638180732727, 0.3080030083656311, -0.23543700575828552, -0.050528038293123245, -0.6484264135360718, -0.05860123783349991, 0.28451964259147644, 0.2867480516433716, -0.4757128953933716, 0.17166678607463837, 0.28437402844429016, -0.13062553107738495, 0.09348299354314804, -0.33481743931770325, 0.05803891643881798, -0.5832953453063965, 0.5055911540985107, 0.4176322817802429, 0.2853289246559143, 0.1748642921447754, -0.48962491750717163, 0.8205780982971191, -0.3939533233642578, -0.24815838038921356, -0.32495537400245667, -0.9026614427566528, -0.2530570328235626, -0.40272024273872375, 0.5086715817451477, 0.4654260575771332, -0.8383967280387878, 0.0022423944901674986, -0.10022083669900894, -0.6185337901115417, -0.03182261437177658, -0.3602624833583832, 0.25699514150619507, 0.49096807837486267, -0.02139066345989704, 0.01006912998855114, -0.6674292683601379, -1.131035327911377, -0.5017206072807312, -0.11430925875902176, 0.0138207683339715, 0.16419053077697754, 0.587400496006012, 0.4076377749443054, 0.9500200748443604, -0.6907892823219299, -0.1239306777715683, -0.18047812581062317, 0.7029092311859131, 0.051871784031391144, 0.301069974899292, 0.8825260400772095, -0.8322532176971436, -0.5772579312324524, 0.03961769491434097, -0.575232744216919, -0.21083694696426392, -0.11072967201471329, 0.1508348137140274, -0.11771135777235031, 0.6112561821937561, -0.7193375825881958, 0.5233943462371826, 0.03943019360303879, 0.059798598289489746, 0.5143624544143677, 0.12280154973268509, 0.4292161166667938, -0.5657119750976562, 0.02698344923555851, 0.1458093374967575, -0.0045464178547263145, -0.9524688720703125, 0.0823376327753067, -0.17734648287296295, -0.046933479607105255, -0.4186161160469055, 0.3825814723968506, -0.4455668330192566, -0.03499612957239151, -0.46082934737205505, 0.2817738950252533, -0.04550081491470337, 0.17355364561080933, 0.28906765580177307, 0.6456477046012878, 0.5623781681060791, -0.4307496249675751, 0.24272574484348297, -0.09292925149202347, -0.40325215458869934, 1.1469035148620605, -0.6592903137207031, 0.2848566770553589, -0.3137529790401459, 0.3213774859905243, -1.2892733812332153, -0.402538537979126, 0.690162181854248, -0.49999183416366577, 0.19197800755500793, -0.37347832322120667, -0.5528221130371094, -0.1555931270122528, -0.4813673496246338, 0.705467700958252, 0.21609829366207123, -0.25202131271362305, 0.41468945145606995, 0.7345632910728455, -0.4264254570007324, -0.2987304627895355, -0.6433375477790833, 0.21221096813678741, -0.23342853784561157, -0.48840567469596863, 0.37344637513160706, 0.047219567000865936, -0.6137216091156006, -0.1808852255344391, 0.11469168961048126, -0.236707866191864, -0.22702759504318237, 0.12993371486663818, -0.08303409814834595, -0.2750554382801056, 0.11216025799512863, 0.02312960848212242, -0.1442278027534485, 0.10023099929094315, -0.17342860996723175, 0.4592168629169464, 0.033312246203422546, -0.5114161372184753, -0.512641191482544, 0.6434342861175537, 0.4145362675189972, 0.14503569900989532, 0.2990228533744812, 0.4126068651676178, -1.0032124519348145, 0.10148805379867554, -0.38436055183410645, -0.09856479614973068, -0.48123621940612793, 0.03906213119626045, -0.21684762835502625, -0.6807528138160706, 0.42511749267578125, -0.1382848471403122, -0.25221335887908936, 0.67812579870224, 0.3927345871925354, -0.20050202310085297, 0.8376929759979248, 0.34934502840042114, -0.03893117234110832, 0.35342469811439514, 0.010328970849514008, 0.26054930686950684, -0.3906228542327881, -0.1083798035979271, -1.2222477197647095, -0.3135303854942322, -0.5413402318954468, -0.572441577911377, 0.041225116699934006, -0.40351009368896484, 0.0013917469186708331, 0.2344011664390564, -0.9434075951576233, 0.6559228301048279, 0.13015617430210114, -0.39174702763557434, 0.27230751514434814, 0.3122008442878723, -0.04892444610595703, -0.528999924659729, -0.43446412682533264, -0.6052137613296509, 0.5729692578315735, 0.1982984095811844, 0.4105680584907532, 0.04958048835396767, 0.37759914994239807, 0.6342419385910034, 0.14432722330093384, -1.0541973114013672, 0.6046250462532043, 0.05784571170806885, -0.6657213568687439, -0.1347270905971527, -0.471848726272583, -1.368654727935791, 0.20410020649433136, 0.009325231425464153, -1.0082688331604004, 0.2721550464630127, 0.05737774819135666, -0.03031635284423828, 0.1598328799009323, -0.452471524477005, 0.6062499284744263, -0.1807195544242859, -0.031793754547834396, -0.2686026990413666, -0.4103167951107025, 0.1916305273771286, 0.2024344950914383, 0.685644268989563, -0.060919083654880524, -0.04434895142912865, 0.8563476800918579, -0.0306797306984663, 0.8950595259666443, -0.12083292007446289, -0.19942861795425415, 0.74946528673172, 0.15354178845882416, 0.5793567299842834, -0.20853208005428314, 0.048370927572250366, 0.08020748198032379, 0.11433607339859009, -0.5121455788612366, -0.4621567130088806, 0.6859909892082214, -0.29187101125717163, -0.27677685022354126, -0.7399951815605164, -0.3237346410751343, -0.24646374583244324, 0.06836190819740295, 0.47857680916786194, 0.36422842741012573, -0.5409806370735168, 0.06978704780340195, 0.6581437587738037, -0.054016564041376114, 0.33368054032325745, 0.10263442993164062, -0.03978264704346657, -0.4424930810928345, 1.0770931243896484, 0.15745195746421814, -0.14502109587192535, 0.7356882691383362, 0.27888354659080505, -0.4222877323627472, -0.8732866048812866, -0.200050950050354, 0.29092004895210266, -0.9012644290924072, 0.07512512803077698, -0.208574578166008, -0.03349628672003746, -0.31755948066711426, -0.19106587767601013, -0.17068541049957275, -0.7196882963180542, -0.6080387234687805, 0.1443561613559723, 0.4995196461677551, 1.0909723043441772, -0.0791378915309906, 0.36601078510284424, -0.30043432116508484, 0.38180699944496155, 0.14725559949874878, 0.19678045809268951, -0.05617714673280716, -0.2971359193325043, 0.23173308372497559, 0.15794993937015533, -0.16099819540977478, -1.1559197902679443, 0.2861160933971405, 0.12256690859794617, 0.5106047987937927, 0.38670045137405396, 0.09912066161632538, 0.5359911918640137, -0.31735488772392273, 0.8268556594848633, 0.1568610668182373, -0.7330315113067627, 0.5856794714927673, -0.681316077709198, 0.3522133529186249, 0.6047680377960205, 0.5830552577972412, -0.6125658750534058, 0.029755862429738045, -0.5346260666847229, -0.47084951400756836, 0.6015130281448364, 0.5366637110710144, -0.08280762284994125, 0.060452934354543686, 0.28056851029396057, 0.0003187225665897131, 0.11320590227842331, -0.36393359303474426, -0.27431562542915344, -0.0016693576471880078, -0.18253283202648163, 0.03167049214243889, 0.09992852061986923, -0.17855669558048248, -0.28943106532096863, 0.40846553444862366, -0.2830080986022949, 0.22150814533233643, 0.03338347002863884, -0.17958955466747284, -0.04583507031202316, 0.4057772159576416, 1.1472452878952026, 0.641867995262146, 0.10319985449314117, 0.29442036151885986, -0.028820935636758804, -0.688819944858551, -0.12126503139734268, 0.18144014477729797, -0.15632683038711548, 0.25646257400512695, 0.39145833253860474, 0.4265551269054413, 0.5120610594749451, -0.756467878818512, 0.230087548494339, -0.27460724115371704, -0.12378675490617752, -0.48838865756988525, -0.44202476739883423, 0.28707581758499146, 0.06788823008537292, 0.6549583077430725, 0.37147462368011475, 0.41307973861694336, -0.6245946884155273, 0.15051697194576263, 0.6578776240348816, -0.35430216789245605, -0.41589829325675964, 0.20122197270393372, -0.06475833803415298, -0.5354377627372742, -0.003910937812179327, -0.37745168805122375, -0.6038509011268616, 0.876599907875061, 0.4197368919849396, 0.5813060402870178, 0.2117985337972641, 0.6547583341598511, 0.08395599573850632, 0.2823949158191681, 0.030791977420449257, 0.1261136829853058, -0.06170301139354706, -0.31077003479003906, -0.15638454258441925, -0.1433471143245697, -0.856167197227478, 0.2884135842323303, -0.4612133502960205, 0.14940202236175537, -0.5980508327484131, -0.18713806569576263, 0.6432536840438843, 0.014041289687156677, -0.4163711965084076, -0.19381074607372284, 0.5033106207847595, 0.6127970814704895, -0.5038573741912842, 0.3527541756629944, 0.8076876997947693, -0.06255268305540085, -0.38204994797706604, -0.17342109978199005, 0.5213142037391663, -0.43522220849990845, 0.4277503192424774, -0.04630599543452263, -0.519228458404541, -0.19291308522224426, -0.7740398049354553, -0.7537347674369812, 0.4376012086868286, 0.7336681485176086, -0.3172667920589447, 0.1878959834575653, 0.3901445269584656, 0.6972394585609436, -0.5400519371032715, 0.5645707845687866, 0.5610697865486145, 0.7858192920684814, 0.4716304540634155, -0.5814319849014282, 0.058058690279722214, -0.31130632758140564, -0.09655412286520004, 0.2342718094587326, -0.28129908442497253, 0.9449441432952881, 0.21797551214694977, -0.5008029341697693, 0.19573815166950226, 0.609982967376709, 0.5835664868354797, 0.7095506191253662, 0.2313414067029953, 0.05153902992606163, 0.9575985074043274, -0.24815979599952698, 0.8088646531105042, 0.01309543289244175, 0.3082178235054016, 0.9385504722595215, -0.2650563716888428, 0.641700804233551, 0.251391738653183, -0.3296523690223694, 0.5869707465171814, 0.7805378437042236, 0.07683233916759491, 0.11938068270683289, 0.5114816427230835, -0.2105576992034912, -0.2874637544155121, -0.4007418751716614, -0.5579397678375244, 0.45738905668258667, 0.767669677734375, -0.13267682492733002, -0.4381351172924042, 0.02080666646361351, -0.05542818456888199, 0.5892269611358643, -0.23504868149757385, 0.4661279022693634, 0.10223577171564102, -0.5844599604606628, 0.737423300743103, -0.07323988527059555, 0.6035656332969666, -0.3939230144023895, -0.40391257405281067, 0.2049098163843155, -0.1896035522222519, -0.10846824944019318, -0.6845338344573975, 0.4258371591567993, 0.015322519466280937, 0.05523902550339699, -0.2683216631412506, 1.445913553237915, 0.09376844018697739, -0.5386829972267151, -0.14757530391216278, 0.4652199447154999, 0.26235148310661316, -0.36156970262527466, -0.6207032203674316, 0.2274363785982132, -0.16201278567314148, -0.02030712552368641, 0.32670703530311584, 0.47759443521499634, -0.040448471903800964, 0.5877890586853027, 0.4381033182144165, -0.07142075151205063, 0.07493613660335541, 0.0396200567483902, 0.6647337675094604, -0.745195746421814, -0.42134156823158264, -0.6517112255096436, 0.08035477995872498, -0.3247900903224945, -0.2730165421962738, 0.555708646774292, 0.4165194630622864, 0.45322325825691223, -0.28447088599205017, 0.8002599477767944, -0.07874730229377747, 0.5486993193626404, -0.3644094169139862, 0.8736823201179504, -0.2094058096408844, 0.28644710779190063, -0.38547810912132263, -0.48917606472969055, -0.3171643614768982, 0.7654773592948914, -0.5085477828979492, -0.07081185281276703, 0.6999504566192627, 0.44188910722732544, 0.0720878317952156, 0.7727034687995911, 0.13462182879447937, -0.06978393346071243, 0.1484936624765396, 0.34238019585609436, 1.3219670057296753, -0.2786751687526703, 0.591334879398346, -0.384662002325058, 0.09192337840795517, -0.18408334255218506, -0.9958160519599915, -0.9353352189064026, -0.8714945316314697, -0.6591275334358215, 0.3174131512641907, -0.3145482838153839, 0.7083315253257751, 0.6908731460571289, -0.9504094123840332, -0.2143428921699524, -0.2666996717453003, 0.6538429260253906, -0.1704111248254776, -0.2775150537490845, 0.1908155232667923, -0.019407974556088448, -0.6169245839118958, 0.5654566884040833, 0.3786257207393646, 0.06373287737369537, -0.10385707765817642, 0.25827378034591675, -0.4217182397842407, 0.5781014561653137, 0.5574632287025452, 0.7534832954406738, -0.6544522643089294, -0.3711531162261963, -0.06667472422122955, -0.04426179826259613, 0.20586195588111877, 1.5132025480270386, -0.941898763179779, 0.06281480938196182, 0.8306966423988342, 0.41933968663215637, 0.3719955384731293, 0.002646286739036441, 0.0934549868106842, -0.7402369976043701, 0.0928955078125, 0.681257963180542, 0.29694414138793945, 0.41123899817466736, -0.47336697578430176, 0.42631152272224426, 0.42541566491127014, -0.23121896386146545, -1.034104347229004, 0.5419561862945557, -1.2193939685821533, -0.3951846659183502, 0.5967288017272949, 0.12959162890911102, -0.2448635995388031, -0.5371192097663879, -0.4392699599266052, -0.10761357843875885, -0.29581713676452637, 0.3723631799221039, 0.7735209465026855, -0.4954133927822113, -0.3816032111644745, -0.47004395723342896, 0.6505834460258484, 0.16224002838134766, -1.062535285949707, 0.09978586435317993, 0.679957926273346, 0.005117179360240698, 0.5103632807731628, 0.6529420614242554, 0.003170561045408249, 0.34172412753105164, 0.058356426656246185, -0.6247546672821045, 0.31049057841300964, -0.2058146893978119, -0.297016978263855, 0.7134708762168884, 0.09092588722705841, 0.19425831735134125 ]
http://arxiv.org/abs/2406.16672v1
http://arxiv.org/pdf/2406.16672v1
CAVE: Controllable Authorship Verification Explanations
2024-06-24T14:27:54
2024-06-24T14:27:54
Sahana Ramnath, Kartik Pandey, Elizabeth Boschee, Xiang Ren
cs.CL
cs.CL, cs.AI
Authorship Verification (AV) (do two documents have the same author?) is essential for many sensitive real-life applications. AV is often used in proprietary domains that require a private, offline model, making SOTA online models like ChatGPT undesirable. Other SOTA systems use methods, e.g. Siamese Networks, that are uninterpretable, and hence cannot be trusted in high-stakes applications. In this work, we take the first step to address the above challenges with our model CAVE (Controllable Authorship Verification Explanations): CAVE generates free-text AV explanations that are controlled to be 1) structured (can be decomposed into sub-explanations with respect to relevant linguistic features), and 2) easily verified for explanation-label consistency (via intermediate labels in sub-explanations). In this work, we train a Llama-3-8B as CAVE; since there are no human-written corpora for AV explanations, we sample silver-standard explanations from GPT-4-TURBO and distill them into a pretrained Llama-3-8B. Results on three difficult AV datasets IMdB2, Blog-Auth, and FanFiction show that CAVE generates high quality explanations (as measured by automatic and human evaluation) as well as competitive task accuracies.
[ 0.029316533356904984, -0.517035961151123, 0.6193861365318298, 0.26577913761138916, -0.3082043528556824, -0.02934730425477028, -0.11026035249233246, -0.5494329929351807, 0.05876091867685318, 0.6452355980873108, -0.6316515207290649, -0.3955901265144348, -0.8812746405601501, 0.40628865361213684, -0.18238499760627747, 1.206119179725647, -0.4776749014854431, -0.13837531208992004, -0.36558666825294495, -0.16526168584823608, -0.41705837845802307, -0.2766575813293457, -0.6883025169372559, -0.3475128710269928, 0.5422238707542419, 0.11641949415206909, 0.4649636447429657, 0.7627081274986267, 0.3412621021270752, 0.2271561324596405, 0.002959091914817691, 0.2643294036388397, -0.7271432876586914, 0.1282012015581131, -0.15675200521945953, -0.4645543098449707, -0.47448065876960754, -0.0774860605597496, 0.215001180768013, 0.2168555110692978, 0.043961066752672195, 0.12281088531017303, -0.13563278317451477, 0.3571433126926422, -0.5883215665817261, 0.32488200068473816, -0.4561270475387573, -0.03525950014591217, -0.11534740775823593, -0.41673046350479126, -0.5931287407875061, -0.5529837012290955, 0.003271980443969369, -0.9045181274414062, 0.24817213416099548, 0.04264660179615021, 0.8610827326774597, 0.5913979411125183, -0.46035876870155334, -0.5641977787017822, -0.7228858470916748, 0.623586118221283, -0.4076595902442932, -0.03623300418257713, 0.518788754940033, 0.40826427936553955, -0.02463122271001339, -0.7118558883666992, -0.6210882067680359, -0.07676307111978531, -0.33669474720954895, 0.10973124951124191, -0.08365566283464432, -0.06591980159282684, -0.05735073611140251, 0.19402246177196503, -0.560834527015686, 0.10223429650068283, -0.4126298129558563, -0.36639076471328735, 0.8145759105682373, -0.1410856544971466, 0.19064874947071075, 0.0961846113204956, -0.5322434902191162, 0.054461341351270676, -1.1881132125854492, 0.3038431406021118, 0.41857069730758667, 0.0855436846613884, -0.013931537047028542, 0.7669315934181213, 0.10136378556489944, 0.40215107798576355, 0.11277718842029572, 0.021522201597690582, -0.13960157334804535, -0.16675026714801788, -0.06171990931034088, 0.33536073565483093, 0.7080272436141968, -0.002598137827590108, 0.34504276514053345, -0.3229318857192993, -0.10558512806892395, -0.004775718320161104, 0.1270347535610199, -0.6457626819610596, -0.22586670517921448, 0.41834214329719543, -0.2131466418504715, -0.40886762738227844, 0.04007347673177719, -0.5054677724838257, -0.8242515325546265, -0.15352381765842438, 0.7977604866027832, -0.02981964871287346, -0.39768722653388977, 0.0496729277074337, 0.015398922376334667, 0.1348235160112381, 0.5530269742012024, -0.630033016204834, 0.2585897743701935, 0.6295093894004822, 0.615327000617981, -0.17299608886241913, -0.2675440311431885, -0.9248502850532532, 0.20037896931171417, -0.4503014385700226, 0.35322850942611694, -0.358174592256546, -0.017961395904421806, -0.14557482302188873, -0.1312873363494873, -0.027713991701602936, -0.2066454440355301, -0.026908252388238907, -0.7072736620903015, 0.2800987660884857, -0.2704298198223114, -0.42079129815101624, -0.253317654132843, 0.14990603923797607, -0.5298429727554321, 0.7063020467758179, -0.09463917464017868, -0.8716390132904053, 0.31591522693634033, -0.7144415378570557, -0.12658853828907013, 0.08944917470216751, -0.3867886960506439, -0.32979968190193176, -0.28679370880126953, 0.3727596402168274, 0.5371397733688354, -0.06369514018297195, 0.37469133734703064, 0.2237308770418167, -0.42271533608436584, 0.15969640016555786, 0.14972738921642303, 1.0343334674835205, 0.07865285128355026, -0.8189406394958496, 0.17681753635406494, -0.6414309144020081, -0.37622788548469543, 0.1926766037940979, -0.3058791160583496, -0.2817623019218445, -0.09457756578922272, -0.5314846038818359, -0.21382762491703033, 0.4462003707885742, -0.5851731300354004, 0.07120072841644287, 0.14594903588294983, 0.32262349128723145, 0.915788471698761, 0.04953089728951454, 0.11980099231004715, -0.19654515385627747, 0.8236235976219177, -0.11545824259519577, 0.05529993027448654, -0.19892849028110504, -0.697304368019104, -0.3423577845096588, -0.7407481670379639, 0.35085776448249817, 0.6575255393981934, -0.609029233455658, 0.1450059413909912, -0.2002173364162445, -0.4533190429210663, -0.5534306168556213, 0.17693288624286652, 0.7409818768501282, 0.4265224039554596, 0.3204611539840698, -0.18832609057426453, -0.36797231435775757, -0.6175052523612976, -0.46990248560905457, -0.08850618451833725, -0.30227130651474, 0.7177838087081909, 0.5081574320793152, -0.26926079392433167, 1.0728353261947632, -0.2437630593776703, -0.30788931250572205, -0.07042787969112396, 0.33837205171585083, 0.150096595287323, 0.46604418754577637, 0.3417779207229614, -0.9710711240768433, -0.30308058857917786, -0.022536946460604668, -1.0054295063018799, -0.27766403555870056, -0.22264587879180908, -0.14685556292533875, -0.15188096463680267, 0.7446789741516113, -0.713194727897644, 0.5195102095603943, 0.5332067608833313, -0.5304321646690369, 0.6362429261207581, -0.2576407790184021, 0.09699177742004395, -0.7759972810745239, 0.10145577788352966, -0.20106887817382812, -0.5668304562568665, -0.31356412172317505, 0.3657156825065613, -0.18816861510276794, 0.09239053726196289, -0.3806276321411133, 0.4860905706882477, -0.45567837357521057, 0.11192505061626434, 0.1413532793521881, 0.2904823124408722, -0.0029788988176733255, 0.7737677693367004, -0.12311328202486038, 0.6087786555290222, 0.7125219702720642, -0.6106640696525574, 0.3452723026275635, 0.3823159635066986, -0.2143493890762329, 0.3305763900279999, -0.9184442758560181, 0.39185798168182373, -0.33364203572273254, 0.5999365448951721, -1.2045156955718994, -0.48922762274742126, 0.2402370572090149, -0.5443359017372131, 0.2624239921569824, -0.36949634552001953, -0.39306142926216125, 0.19542196393013, -0.031172286719083786, 0.4482190012931824, 0.4375498592853546, -0.6647799015045166, 0.7781035900115967, 0.21110382676124573, -0.36937156319618225, -0.8444689512252808, -0.6600115895271301, -0.056033264845609665, -0.1783338040113449, -0.5255816578865051, 0.12238655984401703, -0.1366911083459854, -0.4532487690448761, 0.08835561573505402, -0.22031962871551514, -0.3033740818500519, 0.10466860234737396, 0.5828125476837158, 0.24223202466964722, -0.20988982915878296, 0.007334149908274412, 0.2332727015018463, -0.07049967348575592, -0.02697659842669964, -0.07722917944192886, -0.043204259127378464, -0.18826644122600555, -0.12881256639957428, -0.5651105046272278, 0.3806488811969757, 0.6148804426193237, -0.3616105914115906, 0.8490874767303467, 0.34491172432899475, -0.3703090250492096, 0.014150546863675117, -0.36263343691825867, -0.11368479579687119, -0.4137404263019562, -0.31186798214912415, -0.4458199441432953, -1.2786282300949097, 0.6779531836509705, -0.07678620517253876, 0.261654257774353, 0.5891966223716736, 0.5857740640640259, 0.13432519137859344, 0.93116295337677, 0.588178277015686, 0.29852405190467834, -0.014221257530152798, -0.2369479387998581, 0.2948419451713562, -0.6201316714286804, -0.46348416805267334, -0.517909824848175, -0.14464300870895386, -0.5044524073600769, -0.22485992312431335, 0.275064080953598, 0.05227060988545418, -0.24212957918643951, 0.6352885961532593, -0.618251621723175, 0.827575147151947, 0.5623120069503784, 0.057636428624391556, 0.5249892473220825, -0.3559791147708893, -0.034767996519804, 0.16123229265213013, -0.36524486541748047, -0.7560002207756042, 0.9875961542129517, 0.32622984051704407, 0.8075500130653381, 0.4210975170135498, 0.848052978515625, 0.6063860654830933, 0.26148897409439087, -0.30654096603393555, 0.438500314950943, 0.025708863511681557, -0.9823105335235596, -0.5380106568336487, -0.418316125869751, -0.9764243960380554, 0.19904406368732452, -0.14245587587356567, -1.036342740058899, 0.20627489686012268, 0.3975740671157837, -0.5812092423439026, 0.0810924768447876, -0.7069059610366821, 0.639327883720398, 0.10558795928955078, -0.43583232164382935, -0.012124981731176376, -0.9458177089691162, 0.5756618976593018, -0.23731869459152222, 0.3587813079357147, 0.08101779967546463, 0.15393736958503723, 0.7193584442138672, -0.5035603046417236, 0.9099695086479187, -0.3927347958087921, -0.11148333549499512, 0.22972077131271362, 0.5266387462615967, 0.7441979050636292, 0.3206673860549927, -0.08864125609397888, 0.3128560483455658, -0.03597429022192955, -0.31147125363349915, -0.3367592990398407, 0.7188271284103394, -0.9779735207557678, -0.5157414078712463, -0.3100232183933258, -0.29072028398513794, 0.08983590453863144, 0.3772628605365753, 0.5838974118232727, 0.39607495069503784, 0.03146393597126007, 0.4023761749267578, 0.8787925243377686, -0.2040768414735794, -0.15240100026130676, 0.19018913805484772, 0.09229087829589844, -0.10301046818494797, 0.7115284204483032, -0.13882610201835632, -0.03834562376141548, 0.6113004088401794, 0.35702404379844666, -0.25929442048072815, -0.4473924934864044, -0.564427375793457, 0.25900799036026, -0.6917917728424072, 0.02517854981124401, -0.7574605345726013, -0.0933624878525734, -0.2492273896932602, -0.4455326497554779, -0.2535374164581299, -0.5379135608673096, -0.27251148223876953, -0.26950523257255554, 0.3122169077396393, 1.0288764238357544, -0.033226098865270615, 0.49422091245651245, -0.3110038936138153, 0.6168152093887329, 0.6450398564338684, 0.25659582018852234, -0.256334125995636, -0.3860698640346527, -0.02608664147555828, 0.06810939311981201, 0.002439068630337715, -0.9065800309181213, -0.05356498435139656, 0.30711913108825684, 0.47313088178634644, 0.4151572585105896, 0.1398029774427414, 0.2518762946128845, -0.360291063785553, 0.984911322593689, -0.12588508427143097, -0.9978115558624268, 0.5841293931007385, -0.5014323592185974, -0.22028139233589172, 0.5640300512313843, 0.47493985295295715, -0.11411663144826889, -0.6804046034812927, -0.6871963143348694, -0.77931809425354, 0.861535906791687, 0.5616554617881775, -0.0627760961651802, 0.43761906027793884, 0.500575602054596, 0.6510301828384399, 0.30598461627960205, -1.0338383913040161, 0.08564735949039459, -0.33882054686546326, 0.004866067320108414, -0.19626551866531372, -0.16876263916492462, -0.6448401212692261, 0.2501574754714966, 0.7718621492385864, 0.051938991993665695, 0.190216064453125, 0.41541340947151184, -0.2882493734359741, -0.15100908279418945, -0.07131023705005646, 0.8035159707069397, 0.9734295010566711, -0.2310718148946762, 0.46463873982429504, -0.2144642174243927, -0.3128601312637329, 0.07444590330123901, -0.12138763070106506, 0.004260492045432329, 0.04825201258063316, 0.7064921855926514, 0.7513755559921265, -0.23519636690616608, -0.4741751551628113, 0.8878071904182434, -0.3158854842185974, -0.45797836780548096, -0.25350382924079895, 0.18511620163917542, 0.11042969673871994, 0.24670585989952087, 0.27294889092445374, 0.11679691076278687, -0.14418594539165497, -0.15275278687477112, -0.0906493216753006, 0.0440259724855423, -0.3229140043258667, -0.34332704544067383, 1.0881904363632202, 0.18020883202552795, -0.3511340022087097, 0.43514254689216614, -0.20168694853782654, -0.33600351214408875, 0.7337483763694763, 0.3327765166759491, 0.8215866684913635, -0.09508658945560455, 0.28727152943611145, 0.27201947569847107, 0.4944669008255005, -0.06066291034221649, 0.09211672842502594, -0.4898088872432709, -0.5325475335121155, -0.47914937138557434, -0.285699725151062, -0.8341933488845825, 0.018605554476380348, -0.5724124908447266, 0.0016979872016236186, -0.5553297996520996, 0.36402660608291626, 0.1086881011724472, -0.25896915793418884, -0.6079855561256409, 0.28792804479599, -0.170958012342453, 0.7585631012916565, -1.1348350048065186, 0.3025131821632385, 0.4275535047054291, -0.2761618196964264, -0.9999160170555115, -0.23708750307559967, 0.2126644104719162, -0.9869421720504761, 0.44161611795425415, 0.28944194316864014, -0.4475957751274109, 0.13818056881427765, -1.0386590957641602, -0.49721407890319824, 1.2620822191238403, 0.5393500924110413, -0.19744712114334106, 0.249592587351799, -0.38998082280158997, 0.6325696110725403, -0.2932903468608856, -0.012768554501235485, 0.13727276027202606, 0.5136310458183289, 0.2567569315433502, -0.7840323448181152, 0.2696402370929718, -0.30882400274276733, -0.4493364691734314, -0.1794755458831787, -0.44134873151779175, 0.763671875, -0.35068368911743164, -0.04544897750020027, -0.026030991226434708, 0.4638284146785736, 0.6345201134681702, 0.4649915099143982, 0.7164797782897949, 0.240285262465477, 0.9258040189743042, -0.05956995487213135, 1.1159363985061646, -0.06411399692296982, 0.1611052304506302, 1.116351842880249, -0.12976589798927307, 0.5083596110343933, 0.4861631393432617, 0.038475774228572845, 0.7385346293449402, 0.8582606315612793, 0.2710903584957123, 0.5490329265594482, 0.29664936661720276, -0.15024298429489136, -0.40398621559143066, -0.06306673586368561, -0.3649917244911194, 0.625749409198761, 0.025383664295077324, -0.2531168460845947, 0.07882877439260483, -0.15217848122119904, 0.19136540591716766, -0.1116417944431305, -0.13549937307834625, 0.7269441485404968, -0.005044009070843458, -0.9715933203697205, 0.46128493547439575, -0.1370052844285965, 0.31338733434677124, -0.7585331797599792, -0.04261235520243645, -0.21979092061519623, 0.23979441821575165, -0.3211382031440735, -0.4567283093929291, 0.06714479625225067, 0.426967978477478, 0.05906062573194504, -0.42296087741851807, 0.4364759027957916, -0.45731452107429504, -0.1045546755194664, -0.09889383614063263, 0.25694572925567627, 0.7610355019569397, -0.05513791739940643, -0.15872149169445038, -0.18687863647937775, -0.03459111601114273, -0.44609639048576355, -0.15696001052856445, 0.5896056294441223, -0.37365245819091797, 0.7226327061653137, 0.5493496060371399, 0.1990964412689209, 0.20606446266174316, -0.14156600832939148, 0.6225845217704773, -0.12589384615421295, -0.8098760843276978, -0.7909416556358337, 0.5239694714546204, 0.11427408456802368, -0.364520788192749, 0.493439257144928, 0.4528852105140686, 0.6533702611923218, -0.12440662086009979, 0.886574923992157, -0.21760067343711853, 0.32179510593414307, -0.5657769441604614, 0.8366553783416748, -0.7432272434234619, 0.16977426409721375, -0.2302876114845276, -0.7499546408653259, -0.4409486651420593, 0.5091190934181213, 0.0894068032503128, -0.024780413135886192, 0.7199099659919739, 0.8502540588378906, -0.09068865329027176, -0.10051610320806503, -0.042386628687381744, 0.3575097918510437, 0.5384935140609741, 0.4435498118400574, 0.5825867056846619, -0.2716433107852936, 0.6762188673019409, 0.033639222383499146, -0.6981091499328613, -0.46222180128097534, -1.267635464668274, -0.8811048865318298, -0.59052574634552, -0.5125132203102112, -0.3058437705039978, 0.03647654503583908, 0.4773862659931183, 0.8464812636375427, -0.7941393852233887, 0.0152495251968503, -0.22496114671230316, 0.41567888855934143, -0.5011839270591736, -0.13804295659065247, 0.5642690658569336, 0.30830660462379456, -0.44831305742263794, 0.4127485156059265, 0.23451897501945496, -0.04196176305413246, -0.2970186769962311, -0.3439084589481354, 0.019940506666898727, 0.33412954211235046, 0.1897123157978058, 0.45666781067848206, -0.8070636987686157, -0.2992596924304962, 0.04373692348599434, -0.14879700541496277, -0.08381900936365128, 0.9338074922561646, -0.4703455865383148, 0.8095795512199402, 0.5159899592399597, 0.5554909110069275, 0.6689504981040955, 0.19827350974082947, 0.5765368342399597, -0.835966944694519, -0.11502955108880997, 0.1607036292552948, 0.2315736562013626, 0.37565451860427856, -0.9007723331451416, 0.6862578392028809, 0.0683756098151207, -0.8109043836593628, -0.8720957040786743, 0.09342259913682938, -1.137559175491333, 0.0046890354715287685, 1.1071752309799194, -0.5913063883781433, -0.10591243207454681, -0.1451454758644104, -0.2920010983943939, 0.4999437630176544, -0.13693709671497345, 1.0932472944259644, 0.797177255153656, -0.2659556567668915, -0.06896918267011642, -0.2920038402080536, 0.5241626501083374, 0.11867021769285202, -0.6614255905151367, 0.1481047421693802, 0.2045615166425705, 0.211578831076622, 0.22114644944667816, 1.0070428848266602, -0.15153704583644867, 0.4818148612976074, 0.0507887601852417, 0.12967008352279663, -0.5610268712043762, -0.6516599059104919, -0.1415022909641266, 0.007459072396159172, -0.037954460829496384, -0.404410719871521 ]
http://arxiv.org/abs/2406.16655v1
http://arxiv.org/pdf/2406.16655v1
Large Language Models Are Cross-Lingual Knowledge-Free Reasoners
2024-06-24T14:03:04
2024-06-24T14:03:04
Peng Hu, Sizhe Liu, Changjiang Gao, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang
cs.CL
cs.CL
Large Language Models have demonstrated impressive reasoning capabilities across multiple languages. However, the relationship between capabilities in different languages is less explored. In this work, we decompose the process of reasoning tasks into two separated parts: knowledge retrieval and knowledge-free reasoning, and analyze the cross-lingual transferability of them. With adapted and constructed knowledge-free reasoning datasets, we show that the knowledge-free reasoning capability can be nearly perfectly transferred across various source-target language directions despite the secondary impact of resource in some specific target languages, while cross-lingual knowledge retrieval significantly hinders the transfer. Moreover, by analyzing the hidden states and feed-forward network neuron activation during the reasoning tasks, we show that higher similarity of hidden representations and larger overlap of activated neurons could explain the better cross-lingual transferability of knowledge-free reasoning than knowledge retrieval. Thus, we hypothesize that knowledge-free reasoning embeds in some language-shared mechanism, while knowledge is stored separately in different languages.
[ -0.20259001851081848, -0.3338488042354584, 0.8143795728683472, 0.18703493475914001, 0.11593756079673767, -0.16929085552692413, -0.4928603768348694, -0.7128595113754272, 0.12589092552661896, 0.36759325861930847, -0.173039972782135, 0.08085038512945175, -0.607068657875061, -0.07491578906774521, -0.3609693646430969, 0.6182361841201782, -0.32378000020980835, 0.000014120393643679563, -0.3493870794773102, -0.2744895815849304, -0.29293301701545715, -0.45521146059036255, -0.5069363117218018, -0.684002697467804, 0.7048676013946533, 0.053977809846401215, 0.7186073660850525, 0.24894990026950836, 0.05348280444741249, 0.2090814709663391, -0.14035098254680634, -0.038503699004650116, -0.18456967175006866, 0.062419578433036804, -1.0230369567871094, -0.688474714756012, -0.10079535096883774, -0.3620026111602783, 0.554831326007843, 0.7996972799301147, 0.16833403706550598, -0.08983151614665985, 0.06794153153896332, 0.4389726221561432, -0.5930126309394836, 0.37410980463027954, -0.6167474985122681, -0.14565762877464294, 0.15061312913894653, -0.03571386635303497, -0.4711504280567169, -0.19305431842803955, 0.29642629623413086, -0.7890885472297668, 0.03787549212574959, -0.11116710305213928, 0.8265397548675537, 0.006660490296781063, -0.4509163200855255, -0.24082764983177185, -0.5354422330856323, 0.7163897752761841, -0.3807911276817322, 0.5519636869430542, 0.4998041093349457, 0.2882808446884155, 0.27640601992607117, -0.36962515115737915, -0.5916450619697571, -0.26374152302742004, -0.3659437596797943, -0.37036874890327454, -0.5208121538162231, -0.188038632273674, 0.30037885904312134, 0.09685539454221725, -0.43344685435295105, 0.021464260295033455, -0.4129982888698578, -0.37598133087158203, 0.6573035717010498, -0.3861479163169861, 0.6896296143531799, -0.14587515592575073, -0.31852489709854126, -0.10020247101783752, -0.6220695376396179, 0.02757471613585949, 0.12858183681964874, 0.40182945132255554, -0.10727310180664062, 0.48025983572006226, -0.24755656719207764, 0.5164419412612915, -0.2706433832645416, 0.19778883457183838, 0.05495573207736015, -0.4550614356994629, -0.04708630219101906, 0.053986988961696625, 0.8087624907493591, 0.13328780233860016, 0.6851481795310974, -0.5633278489112854, -0.14817234873771667, -0.2570040822029114, -0.059162821620702744, -0.4625774323940277, -0.11271179467439651, -0.18843485414981842, -0.4541805386543274, 0.29714107513427734, -0.36634621024131775, -0.39617374539375305, -0.1983310431241989, -0.27983608841896057, 0.6715150475502014, -0.5583720803260803, -0.6722330451011658, 0.2642209231853485, -0.20663201808929443, 0.3362806439399719, 0.22909709811210632, -1.0584310293197632, 0.15734712779521942, 0.7641559839248657, 0.6667260527610779, -0.2997128367424011, -0.4574867784976959, -0.23427243530750275, 0.24943912029266357, -0.5001369714736938, 0.6435143351554871, -0.3749677538871765, -0.016197064891457558, -0.07631940394639969, 0.36183059215545654, -0.5788618922233582, -0.4634599983692169, 0.11080477386713028, -0.7990023493766785, 0.021490730345249176, -0.8334627151489258, -0.32319745421409607, -0.7751619219779968, 0.2244431972503662, -0.7798407077789307, 0.5437880158424377, -0.05981501191854477, -0.7045980095863342, 0.2511672377586365, -0.38470014929771423, -0.7007508277893066, -0.09789767861366272, -0.09655795246362686, 0.42687514424324036, 0.10495851933956146, 0.23259836435317993, 0.4308772385120392, -0.49386242032051086, 0.2838691473007202, -0.29390740394592285, -0.15743033587932587, 0.37654227018356323, -0.3229609727859497, 1.1812903881072998, 0.012175817973911762, -0.4263116419315338, 0.09635743498802185, -0.4788709282875061, 0.19112318754196167, 0.04875964671373367, -0.22821739315986633, -0.7473165988922119, -0.1930909901857376, -0.4121713936328888, 0.4874838888645172, 0.20858922600746155, -0.5636911988258362, 0.10177590698003769, -0.17261956632137299, 0.4590927064418793, 0.34845614433288574, -0.11267568916082382, 0.8060328960418701, -0.2384413480758667, 0.2225116342306137, 0.1397707611322403, -0.1966274082660675, 0.25168493390083313, -0.5419833064079285, -0.7612404227256775, 0.04021570831537247, 0.25051960349082947, 0.7990254163742065, -1.0739065408706665, -0.15714791417121887, -0.49903327226638794, -0.25962576270103455, -0.3077300488948822, -0.01839267835021019, 0.5158829689025879, 0.20466764271259308, 0.5005593299865723, 0.0028100761119276285, -0.03740709275007248, -1.098623514175415, -0.3969368040561676, -0.04501917585730553, 0.08400513231754303, 0.2161628156900406, 0.5819423198699951, 0.14822129905223846, 0.3833772838115692, -0.10084831714630127, 0.057643722742795944, -0.5632266998291016, -0.08402359485626221, 0.06351383030414581, 0.5600832104682922, 0.6213359832763672, -0.5265963673591614, -0.36600980162620544, 0.549811601638794, -0.9053512215614319, 0.034366194158792496, -0.34141114354133606, -0.42474693059921265, 0.2512105703353882, 0.4284942150115967, -0.856636106967926, 0.27393683791160583, 0.4253614544868469, -0.41729071736335754, 0.46006810665130615, -0.289397269487381, 0.1713358461856842, -0.7949333786964417, 0.19619816541671753, -0.2822716236114502, 0.17253537476062775, -0.5102075934410095, 0.16347311437129974, 0.11332254111766815, 0.07378748804330826, -0.3843327760696411, 0.9487951397895813, -0.6680626273155212, -0.38896816968917847, -0.17522740364074707, 0.13746938109397888, 0.17620566487312317, 0.5581470727920532, 0.19281497597694397, 0.5117647051811218, 0.9432472586631775, -0.6428834199905396, 0.39937645196914673, 0.11035758256912231, -0.5342881083488464, 0.4118456244468689, -0.6363703012466431, -0.11652548611164093, 0.04179741442203522, -0.15983878076076508, -0.6144794821739197, 0.05677885562181473, 0.1004943996667862, -0.4339265525341034, 0.17526544630527496, -0.18003037571907043, -0.5313636064529419, 0.09456409513950348, 0.39687126874923706, 0.6220260262489319, 0.259308785200119, -0.5473507046699524, 0.5944586992263794, 0.007027451880276203, -0.12095041573047638, -0.6582027673721313, -1.1241244077682495, -0.18109211325645447, 0.08121141046285629, -0.740602970123291, 0.23138560354709625, 0.31274452805519104, -0.4587317407131195, 0.45964884757995605, -0.04587838426232338, -0.19709891080856323, -0.14755402505397797, -0.023893430829048157, 0.1379598081111908, -0.31362831592559814, 0.39261364936828613, 0.20925229787826538, -0.05452915281057358, 0.20758439600467682, -0.523341715335846, 0.3245967626571655, 0.0317402258515358, -0.6176450848579407, -0.1702505201101303, 0.6482449769973755, 0.7744579315185547, -0.4428666830062866, 1.0598286390304565, 0.3568353056907654, -0.34028324484825134, -0.3659125864505768, -0.2780151963233948, -0.07900694012641907, -0.32804086804389954, 0.2338431179523468, -0.7233026623725891, -0.9187850952148438, 0.7817397713661194, 0.27870261669158936, -0.004373232368379831, 0.46284574270248413, 0.3442600965499878, 0.419141948223114, 0.8079695105552673, 0.45841264724731445, 0.15131224691867828, 0.15999585390090942, -0.24831736087799072, 0.3761745095252991, -0.6370327472686768, -0.5366896390914917, -0.36783406138420105, -0.2777695655822754, -0.3878033757209778, -0.6758174300193787, -0.18686836957931519, 0.3083078861236572, -0.3649106025695801, 0.41488316655158997, -0.19802892208099365, 0.47110140323638916, 0.7047460675239563, -0.14743289351463318, 0.31586816906929016, 0.14997071027755737, -0.621370255947113, 0.12353482842445374, -0.8766716122627258, 0.06907950341701508, 0.6383998394012451, 0.06381651014089584, 0.6217126250267029, 0.18516182899475098, 0.2739030122756958, -0.17323502898216248, -0.12638014554977417, -0.8737167716026306, 0.7135499119758606, -0.4355399012565613, -0.6739262938499451, -0.18447059392929077, -0.6061539649963379, -0.8064970970153809, 0.5965792536735535, -0.16721898317337036, -0.9435033202171326, 0.39516398310661316, -0.31033527851104736, -0.06597427278757095, 0.9260441660881042, -0.6995659470558167, 0.7297710180282593, -0.4703320562839508, -0.49178582429885864, -0.4169013500213623, -0.4309384822845459, 0.3532232344150543, 0.15916159749031067, 0.2100210338830948, -0.14869771897792816, 0.22818221151828766, 0.6427491903305054, 0.03241821005940437, 0.5158481001853943, -0.14017914235591888, -0.29071083664894104, 0.27744004130363464, 0.6092647314071655, 0.07789107412099838, -0.2151867002248764, -0.16722075641155243, 0.3634082078933716, 0.03553009033203125, -0.3638226389884949, -0.8869131207466125, 0.7049306631088257, -0.6943175792694092, -0.8555996417999268, -0.18659807741641998, -0.942486047744751, -0.16742771863937378, 0.4138787090778351, 0.15655192732810974, 0.18822135031223297, 0.3023822605609894, 0.22735515236854553, 0.6539121866226196, -0.3908011019229889, 0.4101341962814331, 0.3408557176589966, -0.5036687254905701, -0.05587960407137871, 0.9692894220352173, 0.3597008287906647, 0.4907844364643097, 0.7459248900413513, 0.0445331372320652, -0.2885896861553192, -0.3019315004348755, -0.3835480809211731, 0.4540366530418396, -0.8621233105659485, 0.28108370304107666, -0.5228210091590881, -0.2786657214164734, -0.28201085329055786, -0.26594871282577515, -0.3745720386505127, -0.7311988472938538, -0.11051594465970993, -0.15519201755523682, 0.20891417562961578, 0.438237726688385, -0.443534255027771, -0.26690247654914856, -0.9111926555633545, 0.33572256565093994, 0.586128830909729, 0.3987562954425812, 0.5003671646118164, -0.34457847476005554, -0.15072527527809143, 0.11359218508005142, 0.33711862564086914, -0.9604071378707886, 0.3517917990684509, -0.058290034532547, 1.0042680501937866, 0.16580678522586823, -0.05261213704943657, 0.3029225766658783, -0.18341495096683502, 0.6908378005027771, 0.2891557812690735, -0.9682096242904663, 0.2562948167324066, -0.21745041012763977, 0.3109683692455292, 0.15172812342643738, 0.6435551643371582, -0.5333491563796997, 0.07402050495147705, -0.3834134638309479, -0.6206149458885193, 0.7654877305030823, -0.05184440314769745, -0.024662287905812263, 0.03982413932681084, 0.0829957127571106, 0.16967786848545074, -0.22717233002185822, -0.6811801791191101, 0.1762804538011551, -0.1571778506040573, 0.39671552181243896, 0.11822618544101715, 0.03715217113494873, -0.3271062970161438, -0.3747878074645996, 0.5647056102752686, -0.1822810173034668, 0.3711685240268707, 0.18004100024700165, -0.25297829508781433, 0.11552489548921585, 0.5856003761291504, 0.2154560536146164, 0.5342710614204407, 0.3765732944011688, 0.36195772886276245, 0.25195544958114624, -0.023468738421797752, 0.17984089255332947, 0.1660149246454239, -0.19005542993545532, -0.1169368326663971, 0.5598368048667908, 1.0676922798156738, 0.2625473439693451, -0.48499783873558044, 0.44230082631111145, 0.011569547466933727, -0.619737446308136, 0.12482789903879166, 0.035770002752542496, 0.4699774384498596, 0.674729585647583, 0.22643350064754486, 0.06050196290016174, -0.08512292802333832, -0.5401644706726074, 0.07446261495351791, 0.3882947266101837, -0.31427696347236633, -0.414115309715271, 0.5524564981460571, -0.22588388621807098, 0.06260699033737183, 0.802826464176178, -0.29481130838394165, -0.6150696873664856, 0.4982985854148865, 0.6356841325759888, 0.7667707800865173, -0.008189828135073185, 0.38359811902046204, 0.4661099910736084, 0.3499942421913147, -0.3127645254135132, 0.37096983194351196, -0.34468308091163635, -1.0401487350463867, -0.7632662653923035, -0.4333633780479431, -0.07124796509742737, -0.030174870043992996, -0.6526570916175842, -0.31860020756721497, -0.12383950501680374, 0.14429070055484772, -0.028358684852719307, -0.2916569709777832, -0.6082890033721924, -0.05040958896279335, 0.16463758051395416, 0.937336266040802, -0.6767634749412537, 0.9288914799690247, 0.6797832250595093, -0.3877308964729309, -1.2687644958496094, -0.13198676705360413, -0.29387739300727844, -0.8692702054977417, 1.0341126918792725, 0.035397134721279144, -0.2349957525730133, -0.3631290793418884, -0.16029387712478638, -1.0686700344085693, 0.8351588845252991, 0.6448395848274231, -0.41572105884552, -0.28549420833587646, 0.16906312108039856, 0.532019317150116, -0.10160041600465775, -0.09164521843194962, 0.40357089042663574, 0.401162713766098, 0.24051158130168915, -1.420903205871582, 0.5225347280502319, -0.2733251452445984, -0.19876928627490997, 0.20039363205432892, -0.4709396958351135, 1.0644617080688477, -0.41978418827056885, -0.2949027121067047, -0.24572810530662537, 0.28219127655029297, 0.09123718738555908, 0.020487353205680847, 0.3194425106048584, 0.7594626545906067, 0.629461944103241, -0.11010737717151642, 1.0770299434661865, -0.2415648102760315, 0.05982444807887077, 0.7971257567405701, -0.2397240698337555, 0.8513297438621521, 0.3576449453830719, 0.16486798226833344, 0.8465366959571838, 0.06583947688341141, 0.15960443019866943, 0.5138332843780518, 0.16651053726673126, -0.2636686861515045, -0.5875915884971619, -0.10074665397405624, -0.33892622590065, 0.4930424690246582, 0.4356839656829834, -0.47378870844841003, -0.3075226843357086, 0.08914398401975632, 0.14629629254341125, -0.1791871190071106, -0.5491114854812622, 0.5063948631286621, 0.2553699016571045, -1.1431795358657837, 0.8224553465843201, -0.357193261384964, 0.48620450496673584, -0.4623270332813263, -0.0050245919264853, -0.06194698065519333, 0.18423156440258026, -0.3018118739128113, -1.1839962005615234, 0.5818145871162415, -0.22805462777614594, -0.28892359137535095, -0.3780866861343384, 1.0698347091674805, -0.5196623206138611, 0.0046964106149971485, 1.0048224925994873, 1.0602291822433472, 0.21153201162815094, -0.08108700811862946, -0.5820634365081787, -0.41367626190185547, 0.13557639718055725, -0.303836464881897, 0.6172713041305542, 0.6654218435287476, -0.5222424268722534, 0.7239232659339905, 0.7125034332275391, 0.4119708836078644, 0.20605464279651642, 0.20704464614391327, 0.6477717757225037, -0.6477707028388977, -0.44767364859580994, -0.5280060172080994, 0.19843070209026337, 0.17248858511447906, 0.08181676268577576, 0.6617580652236938, 0.17560546100139618, 0.9880655407905579, -0.12468461692333221, 0.8679149150848389, -0.3101176619529724, 0.24645699560642242, -0.49323585629463196, 1.0492072105407715, -0.7853994965553284, -0.02874395065009594, 0.1914921998977661, -0.6750107407569885, -0.24809086322784424, 0.6279997825622559, -0.6613719463348389, -0.11905783414840698, 0.9151480793952942, 0.6582776308059692, -0.13855738937854767, 0.10709253698587418, 0.43303728103637695, 0.060911569744348526, 0.016991598531603813, 1.0898162126541138, 0.803428590297699, -0.03471294790506363, 0.686474084854126, -0.2816813886165619, -0.07927704602479935, 0.1966179460287094, -0.7769106030464172, -0.7984183430671692, -0.6846948862075806, -0.13824868202209473, -0.2725760340690613, 0.016262253746390343, 0.4102301597595215, 0.7203064560890198, -0.7281744480133057, -0.16858503222465515, -0.020069392397999763, 0.4567564129829407, -0.528322696685791, -0.23766165971755981, 0.4115484654903412, -0.1337372213602066, -0.40182873606681824, 0.4810705780982971, 0.0491289347410202, -0.16631661355495453, -0.12806673347949982, 0.07008758932352066, -0.360881507396698, 0.04583409056067467, 0.6340438723564148, 0.556244969367981, -0.6657065153121948, -0.43818774819374084, 0.31891679763793945, -0.015661537647247314, -0.24539709091186523, 0.9281970858573914, -0.6599596738815308, 0.35536324977874756, 1.0786603689193726, 0.7143805027008057, 0.5093078017234802, -0.6154630780220032, 0.5429668426513672, -0.4849945306777954, 0.04547062888741493, -0.03228066861629486, 0.6341208219528198, 0.3705906569957733, -0.1443435102701187, 0.24507518112659454, 0.26685044169425964, -0.4985775947570801, -0.4479653239250183, 0.36394748091697693, -0.9022637009620667, -0.6884017586708069, 1.470859169960022, -0.4529888331890106, -0.16269943118095398, -0.16023676097393036, 0.217346653342247, 0.5618162155151367, -0.06457062065601349, 0.3157312572002411, 0.8590618968009949, -0.3911520838737488, -0.2969692051410675, -0.6059268116950989, 0.3510996401309967, 0.45611026883125305, -0.6811513304710388, 0.06652950495481491, 0.31590697169303894, 0.49235790967941284, 0.5728604197502136, 0.472685843706131, -0.28739380836486816, 0.32550591230392456, 0.34726229310035706, -0.0434759147465229, -0.04248977452516556, -0.46491503715515137, -0.1670011281967163, 0.4416852295398712, -0.16966745257377625, -0.07645269483327866 ]
http://arxiv.org/abs/2406.16635v1
http://arxiv.org/pdf/2406.16635v1
ShadowLLM: Predictor-based Contextual Sparsity for Large Language Models
2024-06-24T13:41:08
2024-06-24T13:41:08
Yash Akhauri, Ahmed F AbouElhamayed, Jordan Dotzel, Zhiru Zhang, Alexander M Rush, Safeen Huda, Mohamed S Abdelfattah
cs.LG
cs.LG, cs.AI, cs.CL
The high power consumption and latency-sensitive deployments of large language models (LLMs) have motivated techniques like quantization and sparsity. Contextual sparsity, where the sparsity pattern is input-dependent, is crucial in LLMs because the permanent removal of attention heads or neurons from LLMs can significantly degrade accuracy. Prior work has attempted to model contextual sparsity using neural networks trained to predict activation magnitudes, which can be used to dynamically prune structures with low predicted activation magnitude. In this paper, we look beyond magnitude-based pruning criteria to assess attention head and neuron importance in LLMs. We developed a novel predictor called ShadowLLM, which can shadow the LLM behavior and enforce better sparsity patterns, resulting in over 15% improvement in end-to-end accuracy without increasing latency compared to previous methods. ShadowLLM achieves up to a 20\% speed-up over the state-of-the-art DejaVu framework. These enhancements are validated on models with up to 30 billion parameters. Our code is available at \href{https://github.com/abdelfattah-lab/shadow_llm/}{ShadowLLM}.
[ -0.23917150497436523, -1.0534453392028809, 0.49889105558395386, 0.45801395177841187, -0.18041512370109558, -0.10563511401414871, -0.30898723006248474, -0.2374720275402069, 0.24685204029083252, 0.6643690466880798, -0.44112417101860046, -0.3882739245891571, -0.50654536485672, -0.24833644926548004, -0.4769773781299591, 0.625625491142273, 0.20024538040161133, 0.0883878618478775, -0.4338141977787018, -0.042384758591651917, -0.5002245306968689, -0.6671434044837952, -0.5948492288589478, -0.41275832056999207, 0.644888699054718, 0.008262514136731625, 0.6137396097183228, 0.43470311164855957, 0.4020935297012329, 0.270924836397171, -0.4125581681728363, -0.058892108500003815, -0.5535348057746887, 0.20775237679481506, 0.07976645231246948, -0.1686706244945526, -0.8097212910652161, -0.22969648241996765, 0.7175676226615906, 1.0431290864944458, -0.36910906434059143, 0.10478631407022476, 0.28026726841926575, 0.5347126126289368, -0.8439930081367493, -0.029099827632308006, -0.6013376712799072, -0.10907662659883499, -0.08857487142086029, -0.28174644708633423, -0.3832490146160126, -0.05373291298747063, -0.050917357206344604, -0.2847754657268524, 0.1497974991798401, 0.08514206856489182, 0.48850303888320923, 0.5284745097160339, -0.1772497296333313, 0.38909682631492615, -0.7699809670448303, 0.8585200905799866, -0.7746106386184692, 0.6519038677215576, 0.4063105583190918, 0.10016033798456192, -0.2506357431411743, -0.6165019273757935, -0.3967086374759674, -0.29441699385643005, -0.1780264973640442, 0.07350107282400131, -0.34872177243232727, 0.22233785688877106, 0.3647206127643585, 0.18055950105190277, -0.6868727803230286, 0.08916378766298294, -0.03801308572292328, -0.04765737056732178, 0.24291476607322693, 0.23741388320922852, 0.012718587182462215, 0.0006080966559238732, -0.31285104155540466, 0.16822859644889832, -0.8078768253326416, -0.154799684882164, 0.2545281946659088, 0.008778256364166737, -0.030988246202468872, 0.18766628205776215, -0.10913190990686417, 1.094969391822815, 0.34484848380088806, -0.013494781218469143, 0.012082704342901707, -0.10718196630477905, -0.3085135817527771, 0.06222081556916237, 0.5876136422157288, 0.20438258349895477, 0.005117157939821482, -0.3939184248447418, -0.19162970781326294, -0.19620729982852936, 0.17208744585514069, -1.0066791772842407, -0.14704486727714539, 0.3385221064090729, -0.3105638027191162, -0.4009891748428345, -0.15914873778820038, -0.6036413311958313, -0.42534103989601135, -0.23093000054359436, 0.17856983840465546, -0.4629845917224884, -0.48394709825515747, 0.2690151035785675, 0.3136070966720581, 0.024588918313384056, 0.4070694148540497, -0.769754946231842, 0.43334975838661194, 0.6685081720352173, 0.7785747051239014, -0.5696812868118286, -0.3423643410205841, -0.7610453963279724, 0.2746785879135132, -0.25759294629096985, 0.44523707032203674, -0.49806085228919983, 0.08231446146965027, -0.16506701707839966, -0.030142683535814285, -0.18022653460502625, -0.5994953513145447, 0.12294336408376694, -0.6578189134597778, -0.021746816113591194, 0.046627145260572433, -0.3388860523700714, -0.3171224594116211, 0.31196174025535583, -0.7350538372993469, 0.9470201134681702, 0.1873633712530136, -0.5574566721916199, 0.16483670473098755, -0.3582130968570709, -0.5887786746025085, 0.3806864023208618, 0.0645594671368599, -0.3941068649291992, 0.47322383522987366, 0.05941244587302208, 0.7614830732345581, -0.20747005939483643, 0.8100005388259888, -0.35457080602645874, -0.5897968411445618, 0.4789769947528839, -0.5626019239425659, 0.5271773934364319, -0.08094283938407898, -0.4256122410297394, 0.1312682032585144, -0.9677976369857788, 0.12819387018680573, -0.16817419230937958, -0.18319952487945557, -0.509617030620575, 0.07013442367315292, 0.3942120373249054, 0.24437960982322693, 0.15185539424419403, -0.05911794304847717, 0.042480144649744034, -0.6615525484085083, 0.4011496901512146, 0.7577577233314514, -0.15006689727306366, 0.3085978031158447, -0.05120575428009033, 0.7244790196418762, -0.09428185224533081, 0.028022412210702896, -0.08585552871227264, 0.001852074172347784, -0.7675782442092896, -0.35449278354644775, 0.31007546186447144, 0.3323783278465271, -0.49232301115989685, 0.7285252213478088, -0.44166117906570435, -0.20249532163143158, 0.06394457817077637, 0.023249225690960884, 0.4975752532482147, 0.25908055901527405, 0.2866858243942261, -0.2923205494880676, -0.6913498640060425, -0.8115735650062561, -0.03593426197767258, -0.03255747631192207, 0.15740911662578583, 0.36948245763778687, 0.26692092418670654, -0.2093876302242279, 0.9929482936859131, -0.3132821321487427, -0.29803740978240967, -0.41111111640930176, -0.09040958434343338, 0.14517900347709656, 0.4650876820087433, 0.37793290615081787, -0.8239725828170776, -0.23709805309772491, -0.20826847851276398, -0.574512779712677, -0.3685443103313446, -0.026550034061074257, 0.09134187549352646, 0.052712757140398026, 0.5783466696739197, -0.6579439640045166, 0.27170106768608093, 0.8848994374275208, -0.2524794042110443, 0.37612950801849365, 0.09690960496664047, -0.02794123813509941, -1.0967406034469604, 0.3974374532699585, 0.007675372529774904, -0.3094616234302521, -0.7946316599845886, -0.19890104234218597, 0.03923478350043297, 0.05396607518196106, -0.5121860504150391, 0.7980709075927734, -0.6166549324989319, -0.1744825839996338, -0.3497459292411804, -0.06205401569604874, -0.1538791060447693, 0.717082679271698, 0.11676589399576187, 0.7761699557304382, 0.41251400113105774, -0.7405713200569153, 0.16943255066871643, -0.29030418395996094, -0.28684747219085693, 0.4289352595806122, -0.7162418365478516, 0.03737088665366173, 0.19512559473514557, 0.16640588641166687, -0.7878282070159912, -0.04590461775660515, 0.021652331575751305, -0.32851529121398926, 0.3376319408416748, -0.07005028426647186, -0.4401218593120575, -0.070904441177845, -0.2149491161108017, 0.5249525308609009, 0.42676544189453125, -0.39691323041915894, 0.8224563002586365, 0.42000865936279297, -0.07229015231132507, -0.8466501832008362, -0.5568116903305054, 0.1775015890598297, -0.23293498158454895, -0.5232313871383667, 0.5905124545097351, -0.1786428838968277, -0.26955944299697876, -0.058593716472387314, -0.06707998365163803, 0.12232161313295364, 0.404244601726532, 0.7245321869850159, 0.0959358885884285, -0.05867490544915199, 0.00947853084653616, -0.20562611520290375, -0.2613840699195862, 0.09744255244731903, -0.41587066650390625, 0.9105700850486755, 0.004670950584113598, -0.2935042977333069, -0.1358368843793869, -0.05192737653851509, 0.5982454419136047, -0.04715556651353836, 0.6715475916862488, 0.5951129794120789, -0.5277639627456665, -0.41867968440055847, -0.9326217174530029, -0.38845884799957275, -0.5121331810951233, 0.8281872272491455, -0.14378632605075836, -0.8685979843139648, 0.42540469765663147, -0.11529930680990219, -0.5189907550811768, 0.03758708015084267, 0.5727490782737732, 0.08920186012983322, 1.0297653675079346, 0.8995998501777649, -0.22201572358608246, 0.7726694345474243, -0.30704402923583984, 0.047141123563051224, -1.072341799736023, -0.04450506716966629, -0.016754942014813423, -0.2412233203649521, -0.050078384578228, -0.4165380597114563, 0.18149647116661072, 0.3906501531600952, 0.22248639166355133, 0.34197112917900085, -0.4573245048522949, 0.5145034193992615, 0.230251744389534, -0.07305273413658142, 0.22282670438289642, 0.31419888138771057, -0.021764304488897324, -0.11326983571052551, -0.6806283593177795, -0.40511786937713623, 0.7611740231513977, 0.21548427641391754, 0.8531297445297241, -0.0922110453248024, 0.16949425637722015, 0.16724812984466553, 0.32953932881355286, -0.7462042570114136, 0.8342833518981934, -0.03274714946746826, -0.2756825089454651, -0.21788503229618073, -0.45188501477241516, -1.0066355466842651, 0.3267996907234192, -0.003598161041736603, -0.766726553440094, 0.010396032594144344, 0.3930593430995941, -0.46244069933891296, 0.2582400441169739, -0.263561487197876, 0.7919648885726929, -0.39976081252098083, -0.7678661942481995, -0.31194454431533813, -0.3180604875087738, 0.22186635434627533, -0.004102338571101427, -0.06596381217241287, -0.10935338586568832, -0.17721691727638245, 0.7389762997627258, -0.15209606289863586, 1.0610119104385376, -0.12170818448066711, -0.1439845860004425, -0.02484636940062046, 0.24031776189804077, 0.5886207222938538, 0.08519206941127777, 0.045356690883636475, 0.5615478754043579, -0.25630274415016174, 0.028403373435139656, -0.5971817374229431, 0.9222607612609863, -0.4543135166168213, -0.6127700209617615, -0.4267379939556122, -0.5902383327484131, -0.294504851102829, 0.2047661393880844, 0.16498534381389618, 0.3031957149505615, -0.3683510422706604, 0.4207345247268677, 0.7669181227684021, -0.10449343919754028, 0.5574320554733276, 0.7117189168930054, -0.3103087544441223, -0.6002925038337708, 0.9280040860176086, 0.21834111213684082, 0.11114490777254105, 0.4149114489555359, 0.041160665452480316, 0.0692829117178917, -0.9322157502174377, -0.28042319416999817, 0.08595483750104904, -0.3423372805118561, -0.28800082206726074, -0.7837151288986206, -0.4026842415332794, -0.3257100582122803, -0.13586921989917755, -0.260398805141449, -0.3663562536239624, -0.22426585853099823, -0.06945792585611343, 0.2143895924091339, 0.3756774663925171, 0.1635202020406723, 0.5603105425834656, -0.44521793723106384, 0.08470746874809265, 0.16366632282733917, 0.3729499280452728, 0.041367724537849426, -0.4513576030731201, -0.36622217297554016, -0.19170895218849182, -0.20853185653686523, -0.6880376935005188, 0.7256776690483093, 0.038407325744628906, 0.5527330636978149, 0.22975607216358185, -0.2212541550397873, 0.730448305606842, -0.40309539437294006, 0.6857785582542419, 0.3004944324493408, -0.9511821866035461, 0.5336862206459045, -0.2316347062587738, 0.3526567816734314, 0.18966889381408691, -0.005023573059588671, -0.7096759676933289, -0.3353674113750458, -0.6729657053947449, -0.9935870170593262, 0.8512902855873108, 0.10767195373773575, -0.0035561365075409412, 0.28344371914863586, 0.46497392654418945, 0.08244004845619202, 0.2888142764568329, -0.7442374229431152, -0.20444972813129425, 0.21065931022167206, -0.19889788329601288, -0.2121899127960205, -0.5564412474632263, 0.05159962922334671, -0.04720096290111542, 0.5678989291191101, -0.2771862745285034, -0.07452525198459625, -0.1339636892080307, -0.46303150057792664, -0.3150641918182373, 0.1577468365430832, 0.5642048716545105, 0.7714616060256958, -0.24540291726589203, 0.2020227015018463, 0.48871055245399475, -0.7422475814819336, 0.09056830406188965, 0.19370277225971222, -0.5128338932991028, -0.03608773276209831, 0.4252164661884308, 0.8837751746177673, 0.36229732632637024, -0.6205049157142639, 0.6743963360786438, 0.058572400361299515, -0.020427044481039047, -0.6601192951202393, 0.1281326413154602, -0.03432658314704895, 0.05176267400383949, 0.44468528032302856, 0.14264589548110962, 0.060457177460193634, -0.04839697852730751, 0.12725427746772766, 0.7001166343688965, -0.5423930883407593, -0.5395473837852478, 0.5925204753875732, 0.22584553062915802, -0.12822067737579346, 0.18743903934955597, 0.06601468473672867, -0.4005082845687866, 0.7308326959609985, 0.4609258472919464, 1.0340847969055176, -0.3089264929294586, -0.25855907797813416, 0.3192416727542877, 0.17268787324428558, -0.15724624693393707, -0.09301280975341797, -0.052580270916223526, -0.6524383425712585, -0.6516011357307434, -0.7798070311546326, -0.19853517413139343, 0.6602327227592468, -0.4150525629520416, 0.3220738172531128, -0.47743552923202515, -0.3074667453765869, -0.13399603962898254, -0.12674497067928314, -0.3494913876056671, 0.15453378856182098, 0.25705334544181824, 0.5115416049957275, -0.6473863124847412, 1.0717124938964844, 0.5500112175941467, -0.09426334500312805, -0.3402061462402344, 0.08503631502389908, -0.17240606248378754, -0.5593668818473816, 0.8255436420440674, 0.4842255711555481, -0.43159180879592896, 0.10409228503704071, -0.5814756751060486, -1.162811279296875, 1.1415040493011475, 0.6812525391578674, -0.8091320991516113, -0.026231959462165833, -0.02225165255367756, 0.3435594141483307, -0.2653863728046417, 0.25672441720962524, 0.3584057092666626, 0.2774820029735565, -0.016123589128255844, -0.6511685848236084, 0.25908154249191284, -0.10364274680614471, 0.35924050211906433, 0.21705342829227448, -0.5771915912628174, 0.7920124530792236, -0.16741742193698883, -0.3678777515888214, 0.0008499051327817142, 0.5494576692581177, 0.3219928443431854, 0.1830572485923767, 0.5562748908996582, 0.527103066444397, 0.443070650100708, -0.2548055350780487, 0.8422587513923645, -0.6626841425895691, 0.19935494661331177, 1.034265398979187, -0.36063507199287415, 0.721838653087616, 0.7556596398353577, -0.04187574237585068, 0.2882041335105896, 0.43636849522590637, -0.05437649041414261, 0.5475030541419983, 0.3057546615600586, -0.07754288613796234, -0.3833766579627991, -0.1429579108953476, -0.37372153997421265, 0.09377724677324295, 0.45625045895576477, -0.29605475068092346, 0.27475959062576294, 0.2226075381040573, -0.06403063237667084, -0.027576647698879242, -0.25490158796310425, 0.7400277256965637, 0.10158516466617584, -0.6660603880882263, 0.786653995513916, 0.03562602773308754, 1.0253288745880127, -0.5671541690826416, -0.06735344976186752, -0.32058730721473694, 0.6473840475082397, -0.22919334471225739, -0.370249480009079, 0.15444287657737732, -0.26601120829582214, -0.3365556299686432, -0.3174116611480713, 0.8678935170173645, -0.5300626754760742, -0.4693734049797058, 0.6047091484069824, 0.5812307000160217, -0.14036144316196442, -0.3480983376502991, -0.6875031590461731, 0.22488638758659363, -0.27645519375801086, -0.6380144953727722, 0.49757975339889526, 0.14727900922298431, -0.11762087047100067, 0.7638197541236877, 0.7332746982574463, 0.4621219336986542, -0.14409242570400238, 0.2356957495212555, 0.8038516640663147, -0.7187462449073792, -0.2697482407093048, -1.0878373384475708, 0.22331884503364563, -0.10083671659231186, -0.1198674887418747, 0.8524038195610046, 0.5838242769241333, 0.6369303464889526, 0.0993448868393898, 0.5183637738227844, 0.053067419677972794, 0.1816098988056183, -0.5990567803382874, 0.781058132648468, -0.5937798619270325, 0.38242262601852417, -0.17952564358711243, -0.9355996251106262, -0.43498000502586365, 0.5694820284843445, -0.3186799883842468, 0.3310949206352234, 0.7580439448356628, 1.063557744026184, -0.08308271318674088, -0.3831164538860321, 0.6288465857505798, 0.27170711755752563, 0.017709938809275627, 0.6807661652565002, 0.9795295596122742, -0.22950205206871033, 0.6039320826530457, -0.5071305632591248, -0.0993451252579689, -0.4841708242893219, -0.8900179266929626, -0.8994590044021606, -0.42891234159469604, -0.6043224334716797, -0.4750427007675171, 0.26934880018234253, 0.6359668970108032, 1.1532564163208008, -0.8193107843399048, -0.2311503142118454, -0.32336610555648804, 0.001446210197173059, -0.6072922945022583, -0.26162052154541016, 0.44727277755737305, -0.09137245267629623, -0.5233058333396912, 0.30273592472076416, 0.47211769223213196, 0.10248111933469772, -0.4928267002105713, -0.20799040794372559, 0.07574853301048279, -0.1385725438594818, 0.6300663948059082, -0.015344475395977497, -1.0602476596832275, 0.05792626366019249, 0.05401713401079178, -0.3795433044433594, -0.11515836417675018, 0.8733493685722351, -0.9538064002990723, -0.05936252698302269, 0.27321743965148926, 0.36927345395088196, 0.510471522808075, 0.010567608289420605, 0.5762450695037842, -0.9338545203208923, 0.39292624592781067, 0.453507661819458, 0.4176425635814667, 0.4131256341934204, -0.6414110660552979, 0.5384365916252136, 0.26298871636390686, -0.3420494794845581, -0.9788196086883545, 0.015088792890310287, -1.0471251010894775, -0.3420052230358124, 1.5049301385879517, 0.09204483032226562, -0.503560483455658, 0.1465430110692978, -0.13534702360630035, 0.0036260439082980156, -0.30428433418273926, 0.611565887928009, 0.5375937819480896, 0.18965938687324524, -0.4495834708213806, -0.6097169518470764, 0.5614978671073914, 0.8715300559997559, -0.6291858553886414, 0.5512670874595642, 0.6684286594390869, 0.2580546736717224, 0.15382255613803864, 0.5892077684402466, 0.00819455273449421, 0.3103311359882355, -0.26214033365249634, 0.37323567271232605, -0.34763848781585693, -0.3345907926559448, -0.6853198409080505, 0.3761643171310425, -0.09084080159664154, 0.12866441905498505 ]
http://arxiv.org/abs/2406.16620v2
http://arxiv.org/pdf/2406.16620v2
OmAgent: A Multi-modal Agent Framework for Complex Video Understanding with Task Divide-and-Conquer
2024-06-24T13:05:39
2024-06-25T02:43:41
Lu Zhang, Tiancheng Zhao, Heting Ying, Yibo Ma, Kyusong Lee
cs.CV
cs.CV, cs.CL
Recent advancements in Large Language Models (LLMs) have expanded their capabilities to multimodal contexts, including comprehensive video understanding. However, processing extensive videos such as 24-hour CCTV footage or full-length films presents significant challenges due to the vast data and processing demands. Traditional methods, like extracting key frames or converting frames to text, often result in substantial information loss. To address these shortcomings, we develop OmAgent, efficiently stores and retrieves relevant video frames for specific queries, preserving the detailed content of videos. Additionally, it features an Divide-and-Conquer Loop capable of autonomous reasoning, dynamically invoking APIs and tools to enhance query processing and accuracy. This approach ensures robust video understanding, significantly reducing information loss. Experimental results affirm OmAgent's efficacy in handling various types of videos and complex tasks. Moreover, we have endowed it with greater autonomy and a robust tool-calling system, enabling it to accomplish even more intricate tasks.
[ -0.4236160218715668, -0.9529423117637634, 0.6738888025283813, 0.23959733545780182, -0.08181142807006836, 0.2677805423736572, -0.2578246295452118, -0.1787322610616684, -0.17061619460582733, 0.32810351252555847, -0.5294376611709595, -0.29908448457717896, -0.6766006350517273, -0.1914108842611313, -0.20415671169757843, 0.5079516172409058, -0.348706990480423, 0.30075955390930176, 0.05813954398036003, -0.47811418771743774, -0.3974888324737549, -0.380012571811676, -0.5206196308135986, -0.3206312954425812, 0.35004812479019165, 0.5455731749534607, 0.8620678186416626, 0.796646237373352, 0.563792884349823, 0.5344856381416321, 0.33110713958740234, 0.5649526119232178, -0.360649436712265, 0.4375568926334381, -0.347501665353775, -0.33091816306114197, -0.4679579734802246, -0.40467947721481323, 0.5219312906265259, 0.4852709174156189, -0.11686140298843384, 0.0627879649400711, -0.4464723467826843, 0.2704395055770874, -1.1061745882034302, 0.20291340351104736, -0.29243823885917664, 0.2822618782520294, 0.033307936042547226, -0.46793118119239807, -0.18672524392604828, 0.22814181447029114, 0.16316591203212738, -0.5775152444839478, 0.19382448494434357, -0.20791883766651154, 0.4422493278980255, 0.5488778352737427, -0.5356279015541077, 0.10146242380142212, -1.0838290452957153, 0.43466758728027344, -0.055806271731853485, 0.5255018472671509, 0.43886587023735046, 0.6814031004905701, -0.034695547074079514, -0.48590952157974243, -0.6058581471443176, -0.07839828729629517, 0.5810452103614807, 0.16874782741069794, -0.09133739024400711, 0.24634991586208344, 0.005807327572256327, 0.33315524458885193, -0.4697889983654022, 0.0006447394262067974, -0.15732333064079285, -0.320432186126709, 0.3862378001213074, 0.4862031936645508, 0.480436772108078, -0.1314164102077484, -0.4375898838043213, -0.17142556607723236, -0.0028415119741111994, 0.2660054564476013, 0.08329109102487564, -0.1292361170053482, 0.06441768258810043, 0.8731697797775269, -0.2048206627368927, 0.6224819421768188, -0.08728905767202377, -0.4463978409767151, 0.09455633163452148, -0.2122715264558792, -0.8509787917137146, 0.023277755826711655, 0.671430230140686, 0.3535795509815216, -0.12997648119926453, 0.06180864945054054, -0.006013470236212015, 0.04012607783079147, 0.2268892377614975, -0.9280087351799011, -0.3245334029197693, 0.14935673773288727, -0.27157947421073914, 0.159231036901474, 0.36827513575553894, -0.6967340111732483, -0.5065042972564697, -0.6036046743392944, 0.6053682565689087, -0.7009089589118958, -0.1968259960412979, 0.2501031160354614, -0.09429239481687546, 0.21274015307426453, 0.8922820687294006, -0.23412983119487762, 0.09603285044431686, 0.2727721929550171, 0.743124783039093, -0.22045743465423584, -0.6600247025489807, -1.0837589502334595, 0.3821921944618225, -0.10906260460615158, 0.49875351786613464, -0.4721309542655945, 0.13935159146785736, 0.23682154715061188, 0.17753145098686218, -0.09254789352416992, -0.2829904854297638, 0.42265477776527405, -0.8693860173225403, -0.04823131114244461, -0.047962598502635956, -0.19627848267555237, -0.45282766222953796, 0.7191862463951111, -0.7946760058403015, 0.4893980026245117, -0.3186318576335907, -0.19045326113700867, 0.2509547173976898, -0.8321853876113892, -0.37991493940353394, -0.11859258264303207, -0.2680714428424835, -0.033800240606069565, -0.16941538453102112, 0.26938697695732117, 0.357889860868454, -0.2346809208393097, 0.06747674196958542, -0.1995258778333664, 0.1949065625667572, 0.2859974205493927, -0.8080088496208191, 0.05123152956366539, 0.2901115417480469, -0.1826951801776886, 0.34504005312919617, -0.6209678649902344, -0.24025489389896393, -0.0014394668396562338, -0.36273977160453796, 0.038483235985040665, 0.0518193319439888, 0.09279990196228027, 0.16373173892498016, 0.07958923280239105, -0.6820101141929626, 0.12433838844299316, 0.24773526191711426, 0.6073355078697205, 0.6786572337150574, -0.24617493152618408, 0.6383946537971497, 0.08938682079315186, 0.7432895302772522, 0.13439428806304932, 0.3064716160297394, -0.5206580758094788, -0.13219793140888214, -0.5805384516716003, -0.4753153920173645, -0.32811322808265686, 0.3745872974395752, -0.8538498282432556, -0.06282900273799896, -0.1837150901556015, -0.2202502340078354, -0.3454796373844147, 0.14023073017597198, 0.29701685905456543, 0.13231830298900604, 0.347572386264801, -0.1803877055644989, -0.3028161823749542, -0.587082028388977, 0.055784694850444794, 0.2621314227581024, -0.053038157522678375, 0.32231688499450684, 0.4278390407562256, -0.4847698211669922, 1.1138927936553955, -0.7924555540084839, -0.7074617147445679, -0.23458781838417053, 0.214543417096138, -0.12877778708934784, 0.28140658140182495, 0.2142358273267746, -1.391283392906189, -0.19006647169589996, 0.33571258187294006, -0.9345017671585083, 0.37529441714286804, -0.1557149440050125, -0.031122520565986633, -0.09622950851917267, 0.6795221567153931, -0.6035458445549011, 0.5073117613792419, 0.30244264006614685, -0.31535759568214417, 0.49987393617630005, -0.6263784170150757, 0.6270418763160706, -0.7779561281204224, -0.30451589822769165, -0.17983388900756836, -0.6452032327651978, -0.48084157705307007, 0.07865437120199203, -0.2259778082370758, -0.1514805555343628, -0.5747637152671814, -0.029684139415621758, -0.4266235828399658, -0.17380128800868988, -0.19994112849235535, 0.2815473973751068, 0.015866218134760857, 0.5946583151817322, 0.022082431241869926, 0.6685097813606262, 0.6410996317863464, -0.567936360836029, 0.8133893609046936, 0.19267766177654266, -0.13052819669246674, 0.9138487577438354, -0.3012104034423828, -0.05726779252290726, -0.5308618545532227, -0.013859589584171772, -0.9704165458679199, -0.9068740606307983, 0.127213254570961, -0.44679397344589233, 0.14297974109649658, -0.23826870322227478, -0.4753780663013458, -0.028724461793899536, -0.22351953387260437, 0.6937810778617859, -0.0407477542757988, -0.6153587102890015, 1.0775161981582642, 0.29980698227882385, 0.13708801567554474, -0.6562379002571106, -0.48348328471183777, 0.22789935767650604, -0.159037783741951, -0.8925098180770874, 0.24811455607414246, -0.20610955357551575, -0.20599566400051117, 0.09816741198301315, -0.5017331838607788, -0.6297411918640137, -0.38671451807022095, 0.47519761323928833, -0.05341619625687599, -0.1425425112247467, 0.17229518294334412, -0.21414148807525635, 0.14396525919437408, 0.023943951353430748, -0.18260370194911957, 0.5122750401496887, -0.24648348987102509, -0.7195894122123718, -0.07044752687215805, 0.6425456404685974, 1.0343058109283447, -0.5750023126602173, 0.3593129813671112, 0.9979260563850403, -0.3146200478076935, -0.2831419110298157, -0.7212061882019043, 0.21573342382907867, -0.4889701306819916, 0.8061743974685669, -0.6496714949607849, -0.9721856117248535, 0.6266118288040161, -0.013839060440659523, -0.25846680998802185, 0.08808749169111252, 0.6827197670936584, -0.08496739715337753, 1.16141676902771, 0.6477141976356506, -0.04691416397690773, 0.6857126951217651, -0.3764915466308594, 0.020877527073025703, -0.3593817353248596, -0.6669265627861023, -0.06575413793325424, -0.1356268972158432, 0.09375877678394318, -0.7602431178092957, 0.7232838273048401, -0.057628341019153595, -0.5198816657066345, 0.17506711184978485, -0.29293012619018555, 0.8083431124687195, 0.20353548228740692, 0.3708442151546478, 0.49486905336380005, 0.03571264445781708, 0.32149484753608704, 0.0772177129983902, -0.5289114117622375, -0.31125974655151367, 0.5588116645812988, 0.4228745996952057, 1.1977511644363403, 0.6609334349632263, -0.09497978538274765, 0.726069986820221, -0.3379608988761902, -0.9124845266342163, 0.585034966468811, 0.1661294400691986, -0.45724624395370483, -0.35762515664100647, -0.20665214955806732, -0.9573777914047241, 0.5103646516799927, 0.20482231676578522, -0.6445053815841675, 0.1492159068584442, -0.09094876050949097, -0.31061869859695435, 0.6349377036094666, -0.49048587679862976, 1.0676515102386475, -0.4628567695617676, -0.6882277727127075, -0.41869035363197327, -0.8890636563301086, 0.42065054178237915, 0.1616295725107193, 0.28907689452171326, 0.13708440959453583, -0.2676815688610077, 0.314937561750412, -0.7614197731018066, 0.5780991315841675, 0.0355365090072155, 0.15473707020282745, 0.45571884512901306, 0.4296751022338867, 0.0576430968940258, 0.21096883714199066, 0.405222088098526, -0.49498942494392395, -0.11997918039560318, -0.2625371813774109, -0.6121224164962769, 0.5711156725883484, -0.9768580794334412, -0.4051479697227478, -0.28817251324653625, -0.6039701700210571, 0.26121777296066284, 0.16176952421665192, 0.08380428701639175, 0.5940037965774536, -0.08083293586969376, 0.38327571749687195, 0.7788363695144653, -0.03904902935028076, 0.6649841666221619, 0.4317200481891632, 0.01447663176804781, -0.5958396196365356, 0.9155611991882324, -0.1082829013466835, 0.43232569098472595, 0.4796026647090912, -0.08944563567638397, -0.08676258474588394, -0.18567658960819244, -0.5224531292915344, -0.24103829264640808, -1.0308504104614258, -0.3618524968624115, -0.6137591004371643, 0.008018222637474537, -0.07353903353214264, -0.2136768251657486, -0.4208352863788605, 0.34549158811569214, -0.12960690259933472, -0.2904903292655945, 0.3549412190914154, 0.6557914614677429, -0.09437181800603867, 0.3619832694530487, -0.9119998216629028, 0.5589902400970459, 0.7658936381340027, 0.3214728534221649, -0.18554890155792236, -0.38660433888435364, -0.322722852230072, -0.22123076021671295, -0.5299732089042664, -1.1309176683425903, 0.46122246980667114, 0.3403240740299225, 0.46352386474609375, 0.6713597178459167, -0.04155372828245163, 0.9063809514045715, -0.2946247458457947, 0.8547797799110413, 0.18154442310333252, -1.0391944646835327, 0.2749323546886444, -0.5091342329978943, 0.22149793803691864, 0.4422142803668976, 0.27446264028549194, -0.26764434576034546, 0.10749491304159164, -0.3951738178730011, -0.835954487323761, 0.9589079022407532, 0.3893093466758728, -0.24070169031620026, 0.45001283288002014, -0.061914291232824326, -0.1285426765680313, 0.3913499712944031, -0.541804313659668, 0.06595557183027267, -0.4594345688819885, 0.15266239643096924, 0.005107206758111715, 0.09529968351125717, -0.2632080018520355, -0.034454766660928726, 0.12458963692188263, -0.3230041563510895, 0.15838706493377686, 0.809441089630127, -0.7315748929977417, -0.32477352023124695, 0.43375062942504883, 0.6345321536064148, 0.5635035634040833, -0.31292158365249634, 0.4670899510383606, 0.2037026733160019, -0.5855588316917419, 0.5295647978782654, 0.0743895098567009, 0.4691143035888672, -0.10063403099775314, 0.4255621135234833, 0.5979128479957581, -0.06527800858020782, -1.1897623538970947, 0.7324739098548889, 0.24137260019779205, -0.08620468527078629, -0.506298303604126, -0.10243086516857147, -0.33535438776016235, 0.5912731885910034, 0.33529534935951233, 0.3830336034297943, 0.32623738050460815, -0.8747308850288391, 0.21846239268779755, 0.11479852348566055, -0.47268104553222656, -0.48210597038269043, 0.7604962587356567, -0.0020976620726287365, -0.45612695813179016, 0.27530938386917114, -0.3378308415412903, -0.7464843392372131, 0.8047384023666382, 0.0072120679542422295, 0.7413649559020996, -0.29758474230766296, 0.34430572390556335, -0.11590589582920074, 0.26953473687171936, -0.18702757358551025, 0.26289263367652893, -0.3732942044734955, -0.7561749815940857, -0.780877947807312, -0.17870233952999115, -0.3798680901527405, 0.05649536848068237, -0.5785781145095825, 0.0006127762026153505, -0.32855597138404846, -0.07138462364673615, 0.07660175859928131, -0.6264844536781311, -0.8812752366065979, 0.34212830662727356, 0.24082158505916595, 0.7241488099098206, -0.6515702605247498, 0.6556873321533203, 1.0645004510879517, -0.7413459420204163, -0.8254340291023254, -0.4584217667579651, 0.10532649606466293, -0.5634669661521912, 0.7259601950645447, 0.11962228268384933, -0.4394255578517914, -0.5034782290458679, -0.5222588181495667, -0.5195042490959167, 1.066846251487732, 0.4452878534793854, -0.15198282897472382, -0.028881777077913284, 0.31498172879219055, 0.39045459032058716, -0.441964328289032, 0.5233591794967651, 0.6226717233657837, 0.5897966027259827, 0.48112043738365173, -0.8467023968696594, -0.3776983320713043, -0.14694441854953766, -0.5467512011528015, 0.2686678171157837, -0.45558252930641174, 1.1044284105300903, -0.2789953649044037, 0.20964214205741882, -0.1401924341917038, 0.3293493092060089, -0.13881583511829376, 0.5884483456611633, 0.6178210377693176, 0.3934008777141571, 0.23323535919189453, 0.1522175520658493, 0.6406059265136719, 0.3114335834980011, 0.21463902294635773, 1.305698037147522, -0.08076793700456619, 0.48943838477134705, 0.33731183409690857, -0.008254505693912506, 0.2211376279592514, 0.4066069722175598, 0.07589646428823471, 0.31514495611190796, -0.08600632101297379, -0.38440224528312683, -0.950774610042572, -0.2576344907283783, 0.059793662279844284, 0.926713764667511, 0.33010759949684143, -0.18401943147182465, -0.5711933374404907, 0.5319139361381531, -0.07928931713104248, 0.24870450794696808, -0.5423688292503357, 0.8292093276977539, -0.29076364636421204, -0.6158365607261658, 0.14385901391506195, -0.06416356563568115, 0.258189857006073, -0.6727610230445862, -0.026020685210824013, 0.1873513013124466, 0.5371299386024475, -0.436660498380661, -0.8661748170852661, 0.047066591680049896, 0.046753108501434326, -0.29315757751464844, -0.03873220831155777, 0.647027850151062, -0.7461559176445007, 0.06915626674890518, 0.31210848689079285, 0.4605128765106201, 0.08237642794847488, -0.6373029351234436, -0.4039057791233063, 0.31392771005630493, -0.015513117425143719, -0.17324087023735046, 0.16368749737739563, 0.7291778326034546, -0.0472436361014843, 0.8110833168029785, 0.3929738402366638, -0.37600773572921753, 0.11981622874736786, 0.02050822600722313, 0.9496647119522095, -0.49459171295166016, -0.32942506670951843, -0.9310232996940613, 0.6968609094619751, -0.13885124027729034, -0.045573700219392776, 0.7195135951042175, 0.5726032853126526, 0.6457700729370117, -0.22266268730163574, 0.7146087288856506, -0.1590123176574707, -0.20514105260372162, -0.26861444115638733, 0.2193678468465805, -0.7514907717704773, -0.11397139728069305, -0.34229105710983276, -0.8097227811813354, -0.21890485286712646, 0.42808085680007935, -0.06874015182256699, -0.3595898747444153, 0.4999501705169678, 0.5676554441452026, -0.4097898006439209, -0.020068565383553505, 0.3486430048942566, 0.19320902228355408, 0.8620611429214478, 0.5001305341720581, 1.0335924625396729, -0.25878432393074036, 1.0235055685043335, 0.1789667159318924, -0.24929869174957275, -0.37875643372535706, -0.6382436156272888, -0.8284218907356262, -0.4556221067905426, -0.15424810349941254, -0.001140556181780994, -0.10806512087583542, 1.126278042793274, 1.0280945301055908, -0.2973928451538086, -0.3768647015094757, -0.009420922957360744, 0.053410936146974564, -0.07792476564645767, -0.17131446301937103, 0.2507297396659851, -0.10151512920856476, -0.7761692404747009, 0.6661619544029236, 0.5693696737289429, -0.25598272681236267, -0.49253469705581665, -0.21890398859977722, -0.1368064135313034, 0.03227873891592026, 1.0342477560043335, 0.47606804966926575, -0.6678069829940796, -0.3065335750579834, 0.18991787731647491, 0.09728150814771652, 0.24570676684379578, 0.9421576261520386, -0.5140343308448792, 1.0358455181121826, 0.7313219308853149, 0.7307185530662537, 0.6947075128555298, 0.10978714376688004, 0.5927794575691223, -0.4698408246040344, 0.23001359403133392, 0.19048330187797546, 0.5446653962135315, 0.18831253051757812, -0.16723529994487762, 0.4780901372432709, 0.12549157440662384, -0.7005481719970703, -0.679829478263855, 0.4127489924430847, -1.5048010349273682, -0.276326447725296, 0.8958112001419067, -0.13190260529518127, -0.27735117077827454, -0.22537049651145935, -0.7010223269462585, 0.18213124573230743, -0.8008521795272827, 0.160136416554451, 0.2579978406429291, -0.17914636433124542, -0.36761564016342163, -0.5612040162086487, 0.21139858663082123, 0.34330692887306213, -0.6696276068687439, -0.144568532705307, 0.6487778425216675, 0.1765364706516266, 0.44774627685546875, 0.2736126184463501, 0.14489410817623138, 0.3640136420726776, -0.3316861689090729, -0.018064752221107483, -0.4324130117893219, -0.7573398947715759, -0.324355810880661, 0.807651162147522, -0.227190762758255, -0.7529130578041077 ]
http://arxiv.org/abs/2406.16611v1
http://arxiv.org/pdf/2406.16611v1
Evaluation of Language Models in the Medical Context Under Resource-Constrained Settings
2024-06-24T12:52:02
2024-06-24T12:52:02
Andrea Posada, Daniel Rueckert, Felix Meissen, Philip Müller
cs.CL
cs.CL, cs.AI
Since the emergence of the Transformer architecture, language model development has increased, driven by their promising potential. However, releasing these models into production requires properly understanding their behavior, particularly in sensitive domains such as medicine. Despite this need, the medical literature still lacks technical assessments of pre-trained language models, which are especially valuable in resource-constrained settings in terms of computational power or limited budget. To address this gap, we provide a comprehensive survey of language models in the medical domain. In addition, we selected a subset of these models for thorough evaluation, focusing on classification and text generation tasks. Our subset encompasses 53 models, ranging from 110 million to 13 billion parameters, spanning the three families of Transformer-based models and from diverse knowledge domains. This study employs a series of approaches for text classification together with zero-shot prompting instead of model training or fine-tuning, which closely resembles the limited resource setting in which many users of language models find themselves. Encouragingly, our findings reveal remarkable performance across various tasks and datasets, underscoring the latent potential of certain models to contain medical knowledge, even without domain specialization. Consequently, our study advocates for further exploration of model applications in medical contexts, particularly in resource-constrained settings. The code is available on https://github.com/anpoc/Language-models-in-medicine.
[ -0.07792337983846664, -0.41313332319259644, 0.6571694016456604, -0.10554616898298264, -0.04462655633687973, -0.022848837077617645, -0.38089317083358765, -0.30171406269073486, -0.2681461572647095, 0.5918357968330383, -0.5014883875846863, -0.2787550687789917, -0.7505131959915161, 0.28310149908065796, -0.3007800281047821, 1.1332205533981323, -0.09493060410022736, 0.2726314663887024, -0.3923199772834778, -0.2550000548362732, -0.5317829251289368, -0.6342579126358032, -0.3527851104736328, -0.48556455969810486, 0.2672695815563202, 0.11740542203187943, 0.49703362584114075, 0.6406699419021606, 0.7512657642364502, 0.2788429856300354, -0.19581687450408936, -0.08975980430841446, -0.2596467435359955, 0.18381547927856445, -0.18018151819705963, -0.201289564371109, -0.3058330714702606, 0.08755702525377274, 0.42504745721817017, 0.9530918598175049, -0.06329254806041718, 0.22702625393867493, -0.14550967514514923, 0.32312437891960144, -0.6147585511207581, 0.13281725347042084, -0.4704808294773102, 0.08694109320640564, -0.1392301768064499, 0.10903415828943253, -0.4634408950805664, -0.22751395404338837, 0.5433136224746704, -0.2869352102279663, 0.3656924366950989, 0.03301669657230377, 0.9321068525314331, 0.386453241109848, -0.4644448757171631, -0.2478800266981125, -0.9468375444412231, 0.8257293701171875, -0.6048361659049988, 0.3862875699996948, 0.43271660804748535, 0.3900231719017029, 0.24095140397548676, -0.8886733651161194, -0.4007461667060852, -0.4357186555862427, -0.17877408862113953, 0.008009793236851692, -0.45780715346336365, 0.20881563425064087, 0.16664084792137146, 0.42135801911354065, -0.4906831979751587, 0.24689935147762299, -0.515755832195282, -0.1326373964548111, 0.2480221539735794, 0.345602422952652, 0.5374550819396973, -0.4142093360424042, 0.060138702392578125, -0.006301990710198879, -0.42569077014923096, -0.21896173059940338, -0.23047558963298798, 0.1783943772315979, -0.21802249550819397, 0.5545377731323242, 0.08024769276380539, 0.8794644474983215, -0.2484530657529831, -0.22378678619861603, 0.07184142619371414, -0.5304320454597473, -0.38615182042121887, -0.4288936257362366, 0.9614386558532715, 0.17659565806388855, 0.1500183343887329, -0.21092526614665985, -0.24430575966835022, 0.2018052041530609, 0.7264991402626038, -0.9462904334068298, -0.14374350011348724, 0.1513155996799469, -0.6506121158599854, -0.35776400566101074, -0.5158849954605103, -0.6153751015663147, -0.44861921668052673, 0.014654750935733318, 0.07984064519405365, -0.5140703916549683, -0.2577263414859772, 0.18237946927547455, 0.18222865462303162, -0.23609840869903564, 0.0358130969107151, -0.9077820181846619, 0.499051958322525, 0.36684033274650574, 0.8097756505012512, -0.17326851189136505, 0.039075788110494614, -0.010643995366990566, -0.2824684679508209, -0.3182327151298523, 0.7835285663604736, -0.5880196690559387, -0.5855274200439453, 0.04175296798348427, -0.14943502843379974, -0.3798774182796478, -0.6948568820953369, 0.7563320994377136, -0.3035873472690582, 0.32195043563842773, 0.10623054951429367, -0.5662428736686707, -0.13751395046710968, 0.1805838942527771, -0.7150600552558899, 0.4206278622150421, 0.4534216523170471, -0.6312295794487, 0.31275230646133423, -0.7948296070098877, -0.5147683024406433, 0.2673195004463196, -0.41923144459724426, -0.5699286460876465, 0.395557165145874, 0.09343712031841278, 0.6015042662620544, -0.8263789415359497, 0.5619462728500366, 0.05481373891234398, -0.07648360729217529, 0.43667933344841003, -0.48871946334838867, 0.6282733082771301, 0.39522668719291687, -0.0719846785068512, 0.11161082983016968, -0.700644850730896, -0.025190062820911407, 0.28666457533836365, -0.2134285271167755, -0.33366864919662476, 0.06307527422904968, 0.31888553500175476, 0.24558427929878235, -0.023726627230644226, -0.47387832403182983, 0.03314531594514847, -0.5438551902770996, 0.5640315413475037, 0.09222788363695145, -0.019431889057159424, 0.4882587194442749, -0.29860174655914307, 0.8566513061523438, -0.23670439422130585, 0.36085930466651917, -0.24129894375801086, -0.29758358001708984, -0.6136943697929382, -0.287342369556427, 0.5235669612884521, 0.4954485297203064, -0.6878087520599365, 0.2458062320947647, -0.45445606112480164, -0.6354436278343201, -0.8483703136444092, -0.2232067734003067, 0.585504412651062, 0.68429034948349, 0.4005829095840454, -0.11317112296819687, -0.20644645392894745, -0.954512894153595, -0.0839417353272438, -0.21726253628730774, -0.24853633344173431, 0.7733383774757385, 0.4282342195510864, -0.4172750413417816, 0.6933553218841553, -0.36714640259742737, -0.08869920670986176, -0.5037711262702942, -0.04996604099869728, 0.02292710728943348, 0.30775371193885803, 0.6477819681167603, -0.7128995060920715, -0.1286504864692688, 0.18227773904800415, -0.6441752910614014, -0.35114848613739014, 0.007583043538033962, 0.22036544978618622, 0.0018663585651665926, 0.1783626824617386, -0.33025798201560974, 0.3808598518371582, 0.8701557517051697, -0.31607556343078613, 0.37273073196411133, -0.28516870737075806, 0.12478964030742645, -0.9517319798469543, 0.45325151085853577, 0.10017336905002594, -0.1587909311056137, -1.0349644422531128, -0.03271772339940071, 0.1633482575416565, -0.35918527841567993, -0.27670934796333313, 0.7269429564476013, -0.33013078570365906, 0.3943950831890106, -0.3854765295982361, -0.24750396609306335, -0.03790814429521561, 0.1594836562871933, 0.25911521911621094, 0.5424699187278748, 0.5393679141998291, -0.5518133044242859, -0.1114947572350502, 0.2454044073820114, -0.44469526410102844, 0.2517286241054535, -0.7619292140007019, -0.1282874494791031, 0.04387136921286583, -0.054108936339616776, -0.5536888837814331, -0.29351070523262024, 0.11775638908147812, -0.20889289677143097, 0.42196083068847656, -0.15258905291557312, -0.35305652022361755, -0.45148301124572754, 0.22927182912826538, 0.6585020422935486, 0.6965440511703491, -0.1261119246482849, 0.4018581807613373, 0.5943028926849365, -0.24489988386631012, -0.2125997096300125, -0.4542613625526428, -0.15694567561149597, 0.00046462882892228663, -0.2382514625787735, 0.42177897691726685, -0.041766658425331116, -0.16925208270549774, 0.019100084900856018, -0.17752394080162048, -0.38284412026405334, 0.13783815503120422, 0.32831066846847534, 0.4983361065387726, -0.11546777933835983, 0.3503760099411011, 0.12087792903184891, -0.10042732208967209, -0.06061461195349693, -0.05928899347782135, 0.5009027123451233, 0.006462752819061279, -0.351806640625, -0.3233788013458252, 0.18573002517223358, 0.7850980162620544, -0.37349697947502136, 0.6683603525161743, 0.22674056887626648, -0.6037437915802002, -0.023012055084109306, -0.5557454824447632, -0.1511881947517395, -0.37351518869400024, 0.6339674592018127, -0.07513419538736343, -0.9588167667388916, 0.2640034258365631, -0.18749117851257324, -0.06812514364719391, 0.5314350128173828, 0.7139573693275452, 0.2840729355812073, 0.8919553160667419, 0.755420446395874, 0.17894954979419708, 0.2739758789539337, -0.0722658708691597, 0.27112632989883423, -0.6583610773086548, -0.23734238743782043, -0.6539262533187866, 0.1671653389930725, -0.4869959056377411, -0.41054588556289673, 0.5756958723068237, -0.31078457832336426, 0.032579340040683746, 0.2271629273891449, -0.73350590467453, 0.26750075817108154, 0.08255145698785782, -0.03613894060254097, 0.10010672360658646, -0.2030465304851532, -0.2663394510746002, -0.05242380127310753, -0.9507589340209961, -0.6761791706085205, 1.090909719467163, 0.5189969539642334, 0.6106481552124023, -0.40227457880973816, 0.30325737595558167, -0.14742614328861237, 0.5723893642425537, -0.9138036370277405, 0.2576410472393036, -0.528173565864563, -0.6788829565048218, -0.0961548238992691, -0.6052847504615784, -0.9356814026832581, -0.025851624086499214, -0.3768950402736664, -0.4666653871536255, -0.02281375043094158, 0.1314021497964859, -0.8067814111709595, 0.24981307983398438, -0.6819875240325928, 1.048965334892273, -0.2429618239402771, 0.03154014050960541, -0.10547830164432526, -0.5468955039978027, 0.2985037565231323, -0.5772658586502075, 0.17203694581985474, -0.17953018844127655, -0.05935890972614288, 0.6392756700515747, -0.36943262815475464, 0.757480800151825, 0.04295654222369194, 0.06761441379785538, 0.07916038483381271, 0.15304559469223022, -0.1293441653251648, -0.16865858435630798, -0.12074007093906403, 0.4302610158920288, 0.16973955929279327, -0.13133493065834045, -0.43812012672424316, 0.35900649428367615, -0.5996278524398804, -0.28230398893356323, -0.21616828441619873, -0.5754615664482117, -0.37013381719589233, 0.2759380340576172, 0.5988312363624573, 0.4760107696056366, -0.3679310977458954, 0.08211226761341095, 0.4435310959815979, -0.6440486311912537, 0.31242749094963074, 0.5827982425689697, -0.05895008519291878, -0.18101724982261658, 0.6536468863487244, 0.17789366841316223, 0.14215297996997833, 0.2960836887359619, 0.29322347044944763, -0.17561298608779907, -0.875809907913208, -0.41663721203804016, 0.29452428221702576, -0.18095889687538147, -0.3699165880680084, -0.7524469494819641, -0.6062449812889099, -0.2749212682247162, -0.007498730439692736, -0.4324984848499298, -0.26182821393013, -0.21868088841438293, 0.15731509029865265, 0.10854732990264893, 0.9539292454719543, 0.48376673460006714, 0.4135243892669678, -0.9776484966278076, 0.1992097795009613, 0.05959414690732956, 0.678618311882019, -0.05885128676891327, -0.49840089678764343, -0.35027220845222473, -0.31328603625297546, -0.2706613540649414, -0.9237020611763, 0.5254160165786743, 0.11980212479829788, 0.5380184054374695, 0.25843507051467896, 0.03296208754181862, 0.31422412395477295, -0.9495565295219421, 0.6254317164421082, 0.21105723083019257, -0.8995590209960938, 0.6960530877113342, -0.11820513755083084, 0.47066622972488403, 0.4724220931529999, 0.463118314743042, -0.5689986944198608, -0.4834127128124237, -0.5696188807487488, -0.6725082993507385, 0.7744488716125488, 0.3996858298778534, 0.2932072579860687, -0.11082296818494797, 0.42128124833106995, 0.14489422738552094, 0.11902035772800446, -0.6709883213043213, -0.10326558351516724, -0.026817290112376213, -0.3621835708618164, 0.09305533021688461, -0.2860465943813324, 0.007404623087495565, -0.09876375645399094, 0.40113192796707153, -0.040709611028432846, 0.20110946893692017, 0.13614006340503693, -0.09797390550374985, -0.11918549984693527, 0.4128561019897461, 0.534024178981781, 0.4766695201396942, 0.10790631920099258, -0.15036354959011078, 0.23464296758174896, -0.6297045946121216, 0.11334024369716644, 0.2526797950267792, -0.14760763943195343, 0.03278934955596924, 0.49715328216552734, 0.9200938940048218, 0.20172828435897827, -0.9485912322998047, 0.6570576429367065, -0.3633369207382202, 0.02041706256568432, 0.18530124425888062, 0.037240613251924515, -0.1887071430683136, 0.07350441813468933, -0.08253709226846695, 0.3147818148136139, 0.19077977538108826, -0.010360761545598507, 0.05318465828895569, 0.291047066450119, -0.38306787610054016, -0.45696938037872314, 0.7327372431755066, 0.19822950661182404, -0.31056106090545654, 0.6597183346748352, -0.03920360654592514, -0.36106428503990173, 0.4229278862476349, 0.5423804521560669, 0.8706619143486023, -0.38646480441093445, 0.17260640859603882, 0.304278165102005, 0.22718818485736847, -0.031429473310709, 0.01804382912814617, 0.12656286358833313, -0.7608939409255981, -0.5496127009391785, -0.7494508028030396, -0.3071437180042267, 0.36671537160873413, -0.5266895294189453, 0.18786202371120453, -0.3835471570491791, -0.6275746822357178, 0.21197974681854248, -0.13545434176921844, -0.808417797088623, 0.2029586285352707, 0.2526141107082367, 0.8318259119987488, -0.7244321703910828, 0.8547050952911377, 0.8527265787124634, -0.31628918647766113, -0.5704748034477234, 0.061922818422317505, -0.21953266859054565, -0.7656946182250977, 0.4979651868343353, 0.06463678926229477, 0.011839909479022026, -0.2974146604537964, -0.21179993450641632, -0.39813512563705444, 0.7347800731658936, 0.507476270198822, -0.5136865973472595, -0.3900172710418701, 0.16748261451721191, 0.9167177677154541, -0.3529542088508606, 0.31995290517807007, 0.5469480156898499, 0.07291160523891449, -0.15324057638645172, -1.396910309791565, 0.026589244604110718, -0.4202437698841095, 0.25497785210609436, 0.12422548234462738, -0.3554512560367584, 0.7247908115386963, -0.2913552224636078, -0.37633830308914185, 0.21306918561458588, 0.11503838747739792, 0.07801312953233719, 0.07862042635679245, 0.42265379428863525, 0.19908277690410614, 0.6113556623458862, -0.10263484716415405, 1.2952598333358765, -0.5859465599060059, 0.32767751812934875, 0.6251708269119263, -0.3001733422279358, 0.6845952868461609, 0.18323373794555664, -0.08319608122110367, 0.25281253457069397, 0.3775458037853241, -0.03569681942462921, 0.38303831219673157, 0.20002399384975433, -0.3412512540817261, -0.2311124950647354, -0.56429523229599, -0.1988307237625122, 0.5832725167274475, 0.4499971568584442, -0.6906631588935852, -0.09516234695911407, 0.24817973375320435, 0.031191721558570862, 0.12689746916294098, -0.24863925576210022, 0.8344423770904541, 0.15175850689411163, -0.6036463975906372, 0.5634765625, 0.055237866938114166, 0.4077245593070984, -0.5621282458305359, 0.13448545336723328, -0.08255048841238022, 0.007470952346920967, 0.04865875467658043, -0.4258258640766144, 0.3760530352592468, 0.41564834117889404, -0.2656026780605316, -0.3837905824184418, 0.8954076766967773, -0.25068411231040955, -0.6000800728797913, 0.23693306744098663, 0.7620754241943359, 0.007733028382062912, 0.17605026066303253, -0.4675658643245697, 0.027208944782614708, -0.08626041561365128, -0.09187664091587067, 0.19019006192684174, 0.4242817461490631, -0.04395613074302673, 0.6563129425048828, 0.22370268404483795, 0.37100085616111755, -0.2666402757167816, 0.15325485169887543, 0.7222592830657959, -0.5447582006454468, -0.26165062189102173, -0.9428577423095703, 0.2977961599826813, 0.17686311900615692, -0.30999287962913513, 0.2771231234073639, 0.4181537628173828, 0.5560511946678162, -0.23288927972316742, 0.8828679919242859, 0.12063773721456528, 0.6079648733139038, -0.2699856758117676, 1.1403131484985352, -0.5901994705200195, 0.15475012362003326, -0.111822210252285, -0.27701207995414734, -0.634319543838501, 0.5289085507392883, -0.4159849286079407, 0.1510329395532608, 0.6285004019737244, 0.4521043300628662, -0.01461012102663517, -0.023049352690577507, 0.5563793182373047, 0.13783343136310577, 0.066687673330307, 0.5804364681243896, 0.7655073404312134, -0.24546629190444946, 0.5184686779975891, -0.3001031279563904, -0.3207923471927643, -0.052739620208740234, -0.7124089598655701, -0.9648011922836304, -0.6281332969665527, -0.2825322449207306, -0.11587456613779068, -0.10441412776708603, 0.9260031580924988, 0.9413282871246338, -0.8134443759918213, -0.2017526477575302, 0.11019442975521088, -0.17697352170944214, 0.05351635813713074, -0.08352898061275482, 0.32301682233810425, -0.3988068699836731, -0.6886056661605835, 0.3204006254673004, 0.34493857622146606, 0.27172523736953735, -0.1528567522764206, 0.10933908820152283, 0.28677988052368164, 0.12028061598539352, 0.5618106722831726, 0.19982647895812988, -0.6815076470375061, 0.1403139978647232, 0.34954896569252014, -0.24783876538276672, -0.11448289453983307, 1.030958652496338, -0.8468242883682251, 0.5590354204177856, 0.24353571236133575, 0.7964157462120056, 0.059061527252197266, -0.42556673288345337, 0.6412134766578674, -0.6385653018951416, -0.15210160613059998, 0.6314382553100586, 0.4664771258831024, 0.3815503418445587, -0.1789708435535431, 0.43078750371932983, 0.052718572318553925, -0.6207165122032166, -0.9397753477096558, 0.1873525083065033, -0.5963634252548218, -0.39309176802635193, 1.0020841360092163, -0.017983267083764076, 0.014946423470973969, -0.009365829639136791, -0.18403489887714386, 0.46555501222610474, -0.01760619319975376, 0.7813636660575867, 0.5789055228233337, -0.23973263800144196, 0.019751960411667824, -0.8159952163696289, 0.6406069397926331, 0.39905643463134766, -0.8973080515861511, 0.13532023131847382, 0.3923299014568329, 0.17898297309875488, 0.27815741300582886, 0.7695844173431396, -0.3279007077217102, 0.1619732826948166, -0.2388928085565567, 0.17169047892093658, 0.18521592020988464, -0.36437156796455383, -0.6038693189620972, 0.14957867562770844, 0.14157646894454956, -0.01991385594010353 ]
http://arxiv.org/abs/2406.16605v1
http://arxiv.org/pdf/2406.16605v1
CLEAR: Can Language Models Really Understand Causal Graphs?
2024-06-24T12:46:15
2024-06-24T12:46:15
Sirui Chen, Mengying Xu, Kun Wang, Xingyu Zeng, Rui Zhao, Shengjie Zhao, Chaochao Lu
cs.CL
cs.CL, cs.AI, cs.LG, stat.ME
Causal reasoning is a cornerstone of how humans interpret the world. To model and reason about causality, causal graphs offer a concise yet effective solution. Given the impressive advancements in language models, a crucial question arises: can they really understand causal graphs? To this end, we pioneer an investigation into language models' understanding of causal graphs. Specifically, we develop a framework to define causal graph understanding, by assessing language models' behaviors through four practical criteria derived from diverse disciplines (e.g., philosophy and psychology). We then develop CLEAR, a novel benchmark that defines three complexity levels and encompasses 20 causal graph-based tasks across these levels. Finally, based on our framework and benchmark, we conduct extensive experiments on six leading language models and summarize five empirical findings. Our results indicate that while language models demonstrate a preliminary understanding of causal graphs, significant potential for improvement remains. Our project website is at https://github.com/OpenCausaLab/CLEAR.
[ -0.10568799823522568, -0.9083954095840454, 0.9628021121025085, 0.28408733010292053, -0.0007179593667387962, -0.17591269314289093, -0.05814708396792412, -0.764152467250824, -0.5222908854484558, 0.5306812524795532, -0.5245411396026611, -0.4835759103298187, -0.6461663842201233, 0.025547774508595467, -0.6179147362709045, 0.6890061497688293, -0.10312750935554504, 0.08252217620611191, 0.01610761322081089, -0.15550057590007782, -0.567791759967804, 0.062106307595968246, -0.9178316593170166, -0.674920916557312, 0.6678086519241333, 0.254129558801651, 0.756088137626648, 0.8413369655609131, 0.38006505370140076, 0.3638828992843628, -0.17753300070762634, -0.06163476034998894, -0.744586169719696, -0.13253191113471985, -0.6722856760025024, -0.3703766167163849, -0.23376739025115967, 0.08102734386920929, 0.5954521894454956, 1.4780250787734985, 0.07758898288011551, 0.1714630424976349, -0.0023682434111833572, 0.4306718409061432, -0.6082642674446106, 0.6129264235496521, -0.31478598713874817, -0.17051249742507935, 0.0283298809081316, 0.17267197370529175, -0.8650243282318115, -0.3337966203689575, 0.011304016225039959, -0.7162448763847351, 0.35162031650543213, 0.22557388246059418, 1.0814683437347412, 0.16931940615177155, -0.9995502233505249, 0.033450331538915634, -1.0483218431472778, 0.28711411356925964, -0.6557962894439697, 0.602131724357605, 0.23771442472934723, 0.4855186343193054, -0.31500715017318726, -1.1104928255081177, -0.6318885087966919, -0.11183170229196548, -0.22384320199489594, -0.0352478064596653, -0.3549293875694275, 0.22716812789440155, 0.5207090973854065, 0.12426500767469406, -0.6281585097312927, 0.12141678482294083, -0.46519210934638977, -0.20366016030311584, 0.39839285612106323, 0.21777236461639404, 0.7424615025520325, 0.008889072574675083, -0.1537502557039261, 0.33178070187568665, -0.6140881776809692, -0.005651091691106558, 0.19118624925613403, 0.3841164708137512, -0.28544995188713074, 0.23579981923103333, -0.4421654939651489, 1.031219720840454, -0.3487301468849182, 0.23416735231876373, -0.25912824273109436, -0.3392850160598755, -0.4317559003829956, -0.03730215132236481, 0.6345786452293396, 0.08157403022050858, 0.5472207069396973, -0.4035544991493225, 0.234237402677536, 0.09745503216981888, 0.042441293597221375, -0.6911595463752747, -0.450574666261673, 0.10213655978441238, -0.42713668942451477, -0.012207617983222008, -0.08969481289386749, 0.04768739640712738, -0.7542887330055237, -0.494167298078537, 0.16960696876049042, -0.3151828646659851, -0.44724443554878235, 0.6700740456581116, -0.22630445659160614, 0.013133106753230095, 0.5295985341072083, -0.5359504222869873, 0.4589938521385193, 0.9061124324798584, 0.5278010368347168, 0.40160948038101196, -0.4319964647293091, -0.27616581320762634, 0.2040490359067917, -0.4603090286254883, 0.8593042492866516, -0.360819011926651, 0.0903044268488884, -0.025723254308104515, -0.025937626138329506, -0.21882003545761108, -0.146448016166687, 0.8111284375190735, -0.6627458333969116, 0.10662247240543365, -0.4042925238609314, -0.7003543376922607, -0.5837836265563965, 0.07730476558208466, -0.8112578392028809, 0.37483808398246765, -0.32705578207969666, -0.7074688076972961, 0.6353244781494141, -0.228977233171463, -0.41056278347969055, 0.0910252034664154, -0.007602043449878693, 0.02486618235707283, 0.09884469211101532, -0.028612907975912094, 0.26443004608154297, -0.6766129732131958, 0.8080599308013916, -0.574568510055542, -0.28800082206726074, 0.3115706145763397, -0.4030352532863617, 1.1053613424301147, 0.2373427152633667, -0.36109209060668945, 0.27766481041908264, -0.7145204544067383, -0.14509588479995728, 0.09973671287298203, 0.13004596531391144, -0.24804985523223877, 0.35796058177948, -0.18506957590579987, 0.35773301124572754, 0.06123539060354233, -0.4892968535423279, -0.09526132792234421, -0.3475489020347595, 0.4361574351787567, 0.6428236365318298, -0.08577974140644073, 0.13751181960105896, 0.06993087381124496, 0.042825475335121155, -0.25086918473243713, 0.25194355845451355, -0.15632317960262299, -0.5884149074554443, -0.7049898505210876, -0.17794938385486603, -0.06357741355895996, 0.2321721762418747, -0.20008939504623413, 0.27919527888298035, -0.2611452043056488, -0.4618726968765259, -0.18174879252910614, -0.16165809333324432, 0.6241452693939209, 1.0182509422302246, 0.2395235002040863, -0.1314622163772583, -0.3348412811756134, -0.8430003523826599, -0.6761634349822998, -0.491747111082077, 0.10703939199447632, 0.27712902426719666, 0.6926833391189575, -0.05138353258371353, 0.9190575480461121, -0.8460191488265991, 0.38660064339637756, -0.25071027874946594, 0.3912588059902191, 0.3895159065723419, 0.2328345626592636, 0.1603219360113144, -0.6949688196182251, -0.16297052800655365, -0.013978144153952599, -1.047070860862732, -0.3087863028049469, -0.0265196580439806, -0.14971594512462616, -0.5535056591033936, 0.873342752456665, -0.23361778259277344, 0.4091964066028595, 0.24230055510997772, -1.0433202981948853, 0.5593240261077881, -0.2474127858877182, 0.10746191442012787, -0.29364150762557983, 0.4596715569496155, -0.0811816155910492, -0.331356018781662, -0.9587586522102356, -0.012902488932013512, 0.08899606764316559, -0.30257081985473633, -0.3162694275379181, 0.7384101152420044, -0.19606059789657593, 0.07199690490961075, -0.09674771875143051, 0.26380664110183716, 0.15674594044685364, 0.3982326090335846, -0.10421879589557648, 0.08684994280338287, 0.5229891538619995, -0.5494064092636108, 0.026558255776762962, 0.0167705025523901, -0.5836928486824036, 0.48029276728630066, -0.8780080676078796, -0.1585676223039627, -0.37694984674453735, 0.2487928867340088, -1.1902401447296143, -0.33961644768714905, 0.25792941451072693, -0.2674439251422882, 0.0720626711845398, -0.138264462351799, -0.6547219753265381, -0.30378809571266174, 0.4806135594844818, 0.4109947085380554, 0.1863594651222229, -0.4188672602176666, 0.3094567060470581, 0.3280949890613556, 0.23241353034973145, -0.4267268180847168, -0.42569252848625183, 0.023125160485506058, 0.11952076852321625, -0.7986772656440735, -0.004127345979213715, -0.05155057832598686, -0.5231571197509766, 0.1063702180981636, -0.23307546973228455, -0.37183547019958496, 0.39211151003837585, 0.22720572352409363, -0.25408586859703064, -0.11609814316034317, 0.32746416330337524, -0.09013590216636658, -0.3363878130912781, 0.15551669895648956, -0.3639669120311737, 0.39409124851226807, -0.22365553677082062, -0.4663824141025543, -0.6320517063140869, -0.06740344315767288, 0.4993436336517334, -0.3244343101978302, 0.8123807311058044, 0.3763287663459778, -0.5774238705635071, -0.0040343152359128, -0.34976139664649963, -0.010586682707071304, -0.4265763461589813, 0.15868937969207764, -0.3565213084220886, -0.8298866748809814, 0.7574358582496643, -0.3184480369091034, -0.26898816227912903, 0.5441253781318665, 0.18805597722530365, 0.10653097182512283, 1.404821515083313, 0.6817457675933838, 0.12335178256034851, 0.3174391984939575, 0.018711348995566368, 0.3610007166862488, -0.332724392414093, -0.3936854898929596, -0.8302329778671265, 0.10965310782194138, -0.38270094990730286, -0.052410516887903214, 0.029154004529118538, 0.6011022925376892, -0.8514471054077148, 0.07846461236476898, -0.18681491911411285, 0.5911514759063721, 0.07039718329906464, 0.1032133474946022, 0.4186975657939911, -0.36035531759262085, -0.08856676518917084, 0.291456013917923, -0.4923446774482727, -0.6424267292022705, 0.5509229898452759, 0.35014277696609497, 0.6069517731666565, 0.2174447476863861, 0.26975610852241516, 0.06315314024686813, 0.41842880845069885, -0.2487923502922058, 0.6161456108093262, 0.05042193457484245, -0.8182795643806458, -0.32078680396080017, -0.5249394774436951, -1.1248279809951782, 0.32352522015571594, 0.004194261506199837, -0.9853730797767639, 0.19427599012851715, 0.19554704427719116, 0.16602377593517303, 0.29743340611457825, -0.7497336268424988, 1.474951148033142, -0.011683718301355839, -0.3723525404930115, -0.33010321855545044, -0.7445857524871826, 0.7640149593353271, 0.23610122501850128, 0.5824613571166992, -0.4791806638240814, 0.29722750186920166, 0.72050541639328, -0.5653887391090393, 1.0133839845657349, -0.1980573832988739, -0.17443236708641052, 0.29422077536582947, 0.19625705480575562, 0.19096875190734863, -0.11801235377788544, -0.18809136748313904, 0.24843406677246094, -0.2994263172149658, -0.5728598833084106, -0.7615513801574707, 0.4697378873825073, -0.6640369296073914, -0.4348433017730713, 0.0007907424587756395, -0.48906323313713074, 0.024492569267749786, 0.7016445994377136, -0.1497678905725479, 0.6006128191947937, -0.2977939248085022, -0.35169821977615356, 0.5282189249992371, -0.2501550018787384, 0.05433548614382744, 0.8695582747459412, -0.2698507308959961, 0.04108728840947151, 0.7700203657150269, -0.1916802078485489, 0.37787866592407227, 0.3408190906047821, 0.5721157789230347, -0.20186705887317657, -0.4988313913345337, -0.15315653383731842, 0.5418329238891602, -1.0917285680770874, 0.26521870493888855, -0.4645887315273285, 0.16211144626140594, -0.4158988296985626, -0.11495271325111389, 0.002748129889369011, -0.37691864371299744, -0.0451081357896328, -0.2081957459449768, 0.06970131397247314, 1.0672305822372437, -0.08738362044095993, 0.33866992592811584, -0.4680439233779907, 0.3920009732246399, 0.26024720072746277, 0.5046449303627014, 0.22547569870948792, -0.2737903892993927, -0.07061469554901123, -0.04788242653012276, 0.05141836777329445, -1.12477445602417, 0.11386521905660629, -0.13733850419521332, 0.6025081872940063, 0.6794702410697937, -0.14011552929878235, 0.6973208785057068, -0.7007032036781311, 0.5743472576141357, 0.1847935914993286, -1.2214055061340332, 0.5913839340209961, -0.4932560324668884, 0.39424362778663635, 0.4151735305786133, 0.35316726565361023, -0.6731343269348145, -0.7507038712501526, -0.623074471950531, -0.6070506572723389, 0.6541706919670105, 0.21018142998218536, -0.28627684712409973, -0.00328790582716465, 0.5536088943481445, -0.15246902406215668, -0.027637904509902, -0.7800010442733765, -0.3197212517261505, -0.0063286940567195415, -0.22643932700157166, -0.2208607792854309, -0.004143732599914074, -0.14014273881912231, -0.20566284656524658, 0.21894121170043945, 0.0554802380502224, -0.011880340985953808, 0.049343764781951904, -0.3147261142730713, -0.1106235533952713, 0.23020780086517334, 0.5229148268699646, 0.9977237582206726, -0.1419377475976944, 0.5433691740036011, -0.04097067192196846, -0.21160942316055298, -0.009827238507568836, 0.11090794950723648, -0.17291051149368286, -0.2779310643672943, 0.9798510074615479, 0.8429555892944336, 0.48639318346977234, -0.6498413681983948, 0.3692997097969055, -0.2607162594795227, 0.1482308954000473, 0.2833774983882904, 0.11259866505861282, 0.1815238893032074, 0.07071937620639801, 0.009165355935692787, -0.10510201007127762, 0.4134189784526825, -0.5714349746704102, 0.08463996648788452, 0.1518169492483139, -0.6207996010780334, -0.4538154900074005, 0.9340970516204834, 0.11411424726247787, -0.12968601286411285, 0.622802734375, -0.229046031832695, -0.5239838361740112, 0.8551924228668213, 0.7207972407341003, 0.7587792873382568, -0.11971531063318253, 0.14848364889621735, 0.5224748253822327, 0.5637926459312439, -0.11574460566043854, 0.35332417488098145, 0.010178156197071075, -0.8084164261817932, -0.5778964161872864, -0.35356464982032776, -0.3701116740703583, -0.22175706923007965, -0.4699692726135254, 0.1869988888502121, -0.2523611783981323, 0.15812154114246368, 0.3680093288421631, -0.19342420995235443, -0.6689399480819702, 0.4147455096244812, -0.04283371567726135, 0.8772368431091309, -1.2483751773834229, 0.4803744852542877, 0.2840100824832916, -0.7324331402778625, -0.9387369751930237, -0.33776015043258667, 0.045460041612386703, -0.6343921422958374, 1.124752402305603, 0.3257978856563568, -0.3855314254760742, -0.04618944972753525, -0.6957370638847351, -0.729263186454773, 0.6562350988388062, 0.6323862671852112, -0.28198567032814026, 0.16298756003379822, 0.11822937428951263, 0.5783979296684265, 0.07331211119890213, 0.4006049335002899, 0.587440013885498, 0.6708461046218872, -0.16505515575408936, -0.788154125213623, 0.3929629921913147, -0.17135176062583923, -0.3579314649105072, 0.3179076313972473, -0.21411798894405365, 0.8321471214294434, -0.34093746542930603, -0.6276458501815796, -0.27825531363487244, 0.732701301574707, -0.017625324428081512, 0.5034647583961487, 0.5282636284828186, 0.3797186315059662, 1.06460440158844, -0.088563933968544, 1.2494853734970093, -0.4069775342941284, 0.4411201775074005, 1.147592306137085, -0.3083396852016449, 0.2712756097316742, -0.1223413422703743, 0.013903636485338211, 0.7591407895088196, 0.373294472694397, 0.4413403570652008, 0.28790366649627686, 0.4554053246974945, -0.16803458333015442, -0.5923395752906799, -0.32177913188934326, -0.06493420153856277, 0.1943415403366089, 0.4187704920768738, -0.13562259078025818, -0.4608532190322876, -0.1891331672668457, 0.27514025568962097, 0.21656998991966248, -0.4087892770767212, 0.4399072527885437, 0.05123225599527359, -0.7001331448554993, 0.3959662616252899, 0.11304789036512375, -0.2395823895931244, -0.5704823136329651, -0.019000984728336334, 0.008073018863797188, 0.2979976534843445, -0.25310441851615906, -0.8859758377075195, 0.28182679414749146, -0.07541567087173462, -0.07489190995693207, -0.2601947486400604, 0.831281840801239, -0.29732900857925415, -0.2866782248020172, 0.33945077657699585, 0.42861250042915344, 0.17956915497779846, 0.1182478591799736, -0.49330154061317444, 0.029302166774868965, -0.29096052050590515, 0.215018168091774, -0.21623492240905762, 0.5083918571472168, -0.24248871207237244, 0.8216524720191956, 0.5344611406326294, 0.010351266711950302, -0.04365396872162819, 0.4523198902606964, 0.4987296760082245, -0.6840295791625977, -0.37226614356040955, -0.9626128077507019, 0.5126872062683105, -0.1778949350118637, -0.2072611302137375, 0.839907705783844, 0.3965027630329132, 0.6793931126594543, 0.19509291648864746, 0.4854011833667755, 0.12855912744998932, 0.10632230341434479, -0.36834052205085754, 0.7170689702033997, -0.46618857979774475, -0.00529179722070694, -0.39699116349220276, -0.1942445933818817, -0.7041382789611816, 0.4378627836704254, -0.6011168360710144, -0.030972920358181, 0.7952634692192078, 0.5259625911712646, -0.052189648151397705, 0.1760789453983307, 0.12352362275123596, 0.5442849397659302, 0.7404453754425049, 0.4814518690109253, 0.9238031506538391, -0.10631725937128067, 0.4010052978992462, 0.013556993566453457, -0.349284827709198, 0.06918551027774811, -0.9130876064300537, -0.766772985458374, -0.4531204402446747, -0.4423028826713562, -0.22322788834571838, 0.019047921523451805, 0.011789250187575817, 0.5334171652793884, -0.5219243764877319, -0.3502005934715271, -0.6694899797439575, 0.7753056287765503, -0.3955196738243103, -0.19287224113941193, 0.573759138584137, -0.5177564024925232, -0.3956134617328644, 0.29401111602783203, 0.34007909893989563, -0.3403685390949249, -0.07881836593151093, 0.020033355802297592, -0.26742294430732727, 0.19126176834106445, 0.5686584711074829, 0.5349003672599792, -0.6699256300926208, -0.5212780833244324, -0.25654280185699463, -0.2506454885005951, -0.4575294852256775, 1.1305813789367676, -0.4935804307460785, 0.837489128112793, 0.8594039678573608, 0.019236277788877487, 0.4638500511646271, -0.33334246277809143, 0.6592738032341003, -0.30056071281433105, 0.1015600934624672, -0.18180935084819794, 0.7067403197288513, 0.17351669073104858, -0.04580727592110634, 0.5624916553497314, 0.23687660694122314, -0.4311605393886566, -0.9546850919723511, 0.6604308485984802, -0.7644984722137451, -0.6660079956054688, 0.7830502390861511, -0.12524425983428955, -0.039775628596544266, -0.5846661925315857, -0.0795527771115303, 0.6501413583755493, 0.18099908530712128, 0.4284737706184387, 0.44585007429122925, -0.3678776025772095, 0.18775224685668945, -0.6174356937408447, 0.31585344672203064, 0.2001810222864151, -0.8653788566589355, 0.3393963873386383, 0.7508325576782227, 0.20474591851234436, 0.03961975872516632, 0.7623439431190491, 0.07462787628173828, 0.276801735162735, -0.010360163636505604, -0.0726606696844101, 0.03292231634259224, -0.4593234956264496, -0.33509132266044617, 0.23987866938114166, 0.26843422651290894, 0.3437293469905853 ]
http://arxiv.org/abs/2406.16567v1
http://arxiv.org/pdf/2406.16567v1
Data Augmentation of Multi-turn Psychological Dialogue via Knowledge-driven Progressive Thought Prompting
2024-06-24T12:02:56
2024-06-24T12:02:56
Jiyue Jiang, Liheng Chen, Sheng Wang, Lingpeng Kong, Yu Li, Chuan Wu
cs.CL
cs.CL
Existing dialogue data augmentation (DA) techniques predominantly focus on augmenting utterance-level dialogues, which makes it difficult to take dialogue contextual information into account. The advent of large language models (LLMs) has simplified the implementation of multi-turn dialogues. Due to absence of professional understanding and knowledge, it remains challenging to deliver satisfactory performance in low-resource domain, like psychological dialogue dialogue. DA involves creating new training or prompting data based on the existing data, which help the model better understand and generate psychology-related responses. In this paper, we aim to address the issue of multi-turn dialogue data augmentation for boosted performance in the psychology domain. We propose a knowledge-driven progressive thought prompting method to guide LLM to generate multi-turn psychology-related dialogue. This method integrates a progressive thought generator, a psychology knowledge generator, and a multi-turn dialogue generator. The thought generated by the progressive thought generator serves as a prompt to prevent the generated dialogue from having significant semantic deviations, while the psychology knowledge generator produces psychological knowledge to serve as the dialogue history for the LLM, guiding the dialogue generator to create multi-turn psychological dialogue. To ensure the precision of multi-turn psychological dialogue generation by LLM, a meticulous professional evaluation is required. Extensive experiments conducted on three datasets related to psychological dialogue verify the effectiveness of the proposed method.
[ -0.7392662167549133, -1.0417497158050537, 0.8207657933235168, 0.4139866232872009, -0.1601814180612564, 0.21506674587726593, -0.3935627043247223, -0.10784892737865448, 0.13762585818767548, 0.4651227295398712, -1.394055724143982, -0.3905855715274811, -0.1637304574251175, 0.10575772821903229, 0.06858044862747192, 0.8364733457565308, 0.2358676791191101, 0.29082900285720825, -0.21173769235610962, 0.06841570883989334, -0.8771622776985168, -0.42312172055244446, -0.695339024066925, -0.522637665271759, 0.1177421510219574, 0.33717232942581177, 0.6019036769866943, -0.12284258008003235, 0.0560259148478508, 0.29896095395088196, 0.028932536020874977, 0.5740123987197876, -0.41800814867019653, 0.48674309253692627, -0.014311864972114563, -0.3749825060367584, -0.8059263825416565, -0.11669334024190903, 0.6145872473716736, 0.5741748213768005, -0.3277861177921295, -0.001603462384082377, -0.11561759561300278, 0.8246256113052368, -0.49667248129844666, 0.19171693921089172, -0.5717872381210327, 0.081496961414814, 0.08799505233764648, -0.37962111830711365, -0.37964850664138794, -0.6319859623908997, 0.16249945759773254, -0.5521351099014282, 0.28958603739738464, -0.44647035002708435, 0.20661330223083496, 0.16407953202724457, -0.14668980240821838, -0.30909112095832825, -0.9462302327156067, 0.555286705493927, -0.785801351070404, 0.3133200407028198, 0.30880627036094666, 0.30145642161369324, -0.34787893295288086, -0.3473258912563324, -1.039852261543274, -0.16999278962612152, 0.2524838149547577, 0.24410215020179749, 0.06870222091674805, 0.16749243438243866, 0.4030124545097351, 0.28059956431388855, -0.26933416724205017, -0.15809108316898346, 0.07865826040506363, -0.11040295660495758, 0.6199715733528137, 0.5301681160926819, -0.12473669648170471, 0.05751662328839302, -0.05195825546979904, -0.23393794894218445, -0.5699407458305359, -0.04115700721740723, 0.5147294998168945, 0.26645568013191223, 0.133278027176857, 0.43425777554512024, -0.5324397087097168, 0.7901062369346619, 0.5313550233840942, -0.4224141240119934, 0.44129663705825806, -0.631779670715332, 0.048242706805467606, 0.006166166625916958, 0.8254746794700623, 0.5462234616279602, 0.5045811533927917, 0.041821300983428955, -0.05603785067796707, 0.086527019739151, 0.3073759973049164, -0.6489163637161255, -0.09854099154472351, 0.31306764483451843, -0.1783130168914795, -0.19808416068553925, -0.29262539744377136, -1.1305700540542603, -0.5386382341384888, -0.5099054574966431, 0.15045729279518127, -0.7665054798126221, -0.5290130376815796, 0.16419366002082825, 0.010395404882729053, 0.1389618068933487, 0.43493470549583435, -0.683593213558197, -0.1407293677330017, 0.4805606007575989, 0.629986047744751, 0.020432647317647934, -0.03579778969287872, -0.37858590483665466, 0.12551981210708618, -0.25301897525787354, 0.7304942011833191, -0.7894688844680786, -0.5701590776443481, 0.24093805253505707, -0.30718985199928284, 0.04719880223274231, -0.36218884587287903, 0.42465171217918396, -0.4590827226638794, 0.5259679555892944, -0.07186809927225113, -0.4921475946903229, 0.03717627003788948, 0.416456013917923, -0.3712693452835083, 0.9833534359931946, -0.06875662505626678, -0.7010579705238342, 0.48105111718177795, -0.9308031797409058, -0.4657660722732544, 0.212990865111351, -0.3737265467643738, -0.2637334167957306, -0.09931332617998123, 0.6829369068145752, 0.27001360058784485, -0.12159951776266098, 0.539149820804596, -0.34920644760131836, -0.15634872019290924, 0.6311611533164978, -0.7922449111938477, 0.412552148103714, -0.01670932210981846, -0.26312416791915894, 0.06842882931232452, -0.8910396695137024, 0.29645293951034546, -0.1948610544204712, -0.18256452679634094, -0.0016840280732139945, -0.16472697257995605, -0.37805625796318054, 0.40066665410995483, 0.17651627957820892, -0.6280185580253601, 0.39721742272377014, -0.3722461462020874, 0.050769202411174774, 0.9147454500198364, 0.3918013870716095, 0.25559505820274353, -0.14644519984722137, 0.620634138584137, -0.007278470788151026, 0.27976951003074646, -0.24006237089633942, -0.6574704051017761, -0.5831629037857056, -0.2518354654312134, 0.014253946021199226, 0.5363090634346008, -1.0430254936218262, 0.6133089065551758, -0.14498493075370789, -0.40476784110069275, -0.8251008987426758, -0.010354788973927498, 0.07411607354879379, 0.6928269863128662, 0.3355638086795807, -0.09337131679058075, -0.551114559173584, -0.6474139094352722, -0.18635258078575134, -0.18866018950939178, -0.13117367029190063, 0.38424184918403625, -0.018448099493980408, -0.3070600926876068, 1.2213032245635986, -0.8407489061355591, -0.1795850545167923, -0.37262365221977234, 0.3632251024246216, 0.3455103039741516, 0.34214118123054504, -0.011555161327123642, -0.5591723322868347, -0.2719569802284241, -0.5174683332443237, -0.6682242751121521, -0.082967109978199, -0.4103267192840576, -0.3020045757293701, 0.02289748378098011, 0.14878226816654205, -0.8075413703918457, 0.30644652247428894, 0.18492566049098969, -0.11953043192625046, 0.9822872281074524, -0.10604695230722427, 0.2988480031490326, -1.0680490732192993, -0.13749071955680847, 0.013168581761419773, 0.11821571737527847, -0.8962756395339966, -0.3990412652492523, -0.13064931333065033, -0.06471247971057892, -0.16538845002651215, 0.18294702470302582, -0.1551213264465332, 0.3749600052833557, -0.39206182956695557, 0.22959479689598083, -0.07973115146160126, 0.5890923142433167, 0.4007730185985565, 0.8776803016662598, 0.7261571884155273, -0.8055496215820312, 0.5069684982299805, 0.4398139715194702, -0.40324512124061584, 0.7860396504402161, -0.10042773187160492, 0.48377129435539246, -0.10796108096837997, 0.5425062775611877, -0.8923697471618652, -0.1839589625597, 0.1119871437549591, -0.3207665979862213, 0.24614429473876953, 0.13055221736431122, -0.5405163168907166, -0.5117369890213013, -0.32140210270881653, 0.3211158812046051, 0.4631606340408325, -0.37752363085746765, 0.5057174563407898, 0.18987718224525452, -0.5440975427627563, -0.4864574074745178, -0.3728131055831909, 0.10762898623943329, -0.2424720972776413, -0.8826627731323242, 0.3367326855659485, -0.33630579710006714, -0.039039116352796555, -0.543927013874054, 0.060165368020534515, 0.30274128913879395, -0.4627888798713684, 0.0670742392539978, 0.522156834602356, 0.09254026412963867, 0.3234681487083435, 0.12365883588790894, -0.06697944551706314, 0.3723759055137634, -0.2635944187641144, 0.8926950097084045, 0.07907131314277649, -0.503163754940033, -0.4315764009952545, 0.3744726777076721, 0.48313507437705994, -0.12727659940719604, 0.7200552821159363, 0.8662967085838318, -0.05672455579042435, 0.08105381578207016, -0.8828774690628052, -0.5717768669128418, -0.5261279940605164, 0.2264719307422638, -0.3900063633918762, -0.7037385702133179, 0.2872137129306793, -0.48284000158309937, 0.025490108877420425, -0.10770835727453232, 0.8762815594673157, -0.1376459002494812, 1.5298417806625366, 0.39081090688705444, 0.07763602584600449, 0.6801329851150513, -0.2288200408220291, 0.38306641578674316, -1.1079198122024536, -0.4515433609485626, -0.027166936546564102, -0.15877597033977509, -0.3680936396121979, -0.3852614462375641, 0.6259576082229614, -0.16160468757152557, -0.12007685005664825, -0.22171396017074585, -0.5006695985794067, 0.03347419202327728, 0.26370030641555786, 0.40296024084091187, 0.45172756910324097, 0.05491993576288223, -0.13458754122257233, -0.23276057839393616, -0.5503761172294617, -0.23798352479934692, 1.1127302646636963, 0.22556211054325104, 0.9500836730003357, 0.0006179983611218631, 0.6241039633750916, 0.21092936396598816, 0.22732751071453094, -0.7889147400856018, 0.6441285610198975, 0.601026177406311, -0.35075098276138306, -0.31958287954330444, -0.47365647554397583, -0.6789303421974182, 0.04545482620596886, -0.2967068552970886, -0.7127825617790222, 0.20131109654903412, 0.0634567067027092, -0.3906024992465973, -0.10048910975456238, -0.4860866069793701, 0.2099754363298416, -0.2204144448041916, -0.2536028027534485, -0.4703255593776703, -0.46037623286247253, 0.477726012468338, -0.13267609477043152, 0.19357725977897644, 0.19186872243881226, 0.35927659273147583, 0.7423815727233887, -0.4130765199661255, 0.7900866866111755, -0.5237441062927246, -0.41821062564849854, 0.38174471259117126, -0.039520636200904846, 0.7892771363258362, 0.26725947856903076, -0.06090651452541351, -0.3855134844779968, -0.40536317229270935, -0.12698966264724731, -0.7875333428382874, 0.4094129204750061, -0.544344961643219, -0.8758875727653503, 0.02109074778854847, -0.7648693323135376, -0.9812855124473572, -0.037367962300777435, 0.25275343656539917, 0.3716326057910919, -0.08914703875780106, -0.21413883566856384, 0.7388235926628113, -0.11942551285028458, 0.29627636075019836, 0.7170493006706238, -0.12502668797969818, -0.6212524175643921, 0.783915102481842, -0.19843094050884247, 0.3567877411842346, -0.05661117285490036, 0.08956797420978546, -0.7058375477790833, -0.36923205852508545, -0.3876105546951294, 0.17918473482131958, -0.6287227869033813, -0.2567569613456726, -0.6551216840744019, 0.0656607523560524, -0.5927770137786865, 0.1806422919034958, -0.16349287331104279, -0.35618430376052856, 0.11472465097904205, -0.20993591845035553, 0.7319717407226562, 0.4446353316307068, 0.023683488368988037, 0.32985416054725647, -0.6573909521102905, 0.37229156494140625, 0.3659350872039795, 0.2562416195869446, 0.2550218105316162, -0.3750062882900238, -0.2311229556798935, 0.39907222986221313, -0.7040736079216003, -1.0443953275680542, 0.2616245746612549, 0.12295597046613693, 0.4858231246471405, 0.5922729969024658, 0.15351414680480957, 0.8896914124488831, -0.3931989073753357, 0.9096575975418091, 0.41095301508903503, -0.644076943397522, 0.9331144690513611, -0.25884366035461426, 0.5129495859146118, 0.5468239784240723, 0.1415083110332489, -0.44204843044281006, -0.6501230597496033, -0.6371026039123535, -0.6795046329498291, 0.7128310203552246, 0.2619582414627075, 0.16192162036895752, -0.03460366651415825, 0.21121910214424133, 0.19378072023391724, 0.46548518538475037, -0.43180862069129944, -0.24174579977989197, -0.22161540389060974, -0.09460636228322983, 0.1771688610315323, 0.16620337963104248, -0.37009161710739136, -0.27487167716026306, 0.662916898727417, -0.4179798364639282, 0.45708179473876953, 0.21257156133651733, 0.16870082914829254, -0.14381206035614014, 0.4942546784877777, 0.3961520791053772, 0.6019830703735352, -0.17237533628940582, -0.3829423487186432, 0.21624861657619476, -0.5610244870185852, 0.2614842653274536, 0.010923800058662891, -0.11960718035697937, -0.0719025731086731, 0.09392139315605164, 0.8591602444648743, -0.397595077753067, -0.5540143847465515, 0.15505151450634003, 0.00941507238894701, -0.03848268464207649, -0.23628675937652588, 0.145394429564476, 0.11177115142345428, 0.305829793214798, 0.5130106210708618, 0.16142521798610687, 0.0951170101761818, -0.6256313323974609, 0.055964790284633636, 0.5587242841720581, -0.09733850508928299, -0.03823001682758331, 0.0613979697227478, 0.25714337825775146, -0.3955199420452118, 0.8604604601860046, -0.16184677183628082, -0.5739384889602661, 0.020540347322821617, 0.6281787753105164, 0.8449832797050476, -0.1937359720468521, 0.453830748796463, 0.24668261408805847, -0.27607741951942444, 0.023013724014163017, 0.5785018801689148, -0.3498586118221283, -0.9026556015014648, -0.9757668375968933, -0.4373187720775604, -0.5285554528236389, 0.585186243057251, -0.8382135629653931, 0.10537980496883392, -0.18042494356632233, -0.6255068182945251, -0.32726043462753296, -0.12192536890506744, -0.6909912824630737, 0.1288658082485199, 0.26134955883026123, 0.9798027276992798, -0.6422602534294128, 0.7293792366981506, 0.6068390011787415, -0.27901190519332886, -0.6218342781066895, 0.37890124320983887, -0.19771060347557068, -0.6643239855766296, 0.32130712270736694, -0.0012826673919335008, -0.40970197319984436, 0.008225285448133945, -0.40880805253982544, -0.36679279804229736, 1.0024603605270386, 0.27390462160110474, -0.551693856716156, -0.02577396109700203, 0.2556493282318115, 0.7130792140960693, -0.6120743751525879, 0.42602741718292236, 0.6230753660202026, 0.6621779203414917, 0.17190127074718475, -0.6353468298912048, 0.15568915009498596, -0.244184672832489, -0.1734602451324463, 0.08230769634246826, -0.5730308294296265, 0.45441749691963196, -0.22939568758010864, 0.013827675953507423, -0.08401262760162354, 0.6736127734184265, 0.7617462277412415, 0.30418452620506287, 0.5219742059707642, 0.3836985230445862, 0.8966382741928101, 0.053084973245859146, 0.7384189367294312, -0.38871315121650696, 0.04304320737719536, 1.01499605178833, -0.4218667447566986, 0.4957403540611267, 0.47508469223976135, -0.28286629915237427, 0.9020900726318359, 0.4919693171977997, 0.0668056532740593, 0.6743742823600769, -0.09902168065309525, -0.7187663912773132, -0.43369320034980774, -0.013888374902307987, -0.42953968048095703, 0.1696227341890335, 0.7905206680297852, -0.14582818746566772, 0.06380930542945862, 0.23869270086288452, -0.20911718904972076, -0.09807004034519196, -0.17657126486301422, 1.1130547523498535, -0.09132891148328781, -1.1848589181900024, 0.7046812176704407, -0.2726989984512329, 0.6251958012580872, -0.5811083912849426, -0.08098866045475006, -0.2047327756881714, 0.21089661121368408, -0.21470114588737488, -1.0962198972702026, -0.08639804273843765, 0.1577979475259781, -0.2273738831281662, -0.26813316345214844, 0.6900839805603027, -0.5991162061691284, -0.43172234296798706, 0.05863828584551811, 0.7107626795768738, -0.02061687596142292, -0.28919634222984314, -0.7592880129814148, -0.23369933664798737, 0.1806313693523407, -0.12974877655506134, 0.36929214000701904, 0.570580005645752, 0.12732833623886108, 0.8000790476799011, 0.7645877003669739, 0.27511656284332275, -0.14987750351428986, 0.6774526834487915, 1.1409326791763306, -0.5143245458602905, -0.6921272873878479, -0.8109397292137146, 0.5471400022506714, -0.3586335778236389, -0.0567125603556633, 0.5700457096099854, 0.25830963253974915, 0.3059443533420563, -0.16448865830898285, 1.0041507482528687, 0.01131459791213274, 0.3410708010196686, -0.5673087239265442, 0.33949995040893555, 0.0068671079352498055, 0.3042713701725006, -0.5173942446708679, -0.9617128968238831, 0.37453779578208923, 0.6082436442375183, -0.5384913682937622, 0.10713008046150208, 0.5091433525085449, 1.007849097251892, 0.1888471096754074, 0.4924319088459015, 0.051508061587810516, 0.031036879867315292, 0.5283174514770508, 0.5797239542007446, 1.1138828992843628, 0.00438510999083519, 0.6741399168968201, 0.00976012833416462, -0.5236889719963074, 0.056310880929231644, -0.7231839895248413, -0.816112756729126, -0.44743528962135315, -0.3379998803138733, -0.6035276651382446, -0.10238396376371384, 0.8061867356300354, 0.5963178873062134, -0.6029485464096069, -0.016208896413445473, -0.41893574595451355, -0.11577162891626358, -0.44185584783554077, -0.375047892332077, 0.13751325011253357, -0.5395688414573669, -0.5842686891555786, 0.7540134191513062, 0.15115399658679962, -0.10725979506969452, -0.6380348801612854, -0.3262982666492462, -0.19389207661151886, 0.12525509297847748, 0.45690375566482544, -0.16917593777179718, -0.5637887716293335, -0.05586204677820206, -0.005294498987495899, 0.3797817826271057, 0.17091189324855804, 1.069283366203308, -1.1685665845870972, 0.7492238879203796, 0.31298330426216125, 0.3127087950706482, 0.6583393812179565, 0.15590746700763702, 1.1273372173309326, -1.069566011428833, -0.061970245093107224, 0.31665316224098206, -0.03164957836270332, 0.5201082229614258, -0.6292397379875183, 0.2535865008831024, 0.1922253519296646, -0.37275609374046326, -0.7455544471740723, 0.572864294052124, -0.6483407616615295, 0.015811046585440636, 1.015610694885254, -0.037867043167352676, 0.3064928650856018, -0.18322259187698364, -0.50923752784729, 0.40847715735435486, -0.7494383454322815, 0.9315086007118225, 0.8732799887657166, -0.818408727645874, -0.18792720139026642, -0.20795725286006927, 0.7514331340789795, 0.5330771803855896, -0.7147256135940552, 0.3458927869796753, 0.4164673686027527, -0.10647322982549667, 0.4368663430213928, 0.6743490099906921, -0.103666752576828, 0.2688974440097809, -0.11945091933012009, -0.10151218622922897, 0.011978968046605587, -0.039528850466012955, -0.12499111890792847, 0.13748520612716675, -0.22700732946395874, -0.02949468232691288 ]
http://arxiv.org/abs/2406.16563v2
http://arxiv.org/pdf/2406.16563v2
Are there identifiable structural parts in the sentence embedding whole?
2024-06-24T11:58:33
2024-07-02T14:14:48
Vivi Nastase, Paola Merlo
cs.CL
cs.CL, 68T50, I.2.7
Sentence embeddings from transformer models encode in a fixed length vector much linguistic information. We explore the hypothesis that these embeddings consist of overlapping layers of information that can be separated, and on which specific types of information -- such as information about chunks and their structural and semantic properties -- can be detected. We show that this is the case using a dataset consisting of sentences with known chunk structure, and two linguistic intelligence datasets, solving which relies on detecting chunks and their grammatical number, and respectively, their semantic roles, and through analyses of the performance on the tasks and of the internal representations built during learning.
[ -0.18728391826152802, -1.0703061819076538, 0.8349317908287048, 0.1664009690284729, -0.2063911110162735, 0.20274671912193298, -0.09238783270120621, -0.34954559803009033, 0.48208779096603394, 0.3516671061515808, -0.41334372758865356, -0.0893934965133667, -0.7147191762924194, -0.06992796808481216, -0.7928736805915833, 0.662933886051178, 0.03375707566738129, -0.06928055733442307, -0.5207992196083069, -0.031648363918066025, -0.5488596558570862, -0.4286232888698578, 0.053584951907396317, -0.15052270889282227, 0.29151538014411926, 0.29372891783714294, 0.8617731332778931, 1.1593518257141113, 0.3122072219848633, 0.3404335677623749, -0.07419691234827042, 0.03985099866986275, -0.06459444761276245, 0.32279279828071594, -0.28164979815483093, -0.8913521766662598, 0.14026515185832977, -0.21575339138507843, 0.8709859848022461, 0.7854119539260864, 0.1338157057762146, 0.11798364669084549, -0.03195289894938469, 0.4483541250228882, -0.46035709977149963, 0.3669685423374176, -0.3784668743610382, 0.20832371711730957, -0.45722392201423645, 0.09671483933925629, -0.40760600566864014, 0.002968842862173915, 0.02912116050720215, -0.19129641354084015, 0.14513541758060455, 0.021073464304208755, 0.9887151718139648, 0.33668550848960876, -0.5302461981773376, -0.47864291071891785, -0.6588495969772339, 0.6322454214096069, -0.2671703100204468, 0.39773255586624146, 0.42287784814834595, -0.11325822025537491, -0.20791716873645782, -0.4123501181602478, -0.44531604647636414, -0.00035048878635279834, -0.6134340167045593, -0.06943900883197784, -0.26297369599342346, 0.0007775179110467434, 0.08072802424430847, 0.4262843132019043, -0.39304813742637634, 0.08103868365287781, -0.46406206488609314, -0.27722445130348206, 0.48352354764938354, 0.06656071543693542, 0.7979196906089783, -0.5507949590682983, -0.17886602878570557, -0.11267967522144318, -0.5859542489051819, 0.13345421850681305, 0.4132270812988281, 0.11671475321054459, -0.11874143779277802, 1.048322081565857, 0.050637129694223404, 0.6539232730865479, -0.018560724332928658, 0.21875151991844177, 0.3380277156829834, -0.17773430049419403, -0.150111585855484, 0.31747639179229736, 0.589625895023346, -0.29396718740463257, 0.40227049589157104, -0.44394996762275696, -0.1592881977558136, 0.2596307396888733, 0.4803932011127472, -0.3526453971862793, -0.15938012301921844, 0.38558050990104675, -0.34096774458885193, -0.08695265650749207, 0.5171716809272766, -0.35781121253967285, -0.07346305251121521, -0.2054859697818756, 0.2925013601779938, -0.6483546495437622, -0.31148263812065125, 0.03778460994362831, -0.504423975944519, 0.43186113238334656, -0.3390718102455139, -0.8298370242118835, 0.3644315004348755, 0.9602918028831482, 0.7527317404747009, 0.20621542632579803, -0.4247766137123108, -0.5048404335975647, 0.03680160641670227, -0.23559251427650452, 0.8810244202613831, -1.0050264596939087, -0.017527034506201744, 0.14221757650375366, 0.2403230518102646, -0.1829865276813507, -0.4223240911960602, 0.24955718219280243, -0.4290747344493866, 0.18048885464668274, -0.18681032955646515, -1.0455201864242554, -0.236480712890625, 0.05916251242160797, -0.9236956834793091, 1.0128127336502075, 0.19271302223205566, -0.8647648692131042, 0.22977590560913086, -0.3556292653083801, -0.5330755114555359, 0.1392538845539093, -0.5581700801849365, -0.3668874502182007, 0.6622375845909119, -0.00011238802835578099, 0.6141291260719299, 0.02824833244085312, 0.2783452272415161, 0.11343761533498764, -0.28485578298568726, 0.7085413932800293, -0.09827874600887299, 0.29948511719703674, -0.017551172524690628, -0.3376331329345703, 0.17324738204479218, -0.7587053775787354, -0.11630352586507797, 0.21598894894123077, -0.40613853931427, -0.5666464567184448, 0.3223593533039093, -0.06070231646299362, -0.006755069829523563, 0.11746098101139069, -0.8943223357200623, 0.09970058500766754, -0.20950043201446533, 0.7405105233192444, 0.5100752711296082, 0.041663557291030884, 0.450242817401886, -0.3353150486946106, 0.28595447540283203, 0.6161991357803345, -0.22116880118846893, -0.34579068422317505, -0.5629009008407593, -0.9898508191108704, -0.3526022434234619, 0.4816755950450897, 0.49563509225845337, -0.6050914525985718, 0.751203715801239, -0.4304838478565216, -0.0919274166226387, -0.744461715221405, -0.17715196311473846, 0.36722803115844727, -0.0693010464310646, 0.33976590633392334, -0.03803006932139397, -0.6357033848762512, -1.1126761436462402, -0.4148055911064148, 0.045165833085775375, -0.19114629924297333, -0.20440055429935455, 0.7768266797065735, 0.1362392157316208, 1.1614375114440918, -0.5886080265045166, 0.07640241831541061, -0.2805957794189453, -0.10841790586709976, -0.12467823177576065, 0.4197290539741516, 0.3255969285964966, -0.9238665699958801, -0.13891318440437317, -0.28987202048301697, -0.7896472215652466, 0.236174076795578, -0.2681875228881836, -0.13524022698402405, -0.5433254241943359, 0.5772291421890259, -0.5446081757545471, 0.3343603312969208, 0.2585029602050781, -0.7634203433990479, -0.01683952659368515, -0.2522365152835846, -0.20638303458690643, -0.9224631190299988, -0.5672738552093506, 0.0036123991012573242, -0.392755389213562, -0.758082926273346, 0.03307697921991348, 0.2883613705635071, 0.2649398446083069, -0.20759089291095734, 0.08236146718263626, -0.6517482399940491, -0.13293404877185822, -0.12356390804052353, 0.2884780168533325, -0.05578120797872543, 0.42939749360084534, -0.00898274127393961, 0.27391085028648376, 0.4570814073085785, -0.20779642462730408, 0.17324213683605194, 0.30095741152763367, -0.78439861536026, 0.5385280847549438, -0.6624014377593994, -0.048097893595695496, -0.6472029089927673, -0.06102748215198517, -0.8668893575668335, -0.5342975854873657, -0.0052463095635175705, -0.14109864830970764, 0.17492882907390594, -0.17246553301811218, -0.5353856682777405, -0.1889345943927765, -0.06274683028459549, 0.4003903865814209, 0.47217294573783875, -0.29338714480400085, 0.6107959747314453, 0.5960318446159363, -0.0004890405689366162, -0.38095319271087646, -0.9205150008201599, -0.22547940909862518, -0.13049951195716858, -0.5996889472007751, 0.5001515746116638, 0.37706393003463745, -0.3208072781562805, 0.6376478672027588, -0.010160897858440876, -0.31888478994369507, -0.005624351091682911, 0.5921154022216797, 0.10124678909778595, -0.40916773676872253, 0.5043929815292358, 0.0654577985405922, 0.2542761564254761, 0.03272316977381706, -0.2555048167705536, 0.5740487575531006, -0.0913708284497261, -0.3662346303462982, -0.11701346188783646, 0.4914296269416809, 0.546839714050293, -0.3617449700832367, 0.9250853061676025, 0.29132187366485596, -0.5232564210891724, -0.29875147342681885, -0.43130895495414734, 0.0870964378118515, -0.3778480291366577, 0.5235597491264343, -0.5481090545654297, -1.054551124572754, 0.47614023089408875, 0.28516530990600586, -0.25693508982658386, 0.6587314605712891, 0.32424983382225037, -0.11582430452108383, 0.5473242402076721, 0.5794680118560791, -0.10948703438043594, 0.5735799074172974, -0.13466469943523407, 0.16812238097190857, -0.8283149003982544, -0.5602458119392395, -0.3689071536064148, -0.563930094242096, -0.3940422236919403, -0.5423324108123779, 0.011604955419898033, 0.12412021309137344, -0.37684980034828186, 0.4407828748226166, -0.5301644802093506, 0.7464775443077087, 0.5143061876296997, 0.277822881937027, -0.02860036864876747, -0.22564098238945007, -0.20162184536457062, 0.12933622300624847, -0.5696194171905518, -0.30524301528930664, 0.6921589374542236, 0.4558555483818054, 0.4778948724269867, 0.03481496125459671, 0.2949802279472351, 0.35524576902389526, -0.3597576320171356, -0.8509936332702637, 0.27566221356391907, -0.224564328789711, -0.47079959511756897, -0.0719720721244812, -0.4239586293697357, -0.9806983470916748, 0.30465224385261536, -0.24608656764030457, -0.5931610465049744, 0.2668592631816864, -0.5133420825004578, -0.16632047295570374, 0.3439275622367859, -0.7247817516326904, 0.6851100921630859, -0.24645617604255676, 0.2945403456687927, -0.08382518589496613, -0.6052531003952026, 0.014716670848429203, 0.18347381055355072, 0.272084504365921, -0.2510230243206024, 0.0611080527305603, 0.9924027919769287, -0.3365837037563324, 0.8471567034721375, -0.04494344815611839, 0.4214150905609131, 0.46645042300224304, -0.1040240079164505, 0.27699407935142517, -0.32446256279945374, 0.29175078868865967, -0.05896715819835663, 0.08976558595895767, -0.5511260628700256, -0.7376359701156616, 0.4060080945491791, -0.753551185131073, -0.33241918683052063, -0.2938249409198761, -0.6319209337234497, 0.06933493912220001, 0.040453024208545685, 0.11769746989011765, 0.7210569381713867, -0.13230443000793457, 0.6848105192184448, 0.5265228748321533, 0.0028908539097756147, 0.607308030128479, 0.22231115400791168, 0.0646597295999527, -0.019660618156194687, 0.6035919189453125, 0.2819994390010834, 0.063997782766819, 0.7394808530807495, 0.15651388466358185, 0.037938185036182404, -0.2790380120277405, -0.3156472444534302, 0.431066632270813, -0.6337953805923462, -0.06226201355457306, -0.6279551982879639, -0.5232793688774109, 0.025085588917136192, 0.057709235697984695, -0.42093849182128906, -0.5331850051879883, -0.12205556035041809, -0.5972554683685303, 0.36231786012649536, 1.3932758569717407, 0.35945507884025574, 0.41825300455093384, -0.8788167834281921, 0.016120437532663345, 0.06996113061904907, 0.3018944561481476, 0.12446067482233047, -0.240221306681633, -0.473175048828125, 0.07684904336929321, 0.13440480828285217, -0.8799217939376831, 0.06051244959235191, 0.18891865015029907, 0.5860368609428406, 0.3466867506504059, -0.19338862597942352, 0.43640556931495667, -0.6203796863555908, 0.9557930827140808, -0.26105576753616333, -0.969363808631897, 0.4673789441585541, 0.14822585880756378, 0.42270904779434204, 0.1786237210035324, 0.6687490344047546, -0.47342944145202637, -0.5785644054412842, -0.5566772818565369, -0.6053146719932556, 0.41200557351112366, 0.25851279497146606, 0.20593850314617157, -0.4142061769962311, 0.42358386516571045, -0.09634583443403244, -0.0002820430672727525, -0.5828847885131836, -0.02579295076429844, -0.21112802624702454, -0.5426799058914185, 0.2949233949184418, -0.6297701001167297, -0.13732725381851196, 0.05072863772511482, 0.07551152259111404, 0.1811571717262268, 0.40417078137397766, 0.2264205515384674, -0.5538649559020996, 0.3809622526168823, 0.4059711694717407, 0.36065325140953064, 0.3400590121746063, 0.1324446052312851, 0.4439075291156769, -0.24624137580394745, -0.5744352340698242, 0.12154052406549454, -0.27183398604393005, -0.013997466303408146, -0.008205393329262733, 0.8722909092903137, 0.8096261620521545, 0.5129047632217407, -0.6157751679420471, 0.6321430802345276, 0.07771984487771988, 0.03973131254315376, -0.360476016998291, 0.07371769100427628, 0.08204086869955063, 0.5380045175552368, 0.23151779174804688, -0.1787760853767395, -0.18951675295829773, -0.8489445447921753, 0.4593352675437927, 0.15618504583835602, -0.7827752828598022, -0.666409969329834, 0.3182108402252197, -0.1907956898212433, -0.2697460353374481, 1.0001996755599976, 0.0038968531880527735, -0.7908720970153809, 0.5982064604759216, 0.4856967031955719, 0.684482216835022, -0.099449522793293, 0.3840430676937103, -0.13827161490917206, 0.34249281883239746, -0.14734020829200745, 0.3368033766746521, 0.025724103674292564, -1.0617597103118896, -0.4143296182155609, -0.6298196911811829, 0.053949978202581406, -0.34941455721855164, -0.8089632391929626, -0.03900108113884926, -0.14157383143901825, 0.15912452340126038, 0.32073429226875305, -0.5265873670578003, -0.6678435802459717, 0.14220871031284332, 0.24621613323688507, 0.7019689679145813, -1.0927801132202148, 0.8468695282936096, 0.5766321420669556, -0.5865024328231812, -0.6606770157814026, -0.08795054256916046, -0.11671096086502075, -0.6375691890716553, 0.706981360912323, 0.16498105227947235, 0.21743643283843994, -0.4593084156513214, -0.2731815576553345, -0.8572534918785095, 0.8066622614860535, 0.14916282892227173, -0.23955386877059937, -0.558643102645874, 0.5137048363685608, 0.39034304022789, -0.6038830876350403, 0.26446086168289185, 0.6257110238075256, 0.3390253782272339, -0.042497847229242325, -0.5315091609954834, 0.1785026490688324, -0.2269797921180725, -0.07823419570922852, 0.46402212977409363, -0.4477798342704773, 1.063398838043213, 0.3276456892490387, -0.37321317195892334, -0.21375542879104614, 0.737526535987854, -0.3998149335384369, -0.344418466091156, 0.5311199426651001, 0.6469681859016418, 0.928854763507843, -0.41849929094314575, 1.1106772422790527, -0.2566479444503784, 0.13534271717071533, 1.024425983428955, 0.363219290971756, 0.9681900143623352, 0.17218883335590363, -0.07650473713874817, 0.971463680267334, 0.4730924367904663, -0.18891191482543945, 0.6206556558609009, 0.30573365092277527, -0.01173307839781046, -0.04440203309059143, -0.03258460760116577, -0.0546419695019722, 0.7596461772918701, 0.6595848202705383, -0.483598530292511, 0.01976129785180092, 0.297414630651474, 0.23879776895046234, 0.004621732514351606, -0.19415909051895142, 0.7054018974304199, -0.0424114465713501, -0.5738446712493896, 0.08294612914323807, 0.02743503451347351, 0.4875853657722473, -0.5666097402572632, 0.031443528831005096, -0.0321442149579525, 0.20033076405525208, -0.4382409453392029, -1.065210223197937, 0.7407605051994324, -0.16737927496433258, -0.42215511202812195, -0.27639511227607727, 0.5569325685501099, -0.6163573265075684, -0.4362504780292511, 0.15088477730751038, 0.45016250014305115, 0.13357234001159668, -0.3182690441608429, 0.02987937070429325, 0.033563416451215744, -0.002821925561875105, -0.18164628744125366, 0.3167146146297455, 0.7050995230674744, -0.018705986440181732, 0.3101638853549957, 0.23701952397823334, 0.009632334113121033, 0.4776524603366852, -0.07601574808359146, 0.8822177052497864, -0.9504311084747314, -0.5118081569671631, -1.05523681640625, 0.5965273380279541, -0.2786603271961212, -0.23939424753189087, 0.7512171864509583, 0.6993016004562378, 0.875194787979126, 0.029854068532586098, 0.6043701767921448, -0.11461084336042404, 0.25681596994400024, -0.6498269438743591, 0.3825521171092987, -0.11997956782579422, 0.021361563354730606, 0.1069415956735611, -0.8027023673057556, -0.21112102270126343, 0.5579543709754944, -0.28981003165245056, -0.43164998292922974, 0.9104642271995544, 0.3742061257362366, -0.21210139989852905, 0.3705650866031647, 0.22426237165927887, 0.3998135030269623, 0.25310325622558594, 0.3377383053302765, 0.95667964220047, -0.33561933040618896, 0.24766723811626434, -0.21683654189109802, -0.07536307722330093, 0.02480536699295044, -0.402677983045578, -0.8409752249717712, -0.9845045804977417, -0.16237567365169525, -0.11289744079113007, -0.2162102609872818, 0.5966752171516418, 0.5491927266120911, -0.68597412109375, -0.13346920907497406, -0.03305111452937126, 0.22057248651981354, -0.1948632448911667, -0.23825682699680328, 0.4827631711959839, -0.25824809074401855, -0.4157228469848633, 0.6582310199737549, 0.40647855401039124, -0.032175444066524506, -0.22812898457050323, 0.5990467071533203, -0.3646349310874939, 0.451475590467453, 0.5428691506385803, -0.07829615473747253, -0.6873679757118225, -0.8085793256759644, 0.006560007110238075, -0.0033502799924463034, 0.23530884087085724, 1.0444194078445435, -0.6078625917434692, 0.3603379726409912, 0.6779979467391968, 0.7548021078109741, 0.5474810600280762, 0.11327837407588959, 0.5333788990974426, -1.1193970441818237, 0.4359627366065979, 0.10596524924039841, 0.6455984711647034, 0.23050662875175476, -0.4301053285598755, 0.42869454622268677, -0.04933127015829086, -0.40448489785194397, -0.4916785657405853, 0.3209248483181, -0.7430168986320496, -0.45605218410491943, 0.8257941007614136, -0.3438108563423157, -0.5425359606742859, -0.24269349873065948, 0.16625380516052246, 0.10705894976854324, 0.08284755796194077, 0.33706244826316833, 1.0743032693862915, -0.23104646801948547, -0.10431322455406189, -0.34407147765159607, 0.12616626918315887, 0.12031622976064682, -0.5909985303878784, -0.2846411466598511, 0.36515793204307556, 0.30683088302612305, 0.5240612030029297, 0.04875971004366875, -0.19703340530395508, -0.32056865096092224, 0.3100641965866089, -0.29273977875709534, -0.05099794641137123, -0.5465906262397766, -0.05695902928709984, 0.5660282969474792, -0.34331852197647095, -0.5235309600830078 ]
http://arxiv.org/abs/2406.16562v2
http://arxiv.org/pdf/2406.16562v2
EVALALIGN: Supervised Fine-Tuning Multimodal LLMs with Human-Aligned Data for Evaluating Text-to-Image Models
2024-06-24T11:56:15
2024-06-27T03:57:05
Zhiyu Tan, Xiaomeng Yang, Luozheng Qin, Mengping Yang, Cheng Zhang, Hao Li
cs.CV
cs.CV, cs.CL
The recent advancements in text-to-image generative models have been remarkable. Yet, the field suffers from a lack of evaluation metrics that accurately reflect the performance of these models, particularly lacking fine-grained metrics that can guide the optimization of the models. In this paper, we propose EvalAlign, a metric characterized by its accuracy, stability, and fine granularity. Our approach leverages the capabilities of Multimodal Large Language Models (MLLMs) pre-trained on extensive datasets. We develop evaluation protocols that focus on two key dimensions: image faithfulness and text-image alignment. Each protocol comprises a set of detailed, fine-grained instructions linked to specific scoring options, enabling precise manual scoring of the generated images. We Supervised Fine-Tune (SFT) the MLLM to align closely with human evaluative judgments, resulting in a robust evaluation model. Our comprehensive tests across 24 text-to-image generation models demonstrate that EvalAlign not only provides superior metric stability but also aligns more closely with human preferences than existing metrics, confirming its effectiveness and utility in model assessment.
[ -0.5051143765449524, -0.7978249788284302, 0.4677237868309021, 0.19994373619556427, -0.2753750681877136, 0.164822518825531, -0.3828240633010864, -0.28772297501564026, -0.004403469152748585, 0.4094405472278595, -0.45138034224510193, -0.7419441342353821, -0.4967342019081116, 0.14590132236480713, -0.4313370883464813, 0.8997957110404968, -0.3550594747066498, 0.14996756613254547, -0.6243401765823364, -0.2809804081916809, -0.35072144865989685, -0.2079160362482071, -0.5753327012062073, -0.07775360345840454, 0.5595942735671997, 0.29437607526779175, 0.8805689811706543, 0.473660945892334, 0.7119014263153076, 0.3368699848651886, 0.31788766384124756, 0.8368583917617798, -0.5217674374580383, 0.30635181069374084, -0.13288673758506775, -0.08124678581953049, -0.48761436343193054, -0.06703174114227295, 0.5132116079330444, 0.41895800828933716, 0.08198432624340057, 0.6570013165473938, 0.1028074324131012, 0.787929117679596, -0.8014974594116211, -0.08856451511383057, -0.7436350584030151, -0.13057422637939453, 0.015459924004971981, -0.645388126373291, -0.595308780670166, -0.37107032537460327, -0.3224097490310669, -0.5114849209785461, 0.06900453567504883, 0.4577103853225708, 1.0895968675613403, 0.38604483008384705, -0.4064435362815857, -0.14797836542129517, -0.6767134666442871, 0.8510323166847229, -0.302567720413208, 0.48200350999832153, 0.3816281259059906, 0.25586622953414917, 0.03506489470601082, -0.6091226935386658, -0.36644989252090454, -0.37706783413887024, -0.11529594659805298, 0.20629942417144775, -0.13900363445281982, 0.08953259885311127, -0.14697125554084778, 0.1680482178926468, -0.5964184999465942, 0.39405718445777893, -0.35338088870048523, -0.2077743262052536, 0.656485915184021, 0.4692964553833008, 0.32553333044052124, 0.01840117946267128, -0.7884687185287476, -0.007019792217761278, -0.7628452777862549, 0.0955793559551239, 0.40322360396385193, 0.16726654767990112, -0.1233339011669159, 0.7333170175552368, 0.045395463705062866, 0.5897098779678345, 0.2725283205509186, -0.03357276692986488, -0.023993760347366333, -0.4491276741027832, -0.24630871415138245, -0.08617984503507614, 0.9825313687324524, 0.9680676460266113, -0.01575496792793274, -0.12829066812992096, -0.5679941773414612, 0.18789154291152954, 0.4920016825199127, -1.0019315481185913, -0.09255310148000717, 0.3215148150920868, -0.6522833108901978, -0.42914196848869324, 0.042031772434711456, -0.7468695640563965, -0.2095966935157776, -0.81354820728302, 0.5743854641914368, -0.37226980924606323, 0.16691631078720093, -0.07998991757631302, 0.2379380762577057, 0.022131849080324173, 0.5718172192573547, -0.9778055548667908, 0.1842212677001953, 0.6362975835800171, 0.9671985507011414, -0.2917667627334595, -0.4264316260814667, -0.6305602192878723, -0.05173227936029434, -0.7332081198692322, 0.9431498646736145, -0.5182506442070007, -0.09797206521034241, 0.06927818059921265, -0.008009890094399452, 0.04258230701088905, -0.3943002223968506, 0.6607443690299988, -0.45944541692733765, -0.006345825735479593, 0.2800145745277405, -0.36541515588760376, 0.1159672662615776, 0.4034504294395447, -0.5822792053222656, 1.1258211135864258, 0.20344464480876923, -0.4226357638835907, 0.45505908131599426, -0.509995698928833, -0.18590505421161652, -0.09493502229452133, -0.13289979100227356, -0.740683913230896, 0.4306536912918091, 0.5632444024085999, 0.7913575768470764, -0.31544122099876404, 0.2803986072540283, -0.25435903668403625, -0.3839443027973175, 0.5092544555664062, -0.8044553399085999, 0.3495327830314636, 0.22562532126903534, 0.05145640671253204, 0.4461519420146942, -0.6703762412071228, 0.3331504762172699, -0.15039248764514923, -0.20885862410068512, -0.3049622178077698, -0.13846005499362946, 0.48508238792419434, 0.11107468605041504, 0.3114002048969269, -0.32907211780548096, 0.15605829656124115, -0.09773809462785721, 0.24783119559288025, 0.8357354998588562, -0.13230712711811066, 0.6206232309341431, -0.3729110658168793, 0.6033819913864136, -0.31924664974212646, 0.3395463526248932, -0.44221535325050354, -0.1551540046930313, -0.8893678784370422, -0.521384596824646, 0.4588433504104614, 0.13279038667678833, -0.5582926869392395, 0.5258881449699402, -0.671413242816925, -0.5954304933547974, -0.9444786906242371, 0.3186415433883667, 0.447297602891922, 0.1574680060148239, 0.3851613998413086, -0.5176981687545776, -0.22639481723308563, -1.148630976676941, 0.1539655476808548, 0.048774946480989456, 0.02381780371069908, 0.40533459186553955, 0.4244970977306366, -0.46384793519973755, 0.7573897242546082, -0.1649477332830429, -0.4451519846916199, 0.21018275618553162, 0.6042090058326721, -0.3308260142803192, 0.42180749773979187, 0.6436905860900879, -0.5726316571235657, -0.5125342607498169, 0.3220679461956024, -0.5563634634017944, -0.2177465707063675, -0.49899056553840637, -0.3739267587661743, 0.3345050513744354, 0.3598262369632721, -0.565330445766449, 0.3783022165298462, 0.9656539559364319, -0.24344009160995483, 0.7050301432609558, -0.34550175070762634, 0.6263552904129028, -0.9182648062705994, 0.029833663254976273, 0.14914049208164215, -0.4660516679286957, -0.48580652475357056, 0.18324363231658936, 0.44560396671295166, -0.07014359533786774, -0.48605552315711975, 0.6633527874946594, -0.5342816114425659, 0.17577099800109863, -0.1869501769542694, 0.079354427754879, 0.4333265423774719, 0.29391852021217346, 0.00815508607774973, 0.8827345371246338, 0.5215264558792114, -0.38247424364089966, 0.4433267116546631, 0.15642885863780975, -0.5963704586029053, 1.0732321739196777, -0.4992910325527191, 0.24579915404319763, -0.12877142429351807, 0.02295776829123497, -0.9816645979881287, -0.18301203846931458, -0.12765558063983917, -0.42712780833244324, 0.48231446743011475, 0.08737355470657349, -0.5669397115707397, -0.0749146044254303, -0.5128564238548279, 0.6252427697181702, 0.21052637696266174, -0.7326608300209045, 0.6777362823486328, 0.16901476681232452, -0.08542248606681824, -0.4711001515388489, -0.3532830476760864, 0.1816524863243103, -0.1631786823272705, -0.6545849442481995, 0.39653828740119934, -0.01696213148534298, -0.18359443545341492, -0.16536016762256622, 0.127693772315979, 0.027804823592305183, -0.16931869089603424, 0.7069383859634399, 0.4863209128379822, -0.2046481817960739, 0.22085095942020416, 0.18584993481636047, -0.23842287063598633, -0.20719686150550842, 0.07332839071750641, 0.5303205847740173, -0.23827677965164185, -0.691036581993103, -0.6810283660888672, 0.24365362524986267, 0.7999424934387207, -0.3417127728462219, 0.610510528087616, 0.8209783434867859, -0.13489596545696259, 0.04220464453101158, -0.6649739146232605, -0.16743293404579163, -0.4787798821926117, 0.5406303405761719, -0.3135792016983032, -0.6174494624137878, 0.16968947649002075, -0.3279416859149933, 0.1100054681301117, 0.3341282308101654, 0.8827803134918213, -0.4778517484664917, 1.1366149187088013, 0.4971768856048584, 0.12029348313808441, 0.23289045691490173, -0.10517372190952301, 0.03095862828195095, -0.8923999071121216, -0.2920069396495819, -0.2640303373336792, -0.5057495832443237, -0.23195941746234894, -0.5398067831993103, 0.27188462018966675, 0.10302173346281052, -0.23886337876319885, 0.2292662411928177, -0.5264719128608704, 0.5454015135765076, 0.25157395005226135, 0.25602608919143677, 0.29511526226997375, 0.2220064401626587, 0.12888595461845398, -0.27517592906951904, -0.2356591373682022, -1.0174050331115723, 1.1604244709014893, 0.45805516839027405, 1.1520826816558838, -0.019593408331274986, 0.4913158714771271, 0.26929253339767456, 0.6118491888046265, -0.7034807205200195, 0.34743449091911316, -0.10184696316719055, -0.45236465334892273, -0.22059203684329987, -0.20946861803531647, -0.9576680660247803, 0.11965683102607727, -0.5589544773101807, -0.6765049695968628, -0.014189697802066803, 0.26323288679122925, -0.46089380979537964, 0.03639603778719902, -0.8727758526802063, 0.8822197914123535, -0.9178693294525146, -0.6961511373519897, -0.16087718307971954, -0.4120825529098511, 0.24658352136611938, -0.2987043261528015, 0.15838730335235596, -0.3818836510181427, -0.29489412903785706, 0.3225175142288208, -0.18554683029651642, 0.7829339504241943, 0.217617928981781, -0.19965337216854095, -0.022687528282403946, 0.3118070065975189, 0.45686325430870056, 0.03457942232489586, 0.024078693240880966, 0.2561548948287964, 0.1087690219283104, -0.13233120739459991, -0.8045492172241211, 0.7997064590454102, -0.7465270757675171, -0.17614568769931793, 0.10391715168952942, -0.4450806975364685, -0.03848050907254219, -0.16591523587703705, 0.19259107112884521, 0.5384848117828369, -0.4351898729801178, 0.3166542053222656, 0.22438105940818787, -0.0727403536438942, 0.19630329310894012, 0.21868294477462769, -0.5082335472106934, -0.6139822006225586, 1.0779476165771484, -0.35562992095947266, 0.45770251750946045, 0.5276107788085938, -0.17878961563110352, -0.44289761781692505, -0.40119776129722595, -0.7313268184661865, -0.05984535440802574, -0.7099128365516663, -0.6395682692527771, -0.3055131435394287, -0.10214745998382568, -0.0719393789768219, -0.5402162075042725, -0.7300092577934265, -0.22115743160247803, -0.5926443338394165, 0.10373948514461517, 0.24004848301410675, 0.3981485962867737, 0.3065286874771118, 0.24370570480823517, -0.8014171123504639, 0.3572300672531128, 0.18797510862350464, 0.3373814523220062, -0.21712647378444672, -0.7168467044830322, -0.217171311378479, -0.036186933517456055, -0.6300363540649414, -0.43773430585861206, 0.4663657546043396, 0.45941075682640076, 0.3055001497268677, 0.7491349577903748, -0.05664486438035965, 0.9875163435935974, -0.6008149981498718, 0.7432241439819336, 0.5885319709777832, -0.8550102710723877, 0.5173634886741638, -0.08144889026880264, 0.058868784457445145, 0.7648505568504333, 0.27923285961151123, -0.3482591509819031, -0.39845943450927734, -0.3925633430480957, -0.9694304466247559, 0.21057291328907013, 0.22596320509910583, 0.623934805393219, 0.3504734933376312, 0.14376939833164215, 0.4044519066810608, 0.007264114450663328, -0.7347375750541687, -0.11138103902339935, -0.11691303551197052, -0.5206146240234375, 0.07645202428102493, -0.22821348905563354, -0.35020339488983154, -0.3836822807788849, 0.5180659890174866, -0.296320378780365, 0.09586421400308609, -0.2396978735923767, -0.29319649934768677, -0.24614226818084717, 0.21859613060951233, 0.8786380290985107, 0.7034812569618225, -0.07693048566579819, 0.3119114935398102, 0.018651092424988747, -0.30969923734664917, 0.3962583839893341, -0.08780913054943085, -0.08614929765462875, -0.0753290057182312, 0.38263553380966187, 0.9940628409385681, 0.2612046003341675, -0.7901695370674133, 0.6800153255462646, -0.13722017407417297, -0.3214395046234131, -0.1508387327194214, -0.003318163799121976, -0.2855149209499359, 0.2540385127067566, 0.21505297720432281, 0.527850329875946, -0.20799830555915833, -0.1914801001548767, 0.09973675012588501, 0.7464446425437927, -0.538890540599823, -0.29454323649406433, 0.7014541625976562, 0.39378997683525085, -0.36104536056518555, 0.4882906377315521, -0.07918119430541992, -0.2505919635295868, 0.4779488146305084, 0.4017908275127411, 0.8255610466003418, 0.059146698564291, 0.3362051248550415, 0.3699858784675598, 0.45616698265075684, -0.016964498907327652, -0.09488815814256668, -0.0006737391231581569, -0.6963364481925964, -0.25288471579551697, -0.7789087891578674, -0.2751765549182892, 0.12665875256061554, -0.5555243492126465, 0.5254664421081543, -0.36660757660865784, -0.5040203928947449, -0.06670298427343369, -0.3088158369064331, -0.7677079439163208, 0.09518630057573318, 0.22906836867332458, 0.5097652673721313, -0.9057096242904663, 0.5085987448692322, 0.678417444229126, -0.30999746918678284, -0.5310799479484558, -0.21104654669761658, -0.10600107908248901, -0.8187254071235657, 0.7141833305358887, 0.45235341787338257, -0.19253483414649963, -0.024721698835492134, -0.612160861492157, -0.714535653591156, 1.2221242189407349, 0.5231460332870483, -0.7300702929496765, 0.4357883930206299, 0.05198505520820618, 0.5825236439704895, -0.5591936111450195, 0.515723466873169, 0.43603095412254333, 0.6080097556114197, -0.08364109694957733, -0.920613706111908, -0.17838656902313232, -0.2760228216648102, 0.22216196358203888, 0.1574152410030365, -0.5348447561264038, 0.3965277373790741, -0.32538872957229614, -0.36343514919281006, 0.49849584698677063, 0.5974433422088623, 0.2231733798980713, 0.3663088083267212, 0.20435400307178497, 0.5774337649345398, 0.5364745855331421, -0.2236219346523285, 0.8691938519477844, -0.4984138607978821, 0.5800482630729675, 0.9624649882316589, -0.10882624983787537, 1.0393987894058228, 0.7268592119216919, -0.16507172584533691, 0.15954133868217468, 0.8230300545692444, -0.27932778000831604, 0.5541284680366516, -0.12781625986099243, -0.216816708445549, -0.4704201817512512, -0.2905455529689789, 0.03570166230201721, 0.5728906393051147, 0.3537593483924866, -0.7104417085647583, -0.1269906908273697, 0.04660971835255623, -0.3987489342689514, 0.3055865168571472, -0.4044126272201538, 0.6213228702545166, -0.15115095674991608, -0.4684610366821289, 0.7719494104385376, 0.052420493215322495, 0.7263748049736023, -0.2861625850200653, 0.08067401498556137, -0.14886415004730225, 0.08397497981786728, -0.37496674060821533, -0.7868094444274902, -0.012827690690755844, -0.04295290634036064, -0.11017733812332153, -0.3397153317928314, 0.6082954406738281, -0.6012713313102722, -0.807670533657074, -0.11240939050912857, 0.2523379623889923, 0.01740119233727455, 0.017352741211652756, -0.6772816777229309, 0.3616722524166107, -0.2689051926136017, -0.13628777861595154, 0.253568172454834, 0.40708234906196594, -0.07737023383378983, 0.6261280179023743, 0.5908504128456116, 0.10150540620088577, -0.11784704774618149, 0.30276021361351013, 0.6082407832145691, -0.17893147468566895, 0.19731584191322327, -1.1506143808364868, 0.639049232006073, -0.04163460433483124, -0.4322788715362549, 0.5329192876815796, 0.8474442958831787, 0.5244147777557373, -0.2173873633146286, 0.5219987034797668, 0.3522828221321106, -0.10412334650754929, -0.8353497385978699, 0.8695470094680786, -0.746492326259613, 0.023395538330078125, -0.25390732288360596, -1.0547395944595337, -0.48208746314048767, 0.54788738489151, -0.06242819130420685, -0.08978879451751709, 0.5833088159561157, 1.265809416770935, -0.20559485256671906, -0.41408830881118774, 0.5687534213066101, -0.27482864260673523, 0.20063772797584534, 0.2953358590602875, 1.073281168937683, -0.4364159405231476, 0.37277165055274963, -0.20061124861240387, -0.24850593507289886, -0.30085813999176025, -1.0039108991622925, -0.9770810008049011, -0.7619006037712097, -0.3740555942058563, 0.03927084058523178, -0.12680043280124664, 1.0793932676315308, 0.8599172830581665, -0.6034185290336609, 0.05403159558773041, 0.2640821635723114, -0.23536399006843567, -0.19439522922039032, -0.2069384753704071, 0.6220487952232361, -0.35598212480545044, -0.91363525390625, -0.10593795776367188, 0.784600555896759, 0.21491174399852753, -0.5573741793632507, -0.2533503472805023, 0.34133872389793396, 0.06518415361642838, 0.8015791177749634, -0.05806035175919533, -0.9348365664482117, -0.17350615561008453, -0.11423876136541367, -0.46656668186187744, 0.1705819070339203, 0.6536029577255249, -0.4646631181240082, 0.6168767809867859, 0.07520521432161331, 0.7082580327987671, 0.2247726023197174, 0.4371564984321594, 0.39136800169944763, -0.9380903840065002, 0.16824249923229218, 0.000003964054030802799, 0.3207503855228424, 0.5647027492523193, -0.28707465529441833, 0.24497386813163757, -0.292216420173645, -0.6919716000556946, -0.7593968510627747, -0.1496843546628952, -1.058468222618103, -0.009717526845633984, 1.261303186416626, 0.06752071529626846, -0.14074209332466125, 0.11384537816047668, -0.5820025205612183, -0.13708974421024323, -0.4209693670272827, 1.011789083480835, 0.5517105460166931, -0.0200120210647583, -0.4527170956134796, -0.6015263199806213, 0.22742347419261932, 0.2966451048851013, -0.9132009744644165, 0.1276441067457199, 0.6722584962844849, -0.13149814307689667, 0.2672775089740753, 0.4572385251522064, 0.06554603576660156, 0.2901346683502197, -0.29657670855522156, 0.2137862741947174, -0.16194358468055725, -0.401710569858551, -0.07158023118972778, 0.030692683532834053, 0.28457480669021606, -0.18013237416744232 ]
http://arxiv.org/abs/2406.16554v1
http://arxiv.org/pdf/2406.16554v1
LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-training
2024-06-24T11:43:07
2024-06-24T11:43:07
Tong Zhu, Xiaoye Qu, Daize Dong, Jiacheng Ruan, Jingqi Tong, Conghui He, Yu Cheng
cs.CL
cs.CL
Mixture-of-Experts (MoE) has gained increasing popularity as a promising framework for scaling up large language models (LLMs). However, training MoE from scratch in a large-scale setting still suffers from data-hungry and instability problems. Motivated by this limit, we investigate building MoE models from existing dense large language models. Specifically, based on the well-known LLaMA-2 7B model, we obtain an MoE model by: (1) Expert Construction, which partitions the parameters of original Feed-Forward Networks (FFNs) into multiple experts; (2) Continual Pre-training, which further trains the transformed MoE model and additional gate networks. In this paper, we comprehensively explore different methods for expert construction and various data sampling strategies for continual pre-training. After these stages, our LLaMA-MoE models could maintain language abilities and route the input tokens to specific experts with part of the parameters activated. Empirically, by training 200B tokens, LLaMA-MoE-3.5B models significantly outperform dense models that contain similar activation parameters. The source codes and models are available at https://github.com/pjlab-sys4nlp/llama-moe .
[ -0.4827425181865692, -0.8473672866821289, 0.5641579031944275, 0.4500170946121216, -0.22923173010349274, 0.2566484808921814, -0.4068215489387512, -0.43291500210762024, 0.38594523072242737, 0.7472590804100037, -0.22027866542339325, -0.021793676540255547, -0.8214055895805359, 0.16450630128383636, -0.475073903799057, 0.806344211101532, 0.044065821915864944, 0.02545028366148472, -0.04560794308781624, 0.15856313705444336, -0.7178676128387451, -0.3100488483905792, -0.5056709051132202, -0.22859510779380798, 0.4021981656551361, 0.47755491733551025, 0.6204336285591125, 0.5610103011131287, 0.11723838001489639, 0.3780793845653534, 0.058469440788030624, 0.18005141615867615, -0.8596789836883545, 0.21599061787128448, -0.02158334292471409, -0.5845730304718018, -0.5061383843421936, 0.025136448442935944, 0.7444720268249512, 0.7499650716781616, -0.4584439992904663, -0.013357002288103104, 0.061396773904561996, 0.1461436003446579, -0.472917377948761, 0.016354430466890335, -1.235740065574646, -0.2151751071214676, -0.35100263357162476, 0.023237403482198715, -0.4824495017528534, -0.08124687522649765, 0.05200525000691414, -0.599561333656311, -0.07954321056604385, 0.084983229637146, 0.6899675130844116, 0.4206763803958893, -0.4144354462623596, -0.19039663672447205, -0.5212070941925049, 1.0278196334838867, -0.8427005410194397, 0.23651200532913208, 0.5410981178283691, 0.15743005275726318, -0.567744791507721, -0.4509929120540619, -0.6394221782684326, -0.3709467649459839, 0.2974900007247925, 0.014836396090686321, 0.17043523490428925, -0.1251232773065567, -0.16067975759506226, 0.21067224442958832, -0.13583312928676605, 0.5103468894958496, -0.42017433047294617, 0.02508537657558918, 0.8161206841468811, 0.04513055458664894, 0.11330720782279968, 0.18168428540229797, -0.4102083742618561, 0.15548262000083923, -0.9175174832344055, -0.3603789508342743, 0.33287301659584045, -0.013261175714433193, 0.06415846198797226, 0.5440178513526917, -0.24728693068027496, 0.6938515305519104, 0.37794193625450134, -0.5586262941360474, 0.12024656683206558, -0.054719917476177216, 0.05680040270090103, -0.036315467208623886, 0.8012163043022156, 0.017237218096852303, 0.5338191390037537, -0.4278917610645294, -0.4445883631706238, -0.2245267778635025, 0.2842128574848175, -0.649017333984375, -0.42305684089660645, 0.12030298262834549, -0.2253345251083374, -0.44757458567619324, -0.2613602578639984, -0.38946038484573364, -0.2344575971364975, -0.45570051670074463, 0.4930780529975891, -0.2483246624469757, -0.630692720413208, 0.15132933855056763, 0.23186443746089935, -0.020584333688020706, 0.3577575087547302, -0.772972047328949, 0.07504720985889435, 0.4712899923324585, 0.5396058559417725, -0.18680711090564728, -0.5115893483161926, -0.5624284744262695, 0.4187748432159424, -0.5436093807220459, 0.9045011401176453, -0.752844512462616, -0.5301728844642639, -0.07788006961345673, -0.3840252459049225, 0.03917888179421425, -0.7284600734710693, 0.03128888085484505, -0.7434574365615845, -0.01846330054104328, -0.10555629432201385, -0.4243670701980591, -0.1817428320646286, 0.3464317321777344, -0.4727383255958557, 1.211189866065979, 0.07786329090595245, -0.45518720149993896, 0.2523833215236664, -0.3468722105026245, -0.40874427556991577, 0.09212539345026016, -0.20266525447368622, -0.0020407051779329777, 0.26086312532424927, 0.44662535190582275, 0.9044273495674133, -0.2710215449333191, 0.6662989258766174, -0.5446469783782959, -0.1654822826385498, 0.3325692415237427, -0.3310983180999756, 0.6941742897033691, 0.09854642301797867, -0.13227570056915283, -0.14673040807247162, -0.78092360496521, -0.4414041340351105, 0.20972314476966858, -0.5848336219787598, -0.23234272003173828, 0.19531750679016113, -0.3486768305301666, 0.180883526802063, 0.5094665288925171, -0.27788645029067993, 0.39209845662117004, -0.1464824676513672, 0.4288477301597595, 0.9014363288879395, 0.004572989884763956, 0.3986632227897644, -0.2945259213447571, 0.4704716205596924, 0.3030564486980438, -0.06793008744716644, -0.34398117661476135, -0.6545188426971436, -0.972377598285675, -0.46080273389816284, 0.2323065996170044, 0.4892495572566986, -0.9353870749473572, 0.58892822265625, -0.6100160479545593, -0.6383586525917053, -0.5382575392723083, 0.6603385210037231, 0.10998385399580002, 0.5246801376342773, 0.36745116114616394, -0.33052295446395874, -0.2791083753108978, -0.7486161589622498, 0.2539199888706207, -0.25803571939468384, 0.020807761698961258, 0.04527873545885086, 0.4483537971973419, -0.403952419757843, 1.1020270586013794, -0.3653769791126251, -0.009220154955983162, -0.2871580421924591, -0.023794781416654587, 0.2721898555755615, 0.5398532748222351, 0.6517190337181091, -0.3395729064941406, -0.315205454826355, 0.04873116686940193, -0.6664761900901794, -0.21063728630542755, -0.07674571871757507, -0.27403464913368225, -0.3355451226234436, 0.37125396728515625, -0.6267831325531006, 0.0006346997106447816, 0.5892757177352905, 0.33245065808296204, 0.6426117420196533, 0.016209855675697327, -0.22096066176891327, -1.3098907470703125, -0.11526161432266235, -0.11802789568901062, -0.25236228108406067, -0.6126528978347778, 0.24549756944179535, -0.22960536181926727, -0.012833504006266594, -0.283610463142395, 0.7062660455703735, -0.5051995515823364, 0.05928846076130867, -0.4006361961364746, -0.07260432094335556, -0.3112174868583679, 0.6845921874046326, 0.009556280449032784, 0.6590331196784973, 0.7916078567504883, -0.7246864438056946, 0.4571368098258972, 0.11127737909555435, -0.3916703164577484, 0.41509509086608887, -0.7954160571098328, 0.30488014221191406, 0.03544627130031586, 0.38638490438461304, -0.8097913861274719, -0.45326775312423706, 0.33545494079589844, -0.16074906289577484, 0.41031140089035034, -0.1879708617925644, -0.6547108888626099, -0.2737478017807007, -0.06009664386510849, 0.48563092947006226, 0.5841686725616455, -0.38423797488212585, 0.9657578468322754, 0.5732725858688354, -0.6657275557518005, -0.6207827925682068, -0.6168108582496643, 0.2690885365009308, -0.12651686370372772, -0.6910074353218079, 0.1290806084871292, -0.049153655767440796, -0.22986142337322235, 0.005382288247346878, 0.09962307661771774, -0.2244974672794342, 0.24182087182998657, 0.14031389355659485, -0.041039999574422836, -0.27092039585113525, -0.005966485943645239, 0.4133338928222656, -0.01099440362304449, 0.028094260022044182, -0.21031364798545837, 0.7008363008499146, 0.1472497433423996, -0.38031521439552307, -0.29326263070106506, 0.43601351976394653, 0.40214788913726807, -0.406135231256485, 0.673897922039032, 0.3735951781272888, -0.08672874420881271, -0.24420806765556335, -1.1299620866775513, -0.17778074741363525, -0.47782397270202637, 0.5389913320541382, -0.4435967206954956, -0.8644124865531921, 0.654807984828949, -0.14933986961841583, 0.2950478196144104, 0.3829425275325775, 0.8673521876335144, -0.08930891007184982, 0.6815735697746277, 0.5621498823165894, -0.4884917140007019, 0.5424802303314209, -0.04250090941786766, -0.1592988520860672, -0.6806492805480957, -0.14733575284481049, -0.2075420767068863, -0.35478469729423523, 0.05863157659769058, -0.5964607000350952, 0.31571072340011597, 0.3261054456233978, -0.21506448090076447, 0.16532957553863525, -0.06223969906568527, 0.4235040843486786, 0.40697526931762695, 0.24771630764007568, 0.09076311439275742, 0.14756567776203156, 0.08477742224931717, 0.5905032157897949, -0.927537739276886, -0.4034736454486847, 1.5087791681289673, 0.5282837748527527, 0.7477124333381653, -0.12917707860469818, 0.7898728847503662, -0.06234200298786163, 0.7467848062515259, -0.5989236831665039, 0.7442395091056824, 0.1115046963095665, -0.7185378074645996, -0.16110457479953766, -0.3991657495498657, -0.7519127130508423, 0.24038425087928772, -0.26013022661209106, -0.41241443157196045, 0.18062540888786316, 0.25042465329170227, -0.25802162289619446, 0.2188286930322647, -0.6907535791397095, 0.18060389161109924, -0.43388795852661133, -0.13934001326560974, -0.43094637989997864, -0.5933786630630493, 0.581721305847168, -0.5744472146034241, 0.14861099421977997, -0.211570143699646, -0.16725371778011322, 0.6859161257743835, -0.4912926256656647, 0.9893429279327393, -0.03571799024939537, -0.4492630660533905, 0.4522331953048706, -0.011590489186346531, 0.5823387503623962, 0.16590891778469086, -0.22277942299842834, 0.391578733921051, -0.5811033844947815, -0.689420759677887, -0.41561728715896606, 0.4720270335674286, -1.0525643825531006, -0.774605393409729, 0.17425747215747833, -0.5394097566604614, -0.3178155720233917, 0.2043902575969696, 0.02638613060116768, 0.5028087496757507, 0.19839881360530853, 0.3844541013240814, 0.6569973230361938, 0.06423842161893845, 0.27092793583869934, 0.23686926066875458, -0.3266240358352661, -0.5339851379394531, 0.7991187572479248, 0.32156673073768616, 0.18173792958259583, 0.2598528563976288, 0.046144574880599976, 0.06744056195020676, -0.7863127589225769, -0.437629371881485, 0.24167031049728394, -0.5116701722145081, -0.2537551820278168, -0.6052519083023071, -0.0897216796875, -0.2553192675113678, -0.16110104322433472, -0.5212944149971008, 0.026046058163046837, -0.3769665062427521, -0.006157281808555126, 0.3321996331214905, 0.8384270668029785, 0.08047576248645782, 0.8448324799537659, -0.8884337544441223, 0.20337218046188354, 0.6021092534065247, 0.2085995227098465, 0.3748578429222107, -0.6114180684089661, -0.45850908756256104, 0.2583999037742615, -0.1881914734840393, -0.9587622284889221, 0.12873965501785278, 0.2666959762573242, 0.8784278035163879, 0.7219744324684143, -0.2093399614095688, 0.7203919291496277, -0.5914322137832642, 0.7747918963432312, 0.15060372650623322, -0.6802220940589905, 0.18914803862571716, -0.6178588271141052, 0.009485479444265366, 0.5555442571640015, 0.40664759278297424, 0.09629128873348236, -0.5642637014389038, -0.3237881064414978, -0.8268904089927673, 0.48557373881340027, 0.045746829360723495, 0.422551691532135, -0.09183400869369507, 0.48057857155799866, 0.4564002752304077, 0.3026241362094879, -0.6314223408699036, 0.16230656206607819, -0.2536560595035553, -0.2703888416290283, -0.0487879179418087, -0.40904760360717773, -0.0958128422498703, -0.06677576899528503, 0.5540347099304199, 0.007128543686121702, 0.05619015172123909, -0.34701254963874817, -0.45237240195274353, 0.23018383979797363, -0.13186383247375488, 0.4894865155220032, 0.7637015581130981, -0.04781675338745117, -0.10771669447422028, 0.35823601484298706, -0.5852110385894775, 0.19556128978729248, 0.07101432979106903, 0.10660339146852493, -0.2876328229904175, 0.4916369616985321, 0.751976728439331, 0.4933158755302429, -0.6056495904922485, 0.3467000126838684, 0.2925278842449188, -0.18640536069869995, -0.24905015528202057, 0.2381264716386795, 0.21172790229320526, 0.17028750479221344, 0.6648057699203491, -0.05637599900364876, -0.3751298487186432, -0.3869665265083313, 0.06664519757032394, 0.1610373556613922, 0.21389582753181458, -0.423153817653656, 0.522952675819397, 0.6800093650817871, 0.05464360862970352, 0.7106158137321472, -0.24763186275959015, -0.5190442204475403, 0.41022834181785583, 0.46430060267448425, 0.5544929504394531, -0.405954509973526, -0.09419526904821396, -0.0427459217607975, 0.2840433716773987, -0.42437827587127686, 0.08220253884792328, -0.20556549727916718, -0.9681712985038757, -0.7387629151344299, -0.5429887175559998, -0.3120500445365906, -0.09940996021032333, -0.393385112285614, 0.1848098486661911, -0.5057387351989746, -0.1510850042104721, -0.5249794125556946, -0.0995013490319252, -0.7376970052719116, 0.2436647117137909, 0.07779715955257416, 0.6354591846466064, -0.7804266214370728, 0.9310033917427063, 0.7033410668373108, -0.24207422137260437, -0.9208649396896362, -0.08004190772771835, -0.30953821539878845, -1.0995336771011353, 0.6916007995605469, 0.05526129528880119, 0.028132596984505653, 0.25261542201042175, -0.8372175693511963, -0.9937570095062256, 1.0009677410125732, 0.39969325065612793, -0.7962679862976074, -0.05015786364674568, -0.05643533170223236, 0.22180800139904022, -0.3829297423362732, 0.20394864678382874, 0.3610881268978119, 0.2374700903892517, 0.04590114578604698, -0.8466134667396545, -0.16738855838775635, -0.3199172616004944, -0.014238402247428894, -0.042558424174785614, -0.6892760396003723, 0.9241182804107666, 0.03344627469778061, 0.1953500509262085, 0.1363355964422226, 1.1535139083862305, 0.6598430275917053, -0.1856391429901123, 0.7401732802391052, 0.7427155375480652, 0.7544103860855103, 0.1745818853378296, 0.7505496740341187, -0.5979570150375366, -0.029409395530819893, 0.9895783066749573, -0.3674006760120392, 1.1143430471420288, 0.3387978971004486, -0.11536268889904022, 0.5891808867454529, 0.663876473903656, -0.038584496825933456, 0.41772890090942383, 0.10720228403806686, -0.14548006653785706, -0.5394741892814636, 0.11935542523860931, -0.6755606532096863, 0.3668982684612274, 0.5048813223838806, 0.020272521302103996, -0.02282591350376606, 0.05715709924697876, 0.21558359265327454, -0.3970918357372284, -0.4128473401069641, 0.596027135848999, 0.24030010402202606, -0.5907757878303528, 0.38264358043670654, -0.09961818903684616, 0.9378188252449036, -0.6778290271759033, 0.3534829914569855, -0.4435076415538788, -0.2830333113670349, 0.0020618578419089317, -0.6370689868927002, -0.227849543094635, 0.09722856432199478, -0.13227087259292603, -0.01581057719886303, 0.5302327275276184, -0.585576057434082, -0.713377833366394, -0.016389289870858192, 0.4602895975112915, 0.26870593428611755, -0.026248617097735405, -0.4313357472419739, -0.006003778427839279, -0.22963187098503113, -0.5450032353401184, 0.37951359152793884, 0.5640437602996826, 0.004951003473252058, 0.8397068381309509, 0.6967397928237915, 0.19895964860916138, 0.5588278770446777, -0.13372494280338287, 1.0912421941757202, -0.18336385488510132, -0.4591120779514313, -0.5844240784645081, 0.6812877058982849, 0.028695661574602127, -0.45377805829048157, 0.5184122920036316, 0.22044149041175842, 0.8873767852783203, -0.16934897005558014, 0.6691157817840576, 0.17569562792778015, 0.20535020530223846, -0.6687297821044922, 0.7659162282943726, -0.6646848917007446, 0.15463082492351532, -0.20485660433769226, -1.1503130197525024, -0.016114717349410057, 0.4415951371192932, -0.32073989510536194, 0.32321393489837646, 0.12410824745893478, 0.7890961170196533, -0.1449405699968338, -0.3558558523654938, 0.1700429916381836, 0.4427920877933502, 0.4549514055252075, 0.4494251012802124, 0.9712744355201721, 0.004903335589915514, 0.4654289782047272, -0.10677282512187958, -0.23043864965438843, -0.5061318874359131, -0.8461111783981323, -0.9231205582618713, -0.33514389395713806, -0.26187482476234436, 0.16501492261886597, -0.2575713098049164, 0.9812510013580322, 0.8843951225280762, -0.5764369964599609, -0.24156668782234192, 0.17823857069015503, -0.021163849160075188, 0.0828625038266182, -0.09669866412878036, 0.11924326419830322, -0.3834454119205475, -0.689396858215332, 0.6411313414573669, 0.2637036442756653, -0.043883536010980606, -0.5559563636779785, -0.1447778344154358, -0.07993006706237793, 0.17904037237167358, 0.6256430745124817, 0.08738639205694199, -0.7526963353157043, -0.09726347774267197, -0.18449382483959198, 0.09626417607069016, -0.13376210629940033, 0.3634489178657532, -0.7343907952308655, 0.40295717120170593, 0.4469245672225952, 1.0909175872802734, 0.16999416053295135, 0.04598822817206383, 0.8526450991630554, -0.6630802750587463, 0.2831355333328247, 0.06120970472693443, 0.4872051477432251, 0.2275916337966919, -0.03530009463429451, 0.2965608537197113, 0.21829578280448914, -0.5972886681556702, -0.9438257813453674, 0.15088742971420288, -1.0099254846572876, -0.18412545323371887, 1.231290340423584, -0.16531053185462952, 0.03413473814725876, -0.1678755283355713, -0.2586607038974762, 0.0672055184841156, -0.4634157419204712, 0.7815245985984802, 0.8128070831298828, 0.23218996822834015, -0.06552717089653015, -0.5339085459709167, -0.17995981872081757, 0.4910106360912323, -0.6268741488456726, -0.4520900845527649, 0.26362141966819763, 0.45509636402130127, 0.05051890015602112, 0.7111848592758179, 0.2207072526216507, -0.0368427112698555, 0.12681931257247925, 0.06114060804247856, -0.30679771304130554, -0.5456101298332214, 0.10290221124887466, 0.18341787159442902, 0.15185436606407166, 0.04539347440004349 ]